diff --git a/.github/labeler-issue-triage.yml b/.github/labeler-issue-triage.yml index b63e12b40d7b..feca257ef558 100644 --- a/.github/labeler-issue-triage.yml +++ b/.github/labeler-issue-triage.yml @@ -234,7 +234,7 @@ service/netapp: - '### (|New or )Affected Resource\(s\)\/Data Source\(s\)((.|\n)*)azurerm_netapp_((.|\n)*)###' service/network: - - '### (|New or )Affected Resource\(s\)\/Data Source\(s\)((.|\n)*)azurerm_(application_gateway\W+|application_security_group\W+|bastion_host|custom_ip_prefix|express_route_|ip_group|local_network_gateway|nat_gateway|network_connection_monitor\W+|network_ddos_protection_plan\W+|network_interface\W+|network_interface_application_gateway_backend_address_pool_association\W+|network_interface_application_security_group_association\W+|network_interface_backend_address_pool_association\W+|network_interface_nat_rule_association\W+|network_interface_security_group_association\W+|network_manager\W+|network_manager\W+|network_manager_admin_rule\W+|network_manager_admin_rule_collection\W+|network_manager_connectivity_configuration\W+|network_manager_connectivity_configuration\W+|network_manager_deployment\W+|network_manager_management_group_connection\W+|network_manager_network_group\W+|network_manager_network_group\W+|network_manager_scope_connection\W+|network_manager_security_admin_configuration\W+|network_manager_static_member\W+|network_manager_subscription_connection\W+|network_packet_capture\W+|network_profile\W+|network_security_group\W+|network_security_rule\W+|network_service_tags\W+|network_watcher\W+|network_watcher_flow_log\W+|point_to_site_vpn_gateway|private_endpoint\W+|private_endpoint_application_security_group_association\W+|private_endpoint_connection\W+|private_link_service\W+|private_link_service_endpoint_connections\W+|public_ip|route|subnet|virtual_hub\W+|virtual_hub_bgp_connection\W+|virtual_hub_connection\W+|virtual_hub_ip\W+|virtual_hub_route_table\W+|virtual_hub_route_table_route\W+|virtual_hub_routing_intent\W+|virtual_hub_security_partner_provider\W+|virtual_machine_packet_capture\W+|virtual_machine_scale_set_packet_capture\W+|virtual_network\W+|virtual_network_dns_servers\W+|virtual_network_gateway\W+|virtual_network_gateway_connection\W+|virtual_network_gateway_nat_rule\W+|virtual_network_peering\W+|virtual_wan\W+|vpn_|web_application_firewall_policy)((.|\n)*)###' + - '### (|New or )Affected Resource\(s\)\/Data Source\(s\)((.|\n)*)azurerm_(application_gateway\W+|application_security_group\W+|bastion_host|custom_ip_prefix|express_route_|ip_group|local_network_gateway|nat_gateway|network_connection_monitor\W+|network_ddos_protection_plan\W+|network_interface\W+|network_interface_application_gateway_backend_address_pool_association\W+|network_interface_application_security_group_association\W+|network_interface_backend_address_pool_association\W+|network_interface_nat_rule_association\W+|network_interface_security_group_association\W+|network_manager\W+|network_manager\W+|network_manager_admin_rule\W+|network_manager_admin_rule_collection\W+|network_manager_connectivity_configuration\W+|network_manager_connectivity_configuration\W+|network_manager_deployment\W+|network_manager_management_group_connection\W+|network_manager_network_group\W+|network_manager_network_group\W+|network_manager_scope_connection\W+|network_manager_security_admin_configuration\W+|network_manager_static_member\W+|network_manager_subscription_connection\W+|network_packet_capture\W+|network_profile\W+|network_security_group\W+|network_security_rule\W+|network_service_tags\W+|network_watcher\W+|network_watcher_flow_log\W+|point_to_site_vpn_gateway|private_endpoint\W+|private_endpoint_application_security_group_association\W+|private_endpoint_connection\W+|private_link_service\W+|private_link_service_endpoint_connections\W+|public_ip|route|subnet|virtual_hub\W+|virtual_hub_bgp_connection\W+|virtual_hub_connection\W+|virtual_hub_ip\W+|virtual_hub_route_table\W+|virtual_hub_route_table_route\W+|virtual_hub_routing_intent\W+|virtual_hub_security_partner_provider\W+|virtual_machine_packet_capture\W+|virtual_machine_scale_set_packet_capture\W+|virtual_network\W+|virtual_network_dns_servers\W+|virtual_network_gateway\W+|virtual_network_gateway_connection\W+|virtual_network_gateway_nat_rule\W+|virtual_network_peering\W+|virtual_network_peering\W+|virtual_wan\W+|vpn_|web_application_firewall_policy)((.|\n)*)###' service/network-function: - '### (|New or )Affected Resource\(s\)\/Data Source\(s\)((.|\n)*)azurerm_network_function_((.|\n)*)###' @@ -312,7 +312,7 @@ service/spring: - '### (|New or )Affected Resource\(s\)\/Data Source\(s\)((.|\n)*)azurerm_(spring_cloud_accelerator\W+|spring_cloud_active_deployment\W+|spring_cloud_api_portal\W+|spring_cloud_api_portal_custom_domain\W+|spring_cloud_app\W+|spring_cloud_app_cosmosdb_association\W+|spring_cloud_app_dynamics_application_performance_monitoring\W+|spring_cloud_app_mysql_association\W+|spring_cloud_app_redis_association\W+|spring_cloud_application_insights_application_performance_monitoring\W+|spring_cloud_application_live_view\W+|spring_cloud_build_deployment\W+|spring_cloud_build_pack_binding\W+|spring_cloud_builder\W+|spring_cloud_certificate\W+|spring_cloud_configuration_service\W+|spring_cloud_container_deployment\W+|spring_cloud_custom_domain\W+|spring_cloud_customized_accelerator\W+|spring_cloud_dev_tool_portal\W+|spring_cloud_dynatrace_application_performance_monitoring\W+|spring_cloud_elastic_application_performance_monitoring\W+|spring_cloud_gateway\W+|spring_cloud_gateway_custom_domain\W+|spring_cloud_gateway_route_config\W+|spring_cloud_java_deployment\W+|spring_cloud_new_relic_application_performance_monitoring\W+|spring_cloud_service\W+|spring_cloud_storage\W+)((.|\n)*)###' service/storage: - - '### (|New or )Affected Resource\(s\)\/Data Source\(s\)((.|\n)*)azurerm_(storage_account\W+|storage_account_blob_container_sas\W+|storage_account_customer_managed_key\W+|storage_account_local_user\W+|storage_account_network_rules\W+|storage_account_sas\W+|storage_blob\W+|storage_blob_inventory_policy\W+|storage_container\W+|storage_container_immutability_policy\W+|storage_containers\W+|storage_data_lake_gen2_filesystem\W+|storage_data_lake_gen2_path\W+|storage_encryption_scope\W+|storage_management_policy\W+|storage_object_replication\W+|storage_queue\W+|storage_share\W+|storage_share_directory\W+|storage_share_file\W+|storage_sync\W+|storage_sync_cloud_endpoint\W+|storage_sync_group\W+|storage_sync_server_endpoint\W+|storage_table\W+|storage_table\W+|storage_table_entities\W+|storage_table_entity\W+)((.|\n)*)###' + - '### (|New or )Affected Resource\(s\)\/Data Source\(s\)((.|\n)*)azurerm_(storage_account\W+|storage_account_blob_container_sas\W+|storage_account_customer_managed_key\W+|storage_account_local_user\W+|storage_account_network_rules\W+|storage_account_queue_properties\W+|storage_account_sas\W+|storage_account_static_website\W+|storage_blob\W+|storage_blob_inventory_policy\W+|storage_container\W+|storage_container_immutability_policy\W+|storage_containers\W+|storage_data_lake_gen2_filesystem\W+|storage_data_lake_gen2_path\W+|storage_encryption_scope\W+|storage_management_policy\W+|storage_object_replication\W+|storage_queue\W+|storage_share\W+|storage_share_directory\W+|storage_share_file\W+|storage_sync\W+|storage_sync_cloud_endpoint\W+|storage_sync_group\W+|storage_sync_server_endpoint\W+|storage_table\W+|storage_table\W+|storage_table_entities\W+|storage_table_entity\W+)((.|\n)*)###' service/storagemover: - '### (|New or )Affected Resource\(s\)\/Data Source\(s\)((.|\n)*)azurerm_storage_mover((.|\n)*)###' @@ -332,6 +332,12 @@ service/systemcentervirtualmachinemanager: service/traffic-manager: - '### (|New or )Affected Resource\(s\)\/Data Source\(s\)((.|\n)*)azurerm_traffic_manager_((.|\n)*)###' +service/trustedsigning: + - '### (|New or )Affected Resource\(s\)\/Data Source\(s\)((.|\n)*)azurerm_trusted_signing_account((.|\n)*)###' + +service/video-indexer: + - '### (|New or )Affected Resource\(s\)\/Data Source\(s\)((.|\n)*)azurerm_video_indexer_account((.|\n)*)###' + service/virtual-desktops: - '### (|New or )Affected Resource\(s\)\/Data Source\(s\)((.|\n)*)azurerm_virtual_desktop_((.|\n)*)###' diff --git a/.github/labeler-pull-request-triage.yml b/.github/labeler-pull-request-triage.yml index a3b481100fa2..b20d9ebb6d1e 100644 --- a/.github/labeler-pull-request-triage.yml +++ b/.github/labeler-pull-request-triage.yml @@ -7,15 +7,15 @@ dependencies: - vendor/**/* documentation: - changed-files: - - any-glob-to-any-file: + - any-glob-to-any-file: - website/**/* tooling: - changed-files: - - any-glob-to-any-file: + - any-glob-to-any-file: - internal/tools/**/* state-migration: - changed-files: - - any-glob-to-any-file: + - any-glob-to-any-file: - internal/services/**/migration/**/* service/aadb2c: - changed-files: @@ -555,6 +555,16 @@ service/traffic-manager: - any-glob-to-any-file: - internal/services/trafficmanager/**/* +service/trustedsigning: +- changed-files: + - any-glob-to-any-file: + - internal/services/codesigning/**/* + +service/video-indexer: +- changed-files: + - any-glob-to-any-file: + - internal/services/videoindexer/**/* + service/virtual-desktops: - changed-files: - any-glob-to-any-file: diff --git a/.github/workflows/automation-open-pull-request-go-sdk.yaml b/.github/workflows/automation-open-pull-request-go-sdk.yaml index 14f0f8f0dc13..9de98d375d2d 100644 --- a/.github/workflows/automation-open-pull-request-go-sdk.yaml +++ b/.github/workflows/automation-open-pull-request-go-sdk.yaml @@ -12,7 +12,7 @@ jobs: permissions: contents: read steps: - - uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 + - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - name: "open a pull request" id: open-pr diff --git a/.github/workflows/automation-open-pull-request-pandora.yaml b/.github/workflows/automation-open-pull-request-pandora.yaml index 7911d0457c95..23d5670f3c4a 100644 --- a/.github/workflows/automation-open-pull-request-pandora.yaml +++ b/.github/workflows/automation-open-pull-request-pandora.yaml @@ -13,7 +13,7 @@ jobs: permissions: contents: read steps: - - uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 + - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - name: "open a pull request" id: open-pr diff --git a/.github/workflows/breaking-change-detection.yaml b/.github/workflows/breaking-change-detection.yaml index 8a599256246d..1952c0a07a9e 100644 --- a/.github/workflows/breaking-change-detection.yaml +++ b/.github/workflows/breaking-change-detection.yaml @@ -22,8 +22,8 @@ jobs: detect: runs-on: custom-linux-small steps: - - uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 - - uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2 + - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + - uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0 with: go-version-file: ./.go-version - run: bash ./scripts/run-breaking-change-detection.sh diff --git a/.github/workflows/depscheck.yaml b/.github/workflows/depscheck.yaml index 26ba472d1dad..1529337f05ac 100644 --- a/.github/workflows/depscheck.yaml +++ b/.github/workflows/depscheck.yaml @@ -16,8 +16,8 @@ jobs: depscheck: runs-on: ubuntu-latest steps: - - uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 - - uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2 + - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + - uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0 with: go-version-file: ./.go-version - run: bash scripts/gogetcookie.sh diff --git a/.github/workflows/document-lint.yaml b/.github/workflows/document-lint.yaml index 902e46bb6ceb..4779b3d848c2 100644 --- a/.github/workflows/document-lint.yaml +++ b/.github/workflows/document-lint.yaml @@ -18,8 +18,8 @@ jobs: document-lint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 - - uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2 + - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + - uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0 with: go-version-file: ./.go-version - run: bash scripts/gogetcookie.sh diff --git a/.github/workflows/gencheck.yaml b/.github/workflows/gencheck.yaml index acf19d4d768b..c05283a1408b 100644 --- a/.github/workflows/gencheck.yaml +++ b/.github/workflows/gencheck.yaml @@ -19,8 +19,8 @@ jobs: gencheck: runs-on: custom-linux-large steps: - - uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 - - uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2 + - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + - uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0 with: go-version-file: ./.go-version - run: bash scripts/gogetcookie.sh diff --git a/.github/workflows/golint.yaml b/.github/workflows/golint.yaml index a0f0ff431de8..89a8ea57d50d 100644 --- a/.github/workflows/golint.yaml +++ b/.github/workflows/golint.yaml @@ -20,8 +20,8 @@ jobs: golint: runs-on: custom-linux-large steps: - - uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 - - uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2 + - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + - uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0 with: go-version-file: ./.go-version - uses: golangci/golangci-lint-action@971e284b6050e8a5849b72094c50ab08da042db8 # v6.1.1 diff --git a/.github/workflows/gradually-deprecated.yaml b/.github/workflows/gradually-deprecated.yaml index 26b62e684f6c..06d6f5b118c9 100644 --- a/.github/workflows/gradually-deprecated.yaml +++ b/.github/workflows/gradually-deprecated.yaml @@ -16,10 +16,10 @@ jobs: test: runs-on: ubuntu-latest steps: - - uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 + - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: fetch-depth: 0 - - uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2 + - uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0 with: go-version-file: ./.go-version - run: bash ./scripts/run-gradually-deprecated.sh diff --git a/.github/workflows/increment-milestone.yaml b/.github/workflows/increment-milestone.yaml index 45c635f4fcb7..e641b0b66d62 100644 --- a/.github/workflows/increment-milestone.yaml +++ b/.github/workflows/increment-milestone.yaml @@ -14,7 +14,7 @@ jobs: increment-milestone: runs-on: ubuntu-latest steps: - - uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 + - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: fetch-depth: 0 - name: "Increment Milestone" diff --git a/.github/workflows/issue-opened.yaml b/.github/workflows/issue-opened.yaml index 02d2b0e5cbe1..f48dc263a8ab 100644 --- a/.github/workflows/issue-opened.yaml +++ b/.github/workflows/issue-opened.yaml @@ -12,7 +12,7 @@ jobs: issue_triage: runs-on: ubuntu-latest steps: - - uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 + - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - uses: github/issue-labeler@c1b0f9f52a63158c4adc09425e858e87b32e9685 # v3.4 with: repo-token: "${{ secrets.GITHUB_TOKEN }}" diff --git a/.github/workflows/link-milestone.yaml b/.github/workflows/link-milestone.yaml index e79a639da4bb..bc528fdb9809 100644 --- a/.github/workflows/link-milestone.yaml +++ b/.github/workflows/link-milestone.yaml @@ -15,7 +15,7 @@ jobs: pull-requests: write issues: write steps: - - uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2 + - uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0 with: # we cannot use go-version-file here because no repositories are checked out so there is no file to reference go-version: '1.22.7' diff --git a/.github/workflows/mkdocs.yaml b/.github/workflows/mkdocs.yaml index 0154af3c012c..da0f0513d002 100644 --- a/.github/workflows/mkdocs.yaml +++ b/.github/workflows/mkdocs.yaml @@ -19,7 +19,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - name: Publish uses: mhausenblas/mkdocs-deploy-gh-pages@d77dd03172e96abbcdb081d8c948224762033653 # 1.26 diff --git a/.github/workflows/provider-test.yaml b/.github/workflows/provider-test.yaml index 9ae2164a6d61..9d2ff5ebd2f7 100644 --- a/.github/workflows/provider-test.yaml +++ b/.github/workflows/provider-test.yaml @@ -36,10 +36,10 @@ jobs: if: needs.secrets-check.outputs.available == 'true' steps: - name: Checkout - uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - name: Install Go - uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2 + uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0 with: go-version-file: ./.go-version diff --git a/.github/workflows/pull-request-reviewed.yaml b/.github/workflows/pull-request-reviewed.yaml index 2ca34f43467e..9f622269848c 100644 --- a/.github/workflows/pull-request-reviewed.yaml +++ b/.github/workflows/pull-request-reviewed.yaml @@ -30,7 +30,7 @@ jobs: echo ${{ github.repository }} > wr_actions/ghrepo.txt echo ${{ github.event.pull_request.number }} > wr_actions/prnumber.txt echo "remove-waiting-response" > wr_actions/action.txt - - uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0 + - uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3 with: name: artifact path: wr_actions diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index cf3f82444b06..f7c2228e7bb8 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -15,18 +15,18 @@ jobs: outputs: version: ${{ steps.go-version.outputs.version }} steps: - - uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 + - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - id: go-version run: echo "version=$(cat ./.go-version)" >>${GITHUB_OUTPUT} release-notes: runs-on: custom-linux-xl steps: - - uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 + - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: fetch-depth: 0 - name: Generate Release Notes run: sed -n -e "1{/# /d;}" -e "2{/^$/d;}" -e "/# $(git describe --abbrev=0 --exclude="$(git describe --abbrev=0 --match='v*.*.*' --tags)" --match='v*.*.*' --tags | tr -d v)/q;p" CHANGELOG.md > release-notes.txt - - uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0 + - uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3 with: name: release-notes path: release-notes.txt diff --git a/.github/workflows/save-artifacts.yaml b/.github/workflows/save-artifacts.yaml index a2c1a460d2c3..5c26ddec1c01 100644 --- a/.github/workflows/save-artifacts.yaml +++ b/.github/workflows/save-artifacts.yaml @@ -14,7 +14,7 @@ jobs: echo ${{ github.repository_owner }} > wr_actions/ghowner.txt echo ${{ github.event.repository.name }} > wr_actions/ghrepo.txt echo ${{ github.event.pull_request.number }} > wr_actions/prnumber.txt - - uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0 + - uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3 with: name: artifact path: wr_actions diff --git a/.github/workflows/static-analysis.yaml b/.github/workflows/static-analysis.yaml index 096e775a67b8..c8a01ca09476 100644 --- a/.github/workflows/static-analysis.yaml +++ b/.github/workflows/static-analysis.yaml @@ -21,8 +21,8 @@ jobs: detect: runs-on: custom-linux-small steps: - - uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 - - uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2 + - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + - uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0 with: go-version-file: ./.go-version - run: bash ./scripts/run-static-analysis.sh diff --git a/.github/workflows/teamcity-test.yaml b/.github/workflows/teamcity-test.yaml index 346ca095534e..d451061a943b 100644 --- a/.github/workflows/teamcity-test.yaml +++ b/.github/workflows/teamcity-test.yaml @@ -21,13 +21,13 @@ jobs: teamcity-test: runs-on: ubuntu-latest steps: - - uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 - - uses: actions/setup-java@b36c23c0d998641eff861008f374ee103c25ac73 # v4.4.0 + - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + - uses: actions/setup-java@8df1039502a15bceb9433410b1a100fbe190c53b # v4.5.0 with: distribution: zulu java-version: 17 java-package: jdk - - uses: actions/cache@2cdf405574d6ef1f33a1d12acccd3ae82f47b3f2 # v4.1.0 + - uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2 with: path: ~/.m2/repository key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} diff --git a/.github/workflows/tflint.yaml b/.github/workflows/tflint.yaml index 54f7eb5e1a7e..43ffc0a4f55c 100644 --- a/.github/workflows/tflint.yaml +++ b/.github/workflows/tflint.yaml @@ -20,8 +20,8 @@ jobs: tflint: runs-on: custom-linux-medium steps: - - uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 - - uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2 + - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + - uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0 with: go-version-file: ./.go-version - run: bash scripts/gogetcookie.sh diff --git a/.github/workflows/thirty-two-bit.yaml b/.github/workflows/thirty-two-bit.yaml index 26f476a607db..e1042b3914e8 100644 --- a/.github/workflows/thirty-two-bit.yaml +++ b/.github/workflows/thirty-two-bit.yaml @@ -21,8 +21,8 @@ jobs: compatibility-32bit-test: runs-on: custom-linux-small steps: - - uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 - - uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2 + - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + - uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0 with: go-version-file: ./.go-version - run: bash scripts/gogetcookie.sh diff --git a/.github/workflows/unit-test.yaml b/.github/workflows/unit-test.yaml index 94d400d426c1..712b9e685e49 100644 --- a/.github/workflows/unit-test.yaml +++ b/.github/workflows/unit-test.yaml @@ -21,8 +21,8 @@ jobs: test: runs-on: custom-linux-large steps: - - uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 - - uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2 + - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + - uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0 with: go-version-file: ./.go-version - run: bash scripts/gogetcookie.sh diff --git a/.github/workflows/validate-examples.yaml b/.github/workflows/validate-examples.yaml index 6d02190bc2d6..0ec7aaaab158 100644 --- a/.github/workflows/validate-examples.yaml +++ b/.github/workflows/validate-examples.yaml @@ -20,8 +20,8 @@ jobs: website-lint: runs-on: custom-linux-small steps: - - uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 - - uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2 + - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + - uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0 with: go-version-file: ./.go-version - run: bash scripts/gogetcookie.sh diff --git a/.github/workflows/website-lint.yaml b/.github/workflows/website-lint.yaml index 7490d4beec17..52277f2edf9f 100644 --- a/.github/workflows/website-lint.yaml +++ b/.github/workflows/website-lint.yaml @@ -16,8 +16,8 @@ jobs: website-lint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 - - uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2 + - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + - uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0 with: go-version-file: ./.go-version - run: bash scripts/gogetcookie.sh diff --git a/.release/provider-schema.json b/.release/provider-schema.json index 1f6d25912ba2..ae61f0a99722 100644 --- a/.release/provider-schema.json +++ b/.release/provider-schema.json @@ -1 +1 @@ -{"providerName":"azurerm","schemaVersion":"1","providerSchema":{"schema":{"auxiliary_tenant_ids":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"maxItems":3},"client_certificate":{"type":"TypeString","optional":true,"description":"Base64 encoded PKCS#12 certificate bundle to use when authenticating as a Service Principal using a Client Certificate"},"client_certificate_password":{"type":"TypeString","optional":true,"description":"The password associated with the Client Certificate. For use when authenticating as a Service Principal using a Client Certificate"},"client_certificate_path":{"type":"TypeString","optional":true,"description":"The path to the Client Certificate associated with the Service Principal for use when authenticating as a Service Principal using a Client Certificate."},"client_id":{"type":"TypeString","optional":true,"description":"The Client ID which should be used."},"client_id_file_path":{"type":"TypeString","optional":true,"description":"The path to a file containing the Client ID which should be used."},"client_secret":{"type":"TypeString","optional":true,"description":"The Client Secret which should be used. For use When authenticating as a Service Principal using a Client Secret."},"client_secret_file_path":{"type":"TypeString","optional":true,"description":"The path to a file containing the Client Secret which should be used. For use When authenticating as a Service Principal using a Client Secret."},"disable_correlation_request_id":{"type":"TypeBool","optional":true,"description":"This will disable the x-ms-correlation-request-id header."},"disable_terraform_partner_id":{"type":"TypeBool","optional":true,"description":"This will disable the Terraform Partner ID which is used if a custom `partner_id` isn't specified."},"environment":{"type":"TypeString","optional":true,"description":"The Cloud Environment which should be used. Possible values are public, usgovernment, and china. Defaults to public. Not used and should not be specified when `metadata_host` is specified."},"features":{"type":"TypeList","required":true,"elem":{"schema":{"api_management":{"type":"TypeList","optional":true,"elem":{"schema":{"purge_soft_delete_on_destroy":{"type":"TypeBool","optional":true,"default":true},"recover_soft_deleted":{"type":"TypeBool","optional":true,"default":true}}},"maxItems":1},"app_configuration":{"type":"TypeList","optional":true,"elem":{"schema":{"purge_soft_delete_on_destroy":{"type":"TypeBool","optional":true,"default":true},"recover_soft_deleted":{"type":"TypeBool","optional":true,"default":true}}},"maxItems":1},"application_insights":{"type":"TypeList","optional":true,"elem":{"schema":{"disable_generated_rule":{"type":"TypeBool","optional":true,"default":false}}},"maxItems":1},"cognitive_account":{"type":"TypeList","optional":true,"elem":{"schema":{"purge_soft_delete_on_destroy":{"type":"TypeBool","optional":true,"default":true}}},"maxItems":1},"key_vault":{"type":"TypeList","optional":true,"elem":{"schema":{"purge_soft_delete_on_destroy":{"type":"TypeBool","optional":true,"default":true,"description":"When enabled soft-deleted `azurerm_key_vault` resources will be permanently deleted (e.g purged), when destroyed"},"purge_soft_deleted_certificates_on_destroy":{"type":"TypeBool","optional":true,"default":true,"description":"When enabled soft-deleted `azurerm_key_vault_certificate` resources will be permanently deleted (e.g purged), when destroyed"},"purge_soft_deleted_hardware_security_module_keys_on_destroy":{"type":"TypeBool","optional":true,"default":true,"description":"When enabled soft-deleted `azurerm_key_vault_managed_hardware_security_module_key` resources will be permanently deleted (e.g purged), when destroyed"},"purge_soft_deleted_hardware_security_modules_on_destroy":{"type":"TypeBool","optional":true,"default":true,"description":"When enabled soft-deleted `azurerm_key_vault_managed_hardware_security_module` resources will be permanently deleted (e.g purged), when destroyed"},"purge_soft_deleted_keys_on_destroy":{"type":"TypeBool","optional":true,"default":true,"description":"When enabled soft-deleted `azurerm_key_vault_key` resources will be permanently deleted (e.g purged), when destroyed"},"purge_soft_deleted_secrets_on_destroy":{"type":"TypeBool","optional":true,"default":true,"description":"When enabled soft-deleted `azurerm_key_vault_secret` resources will be permanently deleted (e.g purged), when destroyed"},"recover_soft_deleted_certificates":{"type":"TypeBool","optional":true,"default":true,"description":"When enabled soft-deleted `azurerm_key_vault_certificate` resources will be restored, instead of creating new ones"},"recover_soft_deleted_hardware_security_module_keys":{"type":"TypeBool","optional":true,"default":true,"description":"When enabled soft-deleted `azurerm_key_vault_managed_hardware_security_module_key` resources will be restored, instead of creating new ones"},"recover_soft_deleted_key_vaults":{"type":"TypeBool","optional":true,"default":true,"description":"When enabled soft-deleted `azurerm_key_vault` resources will be restored, instead of creating new ones"},"recover_soft_deleted_keys":{"type":"TypeBool","optional":true,"default":true,"description":"When enabled soft-deleted `azurerm_key_vault_key` resources will be restored, instead of creating new ones"},"recover_soft_deleted_secrets":{"type":"TypeBool","optional":true,"default":true,"description":"When enabled soft-deleted `azurerm_key_vault_secret` resources will be restored, instead of creating new ones"}}},"maxItems":1},"log_analytics_workspace":{"type":"TypeList","optional":true,"elem":{"schema":{"permanently_delete_on_destroy":{"type":"TypeBool","optional":true,"default":false}}},"maxItems":1},"machine_learning":{"type":"TypeList","optional":true,"elem":{"schema":{"purge_soft_deleted_workspace_on_destroy":{"type":"TypeBool","optional":true,"default":false}}},"maxItems":1},"managed_disk":{"type":"TypeList","optional":true,"elem":{"schema":{"expand_without_downtime":{"type":"TypeBool","optional":true,"default":true}}},"maxItems":1},"postgresql_flexible_server":{"type":"TypeList","optional":true,"elem":{"schema":{"restart_server_on_configuration_value_change":{"type":"TypeBool","optional":true,"default":true}}},"maxItems":1},"recovery_service":{"type":"TypeList","optional":true,"elem":{"schema":{"purge_protected_items_from_vault_on_destroy":{"type":"TypeBool","optional":true,"default":false},"vm_backup_stop_protection_and_retain_data_on_destroy":{"type":"TypeBool","optional":true,"default":false}}},"maxItems":1},"recovery_services_vaults":{"type":"TypeList","optional":true,"elem":{"schema":{"recover_soft_deleted_backup_protected_vm":{"type":"TypeBool","optional":true,"default":false}}},"maxItems":1},"resource_group":{"type":"TypeList","optional":true,"elem":{"schema":{"prevent_deletion_if_contains_resources":{"type":"TypeBool","optional":true,"default":false}}},"maxItems":1},"subscription":{"type":"TypeList","optional":true,"elem":{"schema":{"prevent_cancellation_on_destroy":{"type":"TypeBool","optional":true,"default":false}}},"maxItems":1},"template_deployment":{"type":"TypeList","optional":true,"elem":{"schema":{"delete_nested_items_during_deletion":{"type":"TypeBool","required":true}}},"maxItems":1},"virtual_machine":{"type":"TypeList","optional":true,"elem":{"schema":{"delete_os_disk_on_deletion":{"type":"TypeBool","optional":true,"default":false},"detach_implicit_data_disk_on_deletion":{"type":"TypeBool","optional":true,"default":false},"graceful_shutdown":{"type":"TypeBool","optional":true,"default":false},"skip_shutdown_and_force_delete":{"type":"TypeBool","optional":true,"default":false}}},"maxItems":1},"virtual_machine_scale_set":{"type":"TypeList","optional":true,"elem":{"schema":{"force_delete":{"type":"TypeBool","optional":true,"default":false},"reimage_on_manual_upgrade":{"type":"TypeBool","optional":true,"default":true},"roll_instances_when_required":{"type":"TypeBool","optional":true,"default":true},"scale_to_zero_before_deletion":{"type":"TypeBool","optional":true,"default":false}}},"maxItems":1}}},"maxItems":1,"minItems":1},"metadata_host":{"type":"TypeString","optional":true,"description":"The Hostname which should be used for the Azure Metadata Service."},"msi_endpoint":{"type":"TypeString","optional":true,"description":"The path to a custom endpoint for Managed Service Identity - in most circumstances this should be detected automatically. "},"oidc_request_token":{"type":"TypeString","optional":true,"description":"The bearer token for the request to the OIDC provider. For use when authenticating as a Service Principal using OpenID Connect."},"oidc_request_url":{"type":"TypeString","optional":true,"description":"The URL for the OIDC provider from which to request an ID token. For use when authenticating as a Service Principal using OpenID Connect."},"oidc_token":{"type":"TypeString","optional":true,"description":"The OIDC ID token for use when authenticating as a Service Principal using OpenID Connect."},"oidc_token_file_path":{"type":"TypeString","optional":true,"description":"The path to a file containing an OIDC ID token for use when authenticating as a Service Principal using OpenID Connect."},"partner_id":{"type":"TypeString","optional":true,"description":"A GUID/UUID that is registered with Microsoft to facilitate partner resource usage attribution."},"resource_provider_registrations":{"type":"TypeString","optional":true,"description":"The set of Resource Providers which should be automatically registered for the subscription."},"resource_providers_to_register":{"type":"TypeList","optional":true,"description":"A list of Resource Providers to explicitly register for the subscription, in addition to those specified by the `resource_provider_registrations` property.","elem":{"type":"TypeString"}},"skip_provider_registration":{"type":"TypeBool","optional":true,"description":"Should the AzureRM Provider skip registering all of the Resource Providers that it supports, if they're not already registered?"},"storage_use_azuread":{"type":"TypeBool","optional":true,"description":"Should the AzureRM Provider use Azure AD Authentication when accessing the Storage Data Plane APIs?"},"subscription_id":{"type":"TypeString","optional":true,"description":"The Subscription ID which should be used."},"tenant_id":{"type":"TypeString","optional":true,"description":"The Tenant ID which should be used."},"use_aks_workload_identity":{"type":"TypeBool","optional":true,"description":"Allow Azure AKS Workload Identity to be used for Authentication."},"use_cli":{"type":"TypeBool","optional":true,"default":true,"description":"Allow Azure CLI to be used for Authentication."},"use_msi":{"type":"TypeBool","optional":true,"description":"Allow Managed Service Identity to be used for Authentication."},"use_oidc":{"type":"TypeBool","optional":true,"description":"Allow OpenID Connect to be used for authentication"}},"resources":{"azurerm_aadb2c_directory":{"schema":{"billing_type":{"type":"TypeString","description":"The type of billing for the B2C tenant. Possible values include: `MAU` or `Auths`.","computed":true},"country_code":{"type":"TypeString","optional":true,"description":"Country code of the B2C tenant. See https://aka.ms/B2CDataResidency for valid country codes.","computed":true,"forceNew":true},"data_residency_location":{"type":"TypeString","required":true,"description":"Location in which the B2C tenant is hosted and data resides. See https://aka.ms/B2CDataResidency for more information.","forceNew":true},"display_name":{"type":"TypeString","optional":true,"description":"The initial display name of the B2C tenant.","computed":true,"forceNew":true},"domain_name":{"type":"TypeString","required":true,"description":"Domain name of the B2C tenant, including onmicrosoft.com suffix.","forceNew":true},"effective_start_date":{"type":"TypeString","description":"The date from which the billing type took effect. May not be populated until after the first billing cycle.","computed":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"sku_name":{"type":"TypeString","required":true,"description":"Billing SKU for the B2C tenant. See https://aka.ms/b2cBilling for more information."},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"tenant_id":{"type":"TypeString","description":"The Tenant ID for the B2C tenant.","computed":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_active_directory_domain_service":{"schema":{"deployment_id":{"type":"TypeString","computed":true},"domain_configuration_type":{"type":"TypeString","optional":true,"forceNew":true},"domain_name":{"type":"TypeString","required":true,"forceNew":true},"filtered_sync_enabled":{"type":"TypeBool","optional":true,"default":false},"initial_replica_set":{"type":"TypeList","required":true,"elem":{"schema":{"domain_controller_ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"external_access_ip_address":{"type":"TypeString","computed":true},"id":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"service_status":{"type":"TypeString","computed":true},"subnet_id":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1,"minItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"notifications":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"additional_recipients":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"notify_dc_admins":{"type":"TypeBool","optional":true,"default":false},"notify_global_admins":{"type":"TypeBool","optional":true,"default":false}}},"maxItems":1},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"resource_id":{"type":"TypeString","computed":true},"secure_ldap":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"certificate_expiry":{"type":"TypeString","computed":true},"certificate_thumbprint":{"type":"TypeString","computed":true},"enabled":{"type":"TypeBool","required":true},"external_access_enabled":{"type":"TypeBool","optional":true,"default":false},"pfx_certificate":{"type":"TypeString","required":true},"pfx_certificate_password":{"type":"TypeString","required":true},"public_certificate":{"type":"TypeString","computed":true}}},"maxItems":1},"security":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"kerberos_armoring_enabled":{"type":"TypeBool","optional":true,"default":false},"kerberos_rc4_encryption_enabled":{"type":"TypeBool","optional":true,"default":false},"ntlm_v1_enabled":{"type":"TypeBool","optional":true,"default":false},"sync_kerberos_passwords":{"type":"TypeBool","optional":true,"default":false},"sync_ntlm_passwords":{"type":"TypeBool","optional":true,"default":false},"sync_on_prem_passwords":{"type":"TypeBool","optional":true,"default":false},"tls_v1_enabled":{"type":"TypeBool","optional":true,"default":false}}},"maxItems":1},"sku":{"type":"TypeString","required":true},"sync_owner":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"tenant_id":{"type":"TypeString","computed":true},"version":{"type":"TypeInt","computed":true}},"timeouts":{"create":180,"read":5,"delete":60,"update":120}},"azurerm_active_directory_domain_service_replica_set":{"schema":{"domain_controller_ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"domain_service_id":{"type":"TypeString","required":true,"forceNew":true},"external_access_ip_address":{"type":"TypeString","computed":true},"location":{"type":"TypeString","required":true,"forceNew":true},"service_status":{"type":"TypeString","computed":true},"subnet_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":180,"read":5,"delete":60}},"azurerm_active_directory_domain_service_trust":{"schema":{"domain_service_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"password":{"type":"TypeString","required":true},"trusted_domain_dns_ips":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"minItems":2},"trusted_domain_fqdn":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_advanced_threat_protection":{"schema":{"enabled":{"type":"TypeBool","required":true},"target_resource_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_advisor_suppression":{"schema":{"name":{"type":"TypeString","required":true,"forceNew":true},"recommendation_id":{"type":"TypeString","required":true,"forceNew":true},"resource_id":{"type":"TypeString","required":true,"forceNew":true},"suppression_id":{"type":"TypeString","computed":true},"ttl":{"type":"TypeString","optional":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_ai_services":{"schema":{"custom_subdomain_name":{"type":"TypeString","optional":true,"forceNew":true},"customer_managed_key":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_client_id":{"type":"TypeString","optional":true},"key_vault_key_id":{"type":"TypeString","optional":true},"managed_hsm_key_id":{"type":"TypeString","optional":true}}},"maxItems":1},"endpoint":{"type":"TypeString","computed":true},"fqdns":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"local_authentication_enabled":{"type":"TypeBool","optional":true,"default":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"network_acls":{"type":"TypeList","optional":true,"elem":{"schema":{"default_action":{"type":"TypeString","required":true},"ip_rules":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"virtual_network_rules":{"type":"TypeSet","optional":true,"elem":{"schema":{"ignore_missing_vnet_service_endpoint":{"type":"TypeBool","optional":true,"default":false},"subnet_id":{"type":"TypeString","required":true}}}}}},"maxItems":1},"outbound_network_access_restricted":{"type":"TypeBool","optional":true,"default":false},"primary_access_key":{"type":"TypeString","computed":true},"public_network_access":{"type":"TypeString","optional":true,"default":"Enabled"},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"secondary_access_key":{"type":"TypeString","computed":true},"sku_name":{"type":"TypeString","required":true},"storage":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_client_id":{"type":"TypeString","optional":true},"storage_account_id":{"type":"TypeString","required":true}}}},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":180,"read":5,"delete":180,"update":180}},"azurerm_analysis_services_server":{"schema":{"admin_users":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"backup_blob_container_uri":{"type":"TypeString","optional":true},"ipv4_firewall_rule":{"type":"TypeSet","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"range_end":{"type":"TypeString","required":true},"range_start":{"type":"TypeString","required":true}}}},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"power_bi_service_enabled":{"type":"TypeBool","optional":true},"querypool_connection_mode":{"type":"TypeString","optional":true,"default":"All"},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"server_full_name":{"type":"TypeString","computed":true},"sku":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_api_connection":{"schema":{"display_name":{"type":"TypeString","optional":true,"default":"Service Bus","forceNew":true},"managed_api_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"parameter_values":{"type":"TypeMap","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_api_management":{"schema":{"additional_location":{"type":"TypeList","optional":true,"elem":{"schema":{"capacity":{"type":"TypeInt","optional":true,"computed":true},"gateway_disabled":{"type":"TypeBool","optional":true,"default":false},"gateway_regional_url":{"type":"TypeString","computed":true},"location":{"type":"TypeString","required":true},"private_ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"public_ip_address_id":{"type":"TypeString","optional":true},"public_ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"virtual_network_configuration":{"type":"TypeList","optional":true,"elem":{"schema":{"subnet_id":{"type":"TypeString","required":true}}},"maxItems":1},"zones":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}}}}},"certificate":{"type":"TypeList","optional":true,"elem":{"schema":{"certificate_password":{"type":"TypeString","optional":true},"encoded_certificate":{"type":"TypeString","required":true},"expiry":{"type":"TypeString","computed":true},"store_name":{"type":"TypeString","required":true},"subject":{"type":"TypeString","computed":true},"thumbprint":{"type":"TypeString","computed":true}}},"maxItems":10},"client_certificate_enabled":{"type":"TypeBool","optional":true,"default":false},"delegation":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"subscriptions_enabled":{"type":"TypeBool","optional":true,"default":false},"url":{"type":"TypeString","optional":true},"user_registration_enabled":{"type":"TypeBool","optional":true,"default":false},"validation_key":{"type":"TypeString","optional":true}}},"maxItems":1},"developer_portal_url":{"type":"TypeString","computed":true},"gateway_disabled":{"type":"TypeBool","optional":true,"default":false},"gateway_regional_url":{"type":"TypeString","computed":true},"gateway_url":{"type":"TypeString","computed":true},"hostname_configuration":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"developer_portal":{"type":"TypeList","optional":true,"elem":{"schema":{"certificate":{"type":"TypeString","optional":true},"certificate_password":{"type":"TypeString","optional":true},"certificate_source":{"type":"TypeString","computed":true},"certificate_status":{"type":"TypeString","computed":true},"expiry":{"type":"TypeString","computed":true},"host_name":{"type":"TypeString","required":true},"key_vault_id":{"type":"TypeString","optional":true},"negotiate_client_certificate":{"type":"TypeBool","optional":true,"default":false},"ssl_keyvault_identity_client_id":{"type":"TypeString","optional":true},"subject":{"type":"TypeString","computed":true},"thumbprint":{"type":"TypeString","computed":true}}}},"management":{"type":"TypeList","optional":true,"elem":{"schema":{"certificate":{"type":"TypeString","optional":true},"certificate_password":{"type":"TypeString","optional":true},"certificate_source":{"type":"TypeString","computed":true},"certificate_status":{"type":"TypeString","computed":true},"expiry":{"type":"TypeString","computed":true},"host_name":{"type":"TypeString","required":true},"key_vault_id":{"type":"TypeString","optional":true},"negotiate_client_certificate":{"type":"TypeBool","optional":true,"default":false},"ssl_keyvault_identity_client_id":{"type":"TypeString","optional":true},"subject":{"type":"TypeString","computed":true},"thumbprint":{"type":"TypeString","computed":true}}}},"portal":{"type":"TypeList","optional":true,"elem":{"schema":{"certificate":{"type":"TypeString","optional":true},"certificate_password":{"type":"TypeString","optional":true},"certificate_source":{"type":"TypeString","computed":true},"certificate_status":{"type":"TypeString","computed":true},"expiry":{"type":"TypeString","computed":true},"host_name":{"type":"TypeString","required":true},"key_vault_id":{"type":"TypeString","optional":true},"negotiate_client_certificate":{"type":"TypeBool","optional":true,"default":false},"ssl_keyvault_identity_client_id":{"type":"TypeString","optional":true},"subject":{"type":"TypeString","computed":true},"thumbprint":{"type":"TypeString","computed":true}}}},"proxy":{"type":"TypeList","optional":true,"elem":{"schema":{"certificate":{"type":"TypeString","optional":true},"certificate_password":{"type":"TypeString","optional":true},"certificate_source":{"type":"TypeString","computed":true},"certificate_status":{"type":"TypeString","computed":true},"default_ssl_binding":{"type":"TypeBool","optional":true,"computed":true},"expiry":{"type":"TypeString","computed":true},"host_name":{"type":"TypeString","required":true},"key_vault_id":{"type":"TypeString","optional":true},"negotiate_client_certificate":{"type":"TypeBool","optional":true,"default":false},"ssl_keyvault_identity_client_id":{"type":"TypeString","optional":true},"subject":{"type":"TypeString","computed":true},"thumbprint":{"type":"TypeString","computed":true}}}},"scm":{"type":"TypeList","optional":true,"elem":{"schema":{"certificate":{"type":"TypeString","optional":true},"certificate_password":{"type":"TypeString","optional":true},"certificate_source":{"type":"TypeString","computed":true},"certificate_status":{"type":"TypeString","computed":true},"expiry":{"type":"TypeString","computed":true},"host_name":{"type":"TypeString","required":true},"key_vault_id":{"type":"TypeString","optional":true},"negotiate_client_certificate":{"type":"TypeBool","optional":true,"default":false},"ssl_keyvault_identity_client_id":{"type":"TypeString","optional":true},"subject":{"type":"TypeString","computed":true},"thumbprint":{"type":"TypeString","computed":true}}}}}},"maxItems":1},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"management_api_url":{"type":"TypeString","computed":true},"min_api_version":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"notification_sender_email":{"type":"TypeString","optional":true,"computed":true},"portal_url":{"type":"TypeString","computed":true},"private_ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"protocols":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"enable_http2":{"type":"TypeBool","optional":true,"default":false}}},"maxItems":1},"public_ip_address_id":{"type":"TypeString","optional":true},"public_ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"public_network_access_enabled":{"type":"TypeBool","optional":true,"default":true},"publisher_email":{"type":"TypeString","required":true},"publisher_name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"scm_url":{"type":"TypeString","computed":true},"security":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"enable_backend_ssl30":{"type":"TypeBool","optional":true,"default":false},"enable_backend_tls10":{"type":"TypeBool","optional":true,"default":false},"enable_backend_tls11":{"type":"TypeBool","optional":true,"default":false},"enable_frontend_ssl30":{"type":"TypeBool","optional":true,"default":false},"enable_frontend_tls10":{"type":"TypeBool","optional":true,"default":false},"enable_frontend_tls11":{"type":"TypeBool","optional":true,"default":false},"tls_ecdhe_ecdsa_with_aes128_cbc_sha_ciphers_enabled":{"type":"TypeBool","optional":true,"default":false},"tls_ecdhe_ecdsa_with_aes256_cbc_sha_ciphers_enabled":{"type":"TypeBool","optional":true,"default":false},"tls_ecdhe_rsa_with_aes128_cbc_sha_ciphers_enabled":{"type":"TypeBool","optional":true,"default":false},"tls_ecdhe_rsa_with_aes256_cbc_sha_ciphers_enabled":{"type":"TypeBool","optional":true,"default":false},"tls_rsa_with_aes128_cbc_sha256_ciphers_enabled":{"type":"TypeBool","optional":true,"default":false},"tls_rsa_with_aes128_cbc_sha_ciphers_enabled":{"type":"TypeBool","optional":true,"default":false},"tls_rsa_with_aes128_gcm_sha256_ciphers_enabled":{"type":"TypeBool","optional":true,"default":false},"tls_rsa_with_aes256_cbc_sha256_ciphers_enabled":{"type":"TypeBool","optional":true,"default":false},"tls_rsa_with_aes256_cbc_sha_ciphers_enabled":{"type":"TypeBool","optional":true,"default":false},"tls_rsa_with_aes256_gcm_sha384_ciphers_enabled":{"type":"TypeBool","optional":true,"default":false},"triple_des_ciphers_enabled":{"type":"TypeBool","optional":true}}},"maxItems":1},"sign_in":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"enabled":{"type":"TypeBool","required":true}}},"maxItems":1},"sign_up":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"enabled":{"type":"TypeBool","required":true},"terms_of_service":{"type":"TypeList","required":true,"elem":{"schema":{"consent_required":{"type":"TypeBool","required":true},"enabled":{"type":"TypeBool","required":true},"text":{"type":"TypeString","optional":true}}},"maxItems":1}}},"maxItems":1},"sku_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"tenant_access":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"enabled":{"type":"TypeBool","required":true},"primary_key":{"type":"TypeString","computed":true},"secondary_key":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true}}},"maxItems":1},"virtual_network_configuration":{"type":"TypeList","optional":true,"elem":{"schema":{"subnet_id":{"type":"TypeString","required":true}}},"maxItems":1},"virtual_network_type":{"type":"TypeString","optional":true,"default":"None"},"zones":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":180,"read":5,"delete":180,"update":180}},"azurerm_api_management_api":{"schema":{"api_management_name":{"type":"TypeString","required":true,"forceNew":true},"api_type":{"type":"TypeString","optional":true,"computed":true},"contact":{"type":"TypeList","optional":true,"elem":{"schema":{"email":{"type":"TypeString","optional":true},"name":{"type":"TypeString","optional":true},"url":{"type":"TypeString","optional":true}}},"maxItems":1,"minItems":1},"description":{"type":"TypeString","optional":true},"display_name":{"type":"TypeString","optional":true,"computed":true},"import":{"type":"TypeList","optional":true,"elem":{"schema":{"content_format":{"type":"TypeString","required":true},"content_value":{"type":"TypeString","required":true},"wsdl_selector":{"type":"TypeList","optional":true,"elem":{"schema":{"endpoint_name":{"type":"TypeString","required":true},"service_name":{"type":"TypeString","required":true}}},"maxItems":1}}},"maxItems":1},"is_current":{"type":"TypeBool","computed":true},"is_online":{"type":"TypeBool","computed":true},"license":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","optional":true},"url":{"type":"TypeString","optional":true}}},"maxItems":1,"minItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"oauth2_authorization":{"type":"TypeList","optional":true,"elem":{"schema":{"authorization_server_name":{"type":"TypeString","required":true},"scope":{"type":"TypeString","optional":true}}},"maxItems":1},"openid_authentication":{"type":"TypeList","optional":true,"elem":{"schema":{"bearer_token_sending_methods":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"openid_provider_name":{"type":"TypeString","required":true}}},"maxItems":1},"path":{"type":"TypeString","optional":true,"computed":true},"protocols":{"type":"TypeSet","optional":true,"computed":true,"elem":{"type":"TypeString"}},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"revision":{"type":"TypeString","required":true,"forceNew":true},"revision_description":{"type":"TypeString","optional":true},"service_url":{"type":"TypeString","optional":true,"computed":true},"source_api_id":{"type":"TypeString","optional":true},"subscription_key_parameter_names":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"header":{"type":"TypeString","required":true},"query":{"type":"TypeString","required":true}}},"maxItems":1},"subscription_required":{"type":"TypeBool","optional":true,"default":true},"terms_of_service_url":{"type":"TypeString","optional":true},"version":{"type":"TypeString","optional":true,"computed":true},"version_description":{"type":"TypeString","optional":true},"version_set_id":{"type":"TypeString","optional":true,"computed":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_api_management_api_diagnostic":{"schema":{"always_log_errors":{"type":"TypeBool","optional":true,"computed":true},"api_management_logger_id":{"type":"TypeString","required":true},"api_management_name":{"type":"TypeString","required":true,"forceNew":true},"api_name":{"type":"TypeString","required":true,"forceNew":true},"backend_request":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"body_bytes":{"type":"TypeInt","optional":true},"data_masking":{"type":"TypeList","optional":true,"elem":{"schema":{"headers":{"type":"TypeList","optional":true,"elem":{"schema":{"mode":{"type":"TypeString","required":true},"value":{"type":"TypeString","required":true}}}},"query_params":{"type":"TypeList","optional":true,"elem":{"schema":{"mode":{"type":"TypeString","required":true},"value":{"type":"TypeString","required":true}}}}}},"maxItems":1},"headers_to_log":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"backend_response":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"body_bytes":{"type":"TypeInt","optional":true},"data_masking":{"type":"TypeList","optional":true,"elem":{"schema":{"headers":{"type":"TypeList","optional":true,"elem":{"schema":{"mode":{"type":"TypeString","required":true},"value":{"type":"TypeString","required":true}}}},"query_params":{"type":"TypeList","optional":true,"elem":{"schema":{"mode":{"type":"TypeString","required":true},"value":{"type":"TypeString","required":true}}}}}},"maxItems":1},"headers_to_log":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"frontend_request":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"body_bytes":{"type":"TypeInt","optional":true},"data_masking":{"type":"TypeList","optional":true,"elem":{"schema":{"headers":{"type":"TypeList","optional":true,"elem":{"schema":{"mode":{"type":"TypeString","required":true},"value":{"type":"TypeString","required":true}}}},"query_params":{"type":"TypeList","optional":true,"elem":{"schema":{"mode":{"type":"TypeString","required":true},"value":{"type":"TypeString","required":true}}}}}},"maxItems":1},"headers_to_log":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"frontend_response":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"body_bytes":{"type":"TypeInt","optional":true},"data_masking":{"type":"TypeList","optional":true,"elem":{"schema":{"headers":{"type":"TypeList","optional":true,"elem":{"schema":{"mode":{"type":"TypeString","required":true},"value":{"type":"TypeString","required":true}}}},"query_params":{"type":"TypeList","optional":true,"elem":{"schema":{"mode":{"type":"TypeString","required":true},"value":{"type":"TypeString","required":true}}}}}},"maxItems":1},"headers_to_log":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"http_correlation_protocol":{"type":"TypeString","optional":true,"computed":true},"identifier":{"type":"TypeString","required":true,"forceNew":true},"log_client_ip":{"type":"TypeBool","optional":true,"computed":true},"operation_name_format":{"type":"TypeString","optional":true,"default":"Name"},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"sampling_percentage":{"type":"TypeFloat","optional":true,"computed":true},"verbosity":{"type":"TypeString","optional":true,"computed":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_api_management_api_operation":{"schema":{"api_management_name":{"type":"TypeString","required":true,"forceNew":true},"api_name":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"display_name":{"type":"TypeString","required":true},"method":{"type":"TypeString","required":true},"operation_id":{"type":"TypeString","required":true,"forceNew":true},"request":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"description":{"type":"TypeString","optional":true},"header":{"type":"TypeList","optional":true,"elem":{"schema":{"default_value":{"type":"TypeString","optional":true},"description":{"type":"TypeString","optional":true},"example":{"type":"TypeList","optional":true,"elem":{"schema":{"description":{"type":"TypeString","optional":true},"external_value":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true},"summary":{"type":"TypeString","optional":true},"value":{"type":"TypeString","optional":true}}}},"name":{"type":"TypeString","required":true},"required":{"type":"TypeBool","required":true},"schema_id":{"type":"TypeString","optional":true},"type":{"type":"TypeString","required":true},"type_name":{"type":"TypeString","optional":true},"values":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}}}}},"query_parameter":{"type":"TypeList","optional":true,"elem":{"schema":{"default_value":{"type":"TypeString","optional":true},"description":{"type":"TypeString","optional":true},"example":{"type":"TypeList","optional":true,"elem":{"schema":{"description":{"type":"TypeString","optional":true},"external_value":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true},"summary":{"type":"TypeString","optional":true},"value":{"type":"TypeString","optional":true}}}},"name":{"type":"TypeString","required":true},"required":{"type":"TypeBool","required":true},"schema_id":{"type":"TypeString","optional":true},"type":{"type":"TypeString","required":true},"type_name":{"type":"TypeString","optional":true},"values":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}}}}},"representation":{"type":"TypeList","optional":true,"elem":{"schema":{"content_type":{"type":"TypeString","required":true},"example":{"type":"TypeList","optional":true,"elem":{"schema":{"description":{"type":"TypeString","optional":true},"external_value":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true},"summary":{"type":"TypeString","optional":true},"value":{"type":"TypeString","optional":true}}}},"form_parameter":{"type":"TypeList","optional":true,"elem":{"schema":{"default_value":{"type":"TypeString","optional":true},"description":{"type":"TypeString","optional":true},"example":{"type":"TypeList","optional":true,"elem":{"schema":{"description":{"type":"TypeString","optional":true},"external_value":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true},"summary":{"type":"TypeString","optional":true},"value":{"type":"TypeString","optional":true}}}},"name":{"type":"TypeString","required":true},"required":{"type":"TypeBool","required":true},"schema_id":{"type":"TypeString","optional":true},"type":{"type":"TypeString","required":true},"type_name":{"type":"TypeString","optional":true},"values":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}}}}},"schema_id":{"type":"TypeString","optional":true},"type_name":{"type":"TypeString","optional":true}}}}}},"maxItems":1},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"response":{"type":"TypeList","optional":true,"elem":{"schema":{"description":{"type":"TypeString","optional":true},"header":{"type":"TypeList","optional":true,"elem":{"schema":{"default_value":{"type":"TypeString","optional":true},"description":{"type":"TypeString","optional":true},"example":{"type":"TypeList","optional":true,"elem":{"schema":{"description":{"type":"TypeString","optional":true},"external_value":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true},"summary":{"type":"TypeString","optional":true},"value":{"type":"TypeString","optional":true}}}},"name":{"type":"TypeString","required":true},"required":{"type":"TypeBool","required":true},"schema_id":{"type":"TypeString","optional":true},"type":{"type":"TypeString","required":true},"type_name":{"type":"TypeString","optional":true},"values":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}}}}},"representation":{"type":"TypeList","optional":true,"elem":{"schema":{"content_type":{"type":"TypeString","required":true},"example":{"type":"TypeList","optional":true,"elem":{"schema":{"description":{"type":"TypeString","optional":true},"external_value":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true},"summary":{"type":"TypeString","optional":true},"value":{"type":"TypeString","optional":true}}}},"form_parameter":{"type":"TypeList","optional":true,"elem":{"schema":{"default_value":{"type":"TypeString","optional":true},"description":{"type":"TypeString","optional":true},"example":{"type":"TypeList","optional":true,"elem":{"schema":{"description":{"type":"TypeString","optional":true},"external_value":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true},"summary":{"type":"TypeString","optional":true},"value":{"type":"TypeString","optional":true}}}},"name":{"type":"TypeString","required":true},"required":{"type":"TypeBool","required":true},"schema_id":{"type":"TypeString","optional":true},"type":{"type":"TypeString","required":true},"type_name":{"type":"TypeString","optional":true},"values":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}}}}},"schema_id":{"type":"TypeString","optional":true},"type_name":{"type":"TypeString","optional":true}}}},"status_code":{"type":"TypeInt","required":true}}}},"template_parameter":{"type":"TypeList","optional":true,"elem":{"schema":{"default_value":{"type":"TypeString","optional":true},"description":{"type":"TypeString","optional":true},"example":{"type":"TypeList","optional":true,"elem":{"schema":{"description":{"type":"TypeString","optional":true},"external_value":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true},"summary":{"type":"TypeString","optional":true},"value":{"type":"TypeString","optional":true}}}},"name":{"type":"TypeString","required":true},"required":{"type":"TypeBool","required":true},"schema_id":{"type":"TypeString","optional":true},"type":{"type":"TypeString","required":true},"type_name":{"type":"TypeString","optional":true},"values":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}}}}},"url_template":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_api_management_api_operation_policy":{"schema":{"api_management_name":{"type":"TypeString","required":true,"forceNew":true},"api_name":{"type":"TypeString","required":true,"forceNew":true},"operation_id":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"xml_content":{"type":"TypeString","optional":true,"computed":true},"xml_link":{"type":"TypeString","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_api_management_api_operation_tag":{"schema":{"api_operation_id":{"type":"TypeString","required":true,"forceNew":true},"display_name":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_api_management_api_policy":{"schema":{"api_management_name":{"type":"TypeString","required":true,"forceNew":true},"api_name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"xml_content":{"type":"TypeString","optional":true,"computed":true},"xml_link":{"type":"TypeString","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_api_management_api_release":{"schema":{"api_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"notes":{"type":"TypeString","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_api_management_api_schema":{"schema":{"api_management_name":{"type":"TypeString","required":true,"forceNew":true},"api_name":{"type":"TypeString","required":true,"forceNew":true},"components":{"type":"TypeString","optional":true},"content_type":{"type":"TypeString","required":true},"definitions":{"type":"TypeString","optional":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"schema_id":{"type":"TypeString","required":true,"forceNew":true},"value":{"type":"TypeString","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_api_management_api_tag":{"schema":{"api_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_api_management_api_tag_description":{"schema":{"api_tag_id":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"external_documentation_description":{"type":"TypeString","optional":true},"external_documentation_url":{"type":"TypeString","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_api_management_api_version_set":{"schema":{"api_management_name":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"display_name":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"version_header_name":{"type":"TypeString","optional":true},"version_query_name":{"type":"TypeString","optional":true},"versioning_scheme":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_api_management_authorization_server":{"schema":{"api_management_name":{"type":"TypeString","required":true,"forceNew":true},"authorization_endpoint":{"type":"TypeString","required":true},"authorization_methods":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}},"bearer_token_sending_methods":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"client_authentication_method":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"client_id":{"type":"TypeString","required":true},"client_registration_endpoint":{"type":"TypeString","required":true},"client_secret":{"type":"TypeString","optional":true},"default_scope":{"type":"TypeString","optional":true},"description":{"type":"TypeString","optional":true},"display_name":{"type":"TypeString","required":true},"grant_types":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"resource_owner_password":{"type":"TypeString","optional":true},"resource_owner_username":{"type":"TypeString","optional":true},"support_state":{"type":"TypeBool","optional":true},"token_body_parameter":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"value":{"type":"TypeString","required":true}}}},"token_endpoint":{"type":"TypeString","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_api_management_backend":{"schema":{"api_management_name":{"type":"TypeString","required":true,"forceNew":true},"credentials":{"type":"TypeList","optional":true,"elem":{"schema":{"authorization":{"type":"TypeList","optional":true,"elem":{"schema":{"parameter":{"type":"TypeString","optional":true},"scheme":{"type":"TypeString","optional":true}}},"maxItems":1},"certificate":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"header":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"query":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"description":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"protocol":{"type":"TypeString","required":true},"proxy":{"type":"TypeList","optional":true,"elem":{"schema":{"password":{"type":"TypeString","optional":true},"url":{"type":"TypeString","required":true},"username":{"type":"TypeString","required":true}}},"maxItems":1},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"resource_id":{"type":"TypeString","optional":true},"service_fabric_cluster":{"type":"TypeList","optional":true,"elem":{"schema":{"client_certificate_id":{"type":"TypeString","optional":true,"computed":true},"client_certificate_thumbprint":{"type":"TypeString","optional":true,"computed":true},"management_endpoints":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}},"max_partition_resolution_retries":{"type":"TypeInt","required":true},"server_certificate_thumbprints":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"server_x509_name":{"type":"TypeSet","optional":true,"elem":{"schema":{"issuer_certificate_thumbprint":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true}}}}}},"maxItems":1},"title":{"type":"TypeString","optional":true},"tls":{"type":"TypeList","optional":true,"elem":{"schema":{"validate_certificate_chain":{"type":"TypeBool","optional":true},"validate_certificate_name":{"type":"TypeBool","optional":true}}},"maxItems":1},"url":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_api_management_certificate":{"schema":{"api_management_name":{"type":"TypeString","required":true,"forceNew":true},"data":{"type":"TypeString","optional":true},"expiration":{"type":"TypeString","computed":true},"key_vault_identity_client_id":{"type":"TypeString","optional":true},"key_vault_secret_id":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"password":{"type":"TypeString","optional":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"subject":{"type":"TypeString","computed":true},"thumbprint":{"type":"TypeString","computed":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_api_management_custom_domain":{"schema":{"api_management_id":{"type":"TypeString","required":true,"forceNew":true},"developer_portal":{"type":"TypeList","optional":true,"elem":{"schema":{"certificate":{"type":"TypeString","optional":true},"certificate_password":{"type":"TypeString","optional":true},"certificate_source":{"type":"TypeString","computed":true},"certificate_status":{"type":"TypeString","computed":true},"expiry":{"type":"TypeString","computed":true},"host_name":{"type":"TypeString","required":true},"key_vault_id":{"type":"TypeString","optional":true},"negotiate_client_certificate":{"type":"TypeBool","optional":true,"default":false},"ssl_keyvault_identity_client_id":{"type":"TypeString","optional":true},"subject":{"type":"TypeString","computed":true},"thumbprint":{"type":"TypeString","computed":true}}}},"gateway":{"type":"TypeList","optional":true,"elem":{"schema":{"certificate":{"type":"TypeString","optional":true},"certificate_password":{"type":"TypeString","optional":true},"certificate_source":{"type":"TypeString","computed":true},"certificate_status":{"type":"TypeString","computed":true},"default_ssl_binding":{"type":"TypeBool","optional":true,"computed":true},"expiry":{"type":"TypeString","computed":true},"host_name":{"type":"TypeString","required":true},"key_vault_id":{"type":"TypeString","optional":true},"negotiate_client_certificate":{"type":"TypeBool","optional":true,"default":false},"ssl_keyvault_identity_client_id":{"type":"TypeString","optional":true},"subject":{"type":"TypeString","computed":true},"thumbprint":{"type":"TypeString","computed":true}}}},"management":{"type":"TypeList","optional":true,"elem":{"schema":{"certificate":{"type":"TypeString","optional":true},"certificate_password":{"type":"TypeString","optional":true},"certificate_source":{"type":"TypeString","computed":true},"certificate_status":{"type":"TypeString","computed":true},"expiry":{"type":"TypeString","computed":true},"host_name":{"type":"TypeString","required":true},"key_vault_id":{"type":"TypeString","optional":true},"negotiate_client_certificate":{"type":"TypeBool","optional":true,"default":false},"ssl_keyvault_identity_client_id":{"type":"TypeString","optional":true},"subject":{"type":"TypeString","computed":true},"thumbprint":{"type":"TypeString","computed":true}}}},"portal":{"type":"TypeList","optional":true,"elem":{"schema":{"certificate":{"type":"TypeString","optional":true},"certificate_password":{"type":"TypeString","optional":true},"certificate_source":{"type":"TypeString","computed":true},"certificate_status":{"type":"TypeString","computed":true},"expiry":{"type":"TypeString","computed":true},"host_name":{"type":"TypeString","required":true},"key_vault_id":{"type":"TypeString","optional":true},"negotiate_client_certificate":{"type":"TypeBool","optional":true,"default":false},"ssl_keyvault_identity_client_id":{"type":"TypeString","optional":true},"subject":{"type":"TypeString","computed":true},"thumbprint":{"type":"TypeString","computed":true}}}},"scm":{"type":"TypeList","optional":true,"elem":{"schema":{"certificate":{"type":"TypeString","optional":true},"certificate_password":{"type":"TypeString","optional":true},"certificate_source":{"type":"TypeString","computed":true},"certificate_status":{"type":"TypeString","computed":true},"expiry":{"type":"TypeString","computed":true},"host_name":{"type":"TypeString","required":true},"key_vault_id":{"type":"TypeString","optional":true},"negotiate_client_certificate":{"type":"TypeBool","optional":true,"default":false},"ssl_keyvault_identity_client_id":{"type":"TypeString","optional":true},"subject":{"type":"TypeString","computed":true},"thumbprint":{"type":"TypeString","computed":true}}}}},"timeouts":{"create":60,"read":5,"delete":60,"update":60}},"azurerm_api_management_diagnostic":{"schema":{"always_log_errors":{"type":"TypeBool","optional":true,"computed":true},"api_management_logger_id":{"type":"TypeString","required":true},"api_management_name":{"type":"TypeString","required":true,"forceNew":true},"backend_request":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"body_bytes":{"type":"TypeInt","optional":true},"data_masking":{"type":"TypeList","optional":true,"elem":{"schema":{"headers":{"type":"TypeList","optional":true,"elem":{"schema":{"mode":{"type":"TypeString","required":true},"value":{"type":"TypeString","required":true}}}},"query_params":{"type":"TypeList","optional":true,"elem":{"schema":{"mode":{"type":"TypeString","required":true},"value":{"type":"TypeString","required":true}}}}}},"maxItems":1},"headers_to_log":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"backend_response":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"body_bytes":{"type":"TypeInt","optional":true},"data_masking":{"type":"TypeList","optional":true,"elem":{"schema":{"headers":{"type":"TypeList","optional":true,"elem":{"schema":{"mode":{"type":"TypeString","required":true},"value":{"type":"TypeString","required":true}}}},"query_params":{"type":"TypeList","optional":true,"elem":{"schema":{"mode":{"type":"TypeString","required":true},"value":{"type":"TypeString","required":true}}}}}},"maxItems":1},"headers_to_log":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"frontend_request":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"body_bytes":{"type":"TypeInt","optional":true},"data_masking":{"type":"TypeList","optional":true,"elem":{"schema":{"headers":{"type":"TypeList","optional":true,"elem":{"schema":{"mode":{"type":"TypeString","required":true},"value":{"type":"TypeString","required":true}}}},"query_params":{"type":"TypeList","optional":true,"elem":{"schema":{"mode":{"type":"TypeString","required":true},"value":{"type":"TypeString","required":true}}}}}},"maxItems":1},"headers_to_log":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"frontend_response":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"body_bytes":{"type":"TypeInt","optional":true},"data_masking":{"type":"TypeList","optional":true,"elem":{"schema":{"headers":{"type":"TypeList","optional":true,"elem":{"schema":{"mode":{"type":"TypeString","required":true},"value":{"type":"TypeString","required":true}}}},"query_params":{"type":"TypeList","optional":true,"elem":{"schema":{"mode":{"type":"TypeString","required":true},"value":{"type":"TypeString","required":true}}}}}},"maxItems":1},"headers_to_log":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"http_correlation_protocol":{"type":"TypeString","optional":true,"computed":true},"identifier":{"type":"TypeString","required":true,"forceNew":true},"log_client_ip":{"type":"TypeBool","optional":true,"computed":true},"operation_name_format":{"type":"TypeString","optional":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"sampling_percentage":{"type":"TypeFloat","optional":true,"computed":true},"verbosity":{"type":"TypeString","optional":true,"computed":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_api_management_email_template":{"schema":{"api_management_name":{"type":"TypeString","required":true,"forceNew":true},"body":{"type":"TypeString","required":true},"description":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"subject":{"type":"TypeString","required":true},"template_name":{"type":"TypeString","required":true,"forceNew":true},"title":{"type":"TypeString","computed":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_api_management_gateway":{"schema":{"api_management_id":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"location_data":{"type":"TypeList","required":true,"elem":{"schema":{"city":{"type":"TypeString","optional":true},"district":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true},"region":{"type":"TypeString","optional":true}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_api_management_gateway_api":{"schema":{"api_id":{"type":"TypeString","required":true,"forceNew":true},"gateway_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_api_management_gateway_certificate_authority":{"schema":{"api_management_id":{"type":"TypeString","required":true,"forceNew":true},"certificate_name":{"type":"TypeString","required":true,"forceNew":true},"gateway_name":{"type":"TypeString","required":true,"forceNew":true},"is_trusted":{"type":"TypeBool","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_api_management_gateway_host_name_configuration":{"schema":{"api_management_id":{"type":"TypeString","required":true,"forceNew":true},"certificate_id":{"type":"TypeString","required":true},"gateway_name":{"type":"TypeString","required":true,"forceNew":true},"host_name":{"type":"TypeString","required":true},"http2_enabled":{"type":"TypeBool","optional":true,"default":true},"name":{"type":"TypeString","required":true,"forceNew":true},"request_client_certificate_enabled":{"type":"TypeBool","optional":true},"tls10_enabled":{"type":"TypeBool","optional":true},"tls11_enabled":{"type":"TypeBool","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_api_management_global_schema":{"schema":{"api_management_name":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"schema_id":{"type":"TypeString","required":true,"forceNew":true},"type":{"type":"TypeString","required":true},"value":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_api_management_group":{"schema":{"api_management_name":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"display_name":{"type":"TypeString","required":true},"external_id":{"type":"TypeString","optional":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"type":{"type":"TypeString","optional":true,"default":"custom","forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_api_management_group_user":{"schema":{"api_management_name":{"type":"TypeString","required":true,"forceNew":true},"group_name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"user_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_api_management_identity_provider_aad":{"schema":{"allowed_tenants":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}},"api_management_name":{"type":"TypeString","required":true,"forceNew":true},"client_id":{"type":"TypeString","required":true},"client_library":{"type":"TypeString","optional":true},"client_secret":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"signin_tenant":{"type":"TypeString","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_api_management_identity_provider_aadb2c":{"schema":{"allowed_tenant":{"type":"TypeString","required":true},"api_management_name":{"type":"TypeString","required":true,"forceNew":true},"authority":{"type":"TypeString","required":true},"client_id":{"type":"TypeString","required":true},"client_library":{"type":"TypeString","optional":true},"client_secret":{"type":"TypeString","required":true},"password_reset_policy":{"type":"TypeString","optional":true},"profile_editing_policy":{"type":"TypeString","optional":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"signin_policy":{"type":"TypeString","required":true},"signin_tenant":{"type":"TypeString","required":true},"signup_policy":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_api_management_identity_provider_facebook":{"schema":{"api_management_name":{"type":"TypeString","required":true,"forceNew":true},"app_id":{"type":"TypeString","required":true},"app_secret":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_api_management_identity_provider_google":{"schema":{"api_management_name":{"type":"TypeString","required":true,"forceNew":true},"client_id":{"type":"TypeString","required":true},"client_secret":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_api_management_identity_provider_microsoft":{"schema":{"api_management_name":{"type":"TypeString","required":true,"forceNew":true},"client_id":{"type":"TypeString","required":true},"client_secret":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_api_management_identity_provider_twitter":{"schema":{"api_key":{"type":"TypeString","required":true},"api_management_name":{"type":"TypeString","required":true,"forceNew":true},"api_secret_key":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_api_management_logger":{"schema":{"api_management_name":{"type":"TypeString","required":true,"forceNew":true},"application_insights":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"connection_string":{"type":"TypeString","optional":true},"instrumentation_key":{"type":"TypeString","optional":true}}},"maxItems":1},"buffered":{"type":"TypeBool","optional":true,"default":true},"description":{"type":"TypeString","optional":true},"eventhub":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"connection_string":{"type":"TypeString","optional":true},"endpoint_uri":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true},"user_assigned_identity_client_id":{"type":"TypeString","optional":true}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"resource_id":{"type":"TypeString","optional":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_api_management_named_value":{"schema":{"api_management_name":{"type":"TypeString","required":true,"forceNew":true},"display_name":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"secret":{"type":"TypeBool","optional":true,"default":false},"tags":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"value":{"type":"TypeString","optional":true},"value_from_key_vault":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_client_id":{"type":"TypeString","optional":true},"secret_id":{"type":"TypeString","required":true}}},"maxItems":1}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_api_management_notification_recipient_email":{"schema":{"api_management_id":{"type":"TypeString","required":true,"forceNew":true},"email":{"type":"TypeString","required":true,"forceNew":true},"notification_type":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_api_management_notification_recipient_user":{"schema":{"api_management_id":{"type":"TypeString","required":true,"forceNew":true},"notification_type":{"type":"TypeString","required":true,"forceNew":true},"user_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_api_management_openid_connect_provider":{"schema":{"api_management_name":{"type":"TypeString","required":true,"forceNew":true},"client_id":{"type":"TypeString","required":true},"client_secret":{"type":"TypeString","required":true},"description":{"type":"TypeString","optional":true},"display_name":{"type":"TypeString","required":true},"metadata_endpoint":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_api_management_policy":{"schema":{"api_management_id":{"type":"TypeString","required":true,"forceNew":true},"xml_content":{"type":"TypeString","optional":true,"computed":true},"xml_link":{"type":"TypeString","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_api_management_policy_fragment":{"schema":{"api_management_id":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"format":{"type":"TypeString","optional":true,"default":"xml"},"name":{"type":"TypeString","required":true,"forceNew":true},"value":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_api_management_product":{"schema":{"api_management_name":{"type":"TypeString","required":true,"forceNew":true},"approval_required":{"type":"TypeBool","optional":true},"description":{"type":"TypeString","optional":true},"display_name":{"type":"TypeString","required":true},"product_id":{"type":"TypeString","required":true,"forceNew":true},"published":{"type":"TypeBool","required":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"subscription_required":{"type":"TypeBool","optional":true,"default":true},"subscriptions_limit":{"type":"TypeInt","optional":true},"terms":{"type":"TypeString","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_api_management_product_api":{"schema":{"api_management_name":{"type":"TypeString","required":true,"forceNew":true},"api_name":{"type":"TypeString","required":true,"forceNew":true},"product_id":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_api_management_product_group":{"schema":{"api_management_name":{"type":"TypeString","required":true,"forceNew":true},"group_name":{"type":"TypeString","required":true,"forceNew":true},"product_id":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_api_management_product_policy":{"schema":{"api_management_name":{"type":"TypeString","required":true,"forceNew":true},"product_id":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"xml_content":{"type":"TypeString","optional":true,"computed":true},"xml_link":{"type":"TypeString","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_api_management_product_tag":{"schema":{"api_management_name":{"type":"TypeString","required":true,"forceNew":true},"api_management_product_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_api_management_redis_cache":{"schema":{"api_management_id":{"type":"TypeString","required":true,"forceNew":true},"cache_location":{"type":"TypeString","optional":true,"default":"default"},"connection_string":{"type":"TypeString","required":true},"description":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"redis_cache_id":{"type":"TypeString","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_api_management_subscription":{"schema":{"allow_tracing":{"type":"TypeBool","optional":true,"default":true},"api_id":{"type":"TypeString","optional":true,"forceNew":true},"api_management_name":{"type":"TypeString","required":true,"forceNew":true},"display_name":{"type":"TypeString","required":true},"primary_key":{"type":"TypeString","optional":true,"computed":true},"product_id":{"type":"TypeString","optional":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"secondary_key":{"type":"TypeString","optional":true,"computed":true},"state":{"type":"TypeString","optional":true,"default":"submitted"},"subscription_id":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"user_id":{"type":"TypeString","optional":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_api_management_tag":{"schema":{"api_management_id":{"type":"TypeString","required":true,"forceNew":true},"display_name":{"type":"TypeString","optional":true,"computed":true},"name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_api_management_user":{"schema":{"api_management_name":{"type":"TypeString","required":true,"forceNew":true},"confirmation":{"type":"TypeString","optional":true,"forceNew":true},"email":{"type":"TypeString","required":true},"first_name":{"type":"TypeString","required":true},"last_name":{"type":"TypeString","required":true},"note":{"type":"TypeString","optional":true},"password":{"type":"TypeString","optional":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"state":{"type":"TypeString","optional":true,"computed":true},"user_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":45,"read":5,"delete":45,"update":45}},"azurerm_app_configuration":{"schema":{"encryption":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_client_id":{"type":"TypeString","optional":true},"key_vault_key_identifier":{"type":"TypeString","optional":true}}},"maxItems":1},"endpoint":{"type":"TypeString","computed":true},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"local_auth_enabled":{"type":"TypeBool","optional":true,"default":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"primary_read_key":{"type":"TypeList","computed":true,"elem":{"schema":{"connection_string":{"type":"TypeString","computed":true},"id":{"type":"TypeString","computed":true},"secret":{"type":"TypeString","computed":true}}}},"primary_write_key":{"type":"TypeList","computed":true,"elem":{"schema":{"connection_string":{"type":"TypeString","computed":true},"id":{"type":"TypeString","computed":true},"secret":{"type":"TypeString","computed":true}}}},"public_network_access":{"type":"TypeString","optional":true},"purge_protection_enabled":{"type":"TypeBool","optional":true,"default":false},"replica":{"type":"TypeSet","optional":true,"elem":{"schema":{"endpoint":{"type":"TypeString","computed":true},"id":{"type":"TypeString","computed":true},"location":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true}}},"minItems":1},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"secondary_read_key":{"type":"TypeList","computed":true,"elem":{"schema":{"connection_string":{"type":"TypeString","computed":true},"id":{"type":"TypeString","computed":true},"secret":{"type":"TypeString","computed":true}}}},"secondary_write_key":{"type":"TypeList","computed":true,"elem":{"schema":{"connection_string":{"type":"TypeString","computed":true},"id":{"type":"TypeString","computed":true},"secret":{"type":"TypeString","computed":true}}}},"sku":{"type":"TypeString","optional":true,"default":"free"},"soft_delete_retention_days":{"type":"TypeInt","optional":true,"default":7,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":60,"read":5,"delete":60,"update":60}},"azurerm_app_configuration_feature":{"schema":{"configuration_store_id":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"enabled":{"type":"TypeBool","optional":true},"etag":{"type":"TypeString","optional":true,"computed":true},"key":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"label":{"type":"TypeString","optional":true,"forceNew":true},"locked":{"type":"TypeBool","optional":true,"default":false},"name":{"type":"TypeString","required":true,"forceNew":true},"percentage_filter_value":{"type":"TypeFloat","optional":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"targeting_filter":{"type":"TypeList","optional":true,"elem":{"schema":{"default_rollout_percentage":{"type":"TypeInt","required":true},"groups":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"rollout_percentage":{"type":"TypeInt","required":true}}}},"users":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}}}}},"timewindow_filter":{"type":"TypeList","optional":true,"elem":{"schema":{"end":{"type":"TypeString","optional":true},"start":{"type":"TypeString","optional":true}}}}},"timeouts":{"create":45,"read":5,"delete":30,"update":30}},"azurerm_app_configuration_key":{"schema":{"configuration_store_id":{"type":"TypeString","required":true,"forceNew":true},"content_type":{"type":"TypeString","optional":true,"computed":true},"etag":{"type":"TypeString","optional":true,"computed":true},"key":{"type":"TypeString","required":true,"forceNew":true},"label":{"type":"TypeString","optional":true,"forceNew":true},"locked":{"type":"TypeBool","optional":true,"default":false},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"type":{"type":"TypeString","optional":true,"default":"kv"},"value":{"type":"TypeString","optional":true},"vault_key_reference":{"type":"TypeString","optional":true}},"timeouts":{"create":45,"read":5,"delete":30,"update":30}},"azurerm_app_service":{"schema":{"app_service_plan_id":{"type":"TypeString","required":true},"app_settings":{"type":"TypeMap","optional":true,"computed":true,"elem":{"type":"TypeString"}},"auth_settings":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"active_directory":{"type":"TypeList","optional":true,"elem":{"schema":{"allowed_audiences":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"client_id":{"type":"TypeString","required":true},"client_secret":{"type":"TypeString","optional":true}}},"maxItems":1},"additional_login_params":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"allowed_external_redirect_urls":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"default_provider":{"type":"TypeString","optional":true},"enabled":{"type":"TypeBool","required":true},"facebook":{"type":"TypeList","optional":true,"elem":{"schema":{"app_id":{"type":"TypeString","required":true},"app_secret":{"type":"TypeString","required":true},"oauth_scopes":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"google":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","required":true},"client_secret":{"type":"TypeString","required":true},"oauth_scopes":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"issuer":{"type":"TypeString","optional":true},"microsoft":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","required":true},"client_secret":{"type":"TypeString","required":true},"oauth_scopes":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"runtime_version":{"type":"TypeString","optional":true},"token_refresh_extension_hours":{"type":"TypeFloat","optional":true,"default":72},"token_store_enabled":{"type":"TypeBool","optional":true,"default":false},"twitter":{"type":"TypeList","optional":true,"elem":{"schema":{"consumer_key":{"type":"TypeString","required":true},"consumer_secret":{"type":"TypeString","required":true}}},"maxItems":1},"unauthenticated_client_action":{"type":"TypeString","optional":true}}},"maxItems":1},"backup":{"type":"TypeList","optional":true,"elem":{"schema":{"enabled":{"type":"TypeBool","optional":true,"default":true},"name":{"type":"TypeString","required":true},"schedule":{"type":"TypeList","required":true,"elem":{"schema":{"frequency_interval":{"type":"TypeInt","required":true},"frequency_unit":{"type":"TypeString","required":true},"keep_at_least_one_backup":{"type":"TypeBool","optional":true,"default":false},"retention_period_in_days":{"type":"TypeInt","optional":true,"default":30},"start_time":{"type":"TypeString","optional":true}}},"maxItems":1},"storage_account_url":{"type":"TypeString","required":true}}},"maxItems":1},"client_affinity_enabled":{"type":"TypeBool","optional":true,"default":false},"client_cert_enabled":{"type":"TypeBool","optional":true,"default":false},"client_cert_mode":{"type":"TypeString","optional":true,"computed":true},"connection_string":{"type":"TypeSet","optional":true,"computed":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"type":{"type":"TypeString","required":true},"value":{"type":"TypeString","required":true}}}},"custom_domain_verification_id":{"type":"TypeString","computed":true},"default_site_hostname":{"type":"TypeString","computed":true},"enabled":{"type":"TypeBool","optional":true,"default":true},"https_only":{"type":"TypeBool","optional":true,"default":false},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"key_vault_reference_identity_id":{"type":"TypeString","optional":true,"computed":true},"location":{"type":"TypeString","required":true,"forceNew":true},"logs":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"application_logs":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"azure_blob_storage":{"type":"TypeList","optional":true,"elem":{"schema":{"level":{"type":"TypeString","required":true},"retention_in_days":{"type":"TypeInt","required":true},"sas_url":{"type":"TypeString","required":true}}},"maxItems":1},"file_system_level":{"type":"TypeString","optional":true,"default":"Off"}}},"maxItems":1},"detailed_error_messages_enabled":{"type":"TypeBool","optional":true,"default":false},"failed_request_tracing_enabled":{"type":"TypeBool","optional":true,"default":false},"http_logs":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"azure_blob_storage":{"type":"TypeList","optional":true,"elem":{"schema":{"retention_in_days":{"type":"TypeInt","required":true},"sas_url":{"type":"TypeString","required":true}}},"maxItems":1},"file_system":{"type":"TypeList","optional":true,"elem":{"schema":{"retention_in_days":{"type":"TypeInt","required":true},"retention_in_mb":{"type":"TypeInt","required":true}}},"maxItems":1}}},"maxItems":1}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"outbound_ip_address_list":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"outbound_ip_addresses":{"type":"TypeString","computed":true},"possible_outbound_ip_address_list":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"possible_outbound_ip_addresses":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"site_config":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"acr_use_managed_identity_credentials":{"type":"TypeBool","optional":true,"default":false},"acr_user_managed_identity_client_id":{"type":"TypeString","optional":true},"always_on":{"type":"TypeBool","optional":true,"default":false},"app_command_line":{"type":"TypeString","optional":true},"auto_swap_slot_name":{"type":"TypeString","optional":true},"cors":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"allowed_origins":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}},"support_credentials":{"type":"TypeBool","optional":true,"default":false}}},"maxItems":1},"default_documents":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"dotnet_framework_version":{"type":"TypeString","optional":true,"default":"v4.0"},"ftps_state":{"type":"TypeString","optional":true,"computed":true},"health_check_path":{"type":"TypeString","optional":true},"http2_enabled":{"type":"TypeBool","optional":true,"default":false},"ip_restriction":{"type":"TypeList","configMode":"Auto","optional":true,"computed":true,"elem":{"schema":{"action":{"type":"TypeString","optional":true,"default":"Allow"},"headers":{"type":"TypeList","configMode":"Auto","optional":true,"computed":true,"elem":{"schema":{"x_azure_fdid":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":8},"x_fd_health_probe":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":1},"x_forwarded_for":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":8},"x_forwarded_host":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":8}}},"maxItems":1},"ip_address":{"type":"TypeString","optional":true},"name":{"type":"TypeString","optional":true,"computed":true},"priority":{"type":"TypeInt","optional":true,"default":65000},"service_tag":{"type":"TypeString","optional":true},"virtual_network_subnet_id":{"type":"TypeString","optional":true}}}},"java_container":{"type":"TypeString","optional":true},"java_container_version":{"type":"TypeString","optional":true},"java_version":{"type":"TypeString","optional":true},"linux_fx_version":{"type":"TypeString","optional":true,"computed":true},"local_mysql_enabled":{"type":"TypeBool","optional":true,"computed":true},"managed_pipeline_mode":{"type":"TypeString","optional":true,"computed":true},"min_tls_version":{"type":"TypeString","optional":true,"computed":true},"number_of_workers":{"type":"TypeInt","optional":true,"computed":true},"php_version":{"type":"TypeString","optional":true},"python_version":{"type":"TypeString","optional":true},"remote_debugging_enabled":{"type":"TypeBool","optional":true,"default":false},"remote_debugging_version":{"type":"TypeString","optional":true,"computed":true},"scm_ip_restriction":{"type":"TypeList","configMode":"Auto","optional":true,"computed":true,"elem":{"schema":{"action":{"type":"TypeString","optional":true,"default":"Allow"},"headers":{"type":"TypeList","configMode":"Auto","optional":true,"computed":true,"elem":{"schema":{"x_azure_fdid":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":8},"x_fd_health_probe":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":1},"x_forwarded_for":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":8},"x_forwarded_host":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":8}}},"maxItems":1},"ip_address":{"type":"TypeString","optional":true},"name":{"type":"TypeString","optional":true,"computed":true},"priority":{"type":"TypeInt","optional":true,"default":65000},"service_tag":{"type":"TypeString","optional":true},"virtual_network_subnet_id":{"type":"TypeString","optional":true}}}},"scm_type":{"type":"TypeString","optional":true,"computed":true},"scm_use_main_ip_restriction":{"type":"TypeBool","optional":true,"default":false},"use_32_bit_worker_process":{"type":"TypeBool","optional":true},"vnet_route_all_enabled":{"type":"TypeBool","optional":true,"computed":true},"websockets_enabled":{"type":"TypeBool","optional":true,"computed":true},"windows_fx_version":{"type":"TypeString","optional":true,"computed":true}}},"maxItems":1},"site_credential":{"type":"TypeList","computed":true,"elem":{"schema":{"password":{"type":"TypeString","computed":true},"username":{"type":"TypeString","computed":true}}}},"source_control":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"branch":{"type":"TypeString","optional":true,"computed":true},"manual_integration":{"type":"TypeBool","optional":true,"computed":true},"repo_url":{"type":"TypeString","optional":true,"computed":true},"rollback_enabled":{"type":"TypeBool","optional":true,"computed":true},"use_mercurial":{"type":"TypeBool","optional":true,"computed":true}}},"maxItems":1},"storage_account":{"type":"TypeSet","optional":true,"computed":true,"elem":{"schema":{"access_key":{"type":"TypeString","required":true},"account_name":{"type":"TypeString","required":true},"mount_path":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true},"share_name":{"type":"TypeString","required":true},"type":{"type":"TypeString","required":true}}}},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_app_service_active_slot":{"schema":{"app_service_name":{"type":"TypeString","required":true,"forceNew":true},"app_service_slot_name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_app_service_certificate":{"schema":{"app_service_plan_id":{"type":"TypeString","optional":true,"forceNew":true},"expiration_date":{"type":"TypeString","computed":true},"friendly_name":{"type":"TypeString","computed":true},"host_names":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"hosting_environment_profile_id":{"type":"TypeString","computed":true},"issue_date":{"type":"TypeString","computed":true},"issuer":{"type":"TypeString","computed":true},"key_vault_id":{"type":"TypeString","optional":true,"forceNew":true},"key_vault_secret_id":{"type":"TypeString","optional":true,"forceNew":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"password":{"type":"TypeString","optional":true,"forceNew":true},"pfx_blob":{"type":"TypeString","optional":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"subject_name":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"thumbprint":{"type":"TypeString","computed":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_app_service_certificate_binding":{"schema":{"app_service_name":{"type":"TypeString","computed":true},"certificate_id":{"type":"TypeString","required":true,"forceNew":true},"hostname":{"type":"TypeString","computed":true},"hostname_binding_id":{"type":"TypeString","required":true,"forceNew":true},"ssl_state":{"type":"TypeString","required":true,"forceNew":true},"thumbprint":{"type":"TypeString","computed":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_app_service_certificate_order":{"schema":{"app_service_certificate_not_renewable_reasons":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"auto_renew":{"type":"TypeBool","optional":true,"default":true},"certificates":{"type":"TypeList","computed":true,"elem":{"schema":{"certificate_name":{"type":"TypeString","computed":true},"key_vault_id":{"type":"TypeString","computed":true},"key_vault_secret_name":{"type":"TypeString","computed":true},"provisioning_state":{"type":"TypeString","computed":true}}}},"csr":{"type":"TypeString","optional":true,"computed":true},"distinguished_name":{"type":"TypeString","optional":true,"computed":true},"domain_verification_token":{"type":"TypeString","computed":true},"expiration_time":{"type":"TypeString","computed":true},"intermediate_thumbprint":{"type":"TypeString","computed":true},"is_private_key_external":{"type":"TypeBool","computed":true},"key_size":{"type":"TypeInt","optional":true,"default":2048},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"product_type":{"type":"TypeString","optional":true,"default":"Standard"},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"root_thumbprint":{"type":"TypeString","computed":true},"signed_certificate_thumbprint":{"type":"TypeString","computed":true},"status":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"validity_in_years":{"type":"TypeInt","optional":true,"default":1}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_app_service_connection":{"schema":{"app_service_id":{"type":"TypeString","required":true,"forceNew":true},"authentication":{"type":"TypeList","required":true,"elem":{"schema":{"certificate":{"type":"TypeString","optional":true},"client_id":{"type":"TypeString","optional":true},"name":{"type":"TypeString","optional":true},"principal_id":{"type":"TypeString","optional":true},"secret":{"type":"TypeString","optional":true},"subscription_id":{"type":"TypeString","optional":true},"type":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"client_type":{"type":"TypeString","optional":true,"default":"none"},"name":{"type":"TypeString","required":true,"forceNew":true},"secret_store":{"type":"TypeList","optional":true,"elem":{"schema":{"key_vault_id":{"type":"TypeString","required":true}}},"maxItems":1},"target_resource_id":{"type":"TypeString","required":true,"forceNew":true},"vnet_solution":{"type":"TypeString","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_app_service_custom_hostname_binding":{"schema":{"app_service_name":{"type":"TypeString","required":true,"forceNew":true},"hostname":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"ssl_state":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"thumbprint":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"virtual_ip":{"type":"TypeString","computed":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_app_service_environment_v3":{"schema":{"allow_new_private_endpoint_connections":{"type":"TypeBool","optional":true,"default":true},"cluster_setting":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"value":{"type":"TypeString","required":true}}}},"dedicated_host_count":{"type":"TypeInt","optional":true,"forceNew":true},"dns_suffix":{"type":"TypeString","computed":true},"external_inbound_ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"inbound_network_dependencies":{"type":"TypeList","computed":true,"elem":{"schema":{"description":{"type":"TypeString","computed":true},"ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"ports":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}}},"internal_inbound_ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"internal_load_balancing_mode":{"type":"TypeString","optional":true,"default":"None","forceNew":true},"ip_ssl_address_count":{"type":"TypeInt","computed":true},"linux_outbound_ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true,"forceNew":true},"pricing_tier":{"type":"TypeString","computed":true},"remote_debugging_enabled":{"type":"TypeBool","optional":true,"default":false},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"subnet_id":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"windows_outbound_ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"zone_redundant":{"type":"TypeBool","optional":true,"default":false,"forceNew":true}},"timeouts":{"create":360,"read":5,"delete":360,"update":360}},"azurerm_app_service_hybrid_connection":{"schema":{"app_service_name":{"type":"TypeString","required":true,"forceNew":true},"hostname":{"type":"TypeString","required":true},"namespace_name":{"type":"TypeString","computed":true},"port":{"type":"TypeInt","required":true},"relay_id":{"type":"TypeString","required":true,"forceNew":true},"relay_name":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"send_key_name":{"type":"TypeString","optional":true,"default":"RootManageSharedAccessKey"},"send_key_value":{"type":"TypeString","computed":true},"service_bus_namespace":{"type":"TypeString","computed":true},"service_bus_suffix":{"type":"TypeString","computed":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_app_service_managed_certificate":{"schema":{"canonical_name":{"type":"TypeString","computed":true},"custom_hostname_binding_id":{"type":"TypeString","required":true,"forceNew":true},"expiration_date":{"type":"TypeString","computed":true},"friendly_name":{"type":"TypeString","computed":true},"host_names":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"issue_date":{"type":"TypeString","computed":true},"issuer":{"type":"TypeString","computed":true},"subject_name":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"thumbprint":{"type":"TypeString","computed":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_app_service_plan":{"schema":{"app_service_environment_id":{"type":"TypeString","optional":true,"forceNew":true},"is_xenon":{"type":"TypeBool","optional":true},"kind":{"type":"TypeString","optional":true,"default":"Windows","forceNew":true},"location":{"type":"TypeString","required":true,"forceNew":true},"maximum_elastic_worker_count":{"type":"TypeInt","optional":true,"computed":true},"maximum_number_of_workers":{"type":"TypeInt","computed":true},"name":{"type":"TypeString","required":true,"forceNew":true},"per_site_scaling":{"type":"TypeBool","optional":true},"reserved":{"type":"TypeBool","optional":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"sku":{"type":"TypeList","required":true,"elem":{"schema":{"capacity":{"type":"TypeInt","optional":true,"computed":true},"size":{"type":"TypeString","required":true},"tier":{"type":"TypeString","required":true}}},"maxItems":1},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"zone_redundant":{"type":"TypeBool","optional":true,"forceNew":true}},"timeouts":{"create":60,"read":5,"delete":60,"update":60}},"azurerm_app_service_public_certificate":{"schema":{"app_service_name":{"type":"TypeString","required":true,"forceNew":true},"blob":{"type":"TypeString","required":true,"forceNew":true},"certificate_location":{"type":"TypeString","required":true,"forceNew":true},"certificate_name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"thumbprint":{"type":"TypeString","computed":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_app_service_slot":{"schema":{"app_service_name":{"type":"TypeString","required":true,"forceNew":true},"app_service_plan_id":{"type":"TypeString","required":true,"forceNew":true},"app_settings":{"type":"TypeMap","optional":true,"computed":true,"elem":{"type":"TypeString"}},"auth_settings":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"active_directory":{"type":"TypeList","optional":true,"elem":{"schema":{"allowed_audiences":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"client_id":{"type":"TypeString","required":true},"client_secret":{"type":"TypeString","optional":true}}},"maxItems":1},"additional_login_params":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"allowed_external_redirect_urls":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"default_provider":{"type":"TypeString","optional":true},"enabled":{"type":"TypeBool","required":true},"facebook":{"type":"TypeList","optional":true,"elem":{"schema":{"app_id":{"type":"TypeString","required":true},"app_secret":{"type":"TypeString","required":true},"oauth_scopes":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"google":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","required":true},"client_secret":{"type":"TypeString","required":true},"oauth_scopes":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"issuer":{"type":"TypeString","optional":true},"microsoft":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","required":true},"client_secret":{"type":"TypeString","required":true},"oauth_scopes":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"runtime_version":{"type":"TypeString","optional":true},"token_refresh_extension_hours":{"type":"TypeFloat","optional":true,"default":72},"token_store_enabled":{"type":"TypeBool","optional":true,"default":false},"twitter":{"type":"TypeList","optional":true,"elem":{"schema":{"consumer_key":{"type":"TypeString","required":true},"consumer_secret":{"type":"TypeString","required":true}}},"maxItems":1},"unauthenticated_client_action":{"type":"TypeString","optional":true}}},"maxItems":1},"client_affinity_enabled":{"type":"TypeBool","optional":true,"computed":true},"connection_string":{"type":"TypeSet","optional":true,"computed":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"type":{"type":"TypeString","required":true},"value":{"type":"TypeString","required":true}}}},"default_site_hostname":{"type":"TypeString","computed":true},"enabled":{"type":"TypeBool","optional":true,"default":true},"https_only":{"type":"TypeBool","optional":true,"default":false},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"key_vault_reference_identity_id":{"type":"TypeString","optional":true,"computed":true},"location":{"type":"TypeString","required":true,"forceNew":true},"logs":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"application_logs":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"azure_blob_storage":{"type":"TypeList","optional":true,"elem":{"schema":{"level":{"type":"TypeString","required":true},"retention_in_days":{"type":"TypeInt","required":true},"sas_url":{"type":"TypeString","required":true}}},"maxItems":1},"file_system_level":{"type":"TypeString","optional":true,"default":"Off"}}},"maxItems":1},"detailed_error_messages_enabled":{"type":"TypeBool","optional":true,"default":false},"failed_request_tracing_enabled":{"type":"TypeBool","optional":true,"default":false},"http_logs":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"azure_blob_storage":{"type":"TypeList","optional":true,"elem":{"schema":{"retention_in_days":{"type":"TypeInt","required":true},"sas_url":{"type":"TypeString","required":true}}},"maxItems":1},"file_system":{"type":"TypeList","optional":true,"elem":{"schema":{"retention_in_days":{"type":"TypeInt","required":true},"retention_in_mb":{"type":"TypeInt","required":true}}},"maxItems":1}}},"maxItems":1}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"site_config":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"acr_use_managed_identity_credentials":{"type":"TypeBool","optional":true,"default":false},"acr_user_managed_identity_client_id":{"type":"TypeString","optional":true},"always_on":{"type":"TypeBool","optional":true,"default":false},"app_command_line":{"type":"TypeString","optional":true},"auto_swap_slot_name":{"type":"TypeString","optional":true},"cors":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"allowed_origins":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}},"support_credentials":{"type":"TypeBool","optional":true,"default":false}}},"maxItems":1},"default_documents":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"dotnet_framework_version":{"type":"TypeString","optional":true,"default":"v4.0"},"ftps_state":{"type":"TypeString","optional":true,"computed":true},"health_check_path":{"type":"TypeString","optional":true},"http2_enabled":{"type":"TypeBool","optional":true,"default":false},"ip_restriction":{"type":"TypeList","configMode":"Auto","optional":true,"computed":true,"elem":{"schema":{"action":{"type":"TypeString","optional":true,"default":"Allow"},"headers":{"type":"TypeList","configMode":"Auto","optional":true,"computed":true,"elem":{"schema":{"x_azure_fdid":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":8},"x_fd_health_probe":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":1},"x_forwarded_for":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":8},"x_forwarded_host":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":8}}},"maxItems":1},"ip_address":{"type":"TypeString","optional":true},"name":{"type":"TypeString","optional":true,"computed":true},"priority":{"type":"TypeInt","optional":true,"default":65000},"service_tag":{"type":"TypeString","optional":true},"virtual_network_subnet_id":{"type":"TypeString","optional":true}}}},"java_container":{"type":"TypeString","optional":true},"java_container_version":{"type":"TypeString","optional":true},"java_version":{"type":"TypeString","optional":true},"linux_fx_version":{"type":"TypeString","optional":true,"computed":true},"local_mysql_enabled":{"type":"TypeBool","optional":true,"computed":true},"managed_pipeline_mode":{"type":"TypeString","optional":true,"computed":true},"min_tls_version":{"type":"TypeString","optional":true,"computed":true},"number_of_workers":{"type":"TypeInt","optional":true,"computed":true},"php_version":{"type":"TypeString","optional":true},"python_version":{"type":"TypeString","optional":true},"remote_debugging_enabled":{"type":"TypeBool","optional":true,"default":false},"remote_debugging_version":{"type":"TypeString","optional":true,"computed":true},"scm_ip_restriction":{"type":"TypeList","configMode":"Auto","optional":true,"computed":true,"elem":{"schema":{"action":{"type":"TypeString","optional":true,"default":"Allow"},"headers":{"type":"TypeList","configMode":"Auto","optional":true,"computed":true,"elem":{"schema":{"x_azure_fdid":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":8},"x_fd_health_probe":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":1},"x_forwarded_for":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":8},"x_forwarded_host":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":8}}},"maxItems":1},"ip_address":{"type":"TypeString","optional":true},"name":{"type":"TypeString","optional":true,"computed":true},"priority":{"type":"TypeInt","optional":true,"default":65000},"service_tag":{"type":"TypeString","optional":true},"virtual_network_subnet_id":{"type":"TypeString","optional":true}}}},"scm_type":{"type":"TypeString","optional":true,"computed":true},"scm_use_main_ip_restriction":{"type":"TypeBool","optional":true,"default":false},"use_32_bit_worker_process":{"type":"TypeBool","optional":true},"vnet_route_all_enabled":{"type":"TypeBool","optional":true,"computed":true},"websockets_enabled":{"type":"TypeBool","optional":true,"computed":true},"windows_fx_version":{"type":"TypeString","optional":true,"computed":true}}},"maxItems":1},"site_credential":{"type":"TypeList","computed":true,"elem":{"schema":{"password":{"type":"TypeString","computed":true},"username":{"type":"TypeString","computed":true}}}},"storage_account":{"type":"TypeSet","optional":true,"computed":true,"elem":{"schema":{"access_key":{"type":"TypeString","required":true},"account_name":{"type":"TypeString","required":true},"mount_path":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true},"share_name":{"type":"TypeString","required":true},"type":{"type":"TypeString","required":true}}}},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_app_service_slot_custom_hostname_binding":{"schema":{"app_service_slot_id":{"type":"TypeString","required":true,"forceNew":true},"hostname":{"type":"TypeString","required":true,"forceNew":true},"ssl_state":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"thumbprint":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"virtual_ip":{"type":"TypeString","computed":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_app_service_slot_virtual_network_swift_connection":{"schema":{"app_service_id":{"type":"TypeString","required":true,"forceNew":true},"slot_name":{"type":"TypeString","required":true,"forceNew":true},"subnet_id":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_app_service_source_control":{"schema":{"app_id":{"type":"TypeString","required":true,"description":"The ID of the Windows or Linux Web App.","forceNew":true},"branch":{"type":"TypeString","optional":true,"description":"The branch name to use for deployments.","computed":true,"forceNew":true},"github_action_configuration":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"code_configuration":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"runtime_stack":{"type":"TypeString","required":true,"description":"The value to use for the Runtime Stack in the workflow file content for code base apps.","forceNew":true},"runtime_version":{"type":"TypeString","required":true,"description":"The value to use for the Runtime Version in the workflow file content for code base apps.","forceNew":true}}},"maxItems":1},"container_configuration":{"type":"TypeList","optional":true,"elem":{"schema":{"image_name":{"type":"TypeString","required":true,"description":"The image name for the build.","forceNew":true},"registry_password":{"type":"TypeString","optional":true,"description":"The password used to upload the image to the container registry.","forceNew":true},"registry_url":{"type":"TypeString","required":true,"description":"The server URL for the container registry where the build will be hosted.","forceNew":true},"registry_username":{"type":"TypeString","optional":true,"description":"The username used to upload the image to the container registry.","forceNew":true}}},"maxItems":1},"generate_workflow_file":{"type":"TypeBool","optional":true,"default":true,"description":"Should the service generate the GitHub Action Workflow file. Defaults to `true`","forceNew":true},"linux_action":{"type":"TypeBool","description":"Denotes this action uses a Linux base image.","computed":true}}},"maxItems":1},"repo_url":{"type":"TypeString","optional":true,"description":"The URL for the repository.","computed":true,"forceNew":true},"rollback_enabled":{"type":"TypeBool","optional":true,"default":false,"description":"Should the Deployment Rollback be enabled? Defaults to `false`.","forceNew":true},"scm_type":{"type":"TypeString","description":"The SCM Type in use. This value is decoded by the service from the repository information supplied.","computed":true},"use_local_git":{"type":"TypeBool","optional":true,"default":false,"description":"Should the App use local Git configuration.","forceNew":true},"use_manual_integration":{"type":"TypeBool","optional":true,"default":false,"description":"Should code be deployed manually. Set to `false` to enable continuous integration, such as webhooks into online repos such as GitHub. Defaults to `false`.","forceNew":true},"use_mercurial":{"type":"TypeBool","optional":true,"default":false,"description":"The repository specified is Mercurial. Defaults to `false`.","forceNew":true},"uses_github_action":{"type":"TypeBool","description":"Indicates if the Slot uses a GitHub action for deployment. This value is decoded by the service from the repository information supplied.","computed":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_app_service_source_control_slot":{"schema":{"branch":{"type":"TypeString","optional":true,"description":"The URL for the repository","computed":true,"forceNew":true},"github_action_configuration":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"code_configuration":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"runtime_stack":{"type":"TypeString","required":true,"description":"The value to use for the Runtime Stack in the workflow file content for code base apps.","forceNew":true},"runtime_version":{"type":"TypeString","required":true,"description":"The value to use for the Runtime Version in the workflow file content for code base apps.","forceNew":true}}},"maxItems":1},"container_configuration":{"type":"TypeList","optional":true,"elem":{"schema":{"image_name":{"type":"TypeString","required":true,"description":"The image name for the build.","forceNew":true},"registry_password":{"type":"TypeString","optional":true,"description":"The password used to upload the image to the container registry.","forceNew":true},"registry_url":{"type":"TypeString","required":true,"description":"The server URL for the container registry where the build will be hosted.","forceNew":true},"registry_username":{"type":"TypeString","optional":true,"description":"The username used to upload the image to the container registry.","forceNew":true}}},"maxItems":1},"generate_workflow_file":{"type":"TypeBool","optional":true,"default":true,"description":"Should the service generate the GitHub Action Workflow file. Defaults to `true`","forceNew":true},"linux_action":{"type":"TypeBool","description":"Denotes this action uses a Linux base image.","computed":true}}},"maxItems":1},"repo_url":{"type":"TypeString","optional":true,"description":"The branch name to use for deployments.","computed":true,"forceNew":true},"rollback_enabled":{"type":"TypeBool","optional":true,"default":false,"description":"Should the Deployment Rollback be enabled? Defaults to `false`","forceNew":true},"scm_type":{"type":"TypeString","description":"The SCM Type in use. This value is decoded by the service from the repository information supplied.","computed":true},"slot_id":{"type":"TypeString","required":true,"description":"The ID of the Linux or Windows Web App Slot.","forceNew":true},"use_local_git":{"type":"TypeBool","optional":true,"default":false,"description":"Should the Slot use local Git configuration.","forceNew":true},"use_manual_integration":{"type":"TypeBool","optional":true,"default":false,"description":"Should code be deployed manually. Set to `true` to disable continuous integration, such as webhooks into online repos such as GitHub. Defaults to `false`","forceNew":true},"use_mercurial":{"type":"TypeBool","optional":true,"default":false,"description":"The repository specified is Mercurial. Defaults to `false`.","forceNew":true},"uses_github_action":{"type":"TypeBool","description":"Indicates if the Slot uses a GitHub action for deployment. This value is decoded by the service from the repository information supplied.","computed":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_app_service_source_control_token":{"schema":{"token":{"type":"TypeString","required":true},"token_secret":{"type":"TypeString","optional":true},"type":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_app_service_virtual_network_swift_connection":{"schema":{"app_service_id":{"type":"TypeString","required":true,"forceNew":true},"subnet_id":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_application_gateway":{"schema":{"authentication_certificate":{"type":"TypeList","optional":true,"elem":{"schema":{"data":{"type":"TypeString","required":true},"id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true}}}},"autoscale_configuration":{"type":"TypeList","optional":true,"elem":{"schema":{"max_capacity":{"type":"TypeInt","optional":true},"min_capacity":{"type":"TypeInt","required":true}}},"maxItems":1},"backend_address_pool":{"type":"TypeSet","required":true,"elem":{"schema":{"fqdns":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"id":{"type":"TypeString","computed":true},"ip_addresses":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true}}}},"backend_http_settings":{"type":"TypeSet","required":true,"elem":{"schema":{"affinity_cookie_name":{"type":"TypeString","optional":true},"authentication_certificate":{"type":"TypeList","optional":true,"elem":{"schema":{"id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true}}}},"connection_draining":{"type":"TypeList","optional":true,"elem":{"schema":{"drain_timeout_sec":{"type":"TypeInt","required":true},"enabled":{"type":"TypeBool","required":true}}},"maxItems":1},"cookie_based_affinity":{"type":"TypeString","required":true},"host_name":{"type":"TypeString","optional":true},"id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"path":{"type":"TypeString","optional":true},"pick_host_name_from_backend_address":{"type":"TypeBool","optional":true,"default":false},"port":{"type":"TypeInt","required":true},"probe_id":{"type":"TypeString","computed":true},"probe_name":{"type":"TypeString","optional":true},"protocol":{"type":"TypeString","required":true},"request_timeout":{"type":"TypeInt","optional":true,"default":30},"trusted_root_certificate_names":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}}}},"minItems":1},"custom_error_configuration":{"type":"TypeList","optional":true,"elem":{"schema":{"custom_error_page_url":{"type":"TypeString","required":true},"id":{"type":"TypeString","computed":true},"status_code":{"type":"TypeString","required":true}}}},"enable_http2":{"type":"TypeBool","optional":true},"fips_enabled":{"type":"TypeBool","optional":true},"firewall_policy_id":{"type":"TypeString","optional":true},"force_firewall_policy_association":{"type":"TypeBool","optional":true},"frontend_ip_configuration":{"type":"TypeList","required":true,"elem":{"schema":{"id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"private_ip_address":{"type":"TypeString","optional":true,"computed":true},"private_ip_address_allocation":{"type":"TypeString","optional":true,"default":"Dynamic"},"private_link_configuration_id":{"type":"TypeString","computed":true},"private_link_configuration_name":{"type":"TypeString","optional":true},"public_ip_address_id":{"type":"TypeString","optional":true},"subnet_id":{"type":"TypeString","optional":true}}},"minItems":1},"frontend_port":{"type":"TypeSet","required":true,"elem":{"schema":{"id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"port":{"type":"TypeInt","required":true}}}},"gateway_ip_configuration":{"type":"TypeList","required":true,"elem":{"schema":{"id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"subnet_id":{"type":"TypeString","required":true}}},"maxItems":2},"global":{"type":"TypeList","optional":true,"elem":{"schema":{"request_buffering_enabled":{"type":"TypeBool","required":true},"response_buffering_enabled":{"type":"TypeBool","required":true}}},"maxItems":1},"http_listener":{"type":"TypeSet","required":true,"elem":{"schema":{"custom_error_configuration":{"type":"TypeList","optional":true,"elem":{"schema":{"custom_error_page_url":{"type":"TypeString","required":true},"id":{"type":"TypeString","computed":true},"status_code":{"type":"TypeString","required":true}}}},"firewall_policy_id":{"type":"TypeString","optional":true},"frontend_ip_configuration_id":{"type":"TypeString","computed":true},"frontend_ip_configuration_name":{"type":"TypeString","required":true},"frontend_port_id":{"type":"TypeString","computed":true},"frontend_port_name":{"type":"TypeString","required":true},"host_name":{"type":"TypeString","optional":true},"host_names":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"protocol":{"type":"TypeString","required":true},"require_sni":{"type":"TypeBool","optional":true},"ssl_certificate_id":{"type":"TypeString","computed":true},"ssl_certificate_name":{"type":"TypeString","optional":true},"ssl_profile_id":{"type":"TypeString","computed":true},"ssl_profile_name":{"type":"TypeString","optional":true}}}},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"private_endpoint_connection":{"type":"TypeSet","computed":true,"elem":{"schema":{"id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true}}}},"private_link_configuration":{"type":"TypeSet","optional":true,"elem":{"schema":{"id":{"type":"TypeString","computed":true},"ip_configuration":{"type":"TypeList","required":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"primary":{"type":"TypeBool","required":true},"private_ip_address":{"type":"TypeString","optional":true,"computed":true},"private_ip_address_allocation":{"type":"TypeString","required":true},"subnet_id":{"type":"TypeString","required":true}}},"minItems":1},"name":{"type":"TypeString","required":true}}}},"probe":{"type":"TypeSet","optional":true,"elem":{"schema":{"host":{"type":"TypeString","optional":true},"id":{"type":"TypeString","computed":true},"interval":{"type":"TypeInt","required":true},"match":{"type":"TypeList","optional":true,"elem":{"schema":{"body":{"type":"TypeString","optional":true},"status_code":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"minimum_servers":{"type":"TypeInt","optional":true,"default":0},"name":{"type":"TypeString","required":true},"path":{"type":"TypeString","required":true},"pick_host_name_from_backend_http_settings":{"type":"TypeBool","optional":true,"default":false},"port":{"type":"TypeInt","optional":true},"protocol":{"type":"TypeString","required":true},"timeout":{"type":"TypeInt","required":true},"unhealthy_threshold":{"type":"TypeInt","required":true}}}},"redirect_configuration":{"type":"TypeSet","optional":true,"elem":{"schema":{"id":{"type":"TypeString","computed":true},"include_path":{"type":"TypeBool","optional":true,"default":false},"include_query_string":{"type":"TypeBool","optional":true,"default":false},"name":{"type":"TypeString","required":true},"redirect_type":{"type":"TypeString","required":true},"target_listener_id":{"type":"TypeString","computed":true},"target_listener_name":{"type":"TypeString","optional":true},"target_url":{"type":"TypeString","optional":true}}}},"request_routing_rule":{"type":"TypeSet","required":true,"elem":{"schema":{"backend_address_pool_id":{"type":"TypeString","computed":true},"backend_address_pool_name":{"type":"TypeString","optional":true},"backend_http_settings_id":{"type":"TypeString","computed":true},"backend_http_settings_name":{"type":"TypeString","optional":true},"http_listener_id":{"type":"TypeString","computed":true},"http_listener_name":{"type":"TypeString","required":true},"id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"priority":{"type":"TypeInt","optional":true},"redirect_configuration_id":{"type":"TypeString","computed":true},"redirect_configuration_name":{"type":"TypeString","optional":true},"rewrite_rule_set_id":{"type":"TypeString","computed":true},"rewrite_rule_set_name":{"type":"TypeString","optional":true},"rule_type":{"type":"TypeString","required":true},"url_path_map_id":{"type":"TypeString","computed":true},"url_path_map_name":{"type":"TypeString","optional":true}}},"minItems":1},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"rewrite_rule_set":{"type":"TypeList","optional":true,"elem":{"schema":{"id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"rewrite_rule":{"type":"TypeList","optional":true,"elem":{"schema":{"condition":{"type":"TypeList","optional":true,"elem":{"schema":{"ignore_case":{"type":"TypeBool","optional":true,"default":false},"negate":{"type":"TypeBool","optional":true,"default":false},"pattern":{"type":"TypeString","required":true},"variable":{"type":"TypeString","required":true}}}},"name":{"type":"TypeString","required":true},"request_header_configuration":{"type":"TypeList","optional":true,"elem":{"schema":{"header_name":{"type":"TypeString","required":true},"header_value":{"type":"TypeString","required":true}}}},"response_header_configuration":{"type":"TypeList","optional":true,"elem":{"schema":{"header_name":{"type":"TypeString","required":true},"header_value":{"type":"TypeString","required":true}}}},"rule_sequence":{"type":"TypeInt","required":true},"url":{"type":"TypeList","optional":true,"elem":{"schema":{"components":{"type":"TypeString","optional":true},"path":{"type":"TypeString","optional":true},"query_string":{"type":"TypeString","optional":true},"reroute":{"type":"TypeBool","optional":true,"default":false}}},"maxItems":1}}}}}}},"sku":{"type":"TypeList","required":true,"elem":{"schema":{"capacity":{"type":"TypeInt","optional":true},"name":{"type":"TypeString","required":true},"tier":{"type":"TypeString","required":true}}},"maxItems":1},"ssl_certificate":{"type":"TypeSet","optional":true,"elem":{"schema":{"data":{"type":"TypeString","optional":true},"id":{"type":"TypeString","computed":true},"key_vault_secret_id":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true},"password":{"type":"TypeString","optional":true},"public_cert_data":{"type":"TypeString","computed":true}}}},"ssl_policy":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"cipher_suites":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"disabled_protocols":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"min_protocol_version":{"type":"TypeString","optional":true},"policy_name":{"type":"TypeString","optional":true},"policy_type":{"type":"TypeString","optional":true}}},"maxItems":1},"ssl_profile":{"type":"TypeList","optional":true,"elem":{"schema":{"id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"ssl_policy":{"type":"TypeList","optional":true,"elem":{"schema":{"cipher_suites":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"disabled_protocols":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"min_protocol_version":{"type":"TypeString","optional":true},"policy_name":{"type":"TypeString","optional":true},"policy_type":{"type":"TypeString","optional":true}}},"maxItems":1},"trusted_client_certificate_names":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"verify_client_cert_issuer_dn":{"type":"TypeBool","optional":true,"default":false},"verify_client_certificate_revocation":{"type":"TypeString","optional":true}}}},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"trusted_client_certificate":{"type":"TypeList","optional":true,"elem":{"schema":{"data":{"type":"TypeString","required":true},"id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true}}}},"trusted_root_certificate":{"type":"TypeList","optional":true,"elem":{"schema":{"data":{"type":"TypeString","optional":true},"id":{"type":"TypeString","computed":true},"key_vault_secret_id":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true}}}},"url_path_map":{"type":"TypeList","optional":true,"elem":{"schema":{"default_backend_address_pool_id":{"type":"TypeString","computed":true},"default_backend_address_pool_name":{"type":"TypeString","optional":true},"default_backend_http_settings_id":{"type":"TypeString","computed":true},"default_backend_http_settings_name":{"type":"TypeString","optional":true},"default_redirect_configuration_id":{"type":"TypeString","computed":true},"default_redirect_configuration_name":{"type":"TypeString","optional":true},"default_rewrite_rule_set_id":{"type":"TypeString","computed":true},"default_rewrite_rule_set_name":{"type":"TypeString","optional":true},"id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"path_rule":{"type":"TypeList","required":true,"elem":{"schema":{"backend_address_pool_id":{"type":"TypeString","computed":true},"backend_address_pool_name":{"type":"TypeString","optional":true},"backend_http_settings_id":{"type":"TypeString","computed":true},"backend_http_settings_name":{"type":"TypeString","optional":true},"firewall_policy_id":{"type":"TypeString","optional":true},"id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"paths":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}},"redirect_configuration_id":{"type":"TypeString","computed":true},"redirect_configuration_name":{"type":"TypeString","optional":true},"rewrite_rule_set_id":{"type":"TypeString","computed":true},"rewrite_rule_set_name":{"type":"TypeString","optional":true}}}}}}},"waf_configuration":{"type":"TypeList","optional":true,"elem":{"schema":{"disabled_rule_group":{"type":"TypeList","optional":true,"elem":{"schema":{"rule_group_name":{"type":"TypeString","required":true},"rules":{"type":"TypeList","optional":true,"elem":{"type":"TypeInt"}}}}},"enabled":{"type":"TypeBool","required":true},"exclusion":{"type":"TypeList","optional":true,"elem":{"schema":{"match_variable":{"type":"TypeString","required":true},"selector":{"type":"TypeString","optional":true},"selector_match_operator":{"type":"TypeString","optional":true}}}},"file_upload_limit_mb":{"type":"TypeInt","optional":true,"default":100},"firewall_mode":{"type":"TypeString","required":true},"max_request_body_size_kb":{"type":"TypeInt","optional":true,"default":128},"request_body_check":{"type":"TypeBool","optional":true,"default":true},"rule_set_type":{"type":"TypeString","optional":true,"default":"OWASP"},"rule_set_version":{"type":"TypeString","required":true}}},"maxItems":1},"zones":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":90,"read":5,"delete":90,"update":90}},"azurerm_application_insights":{"schema":{"app_id":{"type":"TypeString","computed":true},"application_type":{"type":"TypeString","required":true,"forceNew":true},"connection_string":{"type":"TypeString","computed":true},"daily_data_cap_in_gb":{"type":"TypeFloat","optional":true,"default":100},"daily_data_cap_notifications_disabled":{"type":"TypeBool","optional":true},"disable_ip_masking":{"type":"TypeBool","optional":true,"default":false},"force_customer_storage_for_profiler":{"type":"TypeBool","optional":true,"default":false},"instrumentation_key":{"type":"TypeString","computed":true},"internet_ingestion_enabled":{"type":"TypeBool","optional":true,"default":true},"internet_query_enabled":{"type":"TypeBool","optional":true,"default":true},"local_authentication_disabled":{"type":"TypeBool","optional":true,"default":false},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"retention_in_days":{"type":"TypeInt","optional":true,"default":90},"sampling_percentage":{"type":"TypeFloat","optional":true,"default":100},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"workspace_id":{"type":"TypeString","optional":true}},"timeouts":{"create":60,"read":5,"delete":30,"update":30}},"azurerm_application_insights_analytics_item":{"schema":{"application_insights_id":{"type":"TypeString","required":true,"forceNew":true},"content":{"type":"TypeString","required":true},"function_alias":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"scope":{"type":"TypeString","required":true,"forceNew":true},"time_created":{"type":"TypeString","computed":true},"time_modified":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true,"forceNew":true},"version":{"type":"TypeString","computed":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_application_insights_api_key":{"schema":{"api_key":{"type":"TypeString","computed":true},"application_insights_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"read_permissions":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"write_permissions":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_application_insights_smart_detection_rule":{"schema":{"additional_email_recipients":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"application_insights_id":{"type":"TypeString","required":true,"forceNew":true},"enabled":{"type":"TypeBool","optional":true,"default":true},"name":{"type":"TypeString","required":true,"forceNew":true},"send_emails_to_subscription_owners":{"type":"TypeBool","optional":true,"default":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_application_insights_standard_web_test":{"schema":{"application_insights_id":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"enabled":{"type":"TypeBool","optional":true},"frequency":{"type":"TypeInt","optional":true,"default":300},"geo_locations":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"minItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"request":{"type":"TypeList","required":true,"elem":{"schema":{"body":{"type":"TypeString","optional":true},"follow_redirects_enabled":{"type":"TypeBool","optional":true,"default":true},"header":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"value":{"type":"TypeString","required":true}}}},"http_verb":{"type":"TypeString","optional":true,"default":"GET"},"parse_dependent_requests_enabled":{"type":"TypeBool","optional":true,"default":true},"url":{"type":"TypeString","required":true}}},"maxItems":1},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"retry_enabled":{"type":"TypeBool","optional":true},"synthetic_monitor_id":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"timeout":{"type":"TypeInt","optional":true,"default":30},"validation_rules":{"type":"TypeList","optional":true,"elem":{"schema":{"content":{"type":"TypeList","optional":true,"elem":{"schema":{"content_match":{"type":"TypeString","required":true},"ignore_case":{"type":"TypeBool","optional":true,"default":false},"pass_if_text_found":{"type":"TypeBool","optional":true,"default":false}}},"maxItems":1},"expected_status_code":{"type":"TypeInt","optional":true,"default":200},"ssl_cert_remaining_lifetime":{"type":"TypeInt","optional":true},"ssl_check_enabled":{"type":"TypeBool","optional":true,"default":false}}},"maxItems":1}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_application_insights_web_test":{"schema":{"application_insights_id":{"type":"TypeString","required":true,"forceNew":true},"configuration":{"type":"TypeString","required":true},"description":{"type":"TypeString","optional":true},"enabled":{"type":"TypeBool","optional":true},"frequency":{"type":"TypeInt","optional":true,"default":300},"geo_locations":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"minItems":1},"kind":{"type":"TypeString","required":true,"forceNew":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"retry_enabled":{"type":"TypeBool","optional":true},"synthetic_monitor_id":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"timeout":{"type":"TypeInt","optional":true,"default":30}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_application_insights_workbook":{"schema":{"category":{"type":"TypeString","optional":true,"default":"workbook"},"data_json":{"type":"TypeString","required":true},"description":{"type":"TypeString","optional":true},"display_name":{"type":"TypeString","required":true},"identity":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"source_id":{"type":"TypeString","optional":true,"default":"azure monitor"},"storage_container_id":{"type":"TypeString","optional":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_application_insights_workbook_template":{"schema":{"author":{"type":"TypeString","optional":true},"galleries":{"type":"TypeList","required":true,"elem":{"schema":{"category":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true},"order":{"type":"TypeInt","optional":true,"default":0},"resource_type":{"type":"TypeString","optional":true,"default":"Azure Monitor"},"type":{"type":"TypeString","optional":true,"default":"workbook"}}},"minItems":1},"localized":{"type":"TypeString","optional":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"priority":{"type":"TypeInt","optional":true,"default":0},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"template_data":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_application_load_balancer":{"schema":{"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"primary_configuration_endpoint":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_application_load_balancer_frontend":{"schema":{"application_load_balancer_id":{"type":"TypeString","required":true,"forceNew":true},"fully_qualified_domain_name":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_application_load_balancer_subnet_association":{"schema":{"application_load_balancer_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"subnet_id":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_application_security_group":{"schema":{"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_arc_kubernetes_cluster":{"schema":{"agent_public_key_certificate":{"type":"TypeString","required":true,"forceNew":true},"agent_version":{"type":"TypeString","computed":true},"distribution":{"type":"TypeString","computed":true},"identity":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"infrastructure":{"type":"TypeString","computed":true},"kubernetes_version":{"type":"TypeString","computed":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"offering":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"total_core_count":{"type":"TypeInt","computed":true},"total_node_count":{"type":"TypeInt","computed":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_arc_kubernetes_cluster_extension":{"schema":{"cluster_id":{"type":"TypeString","required":true,"forceNew":true},"configuration_protected_settings":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"configuration_settings":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"current_version":{"type":"TypeString","computed":true},"extension_type":{"type":"TypeString","required":true,"forceNew":true},"identity":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"release_namespace":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"release_train":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"target_namespace":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"version":{"type":"TypeString","optional":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_arc_kubernetes_flux_configuration":{"schema":{"blob_storage":{"type":"TypeList","optional":true,"elem":{"schema":{"account_key":{"type":"TypeString","optional":true},"container_id":{"type":"TypeString","required":true},"local_auth_reference":{"type":"TypeString","optional":true},"sas_token":{"type":"TypeString","optional":true},"service_principal":{"type":"TypeList","optional":true,"elem":{"schema":{"client_certificate_base64":{"type":"TypeString","optional":true},"client_certificate_password":{"type":"TypeString","optional":true},"client_certificate_send_chain":{"type":"TypeBool","optional":true,"default":false},"client_id":{"type":"TypeString","required":true},"client_secret":{"type":"TypeString","optional":true},"tenant_id":{"type":"TypeString","required":true}}},"maxItems":1},"sync_interval_in_seconds":{"type":"TypeInt","optional":true,"default":600},"timeout_in_seconds":{"type":"TypeInt","optional":true,"default":600}}},"maxItems":1},"bucket":{"type":"TypeList","optional":true,"elem":{"schema":{"access_key":{"type":"TypeString","optional":true},"bucket_name":{"type":"TypeString","required":true},"local_auth_reference":{"type":"TypeString","optional":true},"secret_key_base64":{"type":"TypeString","optional":true},"sync_interval_in_seconds":{"type":"TypeInt","optional":true,"default":600},"timeout_in_seconds":{"type":"TypeInt","optional":true,"default":600},"tls_enabled":{"type":"TypeBool","optional":true,"default":true},"url":{"type":"TypeString","required":true}}},"maxItems":1},"cluster_id":{"type":"TypeString","required":true,"forceNew":true},"continuous_reconciliation_enabled":{"type":"TypeBool","optional":true,"default":true},"git_repository":{"type":"TypeList","optional":true,"elem":{"schema":{"https_ca_cert_base64":{"type":"TypeString","optional":true},"https_key_base64":{"type":"TypeString","optional":true},"https_user":{"type":"TypeString","optional":true},"local_auth_reference":{"type":"TypeString","optional":true},"reference_type":{"type":"TypeString","required":true},"reference_value":{"type":"TypeString","required":true},"ssh_known_hosts_base64":{"type":"TypeString","optional":true},"ssh_private_key_base64":{"type":"TypeString","optional":true},"sync_interval_in_seconds":{"type":"TypeInt","optional":true,"default":600},"timeout_in_seconds":{"type":"TypeInt","optional":true,"default":600},"url":{"type":"TypeString","required":true}}},"maxItems":1},"kustomizations":{"type":"TypeSet","required":true,"elem":{"schema":{"depends_on":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"garbage_collection_enabled":{"type":"TypeBool","optional":true,"default":false},"name":{"type":"TypeString","required":true},"path":{"type":"TypeString","optional":true},"recreating_enabled":{"type":"TypeBool","optional":true,"default":false},"retry_interval_in_seconds":{"type":"TypeInt","optional":true,"default":600},"sync_interval_in_seconds":{"type":"TypeInt","optional":true,"default":600},"timeout_in_seconds":{"type":"TypeInt","optional":true,"default":600}}},"minItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"namespace":{"type":"TypeString","required":true,"forceNew":true},"scope":{"type":"TypeString","optional":true,"default":"namespace","forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_arc_machine":{"schema":{"kind":{"type":"TypeString","required":true,"forceNew":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_arc_machine_automanage_configuration_assignment":{"schema":{"arc_machine_id":{"type":"TypeString","required":true,"forceNew":true},"configuration_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_arc_machine_extension":{"schema":{"arc_machine_id":{"type":"TypeString","required":true,"forceNew":true},"automatic_upgrade_enabled":{"type":"TypeBool","optional":true,"default":true},"force_update_tag":{"type":"TypeString","optional":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"protected_settings":{"type":"TypeString","optional":true},"publisher":{"type":"TypeString","required":true,"forceNew":true},"settings":{"type":"TypeString","optional":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"type":{"type":"TypeString","required":true,"forceNew":true},"type_handler_version":{"type":"TypeString","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_arc_private_link_scope":{"schema":{"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"public_network_access_enabled":{"type":"TypeBool","optional":true,"default":false},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_arc_resource_bridge_appliance":{"schema":{"distro":{"type":"TypeString","required":true},"identity":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"infrastructure_provider":{"type":"TypeString","required":true,"forceNew":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"public_key_base64":{"type":"TypeString","optional":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":60,"read":5,"delete":30,"update":30}},"azurerm_attestation_provider":{"schema":{"attestation_uri":{"type":"TypeString","computed":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"open_enclave_policy_base64":{"type":"TypeString","optional":true},"policy_signing_certificate_data":{"type":"TypeString","optional":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"sev_snp_policy_base64":{"type":"TypeString","optional":true},"sgx_enclave_policy_base64":{"type":"TypeString","optional":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"tpm_policy_base64":{"type":"TypeString","optional":true},"trust_model":{"type":"TypeString","computed":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_automanage_configuration":{"schema":{"antimalware":{"type":"TypeList","optional":true,"elem":{"schema":{"exclusions":{"type":"TypeList","optional":true,"elem":{"schema":{"extensions":{"type":"TypeString","optional":true},"paths":{"type":"TypeString","optional":true},"processes":{"type":"TypeString","optional":true}}},"maxItems":1},"real_time_protection_enabled":{"type":"TypeBool","optional":true,"default":false},"scheduled_scan_day":{"type":"TypeInt","optional":true,"default":8},"scheduled_scan_enabled":{"type":"TypeBool","optional":true,"default":false},"scheduled_scan_time_in_minutes":{"type":"TypeInt","optional":true,"default":0},"scheduled_scan_type":{"type":"TypeString","optional":true,"default":"Quick"}}},"maxItems":1},"automation_account_enabled":{"type":"TypeBool","optional":true,"default":false},"azure_security_baseline":{"type":"TypeList","optional":true,"elem":{"schema":{"assignment_type":{"type":"TypeString","optional":true,"default":"ApplyAndAutoCorrect"}}},"maxItems":1},"backup":{"type":"TypeList","optional":true,"elem":{"schema":{"instant_rp_retention_range_in_days":{"type":"TypeInt","optional":true,"default":5},"policy_name":{"type":"TypeString","optional":true},"retention_policy":{"type":"TypeList","optional":true,"elem":{"schema":{"daily_schedule":{"type":"TypeList","optional":true,"elem":{"schema":{"retention_duration":{"type":"TypeList","optional":true,"elem":{"schema":{"count":{"type":"TypeInt","optional":true},"duration_type":{"type":"TypeString","optional":true,"default":"Days"}}},"maxItems":1},"retention_times":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"retention_policy_type":{"type":"TypeString","optional":true,"default":"LongTermRetentionPolicy"},"weekly_schedule":{"type":"TypeList","optional":true,"elem":{"schema":{"retention_duration":{"type":"TypeList","optional":true,"elem":{"schema":{"count":{"type":"TypeInt","optional":true},"duration_type":{"type":"TypeString","optional":true,"default":"Weeks"}}},"maxItems":1},"retention_times":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1}}},"maxItems":1},"schedule_policy":{"type":"TypeList","optional":true,"elem":{"schema":{"schedule_policy_type":{"type":"TypeString","optional":true,"default":"SimpleSchedulePolicy"},"schedule_run_days":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"schedule_run_frequency":{"type":"TypeString","optional":true,"default":"Daily"},"schedule_run_times":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"time_zone":{"type":"TypeString","optional":true,"default":"UTC"}}},"maxItems":1},"boot_diagnostics_enabled":{"type":"TypeBool","optional":true,"default":false},"defender_for_cloud_enabled":{"type":"TypeBool","optional":true,"default":false},"guest_configuration_enabled":{"type":"TypeBool","optional":true,"default":false},"location":{"type":"TypeString","required":true,"forceNew":true},"log_analytics_enabled":{"type":"TypeBool","optional":true,"default":false},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"status_change_alert_enabled":{"type":"TypeBool","optional":true,"default":false},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_automation_account":{"schema":{"dsc_primary_access_key":{"type":"TypeString","computed":true},"dsc_secondary_access_key":{"type":"TypeString","computed":true},"dsc_server_endpoint":{"type":"TypeString","computed":true},"encryption":{"type":"TypeList","optional":true,"elem":{"schema":{"key_source":{"type":"TypeString","optional":true},"key_vault_key_id":{"type":"TypeString","required":true},"user_assigned_identity_id":{"type":"TypeString","optional":true}}}},"hybrid_service_url":{"type":"TypeString","computed":true},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"local_authentication_enabled":{"type":"TypeBool","optional":true,"default":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"private_endpoint_connection":{"type":"TypeList","computed":true,"elem":{"schema":{"id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true}}}},"public_network_access_enabled":{"type":"TypeBool","optional":true,"default":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"sku_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_automation_certificate":{"schema":{"automation_account_name":{"type":"TypeString","required":true,"forceNew":true},"base64":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"exportable":{"type":"TypeBool","optional":true,"default":false},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"thumbprint":{"type":"TypeString","computed":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_automation_connection":{"schema":{"automation_account_name":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"type":{"type":"TypeString","required":true,"forceNew":true},"values":{"type":"TypeMap","required":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_automation_connection_certificate":{"schema":{"automation_account_name":{"type":"TypeString","required":true,"forceNew":true},"automation_certificate_name":{"type":"TypeString","required":true},"description":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"subscription_id":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_automation_connection_classic_certificate":{"schema":{"automation_account_name":{"type":"TypeString","required":true,"forceNew":true},"certificate_asset_name":{"type":"TypeString","required":true},"description":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"subscription_id":{"type":"TypeString","required":true},"subscription_name":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_automation_connection_service_principal":{"schema":{"application_id":{"type":"TypeString","required":true},"automation_account_name":{"type":"TypeString","required":true,"forceNew":true},"certificate_thumbprint":{"type":"TypeString","required":true},"description":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"subscription_id":{"type":"TypeString","required":true},"tenant_id":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_automation_connection_type":{"schema":{"automation_account_name":{"type":"TypeString","required":true,"forceNew":true},"field":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"is_encrypted":{"type":"TypeBool","optional":true},"is_optional":{"type":"TypeBool","optional":true},"name":{"type":"TypeString","required":true},"type":{"type":"TypeString","required":true}}}},"is_global":{"type":"TypeBool","optional":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":10}},"azurerm_automation_credential":{"schema":{"automation_account_name":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"password":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"username":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_automation_dsc_configuration":{"schema":{"automation_account_name":{"type":"TypeString","required":true,"forceNew":true},"content_embedded":{"type":"TypeString","required":true},"description":{"type":"TypeString","optional":true},"location":{"type":"TypeString","required":true,"forceNew":true},"log_verbose":{"type":"TypeBool","optional":true,"default":false},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"state":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_automation_dsc_nodeconfiguration":{"schema":{"automation_account_name":{"type":"TypeString","required":true,"forceNew":true},"configuration_name":{"type":"TypeString","computed":true},"content_embedded":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_automation_hybrid_runbook_worker":{"schema":{"automation_account_name":{"type":"TypeString","required":true,"forceNew":true},"ip":{"type":"TypeString","computed":true},"last_seen_date_time":{"type":"TypeString","computed":true},"registration_date_time":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"vm_resource_id":{"type":"TypeString","required":true,"forceNew":true},"worker_group_name":{"type":"TypeString","required":true,"forceNew":true},"worker_id":{"type":"TypeString","required":true,"forceNew":true},"worker_name":{"type":"TypeString","computed":true},"worker_type":{"type":"TypeString","computed":true}},"timeouts":{"create":30,"read":5,"delete":10}},"azurerm_automation_hybrid_runbook_worker_group":{"schema":{"automation_account_name":{"type":"TypeString","required":true,"forceNew":true},"credential_name":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":10,"update":10}},"azurerm_automation_job_schedule":{"schema":{"automation_account_name":{"type":"TypeString","required":true,"forceNew":true},"job_schedule_id":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"parameters":{"type":"TypeMap","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"resource_manager_id":{"type":"TypeString","computed":true},"run_on":{"type":"TypeString","optional":true,"forceNew":true},"runbook_name":{"type":"TypeString","required":true,"forceNew":true},"schedule_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_automation_module":{"schema":{"automation_account_name":{"type":"TypeString","required":true,"forceNew":true},"module_link":{"type":"TypeList","required":true,"elem":{"schema":{"hash":{"type":"TypeList","optional":true,"elem":{"schema":{"algorithm":{"type":"TypeString","required":true},"value":{"type":"TypeString","required":true}}},"maxItems":1},"uri":{"type":"TypeString","required":true}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_automation_powershell72_module":{"schema":{"automation_account_id":{"type":"TypeString","required":true,"forceNew":true},"module_link":{"type":"TypeList","required":true,"elem":{"schema":{"hash":{"type":"TypeList","optional":true,"elem":{"schema":{"algorithm":{"type":"TypeString","required":true},"value":{"type":"TypeString","required":true}}},"maxItems":1},"uri":{"type":"TypeString","required":true}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_automation_python3_package":{"schema":{"automation_account_name":{"type":"TypeString","required":true,"forceNew":true},"content_uri":{"type":"TypeString","required":true,"forceNew":true},"content_version":{"type":"TypeString","optional":true,"forceNew":true},"hash_algorithm":{"type":"TypeString","optional":true,"forceNew":true},"hash_value":{"type":"TypeString","optional":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":10,"update":10}},"azurerm_automation_runbook":{"schema":{"automation_account_name":{"type":"TypeString","required":true,"forceNew":true},"content":{"type":"TypeString","optional":true,"computed":true},"description":{"type":"TypeString","optional":true},"draft":{"type":"TypeList","optional":true,"elem":{"schema":{"content_link":{"type":"TypeList","optional":true,"elem":{"schema":{"hash":{"type":"TypeList","optional":true,"elem":{"schema":{"algorithm":{"type":"TypeString","required":true},"value":{"type":"TypeString","required":true}}},"maxItems":1},"uri":{"type":"TypeString","required":true},"version":{"type":"TypeString","optional":true}}},"maxItems":1},"creation_time":{"type":"TypeString","computed":true},"edit_mode_enabled":{"type":"TypeBool","optional":true},"last_modified_time":{"type":"TypeString","computed":true},"output_types":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"parameters":{"type":"TypeList","optional":true,"elem":{"schema":{"default_value":{"type":"TypeString","optional":true},"key":{"type":"TypeString","required":true},"mandatory":{"type":"TypeBool","optional":true,"default":false},"position":{"type":"TypeInt","optional":true},"type":{"type":"TypeString","required":true}}}}}},"maxItems":1},"job_schedule":{"type":"TypeSet","configMode":"Auto","optional":true,"computed":true,"elem":{"schema":{"job_schedule_id":{"type":"TypeString","computed":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"run_on":{"type":"TypeString","optional":true},"schedule_name":{"type":"TypeString","required":true}}}},"location":{"type":"TypeString","required":true,"forceNew":true},"log_activity_trace_level":{"type":"TypeInt","optional":true},"log_progress":{"type":"TypeBool","required":true},"log_verbose":{"type":"TypeBool","required":true},"name":{"type":"TypeString","required":true,"forceNew":true},"publish_content_link":{"type":"TypeList","optional":true,"elem":{"schema":{"hash":{"type":"TypeList","optional":true,"elem":{"schema":{"algorithm":{"type":"TypeString","required":true},"value":{"type":"TypeString","required":true}}},"maxItems":1},"uri":{"type":"TypeString","required":true},"version":{"type":"TypeString","optional":true}}},"maxItems":1},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"runbook_type":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_automation_schedule":{"schema":{"automation_account_name":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"expiry_time":{"type":"TypeString","optional":true,"computed":true},"frequency":{"type":"TypeString","required":true},"interval":{"type":"TypeInt","optional":true,"computed":true},"month_days":{"type":"TypeSet","optional":true,"elem":{"type":"TypeInt"}},"monthly_occurrence":{"type":"TypeList","optional":true,"elem":{"schema":{"day":{"type":"TypeString","required":true},"occurrence":{"type":"TypeInt","required":true}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"start_time":{"type":"TypeString","optional":true,"computed":true},"timezone":{"type":"TypeString","optional":true,"default":"Etc/UTC"},"week_days":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_automation_software_update_configuration":{"schema":{"automation_account_id":{"type":"TypeString","required":true,"forceNew":true},"duration":{"type":"TypeString","optional":true,"default":"PT2H"},"error_code":{"type":"TypeString","computed":true},"error_message":{"type":"TypeString","computed":true},"linux":{"type":"TypeList","optional":true,"elem":{"schema":{"classifications_included":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}},"excluded_packages":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"included_packages":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"reboot":{"type":"TypeString","optional":true,"default":"IfRequired"}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"non_azure_computer_names":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"post_task":{"type":"TypeList","optional":true,"elem":{"schema":{"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"source":{"type":"TypeString","optional":true}}},"maxItems":1},"pre_task":{"type":"TypeList","optional":true,"elem":{"schema":{"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"source":{"type":"TypeString","optional":true}}},"maxItems":1},"schedule":{"type":"TypeList","required":true,"elem":{"schema":{"advanced_month_days":{"type":"TypeList","optional":true,"elem":{"type":"TypeInt"}},"advanced_week_days":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"creation_time":{"type":"TypeString","computed":true},"description":{"type":"TypeString","optional":true},"expiry_time":{"type":"TypeString","optional":true,"computed":true},"expiry_time_offset_minutes":{"type":"TypeFloat","optional":true},"frequency":{"type":"TypeString","required":true},"interval":{"type":"TypeInt","optional":true},"is_enabled":{"type":"TypeBool","optional":true,"default":true},"last_modified_time":{"type":"TypeString","computed":true},"monthly_occurrence":{"type":"TypeList","optional":true,"elem":{"schema":{"day":{"type":"TypeString","required":true},"occurrence":{"type":"TypeInt","required":true}}},"maxItems":1},"next_run":{"type":"TypeString","optional":true,"computed":true},"next_run_offset_minutes":{"type":"TypeFloat","optional":true},"start_time":{"type":"TypeString","optional":true,"computed":true},"start_time_offset_minutes":{"type":"TypeFloat","optional":true},"time_zone":{"type":"TypeString","optional":true,"default":"Etc/UTC"}}},"maxItems":1},"target":{"type":"TypeList","optional":true,"elem":{"schema":{"azure_query":{"type":"TypeList","optional":true,"elem":{"schema":{"locations":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"scope":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"tag_filter":{"type":"TypeString","optional":true},"tags":{"type":"TypeList","optional":true,"elem":{"schema":{"tag":{"type":"TypeString","required":true},"values":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}}}}}}}},"non_azure_query":{"type":"TypeList","optional":true,"elem":{"schema":{"function_alias":{"type":"TypeString","optional":true},"workspace_id":{"type":"TypeString","optional":true}}}}}},"maxItems":1},"virtual_machine_ids":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"windows":{"type":"TypeList","optional":true,"elem":{"schema":{"classifications_included":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}},"excluded_knowledge_base_numbers":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"included_knowledge_base_numbers":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"reboot":{"type":"TypeString","optional":true,"default":"IfRequired"}}},"maxItems":1}},"timeouts":{"create":30,"read":5,"delete":10,"update":30}},"azurerm_automation_source_control":{"schema":{"automatic_sync":{"type":"TypeBool","optional":true,"default":false},"automation_account_id":{"type":"TypeString","required":true,"forceNew":true},"branch":{"type":"TypeString","optional":true},"description":{"type":"TypeString","optional":true},"folder_path":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true,"forceNew":true},"publish_runbook_enabled":{"type":"TypeBool","optional":true,"default":true},"repository_url":{"type":"TypeString","required":true},"security":{"type":"TypeList","required":true,"elem":{"schema":{"refresh_token":{"type":"TypeString","optional":true},"token":{"type":"TypeString","required":true},"token_type":{"type":"TypeString","required":true}}},"maxItems":1,"minItems":1},"source_control_type":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":10,"update":10}},"azurerm_automation_variable_bool":{"schema":{"automation_account_name":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"encrypted":{"type":"TypeBool","optional":true,"default":false},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"value":{"type":"TypeBool","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_automation_variable_datetime":{"schema":{"automation_account_name":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"encrypted":{"type":"TypeBool","optional":true,"default":false},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"value":{"type":"TypeString","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_automation_variable_int":{"schema":{"automation_account_name":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"encrypted":{"type":"TypeBool","optional":true,"default":false},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"value":{"type":"TypeInt","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_automation_variable_object":{"schema":{"automation_account_name":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"encrypted":{"type":"TypeBool","optional":true,"default":false},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"value":{"type":"TypeString","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_automation_variable_string":{"schema":{"automation_account_name":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"encrypted":{"type":"TypeBool","optional":true,"default":false},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"value":{"type":"TypeString","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_automation_watcher":{"schema":{"automation_account_id":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"etag":{"type":"TypeString","optional":true},"execution_frequency_in_seconds":{"type":"TypeInt","required":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"script_name":{"type":"TypeString","required":true,"forceNew":true},"script_parameters":{"type":"TypeMap","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"script_run_on":{"type":"TypeString","required":true},"status":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":10,"update":10}},"azurerm_automation_webhook":{"schema":{"automation_account_name":{"type":"TypeString","required":true,"forceNew":true},"enabled":{"type":"TypeBool","optional":true,"default":true},"expiry_time":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"run_on_worker_group":{"type":"TypeString","optional":true},"runbook_name":{"type":"TypeString","required":true},"uri":{"type":"TypeString","optional":true,"computed":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_availability_set":{"schema":{"location":{"type":"TypeString","required":true,"forceNew":true},"managed":{"type":"TypeBool","optional":true,"default":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"platform_fault_domain_count":{"type":"TypeInt","optional":true,"default":3,"forceNew":true},"platform_update_domain_count":{"type":"TypeInt","optional":true,"default":5,"forceNew":true},"proximity_placement_group_id":{"type":"TypeString","optional":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_backup_container_storage_account":{"schema":{"recovery_vault_name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"storage_account_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_backup_policy_file_share":{"schema":{"backup":{"type":"TypeList","required":true,"elem":{"schema":{"frequency":{"type":"TypeString","required":true},"hourly":{"type":"TypeList","optional":true,"elem":{"schema":{"interval":{"type":"TypeInt","required":true},"start_time":{"type":"TypeString","required":true},"window_duration":{"type":"TypeInt","required":true}}},"maxItems":1},"time":{"type":"TypeString","optional":true}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"recovery_vault_name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"retention_daily":{"type":"TypeList","required":true,"elem":{"schema":{"count":{"type":"TypeInt","required":true}}},"maxItems":1},"retention_monthly":{"type":"TypeList","optional":true,"elem":{"schema":{"count":{"type":"TypeInt","required":true},"days":{"type":"TypeSet","optional":true,"elem":{"type":"TypeInt"}},"include_last_days":{"type":"TypeBool","optional":true,"default":false},"weekdays":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"weeks":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"retention_weekly":{"type":"TypeList","optional":true,"elem":{"schema":{"count":{"type":"TypeInt","required":true},"weekdays":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"retention_yearly":{"type":"TypeList","optional":true,"elem":{"schema":{"count":{"type":"TypeInt","required":true},"days":{"type":"TypeSet","optional":true,"elem":{"type":"TypeInt"}},"include_last_days":{"type":"TypeBool","optional":true,"default":false},"months":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}},"weekdays":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"weeks":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"timezone":{"type":"TypeString","optional":true,"default":"UTC"}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_backup_policy_vm":{"schema":{"backup":{"type":"TypeList","required":true,"elem":{"schema":{"frequency":{"type":"TypeString","required":true},"hour_duration":{"type":"TypeInt","optional":true},"hour_interval":{"type":"TypeInt","optional":true},"time":{"type":"TypeString","required":true},"weekdays":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"instant_restore_resource_group":{"type":"TypeList","optional":true,"elem":{"schema":{"prefix":{"type":"TypeString","required":true},"suffix":{"type":"TypeString","optional":true}}},"maxItems":1},"instant_restore_retention_days":{"type":"TypeInt","optional":true,"computed":true},"name":{"type":"TypeString","required":true,"forceNew":true},"policy_type":{"type":"TypeString","optional":true,"default":"V1","forceNew":true},"recovery_vault_name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"retention_daily":{"type":"TypeList","optional":true,"elem":{"schema":{"count":{"type":"TypeInt","required":true}}},"maxItems":1},"retention_monthly":{"type":"TypeList","optional":true,"elem":{"schema":{"count":{"type":"TypeInt","required":true},"days":{"type":"TypeSet","optional":true,"elem":{"type":"TypeInt"}},"include_last_days":{"type":"TypeBool","optional":true,"default":false},"weekdays":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"weeks":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"retention_weekly":{"type":"TypeList","optional":true,"elem":{"schema":{"count":{"type":"TypeInt","required":true},"weekdays":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"retention_yearly":{"type":"TypeList","optional":true,"elem":{"schema":{"count":{"type":"TypeInt","required":true},"days":{"type":"TypeSet","optional":true,"elem":{"type":"TypeInt"}},"include_last_days":{"type":"TypeBool","optional":true,"default":false},"months":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}},"weekdays":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"weeks":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"tiering_policy":{"type":"TypeList","optional":true,"elem":{"schema":{"archived_restore_point":{"type":"TypeList","required":true,"elem":{"schema":{"duration":{"type":"TypeInt","optional":true},"duration_type":{"type":"TypeString","optional":true},"mode":{"type":"TypeString","required":true}}},"maxItems":1}}},"maxItems":1},"timezone":{"type":"TypeString","optional":true,"default":"UTC"}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_backup_policy_vm_workload":{"schema":{"name":{"type":"TypeString","required":true,"forceNew":true},"protection_policy":{"type":"TypeSet","required":true,"elem":{"schema":{"backup":{"type":"TypeList","required":true,"elem":{"schema":{"frequency":{"type":"TypeString","optional":true},"frequency_in_minutes":{"type":"TypeInt","optional":true},"time":{"type":"TypeString","optional":true},"weekdays":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"policy_type":{"type":"TypeString","required":true},"retention_daily":{"type":"TypeList","optional":true,"elem":{"schema":{"count":{"type":"TypeInt","required":true}}},"maxItems":1},"retention_monthly":{"type":"TypeList","optional":true,"elem":{"schema":{"count":{"type":"TypeInt","required":true},"format_type":{"type":"TypeString","required":true},"monthdays":{"type":"TypeSet","optional":true,"elem":{"type":"TypeInt"}},"weekdays":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"weeks":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"retention_weekly":{"type":"TypeList","optional":true,"elem":{"schema":{"count":{"type":"TypeInt","required":true},"weekdays":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"retention_yearly":{"type":"TypeList","optional":true,"elem":{"schema":{"count":{"type":"TypeInt","required":true},"format_type":{"type":"TypeString","required":true},"monthdays":{"type":"TypeSet","optional":true,"elem":{"type":"TypeInt"}},"months":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}},"weekdays":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"weeks":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"simple_retention":{"type":"TypeList","optional":true,"elem":{"schema":{"count":{"type":"TypeInt","required":true}}},"maxItems":1}}}},"recovery_vault_name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"settings":{"type":"TypeList","required":true,"elem":{"schema":{"compression_enabled":{"type":"TypeBool","optional":true,"default":false},"time_zone":{"type":"TypeString","required":true}}},"maxItems":1},"workload_type":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_backup_protected_file_share":{"schema":{"backup_policy_id":{"type":"TypeString","required":true},"recovery_vault_name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"source_file_share_name":{"type":"TypeString","required":true,"forceNew":true},"source_storage_account_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":80,"read":5,"delete":80,"update":80}},"azurerm_backup_protected_vm":{"schema":{"backup_policy_id":{"type":"TypeString","optional":true},"exclude_disk_luns":{"type":"TypeSet","optional":true,"elem":{"type":"TypeInt"}},"include_disk_luns":{"type":"TypeSet","optional":true,"elem":{"type":"TypeInt"}},"protection_state":{"type":"TypeString","optional":true,"computed":true},"recovery_vault_name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"source_vm_id":{"type":"TypeString","optional":true,"computed":true,"forceNew":true}},"timeouts":{"create":120,"read":5,"delete":80,"update":120}},"azurerm_bastion_host":{"schema":{"copy_paste_enabled":{"type":"TypeBool","optional":true,"default":true},"dns_name":{"type":"TypeString","computed":true},"file_copy_enabled":{"type":"TypeBool","optional":true,"default":false},"ip_configuration":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"name":{"type":"TypeString","required":true,"forceNew":true},"public_ip_address_id":{"type":"TypeString","required":true,"forceNew":true},"subnet_id":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"ip_connect_enabled":{"type":"TypeBool","optional":true,"default":false},"kerberos_enabled":{"type":"TypeBool","optional":true,"default":false},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"scale_units":{"type":"TypeInt","optional":true,"default":2},"session_recording_enabled":{"type":"TypeBool","optional":true,"default":false},"shareable_link_enabled":{"type":"TypeBool","optional":true,"default":false},"sku":{"type":"TypeString","optional":true,"default":"Basic"},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"tunneling_enabled":{"type":"TypeBool","optional":true,"default":false},"virtual_network_id":{"type":"TypeString","optional":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_batch_account":{"schema":{"account_endpoint":{"type":"TypeString","computed":true},"allowed_authentication_modes":{"type":"TypeSet","optional":true,"computed":true,"elem":{"type":"TypeString"}},"encryption":{"type":"TypeList","configMode":"Auto","optional":true,"elem":{"schema":{"key_vault_key_id":{"type":"TypeString","required":true}}},"maxItems":1},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"key_vault_reference":{"type":"TypeList","optional":true,"elem":{"schema":{"id":{"type":"TypeString","required":true},"url":{"type":"TypeString","required":true}}},"maxItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"network_profile":{"type":"TypeList","optional":true,"elem":{"schema":{"account_access":{"type":"TypeList","optional":true,"elem":{"schema":{"default_action":{"type":"TypeString","optional":true,"default":"Deny"},"ip_rule":{"type":"TypeList","optional":true,"elem":{"schema":{"action":{"type":"TypeString","optional":true,"default":"Allow"},"ip_range":{"type":"TypeString","required":true}}}}}},"maxItems":1},"node_management_access":{"type":"TypeList","optional":true,"elem":{"schema":{"default_action":{"type":"TypeString","optional":true,"default":"Deny"},"ip_rule":{"type":"TypeList","optional":true,"elem":{"schema":{"action":{"type":"TypeString","optional":true,"default":"Allow"},"ip_range":{"type":"TypeString","required":true}}}}}},"maxItems":1}}},"maxItems":1},"pool_allocation_mode":{"type":"TypeString","optional":true,"default":"BatchService"},"primary_access_key":{"type":"TypeString","computed":true},"public_network_access_enabled":{"type":"TypeBool","optional":true,"default":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"secondary_access_key":{"type":"TypeString","computed":true},"storage_account_authentication_mode":{"type":"TypeString","optional":true},"storage_account_id":{"type":"TypeString","optional":true},"storage_account_node_identity":{"type":"TypeString","optional":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_batch_application":{"schema":{"account_name":{"type":"TypeString","required":true,"forceNew":true},"allow_updates":{"type":"TypeBool","optional":true,"default":true},"default_version":{"type":"TypeString","optional":true},"display_name":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_batch_certificate":{"schema":{"account_name":{"type":"TypeString","required":true,"forceNew":true},"certificate":{"type":"TypeString","required":true},"format":{"type":"TypeString","required":true},"name":{"type":"TypeString","computed":true},"password":{"type":"TypeString","optional":true},"public_data":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"thumbprint":{"type":"TypeString","required":true,"forceNew":true},"thumbprint_algorithm":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_batch_job":{"schema":{"batch_pool_id":{"type":"TypeString","required":true,"forceNew":true},"common_environment_properties":{"type":"TypeMap","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"display_name":{"type":"TypeString","optional":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"priority":{"type":"TypeInt","optional":true,"default":0},"task_retry_maximum":{"type":"TypeInt","optional":true}},"timeouts":{"create":5,"read":5,"delete":5,"update":5}},"azurerm_batch_pool":{"schema":{"account_name":{"type":"TypeString","required":true,"forceNew":true},"auto_scale":{"type":"TypeList","optional":true,"elem":{"schema":{"evaluation_interval":{"type":"TypeString","optional":true,"default":"PT15M"},"formula":{"type":"TypeString","required":true}}},"maxItems":1},"certificate":{"type":"TypeList","optional":true,"elem":{"schema":{"id":{"type":"TypeString","required":true},"store_location":{"type":"TypeString","required":true},"store_name":{"type":"TypeString","optional":true},"visibility":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}}}}},"container_configuration":{"type":"TypeList","optional":true,"elem":{"schema":{"container_image_names":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"container_registries":{"type":"TypeList","configMode":"Auto","optional":true,"forceNew":true,"elem":{"schema":{"password":{"type":"TypeString","optional":true,"forceNew":true},"registry_server":{"type":"TypeString","required":true,"forceNew":true},"user_assigned_identity_id":{"type":"TypeString","optional":true,"description":"The User Assigned Identity to use for Container Registry access.","forceNew":true},"user_name":{"type":"TypeString","optional":true,"forceNew":true}}}},"type":{"type":"TypeString","optional":true}}},"maxItems":1,"minItems":1},"data_disks":{"type":"TypeList","optional":true,"elem":{"schema":{"caching":{"type":"TypeString","optional":true,"default":"ReadOnly"},"disk_size_gb":{"type":"TypeInt","required":true},"lun":{"type":"TypeInt","required":true},"storage_account_type":{"type":"TypeString","optional":true,"default":"Standard_LRS"}}}},"disk_encryption":{"type":"TypeList","optional":true,"elem":{"schema":{"disk_encryption_target":{"type":"TypeString","required":true}}}},"display_name":{"type":"TypeString","optional":true,"forceNew":true},"extensions":{"type":"TypeList","optional":true,"elem":{"schema":{"auto_upgrade_minor_version":{"type":"TypeBool","optional":true},"automatic_upgrade_enabled":{"type":"TypeBool","optional":true},"name":{"type":"TypeString","required":true},"protected_settings":{"type":"TypeString","optional":true},"provision_after_extensions":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"publisher":{"type":"TypeString","required":true},"settings_json":{"type":"TypeString","optional":true},"type":{"type":"TypeString","required":true},"type_handler_version":{"type":"TypeString","optional":true}}}},"fixed_scale":{"type":"TypeList","optional":true,"elem":{"schema":{"node_deallocation_method":{"type":"TypeString","optional":true},"resize_timeout":{"type":"TypeString","optional":true,"default":"PT15M"},"target_dedicated_nodes":{"type":"TypeInt","optional":true,"default":1},"target_low_priority_nodes":{"type":"TypeInt","optional":true,"default":0}}},"maxItems":1},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}},"type":{"type":"TypeString","required":true}}},"maxItems":1},"inter_node_communication":{"type":"TypeString","optional":true,"default":"Enabled"},"license_type":{"type":"TypeString","optional":true},"max_tasks_per_node":{"type":"TypeInt","optional":true,"default":1,"forceNew":true},"metadata":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"mount":{"type":"TypeList","optional":true,"elem":{"schema":{"azure_blob_file_system":{"type":"TypeList","optional":true,"elem":{"schema":{"account_key":{"type":"TypeString","optional":true},"account_name":{"type":"TypeString","required":true},"blobfuse_options":{"type":"TypeString","optional":true},"container_name":{"type":"TypeString","required":true},"identity_id":{"type":"TypeString","optional":true},"relative_mount_path":{"type":"TypeString","required":true},"sas_key":{"type":"TypeString","optional":true}}},"maxItems":1},"azure_file_share":{"type":"TypeList","optional":true,"elem":{"schema":{"account_key":{"type":"TypeString","required":true},"account_name":{"type":"TypeString","required":true},"azure_file_url":{"type":"TypeString","required":true},"mount_options":{"type":"TypeString","optional":true},"relative_mount_path":{"type":"TypeString","required":true}}}},"cifs_mount":{"type":"TypeList","optional":true,"elem":{"schema":{"mount_options":{"type":"TypeString","optional":true},"password":{"type":"TypeString","required":true},"relative_mount_path":{"type":"TypeString","required":true},"source":{"type":"TypeString","required":true},"user_name":{"type":"TypeString","required":true}}}},"nfs_mount":{"type":"TypeList","optional":true,"elem":{"schema":{"mount_options":{"type":"TypeString","optional":true},"relative_mount_path":{"type":"TypeString","required":true},"source":{"type":"TypeString","required":true}}}}}}},"name":{"type":"TypeString","required":true,"forceNew":true},"network_configuration":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"accelerated_networking_enabled":{"type":"TypeBool","optional":true,"default":false,"forceNew":true},"dynamic_vnet_assignment_scope":{"type":"TypeString","optional":true,"default":"none","forceNew":true},"endpoint_configuration":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"backend_port":{"type":"TypeInt","required":true,"forceNew":true},"frontend_port_range":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"network_security_group_rules":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"access":{"type":"TypeString","required":true,"forceNew":true},"priority":{"type":"TypeInt","required":true,"forceNew":true},"source_address_prefix":{"type":"TypeString","required":true,"forceNew":true},"source_port_ranges":{"type":"TypeList","optional":true,"computed":true,"forceNew":true,"elem":{"type":"TypeString","default":"*"}}}}},"protocol":{"type":"TypeString","required":true,"forceNew":true}}}},"public_address_provisioning_type":{"type":"TypeString","optional":true},"public_ips":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"subnet_id":{"type":"TypeString","optional":true,"forceNew":true}}},"maxItems":1},"node_agent_sku_id":{"type":"TypeString","required":true,"forceNew":true},"node_placement":{"type":"TypeList","optional":true,"elem":{"schema":{"policy":{"type":"TypeString","optional":true,"default":"Regional"}}}},"os_disk_placement":{"type":"TypeString","optional":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"start_task":{"type":"TypeList","optional":true,"elem":{"schema":{"command_line":{"type":"TypeString","required":true},"common_environment_properties":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"container":{"type":"TypeList","optional":true,"elem":{"schema":{"image_name":{"type":"TypeString","required":true},"registry":{"type":"TypeList","optional":true,"elem":{"schema":{"password":{"type":"TypeString","optional":true,"forceNew":true},"registry_server":{"type":"TypeString","required":true,"forceNew":true},"user_assigned_identity_id":{"type":"TypeString","optional":true,"description":"The User Assigned Identity to use for Container Registry access.","forceNew":true},"user_name":{"type":"TypeString","optional":true,"forceNew":true}}}},"run_options":{"type":"TypeString","optional":true},"working_directory":{"type":"TypeString","optional":true}}}},"resource_file":{"type":"TypeList","optional":true,"elem":{"schema":{"auto_storage_container_name":{"type":"TypeString","optional":true},"blob_prefix":{"type":"TypeString","optional":true},"file_mode":{"type":"TypeString","optional":true},"file_path":{"type":"TypeString","optional":true},"http_url":{"type":"TypeString","optional":true},"storage_container_url":{"type":"TypeString","optional":true},"user_assigned_identity_id":{"type":"TypeString","optional":true}}}},"task_retry_maximum":{"type":"TypeInt","optional":true},"user_identity":{"type":"TypeList","required":true,"elem":{"schema":{"auto_user":{"type":"TypeList","optional":true,"elem":{"schema":{"elevation_level":{"type":"TypeString","optional":true,"default":"NonAdmin"},"scope":{"type":"TypeString","optional":true,"default":"Task"}}},"maxItems":1},"user_name":{"type":"TypeString","optional":true}}},"maxItems":1},"wait_for_success":{"type":"TypeBool","optional":true,"default":false}}},"maxItems":1},"stop_pending_resize_operation":{"type":"TypeBool","optional":true,"default":false},"storage_image_reference":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"id":{"type":"TypeString","optional":true,"forceNew":true},"offer":{"type":"TypeString","optional":true,"forceNew":true},"publisher":{"type":"TypeString","optional":true,"forceNew":true},"sku":{"type":"TypeString","optional":true,"forceNew":true},"version":{"type":"TypeString","optional":true,"forceNew":true}}},"maxItems":1},"target_node_communication_mode":{"type":"TypeString","optional":true},"task_scheduling_policy":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"node_fill_type":{"type":"TypeString","optional":true,"computed":true}}}},"user_accounts":{"type":"TypeList","optional":true,"elem":{"schema":{"elevation_level":{"type":"TypeString","required":true},"linux_user_configuration":{"type":"TypeList","optional":true,"elem":{"schema":{"gid":{"type":"TypeInt","optional":true},"ssh_private_key":{"type":"TypeString","optional":true},"uid":{"type":"TypeInt","optional":true}}}},"name":{"type":"TypeString","required":true},"password":{"type":"TypeString","required":true},"windows_user_configuration":{"type":"TypeList","optional":true,"elem":{"schema":{"login_mode":{"type":"TypeString","required":true}}}}}}},"vm_size":{"type":"TypeString","required":true,"forceNew":true},"windows":{"type":"TypeList","optional":true,"elem":{"schema":{"enable_automatic_updates":{"type":"TypeBool","optional":true,"default":true}}}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_billing_account_cost_management_export":{"schema":{"active":{"type":"TypeBool","optional":true,"default":true},"billing_account_id":{"type":"TypeString","required":true,"forceNew":true},"export_data_options":{"type":"TypeList","required":true,"elem":{"schema":{"time_frame":{"type":"TypeString","required":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"export_data_storage_location":{"type":"TypeList","required":true,"elem":{"schema":{"container_id":{"type":"TypeString","required":true,"forceNew":true},"root_folder_path":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"recurrence_period_end_date":{"type":"TypeString","required":true},"recurrence_period_start_date":{"type":"TypeString","required":true},"recurrence_type":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_blueprint_assignment":{"schema":{"blueprint_name":{"type":"TypeString","computed":true},"description":{"type":"TypeString","computed":true},"display_name":{"type":"TypeString","computed":true},"identity":{"type":"TypeList","required":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"lock_exclude_actions":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"maxItems":200},"lock_exclude_principals":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"maxItems":5},"lock_mode":{"type":"TypeString","optional":true,"default":"None"},"name":{"type":"TypeString","required":true,"forceNew":true},"parameter_values":{"type":"TypeString","optional":true},"resource_groups":{"type":"TypeString","optional":true},"target_subscription_id":{"type":"TypeString","required":true,"forceNew":true},"type":{"type":"TypeString","computed":true},"version_id":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":5,"update":30}},"azurerm_bot_channel_alexa":{"schema":{"bot_name":{"type":"TypeString","required":true,"forceNew":true},"location":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"skill_id":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_bot_channel_direct_line_speech":{"schema":{"bot_name":{"type":"TypeString","required":true,"forceNew":true},"cognitive_account_id":{"type":"TypeString","optional":true},"cognitive_service_access_key":{"type":"TypeString","required":true},"cognitive_service_location":{"type":"TypeString","required":true},"custom_speech_model_id":{"type":"TypeString","optional":true},"custom_voice_deployment_id":{"type":"TypeString","optional":true},"location":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_bot_channel_directline":{"schema":{"bot_name":{"type":"TypeString","required":true,"forceNew":true},"location":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"site":{"type":"TypeSet","required":true,"elem":{"schema":{"enabled":{"type":"TypeBool","optional":true,"default":true},"endpoint_parameters_enabled":{"type":"TypeBool","optional":true},"enhanced_authentication_enabled":{"type":"TypeBool","optional":true,"default":false},"id":{"type":"TypeString","computed":true},"key":{"type":"TypeString","computed":true},"key2":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"storage_enabled":{"type":"TypeBool","optional":true,"default":true},"trusted_origins":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"user_upload_enabled":{"type":"TypeBool","optional":true,"default":true},"v1_allowed":{"type":"TypeBool","optional":true,"default":true},"v3_allowed":{"type":"TypeBool","optional":true,"default":true}}}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_bot_channel_email":{"schema":{"bot_name":{"type":"TypeString","required":true,"forceNew":true},"email_address":{"type":"TypeString","required":true},"email_password":{"type":"TypeString","optional":true},"location":{"type":"TypeString","required":true,"forceNew":true},"magic_code":{"type":"TypeString","optional":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_bot_channel_facebook":{"schema":{"bot_name":{"type":"TypeString","required":true,"forceNew":true},"facebook_application_id":{"type":"TypeString","required":true},"facebook_application_secret":{"type":"TypeString","required":true},"location":{"type":"TypeString","required":true,"forceNew":true},"page":{"type":"TypeSet","required":true,"elem":{"schema":{"access_token":{"type":"TypeString","required":true},"id":{"type":"TypeString","required":true}}}},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_bot_channel_line":{"schema":{"bot_name":{"type":"TypeString","required":true,"forceNew":true},"line_channel":{"type":"TypeSet","required":true,"elem":{"schema":{"access_token":{"type":"TypeString","required":true},"secret":{"type":"TypeString","required":true}}}},"location":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_bot_channel_ms_teams":{"schema":{"bot_name":{"type":"TypeString","required":true,"forceNew":true},"calling_web_hook":{"type":"TypeString","optional":true,"computed":true},"deployment_environment":{"type":"TypeString","optional":true,"default":"CommercialDeployment"},"enable_calling":{"type":"TypeBool","optional":true,"default":false},"location":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_bot_channel_slack":{"schema":{"bot_name":{"type":"TypeString","required":true,"forceNew":true},"client_id":{"type":"TypeString","required":true},"client_secret":{"type":"TypeString","required":true},"landing_page_url":{"type":"TypeString","optional":true},"location":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"signing_secret":{"type":"TypeString","optional":true},"verification_token":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_bot_channel_sms":{"schema":{"bot_name":{"type":"TypeString","required":true,"forceNew":true},"location":{"type":"TypeString","required":true,"forceNew":true},"phone_number":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"sms_channel_account_security_id":{"type":"TypeString","required":true},"sms_channel_auth_token":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_bot_channel_web_chat":{"schema":{"bot_name":{"type":"TypeString","required":true,"forceNew":true},"location":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"site":{"type":"TypeSet","optional":true,"elem":{"schema":{"endpoint_parameters_enabled":{"type":"TypeBool","optional":true},"name":{"type":"TypeString","required":true},"storage_enabled":{"type":"TypeBool","optional":true,"default":true},"user_upload_enabled":{"type":"TypeBool","optional":true,"default":true}}}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_bot_channels_registration":{"schema":{"cmk_key_vault_url":{"type":"TypeString","optional":true},"description":{"type":"TypeString","optional":true},"developer_app_insights_api_key":{"type":"TypeString","optional":true},"developer_app_insights_application_id":{"type":"TypeString","optional":true},"developer_app_insights_key":{"type":"TypeString","optional":true},"display_name":{"type":"TypeString","optional":true,"computed":true},"endpoint":{"type":"TypeString","optional":true},"icon_url":{"type":"TypeString","optional":true,"default":"https://docs.botframework.com/static/devportal/client/images/bot-framework-default.png"},"location":{"type":"TypeString","required":true,"forceNew":true},"microsoft_app_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"public_network_access_enabled":{"type":"TypeBool","optional":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"sku":{"type":"TypeString","required":true,"forceNew":true},"streaming_endpoint_enabled":{"type":"TypeBool","optional":true,"default":false},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_bot_connection":{"schema":{"bot_name":{"type":"TypeString","required":true,"forceNew":true},"client_id":{"type":"TypeString","required":true},"client_secret":{"type":"TypeString","required":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"scopes":{"type":"TypeString","optional":true},"service_provider_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_bot_service_azure_bot":{"schema":{"cmk_key_vault_key_url":{"type":"TypeString","optional":true},"developer_app_insights_api_key":{"type":"TypeString","optional":true},"developer_app_insights_application_id":{"type":"TypeString","optional":true},"developer_app_insights_key":{"type":"TypeString","optional":true},"display_name":{"type":"TypeString","optional":true,"computed":true},"endpoint":{"type":"TypeString","optional":true},"icon_url":{"type":"TypeString","optional":true,"default":"https://docs.botframework.com/static/devportal/client/images/bot-framework-default.png"},"local_authentication_enabled":{"type":"TypeBool","optional":true,"default":true},"location":{"type":"TypeString","required":true,"forceNew":true},"luis_app_ids":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"luis_key":{"type":"TypeString","optional":true},"microsoft_app_id":{"type":"TypeString","required":true,"forceNew":true},"microsoft_app_msi_id":{"type":"TypeString","optional":true,"forceNew":true},"microsoft_app_tenant_id":{"type":"TypeString","optional":true,"forceNew":true},"microsoft_app_type":{"type":"TypeString","optional":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"public_network_access_enabled":{"type":"TypeBool","optional":true,"default":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"sku":{"type":"TypeString","required":true,"forceNew":true},"streaming_endpoint_enabled":{"type":"TypeBool","optional":true,"default":false},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_bot_web_app":{"schema":{"developer_app_insights_api_key":{"type":"TypeString","optional":true},"developer_app_insights_application_id":{"type":"TypeString","optional":true},"developer_app_insights_key":{"type":"TypeString","optional":true},"display_name":{"type":"TypeString","optional":true,"computed":true},"endpoint":{"type":"TypeString","optional":true},"location":{"type":"TypeString","required":true,"forceNew":true},"luis_app_ids":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"luis_key":{"type":"TypeString","optional":true},"microsoft_app_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"sku":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_capacity_reservation":{"schema":{"capacity_reservation_group_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"sku":{"type":"TypeList","required":true,"elem":{"schema":{"capacity":{"type":"TypeInt","required":true},"name":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"zone":{"type":"TypeString","optional":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_capacity_reservation_group":{"schema":{"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"zones":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_cdn_endpoint":{"schema":{"content_types_to_compress":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"delivery_rule":{"type":"TypeList","optional":true,"elem":{"schema":{"cache_expiration_action":{"type":"TypeList","optional":true,"elem":{"schema":{"behavior":{"type":"TypeString","required":true},"duration":{"type":"TypeString","optional":true}}},"maxItems":1},"cache_key_query_string_action":{"type":"TypeList","optional":true,"elem":{"schema":{"behavior":{"type":"TypeString","required":true},"parameters":{"type":"TypeString","optional":true}}},"maxItems":1},"cookies_condition":{"type":"TypeList","optional":true,"elem":{"schema":{"match_values":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"minItems":1},"negate_condition":{"type":"TypeBool","optional":true,"default":false},"operator":{"type":"TypeString","required":true},"selector":{"type":"TypeString","required":true},"transforms":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}}}}},"device_condition":{"type":"TypeList","optional":true,"elem":{"schema":{"match_values":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"},"minItems":1},"negate_condition":{"type":"TypeBool","optional":true,"default":false},"operator":{"type":"TypeString","optional":true,"default":"Equal"}}},"maxItems":1},"http_version_condition":{"type":"TypeList","optional":true,"elem":{"schema":{"match_values":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"},"minItems":1},"negate_condition":{"type":"TypeBool","optional":true,"default":false},"operator":{"type":"TypeString","optional":true,"default":"Equal"}}}},"modify_request_header_action":{"type":"TypeList","optional":true,"elem":{"schema":{"action":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true},"value":{"type":"TypeString","optional":true}}}},"modify_response_header_action":{"type":"TypeList","optional":true,"elem":{"schema":{"action":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true},"value":{"type":"TypeString","optional":true}}}},"name":{"type":"TypeString","required":true},"order":{"type":"TypeInt","required":true},"post_arg_condition":{"type":"TypeList","optional":true,"elem":{"schema":{"match_values":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"minItems":1},"negate_condition":{"type":"TypeBool","optional":true,"default":false},"operator":{"type":"TypeString","required":true},"selector":{"type":"TypeString","required":true},"transforms":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}}}}},"query_string_condition":{"type":"TypeList","optional":true,"elem":{"schema":{"match_values":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"minItems":1},"negate_condition":{"type":"TypeBool","optional":true,"default":false},"operator":{"type":"TypeString","required":true},"transforms":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}}}}},"remote_address_condition":{"type":"TypeList","optional":true,"elem":{"schema":{"match_values":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"minItems":1},"negate_condition":{"type":"TypeBool","optional":true,"default":false},"operator":{"type":"TypeString","required":true}}}},"request_body_condition":{"type":"TypeList","optional":true,"elem":{"schema":{"match_values":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"minItems":1},"negate_condition":{"type":"TypeBool","optional":true,"default":false},"operator":{"type":"TypeString","required":true},"transforms":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}}}}},"request_header_condition":{"type":"TypeList","optional":true,"elem":{"schema":{"match_values":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"minItems":1},"negate_condition":{"type":"TypeBool","optional":true,"default":false},"operator":{"type":"TypeString","required":true},"selector":{"type":"TypeString","required":true},"transforms":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}}}}},"request_method_condition":{"type":"TypeList","optional":true,"elem":{"schema":{"match_values":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"},"minItems":1},"negate_condition":{"type":"TypeBool","optional":true,"default":false},"operator":{"type":"TypeString","optional":true,"default":"Equal"}}},"maxItems":1},"request_scheme_condition":{"type":"TypeList","optional":true,"elem":{"schema":{"match_values":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"},"minItems":1},"negate_condition":{"type":"TypeBool","optional":true,"default":false},"operator":{"type":"TypeString","optional":true,"default":"Equal"}}},"maxItems":1},"request_uri_condition":{"type":"TypeList","optional":true,"elem":{"schema":{"match_values":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"minItems":1},"negate_condition":{"type":"TypeBool","optional":true,"default":false},"operator":{"type":"TypeString","required":true},"transforms":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}}}}},"url_file_extension_condition":{"type":"TypeList","optional":true,"elem":{"schema":{"match_values":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"minItems":1},"negate_condition":{"type":"TypeBool","optional":true,"default":false},"operator":{"type":"TypeString","required":true},"transforms":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}}}}},"url_file_name_condition":{"type":"TypeList","optional":true,"elem":{"schema":{"match_values":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"minItems":1},"negate_condition":{"type":"TypeBool","optional":true,"default":false},"operator":{"type":"TypeString","required":true},"transforms":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}}}}},"url_path_condition":{"type":"TypeList","optional":true,"elem":{"schema":{"match_values":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"minItems":1},"negate_condition":{"type":"TypeBool","optional":true,"default":false},"operator":{"type":"TypeString","required":true},"transforms":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}}}}},"url_redirect_action":{"type":"TypeList","optional":true,"elem":{"schema":{"fragment":{"type":"TypeString","optional":true},"hostname":{"type":"TypeString","optional":true},"path":{"type":"TypeString","optional":true},"protocol":{"type":"TypeString","optional":true,"default":"MatchRequest"},"query_string":{"type":"TypeString","optional":true},"redirect_type":{"type":"TypeString","required":true}}},"maxItems":1},"url_rewrite_action":{"type":"TypeList","optional":true,"elem":{"schema":{"destination":{"type":"TypeString","required":true},"preserve_unmatched_path":{"type":"TypeBool","optional":true,"default":true},"source_pattern":{"type":"TypeString","required":true}}},"maxItems":1}}}},"fqdn":{"type":"TypeString","computed":true},"geo_filter":{"type":"TypeList","optional":true,"elem":{"schema":{"action":{"type":"TypeString","required":true},"country_codes":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}},"relative_path":{"type":"TypeString","required":true}}}},"global_delivery_rule":{"type":"TypeList","optional":true,"elem":{"schema":{"cache_expiration_action":{"type":"TypeList","optional":true,"elem":{"schema":{"behavior":{"type":"TypeString","required":true},"duration":{"type":"TypeString","optional":true}}},"maxItems":1},"cache_key_query_string_action":{"type":"TypeList","optional":true,"elem":{"schema":{"behavior":{"type":"TypeString","required":true},"parameters":{"type":"TypeString","optional":true}}},"maxItems":1},"modify_request_header_action":{"type":"TypeList","optional":true,"elem":{"schema":{"action":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true},"value":{"type":"TypeString","optional":true}}}},"modify_response_header_action":{"type":"TypeList","optional":true,"elem":{"schema":{"action":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true},"value":{"type":"TypeString","optional":true}}}},"url_redirect_action":{"type":"TypeList","optional":true,"elem":{"schema":{"fragment":{"type":"TypeString","optional":true},"hostname":{"type":"TypeString","optional":true},"path":{"type":"TypeString","optional":true},"protocol":{"type":"TypeString","optional":true,"default":"MatchRequest"},"query_string":{"type":"TypeString","optional":true},"redirect_type":{"type":"TypeString","required":true}}},"maxItems":1},"url_rewrite_action":{"type":"TypeList","optional":true,"elem":{"schema":{"destination":{"type":"TypeString","required":true},"preserve_unmatched_path":{"type":"TypeBool","optional":true,"default":true},"source_pattern":{"type":"TypeString","required":true}}},"maxItems":1}}},"maxItems":1},"is_compression_enabled":{"type":"TypeBool","optional":true},"is_http_allowed":{"type":"TypeBool","optional":true,"default":true},"is_https_allowed":{"type":"TypeBool","optional":true,"default":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"optimization_type":{"type":"TypeString","optional":true},"origin":{"type":"TypeSet","required":true,"forceNew":true,"elem":{"schema":{"host_name":{"type":"TypeString","required":true,"forceNew":true},"http_port":{"type":"TypeInt","optional":true,"default":80,"forceNew":true},"https_port":{"type":"TypeInt","optional":true,"default":443,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true}}}},"origin_host_header":{"type":"TypeString","optional":true},"origin_path":{"type":"TypeString","optional":true},"probe_path":{"type":"TypeString","optional":true},"profile_name":{"type":"TypeString","required":true,"forceNew":true},"querystring_caching_behaviour":{"type":"TypeString","optional":true,"default":"IgnoreQueryString"},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_cdn_endpoint_custom_domain":{"schema":{"cdn_endpoint_id":{"type":"TypeString","required":true,"forceNew":true},"cdn_managed_https":{"type":"TypeList","optional":true,"elem":{"schema":{"certificate_type":{"type":"TypeString","required":true},"protocol_type":{"type":"TypeString","required":true},"tls_version":{"type":"TypeString","optional":true,"default":"TLS12"}}},"maxItems":1,"minItems":1},"host_name":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"user_managed_https":{"type":"TypeList","optional":true,"elem":{"schema":{"key_vault_secret_id":{"type":"TypeString","required":true},"tls_version":{"type":"TypeString","optional":true,"default":"TLS12"}}},"maxItems":1,"minItems":1}},"timeouts":{"create":720,"read":5,"delete":720,"update":1440}},"azurerm_cdn_frontdoor_custom_domain":{"schema":{"cdn_frontdoor_profile_id":{"type":"TypeString","required":true,"forceNew":true},"dns_zone_id":{"type":"TypeString","optional":true},"expiration_date":{"type":"TypeString","computed":true},"host_name":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"tls":{"type":"TypeList","required":true,"elem":{"schema":{"cdn_frontdoor_secret_id":{"type":"TypeString","optional":true,"computed":true},"certificate_type":{"type":"TypeString","optional":true,"default":"ManagedCertificate"},"minimum_tls_version":{"type":"TypeString","optional":true,"default":"TLS12"}}},"maxItems":1},"validation_token":{"type":"TypeString","computed":true}},"timeouts":{"create":720,"read":5,"delete":720,"update":1440}},"azurerm_cdn_frontdoor_custom_domain_association":{"schema":{"cdn_frontdoor_custom_domain_id":{"type":"TypeString","required":true,"forceNew":true},"cdn_frontdoor_route_ids":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_cdn_frontdoor_endpoint":{"schema":{"cdn_frontdoor_profile_id":{"type":"TypeString","required":true,"forceNew":true},"enabled":{"type":"TypeBool","optional":true,"default":true},"host_name":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_cdn_frontdoor_firewall_policy":{"schema":{"custom_block_response_body":{"type":"TypeString","optional":true},"custom_block_response_status_code":{"type":"TypeInt","optional":true},"custom_rule":{"type":"TypeList","optional":true,"elem":{"schema":{"action":{"type":"TypeString","required":true},"enabled":{"type":"TypeBool","optional":true,"default":true},"match_condition":{"type":"TypeList","optional":true,"elem":{"schema":{"match_values":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"maxItems":600},"match_variable":{"type":"TypeString","required":true},"negation_condition":{"type":"TypeBool","optional":true,"default":false},"operator":{"type":"TypeString","required":true},"selector":{"type":"TypeString","optional":true},"transforms":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"maxItems":5}}},"maxItems":10},"name":{"type":"TypeString","required":true},"priority":{"type":"TypeInt","optional":true,"default":1},"rate_limit_duration_in_minutes":{"type":"TypeInt","optional":true,"default":1},"rate_limit_threshold":{"type":"TypeInt","optional":true,"default":10},"type":{"type":"TypeString","required":true}}},"maxItems":100},"enabled":{"type":"TypeBool","optional":true,"default":true},"frontend_endpoint_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"managed_rule":{"type":"TypeList","optional":true,"elem":{"schema":{"action":{"type":"TypeString","required":true},"exclusion":{"type":"TypeList","optional":true,"elem":{"schema":{"match_variable":{"type":"TypeString","required":true},"operator":{"type":"TypeString","required":true},"selector":{"type":"TypeString","required":true}}},"maxItems":100},"override":{"type":"TypeList","optional":true,"elem":{"schema":{"exclusion":{"type":"TypeList","optional":true,"elem":{"schema":{"match_variable":{"type":"TypeString","required":true},"operator":{"type":"TypeString","required":true},"selector":{"type":"TypeString","required":true}}},"maxItems":100},"rule":{"type":"TypeList","optional":true,"elem":{"schema":{"action":{"type":"TypeString","required":true},"enabled":{"type":"TypeBool","optional":true,"default":false},"exclusion":{"type":"TypeList","optional":true,"elem":{"schema":{"match_variable":{"type":"TypeString","required":true},"operator":{"type":"TypeString","required":true},"selector":{"type":"TypeString","required":true}}},"maxItems":100},"rule_id":{"type":"TypeString","required":true}}},"maxItems":1000},"rule_group_name":{"type":"TypeString","required":true}}},"maxItems":100},"type":{"type":"TypeString","required":true},"version":{"type":"TypeString","required":true}}},"maxItems":100},"mode":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true,"forceNew":true},"redirect_url":{"type":"TypeString","optional":true},"request_body_check_enabled":{"type":"TypeBool","optional":true,"default":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"sku_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_cdn_frontdoor_origin":{"schema":{"cdn_frontdoor_origin_group_id":{"type":"TypeString","required":true,"forceNew":true},"certificate_name_check_enabled":{"type":"TypeBool","required":true},"enabled":{"type":"TypeBool","optional":true,"default":true},"host_name":{"type":"TypeString","required":true},"http_port":{"type":"TypeInt","optional":true,"default":80},"https_port":{"type":"TypeInt","optional":true,"default":443},"name":{"type":"TypeString","required":true,"forceNew":true},"origin_host_header":{"type":"TypeString","optional":true},"priority":{"type":"TypeInt","optional":true,"default":1},"private_link":{"type":"TypeList","optional":true,"elem":{"schema":{"location":{"type":"TypeString","required":true,"forceNew":true},"private_link_target_id":{"type":"TypeString","required":true},"request_message":{"type":"TypeString","optional":true,"default":"Access request for CDN FrontDoor Private Link Origin"},"target_type":{"type":"TypeString","optional":true}}},"maxItems":1},"weight":{"type":"TypeInt","optional":true,"default":500}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_cdn_frontdoor_origin_group":{"schema":{"cdn_frontdoor_profile_id":{"type":"TypeString","required":true,"forceNew":true},"health_probe":{"type":"TypeList","optional":true,"elem":{"schema":{"interval_in_seconds":{"type":"TypeInt","required":true},"path":{"type":"TypeString","optional":true,"default":"/"},"protocol":{"type":"TypeString","required":true},"request_type":{"type":"TypeString","optional":true,"default":"HEAD"}}},"maxItems":1},"load_balancing":{"type":"TypeList","required":true,"elem":{"schema":{"additional_latency_in_milliseconds":{"type":"TypeInt","optional":true,"default":50},"sample_size":{"type":"TypeInt","optional":true,"default":4},"successful_samples_required":{"type":"TypeInt","optional":true,"default":3}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"restore_traffic_time_to_healed_or_new_endpoint_in_minutes":{"type":"TypeInt","optional":true,"default":10},"session_affinity_enabled":{"type":"TypeBool","optional":true,"default":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_cdn_frontdoor_profile":{"schema":{"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"resource_guid":{"type":"TypeString","computed":true},"response_timeout_seconds":{"type":"TypeInt","optional":true,"default":120},"sku_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_cdn_frontdoor_route":{"schema":{"cache":{"type":"TypeList","optional":true,"elem":{"schema":{"compression_enabled":{"type":"TypeBool","optional":true,"default":false},"content_types_to_compress":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"query_string_caching_behavior":{"type":"TypeString","optional":true,"default":"IgnoreQueryString"},"query_strings":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"cdn_frontdoor_custom_domain_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"cdn_frontdoor_endpoint_id":{"type":"TypeString","required":true,"forceNew":true},"cdn_frontdoor_origin_group_id":{"type":"TypeString","required":true},"cdn_frontdoor_origin_ids":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}},"cdn_frontdoor_origin_path":{"type":"TypeString","optional":true},"cdn_frontdoor_rule_set_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"enabled":{"type":"TypeBool","optional":true,"default":true},"forwarding_protocol":{"type":"TypeString","optional":true,"default":"MatchRequest"},"https_redirect_enabled":{"type":"TypeBool","optional":true,"default":true},"link_to_default_domain":{"type":"TypeBool","optional":true,"default":true},"name":{"type":"TypeString","required":true,"forceNew":true},"patterns_to_match":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}},"supported_protocols":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"},"maxItems":2}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_cdn_frontdoor_rule":{"schema":{"actions":{"type":"TypeList","required":true,"elem":{"schema":{"request_header_action":{"type":"TypeList","optional":true,"elem":{"schema":{"header_action":{"type":"TypeString","required":true},"header_name":{"type":"TypeString","required":true},"value":{"type":"TypeString","optional":true}}}},"response_header_action":{"type":"TypeList","optional":true,"elem":{"schema":{"header_action":{"type":"TypeString","required":true},"header_name":{"type":"TypeString","required":true},"value":{"type":"TypeString","optional":true}}}},"route_configuration_override_action":{"type":"TypeList","optional":true,"elem":{"schema":{"cache_behavior":{"type":"TypeString","optional":true},"cache_duration":{"type":"TypeString","optional":true},"cdn_frontdoor_origin_group_id":{"type":"TypeString","optional":true},"compression_enabled":{"type":"TypeBool","optional":true},"forwarding_protocol":{"type":"TypeString","optional":true},"query_string_caching_behavior":{"type":"TypeString","optional":true},"query_string_parameters":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"maxItems":100}}},"maxItems":1},"url_redirect_action":{"type":"TypeList","optional":true,"elem":{"schema":{"destination_fragment":{"type":"TypeString","optional":true,"default":""},"destination_hostname":{"type":"TypeString","required":true},"destination_path":{"type":"TypeString","optional":true,"default":""},"query_string":{"type":"TypeString","optional":true,"default":""},"redirect_protocol":{"type":"TypeString","optional":true,"default":"MatchRequest"},"redirect_type":{"type":"TypeString","required":true}}},"maxItems":1},"url_rewrite_action":{"type":"TypeList","optional":true,"elem":{"schema":{"destination":{"type":"TypeString","required":true},"preserve_unmatched_path":{"type":"TypeBool","optional":true,"default":false},"source_pattern":{"type":"TypeString","required":true}}},"maxItems":1}}},"maxItems":1},"behavior_on_match":{"type":"TypeString","optional":true,"default":"Continue"},"cdn_frontdoor_rule_set_id":{"type":"TypeString","required":true,"forceNew":true},"cdn_frontdoor_rule_set_name":{"type":"TypeString","computed":true},"conditions":{"type":"TypeList","optional":true,"elem":{"schema":{"client_port_condition":{"type":"TypeList","optional":true,"elem":{"schema":{"match_values":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"maxItems":25},"negate_condition":{"type":"TypeBool","optional":true,"default":false},"operator":{"type":"TypeString","required":true}}}},"cookies_condition":{"type":"TypeList","optional":true,"elem":{"schema":{"cookie_name":{"type":"TypeString","required":true},"match_values":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"maxItems":25},"negate_condition":{"type":"TypeBool","optional":true,"default":false},"operator":{"type":"TypeString","required":true},"transforms":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":4}}}},"host_name_condition":{"type":"TypeList","optional":true,"elem":{"schema":{"match_values":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"maxItems":25},"negate_condition":{"type":"TypeBool","optional":true,"default":false},"operator":{"type":"TypeString","required":true},"transforms":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":4}}}},"http_version_condition":{"type":"TypeList","optional":true,"elem":{"schema":{"match_values":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"},"maxItems":4},"negate_condition":{"type":"TypeBool","optional":true,"default":false},"operator":{"type":"TypeString","optional":true,"default":"Equal"}}}},"is_device_condition":{"type":"TypeList","optional":true,"elem":{"schema":{"match_values":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"maxItems":1},"negate_condition":{"type":"TypeBool","optional":true,"default":false},"operator":{"type":"TypeString","optional":true,"default":"Equal"}}}},"post_args_condition":{"type":"TypeList","optional":true,"elem":{"schema":{"match_values":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"maxItems":25},"negate_condition":{"type":"TypeBool","optional":true,"default":false},"operator":{"type":"TypeString","required":true},"post_args_name":{"type":"TypeString","required":true},"transforms":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":4}}}},"query_string_condition":{"type":"TypeList","optional":true,"elem":{"schema":{"match_values":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"maxItems":25},"negate_condition":{"type":"TypeBool","optional":true,"default":false},"operator":{"type":"TypeString","required":true},"transforms":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":4}}}},"remote_address_condition":{"type":"TypeList","optional":true,"elem":{"schema":{"match_values":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"maxItems":25},"negate_condition":{"type":"TypeBool","optional":true,"default":false},"operator":{"type":"TypeString","optional":true,"default":"IPMatch"}}}},"request_body_condition":{"type":"TypeList","optional":true,"elem":{"schema":{"match_values":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"maxItems":25},"negate_condition":{"type":"TypeBool","optional":true,"default":false},"operator":{"type":"TypeString","required":true},"transforms":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":4}}}},"request_header_condition":{"type":"TypeList","optional":true,"elem":{"schema":{"header_name":{"type":"TypeString","required":true},"match_values":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"maxItems":25},"negate_condition":{"type":"TypeBool","optional":true,"default":false},"operator":{"type":"TypeString","required":true},"transforms":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":4}}}},"request_method_condition":{"type":"TypeList","optional":true,"elem":{"schema":{"match_values":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"},"maxItems":7},"negate_condition":{"type":"TypeBool","optional":true,"default":false},"operator":{"type":"TypeString","optional":true,"default":"Equal"}}}},"request_scheme_condition":{"type":"TypeList","optional":true,"elem":{"schema":{"match_values":{"type":"TypeList","optional":true,"elem":{"type":"TypeString","default":"HTTP"},"maxItems":1},"negate_condition":{"type":"TypeBool","optional":true,"default":false},"operator":{"type":"TypeString","optional":true,"default":"Equal"}}}},"request_uri_condition":{"type":"TypeList","optional":true,"elem":{"schema":{"match_values":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"maxItems":25},"negate_condition":{"type":"TypeBool","optional":true,"default":false},"operator":{"type":"TypeString","required":true},"transforms":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":4}}}},"server_port_condition":{"type":"TypeList","optional":true,"elem":{"schema":{"match_values":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"},"maxItems":2},"negate_condition":{"type":"TypeBool","optional":true,"default":false},"operator":{"type":"TypeString","required":true}}}},"socket_address_condition":{"type":"TypeList","optional":true,"elem":{"schema":{"match_values":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"maxItems":25},"negate_condition":{"type":"TypeBool","optional":true,"default":false},"operator":{"type":"TypeString","optional":true,"default":"IPMatch"}}}},"ssl_protocol_condition":{"type":"TypeList","optional":true,"elem":{"schema":{"match_values":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"},"maxItems":3},"negate_condition":{"type":"TypeBool","optional":true,"default":false},"operator":{"type":"TypeString","optional":true,"default":"Equal"}}}},"url_file_extension_condition":{"type":"TypeList","optional":true,"elem":{"schema":{"match_values":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"maxItems":25},"negate_condition":{"type":"TypeBool","optional":true,"default":false},"operator":{"type":"TypeString","required":true},"transforms":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":4}}}},"url_filename_condition":{"type":"TypeList","optional":true,"elem":{"schema":{"match_values":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"maxItems":25},"negate_condition":{"type":"TypeBool","optional":true,"default":false},"operator":{"type":"TypeString","required":true},"transforms":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":4}}}},"url_path_condition":{"type":"TypeList","optional":true,"elem":{"schema":{"match_values":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"maxItems":25},"negate_condition":{"type":"TypeBool","optional":true,"default":false},"operator":{"type":"TypeString","required":true},"transforms":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":4}}}}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"order":{"type":"TypeInt","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_cdn_frontdoor_rule_set":{"schema":{"cdn_frontdoor_profile_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_cdn_frontdoor_secret":{"schema":{"cdn_frontdoor_profile_id":{"type":"TypeString","required":true,"forceNew":true},"cdn_frontdoor_profile_name":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true,"forceNew":true},"secret":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"customer_certificate":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"key_vault_certificate_id":{"type":"TypeString","required":true,"forceNew":true},"subject_alternative_names":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}}}}},"maxItems":1}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_cdn_frontdoor_security_policy":{"schema":{"cdn_frontdoor_profile_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"security_policies":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"firewall":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"association":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"domain":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"active":{"type":"TypeBool","computed":true},"cdn_frontdoor_domain_id":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":500},"patterns_to_match":{"type":"TypeList","required":true,"forceNew":true,"elem":{"type":"TypeString"},"maxItems":1}}},"maxItems":1},"cdn_frontdoor_firewall_policy_id":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1}}},"maxItems":1}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_cdn_profile":{"schema":{"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"sku":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_chaos_studio_capability":{"schema":{"capability_type":{"type":"TypeString","required":true,"forceNew":true},"chaos_studio_target_id":{"type":"TypeString","required":true,"forceNew":true},"urn":{"type":"TypeString","computed":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_chaos_studio_experiment":{"schema":{"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"selectors":{"type":"TypeList","required":true,"elem":{"schema":{"chaos_studio_target_ids":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true}}},"minItems":1},"steps":{"type":"TypeList","required":true,"elem":{"schema":{"branch":{"type":"TypeList","required":true,"elem":{"schema":{"actions":{"type":"TypeList","required":true,"elem":{"schema":{"action_type":{"type":"TypeString","required":true},"duration":{"type":"TypeString","optional":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"selector_name":{"type":"TypeString","optional":true},"urn":{"type":"TypeString","optional":true}}},"minItems":1},"name":{"type":"TypeString","required":true}}},"minItems":1},"name":{"type":"TypeString","required":true}}},"minItems":1}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_chaos_studio_target":{"schema":{"location":{"type":"TypeString","required":true,"forceNew":true},"target_resource_id":{"type":"TypeString","required":true,"forceNew":true},"target_type":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_cognitive_account":{"schema":{"custom_question_answering_search_service_id":{"type":"TypeString","optional":true},"custom_question_answering_search_service_key":{"type":"TypeString","optional":true},"custom_subdomain_name":{"type":"TypeString","optional":true,"forceNew":true},"customer_managed_key":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_client_id":{"type":"TypeString","optional":true},"key_vault_key_id":{"type":"TypeString","required":true}}},"maxItems":1},"dynamic_throttling_enabled":{"type":"TypeBool","optional":true},"endpoint":{"type":"TypeString","computed":true},"fqdns":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"kind":{"type":"TypeString","required":true,"forceNew":true},"local_auth_enabled":{"type":"TypeBool","optional":true,"default":true},"location":{"type":"TypeString","required":true,"forceNew":true},"metrics_advisor_aad_client_id":{"type":"TypeString","optional":true,"forceNew":true},"metrics_advisor_aad_tenant_id":{"type":"TypeString","optional":true,"forceNew":true},"metrics_advisor_super_user_name":{"type":"TypeString","optional":true,"forceNew":true},"metrics_advisor_website_name":{"type":"TypeString","optional":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"network_acls":{"type":"TypeList","optional":true,"elem":{"schema":{"default_action":{"type":"TypeString","required":true},"ip_rules":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"virtual_network_rules":{"type":"TypeSet","optional":true,"elem":{"schema":{"ignore_missing_vnet_service_endpoint":{"type":"TypeBool","optional":true,"default":false},"subnet_id":{"type":"TypeString","required":true}}}}}},"maxItems":1},"outbound_network_access_restricted":{"type":"TypeBool","optional":true,"default":false},"primary_access_key":{"type":"TypeString","computed":true},"public_network_access_enabled":{"type":"TypeBool","optional":true,"default":true},"qna_runtime_endpoint":{"type":"TypeString","optional":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"secondary_access_key":{"type":"TypeString","computed":true},"sku_name":{"type":"TypeString","required":true},"storage":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_client_id":{"type":"TypeString","optional":true},"storage_account_id":{"type":"TypeString","required":true}}}},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_cognitive_account_customer_managed_key":{"schema":{"cognitive_account_id":{"type":"TypeString","required":true,"forceNew":true},"identity_client_id":{"type":"TypeString","optional":true},"key_vault_key_id":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_cognitive_deployment":{"schema":{"cognitive_account_id":{"type":"TypeString","required":true,"forceNew":true},"model":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"format":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"version":{"type":"TypeString","optional":true}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"rai_policy_name":{"type":"TypeString","optional":true},"sku":{"type":"TypeList","required":true,"elem":{"schema":{"capacity":{"type":"TypeInt","optional":true,"default":1},"family":{"type":"TypeString","optional":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"size":{"type":"TypeString","optional":true,"forceNew":true},"tier":{"type":"TypeString","optional":true,"forceNew":true}}},"maxItems":1},"version_upgrade_option":{"type":"TypeString","optional":true,"default":"OnceNewDefaultVersionAvailable"}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_communication_service":{"schema":{"data_location":{"type":"TypeString","optional":true,"default":"United States","forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"primary_connection_string":{"type":"TypeString","computed":true},"primary_key":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"secondary_connection_string":{"type":"TypeString","computed":true},"secondary_key":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_communication_service_email_domain_association":{"schema":{"communication_service_id":{"type":"TypeString","required":true,"forceNew":true},"email_service_domain_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":5,"read":5,"delete":5}},"azurerm_confidential_ledger":{"schema":{"azuread_based_service_principal":{"type":"TypeList","required":true,"elem":{"schema":{"ledger_role_name":{"type":"TypeString","required":true},"principal_id":{"type":"TypeString","required":true},"tenant_id":{"type":"TypeString","required":true}}},"minItems":1},"certificate_based_security_principal":{"type":"TypeList","optional":true,"elem":{"schema":{"ledger_role_name":{"type":"TypeString","required":true},"pem_public_key":{"type":"TypeString","required":true}}}},"identity_service_endpoint":{"type":"TypeString","computed":true},"ledger_endpoint":{"type":"TypeString","computed":true},"ledger_type":{"type":"TypeString","required":true,"forceNew":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_consumption_budget_management_group":{"schema":{"amount":{"type":"TypeFloat","required":true},"etag":{"type":"TypeString","optional":true,"computed":true},"filter":{"type":"TypeList","optional":true,"elem":{"schema":{"dimension":{"type":"TypeSet","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"operator":{"type":"TypeString","optional":true,"default":"In"},"values":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"minItems":1}}}},"tag":{"type":"TypeSet","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"operator":{"type":"TypeString","optional":true,"default":"In"},"values":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}}}}}}},"maxItems":1},"management_group_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"notification":{"type":"TypeSet","required":true,"elem":{"schema":{"contact_emails":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"minItems":1},"enabled":{"type":"TypeBool","optional":true,"default":true},"operator":{"type":"TypeString","required":true},"threshold":{"type":"TypeInt","required":true},"threshold_type":{"type":"TypeString","optional":true,"default":"Actual","forceNew":true}}},"maxItems":5,"minItems":1},"time_grain":{"type":"TypeString","optional":true,"default":"Monthly","forceNew":true},"time_period":{"type":"TypeList","required":true,"elem":{"schema":{"end_date":{"type":"TypeString","optional":true,"computed":true},"start_date":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1,"minItems":1}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_consumption_budget_resource_group":{"schema":{"amount":{"type":"TypeFloat","required":true},"etag":{"type":"TypeString","optional":true,"computed":true},"filter":{"type":"TypeList","optional":true,"elem":{"schema":{"dimension":{"type":"TypeSet","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"operator":{"type":"TypeString","optional":true,"default":"In"},"values":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"minItems":1}}}},"tag":{"type":"TypeSet","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"operator":{"type":"TypeString","optional":true,"default":"In"},"values":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}}}}}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"notification":{"type":"TypeSet","required":true,"elem":{"schema":{"contact_emails":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"contact_groups":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"contact_roles":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"enabled":{"type":"TypeBool","optional":true,"default":true},"operator":{"type":"TypeString","required":true},"threshold":{"type":"TypeInt","required":true},"threshold_type":{"type":"TypeString","optional":true,"default":"Actual","forceNew":true}}},"maxItems":5,"minItems":1},"resource_group_id":{"type":"TypeString","required":true,"forceNew":true},"time_grain":{"type":"TypeString","optional":true,"default":"Monthly","forceNew":true},"time_period":{"type":"TypeList","required":true,"elem":{"schema":{"end_date":{"type":"TypeString","optional":true,"computed":true},"start_date":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1,"minItems":1}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_consumption_budget_subscription":{"schema":{"amount":{"type":"TypeFloat","required":true},"etag":{"type":"TypeString","optional":true,"computed":true},"filter":{"type":"TypeList","optional":true,"elem":{"schema":{"dimension":{"type":"TypeSet","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"operator":{"type":"TypeString","optional":true,"default":"In"},"values":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"minItems":1}}}},"tag":{"type":"TypeSet","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"operator":{"type":"TypeString","optional":true,"default":"In"},"values":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}}}}}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"notification":{"type":"TypeSet","required":true,"elem":{"schema":{"contact_emails":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"contact_groups":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"contact_roles":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"enabled":{"type":"TypeBool","optional":true,"default":true},"operator":{"type":"TypeString","required":true},"threshold":{"type":"TypeInt","required":true},"threshold_type":{"type":"TypeString","optional":true,"default":"Actual","forceNew":true}}},"maxItems":5,"minItems":1},"subscription_id":{"type":"TypeString","required":true,"forceNew":true},"time_grain":{"type":"TypeString","optional":true,"default":"Monthly","forceNew":true},"time_period":{"type":"TypeList","required":true,"elem":{"schema":{"end_date":{"type":"TypeString","optional":true,"computed":true},"start_date":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1,"minItems":1}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_container_app":{"schema":{"container_app_environment_id":{"type":"TypeString","required":true,"description":"The ID of the Container App Environment to host this Container App.","forceNew":true},"custom_domain_verification_id":{"type":"TypeString","description":"The ID of the Custom Domain Verification for this Container App.","computed":true},"dapr":{"type":"TypeList","optional":true,"elem":{"schema":{"app_id":{"type":"TypeString","required":true,"description":"The Dapr Application Identifier."},"app_port":{"type":"TypeInt","optional":true,"description":"The port which the application is listening on. This is the same as the `ingress` port."},"app_protocol":{"type":"TypeString","optional":true,"default":"http","description":"The protocol for the app. Possible values include `http` and `grpc`. Defaults to `http`."}}},"maxItems":1},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"ingress":{"type":"TypeList","optional":true,"elem":{"schema":{"allow_insecure_connections":{"type":"TypeBool","optional":true,"default":false,"description":"Should this ingress allow insecure connections?"},"custom_domain":{"type":"TypeList","computed":true,"elem":{"schema":{"certificate_binding_type":{"type":"TypeString","description":"The Binding type. Possible values include `Disabled` and `SniEnabled`. Defaults to `Disabled`","computed":true},"certificate_id":{"type":"TypeString","description":"The ID of the Certificate.","computed":true},"name":{"type":"TypeString","description":"The hostname of the Certificate. Must be the CN or a named SAN in the certificate.","computed":true}}}},"exposed_port":{"type":"TypeInt","optional":true,"description":"The exposed port on the container for the Ingress traffic."},"external_enabled":{"type":"TypeBool","optional":true,"default":false,"description":"Is this an external Ingress."},"fqdn":{"type":"TypeString","description":"The FQDN of the ingress.","computed":true},"ip_security_restriction":{"type":"TypeList","optional":true,"elem":{"schema":{"action":{"type":"TypeString","required":true,"description":"The action. Allow or Deny."},"description":{"type":"TypeString","optional":true,"description":"Describe the IP restriction rule that is being sent to the container-app."},"ip_address_range":{"type":"TypeString","required":true,"description":"The incoming IP address or range of IP addresses (in CIDR notation)."},"name":{"type":"TypeString","required":true,"description":"Name for the IP restriction rule."}}}},"target_port":{"type":"TypeInt","required":true,"description":"The target port on the container for the Ingress traffic."},"traffic_weight":{"type":"TypeList","required":true,"elem":{"schema":{"label":{"type":"TypeString","optional":true,"description":"The label to apply to the revision as a name prefix for routing traffic."},"latest_revision":{"type":"TypeBool","optional":true,"default":false,"description":"This traffic Weight relates to the latest stable Container Revision."},"percentage":{"type":"TypeInt","required":true,"description":"The percentage of traffic to send to this revision."},"revision_suffix":{"type":"TypeString","optional":true,"description":"The suffix string to append to the revision. This must be unique for the Container App's lifetime. A default hash created by the service will be used if this value is omitted."}}}},"transport":{"type":"TypeString","optional":true,"default":"auto","description":"The transport method for the Ingress. Possible values include `auto`, `http`, and `http2`, `tcp`. Defaults to `auto`"}}},"maxItems":1},"latest_revision_fqdn":{"type":"TypeString","description":"The FQDN of the Latest Revision of the Container App.","computed":true},"latest_revision_name":{"type":"TypeString","description":"The name of the latest Container Revision.","computed":true},"location":{"type":"TypeString","computed":true},"max_inactive_revisions":{"type":"TypeInt","optional":true},"name":{"type":"TypeString","required":true,"description":"The name for this Container App.","forceNew":true},"outbound_ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"registry":{"type":"TypeList","optional":true,"elem":{"schema":{"identity":{"type":"TypeString","optional":true,"description":"ID of the System or User Managed Identity used to pull images from the Container Registry"},"password_secret_name":{"type":"TypeString","optional":true,"description":"The name of the Secret Reference containing the password value for this user on the Container Registry."},"server":{"type":"TypeString","required":true,"description":"The hostname for the Container Registry."},"username":{"type":"TypeString","optional":true,"description":"The username to use for this Container Registry."}}},"minItems":1},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"revision_mode":{"type":"TypeString","required":true},"secret":{"type":"TypeSet","optional":true,"elem":{"schema":{"identity":{"type":"TypeString","optional":true,"description":"The identity to use for accessing key vault reference."},"key_vault_secret_id":{"type":"TypeString","optional":true,"description":"The Key Vault Secret ID. Could be either one of `id` or `versionless_id`."},"name":{"type":"TypeString","required":true,"description":"The secret name."},"value":{"type":"TypeString","optional":true,"description":"The value for this secret."}}}},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"template":{"type":"TypeList","required":true,"elem":{"schema":{"azure_queue_scale_rule":{"type":"TypeList","optional":true,"elem":{"schema":{"authentication":{"type":"TypeList","required":true,"elem":{"schema":{"secret_name":{"type":"TypeString","required":true},"trigger_parameter":{"type":"TypeString","required":true}}},"minItems":1},"name":{"type":"TypeString","required":true},"queue_length":{"type":"TypeInt","required":true},"queue_name":{"type":"TypeString","required":true}}}},"container":{"type":"TypeList","required":true,"elem":{"schema":{"args":{"type":"TypeList","optional":true,"description":"A list of args to pass to the container.","elem":{"type":"TypeString"}},"command":{"type":"TypeList","optional":true,"description":"A command to pass to the container to override the default. This is provided as a list of command line elements without spaces.","elem":{"type":"TypeString"}},"cpu":{"type":"TypeFloat","required":true,"description":"The amount of vCPU to allocate to the container. Possible values include `0.25`, `0.5`, `0.75`, `1.0`, `1.25`, `1.5`, `1.75`, and `2.0`. **NOTE:** `cpu` and `memory` must be specified in `0.25'/'0.5Gi` combination increments. e.g. `1.0` / `2.0` or `0.5` / `1.0`. When there's a workload profile specified, there's no such constraint."},"env":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true,"description":"The name of the environment variable for the container."},"secret_name":{"type":"TypeString","optional":true,"description":"The name of the secret that contains the value for this environment variable."},"value":{"type":"TypeString","optional":true,"description":"The value for this environment variable. **NOTE:** This value is ignored if `secret_name` is used"}}},"minItems":1},"ephemeral_storage":{"type":"TypeString","description":"The amount of ephemeral storage available to the Container App.","computed":true},"image":{"type":"TypeString","required":true,"description":"The image to use to create the container."},"liveness_probe":{"type":"TypeList","optional":true,"elem":{"schema":{"failure_count_threshold":{"type":"TypeInt","optional":true,"default":3,"description":"The number of consecutive failures required to consider this probe as failed. Possible values are between `1` and `10`. Defaults to `3`."},"header":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true,"description":"The HTTP Header Name."},"value":{"type":"TypeString","required":true,"description":"The HTTP Header value."}}}},"host":{"type":"TypeString","optional":true,"description":"The probe hostname. Defaults to the pod IP address. Setting a value for `Host` in `headers` can be used to override this for `http` and `https` type probes."},"initial_delay":{"type":"TypeInt","optional":true,"default":1,"description":"The time in seconds to wait after the container has started before the probe is started."},"interval_seconds":{"type":"TypeInt","optional":true,"default":10,"description":"How often, in seconds, the probe should run. Possible values are between `1` and `240`. Defaults to `10`"},"path":{"type":"TypeString","optional":true,"description":"The URI to use with the `host` for http type probes. Not valid for `TCP` type probes. Defaults to `/`.","computed":true},"port":{"type":"TypeInt","required":true,"description":"The port number on which to connect. Possible values are between `1` and `65535`."},"termination_grace_period_seconds":{"type":"TypeInt","description":"The time in seconds after the container is sent the termination signal before the process if forcibly killed.","computed":true},"timeout":{"type":"TypeInt","optional":true,"default":1,"description":"Time in seconds after which the probe times out. Possible values are between `1` an `240`. Defaults to `1`."},"transport":{"type":"TypeString","required":true,"description":"Type of probe. Possible values are `TCP`, `HTTP`, and `HTTPS`."}}},"minItems":1},"memory":{"type":"TypeString","required":true,"description":"The amount of memory to allocate to the container. Possible values include `0.5Gi`, `1.0Gi`, `1.5Gi`, `2.0Gi`, `2.5Gi`, `3.0Gi`, `3.5Gi`, and `4.0Gi`. **NOTE:** `cpu` and `memory` must be specified in `0.25'/'0.5Gi` combination increments. e.g. `1.25` / `2.5Gi` or `0.75` / `1.5Gi`. When there's a workload profile specified, there's no such constraint."},"name":{"type":"TypeString","required":true,"description":"The name of the container."},"readiness_probe":{"type":"TypeList","optional":true,"elem":{"schema":{"failure_count_threshold":{"type":"TypeInt","optional":true,"default":3,"description":"The number of consecutive failures required to consider this probe as failed. Possible values are between `1` and `10`. Defaults to `3`."},"header":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true,"description":"The HTTP Header Name."},"value":{"type":"TypeString","required":true,"description":"The HTTP Header value."}}}},"host":{"type":"TypeString","optional":true,"description":"The probe hostname. Defaults to the pod IP address. Setting a value for `Host` in `headers` can be used to override this for `http` and `https` type probes."},"interval_seconds":{"type":"TypeInt","optional":true,"default":10,"description":"How often, in seconds, the probe should run. Possible values are between `1` and `240`. Defaults to `10`"},"path":{"type":"TypeString","optional":true,"description":"The URI to use for http type probes. Not valid for `TCP` type probes. Defaults to `/`.","computed":true},"port":{"type":"TypeInt","required":true,"description":"The port number on which to connect. Possible values are between `1` and `65535`."},"success_count_threshold":{"type":"TypeInt","optional":true,"default":3,"description":"The number of consecutive successful responses required to consider this probe as successful. Possible values are between `1` and `10`. Defaults to `3`."},"timeout":{"type":"TypeInt","optional":true,"default":1,"description":"Time in seconds after which the probe times out. Possible values are between `1` an `240`. Defaults to `1`."},"transport":{"type":"TypeString","required":true,"description":"Type of probe. Possible values are `TCP`, `HTTP`, and `HTTPS`."}}},"minItems":1},"startup_probe":{"type":"TypeList","optional":true,"elem":{"schema":{"failure_count_threshold":{"type":"TypeInt","optional":true,"default":3,"description":"The number of consecutive failures required to consider this probe as failed. Possible values are between `1` and `10`. Defaults to `3`."},"header":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true,"description":"The HTTP Header Name."},"value":{"type":"TypeString","required":true,"description":"The HTTP Header value."}}}},"host":{"type":"TypeString","optional":true,"description":"The probe hostname. Defaults to the pod IP address. Setting a value for `Host` in `headers` can be used to override this for `http` and `https` type probes."},"interval_seconds":{"type":"TypeInt","optional":true,"default":10,"description":"How often, in seconds, the probe should run. Possible values are between `1` and `240`. Defaults to `10`"},"path":{"type":"TypeString","optional":true,"description":"The URI to use with the `host` for http type probes. Not valid for `TCP` type probes. Defaults to `/`.","computed":true},"port":{"type":"TypeInt","required":true,"description":"The port number on which to connect. Possible values are between `1` and `65535`."},"termination_grace_period_seconds":{"type":"TypeInt","description":"The time in seconds after the container is sent the termination signal before the process if forcibly killed.","computed":true},"timeout":{"type":"TypeInt","optional":true,"default":1,"description":"Time in seconds after which the probe times out. Possible values are between `1` an `240`. Defaults to `1`."},"transport":{"type":"TypeString","required":true,"description":"Type of probe. Possible values are `TCP`, `HTTP`, and `HTTPS`."}}},"minItems":1},"volume_mounts":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true,"description":"The name of the Volume to be mounted in the container."},"path":{"type":"TypeString","required":true,"description":"The path in the container at which to mount this volume."}}}}}},"minItems":1},"custom_scale_rule":{"type":"TypeList","optional":true,"elem":{"schema":{"authentication":{"type":"TypeList","optional":true,"elem":{"schema":{"secret_name":{"type":"TypeString","required":true},"trigger_parameter":{"type":"TypeString","required":true}}},"minItems":1},"custom_rule_type":{"type":"TypeString","required":true},"metadata":{"type":"TypeMap","required":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true}}}},"http_scale_rule":{"type":"TypeList","optional":true,"elem":{"schema":{"authentication":{"type":"TypeList","optional":true,"elem":{"schema":{"secret_name":{"type":"TypeString","required":true},"trigger_parameter":{"type":"TypeString","optional":true}}},"minItems":1},"concurrent_requests":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true}}}},"init_container":{"type":"TypeList","optional":true,"elem":{"schema":{"args":{"type":"TypeList","optional":true,"description":"A list of args to pass to the container.","elem":{"type":"TypeString"}},"command":{"type":"TypeList","optional":true,"description":"A command to pass to the container to override the default. This is provided as a list of command line elements without spaces.","elem":{"type":"TypeString"}},"cpu":{"type":"TypeFloat","optional":true,"description":"The amount of vCPU to allocate to the container. Possible values include `0.25`, `0.5`, `0.75`, `1.0`, `1.25`, `1.5`, `1.75`, and `2.0`. **NOTE:** `cpu` and `memory` must be specified in `0.25'/'0.5Gi` combination increments. e.g. `1.0` / `2.0` or `0.5` / `1.0`. When there's a workload profile specified, there's no such constraint."},"env":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true,"description":"The name of the environment variable for the container."},"secret_name":{"type":"TypeString","optional":true,"description":"The name of the secret that contains the value for this environment variable."},"value":{"type":"TypeString","optional":true,"description":"The value for this environment variable. **NOTE:** This value is ignored if `secret_name` is used"}}},"minItems":1},"ephemeral_storage":{"type":"TypeString","description":"The amount of ephemeral storage available to the Container App.","computed":true},"image":{"type":"TypeString","required":true,"description":"The image to use to create the container."},"memory":{"type":"TypeString","optional":true,"description":"The amount of memory to allocate to the container. Possible values include `0.5Gi`, `1.0Gi`, `1.5Gi`, `2.0Gi`, `2.5Gi`, `3.0Gi`, `3.5Gi`, and `4.0Gi`. **NOTE:** `cpu` and `memory` must be specified in `0.25'/'0.5Gi` combination increments. e.g. `1.25` / `2.5Gi` or `0.75` / `1.5Gi`. When there's a workload profile specified, there's no such constraint."},"name":{"type":"TypeString","required":true,"description":"The name of the container."},"volume_mounts":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true,"description":"The name of the Volume to be mounted in the container."},"path":{"type":"TypeString","required":true,"description":"The path in the container at which to mount this volume."}}}}}},"minItems":1},"max_replicas":{"type":"TypeInt","optional":true,"default":10,"description":"The maximum number of replicas for this container."},"min_replicas":{"type":"TypeInt","optional":true,"default":0,"description":"The minimum number of replicas for this container."},"revision_suffix":{"type":"TypeString","optional":true,"description":"The suffix for the revision. This value must be unique for the lifetime of the Resource. If omitted the service will use a hash function to create one.","computed":true},"tcp_scale_rule":{"type":"TypeList","optional":true,"elem":{"schema":{"authentication":{"type":"TypeList","optional":true,"elem":{"schema":{"secret_name":{"type":"TypeString","required":true},"trigger_parameter":{"type":"TypeString","optional":true}}},"minItems":1},"concurrent_requests":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true}}}},"volume":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true,"description":"The name of the volume."},"storage_name":{"type":"TypeString","optional":true,"description":"The name of the `AzureFile` storage. Required when `storage_type` is `AzureFile`"},"storage_type":{"type":"TypeString","optional":true,"default":"EmptyDir","description":"The type of storage volume. Possible values include `AzureFile` and `EmptyDir`. Defaults to `EmptyDir`."}}},"minItems":1}}},"maxItems":1},"workload_profile_name":{"type":"TypeString","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_container_app_custom_domain":{"schema":{"certificate_binding_type":{"type":"TypeString","optional":true,"description":"The Binding type. Possible values include `Disabled` and `SniEnabled`.","forceNew":true},"container_app_environment_certificate_id":{"type":"TypeString","optional":true,"forceNew":true},"container_app_environment_managed_certificate_id":{"type":"TypeString","computed":true},"container_app_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"description":"The hostname of the Certificate. Must be the CN or a named SAN in the certificate.","forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_container_app_environment":{"schema":{"custom_domain_verification_id":{"type":"TypeString","description":"The ID of the Custom Domain Verification for this Container App Environment.","computed":true},"dapr_application_insights_connection_string":{"type":"TypeString","optional":true,"description":"Application Insights connection string used by Dapr to export Service to Service communication telemetry.","forceNew":true},"default_domain":{"type":"TypeString","description":"The default publicly resolvable name of this Container App Environment","computed":true},"docker_bridge_cidr":{"type":"TypeString","description":"The network addressing in which the Container Apps in this Container App Environment will reside in CIDR notation.","computed":true},"infrastructure_resource_group_name":{"type":"TypeString","optional":true,"description":"Name of the platform-managed resource group created for the Managed Environment to host infrastructure resources. **Note:** Only valid if a `workload_profile` is specified. If `infrastructure_subnet_id` is specified, this resource group will be created in the same subscription as `infrastructure_subnet_id`.","forceNew":true},"infrastructure_subnet_id":{"type":"TypeString","optional":true,"description":"The existing Subnet to use for the Container Apps Control Plane. **NOTE:** The Subnet must have a `/21` or larger address space.","forceNew":true},"internal_load_balancer_enabled":{"type":"TypeBool","optional":true,"default":false,"description":"Should the Container Environment operate in Internal Load Balancing Mode? Defaults to `false`. **Note:** can only be set to `true` if `infrastructure_subnet_id` is specified.","forceNew":true},"location":{"type":"TypeString","required":true,"forceNew":true},"log_analytics_workspace_id":{"type":"TypeString","optional":true,"description":"The ID for the Log Analytics Workspace to link this Container Apps Managed Environment to.","forceNew":true},"mutual_tls_enabled":{"type":"TypeBool","optional":true,"default":false,"description":"Should mutual transport layer security (mTLS) be enabled? Defaults to `false`. **Note:** This feature is in public preview. Enabling mTLS for your applications may increase response latency and reduce maximum throughput in high-load scenarios."},"name":{"type":"TypeString","required":true,"description":"The name of the Container Apps Managed Environment.","forceNew":true},"platform_reserved_cidr":{"type":"TypeString","description":"The IP range, in CIDR notation, that is reserved for environment infrastructure IP addresses.","computed":true},"platform_reserved_dns_ip_address":{"type":"TypeString","description":"The IP address from the IP range defined by `platform_reserved_cidr` that is reserved for the internal DNS server.","computed":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"static_ip_address":{"type":"TypeString","description":"The Static IP Address of the Environment.","computed":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"workload_profile":{"type":"TypeSet","optional":true,"elem":{"schema":{"maximum_count":{"type":"TypeInt","optional":true},"minimum_count":{"type":"TypeInt","optional":true},"name":{"type":"TypeString","required":true},"workload_profile_type":{"type":"TypeString","required":true}}}},"zone_redundancy_enabled":{"type":"TypeBool","optional":true,"default":false,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_container_app_environment_certificate":{"schema":{"certificate_blob_base64":{"type":"TypeString","required":true,"description":"The Certificate Private Key as a base64 encoded PFX or PEM.","forceNew":true},"certificate_password":{"type":"TypeString","required":true,"description":"The password for the Certificate.","forceNew":true},"container_app_environment_id":{"type":"TypeString","required":true,"description":"The Container App Managed Environment ID to configure this Certificate on.","forceNew":true},"expiration_date":{"type":"TypeString","description":"The expiration date for the Certificate.","computed":true},"issue_date":{"type":"TypeString","description":"The date of issue for the Certificate.","computed":true},"issuer":{"type":"TypeString","description":"The Certificate Issuer.","computed":true},"name":{"type":"TypeString","required":true,"description":"The name of the Container Apps Environment Certificate.","forceNew":true},"subject_name":{"type":"TypeString","description":"The Subject Name for the Certificate.","computed":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"thumbprint":{"type":"TypeString","description":"The Thumbprint of the Certificate.","computed":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_container_app_environment_custom_domain":{"schema":{"certificate_blob_base64":{"type":"TypeString","required":true,"description":"The Custom Domain Certificate Private Key as a base64 encoded PFX or PEM."},"certificate_password":{"type":"TypeString","required":true,"description":"The Custom Domain Certificate password."},"container_app_environment_id":{"type":"TypeString","required":true,"description":"The Container App Managed Environment ID to configure this Custom Domain on.","forceNew":true},"dns_suffix":{"type":"TypeString","required":true,"description":"The Custom Domain DNS suffix for this Container App Environment."}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_container_app_environment_dapr_component":{"schema":{"component_type":{"type":"TypeString","required":true,"description":"The Dapr Component Type. For example `state.azure.blobstorage`.","forceNew":true},"container_app_environment_id":{"type":"TypeString","required":true,"description":"The Container App Managed Environment ID to configure this Dapr component on.","forceNew":true},"ignore_errors":{"type":"TypeBool","optional":true,"default":false,"description":"Should the Dapr sidecar to continue initialisation if the component fails to load. Defaults to `false`"},"init_timeout":{"type":"TypeString","optional":true,"default":"5s","description":"The component initialisation timeout in ISO8601 format. e.g. `5s`, `2h`, `1m`. Defaults to `5s`."},"metadata":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true,"description":"The name of the Metadata configuration item."},"secret_name":{"type":"TypeString","optional":true,"description":"The name of a secret specified in the `secrets` block that contains the value for this metadata configuration item."},"value":{"type":"TypeString","optional":true,"description":"The value for this metadata configuration item."}}},"minItems":1},"name":{"type":"TypeString","required":true,"description":"The name for this Dapr Component.","forceNew":true},"scopes":{"type":"TypeList","optional":true,"description":"A list of scopes to which this component applies. e.g. a Container App's `dapr.app_id` value.","elem":{"type":"TypeString"},"minItems":1},"secret":{"type":"TypeSet","optional":true,"elem":{"schema":{"identity":{"type":"TypeString","optional":true,"description":"The identity to use for accessing key vault reference."},"key_vault_secret_id":{"type":"TypeString","optional":true,"description":"The Key Vault Secret ID. Could be either one of `id` or `versionless_id`."},"name":{"type":"TypeString","required":true,"description":"The secret name."},"value":{"type":"TypeString","optional":true,"description":"The value for this secret."}}}},"version":{"type":"TypeString","required":true,"description":"The version of the component."}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_container_app_environment_storage":{"schema":{"access_key":{"type":"TypeString","required":true,"description":"The Storage Account Access Key."},"access_mode":{"type":"TypeString","required":true,"description":"The access mode to connect this storage to the Container App. Possible values include `ReadOnly` and `ReadWrite`.","forceNew":true},"account_name":{"type":"TypeString","required":true,"description":"The Azure Storage Account in which the Share to be used is located.","forceNew":true},"container_app_environment_id":{"type":"TypeString","required":true,"description":"The ID of the Container App Environment to which this storage belongs.","forceNew":true},"name":{"type":"TypeString","required":true,"description":"The name for this Storage.","forceNew":true},"share_name":{"type":"TypeString","required":true,"description":"The name of the Azure Storage Share to use.","forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_container_app_job":{"schema":{"container_app_environment_id":{"type":"TypeString","required":true,"forceNew":true},"event_stream_endpoint":{"type":"TypeString","computed":true},"event_trigger_config":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"parallelism":{"type":"TypeInt","optional":true,"default":1},"replica_completion_count":{"type":"TypeInt","optional":true,"default":1},"scale":{"type":"TypeList","optional":true,"elem":{"schema":{"max_executions":{"type":"TypeInt","optional":true,"default":100},"min_executions":{"type":"TypeInt","optional":true,"default":0},"polling_interval_in_seconds":{"type":"TypeInt","optional":true,"default":30},"rules":{"type":"TypeList","optional":true,"elem":{"schema":{"authentication":{"type":"TypeList","optional":true,"elem":{"schema":{"secret_name":{"type":"TypeString","required":true},"trigger_parameter":{"type":"TypeString","required":true}}},"minItems":1},"custom_rule_type":{"type":"TypeString","required":true},"metadata":{"type":"TypeMap","required":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true}}}}}}}}},"maxItems":1},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"manual_trigger_config":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"parallelism":{"type":"TypeInt","optional":true,"default":1},"replica_completion_count":{"type":"TypeInt","optional":true,"default":1}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"outbound_ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"registry":{"type":"TypeList","optional":true,"elem":{"schema":{"identity":{"type":"TypeString","optional":true,"description":"ID of the System or User Managed Identity used to pull images from the Container Registry"},"password_secret_name":{"type":"TypeString","optional":true,"description":"The name of the Secret Reference containing the password value for this user on the Container Registry."},"server":{"type":"TypeString","required":true,"description":"The hostname for the Container Registry."},"username":{"type":"TypeString","optional":true,"description":"The username to use for this Container Registry."}}},"minItems":1},"replica_retry_limit":{"type":"TypeInt","optional":true},"replica_timeout_in_seconds":{"type":"TypeInt","required":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"schedule_trigger_config":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"cron_expression":{"type":"TypeString","required":true},"parallelism":{"type":"TypeInt","optional":true,"default":1},"replica_completion_count":{"type":"TypeInt","optional":true,"default":1}}},"maxItems":1},"secret":{"type":"TypeSet","optional":true,"elem":{"schema":{"identity":{"type":"TypeString","optional":true,"description":"The identity to use for accessing key vault reference."},"key_vault_secret_id":{"type":"TypeString","optional":true,"description":"The Key Vault Secret ID. Could be either one of `id` or `versionless_id`."},"name":{"type":"TypeString","required":true,"description":"The secret name."},"value":{"type":"TypeString","optional":true,"description":"The value for this secret."}}}},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"template":{"type":"TypeList","required":true,"elem":{"schema":{"container":{"type":"TypeList","required":true,"elem":{"schema":{"args":{"type":"TypeList","optional":true,"description":"A list of args to pass to the container.","elem":{"type":"TypeString"}},"command":{"type":"TypeList","optional":true,"description":"A command to pass to the container to override the default. This is provided as a list of command line elements without spaces.","elem":{"type":"TypeString"}},"cpu":{"type":"TypeFloat","required":true,"description":"The amount of vCPU to allocate to the container. Possible values include `0.25`, `0.5`, `0.75`, `1.0`, `1.25`, `1.5`, `1.75`, and `2.0`. **NOTE:** `cpu` and `memory` must be specified in `0.25'/'0.5Gi` combination increments. e.g. `1.0` / `2.0` or `0.5` / `1.0`. When there's a workload profile specified, there's no such constraint."},"env":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true,"description":"The name of the environment variable for the container."},"secret_name":{"type":"TypeString","optional":true,"description":"The name of the secret that contains the value for this environment variable."},"value":{"type":"TypeString","optional":true,"description":"The value for this environment variable. **NOTE:** This value is ignored if `secret_name` is used"}}},"minItems":1},"ephemeral_storage":{"type":"TypeString","description":"The amount of ephemeral storage available to the Container App.","computed":true},"image":{"type":"TypeString","required":true,"description":"The image to use to create the container."},"liveness_probe":{"type":"TypeList","optional":true,"elem":{"schema":{"failure_count_threshold":{"type":"TypeInt","optional":true,"default":3,"description":"The number of consecutive failures required to consider this probe as failed. Possible values are between `1` and `10`. Defaults to `3`."},"header":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true,"description":"The HTTP Header Name."},"value":{"type":"TypeString","required":true,"description":"The HTTP Header value."}}}},"host":{"type":"TypeString","optional":true,"description":"The probe hostname. Defaults to the pod IP address. Setting a value for `Host` in `headers` can be used to override this for `http` and `https` type probes."},"initial_delay":{"type":"TypeInt","optional":true,"default":1,"description":"The time in seconds to wait after the container has started before the probe is started."},"interval_seconds":{"type":"TypeInt","optional":true,"default":10,"description":"How often, in seconds, the probe should run. Possible values are between `1` and `240`. Defaults to `10`"},"path":{"type":"TypeString","optional":true,"description":"The URI to use with the `host` for http type probes. Not valid for `TCP` type probes. Defaults to `/`.","computed":true},"port":{"type":"TypeInt","required":true,"description":"The port number on which to connect. Possible values are between `1` and `65535`."},"termination_grace_period_seconds":{"type":"TypeInt","description":"The time in seconds after the container is sent the termination signal before the process if forcibly killed.","computed":true},"timeout":{"type":"TypeInt","optional":true,"default":1,"description":"Time in seconds after which the probe times out. Possible values are between `1` an `240`. Defaults to `1`."},"transport":{"type":"TypeString","required":true,"description":"Type of probe. Possible values are `TCP`, `HTTP`, and `HTTPS`."}}},"minItems":1},"memory":{"type":"TypeString","required":true,"description":"The amount of memory to allocate to the container. Possible values include `0.5Gi`, `1.0Gi`, `1.5Gi`, `2.0Gi`, `2.5Gi`, `3.0Gi`, `3.5Gi`, and `4.0Gi`. **NOTE:** `cpu` and `memory` must be specified in `0.25'/'0.5Gi` combination increments. e.g. `1.25` / `2.5Gi` or `0.75` / `1.5Gi`. When there's a workload profile specified, there's no such constraint."},"name":{"type":"TypeString","required":true,"description":"The name of the container."},"readiness_probe":{"type":"TypeList","optional":true,"elem":{"schema":{"failure_count_threshold":{"type":"TypeInt","optional":true,"default":3,"description":"The number of consecutive failures required to consider this probe as failed. Possible values are between `1` and `10`. Defaults to `3`."},"header":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true,"description":"The HTTP Header Name."},"value":{"type":"TypeString","required":true,"description":"The HTTP Header value."}}}},"host":{"type":"TypeString","optional":true,"description":"The probe hostname. Defaults to the pod IP address. Setting a value for `Host` in `headers` can be used to override this for `http` and `https` type probes."},"interval_seconds":{"type":"TypeInt","optional":true,"default":10,"description":"How often, in seconds, the probe should run. Possible values are between `1` and `240`. Defaults to `10`"},"path":{"type":"TypeString","optional":true,"description":"The URI to use for http type probes. Not valid for `TCP` type probes. Defaults to `/`.","computed":true},"port":{"type":"TypeInt","required":true,"description":"The port number on which to connect. Possible values are between `1` and `65535`."},"success_count_threshold":{"type":"TypeInt","optional":true,"default":3,"description":"The number of consecutive successful responses required to consider this probe as successful. Possible values are between `1` and `10`. Defaults to `3`."},"timeout":{"type":"TypeInt","optional":true,"default":1,"description":"Time in seconds after which the probe times out. Possible values are between `1` an `240`. Defaults to `1`."},"transport":{"type":"TypeString","required":true,"description":"Type of probe. Possible values are `TCP`, `HTTP`, and `HTTPS`."}}},"minItems":1},"startup_probe":{"type":"TypeList","optional":true,"elem":{"schema":{"failure_count_threshold":{"type":"TypeInt","optional":true,"default":3,"description":"The number of consecutive failures required to consider this probe as failed. Possible values are between `1` and `10`. Defaults to `3`."},"header":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true,"description":"The HTTP Header Name."},"value":{"type":"TypeString","required":true,"description":"The HTTP Header value."}}}},"host":{"type":"TypeString","optional":true,"description":"The probe hostname. Defaults to the pod IP address. Setting a value for `Host` in `headers` can be used to override this for `http` and `https` type probes."},"interval_seconds":{"type":"TypeInt","optional":true,"default":10,"description":"How often, in seconds, the probe should run. Possible values are between `1` and `240`. Defaults to `10`"},"path":{"type":"TypeString","optional":true,"description":"The URI to use with the `host` for http type probes. Not valid for `TCP` type probes. Defaults to `/`.","computed":true},"port":{"type":"TypeInt","required":true,"description":"The port number on which to connect. Possible values are between `1` and `65535`."},"termination_grace_period_seconds":{"type":"TypeInt","description":"The time in seconds after the container is sent the termination signal before the process if forcibly killed.","computed":true},"timeout":{"type":"TypeInt","optional":true,"default":1,"description":"Time in seconds after which the probe times out. Possible values are between `1` an `240`. Defaults to `1`."},"transport":{"type":"TypeString","required":true,"description":"Type of probe. Possible values are `TCP`, `HTTP`, and `HTTPS`."}}},"minItems":1},"volume_mounts":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true,"description":"The name of the Volume to be mounted in the container."},"path":{"type":"TypeString","required":true,"description":"The path in the container at which to mount this volume."}}}}}},"minItems":1},"init_container":{"type":"TypeList","optional":true,"elem":{"schema":{"args":{"type":"TypeList","optional":true,"description":"A list of args to pass to the container.","elem":{"type":"TypeString"}},"command":{"type":"TypeList","optional":true,"description":"A command to pass to the container to override the default. This is provided as a list of command line elements without spaces.","elem":{"type":"TypeString"}},"cpu":{"type":"TypeFloat","optional":true,"description":"The amount of vCPU to allocate to the container. Possible values include `0.25`, `0.5`, `0.75`, `1.0`, `1.25`, `1.5`, `1.75`, and `2.0`. **NOTE:** `cpu` and `memory` must be specified in `0.25'/'0.5Gi` combination increments. e.g. `1.0` / `2.0` or `0.5` / `1.0`. When there's a workload profile specified, there's no such constraint."},"env":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true,"description":"The name of the environment variable for the container."},"secret_name":{"type":"TypeString","optional":true,"description":"The name of the secret that contains the value for this environment variable."},"value":{"type":"TypeString","optional":true,"description":"The value for this environment variable. **NOTE:** This value is ignored if `secret_name` is used"}}},"minItems":1},"ephemeral_storage":{"type":"TypeString","description":"The amount of ephemeral storage available to the Container App.","computed":true},"image":{"type":"TypeString","required":true,"description":"The image to use to create the container."},"memory":{"type":"TypeString","optional":true,"description":"The amount of memory to allocate to the container. Possible values include `0.5Gi`, `1.0Gi`, `1.5Gi`, `2.0Gi`, `2.5Gi`, `3.0Gi`, `3.5Gi`, and `4.0Gi`. **NOTE:** `cpu` and `memory` must be specified in `0.25'/'0.5Gi` combination increments. e.g. `1.25` / `2.5Gi` or `0.75` / `1.5Gi`. When there's a workload profile specified, there's no such constraint."},"name":{"type":"TypeString","required":true,"description":"The name of the container."},"volume_mounts":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true,"description":"The name of the Volume to be mounted in the container."},"path":{"type":"TypeString","required":true,"description":"The path in the container at which to mount this volume."}}}}}},"minItems":1},"volume":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true,"description":"The name of the volume."},"storage_name":{"type":"TypeString","optional":true,"description":"The name of the `AzureFile` storage. Required when `storage_type` is `AzureFile`"},"storage_type":{"type":"TypeString","optional":true,"default":"EmptyDir","description":"The type of storage volume. Possible values include `AzureFile` and `EmptyDir`. Defaults to `EmptyDir`."}}},"minItems":1}}},"maxItems":1},"workload_profile_name":{"type":"TypeString","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_container_connected_registry":{"schema":{"audit_log_enabled":{"type":"TypeBool","optional":true,"default":false},"client_token_ids":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"container_registry_id":{"type":"TypeString","required":true,"forceNew":true},"log_level":{"type":"TypeString","optional":true,"default":"None"},"mode":{"type":"TypeString","optional":true,"default":"ReadWrite","forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"notification":{"type":"TypeList","optional":true,"elem":{"schema":{"action":{"type":"TypeString","required":true},"digest":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true},"tag":{"type":"TypeString","optional":true}}}},"parent_registry_id":{"type":"TypeString","optional":true,"forceNew":true},"sync_message_ttl":{"type":"TypeString","optional":true,"default":"P1D"},"sync_schedule":{"type":"TypeString","optional":true,"default":"* * * * *"},"sync_token_id":{"type":"TypeString","required":true,"forceNew":true},"sync_window":{"type":"TypeString","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_container_group":{"schema":{"container":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"commands":{"type":"TypeList","optional":true,"computed":true,"forceNew":true,"elem":{"type":"TypeString"}},"cpu":{"type":"TypeFloat","required":true,"forceNew":true},"cpu_limit":{"type":"TypeFloat","optional":true},"environment_variables":{"type":"TypeMap","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"image":{"type":"TypeString","required":true,"forceNew":true},"liveness_probe":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"exec":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"failure_threshold":{"type":"TypeInt","optional":true,"forceNew":true},"http_get":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"http_headers":{"type":"TypeMap","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"path":{"type":"TypeString","optional":true,"forceNew":true},"port":{"type":"TypeInt","optional":true,"forceNew":true},"scheme":{"type":"TypeString","optional":true,"forceNew":true}}}},"initial_delay_seconds":{"type":"TypeInt","optional":true,"forceNew":true},"period_seconds":{"type":"TypeInt","optional":true,"forceNew":true},"success_threshold":{"type":"TypeInt","optional":true,"forceNew":true},"timeout_seconds":{"type":"TypeInt","optional":true,"forceNew":true}}},"maxItems":1},"memory":{"type":"TypeFloat","required":true,"forceNew":true},"memory_limit":{"type":"TypeFloat","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"ports":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"schema":{"port":{"type":"TypeInt","optional":true,"forceNew":true},"protocol":{"type":"TypeString","optional":true,"default":"TCP","forceNew":true}}}},"readiness_probe":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"exec":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"failure_threshold":{"type":"TypeInt","optional":true,"forceNew":true},"http_get":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"http_headers":{"type":"TypeMap","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"path":{"type":"TypeString","optional":true,"forceNew":true},"port":{"type":"TypeInt","optional":true,"forceNew":true},"scheme":{"type":"TypeString","optional":true,"forceNew":true}}}},"initial_delay_seconds":{"type":"TypeInt","optional":true,"forceNew":true},"period_seconds":{"type":"TypeInt","optional":true,"forceNew":true},"success_threshold":{"type":"TypeInt","optional":true,"forceNew":true},"timeout_seconds":{"type":"TypeInt","optional":true,"forceNew":true}}},"maxItems":1},"secure_environment_variables":{"type":"TypeMap","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"security":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"privilege_enabled":{"type":"TypeBool","required":true,"forceNew":true}}}},"volume":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"empty_dir":{"type":"TypeBool","optional":true,"default":false,"forceNew":true},"git_repo":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"directory":{"type":"TypeString","optional":true,"forceNew":true},"revision":{"type":"TypeString","optional":true,"forceNew":true},"url":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"mount_path":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"read_only":{"type":"TypeBool","optional":true,"default":false,"forceNew":true},"secret":{"type":"TypeMap","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"share_name":{"type":"TypeString","optional":true,"forceNew":true},"storage_account_key":{"type":"TypeString","optional":true,"forceNew":true},"storage_account_name":{"type":"TypeString","optional":true,"forceNew":true}}}}}}},"diagnostics":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"log_analytics":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"log_type":{"type":"TypeString","optional":true,"forceNew":true},"metadata":{"type":"TypeMap","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"workspace_id":{"type":"TypeString","required":true,"forceNew":true},"workspace_key":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1}}},"maxItems":1},"dns_config":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"nameservers":{"type":"TypeList","required":true,"forceNew":true,"elem":{"type":"TypeString"}},"options":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"search_domains":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"dns_name_label":{"type":"TypeString","optional":true,"forceNew":true},"dns_name_label_reuse_policy":{"type":"TypeString","optional":true,"default":"Unsecure"},"exposed_port":{"type":"TypeSet","configMode":"Auto","optional":true,"computed":true,"forceNew":true,"elem":{"schema":{"port":{"type":"TypeInt","optional":true,"forceNew":true},"protocol":{"type":"TypeString","optional":true,"default":"TCP","forceNew":true}}}},"fqdn":{"type":"TypeString","computed":true},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"image_registry_credential":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"password":{"type":"TypeString","optional":true,"forceNew":true},"server":{"type":"TypeString","required":true,"forceNew":true},"user_assigned_identity_id":{"type":"TypeString","optional":true,"description":"The User Assigned Identity to use for Container Registry access.","forceNew":true},"username":{"type":"TypeString","optional":true,"forceNew":true}}}},"init_container":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"commands":{"type":"TypeList","optional":true,"computed":true,"forceNew":true,"elem":{"type":"TypeString"}},"environment_variables":{"type":"TypeMap","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"image":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"secure_environment_variables":{"type":"TypeMap","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"security":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"privilege_enabled":{"type":"TypeBool","required":true,"forceNew":true}}}},"volume":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"empty_dir":{"type":"TypeBool","optional":true,"default":false,"forceNew":true},"git_repo":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"directory":{"type":"TypeString","optional":true,"forceNew":true},"revision":{"type":"TypeString","optional":true,"forceNew":true},"url":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"mount_path":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"read_only":{"type":"TypeBool","optional":true,"default":false,"forceNew":true},"secret":{"type":"TypeMap","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"share_name":{"type":"TypeString","optional":true,"forceNew":true},"storage_account_key":{"type":"TypeString","optional":true,"forceNew":true},"storage_account_name":{"type":"TypeString","optional":true,"forceNew":true}}}}}}},"ip_address":{"type":"TypeString","computed":true},"ip_address_type":{"type":"TypeString","optional":true,"default":"Public","forceNew":true},"key_vault_key_id":{"type":"TypeString","optional":true,"forceNew":true},"key_vault_user_assigned_identity_id":{"type":"TypeString","optional":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"network_profile_id":{"type":"TypeString","optional":true,"computed":true},"os_type":{"type":"TypeString","required":true,"forceNew":true},"priority":{"type":"TypeString","optional":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"restart_policy":{"type":"TypeString","optional":true,"default":"Always","forceNew":true},"sku":{"type":"TypeString","optional":true,"default":"Standard","forceNew":true},"subnet_ids":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"},"maxItems":1},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"zones":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":60,"read":5,"delete":30,"update":30}},"azurerm_container_registry":{"schema":{"admin_enabled":{"type":"TypeBool","optional":true,"default":false},"admin_password":{"type":"TypeString","computed":true},"admin_username":{"type":"TypeString","computed":true},"anonymous_pull_enabled":{"type":"TypeBool","optional":true},"data_endpoint_enabled":{"type":"TypeBool","optional":true},"encryption":{"type":"TypeList","configMode":"Auto","optional":true,"computed":true,"elem":{"schema":{"identity_client_id":{"type":"TypeString","required":true},"key_vault_key_id":{"type":"TypeString","required":true}}},"maxItems":1},"export_policy_enabled":{"type":"TypeBool","optional":true,"default":true},"georeplications":{"type":"TypeList","optional":true,"elem":{"schema":{"location":{"type":"TypeString","required":true},"regional_endpoint_enabled":{"type":"TypeBool","optional":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"zone_redundancy_enabled":{"type":"TypeBool","optional":true,"default":false}}}},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"login_server":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true,"forceNew":true},"network_rule_bypass_option":{"type":"TypeString","optional":true,"default":"AzureServices"},"network_rule_set":{"type":"TypeList","configMode":"Auto","optional":true,"computed":true,"elem":{"schema":{"default_action":{"type":"TypeString","optional":true,"default":"Allow"},"ip_rule":{"type":"TypeSet","configMode":"Auto","optional":true,"computed":true,"elem":{"schema":{"action":{"type":"TypeString","required":true},"ip_range":{"type":"TypeString","required":true}}}}}},"maxItems":1},"public_network_access_enabled":{"type":"TypeBool","optional":true,"default":true},"quarantine_policy_enabled":{"type":"TypeBool","optional":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"retention_policy_in_days":{"type":"TypeInt","optional":true},"sku":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"trust_policy_enabled":{"type":"TypeBool","optional":true,"default":false},"zone_redundancy_enabled":{"type":"TypeBool","optional":true,"default":false,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_container_registry_agent_pool":{"schema":{"container_registry_name":{"type":"TypeString","required":true,"forceNew":true},"instance_count":{"type":"TypeInt","optional":true,"default":1},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"tier":{"type":"TypeString","optional":true,"default":"S1","forceNew":true},"virtual_network_subnet_id":{"type":"TypeString","optional":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_container_registry_cache_rule":{"schema":{"container_registry_id":{"type":"TypeString","required":true,"forceNew":true},"credential_set_id":{"type":"TypeString","optional":true,"description":"The ARM resource ID of the credential store which is associated with the cache rule."},"name":{"type":"TypeString","required":true,"description":"The name of the cache rule.","forceNew":true},"source_repo":{"type":"TypeString","required":true,"description":"The full source repository path such as 'docker.io/library/ubuntu'.","forceNew":true},"target_repo":{"type":"TypeString","required":true,"description":"The target repository namespace such as 'ubuntu'.","forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_container_registry_scope_map":{"schema":{"actions":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"minItems":1},"container_registry_name":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_container_registry_task":{"schema":{"agent_pool_name":{"type":"TypeString","optional":true},"agent_setting":{"type":"TypeList","optional":true,"elem":{"schema":{"cpu":{"type":"TypeInt","required":true}}},"maxItems":1},"base_image_trigger":{"type":"TypeList","optional":true,"elem":{"schema":{"enabled":{"type":"TypeBool","optional":true,"default":true},"name":{"type":"TypeString","required":true},"type":{"type":"TypeString","required":true},"update_trigger_endpoint":{"type":"TypeString","optional":true},"update_trigger_payload_type":{"type":"TypeString","optional":true}}},"maxItems":1},"container_registry_id":{"type":"TypeString","required":true,"forceNew":true},"docker_step":{"type":"TypeList","optional":true,"elem":{"schema":{"arguments":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"cache_enabled":{"type":"TypeBool","optional":true,"default":true},"context_access_token":{"type":"TypeString","required":true},"context_path":{"type":"TypeString","required":true},"dockerfile_path":{"type":"TypeString","required":true},"image_names":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"push_enabled":{"type":"TypeBool","optional":true,"default":true},"secret_arguments":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"target":{"type":"TypeString","optional":true}}},"maxItems":1},"enabled":{"type":"TypeBool","optional":true,"default":true},"encoded_step":{"type":"TypeList","optional":true,"elem":{"schema":{"context_access_token":{"type":"TypeString","optional":true},"context_path":{"type":"TypeString","optional":true},"secret_values":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"task_content":{"type":"TypeString","required":true},"value_content":{"type":"TypeString","optional":true},"values":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"file_step":{"type":"TypeList","optional":true,"elem":{"schema":{"context_access_token":{"type":"TypeString","optional":true},"context_path":{"type":"TypeString","optional":true},"secret_values":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"task_file_path":{"type":"TypeString","required":true},"value_file_path":{"type":"TypeString","optional":true},"values":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"is_system_task":{"type":"TypeBool","optional":true,"default":false,"forceNew":true},"log_template":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"platform":{"type":"TypeList","optional":true,"elem":{"schema":{"architecture":{"type":"TypeString","optional":true},"os":{"type":"TypeString","required":true},"variant":{"type":"TypeString","optional":true}}},"maxItems":1},"registry_credential":{"type":"TypeList","optional":true,"elem":{"schema":{"custom":{"type":"TypeSet","optional":true,"elem":{"schema":{"identity":{"type":"TypeString","optional":true},"login_server":{"type":"TypeString","required":true},"password":{"type":"TypeString","optional":true},"username":{"type":"TypeString","optional":true}}}},"source":{"type":"TypeList","optional":true,"elem":{"schema":{"login_mode":{"type":"TypeString","required":true}}},"maxItems":1}}},"maxItems":1},"source_trigger":{"type":"TypeList","optional":true,"elem":{"schema":{"authentication":{"type":"TypeList","optional":true,"elem":{"schema":{"expire_in_seconds":{"type":"TypeInt","optional":true},"refresh_token":{"type":"TypeString","optional":true},"scope":{"type":"TypeString","optional":true},"token":{"type":"TypeString","required":true},"token_type":{"type":"TypeString","required":true}}},"maxItems":1},"branch":{"type":"TypeString","optional":true},"enabled":{"type":"TypeBool","optional":true,"default":true},"events":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true},"repository_url":{"type":"TypeString","required":true},"source_type":{"type":"TypeString","required":true}}}},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"timeout_in_seconds":{"type":"TypeInt","optional":true,"default":3600},"timer_trigger":{"type":"TypeList","optional":true,"elem":{"schema":{"enabled":{"type":"TypeBool","optional":true,"default":true},"name":{"type":"TypeString","required":true},"schedule":{"type":"TypeString","required":true}}}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_container_registry_task_schedule_run_now":{"schema":{"container_registry_task_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_container_registry_token":{"schema":{"container_registry_name":{"type":"TypeString","required":true,"forceNew":true},"enabled":{"type":"TypeBool","optional":true,"default":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"scope_map_id":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_container_registry_token_password":{"schema":{"container_registry_token_id":{"type":"TypeString","required":true,"forceNew":true},"password1":{"type":"TypeList","required":true,"elem":{"schema":{"expiry":{"type":"TypeString","optional":true,"forceNew":true},"value":{"type":"TypeString","computed":true}}},"maxItems":1},"password2":{"type":"TypeList","optional":true,"elem":{"schema":{"expiry":{"type":"TypeString","optional":true,"forceNew":true},"value":{"type":"TypeString","computed":true}}},"maxItems":1}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_container_registry_webhook":{"schema":{"actions":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"},"minItems":1},"custom_headers":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"registry_name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"scope":{"type":"TypeString","optional":true,"default":""},"service_uri":{"type":"TypeString","required":true},"status":{"type":"TypeString","optional":true,"default":"enabled"},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_cosmosdb_account":{"schema":{"access_key_metadata_writes_enabled":{"type":"TypeBool","optional":true,"default":true},"analytical_storage":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"schema_type":{"type":"TypeString","required":true}}},"maxItems":1},"analytical_storage_enabled":{"type":"TypeBool","optional":true,"default":false},"automatic_failover_enabled":{"type":"TypeBool","optional":true,"default":false},"backup":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"interval_in_minutes":{"type":"TypeInt","optional":true,"computed":true},"retention_in_hours":{"type":"TypeInt","optional":true,"computed":true},"storage_redundancy":{"type":"TypeString","optional":true,"computed":true},"tier":{"type":"TypeString","optional":true,"computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"burst_capacity_enabled":{"type":"TypeBool","optional":true,"default":false},"capabilities":{"type":"TypeSet","optional":true,"computed":true,"elem":{"schema":{"name":{"type":"TypeString","required":true}}}},"capacity":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"total_throughput_limit":{"type":"TypeInt","required":true}}},"maxItems":1},"consistency_policy":{"type":"TypeList","required":true,"elem":{"schema":{"consistency_level":{"type":"TypeString","required":true},"max_interval_in_seconds":{"type":"TypeInt","optional":true,"default":5},"max_staleness_prefix":{"type":"TypeInt","optional":true,"default":100}}},"maxItems":1},"cors_rule":{"type":"TypeList","optional":true,"elem":{"schema":{"allowed_headers":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"maxItems":64},"allowed_methods":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"maxItems":64},"allowed_origins":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"maxItems":64},"exposed_headers":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"maxItems":64},"max_age_in_seconds":{"type":"TypeInt","optional":true}}},"maxItems":1},"create_mode":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"default_identity_type":{"type":"TypeString","optional":true,"default":"FirstPartyIdentity"},"endpoint":{"type":"TypeString","computed":true},"free_tier_enabled":{"type":"TypeBool","optional":true,"default":false,"forceNew":true},"geo_location":{"type":"TypeSet","required":true,"elem":{"schema":{"failover_priority":{"type":"TypeInt","required":true},"id":{"type":"TypeString","computed":true},"location":{"type":"TypeString","required":true},"zone_redundant":{"type":"TypeBool","optional":true,"default":false}}}},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"ip_range_filter":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"is_virtual_network_filter_enabled":{"type":"TypeBool","optional":true,"default":false},"key_vault_key_id":{"type":"TypeString","optional":true,"forceNew":true},"kind":{"type":"TypeString","optional":true,"default":"GlobalDocumentDB","forceNew":true},"local_authentication_disabled":{"type":"TypeBool","optional":true,"default":false},"location":{"type":"TypeString","required":true,"forceNew":true},"minimal_tls_version":{"type":"TypeString","optional":true,"default":"Tls12"},"mongo_server_version":{"type":"TypeString","optional":true,"computed":true},"multiple_write_locations_enabled":{"type":"TypeBool","optional":true,"default":false},"name":{"type":"TypeString","required":true,"forceNew":true},"network_acl_bypass_for_azure_services":{"type":"TypeBool","optional":true,"default":false},"network_acl_bypass_ids":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"offer_type":{"type":"TypeString","required":true},"partition_merge_enabled":{"type":"TypeBool","optional":true,"default":false},"primary_key":{"type":"TypeString","computed":true},"primary_mongodb_connection_string":{"type":"TypeString","computed":true},"primary_readonly_key":{"type":"TypeString","computed":true},"primary_readonly_mongodb_connection_string":{"type":"TypeString","computed":true},"primary_readonly_sql_connection_string":{"type":"TypeString","computed":true},"primary_sql_connection_string":{"type":"TypeString","computed":true},"public_network_access_enabled":{"type":"TypeBool","optional":true,"default":true},"read_endpoints":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"restore":{"type":"TypeList","optional":true,"elem":{"schema":{"database":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"schema":{"collection_names":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true,"forceNew":true}}}},"gremlin_database":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"graph_names":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true,"forceNew":true}}}},"restore_timestamp_in_utc":{"type":"TypeString","required":true,"forceNew":true},"source_cosmosdb_account_id":{"type":"TypeString","required":true,"forceNew":true},"tables_to_restore":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"secondary_key":{"type":"TypeString","computed":true},"secondary_mongodb_connection_string":{"type":"TypeString","computed":true},"secondary_readonly_key":{"type":"TypeString","computed":true},"secondary_readonly_mongodb_connection_string":{"type":"TypeString","computed":true},"secondary_readonly_sql_connection_string":{"type":"TypeString","computed":true},"secondary_sql_connection_string":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"virtual_network_rule":{"type":"TypeSet","optional":true,"elem":{"schema":{"id":{"type":"TypeString","required":true},"ignore_missing_vnet_service_endpoint":{"type":"TypeBool","optional":true,"default":false}}}},"write_endpoints":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":180,"read":5,"delete":180,"update":180}},"azurerm_cosmosdb_cassandra_cluster":{"schema":{"authentication_method":{"type":"TypeString","optional":true,"default":"Cassandra"},"client_certificate_pems":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"default_admin_password":{"type":"TypeString","required":true,"forceNew":true},"delegated_management_subnet_id":{"type":"TypeString","required":true,"forceNew":true},"external_gossip_certificate_pems":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"external_seed_node_ip_addresses":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"hours_between_backups":{"type":"TypeInt","optional":true,"default":24},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"repair_enabled":{"type":"TypeBool","optional":true,"default":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"version":{"type":"TypeString","optional":true,"default":"3.11","forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_cosmosdb_cassandra_datacenter":{"schema":{"availability_zones_enabled":{"type":"TypeBool","optional":true,"default":true},"backup_storage_customer_key_uri":{"type":"TypeString","optional":true},"base64_encoded_yaml_fragment":{"type":"TypeString","optional":true},"cassandra_cluster_id":{"type":"TypeString","required":true,"forceNew":true},"delegated_management_subnet_id":{"type":"TypeString","required":true,"forceNew":true},"disk_count":{"type":"TypeInt","optional":true},"disk_sku":{"type":"TypeString","optional":true,"default":"P30"},"location":{"type":"TypeString","required":true,"forceNew":true},"managed_disk_customer_key_uri":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"node_count":{"type":"TypeInt","optional":true,"default":3},"seed_node_ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"sku_name":{"type":"TypeString","optional":true,"default":"Standard_E16s_v5"}},"timeouts":{"create":60,"read":5,"delete":60,"update":60}},"azurerm_cosmosdb_cassandra_keyspace":{"schema":{"account_name":{"type":"TypeString","required":true,"forceNew":true},"autoscale_settings":{"type":"TypeList","optional":true,"elem":{"schema":{"max_throughput":{"type":"TypeInt","optional":true,"computed":true}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"throughput":{"type":"TypeInt","optional":true,"computed":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_cosmosdb_cassandra_table":{"schema":{"analytical_storage_ttl":{"type":"TypeInt","optional":true,"forceNew":true},"autoscale_settings":{"type":"TypeList","optional":true,"elem":{"schema":{"max_throughput":{"type":"TypeInt","optional":true,"computed":true}}},"maxItems":1},"cassandra_keyspace_id":{"type":"TypeString","required":true,"forceNew":true},"default_ttl":{"type":"TypeInt","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"schema":{"type":"TypeList","required":true,"elem":{"schema":{"cluster_key":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"order_by":{"type":"TypeString","required":true}}}},"column":{"type":"TypeList","required":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"type":{"type":"TypeString","required":true}}},"minItems":1},"partition_key":{"type":"TypeList","required":true,"elem":{"schema":{"name":{"type":"TypeString","required":true}}}}}},"maxItems":1},"throughput":{"type":"TypeInt","optional":true,"computed":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_cosmosdb_gremlin_database":{"schema":{"account_name":{"type":"TypeString","required":true,"forceNew":true},"autoscale_settings":{"type":"TypeList","optional":true,"elem":{"schema":{"max_throughput":{"type":"TypeInt","optional":true,"computed":true}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"throughput":{"type":"TypeInt","optional":true,"computed":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_cosmosdb_gremlin_graph":{"schema":{"account_name":{"type":"TypeString","required":true,"forceNew":true},"analytical_storage_ttl":{"type":"TypeInt","optional":true},"autoscale_settings":{"type":"TypeList","optional":true,"elem":{"schema":{"max_throughput":{"type":"TypeInt","optional":true,"computed":true}}},"maxItems":1},"conflict_resolution_policy":{"type":"TypeList","optional":true,"computed":true,"forceNew":true,"elem":{"schema":{"conflict_resolution_path":{"type":"TypeString","optional":true},"conflict_resolution_procedure":{"type":"TypeString","optional":true},"mode":{"type":"TypeString","required":true}}},"maxItems":1},"database_name":{"type":"TypeString","required":true,"forceNew":true},"default_ttl":{"type":"TypeInt","optional":true},"index_policy":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"automatic":{"type":"TypeBool","optional":true,"default":true},"composite_index":{"type":"TypeList","optional":true,"elem":{"schema":{"index":{"type":"TypeList","required":true,"elem":{"schema":{"order":{"type":"TypeString","required":true},"path":{"type":"TypeString","required":true}}},"minItems":1}}}},"excluded_paths":{"type":"TypeSet","optional":true,"computed":true,"elem":{"type":"TypeString"}},"included_paths":{"type":"TypeSet","optional":true,"computed":true,"elem":{"type":"TypeString"}},"indexing_mode":{"type":"TypeString","required":true},"spatial_index":{"type":"TypeList","optional":true,"elem":{"schema":{"path":{"type":"TypeString","required":true},"types":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}}}}}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"partition_key_path":{"type":"TypeString","required":true,"forceNew":true},"partition_key_version":{"type":"TypeInt","optional":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"throughput":{"type":"TypeInt","optional":true,"computed":true},"unique_key":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"schema":{"paths":{"type":"TypeSet","required":true,"forceNew":true,"elem":{"type":"TypeString"}}}}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_cosmosdb_mongo_collection":{"schema":{"account_name":{"type":"TypeString","required":true,"forceNew":true},"analytical_storage_ttl":{"type":"TypeInt","optional":true},"autoscale_settings":{"type":"TypeList","optional":true,"elem":{"schema":{"max_throughput":{"type":"TypeInt","optional":true,"computed":true}}},"maxItems":1},"database_name":{"type":"TypeString","required":true,"forceNew":true},"default_ttl_seconds":{"type":"TypeInt","optional":true},"index":{"type":"TypeSet","optional":true,"elem":{"schema":{"keys":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}},"unique":{"type":"TypeBool","optional":true,"default":false}}}},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"shard_key":{"type":"TypeString","optional":true,"forceNew":true},"system_indexes":{"type":"TypeList","computed":true,"elem":{"schema":{"keys":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"unique":{"type":"TypeBool","computed":true}}}},"throughput":{"type":"TypeInt","optional":true,"computed":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_cosmosdb_mongo_database":{"schema":{"account_name":{"type":"TypeString","required":true,"forceNew":true},"autoscale_settings":{"type":"TypeList","optional":true,"elem":{"schema":{"max_throughput":{"type":"TypeInt","optional":true,"computed":true}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"throughput":{"type":"TypeInt","optional":true,"computed":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_cosmosdb_mongo_role_definition":{"schema":{"cosmos_mongo_database_id":{"type":"TypeString","required":true,"forceNew":true},"inherited_role_names":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"privilege":{"type":"TypeList","optional":true,"elem":{"schema":{"actions":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}},"resource":{"type":"TypeList","required":true,"elem":{"schema":{"collection_name":{"type":"TypeString","optional":true},"db_name":{"type":"TypeString","optional":true}}},"maxItems":1}}}},"role_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_cosmosdb_mongo_user_definition":{"schema":{"cosmos_mongo_database_id":{"type":"TypeString","required":true,"forceNew":true},"inherited_role_names":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"password":{"type":"TypeString","required":true},"username":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_cosmosdb_postgresql_cluster":{"schema":{"administrator_login_password":{"type":"TypeString","optional":true},"citus_version":{"type":"TypeString","optional":true,"computed":true},"coordinator_public_ip_access_enabled":{"type":"TypeBool","optional":true,"default":true},"coordinator_server_edition":{"type":"TypeString","optional":true,"default":"GeneralPurpose"},"coordinator_storage_quota_in_mb":{"type":"TypeInt","optional":true},"coordinator_vcore_count":{"type":"TypeInt","optional":true},"earliest_restore_time":{"type":"TypeString","computed":true},"ha_enabled":{"type":"TypeBool","optional":true,"default":false},"location":{"type":"TypeString","required":true,"forceNew":true},"maintenance_window":{"type":"TypeList","optional":true,"elem":{"schema":{"day_of_week":{"type":"TypeInt","optional":true,"default":0},"start_hour":{"type":"TypeInt","optional":true,"default":0},"start_minute":{"type":"TypeInt","optional":true,"default":0}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"node_count":{"type":"TypeInt","required":true},"node_public_ip_access_enabled":{"type":"TypeBool","optional":true,"default":false},"node_server_edition":{"type":"TypeString","optional":true,"default":"MemoryOptimized"},"node_storage_quota_in_mb":{"type":"TypeInt","optional":true,"computed":true},"node_vcores":{"type":"TypeInt","optional":true,"computed":true},"point_in_time_in_utc":{"type":"TypeString","optional":true,"forceNew":true},"preferred_primary_zone":{"type":"TypeString","optional":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"servers":{"type":"TypeList","computed":true,"elem":{"schema":{"fqdn":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true}}}},"shards_on_coordinator_enabled":{"type":"TypeBool","optional":true,"computed":true},"source_location":{"type":"TypeString","optional":true,"forceNew":true},"source_resource_id":{"type":"TypeString","optional":true,"forceNew":true},"sql_version":{"type":"TypeString","optional":true,"computed":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":180,"read":5,"delete":180,"update":180}},"azurerm_cosmosdb_postgresql_coordinator_configuration":{"schema":{"cluster_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"value":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_cosmosdb_postgresql_firewall_rule":{"schema":{"cluster_id":{"type":"TypeString","required":true,"forceNew":true},"end_ip_address":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true,"forceNew":true},"start_ip_address":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_cosmosdb_postgresql_node_configuration":{"schema":{"cluster_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"value":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_cosmosdb_postgresql_role":{"schema":{"cluster_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"password":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_cosmosdb_sql_container":{"schema":{"account_name":{"type":"TypeString","required":true,"forceNew":true},"analytical_storage_ttl":{"type":"TypeInt","optional":true},"autoscale_settings":{"type":"TypeList","optional":true,"elem":{"schema":{"max_throughput":{"type":"TypeInt","optional":true,"computed":true}}},"maxItems":1},"conflict_resolution_policy":{"type":"TypeList","optional":true,"computed":true,"forceNew":true,"elem":{"schema":{"conflict_resolution_path":{"type":"TypeString","optional":true},"conflict_resolution_procedure":{"type":"TypeString","optional":true},"mode":{"type":"TypeString","required":true}}},"maxItems":1},"database_name":{"type":"TypeString","required":true,"forceNew":true},"default_ttl":{"type":"TypeInt","optional":true},"indexing_policy":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"composite_index":{"type":"TypeList","optional":true,"elem":{"schema":{"index":{"type":"TypeList","required":true,"elem":{"schema":{"order":{"type":"TypeString","required":true},"path":{"type":"TypeString","required":true}}},"minItems":1}}}},"excluded_path":{"type":"TypeList","optional":true,"elem":{"schema":{"path":{"type":"TypeString","required":true}}}},"included_path":{"type":"TypeList","optional":true,"elem":{"schema":{"path":{"type":"TypeString","required":true}}}},"indexing_mode":{"type":"TypeString","optional":true,"default":"consistent"},"spatial_index":{"type":"TypeList","optional":true,"elem":{"schema":{"path":{"type":"TypeString","required":true},"types":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}}}}}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"partition_key_kind":{"type":"TypeString","optional":true,"default":"Hash","forceNew":true},"partition_key_paths":{"type":"TypeList","required":true,"forceNew":true,"elem":{"type":"TypeString"}},"partition_key_version":{"type":"TypeInt","optional":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"throughput":{"type":"TypeInt","optional":true,"computed":true},"unique_key":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"schema":{"paths":{"type":"TypeSet","required":true,"forceNew":true,"elem":{"type":"TypeString"}}}}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_cosmosdb_sql_database":{"schema":{"account_name":{"type":"TypeString","required":true,"forceNew":true},"autoscale_settings":{"type":"TypeList","optional":true,"elem":{"schema":{"max_throughput":{"type":"TypeInt","optional":true,"computed":true}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"throughput":{"type":"TypeInt","optional":true,"computed":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_cosmosdb_sql_dedicated_gateway":{"schema":{"cosmosdb_account_id":{"type":"TypeString","required":true,"forceNew":true},"instance_count":{"type":"TypeInt","required":true},"instance_size":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_cosmosdb_sql_function":{"schema":{"body":{"type":"TypeString","required":true},"container_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_cosmosdb_sql_role_assignment":{"schema":{"account_name":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"principal_id":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"role_definition_id":{"type":"TypeString","required":true},"scope":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_cosmosdb_sql_role_definition":{"schema":{"account_name":{"type":"TypeString","required":true,"forceNew":true},"assignable_scopes":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true},"permissions":{"type":"TypeSet","required":true,"elem":{"schema":{"data_actions":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}}}}},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"role_definition_id":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"type":{"type":"TypeString","optional":true,"default":"CustomRole","forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_cosmosdb_sql_stored_procedure":{"schema":{"account_name":{"type":"TypeString","required":true,"forceNew":true},"body":{"type":"TypeString","required":true},"container_name":{"type":"TypeString","required":true,"forceNew":true},"database_name":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_cosmosdb_sql_trigger":{"schema":{"body":{"type":"TypeString","required":true},"container_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"operation":{"type":"TypeString","required":true},"type":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_cosmosdb_table":{"schema":{"account_name":{"type":"TypeString","required":true,"forceNew":true},"autoscale_settings":{"type":"TypeList","optional":true,"elem":{"schema":{"max_throughput":{"type":"TypeInt","optional":true,"computed":true}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"throughput":{"type":"TypeInt","optional":true,"computed":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_cost_anomaly_alert":{"schema":{"display_name":{"type":"TypeString","required":true},"email_addresses":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"},"minItems":1},"email_subject":{"type":"TypeString","required":true},"message":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"subscription_id":{"type":"TypeString","optional":true,"computed":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_cost_management_scheduled_action":{"schema":{"day_of_month":{"type":"TypeInt","optional":true},"days_of_week":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"minItems":1},"display_name":{"type":"TypeString","required":true},"email_address_sender":{"type":"TypeString","required":true},"email_addresses":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"maxItems":20,"minItems":1},"email_subject":{"type":"TypeString","required":true},"end_date":{"type":"TypeString","required":true},"frequency":{"type":"TypeString","required":true},"hour_of_day":{"type":"TypeInt","optional":true},"message":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"start_date":{"type":"TypeString","required":true},"view_id":{"type":"TypeString","required":true,"forceNew":true},"weeks_of_month":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"minItems":1}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_custom_ip_prefix":{"schema":{"cidr":{"type":"TypeString","required":true,"forceNew":true},"commissioning_enabled":{"type":"TypeBool","optional":true,"default":false},"internet_advertising_disabled":{"type":"TypeBool","optional":true,"default":false},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"parent_custom_ip_prefix_id":{"type":"TypeString","optional":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"roa_validity_end_date":{"type":"TypeString","optional":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"wan_validation_signed_message":{"type":"TypeString","optional":true,"forceNew":true},"zones":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":540,"read":5,"delete":1020,"update":1020}},"azurerm_custom_provider":{"schema":{"action":{"type":"TypeSet","optional":true,"elem":{"schema":{"endpoint":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true}}}},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"resource_type":{"type":"TypeSet","optional":true,"elem":{"schema":{"endpoint":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true},"routing_type":{"type":"TypeString","optional":true,"default":"Proxy"}}}},"tags":{"type":"TypeMap","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"validation":{"type":"TypeSet","optional":true,"elem":{"schema":{"specification":{"type":"TypeString","required":true}}}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_dashboard_grafana":{"schema":{"api_key_enabled":{"type":"TypeBool","optional":true,"default":false},"auto_generated_domain_name_label_scope":{"type":"TypeString","optional":true,"default":"TenantReuse"},"azure_monitor_workspace_integrations":{"type":"TypeList","optional":true,"elem":{"schema":{"resource_id":{"type":"TypeString","required":true}}}},"deterministic_outbound_ip_enabled":{"type":"TypeBool","optional":true,"default":false},"endpoint":{"type":"TypeString","computed":true},"grafana_major_version":{"type":"TypeString","required":true,"forceNew":true},"grafana_version":{"type":"TypeString","computed":true},"identity":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"outbound_ip":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"public_network_access_enabled":{"type":"TypeBool","optional":true,"default":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"sku":{"type":"TypeString","optional":true,"default":"Standard","forceNew":true},"smtp":{"type":"TypeList","optional":true,"elem":{"schema":{"enabled":{"type":"TypeBool","optional":true,"default":false},"from_address":{"type":"TypeString","required":true},"from_name":{"type":"TypeString","optional":true,"default":"Azure Managed Grafana Notification"},"host":{"type":"TypeString","required":true},"password":{"type":"TypeString","required":true},"start_tls_policy":{"type":"TypeString","required":true},"user":{"type":"TypeString","required":true},"verification_skip_enabled":{"type":"TypeBool","optional":true,"default":false}}},"maxItems":1},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"zone_redundancy_enabled":{"type":"TypeBool","optional":true,"default":false,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_data_factory":{"schema":{"customer_managed_key_id":{"type":"TypeString","optional":true},"customer_managed_key_identity_id":{"type":"TypeString","optional":true},"github_configuration":{"type":"TypeList","optional":true,"elem":{"schema":{"account_name":{"type":"TypeString","required":true},"branch_name":{"type":"TypeString","required":true},"git_url":{"type":"TypeString","optional":true},"publishing_enabled":{"type":"TypeBool","optional":true,"default":true},"repository_name":{"type":"TypeString","required":true},"root_folder":{"type":"TypeString","required":true}}},"maxItems":1},"global_parameter":{"type":"TypeSet","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"type":{"type":"TypeString","required":true},"value":{"type":"TypeString","required":true}}}},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"managed_virtual_network_enabled":{"type":"TypeBool","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"public_network_enabled":{"type":"TypeBool","optional":true,"default":true},"purview_id":{"type":"TypeString","optional":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"vsts_configuration":{"type":"TypeList","optional":true,"elem":{"schema":{"account_name":{"type":"TypeString","required":true},"branch_name":{"type":"TypeString","required":true},"project_name":{"type":"TypeString","required":true},"publishing_enabled":{"type":"TypeBool","optional":true,"default":true},"repository_name":{"type":"TypeString","required":true},"root_folder":{"type":"TypeString","required":true},"tenant_id":{"type":"TypeString","required":true}}},"maxItems":1}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_data_factory_credential_service_principal":{"schema":{"annotations":{"type":"TypeList","optional":true,"description":"(Optional) List of string annotations.","elem":{"type":"TypeString"}},"data_factory_id":{"type":"TypeString","required":true,"description":"The resource ID of the parent Data Factory","forceNew":true},"description":{"type":"TypeString","optional":true,"description":"(Optional) Short text description"},"name":{"type":"TypeString","required":true,"description":"The desired name of the credential resource","forceNew":true},"service_principal_id":{"type":"TypeString","required":true,"description":"The Client ID of the Service Principal"},"service_principal_key":{"type":"TypeList","optional":true,"elem":{"schema":{"linked_service_name":{"type":"TypeString","required":true},"secret_name":{"type":"TypeString","required":true},"secret_version":{"type":"TypeString","optional":true}}},"maxItems":1},"tenant_id":{"type":"TypeString","required":true,"description":"The Tenant ID of the Service Principal"}},"timeouts":{"create":5,"read":5,"delete":5,"update":5}},"azurerm_data_factory_credential_user_managed_identity":{"schema":{"annotations":{"type":"TypeList","optional":true,"description":"(Optional) List of string annotations.","elem":{"type":"TypeString"}},"data_factory_id":{"type":"TypeString","required":true,"description":"The resource ID of the parent Data Factory","forceNew":true},"description":{"type":"TypeString","optional":true,"description":"(Optional) Short text description"},"identity_id":{"type":"TypeString","required":true,"description":"The resource ID of the User Assigned Managed Identity","forceNew":true},"name":{"type":"TypeString","required":true,"description":"The desired name of the credential resource","forceNew":true}},"timeouts":{"create":5,"read":5,"delete":5,"update":5}},"azurerm_data_factory_custom_dataset":{"schema":{"additional_properties":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"annotations":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"data_factory_id":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"folder":{"type":"TypeString","optional":true},"linked_service":{"type":"TypeList","required":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"schema_json":{"type":"TypeString","optional":true},"type":{"type":"TypeString","required":true,"forceNew":true},"type_properties_json":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_data_factory_data_flow":{"schema":{"annotations":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"data_factory_id":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"folder":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"script":{"type":"TypeString","optional":true},"script_lines":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"sink":{"type":"TypeList","required":true,"elem":{"schema":{"dataset":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"description":{"type":"TypeString","optional":true},"flowlet":{"type":"TypeList","optional":true,"elem":{"schema":{"dataset_parameters":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"linked_service":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"name":{"type":"TypeString","required":true},"rejected_linked_service":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"schema_linked_service":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1}}}},"source":{"type":"TypeList","required":true,"elem":{"schema":{"dataset":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"description":{"type":"TypeString","optional":true},"flowlet":{"type":"TypeList","optional":true,"elem":{"schema":{"dataset_parameters":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"linked_service":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"name":{"type":"TypeString","required":true},"rejected_linked_service":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"schema_linked_service":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1}}}},"transformation":{"type":"TypeList","optional":true,"elem":{"schema":{"dataset":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"description":{"type":"TypeString","optional":true},"flowlet":{"type":"TypeList","optional":true,"elem":{"schema":{"dataset_parameters":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"linked_service":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"name":{"type":"TypeString","required":true}}}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_data_factory_dataset_azure_blob":{"schema":{"additional_properties":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"annotations":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"data_factory_id":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"dynamic_filename_enabled":{"type":"TypeBool","optional":true,"default":false},"dynamic_path_enabled":{"type":"TypeBool","optional":true,"default":false},"filename":{"type":"TypeString","optional":true},"folder":{"type":"TypeString","optional":true},"linked_service_name":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true,"forceNew":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"path":{"type":"TypeString","optional":true},"schema_column":{"type":"TypeList","optional":true,"elem":{"schema":{"description":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true},"type":{"type":"TypeString","optional":true}}}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_data_factory_dataset_azure_sql_table":{"schema":{"additional_properties":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"annotations":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"data_factory_id":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"folder":{"type":"TypeString","optional":true},"linked_service_id":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true,"forceNew":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"schema":{"type":"TypeString","optional":true},"schema_column":{"type":"TypeList","optional":true,"elem":{"schema":{"description":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true},"type":{"type":"TypeString","optional":true}}}},"table":{"type":"TypeString","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_data_factory_dataset_binary":{"schema":{"additional_properties":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"annotations":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"azure_blob_storage_location":{"type":"TypeList","optional":true,"elem":{"schema":{"container":{"type":"TypeString","required":true},"dynamic_container_enabled":{"type":"TypeBool","optional":true,"default":false},"dynamic_filename_enabled":{"type":"TypeBool","optional":true,"default":false},"dynamic_path_enabled":{"type":"TypeBool","optional":true,"default":false},"filename":{"type":"TypeString","optional":true},"path":{"type":"TypeString","optional":true}}},"maxItems":1},"compression":{"type":"TypeList","optional":true,"elem":{"schema":{"level":{"type":"TypeString","optional":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"data_factory_id":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"folder":{"type":"TypeString","optional":true},"http_server_location":{"type":"TypeList","optional":true,"elem":{"schema":{"dynamic_filename_enabled":{"type":"TypeBool","optional":true,"default":false},"dynamic_path_enabled":{"type":"TypeBool","optional":true,"default":false},"filename":{"type":"TypeString","required":true},"path":{"type":"TypeString","required":true},"relative_url":{"type":"TypeString","required":true}}},"maxItems":1},"linked_service_name":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true,"forceNew":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"sftp_server_location":{"type":"TypeList","optional":true,"elem":{"schema":{"dynamic_filename_enabled":{"type":"TypeBool","optional":true,"default":false},"dynamic_path_enabled":{"type":"TypeBool","optional":true,"default":false},"filename":{"type":"TypeString","required":true},"path":{"type":"TypeString","required":true}}},"maxItems":1}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_data_factory_dataset_cosmosdb_sqlapi":{"schema":{"additional_properties":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"annotations":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"collection_name":{"type":"TypeString","optional":true},"data_factory_id":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"folder":{"type":"TypeString","optional":true},"linked_service_name":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true,"forceNew":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"schema_column":{"type":"TypeList","optional":true,"elem":{"schema":{"description":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true},"type":{"type":"TypeString","optional":true}}}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_data_factory_dataset_delimited_text":{"schema":{"additional_properties":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"annotations":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"azure_blob_fs_location":{"type":"TypeList","optional":true,"elem":{"schema":{"dynamic_file_system_enabled":{"type":"TypeBool","optional":true,"default":false},"dynamic_filename_enabled":{"type":"TypeBool","optional":true,"default":false},"dynamic_path_enabled":{"type":"TypeBool","optional":true,"default":false},"file_system":{"type":"TypeString","optional":true},"filename":{"type":"TypeString","optional":true},"path":{"type":"TypeString","optional":true}}},"maxItems":1},"azure_blob_storage_location":{"type":"TypeList","optional":true,"elem":{"schema":{"container":{"type":"TypeString","required":true},"dynamic_container_enabled":{"type":"TypeBool","optional":true,"default":false},"dynamic_filename_enabled":{"type":"TypeBool","optional":true,"default":false},"dynamic_path_enabled":{"type":"TypeBool","optional":true,"default":false},"filename":{"type":"TypeString","optional":true},"path":{"type":"TypeString","optional":true}}},"maxItems":1},"column_delimiter":{"type":"TypeString","optional":true,"default":","},"compression_codec":{"type":"TypeString","optional":true},"compression_level":{"type":"TypeString","optional":true},"data_factory_id":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"encoding":{"type":"TypeString","optional":true},"escape_character":{"type":"TypeString","optional":true,"default":"\\"},"first_row_as_header":{"type":"TypeBool","optional":true,"default":false},"folder":{"type":"TypeString","optional":true},"http_server_location":{"type":"TypeList","optional":true,"elem":{"schema":{"dynamic_filename_enabled":{"type":"TypeBool","optional":true,"default":false},"dynamic_path_enabled":{"type":"TypeBool","optional":true,"default":false},"filename":{"type":"TypeString","required":true},"path":{"type":"TypeString","required":true},"relative_url":{"type":"TypeString","required":true}}},"maxItems":1},"linked_service_name":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true,"forceNew":true},"null_value":{"type":"TypeString","optional":true,"default":""},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"quote_character":{"type":"TypeString","optional":true,"default":"\""},"row_delimiter":{"type":"TypeString","optional":true},"schema_column":{"type":"TypeList","optional":true,"elem":{"schema":{"description":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true},"type":{"type":"TypeString","optional":true}}}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_data_factory_dataset_http":{"schema":{"additional_properties":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"annotations":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"data_factory_id":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"folder":{"type":"TypeString","optional":true},"linked_service_name":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true,"forceNew":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"relative_url":{"type":"TypeString","optional":true},"request_body":{"type":"TypeString","optional":true},"request_method":{"type":"TypeString","optional":true},"schema_column":{"type":"TypeList","optional":true,"elem":{"schema":{"description":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true},"type":{"type":"TypeString","optional":true}}}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_data_factory_dataset_json":{"schema":{"additional_properties":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"annotations":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"azure_blob_storage_location":{"type":"TypeList","optional":true,"elem":{"schema":{"container":{"type":"TypeString","required":true},"dynamic_container_enabled":{"type":"TypeBool","optional":true,"default":false},"dynamic_filename_enabled":{"type":"TypeBool","optional":true,"default":false},"dynamic_path_enabled":{"type":"TypeBool","optional":true,"default":false},"filename":{"type":"TypeString","required":true},"path":{"type":"TypeString","required":true}}},"maxItems":1},"data_factory_id":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"encoding":{"type":"TypeString","optional":true},"folder":{"type":"TypeString","optional":true},"http_server_location":{"type":"TypeList","optional":true,"elem":{"schema":{"dynamic_filename_enabled":{"type":"TypeBool","optional":true,"default":false},"dynamic_path_enabled":{"type":"TypeBool","optional":true,"default":false},"filename":{"type":"TypeString","required":true},"path":{"type":"TypeString","required":true},"relative_url":{"type":"TypeString","required":true}}},"maxItems":1},"linked_service_name":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true,"forceNew":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"schema_column":{"type":"TypeList","optional":true,"elem":{"schema":{"description":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true},"type":{"type":"TypeString","optional":true}}}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_data_factory_dataset_mysql":{"schema":{"additional_properties":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"annotations":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"data_factory_id":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"folder":{"type":"TypeString","optional":true},"linked_service_name":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true,"forceNew":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"schema_column":{"type":"TypeList","optional":true,"elem":{"schema":{"description":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true},"type":{"type":"TypeString","optional":true}}}},"table_name":{"type":"TypeString","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_data_factory_dataset_parquet":{"schema":{"additional_properties":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"annotations":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"azure_blob_fs_location":{"type":"TypeList","optional":true,"elem":{"schema":{"dynamic_file_system_enabled":{"type":"TypeBool","optional":true,"default":false},"dynamic_filename_enabled":{"type":"TypeBool","optional":true,"default":false},"dynamic_path_enabled":{"type":"TypeBool","optional":true,"default":false},"file_system":{"type":"TypeString","optional":true},"filename":{"type":"TypeString","optional":true},"path":{"type":"TypeString","optional":true}}},"maxItems":1},"azure_blob_storage_location":{"type":"TypeList","optional":true,"elem":{"schema":{"container":{"type":"TypeString","required":true},"dynamic_container_enabled":{"type":"TypeBool","optional":true,"default":false},"dynamic_filename_enabled":{"type":"TypeBool","optional":true,"default":false},"dynamic_path_enabled":{"type":"TypeBool","optional":true,"default":false},"filename":{"type":"TypeString","optional":true},"path":{"type":"TypeString","optional":true}}},"maxItems":1},"compression_codec":{"type":"TypeString","optional":true},"compression_level":{"type":"TypeString","optional":true},"data_factory_id":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"folder":{"type":"TypeString","optional":true},"http_server_location":{"type":"TypeList","optional":true,"elem":{"schema":{"dynamic_filename_enabled":{"type":"TypeBool","optional":true,"default":false},"dynamic_path_enabled":{"type":"TypeBool","optional":true,"default":false},"filename":{"type":"TypeString","required":true},"path":{"type":"TypeString","optional":true},"relative_url":{"type":"TypeString","required":true}}},"maxItems":1},"linked_service_name":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true,"forceNew":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"schema_column":{"type":"TypeList","optional":true,"elem":{"schema":{"description":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true},"type":{"type":"TypeString","optional":true}}}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_data_factory_dataset_postgresql":{"schema":{"additional_properties":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"annotations":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"data_factory_id":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"folder":{"type":"TypeString","optional":true},"linked_service_name":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true,"forceNew":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"schema_column":{"type":"TypeList","optional":true,"elem":{"schema":{"description":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true},"type":{"type":"TypeString","optional":true}}}},"table_name":{"type":"TypeString","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_data_factory_dataset_snowflake":{"schema":{"additional_properties":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"annotations":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"data_factory_id":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"folder":{"type":"TypeString","optional":true},"linked_service_name":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true,"forceNew":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"schema_column":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"precision":{"type":"TypeInt","optional":true},"scale":{"type":"TypeInt","optional":true},"type":{"type":"TypeString","optional":true}}}},"schema_name":{"type":"TypeString","optional":true},"table_name":{"type":"TypeString","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_data_factory_dataset_sql_server_table":{"schema":{"additional_properties":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"annotations":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"data_factory_id":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"folder":{"type":"TypeString","optional":true},"linked_service_name":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true,"forceNew":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"schema_column":{"type":"TypeList","optional":true,"elem":{"schema":{"description":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true},"type":{"type":"TypeString","optional":true}}}},"table_name":{"type":"TypeString","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_data_factory_flowlet_data_flow":{"schema":{"annotations":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"data_factory_id":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"folder":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"script":{"type":"TypeString","optional":true},"script_lines":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"sink":{"type":"TypeList","optional":true,"elem":{"schema":{"dataset":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"description":{"type":"TypeString","optional":true},"flowlet":{"type":"TypeList","optional":true,"elem":{"schema":{"dataset_parameters":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"linked_service":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"name":{"type":"TypeString","required":true},"rejected_linked_service":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"schema_linked_service":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1}}}},"source":{"type":"TypeList","optional":true,"elem":{"schema":{"dataset":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"description":{"type":"TypeString","optional":true},"flowlet":{"type":"TypeList","optional":true,"elem":{"schema":{"dataset_parameters":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"linked_service":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"name":{"type":"TypeString","required":true},"rejected_linked_service":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"schema_linked_service":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1}}}},"transformation":{"type":"TypeList","optional":true,"elem":{"schema":{"dataset":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"description":{"type":"TypeString","optional":true},"flowlet":{"type":"TypeList","optional":true,"elem":{"schema":{"dataset_parameters":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"linked_service":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"name":{"type":"TypeString","required":true}}}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_data_factory_integration_runtime_azure":{"schema":{"cleanup_enabled":{"type":"TypeBool","optional":true,"default":true},"compute_type":{"type":"TypeString","optional":true,"default":"General"},"core_count":{"type":"TypeInt","optional":true,"default":8},"data_factory_id":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"time_to_live_min":{"type":"TypeInt","optional":true,"default":0},"virtual_network_enabled":{"type":"TypeBool","optional":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_data_factory_integration_runtime_azure_ssis":{"schema":{"catalog_info":{"type":"TypeList","optional":true,"elem":{"schema":{"administrator_login":{"type":"TypeString","optional":true},"administrator_password":{"type":"TypeString","optional":true},"dual_standby_pair_name":{"type":"TypeString","optional":true},"elastic_pool_name":{"type":"TypeString","optional":true},"pricing_tier":{"type":"TypeString","optional":true},"server_endpoint":{"type":"TypeString","required":true}}},"maxItems":1},"copy_compute_scale":{"type":"TypeList","optional":true,"elem":{"schema":{"data_integration_unit":{"type":"TypeInt","optional":true},"time_to_live":{"type":"TypeInt","optional":true}}},"maxItems":1},"credential_name":{"type":"TypeString","optional":true},"custom_setup_script":{"type":"TypeList","optional":true,"elem":{"schema":{"blob_container_uri":{"type":"TypeString","required":true},"sas_token":{"type":"TypeString","required":true}}},"maxItems":1},"data_factory_id":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"edition":{"type":"TypeString","optional":true,"default":"Standard"},"express_custom_setup":{"type":"TypeList","optional":true,"elem":{"schema":{"command_key":{"type":"TypeList","optional":true,"elem":{"schema":{"key_vault_password":{"type":"TypeList","optional":true,"elem":{"schema":{"linked_service_name":{"type":"TypeString","required":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"secret_name":{"type":"TypeString","required":true},"secret_version":{"type":"TypeString","optional":true}}},"maxItems":1},"password":{"type":"TypeString","optional":true},"target_name":{"type":"TypeString","required":true},"user_name":{"type":"TypeString","required":true}}}},"component":{"type":"TypeList","optional":true,"elem":{"schema":{"key_vault_license":{"type":"TypeList","optional":true,"elem":{"schema":{"linked_service_name":{"type":"TypeString","required":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"secret_name":{"type":"TypeString","required":true},"secret_version":{"type":"TypeString","optional":true}}},"maxItems":1},"license":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true}}}},"environment":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"powershell_version":{"type":"TypeString","optional":true}}},"maxItems":1},"express_vnet_integration":{"type":"TypeList","optional":true,"elem":{"schema":{"subnet_id":{"type":"TypeString","required":true}}},"maxItems":1},"license_type":{"type":"TypeString","optional":true,"default":"LicenseIncluded"},"location":{"type":"TypeString","required":true,"forceNew":true},"max_parallel_executions_per_node":{"type":"TypeInt","optional":true,"default":1},"name":{"type":"TypeString","required":true,"forceNew":true},"node_size":{"type":"TypeString","required":true},"number_of_nodes":{"type":"TypeInt","optional":true,"default":1},"package_store":{"type":"TypeList","optional":true,"elem":{"schema":{"linked_service_name":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true}}}},"pipeline_external_compute_scale":{"type":"TypeList","optional":true,"elem":{"schema":{"number_of_external_nodes":{"type":"TypeInt","optional":true},"number_of_pipeline_nodes":{"type":"TypeInt","optional":true},"time_to_live":{"type":"TypeInt","optional":true}}},"maxItems":1},"proxy":{"type":"TypeList","optional":true,"elem":{"schema":{"path":{"type":"TypeString","optional":true},"self_hosted_integration_runtime_name":{"type":"TypeString","required":true},"staging_storage_linked_service_name":{"type":"TypeString","required":true}}},"maxItems":1},"vnet_integration":{"type":"TypeList","optional":true,"elem":{"schema":{"public_ips":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"maxItems":2,"minItems":2},"subnet_id":{"type":"TypeString","optional":true},"subnet_name":{"type":"TypeString","optional":true},"vnet_id":{"type":"TypeString","optional":true}}},"maxItems":1}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_data_factory_integration_runtime_self_hosted":{"schema":{"data_factory_id":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"primary_authorization_key":{"type":"TypeString","computed":true},"rbac_authorization":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"schema":{"resource_id":{"type":"TypeString","required":true}}}},"secondary_authorization_key":{"type":"TypeString","computed":true},"self_contained_interactive_authoring_enabled":{"type":"TypeBool","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_data_factory_linked_custom_service":{"schema":{"additional_properties":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"annotations":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"data_factory_id":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"integration_runtime":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"type":{"type":"TypeString","required":true,"forceNew":true},"type_properties_json":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_data_factory_linked_service_azure_blob_storage":{"schema":{"additional_properties":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"annotations":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"connection_string":{"type":"TypeString","optional":true},"connection_string_insecure":{"type":"TypeString","optional":true},"data_factory_id":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"integration_runtime_name":{"type":"TypeString","optional":true},"key_vault_sas_token":{"type":"TypeList","optional":true,"elem":{"schema":{"linked_service_name":{"type":"TypeString","required":true},"secret_name":{"type":"TypeString","required":true}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"sas_uri":{"type":"TypeString","optional":true},"service_endpoint":{"type":"TypeString","optional":true},"service_principal_id":{"type":"TypeString","optional":true},"service_principal_key":{"type":"TypeString","optional":true},"service_principal_linked_key_vault_key":{"type":"TypeList","optional":true,"elem":{"schema":{"linked_service_name":{"type":"TypeString","required":true},"secret_name":{"type":"TypeString","required":true}}},"maxItems":1},"storage_kind":{"type":"TypeString","optional":true},"tenant_id":{"type":"TypeString","optional":true},"use_managed_identity":{"type":"TypeBool","optional":true,"default":false}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_data_factory_linked_service_azure_databricks":{"schema":{"access_token":{"type":"TypeString","optional":true},"adb_domain":{"type":"TypeString","required":true},"additional_properties":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"annotations":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"data_factory_id":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"existing_cluster_id":{"type":"TypeString","optional":true},"instance_pool":{"type":"TypeList","optional":true,"elem":{"schema":{"cluster_version":{"type":"TypeString","required":true},"instance_pool_id":{"type":"TypeString","required":true},"max_number_of_workers":{"type":"TypeInt","optional":true},"min_number_of_workers":{"type":"TypeInt","optional":true,"default":1}}},"maxItems":1},"integration_runtime_name":{"type":"TypeString","optional":true},"key_vault_password":{"type":"TypeList","optional":true,"elem":{"schema":{"linked_service_name":{"type":"TypeString","required":true},"secret_name":{"type":"TypeString","required":true}}},"maxItems":1},"msi_work_space_resource_id":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"new_cluster_config":{"type":"TypeList","optional":true,"elem":{"schema":{"cluster_version":{"type":"TypeString","required":true},"custom_tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"driver_node_type":{"type":"TypeString","optional":true},"init_scripts":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"log_destination":{"type":"TypeString","optional":true},"max_number_of_workers":{"type":"TypeInt","optional":true},"min_number_of_workers":{"type":"TypeInt","optional":true,"default":"1"},"node_type":{"type":"TypeString","required":true},"spark_config":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"spark_environment_variables":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_data_factory_linked_service_azure_file_storage":{"schema":{"additional_properties":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"annotations":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"connection_string":{"type":"TypeString","required":true},"data_factory_id":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"file_share":{"type":"TypeString","optional":true},"host":{"type":"TypeString","optional":true},"integration_runtime_name":{"type":"TypeString","optional":true},"key_vault_password":{"type":"TypeList","optional":true,"elem":{"schema":{"linked_service_name":{"type":"TypeString","required":true},"secret_name":{"type":"TypeString","required":true}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"password":{"type":"TypeString","optional":true},"user_id":{"type":"TypeString","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_data_factory_linked_service_azure_function":{"schema":{"additional_properties":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"annotations":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"data_factory_id":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"integration_runtime_name":{"type":"TypeString","optional":true},"key":{"type":"TypeString","optional":true},"key_vault_key":{"type":"TypeList","optional":true,"elem":{"schema":{"linked_service_name":{"type":"TypeString","required":true},"secret_name":{"type":"TypeString","required":true}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"url":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_data_factory_linked_service_azure_search":{"schema":{"additional_properties":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"annotations":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"data_factory_id":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"encrypted_credential":{"type":"TypeString","computed":true},"integration_runtime_name":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"search_service_key":{"type":"TypeString","required":true},"url":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_data_factory_linked_service_azure_sql_database":{"schema":{"additional_properties":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"annotations":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"connection_string":{"type":"TypeString","optional":true},"data_factory_id":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"integration_runtime_name":{"type":"TypeString","optional":true},"key_vault_connection_string":{"type":"TypeList","optional":true,"elem":{"schema":{"linked_service_name":{"type":"TypeString","required":true},"secret_name":{"type":"TypeString","required":true}}},"maxItems":1},"key_vault_password":{"type":"TypeList","optional":true,"elem":{"schema":{"linked_service_name":{"type":"TypeString","required":true},"secret_name":{"type":"TypeString","required":true}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"service_principal_id":{"type":"TypeString","optional":true},"service_principal_key":{"type":"TypeString","optional":true},"tenant_id":{"type":"TypeString","optional":true},"use_managed_identity":{"type":"TypeBool","optional":true,"default":false}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_data_factory_linked_service_azure_table_storage":{"schema":{"additional_properties":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"annotations":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"connection_string":{"type":"TypeString","required":true},"data_factory_id":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"integration_runtime_name":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_data_factory_linked_service_cosmosdb":{"schema":{"account_endpoint":{"type":"TypeString","optional":true},"account_key":{"type":"TypeString","optional":true},"additional_properties":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"annotations":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"connection_string":{"type":"TypeString","optional":true},"data_factory_id":{"type":"TypeString","required":true,"forceNew":true},"database":{"type":"TypeString","optional":true},"description":{"type":"TypeString","optional":true},"integration_runtime_name":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_data_factory_linked_service_cosmosdb_mongoapi":{"schema":{"additional_properties":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"annotations":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"connection_string":{"type":"TypeString","optional":true},"data_factory_id":{"type":"TypeString","required":true,"forceNew":true},"database":{"type":"TypeString","optional":true},"description":{"type":"TypeString","optional":true},"integration_runtime_name":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"server_version_is_32_or_higher":{"type":"TypeBool","optional":true,"default":false}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_data_factory_linked_service_data_lake_storage_gen2":{"schema":{"additional_properties":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"annotations":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"data_factory_id":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"integration_runtime_name":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"service_principal_id":{"type":"TypeString","optional":true},"service_principal_key":{"type":"TypeString","optional":true},"storage_account_key":{"type":"TypeString","optional":true},"tenant":{"type":"TypeString","optional":true},"url":{"type":"TypeString","required":true},"use_managed_identity":{"type":"TypeBool","optional":true,"default":false}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_data_factory_linked_service_key_vault":{"schema":{"additional_properties":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"annotations":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"data_factory_id":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"integration_runtime_name":{"type":"TypeString","optional":true},"key_vault_id":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true,"forceNew":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_data_factory_linked_service_kusto":{"schema":{"additional_properties":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"annotations":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"data_factory_id":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"integration_runtime_name":{"type":"TypeString","optional":true},"kusto_database_name":{"type":"TypeString","required":true},"kusto_endpoint":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true,"forceNew":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"service_principal_id":{"type":"TypeString","optional":true},"service_principal_key":{"type":"TypeString","optional":true},"tenant":{"type":"TypeString","optional":true},"use_managed_identity":{"type":"TypeBool","optional":true,"default":false}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_data_factory_linked_service_mysql":{"schema":{"additional_properties":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"annotations":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"connection_string":{"type":"TypeString","required":true},"data_factory_id":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"integration_runtime_name":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_data_factory_linked_service_odata":{"schema":{"additional_properties":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"annotations":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"basic_authentication":{"type":"TypeList","optional":true,"elem":{"schema":{"password":{"type":"TypeString","required":true},"username":{"type":"TypeString","required":true}}},"maxItems":1},"data_factory_id":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"integration_runtime_name":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"url":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_data_factory_linked_service_odbc":{"schema":{"additional_properties":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"annotations":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"basic_authentication":{"type":"TypeList","optional":true,"elem":{"schema":{"password":{"type":"TypeString","required":true},"username":{"type":"TypeString","required":true}}},"maxItems":1},"connection_string":{"type":"TypeString","required":true},"data_factory_id":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"integration_runtime_name":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_data_factory_linked_service_postgresql":{"schema":{"additional_properties":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"annotations":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"connection_string":{"type":"TypeString","required":true},"data_factory_id":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"integration_runtime_name":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_data_factory_linked_service_sftp":{"schema":{"additional_properties":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"annotations":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"authentication_type":{"type":"TypeString","required":true},"data_factory_id":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"host":{"type":"TypeString","required":true},"host_key_fingerprint":{"type":"TypeString","optional":true},"integration_runtime_name":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"password":{"type":"TypeString","required":true},"port":{"type":"TypeInt","required":true},"skip_host_key_validation":{"type":"TypeBool","optional":true},"username":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_data_factory_linked_service_snowflake":{"schema":{"additional_properties":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"annotations":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"connection_string":{"type":"TypeString","required":true},"data_factory_id":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"integration_runtime_name":{"type":"TypeString","optional":true},"key_vault_password":{"type":"TypeList","optional":true,"elem":{"schema":{"linked_service_name":{"type":"TypeString","required":true},"secret_name":{"type":"TypeString","required":true}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_data_factory_linked_service_sql_server":{"schema":{"additional_properties":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"annotations":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"connection_string":{"type":"TypeString","optional":true},"data_factory_id":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"integration_runtime_name":{"type":"TypeString","optional":true},"key_vault_connection_string":{"type":"TypeList","optional":true,"elem":{"schema":{"linked_service_name":{"type":"TypeString","required":true},"secret_name":{"type":"TypeString","required":true}}},"maxItems":1},"key_vault_password":{"type":"TypeList","optional":true,"elem":{"schema":{"linked_service_name":{"type":"TypeString","required":true},"secret_name":{"type":"TypeString","required":true}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"user_name":{"type":"TypeString","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_data_factory_linked_service_synapse":{"schema":{"additional_properties":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"annotations":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"connection_string":{"type":"TypeString","required":true},"data_factory_id":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"integration_runtime_name":{"type":"TypeString","optional":true},"key_vault_password":{"type":"TypeList","optional":true,"elem":{"schema":{"linked_service_name":{"type":"TypeString","required":true},"secret_name":{"type":"TypeString","required":true}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_data_factory_linked_service_web":{"schema":{"additional_properties":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"annotations":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"authentication_type":{"type":"TypeString","required":true},"data_factory_id":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"integration_runtime_name":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"password":{"type":"TypeString","optional":true},"url":{"type":"TypeString","required":true},"username":{"type":"TypeString","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_data_factory_managed_private_endpoint":{"schema":{"data_factory_id":{"type":"TypeString","required":true,"forceNew":true},"fqdns":{"type":"TypeList","optional":true,"computed":true,"forceNew":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true,"forceNew":true},"subresource_name":{"type":"TypeString","optional":true,"forceNew":true},"target_resource_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_data_factory_pipeline":{"schema":{"activities_json":{"type":"TypeString","optional":true},"annotations":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"concurrency":{"type":"TypeInt","optional":true},"data_factory_id":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"folder":{"type":"TypeString","optional":true},"moniter_metrics_after_duration":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"variables":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_data_factory_trigger_blob_event":{"schema":{"activated":{"type":"TypeBool","optional":true,"default":true},"additional_properties":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"annotations":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"blob_path_begins_with":{"type":"TypeString","optional":true},"blob_path_ends_with":{"type":"TypeString","optional":true},"data_factory_id":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"events":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"},"minItems":1},"ignore_empty_blobs":{"type":"TypeBool","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"pipeline":{"type":"TypeSet","required":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}}}},"storage_account_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_data_factory_trigger_custom_event":{"schema":{"activated":{"type":"TypeBool","optional":true,"default":true},"additional_properties":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"annotations":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"data_factory_id":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"eventgrid_topic_id":{"type":"TypeString","required":true,"forceNew":true},"events":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"},"minItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"pipeline":{"type":"TypeSet","required":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}}}},"subject_begins_with":{"type":"TypeString","optional":true},"subject_ends_with":{"type":"TypeString","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_data_factory_trigger_schedule":{"schema":{"activated":{"type":"TypeBool","optional":true,"default":true},"annotations":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"data_factory_id":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"end_time":{"type":"TypeString","optional":true},"frequency":{"type":"TypeString","optional":true,"default":"Minute"},"interval":{"type":"TypeInt","optional":true,"default":1},"name":{"type":"TypeString","required":true,"forceNew":true},"pipeline":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}}}},"pipeline_name":{"type":"TypeString","optional":true,"computed":true},"pipeline_parameters":{"type":"TypeMap","optional":true,"computed":true,"elem":{"type":"TypeString"}},"schedule":{"type":"TypeList","optional":true,"elem":{"schema":{"days_of_month":{"type":"TypeList","optional":true,"elem":{"type":"TypeInt"}},"days_of_week":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"maxItems":7},"hours":{"type":"TypeList","optional":true,"elem":{"type":"TypeInt"}},"minutes":{"type":"TypeList","optional":true,"elem":{"type":"TypeInt"}},"monthly":{"type":"TypeList","optional":true,"elem":{"schema":{"week":{"type":"TypeInt","optional":true},"weekday":{"type":"TypeString","required":true}}},"minItems":1}}},"maxItems":1,"minItems":1},"start_time":{"type":"TypeString","optional":true,"computed":true},"time_zone":{"type":"TypeString","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_data_factory_trigger_tumbling_window":{"schema":{"activated":{"type":"TypeBool","optional":true,"default":true},"additional_properties":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"annotations":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"data_factory_id":{"type":"TypeString","required":true,"forceNew":true},"delay":{"type":"TypeString","optional":true},"description":{"type":"TypeString","optional":true},"end_time":{"type":"TypeString","optional":true},"frequency":{"type":"TypeString","required":true,"forceNew":true},"interval":{"type":"TypeInt","required":true,"forceNew":true},"max_concurrency":{"type":"TypeInt","optional":true,"default":50},"name":{"type":"TypeString","required":true,"forceNew":true},"pipeline":{"type":"TypeList","required":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"retry":{"type":"TypeList","optional":true,"elem":{"schema":{"count":{"type":"TypeInt","required":true},"interval":{"type":"TypeInt","optional":true,"default":30}}},"maxItems":1},"start_time":{"type":"TypeString","required":true,"forceNew":true},"trigger_dependency":{"type":"TypeSet","optional":true,"elem":{"schema":{"offset":{"type":"TypeString","optional":true},"size":{"type":"TypeString","optional":true},"trigger_name":{"type":"TypeString","optional":true}}}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_data_protection_backup_instance_blob_storage":{"schema":{"backup_policy_id":{"type":"TypeString","required":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"storage_account_container_names":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"storage_account_id":{"type":"TypeString","required":true,"forceNew":true},"vault_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_data_protection_backup_instance_disk":{"schema":{"backup_policy_id":{"type":"TypeString","required":true},"disk_id":{"type":"TypeString","required":true,"forceNew":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"snapshot_resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"vault_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_data_protection_backup_instance_kubernetes_cluster":{"schema":{"backup_datasource_parameters":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"cluster_scoped_resources_enabled":{"type":"TypeBool","optional":true,"default":false,"forceNew":true},"excluded_namespaces":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"excluded_resource_types":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"included_namespaces":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"included_resource_types":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"label_selectors":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"volume_snapshot_enabled":{"type":"TypeBool","optional":true,"default":false,"forceNew":true}}},"maxItems":1},"backup_policy_id":{"type":"TypeString","required":true,"forceNew":true},"kubernetes_cluster_id":{"type":"TypeString","required":true,"forceNew":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"snapshot_resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"vault_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_data_protection_backup_instance_postgresql":{"schema":{"backup_policy_id":{"type":"TypeString","required":true},"database_credential_key_vault_secret_id":{"type":"TypeString","optional":true},"database_id":{"type":"TypeString","required":true,"forceNew":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"vault_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_data_protection_backup_instance_postgresql_flexible_server":{"schema":{"backup_policy_id":{"type":"TypeString","required":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"server_id":{"type":"TypeString","required":true,"forceNew":true},"vault_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":60,"read":5,"delete":60,"update":60}},"azurerm_data_protection_backup_policy_blob_storage":{"schema":{"backup_repeating_time_intervals":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"type":"TypeString"},"minItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"operational_default_retention_duration":{"type":"TypeString","optional":true,"forceNew":true},"retention_rule":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"criteria":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"absolute_criteria":{"type":"TypeString","optional":true,"forceNew":true},"days_of_month":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeInt"},"minItems":1},"days_of_week":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"},"minItems":1},"months_of_year":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"},"minItems":1},"scheduled_backup_times":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"},"minItems":1},"weeks_of_month":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"},"minItems":1}}},"maxItems":1},"life_cycle":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"data_store_type":{"type":"TypeString","required":true,"forceNew":true},"duration":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"priority":{"type":"TypeInt","required":true,"forceNew":true}}}},"time_zone":{"type":"TypeString","optional":true,"forceNew":true},"vault_default_retention_duration":{"type":"TypeString","optional":true,"forceNew":true},"vault_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_data_protection_backup_policy_disk":{"schema":{"backup_repeating_time_intervals":{"type":"TypeList","required":true,"forceNew":true,"elem":{"type":"TypeString"},"minItems":1},"default_retention_duration":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"retention_rule":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"criteria":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"absolute_criteria":{"type":"TypeString","optional":true,"forceNew":true}}},"maxItems":1},"duration":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"priority":{"type":"TypeInt","required":true,"forceNew":true}}}},"time_zone":{"type":"TypeString","optional":true,"forceNew":true},"vault_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_data_protection_backup_policy_kubernetes_cluster":{"schema":{"backup_repeating_time_intervals":{"type":"TypeList","required":true,"forceNew":true,"elem":{"type":"TypeString"},"minItems":1},"default_retention_rule":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"life_cycle":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"data_store_type":{"type":"TypeString","required":true,"forceNew":true},"duration":{"type":"TypeString","required":true,"forceNew":true}}}}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"retention_rule":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"criteria":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"absolute_criteria":{"type":"TypeString","optional":true,"forceNew":true},"days_of_week":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"},"minItems":1},"months_of_year":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"},"minItems":1},"scheduled_backup_times":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"},"minItems":1},"weeks_of_month":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"},"minItems":1}}},"maxItems":1},"life_cycle":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"data_store_type":{"type":"TypeString","required":true,"forceNew":true},"duration":{"type":"TypeString","required":true,"forceNew":true}}}},"name":{"type":"TypeString","required":true,"forceNew":true},"priority":{"type":"TypeInt","required":true,"forceNew":true}}}},"time_zone":{"type":"TypeString","optional":true,"forceNew":true},"vault_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_data_protection_backup_policy_mysql_flexible_server":{"schema":{"backup_repeating_time_intervals":{"type":"TypeList","required":true,"forceNew":true,"elem":{"type":"TypeString"},"minItems":1},"default_retention_rule":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"life_cycle":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"data_store_type":{"type":"TypeString","required":true,"forceNew":true},"duration":{"type":"TypeString","required":true,"forceNew":true}}}}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"retention_rule":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"criteria":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"absolute_criteria":{"type":"TypeString","optional":true,"forceNew":true},"days_of_week":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"},"minItems":1},"months_of_year":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"},"minItems":1},"scheduled_backup_times":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"},"minItems":1},"weeks_of_month":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"},"minItems":1}}},"maxItems":1},"life_cycle":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"data_store_type":{"type":"TypeString","required":true,"forceNew":true},"duration":{"type":"TypeString","required":true,"forceNew":true}}}},"name":{"type":"TypeString","required":true,"forceNew":true},"priority":{"type":"TypeInt","required":true,"forceNew":true}}}},"time_zone":{"type":"TypeString","optional":true,"forceNew":true},"vault_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_data_protection_backup_policy_postgresql":{"schema":{"backup_repeating_time_intervals":{"type":"TypeList","required":true,"forceNew":true,"elem":{"type":"TypeString"},"minItems":1},"default_retention_duration":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"retention_rule":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"criteria":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"absolute_criteria":{"type":"TypeString","optional":true,"forceNew":true},"days_of_week":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"},"minItems":1},"months_of_year":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"},"minItems":1},"scheduled_backup_times":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"},"minItems":1},"weeks_of_month":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"},"minItems":1}}},"maxItems":1},"duration":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"priority":{"type":"TypeInt","required":true,"forceNew":true}}}},"time_zone":{"type":"TypeString","optional":true,"forceNew":true},"vault_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_data_protection_backup_policy_postgresql_flexible_server":{"schema":{"backup_repeating_time_intervals":{"type":"TypeList","required":true,"forceNew":true,"elem":{"type":"TypeString"},"minItems":1},"default_retention_rule":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"life_cycle":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"data_store_type":{"type":"TypeString","required":true,"forceNew":true},"duration":{"type":"TypeString","required":true,"forceNew":true}}}}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"retention_rule":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"criteria":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"absolute_criteria":{"type":"TypeString","optional":true,"forceNew":true},"days_of_week":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"},"minItems":1},"months_of_year":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"},"minItems":1},"scheduled_backup_times":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"},"minItems":1},"weeks_of_month":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"},"minItems":1}}},"maxItems":1},"life_cycle":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"data_store_type":{"type":"TypeString","required":true,"forceNew":true},"duration":{"type":"TypeString","required":true,"forceNew":true}}}},"name":{"type":"TypeString","required":true,"forceNew":true},"priority":{"type":"TypeInt","required":true,"forceNew":true}}}},"time_zone":{"type":"TypeString","optional":true,"forceNew":true},"vault_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_data_protection_backup_vault":{"schema":{"cross_region_restore_enabled":{"type":"TypeBool","optional":true},"datastore_type":{"type":"TypeString","required":true,"forceNew":true},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"redundancy":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"retention_duration_in_days":{"type":"TypeFloat","optional":true,"default":14},"soft_delete":{"type":"TypeString","optional":true,"default":"On"},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_data_protection_resource_guard":{"schema":{"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"vault_critical_operation_exclusion_list":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_data_share":{"schema":{"account_id":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"kind":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"snapshot_schedule":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"recurrence":{"type":"TypeString","required":true},"start_time":{"type":"TypeString","required":true}}},"maxItems":1},"terms":{"type":"TypeString","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_data_share_account":{"schema":{"identity":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_data_share_dataset_blob_storage":{"schema":{"container_name":{"type":"TypeString","required":true,"forceNew":true},"data_share_id":{"type":"TypeString","required":true,"forceNew":true},"display_name":{"type":"TypeString","computed":true},"file_path":{"type":"TypeString","optional":true,"forceNew":true},"folder_path":{"type":"TypeString","optional":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"storage_account":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"subscription_id":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1,"minItems":1}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_data_share_dataset_data_lake_gen2":{"schema":{"display_name":{"type":"TypeString","computed":true},"file_path":{"type":"TypeString","optional":true,"forceNew":true},"file_system_name":{"type":"TypeString","required":true,"forceNew":true},"folder_path":{"type":"TypeString","optional":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"share_id":{"type":"TypeString","required":true,"forceNew":true},"storage_account_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_data_share_dataset_kusto_cluster":{"schema":{"display_name":{"type":"TypeString","computed":true},"kusto_cluster_id":{"type":"TypeString","required":true,"forceNew":true},"kusto_cluster_location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true,"forceNew":true},"share_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_data_share_dataset_kusto_database":{"schema":{"display_name":{"type":"TypeString","computed":true},"kusto_cluster_location":{"type":"TypeString","computed":true},"kusto_database_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"share_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_database_migration_project":{"schema":{"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"service_name":{"type":"TypeString","required":true,"forceNew":true},"source_platform":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"target_platform":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_database_migration_service":{"schema":{"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"sku_name":{"type":"TypeString","required":true,"forceNew":true},"subnet_id":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_databox_edge_device":{"schema":{"device_properties":{"type":"TypeList","computed":true,"elem":{"schema":{"capacity":{"type":"TypeInt","computed":true},"configured_role_types":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"culture":{"type":"TypeString","computed":true},"hcs_version":{"type":"TypeString","computed":true},"model":{"type":"TypeString","computed":true},"node_count":{"type":"TypeInt","computed":true},"serial_number":{"type":"TypeString","computed":true},"software_version":{"type":"TypeString","computed":true},"status":{"type":"TypeString","computed":true},"time_zone":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"sku_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_databricks_access_connector":{"schema":{"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_databricks_virtual_network_peering":{"schema":{"address_space_prefixes":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"allow_forwarded_traffic":{"type":"TypeBool","optional":true,"default":false},"allow_gateway_transit":{"type":"TypeBool","optional":true,"default":false},"allow_virtual_network_access":{"type":"TypeBool","optional":true,"default":true},"name":{"type":"TypeString","required":true,"forceNew":true},"remote_address_space_prefixes":{"type":"TypeList","required":true,"forceNew":true,"elem":{"type":"TypeString"}},"remote_virtual_network_id":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"use_remote_gateways":{"type":"TypeBool","optional":true,"default":false},"virtual_network_id":{"type":"TypeString","computed":true},"workspace_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_databricks_workspace":{"schema":{"access_connector_id":{"type":"TypeString","optional":true},"custom_parameters":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"machine_learning_workspace_id":{"type":"TypeString","optional":true,"forceNew":true},"nat_gateway_name":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"no_public_ip":{"type":"TypeBool","optional":true,"default":true},"private_subnet_name":{"type":"TypeString","optional":true,"forceNew":true},"private_subnet_network_security_group_association_id":{"type":"TypeString","optional":true},"public_ip_name":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"public_subnet_name":{"type":"TypeString","optional":true,"forceNew":true},"public_subnet_network_security_group_association_id":{"type":"TypeString","optional":true},"storage_account_name":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"storage_account_sku_name":{"type":"TypeString","optional":true,"computed":true},"virtual_network_id":{"type":"TypeString","optional":true,"forceNew":true},"vnet_address_prefix":{"type":"TypeString","optional":true,"computed":true,"forceNew":true}}},"maxItems":1},"customer_managed_key_enabled":{"type":"TypeBool","optional":true,"default":false},"default_storage_firewall_enabled":{"type":"TypeBool","optional":true},"disk_encryption_set_id":{"type":"TypeString","computed":true},"infrastructure_encryption_enabled":{"type":"TypeBool","optional":true,"default":false,"forceNew":true},"load_balancer_backend_address_pool_id":{"type":"TypeString","optional":true,"forceNew":true},"location":{"type":"TypeString","required":true,"forceNew":true},"managed_disk_cmk_key_vault_id":{"type":"TypeString","optional":true},"managed_disk_cmk_key_vault_key_id":{"type":"TypeString","optional":true},"managed_disk_cmk_rotation_to_latest_version_enabled":{"type":"TypeBool","optional":true},"managed_disk_identity":{"type":"TypeList","computed":true,"elem":{"schema":{"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"managed_resource_group_id":{"type":"TypeString","computed":true},"managed_resource_group_name":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"managed_services_cmk_key_vault_id":{"type":"TypeString","optional":true},"managed_services_cmk_key_vault_key_id":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"network_security_group_rules_required":{"type":"TypeString","optional":true},"public_network_access_enabled":{"type":"TypeBool","optional":true,"default":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"sku":{"type":"TypeString","required":true},"storage_account_identity":{"type":"TypeList","computed":true,"elem":{"schema":{"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"workspace_id":{"type":"TypeString","computed":true},"workspace_url":{"type":"TypeString","computed":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_databricks_workspace_customer_managed_key":{"schema":{"key_vault_key_id":{"type":"TypeString","required":true},"workspace_id":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_databricks_workspace_root_dbfs_customer_managed_key":{"schema":{"key_vault_id":{"type":"TypeString","optional":true},"key_vault_key_id":{"type":"TypeString","required":true},"workspace_id":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_datadog_monitor":{"schema":{"datadog_organization":{"type":"TypeList","required":true,"elem":{"schema":{"api_key":{"type":"TypeString","required":true,"forceNew":true},"application_key":{"type":"TypeString","required":true,"forceNew":true},"enterprise_app_id":{"type":"TypeString","optional":true,"forceNew":true},"id":{"type":"TypeString","computed":true},"linking_auth_code":{"type":"TypeString","optional":true,"forceNew":true},"linking_client_id":{"type":"TypeString","optional":true,"forceNew":true},"name":{"type":"TypeString","computed":true},"redirect_uri":{"type":"TypeString","optional":true,"forceNew":true}}},"maxItems":1},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"marketplace_subscription_status":{"type":"TypeString","computed":true},"monitoring_enabled":{"type":"TypeBool","optional":true,"default":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"sku_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"user":{"type":"TypeList","required":true,"elem":{"schema":{"email":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"phone_number":{"type":"TypeString","optional":true,"forceNew":true}}},"maxItems":1}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_datadog_monitor_sso_configuration":{"schema":{"datadog_monitor_id":{"type":"TypeString","required":true,"forceNew":true},"enterprise_application_id":{"type":"TypeString","required":true},"login_url":{"type":"TypeString","computed":true},"name":{"type":"TypeString","optional":true,"default":"default"},"single_sign_on_enabled":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_datadog_monitor_tag_rule":{"schema":{"datadog_monitor_id":{"type":"TypeString","required":true,"forceNew":true},"log":{"type":"TypeList","optional":true,"elem":{"schema":{"aad_log_enabled":{"type":"TypeBool","optional":true},"filter":{"type":"TypeList","optional":true,"elem":{"schema":{"action":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true},"value":{"type":"TypeString","required":true}}}},"resource_log_enabled":{"type":"TypeBool","optional":true},"subscription_log_enabled":{"type":"TypeBool","optional":true}}}},"metric":{"type":"TypeList","optional":true,"elem":{"schema":{"filter":{"type":"TypeList","optional":true,"elem":{"schema":{"action":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true},"value":{"type":"TypeString","required":true}}}}}}},"name":{"type":"TypeString","optional":true,"default":"default"}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_dedicated_hardware_security_module":{"schema":{"location":{"type":"TypeString","required":true,"forceNew":true},"management_network_profile":{"type":"TypeList","optional":true,"elem":{"schema":{"network_interface_private_ip_addresses":{"type":"TypeSet","required":true,"forceNew":true,"elem":{"type":"TypeString"}},"subnet_id":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"network_profile":{"type":"TypeList","required":true,"elem":{"schema":{"network_interface_private_ip_addresses":{"type":"TypeSet","required":true,"forceNew":true,"elem":{"type":"TypeString"}},"subnet_id":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"sku_name":{"type":"TypeString","required":true,"forceNew":true},"stamp_id":{"type":"TypeString","optional":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"zones":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_dedicated_host":{"schema":{"auto_replace_on_failure":{"type":"TypeBool","optional":true,"default":true},"dedicated_host_group_id":{"type":"TypeString","required":true,"forceNew":true},"license_type":{"type":"TypeString","optional":true,"default":"None"},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"platform_fault_domain":{"type":"TypeInt","required":true,"forceNew":true},"sku_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_dedicated_host_group":{"schema":{"automatic_placement_enabled":{"type":"TypeBool","optional":true,"default":false,"forceNew":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"platform_fault_domain_count":{"type":"TypeInt","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"zone":{"type":"TypeString","optional":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_dev_center":{"schema":{"dev_center_uri":{"type":"TypeString","computed":true},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_dev_center_attached_network":{"schema":{"dev_center_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"network_connection_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_dev_center_catalog":{"schema":{"catalog_adogit":{"type":"TypeList","optional":true,"elem":{"schema":{"branch":{"type":"TypeString","required":true},"key_vault_key_url":{"type":"TypeString","required":true},"path":{"type":"TypeString","required":true},"uri":{"type":"TypeString","required":true}}},"maxItems":1},"catalog_github":{"type":"TypeList","optional":true,"elem":{"schema":{"branch":{"type":"TypeString","required":true},"key_vault_key_url":{"type":"TypeString","required":true},"path":{"type":"TypeString","required":true},"uri":{"type":"TypeString","required":true}}},"maxItems":1},"dev_center_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_dev_center_dev_box_definition":{"schema":{"dev_center_id":{"type":"TypeString","required":true,"forceNew":true},"image_reference_id":{"type":"TypeString","required":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"sku_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_dev_center_environment_type":{"schema":{"dev_center_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_dev_center_gallery":{"schema":{"dev_center_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"shared_gallery_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_dev_center_network_connection":{"schema":{"domain_join_type":{"type":"TypeString","required":true,"forceNew":true},"domain_name":{"type":"TypeString","optional":true},"domain_password":{"type":"TypeString","optional":true},"domain_username":{"type":"TypeString","optional":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"organization_unit":{"type":"TypeString","optional":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"subnet_id":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_dev_center_project":{"schema":{"description":{"type":"TypeString","optional":true,"forceNew":true},"dev_center_id":{"type":"TypeString","required":true,"forceNew":true},"dev_center_uri":{"type":"TypeString","computed":true},"location":{"type":"TypeString","required":true,"forceNew":true},"maximum_dev_boxes_per_user":{"type":"TypeInt","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_dev_center_project_environment_type":{"schema":{"creator_role_assignment_roles":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"deployment_target_id":{"type":"TypeString","required":true},"dev_center_project_id":{"type":"TypeString","required":true,"forceNew":true},"identity":{"type":"TypeList","required":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"user_role_assignment":{"type":"TypeSet","optional":true,"elem":{"schema":{"roles":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}},"user_id":{"type":"TypeString","required":true}}}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_dev_test_global_vm_shutdown_schedule":{"schema":{"daily_recurrence_time":{"type":"TypeString","required":true},"enabled":{"type":"TypeBool","optional":true,"default":true},"location":{"type":"TypeString","required":true,"forceNew":true},"notification_settings":{"type":"TypeList","required":true,"elem":{"schema":{"email":{"type":"TypeString","optional":true},"enabled":{"type":"TypeBool","required":true},"time_in_minutes":{"type":"TypeInt","optional":true,"default":30},"webhook_url":{"type":"TypeString","optional":true}}},"maxItems":1},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"timezone":{"type":"TypeString","required":true},"virtual_machine_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_dev_test_lab":{"schema":{"artifacts_storage_account_id":{"type":"TypeString","computed":true},"default_premium_storage_account_id":{"type":"TypeString","computed":true},"default_storage_account_id":{"type":"TypeString","computed":true},"key_vault_id":{"type":"TypeString","computed":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"premium_data_disk_storage_account_id":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"unique_identifier":{"type":"TypeString","computed":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_dev_test_linux_virtual_machine":{"schema":{"allow_claim":{"type":"TypeBool","optional":true,"default":true},"disallow_public_ip_address":{"type":"TypeBool","optional":true,"forceNew":true},"fqdn":{"type":"TypeString","computed":true},"gallery_image_reference":{"type":"TypeList","required":true,"elem":{"schema":{"offer":{"type":"TypeString","required":true,"forceNew":true},"publisher":{"type":"TypeString","required":true,"forceNew":true},"sku":{"type":"TypeString","required":true,"forceNew":true},"version":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"inbound_nat_rule":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"schema":{"backend_port":{"type":"TypeInt","required":true,"forceNew":true},"frontend_port":{"type":"TypeInt","computed":true},"protocol":{"type":"TypeString","required":true}}}},"lab_name":{"type":"TypeString","required":true,"forceNew":true},"lab_subnet_name":{"type":"TypeString","required":true,"forceNew":true},"lab_virtual_network_id":{"type":"TypeString","required":true,"forceNew":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"notes":{"type":"TypeString","optional":true},"password":{"type":"TypeString","optional":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"size":{"type":"TypeString","required":true,"forceNew":true},"ssh_key":{"type":"TypeString","optional":true,"forceNew":true},"storage_type":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"unique_identifier":{"type":"TypeString","computed":true},"username":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_dev_test_policy":{"schema":{"description":{"type":"TypeString","optional":true},"evaluator_type":{"type":"TypeString","required":true,"forceNew":true},"fact_data":{"type":"TypeString","optional":true},"lab_name":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"policy_set_name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"threshold":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_dev_test_schedule":{"schema":{"daily_recurrence":{"type":"TypeList","optional":true,"elem":{"schema":{"time":{"type":"TypeString","required":true}}},"maxItems":1},"hourly_recurrence":{"type":"TypeList","optional":true,"elem":{"schema":{"minute":{"type":"TypeInt","required":true}}},"maxItems":1},"lab_name":{"type":"TypeString","required":true,"forceNew":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"notification_settings":{"type":"TypeList","required":true,"elem":{"schema":{"status":{"type":"TypeString","optional":true,"default":"Disabled"},"time_in_minutes":{"type":"TypeInt","optional":true},"webhook_url":{"type":"TypeString","optional":true}}},"maxItems":1},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"status":{"type":"TypeString","optional":true,"default":"Disabled"},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"task_type":{"type":"TypeString","required":true},"time_zone_id":{"type":"TypeString","required":true},"weekly_recurrence":{"type":"TypeList","optional":true,"elem":{"schema":{"time":{"type":"TypeString","required":true},"week_days":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_dev_test_virtual_network":{"schema":{"description":{"type":"TypeString","optional":true},"lab_name":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"subnet":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"name":{"type":"TypeString","computed":true},"shared_public_ip_address":{"type":"TypeList","optional":true,"elem":{"schema":{"allowed_ports":{"type":"TypeList","optional":true,"elem":{"schema":{"backend_port":{"type":"TypeInt","optional":true},"transport_protocol":{"type":"TypeString","optional":true}}}}}},"maxItems":1},"use_in_virtual_machine_creation":{"type":"TypeString","optional":true,"default":"Allow"},"use_public_ip_address":{"type":"TypeString","optional":true,"default":"Allow"}}},"maxItems":1},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"unique_identifier":{"type":"TypeString","computed":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_dev_test_windows_virtual_machine":{"schema":{"allow_claim":{"type":"TypeBool","optional":true,"default":true},"disallow_public_ip_address":{"type":"TypeBool","optional":true,"forceNew":true},"fqdn":{"type":"TypeString","computed":true},"gallery_image_reference":{"type":"TypeList","required":true,"elem":{"schema":{"offer":{"type":"TypeString","required":true,"forceNew":true},"publisher":{"type":"TypeString","required":true,"forceNew":true},"sku":{"type":"TypeString","required":true,"forceNew":true},"version":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"inbound_nat_rule":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"schema":{"backend_port":{"type":"TypeInt","required":true,"forceNew":true},"frontend_port":{"type":"TypeInt","computed":true},"protocol":{"type":"TypeString","required":true}}}},"lab_name":{"type":"TypeString","required":true,"forceNew":true},"lab_subnet_name":{"type":"TypeString","required":true,"forceNew":true},"lab_virtual_network_id":{"type":"TypeString","required":true,"forceNew":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"notes":{"type":"TypeString","optional":true},"password":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"size":{"type":"TypeString","required":true,"forceNew":true},"storage_type":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"unique_identifier":{"type":"TypeString","computed":true},"username":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_digital_twins_endpoint_eventgrid":{"schema":{"dead_letter_storage_secret":{"type":"TypeString","optional":true},"digital_twins_id":{"type":"TypeString","required":true,"forceNew":true},"eventgrid_topic_endpoint":{"type":"TypeString","required":true},"eventgrid_topic_primary_access_key":{"type":"TypeString","required":true},"eventgrid_topic_secondary_access_key":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_digital_twins_endpoint_eventhub":{"schema":{"dead_letter_storage_secret":{"type":"TypeString","optional":true},"digital_twins_id":{"type":"TypeString","required":true,"forceNew":true},"eventhub_primary_connection_string":{"type":"TypeString","required":true},"eventhub_secondary_connection_string":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_digital_twins_endpoint_servicebus":{"schema":{"dead_letter_storage_secret":{"type":"TypeString","optional":true},"digital_twins_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"servicebus_primary_connection_string":{"type":"TypeString","required":true},"servicebus_secondary_connection_string":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_digital_twins_instance":{"schema":{"host_name":{"type":"TypeString","computed":true},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_digital_twins_time_series_database_connection":{"schema":{"digital_twins_id":{"type":"TypeString","required":true,"forceNew":true},"eventhub_consumer_group_name":{"type":"TypeString","optional":true,"default":"$Default","forceNew":true},"eventhub_name":{"type":"TypeString","required":true,"forceNew":true},"eventhub_namespace_endpoint_uri":{"type":"TypeString","required":true,"forceNew":true},"eventhub_namespace_id":{"type":"TypeString","required":true,"forceNew":true},"kusto_cluster_id":{"type":"TypeString","required":true,"forceNew":true},"kusto_cluster_uri":{"type":"TypeString","required":true,"forceNew":true},"kusto_database_name":{"type":"TypeString","required":true,"forceNew":true},"kusto_table_name":{"type":"TypeString","optional":true,"default":"AdtPropertyEvents","forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_disk_access":{"schema":{"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_disk_encryption_set":{"schema":{"auto_key_rotation_enabled":{"type":"TypeBool","optional":true,"default":false},"encryption_type":{"type":"TypeString","optional":true,"default":"EncryptionAtRestWithCustomerKey","forceNew":true},"federated_client_id":{"type":"TypeString","optional":true},"identity":{"type":"TypeList","required":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"key_vault_key_id":{"type":"TypeString","optional":true},"key_vault_key_url":{"type":"TypeString","computed":true},"location":{"type":"TypeString","required":true,"forceNew":true},"managed_hsm_key_id":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":60,"read":5,"delete":60,"update":60}},"azurerm_dns_a_record":{"schema":{"fqdn":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true,"forceNew":true},"records":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"target_resource_id":{"type":"TypeString","optional":true},"ttl":{"type":"TypeInt","required":true},"zone_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_dns_aaaa_record":{"schema":{"fqdn":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true,"forceNew":true},"records":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"target_resource_id":{"type":"TypeString","optional":true},"ttl":{"type":"TypeInt","required":true},"zone_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_dns_caa_record":{"schema":{"fqdn":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true,"forceNew":true},"record":{"type":"TypeSet","required":true,"elem":{"schema":{"flags":{"type":"TypeInt","required":true},"tag":{"type":"TypeString","required":true},"value":{"type":"TypeString","required":true}}}},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"ttl":{"type":"TypeInt","required":true},"zone_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_dns_cname_record":{"schema":{"fqdn":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true,"forceNew":true},"record":{"type":"TypeString","optional":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"target_resource_id":{"type":"TypeString","optional":true},"ttl":{"type":"TypeInt","required":true},"zone_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_dns_mx_record":{"schema":{"fqdn":{"type":"TypeString","computed":true},"name":{"type":"TypeString","optional":true,"default":"@","forceNew":true},"record":{"type":"TypeSet","required":true,"elem":{"schema":{"exchange":{"type":"TypeString","required":true},"preference":{"type":"TypeString","required":true}}}},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"ttl":{"type":"TypeInt","required":true},"zone_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_dns_ns_record":{"schema":{"fqdn":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true,"forceNew":true},"records":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"ttl":{"type":"TypeInt","required":true},"zone_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_dns_ptr_record":{"schema":{"fqdn":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true,"forceNew":true},"records":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"ttl":{"type":"TypeInt","required":true},"zone_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_dns_srv_record":{"schema":{"fqdn":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true,"forceNew":true},"record":{"type":"TypeSet","required":true,"elem":{"schema":{"port":{"type":"TypeInt","required":true},"priority":{"type":"TypeInt","required":true},"target":{"type":"TypeString","required":true},"weight":{"type":"TypeInt","required":true}}}},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"ttl":{"type":"TypeInt","required":true},"zone_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_dns_txt_record":{"schema":{"fqdn":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true,"forceNew":true},"record":{"type":"TypeSet","required":true,"elem":{"schema":{"value":{"type":"TypeString","required":true}}}},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"ttl":{"type":"TypeInt","required":true},"zone_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_dns_zone":{"schema":{"max_number_of_record_sets":{"type":"TypeInt","computed":true},"name":{"type":"TypeString","required":true,"forceNew":true},"name_servers":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"number_of_record_sets":{"type":"TypeInt","computed":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"soa_record":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"email":{"type":"TypeString","required":true},"expire_time":{"type":"TypeInt","optional":true,"default":2419200},"fqdn":{"type":"TypeString","computed":true},"host_name":{"type":"TypeString","computed":true},"minimum_ttl":{"type":"TypeInt","optional":true,"default":300},"refresh_time":{"type":"TypeInt","optional":true,"default":3600},"retry_time":{"type":"TypeInt","optional":true,"default":300},"serial_number":{"type":"TypeInt","optional":true,"default":1},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"ttl":{"type":"TypeInt","optional":true,"default":3600}}},"maxItems":1},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_elastic_cloud_elasticsearch":{"schema":{"elastic_cloud_deployment_id":{"type":"TypeString","computed":true},"elastic_cloud_email_address":{"type":"TypeString","required":true,"forceNew":true},"elastic_cloud_sso_default_url":{"type":"TypeString","computed":true},"elastic_cloud_user_id":{"type":"TypeString","computed":true},"elasticsearch_service_url":{"type":"TypeString","computed":true},"kibana_service_url":{"type":"TypeString","computed":true},"kibana_sso_uri":{"type":"TypeString","computed":true},"location":{"type":"TypeString","required":true,"forceNew":true},"logs":{"type":"TypeList","optional":true,"elem":{"schema":{"filtering_tag":{"type":"TypeList","optional":true,"elem":{"schema":{"action":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true},"value":{"type":"TypeString","required":true}}}},"send_activity_logs":{"type":"TypeBool","optional":true,"default":false},"send_azuread_logs":{"type":"TypeBool","optional":true,"default":false},"send_subscription_logs":{"type":"TypeBool","optional":true,"default":false}}},"maxItems":1},"monitoring_enabled":{"type":"TypeBool","optional":true,"default":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"sku_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":60,"read":5,"delete":60,"update":60}},"azurerm_elastic_san":{"schema":{"base_size_in_tib":{"type":"TypeInt","required":true},"extended_size_in_tib":{"type":"TypeInt","optional":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"sku":{"type":"TypeList","required":true,"elem":{"schema":{"name":{"type":"TypeString","required":true,"forceNew":true},"tier":{"type":"TypeString","optional":true,"default":"Premium"}}},"maxItems":1,"minItems":1},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"total_iops":{"type":"TypeInt","computed":true},"total_mbps":{"type":"TypeInt","computed":true},"total_size_in_tib":{"type":"TypeInt","computed":true},"total_volume_size_in_gib":{"type":"TypeInt","computed":true},"volume_group_count":{"type":"TypeInt","computed":true},"zones":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_elastic_san_volume":{"schema":{"create_source":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"source_id":{"type":"TypeString","required":true,"forceNew":true},"source_type":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"size_in_gib":{"type":"TypeInt","required":true},"target_iqn":{"type":"TypeString","computed":true},"target_portal_hostname":{"type":"TypeString","computed":true},"target_portal_port":{"type":"TypeInt","computed":true},"volume_group_id":{"type":"TypeString","required":true,"forceNew":true},"volume_id":{"type":"TypeString","computed":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_elastic_san_volume_group":{"schema":{"elastic_san_id":{"type":"TypeString","required":true,"forceNew":true},"encryption":{"type":"TypeList","optional":true,"elem":{"schema":{"current_versioned_key_expiration_timestamp":{"type":"TypeString","computed":true},"current_versioned_key_id":{"type":"TypeString","computed":true},"key_vault_key_id":{"type":"TypeString","required":true},"last_key_rotation_timestamp":{"type":"TypeString","computed":true},"user_assigned_identity_id":{"type":"TypeString","optional":true}}},"maxItems":1},"encryption_type":{"type":"TypeString","optional":true,"default":"EncryptionAtRestWithPlatformKey"},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"network_rule":{"type":"TypeList","optional":true,"elem":{"schema":{"action":{"type":"TypeString","optional":true,"default":"Allow"},"subnet_id":{"type":"TypeString","required":true}}},"minItems":1},"protocol_type":{"type":"TypeString","optional":true,"default":"Iscsi"}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_email_communication_service":{"schema":{"data_location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_email_communication_service_domain":{"schema":{"domain_management":{"type":"TypeString","required":true,"forceNew":true},"email_service_id":{"type":"TypeString","required":true,"forceNew":true},"from_sender_domain":{"type":"TypeString","computed":true},"mail_from_sender_domain":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"user_engagement_tracking_enabled":{"type":"TypeBool","optional":true},"verification_records":{"type":"TypeList","computed":true,"elem":{"schema":{"dkim":{"type":"TypeList","computed":true,"elem":{"schema":{"name":{"type":"TypeString","computed":true},"ttl":{"type":"TypeInt","computed":true},"type":{"type":"TypeString","computed":true},"value":{"type":"TypeString","computed":true}}}},"dkim2":{"type":"TypeList","computed":true,"elem":{"schema":{"name":{"type":"TypeString","computed":true},"ttl":{"type":"TypeInt","computed":true},"type":{"type":"TypeString","computed":true},"value":{"type":"TypeString","computed":true}}}},"dmarc":{"type":"TypeList","computed":true,"elem":{"schema":{"name":{"type":"TypeString","computed":true},"ttl":{"type":"TypeInt","computed":true},"type":{"type":"TypeString","computed":true},"value":{"type":"TypeString","computed":true}}}},"domain":{"type":"TypeList","computed":true,"elem":{"schema":{"name":{"type":"TypeString","computed":true},"ttl":{"type":"TypeInt","computed":true},"type":{"type":"TypeString","computed":true},"value":{"type":"TypeString","computed":true}}}},"spf":{"type":"TypeList","computed":true,"elem":{"schema":{"name":{"type":"TypeString","computed":true},"ttl":{"type":"TypeInt","computed":true},"type":{"type":"TypeString","computed":true},"value":{"type":"TypeString","computed":true}}}}}}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_eventgrid_domain":{"schema":{"auto_create_topic_with_first_subscription":{"type":"TypeBool","optional":true,"default":true},"auto_delete_topic_with_last_subscription":{"type":"TypeBool","optional":true,"default":true},"endpoint":{"type":"TypeString","computed":true},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"inbound_ip_rule":{"type":"TypeList","configMode":"Auto","optional":true,"elem":{"schema":{"action":{"type":"TypeString","optional":true,"default":"Allow"},"ip_mask":{"type":"TypeString","required":true}}},"maxItems":128},"input_mapping_default_values":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"data_version":{"type":"TypeString","optional":true,"forceNew":true},"event_type":{"type":"TypeString","optional":true,"forceNew":true},"subject":{"type":"TypeString","optional":true,"forceNew":true}}},"maxItems":1},"input_mapping_fields":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"data_version":{"type":"TypeString","optional":true,"forceNew":true},"event_time":{"type":"TypeString","optional":true,"forceNew":true},"event_type":{"type":"TypeString","optional":true,"forceNew":true},"id":{"type":"TypeString","optional":true,"forceNew":true},"subject":{"type":"TypeString","optional":true,"forceNew":true},"topic":{"type":"TypeString","optional":true,"forceNew":true}}},"maxItems":1},"input_schema":{"type":"TypeString","optional":true,"default":"EventGridSchema","forceNew":true},"local_auth_enabled":{"type":"TypeBool","optional":true,"default":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"primary_access_key":{"type":"TypeString","computed":true},"public_network_access_enabled":{"type":"TypeBool","optional":true,"default":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"secondary_access_key":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_eventgrid_domain_topic":{"schema":{"domain_name":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_eventgrid_event_subscription":{"schema":{"advanced_filter":{"type":"TypeList","optional":true,"elem":{"schema":{"bool_equals":{"type":"TypeList","optional":true,"elem":{"schema":{"key":{"type":"TypeString","required":true},"value":{"type":"TypeBool","required":true}}}},"is_not_null":{"type":"TypeList","optional":true,"elem":{"schema":{"key":{"type":"TypeString","required":true}}}},"is_null_or_undefined":{"type":"TypeList","optional":true,"elem":{"schema":{"key":{"type":"TypeString","required":true}}}},"number_greater_than":{"type":"TypeList","optional":true,"elem":{"schema":{"key":{"type":"TypeString","required":true},"value":{"type":"TypeFloat","required":true}}}},"number_greater_than_or_equals":{"type":"TypeList","optional":true,"elem":{"schema":{"key":{"type":"TypeString","required":true},"value":{"type":"TypeFloat","required":true}}}},"number_in":{"type":"TypeList","optional":true,"elem":{"schema":{"key":{"type":"TypeString","required":true},"values":{"type":"TypeList","required":true,"elem":{"type":"TypeFloat"},"maxItems":25}}}},"number_in_range":{"type":"TypeList","optional":true,"elem":{"schema":{"key":{"type":"TypeString","required":true},"values":{"type":"TypeList","required":true,"elem":{"type":"TypeList","elem":{"type":"TypeFloat"},"maxItems":2,"minItems":2},"maxItems":25}}}},"number_less_than":{"type":"TypeList","optional":true,"elem":{"schema":{"key":{"type":"TypeString","required":true},"value":{"type":"TypeFloat","required":true}}}},"number_less_than_or_equals":{"type":"TypeList","optional":true,"elem":{"schema":{"key":{"type":"TypeString","required":true},"value":{"type":"TypeFloat","required":true}}}},"number_not_in":{"type":"TypeList","optional":true,"elem":{"schema":{"key":{"type":"TypeString","required":true},"values":{"type":"TypeList","required":true,"elem":{"type":"TypeFloat"},"maxItems":25}}}},"number_not_in_range":{"type":"TypeList","optional":true,"elem":{"schema":{"key":{"type":"TypeString","required":true},"values":{"type":"TypeList","required":true,"elem":{"type":"TypeList","elem":{"type":"TypeFloat"},"maxItems":2,"minItems":2},"maxItems":25}}}},"string_begins_with":{"type":"TypeList","optional":true,"elem":{"schema":{"key":{"type":"TypeString","required":true},"values":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"maxItems":25}}}},"string_contains":{"type":"TypeList","optional":true,"elem":{"schema":{"key":{"type":"TypeString","required":true},"values":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"maxItems":25}}}},"string_ends_with":{"type":"TypeList","optional":true,"elem":{"schema":{"key":{"type":"TypeString","required":true},"values":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"maxItems":25}}}},"string_in":{"type":"TypeList","optional":true,"elem":{"schema":{"key":{"type":"TypeString","required":true},"values":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"maxItems":25}}}},"string_not_begins_with":{"type":"TypeList","optional":true,"elem":{"schema":{"key":{"type":"TypeString","required":true},"values":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"maxItems":25}}}},"string_not_contains":{"type":"TypeList","optional":true,"elem":{"schema":{"key":{"type":"TypeString","required":true},"values":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"maxItems":25}}}},"string_not_ends_with":{"type":"TypeList","optional":true,"elem":{"schema":{"key":{"type":"TypeString","required":true},"values":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"maxItems":25}}}},"string_not_in":{"type":"TypeList","optional":true,"elem":{"schema":{"key":{"type":"TypeString","required":true},"values":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"maxItems":25}}}}}},"maxItems":1},"advanced_filtering_on_arrays_enabled":{"type":"TypeBool","optional":true,"default":false},"azure_function_endpoint":{"type":"TypeList","optional":true,"elem":{"schema":{"function_id":{"type":"TypeString","required":true},"max_events_per_batch":{"type":"TypeInt","optional":true},"preferred_batch_size_in_kilobytes":{"type":"TypeInt","optional":true}}},"maxItems":1},"dead_letter_identity":{"type":"TypeList","optional":true,"elem":{"schema":{"type":{"type":"TypeString","required":true},"user_assigned_identity":{"type":"TypeString","optional":true}}},"maxItems":1},"delivery_identity":{"type":"TypeList","optional":true,"elem":{"schema":{"type":{"type":"TypeString","required":true},"user_assigned_identity":{"type":"TypeString","optional":true}}},"maxItems":1},"delivery_property":{"type":"TypeList","optional":true,"elem":{"schema":{"header_name":{"type":"TypeString","required":true},"secret":{"type":"TypeBool","optional":true},"source_field":{"type":"TypeString","optional":true},"type":{"type":"TypeString","required":true},"value":{"type":"TypeString","optional":true}}}},"event_delivery_schema":{"type":"TypeString","optional":true,"default":"EventGridSchema","forceNew":true},"eventhub_endpoint_id":{"type":"TypeString","optional":true,"computed":true},"expiration_time_utc":{"type":"TypeString","optional":true},"hybrid_connection_endpoint_id":{"type":"TypeString","optional":true,"computed":true},"included_event_types":{"type":"TypeList","optional":true,"computed":true,"elem":{"type":"TypeString"}},"labels":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true,"forceNew":true},"retry_policy":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"event_time_to_live":{"type":"TypeInt","required":true},"max_delivery_attempts":{"type":"TypeInt","required":true}}},"maxItems":1},"scope":{"type":"TypeString","required":true,"forceNew":true},"service_bus_queue_endpoint_id":{"type":"TypeString","optional":true},"service_bus_topic_endpoint_id":{"type":"TypeString","optional":true},"storage_blob_dead_letter_destination":{"type":"TypeList","optional":true,"elem":{"schema":{"storage_account_id":{"type":"TypeString","required":true},"storage_blob_container_name":{"type":"TypeString","required":true}}},"maxItems":1},"storage_queue_endpoint":{"type":"TypeList","optional":true,"elem":{"schema":{"queue_message_time_to_live_in_seconds":{"type":"TypeInt","optional":true},"queue_name":{"type":"TypeString","required":true},"storage_account_id":{"type":"TypeString","required":true}}},"maxItems":1},"subject_filter":{"type":"TypeList","optional":true,"elem":{"schema":{"case_sensitive":{"type":"TypeBool","optional":true},"subject_begins_with":{"type":"TypeString","optional":true},"subject_ends_with":{"type":"TypeString","optional":true}}},"maxItems":1},"webhook_endpoint":{"type":"TypeList","optional":true,"elem":{"schema":{"active_directory_app_id_or_uri":{"type":"TypeString","optional":true},"active_directory_tenant_id":{"type":"TypeString","optional":true},"base_url":{"type":"TypeString","computed":true},"max_events_per_batch":{"type":"TypeInt","optional":true},"preferred_batch_size_in_kilobytes":{"type":"TypeInt","optional":true},"url":{"type":"TypeString","required":true}}},"maxItems":1}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_eventgrid_system_topic":{"schema":{"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"metric_arm_resource_id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"source_arm_resource_id":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"topic_type":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_eventgrid_system_topic_event_subscription":{"schema":{"advanced_filter":{"type":"TypeList","optional":true,"elem":{"schema":{"bool_equals":{"type":"TypeList","optional":true,"elem":{"schema":{"key":{"type":"TypeString","required":true},"value":{"type":"TypeBool","required":true}}}},"is_not_null":{"type":"TypeList","optional":true,"elem":{"schema":{"key":{"type":"TypeString","required":true}}}},"is_null_or_undefined":{"type":"TypeList","optional":true,"elem":{"schema":{"key":{"type":"TypeString","required":true}}}},"number_greater_than":{"type":"TypeList","optional":true,"elem":{"schema":{"key":{"type":"TypeString","required":true},"value":{"type":"TypeFloat","required":true}}}},"number_greater_than_or_equals":{"type":"TypeList","optional":true,"elem":{"schema":{"key":{"type":"TypeString","required":true},"value":{"type":"TypeFloat","required":true}}}},"number_in":{"type":"TypeList","optional":true,"elem":{"schema":{"key":{"type":"TypeString","required":true},"values":{"type":"TypeList","required":true,"elem":{"type":"TypeFloat"},"maxItems":25}}}},"number_in_range":{"type":"TypeList","optional":true,"elem":{"schema":{"key":{"type":"TypeString","required":true},"values":{"type":"TypeList","required":true,"elem":{"type":"TypeList","elem":{"type":"TypeFloat"},"maxItems":2,"minItems":2},"maxItems":25}}}},"number_less_than":{"type":"TypeList","optional":true,"elem":{"schema":{"key":{"type":"TypeString","required":true},"value":{"type":"TypeFloat","required":true}}}},"number_less_than_or_equals":{"type":"TypeList","optional":true,"elem":{"schema":{"key":{"type":"TypeString","required":true},"value":{"type":"TypeFloat","required":true}}}},"number_not_in":{"type":"TypeList","optional":true,"elem":{"schema":{"key":{"type":"TypeString","required":true},"values":{"type":"TypeList","required":true,"elem":{"type":"TypeFloat"},"maxItems":25}}}},"number_not_in_range":{"type":"TypeList","optional":true,"elem":{"schema":{"key":{"type":"TypeString","required":true},"values":{"type":"TypeList","required":true,"elem":{"type":"TypeList","elem":{"type":"TypeFloat"},"maxItems":2,"minItems":2},"maxItems":25}}}},"string_begins_with":{"type":"TypeList","optional":true,"elem":{"schema":{"key":{"type":"TypeString","required":true},"values":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"maxItems":25}}}},"string_contains":{"type":"TypeList","optional":true,"elem":{"schema":{"key":{"type":"TypeString","required":true},"values":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"maxItems":25}}}},"string_ends_with":{"type":"TypeList","optional":true,"elem":{"schema":{"key":{"type":"TypeString","required":true},"values":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"maxItems":25}}}},"string_in":{"type":"TypeList","optional":true,"elem":{"schema":{"key":{"type":"TypeString","required":true},"values":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"maxItems":25}}}},"string_not_begins_with":{"type":"TypeList","optional":true,"elem":{"schema":{"key":{"type":"TypeString","required":true},"values":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"maxItems":25}}}},"string_not_contains":{"type":"TypeList","optional":true,"elem":{"schema":{"key":{"type":"TypeString","required":true},"values":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"maxItems":25}}}},"string_not_ends_with":{"type":"TypeList","optional":true,"elem":{"schema":{"key":{"type":"TypeString","required":true},"values":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"maxItems":25}}}},"string_not_in":{"type":"TypeList","optional":true,"elem":{"schema":{"key":{"type":"TypeString","required":true},"values":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"maxItems":25}}}}}},"maxItems":1},"advanced_filtering_on_arrays_enabled":{"type":"TypeBool","optional":true,"default":false},"azure_function_endpoint":{"type":"TypeList","optional":true,"elem":{"schema":{"function_id":{"type":"TypeString","required":true},"max_events_per_batch":{"type":"TypeInt","optional":true},"preferred_batch_size_in_kilobytes":{"type":"TypeInt","optional":true}}},"maxItems":1},"dead_letter_identity":{"type":"TypeList","optional":true,"elem":{"schema":{"type":{"type":"TypeString","required":true},"user_assigned_identity":{"type":"TypeString","optional":true}}},"maxItems":1},"delivery_identity":{"type":"TypeList","optional":true,"elem":{"schema":{"type":{"type":"TypeString","required":true},"user_assigned_identity":{"type":"TypeString","optional":true}}},"maxItems":1},"delivery_property":{"type":"TypeList","optional":true,"elem":{"schema":{"header_name":{"type":"TypeString","required":true},"secret":{"type":"TypeBool","optional":true},"source_field":{"type":"TypeString","optional":true},"type":{"type":"TypeString","required":true},"value":{"type":"TypeString","optional":true}}}},"event_delivery_schema":{"type":"TypeString","optional":true,"default":"EventGridSchema","forceNew":true},"eventhub_endpoint_id":{"type":"TypeString","optional":true,"computed":true},"expiration_time_utc":{"type":"TypeString","optional":true},"hybrid_connection_endpoint_id":{"type":"TypeString","optional":true,"computed":true},"included_event_types":{"type":"TypeList","optional":true,"computed":true,"elem":{"type":"TypeString"}},"labels":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"retry_policy":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"event_time_to_live":{"type":"TypeInt","required":true},"max_delivery_attempts":{"type":"TypeInt","required":true}}},"maxItems":1},"service_bus_queue_endpoint_id":{"type":"TypeString","optional":true},"service_bus_topic_endpoint_id":{"type":"TypeString","optional":true},"storage_blob_dead_letter_destination":{"type":"TypeList","optional":true,"elem":{"schema":{"storage_account_id":{"type":"TypeString","required":true},"storage_blob_container_name":{"type":"TypeString","required":true}}},"maxItems":1},"storage_queue_endpoint":{"type":"TypeList","optional":true,"elem":{"schema":{"queue_message_time_to_live_in_seconds":{"type":"TypeInt","optional":true},"queue_name":{"type":"TypeString","required":true},"storage_account_id":{"type":"TypeString","required":true}}},"maxItems":1},"subject_filter":{"type":"TypeList","optional":true,"elem":{"schema":{"case_sensitive":{"type":"TypeBool","optional":true},"subject_begins_with":{"type":"TypeString","optional":true},"subject_ends_with":{"type":"TypeString","optional":true}}},"maxItems":1},"system_topic":{"type":"TypeString","required":true,"forceNew":true},"webhook_endpoint":{"type":"TypeList","optional":true,"elem":{"schema":{"active_directory_app_id_or_uri":{"type":"TypeString","optional":true},"active_directory_tenant_id":{"type":"TypeString","optional":true},"base_url":{"type":"TypeString","computed":true},"max_events_per_batch":{"type":"TypeInt","optional":true},"preferred_batch_size_in_kilobytes":{"type":"TypeInt","optional":true},"url":{"type":"TypeString","required":true}}},"maxItems":1}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_eventgrid_topic":{"schema":{"endpoint":{"type":"TypeString","computed":true},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"inbound_ip_rule":{"type":"TypeList","configMode":"Auto","optional":true,"elem":{"schema":{"action":{"type":"TypeString","optional":true,"default":"Allow"},"ip_mask":{"type":"TypeString","required":true}}},"maxItems":128},"input_mapping_default_values":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"data_version":{"type":"TypeString","optional":true,"forceNew":true},"event_type":{"type":"TypeString","optional":true,"forceNew":true},"subject":{"type":"TypeString","optional":true,"forceNew":true}}},"maxItems":1},"input_mapping_fields":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"data_version":{"type":"TypeString","optional":true,"forceNew":true},"event_time":{"type":"TypeString","optional":true,"forceNew":true},"event_type":{"type":"TypeString","optional":true,"forceNew":true},"id":{"type":"TypeString","optional":true,"forceNew":true},"subject":{"type":"TypeString","optional":true,"forceNew":true},"topic":{"type":"TypeString","optional":true,"forceNew":true}}},"maxItems":1},"input_schema":{"type":"TypeString","optional":true,"default":"EventGridSchema","forceNew":true},"local_auth_enabled":{"type":"TypeBool","optional":true,"default":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"primary_access_key":{"type":"TypeString","computed":true},"public_network_access_enabled":{"type":"TypeBool","optional":true,"default":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"secondary_access_key":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_eventhub":{"schema":{"capture_description":{"type":"TypeList","optional":true,"elem":{"schema":{"destination":{"type":"TypeList","required":true,"elem":{"schema":{"archive_name_format":{"type":"TypeString","required":true},"blob_container_name":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true},"storage_account_id":{"type":"TypeString","required":true}}},"maxItems":1},"enabled":{"type":"TypeBool","required":true},"encoding":{"type":"TypeString","required":true},"interval_in_seconds":{"type":"TypeInt","optional":true,"default":300},"size_limit_in_bytes":{"type":"TypeInt","optional":true,"default":314572800},"skip_empty_archives":{"type":"TypeBool","optional":true,"default":false}}},"maxItems":1},"message_retention":{"type":"TypeInt","required":true},"name":{"type":"TypeString","required":true,"forceNew":true},"namespace_name":{"type":"TypeString","required":true,"forceNew":true},"partition_count":{"type":"TypeInt","required":true},"partition_ids":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"status":{"type":"TypeString","optional":true,"default":"Active"}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_eventhub_authorization_rule":{"schema":{"eventhub_name":{"type":"TypeString","required":true,"forceNew":true},"listen":{"type":"TypeBool","optional":true,"default":false},"manage":{"type":"TypeBool","optional":true,"default":false},"name":{"type":"TypeString","required":true,"forceNew":true},"namespace_name":{"type":"TypeString","required":true,"forceNew":true},"primary_connection_string":{"type":"TypeString","computed":true},"primary_connection_string_alias":{"type":"TypeString","computed":true},"primary_key":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"secondary_connection_string":{"type":"TypeString","computed":true},"secondary_connection_string_alias":{"type":"TypeString","computed":true},"secondary_key":{"type":"TypeString","computed":true},"send":{"type":"TypeBool","optional":true,"default":false}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_eventhub_cluster":{"schema":{"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"sku_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":300,"update":30}},"azurerm_eventhub_consumer_group":{"schema":{"eventhub_name":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"namespace_name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"user_metadata":{"type":"TypeString","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_eventhub_namespace":{"schema":{"auto_inflate_enabled":{"type":"TypeBool","optional":true,"default":false},"capacity":{"type":"TypeInt","optional":true,"default":1},"dedicated_cluster_id":{"type":"TypeString","optional":true,"forceNew":true},"default_primary_connection_string":{"type":"TypeString","computed":true},"default_primary_connection_string_alias":{"type":"TypeString","computed":true},"default_primary_key":{"type":"TypeString","computed":true},"default_secondary_connection_string":{"type":"TypeString","computed":true},"default_secondary_connection_string_alias":{"type":"TypeString","computed":true},"default_secondary_key":{"type":"TypeString","computed":true},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"local_authentication_enabled":{"type":"TypeBool","optional":true,"default":true},"location":{"type":"TypeString","required":true,"forceNew":true},"maximum_throughput_units":{"type":"TypeInt","optional":true},"minimum_tls_version":{"type":"TypeString","optional":true,"default":"1.2"},"name":{"type":"TypeString","required":true,"forceNew":true},"network_rulesets":{"type":"TypeList","configMode":"Auto","optional":true,"computed":true,"elem":{"schema":{"default_action":{"type":"TypeString","required":true},"ip_rule":{"type":"TypeList","configMode":"Auto","optional":true,"elem":{"schema":{"action":{"type":"TypeString","optional":true,"default":"Allow"},"ip_mask":{"type":"TypeString","required":true}}},"maxItems":128},"public_network_access_enabled":{"type":"TypeBool","optional":true,"default":true},"trusted_service_access_enabled":{"type":"TypeBool","optional":true},"virtual_network_rule":{"type":"TypeSet","configMode":"Auto","optional":true,"elem":{"schema":{"ignore_missing_virtual_network_service_endpoint":{"type":"TypeBool","optional":true},"subnet_id":{"type":"TypeString","required":true}}},"maxItems":128}}},"maxItems":1},"public_network_access_enabled":{"type":"TypeBool","optional":true,"default":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"sku":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_eventhub_namespace_authorization_rule":{"schema":{"listen":{"type":"TypeBool","optional":true,"default":false},"manage":{"type":"TypeBool","optional":true,"default":false},"name":{"type":"TypeString","required":true,"forceNew":true},"namespace_name":{"type":"TypeString","required":true,"forceNew":true},"primary_connection_string":{"type":"TypeString","computed":true},"primary_connection_string_alias":{"type":"TypeString","computed":true},"primary_key":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"secondary_connection_string":{"type":"TypeString","computed":true},"secondary_connection_string_alias":{"type":"TypeString","computed":true},"secondary_key":{"type":"TypeString","computed":true},"send":{"type":"TypeBool","optional":true,"default":false}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_eventhub_namespace_customer_managed_key":{"schema":{"eventhub_namespace_id":{"type":"TypeString","required":true,"forceNew":true},"infrastructure_encryption_enabled":{"type":"TypeBool","optional":true,"default":false,"forceNew":true},"key_vault_key_ids":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}},"user_assigned_identity_id":{"type":"TypeString","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_eventhub_namespace_disaster_recovery_config":{"schema":{"name":{"type":"TypeString","required":true,"forceNew":true},"namespace_name":{"type":"TypeString","required":true,"forceNew":true},"partner_namespace_id":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_eventhub_namespace_schema_group":{"schema":{"name":{"type":"TypeString","required":true,"forceNew":true},"namespace_id":{"type":"TypeString","required":true,"forceNew":true},"schema_compatibility":{"type":"TypeString","required":true,"forceNew":true},"schema_type":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_express_route_circuit":{"schema":{"allow_classic_operations":{"type":"TypeBool","optional":true,"default":false},"authorization_key":{"type":"TypeString","optional":true},"bandwidth_in_gbps":{"type":"TypeFloat","optional":true},"bandwidth_in_mbps":{"type":"TypeInt","optional":true},"express_route_port_id":{"type":"TypeString","optional":true,"forceNew":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"peering_location":{"type":"TypeString","optional":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"service_key":{"type":"TypeString","computed":true},"service_provider_name":{"type":"TypeString","optional":true,"forceNew":true},"service_provider_provisioning_state":{"type":"TypeString","computed":true},"sku":{"type":"TypeList","required":true,"elem":{"schema":{"family":{"type":"TypeString","required":true},"tier":{"type":"TypeString","required":true}}},"maxItems":1},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_express_route_circuit_authorization":{"schema":{"authorization_key":{"type":"TypeString","computed":true},"authorization_use_status":{"type":"TypeString","computed":true},"express_route_circuit_name":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_express_route_circuit_connection":{"schema":{"address_prefix_ipv4":{"type":"TypeString","required":true,"forceNew":true},"address_prefix_ipv6":{"type":"TypeString","optional":true},"authorization_key":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"peer_peering_id":{"type":"TypeString","required":true,"forceNew":true},"peering_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_express_route_circuit_peering":{"schema":{"azure_asn":{"type":"TypeInt","computed":true},"express_route_circuit_name":{"type":"TypeString","required":true,"forceNew":true},"gateway_manager_etag":{"type":"TypeString","computed":true},"ipv4_enabled":{"type":"TypeBool","optional":true,"default":true},"ipv6":{"type":"TypeList","optional":true,"elem":{"schema":{"enabled":{"type":"TypeBool","optional":true,"default":true},"microsoft_peering":{"type":"TypeList","optional":true,"elem":{"schema":{"advertised_communities":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"advertised_public_prefixes":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"minItems":1},"customer_asn":{"type":"TypeInt","optional":true,"default":0},"routing_registry_name":{"type":"TypeString","optional":true,"default":"NONE"}}},"maxItems":1},"primary_peer_address_prefix":{"type":"TypeString","required":true},"route_filter_id":{"type":"TypeString","optional":true},"secondary_peer_address_prefix":{"type":"TypeString","required":true}}},"maxItems":1},"microsoft_peering_config":{"type":"TypeList","optional":true,"elem":{"schema":{"advertised_communities":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"advertised_public_prefixes":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}},"customer_asn":{"type":"TypeInt","optional":true,"default":0},"routing_registry_name":{"type":"TypeString","optional":true,"default":"NONE"}}},"maxItems":1},"peer_asn":{"type":"TypeInt","optional":true,"computed":true},"peering_type":{"type":"TypeString","required":true},"primary_azure_port":{"type":"TypeString","computed":true},"primary_peer_address_prefix":{"type":"TypeString","optional":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"route_filter_id":{"type":"TypeString","optional":true},"secondary_azure_port":{"type":"TypeString","computed":true},"secondary_peer_address_prefix":{"type":"TypeString","optional":true},"shared_key":{"type":"TypeString","optional":true},"vlan_id":{"type":"TypeInt","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_express_route_connection":{"schema":{"authorization_key":{"type":"TypeString","optional":true},"enable_internet_security":{"type":"TypeBool","optional":true},"express_route_circuit_peering_id":{"type":"TypeString","required":true,"forceNew":true},"express_route_gateway_bypass_enabled":{"type":"TypeBool","optional":true,"default":false},"express_route_gateway_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"private_link_fast_path_enabled":{"type":"TypeBool","optional":true},"routing":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"associated_route_table_id":{"type":"TypeString","optional":true,"computed":true},"inbound_route_map_id":{"type":"TypeString","optional":true},"outbound_route_map_id":{"type":"TypeString","optional":true},"propagated_route_table":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"labels":{"type":"TypeSet","optional":true,"computed":true,"elem":{"type":"TypeString"}},"route_table_ids":{"type":"TypeList","optional":true,"computed":true,"elem":{"type":"TypeString"}}}},"maxItems":1}}},"maxItems":1},"routing_weight":{"type":"TypeInt","optional":true,"default":0}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_express_route_gateway":{"schema":{"allow_non_virtual_wan_traffic":{"type":"TypeBool","optional":true,"default":false},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"scale_units":{"type":"TypeInt","required":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"virtual_hub_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":90,"read":5,"delete":90,"update":90}},"azurerm_express_route_port":{"schema":{"bandwidth_in_gbps":{"type":"TypeInt","required":true,"forceNew":true},"billing_type":{"type":"TypeString","optional":true,"default":"MeteredData"},"encapsulation":{"type":"TypeString","required":true,"forceNew":true},"ethertype":{"type":"TypeString","computed":true},"guid":{"type":"TypeString","computed":true},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"link1":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"admin_enabled":{"type":"TypeBool","optional":true,"default":false},"connector_type":{"type":"TypeString","computed":true},"id":{"type":"TypeString","computed":true},"interface_name":{"type":"TypeString","computed":true},"macsec_cak_keyvault_secret_id":{"type":"TypeString","optional":true},"macsec_cipher":{"type":"TypeString","optional":true,"default":"GcmAes128"},"macsec_ckn_keyvault_secret_id":{"type":"TypeString","optional":true},"macsec_sci_enabled":{"type":"TypeBool","optional":true,"default":false},"patch_panel_id":{"type":"TypeString","computed":true},"rack_id":{"type":"TypeString","computed":true},"router_name":{"type":"TypeString","computed":true}}},"maxItems":1,"minItems":1},"link2":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"admin_enabled":{"type":"TypeBool","optional":true,"default":false},"connector_type":{"type":"TypeString","computed":true},"id":{"type":"TypeString","computed":true},"interface_name":{"type":"TypeString","computed":true},"macsec_cak_keyvault_secret_id":{"type":"TypeString","optional":true},"macsec_cipher":{"type":"TypeString","optional":true,"default":"GcmAes128"},"macsec_ckn_keyvault_secret_id":{"type":"TypeString","optional":true},"macsec_sci_enabled":{"type":"TypeBool","optional":true,"default":false},"patch_panel_id":{"type":"TypeString","computed":true},"rack_id":{"type":"TypeString","computed":true},"router_name":{"type":"TypeString","computed":true}}},"maxItems":1,"minItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"mtu":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true,"forceNew":true},"peering_location":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_express_route_port_authorization":{"schema":{"authorization_key":{"type":"TypeString","computed":true},"authorization_use_status":{"type":"TypeString","computed":true},"express_route_port_name":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_extended_custom_location":{"schema":{"authentication":{"type":"TypeList","optional":true,"elem":{"schema":{"type":{"type":"TypeString","optional":true},"value":{"type":"TypeString","required":true}}},"maxItems":1},"cluster_extension_ids":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}},"display_name":{"type":"TypeString","optional":true,"forceNew":true},"host_resource_id":{"type":"TypeString","required":true,"forceNew":true},"host_type":{"type":"TypeString","optional":true,"forceNew":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"namespace":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_federated_identity_credential":{"schema":{"audience":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"maxItems":1},"issuer":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true,"forceNew":true},"parent_id":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"subject":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_firewall":{"schema":{"dns_proxy_enabled":{"type":"TypeBool","optional":true,"computed":true},"dns_servers":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"minItems":1},"firewall_policy_id":{"type":"TypeString","optional":true},"ip_configuration":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"private_ip_address":{"type":"TypeString","computed":true},"public_ip_address_id":{"type":"TypeString","optional":true},"subnet_id":{"type":"TypeString","optional":true,"forceNew":true}}}},"location":{"type":"TypeString","required":true,"forceNew":true},"management_ip_configuration":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"private_ip_address":{"type":"TypeString","computed":true},"public_ip_address_id":{"type":"TypeString","required":true},"subnet_id":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"private_ip_ranges":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"minItems":1},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"sku_name":{"type":"TypeString","required":true,"forceNew":true},"sku_tier":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"threat_intel_mode":{"type":"TypeString","optional":true,"computed":true},"virtual_hub":{"type":"TypeList","optional":true,"elem":{"schema":{"private_ip_address":{"type":"TypeString","computed":true},"public_ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"public_ip_count":{"type":"TypeInt","optional":true,"default":1},"virtual_hub_id":{"type":"TypeString","required":true}}},"maxItems":1},"zones":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":90,"read":5,"delete":90,"update":90}},"azurerm_firewall_application_rule_collection":{"schema":{"action":{"type":"TypeString","required":true},"azure_firewall_name":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"priority":{"type":"TypeInt","required":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"rule":{"type":"TypeList","required":true,"elem":{"schema":{"description":{"type":"TypeString","optional":true},"fqdn_tags":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true},"protocol":{"type":"TypeList","optional":true,"elem":{"schema":{"port":{"type":"TypeInt","required":true},"type":{"type":"TypeString","required":true}}},"minItems":1},"source_addresses":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"source_ip_groups":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"target_fqdns":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}}}},"minItems":1}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_firewall_nat_rule_collection":{"schema":{"action":{"type":"TypeString","required":true},"azure_firewall_name":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"priority":{"type":"TypeInt","required":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"rule":{"type":"TypeList","required":true,"elem":{"schema":{"description":{"type":"TypeString","optional":true},"destination_addresses":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}},"destination_ports":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true},"protocols":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}},"source_addresses":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"source_ip_groups":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"translated_address":{"type":"TypeString","required":true},"translated_port":{"type":"TypeString","required":true}}},"minItems":1}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_firewall_network_rule_collection":{"schema":{"action":{"type":"TypeString","required":true},"azure_firewall_name":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"priority":{"type":"TypeInt","required":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"rule":{"type":"TypeList","required":true,"elem":{"schema":{"description":{"type":"TypeString","optional":true},"destination_addresses":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"destination_fqdns":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"destination_ip_groups":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"destination_ports":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true},"protocols":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}},"source_addresses":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"source_ip_groups":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}}}},"minItems":1}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_firewall_policy":{"schema":{"auto_learn_private_ranges_enabled":{"type":"TypeBool","optional":true},"base_policy_id":{"type":"TypeString","optional":true},"child_policies":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"dns":{"type":"TypeList","optional":true,"elem":{"schema":{"proxy_enabled":{"type":"TypeBool","optional":true,"default":false},"servers":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1,"minItems":1},"explicit_proxy":{"type":"TypeList","optional":true,"elem":{"schema":{"enable_pac_file":{"type":"TypeBool","optional":true},"enabled":{"type":"TypeBool","optional":true},"http_port":{"type":"TypeInt","optional":true},"https_port":{"type":"TypeInt","optional":true},"pac_file":{"type":"TypeString","optional":true},"pac_file_port":{"type":"TypeInt","optional":true}}},"maxItems":1},"firewalls":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"insights":{"type":"TypeList","optional":true,"elem":{"schema":{"default_log_analytics_workspace_id":{"type":"TypeString","required":true},"enabled":{"type":"TypeBool","required":true},"log_analytics_workspace":{"type":"TypeList","optional":true,"elem":{"schema":{"firewall_location":{"type":"TypeString","required":true},"id":{"type":"TypeString","required":true}}}},"retention_in_days":{"type":"TypeInt","optional":true}}},"maxItems":1},"intrusion_detection":{"type":"TypeList","optional":true,"elem":{"schema":{"mode":{"type":"TypeString","optional":true},"private_ranges":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"signature_overrides":{"type":"TypeList","optional":true,"elem":{"schema":{"id":{"type":"TypeString","optional":true},"state":{"type":"TypeString","optional":true}}}},"traffic_bypass":{"type":"TypeList","optional":true,"elem":{"schema":{"description":{"type":"TypeString","optional":true},"destination_addresses":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"destination_ip_groups":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"destination_ports":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true},"protocol":{"type":"TypeString","required":true},"source_addresses":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"source_ip_groups":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}}}}}}},"maxItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"private_ip_ranges":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"minItems":1},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"rule_collection_groups":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"sku":{"type":"TypeString","optional":true,"default":"Standard","forceNew":true},"sql_redirect_allowed":{"type":"TypeBool","optional":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"threat_intelligence_allowlist":{"type":"TypeList","optional":true,"elem":{"schema":{"fqdns":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"ip_addresses":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1,"minItems":1},"threat_intelligence_mode":{"type":"TypeString","optional":true,"default":"Alert"},"tls_certificate":{"type":"TypeList","optional":true,"elem":{"schema":{"key_vault_secret_id":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true}}},"maxItems":1,"minItems":1}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_firewall_policy_rule_collection_group":{"schema":{"application_rule_collection":{"type":"TypeList","optional":true,"elem":{"schema":{"action":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true},"priority":{"type":"TypeInt","required":true},"rule":{"type":"TypeList","required":true,"elem":{"schema":{"description":{"type":"TypeString","optional":true},"destination_addresses":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"destination_fqdn_tags":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"destination_fqdns":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"destination_urls":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"http_headers":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"value":{"type":"TypeString","required":true}}}},"name":{"type":"TypeString","required":true},"protocols":{"type":"TypeList","optional":true,"elem":{"schema":{"port":{"type":"TypeInt","required":true},"type":{"type":"TypeString","required":true}}}},"source_addresses":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"source_ip_groups":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"terminate_tls":{"type":"TypeBool","optional":true},"web_categories":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}}}},"minItems":1}}},"minItems":1},"firewall_policy_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"nat_rule_collection":{"type":"TypeList","optional":true,"elem":{"schema":{"action":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true},"priority":{"type":"TypeInt","required":true},"rule":{"type":"TypeList","required":true,"elem":{"schema":{"description":{"type":"TypeString","optional":true},"destination_address":{"type":"TypeString","optional":true},"destination_ports":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"maxItems":1},"name":{"type":"TypeString","required":true},"protocols":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}},"source_addresses":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"source_ip_groups":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"translated_address":{"type":"TypeString","optional":true},"translated_fqdn":{"type":"TypeString","optional":true},"translated_port":{"type":"TypeInt","required":true}}},"minItems":1}}},"minItems":1},"network_rule_collection":{"type":"TypeList","optional":true,"elem":{"schema":{"action":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true},"priority":{"type":"TypeInt","required":true},"rule":{"type":"TypeList","required":true,"elem":{"schema":{"description":{"type":"TypeString","optional":true},"destination_addresses":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"destination_fqdns":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"destination_ip_groups":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"destination_ports":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true},"protocols":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}},"source_addresses":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"source_ip_groups":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}}}},"minItems":1}}},"minItems":1},"priority":{"type":"TypeInt","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_fluid_relay_server":{"schema":{"customer_managed_key":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"key_vault_key_id":{"type":"TypeString","required":true},"user_assigned_identity_id":{"type":"TypeString","required":true}}},"maxItems":1},"frs_tenant_id":{"type":"TypeString","computed":true},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"orderer_endpoints":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"primary_key":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"secondary_key":{"type":"TypeString","computed":true},"service_endpoints":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"storage_endpoints":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"storage_sku":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":10,"update":10}},"azurerm_frontdoor":{"schema":{"backend_pool":{"type":"TypeList","required":true,"elem":{"schema":{"backend":{"type":"TypeList","required":true,"elem":{"schema":{"address":{"type":"TypeString","required":true},"enabled":{"type":"TypeBool","optional":true,"default":true},"host_header":{"type":"TypeString","required":true},"http_port":{"type":"TypeInt","required":true},"https_port":{"type":"TypeInt","required":true},"priority":{"type":"TypeInt","optional":true,"default":1},"weight":{"type":"TypeInt","optional":true,"default":50}}},"maxItems":500},"health_probe_name":{"type":"TypeString","required":true},"id":{"type":"TypeString","computed":true},"load_balancing_name":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true}}}},"backend_pool_health_probe":{"type":"TypeList","required":true,"elem":{"schema":{"enabled":{"type":"TypeBool","optional":true,"default":true},"id":{"type":"TypeString","computed":true},"interval_in_seconds":{"type":"TypeInt","optional":true,"default":120},"name":{"type":"TypeString","required":true},"path":{"type":"TypeString","optional":true,"default":"/"},"probe_method":{"type":"TypeString","optional":true,"default":"GET"},"protocol":{"type":"TypeString","optional":true,"default":"Http"}}},"maxItems":5000},"backend_pool_health_probes":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"backend_pool_load_balancing":{"type":"TypeList","required":true,"elem":{"schema":{"additional_latency_milliseconds":{"type":"TypeInt","optional":true,"default":0},"id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"sample_size":{"type":"TypeInt","optional":true,"default":4},"successful_samples_required":{"type":"TypeInt","optional":true,"default":2}}},"maxItems":5000},"backend_pool_load_balancing_settings":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"backend_pool_settings":{"type":"TypeList","optional":true,"elem":{"schema":{"backend_pools_send_receive_timeout_seconds":{"type":"TypeInt","optional":true,"default":60},"enforce_backend_pools_certificate_name_check":{"type":"TypeBool","required":true}}}},"backend_pools":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"cname":{"type":"TypeString","computed":true},"explicit_resource_order":{"type":"TypeList","computed":true,"elem":{"schema":{"backend_pool_health_probe_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"backend_pool_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"backend_pool_load_balancing_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"frontend_endpoint_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"routing_rule_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}}},"friendly_name":{"type":"TypeString","optional":true},"frontend_endpoint":{"type":"TypeList","required":true,"elem":{"schema":{"host_name":{"type":"TypeString","required":true},"id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"session_affinity_enabled":{"type":"TypeBool","optional":true,"default":false},"session_affinity_ttl_seconds":{"type":"TypeInt","optional":true,"default":0},"web_application_firewall_policy_link_id":{"type":"TypeString","optional":true}}},"maxItems":500},"frontend_endpoints":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"header_frontdoor_id":{"type":"TypeString","computed":true},"load_balancer_enabled":{"type":"TypeBool","optional":true,"default":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"routing_rule":{"type":"TypeList","required":true,"elem":{"schema":{"accepted_protocols":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"maxItems":2},"enabled":{"type":"TypeBool","optional":true,"default":true},"forwarding_configuration":{"type":"TypeList","optional":true,"elem":{"schema":{"backend_pool_name":{"type":"TypeString","required":true},"cache_duration":{"type":"TypeString","optional":true},"cache_enabled":{"type":"TypeBool","optional":true,"default":false},"cache_query_parameter_strip_directive":{"type":"TypeString","optional":true,"default":"StripAll"},"cache_query_parameters":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"maxItems":25},"cache_use_dynamic_compression":{"type":"TypeBool","optional":true,"default":false},"custom_forwarding_path":{"type":"TypeString","optional":true},"forwarding_protocol":{"type":"TypeString","optional":true,"default":"HttpsOnly"}}},"maxItems":1},"frontend_endpoints":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"maxItems":500},"id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"patterns_to_match":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"maxItems":25},"redirect_configuration":{"type":"TypeList","optional":true,"elem":{"schema":{"custom_fragment":{"type":"TypeString","optional":true},"custom_host":{"type":"TypeString","optional":true},"custom_path":{"type":"TypeString","optional":true},"custom_query_string":{"type":"TypeString","optional":true},"redirect_protocol":{"type":"TypeString","required":true},"redirect_type":{"type":"TypeString","required":true}}},"maxItems":1}}},"maxItems":500},"routing_rules":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":360,"read":5,"delete":360,"update":360}},"azurerm_frontdoor_custom_https_configuration":{"schema":{"custom_https_configuration":{"type":"TypeList","optional":true,"elem":{"schema":{"azure_key_vault_certificate_secret_name":{"type":"TypeString","optional":true},"azure_key_vault_certificate_secret_version":{"type":"TypeString","optional":true},"azure_key_vault_certificate_vault_id":{"type":"TypeString","optional":true},"certificate_source":{"type":"TypeString","optional":true,"default":"FrontDoor"},"minimum_tls_version":{"type":"TypeString","computed":true},"provisioning_state":{"type":"TypeString","computed":true},"provisioning_substate":{"type":"TypeString","computed":true}}},"maxItems":1},"custom_https_provisioning_enabled":{"type":"TypeBool","required":true},"frontend_endpoint_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":360,"read":5,"delete":360,"update":360}},"azurerm_frontdoor_firewall_policy":{"schema":{"custom_block_response_body":{"type":"TypeString","optional":true},"custom_block_response_status_code":{"type":"TypeInt","optional":true},"custom_rule":{"type":"TypeList","optional":true,"elem":{"schema":{"action":{"type":"TypeString","required":true},"enabled":{"type":"TypeBool","optional":true,"default":true},"match_condition":{"type":"TypeList","optional":true,"elem":{"schema":{"match_values":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"maxItems":600},"match_variable":{"type":"TypeString","required":true},"negation_condition":{"type":"TypeBool","optional":true,"default":false},"operator":{"type":"TypeString","required":true},"selector":{"type":"TypeString","optional":true},"transforms":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"maxItems":5}}},"maxItems":10},"name":{"type":"TypeString","required":true},"priority":{"type":"TypeInt","optional":true,"default":1},"rate_limit_duration_in_minutes":{"type":"TypeInt","optional":true,"default":1},"rate_limit_threshold":{"type":"TypeInt","optional":true,"default":10},"type":{"type":"TypeString","required":true}}},"maxItems":100},"enabled":{"type":"TypeBool","optional":true,"default":true},"frontend_endpoint_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"location":{"type":"TypeString","computed":true},"managed_rule":{"type":"TypeList","optional":true,"elem":{"schema":{"exclusion":{"type":"TypeList","optional":true,"elem":{"schema":{"match_variable":{"type":"TypeString","required":true},"operator":{"type":"TypeString","required":true},"selector":{"type":"TypeString","required":true}}},"maxItems":100},"override":{"type":"TypeList","optional":true,"elem":{"schema":{"exclusion":{"type":"TypeList","optional":true,"elem":{"schema":{"match_variable":{"type":"TypeString","required":true},"operator":{"type":"TypeString","required":true},"selector":{"type":"TypeString","required":true}}},"maxItems":100},"rule":{"type":"TypeList","optional":true,"elem":{"schema":{"action":{"type":"TypeString","required":true},"enabled":{"type":"TypeBool","optional":true,"default":false},"exclusion":{"type":"TypeList","optional":true,"elem":{"schema":{"match_variable":{"type":"TypeString","required":true},"operator":{"type":"TypeString","required":true},"selector":{"type":"TypeString","required":true}}},"maxItems":100},"rule_id":{"type":"TypeString","required":true}}},"maxItems":1000},"rule_group_name":{"type":"TypeString","required":true}}},"maxItems":100},"type":{"type":"TypeString","required":true},"version":{"type":"TypeString","required":true}}},"maxItems":100},"mode":{"type":"TypeString","optional":true,"default":"Prevention"},"name":{"type":"TypeString","required":true,"forceNew":true},"redirect_url":{"type":"TypeString","optional":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_frontdoor_rules_engine":{"schema":{"enabled":{"type":"TypeBool","optional":true,"default":true},"frontdoor_name":{"type":"TypeString","required":true,"forceNew":true},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"rule":{"type":"TypeList","optional":true,"elem":{"schema":{"action":{"type":"TypeList","optional":true,"elem":{"schema":{"request_header":{"type":"TypeList","optional":true,"elem":{"schema":{"header_action_type":{"type":"TypeString","optional":true},"header_name":{"type":"TypeString","optional":true},"value":{"type":"TypeString","optional":true}}},"maxItems":100},"response_header":{"type":"TypeList","optional":true,"elem":{"schema":{"header_action_type":{"type":"TypeString","optional":true},"header_name":{"type":"TypeString","optional":true},"value":{"type":"TypeString","optional":true}}},"maxItems":100}}},"maxItems":1},"match_condition":{"type":"TypeList","optional":true,"elem":{"schema":{"negate_condition":{"type":"TypeBool","optional":true,"default":false},"operator":{"type":"TypeString","required":true},"selector":{"type":"TypeString","optional":true},"transform":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"maxItems":6},"value":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"maxItems":25},"variable":{"type":"TypeString","optional":true}}},"maxItems":100},"name":{"type":"TypeString","required":true},"priority":{"type":"TypeInt","required":true}}},"maxItems":100}},"timeouts":{"create":360,"read":5,"delete":360,"update":360}},"azurerm_function_app":{"schema":{"app_service_plan_id":{"type":"TypeString","required":true},"app_settings":{"type":"TypeMap","optional":true,"computed":true,"elem":{"type":"TypeString"}},"auth_settings":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"active_directory":{"type":"TypeList","optional":true,"elem":{"schema":{"allowed_audiences":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"client_id":{"type":"TypeString","required":true},"client_secret":{"type":"TypeString","optional":true}}},"maxItems":1},"additional_login_params":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"allowed_external_redirect_urls":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"default_provider":{"type":"TypeString","optional":true},"enabled":{"type":"TypeBool","required":true},"facebook":{"type":"TypeList","optional":true,"elem":{"schema":{"app_id":{"type":"TypeString","required":true},"app_secret":{"type":"TypeString","required":true},"oauth_scopes":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"google":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","required":true},"client_secret":{"type":"TypeString","required":true},"oauth_scopes":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"issuer":{"type":"TypeString","optional":true},"microsoft":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","required":true},"client_secret":{"type":"TypeString","required":true},"oauth_scopes":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"runtime_version":{"type":"TypeString","optional":true},"token_refresh_extension_hours":{"type":"TypeFloat","optional":true,"default":72},"token_store_enabled":{"type":"TypeBool","optional":true,"default":false},"twitter":{"type":"TypeList","optional":true,"elem":{"schema":{"consumer_key":{"type":"TypeString","required":true},"consumer_secret":{"type":"TypeString","required":true}}},"maxItems":1},"unauthenticated_client_action":{"type":"TypeString","optional":true}}},"maxItems":1},"client_cert_mode":{"type":"TypeString","optional":true},"connection_string":{"type":"TypeSet","optional":true,"computed":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"type":{"type":"TypeString","required":true},"value":{"type":"TypeString","required":true}}}},"custom_domain_verification_id":{"type":"TypeString","computed":true},"daily_memory_time_quota":{"type":"TypeInt","optional":true},"default_hostname":{"type":"TypeString","computed":true},"enable_builtin_logging":{"type":"TypeBool","optional":true,"default":true},"enabled":{"type":"TypeBool","optional":true,"default":true},"https_only":{"type":"TypeBool","optional":true,"default":false},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"key_vault_reference_identity_id":{"type":"TypeString","optional":true,"computed":true},"kind":{"type":"TypeString","computed":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"os_type":{"type":"TypeString","optional":true,"default":"","forceNew":true},"outbound_ip_addresses":{"type":"TypeString","computed":true},"possible_outbound_ip_addresses":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"site_config":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"always_on":{"type":"TypeBool","optional":true,"default":false},"app_scale_limit":{"type":"TypeInt","optional":true,"computed":true},"auto_swap_slot_name":{"type":"TypeString","optional":true},"cors":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"allowed_origins":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}},"support_credentials":{"type":"TypeBool","optional":true,"default":false}}},"maxItems":1},"dotnet_framework_version":{"type":"TypeString","optional":true,"default":"v4.0"},"elastic_instance_minimum":{"type":"TypeInt","optional":true,"computed":true},"ftps_state":{"type":"TypeString","optional":true,"computed":true},"health_check_path":{"type":"TypeString","optional":true},"http2_enabled":{"type":"TypeBool","optional":true,"default":false},"ip_restriction":{"type":"TypeList","configMode":"Auto","optional":true,"computed":true,"elem":{"schema":{"action":{"type":"TypeString","optional":true,"default":"Allow"},"headers":{"type":"TypeList","configMode":"Auto","optional":true,"computed":true,"elem":{"schema":{"x_azure_fdid":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":8},"x_fd_health_probe":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":1},"x_forwarded_for":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":8},"x_forwarded_host":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":8}}},"maxItems":1},"ip_address":{"type":"TypeString","optional":true},"name":{"type":"TypeString","optional":true,"computed":true},"priority":{"type":"TypeInt","optional":true,"default":65000},"service_tag":{"type":"TypeString","optional":true},"virtual_network_subnet_id":{"type":"TypeString","optional":true}}}},"java_version":{"type":"TypeString","optional":true},"linux_fx_version":{"type":"TypeString","optional":true,"computed":true},"min_tls_version":{"type":"TypeString","optional":true,"computed":true},"pre_warmed_instance_count":{"type":"TypeInt","optional":true,"computed":true},"runtime_scale_monitoring_enabled":{"type":"TypeBool","optional":true,"default":false},"scm_ip_restriction":{"type":"TypeList","configMode":"Auto","optional":true,"computed":true,"elem":{"schema":{"action":{"type":"TypeString","optional":true,"default":"Allow"},"headers":{"type":"TypeList","configMode":"Auto","optional":true,"computed":true,"elem":{"schema":{"x_azure_fdid":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":8},"x_fd_health_probe":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":1},"x_forwarded_for":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":8},"x_forwarded_host":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":8}}},"maxItems":1},"ip_address":{"type":"TypeString","optional":true},"name":{"type":"TypeString","optional":true,"computed":true},"priority":{"type":"TypeInt","optional":true,"default":65000},"service_tag":{"type":"TypeString","optional":true},"virtual_network_subnet_id":{"type":"TypeString","optional":true}}}},"scm_type":{"type":"TypeString","optional":true,"computed":true},"scm_use_main_ip_restriction":{"type":"TypeBool","optional":true,"default":false},"use_32_bit_worker_process":{"type":"TypeBool","optional":true,"default":true},"vnet_route_all_enabled":{"type":"TypeBool","optional":true,"computed":true},"websockets_enabled":{"type":"TypeBool","optional":true,"default":false}}},"maxItems":1},"site_credential":{"type":"TypeList","computed":true,"elem":{"schema":{"password":{"type":"TypeString","computed":true},"username":{"type":"TypeString","computed":true}}}},"source_control":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"branch":{"type":"TypeString","optional":true,"computed":true},"manual_integration":{"type":"TypeBool","optional":true,"computed":true},"repo_url":{"type":"TypeString","optional":true,"computed":true},"rollback_enabled":{"type":"TypeBool","optional":true,"computed":true},"use_mercurial":{"type":"TypeBool","optional":true,"computed":true}}},"maxItems":1},"storage_account_access_key":{"type":"TypeString","required":true},"storage_account_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"version":{"type":"TypeString","optional":true,"default":"~1"}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_function_app_active_slot":{"schema":{"last_successful_swap":{"type":"TypeString","description":"The timestamp of the last successful swap with `Production`","computed":true},"overwrite_network_config":{"type":"TypeBool","optional":true,"default":true,"description":"The swap action should overwrite the Production slot's network configuration with the configuration from this slot. Defaults to `true`.","forceNew":true},"slot_id":{"type":"TypeString","required":true,"description":"The ID of the Slot to swap with `Production`."}},"timeouts":{"create":30,"read":5,"delete":5,"update":30}},"azurerm_function_app_connection":{"schema":{"authentication":{"type":"TypeList","required":true,"elem":{"schema":{"certificate":{"type":"TypeString","optional":true},"client_id":{"type":"TypeString","optional":true},"name":{"type":"TypeString","optional":true},"principal_id":{"type":"TypeString","optional":true},"secret":{"type":"TypeString","optional":true},"subscription_id":{"type":"TypeString","optional":true},"type":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"client_type":{"type":"TypeString","optional":true,"default":"none"},"function_app_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"secret_store":{"type":"TypeList","optional":true,"elem":{"schema":{"key_vault_id":{"type":"TypeString","required":true}}},"maxItems":1},"target_resource_id":{"type":"TypeString","required":true,"forceNew":true},"vnet_solution":{"type":"TypeString","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_function_app_function":{"schema":{"config_json":{"type":"TypeString","required":true,"description":"The config for this Function in JSON format."},"config_url":{"type":"TypeString","description":"The URL of the configuration JSON.","computed":true},"enabled":{"type":"TypeBool","optional":true,"default":true,"description":"Should this function be enabled. Defaults to `true`."},"file":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"content":{"type":"TypeString","required":true,"description":"The content of the file.","forceNew":true},"name":{"type":"TypeString","required":true,"description":"The filename of the file to be uploaded.","forceNew":true}}},"minItems":1},"function_app_id":{"type":"TypeString","required":true,"description":"The ID of the Function App in which this function should reside.","forceNew":true},"invocation_url":{"type":"TypeString","description":"The invocation URL.","computed":true},"language":{"type":"TypeString","optional":true,"description":"The language the Function is written in."},"name":{"type":"TypeString","required":true,"description":"The name of the function.","forceNew":true},"script_root_path_url":{"type":"TypeString","description":"The Script root path URL.","computed":true},"script_url":{"type":"TypeString","description":"The script URL.","computed":true},"secrets_file_url":{"type":"TypeString","description":"The URL for the Secrets File.","computed":true},"test_data":{"type":"TypeString","optional":true,"description":"The test data for the function."},"test_data_url":{"type":"TypeString","description":"The Test data URL.","computed":true},"url":{"type":"TypeString","description":"The function URL.","computed":true}},"timeouts":{"create":30,"read":5,"delete":5,"update":30}},"azurerm_function_app_hybrid_connection":{"schema":{"function_app_id":{"type":"TypeString","required":true,"description":"The ID of the Function App for this Hybrid Connection.","forceNew":true},"hostname":{"type":"TypeString","required":true,"description":"The hostname of the endpoint."},"namespace_name":{"type":"TypeString","description":"The name of the Relay Namespace.","computed":true},"port":{"type":"TypeInt","required":true,"description":"The port to use for the endpoint"},"relay_id":{"type":"TypeString","required":true,"description":"The ID of the Relay Hybrid Connection to use.","forceNew":true},"relay_name":{"type":"TypeString","description":"The name of the Relay in use.","computed":true},"send_key_name":{"type":"TypeString","optional":true,"default":"RootManageSharedAccessKey","description":"The name of the Relay key with `Send` permission to use. Defaults to `RootManageSharedAccessKey`"},"send_key_value":{"type":"TypeString","description":"The Primary Access Key for the `send_key_name`","computed":true},"service_bus_namespace":{"type":"TypeString","description":"The Service Bus Namespace.","computed":true},"service_bus_suffix":{"type":"TypeString","description":"The suffix for the endpoint.","computed":true}},"timeouts":{"create":30,"read":5,"delete":5,"update":30}},"azurerm_function_app_slot":{"schema":{"app_service_plan_id":{"type":"TypeString","required":true,"forceNew":true},"app_settings":{"type":"TypeMap","optional":true,"computed":true,"elem":{"type":"TypeString"}},"auth_settings":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"active_directory":{"type":"TypeList","optional":true,"elem":{"schema":{"allowed_audiences":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"client_id":{"type":"TypeString","required":true},"client_secret":{"type":"TypeString","optional":true}}},"maxItems":1},"additional_login_params":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"allowed_external_redirect_urls":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"default_provider":{"type":"TypeString","optional":true},"enabled":{"type":"TypeBool","required":true},"facebook":{"type":"TypeList","optional":true,"elem":{"schema":{"app_id":{"type":"TypeString","required":true},"app_secret":{"type":"TypeString","required":true},"oauth_scopes":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"google":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","required":true},"client_secret":{"type":"TypeString","required":true},"oauth_scopes":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"issuer":{"type":"TypeString","optional":true},"microsoft":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","required":true},"client_secret":{"type":"TypeString","required":true},"oauth_scopes":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"runtime_version":{"type":"TypeString","optional":true},"token_refresh_extension_hours":{"type":"TypeFloat","optional":true,"default":72},"token_store_enabled":{"type":"TypeBool","optional":true,"default":false},"twitter":{"type":"TypeList","optional":true,"elem":{"schema":{"consumer_key":{"type":"TypeString","required":true},"consumer_secret":{"type":"TypeString","required":true}}},"maxItems":1},"unauthenticated_client_action":{"type":"TypeString","optional":true}}},"maxItems":1},"connection_string":{"type":"TypeSet","optional":true,"computed":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"type":{"type":"TypeString","required":true},"value":{"type":"TypeString","required":true}}}},"daily_memory_time_quota":{"type":"TypeInt","optional":true},"default_hostname":{"type":"TypeString","computed":true},"enable_builtin_logging":{"type":"TypeBool","optional":true,"default":true},"enabled":{"type":"TypeBool","optional":true,"default":true},"function_app_name":{"type":"TypeString","required":true,"forceNew":true},"https_only":{"type":"TypeBool","optional":true,"default":false},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"kind":{"type":"TypeString","computed":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"os_type":{"type":"TypeString","optional":true,"forceNew":true},"outbound_ip_addresses":{"type":"TypeString","computed":true},"possible_outbound_ip_addresses":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"site_config":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"always_on":{"type":"TypeBool","optional":true,"default":false},"app_scale_limit":{"type":"TypeInt","optional":true,"computed":true},"auto_swap_slot_name":{"type":"TypeString","optional":true},"cors":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"allowed_origins":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}},"support_credentials":{"type":"TypeBool","optional":true,"default":false}}},"maxItems":1},"dotnet_framework_version":{"type":"TypeString","optional":true,"default":"v4.0"},"elastic_instance_minimum":{"type":"TypeInt","optional":true,"computed":true},"ftps_state":{"type":"TypeString","optional":true,"computed":true},"health_check_path":{"type":"TypeString","optional":true},"http2_enabled":{"type":"TypeBool","optional":true,"default":false},"ip_restriction":{"type":"TypeList","configMode":"Auto","optional":true,"computed":true,"elem":{"schema":{"action":{"type":"TypeString","optional":true,"default":"Allow"},"headers":{"type":"TypeList","configMode":"Auto","optional":true,"computed":true,"elem":{"schema":{"x_azure_fdid":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":8},"x_fd_health_probe":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":1},"x_forwarded_for":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":8},"x_forwarded_host":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":8}}},"maxItems":1},"ip_address":{"type":"TypeString","optional":true},"name":{"type":"TypeString","optional":true,"computed":true},"priority":{"type":"TypeInt","optional":true,"default":65000},"service_tag":{"type":"TypeString","optional":true},"virtual_network_subnet_id":{"type":"TypeString","optional":true}}}},"java_version":{"type":"TypeString","optional":true},"linux_fx_version":{"type":"TypeString","optional":true,"computed":true},"min_tls_version":{"type":"TypeString","optional":true,"computed":true},"pre_warmed_instance_count":{"type":"TypeInt","optional":true,"computed":true},"runtime_scale_monitoring_enabled":{"type":"TypeBool","optional":true,"default":false},"scm_ip_restriction":{"type":"TypeList","configMode":"Auto","optional":true,"computed":true,"elem":{"schema":{"action":{"type":"TypeString","optional":true,"default":"Allow"},"headers":{"type":"TypeList","configMode":"Auto","optional":true,"computed":true,"elem":{"schema":{"x_azure_fdid":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":8},"x_fd_health_probe":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":1},"x_forwarded_for":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":8},"x_forwarded_host":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":8}}},"maxItems":1},"ip_address":{"type":"TypeString","optional":true},"name":{"type":"TypeString","optional":true,"computed":true},"priority":{"type":"TypeInt","optional":true,"default":65000},"service_tag":{"type":"TypeString","optional":true},"virtual_network_subnet_id":{"type":"TypeString","optional":true}}}},"scm_type":{"type":"TypeString","optional":true,"computed":true},"scm_use_main_ip_restriction":{"type":"TypeBool","optional":true,"default":false},"use_32_bit_worker_process":{"type":"TypeBool","optional":true,"default":true},"vnet_route_all_enabled":{"type":"TypeBool","optional":true,"computed":true},"websockets_enabled":{"type":"TypeBool","optional":true,"default":false}}},"maxItems":1},"site_credential":{"type":"TypeList","computed":true,"elem":{"schema":{"password":{"type":"TypeString","computed":true},"username":{"type":"TypeString","computed":true}}}},"storage_account_access_key":{"type":"TypeString","required":true},"storage_account_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"version":{"type":"TypeString","optional":true,"default":"~1"}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_gallery_application":{"schema":{"description":{"type":"TypeString","optional":true},"end_of_life_date":{"type":"TypeString","optional":true},"eula":{"type":"TypeString","optional":true},"gallery_id":{"type":"TypeString","required":true,"forceNew":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"privacy_statement_uri":{"type":"TypeString","optional":true},"release_note_uri":{"type":"TypeString","optional":true},"supported_os_type":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_gallery_application_version":{"schema":{"config_file":{"type":"TypeString","optional":true,"forceNew":true},"enable_health_check":{"type":"TypeBool","optional":true,"default":false},"end_of_life_date":{"type":"TypeString","optional":true},"exclude_from_latest":{"type":"TypeBool","optional":true,"default":false},"gallery_application_id":{"type":"TypeString","required":true,"forceNew":true},"location":{"type":"TypeString","required":true,"forceNew":true},"manage_action":{"type":"TypeList","required":true,"elem":{"schema":{"install":{"type":"TypeString","required":true,"forceNew":true},"remove":{"type":"TypeString","required":true,"forceNew":true},"update":{"type":"TypeString","optional":true,"forceNew":true}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"package_file":{"type":"TypeString","optional":true,"forceNew":true},"source":{"type":"TypeList","required":true,"elem":{"schema":{"default_configuration_link":{"type":"TypeString","optional":true,"forceNew":true},"media_link":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"target_region":{"type":"TypeList","required":true,"elem":{"schema":{"exclude_from_latest":{"type":"TypeBool","optional":true,"default":false},"name":{"type":"TypeString","required":true},"regional_replica_count":{"type":"TypeInt","required":true},"storage_account_type":{"type":"TypeString","optional":true,"default":"Standard_LRS"}}}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_graph_services_account":{"schema":{"application_id":{"type":"TypeString","required":true,"forceNew":true},"billing_plan_id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_hdinsight_hadoop_cluster":{"schema":{"cluster_version":{"type":"TypeString","required":true,"forceNew":true},"component_version":{"type":"TypeList","required":true,"elem":{"schema":{"hadoop":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"compute_isolation":{"type":"TypeList","optional":true,"elem":{"schema":{"compute_isolation_enabled":{"type":"TypeBool","optional":true,"default":false},"host_sku":{"type":"TypeString","optional":true}}},"maxItems":1},"disk_encryption":{"type":"TypeList","optional":true,"elem":{"schema":{"encryption_algorithm":{"type":"TypeString","optional":true},"encryption_at_host_enabled":{"type":"TypeBool","optional":true},"key_vault_key_id":{"type":"TypeString","optional":true},"key_vault_managed_identity_id":{"type":"TypeString","optional":true}}}},"extension":{"type":"TypeList","optional":true,"elem":{"schema":{"log_analytics_workspace_id":{"type":"TypeString","required":true},"primary_key":{"type":"TypeString","required":true}}},"maxItems":1},"gateway":{"type":"TypeList","required":true,"elem":{"schema":{"password":{"type":"TypeString","required":true},"username":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"https_endpoint":{"type":"TypeString","computed":true},"location":{"type":"TypeString","required":true,"forceNew":true},"metastores":{"type":"TypeList","optional":true,"elem":{"schema":{"ambari":{"type":"TypeList","optional":true,"elem":{"schema":{"database_name":{"type":"TypeString","required":true,"forceNew":true},"password":{"type":"TypeString","required":true,"forceNew":true},"server":{"type":"TypeString","required":true,"forceNew":true},"username":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"hive":{"type":"TypeList","optional":true,"elem":{"schema":{"database_name":{"type":"TypeString","required":true,"forceNew":true},"password":{"type":"TypeString","required":true,"forceNew":true},"server":{"type":"TypeString","required":true,"forceNew":true},"username":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"oozie":{"type":"TypeList","optional":true,"elem":{"schema":{"database_name":{"type":"TypeString","required":true,"forceNew":true},"password":{"type":"TypeString","required":true,"forceNew":true},"server":{"type":"TypeString","required":true,"forceNew":true},"username":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1}}},"maxItems":1},"monitor":{"type":"TypeList","optional":true,"elem":{"schema":{"log_analytics_workspace_id":{"type":"TypeString","required":true},"primary_key":{"type":"TypeString","required":true}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"network":{"type":"TypeList","optional":true,"elem":{"schema":{"connection_direction":{"type":"TypeString","optional":true,"default":"Inbound","forceNew":true},"private_link_enabled":{"type":"TypeBool","optional":true,"default":false,"forceNew":true}}},"maxItems":1},"private_link_configuration":{"type":"TypeList","optional":true,"elem":{"schema":{"group_id":{"type":"TypeString","required":true},"ip_configuration":{"type":"TypeList","required":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"primary":{"type":"TypeBool","optional":true},"private_ip_address":{"type":"TypeString","optional":true},"private_ip_allocation_method":{"type":"TypeString","optional":true},"subnet_id":{"type":"TypeString","optional":true}}},"maxItems":1},"name":{"type":"TypeString","required":true}}},"maxItems":1},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"roles":{"type":"TypeList","required":true,"elem":{"schema":{"edge_node":{"type":"TypeList","optional":true,"elem":{"schema":{"https_endpoints":{"type":"TypeList","optional":true,"elem":{"schema":{"access_modes":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"destination_port":{"type":"TypeInt","optional":true},"disable_gateway_auth":{"type":"TypeBool","optional":true},"private_ip_address":{"type":"TypeString","optional":true},"sub_domain_suffix":{"type":"TypeString","optional":true}}}},"install_script_action":{"type":"TypeList","required":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"parameters":{"type":"TypeString","optional":true},"uri":{"type":"TypeString","required":true}}},"minItems":1},"target_instance_count":{"type":"TypeInt","required":true},"uninstall_script_actions":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"parameters":{"type":"TypeString","optional":true},"uri":{"type":"TypeString","required":true}}},"minItems":1},"vm_size":{"type":"TypeString","required":true}}},"maxItems":1},"head_node":{"type":"TypeList","required":true,"elem":{"schema":{"password":{"type":"TypeString","optional":true,"forceNew":true},"script_actions":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"parameters":{"type":"TypeString","optional":true},"uri":{"type":"TypeString","required":true}}},"minItems":1},"ssh_keys":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"subnet_id":{"type":"TypeString","optional":true,"forceNew":true},"username":{"type":"TypeString","required":true,"forceNew":true},"virtual_network_id":{"type":"TypeString","optional":true,"forceNew":true},"vm_size":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"worker_node":{"type":"TypeList","required":true,"elem":{"schema":{"autoscale":{"type":"TypeList","optional":true,"elem":{"schema":{"capacity":{"type":"TypeList","optional":true,"elem":{"schema":{"max_instance_count":{"type":"TypeInt","required":true},"min_instance_count":{"type":"TypeInt","required":true}}},"maxItems":1},"recurrence":{"type":"TypeList","optional":true,"elem":{"schema":{"schedule":{"type":"TypeList","required":true,"elem":{"schema":{"days":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}},"target_instance_count":{"type":"TypeInt","required":true},"time":{"type":"TypeString","required":true}}},"minItems":1},"timezone":{"type":"TypeString","required":true}}},"maxItems":1}}},"maxItems":1},"password":{"type":"TypeString","optional":true,"forceNew":true},"script_actions":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"parameters":{"type":"TypeString","optional":true},"uri":{"type":"TypeString","required":true}}},"minItems":1},"ssh_keys":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"subnet_id":{"type":"TypeString","optional":true,"forceNew":true},"target_instance_count":{"type":"TypeInt","required":true},"username":{"type":"TypeString","required":true,"forceNew":true},"virtual_network_id":{"type":"TypeString","optional":true,"forceNew":true},"vm_size":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"zookeeper_node":{"type":"TypeList","required":true,"elem":{"schema":{"password":{"type":"TypeString","optional":true,"forceNew":true},"script_actions":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"parameters":{"type":"TypeString","optional":true},"uri":{"type":"TypeString","required":true}}},"minItems":1},"ssh_keys":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"subnet_id":{"type":"TypeString","optional":true,"forceNew":true},"username":{"type":"TypeString","required":true,"forceNew":true},"virtual_network_id":{"type":"TypeString","optional":true,"forceNew":true},"vm_size":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1}}},"maxItems":1},"security_profile":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"aadds_resource_id":{"type":"TypeString","required":true,"forceNew":true},"cluster_users_group_dns":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"domain_name":{"type":"TypeString","required":true,"forceNew":true},"domain_user_password":{"type":"TypeString","required":true,"forceNew":true},"domain_username":{"type":"TypeString","required":true,"forceNew":true},"ldaps_urls":{"type":"TypeSet","required":true,"forceNew":true,"elem":{"type":"TypeString"}},"msi_resource_id":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"ssh_endpoint":{"type":"TypeString","computed":true},"storage_account":{"type":"TypeList","optional":true,"elem":{"schema":{"is_default":{"type":"TypeBool","required":true,"forceNew":true},"storage_account_key":{"type":"TypeString","required":true,"forceNew":true},"storage_container_id":{"type":"TypeString","required":true,"forceNew":true},"storage_resource_id":{"type":"TypeString","optional":true,"forceNew":true}}}},"storage_account_gen2":{"type":"TypeList","optional":true,"elem":{"schema":{"filesystem_id":{"type":"TypeString","required":true,"forceNew":true},"is_default":{"type":"TypeBool","required":true,"forceNew":true},"managed_identity_resource_id":{"type":"TypeString","required":true,"forceNew":true},"storage_resource_id":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"tier":{"type":"TypeString","required":true,"forceNew":true},"tls_min_version":{"type":"TypeString","optional":true,"forceNew":true}},"timeouts":{"create":60,"read":5,"delete":60,"update":60}},"azurerm_hdinsight_hbase_cluster":{"schema":{"cluster_version":{"type":"TypeString","required":true,"forceNew":true},"component_version":{"type":"TypeList","required":true,"elem":{"schema":{"hbase":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"compute_isolation":{"type":"TypeList","optional":true,"elem":{"schema":{"compute_isolation_enabled":{"type":"TypeBool","optional":true,"default":false},"host_sku":{"type":"TypeString","optional":true}}},"maxItems":1},"disk_encryption":{"type":"TypeList","optional":true,"elem":{"schema":{"encryption_algorithm":{"type":"TypeString","optional":true},"encryption_at_host_enabled":{"type":"TypeBool","optional":true},"key_vault_key_id":{"type":"TypeString","optional":true},"key_vault_managed_identity_id":{"type":"TypeString","optional":true}}}},"extension":{"type":"TypeList","optional":true,"elem":{"schema":{"log_analytics_workspace_id":{"type":"TypeString","required":true},"primary_key":{"type":"TypeString","required":true}}},"maxItems":1},"gateway":{"type":"TypeList","required":true,"elem":{"schema":{"password":{"type":"TypeString","required":true},"username":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"https_endpoint":{"type":"TypeString","computed":true},"location":{"type":"TypeString","required":true,"forceNew":true},"metastores":{"type":"TypeList","optional":true,"elem":{"schema":{"ambari":{"type":"TypeList","optional":true,"elem":{"schema":{"database_name":{"type":"TypeString","required":true,"forceNew":true},"password":{"type":"TypeString","required":true,"forceNew":true},"server":{"type":"TypeString","required":true,"forceNew":true},"username":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"hive":{"type":"TypeList","optional":true,"elem":{"schema":{"database_name":{"type":"TypeString","required":true,"forceNew":true},"password":{"type":"TypeString","required":true,"forceNew":true},"server":{"type":"TypeString","required":true,"forceNew":true},"username":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"oozie":{"type":"TypeList","optional":true,"elem":{"schema":{"database_name":{"type":"TypeString","required":true,"forceNew":true},"password":{"type":"TypeString","required":true,"forceNew":true},"server":{"type":"TypeString","required":true,"forceNew":true},"username":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1}}},"maxItems":1},"monitor":{"type":"TypeList","optional":true,"elem":{"schema":{"log_analytics_workspace_id":{"type":"TypeString","required":true},"primary_key":{"type":"TypeString","required":true}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"network":{"type":"TypeList","optional":true,"elem":{"schema":{"connection_direction":{"type":"TypeString","optional":true,"default":"Inbound","forceNew":true},"private_link_enabled":{"type":"TypeBool","optional":true,"default":false,"forceNew":true}}},"maxItems":1},"private_link_configuration":{"type":"TypeList","optional":true,"elem":{"schema":{"group_id":{"type":"TypeString","required":true},"ip_configuration":{"type":"TypeList","required":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"primary":{"type":"TypeBool","optional":true},"private_ip_address":{"type":"TypeString","optional":true},"private_ip_allocation_method":{"type":"TypeString","optional":true},"subnet_id":{"type":"TypeString","optional":true}}},"maxItems":1},"name":{"type":"TypeString","required":true}}},"maxItems":1},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"roles":{"type":"TypeList","required":true,"elem":{"schema":{"head_node":{"type":"TypeList","required":true,"elem":{"schema":{"password":{"type":"TypeString","optional":true,"forceNew":true},"script_actions":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"parameters":{"type":"TypeString","optional":true},"uri":{"type":"TypeString","required":true}}},"minItems":1},"ssh_keys":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"subnet_id":{"type":"TypeString","optional":true,"forceNew":true},"username":{"type":"TypeString","required":true,"forceNew":true},"virtual_network_id":{"type":"TypeString","optional":true,"forceNew":true},"vm_size":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"worker_node":{"type":"TypeList","required":true,"elem":{"schema":{"autoscale":{"type":"TypeList","optional":true,"elem":{"schema":{"recurrence":{"type":"TypeList","optional":true,"elem":{"schema":{"schedule":{"type":"TypeList","required":true,"elem":{"schema":{"days":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}},"target_instance_count":{"type":"TypeInt","required":true},"time":{"type":"TypeString","required":true}}},"minItems":1},"timezone":{"type":"TypeString","required":true}}},"maxItems":1}}},"maxItems":1},"password":{"type":"TypeString","optional":true,"forceNew":true},"script_actions":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"parameters":{"type":"TypeString","optional":true},"uri":{"type":"TypeString","required":true}}},"minItems":1},"ssh_keys":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"subnet_id":{"type":"TypeString","optional":true,"forceNew":true},"target_instance_count":{"type":"TypeInt","required":true},"username":{"type":"TypeString","required":true,"forceNew":true},"virtual_network_id":{"type":"TypeString","optional":true,"forceNew":true},"vm_size":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"zookeeper_node":{"type":"TypeList","required":true,"elem":{"schema":{"password":{"type":"TypeString","optional":true,"forceNew":true},"script_actions":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"parameters":{"type":"TypeString","optional":true},"uri":{"type":"TypeString","required":true}}},"minItems":1},"ssh_keys":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"subnet_id":{"type":"TypeString","optional":true,"forceNew":true},"username":{"type":"TypeString","required":true,"forceNew":true},"virtual_network_id":{"type":"TypeString","optional":true,"forceNew":true},"vm_size":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1}}},"maxItems":1},"security_profile":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"aadds_resource_id":{"type":"TypeString","required":true,"forceNew":true},"cluster_users_group_dns":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"domain_name":{"type":"TypeString","required":true,"forceNew":true},"domain_user_password":{"type":"TypeString","required":true,"forceNew":true},"domain_username":{"type":"TypeString","required":true,"forceNew":true},"ldaps_urls":{"type":"TypeSet","required":true,"forceNew":true,"elem":{"type":"TypeString"}},"msi_resource_id":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"ssh_endpoint":{"type":"TypeString","computed":true},"storage_account":{"type":"TypeList","optional":true,"elem":{"schema":{"is_default":{"type":"TypeBool","required":true,"forceNew":true},"storage_account_key":{"type":"TypeString","required":true,"forceNew":true},"storage_container_id":{"type":"TypeString","required":true,"forceNew":true},"storage_resource_id":{"type":"TypeString","optional":true,"forceNew":true}}}},"storage_account_gen2":{"type":"TypeList","optional":true,"elem":{"schema":{"filesystem_id":{"type":"TypeString","required":true,"forceNew":true},"is_default":{"type":"TypeBool","required":true,"forceNew":true},"managed_identity_resource_id":{"type":"TypeString","required":true,"forceNew":true},"storage_resource_id":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"tier":{"type":"TypeString","required":true,"forceNew":true},"tls_min_version":{"type":"TypeString","optional":true,"forceNew":true}},"timeouts":{"create":60,"read":5,"delete":60,"update":60}},"azurerm_hdinsight_interactive_query_cluster":{"schema":{"cluster_version":{"type":"TypeString","required":true,"forceNew":true},"component_version":{"type":"TypeList","required":true,"elem":{"schema":{"interactive_hive":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"compute_isolation":{"type":"TypeList","optional":true,"elem":{"schema":{"compute_isolation_enabled":{"type":"TypeBool","optional":true,"default":false},"host_sku":{"type":"TypeString","optional":true}}},"maxItems":1},"disk_encryption":{"type":"TypeList","optional":true,"elem":{"schema":{"encryption_algorithm":{"type":"TypeString","optional":true},"encryption_at_host_enabled":{"type":"TypeBool","optional":true},"key_vault_key_id":{"type":"TypeString","optional":true},"key_vault_managed_identity_id":{"type":"TypeString","optional":true}}}},"encryption_in_transit_enabled":{"type":"TypeBool","optional":true,"forceNew":true},"extension":{"type":"TypeList","optional":true,"elem":{"schema":{"log_analytics_workspace_id":{"type":"TypeString","required":true},"primary_key":{"type":"TypeString","required":true}}},"maxItems":1},"gateway":{"type":"TypeList","required":true,"elem":{"schema":{"password":{"type":"TypeString","required":true},"username":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"https_endpoint":{"type":"TypeString","computed":true},"location":{"type":"TypeString","required":true,"forceNew":true},"metastores":{"type":"TypeList","optional":true,"elem":{"schema":{"ambari":{"type":"TypeList","optional":true,"elem":{"schema":{"database_name":{"type":"TypeString","required":true,"forceNew":true},"password":{"type":"TypeString","required":true,"forceNew":true},"server":{"type":"TypeString","required":true,"forceNew":true},"username":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"hive":{"type":"TypeList","optional":true,"elem":{"schema":{"database_name":{"type":"TypeString","required":true,"forceNew":true},"password":{"type":"TypeString","required":true,"forceNew":true},"server":{"type":"TypeString","required":true,"forceNew":true},"username":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"oozie":{"type":"TypeList","optional":true,"elem":{"schema":{"database_name":{"type":"TypeString","required":true,"forceNew":true},"password":{"type":"TypeString","required":true,"forceNew":true},"server":{"type":"TypeString","required":true,"forceNew":true},"username":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1}}},"maxItems":1},"monitor":{"type":"TypeList","optional":true,"elem":{"schema":{"log_analytics_workspace_id":{"type":"TypeString","required":true},"primary_key":{"type":"TypeString","required":true}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"network":{"type":"TypeList","optional":true,"elem":{"schema":{"connection_direction":{"type":"TypeString","optional":true,"default":"Inbound","forceNew":true},"private_link_enabled":{"type":"TypeBool","optional":true,"default":false,"forceNew":true}}},"maxItems":1},"private_link_configuration":{"type":"TypeList","optional":true,"elem":{"schema":{"group_id":{"type":"TypeString","required":true},"ip_configuration":{"type":"TypeList","required":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"primary":{"type":"TypeBool","optional":true},"private_ip_address":{"type":"TypeString","optional":true},"private_ip_allocation_method":{"type":"TypeString","optional":true},"subnet_id":{"type":"TypeString","optional":true}}},"maxItems":1},"name":{"type":"TypeString","required":true}}},"maxItems":1},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"roles":{"type":"TypeList","required":true,"elem":{"schema":{"head_node":{"type":"TypeList","required":true,"elem":{"schema":{"password":{"type":"TypeString","optional":true,"forceNew":true},"script_actions":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"parameters":{"type":"TypeString","optional":true},"uri":{"type":"TypeString","required":true}}},"minItems":1},"ssh_keys":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"subnet_id":{"type":"TypeString","optional":true,"forceNew":true},"username":{"type":"TypeString","required":true,"forceNew":true},"virtual_network_id":{"type":"TypeString","optional":true,"forceNew":true},"vm_size":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"worker_node":{"type":"TypeList","required":true,"elem":{"schema":{"autoscale":{"type":"TypeList","optional":true,"elem":{"schema":{"recurrence":{"type":"TypeList","optional":true,"elem":{"schema":{"schedule":{"type":"TypeList","required":true,"elem":{"schema":{"days":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}},"target_instance_count":{"type":"TypeInt","required":true},"time":{"type":"TypeString","required":true}}},"minItems":1},"timezone":{"type":"TypeString","required":true}}},"maxItems":1}}},"maxItems":1},"password":{"type":"TypeString","optional":true,"forceNew":true},"script_actions":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"parameters":{"type":"TypeString","optional":true},"uri":{"type":"TypeString","required":true}}},"minItems":1},"ssh_keys":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"subnet_id":{"type":"TypeString","optional":true,"forceNew":true},"target_instance_count":{"type":"TypeInt","required":true},"username":{"type":"TypeString","required":true,"forceNew":true},"virtual_network_id":{"type":"TypeString","optional":true,"forceNew":true},"vm_size":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"zookeeper_node":{"type":"TypeList","required":true,"elem":{"schema":{"password":{"type":"TypeString","optional":true,"forceNew":true},"script_actions":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"parameters":{"type":"TypeString","optional":true},"uri":{"type":"TypeString","required":true}}},"minItems":1},"ssh_keys":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"subnet_id":{"type":"TypeString","optional":true,"forceNew":true},"username":{"type":"TypeString","required":true,"forceNew":true},"virtual_network_id":{"type":"TypeString","optional":true,"forceNew":true},"vm_size":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1}}},"maxItems":1},"security_profile":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"aadds_resource_id":{"type":"TypeString","required":true,"forceNew":true},"cluster_users_group_dns":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"domain_name":{"type":"TypeString","required":true,"forceNew":true},"domain_user_password":{"type":"TypeString","required":true,"forceNew":true},"domain_username":{"type":"TypeString","required":true,"forceNew":true},"ldaps_urls":{"type":"TypeSet","required":true,"forceNew":true,"elem":{"type":"TypeString"}},"msi_resource_id":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"ssh_endpoint":{"type":"TypeString","computed":true},"storage_account":{"type":"TypeList","optional":true,"elem":{"schema":{"is_default":{"type":"TypeBool","required":true,"forceNew":true},"storage_account_key":{"type":"TypeString","required":true,"forceNew":true},"storage_container_id":{"type":"TypeString","required":true,"forceNew":true},"storage_resource_id":{"type":"TypeString","optional":true,"forceNew":true}}}},"storage_account_gen2":{"type":"TypeList","optional":true,"elem":{"schema":{"filesystem_id":{"type":"TypeString","required":true,"forceNew":true},"is_default":{"type":"TypeBool","required":true,"forceNew":true},"managed_identity_resource_id":{"type":"TypeString","required":true,"forceNew":true},"storage_resource_id":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"tier":{"type":"TypeString","required":true,"forceNew":true},"tls_min_version":{"type":"TypeString","optional":true,"forceNew":true}},"timeouts":{"create":60,"read":5,"delete":60,"update":60}},"azurerm_hdinsight_kafka_cluster":{"schema":{"cluster_version":{"type":"TypeString","required":true,"forceNew":true},"component_version":{"type":"TypeList","required":true,"elem":{"schema":{"kafka":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"compute_isolation":{"type":"TypeList","optional":true,"elem":{"schema":{"compute_isolation_enabled":{"type":"TypeBool","optional":true,"default":false},"host_sku":{"type":"TypeString","optional":true}}},"maxItems":1},"disk_encryption":{"type":"TypeList","optional":true,"elem":{"schema":{"encryption_algorithm":{"type":"TypeString","optional":true},"encryption_at_host_enabled":{"type":"TypeBool","optional":true},"key_vault_key_id":{"type":"TypeString","optional":true},"key_vault_managed_identity_id":{"type":"TypeString","optional":true}}}},"encryption_in_transit_enabled":{"type":"TypeBool","optional":true,"forceNew":true},"extension":{"type":"TypeList","optional":true,"elem":{"schema":{"log_analytics_workspace_id":{"type":"TypeString","required":true},"primary_key":{"type":"TypeString","required":true}}},"maxItems":1},"gateway":{"type":"TypeList","required":true,"elem":{"schema":{"password":{"type":"TypeString","required":true},"username":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"https_endpoint":{"type":"TypeString","computed":true},"kafka_rest_proxy_endpoint":{"type":"TypeString","computed":true},"location":{"type":"TypeString","required":true,"forceNew":true},"metastores":{"type":"TypeList","optional":true,"elem":{"schema":{"ambari":{"type":"TypeList","optional":true,"elem":{"schema":{"database_name":{"type":"TypeString","required":true,"forceNew":true},"password":{"type":"TypeString","required":true,"forceNew":true},"server":{"type":"TypeString","required":true,"forceNew":true},"username":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"hive":{"type":"TypeList","optional":true,"elem":{"schema":{"database_name":{"type":"TypeString","required":true,"forceNew":true},"password":{"type":"TypeString","required":true,"forceNew":true},"server":{"type":"TypeString","required":true,"forceNew":true},"username":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"oozie":{"type":"TypeList","optional":true,"elem":{"schema":{"database_name":{"type":"TypeString","required":true,"forceNew":true},"password":{"type":"TypeString","required":true,"forceNew":true},"server":{"type":"TypeString","required":true,"forceNew":true},"username":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1}}},"maxItems":1},"monitor":{"type":"TypeList","optional":true,"elem":{"schema":{"log_analytics_workspace_id":{"type":"TypeString","required":true},"primary_key":{"type":"TypeString","required":true}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"network":{"type":"TypeList","optional":true,"elem":{"schema":{"connection_direction":{"type":"TypeString","optional":true,"default":"Inbound","forceNew":true},"private_link_enabled":{"type":"TypeBool","optional":true,"default":false,"forceNew":true}}},"maxItems":1},"private_link_configuration":{"type":"TypeList","optional":true,"elem":{"schema":{"group_id":{"type":"TypeString","required":true},"ip_configuration":{"type":"TypeList","required":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"primary":{"type":"TypeBool","optional":true},"private_ip_address":{"type":"TypeString","optional":true},"private_ip_allocation_method":{"type":"TypeString","optional":true},"subnet_id":{"type":"TypeString","optional":true}}},"maxItems":1},"name":{"type":"TypeString","required":true}}},"maxItems":1},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"rest_proxy":{"type":"TypeList","optional":true,"elem":{"schema":{"security_group_id":{"type":"TypeString","required":true,"forceNew":true},"security_group_name":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"roles":{"type":"TypeList","required":true,"elem":{"schema":{"head_node":{"type":"TypeList","required":true,"elem":{"schema":{"password":{"type":"TypeString","optional":true,"forceNew":true},"script_actions":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"parameters":{"type":"TypeString","optional":true},"uri":{"type":"TypeString","required":true}}},"minItems":1},"ssh_keys":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"subnet_id":{"type":"TypeString","optional":true,"forceNew":true},"username":{"type":"TypeString","required":true,"forceNew":true},"virtual_network_id":{"type":"TypeString","optional":true,"forceNew":true},"vm_size":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"kafka_management_node":{"type":"TypeList","optional":true,"elem":{"schema":{"password":{"type":"TypeString","optional":true,"forceNew":true},"script_actions":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"parameters":{"type":"TypeString","optional":true},"uri":{"type":"TypeString","required":true}}},"minItems":1},"ssh_keys":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"subnet_id":{"type":"TypeString","optional":true,"forceNew":true},"username":{"type":"TypeString","computed":true},"virtual_network_id":{"type":"TypeString","optional":true,"forceNew":true},"vm_size":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"worker_node":{"type":"TypeList","required":true,"elem":{"schema":{"number_of_disks_per_node":{"type":"TypeInt","required":true,"forceNew":true},"password":{"type":"TypeString","optional":true,"forceNew":true},"script_actions":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"parameters":{"type":"TypeString","optional":true},"uri":{"type":"TypeString","required":true}}},"minItems":1},"ssh_keys":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"subnet_id":{"type":"TypeString","optional":true,"forceNew":true},"target_instance_count":{"type":"TypeInt","required":true},"username":{"type":"TypeString","required":true,"forceNew":true},"virtual_network_id":{"type":"TypeString","optional":true,"forceNew":true},"vm_size":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"zookeeper_node":{"type":"TypeList","required":true,"elem":{"schema":{"password":{"type":"TypeString","optional":true,"forceNew":true},"script_actions":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"parameters":{"type":"TypeString","optional":true},"uri":{"type":"TypeString","required":true}}},"minItems":1},"ssh_keys":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"subnet_id":{"type":"TypeString","optional":true,"forceNew":true},"username":{"type":"TypeString","required":true,"forceNew":true},"virtual_network_id":{"type":"TypeString","optional":true,"forceNew":true},"vm_size":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1}}},"maxItems":1},"security_profile":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"aadds_resource_id":{"type":"TypeString","required":true,"forceNew":true},"cluster_users_group_dns":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"domain_name":{"type":"TypeString","required":true,"forceNew":true},"domain_user_password":{"type":"TypeString","required":true,"forceNew":true},"domain_username":{"type":"TypeString","required":true,"forceNew":true},"ldaps_urls":{"type":"TypeSet","required":true,"forceNew":true,"elem":{"type":"TypeString"}},"msi_resource_id":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"ssh_endpoint":{"type":"TypeString","computed":true},"storage_account":{"type":"TypeList","optional":true,"elem":{"schema":{"is_default":{"type":"TypeBool","required":true,"forceNew":true},"storage_account_key":{"type":"TypeString","required":true,"forceNew":true},"storage_container_id":{"type":"TypeString","required":true,"forceNew":true},"storage_resource_id":{"type":"TypeString","optional":true,"forceNew":true}}}},"storage_account_gen2":{"type":"TypeList","optional":true,"elem":{"schema":{"filesystem_id":{"type":"TypeString","required":true,"forceNew":true},"is_default":{"type":"TypeBool","required":true,"forceNew":true},"managed_identity_resource_id":{"type":"TypeString","required":true,"forceNew":true},"storage_resource_id":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"tier":{"type":"TypeString","required":true,"forceNew":true},"tls_min_version":{"type":"TypeString","optional":true,"forceNew":true}},"timeouts":{"create":60,"read":5,"delete":60,"update":60}},"azurerm_hdinsight_spark_cluster":{"schema":{"cluster_version":{"type":"TypeString","required":true,"forceNew":true},"component_version":{"type":"TypeList","required":true,"elem":{"schema":{"spark":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"compute_isolation":{"type":"TypeList","optional":true,"elem":{"schema":{"compute_isolation_enabled":{"type":"TypeBool","optional":true,"default":false},"host_sku":{"type":"TypeString","optional":true}}},"maxItems":1},"disk_encryption":{"type":"TypeList","optional":true,"elem":{"schema":{"encryption_algorithm":{"type":"TypeString","optional":true},"encryption_at_host_enabled":{"type":"TypeBool","optional":true},"key_vault_key_id":{"type":"TypeString","optional":true},"key_vault_managed_identity_id":{"type":"TypeString","optional":true}}}},"encryption_in_transit_enabled":{"type":"TypeBool","optional":true,"forceNew":true},"extension":{"type":"TypeList","optional":true,"elem":{"schema":{"log_analytics_workspace_id":{"type":"TypeString","required":true},"primary_key":{"type":"TypeString","required":true}}},"maxItems":1},"gateway":{"type":"TypeList","required":true,"elem":{"schema":{"password":{"type":"TypeString","required":true},"username":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"https_endpoint":{"type":"TypeString","computed":true},"location":{"type":"TypeString","required":true,"forceNew":true},"metastores":{"type":"TypeList","optional":true,"elem":{"schema":{"ambari":{"type":"TypeList","optional":true,"elem":{"schema":{"database_name":{"type":"TypeString","required":true,"forceNew":true},"password":{"type":"TypeString","required":true,"forceNew":true},"server":{"type":"TypeString","required":true,"forceNew":true},"username":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"hive":{"type":"TypeList","optional":true,"elem":{"schema":{"database_name":{"type":"TypeString","required":true,"forceNew":true},"password":{"type":"TypeString","required":true,"forceNew":true},"server":{"type":"TypeString","required":true,"forceNew":true},"username":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"oozie":{"type":"TypeList","optional":true,"elem":{"schema":{"database_name":{"type":"TypeString","required":true,"forceNew":true},"password":{"type":"TypeString","required":true,"forceNew":true},"server":{"type":"TypeString","required":true,"forceNew":true},"username":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1}}},"maxItems":1},"monitor":{"type":"TypeList","optional":true,"elem":{"schema":{"log_analytics_workspace_id":{"type":"TypeString","required":true},"primary_key":{"type":"TypeString","required":true}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"network":{"type":"TypeList","optional":true,"elem":{"schema":{"connection_direction":{"type":"TypeString","optional":true,"default":"Inbound","forceNew":true},"private_link_enabled":{"type":"TypeBool","optional":true,"default":false,"forceNew":true}}},"maxItems":1},"private_link_configuration":{"type":"TypeList","optional":true,"elem":{"schema":{"group_id":{"type":"TypeString","required":true},"ip_configuration":{"type":"TypeList","required":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"primary":{"type":"TypeBool","optional":true},"private_ip_address":{"type":"TypeString","optional":true},"private_ip_allocation_method":{"type":"TypeString","optional":true},"subnet_id":{"type":"TypeString","optional":true}}},"maxItems":1},"name":{"type":"TypeString","required":true}}},"maxItems":1},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"roles":{"type":"TypeList","required":true,"elem":{"schema":{"head_node":{"type":"TypeList","required":true,"elem":{"schema":{"password":{"type":"TypeString","optional":true,"forceNew":true},"script_actions":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"parameters":{"type":"TypeString","optional":true},"uri":{"type":"TypeString","required":true}}},"minItems":1},"ssh_keys":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"subnet_id":{"type":"TypeString","optional":true,"forceNew":true},"username":{"type":"TypeString","required":true,"forceNew":true},"virtual_network_id":{"type":"TypeString","optional":true,"forceNew":true},"vm_size":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"worker_node":{"type":"TypeList","required":true,"elem":{"schema":{"autoscale":{"type":"TypeList","optional":true,"elem":{"schema":{"capacity":{"type":"TypeList","optional":true,"elem":{"schema":{"max_instance_count":{"type":"TypeInt","required":true},"min_instance_count":{"type":"TypeInt","required":true}}},"maxItems":1},"recurrence":{"type":"TypeList","optional":true,"elem":{"schema":{"schedule":{"type":"TypeList","required":true,"elem":{"schema":{"days":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}},"target_instance_count":{"type":"TypeInt","required":true},"time":{"type":"TypeString","required":true}}},"minItems":1},"timezone":{"type":"TypeString","required":true}}},"maxItems":1}}},"maxItems":1},"password":{"type":"TypeString","optional":true,"forceNew":true},"script_actions":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"parameters":{"type":"TypeString","optional":true},"uri":{"type":"TypeString","required":true}}},"minItems":1},"ssh_keys":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"subnet_id":{"type":"TypeString","optional":true,"forceNew":true},"target_instance_count":{"type":"TypeInt","required":true},"username":{"type":"TypeString","required":true,"forceNew":true},"virtual_network_id":{"type":"TypeString","optional":true,"forceNew":true},"vm_size":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"zookeeper_node":{"type":"TypeList","required":true,"elem":{"schema":{"password":{"type":"TypeString","optional":true,"forceNew":true},"script_actions":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"parameters":{"type":"TypeString","optional":true},"uri":{"type":"TypeString","required":true}}},"minItems":1},"ssh_keys":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"subnet_id":{"type":"TypeString","optional":true,"forceNew":true},"username":{"type":"TypeString","required":true,"forceNew":true},"virtual_network_id":{"type":"TypeString","optional":true,"forceNew":true},"vm_size":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1}}},"maxItems":1},"security_profile":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"aadds_resource_id":{"type":"TypeString","required":true,"forceNew":true},"cluster_users_group_dns":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"domain_name":{"type":"TypeString","required":true,"forceNew":true},"domain_user_password":{"type":"TypeString","required":true,"forceNew":true},"domain_username":{"type":"TypeString","required":true,"forceNew":true},"ldaps_urls":{"type":"TypeSet","required":true,"forceNew":true,"elem":{"type":"TypeString"}},"msi_resource_id":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"ssh_endpoint":{"type":"TypeString","computed":true},"storage_account":{"type":"TypeList","optional":true,"elem":{"schema":{"is_default":{"type":"TypeBool","required":true,"forceNew":true},"storage_account_key":{"type":"TypeString","required":true,"forceNew":true},"storage_container_id":{"type":"TypeString","required":true,"forceNew":true},"storage_resource_id":{"type":"TypeString","optional":true,"forceNew":true}}}},"storage_account_gen2":{"type":"TypeList","optional":true,"elem":{"schema":{"filesystem_id":{"type":"TypeString","required":true,"forceNew":true},"is_default":{"type":"TypeBool","required":true,"forceNew":true},"managed_identity_resource_id":{"type":"TypeString","required":true,"forceNew":true},"storage_resource_id":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"tier":{"type":"TypeString","required":true,"forceNew":true},"tls_min_version":{"type":"TypeString","optional":true,"forceNew":true}},"timeouts":{"create":60,"read":5,"delete":60,"update":60}},"azurerm_healthbot":{"schema":{"bot_management_portal_url":{"type":"TypeString","computed":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"sku_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_healthcare_dicom_service":{"schema":{"authentication":{"type":"TypeList","computed":true,"elem":{"schema":{"audience":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"authority":{"type":"TypeString","computed":true}}}},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"private_endpoint":{"type":"TypeSet","computed":true,"elem":{"schema":{"id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true}}}},"public_network_access_enabled":{"type":"TypeBool","optional":true,"default":true},"service_url":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"workspace_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":90,"read":5,"delete":30,"update":90}},"azurerm_healthcare_fhir_service":{"schema":{"access_policy_object_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"authentication":{"type":"TypeList","required":true,"elem":{"schema":{"audience":{"type":"TypeString","required":true},"authority":{"type":"TypeString","required":true},"smart_proxy_enabled":{"type":"TypeBool","optional":true}}},"maxItems":1},"configuration_export_storage_account_name":{"type":"TypeString","optional":true},"container_registry_login_server_url":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"cors":{"type":"TypeList","optional":true,"elem":{"schema":{"allowed_headers":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"},"maxItems":64},"allowed_methods":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"},"maxItems":64},"allowed_origins":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"},"maxItems":64},"credentials_allowed":{"type":"TypeBool","optional":true,"default":false},"max_age_in_seconds":{"type":"TypeInt","optional":true}}},"maxItems":1},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"kind":{"type":"TypeString","optional":true,"default":"fhir-R4","forceNew":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"oci_artifact":{"type":"TypeList","optional":true,"elem":{"schema":{"digest":{"type":"TypeString","optional":true},"image_name":{"type":"TypeString","optional":true},"login_server":{"type":"TypeString","required":true}}}},"public_network_access_enabled":{"type":"TypeBool","computed":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"workspace_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":90,"read":5,"delete":30,"update":90}},"azurerm_healthcare_medtech_service":{"schema":{"device_mapping_json":{"type":"TypeString","required":true},"eventhub_consumer_group_name":{"type":"TypeString","required":true},"eventhub_name":{"type":"TypeString","required":true},"eventhub_namespace_name":{"type":"TypeString","required":true},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"workspace_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":90,"read":5,"delete":90,"update":90}},"azurerm_healthcare_medtech_service_fhir_destination":{"schema":{"destination_fhir_mapping_json":{"type":"TypeString","required":true},"destination_fhir_service_id":{"type":"TypeString","required":true},"destination_identity_resolution_type":{"type":"TypeString","required":true},"location":{"type":"TypeString","required":true,"forceNew":true},"medtech_service_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":90,"read":5,"delete":90,"update":90}},"azurerm_healthcare_service":{"schema":{"access_policy_object_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"authentication_configuration":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"audience":{"type":"TypeString","optional":true},"authority":{"type":"TypeString","optional":true},"smart_proxy_enabled":{"type":"TypeBool","optional":true}}},"maxItems":1},"configuration_export_storage_account_name":{"type":"TypeString","optional":true},"cors_configuration":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"allow_credentials":{"type":"TypeBool","optional":true},"allowed_headers":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":64},"allowed_methods":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"maxItems":64},"allowed_origins":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":64},"max_age_in_seconds":{"type":"TypeInt","optional":true}}},"maxItems":1},"cosmosdb_key_vault_key_versionless_id":{"type":"TypeString","optional":true,"forceNew":true},"cosmosdb_throughput":{"type":"TypeInt","optional":true,"default":1000},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"kind":{"type":"TypeString","optional":true,"default":"fhir"},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"public_network_access_enabled":{"type":"TypeBool","optional":true,"default":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_healthcare_workspace":{"schema":{"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"private_endpoint_connection":{"type":"TypeSet","computed":true,"elem":{"schema":{"id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true}}}},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_hpc_cache":{"schema":{"automatically_rotate_key_to_latest_enabled":{"type":"TypeBool","optional":true},"cache_size_in_gb":{"type":"TypeInt","required":true,"forceNew":true},"default_access_policy":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"access_rule":{"type":"TypeSet","required":true,"elem":{"schema":{"access":{"type":"TypeString","required":true},"anonymous_gid":{"type":"TypeInt","optional":true},"anonymous_uid":{"type":"TypeInt","optional":true},"filter":{"type":"TypeString","optional":true},"root_squash_enabled":{"type":"TypeBool","optional":true},"scope":{"type":"TypeString","required":true},"submount_access_enabled":{"type":"TypeBool","optional":true},"suid_enabled":{"type":"TypeBool","optional":true}}},"maxItems":3,"minItems":1}}},"maxItems":1,"minItems":1},"directory_active_directory":{"type":"TypeList","optional":true,"elem":{"schema":{"cache_netbios_name":{"type":"TypeString","required":true},"dns_primary_ip":{"type":"TypeString","required":true},"dns_secondary_ip":{"type":"TypeString","optional":true},"domain_name":{"type":"TypeString","required":true},"domain_netbios_name":{"type":"TypeString","required":true},"password":{"type":"TypeString","required":true},"username":{"type":"TypeString","required":true}}},"maxItems":1},"directory_flat_file":{"type":"TypeList","optional":true,"elem":{"schema":{"group_file_uri":{"type":"TypeString","required":true},"password_file_uri":{"type":"TypeString","required":true}}},"maxItems":1},"directory_ldap":{"type":"TypeList","optional":true,"elem":{"schema":{"base_dn":{"type":"TypeString","required":true},"bind":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"dn":{"type":"TypeString","required":true},"password":{"type":"TypeString","required":true}}},"maxItems":1},"certificate_validation_uri":{"type":"TypeString","optional":true},"download_certificate_automatically":{"type":"TypeBool","optional":true},"encrypted":{"type":"TypeBool","optional":true},"server":{"type":"TypeString","required":true}}},"maxItems":1},"dns":{"type":"TypeList","optional":true,"elem":{"schema":{"search_domain":{"type":"TypeString","optional":true},"servers":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"maxItems":3}}},"maxItems":1},"identity":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"key_vault_key_id":{"type":"TypeString","optional":true},"location":{"type":"TypeString","required":true,"forceNew":true},"mount_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"mtu":{"type":"TypeInt","optional":true,"default":1500},"name":{"type":"TypeString","required":true,"forceNew":true},"ntp_server":{"type":"TypeString","optional":true,"default":"time.windows.com"},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"sku_name":{"type":"TypeString","required":true,"forceNew":true},"subnet_id":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":60,"read":5,"delete":60,"update":60}},"azurerm_hpc_cache_access_policy":{"schema":{"access_rule":{"type":"TypeSet","required":true,"elem":{"schema":{"access":{"type":"TypeString","required":true},"anonymous_gid":{"type":"TypeInt","optional":true},"anonymous_uid":{"type":"TypeInt","optional":true},"filter":{"type":"TypeString","optional":true},"root_squash_enabled":{"type":"TypeBool","optional":true},"scope":{"type":"TypeString","required":true},"submount_access_enabled":{"type":"TypeBool","optional":true},"suid_enabled":{"type":"TypeBool","optional":true}}},"maxItems":3,"minItems":1},"hpc_cache_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_hpc_cache_blob_nfs_target":{"schema":{"access_policy_name":{"type":"TypeString","optional":true,"default":"default"},"cache_name":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"namespace_path":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"storage_container_id":{"type":"TypeString","required":true,"forceNew":true},"usage_model":{"type":"TypeString","required":true},"verification_timer_in_seconds":{"type":"TypeInt","optional":true},"write_back_timer_in_seconds":{"type":"TypeInt","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_hpc_cache_blob_target":{"schema":{"access_policy_name":{"type":"TypeString","optional":true,"default":"default"},"cache_name":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"namespace_path":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"storage_container_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_hpc_cache_nfs_target":{"schema":{"cache_name":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"namespace_junction":{"type":"TypeSet","required":true,"elem":{"schema":{"access_policy_name":{"type":"TypeString","optional":true,"default":"default"},"namespace_path":{"type":"TypeString","required":true},"nfs_export":{"type":"TypeString","required":true},"target_path":{"type":"TypeString","optional":true,"default":""}}},"maxItems":10,"minItems":1},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"target_host_name":{"type":"TypeString","required":true,"forceNew":true},"usage_model":{"type":"TypeString","required":true},"verification_timer_in_seconds":{"type":"TypeInt","optional":true},"write_back_timer_in_seconds":{"type":"TypeInt","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_image":{"schema":{"data_disk":{"type":"TypeList","optional":true,"elem":{"schema":{"blob_uri":{"type":"TypeString","optional":true,"computed":true},"caching":{"type":"TypeString","optional":true,"default":"None"},"disk_encryption_set_id":{"type":"TypeString","optional":true,"forceNew":true},"lun":{"type":"TypeInt","optional":true},"managed_disk_id":{"type":"TypeString","optional":true,"forceNew":true},"size_gb":{"type":"TypeInt","optional":true,"computed":true},"storage_type":{"type":"TypeString","required":true,"description":"The type of storage disk","forceNew":true}}}},"hyper_v_generation":{"type":"TypeString","optional":true,"default":"V1","forceNew":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"os_disk":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"blob_uri":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"caching":{"type":"TypeString","optional":true,"default":"None"},"disk_encryption_set_id":{"type":"TypeString","optional":true,"forceNew":true},"managed_disk_id":{"type":"TypeString","optional":true,"computed":true},"os_state":{"type":"TypeString","optional":true},"os_type":{"type":"TypeString","optional":true},"size_gb":{"type":"TypeInt","optional":true,"computed":true,"forceNew":true},"storage_type":{"type":"TypeString","required":true,"description":"The type of storage disk","forceNew":true}}},"maxItems":1},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"source_virtual_machine_id":{"type":"TypeString","optional":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"zone_resilient":{"type":"TypeBool","optional":true,"default":false,"forceNew":true}},"timeouts":{"create":90,"read":5,"delete":90,"update":90}},"azurerm_iot_security_device_group":{"schema":{"allow_rule":{"type":"TypeList","optional":true,"elem":{"schema":{"connection_from_ips_not_allowed":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"connection_to_ips_not_allowed":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"local_users_not_allowed":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"processes_not_allowed":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"iothub_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"range_rule":{"type":"TypeSet","optional":true,"elem":{"schema":{"duration":{"type":"TypeString","required":true},"max":{"type":"TypeInt","required":true},"min":{"type":"TypeInt","required":true},"type":{"type":"TypeString","required":true}}}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_iot_security_solution":{"schema":{"additional_workspace":{"type":"TypeSet","optional":true,"elem":{"schema":{"data_types":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}},"workspace_id":{"type":"TypeString","required":true}}}},"disabled_data_sources":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"display_name":{"type":"TypeString","required":true},"enabled":{"type":"TypeBool","optional":true,"default":true},"events_to_export":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"iothub_ids":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}},"location":{"type":"TypeString","required":true,"forceNew":true},"log_analytics_workspace_id":{"type":"TypeString","optional":true},"log_unmasked_ips_enabled":{"type":"TypeBool","optional":true,"default":false},"name":{"type":"TypeString","required":true,"forceNew":true},"query_for_resources":{"type":"TypeString","optional":true,"computed":true},"query_subscription_ids":{"type":"TypeSet","optional":true,"computed":true,"elem":{"type":"TypeString"}},"recommendations_enabled":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"acr_authentication":{"type":"TypeBool","optional":true,"default":true},"agent_send_unutilized_msg":{"type":"TypeBool","optional":true,"default":true},"baseline":{"type":"TypeBool","optional":true,"default":true},"edge_hub_mem_optimize":{"type":"TypeBool","optional":true,"default":true},"edge_logging_option":{"type":"TypeBool","optional":true,"default":true},"inconsistent_module_settings":{"type":"TypeBool","optional":true,"default":true},"install_agent":{"type":"TypeBool","optional":true,"default":true},"ip_filter_deny_all":{"type":"TypeBool","optional":true,"default":true},"ip_filter_permissive_rule":{"type":"TypeBool","optional":true,"default":true},"open_ports":{"type":"TypeBool","optional":true,"default":true},"permissive_firewall_policy":{"type":"TypeBool","optional":true,"default":true},"permissive_input_firewall_rules":{"type":"TypeBool","optional":true,"default":true},"permissive_output_firewall_rules":{"type":"TypeBool","optional":true,"default":true},"privileged_docker_options":{"type":"TypeBool","optional":true,"default":true},"shared_credentials":{"type":"TypeBool","optional":true,"default":true},"vulnerable_tls_cipher_suite":{"type":"TypeBool","optional":true,"default":true}}},"maxItems":1},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_iotcentral_application":{"schema":{"display_name":{"type":"TypeString","optional":true,"computed":true},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"public_network_access_enabled":{"type":"TypeBool","optional":true,"default":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"sku":{"type":"TypeString","optional":true,"default":"ST1"},"sub_domain":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"template":{"type":"TypeString","optional":true,"default":"iotc-pnp-preview@1.0.0","forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_iotcentral_application_network_rule_set":{"schema":{"apply_to_device":{"type":"TypeBool","optional":true,"default":true},"default_action":{"type":"TypeString","optional":true,"default":"Deny"},"iotcentral_application_id":{"type":"TypeString","required":true,"forceNew":true},"ip_rule":{"type":"TypeList","optional":true,"elem":{"schema":{"ip_mask":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true}}}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_iotcentral_organization":{"schema":{"display_name":{"type":"TypeString","required":true},"iotcentral_application_id":{"type":"TypeString","required":true,"forceNew":true},"organization_id":{"type":"TypeString","required":true,"forceNew":true},"parent_organization_id":{"type":"TypeString","optional":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_iothub":{"schema":{"cloud_to_device":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"default_ttl":{"type":"TypeString","optional":true,"default":"PT1H"},"feedback":{"type":"TypeList","optional":true,"elem":{"schema":{"lock_duration":{"type":"TypeString","optional":true,"default":"PT60S"},"max_delivery_count":{"type":"TypeInt","optional":true,"default":10},"time_to_live":{"type":"TypeString","optional":true,"default":"PT1H"}}}},"max_delivery_count":{"type":"TypeInt","optional":true,"default":10}}},"maxItems":1},"endpoint":{"type":"TypeList","configMode":"Auto","optional":true,"computed":true,"elem":{"schema":{"authentication_type":{"type":"TypeString","optional":true,"default":"keyBased"},"batch_frequency_in_seconds":{"type":"TypeInt","optional":true,"default":300},"connection_string":{"type":"TypeString","optional":true},"container_name":{"type":"TypeString","optional":true},"encoding":{"type":"TypeString","optional":true,"default":"Avro","forceNew":true},"endpoint_uri":{"type":"TypeString","optional":true},"entity_path":{"type":"TypeString","optional":true},"file_name_format":{"type":"TypeString","optional":true,"default":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}"},"identity_id":{"type":"TypeString","optional":true},"max_chunk_size_in_bytes":{"type":"TypeInt","optional":true,"default":314572800},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","optional":true},"type":{"type":"TypeString","required":true}}}},"enrichment":{"type":"TypeList","configMode":"Auto","optional":true,"computed":true,"elem":{"schema":{"endpoint_names":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}},"key":{"type":"TypeString","required":true},"value":{"type":"TypeString","required":true}}},"maxItems":10},"event_hub_events_endpoint":{"type":"TypeString","computed":true},"event_hub_events_namespace":{"type":"TypeString","computed":true},"event_hub_events_path":{"type":"TypeString","computed":true},"event_hub_operations_endpoint":{"type":"TypeString","computed":true},"event_hub_operations_path":{"type":"TypeString","computed":true},"event_hub_partition_count":{"type":"TypeInt","optional":true,"default":4},"event_hub_retention_in_days":{"type":"TypeInt","optional":true,"default":1},"fallback_route":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"condition":{"type":"TypeString","optional":true,"default":"true"},"enabled":{"type":"TypeBool","optional":true,"default":true},"endpoint_names":{"type":"TypeList","optional":true,"computed":true,"elem":{"type":"TypeString"}},"source":{"type":"TypeString","optional":true,"default":"DeviceMessages"}}},"maxItems":1},"file_upload":{"type":"TypeList","optional":true,"elem":{"schema":{"authentication_type":{"type":"TypeString","optional":true,"default":"keyBased"},"connection_string":{"type":"TypeString","required":true},"container_name":{"type":"TypeString","required":true},"default_ttl":{"type":"TypeString","optional":true,"default":"PT1H"},"identity_id":{"type":"TypeString","optional":true},"lock_duration":{"type":"TypeString","optional":true,"default":"PT1M"},"max_delivery_count":{"type":"TypeInt","optional":true,"default":10},"notifications":{"type":"TypeBool","optional":true,"default":false},"sas_ttl":{"type":"TypeString","optional":true,"default":"PT1H"}}},"maxItems":1},"hostname":{"type":"TypeString","computed":true},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"local_authentication_enabled":{"type":"TypeBool","optional":true,"default":true},"location":{"type":"TypeString","required":true,"forceNew":true},"min_tls_version":{"type":"TypeString","optional":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"network_rule_set":{"type":"TypeList","optional":true,"elem":{"schema":{"apply_to_builtin_eventhub_endpoint":{"type":"TypeBool","optional":true,"default":false},"default_action":{"type":"TypeString","optional":true,"default":"Deny"},"ip_rule":{"type":"TypeList","optional":true,"elem":{"schema":{"action":{"type":"TypeString","optional":true,"default":"Allow"},"ip_mask":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true}}}}}}},"public_network_access_enabled":{"type":"TypeBool","optional":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"route":{"type":"TypeList","configMode":"Auto","optional":true,"computed":true,"elem":{"schema":{"condition":{"type":"TypeString","optional":true,"default":"true"},"enabled":{"type":"TypeBool","required":true},"endpoint_names":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true},"source":{"type":"TypeString","required":true}}}},"shared_access_policy":{"type":"TypeList","computed":true,"elem":{"schema":{"key_name":{"type":"TypeString","computed":true},"permissions":{"type":"TypeString","computed":true},"primary_key":{"type":"TypeString","computed":true},"secondary_key":{"type":"TypeString","computed":true}}}},"sku":{"type":"TypeList","required":true,"elem":{"schema":{"capacity":{"type":"TypeInt","required":true},"name":{"type":"TypeString","required":true}}},"maxItems":1},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"type":{"type":"TypeString","computed":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_iothub_certificate":{"schema":{"certificate_content":{"type":"TypeString","required":true},"iothub_name":{"type":"TypeString","required":true,"forceNew":true},"is_verified":{"type":"TypeBool","optional":true,"default":false},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_iothub_consumer_group":{"schema":{"eventhub_endpoint_name":{"type":"TypeString","required":true,"forceNew":true},"iothub_name":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_iothub_device_update_account":{"schema":{"host_name":{"type":"TypeString","computed":true},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"public_network_access_enabled":{"type":"TypeBool","optional":true,"default":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"sku":{"type":"TypeString","optional":true,"default":"Standard","forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_iothub_device_update_instance":{"schema":{"device_update_account_id":{"type":"TypeString","required":true,"forceNew":true},"diagnostic_enabled":{"type":"TypeBool","optional":true,"default":false},"diagnostic_storage_account":{"type":"TypeList","optional":true,"elem":{"schema":{"connection_string":{"type":"TypeString","required":true},"id":{"type":"TypeString","required":true}}},"maxItems":1},"iothub_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_iothub_dps":{"schema":{"allocation_policy":{"type":"TypeString","optional":true,"default":"Hashed"},"data_residency_enabled":{"type":"TypeBool","optional":true,"default":false,"forceNew":true},"device_provisioning_host_name":{"type":"TypeString","computed":true},"id_scope":{"type":"TypeString","computed":true},"ip_filter_rule":{"type":"TypeList","optional":true,"elem":{"schema":{"action":{"type":"TypeString","required":true},"ip_mask":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true},"target":{"type":"TypeString","optional":true}}}},"linked_hub":{"type":"TypeList","optional":true,"elem":{"schema":{"allocation_weight":{"type":"TypeInt","optional":true,"default":1},"apply_allocation_policy":{"type":"TypeBool","optional":true,"default":true},"connection_string":{"type":"TypeString","required":true},"hostname":{"type":"TypeString","computed":true},"location":{"type":"TypeString","required":true}}}},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"public_network_access_enabled":{"type":"TypeBool","optional":true,"default":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"service_operations_host_name":{"type":"TypeString","computed":true},"sku":{"type":"TypeList","required":true,"elem":{"schema":{"capacity":{"type":"TypeInt","required":true},"name":{"type":"TypeString","required":true}}},"maxItems":1},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_iothub_dps_certificate":{"schema":{"certificate_content":{"type":"TypeString","required":true},"iot_dps_name":{"type":"TypeString","required":true,"forceNew":true},"is_verified":{"type":"TypeBool","optional":true,"default":false,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_iothub_dps_shared_access_policy":{"schema":{"enrollment_read":{"type":"TypeBool","optional":true,"default":false},"enrollment_write":{"type":"TypeBool","optional":true,"default":false},"iothub_dps_name":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"primary_connection_string":{"type":"TypeString","computed":true},"primary_key":{"type":"TypeString","computed":true},"registration_read":{"type":"TypeBool","optional":true,"default":false},"registration_write":{"type":"TypeBool","optional":true,"default":false},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"secondary_connection_string":{"type":"TypeString","computed":true},"secondary_key":{"type":"TypeString","computed":true},"service_config":{"type":"TypeBool","optional":true,"default":false}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_iothub_endpoint_cosmosdb_account":{"schema":{"authentication_type":{"type":"TypeString","optional":true,"default":"keyBased"},"container_name":{"type":"TypeString","required":true,"forceNew":true},"database_name":{"type":"TypeString","required":true,"forceNew":true},"endpoint_uri":{"type":"TypeString","required":true,"forceNew":true},"identity_id":{"type":"TypeString","optional":true},"iothub_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"partition_key_name":{"type":"TypeString","optional":true},"partition_key_template":{"type":"TypeString","optional":true},"primary_key":{"type":"TypeString","optional":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"secondary_key":{"type":"TypeString","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_iothub_endpoint_eventhub":{"schema":{"authentication_type":{"type":"TypeString","optional":true,"default":"keyBased"},"connection_string":{"type":"TypeString","optional":true},"endpoint_uri":{"type":"TypeString","optional":true},"entity_path":{"type":"TypeString","optional":true},"identity_id":{"type":"TypeString","optional":true},"iothub_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_iothub_endpoint_servicebus_queue":{"schema":{"authentication_type":{"type":"TypeString","optional":true,"default":"keyBased"},"connection_string":{"type":"TypeString","optional":true},"endpoint_uri":{"type":"TypeString","optional":true},"entity_path":{"type":"TypeString","optional":true},"identity_id":{"type":"TypeString","optional":true},"iothub_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_iothub_endpoint_servicebus_topic":{"schema":{"authentication_type":{"type":"TypeString","optional":true,"default":"keyBased"},"connection_string":{"type":"TypeString","optional":true},"endpoint_uri":{"type":"TypeString","optional":true},"entity_path":{"type":"TypeString","optional":true},"identity_id":{"type":"TypeString","optional":true},"iothub_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_iothub_endpoint_storage_container":{"schema":{"authentication_type":{"type":"TypeString","optional":true,"default":"keyBased"},"batch_frequency_in_seconds":{"type":"TypeInt","optional":true,"default":300},"connection_string":{"type":"TypeString","optional":true},"container_name":{"type":"TypeString","required":true},"encoding":{"type":"TypeString","optional":true,"default":"Avro","forceNew":true},"endpoint_uri":{"type":"TypeString","optional":true},"file_name_format":{"type":"TypeString","optional":true,"default":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}"},"identity_id":{"type":"TypeString","optional":true},"iothub_id":{"type":"TypeString","required":true,"forceNew":true},"max_chunk_size_in_bytes":{"type":"TypeInt","optional":true,"default":314572800},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_iothub_enrichment":{"schema":{"endpoint_names":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"maxItems":100},"iothub_name":{"type":"TypeString","required":true,"forceNew":true},"key":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"value":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_iothub_fallback_route":{"schema":{"condition":{"type":"TypeString","optional":true,"default":"true"},"enabled":{"type":"TypeBool","required":true},"endpoint_names":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"maxItems":1},"iothub_name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"source":{"type":"TypeString","optional":true,"default":"DeviceMessages"}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_iothub_file_upload":{"schema":{"authentication_type":{"type":"TypeString","optional":true,"default":"keyBased"},"connection_string":{"type":"TypeString","required":true},"container_name":{"type":"TypeString","required":true},"default_ttl":{"type":"TypeString","optional":true,"default":"PT1H"},"identity_id":{"type":"TypeString","optional":true},"iothub_id":{"type":"TypeString","required":true,"forceNew":true},"lock_duration":{"type":"TypeString","optional":true,"default":"PT1M"},"max_delivery_count":{"type":"TypeInt","optional":true,"default":10},"notifications_enabled":{"type":"TypeBool","optional":true,"default":false},"sas_ttl":{"type":"TypeString","optional":true,"default":"PT1H"}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_iothub_route":{"schema":{"condition":{"type":"TypeString","optional":true,"default":"true"},"enabled":{"type":"TypeBool","required":true},"endpoint_names":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"maxItems":1},"iothub_name":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"source":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_iothub_shared_access_policy":{"schema":{"device_connect":{"type":"TypeBool","optional":true,"default":false},"iothub_name":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"primary_connection_string":{"type":"TypeString","computed":true},"primary_key":{"type":"TypeString","computed":true},"registry_read":{"type":"TypeBool","optional":true,"default":false},"registry_write":{"type":"TypeBool","optional":true,"default":false},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"secondary_connection_string":{"type":"TypeString","computed":true},"secondary_key":{"type":"TypeString","computed":true},"service_connect":{"type":"TypeBool","optional":true,"default":false}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_ip_group":{"schema":{"cidrs":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"firewall_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"firewall_policy_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_ip_group_cidr":{"schema":{"cidr":{"type":"TypeString","required":true,"forceNew":true},"ip_group_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_key_vault":{"schema":{"access_policy":{"type":"TypeList","configMode":"Auto","optional":true,"computed":true,"elem":{"schema":{"application_id":{"type":"TypeString","optional":true},"certificate_permissions":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"key_permissions":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"object_id":{"type":"TypeString","required":true},"secret_permissions":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"storage_permissions":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"tenant_id":{"type":"TypeString","required":true}}},"maxItems":1024},"contact":{"type":"TypeSet","optional":true,"computed":true,"elem":{"schema":{"email":{"type":"TypeString","required":true},"name":{"type":"TypeString","optional":true},"phone":{"type":"TypeString","optional":true}}}},"enable_rbac_authorization":{"type":"TypeBool","optional":true},"enabled_for_deployment":{"type":"TypeBool","optional":true},"enabled_for_disk_encryption":{"type":"TypeBool","optional":true},"enabled_for_template_deployment":{"type":"TypeBool","optional":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"network_acls":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"bypass":{"type":"TypeString","required":true},"default_action":{"type":"TypeString","required":true},"ip_rules":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"virtual_network_subnet_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"public_network_access_enabled":{"type":"TypeBool","optional":true,"default":true},"purge_protection_enabled":{"type":"TypeBool","optional":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"sku_name":{"type":"TypeString","required":true},"soft_delete_retention_days":{"type":"TypeInt","optional":true,"default":90},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"tenant_id":{"type":"TypeString","required":true},"vault_uri":{"type":"TypeString","computed":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_key_vault_access_policy":{"schema":{"application_id":{"type":"TypeString","optional":true,"forceNew":true},"certificate_permissions":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"key_permissions":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"key_vault_id":{"type":"TypeString","required":true,"forceNew":true},"object_id":{"type":"TypeString","required":true,"forceNew":true},"secret_permissions":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"storage_permissions":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"tenant_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_key_vault_certificate":{"schema":{"certificate":{"type":"TypeList","optional":true,"elem":{"schema":{"contents":{"type":"TypeString","required":true},"password":{"type":"TypeString","optional":true}}},"maxItems":1},"certificate_attribute":{"type":"TypeList","computed":true,"elem":{"schema":{"created":{"type":"TypeString","computed":true},"enabled":{"type":"TypeBool","computed":true},"expires":{"type":"TypeString","computed":true},"not_before":{"type":"TypeString","computed":true},"recovery_level":{"type":"TypeString","computed":true},"updated":{"type":"TypeString","computed":true}}}},"certificate_data":{"type":"TypeString","computed":true},"certificate_data_base64":{"type":"TypeString","computed":true},"certificate_policy":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"issuer_parameters":{"type":"TypeList","required":true,"elem":{"schema":{"name":{"type":"TypeString","required":true}}},"maxItems":1},"key_properties":{"type":"TypeList","required":true,"elem":{"schema":{"curve":{"type":"TypeString","optional":true,"computed":true},"exportable":{"type":"TypeBool","required":true},"key_size":{"type":"TypeInt","optional":true,"computed":true},"key_type":{"type":"TypeString","required":true},"reuse_key":{"type":"TypeBool","required":true}}},"maxItems":1},"lifetime_action":{"type":"TypeList","optional":true,"elem":{"schema":{"action":{"type":"TypeList","required":true,"elem":{"schema":{"action_type":{"type":"TypeString","required":true}}},"maxItems":1},"trigger":{"type":"TypeList","required":true,"elem":{"schema":{"days_before_expiry":{"type":"TypeInt","optional":true},"lifetime_percentage":{"type":"TypeInt","optional":true}}},"maxItems":1}}}},"secret_properties":{"type":"TypeList","required":true,"elem":{"schema":{"content_type":{"type":"TypeString","required":true}}},"maxItems":1},"x509_certificate_properties":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"extended_key_usage":{"type":"TypeList","optional":true,"computed":true,"elem":{"type":"TypeString"}},"key_usage":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}},"subject":{"type":"TypeString","required":true},"subject_alternative_names":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"dns_names":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"emails":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"upns":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"validity_in_months":{"type":"TypeInt","required":true}}},"maxItems":1}}},"maxItems":1},"key_vault_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_manager_id":{"type":"TypeString","computed":true},"resource_manager_versionless_id":{"type":"TypeString","computed":true},"secret_id":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"thumbprint":{"type":"TypeString","computed":true},"version":{"type":"TypeString","computed":true},"versionless_id":{"type":"TypeString","computed":true},"versionless_secret_id":{"type":"TypeString","computed":true}},"timeouts":{"create":60,"read":30,"delete":30,"update":30}},"azurerm_key_vault_certificate_contacts":{"schema":{"contact":{"type":"TypeSet","optional":true,"elem":{"schema":{"email":{"type":"TypeString","required":true},"name":{"type":"TypeString","optional":true},"phone":{"type":"TypeString","optional":true}}}},"key_vault_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_key_vault_certificate_issuer":{"schema":{"account_id":{"type":"TypeString","optional":true},"admin":{"type":"TypeList","optional":true,"elem":{"schema":{"email_address":{"type":"TypeString","required":true},"first_name":{"type":"TypeString","optional":true},"last_name":{"type":"TypeString","optional":true},"phone":{"type":"TypeString","optional":true}}}},"key_vault_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"org_id":{"type":"TypeString","optional":true},"password":{"type":"TypeString","optional":true},"provider_name":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_key_vault_key":{"schema":{"curve":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"e":{"type":"TypeString","computed":true},"expiration_date":{"type":"TypeString","optional":true},"key_opts":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}},"key_size":{"type":"TypeInt","optional":true,"forceNew":true},"key_type":{"type":"TypeString","required":true,"forceNew":true},"key_vault_id":{"type":"TypeString","required":true,"forceNew":true},"n":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true,"forceNew":true},"not_before_date":{"type":"TypeString","optional":true},"public_key_openssh":{"type":"TypeString","computed":true},"public_key_pem":{"type":"TypeString","computed":true},"resource_id":{"type":"TypeString","computed":true},"resource_versionless_id":{"type":"TypeString","computed":true},"rotation_policy":{"type":"TypeList","optional":true,"elem":{"schema":{"automatic":{"type":"TypeList","optional":true,"elem":{"schema":{"time_after_creation":{"type":"TypeString","optional":true},"time_before_expiry":{"type":"TypeString","optional":true}}},"maxItems":1},"expire_after":{"type":"TypeString","optional":true},"notify_before_expiry":{"type":"TypeString","optional":true}}},"maxItems":1},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"version":{"type":"TypeString","computed":true},"versionless_id":{"type":"TypeString","computed":true},"x":{"type":"TypeString","computed":true},"y":{"type":"TypeString","computed":true}},"timeouts":{"create":30,"read":30,"delete":30,"update":30}},"azurerm_key_vault_managed_hardware_security_module":{"schema":{"admin_object_ids":{"type":"TypeSet","required":true,"forceNew":true,"elem":{"type":"TypeString"}},"hsm_uri":{"type":"TypeString","computed":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"network_acls":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"bypass":{"type":"TypeString","required":true},"default_action":{"type":"TypeString","required":true}}},"maxItems":1},"public_network_access_enabled":{"type":"TypeBool","optional":true,"default":true},"purge_protection_enabled":{"type":"TypeBool","optional":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"security_domain_encrypted_data":{"type":"TypeString","computed":true},"security_domain_key_vault_certificate_ids":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"maxItems":10,"minItems":3},"security_domain_quorum":{"type":"TypeInt","optional":true},"sku_name":{"type":"TypeString","required":true,"forceNew":true},"soft_delete_retention_days":{"type":"TypeInt","optional":true,"default":90,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"tenant_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":60,"read":5,"delete":60,"update":30}},"azurerm_key_vault_managed_hardware_security_module_key":{"schema":{"curve":{"type":"TypeString","optional":true,"forceNew":true},"expiration_date":{"type":"TypeString","optional":true},"key_opts":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}},"key_size":{"type":"TypeInt","optional":true,"forceNew":true},"key_type":{"type":"TypeString","required":true,"forceNew":true},"managed_hsm_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"not_before_date":{"type":"TypeString","optional":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"versioned_id":{"type":"TypeString","computed":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_key_vault_managed_hardware_security_module_key_rotation_policy":{"schema":{"expire_after":{"type":"TypeString","required":true},"managed_hsm_key_id":{"type":"TypeString","required":true,"forceNew":true},"time_after_creation":{"type":"TypeString","optional":true},"time_before_expiry":{"type":"TypeString","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_key_vault_managed_hardware_security_module_role_assignment":{"schema":{"managed_hsm_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"principal_id":{"type":"TypeString","required":true,"forceNew":true},"resource_id":{"type":"TypeString","computed":true},"role_definition_id":{"type":"TypeString","required":true,"forceNew":true},"scope":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":10}},"azurerm_key_vault_managed_hardware_security_module_role_definition":{"schema":{"description":{"type":"TypeString","optional":true},"managed_hsm_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"permission":{"type":"TypeList","optional":true,"elem":{"schema":{"actions":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"data_actions":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"not_actions":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"not_data_actions":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}}}}},"resource_manager_id":{"type":"TypeString","computed":true},"role_name":{"type":"TypeString","optional":true},"role_type":{"type":"TypeString","computed":true}},"timeouts":{"create":30,"read":5,"delete":10,"update":10}},"azurerm_key_vault_managed_storage_account":{"schema":{"key_vault_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"regenerate_key_automatically":{"type":"TypeBool","optional":true,"default":false},"regeneration_period":{"type":"TypeString","optional":true},"storage_account_id":{"type":"TypeString","required":true},"storage_account_key":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","optional":true,"forceNew":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_key_vault_managed_storage_account_sas_token_definition":{"schema":{"managed_storage_account_id":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true},"sas_template_uri":{"type":"TypeString","required":true},"sas_type":{"type":"TypeString","required":true},"secret_id":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"validity_period":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_key_vault_secret":{"schema":{"content_type":{"type":"TypeString","optional":true},"expiration_date":{"type":"TypeString","optional":true},"key_vault_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"not_before_date":{"type":"TypeString","optional":true},"resource_id":{"type":"TypeString","computed":true},"resource_versionless_id":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"value":{"type":"TypeString","required":true},"version":{"type":"TypeString","computed":true},"versionless_id":{"type":"TypeString","computed":true}},"timeouts":{"create":30,"read":30,"delete":30,"update":30}},"azurerm_kubernetes_cluster":{"schema":{"aci_connector_linux":{"type":"TypeList","optional":true,"elem":{"schema":{"connector_identity":{"type":"TypeList","computed":true,"elem":{"schema":{"client_id":{"type":"TypeString","computed":true},"object_id":{"type":"TypeString","computed":true},"user_assigned_identity_id":{"type":"TypeString","computed":true}}}},"subnet_name":{"type":"TypeString","required":true}}},"maxItems":1},"api_server_access_profile":{"type":"TypeList","optional":true,"elem":{"schema":{"authorized_ip_ranges":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"auto_scaler_profile":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"balance_similar_node_groups":{"type":"TypeBool","optional":true,"default":false},"empty_bulk_delete_max":{"type":"TypeString","optional":true,"computed":true},"expander":{"type":"TypeString","optional":true,"default":"random"},"max_graceful_termination_sec":{"type":"TypeString","optional":true,"computed":true},"max_node_provisioning_time":{"type":"TypeString","optional":true,"default":"15m"},"max_unready_nodes":{"type":"TypeInt","optional":true,"default":3},"max_unready_percentage":{"type":"TypeFloat","optional":true,"default":45},"new_pod_scale_up_delay":{"type":"TypeString","optional":true,"computed":true},"scale_down_delay_after_add":{"type":"TypeString","optional":true,"computed":true},"scale_down_delay_after_delete":{"type":"TypeString","optional":true,"computed":true},"scale_down_delay_after_failure":{"type":"TypeString","optional":true,"computed":true},"scale_down_unneeded":{"type":"TypeString","optional":true,"computed":true},"scale_down_unready":{"type":"TypeString","optional":true,"computed":true},"scale_down_utilization_threshold":{"type":"TypeString","optional":true,"computed":true},"scan_interval":{"type":"TypeString","optional":true,"computed":true},"skip_nodes_with_local_storage":{"type":"TypeBool","optional":true,"default":false},"skip_nodes_with_system_pods":{"type":"TypeBool","optional":true,"default":true}}},"maxItems":1},"automatic_upgrade_channel":{"type":"TypeString","optional":true},"azure_active_directory_role_based_access_control":{"type":"TypeList","optional":true,"elem":{"schema":{"admin_group_object_ids":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"azure_rbac_enabled":{"type":"TypeBool","optional":true},"tenant_id":{"type":"TypeString","optional":true,"computed":true}}},"maxItems":1},"azure_policy_enabled":{"type":"TypeBool","optional":true},"confidential_computing":{"type":"TypeList","optional":true,"elem":{"schema":{"sgx_quote_helper_enabled":{"type":"TypeBool","required":true}}},"maxItems":1},"cost_analysis_enabled":{"type":"TypeBool","optional":true},"current_kubernetes_version":{"type":"TypeString","computed":true},"default_node_pool":{"type":"TypeList","required":true,"elem":{"schema":{"auto_scaling_enabled":{"type":"TypeBool","optional":true},"capacity_reservation_group_id":{"type":"TypeString","optional":true,"forceNew":true},"fips_enabled":{"type":"TypeBool","optional":true,"forceNew":true},"gpu_instance":{"type":"TypeString","optional":true,"forceNew":true},"host_encryption_enabled":{"type":"TypeBool","optional":true},"host_group_id":{"type":"TypeString","optional":true,"forceNew":true},"kubelet_config":{"type":"TypeList","optional":true,"elem":{"schema":{"allowed_unsafe_sysctls":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"container_log_max_line":{"type":"TypeInt","optional":true},"container_log_max_size_mb":{"type":"TypeInt","optional":true},"cpu_cfs_quota_enabled":{"type":"TypeBool","optional":true,"default":true},"cpu_cfs_quota_period":{"type":"TypeString","optional":true},"cpu_manager_policy":{"type":"TypeString","optional":true},"image_gc_high_threshold":{"type":"TypeInt","optional":true},"image_gc_low_threshold":{"type":"TypeInt","optional":true},"pod_max_pid":{"type":"TypeInt","optional":true},"topology_manager_policy":{"type":"TypeString","optional":true}}},"maxItems":1},"kubelet_disk_type":{"type":"TypeString","optional":true,"computed":true},"linux_os_config":{"type":"TypeList","optional":true,"elem":{"schema":{"swap_file_size_mb":{"type":"TypeInt","optional":true},"sysctl_config":{"type":"TypeList","optional":true,"elem":{"schema":{"fs_aio_max_nr":{"type":"TypeInt","optional":true},"fs_file_max":{"type":"TypeInt","optional":true},"fs_inotify_max_user_watches":{"type":"TypeInt","optional":true},"fs_nr_open":{"type":"TypeInt","optional":true},"kernel_threads_max":{"type":"TypeInt","optional":true},"net_core_netdev_max_backlog":{"type":"TypeInt","optional":true},"net_core_optmem_max":{"type":"TypeInt","optional":true},"net_core_rmem_default":{"type":"TypeInt","optional":true},"net_core_rmem_max":{"type":"TypeInt","optional":true},"net_core_somaxconn":{"type":"TypeInt","optional":true},"net_core_wmem_default":{"type":"TypeInt","optional":true},"net_core_wmem_max":{"type":"TypeInt","optional":true},"net_ipv4_ip_local_port_range_max":{"type":"TypeInt","optional":true},"net_ipv4_ip_local_port_range_min":{"type":"TypeInt","optional":true},"net_ipv4_neigh_default_gc_thresh1":{"type":"TypeInt","optional":true},"net_ipv4_neigh_default_gc_thresh2":{"type":"TypeInt","optional":true},"net_ipv4_neigh_default_gc_thresh3":{"type":"TypeInt","optional":true},"net_ipv4_tcp_fin_timeout":{"type":"TypeInt","optional":true},"net_ipv4_tcp_keepalive_intvl":{"type":"TypeInt","optional":true},"net_ipv4_tcp_keepalive_probes":{"type":"TypeInt","optional":true},"net_ipv4_tcp_keepalive_time":{"type":"TypeInt","optional":true},"net_ipv4_tcp_max_syn_backlog":{"type":"TypeInt","optional":true},"net_ipv4_tcp_max_tw_buckets":{"type":"TypeInt","optional":true},"net_ipv4_tcp_tw_reuse":{"type":"TypeBool","optional":true},"net_netfilter_nf_conntrack_buckets":{"type":"TypeInt","optional":true},"net_netfilter_nf_conntrack_max":{"type":"TypeInt","optional":true},"vm_max_map_count":{"type":"TypeInt","optional":true},"vm_swappiness":{"type":"TypeInt","optional":true},"vm_vfs_cache_pressure":{"type":"TypeInt","optional":true}}},"maxItems":1},"transparent_huge_page_defrag":{"type":"TypeString","optional":true},"transparent_huge_page_enabled":{"type":"TypeString","optional":true}}},"maxItems":1},"max_count":{"type":"TypeInt","optional":true},"max_pods":{"type":"TypeInt","optional":true,"computed":true},"min_count":{"type":"TypeInt","optional":true},"name":{"type":"TypeString","required":true},"node_count":{"type":"TypeInt","optional":true,"computed":true},"node_labels":{"type":"TypeMap","optional":true,"computed":true,"elem":{"type":"TypeString"}},"node_network_profile":{"type":"TypeList","optional":true,"elem":{"schema":{"allowed_host_ports":{"type":"TypeList","optional":true,"elem":{"schema":{"port_end":{"type":"TypeInt","optional":true},"port_start":{"type":"TypeInt","optional":true},"protocol":{"type":"TypeString","optional":true}}}},"application_security_group_ids":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"node_public_ip_tags":{"type":"TypeMap","optional":true,"forceNew":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"node_public_ip_enabled":{"type":"TypeBool","optional":true},"node_public_ip_prefix_id":{"type":"TypeString","optional":true,"forceNew":true},"only_critical_addons_enabled":{"type":"TypeBool","optional":true},"orchestrator_version":{"type":"TypeString","optional":true,"computed":true},"os_disk_size_gb":{"type":"TypeInt","optional":true,"computed":true},"os_disk_type":{"type":"TypeString","optional":true,"default":"Managed"},"os_sku":{"type":"TypeString","optional":true,"computed":true},"pod_subnet_id":{"type":"TypeString","optional":true},"proximity_placement_group_id":{"type":"TypeString","optional":true,"forceNew":true},"scale_down_mode":{"type":"TypeString","optional":true,"default":"Delete"},"snapshot_id":{"type":"TypeString","optional":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"temporary_name_for_rotation":{"type":"TypeString","optional":true},"type":{"type":"TypeString","optional":true,"default":"VirtualMachineScaleSets","forceNew":true},"ultra_ssd_enabled":{"type":"TypeBool","optional":true,"default":false},"upgrade_settings":{"type":"TypeList","optional":true,"elem":{"schema":{"drain_timeout_in_minutes":{"type":"TypeInt","optional":true},"max_surge":{"type":"TypeString","required":true},"node_soak_duration_in_minutes":{"type":"TypeInt","optional":true}}},"maxItems":1},"vm_size":{"type":"TypeString","required":true},"vnet_subnet_id":{"type":"TypeString","optional":true},"workload_runtime":{"type":"TypeString","optional":true,"computed":true},"zones":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"disk_encryption_set_id":{"type":"TypeString","optional":true,"forceNew":true},"dns_prefix":{"type":"TypeString","optional":true,"forceNew":true},"dns_prefix_private_cluster":{"type":"TypeString","optional":true,"forceNew":true},"edge_zone":{"type":"TypeString","optional":true,"forceNew":true},"fqdn":{"type":"TypeString","computed":true},"http_application_routing_enabled":{"type":"TypeBool","optional":true},"http_application_routing_zone_name":{"type":"TypeString","computed":true},"http_proxy_config":{"type":"TypeList","optional":true,"elem":{"schema":{"http_proxy":{"type":"TypeString","optional":true},"https_proxy":{"type":"TypeString","optional":true},"no_proxy":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"trusted_ca":{"type":"TypeString","optional":true}}},"maxItems":1},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"image_cleaner_enabled":{"type":"TypeBool","optional":true},"image_cleaner_interval_hours":{"type":"TypeInt","optional":true},"ingress_application_gateway":{"type":"TypeList","optional":true,"elem":{"schema":{"effective_gateway_id":{"type":"TypeString","computed":true},"gateway_id":{"type":"TypeString","optional":true},"gateway_name":{"type":"TypeString","optional":true},"ingress_application_gateway_identity":{"type":"TypeList","computed":true,"elem":{"schema":{"client_id":{"type":"TypeString","computed":true},"object_id":{"type":"TypeString","computed":true},"user_assigned_identity_id":{"type":"TypeString","computed":true}}}},"subnet_cidr":{"type":"TypeString","optional":true},"subnet_id":{"type":"TypeString","optional":true}}},"maxItems":1},"key_management_service":{"type":"TypeList","optional":true,"elem":{"schema":{"key_vault_key_id":{"type":"TypeString","required":true},"key_vault_network_access":{"type":"TypeString","optional":true,"default":"Public"}}},"maxItems":1},"key_vault_secrets_provider":{"type":"TypeList","optional":true,"elem":{"schema":{"secret_identity":{"type":"TypeList","computed":true,"elem":{"schema":{"client_id":{"type":"TypeString","computed":true},"object_id":{"type":"TypeString","computed":true},"user_assigned_identity_id":{"type":"TypeString","computed":true}}}},"secret_rotation_enabled":{"type":"TypeBool","optional":true,"default":false},"secret_rotation_interval":{"type":"TypeString","optional":true,"default":"2m"}}},"maxItems":1},"kube_admin_config":{"type":"TypeList","computed":true,"elem":{"schema":{"client_certificate":{"type":"TypeString","computed":true},"client_key":{"type":"TypeString","computed":true},"cluster_ca_certificate":{"type":"TypeString","computed":true},"host":{"type":"TypeString","computed":true},"password":{"type":"TypeString","computed":true},"username":{"type":"TypeString","computed":true}}}},"kube_admin_config_raw":{"type":"TypeString","computed":true},"kube_config":{"type":"TypeList","computed":true,"elem":{"schema":{"client_certificate":{"type":"TypeString","computed":true},"client_key":{"type":"TypeString","computed":true},"cluster_ca_certificate":{"type":"TypeString","computed":true},"host":{"type":"TypeString","computed":true},"password":{"type":"TypeString","computed":true},"username":{"type":"TypeString","computed":true}}}},"kube_config_raw":{"type":"TypeString","computed":true},"kubelet_identity":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"client_id":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"object_id":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"user_assigned_identity_id":{"type":"TypeString","optional":true,"computed":true,"forceNew":true}}},"maxItems":1},"kubernetes_version":{"type":"TypeString","optional":true,"computed":true},"linux_profile":{"type":"TypeList","optional":true,"elem":{"schema":{"admin_username":{"type":"TypeString","required":true,"forceNew":true},"ssh_key":{"type":"TypeList","required":true,"elem":{"schema":{"key_data":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1}}},"maxItems":1},"local_account_disabled":{"type":"TypeBool","optional":true},"location":{"type":"TypeString","required":true,"forceNew":true},"maintenance_window":{"type":"TypeList","optional":true,"elem":{"schema":{"allowed":{"type":"TypeSet","optional":true,"elem":{"schema":{"day":{"type":"TypeString","required":true},"hours":{"type":"TypeSet","required":true,"elem":{"type":"TypeInt"},"minItems":1}}}},"not_allowed":{"type":"TypeSet","optional":true,"elem":{"schema":{"end":{"type":"TypeString","required":true},"start":{"type":"TypeString","required":true}}}}}},"maxItems":1},"maintenance_window_auto_upgrade":{"type":"TypeList","optional":true,"elem":{"schema":{"day_of_month":{"type":"TypeInt","optional":true},"day_of_week":{"type":"TypeString","optional":true},"duration":{"type":"TypeInt","required":true},"frequency":{"type":"TypeString","required":true},"interval":{"type":"TypeInt","required":true},"not_allowed":{"type":"TypeSet","optional":true,"elem":{"schema":{"end":{"type":"TypeString","required":true},"start":{"type":"TypeString","required":true}}}},"start_date":{"type":"TypeString","optional":true,"computed":true},"start_time":{"type":"TypeString","optional":true},"utc_offset":{"type":"TypeString","optional":true},"week_index":{"type":"TypeString","optional":true}}},"maxItems":1},"maintenance_window_node_os":{"type":"TypeList","optional":true,"elem":{"schema":{"day_of_month":{"type":"TypeInt","optional":true},"day_of_week":{"type":"TypeString","optional":true},"duration":{"type":"TypeInt","required":true},"frequency":{"type":"TypeString","required":true},"interval":{"type":"TypeInt","required":true},"not_allowed":{"type":"TypeSet","optional":true,"elem":{"schema":{"end":{"type":"TypeString","required":true},"start":{"type":"TypeString","required":true}}}},"start_date":{"type":"TypeString","optional":true,"computed":true},"start_time":{"type":"TypeString","optional":true},"utc_offset":{"type":"TypeString","optional":true},"week_index":{"type":"TypeString","optional":true}}},"maxItems":1},"microsoft_defender":{"type":"TypeList","optional":true,"elem":{"schema":{"log_analytics_workspace_id":{"type":"TypeString","required":true}}},"maxItems":1},"monitor_metrics":{"type":"TypeList","optional":true,"elem":{"schema":{"annotations_allowed":{"type":"TypeString","optional":true},"labels_allowed":{"type":"TypeString","optional":true}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"network_profile":{"type":"TypeList","optional":true,"computed":true,"forceNew":true,"elem":{"schema":{"dns_service_ip":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"ip_versions":{"type":"TypeList","optional":true,"computed":true,"forceNew":true,"elem":{"type":"TypeString"}},"load_balancer_profile":{"type":"TypeList","optional":true,"computed":true,"forceNew":true,"elem":{"schema":{"effective_outbound_ips":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"idle_timeout_in_minutes":{"type":"TypeInt","optional":true,"default":30},"managed_outbound_ip_count":{"type":"TypeInt","optional":true,"computed":true},"managed_outbound_ipv6_count":{"type":"TypeInt","optional":true,"computed":true},"outbound_ip_address_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"outbound_ip_prefix_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"outbound_ports_allocated":{"type":"TypeInt","optional":true,"default":0}}},"maxItems":1},"load_balancer_sku":{"type":"TypeString","optional":true,"default":"standard","forceNew":true},"nat_gateway_profile":{"type":"TypeList","optional":true,"computed":true,"forceNew":true,"elem":{"schema":{"effective_outbound_ips":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"idle_timeout_in_minutes":{"type":"TypeInt","optional":true,"default":4},"managed_outbound_ip_count":{"type":"TypeInt","optional":true,"computed":true}}},"maxItems":1},"network_data_plane":{"type":"TypeString","optional":true,"default":"azure"},"network_mode":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"network_plugin":{"type":"TypeString","required":true,"forceNew":true},"network_plugin_mode":{"type":"TypeString","optional":true},"network_policy":{"type":"TypeString","optional":true,"computed":true},"outbound_type":{"type":"TypeString","optional":true,"default":"loadBalancer"},"pod_cidr":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"pod_cidrs":{"type":"TypeList","optional":true,"computed":true,"forceNew":true,"elem":{"type":"TypeString"}},"service_cidr":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"service_cidrs":{"type":"TypeList","optional":true,"computed":true,"forceNew":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"node_os_upgrade_channel":{"type":"TypeString","optional":true,"default":"NodeImage"},"node_resource_group":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"node_resource_group_id":{"type":"TypeString","computed":true},"oidc_issuer_enabled":{"type":"TypeBool","optional":true},"oidc_issuer_url":{"type":"TypeString","computed":true},"oms_agent":{"type":"TypeList","optional":true,"elem":{"schema":{"log_analytics_workspace_id":{"type":"TypeString","required":true},"msi_auth_for_monitoring_enabled":{"type":"TypeBool","optional":true},"oms_agent_identity":{"type":"TypeList","computed":true,"elem":{"schema":{"client_id":{"type":"TypeString","computed":true},"object_id":{"type":"TypeString","computed":true},"user_assigned_identity_id":{"type":"TypeString","computed":true}}}}}},"maxItems":1},"open_service_mesh_enabled":{"type":"TypeBool","optional":true},"portal_fqdn":{"type":"TypeString","computed":true},"private_cluster_enabled":{"type":"TypeBool","optional":true,"default":false,"forceNew":true},"private_cluster_public_fqdn_enabled":{"type":"TypeBool","optional":true,"default":false},"private_dns_zone_id":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"private_fqdn":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"role_based_access_control_enabled":{"type":"TypeBool","optional":true,"default":true,"forceNew":true},"run_command_enabled":{"type":"TypeBool","optional":true,"default":true},"service_mesh_profile":{"type":"TypeList","optional":true,"elem":{"schema":{"certificate_authority":{"type":"TypeList","optional":true,"elem":{"schema":{"cert_chain_object_name":{"type":"TypeString","required":true},"cert_object_name":{"type":"TypeString","required":true},"key_object_name":{"type":"TypeString","required":true},"key_vault_id":{"type":"TypeString","required":true},"root_cert_object_name":{"type":"TypeString","required":true}}},"maxItems":1},"external_ingress_gateway_enabled":{"type":"TypeBool","optional":true},"internal_ingress_gateway_enabled":{"type":"TypeBool","optional":true},"mode":{"type":"TypeString","required":true},"revisions":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"maxItems":2,"minItems":1}}},"maxItems":1},"service_principal":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","required":true},"client_secret":{"type":"TypeString","required":true}}},"maxItems":1},"sku_tier":{"type":"TypeString","optional":true,"default":"Free"},"storage_profile":{"type":"TypeList","optional":true,"elem":{"schema":{"blob_driver_enabled":{"type":"TypeBool","optional":true,"default":false},"disk_driver_enabled":{"type":"TypeBool","optional":true,"default":true},"file_driver_enabled":{"type":"TypeBool","optional":true,"default":true},"snapshot_controller_enabled":{"type":"TypeBool","optional":true,"default":true}}},"maxItems":1},"support_plan":{"type":"TypeString","optional":true,"default":"KubernetesOfficial"},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"web_app_routing":{"type":"TypeList","optional":true,"elem":{"schema":{"dns_zone_ids":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}},"web_app_routing_identity":{"type":"TypeList","computed":true,"elem":{"schema":{"client_id":{"type":"TypeString","computed":true},"object_id":{"type":"TypeString","computed":true},"user_assigned_identity_id":{"type":"TypeString","computed":true}}}}}},"maxItems":1},"windows_profile":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"admin_password":{"type":"TypeString","required":true},"admin_username":{"type":"TypeString","required":true,"forceNew":true},"gmsa":{"type":"TypeList","optional":true,"elem":{"schema":{"dns_server":{"type":"TypeString","required":true},"root_domain":{"type":"TypeString","required":true}}},"maxItems":1},"license":{"type":"TypeString","optional":true}}},"maxItems":1},"workload_autoscaler_profile":{"type":"TypeList","optional":true,"elem":{"schema":{"keda_enabled":{"type":"TypeBool","optional":true,"default":false},"vertical_pod_autoscaler_enabled":{"type":"TypeBool","optional":true,"default":false}}},"maxItems":1},"workload_identity_enabled":{"type":"TypeBool","optional":true,"default":false}},"timeouts":{"create":90,"read":5,"delete":90,"update":90}},"azurerm_kubernetes_cluster_extension":{"schema":{"aks_assigned_identity":{"type":"TypeList","computed":true,"elem":{"schema":{"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"cluster_id":{"type":"TypeString","required":true,"forceNew":true},"configuration_protected_settings":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"configuration_settings":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"current_version":{"type":"TypeString","computed":true},"extension_type":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"plan":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"name":{"type":"TypeString","required":true,"forceNew":true},"product":{"type":"TypeString","required":true,"forceNew":true},"promotion_code":{"type":"TypeString","optional":true,"forceNew":true},"publisher":{"type":"TypeString","required":true,"forceNew":true},"version":{"type":"TypeString","optional":true,"forceNew":true}}},"maxItems":1},"release_namespace":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"release_train":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"target_namespace":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"version":{"type":"TypeString","optional":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_kubernetes_cluster_node_pool":{"schema":{"auto_scaling_enabled":{"type":"TypeBool","optional":true},"capacity_reservation_group_id":{"type":"TypeString","optional":true,"forceNew":true},"eviction_policy":{"type":"TypeString","optional":true,"forceNew":true},"fips_enabled":{"type":"TypeBool","optional":true,"forceNew":true},"gpu_instance":{"type":"TypeString","optional":true,"forceNew":true},"host_encryption_enabled":{"type":"TypeBool","optional":true,"forceNew":true},"host_group_id":{"type":"TypeString","optional":true,"forceNew":true},"kubelet_config":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"allowed_unsafe_sysctls":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"container_log_max_line":{"type":"TypeInt","optional":true,"forceNew":true},"container_log_max_size_mb":{"type":"TypeInt","optional":true,"forceNew":true},"cpu_cfs_quota_enabled":{"type":"TypeBool","optional":true,"default":true,"forceNew":true},"cpu_cfs_quota_period":{"type":"TypeString","optional":true,"forceNew":true},"cpu_manager_policy":{"type":"TypeString","optional":true,"forceNew":true},"image_gc_high_threshold":{"type":"TypeInt","optional":true,"forceNew":true},"image_gc_low_threshold":{"type":"TypeInt","optional":true,"forceNew":true},"pod_max_pid":{"type":"TypeInt","optional":true,"forceNew":true},"topology_manager_policy":{"type":"TypeString","optional":true,"forceNew":true}}},"maxItems":1},"kubelet_disk_type":{"type":"TypeString","optional":true,"computed":true},"kubernetes_cluster_id":{"type":"TypeString","required":true,"forceNew":true},"linux_os_config":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"swap_file_size_mb":{"type":"TypeInt","optional":true,"forceNew":true},"sysctl_config":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"fs_aio_max_nr":{"type":"TypeInt","optional":true,"forceNew":true},"fs_file_max":{"type":"TypeInt","optional":true,"forceNew":true},"fs_inotify_max_user_watches":{"type":"TypeInt","optional":true,"forceNew":true},"fs_nr_open":{"type":"TypeInt","optional":true,"forceNew":true},"kernel_threads_max":{"type":"TypeInt","optional":true,"forceNew":true},"net_core_netdev_max_backlog":{"type":"TypeInt","optional":true,"forceNew":true},"net_core_optmem_max":{"type":"TypeInt","optional":true,"forceNew":true},"net_core_rmem_default":{"type":"TypeInt","optional":true,"forceNew":true},"net_core_rmem_max":{"type":"TypeInt","optional":true,"forceNew":true},"net_core_somaxconn":{"type":"TypeInt","optional":true,"forceNew":true},"net_core_wmem_default":{"type":"TypeInt","optional":true,"forceNew":true},"net_core_wmem_max":{"type":"TypeInt","optional":true,"forceNew":true},"net_ipv4_ip_local_port_range_max":{"type":"TypeInt","optional":true,"forceNew":true},"net_ipv4_ip_local_port_range_min":{"type":"TypeInt","optional":true,"forceNew":true},"net_ipv4_neigh_default_gc_thresh1":{"type":"TypeInt","optional":true,"forceNew":true},"net_ipv4_neigh_default_gc_thresh2":{"type":"TypeInt","optional":true,"forceNew":true},"net_ipv4_neigh_default_gc_thresh3":{"type":"TypeInt","optional":true,"forceNew":true},"net_ipv4_tcp_fin_timeout":{"type":"TypeInt","optional":true,"forceNew":true},"net_ipv4_tcp_keepalive_intvl":{"type":"TypeInt","optional":true,"forceNew":true},"net_ipv4_tcp_keepalive_probes":{"type":"TypeInt","optional":true,"forceNew":true},"net_ipv4_tcp_keepalive_time":{"type":"TypeInt","optional":true,"forceNew":true},"net_ipv4_tcp_max_syn_backlog":{"type":"TypeInt","optional":true,"forceNew":true},"net_ipv4_tcp_max_tw_buckets":{"type":"TypeInt","optional":true,"forceNew":true},"net_ipv4_tcp_tw_reuse":{"type":"TypeBool","optional":true,"forceNew":true},"net_netfilter_nf_conntrack_buckets":{"type":"TypeInt","optional":true,"forceNew":true},"net_netfilter_nf_conntrack_max":{"type":"TypeInt","optional":true,"forceNew":true},"vm_max_map_count":{"type":"TypeInt","optional":true,"forceNew":true},"vm_swappiness":{"type":"TypeInt","optional":true,"forceNew":true},"vm_vfs_cache_pressure":{"type":"TypeInt","optional":true,"forceNew":true}}},"maxItems":1},"transparent_huge_page_defrag":{"type":"TypeString","optional":true,"forceNew":true},"transparent_huge_page_enabled":{"type":"TypeString","optional":true,"forceNew":true}}},"maxItems":1},"max_count":{"type":"TypeInt","optional":true},"max_pods":{"type":"TypeInt","optional":true,"computed":true,"forceNew":true},"min_count":{"type":"TypeInt","optional":true},"mode":{"type":"TypeString","optional":true,"default":"User"},"name":{"type":"TypeString","required":true,"forceNew":true},"node_count":{"type":"TypeInt","optional":true,"computed":true},"node_labels":{"type":"TypeMap","optional":true,"computed":true,"elem":{"type":"TypeString"}},"node_network_profile":{"type":"TypeList","optional":true,"elem":{"schema":{"allowed_host_ports":{"type":"TypeList","optional":true,"elem":{"schema":{"port_end":{"type":"TypeInt","optional":true},"port_start":{"type":"TypeInt","optional":true},"protocol":{"type":"TypeString","optional":true}}}},"application_security_group_ids":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"node_public_ip_tags":{"type":"TypeMap","optional":true,"forceNew":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"node_public_ip_enabled":{"type":"TypeBool","optional":true,"forceNew":true},"node_public_ip_prefix_id":{"type":"TypeString","optional":true,"forceNew":true},"node_taints":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"orchestrator_version":{"type":"TypeString","optional":true,"computed":true},"os_disk_size_gb":{"type":"TypeInt","optional":true,"computed":true,"forceNew":true},"os_disk_type":{"type":"TypeString","optional":true,"default":"Managed","forceNew":true},"os_sku":{"type":"TypeString","optional":true,"computed":true},"os_type":{"type":"TypeString","optional":true,"default":"Linux","forceNew":true},"pod_subnet_id":{"type":"TypeString","optional":true,"forceNew":true},"priority":{"type":"TypeString","optional":true,"default":"Regular","forceNew":true},"proximity_placement_group_id":{"type":"TypeString","optional":true,"forceNew":true},"scale_down_mode":{"type":"TypeString","optional":true,"default":"Delete"},"snapshot_id":{"type":"TypeString","optional":true,"forceNew":true},"spot_max_price":{"type":"TypeFloat","optional":true,"default":-1,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"ultra_ssd_enabled":{"type":"TypeBool","optional":true,"default":false,"forceNew":true},"upgrade_settings":{"type":"TypeList","optional":true,"elem":{"schema":{"drain_timeout_in_minutes":{"type":"TypeInt","optional":true},"max_surge":{"type":"TypeString","required":true},"node_soak_duration_in_minutes":{"type":"TypeInt","optional":true}}},"maxItems":1},"vm_size":{"type":"TypeString","required":true,"forceNew":true},"vnet_subnet_id":{"type":"TypeString","optional":true,"forceNew":true},"windows_profile":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"outbound_nat_enabled":{"type":"TypeBool","optional":true,"default":true,"forceNew":true}}},"maxItems":1},"workload_runtime":{"type":"TypeString","optional":true},"zones":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":60,"read":5,"delete":60,"update":60}},"azurerm_kubernetes_cluster_trusted_access_role_binding":{"schema":{"kubernetes_cluster_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"roles":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}},"source_resource_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_kubernetes_fleet_manager":{"schema":{"hub_profile":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"dns_prefix":{"type":"TypeString","required":true},"fqdn":{"type":"TypeString","computed":true},"kubernetes_version":{"type":"TypeString","computed":true}}},"maxItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_kubernetes_fleet_member":{"schema":{"group":{"type":"TypeString","optional":true},"kubernetes_cluster_id":{"type":"TypeString","required":true,"forceNew":true},"kubernetes_fleet_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_kubernetes_fleet_update_run":{"schema":{"fleet_update_strategy_id":{"type":"TypeString","optional":true},"kubernetes_fleet_manager_id":{"type":"TypeString","required":true,"forceNew":true},"managed_cluster_update":{"type":"TypeList","required":true,"elem":{"schema":{"node_image_selection":{"type":"TypeList","optional":true,"elem":{"schema":{"type":{"type":"TypeString","required":true}}},"maxItems":1},"upgrade":{"type":"TypeList","required":true,"elem":{"schema":{"kubernetes_version":{"type":"TypeString","optional":true},"type":{"type":"TypeString","required":true}}},"maxItems":1}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"stage":{"type":"TypeList","optional":true,"elem":{"schema":{"after_stage_wait_in_seconds":{"type":"TypeInt","optional":true},"group":{"type":"TypeList","required":true,"elem":{"schema":{"name":{"type":"TypeString","required":true}}},"minItems":1},"name":{"type":"TypeString","required":true}}}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_kubernetes_fleet_update_strategy":{"schema":{"kubernetes_fleet_manager_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"stage":{"type":"TypeList","required":true,"elem":{"schema":{"after_stage_wait_in_seconds":{"type":"TypeInt","optional":true},"group":{"type":"TypeList","required":true,"elem":{"schema":{"name":{"type":"TypeString","required":true}}},"minItems":1},"name":{"type":"TypeString","required":true}}}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_kubernetes_flux_configuration":{"schema":{"blob_storage":{"type":"TypeList","optional":true,"elem":{"schema":{"account_key":{"type":"TypeString","optional":true},"container_id":{"type":"TypeString","required":true},"local_auth_reference":{"type":"TypeString","optional":true},"managed_identity":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","required":true}}},"maxItems":1},"sas_token":{"type":"TypeString","optional":true},"service_principal":{"type":"TypeList","optional":true,"elem":{"schema":{"client_certificate_base64":{"type":"TypeString","optional":true},"client_certificate_password":{"type":"TypeString","optional":true},"client_certificate_send_chain":{"type":"TypeBool","optional":true,"default":false},"client_id":{"type":"TypeString","required":true},"client_secret":{"type":"TypeString","optional":true},"tenant_id":{"type":"TypeString","required":true}}},"maxItems":1},"sync_interval_in_seconds":{"type":"TypeInt","optional":true,"default":600},"timeout_in_seconds":{"type":"TypeInt","optional":true,"default":600}}},"maxItems":1},"bucket":{"type":"TypeList","optional":true,"elem":{"schema":{"access_key":{"type":"TypeString","optional":true},"bucket_name":{"type":"TypeString","required":true},"local_auth_reference":{"type":"TypeString","optional":true},"secret_key_base64":{"type":"TypeString","optional":true},"sync_interval_in_seconds":{"type":"TypeInt","optional":true,"default":600},"timeout_in_seconds":{"type":"TypeInt","optional":true,"default":600},"tls_enabled":{"type":"TypeBool","optional":true,"default":true},"url":{"type":"TypeString","required":true}}},"maxItems":1},"cluster_id":{"type":"TypeString","required":true,"forceNew":true},"continuous_reconciliation_enabled":{"type":"TypeBool","optional":true,"default":true},"git_repository":{"type":"TypeList","optional":true,"elem":{"schema":{"https_ca_cert_base64":{"type":"TypeString","optional":true},"https_key_base64":{"type":"TypeString","optional":true},"https_user":{"type":"TypeString","optional":true},"local_auth_reference":{"type":"TypeString","optional":true},"reference_type":{"type":"TypeString","required":true},"reference_value":{"type":"TypeString","required":true},"ssh_known_hosts_base64":{"type":"TypeString","optional":true},"ssh_private_key_base64":{"type":"TypeString","optional":true},"sync_interval_in_seconds":{"type":"TypeInt","optional":true,"default":600},"timeout_in_seconds":{"type":"TypeInt","optional":true,"default":600},"url":{"type":"TypeString","required":true}}},"maxItems":1},"kustomizations":{"type":"TypeSet","required":true,"elem":{"schema":{"depends_on":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"garbage_collection_enabled":{"type":"TypeBool","optional":true,"default":false},"name":{"type":"TypeString","required":true},"path":{"type":"TypeString","optional":true},"recreating_enabled":{"type":"TypeBool","optional":true,"default":false},"retry_interval_in_seconds":{"type":"TypeInt","optional":true,"default":600},"sync_interval_in_seconds":{"type":"TypeInt","optional":true,"default":600},"timeout_in_seconds":{"type":"TypeInt","optional":true,"default":600}}},"minItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"namespace":{"type":"TypeString","required":true,"forceNew":true},"scope":{"type":"TypeString","optional":true,"default":"namespace","forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_kusto_attached_database_configuration":{"schema":{"attached_database_names":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"cluster_name":{"type":"TypeString","required":true,"forceNew":true},"cluster_resource_id":{"type":"TypeString","required":true,"forceNew":true},"database_name":{"type":"TypeString","required":true,"forceNew":true},"default_principal_modification_kind":{"type":"TypeString","optional":true,"default":"None"},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"sharing":{"type":"TypeList","optional":true,"elem":{"schema":{"external_tables_to_exclude":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"external_tables_to_include":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"materialized_views_to_exclude":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"materialized_views_to_include":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"tables_to_exclude":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"tables_to_include":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1}},"timeouts":{"create":60,"read":5,"delete":60,"update":60}},"azurerm_kusto_cluster":{"schema":{"allowed_fqdns":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"allowed_ip_ranges":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"auto_stop_enabled":{"type":"TypeBool","optional":true,"default":true},"data_ingestion_uri":{"type":"TypeString","computed":true},"disk_encryption_enabled":{"type":"TypeBool","optional":true,"default":false},"double_encryption_enabled":{"type":"TypeBool","optional":true,"forceNew":true},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"language_extensions":{"type":"TypeList","optional":true,"elem":{"schema":{"image":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true}}}},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"optimized_auto_scale":{"type":"TypeList","optional":true,"elem":{"schema":{"maximum_instances":{"type":"TypeInt","required":true},"minimum_instances":{"type":"TypeInt","required":true}}},"maxItems":1},"outbound_network_access_restricted":{"type":"TypeBool","optional":true,"default":false},"public_ip_type":{"type":"TypeString","optional":true,"default":"IPv4"},"public_network_access_enabled":{"type":"TypeBool","optional":true,"default":true},"purge_enabled":{"type":"TypeBool","optional":true,"default":false},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"sku":{"type":"TypeList","required":true,"elem":{"schema":{"capacity":{"type":"TypeInt","optional":true,"computed":true},"name":{"type":"TypeString","required":true}}},"maxItems":1},"streaming_ingestion_enabled":{"type":"TypeBool","optional":true,"default":false},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"trusted_external_tenants":{"type":"TypeList","configMode":"Auto","optional":true,"computed":true,"elem":{"type":"TypeString"}},"uri":{"type":"TypeString","computed":true},"virtual_network_configuration":{"type":"TypeList","optional":true,"elem":{"schema":{"data_management_public_ip_id":{"type":"TypeString","required":true,"forceNew":true},"engine_public_ip_id":{"type":"TypeString","required":true,"forceNew":true},"subnet_id":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"zones":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":60,"read":5,"delete":60,"update":60}},"azurerm_kusto_cluster_customer_managed_key":{"schema":{"cluster_id":{"type":"TypeString","required":true,"forceNew":true},"key_name":{"type":"TypeString","required":true},"key_vault_id":{"type":"TypeString","required":true},"key_version":{"type":"TypeString","optional":true},"user_identity":{"type":"TypeString","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_kusto_cluster_managed_private_endpoint":{"schema":{"cluster_name":{"type":"TypeString","required":true,"forceNew":true},"group_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"private_link_resource_id":{"type":"TypeString","required":true,"forceNew":true},"private_link_resource_region":{"type":"TypeString","optional":true,"forceNew":true},"request_message":{"type":"TypeString","optional":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":60,"read":5,"delete":60,"update":60}},"azurerm_kusto_cluster_principal_assignment":{"schema":{"cluster_name":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"principal_id":{"type":"TypeString","required":true,"forceNew":true},"principal_name":{"type":"TypeString","computed":true},"principal_type":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"role":{"type":"TypeString","required":true,"forceNew":true},"tenant_id":{"type":"TypeString","required":true,"forceNew":true},"tenant_name":{"type":"TypeString","computed":true}},"timeouts":{"create":60,"read":5,"delete":60}},"azurerm_kusto_cosmosdb_data_connection":{"schema":{"cosmosdb_container_id":{"type":"TypeString","required":true,"forceNew":true},"kusto_database_id":{"type":"TypeString","required":true,"forceNew":true},"location":{"type":"TypeString","required":true,"forceNew":true},"managed_identity_id":{"type":"TypeString","required":true,"forceNew":true},"mapping_rule_name":{"type":"TypeString","optional":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"retrieval_start_date":{"type":"TypeString","optional":true,"forceNew":true},"table_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_kusto_database":{"schema":{"cluster_name":{"type":"TypeString","required":true,"forceNew":true},"hot_cache_period":{"type":"TypeString","optional":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"size":{"type":"TypeFloat","computed":true},"soft_delete_period":{"type":"TypeString","optional":true}},"timeouts":{"create":60,"read":5,"delete":60,"update":60}},"azurerm_kusto_database_principal_assignment":{"schema":{"cluster_name":{"type":"TypeString","required":true,"forceNew":true},"database_name":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"principal_id":{"type":"TypeString","required":true,"forceNew":true},"principal_name":{"type":"TypeString","computed":true},"principal_type":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"role":{"type":"TypeString","required":true,"forceNew":true},"tenant_id":{"type":"TypeString","required":true,"forceNew":true},"tenant_name":{"type":"TypeString","computed":true}},"timeouts":{"create":60,"read":5,"delete":60}},"azurerm_kusto_eventgrid_data_connection":{"schema":{"blob_storage_event_type":{"type":"TypeString","optional":true,"default":"Microsoft.Storage.BlobCreated"},"cluster_name":{"type":"TypeString","required":true,"forceNew":true},"data_format":{"type":"TypeString","optional":true},"database_name":{"type":"TypeString","required":true,"forceNew":true},"database_routing_type":{"type":"TypeString","optional":true,"default":"Single","forceNew":true},"eventgrid_resource_id":{"type":"TypeString","optional":true},"eventhub_consumer_group_name":{"type":"TypeString","required":true,"forceNew":true},"eventhub_id":{"type":"TypeString","required":true,"forceNew":true},"location":{"type":"TypeString","required":true,"forceNew":true},"managed_identity_resource_id":{"type":"TypeString","optional":true},"mapping_rule_name":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"skip_first_record":{"type":"TypeBool","optional":true,"default":false},"storage_account_id":{"type":"TypeString","required":true,"forceNew":true},"table_name":{"type":"TypeString","optional":true}},"timeouts":{"create":60,"read":5,"delete":60,"update":60}},"azurerm_kusto_eventhub_data_connection":{"schema":{"cluster_name":{"type":"TypeString","required":true,"forceNew":true},"compression":{"type":"TypeString","optional":true,"default":"None","forceNew":true},"consumer_group":{"type":"TypeString","required":true,"forceNew":true},"data_format":{"type":"TypeString","optional":true},"database_name":{"type":"TypeString","required":true,"forceNew":true},"database_routing_type":{"type":"TypeString","optional":true,"default":"Single","forceNew":true},"event_system_properties":{"type":"TypeList","optional":true,"computed":true,"elem":{"type":"TypeString"}},"eventhub_id":{"type":"TypeString","required":true,"forceNew":true},"identity_id":{"type":"TypeString","optional":true},"location":{"type":"TypeString","required":true,"forceNew":true},"mapping_rule_name":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"table_name":{"type":"TypeString","optional":true}},"timeouts":{"create":60,"read":5,"delete":60,"update":60}},"azurerm_kusto_iothub_data_connection":{"schema":{"cluster_name":{"type":"TypeString","required":true,"forceNew":true},"consumer_group":{"type":"TypeString","required":true,"forceNew":true},"data_format":{"type":"TypeString","optional":true,"forceNew":true},"database_name":{"type":"TypeString","required":true,"forceNew":true},"database_routing_type":{"type":"TypeString","optional":true,"default":"Single","forceNew":true},"event_system_properties":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"iothub_id":{"type":"TypeString","required":true,"forceNew":true},"location":{"type":"TypeString","required":true,"forceNew":true},"mapping_rule_name":{"type":"TypeString","optional":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"shared_access_policy_name":{"type":"TypeString","required":true,"forceNew":true},"table_name":{"type":"TypeString","optional":true,"forceNew":true}},"timeouts":{"create":60,"read":5,"delete":60}},"azurerm_kusto_script":{"schema":{"continue_on_errors_enabled":{"type":"TypeBool","optional":true,"default":false},"database_id":{"type":"TypeString","required":true,"forceNew":true},"force_an_update_when_value_changed":{"type":"TypeString","optional":true,"computed":true},"name":{"type":"TypeString","required":true,"forceNew":true},"sas_token":{"type":"TypeString","optional":true,"forceNew":true},"script_content":{"type":"TypeString","optional":true,"forceNew":true},"url":{"type":"TypeString","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_lb":{"schema":{"edge_zone":{"type":"TypeString","optional":true,"forceNew":true},"frontend_ip_configuration":{"type":"TypeList","optional":true,"elem":{"schema":{"gateway_load_balancer_frontend_ip_configuration_id":{"type":"TypeString","optional":true,"computed":true},"id":{"type":"TypeString","computed":true},"inbound_nat_rules":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"load_balancer_rules":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true},"outbound_rules":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"private_ip_address":{"type":"TypeString","optional":true,"computed":true},"private_ip_address_allocation":{"type":"TypeString","optional":true,"computed":true},"private_ip_address_version":{"type":"TypeString","optional":true,"computed":true},"public_ip_address_id":{"type":"TypeString","optional":true,"computed":true},"public_ip_prefix_id":{"type":"TypeString","optional":true,"computed":true},"subnet_id":{"type":"TypeString","optional":true,"computed":true},"zones":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}}}},"minItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"private_ip_address":{"type":"TypeString","computed":true},"private_ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"sku":{"type":"TypeString","optional":true,"default":"Standard","forceNew":true},"sku_tier":{"type":"TypeString","optional":true,"default":"Regional","forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_lb_backend_address_pool":{"schema":{"backend_ip_configurations":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"inbound_nat_rules":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"load_balancing_rules":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"loadbalancer_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"outbound_rules":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"synchronous_mode":{"type":"TypeString","optional":true,"forceNew":true},"tunnel_interface":{"type":"TypeList","optional":true,"elem":{"schema":{"identifier":{"type":"TypeInt","required":true},"port":{"type":"TypeInt","required":true},"protocol":{"type":"TypeString","required":true},"type":{"type":"TypeString","required":true}}},"minItems":1},"virtual_network_id":{"type":"TypeString","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_lb_backend_address_pool_address":{"schema":{"backend_address_ip_configuration_id":{"type":"TypeString","optional":true,"description":"For global load balancer, user needs to specify the `backend_address_ip_configuration_id` of the added regional load balancers"},"backend_address_pool_id":{"type":"TypeString","required":true,"forceNew":true},"inbound_nat_rule_port_mapping":{"type":"TypeList","computed":true,"elem":{"schema":{"backend_port":{"type":"TypeInt","computed":true},"frontend_port":{"type":"TypeInt","computed":true},"inbound_nat_rule_name":{"type":"TypeString","computed":true}}}},"ip_address":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"virtual_network_id":{"type":"TypeString","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_lb_nat_pool":{"schema":{"backend_port":{"type":"TypeInt","required":true},"floating_ip_enabled":{"type":"TypeBool","optional":true},"frontend_ip_configuration_id":{"type":"TypeString","computed":true},"frontend_ip_configuration_name":{"type":"TypeString","required":true},"frontend_port_end":{"type":"TypeInt","required":true},"frontend_port_start":{"type":"TypeInt","required":true},"idle_timeout_in_minutes":{"type":"TypeInt","optional":true,"default":4},"loadbalancer_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"protocol":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tcp_reset_enabled":{"type":"TypeBool","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_lb_nat_rule":{"schema":{"backend_address_pool_id":{"type":"TypeString","optional":true},"backend_ip_configuration_id":{"type":"TypeString","computed":true},"backend_port":{"type":"TypeInt","required":true},"enable_floating_ip":{"type":"TypeBool","optional":true,"computed":true},"enable_tcp_reset":{"type":"TypeBool","optional":true},"frontend_ip_configuration_id":{"type":"TypeString","computed":true},"frontend_ip_configuration_name":{"type":"TypeString","required":true},"frontend_port":{"type":"TypeInt","optional":true},"frontend_port_end":{"type":"TypeInt","optional":true},"frontend_port_start":{"type":"TypeInt","optional":true},"idle_timeout_in_minutes":{"type":"TypeInt","optional":true,"default":4},"loadbalancer_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"protocol":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_lb_outbound_rule":{"schema":{"allocated_outbound_ports":{"type":"TypeInt","optional":true,"default":1024},"backend_address_pool_id":{"type":"TypeString","required":true},"enable_tcp_reset":{"type":"TypeBool","optional":true,"default":false},"frontend_ip_configuration":{"type":"TypeList","optional":true,"elem":{"schema":{"id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true}}},"minItems":1},"idle_timeout_in_minutes":{"type":"TypeInt","optional":true,"default":4},"loadbalancer_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"protocol":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_lb_probe":{"schema":{"interval_in_seconds":{"type":"TypeInt","optional":true,"default":15},"load_balancer_rules":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"loadbalancer_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"number_of_probes":{"type":"TypeInt","optional":true,"default":2},"port":{"type":"TypeInt","required":true},"probe_threshold":{"type":"TypeInt","optional":true,"default":1},"protocol":{"type":"TypeString","optional":true,"default":"Tcp"},"request_path":{"type":"TypeString","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_lb_rule":{"schema":{"backend_address_pool_ids":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"maxItems":2,"minItems":1},"backend_port":{"type":"TypeInt","required":true},"disable_outbound_snat":{"type":"TypeBool","optional":true,"default":false},"enable_floating_ip":{"type":"TypeBool","optional":true,"default":false},"enable_tcp_reset":{"type":"TypeBool","optional":true},"frontend_ip_configuration_id":{"type":"TypeString","computed":true},"frontend_ip_configuration_name":{"type":"TypeString","required":true},"frontend_port":{"type":"TypeInt","required":true},"idle_timeout_in_minutes":{"type":"TypeInt","optional":true,"default":4},"load_distribution":{"type":"TypeString","optional":true,"default":"Default"},"loadbalancer_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"probe_id":{"type":"TypeString","optional":true},"protocol":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_lighthouse_assignment":{"schema":{"lighthouse_definition_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"scope":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_lighthouse_definition":{"schema":{"authorization":{"type":"TypeSet","required":true,"elem":{"schema":{"delegated_role_definition_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_display_name":{"type":"TypeString","optional":true},"principal_id":{"type":"TypeString","required":true},"role_definition_id":{"type":"TypeString","required":true}}},"minItems":1},"description":{"type":"TypeString","optional":true},"eligible_authorization":{"type":"TypeSet","optional":true,"elem":{"schema":{"just_in_time_access_policy":{"type":"TypeList","optional":true,"elem":{"schema":{"approver":{"type":"TypeSet","optional":true,"elem":{"schema":{"principal_display_name":{"type":"TypeString","optional":true},"principal_id":{"type":"TypeString","required":true}}}},"maximum_activation_duration":{"type":"TypeString","optional":true,"default":"PT8H"},"multi_factor_auth_provider":{"type":"TypeString","optional":true}}},"maxItems":1},"principal_display_name":{"type":"TypeString","optional":true},"principal_id":{"type":"TypeString","required":true},"role_definition_id":{"type":"TypeString","required":true}}}},"lighthouse_definition_id":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"managing_tenant_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"plan":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"product":{"type":"TypeString","required":true},"publisher":{"type":"TypeString","required":true},"version":{"type":"TypeString","required":true}}},"maxItems":1},"scope":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_linux_function_app":{"schema":{"app_settings":{"type":"TypeMap","optional":true,"description":"A map of key-value pairs for [App Settings](https://docs.microsoft.com/en-us/azure/azure-functions/functions-app-settings) and custom values.","elem":{"type":"TypeString"}},"auth_settings":{"type":"TypeList","optional":true,"elem":{"schema":{"active_directory":{"type":"TypeList","optional":true,"elem":{"schema":{"allowed_audiences":{"type":"TypeList","optional":true,"description":"Specifies a list of Allowed audience values to consider when validating JWTs issued by Azure Active Directory.","elem":{"type":"TypeString"}},"client_id":{"type":"TypeString","required":true,"description":"The ID of the Client to use to authenticate with Azure Active Directory."},"client_secret":{"type":"TypeString","optional":true,"description":"The Client Secret for the Client ID. Cannot be used with `client_secret_setting_name`."},"client_secret_setting_name":{"type":"TypeString","optional":true,"description":"The App Setting name that contains the client secret of the Client. Cannot be used with `client_secret`."}}},"maxItems":1},"additional_login_parameters":{"type":"TypeMap","optional":true,"description":"Specifies a map of Login Parameters to send to the OpenID Connect authorization endpoint when a user logs in.","elem":{"type":"TypeString"}},"allowed_external_redirect_urls":{"type":"TypeList","optional":true,"description":"Specifies a list of External URLs that can be redirected to as part of logging in or logging out of the Windows Web App.","computed":true,"elem":{"type":"TypeString"}},"default_provider":{"type":"TypeString","optional":true,"description":"The default authentication provider to use when multiple providers are configured. Possible values include: `AzureActiveDirectory`, `Facebook`, `Google`, `MicrosoftAccount`, `Twitter`, `Github`.","computed":true},"enabled":{"type":"TypeBool","required":true,"description":"Should the Authentication / Authorization feature be enabled?"},"facebook":{"type":"TypeList","optional":true,"elem":{"schema":{"app_id":{"type":"TypeString","required":true,"description":"The App ID of the Facebook app used for login."},"app_secret":{"type":"TypeString","optional":true,"description":"The App Secret of the Facebook app used for Facebook Login. Cannot be specified with `app_secret_setting_name`."},"app_secret_setting_name":{"type":"TypeString","optional":true,"description":"The app setting name that contains the `app_secret` value used for Facebook Login. Cannot be specified with `app_secret`."},"oauth_scopes":{"type":"TypeList","optional":true,"description":"Specifies a list of OAuth 2.0 scopes to be requested as part of Facebook Login authentication.","elem":{"type":"TypeString"}}}},"maxItems":1},"github":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","required":true,"description":"The ID of the GitHub app used for login."},"client_secret":{"type":"TypeString","optional":true,"description":"The Client Secret of the GitHub app used for GitHub Login. Cannot be specified with `client_secret_setting_name`."},"client_secret_setting_name":{"type":"TypeString","optional":true,"description":"The app setting name that contains the `client_secret` value used for GitHub Login. Cannot be specified with `client_secret`."},"oauth_scopes":{"type":"TypeList","optional":true,"description":"Specifies a list of OAuth 2.0 scopes that will be requested as part of GitHub Login authentication.","elem":{"type":"TypeString"}}}},"maxItems":1},"google":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","required":true,"description":"The OpenID Connect Client ID for the Google web application."},"client_secret":{"type":"TypeString","optional":true,"description":"The client secret associated with the Google web application. Cannot be specified with `client_secret_setting_name`."},"client_secret_setting_name":{"type":"TypeString","optional":true,"description":"The app setting name that contains the `client_secret` value used for Google Login. Cannot be specified with `client_secret`."},"oauth_scopes":{"type":"TypeList","optional":true,"description":"Specifies a list of OAuth 2.0 scopes that will be requested as part of Google Sign-In authentication. If not specified, \"openid\", \"profile\", and \"email\" are used as default scopes.","elem":{"type":"TypeString"}}}},"maxItems":1},"issuer":{"type":"TypeString","optional":true,"description":"The OpenID Connect Issuer URI that represents the entity which issues access tokens."},"microsoft":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","required":true,"description":"The OAuth 2.0 client ID that was created for the app used for authentication."},"client_secret":{"type":"TypeString","optional":true,"description":"The OAuth 2.0 client secret that was created for the app used for authentication. Cannot be specified with `client_secret_setting_name`."},"client_secret_setting_name":{"type":"TypeString","optional":true,"description":"The app setting name containing the OAuth 2.0 client secret that was created for the app used for authentication. Cannot be specified with `client_secret`."},"oauth_scopes":{"type":"TypeList","optional":true,"description":"The list of OAuth 2.0 scopes that will be requested as part of Microsoft Account authentication. If not specified, `wl.basic` is used as the default scope.","elem":{"type":"TypeString"}}}},"maxItems":1},"runtime_version":{"type":"TypeString","optional":true,"description":"The RuntimeVersion of the Authentication / Authorization feature in use.","computed":true},"token_refresh_extension_hours":{"type":"TypeFloat","optional":true,"default":72,"description":"The number of hours after session token expiration that a session token can be used to call the token refresh API. Defaults to `72` hours."},"token_store_enabled":{"type":"TypeBool","optional":true,"default":false,"description":"Should the Windows Web App durably store platform-specific security tokens that are obtained during login flows? Defaults to `false`."},"twitter":{"type":"TypeList","optional":true,"elem":{"schema":{"consumer_key":{"type":"TypeString","required":true,"description":"The OAuth 1.0a consumer key of the Twitter application used for sign-in."},"consumer_secret":{"type":"TypeString","optional":true,"description":"The OAuth 1.0a consumer secret of the Twitter application used for sign-in. Cannot be specified with `consumer_secret_setting_name`."},"consumer_secret_setting_name":{"type":"TypeString","optional":true,"description":"The app setting name that contains the OAuth 1.0a consumer secret of the Twitter application used for sign-in. Cannot be specified with `consumer_secret`."}}},"maxItems":1},"unauthenticated_client_action":{"type":"TypeString","optional":true,"description":"The action to take when an unauthenticated client attempts to access the app. Possible values include: `RedirectToLoginPage`, `AllowAnonymous`.","computed":true}}},"maxItems":1},"auth_settings_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"active_directory_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"allowed_applications":{"type":"TypeList","optional":true,"description":"The list of allowed Applications for the Default Authorisation Policy.","elem":{"type":"TypeString"}},"allowed_audiences":{"type":"TypeList","optional":true,"description":"Specifies a list of Allowed audience values to consider when validating JWTs issued by Azure Active Directory.","elem":{"type":"TypeString"}},"allowed_groups":{"type":"TypeList","optional":true,"description":"The list of allowed Group Names for the Default Authorisation Policy.","elem":{"type":"TypeString"}},"allowed_identities":{"type":"TypeList","optional":true,"description":"The list of allowed Identities for the Default Authorisation Policy.","elem":{"type":"TypeString"}},"client_id":{"type":"TypeString","required":true,"description":"The ID of the Client to use to authenticate with Azure Active Directory."},"client_secret_certificate_thumbprint":{"type":"TypeString","optional":true,"description":"The thumbprint of the certificate used for signing purposes."},"client_secret_setting_name":{"type":"TypeString","optional":true,"description":"The App Setting name that contains the client secret of the Client."},"jwt_allowed_client_applications":{"type":"TypeList","optional":true,"description":"A list of Allowed Client Applications in the JWT Claim.","elem":{"type":"TypeString"}},"jwt_allowed_groups":{"type":"TypeList","optional":true,"description":"A list of Allowed Groups in the JWT Claim.","elem":{"type":"TypeString"}},"login_parameters":{"type":"TypeMap","optional":true,"description":"A map of key-value pairs to send to the Authorisation Endpoint when a user logs in.","elem":{"type":"TypeString"}},"tenant_auth_endpoint":{"type":"TypeString","required":true,"description":"The Azure Tenant Endpoint for the Authenticating Tenant. e.g. `https://login.microsoftonline.com/v2.0/{tenant-guid}/`."},"www_authentication_disabled":{"type":"TypeBool","optional":true,"description":"Should the www-authenticate provider should be omitted from the request? Defaults to `false`"}}},"maxItems":1},"apple_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","required":true,"description":"The OpenID Connect Client ID for the Apple web application."},"client_secret_setting_name":{"type":"TypeString","required":true,"description":"The app setting name that contains the `client_secret` value used for Apple Login."},"login_scopes":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"auth_enabled":{"type":"TypeBool","optional":true,"description":"Should the AuthV2 Settings be enabled. Defaults to `false`"},"azure_static_web_app_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","required":true,"description":"The ID of the Client to use to authenticate with Azure Static Web App Authentication."}}},"maxItems":1},"config_file_path":{"type":"TypeString","optional":true,"description":"The path to the App Auth settings. **Note:** Relative Paths are evaluated from the Site Root directory."},"custom_oidc_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"authorisation_endpoint":{"type":"TypeString","description":"The endpoint to make the Authorisation Request.","computed":true},"certification_uri":{"type":"TypeString","description":"The endpoint that provides the keys necessary to validate the token.","computed":true},"client_credential_method":{"type":"TypeString","description":"The Client Credential Method used. Currently the only supported value is `ClientSecretPost`.","computed":true},"client_id":{"type":"TypeString","required":true,"description":"The ID of the Client to use to authenticate with this Custom OIDC."},"client_secret_setting_name":{"type":"TypeString","description":"The App Setting name that contains the secret for this Custom OIDC Client.","computed":true},"issuer_endpoint":{"type":"TypeString","description":"The endpoint that issued the Token.","computed":true},"name":{"type":"TypeString","required":true,"description":"The name of the Custom OIDC Authentication Provider."},"name_claim_type":{"type":"TypeString","optional":true,"description":"The name of the claim that contains the users name."},"openid_configuration_endpoint":{"type":"TypeString","required":true,"description":"The endpoint that contains all the configuration endpoints for this Custom OIDC provider."},"scopes":{"type":"TypeList","optional":true,"description":"The list of the scopes that should be requested while authenticating.","elem":{"type":"TypeString"}},"token_endpoint":{"type":"TypeString","description":"The endpoint used to request a Token.","computed":true}}}},"default_provider":{"type":"TypeString","optional":true,"description":"The Default Authentication Provider to use when the `unauthenticated_action` is set to `RedirectToLoginPage`. Possible values include: `apple`, `azureactivedirectory`, `facebook`, `github`, `google`, `twitter` and the `name` of your `custom_oidc_v2` provider."},"excluded_paths":{"type":"TypeList","optional":true,"description":"The paths which should be excluded from the `unauthenticated_action` when it is set to `RedirectToLoginPage`.","elem":{"type":"TypeString"}},"facebook_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"app_id":{"type":"TypeString","required":true,"description":"The App ID of the Facebook app used for login."},"app_secret_setting_name":{"type":"TypeString","required":true,"description":"The app setting name that contains the `app_secret` value used for Facebook Login."},"graph_api_version":{"type":"TypeString","optional":true,"description":"The version of the Facebook API to be used while logging in.","computed":true},"login_scopes":{"type":"TypeList","optional":true,"description":"Specifies a list of scopes to be requested as part of Facebook Login authentication.","elem":{"type":"TypeString"}}}},"maxItems":1},"forward_proxy_convention":{"type":"TypeString","optional":true,"default":"NoProxy","description":"The convention used to determine the url of the request made. Possible values include `ForwardProxyConventionNoProxy`, `ForwardProxyConventionStandard`, `ForwardProxyConventionCustom`. Defaults to `ForwardProxyConventionNoProxy`"},"forward_proxy_custom_host_header_name":{"type":"TypeString","optional":true,"description":"The name of the header containing the host of the request."},"forward_proxy_custom_scheme_header_name":{"type":"TypeString","optional":true,"description":"The name of the header containing the scheme of the request."},"github_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","required":true,"description":"The ID of the GitHub app used for login."},"client_secret_setting_name":{"type":"TypeString","required":true,"description":"The app setting name that contains the `client_secret` value used for GitHub Login."},"login_scopes":{"type":"TypeList","optional":true,"description":"Specifies a list of OAuth 2.0 scopes that will be requested as part of GitHub Login authentication.","elem":{"type":"TypeString"}}}},"maxItems":1},"google_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"allowed_audiences":{"type":"TypeList","optional":true,"description":"Specifies a list of Allowed Audiences that will be requested as part of Google Sign-In authentication.","elem":{"type":"TypeString"}},"client_id":{"type":"TypeString","required":true,"description":"The OpenID Connect Client ID for the Google web application."},"client_secret_setting_name":{"type":"TypeString","required":true,"description":"The app setting name that contains the `client_secret` value used for Google Login."},"login_scopes":{"type":"TypeList","optional":true,"description":"Specifies a list of Login scopes that will be requested as part of Google Sign-In authentication.","elem":{"type":"TypeString"}}}},"maxItems":1},"http_route_api_prefix":{"type":"TypeString","optional":true,"default":"/.auth","description":"The prefix that should precede all the authentication and authorisation paths. Defaults to `/.auth`"},"login":{"type":"TypeList","required":true,"elem":{"schema":{"allowed_external_redirect_urls":{"type":"TypeList","optional":true,"description":"External URLs that can be redirected to as part of logging in or logging out of the app. This is an advanced setting typically only needed by Windows Store application backends. **Note:** URLs within the current domain are always implicitly allowed.","elem":{"type":"TypeString"}},"cookie_expiration_convention":{"type":"TypeString","optional":true,"default":"FixedTime","description":"The method by which cookies expire. Possible values include: `FixedTime`, and `IdentityProviderDerived`. Defaults to `FixedTime`."},"cookie_expiration_time":{"type":"TypeString","optional":true,"default":"08:00:00","description":"The time after the request is made when the session cookie should expire. Defaults to `08:00:00`."},"logout_endpoint":{"type":"TypeString","optional":true,"description":"The endpoint to which logout requests should be made."},"nonce_expiration_time":{"type":"TypeString","optional":true,"default":"00:05:00","description":"The time after the request is made when the nonce should expire. Defaults to `00:05:00`."},"preserve_url_fragments_for_logins":{"type":"TypeBool","optional":true,"default":false,"description":"Should the fragments from the request be preserved after the login request is made. Defaults to `false`."},"token_refresh_extension_time":{"type":"TypeFloat","optional":true,"default":72,"description":"The number of hours after session token expiration that a session token can be used to call the token refresh API. Defaults to `72` hours."},"token_store_enabled":{"type":"TypeBool","optional":true,"default":false,"description":"Should the Token Store configuration Enabled. Defaults to `false`"},"token_store_path":{"type":"TypeString","optional":true,"description":"The directory path in the App Filesystem in which the tokens will be stored."},"token_store_sas_setting_name":{"type":"TypeString","optional":true,"description":"The name of the app setting which contains the SAS URL of the blob storage containing the tokens."},"validate_nonce":{"type":"TypeBool","optional":true,"default":true,"description":"Should the nonce be validated while completing the login flow. Defaults to `true`."}}},"maxItems":1},"microsoft_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"allowed_audiences":{"type":"TypeList","optional":true,"description":"Specifies a list of Allowed Audiences that will be requested as part of Microsoft Sign-In authentication.","elem":{"type":"TypeString"}},"client_id":{"type":"TypeString","required":true,"description":"The OAuth 2.0 client ID that was created for the app used for authentication."},"client_secret_setting_name":{"type":"TypeString","required":true,"description":"The app setting name containing the OAuth 2.0 client secret that was created for the app used for authentication."},"login_scopes":{"type":"TypeList","optional":true,"description":"The list of Login scopes that will be requested as part of Microsoft Account authentication.","elem":{"type":"TypeString"}}}},"maxItems":1},"require_authentication":{"type":"TypeBool","optional":true,"description":"Should the authentication flow be used for all requests."},"require_https":{"type":"TypeBool","optional":true,"default":true,"description":"Should HTTPS be required on connections? Defaults to true."},"runtime_version":{"type":"TypeString","optional":true,"default":"~1","description":"The Runtime Version of the Authentication and Authorisation feature of this App. Defaults to `~1`"},"twitter_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"consumer_key":{"type":"TypeString","required":true,"description":"The OAuth 1.0a consumer key of the Twitter application used for sign-in."},"consumer_secret_setting_name":{"type":"TypeString","required":true,"description":"The app setting name that contains the OAuth 1.0a consumer secret of the Twitter application used for sign-in."}}},"maxItems":1},"unauthenticated_action":{"type":"TypeString","optional":true,"default":"RedirectToLoginPage","description":"The action to take for requests made without authentication. Possible values include `RedirectToLoginPage`, `AllowAnonymous`, `Return401`, and `Return403`. Defaults to `RedirectToLoginPage`."}}},"maxItems":1},"backup":{"type":"TypeList","optional":true,"elem":{"schema":{"enabled":{"type":"TypeBool","optional":true,"default":true,"description":"Should this backup job be enabled?"},"name":{"type":"TypeString","required":true,"description":"The name which should be used for this Backup."},"schedule":{"type":"TypeList","required":true,"elem":{"schema":{"frequency_interval":{"type":"TypeInt","required":true,"description":"How often the backup should be executed (e.g. for weekly backup, this should be set to `7` and `frequency_unit` should be set to `Day`)."},"frequency_unit":{"type":"TypeString","required":true,"description":"The unit of time for how often the backup should take place. Possible values include: `Day` and `Hour`."},"keep_at_least_one_backup":{"type":"TypeBool","optional":true,"default":false,"description":"Should the service keep at least one backup, regardless of age of backup. Defaults to `false`."},"last_execution_time":{"type":"TypeString","description":"The time the backup was last attempted.","computed":true},"retention_period_days":{"type":"TypeInt","optional":true,"default":30,"description":"After how many days backups should be deleted."},"start_time":{"type":"TypeString","optional":true,"description":"When the schedule should start working in RFC-3339 format.","computed":true}}},"maxItems":1},"storage_account_url":{"type":"TypeString","required":true,"description":"The SAS URL to the container."}}},"maxItems":1},"builtin_logging_enabled":{"type":"TypeBool","optional":true,"default":true,"description":"Should built in logging be enabled. Configures `AzureWebJobsDashboard` app setting based on the configured storage setting"},"client_certificate_enabled":{"type":"TypeBool","optional":true,"default":false,"description":"Should the function app use Client Certificates"},"client_certificate_exclusion_paths":{"type":"TypeString","optional":true,"description":"Paths to exclude when using client certificates, separated by ;"},"client_certificate_mode":{"type":"TypeString","optional":true,"default":"Optional","description":"The mode of the Function App's client certificates requirement for incoming requests. Possible values are `Required`, `Optional`, and `OptionalInteractiveUser` "},"connection_string":{"type":"TypeSet","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true,"description":"The name which should be used for this Connection."},"type":{"type":"TypeString","required":true,"description":"Type of database. Possible values include: `MySQL`, `SQLServer`, `SQLAzure`, `Custom`, `NotificationHub`, `ServiceBus`, `EventHub`, `APIHub`, `DocDb`, `RedisCache`, and `PostgreSQL`."},"value":{"type":"TypeString","required":true,"description":"The connection string value."}}}},"content_share_force_disabled":{"type":"TypeBool","optional":true,"default":false,"description":"Force disable the content share settings."},"custom_domain_verification_id":{"type":"TypeString","computed":true},"daily_memory_time_quota":{"type":"TypeInt","optional":true,"default":0,"description":"The amount of memory in gigabyte-seconds that your application is allowed to consume per day. Setting this value only affects function apps in Consumption Plans."},"default_hostname":{"type":"TypeString","computed":true},"enabled":{"type":"TypeBool","optional":true,"default":true,"description":"Is the Linux Function App enabled."},"ftp_publish_basic_authentication_enabled":{"type":"TypeBool","optional":true,"default":true},"functions_extension_version":{"type":"TypeString","optional":true,"default":"~4","description":"The runtime version associated with the Function App."},"hosting_environment_id":{"type":"TypeString","computed":true},"https_only":{"type":"TypeBool","optional":true,"default":false,"description":"Can the Function App only be accessed via HTTPS?"},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"key_vault_reference_identity_id":{"type":"TypeString","optional":true,"description":"The User Assigned Identity to use for Key Vault access.","computed":true},"kind":{"type":"TypeString","computed":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"description":"Specifies the name of the Function App.","forceNew":true},"outbound_ip_address_list":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"outbound_ip_addresses":{"type":"TypeString","computed":true},"possible_outbound_ip_address_list":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"possible_outbound_ip_addresses":{"type":"TypeString","computed":true},"public_network_access_enabled":{"type":"TypeBool","optional":true,"default":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"service_plan_id":{"type":"TypeString","required":true,"description":"The ID of the App Service Plan within which to create this Function App"},"site_config":{"type":"TypeList","required":true,"elem":{"schema":{"always_on":{"type":"TypeBool","optional":true,"description":"If this Linux Web App is Always On enabled. Defaults to `false`.","computed":true},"api_definition_url":{"type":"TypeString","optional":true,"description":"The URL of the API definition that describes this Linux Function App."},"api_management_api_id":{"type":"TypeString","optional":true,"description":"The ID of the API Management API for this Linux Function App."},"app_command_line":{"type":"TypeString","optional":true,"description":"The program and any arguments used to launch this app via the command line. (Example `node myapp.js`)."},"app_scale_limit":{"type":"TypeInt","optional":true,"description":"The number of workers this function app can scale out to. Only applicable to apps on the Consumption and Premium plan.","computed":true},"app_service_logs":{"type":"TypeList","optional":true,"elem":{"schema":{"disk_quota_mb":{"type":"TypeInt","optional":true,"default":35,"description":"The amount of disk space to use for logs. Valid values are between `25` and `100`."},"retention_period_days":{"type":"TypeInt","optional":true,"description":"The retention period for logs in days. Valid values are between `0` and `99999`. Defaults to `0` (never delete)."}}},"maxItems":1},"application_insights_connection_string":{"type":"TypeString","optional":true,"description":"The Connection String for linking the Linux Function App to Application Insights."},"application_insights_key":{"type":"TypeString","optional":true,"description":"The Instrumentation Key for connecting the Linux Function App to Application Insights."},"application_stack":{"type":"TypeList","optional":true,"elem":{"schema":{"docker":{"type":"TypeList","optional":true,"description":"A docker block","elem":{"schema":{"image_name":{"type":"TypeString","required":true,"description":"The name of the Docker image to use."},"image_tag":{"type":"TypeString","required":true,"description":"The image tag of the image to use."},"registry_password":{"type":"TypeString","optional":true,"description":"The password for the account to use to connect to the registry."},"registry_url":{"type":"TypeString","required":true,"description":"The URL of the docker registry."},"registry_username":{"type":"TypeString","optional":true,"description":"The username to use for connections to the registry."}}}},"dotnet_version":{"type":"TypeString","optional":true,"description":"The version of .Net. Possible values are `3.1`, `6.0` and `7.0`"},"java_version":{"type":"TypeString","optional":true,"description":"The version of Java to use. Possible values are `8`, `11`, and `17`"},"node_version":{"type":"TypeString","optional":true,"description":"The version of Node to use. Possible values include `12`, `14`, `16`, `18` and `20`"},"powershell_core_version":{"type":"TypeString","optional":true,"description":"The version of PowerShell Core to use. Possibles values are `7`, `7.2`, and `7.4`"},"python_version":{"type":"TypeString","optional":true,"description":"The version of Python to use. Possible values include `3.12`, `3.11`, `3.10`, `3.9`, `3.8`, and `3.7`."},"use_custom_runtime":{"type":"TypeBool","optional":true},"use_dotnet_isolated_runtime":{"type":"TypeBool","optional":true,"default":false,"description":"Should the DotNet process use an isolated runtime. Defaults to `false`."}}},"maxItems":1},"container_registry_managed_identity_client_id":{"type":"TypeString","optional":true,"description":"The Client ID of the Managed Service Identity to use for connections to the Azure Container Registry."},"container_registry_use_managed_identity":{"type":"TypeBool","optional":true,"default":false,"description":"Should connections for Azure Container Registry use Managed Identity."},"cors":{"type":"TypeList","optional":true,"elem":{"schema":{"allowed_origins":{"type":"TypeSet","optional":true,"description":"Specifies a list of origins that should be allowed to make cross-origin calls.","elem":{"type":"TypeString"},"minItems":1},"support_credentials":{"type":"TypeBool","optional":true,"default":false,"description":"Are credentials allowed in CORS requests? Defaults to `false`."}}},"maxItems":1},"default_documents":{"type":"TypeList","optional":true,"description":"Specifies a list of Default Documents for the Linux Web App.","computed":true,"elem":{"type":"TypeString"}},"detailed_error_logging_enabled":{"type":"TypeBool","description":"Is detailed error logging enabled","computed":true},"elastic_instance_minimum":{"type":"TypeInt","optional":true,"description":"The number of minimum instances for this Linux Function App. Only affects apps on Elastic Premium plans.","computed":true},"ftps_state":{"type":"TypeString","optional":true,"default":"Disabled","description":"State of FTP / FTPS service for this function app. Possible values include: `AllAllowed`, `FtpsOnly` and `Disabled`. Defaults to `Disabled`."},"health_check_eviction_time_in_min":{"type":"TypeInt","optional":true,"description":"The amount of time in minutes that a node is unhealthy before being removed from the load balancer. Possible values are between `2` and `10`. Only valid in conjunction with `health_check_path`"},"health_check_path":{"type":"TypeString","optional":true,"description":"The path to be checked for this function app health."},"http2_enabled":{"type":"TypeBool","optional":true,"default":false,"description":"Specifies if the http2 protocol should be enabled. Defaults to `false`."},"ip_restriction":{"type":"TypeList","optional":true,"elem":{"schema":{"action":{"type":"TypeString","optional":true,"default":"Allow","description":"The action to take. Possible values are `Allow` or `Deny`."},"description":{"type":"TypeString","optional":true,"description":"The description of the IP restriction rule."},"headers":{"type":"TypeList","configMode":"Auto","optional":true,"elem":{"schema":{"x_azure_fdid":{"type":"TypeList","optional":true,"description":"Specifies a list of Azure Front Door IDs.","elem":{"type":"TypeString"},"maxItems":8},"x_fd_health_probe":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"maxItems":1},"x_forwarded_for":{"type":"TypeList","optional":true,"description":"Specifies a list of addresses for which matching should be applied. Omitting this value means allow any.","elem":{"type":"TypeString"},"maxItems":8},"x_forwarded_host":{"type":"TypeList","optional":true,"description":"Specifies a list of Hosts for which matching should be applied.","elem":{"type":"TypeString"},"maxItems":8}}},"maxItems":1},"ip_address":{"type":"TypeString","optional":true,"description":"The CIDR notation of the IP or IP Range to match. For example: `10.0.0.0/24` or `192.168.10.1/32` or `fe80::/64` or `13.107.6.152/31,13.107.128.0/22`"},"name":{"type":"TypeString","optional":true,"description":"The name which should be used for this `ip_restriction`.","computed":true},"priority":{"type":"TypeInt","optional":true,"default":65000,"description":"The priority value of this `ip_restriction`."},"service_tag":{"type":"TypeString","optional":true,"description":"The Service Tag used for this IP Restriction."},"virtual_network_subnet_id":{"type":"TypeString","optional":true,"description":"The Virtual Network Subnet ID used for this IP Restriction."}}}},"ip_restriction_default_action":{"type":"TypeString","optional":true,"default":"Allow"},"linux_fx_version":{"type":"TypeString","description":"The Linux FX Version","computed":true},"load_balancing_mode":{"type":"TypeString","optional":true,"default":"LeastRequests","description":"The Site load balancing mode. Possible values include: `WeightedRoundRobin`, `LeastRequests`, `LeastResponseTime`, `WeightedTotalTraffic`, `RequestHash`, `PerSiteRoundRobin`. Defaults to `LeastRequests` if omitted."},"managed_pipeline_mode":{"type":"TypeString","optional":true,"default":"Integrated","description":"The Managed Pipeline mode. Possible values include: `Integrated`, `Classic`. Defaults to `Integrated`."},"minimum_tls_version":{"type":"TypeString","optional":true,"default":"1.2","description":"The configures the minimum version of TLS required for SSL requests. Possible values include: `1.0`, `1.1`, and `1.2`. Defaults to `1.2`."},"pre_warmed_instance_count":{"type":"TypeInt","optional":true,"description":"The number of pre-warmed instances for this function app. Only affects apps on an Elastic Premium plan.","computed":true},"remote_debugging_enabled":{"type":"TypeBool","optional":true,"default":false,"description":"Should Remote Debugging be enabled. Defaults to `false`."},"remote_debugging_version":{"type":"TypeString","optional":true,"description":"The Remote Debugging Version. Possible values include `VS2017`, `VS2019`, and `VS2022``","computed":true},"runtime_scale_monitoring_enabled":{"type":"TypeBool","optional":true,"description":"Should Functions Runtime Scale Monitoring be enabled."},"scm_ip_restriction":{"type":"TypeList","optional":true,"elem":{"schema":{"action":{"type":"TypeString","optional":true,"default":"Allow","description":"The action to take. Possible values are `Allow` or `Deny`."},"description":{"type":"TypeString","optional":true,"description":"The description of the IP restriction rule."},"headers":{"type":"TypeList","configMode":"Auto","optional":true,"elem":{"schema":{"x_azure_fdid":{"type":"TypeList","optional":true,"description":"Specifies a list of Azure Front Door IDs.","elem":{"type":"TypeString"},"maxItems":8},"x_fd_health_probe":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"maxItems":1},"x_forwarded_for":{"type":"TypeList","optional":true,"description":"Specifies a list of addresses for which matching should be applied. Omitting this value means allow any.","elem":{"type":"TypeString"},"maxItems":8},"x_forwarded_host":{"type":"TypeList","optional":true,"description":"Specifies a list of Hosts for which matching should be applied.","elem":{"type":"TypeString"},"maxItems":8}}},"maxItems":1},"ip_address":{"type":"TypeString","optional":true,"description":"The CIDR notation of the IP or IP Range to match. For example: `10.0.0.0/24` or `192.168.10.1/32` or `fe80::/64` or `13.107.6.152/31,13.107.128.0/22`"},"name":{"type":"TypeString","optional":true,"description":"The name which should be used for this `ip_restriction`.","computed":true},"priority":{"type":"TypeInt","optional":true,"default":65000,"description":"The priority value of this `ip_restriction`."},"service_tag":{"type":"TypeString","optional":true,"description":"The Service Tag used for this IP Restriction."},"virtual_network_subnet_id":{"type":"TypeString","optional":true,"description":"The Virtual Network Subnet ID used for this IP Restriction."}}}},"scm_ip_restriction_default_action":{"type":"TypeString","optional":true,"default":"Allow"},"scm_minimum_tls_version":{"type":"TypeString","optional":true,"default":"1.2","description":"Configures the minimum version of TLS required for SSL requests to the SCM site Possible values include: `1.0`, `1.1`, and `1.2`. Defaults to `1.2`."},"scm_type":{"type":"TypeString","description":"The SCM Type in use by the Linux Function App.","computed":true},"scm_use_main_ip_restriction":{"type":"TypeBool","optional":true,"default":false,"description":"Should the Linux Function App `ip_restriction` configuration be used for the SCM also."},"use_32_bit_worker":{"type":"TypeBool","optional":true,"default":false,"description":"Should the Linux Web App use a 32-bit worker."},"vnet_route_all_enabled":{"type":"TypeBool","optional":true,"default":false,"description":"Should all outbound traffic to have Virtual Network Security Groups and User Defined Routes applied? Defaults to `false`."},"websockets_enabled":{"type":"TypeBool","optional":true,"default":false,"description":"Should Web Sockets be enabled. Defaults to `false`."},"worker_count":{"type":"TypeInt","optional":true,"description":"The number of Workers for this Linux Function App.","computed":true}}},"maxItems":1},"site_credential":{"type":"TypeList","computed":true,"elem":{"schema":{"name":{"type":"TypeString","description":"The Site Credentials Username used for publishing.","computed":true},"password":{"type":"TypeString","description":"The Site Credentials Password used for publishing.","computed":true}}}},"sticky_settings":{"type":"TypeList","optional":true,"elem":{"schema":{"app_setting_names":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"minItems":1},"connection_string_names":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"minItems":1}}},"maxItems":1},"storage_account":{"type":"TypeSet","optional":true,"elem":{"schema":{"access_key":{"type":"TypeString","required":true},"account_name":{"type":"TypeString","required":true},"mount_path":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true},"share_name":{"type":"TypeString","required":true},"type":{"type":"TypeString","required":true}}}},"storage_account_access_key":{"type":"TypeString","optional":true,"description":"The access key which will be used to access the storage account for the Function App."},"storage_account_name":{"type":"TypeString","optional":true,"description":"The backend storage account name which will be used by this Function App."},"storage_key_vault_secret_id":{"type":"TypeString","optional":true,"description":"The Key Vault Secret ID, including version, that contains the Connection String to connect to the storage account for this Function App."},"storage_uses_managed_identity":{"type":"TypeBool","optional":true,"default":false,"description":"Should the Function App use its Managed Identity to access storage?"},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"virtual_network_subnet_id":{"type":"TypeString","optional":true},"vnet_image_pull_enabled":{"type":"TypeBool","optional":true,"default":false,"description":"Is container image pull over virtual network enabled? Defaults to `false`."},"webdeploy_publish_basic_authentication_enabled":{"type":"TypeBool","optional":true,"default":true},"zip_deploy_file":{"type":"TypeString","optional":true,"description":"The local path and filename of the Zip packaged application to deploy to this Linux Function App. **Note:** Using this value requires either `WEBSITE_RUN_FROM_PACKAGE=1` or `SCM_DO_BUILD_DURING_DEPLOYMENT=true` to be set on the App in `app_settings`.","computed":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_linux_function_app_slot":{"schema":{"app_settings":{"type":"TypeMap","optional":true,"description":"A map of key-value pairs for [App Settings](https://docs.microsoft.com/en-us/azure/azure-functions/functions-app-settings) and custom values.","elem":{"type":"TypeString"}},"auth_settings":{"type":"TypeList","optional":true,"elem":{"schema":{"active_directory":{"type":"TypeList","optional":true,"elem":{"schema":{"allowed_audiences":{"type":"TypeList","optional":true,"description":"Specifies a list of Allowed audience values to consider when validating JWTs issued by Azure Active Directory.","elem":{"type":"TypeString"}},"client_id":{"type":"TypeString","required":true,"description":"The ID of the Client to use to authenticate with Azure Active Directory."},"client_secret":{"type":"TypeString","optional":true,"description":"The Client Secret for the Client ID. Cannot be used with `client_secret_setting_name`."},"client_secret_setting_name":{"type":"TypeString","optional":true,"description":"The App Setting name that contains the client secret of the Client. Cannot be used with `client_secret`."}}},"maxItems":1},"additional_login_parameters":{"type":"TypeMap","optional":true,"description":"Specifies a map of Login Parameters to send to the OpenID Connect authorization endpoint when a user logs in.","elem":{"type":"TypeString"}},"allowed_external_redirect_urls":{"type":"TypeList","optional":true,"description":"Specifies a list of External URLs that can be redirected to as part of logging in or logging out of the Windows Web App.","computed":true,"elem":{"type":"TypeString"}},"default_provider":{"type":"TypeString","optional":true,"description":"The default authentication provider to use when multiple providers are configured. Possible values include: `AzureActiveDirectory`, `Facebook`, `Google`, `MicrosoftAccount`, `Twitter`, `Github`.","computed":true},"enabled":{"type":"TypeBool","required":true,"description":"Should the Authentication / Authorization feature be enabled?"},"facebook":{"type":"TypeList","optional":true,"elem":{"schema":{"app_id":{"type":"TypeString","required":true,"description":"The App ID of the Facebook app used for login."},"app_secret":{"type":"TypeString","optional":true,"description":"The App Secret of the Facebook app used for Facebook Login. Cannot be specified with `app_secret_setting_name`."},"app_secret_setting_name":{"type":"TypeString","optional":true,"description":"The app setting name that contains the `app_secret` value used for Facebook Login. Cannot be specified with `app_secret`."},"oauth_scopes":{"type":"TypeList","optional":true,"description":"Specifies a list of OAuth 2.0 scopes to be requested as part of Facebook Login authentication.","elem":{"type":"TypeString"}}}},"maxItems":1},"github":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","required":true,"description":"The ID of the GitHub app used for login."},"client_secret":{"type":"TypeString","optional":true,"description":"The Client Secret of the GitHub app used for GitHub Login. Cannot be specified with `client_secret_setting_name`."},"client_secret_setting_name":{"type":"TypeString","optional":true,"description":"The app setting name that contains the `client_secret` value used for GitHub Login. Cannot be specified with `client_secret`."},"oauth_scopes":{"type":"TypeList","optional":true,"description":"Specifies a list of OAuth 2.0 scopes that will be requested as part of GitHub Login authentication.","elem":{"type":"TypeString"}}}},"maxItems":1},"google":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","required":true,"description":"The OpenID Connect Client ID for the Google web application."},"client_secret":{"type":"TypeString","optional":true,"description":"The client secret associated with the Google web application. Cannot be specified with `client_secret_setting_name`."},"client_secret_setting_name":{"type":"TypeString","optional":true,"description":"The app setting name that contains the `client_secret` value used for Google Login. Cannot be specified with `client_secret`."},"oauth_scopes":{"type":"TypeList","optional":true,"description":"Specifies a list of OAuth 2.0 scopes that will be requested as part of Google Sign-In authentication. If not specified, \"openid\", \"profile\", and \"email\" are used as default scopes.","elem":{"type":"TypeString"}}}},"maxItems":1},"issuer":{"type":"TypeString","optional":true,"description":"The OpenID Connect Issuer URI that represents the entity which issues access tokens."},"microsoft":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","required":true,"description":"The OAuth 2.0 client ID that was created for the app used for authentication."},"client_secret":{"type":"TypeString","optional":true,"description":"The OAuth 2.0 client secret that was created for the app used for authentication. Cannot be specified with `client_secret_setting_name`."},"client_secret_setting_name":{"type":"TypeString","optional":true,"description":"The app setting name containing the OAuth 2.0 client secret that was created for the app used for authentication. Cannot be specified with `client_secret`."},"oauth_scopes":{"type":"TypeList","optional":true,"description":"The list of OAuth 2.0 scopes that will be requested as part of Microsoft Account authentication. If not specified, `wl.basic` is used as the default scope.","elem":{"type":"TypeString"}}}},"maxItems":1},"runtime_version":{"type":"TypeString","optional":true,"description":"The RuntimeVersion of the Authentication / Authorization feature in use.","computed":true},"token_refresh_extension_hours":{"type":"TypeFloat","optional":true,"default":72,"description":"The number of hours after session token expiration that a session token can be used to call the token refresh API. Defaults to `72` hours."},"token_store_enabled":{"type":"TypeBool","optional":true,"default":false,"description":"Should the Windows Web App durably store platform-specific security tokens that are obtained during login flows? Defaults to `false`."},"twitter":{"type":"TypeList","optional":true,"elem":{"schema":{"consumer_key":{"type":"TypeString","required":true,"description":"The OAuth 1.0a consumer key of the Twitter application used for sign-in."},"consumer_secret":{"type":"TypeString","optional":true,"description":"The OAuth 1.0a consumer secret of the Twitter application used for sign-in. Cannot be specified with `consumer_secret_setting_name`."},"consumer_secret_setting_name":{"type":"TypeString","optional":true,"description":"The app setting name that contains the OAuth 1.0a consumer secret of the Twitter application used for sign-in. Cannot be specified with `consumer_secret`."}}},"maxItems":1},"unauthenticated_client_action":{"type":"TypeString","optional":true,"description":"The action to take when an unauthenticated client attempts to access the app. Possible values include: `RedirectToLoginPage`, `AllowAnonymous`.","computed":true}}},"maxItems":1},"auth_settings_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"active_directory_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"allowed_applications":{"type":"TypeList","optional":true,"description":"The list of allowed Applications for the Default Authorisation Policy.","elem":{"type":"TypeString"}},"allowed_audiences":{"type":"TypeList","optional":true,"description":"Specifies a list of Allowed audience values to consider when validating JWTs issued by Azure Active Directory.","elem":{"type":"TypeString"}},"allowed_groups":{"type":"TypeList","optional":true,"description":"The list of allowed Group Names for the Default Authorisation Policy.","elem":{"type":"TypeString"}},"allowed_identities":{"type":"TypeList","optional":true,"description":"The list of allowed Identities for the Default Authorisation Policy.","elem":{"type":"TypeString"}},"client_id":{"type":"TypeString","required":true,"description":"The ID of the Client to use to authenticate with Azure Active Directory."},"client_secret_certificate_thumbprint":{"type":"TypeString","optional":true,"description":"The thumbprint of the certificate used for signing purposes."},"client_secret_setting_name":{"type":"TypeString","optional":true,"description":"The App Setting name that contains the client secret of the Client."},"jwt_allowed_client_applications":{"type":"TypeList","optional":true,"description":"A list of Allowed Client Applications in the JWT Claim.","elem":{"type":"TypeString"}},"jwt_allowed_groups":{"type":"TypeList","optional":true,"description":"A list of Allowed Groups in the JWT Claim.","elem":{"type":"TypeString"}},"login_parameters":{"type":"TypeMap","optional":true,"description":"A map of key-value pairs to send to the Authorisation Endpoint when a user logs in.","elem":{"type":"TypeString"}},"tenant_auth_endpoint":{"type":"TypeString","required":true,"description":"The Azure Tenant Endpoint for the Authenticating Tenant. e.g. `https://login.microsoftonline.com/v2.0/{tenant-guid}/`."},"www_authentication_disabled":{"type":"TypeBool","optional":true,"description":"Should the www-authenticate provider should be omitted from the request? Defaults to `false`"}}},"maxItems":1},"apple_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","required":true,"description":"The OpenID Connect Client ID for the Apple web application."},"client_secret_setting_name":{"type":"TypeString","required":true,"description":"The app setting name that contains the `client_secret` value used for Apple Login."},"login_scopes":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"auth_enabled":{"type":"TypeBool","optional":true,"description":"Should the AuthV2 Settings be enabled. Defaults to `false`"},"azure_static_web_app_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","required":true,"description":"The ID of the Client to use to authenticate with Azure Static Web App Authentication."}}},"maxItems":1},"config_file_path":{"type":"TypeString","optional":true,"description":"The path to the App Auth settings. **Note:** Relative Paths are evaluated from the Site Root directory."},"custom_oidc_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"authorisation_endpoint":{"type":"TypeString","description":"The endpoint to make the Authorisation Request.","computed":true},"certification_uri":{"type":"TypeString","description":"The endpoint that provides the keys necessary to validate the token.","computed":true},"client_credential_method":{"type":"TypeString","description":"The Client Credential Method used. Currently the only supported value is `ClientSecretPost`.","computed":true},"client_id":{"type":"TypeString","required":true,"description":"The ID of the Client to use to authenticate with this Custom OIDC."},"client_secret_setting_name":{"type":"TypeString","description":"The App Setting name that contains the secret for this Custom OIDC Client.","computed":true},"issuer_endpoint":{"type":"TypeString","description":"The endpoint that issued the Token.","computed":true},"name":{"type":"TypeString","required":true,"description":"The name of the Custom OIDC Authentication Provider."},"name_claim_type":{"type":"TypeString","optional":true,"description":"The name of the claim that contains the users name."},"openid_configuration_endpoint":{"type":"TypeString","required":true,"description":"The endpoint that contains all the configuration endpoints for this Custom OIDC provider."},"scopes":{"type":"TypeList","optional":true,"description":"The list of the scopes that should be requested while authenticating.","elem":{"type":"TypeString"}},"token_endpoint":{"type":"TypeString","description":"The endpoint used to request a Token.","computed":true}}}},"default_provider":{"type":"TypeString","optional":true,"description":"The Default Authentication Provider to use when the `unauthenticated_action` is set to `RedirectToLoginPage`. Possible values include: `apple`, `azureactivedirectory`, `facebook`, `github`, `google`, `twitter` and the `name` of your `custom_oidc_v2` provider."},"excluded_paths":{"type":"TypeList","optional":true,"description":"The paths which should be excluded from the `unauthenticated_action` when it is set to `RedirectToLoginPage`.","elem":{"type":"TypeString"}},"facebook_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"app_id":{"type":"TypeString","required":true,"description":"The App ID of the Facebook app used for login."},"app_secret_setting_name":{"type":"TypeString","required":true,"description":"The app setting name that contains the `app_secret` value used for Facebook Login."},"graph_api_version":{"type":"TypeString","optional":true,"description":"The version of the Facebook API to be used while logging in.","computed":true},"login_scopes":{"type":"TypeList","optional":true,"description":"Specifies a list of scopes to be requested as part of Facebook Login authentication.","elem":{"type":"TypeString"}}}},"maxItems":1},"forward_proxy_convention":{"type":"TypeString","optional":true,"default":"NoProxy","description":"The convention used to determine the url of the request made. Possible values include `ForwardProxyConventionNoProxy`, `ForwardProxyConventionStandard`, `ForwardProxyConventionCustom`. Defaults to `ForwardProxyConventionNoProxy`"},"forward_proxy_custom_host_header_name":{"type":"TypeString","optional":true,"description":"The name of the header containing the host of the request."},"forward_proxy_custom_scheme_header_name":{"type":"TypeString","optional":true,"description":"The name of the header containing the scheme of the request."},"github_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","required":true,"description":"The ID of the GitHub app used for login."},"client_secret_setting_name":{"type":"TypeString","required":true,"description":"The app setting name that contains the `client_secret` value used for GitHub Login."},"login_scopes":{"type":"TypeList","optional":true,"description":"Specifies a list of OAuth 2.0 scopes that will be requested as part of GitHub Login authentication.","elem":{"type":"TypeString"}}}},"maxItems":1},"google_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"allowed_audiences":{"type":"TypeList","optional":true,"description":"Specifies a list of Allowed Audiences that will be requested as part of Google Sign-In authentication.","elem":{"type":"TypeString"}},"client_id":{"type":"TypeString","required":true,"description":"The OpenID Connect Client ID for the Google web application."},"client_secret_setting_name":{"type":"TypeString","required":true,"description":"The app setting name that contains the `client_secret` value used for Google Login."},"login_scopes":{"type":"TypeList","optional":true,"description":"Specifies a list of Login scopes that will be requested as part of Google Sign-In authentication.","elem":{"type":"TypeString"}}}},"maxItems":1},"http_route_api_prefix":{"type":"TypeString","optional":true,"default":"/.auth","description":"The prefix that should precede all the authentication and authorisation paths. Defaults to `/.auth`"},"login":{"type":"TypeList","required":true,"elem":{"schema":{"allowed_external_redirect_urls":{"type":"TypeList","optional":true,"description":"External URLs that can be redirected to as part of logging in or logging out of the app. This is an advanced setting typically only needed by Windows Store application backends. **Note:** URLs within the current domain are always implicitly allowed.","elem":{"type":"TypeString"}},"cookie_expiration_convention":{"type":"TypeString","optional":true,"default":"FixedTime","description":"The method by which cookies expire. Possible values include: `FixedTime`, and `IdentityProviderDerived`. Defaults to `FixedTime`."},"cookie_expiration_time":{"type":"TypeString","optional":true,"default":"08:00:00","description":"The time after the request is made when the session cookie should expire. Defaults to `08:00:00`."},"logout_endpoint":{"type":"TypeString","optional":true,"description":"The endpoint to which logout requests should be made."},"nonce_expiration_time":{"type":"TypeString","optional":true,"default":"00:05:00","description":"The time after the request is made when the nonce should expire. Defaults to `00:05:00`."},"preserve_url_fragments_for_logins":{"type":"TypeBool","optional":true,"default":false,"description":"Should the fragments from the request be preserved after the login request is made. Defaults to `false`."},"token_refresh_extension_time":{"type":"TypeFloat","optional":true,"default":72,"description":"The number of hours after session token expiration that a session token can be used to call the token refresh API. Defaults to `72` hours."},"token_store_enabled":{"type":"TypeBool","optional":true,"default":false,"description":"Should the Token Store configuration Enabled. Defaults to `false`"},"token_store_path":{"type":"TypeString","optional":true,"description":"The directory path in the App Filesystem in which the tokens will be stored."},"token_store_sas_setting_name":{"type":"TypeString","optional":true,"description":"The name of the app setting which contains the SAS URL of the blob storage containing the tokens."},"validate_nonce":{"type":"TypeBool","optional":true,"default":true,"description":"Should the nonce be validated while completing the login flow. Defaults to `true`."}}},"maxItems":1},"microsoft_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"allowed_audiences":{"type":"TypeList","optional":true,"description":"Specifies a list of Allowed Audiences that will be requested as part of Microsoft Sign-In authentication.","elem":{"type":"TypeString"}},"client_id":{"type":"TypeString","required":true,"description":"The OAuth 2.0 client ID that was created for the app used for authentication."},"client_secret_setting_name":{"type":"TypeString","required":true,"description":"The app setting name containing the OAuth 2.0 client secret that was created for the app used for authentication."},"login_scopes":{"type":"TypeList","optional":true,"description":"The list of Login scopes that will be requested as part of Microsoft Account authentication.","elem":{"type":"TypeString"}}}},"maxItems":1},"require_authentication":{"type":"TypeBool","optional":true,"description":"Should the authentication flow be used for all requests."},"require_https":{"type":"TypeBool","optional":true,"default":true,"description":"Should HTTPS be required on connections? Defaults to true."},"runtime_version":{"type":"TypeString","optional":true,"default":"~1","description":"The Runtime Version of the Authentication and Authorisation feature of this App. Defaults to `~1`"},"twitter_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"consumer_key":{"type":"TypeString","required":true,"description":"The OAuth 1.0a consumer key of the Twitter application used for sign-in."},"consumer_secret_setting_name":{"type":"TypeString","required":true,"description":"The app setting name that contains the OAuth 1.0a consumer secret of the Twitter application used for sign-in."}}},"maxItems":1},"unauthenticated_action":{"type":"TypeString","optional":true,"default":"RedirectToLoginPage","description":"The action to take for requests made without authentication. Possible values include `RedirectToLoginPage`, `AllowAnonymous`, `Return401`, and `Return403`. Defaults to `RedirectToLoginPage`."}}},"maxItems":1},"backup":{"type":"TypeList","optional":true,"elem":{"schema":{"enabled":{"type":"TypeBool","optional":true,"default":true,"description":"Should this backup job be enabled?"},"name":{"type":"TypeString","required":true,"description":"The name which should be used for this Backup."},"schedule":{"type":"TypeList","required":true,"elem":{"schema":{"frequency_interval":{"type":"TypeInt","required":true,"description":"How often the backup should be executed (e.g. for weekly backup, this should be set to `7` and `frequency_unit` should be set to `Day`)."},"frequency_unit":{"type":"TypeString","required":true,"description":"The unit of time for how often the backup should take place. Possible values include: `Day` and `Hour`."},"keep_at_least_one_backup":{"type":"TypeBool","optional":true,"default":false,"description":"Should the service keep at least one backup, regardless of age of backup. Defaults to `false`."},"last_execution_time":{"type":"TypeString","description":"The time the backup was last attempted.","computed":true},"retention_period_days":{"type":"TypeInt","optional":true,"default":30,"description":"After how many days backups should be deleted."},"start_time":{"type":"TypeString","optional":true,"description":"When the schedule should start working in RFC-3339 format.","computed":true}}},"maxItems":1},"storage_account_url":{"type":"TypeString","required":true,"description":"The SAS URL to the container."}}},"maxItems":1},"builtin_logging_enabled":{"type":"TypeBool","optional":true,"default":true,"description":"Should built in logging be enabled. Configures `AzureWebJobsDashboard` app setting based on the configured storage setting."},"client_certificate_enabled":{"type":"TypeBool","optional":true,"default":false,"description":"Should the Function App Slot use Client Certificates."},"client_certificate_exclusion_paths":{"type":"TypeString","optional":true,"description":"Paths to exclude when using client certificates, separated by ;"},"client_certificate_mode":{"type":"TypeString","optional":true,"default":"Optional","description":"The mode of the Function App Slot's client certificates requirement for incoming requests. Possible values are `Required`, `Optional`, and `OptionalInteractiveUser`."},"connection_string":{"type":"TypeSet","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true,"description":"The name which should be used for this Connection."},"type":{"type":"TypeString","required":true,"description":"Type of database. Possible values include: `MySQL`, `SQLServer`, `SQLAzure`, `Custom`, `NotificationHub`, `ServiceBus`, `EventHub`, `APIHub`, `DocDb`, `RedisCache`, and `PostgreSQL`."},"value":{"type":"TypeString","required":true,"description":"The connection string value."}}}},"content_share_force_disabled":{"type":"TypeBool","optional":true,"default":false,"description":"Force disable the content share settings."},"custom_domain_verification_id":{"type":"TypeString","computed":true},"daily_memory_time_quota":{"type":"TypeInt","optional":true,"default":0,"description":"The amount of memory in gigabyte-seconds that your application is allowed to consume per day. Setting this value only affects function apps in Consumption Plans."},"default_hostname":{"type":"TypeString","computed":true},"enabled":{"type":"TypeBool","optional":true,"default":true,"description":"Is the Linux Function App Slot enabled."},"ftp_publish_basic_authentication_enabled":{"type":"TypeBool","optional":true,"default":true},"function_app_id":{"type":"TypeString","required":true,"description":"The ID of the Linux Function App this Slot is a member of.","forceNew":true},"functions_extension_version":{"type":"TypeString","optional":true,"default":"~4","description":"The runtime version associated with the Function App Slot."},"hosting_environment_id":{"type":"TypeString","computed":true},"https_only":{"type":"TypeBool","optional":true,"default":false,"description":"Can the Function App Slot only be accessed via HTTPS?"},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"key_vault_reference_identity_id":{"type":"TypeString","optional":true,"description":"The User Assigned Identity to use for Key Vault access.","computed":true},"kind":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true,"description":"Specifies the name of the Function App Slot.","forceNew":true},"outbound_ip_address_list":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"outbound_ip_addresses":{"type":"TypeString","computed":true},"possible_outbound_ip_address_list":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"possible_outbound_ip_addresses":{"type":"TypeString","computed":true},"public_network_access_enabled":{"type":"TypeBool","optional":true,"default":true},"service_plan_id":{"type":"TypeString","optional":true},"site_config":{"type":"TypeList","required":true,"elem":{"schema":{"always_on":{"type":"TypeBool","optional":true,"description":"If this Linux Web App is Always On enabled. Defaults to `false`.","computed":true},"api_definition_url":{"type":"TypeString","optional":true,"description":"The URL of the API definition that describes this Linux Function App."},"api_management_api_id":{"type":"TypeString","optional":true,"description":"The ID of the API Management API for this Linux Function App."},"app_command_line":{"type":"TypeString","optional":true,"description":"The program and any arguments used to launch this app via the command line. (Example `node myapp.js`)."},"app_scale_limit":{"type":"TypeInt","optional":true,"description":"The number of workers this function app can scale out to. Only applicable to apps on the Consumption and Premium plan.","computed":true},"app_service_logs":{"type":"TypeList","optional":true,"elem":{"schema":{"disk_quota_mb":{"type":"TypeInt","optional":true,"default":35,"description":"The amount of disk space to use for logs. Valid values are between `25` and `100`."},"retention_period_days":{"type":"TypeInt","optional":true,"description":"The retention period for logs in days. Valid values are between `0` and `99999`. Defaults to `0` (never delete)."}}},"maxItems":1},"application_insights_connection_string":{"type":"TypeString","optional":true,"description":"The Connection String for linking the Linux Function App to Application Insights."},"application_insights_key":{"type":"TypeString","optional":true,"description":"The Instrumentation Key for connecting the Linux Function App to Application Insights."},"application_stack":{"type":"TypeList","optional":true,"elem":{"schema":{"docker":{"type":"TypeList","optional":true,"description":"A docker block","elem":{"schema":{"image_name":{"type":"TypeString","required":true,"description":"The name of the Docker image to use."},"image_tag":{"type":"TypeString","required":true,"description":"The image tag of the image to use."},"registry_password":{"type":"TypeString","optional":true,"description":"The password for the account to use to connect to the registry."},"registry_url":{"type":"TypeString","required":true,"description":"The URL of the docker registry."},"registry_username":{"type":"TypeString","optional":true,"description":"The username to use for connections to the registry."}}}},"dotnet_version":{"type":"TypeString","optional":true,"description":"The version of .Net. Possible values are `3.1`, `6.0` and `7.0`"},"java_version":{"type":"TypeString","optional":true,"description":"The version of Java to use. Possible values are `8`, `11`, and `17`"},"node_version":{"type":"TypeString","optional":true,"description":"The version of Node to use. Possible values include `12`, `14`, `16`, `18` and `20`"},"powershell_core_version":{"type":"TypeString","optional":true,"description":"The version of PowerShell Core to use. Possibles values are `7`, `7.2`, and `7.4`"},"python_version":{"type":"TypeString","optional":true,"description":"The version of Python to use. Possible values include `3.12`, `3.11`, `3.10`, `3.9`, `3.8`, and `3.7`."},"use_custom_runtime":{"type":"TypeBool","optional":true},"use_dotnet_isolated_runtime":{"type":"TypeBool","optional":true,"default":false,"description":"Should the DotNet process use an isolated runtime. Defaults to `false`."}}},"maxItems":1},"auto_swap_slot_name":{"type":"TypeString","optional":true},"container_registry_managed_identity_client_id":{"type":"TypeString","optional":true,"description":"The Client ID of the Managed Service Identity to use for connections to the Azure Container Registry."},"container_registry_use_managed_identity":{"type":"TypeBool","optional":true,"default":false,"description":"Should connections for Azure Container Registry use Managed Identity."},"cors":{"type":"TypeList","optional":true,"elem":{"schema":{"allowed_origins":{"type":"TypeSet","optional":true,"description":"Specifies a list of origins that should be allowed to make cross-origin calls.","elem":{"type":"TypeString"},"minItems":1},"support_credentials":{"type":"TypeBool","optional":true,"default":false,"description":"Are credentials allowed in CORS requests? Defaults to `false`."}}},"maxItems":1},"default_documents":{"type":"TypeList","optional":true,"description":"Specifies a list of Default Documents for the Linux Web App.","computed":true,"elem":{"type":"TypeString"}},"detailed_error_logging_enabled":{"type":"TypeBool","description":"Is detailed error logging enabled","computed":true},"elastic_instance_minimum":{"type":"TypeInt","optional":true,"description":"The number of minimum instances for this Linux Function App. Only affects apps on Elastic Premium plans.","computed":true},"ftps_state":{"type":"TypeString","optional":true,"default":"Disabled","description":"State of FTP / FTPS service for this function app. Possible values include: `AllAllowed`, `FtpsOnly` and `Disabled`. Defaults to `Disabled`."},"health_check_eviction_time_in_min":{"type":"TypeInt","optional":true,"default":0,"description":"The amount of time in minutes that a node is unhealthy before being removed from the load balancer. Possible values are between `2` and `10`. Defaults to `10`. Only valid in conjunction with `health_check_path`"},"health_check_path":{"type":"TypeString","optional":true,"description":"The path to be checked for this function app health."},"http2_enabled":{"type":"TypeBool","optional":true,"default":false,"description":"Specifies if the http2 protocol should be enabled. Defaults to `false`."},"ip_restriction":{"type":"TypeList","optional":true,"elem":{"schema":{"action":{"type":"TypeString","optional":true,"default":"Allow","description":"The action to take. Possible values are `Allow` or `Deny`."},"description":{"type":"TypeString","optional":true,"description":"The description of the IP restriction rule."},"headers":{"type":"TypeList","configMode":"Auto","optional":true,"elem":{"schema":{"x_azure_fdid":{"type":"TypeList","optional":true,"description":"Specifies a list of Azure Front Door IDs.","elem":{"type":"TypeString"},"maxItems":8},"x_fd_health_probe":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"maxItems":1},"x_forwarded_for":{"type":"TypeList","optional":true,"description":"Specifies a list of addresses for which matching should be applied. Omitting this value means allow any.","elem":{"type":"TypeString"},"maxItems":8},"x_forwarded_host":{"type":"TypeList","optional":true,"description":"Specifies a list of Hosts for which matching should be applied.","elem":{"type":"TypeString"},"maxItems":8}}},"maxItems":1},"ip_address":{"type":"TypeString","optional":true,"description":"The CIDR notation of the IP or IP Range to match. For example: `10.0.0.0/24` or `192.168.10.1/32` or `fe80::/64` or `13.107.6.152/31,13.107.128.0/22`"},"name":{"type":"TypeString","optional":true,"description":"The name which should be used for this `ip_restriction`.","computed":true},"priority":{"type":"TypeInt","optional":true,"default":65000,"description":"The priority value of this `ip_restriction`."},"service_tag":{"type":"TypeString","optional":true,"description":"The Service Tag used for this IP Restriction."},"virtual_network_subnet_id":{"type":"TypeString","optional":true,"description":"The Virtual Network Subnet ID used for this IP Restriction."}}}},"ip_restriction_default_action":{"type":"TypeString","optional":true,"default":"Allow"},"linux_fx_version":{"type":"TypeString","description":"The Linux FX Version","computed":true},"load_balancing_mode":{"type":"TypeString","optional":true,"default":"LeastRequests","description":"The Site load balancing mode. Possible values include: `WeightedRoundRobin`, `LeastRequests`, `LeastResponseTime`, `WeightedTotalTraffic`, `RequestHash`, `PerSiteRoundRobin`. Defaults to `LeastRequests` if omitted."},"managed_pipeline_mode":{"type":"TypeString","optional":true,"default":"Integrated","description":"The Managed Pipeline mode. Possible values include: `Integrated`, `Classic`. Defaults to `Integrated`."},"minimum_tls_version":{"type":"TypeString","optional":true,"default":"1.2","description":"The configures the minimum version of TLS required for SSL requests. Possible values include: `1.0`, `1.1`, and `1.2`. Defaults to `1.2`."},"pre_warmed_instance_count":{"type":"TypeInt","optional":true,"description":"The number of pre-warmed instances for this function app. Only affects apps on an Elastic Premium plan.","computed":true},"remote_debugging_enabled":{"type":"TypeBool","optional":true,"default":false,"description":"Should Remote Debugging be enabled. Defaults to `false`."},"remote_debugging_version":{"type":"TypeString","optional":true,"description":"The Remote Debugging Version. Possible values include `VS2017`, `VS2019`, and `VS2022`","computed":true},"runtime_scale_monitoring_enabled":{"type":"TypeBool","optional":true,"description":"Should Functions Runtime Scale Monitoring be enabled."},"scm_ip_restriction":{"type":"TypeList","optional":true,"elem":{"schema":{"action":{"type":"TypeString","optional":true,"default":"Allow","description":"The action to take. Possible values are `Allow` or `Deny`."},"description":{"type":"TypeString","optional":true,"description":"The description of the IP restriction rule."},"headers":{"type":"TypeList","configMode":"Auto","optional":true,"elem":{"schema":{"x_azure_fdid":{"type":"TypeList","optional":true,"description":"Specifies a list of Azure Front Door IDs.","elem":{"type":"TypeString"},"maxItems":8},"x_fd_health_probe":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"maxItems":1},"x_forwarded_for":{"type":"TypeList","optional":true,"description":"Specifies a list of addresses for which matching should be applied. Omitting this value means allow any.","elem":{"type":"TypeString"},"maxItems":8},"x_forwarded_host":{"type":"TypeList","optional":true,"description":"Specifies a list of Hosts for which matching should be applied.","elem":{"type":"TypeString"},"maxItems":8}}},"maxItems":1},"ip_address":{"type":"TypeString","optional":true,"description":"The CIDR notation of the IP or IP Range to match. For example: `10.0.0.0/24` or `192.168.10.1/32` or `fe80::/64` or `13.107.6.152/31,13.107.128.0/22`"},"name":{"type":"TypeString","optional":true,"description":"The name which should be used for this `ip_restriction`.","computed":true},"priority":{"type":"TypeInt","optional":true,"default":65000,"description":"The priority value of this `ip_restriction`."},"service_tag":{"type":"TypeString","optional":true,"description":"The Service Tag used for this IP Restriction."},"virtual_network_subnet_id":{"type":"TypeString","optional":true,"description":"The Virtual Network Subnet ID used for this IP Restriction."}}}},"scm_ip_restriction_default_action":{"type":"TypeString","optional":true,"default":"Allow"},"scm_minimum_tls_version":{"type":"TypeString","optional":true,"default":"1.2","description":"Configures the minimum version of TLS required for SSL requests to the SCM site Possible values include: `1.0`, `1.1`, and `1.2`. Defaults to `1.2`."},"scm_type":{"type":"TypeString","description":"The SCM Type in use by the Linux Function App.","computed":true},"scm_use_main_ip_restriction":{"type":"TypeBool","optional":true,"default":false,"description":"Should the Linux Function App `ip_restriction` configuration be used for the SCM also."},"use_32_bit_worker":{"type":"TypeBool","optional":true,"default":false,"description":"Should the Linux Web App use a 32-bit worker."},"vnet_route_all_enabled":{"type":"TypeBool","optional":true,"default":false,"description":"Should all outbound traffic to have Virtual Network Security Groups and User Defined Routes applied? Defaults to `false`."},"websockets_enabled":{"type":"TypeBool","optional":true,"default":false,"description":"Should Web Sockets be enabled. Defaults to `false`."},"worker_count":{"type":"TypeInt","optional":true,"description":"The number of Workers for this Linux Function App.","computed":true}}},"maxItems":1},"site_credential":{"type":"TypeList","computed":true,"elem":{"schema":{"name":{"type":"TypeString","description":"The Site Credentials Username used for publishing.","computed":true},"password":{"type":"TypeString","description":"The Site Credentials Password used for publishing.","computed":true}}}},"storage_account":{"type":"TypeSet","optional":true,"elem":{"schema":{"access_key":{"type":"TypeString","required":true},"account_name":{"type":"TypeString","required":true},"mount_path":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true},"share_name":{"type":"TypeString","required":true},"type":{"type":"TypeString","required":true}}}},"storage_account_access_key":{"type":"TypeString","optional":true,"description":"The access key which will be used to access the storage account for the Function App Slot."},"storage_account_name":{"type":"TypeString","optional":true,"description":"The backend storage account name which will be used by this Function App Slot."},"storage_key_vault_secret_id":{"type":"TypeString","optional":true,"description":"The Key Vault Secret ID, including version, that contains the Connection String to connect to the storage account for this Function App."},"storage_uses_managed_identity":{"type":"TypeBool","optional":true,"default":false,"description":"Should the Function App Slot use its Managed Identity to access storage?"},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"virtual_network_subnet_id":{"type":"TypeString","optional":true},"vnet_image_pull_enabled":{"type":"TypeBool","optional":true,"default":false,"description":"Is container image pull over virtual network enabled? Defaults to `false`."},"webdeploy_publish_basic_authentication_enabled":{"type":"TypeBool","optional":true,"default":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_linux_virtual_machine":{"schema":{"additional_capabilities":{"type":"TypeList","optional":true,"elem":{"schema":{"hibernation_enabled":{"type":"TypeBool","optional":true,"default":false},"ultra_ssd_enabled":{"type":"TypeBool","optional":true,"default":false}}},"maxItems":1},"admin_password":{"type":"TypeString","optional":true,"forceNew":true},"admin_ssh_key":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"schema":{"public_key":{"type":"TypeString","required":true,"forceNew":true},"username":{"type":"TypeString","required":true,"forceNew":true}}}},"admin_username":{"type":"TypeString","required":true,"forceNew":true},"allow_extension_operations":{"type":"TypeBool","optional":true,"default":true},"availability_set_id":{"type":"TypeString","optional":true,"forceNew":true},"boot_diagnostics":{"type":"TypeList","optional":true,"elem":{"schema":{"storage_account_uri":{"type":"TypeString","optional":true}}},"maxItems":1},"bypass_platform_safety_checks_on_user_schedule_enabled":{"type":"TypeBool","optional":true,"default":false},"capacity_reservation_group_id":{"type":"TypeString","optional":true},"computer_name":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"custom_data":{"type":"TypeString","optional":true,"forceNew":true},"dedicated_host_group_id":{"type":"TypeString","optional":true},"dedicated_host_id":{"type":"TypeString","optional":true},"disable_password_authentication":{"type":"TypeBool","optional":true,"default":true,"forceNew":true},"disk_controller_type":{"type":"TypeString","optional":true,"computed":true},"edge_zone":{"type":"TypeString","optional":true,"forceNew":true},"encryption_at_host_enabled":{"type":"TypeBool","optional":true},"eviction_policy":{"type":"TypeString","optional":true,"forceNew":true},"extensions_time_budget":{"type":"TypeString","optional":true,"default":"PT1H30M"},"gallery_application":{"type":"TypeList","optional":true,"elem":{"schema":{"automatic_upgrade_enabled":{"type":"TypeBool","optional":true,"default":false},"configuration_blob_uri":{"type":"TypeString","optional":true},"order":{"type":"TypeInt","optional":true,"default":0},"tag":{"type":"TypeString","optional":true},"treat_failure_as_deployment_failure_enabled":{"type":"TypeBool","optional":true,"default":false},"version_id":{"type":"TypeString","required":true}}},"maxItems":100},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"license_type":{"type":"TypeString","optional":true},"location":{"type":"TypeString","required":true,"forceNew":true},"max_bid_price":{"type":"TypeFloat","optional":true,"default":-1},"name":{"type":"TypeString","required":true,"forceNew":true},"network_interface_ids":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"minItems":1},"os_disk":{"type":"TypeList","required":true,"elem":{"schema":{"caching":{"type":"TypeString","required":true},"diff_disk_settings":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"option":{"type":"TypeString","required":true,"forceNew":true},"placement":{"type":"TypeString","optional":true,"default":"CacheDisk","forceNew":true}}},"maxItems":1},"disk_encryption_set_id":{"type":"TypeString","optional":true},"disk_size_gb":{"type":"TypeInt","optional":true,"computed":true},"name":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"secure_vm_disk_encryption_set_id":{"type":"TypeString","optional":true,"forceNew":true},"security_encryption_type":{"type":"TypeString","optional":true,"forceNew":true},"storage_account_type":{"type":"TypeString","required":true,"forceNew":true},"write_accelerator_enabled":{"type":"TypeBool","optional":true,"default":false}}},"maxItems":1},"os_image_notification":{"type":"TypeList","optional":true,"elem":{"schema":{"timeout":{"type":"TypeString","optional":true,"default":"PT15M"}}},"maxItems":1},"patch_assessment_mode":{"type":"TypeString","optional":true,"default":"ImageDefault"},"patch_mode":{"type":"TypeString","optional":true,"default":"ImageDefault"},"plan":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"name":{"type":"TypeString","required":true,"forceNew":true},"product":{"type":"TypeString","required":true,"forceNew":true},"publisher":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"platform_fault_domain":{"type":"TypeInt","optional":true,"default":-1,"forceNew":true},"priority":{"type":"TypeString","optional":true,"default":"Regular","forceNew":true},"private_ip_address":{"type":"TypeString","computed":true},"private_ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"provision_vm_agent":{"type":"TypeBool","optional":true,"default":true,"forceNew":true},"proximity_placement_group_id":{"type":"TypeString","optional":true},"public_ip_address":{"type":"TypeString","computed":true},"public_ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"reboot_setting":{"type":"TypeString","optional":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"secret":{"type":"TypeList","optional":true,"elem":{"schema":{"certificate":{"type":"TypeSet","required":true,"elem":{"schema":{"url":{"type":"TypeString","required":true}}},"minItems":1},"key_vault_id":{"type":"TypeString","required":true}}}},"secure_boot_enabled":{"type":"TypeBool","optional":true,"forceNew":true},"size":{"type":"TypeString","required":true},"source_image_id":{"type":"TypeString","optional":true,"forceNew":true},"source_image_reference":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"offer":{"type":"TypeString","required":true,"forceNew":true},"publisher":{"type":"TypeString","required":true,"forceNew":true},"sku":{"type":"TypeString","required":true,"forceNew":true},"version":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"termination_notification":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"enabled":{"type":"TypeBool","required":true},"timeout":{"type":"TypeString","optional":true,"default":"PT5M"}}},"maxItems":1},"user_data":{"type":"TypeString","optional":true},"virtual_machine_id":{"type":"TypeString","computed":true},"virtual_machine_scale_set_id":{"type":"TypeString","optional":true},"vm_agent_platform_updates_enabled":{"type":"TypeBool","optional":true,"default":false},"vtpm_enabled":{"type":"TypeBool","optional":true,"forceNew":true},"zone":{"type":"TypeString","optional":true,"forceNew":true}},"timeouts":{"create":45,"read":5,"delete":45,"update":45}},"azurerm_linux_virtual_machine_scale_set":{"schema":{"additional_capabilities":{"type":"TypeList","optional":true,"elem":{"schema":{"ultra_ssd_enabled":{"type":"TypeBool","optional":true,"default":false,"forceNew":true}}},"maxItems":1},"admin_password":{"type":"TypeString","optional":true,"forceNew":true},"admin_ssh_key":{"type":"TypeSet","optional":true,"elem":{"schema":{"public_key":{"type":"TypeString","required":true},"username":{"type":"TypeString","required":true}}}},"admin_username":{"type":"TypeString","required":true,"forceNew":true},"automatic_instance_repair":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"action":{"type":"TypeString","optional":true,"computed":true},"enabled":{"type":"TypeBool","required":true},"grace_period":{"type":"TypeString","optional":true,"computed":true}}},"maxItems":1},"automatic_os_upgrade_policy":{"type":"TypeList","optional":true,"elem":{"schema":{"disable_automatic_rollback":{"type":"TypeBool","required":true},"enable_automatic_os_upgrade":{"type":"TypeBool","required":true}}},"maxItems":1},"boot_diagnostics":{"type":"TypeList","optional":true,"elem":{"schema":{"storage_account_uri":{"type":"TypeString","optional":true}}},"maxItems":1},"capacity_reservation_group_id":{"type":"TypeString","optional":true,"forceNew":true},"computer_name_prefix":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"custom_data":{"type":"TypeString","optional":true},"data_disk":{"type":"TypeList","optional":true,"elem":{"schema":{"caching":{"type":"TypeString","required":true},"create_option":{"type":"TypeString","optional":true,"default":"Empty"},"disk_encryption_set_id":{"type":"TypeString","optional":true,"forceNew":true},"disk_size_gb":{"type":"TypeInt","required":true},"lun":{"type":"TypeInt","required":true},"name":{"type":"TypeString","optional":true},"storage_account_type":{"type":"TypeString","required":true},"ultra_ssd_disk_iops_read_write":{"type":"TypeInt","optional":true,"computed":true},"ultra_ssd_disk_mbps_read_write":{"type":"TypeInt","optional":true,"computed":true},"write_accelerator_enabled":{"type":"TypeBool","optional":true,"default":false}}}},"disable_password_authentication":{"type":"TypeBool","optional":true,"default":true},"do_not_run_extensions_on_overprovisioned_machines":{"type":"TypeBool","optional":true,"default":false},"edge_zone":{"type":"TypeString","optional":true,"forceNew":true},"encryption_at_host_enabled":{"type":"TypeBool","optional":true},"eviction_policy":{"type":"TypeString","optional":true,"forceNew":true},"extension":{"type":"TypeSet","optional":true,"computed":true,"elem":{"schema":{"auto_upgrade_minor_version":{"type":"TypeBool","optional":true,"default":true},"automatic_upgrade_enabled":{"type":"TypeBool","optional":true,"default":false},"force_update_tag":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true},"protected_settings":{"type":"TypeString","optional":true},"protected_settings_from_key_vault":{"type":"TypeList","optional":true,"elem":{"schema":{"secret_url":{"type":"TypeString","required":true},"source_vault_id":{"type":"TypeString","required":true}}},"maxItems":1},"provision_after_extensions":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"publisher":{"type":"TypeString","required":true},"settings":{"type":"TypeString","optional":true},"type":{"type":"TypeString","required":true},"type_handler_version":{"type":"TypeString","required":true}}}},"extension_operations_enabled":{"type":"TypeBool","optional":true,"default":true,"forceNew":true},"extensions_time_budget":{"type":"TypeString","optional":true,"default":"PT1H30M"},"gallery_application":{"type":"TypeList","optional":true,"elem":{"schema":{"configuration_blob_uri":{"type":"TypeString","optional":true,"forceNew":true},"order":{"type":"TypeInt","optional":true,"default":0,"forceNew":true},"tag":{"type":"TypeString","optional":true,"forceNew":true},"version_id":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":100},"health_probe_id":{"type":"TypeString","optional":true},"host_group_id":{"type":"TypeString","optional":true,"forceNew":true},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"instances":{"type":"TypeInt","optional":true,"default":0},"location":{"type":"TypeString","required":true,"forceNew":true},"max_bid_price":{"type":"TypeFloat","optional":true,"default":-1},"name":{"type":"TypeString","required":true,"forceNew":true},"network_interface":{"type":"TypeList","required":true,"elem":{"schema":{"dns_servers":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"enable_accelerated_networking":{"type":"TypeBool","optional":true,"default":false},"enable_ip_forwarding":{"type":"TypeBool","optional":true,"default":false},"ip_configuration":{"type":"TypeList","required":true,"elem":{"schema":{"application_gateway_backend_address_pool_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"application_security_group_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":20},"load_balancer_backend_address_pool_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"load_balancer_inbound_nat_rules_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true},"primary":{"type":"TypeBool","optional":true,"default":false},"public_ip_address":{"type":"TypeList","optional":true,"elem":{"schema":{"domain_name_label":{"type":"TypeString","optional":true},"idle_timeout_in_minutes":{"type":"TypeInt","optional":true,"computed":true},"ip_tag":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"tag":{"type":"TypeString","required":true,"forceNew":true},"type":{"type":"TypeString","required":true,"forceNew":true}}}},"name":{"type":"TypeString","required":true},"public_ip_prefix_id":{"type":"TypeString","optional":true,"forceNew":true},"version":{"type":"TypeString","optional":true,"default":"IPv4","forceNew":true}}}},"subnet_id":{"type":"TypeString","optional":true},"version":{"type":"TypeString","optional":true,"default":"IPv4"}}}},"name":{"type":"TypeString","required":true,"forceNew":true},"network_security_group_id":{"type":"TypeString","optional":true},"primary":{"type":"TypeBool","optional":true,"default":false}}}},"os_disk":{"type":"TypeList","required":true,"elem":{"schema":{"caching":{"type":"TypeString","required":true},"diff_disk_settings":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"option":{"type":"TypeString","required":true,"forceNew":true},"placement":{"type":"TypeString","optional":true,"default":"CacheDisk","forceNew":true}}},"maxItems":1},"disk_encryption_set_id":{"type":"TypeString","optional":true,"forceNew":true},"disk_size_gb":{"type":"TypeInt","optional":true,"computed":true},"secure_vm_disk_encryption_set_id":{"type":"TypeString","optional":true,"forceNew":true},"security_encryption_type":{"type":"TypeString","optional":true,"forceNew":true},"storage_account_type":{"type":"TypeString","required":true,"forceNew":true},"write_accelerator_enabled":{"type":"TypeBool","optional":true,"default":false}}},"maxItems":1},"overprovision":{"type":"TypeBool","optional":true,"default":true},"plan":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"name":{"type":"TypeString","required":true,"forceNew":true},"product":{"type":"TypeString","required":true,"forceNew":true},"publisher":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"platform_fault_domain_count":{"type":"TypeInt","optional":true,"computed":true,"forceNew":true},"priority":{"type":"TypeString","optional":true,"default":"Regular","forceNew":true},"provision_vm_agent":{"type":"TypeBool","optional":true,"default":true,"forceNew":true},"proximity_placement_group_id":{"type":"TypeString","optional":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"rolling_upgrade_policy":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"cross_zone_upgrades_enabled":{"type":"TypeBool","optional":true},"max_batch_instance_percent":{"type":"TypeInt","required":true},"max_unhealthy_instance_percent":{"type":"TypeInt","required":true},"max_unhealthy_upgraded_instance_percent":{"type":"TypeInt","required":true},"maximum_surge_instances_enabled":{"type":"TypeBool","optional":true},"pause_time_between_batches":{"type":"TypeString","required":true},"prioritize_unhealthy_instances_enabled":{"type":"TypeBool","optional":true}}},"maxItems":1},"scale_in":{"type":"TypeList","optional":true,"elem":{"schema":{"force_deletion_enabled":{"type":"TypeBool","optional":true,"default":false},"rule":{"type":"TypeString","optional":true,"default":"Default"}}},"maxItems":1},"secret":{"type":"TypeList","optional":true,"elem":{"schema":{"certificate":{"type":"TypeSet","required":true,"elem":{"schema":{"url":{"type":"TypeString","required":true}}},"minItems":1},"key_vault_id":{"type":"TypeString","required":true}}}},"secure_boot_enabled":{"type":"TypeBool","optional":true,"forceNew":true},"single_placement_group":{"type":"TypeBool","optional":true,"default":true},"sku":{"type":"TypeString","required":true},"source_image_id":{"type":"TypeString","optional":true},"source_image_reference":{"type":"TypeList","optional":true,"elem":{"schema":{"offer":{"type":"TypeString","required":true,"forceNew":true},"publisher":{"type":"TypeString","required":true,"forceNew":true},"sku":{"type":"TypeString","required":true},"version":{"type":"TypeString","required":true}}},"maxItems":1},"spot_restore":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"enabled":{"type":"TypeBool","optional":true,"default":false,"forceNew":true},"timeout":{"type":"TypeString","optional":true,"default":"PT1H","forceNew":true}}},"maxItems":1},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"termination_notification":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"enabled":{"type":"TypeBool","required":true},"timeout":{"type":"TypeString","optional":true,"default":"PT5M"}}},"maxItems":1},"unique_id":{"type":"TypeString","computed":true},"upgrade_mode":{"type":"TypeString","optional":true,"default":"Manual","forceNew":true},"user_data":{"type":"TypeString","optional":true},"vtpm_enabled":{"type":"TypeBool","optional":true,"forceNew":true},"zone_balance":{"type":"TypeBool","optional":true,"default":false,"forceNew":true},"zones":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":60,"read":5,"delete":60,"update":60}},"azurerm_linux_web_app":{"schema":{"app_settings":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"auth_settings":{"type":"TypeList","optional":true,"elem":{"schema":{"active_directory":{"type":"TypeList","optional":true,"elem":{"schema":{"allowed_audiences":{"type":"TypeList","optional":true,"description":"Specifies a list of Allowed audience values to consider when validating JWTs issued by Azure Active Directory.","elem":{"type":"TypeString"}},"client_id":{"type":"TypeString","required":true,"description":"The ID of the Client to use to authenticate with Azure Active Directory."},"client_secret":{"type":"TypeString","optional":true,"description":"The Client Secret for the Client ID. Cannot be used with `client_secret_setting_name`."},"client_secret_setting_name":{"type":"TypeString","optional":true,"description":"The App Setting name that contains the client secret of the Client. Cannot be used with `client_secret`."}}},"maxItems":1},"additional_login_parameters":{"type":"TypeMap","optional":true,"description":"Specifies a map of Login Parameters to send to the OpenID Connect authorization endpoint when a user logs in.","elem":{"type":"TypeString"}},"allowed_external_redirect_urls":{"type":"TypeList","optional":true,"description":"Specifies a list of External URLs that can be redirected to as part of logging in or logging out of the Windows Web App.","computed":true,"elem":{"type":"TypeString"}},"default_provider":{"type":"TypeString","optional":true,"description":"The default authentication provider to use when multiple providers are configured. Possible values include: `AzureActiveDirectory`, `Facebook`, `Google`, `MicrosoftAccount`, `Twitter`, `Github`.","computed":true},"enabled":{"type":"TypeBool","required":true,"description":"Should the Authentication / Authorization feature be enabled?"},"facebook":{"type":"TypeList","optional":true,"elem":{"schema":{"app_id":{"type":"TypeString","required":true,"description":"The App ID of the Facebook app used for login."},"app_secret":{"type":"TypeString","optional":true,"description":"The App Secret of the Facebook app used for Facebook Login. Cannot be specified with `app_secret_setting_name`."},"app_secret_setting_name":{"type":"TypeString","optional":true,"description":"The app setting name that contains the `app_secret` value used for Facebook Login. Cannot be specified with `app_secret`."},"oauth_scopes":{"type":"TypeList","optional":true,"description":"Specifies a list of OAuth 2.0 scopes to be requested as part of Facebook Login authentication.","elem":{"type":"TypeString"}}}},"maxItems":1},"github":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","required":true,"description":"The ID of the GitHub app used for login."},"client_secret":{"type":"TypeString","optional":true,"description":"The Client Secret of the GitHub app used for GitHub Login. Cannot be specified with `client_secret_setting_name`."},"client_secret_setting_name":{"type":"TypeString","optional":true,"description":"The app setting name that contains the `client_secret` value used for GitHub Login. Cannot be specified with `client_secret`."},"oauth_scopes":{"type":"TypeList","optional":true,"description":"Specifies a list of OAuth 2.0 scopes that will be requested as part of GitHub Login authentication.","elem":{"type":"TypeString"}}}},"maxItems":1},"google":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","required":true,"description":"The OpenID Connect Client ID for the Google web application."},"client_secret":{"type":"TypeString","optional":true,"description":"The client secret associated with the Google web application. Cannot be specified with `client_secret_setting_name`."},"client_secret_setting_name":{"type":"TypeString","optional":true,"description":"The app setting name that contains the `client_secret` value used for Google Login. Cannot be specified with `client_secret`."},"oauth_scopes":{"type":"TypeList","optional":true,"description":"Specifies a list of OAuth 2.0 scopes that will be requested as part of Google Sign-In authentication. If not specified, \"openid\", \"profile\", and \"email\" are used as default scopes.","elem":{"type":"TypeString"}}}},"maxItems":1},"issuer":{"type":"TypeString","optional":true,"description":"The OpenID Connect Issuer URI that represents the entity which issues access tokens."},"microsoft":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","required":true,"description":"The OAuth 2.0 client ID that was created for the app used for authentication."},"client_secret":{"type":"TypeString","optional":true,"description":"The OAuth 2.0 client secret that was created for the app used for authentication. Cannot be specified with `client_secret_setting_name`."},"client_secret_setting_name":{"type":"TypeString","optional":true,"description":"The app setting name containing the OAuth 2.0 client secret that was created for the app used for authentication. Cannot be specified with `client_secret`."},"oauth_scopes":{"type":"TypeList","optional":true,"description":"The list of OAuth 2.0 scopes that will be requested as part of Microsoft Account authentication. If not specified, `wl.basic` is used as the default scope.","elem":{"type":"TypeString"}}}},"maxItems":1},"runtime_version":{"type":"TypeString","optional":true,"description":"The RuntimeVersion of the Authentication / Authorization feature in use.","computed":true},"token_refresh_extension_hours":{"type":"TypeFloat","optional":true,"default":72,"description":"The number of hours after session token expiration that a session token can be used to call the token refresh API. Defaults to `72` hours."},"token_store_enabled":{"type":"TypeBool","optional":true,"default":false,"description":"Should the Windows Web App durably store platform-specific security tokens that are obtained during login flows? Defaults to `false`."},"twitter":{"type":"TypeList","optional":true,"elem":{"schema":{"consumer_key":{"type":"TypeString","required":true,"description":"The OAuth 1.0a consumer key of the Twitter application used for sign-in."},"consumer_secret":{"type":"TypeString","optional":true,"description":"The OAuth 1.0a consumer secret of the Twitter application used for sign-in. Cannot be specified with `consumer_secret_setting_name`."},"consumer_secret_setting_name":{"type":"TypeString","optional":true,"description":"The app setting name that contains the OAuth 1.0a consumer secret of the Twitter application used for sign-in. Cannot be specified with `consumer_secret`."}}},"maxItems":1},"unauthenticated_client_action":{"type":"TypeString","optional":true,"description":"The action to take when an unauthenticated client attempts to access the app. Possible values include: `RedirectToLoginPage`, `AllowAnonymous`.","computed":true}}},"maxItems":1},"auth_settings_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"active_directory_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"allowed_applications":{"type":"TypeList","optional":true,"description":"The list of allowed Applications for the Default Authorisation Policy.","elem":{"type":"TypeString"}},"allowed_audiences":{"type":"TypeList","optional":true,"description":"Specifies a list of Allowed audience values to consider when validating JWTs issued by Azure Active Directory.","elem":{"type":"TypeString"}},"allowed_groups":{"type":"TypeList","optional":true,"description":"The list of allowed Group Names for the Default Authorisation Policy.","elem":{"type":"TypeString"}},"allowed_identities":{"type":"TypeList","optional":true,"description":"The list of allowed Identities for the Default Authorisation Policy.","elem":{"type":"TypeString"}},"client_id":{"type":"TypeString","required":true,"description":"The ID of the Client to use to authenticate with Azure Active Directory."},"client_secret_certificate_thumbprint":{"type":"TypeString","optional":true,"description":"The thumbprint of the certificate used for signing purposes."},"client_secret_setting_name":{"type":"TypeString","optional":true,"description":"The App Setting name that contains the client secret of the Client."},"jwt_allowed_client_applications":{"type":"TypeList","optional":true,"description":"A list of Allowed Client Applications in the JWT Claim.","elem":{"type":"TypeString"}},"jwt_allowed_groups":{"type":"TypeList","optional":true,"description":"A list of Allowed Groups in the JWT Claim.","elem":{"type":"TypeString"}},"login_parameters":{"type":"TypeMap","optional":true,"description":"A map of key-value pairs to send to the Authorisation Endpoint when a user logs in.","elem":{"type":"TypeString"}},"tenant_auth_endpoint":{"type":"TypeString","required":true,"description":"The Azure Tenant Endpoint for the Authenticating Tenant. e.g. `https://login.microsoftonline.com/v2.0/{tenant-guid}/`."},"www_authentication_disabled":{"type":"TypeBool","optional":true,"description":"Should the www-authenticate provider should be omitted from the request? Defaults to `false`"}}},"maxItems":1},"apple_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","required":true,"description":"The OpenID Connect Client ID for the Apple web application."},"client_secret_setting_name":{"type":"TypeString","required":true,"description":"The app setting name that contains the `client_secret` value used for Apple Login."},"login_scopes":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"auth_enabled":{"type":"TypeBool","optional":true,"description":"Should the AuthV2 Settings be enabled. Defaults to `false`"},"azure_static_web_app_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","required":true,"description":"The ID of the Client to use to authenticate with Azure Static Web App Authentication."}}},"maxItems":1},"config_file_path":{"type":"TypeString","optional":true,"description":"The path to the App Auth settings. **Note:** Relative Paths are evaluated from the Site Root directory."},"custom_oidc_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"authorisation_endpoint":{"type":"TypeString","description":"The endpoint to make the Authorisation Request.","computed":true},"certification_uri":{"type":"TypeString","description":"The endpoint that provides the keys necessary to validate the token.","computed":true},"client_credential_method":{"type":"TypeString","description":"The Client Credential Method used. Currently the only supported value is `ClientSecretPost`.","computed":true},"client_id":{"type":"TypeString","required":true,"description":"The ID of the Client to use to authenticate with this Custom OIDC."},"client_secret_setting_name":{"type":"TypeString","description":"The App Setting name that contains the secret for this Custom OIDC Client.","computed":true},"issuer_endpoint":{"type":"TypeString","description":"The endpoint that issued the Token.","computed":true},"name":{"type":"TypeString","required":true,"description":"The name of the Custom OIDC Authentication Provider."},"name_claim_type":{"type":"TypeString","optional":true,"description":"The name of the claim that contains the users name."},"openid_configuration_endpoint":{"type":"TypeString","required":true,"description":"The endpoint that contains all the configuration endpoints for this Custom OIDC provider."},"scopes":{"type":"TypeList","optional":true,"description":"The list of the scopes that should be requested while authenticating.","elem":{"type":"TypeString"}},"token_endpoint":{"type":"TypeString","description":"The endpoint used to request a Token.","computed":true}}}},"default_provider":{"type":"TypeString","optional":true,"description":"The Default Authentication Provider to use when the `unauthenticated_action` is set to `RedirectToLoginPage`. Possible values include: `apple`, `azureactivedirectory`, `facebook`, `github`, `google`, `twitter` and the `name` of your `custom_oidc_v2` provider."},"excluded_paths":{"type":"TypeList","optional":true,"description":"The paths which should be excluded from the `unauthenticated_action` when it is set to `RedirectToLoginPage`.","elem":{"type":"TypeString"}},"facebook_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"app_id":{"type":"TypeString","required":true,"description":"The App ID of the Facebook app used for login."},"app_secret_setting_name":{"type":"TypeString","required":true,"description":"The app setting name that contains the `app_secret` value used for Facebook Login."},"graph_api_version":{"type":"TypeString","optional":true,"description":"The version of the Facebook API to be used while logging in.","computed":true},"login_scopes":{"type":"TypeList","optional":true,"description":"Specifies a list of scopes to be requested as part of Facebook Login authentication.","elem":{"type":"TypeString"}}}},"maxItems":1},"forward_proxy_convention":{"type":"TypeString","optional":true,"default":"NoProxy","description":"The convention used to determine the url of the request made. Possible values include `ForwardProxyConventionNoProxy`, `ForwardProxyConventionStandard`, `ForwardProxyConventionCustom`. Defaults to `ForwardProxyConventionNoProxy`"},"forward_proxy_custom_host_header_name":{"type":"TypeString","optional":true,"description":"The name of the header containing the host of the request."},"forward_proxy_custom_scheme_header_name":{"type":"TypeString","optional":true,"description":"The name of the header containing the scheme of the request."},"github_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","required":true,"description":"The ID of the GitHub app used for login."},"client_secret_setting_name":{"type":"TypeString","required":true,"description":"The app setting name that contains the `client_secret` value used for GitHub Login."},"login_scopes":{"type":"TypeList","optional":true,"description":"Specifies a list of OAuth 2.0 scopes that will be requested as part of GitHub Login authentication.","elem":{"type":"TypeString"}}}},"maxItems":1},"google_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"allowed_audiences":{"type":"TypeList","optional":true,"description":"Specifies a list of Allowed Audiences that will be requested as part of Google Sign-In authentication.","elem":{"type":"TypeString"}},"client_id":{"type":"TypeString","required":true,"description":"The OpenID Connect Client ID for the Google web application."},"client_secret_setting_name":{"type":"TypeString","required":true,"description":"The app setting name that contains the `client_secret` value used for Google Login."},"login_scopes":{"type":"TypeList","optional":true,"description":"Specifies a list of Login scopes that will be requested as part of Google Sign-In authentication.","elem":{"type":"TypeString"}}}},"maxItems":1},"http_route_api_prefix":{"type":"TypeString","optional":true,"default":"/.auth","description":"The prefix that should precede all the authentication and authorisation paths. Defaults to `/.auth`"},"login":{"type":"TypeList","required":true,"elem":{"schema":{"allowed_external_redirect_urls":{"type":"TypeList","optional":true,"description":"External URLs that can be redirected to as part of logging in or logging out of the app. This is an advanced setting typically only needed by Windows Store application backends. **Note:** URLs within the current domain are always implicitly allowed.","elem":{"type":"TypeString"}},"cookie_expiration_convention":{"type":"TypeString","optional":true,"default":"FixedTime","description":"The method by which cookies expire. Possible values include: `FixedTime`, and `IdentityProviderDerived`. Defaults to `FixedTime`."},"cookie_expiration_time":{"type":"TypeString","optional":true,"default":"08:00:00","description":"The time after the request is made when the session cookie should expire. Defaults to `08:00:00`."},"logout_endpoint":{"type":"TypeString","optional":true,"description":"The endpoint to which logout requests should be made."},"nonce_expiration_time":{"type":"TypeString","optional":true,"default":"00:05:00","description":"The time after the request is made when the nonce should expire. Defaults to `00:05:00`."},"preserve_url_fragments_for_logins":{"type":"TypeBool","optional":true,"default":false,"description":"Should the fragments from the request be preserved after the login request is made. Defaults to `false`."},"token_refresh_extension_time":{"type":"TypeFloat","optional":true,"default":72,"description":"The number of hours after session token expiration that a session token can be used to call the token refresh API. Defaults to `72` hours."},"token_store_enabled":{"type":"TypeBool","optional":true,"default":false,"description":"Should the Token Store configuration Enabled. Defaults to `false`"},"token_store_path":{"type":"TypeString","optional":true,"description":"The directory path in the App Filesystem in which the tokens will be stored."},"token_store_sas_setting_name":{"type":"TypeString","optional":true,"description":"The name of the app setting which contains the SAS URL of the blob storage containing the tokens."},"validate_nonce":{"type":"TypeBool","optional":true,"default":true,"description":"Should the nonce be validated while completing the login flow. Defaults to `true`."}}},"maxItems":1},"microsoft_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"allowed_audiences":{"type":"TypeList","optional":true,"description":"Specifies a list of Allowed Audiences that will be requested as part of Microsoft Sign-In authentication.","elem":{"type":"TypeString"}},"client_id":{"type":"TypeString","required":true,"description":"The OAuth 2.0 client ID that was created for the app used for authentication."},"client_secret_setting_name":{"type":"TypeString","required":true,"description":"The app setting name containing the OAuth 2.0 client secret that was created for the app used for authentication."},"login_scopes":{"type":"TypeList","optional":true,"description":"The list of Login scopes that will be requested as part of Microsoft Account authentication.","elem":{"type":"TypeString"}}}},"maxItems":1},"require_authentication":{"type":"TypeBool","optional":true,"description":"Should the authentication flow be used for all requests."},"require_https":{"type":"TypeBool","optional":true,"default":true,"description":"Should HTTPS be required on connections? Defaults to true."},"runtime_version":{"type":"TypeString","optional":true,"default":"~1","description":"The Runtime Version of the Authentication and Authorisation feature of this App. Defaults to `~1`"},"twitter_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"consumer_key":{"type":"TypeString","required":true,"description":"The OAuth 1.0a consumer key of the Twitter application used for sign-in."},"consumer_secret_setting_name":{"type":"TypeString","required":true,"description":"The app setting name that contains the OAuth 1.0a consumer secret of the Twitter application used for sign-in."}}},"maxItems":1},"unauthenticated_action":{"type":"TypeString","optional":true,"default":"RedirectToLoginPage","description":"The action to take for requests made without authentication. Possible values include `RedirectToLoginPage`, `AllowAnonymous`, `Return401`, and `Return403`. Defaults to `RedirectToLoginPage`."}}},"maxItems":1},"backup":{"type":"TypeList","optional":true,"elem":{"schema":{"enabled":{"type":"TypeBool","optional":true,"default":true,"description":"Should this backup job be enabled?"},"name":{"type":"TypeString","required":true,"description":"The name which should be used for this Backup."},"schedule":{"type":"TypeList","required":true,"elem":{"schema":{"frequency_interval":{"type":"TypeInt","required":true,"description":"How often the backup should be executed (e.g. for weekly backup, this should be set to `7` and `frequency_unit` should be set to `Day`)."},"frequency_unit":{"type":"TypeString","required":true,"description":"The unit of time for how often the backup should take place. Possible values include: `Day` and `Hour`."},"keep_at_least_one_backup":{"type":"TypeBool","optional":true,"default":false,"description":"Should the service keep at least one backup, regardless of age of backup. Defaults to `false`."},"last_execution_time":{"type":"TypeString","description":"The time the backup was last attempted.","computed":true},"retention_period_days":{"type":"TypeInt","optional":true,"default":30,"description":"After how many days backups should be deleted."},"start_time":{"type":"TypeString","optional":true,"description":"When the schedule should start working in RFC-3339 format.","computed":true}}},"maxItems":1},"storage_account_url":{"type":"TypeString","required":true,"description":"The SAS URL to the container."}}},"maxItems":1},"client_affinity_enabled":{"type":"TypeBool","optional":true,"default":false},"client_certificate_enabled":{"type":"TypeBool","optional":true,"default":false},"client_certificate_exclusion_paths":{"type":"TypeString","optional":true,"description":"Paths to exclude when using client certificates, separated by ;"},"client_certificate_mode":{"type":"TypeString","optional":true,"default":"Required"},"connection_string":{"type":"TypeSet","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true,"description":"The name which should be used for this Connection."},"type":{"type":"TypeString","required":true,"description":"Type of database. Possible values include: `MySQL`, `SQLServer`, `SQLAzure`, `Custom`, `NotificationHub`, `ServiceBus`, `EventHub`, `APIHub`, `DocDb`, `RedisCache`, and `PostgreSQL`."},"value":{"type":"TypeString","required":true,"description":"The connection string value."}}}},"custom_domain_verification_id":{"type":"TypeString","computed":true},"default_hostname":{"type":"TypeString","computed":true},"enabled":{"type":"TypeBool","optional":true,"default":true},"ftp_publish_basic_authentication_enabled":{"type":"TypeBool","optional":true,"default":true},"hosting_environment_id":{"type":"TypeString","computed":true},"https_only":{"type":"TypeBool","optional":true,"default":false},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"key_vault_reference_identity_id":{"type":"TypeString","optional":true,"computed":true},"kind":{"type":"TypeString","computed":true},"location":{"type":"TypeString","required":true,"forceNew":true},"logs":{"type":"TypeList","optional":true,"elem":{"schema":{"application_logs":{"type":"TypeList","optional":true,"elem":{"schema":{"azure_blob_storage":{"type":"TypeList","optional":true,"elem":{"schema":{"level":{"type":"TypeString","required":true},"retention_in_days":{"type":"TypeInt","required":true},"sas_url":{"type":"TypeString","required":true}}},"maxItems":1},"file_system_level":{"type":"TypeString","required":true}}},"maxItems":1},"detailed_error_messages":{"type":"TypeBool","optional":true,"default":false},"failed_request_tracing":{"type":"TypeBool","optional":true,"default":false},"http_logs":{"type":"TypeList","optional":true,"elem":{"schema":{"azure_blob_storage":{"type":"TypeList","optional":true,"elem":{"schema":{"retention_in_days":{"type":"TypeInt","optional":true,"default":0},"sas_url":{"type":"TypeString","required":true}}},"maxItems":1},"file_system":{"type":"TypeList","optional":true,"elem":{"schema":{"retention_in_days":{"type":"TypeInt","required":true},"retention_in_mb":{"type":"TypeInt","required":true}}},"maxItems":1}}},"maxItems":1}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"outbound_ip_address_list":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"outbound_ip_addresses":{"type":"TypeString","computed":true},"possible_outbound_ip_address_list":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"possible_outbound_ip_addresses":{"type":"TypeString","computed":true},"public_network_access_enabled":{"type":"TypeBool","optional":true,"default":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"service_plan_id":{"type":"TypeString","required":true},"site_config":{"type":"TypeList","required":true,"elem":{"schema":{"always_on":{"type":"TypeBool","optional":true,"default":true},"api_definition_url":{"type":"TypeString","optional":true},"api_management_api_id":{"type":"TypeString","optional":true},"app_command_line":{"type":"TypeString","optional":true},"application_stack":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"docker_image_name":{"type":"TypeString","optional":true},"docker_registry_password":{"type":"TypeString","optional":true},"docker_registry_url":{"type":"TypeString","optional":true},"docker_registry_username":{"type":"TypeString","optional":true},"dotnet_version":{"type":"TypeString","optional":true},"go_version":{"type":"TypeString","optional":true},"java_server":{"type":"TypeString","optional":true},"java_server_version":{"type":"TypeString","optional":true},"java_version":{"type":"TypeString","optional":true},"node_version":{"type":"TypeString","optional":true},"php_version":{"type":"TypeString","optional":true},"python_version":{"type":"TypeString","optional":true},"ruby_version":{"type":"TypeString","optional":true}}},"maxItems":1},"auto_heal_setting":{"type":"TypeList","optional":true,"elem":{"schema":{"action":{"type":"TypeList","optional":true,"elem":{"schema":{"action_type":{"type":"TypeString","required":true},"minimum_process_execution_time":{"type":"TypeString","optional":true,"computed":true}}},"maxItems":1},"trigger":{"type":"TypeList","optional":true,"elem":{"schema":{"requests":{"type":"TypeList","optional":true,"elem":{"schema":{"count":{"type":"TypeInt","required":true},"interval":{"type":"TypeString","required":true}}},"maxItems":1},"slow_request":{"type":"TypeList","optional":true,"elem":{"schema":{"count":{"type":"TypeInt","required":true},"interval":{"type":"TypeString","required":true},"time_taken":{"type":"TypeString","required":true}}},"maxItems":1},"slow_request_with_path":{"type":"TypeList","optional":true,"elem":{"schema":{"count":{"type":"TypeInt","required":true},"interval":{"type":"TypeString","required":true},"path":{"type":"TypeString","optional":true},"time_taken":{"type":"TypeString","required":true}}}},"status_code":{"type":"TypeSet","optional":true,"elem":{"schema":{"count":{"type":"TypeInt","required":true},"interval":{"type":"TypeString","required":true},"path":{"type":"TypeString","optional":true},"status_code_range":{"type":"TypeString","required":true},"sub_status":{"type":"TypeInt","optional":true},"win32_status_code":{"type":"TypeInt","optional":true}}}}}},"maxItems":1}}},"maxItems":1},"container_registry_managed_identity_client_id":{"type":"TypeString","optional":true},"container_registry_use_managed_identity":{"type":"TypeBool","optional":true,"default":false},"cors":{"type":"TypeList","optional":true,"elem":{"schema":{"allowed_origins":{"type":"TypeSet","optional":true,"description":"Specifies a list of origins that should be allowed to make cross-origin calls.","elem":{"type":"TypeString"},"minItems":1},"support_credentials":{"type":"TypeBool","optional":true,"default":false,"description":"Are credentials allowed in CORS requests? Defaults to `false`."}}},"maxItems":1},"default_documents":{"type":"TypeList","optional":true,"computed":true,"elem":{"type":"TypeString"}},"detailed_error_logging_enabled":{"type":"TypeBool","computed":true},"ftps_state":{"type":"TypeString","optional":true,"default":"Disabled"},"health_check_eviction_time_in_min":{"type":"TypeInt","optional":true,"description":"The amount of time in minutes that a node is unhealthy before being removed from the load balancer. Possible values are between `2` and `10`. Only valid in conjunction with `health_check_path`"},"health_check_path":{"type":"TypeString","optional":true},"http2_enabled":{"type":"TypeBool","optional":true,"default":false},"ip_restriction":{"type":"TypeList","optional":true,"elem":{"schema":{"action":{"type":"TypeString","optional":true,"default":"Allow","description":"The action to take. Possible values are `Allow` or `Deny`."},"description":{"type":"TypeString","optional":true,"description":"The description of the IP restriction rule."},"headers":{"type":"TypeList","configMode":"Auto","optional":true,"elem":{"schema":{"x_azure_fdid":{"type":"TypeList","optional":true,"description":"Specifies a list of Azure Front Door IDs.","elem":{"type":"TypeString"},"maxItems":8},"x_fd_health_probe":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"maxItems":1},"x_forwarded_for":{"type":"TypeList","optional":true,"description":"Specifies a list of addresses for which matching should be applied. Omitting this value means allow any.","elem":{"type":"TypeString"},"maxItems":8},"x_forwarded_host":{"type":"TypeList","optional":true,"description":"Specifies a list of Hosts for which matching should be applied.","elem":{"type":"TypeString"},"maxItems":8}}},"maxItems":1},"ip_address":{"type":"TypeString","optional":true,"description":"The CIDR notation of the IP or IP Range to match. For example: `10.0.0.0/24` or `192.168.10.1/32` or `fe80::/64` or `13.107.6.152/31,13.107.128.0/22`"},"name":{"type":"TypeString","optional":true,"description":"The name which should be used for this `ip_restriction`.","computed":true},"priority":{"type":"TypeInt","optional":true,"default":65000,"description":"The priority value of this `ip_restriction`."},"service_tag":{"type":"TypeString","optional":true,"description":"The Service Tag used for this IP Restriction."},"virtual_network_subnet_id":{"type":"TypeString","optional":true,"description":"The Virtual Network Subnet ID used for this IP Restriction."}}}},"ip_restriction_default_action":{"type":"TypeString","optional":true,"default":"Allow"},"linux_fx_version":{"type":"TypeString","computed":true},"load_balancing_mode":{"type":"TypeString","optional":true,"default":"LeastRequests"},"local_mysql_enabled":{"type":"TypeBool","optional":true,"default":false},"managed_pipeline_mode":{"type":"TypeString","optional":true,"default":"Integrated"},"minimum_tls_version":{"type":"TypeString","optional":true,"default":"1.2"},"remote_debugging_enabled":{"type":"TypeBool","optional":true,"default":false},"remote_debugging_version":{"type":"TypeString","optional":true,"computed":true},"scm_ip_restriction":{"type":"TypeList","optional":true,"elem":{"schema":{"action":{"type":"TypeString","optional":true,"default":"Allow","description":"The action to take. Possible values are `Allow` or `Deny`."},"description":{"type":"TypeString","optional":true,"description":"The description of the IP restriction rule."},"headers":{"type":"TypeList","configMode":"Auto","optional":true,"elem":{"schema":{"x_azure_fdid":{"type":"TypeList","optional":true,"description":"Specifies a list of Azure Front Door IDs.","elem":{"type":"TypeString"},"maxItems":8},"x_fd_health_probe":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"maxItems":1},"x_forwarded_for":{"type":"TypeList","optional":true,"description":"Specifies a list of addresses for which matching should be applied. Omitting this value means allow any.","elem":{"type":"TypeString"},"maxItems":8},"x_forwarded_host":{"type":"TypeList","optional":true,"description":"Specifies a list of Hosts for which matching should be applied.","elem":{"type":"TypeString"},"maxItems":8}}},"maxItems":1},"ip_address":{"type":"TypeString","optional":true,"description":"The CIDR notation of the IP or IP Range to match. For example: `10.0.0.0/24` or `192.168.10.1/32` or `fe80::/64` or `13.107.6.152/31,13.107.128.0/22`"},"name":{"type":"TypeString","optional":true,"description":"The name which should be used for this `ip_restriction`.","computed":true},"priority":{"type":"TypeInt","optional":true,"default":65000,"description":"The priority value of this `ip_restriction`."},"service_tag":{"type":"TypeString","optional":true,"description":"The Service Tag used for this IP Restriction."},"virtual_network_subnet_id":{"type":"TypeString","optional":true,"description":"The Virtual Network Subnet ID used for this IP Restriction."}}}},"scm_ip_restriction_default_action":{"type":"TypeString","optional":true,"default":"Allow"},"scm_minimum_tls_version":{"type":"TypeString","optional":true,"default":"1.2"},"scm_type":{"type":"TypeString","computed":true},"scm_use_main_ip_restriction":{"type":"TypeBool","optional":true,"default":false},"use_32_bit_worker":{"type":"TypeBool","optional":true,"default":true},"vnet_route_all_enabled":{"type":"TypeBool","optional":true,"default":false,"description":"Should all outbound traffic to have Virtual Network Security Groups and User Defined Routes applied? Defaults to `false`."},"websockets_enabled":{"type":"TypeBool","optional":true,"default":false},"worker_count":{"type":"TypeInt","optional":true,"computed":true}}},"maxItems":1},"site_credential":{"type":"TypeList","computed":true,"elem":{"schema":{"name":{"type":"TypeString","description":"The Site Credentials Username used for publishing.","computed":true},"password":{"type":"TypeString","description":"The Site Credentials Password used for publishing.","computed":true}}}},"sticky_settings":{"type":"TypeList","optional":true,"elem":{"schema":{"app_setting_names":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"minItems":1},"connection_string_names":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"minItems":1}}},"maxItems":1},"storage_account":{"type":"TypeSet","optional":true,"elem":{"schema":{"access_key":{"type":"TypeString","required":true},"account_name":{"type":"TypeString","required":true},"mount_path":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true},"share_name":{"type":"TypeString","required":true},"type":{"type":"TypeString","required":true}}}},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"virtual_network_subnet_id":{"type":"TypeString","optional":true},"webdeploy_publish_basic_authentication_enabled":{"type":"TypeBool","optional":true,"default":true},"zip_deploy_file":{"type":"TypeString","optional":true,"description":"The local path and filename of the Zip packaged application to deploy to this Linux Web App. **Note:** Using this value requires either `WEBSITE_RUN_FROM_PACKAGE=1` or `SCM_DO_BUILD_DURING_DEPLOYMENT=true` to be set on the App in `app_settings`.","computed":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_linux_web_app_slot":{"schema":{"app_metadata":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"app_service_id":{"type":"TypeString","required":true},"app_settings":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"auth_settings":{"type":"TypeList","optional":true,"elem":{"schema":{"active_directory":{"type":"TypeList","optional":true,"elem":{"schema":{"allowed_audiences":{"type":"TypeList","optional":true,"description":"Specifies a list of Allowed audience values to consider when validating JWTs issued by Azure Active Directory.","elem":{"type":"TypeString"}},"client_id":{"type":"TypeString","required":true,"description":"The ID of the Client to use to authenticate with Azure Active Directory."},"client_secret":{"type":"TypeString","optional":true,"description":"The Client Secret for the Client ID. Cannot be used with `client_secret_setting_name`."},"client_secret_setting_name":{"type":"TypeString","optional":true,"description":"The App Setting name that contains the client secret of the Client. Cannot be used with `client_secret`."}}},"maxItems":1},"additional_login_parameters":{"type":"TypeMap","optional":true,"description":"Specifies a map of Login Parameters to send to the OpenID Connect authorization endpoint when a user logs in.","elem":{"type":"TypeString"}},"allowed_external_redirect_urls":{"type":"TypeList","optional":true,"description":"Specifies a list of External URLs that can be redirected to as part of logging in or logging out of the Windows Web App.","computed":true,"elem":{"type":"TypeString"}},"default_provider":{"type":"TypeString","optional":true,"description":"The default authentication provider to use when multiple providers are configured. Possible values include: `AzureActiveDirectory`, `Facebook`, `Google`, `MicrosoftAccount`, `Twitter`, `Github`.","computed":true},"enabled":{"type":"TypeBool","required":true,"description":"Should the Authentication / Authorization feature be enabled?"},"facebook":{"type":"TypeList","optional":true,"elem":{"schema":{"app_id":{"type":"TypeString","required":true,"description":"The App ID of the Facebook app used for login."},"app_secret":{"type":"TypeString","optional":true,"description":"The App Secret of the Facebook app used for Facebook Login. Cannot be specified with `app_secret_setting_name`."},"app_secret_setting_name":{"type":"TypeString","optional":true,"description":"The app setting name that contains the `app_secret` value used for Facebook Login. Cannot be specified with `app_secret`."},"oauth_scopes":{"type":"TypeList","optional":true,"description":"Specifies a list of OAuth 2.0 scopes to be requested as part of Facebook Login authentication.","elem":{"type":"TypeString"}}}},"maxItems":1},"github":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","required":true,"description":"The ID of the GitHub app used for login."},"client_secret":{"type":"TypeString","optional":true,"description":"The Client Secret of the GitHub app used for GitHub Login. Cannot be specified with `client_secret_setting_name`."},"client_secret_setting_name":{"type":"TypeString","optional":true,"description":"The app setting name that contains the `client_secret` value used for GitHub Login. Cannot be specified with `client_secret`."},"oauth_scopes":{"type":"TypeList","optional":true,"description":"Specifies a list of OAuth 2.0 scopes that will be requested as part of GitHub Login authentication.","elem":{"type":"TypeString"}}}},"maxItems":1},"google":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","required":true,"description":"The OpenID Connect Client ID for the Google web application."},"client_secret":{"type":"TypeString","optional":true,"description":"The client secret associated with the Google web application. Cannot be specified with `client_secret_setting_name`."},"client_secret_setting_name":{"type":"TypeString","optional":true,"description":"The app setting name that contains the `client_secret` value used for Google Login. Cannot be specified with `client_secret`."},"oauth_scopes":{"type":"TypeList","optional":true,"description":"Specifies a list of OAuth 2.0 scopes that will be requested as part of Google Sign-In authentication. If not specified, \"openid\", \"profile\", and \"email\" are used as default scopes.","elem":{"type":"TypeString"}}}},"maxItems":1},"issuer":{"type":"TypeString","optional":true,"description":"The OpenID Connect Issuer URI that represents the entity which issues access tokens."},"microsoft":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","required":true,"description":"The OAuth 2.0 client ID that was created for the app used for authentication."},"client_secret":{"type":"TypeString","optional":true,"description":"The OAuth 2.0 client secret that was created for the app used for authentication. Cannot be specified with `client_secret_setting_name`."},"client_secret_setting_name":{"type":"TypeString","optional":true,"description":"The app setting name containing the OAuth 2.0 client secret that was created for the app used for authentication. Cannot be specified with `client_secret`."},"oauth_scopes":{"type":"TypeList","optional":true,"description":"The list of OAuth 2.0 scopes that will be requested as part of Microsoft Account authentication. If not specified, `wl.basic` is used as the default scope.","elem":{"type":"TypeString"}}}},"maxItems":1},"runtime_version":{"type":"TypeString","optional":true,"description":"The RuntimeVersion of the Authentication / Authorization feature in use.","computed":true},"token_refresh_extension_hours":{"type":"TypeFloat","optional":true,"default":72,"description":"The number of hours after session token expiration that a session token can be used to call the token refresh API. Defaults to `72` hours."},"token_store_enabled":{"type":"TypeBool","optional":true,"default":false,"description":"Should the Windows Web App durably store platform-specific security tokens that are obtained during login flows? Defaults to `false`."},"twitter":{"type":"TypeList","optional":true,"elem":{"schema":{"consumer_key":{"type":"TypeString","required":true,"description":"The OAuth 1.0a consumer key of the Twitter application used for sign-in."},"consumer_secret":{"type":"TypeString","optional":true,"description":"The OAuth 1.0a consumer secret of the Twitter application used for sign-in. Cannot be specified with `consumer_secret_setting_name`."},"consumer_secret_setting_name":{"type":"TypeString","optional":true,"description":"The app setting name that contains the OAuth 1.0a consumer secret of the Twitter application used for sign-in. Cannot be specified with `consumer_secret`."}}},"maxItems":1},"unauthenticated_client_action":{"type":"TypeString","optional":true,"description":"The action to take when an unauthenticated client attempts to access the app. Possible values include: `RedirectToLoginPage`, `AllowAnonymous`.","computed":true}}},"maxItems":1},"auth_settings_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"active_directory_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"allowed_applications":{"type":"TypeList","optional":true,"description":"The list of allowed Applications for the Default Authorisation Policy.","elem":{"type":"TypeString"}},"allowed_audiences":{"type":"TypeList","optional":true,"description":"Specifies a list of Allowed audience values to consider when validating JWTs issued by Azure Active Directory.","elem":{"type":"TypeString"}},"allowed_groups":{"type":"TypeList","optional":true,"description":"The list of allowed Group Names for the Default Authorisation Policy.","elem":{"type":"TypeString"}},"allowed_identities":{"type":"TypeList","optional":true,"description":"The list of allowed Identities for the Default Authorisation Policy.","elem":{"type":"TypeString"}},"client_id":{"type":"TypeString","required":true,"description":"The ID of the Client to use to authenticate with Azure Active Directory."},"client_secret_certificate_thumbprint":{"type":"TypeString","optional":true,"description":"The thumbprint of the certificate used for signing purposes."},"client_secret_setting_name":{"type":"TypeString","optional":true,"description":"The App Setting name that contains the client secret of the Client."},"jwt_allowed_client_applications":{"type":"TypeList","optional":true,"description":"A list of Allowed Client Applications in the JWT Claim.","elem":{"type":"TypeString"}},"jwt_allowed_groups":{"type":"TypeList","optional":true,"description":"A list of Allowed Groups in the JWT Claim.","elem":{"type":"TypeString"}},"login_parameters":{"type":"TypeMap","optional":true,"description":"A map of key-value pairs to send to the Authorisation Endpoint when a user logs in.","elem":{"type":"TypeString"}},"tenant_auth_endpoint":{"type":"TypeString","required":true,"description":"The Azure Tenant Endpoint for the Authenticating Tenant. e.g. `https://login.microsoftonline.com/v2.0/{tenant-guid}/`."},"www_authentication_disabled":{"type":"TypeBool","optional":true,"description":"Should the www-authenticate provider should be omitted from the request? Defaults to `false`"}}},"maxItems":1},"apple_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","required":true,"description":"The OpenID Connect Client ID for the Apple web application."},"client_secret_setting_name":{"type":"TypeString","required":true,"description":"The app setting name that contains the `client_secret` value used for Apple Login."},"login_scopes":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"auth_enabled":{"type":"TypeBool","optional":true,"description":"Should the AuthV2 Settings be enabled. Defaults to `false`"},"azure_static_web_app_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","required":true,"description":"The ID of the Client to use to authenticate with Azure Static Web App Authentication."}}},"maxItems":1},"config_file_path":{"type":"TypeString","optional":true,"description":"The path to the App Auth settings. **Note:** Relative Paths are evaluated from the Site Root directory."},"custom_oidc_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"authorisation_endpoint":{"type":"TypeString","description":"The endpoint to make the Authorisation Request.","computed":true},"certification_uri":{"type":"TypeString","description":"The endpoint that provides the keys necessary to validate the token.","computed":true},"client_credential_method":{"type":"TypeString","description":"The Client Credential Method used. Currently the only supported value is `ClientSecretPost`.","computed":true},"client_id":{"type":"TypeString","required":true,"description":"The ID of the Client to use to authenticate with this Custom OIDC."},"client_secret_setting_name":{"type":"TypeString","description":"The App Setting name that contains the secret for this Custom OIDC Client.","computed":true},"issuer_endpoint":{"type":"TypeString","description":"The endpoint that issued the Token.","computed":true},"name":{"type":"TypeString","required":true,"description":"The name of the Custom OIDC Authentication Provider."},"name_claim_type":{"type":"TypeString","optional":true,"description":"The name of the claim that contains the users name."},"openid_configuration_endpoint":{"type":"TypeString","required":true,"description":"The endpoint that contains all the configuration endpoints for this Custom OIDC provider."},"scopes":{"type":"TypeList","optional":true,"description":"The list of the scopes that should be requested while authenticating.","elem":{"type":"TypeString"}},"token_endpoint":{"type":"TypeString","description":"The endpoint used to request a Token.","computed":true}}}},"default_provider":{"type":"TypeString","optional":true,"description":"The Default Authentication Provider to use when the `unauthenticated_action` is set to `RedirectToLoginPage`. Possible values include: `apple`, `azureactivedirectory`, `facebook`, `github`, `google`, `twitter` and the `name` of your `custom_oidc_v2` provider."},"excluded_paths":{"type":"TypeList","optional":true,"description":"The paths which should be excluded from the `unauthenticated_action` when it is set to `RedirectToLoginPage`.","elem":{"type":"TypeString"}},"facebook_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"app_id":{"type":"TypeString","required":true,"description":"The App ID of the Facebook app used for login."},"app_secret_setting_name":{"type":"TypeString","required":true,"description":"The app setting name that contains the `app_secret` value used for Facebook Login."},"graph_api_version":{"type":"TypeString","optional":true,"description":"The version of the Facebook API to be used while logging in.","computed":true},"login_scopes":{"type":"TypeList","optional":true,"description":"Specifies a list of scopes to be requested as part of Facebook Login authentication.","elem":{"type":"TypeString"}}}},"maxItems":1},"forward_proxy_convention":{"type":"TypeString","optional":true,"default":"NoProxy","description":"The convention used to determine the url of the request made. Possible values include `ForwardProxyConventionNoProxy`, `ForwardProxyConventionStandard`, `ForwardProxyConventionCustom`. Defaults to `ForwardProxyConventionNoProxy`"},"forward_proxy_custom_host_header_name":{"type":"TypeString","optional":true,"description":"The name of the header containing the host of the request."},"forward_proxy_custom_scheme_header_name":{"type":"TypeString","optional":true,"description":"The name of the header containing the scheme of the request."},"github_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","required":true,"description":"The ID of the GitHub app used for login."},"client_secret_setting_name":{"type":"TypeString","required":true,"description":"The app setting name that contains the `client_secret` value used for GitHub Login."},"login_scopes":{"type":"TypeList","optional":true,"description":"Specifies a list of OAuth 2.0 scopes that will be requested as part of GitHub Login authentication.","elem":{"type":"TypeString"}}}},"maxItems":1},"google_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"allowed_audiences":{"type":"TypeList","optional":true,"description":"Specifies a list of Allowed Audiences that will be requested as part of Google Sign-In authentication.","elem":{"type":"TypeString"}},"client_id":{"type":"TypeString","required":true,"description":"The OpenID Connect Client ID for the Google web application."},"client_secret_setting_name":{"type":"TypeString","required":true,"description":"The app setting name that contains the `client_secret` value used for Google Login."},"login_scopes":{"type":"TypeList","optional":true,"description":"Specifies a list of Login scopes that will be requested as part of Google Sign-In authentication.","elem":{"type":"TypeString"}}}},"maxItems":1},"http_route_api_prefix":{"type":"TypeString","optional":true,"default":"/.auth","description":"The prefix that should precede all the authentication and authorisation paths. Defaults to `/.auth`"},"login":{"type":"TypeList","required":true,"elem":{"schema":{"allowed_external_redirect_urls":{"type":"TypeList","optional":true,"description":"External URLs that can be redirected to as part of logging in or logging out of the app. This is an advanced setting typically only needed by Windows Store application backends. **Note:** URLs within the current domain are always implicitly allowed.","elem":{"type":"TypeString"}},"cookie_expiration_convention":{"type":"TypeString","optional":true,"default":"FixedTime","description":"The method by which cookies expire. Possible values include: `FixedTime`, and `IdentityProviderDerived`. Defaults to `FixedTime`."},"cookie_expiration_time":{"type":"TypeString","optional":true,"default":"08:00:00","description":"The time after the request is made when the session cookie should expire. Defaults to `08:00:00`."},"logout_endpoint":{"type":"TypeString","optional":true,"description":"The endpoint to which logout requests should be made."},"nonce_expiration_time":{"type":"TypeString","optional":true,"default":"00:05:00","description":"The time after the request is made when the nonce should expire. Defaults to `00:05:00`."},"preserve_url_fragments_for_logins":{"type":"TypeBool","optional":true,"default":false,"description":"Should the fragments from the request be preserved after the login request is made. Defaults to `false`."},"token_refresh_extension_time":{"type":"TypeFloat","optional":true,"default":72,"description":"The number of hours after session token expiration that a session token can be used to call the token refresh API. Defaults to `72` hours."},"token_store_enabled":{"type":"TypeBool","optional":true,"default":false,"description":"Should the Token Store configuration Enabled. Defaults to `false`"},"token_store_path":{"type":"TypeString","optional":true,"description":"The directory path in the App Filesystem in which the tokens will be stored."},"token_store_sas_setting_name":{"type":"TypeString","optional":true,"description":"The name of the app setting which contains the SAS URL of the blob storage containing the tokens."},"validate_nonce":{"type":"TypeBool","optional":true,"default":true,"description":"Should the nonce be validated while completing the login flow. Defaults to `true`."}}},"maxItems":1},"microsoft_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"allowed_audiences":{"type":"TypeList","optional":true,"description":"Specifies a list of Allowed Audiences that will be requested as part of Microsoft Sign-In authentication.","elem":{"type":"TypeString"}},"client_id":{"type":"TypeString","required":true,"description":"The OAuth 2.0 client ID that was created for the app used for authentication."},"client_secret_setting_name":{"type":"TypeString","required":true,"description":"The app setting name containing the OAuth 2.0 client secret that was created for the app used for authentication."},"login_scopes":{"type":"TypeList","optional":true,"description":"The list of Login scopes that will be requested as part of Microsoft Account authentication.","elem":{"type":"TypeString"}}}},"maxItems":1},"require_authentication":{"type":"TypeBool","optional":true,"description":"Should the authentication flow be used for all requests."},"require_https":{"type":"TypeBool","optional":true,"default":true,"description":"Should HTTPS be required on connections? Defaults to true."},"runtime_version":{"type":"TypeString","optional":true,"default":"~1","description":"The Runtime Version of the Authentication and Authorisation feature of this App. Defaults to `~1`"},"twitter_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"consumer_key":{"type":"TypeString","required":true,"description":"The OAuth 1.0a consumer key of the Twitter application used for sign-in."},"consumer_secret_setting_name":{"type":"TypeString","required":true,"description":"The app setting name that contains the OAuth 1.0a consumer secret of the Twitter application used for sign-in."}}},"maxItems":1},"unauthenticated_action":{"type":"TypeString","optional":true,"default":"RedirectToLoginPage","description":"The action to take for requests made without authentication. Possible values include `RedirectToLoginPage`, `AllowAnonymous`, `Return401`, and `Return403`. Defaults to `RedirectToLoginPage`."}}},"maxItems":1},"backup":{"type":"TypeList","optional":true,"elem":{"schema":{"enabled":{"type":"TypeBool","optional":true,"default":true,"description":"Should this backup job be enabled?"},"name":{"type":"TypeString","required":true,"description":"The name which should be used for this Backup."},"schedule":{"type":"TypeList","required":true,"elem":{"schema":{"frequency_interval":{"type":"TypeInt","required":true,"description":"How often the backup should be executed (e.g. for weekly backup, this should be set to `7` and `frequency_unit` should be set to `Day`)."},"frequency_unit":{"type":"TypeString","required":true,"description":"The unit of time for how often the backup should take place. Possible values include: `Day` and `Hour`."},"keep_at_least_one_backup":{"type":"TypeBool","optional":true,"default":false,"description":"Should the service keep at least one backup, regardless of age of backup. Defaults to `false`."},"last_execution_time":{"type":"TypeString","description":"The time the backup was last attempted.","computed":true},"retention_period_days":{"type":"TypeInt","optional":true,"default":30,"description":"After how many days backups should be deleted."},"start_time":{"type":"TypeString","optional":true,"description":"When the schedule should start working in RFC-3339 format.","computed":true}}},"maxItems":1},"storage_account_url":{"type":"TypeString","required":true,"description":"The SAS URL to the container."}}},"maxItems":1},"client_affinity_enabled":{"type":"TypeBool","optional":true,"default":false},"client_certificate_enabled":{"type":"TypeBool","optional":true,"default":false},"client_certificate_exclusion_paths":{"type":"TypeString","optional":true,"description":"Paths to exclude when using client certificates, separated by ;"},"client_certificate_mode":{"type":"TypeString","optional":true,"default":"Required"},"connection_string":{"type":"TypeSet","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true,"description":"The name which should be used for this Connection."},"type":{"type":"TypeString","required":true,"description":"Type of database. Possible values include: `MySQL`, `SQLServer`, `SQLAzure`, `Custom`, `NotificationHub`, `ServiceBus`, `EventHub`, `APIHub`, `DocDb`, `RedisCache`, and `PostgreSQL`."},"value":{"type":"TypeString","required":true,"description":"The connection string value."}}}},"custom_domain_verification_id":{"type":"TypeString","computed":true},"default_hostname":{"type":"TypeString","computed":true},"enabled":{"type":"TypeBool","optional":true,"default":true},"ftp_publish_basic_authentication_enabled":{"type":"TypeBool","optional":true,"default":true},"hosting_environment_id":{"type":"TypeString","computed":true},"https_only":{"type":"TypeBool","optional":true,"default":false},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"key_vault_reference_identity_id":{"type":"TypeString","optional":true,"computed":true},"kind":{"type":"TypeString","computed":true},"logs":{"type":"TypeList","optional":true,"elem":{"schema":{"application_logs":{"type":"TypeList","optional":true,"elem":{"schema":{"azure_blob_storage":{"type":"TypeList","optional":true,"elem":{"schema":{"level":{"type":"TypeString","required":true},"retention_in_days":{"type":"TypeInt","required":true},"sas_url":{"type":"TypeString","required":true}}},"maxItems":1},"file_system_level":{"type":"TypeString","required":true}}},"maxItems":1},"detailed_error_messages":{"type":"TypeBool","optional":true,"default":false},"failed_request_tracing":{"type":"TypeBool","optional":true,"default":false},"http_logs":{"type":"TypeList","optional":true,"elem":{"schema":{"azure_blob_storage":{"type":"TypeList","optional":true,"elem":{"schema":{"retention_in_days":{"type":"TypeInt","optional":true,"default":0},"sas_url":{"type":"TypeString","required":true}}},"maxItems":1},"file_system":{"type":"TypeList","optional":true,"elem":{"schema":{"retention_in_days":{"type":"TypeInt","required":true},"retention_in_mb":{"type":"TypeInt","required":true}}},"maxItems":1}}},"maxItems":1}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"outbound_ip_address_list":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"outbound_ip_addresses":{"type":"TypeString","computed":true},"possible_outbound_ip_address_list":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"possible_outbound_ip_addresses":{"type":"TypeString","computed":true},"public_network_access_enabled":{"type":"TypeBool","optional":true,"default":true},"service_plan_id":{"type":"TypeString","optional":true},"site_config":{"type":"TypeList","required":true,"elem":{"schema":{"always_on":{"type":"TypeBool","optional":true,"default":true},"api_definition_url":{"type":"TypeString","optional":true},"api_management_api_id":{"type":"TypeString","optional":true},"app_command_line":{"type":"TypeString","optional":true},"application_stack":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"docker_image_name":{"type":"TypeString","optional":true},"docker_registry_password":{"type":"TypeString","optional":true},"docker_registry_url":{"type":"TypeString","optional":true},"docker_registry_username":{"type":"TypeString","optional":true},"dotnet_version":{"type":"TypeString","optional":true},"go_version":{"type":"TypeString","optional":true},"java_server":{"type":"TypeString","optional":true},"java_server_version":{"type":"TypeString","optional":true},"java_version":{"type":"TypeString","optional":true},"node_version":{"type":"TypeString","optional":true},"php_version":{"type":"TypeString","optional":true},"python_version":{"type":"TypeString","optional":true},"ruby_version":{"type":"TypeString","optional":true}}},"maxItems":1},"auto_heal_setting":{"type":"TypeList","optional":true,"elem":{"schema":{"action":{"type":"TypeList","optional":true,"elem":{"schema":{"action_type":{"type":"TypeString","required":true},"minimum_process_execution_time":{"type":"TypeString","optional":true,"computed":true}}},"maxItems":1},"trigger":{"type":"TypeList","optional":true,"elem":{"schema":{"requests":{"type":"TypeList","optional":true,"elem":{"schema":{"count":{"type":"TypeInt","required":true},"interval":{"type":"TypeString","required":true}}},"maxItems":1},"slow_request":{"type":"TypeList","optional":true,"elem":{"schema":{"count":{"type":"TypeInt","required":true},"interval":{"type":"TypeString","required":true},"time_taken":{"type":"TypeString","required":true}}},"maxItems":1},"slow_request_with_path":{"type":"TypeList","optional":true,"elem":{"schema":{"count":{"type":"TypeInt","required":true},"interval":{"type":"TypeString","required":true},"path":{"type":"TypeString","optional":true},"time_taken":{"type":"TypeString","required":true}}}},"status_code":{"type":"TypeSet","optional":true,"elem":{"schema":{"count":{"type":"TypeInt","required":true},"interval":{"type":"TypeString","required":true},"path":{"type":"TypeString","optional":true},"status_code_range":{"type":"TypeString","required":true},"sub_status":{"type":"TypeInt","optional":true},"win32_status_code":{"type":"TypeInt","optional":true}}}}}},"maxItems":1}}},"maxItems":1},"auto_swap_slot_name":{"type":"TypeString","optional":true},"container_registry_managed_identity_client_id":{"type":"TypeString","optional":true},"container_registry_use_managed_identity":{"type":"TypeBool","optional":true,"default":false},"cors":{"type":"TypeList","optional":true,"elem":{"schema":{"allowed_origins":{"type":"TypeSet","optional":true,"description":"Specifies a list of origins that should be allowed to make cross-origin calls.","elem":{"type":"TypeString"},"minItems":1},"support_credentials":{"type":"TypeBool","optional":true,"default":false,"description":"Are credentials allowed in CORS requests? Defaults to `false`."}}},"maxItems":1},"default_documents":{"type":"TypeList","optional":true,"computed":true,"elem":{"type":"TypeString"}},"detailed_error_logging_enabled":{"type":"TypeBool","computed":true},"ftps_state":{"type":"TypeString","optional":true,"default":"Disabled"},"health_check_eviction_time_in_min":{"type":"TypeInt","optional":true,"description":"The amount of time in minutes that a node is unhealthy before being removed from the load balancer. Possible values are between `2` and `10`. Only valid in conjunction with `health_check_path`"},"health_check_path":{"type":"TypeString","optional":true},"http2_enabled":{"type":"TypeBool","optional":true,"default":false},"ip_restriction":{"type":"TypeList","optional":true,"elem":{"schema":{"action":{"type":"TypeString","optional":true,"default":"Allow","description":"The action to take. Possible values are `Allow` or `Deny`."},"description":{"type":"TypeString","optional":true,"description":"The description of the IP restriction rule."},"headers":{"type":"TypeList","configMode":"Auto","optional":true,"elem":{"schema":{"x_azure_fdid":{"type":"TypeList","optional":true,"description":"Specifies a list of Azure Front Door IDs.","elem":{"type":"TypeString"},"maxItems":8},"x_fd_health_probe":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"maxItems":1},"x_forwarded_for":{"type":"TypeList","optional":true,"description":"Specifies a list of addresses for which matching should be applied. Omitting this value means allow any.","elem":{"type":"TypeString"},"maxItems":8},"x_forwarded_host":{"type":"TypeList","optional":true,"description":"Specifies a list of Hosts for which matching should be applied.","elem":{"type":"TypeString"},"maxItems":8}}},"maxItems":1},"ip_address":{"type":"TypeString","optional":true,"description":"The CIDR notation of the IP or IP Range to match. For example: `10.0.0.0/24` or `192.168.10.1/32` or `fe80::/64` or `13.107.6.152/31,13.107.128.0/22`"},"name":{"type":"TypeString","optional":true,"description":"The name which should be used for this `ip_restriction`.","computed":true},"priority":{"type":"TypeInt","optional":true,"default":65000,"description":"The priority value of this `ip_restriction`."},"service_tag":{"type":"TypeString","optional":true,"description":"The Service Tag used for this IP Restriction."},"virtual_network_subnet_id":{"type":"TypeString","optional":true,"description":"The Virtual Network Subnet ID used for this IP Restriction."}}}},"ip_restriction_default_action":{"type":"TypeString","optional":true,"default":"Allow"},"linux_fx_version":{"type":"TypeString","computed":true},"load_balancing_mode":{"type":"TypeString","optional":true,"default":"LeastRequests"},"local_mysql_enabled":{"type":"TypeBool","optional":true,"default":false},"managed_pipeline_mode":{"type":"TypeString","optional":true,"default":"Integrated"},"minimum_tls_version":{"type":"TypeString","optional":true,"default":"1.2"},"remote_debugging_enabled":{"type":"TypeBool","optional":true,"default":false},"remote_debugging_version":{"type":"TypeString","optional":true,"computed":true},"scm_ip_restriction":{"type":"TypeList","optional":true,"elem":{"schema":{"action":{"type":"TypeString","optional":true,"default":"Allow","description":"The action to take. Possible values are `Allow` or `Deny`."},"description":{"type":"TypeString","optional":true,"description":"The description of the IP restriction rule."},"headers":{"type":"TypeList","configMode":"Auto","optional":true,"elem":{"schema":{"x_azure_fdid":{"type":"TypeList","optional":true,"description":"Specifies a list of Azure Front Door IDs.","elem":{"type":"TypeString"},"maxItems":8},"x_fd_health_probe":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"maxItems":1},"x_forwarded_for":{"type":"TypeList","optional":true,"description":"Specifies a list of addresses for which matching should be applied. Omitting this value means allow any.","elem":{"type":"TypeString"},"maxItems":8},"x_forwarded_host":{"type":"TypeList","optional":true,"description":"Specifies a list of Hosts for which matching should be applied.","elem":{"type":"TypeString"},"maxItems":8}}},"maxItems":1},"ip_address":{"type":"TypeString","optional":true,"description":"The CIDR notation of the IP or IP Range to match. For example: `10.0.0.0/24` or `192.168.10.1/32` or `fe80::/64` or `13.107.6.152/31,13.107.128.0/22`"},"name":{"type":"TypeString","optional":true,"description":"The name which should be used for this `ip_restriction`.","computed":true},"priority":{"type":"TypeInt","optional":true,"default":65000,"description":"The priority value of this `ip_restriction`."},"service_tag":{"type":"TypeString","optional":true,"description":"The Service Tag used for this IP Restriction."},"virtual_network_subnet_id":{"type":"TypeString","optional":true,"description":"The Virtual Network Subnet ID used for this IP Restriction."}}}},"scm_ip_restriction_default_action":{"type":"TypeString","optional":true,"default":"Allow"},"scm_minimum_tls_version":{"type":"TypeString","optional":true,"default":"1.2"},"scm_type":{"type":"TypeString","computed":true},"scm_use_main_ip_restriction":{"type":"TypeBool","optional":true,"default":false},"use_32_bit_worker":{"type":"TypeBool","optional":true,"default":true},"vnet_route_all_enabled":{"type":"TypeBool","optional":true,"default":false,"description":"Should all outbound traffic to have Virtual Network Security Groups and User Defined Routes applied? Defaults to `false`."},"websockets_enabled":{"type":"TypeBool","optional":true,"default":false},"worker_count":{"type":"TypeInt","optional":true,"computed":true}}},"maxItems":1},"site_credential":{"type":"TypeList","computed":true,"elem":{"schema":{"name":{"type":"TypeString","description":"The Site Credentials Username used for publishing.","computed":true},"password":{"type":"TypeString","description":"The Site Credentials Password used for publishing.","computed":true}}}},"storage_account":{"type":"TypeSet","optional":true,"elem":{"schema":{"access_key":{"type":"TypeString","required":true},"account_name":{"type":"TypeString","required":true},"mount_path":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true},"share_name":{"type":"TypeString","required":true},"type":{"type":"TypeString","required":true}}}},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"virtual_network_subnet_id":{"type":"TypeString","optional":true},"webdeploy_publish_basic_authentication_enabled":{"type":"TypeBool","optional":true,"default":true},"zip_deploy_file":{"type":"TypeString","optional":true,"description":"The local path and filename of the Zip packaged application to deploy to this Windows Web App. **Note:** Using this value requires `WEBSITE_RUN_FROM_PACKAGE=1` on the App in `app_settings`.","computed":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_load_test":{"schema":{"data_plane_uri":{"type":"TypeString","computed":true},"description":{"type":"TypeString","optional":true,"forceNew":true},"encryption":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"identity":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"identity_id":{"type":"TypeString","required":true,"forceNew":true},"type":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"key_url":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_local_network_gateway":{"schema":{"address_space":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"bgp_settings":{"type":"TypeList","optional":true,"elem":{"schema":{"asn":{"type":"TypeInt","required":true},"bgp_peering_address":{"type":"TypeString","required":true},"peer_weight":{"type":"TypeInt","optional":true}}},"maxItems":1},"gateway_address":{"type":"TypeString","optional":true},"gateway_fqdn":{"type":"TypeString","optional":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_log_analytics_cluster":{"schema":{"cluster_id":{"type":"TypeString","computed":true},"identity":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"size_gb":{"type":"TypeInt","optional":true,"default":100},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":360,"read":5,"delete":30,"update":360}},"azurerm_log_analytics_cluster_customer_managed_key":{"schema":{"key_vault_key_id":{"type":"TypeString","required":true},"log_analytics_cluster_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":360,"read":5,"delete":30,"update":360}},"azurerm_log_analytics_data_export_rule":{"schema":{"destination_resource_id":{"type":"TypeString","required":true},"enabled":{"type":"TypeBool","optional":true,"default":false},"export_rule_id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"table_names":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"},"minItems":1},"workspace_resource_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_log_analytics_datasource_windows_event":{"schema":{"event_log_name":{"type":"TypeString","required":true},"event_types":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"},"minItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"workspace_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_log_analytics_datasource_windows_performance_counter":{"schema":{"counter_name":{"type":"TypeString","required":true},"instance_name":{"type":"TypeString","required":true},"interval_seconds":{"type":"TypeInt","required":true},"name":{"type":"TypeString","required":true,"forceNew":true},"object_name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"workspace_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_log_analytics_linked_service":{"schema":{"name":{"type":"TypeString","computed":true},"read_access_id":{"type":"TypeString","optional":true,"computed":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"workspace_id":{"type":"TypeString","required":true},"write_access_id":{"type":"TypeString","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_log_analytics_linked_storage_account":{"schema":{"data_source_type":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"storage_account_ids":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"},"minItems":1},"workspace_resource_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_log_analytics_query_pack":{"schema":{"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_log_analytics_query_pack_query":{"schema":{"additional_settings_json":{"type":"TypeString","optional":true},"body":{"type":"TypeString","required":true},"categories":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"description":{"type":"TypeString","optional":true},"display_name":{"type":"TypeString","required":true},"name":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"query_pack_id":{"type":"TypeString","required":true,"forceNew":true},"resource_types":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"solutions":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_log_analytics_saved_search":{"schema":{"category":{"type":"TypeString","required":true,"forceNew":true},"display_name":{"type":"TypeString","required":true,"forceNew":true},"function_alias":{"type":"TypeString","optional":true,"forceNew":true},"function_parameters":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"log_analytics_workspace_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"query":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"forceNew":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_log_analytics_solution":{"schema":{"location":{"type":"TypeString","required":true,"forceNew":true},"plan":{"type":"TypeList","required":true,"elem":{"schema":{"name":{"type":"TypeString","computed":true},"product":{"type":"TypeString","required":true,"forceNew":true},"promotion_code":{"type":"TypeString","optional":true,"forceNew":true},"publisher":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"solution_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"workspace_name":{"type":"TypeString","required":true,"forceNew":true},"workspace_resource_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_log_analytics_storage_insights":{"schema":{"blob_container_names":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"storage_account_id":{"type":"TypeString","required":true},"storage_account_key":{"type":"TypeString","required":true},"table_names":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"minItems":1},"workspace_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_log_analytics_workspace":{"schema":{"allow_resource_only_permissions":{"type":"TypeBool","optional":true,"default":true},"cmk_for_query_forced":{"type":"TypeBool","optional":true},"daily_quota_gb":{"type":"TypeFloat","optional":true,"default":-1},"data_collection_rule_id":{"type":"TypeString","optional":true},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"immediate_data_purge_on_30_days_enabled":{"type":"TypeBool","optional":true},"internet_ingestion_enabled":{"type":"TypeBool","optional":true,"default":true},"internet_query_enabled":{"type":"TypeBool","optional":true,"default":true},"local_authentication_disabled":{"type":"TypeBool","optional":true,"default":false},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"primary_shared_key":{"type":"TypeString","computed":true},"reservation_capacity_in_gb_per_day":{"type":"TypeInt","optional":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"retention_in_days":{"type":"TypeInt","optional":true,"computed":true},"secondary_shared_key":{"type":"TypeString","computed":true},"sku":{"type":"TypeString","optional":true,"computed":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"workspace_id":{"type":"TypeString","computed":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_log_analytics_workspace_table":{"schema":{"name":{"type":"TypeString","required":true},"plan":{"type":"TypeString","optional":true,"default":"Analytics"},"retention_in_days":{"type":"TypeInt","optional":true},"total_retention_in_days":{"type":"TypeInt","optional":true},"workspace_id":{"type":"TypeString","required":true}},"timeouts":{"create":5,"read":5,"delete":30,"update":5}},"azurerm_logic_app_action_custom":{"schema":{"body":{"type":"TypeString","required":true},"logic_app_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_logic_app_action_http":{"schema":{"body":{"type":"TypeString","optional":true},"headers":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"logic_app_id":{"type":"TypeString","required":true,"forceNew":true},"method":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true,"forceNew":true},"queries":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"run_after":{"type":"TypeSet","optional":true,"elem":{"schema":{"action_name":{"type":"TypeString","required":true},"action_result":{"type":"TypeString","required":true}}},"minItems":1},"uri":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_logic_app_integration_account":{"schema":{"integration_service_environment_id":{"type":"TypeString","optional":true,"forceNew":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"sku_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_logic_app_integration_account_agreement":{"schema":{"agreement_type":{"type":"TypeString","required":true},"content":{"type":"TypeString","required":true},"guest_identity":{"type":"TypeList","required":true,"elem":{"schema":{"qualifier":{"type":"TypeString","required":true},"value":{"type":"TypeString","required":true}}},"maxItems":1},"guest_partner_name":{"type":"TypeString","required":true},"host_identity":{"type":"TypeList","required":true,"elem":{"schema":{"qualifier":{"type":"TypeString","required":true},"value":{"type":"TypeString","required":true}}},"maxItems":1},"host_partner_name":{"type":"TypeString","required":true},"integration_account_name":{"type":"TypeString","required":true,"forceNew":true},"metadata":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_logic_app_integration_account_assembly":{"schema":{"assembly_name":{"type":"TypeString","required":true},"assembly_version":{"type":"TypeString","optional":true,"default":"0.0.0.0"},"content":{"type":"TypeString","optional":true},"content_link_uri":{"type":"TypeString","optional":true},"integration_account_name":{"type":"TypeString","required":true,"forceNew":true},"metadata":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_logic_app_integration_account_batch_configuration":{"schema":{"batch_group_name":{"type":"TypeString","required":true,"forceNew":true},"integration_account_name":{"type":"TypeString","required":true,"forceNew":true},"metadata":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true,"forceNew":true},"release_criteria":{"type":"TypeList","required":true,"elem":{"schema":{"batch_size":{"type":"TypeInt","optional":true},"message_count":{"type":"TypeInt","optional":true},"recurrence":{"type":"TypeList","optional":true,"elem":{"schema":{"end_time":{"type":"TypeString","optional":true},"frequency":{"type":"TypeString","required":true},"interval":{"type":"TypeInt","required":true},"schedule":{"type":"TypeList","optional":true,"elem":{"schema":{"hours":{"type":"TypeSet","optional":true,"elem":{"type":"TypeInt"}},"minutes":{"type":"TypeSet","optional":true,"elem":{"type":"TypeInt"}},"month_days":{"type":"TypeSet","optional":true,"elem":{"type":"TypeInt"}},"monthly":{"type":"TypeSet","optional":true,"elem":{"schema":{"week":{"type":"TypeInt","required":true},"weekday":{"type":"TypeString","required":true}}}},"week_days":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"start_time":{"type":"TypeString","optional":true},"time_zone":{"type":"TypeString","optional":true}}},"maxItems":1}}},"maxItems":1},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_logic_app_integration_account_certificate":{"schema":{"integration_account_name":{"type":"TypeString","required":true,"forceNew":true},"key_vault_key":{"type":"TypeList","optional":true,"elem":{"schema":{"key_name":{"type":"TypeString","required":true},"key_vault_id":{"type":"TypeString","required":true},"key_version":{"type":"TypeString","optional":true}}},"maxItems":1},"metadata":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"public_certificate":{"type":"TypeString","optional":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_logic_app_integration_account_map":{"schema":{"content":{"type":"TypeString","required":true},"integration_account_name":{"type":"TypeString","required":true,"forceNew":true},"map_type":{"type":"TypeString","required":true},"metadata":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_logic_app_integration_account_partner":{"schema":{"business_identity":{"type":"TypeSet","required":true,"elem":{"schema":{"qualifier":{"type":"TypeString","required":true},"value":{"type":"TypeString","required":true}}}},"integration_account_name":{"type":"TypeString","required":true,"forceNew":true},"metadata":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_logic_app_integration_account_schema":{"schema":{"content":{"type":"TypeString","required":true},"file_name":{"type":"TypeString","optional":true},"integration_account_name":{"type":"TypeString","required":true,"forceNew":true},"metadata":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_logic_app_integration_account_session":{"schema":{"content":{"type":"TypeString","required":true},"integration_account_name":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_logic_app_standard":{"schema":{"app_service_plan_id":{"type":"TypeString","required":true},"app_settings":{"type":"TypeMap","optional":true,"computed":true,"elem":{"type":"TypeString"}},"bundle_version":{"type":"TypeString","optional":true,"default":"[1.*, 2.0.0)"},"client_affinity_enabled":{"type":"TypeBool","optional":true,"computed":true},"client_certificate_mode":{"type":"TypeString","optional":true},"connection_string":{"type":"TypeSet","optional":true,"computed":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"type":{"type":"TypeString","required":true},"value":{"type":"TypeString","required":true}}}},"custom_domain_verification_id":{"type":"TypeString","computed":true},"default_hostname":{"type":"TypeString","computed":true},"enabled":{"type":"TypeBool","optional":true,"default":true},"https_only":{"type":"TypeBool","optional":true,"default":false},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"kind":{"type":"TypeString","computed":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"outbound_ip_addresses":{"type":"TypeString","computed":true},"possible_outbound_ip_addresses":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"site_config":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"always_on":{"type":"TypeBool","optional":true,"default":false},"app_scale_limit":{"type":"TypeInt","optional":true,"computed":true},"auto_swap_slot_name":{"type":"TypeString","computed":true},"cors":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"allowed_origins":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}},"support_credentials":{"type":"TypeBool","optional":true,"default":false}}},"maxItems":1},"dotnet_framework_version":{"type":"TypeString","optional":true,"default":"v4.0"},"elastic_instance_minimum":{"type":"TypeInt","optional":true,"computed":true},"ftps_state":{"type":"TypeString","optional":true,"computed":true},"health_check_path":{"type":"TypeString","optional":true},"http2_enabled":{"type":"TypeBool","optional":true,"default":false},"ip_restriction":{"type":"TypeList","configMode":"Auto","optional":true,"computed":true,"elem":{"schema":{"action":{"type":"TypeString","optional":true,"default":"Allow"},"headers":{"type":"TypeList","configMode":"Auto","optional":true,"computed":true,"elem":{"schema":{"x_azure_fdid":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":8},"x_fd_health_probe":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":1},"x_forwarded_for":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":8},"x_forwarded_host":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":8}}},"maxItems":1},"ip_address":{"type":"TypeString","optional":true},"name":{"type":"TypeString","optional":true,"computed":true},"priority":{"type":"TypeInt","optional":true,"default":65000},"service_tag":{"type":"TypeString","optional":true},"virtual_network_subnet_id":{"type":"TypeString","optional":true}}}},"linux_fx_version":{"type":"TypeString","optional":true,"computed":true},"min_tls_version":{"type":"TypeString","optional":true,"computed":true},"pre_warmed_instance_count":{"type":"TypeInt","optional":true,"computed":true},"public_network_access_enabled":{"type":"TypeBool","optional":true,"default":true},"runtime_scale_monitoring_enabled":{"type":"TypeBool","optional":true,"default":false},"scm_ip_restriction":{"type":"TypeList","configMode":"Auto","optional":true,"computed":true,"elem":{"schema":{"action":{"type":"TypeString","optional":true,"default":"Allow"},"headers":{"type":"TypeList","configMode":"Auto","optional":true,"computed":true,"elem":{"schema":{"x_azure_fdid":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":8},"x_fd_health_probe":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":1},"x_forwarded_for":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":8},"x_forwarded_host":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":8}}},"maxItems":1},"ip_address":{"type":"TypeString","optional":true},"name":{"type":"TypeString","optional":true,"computed":true},"priority":{"type":"TypeInt","optional":true,"default":65000},"service_tag":{"type":"TypeString","optional":true},"virtual_network_subnet_id":{"type":"TypeString","optional":true}}}},"scm_min_tls_version":{"type":"TypeString","optional":true,"computed":true},"scm_type":{"type":"TypeString","optional":true,"computed":true},"scm_use_main_ip_restriction":{"type":"TypeBool","optional":true,"default":false},"use_32_bit_worker_process":{"type":"TypeBool","optional":true,"default":true},"vnet_route_all_enabled":{"type":"TypeBool","optional":true,"computed":true},"websockets_enabled":{"type":"TypeBool","optional":true,"default":false}}},"maxItems":1},"site_credential":{"type":"TypeList","computed":true,"elem":{"schema":{"password":{"type":"TypeString","computed":true},"username":{"type":"TypeString","computed":true}}}},"storage_account_access_key":{"type":"TypeString","required":true},"storage_account_name":{"type":"TypeString","required":true,"forceNew":true},"storage_account_share_name":{"type":"TypeString","optional":true,"computed":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"use_extension_bundle":{"type":"TypeBool","optional":true,"default":true},"version":{"type":"TypeString","optional":true,"default":"~4"},"virtual_network_subnet_id":{"type":"TypeString","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_logic_app_trigger_custom":{"schema":{"body":{"type":"TypeString","required":true},"callback_url":{"type":"TypeString","computed":true},"logic_app_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_logic_app_trigger_http_request":{"schema":{"callback_url":{"type":"TypeString","computed":true},"logic_app_id":{"type":"TypeString","required":true,"forceNew":true},"method":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"relative_path":{"type":"TypeString","optional":true},"schema":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_logic_app_trigger_recurrence":{"schema":{"frequency":{"type":"TypeString","required":true},"interval":{"type":"TypeInt","required":true},"logic_app_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"schedule":{"type":"TypeList","optional":true,"elem":{"schema":{"at_these_hours":{"type":"TypeSet","optional":true,"elem":{"type":"TypeInt"}},"at_these_minutes":{"type":"TypeSet","optional":true,"elem":{"type":"TypeInt"}},"on_these_days":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"start_time":{"type":"TypeString","optional":true},"time_zone":{"type":"TypeString","optional":true,"computed":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_logic_app_workflow":{"schema":{"access_control":{"type":"TypeList","optional":true,"elem":{"schema":{"action":{"type":"TypeList","optional":true,"elem":{"schema":{"allowed_caller_ip_address_range":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"content":{"type":"TypeList","optional":true,"elem":{"schema":{"allowed_caller_ip_address_range":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"trigger":{"type":"TypeList","optional":true,"elem":{"schema":{"allowed_caller_ip_address_range":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}},"open_authentication_policy":{"type":"TypeSet","optional":true,"elem":{"schema":{"claim":{"type":"TypeSet","required":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"value":{"type":"TypeString","required":true}}}},"name":{"type":"TypeString","required":true}}}}}},"maxItems":1},"workflow_management":{"type":"TypeList","optional":true,"elem":{"schema":{"allowed_caller_ip_address_range":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}}}},"maxItems":1}}},"maxItems":1},"access_endpoint":{"type":"TypeString","computed":true},"connector_endpoint_ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"connector_outbound_ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"enabled":{"type":"TypeBool","optional":true,"default":true},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"integration_service_environment_id":{"type":"TypeString","optional":true,"forceNew":true},"location":{"type":"TypeString","required":true,"forceNew":true},"logic_app_integration_account_id":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"workflow_endpoint_ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"workflow_outbound_ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"workflow_parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"workflow_schema":{"type":"TypeString","optional":true,"default":"https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#","forceNew":true},"workflow_version":{"type":"TypeString","optional":true,"default":"1.0.0.0","forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_machine_learning_compute_cluster":{"schema":{"description":{"type":"TypeString","optional":true,"forceNew":true},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"local_auth_enabled":{"type":"TypeBool","optional":true,"default":true,"forceNew":true},"location":{"type":"TypeString","required":true,"forceNew":true},"machine_learning_workspace_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"node_public_ip_enabled":{"type":"TypeBool","optional":true,"default":true,"forceNew":true},"scale_settings":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"max_node_count":{"type":"TypeInt","required":true,"forceNew":true},"min_node_count":{"type":"TypeInt","required":true,"forceNew":true},"scale_down_nodes_after_idle_duration":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"ssh":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"admin_password":{"type":"TypeString","optional":true,"forceNew":true},"admin_username":{"type":"TypeString","required":true,"forceNew":true},"key_value":{"type":"TypeString","optional":true,"forceNew":true}}},"maxItems":1},"ssh_public_access_enabled":{"type":"TypeBool","optional":true,"default":false,"forceNew":true},"subnet_resource_id":{"type":"TypeString","optional":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"vm_priority":{"type":"TypeString","required":true,"forceNew":true},"vm_size":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_machine_learning_compute_instance":{"schema":{"assign_to_user":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"object_id":{"type":"TypeString","optional":true},"tenant_id":{"type":"TypeString","optional":true}}},"maxItems":1},"authorization_type":{"type":"TypeString","optional":true,"forceNew":true},"description":{"type":"TypeString","optional":true,"forceNew":true},"identity":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"local_auth_enabled":{"type":"TypeBool","optional":true,"default":true,"forceNew":true},"machine_learning_workspace_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"node_public_ip_enabled":{"type":"TypeBool","optional":true,"default":true,"forceNew":true},"ssh":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"port":{"type":"TypeInt","computed":true},"public_key":{"type":"TypeString","required":true},"username":{"type":"TypeString","computed":true}}},"maxItems":1},"subnet_resource_id":{"type":"TypeString","optional":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"virtual_machine_size":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_machine_learning_datastore_blobstorage":{"schema":{"account_key":{"type":"TypeString","optional":true},"description":{"type":"TypeString","optional":true,"forceNew":true},"is_default":{"type":"TypeBool","optional":true,"default":false},"name":{"type":"TypeString","required":true,"forceNew":true},"service_data_auth_identity":{"type":"TypeString","optional":true,"default":"None"},"shared_access_signature":{"type":"TypeString","optional":true},"storage_container_id":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"workspace_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_machine_learning_datastore_datalake_gen2":{"schema":{"authority_url":{"type":"TypeString","optional":true},"client_id":{"type":"TypeString","optional":true},"client_secret":{"type":"TypeString","optional":true},"description":{"type":"TypeString","optional":true,"forceNew":true},"is_default":{"type":"TypeBool","computed":true},"name":{"type":"TypeString","required":true,"forceNew":true},"service_data_identity":{"type":"TypeString","optional":true,"default":"None"},"storage_container_id":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"tenant_id":{"type":"TypeString","optional":true},"workspace_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_machine_learning_datastore_fileshare":{"schema":{"account_key":{"type":"TypeString","optional":true},"description":{"type":"TypeString","optional":true,"forceNew":true},"is_default":{"type":"TypeBool","computed":true},"name":{"type":"TypeString","required":true,"forceNew":true},"service_data_identity":{"type":"TypeString","optional":true,"default":"None"},"shared_access_signature":{"type":"TypeString","optional":true},"storage_fileshare_id":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"workspace_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_machine_learning_inference_cluster":{"schema":{"cluster_purpose":{"type":"TypeString","optional":true,"default":"FastProd","forceNew":true},"description":{"type":"TypeString","optional":true,"forceNew":true},"identity":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"kubernetes_cluster_id":{"type":"TypeString","required":true,"forceNew":true},"location":{"type":"TypeString","required":true,"forceNew":true},"machine_learning_workspace_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"ssl":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"cert":{"type":"TypeString","optional":true,"default":"","forceNew":true},"cname":{"type":"TypeString","optional":true,"default":"","forceNew":true},"key":{"type":"TypeString","optional":true,"default":"","forceNew":true},"leaf_domain_label":{"type":"TypeString","optional":true,"default":"","forceNew":true},"overwrite_existing_domain":{"type":"TypeBool","optional":true,"default":"","forceNew":true}}},"maxItems":1},"tags":{"type":"TypeMap","optional":true,"forceNew":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_machine_learning_synapse_spark":{"schema":{"description":{"type":"TypeString","optional":true,"forceNew":true},"identity":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"local_auth_enabled":{"type":"TypeBool","optional":true,"default":true,"forceNew":true},"location":{"type":"TypeString","required":true,"forceNew":true},"machine_learning_workspace_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"synapse_spark_pool_id":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"forceNew":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_machine_learning_workspace":{"schema":{"application_insights_id":{"type":"TypeString","required":true,"forceNew":true},"container_registry_id":{"type":"TypeString","optional":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"discovery_url":{"type":"TypeString","computed":true},"encryption":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"key_id":{"type":"TypeString","required":true},"key_vault_id":{"type":"TypeString","required":true},"user_assigned_identity_id":{"type":"TypeString","optional":true}}},"maxItems":1},"feature_store":{"type":"TypeList","optional":true,"elem":{"schema":{"computer_spark_runtime_version":{"type":"TypeString","optional":true},"offline_connection_name":{"type":"TypeString","optional":true},"online_connection_name":{"type":"TypeString","optional":true}}},"maxItems":1},"friendly_name":{"type":"TypeString","optional":true},"high_business_impact":{"type":"TypeBool","optional":true,"forceNew":true},"identity":{"type":"TypeList","required":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"image_build_compute_name":{"type":"TypeString","optional":true},"key_vault_id":{"type":"TypeString","required":true,"forceNew":true},"kind":{"type":"TypeString","optional":true,"default":"Default"},"location":{"type":"TypeString","required":true,"forceNew":true},"managed_network":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"isolation_mode":{"type":"TypeString","optional":true,"computed":true}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"primary_user_assigned_identity":{"type":"TypeString","optional":true},"public_network_access_enabled":{"type":"TypeBool","optional":true,"default":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"serverless_compute":{"type":"TypeList","optional":true,"elem":{"schema":{"public_ip_enabled":{"type":"TypeBool","optional":true,"default":false},"subnet_id":{"type":"TypeString","optional":true}}},"maxItems":1},"sku_name":{"type":"TypeString","optional":true,"default":"Basic"},"storage_account_id":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"v1_legacy_mode_enabled":{"type":"TypeBool","optional":true,"default":false},"workspace_id":{"type":"TypeString","computed":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_maintenance_assignment_dedicated_host":{"schema":{"dedicated_host_id":{"type":"TypeString","required":true,"forceNew":true},"location":{"type":"TypeString","required":true,"forceNew":true},"maintenance_configuration_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_maintenance_assignment_dynamic_scope":{"schema":{"filter":{"type":"TypeList","required":true,"elem":{"schema":{"locations":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"os_types":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"resource_groups":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"resource_types":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"tag_filter":{"type":"TypeString","optional":true,"default":"Any"},"tags":{"type":"TypeList","optional":true,"elem":{"schema":{"tag":{"type":"TypeString","required":true},"values":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}}}}}}},"maxItems":1},"maintenance_configuration_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":10,"update":30}},"azurerm_maintenance_assignment_virtual_machine":{"schema":{"location":{"type":"TypeString","required":true,"forceNew":true},"maintenance_configuration_id":{"type":"TypeString","required":true,"forceNew":true},"virtual_machine_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_maintenance_assignment_virtual_machine_scale_set":{"schema":{"location":{"type":"TypeString","required":true,"forceNew":true},"maintenance_configuration_id":{"type":"TypeString","required":true,"forceNew":true},"virtual_machine_scale_set_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_maintenance_configuration":{"schema":{"in_guest_user_patch_mode":{"type":"TypeString","optional":true},"install_patches":{"type":"TypeList","optional":true,"elem":{"schema":{"linux":{"type":"TypeList","optional":true,"elem":{"schema":{"classifications_to_include":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"package_names_mask_to_exclude":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"package_names_mask_to_include":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}}}},"minItems":1},"reboot":{"type":"TypeString","optional":true},"windows":{"type":"TypeList","optional":true,"elem":{"schema":{"classifications_to_include":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"kb_numbers_to_exclude":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"kb_numbers_to_include":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}}}},"minItems":1}}},"maxItems":1,"minItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"properties":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"scope":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"visibility":{"type":"TypeString","optional":true,"default":"Custom"},"window":{"type":"TypeList","optional":true,"elem":{"schema":{"duration":{"type":"TypeString","optional":true},"expiration_date_time":{"type":"TypeString","optional":true},"recur_every":{"type":"TypeString","optional":true},"start_date_time":{"type":"TypeString","required":true},"time_zone":{"type":"TypeString","required":true}}},"maxItems":1}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_managed_application":{"schema":{"application_definition_id":{"type":"TypeString","optional":true},"kind":{"type":"TypeString","required":true,"forceNew":true},"location":{"type":"TypeString","required":true,"forceNew":true},"managed_resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"outputs":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"parameter_values":{"type":"TypeString","optional":true,"computed":true},"plan":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"name":{"type":"TypeString","required":true,"forceNew":true},"product":{"type":"TypeString","required":true,"forceNew":true},"promotion_code":{"type":"TypeString","optional":true,"forceNew":true},"publisher":{"type":"TypeString","required":true,"forceNew":true},"version":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_managed_application_definition":{"schema":{"authorization":{"type":"TypeSet","optional":true,"elem":{"schema":{"role_definition_id":{"type":"TypeString","required":true},"service_principal_id":{"type":"TypeString","required":true}}},"minItems":1},"create_ui_definition":{"type":"TypeString","optional":true},"description":{"type":"TypeString","optional":true},"display_name":{"type":"TypeString","required":true},"location":{"type":"TypeString","required":true,"forceNew":true},"lock_level":{"type":"TypeString","required":true,"forceNew":true},"main_template":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"package_enabled":{"type":"TypeBool","optional":true,"default":true},"package_file_uri":{"type":"TypeString","optional":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_managed_disk":{"schema":{"create_option":{"type":"TypeString","required":true,"forceNew":true},"disk_access_id":{"type":"TypeString","optional":true},"disk_encryption_set_id":{"type":"TypeString","optional":true},"disk_iops_read_only":{"type":"TypeInt","optional":true,"computed":true},"disk_iops_read_write":{"type":"TypeInt","optional":true,"computed":true},"disk_mbps_read_only":{"type":"TypeInt","optional":true,"computed":true},"disk_mbps_read_write":{"type":"TypeInt","optional":true,"computed":true},"disk_size_gb":{"type":"TypeInt","optional":true,"computed":true},"edge_zone":{"type":"TypeString","optional":true,"forceNew":true},"encryption_settings":{"type":"TypeList","optional":true,"elem":{"schema":{"disk_encryption_key":{"type":"TypeList","required":true,"elem":{"schema":{"secret_url":{"type":"TypeString","required":true},"source_vault_id":{"type":"TypeString","required":true}}},"maxItems":1},"key_encryption_key":{"type":"TypeList","optional":true,"elem":{"schema":{"key_url":{"type":"TypeString","required":true},"source_vault_id":{"type":"TypeString","required":true}}},"maxItems":1}}},"maxItems":1},"gallery_image_reference_id":{"type":"TypeString","optional":true,"forceNew":true},"hyper_v_generation":{"type":"TypeString","optional":true,"forceNew":true},"image_reference_id":{"type":"TypeString","optional":true,"forceNew":true},"location":{"type":"TypeString","required":true,"forceNew":true},"logical_sector_size":{"type":"TypeInt","optional":true,"computed":true,"forceNew":true},"max_shares":{"type":"TypeInt","optional":true,"computed":true},"name":{"type":"TypeString","required":true,"forceNew":true},"network_access_policy":{"type":"TypeString","optional":true},"on_demand_bursting_enabled":{"type":"TypeBool","optional":true},"optimized_frequent_attach_enabled":{"type":"TypeBool","optional":true,"default":false},"os_type":{"type":"TypeString","optional":true},"performance_plus_enabled":{"type":"TypeBool","optional":true,"default":false,"forceNew":true},"public_network_access_enabled":{"type":"TypeBool","optional":true,"default":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"secure_vm_disk_encryption_set_id":{"type":"TypeString","optional":true,"forceNew":true},"security_type":{"type":"TypeString","optional":true,"forceNew":true},"source_resource_id":{"type":"TypeString","optional":true,"forceNew":true},"source_uri":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"storage_account_id":{"type":"TypeString","optional":true,"forceNew":true},"storage_account_type":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"tier":{"type":"TypeString","optional":true,"computed":true},"trusted_launch_enabled":{"type":"TypeBool","optional":true,"forceNew":true},"upload_size_bytes":{"type":"TypeInt","optional":true,"forceNew":true},"zone":{"type":"TypeString","optional":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_managed_disk_sas_token":{"schema":{"access_level":{"type":"TypeString","required":true,"forceNew":true},"duration_in_seconds":{"type":"TypeInt","required":true,"forceNew":true},"managed_disk_id":{"type":"TypeString","required":true,"forceNew":true},"sas_url":{"type":"TypeString","computed":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_managed_lustre_file_system":{"schema":{"encryption_key":{"type":"TypeList","optional":true,"elem":{"schema":{"key_url":{"type":"TypeString","required":true},"source_vault_id":{"type":"TypeString","required":true}}},"maxItems":1},"hsm_setting":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"container_id":{"type":"TypeString","required":true,"forceNew":true},"import_prefix":{"type":"TypeString","optional":true,"forceNew":true},"logging_container_id":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"identity":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","required":true,"forceNew":true,"elem":{"type":"TypeString"}},"type":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"maintenance_window":{"type":"TypeList","required":true,"elem":{"schema":{"day_of_week":{"type":"TypeString","required":true},"time_of_day_in_utc":{"type":"TypeString","required":true}}},"maxItems":1},"mgs_address":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"sku_name":{"type":"TypeString","required":true,"forceNew":true},"storage_capacity_in_tb":{"type":"TypeInt","required":true,"forceNew":true},"subnet_id":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"zones":{"type":"TypeSet","required":true,"forceNew":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_management_group":{"schema":{"display_name":{"type":"TypeString","optional":true,"computed":true},"name":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"parent_management_group_id":{"type":"TypeString","optional":true,"computed":true},"subscription_ids":{"type":"TypeSet","optional":true,"computed":true,"elem":{"type":"TypeString"}},"tenant_scoped_id":{"type":"TypeString","computed":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_management_group_policy_assignment":{"schema":{"description":{"type":"TypeString","optional":true},"display_name":{"type":"TypeString","optional":true},"enforce":{"type":"TypeBool","optional":true,"default":true},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"location":{"type":"TypeString","optional":true,"forceNew":true},"management_group_id":{"type":"TypeString","required":true,"forceNew":true},"metadata":{"type":"TypeString","optional":true,"computed":true},"name":{"type":"TypeString","required":true,"forceNew":true},"non_compliance_message":{"type":"TypeList","optional":true,"elem":{"schema":{"content":{"type":"TypeString","required":true},"policy_definition_reference_id":{"type":"TypeString","optional":true}}}},"not_scopes":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"overrides":{"type":"TypeList","optional":true,"elem":{"schema":{"selectors":{"type":"TypeList","optional":true,"elem":{"schema":{"in":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"kind":{"type":"TypeString","computed":true},"not_in":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}}}}},"value":{"type":"TypeString","required":true}}}},"parameters":{"type":"TypeString","optional":true},"policy_definition_id":{"type":"TypeString","required":true,"forceNew":true},"resource_selectors":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","optional":true},"selectors":{"type":"TypeList","required":true,"elem":{"schema":{"in":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"kind":{"type":"TypeString","required":true},"not_in":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}}}}}}}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_management_group_policy_exemption":{"schema":{"description":{"type":"TypeString","optional":true},"display_name":{"type":"TypeString","optional":true},"exemption_category":{"type":"TypeString","required":true},"expires_on":{"type":"TypeString","optional":true},"management_group_id":{"type":"TypeString","required":true,"forceNew":true},"metadata":{"type":"TypeString","optional":true,"computed":true},"name":{"type":"TypeString","required":true,"forceNew":true},"policy_assignment_id":{"type":"TypeString","required":true},"policy_definition_reference_ids":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_management_group_policy_remediation":{"schema":{"failure_percentage":{"type":"TypeFloat","optional":true},"location_filters":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"management_group_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"parallel_deployments":{"type":"TypeInt","optional":true},"policy_assignment_id":{"type":"TypeString","required":true},"policy_definition_reference_id":{"type":"TypeString","optional":true},"resource_count":{"type":"TypeInt","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_management_group_subscription_association":{"schema":{"management_group_id":{"type":"TypeString","required":true,"forceNew":true},"subscription_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":5,"read":5,"delete":5}},"azurerm_management_group_template_deployment":{"schema":{"debug_level":{"type":"TypeString","optional":true},"location":{"type":"TypeString","required":true,"forceNew":true},"management_group_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"output_content":{"type":"TypeString","computed":true},"parameters_content":{"type":"TypeString","optional":true,"computed":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"template_content":{"type":"TypeString","optional":true,"computed":true},"template_spec_version_id":{"type":"TypeString","optional":true}},"timeouts":{"create":180,"read":5,"delete":180,"update":180}},"azurerm_management_lock":{"schema":{"lock_level":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"notes":{"type":"TypeString","optional":true,"forceNew":true},"scope":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_maps_account":{"schema":{"cors":{"type":"TypeList","optional":true,"elem":{"schema":{"allowed_origins":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"minItems":1}}},"maxItems":1},"data_store":{"type":"TypeList","optional":true,"elem":{"schema":{"storage_account_id":{"type":"TypeString","optional":true},"unique_name":{"type":"TypeString","required":true}}}},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"local_authentication_enabled":{"type":"TypeBool","optional":true,"default":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"primary_access_key":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"secondary_access_key":{"type":"TypeString","computed":true},"sku_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"x_ms_client_id":{"type":"TypeString","computed":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_maps_creator":{"schema":{"location":{"type":"TypeString","required":true,"forceNew":true},"maps_account_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"storage_units":{"type":"TypeInt","required":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_marketplace_agreement":{"schema":{"license_text_link":{"type":"TypeString","computed":true},"offer":{"type":"TypeString","required":true,"forceNew":true},"plan":{"type":"TypeString","required":true,"forceNew":true},"privacy_policy_link":{"type":"TypeString","computed":true},"publisher":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_marketplace_role_assignment":{"schema":{"condition":{"type":"TypeString","optional":true,"forceNew":true},"condition_version":{"type":"TypeString","optional":true,"forceNew":true},"delegated_managed_identity_resource_id":{"type":"TypeString","optional":true,"forceNew":true},"description":{"type":"TypeString","optional":true,"forceNew":true},"name":{"type":"TypeString","optional":true,"forceNew":true},"principal_id":{"type":"TypeString","required":true,"forceNew":true},"principal_type":{"type":"TypeString","computed":true},"role_definition_id":{"type":"TypeString","optional":true,"forceNew":true},"role_definition_name":{"type":"TypeString","optional":true,"forceNew":true},"skip_service_principal_aad_check":{"type":"TypeBool","optional":true,"default":false,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_mobile_network":{"schema":{"location":{"type":"TypeString","required":true,"forceNew":true},"mobile_country_code":{"type":"TypeString","required":true,"forceNew":true},"mobile_network_code":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"service_key":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":180,"read":5,"delete":180,"update":180}},"azurerm_mobile_network_attached_data_network":{"schema":{"dns_addresses":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}},"location":{"type":"TypeString","required":true,"forceNew":true},"mobile_network_data_network_name":{"type":"TypeString","required":true,"forceNew":true},"mobile_network_packet_core_data_plane_id":{"type":"TypeString","required":true,"forceNew":true},"network_address_port_translation":{"type":"TypeList","optional":true,"elem":{"schema":{"icmp_pinhole_timeout_in_seconds":{"type":"TypeInt","optional":true,"default":180},"pinhole_maximum_number":{"type":"TypeInt","optional":true,"default":65536},"port_range":{"type":"TypeList","optional":true,"elem":{"schema":{"maximum":{"type":"TypeInt","optional":true,"default":49999},"minimum":{"type":"TypeInt","optional":true,"default":1024}}},"maxItems":1},"tcp_pinhole_timeout_in_seconds":{"type":"TypeInt","optional":true,"default":180},"tcp_port_reuse_minimum_hold_time_in_seconds":{"type":"TypeInt","optional":true,"default":120},"udp_pinhole_timeout_in_seconds":{"type":"TypeInt","optional":true,"default":180},"udp_port_reuse_minimum_hold_time_in_seconds":{"type":"TypeInt","optional":true,"default":60}}},"maxItems":1},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"user_equipment_address_pool_prefixes":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"user_equipment_static_address_pool_prefixes":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"user_plane_access_ipv4_address":{"type":"TypeString","optional":true},"user_plane_access_ipv4_gateway":{"type":"TypeString","optional":true},"user_plane_access_ipv4_subnet":{"type":"TypeString","optional":true},"user_plane_access_name":{"type":"TypeString","optional":true}},"timeouts":{"create":180,"read":5,"delete":180,"update":180}},"azurerm_mobile_network_data_network":{"schema":{"description":{"type":"TypeString","optional":true},"location":{"type":"TypeString","required":true,"forceNew":true},"mobile_network_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":180,"read":5,"delete":180,"update":30}},"azurerm_mobile_network_packet_core_control_plane":{"schema":{"control_plane_access_ipv4_address":{"type":"TypeString","optional":true},"control_plane_access_ipv4_gateway":{"type":"TypeString","optional":true},"control_plane_access_ipv4_subnet":{"type":"TypeString","optional":true},"control_plane_access_name":{"type":"TypeString","optional":true},"core_network_technology":{"type":"TypeString","optional":true},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}},"type":{"type":"TypeString","required":true}}},"maxItems":1},"interoperability_settings_json":{"type":"TypeString","optional":true},"local_diagnostics_access":{"type":"TypeList","required":true,"elem":{"schema":{"authentication_type":{"type":"TypeString","required":true},"https_server_certificate_url":{"type":"TypeString","optional":true}}},"maxItems":1,"minItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"platform":{"type":"TypeList","optional":true,"elem":{"schema":{"arc_kubernetes_cluster_id":{"type":"TypeString","optional":true},"custom_location_id":{"type":"TypeString","optional":true},"edge_device_id":{"type":"TypeString","optional":true},"stack_hci_cluster_id":{"type":"TypeString","optional":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"site_ids":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"minItems":1},"sku":{"type":"TypeString","required":true},"software_version":{"type":"TypeString","optional":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"user_equipment_mtu_in_bytes":{"type":"TypeInt","optional":true,"default":1440}},"timeouts":{"create":180,"read":5,"delete":180,"update":30}},"azurerm_mobile_network_packet_core_data_plane":{"schema":{"location":{"type":"TypeString","required":true,"forceNew":true},"mobile_network_packet_core_control_plane_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"user_plane_access_ipv4_address":{"type":"TypeString","optional":true},"user_plane_access_ipv4_gateway":{"type":"TypeString","optional":true},"user_plane_access_ipv4_subnet":{"type":"TypeString","optional":true},"user_plane_access_name":{"type":"TypeString","optional":true}},"timeouts":{"create":180,"read":5,"delete":180,"update":180}},"azurerm_mobile_network_service":{"schema":{"location":{"type":"TypeString","required":true,"forceNew":true},"mobile_network_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"pcc_rule":{"type":"TypeList","required":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"precedence":{"type":"TypeInt","required":true},"qos_policy":{"type":"TypeList","optional":true,"elem":{"schema":{"allocation_and_retention_priority_level":{"type":"TypeInt","optional":true},"guaranteed_bit_rate":{"type":"TypeList","optional":true,"elem":{"schema":{"downlink":{"type":"TypeString","required":true},"uplink":{"type":"TypeString","required":true}}},"maxItems":1},"maximum_bit_rate":{"type":"TypeList","required":true,"elem":{"schema":{"downlink":{"type":"TypeString","required":true},"uplink":{"type":"TypeString","required":true}}},"maxItems":1},"preemption_capability":{"type":"TypeString","optional":true,"default":"NotPreempt"},"preemption_vulnerability":{"type":"TypeString","optional":true,"default":"Preemptable"},"qos_indicator":{"type":"TypeInt","required":true}}},"maxItems":1},"service_data_flow_template":{"type":"TypeList","required":true,"elem":{"schema":{"direction":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true},"ports":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"protocol":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}},"remote_ip_list":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}}}}},"traffic_control_enabled":{"type":"TypeBool","optional":true,"default":true}}}},"service_precedence":{"type":"TypeInt","required":true},"service_qos_policy":{"type":"TypeList","optional":true,"elem":{"schema":{"allocation_and_retention_priority_level":{"type":"TypeInt","optional":true,"default":9},"maximum_bit_rate":{"type":"TypeList","required":true,"elem":{"schema":{"downlink":{"type":"TypeString","required":true},"uplink":{"type":"TypeString","required":true}}},"maxItems":1},"preemption_capability":{"type":"TypeString","optional":true},"preemption_vulnerability":{"type":"TypeString","optional":true},"qos_indicator":{"type":"TypeInt","optional":true}}},"maxItems":1},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":180,"read":5,"delete":180,"update":180}},"azurerm_mobile_network_sim":{"schema":{"authentication_key":{"type":"TypeString","required":true},"device_type":{"type":"TypeString","optional":true},"integrated_circuit_card_identifier":{"type":"TypeString","required":true,"forceNew":true},"international_mobile_subscriber_identity":{"type":"TypeString","required":true,"forceNew":true},"mobile_network_sim_group_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"operator_key_code":{"type":"TypeString","required":true},"sim_policy_id":{"type":"TypeString","optional":true},"sim_state":{"type":"TypeString","computed":true},"static_ip_configuration":{"type":"TypeList","optional":true,"elem":{"schema":{"attached_data_network_id":{"type":"TypeString","required":true},"slice_id":{"type":"TypeString","required":true},"static_ipv4_address":{"type":"TypeString","optional":true}}},"minItems":1},"vendor_key_fingerprint":{"type":"TypeString","computed":true},"vendor_name":{"type":"TypeString","computed":true}},"timeouts":{"create":90,"read":5,"delete":90,"update":90}},"azurerm_mobile_network_sim_group":{"schema":{"encryption_key_url":{"type":"TypeString","optional":true},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}},"type":{"type":"TypeString","required":true}}},"maxItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"mobile_network_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":180,"read":5,"delete":180,"update":180}},"azurerm_mobile_network_sim_policy":{"schema":{"default_slice_id":{"type":"TypeString","required":true},"location":{"type":"TypeString","required":true,"forceNew":true},"mobile_network_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"rat_frequency_selection_priority_index":{"type":"TypeInt","optional":true},"registration_timer_in_seconds":{"type":"TypeInt","optional":true,"default":3240},"slice":{"type":"TypeList","required":true,"elem":{"schema":{"data_network":{"type":"TypeList","required":true,"elem":{"schema":{"additional_allowed_session_types":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"allocation_and_retention_priority_level":{"type":"TypeInt","optional":true,"default":0},"allowed_services_ids":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}},"data_network_id":{"type":"TypeString","required":true},"default_session_type":{"type":"TypeString","optional":true,"default":"IPv4"},"max_buffered_packets":{"type":"TypeInt","optional":true,"default":10},"preemption_capability":{"type":"TypeString","optional":true,"default":"NotPreempt"},"preemption_vulnerability":{"type":"TypeString","optional":true,"default":"NotPreemptable"},"qos_indicator":{"type":"TypeInt","required":true},"session_aggregate_maximum_bit_rate":{"type":"TypeList","required":true,"elem":{"schema":{"downlink":{"type":"TypeString","required":true},"uplink":{"type":"TypeString","required":true}}},"maxItems":1}}}},"default_data_network_id":{"type":"TypeString","required":true},"slice_id":{"type":"TypeString","required":true}}},"minItems":1},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"user_equipment_aggregate_maximum_bit_rate":{"type":"TypeList","required":true,"elem":{"schema":{"downlink":{"type":"TypeString","required":true},"uplink":{"type":"TypeString","required":true}}},"maxItems":1}},"timeouts":{"create":180,"read":5,"delete":180,"update":60}},"azurerm_mobile_network_site":{"schema":{"location":{"type":"TypeString","required":true,"forceNew":true},"mobile_network_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"network_function_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":180,"read":5,"delete":180,"update":180}},"azurerm_mobile_network_slice":{"schema":{"description":{"type":"TypeString","optional":true},"location":{"type":"TypeString","required":true,"forceNew":true},"mobile_network_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"single_network_slice_selection_assistance_information":{"type":"TypeList","required":true,"elem":{"schema":{"slice_differentiator":{"type":"TypeString","optional":true},"slice_service_type":{"type":"TypeInt","required":true}}},"maxItems":1},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":180,"read":5,"delete":180,"update":180}},"azurerm_monitor_aad_diagnostic_setting":{"schema":{"enabled_log":{"type":"TypeSet","optional":true,"elem":{"schema":{"category":{"type":"TypeString","required":true},"retention_policy":{"type":"TypeList","required":true,"elem":{"schema":{"days":{"type":"TypeInt","optional":true,"default":0},"enabled":{"type":"TypeBool","optional":true,"default":false}}},"maxItems":1}}}},"eventhub_authorization_rule_id":{"type":"TypeString","optional":true,"forceNew":true},"eventhub_name":{"type":"TypeString","optional":true,"forceNew":true},"log_analytics_workspace_id":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"storage_account_id":{"type":"TypeString","optional":true,"forceNew":true}},"timeouts":{"create":5,"read":5,"delete":5,"update":5}},"azurerm_monitor_action_group":{"schema":{"arm_role_receiver":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"role_id":{"type":"TypeString","required":true},"use_common_alert_schema":{"type":"TypeBool","optional":true}}}},"automation_runbook_receiver":{"type":"TypeList","optional":true,"elem":{"schema":{"automation_account_id":{"type":"TypeString","required":true},"is_global_runbook":{"type":"TypeBool","required":true},"name":{"type":"TypeString","required":true},"runbook_name":{"type":"TypeString","required":true},"service_uri":{"type":"TypeString","required":true},"use_common_alert_schema":{"type":"TypeBool","optional":true,"default":false},"webhook_resource_id":{"type":"TypeString","required":true}}}},"azure_app_push_receiver":{"type":"TypeList","optional":true,"elem":{"schema":{"email_address":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true}}}},"azure_function_receiver":{"type":"TypeList","optional":true,"elem":{"schema":{"function_app_resource_id":{"type":"TypeString","required":true},"function_name":{"type":"TypeString","required":true},"http_trigger_url":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true},"use_common_alert_schema":{"type":"TypeBool","optional":true}}}},"email_receiver":{"type":"TypeList","optional":true,"elem":{"schema":{"email_address":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true},"use_common_alert_schema":{"type":"TypeBool","optional":true}}}},"enabled":{"type":"TypeBool","optional":true,"default":true},"event_hub_receiver":{"type":"TypeList","optional":true,"elem":{"schema":{"event_hub_name":{"type":"TypeString","required":true},"event_hub_namespace":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true},"subscription_id":{"type":"TypeString","optional":true,"computed":true},"tenant_id":{"type":"TypeString","optional":true,"computed":true},"use_common_alert_schema":{"type":"TypeBool","optional":true}}}},"itsm_receiver":{"type":"TypeList","optional":true,"elem":{"schema":{"connection_id":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true},"region":{"type":"TypeString","required":true},"ticket_configuration":{"type":"TypeString","required":true},"workspace_id":{"type":"TypeString","required":true}}}},"location":{"type":"TypeString","optional":true,"default":"global","forceNew":true},"logic_app_receiver":{"type":"TypeList","optional":true,"elem":{"schema":{"callback_url":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true},"resource_id":{"type":"TypeString","required":true},"use_common_alert_schema":{"type":"TypeBool","optional":true}}}},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"short_name":{"type":"TypeString","required":true},"sms_receiver":{"type":"TypeList","optional":true,"elem":{"schema":{"country_code":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true},"phone_number":{"type":"TypeString","required":true}}}},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"voice_receiver":{"type":"TypeList","optional":true,"elem":{"schema":{"country_code":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true},"phone_number":{"type":"TypeString","required":true}}}},"webhook_receiver":{"type":"TypeList","optional":true,"elem":{"schema":{"aad_auth":{"type":"TypeList","optional":true,"elem":{"schema":{"identifier_uri":{"type":"TypeString","optional":true,"computed":true},"object_id":{"type":"TypeString","required":true},"tenant_id":{"type":"TypeString","optional":true,"computed":true}}},"maxItems":1},"name":{"type":"TypeString","required":true},"service_uri":{"type":"TypeString","required":true},"use_common_alert_schema":{"type":"TypeBool","optional":true}}}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_monitor_activity_log_alert":{"schema":{"action":{"type":"TypeList","optional":true,"elem":{"schema":{"action_group_id":{"type":"TypeString","required":true},"webhook_properties":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}}}},"criteria":{"type":"TypeList","required":true,"elem":{"schema":{"caller":{"type":"TypeString","optional":true},"category":{"type":"TypeString","required":true},"level":{"type":"TypeString","optional":true},"levels":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"operation_name":{"type":"TypeString","optional":true},"recommendation_category":{"type":"TypeString","optional":true},"recommendation_impact":{"type":"TypeString","optional":true},"recommendation_type":{"type":"TypeString","optional":true},"resource_group":{"type":"TypeString","optional":true},"resource_groups":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"resource_health":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"current":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"previous":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"reason":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"resource_id":{"type":"TypeString","optional":true},"resource_ids":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"resource_provider":{"type":"TypeString","optional":true},"resource_providers":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"resource_type":{"type":"TypeString","optional":true},"resource_types":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"service_health":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"events":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"locations":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"services":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"status":{"type":"TypeString","optional":true},"statuses":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"sub_status":{"type":"TypeString","optional":true},"sub_statuses":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"description":{"type":"TypeString","optional":true},"enabled":{"type":"TypeBool","optional":true,"default":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"scopes":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"},"minItems":1},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_monitor_alert_processing_rule_action_group":{"schema":{"add_action_group_ids":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}},"condition":{"type":"TypeList","optional":true,"elem":{"schema":{"alert_context":{"type":"TypeList","optional":true,"elem":{"schema":{"operator":{"type":"TypeString","required":true},"values":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"alert_rule_id":{"type":"TypeList","optional":true,"elem":{"schema":{"operator":{"type":"TypeString","required":true},"values":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"alert_rule_name":{"type":"TypeList","optional":true,"elem":{"schema":{"operator":{"type":"TypeString","required":true},"values":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"description":{"type":"TypeList","optional":true,"elem":{"schema":{"operator":{"type":"TypeString","required":true},"values":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"monitor_condition":{"type":"TypeList","optional":true,"elem":{"schema":{"operator":{"type":"TypeString","required":true},"values":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"monitor_service":{"type":"TypeList","optional":true,"elem":{"schema":{"operator":{"type":"TypeString","required":true},"values":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"severity":{"type":"TypeList","optional":true,"elem":{"schema":{"operator":{"type":"TypeString","required":true},"values":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"signal_type":{"type":"TypeList","optional":true,"elem":{"schema":{"operator":{"type":"TypeString","required":true},"values":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"target_resource":{"type":"TypeList","optional":true,"elem":{"schema":{"operator":{"type":"TypeString","required":true},"values":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"target_resource_group":{"type":"TypeList","optional":true,"elem":{"schema":{"operator":{"type":"TypeString","required":true},"values":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"target_resource_type":{"type":"TypeList","optional":true,"elem":{"schema":{"operator":{"type":"TypeString","required":true},"values":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}}}},"maxItems":1}}},"maxItems":1},"description":{"type":"TypeString","optional":true},"enabled":{"type":"TypeBool","optional":true,"default":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"schedule":{"type":"TypeList","optional":true,"elem":{"schema":{"effective_from":{"type":"TypeString","optional":true},"effective_until":{"type":"TypeString","optional":true},"recurrence":{"type":"TypeList","optional":true,"elem":{"schema":{"daily":{"type":"TypeList","optional":true,"elem":{"schema":{"end_time":{"type":"TypeString","required":true},"start_time":{"type":"TypeString","required":true}}}},"monthly":{"type":"TypeList","optional":true,"elem":{"schema":{"days_of_month":{"type":"TypeList","required":true,"elem":{"type":"TypeInt"},"minItems":1},"end_time":{"type":"TypeString","optional":true},"start_time":{"type":"TypeString","optional":true}}}},"weekly":{"type":"TypeList","optional":true,"elem":{"schema":{"days_of_week":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"minItems":1},"end_time":{"type":"TypeString","optional":true},"start_time":{"type":"TypeString","optional":true}}}}}},"maxItems":1},"time_zone":{"type":"TypeString","optional":true,"default":"UTC"}}},"maxItems":1},"scopes":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"minItems":1},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_monitor_alert_processing_rule_suppression":{"schema":{"condition":{"type":"TypeList","optional":true,"elem":{"schema":{"alert_context":{"type":"TypeList","optional":true,"elem":{"schema":{"operator":{"type":"TypeString","required":true},"values":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"alert_rule_id":{"type":"TypeList","optional":true,"elem":{"schema":{"operator":{"type":"TypeString","required":true},"values":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"alert_rule_name":{"type":"TypeList","optional":true,"elem":{"schema":{"operator":{"type":"TypeString","required":true},"values":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"description":{"type":"TypeList","optional":true,"elem":{"schema":{"operator":{"type":"TypeString","required":true},"values":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"monitor_condition":{"type":"TypeList","optional":true,"elem":{"schema":{"operator":{"type":"TypeString","required":true},"values":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"monitor_service":{"type":"TypeList","optional":true,"elem":{"schema":{"operator":{"type":"TypeString","required":true},"values":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"severity":{"type":"TypeList","optional":true,"elem":{"schema":{"operator":{"type":"TypeString","required":true},"values":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"signal_type":{"type":"TypeList","optional":true,"elem":{"schema":{"operator":{"type":"TypeString","required":true},"values":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"target_resource":{"type":"TypeList","optional":true,"elem":{"schema":{"operator":{"type":"TypeString","required":true},"values":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"target_resource_group":{"type":"TypeList","optional":true,"elem":{"schema":{"operator":{"type":"TypeString","required":true},"values":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"target_resource_type":{"type":"TypeList","optional":true,"elem":{"schema":{"operator":{"type":"TypeString","required":true},"values":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}}}},"maxItems":1}}},"maxItems":1},"description":{"type":"TypeString","optional":true},"enabled":{"type":"TypeBool","optional":true,"default":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"schedule":{"type":"TypeList","optional":true,"elem":{"schema":{"effective_from":{"type":"TypeString","optional":true},"effective_until":{"type":"TypeString","optional":true},"recurrence":{"type":"TypeList","optional":true,"elem":{"schema":{"daily":{"type":"TypeList","optional":true,"elem":{"schema":{"end_time":{"type":"TypeString","required":true},"start_time":{"type":"TypeString","required":true}}}},"monthly":{"type":"TypeList","optional":true,"elem":{"schema":{"days_of_month":{"type":"TypeList","required":true,"elem":{"type":"TypeInt"},"minItems":1},"end_time":{"type":"TypeString","optional":true},"start_time":{"type":"TypeString","optional":true}}}},"weekly":{"type":"TypeList","optional":true,"elem":{"schema":{"days_of_week":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"minItems":1},"end_time":{"type":"TypeString","optional":true},"start_time":{"type":"TypeString","optional":true}}}}}},"maxItems":1},"time_zone":{"type":"TypeString","optional":true,"default":"UTC"}}},"maxItems":1},"scopes":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"minItems":1},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_monitor_alert_prometheus_rule_group":{"schema":{"cluster_name":{"type":"TypeString","optional":true},"description":{"type":"TypeString","optional":true},"interval":{"type":"TypeString","optional":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"rule":{"type":"TypeList","required":true,"elem":{"schema":{"action":{"type":"TypeList","optional":true,"elem":{"schema":{"action_group_id":{"type":"TypeString","required":true},"action_properties":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":5},"alert":{"type":"TypeString","optional":true},"alert_resolution":{"type":"TypeList","optional":true,"elem":{"schema":{"auto_resolved":{"type":"TypeBool","optional":true},"time_to_resolve":{"type":"TypeString","optional":true}}},"maxItems":1},"annotations":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"enabled":{"type":"TypeBool","optional":true},"expression":{"type":"TypeString","required":true},"for":{"type":"TypeString","optional":true},"labels":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"record":{"type":"TypeString","optional":true},"severity":{"type":"TypeInt","optional":true}}}},"rule_group_enabled":{"type":"TypeBool","optional":true},"scopes":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_monitor_autoscale_setting":{"schema":{"enabled":{"type":"TypeBool","optional":true,"default":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"notification":{"type":"TypeList","optional":true,"elem":{"schema":{"email":{"type":"TypeList","optional":true,"elem":{"schema":{"custom_emails":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"send_to_subscription_administrator":{"type":"TypeBool","optional":true,"default":false},"send_to_subscription_co_administrator":{"type":"TypeBool","optional":true,"default":false}}},"maxItems":1},"webhook":{"type":"TypeList","optional":true,"elem":{"schema":{"properties":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"service_uri":{"type":"TypeString","required":true}}}}}},"maxItems":1},"predictive":{"type":"TypeList","optional":true,"elem":{"schema":{"look_ahead_time":{"type":"TypeString","optional":true},"scale_mode":{"type":"TypeString","required":true}}},"maxItems":1,"minItems":1},"profile":{"type":"TypeList","required":true,"elem":{"schema":{"capacity":{"type":"TypeList","required":true,"elem":{"schema":{"default":{"type":"TypeInt","required":true},"maximum":{"type":"TypeInt","required":true},"minimum":{"type":"TypeInt","required":true}}},"maxItems":1},"fixed_date":{"type":"TypeList","optional":true,"elem":{"schema":{"end":{"type":"TypeString","required":true},"start":{"type":"TypeString","required":true},"timezone":{"type":"TypeString","optional":true,"default":"UTC"}}},"maxItems":1},"name":{"type":"TypeString","required":true},"recurrence":{"type":"TypeList","optional":true,"elem":{"schema":{"days":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}},"hours":{"type":"TypeList","required":true,"elem":{"type":"TypeInt"},"maxItems":1},"minutes":{"type":"TypeList","required":true,"elem":{"type":"TypeInt"},"maxItems":1},"timezone":{"type":"TypeString","optional":true,"default":"UTC"}}},"maxItems":1},"rule":{"type":"TypeList","optional":true,"elem":{"schema":{"metric_trigger":{"type":"TypeList","required":true,"elem":{"schema":{"dimensions":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"operator":{"type":"TypeString","required":true},"values":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}}}}},"divide_by_instance_count":{"type":"TypeBool","optional":true},"metric_name":{"type":"TypeString","required":true},"metric_namespace":{"type":"TypeString","optional":true},"metric_resource_id":{"type":"TypeString","required":true},"operator":{"type":"TypeString","required":true},"statistic":{"type":"TypeString","required":true},"threshold":{"type":"TypeFloat","required":true},"time_aggregation":{"type":"TypeString","required":true},"time_grain":{"type":"TypeString","required":true},"time_window":{"type":"TypeString","required":true}}},"maxItems":1},"scale_action":{"type":"TypeList","required":true,"elem":{"schema":{"cooldown":{"type":"TypeString","required":true},"direction":{"type":"TypeString","required":true},"type":{"type":"TypeString","required":true},"value":{"type":"TypeInt","required":true}}},"maxItems":1}}},"maxItems":10}}},"maxItems":20},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"target_resource_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_monitor_data_collection_endpoint":{"schema":{"configuration_access_endpoint":{"type":"TypeString","computed":true},"description":{"type":"TypeString","optional":true},"immutable_id":{"type":"TypeString","computed":true},"kind":{"type":"TypeString","optional":true},"location":{"type":"TypeString","required":true,"forceNew":true},"logs_ingestion_endpoint":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true,"forceNew":true},"public_network_access_enabled":{"type":"TypeBool","optional":true,"default":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_monitor_data_collection_rule":{"schema":{"data_collection_endpoint_id":{"type":"TypeString","optional":true},"data_flow":{"type":"TypeList","required":true,"elem":{"schema":{"built_in_transform":{"type":"TypeString","optional":true},"destinations":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"minItems":1},"output_stream":{"type":"TypeString","optional":true},"streams":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"minItems":1},"transform_kql":{"type":"TypeString","optional":true}}},"minItems":1},"data_sources":{"type":"TypeList","optional":true,"elem":{"schema":{"data_import":{"type":"TypeList","optional":true,"elem":{"schema":{"event_hub_data_source":{"type":"TypeList","required":true,"elem":{"schema":{"consumer_group":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true},"stream":{"type":"TypeString","required":true}}}}}},"maxItems":1},"extension":{"type":"TypeList","optional":true,"elem":{"schema":{"extension_json":{"type":"TypeString","optional":true},"extension_name":{"type":"TypeString","required":true},"input_data_sources":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true},"streams":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"minItems":1}}}},"iis_log":{"type":"TypeList","optional":true,"elem":{"schema":{"log_directories":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"minItems":1},"name":{"type":"TypeString","required":true},"streams":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"minItems":1}}}},"log_file":{"type":"TypeList","optional":true,"elem":{"schema":{"file_patterns":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}},"format":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true},"settings":{"type":"TypeList","optional":true,"elem":{"schema":{"text":{"type":"TypeList","required":true,"elem":{"schema":{"record_start_timestamp_format":{"type":"TypeString","required":true}}},"maxItems":1}}},"maxItems":1},"streams":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"minItems":1}}}},"performance_counter":{"type":"TypeList","optional":true,"elem":{"schema":{"counter_specifiers":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"minItems":1},"name":{"type":"TypeString","required":true},"sampling_frequency_in_seconds":{"type":"TypeInt","required":true},"streams":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"minItems":1}}}},"platform_telemetry":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"streams":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"minItems":1}}}},"prometheus_forwarder":{"type":"TypeList","optional":true,"elem":{"schema":{"label_include_filter":{"type":"TypeSet","optional":true,"elem":{"schema":{"label":{"type":"TypeString","required":true},"value":{"type":"TypeString","required":true}}}},"name":{"type":"TypeString","required":true},"streams":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"minItems":1}}}},"syslog":{"type":"TypeList","optional":true,"elem":{"schema":{"facility_names":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"minItems":1},"log_levels":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"minItems":1},"name":{"type":"TypeString","required":true},"streams":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"minItems":1}}}},"windows_event_log":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"streams":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"minItems":1},"x_path_queries":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"minItems":1}}}},"windows_firewall_log":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"streams":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"minItems":1}}}}}},"maxItems":1},"description":{"type":"TypeString","optional":true},"destinations":{"type":"TypeList","required":true,"elem":{"schema":{"azure_monitor_metrics":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true}}},"maxItems":1},"event_hub":{"type":"TypeList","optional":true,"elem":{"schema":{"event_hub_id":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true}}},"maxItems":1},"event_hub_direct":{"type":"TypeList","optional":true,"elem":{"schema":{"event_hub_id":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true}}},"maxItems":1},"log_analytics":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"workspace_resource_id":{"type":"TypeString","required":true}}}},"monitor_account":{"type":"TypeList","optional":true,"elem":{"schema":{"monitor_account_id":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true}}}},"storage_blob":{"type":"TypeList","optional":true,"elem":{"schema":{"container_name":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true},"storage_account_id":{"type":"TypeString","required":true}}}},"storage_blob_direct":{"type":"TypeList","optional":true,"elem":{"schema":{"container_name":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true},"storage_account_id":{"type":"TypeString","required":true}}}},"storage_table_direct":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"storage_account_id":{"type":"TypeString","required":true},"table_name":{"type":"TypeString","required":true}}}}}},"maxItems":1,"minItems":1},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"immutable_id":{"type":"TypeString","computed":true},"kind":{"type":"TypeString","optional":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"stream_declaration":{"type":"TypeSet","optional":true,"elem":{"schema":{"column":{"type":"TypeList","required":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"type":{"type":"TypeString","required":true}}}},"stream_name":{"type":"TypeString","required":true}}},"minItems":1},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_monitor_data_collection_rule_association":{"schema":{"data_collection_endpoint_id":{"type":"TypeString","optional":true},"data_collection_rule_id":{"type":"TypeString","optional":true},"description":{"type":"TypeString","optional":true},"name":{"type":"TypeString","optional":true,"default":"configurationAccessEndpoint","forceNew":true},"target_resource_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_monitor_diagnostic_setting":{"schema":{"enabled_log":{"type":"TypeSet","optional":true,"elem":{"schema":{"category":{"type":"TypeString","optional":true},"category_group":{"type":"TypeString","optional":true},"retention_policy":{"type":"TypeList","optional":true,"elem":{"schema":{"days":{"type":"TypeInt","optional":true},"enabled":{"type":"TypeBool","required":true}}},"maxItems":1}}}},"eventhub_authorization_rule_id":{"type":"TypeString","optional":true},"eventhub_name":{"type":"TypeString","optional":true},"log_analytics_destination_type":{"type":"TypeString","optional":true,"computed":true},"log_analytics_workspace_id":{"type":"TypeString","optional":true},"metric":{"type":"TypeSet","optional":true,"elem":{"schema":{"category":{"type":"TypeString","required":true},"enabled":{"type":"TypeBool","optional":true,"default":true},"retention_policy":{"type":"TypeList","optional":true,"elem":{"schema":{"days":{"type":"TypeInt","optional":true},"enabled":{"type":"TypeBool","required":true}}},"maxItems":1}}}},"name":{"type":"TypeString","required":true,"forceNew":true},"partner_solution_id":{"type":"TypeString","optional":true},"storage_account_id":{"type":"TypeString","optional":true},"target_resource_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":60,"update":30}},"azurerm_monitor_metric_alert":{"schema":{"action":{"type":"TypeSet","optional":true,"elem":{"schema":{"action_group_id":{"type":"TypeString","required":true},"webhook_properties":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}}}},"application_insights_web_test_location_availability_criteria":{"type":"TypeList","optional":true,"elem":{"schema":{"component_id":{"type":"TypeString","required":true},"failed_location_count":{"type":"TypeInt","required":true},"web_test_id":{"type":"TypeString","required":true}}},"maxItems":1,"minItems":1},"auto_mitigate":{"type":"TypeBool","optional":true,"default":true},"criteria":{"type":"TypeList","optional":true,"elem":{"schema":{"aggregation":{"type":"TypeString","required":true},"dimension":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"operator":{"type":"TypeString","required":true},"values":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"minItems":1}}}},"metric_name":{"type":"TypeString","required":true},"metric_namespace":{"type":"TypeString","required":true},"operator":{"type":"TypeString","required":true},"skip_metric_validation":{"type":"TypeBool","optional":true,"default":false},"threshold":{"type":"TypeFloat","required":true}}},"minItems":1},"description":{"type":"TypeString","optional":true},"dynamic_criteria":{"type":"TypeList","optional":true,"elem":{"schema":{"aggregation":{"type":"TypeString","required":true},"alert_sensitivity":{"type":"TypeString","required":true},"dimension":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"operator":{"type":"TypeString","required":true},"values":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"minItems":1}}}},"evaluation_failure_count":{"type":"TypeInt","optional":true,"default":4},"evaluation_total_count":{"type":"TypeInt","optional":true,"default":4},"ignore_data_before":{"type":"TypeString","optional":true},"metric_name":{"type":"TypeString","required":true},"metric_namespace":{"type":"TypeString","required":true},"operator":{"type":"TypeString","required":true},"skip_metric_validation":{"type":"TypeBool","optional":true}}},"maxItems":1,"minItems":1},"enabled":{"type":"TypeBool","optional":true,"default":true},"frequency":{"type":"TypeString","optional":true,"default":"PT1M"},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"scopes":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"},"minItems":1},"severity":{"type":"TypeInt","optional":true,"default":3},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"target_resource_location":{"type":"TypeString","optional":true,"description":"The location of the target pluginsdk. Required when using subscription, resource group scope or multiple scopes.","computed":true},"target_resource_type":{"type":"TypeString","optional":true,"description":"The resource type (e.g. Microsoft.Compute/virtualMachines) of the target pluginsdk. Required when using subscription, resource group scope or multiple scopes.","computed":true},"window_size":{"type":"TypeString","optional":true,"default":"PT5M"}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_monitor_private_link_scope":{"schema":{"ingestion_access_mode":{"type":"TypeString","optional":true,"default":"Open"},"name":{"type":"TypeString","required":true,"forceNew":true},"query_access_mode":{"type":"TypeString","optional":true,"default":"Open"},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_monitor_private_link_scoped_service":{"schema":{"linked_resource_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"scope_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_monitor_scheduled_query_rules_alert":{"schema":{"action":{"type":"TypeList","required":true,"elem":{"schema":{"action_group":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}},"custom_webhook_payload":{"type":"TypeString","optional":true},"email_subject":{"type":"TypeString","optional":true}}},"maxItems":1},"authorized_resource_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":100},"auto_mitigation_enabled":{"type":"TypeBool","optional":true,"default":false},"data_source_id":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"enabled":{"type":"TypeBool","optional":true,"default":true},"frequency":{"type":"TypeInt","required":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"query":{"type":"TypeString","required":true},"query_type":{"type":"TypeString","optional":true,"default":"ResultCount"},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"severity":{"type":"TypeInt","optional":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"throttling":{"type":"TypeInt","optional":true},"time_window":{"type":"TypeInt","required":true},"trigger":{"type":"TypeList","required":true,"elem":{"schema":{"metric_trigger":{"type":"TypeList","optional":true,"elem":{"schema":{"metric_column":{"type":"TypeString","optional":true},"metric_trigger_type":{"type":"TypeString","required":true},"operator":{"type":"TypeString","required":true},"threshold":{"type":"TypeFloat","required":true}}},"maxItems":1},"operator":{"type":"TypeString","required":true},"threshold":{"type":"TypeFloat","required":true}}},"maxItems":1}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_monitor_scheduled_query_rules_alert_v2":{"schema":{"action":{"type":"TypeList","optional":true,"elem":{"schema":{"action_groups":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"custom_properties":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"auto_mitigation_enabled":{"type":"TypeBool","optional":true,"default":false},"created_with_api_version":{"type":"TypeString","computed":true},"criteria":{"type":"TypeList","required":true,"elem":{"schema":{"dimension":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"operator":{"type":"TypeString","required":true},"values":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}}}}},"failing_periods":{"type":"TypeList","optional":true,"elem":{"schema":{"minimum_failing_periods_to_trigger_alert":{"type":"TypeInt","required":true},"number_of_evaluation_periods":{"type":"TypeInt","required":true}}},"maxItems":1},"metric_measure_column":{"type":"TypeString","optional":true},"operator":{"type":"TypeString","required":true},"query":{"type":"TypeString","required":true},"resource_id_column":{"type":"TypeString","optional":true},"threshold":{"type":"TypeFloat","required":true},"time_aggregation_method":{"type":"TypeString","required":true}}},"minItems":1},"description":{"type":"TypeString","optional":true},"display_name":{"type":"TypeString","optional":true},"enabled":{"type":"TypeBool","optional":true,"default":true},"evaluation_frequency":{"type":"TypeString","required":true},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"is_a_legacy_log_analytics_rule":{"type":"TypeBool","computed":true},"is_workspace_alerts_storage_configured":{"type":"TypeBool","computed":true},"location":{"type":"TypeString","required":true,"forceNew":true},"mute_actions_after_alert_duration":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"query_time_range_override":{"type":"TypeString","optional":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"scopes":{"type":"TypeList","required":true,"forceNew":true,"elem":{"type":"TypeString"},"maxItems":1,"minItems":1},"severity":{"type":"TypeInt","required":true},"skip_query_validation":{"type":"TypeBool","optional":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"target_resource_types":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"window_duration":{"type":"TypeString","required":true},"workspace_alerts_storage_enabled":{"type":"TypeBool","optional":true,"default":false}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_monitor_scheduled_query_rules_log":{"schema":{"authorized_resource_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"criteria":{"type":"TypeList","required":true,"elem":{"schema":{"dimension":{"type":"TypeSet","required":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"operator":{"type":"TypeString","optional":true,"default":"Include"},"values":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}}}}},"metric_name":{"type":"TypeString","required":true}}},"maxItems":1},"data_source_id":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"enabled":{"type":"TypeBool","optional":true,"default":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_monitor_smart_detector_alert_rule":{"schema":{"action_group":{"type":"TypeList","required":true,"elem":{"schema":{"email_subject":{"type":"TypeString","optional":true},"ids":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}},"webhook_payload":{"type":"TypeString","optional":true}}},"maxItems":1},"description":{"type":"TypeString","optional":true},"detector_type":{"type":"TypeString","required":true},"enabled":{"type":"TypeBool","optional":true,"default":true},"frequency":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"scope_resource_ids":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}},"severity":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"throttling_duration":{"type":"TypeString","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_monitor_workspace":{"schema":{"default_data_collection_endpoint_id":{"type":"TypeString","computed":true},"default_data_collection_rule_id":{"type":"TypeString","computed":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"public_network_access_enabled":{"type":"TypeBool","optional":true,"default":true},"query_endpoint":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_mssql_database":{"schema":{"auto_pause_delay_in_minutes":{"type":"TypeInt","optional":true,"computed":true},"collation":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"create_mode":{"type":"TypeString","optional":true,"default":"Default","forceNew":true},"creation_source_database_id":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"elastic_pool_id":{"type":"TypeString","optional":true},"enclave_type":{"type":"TypeString","optional":true,"computed":true},"geo_backup_enabled":{"type":"TypeBool","optional":true,"default":true},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}},"type":{"type":"TypeString","required":true}}},"maxItems":1},"import":{"type":"TypeList","optional":true,"elem":{"schema":{"administrator_login":{"type":"TypeString","required":true},"administrator_login_password":{"type":"TypeString","required":true},"authentication_type":{"type":"TypeString","required":true},"storage_account_id":{"type":"TypeString","optional":true},"storage_key":{"type":"TypeString","required":true},"storage_key_type":{"type":"TypeString","required":true},"storage_uri":{"type":"TypeString","required":true}}},"maxItems":1},"ledger_enabled":{"type":"TypeBool","optional":true,"computed":true,"forceNew":true},"license_type":{"type":"TypeString","optional":true,"computed":true},"long_term_retention_policy":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"monthly_retention":{"type":"TypeString","optional":true,"computed":true},"week_of_year":{"type":"TypeInt","optional":true,"computed":true},"weekly_retention":{"type":"TypeString","optional":true,"computed":true},"yearly_retention":{"type":"TypeString","optional":true,"computed":true}}},"maxItems":1},"maintenance_configuration_name":{"type":"TypeString","optional":true,"computed":true},"max_size_gb":{"type":"TypeInt","optional":true,"computed":true},"min_capacity":{"type":"TypeFloat","optional":true,"computed":true},"name":{"type":"TypeString","required":true,"forceNew":true},"read_replica_count":{"type":"TypeInt","optional":true,"computed":true},"read_scale":{"type":"TypeBool","optional":true,"computed":true},"recover_database_id":{"type":"TypeString","optional":true},"recovery_point_id":{"type":"TypeString","optional":true},"restore_dropped_database_id":{"type":"TypeString","optional":true},"restore_long_term_retention_backup_id":{"type":"TypeString","optional":true},"restore_point_in_time":{"type":"TypeString","optional":true,"computed":true},"sample_name":{"type":"TypeString","optional":true,"computed":true},"secondary_type":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"server_id":{"type":"TypeString","required":true,"forceNew":true},"short_term_retention_policy":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"backup_interval_in_hours":{"type":"TypeInt","optional":true,"computed":true},"retention_days":{"type":"TypeInt","required":true}}},"maxItems":1},"sku_name":{"type":"TypeString","optional":true,"computed":true},"storage_account_type":{"type":"TypeString","optional":true,"default":"Geo"},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"threat_detection_policy":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"disabled_alerts":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"email_account_admins":{"type":"TypeString","optional":true,"default":"Disabled"},"email_addresses":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"retention_days":{"type":"TypeInt","optional":true},"state":{"type":"TypeString","optional":true,"default":"Disabled"},"storage_account_access_key":{"type":"TypeString","optional":true},"storage_endpoint":{"type":"TypeString","optional":true}}},"maxItems":1},"transparent_data_encryption_enabled":{"type":"TypeBool","optional":true,"default":true},"transparent_data_encryption_key_automatic_rotation_enabled":{"type":"TypeBool","optional":true,"default":false},"transparent_data_encryption_key_vault_key_id":{"type":"TypeString","optional":true},"zone_redundant":{"type":"TypeBool","optional":true,"computed":true}},"timeouts":{"create":60,"read":5,"delete":60,"update":60}},"azurerm_mssql_database_extended_auditing_policy":{"schema":{"database_id":{"type":"TypeString","required":true,"forceNew":true},"enabled":{"type":"TypeBool","optional":true,"default":true},"log_monitoring_enabled":{"type":"TypeBool","optional":true,"default":true},"retention_in_days":{"type":"TypeInt","optional":true,"default":0},"storage_account_access_key":{"type":"TypeString","optional":true},"storage_account_access_key_is_secondary":{"type":"TypeBool","optional":true,"default":false},"storage_endpoint":{"type":"TypeString","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_mssql_database_vulnerability_assessment_rule_baseline":{"schema":{"baseline_name":{"type":"TypeString","optional":true,"default":"default","forceNew":true},"baseline_result":{"type":"TypeSet","required":true,"elem":{"schema":{"result":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}}}}},"database_name":{"type":"TypeString","required":true,"forceNew":true},"rule_id":{"type":"TypeString","required":true,"forceNew":true},"server_vulnerability_assessment_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_mssql_elasticpool":{"schema":{"enclave_type":{"type":"TypeString","optional":true,"computed":true},"license_type":{"type":"TypeString","optional":true,"computed":true},"location":{"type":"TypeString","required":true,"forceNew":true},"maintenance_configuration_name":{"type":"TypeString","optional":true,"default":"SQL_Default"},"max_size_bytes":{"type":"TypeInt","optional":true,"computed":true},"max_size_gb":{"type":"TypeFloat","optional":true,"computed":true},"name":{"type":"TypeString","required":true,"forceNew":true},"per_database_settings":{"type":"TypeList","required":true,"elem":{"schema":{"max_capacity":{"type":"TypeFloat","required":true},"min_capacity":{"type":"TypeFloat","required":true}}},"maxItems":1},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"server_name":{"type":"TypeString","required":true,"forceNew":true},"sku":{"type":"TypeList","required":true,"elem":{"schema":{"capacity":{"type":"TypeInt","required":true},"family":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true},"tier":{"type":"TypeString","required":true}}},"maxItems":1},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"zone_redundant":{"type":"TypeBool","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_mssql_failover_group":{"schema":{"databases":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true,"forceNew":true},"partner_server":{"type":"TypeList","required":true,"elem":{"schema":{"id":{"type":"TypeString","required":true},"location":{"type":"TypeString","computed":true},"role":{"type":"TypeString","computed":true}}},"minItems":1},"read_write_endpoint_failover_policy":{"type":"TypeList","required":true,"elem":{"schema":{"grace_minutes":{"type":"TypeInt","optional":true},"mode":{"type":"TypeString","required":true}}},"maxItems":1},"readonly_endpoint_failover_policy_enabled":{"type":"TypeBool","optional":true,"computed":true},"server_id":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_mssql_firewall_rule":{"schema":{"end_ip_address":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true,"forceNew":true},"server_id":{"type":"TypeString","required":true,"forceNew":true},"start_ip_address":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_mssql_job_agent":{"schema":{"database_id":{"type":"TypeString","required":true,"forceNew":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":60,"read":5,"delete":60,"update":60}},"azurerm_mssql_job_credential":{"schema":{"job_agent_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"password":{"type":"TypeString","required":true},"username":{"type":"TypeString","required":true}},"timeouts":{"create":60,"read":5,"delete":60,"update":60}},"azurerm_mssql_managed_database":{"schema":{"long_term_retention_policy":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"monthly_retention":{"type":"TypeString","optional":true,"computed":true},"week_of_year":{"type":"TypeInt","optional":true,"computed":true},"weekly_retention":{"type":"TypeString","optional":true,"computed":true},"yearly_retention":{"type":"TypeString","optional":true,"computed":true}}},"maxItems":1},"managed_instance_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"point_in_time_restore":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"restore_point_in_time":{"type":"TypeString","required":true,"forceNew":true},"source_database_id":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"short_term_retention_days":{"type":"TypeInt","optional":true,"default":7}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_mssql_managed_instance":{"schema":{"administrator_login":{"type":"TypeString","required":true,"forceNew":true},"administrator_login_password":{"type":"TypeString","required":true},"collation":{"type":"TypeString","optional":true,"default":"SQL_Latin1_General_CP1_CI_AS","forceNew":true},"dns_zone":{"type":"TypeString","computed":true},"dns_zone_partner_id":{"type":"TypeString","optional":true},"fqdn":{"type":"TypeString","computed":true},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"license_type":{"type":"TypeString","required":true},"location":{"type":"TypeString","required":true,"forceNew":true},"maintenance_configuration_name":{"type":"TypeString","optional":true,"default":"SQL_Default"},"minimum_tls_version":{"type":"TypeString","optional":true,"default":"1.2"},"name":{"type":"TypeString","required":true,"forceNew":true},"proxy_override":{"type":"TypeString","optional":true,"default":"Default"},"public_data_endpoint_enabled":{"type":"TypeBool","optional":true,"default":false},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"service_principal_type":{"type":"TypeString","optional":true},"sku_name":{"type":"TypeString","required":true},"storage_account_type":{"type":"TypeString","optional":true,"default":"GRS","forceNew":true},"storage_size_in_gb":{"type":"TypeInt","required":true},"subnet_id":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"timezone_id":{"type":"TypeString","optional":true,"default":"UTC","forceNew":true},"vcores":{"type":"TypeInt","required":true},"zone_redundant_enabled":{"type":"TypeBool","optional":true,"default":false}},"timeouts":{"create":1440,"read":5,"delete":1440,"update":1440}},"azurerm_mssql_managed_instance_active_directory_administrator":{"schema":{"azuread_authentication_only":{"type":"TypeBool","optional":true},"login_username":{"type":"TypeString","required":true},"managed_instance_id":{"type":"TypeString","required":true,"forceNew":true},"object_id":{"type":"TypeString","required":true},"tenant_id":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":180,"update":30}},"azurerm_mssql_managed_instance_failover_group":{"schema":{"location":{"type":"TypeString","required":true,"forceNew":true},"managed_instance_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"partner_managed_instance_id":{"type":"TypeString","required":true,"forceNew":true},"partner_region":{"type":"TypeList","computed":true,"elem":{"schema":{"location":{"type":"TypeString","computed":true},"role":{"type":"TypeString","computed":true}}}},"read_write_endpoint_failover_policy":{"type":"TypeList","required":true,"elem":{"schema":{"grace_minutes":{"type":"TypeInt","optional":true},"mode":{"type":"TypeString","required":true}}},"maxItems":1},"readonly_endpoint_failover_policy_enabled":{"type":"TypeBool","optional":true,"default":true},"role":{"type":"TypeString","computed":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_mssql_managed_instance_security_alert_policy":{"schema":{"disabled_alerts":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"email_account_admins_enabled":{"type":"TypeBool","optional":true,"default":false},"email_addresses":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"enabled":{"type":"TypeBool","optional":true},"managed_instance_name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"retention_days":{"type":"TypeInt","optional":true,"default":0},"storage_account_access_key":{"type":"TypeString","optional":true},"storage_endpoint":{"type":"TypeString","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_mssql_managed_instance_transparent_data_encryption":{"schema":{"auto_rotation_enabled":{"type":"TypeBool","optional":true,"default":false},"key_vault_key_id":{"type":"TypeString","optional":true},"managed_instance_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_mssql_managed_instance_vulnerability_assessment":{"schema":{"managed_instance_id":{"type":"TypeString","required":true,"forceNew":true},"recurring_scans":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"email_subscription_admins":{"type":"TypeBool","optional":true,"default":true},"emails":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"enabled":{"type":"TypeBool","optional":true,"default":false}}},"maxItems":1},"storage_account_access_key":{"type":"TypeString","optional":true},"storage_container_path":{"type":"TypeString","required":true},"storage_container_sas_key":{"type":"TypeString","optional":true}},"timeouts":{"create":60,"read":5,"delete":60,"update":60}},"azurerm_mssql_outbound_firewall_rule":{"schema":{"name":{"type":"TypeString","required":true,"forceNew":true},"server_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_mssql_server":{"schema":{"administrator_login":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"administrator_login_password":{"type":"TypeString","optional":true},"azuread_administrator":{"type":"TypeList","optional":true,"elem":{"schema":{"azuread_authentication_only":{"type":"TypeBool","optional":true,"computed":true},"login_username":{"type":"TypeString","required":true},"object_id":{"type":"TypeString","required":true},"tenant_id":{"type":"TypeString","optional":true,"computed":true}}},"maxItems":1,"minItems":1},"connection_policy":{"type":"TypeString","optional":true,"default":"Default"},"fully_qualified_domain_name":{"type":"TypeString","computed":true},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"minimum_tls_version":{"type":"TypeString","optional":true,"default":"1.2"},"name":{"type":"TypeString","required":true,"forceNew":true},"outbound_network_restriction_enabled":{"type":"TypeBool","optional":true,"default":false},"primary_user_assigned_identity_id":{"type":"TypeString","optional":true,"computed":true},"public_network_access_enabled":{"type":"TypeBool","optional":true,"default":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"restorable_dropped_database_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"transparent_data_encryption_key_vault_key_id":{"type":"TypeString","optional":true},"version":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":60,"read":5,"delete":60,"update":60}},"azurerm_mssql_server_dns_alias":{"schema":{"dns_record":{"type":"TypeString","computed":true},"mssql_server_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":10}},"azurerm_mssql_server_extended_auditing_policy":{"schema":{"audit_actions_and_groups":{"type":"TypeList","optional":true,"computed":true,"elem":{"type":"TypeString"}},"enabled":{"type":"TypeBool","optional":true,"default":true},"log_monitoring_enabled":{"type":"TypeBool","optional":true,"default":true},"predicate_expression":{"type":"TypeString","optional":true},"retention_in_days":{"type":"TypeInt","optional":true,"default":0},"server_id":{"type":"TypeString","required":true,"forceNew":true},"storage_account_access_key":{"type":"TypeString","optional":true},"storage_account_access_key_is_secondary":{"type":"TypeBool","optional":true,"default":false},"storage_account_subscription_id":{"type":"TypeString","optional":true},"storage_endpoint":{"type":"TypeString","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_mssql_server_microsoft_support_auditing_policy":{"schema":{"blob_storage_endpoint":{"type":"TypeString","optional":true},"enabled":{"type":"TypeBool","optional":true,"default":true},"log_monitoring_enabled":{"type":"TypeBool","optional":true,"default":true},"server_id":{"type":"TypeString","required":true,"forceNew":true},"storage_account_access_key":{"type":"TypeString","optional":true},"storage_account_subscription_id":{"type":"TypeString","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_mssql_server_security_alert_policy":{"schema":{"disabled_alerts":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"email_account_admins":{"type":"TypeBool","optional":true,"default":false},"email_addresses":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"retention_days":{"type":"TypeInt","optional":true,"default":0},"server_name":{"type":"TypeString","required":true,"forceNew":true},"state":{"type":"TypeString","required":true},"storage_account_access_key":{"type":"TypeString","optional":true},"storage_endpoint":{"type":"TypeString","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_mssql_server_transparent_data_encryption":{"schema":{"auto_rotation_enabled":{"type":"TypeBool","optional":true,"default":false},"key_vault_key_id":{"type":"TypeString","optional":true},"managed_hsm_key_id":{"type":"TypeString","optional":true},"server_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_mssql_server_vulnerability_assessment":{"schema":{"recurring_scans":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"email_subscription_admins":{"type":"TypeBool","optional":true,"default":false},"emails":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"enabled":{"type":"TypeBool","optional":true,"default":false}}},"maxItems":1},"server_security_alert_policy_id":{"type":"TypeString","required":true,"forceNew":true},"storage_account_access_key":{"type":"TypeString","optional":true},"storage_container_path":{"type":"TypeString","required":true},"storage_container_sas_key":{"type":"TypeString","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_mssql_virtual_machine":{"schema":{"assessment":{"type":"TypeList","optional":true,"elem":{"schema":{"enabled":{"type":"TypeBool","optional":true,"default":true},"run_immediately":{"type":"TypeBool","optional":true,"default":false},"schedule":{"type":"TypeList","optional":true,"elem":{"schema":{"day_of_week":{"type":"TypeString","required":true},"monthly_occurrence":{"type":"TypeInt","optional":true},"start_time":{"type":"TypeString","required":true},"weekly_interval":{"type":"TypeInt","optional":true}}},"maxItems":1}}},"maxItems":1},"auto_backup":{"type":"TypeList","optional":true,"elem":{"schema":{"encryption_enabled":{"type":"TypeBool","optional":true,"default":false},"encryption_password":{"type":"TypeString","optional":true},"manual_schedule":{"type":"TypeList","optional":true,"elem":{"schema":{"days_of_week":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"minItems":1},"full_backup_frequency":{"type":"TypeString","required":true},"full_backup_start_hour":{"type":"TypeInt","required":true},"full_backup_window_in_hours":{"type":"TypeInt","required":true},"log_backup_frequency_in_minutes":{"type":"TypeInt","required":true}}},"maxItems":1},"retention_period_in_days":{"type":"TypeInt","required":true},"storage_account_access_key":{"type":"TypeString","required":true},"storage_blob_endpoint":{"type":"TypeString","required":true},"system_databases_backup_enabled":{"type":"TypeBool","optional":true}}},"maxItems":1},"auto_patching":{"type":"TypeList","optional":true,"elem":{"schema":{"day_of_week":{"type":"TypeString","required":true},"maintenance_window_duration_in_minutes":{"type":"TypeInt","required":true},"maintenance_window_starting_hour":{"type":"TypeInt","required":true}}},"maxItems":1},"key_vault_credential":{"type":"TypeList","optional":true,"elem":{"schema":{"key_vault_url":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true},"service_principal_name":{"type":"TypeString","required":true,"forceNew":true},"service_principal_secret":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"r_services_enabled":{"type":"TypeBool","optional":true},"sql_connectivity_port":{"type":"TypeInt","optional":true,"default":1433},"sql_connectivity_type":{"type":"TypeString","optional":true,"default":"PRIVATE"},"sql_connectivity_update_password":{"type":"TypeString","optional":true},"sql_connectivity_update_username":{"type":"TypeString","optional":true},"sql_instance":{"type":"TypeList","optional":true,"elem":{"schema":{"adhoc_workloads_optimization_enabled":{"type":"TypeBool","optional":true,"default":false},"collation":{"type":"TypeString","optional":true,"default":"SQL_Latin1_General_CP1_CI_AS","forceNew":true},"instant_file_initialization_enabled":{"type":"TypeBool","optional":true,"default":false,"forceNew":true},"lock_pages_in_memory_enabled":{"type":"TypeBool","optional":true,"default":false,"forceNew":true},"max_dop":{"type":"TypeInt","optional":true,"default":0},"max_server_memory_mb":{"type":"TypeInt","optional":true,"default":2147483647},"min_server_memory_mb":{"type":"TypeInt","optional":true,"default":0}}},"maxItems":1},"sql_license_type":{"type":"TypeString","optional":true,"forceNew":true},"sql_virtual_machine_group_id":{"type":"TypeString","optional":true},"storage_configuration":{"type":"TypeList","optional":true,"elem":{"schema":{"data_settings":{"type":"TypeList","optional":true,"elem":{"schema":{"default_file_path":{"type":"TypeString","required":true},"luns":{"type":"TypeList","required":true,"elem":{"type":"TypeInt"}}}},"maxItems":1},"disk_type":{"type":"TypeString","required":true},"log_settings":{"type":"TypeList","optional":true,"elem":{"schema":{"default_file_path":{"type":"TypeString","required":true},"luns":{"type":"TypeList","required":true,"elem":{"type":"TypeInt"}}}},"maxItems":1},"storage_workload_type":{"type":"TypeString","required":true},"system_db_on_data_disk_enabled":{"type":"TypeBool","optional":true,"default":false},"temp_db_settings":{"type":"TypeList","optional":true,"elem":{"schema":{"data_file_count":{"type":"TypeInt","optional":true,"default":8},"data_file_growth_in_mb":{"type":"TypeInt","optional":true,"default":512},"data_file_size_mb":{"type":"TypeInt","optional":true,"default":256},"default_file_path":{"type":"TypeString","required":true},"log_file_growth_mb":{"type":"TypeInt","optional":true,"default":512},"log_file_size_mb":{"type":"TypeInt","optional":true,"default":256},"luns":{"type":"TypeList","required":true,"elem":{"type":"TypeInt"}}}},"maxItems":1}}},"maxItems":1},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"virtual_machine_id":{"type":"TypeString","required":true,"forceNew":true},"wsfc_domain_credential":{"type":"TypeList","optional":true,"elem":{"schema":{"cluster_bootstrap_account_password":{"type":"TypeString","required":true},"cluster_operator_account_password":{"type":"TypeString","required":true},"sql_service_account_password":{"type":"TypeString","required":true}}},"maxItems":1}},"timeouts":{"create":60,"read":5,"delete":60,"update":60}},"azurerm_mssql_virtual_machine_availability_group_listener":{"schema":{"availability_group_name":{"type":"TypeString","optional":true,"forceNew":true},"load_balancer_configuration":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"load_balancer_id":{"type":"TypeString","required":true,"forceNew":true},"private_ip_address":{"type":"TypeString","required":true,"forceNew":true},"probe_port":{"type":"TypeInt","required":true,"forceNew":true},"sql_virtual_machine_ids":{"type":"TypeSet","required":true,"forceNew":true,"elem":{"type":"TypeString"}},"subnet_id":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"multi_subnet_ip_configuration":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"schema":{"private_ip_address":{"type":"TypeString","required":true,"forceNew":true},"sql_virtual_machine_id":{"type":"TypeString","required":true,"forceNew":true},"subnet_id":{"type":"TypeString","required":true,"forceNew":true}}}},"name":{"type":"TypeString","required":true,"forceNew":true},"port":{"type":"TypeInt","optional":true,"forceNew":true},"replica":{"type":"TypeSet","required":true,"forceNew":true,"elem":{"schema":{"commit":{"type":"TypeString","required":true,"forceNew":true},"failover_mode":{"type":"TypeString","required":true,"forceNew":true},"readable_secondary":{"type":"TypeString","required":true,"forceNew":true},"role":{"type":"TypeString","required":true,"forceNew":true},"sql_virtual_machine_id":{"type":"TypeString","required":true,"forceNew":true}}}},"sql_virtual_machine_group_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_mssql_virtual_machine_group":{"schema":{"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"sql_image_offer":{"type":"TypeString","required":true,"forceNew":true},"sql_image_sku":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"wsfc_domain_profile":{"type":"TypeList","required":true,"elem":{"schema":{"cluster_bootstrap_account_name":{"type":"TypeString","optional":true,"forceNew":true},"cluster_operator_account_name":{"type":"TypeString","optional":true,"forceNew":true},"cluster_subnet_type":{"type":"TypeString","required":true,"forceNew":true},"fqdn":{"type":"TypeString","required":true,"forceNew":true},"organizational_unit_path":{"type":"TypeString","optional":true,"forceNew":true},"sql_service_account_name":{"type":"TypeString","optional":true,"forceNew":true},"storage_account_primary_key":{"type":"TypeString","optional":true},"storage_account_url":{"type":"TypeString","optional":true,"forceNew":true}}},"maxItems":1}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_mssql_virtual_network_rule":{"schema":{"ignore_missing_vnet_service_endpoint":{"type":"TypeBool","optional":true,"default":false},"name":{"type":"TypeString","required":true,"forceNew":true},"server_id":{"type":"TypeString","required":true,"forceNew":true},"subnet_id":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_mysql_flexible_database":{"schema":{"charset":{"type":"TypeString","required":true,"forceNew":true},"collation":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"server_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":60,"read":5,"delete":60}},"azurerm_mysql_flexible_server":{"schema":{"administrator_login":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"administrator_password":{"type":"TypeString","optional":true},"backup_retention_days":{"type":"TypeInt","optional":true,"default":7},"create_mode":{"type":"TypeString","optional":true,"forceNew":true},"customer_managed_key":{"type":"TypeList","optional":true,"elem":{"schema":{"geo_backup_key_vault_key_id":{"type":"TypeString","optional":true},"geo_backup_user_assigned_identity_id":{"type":"TypeString","optional":true},"key_vault_key_id":{"type":"TypeString","optional":true},"primary_user_assigned_identity_id":{"type":"TypeString","optional":true}}},"maxItems":1},"delegated_subnet_id":{"type":"TypeString","optional":true,"forceNew":true},"fqdn":{"type":"TypeString","computed":true},"geo_redundant_backup_enabled":{"type":"TypeBool","optional":true,"default":false,"forceNew":true},"high_availability":{"type":"TypeList","optional":true,"elem":{"schema":{"mode":{"type":"TypeString","required":true},"standby_availability_zone":{"type":"TypeString","optional":true}}},"maxItems":1},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}},"type":{"type":"TypeString","required":true}}},"maxItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"maintenance_window":{"type":"TypeList","optional":true,"elem":{"schema":{"day_of_week":{"type":"TypeInt","optional":true,"default":0},"start_hour":{"type":"TypeInt","optional":true,"default":0},"start_minute":{"type":"TypeInt","optional":true,"default":0}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"point_in_time_restore_time_in_utc":{"type":"TypeString","optional":true,"forceNew":true},"private_dns_zone_id":{"type":"TypeString","optional":true,"forceNew":true},"public_network_access_enabled":{"type":"TypeBool","computed":true},"replica_capacity":{"type":"TypeInt","computed":true},"replication_role":{"type":"TypeString","optional":true,"computed":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"sku_name":{"type":"TypeString","optional":true,"computed":true},"source_server_id":{"type":"TypeString","optional":true,"forceNew":true},"storage":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"auto_grow_enabled":{"type":"TypeBool","optional":true,"default":true},"io_scaling_enabled":{"type":"TypeBool","optional":true,"default":false},"iops":{"type":"TypeInt","optional":true,"computed":true},"size_gb":{"type":"TypeInt","optional":true,"computed":true}}},"maxItems":1},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"version":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"zone":{"type":"TypeString","optional":true}},"timeouts":{"create":60,"read":5,"delete":60,"update":60}},"azurerm_mysql_flexible_server_active_directory_administrator":{"schema":{"identity_id":{"type":"TypeString","required":true},"login":{"type":"TypeString","required":true},"object_id":{"type":"TypeString","required":true},"server_id":{"type":"TypeString","required":true,"forceNew":true},"tenant_id":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_mysql_flexible_server_configuration":{"schema":{"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"server_name":{"type":"TypeString","required":true,"forceNew":true},"value":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_mysql_flexible_server_firewall_rule":{"schema":{"end_ip_address":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"server_name":{"type":"TypeString","required":true,"forceNew":true},"start_ip_address":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_nat_gateway":{"schema":{"idle_timeout_in_minutes":{"type":"TypeInt","optional":true,"default":4},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"resource_guid":{"type":"TypeString","computed":true},"sku_name":{"type":"TypeString","optional":true,"default":"Standard"},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"zones":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":60,"read":5,"delete":60,"update":60}},"azurerm_nat_gateway_public_ip_association":{"schema":{"nat_gateway_id":{"type":"TypeString","required":true,"forceNew":true},"public_ip_address_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_nat_gateway_public_ip_prefix_association":{"schema":{"nat_gateway_id":{"type":"TypeString","required":true,"forceNew":true},"public_ip_prefix_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_netapp_account":{"schema":{"active_directory":{"type":"TypeList","optional":true,"elem":{"schema":{"aes_encryption_enabled":{"type":"TypeBool","optional":true,"default":false,"description":"If enabled, AES encryption will be enabled for SMB communication."},"dns_servers":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}},"domain":{"type":"TypeString","required":true},"kerberos_ad_name":{"type":"TypeString","optional":true,"description":"Name of the active directory machine. This optional parameter is used only while creating kerberos volume."},"kerberos_kdc_ip":{"type":"TypeString","optional":true,"description":"IP address of the KDC server (usually same the DC). This optional parameter is used only while creating kerberos volume."},"ldap_over_tls_enabled":{"type":"TypeBool","optional":true,"default":false,"description":"Specifies whether or not the LDAP traffic needs to be secured via TLS."},"ldap_signing_enabled":{"type":"TypeBool","optional":true,"default":false,"description":"Specifies whether or not the LDAP traffic needs to be signed."},"local_nfs_users_with_ldap_allowed":{"type":"TypeBool","optional":true,"default":false,"description":"If enabled, NFS client local users can also (in addition to LDAP users) access the NFS volumes."},"organizational_unit":{"type":"TypeString","optional":true,"default":"CN=Computers","description":"The Organizational Unit (OU) within the Windows Active Directory where machines will be created. If blank, defaults to 'CN=Computers'"},"password":{"type":"TypeString","required":true},"server_root_ca_certificate":{"type":"TypeString","optional":true,"description":"When LDAP over SSL/TLS is enabled, the LDAP client is required to have base64 encoded Active Directory Certificate Service's self-signed root CA certificate, this optional parameter is used only for dual protocol with LDAP user-mapping volumes."},"site_name":{"type":"TypeString","optional":true,"default":"Default-First-Site-Name","description":"The Active Directory site the service will limit Domain Controller discovery to. If blank, defaults to 'Default-First-Site-Name'"},"smb_server_name":{"type":"TypeString","required":true},"username":{"type":"TypeString","required":true}}},"maxItems":1},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_netapp_account_encryption":{"schema":{"encryption_key":{"type":"TypeString","required":true,"description":"The versionless encryption key url."},"netapp_account_id":{"type":"TypeString","required":true,"description":"The ID of the NetApp Account where encryption will be set."},"system_assigned_identity_principal_id":{"type":"TypeString","optional":true,"description":"The Principal ID of the System Assigned Identity to use for encryption."},"user_assigned_identity_id":{"type":"TypeString","optional":true,"description":"The resource ID of the User Assigned Identity to use for encryption."}},"timeouts":{"create":90,"read":5,"delete":120,"update":120}},"azurerm_netapp_pool":{"schema":{"account_name":{"type":"TypeString","required":true,"forceNew":true},"encryption_type":{"type":"TypeString","optional":true,"default":"Single","forceNew":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"qos_type":{"type":"TypeString","optional":true,"default":"Auto"},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"service_level":{"type":"TypeString","required":true,"forceNew":true},"size_in_tb":{"type":"TypeInt","required":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_netapp_snapshot":{"schema":{"account_name":{"type":"TypeString","required":true,"forceNew":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"pool_name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"volume_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_netapp_snapshot_policy":{"schema":{"account_name":{"type":"TypeString","required":true,"forceNew":true},"daily_schedule":{"type":"TypeList","optional":true,"elem":{"schema":{"hour":{"type":"TypeInt","required":true},"minute":{"type":"TypeInt","required":true},"snapshots_to_keep":{"type":"TypeInt","required":true}}},"maxItems":1},"enabled":{"type":"TypeBool","required":true},"hourly_schedule":{"type":"TypeList","optional":true,"elem":{"schema":{"minute":{"type":"TypeInt","required":true},"snapshots_to_keep":{"type":"TypeInt","required":true}}},"maxItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"monthly_schedule":{"type":"TypeList","optional":true,"elem":{"schema":{"days_of_month":{"type":"TypeSet","required":true,"elem":{"type":"TypeInt"},"maxItems":30},"hour":{"type":"TypeInt","required":true},"minute":{"type":"TypeInt","required":true},"snapshots_to_keep":{"type":"TypeInt","required":true}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"weekly_schedule":{"type":"TypeList","optional":true,"elem":{"schema":{"days_of_week":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"},"maxItems":7},"hour":{"type":"TypeInt","required":true},"minute":{"type":"TypeInt","required":true},"snapshots_to_keep":{"type":"TypeInt","required":true}}},"maxItems":1}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_netapp_volume":{"schema":{"account_name":{"type":"TypeString","required":true,"forceNew":true},"azure_vmware_data_store_enabled":{"type":"TypeBool","optional":true,"default":false,"forceNew":true},"create_from_snapshot_resource_id":{"type":"TypeString","optional":true,"forceNew":true},"data_protection_replication":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"endpoint_type":{"type":"TypeString","optional":true,"default":"dst"},"remote_volume_location":{"type":"TypeString","required":true,"forceNew":true},"remote_volume_resource_id":{"type":"TypeString","required":true},"replication_frequency":{"type":"TypeString","required":true}}},"maxItems":1},"data_protection_snapshot_policy":{"type":"TypeList","optional":true,"elem":{"schema":{"snapshot_policy_id":{"type":"TypeString","required":true}}},"maxItems":1},"encryption_key_source":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"export_policy_rule":{"type":"TypeList","optional":true,"elem":{"schema":{"allowed_clients":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}},"kerberos_5_read_only_enabled":{"type":"TypeBool","optional":true},"kerberos_5_read_write_enabled":{"type":"TypeBool","optional":true},"kerberos_5i_read_only_enabled":{"type":"TypeBool","optional":true},"kerberos_5i_read_write_enabled":{"type":"TypeBool","optional":true},"kerberos_5p_read_only_enabled":{"type":"TypeBool","optional":true},"kerberos_5p_read_write_enabled":{"type":"TypeBool","optional":true},"protocols_enabled":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"maxItems":1,"minItems":1},"root_access_enabled":{"type":"TypeBool","optional":true},"rule_index":{"type":"TypeInt","required":true},"unix_read_only":{"type":"TypeBool","optional":true},"unix_read_write":{"type":"TypeBool","optional":true}}},"maxItems":5},"kerberos_enabled":{"type":"TypeBool","optional":true,"description":"Enable to allow Kerberos secured volumes. Requires appropriate export rules as well as the parent `azurerm_netapp_account` having a defined AD connection.","forceNew":true},"key_vault_private_endpoint_id":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"location":{"type":"TypeString","required":true,"forceNew":true},"mount_ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true,"forceNew":true},"network_features":{"type":"TypeString","optional":true,"default":"Basic"},"pool_name":{"type":"TypeString","required":true,"forceNew":true},"protocols":{"type":"TypeSet","optional":true,"computed":true,"forceNew":true,"elem":{"type":"TypeString"},"maxItems":2},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"security_style":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"service_level":{"type":"TypeString","required":true,"forceNew":true},"smb3_protocol_encryption_enabled":{"type":"TypeBool","optional":true,"description":"SMB3 encryption option should be used only for SMB/DualProtocol volumes. Using it for any other workloads is not supported.","forceNew":true},"smb_access_based_enumeration_enabled":{"type":"TypeBool","optional":true,"default":false,"description":"Enable access based enumeration setting for SMB/Dual Protocol volume. When enabled, users who do not have permission to access a shared folder or file underneath it, do not see that shared resource displayed in their environment."},"smb_continuous_availability_enabled":{"type":"TypeBool","optional":true,"description":"Continuous availability option should be used only for SQL and FSLogix workloads. Using it for any other SMB workloads is not supported.","forceNew":true},"smb_non_browsable_enabled":{"type":"TypeBool","optional":true,"default":false,"description":"Enable non browsable share setting for SMB/Dual Protocol volume. When enabled, it restricts windows clients to browse the share"},"snapshot_directory_visible":{"type":"TypeBool","optional":true,"computed":true},"storage_quota_in_gb":{"type":"TypeInt","required":true},"subnet_id":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"throughput_in_mibps":{"type":"TypeFloat","optional":true,"computed":true},"volume_path":{"type":"TypeString","required":true,"forceNew":true},"zone":{"type":"TypeString","optional":true,"forceNew":true}},"timeouts":{"create":60,"read":5,"delete":60,"update":60}},"azurerm_netapp_volume_group_sap_hana":{"schema":{"account_name":{"type":"TypeString","required":true,"forceNew":true},"application_identifier":{"type":"TypeString","required":true,"forceNew":true},"group_description":{"type":"TypeString","required":true,"forceNew":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"volume":{"type":"TypeList","required":true,"elem":{"schema":{"capacity_pool_id":{"type":"TypeString","required":true,"forceNew":true},"data_protection_replication":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"endpoint_type":{"type":"TypeString","optional":true,"default":"dst"},"remote_volume_location":{"type":"TypeString","required":true},"remote_volume_resource_id":{"type":"TypeString","required":true},"replication_frequency":{"type":"TypeString","required":true}}},"maxItems":1},"data_protection_snapshot_policy":{"type":"TypeList","optional":true,"elem":{"schema":{"snapshot_policy_id":{"type":"TypeString","required":true}}},"maxItems":1},"export_policy_rule":{"type":"TypeList","required":true,"elem":{"schema":{"allowed_clients":{"type":"TypeString","required":true},"nfsv3_enabled":{"type":"TypeBool","required":true},"nfsv41_enabled":{"type":"TypeBool","required":true},"root_access_enabled":{"type":"TypeBool","optional":true,"default":true},"rule_index":{"type":"TypeInt","required":true},"unix_read_only":{"type":"TypeBool","optional":true,"default":false},"unix_read_write":{"type":"TypeBool","optional":true,"default":true}}},"maxItems":5,"minItems":1},"id":{"type":"TypeString","computed":true},"mount_ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true,"forceNew":true},"protocols":{"type":"TypeList","required":true,"forceNew":true,"elem":{"type":"TypeString"},"maxItems":1,"minItems":1},"proximity_placement_group_id":{"type":"TypeString","optional":true,"forceNew":true},"security_style":{"type":"TypeString","required":true,"forceNew":true},"service_level":{"type":"TypeString","required":true,"forceNew":true},"snapshot_directory_visible":{"type":"TypeBool","required":true,"forceNew":true},"storage_quota_in_gb":{"type":"TypeInt","required":true},"subnet_id":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"throughput_in_mibps":{"type":"TypeFloat","required":true},"volume_path":{"type":"TypeString","required":true,"forceNew":true},"volume_spec_name":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":5,"minItems":2}},"timeouts":{"create":90,"read":5,"delete":120,"update":120}},"azurerm_netapp_volume_quota_rule":{"schema":{"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"quota_size_in_kib":{"type":"TypeInt","required":true},"quota_target":{"type":"TypeString","optional":true,"forceNew":true},"quota_type":{"type":"TypeString","required":true,"forceNew":true},"volume_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":90,"read":5,"delete":120,"update":120}},"azurerm_network_connection_monitor":{"schema":{"endpoint":{"type":"TypeSet","required":true,"elem":{"schema":{"address":{"type":"TypeString","optional":true},"coverage_level":{"type":"TypeString","optional":true},"excluded_ip_addresses":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"filter":{"type":"TypeList","optional":true,"elem":{"schema":{"item":{"type":"TypeSet","optional":true,"elem":{"schema":{"address":{"type":"TypeString","optional":true},"type":{"type":"TypeString","optional":true,"default":"AgentAddress"}}}},"type":{"type":"TypeString","optional":true,"default":"Include"}}},"maxItems":1},"included_ip_addresses":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true},"target_resource_id":{"type":"TypeString","optional":true},"target_resource_type":{"type":"TypeString","optional":true}}}},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"network_watcher_id":{"type":"TypeString","required":true,"forceNew":true},"notes":{"type":"TypeString","optional":true},"output_workspace_resource_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"test_configuration":{"type":"TypeSet","required":true,"elem":{"schema":{"http_configuration":{"type":"TypeList","optional":true,"elem":{"schema":{"method":{"type":"TypeString","optional":true,"default":"Get"},"path":{"type":"TypeString","optional":true},"port":{"type":"TypeInt","optional":true},"prefer_https":{"type":"TypeBool","optional":true,"default":false},"request_header":{"type":"TypeSet","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"value":{"type":"TypeString","required":true}}}},"valid_status_code_ranges":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"icmp_configuration":{"type":"TypeList","optional":true,"elem":{"schema":{"trace_route_enabled":{"type":"TypeBool","optional":true,"default":true}}},"maxItems":1},"name":{"type":"TypeString","required":true},"preferred_ip_version":{"type":"TypeString","optional":true},"protocol":{"type":"TypeString","required":true},"success_threshold":{"type":"TypeList","optional":true,"elem":{"schema":{"checks_failed_percent":{"type":"TypeInt","optional":true},"round_trip_time_ms":{"type":"TypeFloat","optional":true}}},"maxItems":1},"tcp_configuration":{"type":"TypeList","optional":true,"elem":{"schema":{"destination_port_behavior":{"type":"TypeString","optional":true},"port":{"type":"TypeInt","required":true},"trace_route_enabled":{"type":"TypeBool","optional":true,"default":true}}},"maxItems":1},"test_frequency_in_seconds":{"type":"TypeInt","optional":true,"default":60}}}},"test_group":{"type":"TypeSet","required":true,"elem":{"schema":{"destination_endpoints":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}},"enabled":{"type":"TypeBool","optional":true,"default":true},"name":{"type":"TypeString","required":true},"source_endpoints":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}},"test_configuration_names":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}}}}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_network_ddos_protection_plan":{"schema":{"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"virtual_network_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_network_function_azure_traffic_collector":{"schema":{"collector_policy_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"virtual_hub_id":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_network_function_collector_policy":{"schema":{"ipfx_emission":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"destination_types":{"type":"TypeList","required":true,"forceNew":true,"elem":{"type":"TypeString"},"maxItems":1}}},"maxItems":1},"ipfx_ingestion":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"source_resource_ids":{"type":"TypeList","required":true,"forceNew":true,"elem":{"type":"TypeString"},"minItems":1}}},"maxItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"traffic_collector_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_network_interface":{"schema":{"accelerated_networking_enabled":{"type":"TypeBool","optional":true},"applied_dns_servers":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"auxiliary_mode":{"type":"TypeString","optional":true},"auxiliary_sku":{"type":"TypeString","optional":true},"dns_servers":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"edge_zone":{"type":"TypeString","optional":true,"forceNew":true},"internal_dns_name_label":{"type":"TypeString","optional":true},"internal_domain_name_suffix":{"type":"TypeString","computed":true},"ip_configuration":{"type":"TypeList","required":true,"elem":{"schema":{"gateway_load_balancer_frontend_ip_configuration_id":{"type":"TypeString","optional":true,"computed":true},"name":{"type":"TypeString","required":true},"primary":{"type":"TypeBool","optional":true,"computed":true},"private_ip_address":{"type":"TypeString","optional":true,"computed":true},"private_ip_address_allocation":{"type":"TypeString","required":true},"private_ip_address_version":{"type":"TypeString","optional":true,"default":"IPv4"},"public_ip_address_id":{"type":"TypeString","optional":true},"subnet_id":{"type":"TypeString","optional":true}}}},"ip_forwarding_enabled":{"type":"TypeBool","optional":true},"location":{"type":"TypeString","required":true,"forceNew":true},"mac_address":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true,"forceNew":true},"private_ip_address":{"type":"TypeString","computed":true},"private_ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"virtual_machine_id":{"type":"TypeString","computed":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_network_interface_application_gateway_backend_address_pool_association":{"schema":{"backend_address_pool_id":{"type":"TypeString","required":true,"forceNew":true},"ip_configuration_name":{"type":"TypeString","required":true,"forceNew":true},"network_interface_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_network_interface_application_security_group_association":{"schema":{"application_security_group_id":{"type":"TypeString","required":true,"forceNew":true},"network_interface_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_network_interface_backend_address_pool_association":{"schema":{"backend_address_pool_id":{"type":"TypeString","required":true,"forceNew":true},"ip_configuration_name":{"type":"TypeString","required":true,"forceNew":true},"network_interface_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_network_interface_nat_rule_association":{"schema":{"ip_configuration_name":{"type":"TypeString","required":true,"forceNew":true},"nat_rule_id":{"type":"TypeString","required":true,"forceNew":true},"network_interface_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_network_interface_security_group_association":{"schema":{"network_interface_id":{"type":"TypeString","required":true,"forceNew":true},"network_security_group_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_network_manager":{"schema":{"cross_tenant_scopes":{"type":"TypeList","computed":true,"elem":{"schema":{"management_groups":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"subscriptions":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"tenant_id":{"type":"TypeString","computed":true}}}},"description":{"type":"TypeString","optional":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"scope":{"type":"TypeList","required":true,"elem":{"schema":{"management_group_ids":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"subscription_ids":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1,"minItems":1},"scope_accesses":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"minItems":1},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_network_manager_admin_rule":{"schema":{"action":{"type":"TypeString","required":true},"admin_rule_collection_id":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"destination":{"type":"TypeList","optional":true,"elem":{"schema":{"address_prefix":{"type":"TypeString","required":true},"address_prefix_type":{"type":"TypeString","required":true}}}},"destination_port_ranges":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"direction":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true,"forceNew":true},"priority":{"type":"TypeInt","required":true},"protocol":{"type":"TypeString","required":true},"source":{"type":"TypeList","optional":true,"elem":{"schema":{"address_prefix":{"type":"TypeString","required":true},"address_prefix_type":{"type":"TypeString","required":true}}}},"source_port_ranges":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_network_manager_admin_rule_collection":{"schema":{"description":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"network_group_ids":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}},"security_admin_configuration_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_network_manager_connectivity_configuration":{"schema":{"applies_to_group":{"type":"TypeList","required":true,"elem":{"schema":{"global_mesh_enabled":{"type":"TypeBool","optional":true},"group_connectivity":{"type":"TypeString","required":true},"network_group_id":{"type":"TypeString","required":true},"use_hub_gateway":{"type":"TypeBool","optional":true}}}},"connectivity_topology":{"type":"TypeString","required":true},"delete_existing_peering_enabled":{"type":"TypeBool","optional":true},"description":{"type":"TypeString","optional":true},"global_mesh_enabled":{"type":"TypeBool","optional":true},"hub":{"type":"TypeList","optional":true,"elem":{"schema":{"resource_id":{"type":"TypeString","required":true},"resource_type":{"type":"TypeString","required":true}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"network_manager_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_network_manager_deployment":{"schema":{"configuration_ids":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}},"location":{"type":"TypeString","required":true,"forceNew":true},"network_manager_id":{"type":"TypeString","required":true,"forceNew":true},"scope_access":{"type":"TypeString","required":true,"forceNew":true},"triggers":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":1440,"read":5,"delete":1440,"update":1440}},"azurerm_network_manager_management_group_connection":{"schema":{"connection_state":{"type":"TypeString","computed":true},"description":{"type":"TypeString","optional":true},"management_group_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"network_manager_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_network_manager_network_group":{"schema":{"description":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"network_manager_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_network_manager_scope_connection":{"schema":{"connection_state":{"type":"TypeString","computed":true},"description":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"network_manager_id":{"type":"TypeString","required":true,"forceNew":true},"target_scope_id":{"type":"TypeString","required":true},"tenant_id":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_network_manager_security_admin_configuration":{"schema":{"apply_on_network_intent_policy_based_services":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"maxItems":1},"description":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"network_manager_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_network_manager_static_member":{"schema":{"name":{"type":"TypeString","required":true,"forceNew":true},"network_group_id":{"type":"TypeString","required":true,"forceNew":true},"region":{"type":"TypeString","computed":true},"target_virtual_network_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_network_manager_subscription_connection":{"schema":{"connection_state":{"type":"TypeString","computed":true},"description":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"network_manager_id":{"type":"TypeString","required":true},"subscription_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_network_packet_capture":{"schema":{"filter":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"local_ip_address":{"type":"TypeString","optional":true,"forceNew":true},"local_port":{"type":"TypeString","optional":true,"forceNew":true},"protocol":{"type":"TypeString","required":true,"forceNew":true},"remote_ip_address":{"type":"TypeString","optional":true,"forceNew":true},"remote_port":{"type":"TypeString","optional":true,"forceNew":true}}}},"maximum_bytes_per_packet":{"type":"TypeInt","optional":true,"default":0,"forceNew":true},"maximum_bytes_per_session":{"type":"TypeInt","optional":true,"default":1073741824,"forceNew":true},"maximum_capture_duration":{"type":"TypeInt","optional":true,"default":18000,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"network_watcher_name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"storage_location":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"file_path":{"type":"TypeString","optional":true},"storage_account_id":{"type":"TypeString","optional":true},"storage_path":{"type":"TypeString","computed":true}}},"maxItems":1},"target_resource_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_network_profile":{"schema":{"container_network_interface":{"type":"TypeList","required":true,"elem":{"schema":{"ip_configuration":{"type":"TypeList","required":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"subnet_id":{"type":"TypeString","required":true}}}},"name":{"type":"TypeString","required":true}}},"maxItems":1},"container_network_interface_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_network_security_group":{"schema":{"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"security_rule":{"type":"TypeSet","configMode":"Auto","optional":true,"computed":true,"elem":{"schema":{"access":{"type":"TypeString","required":true},"description":{"type":"TypeString","optional":true},"destination_address_prefix":{"type":"TypeString","optional":true},"destination_address_prefixes":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"destination_application_security_group_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"destination_port_range":{"type":"TypeString","optional":true},"destination_port_ranges":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"direction":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true},"priority":{"type":"TypeInt","required":true},"protocol":{"type":"TypeString","required":true},"source_address_prefix":{"type":"TypeString","optional":true},"source_address_prefixes":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"source_application_security_group_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"source_port_range":{"type":"TypeString","optional":true},"source_port_ranges":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}}}}},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_network_security_rule":{"schema":{"access":{"type":"TypeString","required":true},"description":{"type":"TypeString","optional":true},"destination_address_prefix":{"type":"TypeString","optional":true},"destination_address_prefixes":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"destination_application_security_group_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":10},"destination_port_range":{"type":"TypeString","optional":true},"destination_port_ranges":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"direction":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true,"forceNew":true},"network_security_group_name":{"type":"TypeString","required":true,"forceNew":true},"priority":{"type":"TypeInt","required":true},"protocol":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"source_address_prefix":{"type":"TypeString","optional":true},"source_address_prefixes":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"source_application_security_group_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":10},"source_port_range":{"type":"TypeString","optional":true},"source_port_ranges":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_network_watcher":{"schema":{"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_network_watcher_flow_log":{"schema":{"enabled":{"type":"TypeBool","required":true},"location":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"network_security_group_id":{"type":"TypeString","required":true,"forceNew":true},"network_watcher_name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"retention_policy":{"type":"TypeList","required":true,"elem":{"schema":{"days":{"type":"TypeInt","required":true},"enabled":{"type":"TypeBool","required":true}}},"maxItems":1},"storage_account_id":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"traffic_analytics":{"type":"TypeList","optional":true,"elem":{"schema":{"enabled":{"type":"TypeBool","required":true},"interval_in_minutes":{"type":"TypeInt","optional":true,"default":60},"workspace_id":{"type":"TypeString","required":true},"workspace_region":{"type":"TypeString","required":true},"workspace_resource_id":{"type":"TypeString","required":true}}},"maxItems":1},"version":{"type":"TypeInt","optional":true,"default":1}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_new_relic_monitor":{"schema":{"account_creation_source":{"type":"TypeString","optional":true,"default":"LIFTR","forceNew":true},"account_id":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"identity":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"ingestion_key":{"type":"TypeString","optional":true,"forceNew":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"org_creation_source":{"type":"TypeString","optional":true,"default":"LIFTR","forceNew":true},"organization_id":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"plan":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"billing_cycle":{"type":"TypeString","optional":true,"default":"MONTHLY","forceNew":true},"effective_date":{"type":"TypeString","required":true,"forceNew":true},"plan_id":{"type":"TypeString","optional":true,"default":"newrelic-pay-as-you-go-free-live","forceNew":true},"usage_type":{"type":"TypeString","optional":true,"default":"PAYG","forceNew":true}}},"maxItems":1},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"user":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"email":{"type":"TypeString","required":true,"forceNew":true},"first_name":{"type":"TypeString","required":true,"forceNew":true},"last_name":{"type":"TypeString","required":true,"forceNew":true},"phone_number":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"user_id":{"type":"TypeString","optional":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_new_relic_tag_rule":{"schema":{"activity_log_enabled":{"type":"TypeBool","optional":true,"default":false},"azure_active_directory_log_enabled":{"type":"TypeBool","optional":true,"default":false},"log_tag_filter":{"type":"TypeList","optional":true,"elem":{"schema":{"action":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true},"value":{"type":"TypeString","required":true}}}},"metric_enabled":{"type":"TypeBool","optional":true,"default":false},"metric_tag_filter":{"type":"TypeList","optional":true,"elem":{"schema":{"action":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true},"value":{"type":"TypeString","required":true}}}},"monitor_id":{"type":"TypeString","required":true,"forceNew":true},"subscription_log_enabled":{"type":"TypeBool","optional":true,"default":false}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_nginx_certificate":{"schema":{"certificate_virtual_path":{"type":"TypeString","required":true},"key_vault_secret_id":{"type":"TypeString","required":true},"key_virtual_path":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true,"forceNew":true},"nginx_deployment_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":10,"update":30}},"azurerm_nginx_configuration":{"schema":{"config_file":{"type":"TypeSet","optional":true,"elem":{"schema":{"content":{"type":"TypeString","required":true},"virtual_path":{"type":"TypeString","required":true}}}},"nginx_deployment_id":{"type":"TypeString","required":true,"forceNew":true},"package_data":{"type":"TypeString","optional":true},"protected_file":{"type":"TypeSet","optional":true,"elem":{"schema":{"content":{"type":"TypeString","required":true},"virtual_path":{"type":"TypeString","required":true}}}},"root_file":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":10,"update":10}},"azurerm_nginx_deployment":{"schema":{"auto_scale_profile":{"type":"TypeList","optional":true,"elem":{"schema":{"max_capacity":{"type":"TypeInt","required":true},"min_capacity":{"type":"TypeInt","required":true},"name":{"type":"TypeString","required":true}}}},"automatic_upgrade_channel":{"type":"TypeString","optional":true,"default":"stable"},"capacity":{"type":"TypeInt","optional":true},"diagnose_support_enabled":{"type":"TypeBool","optional":true},"email":{"type":"TypeString","optional":true},"frontend_private":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"allocation_method":{"type":"TypeString","required":true,"forceNew":true},"ip_address":{"type":"TypeString","required":true,"forceNew":true},"subnet_id":{"type":"TypeString","required":true,"forceNew":true}}}},"frontend_public":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"ip_address":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"ip_address":{"type":"TypeString","computed":true},"location":{"type":"TypeString","required":true,"forceNew":true},"logging_storage_account":{"type":"TypeList","optional":true,"elem":{"schema":{"container_name":{"type":"TypeString","optional":true},"name":{"type":"TypeString","optional":true}}}},"managed_resource_group":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"network_interface":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"subnet_id":{"type":"TypeString","required":true,"forceNew":true}}}},"nginx_version":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"sku":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_notification_hub":{"schema":{"apns_credential":{"type":"TypeList","optional":true,"elem":{"schema":{"application_mode":{"type":"TypeString","required":true},"bundle_id":{"type":"TypeString","required":true},"key_id":{"type":"TypeString","required":true},"team_id":{"type":"TypeString","required":true},"token":{"type":"TypeString","required":true}}},"maxItems":1},"browser_credential":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"subject":{"type":"TypeString","required":true},"vapid_private_key":{"type":"TypeString","required":true},"vapid_public_key":{"type":"TypeString","required":true}}},"maxItems":1},"gcm_credential":{"type":"TypeList","optional":true,"elem":{"schema":{"api_key":{"type":"TypeString","required":true}}},"maxItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"namespace_name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_notification_hub_authorization_rule":{"schema":{"listen":{"type":"TypeBool","optional":true,"default":false},"manage":{"type":"TypeBool","optional":true,"default":false},"name":{"type":"TypeString","required":true,"forceNew":true},"namespace_name":{"type":"TypeString","required":true,"forceNew":true},"notification_hub_name":{"type":"TypeString","required":true,"forceNew":true},"primary_access_key":{"type":"TypeString","computed":true},"primary_connection_string":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"secondary_access_key":{"type":"TypeString","computed":true},"secondary_connection_string":{"type":"TypeString","computed":true},"send":{"type":"TypeBool","optional":true,"default":false}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_notification_hub_namespace":{"schema":{"enabled":{"type":"TypeBool","optional":true,"default":true,"forceNew":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"namespace_type":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"servicebus_endpoint":{"type":"TypeString","computed":true},"sku_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_oracle_cloud_vm_cluster":{"schema":{"backup_subnet_cidr":{"type":"TypeString","optional":true,"forceNew":true},"cloud_exadata_infrastructure_id":{"type":"TypeString","required":true,"forceNew":true},"cluster_name":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"cpu_core_count":{"type":"TypeInt","required":true,"forceNew":true},"data_collection_options":{"type":"TypeList","optional":true,"computed":true,"forceNew":true,"elem":{"schema":{"diagnostics_events_enabled":{"type":"TypeBool","optional":true,"computed":true,"forceNew":true},"health_monitoring_enabled":{"type":"TypeBool","optional":true,"computed":true,"forceNew":true},"incident_logs_enabled":{"type":"TypeBool","optional":true,"computed":true,"forceNew":true}}},"maxItems":1,"minItems":1},"data_storage_percentage":{"type":"TypeInt","optional":true,"computed":true,"forceNew":true},"data_storage_size_in_tbs":{"type":"TypeFloat","optional":true,"computed":true,"forceNew":true},"db_node_storage_size_in_gbs":{"type":"TypeInt","optional":true,"computed":true,"forceNew":true},"db_servers":{"type":"TypeList","required":true,"forceNew":true,"elem":{"type":"TypeString"}},"display_name":{"type":"TypeString","required":true,"forceNew":true},"gi_version":{"type":"TypeString","required":true,"forceNew":true},"hostname":{"type":"TypeString","required":true,"forceNew":true},"hostname_actual":{"type":"TypeString","computed":true},"license_model":{"type":"TypeString","required":true,"forceNew":true},"local_backup_enabled":{"type":"TypeBool","optional":true,"computed":true,"forceNew":true},"location":{"type":"TypeString","required":true,"forceNew":true},"memory_size_in_gbs":{"type":"TypeInt","optional":true,"computed":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"sparse_diskgroup_enabled":{"type":"TypeBool","optional":true,"computed":true,"forceNew":true},"ssh_public_keys":{"type":"TypeList","required":true,"forceNew":true,"elem":{"type":"TypeString"}},"subnet_id":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"time_zone":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"virtual_network_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":1440,"read":5,"delete":30,"update":30}},"azurerm_oracle_exadata_infrastructure":{"schema":{"compute_count":{"type":"TypeInt","required":true,"forceNew":true},"customer_contacts":{"type":"TypeList","optional":true,"computed":true,"forceNew":true,"elem":{"type":"TypeString"}},"display_name":{"type":"TypeString","required":true,"forceNew":true},"location":{"type":"TypeString","required":true,"forceNew":true},"maintenance_window":{"type":"TypeList","optional":true,"computed":true,"forceNew":true,"elem":{"schema":{"days_of_week":{"type":"TypeList","optional":true,"computed":true,"forceNew":true,"elem":{"type":"TypeString"}},"hours_of_day":{"type":"TypeList","optional":true,"computed":true,"forceNew":true,"elem":{"type":"TypeInt"}},"lead_time_in_weeks":{"type":"TypeInt","optional":true,"computed":true,"forceNew":true},"months":{"type":"TypeList","optional":true,"computed":true,"forceNew":true,"elem":{"type":"TypeString"}},"patching_mode":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"preference":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"weeks_of_month":{"type":"TypeList","optional":true,"computed":true,"forceNew":true,"elem":{"type":"TypeInt"}}}}},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"shape":{"type":"TypeString","required":true,"forceNew":true},"storage_count":{"type":"TypeInt","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"zones":{"type":"TypeSet","required":true,"forceNew":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":120,"read":5,"delete":60,"update":30}},"azurerm_orbital_contact":{"schema":{"contact_profile_id":{"type":"TypeString","required":true,"forceNew":true},"ground_station_name":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"reservation_end_time":{"type":"TypeString","required":true,"forceNew":true},"reservation_start_time":{"type":"TypeString","required":true,"forceNew":true},"spacecraft_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_orbital_contact_profile":{"schema":{"auto_tracking":{"type":"TypeString","required":true},"event_hub_uri":{"type":"TypeString","optional":true},"links":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"channels":{"type":"TypeList","required":true,"elem":{"schema":{"bandwidth_mhz":{"type":"TypeFloat","required":true},"center_frequency_mhz":{"type":"TypeFloat","required":true},"demodulation_configuration":{"type":"TypeString","optional":true},"end_point":{"type":"TypeSet","required":true,"elem":{"schema":{"end_point_name":{"type":"TypeString","required":true},"ip_address":{"type":"TypeString","optional":true},"port":{"type":"TypeString","required":true},"protocol":{"type":"TypeString","required":true}}}},"modulation_configuration":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true}}},"minItems":1},"direction":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true},"polarization":{"type":"TypeString","required":true}}},"minItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"minimum_elevation_degrees":{"type":"TypeFloat","optional":true},"minimum_variable_contact_duration":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true,"forceNew":true},"network_configuration_subnet_id":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_orbital_spacecraft":{"schema":{"links":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"bandwidth_mhz":{"type":"TypeFloat","required":true},"center_frequency_mhz":{"type":"TypeFloat","required":true},"direction":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true},"polarization":{"type":"TypeString","required":true}}},"minItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"norad_id":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"title_line":{"type":"TypeString","required":true},"two_line_elements":{"type":"TypeList","required":true,"forceNew":true,"elem":{"type":"TypeString"},"maxItems":2,"minItems":2}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_orchestrated_virtual_machine_scale_set":{"schema":{"additional_capabilities":{"type":"TypeList","optional":true,"elem":{"schema":{"ultra_ssd_enabled":{"type":"TypeBool","optional":true,"default":false,"forceNew":true}}},"maxItems":1},"automatic_instance_repair":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"action":{"type":"TypeString","optional":true,"computed":true},"enabled":{"type":"TypeBool","required":true},"grace_period":{"type":"TypeString","optional":true,"computed":true}}},"maxItems":1},"boot_diagnostics":{"type":"TypeList","optional":true,"elem":{"schema":{"storage_account_uri":{"type":"TypeString","optional":true}}},"maxItems":1},"capacity_reservation_group_id":{"type":"TypeString","optional":true,"forceNew":true},"data_disk":{"type":"TypeList","optional":true,"elem":{"schema":{"caching":{"type":"TypeString","required":true},"create_option":{"type":"TypeString","optional":true,"default":"Empty"},"disk_encryption_set_id":{"type":"TypeString","optional":true,"forceNew":true},"disk_size_gb":{"type":"TypeInt","optional":true,"computed":true},"lun":{"type":"TypeInt","optional":true,"computed":true},"storage_account_type":{"type":"TypeString","required":true},"ultra_ssd_disk_iops_read_write":{"type":"TypeInt","optional":true,"computed":true},"ultra_ssd_disk_mbps_read_write":{"type":"TypeInt","optional":true,"computed":true},"write_accelerator_enabled":{"type":"TypeBool","optional":true,"default":false}}}},"encryption_at_host_enabled":{"type":"TypeBool","optional":true},"eviction_policy":{"type":"TypeString","optional":true,"forceNew":true},"extension":{"type":"TypeSet","optional":true,"computed":true,"elem":{"schema":{"auto_upgrade_minor_version_enabled":{"type":"TypeBool","optional":true,"default":true},"extensions_to_provision_after_vm_creation":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"failure_suppression_enabled":{"type":"TypeBool","optional":true,"default":false},"force_extension_execution_on_change":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true},"protected_settings":{"type":"TypeString","optional":true},"protected_settings_from_key_vault":{"type":"TypeList","optional":true,"elem":{"schema":{"secret_url":{"type":"TypeString","required":true},"source_vault_id":{"type":"TypeString","required":true}}},"maxItems":1},"publisher":{"type":"TypeString","required":true},"settings":{"type":"TypeString","optional":true},"type":{"type":"TypeString","required":true},"type_handler_version":{"type":"TypeString","required":true}}}},"extension_operations_enabled":{"type":"TypeBool","optional":true,"default":true,"forceNew":true},"extensions_time_budget":{"type":"TypeString","optional":true,"default":"PT1H30M"},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}},"type":{"type":"TypeString","required":true}}},"maxItems":1},"instances":{"type":"TypeInt","optional":true,"computed":true},"license_type":{"type":"TypeString","optional":true},"location":{"type":"TypeString","required":true,"forceNew":true},"max_bid_price":{"type":"TypeFloat","optional":true,"default":-1},"name":{"type":"TypeString","required":true,"forceNew":true},"network_interface":{"type":"TypeList","optional":true,"elem":{"schema":{"dns_servers":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"enable_accelerated_networking":{"type":"TypeBool","optional":true,"default":false},"enable_ip_forwarding":{"type":"TypeBool","optional":true,"default":false},"ip_configuration":{"type":"TypeList","required":true,"elem":{"schema":{"application_gateway_backend_address_pool_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"application_security_group_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":20},"load_balancer_backend_address_pool_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true},"primary":{"type":"TypeBool","optional":true,"default":false},"public_ip_address":{"type":"TypeList","optional":true,"elem":{"schema":{"domain_name_label":{"type":"TypeString","optional":true},"idle_timeout_in_minutes":{"type":"TypeInt","optional":true,"computed":true},"ip_tag":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"tag":{"type":"TypeString","required":true,"forceNew":true},"type":{"type":"TypeString","required":true,"forceNew":true}}}},"name":{"type":"TypeString","required":true},"public_ip_prefix_id":{"type":"TypeString","optional":true,"forceNew":true},"sku_name":{"type":"TypeString","optional":true,"forceNew":true},"version":{"type":"TypeString","optional":true,"default":"IPv4","forceNew":true}}}},"subnet_id":{"type":"TypeString","optional":true},"version":{"type":"TypeString","optional":true,"default":"IPv4"}}}},"name":{"type":"TypeString","required":true,"forceNew":true},"network_security_group_id":{"type":"TypeString","optional":true},"primary":{"type":"TypeBool","optional":true,"default":false}}}},"os_disk":{"type":"TypeList","optional":true,"elem":{"schema":{"caching":{"type":"TypeString","required":true},"diff_disk_settings":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"option":{"type":"TypeString","required":true,"forceNew":true},"placement":{"type":"TypeString","optional":true,"default":"CacheDisk","forceNew":true}}},"maxItems":1},"disk_encryption_set_id":{"type":"TypeString","optional":true,"forceNew":true},"disk_size_gb":{"type":"TypeInt","optional":true,"computed":true},"storage_account_type":{"type":"TypeString","required":true,"forceNew":true},"write_accelerator_enabled":{"type":"TypeBool","optional":true,"default":false}}},"maxItems":1},"os_profile":{"type":"TypeList","optional":true,"elem":{"schema":{"custom_data":{"type":"TypeString","optional":true},"linux_configuration":{"type":"TypeList","optional":true,"elem":{"schema":{"admin_password":{"type":"TypeString","optional":true,"forceNew":true},"admin_ssh_key":{"type":"TypeSet","optional":true,"elem":{"schema":{"public_key":{"type":"TypeString","required":true},"username":{"type":"TypeString","required":true}}}},"admin_username":{"type":"TypeString","required":true,"forceNew":true},"computer_name_prefix":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"disable_password_authentication":{"type":"TypeBool","optional":true,"default":true},"patch_assessment_mode":{"type":"TypeString","optional":true,"default":"ImageDefault"},"patch_mode":{"type":"TypeString","optional":true,"default":"ImageDefault"},"provision_vm_agent":{"type":"TypeBool","optional":true,"default":true,"forceNew":true},"secret":{"type":"TypeList","optional":true,"elem":{"schema":{"certificate":{"type":"TypeSet","required":true,"elem":{"schema":{"url":{"type":"TypeString","required":true}}},"minItems":1},"key_vault_id":{"type":"TypeString","required":true}}}}}},"maxItems":1},"windows_configuration":{"type":"TypeList","optional":true,"elem":{"schema":{"additional_unattend_content":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"content":{"type":"TypeString","required":true,"forceNew":true},"setting":{"type":"TypeString","required":true,"forceNew":true}}}},"admin_password":{"type":"TypeString","required":true,"forceNew":true},"admin_username":{"type":"TypeString","required":true,"forceNew":true},"computer_name_prefix":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"enable_automatic_updates":{"type":"TypeBool","optional":true,"default":true},"hotpatching_enabled":{"type":"TypeBool","optional":true,"default":false},"patch_assessment_mode":{"type":"TypeString","optional":true,"default":"ImageDefault"},"patch_mode":{"type":"TypeString","optional":true,"default":"AutomaticByOS"},"provision_vm_agent":{"type":"TypeBool","optional":true,"default":true,"forceNew":true},"secret":{"type":"TypeList","optional":true,"elem":{"schema":{"certificate":{"type":"TypeSet","required":true,"elem":{"schema":{"store":{"type":"TypeString","required":true},"url":{"type":"TypeString","required":true}}},"minItems":1},"key_vault_id":{"type":"TypeString","required":true}}}},"timezone":{"type":"TypeString","optional":true},"winrm_listener":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"schema":{"certificate_url":{"type":"TypeString","optional":true,"forceNew":true},"protocol":{"type":"TypeString","required":true,"forceNew":true}}}}}},"maxItems":1}}},"maxItems":1},"plan":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"name":{"type":"TypeString","required":true,"forceNew":true},"product":{"type":"TypeString","required":true,"forceNew":true},"publisher":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"platform_fault_domain_count":{"type":"TypeInt","required":true,"forceNew":true},"priority":{"type":"TypeString","optional":true,"default":"Regular","forceNew":true},"priority_mix":{"type":"TypeList","optional":true,"elem":{"schema":{"base_regular_count":{"type":"TypeInt","optional":true,"default":0},"regular_percentage_above_base":{"type":"TypeInt","optional":true,"default":0}}},"maxItems":1},"proximity_placement_group_id":{"type":"TypeString","optional":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"single_placement_group":{"type":"TypeBool","optional":true,"computed":true},"sku_name":{"type":"TypeString","optional":true},"source_image_id":{"type":"TypeString","optional":true},"source_image_reference":{"type":"TypeList","optional":true,"elem":{"schema":{"offer":{"type":"TypeString","required":true,"forceNew":true},"publisher":{"type":"TypeString","required":true,"forceNew":true},"sku":{"type":"TypeString","required":true},"version":{"type":"TypeString","required":true}}},"maxItems":1},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"termination_notification":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"enabled":{"type":"TypeBool","required":true},"timeout":{"type":"TypeString","optional":true,"default":"PT5M"}}},"maxItems":1},"unique_id":{"type":"TypeString","computed":true},"user_data_base64":{"type":"TypeString","optional":true},"zone_balance":{"type":"TypeBool","optional":true,"default":false,"forceNew":true},"zones":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":60,"read":5,"delete":60,"update":60}},"azurerm_palo_alto_local_rulestack":{"schema":{"anti_spyware_profile":{"type":"TypeString","optional":true},"anti_virus_profile":{"type":"TypeString","optional":true},"description":{"type":"TypeString","optional":true},"dns_subscription":{"type":"TypeString","optional":true},"file_blocking_profile":{"type":"TypeString","optional":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"url_filtering_profile":{"type":"TypeString","optional":true},"vulnerability_profile":{"type":"TypeString","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_palo_alto_local_rulestack_certificate":{"schema":{"audit_comment":{"type":"TypeString","optional":true},"description":{"type":"TypeString","optional":true},"key_vault_certificate_id":{"type":"TypeString","optional":true,"forceNew":true},"name":{"type":"TypeString","required":true},"rulestack_id":{"type":"TypeString","required":true,"forceNew":true},"self_signed":{"type":"TypeBool","optional":true,"default":false,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_palo_alto_local_rulestack_fqdn_list":{"schema":{"audit_comment":{"type":"TypeString","optional":true},"description":{"type":"TypeString","optional":true},"fully_qualified_domain_names":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"minItems":1},"name":{"type":"TypeString","required":true},"rulestack_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_palo_alto_local_rulestack_outbound_trust_certificate_association":{"schema":{"certificate_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_palo_alto_local_rulestack_outbound_untrust_certificate_association":{"schema":{"certificate_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_palo_alto_local_rulestack_prefix_list":{"schema":{"audit_comment":{"type":"TypeString","optional":true},"description":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true},"prefix_list":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"minItems":1},"rulestack_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_palo_alto_local_rulestack_rule":{"schema":{"action":{"type":"TypeString","required":true},"applications":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"minItems":1},"audit_comment":{"type":"TypeString","optional":true},"category":{"type":"TypeList","optional":true,"elem":{"schema":{"custom_urls":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"minItems":1},"feeds":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"minItems":1}}},"maxItems":1,"minItems":1},"decryption_rule_type":{"type":"TypeString","optional":true,"default":"None"},"description":{"type":"TypeString","optional":true},"destination":{"type":"TypeList","required":true,"elem":{"schema":{"cidrs":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"countries":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"feeds":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"local_rulestack_fqdn_list_ids":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"local_rulestack_prefix_list_ids":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1,"minItems":1},"enabled":{"type":"TypeBool","optional":true,"default":true},"inspection_certificate_id":{"type":"TypeString","optional":true},"logging_enabled":{"type":"TypeBool","optional":true,"default":false},"name":{"type":"TypeString","required":true},"negate_destination":{"type":"TypeBool","optional":true,"default":false},"negate_source":{"type":"TypeBool","optional":true,"default":false},"priority":{"type":"TypeInt","required":true,"forceNew":true},"protocol":{"type":"TypeString","optional":true},"protocol_ports":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"minItems":1},"rulestack_id":{"type":"TypeString","required":true,"forceNew":true},"source":{"type":"TypeList","required":true,"elem":{"schema":{"cidrs":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"countries":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"feeds":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"local_rulestack_prefix_list_ids":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1,"minItems":1},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_palo_alto_next_generation_firewall_virtual_hub_local_rulestack":{"schema":{"destination_nat":{"type":"TypeList","optional":true,"elem":{"schema":{"backend_config":{"type":"TypeList","optional":true,"elem":{"schema":{"port":{"type":"TypeInt","required":true},"public_ip_address":{"type":"TypeString","required":true}}},"maxItems":1},"frontend_config":{"type":"TypeList","optional":true,"elem":{"schema":{"port":{"type":"TypeInt","required":true},"public_ip_address_id":{"type":"TypeString","required":true}}},"maxItems":1},"name":{"type":"TypeString","required":true},"protocol":{"type":"TypeString","required":true}}}},"dns_settings":{"type":"TypeList","optional":true,"elem":{"schema":{"azure_dns_servers":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"dns_servers":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"maxItems":2},"use_azure_dns":{"type":"TypeBool","optional":true,"default":false}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"network_profile":{"type":"TypeList","required":true,"elem":{"schema":{"egress_nat_ip_address_ids":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"minItems":1},"egress_nat_ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"ip_of_trust_for_user_defined_routes":{"type":"TypeString","computed":true},"network_virtual_appliance_id":{"type":"TypeString","required":true,"forceNew":true},"public_ip_address_ids":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"minItems":1},"public_ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"trusted_address_ranges":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"trusted_subnet_id":{"type":"TypeString","computed":true},"untrusted_subnet_id":{"type":"TypeString","computed":true},"virtual_hub_id":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"rulestack_id":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":180,"read":5,"delete":120,"update":180}},"azurerm_palo_alto_next_generation_firewall_virtual_hub_panorama":{"schema":{"destination_nat":{"type":"TypeList","optional":true,"elem":{"schema":{"backend_config":{"type":"TypeList","optional":true,"elem":{"schema":{"port":{"type":"TypeInt","required":true},"public_ip_address":{"type":"TypeString","required":true}}},"maxItems":1},"frontend_config":{"type":"TypeList","optional":true,"elem":{"schema":{"port":{"type":"TypeInt","required":true},"public_ip_address_id":{"type":"TypeString","required":true}}},"maxItems":1},"name":{"type":"TypeString","required":true},"protocol":{"type":"TypeString","required":true}}}},"dns_settings":{"type":"TypeList","optional":true,"elem":{"schema":{"azure_dns_servers":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"dns_servers":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"maxItems":2},"use_azure_dns":{"type":"TypeBool","optional":true,"default":false}}},"maxItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"network_profile":{"type":"TypeList","required":true,"elem":{"schema":{"egress_nat_ip_address_ids":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"minItems":1},"egress_nat_ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"ip_of_trust_for_user_defined_routes":{"type":"TypeString","computed":true},"network_virtual_appliance_id":{"type":"TypeString","required":true,"forceNew":true},"public_ip_address_ids":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"minItems":1},"public_ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"trusted_address_ranges":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"trusted_subnet_id":{"type":"TypeString","computed":true},"untrusted_subnet_id":{"type":"TypeString","computed":true},"virtual_hub_id":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"panorama":{"type":"TypeList","computed":true,"elem":{"schema":{"device_group_name":{"type":"TypeString","computed":true},"host_name":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"panorama_server_1":{"type":"TypeString","computed":true},"panorama_server_2":{"type":"TypeString","computed":true},"template_name":{"type":"TypeString","computed":true},"virtual_machine_ssh_key":{"type":"TypeString","computed":true}}}},"panorama_base64_config":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":120,"read":5,"delete":120,"update":120}},"azurerm_palo_alto_next_generation_firewall_virtual_network_local_rulestack":{"schema":{"destination_nat":{"type":"TypeList","optional":true,"elem":{"schema":{"backend_config":{"type":"TypeList","optional":true,"elem":{"schema":{"port":{"type":"TypeInt","required":true},"public_ip_address":{"type":"TypeString","required":true}}},"maxItems":1},"frontend_config":{"type":"TypeList","optional":true,"elem":{"schema":{"port":{"type":"TypeInt","required":true},"public_ip_address_id":{"type":"TypeString","required":true}}},"maxItems":1},"name":{"type":"TypeString","required":true},"protocol":{"type":"TypeString","required":true}}}},"dns_settings":{"type":"TypeList","optional":true,"elem":{"schema":{"azure_dns_servers":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"dns_servers":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"maxItems":2},"use_azure_dns":{"type":"TypeBool","optional":true,"default":false}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"network_profile":{"type":"TypeList","required":true,"elem":{"schema":{"egress_nat_ip_address_ids":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"minItems":1},"egress_nat_ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"public_ip_address_ids":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"minItems":1},"public_ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"trusted_address_ranges":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"vnet_configuration":{"type":"TypeList","required":true,"elem":{"schema":{"ip_of_trust_for_user_defined_routes":{"type":"TypeString","computed":true},"trusted_subnet_id":{"type":"TypeString","optional":true},"untrusted_subnet_id":{"type":"TypeString","optional":true},"virtual_network_id":{"type":"TypeString","required":true}}},"maxItems":1}}},"maxItems":1},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"rulestack_id":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":180,"read":5,"delete":120,"update":180}},"azurerm_palo_alto_next_generation_firewall_virtual_network_panorama":{"schema":{"destination_nat":{"type":"TypeList","optional":true,"elem":{"schema":{"backend_config":{"type":"TypeList","optional":true,"elem":{"schema":{"port":{"type":"TypeInt","required":true},"public_ip_address":{"type":"TypeString","required":true}}},"maxItems":1},"frontend_config":{"type":"TypeList","optional":true,"elem":{"schema":{"port":{"type":"TypeInt","required":true},"public_ip_address_id":{"type":"TypeString","required":true}}},"maxItems":1},"name":{"type":"TypeString","required":true},"protocol":{"type":"TypeString","required":true}}}},"dns_settings":{"type":"TypeList","optional":true,"elem":{"schema":{"azure_dns_servers":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"dns_servers":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"maxItems":2},"use_azure_dns":{"type":"TypeBool","optional":true,"default":false}}},"maxItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"network_profile":{"type":"TypeList","required":true,"elem":{"schema":{"egress_nat_ip_address_ids":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"minItems":1},"egress_nat_ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"public_ip_address_ids":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"minItems":1},"public_ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"trusted_address_ranges":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"vnet_configuration":{"type":"TypeList","required":true,"elem":{"schema":{"ip_of_trust_for_user_defined_routes":{"type":"TypeString","computed":true},"trusted_subnet_id":{"type":"TypeString","optional":true},"untrusted_subnet_id":{"type":"TypeString","optional":true},"virtual_network_id":{"type":"TypeString","required":true}}},"maxItems":1}}},"maxItems":1},"panorama":{"type":"TypeList","computed":true,"elem":{"schema":{"device_group_name":{"type":"TypeString","computed":true},"host_name":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"panorama_server_1":{"type":"TypeString","computed":true},"panorama_server_2":{"type":"TypeString","computed":true},"template_name":{"type":"TypeString","computed":true},"virtual_machine_ssh_key":{"type":"TypeString","computed":true}}}},"panorama_base64_config":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":180,"read":5,"delete":180,"update":180}},"azurerm_palo_alto_virtual_network_appliance":{"schema":{"name":{"type":"TypeString","required":true,"forceNew":true},"virtual_hub_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_pim_active_role_assignment":{"schema":{"justification":{"type":"TypeString","optional":true,"description":"The justification for this role assignment","computed":true,"forceNew":true},"principal_id":{"type":"TypeString","required":true,"description":"Object ID of the principal for this role assignment","forceNew":true},"principal_type":{"type":"TypeString","description":"Type of principal to which the role will be assigned","computed":true},"role_definition_id":{"type":"TypeString","required":true,"description":"Role definition ID for this role assignment","forceNew":true},"schedule":{"type":"TypeList","optional":true,"description":"The schedule details for this role assignment","computed":true,"forceNew":true,"elem":{"schema":{"expiration":{"type":"TypeList","optional":true,"elem":{"schema":{"duration_days":{"type":"TypeInt","optional":true,"description":"The duration of the role assignment in days","computed":true,"forceNew":true},"duration_hours":{"type":"TypeInt","optional":true,"description":"The duration of the role assignment in hours","computed":true,"forceNew":true},"end_date_time":{"type":"TypeString","optional":true,"description":"The end date/time of the role assignment","computed":true,"forceNew":true}}},"maxItems":1},"start_date_time":{"type":"TypeString","optional":true,"description":"The start date/time of the role assignment","computed":true,"forceNew":true}}},"maxItems":1},"scope":{"type":"TypeString","required":true,"description":"Scope for this role assignment, should be a valid resource ID","forceNew":true},"ticket":{"type":"TypeList","optional":true,"description":"Ticket details relating to the assignment","computed":true,"forceNew":true,"elem":{"schema":{"number":{"type":"TypeString","optional":true,"description":"User-supplied ticket number to be included with the request","forceNew":true},"system":{"type":"TypeString","optional":true,"description":"User-supplied ticket system name to be included with the request","forceNew":true}}},"maxItems":1}},"timeouts":{"create":10,"read":5,"delete":10}},"azurerm_pim_eligible_role_assignment":{"schema":{"justification":{"type":"TypeString","optional":true,"description":"The justification for this eligible role assignment","computed":true,"forceNew":true},"principal_id":{"type":"TypeString","required":true,"description":"Object ID of the principal for this eligible role assignment","forceNew":true},"principal_type":{"type":"TypeString","description":"Type of principal to which the role will be assigned","computed":true},"role_definition_id":{"type":"TypeString","required":true,"description":"Role definition ID for this eligible role assignment","forceNew":true},"schedule":{"type":"TypeList","optional":true,"description":"The schedule details for this eligible role assignment","computed":true,"forceNew":true,"elem":{"schema":{"expiration":{"type":"TypeList","optional":true,"elem":{"schema":{"duration_days":{"type":"TypeInt","optional":true,"description":"The duration of the eligible role assignment in days","computed":true,"forceNew":true},"duration_hours":{"type":"TypeInt","optional":true,"description":"The duration of the eligible role assignment in hours","computed":true,"forceNew":true},"end_date_time":{"type":"TypeString","optional":true,"description":"The end date/time of the eligible role assignment","computed":true,"forceNew":true}}},"maxItems":1},"start_date_time":{"type":"TypeString","optional":true,"description":"The start date/time","computed":true,"forceNew":true}}},"maxItems":1},"scope":{"type":"TypeString","required":true,"description":"Scope for this eligible role assignment, should be a valid resource ID","forceNew":true},"ticket":{"type":"TypeList","optional":true,"description":"Ticket details relating to the eligible assignment","computed":true,"forceNew":true,"elem":{"schema":{"number":{"type":"TypeString","optional":true,"description":"User-supplied ticket number to be included with the request","forceNew":true},"system":{"type":"TypeString","optional":true,"description":"User-supplied ticket system name to be included with the request","forceNew":true}}},"maxItems":1}},"timeouts":{"create":10,"read":5,"delete":10}},"azurerm_point_to_site_vpn_gateway":{"schema":{"connection_configuration":{"type":"TypeList","required":true,"elem":{"schema":{"internet_security_enabled":{"type":"TypeBool","optional":true,"default":false,"forceNew":true},"name":{"type":"TypeString","required":true},"route":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"associated_route_table_id":{"type":"TypeString","required":true},"inbound_route_map_id":{"type":"TypeString","optional":true},"outbound_route_map_id":{"type":"TypeString","optional":true},"propagated_route_table":{"type":"TypeList","optional":true,"elem":{"schema":{"ids":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}},"labels":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1}}},"maxItems":1},"vpn_client_address_pool":{"type":"TypeList","required":true,"elem":{"schema":{"address_prefixes":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}}}},"maxItems":1}}}},"dns_servers":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"routing_preference_internet_enabled":{"type":"TypeBool","optional":true,"default":false,"forceNew":true},"scale_unit":{"type":"TypeInt","required":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"virtual_hub_id":{"type":"TypeString","required":true,"forceNew":true},"vpn_server_configuration_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":90,"read":5,"delete":90,"update":90}},"azurerm_policy_definition":{"schema":{"description":{"type":"TypeString","optional":true},"display_name":{"type":"TypeString","required":true},"management_group_id":{"type":"TypeString","optional":true,"forceNew":true},"metadata":{"type":"TypeString","optional":true,"computed":true},"mode":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true,"forceNew":true},"parameters":{"type":"TypeString","optional":true},"policy_rule":{"type":"TypeString","optional":true},"policy_type":{"type":"TypeString","required":true,"forceNew":true},"role_definition_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_policy_set_definition":{"schema":{"description":{"type":"TypeString","optional":true},"display_name":{"type":"TypeString","required":true},"management_group_id":{"type":"TypeString","optional":true,"forceNew":true},"metadata":{"type":"TypeString","optional":true,"computed":true},"name":{"type":"TypeString","required":true,"forceNew":true},"parameters":{"type":"TypeString","optional":true},"policy_definition_group":{"type":"TypeSet","optional":true,"elem":{"schema":{"additional_metadata_resource_id":{"type":"TypeString","optional":true},"category":{"type":"TypeString","optional":true},"description":{"type":"TypeString","optional":true},"display_name":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true}}}},"policy_definition_reference":{"type":"TypeList","required":true,"elem":{"schema":{"parameter_values":{"type":"TypeString","optional":true},"policy_definition_id":{"type":"TypeString","required":true},"policy_group_names":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"reference_id":{"type":"TypeString","optional":true,"computed":true}}}},"policy_type":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_policy_virtual_machine_configuration_assignment":{"schema":{"configuration":{"type":"TypeList","required":true,"elem":{"schema":{"assignment_type":{"type":"TypeString","optional":true},"content_hash":{"type":"TypeString","optional":true,"computed":true},"content_uri":{"type":"TypeString","optional":true,"computed":true},"parameter":{"type":"TypeSet","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"value":{"type":"TypeString","required":true}}}},"version":{"type":"TypeString","optional":true}}},"maxItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"virtual_machine_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_portal_dashboard":{"schema":{"dashboard_properties":{"type":"TypeString","required":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_portal_tenant_configuration":{"schema":{"private_markdown_storage_enforced":{"type":"TypeBool","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_postgresql_active_directory_administrator":{"schema":{"login":{"type":"TypeString","required":true},"object_id":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"server_name":{"type":"TypeString","required":true,"forceNew":true},"tenant_id":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_postgresql_configuration":{"schema":{"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"server_name":{"type":"TypeString","required":true,"forceNew":true},"value":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_postgresql_database":{"schema":{"charset":{"type":"TypeString","required":true,"forceNew":true},"collation":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"server_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":60,"read":5,"delete":60}},"azurerm_postgresql_firewall_rule":{"schema":{"end_ip_address":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"server_name":{"type":"TypeString","required":true,"forceNew":true},"start_ip_address":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_postgresql_flexible_server":{"schema":{"administrator_login":{"type":"TypeString","optional":true,"computed":true},"administrator_password":{"type":"TypeString","optional":true},"authentication":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"active_directory_auth_enabled":{"type":"TypeBool","optional":true,"default":false},"password_auth_enabled":{"type":"TypeBool","optional":true,"default":true},"tenant_id":{"type":"TypeString","optional":true}}},"maxItems":1},"auto_grow_enabled":{"type":"TypeBool","optional":true,"default":false},"backup_retention_days":{"type":"TypeInt","optional":true,"computed":true},"create_mode":{"type":"TypeString","optional":true},"customer_managed_key":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"geo_backup_key_vault_key_id":{"type":"TypeString","optional":true},"geo_backup_user_assigned_identity_id":{"type":"TypeString","optional":true},"key_vault_key_id":{"type":"TypeString","required":true},"primary_user_assigned_identity_id":{"type":"TypeString","optional":true}}},"maxItems":1},"delegated_subnet_id":{"type":"TypeString","optional":true,"forceNew":true},"fqdn":{"type":"TypeString","computed":true},"geo_redundant_backup_enabled":{"type":"TypeBool","optional":true,"default":false,"forceNew":true},"high_availability":{"type":"TypeList","optional":true,"elem":{"schema":{"mode":{"type":"TypeString","required":true},"standby_availability_zone":{"type":"TypeString","optional":true}}},"maxItems":1},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}},"type":{"type":"TypeString","required":true}}},"maxItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"maintenance_window":{"type":"TypeList","optional":true,"elem":{"schema":{"day_of_week":{"type":"TypeInt","optional":true,"default":0},"start_hour":{"type":"TypeInt","optional":true,"default":0},"start_minute":{"type":"TypeInt","optional":true,"default":0}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"point_in_time_restore_time_in_utc":{"type":"TypeString","optional":true,"forceNew":true},"private_dns_zone_id":{"type":"TypeString","optional":true,"computed":true},"public_network_access_enabled":{"type":"TypeBool","optional":true,"default":true},"replication_role":{"type":"TypeString","optional":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"sku_name":{"type":"TypeString","optional":true,"computed":true},"source_server_id":{"type":"TypeString","optional":true,"forceNew":true},"storage_mb":{"type":"TypeInt","optional":true,"computed":true},"storage_tier":{"type":"TypeString","optional":true,"computed":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"version":{"type":"TypeString","optional":true,"computed":true},"zone":{"type":"TypeString","optional":true}},"timeouts":{"create":60,"read":5,"delete":60,"update":60}},"azurerm_postgresql_flexible_server_active_directory_administrator":{"schema":{"object_id":{"type":"TypeString","required":true,"forceNew":true},"principal_name":{"type":"TypeString","required":true,"forceNew":true},"principal_type":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"server_name":{"type":"TypeString","required":true,"forceNew":true},"tenant_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_postgresql_flexible_server_configuration":{"schema":{"name":{"type":"TypeString","required":true,"forceNew":true},"server_id":{"type":"TypeString","required":true,"forceNew":true},"value":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_postgresql_flexible_server_database":{"schema":{"charset":{"type":"TypeString","optional":true,"default":"UTF8","forceNew":true},"collation":{"type":"TypeString","optional":true,"default":"en_US.utf8","forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"server_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_postgresql_flexible_server_firewall_rule":{"schema":{"end_ip_address":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true,"forceNew":true},"server_id":{"type":"TypeString","required":true,"forceNew":true},"start_ip_address":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_postgresql_flexible_server_virtual_endpoint":{"schema":{"name":{"type":"TypeString","required":true,"description":"The name of the Virtual Endpoint","forceNew":true},"replica_server_id":{"type":"TypeString","required":true,"description":"The Resource ID of the *Replica* Postgres Flexible Server this should be associated with"},"source_server_id":{"type":"TypeString","required":true,"description":"The Resource ID of the *Source* Postgres Flexible Server this should be associated with","forceNew":true},"type":{"type":"TypeString","required":true,"description":"The type of Virtual Endpoint","forceNew":true}},"timeouts":{"create":10,"read":5,"delete":5,"update":5}},"azurerm_postgresql_server":{"schema":{"administrator_login":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"administrator_login_password":{"type":"TypeString","optional":true},"auto_grow_enabled":{"type":"TypeBool","optional":true,"default":true},"backup_retention_days":{"type":"TypeInt","optional":true,"computed":true},"create_mode":{"type":"TypeString","optional":true,"default":"Default"},"creation_source_server_id":{"type":"TypeString","optional":true},"fqdn":{"type":"TypeString","computed":true},"geo_redundant_backup_enabled":{"type":"TypeBool","optional":true,"default":false,"forceNew":true},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"infrastructure_encryption_enabled":{"type":"TypeBool","optional":true,"forceNew":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"public_network_access_enabled":{"type":"TypeBool","optional":true,"default":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"restore_point_in_time":{"type":"TypeString","optional":true},"sku_name":{"type":"TypeString","required":true},"ssl_enforcement_enabled":{"type":"TypeBool","required":true},"ssl_minimal_tls_version_enforced":{"type":"TypeString","optional":true,"default":"TLS1_2"},"storage_mb":{"type":"TypeInt","optional":true,"computed":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"threat_detection_policy":{"type":"TypeList","optional":true,"elem":{"schema":{"disabled_alerts":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"email_account_admins":{"type":"TypeBool","optional":true},"email_addresses":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"enabled":{"type":"TypeBool","optional":true},"retention_days":{"type":"TypeInt","optional":true},"storage_account_access_key":{"type":"TypeString","optional":true},"storage_endpoint":{"type":"TypeString","optional":true}}},"maxItems":1},"version":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":60,"read":5,"delete":60,"update":60}},"azurerm_postgresql_server_key":{"schema":{"key_vault_key_id":{"type":"TypeString","required":true},"server_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":60,"read":5,"delete":60,"update":60}},"azurerm_postgresql_virtual_network_rule":{"schema":{"ignore_missing_vnet_service_endpoint":{"type":"TypeBool","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"server_name":{"type":"TypeString","required":true,"forceNew":true},"subnet_id":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_powerbi_embedded":{"schema":{"administrators":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}},"location":{"type":"TypeString","required":true,"forceNew":true},"mode":{"type":"TypeString","optional":true,"default":"Gen1","forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"sku_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_private_dns_a_record":{"schema":{"fqdn":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true,"forceNew":true},"records":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"},"maxItems":20},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"ttl":{"type":"TypeInt","required":true},"zone_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_private_dns_aaaa_record":{"schema":{"fqdn":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true,"forceNew":true},"records":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"ttl":{"type":"TypeInt","required":true},"zone_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_private_dns_cname_record":{"schema":{"fqdn":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true,"forceNew":true},"record":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"ttl":{"type":"TypeInt","required":true},"zone_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_private_dns_mx_record":{"schema":{"fqdn":{"type":"TypeString","computed":true},"name":{"type":"TypeString","optional":true,"default":"@","forceNew":true},"record":{"type":"TypeSet","required":true,"elem":{"schema":{"exchange":{"type":"TypeString","required":true},"preference":{"type":"TypeInt","required":true}}}},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"ttl":{"type":"TypeInt","required":true},"zone_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_private_dns_ptr_record":{"schema":{"fqdn":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true,"forceNew":true},"records":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"ttl":{"type":"TypeInt","required":true},"zone_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_private_dns_resolver":{"schema":{"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"virtual_network_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_private_dns_resolver_dns_forwarding_ruleset":{"schema":{"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"private_dns_resolver_outbound_endpoint_ids":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_private_dns_resolver_forwarding_rule":{"schema":{"dns_forwarding_ruleset_id":{"type":"TypeString","required":true,"forceNew":true},"domain_name":{"type":"TypeString","required":true,"forceNew":true},"enabled":{"type":"TypeBool","optional":true,"default":true},"metadata":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true,"forceNew":true},"target_dns_servers":{"type":"TypeList","required":true,"elem":{"schema":{"ip_address":{"type":"TypeString","required":true},"port":{"type":"TypeInt","optional":true}}}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_private_dns_resolver_inbound_endpoint":{"schema":{"ip_configurations":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"private_ip_address":{"type":"TypeString","optional":true,"computed":true},"private_ip_allocation_method":{"type":"TypeString","optional":true,"default":"Dynamic"},"subnet_id":{"type":"TypeString","required":true}}},"maxItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"private_dns_resolver_id":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_private_dns_resolver_outbound_endpoint":{"schema":{"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"private_dns_resolver_id":{"type":"TypeString","required":true,"forceNew":true},"subnet_id":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_private_dns_resolver_virtual_network_link":{"schema":{"dns_forwarding_ruleset_id":{"type":"TypeString","required":true,"forceNew":true},"metadata":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true,"forceNew":true},"virtual_network_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_private_dns_srv_record":{"schema":{"fqdn":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true,"forceNew":true},"record":{"type":"TypeSet","required":true,"elem":{"schema":{"port":{"type":"TypeInt","required":true},"priority":{"type":"TypeInt","required":true},"target":{"type":"TypeString","required":true},"weight":{"type":"TypeInt","required":true}}}},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"ttl":{"type":"TypeInt","required":true},"zone_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_private_dns_txt_record":{"schema":{"fqdn":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true,"forceNew":true},"record":{"type":"TypeSet","required":true,"elem":{"schema":{"value":{"type":"TypeString","required":true}}}},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"ttl":{"type":"TypeInt","required":true},"zone_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_private_dns_zone":{"schema":{"max_number_of_record_sets":{"type":"TypeInt","computed":true},"max_number_of_virtual_network_links":{"type":"TypeInt","computed":true},"max_number_of_virtual_network_links_with_registration":{"type":"TypeInt","computed":true},"name":{"type":"TypeString","required":true,"forceNew":true},"number_of_record_sets":{"type":"TypeInt","computed":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"soa_record":{"type":"TypeList","optional":true,"computed":true,"forceNew":true,"elem":{"schema":{"email":{"type":"TypeString","required":true},"expire_time":{"type":"TypeInt","optional":true,"default":2419200},"fqdn":{"type":"TypeString","computed":true},"host_name":{"type":"TypeString","computed":true},"minimum_ttl":{"type":"TypeInt","optional":true,"default":10},"refresh_time":{"type":"TypeInt","optional":true,"default":3600},"retry_time":{"type":"TypeInt","optional":true,"default":300},"serial_number":{"type":"TypeInt","computed":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"ttl":{"type":"TypeInt","optional":true,"default":3600}}},"maxItems":1},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_private_dns_zone_virtual_network_link":{"schema":{"name":{"type":"TypeString","required":true,"forceNew":true},"private_dns_zone_name":{"type":"TypeString","required":true,"forceNew":true},"registration_enabled":{"type":"TypeBool","optional":true,"default":false},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"virtual_network_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_private_endpoint":{"schema":{"custom_dns_configs":{"type":"TypeList","computed":true,"elem":{"schema":{"fqdn":{"type":"TypeString","computed":true},"ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}}},"custom_network_interface_name":{"type":"TypeString","optional":true,"forceNew":true},"ip_configuration":{"type":"TypeList","optional":true,"elem":{"schema":{"member_name":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"private_ip_address":{"type":"TypeString","required":true,"forceNew":true},"subresource_name":{"type":"TypeString","optional":true,"forceNew":true}}}},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"network_interface":{"type":"TypeList","computed":true,"elem":{"schema":{"id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true}}}},"private_dns_zone_configs":{"type":"TypeList","computed":true,"elem":{"schema":{"id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"private_dns_zone_id":{"type":"TypeString","computed":true},"record_sets":{"type":"TypeList","computed":true,"elem":{"schema":{"fqdn":{"type":"TypeString","computed":true},"ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","computed":true},"ttl":{"type":"TypeInt","computed":true},"type":{"type":"TypeString","computed":true}}}}}}},"private_dns_zone_group":{"type":"TypeList","optional":true,"elem":{"schema":{"id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"private_dns_zone_ids":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"private_service_connection":{"type":"TypeList","required":true,"elem":{"schema":{"is_manual_connection":{"type":"TypeBool","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"private_connection_resource_alias":{"type":"TypeString","optional":true,"forceNew":true},"private_connection_resource_id":{"type":"TypeString","optional":true,"forceNew":true},"private_ip_address":{"type":"TypeString","computed":true},"request_message":{"type":"TypeString","optional":true},"subresource_names":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"subnet_id":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":60,"read":5,"delete":60,"update":60}},"azurerm_private_endpoint_application_security_group_association":{"schema":{"application_security_group_id":{"type":"TypeString","required":true,"forceNew":true},"private_endpoint_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_private_link_service":{"schema":{"alias":{"type":"TypeString","computed":true},"auto_approval_subscription_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"enable_proxy_protocol":{"type":"TypeBool","optional":true},"fqdns":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"load_balancer_frontend_ip_configuration_ids":{"type":"TypeSet","required":true,"forceNew":true,"elem":{"type":"TypeString"}},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"nat_ip_configuration":{"type":"TypeList","required":true,"elem":{"schema":{"name":{"type":"TypeString","required":true,"forceNew":true},"primary":{"type":"TypeBool","required":true,"forceNew":true},"private_ip_address":{"type":"TypeString","optional":true},"private_ip_address_version":{"type":"TypeString","optional":true,"default":"IPv4"},"subnet_id":{"type":"TypeString","required":true}}},"maxItems":8},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"visibility_subscription_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":60,"read":5,"delete":60,"update":60}},"azurerm_proximity_placement_group":{"schema":{"allowed_vm_sizes":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"minItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"zone":{"type":"TypeString","optional":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_public_ip":{"schema":{"allocation_method":{"type":"TypeString","required":true},"ddos_protection_mode":{"type":"TypeString","optional":true,"default":"VirtualNetworkInherited"},"ddos_protection_plan_id":{"type":"TypeString","optional":true},"domain_name_label":{"type":"TypeString","optional":true},"edge_zone":{"type":"TypeString","optional":true,"forceNew":true},"fqdn":{"type":"TypeString","computed":true},"idle_timeout_in_minutes":{"type":"TypeInt","optional":true,"default":4},"ip_address":{"type":"TypeString","computed":true},"ip_tags":{"type":"TypeMap","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"ip_version":{"type":"TypeString","optional":true,"default":"IPv4","forceNew":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"public_ip_prefix_id":{"type":"TypeString","optional":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"reverse_fqdn":{"type":"TypeString","optional":true},"sku":{"type":"TypeString","optional":true,"default":"Standard","forceNew":true},"sku_tier":{"type":"TypeString","optional":true,"default":"Regional","forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"zones":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_public_ip_prefix":{"schema":{"ip_prefix":{"type":"TypeString","computed":true},"ip_version":{"type":"TypeString","optional":true,"default":"IPv4","forceNew":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"prefix_length":{"type":"TypeInt","optional":true,"default":28,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"sku":{"type":"TypeString","optional":true,"default":"Standard","forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"zones":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_purview_account":{"schema":{"atlas_kafka_endpoint_primary_connection_string":{"type":"TypeString","computed":true},"atlas_kafka_endpoint_secondary_connection_string":{"type":"TypeString","computed":true},"catalog_endpoint":{"type":"TypeString","computed":true},"guardian_endpoint":{"type":"TypeString","computed":true},"identity":{"type":"TypeList","required":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"managed_resource_group_name":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"managed_resources":{"type":"TypeList","computed":true,"elem":{"schema":{"event_hub_namespace_id":{"type":"TypeString","computed":true},"resource_group_id":{"type":"TypeString","computed":true},"storage_account_id":{"type":"TypeString","computed":true}}}},"name":{"type":"TypeString","required":true,"forceNew":true},"public_network_enabled":{"type":"TypeBool","optional":true,"default":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"scan_endpoint":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_recovery_services_vault":{"schema":{"classic_vmware_replication_enabled":{"type":"TypeBool","optional":true,"forceNew":true},"cross_region_restore_enabled":{"type":"TypeBool","optional":true,"default":false},"encryption":{"type":"TypeList","optional":true,"elem":{"schema":{"infrastructure_encryption_enabled":{"type":"TypeBool","required":true},"key_id":{"type":"TypeString","required":true},"use_system_assigned_identity":{"type":"TypeBool","optional":true,"default":true},"user_assigned_identity_id":{"type":"TypeString","optional":true}}},"maxItems":1},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"immutability":{"type":"TypeString","optional":true,"computed":true},"location":{"type":"TypeString","required":true,"forceNew":true},"monitoring":{"type":"TypeList","optional":true,"elem":{"schema":{"alerts_for_all_job_failures_enabled":{"type":"TypeBool","optional":true,"default":true},"alerts_for_critical_operation_failures_enabled":{"type":"TypeBool","optional":true,"default":true}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"public_network_access_enabled":{"type":"TypeBool","optional":true,"default":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"sku":{"type":"TypeString","required":true},"soft_delete_enabled":{"type":"TypeBool","optional":true,"default":true},"storage_mode_type":{"type":"TypeString","optional":true,"default":"GeoRedundant"},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":120,"read":5,"delete":30,"update":60}},"azurerm_recovery_services_vault_resource_guard_association":{"schema":{"resource_guard_id":{"type":"TypeString","required":true,"forceNew":true},"vault_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_redhat_openshift_cluster":{"schema":{"api_server_profile":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"ip_address":{"type":"TypeString","computed":true},"url":{"type":"TypeString","computed":true},"visibility":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"cluster_profile":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"domain":{"type":"TypeString","required":true,"forceNew":true},"fips_enabled":{"type":"TypeBool","optional":true,"default":false,"forceNew":true},"managed_resource_group_name":{"type":"TypeString","optional":true,"forceNew":true},"pull_secret":{"type":"TypeString","optional":true,"forceNew":true},"resource_group_id":{"type":"TypeString","computed":true},"version":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"console_url":{"type":"TypeString","computed":true},"ingress_profile":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"ip_address":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"visibility":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"main_profile":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"disk_encryption_set_id":{"type":"TypeString","optional":true,"forceNew":true},"encryption_at_host_enabled":{"type":"TypeBool","optional":true,"default":false,"forceNew":true},"subnet_id":{"type":"TypeString","required":true,"forceNew":true},"vm_size":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"network_profile":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"outbound_type":{"type":"TypeString","optional":true,"default":"Loadbalancer","forceNew":true},"pod_cidr":{"type":"TypeString","required":true,"forceNew":true},"preconfigured_network_security_group_enabled":{"type":"TypeBool","optional":true,"default":false,"forceNew":true},"service_cidr":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"service_principal":{"type":"TypeList","required":true,"elem":{"schema":{"client_id":{"type":"TypeString","required":true},"client_secret":{"type":"TypeString","required":true}}},"maxItems":1},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"worker_profile":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"disk_encryption_set_id":{"type":"TypeString","optional":true,"forceNew":true},"disk_size_gb":{"type":"TypeInt","required":true,"forceNew":true},"encryption_at_host_enabled":{"type":"TypeBool","optional":true,"default":false,"forceNew":true},"node_count":{"type":"TypeInt","required":true,"forceNew":true},"subnet_id":{"type":"TypeString","required":true,"forceNew":true},"vm_size":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1}},"timeouts":{"create":90,"read":5,"delete":90,"update":90}},"azurerm_redis_cache":{"schema":{"access_keys_authentication_enabled":{"type":"TypeBool","optional":true,"default":true},"capacity":{"type":"TypeInt","required":true},"family":{"type":"TypeString","required":true},"hostname":{"type":"TypeString","computed":true},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"minimum_tls_version":{"type":"TypeString","optional":true,"default":"1.2"},"name":{"type":"TypeString","required":true,"forceNew":true},"non_ssl_port_enabled":{"type":"TypeBool","optional":true,"default":false},"patch_schedule":{"type":"TypeList","optional":true,"elem":{"schema":{"day_of_week":{"type":"TypeString","required":true},"maintenance_window":{"type":"TypeString","optional":true,"default":"PT5H"},"start_hour_utc":{"type":"TypeInt","optional":true}}}},"port":{"type":"TypeInt","computed":true},"primary_access_key":{"type":"TypeString","computed":true},"primary_connection_string":{"type":"TypeString","computed":true},"private_static_ip_address":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"public_network_access_enabled":{"type":"TypeBool","optional":true,"default":true},"redis_configuration":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"active_directory_authentication_enabled":{"type":"TypeBool","optional":true},"aof_backup_enabled":{"type":"TypeBool","optional":true},"aof_storage_connection_string_0":{"type":"TypeString","optional":true},"aof_storage_connection_string_1":{"type":"TypeString","optional":true},"authentication_enabled":{"type":"TypeBool","optional":true,"default":true},"data_persistence_authentication_method":{"type":"TypeString","optional":true},"maxclients":{"type":"TypeInt","computed":true},"maxfragmentationmemory_reserved":{"type":"TypeInt","optional":true,"computed":true},"maxmemory_delta":{"type":"TypeInt","optional":true,"computed":true},"maxmemory_policy":{"type":"TypeString","optional":true,"default":"volatile-lru"},"maxmemory_reserved":{"type":"TypeInt","optional":true,"computed":true},"notify_keyspace_events":{"type":"TypeString","optional":true},"rdb_backup_enabled":{"type":"TypeBool","optional":true},"rdb_backup_frequency":{"type":"TypeInt","optional":true},"rdb_backup_max_snapshot_count":{"type":"TypeInt","optional":true},"rdb_storage_connection_string":{"type":"TypeString","optional":true},"storage_account_subscription_id":{"type":"TypeString","optional":true}}},"maxItems":1},"redis_version":{"type":"TypeString","optional":true,"default":6},"replicas_per_master":{"type":"TypeInt","optional":true,"computed":true},"replicas_per_primary":{"type":"TypeInt","optional":true,"computed":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"secondary_access_key":{"type":"TypeString","computed":true},"secondary_connection_string":{"type":"TypeString","computed":true},"shard_count":{"type":"TypeInt","optional":true},"sku_name":{"type":"TypeString","required":true},"ssl_port":{"type":"TypeInt","computed":true},"subnet_id":{"type":"TypeString","optional":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"tenant_settings":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"zones":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":180,"read":5,"delete":180,"update":180}},"azurerm_redis_cache_access_policy":{"schema":{"name":{"type":"TypeString","required":true,"forceNew":true},"permissions":{"type":"TypeString","required":true},"redis_cache_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":5,"read":5,"delete":5,"update":5}},"azurerm_redis_cache_access_policy_assignment":{"schema":{"access_policy_name":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"object_id":{"type":"TypeString","required":true,"forceNew":true},"object_id_alias":{"type":"TypeString","required":true,"forceNew":true},"redis_cache_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":5,"read":5,"delete":5}},"azurerm_redis_enterprise_cluster":{"schema":{"hostname":{"type":"TypeString","computed":true},"location":{"type":"TypeString","required":true,"forceNew":true},"minimum_tls_version":{"type":"TypeString","optional":true,"default":"1.2","forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"sku_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"zones":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_redis_enterprise_database":{"schema":{"client_protocol":{"type":"TypeString","optional":true,"default":"Encrypted","forceNew":true},"cluster_id":{"type":"TypeString","required":true,"forceNew":true},"clustering_policy":{"type":"TypeString","optional":true,"default":"OSSCluster","forceNew":true},"eviction_policy":{"type":"TypeString","optional":true,"default":"VolatileLRU","forceNew":true},"linked_database_group_nickname":{"type":"TypeString","optional":true,"forceNew":true},"linked_database_id":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":5},"module":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"args":{"type":"TypeString","optional":true,"default":"","forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"version":{"type":"TypeString","computed":true}}},"maxItems":4},"name":{"type":"TypeString","optional":true,"default":"default","forceNew":true},"port":{"type":"TypeInt","optional":true,"default":10000,"forceNew":true},"primary_access_key":{"type":"TypeString","computed":true},"secondary_access_key":{"type":"TypeString","computed":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_redis_firewall_rule":{"schema":{"end_ip":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true,"forceNew":true},"redis_cache_name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"start_ip":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_redis_linked_server":{"schema":{"geo_replicated_primary_host_name":{"type":"TypeString","computed":true},"linked_redis_cache_id":{"type":"TypeString","required":true,"forceNew":true},"linked_redis_cache_location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"server_role":{"type":"TypeString","required":true,"forceNew":true},"target_redis_cache_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":60,"read":5,"delete":60}},"azurerm_relay_hybrid_connection":{"schema":{"name":{"type":"TypeString","required":true,"forceNew":true},"relay_namespace_name":{"type":"TypeString","required":true,"forceNew":true},"requires_client_authorization":{"type":"TypeBool","optional":true,"default":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"user_metadata":{"type":"TypeString","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_relay_hybrid_connection_authorization_rule":{"schema":{"hybrid_connection_name":{"type":"TypeString","required":true,"forceNew":true},"listen":{"type":"TypeBool","optional":true,"default":false},"manage":{"type":"TypeBool","optional":true,"default":false},"name":{"type":"TypeString","required":true,"forceNew":true},"namespace_name":{"type":"TypeString","required":true,"forceNew":true},"primary_connection_string":{"type":"TypeString","computed":true},"primary_key":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"secondary_connection_string":{"type":"TypeString","computed":true},"secondary_key":{"type":"TypeString","computed":true},"send":{"type":"TypeBool","optional":true,"default":false}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_relay_namespace":{"schema":{"location":{"type":"TypeString","required":true,"forceNew":true},"metric_id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true,"forceNew":true},"primary_connection_string":{"type":"TypeString","computed":true},"primary_key":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"secondary_connection_string":{"type":"TypeString","computed":true},"secondary_key":{"type":"TypeString","computed":true},"sku_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":60,"update":30}},"azurerm_relay_namespace_authorization_rule":{"schema":{"listen":{"type":"TypeBool","optional":true,"default":false},"manage":{"type":"TypeBool","optional":true,"default":false},"name":{"type":"TypeString","required":true,"forceNew":true},"namespace_name":{"type":"TypeString","required":true,"forceNew":true},"primary_connection_string":{"type":"TypeString","computed":true},"primary_key":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"secondary_connection_string":{"type":"TypeString","computed":true},"secondary_key":{"type":"TypeString","computed":true},"send":{"type":"TypeBool","optional":true,"default":false}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_resource_deployment_script_azure_cli":{"schema":{"cleanup_preference":{"type":"TypeString","optional":true,"default":"Always","forceNew":true},"command_line":{"type":"TypeString","optional":true,"forceNew":true},"container":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"container_group_name":{"type":"TypeString","optional":true}}},"maxItems":1},"environment_variable":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"secure_value":{"type":"TypeString","optional":true},"value":{"type":"TypeString","optional":true}}}},"force_update_tag":{"type":"TypeString","optional":true,"forceNew":true},"identity":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","required":true,"forceNew":true,"elem":{"type":"TypeString"}},"type":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"outputs":{"type":"TypeString","computed":true},"primary_script_uri":{"type":"TypeString","optional":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"retention_interval":{"type":"TypeString","required":true,"forceNew":true},"script_content":{"type":"TypeString","optional":true,"forceNew":true},"storage_account":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"key":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true}}},"maxItems":1},"supporting_script_uris":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"timeout":{"type":"TypeString","optional":true,"default":"P1D","forceNew":true},"version":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_resource_deployment_script_azure_power_shell":{"schema":{"cleanup_preference":{"type":"TypeString","optional":true,"default":"Always","forceNew":true},"command_line":{"type":"TypeString","optional":true,"forceNew":true},"container":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"container_group_name":{"type":"TypeString","optional":true}}},"maxItems":1},"environment_variable":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"secure_value":{"type":"TypeString","optional":true},"value":{"type":"TypeString","optional":true}}}},"force_update_tag":{"type":"TypeString","optional":true,"forceNew":true},"identity":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","required":true,"forceNew":true,"elem":{"type":"TypeString"}},"type":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"outputs":{"type":"TypeString","computed":true},"primary_script_uri":{"type":"TypeString","optional":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"retention_interval":{"type":"TypeString","required":true,"forceNew":true},"script_content":{"type":"TypeString","optional":true,"forceNew":true},"storage_account":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"key":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true}}},"maxItems":1},"supporting_script_uris":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"timeout":{"type":"TypeString","optional":true,"default":"P1D","forceNew":true},"version":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_resource_group":{"schema":{"location":{"type":"TypeString","required":true,"forceNew":true},"managed_by":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":90,"read":5,"delete":90,"update":90}},"azurerm_resource_group_cost_management_export":{"schema":{"active":{"type":"TypeBool","optional":true,"default":true},"export_data_options":{"type":"TypeList","required":true,"elem":{"schema":{"time_frame":{"type":"TypeString","required":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"export_data_storage_location":{"type":"TypeList","required":true,"elem":{"schema":{"container_id":{"type":"TypeString","required":true,"forceNew":true},"root_folder_path":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"recurrence_period_end_date":{"type":"TypeString","required":true},"recurrence_period_start_date":{"type":"TypeString","required":true},"recurrence_type":{"type":"TypeString","required":true},"resource_group_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_resource_group_cost_management_view":{"schema":{"accumulated":{"type":"TypeBool","required":true,"forceNew":true},"chart_type":{"type":"TypeString","required":true},"dataset":{"type":"TypeList","required":true,"elem":{"schema":{"aggregation":{"type":"TypeSet","required":true,"elem":{"schema":{"column_name":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true}}}},"granularity":{"type":"TypeString","required":true},"grouping":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"type":{"type":"TypeString","required":true}}}},"sorting":{"type":"TypeList","optional":true,"elem":{"schema":{"direction":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true}}}}}},"maxItems":1},"display_name":{"type":"TypeString","required":true},"kpi":{"type":"TypeList","optional":true,"elem":{"schema":{"type":{"type":"TypeString","required":true}}}},"name":{"type":"TypeString","required":true,"forceNew":true},"pivot":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"type":{"type":"TypeString","required":true}}}},"report_type":{"type":"TypeString","required":true},"resource_group_id":{"type":"TypeString","required":true,"forceNew":true},"timeframe":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_resource_group_policy_assignment":{"schema":{"description":{"type":"TypeString","optional":true},"display_name":{"type":"TypeString","optional":true},"enforce":{"type":"TypeBool","optional":true,"default":true},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"location":{"type":"TypeString","optional":true,"forceNew":true},"metadata":{"type":"TypeString","optional":true,"computed":true},"name":{"type":"TypeString","required":true,"forceNew":true},"non_compliance_message":{"type":"TypeList","optional":true,"elem":{"schema":{"content":{"type":"TypeString","required":true},"policy_definition_reference_id":{"type":"TypeString","optional":true}}}},"not_scopes":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"overrides":{"type":"TypeList","optional":true,"elem":{"schema":{"selectors":{"type":"TypeList","optional":true,"elem":{"schema":{"in":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"kind":{"type":"TypeString","computed":true},"not_in":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}}}}},"value":{"type":"TypeString","required":true}}}},"parameters":{"type":"TypeString","optional":true},"policy_definition_id":{"type":"TypeString","required":true,"forceNew":true},"resource_group_id":{"type":"TypeString","required":true,"forceNew":true},"resource_selectors":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","optional":true},"selectors":{"type":"TypeList","required":true,"elem":{"schema":{"in":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"kind":{"type":"TypeString","required":true},"not_in":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}}}}}}}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_resource_group_policy_exemption":{"schema":{"description":{"type":"TypeString","optional":true},"display_name":{"type":"TypeString","optional":true},"exemption_category":{"type":"TypeString","required":true},"expires_on":{"type":"TypeString","optional":true},"metadata":{"type":"TypeString","optional":true,"computed":true},"name":{"type":"TypeString","required":true,"forceNew":true},"policy_assignment_id":{"type":"TypeString","required":true,"forceNew":true},"policy_definition_reference_ids":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"resource_group_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_resource_group_policy_remediation":{"schema":{"failure_percentage":{"type":"TypeFloat","optional":true},"location_filters":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true,"forceNew":true},"parallel_deployments":{"type":"TypeInt","optional":true},"policy_assignment_id":{"type":"TypeString","required":true},"policy_definition_reference_id":{"type":"TypeString","optional":true},"resource_count":{"type":"TypeInt","optional":true},"resource_discovery_mode":{"type":"TypeString","optional":true,"default":"ExistingNonCompliant"},"resource_group_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_resource_group_template_deployment":{"schema":{"debug_level":{"type":"TypeString","optional":true},"deployment_mode":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true,"forceNew":true},"output_content":{"type":"TypeString","computed":true},"parameters_content":{"type":"TypeString","optional":true,"computed":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"template_content":{"type":"TypeString","optional":true,"computed":true},"template_spec_version_id":{"type":"TypeString","optional":true}},"timeouts":{"create":180,"read":5,"delete":180,"update":180}},"azurerm_resource_management_private_link":{"schema":{"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_resource_management_private_link_association":{"schema":{"management_group_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","optional":true,"forceNew":true},"public_network_access_enabled":{"type":"TypeBool","required":true,"forceNew":true},"resource_management_private_link_id":{"type":"TypeString","required":true,"forceNew":true},"tenant_id":{"type":"TypeString","computed":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_resource_policy_assignment":{"schema":{"description":{"type":"TypeString","optional":true},"display_name":{"type":"TypeString","optional":true},"enforce":{"type":"TypeBool","optional":true,"default":true},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"location":{"type":"TypeString","optional":true,"forceNew":true},"metadata":{"type":"TypeString","optional":true,"computed":true},"name":{"type":"TypeString","required":true,"forceNew":true},"non_compliance_message":{"type":"TypeList","optional":true,"elem":{"schema":{"content":{"type":"TypeString","required":true},"policy_definition_reference_id":{"type":"TypeString","optional":true}}}},"not_scopes":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"overrides":{"type":"TypeList","optional":true,"elem":{"schema":{"selectors":{"type":"TypeList","optional":true,"elem":{"schema":{"in":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"kind":{"type":"TypeString","computed":true},"not_in":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}}}}},"value":{"type":"TypeString","required":true}}}},"parameters":{"type":"TypeString","optional":true},"policy_definition_id":{"type":"TypeString","required":true,"forceNew":true},"resource_id":{"type":"TypeString","required":true,"forceNew":true},"resource_selectors":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","optional":true},"selectors":{"type":"TypeList","required":true,"elem":{"schema":{"in":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"kind":{"type":"TypeString","required":true},"not_in":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}}}}}}}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_resource_policy_exemption":{"schema":{"description":{"type":"TypeString","optional":true},"display_name":{"type":"TypeString","optional":true},"exemption_category":{"type":"TypeString","required":true},"expires_on":{"type":"TypeString","optional":true},"metadata":{"type":"TypeString","optional":true,"computed":true},"name":{"type":"TypeString","required":true,"forceNew":true},"policy_assignment_id":{"type":"TypeString","required":true,"forceNew":true},"policy_definition_reference_ids":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"resource_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_resource_policy_remediation":{"schema":{"failure_percentage":{"type":"TypeFloat","optional":true},"location_filters":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true,"forceNew":true},"parallel_deployments":{"type":"TypeInt","optional":true},"policy_assignment_id":{"type":"TypeString","required":true},"policy_definition_reference_id":{"type":"TypeString","optional":true},"resource_count":{"type":"TypeInt","optional":true},"resource_discovery_mode":{"type":"TypeString","optional":true,"default":"ExistingNonCompliant"},"resource_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_resource_provider_registration":{"schema":{"feature":{"type":"TypeSet","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"registered":{"type":"TypeBool","required":true}}}},"name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":120,"read":5,"delete":30,"update":120}},"azurerm_restore_point_collection":{"schema":{"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"source_virtual_machine_id":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_role_assignment":{"schema":{"condition":{"type":"TypeString","optional":true,"forceNew":true},"condition_version":{"type":"TypeString","optional":true,"forceNew":true},"delegated_managed_identity_resource_id":{"type":"TypeString","optional":true,"forceNew":true},"description":{"type":"TypeString","optional":true,"forceNew":true},"name":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"principal_id":{"type":"TypeString","required":true,"forceNew":true},"principal_type":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"role_definition_id":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"role_definition_name":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"scope":{"type":"TypeString","required":true,"forceNew":true},"skip_service_principal_aad_check":{"type":"TypeBool","optional":true,"computed":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_role_definition":{"schema":{"assignable_scopes":{"type":"TypeList","optional":true,"computed":true,"elem":{"type":"TypeString"}},"description":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true},"permissions":{"type":"TypeList","optional":true,"elem":{"schema":{"actions":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"data_actions":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"not_actions":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"not_data_actions":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}}}}},"role_definition_id":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"role_definition_resource_id":{"type":"TypeString","computed":true},"scope":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":60}},"azurerm_role_management_policy":{"schema":{"activation_rules":{"type":"TypeList","optional":true,"description":"The activation rules of the policy","computed":true,"elem":{"schema":{"approval_stage":{"type":"TypeList","optional":true,"description":"The approval stages for the activation","elem":{"schema":{"primary_approver":{"type":"TypeSet","required":true,"description":"The IDs of the users or groups who can approve the activation","elem":{"schema":{"object_id":{"type":"TypeString","required":true,"description":"The ID of the object to act as an approver"},"type":{"type":"TypeString","required":true,"description":"The type of object acting as an approver"}}},"minItems":1}}},"maxItems":1},"maximum_duration":{"type":"TypeString","optional":true,"description":"The time after which the an activation can be valid for","computed":true},"require_approval":{"type":"TypeBool","optional":true,"description":"Whether an approval is required for activation","computed":true},"require_justification":{"type":"TypeBool","optional":true,"description":"Whether a justification is required during activation","computed":true},"require_multifactor_authentication":{"type":"TypeBool","optional":true,"description":"Whether multi-factor authentication is required during activation","computed":true},"require_ticket_info":{"type":"TypeBool","optional":true,"description":"Whether ticket information is required during activation","computed":true},"required_conditional_access_authentication_context":{"type":"TypeString","optional":true,"description":"Whether a conditional access context is required during activation","computed":true}}},"maxItems":1},"active_assignment_rules":{"type":"TypeList","optional":true,"description":"The rules for active assignment of the policy","computed":true,"elem":{"schema":{"expiration_required":{"type":"TypeBool","optional":true,"description":"Must the assignment have an expiry date","computed":true},"expire_after":{"type":"TypeString","optional":true,"description":"The duration after which assignments expire","computed":true},"require_justification":{"type":"TypeBool","optional":true,"description":"Whether a justification is required to make an assignment","computed":true},"require_multifactor_authentication":{"type":"TypeBool","optional":true,"description":"Whether multi-factor authentication is required to make an assignment","computed":true},"require_ticket_info":{"type":"TypeBool","optional":true,"description":"Whether ticket information is required to make an assignment","computed":true}}},"maxItems":1},"description":{"type":"TypeString","description":"The Description of the policy","computed":true},"eligible_assignment_rules":{"type":"TypeList","optional":true,"description":"The rules for eligible assignment of the policy","computed":true,"elem":{"schema":{"expiration_required":{"type":"TypeBool","optional":true,"description":"Must the assignment have an expiry date","computed":true},"expire_after":{"type":"TypeString","optional":true,"description":"The duration after which assignments expire","computed":true}}},"maxItems":1},"name":{"type":"TypeString","description":"The name of the policy","computed":true},"notification_rules":{"type":"TypeList","optional":true,"description":"The notification rules of the policy","computed":true,"elem":{"schema":{"active_assignments":{"type":"TypeList","optional":true,"description":"Notifications about active assignments","computed":true,"elem":{"schema":{"admin_notifications":{"type":"TypeList","optional":true,"description":"Admin notification settings","computed":true,"elem":{"schema":{"additional_recipients":{"type":"TypeSet","optional":true,"description":"The additional recipients to notify","computed":true,"elem":{"type":"TypeString"}},"default_recipients":{"type":"TypeBool","required":true,"description":"Whether the default recipients are notified"},"notification_level":{"type":"TypeString","required":true,"description":"What level of notifications are sent"}}},"maxItems":1},"approver_notifications":{"type":"TypeList","optional":true,"description":"Approver notification settings","computed":true,"elem":{"schema":{"additional_recipients":{"type":"TypeSet","optional":true,"description":"The additional recipients to notify","computed":true,"elem":{"type":"TypeString"}},"default_recipients":{"type":"TypeBool","required":true,"description":"Whether the default recipients are notified"},"notification_level":{"type":"TypeString","required":true,"description":"What level of notifications are sent"}}},"maxItems":1},"assignee_notifications":{"type":"TypeList","optional":true,"description":"Assignee notification settings","computed":true,"elem":{"schema":{"additional_recipients":{"type":"TypeSet","optional":true,"description":"The additional recipients to notify","computed":true,"elem":{"type":"TypeString"}},"default_recipients":{"type":"TypeBool","required":true,"description":"Whether the default recipients are notified"},"notification_level":{"type":"TypeString","required":true,"description":"What level of notifications are sent"}}},"maxItems":1}}},"maxItems":1},"eligible_activations":{"type":"TypeList","optional":true,"description":"Notifications about activations of eligible assignments","computed":true,"elem":{"schema":{"admin_notifications":{"type":"TypeList","optional":true,"description":"Admin notification settings","computed":true,"elem":{"schema":{"additional_recipients":{"type":"TypeSet","optional":true,"description":"The additional recipients to notify","computed":true,"elem":{"type":"TypeString"}},"default_recipients":{"type":"TypeBool","required":true,"description":"Whether the default recipients are notified"},"notification_level":{"type":"TypeString","required":true,"description":"What level of notifications are sent"}}},"maxItems":1},"approver_notifications":{"type":"TypeList","optional":true,"description":"Approver notification settings","computed":true,"elem":{"schema":{"additional_recipients":{"type":"TypeSet","optional":true,"description":"The additional recipients to notify","computed":true,"elem":{"type":"TypeString"}},"default_recipients":{"type":"TypeBool","required":true,"description":"Whether the default recipients are notified"},"notification_level":{"type":"TypeString","required":true,"description":"What level of notifications are sent"}}},"maxItems":1},"assignee_notifications":{"type":"TypeList","optional":true,"description":"Assignee notification settings","computed":true,"elem":{"schema":{"additional_recipients":{"type":"TypeSet","optional":true,"description":"The additional recipients to notify","computed":true,"elem":{"type":"TypeString"}},"default_recipients":{"type":"TypeBool","required":true,"description":"Whether the default recipients are notified"},"notification_level":{"type":"TypeString","required":true,"description":"What level of notifications are sent"}}},"maxItems":1}}},"maxItems":1},"eligible_assignments":{"type":"TypeList","optional":true,"description":"Notifications about eligible assignments","computed":true,"elem":{"schema":{"admin_notifications":{"type":"TypeList","optional":true,"description":"Admin notification settings","computed":true,"elem":{"schema":{"additional_recipients":{"type":"TypeSet","optional":true,"description":"The additional recipients to notify","computed":true,"elem":{"type":"TypeString"}},"default_recipients":{"type":"TypeBool","required":true,"description":"Whether the default recipients are notified"},"notification_level":{"type":"TypeString","required":true,"description":"What level of notifications are sent"}}},"maxItems":1},"approver_notifications":{"type":"TypeList","optional":true,"description":"Approver notification settings","computed":true,"elem":{"schema":{"additional_recipients":{"type":"TypeSet","optional":true,"description":"The additional recipients to notify","computed":true,"elem":{"type":"TypeString"}},"default_recipients":{"type":"TypeBool","required":true,"description":"Whether the default recipients are notified"},"notification_level":{"type":"TypeString","required":true,"description":"What level of notifications are sent"}}},"maxItems":1},"assignee_notifications":{"type":"TypeList","optional":true,"description":"Assignee notification settings","computed":true,"elem":{"schema":{"additional_recipients":{"type":"TypeSet","optional":true,"description":"The additional recipients to notify","computed":true,"elem":{"type":"TypeString"}},"default_recipients":{"type":"TypeBool","required":true,"description":"Whether the default recipients are notified"},"notification_level":{"type":"TypeString","required":true,"description":"What level of notifications are sent"}}},"maxItems":1}}},"maxItems":1}}},"maxItems":1},"role_definition_id":{"type":"TypeString","required":true,"description":"ID of the Azure Role to which this policy is assigned","forceNew":true},"scope":{"type":"TypeString","required":true,"description":"The scope of the role to which this policy will apply","forceNew":true}},"timeouts":{"create":30,"read":5,"delete":5,"update":30}},"azurerm_route":{"schema":{"address_prefix":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true,"forceNew":true},"next_hop_in_ip_address":{"type":"TypeString","optional":true},"next_hop_type":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"route_table_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_route_filter":{"schema":{"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"rule":{"type":"TypeList","configMode":"Auto","optional":true,"computed":true,"elem":{"schema":{"access":{"type":"TypeString","required":true},"communities":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"minItems":1},"name":{"type":"TypeString","required":true},"rule_type":{"type":"TypeString","required":true}}},"maxItems":1},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_route_map":{"schema":{"name":{"type":"TypeString","required":true,"forceNew":true},"rule":{"type":"TypeList","optional":true,"elem":{"schema":{"action":{"type":"TypeList","optional":true,"elem":{"schema":{"parameter":{"type":"TypeList","optional":true,"elem":{"schema":{"as_path":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"community":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"route_prefix":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}}}}},"type":{"type":"TypeString","required":true}}}},"match_criterion":{"type":"TypeList","optional":true,"elem":{"schema":{"as_path":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"community":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"match_condition":{"type":"TypeString","required":true},"route_prefix":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}}}}},"name":{"type":"TypeString","required":true},"next_step_if_matched":{"type":"TypeString","optional":true,"default":"Unknown"}}}},"virtual_hub_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":60,"read":5,"delete":60,"update":60}},"azurerm_route_server":{"schema":{"branch_to_branch_traffic_enabled":{"type":"TypeBool","optional":true,"default":false},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"public_ip_address_id":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"routing_state":{"type":"TypeString","computed":true},"sku":{"type":"TypeString","required":true,"forceNew":true},"subnet_id":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"virtual_router_asn":{"type":"TypeInt","computed":true},"virtual_router_ips":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":60,"read":5,"delete":60,"update":60}},"azurerm_route_server_bgp_connection":{"schema":{"name":{"type":"TypeString","required":true,"forceNew":true},"peer_asn":{"type":"TypeInt","required":true,"forceNew":true},"peer_ip":{"type":"TypeString","required":true,"forceNew":true},"route_server_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_route_table":{"schema":{"bgp_route_propagation_enabled":{"type":"TypeBool","optional":true,"default":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"route":{"type":"TypeSet","configMode":"Auto","optional":true,"computed":true,"elem":{"schema":{"address_prefix":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true},"next_hop_in_ip_address":{"type":"TypeString","optional":true},"next_hop_type":{"type":"TypeString","required":true}}}},"subnets":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_search_service":{"schema":{"allowed_ips":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"authentication_failure_mode":{"type":"TypeString","optional":true},"customer_managed_key_enforcement_enabled":{"type":"TypeBool","optional":true,"default":false},"hosting_mode":{"type":"TypeString","optional":true,"default":"default","forceNew":true},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"local_authentication_enabled":{"type":"TypeBool","optional":true,"default":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"partition_count":{"type":"TypeInt","optional":true,"default":1},"primary_key":{"type":"TypeString","computed":true},"public_network_access_enabled":{"type":"TypeBool","optional":true,"default":true},"query_keys":{"type":"TypeList","computed":true,"elem":{"schema":{"key":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true}}}},"replica_count":{"type":"TypeInt","optional":true,"default":1},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"secondary_key":{"type":"TypeString","computed":true},"semantic_search_sku":{"type":"TypeString","optional":true},"sku":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":60,"read":5,"delete":60,"update":60}},"azurerm_search_shared_private_link_service":{"schema":{"name":{"type":"TypeString","required":true,"forceNew":true},"request_message":{"type":"TypeString","optional":true},"search_service_id":{"type":"TypeString","required":true,"forceNew":true},"status":{"type":"TypeString","computed":true},"subresource_name":{"type":"TypeString","required":true,"forceNew":true},"target_resource_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":60,"read":5,"delete":60,"update":60}},"azurerm_security_center_assessment":{"schema":{"additional_data":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"assessment_policy_id":{"type":"TypeString","required":true,"forceNew":true},"status":{"type":"TypeList","required":true,"elem":{"schema":{"cause":{"type":"TypeString","optional":true},"code":{"type":"TypeString","required":true},"description":{"type":"TypeString","optional":true}}},"maxItems":1},"target_resource_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_security_center_assessment_policy":{"schema":{"categories":{"type":"TypeSet","optional":true,"computed":true,"elem":{"type":"TypeString"}},"description":{"type":"TypeString","required":true},"display_name":{"type":"TypeString","required":true},"implementation_effort":{"type":"TypeString","optional":true},"name":{"type":"TypeString","computed":true},"remediation_description":{"type":"TypeString","optional":true},"severity":{"type":"TypeString","optional":true,"default":"Medium"},"threats":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"user_impact":{"type":"TypeString","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_security_center_auto_provisioning":{"schema":{"auto_provision":{"type":"TypeString","required":true}},"timeouts":{"create":60,"read":5,"delete":60,"update":60}},"azurerm_security_center_automation":{"schema":{"action":{"type":"TypeList","required":true,"elem":{"schema":{"connection_string":{"type":"TypeString","optional":true},"resource_id":{"type":"TypeString","required":true},"trigger_url":{"type":"TypeString","optional":true},"type":{"type":"TypeString","required":true}}},"minItems":1},"description":{"type":"TypeString","optional":true},"enabled":{"type":"TypeBool","optional":true,"default":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"scopes":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"minItems":1},"source":{"type":"TypeList","required":true,"elem":{"schema":{"event_source":{"type":"TypeString","required":true},"rule_set":{"type":"TypeList","optional":true,"elem":{"schema":{"rule":{"type":"TypeList","required":true,"elem":{"schema":{"expected_value":{"type":"TypeString","required":true},"operator":{"type":"TypeString","required":true},"property_path":{"type":"TypeString","required":true},"property_type":{"type":"TypeString","required":true}}}}}}}}},"minItems":1},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_security_center_contact":{"schema":{"alert_notifications":{"type":"TypeBool","required":true},"alerts_to_admins":{"type":"TypeBool","required":true},"email":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true,"forceNew":true},"phone":{"type":"TypeString","optional":true}},"timeouts":{"create":60,"read":5,"delete":60,"update":60}},"azurerm_security_center_server_vulnerability_assessment_virtual_machine":{"schema":{"virtual_machine_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":5,"read":5,"delete":10}},"azurerm_security_center_server_vulnerability_assessments_setting":{"schema":{"vulnerability_assessment_provider":{"type":"TypeString","required":true}},"timeouts":{"create":10,"read":5,"delete":10,"update":10}},"azurerm_security_center_setting":{"schema":{"enabled":{"type":"TypeBool","required":true},"setting_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":10,"read":5,"delete":10,"update":10}},"azurerm_security_center_storage_defender":{"schema":{"malware_scanning_on_upload_cap_gb_per_month":{"type":"TypeInt","optional":true,"default":-1},"malware_scanning_on_upload_enabled":{"type":"TypeBool","optional":true,"default":false},"override_subscription_settings_enabled":{"type":"TypeBool","optional":true,"default":false},"scan_results_event_grid_topic_id":{"type":"TypeString","optional":true},"sensitive_data_discovery_enabled":{"type":"TypeBool","optional":true,"default":false},"storage_account_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_security_center_subscription_pricing":{"schema":{"extension":{"type":"TypeSet","optional":true,"elem":{"schema":{"additional_extension_properties":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true}}}},"resource_type":{"type":"TypeString","optional":true,"default":"VirtualMachines"},"subplan":{"type":"TypeString","optional":true},"tier":{"type":"TypeString","required":true}},"timeouts":{"create":60,"read":5,"delete":60,"update":60}},"azurerm_security_center_workspace":{"schema":{"scope":{"type":"TypeString","required":true},"workspace_id":{"type":"TypeString","required":true}},"timeouts":{"create":60,"read":5,"delete":60,"update":60}},"azurerm_sentinel_alert_rule_anomaly_built_in":{"schema":{"anomaly_settings_version":{"type":"TypeInt","computed":true},"anomaly_version":{"type":"TypeString","computed":true},"description":{"type":"TypeString","computed":true},"display_name":{"type":"TypeString","optional":true,"computed":true},"enabled":{"type":"TypeBool","required":true},"frequency":{"type":"TypeString","computed":true},"log_analytics_workspace_id":{"type":"TypeString","required":true,"forceNew":true},"mode":{"type":"TypeString","required":true},"multi_select_observation":{"type":"TypeList","computed":true,"elem":{"schema":{"description":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"supported_values":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"values":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}}},"name":{"type":"TypeString","optional":true,"computed":true},"prioritized_exclude_observation":{"type":"TypeList","computed":true,"elem":{"schema":{"description":{"type":"TypeString","computed":true},"exclude":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"prioritize":{"type":"TypeString","computed":true}}}},"required_data_connector":{"type":"TypeList","computed":true,"elem":{"schema":{"connector_id":{"type":"TypeString","computed":true},"data_types":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}}},"settings_definition_id":{"type":"TypeString","computed":true},"single_select_observation":{"type":"TypeList","computed":true,"elem":{"schema":{"description":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"supported_values":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"value":{"type":"TypeString","computed":true}}}},"tactics":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"techniques":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"threshold_observation":{"type":"TypeList","computed":true,"elem":{"schema":{"description":{"type":"TypeString","computed":true},"max":{"type":"TypeString","computed":true},"min":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"value":{"type":"TypeString","computed":true}}}}},"timeouts":{"create":30,"read":5,"delete":5,"update":30}},"azurerm_sentinel_alert_rule_anomaly_duplicate":{"schema":{"anomaly_settings_version":{"type":"TypeInt","computed":true},"anomaly_version":{"type":"TypeString","computed":true},"built_in_rule_id":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","computed":true},"display_name":{"type":"TypeString","required":true},"enabled":{"type":"TypeBool","required":true},"frequency":{"type":"TypeString","computed":true},"is_default_settings":{"type":"TypeBool","computed":true},"log_analytics_workspace_id":{"type":"TypeString","required":true,"forceNew":true},"mode":{"type":"TypeString","required":true},"multi_select_observation":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"description":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"supported_values":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"values":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}}}}},"name":{"type":"TypeString","computed":true},"prioritized_exclude_observation":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"description":{"type":"TypeString","computed":true},"exclude":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true},"prioritize":{"type":"TypeString","optional":true}}}},"required_data_connector":{"type":"TypeList","computed":true,"elem":{"schema":{"connector_id":{"type":"TypeString","computed":true},"data_types":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}}},"settings_definition_id":{"type":"TypeString","computed":true},"single_select_observation":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"description":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"supported_values":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"value":{"type":"TypeString","required":true}}}},"tactics":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"techniques":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"threshold_observation":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"description":{"type":"TypeString","computed":true},"max":{"type":"TypeString","computed":true},"min":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"value":{"type":"TypeString","required":true}}}}},"timeouts":{"create":30,"read":5,"delete":5,"update":30}},"azurerm_sentinel_alert_rule_fusion":{"schema":{"alert_rule_template_guid":{"type":"TypeString","required":true,"forceNew":true},"enabled":{"type":"TypeBool","optional":true,"default":true},"log_analytics_workspace_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"source":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"enabled":{"type":"TypeBool","optional":true,"default":true},"name":{"type":"TypeString","required":true},"sub_type":{"type":"TypeList","optional":true,"elem":{"schema":{"enabled":{"type":"TypeBool","optional":true,"default":true},"name":{"type":"TypeString","required":true},"severities_allowed":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"},"minItems":1}}}}}}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_sentinel_alert_rule_machine_learning_behavior_analytics":{"schema":{"alert_rule_template_guid":{"type":"TypeString","required":true,"forceNew":true},"enabled":{"type":"TypeBool","optional":true,"default":true},"log_analytics_workspace_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_sentinel_alert_rule_ms_security_incident":{"schema":{"alert_rule_template_guid":{"type":"TypeString","optional":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"display_name":{"type":"TypeString","required":true},"display_name_exclude_filter":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"minItems":1},"display_name_filter":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"minItems":1},"enabled":{"type":"TypeBool","optional":true,"default":true},"log_analytics_workspace_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"product_filter":{"type":"TypeString","required":true},"severity_filter":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"},"minItems":1}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_sentinel_alert_rule_nrt":{"schema":{"alert_details_override":{"type":"TypeList","optional":true,"elem":{"schema":{"description_format":{"type":"TypeString","optional":true},"display_name_format":{"type":"TypeString","optional":true},"dynamic_property":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"value":{"type":"TypeString","required":true}}}},"severity_column_name":{"type":"TypeString","optional":true},"tactics_column_name":{"type":"TypeString","optional":true}}}},"alert_rule_template_guid":{"type":"TypeString","optional":true,"forceNew":true},"alert_rule_template_version":{"type":"TypeString","optional":true,"forceNew":true},"custom_details":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"description":{"type":"TypeString","optional":true},"display_name":{"type":"TypeString","required":true},"enabled":{"type":"TypeBool","optional":true,"default":true},"entity_mapping":{"type":"TypeList","optional":true,"elem":{"schema":{"entity_type":{"type":"TypeString","required":true},"field_mapping":{"type":"TypeList","required":true,"elem":{"schema":{"column_name":{"type":"TypeString","required":true},"identifier":{"type":"TypeString","required":true}}},"maxItems":3}}},"maxItems":5},"event_grouping":{"type":"TypeList","required":true,"elem":{"schema":{"aggregation_method":{"type":"TypeString","required":true}}},"maxItems":1},"incident":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"create_incident_enabled":{"type":"TypeBool","required":true},"grouping":{"type":"TypeList","required":true,"elem":{"schema":{"by_alert_details":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"by_custom_details":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"by_entities":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"enabled":{"type":"TypeBool","optional":true,"default":true},"entity_matching_method":{"type":"TypeString","optional":true,"default":"AnyAlert"},"lookback_duration":{"type":"TypeString","optional":true,"default":"PT5M"},"reopen_closed_incidents":{"type":"TypeBool","optional":true,"default":false}}},"maxItems":1,"minItems":1}}},"maxItems":1,"minItems":1},"log_analytics_workspace_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"query":{"type":"TypeString","required":true},"sentinel_entity_mapping":{"type":"TypeList","optional":true,"elem":{"schema":{"column_name":{"type":"TypeString","required":true}}},"maxItems":5},"severity":{"type":"TypeString","required":true},"suppression_duration":{"type":"TypeString","optional":true,"default":"PT5H"},"suppression_enabled":{"type":"TypeBool","optional":true,"default":false},"tactics":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"techniques":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_sentinel_alert_rule_scheduled":{"schema":{"alert_details_override":{"type":"TypeList","optional":true,"elem":{"schema":{"description_format":{"type":"TypeString","optional":true},"display_name_format":{"type":"TypeString","optional":true},"dynamic_property":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"value":{"type":"TypeString","required":true}}}},"severity_column_name":{"type":"TypeString","optional":true},"tactics_column_name":{"type":"TypeString","optional":true}}}},"alert_rule_template_guid":{"type":"TypeString","optional":true,"forceNew":true},"alert_rule_template_version":{"type":"TypeString","optional":true},"custom_details":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"description":{"type":"TypeString","optional":true},"display_name":{"type":"TypeString","required":true},"enabled":{"type":"TypeBool","optional":true,"default":true},"entity_mapping":{"type":"TypeList","optional":true,"elem":{"schema":{"entity_type":{"type":"TypeString","required":true},"field_mapping":{"type":"TypeList","required":true,"elem":{"schema":{"column_name":{"type":"TypeString","required":true},"identifier":{"type":"TypeString","required":true}}},"maxItems":3}}},"maxItems":5},"event_grouping":{"type":"TypeList","optional":true,"elem":{"schema":{"aggregation_method":{"type":"TypeString","required":true}}},"maxItems":1},"incident":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"create_incident_enabled":{"type":"TypeBool","required":true},"grouping":{"type":"TypeList","required":true,"elem":{"schema":{"by_alert_details":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"by_custom_details":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"by_entities":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"enabled":{"type":"TypeBool","optional":true,"default":true},"entity_matching_method":{"type":"TypeString","optional":true,"default":"AnyAlert"},"lookback_duration":{"type":"TypeString","optional":true,"default":"PT5M"},"reopen_closed_incidents":{"type":"TypeBool","optional":true,"default":false}}},"maxItems":1,"minItems":1}}},"maxItems":1,"minItems":1},"log_analytics_workspace_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"query":{"type":"TypeString","required":true},"query_frequency":{"type":"TypeString","optional":true,"default":"PT5H"},"query_period":{"type":"TypeString","optional":true,"default":"PT5H"},"sentinel_entity_mapping":{"type":"TypeList","optional":true,"elem":{"schema":{"column_name":{"type":"TypeString","required":true}}},"maxItems":5},"severity":{"type":"TypeString","required":true},"suppression_duration":{"type":"TypeString","optional":true,"default":"PT5H"},"suppression_enabled":{"type":"TypeBool","optional":true,"default":false},"tactics":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"techniques":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"trigger_operator":{"type":"TypeString","optional":true,"default":"GreaterThan"},"trigger_threshold":{"type":"TypeInt","optional":true,"default":0}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_sentinel_alert_rule_threat_intelligence":{"schema":{"alert_rule_template_guid":{"type":"TypeString","required":true,"forceNew":true},"enabled":{"type":"TypeBool","optional":true,"default":true},"log_analytics_workspace_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_sentinel_automation_rule":{"schema":{"action_incident":{"type":"TypeList","optional":true,"elem":{"schema":{"classification":{"type":"TypeString","optional":true},"classification_comment":{"type":"TypeString","optional":true},"labels":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"order":{"type":"TypeInt","required":true},"owner_id":{"type":"TypeString","optional":true},"severity":{"type":"TypeString","optional":true},"status":{"type":"TypeString","optional":true}}}},"action_playbook":{"type":"TypeList","optional":true,"elem":{"schema":{"logic_app_id":{"type":"TypeString","required":true},"order":{"type":"TypeInt","required":true},"tenant_id":{"type":"TypeString","optional":true,"computed":true}}}},"condition_json":{"type":"TypeString","optional":true},"display_name":{"type":"TypeString","required":true},"enabled":{"type":"TypeBool","optional":true,"default":true},"expiration":{"type":"TypeString","optional":true},"log_analytics_workspace_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"order":{"type":"TypeInt","required":true},"triggers_on":{"type":"TypeString","optional":true,"default":"Incidents"},"triggers_when":{"type":"TypeString","optional":true,"default":"Created"}},"timeouts":{"create":5,"read":5,"delete":5,"update":5}},"azurerm_sentinel_data_connector_aws_cloud_trail":{"schema":{"aws_role_arn":{"type":"TypeString","required":true},"log_analytics_workspace_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_sentinel_data_connector_aws_s3":{"schema":{"aws_role_arn":{"type":"TypeString","required":true},"destination_table":{"type":"TypeString","required":true},"log_analytics_workspace_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"sqs_urls":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_sentinel_data_connector_azure_active_directory":{"schema":{"log_analytics_workspace_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"tenant_id":{"type":"TypeString","optional":true,"computed":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_sentinel_data_connector_azure_advanced_threat_protection":{"schema":{"log_analytics_workspace_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"tenant_id":{"type":"TypeString","optional":true,"computed":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_sentinel_data_connector_azure_security_center":{"schema":{"log_analytics_workspace_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"subscription_id":{"type":"TypeString","optional":true,"computed":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_sentinel_data_connector_dynamics_365":{"schema":{"log_analytics_workspace_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"tenant_id":{"type":"TypeString","optional":true,"computed":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_sentinel_data_connector_iot":{"schema":{"log_analytics_workspace_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"subscription_id":{"type":"TypeString","optional":true,"computed":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_sentinel_data_connector_microsoft_cloud_app_security":{"schema":{"alerts_enabled":{"type":"TypeBool","optional":true,"default":true},"discovery_logs_enabled":{"type":"TypeBool","optional":true,"default":true},"log_analytics_workspace_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"tenant_id":{"type":"TypeString","optional":true,"computed":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_sentinel_data_connector_microsoft_defender_advanced_threat_protection":{"schema":{"log_analytics_workspace_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"tenant_id":{"type":"TypeString","optional":true,"computed":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_sentinel_data_connector_microsoft_threat_intelligence":{"schema":{"log_analytics_workspace_id":{"type":"TypeString","required":true,"forceNew":true},"microsoft_emerging_threat_feed_lookback_date":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"tenant_id":{"type":"TypeString","optional":true,"computed":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_sentinel_data_connector_microsoft_threat_protection":{"schema":{"log_analytics_workspace_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"tenant_id":{"type":"TypeString","optional":true,"computed":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_sentinel_data_connector_office_365":{"schema":{"exchange_enabled":{"type":"TypeBool","optional":true,"default":true},"log_analytics_workspace_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"sharepoint_enabled":{"type":"TypeBool","optional":true,"default":true},"teams_enabled":{"type":"TypeBool","optional":true,"default":true},"tenant_id":{"type":"TypeString","optional":true,"computed":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_sentinel_data_connector_office_365_project":{"schema":{"log_analytics_workspace_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"tenant_id":{"type":"TypeString","optional":true,"computed":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_sentinel_data_connector_office_atp":{"schema":{"log_analytics_workspace_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"tenant_id":{"type":"TypeString","optional":true,"computed":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_sentinel_data_connector_office_irm":{"schema":{"log_analytics_workspace_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"tenant_id":{"type":"TypeString","optional":true,"computed":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_sentinel_data_connector_office_power_bi":{"schema":{"log_analytics_workspace_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"tenant_id":{"type":"TypeString","optional":true,"computed":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_sentinel_data_connector_threat_intelligence":{"schema":{"log_analytics_workspace_id":{"type":"TypeString","required":true,"forceNew":true},"lookback_date":{"type":"TypeString","optional":true,"default":"1970-01-01T00:00:00Z","forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"tenant_id":{"type":"TypeString","optional":true,"computed":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_sentinel_data_connector_threat_intelligence_taxii":{"schema":{"api_root_url":{"type":"TypeString","required":true},"collection_id":{"type":"TypeString","required":true},"display_name":{"type":"TypeString","required":true},"log_analytics_workspace_id":{"type":"TypeString","required":true,"forceNew":true},"lookback_date":{"type":"TypeString","optional":true,"default":"1970-01-01T00:00:00Z"},"name":{"type":"TypeString","required":true,"forceNew":true},"password":{"type":"TypeString","optional":true},"polling_frequency":{"type":"TypeString","optional":true,"default":"OnceAnHour"},"tenant_id":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"user_name":{"type":"TypeString","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_sentinel_log_analytics_workspace_onboarding":{"schema":{"customer_managed_key_enabled":{"type":"TypeBool","optional":true,"default":false,"forceNew":true},"workspace_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_sentinel_metadata":{"schema":{"author":{"type":"TypeList","optional":true,"elem":{"schema":{"email":{"type":"TypeString","optional":true},"link":{"type":"TypeString","optional":true},"name":{"type":"TypeString","optional":true}}},"maxItems":1},"category":{"type":"TypeList","optional":true,"elem":{"schema":{"domains":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"verticals":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"content_id":{"type":"TypeString","required":true},"content_schema_version":{"type":"TypeString","optional":true,"default":"2.0"},"custom_version":{"type":"TypeString","optional":true},"dependency":{"type":"TypeString","optional":true},"first_publish_date":{"type":"TypeString","optional":true},"icon_id":{"type":"TypeString","optional":true},"kind":{"type":"TypeString","required":true},"last_publish_date":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"parent_id":{"type":"TypeString","required":true},"preview_images":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"preview_images_dark":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"providers":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"source":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"id":{"type":"TypeString","optional":true},"kind":{"type":"TypeString","required":true},"name":{"type":"TypeString","optional":true}}},"maxItems":1},"support":{"type":"TypeList","optional":true,"elem":{"schema":{"email":{"type":"TypeString","optional":true},"link":{"type":"TypeString","optional":true},"name":{"type":"TypeString","optional":true},"tier":{"type":"TypeString","required":true}}},"maxItems":1},"threat_analysis_tactics":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"threat_analysis_techniques":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"version":{"type":"TypeString","optional":true},"workspace_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_sentinel_threat_intelligence_indicator":{"schema":{"confidence":{"type":"TypeInt","optional":true,"default":-1},"created_by":{"type":"TypeString","optional":true},"created_on":{"type":"TypeString","computed":true},"defanged":{"type":"TypeBool","computed":true},"description":{"type":"TypeString","optional":true},"display_name":{"type":"TypeString","required":true},"extension":{"type":"TypeString","optional":true,"computed":true},"external_id":{"type":"TypeString","computed":true},"external_last_updated_time_utc":{"type":"TypeString","computed":true},"external_reference":{"type":"TypeList","optional":true,"elem":{"schema":{"description":{"type":"TypeString","optional":true},"hashes":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"id":{"type":"TypeString","computed":true},"source_name":{"type":"TypeString","optional":true},"url":{"type":"TypeString","optional":true}}}},"granular_marking":{"type":"TypeList","optional":true,"elem":{"schema":{"language":{"type":"TypeString","optional":true},"marking_ref":{"type":"TypeString","optional":true},"selectors":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}}}}},"guid":{"type":"TypeString","computed":true},"indicator_type":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"kill_chain_phase":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","optional":true}}}},"language":{"type":"TypeString","optional":true},"last_updated_time_utc":{"type":"TypeString","computed":true},"object_marking_refs":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"parsed_pattern":{"type":"TypeList","computed":true,"elem":{"schema":{"pattern_type_key":{"type":"TypeString","computed":true},"pattern_type_values":{"type":"TypeList","computed":true,"elem":{"schema":{"value":{"type":"TypeString","computed":true},"value_type":{"type":"TypeString","computed":true}}}}}}},"pattern":{"type":"TypeString","required":true},"pattern_type":{"type":"TypeString","required":true},"pattern_version":{"type":"TypeString","optional":true},"revoked":{"type":"TypeBool","optional":true,"default":false},"source":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"threat_types":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"validate_from_utc":{"type":"TypeString","required":true},"validate_until_utc":{"type":"TypeString","optional":true},"workspace_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_sentinel_watchlist":{"schema":{"default_duration":{"type":"TypeString","optional":true,"forceNew":true},"description":{"type":"TypeString","optional":true,"forceNew":true},"display_name":{"type":"TypeString","required":true,"forceNew":true},"item_search_key":{"type":"TypeString","required":true,"forceNew":true},"labels":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"log_analytics_workspace_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_sentinel_watchlist_item":{"schema":{"name":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"properties":{"type":"TypeMap","required":true,"elem":{"type":"TypeString"}},"watchlist_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_service_fabric_cluster":{"schema":{"add_on_features":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"azure_active_directory":{"type":"TypeList","optional":true,"elem":{"schema":{"client_application_id":{"type":"TypeString","required":true},"cluster_application_id":{"type":"TypeString","required":true},"tenant_id":{"type":"TypeString","required":true}}},"maxItems":1},"certificate":{"type":"TypeList","optional":true,"elem":{"schema":{"thumbprint":{"type":"TypeString","required":true},"thumbprint_secondary":{"type":"TypeString","optional":true},"x509_store_name":{"type":"TypeString","required":true}}},"maxItems":1},"certificate_common_names":{"type":"TypeList","optional":true,"elem":{"schema":{"common_names":{"type":"TypeSet","required":true,"elem":{"schema":{"certificate_common_name":{"type":"TypeString","required":true},"certificate_issuer_thumbprint":{"type":"TypeString","optional":true}}},"minItems":1},"x509_store_name":{"type":"TypeString","required":true}}},"maxItems":1},"client_certificate_common_name":{"type":"TypeList","optional":true,"elem":{"schema":{"common_name":{"type":"TypeString","required":true},"is_admin":{"type":"TypeBool","required":true},"issuer_thumbprint":{"type":"TypeString","optional":true}}}},"client_certificate_thumbprint":{"type":"TypeList","optional":true,"elem":{"schema":{"is_admin":{"type":"TypeBool","required":true},"thumbprint":{"type":"TypeString","required":true}}}},"cluster_code_version":{"type":"TypeString","optional":true,"computed":true},"cluster_endpoint":{"type":"TypeString","computed":true},"diagnostics_config":{"type":"TypeList","optional":true,"elem":{"schema":{"blob_endpoint":{"type":"TypeString","required":true},"protected_account_key_name":{"type":"TypeString","required":true},"queue_endpoint":{"type":"TypeString","required":true},"storage_account_name":{"type":"TypeString","required":true},"table_endpoint":{"type":"TypeString","required":true}}},"maxItems":1},"fabric_settings":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}}}},"location":{"type":"TypeString","required":true,"forceNew":true},"management_endpoint":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"node_type":{"type":"TypeList","required":true,"elem":{"schema":{"application_ports":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"end_port":{"type":"TypeInt","required":true},"start_port":{"type":"TypeInt","required":true}}},"maxItems":1},"capacities":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"client_endpoint_port":{"type":"TypeInt","required":true},"durability_level":{"type":"TypeString","optional":true,"default":"Bronze"},"ephemeral_ports":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"end_port":{"type":"TypeInt","required":true},"start_port":{"type":"TypeInt","required":true}}},"maxItems":1},"http_endpoint_port":{"type":"TypeInt","required":true},"instance_count":{"type":"TypeInt","required":true},"is_primary":{"type":"TypeBool","required":true},"is_stateless":{"type":"TypeBool","optional":true},"multiple_availability_zones":{"type":"TypeBool","optional":true},"name":{"type":"TypeString","required":true},"placement_properties":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"reverse_proxy_endpoint_port":{"type":"TypeInt","optional":true}}}},"reliability_level":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"reverse_proxy_certificate":{"type":"TypeList","optional":true,"elem":{"schema":{"thumbprint":{"type":"TypeString","required":true},"thumbprint_secondary":{"type":"TypeString","optional":true},"x509_store_name":{"type":"TypeString","required":true}}},"maxItems":1},"reverse_proxy_certificate_common_names":{"type":"TypeList","optional":true,"elem":{"schema":{"common_names":{"type":"TypeSet","required":true,"elem":{"schema":{"certificate_common_name":{"type":"TypeString","required":true},"certificate_issuer_thumbprint":{"type":"TypeString","optional":true}}},"minItems":1},"x509_store_name":{"type":"TypeString","required":true}}},"maxItems":1},"service_fabric_zonal_upgrade_mode":{"type":"TypeString","optional":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"upgrade_mode":{"type":"TypeString","required":true},"upgrade_policy":{"type":"TypeList","optional":true,"elem":{"schema":{"delta_health_policy":{"type":"TypeList","optional":true,"elem":{"schema":{"max_delta_unhealthy_applications_percent":{"type":"TypeInt","optional":true,"default":0},"max_delta_unhealthy_nodes_percent":{"type":"TypeInt","optional":true,"default":0},"max_upgrade_domain_delta_unhealthy_nodes_percent":{"type":"TypeInt","optional":true,"default":0}}},"maxItems":1},"force_restart_enabled":{"type":"TypeBool","optional":true},"health_check_retry_timeout":{"type":"TypeString","optional":true,"default":"00:45:00"},"health_check_stable_duration":{"type":"TypeString","optional":true,"default":"00:01:00"},"health_check_wait_duration":{"type":"TypeString","optional":true,"default":"00:00:30"},"health_policy":{"type":"TypeList","optional":true,"elem":{"schema":{"max_unhealthy_applications_percent":{"type":"TypeInt","optional":true,"default":0},"max_unhealthy_nodes_percent":{"type":"TypeInt","optional":true,"default":0}}},"maxItems":1},"upgrade_domain_timeout":{"type":"TypeString","optional":true,"default":"02:00:00"},"upgrade_replica_set_check_timeout":{"type":"TypeString","optional":true,"default":"10675199.02:48:05.4775807"},"upgrade_timeout":{"type":"TypeString","optional":true,"default":"12:00:00"}}},"maxItems":1},"vm_image":{"type":"TypeString","required":true,"forceNew":true},"vmss_zonal_upgrade_mode":{"type":"TypeString","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_service_fabric_managed_cluster":{"schema":{"authentication":{"type":"TypeList","optional":true,"elem":{"schema":{"active_directory":{"type":"TypeList","optional":true,"elem":{"schema":{"client_application_id":{"type":"TypeString","required":true},"cluster_application_id":{"type":"TypeString","required":true},"tenant_id":{"type":"TypeString","required":true}}},"maxItems":1},"certificate":{"type":"TypeList","optional":true,"elem":{"schema":{"common_name":{"type":"TypeString","optional":true},"thumbprint":{"type":"TypeString","required":true},"type":{"type":"TypeString","required":true}}}}}},"maxItems":1},"backup_service_enabled":{"type":"TypeBool","optional":true},"client_connection_port":{"type":"TypeInt","required":true},"custom_fabric_setting":{"type":"TypeList","optional":true,"elem":{"schema":{"parameter":{"type":"TypeString","required":true},"section":{"type":"TypeString","required":true},"value":{"type":"TypeString","required":true}}}},"dns_name":{"type":"TypeString","optional":true,"computed":true},"dns_service_enabled":{"type":"TypeBool","optional":true},"http_gateway_port":{"type":"TypeInt","required":true},"lb_rule":{"type":"TypeList","required":true,"elem":{"schema":{"backend_port":{"type":"TypeInt","required":true},"frontend_port":{"type":"TypeInt","required":true},"probe_protocol":{"type":"TypeString","required":true},"probe_request_path":{"type":"TypeString","optional":true},"protocol":{"type":"TypeString","required":true}}}},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"node_type":{"type":"TypeList","optional":true,"elem":{"schema":{"application_port_range":{"type":"TypeString","required":true},"capacities":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"data_disk_size_gb":{"type":"TypeInt","required":true},"data_disk_type":{"type":"TypeString","optional":true,"default":"Standard_LRS"},"ephemeral_port_range":{"type":"TypeString","required":true},"id":{"type":"TypeString","computed":true},"multiple_placement_groups_enabled":{"type":"TypeBool","optional":true},"name":{"type":"TypeString","required":true},"placement_properties":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"primary":{"type":"TypeBool","optional":true},"stateless":{"type":"TypeBool","optional":true},"vm_image_offer":{"type":"TypeString","required":true},"vm_image_publisher":{"type":"TypeString","required":true},"vm_image_sku":{"type":"TypeString","required":true},"vm_image_version":{"type":"TypeString","required":true},"vm_instance_count":{"type":"TypeInt","required":true},"vm_secrets":{"type":"TypeList","optional":true,"elem":{"schema":{"certificates":{"type":"TypeList","required":true,"elem":{"schema":{"store":{"type":"TypeString","required":true},"url":{"type":"TypeString","required":true}}}},"vault_id":{"type":"TypeString","required":true}}}},"vm_size":{"type":"TypeString","required":true}}}},"password":{"type":"TypeString","optional":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"sku":{"type":"TypeString","optional":true,"default":"Basic","forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"upgrade_wave":{"type":"TypeString","optional":true,"default":"Wave0"},"username":{"type":"TypeString","optional":true}},"timeouts":{"create":90,"read":5,"delete":90,"update":90}},"azurerm_service_plan":{"schema":{"app_service_environment_id":{"type":"TypeString","optional":true},"kind":{"type":"TypeString","computed":true},"location":{"type":"TypeString","required":true,"forceNew":true},"maximum_elastic_worker_count":{"type":"TypeInt","optional":true,"computed":true},"name":{"type":"TypeString","required":true,"forceNew":true},"os_type":{"type":"TypeString","required":true,"forceNew":true},"per_site_scaling_enabled":{"type":"TypeBool","optional":true,"default":false},"reserved":{"type":"TypeBool","computed":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"sku_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"worker_count":{"type":"TypeInt","optional":true,"computed":true},"zone_balancing_enabled":{"type":"TypeBool","optional":true,"forceNew":true}},"timeouts":{"create":60,"read":5,"delete":60,"update":60}},"azurerm_servicebus_namespace":{"schema":{"capacity":{"type":"TypeInt","optional":true,"default":0},"customer_managed_key":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_id":{"type":"TypeString","required":true},"infrastructure_encryption_enabled":{"type":"TypeBool","optional":true,"forceNew":true},"key_vault_key_id":{"type":"TypeString","required":true}}},"maxItems":1},"default_primary_connection_string":{"type":"TypeString","computed":true},"default_primary_key":{"type":"TypeString","computed":true},"default_secondary_connection_string":{"type":"TypeString","computed":true},"default_secondary_key":{"type":"TypeString","computed":true},"endpoint":{"type":"TypeString","computed":true},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"local_auth_enabled":{"type":"TypeBool","optional":true,"default":true},"location":{"type":"TypeString","required":true,"forceNew":true},"minimum_tls_version":{"type":"TypeString","optional":true,"default":"1.2"},"name":{"type":"TypeString","required":true,"forceNew":true},"network_rule_set":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"default_action":{"type":"TypeString","optional":true,"default":"Allow"},"ip_rules":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"network_rules":{"type":"TypeSet","optional":true,"elem":{"schema":{"ignore_missing_vnet_service_endpoint":{"type":"TypeBool","optional":true,"default":false},"subnet_id":{"type":"TypeString","required":true}}}},"public_network_access_enabled":{"type":"TypeBool","optional":true,"default":true},"trusted_services_allowed":{"type":"TypeBool","optional":true,"default":false}}},"maxItems":1},"premium_messaging_partitions":{"type":"TypeInt","optional":true,"default":0,"forceNew":true},"public_network_access_enabled":{"type":"TypeBool","optional":true,"default":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"sku":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_servicebus_namespace_authorization_rule":{"schema":{"listen":{"type":"TypeBool","optional":true,"default":false},"manage":{"type":"TypeBool","optional":true,"default":false},"name":{"type":"TypeString","required":true,"forceNew":true},"namespace_id":{"type":"TypeString","required":true,"forceNew":true},"primary_connection_string":{"type":"TypeString","computed":true},"primary_connection_string_alias":{"type":"TypeString","computed":true},"primary_key":{"type":"TypeString","computed":true},"secondary_connection_string":{"type":"TypeString","computed":true},"secondary_connection_string_alias":{"type":"TypeString","computed":true},"secondary_key":{"type":"TypeString","computed":true},"send":{"type":"TypeBool","optional":true,"default":false}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_servicebus_namespace_disaster_recovery_config":{"schema":{"alias_authorization_rule_id":{"type":"TypeString","optional":true},"default_primary_key":{"type":"TypeString","computed":true},"default_secondary_key":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true,"forceNew":true},"partner_namespace_id":{"type":"TypeString","required":true},"primary_connection_string_alias":{"type":"TypeString","computed":true},"primary_namespace_id":{"type":"TypeString","required":true,"forceNew":true},"secondary_connection_string_alias":{"type":"TypeString","computed":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_servicebus_queue":{"schema":{"auto_delete_on_idle":{"type":"TypeString","optional":true,"computed":true},"batched_operations_enabled":{"type":"TypeBool","optional":true,"default":true},"dead_lettering_on_message_expiration":{"type":"TypeBool","optional":true,"default":false},"default_message_ttl":{"type":"TypeString","optional":true,"computed":true},"duplicate_detection_history_time_window":{"type":"TypeString","optional":true,"default":"PT10M"},"express_enabled":{"type":"TypeBool","optional":true,"default":false},"forward_dead_lettered_messages_to":{"type":"TypeString","optional":true},"forward_to":{"type":"TypeString","optional":true},"lock_duration":{"type":"TypeString","optional":true,"default":"PT1M"},"max_delivery_count":{"type":"TypeInt","optional":true,"default":10},"max_message_size_in_kilobytes":{"type":"TypeInt","optional":true,"computed":true},"max_size_in_megabytes":{"type":"TypeInt","optional":true,"computed":true},"name":{"type":"TypeString","required":true,"forceNew":true},"namespace_id":{"type":"TypeString","required":true,"forceNew":true},"partitioning_enabled":{"type":"TypeBool","optional":true,"default":false,"forceNew":true},"requires_duplicate_detection":{"type":"TypeBool","optional":true,"default":false,"forceNew":true},"requires_session":{"type":"TypeBool","optional":true,"default":false,"forceNew":true},"status":{"type":"TypeString","optional":true,"default":"Active"}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_servicebus_queue_authorization_rule":{"schema":{"listen":{"type":"TypeBool","optional":true,"default":false},"manage":{"type":"TypeBool","optional":true,"default":false},"name":{"type":"TypeString","required":true,"forceNew":true},"primary_connection_string":{"type":"TypeString","computed":true},"primary_connection_string_alias":{"type":"TypeString","computed":true},"primary_key":{"type":"TypeString","computed":true},"queue_id":{"type":"TypeString","required":true,"forceNew":true},"secondary_connection_string":{"type":"TypeString","computed":true},"secondary_connection_string_alias":{"type":"TypeString","computed":true},"secondary_key":{"type":"TypeString","computed":true},"send":{"type":"TypeBool","optional":true,"default":false}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_servicebus_subscription":{"schema":{"auto_delete_on_idle":{"type":"TypeString","optional":true,"default":"P10675199DT2H48M5.4775807S"},"batched_operations_enabled":{"type":"TypeBool","optional":true},"client_scoped_subscription":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","optional":true,"forceNew":true},"is_client_scoped_subscription_durable":{"type":"TypeBool","computed":true},"is_client_scoped_subscription_shareable":{"type":"TypeBool","optional":true,"default":true,"forceNew":true}}},"maxItems":1},"client_scoped_subscription_enabled":{"type":"TypeBool","optional":true,"default":false},"dead_lettering_on_filter_evaluation_error":{"type":"TypeBool","optional":true,"default":true},"dead_lettering_on_message_expiration":{"type":"TypeBool","optional":true},"default_message_ttl":{"type":"TypeString","optional":true,"default":"P10675199DT2H48M5.4775807S"},"forward_dead_lettered_messages_to":{"type":"TypeString","optional":true},"forward_to":{"type":"TypeString","optional":true},"lock_duration":{"type":"TypeString","optional":true,"default":"PT1M"},"max_delivery_count":{"type":"TypeInt","required":true},"name":{"type":"TypeString","required":true,"forceNew":true},"requires_session":{"type":"TypeBool","optional":true,"forceNew":true},"status":{"type":"TypeString","optional":true,"default":"Active"},"topic_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_servicebus_subscription_rule":{"schema":{"action":{"type":"TypeString","optional":true},"correlation_filter":{"type":"TypeList","optional":true,"elem":{"schema":{"content_type":{"type":"TypeString","optional":true},"correlation_id":{"type":"TypeString","optional":true},"label":{"type":"TypeString","optional":true},"message_id":{"type":"TypeString","optional":true},"properties":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"reply_to":{"type":"TypeString","optional":true},"reply_to_session_id":{"type":"TypeString","optional":true},"session_id":{"type":"TypeString","optional":true},"to":{"type":"TypeString","optional":true}}},"maxItems":1},"filter_type":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true,"forceNew":true},"sql_filter":{"type":"TypeString","optional":true},"sql_filter_compatibility_level":{"type":"TypeInt","computed":true},"subscription_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_servicebus_topic":{"schema":{"auto_delete_on_idle":{"type":"TypeString","optional":true,"default":"P10675199DT2H48M5.4775807S"},"batched_operations_enabled":{"type":"TypeBool","optional":true},"default_message_ttl":{"type":"TypeString","optional":true,"default":"P10675199DT2H48M5.4775807S"},"duplicate_detection_history_time_window":{"type":"TypeString","optional":true,"default":"PT10M"},"express_enabled":{"type":"TypeBool","optional":true},"max_message_size_in_kilobytes":{"type":"TypeInt","optional":true,"computed":true},"max_size_in_megabytes":{"type":"TypeInt","optional":true,"computed":true},"name":{"type":"TypeString","required":true,"forceNew":true},"namespace_id":{"type":"TypeString","required":true,"forceNew":true},"partitioning_enabled":{"type":"TypeBool","optional":true,"forceNew":true},"requires_duplicate_detection":{"type":"TypeBool","optional":true,"forceNew":true},"status":{"type":"TypeString","optional":true,"default":"Active"},"support_ordering":{"type":"TypeBool","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_servicebus_topic_authorization_rule":{"schema":{"listen":{"type":"TypeBool","optional":true,"default":false},"manage":{"type":"TypeBool","optional":true,"default":false},"name":{"type":"TypeString","required":true,"forceNew":true},"primary_connection_string":{"type":"TypeString","computed":true},"primary_connection_string_alias":{"type":"TypeString","computed":true},"primary_key":{"type":"TypeString","computed":true},"secondary_connection_string":{"type":"TypeString","computed":true},"secondary_connection_string_alias":{"type":"TypeString","computed":true},"secondary_key":{"type":"TypeString","computed":true},"send":{"type":"TypeBool","optional":true,"default":false},"topic_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_shared_image":{"schema":{"accelerated_network_support_enabled":{"type":"TypeBool","optional":true,"forceNew":true},"architecture":{"type":"TypeString","optional":true,"default":"x64","forceNew":true},"confidential_vm_enabled":{"type":"TypeBool","optional":true,"forceNew":true},"confidential_vm_supported":{"type":"TypeBool","optional":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"disk_controller_type_nvme_enabled":{"type":"TypeBool","optional":true,"forceNew":true},"disk_types_not_allowed":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"end_of_life_date":{"type":"TypeString","optional":true},"eula":{"type":"TypeString","optional":true,"forceNew":true},"gallery_name":{"type":"TypeString","required":true,"forceNew":true},"hibernation_enabled":{"type":"TypeBool","optional":true,"forceNew":true},"hyper_v_generation":{"type":"TypeString","optional":true,"default":"V1","forceNew":true},"identifier":{"type":"TypeList","required":true,"elem":{"schema":{"offer":{"type":"TypeString","required":true,"forceNew":true},"publisher":{"type":"TypeString","required":true,"forceNew":true},"sku":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"max_recommended_memory_in_gb":{"type":"TypeInt","optional":true},"max_recommended_vcpu_count":{"type":"TypeInt","optional":true},"min_recommended_memory_in_gb":{"type":"TypeInt","optional":true},"min_recommended_vcpu_count":{"type":"TypeInt","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"os_type":{"type":"TypeString","required":true,"forceNew":true},"privacy_statement_uri":{"type":"TypeString","optional":true,"forceNew":true},"purchase_plan":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true,"forceNew":true},"product":{"type":"TypeString","optional":true,"forceNew":true},"publisher":{"type":"TypeString","optional":true,"forceNew":true}}},"maxItems":1},"release_note_uri":{"type":"TypeString","optional":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"specialized":{"type":"TypeBool","optional":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"trusted_launch_enabled":{"type":"TypeBool","optional":true,"forceNew":true},"trusted_launch_supported":{"type":"TypeBool","optional":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_shared_image_gallery":{"schema":{"description":{"type":"TypeString","optional":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"sharing":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"community_gallery":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"eula":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","computed":true},"prefix":{"type":"TypeString","required":true,"forceNew":true},"publisher_email":{"type":"TypeString","required":true,"forceNew":true},"publisher_uri":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"permission":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"unique_name":{"type":"TypeString","computed":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_shared_image_version":{"schema":{"blob_uri":{"type":"TypeString","optional":true,"forceNew":true},"deletion_of_replicated_locations_enabled":{"type":"TypeBool","optional":true,"default":false,"forceNew":true},"end_of_life_date":{"type":"TypeString","optional":true},"exclude_from_latest":{"type":"TypeBool","optional":true,"default":false},"gallery_name":{"type":"TypeString","required":true,"forceNew":true},"image_name":{"type":"TypeString","required":true,"forceNew":true},"location":{"type":"TypeString","required":true,"forceNew":true},"managed_image_id":{"type":"TypeString","optional":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"os_disk_snapshot_id":{"type":"TypeString","optional":true,"forceNew":true},"replication_mode":{"type":"TypeString","optional":true,"default":"Full","forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"storage_account_id":{"type":"TypeString","optional":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"target_region":{"type":"TypeList","required":true,"elem":{"schema":{"disk_encryption_set_id":{"type":"TypeString","optional":true,"forceNew":true},"exclude_from_latest_enabled":{"type":"TypeBool","optional":true,"default":false},"name":{"type":"TypeString","required":true},"regional_replica_count":{"type":"TypeInt","required":true},"storage_account_type":{"type":"TypeString","optional":true,"default":"Standard_LRS"}}}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_signalr_service":{"schema":{"aad_auth_enabled":{"type":"TypeBool","optional":true,"default":true},"connectivity_logs_enabled":{"type":"TypeBool","optional":true,"default":false},"cors":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"allowed_origins":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}}}}},"hostname":{"type":"TypeString","computed":true},"http_request_logs_enabled":{"type":"TypeBool","optional":true,"default":false},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"ip_address":{"type":"TypeString","computed":true},"live_trace":{"type":"TypeList","optional":true,"elem":{"schema":{"connectivity_logs_enabled":{"type":"TypeBool","optional":true,"default":true},"enabled":{"type":"TypeBool","optional":true,"default":true},"http_request_logs_enabled":{"type":"TypeBool","optional":true,"default":true},"messaging_logs_enabled":{"type":"TypeBool","optional":true,"default":true}}},"maxItems":1},"live_trace_enabled":{"type":"TypeBool","optional":true,"default":false},"local_auth_enabled":{"type":"TypeBool","optional":true,"default":true},"location":{"type":"TypeString","required":true,"forceNew":true},"messaging_logs_enabled":{"type":"TypeBool","optional":true,"default":false},"name":{"type":"TypeString","required":true,"forceNew":true},"primary_access_key":{"type":"TypeString","computed":true},"primary_connection_string":{"type":"TypeString","computed":true},"public_network_access_enabled":{"type":"TypeBool","optional":true,"default":true},"public_port":{"type":"TypeInt","computed":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"secondary_access_key":{"type":"TypeString","computed":true},"secondary_connection_string":{"type":"TypeString","computed":true},"server_port":{"type":"TypeInt","computed":true},"serverless_connection_timeout_in_seconds":{"type":"TypeInt","optional":true,"default":30},"service_mode":{"type":"TypeString","optional":true,"default":"Default"},"sku":{"type":"TypeList","required":true,"elem":{"schema":{"capacity":{"type":"TypeInt","required":true},"name":{"type":"TypeString","required":true}}},"maxItems":1},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"tls_client_cert_enabled":{"type":"TypeBool","optional":true,"default":false},"upstream_endpoint":{"type":"TypeSet","optional":true,"elem":{"schema":{"category_pattern":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}},"event_pattern":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}},"hub_pattern":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}},"url_template":{"type":"TypeString","required":true},"user_assigned_identity_id":{"type":"TypeString","optional":true}}}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_signalr_service_custom_certificate":{"schema":{"certificate_version":{"type":"TypeString","computed":true},"custom_certificate_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"signalr_service_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_signalr_service_custom_domain":{"schema":{"domain_name":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"signalr_custom_certificate_id":{"type":"TypeString","required":true,"forceNew":true},"signalr_service_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_signalr_service_network_acl":{"schema":{"default_action":{"type":"TypeString","required":true},"private_endpoint":{"type":"TypeSet","optional":true,"elem":{"schema":{"allowed_request_types":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"denied_request_types":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"id":{"type":"TypeString","required":true}}}},"public_network":{"type":"TypeList","required":true,"elem":{"schema":{"allowed_request_types":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"denied_request_types":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"signalr_service_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_signalr_shared_private_link_resource":{"schema":{"name":{"type":"TypeString","required":true,"forceNew":true},"request_message":{"type":"TypeString","optional":true},"signalr_service_id":{"type":"TypeString","required":true,"forceNew":true},"status":{"type":"TypeString","computed":true},"sub_resource_name":{"type":"TypeString","required":true,"forceNew":true},"target_resource_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_site_recovery_fabric":{"schema":{"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"recovery_vault_name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_site_recovery_hyperv_network_mapping":{"schema":{"name":{"type":"TypeString","required":true,"forceNew":true},"recovery_vault_id":{"type":"TypeString","required":true,"forceNew":true},"source_network_name":{"type":"TypeString","required":true,"forceNew":true},"source_system_center_virtual_machine_manager_name":{"type":"TypeString","required":true,"forceNew":true},"target_network_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_site_recovery_hyperv_replication_policy":{"schema":{"application_consistent_snapshot_frequency_in_hours":{"type":"TypeInt","required":true},"name":{"type":"TypeString","required":true,"forceNew":true},"recovery_point_retention_in_hours":{"type":"TypeInt","required":true},"recovery_vault_id":{"type":"TypeString","required":true,"forceNew":true},"replication_interval_in_seconds":{"type":"TypeInt","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_site_recovery_hyperv_replication_policy_association":{"schema":{"hyperv_site_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"policy_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":60,"read":5,"delete":60}},"azurerm_site_recovery_network_mapping":{"schema":{"name":{"type":"TypeString","required":true,"forceNew":true},"recovery_vault_name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"source_network_id":{"type":"TypeString","required":true,"forceNew":true},"source_recovery_fabric_name":{"type":"TypeString","required":true,"forceNew":true},"target_network_id":{"type":"TypeString","required":true,"forceNew":true},"target_recovery_fabric_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_site_recovery_protection_container":{"schema":{"name":{"type":"TypeString","required":true,"forceNew":true},"recovery_fabric_name":{"type":"TypeString","required":true,"forceNew":true},"recovery_vault_name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_site_recovery_protection_container_mapping":{"schema":{"automatic_update":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"authentication_type":{"type":"TypeString","optional":true,"default":"SystemAssignedIdentity"},"automation_account_id":{"type":"TypeString","optional":true},"enabled":{"type":"TypeBool","optional":true,"default":false}}},"maxItems":1,"minItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"recovery_fabric_name":{"type":"TypeString","required":true,"forceNew":true},"recovery_replication_policy_id":{"type":"TypeString","required":true,"forceNew":true},"recovery_source_protection_container_name":{"type":"TypeString","required":true,"forceNew":true},"recovery_target_protection_container_id":{"type":"TypeString","required":true,"forceNew":true},"recovery_vault_name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_site_recovery_replicated_vm":{"schema":{"managed_disk":{"type":"TypeSet","configMode":"Auto","optional":true,"computed":true,"forceNew":true,"elem":{"schema":{"disk_id":{"type":"TypeString","required":true,"forceNew":true},"staging_storage_account_id":{"type":"TypeString","required":true,"forceNew":true},"target_disk_encryption":{"type":"TypeList","configMode":"Auto","optional":true,"elem":{"schema":{"disk_encryption_key":{"type":"TypeList","configMode":"Auto","required":true,"elem":{"schema":{"secret_url":{"type":"TypeString","required":true,"forceNew":true},"vault_id":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"key_encryption_key":{"type":"TypeList","configMode":"Auto","optional":true,"elem":{"schema":{"key_url":{"type":"TypeString","required":true,"forceNew":true},"vault_id":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1}}},"maxItems":1},"target_disk_encryption_set_id":{"type":"TypeString","optional":true,"forceNew":true},"target_disk_type":{"type":"TypeString","required":true,"forceNew":true},"target_replica_disk_type":{"type":"TypeString","required":true,"forceNew":true},"target_resource_group_id":{"type":"TypeString","required":true,"forceNew":true}}}},"multi_vm_group_name":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"network_interface":{"type":"TypeSet","configMode":"Auto","optional":true,"computed":true,"elem":{"schema":{"failover_test_public_ip_address_id":{"type":"TypeString","optional":true,"computed":true},"failover_test_static_ip":{"type":"TypeString","optional":true,"computed":true},"failover_test_subnet_name":{"type":"TypeString","optional":true,"computed":true},"recovery_public_ip_address_id":{"type":"TypeString","optional":true},"source_network_interface_id":{"type":"TypeString","optional":true,"computed":true},"target_static_ip":{"type":"TypeString","optional":true},"target_subnet_name":{"type":"TypeString","optional":true}}}},"recovery_replication_policy_id":{"type":"TypeString","required":true,"forceNew":true},"recovery_vault_name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"source_recovery_fabric_name":{"type":"TypeString","required":true,"forceNew":true},"source_recovery_protection_container_name":{"type":"TypeString","required":true,"forceNew":true},"source_vm_id":{"type":"TypeString","required":true,"forceNew":true},"target_availability_set_id":{"type":"TypeString","optional":true},"target_boot_diagnostic_storage_account_id":{"type":"TypeString","optional":true},"target_capacity_reservation_group_id":{"type":"TypeString","optional":true},"target_edge_zone":{"type":"TypeString","optional":true,"forceNew":true},"target_network_id":{"type":"TypeString","optional":true,"computed":true},"target_proximity_placement_group_id":{"type":"TypeString","optional":true},"target_recovery_fabric_id":{"type":"TypeString","required":true,"forceNew":true},"target_recovery_protection_container_id":{"type":"TypeString","required":true,"forceNew":true},"target_resource_group_id":{"type":"TypeString","required":true,"forceNew":true},"target_virtual_machine_scale_set_id":{"type":"TypeString","optional":true},"target_virtual_machine_size":{"type":"TypeString","optional":true,"computed":true},"target_zone":{"type":"TypeString","optional":true,"forceNew":true},"test_network_id":{"type":"TypeString","optional":true,"computed":true},"unmanaged_disk":{"type":"TypeSet","configMode":"Auto","optional":true,"computed":true,"forceNew":true,"elem":{"schema":{"disk_uri":{"type":"TypeString","required":true,"forceNew":true},"staging_storage_account_id":{"type":"TypeString","required":true,"forceNew":true},"target_storage_account_id":{"type":"TypeString","required":true,"forceNew":true}}}}},"timeouts":{"create":180,"read":5,"delete":80,"update":80}},"azurerm_site_recovery_replication_policy":{"schema":{"application_consistent_snapshot_frequency_in_minutes":{"type":"TypeInt","required":true},"name":{"type":"TypeString","required":true,"forceNew":true},"recovery_point_retention_in_minutes":{"type":"TypeInt","required":true},"recovery_vault_name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_site_recovery_replication_recovery_plan":{"schema":{"azure_to_azure_settings":{"type":"TypeList","optional":true,"elem":{"schema":{"primary_edge_zone":{"type":"TypeString","optional":true,"forceNew":true},"primary_zone":{"type":"TypeString","optional":true,"forceNew":true},"recovery_edge_zone":{"type":"TypeString","optional":true,"forceNew":true},"recovery_zone":{"type":"TypeString","optional":true,"forceNew":true}}},"maxItems":1},"boot_recovery_group":{"type":"TypeList","required":true,"elem":{"schema":{"post_action":{"type":"TypeList","optional":true,"elem":{"schema":{"fabric_location":{"type":"TypeString","optional":true},"fail_over_directions":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}},"fail_over_types":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}},"manual_action_instruction":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true},"runbook_id":{"type":"TypeString","optional":true},"script_path":{"type":"TypeString","optional":true},"type":{"type":"TypeString","required":true}}}},"pre_action":{"type":"TypeList","optional":true,"elem":{"schema":{"fabric_location":{"type":"TypeString","optional":true},"fail_over_directions":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}},"fail_over_types":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}},"manual_action_instruction":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true},"runbook_id":{"type":"TypeString","optional":true},"script_path":{"type":"TypeString","optional":true},"type":{"type":"TypeString","required":true}}}},"replicated_protected_items":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}}}},"minItems":1},"failover_recovery_group":{"type":"TypeList","required":true,"elem":{"schema":{"post_action":{"type":"TypeList","optional":true,"elem":{"schema":{"fabric_location":{"type":"TypeString","optional":true},"fail_over_directions":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}},"fail_over_types":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}},"manual_action_instruction":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true},"runbook_id":{"type":"TypeString","optional":true},"script_path":{"type":"TypeString","optional":true},"type":{"type":"TypeString","required":true}}}},"pre_action":{"type":"TypeList","optional":true,"elem":{"schema":{"fabric_location":{"type":"TypeString","optional":true},"fail_over_directions":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}},"fail_over_types":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}},"manual_action_instruction":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true},"runbook_id":{"type":"TypeString","optional":true},"script_path":{"type":"TypeString","optional":true},"type":{"type":"TypeString","required":true}}}}}},"maxItems":1,"minItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"recovery_vault_id":{"type":"TypeString","required":true,"forceNew":true},"shutdown_recovery_group":{"type":"TypeList","required":true,"elem":{"schema":{"post_action":{"type":"TypeList","optional":true,"elem":{"schema":{"fabric_location":{"type":"TypeString","optional":true},"fail_over_directions":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}},"fail_over_types":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}},"manual_action_instruction":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true},"runbook_id":{"type":"TypeString","optional":true},"script_path":{"type":"TypeString","optional":true},"type":{"type":"TypeString","required":true}}}},"pre_action":{"type":"TypeList","optional":true,"elem":{"schema":{"fabric_location":{"type":"TypeString","optional":true},"fail_over_directions":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}},"fail_over_types":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}},"manual_action_instruction":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true},"runbook_id":{"type":"TypeString","optional":true},"script_path":{"type":"TypeString","optional":true},"type":{"type":"TypeString","required":true}}}}}},"maxItems":1,"minItems":1},"source_recovery_fabric_id":{"type":"TypeString","required":true,"forceNew":true},"target_recovery_fabric_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_site_recovery_services_vault_hyperv_site":{"schema":{"name":{"type":"TypeString","required":true,"forceNew":true},"recovery_vault_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":180}},"azurerm_site_recovery_vmware_replicated_vm":{"schema":{"appliance_name":{"type":"TypeString","required":true,"forceNew":true},"default_log_storage_account_id":{"type":"TypeString","optional":true},"default_recovery_disk_type":{"type":"TypeString","optional":true},"default_target_disk_encryption_set_id":{"type":"TypeString","optional":true},"license_type":{"type":"TypeString","optional":true,"default":"NotSpecified"},"managed_disk":{"type":"TypeList","optional":true,"elem":{"schema":{"disk_id":{"type":"TypeString","required":true},"log_storage_account_id":{"type":"TypeString","optional":true},"target_disk_encryption_set_id":{"type":"TypeString","optional":true},"target_disk_type":{"type":"TypeString","required":true}}}},"multi_vm_group_name":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"network_interface":{"type":"TypeList","optional":true,"elem":{"schema":{"is_primary":{"type":"TypeBool","required":true},"source_mac_address":{"type":"TypeString","required":true},"target_static_ip":{"type":"TypeString","optional":true},"target_subnet_name":{"type":"TypeString","optional":true},"test_subnet_name":{"type":"TypeString","optional":true}}}},"physical_server_credential_name":{"type":"TypeString","required":true,"forceNew":true},"recovery_replication_policy_id":{"type":"TypeString","required":true},"recovery_vault_id":{"type":"TypeString","required":true},"source_vm_name":{"type":"TypeString","required":true,"forceNew":true},"target_availability_set_id":{"type":"TypeString","optional":true},"target_boot_diagnostics_storage_account_id":{"type":"TypeString","optional":true},"target_network_id":{"type":"TypeString","optional":true},"target_proximity_placement_group_id":{"type":"TypeString","optional":true},"target_resource_group_id":{"type":"TypeString","required":true},"target_vm_name":{"type":"TypeString","required":true,"forceNew":true},"target_vm_size":{"type":"TypeString","optional":true},"target_zone":{"type":"TypeString","optional":true},"test_network_id":{"type":"TypeString","optional":true}},"timeouts":{"create":120,"read":5,"delete":90,"update":90}},"azurerm_site_recovery_vmware_replication_policy":{"schema":{"application_consistent_snapshot_frequency_in_minutes":{"type":"TypeInt","required":true},"name":{"type":"TypeString","required":true,"forceNew":true},"recovery_point_retention_in_minutes":{"type":"TypeInt","required":true},"recovery_vault_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_site_recovery_vmware_replication_policy_association":{"schema":{"name":{"type":"TypeString","required":true,"forceNew":true},"policy_id":{"type":"TypeString","required":true,"forceNew":true},"recovery_vault_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_snapshot":{"schema":{"create_option":{"type":"TypeString","required":true},"disk_access_id":{"type":"TypeString","optional":true},"disk_size_gb":{"type":"TypeInt","optional":true,"computed":true},"encryption_settings":{"type":"TypeList","optional":true,"elem":{"schema":{"disk_encryption_key":{"type":"TypeList","required":true,"elem":{"schema":{"secret_url":{"type":"TypeString","required":true},"source_vault_id":{"type":"TypeString","required":true}}},"maxItems":1},"key_encryption_key":{"type":"TypeList","optional":true,"elem":{"schema":{"key_url":{"type":"TypeString","required":true},"source_vault_id":{"type":"TypeString","required":true}}},"maxItems":1}}},"maxItems":1},"incremental_enabled":{"type":"TypeBool","optional":true,"default":false,"forceNew":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"network_access_policy":{"type":"TypeString","optional":true,"default":"AllowAll"},"public_network_access_enabled":{"type":"TypeBool","optional":true,"default":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"source_resource_id":{"type":"TypeString","optional":true,"forceNew":true},"source_uri":{"type":"TypeString","optional":true,"forceNew":true},"storage_account_id":{"type":"TypeString","optional":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"trusted_launch_enabled":{"type":"TypeBool","computed":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_source_control_token":{"schema":{"token":{"type":"TypeString","required":true},"token_secret":{"type":"TypeString","optional":true},"type":{"type":"TypeString","required":true}},"timeouts":{"create":5,"read":5,"delete":5,"update":5}},"azurerm_spatial_anchors_account":{"schema":{"account_domain":{"type":"TypeString","computed":true},"account_id":{"type":"TypeString","computed":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_spring_cloud_accelerator":{"schema":{"name":{"type":"TypeString","required":true,"forceNew":true},"spring_cloud_service_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_spring_cloud_active_deployment":{"schema":{"deployment_name":{"type":"TypeString","required":true},"spring_cloud_app_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_spring_cloud_api_portal":{"schema":{"api_try_out_enabled":{"type":"TypeBool","optional":true},"gateway_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"https_only_enabled":{"type":"TypeBool","optional":true},"instance_count":{"type":"TypeInt","optional":true,"default":1},"name":{"type":"TypeString","required":true,"forceNew":true},"public_network_access_enabled":{"type":"TypeBool","optional":true},"spring_cloud_service_id":{"type":"TypeString","required":true,"forceNew":true},"sso":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","optional":true},"client_secret":{"type":"TypeString","optional":true},"issuer_uri":{"type":"TypeString","optional":true},"scope":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"url":{"type":"TypeString","computed":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_spring_cloud_api_portal_custom_domain":{"schema":{"name":{"type":"TypeString","required":true,"forceNew":true},"spring_cloud_api_portal_id":{"type":"TypeString","required":true,"forceNew":true},"thumbprint":{"type":"TypeString","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_spring_cloud_app":{"schema":{"addon_json":{"type":"TypeString","optional":true,"computed":true},"custom_persistent_disk":{"type":"TypeList","optional":true,"elem":{"schema":{"mount_options":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"mount_path":{"type":"TypeString","required":true},"read_only_enabled":{"type":"TypeBool","optional":true,"default":false},"share_name":{"type":"TypeString","required":true},"storage_name":{"type":"TypeString","required":true}}},"minItems":1},"fqdn":{"type":"TypeString","computed":true},"https_only":{"type":"TypeBool","optional":true,"default":false},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"ingress_settings":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"backend_protocol":{"type":"TypeString","optional":true,"default":"Default"},"read_timeout_in_seconds":{"type":"TypeInt","optional":true,"default":300},"send_timeout_in_seconds":{"type":"TypeInt","optional":true,"default":60},"session_affinity":{"type":"TypeString","optional":true,"default":"None"},"session_cookie_max_age":{"type":"TypeInt","optional":true}}},"maxItems":1},"is_public":{"type":"TypeBool","optional":true,"default":false},"name":{"type":"TypeString","required":true,"forceNew":true},"persistent_disk":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"mount_path":{"type":"TypeString","optional":true,"default":"/persistent"},"size_in_gb":{"type":"TypeInt","required":true}}},"maxItems":1},"public_endpoint_enabled":{"type":"TypeBool","optional":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"service_name":{"type":"TypeString","required":true,"forceNew":true},"tls_enabled":{"type":"TypeBool","optional":true,"default":false},"url":{"type":"TypeString","computed":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_spring_cloud_app_cosmosdb_association":{"schema":{"api_type":{"type":"TypeString","required":true,"forceNew":true},"cosmosdb_access_key":{"type":"TypeString","required":true},"cosmosdb_account_id":{"type":"TypeString","required":true,"forceNew":true},"cosmosdb_cassandra_keyspace_name":{"type":"TypeString","optional":true},"cosmosdb_gremlin_database_name":{"type":"TypeString","optional":true},"cosmosdb_gremlin_graph_name":{"type":"TypeString","optional":true},"cosmosdb_mongo_database_name":{"type":"TypeString","optional":true},"cosmosdb_sql_database_name":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"spring_cloud_app_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_spring_cloud_app_dynamics_application_performance_monitoring":{"schema":{"agent_account_access_key":{"type":"TypeString","required":true},"agent_account_name":{"type":"TypeString","required":true},"agent_application_name":{"type":"TypeString","optional":true},"agent_node_name":{"type":"TypeString","optional":true},"agent_tier_name":{"type":"TypeString","optional":true},"agent_unique_host_id":{"type":"TypeString","optional":true},"controller_host_name":{"type":"TypeString","required":true},"controller_port":{"type":"TypeInt","optional":true},"controller_ssl_enabled":{"type":"TypeBool","optional":true},"globally_enabled":{"type":"TypeBool","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"spring_cloud_service_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_spring_cloud_app_mysql_association":{"schema":{"database_name":{"type":"TypeString","required":true},"mysql_server_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"password":{"type":"TypeString","required":true},"spring_cloud_app_id":{"type":"TypeString","required":true,"forceNew":true},"username":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_spring_cloud_app_redis_association":{"schema":{"name":{"type":"TypeString","required":true,"forceNew":true},"redis_access_key":{"type":"TypeString","required":true},"redis_cache_id":{"type":"TypeString","required":true,"forceNew":true},"spring_cloud_app_id":{"type":"TypeString","required":true,"forceNew":true},"ssl_enabled":{"type":"TypeBool","optional":true,"default":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_spring_cloud_application_insights_application_performance_monitoring":{"schema":{"connection_string":{"type":"TypeString","optional":true},"globally_enabled":{"type":"TypeBool","optional":true,"default":false},"name":{"type":"TypeString","required":true,"forceNew":true},"role_instance":{"type":"TypeString","optional":true},"role_name":{"type":"TypeString","optional":true},"sampling_percentage":{"type":"TypeInt","optional":true},"sampling_requests_per_second":{"type":"TypeInt","optional":true},"spring_cloud_service_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_spring_cloud_application_live_view":{"schema":{"name":{"type":"TypeString","required":true,"forceNew":true},"spring_cloud_service_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_spring_cloud_build_deployment":{"schema":{"addon_json":{"type":"TypeString","optional":true,"computed":true},"application_performance_monitoring_ids":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"minItems":1},"build_result_id":{"type":"TypeString","required":true},"environment_variables":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"instance_count":{"type":"TypeInt","optional":true,"default":1},"name":{"type":"TypeString","required":true,"forceNew":true},"quota":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"cpu":{"type":"TypeString","optional":true,"computed":true},"memory":{"type":"TypeString","optional":true,"computed":true}}},"maxItems":1},"spring_cloud_app_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_spring_cloud_build_pack_binding":{"schema":{"binding_type":{"type":"TypeString","optional":true},"launch":{"type":"TypeList","optional":true,"elem":{"schema":{"properties":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"secrets":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"spring_cloud_builder_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_spring_cloud_builder":{"schema":{"build_pack_group":{"type":"TypeSet","required":true,"elem":{"schema":{"build_pack_ids":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"minItems":1},"name":{"type":"TypeString","required":true}}},"minItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"spring_cloud_service_id":{"type":"TypeString","required":true,"forceNew":true},"stack":{"type":"TypeList","required":true,"elem":{"schema":{"id":{"type":"TypeString","required":true},"version":{"type":"TypeString","required":true}}},"maxItems":1}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_spring_cloud_certificate":{"schema":{"certificate_content":{"type":"TypeString","optional":true,"forceNew":true},"exclude_private_key":{"type":"TypeBool","optional":true,"forceNew":true},"key_vault_certificate_id":{"type":"TypeString","optional":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"service_name":{"type":"TypeString","required":true,"forceNew":true},"thumbprint":{"type":"TypeString","computed":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_spring_cloud_configuration_service":{"schema":{"generation":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"refresh_interval_in_seconds":{"type":"TypeInt","optional":true},"repository":{"type":"TypeList","optional":true,"elem":{"schema":{"ca_certificate_id":{"type":"TypeString","optional":true},"host_key":{"type":"TypeString","optional":true},"host_key_algorithm":{"type":"TypeString","optional":true},"label":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true},"password":{"type":"TypeString","optional":true},"patterns":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}},"private_key":{"type":"TypeString","optional":true},"search_paths":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"strict_host_key_checking":{"type":"TypeBool","optional":true},"uri":{"type":"TypeString","required":true},"username":{"type":"TypeString","optional":true}}}},"spring_cloud_service_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_spring_cloud_connection":{"schema":{"authentication":{"type":"TypeList","required":true,"elem":{"schema":{"certificate":{"type":"TypeString","optional":true},"client_id":{"type":"TypeString","optional":true},"name":{"type":"TypeString","optional":true},"principal_id":{"type":"TypeString","optional":true},"secret":{"type":"TypeString","optional":true},"subscription_id":{"type":"TypeString","optional":true},"type":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"client_type":{"type":"TypeString","optional":true,"default":"none"},"name":{"type":"TypeString","required":true,"forceNew":true},"secret_store":{"type":"TypeList","optional":true,"elem":{"schema":{"key_vault_id":{"type":"TypeString","required":true}}},"maxItems":1},"spring_cloud_id":{"type":"TypeString","required":true,"forceNew":true},"target_resource_id":{"type":"TypeString","required":true,"forceNew":true},"vnet_solution":{"type":"TypeString","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_spring_cloud_container_deployment":{"schema":{"addon_json":{"type":"TypeString","optional":true,"computed":true},"application_performance_monitoring_ids":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"minItems":1},"arguments":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"commands":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"environment_variables":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"image":{"type":"TypeString","required":true},"instance_count":{"type":"TypeInt","optional":true,"default":1},"language_framework":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"quota":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"cpu":{"type":"TypeString","optional":true,"computed":true},"memory":{"type":"TypeString","optional":true,"computed":true}}},"maxItems":1},"server":{"type":"TypeString","required":true},"spring_cloud_app_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_spring_cloud_custom_domain":{"schema":{"certificate_name":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"spring_cloud_app_id":{"type":"TypeString","required":true,"forceNew":true},"thumbprint":{"type":"TypeString","optional":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_spring_cloud_customized_accelerator":{"schema":{"accelerator_tags":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"accelerator_type":{"type":"TypeString","optional":true,"default":"Accelerator"},"description":{"type":"TypeString","optional":true},"display_name":{"type":"TypeString","optional":true},"git_repository":{"type":"TypeList","required":true,"elem":{"schema":{"basic_auth":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"password":{"type":"TypeString","required":true},"username":{"type":"TypeString","required":true}}},"maxItems":1},"branch":{"type":"TypeString","optional":true},"ca_certificate_id":{"type":"TypeString","optional":true},"commit":{"type":"TypeString","optional":true},"git_tag":{"type":"TypeString","optional":true},"interval_in_seconds":{"type":"TypeInt","optional":true},"path":{"type":"TypeString","optional":true},"ssh_auth":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"host_key":{"type":"TypeString","optional":true},"host_key_algorithm":{"type":"TypeString","optional":true},"private_key":{"type":"TypeString","required":true}}},"maxItems":1},"url":{"type":"TypeString","required":true}}},"maxItems":1},"icon_url":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"spring_cloud_accelerator_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_spring_cloud_dev_tool_portal":{"schema":{"application_accelerator_enabled":{"type":"TypeBool","optional":true,"computed":true},"application_live_view_enabled":{"type":"TypeBool","optional":true,"computed":true},"name":{"type":"TypeString","required":true,"forceNew":true},"public_network_access_enabled":{"type":"TypeBool","optional":true},"spring_cloud_service_id":{"type":"TypeString","required":true,"forceNew":true},"sso":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","optional":true},"client_secret":{"type":"TypeString","optional":true},"metadata_url":{"type":"TypeString","optional":true},"scope":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_spring_cloud_dynatrace_application_performance_monitoring":{"schema":{"api_token":{"type":"TypeString","optional":true},"api_url":{"type":"TypeString","optional":true},"connection_point":{"type":"TypeString","required":true},"environment_id":{"type":"TypeString","optional":true},"globally_enabled":{"type":"TypeBool","optional":true,"default":false},"name":{"type":"TypeString","required":true,"forceNew":true},"spring_cloud_service_id":{"type":"TypeString","required":true,"forceNew":true},"tenant":{"type":"TypeString","required":true},"tenant_token":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_spring_cloud_elastic_application_performance_monitoring":{"schema":{"application_packages":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"minItems":1},"globally_enabled":{"type":"TypeBool","optional":true,"default":false},"name":{"type":"TypeString","required":true,"forceNew":true},"server_url":{"type":"TypeString","required":true},"service_name":{"type":"TypeString","required":true},"spring_cloud_service_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_spring_cloud_gateway":{"schema":{"api_metadata":{"type":"TypeList","optional":true,"elem":{"schema":{"description":{"type":"TypeString","optional":true},"documentation_url":{"type":"TypeString","optional":true},"server_url":{"type":"TypeString","optional":true},"title":{"type":"TypeString","optional":true},"version":{"type":"TypeString","optional":true}}},"maxItems":1},"application_performance_monitoring_ids":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"minItems":1},"application_performance_monitoring_types":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"client_authorization":{"type":"TypeList","optional":true,"elem":{"schema":{"certificate_ids":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"verification_enabled":{"type":"TypeBool","optional":true}}},"maxItems":1},"cors":{"type":"TypeList","optional":true,"elem":{"schema":{"allowed_headers":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"allowed_methods":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"allowed_origin_patterns":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"allowed_origins":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"credentials_allowed":{"type":"TypeBool","optional":true},"exposed_headers":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"max_age_seconds":{"type":"TypeInt","optional":true}}},"maxItems":1},"environment_variables":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"https_only":{"type":"TypeBool","optional":true},"instance_count":{"type":"TypeInt","optional":true,"default":1},"local_response_cache_per_instance":{"type":"TypeList","optional":true,"elem":{"schema":{"size":{"type":"TypeString","optional":true},"time_to_live":{"type":"TypeString","optional":true}}},"maxItems":1},"local_response_cache_per_route":{"type":"TypeList","optional":true,"elem":{"schema":{"size":{"type":"TypeString","optional":true},"time_to_live":{"type":"TypeString","optional":true}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"public_network_access_enabled":{"type":"TypeBool","optional":true},"quota":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"cpu":{"type":"TypeString","optional":true,"default":"1"},"memory":{"type":"TypeString","optional":true,"default":"2Gi"}}},"maxItems":1},"sensitive_environment_variables":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"spring_cloud_service_id":{"type":"TypeString","required":true,"forceNew":true},"sso":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","optional":true},"client_secret":{"type":"TypeString","optional":true},"issuer_uri":{"type":"TypeString","optional":true},"scope":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"url":{"type":"TypeString","computed":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_spring_cloud_gateway_custom_domain":{"schema":{"name":{"type":"TypeString","required":true,"forceNew":true},"spring_cloud_gateway_id":{"type":"TypeString","required":true,"forceNew":true},"thumbprint":{"type":"TypeString","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_spring_cloud_gateway_route_config":{"schema":{"filters":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true,"forceNew":true},"open_api":{"type":"TypeList","optional":true,"elem":{"schema":{"uri":{"type":"TypeString","optional":true}}},"maxItems":1},"predicates":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"protocol":{"type":"TypeString","required":true},"route":{"type":"TypeSet","optional":true,"elem":{"schema":{"classification_tags":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"description":{"type":"TypeString","optional":true},"filters":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"order":{"type":"TypeInt","required":true},"predicates":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"sso_validation_enabled":{"type":"TypeBool","optional":true},"title":{"type":"TypeString","optional":true},"token_relay":{"type":"TypeBool","optional":true},"uri":{"type":"TypeString","optional":true}}}},"spring_cloud_app_id":{"type":"TypeString","optional":true},"spring_cloud_gateway_id":{"type":"TypeString","required":true,"forceNew":true},"sso_validation_enabled":{"type":"TypeBool","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_spring_cloud_java_deployment":{"schema":{"environment_variables":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"instance_count":{"type":"TypeInt","optional":true,"default":1},"jvm_options":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"quota":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"cpu":{"type":"TypeString","optional":true,"computed":true},"memory":{"type":"TypeString","optional":true,"computed":true}}},"maxItems":1},"runtime_version":{"type":"TypeString","optional":true,"default":"Java_8"},"spring_cloud_app_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_spring_cloud_new_relic_application_performance_monitoring":{"schema":{"agent_enabled":{"type":"TypeBool","optional":true,"default":true},"app_name":{"type":"TypeString","required":true},"app_server_port":{"type":"TypeInt","optional":true},"audit_mode_enabled":{"type":"TypeBool","optional":true},"auto_app_naming_enabled":{"type":"TypeBool","optional":true},"auto_transaction_naming_enabled":{"type":"TypeBool","optional":true,"default":true},"custom_tracing_enabled":{"type":"TypeBool","optional":true,"default":true},"globally_enabled":{"type":"TypeBool","optional":true},"labels":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"license_key":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true,"forceNew":true},"spring_cloud_service_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_spring_cloud_service":{"schema":{"build_agent_pool_size":{"type":"TypeString","optional":true},"config_server_git_setting":{"type":"TypeList","optional":true,"elem":{"schema":{"http_basic_auth":{"type":"TypeList","optional":true,"elem":{"schema":{"password":{"type":"TypeString","required":true},"username":{"type":"TypeString","required":true}}},"maxItems":1},"label":{"type":"TypeString","optional":true},"repository":{"type":"TypeList","optional":true,"elem":{"schema":{"http_basic_auth":{"type":"TypeList","optional":true,"elem":{"schema":{"password":{"type":"TypeString","required":true},"username":{"type":"TypeString","required":true}}},"maxItems":1},"label":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true},"pattern":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"search_paths":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"ssh_auth":{"type":"TypeList","optional":true,"elem":{"schema":{"host_key":{"type":"TypeString","optional":true},"host_key_algorithm":{"type":"TypeString","optional":true},"private_key":{"type":"TypeString","required":true},"strict_host_key_checking_enabled":{"type":"TypeBool","optional":true,"default":true}}},"maxItems":1},"uri":{"type":"TypeString","required":true}}}},"search_paths":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"ssh_auth":{"type":"TypeList","optional":true,"elem":{"schema":{"host_key":{"type":"TypeString","optional":true},"host_key_algorithm":{"type":"TypeString","optional":true},"private_key":{"type":"TypeString","required":true},"strict_host_key_checking_enabled":{"type":"TypeBool","optional":true,"default":true}}},"maxItems":1},"uri":{"type":"TypeString","required":true}}},"maxItems":1},"container_registry":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"password":{"type":"TypeString","required":true},"server":{"type":"TypeString","required":true},"username":{"type":"TypeString","required":true}}}},"default_build_service":{"type":"TypeList","optional":true,"elem":{"schema":{"container_registry_name":{"type":"TypeString","optional":true}}},"maxItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"log_stream_public_endpoint_enabled":{"type":"TypeBool","optional":true},"managed_environment_id":{"type":"TypeString","optional":true},"marketplace":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"plan":{"type":"TypeString","required":true},"product":{"type":"TypeString","required":true},"publisher":{"type":"TypeString","required":true}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"network":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"app_network_resource_group":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"app_subnet_id":{"type":"TypeString","required":true,"forceNew":true},"cidr_ranges":{"type":"TypeList","required":true,"forceNew":true,"elem":{"type":"TypeString"},"minItems":3},"outbound_type":{"type":"TypeString","optional":true,"default":"loadBalancer","forceNew":true},"read_timeout_seconds":{"type":"TypeInt","optional":true},"service_runtime_network_resource_group":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"service_runtime_subnet_id":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"outbound_public_ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"required_network_traffic_rules":{"type":"TypeList","computed":true,"elem":{"schema":{"direction":{"type":"TypeString","computed":true},"fqdns":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"port":{"type":"TypeInt","computed":true},"protocol":{"type":"TypeString","computed":true}}}},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"service_registry_enabled":{"type":"TypeBool","optional":true},"service_registry_id":{"type":"TypeString","computed":true},"sku_name":{"type":"TypeString","optional":true,"default":"S0","forceNew":true},"sku_tier":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"trace":{"type":"TypeList","optional":true,"elem":{"schema":{"connection_string":{"type":"TypeString","optional":true},"sample_rate":{"type":"TypeFloat","optional":true,"default":10}}},"maxItems":1},"zone_redundant":{"type":"TypeBool","optional":true,"default":false}},"timeouts":{"create":60,"read":5,"delete":30,"update":30}},"azurerm_spring_cloud_storage":{"schema":{"name":{"type":"TypeString","required":true,"forceNew":true},"spring_cloud_service_id":{"type":"TypeString","required":true,"forceNew":true},"storage_account_key":{"type":"TypeString","required":true},"storage_account_name":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_ssh_public_key":{"schema":{"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"public_key":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":45,"read":5,"delete":45,"update":45}},"azurerm_stack_hci_cluster":{"schema":{"automanage_configuration_id":{"type":"TypeString","optional":true},"client_id":{"type":"TypeString","optional":true,"forceNew":true},"cloud_id":{"type":"TypeString","computed":true},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"resource_provider_object_id":{"type":"TypeString","computed":true},"service_endpoint":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"tenant_id":{"type":"TypeString","optional":true,"computed":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_stack_hci_deployment_setting":{"schema":{"arc_resource_ids":{"type":"TypeList","required":true,"forceNew":true,"elem":{"type":"TypeString"}},"scale_unit":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"active_directory_organizational_unit_path":{"type":"TypeString","required":true,"forceNew":true},"bitlocker_boot_volume_enabled":{"type":"TypeBool","optional":true,"default":true,"forceNew":true},"bitlocker_data_volume_enabled":{"type":"TypeBool","optional":true,"default":true,"forceNew":true},"cluster":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"azure_service_endpoint":{"type":"TypeString","required":true,"forceNew":true},"cloud_account_name":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"witness_path":{"type":"TypeString","required":true,"forceNew":true},"witness_type":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"credential_guard_enabled":{"type":"TypeBool","optional":true,"default":false,"forceNew":true},"domain_fqdn":{"type":"TypeString","required":true,"forceNew":true},"drift_control_enabled":{"type":"TypeBool","optional":true,"default":true,"forceNew":true},"drtm_protection_enabled":{"type":"TypeBool","optional":true,"default":true,"forceNew":true},"episodic_data_upload_enabled":{"type":"TypeBool","optional":true,"default":true,"forceNew":true},"eu_location_enabled":{"type":"TypeBool","optional":true,"default":false,"forceNew":true},"host_network":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"intent":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"adapter":{"type":"TypeList","required":true,"forceNew":true,"elem":{"type":"TypeString"},"minItems":1},"adapter_property_override":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"jumbo_packet":{"type":"TypeString","optional":true,"forceNew":true},"network_direct":{"type":"TypeString","optional":true,"forceNew":true},"network_direct_technology":{"type":"TypeString","optional":true,"forceNew":true}}},"maxItems":1},"adapter_property_override_enabled":{"type":"TypeBool","optional":true,"default":false,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"qos_policy_override":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"bandwidth_percentage_smb":{"type":"TypeString","optional":true,"forceNew":true},"priority_value8021_action_cluster":{"type":"TypeString","optional":true,"forceNew":true},"priority_value8021_action_smb":{"type":"TypeString","optional":true,"forceNew":true}}},"maxItems":1},"qos_policy_override_enabled":{"type":"TypeBool","optional":true,"default":false,"forceNew":true},"traffic_type":{"type":"TypeList","required":true,"forceNew":true,"elem":{"type":"TypeString"},"minItems":1},"virtual_switch_configuration_override":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"enable_iov":{"type":"TypeString","optional":true,"forceNew":true},"load_balancing_algorithm":{"type":"TypeString","optional":true,"forceNew":true}}},"maxItems":1},"virtual_switch_configuration_override_enabled":{"type":"TypeBool","optional":true,"default":false,"forceNew":true}}},"minItems":1},"storage_auto_ip_enabled":{"type":"TypeBool","optional":true,"default":true,"forceNew":true},"storage_connectivity_switchless_enabled":{"type":"TypeBool","optional":true,"default":false,"forceNew":true},"storage_network":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"name":{"type":"TypeString","required":true,"forceNew":true},"network_adapter_name":{"type":"TypeString","required":true,"forceNew":true},"vlan_id":{"type":"TypeString","required":true,"forceNew":true}}},"minItems":1}}},"maxItems":1},"hvci_protection_enabled":{"type":"TypeBool","optional":true,"default":true,"forceNew":true},"infrastructure_network":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"dhcp_enabled":{"type":"TypeBool","optional":true,"default":false,"forceNew":true},"dns_server":{"type":"TypeList","required":true,"forceNew":true,"elem":{"type":"TypeString"},"minItems":1},"gateway":{"type":"TypeString","required":true,"forceNew":true},"ip_pool":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"ending_address":{"type":"TypeString","required":true,"forceNew":true},"starting_address":{"type":"TypeString","required":true,"forceNew":true}}},"minItems":1},"subnet_mask":{"type":"TypeString","required":true,"forceNew":true}}},"minItems":1},"name_prefix":{"type":"TypeString","required":true,"forceNew":true},"optional_service":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"custom_location":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"physical_node":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"ipv4_address":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true}}},"minItems":1},"secrets_location":{"type":"TypeString","required":true,"forceNew":true},"side_channel_mitigation_enabled":{"type":"TypeBool","optional":true,"default":true,"forceNew":true},"smb_cluster_encryption_enabled":{"type":"TypeBool","optional":true,"default":false,"forceNew":true},"smb_signing_enabled":{"type":"TypeBool","optional":true,"default":true,"forceNew":true},"storage":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"configuration_mode":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"streaming_data_client_enabled":{"type":"TypeBool","optional":true,"default":true,"forceNew":true},"wdac_enabled":{"type":"TypeBool","optional":true,"default":true,"forceNew":true}}},"minItems":1},"stack_hci_cluster_id":{"type":"TypeString","required":true,"forceNew":true},"version":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":360,"read":5,"delete":60}},"azurerm_stack_hci_logical_network":{"schema":{"custom_location_id":{"type":"TypeString","required":true,"forceNew":true},"dns_servers":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"subnet":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"address_prefix":{"type":"TypeString","optional":true,"forceNew":true},"ip_allocation_method":{"type":"TypeString","required":true,"forceNew":true},"ip_pool":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"end":{"type":"TypeString","required":true,"forceNew":true},"start":{"type":"TypeString","required":true,"forceNew":true}}}},"route":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"address_prefix":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","optional":true,"forceNew":true},"next_hop_ip_address":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"vlan_id":{"type":"TypeInt","optional":true,"forceNew":true}}},"maxItems":1},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"virtual_switch_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_stack_hci_storage_path":{"schema":{"custom_location_id":{"type":"TypeString","required":true,"forceNew":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"path":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_stack_hci_virtual_hard_disk":{"schema":{"block_size_in_bytes":{"type":"TypeInt","optional":true,"forceNew":true},"custom_location_id":{"type":"TypeString","required":true,"forceNew":true},"disk_file_format":{"type":"TypeString","optional":true,"forceNew":true},"disk_size_in_gb":{"type":"TypeInt","required":true,"forceNew":true},"dynamic_enabled":{"type":"TypeBool","optional":true,"default":false,"forceNew":true},"hyperv_generation":{"type":"TypeString","optional":true,"forceNew":true},"location":{"type":"TypeString","required":true,"forceNew":true},"logical_sector_in_bytes":{"type":"TypeInt","optional":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"physical_sector_in_bytes":{"type":"TypeInt","optional":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"storage_path_id":{"type":"TypeString","optional":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_static_site":{"schema":{"api_key":{"type":"TypeString","computed":true},"app_settings":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"default_host_name":{"type":"TypeString","computed":true},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"sku_size":{"type":"TypeString","optional":true,"default":"Free"},"sku_tier":{"type":"TypeString","optional":true,"default":"Free"},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_static_site_custom_domain":{"schema":{"domain_name":{"type":"TypeString","required":true,"forceNew":true},"static_site_id":{"type":"TypeString","required":true,"forceNew":true},"validation_token":{"type":"TypeString","computed":true},"validation_type":{"type":"TypeString","optional":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_static_web_app":{"schema":{"api_key":{"type":"TypeString","computed":true},"app_settings":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"basic_auth":{"type":"TypeList","optional":true,"elem":{"schema":{"environments":{"type":"TypeString","required":true},"password":{"type":"TypeString","required":true}}},"maxItems":1},"configuration_file_changes_enabled":{"type":"TypeBool","optional":true,"default":true},"default_host_name":{"type":"TypeString","computed":true},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"preview_environments_enabled":{"type":"TypeBool","optional":true,"default":true},"public_network_access_enabled":{"type":"TypeBool","optional":true,"default":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"sku_size":{"type":"TypeString","optional":true,"default":"Free"},"sku_tier":{"type":"TypeString","optional":true,"default":"Free"},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_static_web_app_custom_domain":{"schema":{"domain_name":{"type":"TypeString","required":true,"forceNew":true},"static_web_app_id":{"type":"TypeString","required":true,"forceNew":true},"validation_token":{"type":"TypeString","computed":true},"validation_type":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_static_web_app_function_app_registration":{"schema":{"function_app_id":{"type":"TypeString","required":true,"forceNew":true},"static_web_app_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_storage_account":{"schema":{"access_tier":{"type":"TypeString","optional":true,"computed":true},"account_kind":{"type":"TypeString","optional":true,"default":"StorageV2"},"account_replication_type":{"type":"TypeString","required":true},"account_tier":{"type":"TypeString","required":true,"forceNew":true},"allow_nested_items_to_be_public":{"type":"TypeBool","optional":true,"default":true},"allowed_copy_scope":{"type":"TypeString","optional":true},"azure_files_authentication":{"type":"TypeList","optional":true,"elem":{"schema":{"active_directory":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"domain_guid":{"type":"TypeString","required":true},"domain_name":{"type":"TypeString","required":true},"domain_sid":{"type":"TypeString","optional":true},"forest_name":{"type":"TypeString","optional":true},"netbios_domain_name":{"type":"TypeString","optional":true},"storage_sid":{"type":"TypeString","optional":true}}},"maxItems":1},"default_share_level_permission":{"type":"TypeString","optional":true,"default":"None"},"directory_type":{"type":"TypeString","required":true}}},"maxItems":1},"blob_properties":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"change_feed_enabled":{"type":"TypeBool","optional":true,"default":false},"change_feed_retention_in_days":{"type":"TypeInt","optional":true},"container_delete_retention_policy":{"type":"TypeList","optional":true,"elem":{"schema":{"days":{"type":"TypeInt","optional":true,"default":7}}},"maxItems":1},"cors_rule":{"type":"TypeList","optional":true,"elem":{"schema":{"allowed_headers":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"maxItems":64,"minItems":1},"allowed_methods":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"maxItems":64},"allowed_origins":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"maxItems":64},"exposed_headers":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"maxItems":64,"minItems":1},"max_age_in_seconds":{"type":"TypeInt","required":true}}},"maxItems":5},"default_service_version":{"type":"TypeString","optional":true,"computed":true},"delete_retention_policy":{"type":"TypeList","optional":true,"elem":{"schema":{"days":{"type":"TypeInt","optional":true,"default":7},"permanent_delete_enabled":{"type":"TypeBool","optional":true,"default":false}}},"maxItems":1},"last_access_time_enabled":{"type":"TypeBool","optional":true,"default":false},"restore_policy":{"type":"TypeList","optional":true,"elem":{"schema":{"days":{"type":"TypeInt","required":true}}},"maxItems":1},"versioning_enabled":{"type":"TypeBool","optional":true,"default":false}}},"maxItems":1},"cross_tenant_replication_enabled":{"type":"TypeBool","optional":true,"default":false},"custom_domain":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"use_subdomain":{"type":"TypeBool","optional":true,"default":false}}},"maxItems":1},"customer_managed_key":{"type":"TypeList","optional":true,"elem":{"schema":{"key_vault_key_id":{"type":"TypeString","optional":true},"managed_hsm_key_id":{"type":"TypeString","optional":true},"user_assigned_identity_id":{"type":"TypeString","required":true}}},"maxItems":1},"default_to_oauth_authentication":{"type":"TypeBool","optional":true,"default":false},"dns_endpoint_type":{"type":"TypeString","optional":true,"default":"Standard","forceNew":true},"edge_zone":{"type":"TypeString","optional":true,"forceNew":true},"https_traffic_only_enabled":{"type":"TypeBool","optional":true,"default":true},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"immutability_policy":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"allow_protected_append_writes":{"type":"TypeBool","required":true},"period_since_creation_in_days":{"type":"TypeInt","required":true},"state":{"type":"TypeString","required":true}}},"maxItems":1},"infrastructure_encryption_enabled":{"type":"TypeBool","optional":true,"default":false,"forceNew":true},"is_hns_enabled":{"type":"TypeBool","optional":true,"default":false,"forceNew":true},"large_file_share_enabled":{"type":"TypeBool","optional":true,"computed":true},"local_user_enabled":{"type":"TypeBool","optional":true,"default":true},"location":{"type":"TypeString","required":true,"forceNew":true},"min_tls_version":{"type":"TypeString","optional":true,"default":"TLS1_2"},"name":{"type":"TypeString","required":true,"forceNew":true},"network_rules":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"bypass":{"type":"TypeSet","optional":true,"computed":true,"elem":{"type":"TypeString"}},"default_action":{"type":"TypeString","required":true},"ip_rules":{"type":"TypeSet","optional":true,"computed":true,"elem":{"type":"TypeString"}},"private_link_access":{"type":"TypeList","optional":true,"elem":{"schema":{"endpoint_resource_id":{"type":"TypeString","required":true},"endpoint_tenant_id":{"type":"TypeString","optional":true,"computed":true}}}},"virtual_network_subnet_ids":{"type":"TypeSet","optional":true,"computed":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"nfsv3_enabled":{"type":"TypeBool","optional":true,"default":false,"forceNew":true},"primary_access_key":{"type":"TypeString","computed":true},"primary_blob_connection_string":{"type":"TypeString","computed":true},"primary_blob_endpoint":{"type":"TypeString","computed":true},"primary_blob_host":{"type":"TypeString","computed":true},"primary_blob_internet_endpoint":{"type":"TypeString","computed":true},"primary_blob_internet_host":{"type":"TypeString","computed":true},"primary_blob_microsoft_endpoint":{"type":"TypeString","computed":true},"primary_blob_microsoft_host":{"type":"TypeString","computed":true},"primary_connection_string":{"type":"TypeString","computed":true},"primary_dfs_endpoint":{"type":"TypeString","computed":true},"primary_dfs_host":{"type":"TypeString","computed":true},"primary_dfs_internet_endpoint":{"type":"TypeString","computed":true},"primary_dfs_internet_host":{"type":"TypeString","computed":true},"primary_dfs_microsoft_endpoint":{"type":"TypeString","computed":true},"primary_dfs_microsoft_host":{"type":"TypeString","computed":true},"primary_file_endpoint":{"type":"TypeString","computed":true},"primary_file_host":{"type":"TypeString","computed":true},"primary_file_internet_endpoint":{"type":"TypeString","computed":true},"primary_file_internet_host":{"type":"TypeString","computed":true},"primary_file_microsoft_endpoint":{"type":"TypeString","computed":true},"primary_file_microsoft_host":{"type":"TypeString","computed":true},"primary_location":{"type":"TypeString","computed":true},"primary_queue_endpoint":{"type":"TypeString","computed":true},"primary_queue_host":{"type":"TypeString","computed":true},"primary_queue_microsoft_endpoint":{"type":"TypeString","computed":true},"primary_queue_microsoft_host":{"type":"TypeString","computed":true},"primary_table_endpoint":{"type":"TypeString","computed":true},"primary_table_host":{"type":"TypeString","computed":true},"primary_table_microsoft_endpoint":{"type":"TypeString","computed":true},"primary_table_microsoft_host":{"type":"TypeString","computed":true},"primary_web_endpoint":{"type":"TypeString","computed":true},"primary_web_host":{"type":"TypeString","computed":true},"primary_web_internet_endpoint":{"type":"TypeString","computed":true},"primary_web_internet_host":{"type":"TypeString","computed":true},"primary_web_microsoft_endpoint":{"type":"TypeString","computed":true},"primary_web_microsoft_host":{"type":"TypeString","computed":true},"public_network_access_enabled":{"type":"TypeBool","optional":true,"default":true},"queue_encryption_key_type":{"type":"TypeString","optional":true,"default":"Service","forceNew":true},"queue_properties":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"cors_rule":{"type":"TypeList","optional":true,"elem":{"schema":{"allowed_headers":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"maxItems":64,"minItems":1},"allowed_methods":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"maxItems":64},"allowed_origins":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"maxItems":64},"exposed_headers":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"maxItems":64,"minItems":1},"max_age_in_seconds":{"type":"TypeInt","required":true}}},"maxItems":5},"hour_metrics":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"enabled":{"type":"TypeBool","required":true},"include_apis":{"type":"TypeBool","optional":true},"retention_policy_days":{"type":"TypeInt","optional":true},"version":{"type":"TypeString","required":true}}},"maxItems":1},"logging":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"delete":{"type":"TypeBool","required":true},"read":{"type":"TypeBool","required":true},"retention_policy_days":{"type":"TypeInt","optional":true},"version":{"type":"TypeString","required":true},"write":{"type":"TypeBool","required":true}}},"maxItems":1},"minute_metrics":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"enabled":{"type":"TypeBool","required":true},"include_apis":{"type":"TypeBool","optional":true},"retention_policy_days":{"type":"TypeInt","optional":true},"version":{"type":"TypeString","required":true}}},"maxItems":1}}},"maxItems":1},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"routing":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"choice":{"type":"TypeString","optional":true,"default":"MicrosoftRouting"},"publish_internet_endpoints":{"type":"TypeBool","optional":true,"default":false},"publish_microsoft_endpoints":{"type":"TypeBool","optional":true,"default":false}}},"maxItems":1},"sas_policy":{"type":"TypeList","optional":true,"elem":{"schema":{"expiration_action":{"type":"TypeString","optional":true,"default":"Log"},"expiration_period":{"type":"TypeString","required":true}}},"maxItems":1,"minItems":1},"secondary_access_key":{"type":"TypeString","computed":true},"secondary_blob_connection_string":{"type":"TypeString","computed":true},"secondary_blob_endpoint":{"type":"TypeString","computed":true},"secondary_blob_host":{"type":"TypeString","computed":true},"secondary_blob_internet_endpoint":{"type":"TypeString","computed":true},"secondary_blob_internet_host":{"type":"TypeString","computed":true},"secondary_blob_microsoft_endpoint":{"type":"TypeString","computed":true},"secondary_blob_microsoft_host":{"type":"TypeString","computed":true},"secondary_connection_string":{"type":"TypeString","computed":true},"secondary_dfs_endpoint":{"type":"TypeString","computed":true},"secondary_dfs_host":{"type":"TypeString","computed":true},"secondary_dfs_internet_endpoint":{"type":"TypeString","computed":true},"secondary_dfs_internet_host":{"type":"TypeString","computed":true},"secondary_dfs_microsoft_endpoint":{"type":"TypeString","computed":true},"secondary_dfs_microsoft_host":{"type":"TypeString","computed":true},"secondary_file_endpoint":{"type":"TypeString","computed":true},"secondary_file_host":{"type":"TypeString","computed":true},"secondary_file_internet_endpoint":{"type":"TypeString","computed":true},"secondary_file_internet_host":{"type":"TypeString","computed":true},"secondary_file_microsoft_endpoint":{"type":"TypeString","computed":true},"secondary_file_microsoft_host":{"type":"TypeString","computed":true},"secondary_location":{"type":"TypeString","computed":true},"secondary_queue_endpoint":{"type":"TypeString","computed":true},"secondary_queue_host":{"type":"TypeString","computed":true},"secondary_queue_microsoft_endpoint":{"type":"TypeString","computed":true},"secondary_queue_microsoft_host":{"type":"TypeString","computed":true},"secondary_table_endpoint":{"type":"TypeString","computed":true},"secondary_table_host":{"type":"TypeString","computed":true},"secondary_table_microsoft_endpoint":{"type":"TypeString","computed":true},"secondary_table_microsoft_host":{"type":"TypeString","computed":true},"secondary_web_endpoint":{"type":"TypeString","computed":true},"secondary_web_host":{"type":"TypeString","computed":true},"secondary_web_internet_endpoint":{"type":"TypeString","computed":true},"secondary_web_internet_host":{"type":"TypeString","computed":true},"secondary_web_microsoft_endpoint":{"type":"TypeString","computed":true},"secondary_web_microsoft_host":{"type":"TypeString","computed":true},"sftp_enabled":{"type":"TypeBool","optional":true,"default":false},"share_properties":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"cors_rule":{"type":"TypeList","optional":true,"elem":{"schema":{"allowed_headers":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"maxItems":64,"minItems":1},"allowed_methods":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"maxItems":64},"allowed_origins":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"maxItems":64},"exposed_headers":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"maxItems":64,"minItems":1},"max_age_in_seconds":{"type":"TypeInt","required":true}}},"maxItems":5},"retention_policy":{"type":"TypeList","optional":true,"elem":{"schema":{"days":{"type":"TypeInt","optional":true,"default":7}}},"maxItems":1},"smb":{"type":"TypeList","optional":true,"elem":{"schema":{"authentication_types":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"channel_encryption_type":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"kerberos_ticket_encryption_type":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"multichannel_enabled":{"type":"TypeBool","optional":true,"default":false},"versions":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1}}},"maxItems":1},"shared_access_key_enabled":{"type":"TypeBool","optional":true,"default":true},"static_website":{"type":"TypeList","optional":true,"elem":{"schema":{"error_404_document":{"type":"TypeString","optional":true},"index_document":{"type":"TypeString","optional":true}}},"maxItems":1},"table_encryption_key_type":{"type":"TypeString","optional":true,"default":"Service","forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":60,"read":5,"delete":60,"update":60}},"azurerm_storage_account_customer_managed_key":{"schema":{"federated_identity_client_id":{"type":"TypeString","optional":true},"key_name":{"type":"TypeString","required":true},"key_vault_id":{"type":"TypeString","optional":true},"key_vault_uri":{"type":"TypeString","optional":true,"computed":true},"key_version":{"type":"TypeString","optional":true},"managed_hsm_key_id":{"type":"TypeString","optional":true},"storage_account_id":{"type":"TypeString","required":true,"forceNew":true},"user_assigned_identity_id":{"type":"TypeString","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_storage_account_local_user":{"schema":{"home_directory":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"password":{"type":"TypeString","computed":true},"permission_scope":{"type":"TypeList","optional":true,"elem":{"schema":{"permissions":{"type":"TypeList","required":true,"elem":{"schema":{"create":{"type":"TypeBool","optional":true,"default":false},"delete":{"type":"TypeBool","optional":true,"default":false},"list":{"type":"TypeBool","optional":true,"default":false},"read":{"type":"TypeBool","optional":true,"default":false},"write":{"type":"TypeBool","optional":true,"default":false}}},"maxItems":1},"resource_name":{"type":"TypeString","required":true},"service":{"type":"TypeString","required":true}}}},"sid":{"type":"TypeString","computed":true},"ssh_authorized_key":{"type":"TypeList","optional":true,"elem":{"schema":{"description":{"type":"TypeString","optional":true},"key":{"type":"TypeString","required":true}}}},"ssh_key_enabled":{"type":"TypeBool","optional":true,"default":false},"ssh_password_enabled":{"type":"TypeBool","optional":true,"default":false},"storage_account_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_storage_account_network_rules":{"schema":{"bypass":{"type":"TypeSet","optional":true,"computed":true,"elem":{"type":"TypeString"}},"default_action":{"type":"TypeString","required":true},"ip_rules":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"private_link_access":{"type":"TypeList","optional":true,"elem":{"schema":{"endpoint_resource_id":{"type":"TypeString","required":true},"endpoint_tenant_id":{"type":"TypeString","optional":true,"computed":true}}}},"storage_account_id":{"type":"TypeString","required":true,"forceNew":true},"virtual_network_subnet_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":60,"read":5,"delete":60,"update":60}},"azurerm_storage_blob":{"schema":{"access_tier":{"type":"TypeString","optional":true,"computed":true},"cache_control":{"type":"TypeString","optional":true},"content_md5":{"type":"TypeString","optional":true,"forceNew":true},"content_type":{"type":"TypeString","optional":true,"default":"application/octet-stream"},"encryption_scope":{"type":"TypeString","optional":true,"forceNew":true},"metadata":{"type":"TypeMap","optional":true,"computed":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true,"forceNew":true},"parallelism":{"type":"TypeInt","optional":true,"default":8,"forceNew":true},"size":{"type":"TypeInt","optional":true,"default":0,"forceNew":true},"source":{"type":"TypeString","optional":true,"forceNew":true},"source_content":{"type":"TypeString","optional":true,"forceNew":true},"source_uri":{"type":"TypeString","optional":true,"forceNew":true},"storage_account_name":{"type":"TypeString","required":true,"forceNew":true},"storage_container_name":{"type":"TypeString","required":true,"forceNew":true},"type":{"type":"TypeString","required":true,"forceNew":true},"url":{"type":"TypeString","computed":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_storage_blob_inventory_policy":{"schema":{"rules":{"type":"TypeSet","required":true,"elem":{"schema":{"filter":{"type":"TypeList","optional":true,"elem":{"schema":{"blob_types":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}},"exclude_prefixes":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":10},"include_blob_versions":{"type":"TypeBool","optional":true,"default":false},"include_deleted":{"type":"TypeBool","optional":true,"default":false},"include_snapshots":{"type":"TypeBool","optional":true,"default":false},"prefix_match":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":10}}},"maxItems":1},"format":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true},"schedule":{"type":"TypeString","required":true},"schema_fields":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}},"scope":{"type":"TypeString","required":true},"storage_container_name":{"type":"TypeString","required":true}}}},"storage_account_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_storage_container":{"schema":{"container_access_type":{"type":"TypeString","optional":true,"default":"private"},"default_encryption_scope":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"encryption_scope_override_enabled":{"type":"TypeBool","optional":true,"default":true,"forceNew":true},"has_immutability_policy":{"type":"TypeBool","computed":true},"has_legal_hold":{"type":"TypeBool","computed":true},"metadata":{"type":"TypeMap","optional":true,"computed":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_manager_id":{"type":"TypeString","computed":true},"storage_account_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_storage_container_immutability_policy":{"schema":{"immutability_period_in_days":{"type":"TypeInt","required":true},"locked":{"type":"TypeBool","optional":true,"default":false},"protected_append_writes_all_enabled":{"type":"TypeBool","optional":true,"default":false},"protected_append_writes_enabled":{"type":"TypeBool","optional":true,"default":false},"storage_container_resource_manager_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":10,"read":5,"delete":10,"update":10}},"azurerm_storage_data_lake_gen2_filesystem":{"schema":{"ace":{"type":"TypeSet","optional":true,"computed":true,"elem":{"schema":{"id":{"type":"TypeString","optional":true},"permissions":{"type":"TypeString","required":true},"scope":{"type":"TypeString","optional":true,"default":"access"},"type":{"type":"TypeString","required":true}}}},"default_encryption_scope":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"group":{"type":"TypeString","optional":true,"computed":true},"name":{"type":"TypeString","required":true,"forceNew":true},"owner":{"type":"TypeString","optional":true,"computed":true},"properties":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"storage_account_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_storage_data_lake_gen2_path":{"schema":{"ace":{"type":"TypeSet","optional":true,"computed":true,"elem":{"schema":{"id":{"type":"TypeString","optional":true},"permissions":{"type":"TypeString","required":true},"scope":{"type":"TypeString","optional":true,"default":"access"},"type":{"type":"TypeString","required":true}}}},"filesystem_name":{"type":"TypeString","required":true,"forceNew":true},"group":{"type":"TypeString","optional":true,"computed":true},"owner":{"type":"TypeString","optional":true,"computed":true},"path":{"type":"TypeString","required":true,"forceNew":true},"resource":{"type":"TypeString","required":true,"forceNew":true},"storage_account_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_storage_encryption_scope":{"schema":{"infrastructure_encryption_required":{"type":"TypeBool","optional":true,"forceNew":true},"key_vault_key_id":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"source":{"type":"TypeString","required":true},"storage_account_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_storage_management_policy":{"schema":{"rule":{"type":"TypeList","optional":true,"elem":{"schema":{"actions":{"type":"TypeList","required":true,"elem":{"schema":{"base_blob":{"type":"TypeList","optional":true,"elem":{"schema":{"auto_tier_to_hot_from_cool_enabled":{"type":"TypeBool","optional":true},"delete_after_days_since_creation_greater_than":{"type":"TypeInt","optional":true,"default":-1},"delete_after_days_since_last_access_time_greater_than":{"type":"TypeInt","optional":true,"default":-1},"delete_after_days_since_modification_greater_than":{"type":"TypeInt","optional":true,"default":-1},"tier_to_archive_after_days_since_creation_greater_than":{"type":"TypeInt","optional":true,"default":-1},"tier_to_archive_after_days_since_last_access_time_greater_than":{"type":"TypeInt","optional":true,"default":-1},"tier_to_archive_after_days_since_last_tier_change_greater_than":{"type":"TypeInt","optional":true,"default":-1},"tier_to_archive_after_days_since_modification_greater_than":{"type":"TypeInt","optional":true,"default":-1},"tier_to_cold_after_days_since_creation_greater_than":{"type":"TypeInt","optional":true,"default":-1},"tier_to_cold_after_days_since_last_access_time_greater_than":{"type":"TypeInt","optional":true,"default":-1},"tier_to_cold_after_days_since_modification_greater_than":{"type":"TypeInt","optional":true,"default":-1},"tier_to_cool_after_days_since_creation_greater_than":{"type":"TypeInt","optional":true,"default":-1},"tier_to_cool_after_days_since_last_access_time_greater_than":{"type":"TypeInt","optional":true,"default":-1},"tier_to_cool_after_days_since_modification_greater_than":{"type":"TypeInt","optional":true,"default":-1}}},"maxItems":1},"snapshot":{"type":"TypeList","optional":true,"elem":{"schema":{"change_tier_to_archive_after_days_since_creation":{"type":"TypeInt","optional":true,"default":-1},"change_tier_to_cool_after_days_since_creation":{"type":"TypeInt","optional":true,"default":-1},"delete_after_days_since_creation_greater_than":{"type":"TypeInt","optional":true,"default":-1},"tier_to_archive_after_days_since_last_tier_change_greater_than":{"type":"TypeInt","optional":true,"default":-1},"tier_to_cold_after_days_since_creation_greater_than":{"type":"TypeInt","optional":true,"default":-1}}},"maxItems":1},"version":{"type":"TypeList","optional":true,"elem":{"schema":{"change_tier_to_archive_after_days_since_creation":{"type":"TypeInt","optional":true,"default":-1},"change_tier_to_cool_after_days_since_creation":{"type":"TypeInt","optional":true,"default":-1},"delete_after_days_since_creation":{"type":"TypeInt","optional":true,"default":-1},"tier_to_archive_after_days_since_last_tier_change_greater_than":{"type":"TypeInt","optional":true,"default":-1},"tier_to_cold_after_days_since_creation_greater_than":{"type":"TypeInt","optional":true,"default":-1}}},"maxItems":1}}},"maxItems":1},"enabled":{"type":"TypeBool","required":true},"filters":{"type":"TypeList","required":true,"elem":{"schema":{"blob_types":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}},"match_blob_index_tag":{"type":"TypeSet","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"operation":{"type":"TypeString","optional":true,"default":"=="},"value":{"type":"TypeString","required":true}}}},"prefix_match":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"name":{"type":"TypeString","required":true}}},"minItems":1},"storage_account_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_storage_mover":{"schema":{"description":{"type":"TypeString","optional":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_storage_mover_agent":{"schema":{"arc_virtual_machine_id":{"type":"TypeString","required":true,"forceNew":true},"arc_virtual_machine_uuid":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"storage_mover_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_storage_mover_job_definition":{"schema":{"agent_name":{"type":"TypeString","optional":true},"copy_mode":{"type":"TypeString","required":true},"description":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"source_name":{"type":"TypeString","required":true,"forceNew":true},"source_sub_path":{"type":"TypeString","optional":true,"forceNew":true},"storage_mover_project_id":{"type":"TypeString","required":true,"forceNew":true},"target_name":{"type":"TypeString","required":true,"forceNew":true},"target_sub_path":{"type":"TypeString","optional":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_storage_mover_project":{"schema":{"description":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"storage_mover_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_storage_mover_source_endpoint":{"schema":{"description":{"type":"TypeString","optional":true},"export":{"type":"TypeString","optional":true,"forceNew":true},"host":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"nfs_version":{"type":"TypeString","optional":true,"default":"NFSauto","forceNew":true},"storage_mover_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_storage_mover_target_endpoint":{"schema":{"description":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"storage_account_id":{"type":"TypeString","required":true,"forceNew":true},"storage_container_name":{"type":"TypeString","required":true,"forceNew":true},"storage_mover_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_storage_object_replication":{"schema":{"destination_object_replication_id":{"type":"TypeString","computed":true},"destination_storage_account_id":{"type":"TypeString","required":true,"forceNew":true},"rules":{"type":"TypeSet","required":true,"elem":{"schema":{"copy_blobs_created_after":{"type":"TypeString","optional":true,"default":"OnlyNewObjects"},"destination_container_name":{"type":"TypeString","required":true},"filter_out_blobs_with_prefix":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","computed":true},"source_container_name":{"type":"TypeString","required":true}}}},"source_object_replication_id":{"type":"TypeString","computed":true},"source_storage_account_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_storage_queue":{"schema":{"metadata":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_manager_id":{"type":"TypeString","computed":true},"storage_account_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_storage_share":{"schema":{"access_tier":{"type":"TypeString","optional":true,"computed":true},"acl":{"type":"TypeSet","optional":true,"elem":{"schema":{"access_policy":{"type":"TypeList","optional":true,"elem":{"schema":{"expiry":{"type":"TypeString","optional":true},"permissions":{"type":"TypeString","required":true},"start":{"type":"TypeString","optional":true}}}},"id":{"type":"TypeString","required":true}}}},"enabled_protocol":{"type":"TypeString","optional":true,"default":"SMB","forceNew":true},"metadata":{"type":"TypeMap","optional":true,"computed":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true,"forceNew":true},"quota":{"type":"TypeInt","required":true},"resource_manager_id":{"type":"TypeString","computed":true},"storage_account_name":{"type":"TypeString","required":true,"forceNew":true},"url":{"type":"TypeString","computed":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_storage_share_directory":{"schema":{"metadata":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true,"forceNew":true},"storage_share_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_storage_share_file":{"schema":{"content_disposition":{"type":"TypeString","optional":true},"content_encoding":{"type":"TypeString","optional":true},"content_length":{"type":"TypeInt","computed":true},"content_md5":{"type":"TypeString","optional":true,"forceNew":true},"content_type":{"type":"TypeString","optional":true,"default":"application/octet-stream"},"metadata":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true,"forceNew":true},"path":{"type":"TypeString","optional":true,"default":"","forceNew":true},"source":{"type":"TypeString","optional":true,"forceNew":true},"storage_share_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_storage_sync":{"schema":{"incoming_traffic_policy":{"type":"TypeString","optional":true,"default":"AllowAllTraffic"},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"registered_servers":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_storage_sync_cloud_endpoint":{"schema":{"file_share_name":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"storage_account_id":{"type":"TypeString","required":true,"forceNew":true},"storage_account_tenant_id":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"storage_sync_group_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":45,"read":5,"delete":45}},"azurerm_storage_sync_group":{"schema":{"name":{"type":"TypeString","required":true,"forceNew":true},"storage_sync_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_storage_sync_server_endpoint":{"schema":{"cloud_tiering_enabled":{"type":"TypeBool","optional":true,"default":false},"initial_download_policy":{"type":"TypeString","optional":true,"default":"NamespaceThenModifiedFiles","forceNew":true},"local_cache_mode":{"type":"TypeString","optional":true,"default":"UpdateLocallyCachedFiles"},"name":{"type":"TypeString","required":true,"forceNew":true},"registered_server_id":{"type":"TypeString","required":true,"forceNew":true},"server_local_path":{"type":"TypeString","required":true,"forceNew":true},"storage_sync_group_id":{"type":"TypeString","required":true,"forceNew":true},"tier_files_older_than_days":{"type":"TypeInt","optional":true},"volume_free_space_percent":{"type":"TypeInt","optional":true,"default":20}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_storage_table":{"schema":{"acl":{"type":"TypeSet","optional":true,"elem":{"schema":{"access_policy":{"type":"TypeList","optional":true,"elem":{"schema":{"expiry":{"type":"TypeString","required":true},"permissions":{"type":"TypeString","required":true},"start":{"type":"TypeString","required":true}}}},"id":{"type":"TypeString","required":true}}}},"name":{"type":"TypeString","required":true,"forceNew":true},"storage_account_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_storage_table_entity":{"schema":{"entity":{"type":"TypeMap","required":true,"elem":{"type":"TypeString"}},"partition_key":{"type":"TypeString","required":true,"forceNew":true},"row_key":{"type":"TypeString","required":true,"forceNew":true},"storage_table_id":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_stream_analytics_cluster":{"schema":{"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"streaming_capacity":{"type":"TypeInt","required":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":90,"read":5,"delete":90,"update":90}},"azurerm_stream_analytics_function_javascript_uda":{"schema":{"input":{"type":"TypeList","required":true,"elem":{"schema":{"configuration_parameter":{"type":"TypeBool","optional":true,"default":false},"type":{"type":"TypeString","required":true}}},"minItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"output":{"type":"TypeList","required":true,"elem":{"schema":{"type":{"type":"TypeString","required":true}}},"maxItems":1},"script":{"type":"TypeString","required":true},"stream_analytics_job_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_stream_analytics_function_javascript_udf":{"schema":{"input":{"type":"TypeList","required":true,"elem":{"schema":{"configuration_parameter":{"type":"TypeBool","optional":true,"default":false},"type":{"type":"TypeString","required":true}}},"minItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"output":{"type":"TypeList","required":true,"elem":{"schema":{"type":{"type":"TypeString","required":true}}},"maxItems":1},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"script":{"type":"TypeString","required":true},"stream_analytics_job_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_stream_analytics_job":{"schema":{"compatibility_level":{"type":"TypeString","optional":true,"computed":true},"content_storage_policy":{"type":"TypeString","optional":true,"default":"SystemAccount"},"data_locale":{"type":"TypeString","optional":true,"default":"en-US"},"events_late_arrival_max_delay_in_seconds":{"type":"TypeInt","optional":true,"default":5},"events_out_of_order_max_delay_in_seconds":{"type":"TypeInt","optional":true,"default":0},"events_out_of_order_policy":{"type":"TypeString","optional":true,"default":"Adjust"},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"job_id":{"type":"TypeString","computed":true},"job_storage_account":{"type":"TypeList","optional":true,"elem":{"schema":{"account_key":{"type":"TypeString","required":true},"account_name":{"type":"TypeString","required":true},"authentication_mode":{"type":"TypeString","optional":true,"default":"ConnectionString"}}}},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"output_error_policy":{"type":"TypeString","optional":true,"default":"Drop"},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"sku_name":{"type":"TypeString","optional":true,"default":"Standard"},"stream_analytics_cluster_id":{"type":"TypeString","optional":true},"streaming_units":{"type":"TypeInt","optional":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"transformation_query":{"type":"TypeString","required":true},"type":{"type":"TypeString","optional":true,"default":"Cloud","forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_stream_analytics_job_schedule":{"schema":{"last_output_time":{"type":"TypeString","computed":true},"start_mode":{"type":"TypeString","required":true},"start_time":{"type":"TypeString","optional":true,"computed":true},"stream_analytics_job_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_stream_analytics_managed_private_endpoint":{"schema":{"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"stream_analytics_cluster_name":{"type":"TypeString","required":true,"forceNew":true},"subresource_name":{"type":"TypeString","required":true,"forceNew":true},"target_resource_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":5}},"azurerm_stream_analytics_output_blob":{"schema":{"authentication_mode":{"type":"TypeString","optional":true,"default":"ConnectionString"},"batch_max_wait_time":{"type":"TypeString","optional":true},"batch_min_rows":{"type":"TypeInt","optional":true},"blob_write_mode":{"type":"TypeString","optional":true,"default":"Append"},"date_format":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true,"forceNew":true},"path_pattern":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"serialization":{"type":"TypeList","required":true,"elem":{"schema":{"encoding":{"type":"TypeString","optional":true},"field_delimiter":{"type":"TypeString","optional":true},"format":{"type":"TypeString","optional":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"storage_account_key":{"type":"TypeString","optional":true},"storage_account_name":{"type":"TypeString","required":true},"storage_container_name":{"type":"TypeString","required":true},"stream_analytics_job_name":{"type":"TypeString","required":true,"forceNew":true},"time_format":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_stream_analytics_output_cosmosdb":{"schema":{"container_name":{"type":"TypeString","required":true},"cosmosdb_account_key":{"type":"TypeString","required":true},"cosmosdb_sql_database_id":{"type":"TypeString","required":true},"document_id":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"partition_key":{"type":"TypeString","optional":true},"stream_analytics_job_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_stream_analytics_output_eventhub":{"schema":{"authentication_mode":{"type":"TypeString","optional":true,"default":"ConnectionString"},"eventhub_name":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true,"forceNew":true},"partition_key":{"type":"TypeString","optional":true},"property_columns":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"serialization":{"type":"TypeList","required":true,"elem":{"schema":{"encoding":{"type":"TypeString","optional":true},"field_delimiter":{"type":"TypeString","optional":true},"format":{"type":"TypeString","optional":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"servicebus_namespace":{"type":"TypeString","required":true},"shared_access_policy_key":{"type":"TypeString","optional":true},"shared_access_policy_name":{"type":"TypeString","optional":true},"stream_analytics_job_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_stream_analytics_output_function":{"schema":{"api_key":{"type":"TypeString","required":true},"batch_max_count":{"type":"TypeInt","optional":true,"default":100},"batch_max_in_bytes":{"type":"TypeInt","optional":true,"default":262144},"function_app":{"type":"TypeString","required":true},"function_name":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"stream_analytics_job_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_stream_analytics_output_mssql":{"schema":{"authentication_mode":{"type":"TypeString","optional":true,"default":"ConnectionString"},"database":{"type":"TypeString","required":true,"forceNew":true},"max_batch_count":{"type":"TypeFloat","optional":true,"default":10000},"max_writer_count":{"type":"TypeFloat","optional":true,"default":1},"name":{"type":"TypeString","required":true,"forceNew":true},"password":{"type":"TypeString","optional":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"server":{"type":"TypeString","required":true,"forceNew":true},"stream_analytics_job_name":{"type":"TypeString","required":true,"forceNew":true},"table":{"type":"TypeString","required":true,"forceNew":true},"user":{"type":"TypeString","optional":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_stream_analytics_output_powerbi":{"schema":{"dataset":{"type":"TypeString","required":true},"group_id":{"type":"TypeString","required":true},"group_name":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true,"forceNew":true},"stream_analytics_job_id":{"type":"TypeString","required":true,"forceNew":true},"table":{"type":"TypeString","required":true},"token_user_display_name":{"type":"TypeString","optional":true},"token_user_principal_name":{"type":"TypeString","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_stream_analytics_output_servicebus_queue":{"schema":{"authentication_mode":{"type":"TypeString","optional":true,"default":"ConnectionString"},"name":{"type":"TypeString","required":true,"forceNew":true},"property_columns":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"queue_name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"serialization":{"type":"TypeList","required":true,"elem":{"schema":{"encoding":{"type":"TypeString","optional":true},"field_delimiter":{"type":"TypeString","optional":true},"format":{"type":"TypeString","optional":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"servicebus_namespace":{"type":"TypeString","required":true},"shared_access_policy_key":{"type":"TypeString","optional":true},"shared_access_policy_name":{"type":"TypeString","optional":true},"stream_analytics_job_name":{"type":"TypeString","required":true,"forceNew":true},"system_property_columns":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_stream_analytics_output_servicebus_topic":{"schema":{"authentication_mode":{"type":"TypeString","optional":true,"default":"ConnectionString"},"name":{"type":"TypeString","required":true,"forceNew":true},"property_columns":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"serialization":{"type":"TypeList","required":true,"elem":{"schema":{"encoding":{"type":"TypeString","optional":true},"field_delimiter":{"type":"TypeString","optional":true},"format":{"type":"TypeString","optional":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"servicebus_namespace":{"type":"TypeString","required":true},"shared_access_policy_key":{"type":"TypeString","optional":true},"shared_access_policy_name":{"type":"TypeString","optional":true},"stream_analytics_job_name":{"type":"TypeString","required":true,"forceNew":true},"system_property_columns":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"topic_name":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_stream_analytics_output_synapse":{"schema":{"database":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"password":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"server":{"type":"TypeString","required":true,"forceNew":true},"stream_analytics_job_name":{"type":"TypeString","required":true,"forceNew":true},"table":{"type":"TypeString","required":true,"forceNew":true},"user":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_stream_analytics_output_table":{"schema":{"batch_size":{"type":"TypeInt","required":true},"columns_to_remove":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true,"forceNew":true},"partition_key":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"row_key":{"type":"TypeString","required":true},"storage_account_key":{"type":"TypeString","required":true},"storage_account_name":{"type":"TypeString","required":true},"stream_analytics_job_name":{"type":"TypeString","required":true,"forceNew":true},"table":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_stream_analytics_reference_input_blob":{"schema":{"authentication_mode":{"type":"TypeString","optional":true,"default":"ConnectionString"},"date_format":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true,"forceNew":true},"path_pattern":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"serialization":{"type":"TypeList","required":true,"elem":{"schema":{"encoding":{"type":"TypeString","optional":true},"field_delimiter":{"type":"TypeString","optional":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"storage_account_key":{"type":"TypeString","optional":true},"storage_account_name":{"type":"TypeString","required":true},"storage_container_name":{"type":"TypeString","required":true},"stream_analytics_job_name":{"type":"TypeString","required":true,"forceNew":true},"time_format":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_stream_analytics_reference_input_mssql":{"schema":{"database":{"type":"TypeString","required":true},"delta_snapshot_query":{"type":"TypeString","optional":true},"full_snapshot_query":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true,"forceNew":true},"password":{"type":"TypeString","required":true},"refresh_interval_duration":{"type":"TypeString","optional":true},"refresh_type":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"server":{"type":"TypeString","required":true},"stream_analytics_job_name":{"type":"TypeString","required":true,"forceNew":true},"table":{"type":"TypeString","optional":true},"username":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_stream_analytics_stream_input_blob":{"schema":{"date_format":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true,"forceNew":true},"path_pattern":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"serialization":{"type":"TypeList","required":true,"elem":{"schema":{"encoding":{"type":"TypeString","optional":true},"field_delimiter":{"type":"TypeString","optional":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"storage_account_key":{"type":"TypeString","required":true},"storage_account_name":{"type":"TypeString","required":true},"storage_container_name":{"type":"TypeString","required":true},"stream_analytics_job_name":{"type":"TypeString","required":true,"forceNew":true},"time_format":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_stream_analytics_stream_input_eventhub":{"schema":{"authentication_mode":{"type":"TypeString","optional":true,"default":"ConnectionString"},"eventhub_consumer_group_name":{"type":"TypeString","optional":true},"eventhub_name":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true,"forceNew":true},"partition_key":{"type":"TypeString","optional":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"serialization":{"type":"TypeList","required":true,"elem":{"schema":{"encoding":{"type":"TypeString","optional":true},"field_delimiter":{"type":"TypeString","optional":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"servicebus_namespace":{"type":"TypeString","required":true},"shared_access_policy_key":{"type":"TypeString","optional":true},"shared_access_policy_name":{"type":"TypeString","optional":true},"stream_analytics_job_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_stream_analytics_stream_input_eventhub_v2":{"schema":{"authentication_mode":{"type":"TypeString","optional":true,"default":"ConnectionString"},"eventhub_consumer_group_name":{"type":"TypeString","optional":true},"eventhub_name":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true,"forceNew":true},"partition_key":{"type":"TypeString","optional":true},"serialization":{"type":"TypeList","required":true,"elem":{"schema":{"encoding":{"type":"TypeString","optional":true},"field_delimiter":{"type":"TypeString","optional":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"servicebus_namespace":{"type":"TypeString","required":true},"shared_access_policy_key":{"type":"TypeString","optional":true},"shared_access_policy_name":{"type":"TypeString","optional":true},"stream_analytics_job_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_stream_analytics_stream_input_iothub":{"schema":{"endpoint":{"type":"TypeString","required":true},"eventhub_consumer_group_name":{"type":"TypeString","required":true},"iothub_namespace":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"serialization":{"type":"TypeList","required":true,"elem":{"schema":{"encoding":{"type":"TypeString","optional":true},"field_delimiter":{"type":"TypeString","optional":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"shared_access_policy_key":{"type":"TypeString","required":true,"forceNew":true},"shared_access_policy_name":{"type":"TypeString","required":true},"stream_analytics_job_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_subnet":{"schema":{"address_prefixes":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"minItems":1},"default_outbound_access_enabled":{"type":"TypeBool","optional":true,"default":true,"forceNew":true},"delegation":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"service_delegation":{"type":"TypeList","required":true,"elem":{"schema":{"actions":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true}}},"maxItems":1}}}},"name":{"type":"TypeString","required":true,"forceNew":true},"private_endpoint_network_policies":{"type":"TypeString","optional":true,"default":"Disabled"},"private_link_service_network_policies_enabled":{"type":"TypeBool","optional":true,"default":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"service_endpoint_policy_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"service_endpoints":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"virtual_network_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_subnet_nat_gateway_association":{"schema":{"nat_gateway_id":{"type":"TypeString","required":true,"forceNew":true},"subnet_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_subnet_network_security_group_association":{"schema":{"network_security_group_id":{"type":"TypeString","required":true,"forceNew":true},"subnet_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_subnet_route_table_association":{"schema":{"route_table_id":{"type":"TypeString","required":true,"forceNew":true},"subnet_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_subnet_service_endpoint_storage_policy":{"schema":{"definition":{"type":"TypeList","optional":true,"elem":{"schema":{"description":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true},"service":{"type":"TypeString","optional":true,"default":"Microsoft.Storage"},"service_resources":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}}}},"maxItems":2,"minItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_subscription":{"schema":{"alias":{"type":"TypeString","optional":true,"description":"The Alias Name of the subscription. If omitted a new UUID will be generated for this property.","computed":true,"forceNew":true},"billing_scope_id":{"type":"TypeString","optional":true},"subscription_id":{"type":"TypeString","optional":true,"description":"The GUID of the Subscription.","computed":true,"forceNew":true},"subscription_name":{"type":"TypeString","required":true,"description":"The Display Name for the Subscription."},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"tenant_id":{"type":"TypeString","description":"The Tenant ID to which the subscription belongs","computed":true},"workload":{"type":"TypeString","optional":true,"description":"The workload type for the Subscription. Possible values are `Production` (default) and `DevTest`.","forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_subscription_cost_management_export":{"schema":{"active":{"type":"TypeBool","optional":true,"default":true},"export_data_options":{"type":"TypeList","required":true,"elem":{"schema":{"time_frame":{"type":"TypeString","required":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"export_data_storage_location":{"type":"TypeList","required":true,"elem":{"schema":{"container_id":{"type":"TypeString","required":true,"forceNew":true},"root_folder_path":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"recurrence_period_end_date":{"type":"TypeString","required":true},"recurrence_period_start_date":{"type":"TypeString","required":true},"recurrence_type":{"type":"TypeString","required":true},"subscription_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_subscription_cost_management_view":{"schema":{"accumulated":{"type":"TypeBool","required":true,"forceNew":true},"chart_type":{"type":"TypeString","required":true},"dataset":{"type":"TypeList","required":true,"elem":{"schema":{"aggregation":{"type":"TypeSet","required":true,"elem":{"schema":{"column_name":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true}}}},"granularity":{"type":"TypeString","required":true},"grouping":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"type":{"type":"TypeString","required":true}}}},"sorting":{"type":"TypeList","optional":true,"elem":{"schema":{"direction":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true}}}}}},"maxItems":1},"display_name":{"type":"TypeString","required":true},"kpi":{"type":"TypeList","optional":true,"elem":{"schema":{"type":{"type":"TypeString","required":true}}}},"name":{"type":"TypeString","required":true,"forceNew":true},"pivot":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"type":{"type":"TypeString","required":true}}}},"report_type":{"type":"TypeString","required":true},"subscription_id":{"type":"TypeString","required":true,"forceNew":true},"timeframe":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_subscription_policy_assignment":{"schema":{"description":{"type":"TypeString","optional":true},"display_name":{"type":"TypeString","optional":true},"enforce":{"type":"TypeBool","optional":true,"default":true},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"location":{"type":"TypeString","optional":true,"forceNew":true},"metadata":{"type":"TypeString","optional":true,"computed":true},"name":{"type":"TypeString","required":true,"forceNew":true},"non_compliance_message":{"type":"TypeList","optional":true,"elem":{"schema":{"content":{"type":"TypeString","required":true},"policy_definition_reference_id":{"type":"TypeString","optional":true}}}},"not_scopes":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"overrides":{"type":"TypeList","optional":true,"elem":{"schema":{"selectors":{"type":"TypeList","optional":true,"elem":{"schema":{"in":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"kind":{"type":"TypeString","computed":true},"not_in":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}}}}},"value":{"type":"TypeString","required":true}}}},"parameters":{"type":"TypeString","optional":true},"policy_definition_id":{"type":"TypeString","required":true,"forceNew":true},"resource_selectors":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","optional":true},"selectors":{"type":"TypeList","required":true,"elem":{"schema":{"in":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"kind":{"type":"TypeString","required":true},"not_in":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}}}}}}}},"subscription_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_subscription_policy_exemption":{"schema":{"description":{"type":"TypeString","optional":true},"display_name":{"type":"TypeString","optional":true},"exemption_category":{"type":"TypeString","required":true},"expires_on":{"type":"TypeString","optional":true},"metadata":{"type":"TypeString","optional":true,"computed":true},"name":{"type":"TypeString","required":true,"forceNew":true},"policy_assignment_id":{"type":"TypeString","required":true,"forceNew":true},"policy_definition_reference_ids":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"subscription_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_subscription_policy_remediation":{"schema":{"failure_percentage":{"type":"TypeFloat","optional":true},"location_filters":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true,"forceNew":true},"parallel_deployments":{"type":"TypeInt","optional":true},"policy_assignment_id":{"type":"TypeString","required":true},"policy_definition_reference_id":{"type":"TypeString","optional":true},"resource_count":{"type":"TypeInt","optional":true},"resource_discovery_mode":{"type":"TypeString","optional":true,"default":"ExistingNonCompliant"},"subscription_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_subscription_template_deployment":{"schema":{"debug_level":{"type":"TypeString","optional":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"output_content":{"type":"TypeString","computed":true},"parameters_content":{"type":"TypeString","optional":true,"computed":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"template_content":{"type":"TypeString","optional":true,"computed":true},"template_spec_version_id":{"type":"TypeString","optional":true}},"timeouts":{"create":180,"read":5,"delete":180,"update":180}},"azurerm_synapse_firewall_rule":{"schema":{"end_ip_address":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true,"forceNew":true},"start_ip_address":{"type":"TypeString","required":true},"synapse_workspace_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_synapse_integration_runtime_azure":{"schema":{"compute_type":{"type":"TypeString","optional":true,"default":"General"},"core_count":{"type":"TypeInt","optional":true,"default":8},"description":{"type":"TypeString","optional":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"synapse_workspace_id":{"type":"TypeString","required":true,"forceNew":true},"time_to_live_min":{"type":"TypeInt","optional":true,"default":0}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_synapse_integration_runtime_self_hosted":{"schema":{"authorization_key_primary":{"type":"TypeString","computed":true},"authorization_key_secondary":{"type":"TypeString","computed":true},"description":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"synapse_workspace_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_synapse_linked_service":{"schema":{"additional_properties":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"annotations":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"description":{"type":"TypeString","optional":true},"integration_runtime":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"synapse_workspace_id":{"type":"TypeString","required":true,"forceNew":true},"type":{"type":"TypeString","required":true,"forceNew":true},"type_properties_json":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_synapse_managed_private_endpoint":{"schema":{"name":{"type":"TypeString","required":true,"forceNew":true},"subresource_name":{"type":"TypeString","required":true,"forceNew":true},"synapse_workspace_id":{"type":"TypeString","required":true,"forceNew":true},"target_resource_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_synapse_private_link_hub":{"schema":{"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_synapse_role_assignment":{"schema":{"principal_id":{"type":"TypeString","required":true,"forceNew":true},"principal_type":{"type":"TypeString","optional":true,"forceNew":true},"role_name":{"type":"TypeString","required":true,"forceNew":true},"synapse_spark_pool_id":{"type":"TypeString","optional":true,"forceNew":true},"synapse_workspace_id":{"type":"TypeString","optional":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_synapse_spark_pool":{"schema":{"auto_pause":{"type":"TypeList","optional":true,"elem":{"schema":{"delay_in_minutes":{"type":"TypeInt","required":true}}},"maxItems":1},"auto_scale":{"type":"TypeList","optional":true,"elem":{"schema":{"max_node_count":{"type":"TypeInt","required":true},"min_node_count":{"type":"TypeInt","required":true}}},"maxItems":1},"cache_size":{"type":"TypeInt","optional":true},"compute_isolation_enabled":{"type":"TypeBool","optional":true,"default":false},"dynamic_executor_allocation_enabled":{"type":"TypeBool","optional":true,"default":false},"library_requirement":{"type":"TypeList","optional":true,"elem":{"schema":{"content":{"type":"TypeString","required":true},"filename":{"type":"TypeString","required":true}}},"maxItems":1},"max_executors":{"type":"TypeInt","optional":true},"min_executors":{"type":"TypeInt","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"node_count":{"type":"TypeInt","optional":true,"computed":true},"node_size":{"type":"TypeString","required":true},"node_size_family":{"type":"TypeString","required":true},"session_level_packages_enabled":{"type":"TypeBool","optional":true,"default":false},"spark_config":{"type":"TypeList","optional":true,"elem":{"schema":{"content":{"type":"TypeString","required":true},"filename":{"type":"TypeString","required":true}}},"maxItems":1},"spark_events_folder":{"type":"TypeString","optional":true,"default":"/events"},"spark_log_folder":{"type":"TypeString","optional":true,"default":"/logs"},"spark_version":{"type":"TypeString","required":true},"synapse_workspace_id":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_synapse_sql_pool":{"schema":{"collation":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"create_mode":{"type":"TypeString","optional":true,"default":"Default","forceNew":true},"data_encrypted":{"type":"TypeBool","optional":true},"geo_backup_policy_enabled":{"type":"TypeBool","optional":true,"default":true},"name":{"type":"TypeString","required":true,"forceNew":true},"recovery_database_id":{"type":"TypeString","optional":true,"forceNew":true},"restore":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"point_in_time":{"type":"TypeString","required":true,"forceNew":true},"source_database_id":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"sku_name":{"type":"TypeString","required":true},"storage_account_type":{"type":"TypeString","required":true,"forceNew":true},"synapse_workspace_id":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_synapse_sql_pool_extended_auditing_policy":{"schema":{"log_monitoring_enabled":{"type":"TypeBool","optional":true,"default":true},"retention_in_days":{"type":"TypeInt","optional":true,"default":0},"sql_pool_id":{"type":"TypeString","required":true,"forceNew":true},"storage_account_access_key":{"type":"TypeString","optional":true},"storage_account_access_key_is_secondary":{"type":"TypeBool","optional":true,"default":false},"storage_endpoint":{"type":"TypeString","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_synapse_sql_pool_security_alert_policy":{"schema":{"disabled_alerts":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"email_account_admins_enabled":{"type":"TypeBool","optional":true,"default":false},"email_addresses":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"policy_state":{"type":"TypeString","required":true},"retention_days":{"type":"TypeInt","optional":true,"default":0},"sql_pool_id":{"type":"TypeString","required":true,"forceNew":true},"storage_account_access_key":{"type":"TypeString","optional":true},"storage_endpoint":{"type":"TypeString","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_synapse_sql_pool_vulnerability_assessment":{"schema":{"recurring_scans":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"email_subscription_admins_enabled":{"type":"TypeBool","optional":true,"default":true},"emails":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"enabled":{"type":"TypeBool","optional":true,"default":false}}},"maxItems":1},"sql_pool_security_alert_policy_id":{"type":"TypeString","required":true,"forceNew":true},"storage_account_access_key":{"type":"TypeString","optional":true},"storage_container_path":{"type":"TypeString","required":true},"storage_container_sas_key":{"type":"TypeString","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_synapse_sql_pool_vulnerability_assessment_baseline":{"schema":{"baseline":{"type":"TypeList","optional":true,"elem":{"schema":{"result":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}}}}},"name":{"type":"TypeString","required":true},"rule_name":{"type":"TypeString","required":true},"sql_pool_vulnerability_assessment_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_synapse_sql_pool_workload_classifier":{"schema":{"context":{"type":"TypeString","optional":true},"end_time":{"type":"TypeString","optional":true},"importance":{"type":"TypeString","optional":true},"label":{"type":"TypeString","optional":true},"member_name":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true,"forceNew":true},"start_time":{"type":"TypeString","optional":true},"workload_group_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_synapse_sql_pool_workload_group":{"schema":{"importance":{"type":"TypeString","optional":true,"default":"normal"},"max_resource_percent":{"type":"TypeInt","required":true},"max_resource_percent_per_request":{"type":"TypeFloat","optional":true,"default":3},"min_resource_percent":{"type":"TypeInt","required":true},"min_resource_percent_per_request":{"type":"TypeFloat","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"query_execution_timeout_in_seconds":{"type":"TypeInt","optional":true},"sql_pool_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_synapse_workspace":{"schema":{"azure_devops_repo":{"type":"TypeList","optional":true,"elem":{"schema":{"account_name":{"type":"TypeString","required":true},"branch_name":{"type":"TypeString","required":true},"last_commit_id":{"type":"TypeString","optional":true},"project_name":{"type":"TypeString","required":true},"repository_name":{"type":"TypeString","required":true},"root_folder":{"type":"TypeString","required":true},"tenant_id":{"type":"TypeString","optional":true,"computed":true}}},"maxItems":1},"azuread_authentication_only":{"type":"TypeBool","optional":true,"default":false},"compute_subnet_id":{"type":"TypeString","optional":true,"forceNew":true},"connectivity_endpoints":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"customer_managed_key":{"type":"TypeList","optional":true,"elem":{"schema":{"key_name":{"type":"TypeString","optional":true,"default":"cmk"},"key_versionless_id":{"type":"TypeString","required":true},"user_assigned_identity_id":{"type":"TypeString","optional":true}}},"maxItems":1},"data_exfiltration_protection_enabled":{"type":"TypeBool","optional":true,"forceNew":true},"github_repo":{"type":"TypeList","optional":true,"elem":{"schema":{"account_name":{"type":"TypeString","required":true},"branch_name":{"type":"TypeString","required":true},"git_url":{"type":"TypeString","optional":true},"last_commit_id":{"type":"TypeString","optional":true},"repository_name":{"type":"TypeString","required":true},"root_folder":{"type":"TypeString","required":true}}},"maxItems":1},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"linking_allowed_for_aad_tenant_ids":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"location":{"type":"TypeString","required":true,"forceNew":true},"managed_resource_group_name":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"managed_virtual_network_enabled":{"type":"TypeBool","optional":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"public_network_access_enabled":{"type":"TypeBool","optional":true,"default":true},"purview_id":{"type":"TypeString","optional":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"sql_administrator_login":{"type":"TypeString","optional":true,"forceNew":true},"sql_administrator_login_password":{"type":"TypeString","optional":true},"sql_identity_control_enabled":{"type":"TypeBool","optional":true},"storage_data_lake_gen2_filesystem_id":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_synapse_workspace_aad_admin":{"schema":{"login":{"type":"TypeString","required":true},"object_id":{"type":"TypeString","required":true},"synapse_workspace_id":{"type":"TypeString","required":true},"tenant_id":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_synapse_workspace_extended_auditing_policy":{"schema":{"log_monitoring_enabled":{"type":"TypeBool","optional":true,"default":true},"retention_in_days":{"type":"TypeInt","optional":true,"default":0},"storage_account_access_key":{"type":"TypeString","optional":true},"storage_account_access_key_is_secondary":{"type":"TypeBool","optional":true,"default":false},"storage_endpoint":{"type":"TypeString","optional":true},"synapse_workspace_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_synapse_workspace_key":{"schema":{"active":{"type":"TypeBool","required":true},"customer_managed_key_name":{"type":"TypeString","required":true},"customer_managed_key_versionless_id":{"type":"TypeString","optional":true},"synapse_workspace_id":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_synapse_workspace_security_alert_policy":{"schema":{"disabled_alerts":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"email_account_admins_enabled":{"type":"TypeBool","optional":true,"default":false},"email_addresses":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"policy_state":{"type":"TypeString","required":true},"retention_days":{"type":"TypeInt","optional":true,"default":0},"storage_account_access_key":{"type":"TypeString","optional":true},"storage_endpoint":{"type":"TypeString","optional":true},"synapse_workspace_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_synapse_workspace_sql_aad_admin":{"schema":{"login":{"type":"TypeString","required":true},"object_id":{"type":"TypeString","required":true},"synapse_workspace_id":{"type":"TypeString","required":true},"tenant_id":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_synapse_workspace_vulnerability_assessment":{"schema":{"recurring_scans":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"email_subscription_admins_enabled":{"type":"TypeBool","optional":true,"default":true},"emails":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"enabled":{"type":"TypeBool","optional":true,"default":false}}},"maxItems":1},"storage_account_access_key":{"type":"TypeString","optional":true},"storage_container_path":{"type":"TypeString","required":true},"storage_container_sas_key":{"type":"TypeString","optional":true},"workspace_security_alert_policy_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_system_center_virtual_machine_manager_availability_set":{"schema":{"custom_location_id":{"type":"TypeString","required":true,"forceNew":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"system_center_virtual_machine_manager_server_id":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_system_center_virtual_machine_manager_cloud":{"schema":{"custom_location_id":{"type":"TypeString","required":true,"forceNew":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"system_center_virtual_machine_manager_server_inventory_item_id":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_system_center_virtual_machine_manager_server":{"schema":{"custom_location_id":{"type":"TypeString","required":true,"forceNew":true},"fqdn":{"type":"TypeString","required":true,"forceNew":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"password":{"type":"TypeString","required":true,"forceNew":true},"port":{"type":"TypeInt","optional":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"username":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":180,"read":5,"delete":180,"update":180}},"azurerm_system_center_virtual_machine_manager_virtual_machine_template":{"schema":{"custom_location_id":{"type":"TypeString","required":true,"forceNew":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"system_center_virtual_machine_manager_server_inventory_item_id":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_system_center_virtual_machine_manager_virtual_network":{"schema":{"custom_location_id":{"type":"TypeString","required":true,"forceNew":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"system_center_virtual_machine_manager_server_inventory_item_id":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_tenant_template_deployment":{"schema":{"debug_level":{"type":"TypeString","optional":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"output_content":{"type":"TypeString","computed":true},"parameters_content":{"type":"TypeString","optional":true,"computed":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"template_content":{"type":"TypeString","optional":true,"computed":true},"template_spec_version_id":{"type":"TypeString","optional":true}},"timeouts":{"create":180,"read":5,"delete":180,"update":180}},"azurerm_traffic_manager_azure_endpoint":{"schema":{"always_serve_enabled":{"type":"TypeBool","optional":true,"default":false},"custom_header":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"value":{"type":"TypeString","required":true}}}},"enabled":{"type":"TypeBool","optional":true,"default":true},"geo_mappings":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true,"forceNew":true},"priority":{"type":"TypeInt","optional":true,"default":1},"profile_id":{"type":"TypeString","required":true,"forceNew":true},"subnet":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"first":{"type":"TypeString","required":true},"last":{"type":"TypeString","optional":true},"scope":{"type":"TypeInt","optional":true}}}},"target_resource_id":{"type":"TypeString","required":true},"weight":{"type":"TypeInt","optional":true,"default":1}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_traffic_manager_external_endpoint":{"schema":{"always_serve_enabled":{"type":"TypeBool","optional":true,"default":false},"custom_header":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"value":{"type":"TypeString","required":true}}}},"enabled":{"type":"TypeBool","optional":true,"default":true},"endpoint_location":{"type":"TypeString","optional":true,"computed":true},"geo_mappings":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true,"forceNew":true},"priority":{"type":"TypeInt","optional":true,"default":1},"profile_id":{"type":"TypeString","required":true,"forceNew":true},"subnet":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"first":{"type":"TypeString","required":true},"last":{"type":"TypeString","optional":true},"scope":{"type":"TypeInt","optional":true}}}},"target":{"type":"TypeString","required":true},"weight":{"type":"TypeInt","optional":true,"default":1}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_traffic_manager_nested_endpoint":{"schema":{"custom_header":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"value":{"type":"TypeString","required":true}}}},"enabled":{"type":"TypeBool","optional":true,"default":true},"endpoint_location":{"type":"TypeString","optional":true,"computed":true},"geo_mappings":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"minimum_child_endpoints":{"type":"TypeInt","required":true},"minimum_required_child_endpoints_ipv4":{"type":"TypeInt","optional":true},"minimum_required_child_endpoints_ipv6":{"type":"TypeInt","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"priority":{"type":"TypeInt","optional":true,"default":1},"profile_id":{"type":"TypeString","required":true,"forceNew":true},"subnet":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"first":{"type":"TypeString","required":true},"last":{"type":"TypeString","optional":true},"scope":{"type":"TypeInt","optional":true}}}},"target_resource_id":{"type":"TypeString","required":true},"weight":{"type":"TypeInt","optional":true,"default":1}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_traffic_manager_profile":{"schema":{"dns_config":{"type":"TypeList","required":true,"elem":{"schema":{"relative_name":{"type":"TypeString","required":true,"forceNew":true},"ttl":{"type":"TypeInt","required":true}}},"maxItems":1},"fqdn":{"type":"TypeString","computed":true},"max_return":{"type":"TypeInt","optional":true},"monitor_config":{"type":"TypeList","required":true,"elem":{"schema":{"custom_header":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"value":{"type":"TypeString","required":true}}}},"expected_status_code_ranges":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"interval_in_seconds":{"type":"TypeInt","optional":true,"default":30},"path":{"type":"TypeString","optional":true},"port":{"type":"TypeInt","required":true},"protocol":{"type":"TypeString","required":true},"timeout_in_seconds":{"type":"TypeInt","optional":true,"default":10},"tolerated_number_of_failures":{"type":"TypeInt","optional":true,"default":3}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"profile_status":{"type":"TypeString","optional":true,"default":"Enabled"},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"traffic_routing_method":{"type":"TypeString","required":true},"traffic_view_enabled":{"type":"TypeBool","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_user_assigned_identity":{"schema":{"client_id":{"type":"TypeString","computed":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"principal_id":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"tenant_id":{"type":"TypeString","computed":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_virtual_desktop_application":{"schema":{"application_group_id":{"type":"TypeString","required":true,"forceNew":true},"command_line_argument_policy":{"type":"TypeString","required":true},"command_line_arguments":{"type":"TypeString","optional":true},"description":{"type":"TypeString","optional":true},"friendly_name":{"type":"TypeString","optional":true,"computed":true},"icon_index":{"type":"TypeInt","optional":true},"icon_path":{"type":"TypeString","optional":true,"computed":true},"name":{"type":"TypeString","required":true,"forceNew":true},"path":{"type":"TypeString","required":true},"show_in_portal":{"type":"TypeBool","optional":true}},"timeouts":{"create":60,"read":5,"delete":60,"update":60}},"azurerm_virtual_desktop_application_group":{"schema":{"default_desktop_display_name":{"type":"TypeString","optional":true},"description":{"type":"TypeString","optional":true},"friendly_name":{"type":"TypeString","optional":true},"host_pool_id":{"type":"TypeString","required":true,"forceNew":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"type":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":60,"read":5,"delete":60,"update":60}},"azurerm_virtual_desktop_host_pool":{"schema":{"custom_rdp_properties":{"type":"TypeString","optional":true},"description":{"type":"TypeString","optional":true},"friendly_name":{"type":"TypeString","optional":true},"load_balancer_type":{"type":"TypeString","required":true},"location":{"type":"TypeString","required":true,"forceNew":true},"maximum_sessions_allowed":{"type":"TypeInt","optional":true,"default":999999},"name":{"type":"TypeString","required":true,"forceNew":true},"personal_desktop_assignment_type":{"type":"TypeString","optional":true,"forceNew":true},"preferred_app_group_type":{"type":"TypeString","optional":true,"default":"Desktop","description":"Preferred App Group type to display"},"public_network_access":{"type":"TypeString","optional":true,"default":"Enabled"},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"scheduled_agent_updates":{"type":"TypeList","optional":true,"elem":{"schema":{"enabled":{"type":"TypeBool","optional":true,"default":false},"schedule":{"type":"TypeList","optional":true,"elem":{"schema":{"day_of_week":{"type":"TypeString","required":true},"hour_of_day":{"type":"TypeInt","required":true}}},"maxItems":2},"timezone":{"type":"TypeString","optional":true,"default":"UTC"},"use_session_host_timezone":{"type":"TypeBool","optional":true,"default":false}}},"maxItems":1},"start_vm_on_connect":{"type":"TypeBool","optional":true,"default":false},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"type":{"type":"TypeString","required":true,"forceNew":true},"validate_environment":{"type":"TypeBool","optional":true,"default":false},"vm_template":{"type":"TypeString","optional":true}},"timeouts":{"create":60,"read":5,"delete":60,"update":60}},"azurerm_virtual_desktop_host_pool_registration_info":{"schema":{"expiration_date":{"type":"TypeString","required":true},"hostpool_id":{"type":"TypeString","required":true,"forceNew":true},"token":{"type":"TypeString","computed":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_virtual_desktop_scaling_plan":{"schema":{"description":{"type":"TypeString","optional":true},"exclusion_tag":{"type":"TypeString","optional":true},"friendly_name":{"type":"TypeString","optional":true},"host_pool":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"hostpool_id":{"type":"TypeString","required":true},"scaling_plan_enabled":{"type":"TypeBool","required":true}}}},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"schedule":{"type":"TypeList","required":true,"elem":{"schema":{"days_of_week":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true},"off_peak_load_balancing_algorithm":{"type":"TypeString","required":true},"off_peak_start_time":{"type":"TypeString","required":true},"peak_load_balancing_algorithm":{"type":"TypeString","required":true},"peak_start_time":{"type":"TypeString","required":true},"ramp_down_capacity_threshold_percent":{"type":"TypeInt","required":true},"ramp_down_force_logoff_users":{"type":"TypeBool","required":true},"ramp_down_load_balancing_algorithm":{"type":"TypeString","required":true},"ramp_down_minimum_hosts_percent":{"type":"TypeInt","required":true},"ramp_down_notification_message":{"type":"TypeString","required":true},"ramp_down_start_time":{"type":"TypeString","required":true},"ramp_down_stop_hosts_when":{"type":"TypeString","required":true},"ramp_down_wait_time_minutes":{"type":"TypeInt","required":true},"ramp_up_capacity_threshold_percent":{"type":"TypeInt","optional":true},"ramp_up_load_balancing_algorithm":{"type":"TypeString","required":true},"ramp_up_minimum_hosts_percent":{"type":"TypeInt","optional":true},"ramp_up_start_time":{"type":"TypeString","required":true}}},"minItems":1},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"time_zone":{"type":"TypeString","required":true}},"timeouts":{"create":60,"read":5,"delete":60,"update":60}},"azurerm_virtual_desktop_scaling_plan_host_pool_association":{"schema":{"enabled":{"type":"TypeBool","required":true},"host_pool_id":{"type":"TypeString","required":true,"forceNew":true},"scaling_plan_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":60,"read":5,"delete":60,"update":60}},"azurerm_virtual_desktop_workspace":{"schema":{"description":{"type":"TypeString","optional":true},"friendly_name":{"type":"TypeString","optional":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"public_network_access_enabled":{"type":"TypeBool","optional":true,"default":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":60,"read":5,"delete":60,"update":60}},"azurerm_virtual_desktop_workspace_application_group_association":{"schema":{"application_group_id":{"type":"TypeString","required":true,"forceNew":true},"workspace_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":60,"read":5,"delete":60}},"azurerm_virtual_hub":{"schema":{"address_prefix":{"type":"TypeString","optional":true,"forceNew":true},"default_route_table_id":{"type":"TypeString","computed":true},"hub_routing_preference":{"type":"TypeString","optional":true,"default":"ExpressRoute"},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"route":{"type":"TypeSet","optional":true,"elem":{"schema":{"address_prefixes":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}},"next_hop_ip_address":{"type":"TypeString","required":true}}}},"sku":{"type":"TypeString","optional":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"virtual_router_asn":{"type":"TypeInt","computed":true},"virtual_router_auto_scale_min_capacity":{"type":"TypeInt","optional":true,"default":2},"virtual_router_ips":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"virtual_wan_id":{"type":"TypeString","optional":true,"forceNew":true}},"timeouts":{"create":60,"read":5,"delete":60,"update":60}},"azurerm_virtual_hub_bgp_connection":{"schema":{"name":{"type":"TypeString","required":true,"forceNew":true},"peer_asn":{"type":"TypeInt","required":true,"forceNew":true},"peer_ip":{"type":"TypeString","required":true,"forceNew":true},"virtual_hub_id":{"type":"TypeString","required":true,"forceNew":true},"virtual_network_connection_id":{"type":"TypeString","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_virtual_hub_connection":{"schema":{"internet_security_enabled":{"type":"TypeBool","optional":true,"default":false},"name":{"type":"TypeString","required":true,"forceNew":true},"remote_virtual_network_id":{"type":"TypeString","required":true,"forceNew":true},"routing":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"associated_route_table_id":{"type":"TypeString","optional":true,"computed":true},"inbound_route_map_id":{"type":"TypeString","optional":true},"outbound_route_map_id":{"type":"TypeString","optional":true},"propagated_route_table":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"labels":{"type":"TypeSet","optional":true,"computed":true,"elem":{"type":"TypeString"}},"route_table_ids":{"type":"TypeList","optional":true,"computed":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"static_vnet_local_route_override_criteria":{"type":"TypeString","optional":true,"default":"Contains","forceNew":true},"static_vnet_route":{"type":"TypeList","optional":true,"elem":{"schema":{"address_prefixes":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","optional":true},"next_hop_ip_address":{"type":"TypeString","optional":true}}}}}},"maxItems":1},"virtual_hub_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":60,"read":5,"delete":60,"update":60}},"azurerm_virtual_hub_ip":{"schema":{"name":{"type":"TypeString","required":true,"forceNew":true},"private_ip_address":{"type":"TypeString","optional":true},"private_ip_allocation_method":{"type":"TypeString","optional":true,"default":"Dynamic"},"public_ip_address_id":{"type":"TypeString","required":true,"forceNew":true},"subnet_id":{"type":"TypeString","required":true,"forceNew":true},"virtual_hub_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":60,"read":5,"delete":60,"update":60}},"azurerm_virtual_hub_route_table":{"schema":{"labels":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true,"forceNew":true},"route":{"type":"TypeSet","optional":true,"computed":true,"elem":{"schema":{"destinations":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}},"destinations_type":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true},"next_hop":{"type":"TypeString","required":true},"next_hop_type":{"type":"TypeString","optional":true,"default":"ResourceId"}}}},"virtual_hub_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_virtual_hub_route_table_route":{"schema":{"destinations":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}},"destinations_type":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true,"forceNew":true},"next_hop":{"type":"TypeString","required":true},"next_hop_type":{"type":"TypeString","optional":true,"default":"ResourceId"},"route_table_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_virtual_hub_routing_intent":{"schema":{"name":{"type":"TypeString","required":true,"forceNew":true},"routing_policy":{"type":"TypeList","required":true,"elem":{"schema":{"destinations":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true},"next_hop":{"type":"TypeString","required":true}}}},"virtual_hub_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_virtual_hub_security_partner_provider":{"schema":{"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"security_provider_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"virtual_hub_id":{"type":"TypeString","optional":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_virtual_machine":{"schema":{"additional_capabilities":{"type":"TypeList","optional":true,"elem":{"schema":{"ultra_ssd_enabled":{"type":"TypeBool","required":true,"forceNew":true}}},"maxItems":1},"availability_set_id":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"boot_diagnostics":{"type":"TypeList","optional":true,"elem":{"schema":{"enabled":{"type":"TypeBool","required":true},"storage_uri":{"type":"TypeString","required":true}}},"maxItems":1},"delete_data_disks_on_termination":{"type":"TypeBool","optional":true,"default":false},"delete_os_disk_on_termination":{"type":"TypeBool","optional":true,"default":false},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"license_type":{"type":"TypeString","optional":true,"computed":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"network_interface_ids":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}},"os_profile":{"type":"TypeSet","optional":true,"elem":{"schema":{"admin_password":{"type":"TypeString","optional":true},"admin_username":{"type":"TypeString","required":true},"computer_name":{"type":"TypeString","required":true,"forceNew":true},"custom_data":{"type":"TypeString","optional":true,"computed":true,"forceNew":true}}},"maxItems":1},"os_profile_linux_config":{"type":"TypeSet","optional":true,"elem":{"schema":{"disable_password_authentication":{"type":"TypeBool","required":true},"ssh_keys":{"type":"TypeList","optional":true,"elem":{"schema":{"key_data":{"type":"TypeString","required":true},"path":{"type":"TypeString","required":true}}}}}},"maxItems":1},"os_profile_secrets":{"type":"TypeList","optional":true,"elem":{"schema":{"source_vault_id":{"type":"TypeString","required":true},"vault_certificates":{"type":"TypeList","optional":true,"elem":{"schema":{"certificate_store":{"type":"TypeString","optional":true},"certificate_url":{"type":"TypeString","required":true}}}}}}},"os_profile_windows_config":{"type":"TypeSet","optional":true,"elem":{"schema":{"additional_unattend_config":{"type":"TypeList","optional":true,"elem":{"schema":{"component":{"type":"TypeString","required":true},"content":{"type":"TypeString","required":true},"pass":{"type":"TypeString","required":true},"setting_name":{"type":"TypeString","required":true}}}},"enable_automatic_upgrades":{"type":"TypeBool","optional":true,"default":false},"provision_vm_agent":{"type":"TypeBool","optional":true,"default":false},"timezone":{"type":"TypeString","optional":true,"forceNew":true},"winrm":{"type":"TypeList","optional":true,"elem":{"schema":{"certificate_url":{"type":"TypeString","optional":true},"protocol":{"type":"TypeString","required":true}}}}}},"maxItems":1},"plan":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"product":{"type":"TypeString","required":true},"publisher":{"type":"TypeString","required":true}}},"maxItems":1},"primary_network_interface_id":{"type":"TypeString","optional":true},"proximity_placement_group_id":{"type":"TypeString","optional":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"storage_data_disk":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"caching":{"type":"TypeString","optional":true,"computed":true},"create_option":{"type":"TypeString","required":true},"disk_size_gb":{"type":"TypeInt","optional":true,"computed":true},"lun":{"type":"TypeInt","required":true},"managed_disk_id":{"type":"TypeString","optional":true,"computed":true},"managed_disk_type":{"type":"TypeString","optional":true,"computed":true},"name":{"type":"TypeString","required":true},"vhd_uri":{"type":"TypeString","optional":true},"write_accelerator_enabled":{"type":"TypeBool","optional":true,"default":false}}}},"storage_image_reference":{"type":"TypeSet","optional":true,"computed":true,"forceNew":true,"elem":{"schema":{"id":{"type":"TypeString","optional":true,"forceNew":true},"offer":{"type":"TypeString","optional":true,"forceNew":true},"publisher":{"type":"TypeString","optional":true,"forceNew":true},"sku":{"type":"TypeString","optional":true,"forceNew":true},"version":{"type":"TypeString","optional":true,"computed":true,"forceNew":true}}},"maxItems":1},"storage_os_disk":{"type":"TypeList","required":true,"elem":{"schema":{"caching":{"type":"TypeString","optional":true,"computed":true},"create_option":{"type":"TypeString","required":true},"disk_size_gb":{"type":"TypeInt","optional":true,"computed":true},"image_uri":{"type":"TypeString","optional":true},"managed_disk_id":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"managed_disk_type":{"type":"TypeString","optional":true,"computed":true},"name":{"type":"TypeString","required":true},"os_type":{"type":"TypeString","optional":true,"computed":true},"vhd_uri":{"type":"TypeString","optional":true,"forceNew":true},"write_accelerator_enabled":{"type":"TypeBool","optional":true,"default":false}}},"maxItems":1},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"vm_size":{"type":"TypeString","required":true},"zones":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"type":"TypeString"},"maxItems":1}},"timeouts":{"create":60,"read":5,"delete":60,"update":60}},"azurerm_virtual_machine_automanage_configuration_assignment":{"schema":{"configuration_id":{"type":"TypeString","required":true,"forceNew":true},"virtual_machine_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_virtual_machine_data_disk_attachment":{"schema":{"caching":{"type":"TypeString","required":true},"create_option":{"type":"TypeString","optional":true,"default":"Attach","forceNew":true},"lun":{"type":"TypeInt","required":true,"forceNew":true},"managed_disk_id":{"type":"TypeString","required":true,"forceNew":true},"virtual_machine_id":{"type":"TypeString","required":true,"forceNew":true},"write_accelerator_enabled":{"type":"TypeBool","optional":true,"default":false}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_virtual_machine_extension":{"schema":{"auto_upgrade_minor_version":{"type":"TypeBool","optional":true},"automatic_upgrade_enabled":{"type":"TypeBool","optional":true},"failure_suppression_enabled":{"type":"TypeBool","optional":true,"default":false},"name":{"type":"TypeString","required":true,"forceNew":true},"protected_settings":{"type":"TypeString","optional":true},"protected_settings_from_key_vault":{"type":"TypeList","optional":true,"elem":{"schema":{"secret_url":{"type":"TypeString","required":true},"source_vault_id":{"type":"TypeString","required":true}}},"maxItems":1},"provision_after_extensions":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"publisher":{"type":"TypeString","required":true,"forceNew":true},"settings":{"type":"TypeString","optional":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"type":{"type":"TypeString","required":true},"type_handler_version":{"type":"TypeString","required":true},"virtual_machine_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_virtual_machine_gallery_application_assignment":{"schema":{"configuration_blob_uri":{"type":"TypeString","optional":true,"forceNew":true},"gallery_application_version_id":{"type":"TypeString","required":true,"forceNew":true},"order":{"type":"TypeInt","optional":true,"default":0},"tag":{"type":"TypeString","optional":true,"forceNew":true},"virtual_machine_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_virtual_machine_implicit_data_disk_from_source":{"schema":{"caching":{"type":"TypeString","optional":true},"create_option":{"type":"TypeString","required":true,"forceNew":true},"disk_size_gb":{"type":"TypeInt","required":true,"forceNew":true},"lun":{"type":"TypeInt","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"source_resource_id":{"type":"TypeString","required":true,"forceNew":true},"virtual_machine_id":{"type":"TypeString","required":true,"forceNew":true},"write_accelerator_enabled":{"type":"TypeBool","optional":true,"default":false}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_virtual_machine_packet_capture":{"schema":{"filter":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"local_ip_address":{"type":"TypeString","optional":true,"forceNew":true},"local_port":{"type":"TypeString","optional":true,"forceNew":true},"protocol":{"type":"TypeString","required":true,"forceNew":true},"remote_ip_address":{"type":"TypeString","optional":true,"forceNew":true},"remote_port":{"type":"TypeString","optional":true,"forceNew":true}}}},"maximum_bytes_per_packet":{"type":"TypeInt","optional":true,"default":0,"forceNew":true},"maximum_bytes_per_session":{"type":"TypeInt","optional":true,"default":1073741824,"forceNew":true},"maximum_capture_duration_in_seconds":{"type":"TypeInt","optional":true,"default":18000,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"network_watcher_id":{"type":"TypeString","required":true,"forceNew":true},"storage_location":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"file_path":{"type":"TypeString","optional":true},"storage_account_id":{"type":"TypeString","optional":true},"storage_path":{"type":"TypeString","computed":true}}},"maxItems":1},"virtual_machine_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_virtual_machine_restore_point":{"schema":{"crash_consistency_mode_enabled":{"type":"TypeBool","optional":true,"default":false,"forceNew":true},"excluded_disks":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true,"forceNew":true},"virtual_machine_restore_point_collection_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_virtual_machine_restore_point_collection":{"schema":{"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"source_virtual_machine_id":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_virtual_machine_run_command":{"schema":{"error_blob_managed_identity":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","optional":true},"object_id":{"type":"TypeString","optional":true}}},"maxItems":1},"error_blob_uri":{"type":"TypeString","optional":true},"instance_view":{"type":"TypeList","computed":true,"elem":{"schema":{"end_time":{"type":"TypeString","computed":true},"error_message":{"type":"TypeString","computed":true},"execution_message":{"type":"TypeString","computed":true},"execution_state":{"type":"TypeString","computed":true},"exit_code":{"type":"TypeInt","computed":true},"output":{"type":"TypeString","computed":true},"start_time":{"type":"TypeString","computed":true}}}},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"output_blob_managed_identity":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","optional":true},"object_id":{"type":"TypeString","optional":true}}},"maxItems":1},"output_blob_uri":{"type":"TypeString","optional":true},"parameter":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"value":{"type":"TypeString","required":true}}}},"protected_parameter":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"value":{"type":"TypeString","required":true}}}},"run_as_password":{"type":"TypeString","optional":true},"run_as_user":{"type":"TypeString","optional":true},"source":{"type":"TypeList","required":true,"elem":{"schema":{"command_id":{"type":"TypeString","optional":true},"script":{"type":"TypeString","optional":true},"script_uri":{"type":"TypeString","optional":true},"script_uri_managed_identity":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","optional":true},"object_id":{"type":"TypeString","optional":true}}},"maxItems":1}}},"maxItems":1},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"virtual_machine_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_virtual_machine_scale_set":{"schema":{"automatic_os_upgrade":{"type":"TypeBool","optional":true,"default":false},"boot_diagnostics":{"type":"TypeList","optional":true,"elem":{"schema":{"enabled":{"type":"TypeBool","optional":true,"default":true},"storage_uri":{"type":"TypeString","required":true}}},"maxItems":1},"eviction_policy":{"type":"TypeString","optional":true,"forceNew":true},"extension":{"type":"TypeSet","optional":true,"elem":{"schema":{"auto_upgrade_minor_version":{"type":"TypeBool","optional":true},"name":{"type":"TypeString","required":true},"protected_settings":{"type":"TypeString","optional":true},"provision_after_extensions":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"publisher":{"type":"TypeString","required":true},"settings":{"type":"TypeString","optional":true},"type":{"type":"TypeString","required":true},"type_handler_version":{"type":"TypeString","required":true}}}},"health_probe_id":{"type":"TypeString","optional":true},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"license_type":{"type":"TypeString","optional":true,"computed":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"network_profile":{"type":"TypeSet","required":true,"elem":{"schema":{"accelerated_networking":{"type":"TypeBool","optional":true},"dns_settings":{"type":"TypeList","optional":true,"elem":{"schema":{"dns_servers":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"ip_configuration":{"type":"TypeList","required":true,"elem":{"schema":{"application_gateway_backend_address_pool_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"application_security_group_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":20},"load_balancer_backend_address_pool_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"load_balancer_inbound_nat_rules_ids":{"type":"TypeSet","optional":true,"computed":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true},"primary":{"type":"TypeBool","required":true},"public_ip_address_configuration":{"type":"TypeList","optional":true,"elem":{"schema":{"domain_name_label":{"type":"TypeString","required":true},"idle_timeout":{"type":"TypeInt","required":true},"name":{"type":"TypeString","required":true}}},"maxItems":1},"subnet_id":{"type":"TypeString","required":true}}}},"ip_forwarding":{"type":"TypeBool","optional":true,"default":false},"name":{"type":"TypeString","required":true},"network_security_group_id":{"type":"TypeString","optional":true},"primary":{"type":"TypeBool","required":true}}}},"os_profile":{"type":"TypeList","required":true,"elem":{"schema":{"admin_password":{"type":"TypeString","optional":true},"admin_username":{"type":"TypeString","required":true},"computer_name_prefix":{"type":"TypeString","required":true,"forceNew":true},"custom_data":{"type":"TypeString","optional":true}}},"maxItems":1},"os_profile_linux_config":{"type":"TypeSet","optional":true,"computed":true,"elem":{"schema":{"disable_password_authentication":{"type":"TypeBool","optional":true,"default":false,"forceNew":true},"ssh_keys":{"type":"TypeList","optional":true,"elem":{"schema":{"key_data":{"type":"TypeString","optional":true},"path":{"type":"TypeString","required":true}}}}}},"maxItems":1},"os_profile_secrets":{"type":"TypeSet","optional":true,"elem":{"schema":{"source_vault_id":{"type":"TypeString","required":true},"vault_certificates":{"type":"TypeList","optional":true,"elem":{"schema":{"certificate_store":{"type":"TypeString","optional":true},"certificate_url":{"type":"TypeString","required":true}}}}}}},"os_profile_windows_config":{"type":"TypeSet","optional":true,"elem":{"schema":{"additional_unattend_config":{"type":"TypeList","optional":true,"elem":{"schema":{"component":{"type":"TypeString","required":true},"content":{"type":"TypeString","required":true},"pass":{"type":"TypeString","required":true},"setting_name":{"type":"TypeString","required":true}}}},"enable_automatic_upgrades":{"type":"TypeBool","optional":true},"provision_vm_agent":{"type":"TypeBool","optional":true},"winrm":{"type":"TypeList","optional":true,"elem":{"schema":{"certificate_url":{"type":"TypeString","optional":true},"protocol":{"type":"TypeString","required":true}}}}}},"maxItems":1},"overprovision":{"type":"TypeBool","optional":true,"default":true},"plan":{"type":"TypeSet","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"product":{"type":"TypeString","required":true},"publisher":{"type":"TypeString","required":true}}},"maxItems":1},"priority":{"type":"TypeString","optional":true,"forceNew":true},"proximity_placement_group_id":{"type":"TypeString","optional":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"rolling_upgrade_policy":{"type":"TypeList","optional":true,"elem":{"schema":{"max_batch_instance_percent":{"type":"TypeInt","optional":true,"default":20},"max_unhealthy_instance_percent":{"type":"TypeInt","optional":true,"default":20},"max_unhealthy_upgraded_instance_percent":{"type":"TypeInt","optional":true,"default":20},"pause_time_between_batches":{"type":"TypeString","optional":true,"default":"PT0S"}}},"maxItems":1},"single_placement_group":{"type":"TypeBool","optional":true,"default":true,"forceNew":true},"sku":{"type":"TypeList","required":true,"elem":{"schema":{"capacity":{"type":"TypeInt","required":true},"name":{"type":"TypeString","required":true},"tier":{"type":"TypeString","optional":true,"computed":true}}},"maxItems":1},"storage_profile_data_disk":{"type":"TypeList","optional":true,"elem":{"schema":{"caching":{"type":"TypeString","optional":true,"computed":true},"create_option":{"type":"TypeString","required":true},"disk_size_gb":{"type":"TypeInt","optional":true,"computed":true},"lun":{"type":"TypeInt","required":true},"managed_disk_type":{"type":"TypeString","optional":true,"computed":true}}}},"storage_profile_image_reference":{"type":"TypeSet","optional":true,"computed":true,"elem":{"schema":{"id":{"type":"TypeString","optional":true},"offer":{"type":"TypeString","optional":true},"publisher":{"type":"TypeString","optional":true},"sku":{"type":"TypeString","optional":true},"version":{"type":"TypeString","optional":true}}},"maxItems":1},"storage_profile_os_disk":{"type":"TypeSet","required":true,"elem":{"schema":{"caching":{"type":"TypeString","optional":true,"computed":true},"create_option":{"type":"TypeString","required":true},"image":{"type":"TypeString","optional":true},"managed_disk_type":{"type":"TypeString","optional":true,"computed":true},"name":{"type":"TypeString","optional":true},"os_type":{"type":"TypeString","optional":true},"vhd_containers":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"upgrade_policy_mode":{"type":"TypeString","required":true},"zones":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":60,"read":5,"delete":60,"update":60}},"azurerm_virtual_machine_scale_set_extension":{"schema":{"auto_upgrade_minor_version":{"type":"TypeBool","optional":true,"default":true},"automatic_upgrade_enabled":{"type":"TypeBool","optional":true},"failure_suppression_enabled":{"type":"TypeBool","optional":true,"default":false},"force_update_tag":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"protected_settings":{"type":"TypeString","optional":true},"protected_settings_from_key_vault":{"type":"TypeList","optional":true,"elem":{"schema":{"secret_url":{"type":"TypeString","required":true},"source_vault_id":{"type":"TypeString","required":true}}},"maxItems":1},"provision_after_extensions":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"publisher":{"type":"TypeString","required":true,"forceNew":true},"settings":{"type":"TypeString","optional":true},"type":{"type":"TypeString","required":true,"forceNew":true},"type_handler_version":{"type":"TypeString","required":true},"virtual_machine_scale_set_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_virtual_machine_scale_set_packet_capture":{"schema":{"filter":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"local_ip_address":{"type":"TypeString","optional":true,"forceNew":true},"local_port":{"type":"TypeString","optional":true,"forceNew":true},"protocol":{"type":"TypeString","required":true,"forceNew":true},"remote_ip_address":{"type":"TypeString","optional":true,"forceNew":true},"remote_port":{"type":"TypeString","optional":true,"forceNew":true}}}},"machine_scope":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"exclude_instance_ids":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"include_instance_ids":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"maximum_bytes_per_packet":{"type":"TypeInt","optional":true,"default":0,"forceNew":true},"maximum_bytes_per_session":{"type":"TypeInt","optional":true,"default":1073741824,"forceNew":true},"maximum_capture_duration_in_seconds":{"type":"TypeInt","optional":true,"default":18000,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"network_watcher_id":{"type":"TypeString","required":true,"forceNew":true},"storage_location":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"file_path":{"type":"TypeString","optional":true},"storage_account_id":{"type":"TypeString","optional":true},"storage_path":{"type":"TypeString","computed":true}}},"maxItems":1},"virtual_machine_scale_set_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_virtual_network":{"schema":{"address_space":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"},"minItems":1},"bgp_community":{"type":"TypeString","optional":true},"ddos_protection_plan":{"type":"TypeList","optional":true,"elem":{"schema":{"enable":{"type":"TypeBool","required":true},"id":{"type":"TypeString","required":true}}},"maxItems":1},"dns_servers":{"type":"TypeList","optional":true,"computed":true,"elem":{"type":"TypeString"}},"edge_zone":{"type":"TypeString","optional":true,"forceNew":true},"encryption":{"type":"TypeList","optional":true,"elem":{"schema":{"enforcement":{"type":"TypeString","required":true}}},"maxItems":1},"flow_timeout_in_minutes":{"type":"TypeInt","optional":true},"guid":{"type":"TypeString","computed":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"subnet":{"type":"TypeSet","configMode":"Auto","optional":true,"computed":true,"elem":{"schema":{"address_prefixes":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"minItems":1},"default_outbound_access_enabled":{"type":"TypeBool","optional":true,"default":true},"delegation":{"type":"TypeList","configMode":"Auto","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"service_delegation":{"type":"TypeList","configMode":"Auto","required":true,"elem":{"schema":{"actions":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true}}},"maxItems":1}}},"maxItems":1},"id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"private_endpoint_network_policies":{"type":"TypeString","optional":true,"default":"Disabled"},"private_link_service_network_policies_enabled":{"type":"TypeBool","optional":true,"default":true},"route_table_id":{"type":"TypeString","optional":true},"security_group":{"type":"TypeString","optional":true},"service_endpoint_policy_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"service_endpoints":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}}}}},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_virtual_network_dns_servers":{"schema":{"dns_servers":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"virtual_network_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_virtual_network_gateway":{"schema":{"active_active":{"type":"TypeBool","optional":true,"computed":true},"bgp_route_translation_for_nat_enabled":{"type":"TypeBool","optional":true,"default":false},"bgp_settings":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"asn":{"type":"TypeInt","optional":true},"peer_weight":{"type":"TypeInt","optional":true},"peering_addresses":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"apipa_addresses":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"minItems":1},"default_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"ip_configuration_name":{"type":"TypeString","optional":true,"computed":true},"tunnel_ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}},"maxItems":2,"minItems":1}}},"maxItems":1},"custom_route":{"type":"TypeList","optional":true,"elem":{"schema":{"address_prefixes":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"default_local_network_gateway_id":{"type":"TypeString","optional":true},"dns_forwarding_enabled":{"type":"TypeBool","optional":true},"edge_zone":{"type":"TypeString","optional":true,"forceNew":true},"enable_bgp":{"type":"TypeBool","optional":true,"computed":true},"generation":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"ip_configuration":{"type":"TypeList","required":true,"elem":{"schema":{"name":{"type":"TypeString","optional":true,"default":"vnetGatewayConfig"},"private_ip_address_allocation":{"type":"TypeString","optional":true,"default":"Dynamic"},"public_ip_address_id":{"type":"TypeString","required":true},"subnet_id":{"type":"TypeString","required":true}}},"maxItems":3},"ip_sec_replay_protection_enabled":{"type":"TypeBool","optional":true,"default":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"policy_group":{"type":"TypeList","optional":true,"elem":{"schema":{"is_default":{"type":"TypeBool","optional":true,"default":false},"name":{"type":"TypeString","required":true},"policy_member":{"type":"TypeList","required":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"type":{"type":"TypeString","required":true},"value":{"type":"TypeString","required":true}}}},"priority":{"type":"TypeInt","optional":true,"default":0}}}},"private_ip_address_enabled":{"type":"TypeBool","optional":true,"forceNew":true},"remote_vnet_traffic_enabled":{"type":"TypeBool","optional":true,"default":false},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"sku":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"type":{"type":"TypeString","required":true,"forceNew":true},"virtual_wan_traffic_enabled":{"type":"TypeBool","optional":true,"default":false},"vpn_client_configuration":{"type":"TypeList","optional":true,"elem":{"schema":{"aad_audience":{"type":"TypeString","optional":true},"aad_issuer":{"type":"TypeString","optional":true},"aad_tenant":{"type":"TypeString","optional":true},"address_space":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}},"ipsec_policy":{"type":"TypeList","optional":true,"elem":{"schema":{"dh_group":{"type":"TypeString","required":true},"ike_encryption":{"type":"TypeString","required":true},"ike_integrity":{"type":"TypeString","required":true},"ipsec_encryption":{"type":"TypeString","required":true},"ipsec_integrity":{"type":"TypeString","required":true},"pfs_group":{"type":"TypeString","required":true},"sa_data_size_in_kilobytes":{"type":"TypeInt","required":true},"sa_lifetime_in_seconds":{"type":"TypeInt","required":true}}},"maxItems":1},"radius_server":{"type":"TypeList","optional":true,"elem":{"schema":{"address":{"type":"TypeString","required":true},"score":{"type":"TypeInt","required":true},"secret":{"type":"TypeString","required":true}}}},"radius_server_address":{"type":"TypeString","optional":true},"radius_server_secret":{"type":"TypeString","optional":true},"revoked_certificate":{"type":"TypeSet","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"thumbprint":{"type":"TypeString","required":true}}}},"root_certificate":{"type":"TypeSet","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"public_cert_data":{"type":"TypeString","required":true}}}},"virtual_network_gateway_client_connection":{"type":"TypeList","optional":true,"elem":{"schema":{"address_prefixes":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true},"policy_group_names":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}}}}},"vpn_auth_types":{"type":"TypeSet","optional":true,"computed":true,"elem":{"type":"TypeString"},"maxItems":3},"vpn_client_protocols":{"type":"TypeSet","optional":true,"computed":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"vpn_type":{"type":"TypeString","optional":true,"default":"RouteBased","forceNew":true}},"timeouts":{"create":90,"read":5,"delete":60,"update":60}},"azurerm_virtual_network_gateway_connection":{"schema":{"authorization_key":{"type":"TypeString","optional":true},"connection_mode":{"type":"TypeString","optional":true,"default":"Default","forceNew":true},"connection_protocol":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"custom_bgp_addresses":{"type":"TypeList","optional":true,"elem":{"schema":{"primary":{"type":"TypeString","required":true},"secondary":{"type":"TypeString","optional":true}}},"maxItems":1},"dpd_timeout_seconds":{"type":"TypeInt","optional":true,"forceNew":true},"egress_nat_rule_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"enable_bgp":{"type":"TypeBool","optional":true,"computed":true},"express_route_circuit_id":{"type":"TypeString","optional":true,"forceNew":true},"express_route_gateway_bypass":{"type":"TypeBool","optional":true,"computed":true},"ingress_nat_rule_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"ipsec_policy":{"type":"TypeList","optional":true,"elem":{"schema":{"dh_group":{"type":"TypeString","required":true},"ike_encryption":{"type":"TypeString","required":true},"ike_integrity":{"type":"TypeString","required":true},"ipsec_encryption":{"type":"TypeString","required":true},"ipsec_integrity":{"type":"TypeString","required":true},"pfs_group":{"type":"TypeString","required":true},"sa_datasize":{"type":"TypeInt","optional":true,"computed":true},"sa_lifetime":{"type":"TypeInt","optional":true,"computed":true}}},"maxItems":1},"local_azure_ip_address_enabled":{"type":"TypeBool","optional":true,"forceNew":true},"local_network_gateway_id":{"type":"TypeString","optional":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"peer_virtual_network_gateway_id":{"type":"TypeString","optional":true,"forceNew":true},"private_link_fast_path_enabled":{"type":"TypeBool","optional":true,"default":false},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"routing_weight":{"type":"TypeInt","optional":true,"computed":true},"shared_key":{"type":"TypeString","optional":true,"computed":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"traffic_selector_policy":{"type":"TypeList","optional":true,"elem":{"schema":{"local_address_cidrs":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}},"remote_address_cidrs":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}}}}},"type":{"type":"TypeString","required":true,"forceNew":true},"use_policy_based_traffic_selectors":{"type":"TypeBool","optional":true,"computed":true},"virtual_network_gateway_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_virtual_network_gateway_nat_rule":{"schema":{"external_mapping":{"type":"TypeList","required":true,"elem":{"schema":{"address_space":{"type":"TypeString","required":true},"port_range":{"type":"TypeString","optional":true}}}},"internal_mapping":{"type":"TypeList","required":true,"elem":{"schema":{"address_space":{"type":"TypeString","required":true},"port_range":{"type":"TypeString","optional":true}}}},"ip_configuration_id":{"type":"TypeString","optional":true},"mode":{"type":"TypeString","optional":true,"default":"EgressSnat","forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"type":{"type":"TypeString","optional":true,"default":"Static","forceNew":true},"virtual_network_gateway_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_virtual_network_peering":{"schema":{"allow_forwarded_traffic":{"type":"TypeBool","optional":true,"default":false},"allow_gateway_transit":{"type":"TypeBool","optional":true,"default":false},"allow_virtual_network_access":{"type":"TypeBool","optional":true,"default":true},"local_subnet_names":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true,"forceNew":true},"only_ipv6_peering_enabled":{"type":"TypeBool","optional":true,"forceNew":true},"peer_complete_virtual_networks_enabled":{"type":"TypeBool","optional":true,"default":true,"forceNew":true},"remote_subnet_names":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"remote_virtual_network_id":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"triggers":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"use_remote_gateways":{"type":"TypeBool","optional":true,"default":false},"virtual_network_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_virtual_wan":{"schema":{"allow_branch_to_branch_traffic":{"type":"TypeBool","optional":true,"default":true},"disable_vpn_encryption":{"type":"TypeBool","optional":true,"default":false},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"office365_local_breakout_category":{"type":"TypeString","optional":true,"default":"None"},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"type":{"type":"TypeString","optional":true,"default":"Standard"}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_vmware_cluster":{"schema":{"cluster_node_count":{"type":"TypeInt","required":true},"cluster_number":{"type":"TypeInt","computed":true},"hosts":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true,"forceNew":true},"sku_name":{"type":"TypeString","required":true,"forceNew":true},"vmware_cloud_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":300,"read":5,"delete":300,"update":300}},"azurerm_vmware_express_route_authorization":{"schema":{"express_route_authorization_id":{"type":"TypeString","computed":true},"express_route_authorization_key":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true,"forceNew":true},"private_cloud_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_vmware_netapp_volume_attachment":{"schema":{"name":{"type":"TypeString","required":true,"forceNew":true},"netapp_volume_id":{"type":"TypeString","required":true,"forceNew":true},"vmware_cluster_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_vmware_private_cloud":{"schema":{"circuit":{"type":"TypeList","computed":true,"elem":{"schema":{"express_route_id":{"type":"TypeString","computed":true},"express_route_private_peering_id":{"type":"TypeString","computed":true},"primary_subnet_cidr":{"type":"TypeString","computed":true},"secondary_subnet_cidr":{"type":"TypeString","computed":true}}}},"hcx_cloud_manager_endpoint":{"type":"TypeString","computed":true},"internet_connection_enabled":{"type":"TypeBool","optional":true,"default":false},"location":{"type":"TypeString","required":true,"forceNew":true},"management_cluster":{"type":"TypeList","required":true,"elem":{"schema":{"hosts":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"id":{"type":"TypeInt","computed":true},"size":{"type":"TypeInt","required":true}}},"maxItems":1},"management_subnet_cidr":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true,"forceNew":true},"network_subnet_cidr":{"type":"TypeString","required":true,"forceNew":true},"nsxt_certificate_thumbprint":{"type":"TypeString","computed":true},"nsxt_manager_endpoint":{"type":"TypeString","computed":true},"nsxt_password":{"type":"TypeString","optional":true,"forceNew":true},"provisioning_subnet_cidr":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"sku_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"vcenter_certificate_thumbprint":{"type":"TypeString","computed":true},"vcenter_password":{"type":"TypeString","optional":true,"forceNew":true},"vcsa_endpoint":{"type":"TypeString","computed":true},"vmotion_subnet_cidr":{"type":"TypeString","computed":true}},"timeouts":{"create":600,"read":5,"delete":600,"update":600}},"azurerm_voice_services_communications_gateway":{"schema":{"api_bridge":{"type":"TypeString","optional":true},"auto_generated_domain_name_label_scope":{"type":"TypeString","optional":true,"default":"TenantReuse","forceNew":true},"codecs":{"type":"TypeString","required":true},"connectivity":{"type":"TypeString","required":true,"forceNew":true},"e911_type":{"type":"TypeString","required":true},"emergency_dial_strings":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"location":{"type":"TypeString","required":true,"forceNew":true},"microsoft_teams_voicemail_pilot_number":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"on_prem_mcp_enabled":{"type":"TypeBool","optional":true},"platforms":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"service_location":{"type":"TypeSet","required":true,"elem":{"schema":{"allowed_media_source_address_prefixes":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"allowed_signaling_source_address_prefixes":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"esrp_addresses":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"location":{"type":"TypeString","required":true},"operator_addresses":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}}}}},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_voice_services_communications_gateway_test_line":{"schema":{"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"phone_number":{"type":"TypeString","required":true},"purpose":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"voice_services_communications_gateway_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_vpn_gateway":{"schema":{"bgp_route_translation_for_nat_enabled":{"type":"TypeBool","optional":true,"default":false},"bgp_settings":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"asn":{"type":"TypeInt","required":true,"forceNew":true},"bgp_peering_address":{"type":"TypeString","computed":true},"instance_0_bgp_peering_address":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"custom_ips":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}},"default_ips":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"ip_configuration_id":{"type":"TypeString","computed":true},"tunnel_ips":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"instance_1_bgp_peering_address":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"custom_ips":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}},"default_ips":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"ip_configuration_id":{"type":"TypeString","computed":true},"tunnel_ips":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"peer_weight":{"type":"TypeInt","required":true,"forceNew":true}}},"maxItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"routing_preference":{"type":"TypeString","optional":true,"default":"Microsoft Network","forceNew":true},"scale_unit":{"type":"TypeInt","optional":true,"default":1},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"virtual_hub_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":90,"read":5,"delete":90,"update":90}},"azurerm_vpn_gateway_connection":{"schema":{"internet_security_enabled":{"type":"TypeBool","optional":true,"default":false},"name":{"type":"TypeString","required":true,"forceNew":true},"remote_vpn_site_id":{"type":"TypeString","required":true,"forceNew":true},"routing":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"associated_route_table":{"type":"TypeString","required":true},"inbound_route_map_id":{"type":"TypeString","optional":true},"outbound_route_map_id":{"type":"TypeString","optional":true},"propagated_route_table":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"labels":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"route_table_ids":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}}}},"maxItems":1}}},"maxItems":1},"traffic_selector_policy":{"type":"TypeSet","optional":true,"elem":{"schema":{"local_address_ranges":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}},"remote_address_ranges":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}}}}},"vpn_gateway_id":{"type":"TypeString","required":true,"forceNew":true},"vpn_link":{"type":"TypeList","required":true,"elem":{"schema":{"bandwidth_mbps":{"type":"TypeInt","optional":true,"default":10},"bgp_enabled":{"type":"TypeBool","optional":true,"default":false,"forceNew":true},"connection_mode":{"type":"TypeString","optional":true,"default":"Default"},"custom_bgp_address":{"type":"TypeSet","optional":true,"elem":{"schema":{"ip_address":{"type":"TypeString","required":true},"ip_configuration_id":{"type":"TypeString","required":true}}}},"egress_nat_rule_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"ingress_nat_rule_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"ipsec_policy":{"type":"TypeList","optional":true,"elem":{"schema":{"dh_group":{"type":"TypeString","required":true},"encryption_algorithm":{"type":"TypeString","required":true},"ike_encryption_algorithm":{"type":"TypeString","required":true},"ike_integrity_algorithm":{"type":"TypeString","required":true},"integrity_algorithm":{"type":"TypeString","required":true},"pfs_group":{"type":"TypeString","required":true},"sa_data_size_kb":{"type":"TypeInt","required":true},"sa_lifetime_sec":{"type":"TypeInt","required":true}}},"minItems":1},"local_azure_ip_address_enabled":{"type":"TypeBool","optional":true,"default":false},"name":{"type":"TypeString","required":true},"policy_based_traffic_selector_enabled":{"type":"TypeBool","optional":true,"default":false},"protocol":{"type":"TypeString","optional":true,"default":"IKEv2"},"ratelimit_enabled":{"type":"TypeBool","optional":true,"default":false},"route_weight":{"type":"TypeInt","optional":true,"default":0},"shared_key":{"type":"TypeString","optional":true},"vpn_site_link_id":{"type":"TypeString","required":true,"forceNew":true}}},"minItems":1}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_vpn_gateway_nat_rule":{"schema":{"external_mapping":{"type":"TypeList","optional":true,"elem":{"schema":{"address_space":{"type":"TypeString","required":true},"port_range":{"type":"TypeString","optional":true}}}},"internal_mapping":{"type":"TypeList","optional":true,"elem":{"schema":{"address_space":{"type":"TypeString","required":true},"port_range":{"type":"TypeString","optional":true}}}},"ip_configuration_id":{"type":"TypeString","optional":true},"mode":{"type":"TypeString","optional":true,"default":"EgressSnat","forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"type":{"type":"TypeString","optional":true,"default":"Static","forceNew":true},"vpn_gateway_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_vpn_server_configuration":{"schema":{"azure_active_directory_authentication":{"type":"TypeList","optional":true,"elem":{"schema":{"audience":{"type":"TypeString","required":true},"issuer":{"type":"TypeString","required":true},"tenant":{"type":"TypeString","required":true}}},"minItems":1},"client_revoked_certificate":{"type":"TypeSet","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"thumbprint":{"type":"TypeString","required":true}}}},"client_root_certificate":{"type":"TypeSet","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"public_cert_data":{"type":"TypeString","required":true}}}},"ipsec_policy":{"type":"TypeList","optional":true,"elem":{"schema":{"dh_group":{"type":"TypeString","required":true},"ike_encryption":{"type":"TypeString","required":true},"ike_integrity":{"type":"TypeString","required":true},"ipsec_encryption":{"type":"TypeString","required":true},"ipsec_integrity":{"type":"TypeString","required":true},"pfs_group":{"type":"TypeString","required":true},"sa_data_size_kilobytes":{"type":"TypeInt","required":true},"sa_lifetime_seconds":{"type":"TypeInt","required":true}}},"maxItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"radius":{"type":"TypeList","optional":true,"elem":{"schema":{"client_root_certificate":{"type":"TypeSet","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"thumbprint":{"type":"TypeString","required":true}}}},"server":{"type":"TypeList","optional":true,"elem":{"schema":{"address":{"type":"TypeString","required":true},"score":{"type":"TypeInt","required":true},"secret":{"type":"TypeString","required":true}}}},"server_root_certificate":{"type":"TypeSet","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"public_cert_data":{"type":"TypeString","required":true}}}}}},"maxItems":1},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"vpn_authentication_types":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}},"vpn_protocols":{"type":"TypeSet","optional":true,"computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":90,"read":5,"delete":90,"update":90}},"azurerm_vpn_server_configuration_policy_group":{"schema":{"is_default":{"type":"TypeBool","optional":true,"default":false,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"policy":{"type":"TypeSet","required":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"type":{"type":"TypeString","required":true},"value":{"type":"TypeString","required":true}}}},"priority":{"type":"TypeInt","optional":true,"default":0},"vpn_server_configuration_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_vpn_site":{"schema":{"address_cidrs":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"device_model":{"type":"TypeString","optional":true},"device_vendor":{"type":"TypeString","optional":true},"link":{"type":"TypeList","optional":true,"elem":{"schema":{"bgp":{"type":"TypeList","optional":true,"elem":{"schema":{"asn":{"type":"TypeInt","required":true},"peering_address":{"type":"TypeString","required":true}}},"maxItems":1},"fqdn":{"type":"TypeString","optional":true},"id":{"type":"TypeString","computed":true},"ip_address":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true},"provider_name":{"type":"TypeString","optional":true},"speed_in_mbps":{"type":"TypeInt","optional":true,"default":0}}},"minItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"o365_policy":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"traffic_category":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"allow_endpoint_enabled":{"type":"TypeBool","optional":true,"default":false},"default_endpoint_enabled":{"type":"TypeBool","optional":true,"default":false},"optimize_endpoint_enabled":{"type":"TypeBool","optional":true,"default":false}}},"maxItems":1}}},"maxItems":1},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"virtual_wan_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_web_app_active_slot":{"schema":{"last_successful_swap":{"type":"TypeString","description":"The timestamp of the last successful swap with `Production`","computed":true},"overwrite_network_config":{"type":"TypeBool","optional":true,"default":true,"description":"The swap action should overwrite the Production slot's network configuration with the configuration from this slot. Defaults to `true`.","forceNew":true},"slot_id":{"type":"TypeString","required":true,"description":"The ID of the Slot to swap with `Production`."}},"timeouts":{"create":30,"read":5,"delete":5,"update":30}},"azurerm_web_app_hybrid_connection":{"schema":{"hostname":{"type":"TypeString","required":true,"description":"The hostname of the endpoint."},"namespace_name":{"type":"TypeString","description":"The name of the Relay Namespace.","computed":true},"port":{"type":"TypeInt","required":true,"description":"The port to use for the endpoint"},"relay_id":{"type":"TypeString","required":true,"description":"The ID of the Relay Hybrid Connection to use.","forceNew":true},"relay_name":{"type":"TypeString","description":"The name of the Relay in use.","computed":true},"send_key_name":{"type":"TypeString","optional":true,"default":"RootManageSharedAccessKey","description":"The name of the Relay key with `Send` permission to use. Defaults to `RootManageSharedAccessKey`"},"send_key_value":{"type":"TypeString","description":"The Primary Access Key for the `send_key_name`","computed":true},"service_bus_namespace":{"type":"TypeString","description":"The Service Bus Namespace.","computed":true},"service_bus_suffix":{"type":"TypeString","description":"The suffix for the endpoint.","computed":true},"web_app_id":{"type":"TypeString","required":true,"description":"The ID of the Web App for this Hybrid Connection.","forceNew":true}},"timeouts":{"create":30,"read":5,"delete":5,"update":30}},"azurerm_web_application_firewall_policy":{"schema":{"custom_rules":{"type":"TypeList","optional":true,"elem":{"schema":{"action":{"type":"TypeString","required":true},"enabled":{"type":"TypeBool","optional":true,"default":true},"group_rate_limit_by":{"type":"TypeString","optional":true},"match_conditions":{"type":"TypeList","required":true,"elem":{"schema":{"match_values":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"match_variables":{"type":"TypeList","required":true,"elem":{"schema":{"selector":{"type":"TypeString","optional":true},"variable_name":{"type":"TypeString","required":true}}}},"negation_condition":{"type":"TypeBool","optional":true},"operator":{"type":"TypeString","required":true},"transforms":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}}}}},"name":{"type":"TypeString","optional":true},"priority":{"type":"TypeInt","required":true},"rate_limit_duration":{"type":"TypeString","optional":true},"rate_limit_threshold":{"type":"TypeInt","optional":true},"rule_type":{"type":"TypeString","required":true}}}},"http_listener_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"location":{"type":"TypeString","required":true,"forceNew":true},"managed_rules":{"type":"TypeList","required":true,"elem":{"schema":{"exclusion":{"type":"TypeList","optional":true,"elem":{"schema":{"excluded_rule_set":{"type":"TypeList","optional":true,"elem":{"schema":{"rule_group":{"type":"TypeList","optional":true,"elem":{"schema":{"excluded_rules":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"rule_group_name":{"type":"TypeString","required":true}}}},"type":{"type":"TypeString","optional":true,"default":"OWASP"},"version":{"type":"TypeString","optional":true,"default":"3.2"}}},"maxItems":1},"match_variable":{"type":"TypeString","required":true},"selector":{"type":"TypeString","required":true},"selector_match_operator":{"type":"TypeString","required":true}}}},"managed_rule_set":{"type":"TypeList","required":true,"elem":{"schema":{"rule_group_override":{"type":"TypeList","optional":true,"elem":{"schema":{"rule":{"type":"TypeList","optional":true,"elem":{"schema":{"action":{"type":"TypeString","optional":true},"enabled":{"type":"TypeBool","optional":true,"default":false},"id":{"type":"TypeString","required":true}}}},"rule_group_name":{"type":"TypeString","required":true}}}},"type":{"type":"TypeString","optional":true,"default":"OWASP"},"version":{"type":"TypeString","required":true}}}}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"path_based_rule_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"policy_settings":{"type":"TypeList","optional":true,"elem":{"schema":{"enabled":{"type":"TypeBool","optional":true,"default":true},"file_upload_limit_in_mb":{"type":"TypeInt","optional":true,"default":100},"js_challenge_cookie_expiration_in_minutes":{"type":"TypeInt","optional":true,"default":30},"log_scrubbing":{"type":"TypeList","optional":true,"elem":{"schema":{"enabled":{"type":"TypeBool","optional":true,"default":true},"rule":{"type":"TypeList","optional":true,"elem":{"schema":{"enabled":{"type":"TypeBool","optional":true,"default":true},"match_variable":{"type":"TypeString","required":true},"selector":{"type":"TypeString","optional":true,"description":"When matchVariable is a collection, operator used to specify which elements in the collection this rule applies to."},"selector_match_operator":{"type":"TypeString","optional":true,"default":"Equals"}}}}}},"maxItems":1},"max_request_body_size_in_kb":{"type":"TypeInt","optional":true,"default":128},"mode":{"type":"TypeString","optional":true,"default":"Prevention"},"request_body_check":{"type":"TypeBool","optional":true,"default":true},"request_body_enforcement":{"type":"TypeBool","optional":true,"default":true},"request_body_inspect_limit_in_kb":{"type":"TypeInt","optional":true,"default":128}}},"maxItems":1},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_web_pubsub":{"schema":{"aad_auth_enabled":{"type":"TypeBool","optional":true,"default":true},"capacity":{"type":"TypeInt","optional":true,"default":1},"external_ip":{"type":"TypeString","computed":true},"hostname":{"type":"TypeString","computed":true},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"live_trace":{"type":"TypeList","optional":true,"elem":{"schema":{"connectivity_logs_enabled":{"type":"TypeBool","optional":true,"default":true},"enabled":{"type":"TypeBool","optional":true,"default":true},"http_request_logs_enabled":{"type":"TypeBool","optional":true,"default":true},"messaging_logs_enabled":{"type":"TypeBool","optional":true,"default":true}}},"maxItems":1},"local_auth_enabled":{"type":"TypeBool","optional":true,"default":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"primary_access_key":{"type":"TypeString","computed":true},"primary_connection_string":{"type":"TypeString","computed":true},"public_network_access_enabled":{"type":"TypeBool","optional":true,"default":true},"public_port":{"type":"TypeInt","computed":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"secondary_access_key":{"type":"TypeString","computed":true},"secondary_connection_string":{"type":"TypeString","computed":true},"server_port":{"type":"TypeInt","computed":true},"sku":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"tls_client_cert_enabled":{"type":"TypeBool","optional":true,"default":false},"version":{"type":"TypeString","computed":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_web_pubsub_custom_certificate":{"schema":{"certificate_version":{"type":"TypeString","computed":true},"custom_certificate_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"web_pubsub_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_web_pubsub_custom_domain":{"schema":{"domain_name":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"web_pubsub_custom_certificate_id":{"type":"TypeString","required":true,"forceNew":true},"web_pubsub_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_web_pubsub_hub":{"schema":{"anonymous_connections_enabled":{"type":"TypeBool","optional":true,"default":false},"event_handler":{"type":"TypeList","optional":true,"elem":{"schema":{"auth":{"type":"TypeList","optional":true,"elem":{"schema":{"managed_identity_id":{"type":"TypeString","required":true}}},"maxItems":1,"minItems":1},"system_events":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"url_template":{"type":"TypeString","required":true},"user_event_pattern":{"type":"TypeString","optional":true}}}},"event_listener":{"type":"TypeList","optional":true,"elem":{"schema":{"eventhub_name":{"type":"TypeString","required":true},"eventhub_namespace_name":{"type":"TypeString","required":true},"system_event_name_filter":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"user_event_name_filter":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}}}}},"name":{"type":"TypeString","required":true,"forceNew":true},"web_pubsub_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_web_pubsub_network_acl":{"schema":{"default_action":{"type":"TypeString","optional":true,"default":"Deny"},"private_endpoint":{"type":"TypeSet","optional":true,"elem":{"schema":{"allowed_request_types":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"denied_request_types":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"id":{"type":"TypeString","required":true}}}},"public_network":{"type":"TypeList","required":true,"elem":{"schema":{"allowed_request_types":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"denied_request_types":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"web_pubsub_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_web_pubsub_shared_private_link_resource":{"schema":{"name":{"type":"TypeString","required":true,"forceNew":true},"request_message":{"type":"TypeString","optional":true},"status":{"type":"TypeString","computed":true},"subresource_name":{"type":"TypeString","required":true,"forceNew":true},"target_resource_id":{"type":"TypeString","required":true,"forceNew":true},"web_pubsub_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_windows_function_app":{"schema":{"app_settings":{"type":"TypeMap","optional":true,"description":"A map of key-value pairs for [App Settings](https://docs.microsoft.com/en-us/azure/azure-functions/functions-app-settings) and custom values.","elem":{"type":"TypeString"}},"auth_settings":{"type":"TypeList","optional":true,"elem":{"schema":{"active_directory":{"type":"TypeList","optional":true,"elem":{"schema":{"allowed_audiences":{"type":"TypeList","optional":true,"description":"Specifies a list of Allowed audience values to consider when validating JWTs issued by Azure Active Directory.","elem":{"type":"TypeString"}},"client_id":{"type":"TypeString","required":true,"description":"The ID of the Client to use to authenticate with Azure Active Directory."},"client_secret":{"type":"TypeString","optional":true,"description":"The Client Secret for the Client ID. Cannot be used with `client_secret_setting_name`."},"client_secret_setting_name":{"type":"TypeString","optional":true,"description":"The App Setting name that contains the client secret of the Client. Cannot be used with `client_secret`."}}},"maxItems":1},"additional_login_parameters":{"type":"TypeMap","optional":true,"description":"Specifies a map of Login Parameters to send to the OpenID Connect authorization endpoint when a user logs in.","elem":{"type":"TypeString"}},"allowed_external_redirect_urls":{"type":"TypeList","optional":true,"description":"Specifies a list of External URLs that can be redirected to as part of logging in or logging out of the Windows Web App.","computed":true,"elem":{"type":"TypeString"}},"default_provider":{"type":"TypeString","optional":true,"description":"The default authentication provider to use when multiple providers are configured. Possible values include: `AzureActiveDirectory`, `Facebook`, `Google`, `MicrosoftAccount`, `Twitter`, `Github`.","computed":true},"enabled":{"type":"TypeBool","required":true,"description":"Should the Authentication / Authorization feature be enabled?"},"facebook":{"type":"TypeList","optional":true,"elem":{"schema":{"app_id":{"type":"TypeString","required":true,"description":"The App ID of the Facebook app used for login."},"app_secret":{"type":"TypeString","optional":true,"description":"The App Secret of the Facebook app used for Facebook Login. Cannot be specified with `app_secret_setting_name`."},"app_secret_setting_name":{"type":"TypeString","optional":true,"description":"The app setting name that contains the `app_secret` value used for Facebook Login. Cannot be specified with `app_secret`."},"oauth_scopes":{"type":"TypeList","optional":true,"description":"Specifies a list of OAuth 2.0 scopes to be requested as part of Facebook Login authentication.","elem":{"type":"TypeString"}}}},"maxItems":1},"github":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","required":true,"description":"The ID of the GitHub app used for login."},"client_secret":{"type":"TypeString","optional":true,"description":"The Client Secret of the GitHub app used for GitHub Login. Cannot be specified with `client_secret_setting_name`."},"client_secret_setting_name":{"type":"TypeString","optional":true,"description":"The app setting name that contains the `client_secret` value used for GitHub Login. Cannot be specified with `client_secret`."},"oauth_scopes":{"type":"TypeList","optional":true,"description":"Specifies a list of OAuth 2.0 scopes that will be requested as part of GitHub Login authentication.","elem":{"type":"TypeString"}}}},"maxItems":1},"google":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","required":true,"description":"The OpenID Connect Client ID for the Google web application."},"client_secret":{"type":"TypeString","optional":true,"description":"The client secret associated with the Google web application. Cannot be specified with `client_secret_setting_name`."},"client_secret_setting_name":{"type":"TypeString","optional":true,"description":"The app setting name that contains the `client_secret` value used for Google Login. Cannot be specified with `client_secret`."},"oauth_scopes":{"type":"TypeList","optional":true,"description":"Specifies a list of OAuth 2.0 scopes that will be requested as part of Google Sign-In authentication. If not specified, \"openid\", \"profile\", and \"email\" are used as default scopes.","elem":{"type":"TypeString"}}}},"maxItems":1},"issuer":{"type":"TypeString","optional":true,"description":"The OpenID Connect Issuer URI that represents the entity which issues access tokens."},"microsoft":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","required":true,"description":"The OAuth 2.0 client ID that was created for the app used for authentication."},"client_secret":{"type":"TypeString","optional":true,"description":"The OAuth 2.0 client secret that was created for the app used for authentication. Cannot be specified with `client_secret_setting_name`."},"client_secret_setting_name":{"type":"TypeString","optional":true,"description":"The app setting name containing the OAuth 2.0 client secret that was created for the app used for authentication. Cannot be specified with `client_secret`."},"oauth_scopes":{"type":"TypeList","optional":true,"description":"The list of OAuth 2.0 scopes that will be requested as part of Microsoft Account authentication. If not specified, `wl.basic` is used as the default scope.","elem":{"type":"TypeString"}}}},"maxItems":1},"runtime_version":{"type":"TypeString","optional":true,"description":"The RuntimeVersion of the Authentication / Authorization feature in use.","computed":true},"token_refresh_extension_hours":{"type":"TypeFloat","optional":true,"default":72,"description":"The number of hours after session token expiration that a session token can be used to call the token refresh API. Defaults to `72` hours."},"token_store_enabled":{"type":"TypeBool","optional":true,"default":false,"description":"Should the Windows Web App durably store platform-specific security tokens that are obtained during login flows? Defaults to `false`."},"twitter":{"type":"TypeList","optional":true,"elem":{"schema":{"consumer_key":{"type":"TypeString","required":true,"description":"The OAuth 1.0a consumer key of the Twitter application used for sign-in."},"consumer_secret":{"type":"TypeString","optional":true,"description":"The OAuth 1.0a consumer secret of the Twitter application used for sign-in. Cannot be specified with `consumer_secret_setting_name`."},"consumer_secret_setting_name":{"type":"TypeString","optional":true,"description":"The app setting name that contains the OAuth 1.0a consumer secret of the Twitter application used for sign-in. Cannot be specified with `consumer_secret`."}}},"maxItems":1},"unauthenticated_client_action":{"type":"TypeString","optional":true,"description":"The action to take when an unauthenticated client attempts to access the app. Possible values include: `RedirectToLoginPage`, `AllowAnonymous`.","computed":true}}},"maxItems":1},"auth_settings_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"active_directory_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"allowed_applications":{"type":"TypeList","optional":true,"description":"The list of allowed Applications for the Default Authorisation Policy.","elem":{"type":"TypeString"}},"allowed_audiences":{"type":"TypeList","optional":true,"description":"Specifies a list of Allowed audience values to consider when validating JWTs issued by Azure Active Directory.","elem":{"type":"TypeString"}},"allowed_groups":{"type":"TypeList","optional":true,"description":"The list of allowed Group Names for the Default Authorisation Policy.","elem":{"type":"TypeString"}},"allowed_identities":{"type":"TypeList","optional":true,"description":"The list of allowed Identities for the Default Authorisation Policy.","elem":{"type":"TypeString"}},"client_id":{"type":"TypeString","required":true,"description":"The ID of the Client to use to authenticate with Azure Active Directory."},"client_secret_certificate_thumbprint":{"type":"TypeString","optional":true,"description":"The thumbprint of the certificate used for signing purposes."},"client_secret_setting_name":{"type":"TypeString","optional":true,"description":"The App Setting name that contains the client secret of the Client."},"jwt_allowed_client_applications":{"type":"TypeList","optional":true,"description":"A list of Allowed Client Applications in the JWT Claim.","elem":{"type":"TypeString"}},"jwt_allowed_groups":{"type":"TypeList","optional":true,"description":"A list of Allowed Groups in the JWT Claim.","elem":{"type":"TypeString"}},"login_parameters":{"type":"TypeMap","optional":true,"description":"A map of key-value pairs to send to the Authorisation Endpoint when a user logs in.","elem":{"type":"TypeString"}},"tenant_auth_endpoint":{"type":"TypeString","required":true,"description":"The Azure Tenant Endpoint for the Authenticating Tenant. e.g. `https://login.microsoftonline.com/v2.0/{tenant-guid}/`."},"www_authentication_disabled":{"type":"TypeBool","optional":true,"description":"Should the www-authenticate provider should be omitted from the request? Defaults to `false`"}}},"maxItems":1},"apple_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","required":true,"description":"The OpenID Connect Client ID for the Apple web application."},"client_secret_setting_name":{"type":"TypeString","required":true,"description":"The app setting name that contains the `client_secret` value used for Apple Login."},"login_scopes":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"auth_enabled":{"type":"TypeBool","optional":true,"description":"Should the AuthV2 Settings be enabled. Defaults to `false`"},"azure_static_web_app_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","required":true,"description":"The ID of the Client to use to authenticate with Azure Static Web App Authentication."}}},"maxItems":1},"config_file_path":{"type":"TypeString","optional":true,"description":"The path to the App Auth settings. **Note:** Relative Paths are evaluated from the Site Root directory."},"custom_oidc_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"authorisation_endpoint":{"type":"TypeString","description":"The endpoint to make the Authorisation Request.","computed":true},"certification_uri":{"type":"TypeString","description":"The endpoint that provides the keys necessary to validate the token.","computed":true},"client_credential_method":{"type":"TypeString","description":"The Client Credential Method used. Currently the only supported value is `ClientSecretPost`.","computed":true},"client_id":{"type":"TypeString","required":true,"description":"The ID of the Client to use to authenticate with this Custom OIDC."},"client_secret_setting_name":{"type":"TypeString","description":"The App Setting name that contains the secret for this Custom OIDC Client.","computed":true},"issuer_endpoint":{"type":"TypeString","description":"The endpoint that issued the Token.","computed":true},"name":{"type":"TypeString","required":true,"description":"The name of the Custom OIDC Authentication Provider."},"name_claim_type":{"type":"TypeString","optional":true,"description":"The name of the claim that contains the users name."},"openid_configuration_endpoint":{"type":"TypeString","required":true,"description":"The endpoint that contains all the configuration endpoints for this Custom OIDC provider."},"scopes":{"type":"TypeList","optional":true,"description":"The list of the scopes that should be requested while authenticating.","elem":{"type":"TypeString"}},"token_endpoint":{"type":"TypeString","description":"The endpoint used to request a Token.","computed":true}}}},"default_provider":{"type":"TypeString","optional":true,"description":"The Default Authentication Provider to use when the `unauthenticated_action` is set to `RedirectToLoginPage`. Possible values include: `apple`, `azureactivedirectory`, `facebook`, `github`, `google`, `twitter` and the `name` of your `custom_oidc_v2` provider."},"excluded_paths":{"type":"TypeList","optional":true,"description":"The paths which should be excluded from the `unauthenticated_action` when it is set to `RedirectToLoginPage`.","elem":{"type":"TypeString"}},"facebook_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"app_id":{"type":"TypeString","required":true,"description":"The App ID of the Facebook app used for login."},"app_secret_setting_name":{"type":"TypeString","required":true,"description":"The app setting name that contains the `app_secret` value used for Facebook Login."},"graph_api_version":{"type":"TypeString","optional":true,"description":"The version of the Facebook API to be used while logging in.","computed":true},"login_scopes":{"type":"TypeList","optional":true,"description":"Specifies a list of scopes to be requested as part of Facebook Login authentication.","elem":{"type":"TypeString"}}}},"maxItems":1},"forward_proxy_convention":{"type":"TypeString","optional":true,"default":"NoProxy","description":"The convention used to determine the url of the request made. Possible values include `ForwardProxyConventionNoProxy`, `ForwardProxyConventionStandard`, `ForwardProxyConventionCustom`. Defaults to `ForwardProxyConventionNoProxy`"},"forward_proxy_custom_host_header_name":{"type":"TypeString","optional":true,"description":"The name of the header containing the host of the request."},"forward_proxy_custom_scheme_header_name":{"type":"TypeString","optional":true,"description":"The name of the header containing the scheme of the request."},"github_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","required":true,"description":"The ID of the GitHub app used for login."},"client_secret_setting_name":{"type":"TypeString","required":true,"description":"The app setting name that contains the `client_secret` value used for GitHub Login."},"login_scopes":{"type":"TypeList","optional":true,"description":"Specifies a list of OAuth 2.0 scopes that will be requested as part of GitHub Login authentication.","elem":{"type":"TypeString"}}}},"maxItems":1},"google_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"allowed_audiences":{"type":"TypeList","optional":true,"description":"Specifies a list of Allowed Audiences that will be requested as part of Google Sign-In authentication.","elem":{"type":"TypeString"}},"client_id":{"type":"TypeString","required":true,"description":"The OpenID Connect Client ID for the Google web application."},"client_secret_setting_name":{"type":"TypeString","required":true,"description":"The app setting name that contains the `client_secret` value used for Google Login."},"login_scopes":{"type":"TypeList","optional":true,"description":"Specifies a list of Login scopes that will be requested as part of Google Sign-In authentication.","elem":{"type":"TypeString"}}}},"maxItems":1},"http_route_api_prefix":{"type":"TypeString","optional":true,"default":"/.auth","description":"The prefix that should precede all the authentication and authorisation paths. Defaults to `/.auth`"},"login":{"type":"TypeList","required":true,"elem":{"schema":{"allowed_external_redirect_urls":{"type":"TypeList","optional":true,"description":"External URLs that can be redirected to as part of logging in or logging out of the app. This is an advanced setting typically only needed by Windows Store application backends. **Note:** URLs within the current domain are always implicitly allowed.","elem":{"type":"TypeString"}},"cookie_expiration_convention":{"type":"TypeString","optional":true,"default":"FixedTime","description":"The method by which cookies expire. Possible values include: `FixedTime`, and `IdentityProviderDerived`. Defaults to `FixedTime`."},"cookie_expiration_time":{"type":"TypeString","optional":true,"default":"08:00:00","description":"The time after the request is made when the session cookie should expire. Defaults to `08:00:00`."},"logout_endpoint":{"type":"TypeString","optional":true,"description":"The endpoint to which logout requests should be made."},"nonce_expiration_time":{"type":"TypeString","optional":true,"default":"00:05:00","description":"The time after the request is made when the nonce should expire. Defaults to `00:05:00`."},"preserve_url_fragments_for_logins":{"type":"TypeBool","optional":true,"default":false,"description":"Should the fragments from the request be preserved after the login request is made. Defaults to `false`."},"token_refresh_extension_time":{"type":"TypeFloat","optional":true,"default":72,"description":"The number of hours after session token expiration that a session token can be used to call the token refresh API. Defaults to `72` hours."},"token_store_enabled":{"type":"TypeBool","optional":true,"default":false,"description":"Should the Token Store configuration Enabled. Defaults to `false`"},"token_store_path":{"type":"TypeString","optional":true,"description":"The directory path in the App Filesystem in which the tokens will be stored."},"token_store_sas_setting_name":{"type":"TypeString","optional":true,"description":"The name of the app setting which contains the SAS URL of the blob storage containing the tokens."},"validate_nonce":{"type":"TypeBool","optional":true,"default":true,"description":"Should the nonce be validated while completing the login flow. Defaults to `true`."}}},"maxItems":1},"microsoft_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"allowed_audiences":{"type":"TypeList","optional":true,"description":"Specifies a list of Allowed Audiences that will be requested as part of Microsoft Sign-In authentication.","elem":{"type":"TypeString"}},"client_id":{"type":"TypeString","required":true,"description":"The OAuth 2.0 client ID that was created for the app used for authentication."},"client_secret_setting_name":{"type":"TypeString","required":true,"description":"The app setting name containing the OAuth 2.0 client secret that was created for the app used for authentication."},"login_scopes":{"type":"TypeList","optional":true,"description":"The list of Login scopes that will be requested as part of Microsoft Account authentication.","elem":{"type":"TypeString"}}}},"maxItems":1},"require_authentication":{"type":"TypeBool","optional":true,"description":"Should the authentication flow be used for all requests."},"require_https":{"type":"TypeBool","optional":true,"default":true,"description":"Should HTTPS be required on connections? Defaults to true."},"runtime_version":{"type":"TypeString","optional":true,"default":"~1","description":"The Runtime Version of the Authentication and Authorisation feature of this App. Defaults to `~1`"},"twitter_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"consumer_key":{"type":"TypeString","required":true,"description":"The OAuth 1.0a consumer key of the Twitter application used for sign-in."},"consumer_secret_setting_name":{"type":"TypeString","required":true,"description":"The app setting name that contains the OAuth 1.0a consumer secret of the Twitter application used for sign-in."}}},"maxItems":1},"unauthenticated_action":{"type":"TypeString","optional":true,"default":"RedirectToLoginPage","description":"The action to take for requests made without authentication. Possible values include `RedirectToLoginPage`, `AllowAnonymous`, `Return401`, and `Return403`. Defaults to `RedirectToLoginPage`."}}},"maxItems":1},"backup":{"type":"TypeList","optional":true,"elem":{"schema":{"enabled":{"type":"TypeBool","optional":true,"default":true,"description":"Should this backup job be enabled?"},"name":{"type":"TypeString","required":true,"description":"The name which should be used for this Backup."},"schedule":{"type":"TypeList","required":true,"elem":{"schema":{"frequency_interval":{"type":"TypeInt","required":true,"description":"How often the backup should be executed (e.g. for weekly backup, this should be set to `7` and `frequency_unit` should be set to `Day`)."},"frequency_unit":{"type":"TypeString","required":true,"description":"The unit of time for how often the backup should take place. Possible values include: `Day` and `Hour`."},"keep_at_least_one_backup":{"type":"TypeBool","optional":true,"default":false,"description":"Should the service keep at least one backup, regardless of age of backup. Defaults to `false`."},"last_execution_time":{"type":"TypeString","description":"The time the backup was last attempted.","computed":true},"retention_period_days":{"type":"TypeInt","optional":true,"default":30,"description":"After how many days backups should be deleted."},"start_time":{"type":"TypeString","optional":true,"description":"When the schedule should start working in RFC-3339 format.","computed":true}}},"maxItems":1},"storage_account_url":{"type":"TypeString","required":true,"description":"The SAS URL to the container."}}},"maxItems":1},"builtin_logging_enabled":{"type":"TypeBool","optional":true,"default":true,"description":"Should built in logging be enabled. Configures `AzureWebJobsDashboard` app setting based on the configured storage setting"},"client_certificate_enabled":{"type":"TypeBool","optional":true,"default":false,"description":"Should the function app use Client Certificates"},"client_certificate_exclusion_paths":{"type":"TypeString","optional":true,"description":"Paths to exclude when using client certificates, separated by ;"},"client_certificate_mode":{"type":"TypeString","optional":true,"default":"Optional","description":"The mode of the Function App's client certificates requirement for incoming requests. Possible values are `Required`, `Optional`, and `OptionalInteractiveUser` "},"connection_string":{"type":"TypeSet","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true,"description":"The name which should be used for this Connection."},"type":{"type":"TypeString","required":true,"description":"Type of database. Possible values include: `MySQL`, `SQLServer`, `SQLAzure`, `Custom`, `NotificationHub`, `ServiceBus`, `EventHub`, `APIHub`, `DocDb`, `RedisCache`, and `PostgreSQL`."},"value":{"type":"TypeString","required":true,"description":"The connection string value."}}}},"content_share_force_disabled":{"type":"TypeBool","optional":true,"default":false,"description":"Force disable the content share settings."},"custom_domain_verification_id":{"type":"TypeString","computed":true},"daily_memory_time_quota":{"type":"TypeInt","optional":true,"default":0,"description":"The amount of memory in gigabyte-seconds that your application is allowed to consume per day. Setting this value only affects function apps in Consumption Plans."},"default_hostname":{"type":"TypeString","computed":true},"enabled":{"type":"TypeBool","optional":true,"default":true,"description":"Is the Windows Function App enabled."},"ftp_publish_basic_authentication_enabled":{"type":"TypeBool","optional":true,"default":true},"functions_extension_version":{"type":"TypeString","optional":true,"default":"~4","description":"The runtime version associated with the Function App."},"hosting_environment_id":{"type":"TypeString","computed":true},"https_only":{"type":"TypeBool","optional":true,"description":"Can the Function App only be accessed via HTTPS?","computed":true},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"key_vault_reference_identity_id":{"type":"TypeString","optional":true,"description":"The User Assigned Identity to use for Key Vault access.","computed":true},"kind":{"type":"TypeString","computed":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"description":"Specifies the name of the Function App.","forceNew":true},"outbound_ip_address_list":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"outbound_ip_addresses":{"type":"TypeString","computed":true},"possible_outbound_ip_address_list":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"possible_outbound_ip_addresses":{"type":"TypeString","computed":true},"public_network_access_enabled":{"type":"TypeBool","optional":true,"default":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"service_plan_id":{"type":"TypeString","required":true,"description":"The ID of the App Service Plan within which to create this Function App"},"site_config":{"type":"TypeList","required":true,"elem":{"schema":{"always_on":{"type":"TypeBool","optional":true,"description":"If this Windows Web App is Always On enabled. Defaults to `false`.","computed":true},"api_definition_url":{"type":"TypeString","optional":true,"description":"The URL of the API definition that describes this Windows Function App."},"api_management_api_id":{"type":"TypeString","optional":true,"description":"The ID of the API Management API for this Windows Function App."},"app_command_line":{"type":"TypeString","optional":true,"description":"The program and any arguments used to launch this app via the command line. (Example `node myapp.js`)."},"app_scale_limit":{"type":"TypeInt","optional":true,"description":"The number of workers this function app can scale out to. Only applicable to apps on the Consumption and Premium plan.","computed":true},"app_service_logs":{"type":"TypeList","optional":true,"elem":{"schema":{"disk_quota_mb":{"type":"TypeInt","optional":true,"default":35,"description":"The amount of disk space to use for logs. Valid values are between `25` and `100`."},"retention_period_days":{"type":"TypeInt","optional":true,"description":"The retention period for logs in days. Valid values are between `0` and `99999`. Defaults to `0` (never delete)."}}},"maxItems":1},"application_insights_connection_string":{"type":"TypeString","optional":true,"description":"The Connection String for linking the Windows Function App to Application Insights."},"application_insights_key":{"type":"TypeString","optional":true,"description":"The Instrumentation Key for connecting the Windows Function App to Application Insights."},"application_stack":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"dotnet_version":{"type":"TypeString","optional":true,"default":"v4.0","description":"The version of .Net. Possible values are `v3.0`, `v4.0`, `v6.0` and `v7.0`"},"java_version":{"type":"TypeString","optional":true,"description":"The version of Java to use. Possible values are `1.8`, `11` and `17`"},"node_version":{"type":"TypeString","optional":true,"description":"The version of Node to use. Possible values include `12`, `14`, `16` and `18`"},"powershell_core_version":{"type":"TypeString","optional":true,"description":"The PowerShell Core version to use. Possible values are `7`, `7.2`, and `7.4`"},"use_custom_runtime":{"type":"TypeBool","optional":true,"description":"Does the Function App use a custom Application Stack?","computed":true},"use_dotnet_isolated_runtime":{"type":"TypeBool","optional":true,"description":"Should the DotNet process use an isolated runtime. Defaults to `false`.","computed":true}}},"maxItems":1},"cors":{"type":"TypeList","optional":true,"elem":{"schema":{"allowed_origins":{"type":"TypeSet","optional":true,"description":"Specifies a list of origins that should be allowed to make cross-origin calls.","elem":{"type":"TypeString"},"minItems":1},"support_credentials":{"type":"TypeBool","optional":true,"default":false,"description":"Are credentials allowed in CORS requests? Defaults to `false`."}}},"maxItems":1},"default_documents":{"type":"TypeList","optional":true,"description":"Specifies a list of Default Documents for the Windows Web App.","computed":true,"elem":{"type":"TypeString"}},"detailed_error_logging_enabled":{"type":"TypeBool","description":"Is detailed error logging enabled","computed":true},"elastic_instance_minimum":{"type":"TypeInt","optional":true,"description":"The number of minimum instances for this Windows Function App. Only affects apps on Elastic Premium plans.","computed":true},"ftps_state":{"type":"TypeString","optional":true,"default":"Disabled","description":"State of FTP / FTPS service for this function app. Possible values include: `AllAllowed`, `FtpsOnly` and `Disabled`. Defaults to `Disabled`."},"health_check_eviction_time_in_min":{"type":"TypeInt","optional":true,"description":"The amount of time in minutes that a node is unhealthy before being removed from the load balancer. Possible values are between `2` and `10`. Only valid in conjunction with `health_check_path`"},"health_check_path":{"type":"TypeString","optional":true,"description":"The path to be checked for this function app health."},"http2_enabled":{"type":"TypeBool","optional":true,"default":false,"description":"Specifies if the http2 protocol should be enabled. Defaults to `false`."},"ip_restriction":{"type":"TypeList","optional":true,"elem":{"schema":{"action":{"type":"TypeString","optional":true,"default":"Allow","description":"The action to take. Possible values are `Allow` or `Deny`."},"description":{"type":"TypeString","optional":true,"description":"The description of the IP restriction rule."},"headers":{"type":"TypeList","configMode":"Auto","optional":true,"elem":{"schema":{"x_azure_fdid":{"type":"TypeList","optional":true,"description":"Specifies a list of Azure Front Door IDs.","elem":{"type":"TypeString"},"maxItems":8},"x_fd_health_probe":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"maxItems":1},"x_forwarded_for":{"type":"TypeList","optional":true,"description":"Specifies a list of addresses for which matching should be applied. Omitting this value means allow any.","elem":{"type":"TypeString"},"maxItems":8},"x_forwarded_host":{"type":"TypeList","optional":true,"description":"Specifies a list of Hosts for which matching should be applied.","elem":{"type":"TypeString"},"maxItems":8}}},"maxItems":1},"ip_address":{"type":"TypeString","optional":true,"description":"The CIDR notation of the IP or IP Range to match. For example: `10.0.0.0/24` or `192.168.10.1/32` or `fe80::/64` or `13.107.6.152/31,13.107.128.0/22`"},"name":{"type":"TypeString","optional":true,"description":"The name which should be used for this `ip_restriction`.","computed":true},"priority":{"type":"TypeInt","optional":true,"default":65000,"description":"The priority value of this `ip_restriction`."},"service_tag":{"type":"TypeString","optional":true,"description":"The Service Tag used for this IP Restriction."},"virtual_network_subnet_id":{"type":"TypeString","optional":true,"description":"The Virtual Network Subnet ID used for this IP Restriction."}}}},"ip_restriction_default_action":{"type":"TypeString","optional":true,"default":"Allow"},"load_balancing_mode":{"type":"TypeString","optional":true,"default":"LeastRequests","description":"The Site load balancing mode. Possible values include: `WeightedRoundRobin`, `LeastRequests`, `LeastResponseTime`, `WeightedTotalTraffic`, `RequestHash`, `PerSiteRoundRobin`. Defaults to `LeastRequests` if omitted."},"managed_pipeline_mode":{"type":"TypeString","optional":true,"default":"Integrated","description":"The Managed Pipeline mode. Possible values include: `Integrated`, `Classic`. Defaults to `Integrated`."},"minimum_tls_version":{"type":"TypeString","optional":true,"default":"1.2","description":"The configures the minimum version of TLS required for SSL requests. Possible values include: `1.0`, `1.1`, and `1.2`. Defaults to `1.2`."},"pre_warmed_instance_count":{"type":"TypeInt","optional":true,"description":"The number of pre-warmed instances for this function app. Only affects apps on an Elastic Premium plan.","computed":true},"remote_debugging_enabled":{"type":"TypeBool","optional":true,"default":false,"description":"Should Remote Debugging be enabled. Defaults to `false`."},"remote_debugging_version":{"type":"TypeString","optional":true,"description":"The Remote Debugging Version. Possible values include `VS2017`, `VS2019`, and `VS2022`","computed":true},"runtime_scale_monitoring_enabled":{"type":"TypeBool","optional":true,"description":"Should Functions Runtime Scale Monitoring be enabled."},"scm_ip_restriction":{"type":"TypeList","optional":true,"elem":{"schema":{"action":{"type":"TypeString","optional":true,"default":"Allow","description":"The action to take. Possible values are `Allow` or `Deny`."},"description":{"type":"TypeString","optional":true,"description":"The description of the IP restriction rule."},"headers":{"type":"TypeList","configMode":"Auto","optional":true,"elem":{"schema":{"x_azure_fdid":{"type":"TypeList","optional":true,"description":"Specifies a list of Azure Front Door IDs.","elem":{"type":"TypeString"},"maxItems":8},"x_fd_health_probe":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"maxItems":1},"x_forwarded_for":{"type":"TypeList","optional":true,"description":"Specifies a list of addresses for which matching should be applied. Omitting this value means allow any.","elem":{"type":"TypeString"},"maxItems":8},"x_forwarded_host":{"type":"TypeList","optional":true,"description":"Specifies a list of Hosts for which matching should be applied.","elem":{"type":"TypeString"},"maxItems":8}}},"maxItems":1},"ip_address":{"type":"TypeString","optional":true,"description":"The CIDR notation of the IP or IP Range to match. For example: `10.0.0.0/24` or `192.168.10.1/32` or `fe80::/64` or `13.107.6.152/31,13.107.128.0/22`"},"name":{"type":"TypeString","optional":true,"description":"The name which should be used for this `ip_restriction`.","computed":true},"priority":{"type":"TypeInt","optional":true,"default":65000,"description":"The priority value of this `ip_restriction`."},"service_tag":{"type":"TypeString","optional":true,"description":"The Service Tag used for this IP Restriction."},"virtual_network_subnet_id":{"type":"TypeString","optional":true,"description":"The Virtual Network Subnet ID used for this IP Restriction."}}}},"scm_ip_restriction_default_action":{"type":"TypeString","optional":true,"default":"Allow"},"scm_minimum_tls_version":{"type":"TypeString","optional":true,"default":"1.2","description":"Configures the minimum version of TLS required for SSL requests to the SCM site Possible values include: `1.0`, `1.1`, and `1.2`. Defaults to `1.2`."},"scm_type":{"type":"TypeString","description":"The SCM Type in use by the Windows Function App.","computed":true},"scm_use_main_ip_restriction":{"type":"TypeBool","optional":true,"default":false,"description":"Should the Windows Function App `ip_restriction` configuration be used for the SCM also."},"use_32_bit_worker":{"type":"TypeBool","optional":true,"default":true,"description":"Should the Windows Web App use a 32-bit worker."},"vnet_route_all_enabled":{"type":"TypeBool","optional":true,"default":false,"description":"Should all outbound traffic to have Virtual Network Security Groups and User Defined Routes applied? Defaults to `false`."},"websockets_enabled":{"type":"TypeBool","optional":true,"default":false,"description":"Should Web Sockets be enabled. Defaults to `false`."},"windows_fx_version":{"type":"TypeString","description":"The Windows FX Version string.","computed":true},"worker_count":{"type":"TypeInt","optional":true,"description":"The number of Workers for this Windows Function App.","computed":true}}},"maxItems":1},"site_credential":{"type":"TypeList","computed":true,"elem":{"schema":{"name":{"type":"TypeString","description":"The Site Credentials Username used for publishing.","computed":true},"password":{"type":"TypeString","description":"The Site Credentials Password used for publishing.","computed":true}}}},"sticky_settings":{"type":"TypeList","optional":true,"elem":{"schema":{"app_setting_names":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"minItems":1},"connection_string_names":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"minItems":1}}},"maxItems":1},"storage_account":{"type":"TypeSet","optional":true,"elem":{"schema":{"access_key":{"type":"TypeString","required":true},"account_name":{"type":"TypeString","required":true},"mount_path":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true},"share_name":{"type":"TypeString","required":true},"type":{"type":"TypeString","required":true}}}},"storage_account_access_key":{"type":"TypeString","optional":true,"description":"The access key which will be used to access the storage account for the Function App."},"storage_account_name":{"type":"TypeString","optional":true,"description":"The backend storage account name which will be used by this Function App."},"storage_key_vault_secret_id":{"type":"TypeString","optional":true,"description":"The Key Vault Secret ID, including version, that contains the Connection String to connect to the storage account for this Function App."},"storage_uses_managed_identity":{"type":"TypeBool","optional":true,"default":false,"description":"Should the Function App use its Managed Identity to access storage?"},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"virtual_network_subnet_id":{"type":"TypeString","optional":true},"vnet_image_pull_enabled":{"type":"TypeBool","optional":true,"default":false,"description":"Is container image pull over virtual network enabled? Defaults to `false`."},"webdeploy_publish_basic_authentication_enabled":{"type":"TypeBool","optional":true,"default":true},"zip_deploy_file":{"type":"TypeString","optional":true,"description":"The local path and filename of the Zip packaged application to deploy to this Windows Function App. **Note:** Using this value requires `WEBSITE_RUN_FROM_PACKAGE=1` to be set on the App in `app_settings`.","computed":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_windows_function_app_slot":{"schema":{"app_settings":{"type":"TypeMap","optional":true,"description":"A map of key-value pairs for [App Settings](https://docs.microsoft.com/en-us/azure/azure-functions/functions-app-settings) and custom values.","elem":{"type":"TypeString"}},"auth_settings":{"type":"TypeList","optional":true,"elem":{"schema":{"active_directory":{"type":"TypeList","optional":true,"elem":{"schema":{"allowed_audiences":{"type":"TypeList","optional":true,"description":"Specifies a list of Allowed audience values to consider when validating JWTs issued by Azure Active Directory.","elem":{"type":"TypeString"}},"client_id":{"type":"TypeString","required":true,"description":"The ID of the Client to use to authenticate with Azure Active Directory."},"client_secret":{"type":"TypeString","optional":true,"description":"The Client Secret for the Client ID. Cannot be used with `client_secret_setting_name`."},"client_secret_setting_name":{"type":"TypeString","optional":true,"description":"The App Setting name that contains the client secret of the Client. Cannot be used with `client_secret`."}}},"maxItems":1},"additional_login_parameters":{"type":"TypeMap","optional":true,"description":"Specifies a map of Login Parameters to send to the OpenID Connect authorization endpoint when a user logs in.","elem":{"type":"TypeString"}},"allowed_external_redirect_urls":{"type":"TypeList","optional":true,"description":"Specifies a list of External URLs that can be redirected to as part of logging in or logging out of the Windows Web App.","computed":true,"elem":{"type":"TypeString"}},"default_provider":{"type":"TypeString","optional":true,"description":"The default authentication provider to use when multiple providers are configured. Possible values include: `AzureActiveDirectory`, `Facebook`, `Google`, `MicrosoftAccount`, `Twitter`, `Github`.","computed":true},"enabled":{"type":"TypeBool","required":true,"description":"Should the Authentication / Authorization feature be enabled?"},"facebook":{"type":"TypeList","optional":true,"elem":{"schema":{"app_id":{"type":"TypeString","required":true,"description":"The App ID of the Facebook app used for login."},"app_secret":{"type":"TypeString","optional":true,"description":"The App Secret of the Facebook app used for Facebook Login. Cannot be specified with `app_secret_setting_name`."},"app_secret_setting_name":{"type":"TypeString","optional":true,"description":"The app setting name that contains the `app_secret` value used for Facebook Login. Cannot be specified with `app_secret`."},"oauth_scopes":{"type":"TypeList","optional":true,"description":"Specifies a list of OAuth 2.0 scopes to be requested as part of Facebook Login authentication.","elem":{"type":"TypeString"}}}},"maxItems":1},"github":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","required":true,"description":"The ID of the GitHub app used for login."},"client_secret":{"type":"TypeString","optional":true,"description":"The Client Secret of the GitHub app used for GitHub Login. Cannot be specified with `client_secret_setting_name`."},"client_secret_setting_name":{"type":"TypeString","optional":true,"description":"The app setting name that contains the `client_secret` value used for GitHub Login. Cannot be specified with `client_secret`."},"oauth_scopes":{"type":"TypeList","optional":true,"description":"Specifies a list of OAuth 2.0 scopes that will be requested as part of GitHub Login authentication.","elem":{"type":"TypeString"}}}},"maxItems":1},"google":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","required":true,"description":"The OpenID Connect Client ID for the Google web application."},"client_secret":{"type":"TypeString","optional":true,"description":"The client secret associated with the Google web application. Cannot be specified with `client_secret_setting_name`."},"client_secret_setting_name":{"type":"TypeString","optional":true,"description":"The app setting name that contains the `client_secret` value used for Google Login. Cannot be specified with `client_secret`."},"oauth_scopes":{"type":"TypeList","optional":true,"description":"Specifies a list of OAuth 2.0 scopes that will be requested as part of Google Sign-In authentication. If not specified, \"openid\", \"profile\", and \"email\" are used as default scopes.","elem":{"type":"TypeString"}}}},"maxItems":1},"issuer":{"type":"TypeString","optional":true,"description":"The OpenID Connect Issuer URI that represents the entity which issues access tokens."},"microsoft":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","required":true,"description":"The OAuth 2.0 client ID that was created for the app used for authentication."},"client_secret":{"type":"TypeString","optional":true,"description":"The OAuth 2.0 client secret that was created for the app used for authentication. Cannot be specified with `client_secret_setting_name`."},"client_secret_setting_name":{"type":"TypeString","optional":true,"description":"The app setting name containing the OAuth 2.0 client secret that was created for the app used for authentication. Cannot be specified with `client_secret`."},"oauth_scopes":{"type":"TypeList","optional":true,"description":"The list of OAuth 2.0 scopes that will be requested as part of Microsoft Account authentication. If not specified, `wl.basic` is used as the default scope.","elem":{"type":"TypeString"}}}},"maxItems":1},"runtime_version":{"type":"TypeString","optional":true,"description":"The RuntimeVersion of the Authentication / Authorization feature in use.","computed":true},"token_refresh_extension_hours":{"type":"TypeFloat","optional":true,"default":72,"description":"The number of hours after session token expiration that a session token can be used to call the token refresh API. Defaults to `72` hours."},"token_store_enabled":{"type":"TypeBool","optional":true,"default":false,"description":"Should the Windows Web App durably store platform-specific security tokens that are obtained during login flows? Defaults to `false`."},"twitter":{"type":"TypeList","optional":true,"elem":{"schema":{"consumer_key":{"type":"TypeString","required":true,"description":"The OAuth 1.0a consumer key of the Twitter application used for sign-in."},"consumer_secret":{"type":"TypeString","optional":true,"description":"The OAuth 1.0a consumer secret of the Twitter application used for sign-in. Cannot be specified with `consumer_secret_setting_name`."},"consumer_secret_setting_name":{"type":"TypeString","optional":true,"description":"The app setting name that contains the OAuth 1.0a consumer secret of the Twitter application used for sign-in. Cannot be specified with `consumer_secret`."}}},"maxItems":1},"unauthenticated_client_action":{"type":"TypeString","optional":true,"description":"The action to take when an unauthenticated client attempts to access the app. Possible values include: `RedirectToLoginPage`, `AllowAnonymous`.","computed":true}}},"maxItems":1},"auth_settings_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"active_directory_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"allowed_applications":{"type":"TypeList","optional":true,"description":"The list of allowed Applications for the Default Authorisation Policy.","elem":{"type":"TypeString"}},"allowed_audiences":{"type":"TypeList","optional":true,"description":"Specifies a list of Allowed audience values to consider when validating JWTs issued by Azure Active Directory.","elem":{"type":"TypeString"}},"allowed_groups":{"type":"TypeList","optional":true,"description":"The list of allowed Group Names for the Default Authorisation Policy.","elem":{"type":"TypeString"}},"allowed_identities":{"type":"TypeList","optional":true,"description":"The list of allowed Identities for the Default Authorisation Policy.","elem":{"type":"TypeString"}},"client_id":{"type":"TypeString","required":true,"description":"The ID of the Client to use to authenticate with Azure Active Directory."},"client_secret_certificate_thumbprint":{"type":"TypeString","optional":true,"description":"The thumbprint of the certificate used for signing purposes."},"client_secret_setting_name":{"type":"TypeString","optional":true,"description":"The App Setting name that contains the client secret of the Client."},"jwt_allowed_client_applications":{"type":"TypeList","optional":true,"description":"A list of Allowed Client Applications in the JWT Claim.","elem":{"type":"TypeString"}},"jwt_allowed_groups":{"type":"TypeList","optional":true,"description":"A list of Allowed Groups in the JWT Claim.","elem":{"type":"TypeString"}},"login_parameters":{"type":"TypeMap","optional":true,"description":"A map of key-value pairs to send to the Authorisation Endpoint when a user logs in.","elem":{"type":"TypeString"}},"tenant_auth_endpoint":{"type":"TypeString","required":true,"description":"The Azure Tenant Endpoint for the Authenticating Tenant. e.g. `https://login.microsoftonline.com/v2.0/{tenant-guid}/`."},"www_authentication_disabled":{"type":"TypeBool","optional":true,"description":"Should the www-authenticate provider should be omitted from the request? Defaults to `false`"}}},"maxItems":1},"apple_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","required":true,"description":"The OpenID Connect Client ID for the Apple web application."},"client_secret_setting_name":{"type":"TypeString","required":true,"description":"The app setting name that contains the `client_secret` value used for Apple Login."},"login_scopes":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"auth_enabled":{"type":"TypeBool","optional":true,"description":"Should the AuthV2 Settings be enabled. Defaults to `false`"},"azure_static_web_app_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","required":true,"description":"The ID of the Client to use to authenticate with Azure Static Web App Authentication."}}},"maxItems":1},"config_file_path":{"type":"TypeString","optional":true,"description":"The path to the App Auth settings. **Note:** Relative Paths are evaluated from the Site Root directory."},"custom_oidc_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"authorisation_endpoint":{"type":"TypeString","description":"The endpoint to make the Authorisation Request.","computed":true},"certification_uri":{"type":"TypeString","description":"The endpoint that provides the keys necessary to validate the token.","computed":true},"client_credential_method":{"type":"TypeString","description":"The Client Credential Method used. Currently the only supported value is `ClientSecretPost`.","computed":true},"client_id":{"type":"TypeString","required":true,"description":"The ID of the Client to use to authenticate with this Custom OIDC."},"client_secret_setting_name":{"type":"TypeString","description":"The App Setting name that contains the secret for this Custom OIDC Client.","computed":true},"issuer_endpoint":{"type":"TypeString","description":"The endpoint that issued the Token.","computed":true},"name":{"type":"TypeString","required":true,"description":"The name of the Custom OIDC Authentication Provider."},"name_claim_type":{"type":"TypeString","optional":true,"description":"The name of the claim that contains the users name."},"openid_configuration_endpoint":{"type":"TypeString","required":true,"description":"The endpoint that contains all the configuration endpoints for this Custom OIDC provider."},"scopes":{"type":"TypeList","optional":true,"description":"The list of the scopes that should be requested while authenticating.","elem":{"type":"TypeString"}},"token_endpoint":{"type":"TypeString","description":"The endpoint used to request a Token.","computed":true}}}},"default_provider":{"type":"TypeString","optional":true,"description":"The Default Authentication Provider to use when the `unauthenticated_action` is set to `RedirectToLoginPage`. Possible values include: `apple`, `azureactivedirectory`, `facebook`, `github`, `google`, `twitter` and the `name` of your `custom_oidc_v2` provider."},"excluded_paths":{"type":"TypeList","optional":true,"description":"The paths which should be excluded from the `unauthenticated_action` when it is set to `RedirectToLoginPage`.","elem":{"type":"TypeString"}},"facebook_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"app_id":{"type":"TypeString","required":true,"description":"The App ID of the Facebook app used for login."},"app_secret_setting_name":{"type":"TypeString","required":true,"description":"The app setting name that contains the `app_secret` value used for Facebook Login."},"graph_api_version":{"type":"TypeString","optional":true,"description":"The version of the Facebook API to be used while logging in.","computed":true},"login_scopes":{"type":"TypeList","optional":true,"description":"Specifies a list of scopes to be requested as part of Facebook Login authentication.","elem":{"type":"TypeString"}}}},"maxItems":1},"forward_proxy_convention":{"type":"TypeString","optional":true,"default":"NoProxy","description":"The convention used to determine the url of the request made. Possible values include `ForwardProxyConventionNoProxy`, `ForwardProxyConventionStandard`, `ForwardProxyConventionCustom`. Defaults to `ForwardProxyConventionNoProxy`"},"forward_proxy_custom_host_header_name":{"type":"TypeString","optional":true,"description":"The name of the header containing the host of the request."},"forward_proxy_custom_scheme_header_name":{"type":"TypeString","optional":true,"description":"The name of the header containing the scheme of the request."},"github_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","required":true,"description":"The ID of the GitHub app used for login."},"client_secret_setting_name":{"type":"TypeString","required":true,"description":"The app setting name that contains the `client_secret` value used for GitHub Login."},"login_scopes":{"type":"TypeList","optional":true,"description":"Specifies a list of OAuth 2.0 scopes that will be requested as part of GitHub Login authentication.","elem":{"type":"TypeString"}}}},"maxItems":1},"google_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"allowed_audiences":{"type":"TypeList","optional":true,"description":"Specifies a list of Allowed Audiences that will be requested as part of Google Sign-In authentication.","elem":{"type":"TypeString"}},"client_id":{"type":"TypeString","required":true,"description":"The OpenID Connect Client ID for the Google web application."},"client_secret_setting_name":{"type":"TypeString","required":true,"description":"The app setting name that contains the `client_secret` value used for Google Login."},"login_scopes":{"type":"TypeList","optional":true,"description":"Specifies a list of Login scopes that will be requested as part of Google Sign-In authentication.","elem":{"type":"TypeString"}}}},"maxItems":1},"http_route_api_prefix":{"type":"TypeString","optional":true,"default":"/.auth","description":"The prefix that should precede all the authentication and authorisation paths. Defaults to `/.auth`"},"login":{"type":"TypeList","required":true,"elem":{"schema":{"allowed_external_redirect_urls":{"type":"TypeList","optional":true,"description":"External URLs that can be redirected to as part of logging in or logging out of the app. This is an advanced setting typically only needed by Windows Store application backends. **Note:** URLs within the current domain are always implicitly allowed.","elem":{"type":"TypeString"}},"cookie_expiration_convention":{"type":"TypeString","optional":true,"default":"FixedTime","description":"The method by which cookies expire. Possible values include: `FixedTime`, and `IdentityProviderDerived`. Defaults to `FixedTime`."},"cookie_expiration_time":{"type":"TypeString","optional":true,"default":"08:00:00","description":"The time after the request is made when the session cookie should expire. Defaults to `08:00:00`."},"logout_endpoint":{"type":"TypeString","optional":true,"description":"The endpoint to which logout requests should be made."},"nonce_expiration_time":{"type":"TypeString","optional":true,"default":"00:05:00","description":"The time after the request is made when the nonce should expire. Defaults to `00:05:00`."},"preserve_url_fragments_for_logins":{"type":"TypeBool","optional":true,"default":false,"description":"Should the fragments from the request be preserved after the login request is made. Defaults to `false`."},"token_refresh_extension_time":{"type":"TypeFloat","optional":true,"default":72,"description":"The number of hours after session token expiration that a session token can be used to call the token refresh API. Defaults to `72` hours."},"token_store_enabled":{"type":"TypeBool","optional":true,"default":false,"description":"Should the Token Store configuration Enabled. Defaults to `false`"},"token_store_path":{"type":"TypeString","optional":true,"description":"The directory path in the App Filesystem in which the tokens will be stored."},"token_store_sas_setting_name":{"type":"TypeString","optional":true,"description":"The name of the app setting which contains the SAS URL of the blob storage containing the tokens."},"validate_nonce":{"type":"TypeBool","optional":true,"default":true,"description":"Should the nonce be validated while completing the login flow. Defaults to `true`."}}},"maxItems":1},"microsoft_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"allowed_audiences":{"type":"TypeList","optional":true,"description":"Specifies a list of Allowed Audiences that will be requested as part of Microsoft Sign-In authentication.","elem":{"type":"TypeString"}},"client_id":{"type":"TypeString","required":true,"description":"The OAuth 2.0 client ID that was created for the app used for authentication."},"client_secret_setting_name":{"type":"TypeString","required":true,"description":"The app setting name containing the OAuth 2.0 client secret that was created for the app used for authentication."},"login_scopes":{"type":"TypeList","optional":true,"description":"The list of Login scopes that will be requested as part of Microsoft Account authentication.","elem":{"type":"TypeString"}}}},"maxItems":1},"require_authentication":{"type":"TypeBool","optional":true,"description":"Should the authentication flow be used for all requests."},"require_https":{"type":"TypeBool","optional":true,"default":true,"description":"Should HTTPS be required on connections? Defaults to true."},"runtime_version":{"type":"TypeString","optional":true,"default":"~1","description":"The Runtime Version of the Authentication and Authorisation feature of this App. Defaults to `~1`"},"twitter_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"consumer_key":{"type":"TypeString","required":true,"description":"The OAuth 1.0a consumer key of the Twitter application used for sign-in."},"consumer_secret_setting_name":{"type":"TypeString","required":true,"description":"The app setting name that contains the OAuth 1.0a consumer secret of the Twitter application used for sign-in."}}},"maxItems":1},"unauthenticated_action":{"type":"TypeString","optional":true,"default":"RedirectToLoginPage","description":"The action to take for requests made without authentication. Possible values include `RedirectToLoginPage`, `AllowAnonymous`, `Return401`, and `Return403`. Defaults to `RedirectToLoginPage`."}}},"maxItems":1},"backup":{"type":"TypeList","optional":true,"elem":{"schema":{"enabled":{"type":"TypeBool","optional":true,"default":true,"description":"Should this backup job be enabled?"},"name":{"type":"TypeString","required":true,"description":"The name which should be used for this Backup."},"schedule":{"type":"TypeList","required":true,"elem":{"schema":{"frequency_interval":{"type":"TypeInt","required":true,"description":"How often the backup should be executed (e.g. for weekly backup, this should be set to `7` and `frequency_unit` should be set to `Day`)."},"frequency_unit":{"type":"TypeString","required":true,"description":"The unit of time for how often the backup should take place. Possible values include: `Day` and `Hour`."},"keep_at_least_one_backup":{"type":"TypeBool","optional":true,"default":false,"description":"Should the service keep at least one backup, regardless of age of backup. Defaults to `false`."},"last_execution_time":{"type":"TypeString","description":"The time the backup was last attempted.","computed":true},"retention_period_days":{"type":"TypeInt","optional":true,"default":30,"description":"After how many days backups should be deleted."},"start_time":{"type":"TypeString","optional":true,"description":"When the schedule should start working in RFC-3339 format.","computed":true}}},"maxItems":1},"storage_account_url":{"type":"TypeString","required":true,"description":"The SAS URL to the container."}}},"maxItems":1},"builtin_logging_enabled":{"type":"TypeBool","optional":true,"default":true,"description":"Should built in logging be enabled. Configures `AzureWebJobsDashboard` app setting based on the configured storage setting."},"client_certificate_enabled":{"type":"TypeBool","optional":true,"default":false,"description":"Should the Function App Slot use Client Certificates."},"client_certificate_exclusion_paths":{"type":"TypeString","optional":true,"description":"Paths to exclude when using client certificates, separated by ;"},"client_certificate_mode":{"type":"TypeString","optional":true,"default":"Optional","description":"The mode of the Function App Slot's client certificates requirement for incoming requests. Possible values are `Required`, `Optional`, and `OptionalInteractiveUser`."},"connection_string":{"type":"TypeSet","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true,"description":"The name which should be used for this Connection."},"type":{"type":"TypeString","required":true,"description":"Type of database. Possible values include: `MySQL`, `SQLServer`, `SQLAzure`, `Custom`, `NotificationHub`, `ServiceBus`, `EventHub`, `APIHub`, `DocDb`, `RedisCache`, and `PostgreSQL`."},"value":{"type":"TypeString","required":true,"description":"The connection string value."}}}},"content_share_force_disabled":{"type":"TypeBool","optional":true,"default":false,"description":"Force disable the content share settings."},"custom_domain_verification_id":{"type":"TypeString","description":"The identifier used by App Service to perform domain ownership verification via DNS TXT record.","computed":true},"daily_memory_time_quota":{"type":"TypeInt","optional":true,"default":0,"description":"The amount of memory in gigabyte-seconds that your application is allowed to consume per day. Setting this value only affects function apps in Consumption Plans."},"default_hostname":{"type":"TypeString","description":"The default hostname of the Windows Function App Slot.","computed":true},"enabled":{"type":"TypeBool","optional":true,"default":true,"description":"Is the Windows Function App Slot enabled."},"ftp_publish_basic_authentication_enabled":{"type":"TypeBool","optional":true,"default":true},"function_app_id":{"type":"TypeString","required":true,"description":"The ID of the Windows Function App this Slot is a member of.","forceNew":true},"functions_extension_version":{"type":"TypeString","optional":true,"default":"~4","description":"The runtime version associated with the Function App Slot."},"hosting_environment_id":{"type":"TypeString","computed":true},"https_only":{"type":"TypeBool","optional":true,"default":false,"description":"Can the Function App Slot only be accessed via HTTPS?"},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"key_vault_reference_identity_id":{"type":"TypeString","optional":true,"description":"The User Assigned Identity to use for Key Vault access.","computed":true},"kind":{"type":"TypeString","description":"The Kind value for this Windows Function App Slot.","computed":true},"name":{"type":"TypeString","required":true,"description":"Specifies the name of the Windows Function App Slot.","forceNew":true},"outbound_ip_address_list":{"type":"TypeList","description":"A list of outbound IP addresses. For example `[\"52.23.25.3\", \"52.143.43.12\"]`.","computed":true,"elem":{"type":"TypeString"}},"outbound_ip_addresses":{"type":"TypeString","description":"A comma separated list of outbound IP addresses as a string. For example `52.23.25.3,52.143.43.12`.","computed":true},"possible_outbound_ip_address_list":{"type":"TypeList","description":"A list of possible outbound IP addresses, not all of which are necessarily in use. This is a superset of `outbound_ip_address_list`. For example `[\"52.23.25.3\", \"52.143.43.12\"]`.","computed":true,"elem":{"type":"TypeString"}},"possible_outbound_ip_addresses":{"type":"TypeString","description":"A comma separated list of possible outbound IP addresses as a string. For example `52.23.25.3,52.143.43.12,52.143.43.17`. This is a superset of `outbound_ip_addresses`. For example `[\"52.23.25.3\", \"52.143.43.12\",\"52.143.43.17\"]`.","computed":true},"public_network_access_enabled":{"type":"TypeBool","optional":true,"default":true},"service_plan_id":{"type":"TypeString","optional":true},"site_config":{"type":"TypeList","required":true,"elem":{"schema":{"always_on":{"type":"TypeBool","optional":true,"description":"If this Windows Web App is Always On enabled. Defaults to `false`.","computed":true},"api_definition_url":{"type":"TypeString","optional":true,"description":"The URL of the API definition that describes this Windows Function App."},"api_management_api_id":{"type":"TypeString","optional":true,"description":"The ID of the API Management API for this Windows Function App."},"app_command_line":{"type":"TypeString","optional":true,"description":"The program and any arguments used to launch this app via the command line. (Example `node myapp.js`)."},"app_scale_limit":{"type":"TypeInt","optional":true,"description":"The number of workers this function app can scale out to. Only applicable to apps on the Consumption and Premium plan.","computed":true},"app_service_logs":{"type":"TypeList","optional":true,"elem":{"schema":{"disk_quota_mb":{"type":"TypeInt","optional":true,"default":35,"description":"The amount of disk space to use for logs. Valid values are between `25` and `100`."},"retention_period_days":{"type":"TypeInt","optional":true,"description":"The retention period for logs in days. Valid values are between `0` and `99999`. Defaults to `0` (never delete)."}}},"maxItems":1},"application_insights_connection_string":{"type":"TypeString","optional":true,"description":"The Connection String for linking the Windows Function App to Application Insights."},"application_insights_key":{"type":"TypeString","optional":true,"description":"The Instrumentation Key for connecting the Windows Function App to Application Insights."},"application_stack":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"dotnet_version":{"type":"TypeString","optional":true,"default":"v4.0","description":"The version of .Net. Possible values are `v3.0`, `v4.0`, `v6.0` and `v7.0`"},"java_version":{"type":"TypeString","optional":true,"description":"The version of Java to use. Possible values are `1.8`, `11` and `17`"},"node_version":{"type":"TypeString","optional":true,"description":"The version of Node to use. Possible values include `12`, `14`, `16` and `18`"},"powershell_core_version":{"type":"TypeString","optional":true,"description":"The PowerShell Core version to use. Possible values are `7`, `7.2`, and `7.4`"},"use_custom_runtime":{"type":"TypeBool","optional":true,"description":"Does the Function App use a custom Application Stack?","computed":true},"use_dotnet_isolated_runtime":{"type":"TypeBool","optional":true,"description":"Should the DotNet process use an isolated runtime. Defaults to `false`.","computed":true}}},"maxItems":1},"auto_swap_slot_name":{"type":"TypeString","optional":true},"cors":{"type":"TypeList","optional":true,"elem":{"schema":{"allowed_origins":{"type":"TypeSet","optional":true,"description":"Specifies a list of origins that should be allowed to make cross-origin calls.","elem":{"type":"TypeString"},"minItems":1},"support_credentials":{"type":"TypeBool","optional":true,"default":false,"description":"Are credentials allowed in CORS requests? Defaults to `false`."}}},"maxItems":1},"default_documents":{"type":"TypeList","optional":true,"description":"Specifies a list of Default Documents for the Windows Web App.","computed":true,"elem":{"type":"TypeString"}},"detailed_error_logging_enabled":{"type":"TypeBool","description":"Is detailed error logging enabled","computed":true},"elastic_instance_minimum":{"type":"TypeInt","optional":true,"description":"The number of minimum instances for this Windows Function App. Only affects apps on Elastic Premium plans.","computed":true},"ftps_state":{"type":"TypeString","optional":true,"default":"Disabled","description":"State of FTP / FTPS service for this function app. Possible values include: `AllAllowed`, `FtpsOnly` and `Disabled`. Defaults to `Disabled`."},"health_check_eviction_time_in_min":{"type":"TypeInt","optional":true,"default":0,"description":"The amount of time in minutes that a node is unhealthy before being removed from the load balancer. Possible values are between `2` and `10`. Defaults to `10`. Only valid in conjunction with `health_check_path`"},"health_check_path":{"type":"TypeString","optional":true,"description":"The path to be checked for this function app health."},"http2_enabled":{"type":"TypeBool","optional":true,"default":false,"description":"Specifies if the http2 protocol should be enabled. Defaults to `false`."},"ip_restriction":{"type":"TypeList","optional":true,"elem":{"schema":{"action":{"type":"TypeString","optional":true,"default":"Allow","description":"The action to take. Possible values are `Allow` or `Deny`."},"description":{"type":"TypeString","optional":true,"description":"The description of the IP restriction rule."},"headers":{"type":"TypeList","configMode":"Auto","optional":true,"elem":{"schema":{"x_azure_fdid":{"type":"TypeList","optional":true,"description":"Specifies a list of Azure Front Door IDs.","elem":{"type":"TypeString"},"maxItems":8},"x_fd_health_probe":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"maxItems":1},"x_forwarded_for":{"type":"TypeList","optional":true,"description":"Specifies a list of addresses for which matching should be applied. Omitting this value means allow any.","elem":{"type":"TypeString"},"maxItems":8},"x_forwarded_host":{"type":"TypeList","optional":true,"description":"Specifies a list of Hosts for which matching should be applied.","elem":{"type":"TypeString"},"maxItems":8}}},"maxItems":1},"ip_address":{"type":"TypeString","optional":true,"description":"The CIDR notation of the IP or IP Range to match. For example: `10.0.0.0/24` or `192.168.10.1/32` or `fe80::/64` or `13.107.6.152/31,13.107.128.0/22`"},"name":{"type":"TypeString","optional":true,"description":"The name which should be used for this `ip_restriction`.","computed":true},"priority":{"type":"TypeInt","optional":true,"default":65000,"description":"The priority value of this `ip_restriction`."},"service_tag":{"type":"TypeString","optional":true,"description":"The Service Tag used for this IP Restriction."},"virtual_network_subnet_id":{"type":"TypeString","optional":true,"description":"The Virtual Network Subnet ID used for this IP Restriction."}}}},"ip_restriction_default_action":{"type":"TypeString","optional":true,"default":"Allow"},"load_balancing_mode":{"type":"TypeString","optional":true,"default":"LeastRequests","description":"The Site load balancing mode. Possible values include: `WeightedRoundRobin`, `LeastRequests`, `LeastResponseTime`, `WeightedTotalTraffic`, `RequestHash`, `PerSiteRoundRobin`. Defaults to `LeastRequests` if omitted."},"managed_pipeline_mode":{"type":"TypeString","optional":true,"default":"Integrated","description":"The Managed Pipeline mode. Possible values include: `Integrated`, `Classic`. Defaults to `Integrated`."},"minimum_tls_version":{"type":"TypeString","optional":true,"default":"1.2","description":"The configures the minimum version of TLS required for SSL requests. Possible values include: `1.0`, `1.1`, and `1.2`. Defaults to `1.2`."},"pre_warmed_instance_count":{"type":"TypeInt","optional":true,"description":"The number of pre-warmed instances for this function app. Only affects apps on an Elastic Premium plan.","computed":true},"remote_debugging_enabled":{"type":"TypeBool","optional":true,"default":false,"description":"Should Remote Debugging be enabled. Defaults to `false`."},"remote_debugging_version":{"type":"TypeString","optional":true,"description":"The Remote Debugging Version. Possible values include `VS2017`, `VS2019`, and `VS2022`","computed":true},"runtime_scale_monitoring_enabled":{"type":"TypeBool","optional":true,"description":"Should Functions Runtime Scale Monitoring be enabled."},"scm_ip_restriction":{"type":"TypeList","optional":true,"elem":{"schema":{"action":{"type":"TypeString","optional":true,"default":"Allow","description":"The action to take. Possible values are `Allow` or `Deny`."},"description":{"type":"TypeString","optional":true,"description":"The description of the IP restriction rule."},"headers":{"type":"TypeList","configMode":"Auto","optional":true,"elem":{"schema":{"x_azure_fdid":{"type":"TypeList","optional":true,"description":"Specifies a list of Azure Front Door IDs.","elem":{"type":"TypeString"},"maxItems":8},"x_fd_health_probe":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"maxItems":1},"x_forwarded_for":{"type":"TypeList","optional":true,"description":"Specifies a list of addresses for which matching should be applied. Omitting this value means allow any.","elem":{"type":"TypeString"},"maxItems":8},"x_forwarded_host":{"type":"TypeList","optional":true,"description":"Specifies a list of Hosts for which matching should be applied.","elem":{"type":"TypeString"},"maxItems":8}}},"maxItems":1},"ip_address":{"type":"TypeString","optional":true,"description":"The CIDR notation of the IP or IP Range to match. For example: `10.0.0.0/24` or `192.168.10.1/32` or `fe80::/64` or `13.107.6.152/31,13.107.128.0/22`"},"name":{"type":"TypeString","optional":true,"description":"The name which should be used for this `ip_restriction`.","computed":true},"priority":{"type":"TypeInt","optional":true,"default":65000,"description":"The priority value of this `ip_restriction`."},"service_tag":{"type":"TypeString","optional":true,"description":"The Service Tag used for this IP Restriction."},"virtual_network_subnet_id":{"type":"TypeString","optional":true,"description":"The Virtual Network Subnet ID used for this IP Restriction."}}}},"scm_ip_restriction_default_action":{"type":"TypeString","optional":true,"default":"Allow"},"scm_minimum_tls_version":{"type":"TypeString","optional":true,"default":"1.2","description":"Configures the minimum version of TLS required for SSL requests to the SCM site Possible values include: `1.0`, `1.1`, and `1.2`. Defaults to `1.2`."},"scm_type":{"type":"TypeString","description":"The SCM Type in use by the Windows Function App.","computed":true},"scm_use_main_ip_restriction":{"type":"TypeBool","optional":true,"default":false,"description":"Should the Windows Function App `ip_restriction` configuration be used for the SCM also."},"use_32_bit_worker":{"type":"TypeBool","optional":true,"default":true,"description":"Should the Windows Function App use a 32-bit worker."},"vnet_route_all_enabled":{"type":"TypeBool","optional":true,"default":false,"description":"Should all outbound traffic to have Virtual Network Security Groups and User Defined Routes applied? Defaults to `false`."},"websockets_enabled":{"type":"TypeBool","optional":true,"default":false,"description":"Should Web Sockets be enabled. Defaults to `false`."},"windows_fx_version":{"type":"TypeString","description":"The Windows FX Version string.","computed":true},"worker_count":{"type":"TypeInt","optional":true,"description":"The number of Workers for this Windows Function App.","computed":true}}},"maxItems":1},"site_credential":{"type":"TypeList","computed":true,"elem":{"schema":{"name":{"type":"TypeString","description":"The Site Credentials Username used for publishing.","computed":true},"password":{"type":"TypeString","description":"The Site Credentials Password used for publishing.","computed":true}}}},"storage_account":{"type":"TypeSet","optional":true,"elem":{"schema":{"access_key":{"type":"TypeString","required":true},"account_name":{"type":"TypeString","required":true},"mount_path":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true},"share_name":{"type":"TypeString","required":true},"type":{"type":"TypeString","required":true}}}},"storage_account_access_key":{"type":"TypeString","optional":true,"description":"The access key which will be used to access the storage account for the Function App Slot."},"storage_account_name":{"type":"TypeString","optional":true,"description":"The backend storage account name which will be used by this Function App Slot."},"storage_key_vault_secret_id":{"type":"TypeString","optional":true,"description":"The Key Vault Secret ID, including version, that contains the Connection String to connect to the storage account for this Function App."},"storage_uses_managed_identity":{"type":"TypeBool","optional":true,"default":false,"description":"Should the Function App Slot use its Managed Identity to access storage?"},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"virtual_network_subnet_id":{"type":"TypeString","optional":true},"vnet_image_pull_enabled":{"type":"TypeBool","optional":true,"default":false,"description":"Is container image pull over virtual network enabled? Defaults to `false`."},"webdeploy_publish_basic_authentication_enabled":{"type":"TypeBool","optional":true,"default":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_windows_virtual_machine":{"schema":{"additional_capabilities":{"type":"TypeList","optional":true,"elem":{"schema":{"hibernation_enabled":{"type":"TypeBool","optional":true,"default":false},"ultra_ssd_enabled":{"type":"TypeBool","optional":true,"default":false}}},"maxItems":1},"additional_unattend_content":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"content":{"type":"TypeString","required":true,"forceNew":true},"setting":{"type":"TypeString","required":true,"forceNew":true}}}},"admin_password":{"type":"TypeString","required":true,"forceNew":true},"admin_username":{"type":"TypeString","required":true,"forceNew":true},"allow_extension_operations":{"type":"TypeBool","optional":true,"default":true},"availability_set_id":{"type":"TypeString","optional":true,"forceNew":true},"boot_diagnostics":{"type":"TypeList","optional":true,"elem":{"schema":{"storage_account_uri":{"type":"TypeString","optional":true}}},"maxItems":1},"bypass_platform_safety_checks_on_user_schedule_enabled":{"type":"TypeBool","optional":true,"default":false},"capacity_reservation_group_id":{"type":"TypeString","optional":true},"computer_name":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"custom_data":{"type":"TypeString","optional":true,"forceNew":true},"dedicated_host_group_id":{"type":"TypeString","optional":true},"dedicated_host_id":{"type":"TypeString","optional":true},"disk_controller_type":{"type":"TypeString","optional":true,"computed":true},"edge_zone":{"type":"TypeString","optional":true,"forceNew":true},"enable_automatic_updates":{"type":"TypeBool","optional":true,"default":true,"forceNew":true},"encryption_at_host_enabled":{"type":"TypeBool","optional":true},"eviction_policy":{"type":"TypeString","optional":true,"forceNew":true},"extensions_time_budget":{"type":"TypeString","optional":true,"default":"PT1H30M"},"gallery_application":{"type":"TypeList","optional":true,"elem":{"schema":{"automatic_upgrade_enabled":{"type":"TypeBool","optional":true,"default":false},"configuration_blob_uri":{"type":"TypeString","optional":true},"order":{"type":"TypeInt","optional":true,"default":0},"tag":{"type":"TypeString","optional":true},"treat_failure_as_deployment_failure_enabled":{"type":"TypeBool","optional":true,"default":false},"version_id":{"type":"TypeString","required":true}}},"maxItems":100},"hotpatching_enabled":{"type":"TypeBool","optional":true,"default":false},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"license_type":{"type":"TypeString","optional":true},"location":{"type":"TypeString","required":true,"forceNew":true},"max_bid_price":{"type":"TypeFloat","optional":true,"default":-1},"name":{"type":"TypeString","required":true,"forceNew":true},"network_interface_ids":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"minItems":1},"os_disk":{"type":"TypeList","required":true,"elem":{"schema":{"caching":{"type":"TypeString","required":true},"diff_disk_settings":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"option":{"type":"TypeString","required":true,"forceNew":true},"placement":{"type":"TypeString","optional":true,"default":"CacheDisk","forceNew":true}}},"maxItems":1},"disk_encryption_set_id":{"type":"TypeString","optional":true},"disk_size_gb":{"type":"TypeInt","optional":true,"computed":true},"name":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"secure_vm_disk_encryption_set_id":{"type":"TypeString","optional":true,"forceNew":true},"security_encryption_type":{"type":"TypeString","optional":true,"forceNew":true},"storage_account_type":{"type":"TypeString","required":true,"forceNew":true},"write_accelerator_enabled":{"type":"TypeBool","optional":true,"default":false}}},"maxItems":1},"os_image_notification":{"type":"TypeList","optional":true,"elem":{"schema":{"timeout":{"type":"TypeString","optional":true,"default":"PT15M"}}},"maxItems":1},"patch_assessment_mode":{"type":"TypeString","optional":true,"default":"ImageDefault"},"patch_mode":{"type":"TypeString","optional":true,"default":"AutomaticByOS"},"plan":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"name":{"type":"TypeString","required":true,"forceNew":true},"product":{"type":"TypeString","required":true,"forceNew":true},"publisher":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"platform_fault_domain":{"type":"TypeInt","optional":true,"default":-1,"forceNew":true},"priority":{"type":"TypeString","optional":true,"default":"Regular","forceNew":true},"private_ip_address":{"type":"TypeString","computed":true},"private_ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"provision_vm_agent":{"type":"TypeBool","optional":true,"default":true,"forceNew":true},"proximity_placement_group_id":{"type":"TypeString","optional":true},"public_ip_address":{"type":"TypeString","computed":true},"public_ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"reboot_setting":{"type":"TypeString","optional":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"secret":{"type":"TypeList","optional":true,"elem":{"schema":{"certificate":{"type":"TypeSet","required":true,"elem":{"schema":{"store":{"type":"TypeString","required":true},"url":{"type":"TypeString","required":true}}},"minItems":1},"key_vault_id":{"type":"TypeString","required":true}}}},"secure_boot_enabled":{"type":"TypeBool","optional":true,"forceNew":true},"size":{"type":"TypeString","required":true},"source_image_id":{"type":"TypeString","optional":true,"forceNew":true},"source_image_reference":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"offer":{"type":"TypeString","required":true,"forceNew":true},"publisher":{"type":"TypeString","required":true,"forceNew":true},"sku":{"type":"TypeString","required":true,"forceNew":true},"version":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"termination_notification":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"enabled":{"type":"TypeBool","required":true},"timeout":{"type":"TypeString","optional":true,"default":"PT5M"}}},"maxItems":1},"timezone":{"type":"TypeString","optional":true,"forceNew":true},"user_data":{"type":"TypeString","optional":true},"virtual_machine_id":{"type":"TypeString","computed":true},"virtual_machine_scale_set_id":{"type":"TypeString","optional":true},"vm_agent_platform_updates_enabled":{"type":"TypeBool","optional":true,"default":false},"vtpm_enabled":{"type":"TypeBool","optional":true,"forceNew":true},"winrm_listener":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"schema":{"certificate_url":{"type":"TypeString","optional":true,"forceNew":true},"protocol":{"type":"TypeString","required":true,"forceNew":true}}}},"zone":{"type":"TypeString","optional":true,"forceNew":true}},"timeouts":{"create":45,"read":5,"delete":45,"update":45}},"azurerm_windows_virtual_machine_scale_set":{"schema":{"additional_capabilities":{"type":"TypeList","optional":true,"elem":{"schema":{"ultra_ssd_enabled":{"type":"TypeBool","optional":true,"default":false,"forceNew":true}}},"maxItems":1},"additional_unattend_content":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"content":{"type":"TypeString","required":true,"forceNew":true},"setting":{"type":"TypeString","required":true,"forceNew":true}}}},"admin_password":{"type":"TypeString","required":true,"forceNew":true},"admin_username":{"type":"TypeString","required":true,"forceNew":true},"automatic_instance_repair":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"action":{"type":"TypeString","optional":true,"computed":true},"enabled":{"type":"TypeBool","required":true},"grace_period":{"type":"TypeString","optional":true,"computed":true}}},"maxItems":1},"automatic_os_upgrade_policy":{"type":"TypeList","optional":true,"elem":{"schema":{"disable_automatic_rollback":{"type":"TypeBool","required":true},"enable_automatic_os_upgrade":{"type":"TypeBool","required":true}}},"maxItems":1},"boot_diagnostics":{"type":"TypeList","optional":true,"elem":{"schema":{"storage_account_uri":{"type":"TypeString","optional":true}}},"maxItems":1},"capacity_reservation_group_id":{"type":"TypeString","optional":true,"forceNew":true},"computer_name_prefix":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"custom_data":{"type":"TypeString","optional":true},"data_disk":{"type":"TypeList","optional":true,"elem":{"schema":{"caching":{"type":"TypeString","required":true},"create_option":{"type":"TypeString","optional":true,"default":"Empty"},"disk_encryption_set_id":{"type":"TypeString","optional":true,"forceNew":true},"disk_size_gb":{"type":"TypeInt","required":true},"lun":{"type":"TypeInt","required":true},"name":{"type":"TypeString","optional":true},"storage_account_type":{"type":"TypeString","required":true},"ultra_ssd_disk_iops_read_write":{"type":"TypeInt","optional":true,"computed":true},"ultra_ssd_disk_mbps_read_write":{"type":"TypeInt","optional":true,"computed":true},"write_accelerator_enabled":{"type":"TypeBool","optional":true,"default":false}}}},"do_not_run_extensions_on_overprovisioned_machines":{"type":"TypeBool","optional":true,"default":false},"edge_zone":{"type":"TypeString","optional":true,"forceNew":true},"enable_automatic_updates":{"type":"TypeBool","optional":true,"default":true},"encryption_at_host_enabled":{"type":"TypeBool","optional":true},"eviction_policy":{"type":"TypeString","optional":true,"forceNew":true},"extension":{"type":"TypeSet","optional":true,"computed":true,"elem":{"schema":{"auto_upgrade_minor_version":{"type":"TypeBool","optional":true,"default":true},"automatic_upgrade_enabled":{"type":"TypeBool","optional":true,"default":false},"force_update_tag":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true},"protected_settings":{"type":"TypeString","optional":true},"protected_settings_from_key_vault":{"type":"TypeList","optional":true,"elem":{"schema":{"secret_url":{"type":"TypeString","required":true},"source_vault_id":{"type":"TypeString","required":true}}},"maxItems":1},"provision_after_extensions":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"publisher":{"type":"TypeString","required":true},"settings":{"type":"TypeString","optional":true},"type":{"type":"TypeString","required":true},"type_handler_version":{"type":"TypeString","required":true}}}},"extension_operations_enabled":{"type":"TypeBool","optional":true,"default":true,"forceNew":true},"extensions_time_budget":{"type":"TypeString","optional":true,"default":"PT1H30M"},"gallery_application":{"type":"TypeList","optional":true,"elem":{"schema":{"configuration_blob_uri":{"type":"TypeString","optional":true,"forceNew":true},"order":{"type":"TypeInt","optional":true,"default":0,"forceNew":true},"tag":{"type":"TypeString","optional":true,"forceNew":true},"version_id":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":100},"health_probe_id":{"type":"TypeString","optional":true},"host_group_id":{"type":"TypeString","optional":true,"forceNew":true},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"instances":{"type":"TypeInt","required":true},"license_type":{"type":"TypeString","optional":true},"location":{"type":"TypeString","required":true,"forceNew":true},"max_bid_price":{"type":"TypeFloat","optional":true,"default":-1},"name":{"type":"TypeString","required":true,"forceNew":true},"network_interface":{"type":"TypeList","required":true,"elem":{"schema":{"dns_servers":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"enable_accelerated_networking":{"type":"TypeBool","optional":true,"default":false},"enable_ip_forwarding":{"type":"TypeBool","optional":true,"default":false},"ip_configuration":{"type":"TypeList","required":true,"elem":{"schema":{"application_gateway_backend_address_pool_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"application_security_group_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":20},"load_balancer_backend_address_pool_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"load_balancer_inbound_nat_rules_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true},"primary":{"type":"TypeBool","optional":true,"default":false},"public_ip_address":{"type":"TypeList","optional":true,"elem":{"schema":{"domain_name_label":{"type":"TypeString","optional":true},"idle_timeout_in_minutes":{"type":"TypeInt","optional":true,"computed":true},"ip_tag":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"tag":{"type":"TypeString","required":true,"forceNew":true},"type":{"type":"TypeString","required":true,"forceNew":true}}}},"name":{"type":"TypeString","required":true},"public_ip_prefix_id":{"type":"TypeString","optional":true,"forceNew":true},"version":{"type":"TypeString","optional":true,"default":"IPv4","forceNew":true}}}},"subnet_id":{"type":"TypeString","optional":true},"version":{"type":"TypeString","optional":true,"default":"IPv4"}}}},"name":{"type":"TypeString","required":true,"forceNew":true},"network_security_group_id":{"type":"TypeString","optional":true},"primary":{"type":"TypeBool","optional":true,"default":false}}}},"os_disk":{"type":"TypeList","required":true,"elem":{"schema":{"caching":{"type":"TypeString","required":true},"diff_disk_settings":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"option":{"type":"TypeString","required":true,"forceNew":true},"placement":{"type":"TypeString","optional":true,"default":"CacheDisk","forceNew":true}}},"maxItems":1},"disk_encryption_set_id":{"type":"TypeString","optional":true,"forceNew":true},"disk_size_gb":{"type":"TypeInt","optional":true,"computed":true},"secure_vm_disk_encryption_set_id":{"type":"TypeString","optional":true,"forceNew":true},"security_encryption_type":{"type":"TypeString","optional":true,"forceNew":true},"storage_account_type":{"type":"TypeString","required":true,"forceNew":true},"write_accelerator_enabled":{"type":"TypeBool","optional":true,"default":false}}},"maxItems":1},"overprovision":{"type":"TypeBool","optional":true,"default":true},"plan":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"name":{"type":"TypeString","required":true,"forceNew":true},"product":{"type":"TypeString","required":true,"forceNew":true},"publisher":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"platform_fault_domain_count":{"type":"TypeInt","optional":true,"computed":true,"forceNew":true},"priority":{"type":"TypeString","optional":true,"default":"Regular","forceNew":true},"provision_vm_agent":{"type":"TypeBool","optional":true,"default":true,"forceNew":true},"proximity_placement_group_id":{"type":"TypeString","optional":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"rolling_upgrade_policy":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"cross_zone_upgrades_enabled":{"type":"TypeBool","optional":true},"max_batch_instance_percent":{"type":"TypeInt","required":true},"max_unhealthy_instance_percent":{"type":"TypeInt","required":true},"max_unhealthy_upgraded_instance_percent":{"type":"TypeInt","required":true},"maximum_surge_instances_enabled":{"type":"TypeBool","optional":true},"pause_time_between_batches":{"type":"TypeString","required":true},"prioritize_unhealthy_instances_enabled":{"type":"TypeBool","optional":true}}},"maxItems":1},"scale_in":{"type":"TypeList","optional":true,"elem":{"schema":{"force_deletion_enabled":{"type":"TypeBool","optional":true,"default":false},"rule":{"type":"TypeString","optional":true,"default":"Default"}}},"maxItems":1},"secret":{"type":"TypeList","optional":true,"elem":{"schema":{"certificate":{"type":"TypeSet","required":true,"elem":{"schema":{"store":{"type":"TypeString","required":true},"url":{"type":"TypeString","required":true}}},"minItems":1},"key_vault_id":{"type":"TypeString","required":true}}}},"secure_boot_enabled":{"type":"TypeBool","optional":true,"forceNew":true},"single_placement_group":{"type":"TypeBool","optional":true,"default":true},"sku":{"type":"TypeString","required":true},"source_image_id":{"type":"TypeString","optional":true},"source_image_reference":{"type":"TypeList","optional":true,"elem":{"schema":{"offer":{"type":"TypeString","required":true,"forceNew":true},"publisher":{"type":"TypeString","required":true,"forceNew":true},"sku":{"type":"TypeString","required":true},"version":{"type":"TypeString","required":true}}},"maxItems":1},"spot_restore":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"enabled":{"type":"TypeBool","optional":true,"default":false,"forceNew":true},"timeout":{"type":"TypeString","optional":true,"default":"PT1H","forceNew":true}}},"maxItems":1},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"termination_notification":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"enabled":{"type":"TypeBool","required":true},"timeout":{"type":"TypeString","optional":true,"default":"PT5M"}}},"maxItems":1},"timezone":{"type":"TypeString","optional":true},"unique_id":{"type":"TypeString","computed":true},"upgrade_mode":{"type":"TypeString","optional":true,"default":"Manual","forceNew":true},"user_data":{"type":"TypeString","optional":true},"vtpm_enabled":{"type":"TypeBool","optional":true,"forceNew":true},"winrm_listener":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"schema":{"certificate_url":{"type":"TypeString","optional":true,"forceNew":true},"protocol":{"type":"TypeString","required":true,"forceNew":true}}}},"zone_balance":{"type":"TypeBool","optional":true,"default":false,"forceNew":true},"zones":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":60,"read":5,"delete":60,"update":60}},"azurerm_windows_web_app":{"schema":{"app_settings":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"auth_settings":{"type":"TypeList","optional":true,"elem":{"schema":{"active_directory":{"type":"TypeList","optional":true,"elem":{"schema":{"allowed_audiences":{"type":"TypeList","optional":true,"description":"Specifies a list of Allowed audience values to consider when validating JWTs issued by Azure Active Directory.","elem":{"type":"TypeString"}},"client_id":{"type":"TypeString","required":true,"description":"The ID of the Client to use to authenticate with Azure Active Directory."},"client_secret":{"type":"TypeString","optional":true,"description":"The Client Secret for the Client ID. Cannot be used with `client_secret_setting_name`."},"client_secret_setting_name":{"type":"TypeString","optional":true,"description":"The App Setting name that contains the client secret of the Client. Cannot be used with `client_secret`."}}},"maxItems":1},"additional_login_parameters":{"type":"TypeMap","optional":true,"description":"Specifies a map of Login Parameters to send to the OpenID Connect authorization endpoint when a user logs in.","elem":{"type":"TypeString"}},"allowed_external_redirect_urls":{"type":"TypeList","optional":true,"description":"Specifies a list of External URLs that can be redirected to as part of logging in or logging out of the Windows Web App.","computed":true,"elem":{"type":"TypeString"}},"default_provider":{"type":"TypeString","optional":true,"description":"The default authentication provider to use when multiple providers are configured. Possible values include: `AzureActiveDirectory`, `Facebook`, `Google`, `MicrosoftAccount`, `Twitter`, `Github`.","computed":true},"enabled":{"type":"TypeBool","required":true,"description":"Should the Authentication / Authorization feature be enabled?"},"facebook":{"type":"TypeList","optional":true,"elem":{"schema":{"app_id":{"type":"TypeString","required":true,"description":"The App ID of the Facebook app used for login."},"app_secret":{"type":"TypeString","optional":true,"description":"The App Secret of the Facebook app used for Facebook Login. Cannot be specified with `app_secret_setting_name`."},"app_secret_setting_name":{"type":"TypeString","optional":true,"description":"The app setting name that contains the `app_secret` value used for Facebook Login. Cannot be specified with `app_secret`."},"oauth_scopes":{"type":"TypeList","optional":true,"description":"Specifies a list of OAuth 2.0 scopes to be requested as part of Facebook Login authentication.","elem":{"type":"TypeString"}}}},"maxItems":1},"github":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","required":true,"description":"The ID of the GitHub app used for login."},"client_secret":{"type":"TypeString","optional":true,"description":"The Client Secret of the GitHub app used for GitHub Login. Cannot be specified with `client_secret_setting_name`."},"client_secret_setting_name":{"type":"TypeString","optional":true,"description":"The app setting name that contains the `client_secret` value used for GitHub Login. Cannot be specified with `client_secret`."},"oauth_scopes":{"type":"TypeList","optional":true,"description":"Specifies a list of OAuth 2.0 scopes that will be requested as part of GitHub Login authentication.","elem":{"type":"TypeString"}}}},"maxItems":1},"google":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","required":true,"description":"The OpenID Connect Client ID for the Google web application."},"client_secret":{"type":"TypeString","optional":true,"description":"The client secret associated with the Google web application. Cannot be specified with `client_secret_setting_name`."},"client_secret_setting_name":{"type":"TypeString","optional":true,"description":"The app setting name that contains the `client_secret` value used for Google Login. Cannot be specified with `client_secret`."},"oauth_scopes":{"type":"TypeList","optional":true,"description":"Specifies a list of OAuth 2.0 scopes that will be requested as part of Google Sign-In authentication. If not specified, \"openid\", \"profile\", and \"email\" are used as default scopes.","elem":{"type":"TypeString"}}}},"maxItems":1},"issuer":{"type":"TypeString","optional":true,"description":"The OpenID Connect Issuer URI that represents the entity which issues access tokens."},"microsoft":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","required":true,"description":"The OAuth 2.0 client ID that was created for the app used for authentication."},"client_secret":{"type":"TypeString","optional":true,"description":"The OAuth 2.0 client secret that was created for the app used for authentication. Cannot be specified with `client_secret_setting_name`."},"client_secret_setting_name":{"type":"TypeString","optional":true,"description":"The app setting name containing the OAuth 2.0 client secret that was created for the app used for authentication. Cannot be specified with `client_secret`."},"oauth_scopes":{"type":"TypeList","optional":true,"description":"The list of OAuth 2.0 scopes that will be requested as part of Microsoft Account authentication. If not specified, `wl.basic` is used as the default scope.","elem":{"type":"TypeString"}}}},"maxItems":1},"runtime_version":{"type":"TypeString","optional":true,"description":"The RuntimeVersion of the Authentication / Authorization feature in use.","computed":true},"token_refresh_extension_hours":{"type":"TypeFloat","optional":true,"default":72,"description":"The number of hours after session token expiration that a session token can be used to call the token refresh API. Defaults to `72` hours."},"token_store_enabled":{"type":"TypeBool","optional":true,"default":false,"description":"Should the Windows Web App durably store platform-specific security tokens that are obtained during login flows? Defaults to `false`."},"twitter":{"type":"TypeList","optional":true,"elem":{"schema":{"consumer_key":{"type":"TypeString","required":true,"description":"The OAuth 1.0a consumer key of the Twitter application used for sign-in."},"consumer_secret":{"type":"TypeString","optional":true,"description":"The OAuth 1.0a consumer secret of the Twitter application used for sign-in. Cannot be specified with `consumer_secret_setting_name`."},"consumer_secret_setting_name":{"type":"TypeString","optional":true,"description":"The app setting name that contains the OAuth 1.0a consumer secret of the Twitter application used for sign-in. Cannot be specified with `consumer_secret`."}}},"maxItems":1},"unauthenticated_client_action":{"type":"TypeString","optional":true,"description":"The action to take when an unauthenticated client attempts to access the app. Possible values include: `RedirectToLoginPage`, `AllowAnonymous`.","computed":true}}},"maxItems":1},"auth_settings_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"active_directory_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"allowed_applications":{"type":"TypeList","optional":true,"description":"The list of allowed Applications for the Default Authorisation Policy.","elem":{"type":"TypeString"}},"allowed_audiences":{"type":"TypeList","optional":true,"description":"Specifies a list of Allowed audience values to consider when validating JWTs issued by Azure Active Directory.","elem":{"type":"TypeString"}},"allowed_groups":{"type":"TypeList","optional":true,"description":"The list of allowed Group Names for the Default Authorisation Policy.","elem":{"type":"TypeString"}},"allowed_identities":{"type":"TypeList","optional":true,"description":"The list of allowed Identities for the Default Authorisation Policy.","elem":{"type":"TypeString"}},"client_id":{"type":"TypeString","required":true,"description":"The ID of the Client to use to authenticate with Azure Active Directory."},"client_secret_certificate_thumbprint":{"type":"TypeString","optional":true,"description":"The thumbprint of the certificate used for signing purposes."},"client_secret_setting_name":{"type":"TypeString","optional":true,"description":"The App Setting name that contains the client secret of the Client."},"jwt_allowed_client_applications":{"type":"TypeList","optional":true,"description":"A list of Allowed Client Applications in the JWT Claim.","elem":{"type":"TypeString"}},"jwt_allowed_groups":{"type":"TypeList","optional":true,"description":"A list of Allowed Groups in the JWT Claim.","elem":{"type":"TypeString"}},"login_parameters":{"type":"TypeMap","optional":true,"description":"A map of key-value pairs to send to the Authorisation Endpoint when a user logs in.","elem":{"type":"TypeString"}},"tenant_auth_endpoint":{"type":"TypeString","required":true,"description":"The Azure Tenant Endpoint for the Authenticating Tenant. e.g. `https://login.microsoftonline.com/v2.0/{tenant-guid}/`."},"www_authentication_disabled":{"type":"TypeBool","optional":true,"description":"Should the www-authenticate provider should be omitted from the request? Defaults to `false`"}}},"maxItems":1},"apple_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","required":true,"description":"The OpenID Connect Client ID for the Apple web application."},"client_secret_setting_name":{"type":"TypeString","required":true,"description":"The app setting name that contains the `client_secret` value used for Apple Login."},"login_scopes":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"auth_enabled":{"type":"TypeBool","optional":true,"description":"Should the AuthV2 Settings be enabled. Defaults to `false`"},"azure_static_web_app_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","required":true,"description":"The ID of the Client to use to authenticate with Azure Static Web App Authentication."}}},"maxItems":1},"config_file_path":{"type":"TypeString","optional":true,"description":"The path to the App Auth settings. **Note:** Relative Paths are evaluated from the Site Root directory."},"custom_oidc_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"authorisation_endpoint":{"type":"TypeString","description":"The endpoint to make the Authorisation Request.","computed":true},"certification_uri":{"type":"TypeString","description":"The endpoint that provides the keys necessary to validate the token.","computed":true},"client_credential_method":{"type":"TypeString","description":"The Client Credential Method used. Currently the only supported value is `ClientSecretPost`.","computed":true},"client_id":{"type":"TypeString","required":true,"description":"The ID of the Client to use to authenticate with this Custom OIDC."},"client_secret_setting_name":{"type":"TypeString","description":"The App Setting name that contains the secret for this Custom OIDC Client.","computed":true},"issuer_endpoint":{"type":"TypeString","description":"The endpoint that issued the Token.","computed":true},"name":{"type":"TypeString","required":true,"description":"The name of the Custom OIDC Authentication Provider."},"name_claim_type":{"type":"TypeString","optional":true,"description":"The name of the claim that contains the users name."},"openid_configuration_endpoint":{"type":"TypeString","required":true,"description":"The endpoint that contains all the configuration endpoints for this Custom OIDC provider."},"scopes":{"type":"TypeList","optional":true,"description":"The list of the scopes that should be requested while authenticating.","elem":{"type":"TypeString"}},"token_endpoint":{"type":"TypeString","description":"The endpoint used to request a Token.","computed":true}}}},"default_provider":{"type":"TypeString","optional":true,"description":"The Default Authentication Provider to use when the `unauthenticated_action` is set to `RedirectToLoginPage`. Possible values include: `apple`, `azureactivedirectory`, `facebook`, `github`, `google`, `twitter` and the `name` of your `custom_oidc_v2` provider."},"excluded_paths":{"type":"TypeList","optional":true,"description":"The paths which should be excluded from the `unauthenticated_action` when it is set to `RedirectToLoginPage`.","elem":{"type":"TypeString"}},"facebook_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"app_id":{"type":"TypeString","required":true,"description":"The App ID of the Facebook app used for login."},"app_secret_setting_name":{"type":"TypeString","required":true,"description":"The app setting name that contains the `app_secret` value used for Facebook Login."},"graph_api_version":{"type":"TypeString","optional":true,"description":"The version of the Facebook API to be used while logging in.","computed":true},"login_scopes":{"type":"TypeList","optional":true,"description":"Specifies a list of scopes to be requested as part of Facebook Login authentication.","elem":{"type":"TypeString"}}}},"maxItems":1},"forward_proxy_convention":{"type":"TypeString","optional":true,"default":"NoProxy","description":"The convention used to determine the url of the request made. Possible values include `ForwardProxyConventionNoProxy`, `ForwardProxyConventionStandard`, `ForwardProxyConventionCustom`. Defaults to `ForwardProxyConventionNoProxy`"},"forward_proxy_custom_host_header_name":{"type":"TypeString","optional":true,"description":"The name of the header containing the host of the request."},"forward_proxy_custom_scheme_header_name":{"type":"TypeString","optional":true,"description":"The name of the header containing the scheme of the request."},"github_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","required":true,"description":"The ID of the GitHub app used for login."},"client_secret_setting_name":{"type":"TypeString","required":true,"description":"The app setting name that contains the `client_secret` value used for GitHub Login."},"login_scopes":{"type":"TypeList","optional":true,"description":"Specifies a list of OAuth 2.0 scopes that will be requested as part of GitHub Login authentication.","elem":{"type":"TypeString"}}}},"maxItems":1},"google_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"allowed_audiences":{"type":"TypeList","optional":true,"description":"Specifies a list of Allowed Audiences that will be requested as part of Google Sign-In authentication.","elem":{"type":"TypeString"}},"client_id":{"type":"TypeString","required":true,"description":"The OpenID Connect Client ID for the Google web application."},"client_secret_setting_name":{"type":"TypeString","required":true,"description":"The app setting name that contains the `client_secret` value used for Google Login."},"login_scopes":{"type":"TypeList","optional":true,"description":"Specifies a list of Login scopes that will be requested as part of Google Sign-In authentication.","elem":{"type":"TypeString"}}}},"maxItems":1},"http_route_api_prefix":{"type":"TypeString","optional":true,"default":"/.auth","description":"The prefix that should precede all the authentication and authorisation paths. Defaults to `/.auth`"},"login":{"type":"TypeList","required":true,"elem":{"schema":{"allowed_external_redirect_urls":{"type":"TypeList","optional":true,"description":"External URLs that can be redirected to as part of logging in or logging out of the app. This is an advanced setting typically only needed by Windows Store application backends. **Note:** URLs within the current domain are always implicitly allowed.","elem":{"type":"TypeString"}},"cookie_expiration_convention":{"type":"TypeString","optional":true,"default":"FixedTime","description":"The method by which cookies expire. Possible values include: `FixedTime`, and `IdentityProviderDerived`. Defaults to `FixedTime`."},"cookie_expiration_time":{"type":"TypeString","optional":true,"default":"08:00:00","description":"The time after the request is made when the session cookie should expire. Defaults to `08:00:00`."},"logout_endpoint":{"type":"TypeString","optional":true,"description":"The endpoint to which logout requests should be made."},"nonce_expiration_time":{"type":"TypeString","optional":true,"default":"00:05:00","description":"The time after the request is made when the nonce should expire. Defaults to `00:05:00`."},"preserve_url_fragments_for_logins":{"type":"TypeBool","optional":true,"default":false,"description":"Should the fragments from the request be preserved after the login request is made. Defaults to `false`."},"token_refresh_extension_time":{"type":"TypeFloat","optional":true,"default":72,"description":"The number of hours after session token expiration that a session token can be used to call the token refresh API. Defaults to `72` hours."},"token_store_enabled":{"type":"TypeBool","optional":true,"default":false,"description":"Should the Token Store configuration Enabled. Defaults to `false`"},"token_store_path":{"type":"TypeString","optional":true,"description":"The directory path in the App Filesystem in which the tokens will be stored."},"token_store_sas_setting_name":{"type":"TypeString","optional":true,"description":"The name of the app setting which contains the SAS URL of the blob storage containing the tokens."},"validate_nonce":{"type":"TypeBool","optional":true,"default":true,"description":"Should the nonce be validated while completing the login flow. Defaults to `true`."}}},"maxItems":1},"microsoft_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"allowed_audiences":{"type":"TypeList","optional":true,"description":"Specifies a list of Allowed Audiences that will be requested as part of Microsoft Sign-In authentication.","elem":{"type":"TypeString"}},"client_id":{"type":"TypeString","required":true,"description":"The OAuth 2.0 client ID that was created for the app used for authentication."},"client_secret_setting_name":{"type":"TypeString","required":true,"description":"The app setting name containing the OAuth 2.0 client secret that was created for the app used for authentication."},"login_scopes":{"type":"TypeList","optional":true,"description":"The list of Login scopes that will be requested as part of Microsoft Account authentication.","elem":{"type":"TypeString"}}}},"maxItems":1},"require_authentication":{"type":"TypeBool","optional":true,"description":"Should the authentication flow be used for all requests."},"require_https":{"type":"TypeBool","optional":true,"default":true,"description":"Should HTTPS be required on connections? Defaults to true."},"runtime_version":{"type":"TypeString","optional":true,"default":"~1","description":"The Runtime Version of the Authentication and Authorisation feature of this App. Defaults to `~1`"},"twitter_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"consumer_key":{"type":"TypeString","required":true,"description":"The OAuth 1.0a consumer key of the Twitter application used for sign-in."},"consumer_secret_setting_name":{"type":"TypeString","required":true,"description":"The app setting name that contains the OAuth 1.0a consumer secret of the Twitter application used for sign-in."}}},"maxItems":1},"unauthenticated_action":{"type":"TypeString","optional":true,"default":"RedirectToLoginPage","description":"The action to take for requests made without authentication. Possible values include `RedirectToLoginPage`, `AllowAnonymous`, `Return401`, and `Return403`. Defaults to `RedirectToLoginPage`."}}},"maxItems":1},"backup":{"type":"TypeList","optional":true,"elem":{"schema":{"enabled":{"type":"TypeBool","optional":true,"default":true,"description":"Should this backup job be enabled?"},"name":{"type":"TypeString","required":true,"description":"The name which should be used for this Backup."},"schedule":{"type":"TypeList","required":true,"elem":{"schema":{"frequency_interval":{"type":"TypeInt","required":true,"description":"How often the backup should be executed (e.g. for weekly backup, this should be set to `7` and `frequency_unit` should be set to `Day`)."},"frequency_unit":{"type":"TypeString","required":true,"description":"The unit of time for how often the backup should take place. Possible values include: `Day` and `Hour`."},"keep_at_least_one_backup":{"type":"TypeBool","optional":true,"default":false,"description":"Should the service keep at least one backup, regardless of age of backup. Defaults to `false`."},"last_execution_time":{"type":"TypeString","description":"The time the backup was last attempted.","computed":true},"retention_period_days":{"type":"TypeInt","optional":true,"default":30,"description":"After how many days backups should be deleted."},"start_time":{"type":"TypeString","optional":true,"description":"When the schedule should start working in RFC-3339 format.","computed":true}}},"maxItems":1},"storage_account_url":{"type":"TypeString","required":true,"description":"The SAS URL to the container."}}},"maxItems":1},"client_affinity_enabled":{"type":"TypeBool","optional":true,"default":false},"client_certificate_enabled":{"type":"TypeBool","optional":true,"default":false},"client_certificate_exclusion_paths":{"type":"TypeString","optional":true,"description":"Paths to exclude when using client certificates, separated by ;"},"client_certificate_mode":{"type":"TypeString","optional":true,"default":"Required"},"connection_string":{"type":"TypeSet","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true,"description":"The name which should be used for this Connection."},"type":{"type":"TypeString","required":true,"description":"Type of database. Possible values include: `MySQL`, `SQLServer`, `SQLAzure`, `Custom`, `NotificationHub`, `ServiceBus`, `EventHub`, `APIHub`, `DocDb`, `RedisCache`, and `PostgreSQL`."},"value":{"type":"TypeString","required":true,"description":"The connection string value."}}}},"custom_domain_verification_id":{"type":"TypeString","computed":true},"default_hostname":{"type":"TypeString","computed":true},"enabled":{"type":"TypeBool","optional":true,"default":true},"ftp_publish_basic_authentication_enabled":{"type":"TypeBool","optional":true,"default":true},"hosting_environment_id":{"type":"TypeString","computed":true},"https_only":{"type":"TypeBool","optional":true,"default":false},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"key_vault_reference_identity_id":{"type":"TypeString","optional":true,"computed":true},"kind":{"type":"TypeString","computed":true},"location":{"type":"TypeString","required":true,"forceNew":true},"logs":{"type":"TypeList","optional":true,"elem":{"schema":{"application_logs":{"type":"TypeList","optional":true,"elem":{"schema":{"azure_blob_storage":{"type":"TypeList","optional":true,"elem":{"schema":{"level":{"type":"TypeString","required":true},"retention_in_days":{"type":"TypeInt","required":true},"sas_url":{"type":"TypeString","required":true}}},"maxItems":1},"file_system_level":{"type":"TypeString","required":true}}},"maxItems":1},"detailed_error_messages":{"type":"TypeBool","optional":true,"default":false},"failed_request_tracing":{"type":"TypeBool","optional":true,"default":false},"http_logs":{"type":"TypeList","optional":true,"elem":{"schema":{"azure_blob_storage":{"type":"TypeList","optional":true,"elem":{"schema":{"retention_in_days":{"type":"TypeInt","optional":true,"default":0},"sas_url":{"type":"TypeString","required":true}}},"maxItems":1},"file_system":{"type":"TypeList","optional":true,"elem":{"schema":{"retention_in_days":{"type":"TypeInt","required":true},"retention_in_mb":{"type":"TypeInt","required":true}}},"maxItems":1}}},"maxItems":1}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"outbound_ip_address_list":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"outbound_ip_addresses":{"type":"TypeString","computed":true},"possible_outbound_ip_address_list":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"possible_outbound_ip_addresses":{"type":"TypeString","computed":true},"public_network_access_enabled":{"type":"TypeBool","optional":true,"default":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"service_plan_id":{"type":"TypeString","required":true},"site_config":{"type":"TypeList","required":true,"elem":{"schema":{"always_on":{"type":"TypeBool","optional":true,"default":true},"api_definition_url":{"type":"TypeString","optional":true},"api_management_api_id":{"type":"TypeString","optional":true},"app_command_line":{"type":"TypeString","optional":true},"application_stack":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"current_stack":{"type":"TypeString","optional":true,"computed":true},"docker_image_name":{"type":"TypeString","optional":true},"docker_registry_password":{"type":"TypeString","optional":true},"docker_registry_url":{"type":"TypeString","optional":true},"docker_registry_username":{"type":"TypeString","optional":true},"dotnet_core_version":{"type":"TypeString","optional":true,"description":"The version of DotNetCore to use."},"dotnet_version":{"type":"TypeString","optional":true,"computed":true},"java_container":{"type":"TypeString","optional":true},"java_container_version":{"type":"TypeString","optional":true},"java_embedded_server_enabled":{"type":"TypeBool","optional":true,"description":"Should the application use the embedded web server for the version of Java in use.","computed":true},"java_version":{"type":"TypeString","optional":true},"node_version":{"type":"TypeString","optional":true},"php_version":{"type":"TypeString","optional":true,"computed":true},"python":{"type":"TypeBool","optional":true,"default":false},"tomcat_version":{"type":"TypeString","optional":true}}},"maxItems":1},"auto_heal_setting":{"type":"TypeList","optional":true,"elem":{"schema":{"action":{"type":"TypeList","required":true,"elem":{"schema":{"action_type":{"type":"TypeString","required":true},"custom_action":{"type":"TypeList","optional":true,"elem":{"schema":{"executable":{"type":"TypeString","required":true},"parameters":{"type":"TypeString","optional":true}}},"maxItems":1},"minimum_process_execution_time":{"type":"TypeString","optional":true,"computed":true}}},"maxItems":1},"trigger":{"type":"TypeList","required":true,"elem":{"schema":{"private_memory_kb":{"type":"TypeInt","optional":true},"requests":{"type":"TypeList","optional":true,"elem":{"schema":{"count":{"type":"TypeInt","required":true},"interval":{"type":"TypeString","required":true}}},"maxItems":1},"slow_request":{"type":"TypeList","optional":true,"elem":{"schema":{"count":{"type":"TypeInt","required":true},"interval":{"type":"TypeString","required":true},"time_taken":{"type":"TypeString","required":true}}},"maxItems":1},"slow_request_with_path":{"type":"TypeList","optional":true,"elem":{"schema":{"count":{"type":"TypeInt","required":true},"interval":{"type":"TypeString","required":true},"path":{"type":"TypeString","optional":true},"time_taken":{"type":"TypeString","required":true}}}},"status_code":{"type":"TypeSet","optional":true,"elem":{"schema":{"count":{"type":"TypeInt","required":true},"interval":{"type":"TypeString","required":true},"path":{"type":"TypeString","optional":true},"status_code_range":{"type":"TypeString","required":true},"sub_status":{"type":"TypeInt","optional":true},"win32_status_code":{"type":"TypeInt","optional":true}}}}}},"maxItems":1}}},"maxItems":1},"container_registry_managed_identity_client_id":{"type":"TypeString","optional":true},"container_registry_use_managed_identity":{"type":"TypeBool","optional":true,"default":false},"cors":{"type":"TypeList","optional":true,"elem":{"schema":{"allowed_origins":{"type":"TypeSet","optional":true,"description":"Specifies a list of origins that should be allowed to make cross-origin calls.","elem":{"type":"TypeString"},"minItems":1},"support_credentials":{"type":"TypeBool","optional":true,"default":false,"description":"Are credentials allowed in CORS requests? Defaults to `false`."}}},"maxItems":1},"default_documents":{"type":"TypeList","optional":true,"computed":true,"elem":{"type":"TypeString"}},"detailed_error_logging_enabled":{"type":"TypeBool","computed":true},"ftps_state":{"type":"TypeString","optional":true,"default":"Disabled"},"handler_mapping":{"type":"TypeSet","optional":true,"elem":{"schema":{"arguments":{"type":"TypeString","optional":true},"extension":{"type":"TypeString","required":true},"script_processor_path":{"type":"TypeString","required":true}}}},"health_check_eviction_time_in_min":{"type":"TypeInt","optional":true,"description":"The amount of time in minutes that a node is unhealthy before being removed from the load balancer. Possible values are between `2` and `10`. Only valid in conjunction with `health_check_path`"},"health_check_path":{"type":"TypeString","optional":true},"http2_enabled":{"type":"TypeBool","optional":true,"default":false},"ip_restriction":{"type":"TypeList","optional":true,"elem":{"schema":{"action":{"type":"TypeString","optional":true,"default":"Allow","description":"The action to take. Possible values are `Allow` or `Deny`."},"description":{"type":"TypeString","optional":true,"description":"The description of the IP restriction rule."},"headers":{"type":"TypeList","configMode":"Auto","optional":true,"elem":{"schema":{"x_azure_fdid":{"type":"TypeList","optional":true,"description":"Specifies a list of Azure Front Door IDs.","elem":{"type":"TypeString"},"maxItems":8},"x_fd_health_probe":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"maxItems":1},"x_forwarded_for":{"type":"TypeList","optional":true,"description":"Specifies a list of addresses for which matching should be applied. Omitting this value means allow any.","elem":{"type":"TypeString"},"maxItems":8},"x_forwarded_host":{"type":"TypeList","optional":true,"description":"Specifies a list of Hosts for which matching should be applied.","elem":{"type":"TypeString"},"maxItems":8}}},"maxItems":1},"ip_address":{"type":"TypeString","optional":true,"description":"The CIDR notation of the IP or IP Range to match. For example: `10.0.0.0/24` or `192.168.10.1/32` or `fe80::/64` or `13.107.6.152/31,13.107.128.0/22`"},"name":{"type":"TypeString","optional":true,"description":"The name which should be used for this `ip_restriction`.","computed":true},"priority":{"type":"TypeInt","optional":true,"default":65000,"description":"The priority value of this `ip_restriction`."},"service_tag":{"type":"TypeString","optional":true,"description":"The Service Tag used for this IP Restriction."},"virtual_network_subnet_id":{"type":"TypeString","optional":true,"description":"The Virtual Network Subnet ID used for this IP Restriction."}}}},"ip_restriction_default_action":{"type":"TypeString","optional":true,"default":"Allow"},"linux_fx_version":{"type":"TypeString","computed":true},"load_balancing_mode":{"type":"TypeString","optional":true,"default":"LeastRequests"},"local_mysql_enabled":{"type":"TypeBool","optional":true,"default":false},"managed_pipeline_mode":{"type":"TypeString","optional":true,"default":"Integrated"},"minimum_tls_version":{"type":"TypeString","optional":true,"default":"1.2"},"remote_debugging_enabled":{"type":"TypeBool","optional":true,"default":false},"remote_debugging_version":{"type":"TypeString","optional":true,"computed":true},"scm_ip_restriction":{"type":"TypeList","optional":true,"elem":{"schema":{"action":{"type":"TypeString","optional":true,"default":"Allow","description":"The action to take. Possible values are `Allow` or `Deny`."},"description":{"type":"TypeString","optional":true,"description":"The description of the IP restriction rule."},"headers":{"type":"TypeList","configMode":"Auto","optional":true,"elem":{"schema":{"x_azure_fdid":{"type":"TypeList","optional":true,"description":"Specifies a list of Azure Front Door IDs.","elem":{"type":"TypeString"},"maxItems":8},"x_fd_health_probe":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"maxItems":1},"x_forwarded_for":{"type":"TypeList","optional":true,"description":"Specifies a list of addresses for which matching should be applied. Omitting this value means allow any.","elem":{"type":"TypeString"},"maxItems":8},"x_forwarded_host":{"type":"TypeList","optional":true,"description":"Specifies a list of Hosts for which matching should be applied.","elem":{"type":"TypeString"},"maxItems":8}}},"maxItems":1},"ip_address":{"type":"TypeString","optional":true,"description":"The CIDR notation of the IP or IP Range to match. For example: `10.0.0.0/24` or `192.168.10.1/32` or `fe80::/64` or `13.107.6.152/31,13.107.128.0/22`"},"name":{"type":"TypeString","optional":true,"description":"The name which should be used for this `ip_restriction`.","computed":true},"priority":{"type":"TypeInt","optional":true,"default":65000,"description":"The priority value of this `ip_restriction`."},"service_tag":{"type":"TypeString","optional":true,"description":"The Service Tag used for this IP Restriction."},"virtual_network_subnet_id":{"type":"TypeString","optional":true,"description":"The Virtual Network Subnet ID used for this IP Restriction."}}}},"scm_ip_restriction_default_action":{"type":"TypeString","optional":true,"default":"Allow"},"scm_minimum_tls_version":{"type":"TypeString","optional":true,"default":"1.2"},"scm_type":{"type":"TypeString","computed":true},"scm_use_main_ip_restriction":{"type":"TypeBool","optional":true,"default":false},"use_32_bit_worker":{"type":"TypeBool","optional":true,"default":true},"virtual_application":{"type":"TypeSet","optional":true,"elem":{"schema":{"physical_path":{"type":"TypeString","required":true},"preload":{"type":"TypeBool","required":true},"virtual_directory":{"type":"TypeSet","optional":true,"elem":{"schema":{"physical_path":{"type":"TypeString","optional":true},"virtual_path":{"type":"TypeString","optional":true}}}},"virtual_path":{"type":"TypeString","required":true}}}},"vnet_route_all_enabled":{"type":"TypeBool","optional":true,"default":false,"description":"Should all outbound traffic to have Virtual Network Security Groups and User Defined Routes applied? Defaults to `false`."},"websockets_enabled":{"type":"TypeBool","optional":true,"default":false},"windows_fx_version":{"type":"TypeString","computed":true},"worker_count":{"type":"TypeInt","optional":true,"computed":true}}},"maxItems":1},"site_credential":{"type":"TypeList","computed":true,"elem":{"schema":{"name":{"type":"TypeString","description":"The Site Credentials Username used for publishing.","computed":true},"password":{"type":"TypeString","description":"The Site Credentials Password used for publishing.","computed":true}}}},"sticky_settings":{"type":"TypeList","optional":true,"elem":{"schema":{"app_setting_names":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"minItems":1},"connection_string_names":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"minItems":1}}},"maxItems":1},"storage_account":{"type":"TypeSet","optional":true,"elem":{"schema":{"access_key":{"type":"TypeString","required":true},"account_name":{"type":"TypeString","required":true},"mount_path":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true},"share_name":{"type":"TypeString","required":true},"type":{"type":"TypeString","required":true}}}},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"virtual_network_subnet_id":{"type":"TypeString","optional":true},"webdeploy_publish_basic_authentication_enabled":{"type":"TypeBool","optional":true,"default":true},"zip_deploy_file":{"type":"TypeString","optional":true,"description":"The local path and filename of the Zip packaged application to deploy to this Windows Web App. **Note:** Using this value requires either `WEBSITE_RUN_FROM_PACKAGE=1` or `SCM_DO_BUILD_DURING_DEPLOYMENT=true` to be set on the App in `app_settings`.","computed":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_windows_web_app_slot":{"schema":{"app_service_id":{"type":"TypeString","required":true,"forceNew":true},"app_settings":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"auth_settings":{"type":"TypeList","optional":true,"elem":{"schema":{"active_directory":{"type":"TypeList","optional":true,"elem":{"schema":{"allowed_audiences":{"type":"TypeList","optional":true,"description":"Specifies a list of Allowed audience values to consider when validating JWTs issued by Azure Active Directory.","elem":{"type":"TypeString"}},"client_id":{"type":"TypeString","required":true,"description":"The ID of the Client to use to authenticate with Azure Active Directory."},"client_secret":{"type":"TypeString","optional":true,"description":"The Client Secret for the Client ID. Cannot be used with `client_secret_setting_name`."},"client_secret_setting_name":{"type":"TypeString","optional":true,"description":"The App Setting name that contains the client secret of the Client. Cannot be used with `client_secret`."}}},"maxItems":1},"additional_login_parameters":{"type":"TypeMap","optional":true,"description":"Specifies a map of Login Parameters to send to the OpenID Connect authorization endpoint when a user logs in.","elem":{"type":"TypeString"}},"allowed_external_redirect_urls":{"type":"TypeList","optional":true,"description":"Specifies a list of External URLs that can be redirected to as part of logging in or logging out of the Windows Web App.","computed":true,"elem":{"type":"TypeString"}},"default_provider":{"type":"TypeString","optional":true,"description":"The default authentication provider to use when multiple providers are configured. Possible values include: `AzureActiveDirectory`, `Facebook`, `Google`, `MicrosoftAccount`, `Twitter`, `Github`.","computed":true},"enabled":{"type":"TypeBool","required":true,"description":"Should the Authentication / Authorization feature be enabled?"},"facebook":{"type":"TypeList","optional":true,"elem":{"schema":{"app_id":{"type":"TypeString","required":true,"description":"The App ID of the Facebook app used for login."},"app_secret":{"type":"TypeString","optional":true,"description":"The App Secret of the Facebook app used for Facebook Login. Cannot be specified with `app_secret_setting_name`."},"app_secret_setting_name":{"type":"TypeString","optional":true,"description":"The app setting name that contains the `app_secret` value used for Facebook Login. Cannot be specified with `app_secret`."},"oauth_scopes":{"type":"TypeList","optional":true,"description":"Specifies a list of OAuth 2.0 scopes to be requested as part of Facebook Login authentication.","elem":{"type":"TypeString"}}}},"maxItems":1},"github":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","required":true,"description":"The ID of the GitHub app used for login."},"client_secret":{"type":"TypeString","optional":true,"description":"The Client Secret of the GitHub app used for GitHub Login. Cannot be specified with `client_secret_setting_name`."},"client_secret_setting_name":{"type":"TypeString","optional":true,"description":"The app setting name that contains the `client_secret` value used for GitHub Login. Cannot be specified with `client_secret`."},"oauth_scopes":{"type":"TypeList","optional":true,"description":"Specifies a list of OAuth 2.0 scopes that will be requested as part of GitHub Login authentication.","elem":{"type":"TypeString"}}}},"maxItems":1},"google":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","required":true,"description":"The OpenID Connect Client ID for the Google web application."},"client_secret":{"type":"TypeString","optional":true,"description":"The client secret associated with the Google web application. Cannot be specified with `client_secret_setting_name`."},"client_secret_setting_name":{"type":"TypeString","optional":true,"description":"The app setting name that contains the `client_secret` value used for Google Login. Cannot be specified with `client_secret`."},"oauth_scopes":{"type":"TypeList","optional":true,"description":"Specifies a list of OAuth 2.0 scopes that will be requested as part of Google Sign-In authentication. If not specified, \"openid\", \"profile\", and \"email\" are used as default scopes.","elem":{"type":"TypeString"}}}},"maxItems":1},"issuer":{"type":"TypeString","optional":true,"description":"The OpenID Connect Issuer URI that represents the entity which issues access tokens."},"microsoft":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","required":true,"description":"The OAuth 2.0 client ID that was created for the app used for authentication."},"client_secret":{"type":"TypeString","optional":true,"description":"The OAuth 2.0 client secret that was created for the app used for authentication. Cannot be specified with `client_secret_setting_name`."},"client_secret_setting_name":{"type":"TypeString","optional":true,"description":"The app setting name containing the OAuth 2.0 client secret that was created for the app used for authentication. Cannot be specified with `client_secret`."},"oauth_scopes":{"type":"TypeList","optional":true,"description":"The list of OAuth 2.0 scopes that will be requested as part of Microsoft Account authentication. If not specified, `wl.basic` is used as the default scope.","elem":{"type":"TypeString"}}}},"maxItems":1},"runtime_version":{"type":"TypeString","optional":true,"description":"The RuntimeVersion of the Authentication / Authorization feature in use.","computed":true},"token_refresh_extension_hours":{"type":"TypeFloat","optional":true,"default":72,"description":"The number of hours after session token expiration that a session token can be used to call the token refresh API. Defaults to `72` hours."},"token_store_enabled":{"type":"TypeBool","optional":true,"default":false,"description":"Should the Windows Web App durably store platform-specific security tokens that are obtained during login flows? Defaults to `false`."},"twitter":{"type":"TypeList","optional":true,"elem":{"schema":{"consumer_key":{"type":"TypeString","required":true,"description":"The OAuth 1.0a consumer key of the Twitter application used for sign-in."},"consumer_secret":{"type":"TypeString","optional":true,"description":"The OAuth 1.0a consumer secret of the Twitter application used for sign-in. Cannot be specified with `consumer_secret_setting_name`."},"consumer_secret_setting_name":{"type":"TypeString","optional":true,"description":"The app setting name that contains the OAuth 1.0a consumer secret of the Twitter application used for sign-in. Cannot be specified with `consumer_secret`."}}},"maxItems":1},"unauthenticated_client_action":{"type":"TypeString","optional":true,"description":"The action to take when an unauthenticated client attempts to access the app. Possible values include: `RedirectToLoginPage`, `AllowAnonymous`.","computed":true}}},"maxItems":1},"auth_settings_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"active_directory_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"allowed_applications":{"type":"TypeList","optional":true,"description":"The list of allowed Applications for the Default Authorisation Policy.","elem":{"type":"TypeString"}},"allowed_audiences":{"type":"TypeList","optional":true,"description":"Specifies a list of Allowed audience values to consider when validating JWTs issued by Azure Active Directory.","elem":{"type":"TypeString"}},"allowed_groups":{"type":"TypeList","optional":true,"description":"The list of allowed Group Names for the Default Authorisation Policy.","elem":{"type":"TypeString"}},"allowed_identities":{"type":"TypeList","optional":true,"description":"The list of allowed Identities for the Default Authorisation Policy.","elem":{"type":"TypeString"}},"client_id":{"type":"TypeString","required":true,"description":"The ID of the Client to use to authenticate with Azure Active Directory."},"client_secret_certificate_thumbprint":{"type":"TypeString","optional":true,"description":"The thumbprint of the certificate used for signing purposes."},"client_secret_setting_name":{"type":"TypeString","optional":true,"description":"The App Setting name that contains the client secret of the Client."},"jwt_allowed_client_applications":{"type":"TypeList","optional":true,"description":"A list of Allowed Client Applications in the JWT Claim.","elem":{"type":"TypeString"}},"jwt_allowed_groups":{"type":"TypeList","optional":true,"description":"A list of Allowed Groups in the JWT Claim.","elem":{"type":"TypeString"}},"login_parameters":{"type":"TypeMap","optional":true,"description":"A map of key-value pairs to send to the Authorisation Endpoint when a user logs in.","elem":{"type":"TypeString"}},"tenant_auth_endpoint":{"type":"TypeString","required":true,"description":"The Azure Tenant Endpoint for the Authenticating Tenant. e.g. `https://login.microsoftonline.com/v2.0/{tenant-guid}/`."},"www_authentication_disabled":{"type":"TypeBool","optional":true,"description":"Should the www-authenticate provider should be omitted from the request? Defaults to `false`"}}},"maxItems":1},"apple_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","required":true,"description":"The OpenID Connect Client ID for the Apple web application."},"client_secret_setting_name":{"type":"TypeString","required":true,"description":"The app setting name that contains the `client_secret` value used for Apple Login."},"login_scopes":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"auth_enabled":{"type":"TypeBool","optional":true,"description":"Should the AuthV2 Settings be enabled. Defaults to `false`"},"azure_static_web_app_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","required":true,"description":"The ID of the Client to use to authenticate with Azure Static Web App Authentication."}}},"maxItems":1},"config_file_path":{"type":"TypeString","optional":true,"description":"The path to the App Auth settings. **Note:** Relative Paths are evaluated from the Site Root directory."},"custom_oidc_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"authorisation_endpoint":{"type":"TypeString","description":"The endpoint to make the Authorisation Request.","computed":true},"certification_uri":{"type":"TypeString","description":"The endpoint that provides the keys necessary to validate the token.","computed":true},"client_credential_method":{"type":"TypeString","description":"The Client Credential Method used. Currently the only supported value is `ClientSecretPost`.","computed":true},"client_id":{"type":"TypeString","required":true,"description":"The ID of the Client to use to authenticate with this Custom OIDC."},"client_secret_setting_name":{"type":"TypeString","description":"The App Setting name that contains the secret for this Custom OIDC Client.","computed":true},"issuer_endpoint":{"type":"TypeString","description":"The endpoint that issued the Token.","computed":true},"name":{"type":"TypeString","required":true,"description":"The name of the Custom OIDC Authentication Provider."},"name_claim_type":{"type":"TypeString","optional":true,"description":"The name of the claim that contains the users name."},"openid_configuration_endpoint":{"type":"TypeString","required":true,"description":"The endpoint that contains all the configuration endpoints for this Custom OIDC provider."},"scopes":{"type":"TypeList","optional":true,"description":"The list of the scopes that should be requested while authenticating.","elem":{"type":"TypeString"}},"token_endpoint":{"type":"TypeString","description":"The endpoint used to request a Token.","computed":true}}}},"default_provider":{"type":"TypeString","optional":true,"description":"The Default Authentication Provider to use when the `unauthenticated_action` is set to `RedirectToLoginPage`. Possible values include: `apple`, `azureactivedirectory`, `facebook`, `github`, `google`, `twitter` and the `name` of your `custom_oidc_v2` provider."},"excluded_paths":{"type":"TypeList","optional":true,"description":"The paths which should be excluded from the `unauthenticated_action` when it is set to `RedirectToLoginPage`.","elem":{"type":"TypeString"}},"facebook_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"app_id":{"type":"TypeString","required":true,"description":"The App ID of the Facebook app used for login."},"app_secret_setting_name":{"type":"TypeString","required":true,"description":"The app setting name that contains the `app_secret` value used for Facebook Login."},"graph_api_version":{"type":"TypeString","optional":true,"description":"The version of the Facebook API to be used while logging in.","computed":true},"login_scopes":{"type":"TypeList","optional":true,"description":"Specifies a list of scopes to be requested as part of Facebook Login authentication.","elem":{"type":"TypeString"}}}},"maxItems":1},"forward_proxy_convention":{"type":"TypeString","optional":true,"default":"NoProxy","description":"The convention used to determine the url of the request made. Possible values include `ForwardProxyConventionNoProxy`, `ForwardProxyConventionStandard`, `ForwardProxyConventionCustom`. Defaults to `ForwardProxyConventionNoProxy`"},"forward_proxy_custom_host_header_name":{"type":"TypeString","optional":true,"description":"The name of the header containing the host of the request."},"forward_proxy_custom_scheme_header_name":{"type":"TypeString","optional":true,"description":"The name of the header containing the scheme of the request."},"github_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","required":true,"description":"The ID of the GitHub app used for login."},"client_secret_setting_name":{"type":"TypeString","required":true,"description":"The app setting name that contains the `client_secret` value used for GitHub Login."},"login_scopes":{"type":"TypeList","optional":true,"description":"Specifies a list of OAuth 2.0 scopes that will be requested as part of GitHub Login authentication.","elem":{"type":"TypeString"}}}},"maxItems":1},"google_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"allowed_audiences":{"type":"TypeList","optional":true,"description":"Specifies a list of Allowed Audiences that will be requested as part of Google Sign-In authentication.","elem":{"type":"TypeString"}},"client_id":{"type":"TypeString","required":true,"description":"The OpenID Connect Client ID for the Google web application."},"client_secret_setting_name":{"type":"TypeString","required":true,"description":"The app setting name that contains the `client_secret` value used for Google Login."},"login_scopes":{"type":"TypeList","optional":true,"description":"Specifies a list of Login scopes that will be requested as part of Google Sign-In authentication.","elem":{"type":"TypeString"}}}},"maxItems":1},"http_route_api_prefix":{"type":"TypeString","optional":true,"default":"/.auth","description":"The prefix that should precede all the authentication and authorisation paths. Defaults to `/.auth`"},"login":{"type":"TypeList","required":true,"elem":{"schema":{"allowed_external_redirect_urls":{"type":"TypeList","optional":true,"description":"External URLs that can be redirected to as part of logging in or logging out of the app. This is an advanced setting typically only needed by Windows Store application backends. **Note:** URLs within the current domain are always implicitly allowed.","elem":{"type":"TypeString"}},"cookie_expiration_convention":{"type":"TypeString","optional":true,"default":"FixedTime","description":"The method by which cookies expire. Possible values include: `FixedTime`, and `IdentityProviderDerived`. Defaults to `FixedTime`."},"cookie_expiration_time":{"type":"TypeString","optional":true,"default":"08:00:00","description":"The time after the request is made when the session cookie should expire. Defaults to `08:00:00`."},"logout_endpoint":{"type":"TypeString","optional":true,"description":"The endpoint to which logout requests should be made."},"nonce_expiration_time":{"type":"TypeString","optional":true,"default":"00:05:00","description":"The time after the request is made when the nonce should expire. Defaults to `00:05:00`."},"preserve_url_fragments_for_logins":{"type":"TypeBool","optional":true,"default":false,"description":"Should the fragments from the request be preserved after the login request is made. Defaults to `false`."},"token_refresh_extension_time":{"type":"TypeFloat","optional":true,"default":72,"description":"The number of hours after session token expiration that a session token can be used to call the token refresh API. Defaults to `72` hours."},"token_store_enabled":{"type":"TypeBool","optional":true,"default":false,"description":"Should the Token Store configuration Enabled. Defaults to `false`"},"token_store_path":{"type":"TypeString","optional":true,"description":"The directory path in the App Filesystem in which the tokens will be stored."},"token_store_sas_setting_name":{"type":"TypeString","optional":true,"description":"The name of the app setting which contains the SAS URL of the blob storage containing the tokens."},"validate_nonce":{"type":"TypeBool","optional":true,"default":true,"description":"Should the nonce be validated while completing the login flow. Defaults to `true`."}}},"maxItems":1},"microsoft_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"allowed_audiences":{"type":"TypeList","optional":true,"description":"Specifies a list of Allowed Audiences that will be requested as part of Microsoft Sign-In authentication.","elem":{"type":"TypeString"}},"client_id":{"type":"TypeString","required":true,"description":"The OAuth 2.0 client ID that was created for the app used for authentication."},"client_secret_setting_name":{"type":"TypeString","required":true,"description":"The app setting name containing the OAuth 2.0 client secret that was created for the app used for authentication."},"login_scopes":{"type":"TypeList","optional":true,"description":"The list of Login scopes that will be requested as part of Microsoft Account authentication.","elem":{"type":"TypeString"}}}},"maxItems":1},"require_authentication":{"type":"TypeBool","optional":true,"description":"Should the authentication flow be used for all requests."},"require_https":{"type":"TypeBool","optional":true,"default":true,"description":"Should HTTPS be required on connections? Defaults to true."},"runtime_version":{"type":"TypeString","optional":true,"default":"~1","description":"The Runtime Version of the Authentication and Authorisation feature of this App. Defaults to `~1`"},"twitter_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"consumer_key":{"type":"TypeString","required":true,"description":"The OAuth 1.0a consumer key of the Twitter application used for sign-in."},"consumer_secret_setting_name":{"type":"TypeString","required":true,"description":"The app setting name that contains the OAuth 1.0a consumer secret of the Twitter application used for sign-in."}}},"maxItems":1},"unauthenticated_action":{"type":"TypeString","optional":true,"default":"RedirectToLoginPage","description":"The action to take for requests made without authentication. Possible values include `RedirectToLoginPage`, `AllowAnonymous`, `Return401`, and `Return403`. Defaults to `RedirectToLoginPage`."}}},"maxItems":1},"backup":{"type":"TypeList","optional":true,"elem":{"schema":{"enabled":{"type":"TypeBool","optional":true,"default":true,"description":"Should this backup job be enabled?"},"name":{"type":"TypeString","required":true,"description":"The name which should be used for this Backup."},"schedule":{"type":"TypeList","required":true,"elem":{"schema":{"frequency_interval":{"type":"TypeInt","required":true,"description":"How often the backup should be executed (e.g. for weekly backup, this should be set to `7` and `frequency_unit` should be set to `Day`)."},"frequency_unit":{"type":"TypeString","required":true,"description":"The unit of time for how often the backup should take place. Possible values include: `Day` and `Hour`."},"keep_at_least_one_backup":{"type":"TypeBool","optional":true,"default":false,"description":"Should the service keep at least one backup, regardless of age of backup. Defaults to `false`."},"last_execution_time":{"type":"TypeString","description":"The time the backup was last attempted.","computed":true},"retention_period_days":{"type":"TypeInt","optional":true,"default":30,"description":"After how many days backups should be deleted."},"start_time":{"type":"TypeString","optional":true,"description":"When the schedule should start working in RFC-3339 format.","computed":true}}},"maxItems":1},"storage_account_url":{"type":"TypeString","required":true,"description":"The SAS URL to the container."}}},"maxItems":1},"client_affinity_enabled":{"type":"TypeBool","optional":true,"default":false},"client_certificate_enabled":{"type":"TypeBool","optional":true,"default":false},"client_certificate_exclusion_paths":{"type":"TypeString","optional":true,"description":"Paths to exclude when using client certificates, separated by ;"},"client_certificate_mode":{"type":"TypeString","optional":true,"default":"Required"},"connection_string":{"type":"TypeSet","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true,"description":"The name which should be used for this Connection."},"type":{"type":"TypeString","required":true,"description":"Type of database. Possible values include: `MySQL`, `SQLServer`, `SQLAzure`, `Custom`, `NotificationHub`, `ServiceBus`, `EventHub`, `APIHub`, `DocDb`, `RedisCache`, and `PostgreSQL`."},"value":{"type":"TypeString","required":true,"description":"The connection string value."}}}},"custom_domain_verification_id":{"type":"TypeString","computed":true},"default_hostname":{"type":"TypeString","computed":true},"enabled":{"type":"TypeBool","optional":true,"default":true},"ftp_publish_basic_authentication_enabled":{"type":"TypeBool","optional":true,"default":true},"hosting_environment_id":{"type":"TypeString","computed":true},"https_only":{"type":"TypeBool","optional":true,"default":false},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"key_vault_reference_identity_id":{"type":"TypeString","optional":true,"computed":true},"kind":{"type":"TypeString","computed":true},"logs":{"type":"TypeList","optional":true,"elem":{"schema":{"application_logs":{"type":"TypeList","optional":true,"elem":{"schema":{"azure_blob_storage":{"type":"TypeList","optional":true,"elem":{"schema":{"level":{"type":"TypeString","required":true},"retention_in_days":{"type":"TypeInt","required":true},"sas_url":{"type":"TypeString","required":true}}},"maxItems":1},"file_system_level":{"type":"TypeString","required":true}}},"maxItems":1},"detailed_error_messages":{"type":"TypeBool","optional":true,"default":false},"failed_request_tracing":{"type":"TypeBool","optional":true,"default":false},"http_logs":{"type":"TypeList","optional":true,"elem":{"schema":{"azure_blob_storage":{"type":"TypeList","optional":true,"elem":{"schema":{"retention_in_days":{"type":"TypeInt","optional":true,"default":0},"sas_url":{"type":"TypeString","required":true}}},"maxItems":1},"file_system":{"type":"TypeList","optional":true,"elem":{"schema":{"retention_in_days":{"type":"TypeInt","required":true},"retention_in_mb":{"type":"TypeInt","required":true}}},"maxItems":1}}},"maxItems":1}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"outbound_ip_address_list":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"outbound_ip_addresses":{"type":"TypeString","computed":true},"possible_outbound_ip_address_list":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"possible_outbound_ip_addresses":{"type":"TypeString","computed":true},"public_network_access_enabled":{"type":"TypeBool","optional":true,"default":true},"service_plan_id":{"type":"TypeString","optional":true},"site_config":{"type":"TypeList","required":true,"elem":{"schema":{"always_on":{"type":"TypeBool","optional":true,"default":true},"api_definition_url":{"type":"TypeString","optional":true},"api_management_api_id":{"type":"TypeString","optional":true},"app_command_line":{"type":"TypeString","optional":true},"application_stack":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"current_stack":{"type":"TypeString","optional":true,"computed":true},"docker_image_name":{"type":"TypeString","optional":true},"docker_registry_password":{"type":"TypeString","optional":true},"docker_registry_url":{"type":"TypeString","optional":true},"docker_registry_username":{"type":"TypeString","optional":true},"dotnet_core_version":{"type":"TypeString","optional":true,"description":"The version of DotNetCore to use."},"dotnet_version":{"type":"TypeString","optional":true,"computed":true},"java_container":{"type":"TypeString","optional":true},"java_container_version":{"type":"TypeString","optional":true},"java_embedded_server_enabled":{"type":"TypeBool","optional":true,"description":"Should the application use the embedded web server for the version of Java in use.","computed":true},"java_version":{"type":"TypeString","optional":true},"node_version":{"type":"TypeString","optional":true},"php_version":{"type":"TypeString","optional":true,"computed":true},"python":{"type":"TypeBool","optional":true,"default":false},"tomcat_version":{"type":"TypeString","optional":true}}},"maxItems":1},"auto_heal_setting":{"type":"TypeList","optional":true,"elem":{"schema":{"action":{"type":"TypeList","required":true,"elem":{"schema":{"action_type":{"type":"TypeString","required":true},"custom_action":{"type":"TypeList","optional":true,"elem":{"schema":{"executable":{"type":"TypeString","required":true},"parameters":{"type":"TypeString","optional":true}}},"maxItems":1},"minimum_process_execution_time":{"type":"TypeString","optional":true,"computed":true}}},"maxItems":1},"trigger":{"type":"TypeList","required":true,"elem":{"schema":{"private_memory_kb":{"type":"TypeInt","optional":true},"requests":{"type":"TypeList","optional":true,"elem":{"schema":{"count":{"type":"TypeInt","required":true},"interval":{"type":"TypeString","required":true}}},"maxItems":1},"slow_request":{"type":"TypeList","optional":true,"elem":{"schema":{"count":{"type":"TypeInt","required":true},"interval":{"type":"TypeString","required":true},"time_taken":{"type":"TypeString","required":true}}},"maxItems":1},"slow_request_with_path":{"type":"TypeList","optional":true,"elem":{"schema":{"count":{"type":"TypeInt","required":true},"interval":{"type":"TypeString","required":true},"path":{"type":"TypeString","optional":true},"time_taken":{"type":"TypeString","required":true}}}},"status_code":{"type":"TypeSet","optional":true,"elem":{"schema":{"count":{"type":"TypeInt","required":true},"interval":{"type":"TypeString","required":true},"path":{"type":"TypeString","optional":true},"status_code_range":{"type":"TypeString","required":true},"sub_status":{"type":"TypeInt","optional":true},"win32_status_code":{"type":"TypeInt","optional":true}}}}}},"maxItems":1}}},"maxItems":1},"auto_swap_slot_name":{"type":"TypeString","optional":true},"container_registry_managed_identity_client_id":{"type":"TypeString","optional":true},"container_registry_use_managed_identity":{"type":"TypeBool","optional":true,"default":false},"cors":{"type":"TypeList","optional":true,"elem":{"schema":{"allowed_origins":{"type":"TypeSet","optional":true,"description":"Specifies a list of origins that should be allowed to make cross-origin calls.","elem":{"type":"TypeString"},"minItems":1},"support_credentials":{"type":"TypeBool","optional":true,"default":false,"description":"Are credentials allowed in CORS requests? Defaults to `false`."}}},"maxItems":1},"default_documents":{"type":"TypeList","optional":true,"computed":true,"elem":{"type":"TypeString"}},"detailed_error_logging_enabled":{"type":"TypeBool","computed":true},"ftps_state":{"type":"TypeString","optional":true,"default":"Disabled"},"handler_mapping":{"type":"TypeSet","optional":true,"elem":{"schema":{"arguments":{"type":"TypeString","optional":true},"extension":{"type":"TypeString","required":true},"script_processor_path":{"type":"TypeString","required":true}}}},"health_check_eviction_time_in_min":{"type":"TypeInt","optional":true,"description":"The amount of time in minutes that a node is unhealthy before being removed from the load balancer. Possible values are between `2` and `10`. Only valid in conjunction with `health_check_path`"},"health_check_path":{"type":"TypeString","optional":true},"http2_enabled":{"type":"TypeBool","optional":true,"default":false},"ip_restriction":{"type":"TypeList","optional":true,"elem":{"schema":{"action":{"type":"TypeString","optional":true,"default":"Allow","description":"The action to take. Possible values are `Allow` or `Deny`."},"description":{"type":"TypeString","optional":true,"description":"The description of the IP restriction rule."},"headers":{"type":"TypeList","configMode":"Auto","optional":true,"elem":{"schema":{"x_azure_fdid":{"type":"TypeList","optional":true,"description":"Specifies a list of Azure Front Door IDs.","elem":{"type":"TypeString"},"maxItems":8},"x_fd_health_probe":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"maxItems":1},"x_forwarded_for":{"type":"TypeList","optional":true,"description":"Specifies a list of addresses for which matching should be applied. Omitting this value means allow any.","elem":{"type":"TypeString"},"maxItems":8},"x_forwarded_host":{"type":"TypeList","optional":true,"description":"Specifies a list of Hosts for which matching should be applied.","elem":{"type":"TypeString"},"maxItems":8}}},"maxItems":1},"ip_address":{"type":"TypeString","optional":true,"description":"The CIDR notation of the IP or IP Range to match. For example: `10.0.0.0/24` or `192.168.10.1/32` or `fe80::/64` or `13.107.6.152/31,13.107.128.0/22`"},"name":{"type":"TypeString","optional":true,"description":"The name which should be used for this `ip_restriction`.","computed":true},"priority":{"type":"TypeInt","optional":true,"default":65000,"description":"The priority value of this `ip_restriction`."},"service_tag":{"type":"TypeString","optional":true,"description":"The Service Tag used for this IP Restriction."},"virtual_network_subnet_id":{"type":"TypeString","optional":true,"description":"The Virtual Network Subnet ID used for this IP Restriction."}}}},"ip_restriction_default_action":{"type":"TypeString","optional":true,"default":"Allow"},"load_balancing_mode":{"type":"TypeString","optional":true,"default":"LeastRequests"},"local_mysql_enabled":{"type":"TypeBool","optional":true,"default":false},"managed_pipeline_mode":{"type":"TypeString","optional":true,"default":"Integrated"},"minimum_tls_version":{"type":"TypeString","optional":true,"default":"1.2"},"remote_debugging_enabled":{"type":"TypeBool","optional":true,"default":false},"remote_debugging_version":{"type":"TypeString","optional":true,"computed":true},"scm_ip_restriction":{"type":"TypeList","optional":true,"elem":{"schema":{"action":{"type":"TypeString","optional":true,"default":"Allow","description":"The action to take. Possible values are `Allow` or `Deny`."},"description":{"type":"TypeString","optional":true,"description":"The description of the IP restriction rule."},"headers":{"type":"TypeList","configMode":"Auto","optional":true,"elem":{"schema":{"x_azure_fdid":{"type":"TypeList","optional":true,"description":"Specifies a list of Azure Front Door IDs.","elem":{"type":"TypeString"},"maxItems":8},"x_fd_health_probe":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"maxItems":1},"x_forwarded_for":{"type":"TypeList","optional":true,"description":"Specifies a list of addresses for which matching should be applied. Omitting this value means allow any.","elem":{"type":"TypeString"},"maxItems":8},"x_forwarded_host":{"type":"TypeList","optional":true,"description":"Specifies a list of Hosts for which matching should be applied.","elem":{"type":"TypeString"},"maxItems":8}}},"maxItems":1},"ip_address":{"type":"TypeString","optional":true,"description":"The CIDR notation of the IP or IP Range to match. For example: `10.0.0.0/24` or `192.168.10.1/32` or `fe80::/64` or `13.107.6.152/31,13.107.128.0/22`"},"name":{"type":"TypeString","optional":true,"description":"The name which should be used for this `ip_restriction`.","computed":true},"priority":{"type":"TypeInt","optional":true,"default":65000,"description":"The priority value of this `ip_restriction`."},"service_tag":{"type":"TypeString","optional":true,"description":"The Service Tag used for this IP Restriction."},"virtual_network_subnet_id":{"type":"TypeString","optional":true,"description":"The Virtual Network Subnet ID used for this IP Restriction."}}}},"scm_ip_restriction_default_action":{"type":"TypeString","optional":true,"default":"Allow"},"scm_minimum_tls_version":{"type":"TypeString","optional":true,"default":"1.2"},"scm_type":{"type":"TypeString","computed":true},"scm_use_main_ip_restriction":{"type":"TypeBool","optional":true,"default":false},"use_32_bit_worker":{"type":"TypeBool","optional":true,"computed":true},"virtual_application":{"type":"TypeSet","optional":true,"elem":{"schema":{"physical_path":{"type":"TypeString","required":true},"preload":{"type":"TypeBool","required":true},"virtual_directory":{"type":"TypeSet","optional":true,"elem":{"schema":{"physical_path":{"type":"TypeString","optional":true},"virtual_path":{"type":"TypeString","optional":true}}}},"virtual_path":{"type":"TypeString","required":true}}}},"vnet_route_all_enabled":{"type":"TypeBool","optional":true,"default":false,"description":"Should all outbound traffic to have Virtual Network Security Groups and User Defined Routes applied? Defaults to `false`."},"websockets_enabled":{"type":"TypeBool","optional":true,"default":false},"windows_fx_version":{"type":"TypeString","computed":true},"worker_count":{"type":"TypeInt","optional":true,"computed":true}}},"maxItems":1},"site_credential":{"type":"TypeList","computed":true,"elem":{"schema":{"name":{"type":"TypeString","description":"The Site Credentials Username used for publishing.","computed":true},"password":{"type":"TypeString","description":"The Site Credentials Password used for publishing.","computed":true}}}},"storage_account":{"type":"TypeSet","optional":true,"elem":{"schema":{"access_key":{"type":"TypeString","required":true},"account_name":{"type":"TypeString","required":true},"mount_path":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true},"share_name":{"type":"TypeString","required":true},"type":{"type":"TypeString","required":true}}}},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"virtual_network_subnet_id":{"type":"TypeString","optional":true},"webdeploy_publish_basic_authentication_enabled":{"type":"TypeBool","optional":true,"default":true},"zip_deploy_file":{"type":"TypeString","optional":true,"description":"The local path and filename of the Zip packaged application to deploy to this Windows Web App. **Note:** Using this value requires `WEBSITE_RUN_FROM_PACKAGE=1` on the App in `app_settings`.","computed":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_workloads_sap_discovery_virtual_instance":{"schema":{"central_server_virtual_machine_id":{"type":"TypeString","required":true,"forceNew":true},"environment":{"type":"TypeString","required":true,"forceNew":true},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}},"type":{"type":"TypeString","required":true}}},"maxItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"managed_resource_group_name":{"type":"TypeString","optional":true,"forceNew":true},"managed_storage_account_name":{"type":"TypeString","optional":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"sap_product":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":60,"read":5,"delete":60,"update":60}},"azurerm_workloads_sap_single_node_virtual_instance":{"schema":{"app_location":{"type":"TypeString","required":true,"forceNew":true},"environment":{"type":"TypeString","required":true,"forceNew":true},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}},"type":{"type":"TypeString","required":true}}},"maxItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"managed_resource_group_name":{"type":"TypeString","optional":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"sap_fqdn":{"type":"TypeString","required":true,"forceNew":true},"sap_product":{"type":"TypeString","required":true,"forceNew":true},"single_server_configuration":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"app_resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"database_type":{"type":"TypeString","optional":true,"forceNew":true},"disk_volume_configuration":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"schema":{"number_of_disks":{"type":"TypeInt","required":true,"forceNew":true},"size_in_gb":{"type":"TypeInt","required":true,"forceNew":true},"sku_name":{"type":"TypeString","required":true,"forceNew":true},"volume_name":{"type":"TypeString","required":true,"forceNew":true}}}},"secondary_ip_enabled":{"type":"TypeBool","optional":true,"default":false,"forceNew":true},"subnet_id":{"type":"TypeString","required":true,"forceNew":true},"virtual_machine_configuration":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"image":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"offer":{"type":"TypeString","required":true,"forceNew":true},"publisher":{"type":"TypeString","required":true,"forceNew":true},"sku":{"type":"TypeString","required":true,"forceNew":true},"version":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"os_profile":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"admin_username":{"type":"TypeString","required":true,"forceNew":true},"ssh_private_key":{"type":"TypeString","required":true,"forceNew":true},"ssh_public_key":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"virtual_machine_size":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"virtual_machine_resource_names":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"data_disk":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"schema":{"names":{"type":"TypeList","required":true,"forceNew":true,"elem":{"type":"TypeString"}},"volume_name":{"type":"TypeString","required":true,"forceNew":true}}}},"host_name":{"type":"TypeString","optional":true,"forceNew":true},"network_interface_names":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"os_disk_name":{"type":"TypeString","optional":true,"forceNew":true},"virtual_machine_name":{"type":"TypeString","optional":true,"forceNew":true}}},"maxItems":1}}},"maxItems":1},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":60,"read":5,"delete":60,"update":60}},"azurerm_workloads_sap_three_tier_virtual_instance":{"schema":{"app_location":{"type":"TypeString","required":true,"forceNew":true},"environment":{"type":"TypeString","required":true,"forceNew":true},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}},"type":{"type":"TypeString","required":true}}},"maxItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"managed_resource_group_name":{"type":"TypeString","optional":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"sap_fqdn":{"type":"TypeString","required":true,"forceNew":true},"sap_product":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"three_tier_configuration":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"app_resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"application_server_configuration":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"instance_count":{"type":"TypeInt","required":true,"forceNew":true},"subnet_id":{"type":"TypeString","required":true,"forceNew":true},"virtual_machine_configuration":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"image":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"offer":{"type":"TypeString","required":true,"forceNew":true},"publisher":{"type":"TypeString","required":true,"forceNew":true},"sku":{"type":"TypeString","required":true,"forceNew":true},"version":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"os_profile":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"admin_username":{"type":"TypeString","required":true,"forceNew":true},"ssh_private_key":{"type":"TypeString","required":true,"forceNew":true},"ssh_public_key":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"virtual_machine_size":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1}}},"maxItems":1},"central_server_configuration":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"instance_count":{"type":"TypeInt","required":true,"forceNew":true},"subnet_id":{"type":"TypeString","required":true,"forceNew":true},"virtual_machine_configuration":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"image":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"offer":{"type":"TypeString","required":true,"forceNew":true},"publisher":{"type":"TypeString","required":true,"forceNew":true},"sku":{"type":"TypeString","required":true,"forceNew":true},"version":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"os_profile":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"admin_username":{"type":"TypeString","required":true,"forceNew":true},"ssh_private_key":{"type":"TypeString","required":true,"forceNew":true},"ssh_public_key":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"virtual_machine_size":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1}}},"maxItems":1},"database_server_configuration":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"database_type":{"type":"TypeString","optional":true,"forceNew":true},"disk_volume_configuration":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"schema":{"number_of_disks":{"type":"TypeInt","required":true,"forceNew":true},"size_in_gb":{"type":"TypeInt","required":true,"forceNew":true},"sku_name":{"type":"TypeString","required":true,"forceNew":true},"volume_name":{"type":"TypeString","required":true,"forceNew":true}}}},"instance_count":{"type":"TypeInt","required":true,"forceNew":true},"subnet_id":{"type":"TypeString","required":true,"forceNew":true},"virtual_machine_configuration":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"image":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"offer":{"type":"TypeString","required":true,"forceNew":true},"publisher":{"type":"TypeString","required":true,"forceNew":true},"sku":{"type":"TypeString","required":true,"forceNew":true},"version":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"os_profile":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"admin_username":{"type":"TypeString","required":true,"forceNew":true},"ssh_private_key":{"type":"TypeString","required":true,"forceNew":true},"ssh_public_key":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"virtual_machine_size":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1}}},"maxItems":1},"high_availability_type":{"type":"TypeString","optional":true,"forceNew":true},"resource_names":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"application_server":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"availability_set_name":{"type":"TypeString","optional":true,"forceNew":true},"virtual_machine":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"data_disk":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"schema":{"names":{"type":"TypeList","required":true,"forceNew":true,"elem":{"type":"TypeString"}},"volume_name":{"type":"TypeString","required":true,"forceNew":true}}}},"host_name":{"type":"TypeString","optional":true,"forceNew":true},"network_interface_names":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"os_disk_name":{"type":"TypeString","optional":true,"forceNew":true},"virtual_machine_name":{"type":"TypeString","optional":true,"forceNew":true}}}}}},"maxItems":1},"central_server":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"availability_set_name":{"type":"TypeString","optional":true,"forceNew":true},"load_balancer":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"backend_pool_names":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"frontend_ip_configuration_names":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"health_probe_names":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","optional":true,"forceNew":true}}},"maxItems":1},"virtual_machine":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"data_disk":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"schema":{"names":{"type":"TypeList","required":true,"forceNew":true,"elem":{"type":"TypeString"}},"volume_name":{"type":"TypeString","required":true,"forceNew":true}}}},"host_name":{"type":"TypeString","optional":true,"forceNew":true},"network_interface_names":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"os_disk_name":{"type":"TypeString","optional":true,"forceNew":true},"virtual_machine_name":{"type":"TypeString","optional":true,"forceNew":true}}}}}},"maxItems":1},"database_server":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"availability_set_name":{"type":"TypeString","optional":true,"forceNew":true},"load_balancer":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"backend_pool_names":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"frontend_ip_configuration_names":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"health_probe_names":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","optional":true,"forceNew":true}}},"maxItems":1},"virtual_machine":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"data_disk":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"schema":{"names":{"type":"TypeList","required":true,"forceNew":true,"elem":{"type":"TypeString"}},"volume_name":{"type":"TypeString","required":true,"forceNew":true}}}},"host_name":{"type":"TypeString","optional":true,"forceNew":true},"network_interface_names":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"os_disk_name":{"type":"TypeString","optional":true,"forceNew":true},"virtual_machine_name":{"type":"TypeString","optional":true,"forceNew":true}}}}}},"maxItems":1},"shared_storage":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"account_name":{"type":"TypeString","optional":true,"forceNew":true},"private_endpoint_name":{"type":"TypeString","optional":true,"forceNew":true}}},"maxItems":1}}},"maxItems":1},"secondary_ip_enabled":{"type":"TypeBool","optional":true,"default":false,"forceNew":true},"transport_create_and_mount":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"resource_group_id":{"type":"TypeString","optional":true,"forceNew":true},"storage_account_name":{"type":"TypeString","optional":true,"forceNew":true}}},"maxItems":1}}},"maxItems":1}},"timeouts":{"create":60,"read":5,"delete":60,"update":60}}},"dataSources":{"azurerm_aadb2c_directory":{"schema":{"billing_type":{"type":"TypeString","description":"The type of billing for the B2C tenant. Possible values include: `MAU` or `Auths`.","computed":true},"data_residency_location":{"type":"TypeString","description":"Location in which the B2C tenant is hosted and data resides.","computed":true},"domain_name":{"type":"TypeString","required":true,"description":"Domain name of the B2C tenant, including onmicrosoft.com suffix."},"effective_start_date":{"type":"TypeString","description":"The date from which the billing type took effect. May not be populated until after the first billing cycle.","computed":true},"resource_group_name":{"type":"TypeString","required":true},"sku_name":{"type":"TypeString","description":"Billing SKU for the B2C tenant.","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"tenant_id":{"type":"TypeString","description":"The Tenant ID for the B2C tenant.","computed":true}},"timeouts":{"read":5}},"azurerm_active_directory_domain_service":{"schema":{"deployment_id":{"type":"TypeString","computed":true},"domain_configuration_type":{"type":"TypeString","computed":true},"domain_name":{"type":"TypeString","computed":true},"filtered_sync_enabled":{"type":"TypeBool","computed":true},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"notifications":{"type":"TypeList","computed":true,"elem":{"schema":{"additional_recipients":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"notify_dc_admins":{"type":"TypeBool","computed":true},"notify_global_admins":{"type":"TypeBool","computed":true}}}},"replica_sets":{"type":"TypeList","computed":true,"elem":{"schema":{"domain_controller_ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"external_access_ip_address":{"type":"TypeString","computed":true},"id":{"type":"TypeString","computed":true},"location":{"type":"TypeString","required":true},"service_status":{"type":"TypeString","computed":true},"subnet_id":{"type":"TypeString","computed":true}}}},"resource_group_name":{"type":"TypeString","required":true},"resource_id":{"type":"TypeString","computed":true},"secure_ldap":{"type":"TypeList","computed":true,"elem":{"schema":{"certificate_expiry":{"type":"TypeString","computed":true},"certificate_thumbprint":{"type":"TypeString","computed":true},"enabled":{"type":"TypeBool","computed":true},"external_access_enabled":{"type":"TypeBool","computed":true},"public_certificate":{"type":"TypeString","computed":true}}}},"security":{"type":"TypeList","computed":true,"elem":{"schema":{"kerberos_armoring_enabled":{"type":"TypeBool","computed":true},"kerberos_rc4_encryption_enabled":{"type":"TypeBool","computed":true},"ntlm_v1_enabled":{"type":"TypeBool","computed":true},"sync_kerberos_passwords":{"type":"TypeBool","computed":true},"sync_ntlm_passwords":{"type":"TypeBool","computed":true},"sync_on_prem_passwords":{"type":"TypeBool","computed":true},"tls_v1_enabled":{"type":"TypeBool","computed":true}}}},"sku":{"type":"TypeString","computed":true},"sync_owner":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"tenant_id":{"type":"TypeString","computed":true},"version":{"type":"TypeInt","computed":true}},"timeouts":{"read":5}},"azurerm_advisor_recommendations":{"schema":{"filter_by_category":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"filter_by_resource_groups":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"recommendations":{"type":"TypeList","computed":true,"elem":{"schema":{"category":{"type":"TypeString","computed":true},"description":{"type":"TypeString","computed":true},"impact":{"type":"TypeString","computed":true},"recommendation_name":{"type":"TypeString","computed":true},"recommendation_type_id":{"type":"TypeString","computed":true},"resource_name":{"type":"TypeString","computed":true},"resource_type":{"type":"TypeString","computed":true},"suppression_names":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"updated_time":{"type":"TypeString","computed":true}}}}},"timeouts":{"read":10}},"azurerm_api_management":{"schema":{"additional_location":{"type":"TypeList","computed":true,"elem":{"schema":{"capacity":{"type":"TypeInt","computed":true},"gateway_regional_url":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"private_ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"public_ip_address_id":{"type":"TypeString","computed":true},"public_ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"zones":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}}},"developer_portal_url":{"type":"TypeString","computed":true},"gateway_regional_url":{"type":"TypeString","computed":true},"gateway_url":{"type":"TypeString","computed":true},"hostname_configuration":{"type":"TypeList","computed":true,"elem":{"schema":{"developer_portal":{"type":"TypeList","computed":true,"elem":{"schema":{"host_name":{"type":"TypeString","computed":true},"key_vault_id":{"type":"TypeString","computed":true},"negotiate_client_certificate":{"type":"TypeBool","computed":true}}}},"management":{"type":"TypeList","computed":true,"elem":{"schema":{"host_name":{"type":"TypeString","computed":true},"key_vault_id":{"type":"TypeString","computed":true},"negotiate_client_certificate":{"type":"TypeBool","computed":true}}}},"portal":{"type":"TypeList","computed":true,"elem":{"schema":{"host_name":{"type":"TypeString","computed":true},"key_vault_id":{"type":"TypeString","computed":true},"negotiate_client_certificate":{"type":"TypeBool","computed":true}}}},"proxy":{"type":"TypeList","computed":true,"elem":{"schema":{"default_ssl_binding":{"type":"TypeBool","computed":true},"host_name":{"type":"TypeString","computed":true},"key_vault_id":{"type":"TypeString","computed":true},"negotiate_client_certificate":{"type":"TypeBool","computed":true}}}},"scm":{"type":"TypeList","computed":true,"elem":{"schema":{"host_name":{"type":"TypeString","computed":true},"key_vault_id":{"type":"TypeString","computed":true},"negotiate_client_certificate":{"type":"TypeBool","computed":true}}}}}}},"identity":{"type":"TypeList","computed":true,"elem":{"schema":{"identity_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"location":{"type":"TypeString","computed":true},"management_api_url":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"notification_sender_email":{"type":"TypeString","computed":true},"portal_url":{"type":"TypeString","computed":true},"private_ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"public_ip_address_id":{"type":"TypeString","computed":true},"public_ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"publisher_email":{"type":"TypeString","computed":true},"publisher_name":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true},"scm_url":{"type":"TypeString","computed":true},"sku_name":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"tenant_access":{"type":"TypeList","computed":true,"elem":{"schema":{"enabled":{"type":"TypeBool","computed":true},"primary_key":{"type":"TypeString","computed":true},"secondary_key":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true}}}}},"timeouts":{"read":5}},"azurerm_api_management_api":{"schema":{"api_management_name":{"type":"TypeString","required":true},"description":{"type":"TypeString","computed":true},"display_name":{"type":"TypeString","computed":true},"is_current":{"type":"TypeBool","computed":true},"is_online":{"type":"TypeBool","computed":true},"name":{"type":"TypeString","required":true},"path":{"type":"TypeString","computed":true},"protocols":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"resource_group_name":{"type":"TypeString","required":true},"revision":{"type":"TypeString","required":true},"service_url":{"type":"TypeString","computed":true},"soap_pass_through":{"type":"TypeBool","computed":true},"subscription_key_parameter_names":{"type":"TypeList","computed":true,"elem":{"schema":{"header":{"type":"TypeString","computed":true},"query":{"type":"TypeString","computed":true}}}},"subscription_required":{"type":"TypeBool","computed":true},"version":{"type":"TypeString","computed":true},"version_set_id":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_api_management_api_version_set":{"schema":{"api_management_name":{"type":"TypeString","required":true},"description":{"type":"TypeString","computed":true},"display_name":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"version_header_name":{"type":"TypeString","computed":true},"version_query_name":{"type":"TypeString","computed":true},"versioning_scheme":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_api_management_gateway":{"schema":{"api_management_id":{"type":"TypeString","required":true},"description":{"type":"TypeString","computed":true},"location_data":{"type":"TypeList","computed":true,"elem":{"schema":{"city":{"type":"TypeString","computed":true},"district":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"region":{"type":"TypeString","computed":true}}}},"name":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_api_management_gateway_host_name_configuration":{"schema":{"api_management_id":{"type":"TypeString","required":true},"certificate_id":{"type":"TypeString","computed":true},"gateway_name":{"type":"TypeString","required":true},"host_name":{"type":"TypeString","computed":true},"http2_enabled":{"type":"TypeBool","computed":true},"name":{"type":"TypeString","required":true},"request_client_certificate_enabled":{"type":"TypeBool","computed":true},"tls10_enabled":{"type":"TypeBool","computed":true},"tls11_enabled":{"type":"TypeBool","computed":true}},"timeouts":{"read":5}},"azurerm_api_management_group":{"schema":{"api_management_name":{"type":"TypeString","required":true},"description":{"type":"TypeString","computed":true},"display_name":{"type":"TypeString","computed":true},"external_id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"type":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_api_management_product":{"schema":{"api_management_name":{"type":"TypeString","required":true},"approval_required":{"type":"TypeBool","computed":true},"description":{"type":"TypeString","computed":true},"display_name":{"type":"TypeString","computed":true},"product_id":{"type":"TypeString","required":true},"published":{"type":"TypeBool","computed":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"subscription_required":{"type":"TypeBool","computed":true},"subscriptions_limit":{"type":"TypeInt","computed":true},"terms":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_api_management_user":{"schema":{"api_management_name":{"type":"TypeString","required":true},"email":{"type":"TypeString","computed":true},"first_name":{"type":"TypeString","computed":true},"last_name":{"type":"TypeString","computed":true},"note":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true},"state":{"type":"TypeString","computed":true},"user_id":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_app_configuration":{"schema":{"encryption":{"type":"TypeList","computed":true,"elem":{"schema":{"identity_client_id":{"type":"TypeString","computed":true},"key_vault_key_identifier":{"type":"TypeString","computed":true}}}},"endpoint":{"type":"TypeString","computed":true},"identity":{"type":"TypeList","computed":true,"elem":{"schema":{"identity_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"local_auth_enabled":{"type":"TypeBool","computed":true},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"primary_read_key":{"type":"TypeList","computed":true,"elem":{"schema":{"connection_string":{"type":"TypeString","computed":true},"id":{"type":"TypeString","computed":true},"secret":{"type":"TypeString","computed":true}}}},"primary_write_key":{"type":"TypeList","computed":true,"elem":{"schema":{"connection_string":{"type":"TypeString","computed":true},"id":{"type":"TypeString","computed":true},"secret":{"type":"TypeString","computed":true}}}},"public_network_access":{"type":"TypeString","computed":true},"public_network_access_enabled":{"type":"TypeBool","computed":true},"purge_protection_enabled":{"type":"TypeBool","computed":true},"replica":{"type":"TypeList","computed":true,"elem":{"schema":{"endpoint":{"type":"TypeString","computed":true},"id":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true}}}},"resource_group_name":{"type":"TypeString","required":true},"secondary_read_key":{"type":"TypeList","computed":true,"elem":{"schema":{"connection_string":{"type":"TypeString","computed":true},"id":{"type":"TypeString","computed":true},"secret":{"type":"TypeString","computed":true}}}},"secondary_write_key":{"type":"TypeList","computed":true,"elem":{"schema":{"connection_string":{"type":"TypeString","computed":true},"id":{"type":"TypeString","computed":true},"secret":{"type":"TypeString","computed":true}}}},"sku":{"type":"TypeString","computed":true},"soft_delete_retention_days":{"type":"TypeInt","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_app_configuration_key":{"schema":{"configuration_store_id":{"type":"TypeString","required":true},"content_type":{"type":"TypeString","computed":true},"etag":{"type":"TypeString","computed":true},"key":{"type":"TypeString","required":true},"label":{"type":"TypeString","optional":true,"default":""},"locked":{"type":"TypeBool","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"type":{"type":"TypeString","computed":true},"value":{"type":"TypeString","computed":true},"vault_key_reference":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_app_configuration_keys":{"schema":{"configuration_store_id":{"type":"TypeString","required":true},"items":{"type":"TypeList","computed":true,"elem":{"schema":{"content_type":{"type":"TypeString","computed":true},"etag":{"type":"TypeString","computed":true},"key":{"type":"TypeString","computed":true},"label":{"type":"TypeString","computed":true},"locked":{"type":"TypeBool","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"type":{"type":"TypeString","computed":true},"value":{"type":"TypeString","computed":true},"vault_key_reference":{"type":"TypeString","computed":true}}}},"key":{"type":"TypeString","optional":true,"default":""},"label":{"type":"TypeString","optional":true,"default":""}},"timeouts":{"read":5}},"azurerm_app_service":{"schema":{"app_service_plan_id":{"type":"TypeString","computed":true},"app_settings":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"client_affinity_enabled":{"type":"TypeBool","computed":true},"client_cert_enabled":{"type":"TypeBool","computed":true},"connection_string":{"type":"TypeList","computed":true,"elem":{"schema":{"name":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true},"value":{"type":"TypeString","computed":true}}}},"custom_domain_verification_id":{"type":"TypeString","computed":true},"default_site_hostname":{"type":"TypeString","computed":true},"enabled":{"type":"TypeBool","computed":true},"https_only":{"type":"TypeBool","computed":true},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"outbound_ip_address_list":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"outbound_ip_addresses":{"type":"TypeString","computed":true},"possible_outbound_ip_address_list":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"possible_outbound_ip_addresses":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true},"site_config":{"type":"TypeList","computed":true,"elem":{"schema":{"acr_use_managed_identity_credentials":{"type":"TypeBool","computed":true},"acr_user_managed_identity_client_id":{"type":"TypeString","computed":true},"always_on":{"type":"TypeBool","computed":true},"app_command_line":{"type":"TypeString","computed":true},"cors":{"type":"TypeList","computed":true,"elem":{"schema":{"allowed_origins":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"support_credentials":{"type":"TypeBool","computed":true}}}},"default_documents":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"dotnet_framework_version":{"type":"TypeString","computed":true},"ftps_state":{"type":"TypeString","computed":true},"health_check_path":{"type":"TypeString","computed":true},"http2_enabled":{"type":"TypeBool","computed":true},"ip_restriction":{"type":"TypeList","computed":true,"elem":{"schema":{"action":{"type":"TypeString","computed":true},"headers":{"type":"TypeList","configMode":"Auto","optional":true,"computed":true,"elem":{"schema":{"x_azure_fdid":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"x_fd_health_probe":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"x_forwarded_for":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"x_forwarded_host":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"ip_address":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"priority":{"type":"TypeInt","computed":true},"service_tag":{"type":"TypeString","computed":true},"virtual_network_subnet_id":{"type":"TypeString","computed":true}}}},"java_container":{"type":"TypeString","computed":true},"java_container_version":{"type":"TypeString","computed":true},"java_version":{"type":"TypeString","computed":true},"linux_fx_version":{"type":"TypeString","computed":true},"local_mysql_enabled":{"type":"TypeBool","computed":true},"managed_pipeline_mode":{"type":"TypeString","computed":true},"min_tls_version":{"type":"TypeString","computed":true},"number_of_workers":{"type":"TypeInt","computed":true},"php_version":{"type":"TypeString","computed":true},"python_version":{"type":"TypeString","computed":true},"remote_debugging_enabled":{"type":"TypeBool","computed":true},"remote_debugging_version":{"type":"TypeString","computed":true},"scm_ip_restriction":{"type":"TypeList","computed":true,"elem":{"schema":{"action":{"type":"TypeString","computed":true},"headers":{"type":"TypeList","configMode":"Auto","optional":true,"computed":true,"elem":{"schema":{"x_azure_fdid":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"x_fd_health_probe":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"x_forwarded_for":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"x_forwarded_host":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"ip_address":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"priority":{"type":"TypeInt","computed":true},"service_tag":{"type":"TypeString","computed":true},"virtual_network_subnet_id":{"type":"TypeString","computed":true}}}},"scm_type":{"type":"TypeString","computed":true},"scm_use_main_ip_restriction":{"type":"TypeBool","computed":true},"use_32_bit_worker_process":{"type":"TypeBool","computed":true},"vnet_route_all_enabled":{"type":"TypeBool","computed":true},"websockets_enabled":{"type":"TypeBool","computed":true},"windows_fx_version":{"type":"TypeString","computed":true}}}},"site_credential":{"type":"TypeList","computed":true,"elem":{"schema":{"password":{"type":"TypeString","computed":true},"username":{"type":"TypeString","computed":true}}}},"source_control":{"type":"TypeList","computed":true,"elem":{"schema":{"branch":{"type":"TypeString","computed":true},"manual_integration":{"type":"TypeBool","computed":true},"repo_url":{"type":"TypeString","computed":true},"rollback_enabled":{"type":"TypeBool","computed":true},"use_mercurial":{"type":"TypeBool","computed":true}}}},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_app_service_certificate":{"schema":{"expiration_date":{"type":"TypeString","computed":true},"friendly_name":{"type":"TypeString","computed":true},"host_names":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"issue_date":{"type":"TypeString","computed":true},"issuer":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"subject_name":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"thumbprint":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_app_service_certificate_order":{"schema":{"app_service_certificate_not_renewable_reasons":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"auto_renew":{"type":"TypeBool","computed":true},"certificates":{"type":"TypeList","computed":true,"elem":{"schema":{"certificate_name":{"type":"TypeString","computed":true},"key_vault_id":{"type":"TypeString","computed":true},"key_vault_secret_name":{"type":"TypeString","computed":true},"provisioning_state":{"type":"TypeString","computed":true}}}},"csr":{"type":"TypeString","computed":true},"distinguished_name":{"type":"TypeString","computed":true},"domain_verification_token":{"type":"TypeString","computed":true},"expiration_time":{"type":"TypeString","computed":true},"intermediate_thumbprint":{"type":"TypeString","computed":true},"is_private_key_external":{"type":"TypeBool","computed":true},"key_size":{"type":"TypeInt","computed":true},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"product_type":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true},"root_thumbprint":{"type":"TypeString","computed":true},"signed_certificate_thumbprint":{"type":"TypeString","computed":true},"status":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"validity_in_years":{"type":"TypeInt","computed":true}},"timeouts":{"read":5}},"azurerm_app_service_environment_v3":{"schema":{"allow_new_private_endpoint_connections":{"type":"TypeBool","computed":true},"cluster_setting":{"type":"TypeList","computed":true,"elem":{"schema":{"name":{"type":"TypeString","computed":true},"value":{"type":"TypeString","computed":true}}}},"dedicated_host_count":{"type":"TypeInt","computed":true},"dns_suffix":{"type":"TypeString","computed":true},"external_inbound_ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"inbound_network_dependencies":{"type":"TypeList","computed":true,"elem":{"schema":{"description":{"type":"TypeString","computed":true},"ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"ports":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}}},"internal_inbound_ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"internal_load_balancing_mode":{"type":"TypeString","computed":true},"ip_ssl_address_count":{"type":"TypeInt","computed":true},"linux_outbound_ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"pricing_tier":{"type":"TypeString","computed":true},"remote_debugging_enabled":{"type":"TypeBool","computed":true},"resource_group_name":{"type":"TypeString","required":true},"subnet_id":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"windows_outbound_ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"zone_redundant":{"type":"TypeBool","computed":true}},"timeouts":{"read":5}},"azurerm_app_service_plan":{"schema":{"app_service_environment_id":{"type":"TypeString","computed":true},"is_xenon":{"type":"TypeBool","computed":true},"kind":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"maximum_elastic_worker_count":{"type":"TypeInt","computed":true},"maximum_number_of_workers":{"type":"TypeInt","computed":true},"name":{"type":"TypeString","required":true},"per_site_scaling":{"type":"TypeBool","computed":true},"reserved":{"type":"TypeBool","computed":true},"resource_group_name":{"type":"TypeString","required":true},"sku":{"type":"TypeList","computed":true,"elem":{"schema":{"capacity":{"type":"TypeInt","computed":true},"size":{"type":"TypeString","computed":true},"tier":{"type":"TypeString","computed":true}}}},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"zone_redundant":{"type":"TypeBool","computed":true}},"timeouts":{"read":5}},"azurerm_application_gateway":{"schema":{"authentication_certificate":{"type":"TypeList","computed":true,"elem":{"schema":{"id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true}}}},"autoscale_configuration":{"type":"TypeList","computed":true,"elem":{"schema":{"max_capacity":{"type":"TypeInt","computed":true},"min_capacity":{"type":"TypeInt","computed":true}}}},"backend_address_pool":{"type":"TypeList","computed":true,"elem":{"schema":{"fqdns":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"id":{"type":"TypeString","computed":true},"ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","computed":true}}}},"backend_http_settings":{"type":"TypeList","computed":true,"elem":{"schema":{"affinity_cookie_name":{"type":"TypeString","computed":true},"authentication_certificate":{"type":"TypeList","computed":true,"elem":{"schema":{"id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true}}}},"connection_draining":{"type":"TypeList","computed":true,"elem":{"schema":{"drain_timeout_sec":{"type":"TypeInt","computed":true},"enabled":{"type":"TypeBool","computed":true}}}},"cookie_based_affinity":{"type":"TypeString","computed":true},"host_name":{"type":"TypeString","computed":true},"id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"path":{"type":"TypeString","computed":true},"pick_host_name_from_backend_address":{"type":"TypeBool","computed":true},"port":{"type":"TypeInt","computed":true},"probe_id":{"type":"TypeString","computed":true},"probe_name":{"type":"TypeString","computed":true},"protocol":{"type":"TypeString","computed":true},"request_timeout":{"type":"TypeInt","computed":true},"trusted_root_certificate_names":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}}},"custom_error_configuration":{"type":"TypeList","computed":true,"elem":{"schema":{"custom_error_page_url":{"type":"TypeString","computed":true},"id":{"type":"TypeString","computed":true},"status_code":{"type":"TypeString","computed":true}}}},"fips_enabled":{"type":"TypeBool","computed":true},"firewall_policy_id":{"type":"TypeString","computed":true},"force_firewall_policy_association":{"type":"TypeBool","computed":true},"frontend_ip_configuration":{"type":"TypeList","computed":true,"elem":{"schema":{"id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"private_ip_address":{"type":"TypeString","computed":true},"private_ip_address_allocation":{"type":"TypeString","computed":true},"private_link_configuration_id":{"type":"TypeString","computed":true},"private_link_configuration_name":{"type":"TypeString","computed":true},"public_ip_address_id":{"type":"TypeString","computed":true},"subnet_id":{"type":"TypeString","computed":true}}}},"frontend_port":{"type":"TypeList","computed":true,"elem":{"schema":{"id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"port":{"type":"TypeInt","computed":true}}}},"gateway_ip_configuration":{"type":"TypeList","computed":true,"elem":{"schema":{"id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"subnet_id":{"type":"TypeString","computed":true}}}},"global":{"type":"TypeList","computed":true,"elem":{"schema":{"request_buffering_enabled":{"type":"TypeBool","computed":true},"response_buffering_enabled":{"type":"TypeBool","computed":true}}}},"http2_enabled":{"type":"TypeBool","computed":true},"http_listener":{"type":"TypeList","computed":true,"elem":{"schema":{"custom_error_configuration":{"type":"TypeList","computed":true,"elem":{"schema":{"custom_error_page_url":{"type":"TypeString","computed":true},"id":{"type":"TypeString","computed":true},"status_code":{"type":"TypeString","computed":true}}}},"firewall_policy_id":{"type":"TypeString","computed":true},"frontend_ip_configuration_id":{"type":"TypeString","computed":true},"frontend_ip_configuration_name":{"type":"TypeString","computed":true},"frontend_port_id":{"type":"TypeString","computed":true},"frontend_port_name":{"type":"TypeString","computed":true},"host_name":{"type":"TypeString","computed":true},"host_names":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"protocol":{"type":"TypeString","computed":true},"require_sni":{"type":"TypeBool","computed":true},"ssl_certificate_id":{"type":"TypeString","computed":true},"ssl_certificate_name":{"type":"TypeString","computed":true},"ssl_profile_id":{"type":"TypeString","computed":true},"ssl_profile_name":{"type":"TypeString","computed":true}}}},"identity":{"type":"TypeList","computed":true,"elem":{"schema":{"identity_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"private_endpoint_connection":{"type":"TypeList","computed":true,"elem":{"schema":{"id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true}}}},"private_link_configuration":{"type":"TypeList","computed":true,"elem":{"schema":{"id":{"type":"TypeString","computed":true},"ip_configuration":{"type":"TypeList","computed":true,"elem":{"schema":{"name":{"type":"TypeString","computed":true},"primary":{"type":"TypeBool","computed":true},"private_ip_address":{"type":"TypeString","computed":true},"private_ip_address_allocation":{"type":"TypeString","computed":true},"subnet_id":{"type":"TypeString","computed":true}}}},"name":{"type":"TypeString","computed":true}}}},"probe":{"type":"TypeList","computed":true,"elem":{"schema":{"host":{"type":"TypeString","computed":true},"id":{"type":"TypeString","computed":true},"interval":{"type":"TypeInt","computed":true},"match":{"type":"TypeList","computed":true,"elem":{"schema":{"body":{"type":"TypeString","computed":true},"status_code":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}}},"minimum_servers":{"type":"TypeInt","computed":true},"name":{"type":"TypeString","computed":true},"path":{"type":"TypeString","computed":true},"pick_host_name_from_backend_http_settings":{"type":"TypeBool","computed":true},"port":{"type":"TypeInt","computed":true},"protocol":{"type":"TypeString","computed":true},"timeout":{"type":"TypeInt","computed":true},"unhealthy_threshold":{"type":"TypeInt","computed":true}}}},"redirect_configuration":{"type":"TypeList","computed":true,"elem":{"schema":{"id":{"type":"TypeString","computed":true},"include_path":{"type":"TypeBool","computed":true},"include_query_string":{"type":"TypeBool","computed":true},"name":{"type":"TypeString","computed":true},"redirect_type":{"type":"TypeString","computed":true},"target_listener_id":{"type":"TypeString","computed":true},"target_listener_name":{"type":"TypeString","computed":true},"target_url":{"type":"TypeString","computed":true}}}},"request_routing_rule":{"type":"TypeList","computed":true,"elem":{"schema":{"backend_address_pool_id":{"type":"TypeString","computed":true},"backend_address_pool_name":{"type":"TypeString","computed":true},"backend_http_settings_id":{"type":"TypeString","computed":true},"backend_http_settings_name":{"type":"TypeString","computed":true},"http_listener_id":{"type":"TypeString","computed":true},"http_listener_name":{"type":"TypeString","computed":true},"id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"priority":{"type":"TypeInt","computed":true},"redirect_configuration_id":{"type":"TypeString","computed":true},"redirect_configuration_name":{"type":"TypeString","computed":true},"rewrite_rule_set_id":{"type":"TypeString","computed":true},"rewrite_rule_set_name":{"type":"TypeString","computed":true},"rule_type":{"type":"TypeString","computed":true},"url_path_map_id":{"type":"TypeString","computed":true},"url_path_map_name":{"type":"TypeString","computed":true}}}},"resource_group_name":{"type":"TypeString","required":true},"rewrite_rule_set":{"type":"TypeList","computed":true,"elem":{"schema":{"id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"rewrite_rule":{"type":"TypeList","computed":true,"elem":{"schema":{"condition":{"type":"TypeList","computed":true,"elem":{"schema":{"ignore_case":{"type":"TypeBool","computed":true},"negate":{"type":"TypeBool","computed":true},"pattern":{"type":"TypeString","computed":true},"variable":{"type":"TypeString","computed":true}}}},"name":{"type":"TypeString","computed":true},"request_header_configuration":{"type":"TypeList","computed":true,"elem":{"schema":{"header_name":{"type":"TypeString","computed":true},"header_value":{"type":"TypeString","computed":true}}}},"response_header_configuration":{"type":"TypeList","computed":true,"elem":{"schema":{"header_name":{"type":"TypeString","computed":true},"header_value":{"type":"TypeString","computed":true}}}},"rule_sequence":{"type":"TypeInt","computed":true},"url":{"type":"TypeList","computed":true,"elem":{"schema":{"components":{"type":"TypeString","computed":true},"path":{"type":"TypeString","computed":true},"query_string":{"type":"TypeString","computed":true},"reroute":{"type":"TypeBool","computed":true}}}}}}}}}},"sku":{"type":"TypeList","computed":true,"elem":{"schema":{"capacity":{"type":"TypeInt","computed":true},"name":{"type":"TypeString","computed":true},"tier":{"type":"TypeString","computed":true}}}},"ssl_certificate":{"type":"TypeList","computed":true,"elem":{"schema":{"id":{"type":"TypeString","computed":true},"key_vault_secret_id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"public_cert_data":{"type":"TypeString","computed":true}}}},"ssl_policy":{"type":"TypeList","computed":true,"elem":{"schema":{"cipher_suites":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"disabled_protocols":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"min_protocol_version":{"type":"TypeString","computed":true},"policy_name":{"type":"TypeString","computed":true},"policy_type":{"type":"TypeString","computed":true}}}},"ssl_profile":{"type":"TypeList","computed":true,"elem":{"schema":{"id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"ssl_policy":{"type":"TypeList","computed":true,"elem":{"schema":{"cipher_suites":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"disabled_protocols":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"min_protocol_version":{"type":"TypeString","computed":true},"policy_name":{"type":"TypeString","computed":true},"policy_type":{"type":"TypeString","computed":true}}}},"trusted_client_certificate_names":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"verify_client_certificate_issuer_dn":{"type":"TypeBool","computed":true},"verify_client_certificate_revocation":{"type":"TypeString","computed":true}}}},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"trusted_client_certificate":{"type":"TypeList","computed":true,"elem":{"schema":{"data":{"type":"TypeString","computed":true},"id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true}}}},"trusted_root_certificate":{"type":"TypeList","computed":true,"elem":{"schema":{"id":{"type":"TypeString","computed":true},"key_vault_secret_id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true}}}},"url_path_map":{"type":"TypeList","computed":true,"elem":{"schema":{"default_backend_address_pool_id":{"type":"TypeString","computed":true},"default_backend_address_pool_name":{"type":"TypeString","computed":true},"default_backend_http_settings_id":{"type":"TypeString","computed":true},"default_backend_http_settings_name":{"type":"TypeString","computed":true},"default_redirect_configuration_id":{"type":"TypeString","computed":true},"default_redirect_configuration_name":{"type":"TypeString","computed":true},"default_rewrite_rule_set_id":{"type":"TypeString","computed":true},"default_rewrite_rule_set_name":{"type":"TypeString","computed":true},"id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"path_rule":{"type":"TypeList","computed":true,"elem":{"schema":{"backend_address_pool_id":{"type":"TypeString","computed":true},"backend_address_pool_name":{"type":"TypeString","computed":true},"backend_http_settings_id":{"type":"TypeString","computed":true},"backend_http_settings_name":{"type":"TypeString","computed":true},"firewall_policy_id":{"type":"TypeString","computed":true},"id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"paths":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"redirect_configuration_id":{"type":"TypeString","computed":true},"redirect_configuration_name":{"type":"TypeString","computed":true},"rewrite_rule_set_id":{"type":"TypeString","computed":true},"rewrite_rule_set_name":{"type":"TypeString","computed":true}}}}}}},"waf_configuration":{"type":"TypeList","computed":true,"elem":{"schema":{"disabled_rule_group":{"type":"TypeList","computed":true,"elem":{"schema":{"rule_group_name":{"type":"TypeString","computed":true},"rules":{"type":"TypeList","computed":true,"elem":{"type":"TypeInt"}}}}},"enabled":{"type":"TypeBool","computed":true},"exclusion":{"type":"TypeList","computed":true,"elem":{"schema":{"match_variable":{"type":"TypeString","computed":true},"selector":{"type":"TypeString","computed":true},"selector_match_operator":{"type":"TypeString","computed":true}}}},"file_upload_limit_mb":{"type":"TypeInt","computed":true},"firewall_mode":{"type":"TypeString","computed":true},"max_request_body_size_kb":{"type":"TypeInt","computed":true},"request_body_check":{"type":"TypeBool","computed":true},"rule_set_type":{"type":"TypeString","computed":true},"rule_set_version":{"type":"TypeString","computed":true}}}},"zones":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_application_insights":{"schema":{"app_id":{"type":"TypeString","computed":true},"application_type":{"type":"TypeString","computed":true},"connection_string":{"type":"TypeString","computed":true},"instrumentation_key":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"retention_in_days":{"type":"TypeInt","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"workspace_id":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_application_security_group":{"schema":{"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_arc_machine":{"schema":{"active_directory_fqdn":{"type":"TypeString","computed":true},"agent":{"type":"TypeList","computed":true,"elem":{"schema":{"extensions_allow_list":{"type":"TypeList","computed":true,"elem":{"schema":{"publisher":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"extensions_block_list":{"type":"TypeList","computed":true,"elem":{"schema":{"publisher":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"extensions_enabled":{"type":"TypeBool","computed":true},"guest_configuration_enabled":{"type":"TypeBool","computed":true},"incoming_connections_ports":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"proxy_bypass":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"proxy_url":{"type":"TypeString","computed":true}}}},"agent_version":{"type":"TypeString","computed":true},"client_public_key":{"type":"TypeString","computed":true},"cloud_metadata":{"type":"TypeList","computed":true,"elem":{"schema":{"provider":{"type":"TypeString","computed":true}}}},"detected_properties":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"display_name":{"type":"TypeString","computed":true},"dns_fqdn":{"type":"TypeString","computed":true},"domain_name":{"type":"TypeString","computed":true},"identity":{"type":"TypeList","computed":true,"elem":{"schema":{"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"last_status_change_time":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"location_data":{"type":"TypeList","computed":true,"elem":{"schema":{"city":{"type":"TypeString","computed":true},"country_or_region":{"type":"TypeString","computed":true},"district":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true}}}},"machine_fqdn":{"type":"TypeString","computed":true},"mssql_discovered":{"type":"TypeBool","computed":true},"name":{"type":"TypeString","required":true},"os_name":{"type":"TypeString","computed":true},"os_profile":{"type":"TypeList","computed":true,"elem":{"schema":{"computer_name":{"type":"TypeString","computed":true},"linux":{"type":"TypeList","computed":true,"elem":{"schema":{"patch":{"type":"TypeList","computed":true,"elem":{"schema":{"assessment_mode":{"type":"TypeString","computed":true},"patch_mode":{"type":"TypeString","computed":true}}}}}}},"windows":{"type":"TypeList","computed":true,"elem":{"schema":{"patch":{"type":"TypeList","computed":true,"elem":{"schema":{"assessment_mode":{"type":"TypeString","computed":true},"patch_mode":{"type":"TypeString","computed":true}}}}}}}}}},"os_sku":{"type":"TypeString","computed":true},"os_type":{"type":"TypeString","computed":true},"os_version":{"type":"TypeString","computed":true},"parent_cluster_resource_id":{"type":"TypeString","computed":true},"private_link_scope_resource_id":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true},"service_status":{"type":"TypeList","computed":true,"elem":{"schema":{"extension_service":{"type":"TypeList","computed":true,"elem":{"schema":{"startup_type":{"type":"TypeString","computed":true},"status":{"type":"TypeString","computed":true}}}},"guest_configuration_service":{"type":"TypeList","computed":true,"elem":{"schema":{"startup_type":{"type":"TypeString","computed":true},"status":{"type":"TypeString","computed":true}}}}}}},"status":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"vm_id":{"type":"TypeString","computed":true},"vm_uuid":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_arc_resource_bridge_appliance":{"schema":{"distro":{"type":"TypeString","computed":true},"identity":{"type":"TypeList","computed":true,"elem":{"schema":{"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"infrastructure_provider":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"public_key_base64":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_attestation_provider":{"schema":{"attestation_uri":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"trust_model":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_automation_account":{"schema":{"endpoint":{"type":"TypeString","computed":true},"hybrid_service_url":{"type":"TypeString","computed":true},"identity":{"type":"TypeList","computed":true,"elem":{"schema":{"identity_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"name":{"type":"TypeString","required":true},"primary_key":{"type":"TypeString","computed":true},"private_endpoint_connection":{"type":"TypeList","computed":true,"elem":{"schema":{"id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true}}}},"resource_group_name":{"type":"TypeString","required":true},"secondary_key":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_automation_runbook":{"schema":{"automation_account_name":{"type":"TypeString","required":true},"content":{"type":"TypeString","computed":true},"description":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"log_activity_trace_level":{"type":"TypeInt","computed":true},"log_progress":{"type":"TypeBool","computed":true},"log_verbose":{"type":"TypeBool","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"runbook_type":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_automation_variable_bool":{"schema":{"automation_account_name":{"type":"TypeString","required":true},"description":{"type":"TypeString","computed":true},"encrypted":{"type":"TypeBool","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"value":{"type":"TypeBool","computed":true}},"timeouts":{"read":5}},"azurerm_automation_variable_datetime":{"schema":{"automation_account_name":{"type":"TypeString","required":true},"description":{"type":"TypeString","computed":true},"encrypted":{"type":"TypeBool","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"value":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_automation_variable_int":{"schema":{"automation_account_name":{"type":"TypeString","required":true},"description":{"type":"TypeString","computed":true},"encrypted":{"type":"TypeBool","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"value":{"type":"TypeInt","computed":true}},"timeouts":{"read":5}},"azurerm_automation_variable_object":{"schema":{"automation_account_name":{"type":"TypeString","required":true},"description":{"type":"TypeString","computed":true},"encrypted":{"type":"TypeBool","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"value":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_automation_variable_string":{"schema":{"automation_account_name":{"type":"TypeString","required":true},"description":{"type":"TypeString","computed":true},"encrypted":{"type":"TypeBool","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"value":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_automation_variables":{"schema":{"automation_account_id":{"type":"TypeString","required":true},"bool":{"type":"TypeList","computed":true,"elem":{"schema":{"description":{"type":"TypeString","computed":true},"encrypted":{"type":"TypeBool","computed":true},"id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"value":{"type":"TypeBool","computed":true}}}},"datetime":{"type":"TypeList","computed":true,"elem":{"schema":{"description":{"type":"TypeString","computed":true},"encrypted":{"type":"TypeBool","computed":true},"id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"value":{"type":"TypeString","computed":true}}}},"encrypted":{"type":"TypeList","computed":true,"elem":{"schema":{"description":{"type":"TypeString","computed":true},"encrypted":{"type":"TypeBool","computed":true},"id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"value":{"type":"TypeString","computed":true}}}},"int":{"type":"TypeList","computed":true,"elem":{"schema":{"description":{"type":"TypeString","computed":true},"encrypted":{"type":"TypeBool","computed":true},"id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"value":{"type":"TypeInt","computed":true}}}},"null":{"type":"TypeList","computed":true,"elem":{"schema":{"description":{"type":"TypeString","computed":true},"encrypted":{"type":"TypeBool","computed":true},"id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"value":{"type":"TypeString","computed":true}}}},"object":{"type":"TypeList","computed":true,"elem":{"schema":{"description":{"type":"TypeString","computed":true},"encrypted":{"type":"TypeBool","computed":true},"id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"value":{"type":"TypeString","computed":true}}}},"string":{"type":"TypeList","computed":true,"elem":{"schema":{"description":{"type":"TypeString","computed":true},"encrypted":{"type":"TypeBool","computed":true},"id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"value":{"type":"TypeString","computed":true}}}}},"timeouts":{"read":5}},"azurerm_availability_set":{"schema":{"location":{"type":"TypeString","computed":true},"managed":{"type":"TypeBool","computed":true},"name":{"type":"TypeString","required":true},"platform_fault_domain_count":{"type":"TypeInt","computed":true},"platform_update_domain_count":{"type":"TypeInt","computed":true},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_backup_policy_file_share":{"schema":{"name":{"type":"TypeString","required":true},"recovery_vault_name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_backup_policy_vm":{"schema":{"name":{"type":"TypeString","required":true},"recovery_vault_name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_bastion_host":{"schema":{"copy_paste_enabled":{"type":"TypeBool","computed":true},"dns_name":{"type":"TypeString","computed":true},"file_copy_enabled":{"type":"TypeBool","computed":true},"ip_configuration":{"type":"TypeList","computed":true,"elem":{"schema":{"name":{"type":"TypeString","computed":true},"public_ip_address_id":{"type":"TypeString","computed":true},"subnet_id":{"type":"TypeString","computed":true}}}},"ip_connect_enabled":{"type":"TypeBool","computed":true},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"scale_units":{"type":"TypeInt","computed":true},"session_recording_enabled":{"type":"TypeBool","computed":true},"shareable_link_enabled":{"type":"TypeBool","computed":true},"sku":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"tunneling_enabled":{"type":"TypeBool","computed":true}},"timeouts":{"read":5}},"azurerm_batch_account":{"schema":{"account_endpoint":{"type":"TypeString","computed":true},"encryption":{"type":"TypeList","computed":true,"elem":{"schema":{"key_vault_key_id":{"type":"TypeString","computed":true}}}},"key_vault_reference":{"type":"TypeList","computed":true,"elem":{"schema":{"id":{"type":"TypeString","computed":true},"url":{"type":"TypeString","computed":true}}}},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"pool_allocation_mode":{"type":"TypeString","computed":true},"primary_access_key":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true},"secondary_access_key":{"type":"TypeString","computed":true},"storage_account_id":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_batch_application":{"schema":{"account_name":{"type":"TypeString","required":true},"allow_updates":{"type":"TypeBool","computed":true},"default_version":{"type":"TypeString","computed":true},"display_name":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_batch_certificate":{"schema":{"account_name":{"type":"TypeString","required":true},"format":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"public_data":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true},"thumbprint":{"type":"TypeString","computed":true},"thumbprint_algorithm":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_batch_pool":{"schema":{"account_name":{"type":"TypeString","required":true},"auto_scale":{"type":"TypeList","computed":true,"elem":{"schema":{"evaluation_interval":{"type":"TypeString","computed":true},"formula":{"type":"TypeString","computed":true}}}},"certificate":{"type":"TypeList","computed":true,"elem":{"schema":{"id":{"type":"TypeString","computed":true},"store_location":{"type":"TypeString","computed":true},"store_name":{"type":"TypeString","computed":true},"visibility":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}}}}},"container_configuration":{"type":"TypeList","computed":true,"elem":{"schema":{"container_image_names":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"container_registries":{"type":"TypeList","computed":true,"elem":{"schema":{"password":{"type":"TypeString","computed":true},"registry_server":{"type":"TypeString","computed":true},"user_assigned_identity_id":{"type":"TypeString","computed":true},"user_name":{"type":"TypeString","computed":true}}}},"type":{"type":"TypeString","computed":true}}}},"data_disks":{"type":"TypeList","computed":true,"elem":{"schema":{"caching":{"type":"TypeString","computed":true},"disk_size_gb":{"type":"TypeInt","computed":true},"lun":{"type":"TypeInt","computed":true},"storage_account_type":{"type":"TypeString","computed":true}}}},"disk_encryption":{"type":"TypeList","computed":true,"elem":{"schema":{"disk_encryption_target":{"type":"TypeString","computed":true}}}},"display_name":{"type":"TypeString","computed":true},"extensions":{"type":"TypeList","computed":true,"elem":{"schema":{"auto_upgrade_minor_version":{"type":"TypeBool","computed":true},"name":{"type":"TypeString","computed":true},"protected_settings":{"type":"TypeString","computed":true},"provision_after_extensions":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"publisher":{"type":"TypeString","computed":true},"settings_json":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true},"type_handler_version":{"type":"TypeString","computed":true}}}},"fixed_scale":{"type":"TypeList","computed":true,"elem":{"schema":{"resize_timeout":{"type":"TypeString","computed":true},"target_dedicated_nodes":{"type":"TypeInt","computed":true},"target_low_priority_nodes":{"type":"TypeInt","computed":true}}}},"inter_node_communication":{"type":"TypeString","computed":true},"license_type":{"type":"TypeString","computed":true},"max_tasks_per_node":{"type":"TypeInt","computed":true},"metadata":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"mount":{"type":"TypeList","computed":true,"elem":{"schema":{"azure_blob_file_system":{"type":"TypeList","optional":true,"elem":{"schema":{"account_key":{"type":"TypeString","computed":true},"account_name":{"type":"TypeString","computed":true},"blobfuse_options":{"type":"TypeString","computed":true},"container_name":{"type":"TypeString","computed":true},"identity_id":{"type":"TypeString","computed":true},"relative_mount_path":{"type":"TypeString","computed":true},"sas_key":{"type":"TypeString","computed":true}}}},"azure_file_share":{"type":"TypeList","optional":true,"elem":{"schema":{"account_key":{"type":"TypeString","computed":true},"account_name":{"type":"TypeString","computed":true},"azure_file_url":{"type":"TypeString","computed":true},"mount_options":{"type":"TypeString","computed":true},"relative_mount_path":{"type":"TypeString","computed":true}}}},"cifs_mount":{"type":"TypeList","computed":true,"elem":{"schema":{"mount_options":{"type":"TypeString","computed":true},"password":{"type":"TypeString","computed":true},"relative_mount_path":{"type":"TypeString","computed":true},"source":{"type":"TypeString","computed":true},"user_name":{"type":"TypeString","computed":true}}}},"nfs_mount":{"type":"TypeList","computed":true,"elem":{"schema":{"mount_options":{"type":"TypeString","computed":true},"relative_mount_path":{"type":"TypeString","computed":true},"source":{"type":"TypeString","computed":true}}}}}}},"name":{"type":"TypeString","required":true},"network_configuration":{"type":"TypeList","computed":true,"elem":{"schema":{"accelerated_networking_enabled":{"type":"TypeBool","computed":true},"dynamic_vnet_assignment_scope":{"type":"TypeString","computed":true},"endpoint_configuration":{"type":"TypeList","computed":true,"elem":{"schema":{"backend_port":{"type":"TypeInt","computed":true},"frontend_port_range":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"network_security_group_rules":{"type":"TypeList","computed":true,"elem":{"schema":{"access":{"type":"TypeString","computed":true},"priority":{"type":"TypeInt","computed":true},"source_address_prefix":{"type":"TypeString","computed":true},"source_port_ranges":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}}},"protocol":{"type":"TypeString","computed":true}}}},"public_address_provisioning_type":{"type":"TypeString","computed":true},"public_ips":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"subnet_id":{"type":"TypeString","computed":true}}}},"node_agent_sku_id":{"type":"TypeString","computed":true},"node_placement":{"type":"TypeList","computed":true,"elem":{"schema":{"policy":{"type":"TypeString","computed":true}}}},"os_disk_placement":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true},"start_task":{"type":"TypeList","computed":true,"elem":{"schema":{"command_line":{"type":"TypeString","computed":true},"common_environment_properties":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"container":{"type":"TypeList","computed":true,"elem":{"schema":{"image_name":{"type":"TypeString","computed":true},"registry":{"type":"TypeList","computed":true,"elem":{"schema":{"password":{"type":"TypeString","computed":true},"registry_server":{"type":"TypeString","computed":true},"user_assigned_identity_id":{"type":"TypeString","computed":true},"user_name":{"type":"TypeString","computed":true}}}},"run_options":{"type":"TypeString","computed":true},"working_directory":{"type":"TypeString","computed":true}}}},"resource_file":{"type":"TypeList","computed":true,"elem":{"schema":{"auto_storage_container_name":{"type":"TypeString","computed":true},"blob_prefix":{"type":"TypeString","computed":true},"file_mode":{"type":"TypeString","computed":true},"file_path":{"type":"TypeString","computed":true},"http_url":{"type":"TypeString","computed":true},"storage_container_url":{"type":"TypeString","computed":true},"user_assigned_identity_id":{"type":"TypeString","computed":true}}}},"task_retry_maximum":{"type":"TypeInt","computed":true},"user_identity":{"type":"TypeList","computed":true,"elem":{"schema":{"auto_user":{"type":"TypeList","computed":true,"elem":{"schema":{"elevation_level":{"type":"TypeString","computed":true},"scope":{"type":"TypeString","computed":true}}}},"user_name":{"type":"TypeString","computed":true}}}},"wait_for_success":{"type":"TypeBool","computed":true}}}},"storage_image_reference":{"type":"TypeList","computed":true,"elem":{"schema":{"id":{"type":"TypeString","computed":true},"offer":{"type":"TypeString","computed":true},"publisher":{"type":"TypeString","computed":true},"sku":{"type":"TypeString","computed":true},"version":{"type":"TypeString","computed":true}}}},"task_scheduling_policy":{"type":"TypeList","computed":true,"elem":{"schema":{"node_fill_type":{"type":"TypeString","computed":true}}}},"user_accounts":{"type":"TypeList","computed":true,"elem":{"schema":{"elevation_level":{"type":"TypeString","computed":true},"linux_user_configuration":{"type":"TypeList","computed":true,"elem":{"schema":{"gid":{"type":"TypeInt","computed":true},"ssh_private_key":{"type":"TypeString","computed":true},"uid":{"type":"TypeInt","computed":true}}}},"name":{"type":"TypeString","computed":true},"password":{"type":"TypeString","computed":true},"windows_user_configuration":{"type":"TypeList","computed":true,"elem":{"schema":{"login_mode":{"type":"TypeString","computed":true}}}}}}},"vm_size":{"type":"TypeString","computed":true},"windows":{"type":"TypeList","computed":true,"elem":{"schema":{"enable_automatic_updates":{"type":"TypeBool","computed":true}}}}},"timeouts":{"read":5}},"azurerm_billing_enrollment_account_scope":{"schema":{"billing_account_name":{"type":"TypeString","required":true},"enrollment_account_name":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_billing_mca_account_scope":{"schema":{"billing_account_name":{"type":"TypeString","required":true},"billing_profile_name":{"type":"TypeString","required":true},"invoice_section_name":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_billing_mpa_account_scope":{"schema":{"billing_account_name":{"type":"TypeString","required":true},"customer_name":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_blueprint_definition":{"schema":{"description":{"type":"TypeString","computed":true},"display_name":{"type":"TypeString","computed":true},"last_modified":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"scope_id":{"type":"TypeString","required":true},"target_scope":{"type":"TypeString","computed":true},"time_created":{"type":"TypeString","computed":true},"versions":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_blueprint_published_version":{"schema":{"blueprint_name":{"type":"TypeString","required":true},"description":{"type":"TypeString","computed":true},"display_name":{"type":"TypeString","computed":true},"last_modified":{"type":"TypeString","computed":true},"scope_id":{"type":"TypeString","required":true},"target_scope":{"type":"TypeString","computed":true},"time_created":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true},"version":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_cdn_frontdoor_custom_domain":{"schema":{"cdn_frontdoor_profile_id":{"type":"TypeString","computed":true},"dns_zone_id":{"type":"TypeString","computed":true},"expiration_date":{"type":"TypeString","computed":true},"host_name":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"profile_name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"tls":{"type":"TypeList","computed":true,"elem":{"schema":{"cdn_frontdoor_secret_id":{"type":"TypeString","computed":true},"certificate_type":{"type":"TypeString","computed":true},"minimum_tls_version":{"type":"TypeString","computed":true}}}},"validation_token":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_cdn_frontdoor_endpoint":{"schema":{"enabled":{"type":"TypeBool","computed":true},"host_name":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"profile_name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_cdn_frontdoor_firewall_policy":{"schema":{"enabled":{"type":"TypeBool","computed":true},"frontend_endpoint_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"mode":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"redirect_url":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true},"sku_name":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_cdn_frontdoor_origin_group":{"schema":{"cdn_frontdoor_profile_id":{"type":"TypeString","computed":true},"health_probe":{"type":"TypeList","computed":true,"elem":{"schema":{"interval_in_seconds":{"type":"TypeInt","computed":true},"path":{"type":"TypeString","computed":true},"protocol":{"type":"TypeString","computed":true},"request_type":{"type":"TypeString","computed":true}}}},"load_balancing":{"type":"TypeList","computed":true,"elem":{"schema":{"additional_latency_in_milliseconds":{"type":"TypeInt","computed":true},"sample_size":{"type":"TypeInt","computed":true},"successful_samples_required":{"type":"TypeInt","computed":true}}}},"name":{"type":"TypeString","required":true},"profile_name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"restore_traffic_time_to_healed_or_new_endpoint_in_minutes":{"type":"TypeInt","computed":true},"session_affinity_enabled":{"type":"TypeBool","computed":true}},"timeouts":{"read":5}},"azurerm_cdn_frontdoor_profile":{"schema":{"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"resource_guid":{"type":"TypeString","computed":true},"response_timeout_seconds":{"type":"TypeInt","computed":true},"sku_name":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_cdn_frontdoor_rule_set":{"schema":{"cdn_frontdoor_profile_id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"profile_name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_cdn_frontdoor_secret":{"schema":{"cdn_frontdoor_profile_id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"profile_name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"secret":{"type":"TypeList","computed":true,"elem":{"schema":{"customer_certificate":{"type":"TypeList","computed":true,"elem":{"schema":{"expiration_date":{"type":"TypeString","computed":true},"key_vault_certificate_id":{"type":"TypeString","computed":true},"subject_alternative_names":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}}}}}}},"timeouts":{"read":5}},"azurerm_cdn_profile":{"schema":{"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"sku":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_client_config":{"schema":{"client_id":{"type":"TypeString","computed":true},"object_id":{"type":"TypeString","computed":true},"subscription_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_cognitive_account":{"schema":{"endpoint":{"type":"TypeString","computed":true},"identity":{"type":"TypeList","computed":true,"elem":{"schema":{"identity_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"kind":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"primary_access_key":{"type":"TypeString","computed":true},"qna_runtime_endpoint":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true},"secondary_access_key":{"type":"TypeString","computed":true},"sku_name":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_communication_service":{"schema":{"data_location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"primary_connection_string":{"type":"TypeString","computed":true},"primary_key":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true},"secondary_connection_string":{"type":"TypeString","computed":true},"secondary_key":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_confidential_ledger":{"schema":{"azuread_based_service_principal":{"type":"TypeList","computed":true,"elem":{"schema":{"ledger_role_name":{"type":"TypeString","computed":true},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true}}}},"certificate_based_security_principal":{"type":"TypeList","computed":true,"elem":{"schema":{"ledger_role_name":{"type":"TypeString","computed":true},"pem_public_key":{"type":"TypeString","computed":true}}}},"identity_service_endpoint":{"type":"TypeString","computed":true},"ledger_endpoint":{"type":"TypeString","computed":true},"ledger_type":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_consumption_budget_resource_group":{"schema":{"amount":{"type":"TypeFloat","computed":true},"filter":{"type":"TypeList","computed":true,"elem":{"schema":{"dimension":{"type":"TypeList","computed":true,"elem":{"schema":{"name":{"type":"TypeString","computed":true},"operator":{"type":"TypeString","computed":true},"values":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}}},"not":{"type":"TypeList","computed":true,"elem":{"schema":{"dimension":{"type":"TypeList","computed":true,"elem":{"schema":{"name":{"type":"TypeString","computed":true},"operator":{"type":"TypeString","computed":true},"values":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}}},"tag":{"type":"TypeList","computed":true,"elem":{"schema":{"name":{"type":"TypeString","computed":true},"operator":{"type":"TypeString","computed":true},"values":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}}}}}},"tag":{"type":"TypeList","computed":true,"elem":{"schema":{"name":{"type":"TypeString","computed":true},"operator":{"type":"TypeString","computed":true},"values":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}}}}}},"name":{"type":"TypeString","required":true},"notification":{"type":"TypeList","computed":true,"elem":{"schema":{"contact_emails":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"contact_groups":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"contact_roles":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"enabled":{"type":"TypeBool","computed":true},"operator":{"type":"TypeString","computed":true},"threshold":{"type":"TypeInt","computed":true},"threshold_type":{"type":"TypeString","computed":true}}}},"resource_group_id":{"type":"TypeString","required":true},"time_grain":{"type":"TypeString","computed":true},"time_period":{"type":"TypeList","computed":true,"elem":{"schema":{"end_date":{"type":"TypeString","computed":true},"start_date":{"type":"TypeString","computed":true}}}}},"timeouts":{"read":5}},"azurerm_consumption_budget_subscription":{"schema":{"amount":{"type":"TypeFloat","computed":true},"filter":{"type":"TypeList","computed":true,"elem":{"schema":{"dimension":{"type":"TypeList","computed":true,"elem":{"schema":{"name":{"type":"TypeString","computed":true},"operator":{"type":"TypeString","computed":true},"values":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}}},"not":{"type":"TypeList","computed":true,"elem":{"schema":{"dimension":{"type":"TypeList","computed":true,"elem":{"schema":{"name":{"type":"TypeString","computed":true},"operator":{"type":"TypeString","computed":true},"values":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}}},"tag":{"type":"TypeList","computed":true,"elem":{"schema":{"name":{"type":"TypeString","computed":true},"operator":{"type":"TypeString","computed":true},"values":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}}}}}},"tag":{"type":"TypeList","computed":true,"elem":{"schema":{"name":{"type":"TypeString","computed":true},"operator":{"type":"TypeString","computed":true},"values":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}}}}}},"name":{"type":"TypeString","required":true},"notification":{"type":"TypeList","computed":true,"elem":{"schema":{"contact_emails":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"contact_groups":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"contact_roles":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"enabled":{"type":"TypeBool","computed":true},"operator":{"type":"TypeString","computed":true},"threshold":{"type":"TypeInt","computed":true},"threshold_type":{"type":"TypeString","computed":true}}}},"subscription_id":{"type":"TypeString","required":true},"time_grain":{"type":"TypeString","computed":true},"time_period":{"type":"TypeList","computed":true,"elem":{"schema":{"end_date":{"type":"TypeString","computed":true},"start_date":{"type":"TypeString","computed":true}}}}},"timeouts":{"read":5}},"azurerm_container_app":{"schema":{"container_app_environment_id":{"type":"TypeString","computed":true},"custom_domain_verification_id":{"type":"TypeString","description":"The ID of the Custom Domain Verification for this Container App.","computed":true},"dapr":{"type":"TypeList","computed":true,"elem":{"schema":{"app_id":{"type":"TypeString","description":"The Dapr Application Identifier.","computed":true},"app_port":{"type":"TypeInt","description":"The port which the application is listening on. This is the same as the `ingress` port.","computed":true},"app_protocol":{"type":"TypeString","description":"The protocol for the app. Possible values include `http` and `grpc`. Defaults to `http`.","computed":true}}}},"identity":{"type":"TypeList","computed":true,"elem":{"schema":{"identity_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"ingress":{"type":"TypeList","computed":true,"elem":{"schema":{"allow_insecure_connections":{"type":"TypeBool","description":"Should this ingress allow insecure connections?","computed":true},"custom_domain":{"type":"TypeList","computed":true,"elem":{"schema":{"certificate_binding_type":{"type":"TypeString","description":"The Binding type. Possible values include `Disabled` and `SniEnabled`. Defaults to `Disabled`","computed":true},"certificate_id":{"type":"TypeString","description":"The ID of the Certificate.","computed":true},"name":{"type":"TypeString","description":"The hostname of the Certificate. Must be the CN or a named SAN in the certificate.","computed":true}}}},"exposed_port":{"type":"TypeInt","description":"The exposed port on the container for the Ingress traffic.","computed":true},"external_enabled":{"type":"TypeBool","description":"Is this an external Ingress.","computed":true},"fqdn":{"type":"TypeString","description":"The FQDN of the ingress.","computed":true},"ip_security_restriction":{"type":"TypeList","computed":true,"elem":{"schema":{"action":{"type":"TypeString","description":"The action. Allow or Deny.","computed":true},"description":{"type":"TypeString","description":"Describe the IP restriction rule that is being sent to the container-app.","computed":true},"ip_address_range":{"type":"TypeString","description":"CIDR notation to match incoming IP address.","computed":true},"name":{"type":"TypeString","description":"Name for the IP restriction rule.","computed":true}}}},"target_port":{"type":"TypeInt","description":"The target port on the container for the Ingress traffic.","computed":true},"traffic_weight":{"type":"TypeList","computed":true,"elem":{"schema":{"label":{"type":"TypeString","description":"The label to apply to the revision as a name prefix for routing traffic.","computed":true},"latest_revision":{"type":"TypeBool","description":"This traffic Weight relates to the latest stable Container Revision.","computed":true},"percentage":{"type":"TypeInt","description":"The percentage of traffic to send to this revision.","computed":true},"revision_suffix":{"type":"TypeString","description":"The suffix string to append to the revision. This must be unique for the Container App's lifetime. A default hash created by the service will be used if this value is omitted.","computed":true}}}},"transport":{"type":"TypeString","description":"The transport method for the Ingress. Possible values include `auto`, `http`, and `http2`, `tcp`. Defaults to `auto`","computed":true}}}},"latest_revision_fqdn":{"type":"TypeString","description":"The fully qualified domain name of the latest Container App.","computed":true},"latest_revision_name":{"type":"TypeString","description":"The name of the latest Container Revision.","computed":true},"location":{"type":"TypeString","computed":true},"max_inactive_revisions":{"type":"TypeInt","computed":true},"name":{"type":"TypeString","required":true},"outbound_ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"registry":{"type":"TypeList","computed":true,"elem":{"schema":{"identity":{"type":"TypeString","description":"ID of the System or User Managed Identity used to pull images from the Container Registry","computed":true},"password_secret_name":{"type":"TypeString","description":"The name of the Secret Reference containing the password value for this user on the Container Registry.","computed":true},"server":{"type":"TypeString","description":"The hostname for the Container Registry.","computed":true},"username":{"type":"TypeString","description":"The username to use for this Container Registry.","computed":true}}}},"resource_group_name":{"type":"TypeString","required":true},"revision_mode":{"type":"TypeString","computed":true},"secret":{"type":"TypeSet","computed":true,"elem":{"schema":{"identity":{"type":"TypeString","description":"The identity to use for accessing key vault reference.","computed":true},"key_vault_secret_id":{"type":"TypeString","description":"The id of the key vault secret.","computed":true},"name":{"type":"TypeString","description":"The secret name.","computed":true},"value":{"type":"TypeString","description":"The value for this secret.","computed":true}}}},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"template":{"type":"TypeList","computed":true,"elem":{"schema":{"azure_queue_scale_rule":{"type":"TypeList","computed":true,"elem":{"schema":{"authentication":{"type":"TypeList","computed":true,"elem":{"schema":{"secret_name":{"type":"TypeString","computed":true},"trigger_parameter":{"type":"TypeString","computed":true}}}},"name":{"type":"TypeString","computed":true},"queue_length":{"type":"TypeInt","computed":true},"queue_name":{"type":"TypeString","computed":true}}}},"container":{"type":"TypeList","computed":true,"elem":{"schema":{"args":{"type":"TypeList","description":"A list of args to pass to the container.","computed":true,"elem":{"type":"TypeString"}},"command":{"type":"TypeList","description":"A command to pass to the container to override the default. This is provided as a list of command line elements without spaces.","computed":true,"elem":{"type":"TypeString"}},"cpu":{"type":"TypeFloat","description":"The amount of vCPU to allocate to the container. Possible values include `0.25`, `0.5`, `0.75`, `1.0`, `1.25`, `1.5`, `1.75`, and `2.0`. **NOTE:** `cpu` and `memory` must be specified in `0.25'/'0.5Gi` combination increments. e.g. `1.0` / `2.0` or `0.5` / `1.0`","computed":true},"env":{"type":"TypeList","computed":true,"elem":{"schema":{"name":{"type":"TypeString","description":"The name of the environment variable for the container.","computed":true},"secret_name":{"type":"TypeString","description":"The name of the secret that contains the value for this environment variable.","computed":true},"value":{"type":"TypeString","description":"The value for this environment variable. **NOTE:** This value is ignored if `secret_name` is used","computed":true}}}},"ephemeral_storage":{"type":"TypeString","description":"The amount of ephemeral storage available to the Container App.","computed":true},"image":{"type":"TypeString","description":"The image to use to create the container.","computed":true},"liveness_probe":{"type":"TypeList","computed":true,"elem":{"schema":{"failure_count_threshold":{"type":"TypeInt","description":"The number of consecutive failures required to consider this probe as failed. Possible values are between `1` and `10`. Defaults to `3`.","computed":true},"header":{"type":"TypeList","computed":true,"elem":{"schema":{"name":{"type":"TypeString","description":"The HTTP Header Name.","computed":true},"value":{"type":"TypeString","description":"The HTTP Header value.","computed":true}}}},"host":{"type":"TypeString","description":"The probe hostname. Defaults to the pod IP address. Setting a value for `Host` in `headers` can be used to override this for `http` and `https` type probes.","computed":true},"initial_delay":{"type":"TypeInt","description":"The time in seconds to wait after the container has started before the probe is started.","computed":true},"interval_seconds":{"type":"TypeInt","description":"How often, in seconds, the probe should run. Possible values are between `1` and `240`. Defaults to `10`","computed":true},"path":{"type":"TypeString","description":"The URI to use with the `host` for http type probes. Not valid for `TCP` type probes. Defaults to `/`.","computed":true},"port":{"type":"TypeInt","description":"The port number on which to connect. Possible values are between `1` and `65535`.","computed":true},"termination_grace_period_seconds":{"type":"TypeInt","description":"The time in seconds after the container is sent the termination signal before the process if forcibly killed.","computed":true},"timeout":{"type":"TypeInt","description":"Time in seconds after which the probe times out. Possible values are between `1` an `240`. Defaults to `1`.","computed":true},"transport":{"type":"TypeString","description":"Type of probe. Possible values are `TCP`, `HTTP`, and `HTTPS`.","computed":true}}}},"memory":{"type":"TypeString","description":"The amount of memory to allocate to the container. Possible values include `0.5Gi`, `1.0Gi`, `1.5Gi`, `2.0Gi`, `2.5Gi`, `3.0Gi`, `3.5Gi`, and `4.0Gi`. **NOTE:** `cpu` and `memory` must be specified in `0.25'/'0.5Gi` combination increments. e.g. `1.25` / `2.5Gi` or `0.75` / `1.5Gi`","computed":true},"name":{"type":"TypeString","description":"The name of the container.","computed":true},"readiness_probe":{"type":"TypeList","computed":true,"elem":{"schema":{"failure_count_threshold":{"type":"TypeInt","description":"The number of consecutive failures required to consider this probe as failed. Possible values are between `1` and `10`. Defaults to `3`.","computed":true},"header":{"type":"TypeList","computed":true,"elem":{"schema":{"name":{"type":"TypeString","description":"The HTTP Header Name.","computed":true},"value":{"type":"TypeString","description":"The HTTP Header value.","computed":true}}}},"host":{"type":"TypeString","description":"The probe hostname. Defaults to the pod IP address. Setting a value for `Host` in `headers` can be used to override this for `http` and `https` type probes.","computed":true},"interval_seconds":{"type":"TypeInt","description":"How often, in seconds, the probe should run. Possible values are between `1` and `240`. Defaults to `10`","computed":true},"path":{"type":"TypeString","description":"The URI to use for http type probes. Not valid for `TCP` type probes. Defaults to `/`.","computed":true},"port":{"type":"TypeInt","description":"The port number on which to connect. Possible values are between `1` and `65535`.","computed":true},"success_count_threshold":{"type":"TypeInt","description":"The number of consecutive successful responses required to consider this probe as successful. Possible values are between `1` and `10`. Defaults to `3`.","computed":true},"timeout":{"type":"TypeInt","description":"Time in seconds after which the probe times out. Possible values are between `1` an `240`. Defaults to `1`.","computed":true},"transport":{"type":"TypeString","description":"Type of probe. Possible values are `TCP`, `HTTP`, and `HTTPS`.","computed":true}}}},"startup_probe":{"type":"TypeList","computed":true,"elem":{"schema":{"failure_count_threshold":{"type":"TypeInt","description":"The number of consecutive failures required to consider this probe as failed. Possible values are between `1` and `10`. Defaults to `3`.","computed":true},"header":{"type":"TypeList","computed":true,"elem":{"schema":{"name":{"type":"TypeString","description":"The HTTP Header Name.","computed":true},"value":{"type":"TypeString","description":"The HTTP Header value.","computed":true}}}},"host":{"type":"TypeString","computed":true},"interval_seconds":{"type":"TypeInt","description":"How often, in seconds, the probe should run. Possible values are between `1` and `240`. Defaults to `10`","computed":true},"path":{"type":"TypeString","computed":true},"port":{"type":"TypeInt","computed":true},"termination_grace_period_seconds":{"type":"TypeInt","description":"The time in seconds after the container is sent the termination signal before the process if forcibly killed.","computed":true},"timeout":{"type":"TypeInt","description":"Time in seconds after which the probe times out. Possible values are between `1` an `240`. Defaults to `1`.","computed":true},"transport":{"type":"TypeString","computed":true}}}},"volume_mounts":{"type":"TypeList","computed":true,"elem":{"schema":{"name":{"type":"TypeString","description":"The name of the Volume to be mounted in the container.","computed":true},"path":{"type":"TypeString","description":"The path in the container at which to mount this volume.","computed":true}}}}}}},"custom_scale_rule":{"type":"TypeList","optional":true,"elem":{"schema":{"authentication":{"type":"TypeList","computed":true,"elem":{"schema":{"secret_name":{"type":"TypeString","computed":true},"trigger_parameter":{"type":"TypeString","computed":true}}}},"custom_rule_type":{"type":"TypeString","computed":true},"metadata":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","computed":true}}}},"http_scale_rule":{"type":"TypeList","computed":true,"elem":{"schema":{"authentication":{"type":"TypeList","computed":true,"elem":{"schema":{"secret_name":{"type":"TypeString","computed":true},"trigger_parameter":{"type":"TypeString","computed":true}}}},"concurrent_requests":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true}}}},"init_container":{"type":"TypeList","computed":true,"elem":{"schema":{"args":{"type":"TypeList","description":"A list of args to pass to the container.","computed":true,"elem":{"type":"TypeString"}},"command":{"type":"TypeList","description":"A command to pass to the container to override the default. This is provided as a list of command line elements without spaces.","computed":true,"elem":{"type":"TypeString"}},"cpu":{"type":"TypeFloat","description":"The amount of vCPU to allocate to the container. Possible values include `0.25`, `0.5`, `0.75`, `1.0`, `1.25`, `1.5`, `1.75`, and `2.0`. **NOTE:** `cpu` and `memory` must be specified in `0.25'/'0.5Gi` combination increments. e.g. `1.0` / `2.0` or `0.5` / `1.0`","computed":true},"env":{"type":"TypeList","computed":true,"elem":{"schema":{"name":{"type":"TypeString","description":"The name of the environment variable for the container.","computed":true},"secret_name":{"type":"TypeString","description":"The name of the secret that contains the value for this environment variable.","computed":true},"value":{"type":"TypeString","description":"The value for this environment variable. **NOTE:** This value is ignored if `secret_name` is used","computed":true}}}},"ephemeral_storage":{"type":"TypeString","description":"The amount of ephemeral storage available to the Container App.","computed":true},"image":{"type":"TypeString","description":"The image to use to create the container.","computed":true},"memory":{"type":"TypeString","description":"The amount of memory to allocate to the container. Possible values include `0.5Gi`, `1.0Gi`, `1.5Gi`, `2.0Gi`, `2.5Gi`, `3.0Gi`, `3.5Gi`, and `4.0Gi`. **NOTE:** `cpu` and `memory` must be specified in `0.25'/'0.5Gi` combination increments. e.g. `1.25` / `2.5Gi` or `0.75` / `1.5Gi`","computed":true},"name":{"type":"TypeString","description":"The name of the container.","computed":true},"volume_mounts":{"type":"TypeList","computed":true,"elem":{"schema":{"name":{"type":"TypeString","description":"The name of the Volume to be mounted in the container.","computed":true},"path":{"type":"TypeString","description":"The path in the container at which to mount this volume.","computed":true}}}}}}},"max_replicas":{"type":"TypeInt","description":"The maximum number of replicas for this container.","computed":true},"min_replicas":{"type":"TypeInt","description":"The minimum number of replicas for this container.","computed":true},"revision_suffix":{"type":"TypeString","computed":true},"tcp_scale_rule":{"type":"TypeList","computed":true,"elem":{"schema":{"authentication":{"type":"TypeList","computed":true,"elem":{"schema":{"secret_name":{"type":"TypeString","computed":true},"trigger_parameter":{"type":"TypeString","computed":true}}}},"concurrent_requests":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true}}}},"volume":{"type":"TypeList","computed":true,"elem":{"schema":{"name":{"type":"TypeString","computed":true},"storage_name":{"type":"TypeString","computed":true},"storage_type":{"type":"TypeString","computed":true}}}}}}},"workload_profile_name":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_container_app_environment":{"schema":{"custom_domain_verification_id":{"type":"TypeString","description":"The ID of the Custom Domain Verification for this Container App Environment.","computed":true},"default_domain":{"type":"TypeString","description":"The default publicly resolvable name of this Container App Environment","computed":true},"docker_bridge_cidr":{"type":"TypeString","description":"The network addressing in which the Container Apps in this Container App Environment will reside in CIDR notation.","computed":true},"infrastructure_subnet_id":{"type":"TypeString","description":"The existing Subnet in use by the Container Apps Control Plane.","computed":true},"internal_load_balancer_enabled":{"type":"TypeBool","description":"Does the Container Environment operate in Internal Load Balancing Mode?","computed":true},"location":{"type":"TypeString","computed":true},"log_analytics_workspace_name":{"type":"TypeString","description":"The name of the Log Analytics Workspace this Container Apps Managed Environment is linked to.","computed":true},"name":{"type":"TypeString","required":true,"description":"The name of the Container Apps Managed Environment."},"platform_reserved_cidr":{"type":"TypeString","description":"The IP range, in CIDR notation, that is reserved for environment infrastructure IP addresses.","computed":true},"platform_reserved_dns_ip_address":{"type":"TypeString","description":"The IP address from the IP range defined by `platform_reserved_cidr` that is reserved for the internal DNS server.","computed":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"static_ip_address":{"type":"TypeString","description":"The Static IP Address of the Environment.","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_container_app_environment_certificate":{"schema":{"container_app_environment_id":{"type":"TypeString","required":true,"description":"The Container App Managed Environment ID to configure this Certificate on.","forceNew":true},"expiration_date":{"type":"TypeString","description":"The expiration date for the Certificate.","computed":true},"issue_date":{"type":"TypeString","description":"The date of issue for the Certificate.","computed":true},"issuer":{"type":"TypeString","description":"The Certificate Issuer.","computed":true},"name":{"type":"TypeString","required":true,"description":"The name of the Container Apps Certificate.","forceNew":true},"subject_name":{"type":"TypeString","description":"The Subject Name for the Certificate.","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"thumbprint":{"type":"TypeString","description":"The Thumbprint of the Certificate.","computed":true}},"timeouts":{"read":5}},"azurerm_container_group":{"schema":{"fqdn":{"type":"TypeString","computed":true},"identity":{"type":"TypeList","computed":true,"elem":{"schema":{"identity_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"ip_address":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"subnet_ids":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"zones":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_container_registry":{"schema":{"admin_enabled":{"type":"TypeBool","computed":true},"admin_password":{"type":"TypeString","computed":true},"admin_username":{"type":"TypeString","computed":true},"data_endpoint_enabled":{"type":"TypeBool","computed":true},"location":{"type":"TypeString","computed":true},"login_server":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"sku":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_container_registry_cache_rule":{"schema":{"container_registry_id":{"type":"TypeString","required":true},"credential_set_id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"source_repo":{"type":"TypeString","computed":true},"target_repo":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_container_registry_scope_map":{"schema":{"actions":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"container_registry_name":{"type":"TypeString","required":true},"description":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_container_registry_token":{"schema":{"container_registry_name":{"type":"TypeString","required":true},"enabled":{"type":"TypeBool","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"scope_map_id":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_cosmosdb_account":{"schema":{"automatic_failover_enabled":{"type":"TypeBool","computed":true},"capabilities":{"type":"TypeList","computed":true,"elem":{"schema":{"name":{"type":"TypeString","computed":true}}}},"consistency_policy":{"type":"TypeList","computed":true,"elem":{"schema":{"consistency_level":{"type":"TypeString","computed":true},"max_interval_in_seconds":{"type":"TypeInt","computed":true},"max_staleness_prefix":{"type":"TypeInt","computed":true}}}},"endpoint":{"type":"TypeString","computed":true},"free_tier_enabled":{"type":"TypeBool","computed":true},"geo_location":{"type":"TypeList","computed":true,"elem":{"schema":{"failover_priority":{"type":"TypeInt","computed":true},"id":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true}}}},"ip_range_filter":{"type":"TypeString","computed":true},"is_virtual_network_filter_enabled":{"type":"TypeBool","computed":true},"key_vault_key_id":{"type":"TypeString","computed":true},"kind":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"multiple_write_locations_enabled":{"type":"TypeBool","computed":true},"name":{"type":"TypeString","required":true},"offer_type":{"type":"TypeString","computed":true},"primary_key":{"type":"TypeString","computed":true},"primary_mongodb_connection_string":{"type":"TypeString","computed":true},"primary_readonly_key":{"type":"TypeString","computed":true},"primary_readonly_mongodb_connection_string":{"type":"TypeString","computed":true},"primary_readonly_sql_connection_string":{"type":"TypeString","computed":true},"primary_sql_connection_string":{"type":"TypeString","computed":true},"read_endpoints":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"resource_group_name":{"type":"TypeString","required":true},"secondary_key":{"type":"TypeString","computed":true},"secondary_mongodb_connection_string":{"type":"TypeString","computed":true},"secondary_readonly_key":{"type":"TypeString","computed":true},"secondary_readonly_mongodb_connection_string":{"type":"TypeString","computed":true},"secondary_readonly_sql_connection_string":{"type":"TypeString","computed":true},"secondary_sql_connection_string":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"virtual_network_rule":{"type":"TypeList","computed":true,"elem":{"schema":{"id":{"type":"TypeString","computed":true}}}},"write_endpoints":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_cosmosdb_mongo_database":{"schema":{"account_name":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_cosmosdb_restorable_database_accounts":{"schema":{"accounts":{"type":"TypeList","computed":true,"elem":{"schema":{"api_type":{"type":"TypeString","computed":true},"creation_time":{"type":"TypeString","computed":true},"deletion_time":{"type":"TypeString","computed":true},"id":{"type":"TypeString","computed":true},"restorable_locations":{"type":"TypeList","computed":true,"elem":{"schema":{"creation_time":{"type":"TypeString","computed":true},"deletion_time":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"regional_database_account_instance_id":{"type":"TypeString","computed":true}}}}}}},"location":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_cosmosdb_sql_database":{"schema":{"account_name":{"type":"TypeString","required":true},"autoscale_settings":{"type":"TypeList","computed":true,"elem":{"schema":{"max_throughput":{"type":"TypeInt","computed":true}}}},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"throughput":{"type":"TypeInt","computed":true}},"timeouts":{"read":5}},"azurerm_cosmosdb_sql_role_definition":{"schema":{"account_name":{"type":"TypeString","required":true},"assignable_scopes":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","computed":true},"permissions":{"type":"TypeSet","computed":true,"elem":{"schema":{"data_actions":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}}}}},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"role_definition_id":{"type":"TypeString","required":true},"type":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_dashboard_grafana":{"schema":{"api_key_enabled":{"type":"TypeBool","computed":true},"auto_generated_domain_name_label_scope":{"type":"TypeString","computed":true},"azure_monitor_workspace_integrations":{"type":"TypeList","computed":true,"elem":{"schema":{"resource_id":{"type":"TypeString","computed":true}}}},"deterministic_outbound_ip_enabled":{"type":"TypeBool","computed":true},"endpoint":{"type":"TypeString","computed":true},"grafana_major_version":{"type":"TypeString","computed":true},"grafana_version":{"type":"TypeString","computed":true},"identity":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"outbound_ips":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"public_network_access_enabled":{"type":"TypeBool","computed":true},"resource_group_name":{"type":"TypeString","required":true},"sku":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"zone_redundancy_enabled":{"type":"TypeBool","computed":true}},"timeouts":{"read":5}},"azurerm_data_factory":{"schema":{"github_configuration":{"type":"TypeList","computed":true,"elem":{"schema":{"account_name":{"type":"TypeString","computed":true},"branch_name":{"type":"TypeString","computed":true},"git_url":{"type":"TypeString","computed":true},"repository_name":{"type":"TypeString","computed":true},"root_folder":{"type":"TypeString","computed":true}}}},"identity":{"type":"TypeList","computed":true,"elem":{"schema":{"identity_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"vsts_configuration":{"type":"TypeList","computed":true,"elem":{"schema":{"account_name":{"type":"TypeString","computed":true},"branch_name":{"type":"TypeString","computed":true},"project_name":{"type":"TypeString","computed":true},"repository_name":{"type":"TypeString","computed":true},"root_folder":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true}}}}},"timeouts":{"read":5}},"azurerm_data_factory_trigger_schedule":{"schema":{"activated":{"type":"TypeBool","computed":true},"annotations":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"data_factory_id":{"type":"TypeString","required":true},"description":{"type":"TypeString","computed":true},"end_time":{"type":"TypeString","computed":true},"frequency":{"type":"TypeString","computed":true},"interval":{"type":"TypeInt","computed":true},"name":{"type":"TypeString","required":true},"pipeline_name":{"type":"TypeString","computed":true},"schedule":{"type":"TypeList","computed":true,"elem":{"schema":{"days_of_month":{"type":"TypeList","computed":true,"elem":{"type":"TypeInt"}},"days_of_week":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"hours":{"type":"TypeList","computed":true,"elem":{"type":"TypeInt"}},"minutes":{"type":"TypeList","computed":true,"elem":{"type":"TypeInt"}},"monthly":{"type":"TypeList","computed":true,"elem":{"schema":{"week":{"type":"TypeInt","computed":true},"weekday":{"type":"TypeString","computed":true}}}}}}},"start_time":{"type":"TypeString","computed":true},"time_zone":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_data_factory_trigger_schedules":{"schema":{"data_factory_id":{"type":"TypeString","required":true},"items":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_data_protection_backup_vault":{"schema":{"datastore_type":{"type":"TypeString","computed":true},"identity":{"type":"TypeList","computed":true,"elem":{"schema":{"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"redundancy":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_data_share":{"schema":{"account_id":{"type":"TypeString","required":true},"description":{"type":"TypeString","computed":true},"kind":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"snapshot_schedule":{"type":"TypeList","computed":true,"elem":{"schema":{"name":{"type":"TypeString","computed":true},"recurrence":{"type":"TypeString","computed":true},"start_time":{"type":"TypeString","computed":true}}}},"terms":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_data_share_account":{"schema":{"identity":{"type":"TypeList","computed":true,"elem":{"schema":{"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_data_share_dataset_blob_storage":{"schema":{"container_name":{"type":"TypeString","computed":true},"data_share_id":{"type":"TypeString","required":true},"display_name":{"type":"TypeString","computed":true},"file_path":{"type":"TypeString","computed":true},"folder_path":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"storage_account":{"type":"TypeList","computed":true,"elem":{"schema":{"name":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","computed":true},"subscription_id":{"type":"TypeString","computed":true}}}}},"timeouts":{"read":5}},"azurerm_data_share_dataset_data_lake_gen2":{"schema":{"display_name":{"type":"TypeString","computed":true},"file_path":{"type":"TypeString","computed":true},"file_system_name":{"type":"TypeString","computed":true},"folder_path":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"share_id":{"type":"TypeString","required":true},"storage_account_id":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_data_share_dataset_kusto_cluster":{"schema":{"display_name":{"type":"TypeString","computed":true},"kusto_cluster_id":{"type":"TypeString","computed":true},"kusto_cluster_location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"share_id":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_data_share_dataset_kusto_database":{"schema":{"display_name":{"type":"TypeString","computed":true},"kusto_cluster_location":{"type":"TypeString","computed":true},"kusto_database_id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"share_id":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_database_migration_project":{"schema":{"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"service_name":{"type":"TypeString","required":true},"source_platform":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"target_platform":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_database_migration_service":{"schema":{"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"sku_name":{"type":"TypeString","computed":true},"subnet_id":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_databox_edge_device":{"schema":{"device_properties":{"type":"TypeList","computed":true,"elem":{"schema":{"capacity":{"type":"TypeInt","computed":true},"configured_role_types":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"culture":{"type":"TypeString","computed":true},"hcs_version":{"type":"TypeString","computed":true},"model":{"type":"TypeString","computed":true},"node_count":{"type":"TypeInt","computed":true},"serial_number":{"type":"TypeString","computed":true},"software_version":{"type":"TypeString","computed":true},"status":{"type":"TypeString","computed":true},"time_zone":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"sku_name":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_databricks_access_connector":{"schema":{"identity":{"type":"TypeList","computed":true,"elem":{"schema":{"identity_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_databricks_workspace":{"schema":{"location":{"type":"TypeString","computed":true},"managed_disk_identity":{"type":"TypeList","computed":true,"elem":{"schema":{"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"sku":{"type":"TypeString","computed":true},"storage_account_identity":{"type":"TypeList","computed":true,"elem":{"schema":{"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"workspace_id":{"type":"TypeString","computed":true},"workspace_url":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_databricks_workspace_private_endpoint_connection":{"schema":{"connections":{"type":"TypeList","computed":true,"elem":{"schema":{"action_required":{"type":"TypeString","computed":true},"description":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"status":{"type":"TypeString","computed":true},"workspace_private_endpoint_id":{"type":"TypeString","computed":true}}}},"private_endpoint_id":{"type":"TypeString","required":true},"workspace_id":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_dedicated_host":{"schema":{"dedicated_host_group_name":{"type":"TypeString","required":true},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_dedicated_host_group":{"schema":{"automatic_placement_enabled":{"type":"TypeBool","computed":true},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"platform_fault_domain_count":{"type":"TypeInt","computed":true},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"zones":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_dev_test_lab":{"schema":{"artifacts_storage_account_id":{"type":"TypeString","computed":true},"default_premium_storage_account_id":{"type":"TypeString","computed":true},"default_storage_account_id":{"type":"TypeString","computed":true},"key_vault_id":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"premium_data_disk_storage_account_id":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true},"storage_type":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"unique_identifier":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_dev_test_virtual_network":{"schema":{"allowed_subnets":{"type":"TypeList","computed":true,"elem":{"schema":{"allow_public_ip":{"type":"TypeString","computed":true},"lab_subnet_name":{"type":"TypeString","computed":true},"resource_id":{"type":"TypeString","computed":true}}}},"lab_name":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"subnet_overrides":{"type":"TypeList","computed":true,"elem":{"schema":{"lab_subnet_name":{"type":"TypeString","computed":true},"resource_id":{"type":"TypeString","computed":true},"use_in_vm_creation_permission":{"type":"TypeString","computed":true},"use_public_ip_address_permission":{"type":"TypeString","computed":true},"virtual_network_pool_name":{"type":"TypeString","computed":true}}}},"unique_identifier":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_digital_twins_instance":{"schema":{"host_name":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_disk_access":{"schema":{"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_disk_encryption_set":{"schema":{"auto_key_rotation_enabled":{"type":"TypeBool","computed":true},"identity":{"type":"TypeList","computed":true,"elem":{"schema":{"identity_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"key_vault_key_url":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_dns_a_record":{"schema":{"fqdn":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"records":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"target_resource_id":{"type":"TypeString","computed":true},"ttl":{"type":"TypeInt","computed":true},"zone_name":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_dns_aaaa_record":{"schema":{"fqdn":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"records":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"target_resource_id":{"type":"TypeString","computed":true},"ttl":{"type":"TypeInt","computed":true},"zone_name":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_dns_caa_record":{"schema":{"fqdn":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"record":{"type":"TypeSet","computed":true,"elem":{"schema":{"flags":{"type":"TypeInt","computed":true},"tag":{"type":"TypeString","computed":true},"value":{"type":"TypeString","computed":true}}}},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"ttl":{"type":"TypeInt","computed":true},"zone_name":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_dns_cname_record":{"schema":{"fqdn":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"record":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"target_resource_id":{"type":"TypeString","computed":true},"ttl":{"type":"TypeInt","computed":true},"zone_name":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_dns_mx_record":{"schema":{"fqdn":{"type":"TypeString","computed":true},"name":{"type":"TypeString","optional":true},"record":{"type":"TypeSet","computed":true,"elem":{"schema":{"exchange":{"type":"TypeString","computed":true},"preference":{"type":"TypeString","computed":true}}}},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"ttl":{"type":"TypeInt","computed":true},"zone_name":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_dns_ns_record":{"schema":{"fqdn":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"records":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"ttl":{"type":"TypeInt","computed":true},"zone_name":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_dns_ptr_record":{"schema":{"fqdn":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"records":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"ttl":{"type":"TypeInt","computed":true},"zone_name":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_dns_soa_record":{"schema":{"email":{"type":"TypeString","computed":true},"expire_time":{"type":"TypeInt","computed":true},"fqdn":{"type":"TypeString","computed":true},"host_name":{"type":"TypeString","computed":true},"minimum_ttl":{"type":"TypeInt","computed":true},"name":{"type":"TypeString","optional":true,"default":"@"},"refresh_time":{"type":"TypeInt","computed":true},"resource_group_name":{"type":"TypeString","required":true},"retry_time":{"type":"TypeInt","computed":true},"serial_number":{"type":"TypeInt","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"ttl":{"type":"TypeInt","computed":true},"zone_name":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_dns_srv_record":{"schema":{"fqdn":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"record":{"type":"TypeSet","computed":true,"elem":{"schema":{"port":{"type":"TypeInt","computed":true},"priority":{"type":"TypeInt","computed":true},"target":{"type":"TypeString","computed":true},"weight":{"type":"TypeInt","computed":true}}}},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"ttl":{"type":"TypeInt","computed":true},"zone_name":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_dns_txt_record":{"schema":{"fqdn":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"record":{"type":"TypeSet","computed":true,"elem":{"schema":{"value":{"type":"TypeString","computed":true}}}},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"ttl":{"type":"TypeInt","computed":true},"zone_name":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_dns_zone":{"schema":{"max_number_of_record_sets":{"type":"TypeInt","computed":true},"name":{"type":"TypeString","required":true},"name_servers":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"number_of_record_sets":{"type":"TypeInt","computed":true},"resource_group_name":{"type":"TypeString","optional":true,"computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_elastic_cloud_elasticsearch":{"schema":{"elastic_cloud_deployment_id":{"type":"TypeString","computed":true},"elastic_cloud_email_address":{"type":"TypeString","computed":true},"elastic_cloud_sso_default_url":{"type":"TypeString","computed":true},"elastic_cloud_user_id":{"type":"TypeString","computed":true},"elasticsearch_service_url":{"type":"TypeString","computed":true},"kibana_service_url":{"type":"TypeString","computed":true},"kibana_sso_uri":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"logs":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"filtering_tag":{"type":"TypeList","computed":true,"elem":{"schema":{"action":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"value":{"type":"TypeString","computed":true}}}},"send_activity_logs":{"type":"TypeBool","computed":true},"send_azuread_logs":{"type":"TypeBool","computed":true},"send_subscription_logs":{"type":"TypeBool","computed":true}}}},"monitoring_enabled":{"type":"TypeBool","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"sku_name":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_elastic_san":{"schema":{"base_size_in_tib":{"type":"TypeInt","computed":true},"extended_size_in_tib":{"type":"TypeInt","computed":true},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"sku":{"type":"TypeList","computed":true,"elem":{"schema":{"name":{"type":"TypeString","computed":true},"tier":{"type":"TypeString","computed":true}}}},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"total_iops":{"type":"TypeInt","computed":true},"total_mbps":{"type":"TypeInt","computed":true},"total_size_in_tib":{"type":"TypeInt","computed":true},"total_volume_size_in_gib":{"type":"TypeInt","computed":true},"volume_group_count":{"type":"TypeInt","computed":true},"zones":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_elastic_san_volume_group":{"schema":{"elastic_san_id":{"type":"TypeString","required":true},"encryption":{"type":"TypeList","computed":true,"elem":{"schema":{"current_versioned_key_expiration_timestamp":{"type":"TypeString","computed":true},"current_versioned_key_id":{"type":"TypeString","computed":true},"key_vault_key_id":{"type":"TypeString","computed":true},"last_key_rotation_timestamp":{"type":"TypeString","computed":true},"user_assigned_identity_id":{"type":"TypeString","computed":true}}}},"encryption_type":{"type":"TypeString","computed":true},"identity":{"type":"TypeList","computed":true,"elem":{"schema":{"identity_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"name":{"type":"TypeString","required":true},"network_rule":{"type":"TypeList","computed":true,"elem":{"schema":{"action":{"type":"TypeString","computed":true},"subnet_id":{"type":"TypeString","computed":true}}}},"protocol_type":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_elastic_san_volume_snapshot":{"schema":{"name":{"type":"TypeString","required":true},"source_id":{"type":"TypeString","computed":true},"source_volume_size_in_gib":{"type":"TypeInt","computed":true},"volume_group_id":{"type":"TypeString","required":true,"forceNew":true},"volume_name":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_eventgrid_domain":{"schema":{"endpoint":{"type":"TypeString","computed":true},"identity":{"type":"TypeList","computed":true,"elem":{"schema":{"identity_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"inbound_ip_rule":{"type":"TypeList","computed":true,"elem":{"schema":{"action":{"type":"TypeString","computed":true},"ip_mask":{"type":"TypeString","computed":true}}}},"input_mapping_default_values":{"type":"TypeList","computed":true,"elem":{"schema":{"data_version":{"type":"TypeString","computed":true},"event_type":{"type":"TypeString","computed":true},"subject":{"type":"TypeString","computed":true}}}},"input_mapping_fields":{"type":"TypeList","computed":true,"elem":{"schema":{"data_version":{"type":"TypeString","computed":true},"event_time":{"type":"TypeString","computed":true},"event_type":{"type":"TypeString","computed":true},"id":{"type":"TypeString","computed":true},"subject":{"type":"TypeString","computed":true},"topic":{"type":"TypeString","computed":true}}}},"input_schema":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"primary_access_key":{"type":"TypeString","computed":true},"public_network_access_enabled":{"type":"TypeBool","computed":true},"resource_group_name":{"type":"TypeString","required":true},"secondary_access_key":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_eventgrid_domain_topic":{"schema":{"domain_name":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_eventgrid_system_topic":{"schema":{"identity":{"type":"TypeList","computed":true,"elem":{"schema":{"identity_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"location":{"type":"TypeString","computed":true},"metric_arm_resource_id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"source_arm_resource_id":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"topic_type":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_eventgrid_topic":{"schema":{"endpoint":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"primary_access_key":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true},"secondary_access_key":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_eventhub":{"schema":{"name":{"type":"TypeString","required":true},"namespace_name":{"type":"TypeString","required":true},"partition_count":{"type":"TypeInt","computed":true},"partition_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"resource_group_name":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_eventhub_authorization_rule":{"schema":{"eventhub_name":{"type":"TypeString","required":true},"listen":{"type":"TypeBool","optional":true,"default":false},"manage":{"type":"TypeBool","optional":true,"default":false},"name":{"type":"TypeString","required":true},"namespace_name":{"type":"TypeString","required":true},"primary_connection_string":{"type":"TypeString","computed":true},"primary_connection_string_alias":{"type":"TypeString","computed":true},"primary_key":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true},"secondary_connection_string":{"type":"TypeString","computed":true},"secondary_connection_string_alias":{"type":"TypeString","computed":true},"secondary_key":{"type":"TypeString","computed":true},"send":{"type":"TypeBool","optional":true,"default":false}},"timeouts":{"read":5}},"azurerm_eventhub_cluster":{"schema":{"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"sku_name":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_eventhub_consumer_group":{"schema":{"eventhub_name":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true},"namespace_name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"user_metadata":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_eventhub_namespace":{"schema":{"auto_inflate_enabled":{"type":"TypeBool","computed":true},"capacity":{"type":"TypeInt","computed":true},"dedicated_cluster_id":{"type":"TypeString","computed":true},"default_primary_connection_string":{"type":"TypeString","computed":true},"default_primary_connection_string_alias":{"type":"TypeString","computed":true},"default_primary_key":{"type":"TypeString","computed":true},"default_secondary_connection_string":{"type":"TypeString","computed":true},"default_secondary_connection_string_alias":{"type":"TypeString","computed":true},"default_secondary_key":{"type":"TypeString","computed":true},"kafka_enabled":{"type":"TypeBool","computed":true},"location":{"type":"TypeString","computed":true},"maximum_throughput_units":{"type":"TypeInt","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"sku":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_eventhub_namespace_authorization_rule":{"schema":{"listen":{"type":"TypeBool","computed":true},"manage":{"type":"TypeBool","computed":true},"name":{"type":"TypeString","required":true},"namespace_name":{"type":"TypeString","required":true},"primary_connection_string":{"type":"TypeString","computed":true},"primary_connection_string_alias":{"type":"TypeString","computed":true},"primary_key":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true},"secondary_connection_string":{"type":"TypeString","computed":true},"secondary_connection_string_alias":{"type":"TypeString","computed":true},"secondary_key":{"type":"TypeString","computed":true},"send":{"type":"TypeBool","computed":true}},"timeouts":{"read":5}},"azurerm_eventhub_sas":{"schema":{"connection_string":{"type":"TypeString","required":true},"expiry":{"type":"TypeString","required":true},"sas":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_express_route_circuit":{"schema":{"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"peerings":{"type":"TypeList","computed":true,"elem":{"schema":{"azure_asn":{"type":"TypeInt","computed":true},"peer_asn":{"type":"TypeInt","computed":true},"peering_type":{"type":"TypeString","computed":true},"primary_peer_address_prefix":{"type":"TypeString","computed":true},"secondary_peer_address_prefix":{"type":"TypeString","computed":true},"shared_key":{"type":"TypeString","computed":true},"vlan_id":{"type":"TypeInt","computed":true}}}},"resource_group_name":{"type":"TypeString","required":true},"service_key":{"type":"TypeString","computed":true},"service_provider_properties":{"type":"TypeList","computed":true,"elem":{"schema":{"bandwidth_in_mbps":{"type":"TypeInt","computed":true},"peering_location":{"type":"TypeString","computed":true},"service_provider_name":{"type":"TypeString","computed":true}}}},"service_provider_provisioning_state":{"type":"TypeString","computed":true},"sku":{"type":"TypeList","computed":true,"elem":{"schema":{"family":{"type":"TypeString","computed":true},"tier":{"type":"TypeString","computed":true}}}}},"timeouts":{"read":5}},"azurerm_express_route_circuit_peering":{"schema":{"azure_asn":{"type":"TypeInt","computed":true},"express_route_circuit_name":{"type":"TypeString","required":true},"gateway_manager_etag":{"type":"TypeString","computed":true},"ipv4_enabled":{"type":"TypeBool","computed":true},"peer_asn":{"type":"TypeInt","computed":true},"peering_type":{"type":"TypeString","required":true},"primary_azure_port":{"type":"TypeString","computed":true},"primary_peer_address_prefix":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true},"route_filter_id":{"type":"TypeString","computed":true},"secondary_azure_port":{"type":"TypeString","computed":true},"secondary_peer_address_prefix":{"type":"TypeString","computed":true},"shared_key":{"type":"TypeString","computed":true},"vlan_id":{"type":"TypeInt","computed":true}},"timeouts":{"read":5}},"azurerm_extended_locations":{"schema":{"extended_locations":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"location":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_firewall":{"schema":{"dns_proxy_enabled":{"type":"TypeBool","optional":true,"computed":true},"dns_servers":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"firewall_policy_id":{"type":"TypeString","computed":true},"ip_configuration":{"type":"TypeList","computed":true,"elem":{"schema":{"name":{"type":"TypeString","computed":true},"private_ip_address":{"type":"TypeString","computed":true},"public_ip_address_id":{"type":"TypeString","computed":true},"subnet_id":{"type":"TypeString","computed":true}}}},"location":{"type":"TypeString","computed":true},"management_ip_configuration":{"type":"TypeList","computed":true,"elem":{"schema":{"name":{"type":"TypeString","computed":true},"private_ip_address":{"type":"TypeString","computed":true},"public_ip_address_id":{"type":"TypeString","computed":true},"subnet_id":{"type":"TypeString","computed":true}}}},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"sku_name":{"type":"TypeString","computed":true},"sku_tier":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"threat_intel_mode":{"type":"TypeString","computed":true},"virtual_hub":{"type":"TypeList","computed":true,"elem":{"schema":{"private_ip_address":{"type":"TypeString","computed":true},"public_ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"public_ip_count":{"type":"TypeInt","computed":true},"virtual_hub_id":{"type":"TypeString","computed":true}}}},"zones":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_firewall_policy":{"schema":{"base_policy_id":{"type":"TypeString","computed":true},"child_policies":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"dns":{"type":"TypeList","computed":true,"elem":{"schema":{"network_rule_fqdn_enabled":{"type":"TypeBool","computed":true},"proxy_enabled":{"type":"TypeBool","computed":true},"servers":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}}},"firewalls":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"rule_collection_groups":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"threat_intelligence_allowlist":{"type":"TypeList","computed":true,"elem":{"schema":{"fqdns":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}}},"threat_intelligence_mode":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_function_app":{"schema":{"app_service_plan_id":{"type":"TypeString","computed":true},"app_settings":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"client_cert_mode":{"type":"TypeString","computed":true},"connection_string":{"type":"TypeList","computed":true,"elem":{"schema":{"name":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true},"value":{"type":"TypeString","computed":true}}}},"custom_domain_verification_id":{"type":"TypeString","computed":true},"default_hostname":{"type":"TypeString","computed":true},"enabled":{"type":"TypeBool","computed":true},"identity":{"type":"TypeList","computed":true,"elem":{"schema":{"identity_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"os_type":{"type":"TypeString","computed":true},"outbound_ip_addresses":{"type":"TypeString","computed":true},"possible_outbound_ip_addresses":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true},"site_config":{"type":"TypeList","computed":true,"elem":{"schema":{"always_on":{"type":"TypeBool","computed":true},"app_scale_limit":{"type":"TypeInt","computed":true},"auto_swap_slot_name":{"type":"TypeString","computed":true},"cors":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"allowed_origins":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}},"support_credentials":{"type":"TypeBool","optional":true,"default":false}}},"maxItems":1},"dotnet_framework_version":{"type":"TypeString","computed":true},"elastic_instance_minimum":{"type":"TypeInt","computed":true},"ftps_state":{"type":"TypeString","computed":true},"health_check_path":{"type":"TypeString","computed":true},"http2_enabled":{"type":"TypeBool","computed":true},"ip_restriction":{"type":"TypeList","computed":true,"elem":{"schema":{"action":{"type":"TypeString","computed":true},"headers":{"type":"TypeList","configMode":"Auto","optional":true,"computed":true,"elem":{"schema":{"x_azure_fdid":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"x_fd_health_probe":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"x_forwarded_for":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"x_forwarded_host":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"ip_address":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"priority":{"type":"TypeInt","computed":true},"service_tag":{"type":"TypeString","computed":true},"virtual_network_subnet_id":{"type":"TypeString","computed":true}}}},"java_version":{"type":"TypeString","computed":true},"linux_fx_version":{"type":"TypeString","computed":true},"min_tls_version":{"type":"TypeString","computed":true},"pre_warmed_instance_count":{"type":"TypeInt","computed":true},"runtime_scale_monitoring_enabled":{"type":"TypeBool","computed":true},"scm_ip_restriction":{"type":"TypeList","computed":true,"elem":{"schema":{"action":{"type":"TypeString","computed":true},"headers":{"type":"TypeList","configMode":"Auto","optional":true,"computed":true,"elem":{"schema":{"x_azure_fdid":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"x_fd_health_probe":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"x_forwarded_for":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"x_forwarded_host":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"ip_address":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"priority":{"type":"TypeInt","computed":true},"service_tag":{"type":"TypeString","computed":true},"virtual_network_subnet_id":{"type":"TypeString","computed":true}}}},"scm_type":{"type":"TypeString","computed":true},"scm_use_main_ip_restriction":{"type":"TypeBool","computed":true},"use_32_bit_worker_process":{"type":"TypeBool","computed":true},"vnet_route_all_enabled":{"type":"TypeBool","computed":true},"websockets_enabled":{"type":"TypeBool","computed":true}}}},"site_credential":{"type":"TypeList","computed":true,"elem":{"schema":{"password":{"type":"TypeString","computed":true},"username":{"type":"TypeString","computed":true}}}},"source_control":{"type":"TypeList","computed":true,"elem":{"schema":{"branch":{"type":"TypeString","computed":true},"manual_integration":{"type":"TypeBool","computed":true},"repo_url":{"type":"TypeString","computed":true},"rollback_enabled":{"type":"TypeBool","computed":true},"use_mercurial":{"type":"TypeBool","computed":true}}}},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_function_app_host_keys":{"schema":{"blobs_extension_key":{"type":"TypeString","computed":true},"default_function_key":{"type":"TypeString","computed":true},"durabletask_extension_key":{"type":"TypeString","computed":true},"event_grid_extension_config_key":{"type":"TypeString","computed":true},"event_grid_extension_key":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"primary_key":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true},"signalr_extension_key":{"type":"TypeString","computed":true},"webpubsub_extension_key":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_hdinsight_cluster":{"schema":{"cluster_id":{"type":"TypeString","computed":true},"cluster_version":{"type":"TypeString","computed":true},"component_versions":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"edge_ssh_endpoint":{"type":"TypeString","computed":true},"gateway":{"type":"TypeList","computed":true,"elem":{"schema":{"enabled":{"type":"TypeBool","computed":true},"password":{"type":"TypeString","computed":true},"username":{"type":"TypeString","computed":true}}}},"https_endpoint":{"type":"TypeString","computed":true},"kafka_rest_proxy_endpoint":{"type":"TypeString","computed":true},"kind":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"ssh_endpoint":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"tier":{"type":"TypeString","computed":true},"tls_min_version":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_healthcare_dicom_service":{"schema":{"authentication":{"type":"TypeList","computed":true,"elem":{"schema":{"audience":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"authority":{"type":"TypeString","computed":true}}}},"identity":{"type":"TypeList","computed":true,"elem":{"schema":{"identity_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"private_endpoint":{"type":"TypeList","computed":true,"elem":{"schema":{"id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true}}}},"service_url":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"workspace_id":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_healthcare_fhir_service":{"schema":{"access_policy_object_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"authentication":{"type":"TypeList","computed":true,"elem":{"schema":{"audience":{"type":"TypeString","computed":true},"authority":{"type":"TypeString","computed":true},"smart_proxy_enabled":{"type":"TypeBool","computed":true}}}},"configuration_export_storage_account_name":{"type":"TypeString","computed":true},"container_registry_login_server_url":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"cors":{"type":"TypeList","computed":true,"elem":{"schema":{"allowed_headers":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"allowed_methods":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"allowed_origins":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"credentials_allowed":{"type":"TypeBool","computed":true},"max_age_in_seconds":{"type":"TypeInt","computed":true}}}},"identity":{"type":"TypeList","computed":true,"elem":{"schema":{"identity_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"kind":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"workspace_id":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_healthcare_medtech_service":{"schema":{"device_mapping_json":{"type":"TypeString","computed":true},"eventhub_consumer_group_name":{"type":"TypeString","computed":true},"eventhub_name":{"type":"TypeString","computed":true},"eventhub_namespace_name":{"type":"TypeString","computed":true},"identity":{"type":"TypeList","computed":true,"elem":{"schema":{"identity_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"name":{"type":"TypeString","required":true},"workspace_id":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_healthcare_service":{"schema":{"access_policy_object_ids":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"authentication_configuration":{"type":"TypeList","computed":true,"elem":{"schema":{"audience":{"type":"TypeString","computed":true},"authority":{"type":"TypeString","computed":true},"smart_proxy_enabled":{"type":"TypeBool","computed":true}}}},"cors_configuration":{"type":"TypeList","computed":true,"elem":{"schema":{"allow_credentials":{"type":"TypeBool","computed":true},"allowed_headers":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"allowed_methods":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"allowed_origins":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"max_age_in_seconds":{"type":"TypeInt","computed":true}}}},"cosmosdb_key_vault_key_versionless_id":{"type":"TypeString","computed":true},"cosmosdb_throughput":{"type":"TypeInt","computed":true},"kind":{"type":"TypeString","computed":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_healthcare_workspace":{"schema":{"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_image":{"schema":{"data_disk":{"type":"TypeList","computed":true,"elem":{"schema":{"blob_uri":{"type":"TypeString","computed":true},"caching":{"type":"TypeString","computed":true},"lun":{"type":"TypeInt","computed":true},"managed_disk_id":{"type":"TypeString","computed":true},"size_gb":{"type":"TypeInt","computed":true}}}},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","optional":true},"name_regex":{"type":"TypeString","optional":true},"os_disk":{"type":"TypeList","computed":true,"elem":{"schema":{"blob_uri":{"type":"TypeString","computed":true},"caching":{"type":"TypeString","computed":true},"managed_disk_id":{"type":"TypeString","computed":true},"os_state":{"type":"TypeString","computed":true},"os_type":{"type":"TypeString","computed":true},"size_gb":{"type":"TypeInt","computed":true}}}},"resource_group_name":{"type":"TypeString","required":true},"sort_descending":{"type":"TypeBool","optional":true,"default":false},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"zone_resilient":{"type":"TypeBool","computed":true}},"timeouts":{"read":5}},"azurerm_images":{"schema":{"images":{"type":"TypeList","computed":true,"elem":{"schema":{"data_disk":{"type":"TypeList","computed":true,"elem":{"schema":{"blob_uri":{"type":"TypeString","computed":true},"caching":{"type":"TypeString","computed":true},"lun":{"type":"TypeInt","computed":true},"managed_disk_id":{"type":"TypeString","computed":true},"size_gb":{"type":"TypeInt","computed":true}}}},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"os_disk":{"type":"TypeList","computed":true,"elem":{"schema":{"blob_uri":{"type":"TypeString","computed":true},"caching":{"type":"TypeString","computed":true},"disk_encryption_set_id":{"type":"TypeString","computed":true},"managed_disk_id":{"type":"TypeString","computed":true},"os_state":{"type":"TypeString","computed":true},"os_type":{"type":"TypeString","computed":true},"size_gb":{"type":"TypeInt","computed":true}}}},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"zone_resilient":{"type":"TypeBool","computed":true}}}},"resource_group_name":{"type":"TypeString","required":true},"tags_filter":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_iothub":{"schema":{"hostname":{"type":"TypeString","computed":true},"identity":{"type":"TypeList","computed":true,"elem":{"schema":{"identity_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_iothub_dps":{"schema":{"allocation_policy":{"type":"TypeString","computed":true},"device_provisioning_host_name":{"type":"TypeString","computed":true},"id_scope":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"service_operations_host_name":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_iothub_dps_shared_access_policy":{"schema":{"iothub_dps_name":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true},"primary_connection_string":{"type":"TypeString","computed":true},"primary_key":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true},"secondary_connection_string":{"type":"TypeString","computed":true},"secondary_key":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_iothub_shared_access_policy":{"schema":{"iothub_name":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true},"primary_connection_string":{"type":"TypeString","computed":true},"primary_key":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true},"secondary_connection_string":{"type":"TypeString","computed":true},"secondary_key":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_ip_group":{"schema":{"cidrs":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_ip_groups":{"schema":{"ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"names":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":10}},"azurerm_key_vault":{"schema":{"access_policy":{"type":"TypeList","computed":true,"elem":{"schema":{"application_id":{"type":"TypeString","computed":true},"certificate_permissions":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"key_permissions":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"object_id":{"type":"TypeString","computed":true},"secret_permissions":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"storage_permissions":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"tenant_id":{"type":"TypeString","computed":true}}}},"enable_rbac_authorization":{"type":"TypeBool","computed":true},"enabled_for_deployment":{"type":"TypeBool","computed":true},"enabled_for_disk_encryption":{"type":"TypeBool","computed":true},"enabled_for_template_deployment":{"type":"TypeBool","computed":true},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"network_acls":{"type":"TypeList","computed":true,"elem":{"schema":{"bypass":{"type":"TypeString","computed":true},"default_action":{"type":"TypeString","computed":true},"ip_rules":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"virtual_network_subnet_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}}},"public_network_access_enabled":{"type":"TypeBool","computed":true},"purge_protection_enabled":{"type":"TypeBool","computed":true},"resource_group_name":{"type":"TypeString","required":true},"sku_name":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"tenant_id":{"type":"TypeString","computed":true},"vault_uri":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_key_vault_access_policy":{"schema":{"certificate_permissions":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"key_permissions":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true},"secret_permissions":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_key_vault_certificate":{"schema":{"certificate_data":{"type":"TypeString","computed":true},"certificate_data_base64":{"type":"TypeString","computed":true},"certificate_policy":{"type":"TypeList","computed":true,"elem":{"schema":{"issuer_parameters":{"type":"TypeList","computed":true,"elem":{"schema":{"name":{"type":"TypeString","computed":true}}}},"key_properties":{"type":"TypeList","computed":true,"elem":{"schema":{"curve":{"type":"TypeString","computed":true},"exportable":{"type":"TypeBool","computed":true},"key_size":{"type":"TypeInt","computed":true},"key_type":{"type":"TypeString","computed":true},"reuse_key":{"type":"TypeBool","computed":true}}}},"lifetime_action":{"type":"TypeList","computed":true,"elem":{"schema":{"action":{"type":"TypeList","computed":true,"elem":{"schema":{"action_type":{"type":"TypeString","computed":true}}}},"trigger":{"type":"TypeList","computed":true,"elem":{"schema":{"days_before_expiry":{"type":"TypeInt","computed":true},"lifetime_percentage":{"type":"TypeInt","computed":true}}}}}}},"secret_properties":{"type":"TypeList","computed":true,"elem":{"schema":{"content_type":{"type":"TypeString","computed":true}}}},"x509_certificate_properties":{"type":"TypeList","computed":true,"elem":{"schema":{"extended_key_usage":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"key_usage":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"subject":{"type":"TypeString","computed":true},"subject_alternative_names":{"type":"TypeList","computed":true,"elem":{"schema":{"dns_names":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"emails":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"upns":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}}},"validity_in_months":{"type":"TypeInt","computed":true}}}}}}},"expires":{"type":"TypeString","computed":true},"key_vault_id":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true},"not_before":{"type":"TypeString","computed":true},"resource_manager_id":{"type":"TypeString","computed":true},"resource_manager_versionless_id":{"type":"TypeString","computed":true},"secret_id":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"thumbprint":{"type":"TypeString","computed":true},"version":{"type":"TypeString","optional":true,"computed":true},"versionless_id":{"type":"TypeString","computed":true},"versionless_secret_id":{"type":"TypeString","computed":true}},"timeouts":{"read":30}},"azurerm_key_vault_certificate_data":{"schema":{"certificates_count":{"type":"TypeInt","computed":true},"expires":{"type":"TypeString","computed":true},"hex":{"type":"TypeString","computed":true},"key":{"type":"TypeString","computed":true},"key_vault_id":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true},"not_before":{"type":"TypeString","computed":true},"pem":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"version":{"type":"TypeString","optional":true,"computed":true}},"timeouts":{"read":5}},"azurerm_key_vault_certificate_issuer":{"schema":{"account_id":{"type":"TypeString","computed":true},"admin":{"type":"TypeList","computed":true,"elem":{"schema":{"email_address":{"type":"TypeString","computed":true},"first_name":{"type":"TypeString","computed":true},"last_name":{"type":"TypeString","computed":true},"phone":{"type":"TypeString","computed":true}}}},"key_vault_id":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true},"org_id":{"type":"TypeString","computed":true},"provider_name":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_key_vault_certificates":{"schema":{"certificates":{"type":"TypeList","computed":true,"elem":{"schema":{"enabled":{"type":"TypeBool","computed":true},"id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}}}},"include_pending":{"type":"TypeBool","optional":true,"default":true},"key_vault_id":{"type":"TypeString","required":true},"names":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_key_vault_encrypted_value":{"schema":{"algorithm":{"type":"TypeString","required":true},"decoded_plain_text_value":{"type":"TypeString","computed":true},"encrypted_data":{"type":"TypeString","optional":true},"key_vault_key_id":{"type":"TypeString","required":true},"plain_text_value":{"type":"TypeString","optional":true}},"timeouts":{"read":5}},"azurerm_key_vault_key":{"schema":{"curve":{"type":"TypeString","computed":true},"e":{"type":"TypeString","computed":true},"key_opts":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"key_size":{"type":"TypeInt","computed":true},"key_type":{"type":"TypeString","computed":true},"key_vault_id":{"type":"TypeString","required":true},"n":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"public_key_openssh":{"type":"TypeString","computed":true},"public_key_pem":{"type":"TypeString","computed":true},"resource_id":{"type":"TypeString","computed":true},"resource_versionless_id":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"version":{"type":"TypeString","computed":true},"versionless_id":{"type":"TypeString","computed":true},"x":{"type":"TypeString","computed":true},"y":{"type":"TypeString","computed":true}},"timeouts":{"read":30}},"azurerm_key_vault_managed_hardware_security_module":{"schema":{"admin_object_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"hsm_uri":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"purge_protection_enabled":{"type":"TypeBool","computed":true},"resource_group_name":{"type":"TypeString","required":true},"sku_name":{"type":"TypeString","computed":true},"soft_delete_retention_days":{"type":"TypeInt","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"tenant_id":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_key_vault_managed_hardware_security_module_role_definition":{"schema":{"assignable_scopes":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"description":{"type":"TypeString","computed":true},"managed_hsm_id":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true},"permission":{"type":"TypeList","computed":true,"elem":{"schema":{"actions":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"data_actions":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"not_actions":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"not_data_actions":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}}},"resource_manager_id":{"type":"TypeString","computed":true},"role_name":{"type":"TypeString","computed":true},"role_type":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_key_vault_secret":{"schema":{"content_type":{"type":"TypeString","computed":true},"expiration_date":{"type":"TypeString","computed":true},"key_vault_id":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true},"not_before_date":{"type":"TypeString","computed":true},"resource_id":{"type":"TypeString","computed":true},"resource_versionless_id":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"value":{"type":"TypeString","computed":true},"version":{"type":"TypeString","optional":true},"versionless_id":{"type":"TypeString","computed":true}},"timeouts":{"read":30}},"azurerm_key_vault_secrets":{"schema":{"key_vault_id":{"type":"TypeString","required":true},"names":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"secrets":{"type":"TypeList","computed":true,"elem":{"schema":{"enabled":{"type":"TypeBool","computed":true},"id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}}}}},"timeouts":{"read":5}},"azurerm_kubernetes_cluster":{"schema":{"aci_connector_linux":{"type":"TypeList","computed":true,"elem":{"schema":{"subnet_name":{"type":"TypeString","computed":true}}}},"agent_pool_profile":{"type":"TypeList","computed":true,"elem":{"schema":{"auto_scaling_enabled":{"type":"TypeBool","computed":true},"count":{"type":"TypeInt","computed":true},"max_count":{"type":"TypeInt","computed":true},"max_pods":{"type":"TypeInt","computed":true},"min_count":{"type":"TypeInt","computed":true},"name":{"type":"TypeString","computed":true},"node_labels":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"node_public_ip_enabled":{"type":"TypeBool","computed":true},"node_public_ip_prefix_id":{"type":"TypeString","computed":true},"node_taints":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"orchestrator_version":{"type":"TypeString","computed":true},"os_disk_size_gb":{"type":"TypeInt","computed":true},"os_type":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"type":{"type":"TypeString","computed":true},"upgrade_settings":{"type":"TypeList","computed":true,"elem":{"schema":{"drain_timeout_in_minutes":{"type":"TypeInt","computed":true},"max_surge":{"type":"TypeString","computed":true},"node_soak_duration_in_minutes":{"type":"TypeInt","computed":true}}}},"vm_size":{"type":"TypeString","computed":true},"vnet_subnet_id":{"type":"TypeString","computed":true},"zones":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}}},"api_server_authorized_ip_ranges":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"azure_active_directory_role_based_access_control":{"type":"TypeList","computed":true,"elem":{"schema":{"admin_group_object_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"azure_rbac_enabled":{"type":"TypeBool","computed":true},"tenant_id":{"type":"TypeString","computed":true}}}},"azure_policy_enabled":{"type":"TypeBool","computed":true},"current_kubernetes_version":{"type":"TypeString","computed":true},"disk_encryption_set_id":{"type":"TypeString","computed":true},"dns_prefix":{"type":"TypeString","computed":true},"fqdn":{"type":"TypeString","computed":true},"http_application_routing_enabled":{"type":"TypeBool","computed":true},"http_application_routing_zone_name":{"type":"TypeString","computed":true},"identity":{"type":"TypeList","computed":true,"elem":{"schema":{"identity_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"ingress_application_gateway":{"type":"TypeList","computed":true,"elem":{"schema":{"effective_gateway_id":{"type":"TypeString","computed":true},"gateway_id":{"type":"TypeString","computed":true},"gateway_name":{"type":"TypeString","computed":true},"ingress_application_gateway_identity":{"type":"TypeList","computed":true,"elem":{"schema":{"client_id":{"type":"TypeString","computed":true},"object_id":{"type":"TypeString","computed":true},"user_assigned_identity_id":{"type":"TypeString","computed":true}}}},"subnet_cidr":{"type":"TypeString","computed":true},"subnet_id":{"type":"TypeString","computed":true}}}},"key_management_service":{"type":"TypeList","computed":true,"elem":{"schema":{"key_vault_key_id":{"type":"TypeString","computed":true},"key_vault_network_access":{"type":"TypeString","computed":true}}}},"key_vault_secrets_provider":{"type":"TypeList","computed":true,"elem":{"schema":{"secret_identity":{"type":"TypeList","computed":true,"elem":{"schema":{"client_id":{"type":"TypeString","computed":true},"object_id":{"type":"TypeString","computed":true},"user_assigned_identity_id":{"type":"TypeString","computed":true}}}},"secret_rotation_enabled":{"type":"TypeBool","computed":true},"secret_rotation_interval":{"type":"TypeString","computed":true}}}},"kube_admin_config":{"type":"TypeList","computed":true,"elem":{"schema":{"client_certificate":{"type":"TypeString","computed":true},"client_key":{"type":"TypeString","computed":true},"cluster_ca_certificate":{"type":"TypeString","computed":true},"host":{"type":"TypeString","computed":true},"password":{"type":"TypeString","computed":true},"username":{"type":"TypeString","computed":true}}}},"kube_admin_config_raw":{"type":"TypeString","computed":true},"kube_config":{"type":"TypeList","computed":true,"elem":{"schema":{"client_certificate":{"type":"TypeString","computed":true},"client_key":{"type":"TypeString","computed":true},"cluster_ca_certificate":{"type":"TypeString","computed":true},"host":{"type":"TypeString","computed":true},"password":{"type":"TypeString","computed":true},"username":{"type":"TypeString","computed":true}}}},"kube_config_raw":{"type":"TypeString","computed":true},"kubelet_identity":{"type":"TypeList","computed":true,"elem":{"schema":{"client_id":{"type":"TypeString","computed":true},"object_id":{"type":"TypeString","computed":true},"user_assigned_identity_id":{"type":"TypeString","computed":true}}}},"kubernetes_version":{"type":"TypeString","computed":true},"linux_profile":{"type":"TypeList","computed":true,"elem":{"schema":{"admin_username":{"type":"TypeString","computed":true},"ssh_key":{"type":"TypeList","computed":true,"elem":{"schema":{"key_data":{"type":"TypeString","computed":true}}}}}}},"location":{"type":"TypeString","computed":true},"microsoft_defender":{"type":"TypeList","computed":true,"elem":{"schema":{"log_analytics_workspace_id":{"type":"TypeString","computed":true}}}},"name":{"type":"TypeString","required":true},"network_profile":{"type":"TypeList","computed":true,"elem":{"schema":{"dns_service_ip":{"type":"TypeString","computed":true},"docker_bridge_cidr":{"type":"TypeString","computed":true},"load_balancer_sku":{"type":"TypeString","computed":true},"network_plugin":{"type":"TypeString","computed":true},"network_policy":{"type":"TypeString","computed":true},"pod_cidr":{"type":"TypeString","computed":true},"service_cidr":{"type":"TypeString","computed":true}}}},"node_resource_group":{"type":"TypeString","computed":true},"node_resource_group_id":{"type":"TypeString","computed":true},"oidc_issuer_enabled":{"type":"TypeBool","computed":true},"oidc_issuer_url":{"type":"TypeString","computed":true},"oms_agent":{"type":"TypeList","computed":true,"elem":{"schema":{"log_analytics_workspace_id":{"type":"TypeString","computed":true},"msi_auth_for_monitoring_enabled":{"type":"TypeBool","computed":true},"oms_agent_identity":{"type":"TypeList","computed":true,"elem":{"schema":{"client_id":{"type":"TypeString","computed":true},"object_id":{"type":"TypeString","computed":true},"user_assigned_identity_id":{"type":"TypeString","computed":true}}}}}}},"open_service_mesh_enabled":{"type":"TypeBool","computed":true},"private_cluster_enabled":{"type":"TypeBool","computed":true},"private_fqdn":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true},"role_based_access_control_enabled":{"type":"TypeBool","computed":true},"service_mesh_profile":{"type":"TypeList","computed":true,"elem":{"schema":{"certificate_authority":{"type":"TypeList","computed":true,"elem":{"schema":{"cert_chain_object_name":{"type":"TypeString","computed":true},"cert_object_name":{"type":"TypeString","computed":true},"key_object_name":{"type":"TypeString","computed":true},"key_vault_id":{"type":"TypeString","computed":true},"root_cert_object_name":{"type":"TypeString","computed":true}}}},"external_ingress_gateway_enabled":{"type":"TypeBool","computed":true},"internal_ingress_gateway_enabled":{"type":"TypeBool","computed":true},"mode":{"type":"TypeString","computed":true},"revisions":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}}},"service_principal":{"type":"TypeList","computed":true,"elem":{"schema":{"client_id":{"type":"TypeString","computed":true}}}},"storage_profile":{"type":"TypeList","computed":true,"elem":{"schema":{"blob_driver_enabled":{"type":"TypeBool","computed":true},"disk_driver_enabled":{"type":"TypeBool","computed":true},"file_driver_enabled":{"type":"TypeBool","computed":true},"snapshot_controller_enabled":{"type":"TypeBool","computed":true}}}},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"windows_profile":{"type":"TypeList","computed":true,"elem":{"schema":{"admin_username":{"type":"TypeString","computed":true}}}}},"timeouts":{"read":5}},"azurerm_kubernetes_cluster_node_pool":{"schema":{"auto_scaling_enabled":{"type":"TypeBool","computed":true},"eviction_policy":{"type":"TypeString","computed":true},"kubernetes_cluster_name":{"type":"TypeString","required":true},"max_count":{"type":"TypeInt","computed":true},"max_pods":{"type":"TypeInt","computed":true},"min_count":{"type":"TypeInt","computed":true},"mode":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"node_count":{"type":"TypeInt","computed":true},"node_labels":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"node_public_ip_enabled":{"type":"TypeBool","computed":true},"node_public_ip_prefix_id":{"type":"TypeString","computed":true},"node_taints":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"orchestrator_version":{"type":"TypeString","computed":true},"os_disk_size_gb":{"type":"TypeInt","computed":true},"os_disk_type":{"type":"TypeString","computed":true},"os_type":{"type":"TypeString","computed":true},"priority":{"type":"TypeString","computed":true},"proximity_placement_group_id":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true},"spot_max_price":{"type":"TypeFloat","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"upgrade_settings":{"type":"TypeList","computed":true,"elem":{"schema":{"drain_timeout_in_minutes":{"type":"TypeInt","computed":true},"max_surge":{"type":"TypeString","computed":true},"node_soak_duration_in_minutes":{"type":"TypeInt","computed":true}}}},"vm_size":{"type":"TypeString","computed":true},"vnet_subnet_id":{"type":"TypeString","computed":true},"zones":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_kubernetes_node_pool_snapshot":{"schema":{"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"source_node_pool_id":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_kubernetes_service_versions":{"schema":{"default_version":{"type":"TypeString","computed":true},"include_preview":{"type":"TypeBool","optional":true,"default":true},"latest_version":{"type":"TypeString","computed":true},"location":{"type":"TypeString","required":true,"forceNew":true},"version_prefix":{"type":"TypeString","optional":true},"versions":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_kusto_cluster":{"schema":{"data_ingestion_uri":{"type":"TypeString","computed":true},"identity":{"type":"TypeList","computed":true,"elem":{"schema":{"identity_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"uri":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_kusto_database":{"schema":{"cluster_name":{"type":"TypeString","required":true},"hot_cache_period":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"size":{"type":"TypeFloat","computed":true},"soft_delete_period":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_lb":{"schema":{"frontend_ip_configuration":{"type":"TypeList","computed":true,"elem":{"schema":{"id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"private_ip_address":{"type":"TypeString","computed":true},"private_ip_address_allocation":{"type":"TypeString","computed":true},"private_ip_address_version":{"type":"TypeString","computed":true},"public_ip_address_id":{"type":"TypeString","computed":true},"subnet_id":{"type":"TypeString","computed":true},"zones":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}}},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"private_ip_address":{"type":"TypeString","computed":true},"private_ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"resource_group_name":{"type":"TypeString","required":true},"sku":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_lb_backend_address_pool":{"schema":{"backend_address":{"type":"TypeList","computed":true,"elem":{"schema":{"inbound_nat_rule_port_mapping":{"type":"TypeList","computed":true,"elem":{"schema":{"backend_port":{"type":"TypeInt","computed":true},"frontend_port":{"type":"TypeInt","computed":true},"inbound_nat_rule_name":{"type":"TypeString","computed":true}}}},"ip_address":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"virtual_network_id":{"type":"TypeString","computed":true}}}},"backend_ip_configurations":{"type":"TypeList","computed":true,"elem":{"schema":{"id":{"type":"TypeString","computed":true}}}},"inbound_nat_rules":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"load_balancing_rules":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"loadbalancer_id":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true},"outbound_rules":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_lb_outbound_rule":{"schema":{"allocated_outbound_ports":{"type":"TypeInt","computed":true},"backend_address_pool_id":{"type":"TypeString","computed":true},"frontend_ip_configuration":{"type":"TypeList","computed":true,"elem":{"schema":{"id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true}}}},"idle_timeout_in_minutes":{"type":"TypeInt","computed":true},"loadbalancer_id":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true},"protocol":{"type":"TypeString","computed":true},"tcp_reset_enabled":{"type":"TypeBool","computed":true}},"timeouts":{"read":5}},"azurerm_lb_rule":{"schema":{"backend_address_pool_id":{"type":"TypeString","computed":true},"backend_port":{"type":"TypeInt","computed":true},"disable_outbound_snat":{"type":"TypeBool","computed":true},"enable_floating_ip":{"type":"TypeBool","computed":true},"enable_tcp_reset":{"type":"TypeBool","computed":true},"frontend_ip_configuration_name":{"type":"TypeString","computed":true},"frontend_port":{"type":"TypeInt","computed":true},"idle_timeout_in_minutes":{"type":"TypeInt","computed":true},"load_distribution":{"type":"TypeString","computed":true},"loadbalancer_id":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true},"probe_id":{"type":"TypeString","computed":true},"protocol":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_linux_function_app":{"schema":{"app_settings":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"auth_settings":{"type":"TypeList","computed":true,"elem":{"schema":{"active_directory":{"type":"TypeList","computed":true,"elem":{"schema":{"allowed_audiences":{"type":"TypeList","description":"The list of Allowed audience values considered when validating JWTs issued by Azure Active Directory.","computed":true,"elem":{"type":"TypeString"}},"client_id":{"type":"TypeString","description":"The ID of the Client to use to authenticate with Azure Active Directory.","computed":true},"client_secret":{"type":"TypeString","description":"The Client Secret for the Client ID.","computed":true},"client_secret_setting_name":{"type":"TypeString","description":"The App Setting name that contains the client secret of the Client.","computed":true}}}},"additional_login_parameters":{"type":"TypeMap","description":"The map of Login Parameters sent to the OpenID Connect authorization endpoint when a user logs in.","computed":true,"elem":{"type":"TypeString"}},"allowed_external_redirect_urls":{"type":"TypeList","description":"Specifies a list of External URLs that can be redirected to as part of logging in or logging out of the Windows Web App.","computed":true,"elem":{"type":"TypeString"}},"default_provider":{"type":"TypeString","description":"The default authentication provider used when multiple providers are configured. Possible values include: `AzureActiveDirectory`, `Facebook`, `Google`, `MicrosoftAccount`, `Twitter`, `Github`.","computed":true},"enabled":{"type":"TypeBool","description":"Is the Authentication / Authorization feature enabled?","computed":true},"facebook":{"type":"TypeList","computed":true,"elem":{"schema":{"app_id":{"type":"TypeString","description":"The App ID of the Facebook app used for login.","computed":true},"app_secret":{"type":"TypeString","description":"The App Secret of the Facebook app used for Facebook Login.","computed":true},"app_secret_setting_name":{"type":"TypeString","description":"The app setting name that contains the `app_secret` value used for Facebook Login.","computed":true},"oauth_scopes":{"type":"TypeList","description":"The list of OAuth 2.0 scopes requested as part of Facebook Login authentication.","computed":true,"elem":{"type":"TypeString"}}}}},"github":{"type":"TypeList","computed":true,"elem":{"schema":{"client_id":{"type":"TypeString","description":"The ID of the GitHub app used for login.","computed":true},"client_secret":{"type":"TypeString","description":"The Client Secret of the GitHub app used for GitHub Login.","computed":true},"client_secret_setting_name":{"type":"TypeString","description":"The app setting name that contains the `client_secret` value used for GitHub Login.","computed":true},"oauth_scopes":{"type":"TypeList","description":"The list of OAuth 2.0 scopes requested as part of GitHub Login authentication.","computed":true,"elem":{"type":"TypeString"}}}}},"google":{"type":"TypeList","computed":true,"elem":{"schema":{"client_id":{"type":"TypeString","description":"The OpenID Connect Client ID for the Google web application.","computed":true},"client_secret":{"type":"TypeString","description":"The client secret associated with the Google web application.","computed":true},"client_secret_setting_name":{"type":"TypeString","description":"The app setting name that contains the `client_secret` value used for Google Login.","computed":true},"oauth_scopes":{"type":"TypeList","description":"The list of OAuth 2.0 scopes that requested as part of Google Sign-In authentication.","computed":true,"elem":{"type":"TypeString"}}}}},"issuer":{"type":"TypeString","description":"The OpenID Connect Issuer URI that represents the entity which issues access tokens.","computed":true},"microsoft":{"type":"TypeList","computed":true,"elem":{"schema":{"client_id":{"type":"TypeString","description":"The OAuth 2.0 client ID that was created for the app used for authentication.","computed":true},"client_secret":{"type":"TypeString","description":"The OAuth 2.0 client secret that was created for the app used for authentication.","computed":true},"client_secret_setting_name":{"type":"TypeString","description":"The app setting name containing the OAuth 2.0 client secret that was created for the app used for authentication.","computed":true},"oauth_scopes":{"type":"TypeList","description":"The list of OAuth 2.0 scopes requested as part of Microsoft Account authentication.","computed":true,"elem":{"type":"TypeString"}}}}},"runtime_version":{"type":"TypeString","description":"The RuntimeVersion of the Authentication / Authorization feature in use.","computed":true},"token_refresh_extension_hours":{"type":"TypeFloat","description":"The number of hours after session token expiration that a session token can be used to call the token refresh API.","computed":true},"token_store_enabled":{"type":"TypeBool","description":"Are platform-specific security tokens that are obtained during login flows durably stored?","computed":true},"twitter":{"type":"TypeList","computed":true,"elem":{"schema":{"consumer_key":{"type":"TypeString","description":"The OAuth 1.0a consumer key of the Twitter application used for sign-in.","computed":true},"consumer_secret":{"type":"TypeString","description":"The OAuth 1.0a consumer secret of the Twitter application used for sign-in.","computed":true},"consumer_secret_setting_name":{"type":"TypeString","description":"The app setting name that contains the OAuth 1.0a consumer secret of the Twitter application used for sign-in.","computed":true}}}},"unauthenticated_client_action":{"type":"TypeString","description":"The action taken when an unauthenticated client attempts to access the app.","computed":true}}}},"auth_settings_v2":{"type":"TypeList","computed":true,"elem":{"schema":{"active_directory_v2":{"type":"TypeList","computed":true,"elem":{"schema":{"allowed_applications":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"allowed_audiences":{"type":"TypeList","description":"Specifies a list of Allowed audience values to consider when validating JWTs issued by Azure Active Directory.","computed":true,"elem":{"type":"TypeString"}},"allowed_groups":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"allowed_identities":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"client_id":{"type":"TypeString","description":"The ID of the Client to use to authenticate with Azure Active Directory.","computed":true},"client_secret_certificate_thumbprint":{"type":"TypeString","description":"The thumbprint of the certificate used for signing purposes.","computed":true},"client_secret_setting_name":{"type":"TypeString","description":"The App Setting name that contains the client secret of the Client.","computed":true},"jwt_allowed_client_applications":{"type":"TypeList","description":"A list of Allowed Client Applications in the JWT Claim.","computed":true,"elem":{"type":"TypeString"}},"jwt_allowed_groups":{"type":"TypeList","description":"A list of Allowed Groups in the JWT Claim.","computed":true,"elem":{"type":"TypeString"}},"login_parameters":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"tenant_auth_endpoint":{"type":"TypeString","description":"The Azure Tenant URI for the Authenticating Tenant. e.g. `https://login.microsoftonline.com/v2.0/{tenant-guid}/`","computed":true},"www_authentication_disabled":{"type":"TypeBool","description":"Is the www-authenticate provider omitted from the request?","computed":true}}}},"apple_v2":{"type":"TypeList","computed":true,"elem":{"schema":{"client_id":{"type":"TypeString","description":"The OpenID Connect Client ID for the Apple web application.","computed":true},"client_secret_setting_name":{"type":"TypeString","description":"The app setting name that contains the `client_secret` value used for Apple Login.","computed":true},"login_scopes":{"type":"TypeList","description":"Specifies a list of OAuth 2.0 scopes that will be requested as part of Apple Sign-In authentication. If not specified, \"openid\", \"profile\", and \"email\" are used as default scopes.","computed":true,"elem":{"type":"TypeString"}}}}},"auth_enabled":{"type":"TypeBool","description":"Is the AuthV2 Settings be enabled.","computed":true},"azure_static_web_app_v2":{"type":"TypeList","computed":true,"elem":{"schema":{"client_id":{"type":"TypeString","description":"The ID of the Client used to authenticate with Azure Static Web App Authentication.","computed":true}}}},"config_file_path":{"type":"TypeString","description":"The path to the App Auth settings.","computed":true},"custom_oidc_v2":{"type":"TypeList","computed":true,"elem":{"schema":{"authorisation_endpoint":{"type":"TypeString","description":"The endpoint to make the Authorisation Request.","computed":true},"certification_uri":{"type":"TypeString","description":"The endpoint that provides the keys necessary to validate the token.","computed":true},"client_credential_method":{"type":"TypeString","description":"The Client Credential Method used. Currently the only supported value is `ClientSecretPost`","computed":true},"client_id":{"type":"TypeString","description":"The ID of the Client used to authenticate with this Custom OIDC.","computed":true},"client_secret_setting_name":{"type":"TypeString","description":"The App Setting name that contains the secret for this Custom OIDC Client.","computed":true},"issuer_endpoint":{"type":"TypeString","description":"The endpoint that issued the Token.","computed":true},"name":{"type":"TypeString","description":"The name of the Custom OIDC Authentication Provider.","computed":true},"name_claim_type":{"type":"TypeString","description":"The name of the claim that contains the users name.","computed":true},"openid_configuration_endpoint":{"type":"TypeString","description":"The endpoint that contains all the configuration endpoints for this Custom OIDC provider.","computed":true},"scopes":{"type":"TypeList","description":"The list of the scopes that should be requested while authenticating.","computed":true,"elem":{"type":"TypeString"}},"token_endpoint":{"type":"TypeString","description":"The endpoint used to request a Token.","computed":true}}}},"default_provider":{"type":"TypeString","description":"The Default Authentication Provider used when the `unauthenticated_action` is set to `RedirectToLoginPage`.","computed":true},"excluded_paths":{"type":"TypeList","description":"The paths which are excluded from the `unauthenticated_action` when it is set to `RedirectToLoginPage`.","computed":true,"elem":{"type":"TypeString"}},"facebook_v2":{"type":"TypeList","computed":true,"elem":{"schema":{"app_id":{"type":"TypeString","description":"The App ID of the Facebook app used for login.","computed":true},"app_secret_setting_name":{"type":"TypeString","description":"The app setting name that contains the `app_secret` value used for Facebook Login.","computed":true},"graph_api_version":{"type":"TypeString","description":"The version of the Facebook API to be used while logging in.","computed":true},"login_scopes":{"type":"TypeList","description":"Specifies a list of OAuth 2.0 scopes to be requested as part of Facebook Login authentication.","computed":true,"elem":{"type":"TypeString"}}}}},"forward_proxy_convention":{"type":"TypeString","description":"The convention used to determine the url of the request made.","computed":true},"forward_proxy_custom_host_header_name":{"type":"TypeString","description":"The name of the header containing the host of the request.","computed":true},"forward_proxy_custom_scheme_header_name":{"type":"TypeString","description":"The name of the header containing the scheme of the request.","computed":true},"github_v2":{"type":"TypeList","computed":true,"elem":{"schema":{"client_id":{"type":"TypeString","description":"The ID of the GitHub app used for login.","computed":true},"client_secret_setting_name":{"type":"TypeString","description":"The app setting name that contains the `client_secret` value used for GitHub Login.","computed":true},"login_scopes":{"type":"TypeList","description":"Specifies a list of OAuth 2.0 scopes that will be requested as part of GitHub Login authentication.","computed":true,"elem":{"type":"TypeString"}}}}},"google_v2":{"type":"TypeList","computed":true,"elem":{"schema":{"allowed_audiences":{"type":"TypeList","description":"Specifies a list of Allowed Audiences that will be requested as part of Google Sign-In authentication. If not specified, \"openid\", \"profile\", and \"email\" are used as default scopes.","computed":true,"elem":{"type":"TypeString"}},"client_id":{"type":"TypeString","description":"The OpenID Connect Client ID for the Google web application.","computed":true},"client_secret_setting_name":{"type":"TypeString","description":"The app setting name that contains the `client_secret` value used for Google Login.","computed":true},"login_scopes":{"type":"TypeList","description":"The list of OAuth 2.0 scopes requested as part of Google Sign-In authentication. If not specified, \"openid\", \"profile\", and \"email\" are used as default scopes.","computed":true,"elem":{"type":"TypeString"}}}}},"http_route_api_prefix":{"type":"TypeString","description":"The prefix that precedes all the authentication and authorisation paths.","computed":true},"login":{"type":"TypeList","computed":true,"elem":{"schema":{"allowed_external_redirect_urls":{"type":"TypeList","description":"External URLs that can be redirected to as part of logging in or logging out of the app. This is an advanced setting typically only needed by Windows Store application backends. **Note:** URLs within the current domain are always implicitly allowed.","computed":true,"elem":{"type":"TypeString"}},"cookie_expiration_convention":{"type":"TypeString","computed":true},"cookie_expiration_time":{"type":"TypeString","description":"The time after the request is made when the session cookie will expire.","computed":true},"logout_endpoint":{"type":"TypeString","description":"The endpoint to which logout requests are made.","computed":true},"nonce_expiration_time":{"type":"TypeString","description":"The time after the request is made when the nonce will expire.","computed":true},"preserve_url_fragments_for_logins":{"type":"TypeBool","description":"Are the fragments from the request be preserved after the login request is made.","computed":true},"token_refresh_extension_time":{"type":"TypeFloat","description":"The number of hours after session token expiration that a session token can be used to call the token refresh API.","computed":true},"token_store_enabled":{"type":"TypeBool","description":"Is the Token Store configuration Enabled.","computed":true},"token_store_path":{"type":"TypeString","description":"The directory path in the App Filesystem in which the tokens are stored.","computed":true},"token_store_sas_setting_name":{"type":"TypeString","description":"The name of the app setting which contains the SAS URL of the blob storage containing the tokens.","computed":true},"validate_nonce":{"type":"TypeBool","description":"Is the nonce be validated while completing the login flow.","computed":true}}}},"microsoft_v2":{"type":"TypeList","computed":true,"elem":{"schema":{"allowed_audiences":{"type":"TypeList","description":"Specifies a list of Allowed Audiences that will be requested as part of Microsoft Sign-In authentication.","computed":true,"elem":{"type":"TypeString"}},"client_id":{"type":"TypeString","description":"The OAuth 2.0 client ID that was created for the app used for authentication.","computed":true},"client_secret_setting_name":{"type":"TypeString","description":"The app setting name containing the OAuth 2.0 client secret that was created for the app used for authentication.","computed":true},"login_scopes":{"type":"TypeList","description":"The list of Login scopes that will be requested as part of Microsoft Account authentication.","computed":true,"elem":{"type":"TypeString"}}}}},"require_authentication":{"type":"TypeBool","description":"Is the authentication flow used for all requests.","computed":true},"require_https":{"type":"TypeBool","description":"Is HTTPS required on connections?","computed":true},"runtime_version":{"type":"TypeString","description":"The Runtime Version of the Authentication and Authorisation feature of this App.","computed":true},"twitter_v2":{"type":"TypeList","computed":true,"elem":{"schema":{"consumer_key":{"type":"TypeString","description":"The OAuth 1.0a consumer key of the Twitter application used for sign-in.","computed":true},"consumer_secret_setting_name":{"type":"TypeString","description":"The app setting name that contains the OAuth 1.0a consumer secret of the Twitter application used for sign-in.","computed":true}}}},"unauthenticated_action":{"type":"TypeString","computed":true}}}},"availability":{"type":"TypeString","computed":true},"backup":{"type":"TypeList","computed":true,"elem":{"schema":{"enabled":{"type":"TypeBool","description":"Is this backup job enabled?","computed":true},"name":{"type":"TypeString","description":"The name of this Backup.","computed":true},"schedule":{"type":"TypeList","computed":true,"elem":{"schema":{"frequency_interval":{"type":"TypeInt","description":"How often the backup should is executed in multiples of the `frequency_unit`.","computed":true},"frequency_unit":{"type":"TypeString","description":"The unit of time for how often the backup takes place.","computed":true},"keep_at_least_one_backup":{"type":"TypeBool","description":"Does the service keep at least one backup, regardless of age of backup.","computed":true},"last_execution_time":{"type":"TypeString","description":"The time the backup was last attempted.","computed":true},"retention_period_days":{"type":"TypeInt","description":"After how many days are backups deleted.","computed":true},"start_time":{"type":"TypeString","description":"When the schedule should start working in RFC-3339 format.","computed":true}}}},"storage_account_url":{"type":"TypeString","description":"The SAS URL to the container.","computed":true}}}},"builtin_logging_enabled":{"type":"TypeBool","computed":true},"client_certificate_enabled":{"type":"TypeBool","computed":true},"client_certificate_exclusion_paths":{"type":"TypeString","description":"Paths to exclude when using client certificates, separated by ;","computed":true},"client_certificate_mode":{"type":"TypeString","computed":true},"connection_string":{"type":"TypeSet","computed":true,"elem":{"schema":{"name":{"type":"TypeString","description":"The name of this Connection.","computed":true},"type":{"type":"TypeString","description":"The type of database.","computed":true},"value":{"type":"TypeString","description":"The connection string value.","computed":true}}}},"content_share_force_disabled":{"type":"TypeBool","computed":true},"custom_domain_verification_id":{"type":"TypeString","computed":true},"daily_memory_time_quota":{"type":"TypeInt","computed":true},"default_hostname":{"type":"TypeString","computed":true},"enabled":{"type":"TypeBool","computed":true},"ftp_publish_basic_authentication_enabled":{"type":"TypeBool","computed":true},"functions_extension_version":{"type":"TypeString","computed":true},"hosting_environment_id":{"type":"TypeString","computed":true},"https_only":{"type":"TypeBool","computed":true},"identity":{"type":"TypeList","computed":true,"elem":{"schema":{"identity_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"kind":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"outbound_ip_address_list":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"outbound_ip_addresses":{"type":"TypeString","computed":true},"possible_outbound_ip_address_list":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"possible_outbound_ip_addresses":{"type":"TypeString","computed":true},"public_network_access_enabled":{"type":"TypeBool","computed":true},"resource_group_name":{"type":"TypeString","required":true},"service_plan_id":{"type":"TypeString","computed":true},"site_config":{"type":"TypeList","computed":true,"elem":{"schema":{"always_on":{"type":"TypeBool","computed":true},"api_definition_url":{"type":"TypeString","computed":true},"api_management_api_id":{"type":"TypeString","computed":true},"app_command_line":{"type":"TypeString","computed":true},"app_scale_limit":{"type":"TypeInt","computed":true},"app_service_logs":{"type":"TypeList","computed":true,"elem":{"schema":{"disk_quota_mb":{"type":"TypeInt","computed":true},"retention_period_days":{"type":"TypeInt","computed":true}}}},"application_insights_connection_string":{"type":"TypeString","computed":true},"application_insights_key":{"type":"TypeString","computed":true},"application_stack":{"type":"TypeList","computed":true,"elem":{"schema":{"docker":{"type":"TypeList","computed":true,"elem":{"schema":{"image_name":{"type":"TypeString","computed":true},"image_tag":{"type":"TypeString","computed":true},"registry_password":{"type":"TypeString","computed":true},"registry_url":{"type":"TypeString","computed":true},"registry_username":{"type":"TypeString","computed":true}}}},"dotnet_version":{"type":"TypeString","computed":true},"java_version":{"type":"TypeString","computed":true},"node_version":{"type":"TypeString","computed":true},"powershell_core_version":{"type":"TypeString","computed":true},"python_version":{"type":"TypeString","computed":true},"use_custom_runtime":{"type":"TypeBool","computed":true},"use_dotnet_isolated_runtime":{"type":"TypeBool","computed":true}}}},"container_registry_managed_identity_client_id":{"type":"TypeString","computed":true},"container_registry_use_managed_identity":{"type":"TypeBool","computed":true},"cors":{"type":"TypeList","computed":true,"elem":{"schema":{"allowed_origins":{"type":"TypeList","description":"The list of origins that are allowed to make cross-origin calls.","computed":true,"elem":{"type":"TypeString"}},"support_credentials":{"type":"TypeBool","description":"Are credentials allowed in CORS requests?","computed":true}}}},"default_documents":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"detailed_error_logging_enabled":{"type":"TypeBool","computed":true},"elastic_instance_minimum":{"type":"TypeInt","computed":true},"ftps_state":{"type":"TypeString","computed":true},"health_check_eviction_time_in_min":{"type":"TypeInt","computed":true},"health_check_path":{"type":"TypeString","computed":true},"http2_enabled":{"type":"TypeBool","computed":true},"ip_restriction":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"action":{"type":"TypeString","description":"The action to take.","computed":true},"description":{"type":"TypeString","description":"The description of the ip restriction rule.","computed":true},"headers":{"type":"TypeList","computed":true,"elem":{"schema":{"x_azure_fdid":{"type":"TypeList","description":"The list of Azure Front Door IDs.","computed":true,"elem":{"type":"TypeString"}},"x_fd_health_probe":{"type":"TypeList","description":"Specifies if a Front Door Health Probe is expected.","computed":true,"elem":{"type":"TypeString"}},"x_forwarded_for":{"type":"TypeList","description":"The list of addresses for which matching is applied.","computed":true,"elem":{"type":"TypeString"}},"x_forwarded_host":{"type":"TypeList","description":"The list of Hosts for which matching will be applied.","computed":true,"elem":{"type":"TypeString"}}}}},"ip_address":{"type":"TypeString","description":"The CIDR notation of the IP or IP Range to match.","computed":true},"name":{"type":"TypeString","description":"The name used for this `ip_restriction`.","computed":true},"priority":{"type":"TypeInt","description":"The priority value of this `ip_restriction`.","computed":true},"service_tag":{"type":"TypeString","description":"The Service Tag used for this IP Restriction.","computed":true},"virtual_network_subnet_id":{"type":"TypeString","description":"The Virtual Network Subnet ID used for this IP Restriction.","computed":true}}}},"ip_restriction_default_action":{"type":"TypeString","computed":true},"linux_fx_version":{"type":"TypeString","computed":true},"load_balancing_mode":{"type":"TypeString","computed":true},"managed_pipeline_mode":{"type":"TypeString","computed":true},"minimum_tls_version":{"type":"TypeString","computed":true},"pre_warmed_instance_count":{"type":"TypeInt","computed":true},"remote_debugging_enabled":{"type":"TypeBool","computed":true},"remote_debugging_version":{"type":"TypeString","computed":true},"runtime_scale_monitoring_enabled":{"type":"TypeBool","computed":true},"scm_ip_restriction":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"action":{"type":"TypeString","description":"The action to take.","computed":true},"description":{"type":"TypeString","description":"The description of the ip restriction rule.","computed":true},"headers":{"type":"TypeList","computed":true,"elem":{"schema":{"x_azure_fdid":{"type":"TypeList","description":"The list of Azure Front Door IDs.","computed":true,"elem":{"type":"TypeString"}},"x_fd_health_probe":{"type":"TypeList","description":"Specifies if a Front Door Health Probe is expected.","computed":true,"elem":{"type":"TypeString"}},"x_forwarded_for":{"type":"TypeList","description":"The list of addresses for which matching is applied.","computed":true,"elem":{"type":"TypeString"}},"x_forwarded_host":{"type":"TypeList","description":"The list of Hosts for which matching will be applied.","computed":true,"elem":{"type":"TypeString"}}}}},"ip_address":{"type":"TypeString","description":"The CIDR notation of the IP or IP Range to match.","computed":true},"name":{"type":"TypeString","description":"The name used for this `ip_restriction`.","computed":true},"priority":{"type":"TypeInt","description":"The priority value of this `ip_restriction`.","computed":true},"service_tag":{"type":"TypeString","description":"The Service Tag used for this IP Restriction.","computed":true},"virtual_network_subnet_id":{"type":"TypeString","description":"The Virtual Network Subnet ID used for this IP Restriction.","computed":true}}}},"scm_ip_restriction_default_action":{"type":"TypeString","optional":true,"default":"Allow"},"scm_minimum_tls_version":{"type":"TypeString","computed":true},"scm_type":{"type":"TypeString","computed":true},"scm_use_main_ip_restriction":{"type":"TypeBool","computed":true},"use_32_bit_worker":{"type":"TypeBool","computed":true},"vnet_route_all_enabled":{"type":"TypeBool","computed":true},"websockets_enabled":{"type":"TypeBool","computed":true},"worker_count":{"type":"TypeInt","computed":true}}}},"site_credential":{"type":"TypeList","computed":true,"elem":{"schema":{"name":{"type":"TypeString","description":"The Site Credentials Username used for publishing.","computed":true},"password":{"type":"TypeString","description":"The Site Credentials Password used for publishing.","computed":true}}}},"sticky_settings":{"type":"TypeList","computed":true,"elem":{"schema":{"app_setting_names":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"connection_string_names":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}}},"storage_account_access_key":{"type":"TypeString","computed":true},"storage_account_name":{"type":"TypeString","computed":true},"storage_key_vault_secret_id":{"type":"TypeString","description":"The Key Vault Secret ID, including version, that contains the Connection String used to connect to the storage account for this Function App.","computed":true},"storage_uses_managed_identity":{"type":"TypeBool","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"usage":{"type":"TypeString","computed":true},"virtual_network_subnet_id":{"type":"TypeString","computed":true},"webdeploy_publish_basic_authentication_enabled":{"type":"TypeBool","computed":true}},"timeouts":{"read":25}},"azurerm_linux_web_app":{"schema":{"app_metadata":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"app_settings":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"auth_settings":{"type":"TypeList","computed":true,"elem":{"schema":{"active_directory":{"type":"TypeList","computed":true,"elem":{"schema":{"allowed_audiences":{"type":"TypeList","description":"The list of Allowed audience values considered when validating JWTs issued by Azure Active Directory.","computed":true,"elem":{"type":"TypeString"}},"client_id":{"type":"TypeString","description":"The ID of the Client to use to authenticate with Azure Active Directory.","computed":true},"client_secret":{"type":"TypeString","description":"The Client Secret for the Client ID.","computed":true},"client_secret_setting_name":{"type":"TypeString","description":"The App Setting name that contains the client secret of the Client.","computed":true}}}},"additional_login_parameters":{"type":"TypeMap","description":"The map of Login Parameters sent to the OpenID Connect authorization endpoint when a user logs in.","computed":true,"elem":{"type":"TypeString"}},"allowed_external_redirect_urls":{"type":"TypeList","description":"Specifies a list of External URLs that can be redirected to as part of logging in or logging out of the Windows Web App.","computed":true,"elem":{"type":"TypeString"}},"default_provider":{"type":"TypeString","description":"The default authentication provider used when multiple providers are configured. Possible values include: `AzureActiveDirectory`, `Facebook`, `Google`, `MicrosoftAccount`, `Twitter`, `Github`.","computed":true},"enabled":{"type":"TypeBool","description":"Is the Authentication / Authorization feature enabled?","computed":true},"facebook":{"type":"TypeList","computed":true,"elem":{"schema":{"app_id":{"type":"TypeString","description":"The App ID of the Facebook app used for login.","computed":true},"app_secret":{"type":"TypeString","description":"The App Secret of the Facebook app used for Facebook Login.","computed":true},"app_secret_setting_name":{"type":"TypeString","description":"The app setting name that contains the `app_secret` value used for Facebook Login.","computed":true},"oauth_scopes":{"type":"TypeList","description":"The list of OAuth 2.0 scopes requested as part of Facebook Login authentication.","computed":true,"elem":{"type":"TypeString"}}}}},"github":{"type":"TypeList","computed":true,"elem":{"schema":{"client_id":{"type":"TypeString","description":"The ID of the GitHub app used for login.","computed":true},"client_secret":{"type":"TypeString","description":"The Client Secret of the GitHub app used for GitHub Login.","computed":true},"client_secret_setting_name":{"type":"TypeString","description":"The app setting name that contains the `client_secret` value used for GitHub Login.","computed":true},"oauth_scopes":{"type":"TypeList","description":"The list of OAuth 2.0 scopes requested as part of GitHub Login authentication.","computed":true,"elem":{"type":"TypeString"}}}}},"google":{"type":"TypeList","computed":true,"elem":{"schema":{"client_id":{"type":"TypeString","description":"The OpenID Connect Client ID for the Google web application.","computed":true},"client_secret":{"type":"TypeString","description":"The client secret associated with the Google web application.","computed":true},"client_secret_setting_name":{"type":"TypeString","description":"The app setting name that contains the `client_secret` value used for Google Login.","computed":true},"oauth_scopes":{"type":"TypeList","description":"The list of OAuth 2.0 scopes that requested as part of Google Sign-In authentication.","computed":true,"elem":{"type":"TypeString"}}}}},"issuer":{"type":"TypeString","description":"The OpenID Connect Issuer URI that represents the entity which issues access tokens.","computed":true},"microsoft":{"type":"TypeList","computed":true,"elem":{"schema":{"client_id":{"type":"TypeString","description":"The OAuth 2.0 client ID that was created for the app used for authentication.","computed":true},"client_secret":{"type":"TypeString","description":"The OAuth 2.0 client secret that was created for the app used for authentication.","computed":true},"client_secret_setting_name":{"type":"TypeString","description":"The app setting name containing the OAuth 2.0 client secret that was created for the app used for authentication.","computed":true},"oauth_scopes":{"type":"TypeList","description":"The list of OAuth 2.0 scopes requested as part of Microsoft Account authentication.","computed":true,"elem":{"type":"TypeString"}}}}},"runtime_version":{"type":"TypeString","description":"The RuntimeVersion of the Authentication / Authorization feature in use.","computed":true},"token_refresh_extension_hours":{"type":"TypeFloat","description":"The number of hours after session token expiration that a session token can be used to call the token refresh API.","computed":true},"token_store_enabled":{"type":"TypeBool","description":"Are platform-specific security tokens that are obtained during login flows durably stored?","computed":true},"twitter":{"type":"TypeList","computed":true,"elem":{"schema":{"consumer_key":{"type":"TypeString","description":"The OAuth 1.0a consumer key of the Twitter application used for sign-in.","computed":true},"consumer_secret":{"type":"TypeString","description":"The OAuth 1.0a consumer secret of the Twitter application used for sign-in.","computed":true},"consumer_secret_setting_name":{"type":"TypeString","description":"The app setting name that contains the OAuth 1.0a consumer secret of the Twitter application used for sign-in.","computed":true}}}},"unauthenticated_client_action":{"type":"TypeString","description":"The action taken when an unauthenticated client attempts to access the app.","computed":true}}}},"auth_settings_v2":{"type":"TypeList","computed":true,"elem":{"schema":{"active_directory_v2":{"type":"TypeList","computed":true,"elem":{"schema":{"allowed_applications":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"allowed_audiences":{"type":"TypeList","description":"Specifies a list of Allowed audience values to consider when validating JWTs issued by Azure Active Directory.","computed":true,"elem":{"type":"TypeString"}},"allowed_groups":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"allowed_identities":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"client_id":{"type":"TypeString","description":"The ID of the Client to use to authenticate with Azure Active Directory.","computed":true},"client_secret_certificate_thumbprint":{"type":"TypeString","description":"The thumbprint of the certificate used for signing purposes.","computed":true},"client_secret_setting_name":{"type":"TypeString","description":"The App Setting name that contains the client secret of the Client.","computed":true},"jwt_allowed_client_applications":{"type":"TypeList","description":"A list of Allowed Client Applications in the JWT Claim.","computed":true,"elem":{"type":"TypeString"}},"jwt_allowed_groups":{"type":"TypeList","description":"A list of Allowed Groups in the JWT Claim.","computed":true,"elem":{"type":"TypeString"}},"login_parameters":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"tenant_auth_endpoint":{"type":"TypeString","description":"The Azure Tenant URI for the Authenticating Tenant. e.g. `https://login.microsoftonline.com/v2.0/{tenant-guid}/`","computed":true},"www_authentication_disabled":{"type":"TypeBool","description":"Is the www-authenticate provider omitted from the request?","computed":true}}}},"apple_v2":{"type":"TypeList","computed":true,"elem":{"schema":{"client_id":{"type":"TypeString","description":"The OpenID Connect Client ID for the Apple web application.","computed":true},"client_secret_setting_name":{"type":"TypeString","description":"The app setting name that contains the `client_secret` value used for Apple Login.","computed":true},"login_scopes":{"type":"TypeList","description":"Specifies a list of OAuth 2.0 scopes that will be requested as part of Apple Sign-In authentication. If not specified, \"openid\", \"profile\", and \"email\" are used as default scopes.","computed":true,"elem":{"type":"TypeString"}}}}},"auth_enabled":{"type":"TypeBool","description":"Is the AuthV2 Settings be enabled.","computed":true},"azure_static_web_app_v2":{"type":"TypeList","computed":true,"elem":{"schema":{"client_id":{"type":"TypeString","description":"The ID of the Client used to authenticate with Azure Static Web App Authentication.","computed":true}}}},"config_file_path":{"type":"TypeString","description":"The path to the App Auth settings.","computed":true},"custom_oidc_v2":{"type":"TypeList","computed":true,"elem":{"schema":{"authorisation_endpoint":{"type":"TypeString","description":"The endpoint to make the Authorisation Request.","computed":true},"certification_uri":{"type":"TypeString","description":"The endpoint that provides the keys necessary to validate the token.","computed":true},"client_credential_method":{"type":"TypeString","description":"The Client Credential Method used. Currently the only supported value is `ClientSecretPost`","computed":true},"client_id":{"type":"TypeString","description":"The ID of the Client used to authenticate with this Custom OIDC.","computed":true},"client_secret_setting_name":{"type":"TypeString","description":"The App Setting name that contains the secret for this Custom OIDC Client.","computed":true},"issuer_endpoint":{"type":"TypeString","description":"The endpoint that issued the Token.","computed":true},"name":{"type":"TypeString","description":"The name of the Custom OIDC Authentication Provider.","computed":true},"name_claim_type":{"type":"TypeString","description":"The name of the claim that contains the users name.","computed":true},"openid_configuration_endpoint":{"type":"TypeString","description":"The endpoint that contains all the configuration endpoints for this Custom OIDC provider.","computed":true},"scopes":{"type":"TypeList","description":"The list of the scopes that should be requested while authenticating.","computed":true,"elem":{"type":"TypeString"}},"token_endpoint":{"type":"TypeString","description":"The endpoint used to request a Token.","computed":true}}}},"default_provider":{"type":"TypeString","description":"The Default Authentication Provider used when the `unauthenticated_action` is set to `RedirectToLoginPage`.","computed":true},"excluded_paths":{"type":"TypeList","description":"The paths which are excluded from the `unauthenticated_action` when it is set to `RedirectToLoginPage`.","computed":true,"elem":{"type":"TypeString"}},"facebook_v2":{"type":"TypeList","computed":true,"elem":{"schema":{"app_id":{"type":"TypeString","description":"The App ID of the Facebook app used for login.","computed":true},"app_secret_setting_name":{"type":"TypeString","description":"The app setting name that contains the `app_secret` value used for Facebook Login.","computed":true},"graph_api_version":{"type":"TypeString","description":"The version of the Facebook API to be used while logging in.","computed":true},"login_scopes":{"type":"TypeList","description":"Specifies a list of OAuth 2.0 scopes to be requested as part of Facebook Login authentication.","computed":true,"elem":{"type":"TypeString"}}}}},"forward_proxy_convention":{"type":"TypeString","description":"The convention used to determine the url of the request made.","computed":true},"forward_proxy_custom_host_header_name":{"type":"TypeString","description":"The name of the header containing the host of the request.","computed":true},"forward_proxy_custom_scheme_header_name":{"type":"TypeString","description":"The name of the header containing the scheme of the request.","computed":true},"github_v2":{"type":"TypeList","computed":true,"elem":{"schema":{"client_id":{"type":"TypeString","description":"The ID of the GitHub app used for login.","computed":true},"client_secret_setting_name":{"type":"TypeString","description":"The app setting name that contains the `client_secret` value used for GitHub Login.","computed":true},"login_scopes":{"type":"TypeList","description":"Specifies a list of OAuth 2.0 scopes that will be requested as part of GitHub Login authentication.","computed":true,"elem":{"type":"TypeString"}}}}},"google_v2":{"type":"TypeList","computed":true,"elem":{"schema":{"allowed_audiences":{"type":"TypeList","description":"Specifies a list of Allowed Audiences that will be requested as part of Google Sign-In authentication. If not specified, \"openid\", \"profile\", and \"email\" are used as default scopes.","computed":true,"elem":{"type":"TypeString"}},"client_id":{"type":"TypeString","description":"The OpenID Connect Client ID for the Google web application.","computed":true},"client_secret_setting_name":{"type":"TypeString","description":"The app setting name that contains the `client_secret` value used for Google Login.","computed":true},"login_scopes":{"type":"TypeList","description":"The list of OAuth 2.0 scopes requested as part of Google Sign-In authentication. If not specified, \"openid\", \"profile\", and \"email\" are used as default scopes.","computed":true,"elem":{"type":"TypeString"}}}}},"http_route_api_prefix":{"type":"TypeString","description":"The prefix that precedes all the authentication and authorisation paths.","computed":true},"login":{"type":"TypeList","computed":true,"elem":{"schema":{"allowed_external_redirect_urls":{"type":"TypeList","description":"External URLs that can be redirected to as part of logging in or logging out of the app. This is an advanced setting typically only needed by Windows Store application backends. **Note:** URLs within the current domain are always implicitly allowed.","computed":true,"elem":{"type":"TypeString"}},"cookie_expiration_convention":{"type":"TypeString","computed":true},"cookie_expiration_time":{"type":"TypeString","description":"The time after the request is made when the session cookie will expire.","computed":true},"logout_endpoint":{"type":"TypeString","description":"The endpoint to which logout requests are made.","computed":true},"nonce_expiration_time":{"type":"TypeString","description":"The time after the request is made when the nonce will expire.","computed":true},"preserve_url_fragments_for_logins":{"type":"TypeBool","description":"Are the fragments from the request be preserved after the login request is made.","computed":true},"token_refresh_extension_time":{"type":"TypeFloat","description":"The number of hours after session token expiration that a session token can be used to call the token refresh API.","computed":true},"token_store_enabled":{"type":"TypeBool","description":"Is the Token Store configuration Enabled.","computed":true},"token_store_path":{"type":"TypeString","description":"The directory path in the App Filesystem in which the tokens are stored.","computed":true},"token_store_sas_setting_name":{"type":"TypeString","description":"The name of the app setting which contains the SAS URL of the blob storage containing the tokens.","computed":true},"validate_nonce":{"type":"TypeBool","description":"Is the nonce be validated while completing the login flow.","computed":true}}}},"microsoft_v2":{"type":"TypeList","computed":true,"elem":{"schema":{"allowed_audiences":{"type":"TypeList","description":"Specifies a list of Allowed Audiences that will be requested as part of Microsoft Sign-In authentication.","computed":true,"elem":{"type":"TypeString"}},"client_id":{"type":"TypeString","description":"The OAuth 2.0 client ID that was created for the app used for authentication.","computed":true},"client_secret_setting_name":{"type":"TypeString","description":"The app setting name containing the OAuth 2.0 client secret that was created for the app used for authentication.","computed":true},"login_scopes":{"type":"TypeList","description":"The list of Login scopes that will be requested as part of Microsoft Account authentication.","computed":true,"elem":{"type":"TypeString"}}}}},"require_authentication":{"type":"TypeBool","description":"Is the authentication flow used for all requests.","computed":true},"require_https":{"type":"TypeBool","description":"Is HTTPS required on connections?","computed":true},"runtime_version":{"type":"TypeString","description":"The Runtime Version of the Authentication and Authorisation feature of this App.","computed":true},"twitter_v2":{"type":"TypeList","computed":true,"elem":{"schema":{"consumer_key":{"type":"TypeString","description":"The OAuth 1.0a consumer key of the Twitter application used for sign-in.","computed":true},"consumer_secret_setting_name":{"type":"TypeString","description":"The app setting name that contains the OAuth 1.0a consumer secret of the Twitter application used for sign-in.","computed":true}}}},"unauthenticated_action":{"type":"TypeString","computed":true}}}},"availability":{"type":"TypeString","computed":true},"backup":{"type":"TypeList","computed":true,"elem":{"schema":{"enabled":{"type":"TypeBool","description":"Is this backup job enabled?","computed":true},"name":{"type":"TypeString","description":"The name of this Backup.","computed":true},"schedule":{"type":"TypeList","computed":true,"elem":{"schema":{"frequency_interval":{"type":"TypeInt","description":"How often the backup should is executed in multiples of the `frequency_unit`.","computed":true},"frequency_unit":{"type":"TypeString","description":"The unit of time for how often the backup takes place.","computed":true},"keep_at_least_one_backup":{"type":"TypeBool","description":"Does the service keep at least one backup, regardless of age of backup.","computed":true},"last_execution_time":{"type":"TypeString","description":"The time the backup was last attempted.","computed":true},"retention_period_days":{"type":"TypeInt","description":"After how many days are backups deleted.","computed":true},"start_time":{"type":"TypeString","description":"When the schedule should start working in RFC-3339 format.","computed":true}}}},"storage_account_url":{"type":"TypeString","description":"The SAS URL to the container.","computed":true}}}},"client_affinity_enabled":{"type":"TypeBool","computed":true},"client_certificate_enabled":{"type":"TypeBool","computed":true},"client_certificate_exclusion_paths":{"type":"TypeString","description":"Paths to exclude when using client certificates, separated by ;","computed":true},"client_certificate_mode":{"type":"TypeString","computed":true},"connection_string":{"type":"TypeSet","computed":true,"elem":{"schema":{"name":{"type":"TypeString","description":"The name of this Connection.","computed":true},"type":{"type":"TypeString","description":"The type of database.","computed":true},"value":{"type":"TypeString","description":"The connection string value.","computed":true}}}},"custom_domain_verification_id":{"type":"TypeString","computed":true},"default_hostname":{"type":"TypeString","computed":true},"enabled":{"type":"TypeBool","computed":true},"ftp_publish_basic_authentication_enabled":{"type":"TypeBool","computed":true},"hosting_environment_id":{"type":"TypeString","computed":true},"https_only":{"type":"TypeBool","computed":true},"identity":{"type":"TypeList","computed":true,"elem":{"schema":{"identity_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"key_vault_reference_identity_id":{"type":"TypeString","computed":true},"kind":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"logs":{"type":"TypeList","computed":true,"elem":{"schema":{"application_logs":{"type":"TypeList","computed":true,"elem":{"schema":{"azure_blob_storage":{"type":"TypeList","computed":true,"elem":{"schema":{"level":{"type":"TypeString","computed":true},"retention_in_days":{"type":"TypeInt","computed":true},"sas_url":{"type":"TypeString","computed":true}}}},"file_system_level":{"type":"TypeString","computed":true}}}},"detailed_error_messages":{"type":"TypeBool","computed":true},"failed_request_tracing":{"type":"TypeBool","computed":true},"http_logs":{"type":"TypeList","computed":true,"elem":{"schema":{"azure_blob_storage":{"type":"TypeList","computed":true,"elem":{"schema":{"retention_in_days":{"type":"TypeInt","computed":true},"sas_url":{"type":"TypeString","computed":true}}}},"file_system":{"type":"TypeList","computed":true,"elem":{"schema":{"retention_in_days":{"type":"TypeInt","computed":true},"retention_in_mb":{"type":"TypeInt","computed":true}}}}}}}}}},"name":{"type":"TypeString","required":true},"outbound_ip_address_list":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"outbound_ip_addresses":{"type":"TypeString","computed":true},"possible_outbound_ip_address_list":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"possible_outbound_ip_addresses":{"type":"TypeString","computed":true},"public_network_access_enabled":{"type":"TypeBool","computed":true},"resource_group_name":{"type":"TypeString","required":true},"service_plan_id":{"type":"TypeString","computed":true},"site_config":{"type":"TypeList","computed":true,"elem":{"schema":{"always_on":{"type":"TypeBool","computed":true},"api_definition_url":{"type":"TypeString","computed":true},"api_management_api_id":{"type":"TypeString","computed":true},"app_command_line":{"type":"TypeString","computed":true},"application_stack":{"type":"TypeList","computed":true,"elem":{"schema":{"docker_image_name":{"type":"TypeString","computed":true},"docker_registry_password":{"type":"TypeString","computed":true},"docker_registry_url":{"type":"TypeString","computed":true},"docker_registry_username":{"type":"TypeString","computed":true},"dotnet_version":{"type":"TypeString","computed":true},"go_version":{"type":"TypeString","computed":true},"java_server":{"type":"TypeString","computed":true},"java_server_version":{"type":"TypeString","computed":true},"java_version":{"type":"TypeString","computed":true},"node_version":{"type":"TypeString","computed":true},"php_version":{"type":"TypeString","computed":true},"python_version":{"type":"TypeString","computed":true},"ruby_version":{"type":"TypeString","computed":true}}}},"auto_heal_setting":{"type":"TypeList","computed":true,"elem":{"schema":{"action":{"type":"TypeList","computed":true,"elem":{"schema":{"action_type":{"type":"TypeString","computed":true},"minimum_process_execution_time":{"type":"TypeString","computed":true}}}},"trigger":{"type":"TypeList","computed":true,"elem":{"schema":{"requests":{"type":"TypeList","computed":true,"elem":{"schema":{"count":{"type":"TypeInt","computed":true},"interval":{"type":"TypeString","computed":true}}}},"slow_request":{"type":"TypeList","optional":true,"elem":{"schema":{"count":{"type":"TypeInt","computed":true},"interval":{"type":"TypeString","computed":true},"time_taken":{"type":"TypeString","computed":true}}}},"slow_request_with_path":{"type":"TypeList","computed":true,"elem":{"schema":{"count":{"type":"TypeInt","computed":true},"interval":{"type":"TypeString","computed":true},"path":{"type":"TypeString","computed":true},"time_taken":{"type":"TypeString","computed":true}}}},"status_code":{"type":"TypeSet","computed":true,"elem":{"schema":{"count":{"type":"TypeInt","computed":true},"interval":{"type":"TypeString","computed":true},"path":{"type":"TypeString","computed":true},"status_code_range":{"type":"TypeString","computed":true},"sub_status":{"type":"TypeInt","computed":true},"win32_status_code":{"type":"TypeInt","computed":true}}}}}}}}}},"container_registry_managed_identity_client_id":{"type":"TypeString","computed":true},"container_registry_use_managed_identity":{"type":"TypeBool","computed":true},"cors":{"type":"TypeList","computed":true,"elem":{"schema":{"allowed_origins":{"type":"TypeList","description":"The list of origins that are allowed to make cross-origin calls.","computed":true,"elem":{"type":"TypeString"}},"support_credentials":{"type":"TypeBool","description":"Are credentials allowed in CORS requests?","computed":true}}}},"default_documents":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"detailed_error_logging_enabled":{"type":"TypeBool","computed":true},"ftps_state":{"type":"TypeString","computed":true},"health_check_eviction_time_in_min":{"type":"TypeInt","computed":true},"health_check_path":{"type":"TypeString","computed":true},"http2_enabled":{"type":"TypeBool","computed":true},"ip_restriction":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"action":{"type":"TypeString","description":"The action to take.","computed":true},"description":{"type":"TypeString","description":"The description of the ip restriction rule.","computed":true},"headers":{"type":"TypeList","computed":true,"elem":{"schema":{"x_azure_fdid":{"type":"TypeList","description":"The list of Azure Front Door IDs.","computed":true,"elem":{"type":"TypeString"}},"x_fd_health_probe":{"type":"TypeList","description":"Specifies if a Front Door Health Probe is expected.","computed":true,"elem":{"type":"TypeString"}},"x_forwarded_for":{"type":"TypeList","description":"The list of addresses for which matching is applied.","computed":true,"elem":{"type":"TypeString"}},"x_forwarded_host":{"type":"TypeList","description":"The list of Hosts for which matching will be applied.","computed":true,"elem":{"type":"TypeString"}}}}},"ip_address":{"type":"TypeString","description":"The CIDR notation of the IP or IP Range to match.","computed":true},"name":{"type":"TypeString","description":"The name used for this `ip_restriction`.","computed":true},"priority":{"type":"TypeInt","description":"The priority value of this `ip_restriction`.","computed":true},"service_tag":{"type":"TypeString","description":"The Service Tag used for this IP Restriction.","computed":true},"virtual_network_subnet_id":{"type":"TypeString","description":"The Virtual Network Subnet ID used for this IP Restriction.","computed":true}}}},"ip_restriction_default_action":{"type":"TypeString","computed":true},"linux_fx_version":{"type":"TypeString","computed":true},"load_balancing_mode":{"type":"TypeString","computed":true},"local_mysql_enabled":{"type":"TypeBool","computed":true},"managed_pipeline_mode":{"type":"TypeString","computed":true},"minimum_tls_version":{"type":"TypeString","computed":true},"remote_debugging_enabled":{"type":"TypeBool","computed":true},"remote_debugging_version":{"type":"TypeString","computed":true},"scm_ip_restriction":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"action":{"type":"TypeString","description":"The action to take.","computed":true},"description":{"type":"TypeString","description":"The description of the ip restriction rule.","computed":true},"headers":{"type":"TypeList","computed":true,"elem":{"schema":{"x_azure_fdid":{"type":"TypeList","description":"The list of Azure Front Door IDs.","computed":true,"elem":{"type":"TypeString"}},"x_fd_health_probe":{"type":"TypeList","description":"Specifies if a Front Door Health Probe is expected.","computed":true,"elem":{"type":"TypeString"}},"x_forwarded_for":{"type":"TypeList","description":"The list of addresses for which matching is applied.","computed":true,"elem":{"type":"TypeString"}},"x_forwarded_host":{"type":"TypeList","description":"The list of Hosts for which matching will be applied.","computed":true,"elem":{"type":"TypeString"}}}}},"ip_address":{"type":"TypeString","description":"The CIDR notation of the IP or IP Range to match.","computed":true},"name":{"type":"TypeString","description":"The name used for this `ip_restriction`.","computed":true},"priority":{"type":"TypeInt","description":"The priority value of this `ip_restriction`.","computed":true},"service_tag":{"type":"TypeString","description":"The Service Tag used for this IP Restriction.","computed":true},"virtual_network_subnet_id":{"type":"TypeString","description":"The Virtual Network Subnet ID used for this IP Restriction.","computed":true}}}},"scm_ip_restriction_default_action":{"type":"TypeString","computed":true},"scm_minimum_tls_version":{"type":"TypeString","computed":true},"scm_type":{"type":"TypeString","computed":true},"scm_use_main_ip_restriction":{"type":"TypeBool","computed":true},"use_32_bit_worker":{"type":"TypeBool","computed":true},"vnet_route_all_enabled":{"type":"TypeBool","computed":true},"websockets_enabled":{"type":"TypeBool","computed":true},"worker_count":{"type":"TypeInt","computed":true}}}},"site_credential":{"type":"TypeList","computed":true,"elem":{"schema":{"name":{"type":"TypeString","description":"The Site Credentials Username used for publishing.","computed":true},"password":{"type":"TypeString","description":"The Site Credentials Password used for publishing.","computed":true}}}},"sticky_settings":{"type":"TypeList","computed":true,"elem":{"schema":{"app_setting_names":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"connection_string_names":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}}},"storage_account":{"type":"TypeList","computed":true,"elem":{"schema":{"access_key":{"type":"TypeString","computed":true},"account_name":{"type":"TypeString","computed":true},"mount_path":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"share_name":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"usage":{"type":"TypeString","computed":true},"virtual_network_subnet_id":{"type":"TypeString","computed":true},"webdeploy_publish_basic_authentication_enabled":{"type":"TypeBool","computed":true}},"timeouts":{"read":5}},"azurerm_load_test":{"schema":{"data_plane_uri":{"type":"TypeString","computed":true},"description":{"type":"TypeString","computed":true},"encryption":{"type":"TypeList","computed":true,"elem":{"schema":{"identity":{"type":"TypeList","computed":true,"elem":{"schema":{"identity_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"key_url":{"type":"TypeString","computed":true}}}},"identity":{"type":"TypeList","computed":true,"elem":{"schema":{"identity_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_local_network_gateway":{"schema":{"address_space":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"bgp_settings":{"type":"TypeList","computed":true,"elem":{"schema":{"asn":{"type":"TypeInt","required":true},"bgp_peering_address":{"type":"TypeString","required":true},"peer_weight":{"type":"TypeInt","computed":true}}}},"gateway_address":{"type":"TypeString","computed":true},"gateway_fqdn":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_location":{"schema":{"display_name":{"type":"TypeString","computed":true},"location":{"type":"TypeString","required":true},"zone_mappings":{"type":"TypeList","computed":true,"elem":{"schema":{"logical_zone":{"type":"TypeString","computed":true},"physical_zone":{"type":"TypeString","computed":true}}}}},"timeouts":{"read":5}},"azurerm_log_analytics_workspace":{"schema":{"daily_quota_gb":{"type":"TypeFloat","computed":true},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"primary_shared_key":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true},"retention_in_days":{"type":"TypeInt","computed":true},"secondary_shared_key":{"type":"TypeString","computed":true},"sku":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"workspace_id":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_logic_app_integration_account":{"schema":{"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"sku_name":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_logic_app_standard":{"schema":{"app_service_plan_id":{"type":"TypeString","computed":true},"app_settings":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"bundle_version":{"type":"TypeString","computed":true},"client_affinity_enabled":{"type":"TypeBool","computed":true},"client_certificate_mode":{"type":"TypeString","computed":true},"connection_string":{"type":"TypeSet","computed":true,"elem":{"schema":{"name":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true},"value":{"type":"TypeString","computed":true}}}},"custom_domain_verification_id":{"type":"TypeString","computed":true},"default_hostname":{"type":"TypeString","computed":true},"enabled":{"type":"TypeBool","computed":true},"https_only":{"type":"TypeBool","computed":true},"identity":{"type":"TypeList","computed":true,"elem":{"schema":{"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"kind":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"outbound_ip_addresses":{"type":"TypeString","computed":true},"possible_outbound_ip_addresses":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true},"site_config":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"always_on":{"type":"TypeBool","optional":true,"default":false},"app_scale_limit":{"type":"TypeInt","optional":true,"computed":true},"auto_swap_slot_name":{"type":"TypeString","computed":true},"cors":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"allowed_origins":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}},"support_credentials":{"type":"TypeBool","optional":true,"default":false}}},"maxItems":1},"dotnet_framework_version":{"type":"TypeString","optional":true,"default":"v4.0"},"elastic_instance_minimum":{"type":"TypeInt","optional":true,"computed":true},"ftps_state":{"type":"TypeString","optional":true,"computed":true},"health_check_path":{"type":"TypeString","optional":true},"http2_enabled":{"type":"TypeBool","optional":true,"default":false},"ip_restriction":{"type":"TypeList","configMode":"Auto","optional":true,"computed":true,"elem":{"schema":{"action":{"type":"TypeString","optional":true,"default":"Allow"},"headers":{"type":"TypeList","configMode":"Auto","optional":true,"computed":true,"elem":{"schema":{"x_azure_fdid":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":8},"x_fd_health_probe":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":1},"x_forwarded_for":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":8},"x_forwarded_host":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":8}}},"maxItems":1},"ip_address":{"type":"TypeString","optional":true},"name":{"type":"TypeString","optional":true,"computed":true},"priority":{"type":"TypeInt","optional":true,"default":65000},"service_tag":{"type":"TypeString","optional":true},"virtual_network_subnet_id":{"type":"TypeString","optional":true}}}},"linux_fx_version":{"type":"TypeString","optional":true,"computed":true},"min_tls_version":{"type":"TypeString","optional":true,"computed":true},"pre_warmed_instance_count":{"type":"TypeInt","optional":true,"computed":true},"public_network_access_enabled":{"type":"TypeBool","optional":true,"default":true},"runtime_scale_monitoring_enabled":{"type":"TypeBool","optional":true,"default":false},"scm_ip_restriction":{"type":"TypeList","configMode":"Auto","optional":true,"computed":true,"elem":{"schema":{"action":{"type":"TypeString","optional":true,"default":"Allow"},"headers":{"type":"TypeList","configMode":"Auto","optional":true,"computed":true,"elem":{"schema":{"x_azure_fdid":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":8},"x_fd_health_probe":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":1},"x_forwarded_for":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":8},"x_forwarded_host":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":8}}},"maxItems":1},"ip_address":{"type":"TypeString","optional":true},"name":{"type":"TypeString","optional":true,"computed":true},"priority":{"type":"TypeInt","optional":true,"default":65000},"service_tag":{"type":"TypeString","optional":true},"virtual_network_subnet_id":{"type":"TypeString","optional":true}}}},"scm_min_tls_version":{"type":"TypeString","optional":true,"computed":true},"scm_type":{"type":"TypeString","optional":true,"computed":true},"scm_use_main_ip_restriction":{"type":"TypeBool","optional":true,"default":false},"use_32_bit_worker_process":{"type":"TypeBool","optional":true,"default":true},"vnet_route_all_enabled":{"type":"TypeBool","optional":true,"computed":true},"websockets_enabled":{"type":"TypeBool","optional":true,"default":false}}},"maxItems":1},"site_credential":{"type":"TypeList","computed":true,"elem":{"schema":{"password":{"type":"TypeString","computed":true},"username":{"type":"TypeString","computed":true}}}},"storage_account_access_key":{"type":"TypeString","computed":true},"storage_account_name":{"type":"TypeString","computed":true},"storage_account_share_name":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"use_extension_bundle":{"type":"TypeBool","computed":true},"version":{"type":"TypeString","computed":true},"virtual_network_subnet_id":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_logic_app_workflow":{"schema":{"access_endpoint":{"type":"TypeString","computed":true},"connector_endpoint_ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"connector_outbound_ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"identity":{"type":"TypeList","computed":true,"elem":{"schema":{"identity_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"location":{"type":"TypeString","computed":true},"logic_app_integration_account_id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"parameters":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"workflow_endpoint_ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"workflow_outbound_ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"workflow_schema":{"type":"TypeString","computed":true},"workflow_version":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_machine_learning_workspace":{"schema":{"identity":{"type":"TypeList","computed":true,"elem":{"schema":{"identity_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_maintenance_configuration":{"schema":{"in_guest_user_patch_mode":{"type":"TypeString","computed":true},"install_patches":{"type":"TypeList","computed":true,"elem":{"schema":{"linux":{"type":"TypeList","computed":true,"elem":{"schema":{"classifications_to_include":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"package_names_mask_to_exclude":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"package_names_mask_to_include":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}}},"reboot":{"type":"TypeString","computed":true},"windows":{"type":"TypeList","computed":true,"elem":{"schema":{"classifications_to_include":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"kb_numbers_to_exclude":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"kb_numbers_to_include":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}}}}}},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"properties":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"resource_group_name":{"type":"TypeString","required":true},"scope":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"visibility":{"type":"TypeString","computed":true},"window":{"type":"TypeList","computed":true,"elem":{"schema":{"duration":{"type":"TypeString","computed":true},"expiration_date_time":{"type":"TypeString","computed":true},"recur_every":{"type":"TypeString","computed":true},"start_date_time":{"type":"TypeString","computed":true},"time_zone":{"type":"TypeString","computed":true}}}}},"timeouts":{"read":5}},"azurerm_managed_api":{"schema":{"location":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_managed_application_definition":{"schema":{"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_managed_disk":{"schema":{"create_option":{"type":"TypeString","computed":true},"disk_access_id":{"type":"TypeString","computed":true},"disk_encryption_set_id":{"type":"TypeString","computed":true},"disk_iops_read_write":{"type":"TypeInt","computed":true},"disk_mbps_read_write":{"type":"TypeInt","computed":true},"disk_size_gb":{"type":"TypeInt","computed":true},"encryption_settings":{"type":"TypeList","computed":true,"elem":{"schema":{"disk_encryption_key":{"type":"TypeList","computed":true,"elem":{"schema":{"secret_url":{"type":"TypeString","computed":true},"source_vault_id":{"type":"TypeString","computed":true}}}},"enabled":{"type":"TypeBool","computed":true},"key_encryption_key":{"type":"TypeList","computed":true,"elem":{"schema":{"key_url":{"type":"TypeString","computed":true},"source_vault_id":{"type":"TypeString","computed":true}}}}}}},"image_reference_id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"network_access_policy":{"type":"TypeString","computed":true},"os_type":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true},"source_resource_id":{"type":"TypeString","computed":true},"source_uri":{"type":"TypeString","computed":true},"storage_account_id":{"type":"TypeString","computed":true},"storage_account_type":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"zones":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_management_group":{"schema":{"all_management_group_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"all_subscription_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"display_name":{"type":"TypeString","optional":true,"computed":true},"management_group_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","optional":true,"computed":true},"parent_management_group_id":{"type":"TypeString","computed":true},"subscription_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"tenant_scoped_id":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_management_group_template_deployment":{"schema":{"management_group_id":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true},"output_content":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_maps_account":{"schema":{"name":{"type":"TypeString","required":true},"primary_access_key":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true},"secondary_access_key":{"type":"TypeString","computed":true},"sku_name":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"x_ms_client_id":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_marketplace_agreement":{"schema":{"license_text_link":{"type":"TypeString","computed":true},"offer":{"type":"TypeString","required":true},"plan":{"type":"TypeString","required":true},"privacy_policy_link":{"type":"TypeString","computed":true},"publisher":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_mobile_network":{"schema":{"location":{"type":"TypeString","computed":true},"mobile_country_code":{"type":"TypeString","computed":true},"mobile_network_code":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"service_key":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_mobile_network_attached_data_network":{"schema":{"dns_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"location":{"type":"TypeString","computed":true},"mobile_network_data_network_name":{"type":"TypeString","required":true},"mobile_network_packet_core_data_plane_id":{"type":"TypeString","required":true},"network_address_port_translation":{"type":"TypeList","computed":true,"elem":{"schema":{"icmp_pinhole_timeout_in_seconds":{"type":"TypeInt","computed":true},"pinhole_maximum_number":{"type":"TypeInt","optional":true},"port_range":{"type":"TypeList","computed":true,"elem":{"schema":{"maximum":{"type":"TypeInt","computed":true},"minimum":{"type":"TypeInt","computed":true}}}},"tcp_pinhole_timeout_in_seconds":{"type":"TypeInt","computed":true},"tcp_port_reuse_minimum_hold_time_in_seconds":{"type":"TypeInt","computed":true},"udp_pinhole_timeout_in_seconds":{"type":"TypeInt","computed":true},"udp_port_reuse_minimum_hold_time_in_seconds":{"type":"TypeInt","computed":true}}}},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"user_equipment_address_pool_prefixes":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"user_equipment_static_address_pool_prefixes":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"user_plane_access_ipv4_address":{"type":"TypeString","computed":true},"user_plane_access_ipv4_gateway":{"type":"TypeString","computed":true},"user_plane_access_ipv4_subnet":{"type":"TypeString","computed":true},"user_plane_access_name":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_mobile_network_data_network":{"schema":{"description":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"mobile_network_id":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_mobile_network_packet_core_control_plane":{"schema":{"control_plane_access_ipv4_address":{"type":"TypeString","computed":true},"control_plane_access_ipv4_gateway":{"type":"TypeString","computed":true},"control_plane_access_ipv4_subnet":{"type":"TypeString","computed":true},"control_plane_access_name":{"type":"TypeString","computed":true},"core_network_technology":{"type":"TypeString","computed":true},"identity":{"type":"TypeList","computed":true,"elem":{"schema":{"identity_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"type":{"type":"TypeString","computed":true}}}},"interoperability_settings_json":{"type":"TypeString","computed":true},"local_diagnostics_access":{"type":"TypeList","computed":true,"elem":{"schema":{"authentication_type":{"type":"TypeString","computed":true},"https_server_certificate_url":{"type":"TypeString","computed":true}}}},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"platform":{"type":"TypeList","computed":true,"elem":{"schema":{"arc_kubernetes_cluster_id":{"type":"TypeString","computed":true},"custom_location_id":{"type":"TypeString","computed":true},"edge_device_id":{"type":"TypeString","computed":true},"stack_hci_cluster_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"site_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"sku":{"type":"TypeString","computed":true},"software_version":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"user_equipment_mtu_in_bytes":{"type":"TypeInt","computed":true}},"timeouts":{"read":5}},"azurerm_mobile_network_packet_core_data_plane":{"schema":{"location":{"type":"TypeString","computed":true},"mobile_network_packet_core_control_plane_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"user_plane_access_ipv4_address":{"type":"TypeString","computed":true},"user_plane_access_ipv4_gateway":{"type":"TypeString","computed":true},"user_plane_access_ipv4_subnet":{"type":"TypeString","computed":true},"user_plane_access_name":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_mobile_network_service":{"schema":{"location":{"type":"TypeString","computed":true},"mobile_network_id":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true},"pcc_rule":{"type":"TypeList","computed":true,"elem":{"schema":{"name":{"type":"TypeString","computed":true},"precedence":{"type":"TypeInt","computed":true},"qos_policy":{"type":"TypeList","computed":true,"elem":{"schema":{"allocation_and_retention_priority_level":{"type":"TypeInt","computed":true},"guaranteed_bit_rate":{"type":"TypeList","computed":true,"elem":{"schema":{"downlink":{"type":"TypeString","computed":true},"uplink":{"type":"TypeString","computed":true}}}},"maximum_bit_rate":{"type":"TypeList","computed":true,"elem":{"schema":{"downlink":{"type":"TypeString","computed":true},"uplink":{"type":"TypeString","computed":true}}}},"preemption_capability":{"type":"TypeString","computed":true},"preemption_vulnerability":{"type":"TypeString","computed":true},"qos_indicator":{"type":"TypeInt","computed":true}}}},"service_data_flow_template":{"type":"TypeList","computed":true,"elem":{"schema":{"direction":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"ports":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"protocol":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"remote_ip_list":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}}},"traffic_control_enabled":{"type":"TypeBool","computed":true}}}},"service_precedence":{"type":"TypeInt","computed":true},"service_qos_policy":{"type":"TypeList","computed":true,"elem":{"schema":{"allocation_and_retention_priority_level":{"type":"TypeInt","computed":true},"maximum_bit_rate":{"type":"TypeList","computed":true,"elem":{"schema":{"downlink":{"type":"TypeString","computed":true},"uplink":{"type":"TypeString","computed":true}}}},"preemption_capability":{"type":"TypeString","computed":true},"preemption_vulnerability":{"type":"TypeString","computed":true},"qos_indicator":{"type":"TypeInt","computed":true}}}},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_mobile_network_sim":{"schema":{"device_type":{"type":"TypeString","computed":true},"integrated_circuit_card_identifier":{"type":"TypeString","computed":true},"international_mobile_subscriber_identity":{"type":"TypeString","computed":true},"mobile_network_sim_group_id":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true},"sim_policy_id":{"type":"TypeString","computed":true},"sim_state":{"type":"TypeString","computed":true},"static_ip_configuration":{"type":"TypeList","computed":true,"elem":{"schema":{"attached_data_network_id":{"type":"TypeString","computed":true},"slice_id":{"type":"TypeString","computed":true},"static_ipv4_address":{"type":"TypeString","computed":true}}}},"vendor_key_fingerprint":{"type":"TypeString","computed":true},"vendor_name":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_mobile_network_sim_group":{"schema":{"encryption_key_url":{"type":"TypeString","computed":true},"identity":{"type":"TypeList","computed":true,"elem":{"schema":{"identity_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"location":{"type":"TypeString","computed":true},"mobile_network_id":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_mobile_network_sim_policy":{"schema":{"default_slice_id":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"mobile_network_id":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true},"rat_frequency_selection_priority_index":{"type":"TypeInt","computed":true},"registration_timer_in_seconds":{"type":"TypeInt","computed":true},"slice":{"type":"TypeList","computed":true,"elem":{"schema":{"data_network":{"type":"TypeList","computed":true,"elem":{"schema":{"additional_allowed_session_types":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"allocation_and_retention_priority_level":{"type":"TypeInt","computed":true},"allowed_services_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"data_network_id":{"type":"TypeString","computed":true},"default_session_type":{"type":"TypeString","computed":true},"max_buffered_packets":{"type":"TypeInt","computed":true},"preemption_capability":{"type":"TypeString","computed":true},"preemption_vulnerability":{"type":"TypeString","computed":true},"qos_indicator":{"type":"TypeInt","computed":true},"session_aggregate_maximum_bit_rate":{"type":"TypeList","computed":true,"elem":{"schema":{"downlink":{"type":"TypeString","computed":true},"uplink":{"type":"TypeString","computed":true}}}}}}},"default_data_network_id":{"type":"TypeString","computed":true},"slice_id":{"type":"TypeString","computed":true}}}},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"user_equipment_aggregate_maximum_bit_rate":{"type":"TypeList","computed":true,"elem":{"schema":{"downlink":{"type":"TypeString","computed":true},"uplink":{"type":"TypeString","computed":true}}}}},"timeouts":{"read":5}},"azurerm_mobile_network_site":{"schema":{"location":{"type":"TypeString","computed":true},"mobile_network_id":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true},"network_function_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_mobile_network_slice":{"schema":{"description":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"mobile_network_id":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true},"single_network_slice_selection_assistance_information":{"type":"TypeList","computed":true,"elem":{"schema":{"slice_differentiator":{"type":"TypeString","computed":true},"slice_service_type":{"type":"TypeInt","computed":true}}}},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_monitor_action_group":{"schema":{"arm_role_receiver":{"type":"TypeList","computed":true,"elem":{"schema":{"name":{"type":"TypeString","computed":true},"role_id":{"type":"TypeString","computed":true},"use_common_alert_schema":{"type":"TypeBool","computed":true}}}},"automation_runbook_receiver":{"type":"TypeList","computed":true,"elem":{"schema":{"automation_account_id":{"type":"TypeString","computed":true},"is_global_runbook":{"type":"TypeBool","computed":true},"name":{"type":"TypeString","computed":true},"runbook_name":{"type":"TypeString","computed":true},"service_uri":{"type":"TypeString","computed":true},"use_common_alert_schema":{"type":"TypeBool","computed":true},"webhook_resource_id":{"type":"TypeString","computed":true}}}},"azure_app_push_receiver":{"type":"TypeList","computed":true,"elem":{"schema":{"email_address":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true}}}},"azure_function_receiver":{"type":"TypeList","computed":true,"elem":{"schema":{"function_app_resource_id":{"type":"TypeString","computed":true},"function_name":{"type":"TypeString","computed":true},"http_trigger_url":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"use_common_alert_schema":{"type":"TypeBool","computed":true}}}},"email_receiver":{"type":"TypeList","computed":true,"elem":{"schema":{"email_address":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"use_common_alert_schema":{"type":"TypeBool","computed":true}}}},"enabled":{"type":"TypeBool","computed":true},"event_hub_receiver":{"type":"TypeList","computed":true,"elem":{"schema":{"event_hub_name":{"type":"TypeString","required":true},"event_hub_namespace":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true},"subscription_id":{"type":"TypeString","optional":true,"computed":true},"tenant_id":{"type":"TypeString","optional":true,"computed":true},"use_common_alert_schema":{"type":"TypeBool","optional":true}}}},"itsm_receiver":{"type":"TypeList","computed":true,"elem":{"schema":{"connection_id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"region":{"type":"TypeString","computed":true},"ticket_configuration":{"type":"TypeString","computed":true},"workspace_id":{"type":"TypeString","computed":true}}}},"logic_app_receiver":{"type":"TypeList","computed":true,"elem":{"schema":{"callback_url":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"resource_id":{"type":"TypeString","computed":true},"use_common_alert_schema":{"type":"TypeBool","computed":true}}}},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"short_name":{"type":"TypeString","computed":true},"sms_receiver":{"type":"TypeList","computed":true,"elem":{"schema":{"country_code":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"phone_number":{"type":"TypeString","computed":true}}}},"voice_receiver":{"type":"TypeList","computed":true,"elem":{"schema":{"country_code":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"phone_number":{"type":"TypeString","computed":true}}}},"webhook_receiver":{"type":"TypeList","computed":true,"elem":{"schema":{"aad_auth":{"type":"TypeList","computed":true,"elem":{"schema":{"identifier_uri":{"type":"TypeString","computed":true},"object_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true}}}},"name":{"type":"TypeString","computed":true},"service_uri":{"type":"TypeString","computed":true},"use_common_alert_schema":{"type":"TypeBool","computed":true}}}}},"timeouts":{"read":5}},"azurerm_monitor_data_collection_endpoint":{"schema":{"configuration_access_endpoint":{"type":"TypeString","computed":true},"description":{"type":"TypeString","computed":true},"immutable_id":{"type":"TypeString","computed":true},"kind":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"logs_ingestion_endpoint":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"public_network_access_enabled":{"type":"TypeBool","computed":true},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_monitor_data_collection_rule":{"schema":{"data_collection_endpoint_id":{"type":"TypeString","computed":true},"data_flow":{"type":"TypeList","computed":true,"elem":{"schema":{"built_in_transform":{"type":"TypeString","computed":true},"destinations":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"output_stream":{"type":"TypeString","computed":true},"streams":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"transform_kql":{"type":"TypeString","computed":true}}}},"data_sources":{"type":"TypeList","computed":true,"elem":{"schema":{"data_import":{"type":"TypeList","computed":true,"elem":{"schema":{"event_hub_data_source":{"type":"TypeList","computed":true,"elem":{"schema":{"consumer_group":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"stream":{"type":"TypeString","computed":true}}}}}}},"extension":{"type":"TypeList","computed":true,"elem":{"schema":{"extension_json":{"type":"TypeString","computed":true},"extension_name":{"type":"TypeString","computed":true},"input_data_sources":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","computed":true},"streams":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}}},"iis_log":{"type":"TypeList","computed":true,"elem":{"schema":{"log_directories":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","computed":true},"streams":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}}},"log_file":{"type":"TypeList","optional":true,"elem":{"schema":{"file_patterns":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"format":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"settings":{"type":"TypeList","computed":true,"elem":{"schema":{"text":{"type":"TypeList","computed":true,"elem":{"schema":{"record_start_timestamp_format":{"type":"TypeString","computed":true}}}}}}},"streams":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}}},"performance_counter":{"type":"TypeList","computed":true,"elem":{"schema":{"counter_specifiers":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","computed":true},"sampling_frequency_in_seconds":{"type":"TypeInt","computed":true},"streams":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}}},"platform_telemetry":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","computed":true},"streams":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}}},"prometheus_forwarder":{"type":"TypeList","computed":true,"elem":{"schema":{"label_include_filter":{"type":"TypeList","computed":true,"elem":{"schema":{"label":{"type":"TypeString","computed":true},"value":{"type":"TypeString","computed":true}}}},"name":{"type":"TypeString","computed":true},"streams":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}}},"syslog":{"type":"TypeList","computed":true,"elem":{"schema":{"facility_names":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"log_levels":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","computed":true},"streams":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}}},"windows_event_log":{"type":"TypeList","computed":true,"elem":{"schema":{"name":{"type":"TypeString","computed":true},"streams":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"x_path_queries":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}}},"windows_firewall_log":{"type":"TypeList","computed":true,"elem":{"schema":{"name":{"type":"TypeString","computed":true},"streams":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}}}}}},"description":{"type":"TypeString","computed":true},"destinations":{"type":"TypeList","computed":true,"elem":{"schema":{"azure_monitor_metrics":{"type":"TypeList","computed":true,"elem":{"schema":{"name":{"type":"TypeString","computed":true}}}},"event_hub":{"type":"TypeList","optional":true,"elem":{"schema":{"event_hub_id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true}}},"maxItems":1},"event_hub_direct":{"type":"TypeList","optional":true,"elem":{"schema":{"event_hub_id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true}}},"maxItems":1},"log_analytics":{"type":"TypeList","computed":true,"elem":{"schema":{"name":{"type":"TypeString","computed":true},"workspace_resource_id":{"type":"TypeString","computed":true}}}},"monitor_account":{"type":"TypeList","computed":true,"elem":{"schema":{"monitor_account_id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true}}}},"storage_blob":{"type":"TypeList","computed":true,"elem":{"schema":{"container_name":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"storage_account_id":{"type":"TypeString","computed":true}}}},"storage_blob_direct":{"type":"TypeList","computed":true,"elem":{"schema":{"container_name":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"storage_account_id":{"type":"TypeString","computed":true}}}},"storage_table_direct":{"type":"TypeList","computed":true,"elem":{"schema":{"name":{"type":"TypeString","computed":true},"storage_account_id":{"type":"TypeString","computed":true},"table_name":{"type":"TypeString","computed":true}}}}}}},"identity":{"type":"TypeList","computed":true,"elem":{"schema":{"identity_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"immutable_id":{"type":"TypeString","computed":true},"kind":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"stream_declaration":{"type":"TypeList","computed":true,"elem":{"schema":{"column":{"type":"TypeList","computed":true,"elem":{"schema":{"name":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"stream_name":{"type":"TypeString","computed":true}}}},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_monitor_diagnostic_categories":{"schema":{"log_category_groups":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"log_category_types":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"metrics":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"resource_id":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_monitor_scheduled_query_rules_alert":{"schema":{"action":{"type":"TypeSet","computed":true,"elem":{"schema":{"action_group":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"custom_webhook_payload":{"type":"TypeString","computed":true},"email_subject":{"type":"TypeString","computed":true}}}},"authorized_resource_ids":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"data_source_id":{"type":"TypeString","computed":true},"description":{"type":"TypeString","computed":true},"enabled":{"type":"TypeBool","computed":true},"frequency":{"type":"TypeInt","computed":true},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"query":{"type":"TypeString","computed":true},"query_type":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true},"severity":{"type":"TypeInt","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"throttling":{"type":"TypeInt","computed":true},"time_window":{"type":"TypeInt","computed":true},"trigger":{"type":"TypeSet","computed":true,"elem":{"schema":{"metric_trigger":{"type":"TypeSet","computed":true,"elem":{"schema":{"metric_column":{"type":"TypeString","computed":true},"metric_trigger_type":{"type":"TypeString","computed":true},"operator":{"type":"TypeString","computed":true},"threshold":{"type":"TypeFloat","computed":true}}}},"operator":{"type":"TypeString","computed":true},"threshold":{"type":"TypeFloat","computed":true}}}}},"timeouts":{"read":5}},"azurerm_monitor_scheduled_query_rules_log":{"schema":{"authorized_resource_ids":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"criteria":{"type":"TypeSet","computed":true,"elem":{"schema":{"dimension":{"type":"TypeSet","computed":true,"elem":{"schema":{"name":{"type":"TypeString","computed":true},"operator":{"type":"TypeString","computed":true},"values":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}}},"metric_name":{"type":"TypeString","computed":true}}}},"data_source_id":{"type":"TypeString","computed":true},"description":{"type":"TypeString","computed":true},"enabled":{"type":"TypeBool","computed":true},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_monitor_workspace":{"schema":{"default_data_collection_endpoint_id":{"type":"TypeString","computed":true},"default_data_collection_rule_id":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"public_network_access_enabled":{"type":"TypeBool","computed":true},"query_endpoint":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_mssql_database":{"schema":{"collation":{"type":"TypeString","computed":true},"elastic_pool_id":{"type":"TypeString","computed":true},"enclave_type":{"type":"TypeString","computed":true},"identity":{"type":"TypeList","computed":true,"elem":{"schema":{"identity_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"type":{"type":"TypeString","computed":true}}}},"license_type":{"type":"TypeString","computed":true},"max_size_gb":{"type":"TypeInt","computed":true},"name":{"type":"TypeString","required":true},"read_replica_count":{"type":"TypeInt","computed":true},"read_scale":{"type":"TypeBool","computed":true},"server_id":{"type":"TypeString","required":true},"sku_name":{"type":"TypeString","computed":true},"storage_account_type":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"transparent_data_encryption_enabled":{"type":"TypeBool","computed":true},"transparent_data_encryption_key_automatic_rotation_enabled":{"type":"TypeBool","computed":true},"transparent_data_encryption_key_vault_key_id":{"type":"TypeString","computed":true},"zone_redundant":{"type":"TypeBool","computed":true}},"timeouts":{"read":5}},"azurerm_mssql_elasticpool":{"schema":{"enclave_type":{"type":"TypeString","computed":true},"license_type":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"max_size_bytes":{"type":"TypeInt","computed":true},"max_size_gb":{"type":"TypeFloat","computed":true},"name":{"type":"TypeString","required":true},"per_db_max_capacity":{"type":"TypeInt","computed":true},"per_db_min_capacity":{"type":"TypeInt","computed":true},"resource_group_name":{"type":"TypeString","required":true},"server_name":{"type":"TypeString","required":true},"sku":{"type":"TypeList","computed":true,"elem":{"schema":{"capacity":{"type":"TypeInt","computed":true},"family":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"tier":{"type":"TypeString","computed":true}}}},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"zone_redundant":{"type":"TypeBool","computed":true}},"timeouts":{"read":5}},"azurerm_mssql_managed_instance":{"schema":{"administrator_login":{"type":"TypeString","computed":true},"collation":{"type":"TypeString","computed":true},"customer_managed_key_id":{"type":"TypeString","computed":true},"dns_zone":{"type":"TypeString","computed":true},"dns_zone_partner_id":{"type":"TypeString","computed":true},"fqdn":{"type":"TypeString","computed":true},"identity":{"type":"TypeList","computed":true,"elem":{"schema":{"identity_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"license_type":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"minimum_tls_version":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"proxy_override":{"type":"TypeString","computed":true},"public_data_endpoint_enabled":{"type":"TypeBool","computed":true},"resource_group_name":{"type":"TypeString","required":true},"sku_name":{"type":"TypeString","computed":true},"storage_account_type":{"type":"TypeString","computed":true},"storage_size_in_gb":{"type":"TypeInt","computed":true},"subnet_id":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"timezone_id":{"type":"TypeString","computed":true},"vcores":{"type":"TypeInt","computed":true}},"timeouts":{"read":5}},"azurerm_mssql_server":{"schema":{"administrator_login":{"type":"TypeString","computed":true},"fully_qualified_domain_name":{"type":"TypeString","computed":true},"identity":{"type":"TypeList","computed":true,"elem":{"schema":{"identity_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"restorable_dropped_database_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"transparent_data_encryption_key_vault_key_id":{"type":"TypeString","computed":true},"version":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_mysql_flexible_server":{"schema":{"administrator_login":{"type":"TypeString","computed":true},"backup_retention_days":{"type":"TypeInt","computed":true},"delegated_subnet_id":{"type":"TypeString","computed":true},"fqdn":{"type":"TypeString","computed":true},"geo_redundant_backup_enabled":{"type":"TypeBool","computed":true},"high_availability":{"type":"TypeList","computed":true,"elem":{"schema":{"mode":{"type":"TypeString","computed":true},"standby_availability_zone":{"type":"TypeString","computed":true}}}},"location":{"type":"TypeString","computed":true},"maintenance_window":{"type":"TypeList","computed":true,"elem":{"schema":{"day_of_week":{"type":"TypeInt","computed":true},"start_hour":{"type":"TypeInt","computed":true},"start_minute":{"type":"TypeInt","computed":true}}}},"name":{"type":"TypeString","required":true},"private_dns_zone_id":{"type":"TypeString","computed":true},"public_network_access_enabled":{"type":"TypeBool","computed":true},"replica_capacity":{"type":"TypeInt","computed":true},"replication_role":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true},"restore_point_in_time":{"type":"TypeString","computed":true},"sku_name":{"type":"TypeString","computed":true},"storage":{"type":"TypeList","computed":true,"elem":{"schema":{"auto_grow_enabled":{"type":"TypeBool","computed":true},"io_scaling_enabled":{"type":"TypeBool","computed":true},"iops":{"type":"TypeInt","computed":true},"size_gb":{"type":"TypeInt","computed":true}}}},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"version":{"type":"TypeString","computed":true},"zone":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_nat_gateway":{"schema":{"idle_timeout_in_minutes":{"type":"TypeInt","computed":true},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"public_ip_address_ids":{"type":"TypeList","optional":true,"computed":true,"elem":{"type":"TypeString"}},"public_ip_prefix_ids":{"type":"TypeList","optional":true,"computed":true,"elem":{"type":"TypeString"}},"resource_group_name":{"type":"TypeString","required":true},"resource_guid":{"type":"TypeString","computed":true},"sku_name":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"zones":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_netapp_account":{"schema":{"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_netapp_account_encryption":{"schema":{"encryption_key":{"type":"TypeString","optional":true,"description":"The versionless encryption key url."},"netapp_account_id":{"type":"TypeString","required":true,"description":"The ID of the NetApp Account where encryption will be set."},"system_assigned_identity_principal_id":{"type":"TypeString","optional":true,"description":"The Principal ID of the System Assigned Identity to use for encryption."},"user_assigned_identity_id":{"type":"TypeString","optional":true,"description":"The resource ID of the User Assigned Identity to use for encryption."}},"timeouts":{"read":5}},"azurerm_netapp_pool":{"schema":{"account_name":{"type":"TypeString","required":true},"encryption_type":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"service_level":{"type":"TypeString","computed":true},"size_in_tb":{"type":"TypeInt","computed":true}},"timeouts":{"read":5}},"azurerm_netapp_snapshot":{"schema":{"account_name":{"type":"TypeString","required":true},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"pool_name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"volume_name":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_netapp_snapshot_policy":{"schema":{"account_name":{"type":"TypeString","required":true},"daily_schedule":{"type":"TypeList","computed":true,"elem":{"schema":{"hour":{"type":"TypeInt","computed":true},"minute":{"type":"TypeInt","computed":true},"snapshots_to_keep":{"type":"TypeInt","computed":true}}}},"enabled":{"type":"TypeBool","computed":true},"hourly_schedule":{"type":"TypeList","computed":true,"elem":{"schema":{"minute":{"type":"TypeInt","computed":true},"snapshots_to_keep":{"type":"TypeInt","computed":true}}}},"location":{"type":"TypeString","computed":true},"monthly_schedule":{"type":"TypeList","computed":true,"elem":{"schema":{"days_of_month":{"type":"TypeSet","computed":true,"elem":{"type":"TypeInt"}},"hour":{"type":"TypeInt","computed":true},"minute":{"type":"TypeInt","computed":true},"snapshots_to_keep":{"type":"TypeInt","computed":true}}}},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"weekly_schedule":{"type":"TypeList","computed":true,"elem":{"schema":{"days_of_week":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"hour":{"type":"TypeInt","computed":true},"minute":{"type":"TypeInt","computed":true},"snapshots_to_keep":{"type":"TypeInt","computed":true}}}}},"timeouts":{"read":5}},"azurerm_netapp_volume":{"schema":{"account_name":{"type":"TypeString","required":true},"data_protection_replication":{"type":"TypeList","computed":true,"elem":{"schema":{"endpoint_type":{"type":"TypeString","computed":true},"remote_volume_location":{"type":"TypeString","computed":true},"remote_volume_resource_id":{"type":"TypeString","computed":true},"replication_frequency":{"type":"TypeString","computed":true}}}},"encryption_key_source":{"type":"TypeString","computed":true},"key_vault_private_endpoint_id":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"mount_ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true},"network_features":{"type":"TypeString","computed":true},"pool_name":{"type":"TypeString","required":true},"protocols":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"resource_group_name":{"type":"TypeString","required":true},"security_style":{"type":"TypeString","optional":true},"service_level":{"type":"TypeString","computed":true},"smb_access_based_enumeration_enabled":{"type":"TypeBool","computed":true},"smb_non_browsable_enabled":{"type":"TypeBool","computed":true},"storage_quota_in_gb":{"type":"TypeInt","computed":true},"subnet_id":{"type":"TypeString","computed":true},"volume_path":{"type":"TypeString","computed":true},"zone":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_netapp_volume_group_sap_hana":{"schema":{"account_name":{"type":"TypeString","required":true},"application_identifier":{"type":"TypeString","computed":true},"group_description":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"volume":{"type":"TypeList","computed":true,"elem":{"schema":{"capacity_pool_id":{"type":"TypeString","computed":true},"data_protection_replication":{"type":"TypeList","computed":true,"elem":{"schema":{"endpoint_type":{"type":"TypeString","computed":true},"remote_volume_location":{"type":"TypeString","computed":true},"remote_volume_resource_id":{"type":"TypeString","computed":true},"replication_frequency":{"type":"TypeString","computed":true}}}},"data_protection_snapshot_policy":{"type":"TypeList","computed":true,"elem":{"schema":{"snapshot_policy_id":{"type":"TypeString","computed":true}}}},"export_policy_rule":{"type":"TypeList","computed":true,"elem":{"schema":{"allowed_clients":{"type":"TypeString","computed":true},"nfsv3_enabled":{"type":"TypeBool","computed":true},"nfsv41_enabled":{"type":"TypeBool","computed":true},"root_access_enabled":{"type":"TypeBool","computed":true},"rule_index":{"type":"TypeInt","computed":true},"unix_read_only":{"type":"TypeBool","computed":true},"unix_read_write":{"type":"TypeBool","computed":true}}}},"id":{"type":"TypeString","computed":true},"mount_ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","computed":true},"protocols":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"proximity_placement_group_id":{"type":"TypeString","computed":true},"security_style":{"type":"TypeString","computed":true},"service_level":{"type":"TypeString","computed":true},"snapshot_directory_visible":{"type":"TypeBool","computed":true},"storage_quota_in_gb":{"type":"TypeInt","computed":true},"subnet_id":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"throughput_in_mibps":{"type":"TypeFloat","required":true},"volume_path":{"type":"TypeString","computed":true},"volume_spec_name":{"type":"TypeString","computed":true}}}}},"timeouts":{"read":5}},"azurerm_netapp_volume_quota_rule":{"schema":{"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"quota_size_in_kib":{"type":"TypeInt","computed":true},"quota_target":{"type":"TypeString","computed":true},"quota_type":{"type":"TypeString","computed":true},"volume_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"read":5}},"azurerm_network_ddos_protection_plan":{"schema":{"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"virtual_network_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_network_interface":{"schema":{"accelerated_networking_enabled":{"type":"TypeBool","computed":true},"applied_dns_servers":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"dns_servers":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"internal_dns_name_label":{"type":"TypeString","computed":true},"ip_configuration":{"type":"TypeList","computed":true,"elem":{"schema":{"application_gateway_backend_address_pools_ids":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"application_security_group_ids":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"gateway_load_balancer_frontend_ip_configuration_id":{"type":"TypeString","computed":true},"load_balancer_backend_address_pools_ids":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"load_balancer_inbound_nat_rules_ids":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","computed":true},"primary":{"type":"TypeBool","computed":true},"private_ip_address":{"type":"TypeString","computed":true},"private_ip_address_allocation":{"type":"TypeString","computed":true},"private_ip_address_version":{"type":"TypeString","computed":true},"public_ip_address_id":{"type":"TypeString","computed":true},"subnet_id":{"type":"TypeString","computed":true}}}},"ip_forwarding_enabled":{"type":"TypeBool","computed":true},"location":{"type":"TypeString","computed":true},"mac_address":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"network_security_group_id":{"type":"TypeString","computed":true},"private_ip_address":{"type":"TypeString","computed":true},"private_ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"virtual_machine_id":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_network_manager":{"schema":{"cross_tenant_scopes":{"type":"TypeList","computed":true,"elem":{"schema":{"management_groups":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"subscriptions":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"tenant_id":{"type":"TypeString","computed":true}}}},"description":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"scope":{"type":"TypeList","computed":true,"elem":{"schema":{"management_group_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"subscription_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}}},"scope_accesses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_network_manager_connectivity_configuration":{"schema":{"applies_to_group":{"type":"TypeList","computed":true,"elem":{"schema":{"global_mesh_enabled":{"type":"TypeBool","computed":true},"group_connectivity":{"type":"TypeString","computed":true},"network_group_id":{"type":"TypeString","computed":true},"use_hub_gateway":{"type":"TypeBool","computed":true}}}},"connectivity_topology":{"type":"TypeString","computed":true},"delete_existing_peering_enabled":{"type":"TypeBool","computed":true},"description":{"type":"TypeString","computed":true},"global_mesh_enabled":{"type":"TypeBool","computed":true},"hub":{"type":"TypeList","computed":true,"elem":{"schema":{"resource_id":{"type":"TypeString","computed":true},"resource_type":{"type":"TypeString","computed":true}}}},"name":{"type":"TypeString","required":true},"network_manager_id":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_network_manager_network_group":{"schema":{"description":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"network_manager_id":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_network_security_group":{"schema":{"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"security_rule":{"type":"TypeList","computed":true,"elem":{"schema":{"access":{"type":"TypeString","computed":true},"description":{"type":"TypeString","computed":true},"destination_address_prefix":{"type":"TypeString","computed":true},"destination_address_prefixes":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"destination_application_security_group_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"destination_port_range":{"type":"TypeString","computed":true},"destination_port_ranges":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"direction":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"priority":{"type":"TypeInt","computed":true},"protocol":{"type":"TypeString","computed":true},"source_address_prefix":{"type":"TypeString","computed":true},"source_address_prefixes":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"source_application_security_group_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"source_port_range":{"type":"TypeString","computed":true},"source_port_ranges":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}}}}},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_network_service_tags":{"schema":{"address_prefixes":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"ipv4_cidrs":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"ipv6_cidrs":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"location":{"type":"TypeString","required":true,"forceNew":true},"location_filter":{"type":"TypeString","optional":true,"forceNew":true},"name":{"type":"TypeString","computed":true},"service":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_network_watcher":{"schema":{"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_nginx_certificate":{"schema":{"certificate_virtual_path":{"type":"TypeString","computed":true},"error_code":{"type":"TypeString","computed":true},"error_message":{"type":"TypeString","computed":true},"key_vault_secret_creation_date":{"type":"TypeString","computed":true},"key_vault_secret_id":{"type":"TypeString","computed":true},"key_vault_secret_version":{"type":"TypeString","computed":true},"key_virtual_path":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"nginx_deployment_id":{"type":"TypeString","required":true},"sha1_thumbprint":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_nginx_configuration":{"schema":{"config_file":{"type":"TypeSet","computed":true,"elem":{"schema":{"content":{"type":"TypeString","computed":true},"virtual_path":{"type":"TypeString","computed":true}}}},"nginx_deployment_id":{"type":"TypeString","required":true},"package_data":{"type":"TypeString","computed":true},"protected_file":{"type":"TypeSet","computed":true,"elem":{"schema":{"content":{"type":"TypeString","computed":true},"virtual_path":{"type":"TypeString","computed":true}}}},"root_file":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_nginx_deployment":{"schema":{"auto_scale_profile":{"type":"TypeList","computed":true,"elem":{"schema":{"max_capacity":{"type":"TypeInt","computed":true},"min_capacity":{"type":"TypeInt","computed":true},"name":{"type":"TypeString","computed":true}}}},"automatic_upgrade_channel":{"type":"TypeString","computed":true},"capacity":{"type":"TypeInt","computed":true},"diagnose_support_enabled":{"type":"TypeBool","computed":true},"email":{"type":"TypeString","computed":true},"frontend_private":{"type":"TypeList","computed":true,"elem":{"schema":{"allocation_method":{"type":"TypeString","computed":true},"ip_address":{"type":"TypeString","computed":true},"subnet_id":{"type":"TypeString","computed":true}}}},"frontend_public":{"type":"TypeList","computed":true,"elem":{"schema":{"ip_address":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}}},"identity":{"type":"TypeList","computed":true,"elem":{"schema":{"identity_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"ip_address":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"logging_storage_account":{"type":"TypeList","computed":true,"elem":{"schema":{"container_name":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true}}}},"managed_resource_group":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"network_interface":{"type":"TypeList","computed":true,"elem":{"schema":{"subnet_id":{"type":"TypeString","computed":true}}}},"nginx_version":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true},"sku":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_notification_hub":{"schema":{"apns_credential":{"type":"TypeList","computed":true,"elem":{"schema":{"application_mode":{"type":"TypeString","computed":true},"bundle_id":{"type":"TypeString","computed":true},"key_id":{"type":"TypeString","computed":true},"team_id":{"type":"TypeString","computed":true},"token":{"type":"TypeString","computed":true}}}},"gcm_credential":{"type":"TypeList","computed":true,"elem":{"schema":{"api_key":{"type":"TypeString","computed":true}}}},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"namespace_name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_notification_hub_namespace":{"schema":{"enabled":{"type":"TypeBool","computed":true},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"namespace_type":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true},"servicebus_endpoint":{"type":"TypeString","computed":true},"sku":{"type":"TypeList","computed":true,"elem":{"schema":{"name":{"type":"TypeString","computed":true}}}},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_oracle_cloud_vm_cluster":{"schema":{"backup_subnet_cidr":{"type":"TypeString","computed":true},"cloud_exadata_infrastructure_id":{"type":"TypeString","computed":true},"cluster_name":{"type":"TypeString","computed":true},"compartment_id":{"type":"TypeString","computed":true},"compute_nodes":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"cpu_core_count":{"type":"TypeInt","computed":true},"data_collection_options":{"type":"TypeList","computed":true,"elem":{"schema":{"diagnostics_events_enabled":{"type":"TypeBool","computed":true},"health_monitoring_enabled":{"type":"TypeBool","computed":true},"incident_logs_enabled":{"type":"TypeBool","computed":true}}}},"data_storage_percentage":{"type":"TypeInt","computed":true},"data_storage_size_in_tbs":{"type":"TypeFloat","computed":true},"db_node_storage_size_in_gbs":{"type":"TypeInt","computed":true},"db_servers":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"disk_redundancy":{"type":"TypeString","computed":true},"display_name":{"type":"TypeString","computed":true},"domain":{"type":"TypeString","computed":true},"gi_version":{"type":"TypeString","computed":true},"hostname":{"type":"TypeString","computed":true},"hostname_actual":{"type":"TypeString","computed":true},"iorm_config_cache":{"type":"TypeList","computed":true,"elem":{"schema":{"db_plans":{"type":"TypeList","computed":true,"elem":{"schema":{"db_name":{"type":"TypeString","computed":true},"flash_cache_limit":{"type":"TypeString","computed":true},"share":{"type":"TypeInt","computed":true}}}},"lifecycle_details":{"type":"TypeString","computed":true},"lifecycle_state":{"type":"TypeString","computed":true},"objective":{"type":"TypeString","computed":true}}}},"last_update_history_entry_id":{"type":"TypeString","computed":true},"license_model":{"type":"TypeString","computed":true},"lifecycle_details":{"type":"TypeString","computed":true},"lifecycle_state":{"type":"TypeString","computed":true},"listener_port":{"type":"TypeInt","computed":true},"local_backup_enabled":{"type":"TypeBool","computed":true},"location":{"type":"TypeString","computed":true},"memory_size_in_gbs":{"type":"TypeInt","computed":true},"name":{"type":"TypeString","required":true},"node_count":{"type":"TypeInt","computed":true},"nsg_url":{"type":"TypeString","computed":true},"oci_url":{"type":"TypeString","computed":true},"ocid":{"type":"TypeString","computed":true},"ocpu_count":{"type":"TypeFloat","computed":true},"resource_group_name":{"type":"TypeString","required":true},"scan_dns_name":{"type":"TypeString","computed":true},"scan_dns_record_id":{"type":"TypeString","computed":true},"scan_ip_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"scan_listener_port_tcp":{"type":"TypeInt","computed":true},"scan_listener_port_tcp_ssl":{"type":"TypeInt","computed":true},"shape":{"type":"TypeString","computed":true},"sparse_diskgroup_enabled":{"type":"TypeBool","computed":true},"ssh_public_keys":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"storage_size_in_gbs":{"type":"TypeInt","computed":true},"subnet_id":{"type":"TypeString","computed":true},"subnet_ocid":{"type":"TypeString","computed":true},"system_version":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"time_created":{"type":"TypeString","computed":true},"time_zone":{"type":"TypeString","computed":true},"vip_ods":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"virtual_network_id":{"type":"TypeString","computed":true},"zone_id":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_oracle_db_servers":{"schema":{"cloud_exadata_infrastructure_name":{"type":"TypeString","required":true},"db_servers":{"type":"TypeList","computed":true,"elem":{"schema":{"autonomous_virtual_machine_ds":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"autonomous_vm_cluster_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"compartment_id":{"type":"TypeString","computed":true},"cpu_core_count":{"type":"TypeInt","computed":true},"db_node_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"db_node_storage_size_in_gbs":{"type":"TypeInt","computed":true},"display_name":{"type":"TypeString","computed":true},"exadata_infrastructure_id":{"type":"TypeString","computed":true},"lifecycle_details":{"type":"TypeString","computed":true},"lifecycle_state":{"type":"TypeString","computed":true},"max_cpu_count":{"type":"TypeInt","computed":true},"max_db_node_storage_in_gbs":{"type":"TypeInt","computed":true},"max_memory_in_gbs":{"type":"TypeInt","computed":true},"memory_size_in_gbs":{"type":"TypeInt","computed":true},"ocid":{"type":"TypeString","computed":true},"provisioning_state":{"type":"TypeString","computed":true},"shape":{"type":"TypeString","computed":true},"time_created":{"type":"TypeString","computed":true},"vm_cluster_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}}},"resource_group_name":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_oracle_exadata_infrastructure":{"schema":{"activated_storage_count":{"type":"TypeInt","computed":true},"additional_storage_count":{"type":"TypeInt","computed":true},"available_storage_size_in_gbs":{"type":"TypeInt","computed":true},"compute_count":{"type":"TypeInt","computed":true},"cpu_count":{"type":"TypeInt","computed":true},"customer_contacts":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"data_storage_size_in_tbs":{"type":"TypeFloat","computed":true},"db_node_storage_size_in_gbs":{"type":"TypeInt","computed":true},"db_server_version":{"type":"TypeString","computed":true},"display_name":{"type":"TypeString","computed":true},"estimated_patching_time":{"type":"TypeList","computed":true,"elem":{"schema":{"estimated_db_server_patching_time":{"type":"TypeInt","computed":true},"estimated_network_switches_patching_time":{"type":"TypeInt","computed":true},"estimated_storage_server_patching_time":{"type":"TypeInt","computed":true},"total_estimated_patching_time":{"type":"TypeInt","computed":true}}}},"last_maintenance_run_id":{"type":"TypeString","computed":true},"lifecycle_details":{"type":"TypeString","computed":true},"lifecycle_state":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"maintenance_window":{"type":"TypeList","computed":true,"elem":{"schema":{"custom_action_timeout_enabled":{"type":"TypeBool","computed":true},"custom_action_timeout_in_mins":{"type":"TypeInt","computed":true},"days_of_week":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"hours_of_day":{"type":"TypeList","computed":true,"elem":{"type":"TypeInt"}},"lead_time_in_weeks":{"type":"TypeInt","computed":true},"monthly_patching_enabled":{"type":"TypeBool","computed":true},"months":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"patching_mode":{"type":"TypeString","computed":true},"preference":{"type":"TypeString","computed":true},"weeks_of_month":{"type":"TypeList","computed":true,"elem":{"type":"TypeInt"}}}}},"max_cpu_count":{"type":"TypeInt","computed":true},"max_data_storage_in_tbs":{"type":"TypeFloat","computed":true},"max_db_node_storage_size_in_gbs":{"type":"TypeInt","computed":true},"max_memory_in_gbs":{"type":"TypeInt","computed":true},"memory_size_in_gbs":{"type":"TypeInt","computed":true},"monthly_db_server_version":{"type":"TypeString","computed":true},"monthly_storage_server_version":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"next_maintenance_run_id":{"type":"TypeString","computed":true},"oci_url":{"type":"TypeString","computed":true},"ocid":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true},"shape":{"type":"TypeString","computed":true},"storage_count":{"type":"TypeInt","computed":true},"storage_server_version":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"time_created":{"type":"TypeString","computed":true},"total_storage_size_in_gbs":{"type":"TypeInt","computed":true},"zones":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_orchestrated_virtual_machine_scale_set":{"schema":{"identity":{"type":"TypeList","computed":true,"elem":{"schema":{"identity_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"network_interface":{"type":"TypeList","computed":true,"elem":{"schema":{"accelerated_networking_enabled":{"type":"TypeBool","computed":true},"dns_servers":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"ip_configuration":{"type":"TypeList","computed":true,"elem":{"schema":{"application_gateway_backend_address_pool_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"application_security_group_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"load_balancer_backend_address_pool_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"load_balancer_inbound_nat_rules_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","computed":true},"primary":{"type":"TypeBool","computed":true},"public_ip_address":{"type":"TypeList","computed":true,"elem":{"schema":{"domain_name_label":{"type":"TypeString","computed":true},"idle_timeout_in_minutes":{"type":"TypeInt","computed":true},"ip_tag":{"type":"TypeList","computed":true,"elem":{"schema":{"tag":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"name":{"type":"TypeString","computed":true},"public_ip_prefix_id":{"type":"TypeString","computed":true},"version":{"type":"TypeString","computed":true}}}},"subnet_id":{"type":"TypeString","computed":true},"version":{"type":"TypeString","computed":true}}}},"ip_forwarding_enabled":{"type":"TypeBool","computed":true},"name":{"type":"TypeString","computed":true},"network_security_group_id":{"type":"TypeString","computed":true},"primary":{"type":"TypeBool","computed":true}}}},"resource_group_name":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_palo_alto_local_rulestack":{"schema":{"anti_spyware_profile":{"type":"TypeString","computed":true},"anti_virus_profile":{"type":"TypeString","computed":true},"description":{"type":"TypeString","computed":true},"dns_subscription":{"type":"TypeString","computed":true},"file_blocking_profile":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"outbound_trust_certificate":{"type":"TypeString","computed":true},"outbound_untrust_certificate":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true},"url_filtering_profile":{"type":"TypeString","computed":true},"vulnerability_profile":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_platform_image":{"schema":{"location":{"type":"TypeString","required":true,"forceNew":true},"offer":{"type":"TypeString","required":true},"publisher":{"type":"TypeString","required":true},"sku":{"type":"TypeString","required":true},"version":{"type":"TypeString","optional":true,"computed":true}},"timeouts":{"read":5}},"azurerm_policy_assignment":{"schema":{"description":{"type":"TypeString","computed":true},"display_name":{"type":"TypeString","computed":true},"enforce":{"type":"TypeBool","computed":true},"identity":{"type":"TypeList","computed":true,"elem":{"schema":{"identity_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"location":{"type":"TypeString","computed":true},"metadata":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true,"forceNew":true},"non_compliance_message":{"type":"TypeList","computed":true,"elem":{"schema":{"content":{"type":"TypeString","computed":true},"policy_definition_reference_id":{"type":"TypeString","computed":true}}}},"not_scopes":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"parameters":{"type":"TypeString","computed":true},"policy_definition_id":{"type":"TypeString","computed":true},"scope_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"read":5}},"azurerm_policy_definition":{"schema":{"description":{"type":"TypeString","computed":true},"display_name":{"type":"TypeString","optional":true,"computed":true},"management_group_name":{"type":"TypeString","optional":true},"metadata":{"type":"TypeString","computed":true},"mode":{"type":"TypeString","computed":true},"name":{"type":"TypeString","optional":true,"computed":true},"parameters":{"type":"TypeString","computed":true},"policy_rule":{"type":"TypeString","computed":true},"policy_type":{"type":"TypeString","computed":true},"role_definition_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"type":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_policy_definition_built_in":{"schema":{"description":{"type":"TypeString","computed":true},"display_name":{"type":"TypeString","optional":true,"computed":true},"management_group_name":{"type":"TypeString","optional":true},"metadata":{"type":"TypeString","computed":true},"mode":{"type":"TypeString","computed":true},"name":{"type":"TypeString","optional":true,"computed":true},"parameters":{"type":"TypeString","computed":true},"policy_rule":{"type":"TypeString","computed":true},"policy_type":{"type":"TypeString","computed":true},"role_definition_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"type":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_policy_set_definition":{"schema":{"description":{"type":"TypeString","computed":true},"display_name":{"type":"TypeString","optional":true,"computed":true},"management_group_name":{"type":"TypeString","optional":true},"metadata":{"type":"TypeString","computed":true},"name":{"type":"TypeString","optional":true,"computed":true},"parameters":{"type":"TypeString","computed":true},"policy_definition_group":{"type":"TypeList","computed":true,"elem":{"schema":{"additional_metadata_resource_id":{"type":"TypeString","computed":true},"category":{"type":"TypeString","computed":true},"description":{"type":"TypeString","computed":true},"display_name":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true}}}},"policy_definition_reference":{"type":"TypeList","computed":true,"elem":{"schema":{"parameter_values":{"type":"TypeString","computed":true},"parameters":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"policy_definition_id":{"type":"TypeString","computed":true},"policy_group_names":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"reference_id":{"type":"TypeString","computed":true}}}},"policy_definitions":{"type":"TypeString","computed":true},"policy_type":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_policy_virtual_machine_configuration_assignment":{"schema":{"assignment_hash":{"type":"TypeString","computed":true},"compliance_status":{"type":"TypeString","computed":true},"content_hash":{"type":"TypeString","computed":true},"content_uri":{"type":"TypeString","computed":true},"last_compliance_status_checked":{"type":"TypeString","computed":true},"latest_report_id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"virtual_machine_name":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_portal_dashboard":{"schema":{"dashboard_properties":{"type":"TypeString","optional":true,"computed":true},"display_name":{"type":"TypeString","optional":true},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","optional":true},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_postgresql_flexible_server":{"schema":{"administrator_login":{"type":"TypeString","computed":true},"auto_grow_enabled":{"type":"TypeBool","computed":true},"backup_retention_days":{"type":"TypeInt","computed":true},"delegated_subnet_id":{"type":"TypeString","computed":true},"fqdn":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"public_network_access_enabled":{"type":"TypeBool","computed":true},"resource_group_name":{"type":"TypeString","required":true},"sku_name":{"type":"TypeString","computed":true},"storage_mb":{"type":"TypeInt","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"version":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_postgresql_server":{"schema":{"administrator_login":{"type":"TypeString","computed":true},"fqdn":{"type":"TypeString","computed":true},"identity":{"type":"TypeList","computed":true,"elem":{"schema":{"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"sku_name":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"version":{"type":"TypeString","computed":true}},"timeouts":{"read":10}},"azurerm_private_dns_a_record":{"schema":{"fqdn":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"records":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"ttl":{"type":"TypeInt","computed":true},"zone_name":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_private_dns_aaaa_record":{"schema":{"fqdn":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"records":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"ttl":{"type":"TypeInt","computed":true},"zone_name":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_private_dns_cname_record":{"schema":{"fqdn":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"record":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"target_resource_id":{"type":"TypeString","computed":true},"ttl":{"type":"TypeInt","computed":true},"zone_name":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_private_dns_mx_record":{"schema":{"fqdn":{"type":"TypeString","computed":true},"name":{"type":"TypeString","optional":true},"record":{"type":"TypeSet","computed":true,"elem":{"schema":{"exchange":{"type":"TypeString","computed":true},"preference":{"type":"TypeInt","computed":true}}}},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"ttl":{"type":"TypeInt","computed":true},"zone_name":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_private_dns_ptr_record":{"schema":{"fqdn":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"records":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"ttl":{"type":"TypeInt","computed":true},"zone_name":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_private_dns_resolver":{"schema":{"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"virtual_network_id":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_private_dns_resolver_dns_forwarding_ruleset":{"schema":{"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"private_dns_resolver_outbound_endpoint_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_private_dns_resolver_forwarding_rule":{"schema":{"dns_forwarding_ruleset_id":{"type":"TypeString","required":true},"domain_name":{"type":"TypeString","computed":true},"enabled":{"type":"TypeBool","computed":true},"metadata":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true},"target_dns_servers":{"type":"TypeList","computed":true,"elem":{"schema":{"ip_address":{"type":"TypeString","computed":true},"port":{"type":"TypeInt","computed":true}}}}},"timeouts":{"read":5}},"azurerm_private_dns_resolver_inbound_endpoint":{"schema":{"ip_configurations":{"type":"TypeList","computed":true,"elem":{"schema":{"private_ip_address":{"type":"TypeString","computed":true},"private_ip_allocation_method":{"type":"TypeString","computed":true},"subnet_id":{"type":"TypeString","computed":true}}}},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"private_dns_resolver_id":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_private_dns_resolver_outbound_endpoint":{"schema":{"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"private_dns_resolver_id":{"type":"TypeString","required":true},"subnet_id":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_private_dns_resolver_virtual_network_link":{"schema":{"dns_forwarding_ruleset_id":{"type":"TypeString","required":true},"metadata":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true},"virtual_network_id":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_private_dns_soa_record":{"schema":{"email":{"type":"TypeString","computed":true},"expire_time":{"type":"TypeInt","computed":true},"fqdn":{"type":"TypeString","computed":true},"host_name":{"type":"TypeString","computed":true},"minimum_ttl":{"type":"TypeInt","computed":true},"name":{"type":"TypeString","optional":true,"default":"@"},"refresh_time":{"type":"TypeInt","computed":true},"resource_group_name":{"type":"TypeString","required":true},"retry_time":{"type":"TypeInt","computed":true},"serial_number":{"type":"TypeInt","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"ttl":{"type":"TypeInt","computed":true},"zone_name":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_private_dns_srv_record":{"schema":{"fqdn":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"record":{"type":"TypeSet","computed":true,"elem":{"schema":{"port":{"type":"TypeInt","computed":true},"priority":{"type":"TypeInt","computed":true},"target":{"type":"TypeString","computed":true},"weight":{"type":"TypeInt","computed":true}}}},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"ttl":{"type":"TypeInt","computed":true},"zone_name":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_private_dns_txt_record":{"schema":{"fqdn":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"record":{"type":"TypeSet","computed":true,"elem":{"schema":{"value":{"type":"TypeString","computed":true}}}},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"ttl":{"type":"TypeInt","computed":true},"zone_name":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_private_dns_zone":{"schema":{"max_number_of_record_sets":{"type":"TypeInt","computed":true},"max_number_of_virtual_network_links":{"type":"TypeInt","computed":true},"max_number_of_virtual_network_links_with_registration":{"type":"TypeInt","computed":true},"name":{"type":"TypeString","required":true},"number_of_record_sets":{"type":"TypeInt","computed":true},"resource_group_name":{"type":"TypeString","optional":true,"computed":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_private_dns_zone_virtual_network_link":{"schema":{"name":{"type":"TypeString","required":true},"private_dns_zone_name":{"type":"TypeString","required":true},"registration_enabled":{"type":"TypeBool","computed":true},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"virtual_network_id":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_private_endpoint_connection":{"schema":{"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"network_interface":{"type":"TypeList","computed":true,"elem":{"schema":{"id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true}}}},"private_service_connection":{"type":"TypeList","computed":true,"elem":{"schema":{"name":{"type":"TypeString","computed":true},"private_ip_address":{"type":"TypeString","computed":true},"request_response":{"type":"TypeString","computed":true},"status":{"type":"TypeString","computed":true}}}},"resource_group_name":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_private_link_service":{"schema":{"alias":{"type":"TypeString","computed":true},"auto_approval_subscription_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"enable_proxy_protocol":{"type":"TypeBool","computed":true},"load_balancer_frontend_ip_configuration_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"nat_ip_configuration":{"type":"TypeList","computed":true,"elem":{"schema":{"name":{"type":"TypeString","computed":true},"primary":{"type":"TypeBool","computed":true},"private_ip_address":{"type":"TypeString","computed":true},"private_ip_address_version":{"type":"TypeString","computed":true},"subnet_id":{"type":"TypeString","computed":true}}}},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"visibility_subscription_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_private_link_service_endpoint_connections":{"schema":{"location":{"type":"TypeString","computed":true},"private_endpoint_connections":{"type":"TypeList","computed":true,"elem":{"schema":{"action_required":{"type":"TypeString","computed":true},"connection_id":{"type":"TypeString","computed":true},"connection_name":{"type":"TypeString","computed":true},"description":{"type":"TypeString","computed":true},"private_endpoint_id":{"type":"TypeString","computed":true},"private_endpoint_name":{"type":"TypeString","computed":true},"status":{"type":"TypeString","computed":true}}}},"resource_group_name":{"type":"TypeString","required":true},"service_id":{"type":"TypeString","required":true},"service_name":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_proximity_placement_group":{"schema":{"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_public_ip":{"schema":{"allocation_method":{"type":"TypeString","computed":true},"ddos_protection_mode":{"type":"TypeString","computed":true},"ddos_protection_plan_id":{"type":"TypeString","computed":true},"domain_name_label":{"type":"TypeString","computed":true},"fqdn":{"type":"TypeString","computed":true},"idle_timeout_in_minutes":{"type":"TypeInt","computed":true},"ip_address":{"type":"TypeString","computed":true},"ip_tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"ip_version":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"reverse_fqdn":{"type":"TypeString","computed":true},"sku":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"zones":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_public_ip_prefix":{"schema":{"ip_prefix":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"prefix_length":{"type":"TypeInt","computed":true},"resource_group_name":{"type":"TypeString","required":true},"sku":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"zones":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_public_ips":{"schema":{"allocation_type":{"type":"TypeString","optional":true},"attachment_status":{"type":"TypeString","optional":true},"name_prefix":{"type":"TypeString","optional":true},"public_ips":{"type":"TypeList","computed":true,"elem":{"schema":{"domain_name_label":{"type":"TypeString","computed":true},"fqdn":{"type":"TypeString","computed":true},"id":{"type":"TypeString","computed":true},"ip_address":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true}}}},"resource_group_name":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_public_maintenance_configurations":{"schema":{"configs":{"type":"TypeList","computed":true,"elem":{"schema":{"description":{"type":"TypeString","computed":true},"duration":{"type":"TypeString","computed":true},"id":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"maintenance_scope":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"recur_every":{"type":"TypeString","computed":true},"time_zone":{"type":"TypeString","computed":true}}}},"location":{"type":"TypeString","optional":true},"recur_every":{"type":"TypeString","optional":true},"scope":{"type":"TypeString","optional":true}},"timeouts":{"read":5}},"azurerm_recovery_services_vault":{"schema":{"identity":{"type":"TypeList","computed":true,"elem":{"schema":{"identity_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"sku":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_redis_cache":{"schema":{"access_keys_authentication_enabled":{"type":"TypeBool","computed":true},"capacity":{"type":"TypeInt","computed":true},"family":{"type":"TypeString","computed":true},"hostname":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"minimum_tls_version":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"non_ssl_port_enabled":{"type":"TypeBool","computed":true},"patch_schedule":{"type":"TypeList","computed":true,"elem":{"schema":{"day_of_week":{"type":"TypeString","computed":true},"maintenance_window":{"type":"TypeString","computed":true},"start_hour_utc":{"type":"TypeInt","computed":true}}}},"port":{"type":"TypeInt","computed":true},"primary_access_key":{"type":"TypeString","computed":true},"primary_connection_string":{"type":"TypeString","computed":true},"private_static_ip_address":{"type":"TypeString","computed":true},"redis_configuration":{"type":"TypeList","computed":true,"elem":{"schema":{"active_directory_authentication_enabled":{"type":"TypeBool","computed":true},"aof_backup_enabled":{"type":"TypeBool","computed":true},"aof_storage_connection_string_0":{"type":"TypeString","computed":true},"aof_storage_connection_string_1":{"type":"TypeString","computed":true},"authentication_enabled":{"type":"TypeBool","computed":true},"data_persistence_authentication_method":{"type":"TypeString","computed":true},"maxclients":{"type":"TypeInt","computed":true},"maxfragmentationmemory_reserved":{"type":"TypeInt","computed":true},"maxmemory_delta":{"type":"TypeInt","computed":true},"maxmemory_policy":{"type":"TypeString","computed":true},"maxmemory_reserved":{"type":"TypeInt","computed":true},"notify_keyspace_events":{"type":"TypeString","computed":true},"rdb_backup_enabled":{"type":"TypeBool","computed":true},"rdb_backup_frequency":{"type":"TypeInt","computed":true},"rdb_backup_max_snapshot_count":{"type":"TypeInt","computed":true},"rdb_storage_connection_string":{"type":"TypeString","computed":true},"storage_account_subscription_id":{"type":"TypeString","computed":true}}}},"resource_group_name":{"type":"TypeString","required":true},"secondary_access_key":{"type":"TypeString","computed":true},"secondary_connection_string":{"type":"TypeString","computed":true},"shard_count":{"type":"TypeInt","computed":true},"sku_name":{"type":"TypeString","computed":true},"ssl_port":{"type":"TypeInt","computed":true},"subnet_id":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"zones":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_redis_enterprise_database":{"schema":{"cluster_id":{"type":"TypeString","required":true},"linked_database_group_nickname":{"type":"TypeString","computed":true},"linked_database_id":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true},"primary_access_key":{"type":"TypeString","computed":true},"secondary_access_key":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_resource_group":{"schema":{"location":{"type":"TypeString","computed":true},"managed_by":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_resource_group_template_deployment":{"schema":{"name":{"type":"TypeString","required":true},"output_content":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_resources":{"schema":{"name":{"type":"TypeString","optional":true,"computed":true},"required_tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"resource_group_name":{"type":"TypeString","optional":true,"computed":true},"resources":{"type":"TypeList","computed":true,"elem":{"schema":{"id":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"type":{"type":"TypeString","computed":true}}}},"type":{"type":"TypeString","optional":true,"computed":true}},"timeouts":{"read":5}},"azurerm_role_definition":{"schema":{"assignable_scopes":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"description":{"type":"TypeString","computed":true},"name":{"type":"TypeString","optional":true,"computed":true},"permissions":{"type":"TypeList","computed":true,"elem":{"schema":{"actions":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"condition":{"type":"TypeString","computed":true},"condition_version":{"type":"TypeString","computed":true},"data_actions":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"not_actions":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"not_data_actions":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}}}}},"role_definition_id":{"type":"TypeString","optional":true,"computed":true},"scope":{"type":"TypeString","optional":true},"type":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_role_management_policy":{"schema":{"activation_rules":{"type":"TypeList","description":"The activation rules of the policy","computed":true,"elem":{"schema":{"approval_stage":{"type":"TypeList","description":"The approval stages for the activation","computed":true,"elem":{"schema":{"primary_approver":{"type":"TypeSet","description":"The IDs of the users or groups who can approve the activation","computed":true,"elem":{"schema":{"object_id":{"type":"TypeString","description":"The ID of the object to act as an approver","computed":true},"type":{"type":"TypeString","description":"The type of object acting as an approver","computed":true}}}}}}},"maximum_duration":{"type":"TypeString","description":"The time after which the an activation can be valid for","computed":true},"require_approval":{"type":"TypeBool","description":"Whether an approval is required for activation","computed":true},"require_justification":{"type":"TypeBool","description":"Whether a justification is required during activation","computed":true},"require_multifactor_authentication":{"type":"TypeBool","description":"Whether multi-factor authentication is required during activation","computed":true},"require_ticket_info":{"type":"TypeBool","description":"Whether ticket information is required during activation","computed":true},"required_conditional_access_authentication_context":{"type":"TypeString","description":"Whether a conditional access context is required during activation","computed":true}}}},"active_assignment_rules":{"type":"TypeList","description":"The rules for active assignment of the policy","computed":true,"elem":{"schema":{"expiration_required":{"type":"TypeBool","description":"Must the assignment have an expiry date","computed":true},"expire_after":{"type":"TypeString","description":"The duration after which assignments expire","computed":true},"require_justification":{"type":"TypeBool","description":"Whether a justification is required to make an assignment","computed":true},"require_multifactor_authentication":{"type":"TypeBool","description":"Whether multi-factor authentication is required to make an assignment","computed":true},"require_ticket_info":{"type":"TypeBool","description":"Whether ticket information is required to make an assignment","computed":true}}}},"description":{"type":"TypeString","description":"The Description of the policy","computed":true},"eligible_assignment_rules":{"type":"TypeList","description":"The rules for eligible assignment of the policy","computed":true,"elem":{"schema":{"expiration_required":{"type":"TypeBool","description":"Must the assignment have an expiry date","computed":true},"expire_after":{"type":"TypeString","description":"The duration after which assignments expire","computed":true}}}},"name":{"type":"TypeString","description":"The name of the policy","computed":true},"notification_rules":{"type":"TypeList","description":"The notification rules of the policy","computed":true,"elem":{"schema":{"active_assignments":{"type":"TypeList","description":"Notifications about active assignments","computed":true,"elem":{"schema":{"admin_notifications":{"type":"TypeList","description":"Admin notification settings","computed":true,"elem":{"schema":{"additional_recipients":{"type":"TypeSet","description":"The additional recipients to notify","computed":true,"elem":{"type":"TypeString"}},"default_recipients":{"type":"TypeBool","description":"Whether the default recipients are notified","computed":true},"notification_level":{"type":"TypeString","description":"What level of notifications are sent","computed":true}}}},"approver_notifications":{"type":"TypeList","description":"Approver notification settings","computed":true,"elem":{"schema":{"additional_recipients":{"type":"TypeSet","description":"The additional recipients to notify","computed":true,"elem":{"type":"TypeString"}},"default_recipients":{"type":"TypeBool","description":"Whether the default recipients are notified","computed":true},"notification_level":{"type":"TypeString","description":"What level of notifications are sent","computed":true}}}},"assignee_notifications":{"type":"TypeList","description":"Assignee notification settings","computed":true,"elem":{"schema":{"additional_recipients":{"type":"TypeSet","description":"The additional recipients to notify","computed":true,"elem":{"type":"TypeString"}},"default_recipients":{"type":"TypeBool","description":"Whether the default recipients are notified","computed":true},"notification_level":{"type":"TypeString","description":"What level of notifications are sent","computed":true}}}}}}},"eligible_activations":{"type":"TypeList","description":"Notifications about activations of eligible assignments","computed":true,"elem":{"schema":{"admin_notifications":{"type":"TypeList","description":"Admin notification settings","computed":true,"elem":{"schema":{"additional_recipients":{"type":"TypeSet","description":"The additional recipients to notify","computed":true,"elem":{"type":"TypeString"}},"default_recipients":{"type":"TypeBool","description":"Whether the default recipients are notified","computed":true},"notification_level":{"type":"TypeString","description":"What level of notifications are sent","computed":true}}}},"approver_notifications":{"type":"TypeList","description":"Approver notification settings","computed":true,"elem":{"schema":{"additional_recipients":{"type":"TypeSet","description":"The additional recipients to notify","computed":true,"elem":{"type":"TypeString"}},"default_recipients":{"type":"TypeBool","description":"Whether the default recipients are notified","computed":true},"notification_level":{"type":"TypeString","description":"What level of notifications are sent","computed":true}}}},"assignee_notifications":{"type":"TypeList","description":"Assignee notification settings","computed":true,"elem":{"schema":{"additional_recipients":{"type":"TypeSet","description":"The additional recipients to notify","computed":true,"elem":{"type":"TypeString"}},"default_recipients":{"type":"TypeBool","description":"Whether the default recipients are notified","computed":true},"notification_level":{"type":"TypeString","description":"What level of notifications are sent","computed":true}}}}}}},"eligible_assignments":{"type":"TypeList","description":"Notifications about eligible assignments","computed":true,"elem":{"schema":{"admin_notifications":{"type":"TypeList","description":"Admin notification settings","computed":true,"elem":{"schema":{"additional_recipients":{"type":"TypeSet","description":"The additional recipients to notify","computed":true,"elem":{"type":"TypeString"}},"default_recipients":{"type":"TypeBool","description":"Whether the default recipients are notified","computed":true},"notification_level":{"type":"TypeString","description":"What level of notifications are sent","computed":true}}}},"approver_notifications":{"type":"TypeList","description":"Approver notification settings","computed":true,"elem":{"schema":{"additional_recipients":{"type":"TypeSet","description":"The additional recipients to notify","computed":true,"elem":{"type":"TypeString"}},"default_recipients":{"type":"TypeBool","description":"Whether the default recipients are notified","computed":true},"notification_level":{"type":"TypeString","description":"What level of notifications are sent","computed":true}}}},"assignee_notifications":{"type":"TypeList","description":"Assignee notification settings","computed":true,"elem":{"schema":{"additional_recipients":{"type":"TypeSet","description":"The additional recipients to notify","computed":true,"elem":{"type":"TypeString"}},"default_recipients":{"type":"TypeBool","description":"Whether the default recipients are notified","computed":true},"notification_level":{"type":"TypeString","description":"What level of notifications are sent","computed":true}}}}}}}}}},"role_definition_id":{"type":"TypeString","required":true,"description":"ID of the Azure Role to which this policy is assigned"},"scope":{"type":"TypeString","required":true,"description":"The scope of the role to which this policy will apply"}},"timeouts":{"read":5}},"azurerm_route_filter":{"schema":{"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"rule":{"type":"TypeList","computed":true,"elem":{"schema":{"access":{"type":"TypeString","computed":true},"communities":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","computed":true},"rule_type":{"type":"TypeString","computed":true}}}},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_route_table":{"schema":{"bgp_route_propagation_enabled":{"type":"TypeBool","computed":true},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"route":{"type":"TypeList","computed":true,"elem":{"schema":{"address_prefix":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"next_hop_in_ip_address":{"type":"TypeString","computed":true},"next_hop_type":{"type":"TypeString","computed":true}}}},"subnets":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_search_service":{"schema":{"identity":{"type":"TypeList","computed":true,"elem":{"schema":{"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"name":{"type":"TypeString","required":true},"partition_count":{"type":"TypeInt","computed":true},"primary_key":{"type":"TypeString","computed":true},"public_network_access_enabled":{"type":"TypeBool","computed":true},"query_keys":{"type":"TypeList","computed":true,"elem":{"schema":{"key":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true}}}},"replica_count":{"type":"TypeInt","computed":true},"resource_group_name":{"type":"TypeString","required":true},"secondary_key":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_sentinel_alert_rule":{"schema":{"log_analytics_workspace_id":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_sentinel_alert_rule_anomaly":{"schema":{"anomaly_settings_version":{"type":"TypeInt","computed":true},"anomaly_version":{"type":"TypeString","computed":true},"description":{"type":"TypeString","computed":true},"display_name":{"type":"TypeString","optional":true,"computed":true},"enabled":{"type":"TypeBool","computed":true},"frequency":{"type":"TypeString","computed":true},"log_analytics_workspace_id":{"type":"TypeString","required":true},"mode":{"type":"TypeString","computed":true},"multi_select_observation":{"type":"TypeList","computed":true,"elem":{"schema":{"description":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"supported_values":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"values":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}}},"name":{"type":"TypeString","optional":true,"computed":true},"prioritized_exclude_observation":{"type":"TypeList","computed":true,"elem":{"schema":{"description":{"type":"TypeString","computed":true},"exclude":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"prioritize":{"type":"TypeString","computed":true}}}},"required_data_connector":{"type":"TypeList","computed":true,"elem":{"schema":{"connector_id":{"type":"TypeString","computed":true},"data_types":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}}},"settings_definition_id":{"type":"TypeString","computed":true},"single_select_observation":{"type":"TypeList","computed":true,"elem":{"schema":{"description":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"supported_values":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"value":{"type":"TypeString","computed":true}}}},"tactics":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"techniques":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"threshold_observation":{"type":"TypeList","computed":true,"elem":{"schema":{"description":{"type":"TypeString","computed":true},"max":{"type":"TypeString","computed":true},"min":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"value":{"type":"TypeString","computed":true}}}}},"timeouts":{"read":5}},"azurerm_sentinel_alert_rule_template":{"schema":{"display_name":{"type":"TypeString","optional":true,"computed":true},"log_analytics_workspace_id":{"type":"TypeString","required":true},"name":{"type":"TypeString","optional":true,"computed":true},"nrt_template":{"type":"TypeList","computed":true,"elem":{"schema":{"description":{"type":"TypeString","computed":true},"query":{"type":"TypeString","computed":true},"severity":{"type":"TypeString","computed":true},"tactics":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}}},"scheduled_template":{"type":"TypeList","computed":true,"elem":{"schema":{"description":{"type":"TypeString","computed":true},"query":{"type":"TypeString","computed":true},"query_frequency":{"type":"TypeString","computed":true},"query_period":{"type":"TypeString","computed":true},"severity":{"type":"TypeString","computed":true},"tactics":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"trigger_operator":{"type":"TypeString","computed":true},"trigger_threshold":{"type":"TypeInt","computed":true}}}},"security_incident_template":{"type":"TypeList","computed":true,"elem":{"schema":{"description":{"type":"TypeString","computed":true},"product_filter":{"type":"TypeString","computed":true}}}}},"timeouts":{"read":5}},"azurerm_service_plan":{"schema":{"app_service_environment_id":{"type":"TypeString","computed":true},"kind":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"maximum_elastic_worker_count":{"type":"TypeInt","computed":true},"name":{"type":"TypeString","required":true},"os_type":{"type":"TypeString","computed":true},"per_site_scaling_enabled":{"type":"TypeBool","computed":true},"reserved":{"type":"TypeBool","computed":true},"resource_group_name":{"type":"TypeString","required":true},"sku_name":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"worker_count":{"type":"TypeInt","computed":true},"zone_balancing_enabled":{"type":"TypeBool","computed":true}},"timeouts":{"read":5}},"azurerm_servicebus_namespace":{"schema":{"capacity":{"type":"TypeInt","computed":true},"default_primary_connection_string":{"type":"TypeString","computed":true},"default_primary_key":{"type":"TypeString","computed":true},"default_secondary_connection_string":{"type":"TypeString","computed":true},"default_secondary_key":{"type":"TypeString","computed":true},"endpoint":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"premium_messaging_partitions":{"type":"TypeInt","computed":true},"resource_group_name":{"type":"TypeString","required":true},"sku":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_servicebus_namespace_authorization_rule":{"schema":{"name":{"type":"TypeString","required":true},"namespace_id":{"type":"TypeString","optional":true},"namespace_name":{"type":"TypeString","optional":true},"primary_connection_string":{"type":"TypeString","computed":true},"primary_connection_string_alias":{"type":"TypeString","computed":true},"primary_key":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","optional":true},"secondary_connection_string":{"type":"TypeString","computed":true},"secondary_connection_string_alias":{"type":"TypeString","computed":true},"secondary_key":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_servicebus_namespace_disaster_recovery_config":{"schema":{"alias_authorization_rule_id":{"type":"TypeString","optional":true},"default_primary_key":{"type":"TypeString","computed":true},"default_secondary_key":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"namespace_id":{"type":"TypeString","optional":true},"namespace_name":{"type":"TypeString","optional":true},"partner_namespace_id":{"type":"TypeString","computed":true},"primary_connection_string_alias":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","optional":true},"secondary_connection_string_alias":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_servicebus_queue":{"schema":{"auto_delete_on_idle":{"type":"TypeString","computed":true},"dead_lettering_on_message_expiration":{"type":"TypeBool","computed":true},"default_message_ttl":{"type":"TypeString","computed":true},"duplicate_detection_history_time_window":{"type":"TypeString","computed":true},"enable_batched_operations":{"type":"TypeBool","computed":true},"enable_express":{"type":"TypeBool","computed":true},"enable_partitioning":{"type":"TypeBool","computed":true},"forward_dead_lettered_messages_to":{"type":"TypeString","computed":true},"forward_to":{"type":"TypeString","computed":true},"lock_duration":{"type":"TypeString","computed":true},"max_delivery_count":{"type":"TypeInt","computed":true},"max_size_in_megabytes":{"type":"TypeInt","computed":true},"name":{"type":"TypeString","required":true},"namespace_id":{"type":"TypeString","optional":true},"namespace_name":{"type":"TypeString","optional":true},"requires_duplicate_detection":{"type":"TypeBool","computed":true},"requires_session":{"type":"TypeBool","computed":true},"resource_group_name":{"type":"TypeString","optional":true},"status":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_servicebus_queue_authorization_rule":{"schema":{"listen":{"type":"TypeBool","computed":true},"manage":{"type":"TypeBool","computed":true},"name":{"type":"TypeString","required":true},"namespace_name":{"type":"TypeString","optional":true},"primary_connection_string":{"type":"TypeString","computed":true},"primary_connection_string_alias":{"type":"TypeString","computed":true},"primary_key":{"type":"TypeString","computed":true},"queue_id":{"type":"TypeString","optional":true},"queue_name":{"type":"TypeString","optional":true},"resource_group_name":{"type":"TypeString","optional":true},"secondary_connection_string":{"type":"TypeString","computed":true},"secondary_connection_string_alias":{"type":"TypeString","computed":true},"secondary_key":{"type":"TypeString","computed":true},"send":{"type":"TypeBool","computed":true}},"timeouts":{"read":5}},"azurerm_servicebus_subscription":{"schema":{"auto_delete_on_idle":{"type":"TypeString","computed":true},"dead_lettering_on_filter_evaluation_error":{"type":"TypeBool","computed":true},"dead_lettering_on_message_expiration":{"type":"TypeBool","computed":true},"default_message_ttl":{"type":"TypeString","computed":true},"enable_batched_operations":{"type":"TypeBool","computed":true},"forward_dead_lettered_messages_to":{"type":"TypeString","computed":true},"forward_to":{"type":"TypeString","computed":true},"lock_duration":{"type":"TypeString","computed":true},"max_delivery_count":{"type":"TypeInt","computed":true},"name":{"type":"TypeString","required":true},"namespace_name":{"type":"TypeString","optional":true},"requires_session":{"type":"TypeBool","computed":true},"resource_group_name":{"type":"TypeString","optional":true},"topic_id":{"type":"TypeString","optional":true},"topic_name":{"type":"TypeString","optional":true}},"timeouts":{"read":5}},"azurerm_servicebus_topic":{"schema":{"auto_delete_on_idle":{"type":"TypeString","computed":true},"default_message_ttl":{"type":"TypeString","computed":true},"duplicate_detection_history_time_window":{"type":"TypeString","computed":true},"enable_batched_operations":{"type":"TypeBool","computed":true},"enable_express":{"type":"TypeBool","computed":true},"enable_partitioning":{"type":"TypeBool","computed":true},"max_size_in_megabytes":{"type":"TypeInt","computed":true},"name":{"type":"TypeString","required":true},"namespace_id":{"type":"TypeString","optional":true},"namespace_name":{"type":"TypeString","optional":true},"requires_duplicate_detection":{"type":"TypeBool","computed":true},"resource_group_name":{"type":"TypeString","optional":true},"status":{"type":"TypeString","computed":true},"support_ordering":{"type":"TypeBool","computed":true}},"timeouts":{"read":5}},"azurerm_servicebus_topic_authorization_rule":{"schema":{"listen":{"type":"TypeBool","computed":true},"manage":{"type":"TypeBool","computed":true},"name":{"type":"TypeString","required":true},"namespace_name":{"type":"TypeString","optional":true},"primary_connection_string":{"type":"TypeString","computed":true},"primary_connection_string_alias":{"type":"TypeString","computed":true},"primary_key":{"type":"TypeString","computed":true},"queue_name":{"type":"TypeString","optional":true},"resource_group_name":{"type":"TypeString","optional":true},"secondary_connection_string":{"type":"TypeString","computed":true},"secondary_connection_string_alias":{"type":"TypeString","computed":true},"secondary_key":{"type":"TypeString","computed":true},"send":{"type":"TypeBool","computed":true},"topic_id":{"type":"TypeString","optional":true},"topic_name":{"type":"TypeString","optional":true}},"timeouts":{"read":5}},"azurerm_shared_image":{"schema":{"accelerated_network_support_enabled":{"type":"TypeBool","computed":true},"architecture":{"type":"TypeString","computed":true},"confidential_vm_enabled":{"type":"TypeBool","computed":true},"confidential_vm_supported":{"type":"TypeBool","computed":true},"description":{"type":"TypeString","computed":true},"eula":{"type":"TypeString","computed":true},"gallery_name":{"type":"TypeString","required":true},"hibernation_enabled":{"type":"TypeBool","computed":true},"hyper_v_generation":{"type":"TypeString","computed":true},"identifier":{"type":"TypeList","computed":true,"elem":{"schema":{"offer":{"type":"TypeString","computed":true},"publisher":{"type":"TypeString","computed":true},"sku":{"type":"TypeString","computed":true}}}},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"os_type":{"type":"TypeString","computed":true},"privacy_statement_uri":{"type":"TypeString","computed":true},"purchase_plan":{"type":"TypeList","computed":true,"elem":{"schema":{"name":{"type":"TypeString","computed":true},"product":{"type":"TypeString","computed":true},"publisher":{"type":"TypeString","computed":true}}}},"release_note_uri":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true},"specialized":{"type":"TypeBool","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"trusted_launch_enabled":{"type":"TypeBool","computed":true},"trusted_launch_supported":{"type":"TypeBool","computed":true}},"timeouts":{"read":5}},"azurerm_shared_image_gallery":{"schema":{"description":{"type":"TypeString","computed":true},"image_names":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"unique_name":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_shared_image_version":{"schema":{"exclude_from_latest":{"type":"TypeBool","computed":true},"gallery_name":{"type":"TypeString","required":true},"image_name":{"type":"TypeString","required":true},"location":{"type":"TypeString","computed":true},"managed_image_id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"os_disk_image_size_gb":{"type":"TypeInt","computed":true},"os_disk_snapshot_id":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true},"sort_versions_by_semver":{"type":"TypeBool","optional":true,"default":false},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"target_region":{"type":"TypeList","computed":true,"elem":{"schema":{"name":{"type":"TypeString","computed":true},"regional_replica_count":{"type":"TypeInt","computed":true},"storage_account_type":{"type":"TypeString","computed":true}}}}},"timeouts":{"read":5}},"azurerm_shared_image_versions":{"schema":{"gallery_name":{"type":"TypeString","required":true},"image_name":{"type":"TypeString","required":true},"images":{"type":"TypeList","computed":true,"elem":{"schema":{"exclude_from_latest":{"type":"TypeBool","computed":true},"id":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"managed_image_id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"target_region":{"type":"TypeList","computed":true,"elem":{"schema":{"name":{"type":"TypeString","computed":true},"regional_replica_count":{"type":"TypeInt","computed":true},"storage_account_type":{"type":"TypeString","computed":true}}}}}}},"resource_group_name":{"type":"TypeString","required":true},"tags_filter":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_signalr_service":{"schema":{"aad_auth_enabled":{"type":"TypeBool","computed":true},"hostname":{"type":"TypeString","computed":true},"ip_address":{"type":"TypeString","computed":true},"local_auth_enabled":{"type":"TypeBool","computed":true},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"primary_access_key":{"type":"TypeString","computed":true},"primary_connection_string":{"type":"TypeString","computed":true},"public_network_access_enabled":{"type":"TypeBool","computed":true},"public_port":{"type":"TypeInt","computed":true},"resource_group_name":{"type":"TypeString","required":true},"secondary_access_key":{"type":"TypeString","computed":true},"secondary_connection_string":{"type":"TypeString","computed":true},"server_port":{"type":"TypeInt","computed":true},"serverless_connection_timeout_in_seconds":{"type":"TypeInt","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"tls_client_cert_enabled":{"type":"TypeBool","computed":true}},"timeouts":{"read":5}},"azurerm_site_recovery_fabric":{"schema":{"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"recovery_vault_name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_site_recovery_protection_container":{"schema":{"name":{"type":"TypeString","required":true},"recovery_fabric_name":{"type":"TypeString","required":true},"recovery_vault_name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_site_recovery_replication_policy":{"schema":{"application_consistent_snapshot_frequency_in_minutes":{"type":"TypeInt","computed":true},"name":{"type":"TypeString","required":true},"recovery_point_retention_in_minutes":{"type":"TypeInt","computed":true},"recovery_vault_name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_site_recovery_replication_recovery_plan":{"schema":{"azure_to_azure_settings":{"type":"TypeList","computed":true,"elem":{"schema":{"primary_edge_zone":{"type":"TypeString","computed":true},"primary_zone":{"type":"TypeString","computed":true},"recovery_edge_zone":{"type":"TypeString","computed":true},"recovery_zone":{"type":"TypeString","computed":true}}}},"failover_deployment_model":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"recovery_group":{"type":"TypeSet","computed":true,"elem":{"schema":{"post_action":{"type":"TypeSet","computed":true,"elem":{"type":"TypeList","elem":{"schema":{"fabric_location":{"type":"TypeString","computed":true},"fail_over_directions":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"fail_over_types":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"manual_action_instruction":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"runbook_id":{"type":"TypeString","computed":true},"script_path":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}}},"pre_action":{"type":"TypeSet","computed":true,"elem":{"type":"TypeList","elem":{"schema":{"fabric_location":{"type":"TypeString","computed":true},"fail_over_directions":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"fail_over_types":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"manual_action_instruction":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"runbook_id":{"type":"TypeString","computed":true},"script_path":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}}},"replicated_protected_items":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"type":{"type":"TypeString","computed":true}}}},"recovery_vault_id":{"type":"TypeString","required":true},"source_recovery_fabric_id":{"type":"TypeString","computed":true},"target_recovery_fabric_id":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_snapshot":{"schema":{"creation_option":{"type":"TypeString","computed":true},"disk_size_gb":{"type":"TypeInt","computed":true},"encryption_settings":{"type":"TypeList","computed":true,"elem":{"schema":{"disk_encryption_key":{"type":"TypeList","computed":true,"elem":{"schema":{"secret_url":{"type":"TypeString","computed":true},"source_vault_id":{"type":"TypeString","computed":true}}}},"enabled":{"type":"TypeBool","computed":true},"key_encryption_key":{"type":"TypeList","computed":true,"elem":{"schema":{"key_url":{"type":"TypeString","computed":true},"source_vault_id":{"type":"TypeString","computed":true}}}}}}},"name":{"type":"TypeString","required":true},"os_type":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true},"source_resource_id":{"type":"TypeString","computed":true},"source_uri":{"type":"TypeString","computed":true},"storage_account_id":{"type":"TypeString","computed":true},"time_created":{"type":"TypeString","computed":true},"trusted_launch_enabled":{"type":"TypeBool","computed":true}},"timeouts":{"read":5}},"azurerm_source_control_token":{"schema":{"token":{"type":"TypeString","computed":true},"token_secret":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_spatial_anchors_account":{"schema":{"account_domain":{"type":"TypeString","computed":true},"account_id":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_spring_cloud_app":{"schema":{"fqdn":{"type":"TypeString","computed":true},"https_only":{"type":"TypeBool","computed":true},"identity":{"type":"TypeList","computed":true,"elem":{"schema":{"identity_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"is_public":{"type":"TypeBool","computed":true},"name":{"type":"TypeString","required":true},"persistent_disk":{"type":"TypeList","computed":true,"elem":{"schema":{"mount_path":{"type":"TypeString","computed":true},"size_in_gb":{"type":"TypeInt","computed":true}}}},"resource_group_name":{"type":"TypeString","required":true},"service_name":{"type":"TypeString","required":true},"tls_enabled":{"type":"TypeBool","computed":true},"url":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_spring_cloud_service":{"schema":{"config_server_git_setting":{"type":"TypeList","computed":true,"elem":{"schema":{"http_basic_auth":{"type":"TypeList","computed":true,"elem":{"schema":{"password":{"type":"TypeString","computed":true},"username":{"type":"TypeString","computed":true}}}},"label":{"type":"TypeString","computed":true},"repository":{"type":"TypeList","computed":true,"elem":{"schema":{"http_basic_auth":{"type":"TypeList","computed":true,"elem":{"schema":{"password":{"type":"TypeString","computed":true},"username":{"type":"TypeString","computed":true}}}},"label":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"pattern":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"search_paths":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"ssh_auth":{"type":"TypeList","computed":true,"elem":{"schema":{"host_key":{"type":"TypeString","computed":true},"host_key_algorithm":{"type":"TypeString","computed":true},"private_key":{"type":"TypeString","computed":true},"strict_host_key_checking_enabled":{"type":"TypeBool","computed":true}}}},"uri":{"type":"TypeString","computed":true}}}},"search_paths":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"ssh_auth":{"type":"TypeList","computed":true,"elem":{"schema":{"host_key":{"type":"TypeString","computed":true},"host_key_algorithm":{"type":"TypeString","computed":true},"private_key":{"type":"TypeString","computed":true},"strict_host_key_checking_enabled":{"type":"TypeBool","computed":true}}}},"uri":{"type":"TypeString","computed":true}}}},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"outbound_public_ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"required_network_traffic_rules":{"type":"TypeList","computed":true,"elem":{"schema":{"direction":{"type":"TypeString","computed":true},"fqdns":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"port":{"type":"TypeInt","computed":true},"protocol":{"type":"TypeString","computed":true}}}},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_ssh_public_key":{"schema":{"name":{"type":"TypeString","required":true},"public_key":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_stack_hci_cluster":{"schema":{"automanage_configuration_id":{"type":"TypeString","computed":true},"client_id":{"type":"TypeString","computed":true},"cloud_id":{"type":"TypeString","computed":true},"identity":{"type":"TypeList","computed":true,"elem":{"schema":{"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"resource_provider_object_id":{"type":"TypeString","computed":true},"service_endpoint":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"tenant_id":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_static_web_app":{"schema":{"api_key":{"type":"TypeString","computed":true},"app_settings":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"basic_auth":{"type":"TypeList","computed":true,"elem":{"schema":{"environments":{"type":"TypeString","computed":true}}}},"configuration_file_changes_enabled":{"type":"TypeBool","computed":true},"default_host_name":{"type":"TypeString","computed":true},"identity":{"type":"TypeList","computed":true,"elem":{"schema":{"identity_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true,"forceNew":true},"preview_environments_enabled":{"type":"TypeBool","computed":true},"public_network_access_enabled":{"type":"TypeBool","computed":true},"resource_group_name":{"type":"TypeString","required":true},"sku_size":{"type":"TypeString","computed":true},"sku_tier":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_storage_account":{"schema":{"access_tier":{"type":"TypeString","computed":true},"account_kind":{"type":"TypeString","computed":true},"account_replication_type":{"type":"TypeString","computed":true},"account_tier":{"type":"TypeString","computed":true},"allow_nested_items_to_be_public":{"type":"TypeBool","computed":true},"azure_files_authentication":{"type":"TypeList","computed":true,"elem":{"schema":{"active_directory":{"type":"TypeList","computed":true,"elem":{"schema":{"domain_guid":{"type":"TypeString","computed":true},"domain_name":{"type":"TypeString","computed":true},"domain_sid":{"type":"TypeString","computed":true},"forest_name":{"type":"TypeString","computed":true},"netbios_domain_name":{"type":"TypeString","computed":true},"storage_sid":{"type":"TypeString","computed":true}}}},"default_share_level_permission":{"type":"TypeString","computed":true},"directory_type":{"type":"TypeString","computed":true}}}},"custom_domain":{"type":"TypeList","computed":true,"elem":{"schema":{"name":{"type":"TypeString","computed":true}}}},"dns_endpoint_type":{"type":"TypeString","computed":true},"https_traffic_only_enabled":{"type":"TypeBool","computed":true},"identity":{"type":"TypeList","computed":true,"elem":{"schema":{"identity_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"infrastructure_encryption_enabled":{"type":"TypeBool","computed":true},"is_hns_enabled":{"type":"TypeBool","computed":true},"location":{"type":"TypeString","computed":true},"min_tls_version":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true},"nfsv3_enabled":{"type":"TypeBool","computed":true},"primary_access_key":{"type":"TypeString","computed":true},"primary_blob_connection_string":{"type":"TypeString","computed":true},"primary_blob_endpoint":{"type":"TypeString","computed":true},"primary_blob_host":{"type":"TypeString","computed":true},"primary_blob_internet_endpoint":{"type":"TypeString","computed":true},"primary_blob_internet_host":{"type":"TypeString","computed":true},"primary_blob_microsoft_endpoint":{"type":"TypeString","computed":true},"primary_blob_microsoft_host":{"type":"TypeString","computed":true},"primary_connection_string":{"type":"TypeString","computed":true},"primary_dfs_endpoint":{"type":"TypeString","computed":true},"primary_dfs_host":{"type":"TypeString","computed":true},"primary_dfs_internet_endpoint":{"type":"TypeString","computed":true},"primary_dfs_internet_host":{"type":"TypeString","computed":true},"primary_dfs_microsoft_endpoint":{"type":"TypeString","computed":true},"primary_dfs_microsoft_host":{"type":"TypeString","computed":true},"primary_file_endpoint":{"type":"TypeString","computed":true},"primary_file_host":{"type":"TypeString","computed":true},"primary_file_internet_endpoint":{"type":"TypeString","computed":true},"primary_file_internet_host":{"type":"TypeString","computed":true},"primary_file_microsoft_endpoint":{"type":"TypeString","computed":true},"primary_file_microsoft_host":{"type":"TypeString","computed":true},"primary_location":{"type":"TypeString","computed":true},"primary_queue_endpoint":{"type":"TypeString","computed":true},"primary_queue_host":{"type":"TypeString","computed":true},"primary_queue_microsoft_endpoint":{"type":"TypeString","computed":true},"primary_queue_microsoft_host":{"type":"TypeString","computed":true},"primary_table_endpoint":{"type":"TypeString","computed":true},"primary_table_host":{"type":"TypeString","computed":true},"primary_table_microsoft_endpoint":{"type":"TypeString","computed":true},"primary_table_microsoft_host":{"type":"TypeString","computed":true},"primary_web_endpoint":{"type":"TypeString","computed":true},"primary_web_host":{"type":"TypeString","computed":true},"primary_web_internet_endpoint":{"type":"TypeString","computed":true},"primary_web_internet_host":{"type":"TypeString","computed":true},"primary_web_microsoft_endpoint":{"type":"TypeString","computed":true},"primary_web_microsoft_host":{"type":"TypeString","computed":true},"queue_encryption_key_type":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true},"secondary_access_key":{"type":"TypeString","computed":true},"secondary_blob_connection_string":{"type":"TypeString","computed":true},"secondary_blob_endpoint":{"type":"TypeString","computed":true},"secondary_blob_host":{"type":"TypeString","computed":true},"secondary_blob_internet_endpoint":{"type":"TypeString","computed":true},"secondary_blob_internet_host":{"type":"TypeString","computed":true},"secondary_blob_microsoft_endpoint":{"type":"TypeString","computed":true},"secondary_blob_microsoft_host":{"type":"TypeString","computed":true},"secondary_connection_string":{"type":"TypeString","computed":true},"secondary_dfs_endpoint":{"type":"TypeString","computed":true},"secondary_dfs_host":{"type":"TypeString","computed":true},"secondary_dfs_internet_endpoint":{"type":"TypeString","computed":true},"secondary_dfs_internet_host":{"type":"TypeString","computed":true},"secondary_dfs_microsoft_endpoint":{"type":"TypeString","computed":true},"secondary_dfs_microsoft_host":{"type":"TypeString","computed":true},"secondary_file_endpoint":{"type":"TypeString","computed":true},"secondary_file_host":{"type":"TypeString","computed":true},"secondary_file_internet_endpoint":{"type":"TypeString","computed":true},"secondary_file_internet_host":{"type":"TypeString","computed":true},"secondary_file_microsoft_endpoint":{"type":"TypeString","computed":true},"secondary_file_microsoft_host":{"type":"TypeString","computed":true},"secondary_location":{"type":"TypeString","computed":true},"secondary_queue_endpoint":{"type":"TypeString","computed":true},"secondary_queue_host":{"type":"TypeString","computed":true},"secondary_queue_microsoft_endpoint":{"type":"TypeString","computed":true},"secondary_queue_microsoft_host":{"type":"TypeString","computed":true},"secondary_table_endpoint":{"type":"TypeString","computed":true},"secondary_table_host":{"type":"TypeString","computed":true},"secondary_table_microsoft_endpoint":{"type":"TypeString","computed":true},"secondary_table_microsoft_host":{"type":"TypeString","computed":true},"secondary_web_endpoint":{"type":"TypeString","computed":true},"secondary_web_host":{"type":"TypeString","computed":true},"secondary_web_internet_endpoint":{"type":"TypeString","computed":true},"secondary_web_internet_host":{"type":"TypeString","computed":true},"secondary_web_microsoft_endpoint":{"type":"TypeString","computed":true},"secondary_web_microsoft_host":{"type":"TypeString","computed":true},"table_encryption_key_type":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_storage_account_blob_container_sas":{"schema":{"cache_control":{"type":"TypeString","optional":true},"connection_string":{"type":"TypeString","required":true},"container_name":{"type":"TypeString","required":true},"content_disposition":{"type":"TypeString","optional":true},"content_encoding":{"type":"TypeString","optional":true},"content_language":{"type":"TypeString","optional":true},"content_type":{"type":"TypeString","optional":true},"expiry":{"type":"TypeString","required":true},"https_only":{"type":"TypeBool","optional":true,"default":true},"ip_address":{"type":"TypeString","optional":true},"permissions":{"type":"TypeList","required":true,"elem":{"schema":{"add":{"type":"TypeBool","required":true},"create":{"type":"TypeBool","required":true},"delete":{"type":"TypeBool","required":true},"list":{"type":"TypeBool","required":true},"read":{"type":"TypeBool","required":true},"write":{"type":"TypeBool","required":true}}},"maxItems":1},"sas":{"type":"TypeString","computed":true},"start":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_storage_account_sas":{"schema":{"connection_string":{"type":"TypeString","required":true},"expiry":{"type":"TypeString","required":true},"https_only":{"type":"TypeBool","optional":true,"default":true},"ip_addresses":{"type":"TypeString","optional":true},"permissions":{"type":"TypeList","required":true,"elem":{"schema":{"add":{"type":"TypeBool","required":true},"create":{"type":"TypeBool","required":true},"delete":{"type":"TypeBool","required":true},"filter":{"type":"TypeBool","required":true},"list":{"type":"TypeBool","required":true},"process":{"type":"TypeBool","required":true},"read":{"type":"TypeBool","required":true},"tag":{"type":"TypeBool","required":true},"update":{"type":"TypeBool","required":true},"write":{"type":"TypeBool","required":true}}},"maxItems":1},"resource_types":{"type":"TypeList","required":true,"elem":{"schema":{"container":{"type":"TypeBool","required":true},"object":{"type":"TypeBool","required":true},"service":{"type":"TypeBool","required":true}}},"maxItems":1},"sas":{"type":"TypeString","computed":true},"services":{"type":"TypeList","required":true,"elem":{"schema":{"blob":{"type":"TypeBool","required":true},"file":{"type":"TypeBool","required":true},"queue":{"type":"TypeBool","required":true},"table":{"type":"TypeBool","required":true}}},"maxItems":1},"signed_version":{"type":"TypeString","optional":true,"default":"2022-11-02"},"start":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_storage_blob":{"schema":{"access_tier":{"type":"TypeString","computed":true},"content_md5":{"type":"TypeString","computed":true},"content_type":{"type":"TypeString","computed":true},"encryption_scope":{"type":"TypeString","computed":true},"metadata":{"type":"TypeMap","optional":true,"computed":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true},"storage_account_name":{"type":"TypeString","required":true},"storage_container_name":{"type":"TypeString","required":true},"type":{"type":"TypeString","computed":true},"url":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_storage_container":{"schema":{"container_access_type":{"type":"TypeString","computed":true},"default_encryption_scope":{"type":"TypeString","computed":true},"encryption_scope_override_enabled":{"type":"TypeBool","computed":true},"has_immutability_policy":{"type":"TypeBool","computed":true},"has_legal_hold":{"type":"TypeBool","computed":true},"metadata":{"type":"TypeMap","optional":true,"computed":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true},"resource_manager_id":{"type":"TypeString","computed":true},"storage_account_name":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_storage_containers":{"schema":{"containers":{"type":"TypeList","computed":true,"elem":{"schema":{"data_plane_id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"resource_manager_id":{"type":"TypeString","computed":true}}}},"name_prefix":{"type":"TypeString","optional":true},"storage_account_id":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_storage_encryption_scope":{"schema":{"key_vault_key_id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"source":{"type":"TypeString","computed":true},"storage_account_id":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_storage_management_policy":{"schema":{"rule":{"type":"TypeList","computed":true,"elem":{"schema":{"actions":{"type":"TypeList","computed":true,"elem":{"schema":{"base_blob":{"type":"TypeList","computed":true,"elem":{"schema":{"auto_tier_to_hot_from_cool_enabled":{"type":"TypeBool","computed":true},"delete_after_days_since_creation_greater_than":{"type":"TypeInt","computed":true},"delete_after_days_since_last_access_time_greater_than":{"type":"TypeInt","computed":true},"delete_after_days_since_modification_greater_than":{"type":"TypeInt","computed":true},"tier_to_archive_after_days_since_creation_greater_than":{"type":"TypeInt","computed":true},"tier_to_archive_after_days_since_last_access_time_greater_than":{"type":"TypeInt","computed":true},"tier_to_archive_after_days_since_last_tier_change_greater_than":{"type":"TypeInt","computed":true},"tier_to_archive_after_days_since_modification_greater_than":{"type":"TypeInt","computed":true},"tier_to_cold_after_days_since_creation_greater_than":{"type":"TypeInt","computed":true},"tier_to_cold_after_days_since_last_access_time_greater_than":{"type":"TypeInt","computed":true},"tier_to_cold_after_days_since_modification_greater_than":{"type":"TypeInt","computed":true},"tier_to_cool_after_days_since_creation_greater_than":{"type":"TypeInt","computed":true},"tier_to_cool_after_days_since_last_access_time_greater_than":{"type":"TypeInt","computed":true},"tier_to_cool_after_days_since_modification_greater_than":{"type":"TypeInt","computed":true}}}},"snapshot":{"type":"TypeList","computed":true,"elem":{"schema":{"change_tier_to_archive_after_days_since_creation":{"type":"TypeInt","computed":true},"change_tier_to_cool_after_days_since_creation":{"type":"TypeInt","computed":true},"delete_after_days_since_creation_greater_than":{"type":"TypeInt","computed":true},"tier_to_archive_after_days_since_last_tier_change_greater_than":{"type":"TypeInt","computed":true},"tier_to_cold_after_days_since_creation_greater_than":{"type":"TypeInt","computed":true}}}},"version":{"type":"TypeList","computed":true,"elem":{"schema":{"change_tier_to_archive_after_days_since_creation":{"type":"TypeInt","computed":true},"change_tier_to_cool_after_days_since_creation":{"type":"TypeInt","computed":true},"delete_after_days_since_creation":{"type":"TypeInt","computed":true},"tier_to_archive_after_days_since_last_tier_change_greater_than":{"type":"TypeInt","computed":true},"tier_to_cold_after_days_since_creation_greater_than":{"type":"TypeInt","computed":true}}}}}}},"enabled":{"type":"TypeBool","computed":true},"filters":{"type":"TypeList","computed":true,"elem":{"schema":{"blob_types":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"match_blob_index_tag":{"type":"TypeList","computed":true,"elem":{"schema":{"name":{"type":"TypeString","computed":true},"operation":{"type":"TypeString","computed":true},"value":{"type":"TypeString","computed":true}}}},"prefix_match":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}}}}},"name":{"type":"TypeString","computed":true}}}},"storage_account_id":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_storage_queue":{"schema":{"metadata":{"type":"TypeMap","optional":true,"computed":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true},"resource_manager_id":{"type":"TypeString","computed":true},"storage_account_name":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_storage_share":{"schema":{"acl":{"type":"TypeList","optional":true,"elem":{"schema":{"access_policy":{"type":"TypeList","computed":true,"elem":{"schema":{"expiry":{"type":"TypeString","computed":true},"permissions":{"type":"TypeString","computed":true},"start":{"type":"TypeString","computed":true}}}},"id":{"type":"TypeString","computed":true}}}},"metadata":{"type":"TypeMap","optional":true,"computed":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true},"quota":{"type":"TypeInt","computed":true},"resource_manager_id":{"type":"TypeString","computed":true},"storage_account_name":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_storage_sync":{"schema":{"incoming_traffic_policy":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_storage_sync_group":{"schema":{"name":{"type":"TypeString","required":true},"storage_sync_id":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_storage_table":{"schema":{"acl":{"type":"TypeSet","computed":true,"elem":{"schema":{"access_policy":{"type":"TypeList","computed":true,"elem":{"schema":{"expiry":{"type":"TypeString","computed":true},"permissions":{"type":"TypeString","computed":true},"start":{"type":"TypeString","computed":true}}}},"id":{"type":"TypeString","computed":true}}}},"id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_manager_id":{"type":"TypeString","computed":true},"storage_account_name":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_storage_table_entities":{"schema":{"filter":{"type":"TypeString","required":true},"items":{"type":"TypeList","computed":true,"elem":{"schema":{"partition_key":{"type":"TypeString","computed":true},"properties":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"row_key":{"type":"TypeString","computed":true}}}},"select":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"storage_table_id":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_storage_table_entity":{"schema":{"entity":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"partition_key":{"type":"TypeString","required":true},"row_key":{"type":"TypeString","required":true},"storage_table_id":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_stream_analytics_job":{"schema":{"compatibility_level":{"type":"TypeString","computed":true},"data_locale":{"type":"TypeString","computed":true},"events_late_arrival_max_delay_in_seconds":{"type":"TypeInt","computed":true},"events_out_of_order_max_delay_in_seconds":{"type":"TypeInt","computed":true},"events_out_of_order_policy":{"type":"TypeString","computed":true},"identity":{"type":"TypeList","computed":true,"elem":{"schema":{"identity_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"job_id":{"type":"TypeString","computed":true},"last_output_time":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"output_error_policy":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true},"sku_name":{"type":"TypeString","computed":true},"start_mode":{"type":"TypeString","computed":true},"start_time":{"type":"TypeString","computed":true},"streaming_units":{"type":"TypeInt","computed":true},"transformation_query":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_subnet":{"schema":{"address_prefix":{"type":"TypeString","computed":true},"address_prefixes":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"default_outbound_access_enabled":{"type":"TypeBool","computed":true},"name":{"type":"TypeString","required":true},"network_security_group_id":{"type":"TypeString","computed":true},"private_endpoint_network_policies":{"type":"TypeString","computed":true},"private_link_service_network_policies_enabled":{"type":"TypeBool","computed":true},"resource_group_name":{"type":"TypeString","required":true},"route_table_id":{"type":"TypeString","computed":true},"service_endpoints":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"virtual_network_name":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_subscription":{"schema":{"display_name":{"type":"TypeString","computed":true},"location_placement_id":{"type":"TypeString","computed":true},"quota_id":{"type":"TypeString","computed":true},"spending_limit":{"type":"TypeString","computed":true},"state":{"type":"TypeString","computed":true},"subscription_id":{"type":"TypeString","optional":true,"computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"tenant_id":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_subscription_template_deployment":{"schema":{"name":{"type":"TypeString","required":true},"output_content":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_subscriptions":{"schema":{"display_name_contains":{"type":"TypeString","optional":true},"display_name_prefix":{"type":"TypeString","optional":true},"subscriptions":{"type":"TypeList","computed":true,"elem":{"schema":{"display_name":{"type":"TypeString","computed":true},"id":{"type":"TypeString","computed":true},"location_placement_id":{"type":"TypeString","computed":true},"quota_id":{"type":"TypeString","computed":true},"spending_limit":{"type":"TypeString","computed":true},"state":{"type":"TypeString","computed":true},"subscription_id":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"tenant_id":{"type":"TypeString","computed":true}}}}},"timeouts":{"read":5}},"azurerm_synapse_workspace":{"schema":{"connectivity_endpoints":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"identity":{"type":"TypeList","computed":true,"elem":{"schema":{"identity_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_system_center_virtual_machine_manager_inventory_items":{"schema":{"inventory_items":{"type":"TypeList","computed":true,"elem":{"schema":{"id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"uuid":{"type":"TypeString","computed":true}}}},"inventory_type":{"type":"TypeString","required":true},"system_center_virtual_machine_manager_server_id":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_template_spec_version":{"schema":{"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"template_body":{"type":"TypeString","computed":true},"version":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_tenant_template_deployment":{"schema":{"name":{"type":"TypeString","required":true},"output_content":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_traffic_manager_geographical_location":{"schema":{"name":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_traffic_manager_profile":{"schema":{"dns_config":{"type":"TypeList","computed":true,"elem":{"schema":{"relative_name":{"type":"TypeString","computed":true},"ttl":{"type":"TypeInt","computed":true}}}},"fqdn":{"type":"TypeString","computed":true},"monitor_config":{"type":"TypeList","computed":true,"elem":{"schema":{"custom_header":{"type":"TypeList","computed":true,"elem":{"schema":{"name":{"type":"TypeString","computed":true},"value":{"type":"TypeString","computed":true}}}},"expected_status_code_ranges":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"interval_in_seconds":{"type":"TypeInt","computed":true},"path":{"type":"TypeString","computed":true},"port":{"type":"TypeInt","computed":true},"protocol":{"type":"TypeString","computed":true},"timeout_in_seconds":{"type":"TypeInt","computed":true},"tolerated_number_of_failures":{"type":"TypeInt","computed":true}}}},"name":{"type":"TypeString","required":true},"profile_status":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"traffic_routing_method":{"type":"TypeString","computed":true},"traffic_view_enabled":{"type":"TypeBool","optional":true}},"timeouts":{"read":5}},"azurerm_user_assigned_identity":{"schema":{"client_id":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"principal_id":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"tenant_id":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_virtual_desktop_application_group":{"schema":{"description":{"type":"TypeString","computed":true},"friendly_name":{"type":"TypeString","computed":true},"host_pool_id":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"type":{"type":"TypeString","computed":true},"workspace_id":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_virtual_desktop_host_pool":{"schema":{"custom_rdp_properties":{"type":"TypeString","computed":true},"description":{"type":"TypeString","computed":true},"friendly_name":{"type":"TypeString","computed":true},"load_balancer_type":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"maximum_sessions_allowed":{"type":"TypeInt","computed":true},"name":{"type":"TypeString","required":true},"personal_desktop_assignment_type":{"type":"TypeString","computed":true},"preferred_app_group_type":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true},"scheduled_agent_updates":{"type":"TypeList","computed":true,"elem":{"schema":{"enabled":{"type":"TypeBool","computed":true},"schedule":{"type":"TypeList","computed":true,"elem":{"schema":{"day_of_week":{"type":"TypeString","computed":true},"hour_of_day":{"type":"TypeInt","computed":true}}}},"timezone":{"type":"TypeString","computed":true},"use_session_host_timezone":{"type":"TypeBool","computed":true}}}},"start_vm_on_connect":{"type":"TypeBool","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"type":{"type":"TypeString","computed":true},"validate_environment":{"type":"TypeBool","computed":true}},"timeouts":{"read":5}},"azurerm_virtual_desktop_workspace":{"schema":{"description":{"type":"TypeString","computed":true},"friendly_name":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"public_network_access_enabled":{"type":"TypeBool","computed":true},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_virtual_hub":{"schema":{"address_prefix":{"type":"TypeString","computed":true},"default_route_table_id":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"virtual_router_asn":{"type":"TypeInt","computed":true},"virtual_router_ips":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"virtual_wan_id":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_virtual_hub_connection":{"schema":{"internet_security_enabled":{"type":"TypeBool","computed":true},"name":{"type":"TypeString","required":true},"remote_virtual_network_id":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true},"routing":{"type":"TypeList","computed":true,"elem":{"schema":{"associated_route_table_id":{"type":"TypeString","computed":true},"inbound_route_map_id":{"type":"TypeString","computed":true},"outbound_route_map_id":{"type":"TypeString","computed":true},"propagated_route_table":{"type":"TypeList","computed":true,"elem":{"schema":{"labels":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"route_table_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}}},"static_vnet_local_route_override_criteria":{"type":"TypeString","computed":true},"static_vnet_route":{"type":"TypeList","computed":true,"elem":{"schema":{"address_prefixes":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","computed":true},"next_hop_ip_address":{"type":"TypeString","computed":true}}}}}}},"virtual_hub_id":{"type":"TypeString","computed":true},"virtual_hub_name":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_virtual_hub_route_table":{"schema":{"labels":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"route":{"type":"TypeList","computed":true,"elem":{"schema":{"destinations":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"destinations_type":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"next_hop":{"type":"TypeString","computed":true},"next_hop_type":{"type":"TypeString","computed":true}}}},"virtual_hub_id":{"type":"TypeString","computed":true},"virtual_hub_name":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_virtual_machine":{"schema":{"identity":{"type":"TypeList","computed":true,"elem":{"schema":{"identity_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"power_state":{"type":"TypeString","computed":true},"private_ip_address":{"type":"TypeString","computed":true},"private_ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"public_ip_address":{"type":"TypeString","computed":true},"public_ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"resource_group_name":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_virtual_machine_scale_set":{"schema":{"identity":{"type":"TypeList","computed":true,"elem":{"schema":{"identity_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"instances":{"type":"TypeList","computed":true,"elem":{"schema":{"computer_name":{"type":"TypeString","computed":true},"instance_id":{"type":"TypeString","computed":true},"latest_model_applied":{"type":"TypeBool","computed":true},"name":{"type":"TypeString","computed":true},"power_state":{"type":"TypeString","computed":true},"private_ip_address":{"type":"TypeString","computed":true},"private_ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"public_ip_address":{"type":"TypeString","computed":true},"public_ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"virtual_machine_id":{"type":"TypeString","computed":true},"zone":{"type":"TypeString","computed":true}}}},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"network_interface":{"type":"TypeList","computed":true,"elem":{"schema":{"dns_servers":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"enable_accelerated_networking":{"type":"TypeBool","computed":true},"enable_ip_forwarding":{"type":"TypeBool","computed":true},"ip_configuration":{"type":"TypeList","computed":true,"elem":{"schema":{"application_gateway_backend_address_pool_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"application_security_group_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"load_balancer_backend_address_pool_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"load_balancer_inbound_nat_rules_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","computed":true},"primary":{"type":"TypeBool","computed":true},"public_ip_address":{"type":"TypeList","computed":true,"elem":{"schema":{"domain_name_label":{"type":"TypeString","computed":true},"idle_timeout_in_minutes":{"type":"TypeInt","computed":true},"ip_tag":{"type":"TypeList","computed":true,"elem":{"schema":{"tag":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"name":{"type":"TypeString","computed":true},"public_ip_prefix_id":{"type":"TypeString","computed":true},"version":{"type":"TypeString","computed":true}}}},"subnet_id":{"type":"TypeString","computed":true},"version":{"type":"TypeString","computed":true}}}},"name":{"type":"TypeString","computed":true},"network_security_group_id":{"type":"TypeString","computed":true},"primary":{"type":"TypeBool","computed":true}}}},"resource_group_name":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_virtual_network":{"schema":{"address_space":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"dns_servers":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"guid":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"subnets":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"vnet_peerings":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"vnet_peerings_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_virtual_network_gateway":{"schema":{"active_active":{"type":"TypeBool","computed":true},"bgp_settings":{"type":"TypeList","computed":true,"elem":{"schema":{"asn":{"type":"TypeInt","computed":true},"peer_weight":{"type":"TypeInt","computed":true},"peering_address":{"type":"TypeString","computed":true}}}},"custom_route":{"type":"TypeList","computed":true,"elem":{"schema":{"address_prefixes":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}}}}},"default_local_network_gateway_id":{"type":"TypeString","computed":true},"enable_bgp":{"type":"TypeBool","computed":true},"generation":{"type":"TypeString","computed":true},"ip_configuration":{"type":"TypeList","computed":true,"elem":{"schema":{"id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"private_ip_address":{"type":"TypeString","computed":true},"private_ip_address_allocation":{"type":"TypeString","computed":true},"public_ip_address_id":{"type":"TypeString","computed":true},"subnet_id":{"type":"TypeString","computed":true}}}},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"private_ip_address_enabled":{"type":"TypeBool","computed":true},"resource_group_name":{"type":"TypeString","required":true},"sku":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"type":{"type":"TypeString","computed":true},"vpn_client_configuration":{"type":"TypeList","computed":true,"elem":{"schema":{"aad_audience":{"type":"TypeString","computed":true},"aad_issuer":{"type":"TypeString","computed":true},"aad_tenant":{"type":"TypeString","computed":true},"address_space":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"radius_server_address":{"type":"TypeString","computed":true},"radius_server_secret":{"type":"TypeString","computed":true},"revoked_certificate":{"type":"TypeList","computed":true,"elem":{"schema":{"name":{"type":"TypeString","computed":true},"thumbprint":{"type":"TypeString","computed":true}}}},"root_certificate":{"type":"TypeList","computed":true,"elem":{"schema":{"name":{"type":"TypeString","computed":true},"public_cert_data":{"type":"TypeString","computed":true}}}},"vpn_client_protocols":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}}}}},"vpn_type":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_virtual_network_gateway_connection":{"schema":{"authorization_key":{"type":"TypeString","computed":true},"connection_protocol":{"type":"TypeString","computed":true},"dpd_timeout_seconds":{"type":"TypeInt","computed":true},"egress_bytes_transferred":{"type":"TypeInt","computed":true},"enable_bgp":{"type":"TypeBool","computed":true},"express_route_circuit_id":{"type":"TypeString","computed":true},"express_route_gateway_bypass":{"type":"TypeBool","computed":true},"ingress_bytes_transferred":{"type":"TypeInt","computed":true},"ipsec_policy":{"type":"TypeList","computed":true,"elem":{"schema":{"dh_group":{"type":"TypeString","computed":true},"ike_encryption":{"type":"TypeString","computed":true},"ike_integrity":{"type":"TypeString","computed":true},"ipsec_encryption":{"type":"TypeString","computed":true},"ipsec_integrity":{"type":"TypeString","computed":true},"pfs_group":{"type":"TypeString","computed":true},"sa_datasize":{"type":"TypeInt","computed":true},"sa_lifetime":{"type":"TypeInt","computed":true}}}},"local_azure_ip_address_enabled":{"type":"TypeBool","computed":true},"local_network_gateway_id":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"peer_virtual_network_gateway_id":{"type":"TypeString","computed":true},"private_link_fast_path_enabled":{"type":"TypeBool","computed":true},"resource_group_name":{"type":"TypeString","required":true},"resource_guid":{"type":"TypeString","computed":true},"routing_weight":{"type":"TypeInt","computed":true},"shared_key":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"traffic_selector_policy":{"type":"TypeList","computed":true,"elem":{"schema":{"local_address_cidrs":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"remote_address_cidrs":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}}},"type":{"type":"TypeString","computed":true},"use_policy_based_traffic_selectors":{"type":"TypeBool","computed":true},"virtual_network_gateway_id":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_virtual_wan":{"schema":{"allow_branch_to_branch_traffic":{"type":"TypeBool","computed":true},"disable_vpn_encryption":{"type":"TypeBool","computed":true},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"office365_local_breakout_category":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true},"sku":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"virtual_hub_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"vpn_site_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_vmware_private_cloud":{"schema":{"circuit":{"type":"TypeList","computed":true,"elem":{"schema":{"express_route_id":{"type":"TypeString","computed":true},"express_route_private_peering_id":{"type":"TypeString","computed":true},"primary_subnet_cidr":{"type":"TypeString","computed":true},"secondary_subnet_cidr":{"type":"TypeString","computed":true}}}},"hcx_cloud_manager_endpoint":{"type":"TypeString","computed":true},"internet_connection_enabled":{"type":"TypeBool","computed":true},"location":{"type":"TypeString","computed":true},"management_cluster":{"type":"TypeList","computed":true,"elem":{"schema":{"hosts":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"id":{"type":"TypeInt","computed":true},"size":{"type":"TypeInt","computed":true}}}},"management_subnet_cidr":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"network_subnet_cidr":{"type":"TypeString","computed":true},"nsxt_certificate_thumbprint":{"type":"TypeString","computed":true},"nsxt_manager_endpoint":{"type":"TypeString","computed":true},"provisioning_subnet_cidr":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true},"sku_name":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"vcenter_certificate_thumbprint":{"type":"TypeString","computed":true},"vcsa_endpoint":{"type":"TypeString","computed":true},"vmotion_subnet_cidr":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_vpn_gateway":{"schema":{"bgp_settings":{"type":"TypeList","computed":true,"elem":{"schema":{"asn":{"type":"TypeInt","computed":true},"bgp_peering_address":{"type":"TypeString","computed":true},"instance_0_bgp_peering_address":{"type":"TypeList","computed":true,"elem":{"schema":{"custom_ips":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"default_ips":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"ip_configuration_id":{"type":"TypeString","computed":true},"tunnel_ips":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}}},"instance_1_bgp_peering_address":{"type":"TypeList","computed":true,"elem":{"schema":{"custom_ips":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"default_ips":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"ip_configuration_id":{"type":"TypeString","computed":true},"tunnel_ips":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}}},"peer_weight":{"type":"TypeInt","computed":true}}}},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"scale_unit":{"type":"TypeInt","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"virtual_hub_id":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_vpn_server_configuration":{"schema":{"azure_active_directory_authentication":{"type":"TypeList","computed":true,"elem":{"schema":{"audience":{"type":"TypeString","computed":true},"issuer":{"type":"TypeString","computed":true},"tenant":{"type":"TypeString","computed":true}}}},"client_revoked_certificate":{"type":"TypeSet","computed":true,"elem":{"schema":{"name":{"type":"TypeString","computed":true},"thumbprint":{"type":"TypeString","computed":true}}}},"client_root_certificate":{"type":"TypeSet","computed":true,"elem":{"schema":{"name":{"type":"TypeString","computed":true},"public_cert_data":{"type":"TypeString","computed":true}}}},"ipsec_policy":{"type":"TypeList","computed":true,"elem":{"schema":{"dh_group":{"type":"TypeString","computed":true},"ike_encryption":{"type":"TypeString","computed":true},"ike_integrity":{"type":"TypeString","computed":true},"ipsec_encryption":{"type":"TypeString","computed":true},"ipsec_integrity":{"type":"TypeString","computed":true},"pfs_group":{"type":"TypeString","computed":true},"sa_data_size_kilobytes":{"type":"TypeInt","computed":true},"sa_lifetime_seconds":{"type":"TypeInt","computed":true}}}},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"radius":{"type":"TypeList","computed":true,"elem":{"schema":{"client_root_certificate":{"type":"TypeSet","computed":true,"elem":{"schema":{"name":{"type":"TypeString","computed":true},"thumbprint":{"type":"TypeString","computed":true}}}},"server":{"type":"TypeList","computed":true,"elem":{"schema":{"address":{"type":"TypeString","computed":true},"score":{"type":"TypeInt","computed":true},"secret":{"type":"TypeString","computed":true}}}},"server_root_certificate":{"type":"TypeSet","computed":true,"elem":{"schema":{"name":{"type":"TypeString","computed":true},"public_cert_data":{"type":"TypeString","computed":true}}}}}}},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"vpn_authentication_types":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"vpn_protocols":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_web_application_firewall_policy":{"schema":{"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_web_pubsub":{"schema":{"aad_auth_enabled":{"type":"TypeBool","computed":true},"capacity":{"type":"TypeInt","computed":true},"external_ip":{"type":"TypeString","computed":true},"hostname":{"type":"TypeString","computed":true},"local_auth_enabled":{"type":"TypeBool","computed":true},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"primary_access_key":{"type":"TypeString","computed":true},"primary_connection_string":{"type":"TypeString","computed":true},"public_network_access_enabled":{"type":"TypeBool","computed":true},"public_port":{"type":"TypeInt","computed":true},"resource_group_name":{"type":"TypeString","required":true},"secondary_access_key":{"type":"TypeString","computed":true},"secondary_connection_string":{"type":"TypeString","computed":true},"server_port":{"type":"TypeInt","computed":true},"sku":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"tls_client_cert_enabled":{"type":"TypeBool","computed":true},"version":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_web_pubsub_private_link_resource":{"schema":{"shared_private_link_resource_types":{"type":"TypeList","computed":true,"elem":{"schema":{"description":{"type":"TypeString","computed":true},"subresource_name":{"type":"TypeString","computed":true}}}},"web_pubsub_id":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_windows_function_app":{"schema":{"app_settings":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"auth_settings":{"type":"TypeList","computed":true,"elem":{"schema":{"active_directory":{"type":"TypeList","computed":true,"elem":{"schema":{"allowed_audiences":{"type":"TypeList","description":"The list of Allowed audience values considered when validating JWTs issued by Azure Active Directory.","computed":true,"elem":{"type":"TypeString"}},"client_id":{"type":"TypeString","description":"The ID of the Client to use to authenticate with Azure Active Directory.","computed":true},"client_secret":{"type":"TypeString","description":"The Client Secret for the Client ID.","computed":true},"client_secret_setting_name":{"type":"TypeString","description":"The App Setting name that contains the client secret of the Client.","computed":true}}}},"additional_login_parameters":{"type":"TypeMap","description":"The map of Login Parameters sent to the OpenID Connect authorization endpoint when a user logs in.","computed":true,"elem":{"type":"TypeString"}},"allowed_external_redirect_urls":{"type":"TypeList","description":"Specifies a list of External URLs that can be redirected to as part of logging in or logging out of the Windows Web App.","computed":true,"elem":{"type":"TypeString"}},"default_provider":{"type":"TypeString","description":"The default authentication provider used when multiple providers are configured. Possible values include: `AzureActiveDirectory`, `Facebook`, `Google`, `MicrosoftAccount`, `Twitter`, `Github`.","computed":true},"enabled":{"type":"TypeBool","description":"Is the Authentication / Authorization feature enabled?","computed":true},"facebook":{"type":"TypeList","computed":true,"elem":{"schema":{"app_id":{"type":"TypeString","description":"The App ID of the Facebook app used for login.","computed":true},"app_secret":{"type":"TypeString","description":"The App Secret of the Facebook app used for Facebook Login.","computed":true},"app_secret_setting_name":{"type":"TypeString","description":"The app setting name that contains the `app_secret` value used for Facebook Login.","computed":true},"oauth_scopes":{"type":"TypeList","description":"The list of OAuth 2.0 scopes requested as part of Facebook Login authentication.","computed":true,"elem":{"type":"TypeString"}}}}},"github":{"type":"TypeList","computed":true,"elem":{"schema":{"client_id":{"type":"TypeString","description":"The ID of the GitHub app used for login.","computed":true},"client_secret":{"type":"TypeString","description":"The Client Secret of the GitHub app used for GitHub Login.","computed":true},"client_secret_setting_name":{"type":"TypeString","description":"The app setting name that contains the `client_secret` value used for GitHub Login.","computed":true},"oauth_scopes":{"type":"TypeList","description":"The list of OAuth 2.0 scopes requested as part of GitHub Login authentication.","computed":true,"elem":{"type":"TypeString"}}}}},"google":{"type":"TypeList","computed":true,"elem":{"schema":{"client_id":{"type":"TypeString","description":"The OpenID Connect Client ID for the Google web application.","computed":true},"client_secret":{"type":"TypeString","description":"The client secret associated with the Google web application.","computed":true},"client_secret_setting_name":{"type":"TypeString","description":"The app setting name that contains the `client_secret` value used for Google Login.","computed":true},"oauth_scopes":{"type":"TypeList","description":"The list of OAuth 2.0 scopes that requested as part of Google Sign-In authentication.","computed":true,"elem":{"type":"TypeString"}}}}},"issuer":{"type":"TypeString","description":"The OpenID Connect Issuer URI that represents the entity which issues access tokens.","computed":true},"microsoft":{"type":"TypeList","computed":true,"elem":{"schema":{"client_id":{"type":"TypeString","description":"The OAuth 2.0 client ID that was created for the app used for authentication.","computed":true},"client_secret":{"type":"TypeString","description":"The OAuth 2.0 client secret that was created for the app used for authentication.","computed":true},"client_secret_setting_name":{"type":"TypeString","description":"The app setting name containing the OAuth 2.0 client secret that was created for the app used for authentication.","computed":true},"oauth_scopes":{"type":"TypeList","description":"The list of OAuth 2.0 scopes requested as part of Microsoft Account authentication.","computed":true,"elem":{"type":"TypeString"}}}}},"runtime_version":{"type":"TypeString","description":"The RuntimeVersion of the Authentication / Authorization feature in use.","computed":true},"token_refresh_extension_hours":{"type":"TypeFloat","description":"The number of hours after session token expiration that a session token can be used to call the token refresh API.","computed":true},"token_store_enabled":{"type":"TypeBool","description":"Are platform-specific security tokens that are obtained during login flows durably stored?","computed":true},"twitter":{"type":"TypeList","computed":true,"elem":{"schema":{"consumer_key":{"type":"TypeString","description":"The OAuth 1.0a consumer key of the Twitter application used for sign-in.","computed":true},"consumer_secret":{"type":"TypeString","description":"The OAuth 1.0a consumer secret of the Twitter application used for sign-in.","computed":true},"consumer_secret_setting_name":{"type":"TypeString","description":"The app setting name that contains the OAuth 1.0a consumer secret of the Twitter application used for sign-in.","computed":true}}}},"unauthenticated_client_action":{"type":"TypeString","description":"The action taken when an unauthenticated client attempts to access the app.","computed":true}}}},"auth_settings_v2":{"type":"TypeList","computed":true,"elem":{"schema":{"active_directory_v2":{"type":"TypeList","computed":true,"elem":{"schema":{"allowed_applications":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"allowed_audiences":{"type":"TypeList","description":"Specifies a list of Allowed audience values to consider when validating JWTs issued by Azure Active Directory.","computed":true,"elem":{"type":"TypeString"}},"allowed_groups":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"allowed_identities":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"client_id":{"type":"TypeString","description":"The ID of the Client to use to authenticate with Azure Active Directory.","computed":true},"client_secret_certificate_thumbprint":{"type":"TypeString","description":"The thumbprint of the certificate used for signing purposes.","computed":true},"client_secret_setting_name":{"type":"TypeString","description":"The App Setting name that contains the client secret of the Client.","computed":true},"jwt_allowed_client_applications":{"type":"TypeList","description":"A list of Allowed Client Applications in the JWT Claim.","computed":true,"elem":{"type":"TypeString"}},"jwt_allowed_groups":{"type":"TypeList","description":"A list of Allowed Groups in the JWT Claim.","computed":true,"elem":{"type":"TypeString"}},"login_parameters":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"tenant_auth_endpoint":{"type":"TypeString","description":"The Azure Tenant URI for the Authenticating Tenant. e.g. `https://login.microsoftonline.com/v2.0/{tenant-guid}/`","computed":true},"www_authentication_disabled":{"type":"TypeBool","description":"Is the www-authenticate provider omitted from the request?","computed":true}}}},"apple_v2":{"type":"TypeList","computed":true,"elem":{"schema":{"client_id":{"type":"TypeString","description":"The OpenID Connect Client ID for the Apple web application.","computed":true},"client_secret_setting_name":{"type":"TypeString","description":"The app setting name that contains the `client_secret` value used for Apple Login.","computed":true},"login_scopes":{"type":"TypeList","description":"Specifies a list of OAuth 2.0 scopes that will be requested as part of Apple Sign-In authentication. If not specified, \"openid\", \"profile\", and \"email\" are used as default scopes.","computed":true,"elem":{"type":"TypeString"}}}}},"auth_enabled":{"type":"TypeBool","description":"Is the AuthV2 Settings be enabled.","computed":true},"azure_static_web_app_v2":{"type":"TypeList","computed":true,"elem":{"schema":{"client_id":{"type":"TypeString","description":"The ID of the Client used to authenticate with Azure Static Web App Authentication.","computed":true}}}},"config_file_path":{"type":"TypeString","description":"The path to the App Auth settings.","computed":true},"custom_oidc_v2":{"type":"TypeList","computed":true,"elem":{"schema":{"authorisation_endpoint":{"type":"TypeString","description":"The endpoint to make the Authorisation Request.","computed":true},"certification_uri":{"type":"TypeString","description":"The endpoint that provides the keys necessary to validate the token.","computed":true},"client_credential_method":{"type":"TypeString","description":"The Client Credential Method used. Currently the only supported value is `ClientSecretPost`","computed":true},"client_id":{"type":"TypeString","description":"The ID of the Client used to authenticate with this Custom OIDC.","computed":true},"client_secret_setting_name":{"type":"TypeString","description":"The App Setting name that contains the secret for this Custom OIDC Client.","computed":true},"issuer_endpoint":{"type":"TypeString","description":"The endpoint that issued the Token.","computed":true},"name":{"type":"TypeString","description":"The name of the Custom OIDC Authentication Provider.","computed":true},"name_claim_type":{"type":"TypeString","description":"The name of the claim that contains the users name.","computed":true},"openid_configuration_endpoint":{"type":"TypeString","description":"The endpoint that contains all the configuration endpoints for this Custom OIDC provider.","computed":true},"scopes":{"type":"TypeList","description":"The list of the scopes that should be requested while authenticating.","computed":true,"elem":{"type":"TypeString"}},"token_endpoint":{"type":"TypeString","description":"The endpoint used to request a Token.","computed":true}}}},"default_provider":{"type":"TypeString","description":"The Default Authentication Provider used when the `unauthenticated_action` is set to `RedirectToLoginPage`.","computed":true},"excluded_paths":{"type":"TypeList","description":"The paths which are excluded from the `unauthenticated_action` when it is set to `RedirectToLoginPage`.","computed":true,"elem":{"type":"TypeString"}},"facebook_v2":{"type":"TypeList","computed":true,"elem":{"schema":{"app_id":{"type":"TypeString","description":"The App ID of the Facebook app used for login.","computed":true},"app_secret_setting_name":{"type":"TypeString","description":"The app setting name that contains the `app_secret` value used for Facebook Login.","computed":true},"graph_api_version":{"type":"TypeString","description":"The version of the Facebook API to be used while logging in.","computed":true},"login_scopes":{"type":"TypeList","description":"Specifies a list of OAuth 2.0 scopes to be requested as part of Facebook Login authentication.","computed":true,"elem":{"type":"TypeString"}}}}},"forward_proxy_convention":{"type":"TypeString","description":"The convention used to determine the url of the request made.","computed":true},"forward_proxy_custom_host_header_name":{"type":"TypeString","description":"The name of the header containing the host of the request.","computed":true},"forward_proxy_custom_scheme_header_name":{"type":"TypeString","description":"The name of the header containing the scheme of the request.","computed":true},"github_v2":{"type":"TypeList","computed":true,"elem":{"schema":{"client_id":{"type":"TypeString","description":"The ID of the GitHub app used for login.","computed":true},"client_secret_setting_name":{"type":"TypeString","description":"The app setting name that contains the `client_secret` value used for GitHub Login.","computed":true},"login_scopes":{"type":"TypeList","description":"Specifies a list of OAuth 2.0 scopes that will be requested as part of GitHub Login authentication.","computed":true,"elem":{"type":"TypeString"}}}}},"google_v2":{"type":"TypeList","computed":true,"elem":{"schema":{"allowed_audiences":{"type":"TypeList","description":"Specifies a list of Allowed Audiences that will be requested as part of Google Sign-In authentication. If not specified, \"openid\", \"profile\", and \"email\" are used as default scopes.","computed":true,"elem":{"type":"TypeString"}},"client_id":{"type":"TypeString","description":"The OpenID Connect Client ID for the Google web application.","computed":true},"client_secret_setting_name":{"type":"TypeString","description":"The app setting name that contains the `client_secret` value used for Google Login.","computed":true},"login_scopes":{"type":"TypeList","description":"The list of OAuth 2.0 scopes requested as part of Google Sign-In authentication. If not specified, \"openid\", \"profile\", and \"email\" are used as default scopes.","computed":true,"elem":{"type":"TypeString"}}}}},"http_route_api_prefix":{"type":"TypeString","description":"The prefix that precedes all the authentication and authorisation paths.","computed":true},"login":{"type":"TypeList","computed":true,"elem":{"schema":{"allowed_external_redirect_urls":{"type":"TypeList","description":"External URLs that can be redirected to as part of logging in or logging out of the app. This is an advanced setting typically only needed by Windows Store application backends. **Note:** URLs within the current domain are always implicitly allowed.","computed":true,"elem":{"type":"TypeString"}},"cookie_expiration_convention":{"type":"TypeString","computed":true},"cookie_expiration_time":{"type":"TypeString","description":"The time after the request is made when the session cookie will expire.","computed":true},"logout_endpoint":{"type":"TypeString","description":"The endpoint to which logout requests are made.","computed":true},"nonce_expiration_time":{"type":"TypeString","description":"The time after the request is made when the nonce will expire.","computed":true},"preserve_url_fragments_for_logins":{"type":"TypeBool","description":"Are the fragments from the request be preserved after the login request is made.","computed":true},"token_refresh_extension_time":{"type":"TypeFloat","description":"The number of hours after session token expiration that a session token can be used to call the token refresh API.","computed":true},"token_store_enabled":{"type":"TypeBool","description":"Is the Token Store configuration Enabled.","computed":true},"token_store_path":{"type":"TypeString","description":"The directory path in the App Filesystem in which the tokens are stored.","computed":true},"token_store_sas_setting_name":{"type":"TypeString","description":"The name of the app setting which contains the SAS URL of the blob storage containing the tokens.","computed":true},"validate_nonce":{"type":"TypeBool","description":"Is the nonce be validated while completing the login flow.","computed":true}}}},"microsoft_v2":{"type":"TypeList","computed":true,"elem":{"schema":{"allowed_audiences":{"type":"TypeList","description":"Specifies a list of Allowed Audiences that will be requested as part of Microsoft Sign-In authentication.","computed":true,"elem":{"type":"TypeString"}},"client_id":{"type":"TypeString","description":"The OAuth 2.0 client ID that was created for the app used for authentication.","computed":true},"client_secret_setting_name":{"type":"TypeString","description":"The app setting name containing the OAuth 2.0 client secret that was created for the app used for authentication.","computed":true},"login_scopes":{"type":"TypeList","description":"The list of Login scopes that will be requested as part of Microsoft Account authentication.","computed":true,"elem":{"type":"TypeString"}}}}},"require_authentication":{"type":"TypeBool","description":"Is the authentication flow used for all requests.","computed":true},"require_https":{"type":"TypeBool","description":"Is HTTPS required on connections?","computed":true},"runtime_version":{"type":"TypeString","description":"The Runtime Version of the Authentication and Authorisation feature of this App.","computed":true},"twitter_v2":{"type":"TypeList","computed":true,"elem":{"schema":{"consumer_key":{"type":"TypeString","description":"The OAuth 1.0a consumer key of the Twitter application used for sign-in.","computed":true},"consumer_secret_setting_name":{"type":"TypeString","description":"The app setting name that contains the OAuth 1.0a consumer secret of the Twitter application used for sign-in.","computed":true}}}},"unauthenticated_action":{"type":"TypeString","computed":true}}}},"backup":{"type":"TypeList","computed":true,"elem":{"schema":{"enabled":{"type":"TypeBool","description":"Is this backup job enabled?","computed":true},"name":{"type":"TypeString","description":"The name of this Backup.","computed":true},"schedule":{"type":"TypeList","computed":true,"elem":{"schema":{"frequency_interval":{"type":"TypeInt","description":"How often the backup should is executed in multiples of the `frequency_unit`.","computed":true},"frequency_unit":{"type":"TypeString","description":"The unit of time for how often the backup takes place.","computed":true},"keep_at_least_one_backup":{"type":"TypeBool","description":"Does the service keep at least one backup, regardless of age of backup.","computed":true},"last_execution_time":{"type":"TypeString","description":"The time the backup was last attempted.","computed":true},"retention_period_days":{"type":"TypeInt","description":"After how many days are backups deleted.","computed":true},"start_time":{"type":"TypeString","description":"When the schedule should start working in RFC-3339 format.","computed":true}}}},"storage_account_url":{"type":"TypeString","description":"The SAS URL to the container.","computed":true}}}},"builtin_logging_enabled":{"type":"TypeBool","computed":true},"client_certificate_enabled":{"type":"TypeBool","computed":true},"client_certificate_exclusion_paths":{"type":"TypeString","description":"Paths to exclude when using client certificates, separated by ;","computed":true},"client_certificate_mode":{"type":"TypeString","computed":true},"connection_string":{"type":"TypeSet","computed":true,"elem":{"schema":{"name":{"type":"TypeString","description":"The name of this Connection.","computed":true},"type":{"type":"TypeString","description":"The type of database.","computed":true},"value":{"type":"TypeString","description":"The connection string value.","computed":true}}}},"content_share_force_disabled":{"type":"TypeBool","computed":true},"custom_domain_verification_id":{"type":"TypeString","computed":true},"daily_memory_time_quota":{"type":"TypeInt","computed":true},"default_hostname":{"type":"TypeString","computed":true},"enabled":{"type":"TypeBool","computed":true},"ftp_publish_basic_authentication_enabled":{"type":"TypeBool","computed":true},"functions_extension_version":{"type":"TypeString","computed":true},"hosting_environment_id":{"type":"TypeString","computed":true},"https_only":{"type":"TypeBool","computed":true},"identity":{"type":"TypeList","computed":true,"elem":{"schema":{"identity_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"kind":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"outbound_ip_address_list":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"outbound_ip_addresses":{"type":"TypeString","computed":true},"possible_outbound_ip_address_list":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"possible_outbound_ip_addresses":{"type":"TypeString","computed":true},"public_network_access_enabled":{"type":"TypeBool","computed":true},"resource_group_name":{"type":"TypeString","required":true},"service_plan_id":{"type":"TypeString","computed":true},"site_config":{"type":"TypeList","computed":true,"elem":{"schema":{"always_on":{"type":"TypeBool","computed":true},"api_definition_url":{"type":"TypeString","computed":true},"api_management_api_id":{"type":"TypeString","computed":true},"app_command_line":{"type":"TypeString","computed":true},"app_scale_limit":{"type":"TypeInt","computed":true},"app_service_logs":{"type":"TypeList","computed":true,"elem":{"schema":{"disk_quota_mb":{"type":"TypeInt","computed":true},"retention_period_days":{"type":"TypeInt","computed":true}}}},"application_insights_connection_string":{"type":"TypeString","computed":true},"application_insights_key":{"type":"TypeString","computed":true},"application_stack":{"type":"TypeList","computed":true,"elem":{"schema":{"dotnet_version":{"type":"TypeString","computed":true},"java_version":{"type":"TypeString","computed":true},"node_version":{"type":"TypeString","computed":true},"powershell_core_version":{"type":"TypeString","computed":true},"use_custom_runtime":{"type":"TypeBool","computed":true},"use_dotnet_isolated_runtime":{"type":"TypeBool","computed":true}}}},"cors":{"type":"TypeList","computed":true,"elem":{"schema":{"allowed_origins":{"type":"TypeList","description":"The list of origins that are allowed to make cross-origin calls.","computed":true,"elem":{"type":"TypeString"}},"support_credentials":{"type":"TypeBool","description":"Are credentials allowed in CORS requests?","computed":true}}}},"default_documents":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"detailed_error_logging_enabled":{"type":"TypeBool","computed":true},"elastic_instance_minimum":{"type":"TypeInt","computed":true},"ftps_state":{"type":"TypeString","computed":true},"health_check_eviction_time_in_min":{"type":"TypeInt","computed":true},"health_check_path":{"type":"TypeString","computed":true},"http2_enabled":{"type":"TypeBool","computed":true},"ip_restriction":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"action":{"type":"TypeString","description":"The action to take.","computed":true},"description":{"type":"TypeString","description":"The description of the ip restriction rule.","computed":true},"headers":{"type":"TypeList","computed":true,"elem":{"schema":{"x_azure_fdid":{"type":"TypeList","description":"The list of Azure Front Door IDs.","computed":true,"elem":{"type":"TypeString"}},"x_fd_health_probe":{"type":"TypeList","description":"Specifies if a Front Door Health Probe is expected.","computed":true,"elem":{"type":"TypeString"}},"x_forwarded_for":{"type":"TypeList","description":"The list of addresses for which matching is applied.","computed":true,"elem":{"type":"TypeString"}},"x_forwarded_host":{"type":"TypeList","description":"The list of Hosts for which matching will be applied.","computed":true,"elem":{"type":"TypeString"}}}}},"ip_address":{"type":"TypeString","description":"The CIDR notation of the IP or IP Range to match.","computed":true},"name":{"type":"TypeString","description":"The name used for this `ip_restriction`.","computed":true},"priority":{"type":"TypeInt","description":"The priority value of this `ip_restriction`.","computed":true},"service_tag":{"type":"TypeString","description":"The Service Tag used for this IP Restriction.","computed":true},"virtual_network_subnet_id":{"type":"TypeString","description":"The Virtual Network Subnet ID used for this IP Restriction.","computed":true}}}},"ip_restriction_default_action":{"type":"TypeString","computed":true},"load_balancing_mode":{"type":"TypeString","computed":true},"managed_pipeline_mode":{"type":"TypeString","computed":true},"minimum_tls_version":{"type":"TypeString","computed":true},"pre_warmed_instance_count":{"type":"TypeInt","computed":true},"remote_debugging_enabled":{"type":"TypeBool","computed":true},"remote_debugging_version":{"type":"TypeString","computed":true},"runtime_scale_monitoring_enabled":{"type":"TypeBool","computed":true},"scm_ip_restriction":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"action":{"type":"TypeString","description":"The action to take.","computed":true},"description":{"type":"TypeString","description":"The description of the ip restriction rule.","computed":true},"headers":{"type":"TypeList","computed":true,"elem":{"schema":{"x_azure_fdid":{"type":"TypeList","description":"The list of Azure Front Door IDs.","computed":true,"elem":{"type":"TypeString"}},"x_fd_health_probe":{"type":"TypeList","description":"Specifies if a Front Door Health Probe is expected.","computed":true,"elem":{"type":"TypeString"}},"x_forwarded_for":{"type":"TypeList","description":"The list of addresses for which matching is applied.","computed":true,"elem":{"type":"TypeString"}},"x_forwarded_host":{"type":"TypeList","description":"The list of Hosts for which matching will be applied.","computed":true,"elem":{"type":"TypeString"}}}}},"ip_address":{"type":"TypeString","description":"The CIDR notation of the IP or IP Range to match.","computed":true},"name":{"type":"TypeString","description":"The name used for this `ip_restriction`.","computed":true},"priority":{"type":"TypeInt","description":"The priority value of this `ip_restriction`.","computed":true},"service_tag":{"type":"TypeString","description":"The Service Tag used for this IP Restriction.","computed":true},"virtual_network_subnet_id":{"type":"TypeString","description":"The Virtual Network Subnet ID used for this IP Restriction.","computed":true}}}},"scm_ip_restriction_default_action":{"type":"TypeString","computed":true},"scm_minimum_tls_version":{"type":"TypeString","computed":true},"scm_type":{"type":"TypeString","computed":true},"scm_use_main_ip_restriction":{"type":"TypeBool","computed":true},"use_32_bit_worker":{"type":"TypeBool","computed":true},"vnet_route_all_enabled":{"type":"TypeBool","computed":true},"websockets_enabled":{"type":"TypeBool","computed":true},"windows_fx_version":{"type":"TypeString","computed":true},"worker_count":{"type":"TypeInt","computed":true}}}},"site_credential":{"type":"TypeList","computed":true,"elem":{"schema":{"name":{"type":"TypeString","description":"The Site Credentials Username used for publishing.","computed":true},"password":{"type":"TypeString","description":"The Site Credentials Password used for publishing.","computed":true}}}},"sticky_settings":{"type":"TypeList","computed":true,"elem":{"schema":{"app_setting_names":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"connection_string_names":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}}},"storage_account_access_key":{"type":"TypeString","computed":true},"storage_account_name":{"type":"TypeString","computed":true},"storage_key_vault_secret_id":{"type":"TypeString","description":"The Key Vault Secret ID, including version, that contains the Connection String used to connect to the storage account for this Function App.","computed":true},"storage_uses_managed_identity":{"type":"TypeBool","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"virtual_network_subnet_id":{"type":"TypeString","computed":true},"webdeploy_publish_basic_authentication_enabled":{"type":"TypeBool","computed":true}},"timeouts":{"read":10}},"azurerm_windows_web_app":{"schema":{"app_settings":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"auth_settings":{"type":"TypeList","computed":true,"elem":{"schema":{"active_directory":{"type":"TypeList","computed":true,"elem":{"schema":{"allowed_audiences":{"type":"TypeList","description":"The list of Allowed audience values considered when validating JWTs issued by Azure Active Directory.","computed":true,"elem":{"type":"TypeString"}},"client_id":{"type":"TypeString","description":"The ID of the Client to use to authenticate with Azure Active Directory.","computed":true},"client_secret":{"type":"TypeString","description":"The Client Secret for the Client ID.","computed":true},"client_secret_setting_name":{"type":"TypeString","description":"The App Setting name that contains the client secret of the Client.","computed":true}}}},"additional_login_parameters":{"type":"TypeMap","description":"The map of Login Parameters sent to the OpenID Connect authorization endpoint when a user logs in.","computed":true,"elem":{"type":"TypeString"}},"allowed_external_redirect_urls":{"type":"TypeList","description":"Specifies a list of External URLs that can be redirected to as part of logging in or logging out of the Windows Web App.","computed":true,"elem":{"type":"TypeString"}},"default_provider":{"type":"TypeString","description":"The default authentication provider used when multiple providers are configured. Possible values include: `AzureActiveDirectory`, `Facebook`, `Google`, `MicrosoftAccount`, `Twitter`, `Github`.","computed":true},"enabled":{"type":"TypeBool","description":"Is the Authentication / Authorization feature enabled?","computed":true},"facebook":{"type":"TypeList","computed":true,"elem":{"schema":{"app_id":{"type":"TypeString","description":"The App ID of the Facebook app used for login.","computed":true},"app_secret":{"type":"TypeString","description":"The App Secret of the Facebook app used for Facebook Login.","computed":true},"app_secret_setting_name":{"type":"TypeString","description":"The app setting name that contains the `app_secret` value used for Facebook Login.","computed":true},"oauth_scopes":{"type":"TypeList","description":"The list of OAuth 2.0 scopes requested as part of Facebook Login authentication.","computed":true,"elem":{"type":"TypeString"}}}}},"github":{"type":"TypeList","computed":true,"elem":{"schema":{"client_id":{"type":"TypeString","description":"The ID of the GitHub app used for login.","computed":true},"client_secret":{"type":"TypeString","description":"The Client Secret of the GitHub app used for GitHub Login.","computed":true},"client_secret_setting_name":{"type":"TypeString","description":"The app setting name that contains the `client_secret` value used for GitHub Login.","computed":true},"oauth_scopes":{"type":"TypeList","description":"The list of OAuth 2.0 scopes requested as part of GitHub Login authentication.","computed":true,"elem":{"type":"TypeString"}}}}},"google":{"type":"TypeList","computed":true,"elem":{"schema":{"client_id":{"type":"TypeString","description":"The OpenID Connect Client ID for the Google web application.","computed":true},"client_secret":{"type":"TypeString","description":"The client secret associated with the Google web application.","computed":true},"client_secret_setting_name":{"type":"TypeString","description":"The app setting name that contains the `client_secret` value used for Google Login.","computed":true},"oauth_scopes":{"type":"TypeList","description":"The list of OAuth 2.0 scopes that requested as part of Google Sign-In authentication.","computed":true,"elem":{"type":"TypeString"}}}}},"issuer":{"type":"TypeString","description":"The OpenID Connect Issuer URI that represents the entity which issues access tokens.","computed":true},"microsoft":{"type":"TypeList","computed":true,"elem":{"schema":{"client_id":{"type":"TypeString","description":"The OAuth 2.0 client ID that was created for the app used for authentication.","computed":true},"client_secret":{"type":"TypeString","description":"The OAuth 2.0 client secret that was created for the app used for authentication.","computed":true},"client_secret_setting_name":{"type":"TypeString","description":"The app setting name containing the OAuth 2.0 client secret that was created for the app used for authentication.","computed":true},"oauth_scopes":{"type":"TypeList","description":"The list of OAuth 2.0 scopes requested as part of Microsoft Account authentication.","computed":true,"elem":{"type":"TypeString"}}}}},"runtime_version":{"type":"TypeString","description":"The RuntimeVersion of the Authentication / Authorization feature in use.","computed":true},"token_refresh_extension_hours":{"type":"TypeFloat","description":"The number of hours after session token expiration that a session token can be used to call the token refresh API.","computed":true},"token_store_enabled":{"type":"TypeBool","description":"Are platform-specific security tokens that are obtained during login flows durably stored?","computed":true},"twitter":{"type":"TypeList","computed":true,"elem":{"schema":{"consumer_key":{"type":"TypeString","description":"The OAuth 1.0a consumer key of the Twitter application used for sign-in.","computed":true},"consumer_secret":{"type":"TypeString","description":"The OAuth 1.0a consumer secret of the Twitter application used for sign-in.","computed":true},"consumer_secret_setting_name":{"type":"TypeString","description":"The app setting name that contains the OAuth 1.0a consumer secret of the Twitter application used for sign-in.","computed":true}}}},"unauthenticated_client_action":{"type":"TypeString","description":"The action taken when an unauthenticated client attempts to access the app.","computed":true}}}},"auth_settings_v2":{"type":"TypeList","computed":true,"elem":{"schema":{"active_directory_v2":{"type":"TypeList","computed":true,"elem":{"schema":{"allowed_applications":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"allowed_audiences":{"type":"TypeList","description":"Specifies a list of Allowed audience values to consider when validating JWTs issued by Azure Active Directory.","computed":true,"elem":{"type":"TypeString"}},"allowed_groups":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"allowed_identities":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"client_id":{"type":"TypeString","description":"The ID of the Client to use to authenticate with Azure Active Directory.","computed":true},"client_secret_certificate_thumbprint":{"type":"TypeString","description":"The thumbprint of the certificate used for signing purposes.","computed":true},"client_secret_setting_name":{"type":"TypeString","description":"The App Setting name that contains the client secret of the Client.","computed":true},"jwt_allowed_client_applications":{"type":"TypeList","description":"A list of Allowed Client Applications in the JWT Claim.","computed":true,"elem":{"type":"TypeString"}},"jwt_allowed_groups":{"type":"TypeList","description":"A list of Allowed Groups in the JWT Claim.","computed":true,"elem":{"type":"TypeString"}},"login_parameters":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"tenant_auth_endpoint":{"type":"TypeString","description":"The Azure Tenant URI for the Authenticating Tenant. e.g. `https://login.microsoftonline.com/v2.0/{tenant-guid}/`","computed":true},"www_authentication_disabled":{"type":"TypeBool","description":"Is the www-authenticate provider omitted from the request?","computed":true}}}},"apple_v2":{"type":"TypeList","computed":true,"elem":{"schema":{"client_id":{"type":"TypeString","description":"The OpenID Connect Client ID for the Apple web application.","computed":true},"client_secret_setting_name":{"type":"TypeString","description":"The app setting name that contains the `client_secret` value used for Apple Login.","computed":true},"login_scopes":{"type":"TypeList","description":"Specifies a list of OAuth 2.0 scopes that will be requested as part of Apple Sign-In authentication. If not specified, \"openid\", \"profile\", and \"email\" are used as default scopes.","computed":true,"elem":{"type":"TypeString"}}}}},"auth_enabled":{"type":"TypeBool","description":"Is the AuthV2 Settings be enabled.","computed":true},"azure_static_web_app_v2":{"type":"TypeList","computed":true,"elem":{"schema":{"client_id":{"type":"TypeString","description":"The ID of the Client used to authenticate with Azure Static Web App Authentication.","computed":true}}}},"config_file_path":{"type":"TypeString","description":"The path to the App Auth settings.","computed":true},"custom_oidc_v2":{"type":"TypeList","computed":true,"elem":{"schema":{"authorisation_endpoint":{"type":"TypeString","description":"The endpoint to make the Authorisation Request.","computed":true},"certification_uri":{"type":"TypeString","description":"The endpoint that provides the keys necessary to validate the token.","computed":true},"client_credential_method":{"type":"TypeString","description":"The Client Credential Method used. Currently the only supported value is `ClientSecretPost`","computed":true},"client_id":{"type":"TypeString","description":"The ID of the Client used to authenticate with this Custom OIDC.","computed":true},"client_secret_setting_name":{"type":"TypeString","description":"The App Setting name that contains the secret for this Custom OIDC Client.","computed":true},"issuer_endpoint":{"type":"TypeString","description":"The endpoint that issued the Token.","computed":true},"name":{"type":"TypeString","description":"The name of the Custom OIDC Authentication Provider.","computed":true},"name_claim_type":{"type":"TypeString","description":"The name of the claim that contains the users name.","computed":true},"openid_configuration_endpoint":{"type":"TypeString","description":"The endpoint that contains all the configuration endpoints for this Custom OIDC provider.","computed":true},"scopes":{"type":"TypeList","description":"The list of the scopes that should be requested while authenticating.","computed":true,"elem":{"type":"TypeString"}},"token_endpoint":{"type":"TypeString","description":"The endpoint used to request a Token.","computed":true}}}},"default_provider":{"type":"TypeString","description":"The Default Authentication Provider used when the `unauthenticated_action` is set to `RedirectToLoginPage`.","computed":true},"excluded_paths":{"type":"TypeList","description":"The paths which are excluded from the `unauthenticated_action` when it is set to `RedirectToLoginPage`.","computed":true,"elem":{"type":"TypeString"}},"facebook_v2":{"type":"TypeList","computed":true,"elem":{"schema":{"app_id":{"type":"TypeString","description":"The App ID of the Facebook app used for login.","computed":true},"app_secret_setting_name":{"type":"TypeString","description":"The app setting name that contains the `app_secret` value used for Facebook Login.","computed":true},"graph_api_version":{"type":"TypeString","description":"The version of the Facebook API to be used while logging in.","computed":true},"login_scopes":{"type":"TypeList","description":"Specifies a list of OAuth 2.0 scopes to be requested as part of Facebook Login authentication.","computed":true,"elem":{"type":"TypeString"}}}}},"forward_proxy_convention":{"type":"TypeString","description":"The convention used to determine the url of the request made.","computed":true},"forward_proxy_custom_host_header_name":{"type":"TypeString","description":"The name of the header containing the host of the request.","computed":true},"forward_proxy_custom_scheme_header_name":{"type":"TypeString","description":"The name of the header containing the scheme of the request.","computed":true},"github_v2":{"type":"TypeList","computed":true,"elem":{"schema":{"client_id":{"type":"TypeString","description":"The ID of the GitHub app used for login.","computed":true},"client_secret_setting_name":{"type":"TypeString","description":"The app setting name that contains the `client_secret` value used for GitHub Login.","computed":true},"login_scopes":{"type":"TypeList","description":"Specifies a list of OAuth 2.0 scopes that will be requested as part of GitHub Login authentication.","computed":true,"elem":{"type":"TypeString"}}}}},"google_v2":{"type":"TypeList","computed":true,"elem":{"schema":{"allowed_audiences":{"type":"TypeList","description":"Specifies a list of Allowed Audiences that will be requested as part of Google Sign-In authentication. If not specified, \"openid\", \"profile\", and \"email\" are used as default scopes.","computed":true,"elem":{"type":"TypeString"}},"client_id":{"type":"TypeString","description":"The OpenID Connect Client ID for the Google web application.","computed":true},"client_secret_setting_name":{"type":"TypeString","description":"The app setting name that contains the `client_secret` value used for Google Login.","computed":true},"login_scopes":{"type":"TypeList","description":"The list of OAuth 2.0 scopes requested as part of Google Sign-In authentication. If not specified, \"openid\", \"profile\", and \"email\" are used as default scopes.","computed":true,"elem":{"type":"TypeString"}}}}},"http_route_api_prefix":{"type":"TypeString","description":"The prefix that precedes all the authentication and authorisation paths.","computed":true},"login":{"type":"TypeList","computed":true,"elem":{"schema":{"allowed_external_redirect_urls":{"type":"TypeList","description":"External URLs that can be redirected to as part of logging in or logging out of the app. This is an advanced setting typically only needed by Windows Store application backends. **Note:** URLs within the current domain are always implicitly allowed.","computed":true,"elem":{"type":"TypeString"}},"cookie_expiration_convention":{"type":"TypeString","computed":true},"cookie_expiration_time":{"type":"TypeString","description":"The time after the request is made when the session cookie will expire.","computed":true},"logout_endpoint":{"type":"TypeString","description":"The endpoint to which logout requests are made.","computed":true},"nonce_expiration_time":{"type":"TypeString","description":"The time after the request is made when the nonce will expire.","computed":true},"preserve_url_fragments_for_logins":{"type":"TypeBool","description":"Are the fragments from the request be preserved after the login request is made.","computed":true},"token_refresh_extension_time":{"type":"TypeFloat","description":"The number of hours after session token expiration that a session token can be used to call the token refresh API.","computed":true},"token_store_enabled":{"type":"TypeBool","description":"Is the Token Store configuration Enabled.","computed":true},"token_store_path":{"type":"TypeString","description":"The directory path in the App Filesystem in which the tokens are stored.","computed":true},"token_store_sas_setting_name":{"type":"TypeString","description":"The name of the app setting which contains the SAS URL of the blob storage containing the tokens.","computed":true},"validate_nonce":{"type":"TypeBool","description":"Is the nonce be validated while completing the login flow.","computed":true}}}},"microsoft_v2":{"type":"TypeList","computed":true,"elem":{"schema":{"allowed_audiences":{"type":"TypeList","description":"Specifies a list of Allowed Audiences that will be requested as part of Microsoft Sign-In authentication.","computed":true,"elem":{"type":"TypeString"}},"client_id":{"type":"TypeString","description":"The OAuth 2.0 client ID that was created for the app used for authentication.","computed":true},"client_secret_setting_name":{"type":"TypeString","description":"The app setting name containing the OAuth 2.0 client secret that was created for the app used for authentication.","computed":true},"login_scopes":{"type":"TypeList","description":"The list of Login scopes that will be requested as part of Microsoft Account authentication.","computed":true,"elem":{"type":"TypeString"}}}}},"require_authentication":{"type":"TypeBool","description":"Is the authentication flow used for all requests.","computed":true},"require_https":{"type":"TypeBool","description":"Is HTTPS required on connections?","computed":true},"runtime_version":{"type":"TypeString","description":"The Runtime Version of the Authentication and Authorisation feature of this App.","computed":true},"twitter_v2":{"type":"TypeList","computed":true,"elem":{"schema":{"consumer_key":{"type":"TypeString","description":"The OAuth 1.0a consumer key of the Twitter application used for sign-in.","computed":true},"consumer_secret_setting_name":{"type":"TypeString","description":"The app setting name that contains the OAuth 1.0a consumer secret of the Twitter application used for sign-in.","computed":true}}}},"unauthenticated_action":{"type":"TypeString","computed":true}}}},"backup":{"type":"TypeList","computed":true,"elem":{"schema":{"enabled":{"type":"TypeBool","description":"Is this backup job enabled?","computed":true},"name":{"type":"TypeString","description":"The name of this Backup.","computed":true},"schedule":{"type":"TypeList","computed":true,"elem":{"schema":{"frequency_interval":{"type":"TypeInt","description":"How often the backup should is executed in multiples of the `frequency_unit`.","computed":true},"frequency_unit":{"type":"TypeString","description":"The unit of time for how often the backup takes place.","computed":true},"keep_at_least_one_backup":{"type":"TypeBool","description":"Does the service keep at least one backup, regardless of age of backup.","computed":true},"last_execution_time":{"type":"TypeString","description":"The time the backup was last attempted.","computed":true},"retention_period_days":{"type":"TypeInt","description":"After how many days are backups deleted.","computed":true},"start_time":{"type":"TypeString","description":"When the schedule should start working in RFC-3339 format.","computed":true}}}},"storage_account_url":{"type":"TypeString","description":"The SAS URL to the container.","computed":true}}}},"client_affinity_enabled":{"type":"TypeBool","computed":true},"client_certificate_enabled":{"type":"TypeBool","computed":true},"client_certificate_exclusion_paths":{"type":"TypeString","description":"Paths to exclude when using client certificates, separated by ;","computed":true},"client_certificate_mode":{"type":"TypeString","computed":true},"connection_string":{"type":"TypeSet","computed":true,"elem":{"schema":{"name":{"type":"TypeString","description":"The name of this Connection.","computed":true},"type":{"type":"TypeString","description":"The type of database.","computed":true},"value":{"type":"TypeString","description":"The connection string value.","computed":true}}}},"custom_domain_verification_id":{"type":"TypeString","computed":true},"default_hostname":{"type":"TypeString","computed":true},"enabled":{"type":"TypeBool","computed":true},"ftp_publish_basic_authentication_enabled":{"type":"TypeBool","computed":true},"hosting_environment_id":{"type":"TypeString","computed":true},"https_only":{"type":"TypeBool","computed":true},"identity":{"type":"TypeList","computed":true,"elem":{"schema":{"identity_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"kind":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"logs":{"type":"TypeList","computed":true,"elem":{"schema":{"application_logs":{"type":"TypeList","computed":true,"elem":{"schema":{"azure_blob_storage":{"type":"TypeList","computed":true,"elem":{"schema":{"level":{"type":"TypeString","computed":true},"retention_in_days":{"type":"TypeInt","computed":true},"sas_url":{"type":"TypeString","computed":true}}}},"file_system_level":{"type":"TypeString","computed":true}}}},"detailed_error_messages":{"type":"TypeBool","computed":true},"failed_request_tracing":{"type":"TypeBool","computed":true},"http_logs":{"type":"TypeList","computed":true,"elem":{"schema":{"azure_blob_storage":{"type":"TypeList","computed":true,"elem":{"schema":{"retention_in_days":{"type":"TypeInt","computed":true},"sas_url":{"type":"TypeString","computed":true}}}},"file_system":{"type":"TypeList","computed":true,"elem":{"schema":{"retention_in_days":{"type":"TypeInt","computed":true},"retention_in_mb":{"type":"TypeInt","computed":true}}}}}}}}}},"name":{"type":"TypeString","required":true},"outbound_ip_address_list":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"outbound_ip_addresses":{"type":"TypeString","computed":true},"possible_outbound_ip_address_list":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"possible_outbound_ip_addresses":{"type":"TypeString","computed":true},"public_network_access_enabled":{"type":"TypeBool","computed":true},"resource_group_name":{"type":"TypeString","required":true},"service_plan_id":{"type":"TypeString","computed":true},"site_config":{"type":"TypeList","computed":true,"elem":{"schema":{"always_on":{"type":"TypeBool","computed":true},"api_definition_url":{"type":"TypeString","computed":true},"api_management_api_id":{"type":"TypeString","computed":true},"app_command_line":{"type":"TypeString","computed":true},"application_stack":{"type":"TypeList","computed":true,"elem":{"schema":{"current_stack":{"type":"TypeString","computed":true},"docker_image_name":{"type":"TypeString","computed":true},"docker_registry_password":{"type":"TypeString","computed":true},"docker_registry_url":{"type":"TypeString","computed":true},"docker_registry_username":{"type":"TypeString","computed":true},"dotnet_core_version":{"type":"TypeString","computed":true},"dotnet_version":{"type":"TypeString","computed":true},"java_container":{"type":"TypeString","computed":true},"java_container_version":{"type":"TypeString","computed":true},"java_embedded_server_enabled":{"type":"TypeBool","computed":true},"java_version":{"type":"TypeString","computed":true},"node_version":{"type":"TypeString","computed":true},"php_version":{"type":"TypeString","computed":true},"python":{"type":"TypeBool","computed":true},"python_version":{"type":"TypeString","computed":true},"tomcat_version":{"type":"TypeString","computed":true}}}},"auto_heal_setting":{"type":"TypeList","computed":true,"elem":{"schema":{"action":{"type":"TypeList","computed":true,"elem":{"schema":{"action_type":{"type":"TypeString","computed":true},"custom_action":{"type":"TypeList","computed":true,"elem":{"schema":{"executable":{"type":"TypeString","computed":true},"parameters":{"type":"TypeString","computed":true}}}},"minimum_process_execution_time":{"type":"TypeString","computed":true}}}},"trigger":{"type":"TypeList","computed":true,"elem":{"schema":{"private_memory_kb":{"type":"TypeInt","computed":true},"requests":{"type":"TypeList","computed":true,"elem":{"schema":{"count":{"type":"TypeInt","computed":true},"interval":{"type":"TypeString","computed":true}}}},"slow_request":{"type":"TypeList","computed":true,"elem":{"schema":{"count":{"type":"TypeInt","computed":true},"interval":{"type":"TypeString","computed":true},"time_taken":{"type":"TypeString","computed":true}}}},"slow_request_with_path":{"type":"TypeList","computed":true,"elem":{"schema":{"count":{"type":"TypeInt","computed":true},"interval":{"type":"TypeString","computed":true},"path":{"type":"TypeString","computed":true},"time_taken":{"type":"TypeString","computed":true}}}},"status_code":{"type":"TypeSet","computed":true,"elem":{"schema":{"count":{"type":"TypeInt","computed":true},"interval":{"type":"TypeString","computed":true},"path":{"type":"TypeString","computed":true},"status_code_range":{"type":"TypeString","computed":true},"sub_status":{"type":"TypeInt","computed":true},"win32_status_code":{"type":"TypeInt","computed":true}}}}}}}}}},"container_registry_managed_identity_client_id":{"type":"TypeString","computed":true},"container_registry_use_managed_identity":{"type":"TypeBool","computed":true},"cors":{"type":"TypeList","computed":true,"elem":{"schema":{"allowed_origins":{"type":"TypeList","description":"The list of origins that are allowed to make cross-origin calls.","computed":true,"elem":{"type":"TypeString"}},"support_credentials":{"type":"TypeBool","description":"Are credentials allowed in CORS requests?","computed":true}}}},"default_documents":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"detailed_error_logging_enabled":{"type":"TypeBool","computed":true},"ftps_state":{"type":"TypeString","computed":true},"handler_mapping":{"type":"TypeSet","computed":true,"elem":{"schema":{"arguments":{"type":"TypeString","computed":true},"extension":{"type":"TypeString","computed":true},"script_processor_path":{"type":"TypeString","computed":true}}}},"health_check_eviction_time_in_min":{"type":"TypeInt","computed":true},"health_check_path":{"type":"TypeString","computed":true},"http2_enabled":{"type":"TypeBool","computed":true},"ip_restriction":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"action":{"type":"TypeString","description":"The action to take.","computed":true},"description":{"type":"TypeString","description":"The description of the ip restriction rule.","computed":true},"headers":{"type":"TypeList","computed":true,"elem":{"schema":{"x_azure_fdid":{"type":"TypeList","description":"The list of Azure Front Door IDs.","computed":true,"elem":{"type":"TypeString"}},"x_fd_health_probe":{"type":"TypeList","description":"Specifies if a Front Door Health Probe is expected.","computed":true,"elem":{"type":"TypeString"}},"x_forwarded_for":{"type":"TypeList","description":"The list of addresses for which matching is applied.","computed":true,"elem":{"type":"TypeString"}},"x_forwarded_host":{"type":"TypeList","description":"The list of Hosts for which matching will be applied.","computed":true,"elem":{"type":"TypeString"}}}}},"ip_address":{"type":"TypeString","description":"The CIDR notation of the IP or IP Range to match.","computed":true},"name":{"type":"TypeString","description":"The name used for this `ip_restriction`.","computed":true},"priority":{"type":"TypeInt","description":"The priority value of this `ip_restriction`.","computed":true},"service_tag":{"type":"TypeString","description":"The Service Tag used for this IP Restriction.","computed":true},"virtual_network_subnet_id":{"type":"TypeString","description":"The Virtual Network Subnet ID used for this IP Restriction.","computed":true}}}},"ip_restriction_default_action":{"type":"TypeString","computed":true},"load_balancing_mode":{"type":"TypeString","computed":true},"local_mysql_enabled":{"type":"TypeBool","computed":true},"managed_pipeline_mode":{"type":"TypeString","computed":true},"minimum_tls_version":{"type":"TypeString","computed":true},"remote_debugging_enabled":{"type":"TypeBool","computed":true},"remote_debugging_version":{"type":"TypeString","computed":true},"scm_ip_restriction":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"action":{"type":"TypeString","description":"The action to take.","computed":true},"description":{"type":"TypeString","description":"The description of the ip restriction rule.","computed":true},"headers":{"type":"TypeList","computed":true,"elem":{"schema":{"x_azure_fdid":{"type":"TypeList","description":"The list of Azure Front Door IDs.","computed":true,"elem":{"type":"TypeString"}},"x_fd_health_probe":{"type":"TypeList","description":"Specifies if a Front Door Health Probe is expected.","computed":true,"elem":{"type":"TypeString"}},"x_forwarded_for":{"type":"TypeList","description":"The list of addresses for which matching is applied.","computed":true,"elem":{"type":"TypeString"}},"x_forwarded_host":{"type":"TypeList","description":"The list of Hosts for which matching will be applied.","computed":true,"elem":{"type":"TypeString"}}}}},"ip_address":{"type":"TypeString","description":"The CIDR notation of the IP or IP Range to match.","computed":true},"name":{"type":"TypeString","description":"The name used for this `ip_restriction`.","computed":true},"priority":{"type":"TypeInt","description":"The priority value of this `ip_restriction`.","computed":true},"service_tag":{"type":"TypeString","description":"The Service Tag used for this IP Restriction.","computed":true},"virtual_network_subnet_id":{"type":"TypeString","description":"The Virtual Network Subnet ID used for this IP Restriction.","computed":true}}}},"scm_ip_restriction_default_action":{"type":"TypeString","computed":true},"scm_minimum_tls_version":{"type":"TypeString","computed":true},"scm_type":{"type":"TypeString","computed":true},"scm_use_main_ip_restriction":{"type":"TypeBool","computed":true},"use_32_bit_worker":{"type":"TypeBool","computed":true},"virtual_application":{"type":"TypeList","computed":true,"elem":{"schema":{"physical_path":{"type":"TypeString","computed":true},"preload":{"type":"TypeBool","computed":true},"virtual_directory":{"type":"TypeList","computed":true,"elem":{"schema":{"physical_path":{"type":"TypeString","computed":true},"virtual_path":{"type":"TypeString","computed":true}}}},"virtual_path":{"type":"TypeString","computed":true}}}},"vnet_route_all_enabled":{"type":"TypeBool","computed":true},"websockets_enabled":{"type":"TypeBool","computed":true},"windows_fx_version":{"type":"TypeString","computed":true},"worker_count":{"type":"TypeInt","computed":true}}}},"site_credential":{"type":"TypeList","computed":true,"elem":{"schema":{"name":{"type":"TypeString","description":"The Site Credentials Username used for publishing.","computed":true},"password":{"type":"TypeString","description":"The Site Credentials Password used for publishing.","computed":true}}}},"sticky_settings":{"type":"TypeList","computed":true,"elem":{"schema":{"app_setting_names":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"connection_string_names":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}}},"storage_account":{"type":"TypeList","computed":true,"elem":{"schema":{"access_key":{"type":"TypeString","computed":true},"account_name":{"type":"TypeString","computed":true},"mount_path":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"share_name":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"virtual_network_subnet_id":{"type":"TypeString","computed":true},"webdeploy_publish_basic_authentication_enabled":{"type":"TypeBool","computed":true}},"timeouts":{"read":10}}}}} +{"providerName":"azurerm","schemaVersion":"1","providerSchema":{"schema":{"auxiliary_tenant_ids":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"maxItems":3},"client_certificate":{"type":"TypeString","optional":true,"description":"Base64 encoded PKCS#12 certificate bundle to use when authenticating as a Service Principal using a Client Certificate"},"client_certificate_password":{"type":"TypeString","optional":true,"description":"The password associated with the Client Certificate. For use when authenticating as a Service Principal using a Client Certificate"},"client_certificate_path":{"type":"TypeString","optional":true,"description":"The path to the Client Certificate associated with the Service Principal for use when authenticating as a Service Principal using a Client Certificate."},"client_id":{"type":"TypeString","optional":true,"description":"The Client ID which should be used."},"client_id_file_path":{"type":"TypeString","optional":true,"description":"The path to a file containing the Client ID which should be used."},"client_secret":{"type":"TypeString","optional":true,"description":"The Client Secret which should be used. For use When authenticating as a Service Principal using a Client Secret."},"client_secret_file_path":{"type":"TypeString","optional":true,"description":"The path to a file containing the Client Secret which should be used. For use When authenticating as a Service Principal using a Client Secret."},"disable_correlation_request_id":{"type":"TypeBool","optional":true,"description":"This will disable the x-ms-correlation-request-id header."},"disable_terraform_partner_id":{"type":"TypeBool","optional":true,"description":"This will disable the Terraform Partner ID which is used if a custom `partner_id` isn't specified."},"environment":{"type":"TypeString","optional":true,"description":"The Cloud Environment which should be used. Possible values are public, usgovernment, and china. Defaults to public. Not used and should not be specified when `metadata_host` is specified."},"features":{"type":"TypeList","required":true,"elem":{"schema":{"api_management":{"type":"TypeList","optional":true,"elem":{"schema":{"purge_soft_delete_on_destroy":{"type":"TypeBool","optional":true,"default":true},"recover_soft_deleted":{"type":"TypeBool","optional":true,"default":true}}},"maxItems":1},"app_configuration":{"type":"TypeList","optional":true,"elem":{"schema":{"purge_soft_delete_on_destroy":{"type":"TypeBool","optional":true,"default":true},"recover_soft_deleted":{"type":"TypeBool","optional":true,"default":true}}},"maxItems":1},"application_insights":{"type":"TypeList","optional":true,"elem":{"schema":{"disable_generated_rule":{"type":"TypeBool","optional":true,"default":false}}},"maxItems":1},"cognitive_account":{"type":"TypeList","optional":true,"elem":{"schema":{"purge_soft_delete_on_destroy":{"type":"TypeBool","optional":true,"default":true}}},"maxItems":1},"key_vault":{"type":"TypeList","optional":true,"elem":{"schema":{"purge_soft_delete_on_destroy":{"type":"TypeBool","optional":true,"default":true,"description":"When enabled soft-deleted `azurerm_key_vault` resources will be permanently deleted (e.g purged), when destroyed"},"purge_soft_deleted_certificates_on_destroy":{"type":"TypeBool","optional":true,"default":true,"description":"When enabled soft-deleted `azurerm_key_vault_certificate` resources will be permanently deleted (e.g purged), when destroyed"},"purge_soft_deleted_hardware_security_module_keys_on_destroy":{"type":"TypeBool","optional":true,"default":true,"description":"When enabled soft-deleted `azurerm_key_vault_managed_hardware_security_module_key` resources will be permanently deleted (e.g purged), when destroyed"},"purge_soft_deleted_hardware_security_modules_on_destroy":{"type":"TypeBool","optional":true,"default":true,"description":"When enabled soft-deleted `azurerm_key_vault_managed_hardware_security_module` resources will be permanently deleted (e.g purged), when destroyed"},"purge_soft_deleted_keys_on_destroy":{"type":"TypeBool","optional":true,"default":true,"description":"When enabled soft-deleted `azurerm_key_vault_key` resources will be permanently deleted (e.g purged), when destroyed"},"purge_soft_deleted_secrets_on_destroy":{"type":"TypeBool","optional":true,"default":true,"description":"When enabled soft-deleted `azurerm_key_vault_secret` resources will be permanently deleted (e.g purged), when destroyed"},"recover_soft_deleted_certificates":{"type":"TypeBool","optional":true,"default":true,"description":"When enabled soft-deleted `azurerm_key_vault_certificate` resources will be restored, instead of creating new ones"},"recover_soft_deleted_hardware_security_module_keys":{"type":"TypeBool","optional":true,"default":true,"description":"When enabled soft-deleted `azurerm_key_vault_managed_hardware_security_module_key` resources will be restored, instead of creating new ones"},"recover_soft_deleted_key_vaults":{"type":"TypeBool","optional":true,"default":true,"description":"When enabled soft-deleted `azurerm_key_vault` resources will be restored, instead of creating new ones"},"recover_soft_deleted_keys":{"type":"TypeBool","optional":true,"default":true,"description":"When enabled soft-deleted `azurerm_key_vault_key` resources will be restored, instead of creating new ones"},"recover_soft_deleted_secrets":{"type":"TypeBool","optional":true,"default":true,"description":"When enabled soft-deleted `azurerm_key_vault_secret` resources will be restored, instead of creating new ones"}}},"maxItems":1},"log_analytics_workspace":{"type":"TypeList","optional":true,"elem":{"schema":{"permanently_delete_on_destroy":{"type":"TypeBool","optional":true,"default":false}}},"maxItems":1},"machine_learning":{"type":"TypeList","optional":true,"elem":{"schema":{"purge_soft_deleted_workspace_on_destroy":{"type":"TypeBool","optional":true,"default":false}}},"maxItems":1},"managed_disk":{"type":"TypeList","optional":true,"elem":{"schema":{"expand_without_downtime":{"type":"TypeBool","optional":true,"default":true}}},"maxItems":1},"postgresql_flexible_server":{"type":"TypeList","optional":true,"elem":{"schema":{"restart_server_on_configuration_value_change":{"type":"TypeBool","optional":true,"default":true}}},"maxItems":1},"recovery_service":{"type":"TypeList","optional":true,"elem":{"schema":{"purge_protected_items_from_vault_on_destroy":{"type":"TypeBool","optional":true,"default":false},"vm_backup_stop_protection_and_retain_data_on_destroy":{"type":"TypeBool","optional":true,"default":false}}},"maxItems":1},"recovery_services_vaults":{"type":"TypeList","optional":true,"elem":{"schema":{"recover_soft_deleted_backup_protected_vm":{"type":"TypeBool","optional":true,"default":false}}},"maxItems":1},"resource_group":{"type":"TypeList","optional":true,"elem":{"schema":{"prevent_deletion_if_contains_resources":{"type":"TypeBool","optional":true,"default":true}}},"maxItems":1},"subscription":{"type":"TypeList","optional":true,"elem":{"schema":{"prevent_cancellation_on_destroy":{"type":"TypeBool","optional":true,"default":false}}},"maxItems":1},"template_deployment":{"type":"TypeList","optional":true,"elem":{"schema":{"delete_nested_items_during_deletion":{"type":"TypeBool","required":true}}},"maxItems":1},"virtual_machine":{"type":"TypeList","optional":true,"elem":{"schema":{"delete_os_disk_on_deletion":{"type":"TypeBool","optional":true,"default":false},"detach_implicit_data_disk_on_deletion":{"type":"TypeBool","optional":true,"default":false},"graceful_shutdown":{"type":"TypeBool","optional":true,"default":false},"skip_shutdown_and_force_delete":{"type":"TypeBool","optional":true,"default":false}}},"maxItems":1},"virtual_machine_scale_set":{"type":"TypeList","optional":true,"elem":{"schema":{"force_delete":{"type":"TypeBool","optional":true,"default":false},"reimage_on_manual_upgrade":{"type":"TypeBool","optional":true,"default":true},"roll_instances_when_required":{"type":"TypeBool","optional":true,"default":true},"scale_to_zero_before_deletion":{"type":"TypeBool","optional":true,"default":false}}},"maxItems":1}}},"maxItems":1,"minItems":1},"metadata_host":{"type":"TypeString","optional":true,"description":"The Hostname which should be used for the Azure Metadata Service."},"msi_endpoint":{"type":"TypeString","optional":true,"description":"The path to a custom endpoint for Managed Service Identity - in most circumstances this should be detected automatically. "},"oidc_request_token":{"type":"TypeString","optional":true,"description":"The bearer token for the request to the OIDC provider. For use when authenticating as a Service Principal using OpenID Connect."},"oidc_request_url":{"type":"TypeString","optional":true,"description":"The URL for the OIDC provider from which to request an ID token. For use when authenticating as a Service Principal using OpenID Connect."},"oidc_token":{"type":"TypeString","optional":true,"description":"The OIDC ID token for use when authenticating as a Service Principal using OpenID Connect."},"oidc_token_file_path":{"type":"TypeString","optional":true,"description":"The path to a file containing an OIDC ID token for use when authenticating as a Service Principal using OpenID Connect."},"partner_id":{"type":"TypeString","optional":true,"description":"A GUID/UUID that is registered with Microsoft to facilitate partner resource usage attribution."},"resource_provider_registrations":{"type":"TypeString","optional":true,"description":"The set of Resource Providers which should be automatically registered for the subscription."},"resource_providers_to_register":{"type":"TypeList","optional":true,"description":"A list of Resource Providers to explicitly register for the subscription, in addition to those specified by the `resource_provider_registrations` property.","elem":{"type":"TypeString"}},"skip_provider_registration":{"type":"TypeBool","optional":true,"description":"Should the AzureRM Provider skip registering all of the Resource Providers that it supports, if they're not already registered?"},"storage_use_azuread":{"type":"TypeBool","optional":true,"description":"Should the AzureRM Provider use Azure AD Authentication when accessing the Storage Data Plane APIs?"},"subscription_id":{"type":"TypeString","optional":true,"description":"The Subscription ID which should be used."},"tenant_id":{"type":"TypeString","optional":true,"description":"The Tenant ID which should be used."},"use_aks_workload_identity":{"type":"TypeBool","optional":true,"description":"Allow Azure AKS Workload Identity to be used for Authentication."},"use_cli":{"type":"TypeBool","optional":true,"default":true,"description":"Allow Azure CLI to be used for Authentication."},"use_msi":{"type":"TypeBool","optional":true,"description":"Allow Managed Service Identity to be used for Authentication."},"use_oidc":{"type":"TypeBool","optional":true,"description":"Allow OpenID Connect to be used for authentication"}},"resources":{"azurerm_aadb2c_directory":{"schema":{"billing_type":{"type":"TypeString","description":"The type of billing for the B2C tenant. Possible values include: `MAU` or `Auths`.","computed":true},"country_code":{"type":"TypeString","optional":true,"description":"Country code of the B2C tenant. See https://aka.ms/B2CDataResidency for valid country codes.","computed":true,"forceNew":true},"data_residency_location":{"type":"TypeString","required":true,"description":"Location in which the B2C tenant is hosted and data resides. See https://aka.ms/B2CDataResidency for more information.","forceNew":true},"display_name":{"type":"TypeString","optional":true,"description":"The initial display name of the B2C tenant.","computed":true,"forceNew":true},"domain_name":{"type":"TypeString","required":true,"description":"Domain name of the B2C tenant, including onmicrosoft.com suffix.","forceNew":true},"effective_start_date":{"type":"TypeString","description":"The date from which the billing type took effect. May not be populated until after the first billing cycle.","computed":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"sku_name":{"type":"TypeString","required":true,"description":"Billing SKU for the B2C tenant. See https://aka.ms/b2cBilling for more information."},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"tenant_id":{"type":"TypeString","description":"The Tenant ID for the B2C tenant.","computed":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_active_directory_domain_service":{"schema":{"deployment_id":{"type":"TypeString","computed":true},"domain_configuration_type":{"type":"TypeString","optional":true,"forceNew":true},"domain_name":{"type":"TypeString","required":true,"forceNew":true},"filtered_sync_enabled":{"type":"TypeBool","optional":true,"default":false},"initial_replica_set":{"type":"TypeList","required":true,"elem":{"schema":{"domain_controller_ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"external_access_ip_address":{"type":"TypeString","computed":true},"id":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"service_status":{"type":"TypeString","computed":true},"subnet_id":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1,"minItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"notifications":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"additional_recipients":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"notify_dc_admins":{"type":"TypeBool","optional":true,"default":false},"notify_global_admins":{"type":"TypeBool","optional":true,"default":false}}},"maxItems":1},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"resource_id":{"type":"TypeString","computed":true},"secure_ldap":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"certificate_expiry":{"type":"TypeString","computed":true},"certificate_thumbprint":{"type":"TypeString","computed":true},"enabled":{"type":"TypeBool","required":true},"external_access_enabled":{"type":"TypeBool","optional":true,"default":false},"pfx_certificate":{"type":"TypeString","required":true},"pfx_certificate_password":{"type":"TypeString","required":true},"public_certificate":{"type":"TypeString","computed":true}}},"maxItems":1},"security":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"kerberos_armoring_enabled":{"type":"TypeBool","optional":true,"default":false},"kerberos_rc4_encryption_enabled":{"type":"TypeBool","optional":true,"default":false},"ntlm_v1_enabled":{"type":"TypeBool","optional":true,"default":false},"sync_kerberos_passwords":{"type":"TypeBool","optional":true,"default":false},"sync_ntlm_passwords":{"type":"TypeBool","optional":true,"default":false},"sync_on_prem_passwords":{"type":"TypeBool","optional":true,"default":false},"tls_v1_enabled":{"type":"TypeBool","optional":true,"default":false}}},"maxItems":1},"sku":{"type":"TypeString","required":true},"sync_owner":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"tenant_id":{"type":"TypeString","computed":true},"version":{"type":"TypeInt","computed":true}},"timeouts":{"create":180,"read":5,"delete":60,"update":120}},"azurerm_active_directory_domain_service_replica_set":{"schema":{"domain_controller_ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"domain_service_id":{"type":"TypeString","required":true,"forceNew":true},"external_access_ip_address":{"type":"TypeString","computed":true},"location":{"type":"TypeString","required":true,"forceNew":true},"service_status":{"type":"TypeString","computed":true},"subnet_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":180,"read":5,"delete":60}},"azurerm_active_directory_domain_service_trust":{"schema":{"domain_service_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"password":{"type":"TypeString","required":true},"trusted_domain_dns_ips":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"minItems":2},"trusted_domain_fqdn":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_advanced_threat_protection":{"schema":{"enabled":{"type":"TypeBool","required":true},"target_resource_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_advisor_suppression":{"schema":{"name":{"type":"TypeString","required":true,"forceNew":true},"recommendation_id":{"type":"TypeString","required":true,"forceNew":true},"resource_id":{"type":"TypeString","required":true,"forceNew":true},"suppression_id":{"type":"TypeString","computed":true},"ttl":{"type":"TypeString","optional":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_ai_services":{"schema":{"custom_subdomain_name":{"type":"TypeString","optional":true,"forceNew":true},"customer_managed_key":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_client_id":{"type":"TypeString","optional":true},"key_vault_key_id":{"type":"TypeString","optional":true},"managed_hsm_key_id":{"type":"TypeString","optional":true}}},"maxItems":1},"endpoint":{"type":"TypeString","computed":true},"fqdns":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"local_authentication_enabled":{"type":"TypeBool","optional":true,"default":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"network_acls":{"type":"TypeList","optional":true,"elem":{"schema":{"default_action":{"type":"TypeString","required":true},"ip_rules":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"virtual_network_rules":{"type":"TypeSet","optional":true,"elem":{"schema":{"ignore_missing_vnet_service_endpoint":{"type":"TypeBool","optional":true,"default":false},"subnet_id":{"type":"TypeString","required":true}}}}}},"maxItems":1},"outbound_network_access_restricted":{"type":"TypeBool","optional":true,"default":false},"primary_access_key":{"type":"TypeString","computed":true},"public_network_access":{"type":"TypeString","optional":true,"default":"Enabled"},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"secondary_access_key":{"type":"TypeString","computed":true},"sku_name":{"type":"TypeString","required":true},"storage":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_client_id":{"type":"TypeString","optional":true},"storage_account_id":{"type":"TypeString","required":true}}}},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":180,"read":5,"delete":180,"update":180}},"azurerm_analysis_services_server":{"schema":{"admin_users":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"backup_blob_container_uri":{"type":"TypeString","optional":true},"ipv4_firewall_rule":{"type":"TypeSet","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"range_end":{"type":"TypeString","required":true},"range_start":{"type":"TypeString","required":true}}}},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"power_bi_service_enabled":{"type":"TypeBool","optional":true},"querypool_connection_mode":{"type":"TypeString","optional":true,"default":"All"},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"server_full_name":{"type":"TypeString","computed":true},"sku":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_api_connection":{"schema":{"display_name":{"type":"TypeString","optional":true,"default":"Service Bus","forceNew":true},"managed_api_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"parameter_values":{"type":"TypeMap","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_api_management":{"schema":{"additional_location":{"type":"TypeList","optional":true,"elem":{"schema":{"capacity":{"type":"TypeInt","optional":true,"computed":true},"gateway_disabled":{"type":"TypeBool","optional":true,"default":false},"gateway_regional_url":{"type":"TypeString","computed":true},"location":{"type":"TypeString","required":true},"private_ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"public_ip_address_id":{"type":"TypeString","optional":true},"public_ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"virtual_network_configuration":{"type":"TypeList","optional":true,"elem":{"schema":{"subnet_id":{"type":"TypeString","required":true}}},"maxItems":1},"zones":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}}}}},"certificate":{"type":"TypeList","optional":true,"elem":{"schema":{"certificate_password":{"type":"TypeString","optional":true},"encoded_certificate":{"type":"TypeString","required":true},"expiry":{"type":"TypeString","computed":true},"store_name":{"type":"TypeString","required":true},"subject":{"type":"TypeString","computed":true},"thumbprint":{"type":"TypeString","computed":true}}},"maxItems":10},"client_certificate_enabled":{"type":"TypeBool","optional":true,"default":false},"delegation":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"subscriptions_enabled":{"type":"TypeBool","optional":true,"default":false},"url":{"type":"TypeString","optional":true},"user_registration_enabled":{"type":"TypeBool","optional":true,"default":false},"validation_key":{"type":"TypeString","optional":true}}},"maxItems":1},"developer_portal_url":{"type":"TypeString","computed":true},"gateway_disabled":{"type":"TypeBool","optional":true,"default":false},"gateway_regional_url":{"type":"TypeString","computed":true},"gateway_url":{"type":"TypeString","computed":true},"hostname_configuration":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"developer_portal":{"type":"TypeList","optional":true,"elem":{"schema":{"certificate":{"type":"TypeString","optional":true},"certificate_password":{"type":"TypeString","optional":true},"certificate_source":{"type":"TypeString","computed":true},"certificate_status":{"type":"TypeString","computed":true},"expiry":{"type":"TypeString","computed":true},"host_name":{"type":"TypeString","required":true},"key_vault_id":{"type":"TypeString","optional":true},"negotiate_client_certificate":{"type":"TypeBool","optional":true,"default":false},"ssl_keyvault_identity_client_id":{"type":"TypeString","optional":true},"subject":{"type":"TypeString","computed":true},"thumbprint":{"type":"TypeString","computed":true}}}},"management":{"type":"TypeList","optional":true,"elem":{"schema":{"certificate":{"type":"TypeString","optional":true},"certificate_password":{"type":"TypeString","optional":true},"certificate_source":{"type":"TypeString","computed":true},"certificate_status":{"type":"TypeString","computed":true},"expiry":{"type":"TypeString","computed":true},"host_name":{"type":"TypeString","required":true},"key_vault_id":{"type":"TypeString","optional":true},"negotiate_client_certificate":{"type":"TypeBool","optional":true,"default":false},"ssl_keyvault_identity_client_id":{"type":"TypeString","optional":true},"subject":{"type":"TypeString","computed":true},"thumbprint":{"type":"TypeString","computed":true}}}},"portal":{"type":"TypeList","optional":true,"elem":{"schema":{"certificate":{"type":"TypeString","optional":true},"certificate_password":{"type":"TypeString","optional":true},"certificate_source":{"type":"TypeString","computed":true},"certificate_status":{"type":"TypeString","computed":true},"expiry":{"type":"TypeString","computed":true},"host_name":{"type":"TypeString","required":true},"key_vault_id":{"type":"TypeString","optional":true},"negotiate_client_certificate":{"type":"TypeBool","optional":true,"default":false},"ssl_keyvault_identity_client_id":{"type":"TypeString","optional":true},"subject":{"type":"TypeString","computed":true},"thumbprint":{"type":"TypeString","computed":true}}}},"proxy":{"type":"TypeList","optional":true,"elem":{"schema":{"certificate":{"type":"TypeString","optional":true},"certificate_password":{"type":"TypeString","optional":true},"certificate_source":{"type":"TypeString","computed":true},"certificate_status":{"type":"TypeString","computed":true},"default_ssl_binding":{"type":"TypeBool","optional":true,"computed":true},"expiry":{"type":"TypeString","computed":true},"host_name":{"type":"TypeString","required":true},"key_vault_id":{"type":"TypeString","optional":true},"negotiate_client_certificate":{"type":"TypeBool","optional":true,"default":false},"ssl_keyvault_identity_client_id":{"type":"TypeString","optional":true},"subject":{"type":"TypeString","computed":true},"thumbprint":{"type":"TypeString","computed":true}}}},"scm":{"type":"TypeList","optional":true,"elem":{"schema":{"certificate":{"type":"TypeString","optional":true},"certificate_password":{"type":"TypeString","optional":true},"certificate_source":{"type":"TypeString","computed":true},"certificate_status":{"type":"TypeString","computed":true},"expiry":{"type":"TypeString","computed":true},"host_name":{"type":"TypeString","required":true},"key_vault_id":{"type":"TypeString","optional":true},"negotiate_client_certificate":{"type":"TypeBool","optional":true,"default":false},"ssl_keyvault_identity_client_id":{"type":"TypeString","optional":true},"subject":{"type":"TypeString","computed":true},"thumbprint":{"type":"TypeString","computed":true}}}}}},"maxItems":1},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"management_api_url":{"type":"TypeString","computed":true},"min_api_version":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"notification_sender_email":{"type":"TypeString","optional":true,"computed":true},"portal_url":{"type":"TypeString","computed":true},"private_ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"protocols":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"enable_http2":{"type":"TypeBool","optional":true,"default":false}}},"maxItems":1},"public_ip_address_id":{"type":"TypeString","optional":true},"public_ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"public_network_access_enabled":{"type":"TypeBool","optional":true,"default":true},"publisher_email":{"type":"TypeString","required":true},"publisher_name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"scm_url":{"type":"TypeString","computed":true},"security":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"enable_backend_ssl30":{"type":"TypeBool","optional":true,"default":false},"enable_backend_tls10":{"type":"TypeBool","optional":true,"default":false},"enable_backend_tls11":{"type":"TypeBool","optional":true,"default":false},"enable_frontend_ssl30":{"type":"TypeBool","optional":true,"default":false},"enable_frontend_tls10":{"type":"TypeBool","optional":true,"default":false},"enable_frontend_tls11":{"type":"TypeBool","optional":true,"default":false},"tls_ecdhe_ecdsa_with_aes128_cbc_sha_ciphers_enabled":{"type":"TypeBool","optional":true,"default":false},"tls_ecdhe_ecdsa_with_aes256_cbc_sha_ciphers_enabled":{"type":"TypeBool","optional":true,"default":false},"tls_ecdhe_rsa_with_aes128_cbc_sha_ciphers_enabled":{"type":"TypeBool","optional":true,"default":false},"tls_ecdhe_rsa_with_aes256_cbc_sha_ciphers_enabled":{"type":"TypeBool","optional":true,"default":false},"tls_rsa_with_aes128_cbc_sha256_ciphers_enabled":{"type":"TypeBool","optional":true,"default":false},"tls_rsa_with_aes128_cbc_sha_ciphers_enabled":{"type":"TypeBool","optional":true,"default":false},"tls_rsa_with_aes128_gcm_sha256_ciphers_enabled":{"type":"TypeBool","optional":true,"default":false},"tls_rsa_with_aes256_cbc_sha256_ciphers_enabled":{"type":"TypeBool","optional":true,"default":false},"tls_rsa_with_aes256_cbc_sha_ciphers_enabled":{"type":"TypeBool","optional":true,"default":false},"tls_rsa_with_aes256_gcm_sha384_ciphers_enabled":{"type":"TypeBool","optional":true,"default":false},"triple_des_ciphers_enabled":{"type":"TypeBool","optional":true}}},"maxItems":1},"sign_in":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"enabled":{"type":"TypeBool","required":true}}},"maxItems":1},"sign_up":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"enabled":{"type":"TypeBool","required":true},"terms_of_service":{"type":"TypeList","required":true,"elem":{"schema":{"consent_required":{"type":"TypeBool","required":true},"enabled":{"type":"TypeBool","required":true},"text":{"type":"TypeString","optional":true}}},"maxItems":1}}},"maxItems":1},"sku_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"tenant_access":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"enabled":{"type":"TypeBool","required":true},"primary_key":{"type":"TypeString","computed":true},"secondary_key":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true}}},"maxItems":1},"virtual_network_configuration":{"type":"TypeList","optional":true,"elem":{"schema":{"subnet_id":{"type":"TypeString","required":true}}},"maxItems":1},"virtual_network_type":{"type":"TypeString","optional":true,"default":"None"},"zones":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":180,"read":5,"delete":180,"update":180}},"azurerm_api_management_api":{"schema":{"api_management_name":{"type":"TypeString","required":true,"forceNew":true},"api_type":{"type":"TypeString","optional":true,"computed":true},"contact":{"type":"TypeList","optional":true,"elem":{"schema":{"email":{"type":"TypeString","optional":true},"name":{"type":"TypeString","optional":true},"url":{"type":"TypeString","optional":true}}},"maxItems":1,"minItems":1},"description":{"type":"TypeString","optional":true},"display_name":{"type":"TypeString","optional":true,"computed":true},"import":{"type":"TypeList","optional":true,"elem":{"schema":{"content_format":{"type":"TypeString","required":true},"content_value":{"type":"TypeString","required":true},"wsdl_selector":{"type":"TypeList","optional":true,"elem":{"schema":{"endpoint_name":{"type":"TypeString","required":true},"service_name":{"type":"TypeString","required":true}}},"maxItems":1}}},"maxItems":1},"is_current":{"type":"TypeBool","computed":true},"is_online":{"type":"TypeBool","computed":true},"license":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","optional":true},"url":{"type":"TypeString","optional":true}}},"maxItems":1,"minItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"oauth2_authorization":{"type":"TypeList","optional":true,"elem":{"schema":{"authorization_server_name":{"type":"TypeString","required":true},"scope":{"type":"TypeString","optional":true}}},"maxItems":1},"openid_authentication":{"type":"TypeList","optional":true,"elem":{"schema":{"bearer_token_sending_methods":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"openid_provider_name":{"type":"TypeString","required":true}}},"maxItems":1},"path":{"type":"TypeString","optional":true,"computed":true},"protocols":{"type":"TypeSet","optional":true,"computed":true,"elem":{"type":"TypeString"}},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"revision":{"type":"TypeString","required":true,"forceNew":true},"revision_description":{"type":"TypeString","optional":true},"service_url":{"type":"TypeString","optional":true,"computed":true},"source_api_id":{"type":"TypeString","optional":true},"subscription_key_parameter_names":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"header":{"type":"TypeString","required":true},"query":{"type":"TypeString","required":true}}},"maxItems":1},"subscription_required":{"type":"TypeBool","optional":true,"default":true},"terms_of_service_url":{"type":"TypeString","optional":true},"version":{"type":"TypeString","optional":true,"computed":true},"version_description":{"type":"TypeString","optional":true},"version_set_id":{"type":"TypeString","optional":true,"computed":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_api_management_api_diagnostic":{"schema":{"always_log_errors":{"type":"TypeBool","optional":true,"computed":true},"api_management_logger_id":{"type":"TypeString","required":true},"api_management_name":{"type":"TypeString","required":true,"forceNew":true},"api_name":{"type":"TypeString","required":true,"forceNew":true},"backend_request":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"body_bytes":{"type":"TypeInt","optional":true},"data_masking":{"type":"TypeList","optional":true,"elem":{"schema":{"headers":{"type":"TypeList","optional":true,"elem":{"schema":{"mode":{"type":"TypeString","required":true},"value":{"type":"TypeString","required":true}}}},"query_params":{"type":"TypeList","optional":true,"elem":{"schema":{"mode":{"type":"TypeString","required":true},"value":{"type":"TypeString","required":true}}}}}},"maxItems":1},"headers_to_log":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"backend_response":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"body_bytes":{"type":"TypeInt","optional":true},"data_masking":{"type":"TypeList","optional":true,"elem":{"schema":{"headers":{"type":"TypeList","optional":true,"elem":{"schema":{"mode":{"type":"TypeString","required":true},"value":{"type":"TypeString","required":true}}}},"query_params":{"type":"TypeList","optional":true,"elem":{"schema":{"mode":{"type":"TypeString","required":true},"value":{"type":"TypeString","required":true}}}}}},"maxItems":1},"headers_to_log":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"frontend_request":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"body_bytes":{"type":"TypeInt","optional":true},"data_masking":{"type":"TypeList","optional":true,"elem":{"schema":{"headers":{"type":"TypeList","optional":true,"elem":{"schema":{"mode":{"type":"TypeString","required":true},"value":{"type":"TypeString","required":true}}}},"query_params":{"type":"TypeList","optional":true,"elem":{"schema":{"mode":{"type":"TypeString","required":true},"value":{"type":"TypeString","required":true}}}}}},"maxItems":1},"headers_to_log":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"frontend_response":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"body_bytes":{"type":"TypeInt","optional":true},"data_masking":{"type":"TypeList","optional":true,"elem":{"schema":{"headers":{"type":"TypeList","optional":true,"elem":{"schema":{"mode":{"type":"TypeString","required":true},"value":{"type":"TypeString","required":true}}}},"query_params":{"type":"TypeList","optional":true,"elem":{"schema":{"mode":{"type":"TypeString","required":true},"value":{"type":"TypeString","required":true}}}}}},"maxItems":1},"headers_to_log":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"http_correlation_protocol":{"type":"TypeString","optional":true,"computed":true},"identifier":{"type":"TypeString","required":true,"forceNew":true},"log_client_ip":{"type":"TypeBool","optional":true,"computed":true},"operation_name_format":{"type":"TypeString","optional":true,"default":"Name"},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"sampling_percentage":{"type":"TypeFloat","optional":true,"computed":true},"verbosity":{"type":"TypeString","optional":true,"computed":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_api_management_api_operation":{"schema":{"api_management_name":{"type":"TypeString","required":true,"forceNew":true},"api_name":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"display_name":{"type":"TypeString","required":true},"method":{"type":"TypeString","required":true},"operation_id":{"type":"TypeString","required":true,"forceNew":true},"request":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"description":{"type":"TypeString","optional":true},"header":{"type":"TypeList","optional":true,"elem":{"schema":{"default_value":{"type":"TypeString","optional":true},"description":{"type":"TypeString","optional":true},"example":{"type":"TypeList","optional":true,"elem":{"schema":{"description":{"type":"TypeString","optional":true},"external_value":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true},"summary":{"type":"TypeString","optional":true},"value":{"type":"TypeString","optional":true}}}},"name":{"type":"TypeString","required":true},"required":{"type":"TypeBool","required":true},"schema_id":{"type":"TypeString","optional":true},"type":{"type":"TypeString","required":true},"type_name":{"type":"TypeString","optional":true},"values":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}}}}},"query_parameter":{"type":"TypeList","optional":true,"elem":{"schema":{"default_value":{"type":"TypeString","optional":true},"description":{"type":"TypeString","optional":true},"example":{"type":"TypeList","optional":true,"elem":{"schema":{"description":{"type":"TypeString","optional":true},"external_value":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true},"summary":{"type":"TypeString","optional":true},"value":{"type":"TypeString","optional":true}}}},"name":{"type":"TypeString","required":true},"required":{"type":"TypeBool","required":true},"schema_id":{"type":"TypeString","optional":true},"type":{"type":"TypeString","required":true},"type_name":{"type":"TypeString","optional":true},"values":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}}}}},"representation":{"type":"TypeList","optional":true,"elem":{"schema":{"content_type":{"type":"TypeString","required":true},"example":{"type":"TypeList","optional":true,"elem":{"schema":{"description":{"type":"TypeString","optional":true},"external_value":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true},"summary":{"type":"TypeString","optional":true},"value":{"type":"TypeString","optional":true}}}},"form_parameter":{"type":"TypeList","optional":true,"elem":{"schema":{"default_value":{"type":"TypeString","optional":true},"description":{"type":"TypeString","optional":true},"example":{"type":"TypeList","optional":true,"elem":{"schema":{"description":{"type":"TypeString","optional":true},"external_value":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true},"summary":{"type":"TypeString","optional":true},"value":{"type":"TypeString","optional":true}}}},"name":{"type":"TypeString","required":true},"required":{"type":"TypeBool","required":true},"schema_id":{"type":"TypeString","optional":true},"type":{"type":"TypeString","required":true},"type_name":{"type":"TypeString","optional":true},"values":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}}}}},"schema_id":{"type":"TypeString","optional":true},"type_name":{"type":"TypeString","optional":true}}}}}},"maxItems":1},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"response":{"type":"TypeList","optional":true,"elem":{"schema":{"description":{"type":"TypeString","optional":true},"header":{"type":"TypeList","optional":true,"elem":{"schema":{"default_value":{"type":"TypeString","optional":true},"description":{"type":"TypeString","optional":true},"example":{"type":"TypeList","optional":true,"elem":{"schema":{"description":{"type":"TypeString","optional":true},"external_value":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true},"summary":{"type":"TypeString","optional":true},"value":{"type":"TypeString","optional":true}}}},"name":{"type":"TypeString","required":true},"required":{"type":"TypeBool","required":true},"schema_id":{"type":"TypeString","optional":true},"type":{"type":"TypeString","required":true},"type_name":{"type":"TypeString","optional":true},"values":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}}}}},"representation":{"type":"TypeList","optional":true,"elem":{"schema":{"content_type":{"type":"TypeString","required":true},"example":{"type":"TypeList","optional":true,"elem":{"schema":{"description":{"type":"TypeString","optional":true},"external_value":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true},"summary":{"type":"TypeString","optional":true},"value":{"type":"TypeString","optional":true}}}},"form_parameter":{"type":"TypeList","optional":true,"elem":{"schema":{"default_value":{"type":"TypeString","optional":true},"description":{"type":"TypeString","optional":true},"example":{"type":"TypeList","optional":true,"elem":{"schema":{"description":{"type":"TypeString","optional":true},"external_value":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true},"summary":{"type":"TypeString","optional":true},"value":{"type":"TypeString","optional":true}}}},"name":{"type":"TypeString","required":true},"required":{"type":"TypeBool","required":true},"schema_id":{"type":"TypeString","optional":true},"type":{"type":"TypeString","required":true},"type_name":{"type":"TypeString","optional":true},"values":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}}}}},"schema_id":{"type":"TypeString","optional":true},"type_name":{"type":"TypeString","optional":true}}}},"status_code":{"type":"TypeInt","required":true}}}},"template_parameter":{"type":"TypeList","optional":true,"elem":{"schema":{"default_value":{"type":"TypeString","optional":true},"description":{"type":"TypeString","optional":true},"example":{"type":"TypeList","optional":true,"elem":{"schema":{"description":{"type":"TypeString","optional":true},"external_value":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true},"summary":{"type":"TypeString","optional":true},"value":{"type":"TypeString","optional":true}}}},"name":{"type":"TypeString","required":true},"required":{"type":"TypeBool","required":true},"schema_id":{"type":"TypeString","optional":true},"type":{"type":"TypeString","required":true},"type_name":{"type":"TypeString","optional":true},"values":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}}}}},"url_template":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_api_management_api_operation_policy":{"schema":{"api_management_name":{"type":"TypeString","required":true,"forceNew":true},"api_name":{"type":"TypeString","required":true,"forceNew":true},"operation_id":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"xml_content":{"type":"TypeString","optional":true,"computed":true},"xml_link":{"type":"TypeString","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_api_management_api_operation_tag":{"schema":{"api_operation_id":{"type":"TypeString","required":true,"forceNew":true},"display_name":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_api_management_api_policy":{"schema":{"api_management_name":{"type":"TypeString","required":true,"forceNew":true},"api_name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"xml_content":{"type":"TypeString","optional":true,"computed":true},"xml_link":{"type":"TypeString","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_api_management_api_release":{"schema":{"api_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"notes":{"type":"TypeString","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_api_management_api_schema":{"schema":{"api_management_name":{"type":"TypeString","required":true,"forceNew":true},"api_name":{"type":"TypeString","required":true,"forceNew":true},"components":{"type":"TypeString","optional":true},"content_type":{"type":"TypeString","required":true},"definitions":{"type":"TypeString","optional":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"schema_id":{"type":"TypeString","required":true,"forceNew":true},"value":{"type":"TypeString","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_api_management_api_tag":{"schema":{"api_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_api_management_api_tag_description":{"schema":{"api_tag_id":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"external_documentation_description":{"type":"TypeString","optional":true},"external_documentation_url":{"type":"TypeString","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_api_management_api_version_set":{"schema":{"api_management_name":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"display_name":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"version_header_name":{"type":"TypeString","optional":true},"version_query_name":{"type":"TypeString","optional":true},"versioning_scheme":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_api_management_authorization_server":{"schema":{"api_management_name":{"type":"TypeString","required":true,"forceNew":true},"authorization_endpoint":{"type":"TypeString","required":true},"authorization_methods":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}},"bearer_token_sending_methods":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"client_authentication_method":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"client_id":{"type":"TypeString","required":true},"client_registration_endpoint":{"type":"TypeString","required":true},"client_secret":{"type":"TypeString","optional":true},"default_scope":{"type":"TypeString","optional":true},"description":{"type":"TypeString","optional":true},"display_name":{"type":"TypeString","required":true},"grant_types":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"resource_owner_password":{"type":"TypeString","optional":true},"resource_owner_username":{"type":"TypeString","optional":true},"support_state":{"type":"TypeBool","optional":true},"token_body_parameter":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"value":{"type":"TypeString","required":true}}}},"token_endpoint":{"type":"TypeString","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_api_management_backend":{"schema":{"api_management_name":{"type":"TypeString","required":true,"forceNew":true},"credentials":{"type":"TypeList","optional":true,"elem":{"schema":{"authorization":{"type":"TypeList","optional":true,"elem":{"schema":{"parameter":{"type":"TypeString","optional":true},"scheme":{"type":"TypeString","optional":true}}},"maxItems":1},"certificate":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"header":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"query":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"description":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"protocol":{"type":"TypeString","required":true},"proxy":{"type":"TypeList","optional":true,"elem":{"schema":{"password":{"type":"TypeString","optional":true},"url":{"type":"TypeString","required":true},"username":{"type":"TypeString","required":true}}},"maxItems":1},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"resource_id":{"type":"TypeString","optional":true},"service_fabric_cluster":{"type":"TypeList","optional":true,"elem":{"schema":{"client_certificate_id":{"type":"TypeString","optional":true,"computed":true},"client_certificate_thumbprint":{"type":"TypeString","optional":true,"computed":true},"management_endpoints":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}},"max_partition_resolution_retries":{"type":"TypeInt","required":true},"server_certificate_thumbprints":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"server_x509_name":{"type":"TypeSet","optional":true,"elem":{"schema":{"issuer_certificate_thumbprint":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true}}}}}},"maxItems":1},"title":{"type":"TypeString","optional":true},"tls":{"type":"TypeList","optional":true,"elem":{"schema":{"validate_certificate_chain":{"type":"TypeBool","optional":true},"validate_certificate_name":{"type":"TypeBool","optional":true}}},"maxItems":1},"url":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_api_management_certificate":{"schema":{"api_management_name":{"type":"TypeString","required":true,"forceNew":true},"data":{"type":"TypeString","optional":true},"expiration":{"type":"TypeString","computed":true},"key_vault_identity_client_id":{"type":"TypeString","optional":true},"key_vault_secret_id":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"password":{"type":"TypeString","optional":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"subject":{"type":"TypeString","computed":true},"thumbprint":{"type":"TypeString","computed":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_api_management_custom_domain":{"schema":{"api_management_id":{"type":"TypeString","required":true,"forceNew":true},"developer_portal":{"type":"TypeList","optional":true,"elem":{"schema":{"certificate":{"type":"TypeString","optional":true},"certificate_password":{"type":"TypeString","optional":true},"certificate_source":{"type":"TypeString","computed":true},"certificate_status":{"type":"TypeString","computed":true},"expiry":{"type":"TypeString","computed":true},"host_name":{"type":"TypeString","required":true},"key_vault_id":{"type":"TypeString","optional":true},"negotiate_client_certificate":{"type":"TypeBool","optional":true,"default":false},"ssl_keyvault_identity_client_id":{"type":"TypeString","optional":true},"subject":{"type":"TypeString","computed":true},"thumbprint":{"type":"TypeString","computed":true}}}},"gateway":{"type":"TypeList","optional":true,"elem":{"schema":{"certificate":{"type":"TypeString","optional":true},"certificate_password":{"type":"TypeString","optional":true},"certificate_source":{"type":"TypeString","computed":true},"certificate_status":{"type":"TypeString","computed":true},"default_ssl_binding":{"type":"TypeBool","optional":true,"computed":true},"expiry":{"type":"TypeString","computed":true},"host_name":{"type":"TypeString","required":true},"key_vault_id":{"type":"TypeString","optional":true},"negotiate_client_certificate":{"type":"TypeBool","optional":true,"default":false},"ssl_keyvault_identity_client_id":{"type":"TypeString","optional":true},"subject":{"type":"TypeString","computed":true},"thumbprint":{"type":"TypeString","computed":true}}}},"management":{"type":"TypeList","optional":true,"elem":{"schema":{"certificate":{"type":"TypeString","optional":true},"certificate_password":{"type":"TypeString","optional":true},"certificate_source":{"type":"TypeString","computed":true},"certificate_status":{"type":"TypeString","computed":true},"expiry":{"type":"TypeString","computed":true},"host_name":{"type":"TypeString","required":true},"key_vault_id":{"type":"TypeString","optional":true},"negotiate_client_certificate":{"type":"TypeBool","optional":true,"default":false},"ssl_keyvault_identity_client_id":{"type":"TypeString","optional":true},"subject":{"type":"TypeString","computed":true},"thumbprint":{"type":"TypeString","computed":true}}}},"portal":{"type":"TypeList","optional":true,"elem":{"schema":{"certificate":{"type":"TypeString","optional":true},"certificate_password":{"type":"TypeString","optional":true},"certificate_source":{"type":"TypeString","computed":true},"certificate_status":{"type":"TypeString","computed":true},"expiry":{"type":"TypeString","computed":true},"host_name":{"type":"TypeString","required":true},"key_vault_id":{"type":"TypeString","optional":true},"negotiate_client_certificate":{"type":"TypeBool","optional":true,"default":false},"ssl_keyvault_identity_client_id":{"type":"TypeString","optional":true},"subject":{"type":"TypeString","computed":true},"thumbprint":{"type":"TypeString","computed":true}}}},"scm":{"type":"TypeList","optional":true,"elem":{"schema":{"certificate":{"type":"TypeString","optional":true},"certificate_password":{"type":"TypeString","optional":true},"certificate_source":{"type":"TypeString","computed":true},"certificate_status":{"type":"TypeString","computed":true},"expiry":{"type":"TypeString","computed":true},"host_name":{"type":"TypeString","required":true},"key_vault_id":{"type":"TypeString","optional":true},"negotiate_client_certificate":{"type":"TypeBool","optional":true,"default":false},"ssl_keyvault_identity_client_id":{"type":"TypeString","optional":true},"subject":{"type":"TypeString","computed":true},"thumbprint":{"type":"TypeString","computed":true}}}}},"timeouts":{"create":60,"read":5,"delete":60,"update":60}},"azurerm_api_management_diagnostic":{"schema":{"always_log_errors":{"type":"TypeBool","optional":true,"computed":true},"api_management_logger_id":{"type":"TypeString","required":true},"api_management_name":{"type":"TypeString","required":true,"forceNew":true},"backend_request":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"body_bytes":{"type":"TypeInt","optional":true},"data_masking":{"type":"TypeList","optional":true,"elem":{"schema":{"headers":{"type":"TypeList","optional":true,"elem":{"schema":{"mode":{"type":"TypeString","required":true},"value":{"type":"TypeString","required":true}}}},"query_params":{"type":"TypeList","optional":true,"elem":{"schema":{"mode":{"type":"TypeString","required":true},"value":{"type":"TypeString","required":true}}}}}},"maxItems":1},"headers_to_log":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"backend_response":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"body_bytes":{"type":"TypeInt","optional":true},"data_masking":{"type":"TypeList","optional":true,"elem":{"schema":{"headers":{"type":"TypeList","optional":true,"elem":{"schema":{"mode":{"type":"TypeString","required":true},"value":{"type":"TypeString","required":true}}}},"query_params":{"type":"TypeList","optional":true,"elem":{"schema":{"mode":{"type":"TypeString","required":true},"value":{"type":"TypeString","required":true}}}}}},"maxItems":1},"headers_to_log":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"frontend_request":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"body_bytes":{"type":"TypeInt","optional":true},"data_masking":{"type":"TypeList","optional":true,"elem":{"schema":{"headers":{"type":"TypeList","optional":true,"elem":{"schema":{"mode":{"type":"TypeString","required":true},"value":{"type":"TypeString","required":true}}}},"query_params":{"type":"TypeList","optional":true,"elem":{"schema":{"mode":{"type":"TypeString","required":true},"value":{"type":"TypeString","required":true}}}}}},"maxItems":1},"headers_to_log":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"frontend_response":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"body_bytes":{"type":"TypeInt","optional":true},"data_masking":{"type":"TypeList","optional":true,"elem":{"schema":{"headers":{"type":"TypeList","optional":true,"elem":{"schema":{"mode":{"type":"TypeString","required":true},"value":{"type":"TypeString","required":true}}}},"query_params":{"type":"TypeList","optional":true,"elem":{"schema":{"mode":{"type":"TypeString","required":true},"value":{"type":"TypeString","required":true}}}}}},"maxItems":1},"headers_to_log":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"http_correlation_protocol":{"type":"TypeString","optional":true,"computed":true},"identifier":{"type":"TypeString","required":true,"forceNew":true},"log_client_ip":{"type":"TypeBool","optional":true,"computed":true},"operation_name_format":{"type":"TypeString","optional":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"sampling_percentage":{"type":"TypeFloat","optional":true,"computed":true},"verbosity":{"type":"TypeString","optional":true,"computed":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_api_management_email_template":{"schema":{"api_management_name":{"type":"TypeString","required":true,"forceNew":true},"body":{"type":"TypeString","required":true},"description":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"subject":{"type":"TypeString","required":true},"template_name":{"type":"TypeString","required":true,"forceNew":true},"title":{"type":"TypeString","computed":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_api_management_gateway":{"schema":{"api_management_id":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"location_data":{"type":"TypeList","required":true,"elem":{"schema":{"city":{"type":"TypeString","optional":true},"district":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true},"region":{"type":"TypeString","optional":true}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_api_management_gateway_api":{"schema":{"api_id":{"type":"TypeString","required":true,"forceNew":true},"gateway_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_api_management_gateway_certificate_authority":{"schema":{"api_management_id":{"type":"TypeString","required":true,"forceNew":true},"certificate_name":{"type":"TypeString","required":true,"forceNew":true},"gateway_name":{"type":"TypeString","required":true,"forceNew":true},"is_trusted":{"type":"TypeBool","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_api_management_gateway_host_name_configuration":{"schema":{"api_management_id":{"type":"TypeString","required":true,"forceNew":true},"certificate_id":{"type":"TypeString","required":true},"gateway_name":{"type":"TypeString","required":true,"forceNew":true},"host_name":{"type":"TypeString","required":true},"http2_enabled":{"type":"TypeBool","optional":true,"default":true},"name":{"type":"TypeString","required":true,"forceNew":true},"request_client_certificate_enabled":{"type":"TypeBool","optional":true},"tls10_enabled":{"type":"TypeBool","optional":true},"tls11_enabled":{"type":"TypeBool","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_api_management_global_schema":{"schema":{"api_management_name":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"schema_id":{"type":"TypeString","required":true,"forceNew":true},"type":{"type":"TypeString","required":true},"value":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_api_management_group":{"schema":{"api_management_name":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"display_name":{"type":"TypeString","required":true},"external_id":{"type":"TypeString","optional":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"type":{"type":"TypeString","optional":true,"default":"custom","forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_api_management_group_user":{"schema":{"api_management_name":{"type":"TypeString","required":true,"forceNew":true},"group_name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"user_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_api_management_identity_provider_aad":{"schema":{"allowed_tenants":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}},"api_management_name":{"type":"TypeString","required":true,"forceNew":true},"client_id":{"type":"TypeString","required":true},"client_library":{"type":"TypeString","optional":true},"client_secret":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"signin_tenant":{"type":"TypeString","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_api_management_identity_provider_aadb2c":{"schema":{"allowed_tenant":{"type":"TypeString","required":true},"api_management_name":{"type":"TypeString","required":true,"forceNew":true},"authority":{"type":"TypeString","required":true},"client_id":{"type":"TypeString","required":true},"client_library":{"type":"TypeString","optional":true},"client_secret":{"type":"TypeString","required":true},"password_reset_policy":{"type":"TypeString","optional":true},"profile_editing_policy":{"type":"TypeString","optional":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"signin_policy":{"type":"TypeString","required":true},"signin_tenant":{"type":"TypeString","required":true},"signup_policy":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_api_management_identity_provider_facebook":{"schema":{"api_management_name":{"type":"TypeString","required":true,"forceNew":true},"app_id":{"type":"TypeString","required":true},"app_secret":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_api_management_identity_provider_google":{"schema":{"api_management_name":{"type":"TypeString","required":true,"forceNew":true},"client_id":{"type":"TypeString","required":true},"client_secret":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_api_management_identity_provider_microsoft":{"schema":{"api_management_name":{"type":"TypeString","required":true,"forceNew":true},"client_id":{"type":"TypeString","required":true},"client_secret":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_api_management_identity_provider_twitter":{"schema":{"api_key":{"type":"TypeString","required":true},"api_management_name":{"type":"TypeString","required":true,"forceNew":true},"api_secret_key":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_api_management_logger":{"schema":{"api_management_name":{"type":"TypeString","required":true,"forceNew":true},"application_insights":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"connection_string":{"type":"TypeString","optional":true},"instrumentation_key":{"type":"TypeString","optional":true}}},"maxItems":1},"buffered":{"type":"TypeBool","optional":true,"default":true},"description":{"type":"TypeString","optional":true},"eventhub":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"connection_string":{"type":"TypeString","optional":true},"endpoint_uri":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true},"user_assigned_identity_client_id":{"type":"TypeString","optional":true}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"resource_id":{"type":"TypeString","optional":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_api_management_named_value":{"schema":{"api_management_name":{"type":"TypeString","required":true,"forceNew":true},"display_name":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"secret":{"type":"TypeBool","optional":true,"default":false},"tags":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"value":{"type":"TypeString","optional":true},"value_from_key_vault":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_client_id":{"type":"TypeString","optional":true},"secret_id":{"type":"TypeString","required":true}}},"maxItems":1}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_api_management_notification_recipient_email":{"schema":{"api_management_id":{"type":"TypeString","required":true,"forceNew":true},"email":{"type":"TypeString","required":true,"forceNew":true},"notification_type":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_api_management_notification_recipient_user":{"schema":{"api_management_id":{"type":"TypeString","required":true,"forceNew":true},"notification_type":{"type":"TypeString","required":true,"forceNew":true},"user_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_api_management_openid_connect_provider":{"schema":{"api_management_name":{"type":"TypeString","required":true,"forceNew":true},"client_id":{"type":"TypeString","required":true},"client_secret":{"type":"TypeString","required":true},"description":{"type":"TypeString","optional":true},"display_name":{"type":"TypeString","required":true},"metadata_endpoint":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_api_management_policy":{"schema":{"api_management_id":{"type":"TypeString","required":true,"forceNew":true},"xml_content":{"type":"TypeString","optional":true,"computed":true},"xml_link":{"type":"TypeString","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_api_management_policy_fragment":{"schema":{"api_management_id":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"format":{"type":"TypeString","optional":true,"default":"xml"},"name":{"type":"TypeString","required":true,"forceNew":true},"value":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_api_management_product":{"schema":{"api_management_name":{"type":"TypeString","required":true,"forceNew":true},"approval_required":{"type":"TypeBool","optional":true},"description":{"type":"TypeString","optional":true},"display_name":{"type":"TypeString","required":true},"product_id":{"type":"TypeString","required":true,"forceNew":true},"published":{"type":"TypeBool","required":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"subscription_required":{"type":"TypeBool","optional":true,"default":true},"subscriptions_limit":{"type":"TypeInt","optional":true},"terms":{"type":"TypeString","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_api_management_product_api":{"schema":{"api_management_name":{"type":"TypeString","required":true,"forceNew":true},"api_name":{"type":"TypeString","required":true,"forceNew":true},"product_id":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_api_management_product_group":{"schema":{"api_management_name":{"type":"TypeString","required":true,"forceNew":true},"group_name":{"type":"TypeString","required":true,"forceNew":true},"product_id":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_api_management_product_policy":{"schema":{"api_management_name":{"type":"TypeString","required":true,"forceNew":true},"product_id":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"xml_content":{"type":"TypeString","optional":true,"computed":true},"xml_link":{"type":"TypeString","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_api_management_product_tag":{"schema":{"api_management_name":{"type":"TypeString","required":true,"forceNew":true},"api_management_product_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_api_management_redis_cache":{"schema":{"api_management_id":{"type":"TypeString","required":true,"forceNew":true},"cache_location":{"type":"TypeString","optional":true,"default":"default"},"connection_string":{"type":"TypeString","required":true},"description":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"redis_cache_id":{"type":"TypeString","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_api_management_subscription":{"schema":{"allow_tracing":{"type":"TypeBool","optional":true,"default":true},"api_id":{"type":"TypeString","optional":true,"forceNew":true},"api_management_name":{"type":"TypeString","required":true,"forceNew":true},"display_name":{"type":"TypeString","required":true},"primary_key":{"type":"TypeString","optional":true,"computed":true},"product_id":{"type":"TypeString","optional":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"secondary_key":{"type":"TypeString","optional":true,"computed":true},"state":{"type":"TypeString","optional":true,"default":"submitted"},"subscription_id":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"user_id":{"type":"TypeString","optional":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_api_management_tag":{"schema":{"api_management_id":{"type":"TypeString","required":true,"forceNew":true},"display_name":{"type":"TypeString","optional":true,"computed":true},"name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_api_management_user":{"schema":{"api_management_name":{"type":"TypeString","required":true,"forceNew":true},"confirmation":{"type":"TypeString","optional":true,"forceNew":true},"email":{"type":"TypeString","required":true},"first_name":{"type":"TypeString","required":true},"last_name":{"type":"TypeString","required":true},"note":{"type":"TypeString","optional":true},"password":{"type":"TypeString","optional":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"state":{"type":"TypeString","optional":true,"computed":true},"user_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":45,"read":5,"delete":45,"update":45}},"azurerm_app_configuration":{"schema":{"encryption":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_client_id":{"type":"TypeString","optional":true},"key_vault_key_identifier":{"type":"TypeString","optional":true}}},"maxItems":1},"endpoint":{"type":"TypeString","computed":true},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"local_auth_enabled":{"type":"TypeBool","optional":true,"default":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"primary_read_key":{"type":"TypeList","computed":true,"elem":{"schema":{"connection_string":{"type":"TypeString","computed":true},"id":{"type":"TypeString","computed":true},"secret":{"type":"TypeString","computed":true}}}},"primary_write_key":{"type":"TypeList","computed":true,"elem":{"schema":{"connection_string":{"type":"TypeString","computed":true},"id":{"type":"TypeString","computed":true},"secret":{"type":"TypeString","computed":true}}}},"public_network_access":{"type":"TypeString","optional":true},"purge_protection_enabled":{"type":"TypeBool","optional":true,"default":false},"replica":{"type":"TypeSet","optional":true,"elem":{"schema":{"endpoint":{"type":"TypeString","computed":true},"id":{"type":"TypeString","computed":true},"location":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true}}},"minItems":1},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"secondary_read_key":{"type":"TypeList","computed":true,"elem":{"schema":{"connection_string":{"type":"TypeString","computed":true},"id":{"type":"TypeString","computed":true},"secret":{"type":"TypeString","computed":true}}}},"secondary_write_key":{"type":"TypeList","computed":true,"elem":{"schema":{"connection_string":{"type":"TypeString","computed":true},"id":{"type":"TypeString","computed":true},"secret":{"type":"TypeString","computed":true}}}},"sku":{"type":"TypeString","optional":true,"default":"free"},"soft_delete_retention_days":{"type":"TypeInt","optional":true,"default":7,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":60,"read":5,"delete":60,"update":60}},"azurerm_app_configuration_feature":{"schema":{"configuration_store_id":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"enabled":{"type":"TypeBool","optional":true},"etag":{"type":"TypeString","optional":true,"computed":true},"key":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"label":{"type":"TypeString","optional":true,"forceNew":true},"locked":{"type":"TypeBool","optional":true,"default":false},"name":{"type":"TypeString","required":true,"forceNew":true},"percentage_filter_value":{"type":"TypeFloat","optional":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"targeting_filter":{"type":"TypeList","optional":true,"elem":{"schema":{"default_rollout_percentage":{"type":"TypeInt","required":true},"groups":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"rollout_percentage":{"type":"TypeInt","required":true}}}},"users":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}}}}},"timewindow_filter":{"type":"TypeList","optional":true,"elem":{"schema":{"end":{"type":"TypeString","optional":true},"start":{"type":"TypeString","optional":true}}}}},"timeouts":{"create":45,"read":5,"delete":30,"update":30}},"azurerm_app_configuration_key":{"schema":{"configuration_store_id":{"type":"TypeString","required":true,"forceNew":true},"content_type":{"type":"TypeString","optional":true,"computed":true},"etag":{"type":"TypeString","optional":true,"computed":true},"key":{"type":"TypeString","required":true,"forceNew":true},"label":{"type":"TypeString","optional":true,"forceNew":true},"locked":{"type":"TypeBool","optional":true,"default":false},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"type":{"type":"TypeString","optional":true,"default":"kv"},"value":{"type":"TypeString","optional":true},"vault_key_reference":{"type":"TypeString","optional":true}},"timeouts":{"create":45,"read":5,"delete":30,"update":30}},"azurerm_app_service":{"schema":{"app_service_plan_id":{"type":"TypeString","required":true},"app_settings":{"type":"TypeMap","optional":true,"computed":true,"elem":{"type":"TypeString"}},"auth_settings":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"active_directory":{"type":"TypeList","optional":true,"elem":{"schema":{"allowed_audiences":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"client_id":{"type":"TypeString","required":true},"client_secret":{"type":"TypeString","optional":true}}},"maxItems":1},"additional_login_params":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"allowed_external_redirect_urls":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"default_provider":{"type":"TypeString","optional":true},"enabled":{"type":"TypeBool","required":true},"facebook":{"type":"TypeList","optional":true,"elem":{"schema":{"app_id":{"type":"TypeString","required":true},"app_secret":{"type":"TypeString","required":true},"oauth_scopes":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"google":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","required":true},"client_secret":{"type":"TypeString","required":true},"oauth_scopes":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"issuer":{"type":"TypeString","optional":true},"microsoft":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","required":true},"client_secret":{"type":"TypeString","required":true},"oauth_scopes":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"runtime_version":{"type":"TypeString","optional":true},"token_refresh_extension_hours":{"type":"TypeFloat","optional":true,"default":72},"token_store_enabled":{"type":"TypeBool","optional":true,"default":false},"twitter":{"type":"TypeList","optional":true,"elem":{"schema":{"consumer_key":{"type":"TypeString","required":true},"consumer_secret":{"type":"TypeString","required":true}}},"maxItems":1},"unauthenticated_client_action":{"type":"TypeString","optional":true}}},"maxItems":1},"backup":{"type":"TypeList","optional":true,"elem":{"schema":{"enabled":{"type":"TypeBool","optional":true,"default":true},"name":{"type":"TypeString","required":true},"schedule":{"type":"TypeList","required":true,"elem":{"schema":{"frequency_interval":{"type":"TypeInt","required":true},"frequency_unit":{"type":"TypeString","required":true},"keep_at_least_one_backup":{"type":"TypeBool","optional":true,"default":false},"retention_period_in_days":{"type":"TypeInt","optional":true,"default":30},"start_time":{"type":"TypeString","optional":true}}},"maxItems":1},"storage_account_url":{"type":"TypeString","required":true}}},"maxItems":1},"client_affinity_enabled":{"type":"TypeBool","optional":true,"default":false},"client_cert_enabled":{"type":"TypeBool","optional":true,"default":false},"client_cert_mode":{"type":"TypeString","optional":true,"computed":true},"connection_string":{"type":"TypeSet","optional":true,"computed":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"type":{"type":"TypeString","required":true},"value":{"type":"TypeString","required":true}}}},"custom_domain_verification_id":{"type":"TypeString","computed":true},"default_site_hostname":{"type":"TypeString","computed":true},"enabled":{"type":"TypeBool","optional":true,"default":true},"https_only":{"type":"TypeBool","optional":true,"default":false},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"key_vault_reference_identity_id":{"type":"TypeString","optional":true,"computed":true},"location":{"type":"TypeString","required":true,"forceNew":true},"logs":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"application_logs":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"azure_blob_storage":{"type":"TypeList","optional":true,"elem":{"schema":{"level":{"type":"TypeString","required":true},"retention_in_days":{"type":"TypeInt","required":true},"sas_url":{"type":"TypeString","required":true}}},"maxItems":1},"file_system_level":{"type":"TypeString","optional":true,"default":"Off"}}},"maxItems":1},"detailed_error_messages_enabled":{"type":"TypeBool","optional":true,"default":false},"failed_request_tracing_enabled":{"type":"TypeBool","optional":true,"default":false},"http_logs":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"azure_blob_storage":{"type":"TypeList","optional":true,"elem":{"schema":{"retention_in_days":{"type":"TypeInt","required":true},"sas_url":{"type":"TypeString","required":true}}},"maxItems":1},"file_system":{"type":"TypeList","optional":true,"elem":{"schema":{"retention_in_days":{"type":"TypeInt","required":true},"retention_in_mb":{"type":"TypeInt","required":true}}},"maxItems":1}}},"maxItems":1}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"outbound_ip_address_list":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"outbound_ip_addresses":{"type":"TypeString","computed":true},"possible_outbound_ip_address_list":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"possible_outbound_ip_addresses":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"site_config":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"acr_use_managed_identity_credentials":{"type":"TypeBool","optional":true,"default":false},"acr_user_managed_identity_client_id":{"type":"TypeString","optional":true},"always_on":{"type":"TypeBool","optional":true,"default":false},"app_command_line":{"type":"TypeString","optional":true},"auto_swap_slot_name":{"type":"TypeString","optional":true},"cors":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"allowed_origins":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}},"support_credentials":{"type":"TypeBool","optional":true,"default":false}}},"maxItems":1},"default_documents":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"dotnet_framework_version":{"type":"TypeString","optional":true,"default":"v4.0"},"ftps_state":{"type":"TypeString","optional":true,"computed":true},"health_check_path":{"type":"TypeString","optional":true},"http2_enabled":{"type":"TypeBool","optional":true,"default":false},"ip_restriction":{"type":"TypeList","configMode":"Auto","optional":true,"computed":true,"elem":{"schema":{"action":{"type":"TypeString","optional":true,"default":"Allow"},"headers":{"type":"TypeList","configMode":"Auto","optional":true,"computed":true,"elem":{"schema":{"x_azure_fdid":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":8},"x_fd_health_probe":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":1},"x_forwarded_for":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":8},"x_forwarded_host":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":8}}},"maxItems":1},"ip_address":{"type":"TypeString","optional":true},"name":{"type":"TypeString","optional":true,"computed":true},"priority":{"type":"TypeInt","optional":true,"default":65000},"service_tag":{"type":"TypeString","optional":true},"virtual_network_subnet_id":{"type":"TypeString","optional":true}}}},"java_container":{"type":"TypeString","optional":true},"java_container_version":{"type":"TypeString","optional":true},"java_version":{"type":"TypeString","optional":true},"linux_fx_version":{"type":"TypeString","optional":true,"computed":true},"local_mysql_enabled":{"type":"TypeBool","optional":true,"computed":true},"managed_pipeline_mode":{"type":"TypeString","optional":true,"computed":true},"min_tls_version":{"type":"TypeString","optional":true,"computed":true},"number_of_workers":{"type":"TypeInt","optional":true,"computed":true},"php_version":{"type":"TypeString","optional":true},"python_version":{"type":"TypeString","optional":true},"remote_debugging_enabled":{"type":"TypeBool","optional":true,"default":false},"remote_debugging_version":{"type":"TypeString","optional":true,"computed":true},"scm_ip_restriction":{"type":"TypeList","configMode":"Auto","optional":true,"computed":true,"elem":{"schema":{"action":{"type":"TypeString","optional":true,"default":"Allow"},"headers":{"type":"TypeList","configMode":"Auto","optional":true,"computed":true,"elem":{"schema":{"x_azure_fdid":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":8},"x_fd_health_probe":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":1},"x_forwarded_for":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":8},"x_forwarded_host":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":8}}},"maxItems":1},"ip_address":{"type":"TypeString","optional":true},"name":{"type":"TypeString","optional":true,"computed":true},"priority":{"type":"TypeInt","optional":true,"default":65000},"service_tag":{"type":"TypeString","optional":true},"virtual_network_subnet_id":{"type":"TypeString","optional":true}}}},"scm_type":{"type":"TypeString","optional":true,"computed":true},"scm_use_main_ip_restriction":{"type":"TypeBool","optional":true,"default":false},"use_32_bit_worker_process":{"type":"TypeBool","optional":true},"vnet_route_all_enabled":{"type":"TypeBool","optional":true,"computed":true},"websockets_enabled":{"type":"TypeBool","optional":true,"computed":true},"windows_fx_version":{"type":"TypeString","optional":true,"computed":true}}},"maxItems":1},"site_credential":{"type":"TypeList","computed":true,"elem":{"schema":{"password":{"type":"TypeString","computed":true},"username":{"type":"TypeString","computed":true}}}},"source_control":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"branch":{"type":"TypeString","optional":true,"computed":true},"manual_integration":{"type":"TypeBool","optional":true,"computed":true},"repo_url":{"type":"TypeString","optional":true,"computed":true},"rollback_enabled":{"type":"TypeBool","optional":true,"computed":true},"use_mercurial":{"type":"TypeBool","optional":true,"computed":true}}},"maxItems":1},"storage_account":{"type":"TypeSet","optional":true,"computed":true,"elem":{"schema":{"access_key":{"type":"TypeString","required":true},"account_name":{"type":"TypeString","required":true},"mount_path":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true},"share_name":{"type":"TypeString","required":true},"type":{"type":"TypeString","required":true}}}},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_app_service_active_slot":{"schema":{"app_service_name":{"type":"TypeString","required":true,"forceNew":true},"app_service_slot_name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_app_service_certificate":{"schema":{"app_service_plan_id":{"type":"TypeString","optional":true,"forceNew":true},"expiration_date":{"type":"TypeString","computed":true},"friendly_name":{"type":"TypeString","computed":true},"host_names":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"hosting_environment_profile_id":{"type":"TypeString","computed":true},"issue_date":{"type":"TypeString","computed":true},"issuer":{"type":"TypeString","computed":true},"key_vault_id":{"type":"TypeString","optional":true,"forceNew":true},"key_vault_secret_id":{"type":"TypeString","optional":true,"forceNew":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"password":{"type":"TypeString","optional":true,"forceNew":true},"pfx_blob":{"type":"TypeString","optional":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"subject_name":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"thumbprint":{"type":"TypeString","computed":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_app_service_certificate_binding":{"schema":{"app_service_name":{"type":"TypeString","computed":true},"certificate_id":{"type":"TypeString","required":true,"forceNew":true},"hostname":{"type":"TypeString","computed":true},"hostname_binding_id":{"type":"TypeString","required":true,"forceNew":true},"ssl_state":{"type":"TypeString","required":true,"forceNew":true},"thumbprint":{"type":"TypeString","computed":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_app_service_certificate_order":{"schema":{"app_service_certificate_not_renewable_reasons":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"auto_renew":{"type":"TypeBool","optional":true,"default":true},"certificates":{"type":"TypeList","computed":true,"elem":{"schema":{"certificate_name":{"type":"TypeString","computed":true},"key_vault_id":{"type":"TypeString","computed":true},"key_vault_secret_name":{"type":"TypeString","computed":true},"provisioning_state":{"type":"TypeString","computed":true}}}},"csr":{"type":"TypeString","optional":true,"computed":true},"distinguished_name":{"type":"TypeString","optional":true,"computed":true},"domain_verification_token":{"type":"TypeString","computed":true},"expiration_time":{"type":"TypeString","computed":true},"intermediate_thumbprint":{"type":"TypeString","computed":true},"is_private_key_external":{"type":"TypeBool","computed":true},"key_size":{"type":"TypeInt","optional":true,"default":2048},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"product_type":{"type":"TypeString","optional":true,"default":"Standard"},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"root_thumbprint":{"type":"TypeString","computed":true},"signed_certificate_thumbprint":{"type":"TypeString","computed":true},"status":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"validity_in_years":{"type":"TypeInt","optional":true,"default":1}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_app_service_connection":{"schema":{"app_service_id":{"type":"TypeString","required":true,"forceNew":true},"authentication":{"type":"TypeList","required":true,"elem":{"schema":{"certificate":{"type":"TypeString","optional":true},"client_id":{"type":"TypeString","optional":true},"name":{"type":"TypeString","optional":true},"principal_id":{"type":"TypeString","optional":true},"secret":{"type":"TypeString","optional":true},"subscription_id":{"type":"TypeString","optional":true},"type":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"client_type":{"type":"TypeString","optional":true,"default":"none"},"name":{"type":"TypeString","required":true,"forceNew":true},"secret_store":{"type":"TypeList","optional":true,"elem":{"schema":{"key_vault_id":{"type":"TypeString","required":true}}},"maxItems":1},"target_resource_id":{"type":"TypeString","required":true,"forceNew":true},"vnet_solution":{"type":"TypeString","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_app_service_custom_hostname_binding":{"schema":{"app_service_name":{"type":"TypeString","required":true,"forceNew":true},"hostname":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"ssl_state":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"thumbprint":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"virtual_ip":{"type":"TypeString","computed":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_app_service_environment_v3":{"schema":{"allow_new_private_endpoint_connections":{"type":"TypeBool","optional":true,"default":true},"cluster_setting":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"value":{"type":"TypeString","required":true}}}},"dedicated_host_count":{"type":"TypeInt","optional":true,"forceNew":true},"dns_suffix":{"type":"TypeString","computed":true},"external_inbound_ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"inbound_network_dependencies":{"type":"TypeList","computed":true,"elem":{"schema":{"description":{"type":"TypeString","computed":true},"ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"ports":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}}},"internal_inbound_ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"internal_load_balancing_mode":{"type":"TypeString","optional":true,"default":"None","forceNew":true},"ip_ssl_address_count":{"type":"TypeInt","computed":true},"linux_outbound_ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true,"forceNew":true},"pricing_tier":{"type":"TypeString","computed":true},"remote_debugging_enabled":{"type":"TypeBool","optional":true,"default":false},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"subnet_id":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"windows_outbound_ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"zone_redundant":{"type":"TypeBool","optional":true,"default":false,"forceNew":true}},"timeouts":{"create":360,"read":5,"delete":360,"update":360}},"azurerm_app_service_hybrid_connection":{"schema":{"app_service_name":{"type":"TypeString","required":true,"forceNew":true},"hostname":{"type":"TypeString","required":true},"namespace_name":{"type":"TypeString","computed":true},"port":{"type":"TypeInt","required":true},"relay_id":{"type":"TypeString","required":true,"forceNew":true},"relay_name":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"send_key_name":{"type":"TypeString","optional":true,"default":"RootManageSharedAccessKey"},"send_key_value":{"type":"TypeString","computed":true},"service_bus_namespace":{"type":"TypeString","computed":true},"service_bus_suffix":{"type":"TypeString","computed":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_app_service_managed_certificate":{"schema":{"canonical_name":{"type":"TypeString","computed":true},"custom_hostname_binding_id":{"type":"TypeString","required":true,"forceNew":true},"expiration_date":{"type":"TypeString","computed":true},"friendly_name":{"type":"TypeString","computed":true},"host_names":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"issue_date":{"type":"TypeString","computed":true},"issuer":{"type":"TypeString","computed":true},"subject_name":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"thumbprint":{"type":"TypeString","computed":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_app_service_plan":{"schema":{"app_service_environment_id":{"type":"TypeString","optional":true,"forceNew":true},"is_xenon":{"type":"TypeBool","optional":true},"kind":{"type":"TypeString","optional":true,"default":"Windows","forceNew":true},"location":{"type":"TypeString","required":true,"forceNew":true},"maximum_elastic_worker_count":{"type":"TypeInt","optional":true,"computed":true},"maximum_number_of_workers":{"type":"TypeInt","computed":true},"name":{"type":"TypeString","required":true,"forceNew":true},"per_site_scaling":{"type":"TypeBool","optional":true},"reserved":{"type":"TypeBool","optional":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"sku":{"type":"TypeList","required":true,"elem":{"schema":{"capacity":{"type":"TypeInt","optional":true,"computed":true},"size":{"type":"TypeString","required":true},"tier":{"type":"TypeString","required":true}}},"maxItems":1},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"zone_redundant":{"type":"TypeBool","optional":true,"forceNew":true}},"timeouts":{"create":60,"read":5,"delete":60,"update":60}},"azurerm_app_service_public_certificate":{"schema":{"app_service_name":{"type":"TypeString","required":true,"forceNew":true},"blob":{"type":"TypeString","required":true,"forceNew":true},"certificate_location":{"type":"TypeString","required":true,"forceNew":true},"certificate_name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"thumbprint":{"type":"TypeString","computed":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_app_service_slot":{"schema":{"app_service_name":{"type":"TypeString","required":true,"forceNew":true},"app_service_plan_id":{"type":"TypeString","required":true,"forceNew":true},"app_settings":{"type":"TypeMap","optional":true,"computed":true,"elem":{"type":"TypeString"}},"auth_settings":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"active_directory":{"type":"TypeList","optional":true,"elem":{"schema":{"allowed_audiences":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"client_id":{"type":"TypeString","required":true},"client_secret":{"type":"TypeString","optional":true}}},"maxItems":1},"additional_login_params":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"allowed_external_redirect_urls":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"default_provider":{"type":"TypeString","optional":true},"enabled":{"type":"TypeBool","required":true},"facebook":{"type":"TypeList","optional":true,"elem":{"schema":{"app_id":{"type":"TypeString","required":true},"app_secret":{"type":"TypeString","required":true},"oauth_scopes":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"google":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","required":true},"client_secret":{"type":"TypeString","required":true},"oauth_scopes":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"issuer":{"type":"TypeString","optional":true},"microsoft":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","required":true},"client_secret":{"type":"TypeString","required":true},"oauth_scopes":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"runtime_version":{"type":"TypeString","optional":true},"token_refresh_extension_hours":{"type":"TypeFloat","optional":true,"default":72},"token_store_enabled":{"type":"TypeBool","optional":true,"default":false},"twitter":{"type":"TypeList","optional":true,"elem":{"schema":{"consumer_key":{"type":"TypeString","required":true},"consumer_secret":{"type":"TypeString","required":true}}},"maxItems":1},"unauthenticated_client_action":{"type":"TypeString","optional":true}}},"maxItems":1},"client_affinity_enabled":{"type":"TypeBool","optional":true,"computed":true},"connection_string":{"type":"TypeSet","optional":true,"computed":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"type":{"type":"TypeString","required":true},"value":{"type":"TypeString","required":true}}}},"default_site_hostname":{"type":"TypeString","computed":true},"enabled":{"type":"TypeBool","optional":true,"default":true},"https_only":{"type":"TypeBool","optional":true,"default":false},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"key_vault_reference_identity_id":{"type":"TypeString","optional":true,"computed":true},"location":{"type":"TypeString","required":true,"forceNew":true},"logs":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"application_logs":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"azure_blob_storage":{"type":"TypeList","optional":true,"elem":{"schema":{"level":{"type":"TypeString","required":true},"retention_in_days":{"type":"TypeInt","required":true},"sas_url":{"type":"TypeString","required":true}}},"maxItems":1},"file_system_level":{"type":"TypeString","optional":true,"default":"Off"}}},"maxItems":1},"detailed_error_messages_enabled":{"type":"TypeBool","optional":true,"default":false},"failed_request_tracing_enabled":{"type":"TypeBool","optional":true,"default":false},"http_logs":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"azure_blob_storage":{"type":"TypeList","optional":true,"elem":{"schema":{"retention_in_days":{"type":"TypeInt","required":true},"sas_url":{"type":"TypeString","required":true}}},"maxItems":1},"file_system":{"type":"TypeList","optional":true,"elem":{"schema":{"retention_in_days":{"type":"TypeInt","required":true},"retention_in_mb":{"type":"TypeInt","required":true}}},"maxItems":1}}},"maxItems":1}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"site_config":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"acr_use_managed_identity_credentials":{"type":"TypeBool","optional":true,"default":false},"acr_user_managed_identity_client_id":{"type":"TypeString","optional":true},"always_on":{"type":"TypeBool","optional":true,"default":false},"app_command_line":{"type":"TypeString","optional":true},"auto_swap_slot_name":{"type":"TypeString","optional":true},"cors":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"allowed_origins":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}},"support_credentials":{"type":"TypeBool","optional":true,"default":false}}},"maxItems":1},"default_documents":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"dotnet_framework_version":{"type":"TypeString","optional":true,"default":"v4.0"},"ftps_state":{"type":"TypeString","optional":true,"computed":true},"health_check_path":{"type":"TypeString","optional":true},"http2_enabled":{"type":"TypeBool","optional":true,"default":false},"ip_restriction":{"type":"TypeList","configMode":"Auto","optional":true,"computed":true,"elem":{"schema":{"action":{"type":"TypeString","optional":true,"default":"Allow"},"headers":{"type":"TypeList","configMode":"Auto","optional":true,"computed":true,"elem":{"schema":{"x_azure_fdid":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":8},"x_fd_health_probe":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":1},"x_forwarded_for":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":8},"x_forwarded_host":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":8}}},"maxItems":1},"ip_address":{"type":"TypeString","optional":true},"name":{"type":"TypeString","optional":true,"computed":true},"priority":{"type":"TypeInt","optional":true,"default":65000},"service_tag":{"type":"TypeString","optional":true},"virtual_network_subnet_id":{"type":"TypeString","optional":true}}}},"java_container":{"type":"TypeString","optional":true},"java_container_version":{"type":"TypeString","optional":true},"java_version":{"type":"TypeString","optional":true},"linux_fx_version":{"type":"TypeString","optional":true,"computed":true},"local_mysql_enabled":{"type":"TypeBool","optional":true,"computed":true},"managed_pipeline_mode":{"type":"TypeString","optional":true,"computed":true},"min_tls_version":{"type":"TypeString","optional":true,"computed":true},"number_of_workers":{"type":"TypeInt","optional":true,"computed":true},"php_version":{"type":"TypeString","optional":true},"python_version":{"type":"TypeString","optional":true},"remote_debugging_enabled":{"type":"TypeBool","optional":true,"default":false},"remote_debugging_version":{"type":"TypeString","optional":true,"computed":true},"scm_ip_restriction":{"type":"TypeList","configMode":"Auto","optional":true,"computed":true,"elem":{"schema":{"action":{"type":"TypeString","optional":true,"default":"Allow"},"headers":{"type":"TypeList","configMode":"Auto","optional":true,"computed":true,"elem":{"schema":{"x_azure_fdid":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":8},"x_fd_health_probe":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":1},"x_forwarded_for":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":8},"x_forwarded_host":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":8}}},"maxItems":1},"ip_address":{"type":"TypeString","optional":true},"name":{"type":"TypeString","optional":true,"computed":true},"priority":{"type":"TypeInt","optional":true,"default":65000},"service_tag":{"type":"TypeString","optional":true},"virtual_network_subnet_id":{"type":"TypeString","optional":true}}}},"scm_type":{"type":"TypeString","optional":true,"computed":true},"scm_use_main_ip_restriction":{"type":"TypeBool","optional":true,"default":false},"use_32_bit_worker_process":{"type":"TypeBool","optional":true},"vnet_route_all_enabled":{"type":"TypeBool","optional":true,"computed":true},"websockets_enabled":{"type":"TypeBool","optional":true,"computed":true},"windows_fx_version":{"type":"TypeString","optional":true,"computed":true}}},"maxItems":1},"site_credential":{"type":"TypeList","computed":true,"elem":{"schema":{"password":{"type":"TypeString","computed":true},"username":{"type":"TypeString","computed":true}}}},"storage_account":{"type":"TypeSet","optional":true,"computed":true,"elem":{"schema":{"access_key":{"type":"TypeString","required":true},"account_name":{"type":"TypeString","required":true},"mount_path":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true},"share_name":{"type":"TypeString","required":true},"type":{"type":"TypeString","required":true}}}},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_app_service_slot_custom_hostname_binding":{"schema":{"app_service_slot_id":{"type":"TypeString","required":true,"forceNew":true},"hostname":{"type":"TypeString","required":true,"forceNew":true},"ssl_state":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"thumbprint":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"virtual_ip":{"type":"TypeString","computed":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_app_service_slot_virtual_network_swift_connection":{"schema":{"app_service_id":{"type":"TypeString","required":true,"forceNew":true},"slot_name":{"type":"TypeString","required":true,"forceNew":true},"subnet_id":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_app_service_source_control":{"schema":{"app_id":{"type":"TypeString","required":true,"description":"The ID of the Windows or Linux Web App.","forceNew":true},"branch":{"type":"TypeString","optional":true,"description":"The branch name to use for deployments.","computed":true,"forceNew":true},"github_action_configuration":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"code_configuration":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"runtime_stack":{"type":"TypeString","required":true,"description":"The value to use for the Runtime Stack in the workflow file content for code base apps.","forceNew":true},"runtime_version":{"type":"TypeString","required":true,"description":"The value to use for the Runtime Version in the workflow file content for code base apps.","forceNew":true}}},"maxItems":1},"container_configuration":{"type":"TypeList","optional":true,"elem":{"schema":{"image_name":{"type":"TypeString","required":true,"description":"The image name for the build.","forceNew":true},"registry_password":{"type":"TypeString","optional":true,"description":"The password used to upload the image to the container registry.","forceNew":true},"registry_url":{"type":"TypeString","required":true,"description":"The server URL for the container registry where the build will be hosted.","forceNew":true},"registry_username":{"type":"TypeString","optional":true,"description":"The username used to upload the image to the container registry.","forceNew":true}}},"maxItems":1},"generate_workflow_file":{"type":"TypeBool","optional":true,"default":true,"description":"Should the service generate the GitHub Action Workflow file. Defaults to `true`","forceNew":true},"linux_action":{"type":"TypeBool","description":"Denotes this action uses a Linux base image.","computed":true}}},"maxItems":1},"repo_url":{"type":"TypeString","optional":true,"description":"The URL for the repository.","computed":true,"forceNew":true},"rollback_enabled":{"type":"TypeBool","optional":true,"default":false,"description":"Should the Deployment Rollback be enabled? Defaults to `false`.","forceNew":true},"scm_type":{"type":"TypeString","description":"The SCM Type in use. This value is decoded by the service from the repository information supplied.","computed":true},"use_local_git":{"type":"TypeBool","optional":true,"default":false,"description":"Should the App use local Git configuration.","forceNew":true},"use_manual_integration":{"type":"TypeBool","optional":true,"default":false,"description":"Should code be deployed manually. Set to `false` to enable continuous integration, such as webhooks into online repos such as GitHub. Defaults to `false`.","forceNew":true},"use_mercurial":{"type":"TypeBool","optional":true,"default":false,"description":"The repository specified is Mercurial. Defaults to `false`.","forceNew":true},"uses_github_action":{"type":"TypeBool","description":"Indicates if the Slot uses a GitHub action for deployment. This value is decoded by the service from the repository information supplied.","computed":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_app_service_source_control_slot":{"schema":{"branch":{"type":"TypeString","optional":true,"description":"The URL for the repository","computed":true,"forceNew":true},"github_action_configuration":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"code_configuration":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"runtime_stack":{"type":"TypeString","required":true,"description":"The value to use for the Runtime Stack in the workflow file content for code base apps.","forceNew":true},"runtime_version":{"type":"TypeString","required":true,"description":"The value to use for the Runtime Version in the workflow file content for code base apps.","forceNew":true}}},"maxItems":1},"container_configuration":{"type":"TypeList","optional":true,"elem":{"schema":{"image_name":{"type":"TypeString","required":true,"description":"The image name for the build.","forceNew":true},"registry_password":{"type":"TypeString","optional":true,"description":"The password used to upload the image to the container registry.","forceNew":true},"registry_url":{"type":"TypeString","required":true,"description":"The server URL for the container registry where the build will be hosted.","forceNew":true},"registry_username":{"type":"TypeString","optional":true,"description":"The username used to upload the image to the container registry.","forceNew":true}}},"maxItems":1},"generate_workflow_file":{"type":"TypeBool","optional":true,"default":true,"description":"Should the service generate the GitHub Action Workflow file. Defaults to `true`","forceNew":true},"linux_action":{"type":"TypeBool","description":"Denotes this action uses a Linux base image.","computed":true}}},"maxItems":1},"repo_url":{"type":"TypeString","optional":true,"description":"The branch name to use for deployments.","computed":true,"forceNew":true},"rollback_enabled":{"type":"TypeBool","optional":true,"default":false,"description":"Should the Deployment Rollback be enabled? Defaults to `false`","forceNew":true},"scm_type":{"type":"TypeString","description":"The SCM Type in use. This value is decoded by the service from the repository information supplied.","computed":true},"slot_id":{"type":"TypeString","required":true,"description":"The ID of the Linux or Windows Web App Slot.","forceNew":true},"use_local_git":{"type":"TypeBool","optional":true,"default":false,"description":"Should the Slot use local Git configuration.","forceNew":true},"use_manual_integration":{"type":"TypeBool","optional":true,"default":false,"description":"Should code be deployed manually. Set to `true` to disable continuous integration, such as webhooks into online repos such as GitHub. Defaults to `false`","forceNew":true},"use_mercurial":{"type":"TypeBool","optional":true,"default":false,"description":"The repository specified is Mercurial. Defaults to `false`.","forceNew":true},"uses_github_action":{"type":"TypeBool","description":"Indicates if the Slot uses a GitHub action for deployment. This value is decoded by the service from the repository information supplied.","computed":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_app_service_source_control_token":{"schema":{"token":{"type":"TypeString","required":true},"token_secret":{"type":"TypeString","optional":true},"type":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_app_service_virtual_network_swift_connection":{"schema":{"app_service_id":{"type":"TypeString","required":true,"forceNew":true},"subnet_id":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_application_gateway":{"schema":{"authentication_certificate":{"type":"TypeList","optional":true,"elem":{"schema":{"data":{"type":"TypeString","required":true},"id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true}}}},"autoscale_configuration":{"type":"TypeList","optional":true,"elem":{"schema":{"max_capacity":{"type":"TypeInt","optional":true},"min_capacity":{"type":"TypeInt","required":true}}},"maxItems":1},"backend_address_pool":{"type":"TypeSet","required":true,"elem":{"schema":{"fqdns":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"id":{"type":"TypeString","computed":true},"ip_addresses":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true}}}},"backend_http_settings":{"type":"TypeSet","required":true,"elem":{"schema":{"affinity_cookie_name":{"type":"TypeString","optional":true},"authentication_certificate":{"type":"TypeList","optional":true,"elem":{"schema":{"id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true}}}},"connection_draining":{"type":"TypeList","optional":true,"elem":{"schema":{"drain_timeout_sec":{"type":"TypeInt","required":true},"enabled":{"type":"TypeBool","required":true}}},"maxItems":1},"cookie_based_affinity":{"type":"TypeString","required":true},"host_name":{"type":"TypeString","optional":true},"id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"path":{"type":"TypeString","optional":true},"pick_host_name_from_backend_address":{"type":"TypeBool","optional":true,"default":false},"port":{"type":"TypeInt","required":true},"probe_id":{"type":"TypeString","computed":true},"probe_name":{"type":"TypeString","optional":true},"protocol":{"type":"TypeString","required":true},"request_timeout":{"type":"TypeInt","optional":true,"default":30},"trusted_root_certificate_names":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}}}},"minItems":1},"custom_error_configuration":{"type":"TypeList","optional":true,"elem":{"schema":{"custom_error_page_url":{"type":"TypeString","required":true},"id":{"type":"TypeString","computed":true},"status_code":{"type":"TypeString","required":true}}}},"enable_http2":{"type":"TypeBool","optional":true},"fips_enabled":{"type":"TypeBool","optional":true},"firewall_policy_id":{"type":"TypeString","optional":true},"force_firewall_policy_association":{"type":"TypeBool","optional":true},"frontend_ip_configuration":{"type":"TypeList","required":true,"elem":{"schema":{"id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"private_ip_address":{"type":"TypeString","optional":true,"computed":true},"private_ip_address_allocation":{"type":"TypeString","optional":true,"default":"Dynamic"},"private_link_configuration_id":{"type":"TypeString","computed":true},"private_link_configuration_name":{"type":"TypeString","optional":true},"public_ip_address_id":{"type":"TypeString","optional":true},"subnet_id":{"type":"TypeString","optional":true}}},"minItems":1},"frontend_port":{"type":"TypeSet","required":true,"elem":{"schema":{"id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"port":{"type":"TypeInt","required":true}}}},"gateway_ip_configuration":{"type":"TypeList","required":true,"elem":{"schema":{"id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"subnet_id":{"type":"TypeString","required":true}}},"maxItems":2},"global":{"type":"TypeList","optional":true,"elem":{"schema":{"request_buffering_enabled":{"type":"TypeBool","required":true},"response_buffering_enabled":{"type":"TypeBool","required":true}}},"maxItems":1},"http_listener":{"type":"TypeSet","required":true,"elem":{"schema":{"custom_error_configuration":{"type":"TypeList","optional":true,"elem":{"schema":{"custom_error_page_url":{"type":"TypeString","required":true},"id":{"type":"TypeString","computed":true},"status_code":{"type":"TypeString","required":true}}}},"firewall_policy_id":{"type":"TypeString","optional":true},"frontend_ip_configuration_id":{"type":"TypeString","computed":true},"frontend_ip_configuration_name":{"type":"TypeString","required":true},"frontend_port_id":{"type":"TypeString","computed":true},"frontend_port_name":{"type":"TypeString","required":true},"host_name":{"type":"TypeString","optional":true},"host_names":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"protocol":{"type":"TypeString","required":true},"require_sni":{"type":"TypeBool","optional":true},"ssl_certificate_id":{"type":"TypeString","computed":true},"ssl_certificate_name":{"type":"TypeString","optional":true},"ssl_profile_id":{"type":"TypeString","computed":true},"ssl_profile_name":{"type":"TypeString","optional":true}}}},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"private_endpoint_connection":{"type":"TypeSet","computed":true,"elem":{"schema":{"id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true}}}},"private_link_configuration":{"type":"TypeSet","optional":true,"elem":{"schema":{"id":{"type":"TypeString","computed":true},"ip_configuration":{"type":"TypeList","required":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"primary":{"type":"TypeBool","required":true},"private_ip_address":{"type":"TypeString","optional":true,"computed":true},"private_ip_address_allocation":{"type":"TypeString","required":true},"subnet_id":{"type":"TypeString","required":true}}},"minItems":1},"name":{"type":"TypeString","required":true}}}},"probe":{"type":"TypeSet","optional":true,"elem":{"schema":{"host":{"type":"TypeString","optional":true},"id":{"type":"TypeString","computed":true},"interval":{"type":"TypeInt","required":true},"match":{"type":"TypeList","optional":true,"elem":{"schema":{"body":{"type":"TypeString","optional":true},"status_code":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"minimum_servers":{"type":"TypeInt","optional":true,"default":0},"name":{"type":"TypeString","required":true},"path":{"type":"TypeString","required":true},"pick_host_name_from_backend_http_settings":{"type":"TypeBool","optional":true,"default":false},"port":{"type":"TypeInt","optional":true},"protocol":{"type":"TypeString","required":true},"timeout":{"type":"TypeInt","required":true},"unhealthy_threshold":{"type":"TypeInt","required":true}}}},"redirect_configuration":{"type":"TypeSet","optional":true,"elem":{"schema":{"id":{"type":"TypeString","computed":true},"include_path":{"type":"TypeBool","optional":true,"default":false},"include_query_string":{"type":"TypeBool","optional":true,"default":false},"name":{"type":"TypeString","required":true},"redirect_type":{"type":"TypeString","required":true},"target_listener_id":{"type":"TypeString","computed":true},"target_listener_name":{"type":"TypeString","optional":true},"target_url":{"type":"TypeString","optional":true}}}},"request_routing_rule":{"type":"TypeSet","required":true,"elem":{"schema":{"backend_address_pool_id":{"type":"TypeString","computed":true},"backend_address_pool_name":{"type":"TypeString","optional":true},"backend_http_settings_id":{"type":"TypeString","computed":true},"backend_http_settings_name":{"type":"TypeString","optional":true},"http_listener_id":{"type":"TypeString","computed":true},"http_listener_name":{"type":"TypeString","required":true},"id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"priority":{"type":"TypeInt","optional":true},"redirect_configuration_id":{"type":"TypeString","computed":true},"redirect_configuration_name":{"type":"TypeString","optional":true},"rewrite_rule_set_id":{"type":"TypeString","computed":true},"rewrite_rule_set_name":{"type":"TypeString","optional":true},"rule_type":{"type":"TypeString","required":true},"url_path_map_id":{"type":"TypeString","computed":true},"url_path_map_name":{"type":"TypeString","optional":true}}},"minItems":1},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"rewrite_rule_set":{"type":"TypeList","optional":true,"elem":{"schema":{"id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"rewrite_rule":{"type":"TypeList","optional":true,"elem":{"schema":{"condition":{"type":"TypeList","optional":true,"elem":{"schema":{"ignore_case":{"type":"TypeBool","optional":true,"default":false},"negate":{"type":"TypeBool","optional":true,"default":false},"pattern":{"type":"TypeString","required":true},"variable":{"type":"TypeString","required":true}}}},"name":{"type":"TypeString","required":true},"request_header_configuration":{"type":"TypeList","optional":true,"elem":{"schema":{"header_name":{"type":"TypeString","required":true},"header_value":{"type":"TypeString","required":true}}}},"response_header_configuration":{"type":"TypeList","optional":true,"elem":{"schema":{"header_name":{"type":"TypeString","required":true},"header_value":{"type":"TypeString","required":true}}}},"rule_sequence":{"type":"TypeInt","required":true},"url":{"type":"TypeList","optional":true,"elem":{"schema":{"components":{"type":"TypeString","optional":true},"path":{"type":"TypeString","optional":true},"query_string":{"type":"TypeString","optional":true},"reroute":{"type":"TypeBool","optional":true,"default":false}}},"maxItems":1}}}}}}},"sku":{"type":"TypeList","required":true,"elem":{"schema":{"capacity":{"type":"TypeInt","optional":true},"name":{"type":"TypeString","required":true},"tier":{"type":"TypeString","required":true}}},"maxItems":1},"ssl_certificate":{"type":"TypeSet","optional":true,"elem":{"schema":{"data":{"type":"TypeString","optional":true},"id":{"type":"TypeString","computed":true},"key_vault_secret_id":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true},"password":{"type":"TypeString","optional":true},"public_cert_data":{"type":"TypeString","computed":true}}}},"ssl_policy":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"cipher_suites":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"disabled_protocols":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"min_protocol_version":{"type":"TypeString","optional":true},"policy_name":{"type":"TypeString","optional":true},"policy_type":{"type":"TypeString","optional":true}}},"maxItems":1},"ssl_profile":{"type":"TypeList","optional":true,"elem":{"schema":{"id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"ssl_policy":{"type":"TypeList","optional":true,"elem":{"schema":{"cipher_suites":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"disabled_protocols":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"min_protocol_version":{"type":"TypeString","optional":true},"policy_name":{"type":"TypeString","optional":true},"policy_type":{"type":"TypeString","optional":true}}},"maxItems":1},"trusted_client_certificate_names":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"verify_client_cert_issuer_dn":{"type":"TypeBool","optional":true,"default":false},"verify_client_certificate_revocation":{"type":"TypeString","optional":true}}}},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"trusted_client_certificate":{"type":"TypeList","optional":true,"elem":{"schema":{"data":{"type":"TypeString","required":true},"id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true}}}},"trusted_root_certificate":{"type":"TypeList","optional":true,"elem":{"schema":{"data":{"type":"TypeString","optional":true},"id":{"type":"TypeString","computed":true},"key_vault_secret_id":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true}}}},"url_path_map":{"type":"TypeList","optional":true,"elem":{"schema":{"default_backend_address_pool_id":{"type":"TypeString","computed":true},"default_backend_address_pool_name":{"type":"TypeString","optional":true},"default_backend_http_settings_id":{"type":"TypeString","computed":true},"default_backend_http_settings_name":{"type":"TypeString","optional":true},"default_redirect_configuration_id":{"type":"TypeString","computed":true},"default_redirect_configuration_name":{"type":"TypeString","optional":true},"default_rewrite_rule_set_id":{"type":"TypeString","computed":true},"default_rewrite_rule_set_name":{"type":"TypeString","optional":true},"id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"path_rule":{"type":"TypeList","required":true,"elem":{"schema":{"backend_address_pool_id":{"type":"TypeString","computed":true},"backend_address_pool_name":{"type":"TypeString","optional":true},"backend_http_settings_id":{"type":"TypeString","computed":true},"backend_http_settings_name":{"type":"TypeString","optional":true},"firewall_policy_id":{"type":"TypeString","optional":true},"id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"paths":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}},"redirect_configuration_id":{"type":"TypeString","computed":true},"redirect_configuration_name":{"type":"TypeString","optional":true},"rewrite_rule_set_id":{"type":"TypeString","computed":true},"rewrite_rule_set_name":{"type":"TypeString","optional":true}}}}}}},"waf_configuration":{"type":"TypeList","optional":true,"elem":{"schema":{"disabled_rule_group":{"type":"TypeList","optional":true,"elem":{"schema":{"rule_group_name":{"type":"TypeString","required":true},"rules":{"type":"TypeList","optional":true,"elem":{"type":"TypeInt"}}}}},"enabled":{"type":"TypeBool","required":true},"exclusion":{"type":"TypeList","optional":true,"elem":{"schema":{"match_variable":{"type":"TypeString","required":true},"selector":{"type":"TypeString","optional":true},"selector_match_operator":{"type":"TypeString","optional":true}}}},"file_upload_limit_mb":{"type":"TypeInt","optional":true,"default":100},"firewall_mode":{"type":"TypeString","required":true},"max_request_body_size_kb":{"type":"TypeInt","optional":true,"default":128},"request_body_check":{"type":"TypeBool","optional":true,"default":true},"rule_set_type":{"type":"TypeString","optional":true,"default":"OWASP"},"rule_set_version":{"type":"TypeString","required":true}}},"maxItems":1},"zones":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":90,"read":5,"delete":90,"update":90}},"azurerm_application_insights":{"schema":{"app_id":{"type":"TypeString","computed":true},"application_type":{"type":"TypeString","required":true,"forceNew":true},"connection_string":{"type":"TypeString","computed":true},"daily_data_cap_in_gb":{"type":"TypeFloat","optional":true,"default":100},"daily_data_cap_notifications_disabled":{"type":"TypeBool","optional":true},"disable_ip_masking":{"type":"TypeBool","optional":true,"default":false},"force_customer_storage_for_profiler":{"type":"TypeBool","optional":true,"default":false},"instrumentation_key":{"type":"TypeString","computed":true},"internet_ingestion_enabled":{"type":"TypeBool","optional":true,"default":true},"internet_query_enabled":{"type":"TypeBool","optional":true,"default":true},"local_authentication_disabled":{"type":"TypeBool","optional":true,"default":false},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"retention_in_days":{"type":"TypeInt","optional":true,"default":90},"sampling_percentage":{"type":"TypeFloat","optional":true,"default":100},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"workspace_id":{"type":"TypeString","optional":true}},"timeouts":{"create":60,"read":5,"delete":30,"update":30}},"azurerm_application_insights_analytics_item":{"schema":{"application_insights_id":{"type":"TypeString","required":true,"forceNew":true},"content":{"type":"TypeString","required":true},"function_alias":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"scope":{"type":"TypeString","required":true,"forceNew":true},"time_created":{"type":"TypeString","computed":true},"time_modified":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true,"forceNew":true},"version":{"type":"TypeString","computed":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_application_insights_api_key":{"schema":{"api_key":{"type":"TypeString","computed":true},"application_insights_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"read_permissions":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"write_permissions":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_application_insights_smart_detection_rule":{"schema":{"additional_email_recipients":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"application_insights_id":{"type":"TypeString","required":true,"forceNew":true},"enabled":{"type":"TypeBool","optional":true,"default":true},"name":{"type":"TypeString","required":true,"forceNew":true},"send_emails_to_subscription_owners":{"type":"TypeBool","optional":true,"default":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_application_insights_standard_web_test":{"schema":{"application_insights_id":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"enabled":{"type":"TypeBool","optional":true},"frequency":{"type":"TypeInt","optional":true,"default":300},"geo_locations":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"minItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"request":{"type":"TypeList","required":true,"elem":{"schema":{"body":{"type":"TypeString","optional":true},"follow_redirects_enabled":{"type":"TypeBool","optional":true,"default":true},"header":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"value":{"type":"TypeString","required":true}}}},"http_verb":{"type":"TypeString","optional":true,"default":"GET"},"parse_dependent_requests_enabled":{"type":"TypeBool","optional":true,"default":true},"url":{"type":"TypeString","required":true}}},"maxItems":1},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"retry_enabled":{"type":"TypeBool","optional":true},"synthetic_monitor_id":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"timeout":{"type":"TypeInt","optional":true,"default":30},"validation_rules":{"type":"TypeList","optional":true,"elem":{"schema":{"content":{"type":"TypeList","optional":true,"elem":{"schema":{"content_match":{"type":"TypeString","required":true},"ignore_case":{"type":"TypeBool","optional":true,"default":false},"pass_if_text_found":{"type":"TypeBool","optional":true,"default":false}}},"maxItems":1},"expected_status_code":{"type":"TypeInt","optional":true,"default":200},"ssl_cert_remaining_lifetime":{"type":"TypeInt","optional":true},"ssl_check_enabled":{"type":"TypeBool","optional":true,"default":false}}},"maxItems":1}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_application_insights_web_test":{"schema":{"application_insights_id":{"type":"TypeString","required":true,"forceNew":true},"configuration":{"type":"TypeString","required":true},"description":{"type":"TypeString","optional":true},"enabled":{"type":"TypeBool","optional":true},"frequency":{"type":"TypeInt","optional":true,"default":300},"geo_locations":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"minItems":1},"kind":{"type":"TypeString","required":true,"forceNew":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"retry_enabled":{"type":"TypeBool","optional":true},"synthetic_monitor_id":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"timeout":{"type":"TypeInt","optional":true,"default":30}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_application_insights_workbook":{"schema":{"category":{"type":"TypeString","optional":true,"default":"workbook"},"data_json":{"type":"TypeString","required":true},"description":{"type":"TypeString","optional":true},"display_name":{"type":"TypeString","required":true},"identity":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"source_id":{"type":"TypeString","optional":true,"default":"azure monitor"},"storage_container_id":{"type":"TypeString","optional":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_application_insights_workbook_template":{"schema":{"author":{"type":"TypeString","optional":true},"galleries":{"type":"TypeList","required":true,"elem":{"schema":{"category":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true},"order":{"type":"TypeInt","optional":true,"default":0},"resource_type":{"type":"TypeString","optional":true,"default":"Azure Monitor"},"type":{"type":"TypeString","optional":true,"default":"workbook"}}},"minItems":1},"localized":{"type":"TypeString","optional":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"priority":{"type":"TypeInt","optional":true,"default":0},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"template_data":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_application_load_balancer":{"schema":{"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"primary_configuration_endpoint":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_application_load_balancer_frontend":{"schema":{"application_load_balancer_id":{"type":"TypeString","required":true,"forceNew":true},"fully_qualified_domain_name":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_application_load_balancer_subnet_association":{"schema":{"application_load_balancer_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"subnet_id":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_application_security_group":{"schema":{"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_arc_kubernetes_cluster":{"schema":{"agent_public_key_certificate":{"type":"TypeString","required":true,"forceNew":true},"agent_version":{"type":"TypeString","computed":true},"distribution":{"type":"TypeString","computed":true},"identity":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"infrastructure":{"type":"TypeString","computed":true},"kubernetes_version":{"type":"TypeString","computed":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"offering":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"total_core_count":{"type":"TypeInt","computed":true},"total_node_count":{"type":"TypeInt","computed":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_arc_kubernetes_cluster_extension":{"schema":{"cluster_id":{"type":"TypeString","required":true,"forceNew":true},"configuration_protected_settings":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"configuration_settings":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"current_version":{"type":"TypeString","computed":true},"extension_type":{"type":"TypeString","required":true,"forceNew":true},"identity":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"release_namespace":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"release_train":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"target_namespace":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"version":{"type":"TypeString","optional":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_arc_kubernetes_flux_configuration":{"schema":{"blob_storage":{"type":"TypeList","optional":true,"elem":{"schema":{"account_key":{"type":"TypeString","optional":true},"container_id":{"type":"TypeString","required":true},"local_auth_reference":{"type":"TypeString","optional":true},"sas_token":{"type":"TypeString","optional":true},"service_principal":{"type":"TypeList","optional":true,"elem":{"schema":{"client_certificate_base64":{"type":"TypeString","optional":true},"client_certificate_password":{"type":"TypeString","optional":true},"client_certificate_send_chain":{"type":"TypeBool","optional":true,"default":false},"client_id":{"type":"TypeString","required":true},"client_secret":{"type":"TypeString","optional":true},"tenant_id":{"type":"TypeString","required":true}}},"maxItems":1},"sync_interval_in_seconds":{"type":"TypeInt","optional":true,"default":600},"timeout_in_seconds":{"type":"TypeInt","optional":true,"default":600}}},"maxItems":1},"bucket":{"type":"TypeList","optional":true,"elem":{"schema":{"access_key":{"type":"TypeString","optional":true},"bucket_name":{"type":"TypeString","required":true},"local_auth_reference":{"type":"TypeString","optional":true},"secret_key_base64":{"type":"TypeString","optional":true},"sync_interval_in_seconds":{"type":"TypeInt","optional":true,"default":600},"timeout_in_seconds":{"type":"TypeInt","optional":true,"default":600},"tls_enabled":{"type":"TypeBool","optional":true,"default":true},"url":{"type":"TypeString","required":true}}},"maxItems":1},"cluster_id":{"type":"TypeString","required":true,"forceNew":true},"continuous_reconciliation_enabled":{"type":"TypeBool","optional":true,"default":true},"git_repository":{"type":"TypeList","optional":true,"elem":{"schema":{"https_ca_cert_base64":{"type":"TypeString","optional":true},"https_key_base64":{"type":"TypeString","optional":true},"https_user":{"type":"TypeString","optional":true},"local_auth_reference":{"type":"TypeString","optional":true},"reference_type":{"type":"TypeString","required":true},"reference_value":{"type":"TypeString","required":true},"ssh_known_hosts_base64":{"type":"TypeString","optional":true},"ssh_private_key_base64":{"type":"TypeString","optional":true},"sync_interval_in_seconds":{"type":"TypeInt","optional":true,"default":600},"timeout_in_seconds":{"type":"TypeInt","optional":true,"default":600},"url":{"type":"TypeString","required":true}}},"maxItems":1},"kustomizations":{"type":"TypeSet","required":true,"elem":{"schema":{"depends_on":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"garbage_collection_enabled":{"type":"TypeBool","optional":true,"default":false},"name":{"type":"TypeString","required":true},"path":{"type":"TypeString","optional":true},"recreating_enabled":{"type":"TypeBool","optional":true,"default":false},"retry_interval_in_seconds":{"type":"TypeInt","optional":true,"default":600},"sync_interval_in_seconds":{"type":"TypeInt","optional":true,"default":600},"timeout_in_seconds":{"type":"TypeInt","optional":true,"default":600}}},"minItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"namespace":{"type":"TypeString","required":true,"forceNew":true},"scope":{"type":"TypeString","optional":true,"default":"namespace","forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_arc_machine":{"schema":{"kind":{"type":"TypeString","required":true,"forceNew":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_arc_machine_automanage_configuration_assignment":{"schema":{"arc_machine_id":{"type":"TypeString","required":true,"forceNew":true},"configuration_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_arc_machine_extension":{"schema":{"arc_machine_id":{"type":"TypeString","required":true,"forceNew":true},"automatic_upgrade_enabled":{"type":"TypeBool","optional":true,"default":true},"force_update_tag":{"type":"TypeString","optional":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"protected_settings":{"type":"TypeString","optional":true},"publisher":{"type":"TypeString","required":true,"forceNew":true},"settings":{"type":"TypeString","optional":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"type":{"type":"TypeString","required":true,"forceNew":true},"type_handler_version":{"type":"TypeString","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_arc_private_link_scope":{"schema":{"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"public_network_access_enabled":{"type":"TypeBool","optional":true,"default":false},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_arc_resource_bridge_appliance":{"schema":{"distro":{"type":"TypeString","required":true},"identity":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"infrastructure_provider":{"type":"TypeString","required":true,"forceNew":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"public_key_base64":{"type":"TypeString","optional":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":60,"read":5,"delete":30,"update":30}},"azurerm_attestation_provider":{"schema":{"attestation_uri":{"type":"TypeString","computed":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"open_enclave_policy_base64":{"type":"TypeString","optional":true},"policy_signing_certificate_data":{"type":"TypeString","optional":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"sev_snp_policy_base64":{"type":"TypeString","optional":true},"sgx_enclave_policy_base64":{"type":"TypeString","optional":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"tpm_policy_base64":{"type":"TypeString","optional":true},"trust_model":{"type":"TypeString","computed":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_automanage_configuration":{"schema":{"antimalware":{"type":"TypeList","optional":true,"elem":{"schema":{"exclusions":{"type":"TypeList","optional":true,"elem":{"schema":{"extensions":{"type":"TypeString","optional":true},"paths":{"type":"TypeString","optional":true},"processes":{"type":"TypeString","optional":true}}},"maxItems":1},"real_time_protection_enabled":{"type":"TypeBool","optional":true,"default":false},"scheduled_scan_day":{"type":"TypeInt","optional":true,"default":8},"scheduled_scan_enabled":{"type":"TypeBool","optional":true,"default":false},"scheduled_scan_time_in_minutes":{"type":"TypeInt","optional":true,"default":0},"scheduled_scan_type":{"type":"TypeString","optional":true,"default":"Quick"}}},"maxItems":1},"automation_account_enabled":{"type":"TypeBool","optional":true,"default":false},"azure_security_baseline":{"type":"TypeList","optional":true,"elem":{"schema":{"assignment_type":{"type":"TypeString","optional":true,"default":"ApplyAndAutoCorrect"}}},"maxItems":1},"backup":{"type":"TypeList","optional":true,"elem":{"schema":{"instant_rp_retention_range_in_days":{"type":"TypeInt","optional":true,"default":5},"policy_name":{"type":"TypeString","optional":true},"retention_policy":{"type":"TypeList","optional":true,"elem":{"schema":{"daily_schedule":{"type":"TypeList","optional":true,"elem":{"schema":{"retention_duration":{"type":"TypeList","optional":true,"elem":{"schema":{"count":{"type":"TypeInt","optional":true},"duration_type":{"type":"TypeString","optional":true,"default":"Days"}}},"maxItems":1},"retention_times":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"retention_policy_type":{"type":"TypeString","optional":true,"default":"LongTermRetentionPolicy"},"weekly_schedule":{"type":"TypeList","optional":true,"elem":{"schema":{"retention_duration":{"type":"TypeList","optional":true,"elem":{"schema":{"count":{"type":"TypeInt","optional":true},"duration_type":{"type":"TypeString","optional":true,"default":"Weeks"}}},"maxItems":1},"retention_times":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1}}},"maxItems":1},"schedule_policy":{"type":"TypeList","optional":true,"elem":{"schema":{"schedule_policy_type":{"type":"TypeString","optional":true,"default":"SimpleSchedulePolicy"},"schedule_run_days":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"schedule_run_frequency":{"type":"TypeString","optional":true,"default":"Daily"},"schedule_run_times":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"time_zone":{"type":"TypeString","optional":true,"default":"UTC"}}},"maxItems":1},"boot_diagnostics_enabled":{"type":"TypeBool","optional":true,"default":false},"defender_for_cloud_enabled":{"type":"TypeBool","optional":true,"default":false},"guest_configuration_enabled":{"type":"TypeBool","optional":true,"default":false},"location":{"type":"TypeString","required":true,"forceNew":true},"log_analytics_enabled":{"type":"TypeBool","optional":true,"default":false},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"status_change_alert_enabled":{"type":"TypeBool","optional":true,"default":false},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_automation_account":{"schema":{"dsc_primary_access_key":{"type":"TypeString","computed":true},"dsc_secondary_access_key":{"type":"TypeString","computed":true},"dsc_server_endpoint":{"type":"TypeString","computed":true},"encryption":{"type":"TypeList","optional":true,"elem":{"schema":{"key_source":{"type":"TypeString","optional":true},"key_vault_key_id":{"type":"TypeString","required":true},"user_assigned_identity_id":{"type":"TypeString","optional":true}}}},"hybrid_service_url":{"type":"TypeString","computed":true},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"local_authentication_enabled":{"type":"TypeBool","optional":true,"default":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"private_endpoint_connection":{"type":"TypeList","computed":true,"elem":{"schema":{"id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true}}}},"public_network_access_enabled":{"type":"TypeBool","optional":true,"default":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"sku_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_automation_certificate":{"schema":{"automation_account_name":{"type":"TypeString","required":true,"forceNew":true},"base64":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"exportable":{"type":"TypeBool","optional":true,"default":false},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"thumbprint":{"type":"TypeString","computed":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_automation_connection":{"schema":{"automation_account_name":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"type":{"type":"TypeString","required":true,"forceNew":true},"values":{"type":"TypeMap","required":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_automation_connection_certificate":{"schema":{"automation_account_name":{"type":"TypeString","required":true,"forceNew":true},"automation_certificate_name":{"type":"TypeString","required":true},"description":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"subscription_id":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_automation_connection_classic_certificate":{"schema":{"automation_account_name":{"type":"TypeString","required":true,"forceNew":true},"certificate_asset_name":{"type":"TypeString","required":true},"description":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"subscription_id":{"type":"TypeString","required":true},"subscription_name":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_automation_connection_service_principal":{"schema":{"application_id":{"type":"TypeString","required":true},"automation_account_name":{"type":"TypeString","required":true,"forceNew":true},"certificate_thumbprint":{"type":"TypeString","required":true},"description":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"subscription_id":{"type":"TypeString","required":true},"tenant_id":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_automation_connection_type":{"schema":{"automation_account_name":{"type":"TypeString","required":true,"forceNew":true},"field":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"is_encrypted":{"type":"TypeBool","optional":true},"is_optional":{"type":"TypeBool","optional":true},"name":{"type":"TypeString","required":true},"type":{"type":"TypeString","required":true}}}},"is_global":{"type":"TypeBool","optional":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":10}},"azurerm_automation_credential":{"schema":{"automation_account_name":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"password":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"username":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_automation_dsc_configuration":{"schema":{"automation_account_name":{"type":"TypeString","required":true,"forceNew":true},"content_embedded":{"type":"TypeString","required":true},"description":{"type":"TypeString","optional":true},"location":{"type":"TypeString","required":true,"forceNew":true},"log_verbose":{"type":"TypeBool","optional":true,"default":false},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"state":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_automation_dsc_nodeconfiguration":{"schema":{"automation_account_name":{"type":"TypeString","required":true,"forceNew":true},"configuration_name":{"type":"TypeString","computed":true},"content_embedded":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_automation_hybrid_runbook_worker":{"schema":{"automation_account_name":{"type":"TypeString","required":true,"forceNew":true},"ip":{"type":"TypeString","computed":true},"last_seen_date_time":{"type":"TypeString","computed":true},"registration_date_time":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"vm_resource_id":{"type":"TypeString","required":true,"forceNew":true},"worker_group_name":{"type":"TypeString","required":true,"forceNew":true},"worker_id":{"type":"TypeString","required":true,"forceNew":true},"worker_name":{"type":"TypeString","computed":true},"worker_type":{"type":"TypeString","computed":true}},"timeouts":{"create":30,"read":5,"delete":10}},"azurerm_automation_hybrid_runbook_worker_group":{"schema":{"automation_account_name":{"type":"TypeString","required":true,"forceNew":true},"credential_name":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":10,"update":10}},"azurerm_automation_job_schedule":{"schema":{"automation_account_name":{"type":"TypeString","required":true,"forceNew":true},"job_schedule_id":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"parameters":{"type":"TypeMap","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"resource_manager_id":{"type":"TypeString","computed":true},"run_on":{"type":"TypeString","optional":true,"forceNew":true},"runbook_name":{"type":"TypeString","required":true,"forceNew":true},"schedule_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_automation_module":{"schema":{"automation_account_name":{"type":"TypeString","required":true,"forceNew":true},"module_link":{"type":"TypeList","required":true,"elem":{"schema":{"hash":{"type":"TypeList","optional":true,"elem":{"schema":{"algorithm":{"type":"TypeString","required":true},"value":{"type":"TypeString","required":true}}},"maxItems":1},"uri":{"type":"TypeString","required":true}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_automation_powershell72_module":{"schema":{"automation_account_id":{"type":"TypeString","required":true,"forceNew":true},"module_link":{"type":"TypeList","required":true,"elem":{"schema":{"hash":{"type":"TypeList","optional":true,"elem":{"schema":{"algorithm":{"type":"TypeString","required":true},"value":{"type":"TypeString","required":true}}},"maxItems":1},"uri":{"type":"TypeString","required":true}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_automation_python3_package":{"schema":{"automation_account_name":{"type":"TypeString","required":true,"forceNew":true},"content_uri":{"type":"TypeString","required":true,"forceNew":true},"content_version":{"type":"TypeString","optional":true,"forceNew":true},"hash_algorithm":{"type":"TypeString","optional":true,"forceNew":true},"hash_value":{"type":"TypeString","optional":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":10,"update":10}},"azurerm_automation_runbook":{"schema":{"automation_account_name":{"type":"TypeString","required":true,"forceNew":true},"content":{"type":"TypeString","optional":true,"computed":true},"description":{"type":"TypeString","optional":true},"draft":{"type":"TypeList","optional":true,"elem":{"schema":{"content_link":{"type":"TypeList","optional":true,"elem":{"schema":{"hash":{"type":"TypeList","optional":true,"elem":{"schema":{"algorithm":{"type":"TypeString","required":true},"value":{"type":"TypeString","required":true}}},"maxItems":1},"uri":{"type":"TypeString","required":true},"version":{"type":"TypeString","optional":true}}},"maxItems":1},"creation_time":{"type":"TypeString","computed":true},"edit_mode_enabled":{"type":"TypeBool","optional":true},"last_modified_time":{"type":"TypeString","computed":true},"output_types":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"parameters":{"type":"TypeList","optional":true,"elem":{"schema":{"default_value":{"type":"TypeString","optional":true},"key":{"type":"TypeString","required":true},"mandatory":{"type":"TypeBool","optional":true,"default":false},"position":{"type":"TypeInt","optional":true},"type":{"type":"TypeString","required":true}}}}}},"maxItems":1},"job_schedule":{"type":"TypeSet","configMode":"Auto","optional":true,"computed":true,"elem":{"schema":{"job_schedule_id":{"type":"TypeString","computed":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"run_on":{"type":"TypeString","optional":true},"schedule_name":{"type":"TypeString","required":true}}}},"location":{"type":"TypeString","required":true,"forceNew":true},"log_activity_trace_level":{"type":"TypeInt","optional":true},"log_progress":{"type":"TypeBool","required":true},"log_verbose":{"type":"TypeBool","required":true},"name":{"type":"TypeString","required":true,"forceNew":true},"publish_content_link":{"type":"TypeList","optional":true,"elem":{"schema":{"hash":{"type":"TypeList","optional":true,"elem":{"schema":{"algorithm":{"type":"TypeString","required":true},"value":{"type":"TypeString","required":true}}},"maxItems":1},"uri":{"type":"TypeString","required":true},"version":{"type":"TypeString","optional":true}}},"maxItems":1},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"runbook_type":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_automation_schedule":{"schema":{"automation_account_name":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"expiry_time":{"type":"TypeString","optional":true,"computed":true},"frequency":{"type":"TypeString","required":true},"interval":{"type":"TypeInt","optional":true,"computed":true},"month_days":{"type":"TypeSet","optional":true,"elem":{"type":"TypeInt"}},"monthly_occurrence":{"type":"TypeList","optional":true,"elem":{"schema":{"day":{"type":"TypeString","required":true},"occurrence":{"type":"TypeInt","required":true}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"start_time":{"type":"TypeString","optional":true,"computed":true},"timezone":{"type":"TypeString","optional":true,"default":"Etc/UTC"},"week_days":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_automation_software_update_configuration":{"schema":{"automation_account_id":{"type":"TypeString","required":true,"forceNew":true},"duration":{"type":"TypeString","optional":true,"default":"PT2H"},"error_code":{"type":"TypeString","computed":true},"error_message":{"type":"TypeString","computed":true},"linux":{"type":"TypeList","optional":true,"elem":{"schema":{"classifications_included":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}},"excluded_packages":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"included_packages":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"reboot":{"type":"TypeString","optional":true,"default":"IfRequired"}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"non_azure_computer_names":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"post_task":{"type":"TypeList","optional":true,"elem":{"schema":{"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"source":{"type":"TypeString","optional":true}}},"maxItems":1},"pre_task":{"type":"TypeList","optional":true,"elem":{"schema":{"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"source":{"type":"TypeString","optional":true}}},"maxItems":1},"schedule":{"type":"TypeList","required":true,"elem":{"schema":{"advanced_month_days":{"type":"TypeList","optional":true,"elem":{"type":"TypeInt"}},"advanced_week_days":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"creation_time":{"type":"TypeString","computed":true},"description":{"type":"TypeString","optional":true},"expiry_time":{"type":"TypeString","optional":true,"computed":true},"expiry_time_offset_minutes":{"type":"TypeFloat","optional":true},"frequency":{"type":"TypeString","required":true},"interval":{"type":"TypeInt","optional":true},"is_enabled":{"type":"TypeBool","optional":true,"default":true},"last_modified_time":{"type":"TypeString","computed":true},"monthly_occurrence":{"type":"TypeList","optional":true,"elem":{"schema":{"day":{"type":"TypeString","required":true},"occurrence":{"type":"TypeInt","required":true}}},"maxItems":1},"next_run":{"type":"TypeString","optional":true,"computed":true},"next_run_offset_minutes":{"type":"TypeFloat","optional":true},"start_time":{"type":"TypeString","optional":true,"computed":true},"start_time_offset_minutes":{"type":"TypeFloat","optional":true},"time_zone":{"type":"TypeString","optional":true,"default":"Etc/UTC"}}},"maxItems":1},"target":{"type":"TypeList","optional":true,"elem":{"schema":{"azure_query":{"type":"TypeList","optional":true,"elem":{"schema":{"locations":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"scope":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"tag_filter":{"type":"TypeString","optional":true},"tags":{"type":"TypeList","optional":true,"elem":{"schema":{"tag":{"type":"TypeString","required":true},"values":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}}}}}}}},"non_azure_query":{"type":"TypeList","optional":true,"elem":{"schema":{"function_alias":{"type":"TypeString","optional":true},"workspace_id":{"type":"TypeString","optional":true}}}}}},"maxItems":1},"virtual_machine_ids":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"windows":{"type":"TypeList","optional":true,"elem":{"schema":{"classifications_included":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}},"excluded_knowledge_base_numbers":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"included_knowledge_base_numbers":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"reboot":{"type":"TypeString","optional":true,"default":"IfRequired"}}},"maxItems":1}},"timeouts":{"create":30,"read":5,"delete":10,"update":30}},"azurerm_automation_source_control":{"schema":{"automatic_sync":{"type":"TypeBool","optional":true,"default":false},"automation_account_id":{"type":"TypeString","required":true,"forceNew":true},"branch":{"type":"TypeString","optional":true},"description":{"type":"TypeString","optional":true},"folder_path":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true,"forceNew":true},"publish_runbook_enabled":{"type":"TypeBool","optional":true,"default":true},"repository_url":{"type":"TypeString","required":true},"security":{"type":"TypeList","required":true,"elem":{"schema":{"refresh_token":{"type":"TypeString","optional":true},"token":{"type":"TypeString","required":true},"token_type":{"type":"TypeString","required":true}}},"maxItems":1,"minItems":1},"source_control_type":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":10,"update":10}},"azurerm_automation_variable_bool":{"schema":{"automation_account_name":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"encrypted":{"type":"TypeBool","optional":true,"default":false},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"value":{"type":"TypeBool","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_automation_variable_datetime":{"schema":{"automation_account_name":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"encrypted":{"type":"TypeBool","optional":true,"default":false},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"value":{"type":"TypeString","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_automation_variable_int":{"schema":{"automation_account_name":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"encrypted":{"type":"TypeBool","optional":true,"default":false},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"value":{"type":"TypeInt","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_automation_variable_object":{"schema":{"automation_account_name":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"encrypted":{"type":"TypeBool","optional":true,"default":false},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"value":{"type":"TypeString","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_automation_variable_string":{"schema":{"automation_account_name":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"encrypted":{"type":"TypeBool","optional":true,"default":false},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"value":{"type":"TypeString","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_automation_watcher":{"schema":{"automation_account_id":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"etag":{"type":"TypeString","optional":true},"execution_frequency_in_seconds":{"type":"TypeInt","required":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"script_name":{"type":"TypeString","required":true,"forceNew":true},"script_parameters":{"type":"TypeMap","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"script_run_on":{"type":"TypeString","required":true},"status":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":10,"update":10}},"azurerm_automation_webhook":{"schema":{"automation_account_name":{"type":"TypeString","required":true,"forceNew":true},"enabled":{"type":"TypeBool","optional":true,"default":true},"expiry_time":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"run_on_worker_group":{"type":"TypeString","optional":true},"runbook_name":{"type":"TypeString","required":true},"uri":{"type":"TypeString","optional":true,"computed":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_availability_set":{"schema":{"location":{"type":"TypeString","required":true,"forceNew":true},"managed":{"type":"TypeBool","optional":true,"default":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"platform_fault_domain_count":{"type":"TypeInt","optional":true,"default":3,"forceNew":true},"platform_update_domain_count":{"type":"TypeInt","optional":true,"default":5,"forceNew":true},"proximity_placement_group_id":{"type":"TypeString","optional":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_backup_container_storage_account":{"schema":{"recovery_vault_name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"storage_account_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_backup_policy_file_share":{"schema":{"backup":{"type":"TypeList","required":true,"elem":{"schema":{"frequency":{"type":"TypeString","required":true},"hourly":{"type":"TypeList","optional":true,"elem":{"schema":{"interval":{"type":"TypeInt","required":true},"start_time":{"type":"TypeString","required":true},"window_duration":{"type":"TypeInt","required":true}}},"maxItems":1},"time":{"type":"TypeString","optional":true}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"recovery_vault_name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"retention_daily":{"type":"TypeList","required":true,"elem":{"schema":{"count":{"type":"TypeInt","required":true}}},"maxItems":1},"retention_monthly":{"type":"TypeList","optional":true,"elem":{"schema":{"count":{"type":"TypeInt","required":true},"days":{"type":"TypeSet","optional":true,"elem":{"type":"TypeInt"}},"include_last_days":{"type":"TypeBool","optional":true,"default":false},"weekdays":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"weeks":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"retention_weekly":{"type":"TypeList","optional":true,"elem":{"schema":{"count":{"type":"TypeInt","required":true},"weekdays":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"retention_yearly":{"type":"TypeList","optional":true,"elem":{"schema":{"count":{"type":"TypeInt","required":true},"days":{"type":"TypeSet","optional":true,"elem":{"type":"TypeInt"}},"include_last_days":{"type":"TypeBool","optional":true,"default":false},"months":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}},"weekdays":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"weeks":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"timezone":{"type":"TypeString","optional":true,"default":"UTC"}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_backup_policy_vm":{"schema":{"backup":{"type":"TypeList","required":true,"elem":{"schema":{"frequency":{"type":"TypeString","required":true},"hour_duration":{"type":"TypeInt","optional":true},"hour_interval":{"type":"TypeInt","optional":true},"time":{"type":"TypeString","required":true},"weekdays":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"instant_restore_resource_group":{"type":"TypeList","optional":true,"elem":{"schema":{"prefix":{"type":"TypeString","required":true},"suffix":{"type":"TypeString","optional":true}}},"maxItems":1},"instant_restore_retention_days":{"type":"TypeInt","optional":true,"computed":true},"name":{"type":"TypeString","required":true,"forceNew":true},"policy_type":{"type":"TypeString","optional":true,"default":"V1","forceNew":true},"recovery_vault_name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"retention_daily":{"type":"TypeList","optional":true,"elem":{"schema":{"count":{"type":"TypeInt","required":true}}},"maxItems":1},"retention_monthly":{"type":"TypeList","optional":true,"elem":{"schema":{"count":{"type":"TypeInt","required":true},"days":{"type":"TypeSet","optional":true,"elem":{"type":"TypeInt"}},"include_last_days":{"type":"TypeBool","optional":true,"default":false},"weekdays":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"weeks":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"retention_weekly":{"type":"TypeList","optional":true,"elem":{"schema":{"count":{"type":"TypeInt","required":true},"weekdays":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"retention_yearly":{"type":"TypeList","optional":true,"elem":{"schema":{"count":{"type":"TypeInt","required":true},"days":{"type":"TypeSet","optional":true,"elem":{"type":"TypeInt"}},"include_last_days":{"type":"TypeBool","optional":true,"default":false},"months":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}},"weekdays":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"weeks":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"tiering_policy":{"type":"TypeList","optional":true,"elem":{"schema":{"archived_restore_point":{"type":"TypeList","required":true,"elem":{"schema":{"duration":{"type":"TypeInt","optional":true},"duration_type":{"type":"TypeString","optional":true},"mode":{"type":"TypeString","required":true}}},"maxItems":1}}},"maxItems":1},"timezone":{"type":"TypeString","optional":true,"default":"UTC"}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_backup_policy_vm_workload":{"schema":{"name":{"type":"TypeString","required":true,"forceNew":true},"protection_policy":{"type":"TypeSet","required":true,"elem":{"schema":{"backup":{"type":"TypeList","required":true,"elem":{"schema":{"frequency":{"type":"TypeString","optional":true},"frequency_in_minutes":{"type":"TypeInt","optional":true},"time":{"type":"TypeString","optional":true},"weekdays":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"policy_type":{"type":"TypeString","required":true},"retention_daily":{"type":"TypeList","optional":true,"elem":{"schema":{"count":{"type":"TypeInt","required":true}}},"maxItems":1},"retention_monthly":{"type":"TypeList","optional":true,"elem":{"schema":{"count":{"type":"TypeInt","required":true},"format_type":{"type":"TypeString","required":true},"monthdays":{"type":"TypeSet","optional":true,"elem":{"type":"TypeInt"}},"weekdays":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"weeks":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"retention_weekly":{"type":"TypeList","optional":true,"elem":{"schema":{"count":{"type":"TypeInt","required":true},"weekdays":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"retention_yearly":{"type":"TypeList","optional":true,"elem":{"schema":{"count":{"type":"TypeInt","required":true},"format_type":{"type":"TypeString","required":true},"monthdays":{"type":"TypeSet","optional":true,"elem":{"type":"TypeInt"}},"months":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}},"weekdays":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"weeks":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"simple_retention":{"type":"TypeList","optional":true,"elem":{"schema":{"count":{"type":"TypeInt","required":true}}},"maxItems":1}}}},"recovery_vault_name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"settings":{"type":"TypeList","required":true,"elem":{"schema":{"compression_enabled":{"type":"TypeBool","optional":true,"default":false},"time_zone":{"type":"TypeString","required":true}}},"maxItems":1},"workload_type":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_backup_protected_file_share":{"schema":{"backup_policy_id":{"type":"TypeString","required":true},"recovery_vault_name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"source_file_share_name":{"type":"TypeString","required":true,"forceNew":true},"source_storage_account_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":80,"read":5,"delete":80,"update":80}},"azurerm_backup_protected_vm":{"schema":{"backup_policy_id":{"type":"TypeString","optional":true},"exclude_disk_luns":{"type":"TypeSet","optional":true,"elem":{"type":"TypeInt"}},"include_disk_luns":{"type":"TypeSet","optional":true,"elem":{"type":"TypeInt"}},"protection_state":{"type":"TypeString","optional":true,"computed":true},"recovery_vault_name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"source_vm_id":{"type":"TypeString","optional":true,"computed":true,"forceNew":true}},"timeouts":{"create":120,"read":5,"delete":80,"update":120}},"azurerm_bastion_host":{"schema":{"copy_paste_enabled":{"type":"TypeBool","optional":true,"default":true},"dns_name":{"type":"TypeString","computed":true},"file_copy_enabled":{"type":"TypeBool","optional":true,"default":false},"ip_configuration":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"name":{"type":"TypeString","required":true,"forceNew":true},"public_ip_address_id":{"type":"TypeString","required":true,"forceNew":true},"subnet_id":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"ip_connect_enabled":{"type":"TypeBool","optional":true,"default":false},"kerberos_enabled":{"type":"TypeBool","optional":true,"default":false},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"scale_units":{"type":"TypeInt","optional":true,"default":2},"session_recording_enabled":{"type":"TypeBool","optional":true,"default":false},"shareable_link_enabled":{"type":"TypeBool","optional":true,"default":false},"sku":{"type":"TypeString","optional":true,"default":"Basic"},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"tunneling_enabled":{"type":"TypeBool","optional":true,"default":false},"virtual_network_id":{"type":"TypeString","optional":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_batch_account":{"schema":{"account_endpoint":{"type":"TypeString","computed":true},"allowed_authentication_modes":{"type":"TypeSet","optional":true,"computed":true,"elem":{"type":"TypeString"}},"encryption":{"type":"TypeList","configMode":"Auto","optional":true,"elem":{"schema":{"key_vault_key_id":{"type":"TypeString","required":true}}},"maxItems":1},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"key_vault_reference":{"type":"TypeList","optional":true,"elem":{"schema":{"id":{"type":"TypeString","required":true},"url":{"type":"TypeString","required":true}}},"maxItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"network_profile":{"type":"TypeList","optional":true,"elem":{"schema":{"account_access":{"type":"TypeList","optional":true,"elem":{"schema":{"default_action":{"type":"TypeString","optional":true,"default":"Deny"},"ip_rule":{"type":"TypeList","optional":true,"elem":{"schema":{"action":{"type":"TypeString","optional":true,"default":"Allow"},"ip_range":{"type":"TypeString","required":true}}}}}},"maxItems":1},"node_management_access":{"type":"TypeList","optional":true,"elem":{"schema":{"default_action":{"type":"TypeString","optional":true,"default":"Deny"},"ip_rule":{"type":"TypeList","optional":true,"elem":{"schema":{"action":{"type":"TypeString","optional":true,"default":"Allow"},"ip_range":{"type":"TypeString","required":true}}}}}},"maxItems":1}}},"maxItems":1},"pool_allocation_mode":{"type":"TypeString","optional":true,"default":"BatchService"},"primary_access_key":{"type":"TypeString","computed":true},"public_network_access_enabled":{"type":"TypeBool","optional":true,"default":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"secondary_access_key":{"type":"TypeString","computed":true},"storage_account_authentication_mode":{"type":"TypeString","optional":true},"storage_account_id":{"type":"TypeString","optional":true},"storage_account_node_identity":{"type":"TypeString","optional":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_batch_application":{"schema":{"account_name":{"type":"TypeString","required":true,"forceNew":true},"allow_updates":{"type":"TypeBool","optional":true,"default":true},"default_version":{"type":"TypeString","optional":true},"display_name":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_batch_certificate":{"schema":{"account_name":{"type":"TypeString","required":true,"forceNew":true},"certificate":{"type":"TypeString","required":true},"format":{"type":"TypeString","required":true},"name":{"type":"TypeString","computed":true},"password":{"type":"TypeString","optional":true},"public_data":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"thumbprint":{"type":"TypeString","required":true,"forceNew":true},"thumbprint_algorithm":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_batch_job":{"schema":{"batch_pool_id":{"type":"TypeString","required":true,"forceNew":true},"common_environment_properties":{"type":"TypeMap","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"display_name":{"type":"TypeString","optional":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"priority":{"type":"TypeInt","optional":true,"default":0},"task_retry_maximum":{"type":"TypeInt","optional":true}},"timeouts":{"create":5,"read":5,"delete":5,"update":5}},"azurerm_batch_pool":{"schema":{"account_name":{"type":"TypeString","required":true,"forceNew":true},"auto_scale":{"type":"TypeList","optional":true,"elem":{"schema":{"evaluation_interval":{"type":"TypeString","optional":true,"default":"PT15M"},"formula":{"type":"TypeString","required":true}}},"maxItems":1},"certificate":{"type":"TypeList","optional":true,"elem":{"schema":{"id":{"type":"TypeString","required":true},"store_location":{"type":"TypeString","required":true},"store_name":{"type":"TypeString","optional":true},"visibility":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}}}}},"container_configuration":{"type":"TypeList","optional":true,"elem":{"schema":{"container_image_names":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"container_registries":{"type":"TypeList","configMode":"Auto","optional":true,"forceNew":true,"elem":{"schema":{"password":{"type":"TypeString","optional":true,"forceNew":true},"registry_server":{"type":"TypeString","required":true,"forceNew":true},"user_assigned_identity_id":{"type":"TypeString","optional":true,"description":"The User Assigned Identity to use for Container Registry access.","forceNew":true},"user_name":{"type":"TypeString","optional":true,"forceNew":true}}}},"type":{"type":"TypeString","optional":true}}},"maxItems":1,"minItems":1},"data_disks":{"type":"TypeList","optional":true,"elem":{"schema":{"caching":{"type":"TypeString","optional":true,"default":"ReadOnly"},"disk_size_gb":{"type":"TypeInt","required":true},"lun":{"type":"TypeInt","required":true},"storage_account_type":{"type":"TypeString","optional":true,"default":"Standard_LRS"}}}},"disk_encryption":{"type":"TypeList","optional":true,"elem":{"schema":{"disk_encryption_target":{"type":"TypeString","required":true}}}},"display_name":{"type":"TypeString","optional":true,"forceNew":true},"extensions":{"type":"TypeList","optional":true,"elem":{"schema":{"auto_upgrade_minor_version":{"type":"TypeBool","optional":true},"automatic_upgrade_enabled":{"type":"TypeBool","optional":true},"name":{"type":"TypeString","required":true},"protected_settings":{"type":"TypeString","optional":true},"provision_after_extensions":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"publisher":{"type":"TypeString","required":true},"settings_json":{"type":"TypeString","optional":true},"type":{"type":"TypeString","required":true},"type_handler_version":{"type":"TypeString","optional":true}}}},"fixed_scale":{"type":"TypeList","optional":true,"elem":{"schema":{"node_deallocation_method":{"type":"TypeString","optional":true},"resize_timeout":{"type":"TypeString","optional":true,"default":"PT15M"},"target_dedicated_nodes":{"type":"TypeInt","optional":true,"default":1},"target_low_priority_nodes":{"type":"TypeInt","optional":true,"default":0}}},"maxItems":1},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}},"type":{"type":"TypeString","required":true}}},"maxItems":1},"inter_node_communication":{"type":"TypeString","optional":true,"default":"Enabled"},"license_type":{"type":"TypeString","optional":true},"max_tasks_per_node":{"type":"TypeInt","optional":true,"default":1,"forceNew":true},"metadata":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"mount":{"type":"TypeList","optional":true,"elem":{"schema":{"azure_blob_file_system":{"type":"TypeList","optional":true,"elem":{"schema":{"account_key":{"type":"TypeString","optional":true},"account_name":{"type":"TypeString","required":true},"blobfuse_options":{"type":"TypeString","optional":true},"container_name":{"type":"TypeString","required":true},"identity_id":{"type":"TypeString","optional":true},"relative_mount_path":{"type":"TypeString","required":true},"sas_key":{"type":"TypeString","optional":true}}},"maxItems":1},"azure_file_share":{"type":"TypeList","optional":true,"elem":{"schema":{"account_key":{"type":"TypeString","required":true},"account_name":{"type":"TypeString","required":true},"azure_file_url":{"type":"TypeString","required":true},"mount_options":{"type":"TypeString","optional":true},"relative_mount_path":{"type":"TypeString","required":true}}}},"cifs_mount":{"type":"TypeList","optional":true,"elem":{"schema":{"mount_options":{"type":"TypeString","optional":true},"password":{"type":"TypeString","required":true},"relative_mount_path":{"type":"TypeString","required":true},"source":{"type":"TypeString","required":true},"user_name":{"type":"TypeString","required":true}}}},"nfs_mount":{"type":"TypeList","optional":true,"elem":{"schema":{"mount_options":{"type":"TypeString","optional":true},"relative_mount_path":{"type":"TypeString","required":true},"source":{"type":"TypeString","required":true}}}}}}},"name":{"type":"TypeString","required":true,"forceNew":true},"network_configuration":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"accelerated_networking_enabled":{"type":"TypeBool","optional":true,"default":false,"forceNew":true},"dynamic_vnet_assignment_scope":{"type":"TypeString","optional":true,"default":"none","forceNew":true},"endpoint_configuration":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"backend_port":{"type":"TypeInt","required":true,"forceNew":true},"frontend_port_range":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"network_security_group_rules":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"access":{"type":"TypeString","required":true,"forceNew":true},"priority":{"type":"TypeInt","required":true,"forceNew":true},"source_address_prefix":{"type":"TypeString","required":true,"forceNew":true},"source_port_ranges":{"type":"TypeList","optional":true,"computed":true,"forceNew":true,"elem":{"type":"TypeString","default":"*"}}}}},"protocol":{"type":"TypeString","required":true,"forceNew":true}}}},"public_address_provisioning_type":{"type":"TypeString","optional":true},"public_ips":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"subnet_id":{"type":"TypeString","optional":true,"forceNew":true}}},"maxItems":1},"node_agent_sku_id":{"type":"TypeString","required":true,"forceNew":true},"node_placement":{"type":"TypeList","optional":true,"elem":{"schema":{"policy":{"type":"TypeString","optional":true,"default":"Regional"}}}},"os_disk_placement":{"type":"TypeString","optional":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"start_task":{"type":"TypeList","optional":true,"elem":{"schema":{"command_line":{"type":"TypeString","required":true},"common_environment_properties":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"container":{"type":"TypeList","optional":true,"elem":{"schema":{"image_name":{"type":"TypeString","required":true},"registry":{"type":"TypeList","optional":true,"elem":{"schema":{"password":{"type":"TypeString","optional":true,"forceNew":true},"registry_server":{"type":"TypeString","required":true,"forceNew":true},"user_assigned_identity_id":{"type":"TypeString","optional":true,"description":"The User Assigned Identity to use for Container Registry access.","forceNew":true},"user_name":{"type":"TypeString","optional":true,"forceNew":true}}}},"run_options":{"type":"TypeString","optional":true},"working_directory":{"type":"TypeString","optional":true}}}},"resource_file":{"type":"TypeList","optional":true,"elem":{"schema":{"auto_storage_container_name":{"type":"TypeString","optional":true},"blob_prefix":{"type":"TypeString","optional":true},"file_mode":{"type":"TypeString","optional":true},"file_path":{"type":"TypeString","optional":true},"http_url":{"type":"TypeString","optional":true},"storage_container_url":{"type":"TypeString","optional":true},"user_assigned_identity_id":{"type":"TypeString","optional":true}}}},"task_retry_maximum":{"type":"TypeInt","optional":true},"user_identity":{"type":"TypeList","required":true,"elem":{"schema":{"auto_user":{"type":"TypeList","optional":true,"elem":{"schema":{"elevation_level":{"type":"TypeString","optional":true,"default":"NonAdmin"},"scope":{"type":"TypeString","optional":true,"default":"Task"}}},"maxItems":1},"user_name":{"type":"TypeString","optional":true}}},"maxItems":1},"wait_for_success":{"type":"TypeBool","optional":true,"default":false}}},"maxItems":1},"stop_pending_resize_operation":{"type":"TypeBool","optional":true,"default":false},"storage_image_reference":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"id":{"type":"TypeString","optional":true,"forceNew":true},"offer":{"type":"TypeString","optional":true,"forceNew":true},"publisher":{"type":"TypeString","optional":true,"forceNew":true},"sku":{"type":"TypeString","optional":true,"forceNew":true},"version":{"type":"TypeString","optional":true,"forceNew":true}}},"maxItems":1},"target_node_communication_mode":{"type":"TypeString","optional":true},"task_scheduling_policy":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"node_fill_type":{"type":"TypeString","optional":true,"computed":true}}}},"user_accounts":{"type":"TypeList","optional":true,"elem":{"schema":{"elevation_level":{"type":"TypeString","required":true},"linux_user_configuration":{"type":"TypeList","optional":true,"elem":{"schema":{"gid":{"type":"TypeInt","optional":true},"ssh_private_key":{"type":"TypeString","optional":true},"uid":{"type":"TypeInt","optional":true}}}},"name":{"type":"TypeString","required":true},"password":{"type":"TypeString","required":true},"windows_user_configuration":{"type":"TypeList","optional":true,"elem":{"schema":{"login_mode":{"type":"TypeString","required":true}}}}}}},"vm_size":{"type":"TypeString","required":true,"forceNew":true},"windows":{"type":"TypeList","optional":true,"elem":{"schema":{"enable_automatic_updates":{"type":"TypeBool","optional":true,"default":true}}}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_billing_account_cost_management_export":{"schema":{"active":{"type":"TypeBool","optional":true,"default":true},"billing_account_id":{"type":"TypeString","required":true,"forceNew":true},"export_data_options":{"type":"TypeList","required":true,"elem":{"schema":{"time_frame":{"type":"TypeString","required":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"export_data_storage_location":{"type":"TypeList","required":true,"elem":{"schema":{"container_id":{"type":"TypeString","required":true,"forceNew":true},"root_folder_path":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"recurrence_period_end_date":{"type":"TypeString","required":true},"recurrence_period_start_date":{"type":"TypeString","required":true},"recurrence_type":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_blueprint_assignment":{"schema":{"blueprint_name":{"type":"TypeString","computed":true},"description":{"type":"TypeString","computed":true},"display_name":{"type":"TypeString","computed":true},"identity":{"type":"TypeList","required":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"lock_exclude_actions":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"maxItems":200},"lock_exclude_principals":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"maxItems":5},"lock_mode":{"type":"TypeString","optional":true,"default":"None"},"name":{"type":"TypeString","required":true,"forceNew":true},"parameter_values":{"type":"TypeString","optional":true},"resource_groups":{"type":"TypeString","optional":true},"target_subscription_id":{"type":"TypeString","required":true,"forceNew":true},"type":{"type":"TypeString","computed":true},"version_id":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":5,"update":30}},"azurerm_bot_channel_alexa":{"schema":{"bot_name":{"type":"TypeString","required":true,"forceNew":true},"location":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"skill_id":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_bot_channel_direct_line_speech":{"schema":{"bot_name":{"type":"TypeString","required":true,"forceNew":true},"cognitive_account_id":{"type":"TypeString","optional":true},"cognitive_service_access_key":{"type":"TypeString","required":true},"cognitive_service_location":{"type":"TypeString","required":true},"custom_speech_model_id":{"type":"TypeString","optional":true},"custom_voice_deployment_id":{"type":"TypeString","optional":true},"location":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_bot_channel_directline":{"schema":{"bot_name":{"type":"TypeString","required":true,"forceNew":true},"location":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"site":{"type":"TypeSet","required":true,"elem":{"schema":{"enabled":{"type":"TypeBool","optional":true,"default":true},"endpoint_parameters_enabled":{"type":"TypeBool","optional":true},"enhanced_authentication_enabled":{"type":"TypeBool","optional":true,"default":false},"id":{"type":"TypeString","computed":true},"key":{"type":"TypeString","computed":true},"key2":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"storage_enabled":{"type":"TypeBool","optional":true,"default":true},"trusted_origins":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"user_upload_enabled":{"type":"TypeBool","optional":true,"default":true},"v1_allowed":{"type":"TypeBool","optional":true,"default":true},"v3_allowed":{"type":"TypeBool","optional":true,"default":true}}}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_bot_channel_email":{"schema":{"bot_name":{"type":"TypeString","required":true,"forceNew":true},"email_address":{"type":"TypeString","required":true},"email_password":{"type":"TypeString","optional":true},"location":{"type":"TypeString","required":true,"forceNew":true},"magic_code":{"type":"TypeString","optional":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_bot_channel_facebook":{"schema":{"bot_name":{"type":"TypeString","required":true,"forceNew":true},"facebook_application_id":{"type":"TypeString","required":true},"facebook_application_secret":{"type":"TypeString","required":true},"location":{"type":"TypeString","required":true,"forceNew":true},"page":{"type":"TypeSet","required":true,"elem":{"schema":{"access_token":{"type":"TypeString","required":true},"id":{"type":"TypeString","required":true}}}},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_bot_channel_line":{"schema":{"bot_name":{"type":"TypeString","required":true,"forceNew":true},"line_channel":{"type":"TypeSet","required":true,"elem":{"schema":{"access_token":{"type":"TypeString","required":true},"secret":{"type":"TypeString","required":true}}}},"location":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_bot_channel_ms_teams":{"schema":{"bot_name":{"type":"TypeString","required":true,"forceNew":true},"calling_web_hook":{"type":"TypeString","optional":true,"computed":true},"deployment_environment":{"type":"TypeString","optional":true,"default":"CommercialDeployment"},"enable_calling":{"type":"TypeBool","optional":true,"default":false},"location":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_bot_channel_slack":{"schema":{"bot_name":{"type":"TypeString","required":true,"forceNew":true},"client_id":{"type":"TypeString","required":true},"client_secret":{"type":"TypeString","required":true},"landing_page_url":{"type":"TypeString","optional":true},"location":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"signing_secret":{"type":"TypeString","optional":true},"verification_token":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_bot_channel_sms":{"schema":{"bot_name":{"type":"TypeString","required":true,"forceNew":true},"location":{"type":"TypeString","required":true,"forceNew":true},"phone_number":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"sms_channel_account_security_id":{"type":"TypeString","required":true},"sms_channel_auth_token":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_bot_channel_web_chat":{"schema":{"bot_name":{"type":"TypeString","required":true,"forceNew":true},"location":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"site":{"type":"TypeSet","optional":true,"elem":{"schema":{"endpoint_parameters_enabled":{"type":"TypeBool","optional":true},"name":{"type":"TypeString","required":true},"storage_enabled":{"type":"TypeBool","optional":true,"default":true},"user_upload_enabled":{"type":"TypeBool","optional":true,"default":true}}}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_bot_channels_registration":{"schema":{"cmk_key_vault_url":{"type":"TypeString","optional":true},"description":{"type":"TypeString","optional":true},"developer_app_insights_api_key":{"type":"TypeString","optional":true},"developer_app_insights_application_id":{"type":"TypeString","optional":true},"developer_app_insights_key":{"type":"TypeString","optional":true},"display_name":{"type":"TypeString","optional":true,"computed":true},"endpoint":{"type":"TypeString","optional":true},"icon_url":{"type":"TypeString","optional":true,"default":"https://docs.botframework.com/static/devportal/client/images/bot-framework-default.png"},"location":{"type":"TypeString","required":true,"forceNew":true},"microsoft_app_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"public_network_access_enabled":{"type":"TypeBool","optional":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"sku":{"type":"TypeString","required":true,"forceNew":true},"streaming_endpoint_enabled":{"type":"TypeBool","optional":true,"default":false},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_bot_connection":{"schema":{"bot_name":{"type":"TypeString","required":true,"forceNew":true},"client_id":{"type":"TypeString","required":true},"client_secret":{"type":"TypeString","required":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"scopes":{"type":"TypeString","optional":true},"service_provider_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_bot_service_azure_bot":{"schema":{"cmk_key_vault_key_url":{"type":"TypeString","optional":true},"developer_app_insights_api_key":{"type":"TypeString","optional":true},"developer_app_insights_application_id":{"type":"TypeString","optional":true},"developer_app_insights_key":{"type":"TypeString","optional":true},"display_name":{"type":"TypeString","optional":true,"computed":true},"endpoint":{"type":"TypeString","optional":true},"icon_url":{"type":"TypeString","optional":true,"default":"https://docs.botframework.com/static/devportal/client/images/bot-framework-default.png"},"local_authentication_enabled":{"type":"TypeBool","optional":true,"default":true},"location":{"type":"TypeString","required":true,"forceNew":true},"luis_app_ids":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"luis_key":{"type":"TypeString","optional":true},"microsoft_app_id":{"type":"TypeString","required":true,"forceNew":true},"microsoft_app_msi_id":{"type":"TypeString","optional":true,"forceNew":true},"microsoft_app_tenant_id":{"type":"TypeString","optional":true,"forceNew":true},"microsoft_app_type":{"type":"TypeString","optional":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"public_network_access_enabled":{"type":"TypeBool","optional":true,"default":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"sku":{"type":"TypeString","required":true,"forceNew":true},"streaming_endpoint_enabled":{"type":"TypeBool","optional":true,"default":false},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_bot_web_app":{"schema":{"developer_app_insights_api_key":{"type":"TypeString","optional":true},"developer_app_insights_application_id":{"type":"TypeString","optional":true},"developer_app_insights_key":{"type":"TypeString","optional":true},"display_name":{"type":"TypeString","optional":true,"computed":true},"endpoint":{"type":"TypeString","optional":true},"location":{"type":"TypeString","required":true,"forceNew":true},"luis_app_ids":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"luis_key":{"type":"TypeString","optional":true},"microsoft_app_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"sku":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_capacity_reservation":{"schema":{"capacity_reservation_group_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"sku":{"type":"TypeList","required":true,"elem":{"schema":{"capacity":{"type":"TypeInt","required":true},"name":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"zone":{"type":"TypeString","optional":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_capacity_reservation_group":{"schema":{"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"zones":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_cdn_endpoint":{"schema":{"content_types_to_compress":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"delivery_rule":{"type":"TypeList","optional":true,"elem":{"schema":{"cache_expiration_action":{"type":"TypeList","optional":true,"elem":{"schema":{"behavior":{"type":"TypeString","required":true},"duration":{"type":"TypeString","optional":true}}},"maxItems":1},"cache_key_query_string_action":{"type":"TypeList","optional":true,"elem":{"schema":{"behavior":{"type":"TypeString","required":true},"parameters":{"type":"TypeString","optional":true}}},"maxItems":1},"cookies_condition":{"type":"TypeList","optional":true,"elem":{"schema":{"match_values":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"minItems":1},"negate_condition":{"type":"TypeBool","optional":true,"default":false},"operator":{"type":"TypeString","required":true},"selector":{"type":"TypeString","required":true},"transforms":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}}}}},"device_condition":{"type":"TypeList","optional":true,"elem":{"schema":{"match_values":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"},"minItems":1},"negate_condition":{"type":"TypeBool","optional":true,"default":false},"operator":{"type":"TypeString","optional":true,"default":"Equal"}}},"maxItems":1},"http_version_condition":{"type":"TypeList","optional":true,"elem":{"schema":{"match_values":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"},"minItems":1},"negate_condition":{"type":"TypeBool","optional":true,"default":false},"operator":{"type":"TypeString","optional":true,"default":"Equal"}}}},"modify_request_header_action":{"type":"TypeList","optional":true,"elem":{"schema":{"action":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true},"value":{"type":"TypeString","optional":true}}}},"modify_response_header_action":{"type":"TypeList","optional":true,"elem":{"schema":{"action":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true},"value":{"type":"TypeString","optional":true}}}},"name":{"type":"TypeString","required":true},"order":{"type":"TypeInt","required":true},"post_arg_condition":{"type":"TypeList","optional":true,"elem":{"schema":{"match_values":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"minItems":1},"negate_condition":{"type":"TypeBool","optional":true,"default":false},"operator":{"type":"TypeString","required":true},"selector":{"type":"TypeString","required":true},"transforms":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}}}}},"query_string_condition":{"type":"TypeList","optional":true,"elem":{"schema":{"match_values":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"minItems":1},"negate_condition":{"type":"TypeBool","optional":true,"default":false},"operator":{"type":"TypeString","required":true},"transforms":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}}}}},"remote_address_condition":{"type":"TypeList","optional":true,"elem":{"schema":{"match_values":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"minItems":1},"negate_condition":{"type":"TypeBool","optional":true,"default":false},"operator":{"type":"TypeString","required":true}}}},"request_body_condition":{"type":"TypeList","optional":true,"elem":{"schema":{"match_values":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"minItems":1},"negate_condition":{"type":"TypeBool","optional":true,"default":false},"operator":{"type":"TypeString","required":true},"transforms":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}}}}},"request_header_condition":{"type":"TypeList","optional":true,"elem":{"schema":{"match_values":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"minItems":1},"negate_condition":{"type":"TypeBool","optional":true,"default":false},"operator":{"type":"TypeString","required":true},"selector":{"type":"TypeString","required":true},"transforms":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}}}}},"request_method_condition":{"type":"TypeList","optional":true,"elem":{"schema":{"match_values":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"},"minItems":1},"negate_condition":{"type":"TypeBool","optional":true,"default":false},"operator":{"type":"TypeString","optional":true,"default":"Equal"}}},"maxItems":1},"request_scheme_condition":{"type":"TypeList","optional":true,"elem":{"schema":{"match_values":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"},"minItems":1},"negate_condition":{"type":"TypeBool","optional":true,"default":false},"operator":{"type":"TypeString","optional":true,"default":"Equal"}}},"maxItems":1},"request_uri_condition":{"type":"TypeList","optional":true,"elem":{"schema":{"match_values":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"minItems":1},"negate_condition":{"type":"TypeBool","optional":true,"default":false},"operator":{"type":"TypeString","required":true},"transforms":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}}}}},"url_file_extension_condition":{"type":"TypeList","optional":true,"elem":{"schema":{"match_values":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"minItems":1},"negate_condition":{"type":"TypeBool","optional":true,"default":false},"operator":{"type":"TypeString","required":true},"transforms":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}}}}},"url_file_name_condition":{"type":"TypeList","optional":true,"elem":{"schema":{"match_values":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"minItems":1},"negate_condition":{"type":"TypeBool","optional":true,"default":false},"operator":{"type":"TypeString","required":true},"transforms":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}}}}},"url_path_condition":{"type":"TypeList","optional":true,"elem":{"schema":{"match_values":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"minItems":1},"negate_condition":{"type":"TypeBool","optional":true,"default":false},"operator":{"type":"TypeString","required":true},"transforms":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}}}}},"url_redirect_action":{"type":"TypeList","optional":true,"elem":{"schema":{"fragment":{"type":"TypeString","optional":true},"hostname":{"type":"TypeString","optional":true},"path":{"type":"TypeString","optional":true},"protocol":{"type":"TypeString","optional":true,"default":"MatchRequest"},"query_string":{"type":"TypeString","optional":true},"redirect_type":{"type":"TypeString","required":true}}},"maxItems":1},"url_rewrite_action":{"type":"TypeList","optional":true,"elem":{"schema":{"destination":{"type":"TypeString","required":true},"preserve_unmatched_path":{"type":"TypeBool","optional":true,"default":true},"source_pattern":{"type":"TypeString","required":true}}},"maxItems":1}}}},"fqdn":{"type":"TypeString","computed":true},"geo_filter":{"type":"TypeList","optional":true,"elem":{"schema":{"action":{"type":"TypeString","required":true},"country_codes":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}},"relative_path":{"type":"TypeString","required":true}}}},"global_delivery_rule":{"type":"TypeList","optional":true,"elem":{"schema":{"cache_expiration_action":{"type":"TypeList","optional":true,"elem":{"schema":{"behavior":{"type":"TypeString","required":true},"duration":{"type":"TypeString","optional":true}}},"maxItems":1},"cache_key_query_string_action":{"type":"TypeList","optional":true,"elem":{"schema":{"behavior":{"type":"TypeString","required":true},"parameters":{"type":"TypeString","optional":true}}},"maxItems":1},"modify_request_header_action":{"type":"TypeList","optional":true,"elem":{"schema":{"action":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true},"value":{"type":"TypeString","optional":true}}}},"modify_response_header_action":{"type":"TypeList","optional":true,"elem":{"schema":{"action":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true},"value":{"type":"TypeString","optional":true}}}},"url_redirect_action":{"type":"TypeList","optional":true,"elem":{"schema":{"fragment":{"type":"TypeString","optional":true},"hostname":{"type":"TypeString","optional":true},"path":{"type":"TypeString","optional":true},"protocol":{"type":"TypeString","optional":true,"default":"MatchRequest"},"query_string":{"type":"TypeString","optional":true},"redirect_type":{"type":"TypeString","required":true}}},"maxItems":1},"url_rewrite_action":{"type":"TypeList","optional":true,"elem":{"schema":{"destination":{"type":"TypeString","required":true},"preserve_unmatched_path":{"type":"TypeBool","optional":true,"default":true},"source_pattern":{"type":"TypeString","required":true}}},"maxItems":1}}},"maxItems":1},"is_compression_enabled":{"type":"TypeBool","optional":true},"is_http_allowed":{"type":"TypeBool","optional":true,"default":true},"is_https_allowed":{"type":"TypeBool","optional":true,"default":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"optimization_type":{"type":"TypeString","optional":true},"origin":{"type":"TypeSet","required":true,"forceNew":true,"elem":{"schema":{"host_name":{"type":"TypeString","required":true,"forceNew":true},"http_port":{"type":"TypeInt","optional":true,"default":80,"forceNew":true},"https_port":{"type":"TypeInt","optional":true,"default":443,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true}}}},"origin_host_header":{"type":"TypeString","optional":true},"origin_path":{"type":"TypeString","optional":true},"probe_path":{"type":"TypeString","optional":true},"profile_name":{"type":"TypeString","required":true,"forceNew":true},"querystring_caching_behaviour":{"type":"TypeString","optional":true,"default":"IgnoreQueryString"},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_cdn_endpoint_custom_domain":{"schema":{"cdn_endpoint_id":{"type":"TypeString","required":true,"forceNew":true},"cdn_managed_https":{"type":"TypeList","optional":true,"elem":{"schema":{"certificate_type":{"type":"TypeString","required":true},"protocol_type":{"type":"TypeString","required":true},"tls_version":{"type":"TypeString","optional":true,"default":"TLS12"}}},"maxItems":1,"minItems":1},"host_name":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"user_managed_https":{"type":"TypeList","optional":true,"elem":{"schema":{"key_vault_secret_id":{"type":"TypeString","required":true},"tls_version":{"type":"TypeString","optional":true,"default":"TLS12"}}},"maxItems":1,"minItems":1}},"timeouts":{"create":720,"read":5,"delete":720,"update":1440}},"azurerm_cdn_frontdoor_custom_domain":{"schema":{"cdn_frontdoor_profile_id":{"type":"TypeString","required":true,"forceNew":true},"dns_zone_id":{"type":"TypeString","optional":true},"expiration_date":{"type":"TypeString","computed":true},"host_name":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"tls":{"type":"TypeList","required":true,"elem":{"schema":{"cdn_frontdoor_secret_id":{"type":"TypeString","optional":true,"computed":true},"certificate_type":{"type":"TypeString","optional":true,"default":"ManagedCertificate"},"minimum_tls_version":{"type":"TypeString","optional":true,"default":"TLS12"}}},"maxItems":1},"validation_token":{"type":"TypeString","computed":true}},"timeouts":{"create":720,"read":5,"delete":720,"update":1440}},"azurerm_cdn_frontdoor_custom_domain_association":{"schema":{"cdn_frontdoor_custom_domain_id":{"type":"TypeString","required":true,"forceNew":true},"cdn_frontdoor_route_ids":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_cdn_frontdoor_endpoint":{"schema":{"cdn_frontdoor_profile_id":{"type":"TypeString","required":true,"forceNew":true},"enabled":{"type":"TypeBool","optional":true,"default":true},"host_name":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_cdn_frontdoor_firewall_policy":{"schema":{"custom_block_response_body":{"type":"TypeString","optional":true},"custom_block_response_status_code":{"type":"TypeInt","optional":true},"custom_rule":{"type":"TypeList","optional":true,"elem":{"schema":{"action":{"type":"TypeString","required":true},"enabled":{"type":"TypeBool","optional":true,"default":true},"match_condition":{"type":"TypeList","optional":true,"elem":{"schema":{"match_values":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"maxItems":600},"match_variable":{"type":"TypeString","required":true},"negation_condition":{"type":"TypeBool","optional":true,"default":false},"operator":{"type":"TypeString","required":true},"selector":{"type":"TypeString","optional":true},"transforms":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"maxItems":5}}},"maxItems":10},"name":{"type":"TypeString","required":true},"priority":{"type":"TypeInt","optional":true,"default":1},"rate_limit_duration_in_minutes":{"type":"TypeInt","optional":true,"default":1},"rate_limit_threshold":{"type":"TypeInt","optional":true,"default":10},"type":{"type":"TypeString","required":true}}},"maxItems":100},"enabled":{"type":"TypeBool","optional":true,"default":true},"frontend_endpoint_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"managed_rule":{"type":"TypeList","optional":true,"elem":{"schema":{"action":{"type":"TypeString","required":true},"exclusion":{"type":"TypeList","optional":true,"elem":{"schema":{"match_variable":{"type":"TypeString","required":true},"operator":{"type":"TypeString","required":true},"selector":{"type":"TypeString","required":true}}},"maxItems":100},"override":{"type":"TypeList","optional":true,"elem":{"schema":{"exclusion":{"type":"TypeList","optional":true,"elem":{"schema":{"match_variable":{"type":"TypeString","required":true},"operator":{"type":"TypeString","required":true},"selector":{"type":"TypeString","required":true}}},"maxItems":100},"rule":{"type":"TypeList","optional":true,"elem":{"schema":{"action":{"type":"TypeString","required":true},"enabled":{"type":"TypeBool","optional":true,"default":false},"exclusion":{"type":"TypeList","optional":true,"elem":{"schema":{"match_variable":{"type":"TypeString","required":true},"operator":{"type":"TypeString","required":true},"selector":{"type":"TypeString","required":true}}},"maxItems":100},"rule_id":{"type":"TypeString","required":true}}},"maxItems":1000},"rule_group_name":{"type":"TypeString","required":true}}},"maxItems":100},"type":{"type":"TypeString","required":true},"version":{"type":"TypeString","required":true}}},"maxItems":100},"mode":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true,"forceNew":true},"redirect_url":{"type":"TypeString","optional":true},"request_body_check_enabled":{"type":"TypeBool","optional":true,"default":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"sku_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_cdn_frontdoor_origin":{"schema":{"cdn_frontdoor_origin_group_id":{"type":"TypeString","required":true,"forceNew":true},"certificate_name_check_enabled":{"type":"TypeBool","required":true},"enabled":{"type":"TypeBool","optional":true,"default":true},"host_name":{"type":"TypeString","required":true},"http_port":{"type":"TypeInt","optional":true,"default":80},"https_port":{"type":"TypeInt","optional":true,"default":443},"name":{"type":"TypeString","required":true,"forceNew":true},"origin_host_header":{"type":"TypeString","optional":true},"priority":{"type":"TypeInt","optional":true,"default":1},"private_link":{"type":"TypeList","optional":true,"elem":{"schema":{"location":{"type":"TypeString","required":true,"forceNew":true},"private_link_target_id":{"type":"TypeString","required":true},"request_message":{"type":"TypeString","optional":true,"default":"Access request for CDN FrontDoor Private Link Origin"},"target_type":{"type":"TypeString","optional":true}}},"maxItems":1},"weight":{"type":"TypeInt","optional":true,"default":500}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_cdn_frontdoor_origin_group":{"schema":{"cdn_frontdoor_profile_id":{"type":"TypeString","required":true,"forceNew":true},"health_probe":{"type":"TypeList","optional":true,"elem":{"schema":{"interval_in_seconds":{"type":"TypeInt","required":true},"path":{"type":"TypeString","optional":true,"default":"/"},"protocol":{"type":"TypeString","required":true},"request_type":{"type":"TypeString","optional":true,"default":"HEAD"}}},"maxItems":1},"load_balancing":{"type":"TypeList","required":true,"elem":{"schema":{"additional_latency_in_milliseconds":{"type":"TypeInt","optional":true,"default":50},"sample_size":{"type":"TypeInt","optional":true,"default":4},"successful_samples_required":{"type":"TypeInt","optional":true,"default":3}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"restore_traffic_time_to_healed_or_new_endpoint_in_minutes":{"type":"TypeInt","optional":true,"default":10},"session_affinity_enabled":{"type":"TypeBool","optional":true,"default":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_cdn_frontdoor_profile":{"schema":{"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"resource_guid":{"type":"TypeString","computed":true},"response_timeout_seconds":{"type":"TypeInt","optional":true,"default":120},"sku_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_cdn_frontdoor_route":{"schema":{"cache":{"type":"TypeList","optional":true,"elem":{"schema":{"compression_enabled":{"type":"TypeBool","optional":true,"default":false},"content_types_to_compress":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"query_string_caching_behavior":{"type":"TypeString","optional":true,"default":"IgnoreQueryString"},"query_strings":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"cdn_frontdoor_custom_domain_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"cdn_frontdoor_endpoint_id":{"type":"TypeString","required":true,"forceNew":true},"cdn_frontdoor_origin_group_id":{"type":"TypeString","required":true},"cdn_frontdoor_origin_ids":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}},"cdn_frontdoor_origin_path":{"type":"TypeString","optional":true},"cdn_frontdoor_rule_set_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"enabled":{"type":"TypeBool","optional":true,"default":true},"forwarding_protocol":{"type":"TypeString","optional":true,"default":"MatchRequest"},"https_redirect_enabled":{"type":"TypeBool","optional":true,"default":true},"link_to_default_domain":{"type":"TypeBool","optional":true,"default":true},"name":{"type":"TypeString","required":true,"forceNew":true},"patterns_to_match":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}},"supported_protocols":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"},"maxItems":2}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_cdn_frontdoor_rule":{"schema":{"actions":{"type":"TypeList","required":true,"elem":{"schema":{"request_header_action":{"type":"TypeList","optional":true,"elem":{"schema":{"header_action":{"type":"TypeString","required":true},"header_name":{"type":"TypeString","required":true},"value":{"type":"TypeString","optional":true}}}},"response_header_action":{"type":"TypeList","optional":true,"elem":{"schema":{"header_action":{"type":"TypeString","required":true},"header_name":{"type":"TypeString","required":true},"value":{"type":"TypeString","optional":true}}}},"route_configuration_override_action":{"type":"TypeList","optional":true,"elem":{"schema":{"cache_behavior":{"type":"TypeString","optional":true},"cache_duration":{"type":"TypeString","optional":true},"cdn_frontdoor_origin_group_id":{"type":"TypeString","optional":true},"compression_enabled":{"type":"TypeBool","optional":true},"forwarding_protocol":{"type":"TypeString","optional":true},"query_string_caching_behavior":{"type":"TypeString","optional":true},"query_string_parameters":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"maxItems":100}}},"maxItems":1},"url_redirect_action":{"type":"TypeList","optional":true,"elem":{"schema":{"destination_fragment":{"type":"TypeString","optional":true,"default":""},"destination_hostname":{"type":"TypeString","required":true},"destination_path":{"type":"TypeString","optional":true,"default":""},"query_string":{"type":"TypeString","optional":true,"default":""},"redirect_protocol":{"type":"TypeString","optional":true,"default":"MatchRequest"},"redirect_type":{"type":"TypeString","required":true}}},"maxItems":1},"url_rewrite_action":{"type":"TypeList","optional":true,"elem":{"schema":{"destination":{"type":"TypeString","required":true},"preserve_unmatched_path":{"type":"TypeBool","optional":true,"default":false},"source_pattern":{"type":"TypeString","required":true}}},"maxItems":1}}},"maxItems":1},"behavior_on_match":{"type":"TypeString","optional":true,"default":"Continue"},"cdn_frontdoor_rule_set_id":{"type":"TypeString","required":true,"forceNew":true},"cdn_frontdoor_rule_set_name":{"type":"TypeString","computed":true},"conditions":{"type":"TypeList","optional":true,"elem":{"schema":{"client_port_condition":{"type":"TypeList","optional":true,"elem":{"schema":{"match_values":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"maxItems":25},"negate_condition":{"type":"TypeBool","optional":true,"default":false},"operator":{"type":"TypeString","required":true}}}},"cookies_condition":{"type":"TypeList","optional":true,"elem":{"schema":{"cookie_name":{"type":"TypeString","required":true},"match_values":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"maxItems":25},"negate_condition":{"type":"TypeBool","optional":true,"default":false},"operator":{"type":"TypeString","required":true},"transforms":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":4}}}},"host_name_condition":{"type":"TypeList","optional":true,"elem":{"schema":{"match_values":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"maxItems":25},"negate_condition":{"type":"TypeBool","optional":true,"default":false},"operator":{"type":"TypeString","required":true},"transforms":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":4}}}},"http_version_condition":{"type":"TypeList","optional":true,"elem":{"schema":{"match_values":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"},"maxItems":4},"negate_condition":{"type":"TypeBool","optional":true,"default":false},"operator":{"type":"TypeString","optional":true,"default":"Equal"}}}},"is_device_condition":{"type":"TypeList","optional":true,"elem":{"schema":{"match_values":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"maxItems":1},"negate_condition":{"type":"TypeBool","optional":true,"default":false},"operator":{"type":"TypeString","optional":true,"default":"Equal"}}}},"post_args_condition":{"type":"TypeList","optional":true,"elem":{"schema":{"match_values":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"maxItems":25},"negate_condition":{"type":"TypeBool","optional":true,"default":false},"operator":{"type":"TypeString","required":true},"post_args_name":{"type":"TypeString","required":true},"transforms":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":4}}}},"query_string_condition":{"type":"TypeList","optional":true,"elem":{"schema":{"match_values":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"maxItems":25},"negate_condition":{"type":"TypeBool","optional":true,"default":false},"operator":{"type":"TypeString","required":true},"transforms":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":4}}}},"remote_address_condition":{"type":"TypeList","optional":true,"elem":{"schema":{"match_values":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"maxItems":25},"negate_condition":{"type":"TypeBool","optional":true,"default":false},"operator":{"type":"TypeString","optional":true,"default":"IPMatch"}}}},"request_body_condition":{"type":"TypeList","optional":true,"elem":{"schema":{"match_values":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"maxItems":25},"negate_condition":{"type":"TypeBool","optional":true,"default":false},"operator":{"type":"TypeString","required":true},"transforms":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":4}}}},"request_header_condition":{"type":"TypeList","optional":true,"elem":{"schema":{"header_name":{"type":"TypeString","required":true},"match_values":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"maxItems":25},"negate_condition":{"type":"TypeBool","optional":true,"default":false},"operator":{"type":"TypeString","required":true},"transforms":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":4}}}},"request_method_condition":{"type":"TypeList","optional":true,"elem":{"schema":{"match_values":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"},"maxItems":7},"negate_condition":{"type":"TypeBool","optional":true,"default":false},"operator":{"type":"TypeString","optional":true,"default":"Equal"}}}},"request_scheme_condition":{"type":"TypeList","optional":true,"elem":{"schema":{"match_values":{"type":"TypeList","optional":true,"elem":{"type":"TypeString","default":"HTTP"},"maxItems":1},"negate_condition":{"type":"TypeBool","optional":true,"default":false},"operator":{"type":"TypeString","optional":true,"default":"Equal"}}}},"request_uri_condition":{"type":"TypeList","optional":true,"elem":{"schema":{"match_values":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"maxItems":25},"negate_condition":{"type":"TypeBool","optional":true,"default":false},"operator":{"type":"TypeString","required":true},"transforms":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":4}}}},"server_port_condition":{"type":"TypeList","optional":true,"elem":{"schema":{"match_values":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"},"maxItems":2},"negate_condition":{"type":"TypeBool","optional":true,"default":false},"operator":{"type":"TypeString","required":true}}}},"socket_address_condition":{"type":"TypeList","optional":true,"elem":{"schema":{"match_values":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"maxItems":25},"negate_condition":{"type":"TypeBool","optional":true,"default":false},"operator":{"type":"TypeString","optional":true,"default":"IPMatch"}}}},"ssl_protocol_condition":{"type":"TypeList","optional":true,"elem":{"schema":{"match_values":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"},"maxItems":3},"negate_condition":{"type":"TypeBool","optional":true,"default":false},"operator":{"type":"TypeString","optional":true,"default":"Equal"}}}},"url_file_extension_condition":{"type":"TypeList","optional":true,"elem":{"schema":{"match_values":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"maxItems":25},"negate_condition":{"type":"TypeBool","optional":true,"default":false},"operator":{"type":"TypeString","required":true},"transforms":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":4}}}},"url_filename_condition":{"type":"TypeList","optional":true,"elem":{"schema":{"match_values":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"maxItems":25},"negate_condition":{"type":"TypeBool","optional":true,"default":false},"operator":{"type":"TypeString","required":true},"transforms":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":4}}}},"url_path_condition":{"type":"TypeList","optional":true,"elem":{"schema":{"match_values":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"maxItems":25},"negate_condition":{"type":"TypeBool","optional":true,"default":false},"operator":{"type":"TypeString","required":true},"transforms":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":4}}}}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"order":{"type":"TypeInt","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_cdn_frontdoor_rule_set":{"schema":{"cdn_frontdoor_profile_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_cdn_frontdoor_secret":{"schema":{"cdn_frontdoor_profile_id":{"type":"TypeString","required":true,"forceNew":true},"cdn_frontdoor_profile_name":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true,"forceNew":true},"secret":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"customer_certificate":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"key_vault_certificate_id":{"type":"TypeString","required":true,"forceNew":true},"subject_alternative_names":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}}}}},"maxItems":1}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_cdn_frontdoor_security_policy":{"schema":{"cdn_frontdoor_profile_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"security_policies":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"firewall":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"association":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"domain":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"active":{"type":"TypeBool","computed":true},"cdn_frontdoor_domain_id":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":500},"patterns_to_match":{"type":"TypeList","required":true,"forceNew":true,"elem":{"type":"TypeString"},"maxItems":1}}},"maxItems":1},"cdn_frontdoor_firewall_policy_id":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1}}},"maxItems":1}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_cdn_profile":{"schema":{"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"sku":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_chaos_studio_capability":{"schema":{"capability_type":{"type":"TypeString","required":true,"forceNew":true},"chaos_studio_target_id":{"type":"TypeString","required":true,"forceNew":true},"urn":{"type":"TypeString","computed":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_chaos_studio_experiment":{"schema":{"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"selectors":{"type":"TypeList","required":true,"elem":{"schema":{"chaos_studio_target_ids":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true}}},"minItems":1},"steps":{"type":"TypeList","required":true,"elem":{"schema":{"branch":{"type":"TypeList","required":true,"elem":{"schema":{"actions":{"type":"TypeList","required":true,"elem":{"schema":{"action_type":{"type":"TypeString","required":true},"duration":{"type":"TypeString","optional":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"selector_name":{"type":"TypeString","optional":true},"urn":{"type":"TypeString","optional":true}}},"minItems":1},"name":{"type":"TypeString","required":true}}},"minItems":1},"name":{"type":"TypeString","required":true}}},"minItems":1}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_chaos_studio_target":{"schema":{"location":{"type":"TypeString","required":true,"forceNew":true},"target_resource_id":{"type":"TypeString","required":true,"forceNew":true},"target_type":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_cognitive_account":{"schema":{"custom_question_answering_search_service_id":{"type":"TypeString","optional":true},"custom_question_answering_search_service_key":{"type":"TypeString","optional":true},"custom_subdomain_name":{"type":"TypeString","optional":true,"forceNew":true},"customer_managed_key":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_client_id":{"type":"TypeString","optional":true},"key_vault_key_id":{"type":"TypeString","required":true}}},"maxItems":1},"dynamic_throttling_enabled":{"type":"TypeBool","optional":true},"endpoint":{"type":"TypeString","computed":true},"fqdns":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"kind":{"type":"TypeString","required":true,"forceNew":true},"local_auth_enabled":{"type":"TypeBool","optional":true,"default":true},"location":{"type":"TypeString","required":true,"forceNew":true},"metrics_advisor_aad_client_id":{"type":"TypeString","optional":true,"forceNew":true},"metrics_advisor_aad_tenant_id":{"type":"TypeString","optional":true,"forceNew":true},"metrics_advisor_super_user_name":{"type":"TypeString","optional":true,"forceNew":true},"metrics_advisor_website_name":{"type":"TypeString","optional":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"network_acls":{"type":"TypeList","optional":true,"elem":{"schema":{"default_action":{"type":"TypeString","required":true},"ip_rules":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"virtual_network_rules":{"type":"TypeSet","optional":true,"elem":{"schema":{"ignore_missing_vnet_service_endpoint":{"type":"TypeBool","optional":true,"default":false},"subnet_id":{"type":"TypeString","required":true}}}}}},"maxItems":1},"outbound_network_access_restricted":{"type":"TypeBool","optional":true,"default":false},"primary_access_key":{"type":"TypeString","computed":true},"public_network_access_enabled":{"type":"TypeBool","optional":true,"default":true},"qna_runtime_endpoint":{"type":"TypeString","optional":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"secondary_access_key":{"type":"TypeString","computed":true},"sku_name":{"type":"TypeString","required":true},"storage":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_client_id":{"type":"TypeString","optional":true},"storage_account_id":{"type":"TypeString","required":true}}}},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_cognitive_account_customer_managed_key":{"schema":{"cognitive_account_id":{"type":"TypeString","required":true,"forceNew":true},"identity_client_id":{"type":"TypeString","optional":true},"key_vault_key_id":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_cognitive_deployment":{"schema":{"cognitive_account_id":{"type":"TypeString","required":true,"forceNew":true},"model":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"format":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"version":{"type":"TypeString","optional":true}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"rai_policy_name":{"type":"TypeString","optional":true},"sku":{"type":"TypeList","required":true,"elem":{"schema":{"capacity":{"type":"TypeInt","optional":true,"default":1},"family":{"type":"TypeString","optional":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"size":{"type":"TypeString","optional":true,"forceNew":true},"tier":{"type":"TypeString","optional":true,"forceNew":true}}},"maxItems":1},"version_upgrade_option":{"type":"TypeString","optional":true,"default":"OnceNewDefaultVersionAvailable"}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_communication_service":{"schema":{"data_location":{"type":"TypeString","optional":true,"default":"United States","forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"primary_connection_string":{"type":"TypeString","computed":true},"primary_key":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"secondary_connection_string":{"type":"TypeString","computed":true},"secondary_key":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_communication_service_email_domain_association":{"schema":{"communication_service_id":{"type":"TypeString","required":true,"forceNew":true},"email_service_domain_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":5,"read":5,"delete":5}},"azurerm_confidential_ledger":{"schema":{"azuread_based_service_principal":{"type":"TypeList","required":true,"elem":{"schema":{"ledger_role_name":{"type":"TypeString","required":true},"principal_id":{"type":"TypeString","required":true},"tenant_id":{"type":"TypeString","required":true}}},"minItems":1},"certificate_based_security_principal":{"type":"TypeList","optional":true,"elem":{"schema":{"ledger_role_name":{"type":"TypeString","required":true},"pem_public_key":{"type":"TypeString","required":true}}}},"identity_service_endpoint":{"type":"TypeString","computed":true},"ledger_endpoint":{"type":"TypeString","computed":true},"ledger_type":{"type":"TypeString","required":true,"forceNew":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_consumption_budget_management_group":{"schema":{"amount":{"type":"TypeFloat","required":true},"etag":{"type":"TypeString","optional":true,"computed":true},"filter":{"type":"TypeList","optional":true,"elem":{"schema":{"dimension":{"type":"TypeSet","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"operator":{"type":"TypeString","optional":true,"default":"In"},"values":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"minItems":1}}}},"tag":{"type":"TypeSet","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"operator":{"type":"TypeString","optional":true,"default":"In"},"values":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}}}}}}},"maxItems":1},"management_group_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"notification":{"type":"TypeSet","required":true,"elem":{"schema":{"contact_emails":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"minItems":1},"enabled":{"type":"TypeBool","optional":true,"default":true},"operator":{"type":"TypeString","required":true},"threshold":{"type":"TypeInt","required":true},"threshold_type":{"type":"TypeString","optional":true,"default":"Actual"}}},"maxItems":5,"minItems":1},"time_grain":{"type":"TypeString","optional":true,"default":"Monthly","forceNew":true},"time_period":{"type":"TypeList","required":true,"elem":{"schema":{"end_date":{"type":"TypeString","optional":true,"computed":true},"start_date":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1,"minItems":1}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_consumption_budget_resource_group":{"schema":{"amount":{"type":"TypeFloat","required":true},"etag":{"type":"TypeString","optional":true,"computed":true},"filter":{"type":"TypeList","optional":true,"elem":{"schema":{"dimension":{"type":"TypeSet","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"operator":{"type":"TypeString","optional":true,"default":"In"},"values":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"minItems":1}}}},"tag":{"type":"TypeSet","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"operator":{"type":"TypeString","optional":true,"default":"In"},"values":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}}}}}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"notification":{"type":"TypeSet","required":true,"elem":{"schema":{"contact_emails":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"contact_groups":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"contact_roles":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"enabled":{"type":"TypeBool","optional":true,"default":true},"operator":{"type":"TypeString","required":true},"threshold":{"type":"TypeInt","required":true},"threshold_type":{"type":"TypeString","optional":true,"default":"Actual"}}},"maxItems":5,"minItems":1},"resource_group_id":{"type":"TypeString","required":true,"forceNew":true},"time_grain":{"type":"TypeString","optional":true,"default":"Monthly","forceNew":true},"time_period":{"type":"TypeList","required":true,"elem":{"schema":{"end_date":{"type":"TypeString","optional":true,"computed":true},"start_date":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1,"minItems":1}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_consumption_budget_subscription":{"schema":{"amount":{"type":"TypeFloat","required":true},"etag":{"type":"TypeString","optional":true,"computed":true},"filter":{"type":"TypeList","optional":true,"elem":{"schema":{"dimension":{"type":"TypeSet","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"operator":{"type":"TypeString","optional":true,"default":"In"},"values":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"minItems":1}}}},"tag":{"type":"TypeSet","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"operator":{"type":"TypeString","optional":true,"default":"In"},"values":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}}}}}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"notification":{"type":"TypeSet","required":true,"elem":{"schema":{"contact_emails":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"contact_groups":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"contact_roles":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"enabled":{"type":"TypeBool","optional":true,"default":true},"operator":{"type":"TypeString","required":true},"threshold":{"type":"TypeInt","required":true},"threshold_type":{"type":"TypeString","optional":true,"default":"Actual"}}},"maxItems":5,"minItems":1},"subscription_id":{"type":"TypeString","required":true,"forceNew":true},"time_grain":{"type":"TypeString","optional":true,"default":"Monthly","forceNew":true},"time_period":{"type":"TypeList","required":true,"elem":{"schema":{"end_date":{"type":"TypeString","optional":true,"computed":true},"start_date":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1,"minItems":1}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_container_app":{"schema":{"container_app_environment_id":{"type":"TypeString","required":true,"description":"The ID of the Container App Environment to host this Container App.","forceNew":true},"custom_domain_verification_id":{"type":"TypeString","description":"The ID of the Custom Domain Verification for this Container App.","computed":true},"dapr":{"type":"TypeList","optional":true,"elem":{"schema":{"app_id":{"type":"TypeString","required":true,"description":"The Dapr Application Identifier."},"app_port":{"type":"TypeInt","optional":true,"description":"The port which the application is listening on. This is the same as the `ingress` port."},"app_protocol":{"type":"TypeString","optional":true,"default":"http","description":"The protocol for the app. Possible values include `http` and `grpc`. Defaults to `http`."}}},"maxItems":1},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"ingress":{"type":"TypeList","optional":true,"elem":{"schema":{"allow_insecure_connections":{"type":"TypeBool","optional":true,"default":false,"description":"Should this ingress allow insecure connections?"},"custom_domain":{"type":"TypeList","computed":true,"elem":{"schema":{"certificate_binding_type":{"type":"TypeString","description":"The Binding type. Possible values include `Disabled` and `SniEnabled`. Defaults to `Disabled`","computed":true},"certificate_id":{"type":"TypeString","description":"The ID of the Certificate.","computed":true},"name":{"type":"TypeString","description":"The hostname of the Certificate. Must be the CN or a named SAN in the certificate.","computed":true}}}},"exposed_port":{"type":"TypeInt","optional":true,"description":"The exposed port on the container for the Ingress traffic."},"external_enabled":{"type":"TypeBool","optional":true,"default":false,"description":"Is this an external Ingress."},"fqdn":{"type":"TypeString","description":"The FQDN of the ingress.","computed":true},"ip_security_restriction":{"type":"TypeList","optional":true,"elem":{"schema":{"action":{"type":"TypeString","required":true,"description":"The action. Allow or Deny."},"description":{"type":"TypeString","optional":true,"description":"Describe the IP restriction rule that is being sent to the container-app."},"ip_address_range":{"type":"TypeString","required":true,"description":"The incoming IP address or range of IP addresses (in CIDR notation)."},"name":{"type":"TypeString","required":true,"description":"Name for the IP restriction rule."}}}},"target_port":{"type":"TypeInt","required":true,"description":"The target port on the container for the Ingress traffic."},"traffic_weight":{"type":"TypeList","required":true,"elem":{"schema":{"label":{"type":"TypeString","optional":true,"description":"The label to apply to the revision as a name prefix for routing traffic."},"latest_revision":{"type":"TypeBool","optional":true,"default":false,"description":"This traffic Weight relates to the latest stable Container Revision."},"percentage":{"type":"TypeInt","required":true,"description":"The percentage of traffic to send to this revision."},"revision_suffix":{"type":"TypeString","optional":true,"description":"The suffix string to append to the revision. This must be unique for the Container App's lifetime. A default hash created by the service will be used if this value is omitted."}}}},"transport":{"type":"TypeString","optional":true,"default":"auto","description":"The transport method for the Ingress. Possible values include `auto`, `http`, and `http2`, `tcp`. Defaults to `auto`"}}},"maxItems":1},"latest_revision_fqdn":{"type":"TypeString","description":"The FQDN of the Latest Revision of the Container App.","computed":true},"latest_revision_name":{"type":"TypeString","description":"The name of the latest Container Revision.","computed":true},"location":{"type":"TypeString","computed":true},"max_inactive_revisions":{"type":"TypeInt","optional":true},"name":{"type":"TypeString","required":true,"description":"The name for this Container App.","forceNew":true},"outbound_ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"registry":{"type":"TypeList","optional":true,"elem":{"schema":{"identity":{"type":"TypeString","optional":true,"description":"ID of the System or User Managed Identity used to pull images from the Container Registry"},"password_secret_name":{"type":"TypeString","optional":true,"description":"The name of the Secret Reference containing the password value for this user on the Container Registry."},"server":{"type":"TypeString","required":true,"description":"The hostname for the Container Registry."},"username":{"type":"TypeString","optional":true,"description":"The username to use for this Container Registry."}}},"minItems":1},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"revision_mode":{"type":"TypeString","required":true},"secret":{"type":"TypeSet","optional":true,"elem":{"schema":{"identity":{"type":"TypeString","optional":true,"description":"The identity to use for accessing key vault reference."},"key_vault_secret_id":{"type":"TypeString","optional":true,"description":"The Key Vault Secret ID. Could be either one of `id` or `versionless_id`."},"name":{"type":"TypeString","required":true,"description":"The secret name."},"value":{"type":"TypeString","optional":true,"description":"The value for this secret."}}}},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"template":{"type":"TypeList","required":true,"elem":{"schema":{"azure_queue_scale_rule":{"type":"TypeList","optional":true,"elem":{"schema":{"authentication":{"type":"TypeList","required":true,"elem":{"schema":{"secret_name":{"type":"TypeString","required":true},"trigger_parameter":{"type":"TypeString","required":true}}},"minItems":1},"name":{"type":"TypeString","required":true},"queue_length":{"type":"TypeInt","required":true},"queue_name":{"type":"TypeString","required":true}}}},"container":{"type":"TypeList","required":true,"elem":{"schema":{"args":{"type":"TypeList","optional":true,"description":"A list of args to pass to the container.","elem":{"type":"TypeString"}},"command":{"type":"TypeList","optional":true,"description":"A command to pass to the container to override the default. This is provided as a list of command line elements without spaces.","elem":{"type":"TypeString"}},"cpu":{"type":"TypeFloat","required":true,"description":"The amount of vCPU to allocate to the container. Possible values include `0.25`, `0.5`, `0.75`, `1.0`, `1.25`, `1.5`, `1.75`, and `2.0`. **NOTE:** `cpu` and `memory` must be specified in `0.25'/'0.5Gi` combination increments. e.g. `1.0` / `2.0` or `0.5` / `1.0`. When there's a workload profile specified, there's no such constraint."},"env":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true,"description":"The name of the environment variable for the container."},"secret_name":{"type":"TypeString","optional":true,"description":"The name of the secret that contains the value for this environment variable."},"value":{"type":"TypeString","optional":true,"description":"The value for this environment variable. **NOTE:** This value is ignored if `secret_name` is used"}}},"minItems":1},"ephemeral_storage":{"type":"TypeString","description":"The amount of ephemeral storage available to the Container App.","computed":true},"image":{"type":"TypeString","required":true,"description":"The image to use to create the container."},"liveness_probe":{"type":"TypeList","optional":true,"elem":{"schema":{"failure_count_threshold":{"type":"TypeInt","optional":true,"default":3,"description":"The number of consecutive failures required to consider this probe as failed. Possible values are between `1` and `30`. Defaults to `3`."},"header":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true,"description":"The HTTP Header Name."},"value":{"type":"TypeString","required":true,"description":"The HTTP Header value."}}}},"host":{"type":"TypeString","optional":true,"description":"The probe hostname. Defaults to the pod IP address. Setting a value for `Host` in `headers` can be used to override this for `http` and `https` type probes."},"initial_delay":{"type":"TypeInt","optional":true,"default":1,"description":"The number of seconds elapsed after the container has started before the probe is initiated. Possible values are between `0` and `60`. Defaults to `1` seconds."},"interval_seconds":{"type":"TypeInt","optional":true,"default":10,"description":"How often, in seconds, the probe should run. Possible values are between `1` and `240`. Defaults to `10`"},"path":{"type":"TypeString","optional":true,"description":"The URI to use with the `host` for http type probes. Not valid for `TCP` type probes. Defaults to `/`.","computed":true},"port":{"type":"TypeInt","required":true,"description":"The port number on which to connect. Possible values are between `1` and `65535`."},"termination_grace_period_seconds":{"type":"TypeInt","description":"The time in seconds after the container is sent the termination signal before the process if forcibly killed.","computed":true},"timeout":{"type":"TypeInt","optional":true,"default":1,"description":"Time in seconds after which the probe times out. Possible values are between `1` an `240`. Defaults to `1`."},"transport":{"type":"TypeString","required":true,"description":"Type of probe. Possible values are `TCP`, `HTTP`, and `HTTPS`."}}},"minItems":1},"memory":{"type":"TypeString","required":true,"description":"The amount of memory to allocate to the container. Possible values include `0.5Gi`, `1.0Gi`, `1.5Gi`, `2.0Gi`, `2.5Gi`, `3.0Gi`, `3.5Gi`, and `4.0Gi`. **NOTE:** `cpu` and `memory` must be specified in `0.25'/'0.5Gi` combination increments. e.g. `1.25` / `2.5Gi` or `0.75` / `1.5Gi`. When there's a workload profile specified, there's no such constraint."},"name":{"type":"TypeString","required":true,"description":"The name of the container."},"readiness_probe":{"type":"TypeList","optional":true,"elem":{"schema":{"failure_count_threshold":{"type":"TypeInt","optional":true,"default":3,"description":"The number of consecutive failures required to consider this probe as failed. Possible values are between `1` and `30`. Defaults to `3`."},"header":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true,"description":"The HTTP Header Name."},"value":{"type":"TypeString","required":true,"description":"The HTTP Header value."}}}},"host":{"type":"TypeString","optional":true,"description":"The probe hostname. Defaults to the pod IP address. Setting a value for `Host` in `headers` can be used to override this for `http` and `https` type probes."},"initial_delay":{"type":"TypeInt","optional":true,"default":0,"description":"The number of seconds elapsed after the container has started before the probe is initiated. Possible values are between `0` and `60`. Defaults to `0` seconds."},"interval_seconds":{"type":"TypeInt","optional":true,"default":10,"description":"How often, in seconds, the probe should run. Possible values are between `1` and `240`. Defaults to `10`"},"path":{"type":"TypeString","optional":true,"description":"The URI to use for http type probes. Not valid for `TCP` type probes. Defaults to `/`.","computed":true},"port":{"type":"TypeInt","required":true,"description":"The port number on which to connect. Possible values are between `1` and `65535`."},"success_count_threshold":{"type":"TypeInt","optional":true,"default":3,"description":"The number of consecutive successful responses required to consider this probe as successful. Possible values are between `1` and `10`. Defaults to `3`."},"timeout":{"type":"TypeInt","optional":true,"default":1,"description":"Time in seconds after which the probe times out. Possible values are between `1` an `240`. Defaults to `1`."},"transport":{"type":"TypeString","required":true,"description":"Type of probe. Possible values are `TCP`, `HTTP`, and `HTTPS`."}}},"minItems":1},"startup_probe":{"type":"TypeList","optional":true,"elem":{"schema":{"failure_count_threshold":{"type":"TypeInt","optional":true,"default":3,"description":"The number of consecutive failures required to consider this probe as failed. Possible values are between `1` and `30`. Defaults to `3`."},"header":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true,"description":"The HTTP Header Name."},"value":{"type":"TypeString","required":true,"description":"The HTTP Header value."}}}},"host":{"type":"TypeString","optional":true,"description":"The probe hostname. Defaults to the pod IP address. Setting a value for `Host` in `headers` can be used to override this for `http` and `https` type probes."},"initial_delay":{"type":"TypeInt","optional":true,"default":0,"description":"The number of seconds elapsed after the container has started before the probe is initiated. Possible values are between `0` and `60`. Defaults to `0` seconds."},"interval_seconds":{"type":"TypeInt","optional":true,"default":10,"description":"How often, in seconds, the probe should run. Possible values are between `1` and `240`. Defaults to `10`"},"path":{"type":"TypeString","optional":true,"description":"The URI to use with the `host` for http type probes. Not valid for `TCP` type probes. Defaults to `/`.","computed":true},"port":{"type":"TypeInt","required":true,"description":"The port number on which to connect. Possible values are between `1` and `65535`."},"termination_grace_period_seconds":{"type":"TypeInt","description":"The time in seconds after the container is sent the termination signal before the process if forcibly killed.","computed":true},"timeout":{"type":"TypeInt","optional":true,"default":1,"description":"Time in seconds after which the probe times out. Possible values are between `1` an `240`. Defaults to `1`."},"transport":{"type":"TypeString","required":true,"description":"Type of probe. Possible values are `TCP`, `HTTP`, and `HTTPS`."}}},"minItems":1},"volume_mounts":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true,"description":"The name of the Volume to be mounted in the container."},"path":{"type":"TypeString","required":true,"description":"The path in the container at which to mount this volume."}}}}}},"minItems":1},"custom_scale_rule":{"type":"TypeList","optional":true,"elem":{"schema":{"authentication":{"type":"TypeList","optional":true,"elem":{"schema":{"secret_name":{"type":"TypeString","required":true},"trigger_parameter":{"type":"TypeString","required":true}}},"minItems":1},"custom_rule_type":{"type":"TypeString","required":true},"metadata":{"type":"TypeMap","required":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true}}}},"http_scale_rule":{"type":"TypeList","optional":true,"elem":{"schema":{"authentication":{"type":"TypeList","optional":true,"elem":{"schema":{"secret_name":{"type":"TypeString","required":true},"trigger_parameter":{"type":"TypeString","optional":true}}},"minItems":1},"concurrent_requests":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true}}}},"init_container":{"type":"TypeList","optional":true,"elem":{"schema":{"args":{"type":"TypeList","optional":true,"description":"A list of args to pass to the container.","elem":{"type":"TypeString"}},"command":{"type":"TypeList","optional":true,"description":"A command to pass to the container to override the default. This is provided as a list of command line elements without spaces.","elem":{"type":"TypeString"}},"cpu":{"type":"TypeFloat","optional":true,"description":"The amount of vCPU to allocate to the container. Possible values include `0.25`, `0.5`, `0.75`, `1.0`, `1.25`, `1.5`, `1.75`, and `2.0`. **NOTE:** `cpu` and `memory` must be specified in `0.25'/'0.5Gi` combination increments. e.g. `1.0` / `2.0` or `0.5` / `1.0`. When there's a workload profile specified, there's no such constraint."},"env":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true,"description":"The name of the environment variable for the container."},"secret_name":{"type":"TypeString","optional":true,"description":"The name of the secret that contains the value for this environment variable."},"value":{"type":"TypeString","optional":true,"description":"The value for this environment variable. **NOTE:** This value is ignored if `secret_name` is used"}}},"minItems":1},"ephemeral_storage":{"type":"TypeString","description":"The amount of ephemeral storage available to the Container App.","computed":true},"image":{"type":"TypeString","required":true,"description":"The image to use to create the container."},"memory":{"type":"TypeString","optional":true,"description":"The amount of memory to allocate to the container. Possible values include `0.5Gi`, `1.0Gi`, `1.5Gi`, `2.0Gi`, `2.5Gi`, `3.0Gi`, `3.5Gi`, and `4.0Gi`. **NOTE:** `cpu` and `memory` must be specified in `0.25'/'0.5Gi` combination increments. e.g. `1.25` / `2.5Gi` or `0.75` / `1.5Gi`. When there's a workload profile specified, there's no such constraint."},"name":{"type":"TypeString","required":true,"description":"The name of the container."},"volume_mounts":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true,"description":"The name of the Volume to be mounted in the container."},"path":{"type":"TypeString","required":true,"description":"The path in the container at which to mount this volume."}}}}}},"minItems":1},"max_replicas":{"type":"TypeInt","optional":true,"default":10,"description":"The maximum number of replicas for this container."},"min_replicas":{"type":"TypeInt","optional":true,"default":0,"description":"The minimum number of replicas for this container."},"revision_suffix":{"type":"TypeString","optional":true,"description":"The suffix for the revision. This value must be unique for the lifetime of the Resource. If omitted the service will use a hash function to create one.","computed":true},"tcp_scale_rule":{"type":"TypeList","optional":true,"elem":{"schema":{"authentication":{"type":"TypeList","optional":true,"elem":{"schema":{"secret_name":{"type":"TypeString","required":true},"trigger_parameter":{"type":"TypeString","optional":true}}},"minItems":1},"concurrent_requests":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true}}}},"volume":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true,"description":"The name of the volume."},"storage_name":{"type":"TypeString","optional":true,"description":"The name of the `AzureFile` storage. Required when `storage_type` is `AzureFile`"},"storage_type":{"type":"TypeString","optional":true,"default":"EmptyDir","description":"The type of storage volume. Possible values include `AzureFile` and `EmptyDir`. Defaults to `EmptyDir`."}}},"minItems":1}}},"maxItems":1},"workload_profile_name":{"type":"TypeString","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_container_app_custom_domain":{"schema":{"certificate_binding_type":{"type":"TypeString","optional":true,"description":"The Binding type. Possible values include `Disabled` and `SniEnabled`.","forceNew":true},"container_app_environment_certificate_id":{"type":"TypeString","optional":true,"forceNew":true},"container_app_environment_managed_certificate_id":{"type":"TypeString","computed":true},"container_app_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"description":"The hostname of the Certificate. Must be the CN or a named SAN in the certificate.","forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_container_app_environment":{"schema":{"custom_domain_verification_id":{"type":"TypeString","description":"The ID of the Custom Domain Verification for this Container App Environment.","computed":true},"dapr_application_insights_connection_string":{"type":"TypeString","optional":true,"description":"Application Insights connection string used by Dapr to export Service to Service communication telemetry.","forceNew":true},"default_domain":{"type":"TypeString","description":"The default publicly resolvable name of this Container App Environment","computed":true},"docker_bridge_cidr":{"type":"TypeString","description":"The network addressing in which the Container Apps in this Container App Environment will reside in CIDR notation.","computed":true},"infrastructure_resource_group_name":{"type":"TypeString","optional":true,"description":"Name of the platform-managed resource group created for the Managed Environment to host infrastructure resources. **Note:** Only valid if a `workload_profile` is specified. If `infrastructure_subnet_id` is specified, this resource group will be created in the same subscription as `infrastructure_subnet_id`.","forceNew":true},"infrastructure_subnet_id":{"type":"TypeString","optional":true,"description":"The existing Subnet to use for the Container Apps Control Plane. **NOTE:** The Subnet must have a `/21` or larger address space.","forceNew":true},"internal_load_balancer_enabled":{"type":"TypeBool","optional":true,"default":false,"description":"Should the Container Environment operate in Internal Load Balancing Mode? Defaults to `false`. **Note:** can only be set to `true` if `infrastructure_subnet_id` is specified.","forceNew":true},"location":{"type":"TypeString","required":true,"forceNew":true},"log_analytics_workspace_id":{"type":"TypeString","optional":true,"description":"The ID for the Log Analytics Workspace to link this Container Apps Managed Environment to."},"mutual_tls_enabled":{"type":"TypeBool","optional":true,"default":false,"description":"Should mutual transport layer security (mTLS) be enabled? Defaults to `false`. **Note:** This feature is in public preview. Enabling mTLS for your applications may increase response latency and reduce maximum throughput in high-load scenarios."},"name":{"type":"TypeString","required":true,"description":"The name of the Container Apps Managed Environment.","forceNew":true},"platform_reserved_cidr":{"type":"TypeString","description":"The IP range, in CIDR notation, that is reserved for environment infrastructure IP addresses.","computed":true},"platform_reserved_dns_ip_address":{"type":"TypeString","description":"The IP address from the IP range defined by `platform_reserved_cidr` that is reserved for the internal DNS server.","computed":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"static_ip_address":{"type":"TypeString","description":"The Static IP Address of the Environment.","computed":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"workload_profile":{"type":"TypeSet","optional":true,"elem":{"schema":{"maximum_count":{"type":"TypeInt","optional":true},"minimum_count":{"type":"TypeInt","optional":true},"name":{"type":"TypeString","required":true},"workload_profile_type":{"type":"TypeString","required":true}}}},"zone_redundancy_enabled":{"type":"TypeBool","optional":true,"default":false,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_container_app_environment_certificate":{"schema":{"certificate_blob_base64":{"type":"TypeString","required":true,"description":"The Certificate Private Key as a base64 encoded PFX or PEM.","forceNew":true},"certificate_password":{"type":"TypeString","required":true,"description":"The password for the Certificate.","forceNew":true},"container_app_environment_id":{"type":"TypeString","required":true,"description":"The Container App Managed Environment ID to configure this Certificate on.","forceNew":true},"expiration_date":{"type":"TypeString","description":"The expiration date for the Certificate.","computed":true},"issue_date":{"type":"TypeString","description":"The date of issue for the Certificate.","computed":true},"issuer":{"type":"TypeString","description":"The Certificate Issuer.","computed":true},"name":{"type":"TypeString","required":true,"description":"The name of the Container Apps Environment Certificate.","forceNew":true},"subject_name":{"type":"TypeString","description":"The Subject Name for the Certificate.","computed":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"thumbprint":{"type":"TypeString","description":"The Thumbprint of the Certificate.","computed":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_container_app_environment_custom_domain":{"schema":{"certificate_blob_base64":{"type":"TypeString","required":true,"description":"The Custom Domain Certificate Private Key as a base64 encoded PFX or PEM."},"certificate_password":{"type":"TypeString","required":true,"description":"The Custom Domain Certificate password."},"container_app_environment_id":{"type":"TypeString","required":true,"description":"The Container App Managed Environment ID to configure this Custom Domain on.","forceNew":true},"dns_suffix":{"type":"TypeString","required":true,"description":"The Custom Domain DNS suffix for this Container App Environment."}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_container_app_environment_dapr_component":{"schema":{"component_type":{"type":"TypeString","required":true,"description":"The Dapr Component Type. For example `state.azure.blobstorage`.","forceNew":true},"container_app_environment_id":{"type":"TypeString","required":true,"description":"The Container App Managed Environment ID to configure this Dapr component on.","forceNew":true},"ignore_errors":{"type":"TypeBool","optional":true,"default":false,"description":"Should the Dapr sidecar to continue initialisation if the component fails to load. Defaults to `false`"},"init_timeout":{"type":"TypeString","optional":true,"default":"5s","description":"The component initialisation timeout in ISO8601 format. e.g. `5s`, `2h`, `1m`. Defaults to `5s`."},"metadata":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true,"description":"The name of the Metadata configuration item."},"secret_name":{"type":"TypeString","optional":true,"description":"The name of a secret specified in the `secrets` block that contains the value for this metadata configuration item."},"value":{"type":"TypeString","optional":true,"description":"The value for this metadata configuration item."}}},"minItems":1},"name":{"type":"TypeString","required":true,"description":"The name for this Dapr Component.","forceNew":true},"scopes":{"type":"TypeList","optional":true,"description":"A list of scopes to which this component applies. e.g. a Container App's `dapr.app_id` value.","elem":{"type":"TypeString"},"minItems":1},"secret":{"type":"TypeSet","optional":true,"elem":{"schema":{"identity":{"type":"TypeString","optional":true,"description":"The identity to use for accessing key vault reference."},"key_vault_secret_id":{"type":"TypeString","optional":true,"description":"The Key Vault Secret ID. Could be either one of `id` or `versionless_id`."},"name":{"type":"TypeString","required":true,"description":"The secret name."},"value":{"type":"TypeString","optional":true,"description":"The value for this secret."}}}},"version":{"type":"TypeString","required":true,"description":"The version of the component."}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_container_app_environment_storage":{"schema":{"access_key":{"type":"TypeString","required":true,"description":"The Storage Account Access Key."},"access_mode":{"type":"TypeString","required":true,"description":"The access mode to connect this storage to the Container App. Possible values include `ReadOnly` and `ReadWrite`.","forceNew":true},"account_name":{"type":"TypeString","required":true,"description":"The Azure Storage Account in which the Share to be used is located.","forceNew":true},"container_app_environment_id":{"type":"TypeString","required":true,"description":"The ID of the Container App Environment to which this storage belongs.","forceNew":true},"name":{"type":"TypeString","required":true,"description":"The name for this Storage.","forceNew":true},"share_name":{"type":"TypeString","required":true,"description":"The name of the Azure Storage Share to use.","forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_container_app_job":{"schema":{"container_app_environment_id":{"type":"TypeString","required":true,"forceNew":true},"event_stream_endpoint":{"type":"TypeString","computed":true},"event_trigger_config":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"parallelism":{"type":"TypeInt","optional":true,"default":1},"replica_completion_count":{"type":"TypeInt","optional":true,"default":1},"scale":{"type":"TypeList","optional":true,"elem":{"schema":{"max_executions":{"type":"TypeInt","optional":true,"default":100},"min_executions":{"type":"TypeInt","optional":true,"default":0},"polling_interval_in_seconds":{"type":"TypeInt","optional":true,"default":30},"rules":{"type":"TypeList","optional":true,"elem":{"schema":{"authentication":{"type":"TypeList","optional":true,"elem":{"schema":{"secret_name":{"type":"TypeString","required":true},"trigger_parameter":{"type":"TypeString","required":true}}},"minItems":1},"custom_rule_type":{"type":"TypeString","required":true},"metadata":{"type":"TypeMap","required":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true}}}}}}}}},"maxItems":1},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"manual_trigger_config":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"parallelism":{"type":"TypeInt","optional":true,"default":1},"replica_completion_count":{"type":"TypeInt","optional":true,"default":1}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"outbound_ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"registry":{"type":"TypeList","optional":true,"elem":{"schema":{"identity":{"type":"TypeString","optional":true,"description":"ID of the System or User Managed Identity used to pull images from the Container Registry"},"password_secret_name":{"type":"TypeString","optional":true,"description":"The name of the Secret Reference containing the password value for this user on the Container Registry."},"server":{"type":"TypeString","required":true,"description":"The hostname for the Container Registry."},"username":{"type":"TypeString","optional":true,"description":"The username to use for this Container Registry."}}},"minItems":1},"replica_retry_limit":{"type":"TypeInt","optional":true},"replica_timeout_in_seconds":{"type":"TypeInt","required":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"schedule_trigger_config":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"cron_expression":{"type":"TypeString","required":true},"parallelism":{"type":"TypeInt","optional":true,"default":1},"replica_completion_count":{"type":"TypeInt","optional":true,"default":1}}},"maxItems":1},"secret":{"type":"TypeSet","optional":true,"elem":{"schema":{"identity":{"type":"TypeString","optional":true,"description":"The identity to use for accessing key vault reference."},"key_vault_secret_id":{"type":"TypeString","optional":true,"description":"The Key Vault Secret ID. Could be either one of `id` or `versionless_id`."},"name":{"type":"TypeString","required":true,"description":"The secret name."},"value":{"type":"TypeString","optional":true,"description":"The value for this secret."}}}},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"template":{"type":"TypeList","required":true,"elem":{"schema":{"container":{"type":"TypeList","required":true,"elem":{"schema":{"args":{"type":"TypeList","optional":true,"description":"A list of args to pass to the container.","elem":{"type":"TypeString"}},"command":{"type":"TypeList","optional":true,"description":"A command to pass to the container to override the default. This is provided as a list of command line elements without spaces.","elem":{"type":"TypeString"}},"cpu":{"type":"TypeFloat","required":true,"description":"The amount of vCPU to allocate to the container. Possible values include `0.25`, `0.5`, `0.75`, `1.0`, `1.25`, `1.5`, `1.75`, and `2.0`. **NOTE:** `cpu` and `memory` must be specified in `0.25'/'0.5Gi` combination increments. e.g. `1.0` / `2.0` or `0.5` / `1.0`. When there's a workload profile specified, there's no such constraint."},"env":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true,"description":"The name of the environment variable for the container."},"secret_name":{"type":"TypeString","optional":true,"description":"The name of the secret that contains the value for this environment variable."},"value":{"type":"TypeString","optional":true,"description":"The value for this environment variable. **NOTE:** This value is ignored if `secret_name` is used"}}},"minItems":1},"ephemeral_storage":{"type":"TypeString","description":"The amount of ephemeral storage available to the Container App.","computed":true},"image":{"type":"TypeString","required":true,"description":"The image to use to create the container."},"liveness_probe":{"type":"TypeList","optional":true,"elem":{"schema":{"failure_count_threshold":{"type":"TypeInt","optional":true,"default":3,"description":"The number of consecutive failures required to consider this probe as failed. Possible values are between `1` and `30`. Defaults to `3`."},"header":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true,"description":"The HTTP Header Name."},"value":{"type":"TypeString","required":true,"description":"The HTTP Header value."}}}},"host":{"type":"TypeString","optional":true,"description":"The probe hostname. Defaults to the pod IP address. Setting a value for `Host` in `headers` can be used to override this for `http` and `https` type probes."},"initial_delay":{"type":"TypeInt","optional":true,"default":1,"description":"The number of seconds elapsed after the container has started before the probe is initiated. Possible values are between `0` and `60`. Defaults to `1` seconds."},"interval_seconds":{"type":"TypeInt","optional":true,"default":10,"description":"How often, in seconds, the probe should run. Possible values are between `1` and `240`. Defaults to `10`"},"path":{"type":"TypeString","optional":true,"description":"The URI to use with the `host` for http type probes. Not valid for `TCP` type probes. Defaults to `/`.","computed":true},"port":{"type":"TypeInt","required":true,"description":"The port number on which to connect. Possible values are between `1` and `65535`."},"termination_grace_period_seconds":{"type":"TypeInt","description":"The time in seconds after the container is sent the termination signal before the process if forcibly killed.","computed":true},"timeout":{"type":"TypeInt","optional":true,"default":1,"description":"Time in seconds after which the probe times out. Possible values are between `1` an `240`. Defaults to `1`."},"transport":{"type":"TypeString","required":true,"description":"Type of probe. Possible values are `TCP`, `HTTP`, and `HTTPS`."}}},"minItems":1},"memory":{"type":"TypeString","required":true,"description":"The amount of memory to allocate to the container. Possible values include `0.5Gi`, `1.0Gi`, `1.5Gi`, `2.0Gi`, `2.5Gi`, `3.0Gi`, `3.5Gi`, and `4.0Gi`. **NOTE:** `cpu` and `memory` must be specified in `0.25'/'0.5Gi` combination increments. e.g. `1.25` / `2.5Gi` or `0.75` / `1.5Gi`. When there's a workload profile specified, there's no such constraint."},"name":{"type":"TypeString","required":true,"description":"The name of the container."},"readiness_probe":{"type":"TypeList","optional":true,"elem":{"schema":{"failure_count_threshold":{"type":"TypeInt","optional":true,"default":3,"description":"The number of consecutive failures required to consider this probe as failed. Possible values are between `1` and `30`. Defaults to `3`."},"header":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true,"description":"The HTTP Header Name."},"value":{"type":"TypeString","required":true,"description":"The HTTP Header value."}}}},"host":{"type":"TypeString","optional":true,"description":"The probe hostname. Defaults to the pod IP address. Setting a value for `Host` in `headers` can be used to override this for `http` and `https` type probes."},"initial_delay":{"type":"TypeInt","optional":true,"default":0,"description":"The number of seconds elapsed after the container has started before the probe is initiated. Possible values are between `0` and `60`. Defaults to `0` seconds."},"interval_seconds":{"type":"TypeInt","optional":true,"default":10,"description":"How often, in seconds, the probe should run. Possible values are between `1` and `240`. Defaults to `10`"},"path":{"type":"TypeString","optional":true,"description":"The URI to use for http type probes. Not valid for `TCP` type probes. Defaults to `/`.","computed":true},"port":{"type":"TypeInt","required":true,"description":"The port number on which to connect. Possible values are between `1` and `65535`."},"success_count_threshold":{"type":"TypeInt","optional":true,"default":3,"description":"The number of consecutive successful responses required to consider this probe as successful. Possible values are between `1` and `10`. Defaults to `3`."},"timeout":{"type":"TypeInt","optional":true,"default":1,"description":"Time in seconds after which the probe times out. Possible values are between `1` an `240`. Defaults to `1`."},"transport":{"type":"TypeString","required":true,"description":"Type of probe. Possible values are `TCP`, `HTTP`, and `HTTPS`."}}},"minItems":1},"startup_probe":{"type":"TypeList","optional":true,"elem":{"schema":{"failure_count_threshold":{"type":"TypeInt","optional":true,"default":3,"description":"The number of consecutive failures required to consider this probe as failed. Possible values are between `1` and `30`. Defaults to `3`."},"header":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true,"description":"The HTTP Header Name."},"value":{"type":"TypeString","required":true,"description":"The HTTP Header value."}}}},"host":{"type":"TypeString","optional":true,"description":"The probe hostname. Defaults to the pod IP address. Setting a value for `Host` in `headers` can be used to override this for `http` and `https` type probes."},"initial_delay":{"type":"TypeInt","optional":true,"default":0,"description":"The number of seconds elapsed after the container has started before the probe is initiated. Possible values are between `0` and `60`. Defaults to `0` seconds."},"interval_seconds":{"type":"TypeInt","optional":true,"default":10,"description":"How often, in seconds, the probe should run. Possible values are between `1` and `240`. Defaults to `10`"},"path":{"type":"TypeString","optional":true,"description":"The URI to use with the `host` for http type probes. Not valid for `TCP` type probes. Defaults to `/`.","computed":true},"port":{"type":"TypeInt","required":true,"description":"The port number on which to connect. Possible values are between `1` and `65535`."},"termination_grace_period_seconds":{"type":"TypeInt","description":"The time in seconds after the container is sent the termination signal before the process if forcibly killed.","computed":true},"timeout":{"type":"TypeInt","optional":true,"default":1,"description":"Time in seconds after which the probe times out. Possible values are between `1` an `240`. Defaults to `1`."},"transport":{"type":"TypeString","required":true,"description":"Type of probe. Possible values are `TCP`, `HTTP`, and `HTTPS`."}}},"minItems":1},"volume_mounts":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true,"description":"The name of the Volume to be mounted in the container."},"path":{"type":"TypeString","required":true,"description":"The path in the container at which to mount this volume."}}}}}},"minItems":1},"init_container":{"type":"TypeList","optional":true,"elem":{"schema":{"args":{"type":"TypeList","optional":true,"description":"A list of args to pass to the container.","elem":{"type":"TypeString"}},"command":{"type":"TypeList","optional":true,"description":"A command to pass to the container to override the default. This is provided as a list of command line elements without spaces.","elem":{"type":"TypeString"}},"cpu":{"type":"TypeFloat","optional":true,"description":"The amount of vCPU to allocate to the container. Possible values include `0.25`, `0.5`, `0.75`, `1.0`, `1.25`, `1.5`, `1.75`, and `2.0`. **NOTE:** `cpu` and `memory` must be specified in `0.25'/'0.5Gi` combination increments. e.g. `1.0` / `2.0` or `0.5` / `1.0`. When there's a workload profile specified, there's no such constraint."},"env":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true,"description":"The name of the environment variable for the container."},"secret_name":{"type":"TypeString","optional":true,"description":"The name of the secret that contains the value for this environment variable."},"value":{"type":"TypeString","optional":true,"description":"The value for this environment variable. **NOTE:** This value is ignored if `secret_name` is used"}}},"minItems":1},"ephemeral_storage":{"type":"TypeString","description":"The amount of ephemeral storage available to the Container App.","computed":true},"image":{"type":"TypeString","required":true,"description":"The image to use to create the container."},"memory":{"type":"TypeString","optional":true,"description":"The amount of memory to allocate to the container. Possible values include `0.5Gi`, `1.0Gi`, `1.5Gi`, `2.0Gi`, `2.5Gi`, `3.0Gi`, `3.5Gi`, and `4.0Gi`. **NOTE:** `cpu` and `memory` must be specified in `0.25'/'0.5Gi` combination increments. e.g. `1.25` / `2.5Gi` or `0.75` / `1.5Gi`. When there's a workload profile specified, there's no such constraint."},"name":{"type":"TypeString","required":true,"description":"The name of the container."},"volume_mounts":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true,"description":"The name of the Volume to be mounted in the container."},"path":{"type":"TypeString","required":true,"description":"The path in the container at which to mount this volume."}}}}}},"minItems":1},"volume":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true,"description":"The name of the volume."},"storage_name":{"type":"TypeString","optional":true,"description":"The name of the `AzureFile` storage. Required when `storage_type` is `AzureFile`"},"storage_type":{"type":"TypeString","optional":true,"default":"EmptyDir","description":"The type of storage volume. Possible values include `AzureFile` and `EmptyDir`. Defaults to `EmptyDir`."}}},"minItems":1}}},"maxItems":1},"workload_profile_name":{"type":"TypeString","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_container_connected_registry":{"schema":{"audit_log_enabled":{"type":"TypeBool","optional":true,"default":false},"client_token_ids":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"container_registry_id":{"type":"TypeString","required":true,"forceNew":true},"log_level":{"type":"TypeString","optional":true,"default":"None"},"mode":{"type":"TypeString","optional":true,"default":"ReadWrite","forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"notification":{"type":"TypeList","optional":true,"elem":{"schema":{"action":{"type":"TypeString","required":true},"digest":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true},"tag":{"type":"TypeString","optional":true}}}},"parent_registry_id":{"type":"TypeString","optional":true,"forceNew":true},"sync_message_ttl":{"type":"TypeString","optional":true,"default":"P1D"},"sync_schedule":{"type":"TypeString","optional":true,"default":"* * * * *"},"sync_token_id":{"type":"TypeString","required":true,"forceNew":true},"sync_window":{"type":"TypeString","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_container_group":{"schema":{"container":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"commands":{"type":"TypeList","optional":true,"computed":true,"forceNew":true,"elem":{"type":"TypeString"}},"cpu":{"type":"TypeFloat","required":true,"forceNew":true},"cpu_limit":{"type":"TypeFloat","optional":true},"environment_variables":{"type":"TypeMap","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"image":{"type":"TypeString","required":true,"forceNew":true},"liveness_probe":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"exec":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"failure_threshold":{"type":"TypeInt","optional":true,"forceNew":true},"http_get":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"http_headers":{"type":"TypeMap","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"path":{"type":"TypeString","optional":true,"forceNew":true},"port":{"type":"TypeInt","optional":true,"forceNew":true},"scheme":{"type":"TypeString","optional":true,"forceNew":true}}}},"initial_delay_seconds":{"type":"TypeInt","optional":true,"forceNew":true},"period_seconds":{"type":"TypeInt","optional":true,"forceNew":true},"success_threshold":{"type":"TypeInt","optional":true,"forceNew":true},"timeout_seconds":{"type":"TypeInt","optional":true,"forceNew":true}}},"maxItems":1},"memory":{"type":"TypeFloat","required":true,"forceNew":true},"memory_limit":{"type":"TypeFloat","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"ports":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"schema":{"port":{"type":"TypeInt","optional":true,"forceNew":true},"protocol":{"type":"TypeString","optional":true,"default":"TCP","forceNew":true}}}},"readiness_probe":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"exec":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"failure_threshold":{"type":"TypeInt","optional":true,"forceNew":true},"http_get":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"http_headers":{"type":"TypeMap","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"path":{"type":"TypeString","optional":true,"forceNew":true},"port":{"type":"TypeInt","optional":true,"forceNew":true},"scheme":{"type":"TypeString","optional":true,"forceNew":true}}}},"initial_delay_seconds":{"type":"TypeInt","optional":true,"forceNew":true},"period_seconds":{"type":"TypeInt","optional":true,"forceNew":true},"success_threshold":{"type":"TypeInt","optional":true,"forceNew":true},"timeout_seconds":{"type":"TypeInt","optional":true,"forceNew":true}}},"maxItems":1},"secure_environment_variables":{"type":"TypeMap","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"security":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"privilege_enabled":{"type":"TypeBool","required":true,"forceNew":true}}}},"volume":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"empty_dir":{"type":"TypeBool","optional":true,"default":false,"forceNew":true},"git_repo":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"directory":{"type":"TypeString","optional":true,"forceNew":true},"revision":{"type":"TypeString","optional":true,"forceNew":true},"url":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"mount_path":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"read_only":{"type":"TypeBool","optional":true,"default":false,"forceNew":true},"secret":{"type":"TypeMap","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"share_name":{"type":"TypeString","optional":true,"forceNew":true},"storage_account_key":{"type":"TypeString","optional":true,"forceNew":true},"storage_account_name":{"type":"TypeString","optional":true,"forceNew":true}}}}}}},"diagnostics":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"log_analytics":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"log_type":{"type":"TypeString","optional":true,"forceNew":true},"metadata":{"type":"TypeMap","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"workspace_id":{"type":"TypeString","required":true,"forceNew":true},"workspace_key":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1}}},"maxItems":1},"dns_config":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"nameservers":{"type":"TypeList","required":true,"forceNew":true,"elem":{"type":"TypeString"}},"options":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"search_domains":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"dns_name_label":{"type":"TypeString","optional":true,"forceNew":true},"dns_name_label_reuse_policy":{"type":"TypeString","optional":true,"default":"Unsecure"},"exposed_port":{"type":"TypeSet","configMode":"Auto","optional":true,"computed":true,"forceNew":true,"elem":{"schema":{"port":{"type":"TypeInt","optional":true,"forceNew":true},"protocol":{"type":"TypeString","optional":true,"default":"TCP","forceNew":true}}}},"fqdn":{"type":"TypeString","computed":true},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"image_registry_credential":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"password":{"type":"TypeString","optional":true,"forceNew":true},"server":{"type":"TypeString","required":true,"forceNew":true},"user_assigned_identity_id":{"type":"TypeString","optional":true,"description":"The User Assigned Identity to use for Container Registry access.","forceNew":true},"username":{"type":"TypeString","optional":true,"forceNew":true}}}},"init_container":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"commands":{"type":"TypeList","optional":true,"computed":true,"forceNew":true,"elem":{"type":"TypeString"}},"environment_variables":{"type":"TypeMap","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"image":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"secure_environment_variables":{"type":"TypeMap","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"security":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"privilege_enabled":{"type":"TypeBool","required":true,"forceNew":true}}}},"volume":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"empty_dir":{"type":"TypeBool","optional":true,"default":false,"forceNew":true},"git_repo":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"directory":{"type":"TypeString","optional":true,"forceNew":true},"revision":{"type":"TypeString","optional":true,"forceNew":true},"url":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"mount_path":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"read_only":{"type":"TypeBool","optional":true,"default":false,"forceNew":true},"secret":{"type":"TypeMap","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"share_name":{"type":"TypeString","optional":true,"forceNew":true},"storage_account_key":{"type":"TypeString","optional":true,"forceNew":true},"storage_account_name":{"type":"TypeString","optional":true,"forceNew":true}}}}}}},"ip_address":{"type":"TypeString","computed":true},"ip_address_type":{"type":"TypeString","optional":true,"default":"Public","forceNew":true},"key_vault_key_id":{"type":"TypeString","optional":true,"forceNew":true},"key_vault_user_assigned_identity_id":{"type":"TypeString","optional":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"network_profile_id":{"type":"TypeString","optional":true,"computed":true},"os_type":{"type":"TypeString","required":true,"forceNew":true},"priority":{"type":"TypeString","optional":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"restart_policy":{"type":"TypeString","optional":true,"default":"Always","forceNew":true},"sku":{"type":"TypeString","optional":true,"default":"Standard","forceNew":true},"subnet_ids":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"},"maxItems":1},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"zones":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":60,"read":5,"delete":30,"update":30}},"azurerm_container_registry":{"schema":{"admin_enabled":{"type":"TypeBool","optional":true,"default":false},"admin_password":{"type":"TypeString","computed":true},"admin_username":{"type":"TypeString","computed":true},"anonymous_pull_enabled":{"type":"TypeBool","optional":true},"data_endpoint_enabled":{"type":"TypeBool","optional":true},"encryption":{"type":"TypeList","configMode":"Auto","optional":true,"computed":true,"elem":{"schema":{"identity_client_id":{"type":"TypeString","required":true},"key_vault_key_id":{"type":"TypeString","required":true}}},"maxItems":1},"export_policy_enabled":{"type":"TypeBool","optional":true,"default":true},"georeplications":{"type":"TypeList","optional":true,"elem":{"schema":{"location":{"type":"TypeString","required":true},"regional_endpoint_enabled":{"type":"TypeBool","optional":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"zone_redundancy_enabled":{"type":"TypeBool","optional":true,"default":false}}}},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"login_server":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true,"forceNew":true},"network_rule_bypass_option":{"type":"TypeString","optional":true,"default":"AzureServices"},"network_rule_set":{"type":"TypeList","configMode":"Auto","optional":true,"computed":true,"elem":{"schema":{"default_action":{"type":"TypeString","optional":true,"default":"Allow"},"ip_rule":{"type":"TypeSet","configMode":"Auto","optional":true,"computed":true,"elem":{"schema":{"action":{"type":"TypeString","required":true},"ip_range":{"type":"TypeString","required":true}}}}}},"maxItems":1},"public_network_access_enabled":{"type":"TypeBool","optional":true,"default":true},"quarantine_policy_enabled":{"type":"TypeBool","optional":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"retention_policy_in_days":{"type":"TypeInt","optional":true},"sku":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"trust_policy_enabled":{"type":"TypeBool","optional":true,"default":false},"zone_redundancy_enabled":{"type":"TypeBool","optional":true,"default":false,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_container_registry_agent_pool":{"schema":{"container_registry_name":{"type":"TypeString","required":true,"forceNew":true},"instance_count":{"type":"TypeInt","optional":true,"default":1},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"tier":{"type":"TypeString","optional":true,"default":"S1","forceNew":true},"virtual_network_subnet_id":{"type":"TypeString","optional":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_container_registry_cache_rule":{"schema":{"container_registry_id":{"type":"TypeString","required":true,"forceNew":true},"credential_set_id":{"type":"TypeString","optional":true,"description":"The ARM resource ID of the credential store which is associated with the cache rule."},"name":{"type":"TypeString","required":true,"description":"The name of the cache rule.","forceNew":true},"source_repo":{"type":"TypeString","required":true,"description":"The full source repository path such as 'docker.io/library/ubuntu'.","forceNew":true},"target_repo":{"type":"TypeString","required":true,"description":"The target repository namespace such as 'ubuntu'.","forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_container_registry_scope_map":{"schema":{"actions":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"minItems":1},"container_registry_name":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_container_registry_task":{"schema":{"agent_pool_name":{"type":"TypeString","optional":true},"agent_setting":{"type":"TypeList","optional":true,"elem":{"schema":{"cpu":{"type":"TypeInt","required":true}}},"maxItems":1},"base_image_trigger":{"type":"TypeList","optional":true,"elem":{"schema":{"enabled":{"type":"TypeBool","optional":true,"default":true},"name":{"type":"TypeString","required":true},"type":{"type":"TypeString","required":true},"update_trigger_endpoint":{"type":"TypeString","optional":true},"update_trigger_payload_type":{"type":"TypeString","optional":true}}},"maxItems":1},"container_registry_id":{"type":"TypeString","required":true,"forceNew":true},"docker_step":{"type":"TypeList","optional":true,"elem":{"schema":{"arguments":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"cache_enabled":{"type":"TypeBool","optional":true,"default":true},"context_access_token":{"type":"TypeString","required":true},"context_path":{"type":"TypeString","required":true},"dockerfile_path":{"type":"TypeString","required":true},"image_names":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"push_enabled":{"type":"TypeBool","optional":true,"default":true},"secret_arguments":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"target":{"type":"TypeString","optional":true}}},"maxItems":1},"enabled":{"type":"TypeBool","optional":true,"default":true},"encoded_step":{"type":"TypeList","optional":true,"elem":{"schema":{"context_access_token":{"type":"TypeString","optional":true},"context_path":{"type":"TypeString","optional":true},"secret_values":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"task_content":{"type":"TypeString","required":true},"value_content":{"type":"TypeString","optional":true},"values":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"file_step":{"type":"TypeList","optional":true,"elem":{"schema":{"context_access_token":{"type":"TypeString","optional":true},"context_path":{"type":"TypeString","optional":true},"secret_values":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"task_file_path":{"type":"TypeString","required":true},"value_file_path":{"type":"TypeString","optional":true},"values":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"is_system_task":{"type":"TypeBool","optional":true,"default":false,"forceNew":true},"log_template":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"platform":{"type":"TypeList","optional":true,"elem":{"schema":{"architecture":{"type":"TypeString","optional":true},"os":{"type":"TypeString","required":true},"variant":{"type":"TypeString","optional":true}}},"maxItems":1},"registry_credential":{"type":"TypeList","optional":true,"elem":{"schema":{"custom":{"type":"TypeSet","optional":true,"elem":{"schema":{"identity":{"type":"TypeString","optional":true},"login_server":{"type":"TypeString","required":true},"password":{"type":"TypeString","optional":true},"username":{"type":"TypeString","optional":true}}}},"source":{"type":"TypeList","optional":true,"elem":{"schema":{"login_mode":{"type":"TypeString","required":true}}},"maxItems":1}}},"maxItems":1},"source_trigger":{"type":"TypeList","optional":true,"elem":{"schema":{"authentication":{"type":"TypeList","optional":true,"elem":{"schema":{"expire_in_seconds":{"type":"TypeInt","optional":true},"refresh_token":{"type":"TypeString","optional":true},"scope":{"type":"TypeString","optional":true},"token":{"type":"TypeString","required":true},"token_type":{"type":"TypeString","required":true}}},"maxItems":1},"branch":{"type":"TypeString","optional":true},"enabled":{"type":"TypeBool","optional":true,"default":true},"events":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true},"repository_url":{"type":"TypeString","required":true},"source_type":{"type":"TypeString","required":true}}}},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"timeout_in_seconds":{"type":"TypeInt","optional":true,"default":3600},"timer_trigger":{"type":"TypeList","optional":true,"elem":{"schema":{"enabled":{"type":"TypeBool","optional":true,"default":true},"name":{"type":"TypeString","required":true},"schedule":{"type":"TypeString","required":true}}}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_container_registry_task_schedule_run_now":{"schema":{"container_registry_task_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_container_registry_token":{"schema":{"container_registry_name":{"type":"TypeString","required":true,"forceNew":true},"enabled":{"type":"TypeBool","optional":true,"default":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"scope_map_id":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_container_registry_token_password":{"schema":{"container_registry_token_id":{"type":"TypeString","required":true,"forceNew":true},"password1":{"type":"TypeList","required":true,"elem":{"schema":{"expiry":{"type":"TypeString","optional":true,"forceNew":true},"value":{"type":"TypeString","computed":true}}},"maxItems":1},"password2":{"type":"TypeList","optional":true,"elem":{"schema":{"expiry":{"type":"TypeString","optional":true,"forceNew":true},"value":{"type":"TypeString","computed":true}}},"maxItems":1}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_container_registry_webhook":{"schema":{"actions":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"},"minItems":1},"custom_headers":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"registry_name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"scope":{"type":"TypeString","optional":true,"default":""},"service_uri":{"type":"TypeString","required":true},"status":{"type":"TypeString","optional":true,"default":"enabled"},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_cosmosdb_account":{"schema":{"access_key_metadata_writes_enabled":{"type":"TypeBool","optional":true,"default":true},"analytical_storage":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"schema_type":{"type":"TypeString","required":true}}},"maxItems":1},"analytical_storage_enabled":{"type":"TypeBool","optional":true,"default":false},"automatic_failover_enabled":{"type":"TypeBool","optional":true,"default":false},"backup":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"interval_in_minutes":{"type":"TypeInt","optional":true,"computed":true},"retention_in_hours":{"type":"TypeInt","optional":true,"computed":true},"storage_redundancy":{"type":"TypeString","optional":true,"computed":true},"tier":{"type":"TypeString","optional":true,"computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"burst_capacity_enabled":{"type":"TypeBool","optional":true,"default":false},"capabilities":{"type":"TypeSet","optional":true,"computed":true,"elem":{"schema":{"name":{"type":"TypeString","required":true}}}},"capacity":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"total_throughput_limit":{"type":"TypeInt","required":true}}},"maxItems":1},"consistency_policy":{"type":"TypeList","required":true,"elem":{"schema":{"consistency_level":{"type":"TypeString","required":true},"max_interval_in_seconds":{"type":"TypeInt","optional":true,"default":5},"max_staleness_prefix":{"type":"TypeInt","optional":true,"default":100}}},"maxItems":1},"cors_rule":{"type":"TypeList","optional":true,"elem":{"schema":{"allowed_headers":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"maxItems":64},"allowed_methods":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"maxItems":64},"allowed_origins":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"maxItems":64},"exposed_headers":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"maxItems":64},"max_age_in_seconds":{"type":"TypeInt","optional":true}}},"maxItems":1},"create_mode":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"default_identity_type":{"type":"TypeString","optional":true,"default":"FirstPartyIdentity"},"endpoint":{"type":"TypeString","computed":true},"free_tier_enabled":{"type":"TypeBool","optional":true,"default":false,"forceNew":true},"geo_location":{"type":"TypeSet","required":true,"elem":{"schema":{"failover_priority":{"type":"TypeInt","required":true},"id":{"type":"TypeString","computed":true},"location":{"type":"TypeString","required":true},"zone_redundant":{"type":"TypeBool","optional":true,"default":false}}}},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"ip_range_filter":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"is_virtual_network_filter_enabled":{"type":"TypeBool","optional":true,"default":false},"key_vault_key_id":{"type":"TypeString","optional":true,"forceNew":true},"kind":{"type":"TypeString","optional":true,"default":"GlobalDocumentDB","forceNew":true},"local_authentication_disabled":{"type":"TypeBool","optional":true,"default":false},"location":{"type":"TypeString","required":true,"forceNew":true},"managed_hsm_key_id":{"type":"TypeString","optional":true,"forceNew":true},"minimal_tls_version":{"type":"TypeString","optional":true,"default":"Tls12"},"mongo_server_version":{"type":"TypeString","optional":true,"computed":true},"multiple_write_locations_enabled":{"type":"TypeBool","optional":true,"default":false},"name":{"type":"TypeString","required":true,"forceNew":true},"network_acl_bypass_for_azure_services":{"type":"TypeBool","optional":true,"default":false},"network_acl_bypass_ids":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"offer_type":{"type":"TypeString","required":true},"partition_merge_enabled":{"type":"TypeBool","optional":true,"default":false},"primary_key":{"type":"TypeString","computed":true},"primary_mongodb_connection_string":{"type":"TypeString","computed":true},"primary_readonly_key":{"type":"TypeString","computed":true},"primary_readonly_mongodb_connection_string":{"type":"TypeString","computed":true},"primary_readonly_sql_connection_string":{"type":"TypeString","computed":true},"primary_sql_connection_string":{"type":"TypeString","computed":true},"public_network_access_enabled":{"type":"TypeBool","optional":true,"default":true},"read_endpoints":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"restore":{"type":"TypeList","optional":true,"elem":{"schema":{"database":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"schema":{"collection_names":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true,"forceNew":true}}}},"gremlin_database":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"graph_names":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true,"forceNew":true}}}},"restore_timestamp_in_utc":{"type":"TypeString","required":true,"forceNew":true},"source_cosmosdb_account_id":{"type":"TypeString","required":true,"forceNew":true},"tables_to_restore":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"secondary_key":{"type":"TypeString","computed":true},"secondary_mongodb_connection_string":{"type":"TypeString","computed":true},"secondary_readonly_key":{"type":"TypeString","computed":true},"secondary_readonly_mongodb_connection_string":{"type":"TypeString","computed":true},"secondary_readonly_sql_connection_string":{"type":"TypeString","computed":true},"secondary_sql_connection_string":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"virtual_network_rule":{"type":"TypeSet","optional":true,"elem":{"schema":{"id":{"type":"TypeString","required":true},"ignore_missing_vnet_service_endpoint":{"type":"TypeBool","optional":true,"default":false}}}},"write_endpoints":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":180,"read":5,"delete":180,"update":180}},"azurerm_cosmosdb_cassandra_cluster":{"schema":{"authentication_method":{"type":"TypeString","optional":true,"default":"Cassandra"},"client_certificate_pems":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"default_admin_password":{"type":"TypeString","required":true,"forceNew":true},"delegated_management_subnet_id":{"type":"TypeString","required":true,"forceNew":true},"external_gossip_certificate_pems":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"external_seed_node_ip_addresses":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"hours_between_backups":{"type":"TypeInt","optional":true,"default":24},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"repair_enabled":{"type":"TypeBool","optional":true,"default":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"version":{"type":"TypeString","optional":true,"default":"3.11","forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_cosmosdb_cassandra_datacenter":{"schema":{"availability_zones_enabled":{"type":"TypeBool","optional":true,"default":true},"backup_storage_customer_key_uri":{"type":"TypeString","optional":true},"base64_encoded_yaml_fragment":{"type":"TypeString","optional":true},"cassandra_cluster_id":{"type":"TypeString","required":true,"forceNew":true},"delegated_management_subnet_id":{"type":"TypeString","required":true,"forceNew":true},"disk_count":{"type":"TypeInt","optional":true},"disk_sku":{"type":"TypeString","optional":true,"default":"P30"},"location":{"type":"TypeString","required":true,"forceNew":true},"managed_disk_customer_key_uri":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"node_count":{"type":"TypeInt","optional":true,"default":3},"seed_node_ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"sku_name":{"type":"TypeString","optional":true,"default":"Standard_E16s_v5"}},"timeouts":{"create":60,"read":5,"delete":60,"update":60}},"azurerm_cosmosdb_cassandra_keyspace":{"schema":{"account_name":{"type":"TypeString","required":true,"forceNew":true},"autoscale_settings":{"type":"TypeList","optional":true,"elem":{"schema":{"max_throughput":{"type":"TypeInt","optional":true,"computed":true}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"throughput":{"type":"TypeInt","optional":true,"computed":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_cosmosdb_cassandra_table":{"schema":{"analytical_storage_ttl":{"type":"TypeInt","optional":true,"forceNew":true},"autoscale_settings":{"type":"TypeList","optional":true,"elem":{"schema":{"max_throughput":{"type":"TypeInt","optional":true,"computed":true}}},"maxItems":1},"cassandra_keyspace_id":{"type":"TypeString","required":true,"forceNew":true},"default_ttl":{"type":"TypeInt","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"schema":{"type":"TypeList","required":true,"elem":{"schema":{"cluster_key":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"order_by":{"type":"TypeString","required":true}}}},"column":{"type":"TypeList","required":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"type":{"type":"TypeString","required":true}}},"minItems":1},"partition_key":{"type":"TypeList","required":true,"elem":{"schema":{"name":{"type":"TypeString","required":true}}}}}},"maxItems":1},"throughput":{"type":"TypeInt","optional":true,"computed":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_cosmosdb_gremlin_database":{"schema":{"account_name":{"type":"TypeString","required":true,"forceNew":true},"autoscale_settings":{"type":"TypeList","optional":true,"elem":{"schema":{"max_throughput":{"type":"TypeInt","optional":true,"computed":true}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"throughput":{"type":"TypeInt","optional":true,"computed":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_cosmosdb_gremlin_graph":{"schema":{"account_name":{"type":"TypeString","required":true,"forceNew":true},"analytical_storage_ttl":{"type":"TypeInt","optional":true},"autoscale_settings":{"type":"TypeList","optional":true,"elem":{"schema":{"max_throughput":{"type":"TypeInt","optional":true,"computed":true}}},"maxItems":1},"conflict_resolution_policy":{"type":"TypeList","optional":true,"computed":true,"forceNew":true,"elem":{"schema":{"conflict_resolution_path":{"type":"TypeString","optional":true},"conflict_resolution_procedure":{"type":"TypeString","optional":true},"mode":{"type":"TypeString","required":true}}},"maxItems":1},"database_name":{"type":"TypeString","required":true,"forceNew":true},"default_ttl":{"type":"TypeInt","optional":true},"index_policy":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"automatic":{"type":"TypeBool","optional":true,"default":true},"composite_index":{"type":"TypeList","optional":true,"elem":{"schema":{"index":{"type":"TypeList","required":true,"elem":{"schema":{"order":{"type":"TypeString","required":true},"path":{"type":"TypeString","required":true}}},"minItems":1}}}},"excluded_paths":{"type":"TypeSet","optional":true,"computed":true,"elem":{"type":"TypeString"}},"included_paths":{"type":"TypeSet","optional":true,"computed":true,"elem":{"type":"TypeString"}},"indexing_mode":{"type":"TypeString","required":true},"spatial_index":{"type":"TypeList","optional":true,"elem":{"schema":{"path":{"type":"TypeString","required":true},"types":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}}}}}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"partition_key_path":{"type":"TypeString","required":true,"forceNew":true},"partition_key_version":{"type":"TypeInt","optional":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"throughput":{"type":"TypeInt","optional":true,"computed":true},"unique_key":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"schema":{"paths":{"type":"TypeSet","required":true,"forceNew":true,"elem":{"type":"TypeString"}}}}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_cosmosdb_mongo_collection":{"schema":{"account_name":{"type":"TypeString","required":true,"forceNew":true},"analytical_storage_ttl":{"type":"TypeInt","optional":true},"autoscale_settings":{"type":"TypeList","optional":true,"elem":{"schema":{"max_throughput":{"type":"TypeInt","optional":true,"computed":true}}},"maxItems":1},"database_name":{"type":"TypeString","required":true,"forceNew":true},"default_ttl_seconds":{"type":"TypeInt","optional":true},"index":{"type":"TypeSet","optional":true,"elem":{"schema":{"keys":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}},"unique":{"type":"TypeBool","optional":true,"default":false}}}},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"shard_key":{"type":"TypeString","optional":true,"forceNew":true},"system_indexes":{"type":"TypeList","computed":true,"elem":{"schema":{"keys":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"unique":{"type":"TypeBool","computed":true}}}},"throughput":{"type":"TypeInt","optional":true,"computed":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_cosmosdb_mongo_database":{"schema":{"account_name":{"type":"TypeString","required":true,"forceNew":true},"autoscale_settings":{"type":"TypeList","optional":true,"elem":{"schema":{"max_throughput":{"type":"TypeInt","optional":true,"computed":true}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"throughput":{"type":"TypeInt","optional":true,"computed":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_cosmosdb_mongo_role_definition":{"schema":{"cosmos_mongo_database_id":{"type":"TypeString","required":true,"forceNew":true},"inherited_role_names":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"privilege":{"type":"TypeList","optional":true,"elem":{"schema":{"actions":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}},"resource":{"type":"TypeList","required":true,"elem":{"schema":{"collection_name":{"type":"TypeString","optional":true},"db_name":{"type":"TypeString","optional":true}}},"maxItems":1}}}},"role_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_cosmosdb_mongo_user_definition":{"schema":{"cosmos_mongo_database_id":{"type":"TypeString","required":true,"forceNew":true},"inherited_role_names":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"password":{"type":"TypeString","required":true},"username":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_cosmosdb_postgresql_cluster":{"schema":{"administrator_login_password":{"type":"TypeString","optional":true},"citus_version":{"type":"TypeString","optional":true,"computed":true},"coordinator_public_ip_access_enabled":{"type":"TypeBool","optional":true,"default":true},"coordinator_server_edition":{"type":"TypeString","optional":true,"default":"GeneralPurpose"},"coordinator_storage_quota_in_mb":{"type":"TypeInt","optional":true},"coordinator_vcore_count":{"type":"TypeInt","optional":true},"earliest_restore_time":{"type":"TypeString","computed":true},"ha_enabled":{"type":"TypeBool","optional":true,"default":false},"location":{"type":"TypeString","required":true,"forceNew":true},"maintenance_window":{"type":"TypeList","optional":true,"elem":{"schema":{"day_of_week":{"type":"TypeInt","optional":true,"default":0},"start_hour":{"type":"TypeInt","optional":true,"default":0},"start_minute":{"type":"TypeInt","optional":true,"default":0}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"node_count":{"type":"TypeInt","required":true},"node_public_ip_access_enabled":{"type":"TypeBool","optional":true,"default":false},"node_server_edition":{"type":"TypeString","optional":true,"default":"MemoryOptimized"},"node_storage_quota_in_mb":{"type":"TypeInt","optional":true,"computed":true},"node_vcores":{"type":"TypeInt","optional":true,"computed":true},"point_in_time_in_utc":{"type":"TypeString","optional":true,"forceNew":true},"preferred_primary_zone":{"type":"TypeString","optional":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"servers":{"type":"TypeList","computed":true,"elem":{"schema":{"fqdn":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true}}}},"shards_on_coordinator_enabled":{"type":"TypeBool","optional":true,"computed":true},"source_location":{"type":"TypeString","optional":true,"forceNew":true},"source_resource_id":{"type":"TypeString","optional":true,"forceNew":true},"sql_version":{"type":"TypeString","optional":true,"computed":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":180,"read":5,"delete":180,"update":180}},"azurerm_cosmosdb_postgresql_coordinator_configuration":{"schema":{"cluster_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"value":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_cosmosdb_postgresql_firewall_rule":{"schema":{"cluster_id":{"type":"TypeString","required":true,"forceNew":true},"end_ip_address":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true,"forceNew":true},"start_ip_address":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_cosmosdb_postgresql_node_configuration":{"schema":{"cluster_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"value":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_cosmosdb_postgresql_role":{"schema":{"cluster_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"password":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_cosmosdb_sql_container":{"schema":{"account_name":{"type":"TypeString","required":true,"forceNew":true},"analytical_storage_ttl":{"type":"TypeInt","optional":true},"autoscale_settings":{"type":"TypeList","optional":true,"elem":{"schema":{"max_throughput":{"type":"TypeInt","optional":true,"computed":true}}},"maxItems":1},"conflict_resolution_policy":{"type":"TypeList","optional":true,"computed":true,"forceNew":true,"elem":{"schema":{"conflict_resolution_path":{"type":"TypeString","optional":true},"conflict_resolution_procedure":{"type":"TypeString","optional":true},"mode":{"type":"TypeString","required":true}}},"maxItems":1},"database_name":{"type":"TypeString","required":true,"forceNew":true},"default_ttl":{"type":"TypeInt","optional":true},"indexing_policy":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"composite_index":{"type":"TypeList","optional":true,"elem":{"schema":{"index":{"type":"TypeList","required":true,"elem":{"schema":{"order":{"type":"TypeString","required":true},"path":{"type":"TypeString","required":true}}},"minItems":1}}}},"excluded_path":{"type":"TypeList","optional":true,"elem":{"schema":{"path":{"type":"TypeString","required":true}}}},"included_path":{"type":"TypeList","optional":true,"elem":{"schema":{"path":{"type":"TypeString","required":true}}}},"indexing_mode":{"type":"TypeString","optional":true,"default":"consistent"},"spatial_index":{"type":"TypeList","optional":true,"elem":{"schema":{"path":{"type":"TypeString","required":true},"types":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}}}}}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"partition_key_kind":{"type":"TypeString","optional":true,"default":"Hash","forceNew":true},"partition_key_paths":{"type":"TypeList","required":true,"forceNew":true,"elem":{"type":"TypeString"}},"partition_key_version":{"type":"TypeInt","optional":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"throughput":{"type":"TypeInt","optional":true,"computed":true},"unique_key":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"schema":{"paths":{"type":"TypeSet","required":true,"forceNew":true,"elem":{"type":"TypeString"}}}}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_cosmosdb_sql_database":{"schema":{"account_name":{"type":"TypeString","required":true,"forceNew":true},"autoscale_settings":{"type":"TypeList","optional":true,"elem":{"schema":{"max_throughput":{"type":"TypeInt","optional":true,"computed":true}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"throughput":{"type":"TypeInt","optional":true,"computed":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_cosmosdb_sql_dedicated_gateway":{"schema":{"cosmosdb_account_id":{"type":"TypeString","required":true,"forceNew":true},"instance_count":{"type":"TypeInt","required":true},"instance_size":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_cosmosdb_sql_function":{"schema":{"body":{"type":"TypeString","required":true},"container_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_cosmosdb_sql_role_assignment":{"schema":{"account_name":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"principal_id":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"role_definition_id":{"type":"TypeString","required":true},"scope":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_cosmosdb_sql_role_definition":{"schema":{"account_name":{"type":"TypeString","required":true,"forceNew":true},"assignable_scopes":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true},"permissions":{"type":"TypeSet","required":true,"elem":{"schema":{"data_actions":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}}}}},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"role_definition_id":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"type":{"type":"TypeString","optional":true,"default":"CustomRole","forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_cosmosdb_sql_stored_procedure":{"schema":{"account_name":{"type":"TypeString","required":true,"forceNew":true},"body":{"type":"TypeString","required":true},"container_name":{"type":"TypeString","required":true,"forceNew":true},"database_name":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_cosmosdb_sql_trigger":{"schema":{"body":{"type":"TypeString","required":true},"container_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"operation":{"type":"TypeString","required":true},"type":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_cosmosdb_table":{"schema":{"account_name":{"type":"TypeString","required":true,"forceNew":true},"autoscale_settings":{"type":"TypeList","optional":true,"elem":{"schema":{"max_throughput":{"type":"TypeInt","optional":true,"computed":true}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"throughput":{"type":"TypeInt","optional":true,"computed":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_cost_anomaly_alert":{"schema":{"display_name":{"type":"TypeString","required":true},"email_addresses":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"},"minItems":1},"email_subject":{"type":"TypeString","required":true},"message":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"subscription_id":{"type":"TypeString","optional":true,"computed":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_cost_management_scheduled_action":{"schema":{"day_of_month":{"type":"TypeInt","optional":true},"days_of_week":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"minItems":1},"display_name":{"type":"TypeString","required":true},"email_address_sender":{"type":"TypeString","required":true},"email_addresses":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"maxItems":20,"minItems":1},"email_subject":{"type":"TypeString","required":true},"end_date":{"type":"TypeString","required":true},"frequency":{"type":"TypeString","required":true},"hour_of_day":{"type":"TypeInt","optional":true},"message":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"start_date":{"type":"TypeString","required":true},"view_id":{"type":"TypeString","required":true,"forceNew":true},"weeks_of_month":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"minItems":1}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_custom_ip_prefix":{"schema":{"cidr":{"type":"TypeString","required":true,"forceNew":true},"commissioning_enabled":{"type":"TypeBool","optional":true,"default":false},"internet_advertising_disabled":{"type":"TypeBool","optional":true,"default":false},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"parent_custom_ip_prefix_id":{"type":"TypeString","optional":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"roa_validity_end_date":{"type":"TypeString","optional":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"wan_validation_signed_message":{"type":"TypeString","optional":true,"forceNew":true},"zones":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":540,"read":5,"delete":1020,"update":1020}},"azurerm_custom_provider":{"schema":{"action":{"type":"TypeSet","optional":true,"elem":{"schema":{"endpoint":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true}}}},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"resource_type":{"type":"TypeSet","optional":true,"elem":{"schema":{"endpoint":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true},"routing_type":{"type":"TypeString","optional":true,"default":"Proxy"}}}},"tags":{"type":"TypeMap","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"validation":{"type":"TypeSet","optional":true,"elem":{"schema":{"specification":{"type":"TypeString","required":true}}}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_dashboard_grafana":{"schema":{"api_key_enabled":{"type":"TypeBool","optional":true,"default":false},"auto_generated_domain_name_label_scope":{"type":"TypeString","optional":true,"default":"TenantReuse"},"azure_monitor_workspace_integrations":{"type":"TypeList","optional":true,"elem":{"schema":{"resource_id":{"type":"TypeString","required":true}}}},"deterministic_outbound_ip_enabled":{"type":"TypeBool","optional":true,"default":false},"endpoint":{"type":"TypeString","computed":true},"grafana_major_version":{"type":"TypeString","required":true,"forceNew":true},"grafana_version":{"type":"TypeString","computed":true},"identity":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"outbound_ip":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"public_network_access_enabled":{"type":"TypeBool","optional":true,"default":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"sku":{"type":"TypeString","optional":true,"default":"Standard","forceNew":true},"smtp":{"type":"TypeList","optional":true,"elem":{"schema":{"enabled":{"type":"TypeBool","optional":true,"default":false},"from_address":{"type":"TypeString","required":true},"from_name":{"type":"TypeString","optional":true,"default":"Azure Managed Grafana Notification"},"host":{"type":"TypeString","required":true},"password":{"type":"TypeString","required":true},"start_tls_policy":{"type":"TypeString","required":true},"user":{"type":"TypeString","required":true},"verification_skip_enabled":{"type":"TypeBool","optional":true,"default":false}}},"maxItems":1},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"zone_redundancy_enabled":{"type":"TypeBool","optional":true,"default":false,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_data_factory":{"schema":{"customer_managed_key_id":{"type":"TypeString","optional":true},"customer_managed_key_identity_id":{"type":"TypeString","optional":true},"github_configuration":{"type":"TypeList","optional":true,"elem":{"schema":{"account_name":{"type":"TypeString","required":true},"branch_name":{"type":"TypeString","required":true},"git_url":{"type":"TypeString","optional":true},"publishing_enabled":{"type":"TypeBool","optional":true,"default":true},"repository_name":{"type":"TypeString","required":true},"root_folder":{"type":"TypeString","required":true}}},"maxItems":1},"global_parameter":{"type":"TypeSet","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"type":{"type":"TypeString","required":true},"value":{"type":"TypeString","required":true}}}},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"managed_virtual_network_enabled":{"type":"TypeBool","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"public_network_enabled":{"type":"TypeBool","optional":true,"default":true},"purview_id":{"type":"TypeString","optional":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"vsts_configuration":{"type":"TypeList","optional":true,"elem":{"schema":{"account_name":{"type":"TypeString","required":true},"branch_name":{"type":"TypeString","required":true},"project_name":{"type":"TypeString","required":true},"publishing_enabled":{"type":"TypeBool","optional":true,"default":true},"repository_name":{"type":"TypeString","required":true},"root_folder":{"type":"TypeString","required":true},"tenant_id":{"type":"TypeString","required":true}}},"maxItems":1}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_data_factory_credential_service_principal":{"schema":{"annotations":{"type":"TypeList","optional":true,"description":"(Optional) List of string annotations.","elem":{"type":"TypeString"}},"data_factory_id":{"type":"TypeString","required":true,"description":"The resource ID of the parent Data Factory","forceNew":true},"description":{"type":"TypeString","optional":true,"description":"(Optional) Short text description"},"name":{"type":"TypeString","required":true,"description":"The desired name of the credential resource","forceNew":true},"service_principal_id":{"type":"TypeString","required":true,"description":"The Client ID of the Service Principal"},"service_principal_key":{"type":"TypeList","optional":true,"elem":{"schema":{"linked_service_name":{"type":"TypeString","required":true},"secret_name":{"type":"TypeString","required":true},"secret_version":{"type":"TypeString","optional":true}}},"maxItems":1},"tenant_id":{"type":"TypeString","required":true,"description":"The Tenant ID of the Service Principal"}},"timeouts":{"create":5,"read":5,"delete":5,"update":5}},"azurerm_data_factory_credential_user_managed_identity":{"schema":{"annotations":{"type":"TypeList","optional":true,"description":"(Optional) List of string annotations.","elem":{"type":"TypeString"}},"data_factory_id":{"type":"TypeString","required":true,"description":"The resource ID of the parent Data Factory","forceNew":true},"description":{"type":"TypeString","optional":true,"description":"(Optional) Short text description"},"identity_id":{"type":"TypeString","required":true,"description":"The resource ID of the User Assigned Managed Identity","forceNew":true},"name":{"type":"TypeString","required":true,"description":"The desired name of the credential resource","forceNew":true}},"timeouts":{"create":5,"read":5,"delete":5,"update":5}},"azurerm_data_factory_custom_dataset":{"schema":{"additional_properties":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"annotations":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"data_factory_id":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"folder":{"type":"TypeString","optional":true},"linked_service":{"type":"TypeList","required":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"schema_json":{"type":"TypeString","optional":true},"type":{"type":"TypeString","required":true,"forceNew":true},"type_properties_json":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_data_factory_data_flow":{"schema":{"annotations":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"data_factory_id":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"folder":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"script":{"type":"TypeString","optional":true},"script_lines":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"sink":{"type":"TypeList","required":true,"elem":{"schema":{"dataset":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"description":{"type":"TypeString","optional":true},"flowlet":{"type":"TypeList","optional":true,"elem":{"schema":{"dataset_parameters":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"linked_service":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"name":{"type":"TypeString","required":true},"rejected_linked_service":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"schema_linked_service":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1}}}},"source":{"type":"TypeList","required":true,"elem":{"schema":{"dataset":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"description":{"type":"TypeString","optional":true},"flowlet":{"type":"TypeList","optional":true,"elem":{"schema":{"dataset_parameters":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"linked_service":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"name":{"type":"TypeString","required":true},"rejected_linked_service":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"schema_linked_service":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1}}}},"transformation":{"type":"TypeList","optional":true,"elem":{"schema":{"dataset":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"description":{"type":"TypeString","optional":true},"flowlet":{"type":"TypeList","optional":true,"elem":{"schema":{"dataset_parameters":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"linked_service":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"name":{"type":"TypeString","required":true}}}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_data_factory_dataset_azure_blob":{"schema":{"additional_properties":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"annotations":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"data_factory_id":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"dynamic_filename_enabled":{"type":"TypeBool","optional":true,"default":false},"dynamic_path_enabled":{"type":"TypeBool","optional":true,"default":false},"filename":{"type":"TypeString","optional":true},"folder":{"type":"TypeString","optional":true},"linked_service_name":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true,"forceNew":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"path":{"type":"TypeString","optional":true},"schema_column":{"type":"TypeList","optional":true,"elem":{"schema":{"description":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true},"type":{"type":"TypeString","optional":true}}}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_data_factory_dataset_azure_sql_table":{"schema":{"additional_properties":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"annotations":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"data_factory_id":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"folder":{"type":"TypeString","optional":true},"linked_service_id":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true,"forceNew":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"schema":{"type":"TypeString","optional":true},"schema_column":{"type":"TypeList","optional":true,"elem":{"schema":{"description":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true},"type":{"type":"TypeString","optional":true}}}},"table":{"type":"TypeString","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_data_factory_dataset_binary":{"schema":{"additional_properties":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"annotations":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"azure_blob_storage_location":{"type":"TypeList","optional":true,"elem":{"schema":{"container":{"type":"TypeString","required":true},"dynamic_container_enabled":{"type":"TypeBool","optional":true,"default":false},"dynamic_filename_enabled":{"type":"TypeBool","optional":true,"default":false},"dynamic_path_enabled":{"type":"TypeBool","optional":true,"default":false},"filename":{"type":"TypeString","optional":true},"path":{"type":"TypeString","optional":true}}},"maxItems":1},"compression":{"type":"TypeList","optional":true,"elem":{"schema":{"level":{"type":"TypeString","optional":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"data_factory_id":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"folder":{"type":"TypeString","optional":true},"http_server_location":{"type":"TypeList","optional":true,"elem":{"schema":{"dynamic_filename_enabled":{"type":"TypeBool","optional":true,"default":false},"dynamic_path_enabled":{"type":"TypeBool","optional":true,"default":false},"filename":{"type":"TypeString","required":true},"path":{"type":"TypeString","required":true},"relative_url":{"type":"TypeString","required":true}}},"maxItems":1},"linked_service_name":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true,"forceNew":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"sftp_server_location":{"type":"TypeList","optional":true,"elem":{"schema":{"dynamic_filename_enabled":{"type":"TypeBool","optional":true,"default":false},"dynamic_path_enabled":{"type":"TypeBool","optional":true,"default":false},"filename":{"type":"TypeString","required":true},"path":{"type":"TypeString","required":true}}},"maxItems":1}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_data_factory_dataset_cosmosdb_sqlapi":{"schema":{"additional_properties":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"annotations":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"collection_name":{"type":"TypeString","optional":true},"data_factory_id":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"folder":{"type":"TypeString","optional":true},"linked_service_name":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true,"forceNew":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"schema_column":{"type":"TypeList","optional":true,"elem":{"schema":{"description":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true},"type":{"type":"TypeString","optional":true}}}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_data_factory_dataset_delimited_text":{"schema":{"additional_properties":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"annotations":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"azure_blob_fs_location":{"type":"TypeList","optional":true,"elem":{"schema":{"dynamic_file_system_enabled":{"type":"TypeBool","optional":true,"default":false},"dynamic_filename_enabled":{"type":"TypeBool","optional":true,"default":false},"dynamic_path_enabled":{"type":"TypeBool","optional":true,"default":false},"file_system":{"type":"TypeString","optional":true},"filename":{"type":"TypeString","optional":true},"path":{"type":"TypeString","optional":true}}},"maxItems":1},"azure_blob_storage_location":{"type":"TypeList","optional":true,"elem":{"schema":{"container":{"type":"TypeString","required":true},"dynamic_container_enabled":{"type":"TypeBool","optional":true,"default":false},"dynamic_filename_enabled":{"type":"TypeBool","optional":true,"default":false},"dynamic_path_enabled":{"type":"TypeBool","optional":true,"default":false},"filename":{"type":"TypeString","optional":true},"path":{"type":"TypeString","optional":true}}},"maxItems":1},"column_delimiter":{"type":"TypeString","optional":true,"default":","},"compression_codec":{"type":"TypeString","optional":true},"compression_level":{"type":"TypeString","optional":true},"data_factory_id":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"encoding":{"type":"TypeString","optional":true},"escape_character":{"type":"TypeString","optional":true,"default":"\\"},"first_row_as_header":{"type":"TypeBool","optional":true,"default":false},"folder":{"type":"TypeString","optional":true},"http_server_location":{"type":"TypeList","optional":true,"elem":{"schema":{"dynamic_filename_enabled":{"type":"TypeBool","optional":true,"default":false},"dynamic_path_enabled":{"type":"TypeBool","optional":true,"default":false},"filename":{"type":"TypeString","required":true},"path":{"type":"TypeString","required":true},"relative_url":{"type":"TypeString","required":true}}},"maxItems":1},"linked_service_name":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true,"forceNew":true},"null_value":{"type":"TypeString","optional":true,"default":""},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"quote_character":{"type":"TypeString","optional":true,"default":"\""},"row_delimiter":{"type":"TypeString","optional":true},"schema_column":{"type":"TypeList","optional":true,"elem":{"schema":{"description":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true},"type":{"type":"TypeString","optional":true}}}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_data_factory_dataset_http":{"schema":{"additional_properties":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"annotations":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"data_factory_id":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"folder":{"type":"TypeString","optional":true},"linked_service_name":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true,"forceNew":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"relative_url":{"type":"TypeString","optional":true},"request_body":{"type":"TypeString","optional":true},"request_method":{"type":"TypeString","optional":true},"schema_column":{"type":"TypeList","optional":true,"elem":{"schema":{"description":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true},"type":{"type":"TypeString","optional":true}}}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_data_factory_dataset_json":{"schema":{"additional_properties":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"annotations":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"azure_blob_storage_location":{"type":"TypeList","optional":true,"elem":{"schema":{"container":{"type":"TypeString","required":true},"dynamic_container_enabled":{"type":"TypeBool","optional":true,"default":false},"dynamic_filename_enabled":{"type":"TypeBool","optional":true,"default":false},"dynamic_path_enabled":{"type":"TypeBool","optional":true,"default":false},"filename":{"type":"TypeString","required":true},"path":{"type":"TypeString","required":true}}},"maxItems":1},"data_factory_id":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"encoding":{"type":"TypeString","optional":true},"folder":{"type":"TypeString","optional":true},"http_server_location":{"type":"TypeList","optional":true,"elem":{"schema":{"dynamic_filename_enabled":{"type":"TypeBool","optional":true,"default":false},"dynamic_path_enabled":{"type":"TypeBool","optional":true,"default":false},"filename":{"type":"TypeString","required":true},"path":{"type":"TypeString","required":true},"relative_url":{"type":"TypeString","required":true}}},"maxItems":1},"linked_service_name":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true,"forceNew":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"schema_column":{"type":"TypeList","optional":true,"elem":{"schema":{"description":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true},"type":{"type":"TypeString","optional":true}}}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_data_factory_dataset_mysql":{"schema":{"additional_properties":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"annotations":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"data_factory_id":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"folder":{"type":"TypeString","optional":true},"linked_service_name":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true,"forceNew":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"schema_column":{"type":"TypeList","optional":true,"elem":{"schema":{"description":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true},"type":{"type":"TypeString","optional":true}}}},"table_name":{"type":"TypeString","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_data_factory_dataset_parquet":{"schema":{"additional_properties":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"annotations":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"azure_blob_fs_location":{"type":"TypeList","optional":true,"elem":{"schema":{"dynamic_file_system_enabled":{"type":"TypeBool","optional":true,"default":false},"dynamic_filename_enabled":{"type":"TypeBool","optional":true,"default":false},"dynamic_path_enabled":{"type":"TypeBool","optional":true,"default":false},"file_system":{"type":"TypeString","optional":true},"filename":{"type":"TypeString","optional":true},"path":{"type":"TypeString","optional":true}}},"maxItems":1},"azure_blob_storage_location":{"type":"TypeList","optional":true,"elem":{"schema":{"container":{"type":"TypeString","required":true},"dynamic_container_enabled":{"type":"TypeBool","optional":true,"default":false},"dynamic_filename_enabled":{"type":"TypeBool","optional":true,"default":false},"dynamic_path_enabled":{"type":"TypeBool","optional":true,"default":false},"filename":{"type":"TypeString","optional":true},"path":{"type":"TypeString","optional":true}}},"maxItems":1},"compression_codec":{"type":"TypeString","optional":true},"compression_level":{"type":"TypeString","optional":true},"data_factory_id":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"folder":{"type":"TypeString","optional":true},"http_server_location":{"type":"TypeList","optional":true,"elem":{"schema":{"dynamic_filename_enabled":{"type":"TypeBool","optional":true,"default":false},"dynamic_path_enabled":{"type":"TypeBool","optional":true,"default":false},"filename":{"type":"TypeString","required":true},"path":{"type":"TypeString","optional":true},"relative_url":{"type":"TypeString","required":true}}},"maxItems":1},"linked_service_name":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true,"forceNew":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"schema_column":{"type":"TypeList","optional":true,"elem":{"schema":{"description":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true},"type":{"type":"TypeString","optional":true}}}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_data_factory_dataset_postgresql":{"schema":{"additional_properties":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"annotations":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"data_factory_id":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"folder":{"type":"TypeString","optional":true},"linked_service_name":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true,"forceNew":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"schema_column":{"type":"TypeList","optional":true,"elem":{"schema":{"description":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true},"type":{"type":"TypeString","optional":true}}}},"table_name":{"type":"TypeString","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_data_factory_dataset_snowflake":{"schema":{"additional_properties":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"annotations":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"data_factory_id":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"folder":{"type":"TypeString","optional":true},"linked_service_name":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true,"forceNew":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"schema_column":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"precision":{"type":"TypeInt","optional":true},"scale":{"type":"TypeInt","optional":true},"type":{"type":"TypeString","optional":true}}}},"schema_name":{"type":"TypeString","optional":true},"table_name":{"type":"TypeString","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_data_factory_dataset_sql_server_table":{"schema":{"additional_properties":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"annotations":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"data_factory_id":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"folder":{"type":"TypeString","optional":true},"linked_service_name":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true,"forceNew":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"schema_column":{"type":"TypeList","optional":true,"elem":{"schema":{"description":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true},"type":{"type":"TypeString","optional":true}}}},"table_name":{"type":"TypeString","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_data_factory_flowlet_data_flow":{"schema":{"annotations":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"data_factory_id":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"folder":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"script":{"type":"TypeString","optional":true},"script_lines":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"sink":{"type":"TypeList","optional":true,"elem":{"schema":{"dataset":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"description":{"type":"TypeString","optional":true},"flowlet":{"type":"TypeList","optional":true,"elem":{"schema":{"dataset_parameters":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"linked_service":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"name":{"type":"TypeString","required":true},"rejected_linked_service":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"schema_linked_service":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1}}}},"source":{"type":"TypeList","optional":true,"elem":{"schema":{"dataset":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"description":{"type":"TypeString","optional":true},"flowlet":{"type":"TypeList","optional":true,"elem":{"schema":{"dataset_parameters":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"linked_service":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"name":{"type":"TypeString","required":true},"rejected_linked_service":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"schema_linked_service":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1}}}},"transformation":{"type":"TypeList","optional":true,"elem":{"schema":{"dataset":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"description":{"type":"TypeString","optional":true},"flowlet":{"type":"TypeList","optional":true,"elem":{"schema":{"dataset_parameters":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"linked_service":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"name":{"type":"TypeString","required":true}}}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_data_factory_integration_runtime_azure":{"schema":{"cleanup_enabled":{"type":"TypeBool","optional":true,"default":true},"compute_type":{"type":"TypeString","optional":true,"default":"General"},"core_count":{"type":"TypeInt","optional":true,"default":8},"data_factory_id":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"time_to_live_min":{"type":"TypeInt","optional":true,"default":0},"virtual_network_enabled":{"type":"TypeBool","optional":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_data_factory_integration_runtime_azure_ssis":{"schema":{"catalog_info":{"type":"TypeList","optional":true,"elem":{"schema":{"administrator_login":{"type":"TypeString","optional":true},"administrator_password":{"type":"TypeString","optional":true},"dual_standby_pair_name":{"type":"TypeString","optional":true},"elastic_pool_name":{"type":"TypeString","optional":true},"pricing_tier":{"type":"TypeString","optional":true},"server_endpoint":{"type":"TypeString","required":true}}},"maxItems":1},"copy_compute_scale":{"type":"TypeList","optional":true,"elem":{"schema":{"data_integration_unit":{"type":"TypeInt","optional":true},"time_to_live":{"type":"TypeInt","optional":true}}},"maxItems":1},"credential_name":{"type":"TypeString","optional":true},"custom_setup_script":{"type":"TypeList","optional":true,"elem":{"schema":{"blob_container_uri":{"type":"TypeString","required":true},"sas_token":{"type":"TypeString","required":true}}},"maxItems":1},"data_factory_id":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"edition":{"type":"TypeString","optional":true,"default":"Standard"},"express_custom_setup":{"type":"TypeList","optional":true,"elem":{"schema":{"command_key":{"type":"TypeList","optional":true,"elem":{"schema":{"key_vault_password":{"type":"TypeList","optional":true,"elem":{"schema":{"linked_service_name":{"type":"TypeString","required":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"secret_name":{"type":"TypeString","required":true},"secret_version":{"type":"TypeString","optional":true}}},"maxItems":1},"password":{"type":"TypeString","optional":true},"target_name":{"type":"TypeString","required":true},"user_name":{"type":"TypeString","required":true}}}},"component":{"type":"TypeList","optional":true,"elem":{"schema":{"key_vault_license":{"type":"TypeList","optional":true,"elem":{"schema":{"linked_service_name":{"type":"TypeString","required":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"secret_name":{"type":"TypeString","required":true},"secret_version":{"type":"TypeString","optional":true}}},"maxItems":1},"license":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true}}}},"environment":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"powershell_version":{"type":"TypeString","optional":true}}},"maxItems":1},"express_vnet_integration":{"type":"TypeList","optional":true,"elem":{"schema":{"subnet_id":{"type":"TypeString","required":true}}},"maxItems":1},"license_type":{"type":"TypeString","optional":true,"default":"LicenseIncluded"},"location":{"type":"TypeString","required":true,"forceNew":true},"max_parallel_executions_per_node":{"type":"TypeInt","optional":true,"default":1},"name":{"type":"TypeString","required":true,"forceNew":true},"node_size":{"type":"TypeString","required":true},"number_of_nodes":{"type":"TypeInt","optional":true,"default":1},"package_store":{"type":"TypeList","optional":true,"elem":{"schema":{"linked_service_name":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true}}}},"pipeline_external_compute_scale":{"type":"TypeList","optional":true,"elem":{"schema":{"number_of_external_nodes":{"type":"TypeInt","optional":true},"number_of_pipeline_nodes":{"type":"TypeInt","optional":true},"time_to_live":{"type":"TypeInt","optional":true}}},"maxItems":1},"proxy":{"type":"TypeList","optional":true,"elem":{"schema":{"path":{"type":"TypeString","optional":true},"self_hosted_integration_runtime_name":{"type":"TypeString","required":true},"staging_storage_linked_service_name":{"type":"TypeString","required":true}}},"maxItems":1},"vnet_integration":{"type":"TypeList","optional":true,"elem":{"schema":{"public_ips":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"maxItems":2,"minItems":2},"subnet_id":{"type":"TypeString","optional":true},"subnet_name":{"type":"TypeString","optional":true},"vnet_id":{"type":"TypeString","optional":true}}},"maxItems":1}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_data_factory_integration_runtime_self_hosted":{"schema":{"data_factory_id":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"primary_authorization_key":{"type":"TypeString","computed":true},"rbac_authorization":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"schema":{"resource_id":{"type":"TypeString","required":true}}}},"secondary_authorization_key":{"type":"TypeString","computed":true},"self_contained_interactive_authoring_enabled":{"type":"TypeBool","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_data_factory_linked_custom_service":{"schema":{"additional_properties":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"annotations":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"data_factory_id":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"integration_runtime":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"type":{"type":"TypeString","required":true,"forceNew":true},"type_properties_json":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_data_factory_linked_service_azure_blob_storage":{"schema":{"additional_properties":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"annotations":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"connection_string":{"type":"TypeString","optional":true},"connection_string_insecure":{"type":"TypeString","optional":true},"data_factory_id":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"integration_runtime_name":{"type":"TypeString","optional":true},"key_vault_sas_token":{"type":"TypeList","optional":true,"elem":{"schema":{"linked_service_name":{"type":"TypeString","required":true},"secret_name":{"type":"TypeString","required":true}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"sas_uri":{"type":"TypeString","optional":true},"service_endpoint":{"type":"TypeString","optional":true},"service_principal_id":{"type":"TypeString","optional":true},"service_principal_key":{"type":"TypeString","optional":true},"service_principal_linked_key_vault_key":{"type":"TypeList","optional":true,"elem":{"schema":{"linked_service_name":{"type":"TypeString","required":true},"secret_name":{"type":"TypeString","required":true}}},"maxItems":1},"storage_kind":{"type":"TypeString","optional":true},"tenant_id":{"type":"TypeString","optional":true},"use_managed_identity":{"type":"TypeBool","optional":true,"default":false}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_data_factory_linked_service_azure_databricks":{"schema":{"access_token":{"type":"TypeString","optional":true},"adb_domain":{"type":"TypeString","required":true},"additional_properties":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"annotations":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"data_factory_id":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"existing_cluster_id":{"type":"TypeString","optional":true},"instance_pool":{"type":"TypeList","optional":true,"elem":{"schema":{"cluster_version":{"type":"TypeString","required":true},"instance_pool_id":{"type":"TypeString","required":true},"max_number_of_workers":{"type":"TypeInt","optional":true},"min_number_of_workers":{"type":"TypeInt","optional":true,"default":1}}},"maxItems":1},"integration_runtime_name":{"type":"TypeString","optional":true},"key_vault_password":{"type":"TypeList","optional":true,"elem":{"schema":{"linked_service_name":{"type":"TypeString","required":true},"secret_name":{"type":"TypeString","required":true}}},"maxItems":1},"msi_work_space_resource_id":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"new_cluster_config":{"type":"TypeList","optional":true,"elem":{"schema":{"cluster_version":{"type":"TypeString","required":true},"custom_tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"driver_node_type":{"type":"TypeString","optional":true},"init_scripts":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"log_destination":{"type":"TypeString","optional":true},"max_number_of_workers":{"type":"TypeInt","optional":true},"min_number_of_workers":{"type":"TypeInt","optional":true,"default":"1"},"node_type":{"type":"TypeString","required":true},"spark_config":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"spark_environment_variables":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_data_factory_linked_service_azure_file_storage":{"schema":{"additional_properties":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"annotations":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"connection_string":{"type":"TypeString","required":true},"data_factory_id":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"file_share":{"type":"TypeString","optional":true},"host":{"type":"TypeString","optional":true},"integration_runtime_name":{"type":"TypeString","optional":true},"key_vault_password":{"type":"TypeList","optional":true,"elem":{"schema":{"linked_service_name":{"type":"TypeString","required":true},"secret_name":{"type":"TypeString","required":true}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"password":{"type":"TypeString","optional":true},"user_id":{"type":"TypeString","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_data_factory_linked_service_azure_function":{"schema":{"additional_properties":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"annotations":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"data_factory_id":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"integration_runtime_name":{"type":"TypeString","optional":true},"key":{"type":"TypeString","optional":true},"key_vault_key":{"type":"TypeList","optional":true,"elem":{"schema":{"linked_service_name":{"type":"TypeString","required":true},"secret_name":{"type":"TypeString","required":true}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"url":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_data_factory_linked_service_azure_search":{"schema":{"additional_properties":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"annotations":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"data_factory_id":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"encrypted_credential":{"type":"TypeString","computed":true},"integration_runtime_name":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"search_service_key":{"type":"TypeString","required":true},"url":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_data_factory_linked_service_azure_sql_database":{"schema":{"additional_properties":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"annotations":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"connection_string":{"type":"TypeString","optional":true},"credential_name":{"type":"TypeString","optional":true},"data_factory_id":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"integration_runtime_name":{"type":"TypeString","optional":true},"key_vault_connection_string":{"type":"TypeList","optional":true,"elem":{"schema":{"linked_service_name":{"type":"TypeString","required":true},"secret_name":{"type":"TypeString","required":true}}},"maxItems":1},"key_vault_password":{"type":"TypeList","optional":true,"elem":{"schema":{"linked_service_name":{"type":"TypeString","required":true},"secret_name":{"type":"TypeString","required":true}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"service_principal_id":{"type":"TypeString","optional":true},"service_principal_key":{"type":"TypeString","optional":true},"tenant_id":{"type":"TypeString","optional":true},"use_managed_identity":{"type":"TypeBool","optional":true,"default":false}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_data_factory_linked_service_azure_table_storage":{"schema":{"additional_properties":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"annotations":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"connection_string":{"type":"TypeString","required":true},"data_factory_id":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"integration_runtime_name":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_data_factory_linked_service_cosmosdb":{"schema":{"account_endpoint":{"type":"TypeString","optional":true},"account_key":{"type":"TypeString","optional":true},"additional_properties":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"annotations":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"connection_string":{"type":"TypeString","optional":true},"data_factory_id":{"type":"TypeString","required":true,"forceNew":true},"database":{"type":"TypeString","optional":true},"description":{"type":"TypeString","optional":true},"integration_runtime_name":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_data_factory_linked_service_cosmosdb_mongoapi":{"schema":{"additional_properties":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"annotations":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"connection_string":{"type":"TypeString","optional":true},"data_factory_id":{"type":"TypeString","required":true,"forceNew":true},"database":{"type":"TypeString","optional":true},"description":{"type":"TypeString","optional":true},"integration_runtime_name":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"server_version_is_32_or_higher":{"type":"TypeBool","optional":true,"default":false}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_data_factory_linked_service_data_lake_storage_gen2":{"schema":{"additional_properties":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"annotations":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"data_factory_id":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"integration_runtime_name":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"service_principal_id":{"type":"TypeString","optional":true},"service_principal_key":{"type":"TypeString","optional":true},"storage_account_key":{"type":"TypeString","optional":true},"tenant":{"type":"TypeString","optional":true},"url":{"type":"TypeString","required":true},"use_managed_identity":{"type":"TypeBool","optional":true,"default":false}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_data_factory_linked_service_key_vault":{"schema":{"additional_properties":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"annotations":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"data_factory_id":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"integration_runtime_name":{"type":"TypeString","optional":true},"key_vault_id":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true,"forceNew":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_data_factory_linked_service_kusto":{"schema":{"additional_properties":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"annotations":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"data_factory_id":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"integration_runtime_name":{"type":"TypeString","optional":true},"kusto_database_name":{"type":"TypeString","required":true},"kusto_endpoint":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true,"forceNew":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"service_principal_id":{"type":"TypeString","optional":true},"service_principal_key":{"type":"TypeString","optional":true},"tenant":{"type":"TypeString","optional":true},"use_managed_identity":{"type":"TypeBool","optional":true,"default":false}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_data_factory_linked_service_mysql":{"schema":{"additional_properties":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"annotations":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"connection_string":{"type":"TypeString","required":true},"data_factory_id":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"integration_runtime_name":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_data_factory_linked_service_odata":{"schema":{"additional_properties":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"annotations":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"basic_authentication":{"type":"TypeList","optional":true,"elem":{"schema":{"password":{"type":"TypeString","required":true},"username":{"type":"TypeString","required":true}}},"maxItems":1},"data_factory_id":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"integration_runtime_name":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"url":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_data_factory_linked_service_odbc":{"schema":{"additional_properties":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"annotations":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"basic_authentication":{"type":"TypeList","optional":true,"elem":{"schema":{"password":{"type":"TypeString","required":true},"username":{"type":"TypeString","required":true}}},"maxItems":1},"connection_string":{"type":"TypeString","required":true},"data_factory_id":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"integration_runtime_name":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_data_factory_linked_service_postgresql":{"schema":{"additional_properties":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"annotations":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"connection_string":{"type":"TypeString","required":true},"data_factory_id":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"integration_runtime_name":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_data_factory_linked_service_sftp":{"schema":{"additional_properties":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"annotations":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"authentication_type":{"type":"TypeString","required":true},"data_factory_id":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"host":{"type":"TypeString","required":true},"host_key_fingerprint":{"type":"TypeString","optional":true},"integration_runtime_name":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"password":{"type":"TypeString","required":true},"port":{"type":"TypeInt","required":true},"skip_host_key_validation":{"type":"TypeBool","optional":true},"username":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_data_factory_linked_service_snowflake":{"schema":{"additional_properties":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"annotations":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"connection_string":{"type":"TypeString","required":true},"data_factory_id":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"integration_runtime_name":{"type":"TypeString","optional":true},"key_vault_password":{"type":"TypeList","optional":true,"elem":{"schema":{"linked_service_name":{"type":"TypeString","required":true},"secret_name":{"type":"TypeString","required":true}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_data_factory_linked_service_sql_server":{"schema":{"additional_properties":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"annotations":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"connection_string":{"type":"TypeString","optional":true},"data_factory_id":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"integration_runtime_name":{"type":"TypeString","optional":true},"key_vault_connection_string":{"type":"TypeList","optional":true,"elem":{"schema":{"linked_service_name":{"type":"TypeString","required":true},"secret_name":{"type":"TypeString","required":true}}},"maxItems":1},"key_vault_password":{"type":"TypeList","optional":true,"elem":{"schema":{"linked_service_name":{"type":"TypeString","required":true},"secret_name":{"type":"TypeString","required":true}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"user_name":{"type":"TypeString","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_data_factory_linked_service_synapse":{"schema":{"additional_properties":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"annotations":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"connection_string":{"type":"TypeString","required":true},"data_factory_id":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"integration_runtime_name":{"type":"TypeString","optional":true},"key_vault_password":{"type":"TypeList","optional":true,"elem":{"schema":{"linked_service_name":{"type":"TypeString","required":true},"secret_name":{"type":"TypeString","required":true}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_data_factory_linked_service_web":{"schema":{"additional_properties":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"annotations":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"authentication_type":{"type":"TypeString","required":true},"data_factory_id":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"integration_runtime_name":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"password":{"type":"TypeString","optional":true},"url":{"type":"TypeString","required":true},"username":{"type":"TypeString","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_data_factory_managed_private_endpoint":{"schema":{"data_factory_id":{"type":"TypeString","required":true,"forceNew":true},"fqdns":{"type":"TypeList","optional":true,"computed":true,"forceNew":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true,"forceNew":true},"subresource_name":{"type":"TypeString","optional":true,"forceNew":true},"target_resource_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_data_factory_pipeline":{"schema":{"activities_json":{"type":"TypeString","optional":true},"annotations":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"concurrency":{"type":"TypeInt","optional":true},"data_factory_id":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"folder":{"type":"TypeString","optional":true},"moniter_metrics_after_duration":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"variables":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_data_factory_trigger_blob_event":{"schema":{"activated":{"type":"TypeBool","optional":true,"default":true},"additional_properties":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"annotations":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"blob_path_begins_with":{"type":"TypeString","optional":true},"blob_path_ends_with":{"type":"TypeString","optional":true},"data_factory_id":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"events":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"},"minItems":1},"ignore_empty_blobs":{"type":"TypeBool","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"pipeline":{"type":"TypeSet","required":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}}}},"storage_account_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_data_factory_trigger_custom_event":{"schema":{"activated":{"type":"TypeBool","optional":true,"default":true},"additional_properties":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"annotations":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"data_factory_id":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"eventgrid_topic_id":{"type":"TypeString","required":true,"forceNew":true},"events":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"},"minItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"pipeline":{"type":"TypeSet","required":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}}}},"subject_begins_with":{"type":"TypeString","optional":true},"subject_ends_with":{"type":"TypeString","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_data_factory_trigger_schedule":{"schema":{"activated":{"type":"TypeBool","optional":true,"default":true},"annotations":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"data_factory_id":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"end_time":{"type":"TypeString","optional":true},"frequency":{"type":"TypeString","optional":true,"default":"Minute"},"interval":{"type":"TypeInt","optional":true,"default":1},"name":{"type":"TypeString","required":true,"forceNew":true},"pipeline":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}}}},"pipeline_name":{"type":"TypeString","optional":true,"computed":true},"pipeline_parameters":{"type":"TypeMap","optional":true,"computed":true,"elem":{"type":"TypeString"}},"schedule":{"type":"TypeList","optional":true,"elem":{"schema":{"days_of_month":{"type":"TypeList","optional":true,"elem":{"type":"TypeInt"}},"days_of_week":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"maxItems":7},"hours":{"type":"TypeList","optional":true,"elem":{"type":"TypeInt"}},"minutes":{"type":"TypeList","optional":true,"elem":{"type":"TypeInt"}},"monthly":{"type":"TypeList","optional":true,"elem":{"schema":{"week":{"type":"TypeInt","optional":true},"weekday":{"type":"TypeString","required":true}}},"minItems":1}}},"maxItems":1,"minItems":1},"start_time":{"type":"TypeString","optional":true,"computed":true},"time_zone":{"type":"TypeString","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_data_factory_trigger_tumbling_window":{"schema":{"activated":{"type":"TypeBool","optional":true,"default":true},"additional_properties":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"annotations":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"data_factory_id":{"type":"TypeString","required":true,"forceNew":true},"delay":{"type":"TypeString","optional":true},"description":{"type":"TypeString","optional":true},"end_time":{"type":"TypeString","optional":true},"frequency":{"type":"TypeString","required":true,"forceNew":true},"interval":{"type":"TypeInt","required":true,"forceNew":true},"max_concurrency":{"type":"TypeInt","optional":true,"default":50},"name":{"type":"TypeString","required":true,"forceNew":true},"pipeline":{"type":"TypeList","required":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"retry":{"type":"TypeList","optional":true,"elem":{"schema":{"count":{"type":"TypeInt","required":true},"interval":{"type":"TypeInt","optional":true,"default":30}}},"maxItems":1},"start_time":{"type":"TypeString","required":true,"forceNew":true},"trigger_dependency":{"type":"TypeSet","optional":true,"elem":{"schema":{"offset":{"type":"TypeString","optional":true},"size":{"type":"TypeString","optional":true},"trigger_name":{"type":"TypeString","optional":true}}}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_data_protection_backup_instance_blob_storage":{"schema":{"backup_policy_id":{"type":"TypeString","required":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"storage_account_container_names":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"storage_account_id":{"type":"TypeString","required":true,"forceNew":true},"vault_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_data_protection_backup_instance_disk":{"schema":{"backup_policy_id":{"type":"TypeString","required":true},"disk_id":{"type":"TypeString","required":true,"forceNew":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"snapshot_resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"vault_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_data_protection_backup_instance_kubernetes_cluster":{"schema":{"backup_datasource_parameters":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"cluster_scoped_resources_enabled":{"type":"TypeBool","optional":true,"default":false,"forceNew":true},"excluded_namespaces":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"excluded_resource_types":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"included_namespaces":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"included_resource_types":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"label_selectors":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"volume_snapshot_enabled":{"type":"TypeBool","optional":true,"default":false,"forceNew":true}}},"maxItems":1},"backup_policy_id":{"type":"TypeString","required":true,"forceNew":true},"kubernetes_cluster_id":{"type":"TypeString","required":true,"forceNew":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"snapshot_resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"vault_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_data_protection_backup_instance_postgresql":{"schema":{"backup_policy_id":{"type":"TypeString","required":true},"database_credential_key_vault_secret_id":{"type":"TypeString","optional":true},"database_id":{"type":"TypeString","required":true,"forceNew":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"vault_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_data_protection_backup_instance_postgresql_flexible_server":{"schema":{"backup_policy_id":{"type":"TypeString","required":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"server_id":{"type":"TypeString","required":true,"forceNew":true},"vault_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":60,"read":5,"delete":60,"update":60}},"azurerm_data_protection_backup_policy_blob_storage":{"schema":{"backup_repeating_time_intervals":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"type":"TypeString"},"minItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"operational_default_retention_duration":{"type":"TypeString","optional":true,"forceNew":true},"retention_rule":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"criteria":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"absolute_criteria":{"type":"TypeString","optional":true,"forceNew":true},"days_of_month":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeInt"},"minItems":1},"days_of_week":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"},"minItems":1},"months_of_year":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"},"minItems":1},"scheduled_backup_times":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"},"minItems":1},"weeks_of_month":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"},"minItems":1}}},"maxItems":1},"life_cycle":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"data_store_type":{"type":"TypeString","required":true,"forceNew":true},"duration":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"priority":{"type":"TypeInt","required":true,"forceNew":true}}}},"time_zone":{"type":"TypeString","optional":true,"forceNew":true},"vault_default_retention_duration":{"type":"TypeString","optional":true,"forceNew":true},"vault_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_data_protection_backup_policy_disk":{"schema":{"backup_repeating_time_intervals":{"type":"TypeList","required":true,"forceNew":true,"elem":{"type":"TypeString"},"minItems":1},"default_retention_duration":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"retention_rule":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"criteria":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"absolute_criteria":{"type":"TypeString","optional":true,"forceNew":true}}},"maxItems":1},"duration":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"priority":{"type":"TypeInt","required":true,"forceNew":true}}}},"time_zone":{"type":"TypeString","optional":true,"forceNew":true},"vault_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_data_protection_backup_policy_kubernetes_cluster":{"schema":{"backup_repeating_time_intervals":{"type":"TypeList","required":true,"forceNew":true,"elem":{"type":"TypeString"},"minItems":1},"default_retention_rule":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"life_cycle":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"data_store_type":{"type":"TypeString","required":true,"forceNew":true},"duration":{"type":"TypeString","required":true,"forceNew":true}}}}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"retention_rule":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"criteria":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"absolute_criteria":{"type":"TypeString","optional":true,"forceNew":true},"days_of_week":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"},"minItems":1},"months_of_year":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"},"minItems":1},"scheduled_backup_times":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"},"minItems":1},"weeks_of_month":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"},"minItems":1}}},"maxItems":1},"life_cycle":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"data_store_type":{"type":"TypeString","required":true,"forceNew":true},"duration":{"type":"TypeString","required":true,"forceNew":true}}}},"name":{"type":"TypeString","required":true,"forceNew":true},"priority":{"type":"TypeInt","required":true,"forceNew":true}}}},"time_zone":{"type":"TypeString","optional":true,"forceNew":true},"vault_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_data_protection_backup_policy_mysql_flexible_server":{"schema":{"backup_repeating_time_intervals":{"type":"TypeList","required":true,"forceNew":true,"elem":{"type":"TypeString"},"minItems":1},"default_retention_rule":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"life_cycle":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"data_store_type":{"type":"TypeString","required":true,"forceNew":true},"duration":{"type":"TypeString","required":true,"forceNew":true}}}}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"retention_rule":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"criteria":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"absolute_criteria":{"type":"TypeString","optional":true,"forceNew":true},"days_of_week":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"},"minItems":1},"months_of_year":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"},"minItems":1},"scheduled_backup_times":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"},"minItems":1},"weeks_of_month":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"},"minItems":1}}},"maxItems":1},"life_cycle":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"data_store_type":{"type":"TypeString","required":true,"forceNew":true},"duration":{"type":"TypeString","required":true,"forceNew":true}}}},"name":{"type":"TypeString","required":true,"forceNew":true},"priority":{"type":"TypeInt","required":true,"forceNew":true}}}},"time_zone":{"type":"TypeString","optional":true,"forceNew":true},"vault_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_data_protection_backup_policy_postgresql":{"schema":{"backup_repeating_time_intervals":{"type":"TypeList","required":true,"forceNew":true,"elem":{"type":"TypeString"},"minItems":1},"default_retention_duration":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"retention_rule":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"criteria":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"absolute_criteria":{"type":"TypeString","optional":true,"forceNew":true},"days_of_week":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"},"minItems":1},"months_of_year":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"},"minItems":1},"scheduled_backup_times":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"},"minItems":1},"weeks_of_month":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"},"minItems":1}}},"maxItems":1},"duration":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"priority":{"type":"TypeInt","required":true,"forceNew":true}}}},"time_zone":{"type":"TypeString","optional":true,"forceNew":true},"vault_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_data_protection_backup_policy_postgresql_flexible_server":{"schema":{"backup_repeating_time_intervals":{"type":"TypeList","required":true,"forceNew":true,"elem":{"type":"TypeString"},"minItems":1},"default_retention_rule":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"life_cycle":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"data_store_type":{"type":"TypeString","required":true,"forceNew":true},"duration":{"type":"TypeString","required":true,"forceNew":true}}}}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"retention_rule":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"criteria":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"absolute_criteria":{"type":"TypeString","optional":true,"forceNew":true},"days_of_week":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"},"minItems":1},"months_of_year":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"},"minItems":1},"scheduled_backup_times":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"},"minItems":1},"weeks_of_month":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"},"minItems":1}}},"maxItems":1},"life_cycle":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"data_store_type":{"type":"TypeString","required":true,"forceNew":true},"duration":{"type":"TypeString","required":true,"forceNew":true}}}},"name":{"type":"TypeString","required":true,"forceNew":true},"priority":{"type":"TypeInt","required":true,"forceNew":true}}}},"time_zone":{"type":"TypeString","optional":true,"forceNew":true},"vault_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_data_protection_backup_vault":{"schema":{"cross_region_restore_enabled":{"type":"TypeBool","optional":true},"datastore_type":{"type":"TypeString","required":true,"forceNew":true},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"redundancy":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"retention_duration_in_days":{"type":"TypeFloat","optional":true,"default":14},"soft_delete":{"type":"TypeString","optional":true,"default":"On"},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_data_protection_resource_guard":{"schema":{"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"vault_critical_operation_exclusion_list":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_data_share":{"schema":{"account_id":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"kind":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"snapshot_schedule":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"recurrence":{"type":"TypeString","required":true},"start_time":{"type":"TypeString","required":true}}},"maxItems":1},"terms":{"type":"TypeString","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_data_share_account":{"schema":{"identity":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_data_share_dataset_blob_storage":{"schema":{"container_name":{"type":"TypeString","required":true,"forceNew":true},"data_share_id":{"type":"TypeString","required":true,"forceNew":true},"display_name":{"type":"TypeString","computed":true},"file_path":{"type":"TypeString","optional":true,"forceNew":true},"folder_path":{"type":"TypeString","optional":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"storage_account":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"subscription_id":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1,"minItems":1}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_data_share_dataset_data_lake_gen2":{"schema":{"display_name":{"type":"TypeString","computed":true},"file_path":{"type":"TypeString","optional":true,"forceNew":true},"file_system_name":{"type":"TypeString","required":true,"forceNew":true},"folder_path":{"type":"TypeString","optional":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"share_id":{"type":"TypeString","required":true,"forceNew":true},"storage_account_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_data_share_dataset_kusto_cluster":{"schema":{"display_name":{"type":"TypeString","computed":true},"kusto_cluster_id":{"type":"TypeString","required":true,"forceNew":true},"kusto_cluster_location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true,"forceNew":true},"share_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_data_share_dataset_kusto_database":{"schema":{"display_name":{"type":"TypeString","computed":true},"kusto_cluster_location":{"type":"TypeString","computed":true},"kusto_database_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"share_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_database_migration_project":{"schema":{"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"service_name":{"type":"TypeString","required":true,"forceNew":true},"source_platform":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"target_platform":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_database_migration_service":{"schema":{"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"sku_name":{"type":"TypeString","required":true,"forceNew":true},"subnet_id":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_databox_edge_device":{"schema":{"device_properties":{"type":"TypeList","computed":true,"elem":{"schema":{"capacity":{"type":"TypeInt","computed":true},"configured_role_types":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"culture":{"type":"TypeString","computed":true},"hcs_version":{"type":"TypeString","computed":true},"model":{"type":"TypeString","computed":true},"node_count":{"type":"TypeInt","computed":true},"serial_number":{"type":"TypeString","computed":true},"software_version":{"type":"TypeString","computed":true},"status":{"type":"TypeString","computed":true},"time_zone":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"sku_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_databricks_access_connector":{"schema":{"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_databricks_virtual_network_peering":{"schema":{"address_space_prefixes":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"allow_forwarded_traffic":{"type":"TypeBool","optional":true,"default":false},"allow_gateway_transit":{"type":"TypeBool","optional":true,"default":false},"allow_virtual_network_access":{"type":"TypeBool","optional":true,"default":true},"name":{"type":"TypeString","required":true,"forceNew":true},"remote_address_space_prefixes":{"type":"TypeList","required":true,"forceNew":true,"elem":{"type":"TypeString"}},"remote_virtual_network_id":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"use_remote_gateways":{"type":"TypeBool","optional":true,"default":false},"virtual_network_id":{"type":"TypeString","computed":true},"workspace_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_databricks_workspace":{"schema":{"access_connector_id":{"type":"TypeString","optional":true},"custom_parameters":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"machine_learning_workspace_id":{"type":"TypeString","optional":true,"forceNew":true},"nat_gateway_name":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"no_public_ip":{"type":"TypeBool","optional":true,"default":true},"private_subnet_name":{"type":"TypeString","optional":true,"forceNew":true},"private_subnet_network_security_group_association_id":{"type":"TypeString","optional":true},"public_ip_name":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"public_subnet_name":{"type":"TypeString","optional":true,"forceNew":true},"public_subnet_network_security_group_association_id":{"type":"TypeString","optional":true},"storage_account_name":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"storage_account_sku_name":{"type":"TypeString","optional":true,"computed":true},"virtual_network_id":{"type":"TypeString","optional":true,"forceNew":true},"vnet_address_prefix":{"type":"TypeString","optional":true,"computed":true,"forceNew":true}}},"maxItems":1},"customer_managed_key_enabled":{"type":"TypeBool","optional":true,"default":false},"default_storage_firewall_enabled":{"type":"TypeBool","optional":true},"disk_encryption_set_id":{"type":"TypeString","computed":true},"infrastructure_encryption_enabled":{"type":"TypeBool","optional":true,"default":false,"forceNew":true},"load_balancer_backend_address_pool_id":{"type":"TypeString","optional":true,"forceNew":true},"location":{"type":"TypeString","required":true,"forceNew":true},"managed_disk_cmk_key_vault_id":{"type":"TypeString","optional":true},"managed_disk_cmk_key_vault_key_id":{"type":"TypeString","optional":true},"managed_disk_cmk_rotation_to_latest_version_enabled":{"type":"TypeBool","optional":true},"managed_disk_identity":{"type":"TypeList","computed":true,"elem":{"schema":{"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"managed_resource_group_id":{"type":"TypeString","computed":true},"managed_resource_group_name":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"managed_services_cmk_key_vault_id":{"type":"TypeString","optional":true},"managed_services_cmk_key_vault_key_id":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"network_security_group_rules_required":{"type":"TypeString","optional":true},"public_network_access_enabled":{"type":"TypeBool","optional":true,"default":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"sku":{"type":"TypeString","required":true},"storage_account_identity":{"type":"TypeList","computed":true,"elem":{"schema":{"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"workspace_id":{"type":"TypeString","computed":true},"workspace_url":{"type":"TypeString","computed":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_databricks_workspace_customer_managed_key":{"schema":{"key_vault_key_id":{"type":"TypeString","required":true},"workspace_id":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_databricks_workspace_root_dbfs_customer_managed_key":{"schema":{"key_vault_id":{"type":"TypeString","optional":true},"key_vault_key_id":{"type":"TypeString","required":true},"workspace_id":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_datadog_monitor":{"schema":{"datadog_organization":{"type":"TypeList","required":true,"elem":{"schema":{"api_key":{"type":"TypeString","required":true,"forceNew":true},"application_key":{"type":"TypeString","required":true,"forceNew":true},"enterprise_app_id":{"type":"TypeString","optional":true,"forceNew":true},"id":{"type":"TypeString","computed":true},"linking_auth_code":{"type":"TypeString","optional":true,"forceNew":true},"linking_client_id":{"type":"TypeString","optional":true,"forceNew":true},"name":{"type":"TypeString","computed":true},"redirect_uri":{"type":"TypeString","optional":true,"forceNew":true}}},"maxItems":1},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"marketplace_subscription_status":{"type":"TypeString","computed":true},"monitoring_enabled":{"type":"TypeBool","optional":true,"default":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"sku_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"user":{"type":"TypeList","required":true,"elem":{"schema":{"email":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"phone_number":{"type":"TypeString","optional":true,"forceNew":true}}},"maxItems":1}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_datadog_monitor_sso_configuration":{"schema":{"datadog_monitor_id":{"type":"TypeString","required":true,"forceNew":true},"enterprise_application_id":{"type":"TypeString","required":true},"login_url":{"type":"TypeString","computed":true},"name":{"type":"TypeString","optional":true,"default":"default"},"single_sign_on_enabled":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_datadog_monitor_tag_rule":{"schema":{"datadog_monitor_id":{"type":"TypeString","required":true,"forceNew":true},"log":{"type":"TypeList","optional":true,"elem":{"schema":{"aad_log_enabled":{"type":"TypeBool","optional":true},"filter":{"type":"TypeList","optional":true,"elem":{"schema":{"action":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true},"value":{"type":"TypeString","required":true}}}},"resource_log_enabled":{"type":"TypeBool","optional":true},"subscription_log_enabled":{"type":"TypeBool","optional":true}}}},"metric":{"type":"TypeList","optional":true,"elem":{"schema":{"filter":{"type":"TypeList","optional":true,"elem":{"schema":{"action":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true},"value":{"type":"TypeString","required":true}}}}}}},"name":{"type":"TypeString","optional":true,"default":"default"}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_dedicated_hardware_security_module":{"schema":{"location":{"type":"TypeString","required":true,"forceNew":true},"management_network_profile":{"type":"TypeList","optional":true,"elem":{"schema":{"network_interface_private_ip_addresses":{"type":"TypeSet","required":true,"forceNew":true,"elem":{"type":"TypeString"}},"subnet_id":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"network_profile":{"type":"TypeList","required":true,"elem":{"schema":{"network_interface_private_ip_addresses":{"type":"TypeSet","required":true,"forceNew":true,"elem":{"type":"TypeString"}},"subnet_id":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"sku_name":{"type":"TypeString","required":true,"forceNew":true},"stamp_id":{"type":"TypeString","optional":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"zones":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_dedicated_host":{"schema":{"auto_replace_on_failure":{"type":"TypeBool","optional":true,"default":true},"dedicated_host_group_id":{"type":"TypeString","required":true,"forceNew":true},"license_type":{"type":"TypeString","optional":true,"default":"None"},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"platform_fault_domain":{"type":"TypeInt","required":true,"forceNew":true},"sku_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_dedicated_host_group":{"schema":{"automatic_placement_enabled":{"type":"TypeBool","optional":true,"default":false,"forceNew":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"platform_fault_domain_count":{"type":"TypeInt","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"zone":{"type":"TypeString","optional":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_dev_center":{"schema":{"dev_center_uri":{"type":"TypeString","computed":true},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_dev_center_attached_network":{"schema":{"dev_center_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"network_connection_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_dev_center_catalog":{"schema":{"catalog_adogit":{"type":"TypeList","optional":true,"elem":{"schema":{"branch":{"type":"TypeString","required":true},"key_vault_key_url":{"type":"TypeString","required":true},"path":{"type":"TypeString","required":true},"uri":{"type":"TypeString","required":true}}},"maxItems":1},"catalog_github":{"type":"TypeList","optional":true,"elem":{"schema":{"branch":{"type":"TypeString","required":true},"key_vault_key_url":{"type":"TypeString","required":true},"path":{"type":"TypeString","required":true},"uri":{"type":"TypeString","required":true}}},"maxItems":1},"dev_center_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_dev_center_dev_box_definition":{"schema":{"dev_center_id":{"type":"TypeString","required":true,"forceNew":true},"image_reference_id":{"type":"TypeString","required":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"sku_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_dev_center_environment_type":{"schema":{"dev_center_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_dev_center_gallery":{"schema":{"dev_center_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"shared_gallery_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_dev_center_network_connection":{"schema":{"domain_join_type":{"type":"TypeString","required":true,"forceNew":true},"domain_name":{"type":"TypeString","optional":true},"domain_password":{"type":"TypeString","optional":true},"domain_username":{"type":"TypeString","optional":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"organization_unit":{"type":"TypeString","optional":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"subnet_id":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_dev_center_project":{"schema":{"description":{"type":"TypeString","optional":true,"forceNew":true},"dev_center_id":{"type":"TypeString","required":true,"forceNew":true},"dev_center_uri":{"type":"TypeString","computed":true},"location":{"type":"TypeString","required":true,"forceNew":true},"maximum_dev_boxes_per_user":{"type":"TypeInt","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_dev_center_project_environment_type":{"schema":{"creator_role_assignment_roles":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"deployment_target_id":{"type":"TypeString","required":true},"dev_center_project_id":{"type":"TypeString","required":true,"forceNew":true},"identity":{"type":"TypeList","required":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"user_role_assignment":{"type":"TypeSet","optional":true,"elem":{"schema":{"roles":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}},"user_id":{"type":"TypeString","required":true}}}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_dev_center_project_pool":{"schema":{"dev_box_definition_name":{"type":"TypeString","required":true},"dev_center_attached_network_name":{"type":"TypeString","required":true},"dev_center_project_id":{"type":"TypeString","required":true,"forceNew":true},"local_administrator_enabled":{"type":"TypeBool","required":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"stop_on_disconnect_grace_period_minutes":{"type":"TypeInt","optional":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_dev_test_global_vm_shutdown_schedule":{"schema":{"daily_recurrence_time":{"type":"TypeString","required":true},"enabled":{"type":"TypeBool","optional":true,"default":true},"location":{"type":"TypeString","required":true,"forceNew":true},"notification_settings":{"type":"TypeList","required":true,"elem":{"schema":{"email":{"type":"TypeString","optional":true},"enabled":{"type":"TypeBool","required":true},"time_in_minutes":{"type":"TypeInt","optional":true,"default":30},"webhook_url":{"type":"TypeString","optional":true}}},"maxItems":1},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"timezone":{"type":"TypeString","required":true},"virtual_machine_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_dev_test_lab":{"schema":{"artifacts_storage_account_id":{"type":"TypeString","computed":true},"default_premium_storage_account_id":{"type":"TypeString","computed":true},"default_storage_account_id":{"type":"TypeString","computed":true},"key_vault_id":{"type":"TypeString","computed":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"premium_data_disk_storage_account_id":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"unique_identifier":{"type":"TypeString","computed":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_dev_test_linux_virtual_machine":{"schema":{"allow_claim":{"type":"TypeBool","optional":true,"default":true},"disallow_public_ip_address":{"type":"TypeBool","optional":true,"forceNew":true},"fqdn":{"type":"TypeString","computed":true},"gallery_image_reference":{"type":"TypeList","required":true,"elem":{"schema":{"offer":{"type":"TypeString","required":true,"forceNew":true},"publisher":{"type":"TypeString","required":true,"forceNew":true},"sku":{"type":"TypeString","required":true,"forceNew":true},"version":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"inbound_nat_rule":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"schema":{"backend_port":{"type":"TypeInt","required":true,"forceNew":true},"frontend_port":{"type":"TypeInt","computed":true},"protocol":{"type":"TypeString","required":true}}}},"lab_name":{"type":"TypeString","required":true,"forceNew":true},"lab_subnet_name":{"type":"TypeString","required":true,"forceNew":true},"lab_virtual_network_id":{"type":"TypeString","required":true,"forceNew":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"notes":{"type":"TypeString","optional":true},"password":{"type":"TypeString","optional":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"size":{"type":"TypeString","required":true,"forceNew":true},"ssh_key":{"type":"TypeString","optional":true,"forceNew":true},"storage_type":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"unique_identifier":{"type":"TypeString","computed":true},"username":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_dev_test_policy":{"schema":{"description":{"type":"TypeString","optional":true},"evaluator_type":{"type":"TypeString","required":true,"forceNew":true},"fact_data":{"type":"TypeString","optional":true},"lab_name":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"policy_set_name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"threshold":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_dev_test_schedule":{"schema":{"daily_recurrence":{"type":"TypeList","optional":true,"elem":{"schema":{"time":{"type":"TypeString","required":true}}},"maxItems":1},"hourly_recurrence":{"type":"TypeList","optional":true,"elem":{"schema":{"minute":{"type":"TypeInt","required":true}}},"maxItems":1},"lab_name":{"type":"TypeString","required":true,"forceNew":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"notification_settings":{"type":"TypeList","required":true,"elem":{"schema":{"status":{"type":"TypeString","optional":true,"default":"Disabled"},"time_in_minutes":{"type":"TypeInt","optional":true},"webhook_url":{"type":"TypeString","optional":true}}},"maxItems":1},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"status":{"type":"TypeString","optional":true,"default":"Disabled"},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"task_type":{"type":"TypeString","required":true},"time_zone_id":{"type":"TypeString","required":true},"weekly_recurrence":{"type":"TypeList","optional":true,"elem":{"schema":{"time":{"type":"TypeString","required":true},"week_days":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_dev_test_virtual_network":{"schema":{"description":{"type":"TypeString","optional":true},"lab_name":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"subnet":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"name":{"type":"TypeString","computed":true},"shared_public_ip_address":{"type":"TypeList","optional":true,"elem":{"schema":{"allowed_ports":{"type":"TypeList","optional":true,"elem":{"schema":{"backend_port":{"type":"TypeInt","optional":true},"transport_protocol":{"type":"TypeString","optional":true}}}}}},"maxItems":1},"use_in_virtual_machine_creation":{"type":"TypeString","optional":true,"default":"Allow"},"use_public_ip_address":{"type":"TypeString","optional":true,"default":"Allow"}}},"maxItems":1},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"unique_identifier":{"type":"TypeString","computed":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_dev_test_windows_virtual_machine":{"schema":{"allow_claim":{"type":"TypeBool","optional":true,"default":true},"disallow_public_ip_address":{"type":"TypeBool","optional":true,"forceNew":true},"fqdn":{"type":"TypeString","computed":true},"gallery_image_reference":{"type":"TypeList","required":true,"elem":{"schema":{"offer":{"type":"TypeString","required":true,"forceNew":true},"publisher":{"type":"TypeString","required":true,"forceNew":true},"sku":{"type":"TypeString","required":true,"forceNew":true},"version":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"inbound_nat_rule":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"schema":{"backend_port":{"type":"TypeInt","required":true,"forceNew":true},"frontend_port":{"type":"TypeInt","computed":true},"protocol":{"type":"TypeString","required":true}}}},"lab_name":{"type":"TypeString","required":true,"forceNew":true},"lab_subnet_name":{"type":"TypeString","required":true,"forceNew":true},"lab_virtual_network_id":{"type":"TypeString","required":true,"forceNew":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"notes":{"type":"TypeString","optional":true},"password":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"size":{"type":"TypeString","required":true,"forceNew":true},"storage_type":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"unique_identifier":{"type":"TypeString","computed":true},"username":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_digital_twins_endpoint_eventgrid":{"schema":{"dead_letter_storage_secret":{"type":"TypeString","optional":true},"digital_twins_id":{"type":"TypeString","required":true,"forceNew":true},"eventgrid_topic_endpoint":{"type":"TypeString","required":true},"eventgrid_topic_primary_access_key":{"type":"TypeString","required":true},"eventgrid_topic_secondary_access_key":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_digital_twins_endpoint_eventhub":{"schema":{"dead_letter_storage_secret":{"type":"TypeString","optional":true},"digital_twins_id":{"type":"TypeString","required":true,"forceNew":true},"eventhub_primary_connection_string":{"type":"TypeString","required":true},"eventhub_secondary_connection_string":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_digital_twins_endpoint_servicebus":{"schema":{"dead_letter_storage_secret":{"type":"TypeString","optional":true},"digital_twins_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"servicebus_primary_connection_string":{"type":"TypeString","required":true},"servicebus_secondary_connection_string":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_digital_twins_instance":{"schema":{"host_name":{"type":"TypeString","computed":true},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_digital_twins_time_series_database_connection":{"schema":{"digital_twins_id":{"type":"TypeString","required":true,"forceNew":true},"eventhub_consumer_group_name":{"type":"TypeString","optional":true,"default":"$Default","forceNew":true},"eventhub_name":{"type":"TypeString","required":true,"forceNew":true},"eventhub_namespace_endpoint_uri":{"type":"TypeString","required":true,"forceNew":true},"eventhub_namespace_id":{"type":"TypeString","required":true,"forceNew":true},"kusto_cluster_id":{"type":"TypeString","required":true,"forceNew":true},"kusto_cluster_uri":{"type":"TypeString","required":true,"forceNew":true},"kusto_database_name":{"type":"TypeString","required":true,"forceNew":true},"kusto_table_name":{"type":"TypeString","optional":true,"default":"AdtPropertyEvents","forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_disk_access":{"schema":{"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_disk_encryption_set":{"schema":{"auto_key_rotation_enabled":{"type":"TypeBool","optional":true,"default":false},"encryption_type":{"type":"TypeString","optional":true,"default":"EncryptionAtRestWithCustomerKey","forceNew":true},"federated_client_id":{"type":"TypeString","optional":true},"identity":{"type":"TypeList","required":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"key_vault_key_id":{"type":"TypeString","optional":true},"key_vault_key_url":{"type":"TypeString","computed":true},"location":{"type":"TypeString","required":true,"forceNew":true},"managed_hsm_key_id":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":60,"read":5,"delete":60,"update":60}},"azurerm_dns_a_record":{"schema":{"fqdn":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true,"forceNew":true},"records":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"target_resource_id":{"type":"TypeString","optional":true},"ttl":{"type":"TypeInt","required":true},"zone_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_dns_aaaa_record":{"schema":{"fqdn":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true,"forceNew":true},"records":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"target_resource_id":{"type":"TypeString","optional":true},"ttl":{"type":"TypeInt","required":true},"zone_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_dns_caa_record":{"schema":{"fqdn":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true,"forceNew":true},"record":{"type":"TypeSet","required":true,"elem":{"schema":{"flags":{"type":"TypeInt","required":true},"tag":{"type":"TypeString","required":true},"value":{"type":"TypeString","required":true}}}},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"ttl":{"type":"TypeInt","required":true},"zone_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_dns_cname_record":{"schema":{"fqdn":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true,"forceNew":true},"record":{"type":"TypeString","optional":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"target_resource_id":{"type":"TypeString","optional":true},"ttl":{"type":"TypeInt","required":true},"zone_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_dns_mx_record":{"schema":{"fqdn":{"type":"TypeString","computed":true},"name":{"type":"TypeString","optional":true,"default":"@","forceNew":true},"record":{"type":"TypeSet","required":true,"elem":{"schema":{"exchange":{"type":"TypeString","required":true},"preference":{"type":"TypeString","required":true}}}},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"ttl":{"type":"TypeInt","required":true},"zone_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_dns_ns_record":{"schema":{"fqdn":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true,"forceNew":true},"records":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"ttl":{"type":"TypeInt","required":true},"zone_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_dns_ptr_record":{"schema":{"fqdn":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true,"forceNew":true},"records":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"ttl":{"type":"TypeInt","required":true},"zone_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_dns_srv_record":{"schema":{"fqdn":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true,"forceNew":true},"record":{"type":"TypeSet","required":true,"elem":{"schema":{"port":{"type":"TypeInt","required":true},"priority":{"type":"TypeInt","required":true},"target":{"type":"TypeString","required":true},"weight":{"type":"TypeInt","required":true}}}},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"ttl":{"type":"TypeInt","required":true},"zone_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_dns_txt_record":{"schema":{"fqdn":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true,"forceNew":true},"record":{"type":"TypeSet","required":true,"elem":{"schema":{"value":{"type":"TypeString","required":true}}}},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"ttl":{"type":"TypeInt","required":true},"zone_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_dns_zone":{"schema":{"max_number_of_record_sets":{"type":"TypeInt","computed":true},"name":{"type":"TypeString","required":true,"forceNew":true},"name_servers":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"number_of_record_sets":{"type":"TypeInt","computed":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"soa_record":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"email":{"type":"TypeString","required":true},"expire_time":{"type":"TypeInt","optional":true,"default":2419200},"fqdn":{"type":"TypeString","computed":true},"host_name":{"type":"TypeString","computed":true},"minimum_ttl":{"type":"TypeInt","optional":true,"default":300},"refresh_time":{"type":"TypeInt","optional":true,"default":3600},"retry_time":{"type":"TypeInt","optional":true,"default":300},"serial_number":{"type":"TypeInt","optional":true,"default":1},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"ttl":{"type":"TypeInt","optional":true,"default":3600}}},"maxItems":1},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_elastic_cloud_elasticsearch":{"schema":{"elastic_cloud_deployment_id":{"type":"TypeString","computed":true},"elastic_cloud_email_address":{"type":"TypeString","required":true,"forceNew":true},"elastic_cloud_sso_default_url":{"type":"TypeString","computed":true},"elastic_cloud_user_id":{"type":"TypeString","computed":true},"elasticsearch_service_url":{"type":"TypeString","computed":true},"kibana_service_url":{"type":"TypeString","computed":true},"kibana_sso_uri":{"type":"TypeString","computed":true},"location":{"type":"TypeString","required":true,"forceNew":true},"logs":{"type":"TypeList","optional":true,"elem":{"schema":{"filtering_tag":{"type":"TypeList","optional":true,"elem":{"schema":{"action":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true},"value":{"type":"TypeString","required":true}}}},"send_activity_logs":{"type":"TypeBool","optional":true,"default":false},"send_azuread_logs":{"type":"TypeBool","optional":true,"default":false},"send_subscription_logs":{"type":"TypeBool","optional":true,"default":false}}},"maxItems":1},"monitoring_enabled":{"type":"TypeBool","optional":true,"default":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"sku_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":60,"read":5,"delete":60,"update":60}},"azurerm_elastic_san":{"schema":{"base_size_in_tib":{"type":"TypeInt","required":true},"extended_size_in_tib":{"type":"TypeInt","optional":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"sku":{"type":"TypeList","required":true,"elem":{"schema":{"name":{"type":"TypeString","required":true,"forceNew":true},"tier":{"type":"TypeString","optional":true,"default":"Premium"}}},"maxItems":1,"minItems":1},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"total_iops":{"type":"TypeInt","computed":true},"total_mbps":{"type":"TypeInt","computed":true},"total_size_in_tib":{"type":"TypeInt","computed":true},"total_volume_size_in_gib":{"type":"TypeInt","computed":true},"volume_group_count":{"type":"TypeInt","computed":true},"zones":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_elastic_san_volume":{"schema":{"create_source":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"source_id":{"type":"TypeString","required":true,"forceNew":true},"source_type":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"size_in_gib":{"type":"TypeInt","required":true},"target_iqn":{"type":"TypeString","computed":true},"target_portal_hostname":{"type":"TypeString","computed":true},"target_portal_port":{"type":"TypeInt","computed":true},"volume_group_id":{"type":"TypeString","required":true,"forceNew":true},"volume_id":{"type":"TypeString","computed":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_elastic_san_volume_group":{"schema":{"elastic_san_id":{"type":"TypeString","required":true,"forceNew":true},"encryption":{"type":"TypeList","optional":true,"elem":{"schema":{"current_versioned_key_expiration_timestamp":{"type":"TypeString","computed":true},"current_versioned_key_id":{"type":"TypeString","computed":true},"key_vault_key_id":{"type":"TypeString","required":true},"last_key_rotation_timestamp":{"type":"TypeString","computed":true},"user_assigned_identity_id":{"type":"TypeString","optional":true}}},"maxItems":1},"encryption_type":{"type":"TypeString","optional":true,"default":"EncryptionAtRestWithPlatformKey"},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"network_rule":{"type":"TypeList","optional":true,"elem":{"schema":{"action":{"type":"TypeString","optional":true,"default":"Allow"},"subnet_id":{"type":"TypeString","required":true}}},"minItems":1},"protocol_type":{"type":"TypeString","optional":true,"default":"Iscsi"}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_email_communication_service":{"schema":{"data_location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_email_communication_service_domain":{"schema":{"domain_management":{"type":"TypeString","required":true,"forceNew":true},"email_service_id":{"type":"TypeString","required":true,"forceNew":true},"from_sender_domain":{"type":"TypeString","computed":true},"mail_from_sender_domain":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"user_engagement_tracking_enabled":{"type":"TypeBool","optional":true},"verification_records":{"type":"TypeList","computed":true,"elem":{"schema":{"dkim":{"type":"TypeList","computed":true,"elem":{"schema":{"name":{"type":"TypeString","computed":true},"ttl":{"type":"TypeInt","computed":true},"type":{"type":"TypeString","computed":true},"value":{"type":"TypeString","computed":true}}}},"dkim2":{"type":"TypeList","computed":true,"elem":{"schema":{"name":{"type":"TypeString","computed":true},"ttl":{"type":"TypeInt","computed":true},"type":{"type":"TypeString","computed":true},"value":{"type":"TypeString","computed":true}}}},"dmarc":{"type":"TypeList","computed":true,"elem":{"schema":{"name":{"type":"TypeString","computed":true},"ttl":{"type":"TypeInt","computed":true},"type":{"type":"TypeString","computed":true},"value":{"type":"TypeString","computed":true}}}},"domain":{"type":"TypeList","computed":true,"elem":{"schema":{"name":{"type":"TypeString","computed":true},"ttl":{"type":"TypeInt","computed":true},"type":{"type":"TypeString","computed":true},"value":{"type":"TypeString","computed":true}}}},"spf":{"type":"TypeList","computed":true,"elem":{"schema":{"name":{"type":"TypeString","computed":true},"ttl":{"type":"TypeInt","computed":true},"type":{"type":"TypeString","computed":true},"value":{"type":"TypeString","computed":true}}}}}}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_eventgrid_domain":{"schema":{"auto_create_topic_with_first_subscription":{"type":"TypeBool","optional":true,"default":true},"auto_delete_topic_with_last_subscription":{"type":"TypeBool","optional":true,"default":true},"endpoint":{"type":"TypeString","computed":true},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"inbound_ip_rule":{"type":"TypeList","configMode":"Auto","optional":true,"elem":{"schema":{"action":{"type":"TypeString","optional":true,"default":"Allow"},"ip_mask":{"type":"TypeString","required":true}}},"maxItems":128},"input_mapping_default_values":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"data_version":{"type":"TypeString","optional":true,"forceNew":true},"event_type":{"type":"TypeString","optional":true,"forceNew":true},"subject":{"type":"TypeString","optional":true,"forceNew":true}}},"maxItems":1},"input_mapping_fields":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"data_version":{"type":"TypeString","optional":true,"forceNew":true},"event_time":{"type":"TypeString","optional":true,"forceNew":true},"event_type":{"type":"TypeString","optional":true,"forceNew":true},"id":{"type":"TypeString","optional":true,"forceNew":true},"subject":{"type":"TypeString","optional":true,"forceNew":true},"topic":{"type":"TypeString","optional":true,"forceNew":true}}},"maxItems":1},"input_schema":{"type":"TypeString","optional":true,"default":"EventGridSchema","forceNew":true},"local_auth_enabled":{"type":"TypeBool","optional":true,"default":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"primary_access_key":{"type":"TypeString","computed":true},"public_network_access_enabled":{"type":"TypeBool","optional":true,"default":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"secondary_access_key":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_eventgrid_domain_topic":{"schema":{"domain_name":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_eventgrid_event_subscription":{"schema":{"advanced_filter":{"type":"TypeList","optional":true,"elem":{"schema":{"bool_equals":{"type":"TypeList","optional":true,"elem":{"schema":{"key":{"type":"TypeString","required":true},"value":{"type":"TypeBool","required":true}}}},"is_not_null":{"type":"TypeList","optional":true,"elem":{"schema":{"key":{"type":"TypeString","required":true}}}},"is_null_or_undefined":{"type":"TypeList","optional":true,"elem":{"schema":{"key":{"type":"TypeString","required":true}}}},"number_greater_than":{"type":"TypeList","optional":true,"elem":{"schema":{"key":{"type":"TypeString","required":true},"value":{"type":"TypeFloat","required":true}}}},"number_greater_than_or_equals":{"type":"TypeList","optional":true,"elem":{"schema":{"key":{"type":"TypeString","required":true},"value":{"type":"TypeFloat","required":true}}}},"number_in":{"type":"TypeList","optional":true,"elem":{"schema":{"key":{"type":"TypeString","required":true},"values":{"type":"TypeList","required":true,"elem":{"type":"TypeFloat"},"maxItems":25}}}},"number_in_range":{"type":"TypeList","optional":true,"elem":{"schema":{"key":{"type":"TypeString","required":true},"values":{"type":"TypeList","required":true,"elem":{"type":"TypeList","elem":{"type":"TypeFloat"},"maxItems":2,"minItems":2},"maxItems":25}}}},"number_less_than":{"type":"TypeList","optional":true,"elem":{"schema":{"key":{"type":"TypeString","required":true},"value":{"type":"TypeFloat","required":true}}}},"number_less_than_or_equals":{"type":"TypeList","optional":true,"elem":{"schema":{"key":{"type":"TypeString","required":true},"value":{"type":"TypeFloat","required":true}}}},"number_not_in":{"type":"TypeList","optional":true,"elem":{"schema":{"key":{"type":"TypeString","required":true},"values":{"type":"TypeList","required":true,"elem":{"type":"TypeFloat"},"maxItems":25}}}},"number_not_in_range":{"type":"TypeList","optional":true,"elem":{"schema":{"key":{"type":"TypeString","required":true},"values":{"type":"TypeList","required":true,"elem":{"type":"TypeList","elem":{"type":"TypeFloat"},"maxItems":2,"minItems":2},"maxItems":25}}}},"string_begins_with":{"type":"TypeList","optional":true,"elem":{"schema":{"key":{"type":"TypeString","required":true},"values":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"maxItems":25}}}},"string_contains":{"type":"TypeList","optional":true,"elem":{"schema":{"key":{"type":"TypeString","required":true},"values":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"maxItems":25}}}},"string_ends_with":{"type":"TypeList","optional":true,"elem":{"schema":{"key":{"type":"TypeString","required":true},"values":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"maxItems":25}}}},"string_in":{"type":"TypeList","optional":true,"elem":{"schema":{"key":{"type":"TypeString","required":true},"values":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"maxItems":25}}}},"string_not_begins_with":{"type":"TypeList","optional":true,"elem":{"schema":{"key":{"type":"TypeString","required":true},"values":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"maxItems":25}}}},"string_not_contains":{"type":"TypeList","optional":true,"elem":{"schema":{"key":{"type":"TypeString","required":true},"values":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"maxItems":25}}}},"string_not_ends_with":{"type":"TypeList","optional":true,"elem":{"schema":{"key":{"type":"TypeString","required":true},"values":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"maxItems":25}}}},"string_not_in":{"type":"TypeList","optional":true,"elem":{"schema":{"key":{"type":"TypeString","required":true},"values":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"maxItems":25}}}}}},"maxItems":1},"advanced_filtering_on_arrays_enabled":{"type":"TypeBool","optional":true,"default":false},"azure_function_endpoint":{"type":"TypeList","optional":true,"elem":{"schema":{"function_id":{"type":"TypeString","required":true},"max_events_per_batch":{"type":"TypeInt","optional":true},"preferred_batch_size_in_kilobytes":{"type":"TypeInt","optional":true}}},"maxItems":1},"dead_letter_identity":{"type":"TypeList","optional":true,"elem":{"schema":{"type":{"type":"TypeString","required":true},"user_assigned_identity":{"type":"TypeString","optional":true}}},"maxItems":1},"delivery_identity":{"type":"TypeList","optional":true,"elem":{"schema":{"type":{"type":"TypeString","required":true},"user_assigned_identity":{"type":"TypeString","optional":true}}},"maxItems":1},"delivery_property":{"type":"TypeList","optional":true,"elem":{"schema":{"header_name":{"type":"TypeString","required":true},"secret":{"type":"TypeBool","optional":true},"source_field":{"type":"TypeString","optional":true},"type":{"type":"TypeString","required":true},"value":{"type":"TypeString","optional":true}}}},"event_delivery_schema":{"type":"TypeString","optional":true,"default":"EventGridSchema","forceNew":true},"eventhub_endpoint_id":{"type":"TypeString","optional":true,"computed":true},"expiration_time_utc":{"type":"TypeString","optional":true},"hybrid_connection_endpoint_id":{"type":"TypeString","optional":true,"computed":true},"included_event_types":{"type":"TypeList","optional":true,"computed":true,"elem":{"type":"TypeString"}},"labels":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true,"forceNew":true},"retry_policy":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"event_time_to_live":{"type":"TypeInt","required":true},"max_delivery_attempts":{"type":"TypeInt","required":true}}},"maxItems":1},"scope":{"type":"TypeString","required":true,"forceNew":true},"service_bus_queue_endpoint_id":{"type":"TypeString","optional":true},"service_bus_topic_endpoint_id":{"type":"TypeString","optional":true},"storage_blob_dead_letter_destination":{"type":"TypeList","optional":true,"elem":{"schema":{"storage_account_id":{"type":"TypeString","required":true},"storage_blob_container_name":{"type":"TypeString","required":true}}},"maxItems":1},"storage_queue_endpoint":{"type":"TypeList","optional":true,"elem":{"schema":{"queue_message_time_to_live_in_seconds":{"type":"TypeInt","optional":true},"queue_name":{"type":"TypeString","required":true},"storage_account_id":{"type":"TypeString","required":true}}},"maxItems":1},"subject_filter":{"type":"TypeList","optional":true,"elem":{"schema":{"case_sensitive":{"type":"TypeBool","optional":true},"subject_begins_with":{"type":"TypeString","optional":true},"subject_ends_with":{"type":"TypeString","optional":true}}},"maxItems":1},"webhook_endpoint":{"type":"TypeList","optional":true,"elem":{"schema":{"active_directory_app_id_or_uri":{"type":"TypeString","optional":true},"active_directory_tenant_id":{"type":"TypeString","optional":true},"base_url":{"type":"TypeString","computed":true},"max_events_per_batch":{"type":"TypeInt","optional":true},"preferred_batch_size_in_kilobytes":{"type":"TypeInt","optional":true},"url":{"type":"TypeString","required":true}}},"maxItems":1}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_eventgrid_system_topic":{"schema":{"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"metric_arm_resource_id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"source_arm_resource_id":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"topic_type":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_eventgrid_system_topic_event_subscription":{"schema":{"advanced_filter":{"type":"TypeList","optional":true,"elem":{"schema":{"bool_equals":{"type":"TypeList","optional":true,"elem":{"schema":{"key":{"type":"TypeString","required":true},"value":{"type":"TypeBool","required":true}}}},"is_not_null":{"type":"TypeList","optional":true,"elem":{"schema":{"key":{"type":"TypeString","required":true}}}},"is_null_or_undefined":{"type":"TypeList","optional":true,"elem":{"schema":{"key":{"type":"TypeString","required":true}}}},"number_greater_than":{"type":"TypeList","optional":true,"elem":{"schema":{"key":{"type":"TypeString","required":true},"value":{"type":"TypeFloat","required":true}}}},"number_greater_than_or_equals":{"type":"TypeList","optional":true,"elem":{"schema":{"key":{"type":"TypeString","required":true},"value":{"type":"TypeFloat","required":true}}}},"number_in":{"type":"TypeList","optional":true,"elem":{"schema":{"key":{"type":"TypeString","required":true},"values":{"type":"TypeList","required":true,"elem":{"type":"TypeFloat"},"maxItems":25}}}},"number_in_range":{"type":"TypeList","optional":true,"elem":{"schema":{"key":{"type":"TypeString","required":true},"values":{"type":"TypeList","required":true,"elem":{"type":"TypeList","elem":{"type":"TypeFloat"},"maxItems":2,"minItems":2},"maxItems":25}}}},"number_less_than":{"type":"TypeList","optional":true,"elem":{"schema":{"key":{"type":"TypeString","required":true},"value":{"type":"TypeFloat","required":true}}}},"number_less_than_or_equals":{"type":"TypeList","optional":true,"elem":{"schema":{"key":{"type":"TypeString","required":true},"value":{"type":"TypeFloat","required":true}}}},"number_not_in":{"type":"TypeList","optional":true,"elem":{"schema":{"key":{"type":"TypeString","required":true},"values":{"type":"TypeList","required":true,"elem":{"type":"TypeFloat"},"maxItems":25}}}},"number_not_in_range":{"type":"TypeList","optional":true,"elem":{"schema":{"key":{"type":"TypeString","required":true},"values":{"type":"TypeList","required":true,"elem":{"type":"TypeList","elem":{"type":"TypeFloat"},"maxItems":2,"minItems":2},"maxItems":25}}}},"string_begins_with":{"type":"TypeList","optional":true,"elem":{"schema":{"key":{"type":"TypeString","required":true},"values":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"maxItems":25}}}},"string_contains":{"type":"TypeList","optional":true,"elem":{"schema":{"key":{"type":"TypeString","required":true},"values":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"maxItems":25}}}},"string_ends_with":{"type":"TypeList","optional":true,"elem":{"schema":{"key":{"type":"TypeString","required":true},"values":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"maxItems":25}}}},"string_in":{"type":"TypeList","optional":true,"elem":{"schema":{"key":{"type":"TypeString","required":true},"values":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"maxItems":25}}}},"string_not_begins_with":{"type":"TypeList","optional":true,"elem":{"schema":{"key":{"type":"TypeString","required":true},"values":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"maxItems":25}}}},"string_not_contains":{"type":"TypeList","optional":true,"elem":{"schema":{"key":{"type":"TypeString","required":true},"values":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"maxItems":25}}}},"string_not_ends_with":{"type":"TypeList","optional":true,"elem":{"schema":{"key":{"type":"TypeString","required":true},"values":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"maxItems":25}}}},"string_not_in":{"type":"TypeList","optional":true,"elem":{"schema":{"key":{"type":"TypeString","required":true},"values":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"maxItems":25}}}}}},"maxItems":1},"advanced_filtering_on_arrays_enabled":{"type":"TypeBool","optional":true,"default":false},"azure_function_endpoint":{"type":"TypeList","optional":true,"elem":{"schema":{"function_id":{"type":"TypeString","required":true},"max_events_per_batch":{"type":"TypeInt","optional":true},"preferred_batch_size_in_kilobytes":{"type":"TypeInt","optional":true}}},"maxItems":1},"dead_letter_identity":{"type":"TypeList","optional":true,"elem":{"schema":{"type":{"type":"TypeString","required":true},"user_assigned_identity":{"type":"TypeString","optional":true}}},"maxItems":1},"delivery_identity":{"type":"TypeList","optional":true,"elem":{"schema":{"type":{"type":"TypeString","required":true},"user_assigned_identity":{"type":"TypeString","optional":true}}},"maxItems":1},"delivery_property":{"type":"TypeList","optional":true,"elem":{"schema":{"header_name":{"type":"TypeString","required":true},"secret":{"type":"TypeBool","optional":true},"source_field":{"type":"TypeString","optional":true},"type":{"type":"TypeString","required":true},"value":{"type":"TypeString","optional":true}}}},"event_delivery_schema":{"type":"TypeString","optional":true,"default":"EventGridSchema","forceNew":true},"eventhub_endpoint_id":{"type":"TypeString","optional":true,"computed":true},"expiration_time_utc":{"type":"TypeString","optional":true},"hybrid_connection_endpoint_id":{"type":"TypeString","optional":true,"computed":true},"included_event_types":{"type":"TypeList","optional":true,"computed":true,"elem":{"type":"TypeString"}},"labels":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"retry_policy":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"event_time_to_live":{"type":"TypeInt","required":true},"max_delivery_attempts":{"type":"TypeInt","required":true}}},"maxItems":1},"service_bus_queue_endpoint_id":{"type":"TypeString","optional":true},"service_bus_topic_endpoint_id":{"type":"TypeString","optional":true},"storage_blob_dead_letter_destination":{"type":"TypeList","optional":true,"elem":{"schema":{"storage_account_id":{"type":"TypeString","required":true},"storage_blob_container_name":{"type":"TypeString","required":true}}},"maxItems":1},"storage_queue_endpoint":{"type":"TypeList","optional":true,"elem":{"schema":{"queue_message_time_to_live_in_seconds":{"type":"TypeInt","optional":true},"queue_name":{"type":"TypeString","required":true},"storage_account_id":{"type":"TypeString","required":true}}},"maxItems":1},"subject_filter":{"type":"TypeList","optional":true,"elem":{"schema":{"case_sensitive":{"type":"TypeBool","optional":true},"subject_begins_with":{"type":"TypeString","optional":true},"subject_ends_with":{"type":"TypeString","optional":true}}},"maxItems":1},"system_topic":{"type":"TypeString","required":true,"forceNew":true},"webhook_endpoint":{"type":"TypeList","optional":true,"elem":{"schema":{"active_directory_app_id_or_uri":{"type":"TypeString","optional":true},"active_directory_tenant_id":{"type":"TypeString","optional":true},"base_url":{"type":"TypeString","computed":true},"max_events_per_batch":{"type":"TypeInt","optional":true},"preferred_batch_size_in_kilobytes":{"type":"TypeInt","optional":true},"url":{"type":"TypeString","required":true}}},"maxItems":1}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_eventgrid_topic":{"schema":{"endpoint":{"type":"TypeString","computed":true},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"inbound_ip_rule":{"type":"TypeList","configMode":"Auto","optional":true,"elem":{"schema":{"action":{"type":"TypeString","optional":true,"default":"Allow"},"ip_mask":{"type":"TypeString","required":true}}},"maxItems":128},"input_mapping_default_values":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"data_version":{"type":"TypeString","optional":true,"forceNew":true},"event_type":{"type":"TypeString","optional":true,"forceNew":true},"subject":{"type":"TypeString","optional":true,"forceNew":true}}},"maxItems":1},"input_mapping_fields":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"data_version":{"type":"TypeString","optional":true,"forceNew":true},"event_time":{"type":"TypeString","optional":true,"forceNew":true},"event_type":{"type":"TypeString","optional":true,"forceNew":true},"id":{"type":"TypeString","optional":true,"forceNew":true},"subject":{"type":"TypeString","optional":true,"forceNew":true},"topic":{"type":"TypeString","optional":true,"forceNew":true}}},"maxItems":1},"input_schema":{"type":"TypeString","optional":true,"default":"EventGridSchema","forceNew":true},"local_auth_enabled":{"type":"TypeBool","optional":true,"default":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"primary_access_key":{"type":"TypeString","computed":true},"public_network_access_enabled":{"type":"TypeBool","optional":true,"default":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"secondary_access_key":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_eventhub":{"schema":{"capture_description":{"type":"TypeList","optional":true,"elem":{"schema":{"destination":{"type":"TypeList","required":true,"elem":{"schema":{"archive_name_format":{"type":"TypeString","required":true},"blob_container_name":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true},"storage_account_id":{"type":"TypeString","required":true}}},"maxItems":1},"enabled":{"type":"TypeBool","required":true},"encoding":{"type":"TypeString","required":true},"interval_in_seconds":{"type":"TypeInt","optional":true,"default":300},"size_limit_in_bytes":{"type":"TypeInt","optional":true,"default":314572800},"skip_empty_archives":{"type":"TypeBool","optional":true,"default":false}}},"maxItems":1},"message_retention":{"type":"TypeInt","required":true},"name":{"type":"TypeString","required":true,"forceNew":true},"namespace_name":{"type":"TypeString","required":true,"forceNew":true},"partition_count":{"type":"TypeInt","required":true},"partition_ids":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"status":{"type":"TypeString","optional":true,"default":"Active"}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_eventhub_authorization_rule":{"schema":{"eventhub_name":{"type":"TypeString","required":true,"forceNew":true},"listen":{"type":"TypeBool","optional":true,"default":false},"manage":{"type":"TypeBool","optional":true,"default":false},"name":{"type":"TypeString","required":true,"forceNew":true},"namespace_name":{"type":"TypeString","required":true,"forceNew":true},"primary_connection_string":{"type":"TypeString","computed":true},"primary_connection_string_alias":{"type":"TypeString","computed":true},"primary_key":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"secondary_connection_string":{"type":"TypeString","computed":true},"secondary_connection_string_alias":{"type":"TypeString","computed":true},"secondary_key":{"type":"TypeString","computed":true},"send":{"type":"TypeBool","optional":true,"default":false}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_eventhub_cluster":{"schema":{"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"sku_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":300,"update":30}},"azurerm_eventhub_consumer_group":{"schema":{"eventhub_name":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"namespace_name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"user_metadata":{"type":"TypeString","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_eventhub_namespace":{"schema":{"auto_inflate_enabled":{"type":"TypeBool","optional":true,"default":false},"capacity":{"type":"TypeInt","optional":true,"default":1},"dedicated_cluster_id":{"type":"TypeString","optional":true,"forceNew":true},"default_primary_connection_string":{"type":"TypeString","computed":true},"default_primary_connection_string_alias":{"type":"TypeString","computed":true},"default_primary_key":{"type":"TypeString","computed":true},"default_secondary_connection_string":{"type":"TypeString","computed":true},"default_secondary_connection_string_alias":{"type":"TypeString","computed":true},"default_secondary_key":{"type":"TypeString","computed":true},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"local_authentication_enabled":{"type":"TypeBool","optional":true,"default":true},"location":{"type":"TypeString","required":true,"forceNew":true},"maximum_throughput_units":{"type":"TypeInt","optional":true},"minimum_tls_version":{"type":"TypeString","optional":true,"default":"1.2"},"name":{"type":"TypeString","required":true,"forceNew":true},"network_rulesets":{"type":"TypeList","configMode":"Auto","optional":true,"computed":true,"elem":{"schema":{"default_action":{"type":"TypeString","required":true},"ip_rule":{"type":"TypeList","configMode":"Auto","optional":true,"elem":{"schema":{"action":{"type":"TypeString","optional":true,"default":"Allow"},"ip_mask":{"type":"TypeString","required":true}}},"maxItems":128},"public_network_access_enabled":{"type":"TypeBool","optional":true,"default":true},"trusted_service_access_enabled":{"type":"TypeBool","optional":true},"virtual_network_rule":{"type":"TypeSet","configMode":"Auto","optional":true,"elem":{"schema":{"ignore_missing_virtual_network_service_endpoint":{"type":"TypeBool","optional":true},"subnet_id":{"type":"TypeString","required":true}}},"maxItems":128}}},"maxItems":1},"public_network_access_enabled":{"type":"TypeBool","optional":true,"default":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"sku":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_eventhub_namespace_authorization_rule":{"schema":{"listen":{"type":"TypeBool","optional":true,"default":false},"manage":{"type":"TypeBool","optional":true,"default":false},"name":{"type":"TypeString","required":true,"forceNew":true},"namespace_name":{"type":"TypeString","required":true,"forceNew":true},"primary_connection_string":{"type":"TypeString","computed":true},"primary_connection_string_alias":{"type":"TypeString","computed":true},"primary_key":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"secondary_connection_string":{"type":"TypeString","computed":true},"secondary_connection_string_alias":{"type":"TypeString","computed":true},"secondary_key":{"type":"TypeString","computed":true},"send":{"type":"TypeBool","optional":true,"default":false}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_eventhub_namespace_customer_managed_key":{"schema":{"eventhub_namespace_id":{"type":"TypeString","required":true,"forceNew":true},"infrastructure_encryption_enabled":{"type":"TypeBool","optional":true,"default":false,"forceNew":true},"key_vault_key_ids":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}},"user_assigned_identity_id":{"type":"TypeString","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_eventhub_namespace_disaster_recovery_config":{"schema":{"name":{"type":"TypeString","required":true,"forceNew":true},"namespace_name":{"type":"TypeString","required":true,"forceNew":true},"partner_namespace_id":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_eventhub_namespace_schema_group":{"schema":{"name":{"type":"TypeString","required":true,"forceNew":true},"namespace_id":{"type":"TypeString","required":true,"forceNew":true},"schema_compatibility":{"type":"TypeString","required":true,"forceNew":true},"schema_type":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_express_route_circuit":{"schema":{"allow_classic_operations":{"type":"TypeBool","optional":true,"default":false},"authorization_key":{"type":"TypeString","optional":true},"bandwidth_in_gbps":{"type":"TypeFloat","optional":true},"bandwidth_in_mbps":{"type":"TypeInt","optional":true},"express_route_port_id":{"type":"TypeString","optional":true,"forceNew":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"peering_location":{"type":"TypeString","optional":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"service_key":{"type":"TypeString","computed":true},"service_provider_name":{"type":"TypeString","optional":true,"forceNew":true},"service_provider_provisioning_state":{"type":"TypeString","computed":true},"sku":{"type":"TypeList","required":true,"elem":{"schema":{"family":{"type":"TypeString","required":true},"tier":{"type":"TypeString","required":true}}},"maxItems":1},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_express_route_circuit_authorization":{"schema":{"authorization_key":{"type":"TypeString","computed":true},"authorization_use_status":{"type":"TypeString","computed":true},"express_route_circuit_name":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_express_route_circuit_connection":{"schema":{"address_prefix_ipv4":{"type":"TypeString","required":true,"forceNew":true},"address_prefix_ipv6":{"type":"TypeString","optional":true},"authorization_key":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"peer_peering_id":{"type":"TypeString","required":true,"forceNew":true},"peering_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_express_route_circuit_peering":{"schema":{"azure_asn":{"type":"TypeInt","computed":true},"express_route_circuit_name":{"type":"TypeString","required":true,"forceNew":true},"gateway_manager_etag":{"type":"TypeString","computed":true},"ipv4_enabled":{"type":"TypeBool","optional":true,"default":true},"ipv6":{"type":"TypeList","optional":true,"elem":{"schema":{"enabled":{"type":"TypeBool","optional":true,"default":true},"microsoft_peering":{"type":"TypeList","optional":true,"elem":{"schema":{"advertised_communities":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"advertised_public_prefixes":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"minItems":1},"customer_asn":{"type":"TypeInt","optional":true,"default":0},"routing_registry_name":{"type":"TypeString","optional":true,"default":"NONE"}}},"maxItems":1},"primary_peer_address_prefix":{"type":"TypeString","required":true},"route_filter_id":{"type":"TypeString","optional":true},"secondary_peer_address_prefix":{"type":"TypeString","required":true}}},"maxItems":1},"microsoft_peering_config":{"type":"TypeList","optional":true,"elem":{"schema":{"advertised_communities":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"advertised_public_prefixes":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}},"customer_asn":{"type":"TypeInt","optional":true,"default":0},"routing_registry_name":{"type":"TypeString","optional":true,"default":"NONE"}}},"maxItems":1},"peer_asn":{"type":"TypeInt","optional":true,"computed":true},"peering_type":{"type":"TypeString","required":true},"primary_azure_port":{"type":"TypeString","computed":true},"primary_peer_address_prefix":{"type":"TypeString","optional":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"route_filter_id":{"type":"TypeString","optional":true},"secondary_azure_port":{"type":"TypeString","computed":true},"secondary_peer_address_prefix":{"type":"TypeString","optional":true},"shared_key":{"type":"TypeString","optional":true},"vlan_id":{"type":"TypeInt","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_express_route_connection":{"schema":{"authorization_key":{"type":"TypeString","optional":true},"enable_internet_security":{"type":"TypeBool","optional":true},"express_route_circuit_peering_id":{"type":"TypeString","required":true,"forceNew":true},"express_route_gateway_bypass_enabled":{"type":"TypeBool","optional":true,"default":false},"express_route_gateway_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"private_link_fast_path_enabled":{"type":"TypeBool","optional":true},"routing":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"associated_route_table_id":{"type":"TypeString","optional":true,"computed":true},"inbound_route_map_id":{"type":"TypeString","optional":true},"outbound_route_map_id":{"type":"TypeString","optional":true},"propagated_route_table":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"labels":{"type":"TypeSet","optional":true,"computed":true,"elem":{"type":"TypeString"}},"route_table_ids":{"type":"TypeList","optional":true,"computed":true,"elem":{"type":"TypeString"}}}},"maxItems":1}}},"maxItems":1},"routing_weight":{"type":"TypeInt","optional":true,"default":0}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_express_route_gateway":{"schema":{"allow_non_virtual_wan_traffic":{"type":"TypeBool","optional":true,"default":false},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"scale_units":{"type":"TypeInt","required":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"virtual_hub_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":90,"read":5,"delete":90,"update":90}},"azurerm_express_route_port":{"schema":{"bandwidth_in_gbps":{"type":"TypeInt","required":true,"forceNew":true},"billing_type":{"type":"TypeString","optional":true,"default":"MeteredData"},"encapsulation":{"type":"TypeString","required":true,"forceNew":true},"ethertype":{"type":"TypeString","computed":true},"guid":{"type":"TypeString","computed":true},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"link1":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"admin_enabled":{"type":"TypeBool","optional":true,"default":false},"connector_type":{"type":"TypeString","computed":true},"id":{"type":"TypeString","computed":true},"interface_name":{"type":"TypeString","computed":true},"macsec_cak_keyvault_secret_id":{"type":"TypeString","optional":true},"macsec_cipher":{"type":"TypeString","optional":true,"default":"GcmAes128"},"macsec_ckn_keyvault_secret_id":{"type":"TypeString","optional":true},"macsec_sci_enabled":{"type":"TypeBool","optional":true,"default":false},"patch_panel_id":{"type":"TypeString","computed":true},"rack_id":{"type":"TypeString","computed":true},"router_name":{"type":"TypeString","computed":true}}},"maxItems":1,"minItems":1},"link2":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"admin_enabled":{"type":"TypeBool","optional":true,"default":false},"connector_type":{"type":"TypeString","computed":true},"id":{"type":"TypeString","computed":true},"interface_name":{"type":"TypeString","computed":true},"macsec_cak_keyvault_secret_id":{"type":"TypeString","optional":true},"macsec_cipher":{"type":"TypeString","optional":true,"default":"GcmAes128"},"macsec_ckn_keyvault_secret_id":{"type":"TypeString","optional":true},"macsec_sci_enabled":{"type":"TypeBool","optional":true,"default":false},"patch_panel_id":{"type":"TypeString","computed":true},"rack_id":{"type":"TypeString","computed":true},"router_name":{"type":"TypeString","computed":true}}},"maxItems":1,"minItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"mtu":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true,"forceNew":true},"peering_location":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_express_route_port_authorization":{"schema":{"authorization_key":{"type":"TypeString","computed":true},"authorization_use_status":{"type":"TypeString","computed":true},"express_route_port_name":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_extended_custom_location":{"schema":{"authentication":{"type":"TypeList","optional":true,"elem":{"schema":{"type":{"type":"TypeString","optional":true},"value":{"type":"TypeString","required":true}}},"maxItems":1},"cluster_extension_ids":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}},"display_name":{"type":"TypeString","optional":true,"forceNew":true},"host_resource_id":{"type":"TypeString","required":true,"forceNew":true},"host_type":{"type":"TypeString","optional":true,"forceNew":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"namespace":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_federated_identity_credential":{"schema":{"audience":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"maxItems":1},"issuer":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true,"forceNew":true},"parent_id":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"subject":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_firewall":{"schema":{"dns_proxy_enabled":{"type":"TypeBool","optional":true,"computed":true},"dns_servers":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"minItems":1},"firewall_policy_id":{"type":"TypeString","optional":true},"ip_configuration":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"private_ip_address":{"type":"TypeString","computed":true},"public_ip_address_id":{"type":"TypeString","optional":true},"subnet_id":{"type":"TypeString","optional":true,"forceNew":true}}}},"location":{"type":"TypeString","required":true,"forceNew":true},"management_ip_configuration":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"private_ip_address":{"type":"TypeString","computed":true},"public_ip_address_id":{"type":"TypeString","required":true},"subnet_id":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"private_ip_ranges":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"minItems":1},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"sku_name":{"type":"TypeString","required":true,"forceNew":true},"sku_tier":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"threat_intel_mode":{"type":"TypeString","optional":true,"computed":true},"virtual_hub":{"type":"TypeList","optional":true,"elem":{"schema":{"private_ip_address":{"type":"TypeString","computed":true},"public_ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"public_ip_count":{"type":"TypeInt","optional":true,"default":1},"virtual_hub_id":{"type":"TypeString","required":true}}},"maxItems":1},"zones":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":90,"read":5,"delete":90,"update":90}},"azurerm_firewall_application_rule_collection":{"schema":{"action":{"type":"TypeString","required":true},"azure_firewall_name":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"priority":{"type":"TypeInt","required":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"rule":{"type":"TypeList","required":true,"elem":{"schema":{"description":{"type":"TypeString","optional":true},"fqdn_tags":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true},"protocol":{"type":"TypeList","optional":true,"elem":{"schema":{"port":{"type":"TypeInt","required":true},"type":{"type":"TypeString","required":true}}},"minItems":1},"source_addresses":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"source_ip_groups":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"target_fqdns":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}}}},"minItems":1}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_firewall_nat_rule_collection":{"schema":{"action":{"type":"TypeString","required":true},"azure_firewall_name":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"priority":{"type":"TypeInt","required":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"rule":{"type":"TypeList","required":true,"elem":{"schema":{"description":{"type":"TypeString","optional":true},"destination_addresses":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}},"destination_ports":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true},"protocols":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}},"source_addresses":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"source_ip_groups":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"translated_address":{"type":"TypeString","required":true},"translated_port":{"type":"TypeString","required":true}}},"minItems":1}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_firewall_network_rule_collection":{"schema":{"action":{"type":"TypeString","required":true},"azure_firewall_name":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"priority":{"type":"TypeInt","required":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"rule":{"type":"TypeList","required":true,"elem":{"schema":{"description":{"type":"TypeString","optional":true},"destination_addresses":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"destination_fqdns":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"destination_ip_groups":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"destination_ports":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true},"protocols":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}},"source_addresses":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"source_ip_groups":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}}}},"minItems":1}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_firewall_policy":{"schema":{"auto_learn_private_ranges_enabled":{"type":"TypeBool","optional":true},"base_policy_id":{"type":"TypeString","optional":true},"child_policies":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"dns":{"type":"TypeList","optional":true,"elem":{"schema":{"proxy_enabled":{"type":"TypeBool","optional":true,"default":false},"servers":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1,"minItems":1},"explicit_proxy":{"type":"TypeList","optional":true,"elem":{"schema":{"enable_pac_file":{"type":"TypeBool","optional":true},"enabled":{"type":"TypeBool","optional":true},"http_port":{"type":"TypeInt","optional":true},"https_port":{"type":"TypeInt","optional":true},"pac_file":{"type":"TypeString","optional":true},"pac_file_port":{"type":"TypeInt","optional":true}}},"maxItems":1},"firewalls":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"insights":{"type":"TypeList","optional":true,"elem":{"schema":{"default_log_analytics_workspace_id":{"type":"TypeString","required":true},"enabled":{"type":"TypeBool","required":true},"log_analytics_workspace":{"type":"TypeList","optional":true,"elem":{"schema":{"firewall_location":{"type":"TypeString","required":true},"id":{"type":"TypeString","required":true}}}},"retention_in_days":{"type":"TypeInt","optional":true}}},"maxItems":1},"intrusion_detection":{"type":"TypeList","optional":true,"elem":{"schema":{"mode":{"type":"TypeString","optional":true},"private_ranges":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"signature_overrides":{"type":"TypeList","optional":true,"elem":{"schema":{"id":{"type":"TypeString","optional":true},"state":{"type":"TypeString","optional":true}}}},"traffic_bypass":{"type":"TypeList","optional":true,"elem":{"schema":{"description":{"type":"TypeString","optional":true},"destination_addresses":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"destination_ip_groups":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"destination_ports":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true},"protocol":{"type":"TypeString","required":true},"source_addresses":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"source_ip_groups":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}}}}}}},"maxItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"private_ip_ranges":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"minItems":1},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"rule_collection_groups":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"sku":{"type":"TypeString","optional":true,"default":"Standard","forceNew":true},"sql_redirect_allowed":{"type":"TypeBool","optional":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"threat_intelligence_allowlist":{"type":"TypeList","optional":true,"elem":{"schema":{"fqdns":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"ip_addresses":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1,"minItems":1},"threat_intelligence_mode":{"type":"TypeString","optional":true,"default":"Alert"},"tls_certificate":{"type":"TypeList","optional":true,"elem":{"schema":{"key_vault_secret_id":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true}}},"maxItems":1,"minItems":1}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_firewall_policy_rule_collection_group":{"schema":{"application_rule_collection":{"type":"TypeList","optional":true,"elem":{"schema":{"action":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true},"priority":{"type":"TypeInt","required":true},"rule":{"type":"TypeList","required":true,"elem":{"schema":{"description":{"type":"TypeString","optional":true},"destination_addresses":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"destination_fqdn_tags":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"destination_fqdns":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"destination_urls":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"http_headers":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"value":{"type":"TypeString","required":true}}}},"name":{"type":"TypeString","required":true},"protocols":{"type":"TypeList","optional":true,"elem":{"schema":{"port":{"type":"TypeInt","required":true},"type":{"type":"TypeString","required":true}}}},"source_addresses":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"source_ip_groups":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"terminate_tls":{"type":"TypeBool","optional":true},"web_categories":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}}}},"minItems":1}}},"minItems":1},"firewall_policy_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"nat_rule_collection":{"type":"TypeList","optional":true,"elem":{"schema":{"action":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true},"priority":{"type":"TypeInt","required":true},"rule":{"type":"TypeList","required":true,"elem":{"schema":{"description":{"type":"TypeString","optional":true},"destination_address":{"type":"TypeString","optional":true},"destination_ports":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"maxItems":1},"name":{"type":"TypeString","required":true},"protocols":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}},"source_addresses":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"source_ip_groups":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"translated_address":{"type":"TypeString","optional":true},"translated_fqdn":{"type":"TypeString","optional":true},"translated_port":{"type":"TypeInt","required":true}}},"minItems":1}}},"minItems":1},"network_rule_collection":{"type":"TypeList","optional":true,"elem":{"schema":{"action":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true},"priority":{"type":"TypeInt","required":true},"rule":{"type":"TypeList","required":true,"elem":{"schema":{"description":{"type":"TypeString","optional":true},"destination_addresses":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"destination_fqdns":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"destination_ip_groups":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"destination_ports":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true},"protocols":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}},"source_addresses":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"source_ip_groups":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}}}},"minItems":1}}},"minItems":1},"priority":{"type":"TypeInt","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_fluid_relay_server":{"schema":{"customer_managed_key":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"key_vault_key_id":{"type":"TypeString","required":true},"user_assigned_identity_id":{"type":"TypeString","required":true}}},"maxItems":1},"frs_tenant_id":{"type":"TypeString","computed":true},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"orderer_endpoints":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"primary_key":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"secondary_key":{"type":"TypeString","computed":true},"service_endpoints":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"storage_endpoints":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"storage_sku":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":10,"update":10}},"azurerm_frontdoor":{"schema":{"backend_pool":{"type":"TypeList","required":true,"elem":{"schema":{"backend":{"type":"TypeList","required":true,"elem":{"schema":{"address":{"type":"TypeString","required":true},"enabled":{"type":"TypeBool","optional":true,"default":true},"host_header":{"type":"TypeString","required":true},"http_port":{"type":"TypeInt","required":true},"https_port":{"type":"TypeInt","required":true},"priority":{"type":"TypeInt","optional":true,"default":1},"weight":{"type":"TypeInt","optional":true,"default":50}}},"maxItems":500},"health_probe_name":{"type":"TypeString","required":true},"id":{"type":"TypeString","computed":true},"load_balancing_name":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true}}}},"backend_pool_health_probe":{"type":"TypeList","required":true,"elem":{"schema":{"enabled":{"type":"TypeBool","optional":true,"default":true},"id":{"type":"TypeString","computed":true},"interval_in_seconds":{"type":"TypeInt","optional":true,"default":120},"name":{"type":"TypeString","required":true},"path":{"type":"TypeString","optional":true,"default":"/"},"probe_method":{"type":"TypeString","optional":true,"default":"GET"},"protocol":{"type":"TypeString","optional":true,"default":"Http"}}},"maxItems":5000},"backend_pool_health_probes":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"backend_pool_load_balancing":{"type":"TypeList","required":true,"elem":{"schema":{"additional_latency_milliseconds":{"type":"TypeInt","optional":true,"default":0},"id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"sample_size":{"type":"TypeInt","optional":true,"default":4},"successful_samples_required":{"type":"TypeInt","optional":true,"default":2}}},"maxItems":5000},"backend_pool_load_balancing_settings":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"backend_pool_settings":{"type":"TypeList","optional":true,"elem":{"schema":{"backend_pools_send_receive_timeout_seconds":{"type":"TypeInt","optional":true,"default":60},"enforce_backend_pools_certificate_name_check":{"type":"TypeBool","required":true}}}},"backend_pools":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"cname":{"type":"TypeString","computed":true},"explicit_resource_order":{"type":"TypeList","computed":true,"elem":{"schema":{"backend_pool_health_probe_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"backend_pool_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"backend_pool_load_balancing_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"frontend_endpoint_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"routing_rule_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}}},"friendly_name":{"type":"TypeString","optional":true},"frontend_endpoint":{"type":"TypeList","required":true,"elem":{"schema":{"host_name":{"type":"TypeString","required":true},"id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"session_affinity_enabled":{"type":"TypeBool","optional":true,"default":false},"session_affinity_ttl_seconds":{"type":"TypeInt","optional":true,"default":0},"web_application_firewall_policy_link_id":{"type":"TypeString","optional":true}}},"maxItems":500},"frontend_endpoints":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"header_frontdoor_id":{"type":"TypeString","computed":true},"load_balancer_enabled":{"type":"TypeBool","optional":true,"default":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"routing_rule":{"type":"TypeList","required":true,"elem":{"schema":{"accepted_protocols":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"maxItems":2},"enabled":{"type":"TypeBool","optional":true,"default":true},"forwarding_configuration":{"type":"TypeList","optional":true,"elem":{"schema":{"backend_pool_name":{"type":"TypeString","required":true},"cache_duration":{"type":"TypeString","optional":true},"cache_enabled":{"type":"TypeBool","optional":true,"default":false},"cache_query_parameter_strip_directive":{"type":"TypeString","optional":true,"default":"StripAll"},"cache_query_parameters":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"maxItems":25},"cache_use_dynamic_compression":{"type":"TypeBool","optional":true,"default":false},"custom_forwarding_path":{"type":"TypeString","optional":true},"forwarding_protocol":{"type":"TypeString","optional":true,"default":"HttpsOnly"}}},"maxItems":1},"frontend_endpoints":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"maxItems":500},"id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"patterns_to_match":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"maxItems":25},"redirect_configuration":{"type":"TypeList","optional":true,"elem":{"schema":{"custom_fragment":{"type":"TypeString","optional":true},"custom_host":{"type":"TypeString","optional":true},"custom_path":{"type":"TypeString","optional":true},"custom_query_string":{"type":"TypeString","optional":true},"redirect_protocol":{"type":"TypeString","required":true},"redirect_type":{"type":"TypeString","required":true}}},"maxItems":1}}},"maxItems":500},"routing_rules":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":360,"read":5,"delete":360,"update":360}},"azurerm_frontdoor_custom_https_configuration":{"schema":{"custom_https_configuration":{"type":"TypeList","optional":true,"elem":{"schema":{"azure_key_vault_certificate_secret_name":{"type":"TypeString","optional":true},"azure_key_vault_certificate_secret_version":{"type":"TypeString","optional":true},"azure_key_vault_certificate_vault_id":{"type":"TypeString","optional":true},"certificate_source":{"type":"TypeString","optional":true,"default":"FrontDoor"},"minimum_tls_version":{"type":"TypeString","computed":true},"provisioning_state":{"type":"TypeString","computed":true},"provisioning_substate":{"type":"TypeString","computed":true}}},"maxItems":1},"custom_https_provisioning_enabled":{"type":"TypeBool","required":true},"frontend_endpoint_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":360,"read":5,"delete":360,"update":360}},"azurerm_frontdoor_firewall_policy":{"schema":{"custom_block_response_body":{"type":"TypeString","optional":true},"custom_block_response_status_code":{"type":"TypeInt","optional":true},"custom_rule":{"type":"TypeList","optional":true,"elem":{"schema":{"action":{"type":"TypeString","required":true},"enabled":{"type":"TypeBool","optional":true,"default":true},"match_condition":{"type":"TypeList","optional":true,"elem":{"schema":{"match_values":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"maxItems":600},"match_variable":{"type":"TypeString","required":true},"negation_condition":{"type":"TypeBool","optional":true,"default":false},"operator":{"type":"TypeString","required":true},"selector":{"type":"TypeString","optional":true},"transforms":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"maxItems":5}}},"maxItems":10},"name":{"type":"TypeString","required":true},"priority":{"type":"TypeInt","optional":true,"default":1},"rate_limit_duration_in_minutes":{"type":"TypeInt","optional":true,"default":1},"rate_limit_threshold":{"type":"TypeInt","optional":true,"default":10},"type":{"type":"TypeString","required":true}}},"maxItems":100},"enabled":{"type":"TypeBool","optional":true,"default":true},"frontend_endpoint_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"location":{"type":"TypeString","computed":true},"managed_rule":{"type":"TypeList","optional":true,"elem":{"schema":{"exclusion":{"type":"TypeList","optional":true,"elem":{"schema":{"match_variable":{"type":"TypeString","required":true},"operator":{"type":"TypeString","required":true},"selector":{"type":"TypeString","required":true}}},"maxItems":100},"override":{"type":"TypeList","optional":true,"elem":{"schema":{"exclusion":{"type":"TypeList","optional":true,"elem":{"schema":{"match_variable":{"type":"TypeString","required":true},"operator":{"type":"TypeString","required":true},"selector":{"type":"TypeString","required":true}}},"maxItems":100},"rule":{"type":"TypeList","optional":true,"elem":{"schema":{"action":{"type":"TypeString","required":true},"enabled":{"type":"TypeBool","optional":true,"default":false},"exclusion":{"type":"TypeList","optional":true,"elem":{"schema":{"match_variable":{"type":"TypeString","required":true},"operator":{"type":"TypeString","required":true},"selector":{"type":"TypeString","required":true}}},"maxItems":100},"rule_id":{"type":"TypeString","required":true}}},"maxItems":1000},"rule_group_name":{"type":"TypeString","required":true}}},"maxItems":100},"type":{"type":"TypeString","required":true},"version":{"type":"TypeString","required":true}}},"maxItems":100},"mode":{"type":"TypeString","optional":true,"default":"Prevention"},"name":{"type":"TypeString","required":true,"forceNew":true},"redirect_url":{"type":"TypeString","optional":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_frontdoor_rules_engine":{"schema":{"enabled":{"type":"TypeBool","optional":true,"default":true},"frontdoor_name":{"type":"TypeString","required":true,"forceNew":true},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"rule":{"type":"TypeList","optional":true,"elem":{"schema":{"action":{"type":"TypeList","optional":true,"elem":{"schema":{"request_header":{"type":"TypeList","optional":true,"elem":{"schema":{"header_action_type":{"type":"TypeString","optional":true},"header_name":{"type":"TypeString","optional":true},"value":{"type":"TypeString","optional":true}}},"maxItems":100},"response_header":{"type":"TypeList","optional":true,"elem":{"schema":{"header_action_type":{"type":"TypeString","optional":true},"header_name":{"type":"TypeString","optional":true},"value":{"type":"TypeString","optional":true}}},"maxItems":100}}},"maxItems":1},"match_condition":{"type":"TypeList","optional":true,"elem":{"schema":{"negate_condition":{"type":"TypeBool","optional":true,"default":false},"operator":{"type":"TypeString","required":true},"selector":{"type":"TypeString","optional":true},"transform":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"maxItems":6},"value":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"maxItems":25},"variable":{"type":"TypeString","optional":true}}},"maxItems":100},"name":{"type":"TypeString","required":true},"priority":{"type":"TypeInt","required":true}}},"maxItems":100}},"timeouts":{"create":360,"read":5,"delete":360,"update":360}},"azurerm_function_app":{"schema":{"app_service_plan_id":{"type":"TypeString","required":true},"app_settings":{"type":"TypeMap","optional":true,"computed":true,"elem":{"type":"TypeString"}},"auth_settings":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"active_directory":{"type":"TypeList","optional":true,"elem":{"schema":{"allowed_audiences":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"client_id":{"type":"TypeString","required":true},"client_secret":{"type":"TypeString","optional":true}}},"maxItems":1},"additional_login_params":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"allowed_external_redirect_urls":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"default_provider":{"type":"TypeString","optional":true},"enabled":{"type":"TypeBool","required":true},"facebook":{"type":"TypeList","optional":true,"elem":{"schema":{"app_id":{"type":"TypeString","required":true},"app_secret":{"type":"TypeString","required":true},"oauth_scopes":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"google":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","required":true},"client_secret":{"type":"TypeString","required":true},"oauth_scopes":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"issuer":{"type":"TypeString","optional":true},"microsoft":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","required":true},"client_secret":{"type":"TypeString","required":true},"oauth_scopes":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"runtime_version":{"type":"TypeString","optional":true},"token_refresh_extension_hours":{"type":"TypeFloat","optional":true,"default":72},"token_store_enabled":{"type":"TypeBool","optional":true,"default":false},"twitter":{"type":"TypeList","optional":true,"elem":{"schema":{"consumer_key":{"type":"TypeString","required":true},"consumer_secret":{"type":"TypeString","required":true}}},"maxItems":1},"unauthenticated_client_action":{"type":"TypeString","optional":true}}},"maxItems":1},"client_cert_mode":{"type":"TypeString","optional":true},"connection_string":{"type":"TypeSet","optional":true,"computed":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"type":{"type":"TypeString","required":true},"value":{"type":"TypeString","required":true}}}},"custom_domain_verification_id":{"type":"TypeString","computed":true},"daily_memory_time_quota":{"type":"TypeInt","optional":true},"default_hostname":{"type":"TypeString","computed":true},"enable_builtin_logging":{"type":"TypeBool","optional":true,"default":true},"enabled":{"type":"TypeBool","optional":true,"default":true},"https_only":{"type":"TypeBool","optional":true,"default":false},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"key_vault_reference_identity_id":{"type":"TypeString","optional":true,"computed":true},"kind":{"type":"TypeString","computed":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"os_type":{"type":"TypeString","optional":true,"default":"","forceNew":true},"outbound_ip_addresses":{"type":"TypeString","computed":true},"possible_outbound_ip_addresses":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"site_config":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"always_on":{"type":"TypeBool","optional":true,"default":false},"app_scale_limit":{"type":"TypeInt","optional":true,"computed":true},"auto_swap_slot_name":{"type":"TypeString","optional":true},"cors":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"allowed_origins":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}},"support_credentials":{"type":"TypeBool","optional":true,"default":false}}},"maxItems":1},"dotnet_framework_version":{"type":"TypeString","optional":true,"default":"v4.0"},"elastic_instance_minimum":{"type":"TypeInt","optional":true,"computed":true},"ftps_state":{"type":"TypeString","optional":true,"computed":true},"health_check_path":{"type":"TypeString","optional":true},"http2_enabled":{"type":"TypeBool","optional":true,"default":false},"ip_restriction":{"type":"TypeList","configMode":"Auto","optional":true,"computed":true,"elem":{"schema":{"action":{"type":"TypeString","optional":true,"default":"Allow"},"headers":{"type":"TypeList","configMode":"Auto","optional":true,"computed":true,"elem":{"schema":{"x_azure_fdid":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":8},"x_fd_health_probe":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":1},"x_forwarded_for":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":8},"x_forwarded_host":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":8}}},"maxItems":1},"ip_address":{"type":"TypeString","optional":true},"name":{"type":"TypeString","optional":true,"computed":true},"priority":{"type":"TypeInt","optional":true,"default":65000},"service_tag":{"type":"TypeString","optional":true},"virtual_network_subnet_id":{"type":"TypeString","optional":true}}}},"java_version":{"type":"TypeString","optional":true},"linux_fx_version":{"type":"TypeString","optional":true,"computed":true},"min_tls_version":{"type":"TypeString","optional":true,"computed":true},"pre_warmed_instance_count":{"type":"TypeInt","optional":true,"computed":true},"runtime_scale_monitoring_enabled":{"type":"TypeBool","optional":true,"default":false},"scm_ip_restriction":{"type":"TypeList","configMode":"Auto","optional":true,"computed":true,"elem":{"schema":{"action":{"type":"TypeString","optional":true,"default":"Allow"},"headers":{"type":"TypeList","configMode":"Auto","optional":true,"computed":true,"elem":{"schema":{"x_azure_fdid":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":8},"x_fd_health_probe":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":1},"x_forwarded_for":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":8},"x_forwarded_host":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":8}}},"maxItems":1},"ip_address":{"type":"TypeString","optional":true},"name":{"type":"TypeString","optional":true,"computed":true},"priority":{"type":"TypeInt","optional":true,"default":65000},"service_tag":{"type":"TypeString","optional":true},"virtual_network_subnet_id":{"type":"TypeString","optional":true}}}},"scm_type":{"type":"TypeString","optional":true,"computed":true},"scm_use_main_ip_restriction":{"type":"TypeBool","optional":true,"default":false},"use_32_bit_worker_process":{"type":"TypeBool","optional":true,"default":true},"vnet_route_all_enabled":{"type":"TypeBool","optional":true,"computed":true},"websockets_enabled":{"type":"TypeBool","optional":true,"default":false}}},"maxItems":1},"site_credential":{"type":"TypeList","computed":true,"elem":{"schema":{"password":{"type":"TypeString","computed":true},"username":{"type":"TypeString","computed":true}}}},"source_control":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"branch":{"type":"TypeString","optional":true,"computed":true},"manual_integration":{"type":"TypeBool","optional":true,"computed":true},"repo_url":{"type":"TypeString","optional":true,"computed":true},"rollback_enabled":{"type":"TypeBool","optional":true,"computed":true},"use_mercurial":{"type":"TypeBool","optional":true,"computed":true}}},"maxItems":1},"storage_account_access_key":{"type":"TypeString","required":true},"storage_account_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"version":{"type":"TypeString","optional":true,"default":"~1"}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_function_app_active_slot":{"schema":{"last_successful_swap":{"type":"TypeString","description":"The timestamp of the last successful swap with `Production`","computed":true},"overwrite_network_config":{"type":"TypeBool","optional":true,"default":true,"description":"The swap action should overwrite the Production slot's network configuration with the configuration from this slot. Defaults to `true`.","forceNew":true},"slot_id":{"type":"TypeString","required":true,"description":"The ID of the Slot to swap with `Production`."}},"timeouts":{"create":30,"read":5,"delete":5,"update":30}},"azurerm_function_app_connection":{"schema":{"authentication":{"type":"TypeList","required":true,"elem":{"schema":{"certificate":{"type":"TypeString","optional":true},"client_id":{"type":"TypeString","optional":true},"name":{"type":"TypeString","optional":true},"principal_id":{"type":"TypeString","optional":true},"secret":{"type":"TypeString","optional":true},"subscription_id":{"type":"TypeString","optional":true},"type":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"client_type":{"type":"TypeString","optional":true,"default":"none"},"function_app_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"secret_store":{"type":"TypeList","optional":true,"elem":{"schema":{"key_vault_id":{"type":"TypeString","required":true}}},"maxItems":1},"target_resource_id":{"type":"TypeString","required":true,"forceNew":true},"vnet_solution":{"type":"TypeString","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_function_app_function":{"schema":{"config_json":{"type":"TypeString","required":true,"description":"The config for this Function in JSON format."},"config_url":{"type":"TypeString","description":"The URL of the configuration JSON.","computed":true},"enabled":{"type":"TypeBool","optional":true,"default":true,"description":"Should this function be enabled. Defaults to `true`."},"file":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"content":{"type":"TypeString","required":true,"description":"The content of the file.","forceNew":true},"name":{"type":"TypeString","required":true,"description":"The filename of the file to be uploaded.","forceNew":true}}},"minItems":1},"function_app_id":{"type":"TypeString","required":true,"description":"The ID of the Function App in which this function should reside.","forceNew":true},"invocation_url":{"type":"TypeString","description":"The invocation URL.","computed":true},"language":{"type":"TypeString","optional":true,"description":"The language the Function is written in."},"name":{"type":"TypeString","required":true,"description":"The name of the function.","forceNew":true},"script_root_path_url":{"type":"TypeString","description":"The Script root path URL.","computed":true},"script_url":{"type":"TypeString","description":"The script URL.","computed":true},"secrets_file_url":{"type":"TypeString","description":"The URL for the Secrets File.","computed":true},"test_data":{"type":"TypeString","optional":true,"description":"The test data for the function."},"test_data_url":{"type":"TypeString","description":"The Test data URL.","computed":true},"url":{"type":"TypeString","description":"The function URL.","computed":true}},"timeouts":{"create":30,"read":5,"delete":5,"update":30}},"azurerm_function_app_hybrid_connection":{"schema":{"function_app_id":{"type":"TypeString","required":true,"description":"The ID of the Function App for this Hybrid Connection.","forceNew":true},"hostname":{"type":"TypeString","required":true,"description":"The hostname of the endpoint."},"namespace_name":{"type":"TypeString","description":"The name of the Relay Namespace.","computed":true},"port":{"type":"TypeInt","required":true,"description":"The port to use for the endpoint"},"relay_id":{"type":"TypeString","required":true,"description":"The ID of the Relay Hybrid Connection to use.","forceNew":true},"relay_name":{"type":"TypeString","description":"The name of the Relay in use.","computed":true},"send_key_name":{"type":"TypeString","optional":true,"default":"RootManageSharedAccessKey","description":"The name of the Relay key with `Send` permission to use. Defaults to `RootManageSharedAccessKey`"},"send_key_value":{"type":"TypeString","description":"The Primary Access Key for the `send_key_name`","computed":true},"service_bus_namespace":{"type":"TypeString","description":"The Service Bus Namespace.","computed":true},"service_bus_suffix":{"type":"TypeString","description":"The suffix for the endpoint.","computed":true}},"timeouts":{"create":30,"read":5,"delete":5,"update":30}},"azurerm_function_app_slot":{"schema":{"app_service_plan_id":{"type":"TypeString","required":true,"forceNew":true},"app_settings":{"type":"TypeMap","optional":true,"computed":true,"elem":{"type":"TypeString"}},"auth_settings":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"active_directory":{"type":"TypeList","optional":true,"elem":{"schema":{"allowed_audiences":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"client_id":{"type":"TypeString","required":true},"client_secret":{"type":"TypeString","optional":true}}},"maxItems":1},"additional_login_params":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"allowed_external_redirect_urls":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"default_provider":{"type":"TypeString","optional":true},"enabled":{"type":"TypeBool","required":true},"facebook":{"type":"TypeList","optional":true,"elem":{"schema":{"app_id":{"type":"TypeString","required":true},"app_secret":{"type":"TypeString","required":true},"oauth_scopes":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"google":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","required":true},"client_secret":{"type":"TypeString","required":true},"oauth_scopes":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"issuer":{"type":"TypeString","optional":true},"microsoft":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","required":true},"client_secret":{"type":"TypeString","required":true},"oauth_scopes":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"runtime_version":{"type":"TypeString","optional":true},"token_refresh_extension_hours":{"type":"TypeFloat","optional":true,"default":72},"token_store_enabled":{"type":"TypeBool","optional":true,"default":false},"twitter":{"type":"TypeList","optional":true,"elem":{"schema":{"consumer_key":{"type":"TypeString","required":true},"consumer_secret":{"type":"TypeString","required":true}}},"maxItems":1},"unauthenticated_client_action":{"type":"TypeString","optional":true}}},"maxItems":1},"connection_string":{"type":"TypeSet","optional":true,"computed":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"type":{"type":"TypeString","required":true},"value":{"type":"TypeString","required":true}}}},"daily_memory_time_quota":{"type":"TypeInt","optional":true},"default_hostname":{"type":"TypeString","computed":true},"enable_builtin_logging":{"type":"TypeBool","optional":true,"default":true},"enabled":{"type":"TypeBool","optional":true,"default":true},"function_app_name":{"type":"TypeString","required":true,"forceNew":true},"https_only":{"type":"TypeBool","optional":true,"default":false},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"kind":{"type":"TypeString","computed":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"os_type":{"type":"TypeString","optional":true,"forceNew":true},"outbound_ip_addresses":{"type":"TypeString","computed":true},"possible_outbound_ip_addresses":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"site_config":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"always_on":{"type":"TypeBool","optional":true,"default":false},"app_scale_limit":{"type":"TypeInt","optional":true,"computed":true},"auto_swap_slot_name":{"type":"TypeString","optional":true},"cors":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"allowed_origins":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}},"support_credentials":{"type":"TypeBool","optional":true,"default":false}}},"maxItems":1},"dotnet_framework_version":{"type":"TypeString","optional":true,"default":"v4.0"},"elastic_instance_minimum":{"type":"TypeInt","optional":true,"computed":true},"ftps_state":{"type":"TypeString","optional":true,"computed":true},"health_check_path":{"type":"TypeString","optional":true},"http2_enabled":{"type":"TypeBool","optional":true,"default":false},"ip_restriction":{"type":"TypeList","configMode":"Auto","optional":true,"computed":true,"elem":{"schema":{"action":{"type":"TypeString","optional":true,"default":"Allow"},"headers":{"type":"TypeList","configMode":"Auto","optional":true,"computed":true,"elem":{"schema":{"x_azure_fdid":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":8},"x_fd_health_probe":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":1},"x_forwarded_for":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":8},"x_forwarded_host":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":8}}},"maxItems":1},"ip_address":{"type":"TypeString","optional":true},"name":{"type":"TypeString","optional":true,"computed":true},"priority":{"type":"TypeInt","optional":true,"default":65000},"service_tag":{"type":"TypeString","optional":true},"virtual_network_subnet_id":{"type":"TypeString","optional":true}}}},"java_version":{"type":"TypeString","optional":true},"linux_fx_version":{"type":"TypeString","optional":true,"computed":true},"min_tls_version":{"type":"TypeString","optional":true,"computed":true},"pre_warmed_instance_count":{"type":"TypeInt","optional":true,"computed":true},"runtime_scale_monitoring_enabled":{"type":"TypeBool","optional":true,"default":false},"scm_ip_restriction":{"type":"TypeList","configMode":"Auto","optional":true,"computed":true,"elem":{"schema":{"action":{"type":"TypeString","optional":true,"default":"Allow"},"headers":{"type":"TypeList","configMode":"Auto","optional":true,"computed":true,"elem":{"schema":{"x_azure_fdid":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":8},"x_fd_health_probe":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":1},"x_forwarded_for":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":8},"x_forwarded_host":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":8}}},"maxItems":1},"ip_address":{"type":"TypeString","optional":true},"name":{"type":"TypeString","optional":true,"computed":true},"priority":{"type":"TypeInt","optional":true,"default":65000},"service_tag":{"type":"TypeString","optional":true},"virtual_network_subnet_id":{"type":"TypeString","optional":true}}}},"scm_type":{"type":"TypeString","optional":true,"computed":true},"scm_use_main_ip_restriction":{"type":"TypeBool","optional":true,"default":false},"use_32_bit_worker_process":{"type":"TypeBool","optional":true,"default":true},"vnet_route_all_enabled":{"type":"TypeBool","optional":true,"computed":true},"websockets_enabled":{"type":"TypeBool","optional":true,"default":false}}},"maxItems":1},"site_credential":{"type":"TypeList","computed":true,"elem":{"schema":{"password":{"type":"TypeString","computed":true},"username":{"type":"TypeString","computed":true}}}},"storage_account_access_key":{"type":"TypeString","required":true},"storage_account_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"version":{"type":"TypeString","optional":true,"default":"~1"}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_gallery_application":{"schema":{"description":{"type":"TypeString","optional":true},"end_of_life_date":{"type":"TypeString","optional":true},"eula":{"type":"TypeString","optional":true},"gallery_id":{"type":"TypeString","required":true,"forceNew":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"privacy_statement_uri":{"type":"TypeString","optional":true},"release_note_uri":{"type":"TypeString","optional":true},"supported_os_type":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_gallery_application_version":{"schema":{"config_file":{"type":"TypeString","optional":true,"forceNew":true},"enable_health_check":{"type":"TypeBool","optional":true,"default":false},"end_of_life_date":{"type":"TypeString","optional":true},"exclude_from_latest":{"type":"TypeBool","optional":true,"default":false},"gallery_application_id":{"type":"TypeString","required":true,"forceNew":true},"location":{"type":"TypeString","required":true,"forceNew":true},"manage_action":{"type":"TypeList","required":true,"elem":{"schema":{"install":{"type":"TypeString","required":true,"forceNew":true},"remove":{"type":"TypeString","required":true,"forceNew":true},"update":{"type":"TypeString","optional":true,"forceNew":true}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"package_file":{"type":"TypeString","optional":true,"forceNew":true},"source":{"type":"TypeList","required":true,"elem":{"schema":{"default_configuration_link":{"type":"TypeString","optional":true,"forceNew":true},"media_link":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"target_region":{"type":"TypeList","required":true,"elem":{"schema":{"exclude_from_latest":{"type":"TypeBool","optional":true,"default":false},"name":{"type":"TypeString","required":true},"regional_replica_count":{"type":"TypeInt","required":true},"storage_account_type":{"type":"TypeString","optional":true,"default":"Standard_LRS"}}}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_graph_services_account":{"schema":{"application_id":{"type":"TypeString","required":true,"forceNew":true},"billing_plan_id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_hdinsight_hadoop_cluster":{"schema":{"cluster_version":{"type":"TypeString","required":true,"forceNew":true},"component_version":{"type":"TypeList","required":true,"elem":{"schema":{"hadoop":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"compute_isolation":{"type":"TypeList","optional":true,"elem":{"schema":{"compute_isolation_enabled":{"type":"TypeBool","optional":true,"default":false},"host_sku":{"type":"TypeString","optional":true}}},"maxItems":1},"disk_encryption":{"type":"TypeList","optional":true,"elem":{"schema":{"encryption_algorithm":{"type":"TypeString","optional":true},"encryption_at_host_enabled":{"type":"TypeBool","optional":true},"key_vault_key_id":{"type":"TypeString","optional":true},"key_vault_managed_identity_id":{"type":"TypeString","optional":true}}}},"extension":{"type":"TypeList","optional":true,"elem":{"schema":{"log_analytics_workspace_id":{"type":"TypeString","required":true},"primary_key":{"type":"TypeString","required":true}}},"maxItems":1},"gateway":{"type":"TypeList","required":true,"elem":{"schema":{"password":{"type":"TypeString","required":true},"username":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"https_endpoint":{"type":"TypeString","computed":true},"location":{"type":"TypeString","required":true,"forceNew":true},"metastores":{"type":"TypeList","optional":true,"elem":{"schema":{"ambari":{"type":"TypeList","optional":true,"elem":{"schema":{"database_name":{"type":"TypeString","required":true,"forceNew":true},"password":{"type":"TypeString","required":true,"forceNew":true},"server":{"type":"TypeString","required":true,"forceNew":true},"username":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"hive":{"type":"TypeList","optional":true,"elem":{"schema":{"database_name":{"type":"TypeString","required":true,"forceNew":true},"password":{"type":"TypeString","required":true,"forceNew":true},"server":{"type":"TypeString","required":true,"forceNew":true},"username":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"oozie":{"type":"TypeList","optional":true,"elem":{"schema":{"database_name":{"type":"TypeString","required":true,"forceNew":true},"password":{"type":"TypeString","required":true,"forceNew":true},"server":{"type":"TypeString","required":true,"forceNew":true},"username":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1}}},"maxItems":1},"monitor":{"type":"TypeList","optional":true,"elem":{"schema":{"log_analytics_workspace_id":{"type":"TypeString","required":true},"primary_key":{"type":"TypeString","required":true}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"network":{"type":"TypeList","optional":true,"elem":{"schema":{"connection_direction":{"type":"TypeString","optional":true,"default":"Inbound","forceNew":true},"private_link_enabled":{"type":"TypeBool","optional":true,"default":false,"forceNew":true}}},"maxItems":1},"private_link_configuration":{"type":"TypeList","optional":true,"elem":{"schema":{"group_id":{"type":"TypeString","required":true},"ip_configuration":{"type":"TypeList","required":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"primary":{"type":"TypeBool","optional":true},"private_ip_address":{"type":"TypeString","optional":true},"private_ip_allocation_method":{"type":"TypeString","optional":true},"subnet_id":{"type":"TypeString","optional":true}}},"maxItems":1},"name":{"type":"TypeString","required":true}}},"maxItems":1},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"roles":{"type":"TypeList","required":true,"elem":{"schema":{"edge_node":{"type":"TypeList","optional":true,"elem":{"schema":{"https_endpoints":{"type":"TypeList","optional":true,"elem":{"schema":{"access_modes":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"destination_port":{"type":"TypeInt","optional":true},"disable_gateway_auth":{"type":"TypeBool","optional":true},"private_ip_address":{"type":"TypeString","optional":true},"sub_domain_suffix":{"type":"TypeString","optional":true}}}},"install_script_action":{"type":"TypeList","required":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"parameters":{"type":"TypeString","optional":true},"uri":{"type":"TypeString","required":true}}},"minItems":1},"target_instance_count":{"type":"TypeInt","required":true},"uninstall_script_actions":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"parameters":{"type":"TypeString","optional":true},"uri":{"type":"TypeString","required":true}}},"minItems":1},"vm_size":{"type":"TypeString","required":true}}},"maxItems":1},"head_node":{"type":"TypeList","required":true,"elem":{"schema":{"password":{"type":"TypeString","optional":true,"forceNew":true},"script_actions":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"parameters":{"type":"TypeString","optional":true},"uri":{"type":"TypeString","required":true}}},"minItems":1},"ssh_keys":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"subnet_id":{"type":"TypeString","optional":true,"forceNew":true},"username":{"type":"TypeString","required":true,"forceNew":true},"virtual_network_id":{"type":"TypeString","optional":true,"forceNew":true},"vm_size":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"worker_node":{"type":"TypeList","required":true,"elem":{"schema":{"autoscale":{"type":"TypeList","optional":true,"elem":{"schema":{"capacity":{"type":"TypeList","optional":true,"elem":{"schema":{"max_instance_count":{"type":"TypeInt","required":true},"min_instance_count":{"type":"TypeInt","required":true}}},"maxItems":1},"recurrence":{"type":"TypeList","optional":true,"elem":{"schema":{"schedule":{"type":"TypeList","required":true,"elem":{"schema":{"days":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}},"target_instance_count":{"type":"TypeInt","required":true},"time":{"type":"TypeString","required":true}}},"minItems":1},"timezone":{"type":"TypeString","required":true}}},"maxItems":1}}},"maxItems":1},"password":{"type":"TypeString","optional":true,"forceNew":true},"script_actions":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"parameters":{"type":"TypeString","optional":true},"uri":{"type":"TypeString","required":true}}},"minItems":1},"ssh_keys":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"subnet_id":{"type":"TypeString","optional":true,"forceNew":true},"target_instance_count":{"type":"TypeInt","required":true},"username":{"type":"TypeString","required":true,"forceNew":true},"virtual_network_id":{"type":"TypeString","optional":true,"forceNew":true},"vm_size":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"zookeeper_node":{"type":"TypeList","required":true,"elem":{"schema":{"password":{"type":"TypeString","optional":true,"forceNew":true},"script_actions":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"parameters":{"type":"TypeString","optional":true},"uri":{"type":"TypeString","required":true}}},"minItems":1},"ssh_keys":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"subnet_id":{"type":"TypeString","optional":true,"forceNew":true},"username":{"type":"TypeString","required":true,"forceNew":true},"virtual_network_id":{"type":"TypeString","optional":true,"forceNew":true},"vm_size":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1}}},"maxItems":1},"security_profile":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"aadds_resource_id":{"type":"TypeString","required":true,"forceNew":true},"cluster_users_group_dns":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"domain_name":{"type":"TypeString","required":true,"forceNew":true},"domain_user_password":{"type":"TypeString","required":true,"forceNew":true},"domain_username":{"type":"TypeString","required":true,"forceNew":true},"ldaps_urls":{"type":"TypeSet","required":true,"forceNew":true,"elem":{"type":"TypeString"}},"msi_resource_id":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"ssh_endpoint":{"type":"TypeString","computed":true},"storage_account":{"type":"TypeList","optional":true,"elem":{"schema":{"is_default":{"type":"TypeBool","required":true,"forceNew":true},"storage_account_key":{"type":"TypeString","required":true,"forceNew":true},"storage_container_id":{"type":"TypeString","required":true,"forceNew":true},"storage_resource_id":{"type":"TypeString","optional":true,"forceNew":true}}}},"storage_account_gen2":{"type":"TypeList","optional":true,"elem":{"schema":{"filesystem_id":{"type":"TypeString","required":true,"forceNew":true},"is_default":{"type":"TypeBool","required":true,"forceNew":true},"managed_identity_resource_id":{"type":"TypeString","required":true,"forceNew":true},"storage_resource_id":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"tier":{"type":"TypeString","required":true,"forceNew":true},"tls_min_version":{"type":"TypeString","optional":true,"forceNew":true}},"timeouts":{"create":60,"read":5,"delete":60,"update":60}},"azurerm_hdinsight_hbase_cluster":{"schema":{"cluster_version":{"type":"TypeString","required":true,"forceNew":true},"component_version":{"type":"TypeList","required":true,"elem":{"schema":{"hbase":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"compute_isolation":{"type":"TypeList","optional":true,"elem":{"schema":{"compute_isolation_enabled":{"type":"TypeBool","optional":true,"default":false},"host_sku":{"type":"TypeString","optional":true}}},"maxItems":1},"disk_encryption":{"type":"TypeList","optional":true,"elem":{"schema":{"encryption_algorithm":{"type":"TypeString","optional":true},"encryption_at_host_enabled":{"type":"TypeBool","optional":true},"key_vault_key_id":{"type":"TypeString","optional":true},"key_vault_managed_identity_id":{"type":"TypeString","optional":true}}}},"extension":{"type":"TypeList","optional":true,"elem":{"schema":{"log_analytics_workspace_id":{"type":"TypeString","required":true},"primary_key":{"type":"TypeString","required":true}}},"maxItems":1},"gateway":{"type":"TypeList","required":true,"elem":{"schema":{"password":{"type":"TypeString","required":true},"username":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"https_endpoint":{"type":"TypeString","computed":true},"location":{"type":"TypeString","required":true,"forceNew":true},"metastores":{"type":"TypeList","optional":true,"elem":{"schema":{"ambari":{"type":"TypeList","optional":true,"elem":{"schema":{"database_name":{"type":"TypeString","required":true,"forceNew":true},"password":{"type":"TypeString","required":true,"forceNew":true},"server":{"type":"TypeString","required":true,"forceNew":true},"username":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"hive":{"type":"TypeList","optional":true,"elem":{"schema":{"database_name":{"type":"TypeString","required":true,"forceNew":true},"password":{"type":"TypeString","required":true,"forceNew":true},"server":{"type":"TypeString","required":true,"forceNew":true},"username":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"oozie":{"type":"TypeList","optional":true,"elem":{"schema":{"database_name":{"type":"TypeString","required":true,"forceNew":true},"password":{"type":"TypeString","required":true,"forceNew":true},"server":{"type":"TypeString","required":true,"forceNew":true},"username":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1}}},"maxItems":1},"monitor":{"type":"TypeList","optional":true,"elem":{"schema":{"log_analytics_workspace_id":{"type":"TypeString","required":true},"primary_key":{"type":"TypeString","required":true}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"network":{"type":"TypeList","optional":true,"elem":{"schema":{"connection_direction":{"type":"TypeString","optional":true,"default":"Inbound","forceNew":true},"private_link_enabled":{"type":"TypeBool","optional":true,"default":false,"forceNew":true}}},"maxItems":1},"private_link_configuration":{"type":"TypeList","optional":true,"elem":{"schema":{"group_id":{"type":"TypeString","required":true},"ip_configuration":{"type":"TypeList","required":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"primary":{"type":"TypeBool","optional":true},"private_ip_address":{"type":"TypeString","optional":true},"private_ip_allocation_method":{"type":"TypeString","optional":true},"subnet_id":{"type":"TypeString","optional":true}}},"maxItems":1},"name":{"type":"TypeString","required":true}}},"maxItems":1},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"roles":{"type":"TypeList","required":true,"elem":{"schema":{"head_node":{"type":"TypeList","required":true,"elem":{"schema":{"password":{"type":"TypeString","optional":true,"forceNew":true},"script_actions":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"parameters":{"type":"TypeString","optional":true},"uri":{"type":"TypeString","required":true}}},"minItems":1},"ssh_keys":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"subnet_id":{"type":"TypeString","optional":true,"forceNew":true},"username":{"type":"TypeString","required":true,"forceNew":true},"virtual_network_id":{"type":"TypeString","optional":true,"forceNew":true},"vm_size":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"worker_node":{"type":"TypeList","required":true,"elem":{"schema":{"autoscale":{"type":"TypeList","optional":true,"elem":{"schema":{"recurrence":{"type":"TypeList","optional":true,"elem":{"schema":{"schedule":{"type":"TypeList","required":true,"elem":{"schema":{"days":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}},"target_instance_count":{"type":"TypeInt","required":true},"time":{"type":"TypeString","required":true}}},"minItems":1},"timezone":{"type":"TypeString","required":true}}},"maxItems":1}}},"maxItems":1},"password":{"type":"TypeString","optional":true,"forceNew":true},"script_actions":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"parameters":{"type":"TypeString","optional":true},"uri":{"type":"TypeString","required":true}}},"minItems":1},"ssh_keys":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"subnet_id":{"type":"TypeString","optional":true,"forceNew":true},"target_instance_count":{"type":"TypeInt","required":true},"username":{"type":"TypeString","required":true,"forceNew":true},"virtual_network_id":{"type":"TypeString","optional":true,"forceNew":true},"vm_size":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"zookeeper_node":{"type":"TypeList","required":true,"elem":{"schema":{"password":{"type":"TypeString","optional":true,"forceNew":true},"script_actions":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"parameters":{"type":"TypeString","optional":true},"uri":{"type":"TypeString","required":true}}},"minItems":1},"ssh_keys":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"subnet_id":{"type":"TypeString","optional":true,"forceNew":true},"username":{"type":"TypeString","required":true,"forceNew":true},"virtual_network_id":{"type":"TypeString","optional":true,"forceNew":true},"vm_size":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1}}},"maxItems":1},"security_profile":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"aadds_resource_id":{"type":"TypeString","required":true,"forceNew":true},"cluster_users_group_dns":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"domain_name":{"type":"TypeString","required":true,"forceNew":true},"domain_user_password":{"type":"TypeString","required":true,"forceNew":true},"domain_username":{"type":"TypeString","required":true,"forceNew":true},"ldaps_urls":{"type":"TypeSet","required":true,"forceNew":true,"elem":{"type":"TypeString"}},"msi_resource_id":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"ssh_endpoint":{"type":"TypeString","computed":true},"storage_account":{"type":"TypeList","optional":true,"elem":{"schema":{"is_default":{"type":"TypeBool","required":true,"forceNew":true},"storage_account_key":{"type":"TypeString","required":true,"forceNew":true},"storage_container_id":{"type":"TypeString","required":true,"forceNew":true},"storage_resource_id":{"type":"TypeString","optional":true,"forceNew":true}}}},"storage_account_gen2":{"type":"TypeList","optional":true,"elem":{"schema":{"filesystem_id":{"type":"TypeString","required":true,"forceNew":true},"is_default":{"type":"TypeBool","required":true,"forceNew":true},"managed_identity_resource_id":{"type":"TypeString","required":true,"forceNew":true},"storage_resource_id":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"tier":{"type":"TypeString","required":true,"forceNew":true},"tls_min_version":{"type":"TypeString","optional":true,"forceNew":true}},"timeouts":{"create":60,"read":5,"delete":60,"update":60}},"azurerm_hdinsight_interactive_query_cluster":{"schema":{"cluster_version":{"type":"TypeString","required":true,"forceNew":true},"component_version":{"type":"TypeList","required":true,"elem":{"schema":{"interactive_hive":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"compute_isolation":{"type":"TypeList","optional":true,"elem":{"schema":{"compute_isolation_enabled":{"type":"TypeBool","optional":true,"default":false},"host_sku":{"type":"TypeString","optional":true}}},"maxItems":1},"disk_encryption":{"type":"TypeList","optional":true,"elem":{"schema":{"encryption_algorithm":{"type":"TypeString","optional":true},"encryption_at_host_enabled":{"type":"TypeBool","optional":true},"key_vault_key_id":{"type":"TypeString","optional":true},"key_vault_managed_identity_id":{"type":"TypeString","optional":true}}}},"encryption_in_transit_enabled":{"type":"TypeBool","optional":true,"forceNew":true},"extension":{"type":"TypeList","optional":true,"elem":{"schema":{"log_analytics_workspace_id":{"type":"TypeString","required":true},"primary_key":{"type":"TypeString","required":true}}},"maxItems":1},"gateway":{"type":"TypeList","required":true,"elem":{"schema":{"password":{"type":"TypeString","required":true},"username":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"https_endpoint":{"type":"TypeString","computed":true},"location":{"type":"TypeString","required":true,"forceNew":true},"metastores":{"type":"TypeList","optional":true,"elem":{"schema":{"ambari":{"type":"TypeList","optional":true,"elem":{"schema":{"database_name":{"type":"TypeString","required":true,"forceNew":true},"password":{"type":"TypeString","required":true,"forceNew":true},"server":{"type":"TypeString","required":true,"forceNew":true},"username":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"hive":{"type":"TypeList","optional":true,"elem":{"schema":{"database_name":{"type":"TypeString","required":true,"forceNew":true},"password":{"type":"TypeString","required":true,"forceNew":true},"server":{"type":"TypeString","required":true,"forceNew":true},"username":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"oozie":{"type":"TypeList","optional":true,"elem":{"schema":{"database_name":{"type":"TypeString","required":true,"forceNew":true},"password":{"type":"TypeString","required":true,"forceNew":true},"server":{"type":"TypeString","required":true,"forceNew":true},"username":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1}}},"maxItems":1},"monitor":{"type":"TypeList","optional":true,"elem":{"schema":{"log_analytics_workspace_id":{"type":"TypeString","required":true},"primary_key":{"type":"TypeString","required":true}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"network":{"type":"TypeList","optional":true,"elem":{"schema":{"connection_direction":{"type":"TypeString","optional":true,"default":"Inbound","forceNew":true},"private_link_enabled":{"type":"TypeBool","optional":true,"default":false,"forceNew":true}}},"maxItems":1},"private_link_configuration":{"type":"TypeList","optional":true,"elem":{"schema":{"group_id":{"type":"TypeString","required":true},"ip_configuration":{"type":"TypeList","required":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"primary":{"type":"TypeBool","optional":true},"private_ip_address":{"type":"TypeString","optional":true},"private_ip_allocation_method":{"type":"TypeString","optional":true},"subnet_id":{"type":"TypeString","optional":true}}},"maxItems":1},"name":{"type":"TypeString","required":true}}},"maxItems":1},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"roles":{"type":"TypeList","required":true,"elem":{"schema":{"head_node":{"type":"TypeList","required":true,"elem":{"schema":{"password":{"type":"TypeString","optional":true,"forceNew":true},"script_actions":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"parameters":{"type":"TypeString","optional":true},"uri":{"type":"TypeString","required":true}}},"minItems":1},"ssh_keys":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"subnet_id":{"type":"TypeString","optional":true,"forceNew":true},"username":{"type":"TypeString","required":true,"forceNew":true},"virtual_network_id":{"type":"TypeString","optional":true,"forceNew":true},"vm_size":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"worker_node":{"type":"TypeList","required":true,"elem":{"schema":{"autoscale":{"type":"TypeList","optional":true,"elem":{"schema":{"recurrence":{"type":"TypeList","optional":true,"elem":{"schema":{"schedule":{"type":"TypeList","required":true,"elem":{"schema":{"days":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}},"target_instance_count":{"type":"TypeInt","required":true},"time":{"type":"TypeString","required":true}}},"minItems":1},"timezone":{"type":"TypeString","required":true}}},"maxItems":1}}},"maxItems":1},"password":{"type":"TypeString","optional":true,"forceNew":true},"script_actions":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"parameters":{"type":"TypeString","optional":true},"uri":{"type":"TypeString","required":true}}},"minItems":1},"ssh_keys":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"subnet_id":{"type":"TypeString","optional":true,"forceNew":true},"target_instance_count":{"type":"TypeInt","required":true},"username":{"type":"TypeString","required":true,"forceNew":true},"virtual_network_id":{"type":"TypeString","optional":true,"forceNew":true},"vm_size":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"zookeeper_node":{"type":"TypeList","required":true,"elem":{"schema":{"password":{"type":"TypeString","optional":true,"forceNew":true},"script_actions":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"parameters":{"type":"TypeString","optional":true},"uri":{"type":"TypeString","required":true}}},"minItems":1},"ssh_keys":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"subnet_id":{"type":"TypeString","optional":true,"forceNew":true},"username":{"type":"TypeString","required":true,"forceNew":true},"virtual_network_id":{"type":"TypeString","optional":true,"forceNew":true},"vm_size":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1}}},"maxItems":1},"security_profile":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"aadds_resource_id":{"type":"TypeString","required":true,"forceNew":true},"cluster_users_group_dns":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"domain_name":{"type":"TypeString","required":true,"forceNew":true},"domain_user_password":{"type":"TypeString","required":true,"forceNew":true},"domain_username":{"type":"TypeString","required":true,"forceNew":true},"ldaps_urls":{"type":"TypeSet","required":true,"forceNew":true,"elem":{"type":"TypeString"}},"msi_resource_id":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"ssh_endpoint":{"type":"TypeString","computed":true},"storage_account":{"type":"TypeList","optional":true,"elem":{"schema":{"is_default":{"type":"TypeBool","required":true,"forceNew":true},"storage_account_key":{"type":"TypeString","required":true,"forceNew":true},"storage_container_id":{"type":"TypeString","required":true,"forceNew":true},"storage_resource_id":{"type":"TypeString","optional":true,"forceNew":true}}}},"storage_account_gen2":{"type":"TypeList","optional":true,"elem":{"schema":{"filesystem_id":{"type":"TypeString","required":true,"forceNew":true},"is_default":{"type":"TypeBool","required":true,"forceNew":true},"managed_identity_resource_id":{"type":"TypeString","required":true,"forceNew":true},"storage_resource_id":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"tier":{"type":"TypeString","required":true,"forceNew":true},"tls_min_version":{"type":"TypeString","optional":true,"forceNew":true}},"timeouts":{"create":60,"read":5,"delete":60,"update":60}},"azurerm_hdinsight_kafka_cluster":{"schema":{"cluster_version":{"type":"TypeString","required":true,"forceNew":true},"component_version":{"type":"TypeList","required":true,"elem":{"schema":{"kafka":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"compute_isolation":{"type":"TypeList","optional":true,"elem":{"schema":{"compute_isolation_enabled":{"type":"TypeBool","optional":true,"default":false},"host_sku":{"type":"TypeString","optional":true}}},"maxItems":1},"disk_encryption":{"type":"TypeList","optional":true,"elem":{"schema":{"encryption_algorithm":{"type":"TypeString","optional":true},"encryption_at_host_enabled":{"type":"TypeBool","optional":true},"key_vault_key_id":{"type":"TypeString","optional":true},"key_vault_managed_identity_id":{"type":"TypeString","optional":true}}}},"encryption_in_transit_enabled":{"type":"TypeBool","optional":true,"forceNew":true},"extension":{"type":"TypeList","optional":true,"elem":{"schema":{"log_analytics_workspace_id":{"type":"TypeString","required":true},"primary_key":{"type":"TypeString","required":true}}},"maxItems":1},"gateway":{"type":"TypeList","required":true,"elem":{"schema":{"password":{"type":"TypeString","required":true},"username":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"https_endpoint":{"type":"TypeString","computed":true},"kafka_rest_proxy_endpoint":{"type":"TypeString","computed":true},"location":{"type":"TypeString","required":true,"forceNew":true},"metastores":{"type":"TypeList","optional":true,"elem":{"schema":{"ambari":{"type":"TypeList","optional":true,"elem":{"schema":{"database_name":{"type":"TypeString","required":true,"forceNew":true},"password":{"type":"TypeString","required":true,"forceNew":true},"server":{"type":"TypeString","required":true,"forceNew":true},"username":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"hive":{"type":"TypeList","optional":true,"elem":{"schema":{"database_name":{"type":"TypeString","required":true,"forceNew":true},"password":{"type":"TypeString","required":true,"forceNew":true},"server":{"type":"TypeString","required":true,"forceNew":true},"username":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"oozie":{"type":"TypeList","optional":true,"elem":{"schema":{"database_name":{"type":"TypeString","required":true,"forceNew":true},"password":{"type":"TypeString","required":true,"forceNew":true},"server":{"type":"TypeString","required":true,"forceNew":true},"username":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1}}},"maxItems":1},"monitor":{"type":"TypeList","optional":true,"elem":{"schema":{"log_analytics_workspace_id":{"type":"TypeString","required":true},"primary_key":{"type":"TypeString","required":true}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"network":{"type":"TypeList","optional":true,"elem":{"schema":{"connection_direction":{"type":"TypeString","optional":true,"default":"Inbound","forceNew":true},"private_link_enabled":{"type":"TypeBool","optional":true,"default":false,"forceNew":true}}},"maxItems":1},"private_link_configuration":{"type":"TypeList","optional":true,"elem":{"schema":{"group_id":{"type":"TypeString","required":true},"ip_configuration":{"type":"TypeList","required":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"primary":{"type":"TypeBool","optional":true},"private_ip_address":{"type":"TypeString","optional":true},"private_ip_allocation_method":{"type":"TypeString","optional":true},"subnet_id":{"type":"TypeString","optional":true}}},"maxItems":1},"name":{"type":"TypeString","required":true}}},"maxItems":1},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"rest_proxy":{"type":"TypeList","optional":true,"elem":{"schema":{"security_group_id":{"type":"TypeString","required":true,"forceNew":true},"security_group_name":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"roles":{"type":"TypeList","required":true,"elem":{"schema":{"head_node":{"type":"TypeList","required":true,"elem":{"schema":{"password":{"type":"TypeString","optional":true,"forceNew":true},"script_actions":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"parameters":{"type":"TypeString","optional":true},"uri":{"type":"TypeString","required":true}}},"minItems":1},"ssh_keys":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"subnet_id":{"type":"TypeString","optional":true,"forceNew":true},"username":{"type":"TypeString","required":true,"forceNew":true},"virtual_network_id":{"type":"TypeString","optional":true,"forceNew":true},"vm_size":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"kafka_management_node":{"type":"TypeList","optional":true,"elem":{"schema":{"password":{"type":"TypeString","optional":true,"forceNew":true},"script_actions":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"parameters":{"type":"TypeString","optional":true},"uri":{"type":"TypeString","required":true}}},"minItems":1},"ssh_keys":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"subnet_id":{"type":"TypeString","optional":true,"forceNew":true},"username":{"type":"TypeString","computed":true},"virtual_network_id":{"type":"TypeString","optional":true,"forceNew":true},"vm_size":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"worker_node":{"type":"TypeList","required":true,"elem":{"schema":{"number_of_disks_per_node":{"type":"TypeInt","required":true,"forceNew":true},"password":{"type":"TypeString","optional":true,"forceNew":true},"script_actions":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"parameters":{"type":"TypeString","optional":true},"uri":{"type":"TypeString","required":true}}},"minItems":1},"ssh_keys":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"subnet_id":{"type":"TypeString","optional":true,"forceNew":true},"target_instance_count":{"type":"TypeInt","required":true},"username":{"type":"TypeString","required":true,"forceNew":true},"virtual_network_id":{"type":"TypeString","optional":true,"forceNew":true},"vm_size":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"zookeeper_node":{"type":"TypeList","required":true,"elem":{"schema":{"password":{"type":"TypeString","optional":true,"forceNew":true},"script_actions":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"parameters":{"type":"TypeString","optional":true},"uri":{"type":"TypeString","required":true}}},"minItems":1},"ssh_keys":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"subnet_id":{"type":"TypeString","optional":true,"forceNew":true},"username":{"type":"TypeString","required":true,"forceNew":true},"virtual_network_id":{"type":"TypeString","optional":true,"forceNew":true},"vm_size":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1}}},"maxItems":1},"security_profile":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"aadds_resource_id":{"type":"TypeString","required":true,"forceNew":true},"cluster_users_group_dns":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"domain_name":{"type":"TypeString","required":true,"forceNew":true},"domain_user_password":{"type":"TypeString","required":true,"forceNew":true},"domain_username":{"type":"TypeString","required":true,"forceNew":true},"ldaps_urls":{"type":"TypeSet","required":true,"forceNew":true,"elem":{"type":"TypeString"}},"msi_resource_id":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"ssh_endpoint":{"type":"TypeString","computed":true},"storage_account":{"type":"TypeList","optional":true,"elem":{"schema":{"is_default":{"type":"TypeBool","required":true,"forceNew":true},"storage_account_key":{"type":"TypeString","required":true,"forceNew":true},"storage_container_id":{"type":"TypeString","required":true,"forceNew":true},"storage_resource_id":{"type":"TypeString","optional":true,"forceNew":true}}}},"storage_account_gen2":{"type":"TypeList","optional":true,"elem":{"schema":{"filesystem_id":{"type":"TypeString","required":true,"forceNew":true},"is_default":{"type":"TypeBool","required":true,"forceNew":true},"managed_identity_resource_id":{"type":"TypeString","required":true,"forceNew":true},"storage_resource_id":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"tier":{"type":"TypeString","required":true,"forceNew":true},"tls_min_version":{"type":"TypeString","optional":true,"forceNew":true}},"timeouts":{"create":60,"read":5,"delete":60,"update":60}},"azurerm_hdinsight_spark_cluster":{"schema":{"cluster_version":{"type":"TypeString","required":true,"forceNew":true},"component_version":{"type":"TypeList","required":true,"elem":{"schema":{"spark":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"compute_isolation":{"type":"TypeList","optional":true,"elem":{"schema":{"compute_isolation_enabled":{"type":"TypeBool","optional":true,"default":false},"host_sku":{"type":"TypeString","optional":true}}},"maxItems":1},"disk_encryption":{"type":"TypeList","optional":true,"elem":{"schema":{"encryption_algorithm":{"type":"TypeString","optional":true},"encryption_at_host_enabled":{"type":"TypeBool","optional":true},"key_vault_key_id":{"type":"TypeString","optional":true},"key_vault_managed_identity_id":{"type":"TypeString","optional":true}}}},"encryption_in_transit_enabled":{"type":"TypeBool","optional":true,"forceNew":true},"extension":{"type":"TypeList","optional":true,"elem":{"schema":{"log_analytics_workspace_id":{"type":"TypeString","required":true},"primary_key":{"type":"TypeString","required":true}}},"maxItems":1},"gateway":{"type":"TypeList","required":true,"elem":{"schema":{"password":{"type":"TypeString","required":true},"username":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"https_endpoint":{"type":"TypeString","computed":true},"location":{"type":"TypeString","required":true,"forceNew":true},"metastores":{"type":"TypeList","optional":true,"elem":{"schema":{"ambari":{"type":"TypeList","optional":true,"elem":{"schema":{"database_name":{"type":"TypeString","required":true,"forceNew":true},"password":{"type":"TypeString","required":true,"forceNew":true},"server":{"type":"TypeString","required":true,"forceNew":true},"username":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"hive":{"type":"TypeList","optional":true,"elem":{"schema":{"database_name":{"type":"TypeString","required":true,"forceNew":true},"password":{"type":"TypeString","required":true,"forceNew":true},"server":{"type":"TypeString","required":true,"forceNew":true},"username":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"oozie":{"type":"TypeList","optional":true,"elem":{"schema":{"database_name":{"type":"TypeString","required":true,"forceNew":true},"password":{"type":"TypeString","required":true,"forceNew":true},"server":{"type":"TypeString","required":true,"forceNew":true},"username":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1}}},"maxItems":1},"monitor":{"type":"TypeList","optional":true,"elem":{"schema":{"log_analytics_workspace_id":{"type":"TypeString","required":true},"primary_key":{"type":"TypeString","required":true}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"network":{"type":"TypeList","optional":true,"elem":{"schema":{"connection_direction":{"type":"TypeString","optional":true,"default":"Inbound","forceNew":true},"private_link_enabled":{"type":"TypeBool","optional":true,"default":false,"forceNew":true}}},"maxItems":1},"private_link_configuration":{"type":"TypeList","optional":true,"elem":{"schema":{"group_id":{"type":"TypeString","required":true},"ip_configuration":{"type":"TypeList","required":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"primary":{"type":"TypeBool","optional":true},"private_ip_address":{"type":"TypeString","optional":true},"private_ip_allocation_method":{"type":"TypeString","optional":true},"subnet_id":{"type":"TypeString","optional":true}}},"maxItems":1},"name":{"type":"TypeString","required":true}}},"maxItems":1},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"roles":{"type":"TypeList","required":true,"elem":{"schema":{"head_node":{"type":"TypeList","required":true,"elem":{"schema":{"password":{"type":"TypeString","optional":true,"forceNew":true},"script_actions":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"parameters":{"type":"TypeString","optional":true},"uri":{"type":"TypeString","required":true}}},"minItems":1},"ssh_keys":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"subnet_id":{"type":"TypeString","optional":true,"forceNew":true},"username":{"type":"TypeString","required":true,"forceNew":true},"virtual_network_id":{"type":"TypeString","optional":true,"forceNew":true},"vm_size":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"worker_node":{"type":"TypeList","required":true,"elem":{"schema":{"autoscale":{"type":"TypeList","optional":true,"elem":{"schema":{"capacity":{"type":"TypeList","optional":true,"elem":{"schema":{"max_instance_count":{"type":"TypeInt","required":true},"min_instance_count":{"type":"TypeInt","required":true}}},"maxItems":1},"recurrence":{"type":"TypeList","optional":true,"elem":{"schema":{"schedule":{"type":"TypeList","required":true,"elem":{"schema":{"days":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}},"target_instance_count":{"type":"TypeInt","required":true},"time":{"type":"TypeString","required":true}}},"minItems":1},"timezone":{"type":"TypeString","required":true}}},"maxItems":1}}},"maxItems":1},"password":{"type":"TypeString","optional":true,"forceNew":true},"script_actions":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"parameters":{"type":"TypeString","optional":true},"uri":{"type":"TypeString","required":true}}},"minItems":1},"ssh_keys":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"subnet_id":{"type":"TypeString","optional":true,"forceNew":true},"target_instance_count":{"type":"TypeInt","required":true},"username":{"type":"TypeString","required":true,"forceNew":true},"virtual_network_id":{"type":"TypeString","optional":true,"forceNew":true},"vm_size":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"zookeeper_node":{"type":"TypeList","required":true,"elem":{"schema":{"password":{"type":"TypeString","optional":true,"forceNew":true},"script_actions":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"parameters":{"type":"TypeString","optional":true},"uri":{"type":"TypeString","required":true}}},"minItems":1},"ssh_keys":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"subnet_id":{"type":"TypeString","optional":true,"forceNew":true},"username":{"type":"TypeString","required":true,"forceNew":true},"virtual_network_id":{"type":"TypeString","optional":true,"forceNew":true},"vm_size":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1}}},"maxItems":1},"security_profile":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"aadds_resource_id":{"type":"TypeString","required":true,"forceNew":true},"cluster_users_group_dns":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"domain_name":{"type":"TypeString","required":true,"forceNew":true},"domain_user_password":{"type":"TypeString","required":true,"forceNew":true},"domain_username":{"type":"TypeString","required":true,"forceNew":true},"ldaps_urls":{"type":"TypeSet","required":true,"forceNew":true,"elem":{"type":"TypeString"}},"msi_resource_id":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"ssh_endpoint":{"type":"TypeString","computed":true},"storage_account":{"type":"TypeList","optional":true,"elem":{"schema":{"is_default":{"type":"TypeBool","required":true,"forceNew":true},"storage_account_key":{"type":"TypeString","required":true,"forceNew":true},"storage_container_id":{"type":"TypeString","required":true,"forceNew":true},"storage_resource_id":{"type":"TypeString","optional":true,"forceNew":true}}}},"storage_account_gen2":{"type":"TypeList","optional":true,"elem":{"schema":{"filesystem_id":{"type":"TypeString","required":true,"forceNew":true},"is_default":{"type":"TypeBool","required":true,"forceNew":true},"managed_identity_resource_id":{"type":"TypeString","required":true,"forceNew":true},"storage_resource_id":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"tier":{"type":"TypeString","required":true,"forceNew":true},"tls_min_version":{"type":"TypeString","optional":true,"forceNew":true}},"timeouts":{"create":60,"read":5,"delete":60,"update":60}},"azurerm_healthbot":{"schema":{"bot_management_portal_url":{"type":"TypeString","computed":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"sku_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_healthcare_dicom_service":{"schema":{"authentication":{"type":"TypeList","computed":true,"elem":{"schema":{"audience":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"authority":{"type":"TypeString","computed":true}}}},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"private_endpoint":{"type":"TypeSet","computed":true,"elem":{"schema":{"id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true}}}},"public_network_access_enabled":{"type":"TypeBool","optional":true,"default":true},"service_url":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"workspace_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":90,"read":5,"delete":30,"update":90}},"azurerm_healthcare_fhir_service":{"schema":{"access_policy_object_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"authentication":{"type":"TypeList","required":true,"elem":{"schema":{"audience":{"type":"TypeString","required":true},"authority":{"type":"TypeString","required":true},"smart_proxy_enabled":{"type":"TypeBool","optional":true}}},"maxItems":1},"configuration_export_storage_account_name":{"type":"TypeString","optional":true},"container_registry_login_server_url":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"cors":{"type":"TypeList","optional":true,"elem":{"schema":{"allowed_headers":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"},"maxItems":64},"allowed_methods":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"},"maxItems":64},"allowed_origins":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"},"maxItems":64},"credentials_allowed":{"type":"TypeBool","optional":true,"default":false},"max_age_in_seconds":{"type":"TypeInt","optional":true}}},"maxItems":1},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"kind":{"type":"TypeString","optional":true,"default":"fhir-R4","forceNew":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"oci_artifact":{"type":"TypeList","optional":true,"elem":{"schema":{"digest":{"type":"TypeString","optional":true},"image_name":{"type":"TypeString","optional":true},"login_server":{"type":"TypeString","required":true}}}},"public_network_access_enabled":{"type":"TypeBool","computed":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"workspace_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":90,"read":5,"delete":30,"update":90}},"azurerm_healthcare_medtech_service":{"schema":{"device_mapping_json":{"type":"TypeString","required":true},"eventhub_consumer_group_name":{"type":"TypeString","required":true},"eventhub_name":{"type":"TypeString","required":true},"eventhub_namespace_name":{"type":"TypeString","required":true},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"workspace_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":90,"read":5,"delete":90,"update":90}},"azurerm_healthcare_medtech_service_fhir_destination":{"schema":{"destination_fhir_mapping_json":{"type":"TypeString","required":true},"destination_fhir_service_id":{"type":"TypeString","required":true},"destination_identity_resolution_type":{"type":"TypeString","required":true},"location":{"type":"TypeString","required":true,"forceNew":true},"medtech_service_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":90,"read":5,"delete":90,"update":90}},"azurerm_healthcare_service":{"schema":{"access_policy_object_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"authentication_configuration":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"audience":{"type":"TypeString","optional":true},"authority":{"type":"TypeString","optional":true},"smart_proxy_enabled":{"type":"TypeBool","optional":true}}},"maxItems":1},"configuration_export_storage_account_name":{"type":"TypeString","optional":true},"cors_configuration":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"allow_credentials":{"type":"TypeBool","optional":true},"allowed_headers":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":64},"allowed_methods":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"maxItems":64},"allowed_origins":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":64},"max_age_in_seconds":{"type":"TypeInt","optional":true}}},"maxItems":1},"cosmosdb_key_vault_key_versionless_id":{"type":"TypeString","optional":true,"forceNew":true},"cosmosdb_throughput":{"type":"TypeInt","optional":true,"default":1000},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"kind":{"type":"TypeString","optional":true,"default":"fhir"},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"public_network_access_enabled":{"type":"TypeBool","optional":true,"default":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_healthcare_workspace":{"schema":{"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"private_endpoint_connection":{"type":"TypeSet","computed":true,"elem":{"schema":{"id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true}}}},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_hpc_cache":{"schema":{"automatically_rotate_key_to_latest_enabled":{"type":"TypeBool","optional":true},"cache_size_in_gb":{"type":"TypeInt","required":true,"forceNew":true},"default_access_policy":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"access_rule":{"type":"TypeSet","required":true,"elem":{"schema":{"access":{"type":"TypeString","required":true},"anonymous_gid":{"type":"TypeInt","optional":true},"anonymous_uid":{"type":"TypeInt","optional":true},"filter":{"type":"TypeString","optional":true},"root_squash_enabled":{"type":"TypeBool","optional":true},"scope":{"type":"TypeString","required":true},"submount_access_enabled":{"type":"TypeBool","optional":true},"suid_enabled":{"type":"TypeBool","optional":true}}},"maxItems":3,"minItems":1}}},"maxItems":1,"minItems":1},"directory_active_directory":{"type":"TypeList","optional":true,"elem":{"schema":{"cache_netbios_name":{"type":"TypeString","required":true},"dns_primary_ip":{"type":"TypeString","required":true},"dns_secondary_ip":{"type":"TypeString","optional":true},"domain_name":{"type":"TypeString","required":true},"domain_netbios_name":{"type":"TypeString","required":true},"password":{"type":"TypeString","required":true},"username":{"type":"TypeString","required":true}}},"maxItems":1},"directory_flat_file":{"type":"TypeList","optional":true,"elem":{"schema":{"group_file_uri":{"type":"TypeString","required":true},"password_file_uri":{"type":"TypeString","required":true}}},"maxItems":1},"directory_ldap":{"type":"TypeList","optional":true,"elem":{"schema":{"base_dn":{"type":"TypeString","required":true},"bind":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"dn":{"type":"TypeString","required":true},"password":{"type":"TypeString","required":true}}},"maxItems":1},"certificate_validation_uri":{"type":"TypeString","optional":true},"download_certificate_automatically":{"type":"TypeBool","optional":true},"encrypted":{"type":"TypeBool","optional":true},"server":{"type":"TypeString","required":true}}},"maxItems":1},"dns":{"type":"TypeList","optional":true,"elem":{"schema":{"search_domain":{"type":"TypeString","optional":true},"servers":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"maxItems":3}}},"maxItems":1},"identity":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"key_vault_key_id":{"type":"TypeString","optional":true},"location":{"type":"TypeString","required":true,"forceNew":true},"mount_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"mtu":{"type":"TypeInt","optional":true,"default":1500},"name":{"type":"TypeString","required":true,"forceNew":true},"ntp_server":{"type":"TypeString","optional":true,"default":"time.windows.com"},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"sku_name":{"type":"TypeString","required":true,"forceNew":true},"subnet_id":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":60,"read":5,"delete":60,"update":60}},"azurerm_hpc_cache_access_policy":{"schema":{"access_rule":{"type":"TypeSet","required":true,"elem":{"schema":{"access":{"type":"TypeString","required":true},"anonymous_gid":{"type":"TypeInt","optional":true},"anonymous_uid":{"type":"TypeInt","optional":true},"filter":{"type":"TypeString","optional":true},"root_squash_enabled":{"type":"TypeBool","optional":true},"scope":{"type":"TypeString","required":true},"submount_access_enabled":{"type":"TypeBool","optional":true},"suid_enabled":{"type":"TypeBool","optional":true}}},"maxItems":3,"minItems":1},"hpc_cache_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_hpc_cache_blob_nfs_target":{"schema":{"access_policy_name":{"type":"TypeString","optional":true,"default":"default"},"cache_name":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"namespace_path":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"storage_container_id":{"type":"TypeString","required":true,"forceNew":true},"usage_model":{"type":"TypeString","required":true},"verification_timer_in_seconds":{"type":"TypeInt","optional":true},"write_back_timer_in_seconds":{"type":"TypeInt","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_hpc_cache_blob_target":{"schema":{"access_policy_name":{"type":"TypeString","optional":true,"default":"default"},"cache_name":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"namespace_path":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"storage_container_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_hpc_cache_nfs_target":{"schema":{"cache_name":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"namespace_junction":{"type":"TypeSet","required":true,"elem":{"schema":{"access_policy_name":{"type":"TypeString","optional":true,"default":"default"},"namespace_path":{"type":"TypeString","required":true},"nfs_export":{"type":"TypeString","required":true},"target_path":{"type":"TypeString","optional":true,"default":""}}},"maxItems":10,"minItems":1},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"target_host_name":{"type":"TypeString","required":true,"forceNew":true},"usage_model":{"type":"TypeString","required":true},"verification_timer_in_seconds":{"type":"TypeInt","optional":true},"write_back_timer_in_seconds":{"type":"TypeInt","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_image":{"schema":{"data_disk":{"type":"TypeList","optional":true,"elem":{"schema":{"blob_uri":{"type":"TypeString","optional":true,"computed":true},"caching":{"type":"TypeString","optional":true,"default":"None"},"disk_encryption_set_id":{"type":"TypeString","optional":true,"forceNew":true},"lun":{"type":"TypeInt","optional":true},"managed_disk_id":{"type":"TypeString","optional":true,"forceNew":true},"size_gb":{"type":"TypeInt","optional":true,"computed":true},"storage_type":{"type":"TypeString","required":true,"description":"The type of storage disk","forceNew":true}}}},"hyper_v_generation":{"type":"TypeString","optional":true,"default":"V1","forceNew":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"os_disk":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"blob_uri":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"caching":{"type":"TypeString","optional":true,"default":"None"},"disk_encryption_set_id":{"type":"TypeString","optional":true,"forceNew":true},"managed_disk_id":{"type":"TypeString","optional":true,"computed":true},"os_state":{"type":"TypeString","optional":true},"os_type":{"type":"TypeString","optional":true},"size_gb":{"type":"TypeInt","optional":true,"computed":true,"forceNew":true},"storage_type":{"type":"TypeString","required":true,"description":"The type of storage disk","forceNew":true}}},"maxItems":1},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"source_virtual_machine_id":{"type":"TypeString","optional":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"zone_resilient":{"type":"TypeBool","optional":true,"default":false,"forceNew":true}},"timeouts":{"create":90,"read":5,"delete":90,"update":90}},"azurerm_iot_security_device_group":{"schema":{"allow_rule":{"type":"TypeList","optional":true,"elem":{"schema":{"connection_from_ips_not_allowed":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"connection_to_ips_not_allowed":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"local_users_not_allowed":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"processes_not_allowed":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"iothub_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"range_rule":{"type":"TypeSet","optional":true,"elem":{"schema":{"duration":{"type":"TypeString","required":true},"max":{"type":"TypeInt","required":true},"min":{"type":"TypeInt","required":true},"type":{"type":"TypeString","required":true}}}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_iot_security_solution":{"schema":{"additional_workspace":{"type":"TypeSet","optional":true,"elem":{"schema":{"data_types":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}},"workspace_id":{"type":"TypeString","required":true}}}},"disabled_data_sources":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"display_name":{"type":"TypeString","required":true},"enabled":{"type":"TypeBool","optional":true,"default":true},"events_to_export":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"iothub_ids":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}},"location":{"type":"TypeString","required":true,"forceNew":true},"log_analytics_workspace_id":{"type":"TypeString","optional":true},"log_unmasked_ips_enabled":{"type":"TypeBool","optional":true,"default":false},"name":{"type":"TypeString","required":true,"forceNew":true},"query_for_resources":{"type":"TypeString","optional":true,"computed":true},"query_subscription_ids":{"type":"TypeSet","optional":true,"computed":true,"elem":{"type":"TypeString"}},"recommendations_enabled":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"acr_authentication":{"type":"TypeBool","optional":true,"default":true},"agent_send_unutilized_msg":{"type":"TypeBool","optional":true,"default":true},"baseline":{"type":"TypeBool","optional":true,"default":true},"edge_hub_mem_optimize":{"type":"TypeBool","optional":true,"default":true},"edge_logging_option":{"type":"TypeBool","optional":true,"default":true},"inconsistent_module_settings":{"type":"TypeBool","optional":true,"default":true},"install_agent":{"type":"TypeBool","optional":true,"default":true},"ip_filter_deny_all":{"type":"TypeBool","optional":true,"default":true},"ip_filter_permissive_rule":{"type":"TypeBool","optional":true,"default":true},"open_ports":{"type":"TypeBool","optional":true,"default":true},"permissive_firewall_policy":{"type":"TypeBool","optional":true,"default":true},"permissive_input_firewall_rules":{"type":"TypeBool","optional":true,"default":true},"permissive_output_firewall_rules":{"type":"TypeBool","optional":true,"default":true},"privileged_docker_options":{"type":"TypeBool","optional":true,"default":true},"shared_credentials":{"type":"TypeBool","optional":true,"default":true},"vulnerable_tls_cipher_suite":{"type":"TypeBool","optional":true,"default":true}}},"maxItems":1},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_iotcentral_application":{"schema":{"display_name":{"type":"TypeString","optional":true,"computed":true},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"public_network_access_enabled":{"type":"TypeBool","optional":true,"default":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"sku":{"type":"TypeString","optional":true,"default":"ST1"},"sub_domain":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"template":{"type":"TypeString","optional":true,"default":"iotc-pnp-preview@1.0.0","forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_iotcentral_application_network_rule_set":{"schema":{"apply_to_device":{"type":"TypeBool","optional":true,"default":true},"default_action":{"type":"TypeString","optional":true,"default":"Deny"},"iotcentral_application_id":{"type":"TypeString","required":true,"forceNew":true},"ip_rule":{"type":"TypeList","optional":true,"elem":{"schema":{"ip_mask":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true}}}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_iotcentral_organization":{"schema":{"display_name":{"type":"TypeString","required":true},"iotcentral_application_id":{"type":"TypeString","required":true,"forceNew":true},"organization_id":{"type":"TypeString","required":true,"forceNew":true},"parent_organization_id":{"type":"TypeString","optional":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_iothub":{"schema":{"cloud_to_device":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"default_ttl":{"type":"TypeString","optional":true,"default":"PT1H"},"feedback":{"type":"TypeList","optional":true,"elem":{"schema":{"lock_duration":{"type":"TypeString","optional":true,"default":"PT60S"},"max_delivery_count":{"type":"TypeInt","optional":true,"default":10},"time_to_live":{"type":"TypeString","optional":true,"default":"PT1H"}}}},"max_delivery_count":{"type":"TypeInt","optional":true,"default":10}}},"maxItems":1},"endpoint":{"type":"TypeList","configMode":"Auto","optional":true,"computed":true,"elem":{"schema":{"authentication_type":{"type":"TypeString","optional":true,"default":"keyBased"},"batch_frequency_in_seconds":{"type":"TypeInt","optional":true,"default":300},"connection_string":{"type":"TypeString","optional":true},"container_name":{"type":"TypeString","optional":true},"encoding":{"type":"TypeString","optional":true,"default":"Avro","forceNew":true},"endpoint_uri":{"type":"TypeString","optional":true},"entity_path":{"type":"TypeString","optional":true},"file_name_format":{"type":"TypeString","optional":true,"default":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}"},"identity_id":{"type":"TypeString","optional":true},"max_chunk_size_in_bytes":{"type":"TypeInt","optional":true,"default":314572800},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","optional":true},"type":{"type":"TypeString","required":true}}}},"enrichment":{"type":"TypeList","configMode":"Auto","optional":true,"computed":true,"elem":{"schema":{"endpoint_names":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}},"key":{"type":"TypeString","required":true},"value":{"type":"TypeString","required":true}}},"maxItems":10},"event_hub_events_endpoint":{"type":"TypeString","computed":true},"event_hub_events_namespace":{"type":"TypeString","computed":true},"event_hub_events_path":{"type":"TypeString","computed":true},"event_hub_operations_endpoint":{"type":"TypeString","computed":true},"event_hub_operations_path":{"type":"TypeString","computed":true},"event_hub_partition_count":{"type":"TypeInt","optional":true,"default":4},"event_hub_retention_in_days":{"type":"TypeInt","optional":true,"default":1},"fallback_route":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"condition":{"type":"TypeString","optional":true,"default":"true"},"enabled":{"type":"TypeBool","optional":true,"default":true},"endpoint_names":{"type":"TypeList","optional":true,"computed":true,"elem":{"type":"TypeString"}},"source":{"type":"TypeString","optional":true,"default":"DeviceMessages"}}},"maxItems":1},"file_upload":{"type":"TypeList","optional":true,"elem":{"schema":{"authentication_type":{"type":"TypeString","optional":true,"default":"keyBased"},"connection_string":{"type":"TypeString","required":true},"container_name":{"type":"TypeString","required":true},"default_ttl":{"type":"TypeString","optional":true,"default":"PT1H"},"identity_id":{"type":"TypeString","optional":true},"lock_duration":{"type":"TypeString","optional":true,"default":"PT1M"},"max_delivery_count":{"type":"TypeInt","optional":true,"default":10},"notifications":{"type":"TypeBool","optional":true,"default":false},"sas_ttl":{"type":"TypeString","optional":true,"default":"PT1H"}}},"maxItems":1},"hostname":{"type":"TypeString","computed":true},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"local_authentication_enabled":{"type":"TypeBool","optional":true,"default":true},"location":{"type":"TypeString","required":true,"forceNew":true},"min_tls_version":{"type":"TypeString","optional":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"network_rule_set":{"type":"TypeList","optional":true,"elem":{"schema":{"apply_to_builtin_eventhub_endpoint":{"type":"TypeBool","optional":true,"default":false},"default_action":{"type":"TypeString","optional":true,"default":"Deny"},"ip_rule":{"type":"TypeList","optional":true,"elem":{"schema":{"action":{"type":"TypeString","optional":true,"default":"Allow"},"ip_mask":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true}}}}}}},"public_network_access_enabled":{"type":"TypeBool","optional":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"route":{"type":"TypeList","configMode":"Auto","optional":true,"computed":true,"elem":{"schema":{"condition":{"type":"TypeString","optional":true,"default":"true"},"enabled":{"type":"TypeBool","required":true},"endpoint_names":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true},"source":{"type":"TypeString","required":true}}}},"shared_access_policy":{"type":"TypeList","computed":true,"elem":{"schema":{"key_name":{"type":"TypeString","computed":true},"permissions":{"type":"TypeString","computed":true},"primary_key":{"type":"TypeString","computed":true},"secondary_key":{"type":"TypeString","computed":true}}}},"sku":{"type":"TypeList","required":true,"elem":{"schema":{"capacity":{"type":"TypeInt","required":true},"name":{"type":"TypeString","required":true}}},"maxItems":1},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"type":{"type":"TypeString","computed":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_iothub_certificate":{"schema":{"certificate_content":{"type":"TypeString","required":true},"iothub_name":{"type":"TypeString","required":true,"forceNew":true},"is_verified":{"type":"TypeBool","optional":true,"default":false},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_iothub_consumer_group":{"schema":{"eventhub_endpoint_name":{"type":"TypeString","required":true,"forceNew":true},"iothub_name":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_iothub_device_update_account":{"schema":{"host_name":{"type":"TypeString","computed":true},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"public_network_access_enabled":{"type":"TypeBool","optional":true,"default":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"sku":{"type":"TypeString","optional":true,"default":"Standard","forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_iothub_device_update_instance":{"schema":{"device_update_account_id":{"type":"TypeString","required":true,"forceNew":true},"diagnostic_enabled":{"type":"TypeBool","optional":true,"default":false},"diagnostic_storage_account":{"type":"TypeList","optional":true,"elem":{"schema":{"connection_string":{"type":"TypeString","required":true},"id":{"type":"TypeString","required":true}}},"maxItems":1},"iothub_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_iothub_dps":{"schema":{"allocation_policy":{"type":"TypeString","optional":true,"default":"Hashed"},"data_residency_enabled":{"type":"TypeBool","optional":true,"default":false,"forceNew":true},"device_provisioning_host_name":{"type":"TypeString","computed":true},"id_scope":{"type":"TypeString","computed":true},"ip_filter_rule":{"type":"TypeList","optional":true,"elem":{"schema":{"action":{"type":"TypeString","required":true},"ip_mask":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true},"target":{"type":"TypeString","optional":true}}}},"linked_hub":{"type":"TypeList","optional":true,"elem":{"schema":{"allocation_weight":{"type":"TypeInt","optional":true,"default":1},"apply_allocation_policy":{"type":"TypeBool","optional":true,"default":true},"connection_string":{"type":"TypeString","required":true},"hostname":{"type":"TypeString","computed":true},"location":{"type":"TypeString","required":true}}}},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"public_network_access_enabled":{"type":"TypeBool","optional":true,"default":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"service_operations_host_name":{"type":"TypeString","computed":true},"sku":{"type":"TypeList","required":true,"elem":{"schema":{"capacity":{"type":"TypeInt","required":true},"name":{"type":"TypeString","required":true}}},"maxItems":1},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_iothub_dps_certificate":{"schema":{"certificate_content":{"type":"TypeString","required":true},"iot_dps_name":{"type":"TypeString","required":true,"forceNew":true},"is_verified":{"type":"TypeBool","optional":true,"default":false,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_iothub_dps_shared_access_policy":{"schema":{"enrollment_read":{"type":"TypeBool","optional":true,"default":false},"enrollment_write":{"type":"TypeBool","optional":true,"default":false},"iothub_dps_name":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"primary_connection_string":{"type":"TypeString","computed":true},"primary_key":{"type":"TypeString","computed":true},"registration_read":{"type":"TypeBool","optional":true,"default":false},"registration_write":{"type":"TypeBool","optional":true,"default":false},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"secondary_connection_string":{"type":"TypeString","computed":true},"secondary_key":{"type":"TypeString","computed":true},"service_config":{"type":"TypeBool","optional":true,"default":false}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_iothub_endpoint_cosmosdb_account":{"schema":{"authentication_type":{"type":"TypeString","optional":true,"default":"keyBased"},"container_name":{"type":"TypeString","required":true,"forceNew":true},"database_name":{"type":"TypeString","required":true,"forceNew":true},"endpoint_uri":{"type":"TypeString","required":true,"forceNew":true},"identity_id":{"type":"TypeString","optional":true},"iothub_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"partition_key_name":{"type":"TypeString","optional":true},"partition_key_template":{"type":"TypeString","optional":true},"primary_key":{"type":"TypeString","optional":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"secondary_key":{"type":"TypeString","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_iothub_endpoint_eventhub":{"schema":{"authentication_type":{"type":"TypeString","optional":true,"default":"keyBased"},"connection_string":{"type":"TypeString","optional":true},"endpoint_uri":{"type":"TypeString","optional":true},"entity_path":{"type":"TypeString","optional":true},"identity_id":{"type":"TypeString","optional":true},"iothub_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_iothub_endpoint_servicebus_queue":{"schema":{"authentication_type":{"type":"TypeString","optional":true,"default":"keyBased"},"connection_string":{"type":"TypeString","optional":true},"endpoint_uri":{"type":"TypeString","optional":true},"entity_path":{"type":"TypeString","optional":true},"identity_id":{"type":"TypeString","optional":true},"iothub_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_iothub_endpoint_servicebus_topic":{"schema":{"authentication_type":{"type":"TypeString","optional":true,"default":"keyBased"},"connection_string":{"type":"TypeString","optional":true},"endpoint_uri":{"type":"TypeString","optional":true},"entity_path":{"type":"TypeString","optional":true},"identity_id":{"type":"TypeString","optional":true},"iothub_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_iothub_endpoint_storage_container":{"schema":{"authentication_type":{"type":"TypeString","optional":true,"default":"keyBased"},"batch_frequency_in_seconds":{"type":"TypeInt","optional":true,"default":300},"connection_string":{"type":"TypeString","optional":true},"container_name":{"type":"TypeString","required":true},"encoding":{"type":"TypeString","optional":true,"default":"Avro","forceNew":true},"endpoint_uri":{"type":"TypeString","optional":true},"file_name_format":{"type":"TypeString","optional":true,"default":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}"},"identity_id":{"type":"TypeString","optional":true},"iothub_id":{"type":"TypeString","required":true,"forceNew":true},"max_chunk_size_in_bytes":{"type":"TypeInt","optional":true,"default":314572800},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_iothub_enrichment":{"schema":{"endpoint_names":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"maxItems":100},"iothub_name":{"type":"TypeString","required":true,"forceNew":true},"key":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"value":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_iothub_fallback_route":{"schema":{"condition":{"type":"TypeString","optional":true,"default":"true"},"enabled":{"type":"TypeBool","required":true},"endpoint_names":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"maxItems":1},"iothub_name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"source":{"type":"TypeString","optional":true,"default":"DeviceMessages"}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_iothub_file_upload":{"schema":{"authentication_type":{"type":"TypeString","optional":true,"default":"keyBased"},"connection_string":{"type":"TypeString","required":true},"container_name":{"type":"TypeString","required":true},"default_ttl":{"type":"TypeString","optional":true,"default":"PT1H"},"identity_id":{"type":"TypeString","optional":true},"iothub_id":{"type":"TypeString","required":true,"forceNew":true},"lock_duration":{"type":"TypeString","optional":true,"default":"PT1M"},"max_delivery_count":{"type":"TypeInt","optional":true,"default":10},"notifications_enabled":{"type":"TypeBool","optional":true,"default":false},"sas_ttl":{"type":"TypeString","optional":true,"default":"PT1H"}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_iothub_route":{"schema":{"condition":{"type":"TypeString","optional":true,"default":"true"},"enabled":{"type":"TypeBool","required":true},"endpoint_names":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"maxItems":1},"iothub_name":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"source":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_iothub_shared_access_policy":{"schema":{"device_connect":{"type":"TypeBool","optional":true,"default":false},"iothub_name":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"primary_connection_string":{"type":"TypeString","computed":true},"primary_key":{"type":"TypeString","computed":true},"registry_read":{"type":"TypeBool","optional":true,"default":false},"registry_write":{"type":"TypeBool","optional":true,"default":false},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"secondary_connection_string":{"type":"TypeString","computed":true},"secondary_key":{"type":"TypeString","computed":true},"service_connect":{"type":"TypeBool","optional":true,"default":false}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_ip_group":{"schema":{"cidrs":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"firewall_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"firewall_policy_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_ip_group_cidr":{"schema":{"cidr":{"type":"TypeString","required":true,"forceNew":true},"ip_group_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_key_vault":{"schema":{"access_policy":{"type":"TypeList","configMode":"Auto","optional":true,"computed":true,"elem":{"schema":{"application_id":{"type":"TypeString","optional":true},"certificate_permissions":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"key_permissions":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"object_id":{"type":"TypeString","required":true},"secret_permissions":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"storage_permissions":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"tenant_id":{"type":"TypeString","required":true}}},"maxItems":1024},"contact":{"type":"TypeSet","optional":true,"computed":true,"elem":{"schema":{"email":{"type":"TypeString","required":true},"name":{"type":"TypeString","optional":true},"phone":{"type":"TypeString","optional":true}}}},"enable_rbac_authorization":{"type":"TypeBool","optional":true},"enabled_for_deployment":{"type":"TypeBool","optional":true},"enabled_for_disk_encryption":{"type":"TypeBool","optional":true},"enabled_for_template_deployment":{"type":"TypeBool","optional":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"network_acls":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"bypass":{"type":"TypeString","required":true},"default_action":{"type":"TypeString","required":true},"ip_rules":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"virtual_network_subnet_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"public_network_access_enabled":{"type":"TypeBool","optional":true,"default":true},"purge_protection_enabled":{"type":"TypeBool","optional":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"sku_name":{"type":"TypeString","required":true},"soft_delete_retention_days":{"type":"TypeInt","optional":true,"default":90},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"tenant_id":{"type":"TypeString","required":true},"vault_uri":{"type":"TypeString","computed":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_key_vault_access_policy":{"schema":{"application_id":{"type":"TypeString","optional":true,"forceNew":true},"certificate_permissions":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"key_permissions":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"key_vault_id":{"type":"TypeString","required":true,"forceNew":true},"object_id":{"type":"TypeString","required":true,"forceNew":true},"secret_permissions":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"storage_permissions":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"tenant_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_key_vault_certificate":{"schema":{"certificate":{"type":"TypeList","optional":true,"elem":{"schema":{"contents":{"type":"TypeString","required":true},"password":{"type":"TypeString","optional":true}}},"maxItems":1},"certificate_attribute":{"type":"TypeList","computed":true,"elem":{"schema":{"created":{"type":"TypeString","computed":true},"enabled":{"type":"TypeBool","computed":true},"expires":{"type":"TypeString","computed":true},"not_before":{"type":"TypeString","computed":true},"recovery_level":{"type":"TypeString","computed":true},"updated":{"type":"TypeString","computed":true}}}},"certificate_data":{"type":"TypeString","computed":true},"certificate_data_base64":{"type":"TypeString","computed":true},"certificate_policy":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"issuer_parameters":{"type":"TypeList","required":true,"elem":{"schema":{"name":{"type":"TypeString","required":true}}},"maxItems":1},"key_properties":{"type":"TypeList","required":true,"elem":{"schema":{"curve":{"type":"TypeString","optional":true,"computed":true},"exportable":{"type":"TypeBool","required":true},"key_size":{"type":"TypeInt","optional":true,"computed":true},"key_type":{"type":"TypeString","required":true},"reuse_key":{"type":"TypeBool","required":true}}},"maxItems":1},"lifetime_action":{"type":"TypeList","optional":true,"elem":{"schema":{"action":{"type":"TypeList","required":true,"elem":{"schema":{"action_type":{"type":"TypeString","required":true}}},"maxItems":1},"trigger":{"type":"TypeList","required":true,"elem":{"schema":{"days_before_expiry":{"type":"TypeInt","optional":true},"lifetime_percentage":{"type":"TypeInt","optional":true}}},"maxItems":1}}}},"secret_properties":{"type":"TypeList","required":true,"elem":{"schema":{"content_type":{"type":"TypeString","required":true}}},"maxItems":1},"x509_certificate_properties":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"extended_key_usage":{"type":"TypeList","optional":true,"computed":true,"elem":{"type":"TypeString"}},"key_usage":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}},"subject":{"type":"TypeString","required":true},"subject_alternative_names":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"dns_names":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"emails":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"upns":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"validity_in_months":{"type":"TypeInt","required":true}}},"maxItems":1}}},"maxItems":1},"key_vault_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_manager_id":{"type":"TypeString","computed":true},"resource_manager_versionless_id":{"type":"TypeString","computed":true},"secret_id":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"thumbprint":{"type":"TypeString","computed":true},"version":{"type":"TypeString","computed":true},"versionless_id":{"type":"TypeString","computed":true},"versionless_secret_id":{"type":"TypeString","computed":true}},"timeouts":{"create":60,"read":30,"delete":30,"update":30}},"azurerm_key_vault_certificate_contacts":{"schema":{"contact":{"type":"TypeSet","optional":true,"elem":{"schema":{"email":{"type":"TypeString","required":true},"name":{"type":"TypeString","optional":true},"phone":{"type":"TypeString","optional":true}}}},"key_vault_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_key_vault_certificate_issuer":{"schema":{"account_id":{"type":"TypeString","optional":true},"admin":{"type":"TypeList","optional":true,"elem":{"schema":{"email_address":{"type":"TypeString","required":true},"first_name":{"type":"TypeString","optional":true},"last_name":{"type":"TypeString","optional":true},"phone":{"type":"TypeString","optional":true}}}},"key_vault_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"org_id":{"type":"TypeString","optional":true},"password":{"type":"TypeString","optional":true},"provider_name":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_key_vault_key":{"schema":{"curve":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"e":{"type":"TypeString","computed":true},"expiration_date":{"type":"TypeString","optional":true},"key_opts":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}},"key_size":{"type":"TypeInt","optional":true,"forceNew":true},"key_type":{"type":"TypeString","required":true,"forceNew":true},"key_vault_id":{"type":"TypeString","required":true,"forceNew":true},"n":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true,"forceNew":true},"not_before_date":{"type":"TypeString","optional":true},"public_key_openssh":{"type":"TypeString","computed":true},"public_key_pem":{"type":"TypeString","computed":true},"resource_id":{"type":"TypeString","computed":true},"resource_versionless_id":{"type":"TypeString","computed":true},"rotation_policy":{"type":"TypeList","optional":true,"elem":{"schema":{"automatic":{"type":"TypeList","optional":true,"elem":{"schema":{"time_after_creation":{"type":"TypeString","optional":true},"time_before_expiry":{"type":"TypeString","optional":true}}},"maxItems":1},"expire_after":{"type":"TypeString","optional":true},"notify_before_expiry":{"type":"TypeString","optional":true}}},"maxItems":1},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"version":{"type":"TypeString","computed":true},"versionless_id":{"type":"TypeString","computed":true},"x":{"type":"TypeString","computed":true},"y":{"type":"TypeString","computed":true}},"timeouts":{"create":30,"read":30,"delete":30,"update":30}},"azurerm_key_vault_managed_hardware_security_module":{"schema":{"admin_object_ids":{"type":"TypeSet","required":true,"forceNew":true,"elem":{"type":"TypeString"}},"hsm_uri":{"type":"TypeString","computed":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"network_acls":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"bypass":{"type":"TypeString","required":true},"default_action":{"type":"TypeString","required":true}}},"maxItems":1},"public_network_access_enabled":{"type":"TypeBool","optional":true,"default":true},"purge_protection_enabled":{"type":"TypeBool","optional":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"security_domain_encrypted_data":{"type":"TypeString","computed":true},"security_domain_key_vault_certificate_ids":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"maxItems":10,"minItems":3},"security_domain_quorum":{"type":"TypeInt","optional":true},"sku_name":{"type":"TypeString","required":true,"forceNew":true},"soft_delete_retention_days":{"type":"TypeInt","optional":true,"default":90,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"tenant_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":60,"read":5,"delete":60,"update":30}},"azurerm_key_vault_managed_hardware_security_module_key":{"schema":{"curve":{"type":"TypeString","optional":true,"forceNew":true},"expiration_date":{"type":"TypeString","optional":true},"key_opts":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}},"key_size":{"type":"TypeInt","optional":true,"forceNew":true},"key_type":{"type":"TypeString","required":true,"forceNew":true},"managed_hsm_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"not_before_date":{"type":"TypeString","optional":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"versioned_id":{"type":"TypeString","computed":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_key_vault_managed_hardware_security_module_key_rotation_policy":{"schema":{"expire_after":{"type":"TypeString","required":true},"managed_hsm_key_id":{"type":"TypeString","required":true,"forceNew":true},"time_after_creation":{"type":"TypeString","optional":true},"time_before_expiry":{"type":"TypeString","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_key_vault_managed_hardware_security_module_role_assignment":{"schema":{"managed_hsm_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"principal_id":{"type":"TypeString","required":true,"forceNew":true},"resource_id":{"type":"TypeString","computed":true},"role_definition_id":{"type":"TypeString","required":true,"forceNew":true},"scope":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":10}},"azurerm_key_vault_managed_hardware_security_module_role_definition":{"schema":{"description":{"type":"TypeString","optional":true},"managed_hsm_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"permission":{"type":"TypeList","optional":true,"elem":{"schema":{"actions":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"data_actions":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"not_actions":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"not_data_actions":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}}}}},"resource_manager_id":{"type":"TypeString","computed":true},"role_name":{"type":"TypeString","optional":true},"role_type":{"type":"TypeString","computed":true}},"timeouts":{"create":30,"read":5,"delete":10,"update":10}},"azurerm_key_vault_managed_storage_account":{"schema":{"key_vault_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"regenerate_key_automatically":{"type":"TypeBool","optional":true,"default":false},"regeneration_period":{"type":"TypeString","optional":true},"storage_account_id":{"type":"TypeString","required":true},"storage_account_key":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","optional":true,"forceNew":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_key_vault_managed_storage_account_sas_token_definition":{"schema":{"managed_storage_account_id":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true},"sas_template_uri":{"type":"TypeString","required":true},"sas_type":{"type":"TypeString","required":true},"secret_id":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"validity_period":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_key_vault_secret":{"schema":{"content_type":{"type":"TypeString","optional":true},"expiration_date":{"type":"TypeString","optional":true},"key_vault_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"not_before_date":{"type":"TypeString","optional":true},"resource_id":{"type":"TypeString","computed":true},"resource_versionless_id":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"value":{"type":"TypeString","required":true},"version":{"type":"TypeString","computed":true},"versionless_id":{"type":"TypeString","computed":true}},"timeouts":{"create":30,"read":30,"delete":30,"update":30}},"azurerm_kubernetes_cluster":{"schema":{"aci_connector_linux":{"type":"TypeList","optional":true,"elem":{"schema":{"connector_identity":{"type":"TypeList","computed":true,"elem":{"schema":{"client_id":{"type":"TypeString","computed":true},"object_id":{"type":"TypeString","computed":true},"user_assigned_identity_id":{"type":"TypeString","computed":true}}}},"subnet_name":{"type":"TypeString","required":true}}},"maxItems":1},"api_server_access_profile":{"type":"TypeList","optional":true,"elem":{"schema":{"authorized_ip_ranges":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"auto_scaler_profile":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"balance_similar_node_groups":{"type":"TypeBool","optional":true,"default":false},"daemonset_eviction_for_empty_nodes_enabled":{"type":"TypeBool","optional":true,"default":false},"daemonset_eviction_for_occupied_nodes_enabled":{"type":"TypeBool","optional":true,"default":true},"empty_bulk_delete_max":{"type":"TypeString","optional":true,"computed":true},"expander":{"type":"TypeString","optional":true,"default":"random"},"ignore_daemonsets_utilization_enabled":{"type":"TypeBool","optional":true,"default":false},"max_graceful_termination_sec":{"type":"TypeString","optional":true,"computed":true},"max_node_provisioning_time":{"type":"TypeString","optional":true,"default":"15m"},"max_unready_nodes":{"type":"TypeInt","optional":true,"default":3},"max_unready_percentage":{"type":"TypeFloat","optional":true,"default":45},"new_pod_scale_up_delay":{"type":"TypeString","optional":true,"computed":true},"scale_down_delay_after_add":{"type":"TypeString","optional":true,"computed":true},"scale_down_delay_after_delete":{"type":"TypeString","optional":true,"computed":true},"scale_down_delay_after_failure":{"type":"TypeString","optional":true,"computed":true},"scale_down_unneeded":{"type":"TypeString","optional":true,"computed":true},"scale_down_unready":{"type":"TypeString","optional":true,"computed":true},"scale_down_utilization_threshold":{"type":"TypeString","optional":true,"computed":true},"scan_interval":{"type":"TypeString","optional":true,"computed":true},"skip_nodes_with_local_storage":{"type":"TypeBool","optional":true},"skip_nodes_with_system_pods":{"type":"TypeBool","optional":true,"default":true}}},"maxItems":1},"automatic_upgrade_channel":{"type":"TypeString","optional":true},"azure_active_directory_role_based_access_control":{"type":"TypeList","optional":true,"elem":{"schema":{"admin_group_object_ids":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"azure_rbac_enabled":{"type":"TypeBool","optional":true},"tenant_id":{"type":"TypeString","optional":true,"computed":true}}},"maxItems":1},"azure_policy_enabled":{"type":"TypeBool","optional":true},"confidential_computing":{"type":"TypeList","optional":true,"elem":{"schema":{"sgx_quote_helper_enabled":{"type":"TypeBool","required":true}}},"maxItems":1},"cost_analysis_enabled":{"type":"TypeBool","optional":true},"current_kubernetes_version":{"type":"TypeString","computed":true},"default_node_pool":{"type":"TypeList","required":true,"elem":{"schema":{"auto_scaling_enabled":{"type":"TypeBool","optional":true},"capacity_reservation_group_id":{"type":"TypeString","optional":true,"forceNew":true},"fips_enabled":{"type":"TypeBool","optional":true,"forceNew":true},"gpu_instance":{"type":"TypeString","optional":true,"forceNew":true},"host_encryption_enabled":{"type":"TypeBool","optional":true},"host_group_id":{"type":"TypeString","optional":true,"forceNew":true},"kubelet_config":{"type":"TypeList","optional":true,"elem":{"schema":{"allowed_unsafe_sysctls":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"container_log_max_line":{"type":"TypeInt","optional":true},"container_log_max_size_mb":{"type":"TypeInt","optional":true},"cpu_cfs_quota_enabled":{"type":"TypeBool","optional":true,"default":true},"cpu_cfs_quota_period":{"type":"TypeString","optional":true},"cpu_manager_policy":{"type":"TypeString","optional":true},"image_gc_high_threshold":{"type":"TypeInt","optional":true},"image_gc_low_threshold":{"type":"TypeInt","optional":true},"pod_max_pid":{"type":"TypeInt","optional":true},"topology_manager_policy":{"type":"TypeString","optional":true}}},"maxItems":1},"kubelet_disk_type":{"type":"TypeString","optional":true,"computed":true},"linux_os_config":{"type":"TypeList","optional":true,"elem":{"schema":{"swap_file_size_mb":{"type":"TypeInt","optional":true},"sysctl_config":{"type":"TypeList","optional":true,"elem":{"schema":{"fs_aio_max_nr":{"type":"TypeInt","optional":true},"fs_file_max":{"type":"TypeInt","optional":true},"fs_inotify_max_user_watches":{"type":"TypeInt","optional":true},"fs_nr_open":{"type":"TypeInt","optional":true},"kernel_threads_max":{"type":"TypeInt","optional":true},"net_core_netdev_max_backlog":{"type":"TypeInt","optional":true},"net_core_optmem_max":{"type":"TypeInt","optional":true},"net_core_rmem_default":{"type":"TypeInt","optional":true},"net_core_rmem_max":{"type":"TypeInt","optional":true},"net_core_somaxconn":{"type":"TypeInt","optional":true},"net_core_wmem_default":{"type":"TypeInt","optional":true},"net_core_wmem_max":{"type":"TypeInt","optional":true},"net_ipv4_ip_local_port_range_max":{"type":"TypeInt","optional":true},"net_ipv4_ip_local_port_range_min":{"type":"TypeInt","optional":true},"net_ipv4_neigh_default_gc_thresh1":{"type":"TypeInt","optional":true},"net_ipv4_neigh_default_gc_thresh2":{"type":"TypeInt","optional":true},"net_ipv4_neigh_default_gc_thresh3":{"type":"TypeInt","optional":true},"net_ipv4_tcp_fin_timeout":{"type":"TypeInt","optional":true},"net_ipv4_tcp_keepalive_intvl":{"type":"TypeInt","optional":true},"net_ipv4_tcp_keepalive_probes":{"type":"TypeInt","optional":true},"net_ipv4_tcp_keepalive_time":{"type":"TypeInt","optional":true},"net_ipv4_tcp_max_syn_backlog":{"type":"TypeInt","optional":true},"net_ipv4_tcp_max_tw_buckets":{"type":"TypeInt","optional":true},"net_ipv4_tcp_tw_reuse":{"type":"TypeBool","optional":true},"net_netfilter_nf_conntrack_buckets":{"type":"TypeInt","optional":true},"net_netfilter_nf_conntrack_max":{"type":"TypeInt","optional":true},"vm_max_map_count":{"type":"TypeInt","optional":true},"vm_swappiness":{"type":"TypeInt","optional":true},"vm_vfs_cache_pressure":{"type":"TypeInt","optional":true}}},"maxItems":1},"transparent_huge_page_defrag":{"type":"TypeString","optional":true},"transparent_huge_page_enabled":{"type":"TypeString","optional":true}}},"maxItems":1},"max_count":{"type":"TypeInt","optional":true},"max_pods":{"type":"TypeInt","optional":true,"computed":true},"min_count":{"type":"TypeInt","optional":true},"name":{"type":"TypeString","required":true},"node_count":{"type":"TypeInt","optional":true,"computed":true},"node_labels":{"type":"TypeMap","optional":true,"computed":true,"elem":{"type":"TypeString"}},"node_network_profile":{"type":"TypeList","optional":true,"elem":{"schema":{"allowed_host_ports":{"type":"TypeList","optional":true,"elem":{"schema":{"port_end":{"type":"TypeInt","optional":true},"port_start":{"type":"TypeInt","optional":true},"protocol":{"type":"TypeString","optional":true}}}},"application_security_group_ids":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"node_public_ip_tags":{"type":"TypeMap","optional":true,"forceNew":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"node_public_ip_enabled":{"type":"TypeBool","optional":true},"node_public_ip_prefix_id":{"type":"TypeString","optional":true,"forceNew":true},"only_critical_addons_enabled":{"type":"TypeBool","optional":true},"orchestrator_version":{"type":"TypeString","optional":true,"computed":true},"os_disk_size_gb":{"type":"TypeInt","optional":true,"computed":true},"os_disk_type":{"type":"TypeString","optional":true,"default":"Managed"},"os_sku":{"type":"TypeString","optional":true,"computed":true},"pod_subnet_id":{"type":"TypeString","optional":true},"proximity_placement_group_id":{"type":"TypeString","optional":true,"forceNew":true},"scale_down_mode":{"type":"TypeString","optional":true,"default":"Delete"},"snapshot_id":{"type":"TypeString","optional":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"temporary_name_for_rotation":{"type":"TypeString","optional":true},"type":{"type":"TypeString","optional":true,"default":"VirtualMachineScaleSets","forceNew":true},"ultra_ssd_enabled":{"type":"TypeBool","optional":true,"default":false},"upgrade_settings":{"type":"TypeList","optional":true,"elem":{"schema":{"drain_timeout_in_minutes":{"type":"TypeInt","optional":true},"max_surge":{"type":"TypeString","required":true},"node_soak_duration_in_minutes":{"type":"TypeInt","optional":true}}},"maxItems":1},"vm_size":{"type":"TypeString","required":true},"vnet_subnet_id":{"type":"TypeString","optional":true},"workload_runtime":{"type":"TypeString","optional":true,"computed":true},"zones":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"disk_encryption_set_id":{"type":"TypeString","optional":true,"forceNew":true},"dns_prefix":{"type":"TypeString","optional":true,"forceNew":true},"dns_prefix_private_cluster":{"type":"TypeString","optional":true,"forceNew":true},"edge_zone":{"type":"TypeString","optional":true,"forceNew":true},"fqdn":{"type":"TypeString","computed":true},"http_application_routing_enabled":{"type":"TypeBool","optional":true},"http_application_routing_zone_name":{"type":"TypeString","computed":true},"http_proxy_config":{"type":"TypeList","optional":true,"elem":{"schema":{"http_proxy":{"type":"TypeString","optional":true},"https_proxy":{"type":"TypeString","optional":true},"no_proxy":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"trusted_ca":{"type":"TypeString","optional":true}}},"maxItems":1},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"image_cleaner_enabled":{"type":"TypeBool","optional":true},"image_cleaner_interval_hours":{"type":"TypeInt","optional":true},"ingress_application_gateway":{"type":"TypeList","optional":true,"elem":{"schema":{"effective_gateway_id":{"type":"TypeString","computed":true},"gateway_id":{"type":"TypeString","optional":true},"gateway_name":{"type":"TypeString","optional":true},"ingress_application_gateway_identity":{"type":"TypeList","computed":true,"elem":{"schema":{"client_id":{"type":"TypeString","computed":true},"object_id":{"type":"TypeString","computed":true},"user_assigned_identity_id":{"type":"TypeString","computed":true}}}},"subnet_cidr":{"type":"TypeString","optional":true},"subnet_id":{"type":"TypeString","optional":true}}},"maxItems":1},"key_management_service":{"type":"TypeList","optional":true,"elem":{"schema":{"key_vault_key_id":{"type":"TypeString","required":true},"key_vault_network_access":{"type":"TypeString","optional":true,"default":"Public"}}},"maxItems":1},"key_vault_secrets_provider":{"type":"TypeList","optional":true,"elem":{"schema":{"secret_identity":{"type":"TypeList","computed":true,"elem":{"schema":{"client_id":{"type":"TypeString","computed":true},"object_id":{"type":"TypeString","computed":true},"user_assigned_identity_id":{"type":"TypeString","computed":true}}}},"secret_rotation_enabled":{"type":"TypeBool","optional":true,"default":false},"secret_rotation_interval":{"type":"TypeString","optional":true,"default":"2m"}}},"maxItems":1},"kube_admin_config":{"type":"TypeList","computed":true,"elem":{"schema":{"client_certificate":{"type":"TypeString","computed":true},"client_key":{"type":"TypeString","computed":true},"cluster_ca_certificate":{"type":"TypeString","computed":true},"host":{"type":"TypeString","computed":true},"password":{"type":"TypeString","computed":true},"username":{"type":"TypeString","computed":true}}}},"kube_admin_config_raw":{"type":"TypeString","computed":true},"kube_config":{"type":"TypeList","computed":true,"elem":{"schema":{"client_certificate":{"type":"TypeString","computed":true},"client_key":{"type":"TypeString","computed":true},"cluster_ca_certificate":{"type":"TypeString","computed":true},"host":{"type":"TypeString","computed":true},"password":{"type":"TypeString","computed":true},"username":{"type":"TypeString","computed":true}}}},"kube_config_raw":{"type":"TypeString","computed":true},"kubelet_identity":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"client_id":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"object_id":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"user_assigned_identity_id":{"type":"TypeString","optional":true,"computed":true,"forceNew":true}}},"maxItems":1},"kubernetes_version":{"type":"TypeString","optional":true,"computed":true},"linux_profile":{"type":"TypeList","optional":true,"elem":{"schema":{"admin_username":{"type":"TypeString","required":true,"forceNew":true},"ssh_key":{"type":"TypeList","required":true,"elem":{"schema":{"key_data":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1}}},"maxItems":1},"local_account_disabled":{"type":"TypeBool","optional":true},"location":{"type":"TypeString","required":true,"forceNew":true},"maintenance_window":{"type":"TypeList","optional":true,"elem":{"schema":{"allowed":{"type":"TypeSet","optional":true,"elem":{"schema":{"day":{"type":"TypeString","required":true},"hours":{"type":"TypeSet","required":true,"elem":{"type":"TypeInt"},"minItems":1}}}},"not_allowed":{"type":"TypeSet","optional":true,"elem":{"schema":{"end":{"type":"TypeString","required":true},"start":{"type":"TypeString","required":true}}}}}},"maxItems":1},"maintenance_window_auto_upgrade":{"type":"TypeList","optional":true,"elem":{"schema":{"day_of_month":{"type":"TypeInt","optional":true},"day_of_week":{"type":"TypeString","optional":true},"duration":{"type":"TypeInt","required":true},"frequency":{"type":"TypeString","required":true},"interval":{"type":"TypeInt","required":true},"not_allowed":{"type":"TypeSet","optional":true,"elem":{"schema":{"end":{"type":"TypeString","required":true},"start":{"type":"TypeString","required":true}}}},"start_date":{"type":"TypeString","optional":true,"computed":true},"start_time":{"type":"TypeString","optional":true},"utc_offset":{"type":"TypeString","optional":true},"week_index":{"type":"TypeString","optional":true}}},"maxItems":1},"maintenance_window_node_os":{"type":"TypeList","optional":true,"elem":{"schema":{"day_of_month":{"type":"TypeInt","optional":true},"day_of_week":{"type":"TypeString","optional":true},"duration":{"type":"TypeInt","required":true},"frequency":{"type":"TypeString","required":true},"interval":{"type":"TypeInt","required":true},"not_allowed":{"type":"TypeSet","optional":true,"elem":{"schema":{"end":{"type":"TypeString","required":true},"start":{"type":"TypeString","required":true}}}},"start_date":{"type":"TypeString","optional":true,"computed":true},"start_time":{"type":"TypeString","optional":true},"utc_offset":{"type":"TypeString","optional":true},"week_index":{"type":"TypeString","optional":true}}},"maxItems":1},"microsoft_defender":{"type":"TypeList","optional":true,"elem":{"schema":{"log_analytics_workspace_id":{"type":"TypeString","required":true}}},"maxItems":1},"monitor_metrics":{"type":"TypeList","optional":true,"elem":{"schema":{"annotations_allowed":{"type":"TypeString","optional":true},"labels_allowed":{"type":"TypeString","optional":true}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"network_profile":{"type":"TypeList","optional":true,"computed":true,"forceNew":true,"elem":{"schema":{"dns_service_ip":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"ip_versions":{"type":"TypeList","optional":true,"computed":true,"forceNew":true,"elem":{"type":"TypeString"}},"load_balancer_profile":{"type":"TypeList","optional":true,"computed":true,"forceNew":true,"elem":{"schema":{"backend_pool_type":{"type":"TypeString","optional":true,"default":"NodeIPConfiguration"},"effective_outbound_ips":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"idle_timeout_in_minutes":{"type":"TypeInt","optional":true,"default":30},"managed_outbound_ip_count":{"type":"TypeInt","optional":true,"computed":true},"managed_outbound_ipv6_count":{"type":"TypeInt","optional":true,"computed":true},"outbound_ip_address_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"outbound_ip_prefix_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"outbound_ports_allocated":{"type":"TypeInt","optional":true,"default":0}}},"maxItems":1},"load_balancer_sku":{"type":"TypeString","optional":true,"default":"standard","forceNew":true},"nat_gateway_profile":{"type":"TypeList","optional":true,"computed":true,"forceNew":true,"elem":{"schema":{"effective_outbound_ips":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"idle_timeout_in_minutes":{"type":"TypeInt","optional":true,"default":4},"managed_outbound_ip_count":{"type":"TypeInt","optional":true,"computed":true}}},"maxItems":1},"network_data_plane":{"type":"TypeString","optional":true,"default":"azure"},"network_mode":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"network_plugin":{"type":"TypeString","required":true,"forceNew":true},"network_plugin_mode":{"type":"TypeString","optional":true},"network_policy":{"type":"TypeString","optional":true,"computed":true},"outbound_type":{"type":"TypeString","optional":true,"default":"loadBalancer"},"pod_cidr":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"pod_cidrs":{"type":"TypeList","optional":true,"computed":true,"forceNew":true,"elem":{"type":"TypeString"}},"service_cidr":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"service_cidrs":{"type":"TypeList","optional":true,"computed":true,"forceNew":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"node_os_upgrade_channel":{"type":"TypeString","optional":true,"default":"NodeImage"},"node_resource_group":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"node_resource_group_id":{"type":"TypeString","computed":true},"oidc_issuer_enabled":{"type":"TypeBool","optional":true},"oidc_issuer_url":{"type":"TypeString","computed":true},"oms_agent":{"type":"TypeList","optional":true,"elem":{"schema":{"log_analytics_workspace_id":{"type":"TypeString","required":true},"msi_auth_for_monitoring_enabled":{"type":"TypeBool","optional":true},"oms_agent_identity":{"type":"TypeList","computed":true,"elem":{"schema":{"client_id":{"type":"TypeString","computed":true},"object_id":{"type":"TypeString","computed":true},"user_assigned_identity_id":{"type":"TypeString","computed":true}}}}}},"maxItems":1},"open_service_mesh_enabled":{"type":"TypeBool","optional":true},"portal_fqdn":{"type":"TypeString","computed":true},"private_cluster_enabled":{"type":"TypeBool","optional":true,"default":false,"forceNew":true},"private_cluster_public_fqdn_enabled":{"type":"TypeBool","optional":true,"default":false},"private_dns_zone_id":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"private_fqdn":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"role_based_access_control_enabled":{"type":"TypeBool","optional":true,"default":true,"forceNew":true},"run_command_enabled":{"type":"TypeBool","optional":true,"default":true},"service_mesh_profile":{"type":"TypeList","optional":true,"elem":{"schema":{"certificate_authority":{"type":"TypeList","optional":true,"elem":{"schema":{"cert_chain_object_name":{"type":"TypeString","required":true},"cert_object_name":{"type":"TypeString","required":true},"key_object_name":{"type":"TypeString","required":true},"key_vault_id":{"type":"TypeString","required":true},"root_cert_object_name":{"type":"TypeString","required":true}}},"maxItems":1},"external_ingress_gateway_enabled":{"type":"TypeBool","optional":true},"internal_ingress_gateway_enabled":{"type":"TypeBool","optional":true},"mode":{"type":"TypeString","required":true},"revisions":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"maxItems":2,"minItems":1}}},"maxItems":1},"service_principal":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","required":true},"client_secret":{"type":"TypeString","required":true}}},"maxItems":1},"sku_tier":{"type":"TypeString","optional":true,"default":"Free"},"storage_profile":{"type":"TypeList","optional":true,"elem":{"schema":{"blob_driver_enabled":{"type":"TypeBool","optional":true,"default":false},"disk_driver_enabled":{"type":"TypeBool","optional":true,"default":true},"file_driver_enabled":{"type":"TypeBool","optional":true,"default":true},"snapshot_controller_enabled":{"type":"TypeBool","optional":true,"default":true}}},"maxItems":1},"support_plan":{"type":"TypeString","optional":true,"default":"KubernetesOfficial"},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"web_app_routing":{"type":"TypeList","optional":true,"elem":{"schema":{"dns_zone_ids":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}},"web_app_routing_identity":{"type":"TypeList","computed":true,"elem":{"schema":{"client_id":{"type":"TypeString","computed":true},"object_id":{"type":"TypeString","computed":true},"user_assigned_identity_id":{"type":"TypeString","computed":true}}}}}},"maxItems":1},"windows_profile":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"admin_password":{"type":"TypeString","required":true},"admin_username":{"type":"TypeString","required":true,"forceNew":true},"gmsa":{"type":"TypeList","optional":true,"elem":{"schema":{"dns_server":{"type":"TypeString","required":true},"root_domain":{"type":"TypeString","required":true}}},"maxItems":1},"license":{"type":"TypeString","optional":true}}},"maxItems":1},"workload_autoscaler_profile":{"type":"TypeList","optional":true,"elem":{"schema":{"keda_enabled":{"type":"TypeBool","optional":true,"default":false},"vertical_pod_autoscaler_enabled":{"type":"TypeBool","optional":true,"default":false}}},"maxItems":1},"workload_identity_enabled":{"type":"TypeBool","optional":true,"default":false}},"timeouts":{"create":90,"read":5,"delete":90,"update":90}},"azurerm_kubernetes_cluster_extension":{"schema":{"aks_assigned_identity":{"type":"TypeList","computed":true,"elem":{"schema":{"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"cluster_id":{"type":"TypeString","required":true,"forceNew":true},"configuration_protected_settings":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"configuration_settings":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"current_version":{"type":"TypeString","computed":true},"extension_type":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"plan":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"name":{"type":"TypeString","required":true,"forceNew":true},"product":{"type":"TypeString","required":true,"forceNew":true},"promotion_code":{"type":"TypeString","optional":true,"forceNew":true},"publisher":{"type":"TypeString","required":true,"forceNew":true},"version":{"type":"TypeString","optional":true,"forceNew":true}}},"maxItems":1},"release_namespace":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"release_train":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"target_namespace":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"version":{"type":"TypeString","optional":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_kubernetes_cluster_node_pool":{"schema":{"auto_scaling_enabled":{"type":"TypeBool","optional":true},"capacity_reservation_group_id":{"type":"TypeString","optional":true,"forceNew":true},"eviction_policy":{"type":"TypeString","optional":true,"forceNew":true},"fips_enabled":{"type":"TypeBool","optional":true,"forceNew":true},"gpu_instance":{"type":"TypeString","optional":true,"forceNew":true},"host_encryption_enabled":{"type":"TypeBool","optional":true,"forceNew":true},"host_group_id":{"type":"TypeString","optional":true,"forceNew":true},"kubelet_config":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"allowed_unsafe_sysctls":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"container_log_max_line":{"type":"TypeInt","optional":true,"forceNew":true},"container_log_max_size_mb":{"type":"TypeInt","optional":true,"forceNew":true},"cpu_cfs_quota_enabled":{"type":"TypeBool","optional":true,"default":true,"forceNew":true},"cpu_cfs_quota_period":{"type":"TypeString","optional":true,"forceNew":true},"cpu_manager_policy":{"type":"TypeString","optional":true,"forceNew":true},"image_gc_high_threshold":{"type":"TypeInt","optional":true,"forceNew":true},"image_gc_low_threshold":{"type":"TypeInt","optional":true,"forceNew":true},"pod_max_pid":{"type":"TypeInt","optional":true,"forceNew":true},"topology_manager_policy":{"type":"TypeString","optional":true,"forceNew":true}}},"maxItems":1},"kubelet_disk_type":{"type":"TypeString","optional":true,"computed":true},"kubernetes_cluster_id":{"type":"TypeString","required":true,"forceNew":true},"linux_os_config":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"swap_file_size_mb":{"type":"TypeInt","optional":true,"forceNew":true},"sysctl_config":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"fs_aio_max_nr":{"type":"TypeInt","optional":true,"forceNew":true},"fs_file_max":{"type":"TypeInt","optional":true,"forceNew":true},"fs_inotify_max_user_watches":{"type":"TypeInt","optional":true,"forceNew":true},"fs_nr_open":{"type":"TypeInt","optional":true,"forceNew":true},"kernel_threads_max":{"type":"TypeInt","optional":true,"forceNew":true},"net_core_netdev_max_backlog":{"type":"TypeInt","optional":true,"forceNew":true},"net_core_optmem_max":{"type":"TypeInt","optional":true,"forceNew":true},"net_core_rmem_default":{"type":"TypeInt","optional":true,"forceNew":true},"net_core_rmem_max":{"type":"TypeInt","optional":true,"forceNew":true},"net_core_somaxconn":{"type":"TypeInt","optional":true,"forceNew":true},"net_core_wmem_default":{"type":"TypeInt","optional":true,"forceNew":true},"net_core_wmem_max":{"type":"TypeInt","optional":true,"forceNew":true},"net_ipv4_ip_local_port_range_max":{"type":"TypeInt","optional":true,"forceNew":true},"net_ipv4_ip_local_port_range_min":{"type":"TypeInt","optional":true,"forceNew":true},"net_ipv4_neigh_default_gc_thresh1":{"type":"TypeInt","optional":true,"forceNew":true},"net_ipv4_neigh_default_gc_thresh2":{"type":"TypeInt","optional":true,"forceNew":true},"net_ipv4_neigh_default_gc_thresh3":{"type":"TypeInt","optional":true,"forceNew":true},"net_ipv4_tcp_fin_timeout":{"type":"TypeInt","optional":true,"forceNew":true},"net_ipv4_tcp_keepalive_intvl":{"type":"TypeInt","optional":true,"forceNew":true},"net_ipv4_tcp_keepalive_probes":{"type":"TypeInt","optional":true,"forceNew":true},"net_ipv4_tcp_keepalive_time":{"type":"TypeInt","optional":true,"forceNew":true},"net_ipv4_tcp_max_syn_backlog":{"type":"TypeInt","optional":true,"forceNew":true},"net_ipv4_tcp_max_tw_buckets":{"type":"TypeInt","optional":true,"forceNew":true},"net_ipv4_tcp_tw_reuse":{"type":"TypeBool","optional":true,"forceNew":true},"net_netfilter_nf_conntrack_buckets":{"type":"TypeInt","optional":true,"forceNew":true},"net_netfilter_nf_conntrack_max":{"type":"TypeInt","optional":true,"forceNew":true},"vm_max_map_count":{"type":"TypeInt","optional":true,"forceNew":true},"vm_swappiness":{"type":"TypeInt","optional":true,"forceNew":true},"vm_vfs_cache_pressure":{"type":"TypeInt","optional":true,"forceNew":true}}},"maxItems":1},"transparent_huge_page_defrag":{"type":"TypeString","optional":true,"forceNew":true},"transparent_huge_page_enabled":{"type":"TypeString","optional":true,"forceNew":true}}},"maxItems":1},"max_count":{"type":"TypeInt","optional":true},"max_pods":{"type":"TypeInt","optional":true,"computed":true,"forceNew":true},"min_count":{"type":"TypeInt","optional":true},"mode":{"type":"TypeString","optional":true,"default":"User"},"name":{"type":"TypeString","required":true,"forceNew":true},"node_count":{"type":"TypeInt","optional":true,"computed":true},"node_labels":{"type":"TypeMap","optional":true,"computed":true,"elem":{"type":"TypeString"}},"node_network_profile":{"type":"TypeList","optional":true,"elem":{"schema":{"allowed_host_ports":{"type":"TypeList","optional":true,"elem":{"schema":{"port_end":{"type":"TypeInt","optional":true},"port_start":{"type":"TypeInt","optional":true},"protocol":{"type":"TypeString","optional":true}}}},"application_security_group_ids":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"node_public_ip_tags":{"type":"TypeMap","optional":true,"forceNew":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"node_public_ip_enabled":{"type":"TypeBool","optional":true,"forceNew":true},"node_public_ip_prefix_id":{"type":"TypeString","optional":true,"forceNew":true},"node_taints":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"orchestrator_version":{"type":"TypeString","optional":true,"computed":true},"os_disk_size_gb":{"type":"TypeInt","optional":true,"computed":true,"forceNew":true},"os_disk_type":{"type":"TypeString","optional":true,"default":"Managed","forceNew":true},"os_sku":{"type":"TypeString","optional":true,"computed":true},"os_type":{"type":"TypeString","optional":true,"default":"Linux","forceNew":true},"pod_subnet_id":{"type":"TypeString","optional":true,"forceNew":true},"priority":{"type":"TypeString","optional":true,"default":"Regular","forceNew":true},"proximity_placement_group_id":{"type":"TypeString","optional":true,"forceNew":true},"scale_down_mode":{"type":"TypeString","optional":true,"default":"Delete"},"snapshot_id":{"type":"TypeString","optional":true,"forceNew":true},"spot_max_price":{"type":"TypeFloat","optional":true,"default":-1,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"ultra_ssd_enabled":{"type":"TypeBool","optional":true,"default":false,"forceNew":true},"upgrade_settings":{"type":"TypeList","optional":true,"elem":{"schema":{"drain_timeout_in_minutes":{"type":"TypeInt","optional":true},"max_surge":{"type":"TypeString","required":true},"node_soak_duration_in_minutes":{"type":"TypeInt","optional":true}}},"maxItems":1},"vm_size":{"type":"TypeString","required":true,"forceNew":true},"vnet_subnet_id":{"type":"TypeString","optional":true,"forceNew":true},"windows_profile":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"outbound_nat_enabled":{"type":"TypeBool","optional":true,"default":true,"forceNew":true}}},"maxItems":1},"workload_runtime":{"type":"TypeString","optional":true},"zones":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":60,"read":5,"delete":60,"update":60}},"azurerm_kubernetes_cluster_trusted_access_role_binding":{"schema":{"kubernetes_cluster_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"roles":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}},"source_resource_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_kubernetes_fleet_manager":{"schema":{"hub_profile":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"dns_prefix":{"type":"TypeString","required":true},"fqdn":{"type":"TypeString","computed":true},"kubernetes_version":{"type":"TypeString","computed":true}}},"maxItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_kubernetes_fleet_member":{"schema":{"group":{"type":"TypeString","optional":true},"kubernetes_cluster_id":{"type":"TypeString","required":true,"forceNew":true},"kubernetes_fleet_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_kubernetes_fleet_update_run":{"schema":{"fleet_update_strategy_id":{"type":"TypeString","optional":true},"kubernetes_fleet_manager_id":{"type":"TypeString","required":true,"forceNew":true},"managed_cluster_update":{"type":"TypeList","required":true,"elem":{"schema":{"node_image_selection":{"type":"TypeList","optional":true,"elem":{"schema":{"type":{"type":"TypeString","required":true}}},"maxItems":1},"upgrade":{"type":"TypeList","required":true,"elem":{"schema":{"kubernetes_version":{"type":"TypeString","optional":true},"type":{"type":"TypeString","required":true}}},"maxItems":1}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"stage":{"type":"TypeList","optional":true,"elem":{"schema":{"after_stage_wait_in_seconds":{"type":"TypeInt","optional":true},"group":{"type":"TypeList","required":true,"elem":{"schema":{"name":{"type":"TypeString","required":true}}},"minItems":1},"name":{"type":"TypeString","required":true}}}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_kubernetes_fleet_update_strategy":{"schema":{"kubernetes_fleet_manager_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"stage":{"type":"TypeList","required":true,"elem":{"schema":{"after_stage_wait_in_seconds":{"type":"TypeInt","optional":true},"group":{"type":"TypeList","required":true,"elem":{"schema":{"name":{"type":"TypeString","required":true}}},"minItems":1},"name":{"type":"TypeString","required":true}}}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_kubernetes_flux_configuration":{"schema":{"blob_storage":{"type":"TypeList","optional":true,"elem":{"schema":{"account_key":{"type":"TypeString","optional":true},"container_id":{"type":"TypeString","required":true},"local_auth_reference":{"type":"TypeString","optional":true},"managed_identity":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","required":true}}},"maxItems":1},"sas_token":{"type":"TypeString","optional":true},"service_principal":{"type":"TypeList","optional":true,"elem":{"schema":{"client_certificate_base64":{"type":"TypeString","optional":true},"client_certificate_password":{"type":"TypeString","optional":true},"client_certificate_send_chain":{"type":"TypeBool","optional":true,"default":false},"client_id":{"type":"TypeString","required":true},"client_secret":{"type":"TypeString","optional":true},"tenant_id":{"type":"TypeString","required":true}}},"maxItems":1},"sync_interval_in_seconds":{"type":"TypeInt","optional":true,"default":600},"timeout_in_seconds":{"type":"TypeInt","optional":true,"default":600}}},"maxItems":1},"bucket":{"type":"TypeList","optional":true,"elem":{"schema":{"access_key":{"type":"TypeString","optional":true},"bucket_name":{"type":"TypeString","required":true},"local_auth_reference":{"type":"TypeString","optional":true},"secret_key_base64":{"type":"TypeString","optional":true},"sync_interval_in_seconds":{"type":"TypeInt","optional":true,"default":600},"timeout_in_seconds":{"type":"TypeInt","optional":true,"default":600},"tls_enabled":{"type":"TypeBool","optional":true,"default":true},"url":{"type":"TypeString","required":true}}},"maxItems":1},"cluster_id":{"type":"TypeString","required":true,"forceNew":true},"continuous_reconciliation_enabled":{"type":"TypeBool","optional":true,"default":true},"git_repository":{"type":"TypeList","optional":true,"elem":{"schema":{"https_ca_cert_base64":{"type":"TypeString","optional":true},"https_key_base64":{"type":"TypeString","optional":true},"https_user":{"type":"TypeString","optional":true},"local_auth_reference":{"type":"TypeString","optional":true},"reference_type":{"type":"TypeString","required":true},"reference_value":{"type":"TypeString","required":true},"ssh_known_hosts_base64":{"type":"TypeString","optional":true},"ssh_private_key_base64":{"type":"TypeString","optional":true},"sync_interval_in_seconds":{"type":"TypeInt","optional":true,"default":600},"timeout_in_seconds":{"type":"TypeInt","optional":true,"default":600},"url":{"type":"TypeString","required":true}}},"maxItems":1},"kustomizations":{"type":"TypeSet","required":true,"elem":{"schema":{"depends_on":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"garbage_collection_enabled":{"type":"TypeBool","optional":true,"default":false},"name":{"type":"TypeString","required":true},"path":{"type":"TypeString","optional":true},"recreating_enabled":{"type":"TypeBool","optional":true,"default":false},"retry_interval_in_seconds":{"type":"TypeInt","optional":true,"default":600},"sync_interval_in_seconds":{"type":"TypeInt","optional":true,"default":600},"timeout_in_seconds":{"type":"TypeInt","optional":true,"default":600}}},"minItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"namespace":{"type":"TypeString","required":true,"forceNew":true},"scope":{"type":"TypeString","optional":true,"default":"namespace","forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_kusto_attached_database_configuration":{"schema":{"attached_database_names":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"cluster_name":{"type":"TypeString","required":true,"forceNew":true},"cluster_resource_id":{"type":"TypeString","required":true,"forceNew":true},"database_name":{"type":"TypeString","required":true,"forceNew":true},"default_principal_modification_kind":{"type":"TypeString","optional":true,"default":"None"},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"sharing":{"type":"TypeList","optional":true,"elem":{"schema":{"external_tables_to_exclude":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"external_tables_to_include":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"materialized_views_to_exclude":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"materialized_views_to_include":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"tables_to_exclude":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"tables_to_include":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1}},"timeouts":{"create":60,"read":5,"delete":60,"update":60}},"azurerm_kusto_cluster":{"schema":{"allowed_fqdns":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"allowed_ip_ranges":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"auto_stop_enabled":{"type":"TypeBool","optional":true,"default":true},"data_ingestion_uri":{"type":"TypeString","computed":true},"disk_encryption_enabled":{"type":"TypeBool","optional":true,"default":false},"double_encryption_enabled":{"type":"TypeBool","optional":true,"forceNew":true},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"language_extensions":{"type":"TypeList","optional":true,"elem":{"schema":{"image":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true}}}},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"optimized_auto_scale":{"type":"TypeList","optional":true,"elem":{"schema":{"maximum_instances":{"type":"TypeInt","required":true},"minimum_instances":{"type":"TypeInt","required":true}}},"maxItems":1},"outbound_network_access_restricted":{"type":"TypeBool","optional":true,"default":false},"public_ip_type":{"type":"TypeString","optional":true,"default":"IPv4"},"public_network_access_enabled":{"type":"TypeBool","optional":true,"default":true},"purge_enabled":{"type":"TypeBool","optional":true,"default":false},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"sku":{"type":"TypeList","required":true,"elem":{"schema":{"capacity":{"type":"TypeInt","optional":true,"computed":true},"name":{"type":"TypeString","required":true}}},"maxItems":1},"streaming_ingestion_enabled":{"type":"TypeBool","optional":true,"default":false},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"trusted_external_tenants":{"type":"TypeList","configMode":"Auto","optional":true,"computed":true,"elem":{"type":"TypeString"}},"uri":{"type":"TypeString","computed":true},"virtual_network_configuration":{"type":"TypeList","optional":true,"elem":{"schema":{"data_management_public_ip_id":{"type":"TypeString","required":true,"forceNew":true},"engine_public_ip_id":{"type":"TypeString","required":true,"forceNew":true},"subnet_id":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"zones":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":60,"read":5,"delete":60,"update":60}},"azurerm_kusto_cluster_customer_managed_key":{"schema":{"cluster_id":{"type":"TypeString","required":true,"forceNew":true},"key_name":{"type":"TypeString","required":true},"key_vault_id":{"type":"TypeString","required":true},"key_version":{"type":"TypeString","optional":true},"user_identity":{"type":"TypeString","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_kusto_cluster_managed_private_endpoint":{"schema":{"cluster_name":{"type":"TypeString","required":true,"forceNew":true},"group_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"private_link_resource_id":{"type":"TypeString","required":true,"forceNew":true},"private_link_resource_region":{"type":"TypeString","optional":true,"forceNew":true},"request_message":{"type":"TypeString","optional":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":60,"read":5,"delete":60,"update":60}},"azurerm_kusto_cluster_principal_assignment":{"schema":{"cluster_name":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"principal_id":{"type":"TypeString","required":true,"forceNew":true},"principal_name":{"type":"TypeString","computed":true},"principal_type":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"role":{"type":"TypeString","required":true,"forceNew":true},"tenant_id":{"type":"TypeString","required":true,"forceNew":true},"tenant_name":{"type":"TypeString","computed":true}},"timeouts":{"create":60,"read":5,"delete":60}},"azurerm_kusto_cosmosdb_data_connection":{"schema":{"cosmosdb_container_id":{"type":"TypeString","required":true,"forceNew":true},"kusto_database_id":{"type":"TypeString","required":true,"forceNew":true},"location":{"type":"TypeString","required":true,"forceNew":true},"managed_identity_id":{"type":"TypeString","required":true,"forceNew":true},"mapping_rule_name":{"type":"TypeString","optional":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"retrieval_start_date":{"type":"TypeString","optional":true,"forceNew":true},"table_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_kusto_database":{"schema":{"cluster_name":{"type":"TypeString","required":true,"forceNew":true},"hot_cache_period":{"type":"TypeString","optional":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"size":{"type":"TypeFloat","computed":true},"soft_delete_period":{"type":"TypeString","optional":true}},"timeouts":{"create":60,"read":5,"delete":60,"update":60}},"azurerm_kusto_database_principal_assignment":{"schema":{"cluster_name":{"type":"TypeString","required":true,"forceNew":true},"database_name":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"principal_id":{"type":"TypeString","required":true,"forceNew":true},"principal_name":{"type":"TypeString","computed":true},"principal_type":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"role":{"type":"TypeString","required":true,"forceNew":true},"tenant_id":{"type":"TypeString","required":true,"forceNew":true},"tenant_name":{"type":"TypeString","computed":true}},"timeouts":{"create":60,"read":5,"delete":60}},"azurerm_kusto_eventgrid_data_connection":{"schema":{"blob_storage_event_type":{"type":"TypeString","optional":true,"default":"Microsoft.Storage.BlobCreated"},"cluster_name":{"type":"TypeString","required":true,"forceNew":true},"data_format":{"type":"TypeString","optional":true},"database_name":{"type":"TypeString","required":true,"forceNew":true},"database_routing_type":{"type":"TypeString","optional":true,"default":"Single","forceNew":true},"eventgrid_resource_id":{"type":"TypeString","optional":true},"eventhub_consumer_group_name":{"type":"TypeString","required":true,"forceNew":true},"eventhub_id":{"type":"TypeString","required":true,"forceNew":true},"location":{"type":"TypeString","required":true,"forceNew":true},"managed_identity_resource_id":{"type":"TypeString","optional":true},"mapping_rule_name":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"skip_first_record":{"type":"TypeBool","optional":true,"default":false},"storage_account_id":{"type":"TypeString","required":true,"forceNew":true},"table_name":{"type":"TypeString","optional":true}},"timeouts":{"create":60,"read":5,"delete":60,"update":60}},"azurerm_kusto_eventhub_data_connection":{"schema":{"cluster_name":{"type":"TypeString","required":true,"forceNew":true},"compression":{"type":"TypeString","optional":true,"default":"None","forceNew":true},"consumer_group":{"type":"TypeString","required":true,"forceNew":true},"data_format":{"type":"TypeString","optional":true},"database_name":{"type":"TypeString","required":true,"forceNew":true},"database_routing_type":{"type":"TypeString","optional":true,"default":"Single","forceNew":true},"event_system_properties":{"type":"TypeList","optional":true,"computed":true,"elem":{"type":"TypeString"}},"eventhub_id":{"type":"TypeString","required":true,"forceNew":true},"identity_id":{"type":"TypeString","optional":true},"location":{"type":"TypeString","required":true,"forceNew":true},"mapping_rule_name":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"table_name":{"type":"TypeString","optional":true}},"timeouts":{"create":60,"read":5,"delete":60,"update":60}},"azurerm_kusto_iothub_data_connection":{"schema":{"cluster_name":{"type":"TypeString","required":true,"forceNew":true},"consumer_group":{"type":"TypeString","required":true,"forceNew":true},"data_format":{"type":"TypeString","optional":true,"forceNew":true},"database_name":{"type":"TypeString","required":true,"forceNew":true},"database_routing_type":{"type":"TypeString","optional":true,"default":"Single","forceNew":true},"event_system_properties":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"iothub_id":{"type":"TypeString","required":true,"forceNew":true},"location":{"type":"TypeString","required":true,"forceNew":true},"mapping_rule_name":{"type":"TypeString","optional":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"shared_access_policy_name":{"type":"TypeString","required":true,"forceNew":true},"table_name":{"type":"TypeString","optional":true,"forceNew":true}},"timeouts":{"create":60,"read":5,"delete":60}},"azurerm_kusto_script":{"schema":{"continue_on_errors_enabled":{"type":"TypeBool","optional":true,"default":false},"database_id":{"type":"TypeString","required":true,"forceNew":true},"force_an_update_when_value_changed":{"type":"TypeString","optional":true,"computed":true},"name":{"type":"TypeString","required":true,"forceNew":true},"sas_token":{"type":"TypeString","optional":true,"forceNew":true},"script_content":{"type":"TypeString","optional":true,"forceNew":true},"url":{"type":"TypeString","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_lb":{"schema":{"edge_zone":{"type":"TypeString","optional":true,"forceNew":true},"frontend_ip_configuration":{"type":"TypeList","optional":true,"elem":{"schema":{"gateway_load_balancer_frontend_ip_configuration_id":{"type":"TypeString","optional":true,"computed":true},"id":{"type":"TypeString","computed":true},"inbound_nat_rules":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"load_balancer_rules":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true},"outbound_rules":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"private_ip_address":{"type":"TypeString","optional":true,"computed":true},"private_ip_address_allocation":{"type":"TypeString","optional":true,"computed":true},"private_ip_address_version":{"type":"TypeString","optional":true,"computed":true},"public_ip_address_id":{"type":"TypeString","optional":true,"computed":true},"public_ip_prefix_id":{"type":"TypeString","optional":true,"computed":true},"subnet_id":{"type":"TypeString","optional":true,"computed":true},"zones":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}}}},"minItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"private_ip_address":{"type":"TypeString","computed":true},"private_ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"sku":{"type":"TypeString","optional":true,"default":"Standard","forceNew":true},"sku_tier":{"type":"TypeString","optional":true,"default":"Regional","forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_lb_backend_address_pool":{"schema":{"backend_ip_configurations":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"inbound_nat_rules":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"load_balancing_rules":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"loadbalancer_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"outbound_rules":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"synchronous_mode":{"type":"TypeString","optional":true,"forceNew":true},"tunnel_interface":{"type":"TypeList","optional":true,"elem":{"schema":{"identifier":{"type":"TypeInt","required":true},"port":{"type":"TypeInt","required":true},"protocol":{"type":"TypeString","required":true},"type":{"type":"TypeString","required":true}}},"minItems":1},"virtual_network_id":{"type":"TypeString","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_lb_backend_address_pool_address":{"schema":{"backend_address_ip_configuration_id":{"type":"TypeString","optional":true,"description":"For global load balancer, user needs to specify the `backend_address_ip_configuration_id` of the added regional load balancers"},"backend_address_pool_id":{"type":"TypeString","required":true,"forceNew":true},"inbound_nat_rule_port_mapping":{"type":"TypeList","computed":true,"elem":{"schema":{"backend_port":{"type":"TypeInt","computed":true},"frontend_port":{"type":"TypeInt","computed":true},"inbound_nat_rule_name":{"type":"TypeString","computed":true}}}},"ip_address":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"virtual_network_id":{"type":"TypeString","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_lb_nat_pool":{"schema":{"backend_port":{"type":"TypeInt","required":true},"floating_ip_enabled":{"type":"TypeBool","optional":true},"frontend_ip_configuration_id":{"type":"TypeString","computed":true},"frontend_ip_configuration_name":{"type":"TypeString","required":true},"frontend_port_end":{"type":"TypeInt","required":true},"frontend_port_start":{"type":"TypeInt","required":true},"idle_timeout_in_minutes":{"type":"TypeInt","optional":true,"default":4},"loadbalancer_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"protocol":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tcp_reset_enabled":{"type":"TypeBool","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_lb_nat_rule":{"schema":{"backend_address_pool_id":{"type":"TypeString","optional":true},"backend_ip_configuration_id":{"type":"TypeString","computed":true},"backend_port":{"type":"TypeInt","required":true},"enable_floating_ip":{"type":"TypeBool","optional":true,"computed":true},"enable_tcp_reset":{"type":"TypeBool","optional":true},"frontend_ip_configuration_id":{"type":"TypeString","computed":true},"frontend_ip_configuration_name":{"type":"TypeString","required":true},"frontend_port":{"type":"TypeInt","optional":true},"frontend_port_end":{"type":"TypeInt","optional":true},"frontend_port_start":{"type":"TypeInt","optional":true},"idle_timeout_in_minutes":{"type":"TypeInt","optional":true,"default":4},"loadbalancer_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"protocol":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_lb_outbound_rule":{"schema":{"allocated_outbound_ports":{"type":"TypeInt","optional":true,"default":1024},"backend_address_pool_id":{"type":"TypeString","required":true},"enable_tcp_reset":{"type":"TypeBool","optional":true,"default":false},"frontend_ip_configuration":{"type":"TypeList","optional":true,"elem":{"schema":{"id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true}}},"minItems":1},"idle_timeout_in_minutes":{"type":"TypeInt","optional":true,"default":4},"loadbalancer_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"protocol":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_lb_probe":{"schema":{"interval_in_seconds":{"type":"TypeInt","optional":true,"default":15},"load_balancer_rules":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"loadbalancer_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"number_of_probes":{"type":"TypeInt","optional":true,"default":2},"port":{"type":"TypeInt","required":true},"probe_threshold":{"type":"TypeInt","optional":true,"default":1},"protocol":{"type":"TypeString","optional":true,"default":"Tcp"},"request_path":{"type":"TypeString","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_lb_rule":{"schema":{"backend_address_pool_ids":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"maxItems":2,"minItems":1},"backend_port":{"type":"TypeInt","required":true},"disable_outbound_snat":{"type":"TypeBool","optional":true,"default":false},"enable_floating_ip":{"type":"TypeBool","optional":true,"default":false},"enable_tcp_reset":{"type":"TypeBool","optional":true},"frontend_ip_configuration_id":{"type":"TypeString","computed":true},"frontend_ip_configuration_name":{"type":"TypeString","required":true},"frontend_port":{"type":"TypeInt","required":true},"idle_timeout_in_minutes":{"type":"TypeInt","optional":true,"default":4},"load_distribution":{"type":"TypeString","optional":true,"default":"Default"},"loadbalancer_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"probe_id":{"type":"TypeString","optional":true},"protocol":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_lighthouse_assignment":{"schema":{"lighthouse_definition_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"scope":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_lighthouse_definition":{"schema":{"authorization":{"type":"TypeSet","required":true,"elem":{"schema":{"delegated_role_definition_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_display_name":{"type":"TypeString","optional":true},"principal_id":{"type":"TypeString","required":true},"role_definition_id":{"type":"TypeString","required":true}}},"minItems":1},"description":{"type":"TypeString","optional":true},"eligible_authorization":{"type":"TypeSet","optional":true,"elem":{"schema":{"just_in_time_access_policy":{"type":"TypeList","optional":true,"elem":{"schema":{"approver":{"type":"TypeSet","optional":true,"elem":{"schema":{"principal_display_name":{"type":"TypeString","optional":true},"principal_id":{"type":"TypeString","required":true}}}},"maximum_activation_duration":{"type":"TypeString","optional":true,"default":"PT8H"},"multi_factor_auth_provider":{"type":"TypeString","optional":true}}},"maxItems":1},"principal_display_name":{"type":"TypeString","optional":true},"principal_id":{"type":"TypeString","required":true},"role_definition_id":{"type":"TypeString","required":true}}}},"lighthouse_definition_id":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"managing_tenant_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"plan":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"product":{"type":"TypeString","required":true},"publisher":{"type":"TypeString","required":true},"version":{"type":"TypeString","required":true}}},"maxItems":1},"scope":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_linux_function_app":{"schema":{"app_settings":{"type":"TypeMap","optional":true,"description":"A map of key-value pairs for [App Settings](https://docs.microsoft.com/en-us/azure/azure-functions/functions-app-settings) and custom values.","elem":{"type":"TypeString"}},"auth_settings":{"type":"TypeList","optional":true,"elem":{"schema":{"active_directory":{"type":"TypeList","optional":true,"elem":{"schema":{"allowed_audiences":{"type":"TypeList","optional":true,"description":"Specifies a list of Allowed audience values to consider when validating JWTs issued by Azure Active Directory.","elem":{"type":"TypeString"}},"client_id":{"type":"TypeString","required":true,"description":"The ID of the Client to use to authenticate with Azure Active Directory."},"client_secret":{"type":"TypeString","optional":true,"description":"The Client Secret for the Client ID. Cannot be used with `client_secret_setting_name`."},"client_secret_setting_name":{"type":"TypeString","optional":true,"description":"The App Setting name that contains the client secret of the Client. Cannot be used with `client_secret`."}}},"maxItems":1},"additional_login_parameters":{"type":"TypeMap","optional":true,"description":"Specifies a map of Login Parameters to send to the OpenID Connect authorization endpoint when a user logs in.","elem":{"type":"TypeString"}},"allowed_external_redirect_urls":{"type":"TypeList","optional":true,"description":"Specifies a list of External URLs that can be redirected to as part of logging in or logging out of the Windows Web App.","computed":true,"elem":{"type":"TypeString"}},"default_provider":{"type":"TypeString","optional":true,"description":"The default authentication provider to use when multiple providers are configured. Possible values include: `AzureActiveDirectory`, `Facebook`, `Google`, `MicrosoftAccount`, `Twitter`, `Github`.","computed":true},"enabled":{"type":"TypeBool","required":true,"description":"Should the Authentication / Authorization feature be enabled?"},"facebook":{"type":"TypeList","optional":true,"elem":{"schema":{"app_id":{"type":"TypeString","required":true,"description":"The App ID of the Facebook app used for login."},"app_secret":{"type":"TypeString","optional":true,"description":"The App Secret of the Facebook app used for Facebook Login. Cannot be specified with `app_secret_setting_name`."},"app_secret_setting_name":{"type":"TypeString","optional":true,"description":"The app setting name that contains the `app_secret` value used for Facebook Login. Cannot be specified with `app_secret`."},"oauth_scopes":{"type":"TypeList","optional":true,"description":"Specifies a list of OAuth 2.0 scopes to be requested as part of Facebook Login authentication.","elem":{"type":"TypeString"}}}},"maxItems":1},"github":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","required":true,"description":"The ID of the GitHub app used for login."},"client_secret":{"type":"TypeString","optional":true,"description":"The Client Secret of the GitHub app used for GitHub Login. Cannot be specified with `client_secret_setting_name`."},"client_secret_setting_name":{"type":"TypeString","optional":true,"description":"The app setting name that contains the `client_secret` value used for GitHub Login. Cannot be specified with `client_secret`."},"oauth_scopes":{"type":"TypeList","optional":true,"description":"Specifies a list of OAuth 2.0 scopes that will be requested as part of GitHub Login authentication.","elem":{"type":"TypeString"}}}},"maxItems":1},"google":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","required":true,"description":"The OpenID Connect Client ID for the Google web application."},"client_secret":{"type":"TypeString","optional":true,"description":"The client secret associated with the Google web application. Cannot be specified with `client_secret_setting_name`."},"client_secret_setting_name":{"type":"TypeString","optional":true,"description":"The app setting name that contains the `client_secret` value used for Google Login. Cannot be specified with `client_secret`."},"oauth_scopes":{"type":"TypeList","optional":true,"description":"Specifies a list of OAuth 2.0 scopes that will be requested as part of Google Sign-In authentication. If not specified, \"openid\", \"profile\", and \"email\" are used as default scopes.","elem":{"type":"TypeString"}}}},"maxItems":1},"issuer":{"type":"TypeString","optional":true,"description":"The OpenID Connect Issuer URI that represents the entity which issues access tokens."},"microsoft":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","required":true,"description":"The OAuth 2.0 client ID that was created for the app used for authentication."},"client_secret":{"type":"TypeString","optional":true,"description":"The OAuth 2.0 client secret that was created for the app used for authentication. Cannot be specified with `client_secret_setting_name`."},"client_secret_setting_name":{"type":"TypeString","optional":true,"description":"The app setting name containing the OAuth 2.0 client secret that was created for the app used for authentication. Cannot be specified with `client_secret`."},"oauth_scopes":{"type":"TypeList","optional":true,"description":"The list of OAuth 2.0 scopes that will be requested as part of Microsoft Account authentication. If not specified, `wl.basic` is used as the default scope.","elem":{"type":"TypeString"}}}},"maxItems":1},"runtime_version":{"type":"TypeString","optional":true,"description":"The RuntimeVersion of the Authentication / Authorization feature in use.","computed":true},"token_refresh_extension_hours":{"type":"TypeFloat","optional":true,"default":72,"description":"The number of hours after session token expiration that a session token can be used to call the token refresh API. Defaults to `72` hours."},"token_store_enabled":{"type":"TypeBool","optional":true,"default":false,"description":"Should the Windows Web App durably store platform-specific security tokens that are obtained during login flows? Defaults to `false`."},"twitter":{"type":"TypeList","optional":true,"elem":{"schema":{"consumer_key":{"type":"TypeString","required":true,"description":"The OAuth 1.0a consumer key of the Twitter application used for sign-in."},"consumer_secret":{"type":"TypeString","optional":true,"description":"The OAuth 1.0a consumer secret of the Twitter application used for sign-in. Cannot be specified with `consumer_secret_setting_name`."},"consumer_secret_setting_name":{"type":"TypeString","optional":true,"description":"The app setting name that contains the OAuth 1.0a consumer secret of the Twitter application used for sign-in. Cannot be specified with `consumer_secret`."}}},"maxItems":1},"unauthenticated_client_action":{"type":"TypeString","optional":true,"description":"The action to take when an unauthenticated client attempts to access the app. Possible values include: `RedirectToLoginPage`, `AllowAnonymous`.","computed":true}}},"maxItems":1},"auth_settings_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"active_directory_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"allowed_applications":{"type":"TypeList","optional":true,"description":"The list of allowed Applications for the Default Authorisation Policy.","elem":{"type":"TypeString"}},"allowed_audiences":{"type":"TypeList","optional":true,"description":"Specifies a list of Allowed audience values to consider when validating JWTs issued by Azure Active Directory.","elem":{"type":"TypeString"}},"allowed_groups":{"type":"TypeList","optional":true,"description":"The list of allowed Group Names for the Default Authorisation Policy.","elem":{"type":"TypeString"}},"allowed_identities":{"type":"TypeList","optional":true,"description":"The list of allowed Identities for the Default Authorisation Policy.","elem":{"type":"TypeString"}},"client_id":{"type":"TypeString","required":true,"description":"The ID of the Client to use to authenticate with Azure Active Directory."},"client_secret_certificate_thumbprint":{"type":"TypeString","optional":true,"description":"The thumbprint of the certificate used for signing purposes."},"client_secret_setting_name":{"type":"TypeString","optional":true,"description":"The App Setting name that contains the client secret of the Client."},"jwt_allowed_client_applications":{"type":"TypeList","optional":true,"description":"A list of Allowed Client Applications in the JWT Claim.","elem":{"type":"TypeString"}},"jwt_allowed_groups":{"type":"TypeList","optional":true,"description":"A list of Allowed Groups in the JWT Claim.","elem":{"type":"TypeString"}},"login_parameters":{"type":"TypeMap","optional":true,"description":"A map of key-value pairs to send to the Authorisation Endpoint when a user logs in.","elem":{"type":"TypeString"}},"tenant_auth_endpoint":{"type":"TypeString","required":true,"description":"The Azure Tenant Endpoint for the Authenticating Tenant. e.g. `https://login.microsoftonline.com/v2.0/{tenant-guid}/`."},"www_authentication_disabled":{"type":"TypeBool","optional":true,"description":"Should the www-authenticate provider should be omitted from the request? Defaults to `false`"}}},"maxItems":1},"apple_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","required":true,"description":"The OpenID Connect Client ID for the Apple web application."},"client_secret_setting_name":{"type":"TypeString","required":true,"description":"The app setting name that contains the `client_secret` value used for Apple Login."},"login_scopes":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"auth_enabled":{"type":"TypeBool","optional":true,"description":"Should the AuthV2 Settings be enabled. Defaults to `false`"},"azure_static_web_app_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","required":true,"description":"The ID of the Client to use to authenticate with Azure Static Web App Authentication."}}},"maxItems":1},"config_file_path":{"type":"TypeString","optional":true,"description":"The path to the App Auth settings. **Note:** Relative Paths are evaluated from the Site Root directory."},"custom_oidc_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"authorisation_endpoint":{"type":"TypeString","description":"The endpoint to make the Authorisation Request.","computed":true},"certification_uri":{"type":"TypeString","description":"The endpoint that provides the keys necessary to validate the token.","computed":true},"client_credential_method":{"type":"TypeString","description":"The Client Credential Method used. Currently the only supported value is `ClientSecretPost`.","computed":true},"client_id":{"type":"TypeString","required":true,"description":"The ID of the Client to use to authenticate with this Custom OIDC."},"client_secret_setting_name":{"type":"TypeString","description":"The App Setting name that contains the secret for this Custom OIDC Client.","computed":true},"issuer_endpoint":{"type":"TypeString","description":"The endpoint that issued the Token.","computed":true},"name":{"type":"TypeString","required":true,"description":"The name of the Custom OIDC Authentication Provider."},"name_claim_type":{"type":"TypeString","optional":true,"description":"The name of the claim that contains the users name."},"openid_configuration_endpoint":{"type":"TypeString","required":true,"description":"The endpoint that contains all the configuration endpoints for this Custom OIDC provider."},"scopes":{"type":"TypeList","optional":true,"description":"The list of the scopes that should be requested while authenticating.","elem":{"type":"TypeString"}},"token_endpoint":{"type":"TypeString","description":"The endpoint used to request a Token.","computed":true}}}},"default_provider":{"type":"TypeString","optional":true,"description":"The Default Authentication Provider to use when the `unauthenticated_action` is set to `RedirectToLoginPage`. Possible values include: `apple`, `azureactivedirectory`, `facebook`, `github`, `google`, `twitter` and the `name` of your `custom_oidc_v2` provider."},"excluded_paths":{"type":"TypeList","optional":true,"description":"The paths which should be excluded from the `unauthenticated_action` when it is set to `RedirectToLoginPage`.","elem":{"type":"TypeString"}},"facebook_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"app_id":{"type":"TypeString","required":true,"description":"The App ID of the Facebook app used for login."},"app_secret_setting_name":{"type":"TypeString","required":true,"description":"The app setting name that contains the `app_secret` value used for Facebook Login."},"graph_api_version":{"type":"TypeString","optional":true,"description":"The version of the Facebook API to be used while logging in.","computed":true},"login_scopes":{"type":"TypeList","optional":true,"description":"Specifies a list of scopes to be requested as part of Facebook Login authentication.","elem":{"type":"TypeString"}}}},"maxItems":1},"forward_proxy_convention":{"type":"TypeString","optional":true,"default":"NoProxy","description":"The convention used to determine the url of the request made. Possible values include `ForwardProxyConventionNoProxy`, `ForwardProxyConventionStandard`, `ForwardProxyConventionCustom`. Defaults to `ForwardProxyConventionNoProxy`"},"forward_proxy_custom_host_header_name":{"type":"TypeString","optional":true,"description":"The name of the header containing the host of the request."},"forward_proxy_custom_scheme_header_name":{"type":"TypeString","optional":true,"description":"The name of the header containing the scheme of the request."},"github_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","required":true,"description":"The ID of the GitHub app used for login."},"client_secret_setting_name":{"type":"TypeString","required":true,"description":"The app setting name that contains the `client_secret` value used for GitHub Login."},"login_scopes":{"type":"TypeList","optional":true,"description":"Specifies a list of OAuth 2.0 scopes that will be requested as part of GitHub Login authentication.","elem":{"type":"TypeString"}}}},"maxItems":1},"google_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"allowed_audiences":{"type":"TypeList","optional":true,"description":"Specifies a list of Allowed Audiences that will be requested as part of Google Sign-In authentication.","elem":{"type":"TypeString"}},"client_id":{"type":"TypeString","required":true,"description":"The OpenID Connect Client ID for the Google web application."},"client_secret_setting_name":{"type":"TypeString","required":true,"description":"The app setting name that contains the `client_secret` value used for Google Login."},"login_scopes":{"type":"TypeList","optional":true,"description":"Specifies a list of Login scopes that will be requested as part of Google Sign-In authentication.","elem":{"type":"TypeString"}}}},"maxItems":1},"http_route_api_prefix":{"type":"TypeString","optional":true,"default":"/.auth","description":"The prefix that should precede all the authentication and authorisation paths. Defaults to `/.auth`"},"login":{"type":"TypeList","required":true,"elem":{"schema":{"allowed_external_redirect_urls":{"type":"TypeList","optional":true,"description":"External URLs that can be redirected to as part of logging in or logging out of the app. This is an advanced setting typically only needed by Windows Store application backends. **Note:** URLs within the current domain are always implicitly allowed.","elem":{"type":"TypeString"}},"cookie_expiration_convention":{"type":"TypeString","optional":true,"default":"FixedTime","description":"The method by which cookies expire. Possible values include: `FixedTime`, and `IdentityProviderDerived`. Defaults to `FixedTime`."},"cookie_expiration_time":{"type":"TypeString","optional":true,"default":"08:00:00","description":"The time after the request is made when the session cookie should expire. Defaults to `08:00:00`."},"logout_endpoint":{"type":"TypeString","optional":true,"description":"The endpoint to which logout requests should be made."},"nonce_expiration_time":{"type":"TypeString","optional":true,"default":"00:05:00","description":"The time after the request is made when the nonce should expire. Defaults to `00:05:00`."},"preserve_url_fragments_for_logins":{"type":"TypeBool","optional":true,"default":false,"description":"Should the fragments from the request be preserved after the login request is made. Defaults to `false`."},"token_refresh_extension_time":{"type":"TypeFloat","optional":true,"default":72,"description":"The number of hours after session token expiration that a session token can be used to call the token refresh API. Defaults to `72` hours."},"token_store_enabled":{"type":"TypeBool","optional":true,"default":false,"description":"Should the Token Store configuration Enabled. Defaults to `false`"},"token_store_path":{"type":"TypeString","optional":true,"description":"The directory path in the App Filesystem in which the tokens will be stored."},"token_store_sas_setting_name":{"type":"TypeString","optional":true,"description":"The name of the app setting which contains the SAS URL of the blob storage containing the tokens."},"validate_nonce":{"type":"TypeBool","optional":true,"default":true,"description":"Should the nonce be validated while completing the login flow. Defaults to `true`."}}},"maxItems":1},"microsoft_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"allowed_audiences":{"type":"TypeList","optional":true,"description":"Specifies a list of Allowed Audiences that will be requested as part of Microsoft Sign-In authentication.","elem":{"type":"TypeString"}},"client_id":{"type":"TypeString","required":true,"description":"The OAuth 2.0 client ID that was created for the app used for authentication."},"client_secret_setting_name":{"type":"TypeString","required":true,"description":"The app setting name containing the OAuth 2.0 client secret that was created for the app used for authentication."},"login_scopes":{"type":"TypeList","optional":true,"description":"The list of Login scopes that will be requested as part of Microsoft Account authentication.","elem":{"type":"TypeString"}}}},"maxItems":1},"require_authentication":{"type":"TypeBool","optional":true,"description":"Should the authentication flow be used for all requests."},"require_https":{"type":"TypeBool","optional":true,"default":true,"description":"Should HTTPS be required on connections? Defaults to true."},"runtime_version":{"type":"TypeString","optional":true,"default":"~1","description":"The Runtime Version of the Authentication and Authorisation feature of this App. Defaults to `~1`"},"twitter_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"consumer_key":{"type":"TypeString","required":true,"description":"The OAuth 1.0a consumer key of the Twitter application used for sign-in."},"consumer_secret_setting_name":{"type":"TypeString","required":true,"description":"The app setting name that contains the OAuth 1.0a consumer secret of the Twitter application used for sign-in."}}},"maxItems":1},"unauthenticated_action":{"type":"TypeString","optional":true,"default":"RedirectToLoginPage","description":"The action to take for requests made without authentication. Possible values include `RedirectToLoginPage`, `AllowAnonymous`, `Return401`, and `Return403`. Defaults to `RedirectToLoginPage`."}}},"maxItems":1},"backup":{"type":"TypeList","optional":true,"elem":{"schema":{"enabled":{"type":"TypeBool","optional":true,"default":true,"description":"Should this backup job be enabled?"},"name":{"type":"TypeString","required":true,"description":"The name which should be used for this Backup."},"schedule":{"type":"TypeList","required":true,"elem":{"schema":{"frequency_interval":{"type":"TypeInt","required":true,"description":"How often the backup should be executed (e.g. for weekly backup, this should be set to `7` and `frequency_unit` should be set to `Day`)."},"frequency_unit":{"type":"TypeString","required":true,"description":"The unit of time for how often the backup should take place. Possible values include: `Day` and `Hour`."},"keep_at_least_one_backup":{"type":"TypeBool","optional":true,"default":false,"description":"Should the service keep at least one backup, regardless of age of backup. Defaults to `false`."},"last_execution_time":{"type":"TypeString","description":"The time the backup was last attempted.","computed":true},"retention_period_days":{"type":"TypeInt","optional":true,"default":30,"description":"After how many days backups should be deleted."},"start_time":{"type":"TypeString","optional":true,"description":"When the schedule should start working in RFC-3339 format.","computed":true}}},"maxItems":1},"storage_account_url":{"type":"TypeString","required":true,"description":"The SAS URL to the container."}}},"maxItems":1},"builtin_logging_enabled":{"type":"TypeBool","optional":true,"default":true,"description":"Should built in logging be enabled. Configures `AzureWebJobsDashboard` app setting based on the configured storage setting"},"client_certificate_enabled":{"type":"TypeBool","optional":true,"default":false,"description":"Should the function app use Client Certificates"},"client_certificate_exclusion_paths":{"type":"TypeString","optional":true,"description":"Paths to exclude when using client certificates, separated by ;"},"client_certificate_mode":{"type":"TypeString","optional":true,"default":"Optional","description":"The mode of the Function App's client certificates requirement for incoming requests. Possible values are `Required`, `Optional`, and `OptionalInteractiveUser` "},"connection_string":{"type":"TypeSet","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true,"description":"The name which should be used for this Connection."},"type":{"type":"TypeString","required":true,"description":"Type of database. Possible values include: `MySQL`, `SQLServer`, `SQLAzure`, `Custom`, `NotificationHub`, `ServiceBus`, `EventHub`, `APIHub`, `DocDb`, `RedisCache`, and `PostgreSQL`."},"value":{"type":"TypeString","required":true,"description":"The connection string value."}}}},"content_share_force_disabled":{"type":"TypeBool","optional":true,"default":false,"description":"Force disable the content share settings."},"custom_domain_verification_id":{"type":"TypeString","computed":true},"daily_memory_time_quota":{"type":"TypeInt","optional":true,"default":0,"description":"The amount of memory in gigabyte-seconds that your application is allowed to consume per day. Setting this value only affects function apps in Consumption Plans."},"default_hostname":{"type":"TypeString","computed":true},"enabled":{"type":"TypeBool","optional":true,"default":true,"description":"Is the Linux Function App enabled."},"ftp_publish_basic_authentication_enabled":{"type":"TypeBool","optional":true,"default":true},"functions_extension_version":{"type":"TypeString","optional":true,"default":"~4","description":"The runtime version associated with the Function App."},"hosting_environment_id":{"type":"TypeString","computed":true},"https_only":{"type":"TypeBool","optional":true,"default":false,"description":"Can the Function App only be accessed via HTTPS?"},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"key_vault_reference_identity_id":{"type":"TypeString","optional":true,"description":"The User Assigned Identity to use for Key Vault access.","computed":true},"kind":{"type":"TypeString","computed":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"description":"Specifies the name of the Function App.","forceNew":true},"outbound_ip_address_list":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"outbound_ip_addresses":{"type":"TypeString","computed":true},"possible_outbound_ip_address_list":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"possible_outbound_ip_addresses":{"type":"TypeString","computed":true},"public_network_access_enabled":{"type":"TypeBool","optional":true,"default":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"service_plan_id":{"type":"TypeString","required":true,"description":"The ID of the App Service Plan within which to create this Function App"},"site_config":{"type":"TypeList","required":true,"elem":{"schema":{"always_on":{"type":"TypeBool","optional":true,"description":"If this Linux Web App is Always On enabled. Defaults to `false`.","computed":true},"api_definition_url":{"type":"TypeString","optional":true,"description":"The URL of the API definition that describes this Linux Function App."},"api_management_api_id":{"type":"TypeString","optional":true,"description":"The ID of the API Management API for this Linux Function App."},"app_command_line":{"type":"TypeString","optional":true,"description":"The program and any arguments used to launch this app via the command line. (Example `node myapp.js`)."},"app_scale_limit":{"type":"TypeInt","optional":true,"description":"The number of workers this function app can scale out to. Only applicable to apps on the Consumption and Premium plan.","computed":true},"app_service_logs":{"type":"TypeList","optional":true,"elem":{"schema":{"disk_quota_mb":{"type":"TypeInt","optional":true,"default":35,"description":"The amount of disk space to use for logs. Valid values are between `25` and `100`."},"retention_period_days":{"type":"TypeInt","optional":true,"description":"The retention period for logs in days. Valid values are between `0` and `99999`. Defaults to `0` (never delete)."}}},"maxItems":1},"application_insights_connection_string":{"type":"TypeString","optional":true,"description":"The Connection String for linking the Linux Function App to Application Insights."},"application_insights_key":{"type":"TypeString","optional":true,"description":"The Instrumentation Key for connecting the Linux Function App to Application Insights."},"application_stack":{"type":"TypeList","optional":true,"elem":{"schema":{"docker":{"type":"TypeList","optional":true,"description":"A docker block","elem":{"schema":{"image_name":{"type":"TypeString","required":true,"description":"The name of the Docker image to use."},"image_tag":{"type":"TypeString","required":true,"description":"The image tag of the image to use."},"registry_password":{"type":"TypeString","optional":true,"description":"The password for the account to use to connect to the registry."},"registry_url":{"type":"TypeString","required":true,"description":"The URL of the docker registry."},"registry_username":{"type":"TypeString","optional":true,"description":"The username to use for connections to the registry."}}}},"dotnet_version":{"type":"TypeString","optional":true,"description":"The version of .Net. Possible values are `3.1`, `6.0` and `7.0`"},"java_version":{"type":"TypeString","optional":true,"description":"The version of Java to use. Possible values are `8`, `11`, and `17`"},"node_version":{"type":"TypeString","optional":true,"description":"The version of Node to use. Possible values include `12`, `14`, `16`, `18` and `20`"},"powershell_core_version":{"type":"TypeString","optional":true,"description":"The version of PowerShell Core to use. Possibles values are `7`, `7.2`, and `7.4`"},"python_version":{"type":"TypeString","optional":true,"description":"The version of Python to use. Possible values include `3.12`, `3.11`, `3.10`, `3.9`, `3.8`, and `3.7`."},"use_custom_runtime":{"type":"TypeBool","optional":true},"use_dotnet_isolated_runtime":{"type":"TypeBool","optional":true,"default":false,"description":"Should the DotNet process use an isolated runtime. Defaults to `false`."}}},"maxItems":1},"container_registry_managed_identity_client_id":{"type":"TypeString","optional":true,"description":"The Client ID of the Managed Service Identity to use for connections to the Azure Container Registry."},"container_registry_use_managed_identity":{"type":"TypeBool","optional":true,"default":false,"description":"Should connections for Azure Container Registry use Managed Identity."},"cors":{"type":"TypeList","optional":true,"elem":{"schema":{"allowed_origins":{"type":"TypeSet","optional":true,"description":"Specifies a list of origins that should be allowed to make cross-origin calls.","elem":{"type":"TypeString"},"minItems":1},"support_credentials":{"type":"TypeBool","optional":true,"default":false,"description":"Are credentials allowed in CORS requests? Defaults to `false`."}}},"maxItems":1},"default_documents":{"type":"TypeList","optional":true,"description":"Specifies a list of Default Documents for the Linux Web App.","computed":true,"elem":{"type":"TypeString"}},"detailed_error_logging_enabled":{"type":"TypeBool","description":"Is detailed error logging enabled","computed":true},"elastic_instance_minimum":{"type":"TypeInt","optional":true,"description":"The number of minimum instances for this Linux Function App. Only affects apps on Elastic Premium plans.","computed":true},"ftps_state":{"type":"TypeString","optional":true,"default":"Disabled","description":"State of FTP / FTPS service for this function app. Possible values include: `AllAllowed`, `FtpsOnly` and `Disabled`. Defaults to `Disabled`."},"health_check_eviction_time_in_min":{"type":"TypeInt","optional":true,"description":"The amount of time in minutes that a node is unhealthy before being removed from the load balancer. Possible values are between `2` and `10`. Only valid in conjunction with `health_check_path`"},"health_check_path":{"type":"TypeString","optional":true,"description":"The path to be checked for this function app health."},"http2_enabled":{"type":"TypeBool","optional":true,"default":false,"description":"Specifies if the http2 protocol should be enabled. Defaults to `false`."},"ip_restriction":{"type":"TypeList","optional":true,"elem":{"schema":{"action":{"type":"TypeString","optional":true,"default":"Allow","description":"The action to take. Possible values are `Allow` or `Deny`."},"description":{"type":"TypeString","optional":true,"description":"The description of the IP restriction rule."},"headers":{"type":"TypeList","configMode":"Auto","optional":true,"elem":{"schema":{"x_azure_fdid":{"type":"TypeList","optional":true,"description":"Specifies a list of Azure Front Door IDs.","elem":{"type":"TypeString"},"maxItems":8},"x_fd_health_probe":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"maxItems":1},"x_forwarded_for":{"type":"TypeList","optional":true,"description":"Specifies a list of addresses for which matching should be applied. Omitting this value means allow any.","elem":{"type":"TypeString"},"maxItems":8},"x_forwarded_host":{"type":"TypeList","optional":true,"description":"Specifies a list of Hosts for which matching should be applied.","elem":{"type":"TypeString"},"maxItems":8}}},"maxItems":1},"ip_address":{"type":"TypeString","optional":true,"description":"The CIDR notation of the IP or IP Range to match. For example: `10.0.0.0/24` or `192.168.10.1/32` or `fe80::/64` or `13.107.6.152/31,13.107.128.0/22`"},"name":{"type":"TypeString","optional":true,"description":"The name which should be used for this `ip_restriction`.","computed":true},"priority":{"type":"TypeInt","optional":true,"default":65000,"description":"The priority value of this `ip_restriction`."},"service_tag":{"type":"TypeString","optional":true,"description":"The Service Tag used for this IP Restriction."},"virtual_network_subnet_id":{"type":"TypeString","optional":true,"description":"The Virtual Network Subnet ID used for this IP Restriction."}}}},"ip_restriction_default_action":{"type":"TypeString","optional":true,"default":"Allow"},"linux_fx_version":{"type":"TypeString","description":"The Linux FX Version","computed":true},"load_balancing_mode":{"type":"TypeString","optional":true,"default":"LeastRequests","description":"The Site load balancing mode. Possible values include: `WeightedRoundRobin`, `LeastRequests`, `LeastResponseTime`, `WeightedTotalTraffic`, `RequestHash`, `PerSiteRoundRobin`. Defaults to `LeastRequests` if omitted."},"managed_pipeline_mode":{"type":"TypeString","optional":true,"default":"Integrated","description":"The Managed Pipeline mode. Possible values include: `Integrated`, `Classic`. Defaults to `Integrated`."},"minimum_tls_version":{"type":"TypeString","optional":true,"default":"1.2","description":"The configures the minimum version of TLS required for SSL requests. Possible values include: `1.0`, `1.1`, and `1.2`. Defaults to `1.2`."},"pre_warmed_instance_count":{"type":"TypeInt","optional":true,"description":"The number of pre-warmed instances for this function app. Only affects apps on an Elastic Premium plan.","computed":true},"remote_debugging_enabled":{"type":"TypeBool","optional":true,"default":false,"description":"Should Remote Debugging be enabled. Defaults to `false`."},"remote_debugging_version":{"type":"TypeString","optional":true,"description":"The Remote Debugging Version. Possible values include `VS2017`, `VS2019`, and `VS2022``","computed":true},"runtime_scale_monitoring_enabled":{"type":"TypeBool","optional":true,"description":"Should Functions Runtime Scale Monitoring be enabled."},"scm_ip_restriction":{"type":"TypeList","optional":true,"elem":{"schema":{"action":{"type":"TypeString","optional":true,"default":"Allow","description":"The action to take. Possible values are `Allow` or `Deny`."},"description":{"type":"TypeString","optional":true,"description":"The description of the IP restriction rule."},"headers":{"type":"TypeList","configMode":"Auto","optional":true,"elem":{"schema":{"x_azure_fdid":{"type":"TypeList","optional":true,"description":"Specifies a list of Azure Front Door IDs.","elem":{"type":"TypeString"},"maxItems":8},"x_fd_health_probe":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"maxItems":1},"x_forwarded_for":{"type":"TypeList","optional":true,"description":"Specifies a list of addresses for which matching should be applied. Omitting this value means allow any.","elem":{"type":"TypeString"},"maxItems":8},"x_forwarded_host":{"type":"TypeList","optional":true,"description":"Specifies a list of Hosts for which matching should be applied.","elem":{"type":"TypeString"},"maxItems":8}}},"maxItems":1},"ip_address":{"type":"TypeString","optional":true,"description":"The CIDR notation of the IP or IP Range to match. For example: `10.0.0.0/24` or `192.168.10.1/32` or `fe80::/64` or `13.107.6.152/31,13.107.128.0/22`"},"name":{"type":"TypeString","optional":true,"description":"The name which should be used for this `ip_restriction`.","computed":true},"priority":{"type":"TypeInt","optional":true,"default":65000,"description":"The priority value of this `ip_restriction`."},"service_tag":{"type":"TypeString","optional":true,"description":"The Service Tag used for this IP Restriction."},"virtual_network_subnet_id":{"type":"TypeString","optional":true,"description":"The Virtual Network Subnet ID used for this IP Restriction."}}}},"scm_ip_restriction_default_action":{"type":"TypeString","optional":true,"default":"Allow"},"scm_minimum_tls_version":{"type":"TypeString","optional":true,"default":"1.2","description":"Configures the minimum version of TLS required for SSL requests to the SCM site Possible values include: `1.0`, `1.1`, and `1.2`. Defaults to `1.2`."},"scm_type":{"type":"TypeString","description":"The SCM Type in use by the Linux Function App.","computed":true},"scm_use_main_ip_restriction":{"type":"TypeBool","optional":true,"default":false,"description":"Should the Linux Function App `ip_restriction` configuration be used for the SCM also."},"use_32_bit_worker":{"type":"TypeBool","optional":true,"default":false,"description":"Should the Linux Web App use a 32-bit worker."},"vnet_route_all_enabled":{"type":"TypeBool","optional":true,"default":false,"description":"Should all outbound traffic to have Virtual Network Security Groups and User Defined Routes applied? Defaults to `false`."},"websockets_enabled":{"type":"TypeBool","optional":true,"default":false,"description":"Should Web Sockets be enabled. Defaults to `false`."},"worker_count":{"type":"TypeInt","optional":true,"description":"The number of Workers for this Linux Function App.","computed":true}}},"maxItems":1},"site_credential":{"type":"TypeList","computed":true,"elem":{"schema":{"name":{"type":"TypeString","description":"The Site Credentials Username used for publishing.","computed":true},"password":{"type":"TypeString","description":"The Site Credentials Password used for publishing.","computed":true}}}},"sticky_settings":{"type":"TypeList","optional":true,"elem":{"schema":{"app_setting_names":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"minItems":1},"connection_string_names":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"minItems":1}}},"maxItems":1},"storage_account":{"type":"TypeSet","optional":true,"elem":{"schema":{"access_key":{"type":"TypeString","required":true},"account_name":{"type":"TypeString","required":true},"mount_path":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true},"share_name":{"type":"TypeString","required":true},"type":{"type":"TypeString","required":true}}}},"storage_account_access_key":{"type":"TypeString","optional":true,"description":"The access key which will be used to access the storage account for the Function App."},"storage_account_name":{"type":"TypeString","optional":true,"description":"The backend storage account name which will be used by this Function App."},"storage_key_vault_secret_id":{"type":"TypeString","optional":true,"description":"The Key Vault Secret ID, including version, that contains the Connection String to connect to the storage account for this Function App."},"storage_uses_managed_identity":{"type":"TypeBool","optional":true,"default":false,"description":"Should the Function App use its Managed Identity to access storage?"},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"virtual_network_subnet_id":{"type":"TypeString","optional":true},"vnet_image_pull_enabled":{"type":"TypeBool","optional":true,"default":false,"description":"Is container image pull over virtual network enabled? Defaults to `false`."},"webdeploy_publish_basic_authentication_enabled":{"type":"TypeBool","optional":true,"default":true},"zip_deploy_file":{"type":"TypeString","optional":true,"description":"The local path and filename of the Zip packaged application to deploy to this Linux Function App. **Note:** Using this value requires either `WEBSITE_RUN_FROM_PACKAGE=1` or `SCM_DO_BUILD_DURING_DEPLOYMENT=true` to be set on the App in `app_settings`.","computed":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_linux_function_app_slot":{"schema":{"app_settings":{"type":"TypeMap","optional":true,"description":"A map of key-value pairs for [App Settings](https://docs.microsoft.com/en-us/azure/azure-functions/functions-app-settings) and custom values.","elem":{"type":"TypeString"}},"auth_settings":{"type":"TypeList","optional":true,"elem":{"schema":{"active_directory":{"type":"TypeList","optional":true,"elem":{"schema":{"allowed_audiences":{"type":"TypeList","optional":true,"description":"Specifies a list of Allowed audience values to consider when validating JWTs issued by Azure Active Directory.","elem":{"type":"TypeString"}},"client_id":{"type":"TypeString","required":true,"description":"The ID of the Client to use to authenticate with Azure Active Directory."},"client_secret":{"type":"TypeString","optional":true,"description":"The Client Secret for the Client ID. Cannot be used with `client_secret_setting_name`."},"client_secret_setting_name":{"type":"TypeString","optional":true,"description":"The App Setting name that contains the client secret of the Client. Cannot be used with `client_secret`."}}},"maxItems":1},"additional_login_parameters":{"type":"TypeMap","optional":true,"description":"Specifies a map of Login Parameters to send to the OpenID Connect authorization endpoint when a user logs in.","elem":{"type":"TypeString"}},"allowed_external_redirect_urls":{"type":"TypeList","optional":true,"description":"Specifies a list of External URLs that can be redirected to as part of logging in or logging out of the Windows Web App.","computed":true,"elem":{"type":"TypeString"}},"default_provider":{"type":"TypeString","optional":true,"description":"The default authentication provider to use when multiple providers are configured. Possible values include: `AzureActiveDirectory`, `Facebook`, `Google`, `MicrosoftAccount`, `Twitter`, `Github`.","computed":true},"enabled":{"type":"TypeBool","required":true,"description":"Should the Authentication / Authorization feature be enabled?"},"facebook":{"type":"TypeList","optional":true,"elem":{"schema":{"app_id":{"type":"TypeString","required":true,"description":"The App ID of the Facebook app used for login."},"app_secret":{"type":"TypeString","optional":true,"description":"The App Secret of the Facebook app used for Facebook Login. Cannot be specified with `app_secret_setting_name`."},"app_secret_setting_name":{"type":"TypeString","optional":true,"description":"The app setting name that contains the `app_secret` value used for Facebook Login. Cannot be specified with `app_secret`."},"oauth_scopes":{"type":"TypeList","optional":true,"description":"Specifies a list of OAuth 2.0 scopes to be requested as part of Facebook Login authentication.","elem":{"type":"TypeString"}}}},"maxItems":1},"github":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","required":true,"description":"The ID of the GitHub app used for login."},"client_secret":{"type":"TypeString","optional":true,"description":"The Client Secret of the GitHub app used for GitHub Login. Cannot be specified with `client_secret_setting_name`."},"client_secret_setting_name":{"type":"TypeString","optional":true,"description":"The app setting name that contains the `client_secret` value used for GitHub Login. Cannot be specified with `client_secret`."},"oauth_scopes":{"type":"TypeList","optional":true,"description":"Specifies a list of OAuth 2.0 scopes that will be requested as part of GitHub Login authentication.","elem":{"type":"TypeString"}}}},"maxItems":1},"google":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","required":true,"description":"The OpenID Connect Client ID for the Google web application."},"client_secret":{"type":"TypeString","optional":true,"description":"The client secret associated with the Google web application. Cannot be specified with `client_secret_setting_name`."},"client_secret_setting_name":{"type":"TypeString","optional":true,"description":"The app setting name that contains the `client_secret` value used for Google Login. Cannot be specified with `client_secret`."},"oauth_scopes":{"type":"TypeList","optional":true,"description":"Specifies a list of OAuth 2.0 scopes that will be requested as part of Google Sign-In authentication. If not specified, \"openid\", \"profile\", and \"email\" are used as default scopes.","elem":{"type":"TypeString"}}}},"maxItems":1},"issuer":{"type":"TypeString","optional":true,"description":"The OpenID Connect Issuer URI that represents the entity which issues access tokens."},"microsoft":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","required":true,"description":"The OAuth 2.0 client ID that was created for the app used for authentication."},"client_secret":{"type":"TypeString","optional":true,"description":"The OAuth 2.0 client secret that was created for the app used for authentication. Cannot be specified with `client_secret_setting_name`."},"client_secret_setting_name":{"type":"TypeString","optional":true,"description":"The app setting name containing the OAuth 2.0 client secret that was created for the app used for authentication. Cannot be specified with `client_secret`."},"oauth_scopes":{"type":"TypeList","optional":true,"description":"The list of OAuth 2.0 scopes that will be requested as part of Microsoft Account authentication. If not specified, `wl.basic` is used as the default scope.","elem":{"type":"TypeString"}}}},"maxItems":1},"runtime_version":{"type":"TypeString","optional":true,"description":"The RuntimeVersion of the Authentication / Authorization feature in use.","computed":true},"token_refresh_extension_hours":{"type":"TypeFloat","optional":true,"default":72,"description":"The number of hours after session token expiration that a session token can be used to call the token refresh API. Defaults to `72` hours."},"token_store_enabled":{"type":"TypeBool","optional":true,"default":false,"description":"Should the Windows Web App durably store platform-specific security tokens that are obtained during login flows? Defaults to `false`."},"twitter":{"type":"TypeList","optional":true,"elem":{"schema":{"consumer_key":{"type":"TypeString","required":true,"description":"The OAuth 1.0a consumer key of the Twitter application used for sign-in."},"consumer_secret":{"type":"TypeString","optional":true,"description":"The OAuth 1.0a consumer secret of the Twitter application used for sign-in. Cannot be specified with `consumer_secret_setting_name`."},"consumer_secret_setting_name":{"type":"TypeString","optional":true,"description":"The app setting name that contains the OAuth 1.0a consumer secret of the Twitter application used for sign-in. Cannot be specified with `consumer_secret`."}}},"maxItems":1},"unauthenticated_client_action":{"type":"TypeString","optional":true,"description":"The action to take when an unauthenticated client attempts to access the app. Possible values include: `RedirectToLoginPage`, `AllowAnonymous`.","computed":true}}},"maxItems":1},"auth_settings_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"active_directory_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"allowed_applications":{"type":"TypeList","optional":true,"description":"The list of allowed Applications for the Default Authorisation Policy.","elem":{"type":"TypeString"}},"allowed_audiences":{"type":"TypeList","optional":true,"description":"Specifies a list of Allowed audience values to consider when validating JWTs issued by Azure Active Directory.","elem":{"type":"TypeString"}},"allowed_groups":{"type":"TypeList","optional":true,"description":"The list of allowed Group Names for the Default Authorisation Policy.","elem":{"type":"TypeString"}},"allowed_identities":{"type":"TypeList","optional":true,"description":"The list of allowed Identities for the Default Authorisation Policy.","elem":{"type":"TypeString"}},"client_id":{"type":"TypeString","required":true,"description":"The ID of the Client to use to authenticate with Azure Active Directory."},"client_secret_certificate_thumbprint":{"type":"TypeString","optional":true,"description":"The thumbprint of the certificate used for signing purposes."},"client_secret_setting_name":{"type":"TypeString","optional":true,"description":"The App Setting name that contains the client secret of the Client."},"jwt_allowed_client_applications":{"type":"TypeList","optional":true,"description":"A list of Allowed Client Applications in the JWT Claim.","elem":{"type":"TypeString"}},"jwt_allowed_groups":{"type":"TypeList","optional":true,"description":"A list of Allowed Groups in the JWT Claim.","elem":{"type":"TypeString"}},"login_parameters":{"type":"TypeMap","optional":true,"description":"A map of key-value pairs to send to the Authorisation Endpoint when a user logs in.","elem":{"type":"TypeString"}},"tenant_auth_endpoint":{"type":"TypeString","required":true,"description":"The Azure Tenant Endpoint for the Authenticating Tenant. e.g. `https://login.microsoftonline.com/v2.0/{tenant-guid}/`."},"www_authentication_disabled":{"type":"TypeBool","optional":true,"description":"Should the www-authenticate provider should be omitted from the request? Defaults to `false`"}}},"maxItems":1},"apple_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","required":true,"description":"The OpenID Connect Client ID for the Apple web application."},"client_secret_setting_name":{"type":"TypeString","required":true,"description":"The app setting name that contains the `client_secret` value used for Apple Login."},"login_scopes":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"auth_enabled":{"type":"TypeBool","optional":true,"description":"Should the AuthV2 Settings be enabled. Defaults to `false`"},"azure_static_web_app_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","required":true,"description":"The ID of the Client to use to authenticate with Azure Static Web App Authentication."}}},"maxItems":1},"config_file_path":{"type":"TypeString","optional":true,"description":"The path to the App Auth settings. **Note:** Relative Paths are evaluated from the Site Root directory."},"custom_oidc_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"authorisation_endpoint":{"type":"TypeString","description":"The endpoint to make the Authorisation Request.","computed":true},"certification_uri":{"type":"TypeString","description":"The endpoint that provides the keys necessary to validate the token.","computed":true},"client_credential_method":{"type":"TypeString","description":"The Client Credential Method used. Currently the only supported value is `ClientSecretPost`.","computed":true},"client_id":{"type":"TypeString","required":true,"description":"The ID of the Client to use to authenticate with this Custom OIDC."},"client_secret_setting_name":{"type":"TypeString","description":"The App Setting name that contains the secret for this Custom OIDC Client.","computed":true},"issuer_endpoint":{"type":"TypeString","description":"The endpoint that issued the Token.","computed":true},"name":{"type":"TypeString","required":true,"description":"The name of the Custom OIDC Authentication Provider."},"name_claim_type":{"type":"TypeString","optional":true,"description":"The name of the claim that contains the users name."},"openid_configuration_endpoint":{"type":"TypeString","required":true,"description":"The endpoint that contains all the configuration endpoints for this Custom OIDC provider."},"scopes":{"type":"TypeList","optional":true,"description":"The list of the scopes that should be requested while authenticating.","elem":{"type":"TypeString"}},"token_endpoint":{"type":"TypeString","description":"The endpoint used to request a Token.","computed":true}}}},"default_provider":{"type":"TypeString","optional":true,"description":"The Default Authentication Provider to use when the `unauthenticated_action` is set to `RedirectToLoginPage`. Possible values include: `apple`, `azureactivedirectory`, `facebook`, `github`, `google`, `twitter` and the `name` of your `custom_oidc_v2` provider."},"excluded_paths":{"type":"TypeList","optional":true,"description":"The paths which should be excluded from the `unauthenticated_action` when it is set to `RedirectToLoginPage`.","elem":{"type":"TypeString"}},"facebook_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"app_id":{"type":"TypeString","required":true,"description":"The App ID of the Facebook app used for login."},"app_secret_setting_name":{"type":"TypeString","required":true,"description":"The app setting name that contains the `app_secret` value used for Facebook Login."},"graph_api_version":{"type":"TypeString","optional":true,"description":"The version of the Facebook API to be used while logging in.","computed":true},"login_scopes":{"type":"TypeList","optional":true,"description":"Specifies a list of scopes to be requested as part of Facebook Login authentication.","elem":{"type":"TypeString"}}}},"maxItems":1},"forward_proxy_convention":{"type":"TypeString","optional":true,"default":"NoProxy","description":"The convention used to determine the url of the request made. Possible values include `ForwardProxyConventionNoProxy`, `ForwardProxyConventionStandard`, `ForwardProxyConventionCustom`. Defaults to `ForwardProxyConventionNoProxy`"},"forward_proxy_custom_host_header_name":{"type":"TypeString","optional":true,"description":"The name of the header containing the host of the request."},"forward_proxy_custom_scheme_header_name":{"type":"TypeString","optional":true,"description":"The name of the header containing the scheme of the request."},"github_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","required":true,"description":"The ID of the GitHub app used for login."},"client_secret_setting_name":{"type":"TypeString","required":true,"description":"The app setting name that contains the `client_secret` value used for GitHub Login."},"login_scopes":{"type":"TypeList","optional":true,"description":"Specifies a list of OAuth 2.0 scopes that will be requested as part of GitHub Login authentication.","elem":{"type":"TypeString"}}}},"maxItems":1},"google_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"allowed_audiences":{"type":"TypeList","optional":true,"description":"Specifies a list of Allowed Audiences that will be requested as part of Google Sign-In authentication.","elem":{"type":"TypeString"}},"client_id":{"type":"TypeString","required":true,"description":"The OpenID Connect Client ID for the Google web application."},"client_secret_setting_name":{"type":"TypeString","required":true,"description":"The app setting name that contains the `client_secret` value used for Google Login."},"login_scopes":{"type":"TypeList","optional":true,"description":"Specifies a list of Login scopes that will be requested as part of Google Sign-In authentication.","elem":{"type":"TypeString"}}}},"maxItems":1},"http_route_api_prefix":{"type":"TypeString","optional":true,"default":"/.auth","description":"The prefix that should precede all the authentication and authorisation paths. Defaults to `/.auth`"},"login":{"type":"TypeList","required":true,"elem":{"schema":{"allowed_external_redirect_urls":{"type":"TypeList","optional":true,"description":"External URLs that can be redirected to as part of logging in or logging out of the app. This is an advanced setting typically only needed by Windows Store application backends. **Note:** URLs within the current domain are always implicitly allowed.","elem":{"type":"TypeString"}},"cookie_expiration_convention":{"type":"TypeString","optional":true,"default":"FixedTime","description":"The method by which cookies expire. Possible values include: `FixedTime`, and `IdentityProviderDerived`. Defaults to `FixedTime`."},"cookie_expiration_time":{"type":"TypeString","optional":true,"default":"08:00:00","description":"The time after the request is made when the session cookie should expire. Defaults to `08:00:00`."},"logout_endpoint":{"type":"TypeString","optional":true,"description":"The endpoint to which logout requests should be made."},"nonce_expiration_time":{"type":"TypeString","optional":true,"default":"00:05:00","description":"The time after the request is made when the nonce should expire. Defaults to `00:05:00`."},"preserve_url_fragments_for_logins":{"type":"TypeBool","optional":true,"default":false,"description":"Should the fragments from the request be preserved after the login request is made. Defaults to `false`."},"token_refresh_extension_time":{"type":"TypeFloat","optional":true,"default":72,"description":"The number of hours after session token expiration that a session token can be used to call the token refresh API. Defaults to `72` hours."},"token_store_enabled":{"type":"TypeBool","optional":true,"default":false,"description":"Should the Token Store configuration Enabled. Defaults to `false`"},"token_store_path":{"type":"TypeString","optional":true,"description":"The directory path in the App Filesystem in which the tokens will be stored."},"token_store_sas_setting_name":{"type":"TypeString","optional":true,"description":"The name of the app setting which contains the SAS URL of the blob storage containing the tokens."},"validate_nonce":{"type":"TypeBool","optional":true,"default":true,"description":"Should the nonce be validated while completing the login flow. Defaults to `true`."}}},"maxItems":1},"microsoft_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"allowed_audiences":{"type":"TypeList","optional":true,"description":"Specifies a list of Allowed Audiences that will be requested as part of Microsoft Sign-In authentication.","elem":{"type":"TypeString"}},"client_id":{"type":"TypeString","required":true,"description":"The OAuth 2.0 client ID that was created for the app used for authentication."},"client_secret_setting_name":{"type":"TypeString","required":true,"description":"The app setting name containing the OAuth 2.0 client secret that was created for the app used for authentication."},"login_scopes":{"type":"TypeList","optional":true,"description":"The list of Login scopes that will be requested as part of Microsoft Account authentication.","elem":{"type":"TypeString"}}}},"maxItems":1},"require_authentication":{"type":"TypeBool","optional":true,"description":"Should the authentication flow be used for all requests."},"require_https":{"type":"TypeBool","optional":true,"default":true,"description":"Should HTTPS be required on connections? Defaults to true."},"runtime_version":{"type":"TypeString","optional":true,"default":"~1","description":"The Runtime Version of the Authentication and Authorisation feature of this App. Defaults to `~1`"},"twitter_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"consumer_key":{"type":"TypeString","required":true,"description":"The OAuth 1.0a consumer key of the Twitter application used for sign-in."},"consumer_secret_setting_name":{"type":"TypeString","required":true,"description":"The app setting name that contains the OAuth 1.0a consumer secret of the Twitter application used for sign-in."}}},"maxItems":1},"unauthenticated_action":{"type":"TypeString","optional":true,"default":"RedirectToLoginPage","description":"The action to take for requests made without authentication. Possible values include `RedirectToLoginPage`, `AllowAnonymous`, `Return401`, and `Return403`. Defaults to `RedirectToLoginPage`."}}},"maxItems":1},"backup":{"type":"TypeList","optional":true,"elem":{"schema":{"enabled":{"type":"TypeBool","optional":true,"default":true,"description":"Should this backup job be enabled?"},"name":{"type":"TypeString","required":true,"description":"The name which should be used for this Backup."},"schedule":{"type":"TypeList","required":true,"elem":{"schema":{"frequency_interval":{"type":"TypeInt","required":true,"description":"How often the backup should be executed (e.g. for weekly backup, this should be set to `7` and `frequency_unit` should be set to `Day`)."},"frequency_unit":{"type":"TypeString","required":true,"description":"The unit of time for how often the backup should take place. Possible values include: `Day` and `Hour`."},"keep_at_least_one_backup":{"type":"TypeBool","optional":true,"default":false,"description":"Should the service keep at least one backup, regardless of age of backup. Defaults to `false`."},"last_execution_time":{"type":"TypeString","description":"The time the backup was last attempted.","computed":true},"retention_period_days":{"type":"TypeInt","optional":true,"default":30,"description":"After how many days backups should be deleted."},"start_time":{"type":"TypeString","optional":true,"description":"When the schedule should start working in RFC-3339 format.","computed":true}}},"maxItems":1},"storage_account_url":{"type":"TypeString","required":true,"description":"The SAS URL to the container."}}},"maxItems":1},"builtin_logging_enabled":{"type":"TypeBool","optional":true,"default":true,"description":"Should built in logging be enabled. Configures `AzureWebJobsDashboard` app setting based on the configured storage setting."},"client_certificate_enabled":{"type":"TypeBool","optional":true,"default":false,"description":"Should the Function App Slot use Client Certificates."},"client_certificate_exclusion_paths":{"type":"TypeString","optional":true,"description":"Paths to exclude when using client certificates, separated by ;"},"client_certificate_mode":{"type":"TypeString","optional":true,"default":"Optional","description":"The mode of the Function App Slot's client certificates requirement for incoming requests. Possible values are `Required`, `Optional`, and `OptionalInteractiveUser`."},"connection_string":{"type":"TypeSet","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true,"description":"The name which should be used for this Connection."},"type":{"type":"TypeString","required":true,"description":"Type of database. Possible values include: `MySQL`, `SQLServer`, `SQLAzure`, `Custom`, `NotificationHub`, `ServiceBus`, `EventHub`, `APIHub`, `DocDb`, `RedisCache`, and `PostgreSQL`."},"value":{"type":"TypeString","required":true,"description":"The connection string value."}}}},"content_share_force_disabled":{"type":"TypeBool","optional":true,"default":false,"description":"Force disable the content share settings."},"custom_domain_verification_id":{"type":"TypeString","computed":true},"daily_memory_time_quota":{"type":"TypeInt","optional":true,"default":0,"description":"The amount of memory in gigabyte-seconds that your application is allowed to consume per day. Setting this value only affects function apps in Consumption Plans."},"default_hostname":{"type":"TypeString","computed":true},"enabled":{"type":"TypeBool","optional":true,"default":true,"description":"Is the Linux Function App Slot enabled."},"ftp_publish_basic_authentication_enabled":{"type":"TypeBool","optional":true,"default":true},"function_app_id":{"type":"TypeString","required":true,"description":"The ID of the Linux Function App this Slot is a member of.","forceNew":true},"functions_extension_version":{"type":"TypeString","optional":true,"default":"~4","description":"The runtime version associated with the Function App Slot."},"hosting_environment_id":{"type":"TypeString","computed":true},"https_only":{"type":"TypeBool","optional":true,"default":false,"description":"Can the Function App Slot only be accessed via HTTPS?"},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"key_vault_reference_identity_id":{"type":"TypeString","optional":true,"description":"The User Assigned Identity to use for Key Vault access.","computed":true},"kind":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true,"description":"Specifies the name of the Function App Slot.","forceNew":true},"outbound_ip_address_list":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"outbound_ip_addresses":{"type":"TypeString","computed":true},"possible_outbound_ip_address_list":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"possible_outbound_ip_addresses":{"type":"TypeString","computed":true},"public_network_access_enabled":{"type":"TypeBool","optional":true,"default":true},"service_plan_id":{"type":"TypeString","optional":true},"site_config":{"type":"TypeList","required":true,"elem":{"schema":{"always_on":{"type":"TypeBool","optional":true,"description":"If this Linux Web App is Always On enabled. Defaults to `false`.","computed":true},"api_definition_url":{"type":"TypeString","optional":true,"description":"The URL of the API definition that describes this Linux Function App."},"api_management_api_id":{"type":"TypeString","optional":true,"description":"The ID of the API Management API for this Linux Function App."},"app_command_line":{"type":"TypeString","optional":true,"description":"The program and any arguments used to launch this app via the command line. (Example `node myapp.js`)."},"app_scale_limit":{"type":"TypeInt","optional":true,"description":"The number of workers this function app can scale out to. Only applicable to apps on the Consumption and Premium plan.","computed":true},"app_service_logs":{"type":"TypeList","optional":true,"elem":{"schema":{"disk_quota_mb":{"type":"TypeInt","optional":true,"default":35,"description":"The amount of disk space to use for logs. Valid values are between `25` and `100`."},"retention_period_days":{"type":"TypeInt","optional":true,"description":"The retention period for logs in days. Valid values are between `0` and `99999`. Defaults to `0` (never delete)."}}},"maxItems":1},"application_insights_connection_string":{"type":"TypeString","optional":true,"description":"The Connection String for linking the Linux Function App to Application Insights."},"application_insights_key":{"type":"TypeString","optional":true,"description":"The Instrumentation Key for connecting the Linux Function App to Application Insights."},"application_stack":{"type":"TypeList","optional":true,"elem":{"schema":{"docker":{"type":"TypeList","optional":true,"description":"A docker block","elem":{"schema":{"image_name":{"type":"TypeString","required":true,"description":"The name of the Docker image to use."},"image_tag":{"type":"TypeString","required":true,"description":"The image tag of the image to use."},"registry_password":{"type":"TypeString","optional":true,"description":"The password for the account to use to connect to the registry."},"registry_url":{"type":"TypeString","required":true,"description":"The URL of the docker registry."},"registry_username":{"type":"TypeString","optional":true,"description":"The username to use for connections to the registry."}}}},"dotnet_version":{"type":"TypeString","optional":true,"description":"The version of .Net. Possible values are `3.1`, `6.0` and `7.0`"},"java_version":{"type":"TypeString","optional":true,"description":"The version of Java to use. Possible values are `8`, `11`, and `17`"},"node_version":{"type":"TypeString","optional":true,"description":"The version of Node to use. Possible values include `12`, `14`, `16`, `18` and `20`"},"powershell_core_version":{"type":"TypeString","optional":true,"description":"The version of PowerShell Core to use. Possibles values are `7`, `7.2`, and `7.4`"},"python_version":{"type":"TypeString","optional":true,"description":"The version of Python to use. Possible values include `3.12`, `3.11`, `3.10`, `3.9`, `3.8`, and `3.7`."},"use_custom_runtime":{"type":"TypeBool","optional":true},"use_dotnet_isolated_runtime":{"type":"TypeBool","optional":true,"default":false,"description":"Should the DotNet process use an isolated runtime. Defaults to `false`."}}},"maxItems":1},"auto_swap_slot_name":{"type":"TypeString","optional":true},"container_registry_managed_identity_client_id":{"type":"TypeString","optional":true,"description":"The Client ID of the Managed Service Identity to use for connections to the Azure Container Registry."},"container_registry_use_managed_identity":{"type":"TypeBool","optional":true,"default":false,"description":"Should connections for Azure Container Registry use Managed Identity."},"cors":{"type":"TypeList","optional":true,"elem":{"schema":{"allowed_origins":{"type":"TypeSet","optional":true,"description":"Specifies a list of origins that should be allowed to make cross-origin calls.","elem":{"type":"TypeString"},"minItems":1},"support_credentials":{"type":"TypeBool","optional":true,"default":false,"description":"Are credentials allowed in CORS requests? Defaults to `false`."}}},"maxItems":1},"default_documents":{"type":"TypeList","optional":true,"description":"Specifies a list of Default Documents for the Linux Web App.","computed":true,"elem":{"type":"TypeString"}},"detailed_error_logging_enabled":{"type":"TypeBool","description":"Is detailed error logging enabled","computed":true},"elastic_instance_minimum":{"type":"TypeInt","optional":true,"description":"The number of minimum instances for this Linux Function App. Only affects apps on Elastic Premium plans.","computed":true},"ftps_state":{"type":"TypeString","optional":true,"default":"Disabled","description":"State of FTP / FTPS service for this function app. Possible values include: `AllAllowed`, `FtpsOnly` and `Disabled`. Defaults to `Disabled`."},"health_check_eviction_time_in_min":{"type":"TypeInt","optional":true,"default":0,"description":"The amount of time in minutes that a node is unhealthy before being removed from the load balancer. Possible values are between `2` and `10`. Defaults to `10`. Only valid in conjunction with `health_check_path`"},"health_check_path":{"type":"TypeString","optional":true,"description":"The path to be checked for this function app health."},"http2_enabled":{"type":"TypeBool","optional":true,"default":false,"description":"Specifies if the http2 protocol should be enabled. Defaults to `false`."},"ip_restriction":{"type":"TypeList","optional":true,"elem":{"schema":{"action":{"type":"TypeString","optional":true,"default":"Allow","description":"The action to take. Possible values are `Allow` or `Deny`."},"description":{"type":"TypeString","optional":true,"description":"The description of the IP restriction rule."},"headers":{"type":"TypeList","configMode":"Auto","optional":true,"elem":{"schema":{"x_azure_fdid":{"type":"TypeList","optional":true,"description":"Specifies a list of Azure Front Door IDs.","elem":{"type":"TypeString"},"maxItems":8},"x_fd_health_probe":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"maxItems":1},"x_forwarded_for":{"type":"TypeList","optional":true,"description":"Specifies a list of addresses for which matching should be applied. Omitting this value means allow any.","elem":{"type":"TypeString"},"maxItems":8},"x_forwarded_host":{"type":"TypeList","optional":true,"description":"Specifies a list of Hosts for which matching should be applied.","elem":{"type":"TypeString"},"maxItems":8}}},"maxItems":1},"ip_address":{"type":"TypeString","optional":true,"description":"The CIDR notation of the IP or IP Range to match. For example: `10.0.0.0/24` or `192.168.10.1/32` or `fe80::/64` or `13.107.6.152/31,13.107.128.0/22`"},"name":{"type":"TypeString","optional":true,"description":"The name which should be used for this `ip_restriction`.","computed":true},"priority":{"type":"TypeInt","optional":true,"default":65000,"description":"The priority value of this `ip_restriction`."},"service_tag":{"type":"TypeString","optional":true,"description":"The Service Tag used for this IP Restriction."},"virtual_network_subnet_id":{"type":"TypeString","optional":true,"description":"The Virtual Network Subnet ID used for this IP Restriction."}}}},"ip_restriction_default_action":{"type":"TypeString","optional":true,"default":"Allow"},"linux_fx_version":{"type":"TypeString","description":"The Linux FX Version","computed":true},"load_balancing_mode":{"type":"TypeString","optional":true,"default":"LeastRequests","description":"The Site load balancing mode. Possible values include: `WeightedRoundRobin`, `LeastRequests`, `LeastResponseTime`, `WeightedTotalTraffic`, `RequestHash`, `PerSiteRoundRobin`. Defaults to `LeastRequests` if omitted."},"managed_pipeline_mode":{"type":"TypeString","optional":true,"default":"Integrated","description":"The Managed Pipeline mode. Possible values include: `Integrated`, `Classic`. Defaults to `Integrated`."},"minimum_tls_version":{"type":"TypeString","optional":true,"default":"1.2","description":"The configures the minimum version of TLS required for SSL requests. Possible values include: `1.0`, `1.1`, and `1.2`. Defaults to `1.2`."},"pre_warmed_instance_count":{"type":"TypeInt","optional":true,"description":"The number of pre-warmed instances for this function app. Only affects apps on an Elastic Premium plan.","computed":true},"remote_debugging_enabled":{"type":"TypeBool","optional":true,"default":false,"description":"Should Remote Debugging be enabled. Defaults to `false`."},"remote_debugging_version":{"type":"TypeString","optional":true,"description":"The Remote Debugging Version. Possible values include `VS2017`, `VS2019`, and `VS2022`","computed":true},"runtime_scale_monitoring_enabled":{"type":"TypeBool","optional":true,"description":"Should Functions Runtime Scale Monitoring be enabled."},"scm_ip_restriction":{"type":"TypeList","optional":true,"elem":{"schema":{"action":{"type":"TypeString","optional":true,"default":"Allow","description":"The action to take. Possible values are `Allow` or `Deny`."},"description":{"type":"TypeString","optional":true,"description":"The description of the IP restriction rule."},"headers":{"type":"TypeList","configMode":"Auto","optional":true,"elem":{"schema":{"x_azure_fdid":{"type":"TypeList","optional":true,"description":"Specifies a list of Azure Front Door IDs.","elem":{"type":"TypeString"},"maxItems":8},"x_fd_health_probe":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"maxItems":1},"x_forwarded_for":{"type":"TypeList","optional":true,"description":"Specifies a list of addresses for which matching should be applied. Omitting this value means allow any.","elem":{"type":"TypeString"},"maxItems":8},"x_forwarded_host":{"type":"TypeList","optional":true,"description":"Specifies a list of Hosts for which matching should be applied.","elem":{"type":"TypeString"},"maxItems":8}}},"maxItems":1},"ip_address":{"type":"TypeString","optional":true,"description":"The CIDR notation of the IP or IP Range to match. For example: `10.0.0.0/24` or `192.168.10.1/32` or `fe80::/64` or `13.107.6.152/31,13.107.128.0/22`"},"name":{"type":"TypeString","optional":true,"description":"The name which should be used for this `ip_restriction`.","computed":true},"priority":{"type":"TypeInt","optional":true,"default":65000,"description":"The priority value of this `ip_restriction`."},"service_tag":{"type":"TypeString","optional":true,"description":"The Service Tag used for this IP Restriction."},"virtual_network_subnet_id":{"type":"TypeString","optional":true,"description":"The Virtual Network Subnet ID used for this IP Restriction."}}}},"scm_ip_restriction_default_action":{"type":"TypeString","optional":true,"default":"Allow"},"scm_minimum_tls_version":{"type":"TypeString","optional":true,"default":"1.2","description":"Configures the minimum version of TLS required for SSL requests to the SCM site Possible values include: `1.0`, `1.1`, and `1.2`. Defaults to `1.2`."},"scm_type":{"type":"TypeString","description":"The SCM Type in use by the Linux Function App.","computed":true},"scm_use_main_ip_restriction":{"type":"TypeBool","optional":true,"default":false,"description":"Should the Linux Function App `ip_restriction` configuration be used for the SCM also."},"use_32_bit_worker":{"type":"TypeBool","optional":true,"default":false,"description":"Should the Linux Web App use a 32-bit worker."},"vnet_route_all_enabled":{"type":"TypeBool","optional":true,"default":false,"description":"Should all outbound traffic to have Virtual Network Security Groups and User Defined Routes applied? Defaults to `false`."},"websockets_enabled":{"type":"TypeBool","optional":true,"default":false,"description":"Should Web Sockets be enabled. Defaults to `false`."},"worker_count":{"type":"TypeInt","optional":true,"description":"The number of Workers for this Linux Function App.","computed":true}}},"maxItems":1},"site_credential":{"type":"TypeList","computed":true,"elem":{"schema":{"name":{"type":"TypeString","description":"The Site Credentials Username used for publishing.","computed":true},"password":{"type":"TypeString","description":"The Site Credentials Password used for publishing.","computed":true}}}},"storage_account":{"type":"TypeSet","optional":true,"elem":{"schema":{"access_key":{"type":"TypeString","required":true},"account_name":{"type":"TypeString","required":true},"mount_path":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true},"share_name":{"type":"TypeString","required":true},"type":{"type":"TypeString","required":true}}}},"storage_account_access_key":{"type":"TypeString","optional":true,"description":"The access key which will be used to access the storage account for the Function App Slot."},"storage_account_name":{"type":"TypeString","optional":true,"description":"The backend storage account name which will be used by this Function App Slot."},"storage_key_vault_secret_id":{"type":"TypeString","optional":true,"description":"The Key Vault Secret ID, including version, that contains the Connection String to connect to the storage account for this Function App."},"storage_uses_managed_identity":{"type":"TypeBool","optional":true,"default":false,"description":"Should the Function App Slot use its Managed Identity to access storage?"},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"virtual_network_subnet_id":{"type":"TypeString","optional":true},"vnet_image_pull_enabled":{"type":"TypeBool","optional":true,"default":false,"description":"Is container image pull over virtual network enabled? Defaults to `false`."},"webdeploy_publish_basic_authentication_enabled":{"type":"TypeBool","optional":true,"default":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_linux_virtual_machine":{"schema":{"additional_capabilities":{"type":"TypeList","optional":true,"elem":{"schema":{"hibernation_enabled":{"type":"TypeBool","optional":true,"default":false},"ultra_ssd_enabled":{"type":"TypeBool","optional":true,"default":false}}},"maxItems":1},"admin_password":{"type":"TypeString","optional":true,"forceNew":true},"admin_ssh_key":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"schema":{"public_key":{"type":"TypeString","required":true,"forceNew":true},"username":{"type":"TypeString","required":true,"forceNew":true}}}},"admin_username":{"type":"TypeString","required":true,"forceNew":true},"allow_extension_operations":{"type":"TypeBool","optional":true,"default":true},"availability_set_id":{"type":"TypeString","optional":true,"forceNew":true},"boot_diagnostics":{"type":"TypeList","optional":true,"elem":{"schema":{"storage_account_uri":{"type":"TypeString","optional":true}}},"maxItems":1},"bypass_platform_safety_checks_on_user_schedule_enabled":{"type":"TypeBool","optional":true,"default":false},"capacity_reservation_group_id":{"type":"TypeString","optional":true},"computer_name":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"custom_data":{"type":"TypeString","optional":true,"forceNew":true},"dedicated_host_group_id":{"type":"TypeString","optional":true},"dedicated_host_id":{"type":"TypeString","optional":true},"disable_password_authentication":{"type":"TypeBool","optional":true,"default":true,"forceNew":true},"disk_controller_type":{"type":"TypeString","optional":true,"computed":true},"edge_zone":{"type":"TypeString","optional":true,"forceNew":true},"encryption_at_host_enabled":{"type":"TypeBool","optional":true},"eviction_policy":{"type":"TypeString","optional":true,"forceNew":true},"extensions_time_budget":{"type":"TypeString","optional":true,"default":"PT1H30M"},"gallery_application":{"type":"TypeList","optional":true,"elem":{"schema":{"automatic_upgrade_enabled":{"type":"TypeBool","optional":true,"default":false},"configuration_blob_uri":{"type":"TypeString","optional":true},"order":{"type":"TypeInt","optional":true,"default":0},"tag":{"type":"TypeString","optional":true},"treat_failure_as_deployment_failure_enabled":{"type":"TypeBool","optional":true,"default":false},"version_id":{"type":"TypeString","required":true}}},"maxItems":100},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"license_type":{"type":"TypeString","optional":true},"location":{"type":"TypeString","required":true,"forceNew":true},"max_bid_price":{"type":"TypeFloat","optional":true,"default":-1},"name":{"type":"TypeString","required":true,"forceNew":true},"network_interface_ids":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"minItems":1},"os_disk":{"type":"TypeList","required":true,"elem":{"schema":{"caching":{"type":"TypeString","required":true},"diff_disk_settings":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"option":{"type":"TypeString","required":true,"forceNew":true},"placement":{"type":"TypeString","optional":true,"default":"CacheDisk","forceNew":true}}},"maxItems":1},"disk_encryption_set_id":{"type":"TypeString","optional":true},"disk_size_gb":{"type":"TypeInt","optional":true,"computed":true},"name":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"secure_vm_disk_encryption_set_id":{"type":"TypeString","optional":true,"forceNew":true},"security_encryption_type":{"type":"TypeString","optional":true,"forceNew":true},"storage_account_type":{"type":"TypeString","required":true,"forceNew":true},"write_accelerator_enabled":{"type":"TypeBool","optional":true,"default":false}}},"maxItems":1},"os_image_notification":{"type":"TypeList","optional":true,"elem":{"schema":{"timeout":{"type":"TypeString","optional":true,"default":"PT15M"}}},"maxItems":1},"patch_assessment_mode":{"type":"TypeString","optional":true,"default":"ImageDefault"},"patch_mode":{"type":"TypeString","optional":true,"default":"ImageDefault"},"plan":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"name":{"type":"TypeString","required":true,"forceNew":true},"product":{"type":"TypeString","required":true,"forceNew":true},"publisher":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"platform_fault_domain":{"type":"TypeInt","optional":true,"default":-1,"forceNew":true},"priority":{"type":"TypeString","optional":true,"default":"Regular","forceNew":true},"private_ip_address":{"type":"TypeString","computed":true},"private_ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"provision_vm_agent":{"type":"TypeBool","optional":true,"default":true,"forceNew":true},"proximity_placement_group_id":{"type":"TypeString","optional":true},"public_ip_address":{"type":"TypeString","computed":true},"public_ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"reboot_setting":{"type":"TypeString","optional":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"secret":{"type":"TypeList","optional":true,"elem":{"schema":{"certificate":{"type":"TypeSet","required":true,"elem":{"schema":{"url":{"type":"TypeString","required":true}}},"minItems":1},"key_vault_id":{"type":"TypeString","required":true}}}},"secure_boot_enabled":{"type":"TypeBool","optional":true,"forceNew":true},"size":{"type":"TypeString","required":true},"source_image_id":{"type":"TypeString","optional":true,"forceNew":true},"source_image_reference":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"offer":{"type":"TypeString","required":true,"forceNew":true},"publisher":{"type":"TypeString","required":true,"forceNew":true},"sku":{"type":"TypeString","required":true,"forceNew":true},"version":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"termination_notification":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"enabled":{"type":"TypeBool","required":true},"timeout":{"type":"TypeString","optional":true,"default":"PT5M"}}},"maxItems":1},"user_data":{"type":"TypeString","optional":true},"virtual_machine_id":{"type":"TypeString","computed":true},"virtual_machine_scale_set_id":{"type":"TypeString","optional":true},"vm_agent_platform_updates_enabled":{"type":"TypeBool","optional":true,"default":false},"vtpm_enabled":{"type":"TypeBool","optional":true,"forceNew":true},"zone":{"type":"TypeString","optional":true,"forceNew":true}},"timeouts":{"create":45,"read":5,"delete":45,"update":45}},"azurerm_linux_virtual_machine_scale_set":{"schema":{"additional_capabilities":{"type":"TypeList","optional":true,"elem":{"schema":{"ultra_ssd_enabled":{"type":"TypeBool","optional":true,"default":false,"forceNew":true}}},"maxItems":1},"admin_password":{"type":"TypeString","optional":true,"forceNew":true},"admin_ssh_key":{"type":"TypeSet","optional":true,"elem":{"schema":{"public_key":{"type":"TypeString","required":true},"username":{"type":"TypeString","required":true}}}},"admin_username":{"type":"TypeString","required":true,"forceNew":true},"automatic_instance_repair":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"action":{"type":"TypeString","optional":true,"computed":true},"enabled":{"type":"TypeBool","required":true},"grace_period":{"type":"TypeString","optional":true,"computed":true}}},"maxItems":1},"automatic_os_upgrade_policy":{"type":"TypeList","optional":true,"elem":{"schema":{"disable_automatic_rollback":{"type":"TypeBool","required":true},"enable_automatic_os_upgrade":{"type":"TypeBool","required":true}}},"maxItems":1},"boot_diagnostics":{"type":"TypeList","optional":true,"elem":{"schema":{"storage_account_uri":{"type":"TypeString","optional":true}}},"maxItems":1},"capacity_reservation_group_id":{"type":"TypeString","optional":true,"forceNew":true},"computer_name_prefix":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"custom_data":{"type":"TypeString","optional":true},"data_disk":{"type":"TypeList","optional":true,"elem":{"schema":{"caching":{"type":"TypeString","required":true},"create_option":{"type":"TypeString","optional":true,"default":"Empty"},"disk_encryption_set_id":{"type":"TypeString","optional":true,"forceNew":true},"disk_size_gb":{"type":"TypeInt","required":true},"lun":{"type":"TypeInt","required":true},"name":{"type":"TypeString","optional":true},"storage_account_type":{"type":"TypeString","required":true},"ultra_ssd_disk_iops_read_write":{"type":"TypeInt","optional":true,"computed":true},"ultra_ssd_disk_mbps_read_write":{"type":"TypeInt","optional":true,"computed":true},"write_accelerator_enabled":{"type":"TypeBool","optional":true,"default":false}}}},"disable_password_authentication":{"type":"TypeBool","optional":true,"default":true},"do_not_run_extensions_on_overprovisioned_machines":{"type":"TypeBool","optional":true,"default":false},"edge_zone":{"type":"TypeString","optional":true,"forceNew":true},"encryption_at_host_enabled":{"type":"TypeBool","optional":true},"eviction_policy":{"type":"TypeString","optional":true,"forceNew":true},"extension":{"type":"TypeSet","optional":true,"computed":true,"elem":{"schema":{"auto_upgrade_minor_version":{"type":"TypeBool","optional":true,"default":true},"automatic_upgrade_enabled":{"type":"TypeBool","optional":true,"default":false},"force_update_tag":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true},"protected_settings":{"type":"TypeString","optional":true},"protected_settings_from_key_vault":{"type":"TypeList","optional":true,"elem":{"schema":{"secret_url":{"type":"TypeString","required":true},"source_vault_id":{"type":"TypeString","required":true}}},"maxItems":1},"provision_after_extensions":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"publisher":{"type":"TypeString","required":true},"settings":{"type":"TypeString","optional":true},"type":{"type":"TypeString","required":true},"type_handler_version":{"type":"TypeString","required":true}}}},"extension_operations_enabled":{"type":"TypeBool","optional":true,"default":true,"forceNew":true},"extensions_time_budget":{"type":"TypeString","optional":true,"default":"PT1H30M"},"gallery_application":{"type":"TypeList","optional":true,"elem":{"schema":{"configuration_blob_uri":{"type":"TypeString","optional":true,"forceNew":true},"order":{"type":"TypeInt","optional":true,"default":0,"forceNew":true},"tag":{"type":"TypeString","optional":true,"forceNew":true},"version_id":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":100},"health_probe_id":{"type":"TypeString","optional":true},"host_group_id":{"type":"TypeString","optional":true,"forceNew":true},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"instances":{"type":"TypeInt","optional":true,"default":0},"location":{"type":"TypeString","required":true,"forceNew":true},"max_bid_price":{"type":"TypeFloat","optional":true,"default":-1},"name":{"type":"TypeString","required":true,"forceNew":true},"network_interface":{"type":"TypeList","required":true,"elem":{"schema":{"dns_servers":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"enable_accelerated_networking":{"type":"TypeBool","optional":true,"default":false},"enable_ip_forwarding":{"type":"TypeBool","optional":true,"default":false},"ip_configuration":{"type":"TypeList","required":true,"elem":{"schema":{"application_gateway_backend_address_pool_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"application_security_group_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":20},"load_balancer_backend_address_pool_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"load_balancer_inbound_nat_rules_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true},"primary":{"type":"TypeBool","optional":true,"default":false},"public_ip_address":{"type":"TypeList","optional":true,"elem":{"schema":{"domain_name_label":{"type":"TypeString","optional":true},"idle_timeout_in_minutes":{"type":"TypeInt","optional":true,"computed":true},"ip_tag":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"tag":{"type":"TypeString","required":true,"forceNew":true},"type":{"type":"TypeString","required":true,"forceNew":true}}}},"name":{"type":"TypeString","required":true},"public_ip_prefix_id":{"type":"TypeString","optional":true,"forceNew":true},"version":{"type":"TypeString","optional":true,"default":"IPv4","forceNew":true}}}},"subnet_id":{"type":"TypeString","optional":true},"version":{"type":"TypeString","optional":true,"default":"IPv4"}}}},"name":{"type":"TypeString","required":true,"forceNew":true},"network_security_group_id":{"type":"TypeString","optional":true},"primary":{"type":"TypeBool","optional":true,"default":false}}}},"os_disk":{"type":"TypeList","required":true,"elem":{"schema":{"caching":{"type":"TypeString","required":true},"diff_disk_settings":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"option":{"type":"TypeString","required":true,"forceNew":true},"placement":{"type":"TypeString","optional":true,"default":"CacheDisk","forceNew":true}}},"maxItems":1},"disk_encryption_set_id":{"type":"TypeString","optional":true,"forceNew":true},"disk_size_gb":{"type":"TypeInt","optional":true,"computed":true},"secure_vm_disk_encryption_set_id":{"type":"TypeString","optional":true,"forceNew":true},"security_encryption_type":{"type":"TypeString","optional":true,"forceNew":true},"storage_account_type":{"type":"TypeString","required":true,"forceNew":true},"write_accelerator_enabled":{"type":"TypeBool","optional":true,"default":false}}},"maxItems":1},"overprovision":{"type":"TypeBool","optional":true,"default":true},"plan":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"name":{"type":"TypeString","required":true,"forceNew":true},"product":{"type":"TypeString","required":true,"forceNew":true},"publisher":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"platform_fault_domain_count":{"type":"TypeInt","optional":true,"computed":true,"forceNew":true},"priority":{"type":"TypeString","optional":true,"default":"Regular","forceNew":true},"provision_vm_agent":{"type":"TypeBool","optional":true,"default":true,"forceNew":true},"proximity_placement_group_id":{"type":"TypeString","optional":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"rolling_upgrade_policy":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"cross_zone_upgrades_enabled":{"type":"TypeBool","optional":true},"max_batch_instance_percent":{"type":"TypeInt","required":true},"max_unhealthy_instance_percent":{"type":"TypeInt","required":true},"max_unhealthy_upgraded_instance_percent":{"type":"TypeInt","required":true},"maximum_surge_instances_enabled":{"type":"TypeBool","optional":true},"pause_time_between_batches":{"type":"TypeString","required":true},"prioritize_unhealthy_instances_enabled":{"type":"TypeBool","optional":true}}},"maxItems":1},"scale_in":{"type":"TypeList","optional":true,"elem":{"schema":{"force_deletion_enabled":{"type":"TypeBool","optional":true,"default":false},"rule":{"type":"TypeString","optional":true,"default":"Default"}}},"maxItems":1},"secret":{"type":"TypeList","optional":true,"elem":{"schema":{"certificate":{"type":"TypeSet","required":true,"elem":{"schema":{"url":{"type":"TypeString","required":true}}},"minItems":1},"key_vault_id":{"type":"TypeString","required":true}}}},"secure_boot_enabled":{"type":"TypeBool","optional":true,"forceNew":true},"single_placement_group":{"type":"TypeBool","optional":true,"default":true},"sku":{"type":"TypeString","required":true},"source_image_id":{"type":"TypeString","optional":true},"source_image_reference":{"type":"TypeList","optional":true,"elem":{"schema":{"offer":{"type":"TypeString","required":true,"forceNew":true},"publisher":{"type":"TypeString","required":true,"forceNew":true},"sku":{"type":"TypeString","required":true},"version":{"type":"TypeString","required":true}}},"maxItems":1},"spot_restore":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"enabled":{"type":"TypeBool","optional":true,"default":false,"forceNew":true},"timeout":{"type":"TypeString","optional":true,"default":"PT1H","forceNew":true}}},"maxItems":1},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"termination_notification":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"enabled":{"type":"TypeBool","required":true},"timeout":{"type":"TypeString","optional":true,"default":"PT5M"}}},"maxItems":1},"unique_id":{"type":"TypeString","computed":true},"upgrade_mode":{"type":"TypeString","optional":true,"default":"Manual","forceNew":true},"user_data":{"type":"TypeString","optional":true},"vtpm_enabled":{"type":"TypeBool","optional":true,"forceNew":true},"zone_balance":{"type":"TypeBool","optional":true,"default":false,"forceNew":true},"zones":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":60,"read":5,"delete":60,"update":60}},"azurerm_linux_web_app":{"schema":{"app_settings":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"auth_settings":{"type":"TypeList","optional":true,"elem":{"schema":{"active_directory":{"type":"TypeList","optional":true,"elem":{"schema":{"allowed_audiences":{"type":"TypeList","optional":true,"description":"Specifies a list of Allowed audience values to consider when validating JWTs issued by Azure Active Directory.","elem":{"type":"TypeString"}},"client_id":{"type":"TypeString","required":true,"description":"The ID of the Client to use to authenticate with Azure Active Directory."},"client_secret":{"type":"TypeString","optional":true,"description":"The Client Secret for the Client ID. Cannot be used with `client_secret_setting_name`."},"client_secret_setting_name":{"type":"TypeString","optional":true,"description":"The App Setting name that contains the client secret of the Client. Cannot be used with `client_secret`."}}},"maxItems":1},"additional_login_parameters":{"type":"TypeMap","optional":true,"description":"Specifies a map of Login Parameters to send to the OpenID Connect authorization endpoint when a user logs in.","elem":{"type":"TypeString"}},"allowed_external_redirect_urls":{"type":"TypeList","optional":true,"description":"Specifies a list of External URLs that can be redirected to as part of logging in or logging out of the Windows Web App.","computed":true,"elem":{"type":"TypeString"}},"default_provider":{"type":"TypeString","optional":true,"description":"The default authentication provider to use when multiple providers are configured. Possible values include: `AzureActiveDirectory`, `Facebook`, `Google`, `MicrosoftAccount`, `Twitter`, `Github`.","computed":true},"enabled":{"type":"TypeBool","required":true,"description":"Should the Authentication / Authorization feature be enabled?"},"facebook":{"type":"TypeList","optional":true,"elem":{"schema":{"app_id":{"type":"TypeString","required":true,"description":"The App ID of the Facebook app used for login."},"app_secret":{"type":"TypeString","optional":true,"description":"The App Secret of the Facebook app used for Facebook Login. Cannot be specified with `app_secret_setting_name`."},"app_secret_setting_name":{"type":"TypeString","optional":true,"description":"The app setting name that contains the `app_secret` value used for Facebook Login. Cannot be specified with `app_secret`."},"oauth_scopes":{"type":"TypeList","optional":true,"description":"Specifies a list of OAuth 2.0 scopes to be requested as part of Facebook Login authentication.","elem":{"type":"TypeString"}}}},"maxItems":1},"github":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","required":true,"description":"The ID of the GitHub app used for login."},"client_secret":{"type":"TypeString","optional":true,"description":"The Client Secret of the GitHub app used for GitHub Login. Cannot be specified with `client_secret_setting_name`."},"client_secret_setting_name":{"type":"TypeString","optional":true,"description":"The app setting name that contains the `client_secret` value used for GitHub Login. Cannot be specified with `client_secret`."},"oauth_scopes":{"type":"TypeList","optional":true,"description":"Specifies a list of OAuth 2.0 scopes that will be requested as part of GitHub Login authentication.","elem":{"type":"TypeString"}}}},"maxItems":1},"google":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","required":true,"description":"The OpenID Connect Client ID for the Google web application."},"client_secret":{"type":"TypeString","optional":true,"description":"The client secret associated with the Google web application. Cannot be specified with `client_secret_setting_name`."},"client_secret_setting_name":{"type":"TypeString","optional":true,"description":"The app setting name that contains the `client_secret` value used for Google Login. Cannot be specified with `client_secret`."},"oauth_scopes":{"type":"TypeList","optional":true,"description":"Specifies a list of OAuth 2.0 scopes that will be requested as part of Google Sign-In authentication. If not specified, \"openid\", \"profile\", and \"email\" are used as default scopes.","elem":{"type":"TypeString"}}}},"maxItems":1},"issuer":{"type":"TypeString","optional":true,"description":"The OpenID Connect Issuer URI that represents the entity which issues access tokens."},"microsoft":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","required":true,"description":"The OAuth 2.0 client ID that was created for the app used for authentication."},"client_secret":{"type":"TypeString","optional":true,"description":"The OAuth 2.0 client secret that was created for the app used for authentication. Cannot be specified with `client_secret_setting_name`."},"client_secret_setting_name":{"type":"TypeString","optional":true,"description":"The app setting name containing the OAuth 2.0 client secret that was created for the app used for authentication. Cannot be specified with `client_secret`."},"oauth_scopes":{"type":"TypeList","optional":true,"description":"The list of OAuth 2.0 scopes that will be requested as part of Microsoft Account authentication. If not specified, `wl.basic` is used as the default scope.","elem":{"type":"TypeString"}}}},"maxItems":1},"runtime_version":{"type":"TypeString","optional":true,"description":"The RuntimeVersion of the Authentication / Authorization feature in use.","computed":true},"token_refresh_extension_hours":{"type":"TypeFloat","optional":true,"default":72,"description":"The number of hours after session token expiration that a session token can be used to call the token refresh API. Defaults to `72` hours."},"token_store_enabled":{"type":"TypeBool","optional":true,"default":false,"description":"Should the Windows Web App durably store platform-specific security tokens that are obtained during login flows? Defaults to `false`."},"twitter":{"type":"TypeList","optional":true,"elem":{"schema":{"consumer_key":{"type":"TypeString","required":true,"description":"The OAuth 1.0a consumer key of the Twitter application used for sign-in."},"consumer_secret":{"type":"TypeString","optional":true,"description":"The OAuth 1.0a consumer secret of the Twitter application used for sign-in. Cannot be specified with `consumer_secret_setting_name`."},"consumer_secret_setting_name":{"type":"TypeString","optional":true,"description":"The app setting name that contains the OAuth 1.0a consumer secret of the Twitter application used for sign-in. Cannot be specified with `consumer_secret`."}}},"maxItems":1},"unauthenticated_client_action":{"type":"TypeString","optional":true,"description":"The action to take when an unauthenticated client attempts to access the app. Possible values include: `RedirectToLoginPage`, `AllowAnonymous`.","computed":true}}},"maxItems":1},"auth_settings_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"active_directory_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"allowed_applications":{"type":"TypeList","optional":true,"description":"The list of allowed Applications for the Default Authorisation Policy.","elem":{"type":"TypeString"}},"allowed_audiences":{"type":"TypeList","optional":true,"description":"Specifies a list of Allowed audience values to consider when validating JWTs issued by Azure Active Directory.","elem":{"type":"TypeString"}},"allowed_groups":{"type":"TypeList","optional":true,"description":"The list of allowed Group Names for the Default Authorisation Policy.","elem":{"type":"TypeString"}},"allowed_identities":{"type":"TypeList","optional":true,"description":"The list of allowed Identities for the Default Authorisation Policy.","elem":{"type":"TypeString"}},"client_id":{"type":"TypeString","required":true,"description":"The ID of the Client to use to authenticate with Azure Active Directory."},"client_secret_certificate_thumbprint":{"type":"TypeString","optional":true,"description":"The thumbprint of the certificate used for signing purposes."},"client_secret_setting_name":{"type":"TypeString","optional":true,"description":"The App Setting name that contains the client secret of the Client."},"jwt_allowed_client_applications":{"type":"TypeList","optional":true,"description":"A list of Allowed Client Applications in the JWT Claim.","elem":{"type":"TypeString"}},"jwt_allowed_groups":{"type":"TypeList","optional":true,"description":"A list of Allowed Groups in the JWT Claim.","elem":{"type":"TypeString"}},"login_parameters":{"type":"TypeMap","optional":true,"description":"A map of key-value pairs to send to the Authorisation Endpoint when a user logs in.","elem":{"type":"TypeString"}},"tenant_auth_endpoint":{"type":"TypeString","required":true,"description":"The Azure Tenant Endpoint for the Authenticating Tenant. e.g. `https://login.microsoftonline.com/v2.0/{tenant-guid}/`."},"www_authentication_disabled":{"type":"TypeBool","optional":true,"description":"Should the www-authenticate provider should be omitted from the request? Defaults to `false`"}}},"maxItems":1},"apple_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","required":true,"description":"The OpenID Connect Client ID for the Apple web application."},"client_secret_setting_name":{"type":"TypeString","required":true,"description":"The app setting name that contains the `client_secret` value used for Apple Login."},"login_scopes":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"auth_enabled":{"type":"TypeBool","optional":true,"description":"Should the AuthV2 Settings be enabled. Defaults to `false`"},"azure_static_web_app_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","required":true,"description":"The ID of the Client to use to authenticate with Azure Static Web App Authentication."}}},"maxItems":1},"config_file_path":{"type":"TypeString","optional":true,"description":"The path to the App Auth settings. **Note:** Relative Paths are evaluated from the Site Root directory."},"custom_oidc_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"authorisation_endpoint":{"type":"TypeString","description":"The endpoint to make the Authorisation Request.","computed":true},"certification_uri":{"type":"TypeString","description":"The endpoint that provides the keys necessary to validate the token.","computed":true},"client_credential_method":{"type":"TypeString","description":"The Client Credential Method used. Currently the only supported value is `ClientSecretPost`.","computed":true},"client_id":{"type":"TypeString","required":true,"description":"The ID of the Client to use to authenticate with this Custom OIDC."},"client_secret_setting_name":{"type":"TypeString","description":"The App Setting name that contains the secret for this Custom OIDC Client.","computed":true},"issuer_endpoint":{"type":"TypeString","description":"The endpoint that issued the Token.","computed":true},"name":{"type":"TypeString","required":true,"description":"The name of the Custom OIDC Authentication Provider."},"name_claim_type":{"type":"TypeString","optional":true,"description":"The name of the claim that contains the users name."},"openid_configuration_endpoint":{"type":"TypeString","required":true,"description":"The endpoint that contains all the configuration endpoints for this Custom OIDC provider."},"scopes":{"type":"TypeList","optional":true,"description":"The list of the scopes that should be requested while authenticating.","elem":{"type":"TypeString"}},"token_endpoint":{"type":"TypeString","description":"The endpoint used to request a Token.","computed":true}}}},"default_provider":{"type":"TypeString","optional":true,"description":"The Default Authentication Provider to use when the `unauthenticated_action` is set to `RedirectToLoginPage`. Possible values include: `apple`, `azureactivedirectory`, `facebook`, `github`, `google`, `twitter` and the `name` of your `custom_oidc_v2` provider."},"excluded_paths":{"type":"TypeList","optional":true,"description":"The paths which should be excluded from the `unauthenticated_action` when it is set to `RedirectToLoginPage`.","elem":{"type":"TypeString"}},"facebook_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"app_id":{"type":"TypeString","required":true,"description":"The App ID of the Facebook app used for login."},"app_secret_setting_name":{"type":"TypeString","required":true,"description":"The app setting name that contains the `app_secret` value used for Facebook Login."},"graph_api_version":{"type":"TypeString","optional":true,"description":"The version of the Facebook API to be used while logging in.","computed":true},"login_scopes":{"type":"TypeList","optional":true,"description":"Specifies a list of scopes to be requested as part of Facebook Login authentication.","elem":{"type":"TypeString"}}}},"maxItems":1},"forward_proxy_convention":{"type":"TypeString","optional":true,"default":"NoProxy","description":"The convention used to determine the url of the request made. Possible values include `ForwardProxyConventionNoProxy`, `ForwardProxyConventionStandard`, `ForwardProxyConventionCustom`. Defaults to `ForwardProxyConventionNoProxy`"},"forward_proxy_custom_host_header_name":{"type":"TypeString","optional":true,"description":"The name of the header containing the host of the request."},"forward_proxy_custom_scheme_header_name":{"type":"TypeString","optional":true,"description":"The name of the header containing the scheme of the request."},"github_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","required":true,"description":"The ID of the GitHub app used for login."},"client_secret_setting_name":{"type":"TypeString","required":true,"description":"The app setting name that contains the `client_secret` value used for GitHub Login."},"login_scopes":{"type":"TypeList","optional":true,"description":"Specifies a list of OAuth 2.0 scopes that will be requested as part of GitHub Login authentication.","elem":{"type":"TypeString"}}}},"maxItems":1},"google_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"allowed_audiences":{"type":"TypeList","optional":true,"description":"Specifies a list of Allowed Audiences that will be requested as part of Google Sign-In authentication.","elem":{"type":"TypeString"}},"client_id":{"type":"TypeString","required":true,"description":"The OpenID Connect Client ID for the Google web application."},"client_secret_setting_name":{"type":"TypeString","required":true,"description":"The app setting name that contains the `client_secret` value used for Google Login."},"login_scopes":{"type":"TypeList","optional":true,"description":"Specifies a list of Login scopes that will be requested as part of Google Sign-In authentication.","elem":{"type":"TypeString"}}}},"maxItems":1},"http_route_api_prefix":{"type":"TypeString","optional":true,"default":"/.auth","description":"The prefix that should precede all the authentication and authorisation paths. Defaults to `/.auth`"},"login":{"type":"TypeList","required":true,"elem":{"schema":{"allowed_external_redirect_urls":{"type":"TypeList","optional":true,"description":"External URLs that can be redirected to as part of logging in or logging out of the app. This is an advanced setting typically only needed by Windows Store application backends. **Note:** URLs within the current domain are always implicitly allowed.","elem":{"type":"TypeString"}},"cookie_expiration_convention":{"type":"TypeString","optional":true,"default":"FixedTime","description":"The method by which cookies expire. Possible values include: `FixedTime`, and `IdentityProviderDerived`. Defaults to `FixedTime`."},"cookie_expiration_time":{"type":"TypeString","optional":true,"default":"08:00:00","description":"The time after the request is made when the session cookie should expire. Defaults to `08:00:00`."},"logout_endpoint":{"type":"TypeString","optional":true,"description":"The endpoint to which logout requests should be made."},"nonce_expiration_time":{"type":"TypeString","optional":true,"default":"00:05:00","description":"The time after the request is made when the nonce should expire. Defaults to `00:05:00`."},"preserve_url_fragments_for_logins":{"type":"TypeBool","optional":true,"default":false,"description":"Should the fragments from the request be preserved after the login request is made. Defaults to `false`."},"token_refresh_extension_time":{"type":"TypeFloat","optional":true,"default":72,"description":"The number of hours after session token expiration that a session token can be used to call the token refresh API. Defaults to `72` hours."},"token_store_enabled":{"type":"TypeBool","optional":true,"default":false,"description":"Should the Token Store configuration Enabled. Defaults to `false`"},"token_store_path":{"type":"TypeString","optional":true,"description":"The directory path in the App Filesystem in which the tokens will be stored."},"token_store_sas_setting_name":{"type":"TypeString","optional":true,"description":"The name of the app setting which contains the SAS URL of the blob storage containing the tokens."},"validate_nonce":{"type":"TypeBool","optional":true,"default":true,"description":"Should the nonce be validated while completing the login flow. Defaults to `true`."}}},"maxItems":1},"microsoft_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"allowed_audiences":{"type":"TypeList","optional":true,"description":"Specifies a list of Allowed Audiences that will be requested as part of Microsoft Sign-In authentication.","elem":{"type":"TypeString"}},"client_id":{"type":"TypeString","required":true,"description":"The OAuth 2.0 client ID that was created for the app used for authentication."},"client_secret_setting_name":{"type":"TypeString","required":true,"description":"The app setting name containing the OAuth 2.0 client secret that was created for the app used for authentication."},"login_scopes":{"type":"TypeList","optional":true,"description":"The list of Login scopes that will be requested as part of Microsoft Account authentication.","elem":{"type":"TypeString"}}}},"maxItems":1},"require_authentication":{"type":"TypeBool","optional":true,"description":"Should the authentication flow be used for all requests."},"require_https":{"type":"TypeBool","optional":true,"default":true,"description":"Should HTTPS be required on connections? Defaults to true."},"runtime_version":{"type":"TypeString","optional":true,"default":"~1","description":"The Runtime Version of the Authentication and Authorisation feature of this App. Defaults to `~1`"},"twitter_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"consumer_key":{"type":"TypeString","required":true,"description":"The OAuth 1.0a consumer key of the Twitter application used for sign-in."},"consumer_secret_setting_name":{"type":"TypeString","required":true,"description":"The app setting name that contains the OAuth 1.0a consumer secret of the Twitter application used for sign-in."}}},"maxItems":1},"unauthenticated_action":{"type":"TypeString","optional":true,"default":"RedirectToLoginPage","description":"The action to take for requests made without authentication. Possible values include `RedirectToLoginPage`, `AllowAnonymous`, `Return401`, and `Return403`. Defaults to `RedirectToLoginPage`."}}},"maxItems":1},"backup":{"type":"TypeList","optional":true,"elem":{"schema":{"enabled":{"type":"TypeBool","optional":true,"default":true,"description":"Should this backup job be enabled?"},"name":{"type":"TypeString","required":true,"description":"The name which should be used for this Backup."},"schedule":{"type":"TypeList","required":true,"elem":{"schema":{"frequency_interval":{"type":"TypeInt","required":true,"description":"How often the backup should be executed (e.g. for weekly backup, this should be set to `7` and `frequency_unit` should be set to `Day`)."},"frequency_unit":{"type":"TypeString","required":true,"description":"The unit of time for how often the backup should take place. Possible values include: `Day` and `Hour`."},"keep_at_least_one_backup":{"type":"TypeBool","optional":true,"default":false,"description":"Should the service keep at least one backup, regardless of age of backup. Defaults to `false`."},"last_execution_time":{"type":"TypeString","description":"The time the backup was last attempted.","computed":true},"retention_period_days":{"type":"TypeInt","optional":true,"default":30,"description":"After how many days backups should be deleted."},"start_time":{"type":"TypeString","optional":true,"description":"When the schedule should start working in RFC-3339 format.","computed":true}}},"maxItems":1},"storage_account_url":{"type":"TypeString","required":true,"description":"The SAS URL to the container."}}},"maxItems":1},"client_affinity_enabled":{"type":"TypeBool","optional":true,"default":false},"client_certificate_enabled":{"type":"TypeBool","optional":true,"default":false},"client_certificate_exclusion_paths":{"type":"TypeString","optional":true,"description":"Paths to exclude when using client certificates, separated by ;"},"client_certificate_mode":{"type":"TypeString","optional":true,"default":"Required"},"connection_string":{"type":"TypeSet","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true,"description":"The name which should be used for this Connection."},"type":{"type":"TypeString","required":true,"description":"Type of database. Possible values include: `MySQL`, `SQLServer`, `SQLAzure`, `Custom`, `NotificationHub`, `ServiceBus`, `EventHub`, `APIHub`, `DocDb`, `RedisCache`, and `PostgreSQL`."},"value":{"type":"TypeString","required":true,"description":"The connection string value."}}}},"custom_domain_verification_id":{"type":"TypeString","computed":true},"default_hostname":{"type":"TypeString","computed":true},"enabled":{"type":"TypeBool","optional":true,"default":true},"ftp_publish_basic_authentication_enabled":{"type":"TypeBool","optional":true,"default":true},"hosting_environment_id":{"type":"TypeString","computed":true},"https_only":{"type":"TypeBool","optional":true,"default":false},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"key_vault_reference_identity_id":{"type":"TypeString","optional":true,"computed":true},"kind":{"type":"TypeString","computed":true},"location":{"type":"TypeString","required":true,"forceNew":true},"logs":{"type":"TypeList","optional":true,"elem":{"schema":{"application_logs":{"type":"TypeList","optional":true,"elem":{"schema":{"azure_blob_storage":{"type":"TypeList","optional":true,"elem":{"schema":{"level":{"type":"TypeString","required":true},"retention_in_days":{"type":"TypeInt","required":true},"sas_url":{"type":"TypeString","required":true}}},"maxItems":1},"file_system_level":{"type":"TypeString","required":true}}},"maxItems":1},"detailed_error_messages":{"type":"TypeBool","optional":true,"default":false},"failed_request_tracing":{"type":"TypeBool","optional":true,"default":false},"http_logs":{"type":"TypeList","optional":true,"elem":{"schema":{"azure_blob_storage":{"type":"TypeList","optional":true,"elem":{"schema":{"retention_in_days":{"type":"TypeInt","optional":true,"default":0},"sas_url":{"type":"TypeString","required":true}}},"maxItems":1},"file_system":{"type":"TypeList","optional":true,"elem":{"schema":{"retention_in_days":{"type":"TypeInt","required":true},"retention_in_mb":{"type":"TypeInt","required":true}}},"maxItems":1}}},"maxItems":1}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"outbound_ip_address_list":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"outbound_ip_addresses":{"type":"TypeString","computed":true},"possible_outbound_ip_address_list":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"possible_outbound_ip_addresses":{"type":"TypeString","computed":true},"public_network_access_enabled":{"type":"TypeBool","optional":true,"default":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"service_plan_id":{"type":"TypeString","required":true},"site_config":{"type":"TypeList","required":true,"elem":{"schema":{"always_on":{"type":"TypeBool","optional":true,"default":true},"api_definition_url":{"type":"TypeString","optional":true},"api_management_api_id":{"type":"TypeString","optional":true},"app_command_line":{"type":"TypeString","optional":true},"application_stack":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"docker_image_name":{"type":"TypeString","optional":true},"docker_registry_password":{"type":"TypeString","optional":true},"docker_registry_url":{"type":"TypeString","optional":true},"docker_registry_username":{"type":"TypeString","optional":true},"dotnet_version":{"type":"TypeString","optional":true},"go_version":{"type":"TypeString","optional":true},"java_server":{"type":"TypeString","optional":true},"java_server_version":{"type":"TypeString","optional":true},"java_version":{"type":"TypeString","optional":true},"node_version":{"type":"TypeString","optional":true},"php_version":{"type":"TypeString","optional":true},"python_version":{"type":"TypeString","optional":true},"ruby_version":{"type":"TypeString","optional":true}}},"maxItems":1},"auto_heal_setting":{"type":"TypeList","optional":true,"elem":{"schema":{"action":{"type":"TypeList","optional":true,"elem":{"schema":{"action_type":{"type":"TypeString","required":true},"minimum_process_execution_time":{"type":"TypeString","optional":true,"computed":true}}},"maxItems":1},"trigger":{"type":"TypeList","optional":true,"elem":{"schema":{"requests":{"type":"TypeList","optional":true,"elem":{"schema":{"count":{"type":"TypeInt","required":true},"interval":{"type":"TypeString","required":true}}},"maxItems":1},"slow_request":{"type":"TypeList","optional":true,"elem":{"schema":{"count":{"type":"TypeInt","required":true},"interval":{"type":"TypeString","required":true},"time_taken":{"type":"TypeString","required":true}}},"maxItems":1},"slow_request_with_path":{"type":"TypeList","optional":true,"elem":{"schema":{"count":{"type":"TypeInt","required":true},"interval":{"type":"TypeString","required":true},"path":{"type":"TypeString","optional":true},"time_taken":{"type":"TypeString","required":true}}}},"status_code":{"type":"TypeSet","optional":true,"elem":{"schema":{"count":{"type":"TypeInt","required":true},"interval":{"type":"TypeString","required":true},"path":{"type":"TypeString","optional":true},"status_code_range":{"type":"TypeString","required":true},"sub_status":{"type":"TypeInt","optional":true},"win32_status_code":{"type":"TypeInt","optional":true}}}}}},"maxItems":1}}},"maxItems":1},"container_registry_managed_identity_client_id":{"type":"TypeString","optional":true},"container_registry_use_managed_identity":{"type":"TypeBool","optional":true,"default":false},"cors":{"type":"TypeList","optional":true,"elem":{"schema":{"allowed_origins":{"type":"TypeSet","optional":true,"description":"Specifies a list of origins that should be allowed to make cross-origin calls.","elem":{"type":"TypeString"},"minItems":1},"support_credentials":{"type":"TypeBool","optional":true,"default":false,"description":"Are credentials allowed in CORS requests? Defaults to `false`."}}},"maxItems":1},"default_documents":{"type":"TypeList","optional":true,"computed":true,"elem":{"type":"TypeString"}},"detailed_error_logging_enabled":{"type":"TypeBool","computed":true},"ftps_state":{"type":"TypeString","optional":true,"default":"Disabled"},"health_check_eviction_time_in_min":{"type":"TypeInt","optional":true,"description":"The amount of time in minutes that a node is unhealthy before being removed from the load balancer. Possible values are between `2` and `10`. Only valid in conjunction with `health_check_path`"},"health_check_path":{"type":"TypeString","optional":true},"http2_enabled":{"type":"TypeBool","optional":true,"default":false},"ip_restriction":{"type":"TypeList","optional":true,"elem":{"schema":{"action":{"type":"TypeString","optional":true,"default":"Allow","description":"The action to take. Possible values are `Allow` or `Deny`."},"description":{"type":"TypeString","optional":true,"description":"The description of the IP restriction rule."},"headers":{"type":"TypeList","configMode":"Auto","optional":true,"elem":{"schema":{"x_azure_fdid":{"type":"TypeList","optional":true,"description":"Specifies a list of Azure Front Door IDs.","elem":{"type":"TypeString"},"maxItems":8},"x_fd_health_probe":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"maxItems":1},"x_forwarded_for":{"type":"TypeList","optional":true,"description":"Specifies a list of addresses for which matching should be applied. Omitting this value means allow any.","elem":{"type":"TypeString"},"maxItems":8},"x_forwarded_host":{"type":"TypeList","optional":true,"description":"Specifies a list of Hosts for which matching should be applied.","elem":{"type":"TypeString"},"maxItems":8}}},"maxItems":1},"ip_address":{"type":"TypeString","optional":true,"description":"The CIDR notation of the IP or IP Range to match. For example: `10.0.0.0/24` or `192.168.10.1/32` or `fe80::/64` or `13.107.6.152/31,13.107.128.0/22`"},"name":{"type":"TypeString","optional":true,"description":"The name which should be used for this `ip_restriction`.","computed":true},"priority":{"type":"TypeInt","optional":true,"default":65000,"description":"The priority value of this `ip_restriction`."},"service_tag":{"type":"TypeString","optional":true,"description":"The Service Tag used for this IP Restriction."},"virtual_network_subnet_id":{"type":"TypeString","optional":true,"description":"The Virtual Network Subnet ID used for this IP Restriction."}}}},"ip_restriction_default_action":{"type":"TypeString","optional":true,"default":"Allow"},"linux_fx_version":{"type":"TypeString","computed":true},"load_balancing_mode":{"type":"TypeString","optional":true,"default":"LeastRequests"},"local_mysql_enabled":{"type":"TypeBool","optional":true,"default":false},"managed_pipeline_mode":{"type":"TypeString","optional":true,"default":"Integrated"},"minimum_tls_version":{"type":"TypeString","optional":true,"default":"1.2"},"remote_debugging_enabled":{"type":"TypeBool","optional":true,"default":false},"remote_debugging_version":{"type":"TypeString","optional":true,"computed":true},"scm_ip_restriction":{"type":"TypeList","optional":true,"elem":{"schema":{"action":{"type":"TypeString","optional":true,"default":"Allow","description":"The action to take. Possible values are `Allow` or `Deny`."},"description":{"type":"TypeString","optional":true,"description":"The description of the IP restriction rule."},"headers":{"type":"TypeList","configMode":"Auto","optional":true,"elem":{"schema":{"x_azure_fdid":{"type":"TypeList","optional":true,"description":"Specifies a list of Azure Front Door IDs.","elem":{"type":"TypeString"},"maxItems":8},"x_fd_health_probe":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"maxItems":1},"x_forwarded_for":{"type":"TypeList","optional":true,"description":"Specifies a list of addresses for which matching should be applied. Omitting this value means allow any.","elem":{"type":"TypeString"},"maxItems":8},"x_forwarded_host":{"type":"TypeList","optional":true,"description":"Specifies a list of Hosts for which matching should be applied.","elem":{"type":"TypeString"},"maxItems":8}}},"maxItems":1},"ip_address":{"type":"TypeString","optional":true,"description":"The CIDR notation of the IP or IP Range to match. For example: `10.0.0.0/24` or `192.168.10.1/32` or `fe80::/64` or `13.107.6.152/31,13.107.128.0/22`"},"name":{"type":"TypeString","optional":true,"description":"The name which should be used for this `ip_restriction`.","computed":true},"priority":{"type":"TypeInt","optional":true,"default":65000,"description":"The priority value of this `ip_restriction`."},"service_tag":{"type":"TypeString","optional":true,"description":"The Service Tag used for this IP Restriction."},"virtual_network_subnet_id":{"type":"TypeString","optional":true,"description":"The Virtual Network Subnet ID used for this IP Restriction."}}}},"scm_ip_restriction_default_action":{"type":"TypeString","optional":true,"default":"Allow"},"scm_minimum_tls_version":{"type":"TypeString","optional":true,"default":"1.2"},"scm_type":{"type":"TypeString","computed":true},"scm_use_main_ip_restriction":{"type":"TypeBool","optional":true,"default":false},"use_32_bit_worker":{"type":"TypeBool","optional":true,"default":true},"vnet_route_all_enabled":{"type":"TypeBool","optional":true,"default":false,"description":"Should all outbound traffic to have Virtual Network Security Groups and User Defined Routes applied? Defaults to `false`."},"websockets_enabled":{"type":"TypeBool","optional":true,"default":false},"worker_count":{"type":"TypeInt","optional":true,"computed":true}}},"maxItems":1},"site_credential":{"type":"TypeList","computed":true,"elem":{"schema":{"name":{"type":"TypeString","description":"The Site Credentials Username used for publishing.","computed":true},"password":{"type":"TypeString","description":"The Site Credentials Password used for publishing.","computed":true}}}},"sticky_settings":{"type":"TypeList","optional":true,"elem":{"schema":{"app_setting_names":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"minItems":1},"connection_string_names":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"minItems":1}}},"maxItems":1},"storage_account":{"type":"TypeSet","optional":true,"elem":{"schema":{"access_key":{"type":"TypeString","required":true},"account_name":{"type":"TypeString","required":true},"mount_path":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true},"share_name":{"type":"TypeString","required":true},"type":{"type":"TypeString","required":true}}}},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"virtual_network_subnet_id":{"type":"TypeString","optional":true},"webdeploy_publish_basic_authentication_enabled":{"type":"TypeBool","optional":true,"default":true},"zip_deploy_file":{"type":"TypeString","optional":true,"description":"The local path and filename of the Zip packaged application to deploy to this Linux Web App. **Note:** Using this value requires either `WEBSITE_RUN_FROM_PACKAGE=1` or `SCM_DO_BUILD_DURING_DEPLOYMENT=true` to be set on the App in `app_settings`.","computed":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_linux_web_app_slot":{"schema":{"app_metadata":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"app_service_id":{"type":"TypeString","required":true},"app_settings":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"auth_settings":{"type":"TypeList","optional":true,"elem":{"schema":{"active_directory":{"type":"TypeList","optional":true,"elem":{"schema":{"allowed_audiences":{"type":"TypeList","optional":true,"description":"Specifies a list of Allowed audience values to consider when validating JWTs issued by Azure Active Directory.","elem":{"type":"TypeString"}},"client_id":{"type":"TypeString","required":true,"description":"The ID of the Client to use to authenticate with Azure Active Directory."},"client_secret":{"type":"TypeString","optional":true,"description":"The Client Secret for the Client ID. Cannot be used with `client_secret_setting_name`."},"client_secret_setting_name":{"type":"TypeString","optional":true,"description":"The App Setting name that contains the client secret of the Client. Cannot be used with `client_secret`."}}},"maxItems":1},"additional_login_parameters":{"type":"TypeMap","optional":true,"description":"Specifies a map of Login Parameters to send to the OpenID Connect authorization endpoint when a user logs in.","elem":{"type":"TypeString"}},"allowed_external_redirect_urls":{"type":"TypeList","optional":true,"description":"Specifies a list of External URLs that can be redirected to as part of logging in or logging out of the Windows Web App.","computed":true,"elem":{"type":"TypeString"}},"default_provider":{"type":"TypeString","optional":true,"description":"The default authentication provider to use when multiple providers are configured. Possible values include: `AzureActiveDirectory`, `Facebook`, `Google`, `MicrosoftAccount`, `Twitter`, `Github`.","computed":true},"enabled":{"type":"TypeBool","required":true,"description":"Should the Authentication / Authorization feature be enabled?"},"facebook":{"type":"TypeList","optional":true,"elem":{"schema":{"app_id":{"type":"TypeString","required":true,"description":"The App ID of the Facebook app used for login."},"app_secret":{"type":"TypeString","optional":true,"description":"The App Secret of the Facebook app used for Facebook Login. Cannot be specified with `app_secret_setting_name`."},"app_secret_setting_name":{"type":"TypeString","optional":true,"description":"The app setting name that contains the `app_secret` value used for Facebook Login. Cannot be specified with `app_secret`."},"oauth_scopes":{"type":"TypeList","optional":true,"description":"Specifies a list of OAuth 2.0 scopes to be requested as part of Facebook Login authentication.","elem":{"type":"TypeString"}}}},"maxItems":1},"github":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","required":true,"description":"The ID of the GitHub app used for login."},"client_secret":{"type":"TypeString","optional":true,"description":"The Client Secret of the GitHub app used for GitHub Login. Cannot be specified with `client_secret_setting_name`."},"client_secret_setting_name":{"type":"TypeString","optional":true,"description":"The app setting name that contains the `client_secret` value used for GitHub Login. Cannot be specified with `client_secret`."},"oauth_scopes":{"type":"TypeList","optional":true,"description":"Specifies a list of OAuth 2.0 scopes that will be requested as part of GitHub Login authentication.","elem":{"type":"TypeString"}}}},"maxItems":1},"google":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","required":true,"description":"The OpenID Connect Client ID for the Google web application."},"client_secret":{"type":"TypeString","optional":true,"description":"The client secret associated with the Google web application. Cannot be specified with `client_secret_setting_name`."},"client_secret_setting_name":{"type":"TypeString","optional":true,"description":"The app setting name that contains the `client_secret` value used for Google Login. Cannot be specified with `client_secret`."},"oauth_scopes":{"type":"TypeList","optional":true,"description":"Specifies a list of OAuth 2.0 scopes that will be requested as part of Google Sign-In authentication. If not specified, \"openid\", \"profile\", and \"email\" are used as default scopes.","elem":{"type":"TypeString"}}}},"maxItems":1},"issuer":{"type":"TypeString","optional":true,"description":"The OpenID Connect Issuer URI that represents the entity which issues access tokens."},"microsoft":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","required":true,"description":"The OAuth 2.0 client ID that was created for the app used for authentication."},"client_secret":{"type":"TypeString","optional":true,"description":"The OAuth 2.0 client secret that was created for the app used for authentication. Cannot be specified with `client_secret_setting_name`."},"client_secret_setting_name":{"type":"TypeString","optional":true,"description":"The app setting name containing the OAuth 2.0 client secret that was created for the app used for authentication. Cannot be specified with `client_secret`."},"oauth_scopes":{"type":"TypeList","optional":true,"description":"The list of OAuth 2.0 scopes that will be requested as part of Microsoft Account authentication. If not specified, `wl.basic` is used as the default scope.","elem":{"type":"TypeString"}}}},"maxItems":1},"runtime_version":{"type":"TypeString","optional":true,"description":"The RuntimeVersion of the Authentication / Authorization feature in use.","computed":true},"token_refresh_extension_hours":{"type":"TypeFloat","optional":true,"default":72,"description":"The number of hours after session token expiration that a session token can be used to call the token refresh API. Defaults to `72` hours."},"token_store_enabled":{"type":"TypeBool","optional":true,"default":false,"description":"Should the Windows Web App durably store platform-specific security tokens that are obtained during login flows? Defaults to `false`."},"twitter":{"type":"TypeList","optional":true,"elem":{"schema":{"consumer_key":{"type":"TypeString","required":true,"description":"The OAuth 1.0a consumer key of the Twitter application used for sign-in."},"consumer_secret":{"type":"TypeString","optional":true,"description":"The OAuth 1.0a consumer secret of the Twitter application used for sign-in. Cannot be specified with `consumer_secret_setting_name`."},"consumer_secret_setting_name":{"type":"TypeString","optional":true,"description":"The app setting name that contains the OAuth 1.0a consumer secret of the Twitter application used for sign-in. Cannot be specified with `consumer_secret`."}}},"maxItems":1},"unauthenticated_client_action":{"type":"TypeString","optional":true,"description":"The action to take when an unauthenticated client attempts to access the app. Possible values include: `RedirectToLoginPage`, `AllowAnonymous`.","computed":true}}},"maxItems":1},"auth_settings_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"active_directory_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"allowed_applications":{"type":"TypeList","optional":true,"description":"The list of allowed Applications for the Default Authorisation Policy.","elem":{"type":"TypeString"}},"allowed_audiences":{"type":"TypeList","optional":true,"description":"Specifies a list of Allowed audience values to consider when validating JWTs issued by Azure Active Directory.","elem":{"type":"TypeString"}},"allowed_groups":{"type":"TypeList","optional":true,"description":"The list of allowed Group Names for the Default Authorisation Policy.","elem":{"type":"TypeString"}},"allowed_identities":{"type":"TypeList","optional":true,"description":"The list of allowed Identities for the Default Authorisation Policy.","elem":{"type":"TypeString"}},"client_id":{"type":"TypeString","required":true,"description":"The ID of the Client to use to authenticate with Azure Active Directory."},"client_secret_certificate_thumbprint":{"type":"TypeString","optional":true,"description":"The thumbprint of the certificate used for signing purposes."},"client_secret_setting_name":{"type":"TypeString","optional":true,"description":"The App Setting name that contains the client secret of the Client."},"jwt_allowed_client_applications":{"type":"TypeList","optional":true,"description":"A list of Allowed Client Applications in the JWT Claim.","elem":{"type":"TypeString"}},"jwt_allowed_groups":{"type":"TypeList","optional":true,"description":"A list of Allowed Groups in the JWT Claim.","elem":{"type":"TypeString"}},"login_parameters":{"type":"TypeMap","optional":true,"description":"A map of key-value pairs to send to the Authorisation Endpoint when a user logs in.","elem":{"type":"TypeString"}},"tenant_auth_endpoint":{"type":"TypeString","required":true,"description":"The Azure Tenant Endpoint for the Authenticating Tenant. e.g. `https://login.microsoftonline.com/v2.0/{tenant-guid}/`."},"www_authentication_disabled":{"type":"TypeBool","optional":true,"description":"Should the www-authenticate provider should be omitted from the request? Defaults to `false`"}}},"maxItems":1},"apple_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","required":true,"description":"The OpenID Connect Client ID for the Apple web application."},"client_secret_setting_name":{"type":"TypeString","required":true,"description":"The app setting name that contains the `client_secret` value used for Apple Login."},"login_scopes":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"auth_enabled":{"type":"TypeBool","optional":true,"description":"Should the AuthV2 Settings be enabled. Defaults to `false`"},"azure_static_web_app_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","required":true,"description":"The ID of the Client to use to authenticate with Azure Static Web App Authentication."}}},"maxItems":1},"config_file_path":{"type":"TypeString","optional":true,"description":"The path to the App Auth settings. **Note:** Relative Paths are evaluated from the Site Root directory."},"custom_oidc_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"authorisation_endpoint":{"type":"TypeString","description":"The endpoint to make the Authorisation Request.","computed":true},"certification_uri":{"type":"TypeString","description":"The endpoint that provides the keys necessary to validate the token.","computed":true},"client_credential_method":{"type":"TypeString","description":"The Client Credential Method used. Currently the only supported value is `ClientSecretPost`.","computed":true},"client_id":{"type":"TypeString","required":true,"description":"The ID of the Client to use to authenticate with this Custom OIDC."},"client_secret_setting_name":{"type":"TypeString","description":"The App Setting name that contains the secret for this Custom OIDC Client.","computed":true},"issuer_endpoint":{"type":"TypeString","description":"The endpoint that issued the Token.","computed":true},"name":{"type":"TypeString","required":true,"description":"The name of the Custom OIDC Authentication Provider."},"name_claim_type":{"type":"TypeString","optional":true,"description":"The name of the claim that contains the users name."},"openid_configuration_endpoint":{"type":"TypeString","required":true,"description":"The endpoint that contains all the configuration endpoints for this Custom OIDC provider."},"scopes":{"type":"TypeList","optional":true,"description":"The list of the scopes that should be requested while authenticating.","elem":{"type":"TypeString"}},"token_endpoint":{"type":"TypeString","description":"The endpoint used to request a Token.","computed":true}}}},"default_provider":{"type":"TypeString","optional":true,"description":"The Default Authentication Provider to use when the `unauthenticated_action` is set to `RedirectToLoginPage`. Possible values include: `apple`, `azureactivedirectory`, `facebook`, `github`, `google`, `twitter` and the `name` of your `custom_oidc_v2` provider."},"excluded_paths":{"type":"TypeList","optional":true,"description":"The paths which should be excluded from the `unauthenticated_action` when it is set to `RedirectToLoginPage`.","elem":{"type":"TypeString"}},"facebook_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"app_id":{"type":"TypeString","required":true,"description":"The App ID of the Facebook app used for login."},"app_secret_setting_name":{"type":"TypeString","required":true,"description":"The app setting name that contains the `app_secret` value used for Facebook Login."},"graph_api_version":{"type":"TypeString","optional":true,"description":"The version of the Facebook API to be used while logging in.","computed":true},"login_scopes":{"type":"TypeList","optional":true,"description":"Specifies a list of scopes to be requested as part of Facebook Login authentication.","elem":{"type":"TypeString"}}}},"maxItems":1},"forward_proxy_convention":{"type":"TypeString","optional":true,"default":"NoProxy","description":"The convention used to determine the url of the request made. Possible values include `ForwardProxyConventionNoProxy`, `ForwardProxyConventionStandard`, `ForwardProxyConventionCustom`. Defaults to `ForwardProxyConventionNoProxy`"},"forward_proxy_custom_host_header_name":{"type":"TypeString","optional":true,"description":"The name of the header containing the host of the request."},"forward_proxy_custom_scheme_header_name":{"type":"TypeString","optional":true,"description":"The name of the header containing the scheme of the request."},"github_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","required":true,"description":"The ID of the GitHub app used for login."},"client_secret_setting_name":{"type":"TypeString","required":true,"description":"The app setting name that contains the `client_secret` value used for GitHub Login."},"login_scopes":{"type":"TypeList","optional":true,"description":"Specifies a list of OAuth 2.0 scopes that will be requested as part of GitHub Login authentication.","elem":{"type":"TypeString"}}}},"maxItems":1},"google_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"allowed_audiences":{"type":"TypeList","optional":true,"description":"Specifies a list of Allowed Audiences that will be requested as part of Google Sign-In authentication.","elem":{"type":"TypeString"}},"client_id":{"type":"TypeString","required":true,"description":"The OpenID Connect Client ID for the Google web application."},"client_secret_setting_name":{"type":"TypeString","required":true,"description":"The app setting name that contains the `client_secret` value used for Google Login."},"login_scopes":{"type":"TypeList","optional":true,"description":"Specifies a list of Login scopes that will be requested as part of Google Sign-In authentication.","elem":{"type":"TypeString"}}}},"maxItems":1},"http_route_api_prefix":{"type":"TypeString","optional":true,"default":"/.auth","description":"The prefix that should precede all the authentication and authorisation paths. Defaults to `/.auth`"},"login":{"type":"TypeList","required":true,"elem":{"schema":{"allowed_external_redirect_urls":{"type":"TypeList","optional":true,"description":"External URLs that can be redirected to as part of logging in or logging out of the app. This is an advanced setting typically only needed by Windows Store application backends. **Note:** URLs within the current domain are always implicitly allowed.","elem":{"type":"TypeString"}},"cookie_expiration_convention":{"type":"TypeString","optional":true,"default":"FixedTime","description":"The method by which cookies expire. Possible values include: `FixedTime`, and `IdentityProviderDerived`. Defaults to `FixedTime`."},"cookie_expiration_time":{"type":"TypeString","optional":true,"default":"08:00:00","description":"The time after the request is made when the session cookie should expire. Defaults to `08:00:00`."},"logout_endpoint":{"type":"TypeString","optional":true,"description":"The endpoint to which logout requests should be made."},"nonce_expiration_time":{"type":"TypeString","optional":true,"default":"00:05:00","description":"The time after the request is made when the nonce should expire. Defaults to `00:05:00`."},"preserve_url_fragments_for_logins":{"type":"TypeBool","optional":true,"default":false,"description":"Should the fragments from the request be preserved after the login request is made. Defaults to `false`."},"token_refresh_extension_time":{"type":"TypeFloat","optional":true,"default":72,"description":"The number of hours after session token expiration that a session token can be used to call the token refresh API. Defaults to `72` hours."},"token_store_enabled":{"type":"TypeBool","optional":true,"default":false,"description":"Should the Token Store configuration Enabled. Defaults to `false`"},"token_store_path":{"type":"TypeString","optional":true,"description":"The directory path in the App Filesystem in which the tokens will be stored."},"token_store_sas_setting_name":{"type":"TypeString","optional":true,"description":"The name of the app setting which contains the SAS URL of the blob storage containing the tokens."},"validate_nonce":{"type":"TypeBool","optional":true,"default":true,"description":"Should the nonce be validated while completing the login flow. Defaults to `true`."}}},"maxItems":1},"microsoft_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"allowed_audiences":{"type":"TypeList","optional":true,"description":"Specifies a list of Allowed Audiences that will be requested as part of Microsoft Sign-In authentication.","elem":{"type":"TypeString"}},"client_id":{"type":"TypeString","required":true,"description":"The OAuth 2.0 client ID that was created for the app used for authentication."},"client_secret_setting_name":{"type":"TypeString","required":true,"description":"The app setting name containing the OAuth 2.0 client secret that was created for the app used for authentication."},"login_scopes":{"type":"TypeList","optional":true,"description":"The list of Login scopes that will be requested as part of Microsoft Account authentication.","elem":{"type":"TypeString"}}}},"maxItems":1},"require_authentication":{"type":"TypeBool","optional":true,"description":"Should the authentication flow be used for all requests."},"require_https":{"type":"TypeBool","optional":true,"default":true,"description":"Should HTTPS be required on connections? Defaults to true."},"runtime_version":{"type":"TypeString","optional":true,"default":"~1","description":"The Runtime Version of the Authentication and Authorisation feature of this App. Defaults to `~1`"},"twitter_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"consumer_key":{"type":"TypeString","required":true,"description":"The OAuth 1.0a consumer key of the Twitter application used for sign-in."},"consumer_secret_setting_name":{"type":"TypeString","required":true,"description":"The app setting name that contains the OAuth 1.0a consumer secret of the Twitter application used for sign-in."}}},"maxItems":1},"unauthenticated_action":{"type":"TypeString","optional":true,"default":"RedirectToLoginPage","description":"The action to take for requests made without authentication. Possible values include `RedirectToLoginPage`, `AllowAnonymous`, `Return401`, and `Return403`. Defaults to `RedirectToLoginPage`."}}},"maxItems":1},"backup":{"type":"TypeList","optional":true,"elem":{"schema":{"enabled":{"type":"TypeBool","optional":true,"default":true,"description":"Should this backup job be enabled?"},"name":{"type":"TypeString","required":true,"description":"The name which should be used for this Backup."},"schedule":{"type":"TypeList","required":true,"elem":{"schema":{"frequency_interval":{"type":"TypeInt","required":true,"description":"How often the backup should be executed (e.g. for weekly backup, this should be set to `7` and `frequency_unit` should be set to `Day`)."},"frequency_unit":{"type":"TypeString","required":true,"description":"The unit of time for how often the backup should take place. Possible values include: `Day` and `Hour`."},"keep_at_least_one_backup":{"type":"TypeBool","optional":true,"default":false,"description":"Should the service keep at least one backup, regardless of age of backup. Defaults to `false`."},"last_execution_time":{"type":"TypeString","description":"The time the backup was last attempted.","computed":true},"retention_period_days":{"type":"TypeInt","optional":true,"default":30,"description":"After how many days backups should be deleted."},"start_time":{"type":"TypeString","optional":true,"description":"When the schedule should start working in RFC-3339 format.","computed":true}}},"maxItems":1},"storage_account_url":{"type":"TypeString","required":true,"description":"The SAS URL to the container."}}},"maxItems":1},"client_affinity_enabled":{"type":"TypeBool","optional":true,"default":false},"client_certificate_enabled":{"type":"TypeBool","optional":true,"default":false},"client_certificate_exclusion_paths":{"type":"TypeString","optional":true,"description":"Paths to exclude when using client certificates, separated by ;"},"client_certificate_mode":{"type":"TypeString","optional":true,"default":"Required"},"connection_string":{"type":"TypeSet","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true,"description":"The name which should be used for this Connection."},"type":{"type":"TypeString","required":true,"description":"Type of database. Possible values include: `MySQL`, `SQLServer`, `SQLAzure`, `Custom`, `NotificationHub`, `ServiceBus`, `EventHub`, `APIHub`, `DocDb`, `RedisCache`, and `PostgreSQL`."},"value":{"type":"TypeString","required":true,"description":"The connection string value."}}}},"custom_domain_verification_id":{"type":"TypeString","computed":true},"default_hostname":{"type":"TypeString","computed":true},"enabled":{"type":"TypeBool","optional":true,"default":true},"ftp_publish_basic_authentication_enabled":{"type":"TypeBool","optional":true,"default":true},"hosting_environment_id":{"type":"TypeString","computed":true},"https_only":{"type":"TypeBool","optional":true,"default":false},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"key_vault_reference_identity_id":{"type":"TypeString","optional":true,"computed":true},"kind":{"type":"TypeString","computed":true},"logs":{"type":"TypeList","optional":true,"elem":{"schema":{"application_logs":{"type":"TypeList","optional":true,"elem":{"schema":{"azure_blob_storage":{"type":"TypeList","optional":true,"elem":{"schema":{"level":{"type":"TypeString","required":true},"retention_in_days":{"type":"TypeInt","required":true},"sas_url":{"type":"TypeString","required":true}}},"maxItems":1},"file_system_level":{"type":"TypeString","required":true}}},"maxItems":1},"detailed_error_messages":{"type":"TypeBool","optional":true,"default":false},"failed_request_tracing":{"type":"TypeBool","optional":true,"default":false},"http_logs":{"type":"TypeList","optional":true,"elem":{"schema":{"azure_blob_storage":{"type":"TypeList","optional":true,"elem":{"schema":{"retention_in_days":{"type":"TypeInt","optional":true,"default":0},"sas_url":{"type":"TypeString","required":true}}},"maxItems":1},"file_system":{"type":"TypeList","optional":true,"elem":{"schema":{"retention_in_days":{"type":"TypeInt","required":true},"retention_in_mb":{"type":"TypeInt","required":true}}},"maxItems":1}}},"maxItems":1}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"outbound_ip_address_list":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"outbound_ip_addresses":{"type":"TypeString","computed":true},"possible_outbound_ip_address_list":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"possible_outbound_ip_addresses":{"type":"TypeString","computed":true},"public_network_access_enabled":{"type":"TypeBool","optional":true,"default":true},"service_plan_id":{"type":"TypeString","optional":true},"site_config":{"type":"TypeList","required":true,"elem":{"schema":{"always_on":{"type":"TypeBool","optional":true,"default":true},"api_definition_url":{"type":"TypeString","optional":true},"api_management_api_id":{"type":"TypeString","optional":true},"app_command_line":{"type":"TypeString","optional":true},"application_stack":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"docker_image_name":{"type":"TypeString","optional":true},"docker_registry_password":{"type":"TypeString","optional":true},"docker_registry_url":{"type":"TypeString","optional":true},"docker_registry_username":{"type":"TypeString","optional":true},"dotnet_version":{"type":"TypeString","optional":true},"go_version":{"type":"TypeString","optional":true},"java_server":{"type":"TypeString","optional":true},"java_server_version":{"type":"TypeString","optional":true},"java_version":{"type":"TypeString","optional":true},"node_version":{"type":"TypeString","optional":true},"php_version":{"type":"TypeString","optional":true},"python_version":{"type":"TypeString","optional":true},"ruby_version":{"type":"TypeString","optional":true}}},"maxItems":1},"auto_heal_setting":{"type":"TypeList","optional":true,"elem":{"schema":{"action":{"type":"TypeList","optional":true,"elem":{"schema":{"action_type":{"type":"TypeString","required":true},"minimum_process_execution_time":{"type":"TypeString","optional":true,"computed":true}}},"maxItems":1},"trigger":{"type":"TypeList","optional":true,"elem":{"schema":{"requests":{"type":"TypeList","optional":true,"elem":{"schema":{"count":{"type":"TypeInt","required":true},"interval":{"type":"TypeString","required":true}}},"maxItems":1},"slow_request":{"type":"TypeList","optional":true,"elem":{"schema":{"count":{"type":"TypeInt","required":true},"interval":{"type":"TypeString","required":true},"time_taken":{"type":"TypeString","required":true}}},"maxItems":1},"slow_request_with_path":{"type":"TypeList","optional":true,"elem":{"schema":{"count":{"type":"TypeInt","required":true},"interval":{"type":"TypeString","required":true},"path":{"type":"TypeString","optional":true},"time_taken":{"type":"TypeString","required":true}}}},"status_code":{"type":"TypeSet","optional":true,"elem":{"schema":{"count":{"type":"TypeInt","required":true},"interval":{"type":"TypeString","required":true},"path":{"type":"TypeString","optional":true},"status_code_range":{"type":"TypeString","required":true},"sub_status":{"type":"TypeInt","optional":true},"win32_status_code":{"type":"TypeInt","optional":true}}}}}},"maxItems":1}}},"maxItems":1},"auto_swap_slot_name":{"type":"TypeString","optional":true},"container_registry_managed_identity_client_id":{"type":"TypeString","optional":true},"container_registry_use_managed_identity":{"type":"TypeBool","optional":true,"default":false},"cors":{"type":"TypeList","optional":true,"elem":{"schema":{"allowed_origins":{"type":"TypeSet","optional":true,"description":"Specifies a list of origins that should be allowed to make cross-origin calls.","elem":{"type":"TypeString"},"minItems":1},"support_credentials":{"type":"TypeBool","optional":true,"default":false,"description":"Are credentials allowed in CORS requests? Defaults to `false`."}}},"maxItems":1},"default_documents":{"type":"TypeList","optional":true,"computed":true,"elem":{"type":"TypeString"}},"detailed_error_logging_enabled":{"type":"TypeBool","computed":true},"ftps_state":{"type":"TypeString","optional":true,"default":"Disabled"},"health_check_eviction_time_in_min":{"type":"TypeInt","optional":true,"description":"The amount of time in minutes that a node is unhealthy before being removed from the load balancer. Possible values are between `2` and `10`. Only valid in conjunction with `health_check_path`"},"health_check_path":{"type":"TypeString","optional":true},"http2_enabled":{"type":"TypeBool","optional":true,"default":false},"ip_restriction":{"type":"TypeList","optional":true,"elem":{"schema":{"action":{"type":"TypeString","optional":true,"default":"Allow","description":"The action to take. Possible values are `Allow` or `Deny`."},"description":{"type":"TypeString","optional":true,"description":"The description of the IP restriction rule."},"headers":{"type":"TypeList","configMode":"Auto","optional":true,"elem":{"schema":{"x_azure_fdid":{"type":"TypeList","optional":true,"description":"Specifies a list of Azure Front Door IDs.","elem":{"type":"TypeString"},"maxItems":8},"x_fd_health_probe":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"maxItems":1},"x_forwarded_for":{"type":"TypeList","optional":true,"description":"Specifies a list of addresses for which matching should be applied. Omitting this value means allow any.","elem":{"type":"TypeString"},"maxItems":8},"x_forwarded_host":{"type":"TypeList","optional":true,"description":"Specifies a list of Hosts for which matching should be applied.","elem":{"type":"TypeString"},"maxItems":8}}},"maxItems":1},"ip_address":{"type":"TypeString","optional":true,"description":"The CIDR notation of the IP or IP Range to match. For example: `10.0.0.0/24` or `192.168.10.1/32` or `fe80::/64` or `13.107.6.152/31,13.107.128.0/22`"},"name":{"type":"TypeString","optional":true,"description":"The name which should be used for this `ip_restriction`.","computed":true},"priority":{"type":"TypeInt","optional":true,"default":65000,"description":"The priority value of this `ip_restriction`."},"service_tag":{"type":"TypeString","optional":true,"description":"The Service Tag used for this IP Restriction."},"virtual_network_subnet_id":{"type":"TypeString","optional":true,"description":"The Virtual Network Subnet ID used for this IP Restriction."}}}},"ip_restriction_default_action":{"type":"TypeString","optional":true,"default":"Allow"},"linux_fx_version":{"type":"TypeString","computed":true},"load_balancing_mode":{"type":"TypeString","optional":true,"default":"LeastRequests"},"local_mysql_enabled":{"type":"TypeBool","optional":true,"default":false},"managed_pipeline_mode":{"type":"TypeString","optional":true,"default":"Integrated"},"minimum_tls_version":{"type":"TypeString","optional":true,"default":"1.2"},"remote_debugging_enabled":{"type":"TypeBool","optional":true,"default":false},"remote_debugging_version":{"type":"TypeString","optional":true,"computed":true},"scm_ip_restriction":{"type":"TypeList","optional":true,"elem":{"schema":{"action":{"type":"TypeString","optional":true,"default":"Allow","description":"The action to take. Possible values are `Allow` or `Deny`."},"description":{"type":"TypeString","optional":true,"description":"The description of the IP restriction rule."},"headers":{"type":"TypeList","configMode":"Auto","optional":true,"elem":{"schema":{"x_azure_fdid":{"type":"TypeList","optional":true,"description":"Specifies a list of Azure Front Door IDs.","elem":{"type":"TypeString"},"maxItems":8},"x_fd_health_probe":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"maxItems":1},"x_forwarded_for":{"type":"TypeList","optional":true,"description":"Specifies a list of addresses for which matching should be applied. Omitting this value means allow any.","elem":{"type":"TypeString"},"maxItems":8},"x_forwarded_host":{"type":"TypeList","optional":true,"description":"Specifies a list of Hosts for which matching should be applied.","elem":{"type":"TypeString"},"maxItems":8}}},"maxItems":1},"ip_address":{"type":"TypeString","optional":true,"description":"The CIDR notation of the IP or IP Range to match. For example: `10.0.0.0/24` or `192.168.10.1/32` or `fe80::/64` or `13.107.6.152/31,13.107.128.0/22`"},"name":{"type":"TypeString","optional":true,"description":"The name which should be used for this `ip_restriction`.","computed":true},"priority":{"type":"TypeInt","optional":true,"default":65000,"description":"The priority value of this `ip_restriction`."},"service_tag":{"type":"TypeString","optional":true,"description":"The Service Tag used for this IP Restriction."},"virtual_network_subnet_id":{"type":"TypeString","optional":true,"description":"The Virtual Network Subnet ID used for this IP Restriction."}}}},"scm_ip_restriction_default_action":{"type":"TypeString","optional":true,"default":"Allow"},"scm_minimum_tls_version":{"type":"TypeString","optional":true,"default":"1.2"},"scm_type":{"type":"TypeString","computed":true},"scm_use_main_ip_restriction":{"type":"TypeBool","optional":true,"default":false},"use_32_bit_worker":{"type":"TypeBool","optional":true,"default":true},"vnet_route_all_enabled":{"type":"TypeBool","optional":true,"default":false,"description":"Should all outbound traffic to have Virtual Network Security Groups and User Defined Routes applied? Defaults to `false`."},"websockets_enabled":{"type":"TypeBool","optional":true,"default":false},"worker_count":{"type":"TypeInt","optional":true,"computed":true}}},"maxItems":1},"site_credential":{"type":"TypeList","computed":true,"elem":{"schema":{"name":{"type":"TypeString","description":"The Site Credentials Username used for publishing.","computed":true},"password":{"type":"TypeString","description":"The Site Credentials Password used for publishing.","computed":true}}}},"storage_account":{"type":"TypeSet","optional":true,"elem":{"schema":{"access_key":{"type":"TypeString","required":true},"account_name":{"type":"TypeString","required":true},"mount_path":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true},"share_name":{"type":"TypeString","required":true},"type":{"type":"TypeString","required":true}}}},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"virtual_network_subnet_id":{"type":"TypeString","optional":true},"webdeploy_publish_basic_authentication_enabled":{"type":"TypeBool","optional":true,"default":true},"zip_deploy_file":{"type":"TypeString","optional":true,"description":"The local path and filename of the Zip packaged application to deploy to this Windows Web App. **Note:** Using this value requires `WEBSITE_RUN_FROM_PACKAGE=1` on the App in `app_settings`.","computed":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_load_test":{"schema":{"data_plane_uri":{"type":"TypeString","computed":true},"description":{"type":"TypeString","optional":true},"encryption":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"identity":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"identity_id":{"type":"TypeString","required":true,"forceNew":true},"type":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"key_url":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_local_network_gateway":{"schema":{"address_space":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"bgp_settings":{"type":"TypeList","optional":true,"elem":{"schema":{"asn":{"type":"TypeInt","required":true},"bgp_peering_address":{"type":"TypeString","required":true},"peer_weight":{"type":"TypeInt","optional":true}}},"maxItems":1},"gateway_address":{"type":"TypeString","optional":true},"gateway_fqdn":{"type":"TypeString","optional":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_log_analytics_cluster":{"schema":{"cluster_id":{"type":"TypeString","computed":true},"identity":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"size_gb":{"type":"TypeInt","optional":true,"default":100},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":360,"read":5,"delete":30,"update":360}},"azurerm_log_analytics_cluster_customer_managed_key":{"schema":{"key_vault_key_id":{"type":"TypeString","required":true},"log_analytics_cluster_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":360,"read":5,"delete":30,"update":360}},"azurerm_log_analytics_data_export_rule":{"schema":{"destination_resource_id":{"type":"TypeString","required":true},"enabled":{"type":"TypeBool","optional":true,"default":false},"export_rule_id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"table_names":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"},"minItems":1},"workspace_resource_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_log_analytics_datasource_windows_event":{"schema":{"event_log_name":{"type":"TypeString","required":true},"event_types":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"},"minItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"workspace_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_log_analytics_datasource_windows_performance_counter":{"schema":{"counter_name":{"type":"TypeString","required":true},"instance_name":{"type":"TypeString","required":true},"interval_seconds":{"type":"TypeInt","required":true},"name":{"type":"TypeString","required":true,"forceNew":true},"object_name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"workspace_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_log_analytics_linked_service":{"schema":{"name":{"type":"TypeString","computed":true},"read_access_id":{"type":"TypeString","optional":true,"computed":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"workspace_id":{"type":"TypeString","required":true},"write_access_id":{"type":"TypeString","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_log_analytics_linked_storage_account":{"schema":{"data_source_type":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"storage_account_ids":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"},"minItems":1},"workspace_resource_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_log_analytics_query_pack":{"schema":{"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_log_analytics_query_pack_query":{"schema":{"additional_settings_json":{"type":"TypeString","optional":true},"body":{"type":"TypeString","required":true},"categories":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"description":{"type":"TypeString","optional":true},"display_name":{"type":"TypeString","required":true},"name":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"query_pack_id":{"type":"TypeString","required":true,"forceNew":true},"resource_types":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"solutions":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_log_analytics_saved_search":{"schema":{"category":{"type":"TypeString","required":true,"forceNew":true},"display_name":{"type":"TypeString","required":true,"forceNew":true},"function_alias":{"type":"TypeString","optional":true,"forceNew":true},"function_parameters":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"log_analytics_workspace_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"query":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"forceNew":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_log_analytics_solution":{"schema":{"location":{"type":"TypeString","required":true,"forceNew":true},"plan":{"type":"TypeList","required":true,"elem":{"schema":{"name":{"type":"TypeString","computed":true},"product":{"type":"TypeString","required":true,"forceNew":true},"promotion_code":{"type":"TypeString","optional":true,"forceNew":true},"publisher":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"solution_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"workspace_name":{"type":"TypeString","required":true,"forceNew":true},"workspace_resource_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_log_analytics_storage_insights":{"schema":{"blob_container_names":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"storage_account_id":{"type":"TypeString","required":true},"storage_account_key":{"type":"TypeString","required":true},"table_names":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"minItems":1},"workspace_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_log_analytics_workspace":{"schema":{"allow_resource_only_permissions":{"type":"TypeBool","optional":true,"default":true},"cmk_for_query_forced":{"type":"TypeBool","optional":true},"daily_quota_gb":{"type":"TypeFloat","optional":true,"default":-1},"data_collection_rule_id":{"type":"TypeString","optional":true},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"immediate_data_purge_on_30_days_enabled":{"type":"TypeBool","optional":true},"internet_ingestion_enabled":{"type":"TypeBool","optional":true,"default":true},"internet_query_enabled":{"type":"TypeBool","optional":true,"default":true},"local_authentication_disabled":{"type":"TypeBool","optional":true,"default":false},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"primary_shared_key":{"type":"TypeString","computed":true},"reservation_capacity_in_gb_per_day":{"type":"TypeInt","optional":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"retention_in_days":{"type":"TypeInt","optional":true,"computed":true},"secondary_shared_key":{"type":"TypeString","computed":true},"sku":{"type":"TypeString","optional":true,"computed":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"workspace_id":{"type":"TypeString","computed":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_log_analytics_workspace_table":{"schema":{"name":{"type":"TypeString","required":true},"plan":{"type":"TypeString","optional":true,"default":"Analytics"},"retention_in_days":{"type":"TypeInt","optional":true},"total_retention_in_days":{"type":"TypeInt","optional":true},"workspace_id":{"type":"TypeString","required":true}},"timeouts":{"create":5,"read":5,"delete":30,"update":5}},"azurerm_logic_app_action_custom":{"schema":{"body":{"type":"TypeString","required":true},"logic_app_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_logic_app_action_http":{"schema":{"body":{"type":"TypeString","optional":true},"headers":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"logic_app_id":{"type":"TypeString","required":true,"forceNew":true},"method":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true,"forceNew":true},"queries":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"run_after":{"type":"TypeSet","optional":true,"elem":{"schema":{"action_name":{"type":"TypeString","required":true},"action_result":{"type":"TypeString","required":true}}},"minItems":1},"uri":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_logic_app_integration_account":{"schema":{"integration_service_environment_id":{"type":"TypeString","optional":true,"forceNew":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"sku_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_logic_app_integration_account_agreement":{"schema":{"agreement_type":{"type":"TypeString","required":true},"content":{"type":"TypeString","required":true},"guest_identity":{"type":"TypeList","required":true,"elem":{"schema":{"qualifier":{"type":"TypeString","required":true},"value":{"type":"TypeString","required":true}}},"maxItems":1},"guest_partner_name":{"type":"TypeString","required":true},"host_identity":{"type":"TypeList","required":true,"elem":{"schema":{"qualifier":{"type":"TypeString","required":true},"value":{"type":"TypeString","required":true}}},"maxItems":1},"host_partner_name":{"type":"TypeString","required":true},"integration_account_name":{"type":"TypeString","required":true,"forceNew":true},"metadata":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_logic_app_integration_account_assembly":{"schema":{"assembly_name":{"type":"TypeString","required":true},"assembly_version":{"type":"TypeString","optional":true,"default":"0.0.0.0"},"content":{"type":"TypeString","optional":true},"content_link_uri":{"type":"TypeString","optional":true},"integration_account_name":{"type":"TypeString","required":true,"forceNew":true},"metadata":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_logic_app_integration_account_batch_configuration":{"schema":{"batch_group_name":{"type":"TypeString","required":true,"forceNew":true},"integration_account_name":{"type":"TypeString","required":true,"forceNew":true},"metadata":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true,"forceNew":true},"release_criteria":{"type":"TypeList","required":true,"elem":{"schema":{"batch_size":{"type":"TypeInt","optional":true},"message_count":{"type":"TypeInt","optional":true},"recurrence":{"type":"TypeList","optional":true,"elem":{"schema":{"end_time":{"type":"TypeString","optional":true},"frequency":{"type":"TypeString","required":true},"interval":{"type":"TypeInt","required":true},"schedule":{"type":"TypeList","optional":true,"elem":{"schema":{"hours":{"type":"TypeSet","optional":true,"elem":{"type":"TypeInt"}},"minutes":{"type":"TypeSet","optional":true,"elem":{"type":"TypeInt"}},"month_days":{"type":"TypeSet","optional":true,"elem":{"type":"TypeInt"}},"monthly":{"type":"TypeSet","optional":true,"elem":{"schema":{"week":{"type":"TypeInt","required":true},"weekday":{"type":"TypeString","required":true}}}},"week_days":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"start_time":{"type":"TypeString","optional":true},"time_zone":{"type":"TypeString","optional":true}}},"maxItems":1}}},"maxItems":1},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_logic_app_integration_account_certificate":{"schema":{"integration_account_name":{"type":"TypeString","required":true,"forceNew":true},"key_vault_key":{"type":"TypeList","optional":true,"elem":{"schema":{"key_name":{"type":"TypeString","required":true},"key_vault_id":{"type":"TypeString","required":true},"key_version":{"type":"TypeString","optional":true}}},"maxItems":1},"metadata":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"public_certificate":{"type":"TypeString","optional":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_logic_app_integration_account_map":{"schema":{"content":{"type":"TypeString","required":true},"integration_account_name":{"type":"TypeString","required":true,"forceNew":true},"map_type":{"type":"TypeString","required":true},"metadata":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_logic_app_integration_account_partner":{"schema":{"business_identity":{"type":"TypeSet","required":true,"elem":{"schema":{"qualifier":{"type":"TypeString","required":true},"value":{"type":"TypeString","required":true}}}},"integration_account_name":{"type":"TypeString","required":true,"forceNew":true},"metadata":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_logic_app_integration_account_schema":{"schema":{"content":{"type":"TypeString","required":true},"file_name":{"type":"TypeString","optional":true},"integration_account_name":{"type":"TypeString","required":true,"forceNew":true},"metadata":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_logic_app_integration_account_session":{"schema":{"content":{"type":"TypeString","required":true},"integration_account_name":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_logic_app_standard":{"schema":{"app_service_plan_id":{"type":"TypeString","required":true},"app_settings":{"type":"TypeMap","optional":true,"computed":true,"elem":{"type":"TypeString"}},"bundle_version":{"type":"TypeString","optional":true,"default":"[1.*, 2.0.0)"},"client_affinity_enabled":{"type":"TypeBool","optional":true,"computed":true},"client_certificate_mode":{"type":"TypeString","optional":true},"connection_string":{"type":"TypeSet","optional":true,"computed":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"type":{"type":"TypeString","required":true},"value":{"type":"TypeString","required":true}}}},"custom_domain_verification_id":{"type":"TypeString","computed":true},"default_hostname":{"type":"TypeString","computed":true},"enabled":{"type":"TypeBool","optional":true,"default":true},"https_only":{"type":"TypeBool","optional":true,"default":false},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"kind":{"type":"TypeString","computed":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"outbound_ip_addresses":{"type":"TypeString","computed":true},"possible_outbound_ip_addresses":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"site_config":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"always_on":{"type":"TypeBool","optional":true,"default":false},"app_scale_limit":{"type":"TypeInt","optional":true,"computed":true},"auto_swap_slot_name":{"type":"TypeString","computed":true},"cors":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"allowed_origins":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}},"support_credentials":{"type":"TypeBool","optional":true,"default":false}}},"maxItems":1},"dotnet_framework_version":{"type":"TypeString","optional":true,"default":"v4.0"},"elastic_instance_minimum":{"type":"TypeInt","optional":true,"computed":true},"ftps_state":{"type":"TypeString","optional":true,"computed":true},"health_check_path":{"type":"TypeString","optional":true},"http2_enabled":{"type":"TypeBool","optional":true,"default":false},"ip_restriction":{"type":"TypeList","configMode":"Auto","optional":true,"computed":true,"elem":{"schema":{"action":{"type":"TypeString","optional":true,"default":"Allow"},"headers":{"type":"TypeList","configMode":"Auto","optional":true,"computed":true,"elem":{"schema":{"x_azure_fdid":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":8},"x_fd_health_probe":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":1},"x_forwarded_for":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":8},"x_forwarded_host":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":8}}},"maxItems":1},"ip_address":{"type":"TypeString","optional":true},"name":{"type":"TypeString","optional":true,"computed":true},"priority":{"type":"TypeInt","optional":true,"default":65000},"service_tag":{"type":"TypeString","optional":true},"virtual_network_subnet_id":{"type":"TypeString","optional":true}}}},"linux_fx_version":{"type":"TypeString","optional":true,"computed":true},"min_tls_version":{"type":"TypeString","optional":true,"computed":true},"pre_warmed_instance_count":{"type":"TypeInt","optional":true,"computed":true},"public_network_access_enabled":{"type":"TypeBool","optional":true,"default":true},"runtime_scale_monitoring_enabled":{"type":"TypeBool","optional":true,"default":false},"scm_ip_restriction":{"type":"TypeList","configMode":"Auto","optional":true,"computed":true,"elem":{"schema":{"action":{"type":"TypeString","optional":true,"default":"Allow"},"headers":{"type":"TypeList","configMode":"Auto","optional":true,"computed":true,"elem":{"schema":{"x_azure_fdid":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":8},"x_fd_health_probe":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":1},"x_forwarded_for":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":8},"x_forwarded_host":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":8}}},"maxItems":1},"ip_address":{"type":"TypeString","optional":true},"name":{"type":"TypeString","optional":true,"computed":true},"priority":{"type":"TypeInt","optional":true,"default":65000},"service_tag":{"type":"TypeString","optional":true},"virtual_network_subnet_id":{"type":"TypeString","optional":true}}}},"scm_min_tls_version":{"type":"TypeString","optional":true,"computed":true},"scm_type":{"type":"TypeString","optional":true,"computed":true},"scm_use_main_ip_restriction":{"type":"TypeBool","optional":true,"default":false},"use_32_bit_worker_process":{"type":"TypeBool","optional":true,"default":true},"vnet_route_all_enabled":{"type":"TypeBool","optional":true,"computed":true},"websockets_enabled":{"type":"TypeBool","optional":true,"default":false}}},"maxItems":1},"site_credential":{"type":"TypeList","computed":true,"elem":{"schema":{"password":{"type":"TypeString","computed":true},"username":{"type":"TypeString","computed":true}}}},"storage_account_access_key":{"type":"TypeString","required":true},"storage_account_name":{"type":"TypeString","required":true,"forceNew":true},"storage_account_share_name":{"type":"TypeString","optional":true,"computed":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"use_extension_bundle":{"type":"TypeBool","optional":true,"default":true},"version":{"type":"TypeString","optional":true,"default":"~4"},"virtual_network_subnet_id":{"type":"TypeString","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_logic_app_trigger_custom":{"schema":{"body":{"type":"TypeString","required":true},"callback_url":{"type":"TypeString","computed":true},"logic_app_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_logic_app_trigger_http_request":{"schema":{"callback_url":{"type":"TypeString","computed":true},"logic_app_id":{"type":"TypeString","required":true,"forceNew":true},"method":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"relative_path":{"type":"TypeString","optional":true},"schema":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_logic_app_trigger_recurrence":{"schema":{"frequency":{"type":"TypeString","required":true},"interval":{"type":"TypeInt","required":true},"logic_app_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"schedule":{"type":"TypeList","optional":true,"elem":{"schema":{"at_these_hours":{"type":"TypeSet","optional":true,"elem":{"type":"TypeInt"}},"at_these_minutes":{"type":"TypeSet","optional":true,"elem":{"type":"TypeInt"}},"on_these_days":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"start_time":{"type":"TypeString","optional":true},"time_zone":{"type":"TypeString","optional":true,"computed":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_logic_app_workflow":{"schema":{"access_control":{"type":"TypeList","optional":true,"elem":{"schema":{"action":{"type":"TypeList","optional":true,"elem":{"schema":{"allowed_caller_ip_address_range":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"content":{"type":"TypeList","optional":true,"elem":{"schema":{"allowed_caller_ip_address_range":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"trigger":{"type":"TypeList","optional":true,"elem":{"schema":{"allowed_caller_ip_address_range":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}},"open_authentication_policy":{"type":"TypeSet","optional":true,"elem":{"schema":{"claim":{"type":"TypeSet","required":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"value":{"type":"TypeString","required":true}}}},"name":{"type":"TypeString","required":true}}}}}},"maxItems":1},"workflow_management":{"type":"TypeList","optional":true,"elem":{"schema":{"allowed_caller_ip_address_range":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}}}},"maxItems":1}}},"maxItems":1},"access_endpoint":{"type":"TypeString","computed":true},"connector_endpoint_ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"connector_outbound_ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"enabled":{"type":"TypeBool","optional":true,"default":true},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"integration_service_environment_id":{"type":"TypeString","optional":true,"forceNew":true},"location":{"type":"TypeString","required":true,"forceNew":true},"logic_app_integration_account_id":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"workflow_endpoint_ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"workflow_outbound_ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"workflow_parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"workflow_schema":{"type":"TypeString","optional":true,"default":"https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#","forceNew":true},"workflow_version":{"type":"TypeString","optional":true,"default":"1.0.0.0","forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_machine_learning_compute_cluster":{"schema":{"description":{"type":"TypeString","optional":true,"forceNew":true},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"local_auth_enabled":{"type":"TypeBool","optional":true,"default":true,"forceNew":true},"location":{"type":"TypeString","required":true,"forceNew":true},"machine_learning_workspace_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"node_public_ip_enabled":{"type":"TypeBool","optional":true,"default":true,"forceNew":true},"scale_settings":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"max_node_count":{"type":"TypeInt","required":true,"forceNew":true},"min_node_count":{"type":"TypeInt","required":true,"forceNew":true},"scale_down_nodes_after_idle_duration":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"ssh":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"admin_password":{"type":"TypeString","optional":true,"forceNew":true},"admin_username":{"type":"TypeString","required":true,"forceNew":true},"key_value":{"type":"TypeString","optional":true,"forceNew":true}}},"maxItems":1},"ssh_public_access_enabled":{"type":"TypeBool","optional":true,"default":false,"forceNew":true},"subnet_resource_id":{"type":"TypeString","optional":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"vm_priority":{"type":"TypeString","required":true,"forceNew":true},"vm_size":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_machine_learning_compute_instance":{"schema":{"assign_to_user":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"object_id":{"type":"TypeString","optional":true},"tenant_id":{"type":"TypeString","optional":true}}},"maxItems":1},"authorization_type":{"type":"TypeString","optional":true,"forceNew":true},"description":{"type":"TypeString","optional":true,"forceNew":true},"identity":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"local_auth_enabled":{"type":"TypeBool","optional":true,"default":true,"forceNew":true},"machine_learning_workspace_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"node_public_ip_enabled":{"type":"TypeBool","optional":true,"default":true,"forceNew":true},"ssh":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"port":{"type":"TypeInt","computed":true},"public_key":{"type":"TypeString","required":true},"username":{"type":"TypeString","computed":true}}},"maxItems":1},"subnet_resource_id":{"type":"TypeString","optional":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"virtual_machine_size":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_machine_learning_datastore_blobstorage":{"schema":{"account_key":{"type":"TypeString","optional":true},"description":{"type":"TypeString","optional":true,"forceNew":true},"is_default":{"type":"TypeBool","optional":true,"default":false},"name":{"type":"TypeString","required":true,"forceNew":true},"service_data_auth_identity":{"type":"TypeString","optional":true,"default":"None"},"shared_access_signature":{"type":"TypeString","optional":true},"storage_container_id":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"workspace_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_machine_learning_datastore_datalake_gen2":{"schema":{"authority_url":{"type":"TypeString","optional":true},"client_id":{"type":"TypeString","optional":true},"client_secret":{"type":"TypeString","optional":true},"description":{"type":"TypeString","optional":true,"forceNew":true},"is_default":{"type":"TypeBool","computed":true},"name":{"type":"TypeString","required":true,"forceNew":true},"service_data_identity":{"type":"TypeString","optional":true,"default":"None"},"storage_container_id":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"tenant_id":{"type":"TypeString","optional":true},"workspace_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_machine_learning_datastore_fileshare":{"schema":{"account_key":{"type":"TypeString","optional":true},"description":{"type":"TypeString","optional":true,"forceNew":true},"is_default":{"type":"TypeBool","computed":true},"name":{"type":"TypeString","required":true,"forceNew":true},"service_data_identity":{"type":"TypeString","optional":true,"default":"None"},"shared_access_signature":{"type":"TypeString","optional":true},"storage_fileshare_id":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"workspace_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_machine_learning_inference_cluster":{"schema":{"cluster_purpose":{"type":"TypeString","optional":true,"default":"FastProd","forceNew":true},"description":{"type":"TypeString","optional":true,"forceNew":true},"identity":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"kubernetes_cluster_id":{"type":"TypeString","required":true,"forceNew":true},"location":{"type":"TypeString","required":true,"forceNew":true},"machine_learning_workspace_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"ssl":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"cert":{"type":"TypeString","optional":true,"default":"","forceNew":true},"cname":{"type":"TypeString","optional":true,"default":"","forceNew":true},"key":{"type":"TypeString","optional":true,"default":"","forceNew":true},"leaf_domain_label":{"type":"TypeString","optional":true,"default":"","forceNew":true},"overwrite_existing_domain":{"type":"TypeBool","optional":true,"default":"","forceNew":true}}},"maxItems":1},"tags":{"type":"TypeMap","optional":true,"forceNew":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_machine_learning_synapse_spark":{"schema":{"description":{"type":"TypeString","optional":true,"forceNew":true},"identity":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"local_auth_enabled":{"type":"TypeBool","optional":true,"default":true,"forceNew":true},"location":{"type":"TypeString","required":true,"forceNew":true},"machine_learning_workspace_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"synapse_spark_pool_id":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"forceNew":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_machine_learning_workspace":{"schema":{"application_insights_id":{"type":"TypeString","required":true,"forceNew":true},"container_registry_id":{"type":"TypeString","optional":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"discovery_url":{"type":"TypeString","computed":true},"encryption":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"key_id":{"type":"TypeString","required":true},"key_vault_id":{"type":"TypeString","required":true},"user_assigned_identity_id":{"type":"TypeString","optional":true}}},"maxItems":1},"feature_store":{"type":"TypeList","optional":true,"elem":{"schema":{"computer_spark_runtime_version":{"type":"TypeString","optional":true},"offline_connection_name":{"type":"TypeString","optional":true},"online_connection_name":{"type":"TypeString","optional":true}}},"maxItems":1},"friendly_name":{"type":"TypeString","optional":true},"high_business_impact":{"type":"TypeBool","optional":true,"forceNew":true},"identity":{"type":"TypeList","required":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"image_build_compute_name":{"type":"TypeString","optional":true},"key_vault_id":{"type":"TypeString","required":true,"forceNew":true},"kind":{"type":"TypeString","optional":true,"default":"Default"},"location":{"type":"TypeString","required":true,"forceNew":true},"managed_network":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"isolation_mode":{"type":"TypeString","optional":true,"computed":true}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"primary_user_assigned_identity":{"type":"TypeString","optional":true},"public_network_access_enabled":{"type":"TypeBool","optional":true,"default":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"serverless_compute":{"type":"TypeList","optional":true,"elem":{"schema":{"public_ip_enabled":{"type":"TypeBool","optional":true,"default":false},"subnet_id":{"type":"TypeString","optional":true}}},"maxItems":1},"sku_name":{"type":"TypeString","optional":true,"default":"Basic"},"storage_account_id":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"v1_legacy_mode_enabled":{"type":"TypeBool","optional":true,"default":false},"workspace_id":{"type":"TypeString","computed":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_machine_learning_workspace_network_outbound_rule_fqdn":{"schema":{"destination_fqdn":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true,"forceNew":true},"workspace_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_maintenance_assignment_dedicated_host":{"schema":{"dedicated_host_id":{"type":"TypeString","required":true,"forceNew":true},"location":{"type":"TypeString","required":true,"forceNew":true},"maintenance_configuration_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_maintenance_assignment_dynamic_scope":{"schema":{"filter":{"type":"TypeList","required":true,"elem":{"schema":{"locations":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"os_types":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"resource_groups":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"resource_types":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"tag_filter":{"type":"TypeString","optional":true,"default":"Any"},"tags":{"type":"TypeList","optional":true,"elem":{"schema":{"tag":{"type":"TypeString","required":true},"values":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}}}}}}},"maxItems":1},"maintenance_configuration_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":10,"update":30}},"azurerm_maintenance_assignment_virtual_machine":{"schema":{"location":{"type":"TypeString","required":true,"forceNew":true},"maintenance_configuration_id":{"type":"TypeString","required":true,"forceNew":true},"virtual_machine_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_maintenance_assignment_virtual_machine_scale_set":{"schema":{"location":{"type":"TypeString","required":true,"forceNew":true},"maintenance_configuration_id":{"type":"TypeString","required":true,"forceNew":true},"virtual_machine_scale_set_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_maintenance_configuration":{"schema":{"in_guest_user_patch_mode":{"type":"TypeString","optional":true},"install_patches":{"type":"TypeList","optional":true,"elem":{"schema":{"linux":{"type":"TypeList","optional":true,"elem":{"schema":{"classifications_to_include":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"package_names_mask_to_exclude":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"package_names_mask_to_include":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}}}},"minItems":1},"reboot":{"type":"TypeString","optional":true},"windows":{"type":"TypeList","optional":true,"elem":{"schema":{"classifications_to_include":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"kb_numbers_to_exclude":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"kb_numbers_to_include":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}}}},"minItems":1}}},"maxItems":1,"minItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"properties":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"scope":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"visibility":{"type":"TypeString","optional":true,"default":"Custom"},"window":{"type":"TypeList","optional":true,"elem":{"schema":{"duration":{"type":"TypeString","optional":true},"expiration_date_time":{"type":"TypeString","optional":true},"recur_every":{"type":"TypeString","optional":true},"start_date_time":{"type":"TypeString","required":true},"time_zone":{"type":"TypeString","required":true}}},"maxItems":1}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_managed_application":{"schema":{"application_definition_id":{"type":"TypeString","optional":true},"kind":{"type":"TypeString","required":true,"forceNew":true},"location":{"type":"TypeString","required":true,"forceNew":true},"managed_resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"outputs":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"parameter_values":{"type":"TypeString","optional":true,"computed":true},"plan":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"name":{"type":"TypeString","required":true,"forceNew":true},"product":{"type":"TypeString","required":true,"forceNew":true},"promotion_code":{"type":"TypeString","optional":true,"forceNew":true},"publisher":{"type":"TypeString","required":true,"forceNew":true},"version":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_managed_application_definition":{"schema":{"authorization":{"type":"TypeSet","optional":true,"elem":{"schema":{"role_definition_id":{"type":"TypeString","required":true},"service_principal_id":{"type":"TypeString","required":true}}},"minItems":1},"create_ui_definition":{"type":"TypeString","optional":true},"description":{"type":"TypeString","optional":true},"display_name":{"type":"TypeString","required":true},"location":{"type":"TypeString","required":true,"forceNew":true},"lock_level":{"type":"TypeString","required":true,"forceNew":true},"main_template":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"package_enabled":{"type":"TypeBool","optional":true,"default":true},"package_file_uri":{"type":"TypeString","optional":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_managed_disk":{"schema":{"create_option":{"type":"TypeString","required":true,"forceNew":true},"disk_access_id":{"type":"TypeString","optional":true},"disk_encryption_set_id":{"type":"TypeString","optional":true},"disk_iops_read_only":{"type":"TypeInt","optional":true,"computed":true},"disk_iops_read_write":{"type":"TypeInt","optional":true,"computed":true},"disk_mbps_read_only":{"type":"TypeInt","optional":true,"computed":true},"disk_mbps_read_write":{"type":"TypeInt","optional":true,"computed":true},"disk_size_gb":{"type":"TypeInt","optional":true,"computed":true},"edge_zone":{"type":"TypeString","optional":true,"forceNew":true},"encryption_settings":{"type":"TypeList","optional":true,"elem":{"schema":{"disk_encryption_key":{"type":"TypeList","required":true,"elem":{"schema":{"secret_url":{"type":"TypeString","required":true},"source_vault_id":{"type":"TypeString","required":true}}},"maxItems":1},"key_encryption_key":{"type":"TypeList","optional":true,"elem":{"schema":{"key_url":{"type":"TypeString","required":true},"source_vault_id":{"type":"TypeString","required":true}}},"maxItems":1}}},"maxItems":1},"gallery_image_reference_id":{"type":"TypeString","optional":true,"forceNew":true},"hyper_v_generation":{"type":"TypeString","optional":true,"forceNew":true},"image_reference_id":{"type":"TypeString","optional":true,"forceNew":true},"location":{"type":"TypeString","required":true,"forceNew":true},"logical_sector_size":{"type":"TypeInt","optional":true,"computed":true,"forceNew":true},"max_shares":{"type":"TypeInt","optional":true,"computed":true},"name":{"type":"TypeString","required":true,"forceNew":true},"network_access_policy":{"type":"TypeString","optional":true},"on_demand_bursting_enabled":{"type":"TypeBool","optional":true},"optimized_frequent_attach_enabled":{"type":"TypeBool","optional":true,"default":false},"os_type":{"type":"TypeString","optional":true},"performance_plus_enabled":{"type":"TypeBool","optional":true,"default":false,"forceNew":true},"public_network_access_enabled":{"type":"TypeBool","optional":true,"default":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"secure_vm_disk_encryption_set_id":{"type":"TypeString","optional":true,"forceNew":true},"security_type":{"type":"TypeString","optional":true,"forceNew":true},"source_resource_id":{"type":"TypeString","optional":true,"forceNew":true},"source_uri":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"storage_account_id":{"type":"TypeString","optional":true,"forceNew":true},"storage_account_type":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"tier":{"type":"TypeString","optional":true,"computed":true},"trusted_launch_enabled":{"type":"TypeBool","optional":true,"forceNew":true},"upload_size_bytes":{"type":"TypeInt","optional":true,"forceNew":true},"zone":{"type":"TypeString","optional":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_managed_disk_sas_token":{"schema":{"access_level":{"type":"TypeString","required":true,"forceNew":true},"duration_in_seconds":{"type":"TypeInt","required":true,"forceNew":true},"managed_disk_id":{"type":"TypeString","required":true,"forceNew":true},"sas_url":{"type":"TypeString","computed":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_managed_lustre_file_system":{"schema":{"encryption_key":{"type":"TypeList","optional":true,"elem":{"schema":{"key_url":{"type":"TypeString","required":true},"source_vault_id":{"type":"TypeString","required":true}}},"maxItems":1},"hsm_setting":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"container_id":{"type":"TypeString","required":true,"forceNew":true},"import_prefix":{"type":"TypeString","optional":true,"forceNew":true},"logging_container_id":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"identity":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","required":true,"forceNew":true,"elem":{"type":"TypeString"}},"type":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"maintenance_window":{"type":"TypeList","required":true,"elem":{"schema":{"day_of_week":{"type":"TypeString","required":true},"time_of_day_in_utc":{"type":"TypeString","required":true}}},"maxItems":1},"mgs_address":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"sku_name":{"type":"TypeString","required":true,"forceNew":true},"storage_capacity_in_tb":{"type":"TypeInt","required":true,"forceNew":true},"subnet_id":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"zones":{"type":"TypeSet","required":true,"forceNew":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_management_group":{"schema":{"display_name":{"type":"TypeString","optional":true,"computed":true},"name":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"parent_management_group_id":{"type":"TypeString","optional":true,"computed":true},"subscription_ids":{"type":"TypeSet","optional":true,"computed":true,"elem":{"type":"TypeString"}},"tenant_scoped_id":{"type":"TypeString","computed":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_management_group_policy_assignment":{"schema":{"description":{"type":"TypeString","optional":true},"display_name":{"type":"TypeString","optional":true},"enforce":{"type":"TypeBool","optional":true,"default":true},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"location":{"type":"TypeString","optional":true,"forceNew":true},"management_group_id":{"type":"TypeString","required":true,"forceNew":true},"metadata":{"type":"TypeString","optional":true,"computed":true},"name":{"type":"TypeString","required":true,"forceNew":true},"non_compliance_message":{"type":"TypeList","optional":true,"elem":{"schema":{"content":{"type":"TypeString","required":true},"policy_definition_reference_id":{"type":"TypeString","optional":true}}}},"not_scopes":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"overrides":{"type":"TypeList","optional":true,"elem":{"schema":{"selectors":{"type":"TypeList","optional":true,"elem":{"schema":{"in":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"kind":{"type":"TypeString","computed":true},"not_in":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}}}}},"value":{"type":"TypeString","required":true}}}},"parameters":{"type":"TypeString","optional":true},"policy_definition_id":{"type":"TypeString","required":true,"forceNew":true},"resource_selectors":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","optional":true},"selectors":{"type":"TypeList","required":true,"elem":{"schema":{"in":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"kind":{"type":"TypeString","required":true},"not_in":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}}}}}}}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_management_group_policy_exemption":{"schema":{"description":{"type":"TypeString","optional":true},"display_name":{"type":"TypeString","optional":true},"exemption_category":{"type":"TypeString","required":true},"expires_on":{"type":"TypeString","optional":true},"management_group_id":{"type":"TypeString","required":true,"forceNew":true},"metadata":{"type":"TypeString","optional":true,"computed":true},"name":{"type":"TypeString","required":true,"forceNew":true},"policy_assignment_id":{"type":"TypeString","required":true},"policy_definition_reference_ids":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_management_group_policy_remediation":{"schema":{"failure_percentage":{"type":"TypeFloat","optional":true},"location_filters":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"management_group_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"parallel_deployments":{"type":"TypeInt","optional":true},"policy_assignment_id":{"type":"TypeString","required":true},"policy_definition_reference_id":{"type":"TypeString","optional":true},"resource_count":{"type":"TypeInt","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_management_group_subscription_association":{"schema":{"management_group_id":{"type":"TypeString","required":true,"forceNew":true},"subscription_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":5,"read":5,"delete":5}},"azurerm_management_group_template_deployment":{"schema":{"debug_level":{"type":"TypeString","optional":true},"location":{"type":"TypeString","required":true,"forceNew":true},"management_group_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"output_content":{"type":"TypeString","computed":true},"parameters_content":{"type":"TypeString","optional":true,"computed":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"template_content":{"type":"TypeString","optional":true,"computed":true},"template_spec_version_id":{"type":"TypeString","optional":true}},"timeouts":{"create":180,"read":5,"delete":180,"update":180}},"azurerm_management_lock":{"schema":{"lock_level":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"notes":{"type":"TypeString","optional":true,"forceNew":true},"scope":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_maps_account":{"schema":{"cors":{"type":"TypeList","optional":true,"elem":{"schema":{"allowed_origins":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"minItems":1}}},"maxItems":1},"data_store":{"type":"TypeList","optional":true,"elem":{"schema":{"storage_account_id":{"type":"TypeString","optional":true},"unique_name":{"type":"TypeString","required":true}}}},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"local_authentication_enabled":{"type":"TypeBool","optional":true,"default":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"primary_access_key":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"secondary_access_key":{"type":"TypeString","computed":true},"sku_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"x_ms_client_id":{"type":"TypeString","computed":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_maps_creator":{"schema":{"location":{"type":"TypeString","required":true,"forceNew":true},"maps_account_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"storage_units":{"type":"TypeInt","required":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_marketplace_agreement":{"schema":{"license_text_link":{"type":"TypeString","computed":true},"offer":{"type":"TypeString","required":true,"forceNew":true},"plan":{"type":"TypeString","required":true,"forceNew":true},"privacy_policy_link":{"type":"TypeString","computed":true},"publisher":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_marketplace_role_assignment":{"schema":{"condition":{"type":"TypeString","optional":true,"forceNew":true},"condition_version":{"type":"TypeString","optional":true,"forceNew":true},"delegated_managed_identity_resource_id":{"type":"TypeString","optional":true,"forceNew":true},"description":{"type":"TypeString","optional":true,"forceNew":true},"name":{"type":"TypeString","optional":true,"forceNew":true},"principal_id":{"type":"TypeString","required":true,"forceNew":true},"principal_type":{"type":"TypeString","computed":true},"role_definition_id":{"type":"TypeString","optional":true,"forceNew":true},"role_definition_name":{"type":"TypeString","optional":true,"forceNew":true},"skip_service_principal_aad_check":{"type":"TypeBool","optional":true,"default":false,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_mobile_network":{"schema":{"location":{"type":"TypeString","required":true,"forceNew":true},"mobile_country_code":{"type":"TypeString","required":true,"forceNew":true},"mobile_network_code":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"service_key":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":180,"read":5,"delete":180,"update":180}},"azurerm_mobile_network_attached_data_network":{"schema":{"dns_addresses":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}},"location":{"type":"TypeString","required":true,"forceNew":true},"mobile_network_data_network_name":{"type":"TypeString","required":true,"forceNew":true},"mobile_network_packet_core_data_plane_id":{"type":"TypeString","required":true,"forceNew":true},"network_address_port_translation":{"type":"TypeList","optional":true,"elem":{"schema":{"icmp_pinhole_timeout_in_seconds":{"type":"TypeInt","optional":true,"default":180},"pinhole_maximum_number":{"type":"TypeInt","optional":true,"default":65536},"port_range":{"type":"TypeList","optional":true,"elem":{"schema":{"maximum":{"type":"TypeInt","optional":true,"default":49999},"minimum":{"type":"TypeInt","optional":true,"default":1024}}},"maxItems":1},"tcp_pinhole_timeout_in_seconds":{"type":"TypeInt","optional":true,"default":180},"tcp_port_reuse_minimum_hold_time_in_seconds":{"type":"TypeInt","optional":true,"default":120},"udp_pinhole_timeout_in_seconds":{"type":"TypeInt","optional":true,"default":180},"udp_port_reuse_minimum_hold_time_in_seconds":{"type":"TypeInt","optional":true,"default":60}}},"maxItems":1},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"user_equipment_address_pool_prefixes":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"user_equipment_static_address_pool_prefixes":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"user_plane_access_ipv4_address":{"type":"TypeString","optional":true},"user_plane_access_ipv4_gateway":{"type":"TypeString","optional":true},"user_plane_access_ipv4_subnet":{"type":"TypeString","optional":true},"user_plane_access_name":{"type":"TypeString","optional":true}},"timeouts":{"create":180,"read":5,"delete":180,"update":180}},"azurerm_mobile_network_data_network":{"schema":{"description":{"type":"TypeString","optional":true},"location":{"type":"TypeString","required":true,"forceNew":true},"mobile_network_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":180,"read":5,"delete":180,"update":30}},"azurerm_mobile_network_packet_core_control_plane":{"schema":{"control_plane_access_ipv4_address":{"type":"TypeString","optional":true},"control_plane_access_ipv4_gateway":{"type":"TypeString","optional":true},"control_plane_access_ipv4_subnet":{"type":"TypeString","optional":true},"control_plane_access_name":{"type":"TypeString","optional":true},"core_network_technology":{"type":"TypeString","optional":true},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}},"type":{"type":"TypeString","required":true}}},"maxItems":1},"interoperability_settings_json":{"type":"TypeString","optional":true},"local_diagnostics_access":{"type":"TypeList","required":true,"elem":{"schema":{"authentication_type":{"type":"TypeString","required":true},"https_server_certificate_url":{"type":"TypeString","optional":true}}},"maxItems":1,"minItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"platform":{"type":"TypeList","optional":true,"elem":{"schema":{"arc_kubernetes_cluster_id":{"type":"TypeString","optional":true},"custom_location_id":{"type":"TypeString","optional":true},"edge_device_id":{"type":"TypeString","optional":true},"stack_hci_cluster_id":{"type":"TypeString","optional":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"site_ids":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"minItems":1},"sku":{"type":"TypeString","required":true},"software_version":{"type":"TypeString","optional":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"user_equipment_mtu_in_bytes":{"type":"TypeInt","optional":true,"default":1440}},"timeouts":{"create":180,"read":5,"delete":180,"update":30}},"azurerm_mobile_network_packet_core_data_plane":{"schema":{"location":{"type":"TypeString","required":true,"forceNew":true},"mobile_network_packet_core_control_plane_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"user_plane_access_ipv4_address":{"type":"TypeString","optional":true},"user_plane_access_ipv4_gateway":{"type":"TypeString","optional":true},"user_plane_access_ipv4_subnet":{"type":"TypeString","optional":true},"user_plane_access_name":{"type":"TypeString","optional":true}},"timeouts":{"create":180,"read":5,"delete":180,"update":180}},"azurerm_mobile_network_service":{"schema":{"location":{"type":"TypeString","required":true,"forceNew":true},"mobile_network_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"pcc_rule":{"type":"TypeList","required":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"precedence":{"type":"TypeInt","required":true},"qos_policy":{"type":"TypeList","optional":true,"elem":{"schema":{"allocation_and_retention_priority_level":{"type":"TypeInt","optional":true},"guaranteed_bit_rate":{"type":"TypeList","optional":true,"elem":{"schema":{"downlink":{"type":"TypeString","required":true},"uplink":{"type":"TypeString","required":true}}},"maxItems":1},"maximum_bit_rate":{"type":"TypeList","required":true,"elem":{"schema":{"downlink":{"type":"TypeString","required":true},"uplink":{"type":"TypeString","required":true}}},"maxItems":1},"preemption_capability":{"type":"TypeString","optional":true,"default":"NotPreempt"},"preemption_vulnerability":{"type":"TypeString","optional":true,"default":"Preemptable"},"qos_indicator":{"type":"TypeInt","required":true}}},"maxItems":1},"service_data_flow_template":{"type":"TypeList","required":true,"elem":{"schema":{"direction":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true},"ports":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"protocol":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}},"remote_ip_list":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}}}}},"traffic_control_enabled":{"type":"TypeBool","optional":true,"default":true}}}},"service_precedence":{"type":"TypeInt","required":true},"service_qos_policy":{"type":"TypeList","optional":true,"elem":{"schema":{"allocation_and_retention_priority_level":{"type":"TypeInt","optional":true,"default":9},"maximum_bit_rate":{"type":"TypeList","required":true,"elem":{"schema":{"downlink":{"type":"TypeString","required":true},"uplink":{"type":"TypeString","required":true}}},"maxItems":1},"preemption_capability":{"type":"TypeString","optional":true},"preemption_vulnerability":{"type":"TypeString","optional":true},"qos_indicator":{"type":"TypeInt","optional":true}}},"maxItems":1},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":180,"read":5,"delete":180,"update":180}},"azurerm_mobile_network_sim":{"schema":{"authentication_key":{"type":"TypeString","required":true},"device_type":{"type":"TypeString","optional":true},"integrated_circuit_card_identifier":{"type":"TypeString","required":true,"forceNew":true},"international_mobile_subscriber_identity":{"type":"TypeString","required":true,"forceNew":true},"mobile_network_sim_group_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"operator_key_code":{"type":"TypeString","required":true},"sim_policy_id":{"type":"TypeString","optional":true},"sim_state":{"type":"TypeString","computed":true},"static_ip_configuration":{"type":"TypeList","optional":true,"elem":{"schema":{"attached_data_network_id":{"type":"TypeString","required":true},"slice_id":{"type":"TypeString","required":true},"static_ipv4_address":{"type":"TypeString","optional":true}}},"minItems":1},"vendor_key_fingerprint":{"type":"TypeString","computed":true},"vendor_name":{"type":"TypeString","computed":true}},"timeouts":{"create":90,"read":5,"delete":90,"update":90}},"azurerm_mobile_network_sim_group":{"schema":{"encryption_key_url":{"type":"TypeString","optional":true},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}},"type":{"type":"TypeString","required":true}}},"maxItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"mobile_network_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":180,"read":5,"delete":180,"update":180}},"azurerm_mobile_network_sim_policy":{"schema":{"default_slice_id":{"type":"TypeString","required":true},"location":{"type":"TypeString","required":true,"forceNew":true},"mobile_network_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"rat_frequency_selection_priority_index":{"type":"TypeInt","optional":true},"registration_timer_in_seconds":{"type":"TypeInt","optional":true,"default":3240},"slice":{"type":"TypeList","required":true,"elem":{"schema":{"data_network":{"type":"TypeList","required":true,"elem":{"schema":{"additional_allowed_session_types":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"allocation_and_retention_priority_level":{"type":"TypeInt","optional":true,"default":0},"allowed_services_ids":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}},"data_network_id":{"type":"TypeString","required":true},"default_session_type":{"type":"TypeString","optional":true,"default":"IPv4"},"max_buffered_packets":{"type":"TypeInt","optional":true,"default":10},"preemption_capability":{"type":"TypeString","optional":true,"default":"NotPreempt"},"preemption_vulnerability":{"type":"TypeString","optional":true,"default":"NotPreemptable"},"qos_indicator":{"type":"TypeInt","required":true},"session_aggregate_maximum_bit_rate":{"type":"TypeList","required":true,"elem":{"schema":{"downlink":{"type":"TypeString","required":true},"uplink":{"type":"TypeString","required":true}}},"maxItems":1}}}},"default_data_network_id":{"type":"TypeString","required":true},"slice_id":{"type":"TypeString","required":true}}},"minItems":1},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"user_equipment_aggregate_maximum_bit_rate":{"type":"TypeList","required":true,"elem":{"schema":{"downlink":{"type":"TypeString","required":true},"uplink":{"type":"TypeString","required":true}}},"maxItems":1}},"timeouts":{"create":180,"read":5,"delete":180,"update":60}},"azurerm_mobile_network_site":{"schema":{"location":{"type":"TypeString","required":true,"forceNew":true},"mobile_network_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"network_function_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":180,"read":5,"delete":180,"update":180}},"azurerm_mobile_network_slice":{"schema":{"description":{"type":"TypeString","optional":true},"location":{"type":"TypeString","required":true,"forceNew":true},"mobile_network_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"single_network_slice_selection_assistance_information":{"type":"TypeList","required":true,"elem":{"schema":{"slice_differentiator":{"type":"TypeString","optional":true},"slice_service_type":{"type":"TypeInt","required":true}}},"maxItems":1},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":180,"read":5,"delete":180,"update":180}},"azurerm_monitor_aad_diagnostic_setting":{"schema":{"enabled_log":{"type":"TypeSet","optional":true,"elem":{"schema":{"category":{"type":"TypeString","required":true},"retention_policy":{"type":"TypeList","required":true,"elem":{"schema":{"days":{"type":"TypeInt","optional":true,"default":0},"enabled":{"type":"TypeBool","optional":true,"default":false}}},"maxItems":1}}}},"eventhub_authorization_rule_id":{"type":"TypeString","optional":true,"forceNew":true},"eventhub_name":{"type":"TypeString","optional":true,"forceNew":true},"log_analytics_workspace_id":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"storage_account_id":{"type":"TypeString","optional":true,"forceNew":true}},"timeouts":{"create":5,"read":5,"delete":5,"update":5}},"azurerm_monitor_action_group":{"schema":{"arm_role_receiver":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"role_id":{"type":"TypeString","required":true},"use_common_alert_schema":{"type":"TypeBool","optional":true}}}},"automation_runbook_receiver":{"type":"TypeList","optional":true,"elem":{"schema":{"automation_account_id":{"type":"TypeString","required":true},"is_global_runbook":{"type":"TypeBool","required":true},"name":{"type":"TypeString","required":true},"runbook_name":{"type":"TypeString","required":true},"service_uri":{"type":"TypeString","required":true},"use_common_alert_schema":{"type":"TypeBool","optional":true,"default":false},"webhook_resource_id":{"type":"TypeString","required":true}}}},"azure_app_push_receiver":{"type":"TypeList","optional":true,"elem":{"schema":{"email_address":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true}}}},"azure_function_receiver":{"type":"TypeList","optional":true,"elem":{"schema":{"function_app_resource_id":{"type":"TypeString","required":true},"function_name":{"type":"TypeString","required":true},"http_trigger_url":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true},"use_common_alert_schema":{"type":"TypeBool","optional":true}}}},"email_receiver":{"type":"TypeList","optional":true,"elem":{"schema":{"email_address":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true},"use_common_alert_schema":{"type":"TypeBool","optional":true}}}},"enabled":{"type":"TypeBool","optional":true,"default":true},"event_hub_receiver":{"type":"TypeList","optional":true,"elem":{"schema":{"event_hub_name":{"type":"TypeString","required":true},"event_hub_namespace":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true},"subscription_id":{"type":"TypeString","optional":true,"computed":true},"tenant_id":{"type":"TypeString","optional":true,"computed":true},"use_common_alert_schema":{"type":"TypeBool","optional":true}}}},"itsm_receiver":{"type":"TypeList","optional":true,"elem":{"schema":{"connection_id":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true},"region":{"type":"TypeString","required":true},"ticket_configuration":{"type":"TypeString","required":true},"workspace_id":{"type":"TypeString","required":true}}}},"location":{"type":"TypeString","optional":true,"default":"global","forceNew":true},"logic_app_receiver":{"type":"TypeList","optional":true,"elem":{"schema":{"callback_url":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true},"resource_id":{"type":"TypeString","required":true},"use_common_alert_schema":{"type":"TypeBool","optional":true}}}},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"short_name":{"type":"TypeString","required":true},"sms_receiver":{"type":"TypeList","optional":true,"elem":{"schema":{"country_code":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true},"phone_number":{"type":"TypeString","required":true}}}},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"voice_receiver":{"type":"TypeList","optional":true,"elem":{"schema":{"country_code":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true},"phone_number":{"type":"TypeString","required":true}}}},"webhook_receiver":{"type":"TypeList","optional":true,"elem":{"schema":{"aad_auth":{"type":"TypeList","optional":true,"elem":{"schema":{"identifier_uri":{"type":"TypeString","optional":true,"computed":true},"object_id":{"type":"TypeString","required":true},"tenant_id":{"type":"TypeString","optional":true,"computed":true}}},"maxItems":1},"name":{"type":"TypeString","required":true},"service_uri":{"type":"TypeString","required":true},"use_common_alert_schema":{"type":"TypeBool","optional":true}}}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_monitor_activity_log_alert":{"schema":{"action":{"type":"TypeList","optional":true,"elem":{"schema":{"action_group_id":{"type":"TypeString","required":true},"webhook_properties":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}}}},"criteria":{"type":"TypeList","required":true,"elem":{"schema":{"caller":{"type":"TypeString","optional":true},"category":{"type":"TypeString","required":true},"level":{"type":"TypeString","optional":true},"levels":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"operation_name":{"type":"TypeString","optional":true},"recommendation_category":{"type":"TypeString","optional":true},"recommendation_impact":{"type":"TypeString","optional":true},"recommendation_type":{"type":"TypeString","optional":true},"resource_group":{"type":"TypeString","optional":true},"resource_groups":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"resource_health":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"current":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"previous":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"reason":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"resource_id":{"type":"TypeString","optional":true},"resource_ids":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"resource_provider":{"type":"TypeString","optional":true},"resource_providers":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"resource_type":{"type":"TypeString","optional":true},"resource_types":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"service_health":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"events":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"locations":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"services":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"status":{"type":"TypeString","optional":true},"statuses":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"sub_status":{"type":"TypeString","optional":true},"sub_statuses":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"description":{"type":"TypeString","optional":true},"enabled":{"type":"TypeBool","optional":true,"default":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"scopes":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"},"minItems":1},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_monitor_alert_processing_rule_action_group":{"schema":{"add_action_group_ids":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}},"condition":{"type":"TypeList","optional":true,"elem":{"schema":{"alert_context":{"type":"TypeList","optional":true,"elem":{"schema":{"operator":{"type":"TypeString","required":true},"values":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"alert_rule_id":{"type":"TypeList","optional":true,"elem":{"schema":{"operator":{"type":"TypeString","required":true},"values":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"alert_rule_name":{"type":"TypeList","optional":true,"elem":{"schema":{"operator":{"type":"TypeString","required":true},"values":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"description":{"type":"TypeList","optional":true,"elem":{"schema":{"operator":{"type":"TypeString","required":true},"values":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"monitor_condition":{"type":"TypeList","optional":true,"elem":{"schema":{"operator":{"type":"TypeString","required":true},"values":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"monitor_service":{"type":"TypeList","optional":true,"elem":{"schema":{"operator":{"type":"TypeString","required":true},"values":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"severity":{"type":"TypeList","optional":true,"elem":{"schema":{"operator":{"type":"TypeString","required":true},"values":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"signal_type":{"type":"TypeList","optional":true,"elem":{"schema":{"operator":{"type":"TypeString","required":true},"values":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"target_resource":{"type":"TypeList","optional":true,"elem":{"schema":{"operator":{"type":"TypeString","required":true},"values":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"target_resource_group":{"type":"TypeList","optional":true,"elem":{"schema":{"operator":{"type":"TypeString","required":true},"values":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"target_resource_type":{"type":"TypeList","optional":true,"elem":{"schema":{"operator":{"type":"TypeString","required":true},"values":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}}}},"maxItems":1}}},"maxItems":1},"description":{"type":"TypeString","optional":true},"enabled":{"type":"TypeBool","optional":true,"default":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"schedule":{"type":"TypeList","optional":true,"elem":{"schema":{"effective_from":{"type":"TypeString","optional":true},"effective_until":{"type":"TypeString","optional":true},"recurrence":{"type":"TypeList","optional":true,"elem":{"schema":{"daily":{"type":"TypeList","optional":true,"elem":{"schema":{"end_time":{"type":"TypeString","required":true},"start_time":{"type":"TypeString","required":true}}}},"monthly":{"type":"TypeList","optional":true,"elem":{"schema":{"days_of_month":{"type":"TypeList","required":true,"elem":{"type":"TypeInt"},"minItems":1},"end_time":{"type":"TypeString","optional":true},"start_time":{"type":"TypeString","optional":true}}}},"weekly":{"type":"TypeList","optional":true,"elem":{"schema":{"days_of_week":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"minItems":1},"end_time":{"type":"TypeString","optional":true},"start_time":{"type":"TypeString","optional":true}}}}}},"maxItems":1},"time_zone":{"type":"TypeString","optional":true,"default":"UTC"}}},"maxItems":1},"scopes":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"minItems":1},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_monitor_alert_processing_rule_suppression":{"schema":{"condition":{"type":"TypeList","optional":true,"elem":{"schema":{"alert_context":{"type":"TypeList","optional":true,"elem":{"schema":{"operator":{"type":"TypeString","required":true},"values":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"alert_rule_id":{"type":"TypeList","optional":true,"elem":{"schema":{"operator":{"type":"TypeString","required":true},"values":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"alert_rule_name":{"type":"TypeList","optional":true,"elem":{"schema":{"operator":{"type":"TypeString","required":true},"values":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"description":{"type":"TypeList","optional":true,"elem":{"schema":{"operator":{"type":"TypeString","required":true},"values":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"monitor_condition":{"type":"TypeList","optional":true,"elem":{"schema":{"operator":{"type":"TypeString","required":true},"values":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"monitor_service":{"type":"TypeList","optional":true,"elem":{"schema":{"operator":{"type":"TypeString","required":true},"values":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"severity":{"type":"TypeList","optional":true,"elem":{"schema":{"operator":{"type":"TypeString","required":true},"values":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"signal_type":{"type":"TypeList","optional":true,"elem":{"schema":{"operator":{"type":"TypeString","required":true},"values":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"target_resource":{"type":"TypeList","optional":true,"elem":{"schema":{"operator":{"type":"TypeString","required":true},"values":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"target_resource_group":{"type":"TypeList","optional":true,"elem":{"schema":{"operator":{"type":"TypeString","required":true},"values":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"target_resource_type":{"type":"TypeList","optional":true,"elem":{"schema":{"operator":{"type":"TypeString","required":true},"values":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}}}},"maxItems":1}}},"maxItems":1},"description":{"type":"TypeString","optional":true},"enabled":{"type":"TypeBool","optional":true,"default":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"schedule":{"type":"TypeList","optional":true,"elem":{"schema":{"effective_from":{"type":"TypeString","optional":true},"effective_until":{"type":"TypeString","optional":true},"recurrence":{"type":"TypeList","optional":true,"elem":{"schema":{"daily":{"type":"TypeList","optional":true,"elem":{"schema":{"end_time":{"type":"TypeString","required":true},"start_time":{"type":"TypeString","required":true}}}},"monthly":{"type":"TypeList","optional":true,"elem":{"schema":{"days_of_month":{"type":"TypeList","required":true,"elem":{"type":"TypeInt"},"minItems":1},"end_time":{"type":"TypeString","optional":true},"start_time":{"type":"TypeString","optional":true}}}},"weekly":{"type":"TypeList","optional":true,"elem":{"schema":{"days_of_week":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"minItems":1},"end_time":{"type":"TypeString","optional":true},"start_time":{"type":"TypeString","optional":true}}}}}},"maxItems":1},"time_zone":{"type":"TypeString","optional":true,"default":"UTC"}}},"maxItems":1},"scopes":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"minItems":1},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_monitor_alert_prometheus_rule_group":{"schema":{"cluster_name":{"type":"TypeString","optional":true},"description":{"type":"TypeString","optional":true},"interval":{"type":"TypeString","optional":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"rule":{"type":"TypeList","required":true,"elem":{"schema":{"action":{"type":"TypeList","optional":true,"elem":{"schema":{"action_group_id":{"type":"TypeString","required":true},"action_properties":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":5},"alert":{"type":"TypeString","optional":true},"alert_resolution":{"type":"TypeList","optional":true,"elem":{"schema":{"auto_resolved":{"type":"TypeBool","optional":true},"time_to_resolve":{"type":"TypeString","optional":true}}},"maxItems":1},"annotations":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"enabled":{"type":"TypeBool","optional":true},"expression":{"type":"TypeString","required":true},"for":{"type":"TypeString","optional":true},"labels":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"record":{"type":"TypeString","optional":true},"severity":{"type":"TypeInt","optional":true}}}},"rule_group_enabled":{"type":"TypeBool","optional":true},"scopes":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_monitor_autoscale_setting":{"schema":{"enabled":{"type":"TypeBool","optional":true,"default":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"notification":{"type":"TypeList","optional":true,"elem":{"schema":{"email":{"type":"TypeList","optional":true,"elem":{"schema":{"custom_emails":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"send_to_subscription_administrator":{"type":"TypeBool","optional":true,"default":false},"send_to_subscription_co_administrator":{"type":"TypeBool","optional":true,"default":false}}},"maxItems":1},"webhook":{"type":"TypeList","optional":true,"elem":{"schema":{"properties":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"service_uri":{"type":"TypeString","required":true}}}}}},"maxItems":1},"predictive":{"type":"TypeList","optional":true,"elem":{"schema":{"look_ahead_time":{"type":"TypeString","optional":true},"scale_mode":{"type":"TypeString","required":true}}},"maxItems":1,"minItems":1},"profile":{"type":"TypeList","required":true,"elem":{"schema":{"capacity":{"type":"TypeList","required":true,"elem":{"schema":{"default":{"type":"TypeInt","required":true},"maximum":{"type":"TypeInt","required":true},"minimum":{"type":"TypeInt","required":true}}},"maxItems":1},"fixed_date":{"type":"TypeList","optional":true,"elem":{"schema":{"end":{"type":"TypeString","required":true},"start":{"type":"TypeString","required":true},"timezone":{"type":"TypeString","optional":true,"default":"UTC"}}},"maxItems":1},"name":{"type":"TypeString","required":true},"recurrence":{"type":"TypeList","optional":true,"elem":{"schema":{"days":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}},"hours":{"type":"TypeList","required":true,"elem":{"type":"TypeInt"},"maxItems":1},"minutes":{"type":"TypeList","required":true,"elem":{"type":"TypeInt"},"maxItems":1},"timezone":{"type":"TypeString","optional":true,"default":"UTC"}}},"maxItems":1},"rule":{"type":"TypeList","optional":true,"elem":{"schema":{"metric_trigger":{"type":"TypeList","required":true,"elem":{"schema":{"dimensions":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"operator":{"type":"TypeString","required":true},"values":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}}}}},"divide_by_instance_count":{"type":"TypeBool","optional":true},"metric_name":{"type":"TypeString","required":true},"metric_namespace":{"type":"TypeString","optional":true},"metric_resource_id":{"type":"TypeString","required":true},"operator":{"type":"TypeString","required":true},"statistic":{"type":"TypeString","required":true},"threshold":{"type":"TypeFloat","required":true},"time_aggregation":{"type":"TypeString","required":true},"time_grain":{"type":"TypeString","required":true},"time_window":{"type":"TypeString","required":true}}},"maxItems":1},"scale_action":{"type":"TypeList","required":true,"elem":{"schema":{"cooldown":{"type":"TypeString","required":true},"direction":{"type":"TypeString","required":true},"type":{"type":"TypeString","required":true},"value":{"type":"TypeInt","required":true}}},"maxItems":1}}},"maxItems":10}}},"maxItems":20},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"target_resource_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_monitor_data_collection_endpoint":{"schema":{"configuration_access_endpoint":{"type":"TypeString","computed":true},"description":{"type":"TypeString","optional":true},"immutable_id":{"type":"TypeString","computed":true},"kind":{"type":"TypeString","optional":true},"location":{"type":"TypeString","required":true,"forceNew":true},"logs_ingestion_endpoint":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true,"forceNew":true},"public_network_access_enabled":{"type":"TypeBool","optional":true,"default":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_monitor_data_collection_rule":{"schema":{"data_collection_endpoint_id":{"type":"TypeString","optional":true},"data_flow":{"type":"TypeList","required":true,"elem":{"schema":{"built_in_transform":{"type":"TypeString","optional":true},"destinations":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"minItems":1},"output_stream":{"type":"TypeString","optional":true},"streams":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"minItems":1},"transform_kql":{"type":"TypeString","optional":true}}},"minItems":1},"data_sources":{"type":"TypeList","optional":true,"elem":{"schema":{"data_import":{"type":"TypeList","optional":true,"elem":{"schema":{"event_hub_data_source":{"type":"TypeList","required":true,"elem":{"schema":{"consumer_group":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true},"stream":{"type":"TypeString","required":true}}}}}},"maxItems":1},"extension":{"type":"TypeList","optional":true,"elem":{"schema":{"extension_json":{"type":"TypeString","optional":true},"extension_name":{"type":"TypeString","required":true},"input_data_sources":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true},"streams":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"minItems":1}}}},"iis_log":{"type":"TypeList","optional":true,"elem":{"schema":{"log_directories":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"minItems":1},"name":{"type":"TypeString","required":true},"streams":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"minItems":1}}}},"log_file":{"type":"TypeList","optional":true,"elem":{"schema":{"file_patterns":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}},"format":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true},"settings":{"type":"TypeList","optional":true,"elem":{"schema":{"text":{"type":"TypeList","required":true,"elem":{"schema":{"record_start_timestamp_format":{"type":"TypeString","required":true}}},"maxItems":1}}},"maxItems":1},"streams":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"minItems":1}}}},"performance_counter":{"type":"TypeList","optional":true,"elem":{"schema":{"counter_specifiers":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"minItems":1},"name":{"type":"TypeString","required":true},"sampling_frequency_in_seconds":{"type":"TypeInt","required":true},"streams":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"minItems":1}}}},"platform_telemetry":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"streams":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"minItems":1}}}},"prometheus_forwarder":{"type":"TypeList","optional":true,"elem":{"schema":{"label_include_filter":{"type":"TypeSet","optional":true,"elem":{"schema":{"label":{"type":"TypeString","required":true},"value":{"type":"TypeString","required":true}}}},"name":{"type":"TypeString","required":true},"streams":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"minItems":1}}}},"syslog":{"type":"TypeList","optional":true,"elem":{"schema":{"facility_names":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"minItems":1},"log_levels":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"minItems":1},"name":{"type":"TypeString","required":true},"streams":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"minItems":1}}}},"windows_event_log":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"streams":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"minItems":1},"x_path_queries":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"minItems":1}}}},"windows_firewall_log":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"streams":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"minItems":1}}}}}},"maxItems":1},"description":{"type":"TypeString","optional":true},"destinations":{"type":"TypeList","required":true,"elem":{"schema":{"azure_monitor_metrics":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true}}},"maxItems":1},"event_hub":{"type":"TypeList","optional":true,"elem":{"schema":{"event_hub_id":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true}}},"maxItems":1},"event_hub_direct":{"type":"TypeList","optional":true,"elem":{"schema":{"event_hub_id":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true}}},"maxItems":1},"log_analytics":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"workspace_resource_id":{"type":"TypeString","required":true}}}},"monitor_account":{"type":"TypeList","optional":true,"elem":{"schema":{"monitor_account_id":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true}}}},"storage_blob":{"type":"TypeList","optional":true,"elem":{"schema":{"container_name":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true},"storage_account_id":{"type":"TypeString","required":true}}}},"storage_blob_direct":{"type":"TypeList","optional":true,"elem":{"schema":{"container_name":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true},"storage_account_id":{"type":"TypeString","required":true}}}},"storage_table_direct":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"storage_account_id":{"type":"TypeString","required":true},"table_name":{"type":"TypeString","required":true}}}}}},"maxItems":1,"minItems":1},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"immutable_id":{"type":"TypeString","computed":true},"kind":{"type":"TypeString","optional":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"stream_declaration":{"type":"TypeSet","optional":true,"elem":{"schema":{"column":{"type":"TypeList","required":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"type":{"type":"TypeString","required":true}}}},"stream_name":{"type":"TypeString","required":true}}},"minItems":1},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_monitor_data_collection_rule_association":{"schema":{"data_collection_endpoint_id":{"type":"TypeString","optional":true},"data_collection_rule_id":{"type":"TypeString","optional":true},"description":{"type":"TypeString","optional":true},"name":{"type":"TypeString","optional":true,"default":"configurationAccessEndpoint","forceNew":true},"target_resource_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_monitor_diagnostic_setting":{"schema":{"enabled_log":{"type":"TypeSet","optional":true,"elem":{"schema":{"category":{"type":"TypeString","optional":true},"category_group":{"type":"TypeString","optional":true},"retention_policy":{"type":"TypeList","optional":true,"elem":{"schema":{"days":{"type":"TypeInt","optional":true},"enabled":{"type":"TypeBool","required":true}}},"maxItems":1}}}},"eventhub_authorization_rule_id":{"type":"TypeString","optional":true},"eventhub_name":{"type":"TypeString","optional":true},"log_analytics_destination_type":{"type":"TypeString","optional":true,"computed":true},"log_analytics_workspace_id":{"type":"TypeString","optional":true},"metric":{"type":"TypeSet","optional":true,"elem":{"schema":{"category":{"type":"TypeString","required":true},"enabled":{"type":"TypeBool","optional":true,"default":true},"retention_policy":{"type":"TypeList","optional":true,"elem":{"schema":{"days":{"type":"TypeInt","optional":true},"enabled":{"type":"TypeBool","required":true}}},"maxItems":1}}}},"name":{"type":"TypeString","required":true,"forceNew":true},"partner_solution_id":{"type":"TypeString","optional":true},"storage_account_id":{"type":"TypeString","optional":true},"target_resource_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":60,"update":30}},"azurerm_monitor_metric_alert":{"schema":{"action":{"type":"TypeSet","optional":true,"elem":{"schema":{"action_group_id":{"type":"TypeString","required":true},"webhook_properties":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}}}},"application_insights_web_test_location_availability_criteria":{"type":"TypeList","optional":true,"elem":{"schema":{"component_id":{"type":"TypeString","required":true},"failed_location_count":{"type":"TypeInt","required":true},"web_test_id":{"type":"TypeString","required":true}}},"maxItems":1,"minItems":1},"auto_mitigate":{"type":"TypeBool","optional":true,"default":true},"criteria":{"type":"TypeList","optional":true,"elem":{"schema":{"aggregation":{"type":"TypeString","required":true},"dimension":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"operator":{"type":"TypeString","required":true},"values":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"minItems":1}}}},"metric_name":{"type":"TypeString","required":true},"metric_namespace":{"type":"TypeString","required":true},"operator":{"type":"TypeString","required":true},"skip_metric_validation":{"type":"TypeBool","optional":true,"default":false},"threshold":{"type":"TypeFloat","required":true}}},"minItems":1},"description":{"type":"TypeString","optional":true},"dynamic_criteria":{"type":"TypeList","optional":true,"elem":{"schema":{"aggregation":{"type":"TypeString","required":true},"alert_sensitivity":{"type":"TypeString","required":true},"dimension":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"operator":{"type":"TypeString","required":true},"values":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"minItems":1}}}},"evaluation_failure_count":{"type":"TypeInt","optional":true,"default":4},"evaluation_total_count":{"type":"TypeInt","optional":true,"default":4},"ignore_data_before":{"type":"TypeString","optional":true},"metric_name":{"type":"TypeString","required":true},"metric_namespace":{"type":"TypeString","required":true},"operator":{"type":"TypeString","required":true},"skip_metric_validation":{"type":"TypeBool","optional":true}}},"maxItems":1,"minItems":1},"enabled":{"type":"TypeBool","optional":true,"default":true},"frequency":{"type":"TypeString","optional":true,"default":"PT1M"},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"scopes":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"},"minItems":1},"severity":{"type":"TypeInt","optional":true,"default":3},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"target_resource_location":{"type":"TypeString","optional":true,"description":"The location of the target pluginsdk. Required when using subscription, resource group scope or multiple scopes.","computed":true},"target_resource_type":{"type":"TypeString","optional":true,"description":"The resource type (e.g. Microsoft.Compute/virtualMachines) of the target pluginsdk. Required when using subscription, resource group scope or multiple scopes.","computed":true},"window_size":{"type":"TypeString","optional":true,"default":"PT5M"}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_monitor_private_link_scope":{"schema":{"ingestion_access_mode":{"type":"TypeString","optional":true,"default":"Open"},"name":{"type":"TypeString","required":true,"forceNew":true},"query_access_mode":{"type":"TypeString","optional":true,"default":"Open"},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_monitor_private_link_scoped_service":{"schema":{"linked_resource_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"scope_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_monitor_scheduled_query_rules_alert":{"schema":{"action":{"type":"TypeList","required":true,"elem":{"schema":{"action_group":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}},"custom_webhook_payload":{"type":"TypeString","optional":true},"email_subject":{"type":"TypeString","optional":true}}},"maxItems":1},"authorized_resource_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":100},"auto_mitigation_enabled":{"type":"TypeBool","optional":true,"default":false},"data_source_id":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"enabled":{"type":"TypeBool","optional":true,"default":true},"frequency":{"type":"TypeInt","required":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"query":{"type":"TypeString","required":true},"query_type":{"type":"TypeString","optional":true,"default":"ResultCount"},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"severity":{"type":"TypeInt","optional":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"throttling":{"type":"TypeInt","optional":true},"time_window":{"type":"TypeInt","required":true},"trigger":{"type":"TypeList","required":true,"elem":{"schema":{"metric_trigger":{"type":"TypeList","optional":true,"elem":{"schema":{"metric_column":{"type":"TypeString","optional":true},"metric_trigger_type":{"type":"TypeString","required":true},"operator":{"type":"TypeString","required":true},"threshold":{"type":"TypeFloat","required":true}}},"maxItems":1},"operator":{"type":"TypeString","required":true},"threshold":{"type":"TypeFloat","required":true}}},"maxItems":1}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_monitor_scheduled_query_rules_alert_v2":{"schema":{"action":{"type":"TypeList","optional":true,"elem":{"schema":{"action_groups":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"custom_properties":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"auto_mitigation_enabled":{"type":"TypeBool","optional":true,"default":false},"created_with_api_version":{"type":"TypeString","computed":true},"criteria":{"type":"TypeList","required":true,"elem":{"schema":{"dimension":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"operator":{"type":"TypeString","required":true},"values":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}}}}},"failing_periods":{"type":"TypeList","optional":true,"elem":{"schema":{"minimum_failing_periods_to_trigger_alert":{"type":"TypeInt","required":true},"number_of_evaluation_periods":{"type":"TypeInt","required":true}}},"maxItems":1},"metric_measure_column":{"type":"TypeString","optional":true},"operator":{"type":"TypeString","required":true},"query":{"type":"TypeString","required":true},"resource_id_column":{"type":"TypeString","optional":true},"threshold":{"type":"TypeFloat","required":true},"time_aggregation_method":{"type":"TypeString","required":true}}},"minItems":1},"description":{"type":"TypeString","optional":true},"display_name":{"type":"TypeString","optional":true},"enabled":{"type":"TypeBool","optional":true,"default":true},"evaluation_frequency":{"type":"TypeString","required":true},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"is_a_legacy_log_analytics_rule":{"type":"TypeBool","computed":true},"is_workspace_alerts_storage_configured":{"type":"TypeBool","computed":true},"location":{"type":"TypeString","required":true,"forceNew":true},"mute_actions_after_alert_duration":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"query_time_range_override":{"type":"TypeString","optional":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"scopes":{"type":"TypeList","required":true,"forceNew":true,"elem":{"type":"TypeString"},"maxItems":1,"minItems":1},"severity":{"type":"TypeInt","required":true},"skip_query_validation":{"type":"TypeBool","optional":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"target_resource_types":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"window_duration":{"type":"TypeString","required":true},"workspace_alerts_storage_enabled":{"type":"TypeBool","optional":true,"default":false}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_monitor_scheduled_query_rules_log":{"schema":{"authorized_resource_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"criteria":{"type":"TypeList","required":true,"elem":{"schema":{"dimension":{"type":"TypeSet","required":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"operator":{"type":"TypeString","optional":true,"default":"Include"},"values":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}}}}},"metric_name":{"type":"TypeString","required":true}}},"maxItems":1},"data_source_id":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"enabled":{"type":"TypeBool","optional":true,"default":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_monitor_smart_detector_alert_rule":{"schema":{"action_group":{"type":"TypeList","required":true,"elem":{"schema":{"email_subject":{"type":"TypeString","optional":true},"ids":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}},"webhook_payload":{"type":"TypeString","optional":true}}},"maxItems":1},"description":{"type":"TypeString","optional":true},"detector_type":{"type":"TypeString","required":true},"enabled":{"type":"TypeBool","optional":true,"default":true},"frequency":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"scope_resource_ids":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}},"severity":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"throttling_duration":{"type":"TypeString","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_monitor_workspace":{"schema":{"default_data_collection_endpoint_id":{"type":"TypeString","computed":true},"default_data_collection_rule_id":{"type":"TypeString","computed":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"public_network_access_enabled":{"type":"TypeBool","optional":true,"default":true},"query_endpoint":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_mssql_database":{"schema":{"auto_pause_delay_in_minutes":{"type":"TypeInt","optional":true,"computed":true},"collation":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"create_mode":{"type":"TypeString","optional":true,"default":"Default","forceNew":true},"creation_source_database_id":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"elastic_pool_id":{"type":"TypeString","optional":true},"enclave_type":{"type":"TypeString","optional":true,"computed":true},"geo_backup_enabled":{"type":"TypeBool","optional":true,"default":true},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}},"type":{"type":"TypeString","required":true}}},"maxItems":1},"import":{"type":"TypeList","optional":true,"elem":{"schema":{"administrator_login":{"type":"TypeString","required":true},"administrator_login_password":{"type":"TypeString","required":true},"authentication_type":{"type":"TypeString","required":true},"storage_account_id":{"type":"TypeString","optional":true},"storage_key":{"type":"TypeString","required":true},"storage_key_type":{"type":"TypeString","required":true},"storage_uri":{"type":"TypeString","required":true}}},"maxItems":1},"ledger_enabled":{"type":"TypeBool","optional":true,"computed":true,"forceNew":true},"license_type":{"type":"TypeString","optional":true,"computed":true},"long_term_retention_policy":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"monthly_retention":{"type":"TypeString","optional":true,"computed":true},"week_of_year":{"type":"TypeInt","optional":true,"computed":true},"weekly_retention":{"type":"TypeString","optional":true,"computed":true},"yearly_retention":{"type":"TypeString","optional":true,"computed":true}}},"maxItems":1},"maintenance_configuration_name":{"type":"TypeString","optional":true,"computed":true},"max_size_gb":{"type":"TypeInt","optional":true,"computed":true},"min_capacity":{"type":"TypeFloat","optional":true,"computed":true},"name":{"type":"TypeString","required":true,"forceNew":true},"read_replica_count":{"type":"TypeInt","optional":true,"computed":true},"read_scale":{"type":"TypeBool","optional":true,"computed":true},"recover_database_id":{"type":"TypeString","optional":true},"recovery_point_id":{"type":"TypeString","optional":true},"restore_dropped_database_id":{"type":"TypeString","optional":true},"restore_long_term_retention_backup_id":{"type":"TypeString","optional":true},"restore_point_in_time":{"type":"TypeString","optional":true,"computed":true},"sample_name":{"type":"TypeString","optional":true,"computed":true},"secondary_type":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"server_id":{"type":"TypeString","required":true,"forceNew":true},"short_term_retention_policy":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"backup_interval_in_hours":{"type":"TypeInt","optional":true,"computed":true},"retention_days":{"type":"TypeInt","required":true}}},"maxItems":1},"sku_name":{"type":"TypeString","optional":true,"computed":true},"storage_account_type":{"type":"TypeString","optional":true,"default":"Geo"},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"threat_detection_policy":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"disabled_alerts":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"email_account_admins":{"type":"TypeString","optional":true,"default":"Disabled"},"email_addresses":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"retention_days":{"type":"TypeInt","optional":true},"state":{"type":"TypeString","optional":true,"default":"Disabled"},"storage_account_access_key":{"type":"TypeString","optional":true},"storage_endpoint":{"type":"TypeString","optional":true}}},"maxItems":1},"transparent_data_encryption_enabled":{"type":"TypeBool","optional":true,"default":true},"transparent_data_encryption_key_automatic_rotation_enabled":{"type":"TypeBool","optional":true,"default":false},"transparent_data_encryption_key_vault_key_id":{"type":"TypeString","optional":true},"zone_redundant":{"type":"TypeBool","optional":true,"computed":true}},"timeouts":{"create":60,"read":5,"delete":60,"update":60}},"azurerm_mssql_database_extended_auditing_policy":{"schema":{"database_id":{"type":"TypeString","required":true,"forceNew":true},"enabled":{"type":"TypeBool","optional":true,"default":true},"log_monitoring_enabled":{"type":"TypeBool","optional":true,"default":true},"retention_in_days":{"type":"TypeInt","optional":true,"default":0},"storage_account_access_key":{"type":"TypeString","optional":true},"storage_account_access_key_is_secondary":{"type":"TypeBool","optional":true,"default":false},"storage_endpoint":{"type":"TypeString","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_mssql_database_vulnerability_assessment_rule_baseline":{"schema":{"baseline_name":{"type":"TypeString","optional":true,"default":"default","forceNew":true},"baseline_result":{"type":"TypeSet","required":true,"elem":{"schema":{"result":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}}}}},"database_name":{"type":"TypeString","required":true,"forceNew":true},"rule_id":{"type":"TypeString","required":true,"forceNew":true},"server_vulnerability_assessment_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_mssql_elasticpool":{"schema":{"enclave_type":{"type":"TypeString","optional":true,"computed":true},"license_type":{"type":"TypeString","optional":true,"computed":true},"location":{"type":"TypeString","required":true,"forceNew":true},"maintenance_configuration_name":{"type":"TypeString","optional":true,"default":"SQL_Default"},"max_size_bytes":{"type":"TypeInt","optional":true,"computed":true},"max_size_gb":{"type":"TypeFloat","optional":true,"computed":true},"name":{"type":"TypeString","required":true,"forceNew":true},"per_database_settings":{"type":"TypeList","required":true,"elem":{"schema":{"max_capacity":{"type":"TypeFloat","required":true},"min_capacity":{"type":"TypeFloat","required":true}}},"maxItems":1},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"server_name":{"type":"TypeString","required":true,"forceNew":true},"sku":{"type":"TypeList","required":true,"elem":{"schema":{"capacity":{"type":"TypeInt","required":true},"family":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true},"tier":{"type":"TypeString","required":true}}},"maxItems":1},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"zone_redundant":{"type":"TypeBool","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_mssql_failover_group":{"schema":{"databases":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true,"forceNew":true},"partner_server":{"type":"TypeList","required":true,"elem":{"schema":{"id":{"type":"TypeString","required":true},"location":{"type":"TypeString","computed":true},"role":{"type":"TypeString","computed":true}}},"minItems":1},"read_write_endpoint_failover_policy":{"type":"TypeList","required":true,"elem":{"schema":{"grace_minutes":{"type":"TypeInt","optional":true},"mode":{"type":"TypeString","required":true}}},"maxItems":1},"readonly_endpoint_failover_policy_enabled":{"type":"TypeBool","optional":true,"computed":true},"server_id":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_mssql_firewall_rule":{"schema":{"end_ip_address":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true,"forceNew":true},"server_id":{"type":"TypeString","required":true,"forceNew":true},"start_ip_address":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_mssql_job_agent":{"schema":{"database_id":{"type":"TypeString","required":true,"forceNew":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":60,"read":5,"delete":60,"update":60}},"azurerm_mssql_job_credential":{"schema":{"job_agent_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"password":{"type":"TypeString","required":true},"username":{"type":"TypeString","required":true}},"timeouts":{"create":60,"read":5,"delete":60,"update":60}},"azurerm_mssql_managed_database":{"schema":{"long_term_retention_policy":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"monthly_retention":{"type":"TypeString","optional":true,"computed":true},"week_of_year":{"type":"TypeInt","optional":true,"computed":true},"weekly_retention":{"type":"TypeString","optional":true,"computed":true},"yearly_retention":{"type":"TypeString","optional":true,"computed":true}}},"maxItems":1},"managed_instance_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"point_in_time_restore":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"restore_point_in_time":{"type":"TypeString","required":true,"forceNew":true},"source_database_id":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"short_term_retention_days":{"type":"TypeInt","optional":true,"default":7}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_mssql_managed_instance":{"schema":{"administrator_login":{"type":"TypeString","required":true,"forceNew":true},"administrator_login_password":{"type":"TypeString","required":true},"collation":{"type":"TypeString","optional":true,"default":"SQL_Latin1_General_CP1_CI_AS","forceNew":true},"dns_zone":{"type":"TypeString","computed":true},"dns_zone_partner_id":{"type":"TypeString","optional":true},"fqdn":{"type":"TypeString","computed":true},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"license_type":{"type":"TypeString","required":true},"location":{"type":"TypeString","required":true,"forceNew":true},"maintenance_configuration_name":{"type":"TypeString","optional":true,"default":"SQL_Default"},"minimum_tls_version":{"type":"TypeString","optional":true,"default":"1.2"},"name":{"type":"TypeString","required":true,"forceNew":true},"proxy_override":{"type":"TypeString","optional":true,"default":"Default"},"public_data_endpoint_enabled":{"type":"TypeBool","optional":true,"default":false},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"service_principal_type":{"type":"TypeString","optional":true},"sku_name":{"type":"TypeString","required":true},"storage_account_type":{"type":"TypeString","optional":true,"default":"GRS"},"storage_size_in_gb":{"type":"TypeInt","required":true},"subnet_id":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"timezone_id":{"type":"TypeString","optional":true,"default":"UTC","forceNew":true},"vcores":{"type":"TypeInt","required":true},"zone_redundant_enabled":{"type":"TypeBool","optional":true,"default":false}},"timeouts":{"create":1440,"read":5,"delete":1440,"update":1440}},"azurerm_mssql_managed_instance_active_directory_administrator":{"schema":{"azuread_authentication_only":{"type":"TypeBool","optional":true},"login_username":{"type":"TypeString","required":true},"managed_instance_id":{"type":"TypeString","required":true,"forceNew":true},"object_id":{"type":"TypeString","required":true},"tenant_id":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":180,"update":30}},"azurerm_mssql_managed_instance_failover_group":{"schema":{"location":{"type":"TypeString","required":true,"forceNew":true},"managed_instance_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"partner_managed_instance_id":{"type":"TypeString","required":true,"forceNew":true},"partner_region":{"type":"TypeList","computed":true,"elem":{"schema":{"location":{"type":"TypeString","computed":true},"role":{"type":"TypeString","computed":true}}}},"read_write_endpoint_failover_policy":{"type":"TypeList","required":true,"elem":{"schema":{"grace_minutes":{"type":"TypeInt","optional":true},"mode":{"type":"TypeString","required":true}}},"maxItems":1},"readonly_endpoint_failover_policy_enabled":{"type":"TypeBool","optional":true,"default":true},"role":{"type":"TypeString","computed":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_mssql_managed_instance_security_alert_policy":{"schema":{"disabled_alerts":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"email_account_admins_enabled":{"type":"TypeBool","optional":true,"default":false},"email_addresses":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"enabled":{"type":"TypeBool","optional":true},"managed_instance_name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"retention_days":{"type":"TypeInt","optional":true,"default":0},"storage_account_access_key":{"type":"TypeString","optional":true},"storage_endpoint":{"type":"TypeString","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_mssql_managed_instance_transparent_data_encryption":{"schema":{"auto_rotation_enabled":{"type":"TypeBool","optional":true,"default":false},"key_vault_key_id":{"type":"TypeString","optional":true},"managed_instance_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_mssql_managed_instance_vulnerability_assessment":{"schema":{"managed_instance_id":{"type":"TypeString","required":true,"forceNew":true},"recurring_scans":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"email_subscription_admins":{"type":"TypeBool","optional":true,"default":true},"emails":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"enabled":{"type":"TypeBool","optional":true,"default":false}}},"maxItems":1},"storage_account_access_key":{"type":"TypeString","optional":true},"storage_container_path":{"type":"TypeString","required":true},"storage_container_sas_key":{"type":"TypeString","optional":true}},"timeouts":{"create":60,"read":5,"delete":60,"update":60}},"azurerm_mssql_outbound_firewall_rule":{"schema":{"name":{"type":"TypeString","required":true,"forceNew":true},"server_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_mssql_server":{"schema":{"administrator_login":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"administrator_login_password":{"type":"TypeString","optional":true},"azuread_administrator":{"type":"TypeList","optional":true,"elem":{"schema":{"azuread_authentication_only":{"type":"TypeBool","optional":true,"computed":true},"login_username":{"type":"TypeString","required":true},"object_id":{"type":"TypeString","required":true},"tenant_id":{"type":"TypeString","optional":true,"computed":true}}},"maxItems":1,"minItems":1},"connection_policy":{"type":"TypeString","optional":true,"default":"Default"},"fully_qualified_domain_name":{"type":"TypeString","computed":true},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"minimum_tls_version":{"type":"TypeString","optional":true,"default":"1.2"},"name":{"type":"TypeString","required":true,"forceNew":true},"outbound_network_restriction_enabled":{"type":"TypeBool","optional":true,"default":false},"primary_user_assigned_identity_id":{"type":"TypeString","optional":true,"computed":true},"public_network_access_enabled":{"type":"TypeBool","optional":true,"default":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"restorable_dropped_database_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"transparent_data_encryption_key_vault_key_id":{"type":"TypeString","optional":true},"version":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":60,"read":5,"delete":60,"update":60}},"azurerm_mssql_server_dns_alias":{"schema":{"dns_record":{"type":"TypeString","computed":true},"mssql_server_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":10}},"azurerm_mssql_server_extended_auditing_policy":{"schema":{"audit_actions_and_groups":{"type":"TypeList","optional":true,"computed":true,"elem":{"type":"TypeString"}},"enabled":{"type":"TypeBool","optional":true,"default":true},"log_monitoring_enabled":{"type":"TypeBool","optional":true,"default":true},"predicate_expression":{"type":"TypeString","optional":true},"retention_in_days":{"type":"TypeInt","optional":true,"default":0},"server_id":{"type":"TypeString","required":true,"forceNew":true},"storage_account_access_key":{"type":"TypeString","optional":true},"storage_account_access_key_is_secondary":{"type":"TypeBool","optional":true,"default":false},"storage_account_subscription_id":{"type":"TypeString","optional":true},"storage_endpoint":{"type":"TypeString","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_mssql_server_microsoft_support_auditing_policy":{"schema":{"blob_storage_endpoint":{"type":"TypeString","optional":true},"enabled":{"type":"TypeBool","optional":true,"default":true},"log_monitoring_enabled":{"type":"TypeBool","optional":true,"default":true},"server_id":{"type":"TypeString","required":true,"forceNew":true},"storage_account_access_key":{"type":"TypeString","optional":true},"storage_account_subscription_id":{"type":"TypeString","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_mssql_server_security_alert_policy":{"schema":{"disabled_alerts":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"email_account_admins":{"type":"TypeBool","optional":true,"default":false},"email_addresses":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"retention_days":{"type":"TypeInt","optional":true,"default":0},"server_name":{"type":"TypeString","required":true,"forceNew":true},"state":{"type":"TypeString","required":true},"storage_account_access_key":{"type":"TypeString","optional":true},"storage_endpoint":{"type":"TypeString","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_mssql_server_transparent_data_encryption":{"schema":{"auto_rotation_enabled":{"type":"TypeBool","optional":true,"default":false},"key_vault_key_id":{"type":"TypeString","optional":true},"managed_hsm_key_id":{"type":"TypeString","optional":true},"server_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_mssql_server_vulnerability_assessment":{"schema":{"recurring_scans":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"email_subscription_admins":{"type":"TypeBool","optional":true,"default":false},"emails":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"enabled":{"type":"TypeBool","optional":true,"default":false}}},"maxItems":1},"server_security_alert_policy_id":{"type":"TypeString","required":true,"forceNew":true},"storage_account_access_key":{"type":"TypeString","optional":true},"storage_container_path":{"type":"TypeString","required":true},"storage_container_sas_key":{"type":"TypeString","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_mssql_virtual_machine":{"schema":{"assessment":{"type":"TypeList","optional":true,"elem":{"schema":{"enabled":{"type":"TypeBool","optional":true,"default":true},"run_immediately":{"type":"TypeBool","optional":true,"default":false},"schedule":{"type":"TypeList","optional":true,"elem":{"schema":{"day_of_week":{"type":"TypeString","required":true},"monthly_occurrence":{"type":"TypeInt","optional":true},"start_time":{"type":"TypeString","required":true},"weekly_interval":{"type":"TypeInt","optional":true}}},"maxItems":1}}},"maxItems":1},"auto_backup":{"type":"TypeList","optional":true,"elem":{"schema":{"encryption_enabled":{"type":"TypeBool","optional":true,"default":false},"encryption_password":{"type":"TypeString","optional":true},"manual_schedule":{"type":"TypeList","optional":true,"elem":{"schema":{"days_of_week":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"minItems":1},"full_backup_frequency":{"type":"TypeString","required":true},"full_backup_start_hour":{"type":"TypeInt","required":true},"full_backup_window_in_hours":{"type":"TypeInt","required":true},"log_backup_frequency_in_minutes":{"type":"TypeInt","required":true}}},"maxItems":1},"retention_period_in_days":{"type":"TypeInt","required":true},"storage_account_access_key":{"type":"TypeString","required":true},"storage_blob_endpoint":{"type":"TypeString","required":true},"system_databases_backup_enabled":{"type":"TypeBool","optional":true}}},"maxItems":1},"auto_patching":{"type":"TypeList","optional":true,"elem":{"schema":{"day_of_week":{"type":"TypeString","required":true},"maintenance_window_duration_in_minutes":{"type":"TypeInt","required":true},"maintenance_window_starting_hour":{"type":"TypeInt","required":true}}},"maxItems":1},"key_vault_credential":{"type":"TypeList","optional":true,"elem":{"schema":{"key_vault_url":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true},"service_principal_name":{"type":"TypeString","required":true,"forceNew":true},"service_principal_secret":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"r_services_enabled":{"type":"TypeBool","optional":true},"sql_connectivity_port":{"type":"TypeInt","optional":true,"default":1433},"sql_connectivity_type":{"type":"TypeString","optional":true,"default":"PRIVATE"},"sql_connectivity_update_password":{"type":"TypeString","optional":true},"sql_connectivity_update_username":{"type":"TypeString","optional":true},"sql_instance":{"type":"TypeList","optional":true,"elem":{"schema":{"adhoc_workloads_optimization_enabled":{"type":"TypeBool","optional":true,"default":false},"collation":{"type":"TypeString","optional":true,"default":"SQL_Latin1_General_CP1_CI_AS","forceNew":true},"instant_file_initialization_enabled":{"type":"TypeBool","optional":true,"default":false,"forceNew":true},"lock_pages_in_memory_enabled":{"type":"TypeBool","optional":true,"default":false,"forceNew":true},"max_dop":{"type":"TypeInt","optional":true,"default":0},"max_server_memory_mb":{"type":"TypeInt","optional":true,"default":2147483647},"min_server_memory_mb":{"type":"TypeInt","optional":true,"default":0}}},"maxItems":1},"sql_license_type":{"type":"TypeString","optional":true,"forceNew":true},"sql_virtual_machine_group_id":{"type":"TypeString","optional":true},"storage_configuration":{"type":"TypeList","optional":true,"elem":{"schema":{"data_settings":{"type":"TypeList","optional":true,"elem":{"schema":{"default_file_path":{"type":"TypeString","required":true},"luns":{"type":"TypeList","required":true,"elem":{"type":"TypeInt"}}}},"maxItems":1},"disk_type":{"type":"TypeString","required":true},"log_settings":{"type":"TypeList","optional":true,"elem":{"schema":{"default_file_path":{"type":"TypeString","required":true},"luns":{"type":"TypeList","required":true,"elem":{"type":"TypeInt"}}}},"maxItems":1},"storage_workload_type":{"type":"TypeString","required":true},"system_db_on_data_disk_enabled":{"type":"TypeBool","optional":true,"default":false},"temp_db_settings":{"type":"TypeList","optional":true,"elem":{"schema":{"data_file_count":{"type":"TypeInt","optional":true,"default":8},"data_file_growth_in_mb":{"type":"TypeInt","optional":true,"default":512},"data_file_size_mb":{"type":"TypeInt","optional":true,"default":256},"default_file_path":{"type":"TypeString","required":true},"log_file_growth_mb":{"type":"TypeInt","optional":true,"default":512},"log_file_size_mb":{"type":"TypeInt","optional":true,"default":256},"luns":{"type":"TypeList","required":true,"elem":{"type":"TypeInt"}}}},"maxItems":1}}},"maxItems":1},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"virtual_machine_id":{"type":"TypeString","required":true,"forceNew":true},"wsfc_domain_credential":{"type":"TypeList","optional":true,"elem":{"schema":{"cluster_bootstrap_account_password":{"type":"TypeString","required":true},"cluster_operator_account_password":{"type":"TypeString","required":true},"sql_service_account_password":{"type":"TypeString","required":true}}},"maxItems":1}},"timeouts":{"create":60,"read":5,"delete":60,"update":60}},"azurerm_mssql_virtual_machine_availability_group_listener":{"schema":{"availability_group_name":{"type":"TypeString","optional":true,"forceNew":true},"load_balancer_configuration":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"load_balancer_id":{"type":"TypeString","required":true,"forceNew":true},"private_ip_address":{"type":"TypeString","required":true,"forceNew":true},"probe_port":{"type":"TypeInt","required":true,"forceNew":true},"sql_virtual_machine_ids":{"type":"TypeSet","required":true,"forceNew":true,"elem":{"type":"TypeString"}},"subnet_id":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"multi_subnet_ip_configuration":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"schema":{"private_ip_address":{"type":"TypeString","required":true,"forceNew":true},"sql_virtual_machine_id":{"type":"TypeString","required":true,"forceNew":true},"subnet_id":{"type":"TypeString","required":true,"forceNew":true}}}},"name":{"type":"TypeString","required":true,"forceNew":true},"port":{"type":"TypeInt","optional":true,"forceNew":true},"replica":{"type":"TypeSet","required":true,"forceNew":true,"elem":{"schema":{"commit":{"type":"TypeString","required":true,"forceNew":true},"failover_mode":{"type":"TypeString","required":true,"forceNew":true},"readable_secondary":{"type":"TypeString","required":true,"forceNew":true},"role":{"type":"TypeString","required":true,"forceNew":true},"sql_virtual_machine_id":{"type":"TypeString","required":true,"forceNew":true}}}},"sql_virtual_machine_group_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_mssql_virtual_machine_group":{"schema":{"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"sql_image_offer":{"type":"TypeString","required":true,"forceNew":true},"sql_image_sku":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"wsfc_domain_profile":{"type":"TypeList","required":true,"elem":{"schema":{"cluster_bootstrap_account_name":{"type":"TypeString","optional":true,"forceNew":true},"cluster_operator_account_name":{"type":"TypeString","optional":true,"forceNew":true},"cluster_subnet_type":{"type":"TypeString","required":true,"forceNew":true},"fqdn":{"type":"TypeString","required":true,"forceNew":true},"organizational_unit_path":{"type":"TypeString","optional":true,"forceNew":true},"sql_service_account_name":{"type":"TypeString","optional":true,"forceNew":true},"storage_account_primary_key":{"type":"TypeString","optional":true},"storage_account_url":{"type":"TypeString","optional":true,"forceNew":true}}},"maxItems":1}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_mssql_virtual_network_rule":{"schema":{"ignore_missing_vnet_service_endpoint":{"type":"TypeBool","optional":true,"default":false},"name":{"type":"TypeString","required":true,"forceNew":true},"server_id":{"type":"TypeString","required":true,"forceNew":true},"subnet_id":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_mysql_flexible_database":{"schema":{"charset":{"type":"TypeString","required":true,"forceNew":true},"collation":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"server_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":60,"read":5,"delete":60}},"azurerm_mysql_flexible_server":{"schema":{"administrator_login":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"administrator_password":{"type":"TypeString","optional":true},"backup_retention_days":{"type":"TypeInt","optional":true,"default":7},"create_mode":{"type":"TypeString","optional":true,"forceNew":true},"customer_managed_key":{"type":"TypeList","optional":true,"elem":{"schema":{"geo_backup_key_vault_key_id":{"type":"TypeString","optional":true},"geo_backup_user_assigned_identity_id":{"type":"TypeString","optional":true},"key_vault_key_id":{"type":"TypeString","optional":true},"primary_user_assigned_identity_id":{"type":"TypeString","optional":true}}},"maxItems":1},"delegated_subnet_id":{"type":"TypeString","optional":true,"forceNew":true},"fqdn":{"type":"TypeString","computed":true},"geo_redundant_backup_enabled":{"type":"TypeBool","optional":true,"default":false,"forceNew":true},"high_availability":{"type":"TypeList","optional":true,"elem":{"schema":{"mode":{"type":"TypeString","required":true},"standby_availability_zone":{"type":"TypeString","optional":true}}},"maxItems":1},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}},"type":{"type":"TypeString","required":true}}},"maxItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"maintenance_window":{"type":"TypeList","optional":true,"elem":{"schema":{"day_of_week":{"type":"TypeInt","optional":true,"default":0},"start_hour":{"type":"TypeInt","optional":true,"default":0},"start_minute":{"type":"TypeInt","optional":true,"default":0}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"point_in_time_restore_time_in_utc":{"type":"TypeString","optional":true,"forceNew":true},"private_dns_zone_id":{"type":"TypeString","optional":true,"forceNew":true},"public_network_access_enabled":{"type":"TypeBool","computed":true},"replica_capacity":{"type":"TypeInt","computed":true},"replication_role":{"type":"TypeString","optional":true,"computed":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"sku_name":{"type":"TypeString","optional":true,"computed":true},"source_server_id":{"type":"TypeString","optional":true,"forceNew":true},"storage":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"auto_grow_enabled":{"type":"TypeBool","optional":true,"default":true},"io_scaling_enabled":{"type":"TypeBool","optional":true,"default":false},"iops":{"type":"TypeInt","optional":true,"computed":true},"size_gb":{"type":"TypeInt","optional":true,"computed":true}}},"maxItems":1},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"version":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"zone":{"type":"TypeString","optional":true}},"timeouts":{"create":60,"read":5,"delete":60,"update":60}},"azurerm_mysql_flexible_server_active_directory_administrator":{"schema":{"identity_id":{"type":"TypeString","required":true},"login":{"type":"TypeString","required":true},"object_id":{"type":"TypeString","required":true},"server_id":{"type":"TypeString","required":true,"forceNew":true},"tenant_id":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_mysql_flexible_server_configuration":{"schema":{"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"server_name":{"type":"TypeString","required":true,"forceNew":true},"value":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_mysql_flexible_server_firewall_rule":{"schema":{"end_ip_address":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"server_name":{"type":"TypeString","required":true,"forceNew":true},"start_ip_address":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_nat_gateway":{"schema":{"idle_timeout_in_minutes":{"type":"TypeInt","optional":true,"default":4},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"resource_guid":{"type":"TypeString","computed":true},"sku_name":{"type":"TypeString","optional":true,"default":"Standard"},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"zones":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":60,"read":5,"delete":60,"update":60}},"azurerm_nat_gateway_public_ip_association":{"schema":{"nat_gateway_id":{"type":"TypeString","required":true,"forceNew":true},"public_ip_address_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_nat_gateway_public_ip_prefix_association":{"schema":{"nat_gateway_id":{"type":"TypeString","required":true,"forceNew":true},"public_ip_prefix_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_netapp_account":{"schema":{"active_directory":{"type":"TypeList","optional":true,"elem":{"schema":{"aes_encryption_enabled":{"type":"TypeBool","optional":true,"default":false,"description":"If enabled, AES encryption will be enabled for SMB communication."},"dns_servers":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}},"domain":{"type":"TypeString","required":true},"kerberos_ad_name":{"type":"TypeString","optional":true,"description":"Name of the active directory machine. This optional parameter is used only while creating kerberos volume."},"kerberos_kdc_ip":{"type":"TypeString","optional":true,"description":"IP address of the KDC server (usually same the DC). This optional parameter is used only while creating kerberos volume."},"ldap_over_tls_enabled":{"type":"TypeBool","optional":true,"default":false,"description":"Specifies whether or not the LDAP traffic needs to be secured via TLS."},"ldap_signing_enabled":{"type":"TypeBool","optional":true,"default":false,"description":"Specifies whether or not the LDAP traffic needs to be signed."},"local_nfs_users_with_ldap_allowed":{"type":"TypeBool","optional":true,"default":false,"description":"If enabled, NFS client local users can also (in addition to LDAP users) access the NFS volumes."},"organizational_unit":{"type":"TypeString","optional":true,"default":"CN=Computers","description":"The Organizational Unit (OU) within the Windows Active Directory where machines will be created. If blank, defaults to 'CN=Computers'"},"password":{"type":"TypeString","required":true},"server_root_ca_certificate":{"type":"TypeString","optional":true,"description":"When LDAP over SSL/TLS is enabled, the LDAP client is required to have base64 encoded Active Directory Certificate Service's self-signed root CA certificate, this optional parameter is used only for dual protocol with LDAP user-mapping volumes."},"site_name":{"type":"TypeString","optional":true,"default":"Default-First-Site-Name","description":"The Active Directory site the service will limit Domain Controller discovery to. If blank, defaults to 'Default-First-Site-Name'"},"smb_server_name":{"type":"TypeString","required":true},"username":{"type":"TypeString","required":true}}},"maxItems":1},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_netapp_account_encryption":{"schema":{"encryption_key":{"type":"TypeString","required":true,"description":"The versionless encryption key url."},"netapp_account_id":{"type":"TypeString","required":true,"description":"The ID of the NetApp Account where encryption will be set."},"system_assigned_identity_principal_id":{"type":"TypeString","optional":true,"description":"The Principal ID of the System Assigned Identity to use for encryption."},"user_assigned_identity_id":{"type":"TypeString","optional":true,"description":"The resource ID of the User Assigned Identity to use for encryption."}},"timeouts":{"create":90,"read":5,"delete":120,"update":120}},"azurerm_netapp_pool":{"schema":{"account_name":{"type":"TypeString","required":true,"forceNew":true},"encryption_type":{"type":"TypeString","optional":true,"default":"Single","forceNew":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"qos_type":{"type":"TypeString","optional":true,"default":"Auto"},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"service_level":{"type":"TypeString","required":true,"forceNew":true},"size_in_tb":{"type":"TypeInt","required":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_netapp_snapshot":{"schema":{"account_name":{"type":"TypeString","required":true,"forceNew":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"pool_name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"volume_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_netapp_snapshot_policy":{"schema":{"account_name":{"type":"TypeString","required":true,"forceNew":true},"daily_schedule":{"type":"TypeList","optional":true,"elem":{"schema":{"hour":{"type":"TypeInt","required":true},"minute":{"type":"TypeInt","required":true},"snapshots_to_keep":{"type":"TypeInt","required":true}}},"maxItems":1},"enabled":{"type":"TypeBool","required":true},"hourly_schedule":{"type":"TypeList","optional":true,"elem":{"schema":{"minute":{"type":"TypeInt","required":true},"snapshots_to_keep":{"type":"TypeInt","required":true}}},"maxItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"monthly_schedule":{"type":"TypeList","optional":true,"elem":{"schema":{"days_of_month":{"type":"TypeSet","required":true,"elem":{"type":"TypeInt"},"maxItems":30},"hour":{"type":"TypeInt","required":true},"minute":{"type":"TypeInt","required":true},"snapshots_to_keep":{"type":"TypeInt","required":true}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"weekly_schedule":{"type":"TypeList","optional":true,"elem":{"schema":{"days_of_week":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"},"maxItems":7},"hour":{"type":"TypeInt","required":true},"minute":{"type":"TypeInt","required":true},"snapshots_to_keep":{"type":"TypeInt","required":true}}},"maxItems":1}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_netapp_volume":{"schema":{"account_name":{"type":"TypeString","required":true,"forceNew":true},"azure_vmware_data_store_enabled":{"type":"TypeBool","optional":true,"default":false,"forceNew":true},"create_from_snapshot_resource_id":{"type":"TypeString","optional":true,"forceNew":true},"data_protection_replication":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"endpoint_type":{"type":"TypeString","optional":true,"default":"dst"},"remote_volume_location":{"type":"TypeString","required":true,"forceNew":true},"remote_volume_resource_id":{"type":"TypeString","required":true},"replication_frequency":{"type":"TypeString","required":true}}},"maxItems":1},"data_protection_snapshot_policy":{"type":"TypeList","optional":true,"elem":{"schema":{"snapshot_policy_id":{"type":"TypeString","required":true}}},"maxItems":1},"encryption_key_source":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"export_policy_rule":{"type":"TypeList","optional":true,"elem":{"schema":{"allowed_clients":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}},"kerberos_5_read_only_enabled":{"type":"TypeBool","optional":true},"kerberos_5_read_write_enabled":{"type":"TypeBool","optional":true},"kerberos_5i_read_only_enabled":{"type":"TypeBool","optional":true},"kerberos_5i_read_write_enabled":{"type":"TypeBool","optional":true},"kerberos_5p_read_only_enabled":{"type":"TypeBool","optional":true},"kerberos_5p_read_write_enabled":{"type":"TypeBool","optional":true},"protocols_enabled":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"maxItems":1,"minItems":1},"root_access_enabled":{"type":"TypeBool","optional":true},"rule_index":{"type":"TypeInt","required":true},"unix_read_only":{"type":"TypeBool","optional":true},"unix_read_write":{"type":"TypeBool","optional":true}}},"maxItems":5},"kerberos_enabled":{"type":"TypeBool","optional":true,"description":"Enable to allow Kerberos secured volumes. Requires appropriate export rules as well as the parent `azurerm_netapp_account` having a defined AD connection.","forceNew":true},"key_vault_private_endpoint_id":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"location":{"type":"TypeString","required":true,"forceNew":true},"mount_ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true,"forceNew":true},"network_features":{"type":"TypeString","optional":true,"default":"Basic"},"pool_name":{"type":"TypeString","required":true,"forceNew":true},"protocols":{"type":"TypeSet","optional":true,"computed":true,"forceNew":true,"elem":{"type":"TypeString"},"maxItems":2},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"security_style":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"service_level":{"type":"TypeString","required":true,"forceNew":true},"smb3_protocol_encryption_enabled":{"type":"TypeBool","optional":true,"description":"SMB3 encryption option should be used only for SMB/DualProtocol volumes. Using it for any other workloads is not supported.","forceNew":true},"smb_access_based_enumeration_enabled":{"type":"TypeBool","optional":true,"default":false,"description":"Enable access based enumeration setting for SMB/Dual Protocol volume. When enabled, users who do not have permission to access a shared folder or file underneath it, do not see that shared resource displayed in their environment."},"smb_continuous_availability_enabled":{"type":"TypeBool","optional":true,"description":"Continuous availability option should be used only for SQL and FSLogix workloads. Using it for any other SMB workloads is not supported.","forceNew":true},"smb_non_browsable_enabled":{"type":"TypeBool","optional":true,"default":false,"description":"Enable non browsable share setting for SMB/Dual Protocol volume. When enabled, it restricts windows clients to browse the share"},"snapshot_directory_visible":{"type":"TypeBool","optional":true,"computed":true},"storage_quota_in_gb":{"type":"TypeInt","required":true},"subnet_id":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"throughput_in_mibps":{"type":"TypeFloat","optional":true,"computed":true},"volume_path":{"type":"TypeString","required":true,"forceNew":true},"zone":{"type":"TypeString","optional":true,"forceNew":true}},"timeouts":{"create":60,"read":5,"delete":60,"update":60}},"azurerm_netapp_volume_group_sap_hana":{"schema":{"account_name":{"type":"TypeString","required":true,"forceNew":true},"application_identifier":{"type":"TypeString","required":true,"forceNew":true},"group_description":{"type":"TypeString","required":true,"forceNew":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"volume":{"type":"TypeList","required":true,"elem":{"schema":{"capacity_pool_id":{"type":"TypeString","required":true,"forceNew":true},"data_protection_replication":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"endpoint_type":{"type":"TypeString","optional":true,"default":"dst"},"remote_volume_location":{"type":"TypeString","required":true},"remote_volume_resource_id":{"type":"TypeString","required":true},"replication_frequency":{"type":"TypeString","required":true}}},"maxItems":1},"data_protection_snapshot_policy":{"type":"TypeList","optional":true,"elem":{"schema":{"snapshot_policy_id":{"type":"TypeString","required":true}}},"maxItems":1},"export_policy_rule":{"type":"TypeList","required":true,"elem":{"schema":{"allowed_clients":{"type":"TypeString","required":true},"nfsv3_enabled":{"type":"TypeBool","required":true},"nfsv41_enabled":{"type":"TypeBool","required":true},"root_access_enabled":{"type":"TypeBool","optional":true,"default":true},"rule_index":{"type":"TypeInt","required":true},"unix_read_only":{"type":"TypeBool","optional":true,"default":false},"unix_read_write":{"type":"TypeBool","optional":true,"default":true}}},"maxItems":5,"minItems":1},"id":{"type":"TypeString","computed":true},"mount_ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true,"forceNew":true},"protocols":{"type":"TypeList","required":true,"forceNew":true,"elem":{"type":"TypeString"},"maxItems":1,"minItems":1},"proximity_placement_group_id":{"type":"TypeString","optional":true,"forceNew":true},"security_style":{"type":"TypeString","required":true,"forceNew":true},"service_level":{"type":"TypeString","required":true,"forceNew":true},"snapshot_directory_visible":{"type":"TypeBool","required":true,"forceNew":true},"storage_quota_in_gb":{"type":"TypeInt","required":true},"subnet_id":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"throughput_in_mibps":{"type":"TypeFloat","required":true},"volume_path":{"type":"TypeString","required":true,"forceNew":true},"volume_spec_name":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":5,"minItems":2}},"timeouts":{"create":90,"read":5,"delete":120,"update":120}},"azurerm_netapp_volume_quota_rule":{"schema":{"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"quota_size_in_kib":{"type":"TypeInt","required":true},"quota_target":{"type":"TypeString","optional":true,"forceNew":true},"quota_type":{"type":"TypeString","required":true,"forceNew":true},"volume_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":90,"read":5,"delete":120,"update":120}},"azurerm_network_connection_monitor":{"schema":{"endpoint":{"type":"TypeSet","required":true,"elem":{"schema":{"address":{"type":"TypeString","optional":true},"coverage_level":{"type":"TypeString","optional":true},"excluded_ip_addresses":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"filter":{"type":"TypeList","optional":true,"elem":{"schema":{"item":{"type":"TypeSet","optional":true,"elem":{"schema":{"address":{"type":"TypeString","optional":true},"type":{"type":"TypeString","optional":true,"default":"AgentAddress"}}}},"type":{"type":"TypeString","optional":true,"default":"Include"}}},"maxItems":1},"included_ip_addresses":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true},"target_resource_id":{"type":"TypeString","optional":true},"target_resource_type":{"type":"TypeString","optional":true}}}},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"network_watcher_id":{"type":"TypeString","required":true,"forceNew":true},"notes":{"type":"TypeString","optional":true},"output_workspace_resource_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"test_configuration":{"type":"TypeSet","required":true,"elem":{"schema":{"http_configuration":{"type":"TypeList","optional":true,"elem":{"schema":{"method":{"type":"TypeString","optional":true,"default":"Get"},"path":{"type":"TypeString","optional":true},"port":{"type":"TypeInt","optional":true},"prefer_https":{"type":"TypeBool","optional":true,"default":false},"request_header":{"type":"TypeSet","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"value":{"type":"TypeString","required":true}}}},"valid_status_code_ranges":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"icmp_configuration":{"type":"TypeList","optional":true,"elem":{"schema":{"trace_route_enabled":{"type":"TypeBool","optional":true,"default":true}}},"maxItems":1},"name":{"type":"TypeString","required":true},"preferred_ip_version":{"type":"TypeString","optional":true},"protocol":{"type":"TypeString","required":true},"success_threshold":{"type":"TypeList","optional":true,"elem":{"schema":{"checks_failed_percent":{"type":"TypeInt","optional":true},"round_trip_time_ms":{"type":"TypeFloat","optional":true}}},"maxItems":1},"tcp_configuration":{"type":"TypeList","optional":true,"elem":{"schema":{"destination_port_behavior":{"type":"TypeString","optional":true},"port":{"type":"TypeInt","required":true},"trace_route_enabled":{"type":"TypeBool","optional":true,"default":true}}},"maxItems":1},"test_frequency_in_seconds":{"type":"TypeInt","optional":true,"default":60}}}},"test_group":{"type":"TypeSet","required":true,"elem":{"schema":{"destination_endpoints":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}},"enabled":{"type":"TypeBool","optional":true,"default":true},"name":{"type":"TypeString","required":true},"source_endpoints":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}},"test_configuration_names":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}}}}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_network_ddos_protection_plan":{"schema":{"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"virtual_network_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_network_function_azure_traffic_collector":{"schema":{"collector_policy_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"virtual_hub_id":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_network_function_collector_policy":{"schema":{"ipfx_emission":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"destination_types":{"type":"TypeList","required":true,"forceNew":true,"elem":{"type":"TypeString"},"maxItems":1}}},"maxItems":1},"ipfx_ingestion":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"source_resource_ids":{"type":"TypeList","required":true,"forceNew":true,"elem":{"type":"TypeString"},"minItems":1}}},"maxItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"traffic_collector_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_network_interface":{"schema":{"accelerated_networking_enabled":{"type":"TypeBool","optional":true},"applied_dns_servers":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"auxiliary_mode":{"type":"TypeString","optional":true},"auxiliary_sku":{"type":"TypeString","optional":true},"dns_servers":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"edge_zone":{"type":"TypeString","optional":true,"forceNew":true},"internal_dns_name_label":{"type":"TypeString","optional":true},"internal_domain_name_suffix":{"type":"TypeString","computed":true},"ip_configuration":{"type":"TypeList","required":true,"elem":{"schema":{"gateway_load_balancer_frontend_ip_configuration_id":{"type":"TypeString","optional":true,"computed":true},"name":{"type":"TypeString","required":true},"primary":{"type":"TypeBool","optional":true,"computed":true},"private_ip_address":{"type":"TypeString","optional":true,"computed":true},"private_ip_address_allocation":{"type":"TypeString","required":true},"private_ip_address_version":{"type":"TypeString","optional":true,"default":"IPv4"},"public_ip_address_id":{"type":"TypeString","optional":true},"subnet_id":{"type":"TypeString","optional":true}}}},"ip_forwarding_enabled":{"type":"TypeBool","optional":true},"location":{"type":"TypeString","required":true,"forceNew":true},"mac_address":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true,"forceNew":true},"private_ip_address":{"type":"TypeString","computed":true},"private_ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"virtual_machine_id":{"type":"TypeString","computed":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_network_interface_application_gateway_backend_address_pool_association":{"schema":{"backend_address_pool_id":{"type":"TypeString","required":true,"forceNew":true},"ip_configuration_name":{"type":"TypeString","required":true,"forceNew":true},"network_interface_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_network_interface_application_security_group_association":{"schema":{"application_security_group_id":{"type":"TypeString","required":true,"forceNew":true},"network_interface_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_network_interface_backend_address_pool_association":{"schema":{"backend_address_pool_id":{"type":"TypeString","required":true,"forceNew":true},"ip_configuration_name":{"type":"TypeString","required":true,"forceNew":true},"network_interface_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_network_interface_nat_rule_association":{"schema":{"ip_configuration_name":{"type":"TypeString","required":true,"forceNew":true},"nat_rule_id":{"type":"TypeString","required":true,"forceNew":true},"network_interface_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_network_interface_security_group_association":{"schema":{"network_interface_id":{"type":"TypeString","required":true,"forceNew":true},"network_security_group_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_network_manager":{"schema":{"cross_tenant_scopes":{"type":"TypeList","computed":true,"elem":{"schema":{"management_groups":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"subscriptions":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"tenant_id":{"type":"TypeString","computed":true}}}},"description":{"type":"TypeString","optional":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"scope":{"type":"TypeList","required":true,"elem":{"schema":{"management_group_ids":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"subscription_ids":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1,"minItems":1},"scope_accesses":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"minItems":1},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_network_manager_admin_rule":{"schema":{"action":{"type":"TypeString","required":true},"admin_rule_collection_id":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"destination":{"type":"TypeList","optional":true,"elem":{"schema":{"address_prefix":{"type":"TypeString","required":true},"address_prefix_type":{"type":"TypeString","required":true}}}},"destination_port_ranges":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"direction":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true,"forceNew":true},"priority":{"type":"TypeInt","required":true},"protocol":{"type":"TypeString","required":true},"source":{"type":"TypeList","optional":true,"elem":{"schema":{"address_prefix":{"type":"TypeString","required":true},"address_prefix_type":{"type":"TypeString","required":true}}}},"source_port_ranges":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_network_manager_admin_rule_collection":{"schema":{"description":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"network_group_ids":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}},"security_admin_configuration_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_network_manager_connectivity_configuration":{"schema":{"applies_to_group":{"type":"TypeList","required":true,"elem":{"schema":{"global_mesh_enabled":{"type":"TypeBool","optional":true},"group_connectivity":{"type":"TypeString","required":true},"network_group_id":{"type":"TypeString","required":true},"use_hub_gateway":{"type":"TypeBool","optional":true}}}},"connectivity_topology":{"type":"TypeString","required":true},"delete_existing_peering_enabled":{"type":"TypeBool","optional":true},"description":{"type":"TypeString","optional":true},"global_mesh_enabled":{"type":"TypeBool","optional":true},"hub":{"type":"TypeList","optional":true,"elem":{"schema":{"resource_id":{"type":"TypeString","required":true},"resource_type":{"type":"TypeString","required":true}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"network_manager_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_network_manager_deployment":{"schema":{"configuration_ids":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}},"location":{"type":"TypeString","required":true,"forceNew":true},"network_manager_id":{"type":"TypeString","required":true,"forceNew":true},"scope_access":{"type":"TypeString","required":true,"forceNew":true},"triggers":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":1440,"read":5,"delete":1440,"update":1440}},"azurerm_network_manager_management_group_connection":{"schema":{"connection_state":{"type":"TypeString","computed":true},"description":{"type":"TypeString","optional":true},"management_group_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"network_manager_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_network_manager_network_group":{"schema":{"description":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"network_manager_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_network_manager_scope_connection":{"schema":{"connection_state":{"type":"TypeString","computed":true},"description":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"network_manager_id":{"type":"TypeString","required":true,"forceNew":true},"target_scope_id":{"type":"TypeString","required":true},"tenant_id":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_network_manager_security_admin_configuration":{"schema":{"apply_on_network_intent_policy_based_services":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"maxItems":1},"description":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"network_manager_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_network_manager_static_member":{"schema":{"name":{"type":"TypeString","required":true,"forceNew":true},"network_group_id":{"type":"TypeString","required":true,"forceNew":true},"region":{"type":"TypeString","computed":true},"target_virtual_network_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_network_manager_subscription_connection":{"schema":{"connection_state":{"type":"TypeString","computed":true},"description":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"network_manager_id":{"type":"TypeString","required":true},"subscription_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_network_packet_capture":{"schema":{"filter":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"local_ip_address":{"type":"TypeString","optional":true,"forceNew":true},"local_port":{"type":"TypeString","optional":true,"forceNew":true},"protocol":{"type":"TypeString","required":true,"forceNew":true},"remote_ip_address":{"type":"TypeString","optional":true,"forceNew":true},"remote_port":{"type":"TypeString","optional":true,"forceNew":true}}}},"maximum_bytes_per_packet":{"type":"TypeInt","optional":true,"default":0,"forceNew":true},"maximum_bytes_per_session":{"type":"TypeInt","optional":true,"default":1073741824,"forceNew":true},"maximum_capture_duration":{"type":"TypeInt","optional":true,"default":18000,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"network_watcher_name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"storage_location":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"file_path":{"type":"TypeString","optional":true},"storage_account_id":{"type":"TypeString","optional":true},"storage_path":{"type":"TypeString","computed":true}}},"maxItems":1},"target_resource_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_network_profile":{"schema":{"container_network_interface":{"type":"TypeList","required":true,"elem":{"schema":{"ip_configuration":{"type":"TypeList","required":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"subnet_id":{"type":"TypeString","required":true}}}},"name":{"type":"TypeString","required":true}}},"maxItems":1},"container_network_interface_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_network_security_group":{"schema":{"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"security_rule":{"type":"TypeSet","configMode":"Auto","optional":true,"computed":true,"elem":{"schema":{"access":{"type":"TypeString","required":true},"description":{"type":"TypeString","optional":true},"destination_address_prefix":{"type":"TypeString","optional":true},"destination_address_prefixes":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"destination_application_security_group_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"destination_port_range":{"type":"TypeString","optional":true},"destination_port_ranges":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"direction":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true},"priority":{"type":"TypeInt","required":true},"protocol":{"type":"TypeString","required":true},"source_address_prefix":{"type":"TypeString","optional":true},"source_address_prefixes":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"source_application_security_group_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"source_port_range":{"type":"TypeString","optional":true},"source_port_ranges":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}}}}},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_network_security_rule":{"schema":{"access":{"type":"TypeString","required":true},"description":{"type":"TypeString","optional":true},"destination_address_prefix":{"type":"TypeString","optional":true},"destination_address_prefixes":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"destination_application_security_group_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":10},"destination_port_range":{"type":"TypeString","optional":true},"destination_port_ranges":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"direction":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true,"forceNew":true},"network_security_group_name":{"type":"TypeString","required":true,"forceNew":true},"priority":{"type":"TypeInt","required":true},"protocol":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"source_address_prefix":{"type":"TypeString","optional":true},"source_address_prefixes":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"source_application_security_group_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":10},"source_port_range":{"type":"TypeString","optional":true},"source_port_ranges":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_network_watcher":{"schema":{"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_network_watcher_flow_log":{"schema":{"enabled":{"type":"TypeBool","required":true},"location":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"network_security_group_id":{"type":"TypeString","required":true,"forceNew":true},"network_watcher_name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"retention_policy":{"type":"TypeList","required":true,"elem":{"schema":{"days":{"type":"TypeInt","required":true},"enabled":{"type":"TypeBool","required":true}}},"maxItems":1},"storage_account_id":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"traffic_analytics":{"type":"TypeList","optional":true,"elem":{"schema":{"enabled":{"type":"TypeBool","required":true},"interval_in_minutes":{"type":"TypeInt","optional":true,"default":60},"workspace_id":{"type":"TypeString","required":true},"workspace_region":{"type":"TypeString","required":true},"workspace_resource_id":{"type":"TypeString","required":true}}},"maxItems":1},"version":{"type":"TypeInt","optional":true,"default":1}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_new_relic_monitor":{"schema":{"account_creation_source":{"type":"TypeString","optional":true,"default":"LIFTR","forceNew":true},"account_id":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"identity":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"ingestion_key":{"type":"TypeString","optional":true,"forceNew":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"org_creation_source":{"type":"TypeString","optional":true,"default":"LIFTR","forceNew":true},"organization_id":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"plan":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"billing_cycle":{"type":"TypeString","optional":true,"default":"MONTHLY","forceNew":true},"effective_date":{"type":"TypeString","required":true,"forceNew":true},"plan_id":{"type":"TypeString","optional":true,"default":"newrelic-pay-as-you-go-free-live","forceNew":true},"usage_type":{"type":"TypeString","optional":true,"default":"PAYG","forceNew":true}}},"maxItems":1},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"user":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"email":{"type":"TypeString","required":true,"forceNew":true},"first_name":{"type":"TypeString","required":true,"forceNew":true},"last_name":{"type":"TypeString","required":true,"forceNew":true},"phone_number":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"user_id":{"type":"TypeString","optional":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_new_relic_tag_rule":{"schema":{"activity_log_enabled":{"type":"TypeBool","optional":true,"default":false},"azure_active_directory_log_enabled":{"type":"TypeBool","optional":true,"default":false},"log_tag_filter":{"type":"TypeList","optional":true,"elem":{"schema":{"action":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true},"value":{"type":"TypeString","required":true}}}},"metric_enabled":{"type":"TypeBool","optional":true,"default":false},"metric_tag_filter":{"type":"TypeList","optional":true,"elem":{"schema":{"action":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true},"value":{"type":"TypeString","required":true}}}},"monitor_id":{"type":"TypeString","required":true,"forceNew":true},"subscription_log_enabled":{"type":"TypeBool","optional":true,"default":false}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_nginx_certificate":{"schema":{"certificate_virtual_path":{"type":"TypeString","required":true},"key_vault_secret_id":{"type":"TypeString","required":true},"key_virtual_path":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true,"forceNew":true},"nginx_deployment_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":10,"update":30}},"azurerm_nginx_configuration":{"schema":{"config_file":{"type":"TypeSet","optional":true,"elem":{"schema":{"content":{"type":"TypeString","required":true},"virtual_path":{"type":"TypeString","required":true}}}},"nginx_deployment_id":{"type":"TypeString","required":true,"forceNew":true},"package_data":{"type":"TypeString","optional":true},"protected_file":{"type":"TypeSet","optional":true,"elem":{"schema":{"content":{"type":"TypeString","required":true},"virtual_path":{"type":"TypeString","required":true}}}},"root_file":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":10,"update":10}},"azurerm_nginx_deployment":{"schema":{"auto_scale_profile":{"type":"TypeList","optional":true,"elem":{"schema":{"max_capacity":{"type":"TypeInt","required":true},"min_capacity":{"type":"TypeInt","required":true},"name":{"type":"TypeString","required":true}}}},"automatic_upgrade_channel":{"type":"TypeString","optional":true,"default":"stable"},"capacity":{"type":"TypeInt","optional":true},"diagnose_support_enabled":{"type":"TypeBool","optional":true},"email":{"type":"TypeString","optional":true},"frontend_private":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"allocation_method":{"type":"TypeString","required":true,"forceNew":true},"ip_address":{"type":"TypeString","required":true,"forceNew":true},"subnet_id":{"type":"TypeString","required":true,"forceNew":true}}}},"frontend_public":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"ip_address":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"ip_address":{"type":"TypeString","computed":true},"location":{"type":"TypeString","required":true,"forceNew":true},"logging_storage_account":{"type":"TypeList","optional":true,"elem":{"schema":{"container_name":{"type":"TypeString","optional":true},"name":{"type":"TypeString","optional":true}}}},"managed_resource_group":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"network_interface":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"subnet_id":{"type":"TypeString","required":true,"forceNew":true}}}},"nginx_version":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"sku":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_notification_hub":{"schema":{"apns_credential":{"type":"TypeList","optional":true,"elem":{"schema":{"application_mode":{"type":"TypeString","required":true},"bundle_id":{"type":"TypeString","required":true},"key_id":{"type":"TypeString","required":true},"team_id":{"type":"TypeString","required":true},"token":{"type":"TypeString","required":true}}},"maxItems":1},"browser_credential":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"subject":{"type":"TypeString","required":true},"vapid_private_key":{"type":"TypeString","required":true},"vapid_public_key":{"type":"TypeString","required":true}}},"maxItems":1},"gcm_credential":{"type":"TypeList","optional":true,"elem":{"schema":{"api_key":{"type":"TypeString","required":true}}},"maxItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"namespace_name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_notification_hub_authorization_rule":{"schema":{"listen":{"type":"TypeBool","optional":true,"default":false},"manage":{"type":"TypeBool","optional":true,"default":false},"name":{"type":"TypeString","required":true,"forceNew":true},"namespace_name":{"type":"TypeString","required":true,"forceNew":true},"notification_hub_name":{"type":"TypeString","required":true,"forceNew":true},"primary_access_key":{"type":"TypeString","computed":true},"primary_connection_string":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"secondary_access_key":{"type":"TypeString","computed":true},"secondary_connection_string":{"type":"TypeString","computed":true},"send":{"type":"TypeBool","optional":true,"default":false}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_notification_hub_namespace":{"schema":{"enabled":{"type":"TypeBool","optional":true,"default":true,"forceNew":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"namespace_type":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"servicebus_endpoint":{"type":"TypeString","computed":true},"sku_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_oracle_autonomous_database":{"schema":{"admin_password":{"type":"TypeString","required":true,"forceNew":true},"auto_scaling_enabled":{"type":"TypeBool","required":true},"auto_scaling_for_storage_enabled":{"type":"TypeBool","required":true},"backup_retention_period_in_days":{"type":"TypeInt","required":true,"forceNew":true},"character_set":{"type":"TypeString","required":true,"forceNew":true},"compute_count":{"type":"TypeFloat","required":true},"compute_model":{"type":"TypeString","required":true,"forceNew":true},"customer_contacts":{"type":"TypeList","optional":true,"computed":true,"forceNew":true,"elem":{"type":"TypeString"}},"data_storage_size_in_tbs":{"type":"TypeInt","required":true},"db_version":{"type":"TypeString","required":true,"forceNew":true},"db_workload":{"type":"TypeString","required":true,"forceNew":true},"display_name":{"type":"TypeString","required":true,"forceNew":true},"license_model":{"type":"TypeString","required":true,"forceNew":true},"location":{"type":"TypeString","required":true,"forceNew":true},"mtls_connection_required":{"type":"TypeBool","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"national_character_set":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"subnet_id":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"virtual_network_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":120,"read":5,"delete":30,"update":30}},"azurerm_oracle_cloud_vm_cluster":{"schema":{"backup_subnet_cidr":{"type":"TypeString","optional":true,"forceNew":true},"cloud_exadata_infrastructure_id":{"type":"TypeString","required":true,"forceNew":true},"cluster_name":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"cpu_core_count":{"type":"TypeInt","required":true,"forceNew":true},"data_collection_options":{"type":"TypeList","optional":true,"computed":true,"forceNew":true,"elem":{"schema":{"diagnostics_events_enabled":{"type":"TypeBool","optional":true,"computed":true,"forceNew":true},"health_monitoring_enabled":{"type":"TypeBool","optional":true,"computed":true,"forceNew":true},"incident_logs_enabled":{"type":"TypeBool","optional":true,"computed":true,"forceNew":true}}},"maxItems":1,"minItems":1},"data_storage_percentage":{"type":"TypeInt","optional":true,"computed":true,"forceNew":true},"data_storage_size_in_tbs":{"type":"TypeFloat","optional":true,"computed":true,"forceNew":true},"db_node_storage_size_in_gbs":{"type":"TypeInt","optional":true,"computed":true,"forceNew":true},"db_servers":{"type":"TypeList","required":true,"forceNew":true,"elem":{"type":"TypeString"}},"display_name":{"type":"TypeString","required":true,"forceNew":true},"gi_version":{"type":"TypeString","required":true,"forceNew":true},"hostname":{"type":"TypeString","required":true,"forceNew":true},"hostname_actual":{"type":"TypeString","computed":true},"license_model":{"type":"TypeString","required":true,"forceNew":true},"local_backup_enabled":{"type":"TypeBool","optional":true,"computed":true,"forceNew":true},"location":{"type":"TypeString","required":true,"forceNew":true},"memory_size_in_gbs":{"type":"TypeInt","optional":true,"computed":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"ocid":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"sparse_diskgroup_enabled":{"type":"TypeBool","optional":true,"computed":true,"forceNew":true},"ssh_public_keys":{"type":"TypeList","required":true,"forceNew":true,"elem":{"type":"TypeString"}},"subnet_id":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"time_zone":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"virtual_network_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":1440,"read":5,"delete":30,"update":30}},"azurerm_oracle_exadata_infrastructure":{"schema":{"compute_count":{"type":"TypeInt","required":true,"forceNew":true},"customer_contacts":{"type":"TypeList","optional":true,"computed":true,"forceNew":true,"elem":{"type":"TypeString"}},"display_name":{"type":"TypeString","required":true,"forceNew":true},"location":{"type":"TypeString","required":true,"forceNew":true},"maintenance_window":{"type":"TypeList","optional":true,"computed":true,"forceNew":true,"elem":{"schema":{"days_of_week":{"type":"TypeList","optional":true,"computed":true,"forceNew":true,"elem":{"type":"TypeString"}},"hours_of_day":{"type":"TypeList","optional":true,"computed":true,"forceNew":true,"elem":{"type":"TypeInt"}},"lead_time_in_weeks":{"type":"TypeInt","optional":true,"computed":true,"forceNew":true},"months":{"type":"TypeList","optional":true,"computed":true,"forceNew":true,"elem":{"type":"TypeString"}},"patching_mode":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"preference":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"weeks_of_month":{"type":"TypeList","optional":true,"computed":true,"forceNew":true,"elem":{"type":"TypeInt"}}}}},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"shape":{"type":"TypeString","required":true,"forceNew":true},"storage_count":{"type":"TypeInt","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"zones":{"type":"TypeSet","required":true,"forceNew":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":120,"read":5,"delete":60,"update":30}},"azurerm_orbital_contact":{"schema":{"contact_profile_id":{"type":"TypeString","required":true,"forceNew":true},"ground_station_name":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"reservation_end_time":{"type":"TypeString","required":true,"forceNew":true},"reservation_start_time":{"type":"TypeString","required":true,"forceNew":true},"spacecraft_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_orbital_contact_profile":{"schema":{"auto_tracking":{"type":"TypeString","required":true},"event_hub_uri":{"type":"TypeString","optional":true},"links":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"channels":{"type":"TypeList","required":true,"elem":{"schema":{"bandwidth_mhz":{"type":"TypeFloat","required":true},"center_frequency_mhz":{"type":"TypeFloat","required":true},"demodulation_configuration":{"type":"TypeString","optional":true},"end_point":{"type":"TypeSet","required":true,"elem":{"schema":{"end_point_name":{"type":"TypeString","required":true},"ip_address":{"type":"TypeString","optional":true},"port":{"type":"TypeString","required":true},"protocol":{"type":"TypeString","required":true}}}},"modulation_configuration":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true}}},"minItems":1},"direction":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true},"polarization":{"type":"TypeString","required":true}}},"minItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"minimum_elevation_degrees":{"type":"TypeFloat","optional":true},"minimum_variable_contact_duration":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true,"forceNew":true},"network_configuration_subnet_id":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_orbital_spacecraft":{"schema":{"links":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"bandwidth_mhz":{"type":"TypeFloat","required":true},"center_frequency_mhz":{"type":"TypeFloat","required":true},"direction":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true},"polarization":{"type":"TypeString","required":true}}},"minItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"norad_id":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"title_line":{"type":"TypeString","required":true},"two_line_elements":{"type":"TypeList","required":true,"forceNew":true,"elem":{"type":"TypeString"},"maxItems":2,"minItems":2}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_orchestrated_virtual_machine_scale_set":{"schema":{"additional_capabilities":{"type":"TypeList","optional":true,"elem":{"schema":{"ultra_ssd_enabled":{"type":"TypeBool","optional":true,"default":false,"forceNew":true}}},"maxItems":1},"automatic_instance_repair":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"action":{"type":"TypeString","optional":true,"computed":true},"enabled":{"type":"TypeBool","required":true},"grace_period":{"type":"TypeString","optional":true,"computed":true}}},"maxItems":1},"boot_diagnostics":{"type":"TypeList","optional":true,"elem":{"schema":{"storage_account_uri":{"type":"TypeString","optional":true}}},"maxItems":1},"capacity_reservation_group_id":{"type":"TypeString","optional":true,"forceNew":true},"data_disk":{"type":"TypeList","optional":true,"elem":{"schema":{"caching":{"type":"TypeString","required":true},"create_option":{"type":"TypeString","optional":true,"default":"Empty"},"disk_encryption_set_id":{"type":"TypeString","optional":true,"forceNew":true},"disk_size_gb":{"type":"TypeInt","optional":true,"computed":true},"lun":{"type":"TypeInt","optional":true,"computed":true},"storage_account_type":{"type":"TypeString","required":true},"ultra_ssd_disk_iops_read_write":{"type":"TypeInt","optional":true,"computed":true},"ultra_ssd_disk_mbps_read_write":{"type":"TypeInt","optional":true,"computed":true},"write_accelerator_enabled":{"type":"TypeBool","optional":true,"default":false}}}},"encryption_at_host_enabled":{"type":"TypeBool","optional":true},"eviction_policy":{"type":"TypeString","optional":true,"forceNew":true},"extension":{"type":"TypeSet","optional":true,"computed":true,"elem":{"schema":{"auto_upgrade_minor_version_enabled":{"type":"TypeBool","optional":true,"default":true},"extensions_to_provision_after_vm_creation":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"failure_suppression_enabled":{"type":"TypeBool","optional":true,"default":false},"force_extension_execution_on_change":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true},"protected_settings":{"type":"TypeString","optional":true},"protected_settings_from_key_vault":{"type":"TypeList","optional":true,"elem":{"schema":{"secret_url":{"type":"TypeString","required":true},"source_vault_id":{"type":"TypeString","required":true}}},"maxItems":1},"publisher":{"type":"TypeString","required":true},"settings":{"type":"TypeString","optional":true},"type":{"type":"TypeString","required":true},"type_handler_version":{"type":"TypeString","required":true}}}},"extension_operations_enabled":{"type":"TypeBool","optional":true,"default":true,"forceNew":true},"extensions_time_budget":{"type":"TypeString","optional":true,"default":"PT1H30M"},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}},"type":{"type":"TypeString","required":true}}},"maxItems":1},"instances":{"type":"TypeInt","optional":true,"computed":true},"license_type":{"type":"TypeString","optional":true},"location":{"type":"TypeString","required":true,"forceNew":true},"max_bid_price":{"type":"TypeFloat","optional":true,"default":-1},"name":{"type":"TypeString","required":true,"forceNew":true},"network_interface":{"type":"TypeList","optional":true,"elem":{"schema":{"dns_servers":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"enable_accelerated_networking":{"type":"TypeBool","optional":true,"default":false},"enable_ip_forwarding":{"type":"TypeBool","optional":true,"default":false},"ip_configuration":{"type":"TypeList","required":true,"elem":{"schema":{"application_gateway_backend_address_pool_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"application_security_group_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":20},"load_balancer_backend_address_pool_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true},"primary":{"type":"TypeBool","optional":true,"default":false},"public_ip_address":{"type":"TypeList","optional":true,"elem":{"schema":{"domain_name_label":{"type":"TypeString","optional":true},"idle_timeout_in_minutes":{"type":"TypeInt","optional":true,"computed":true},"ip_tag":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"tag":{"type":"TypeString","required":true,"forceNew":true},"type":{"type":"TypeString","required":true,"forceNew":true}}}},"name":{"type":"TypeString","required":true},"public_ip_prefix_id":{"type":"TypeString","optional":true,"forceNew":true},"sku_name":{"type":"TypeString","optional":true,"forceNew":true},"version":{"type":"TypeString","optional":true,"default":"IPv4","forceNew":true}}}},"subnet_id":{"type":"TypeString","optional":true},"version":{"type":"TypeString","optional":true,"default":"IPv4"}}}},"name":{"type":"TypeString","required":true,"forceNew":true},"network_security_group_id":{"type":"TypeString","optional":true},"primary":{"type":"TypeBool","optional":true,"default":false}}}},"os_disk":{"type":"TypeList","optional":true,"elem":{"schema":{"caching":{"type":"TypeString","required":true},"diff_disk_settings":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"option":{"type":"TypeString","required":true,"forceNew":true},"placement":{"type":"TypeString","optional":true,"default":"CacheDisk","forceNew":true}}},"maxItems":1},"disk_encryption_set_id":{"type":"TypeString","optional":true,"forceNew":true},"disk_size_gb":{"type":"TypeInt","optional":true,"computed":true},"storage_account_type":{"type":"TypeString","required":true,"forceNew":true},"write_accelerator_enabled":{"type":"TypeBool","optional":true,"default":false}}},"maxItems":1},"os_profile":{"type":"TypeList","optional":true,"elem":{"schema":{"custom_data":{"type":"TypeString","optional":true},"linux_configuration":{"type":"TypeList","optional":true,"elem":{"schema":{"admin_password":{"type":"TypeString","optional":true,"forceNew":true},"admin_ssh_key":{"type":"TypeSet","optional":true,"elem":{"schema":{"public_key":{"type":"TypeString","required":true},"username":{"type":"TypeString","required":true}}}},"admin_username":{"type":"TypeString","required":true,"forceNew":true},"computer_name_prefix":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"disable_password_authentication":{"type":"TypeBool","optional":true,"default":true},"patch_assessment_mode":{"type":"TypeString","optional":true,"default":"ImageDefault"},"patch_mode":{"type":"TypeString","optional":true,"default":"ImageDefault"},"provision_vm_agent":{"type":"TypeBool","optional":true,"default":true,"forceNew":true},"secret":{"type":"TypeList","optional":true,"elem":{"schema":{"certificate":{"type":"TypeSet","required":true,"elem":{"schema":{"url":{"type":"TypeString","required":true}}},"minItems":1},"key_vault_id":{"type":"TypeString","required":true}}}}}},"maxItems":1},"windows_configuration":{"type":"TypeList","optional":true,"elem":{"schema":{"additional_unattend_content":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"content":{"type":"TypeString","required":true,"forceNew":true},"setting":{"type":"TypeString","required":true,"forceNew":true}}}},"admin_password":{"type":"TypeString","required":true,"forceNew":true},"admin_username":{"type":"TypeString","required":true,"forceNew":true},"computer_name_prefix":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"enable_automatic_updates":{"type":"TypeBool","optional":true,"default":true},"hotpatching_enabled":{"type":"TypeBool","optional":true,"default":false},"patch_assessment_mode":{"type":"TypeString","optional":true,"default":"ImageDefault"},"patch_mode":{"type":"TypeString","optional":true,"default":"AutomaticByOS"},"provision_vm_agent":{"type":"TypeBool","optional":true,"default":true,"forceNew":true},"secret":{"type":"TypeList","optional":true,"elem":{"schema":{"certificate":{"type":"TypeSet","required":true,"elem":{"schema":{"store":{"type":"TypeString","required":true},"url":{"type":"TypeString","required":true}}},"minItems":1},"key_vault_id":{"type":"TypeString","required":true}}}},"timezone":{"type":"TypeString","optional":true},"winrm_listener":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"schema":{"certificate_url":{"type":"TypeString","optional":true,"forceNew":true},"protocol":{"type":"TypeString","required":true,"forceNew":true}}}}}},"maxItems":1}}},"maxItems":1},"plan":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"name":{"type":"TypeString","required":true,"forceNew":true},"product":{"type":"TypeString","required":true,"forceNew":true},"publisher":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"platform_fault_domain_count":{"type":"TypeInt","required":true,"forceNew":true},"priority":{"type":"TypeString","optional":true,"default":"Regular","forceNew":true},"priority_mix":{"type":"TypeList","optional":true,"elem":{"schema":{"base_regular_count":{"type":"TypeInt","optional":true,"default":0},"regular_percentage_above_base":{"type":"TypeInt","optional":true,"default":0}}},"maxItems":1},"proximity_placement_group_id":{"type":"TypeString","optional":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"single_placement_group":{"type":"TypeBool","optional":true,"computed":true},"sku_name":{"type":"TypeString","optional":true},"sku_profile":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"allocation_strategy":{"type":"TypeString","required":true},"vm_sizes":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"},"minItems":1}}},"maxItems":1},"source_image_id":{"type":"TypeString","optional":true},"source_image_reference":{"type":"TypeList","optional":true,"elem":{"schema":{"offer":{"type":"TypeString","required":true,"forceNew":true},"publisher":{"type":"TypeString","required":true,"forceNew":true},"sku":{"type":"TypeString","required":true},"version":{"type":"TypeString","required":true}}},"maxItems":1},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"termination_notification":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"enabled":{"type":"TypeBool","required":true},"timeout":{"type":"TypeString","optional":true,"default":"PT5M"}}},"maxItems":1},"unique_id":{"type":"TypeString","computed":true},"user_data_base64":{"type":"TypeString","optional":true},"zone_balance":{"type":"TypeBool","optional":true,"default":false,"forceNew":true},"zones":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":60,"read":5,"delete":60,"update":60}},"azurerm_palo_alto_local_rulestack":{"schema":{"anti_spyware_profile":{"type":"TypeString","optional":true},"anti_virus_profile":{"type":"TypeString","optional":true},"description":{"type":"TypeString","optional":true},"dns_subscription":{"type":"TypeString","optional":true},"file_blocking_profile":{"type":"TypeString","optional":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"url_filtering_profile":{"type":"TypeString","optional":true},"vulnerability_profile":{"type":"TypeString","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_palo_alto_local_rulestack_certificate":{"schema":{"audit_comment":{"type":"TypeString","optional":true},"description":{"type":"TypeString","optional":true},"key_vault_certificate_id":{"type":"TypeString","optional":true,"forceNew":true},"name":{"type":"TypeString","required":true},"rulestack_id":{"type":"TypeString","required":true,"forceNew":true},"self_signed":{"type":"TypeBool","optional":true,"default":false,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_palo_alto_local_rulestack_fqdn_list":{"schema":{"audit_comment":{"type":"TypeString","optional":true},"description":{"type":"TypeString","optional":true},"fully_qualified_domain_names":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"minItems":1},"name":{"type":"TypeString","required":true},"rulestack_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_palo_alto_local_rulestack_outbound_trust_certificate_association":{"schema":{"certificate_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_palo_alto_local_rulestack_outbound_untrust_certificate_association":{"schema":{"certificate_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_palo_alto_local_rulestack_prefix_list":{"schema":{"audit_comment":{"type":"TypeString","optional":true},"description":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true},"prefix_list":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"minItems":1},"rulestack_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_palo_alto_local_rulestack_rule":{"schema":{"action":{"type":"TypeString","required":true},"applications":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"minItems":1},"audit_comment":{"type":"TypeString","optional":true},"category":{"type":"TypeList","optional":true,"elem":{"schema":{"custom_urls":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"minItems":1},"feeds":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"minItems":1}}},"maxItems":1,"minItems":1},"decryption_rule_type":{"type":"TypeString","optional":true,"default":"None"},"description":{"type":"TypeString","optional":true},"destination":{"type":"TypeList","required":true,"elem":{"schema":{"cidrs":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"countries":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"feeds":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"local_rulestack_fqdn_list_ids":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"local_rulestack_prefix_list_ids":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1,"minItems":1},"enabled":{"type":"TypeBool","optional":true,"default":true},"inspection_certificate_id":{"type":"TypeString","optional":true},"logging_enabled":{"type":"TypeBool","optional":true,"default":false},"name":{"type":"TypeString","required":true},"negate_destination":{"type":"TypeBool","optional":true,"default":false},"negate_source":{"type":"TypeBool","optional":true,"default":false},"priority":{"type":"TypeInt","required":true,"forceNew":true},"protocol":{"type":"TypeString","optional":true},"protocol_ports":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"minItems":1},"rulestack_id":{"type":"TypeString","required":true,"forceNew":true},"source":{"type":"TypeList","required":true,"elem":{"schema":{"cidrs":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"countries":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"feeds":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"local_rulestack_prefix_list_ids":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1,"minItems":1},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_palo_alto_next_generation_firewall_virtual_hub_local_rulestack":{"schema":{"destination_nat":{"type":"TypeList","optional":true,"elem":{"schema":{"backend_config":{"type":"TypeList","optional":true,"elem":{"schema":{"port":{"type":"TypeInt","required":true},"public_ip_address":{"type":"TypeString","required":true}}},"maxItems":1},"frontend_config":{"type":"TypeList","optional":true,"elem":{"schema":{"port":{"type":"TypeInt","required":true},"public_ip_address_id":{"type":"TypeString","required":true}}},"maxItems":1},"name":{"type":"TypeString","required":true},"protocol":{"type":"TypeString","required":true}}}},"dns_settings":{"type":"TypeList","optional":true,"elem":{"schema":{"azure_dns_servers":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"dns_servers":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"maxItems":2},"use_azure_dns":{"type":"TypeBool","optional":true,"default":false}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"network_profile":{"type":"TypeList","required":true,"elem":{"schema":{"egress_nat_ip_address_ids":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"minItems":1},"egress_nat_ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"ip_of_trust_for_user_defined_routes":{"type":"TypeString","computed":true},"network_virtual_appliance_id":{"type":"TypeString","required":true,"forceNew":true},"public_ip_address_ids":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"minItems":1},"public_ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"trusted_address_ranges":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"trusted_subnet_id":{"type":"TypeString","computed":true},"untrusted_subnet_id":{"type":"TypeString","computed":true},"virtual_hub_id":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"rulestack_id":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":180,"read":5,"delete":120,"update":180}},"azurerm_palo_alto_next_generation_firewall_virtual_hub_panorama":{"schema":{"destination_nat":{"type":"TypeList","optional":true,"elem":{"schema":{"backend_config":{"type":"TypeList","optional":true,"elem":{"schema":{"port":{"type":"TypeInt","required":true},"public_ip_address":{"type":"TypeString","required":true}}},"maxItems":1},"frontend_config":{"type":"TypeList","optional":true,"elem":{"schema":{"port":{"type":"TypeInt","required":true},"public_ip_address_id":{"type":"TypeString","required":true}}},"maxItems":1},"name":{"type":"TypeString","required":true},"protocol":{"type":"TypeString","required":true}}}},"dns_settings":{"type":"TypeList","optional":true,"elem":{"schema":{"azure_dns_servers":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"dns_servers":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"maxItems":2},"use_azure_dns":{"type":"TypeBool","optional":true,"default":false}}},"maxItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"network_profile":{"type":"TypeList","required":true,"elem":{"schema":{"egress_nat_ip_address_ids":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"minItems":1},"egress_nat_ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"ip_of_trust_for_user_defined_routes":{"type":"TypeString","computed":true},"network_virtual_appliance_id":{"type":"TypeString","required":true,"forceNew":true},"public_ip_address_ids":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"minItems":1},"public_ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"trusted_address_ranges":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"trusted_subnet_id":{"type":"TypeString","computed":true},"untrusted_subnet_id":{"type":"TypeString","computed":true},"virtual_hub_id":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"panorama":{"type":"TypeList","computed":true,"elem":{"schema":{"device_group_name":{"type":"TypeString","computed":true},"host_name":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"panorama_server_1":{"type":"TypeString","computed":true},"panorama_server_2":{"type":"TypeString","computed":true},"template_name":{"type":"TypeString","computed":true},"virtual_machine_ssh_key":{"type":"TypeString","computed":true}}}},"panorama_base64_config":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":120,"read":5,"delete":120,"update":120}},"azurerm_palo_alto_next_generation_firewall_virtual_network_local_rulestack":{"schema":{"destination_nat":{"type":"TypeList","optional":true,"elem":{"schema":{"backend_config":{"type":"TypeList","optional":true,"elem":{"schema":{"port":{"type":"TypeInt","required":true},"public_ip_address":{"type":"TypeString","required":true}}},"maxItems":1},"frontend_config":{"type":"TypeList","optional":true,"elem":{"schema":{"port":{"type":"TypeInt","required":true},"public_ip_address_id":{"type":"TypeString","required":true}}},"maxItems":1},"name":{"type":"TypeString","required":true},"protocol":{"type":"TypeString","required":true}}}},"dns_settings":{"type":"TypeList","optional":true,"elem":{"schema":{"azure_dns_servers":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"dns_servers":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"maxItems":2},"use_azure_dns":{"type":"TypeBool","optional":true,"default":false}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"network_profile":{"type":"TypeList","required":true,"elem":{"schema":{"egress_nat_ip_address_ids":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"minItems":1},"egress_nat_ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"public_ip_address_ids":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"minItems":1},"public_ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"trusted_address_ranges":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"vnet_configuration":{"type":"TypeList","required":true,"elem":{"schema":{"ip_of_trust_for_user_defined_routes":{"type":"TypeString","computed":true},"trusted_subnet_id":{"type":"TypeString","optional":true},"untrusted_subnet_id":{"type":"TypeString","optional":true},"virtual_network_id":{"type":"TypeString","required":true}}},"maxItems":1}}},"maxItems":1},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"rulestack_id":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":180,"read":5,"delete":120,"update":180}},"azurerm_palo_alto_next_generation_firewall_virtual_network_panorama":{"schema":{"destination_nat":{"type":"TypeList","optional":true,"elem":{"schema":{"backend_config":{"type":"TypeList","optional":true,"elem":{"schema":{"port":{"type":"TypeInt","required":true},"public_ip_address":{"type":"TypeString","required":true}}},"maxItems":1},"frontend_config":{"type":"TypeList","optional":true,"elem":{"schema":{"port":{"type":"TypeInt","required":true},"public_ip_address_id":{"type":"TypeString","required":true}}},"maxItems":1},"name":{"type":"TypeString","required":true},"protocol":{"type":"TypeString","required":true}}}},"dns_settings":{"type":"TypeList","optional":true,"elem":{"schema":{"azure_dns_servers":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"dns_servers":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"maxItems":2},"use_azure_dns":{"type":"TypeBool","optional":true,"default":false}}},"maxItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"network_profile":{"type":"TypeList","required":true,"elem":{"schema":{"egress_nat_ip_address_ids":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"minItems":1},"egress_nat_ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"public_ip_address_ids":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"minItems":1},"public_ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"trusted_address_ranges":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"vnet_configuration":{"type":"TypeList","required":true,"elem":{"schema":{"ip_of_trust_for_user_defined_routes":{"type":"TypeString","computed":true},"trusted_subnet_id":{"type":"TypeString","optional":true},"untrusted_subnet_id":{"type":"TypeString","optional":true},"virtual_network_id":{"type":"TypeString","required":true}}},"maxItems":1}}},"maxItems":1},"panorama":{"type":"TypeList","computed":true,"elem":{"schema":{"device_group_name":{"type":"TypeString","computed":true},"host_name":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"panorama_server_1":{"type":"TypeString","computed":true},"panorama_server_2":{"type":"TypeString","computed":true},"template_name":{"type":"TypeString","computed":true},"virtual_machine_ssh_key":{"type":"TypeString","computed":true}}}},"panorama_base64_config":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":180,"read":5,"delete":180,"update":180}},"azurerm_palo_alto_virtual_network_appliance":{"schema":{"name":{"type":"TypeString","required":true,"forceNew":true},"virtual_hub_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_pim_active_role_assignment":{"schema":{"justification":{"type":"TypeString","optional":true,"description":"The justification for this role assignment","computed":true,"forceNew":true},"principal_id":{"type":"TypeString","required":true,"description":"Object ID of the principal for this role assignment","forceNew":true},"principal_type":{"type":"TypeString","description":"Type of principal to which the role will be assigned","computed":true},"role_definition_id":{"type":"TypeString","required":true,"description":"Role definition ID for this role assignment","forceNew":true},"schedule":{"type":"TypeList","optional":true,"description":"The schedule details for this role assignment","computed":true,"forceNew":true,"elem":{"schema":{"expiration":{"type":"TypeList","optional":true,"elem":{"schema":{"duration_days":{"type":"TypeInt","optional":true,"description":"The duration of the role assignment in days","computed":true,"forceNew":true},"duration_hours":{"type":"TypeInt","optional":true,"description":"The duration of the role assignment in hours","computed":true,"forceNew":true},"end_date_time":{"type":"TypeString","optional":true,"description":"The end date/time of the role assignment","computed":true,"forceNew":true}}},"maxItems":1},"start_date_time":{"type":"TypeString","optional":true,"description":"The start date/time of the role assignment","computed":true,"forceNew":true}}},"maxItems":1},"scope":{"type":"TypeString","required":true,"description":"Scope for this role assignment, should be a valid resource ID","forceNew":true},"ticket":{"type":"TypeList","optional":true,"description":"Ticket details relating to the assignment","computed":true,"forceNew":true,"elem":{"schema":{"number":{"type":"TypeString","optional":true,"description":"User-supplied ticket number to be included with the request","forceNew":true},"system":{"type":"TypeString","optional":true,"description":"User-supplied ticket system name to be included with the request","forceNew":true}}},"maxItems":1}},"timeouts":{"create":10,"read":5,"delete":10}},"azurerm_pim_eligible_role_assignment":{"schema":{"justification":{"type":"TypeString","optional":true,"description":"The justification for this eligible role assignment","computed":true,"forceNew":true},"principal_id":{"type":"TypeString","required":true,"description":"Object ID of the principal for this eligible role assignment","forceNew":true},"principal_type":{"type":"TypeString","description":"Type of principal to which the role will be assigned","computed":true},"role_definition_id":{"type":"TypeString","required":true,"description":"Role definition ID for this eligible role assignment","forceNew":true},"schedule":{"type":"TypeList","optional":true,"description":"The schedule details for this eligible role assignment","computed":true,"forceNew":true,"elem":{"schema":{"expiration":{"type":"TypeList","optional":true,"elem":{"schema":{"duration_days":{"type":"TypeInt","optional":true,"description":"The duration of the eligible role assignment in days","computed":true,"forceNew":true},"duration_hours":{"type":"TypeInt","optional":true,"description":"The duration of the eligible role assignment in hours","computed":true,"forceNew":true},"end_date_time":{"type":"TypeString","optional":true,"description":"The end date/time of the eligible role assignment","computed":true,"forceNew":true}}},"maxItems":1},"start_date_time":{"type":"TypeString","optional":true,"description":"The start date/time","computed":true,"forceNew":true}}},"maxItems":1},"scope":{"type":"TypeString","required":true,"description":"Scope for this eligible role assignment, should be a valid resource ID","forceNew":true},"ticket":{"type":"TypeList","optional":true,"description":"Ticket details relating to the eligible assignment","computed":true,"forceNew":true,"elem":{"schema":{"number":{"type":"TypeString","optional":true,"description":"User-supplied ticket number to be included with the request","forceNew":true},"system":{"type":"TypeString","optional":true,"description":"User-supplied ticket system name to be included with the request","forceNew":true}}},"maxItems":1}},"timeouts":{"create":10,"read":5,"delete":10}},"azurerm_point_to_site_vpn_gateway":{"schema":{"connection_configuration":{"type":"TypeList","required":true,"elem":{"schema":{"internet_security_enabled":{"type":"TypeBool","optional":true,"default":false,"forceNew":true},"name":{"type":"TypeString","required":true},"route":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"associated_route_table_id":{"type":"TypeString","required":true},"inbound_route_map_id":{"type":"TypeString","optional":true},"outbound_route_map_id":{"type":"TypeString","optional":true},"propagated_route_table":{"type":"TypeList","optional":true,"elem":{"schema":{"ids":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}},"labels":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1}}},"maxItems":1},"vpn_client_address_pool":{"type":"TypeList","required":true,"elem":{"schema":{"address_prefixes":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}}}},"maxItems":1}}}},"dns_servers":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"routing_preference_internet_enabled":{"type":"TypeBool","optional":true,"default":false,"forceNew":true},"scale_unit":{"type":"TypeInt","required":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"virtual_hub_id":{"type":"TypeString","required":true,"forceNew":true},"vpn_server_configuration_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":90,"read":5,"delete":90,"update":90}},"azurerm_policy_definition":{"schema":{"description":{"type":"TypeString","optional":true},"display_name":{"type":"TypeString","required":true},"management_group_id":{"type":"TypeString","optional":true,"forceNew":true},"metadata":{"type":"TypeString","optional":true,"computed":true},"mode":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true,"forceNew":true},"parameters":{"type":"TypeString","optional":true},"policy_rule":{"type":"TypeString","optional":true},"policy_type":{"type":"TypeString","required":true,"forceNew":true},"role_definition_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_policy_set_definition":{"schema":{"description":{"type":"TypeString","optional":true},"display_name":{"type":"TypeString","required":true},"management_group_id":{"type":"TypeString","optional":true,"forceNew":true},"metadata":{"type":"TypeString","optional":true,"computed":true},"name":{"type":"TypeString","required":true,"forceNew":true},"parameters":{"type":"TypeString","optional":true},"policy_definition_group":{"type":"TypeSet","optional":true,"elem":{"schema":{"additional_metadata_resource_id":{"type":"TypeString","optional":true},"category":{"type":"TypeString","optional":true},"description":{"type":"TypeString","optional":true},"display_name":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true}}}},"policy_definition_reference":{"type":"TypeList","required":true,"elem":{"schema":{"parameter_values":{"type":"TypeString","optional":true},"policy_definition_id":{"type":"TypeString","required":true},"policy_group_names":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"reference_id":{"type":"TypeString","optional":true,"computed":true}}}},"policy_type":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_policy_virtual_machine_configuration_assignment":{"schema":{"configuration":{"type":"TypeList","required":true,"elem":{"schema":{"assignment_type":{"type":"TypeString","optional":true},"content_hash":{"type":"TypeString","optional":true,"computed":true},"content_uri":{"type":"TypeString","optional":true,"computed":true},"parameter":{"type":"TypeSet","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"value":{"type":"TypeString","required":true}}}},"version":{"type":"TypeString","optional":true}}},"maxItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"virtual_machine_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_portal_dashboard":{"schema":{"dashboard_properties":{"type":"TypeString","required":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_portal_tenant_configuration":{"schema":{"private_markdown_storage_enforced":{"type":"TypeBool","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_postgresql_active_directory_administrator":{"schema":{"login":{"type":"TypeString","required":true},"object_id":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"server_name":{"type":"TypeString","required":true,"forceNew":true},"tenant_id":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_postgresql_configuration":{"schema":{"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"server_name":{"type":"TypeString","required":true,"forceNew":true},"value":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_postgresql_database":{"schema":{"charset":{"type":"TypeString","required":true,"forceNew":true},"collation":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"server_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":60,"read":5,"delete":60}},"azurerm_postgresql_firewall_rule":{"schema":{"end_ip_address":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"server_name":{"type":"TypeString","required":true,"forceNew":true},"start_ip_address":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_postgresql_flexible_server":{"schema":{"administrator_login":{"type":"TypeString","optional":true,"computed":true},"administrator_password":{"type":"TypeString","optional":true},"authentication":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"active_directory_auth_enabled":{"type":"TypeBool","optional":true,"default":false},"password_auth_enabled":{"type":"TypeBool","optional":true,"default":true},"tenant_id":{"type":"TypeString","optional":true}}},"maxItems":1},"auto_grow_enabled":{"type":"TypeBool","optional":true,"default":false},"backup_retention_days":{"type":"TypeInt","optional":true,"computed":true},"create_mode":{"type":"TypeString","optional":true},"customer_managed_key":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"geo_backup_key_vault_key_id":{"type":"TypeString","optional":true},"geo_backup_user_assigned_identity_id":{"type":"TypeString","optional":true},"key_vault_key_id":{"type":"TypeString","required":true},"primary_user_assigned_identity_id":{"type":"TypeString","optional":true}}},"maxItems":1},"delegated_subnet_id":{"type":"TypeString","optional":true,"forceNew":true},"fqdn":{"type":"TypeString","computed":true},"geo_redundant_backup_enabled":{"type":"TypeBool","optional":true,"default":false,"forceNew":true},"high_availability":{"type":"TypeList","optional":true,"elem":{"schema":{"mode":{"type":"TypeString","required":true},"standby_availability_zone":{"type":"TypeString","optional":true}}},"maxItems":1},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}},"type":{"type":"TypeString","required":true}}},"maxItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"maintenance_window":{"type":"TypeList","optional":true,"elem":{"schema":{"day_of_week":{"type":"TypeInt","optional":true,"default":0},"start_hour":{"type":"TypeInt","optional":true,"default":0},"start_minute":{"type":"TypeInt","optional":true,"default":0}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"point_in_time_restore_time_in_utc":{"type":"TypeString","optional":true,"forceNew":true},"private_dns_zone_id":{"type":"TypeString","optional":true,"computed":true},"public_network_access_enabled":{"type":"TypeBool","optional":true,"default":true},"replication_role":{"type":"TypeString","optional":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"sku_name":{"type":"TypeString","optional":true,"computed":true},"source_server_id":{"type":"TypeString","optional":true,"forceNew":true},"storage_mb":{"type":"TypeInt","optional":true,"computed":true},"storage_tier":{"type":"TypeString","optional":true,"computed":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"version":{"type":"TypeString","optional":true,"computed":true},"zone":{"type":"TypeString","optional":true}},"timeouts":{"create":60,"read":5,"delete":60,"update":60}},"azurerm_postgresql_flexible_server_active_directory_administrator":{"schema":{"object_id":{"type":"TypeString","required":true,"forceNew":true},"principal_name":{"type":"TypeString","required":true,"forceNew":true},"principal_type":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"server_name":{"type":"TypeString","required":true,"forceNew":true},"tenant_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_postgresql_flexible_server_configuration":{"schema":{"name":{"type":"TypeString","required":true,"forceNew":true},"server_id":{"type":"TypeString","required":true,"forceNew":true},"value":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_postgresql_flexible_server_database":{"schema":{"charset":{"type":"TypeString","optional":true,"default":"UTF8","forceNew":true},"collation":{"type":"TypeString","optional":true,"default":"en_US.utf8","forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"server_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_postgresql_flexible_server_firewall_rule":{"schema":{"end_ip_address":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true,"forceNew":true},"server_id":{"type":"TypeString","required":true,"forceNew":true},"start_ip_address":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_postgresql_flexible_server_virtual_endpoint":{"schema":{"name":{"type":"TypeString","required":true,"description":"The name of the Virtual Endpoint","forceNew":true},"replica_server_id":{"type":"TypeString","required":true,"description":"The Resource ID of the *Replica* Postgres Flexible Server this should be associated with"},"source_server_id":{"type":"TypeString","required":true,"description":"The Resource ID of the *Source* Postgres Flexible Server this should be associated with","forceNew":true},"type":{"type":"TypeString","required":true,"description":"The type of Virtual Endpoint","forceNew":true}},"timeouts":{"create":10,"read":5,"delete":5,"update":5}},"azurerm_postgresql_server":{"schema":{"administrator_login":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"administrator_login_password":{"type":"TypeString","optional":true},"auto_grow_enabled":{"type":"TypeBool","optional":true,"default":true},"backup_retention_days":{"type":"TypeInt","optional":true,"computed":true},"create_mode":{"type":"TypeString","optional":true,"default":"Default"},"creation_source_server_id":{"type":"TypeString","optional":true},"fqdn":{"type":"TypeString","computed":true},"geo_redundant_backup_enabled":{"type":"TypeBool","optional":true,"default":false,"forceNew":true},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"infrastructure_encryption_enabled":{"type":"TypeBool","optional":true,"forceNew":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"public_network_access_enabled":{"type":"TypeBool","optional":true,"default":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"restore_point_in_time":{"type":"TypeString","optional":true},"sku_name":{"type":"TypeString","required":true},"ssl_enforcement_enabled":{"type":"TypeBool","required":true},"ssl_minimal_tls_version_enforced":{"type":"TypeString","optional":true,"default":"TLS1_2"},"storage_mb":{"type":"TypeInt","optional":true,"computed":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"threat_detection_policy":{"type":"TypeList","optional":true,"elem":{"schema":{"disabled_alerts":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"email_account_admins":{"type":"TypeBool","optional":true},"email_addresses":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"enabled":{"type":"TypeBool","optional":true},"retention_days":{"type":"TypeInt","optional":true},"storage_account_access_key":{"type":"TypeString","optional":true},"storage_endpoint":{"type":"TypeString","optional":true}}},"maxItems":1},"version":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":60,"read":5,"delete":60,"update":60}},"azurerm_postgresql_server_key":{"schema":{"key_vault_key_id":{"type":"TypeString","required":true},"server_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":60,"read":5,"delete":60,"update":60}},"azurerm_postgresql_virtual_network_rule":{"schema":{"ignore_missing_vnet_service_endpoint":{"type":"TypeBool","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"server_name":{"type":"TypeString","required":true,"forceNew":true},"subnet_id":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_powerbi_embedded":{"schema":{"administrators":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}},"location":{"type":"TypeString","required":true,"forceNew":true},"mode":{"type":"TypeString","optional":true,"default":"Gen1","forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"sku_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_private_dns_a_record":{"schema":{"fqdn":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true,"forceNew":true},"records":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"},"maxItems":20},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"ttl":{"type":"TypeInt","required":true},"zone_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_private_dns_aaaa_record":{"schema":{"fqdn":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true,"forceNew":true},"records":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"ttl":{"type":"TypeInt","required":true},"zone_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_private_dns_cname_record":{"schema":{"fqdn":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true,"forceNew":true},"record":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"ttl":{"type":"TypeInt","required":true},"zone_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_private_dns_mx_record":{"schema":{"fqdn":{"type":"TypeString","computed":true},"name":{"type":"TypeString","optional":true,"default":"@","forceNew":true},"record":{"type":"TypeSet","required":true,"elem":{"schema":{"exchange":{"type":"TypeString","required":true},"preference":{"type":"TypeInt","required":true}}}},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"ttl":{"type":"TypeInt","required":true},"zone_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_private_dns_ptr_record":{"schema":{"fqdn":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true,"forceNew":true},"records":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"ttl":{"type":"TypeInt","required":true},"zone_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_private_dns_resolver":{"schema":{"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"virtual_network_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_private_dns_resolver_dns_forwarding_ruleset":{"schema":{"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"private_dns_resolver_outbound_endpoint_ids":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_private_dns_resolver_forwarding_rule":{"schema":{"dns_forwarding_ruleset_id":{"type":"TypeString","required":true,"forceNew":true},"domain_name":{"type":"TypeString","required":true,"forceNew":true},"enabled":{"type":"TypeBool","optional":true,"default":true},"metadata":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true,"forceNew":true},"target_dns_servers":{"type":"TypeList","required":true,"elem":{"schema":{"ip_address":{"type":"TypeString","required":true},"port":{"type":"TypeInt","optional":true}}}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_private_dns_resolver_inbound_endpoint":{"schema":{"ip_configurations":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"private_ip_address":{"type":"TypeString","optional":true,"computed":true},"private_ip_allocation_method":{"type":"TypeString","optional":true,"default":"Dynamic"},"subnet_id":{"type":"TypeString","required":true}}},"maxItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"private_dns_resolver_id":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_private_dns_resolver_outbound_endpoint":{"schema":{"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"private_dns_resolver_id":{"type":"TypeString","required":true,"forceNew":true},"subnet_id":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_private_dns_resolver_virtual_network_link":{"schema":{"dns_forwarding_ruleset_id":{"type":"TypeString","required":true,"forceNew":true},"metadata":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true,"forceNew":true},"virtual_network_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_private_dns_srv_record":{"schema":{"fqdn":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true,"forceNew":true},"record":{"type":"TypeSet","required":true,"elem":{"schema":{"port":{"type":"TypeInt","required":true},"priority":{"type":"TypeInt","required":true},"target":{"type":"TypeString","required":true},"weight":{"type":"TypeInt","required":true}}}},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"ttl":{"type":"TypeInt","required":true},"zone_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_private_dns_txt_record":{"schema":{"fqdn":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true,"forceNew":true},"record":{"type":"TypeSet","required":true,"elem":{"schema":{"value":{"type":"TypeString","required":true}}}},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"ttl":{"type":"TypeInt","required":true},"zone_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_private_dns_zone":{"schema":{"max_number_of_record_sets":{"type":"TypeInt","computed":true},"max_number_of_virtual_network_links":{"type":"TypeInt","computed":true},"max_number_of_virtual_network_links_with_registration":{"type":"TypeInt","computed":true},"name":{"type":"TypeString","required":true,"forceNew":true},"number_of_record_sets":{"type":"TypeInt","computed":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"soa_record":{"type":"TypeList","optional":true,"computed":true,"forceNew":true,"elem":{"schema":{"email":{"type":"TypeString","required":true},"expire_time":{"type":"TypeInt","optional":true,"default":2419200},"fqdn":{"type":"TypeString","computed":true},"host_name":{"type":"TypeString","computed":true},"minimum_ttl":{"type":"TypeInt","optional":true,"default":10},"refresh_time":{"type":"TypeInt","optional":true,"default":3600},"retry_time":{"type":"TypeInt","optional":true,"default":300},"serial_number":{"type":"TypeInt","computed":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"ttl":{"type":"TypeInt","optional":true,"default":3600}}},"maxItems":1},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_private_dns_zone_virtual_network_link":{"schema":{"name":{"type":"TypeString","required":true,"forceNew":true},"private_dns_zone_name":{"type":"TypeString","required":true,"forceNew":true},"registration_enabled":{"type":"TypeBool","optional":true,"default":false},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"virtual_network_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_private_endpoint":{"schema":{"custom_dns_configs":{"type":"TypeList","computed":true,"elem":{"schema":{"fqdn":{"type":"TypeString","computed":true},"ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}}},"custom_network_interface_name":{"type":"TypeString","optional":true,"forceNew":true},"ip_configuration":{"type":"TypeList","optional":true,"elem":{"schema":{"member_name":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"private_ip_address":{"type":"TypeString","required":true,"forceNew":true},"subresource_name":{"type":"TypeString","optional":true,"forceNew":true}}}},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"network_interface":{"type":"TypeList","computed":true,"elem":{"schema":{"id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true}}}},"private_dns_zone_configs":{"type":"TypeList","computed":true,"elem":{"schema":{"id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"private_dns_zone_id":{"type":"TypeString","computed":true},"record_sets":{"type":"TypeList","computed":true,"elem":{"schema":{"fqdn":{"type":"TypeString","computed":true},"ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","computed":true},"ttl":{"type":"TypeInt","computed":true},"type":{"type":"TypeString","computed":true}}}}}}},"private_dns_zone_group":{"type":"TypeList","optional":true,"elem":{"schema":{"id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"private_dns_zone_ids":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"private_service_connection":{"type":"TypeList","required":true,"elem":{"schema":{"is_manual_connection":{"type":"TypeBool","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"private_connection_resource_alias":{"type":"TypeString","optional":true,"forceNew":true},"private_connection_resource_id":{"type":"TypeString","optional":true,"forceNew":true},"private_ip_address":{"type":"TypeString","computed":true},"request_message":{"type":"TypeString","optional":true},"subresource_names":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"subnet_id":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":60,"read":5,"delete":60,"update":60}},"azurerm_private_endpoint_application_security_group_association":{"schema":{"application_security_group_id":{"type":"TypeString","required":true,"forceNew":true},"private_endpoint_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_private_link_service":{"schema":{"alias":{"type":"TypeString","computed":true},"auto_approval_subscription_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"enable_proxy_protocol":{"type":"TypeBool","optional":true},"fqdns":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"load_balancer_frontend_ip_configuration_ids":{"type":"TypeSet","required":true,"forceNew":true,"elem":{"type":"TypeString"}},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"nat_ip_configuration":{"type":"TypeList","required":true,"elem":{"schema":{"name":{"type":"TypeString","required":true,"forceNew":true},"primary":{"type":"TypeBool","required":true,"forceNew":true},"private_ip_address":{"type":"TypeString","optional":true},"private_ip_address_version":{"type":"TypeString","optional":true,"default":"IPv4"},"subnet_id":{"type":"TypeString","required":true}}},"maxItems":8},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"visibility_subscription_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":60,"read":5,"delete":60,"update":60}},"azurerm_proximity_placement_group":{"schema":{"allowed_vm_sizes":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"minItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"zone":{"type":"TypeString","optional":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_public_ip":{"schema":{"allocation_method":{"type":"TypeString","required":true},"ddos_protection_mode":{"type":"TypeString","optional":true,"default":"VirtualNetworkInherited"},"ddos_protection_plan_id":{"type":"TypeString","optional":true},"domain_name_label":{"type":"TypeString","optional":true},"edge_zone":{"type":"TypeString","optional":true,"forceNew":true},"fqdn":{"type":"TypeString","computed":true},"idle_timeout_in_minutes":{"type":"TypeInt","optional":true,"default":4},"ip_address":{"type":"TypeString","computed":true},"ip_tags":{"type":"TypeMap","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"ip_version":{"type":"TypeString","optional":true,"default":"IPv4","forceNew":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"public_ip_prefix_id":{"type":"TypeString","optional":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"reverse_fqdn":{"type":"TypeString","optional":true},"sku":{"type":"TypeString","optional":true,"default":"Standard","forceNew":true},"sku_tier":{"type":"TypeString","optional":true,"default":"Regional","forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"zones":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_public_ip_prefix":{"schema":{"ip_prefix":{"type":"TypeString","computed":true},"ip_version":{"type":"TypeString","optional":true,"default":"IPv4","forceNew":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"prefix_length":{"type":"TypeInt","optional":true,"default":28,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"sku":{"type":"TypeString","optional":true,"default":"Standard","forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"zones":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_purview_account":{"schema":{"atlas_kafka_endpoint_primary_connection_string":{"type":"TypeString","computed":true},"atlas_kafka_endpoint_secondary_connection_string":{"type":"TypeString","computed":true},"catalog_endpoint":{"type":"TypeString","computed":true},"guardian_endpoint":{"type":"TypeString","computed":true},"identity":{"type":"TypeList","required":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"managed_resource_group_name":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"managed_resources":{"type":"TypeList","computed":true,"elem":{"schema":{"event_hub_namespace_id":{"type":"TypeString","computed":true},"resource_group_id":{"type":"TypeString","computed":true},"storage_account_id":{"type":"TypeString","computed":true}}}},"name":{"type":"TypeString","required":true,"forceNew":true},"public_network_enabled":{"type":"TypeBool","optional":true,"default":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"scan_endpoint":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_recovery_services_vault":{"schema":{"classic_vmware_replication_enabled":{"type":"TypeBool","optional":true,"forceNew":true},"cross_region_restore_enabled":{"type":"TypeBool","optional":true,"default":false},"encryption":{"type":"TypeList","optional":true,"elem":{"schema":{"infrastructure_encryption_enabled":{"type":"TypeBool","required":true},"key_id":{"type":"TypeString","required":true},"use_system_assigned_identity":{"type":"TypeBool","optional":true,"default":true},"user_assigned_identity_id":{"type":"TypeString","optional":true}}},"maxItems":1},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"immutability":{"type":"TypeString","optional":true,"computed":true},"location":{"type":"TypeString","required":true,"forceNew":true},"monitoring":{"type":"TypeList","optional":true,"elem":{"schema":{"alerts_for_all_job_failures_enabled":{"type":"TypeBool","optional":true,"default":true},"alerts_for_critical_operation_failures_enabled":{"type":"TypeBool","optional":true,"default":true}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"public_network_access_enabled":{"type":"TypeBool","optional":true,"default":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"sku":{"type":"TypeString","required":true},"soft_delete_enabled":{"type":"TypeBool","optional":true,"default":true},"storage_mode_type":{"type":"TypeString","optional":true,"default":"GeoRedundant"},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":120,"read":5,"delete":30,"update":60}},"azurerm_recovery_services_vault_resource_guard_association":{"schema":{"resource_guard_id":{"type":"TypeString","required":true,"forceNew":true},"vault_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_redhat_openshift_cluster":{"schema":{"api_server_profile":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"ip_address":{"type":"TypeString","computed":true},"url":{"type":"TypeString","computed":true},"visibility":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"cluster_profile":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"domain":{"type":"TypeString","required":true,"forceNew":true},"fips_enabled":{"type":"TypeBool","optional":true,"default":false,"forceNew":true},"managed_resource_group_name":{"type":"TypeString","optional":true,"forceNew":true},"pull_secret":{"type":"TypeString","optional":true,"forceNew":true},"resource_group_id":{"type":"TypeString","computed":true},"version":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"console_url":{"type":"TypeString","computed":true},"ingress_profile":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"ip_address":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"visibility":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"main_profile":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"disk_encryption_set_id":{"type":"TypeString","optional":true,"forceNew":true},"encryption_at_host_enabled":{"type":"TypeBool","optional":true,"default":false,"forceNew":true},"subnet_id":{"type":"TypeString","required":true,"forceNew":true},"vm_size":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"network_profile":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"outbound_type":{"type":"TypeString","optional":true,"default":"Loadbalancer","forceNew":true},"pod_cidr":{"type":"TypeString","required":true,"forceNew":true},"preconfigured_network_security_group_enabled":{"type":"TypeBool","optional":true,"default":false,"forceNew":true},"service_cidr":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"service_principal":{"type":"TypeList","required":true,"elem":{"schema":{"client_id":{"type":"TypeString","required":true},"client_secret":{"type":"TypeString","required":true}}},"maxItems":1},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"worker_profile":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"disk_encryption_set_id":{"type":"TypeString","optional":true,"forceNew":true},"disk_size_gb":{"type":"TypeInt","required":true,"forceNew":true},"encryption_at_host_enabled":{"type":"TypeBool","optional":true,"default":false,"forceNew":true},"node_count":{"type":"TypeInt","required":true,"forceNew":true},"subnet_id":{"type":"TypeString","required":true,"forceNew":true},"vm_size":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1}},"timeouts":{"create":90,"read":5,"delete":90,"update":90}},"azurerm_redis_cache":{"schema":{"access_keys_authentication_enabled":{"type":"TypeBool","optional":true,"default":true},"capacity":{"type":"TypeInt","required":true},"family":{"type":"TypeString","required":true},"hostname":{"type":"TypeString","computed":true},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"minimum_tls_version":{"type":"TypeString","optional":true,"default":"1.2"},"name":{"type":"TypeString","required":true,"forceNew":true},"non_ssl_port_enabled":{"type":"TypeBool","optional":true,"default":false},"patch_schedule":{"type":"TypeList","optional":true,"elem":{"schema":{"day_of_week":{"type":"TypeString","required":true},"maintenance_window":{"type":"TypeString","optional":true,"default":"PT5H"},"start_hour_utc":{"type":"TypeInt","optional":true}}}},"port":{"type":"TypeInt","computed":true},"primary_access_key":{"type":"TypeString","computed":true},"primary_connection_string":{"type":"TypeString","computed":true},"private_static_ip_address":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"public_network_access_enabled":{"type":"TypeBool","optional":true,"default":true},"redis_configuration":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"active_directory_authentication_enabled":{"type":"TypeBool","optional":true},"aof_backup_enabled":{"type":"TypeBool","optional":true},"aof_storage_connection_string_0":{"type":"TypeString","optional":true},"aof_storage_connection_string_1":{"type":"TypeString","optional":true},"authentication_enabled":{"type":"TypeBool","optional":true,"default":true},"data_persistence_authentication_method":{"type":"TypeString","optional":true},"maxclients":{"type":"TypeInt","computed":true},"maxfragmentationmemory_reserved":{"type":"TypeInt","optional":true,"computed":true},"maxmemory_delta":{"type":"TypeInt","optional":true,"computed":true},"maxmemory_policy":{"type":"TypeString","optional":true,"default":"volatile-lru"},"maxmemory_reserved":{"type":"TypeInt","optional":true,"computed":true},"notify_keyspace_events":{"type":"TypeString","optional":true},"rdb_backup_enabled":{"type":"TypeBool","optional":true},"rdb_backup_frequency":{"type":"TypeInt","optional":true},"rdb_backup_max_snapshot_count":{"type":"TypeInt","optional":true},"rdb_storage_connection_string":{"type":"TypeString","optional":true},"storage_account_subscription_id":{"type":"TypeString","optional":true}}},"maxItems":1},"redis_version":{"type":"TypeString","optional":true,"default":6},"replicas_per_master":{"type":"TypeInt","optional":true,"computed":true},"replicas_per_primary":{"type":"TypeInt","optional":true,"computed":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"secondary_access_key":{"type":"TypeString","computed":true},"secondary_connection_string":{"type":"TypeString","computed":true},"shard_count":{"type":"TypeInt","optional":true},"sku_name":{"type":"TypeString","required":true},"ssl_port":{"type":"TypeInt","computed":true},"subnet_id":{"type":"TypeString","optional":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"tenant_settings":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"zones":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":180,"read":5,"delete":180,"update":180}},"azurerm_redis_cache_access_policy":{"schema":{"name":{"type":"TypeString","required":true,"forceNew":true},"permissions":{"type":"TypeString","required":true},"redis_cache_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":5,"read":5,"delete":5,"update":5}},"azurerm_redis_cache_access_policy_assignment":{"schema":{"access_policy_name":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"object_id":{"type":"TypeString","required":true,"forceNew":true},"object_id_alias":{"type":"TypeString","required":true,"forceNew":true},"redis_cache_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":5,"read":5,"delete":5}},"azurerm_redis_enterprise_cluster":{"schema":{"hostname":{"type":"TypeString","computed":true},"location":{"type":"TypeString","required":true,"forceNew":true},"minimum_tls_version":{"type":"TypeString","optional":true,"default":"1.2","forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"sku_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"zones":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_redis_enterprise_database":{"schema":{"client_protocol":{"type":"TypeString","optional":true,"default":"Encrypted","forceNew":true},"cluster_id":{"type":"TypeString","required":true,"forceNew":true},"clustering_policy":{"type":"TypeString","optional":true,"default":"OSSCluster","forceNew":true},"eviction_policy":{"type":"TypeString","optional":true,"default":"VolatileLRU","forceNew":true},"linked_database_group_nickname":{"type":"TypeString","optional":true,"forceNew":true},"linked_database_id":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":5},"module":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"args":{"type":"TypeString","optional":true,"default":"","forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"version":{"type":"TypeString","computed":true}}},"maxItems":4},"name":{"type":"TypeString","optional":true,"default":"default","forceNew":true},"port":{"type":"TypeInt","optional":true,"default":10000,"forceNew":true},"primary_access_key":{"type":"TypeString","computed":true},"secondary_access_key":{"type":"TypeString","computed":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_redis_firewall_rule":{"schema":{"end_ip":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true,"forceNew":true},"redis_cache_name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"start_ip":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_redis_linked_server":{"schema":{"geo_replicated_primary_host_name":{"type":"TypeString","computed":true},"linked_redis_cache_id":{"type":"TypeString","required":true,"forceNew":true},"linked_redis_cache_location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"server_role":{"type":"TypeString","required":true,"forceNew":true},"target_redis_cache_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":60,"read":5,"delete":60}},"azurerm_relay_hybrid_connection":{"schema":{"name":{"type":"TypeString","required":true,"forceNew":true},"relay_namespace_name":{"type":"TypeString","required":true,"forceNew":true},"requires_client_authorization":{"type":"TypeBool","optional":true,"default":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"user_metadata":{"type":"TypeString","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_relay_hybrid_connection_authorization_rule":{"schema":{"hybrid_connection_name":{"type":"TypeString","required":true,"forceNew":true},"listen":{"type":"TypeBool","optional":true,"default":false},"manage":{"type":"TypeBool","optional":true,"default":false},"name":{"type":"TypeString","required":true,"forceNew":true},"namespace_name":{"type":"TypeString","required":true,"forceNew":true},"primary_connection_string":{"type":"TypeString","computed":true},"primary_key":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"secondary_connection_string":{"type":"TypeString","computed":true},"secondary_key":{"type":"TypeString","computed":true},"send":{"type":"TypeBool","optional":true,"default":false}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_relay_namespace":{"schema":{"location":{"type":"TypeString","required":true,"forceNew":true},"metric_id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true,"forceNew":true},"primary_connection_string":{"type":"TypeString","computed":true},"primary_key":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"secondary_connection_string":{"type":"TypeString","computed":true},"secondary_key":{"type":"TypeString","computed":true},"sku_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":60,"update":30}},"azurerm_relay_namespace_authorization_rule":{"schema":{"listen":{"type":"TypeBool","optional":true,"default":false},"manage":{"type":"TypeBool","optional":true,"default":false},"name":{"type":"TypeString","required":true,"forceNew":true},"namespace_name":{"type":"TypeString","required":true,"forceNew":true},"primary_connection_string":{"type":"TypeString","computed":true},"primary_key":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"secondary_connection_string":{"type":"TypeString","computed":true},"secondary_key":{"type":"TypeString","computed":true},"send":{"type":"TypeBool","optional":true,"default":false}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_resource_deployment_script_azure_cli":{"schema":{"cleanup_preference":{"type":"TypeString","optional":true,"default":"Always","forceNew":true},"command_line":{"type":"TypeString","optional":true,"forceNew":true},"container":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"container_group_name":{"type":"TypeString","optional":true}}},"maxItems":1},"environment_variable":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"secure_value":{"type":"TypeString","optional":true},"value":{"type":"TypeString","optional":true}}}},"force_update_tag":{"type":"TypeString","optional":true,"forceNew":true},"identity":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","required":true,"forceNew":true,"elem":{"type":"TypeString"}},"type":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"outputs":{"type":"TypeString","computed":true},"primary_script_uri":{"type":"TypeString","optional":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"retention_interval":{"type":"TypeString","required":true,"forceNew":true},"script_content":{"type":"TypeString","optional":true,"forceNew":true},"storage_account":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"key":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true}}},"maxItems":1},"supporting_script_uris":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"timeout":{"type":"TypeString","optional":true,"default":"P1D","forceNew":true},"version":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_resource_deployment_script_azure_power_shell":{"schema":{"cleanup_preference":{"type":"TypeString","optional":true,"default":"Always","forceNew":true},"command_line":{"type":"TypeString","optional":true,"forceNew":true},"container":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"container_group_name":{"type":"TypeString","optional":true}}},"maxItems":1},"environment_variable":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"secure_value":{"type":"TypeString","optional":true},"value":{"type":"TypeString","optional":true}}}},"force_update_tag":{"type":"TypeString","optional":true,"forceNew":true},"identity":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","required":true,"forceNew":true,"elem":{"type":"TypeString"}},"type":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"outputs":{"type":"TypeString","computed":true},"primary_script_uri":{"type":"TypeString","optional":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"retention_interval":{"type":"TypeString","required":true,"forceNew":true},"script_content":{"type":"TypeString","optional":true,"forceNew":true},"storage_account":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"key":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true}}},"maxItems":1},"supporting_script_uris":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"timeout":{"type":"TypeString","optional":true,"default":"P1D","forceNew":true},"version":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_resource_group":{"schema":{"location":{"type":"TypeString","required":true,"forceNew":true},"managed_by":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":90,"read":5,"delete":90,"update":90}},"azurerm_resource_group_cost_management_export":{"schema":{"active":{"type":"TypeBool","optional":true,"default":true},"export_data_options":{"type":"TypeList","required":true,"elem":{"schema":{"time_frame":{"type":"TypeString","required":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"export_data_storage_location":{"type":"TypeList","required":true,"elem":{"schema":{"container_id":{"type":"TypeString","required":true,"forceNew":true},"root_folder_path":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"recurrence_period_end_date":{"type":"TypeString","required":true},"recurrence_period_start_date":{"type":"TypeString","required":true},"recurrence_type":{"type":"TypeString","required":true},"resource_group_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_resource_group_cost_management_view":{"schema":{"accumulated":{"type":"TypeBool","required":true,"forceNew":true},"chart_type":{"type":"TypeString","required":true},"dataset":{"type":"TypeList","required":true,"elem":{"schema":{"aggregation":{"type":"TypeSet","required":true,"elem":{"schema":{"column_name":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true}}}},"granularity":{"type":"TypeString","required":true},"grouping":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"type":{"type":"TypeString","required":true}}}},"sorting":{"type":"TypeList","optional":true,"elem":{"schema":{"direction":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true}}}}}},"maxItems":1},"display_name":{"type":"TypeString","required":true},"kpi":{"type":"TypeList","optional":true,"elem":{"schema":{"type":{"type":"TypeString","required":true}}}},"name":{"type":"TypeString","required":true,"forceNew":true},"pivot":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"type":{"type":"TypeString","required":true}}}},"report_type":{"type":"TypeString","required":true},"resource_group_id":{"type":"TypeString","required":true,"forceNew":true},"timeframe":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_resource_group_policy_assignment":{"schema":{"description":{"type":"TypeString","optional":true},"display_name":{"type":"TypeString","optional":true},"enforce":{"type":"TypeBool","optional":true,"default":true},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"location":{"type":"TypeString","optional":true,"forceNew":true},"metadata":{"type":"TypeString","optional":true,"computed":true},"name":{"type":"TypeString","required":true,"forceNew":true},"non_compliance_message":{"type":"TypeList","optional":true,"elem":{"schema":{"content":{"type":"TypeString","required":true},"policy_definition_reference_id":{"type":"TypeString","optional":true}}}},"not_scopes":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"overrides":{"type":"TypeList","optional":true,"elem":{"schema":{"selectors":{"type":"TypeList","optional":true,"elem":{"schema":{"in":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"kind":{"type":"TypeString","computed":true},"not_in":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}}}}},"value":{"type":"TypeString","required":true}}}},"parameters":{"type":"TypeString","optional":true},"policy_definition_id":{"type":"TypeString","required":true,"forceNew":true},"resource_group_id":{"type":"TypeString","required":true,"forceNew":true},"resource_selectors":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","optional":true},"selectors":{"type":"TypeList","required":true,"elem":{"schema":{"in":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"kind":{"type":"TypeString","required":true},"not_in":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}}}}}}}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_resource_group_policy_exemption":{"schema":{"description":{"type":"TypeString","optional":true},"display_name":{"type":"TypeString","optional":true},"exemption_category":{"type":"TypeString","required":true},"expires_on":{"type":"TypeString","optional":true},"metadata":{"type":"TypeString","optional":true,"computed":true},"name":{"type":"TypeString","required":true,"forceNew":true},"policy_assignment_id":{"type":"TypeString","required":true,"forceNew":true},"policy_definition_reference_ids":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"resource_group_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_resource_group_policy_remediation":{"schema":{"failure_percentage":{"type":"TypeFloat","optional":true},"location_filters":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true,"forceNew":true},"parallel_deployments":{"type":"TypeInt","optional":true},"policy_assignment_id":{"type":"TypeString","required":true},"policy_definition_reference_id":{"type":"TypeString","optional":true},"resource_count":{"type":"TypeInt","optional":true},"resource_discovery_mode":{"type":"TypeString","optional":true,"default":"ExistingNonCompliant"},"resource_group_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_resource_group_template_deployment":{"schema":{"debug_level":{"type":"TypeString","optional":true},"deployment_mode":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true,"forceNew":true},"output_content":{"type":"TypeString","computed":true},"parameters_content":{"type":"TypeString","optional":true,"computed":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"template_content":{"type":"TypeString","optional":true,"computed":true},"template_spec_version_id":{"type":"TypeString","optional":true}},"timeouts":{"create":180,"read":5,"delete":180,"update":180}},"azurerm_resource_management_private_link":{"schema":{"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_resource_management_private_link_association":{"schema":{"management_group_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","optional":true,"forceNew":true},"public_network_access_enabled":{"type":"TypeBool","required":true,"forceNew":true},"resource_management_private_link_id":{"type":"TypeString","required":true,"forceNew":true},"tenant_id":{"type":"TypeString","computed":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_resource_policy_assignment":{"schema":{"description":{"type":"TypeString","optional":true},"display_name":{"type":"TypeString","optional":true},"enforce":{"type":"TypeBool","optional":true,"default":true},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"location":{"type":"TypeString","optional":true,"forceNew":true},"metadata":{"type":"TypeString","optional":true,"computed":true},"name":{"type":"TypeString","required":true,"forceNew":true},"non_compliance_message":{"type":"TypeList","optional":true,"elem":{"schema":{"content":{"type":"TypeString","required":true},"policy_definition_reference_id":{"type":"TypeString","optional":true}}}},"not_scopes":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"overrides":{"type":"TypeList","optional":true,"elem":{"schema":{"selectors":{"type":"TypeList","optional":true,"elem":{"schema":{"in":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"kind":{"type":"TypeString","computed":true},"not_in":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}}}}},"value":{"type":"TypeString","required":true}}}},"parameters":{"type":"TypeString","optional":true},"policy_definition_id":{"type":"TypeString","required":true,"forceNew":true},"resource_id":{"type":"TypeString","required":true,"forceNew":true},"resource_selectors":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","optional":true},"selectors":{"type":"TypeList","required":true,"elem":{"schema":{"in":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"kind":{"type":"TypeString","required":true},"not_in":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}}}}}}}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_resource_policy_exemption":{"schema":{"description":{"type":"TypeString","optional":true},"display_name":{"type":"TypeString","optional":true},"exemption_category":{"type":"TypeString","required":true},"expires_on":{"type":"TypeString","optional":true},"metadata":{"type":"TypeString","optional":true,"computed":true},"name":{"type":"TypeString","required":true,"forceNew":true},"policy_assignment_id":{"type":"TypeString","required":true,"forceNew":true},"policy_definition_reference_ids":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"resource_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_resource_policy_remediation":{"schema":{"failure_percentage":{"type":"TypeFloat","optional":true},"location_filters":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true,"forceNew":true},"parallel_deployments":{"type":"TypeInt","optional":true},"policy_assignment_id":{"type":"TypeString","required":true},"policy_definition_reference_id":{"type":"TypeString","optional":true},"resource_count":{"type":"TypeInt","optional":true},"resource_discovery_mode":{"type":"TypeString","optional":true,"default":"ExistingNonCompliant"},"resource_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_resource_provider_registration":{"schema":{"feature":{"type":"TypeSet","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"registered":{"type":"TypeBool","required":true}}}},"name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":120,"read":5,"delete":30,"update":120}},"azurerm_restore_point_collection":{"schema":{"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"source_virtual_machine_id":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_role_assignment":{"schema":{"condition":{"type":"TypeString","optional":true,"forceNew":true},"condition_version":{"type":"TypeString","optional":true,"forceNew":true},"delegated_managed_identity_resource_id":{"type":"TypeString","optional":true,"forceNew":true},"description":{"type":"TypeString","optional":true,"forceNew":true},"name":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"principal_id":{"type":"TypeString","required":true,"forceNew":true},"principal_type":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"role_definition_id":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"role_definition_name":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"scope":{"type":"TypeString","required":true,"forceNew":true},"skip_service_principal_aad_check":{"type":"TypeBool","optional":true,"computed":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_role_definition":{"schema":{"assignable_scopes":{"type":"TypeList","optional":true,"computed":true,"elem":{"type":"TypeString"}},"description":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true},"permissions":{"type":"TypeList","optional":true,"elem":{"schema":{"actions":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"data_actions":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"not_actions":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"not_data_actions":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}}}}},"role_definition_id":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"role_definition_resource_id":{"type":"TypeString","computed":true},"scope":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":60}},"azurerm_role_management_policy":{"schema":{"activation_rules":{"type":"TypeList","optional":true,"description":"The activation rules of the policy","computed":true,"elem":{"schema":{"approval_stage":{"type":"TypeList","optional":true,"description":"The approval stages for the activation","elem":{"schema":{"primary_approver":{"type":"TypeSet","required":true,"description":"The IDs of the users or groups who can approve the activation","elem":{"schema":{"object_id":{"type":"TypeString","required":true,"description":"The ID of the object to act as an approver"},"type":{"type":"TypeString","required":true,"description":"The type of object acting as an approver"}}},"minItems":1}}},"maxItems":1},"maximum_duration":{"type":"TypeString","optional":true,"description":"The time after which the an activation can be valid for","computed":true},"require_approval":{"type":"TypeBool","optional":true,"description":"Whether an approval is required for activation","computed":true},"require_justification":{"type":"TypeBool","optional":true,"description":"Whether a justification is required during activation","computed":true},"require_multifactor_authentication":{"type":"TypeBool","optional":true,"description":"Whether multi-factor authentication is required during activation","computed":true},"require_ticket_info":{"type":"TypeBool","optional":true,"description":"Whether ticket information is required during activation","computed":true},"required_conditional_access_authentication_context":{"type":"TypeString","optional":true,"description":"Whether a conditional access context is required during activation","computed":true}}},"maxItems":1},"active_assignment_rules":{"type":"TypeList","optional":true,"description":"The rules for active assignment of the policy","computed":true,"elem":{"schema":{"expiration_required":{"type":"TypeBool","optional":true,"description":"Must the assignment have an expiry date","computed":true},"expire_after":{"type":"TypeString","optional":true,"description":"The duration after which assignments expire","computed":true},"require_justification":{"type":"TypeBool","optional":true,"description":"Whether a justification is required to make an assignment","computed":true},"require_multifactor_authentication":{"type":"TypeBool","optional":true,"description":"Whether multi-factor authentication is required to make an assignment","computed":true},"require_ticket_info":{"type":"TypeBool","optional":true,"description":"Whether ticket information is required to make an assignment","computed":true}}},"maxItems":1},"description":{"type":"TypeString","description":"The Description of the policy","computed":true},"eligible_assignment_rules":{"type":"TypeList","optional":true,"description":"The rules for eligible assignment of the policy","computed":true,"elem":{"schema":{"expiration_required":{"type":"TypeBool","optional":true,"description":"Must the assignment have an expiry date","computed":true},"expire_after":{"type":"TypeString","optional":true,"description":"The duration after which assignments expire","computed":true}}},"maxItems":1},"name":{"type":"TypeString","description":"The name of the policy","computed":true},"notification_rules":{"type":"TypeList","optional":true,"description":"The notification rules of the policy","computed":true,"elem":{"schema":{"active_assignments":{"type":"TypeList","optional":true,"description":"Notifications about active assignments","computed":true,"elem":{"schema":{"admin_notifications":{"type":"TypeList","optional":true,"description":"Admin notification settings","computed":true,"elem":{"schema":{"additional_recipients":{"type":"TypeSet","optional":true,"description":"The additional recipients to notify","computed":true,"elem":{"type":"TypeString"}},"default_recipients":{"type":"TypeBool","required":true,"description":"Whether the default recipients are notified"},"notification_level":{"type":"TypeString","required":true,"description":"What level of notifications are sent"}}},"maxItems":1},"approver_notifications":{"type":"TypeList","optional":true,"description":"Approver notification settings","computed":true,"elem":{"schema":{"additional_recipients":{"type":"TypeSet","optional":true,"description":"The additional recipients to notify","computed":true,"elem":{"type":"TypeString"}},"default_recipients":{"type":"TypeBool","required":true,"description":"Whether the default recipients are notified"},"notification_level":{"type":"TypeString","required":true,"description":"What level of notifications are sent"}}},"maxItems":1},"assignee_notifications":{"type":"TypeList","optional":true,"description":"Assignee notification settings","computed":true,"elem":{"schema":{"additional_recipients":{"type":"TypeSet","optional":true,"description":"The additional recipients to notify","computed":true,"elem":{"type":"TypeString"}},"default_recipients":{"type":"TypeBool","required":true,"description":"Whether the default recipients are notified"},"notification_level":{"type":"TypeString","required":true,"description":"What level of notifications are sent"}}},"maxItems":1}}},"maxItems":1},"eligible_activations":{"type":"TypeList","optional":true,"description":"Notifications about activations of eligible assignments","computed":true,"elem":{"schema":{"admin_notifications":{"type":"TypeList","optional":true,"description":"Admin notification settings","computed":true,"elem":{"schema":{"additional_recipients":{"type":"TypeSet","optional":true,"description":"The additional recipients to notify","computed":true,"elem":{"type":"TypeString"}},"default_recipients":{"type":"TypeBool","required":true,"description":"Whether the default recipients are notified"},"notification_level":{"type":"TypeString","required":true,"description":"What level of notifications are sent"}}},"maxItems":1},"approver_notifications":{"type":"TypeList","optional":true,"description":"Approver notification settings","computed":true,"elem":{"schema":{"additional_recipients":{"type":"TypeSet","optional":true,"description":"The additional recipients to notify","computed":true,"elem":{"type":"TypeString"}},"default_recipients":{"type":"TypeBool","required":true,"description":"Whether the default recipients are notified"},"notification_level":{"type":"TypeString","required":true,"description":"What level of notifications are sent"}}},"maxItems":1},"assignee_notifications":{"type":"TypeList","optional":true,"description":"Assignee notification settings","computed":true,"elem":{"schema":{"additional_recipients":{"type":"TypeSet","optional":true,"description":"The additional recipients to notify","computed":true,"elem":{"type":"TypeString"}},"default_recipients":{"type":"TypeBool","required":true,"description":"Whether the default recipients are notified"},"notification_level":{"type":"TypeString","required":true,"description":"What level of notifications are sent"}}},"maxItems":1}}},"maxItems":1},"eligible_assignments":{"type":"TypeList","optional":true,"description":"Notifications about eligible assignments","computed":true,"elem":{"schema":{"admin_notifications":{"type":"TypeList","optional":true,"description":"Admin notification settings","computed":true,"elem":{"schema":{"additional_recipients":{"type":"TypeSet","optional":true,"description":"The additional recipients to notify","computed":true,"elem":{"type":"TypeString"}},"default_recipients":{"type":"TypeBool","required":true,"description":"Whether the default recipients are notified"},"notification_level":{"type":"TypeString","required":true,"description":"What level of notifications are sent"}}},"maxItems":1},"approver_notifications":{"type":"TypeList","optional":true,"description":"Approver notification settings","computed":true,"elem":{"schema":{"additional_recipients":{"type":"TypeSet","optional":true,"description":"The additional recipients to notify","computed":true,"elem":{"type":"TypeString"}},"default_recipients":{"type":"TypeBool","required":true,"description":"Whether the default recipients are notified"},"notification_level":{"type":"TypeString","required":true,"description":"What level of notifications are sent"}}},"maxItems":1},"assignee_notifications":{"type":"TypeList","optional":true,"description":"Assignee notification settings","computed":true,"elem":{"schema":{"additional_recipients":{"type":"TypeSet","optional":true,"description":"The additional recipients to notify","computed":true,"elem":{"type":"TypeString"}},"default_recipients":{"type":"TypeBool","required":true,"description":"Whether the default recipients are notified"},"notification_level":{"type":"TypeString","required":true,"description":"What level of notifications are sent"}}},"maxItems":1}}},"maxItems":1}}},"maxItems":1},"role_definition_id":{"type":"TypeString","required":true,"description":"ID of the Azure Role to which this policy is assigned","forceNew":true},"scope":{"type":"TypeString","required":true,"description":"The scope of the role to which this policy will apply","forceNew":true}},"timeouts":{"create":30,"read":5,"delete":5,"update":30}},"azurerm_route":{"schema":{"address_prefix":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true,"forceNew":true},"next_hop_in_ip_address":{"type":"TypeString","optional":true},"next_hop_type":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"route_table_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_route_filter":{"schema":{"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"rule":{"type":"TypeList","configMode":"Auto","optional":true,"computed":true,"elem":{"schema":{"access":{"type":"TypeString","required":true},"communities":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"minItems":1},"name":{"type":"TypeString","required":true},"rule_type":{"type":"TypeString","required":true}}},"maxItems":1},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_route_map":{"schema":{"name":{"type":"TypeString","required":true,"forceNew":true},"rule":{"type":"TypeList","optional":true,"elem":{"schema":{"action":{"type":"TypeList","optional":true,"elem":{"schema":{"parameter":{"type":"TypeList","optional":true,"elem":{"schema":{"as_path":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"community":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"route_prefix":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}}}}},"type":{"type":"TypeString","required":true}}}},"match_criterion":{"type":"TypeList","optional":true,"elem":{"schema":{"as_path":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"community":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"match_condition":{"type":"TypeString","required":true},"route_prefix":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}}}}},"name":{"type":"TypeString","required":true},"next_step_if_matched":{"type":"TypeString","optional":true,"default":"Unknown"}}}},"virtual_hub_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":60,"read":5,"delete":60,"update":60}},"azurerm_route_server":{"schema":{"branch_to_branch_traffic_enabled":{"type":"TypeBool","optional":true,"default":false},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"public_ip_address_id":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"routing_state":{"type":"TypeString","computed":true},"sku":{"type":"TypeString","required":true,"forceNew":true},"subnet_id":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"virtual_router_asn":{"type":"TypeInt","computed":true},"virtual_router_ips":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":60,"read":5,"delete":60,"update":60}},"azurerm_route_server_bgp_connection":{"schema":{"name":{"type":"TypeString","required":true,"forceNew":true},"peer_asn":{"type":"TypeInt","required":true,"forceNew":true},"peer_ip":{"type":"TypeString","required":true,"forceNew":true},"route_server_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_route_table":{"schema":{"bgp_route_propagation_enabled":{"type":"TypeBool","optional":true,"default":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"route":{"type":"TypeSet","configMode":"Auto","optional":true,"computed":true,"elem":{"schema":{"address_prefix":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true},"next_hop_in_ip_address":{"type":"TypeString","optional":true},"next_hop_type":{"type":"TypeString","required":true}}}},"subnets":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_search_service":{"schema":{"allowed_ips":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"authentication_failure_mode":{"type":"TypeString","optional":true},"customer_managed_key_enforcement_enabled":{"type":"TypeBool","optional":true,"default":false},"hosting_mode":{"type":"TypeString","optional":true,"default":"default","forceNew":true},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"local_authentication_enabled":{"type":"TypeBool","optional":true,"default":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"partition_count":{"type":"TypeInt","optional":true,"default":1},"primary_key":{"type":"TypeString","computed":true},"public_network_access_enabled":{"type":"TypeBool","optional":true,"default":true},"query_keys":{"type":"TypeList","computed":true,"elem":{"schema":{"key":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true}}}},"replica_count":{"type":"TypeInt","optional":true,"default":1},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"secondary_key":{"type":"TypeString","computed":true},"semantic_search_sku":{"type":"TypeString","optional":true},"sku":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":60,"read":5,"delete":60,"update":60}},"azurerm_search_shared_private_link_service":{"schema":{"name":{"type":"TypeString","required":true,"forceNew":true},"request_message":{"type":"TypeString","optional":true},"search_service_id":{"type":"TypeString","required":true,"forceNew":true},"status":{"type":"TypeString","computed":true},"subresource_name":{"type":"TypeString","required":true,"forceNew":true},"target_resource_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":60,"read":5,"delete":60,"update":60}},"azurerm_security_center_assessment":{"schema":{"additional_data":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"assessment_policy_id":{"type":"TypeString","required":true,"forceNew":true},"status":{"type":"TypeList","required":true,"elem":{"schema":{"cause":{"type":"TypeString","optional":true},"code":{"type":"TypeString","required":true},"description":{"type":"TypeString","optional":true}}},"maxItems":1},"target_resource_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_security_center_assessment_policy":{"schema":{"categories":{"type":"TypeSet","optional":true,"computed":true,"elem":{"type":"TypeString"}},"description":{"type":"TypeString","required":true},"display_name":{"type":"TypeString","required":true},"implementation_effort":{"type":"TypeString","optional":true},"name":{"type":"TypeString","computed":true},"remediation_description":{"type":"TypeString","optional":true},"severity":{"type":"TypeString","optional":true,"default":"Medium"},"threats":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"user_impact":{"type":"TypeString","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_security_center_auto_provisioning":{"schema":{"auto_provision":{"type":"TypeString","required":true}},"timeouts":{"create":60,"read":5,"delete":60,"update":60}},"azurerm_security_center_automation":{"schema":{"action":{"type":"TypeList","required":true,"elem":{"schema":{"connection_string":{"type":"TypeString","optional":true},"resource_id":{"type":"TypeString","required":true},"trigger_url":{"type":"TypeString","optional":true},"type":{"type":"TypeString","required":true}}},"minItems":1},"description":{"type":"TypeString","optional":true},"enabled":{"type":"TypeBool","optional":true,"default":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"scopes":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"minItems":1},"source":{"type":"TypeList","required":true,"elem":{"schema":{"event_source":{"type":"TypeString","required":true},"rule_set":{"type":"TypeList","optional":true,"elem":{"schema":{"rule":{"type":"TypeList","required":true,"elem":{"schema":{"expected_value":{"type":"TypeString","required":true},"operator":{"type":"TypeString","required":true},"property_path":{"type":"TypeString","required":true},"property_type":{"type":"TypeString","required":true}}}}}}}}},"minItems":1},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_security_center_contact":{"schema":{"alert_notifications":{"type":"TypeBool","required":true},"alerts_to_admins":{"type":"TypeBool","required":true},"email":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true,"forceNew":true},"phone":{"type":"TypeString","optional":true}},"timeouts":{"create":60,"read":5,"delete":60,"update":60}},"azurerm_security_center_server_vulnerability_assessment_virtual_machine":{"schema":{"virtual_machine_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":5,"read":5,"delete":10}},"azurerm_security_center_server_vulnerability_assessments_setting":{"schema":{"vulnerability_assessment_provider":{"type":"TypeString","required":true}},"timeouts":{"create":10,"read":5,"delete":10,"update":10}},"azurerm_security_center_setting":{"schema":{"enabled":{"type":"TypeBool","required":true},"setting_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":10,"read":5,"delete":10,"update":10}},"azurerm_security_center_storage_defender":{"schema":{"malware_scanning_on_upload_cap_gb_per_month":{"type":"TypeInt","optional":true,"default":-1},"malware_scanning_on_upload_enabled":{"type":"TypeBool","optional":true,"default":false},"override_subscription_settings_enabled":{"type":"TypeBool","optional":true,"default":false},"scan_results_event_grid_topic_id":{"type":"TypeString","optional":true},"sensitive_data_discovery_enabled":{"type":"TypeBool","optional":true,"default":false},"storage_account_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_security_center_subscription_pricing":{"schema":{"extension":{"type":"TypeSet","optional":true,"elem":{"schema":{"additional_extension_properties":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true}}}},"resource_type":{"type":"TypeString","optional":true,"default":"VirtualMachines"},"subplan":{"type":"TypeString","optional":true},"tier":{"type":"TypeString","required":true}},"timeouts":{"create":60,"read":5,"delete":60,"update":60}},"azurerm_security_center_workspace":{"schema":{"scope":{"type":"TypeString","required":true},"workspace_id":{"type":"TypeString","required":true}},"timeouts":{"create":60,"read":5,"delete":60,"update":60}},"azurerm_sentinel_alert_rule_anomaly_built_in":{"schema":{"anomaly_settings_version":{"type":"TypeInt","computed":true},"anomaly_version":{"type":"TypeString","computed":true},"description":{"type":"TypeString","computed":true},"display_name":{"type":"TypeString","optional":true,"computed":true},"enabled":{"type":"TypeBool","required":true},"frequency":{"type":"TypeString","computed":true},"log_analytics_workspace_id":{"type":"TypeString","required":true,"forceNew":true},"mode":{"type":"TypeString","required":true},"multi_select_observation":{"type":"TypeList","computed":true,"elem":{"schema":{"description":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"supported_values":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"values":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}}},"name":{"type":"TypeString","optional":true,"computed":true},"prioritized_exclude_observation":{"type":"TypeList","computed":true,"elem":{"schema":{"description":{"type":"TypeString","computed":true},"exclude":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"prioritize":{"type":"TypeString","computed":true}}}},"required_data_connector":{"type":"TypeList","computed":true,"elem":{"schema":{"connector_id":{"type":"TypeString","computed":true},"data_types":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}}},"settings_definition_id":{"type":"TypeString","computed":true},"single_select_observation":{"type":"TypeList","computed":true,"elem":{"schema":{"description":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"supported_values":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"value":{"type":"TypeString","computed":true}}}},"tactics":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"techniques":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"threshold_observation":{"type":"TypeList","computed":true,"elem":{"schema":{"description":{"type":"TypeString","computed":true},"max":{"type":"TypeString","computed":true},"min":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"value":{"type":"TypeString","computed":true}}}}},"timeouts":{"create":30,"read":5,"delete":5,"update":30}},"azurerm_sentinel_alert_rule_anomaly_duplicate":{"schema":{"anomaly_settings_version":{"type":"TypeInt","computed":true},"anomaly_version":{"type":"TypeString","computed":true},"built_in_rule_id":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","computed":true},"display_name":{"type":"TypeString","required":true},"enabled":{"type":"TypeBool","required":true},"frequency":{"type":"TypeString","computed":true},"is_default_settings":{"type":"TypeBool","computed":true},"log_analytics_workspace_id":{"type":"TypeString","required":true,"forceNew":true},"mode":{"type":"TypeString","required":true},"multi_select_observation":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"description":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"supported_values":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"values":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}}}}},"name":{"type":"TypeString","computed":true},"prioritized_exclude_observation":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"description":{"type":"TypeString","computed":true},"exclude":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true},"prioritize":{"type":"TypeString","optional":true}}}},"required_data_connector":{"type":"TypeList","computed":true,"elem":{"schema":{"connector_id":{"type":"TypeString","computed":true},"data_types":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}}},"settings_definition_id":{"type":"TypeString","computed":true},"single_select_observation":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"description":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"supported_values":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"value":{"type":"TypeString","required":true}}}},"tactics":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"techniques":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"threshold_observation":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"description":{"type":"TypeString","computed":true},"max":{"type":"TypeString","computed":true},"min":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"value":{"type":"TypeString","required":true}}}}},"timeouts":{"create":30,"read":5,"delete":5,"update":30}},"azurerm_sentinel_alert_rule_fusion":{"schema":{"alert_rule_template_guid":{"type":"TypeString","required":true,"forceNew":true},"enabled":{"type":"TypeBool","optional":true,"default":true},"log_analytics_workspace_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"source":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"enabled":{"type":"TypeBool","optional":true,"default":true},"name":{"type":"TypeString","required":true},"sub_type":{"type":"TypeList","optional":true,"elem":{"schema":{"enabled":{"type":"TypeBool","optional":true,"default":true},"name":{"type":"TypeString","required":true},"severities_allowed":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"},"minItems":1}}}}}}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_sentinel_alert_rule_machine_learning_behavior_analytics":{"schema":{"alert_rule_template_guid":{"type":"TypeString","required":true,"forceNew":true},"enabled":{"type":"TypeBool","optional":true,"default":true},"log_analytics_workspace_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_sentinel_alert_rule_ms_security_incident":{"schema":{"alert_rule_template_guid":{"type":"TypeString","optional":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"display_name":{"type":"TypeString","required":true},"display_name_exclude_filter":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"minItems":1},"display_name_filter":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"minItems":1},"enabled":{"type":"TypeBool","optional":true,"default":true},"log_analytics_workspace_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"product_filter":{"type":"TypeString","required":true},"severity_filter":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"},"minItems":1}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_sentinel_alert_rule_nrt":{"schema":{"alert_details_override":{"type":"TypeList","optional":true,"elem":{"schema":{"description_format":{"type":"TypeString","optional":true},"display_name_format":{"type":"TypeString","optional":true},"dynamic_property":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"value":{"type":"TypeString","required":true}}}},"severity_column_name":{"type":"TypeString","optional":true},"tactics_column_name":{"type":"TypeString","optional":true}}}},"alert_rule_template_guid":{"type":"TypeString","optional":true,"forceNew":true},"alert_rule_template_version":{"type":"TypeString","optional":true,"forceNew":true},"custom_details":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"description":{"type":"TypeString","optional":true},"display_name":{"type":"TypeString","required":true},"enabled":{"type":"TypeBool","optional":true,"default":true},"entity_mapping":{"type":"TypeList","optional":true,"elem":{"schema":{"entity_type":{"type":"TypeString","required":true},"field_mapping":{"type":"TypeList","required":true,"elem":{"schema":{"column_name":{"type":"TypeString","required":true},"identifier":{"type":"TypeString","required":true}}},"maxItems":3}}},"maxItems":5},"event_grouping":{"type":"TypeList","required":true,"elem":{"schema":{"aggregation_method":{"type":"TypeString","required":true}}},"maxItems":1},"incident":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"create_incident_enabled":{"type":"TypeBool","required":true},"grouping":{"type":"TypeList","required":true,"elem":{"schema":{"by_alert_details":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"by_custom_details":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"by_entities":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"enabled":{"type":"TypeBool","optional":true,"default":true},"entity_matching_method":{"type":"TypeString","optional":true,"default":"AnyAlert"},"lookback_duration":{"type":"TypeString","optional":true,"default":"PT5M"},"reopen_closed_incidents":{"type":"TypeBool","optional":true,"default":false}}},"maxItems":1,"minItems":1}}},"maxItems":1,"minItems":1},"log_analytics_workspace_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"query":{"type":"TypeString","required":true},"sentinel_entity_mapping":{"type":"TypeList","optional":true,"elem":{"schema":{"column_name":{"type":"TypeString","required":true}}},"maxItems":5},"severity":{"type":"TypeString","required":true},"suppression_duration":{"type":"TypeString","optional":true,"default":"PT5H"},"suppression_enabled":{"type":"TypeBool","optional":true,"default":false},"tactics":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"techniques":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_sentinel_alert_rule_scheduled":{"schema":{"alert_details_override":{"type":"TypeList","optional":true,"elem":{"schema":{"description_format":{"type":"TypeString","optional":true},"display_name_format":{"type":"TypeString","optional":true},"dynamic_property":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"value":{"type":"TypeString","required":true}}}},"severity_column_name":{"type":"TypeString","optional":true},"tactics_column_name":{"type":"TypeString","optional":true}}}},"alert_rule_template_guid":{"type":"TypeString","optional":true,"forceNew":true},"alert_rule_template_version":{"type":"TypeString","optional":true},"custom_details":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"description":{"type":"TypeString","optional":true},"display_name":{"type":"TypeString","required":true},"enabled":{"type":"TypeBool","optional":true,"default":true},"entity_mapping":{"type":"TypeList","optional":true,"elem":{"schema":{"entity_type":{"type":"TypeString","required":true},"field_mapping":{"type":"TypeList","required":true,"elem":{"schema":{"column_name":{"type":"TypeString","required":true},"identifier":{"type":"TypeString","required":true}}},"maxItems":3}}},"maxItems":5},"event_grouping":{"type":"TypeList","optional":true,"elem":{"schema":{"aggregation_method":{"type":"TypeString","required":true}}},"maxItems":1},"incident":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"create_incident_enabled":{"type":"TypeBool","required":true},"grouping":{"type":"TypeList","required":true,"elem":{"schema":{"by_alert_details":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"by_custom_details":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"by_entities":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"enabled":{"type":"TypeBool","optional":true,"default":true},"entity_matching_method":{"type":"TypeString","optional":true,"default":"AnyAlert"},"lookback_duration":{"type":"TypeString","optional":true,"default":"PT5M"},"reopen_closed_incidents":{"type":"TypeBool","optional":true,"default":false}}},"maxItems":1,"minItems":1}}},"maxItems":1,"minItems":1},"log_analytics_workspace_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"query":{"type":"TypeString","required":true},"query_frequency":{"type":"TypeString","optional":true,"default":"PT5H"},"query_period":{"type":"TypeString","optional":true,"default":"PT5H"},"sentinel_entity_mapping":{"type":"TypeList","optional":true,"elem":{"schema":{"column_name":{"type":"TypeString","required":true}}},"maxItems":5},"severity":{"type":"TypeString","required":true},"suppression_duration":{"type":"TypeString","optional":true,"default":"PT5H"},"suppression_enabled":{"type":"TypeBool","optional":true,"default":false},"tactics":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"techniques":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"trigger_operator":{"type":"TypeString","optional":true,"default":"GreaterThan"},"trigger_threshold":{"type":"TypeInt","optional":true,"default":0}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_sentinel_alert_rule_threat_intelligence":{"schema":{"alert_rule_template_guid":{"type":"TypeString","required":true,"forceNew":true},"enabled":{"type":"TypeBool","optional":true,"default":true},"log_analytics_workspace_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_sentinel_automation_rule":{"schema":{"action_incident":{"type":"TypeList","optional":true,"elem":{"schema":{"classification":{"type":"TypeString","optional":true},"classification_comment":{"type":"TypeString","optional":true},"labels":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"order":{"type":"TypeInt","required":true},"owner_id":{"type":"TypeString","optional":true},"severity":{"type":"TypeString","optional":true},"status":{"type":"TypeString","optional":true}}}},"action_playbook":{"type":"TypeList","optional":true,"elem":{"schema":{"logic_app_id":{"type":"TypeString","required":true},"order":{"type":"TypeInt","required":true},"tenant_id":{"type":"TypeString","optional":true,"computed":true}}}},"condition_json":{"type":"TypeString","optional":true},"display_name":{"type":"TypeString","required":true},"enabled":{"type":"TypeBool","optional":true,"default":true},"expiration":{"type":"TypeString","optional":true},"log_analytics_workspace_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"order":{"type":"TypeInt","required":true},"triggers_on":{"type":"TypeString","optional":true,"default":"Incidents"},"triggers_when":{"type":"TypeString","optional":true,"default":"Created"}},"timeouts":{"create":5,"read":5,"delete":5,"update":5}},"azurerm_sentinel_data_connector_aws_cloud_trail":{"schema":{"aws_role_arn":{"type":"TypeString","required":true},"log_analytics_workspace_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_sentinel_data_connector_aws_s3":{"schema":{"aws_role_arn":{"type":"TypeString","required":true},"destination_table":{"type":"TypeString","required":true},"log_analytics_workspace_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"sqs_urls":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_sentinel_data_connector_azure_active_directory":{"schema":{"log_analytics_workspace_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"tenant_id":{"type":"TypeString","optional":true,"computed":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_sentinel_data_connector_azure_advanced_threat_protection":{"schema":{"log_analytics_workspace_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"tenant_id":{"type":"TypeString","optional":true,"computed":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_sentinel_data_connector_azure_security_center":{"schema":{"log_analytics_workspace_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"subscription_id":{"type":"TypeString","optional":true,"computed":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_sentinel_data_connector_dynamics_365":{"schema":{"log_analytics_workspace_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"tenant_id":{"type":"TypeString","optional":true,"computed":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_sentinel_data_connector_iot":{"schema":{"log_analytics_workspace_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"subscription_id":{"type":"TypeString","optional":true,"computed":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_sentinel_data_connector_microsoft_cloud_app_security":{"schema":{"alerts_enabled":{"type":"TypeBool","optional":true,"default":true},"discovery_logs_enabled":{"type":"TypeBool","optional":true,"default":true},"log_analytics_workspace_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"tenant_id":{"type":"TypeString","optional":true,"computed":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_sentinel_data_connector_microsoft_defender_advanced_threat_protection":{"schema":{"log_analytics_workspace_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"tenant_id":{"type":"TypeString","optional":true,"computed":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_sentinel_data_connector_microsoft_threat_intelligence":{"schema":{"log_analytics_workspace_id":{"type":"TypeString","required":true,"forceNew":true},"microsoft_emerging_threat_feed_lookback_date":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"tenant_id":{"type":"TypeString","optional":true,"computed":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_sentinel_data_connector_microsoft_threat_protection":{"schema":{"log_analytics_workspace_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"tenant_id":{"type":"TypeString","optional":true,"computed":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_sentinel_data_connector_office_365":{"schema":{"exchange_enabled":{"type":"TypeBool","optional":true,"default":true},"log_analytics_workspace_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"sharepoint_enabled":{"type":"TypeBool","optional":true,"default":true},"teams_enabled":{"type":"TypeBool","optional":true,"default":true},"tenant_id":{"type":"TypeString","optional":true,"computed":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_sentinel_data_connector_office_365_project":{"schema":{"log_analytics_workspace_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"tenant_id":{"type":"TypeString","optional":true,"computed":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_sentinel_data_connector_office_atp":{"schema":{"log_analytics_workspace_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"tenant_id":{"type":"TypeString","optional":true,"computed":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_sentinel_data_connector_office_irm":{"schema":{"log_analytics_workspace_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"tenant_id":{"type":"TypeString","optional":true,"computed":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_sentinel_data_connector_office_power_bi":{"schema":{"log_analytics_workspace_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"tenant_id":{"type":"TypeString","optional":true,"computed":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_sentinel_data_connector_threat_intelligence":{"schema":{"log_analytics_workspace_id":{"type":"TypeString","required":true,"forceNew":true},"lookback_date":{"type":"TypeString","optional":true,"default":"1970-01-01T00:00:00Z","forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"tenant_id":{"type":"TypeString","optional":true,"computed":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_sentinel_data_connector_threat_intelligence_taxii":{"schema":{"api_root_url":{"type":"TypeString","required":true},"collection_id":{"type":"TypeString","required":true},"display_name":{"type":"TypeString","required":true},"log_analytics_workspace_id":{"type":"TypeString","required":true,"forceNew":true},"lookback_date":{"type":"TypeString","optional":true,"default":"1970-01-01T00:00:00Z"},"name":{"type":"TypeString","required":true,"forceNew":true},"password":{"type":"TypeString","optional":true},"polling_frequency":{"type":"TypeString","optional":true,"default":"OnceAnHour"},"tenant_id":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"user_name":{"type":"TypeString","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_sentinel_log_analytics_workspace_onboarding":{"schema":{"customer_managed_key_enabled":{"type":"TypeBool","optional":true,"default":false,"forceNew":true},"workspace_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_sentinel_metadata":{"schema":{"author":{"type":"TypeList","optional":true,"elem":{"schema":{"email":{"type":"TypeString","optional":true},"link":{"type":"TypeString","optional":true},"name":{"type":"TypeString","optional":true}}},"maxItems":1},"category":{"type":"TypeList","optional":true,"elem":{"schema":{"domains":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"verticals":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"content_id":{"type":"TypeString","required":true},"content_schema_version":{"type":"TypeString","optional":true,"default":"2.0"},"custom_version":{"type":"TypeString","optional":true},"dependency":{"type":"TypeString","optional":true},"first_publish_date":{"type":"TypeString","optional":true},"icon_id":{"type":"TypeString","optional":true},"kind":{"type":"TypeString","required":true},"last_publish_date":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"parent_id":{"type":"TypeString","required":true},"preview_images":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"preview_images_dark":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"providers":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"source":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"id":{"type":"TypeString","optional":true},"kind":{"type":"TypeString","required":true},"name":{"type":"TypeString","optional":true}}},"maxItems":1},"support":{"type":"TypeList","optional":true,"elem":{"schema":{"email":{"type":"TypeString","optional":true},"link":{"type":"TypeString","optional":true},"name":{"type":"TypeString","optional":true},"tier":{"type":"TypeString","required":true}}},"maxItems":1},"threat_analysis_tactics":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"threat_analysis_techniques":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"version":{"type":"TypeString","optional":true},"workspace_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_sentinel_threat_intelligence_indicator":{"schema":{"confidence":{"type":"TypeInt","optional":true,"default":-1},"created_by":{"type":"TypeString","optional":true},"created_on":{"type":"TypeString","computed":true},"defanged":{"type":"TypeBool","computed":true},"description":{"type":"TypeString","optional":true},"display_name":{"type":"TypeString","required":true},"extension":{"type":"TypeString","optional":true,"computed":true},"external_id":{"type":"TypeString","computed":true},"external_last_updated_time_utc":{"type":"TypeString","computed":true},"external_reference":{"type":"TypeList","optional":true,"elem":{"schema":{"description":{"type":"TypeString","optional":true},"hashes":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"id":{"type":"TypeString","computed":true},"source_name":{"type":"TypeString","optional":true},"url":{"type":"TypeString","optional":true}}}},"granular_marking":{"type":"TypeList","optional":true,"elem":{"schema":{"language":{"type":"TypeString","optional":true},"marking_ref":{"type":"TypeString","optional":true},"selectors":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}}}}},"guid":{"type":"TypeString","computed":true},"indicator_type":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"kill_chain_phase":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","optional":true}}}},"language":{"type":"TypeString","optional":true},"last_updated_time_utc":{"type":"TypeString","computed":true},"object_marking_refs":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"parsed_pattern":{"type":"TypeList","computed":true,"elem":{"schema":{"pattern_type_key":{"type":"TypeString","computed":true},"pattern_type_values":{"type":"TypeList","computed":true,"elem":{"schema":{"value":{"type":"TypeString","computed":true},"value_type":{"type":"TypeString","computed":true}}}}}}},"pattern":{"type":"TypeString","required":true},"pattern_type":{"type":"TypeString","required":true},"pattern_version":{"type":"TypeString","optional":true},"revoked":{"type":"TypeBool","optional":true,"default":false},"source":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"threat_types":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"validate_from_utc":{"type":"TypeString","required":true},"validate_until_utc":{"type":"TypeString","optional":true},"workspace_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_sentinel_watchlist":{"schema":{"default_duration":{"type":"TypeString","optional":true,"forceNew":true},"description":{"type":"TypeString","optional":true,"forceNew":true},"display_name":{"type":"TypeString","required":true,"forceNew":true},"item_search_key":{"type":"TypeString","required":true,"forceNew":true},"labels":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"log_analytics_workspace_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_sentinel_watchlist_item":{"schema":{"name":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"properties":{"type":"TypeMap","required":true,"elem":{"type":"TypeString"}},"watchlist_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_service_fabric_cluster":{"schema":{"add_on_features":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"azure_active_directory":{"type":"TypeList","optional":true,"elem":{"schema":{"client_application_id":{"type":"TypeString","required":true},"cluster_application_id":{"type":"TypeString","required":true},"tenant_id":{"type":"TypeString","required":true}}},"maxItems":1},"certificate":{"type":"TypeList","optional":true,"elem":{"schema":{"thumbprint":{"type":"TypeString","required":true},"thumbprint_secondary":{"type":"TypeString","optional":true},"x509_store_name":{"type":"TypeString","required":true}}},"maxItems":1},"certificate_common_names":{"type":"TypeList","optional":true,"elem":{"schema":{"common_names":{"type":"TypeSet","required":true,"elem":{"schema":{"certificate_common_name":{"type":"TypeString","required":true},"certificate_issuer_thumbprint":{"type":"TypeString","optional":true}}},"minItems":1},"x509_store_name":{"type":"TypeString","required":true}}},"maxItems":1},"client_certificate_common_name":{"type":"TypeList","optional":true,"elem":{"schema":{"common_name":{"type":"TypeString","required":true},"is_admin":{"type":"TypeBool","required":true},"issuer_thumbprint":{"type":"TypeString","optional":true}}}},"client_certificate_thumbprint":{"type":"TypeList","optional":true,"elem":{"schema":{"is_admin":{"type":"TypeBool","required":true},"thumbprint":{"type":"TypeString","required":true}}}},"cluster_code_version":{"type":"TypeString","optional":true,"computed":true},"cluster_endpoint":{"type":"TypeString","computed":true},"diagnostics_config":{"type":"TypeList","optional":true,"elem":{"schema":{"blob_endpoint":{"type":"TypeString","required":true},"protected_account_key_name":{"type":"TypeString","required":true},"queue_endpoint":{"type":"TypeString","required":true},"storage_account_name":{"type":"TypeString","required":true},"table_endpoint":{"type":"TypeString","required":true}}},"maxItems":1},"fabric_settings":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}}}},"location":{"type":"TypeString","required":true,"forceNew":true},"management_endpoint":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"node_type":{"type":"TypeList","required":true,"elem":{"schema":{"application_ports":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"end_port":{"type":"TypeInt","required":true},"start_port":{"type":"TypeInt","required":true}}},"maxItems":1},"capacities":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"client_endpoint_port":{"type":"TypeInt","required":true},"durability_level":{"type":"TypeString","optional":true,"default":"Bronze"},"ephemeral_ports":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"end_port":{"type":"TypeInt","required":true},"start_port":{"type":"TypeInt","required":true}}},"maxItems":1},"http_endpoint_port":{"type":"TypeInt","required":true},"instance_count":{"type":"TypeInt","required":true},"is_primary":{"type":"TypeBool","required":true},"is_stateless":{"type":"TypeBool","optional":true},"multiple_availability_zones":{"type":"TypeBool","optional":true},"name":{"type":"TypeString","required":true},"placement_properties":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"reverse_proxy_endpoint_port":{"type":"TypeInt","optional":true}}}},"reliability_level":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"reverse_proxy_certificate":{"type":"TypeList","optional":true,"elem":{"schema":{"thumbprint":{"type":"TypeString","required":true},"thumbprint_secondary":{"type":"TypeString","optional":true},"x509_store_name":{"type":"TypeString","required":true}}},"maxItems":1},"reverse_proxy_certificate_common_names":{"type":"TypeList","optional":true,"elem":{"schema":{"common_names":{"type":"TypeSet","required":true,"elem":{"schema":{"certificate_common_name":{"type":"TypeString","required":true},"certificate_issuer_thumbprint":{"type":"TypeString","optional":true}}},"minItems":1},"x509_store_name":{"type":"TypeString","required":true}}},"maxItems":1},"service_fabric_zonal_upgrade_mode":{"type":"TypeString","optional":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"upgrade_mode":{"type":"TypeString","required":true},"upgrade_policy":{"type":"TypeList","optional":true,"elem":{"schema":{"delta_health_policy":{"type":"TypeList","optional":true,"elem":{"schema":{"max_delta_unhealthy_applications_percent":{"type":"TypeInt","optional":true,"default":0},"max_delta_unhealthy_nodes_percent":{"type":"TypeInt","optional":true,"default":0},"max_upgrade_domain_delta_unhealthy_nodes_percent":{"type":"TypeInt","optional":true,"default":0}}},"maxItems":1},"force_restart_enabled":{"type":"TypeBool","optional":true},"health_check_retry_timeout":{"type":"TypeString","optional":true,"default":"00:45:00"},"health_check_stable_duration":{"type":"TypeString","optional":true,"default":"00:01:00"},"health_check_wait_duration":{"type":"TypeString","optional":true,"default":"00:00:30"},"health_policy":{"type":"TypeList","optional":true,"elem":{"schema":{"max_unhealthy_applications_percent":{"type":"TypeInt","optional":true,"default":0},"max_unhealthy_nodes_percent":{"type":"TypeInt","optional":true,"default":0}}},"maxItems":1},"upgrade_domain_timeout":{"type":"TypeString","optional":true,"default":"02:00:00"},"upgrade_replica_set_check_timeout":{"type":"TypeString","optional":true,"default":"10675199.02:48:05.4775807"},"upgrade_timeout":{"type":"TypeString","optional":true,"default":"12:00:00"}}},"maxItems":1},"vm_image":{"type":"TypeString","required":true,"forceNew":true},"vmss_zonal_upgrade_mode":{"type":"TypeString","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_service_fabric_managed_cluster":{"schema":{"authentication":{"type":"TypeList","optional":true,"elem":{"schema":{"active_directory":{"type":"TypeList","optional":true,"elem":{"schema":{"client_application_id":{"type":"TypeString","required":true},"cluster_application_id":{"type":"TypeString","required":true},"tenant_id":{"type":"TypeString","required":true}}},"maxItems":1},"certificate":{"type":"TypeList","optional":true,"elem":{"schema":{"common_name":{"type":"TypeString","optional":true},"thumbprint":{"type":"TypeString","required":true},"type":{"type":"TypeString","required":true}}}}}},"maxItems":1},"backup_service_enabled":{"type":"TypeBool","optional":true},"client_connection_port":{"type":"TypeInt","required":true},"custom_fabric_setting":{"type":"TypeList","optional":true,"elem":{"schema":{"parameter":{"type":"TypeString","required":true},"section":{"type":"TypeString","required":true},"value":{"type":"TypeString","required":true}}}},"dns_name":{"type":"TypeString","optional":true,"computed":true},"dns_service_enabled":{"type":"TypeBool","optional":true},"http_gateway_port":{"type":"TypeInt","required":true},"lb_rule":{"type":"TypeList","required":true,"elem":{"schema":{"backend_port":{"type":"TypeInt","required":true},"frontend_port":{"type":"TypeInt","required":true},"probe_protocol":{"type":"TypeString","required":true},"probe_request_path":{"type":"TypeString","optional":true},"protocol":{"type":"TypeString","required":true}}}},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"node_type":{"type":"TypeList","optional":true,"elem":{"schema":{"application_port_range":{"type":"TypeString","required":true},"capacities":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"data_disk_size_gb":{"type":"TypeInt","required":true},"data_disk_type":{"type":"TypeString","optional":true,"default":"Standard_LRS"},"ephemeral_port_range":{"type":"TypeString","required":true},"id":{"type":"TypeString","computed":true},"multiple_placement_groups_enabled":{"type":"TypeBool","optional":true},"name":{"type":"TypeString","required":true},"placement_properties":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"primary":{"type":"TypeBool","optional":true},"stateless":{"type":"TypeBool","optional":true},"vm_image_offer":{"type":"TypeString","required":true},"vm_image_publisher":{"type":"TypeString","required":true},"vm_image_sku":{"type":"TypeString","required":true},"vm_image_version":{"type":"TypeString","required":true},"vm_instance_count":{"type":"TypeInt","required":true},"vm_secrets":{"type":"TypeList","optional":true,"elem":{"schema":{"certificates":{"type":"TypeList","required":true,"elem":{"schema":{"store":{"type":"TypeString","required":true},"url":{"type":"TypeString","required":true}}}},"vault_id":{"type":"TypeString","required":true}}}},"vm_size":{"type":"TypeString","required":true}}}},"password":{"type":"TypeString","optional":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"sku":{"type":"TypeString","optional":true,"default":"Basic","forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"upgrade_wave":{"type":"TypeString","optional":true,"default":"Wave0"},"username":{"type":"TypeString","optional":true}},"timeouts":{"create":90,"read":5,"delete":90,"update":90}},"azurerm_service_plan":{"schema":{"app_service_environment_id":{"type":"TypeString","optional":true},"kind":{"type":"TypeString","computed":true},"location":{"type":"TypeString","required":true,"forceNew":true},"maximum_elastic_worker_count":{"type":"TypeInt","optional":true,"computed":true},"name":{"type":"TypeString","required":true,"forceNew":true},"os_type":{"type":"TypeString","required":true,"forceNew":true},"per_site_scaling_enabled":{"type":"TypeBool","optional":true,"default":false},"reserved":{"type":"TypeBool","computed":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"sku_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"worker_count":{"type":"TypeInt","optional":true,"computed":true},"zone_balancing_enabled":{"type":"TypeBool","optional":true,"forceNew":true}},"timeouts":{"create":60,"read":5,"delete":60,"update":60}},"azurerm_servicebus_namespace":{"schema":{"capacity":{"type":"TypeInt","optional":true,"default":0},"customer_managed_key":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_id":{"type":"TypeString","required":true},"infrastructure_encryption_enabled":{"type":"TypeBool","optional":true,"forceNew":true},"key_vault_key_id":{"type":"TypeString","required":true}}},"maxItems":1},"default_primary_connection_string":{"type":"TypeString","computed":true},"default_primary_key":{"type":"TypeString","computed":true},"default_secondary_connection_string":{"type":"TypeString","computed":true},"default_secondary_key":{"type":"TypeString","computed":true},"endpoint":{"type":"TypeString","computed":true},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"local_auth_enabled":{"type":"TypeBool","optional":true,"default":true},"location":{"type":"TypeString","required":true,"forceNew":true},"minimum_tls_version":{"type":"TypeString","optional":true,"default":"1.2"},"name":{"type":"TypeString","required":true,"forceNew":true},"network_rule_set":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"default_action":{"type":"TypeString","optional":true,"default":"Allow"},"ip_rules":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"network_rules":{"type":"TypeSet","optional":true,"elem":{"schema":{"ignore_missing_vnet_service_endpoint":{"type":"TypeBool","optional":true,"default":false},"subnet_id":{"type":"TypeString","required":true}}}},"public_network_access_enabled":{"type":"TypeBool","optional":true,"default":true},"trusted_services_allowed":{"type":"TypeBool","optional":true,"default":false}}},"maxItems":1},"premium_messaging_partitions":{"type":"TypeInt","optional":true,"default":0,"forceNew":true},"public_network_access_enabled":{"type":"TypeBool","optional":true,"default":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"sku":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_servicebus_namespace_authorization_rule":{"schema":{"listen":{"type":"TypeBool","optional":true,"default":false},"manage":{"type":"TypeBool","optional":true,"default":false},"name":{"type":"TypeString","required":true,"forceNew":true},"namespace_id":{"type":"TypeString","required":true,"forceNew":true},"primary_connection_string":{"type":"TypeString","computed":true},"primary_connection_string_alias":{"type":"TypeString","computed":true},"primary_key":{"type":"TypeString","computed":true},"secondary_connection_string":{"type":"TypeString","computed":true},"secondary_connection_string_alias":{"type":"TypeString","computed":true},"secondary_key":{"type":"TypeString","computed":true},"send":{"type":"TypeBool","optional":true,"default":false}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_servicebus_namespace_disaster_recovery_config":{"schema":{"alias_authorization_rule_id":{"type":"TypeString","optional":true},"default_primary_key":{"type":"TypeString","computed":true},"default_secondary_key":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true,"forceNew":true},"partner_namespace_id":{"type":"TypeString","required":true},"primary_connection_string_alias":{"type":"TypeString","computed":true},"primary_namespace_id":{"type":"TypeString","required":true,"forceNew":true},"secondary_connection_string_alias":{"type":"TypeString","computed":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_servicebus_queue":{"schema":{"auto_delete_on_idle":{"type":"TypeString","optional":true,"computed":true},"batched_operations_enabled":{"type":"TypeBool","optional":true,"default":true},"dead_lettering_on_message_expiration":{"type":"TypeBool","optional":true,"default":false},"default_message_ttl":{"type":"TypeString","optional":true,"computed":true},"duplicate_detection_history_time_window":{"type":"TypeString","optional":true,"default":"PT10M"},"express_enabled":{"type":"TypeBool","optional":true,"default":false},"forward_dead_lettered_messages_to":{"type":"TypeString","optional":true},"forward_to":{"type":"TypeString","optional":true},"lock_duration":{"type":"TypeString","optional":true,"default":"PT1M"},"max_delivery_count":{"type":"TypeInt","optional":true,"default":10},"max_message_size_in_kilobytes":{"type":"TypeInt","optional":true,"computed":true},"max_size_in_megabytes":{"type":"TypeInt","optional":true,"computed":true},"name":{"type":"TypeString","required":true,"forceNew":true},"namespace_id":{"type":"TypeString","required":true,"forceNew":true},"partitioning_enabled":{"type":"TypeBool","optional":true,"default":false,"forceNew":true},"requires_duplicate_detection":{"type":"TypeBool","optional":true,"default":false,"forceNew":true},"requires_session":{"type":"TypeBool","optional":true,"default":false,"forceNew":true},"status":{"type":"TypeString","optional":true,"default":"Active"}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_servicebus_queue_authorization_rule":{"schema":{"listen":{"type":"TypeBool","optional":true,"default":false},"manage":{"type":"TypeBool","optional":true,"default":false},"name":{"type":"TypeString","required":true,"forceNew":true},"primary_connection_string":{"type":"TypeString","computed":true},"primary_connection_string_alias":{"type":"TypeString","computed":true},"primary_key":{"type":"TypeString","computed":true},"queue_id":{"type":"TypeString","required":true,"forceNew":true},"secondary_connection_string":{"type":"TypeString","computed":true},"secondary_connection_string_alias":{"type":"TypeString","computed":true},"secondary_key":{"type":"TypeString","computed":true},"send":{"type":"TypeBool","optional":true,"default":false}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_servicebus_subscription":{"schema":{"auto_delete_on_idle":{"type":"TypeString","optional":true,"default":"P10675199DT2H48M5.4775807S"},"batched_operations_enabled":{"type":"TypeBool","optional":true},"client_scoped_subscription":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","optional":true,"forceNew":true},"is_client_scoped_subscription_durable":{"type":"TypeBool","computed":true},"is_client_scoped_subscription_shareable":{"type":"TypeBool","optional":true,"default":true,"forceNew":true}}},"maxItems":1},"client_scoped_subscription_enabled":{"type":"TypeBool","optional":true,"default":false},"dead_lettering_on_filter_evaluation_error":{"type":"TypeBool","optional":true,"default":true},"dead_lettering_on_message_expiration":{"type":"TypeBool","optional":true},"default_message_ttl":{"type":"TypeString","optional":true,"default":"P10675199DT2H48M5.4775807S"},"forward_dead_lettered_messages_to":{"type":"TypeString","optional":true},"forward_to":{"type":"TypeString","optional":true},"lock_duration":{"type":"TypeString","optional":true,"default":"PT1M"},"max_delivery_count":{"type":"TypeInt","required":true},"name":{"type":"TypeString","required":true,"forceNew":true},"requires_session":{"type":"TypeBool","optional":true,"forceNew":true},"status":{"type":"TypeString","optional":true,"default":"Active"},"topic_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_servicebus_subscription_rule":{"schema":{"action":{"type":"TypeString","optional":true},"correlation_filter":{"type":"TypeList","optional":true,"elem":{"schema":{"content_type":{"type":"TypeString","optional":true},"correlation_id":{"type":"TypeString","optional":true},"label":{"type":"TypeString","optional":true},"message_id":{"type":"TypeString","optional":true},"properties":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"reply_to":{"type":"TypeString","optional":true},"reply_to_session_id":{"type":"TypeString","optional":true},"session_id":{"type":"TypeString","optional":true},"to":{"type":"TypeString","optional":true}}},"maxItems":1},"filter_type":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true,"forceNew":true},"sql_filter":{"type":"TypeString","optional":true},"sql_filter_compatibility_level":{"type":"TypeInt","computed":true},"subscription_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_servicebus_topic":{"schema":{"auto_delete_on_idle":{"type":"TypeString","optional":true,"default":"P10675199DT2H48M5.4775807S"},"batched_operations_enabled":{"type":"TypeBool","optional":true},"default_message_ttl":{"type":"TypeString","optional":true,"default":"P10675199DT2H48M5.4775807S"},"duplicate_detection_history_time_window":{"type":"TypeString","optional":true,"default":"PT10M"},"express_enabled":{"type":"TypeBool","optional":true},"max_message_size_in_kilobytes":{"type":"TypeInt","optional":true,"computed":true},"max_size_in_megabytes":{"type":"TypeInt","optional":true,"computed":true},"name":{"type":"TypeString","required":true,"forceNew":true},"namespace_id":{"type":"TypeString","required":true,"forceNew":true},"partitioning_enabled":{"type":"TypeBool","optional":true,"forceNew":true},"requires_duplicate_detection":{"type":"TypeBool","optional":true,"forceNew":true},"status":{"type":"TypeString","optional":true,"default":"Active"},"support_ordering":{"type":"TypeBool","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_servicebus_topic_authorization_rule":{"schema":{"listen":{"type":"TypeBool","optional":true,"default":false},"manage":{"type":"TypeBool","optional":true,"default":false},"name":{"type":"TypeString","required":true,"forceNew":true},"primary_connection_string":{"type":"TypeString","computed":true},"primary_connection_string_alias":{"type":"TypeString","computed":true},"primary_key":{"type":"TypeString","computed":true},"secondary_connection_string":{"type":"TypeString","computed":true},"secondary_connection_string_alias":{"type":"TypeString","computed":true},"secondary_key":{"type":"TypeString","computed":true},"send":{"type":"TypeBool","optional":true,"default":false},"topic_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_shared_image":{"schema":{"accelerated_network_support_enabled":{"type":"TypeBool","optional":true,"forceNew":true},"architecture":{"type":"TypeString","optional":true,"default":"x64","forceNew":true},"confidential_vm_enabled":{"type":"TypeBool","optional":true,"forceNew":true},"confidential_vm_supported":{"type":"TypeBool","optional":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"disk_controller_type_nvme_enabled":{"type":"TypeBool","optional":true,"forceNew":true},"disk_types_not_allowed":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"end_of_life_date":{"type":"TypeString","optional":true},"eula":{"type":"TypeString","optional":true,"forceNew":true},"gallery_name":{"type":"TypeString","required":true,"forceNew":true},"hibernation_enabled":{"type":"TypeBool","optional":true,"forceNew":true},"hyper_v_generation":{"type":"TypeString","optional":true,"default":"V1","forceNew":true},"identifier":{"type":"TypeList","required":true,"elem":{"schema":{"offer":{"type":"TypeString","required":true,"forceNew":true},"publisher":{"type":"TypeString","required":true,"forceNew":true},"sku":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"max_recommended_memory_in_gb":{"type":"TypeInt","optional":true},"max_recommended_vcpu_count":{"type":"TypeInt","optional":true},"min_recommended_memory_in_gb":{"type":"TypeInt","optional":true},"min_recommended_vcpu_count":{"type":"TypeInt","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"os_type":{"type":"TypeString","required":true,"forceNew":true},"privacy_statement_uri":{"type":"TypeString","optional":true,"forceNew":true},"purchase_plan":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true,"forceNew":true},"product":{"type":"TypeString","optional":true,"forceNew":true},"publisher":{"type":"TypeString","optional":true,"forceNew":true}}},"maxItems":1},"release_note_uri":{"type":"TypeString","optional":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"specialized":{"type":"TypeBool","optional":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"trusted_launch_enabled":{"type":"TypeBool","optional":true,"forceNew":true},"trusted_launch_supported":{"type":"TypeBool","optional":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_shared_image_gallery":{"schema":{"description":{"type":"TypeString","optional":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"sharing":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"community_gallery":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"eula":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","computed":true},"prefix":{"type":"TypeString","required":true,"forceNew":true},"publisher_email":{"type":"TypeString","required":true,"forceNew":true},"publisher_uri":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"permission":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"unique_name":{"type":"TypeString","computed":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_shared_image_version":{"schema":{"blob_uri":{"type":"TypeString","optional":true,"forceNew":true},"deletion_of_replicated_locations_enabled":{"type":"TypeBool","optional":true,"default":false,"forceNew":true},"end_of_life_date":{"type":"TypeString","optional":true},"exclude_from_latest":{"type":"TypeBool","optional":true,"default":false},"gallery_name":{"type":"TypeString","required":true,"forceNew":true},"image_name":{"type":"TypeString","required":true,"forceNew":true},"location":{"type":"TypeString","required":true,"forceNew":true},"managed_image_id":{"type":"TypeString","optional":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"os_disk_snapshot_id":{"type":"TypeString","optional":true,"forceNew":true},"replication_mode":{"type":"TypeString","optional":true,"default":"Full","forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"storage_account_id":{"type":"TypeString","optional":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"target_region":{"type":"TypeList","required":true,"elem":{"schema":{"disk_encryption_set_id":{"type":"TypeString","optional":true,"forceNew":true},"exclude_from_latest_enabled":{"type":"TypeBool","optional":true,"default":false},"name":{"type":"TypeString","required":true},"regional_replica_count":{"type":"TypeInt","required":true},"storage_account_type":{"type":"TypeString","optional":true,"default":"Standard_LRS"}}}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_signalr_service":{"schema":{"aad_auth_enabled":{"type":"TypeBool","optional":true,"default":true},"connectivity_logs_enabled":{"type":"TypeBool","optional":true,"default":false},"cors":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"allowed_origins":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}}}}},"hostname":{"type":"TypeString","computed":true},"http_request_logs_enabled":{"type":"TypeBool","optional":true,"default":false},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"ip_address":{"type":"TypeString","computed":true},"live_trace":{"type":"TypeList","optional":true,"elem":{"schema":{"connectivity_logs_enabled":{"type":"TypeBool","optional":true,"default":true},"enabled":{"type":"TypeBool","optional":true,"default":true},"http_request_logs_enabled":{"type":"TypeBool","optional":true,"default":true},"messaging_logs_enabled":{"type":"TypeBool","optional":true,"default":true}}},"maxItems":1},"live_trace_enabled":{"type":"TypeBool","optional":true,"default":false},"local_auth_enabled":{"type":"TypeBool","optional":true,"default":true},"location":{"type":"TypeString","required":true,"forceNew":true},"messaging_logs_enabled":{"type":"TypeBool","optional":true,"default":false},"name":{"type":"TypeString","required":true,"forceNew":true},"primary_access_key":{"type":"TypeString","computed":true},"primary_connection_string":{"type":"TypeString","computed":true},"public_network_access_enabled":{"type":"TypeBool","optional":true,"default":true},"public_port":{"type":"TypeInt","computed":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"secondary_access_key":{"type":"TypeString","computed":true},"secondary_connection_string":{"type":"TypeString","computed":true},"server_port":{"type":"TypeInt","computed":true},"serverless_connection_timeout_in_seconds":{"type":"TypeInt","optional":true,"default":30},"service_mode":{"type":"TypeString","optional":true,"default":"Default"},"sku":{"type":"TypeList","required":true,"elem":{"schema":{"capacity":{"type":"TypeInt","required":true},"name":{"type":"TypeString","required":true}}},"maxItems":1},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"tls_client_cert_enabled":{"type":"TypeBool","optional":true,"default":false},"upstream_endpoint":{"type":"TypeSet","optional":true,"elem":{"schema":{"category_pattern":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}},"event_pattern":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}},"hub_pattern":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}},"url_template":{"type":"TypeString","required":true},"user_assigned_identity_id":{"type":"TypeString","optional":true}}}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_signalr_service_custom_certificate":{"schema":{"certificate_version":{"type":"TypeString","computed":true},"custom_certificate_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"signalr_service_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_signalr_service_custom_domain":{"schema":{"domain_name":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"signalr_custom_certificate_id":{"type":"TypeString","required":true,"forceNew":true},"signalr_service_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_signalr_service_network_acl":{"schema":{"default_action":{"type":"TypeString","required":true},"private_endpoint":{"type":"TypeSet","optional":true,"elem":{"schema":{"allowed_request_types":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"denied_request_types":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"id":{"type":"TypeString","required":true}}}},"public_network":{"type":"TypeList","required":true,"elem":{"schema":{"allowed_request_types":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"denied_request_types":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"signalr_service_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_signalr_shared_private_link_resource":{"schema":{"name":{"type":"TypeString","required":true,"forceNew":true},"request_message":{"type":"TypeString","optional":true},"signalr_service_id":{"type":"TypeString","required":true,"forceNew":true},"status":{"type":"TypeString","computed":true},"sub_resource_name":{"type":"TypeString","required":true,"forceNew":true},"target_resource_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_site_recovery_fabric":{"schema":{"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"recovery_vault_name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_site_recovery_hyperv_network_mapping":{"schema":{"name":{"type":"TypeString","required":true,"forceNew":true},"recovery_vault_id":{"type":"TypeString","required":true,"forceNew":true},"source_network_name":{"type":"TypeString","required":true,"forceNew":true},"source_system_center_virtual_machine_manager_name":{"type":"TypeString","required":true,"forceNew":true},"target_network_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_site_recovery_hyperv_replication_policy":{"schema":{"application_consistent_snapshot_frequency_in_hours":{"type":"TypeInt","required":true},"name":{"type":"TypeString","required":true,"forceNew":true},"recovery_point_retention_in_hours":{"type":"TypeInt","required":true},"recovery_vault_id":{"type":"TypeString","required":true,"forceNew":true},"replication_interval_in_seconds":{"type":"TypeInt","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_site_recovery_hyperv_replication_policy_association":{"schema":{"hyperv_site_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"policy_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":60,"read":5,"delete":60}},"azurerm_site_recovery_network_mapping":{"schema":{"name":{"type":"TypeString","required":true,"forceNew":true},"recovery_vault_name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"source_network_id":{"type":"TypeString","required":true,"forceNew":true},"source_recovery_fabric_name":{"type":"TypeString","required":true,"forceNew":true},"target_network_id":{"type":"TypeString","required":true,"forceNew":true},"target_recovery_fabric_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_site_recovery_protection_container":{"schema":{"name":{"type":"TypeString","required":true,"forceNew":true},"recovery_fabric_name":{"type":"TypeString","required":true,"forceNew":true},"recovery_vault_name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_site_recovery_protection_container_mapping":{"schema":{"automatic_update":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"authentication_type":{"type":"TypeString","optional":true,"default":"SystemAssignedIdentity"},"automation_account_id":{"type":"TypeString","optional":true},"enabled":{"type":"TypeBool","optional":true,"default":false}}},"maxItems":1,"minItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"recovery_fabric_name":{"type":"TypeString","required":true,"forceNew":true},"recovery_replication_policy_id":{"type":"TypeString","required":true,"forceNew":true},"recovery_source_protection_container_name":{"type":"TypeString","required":true,"forceNew":true},"recovery_target_protection_container_id":{"type":"TypeString","required":true,"forceNew":true},"recovery_vault_name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_site_recovery_replicated_vm":{"schema":{"managed_disk":{"type":"TypeSet","configMode":"Auto","optional":true,"computed":true,"forceNew":true,"elem":{"schema":{"disk_id":{"type":"TypeString","required":true,"forceNew":true},"staging_storage_account_id":{"type":"TypeString","required":true,"forceNew":true},"target_disk_encryption":{"type":"TypeList","configMode":"Auto","optional":true,"elem":{"schema":{"disk_encryption_key":{"type":"TypeList","configMode":"Auto","required":true,"elem":{"schema":{"secret_url":{"type":"TypeString","required":true,"forceNew":true},"vault_id":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"key_encryption_key":{"type":"TypeList","configMode":"Auto","optional":true,"elem":{"schema":{"key_url":{"type":"TypeString","required":true,"forceNew":true},"vault_id":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1}}},"maxItems":1},"target_disk_encryption_set_id":{"type":"TypeString","optional":true,"forceNew":true},"target_disk_type":{"type":"TypeString","required":true,"forceNew":true},"target_replica_disk_type":{"type":"TypeString","required":true,"forceNew":true},"target_resource_group_id":{"type":"TypeString","required":true,"forceNew":true}}}},"multi_vm_group_name":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"network_interface":{"type":"TypeSet","configMode":"Auto","optional":true,"computed":true,"elem":{"schema":{"failover_test_public_ip_address_id":{"type":"TypeString","optional":true,"computed":true},"failover_test_static_ip":{"type":"TypeString","optional":true,"computed":true},"failover_test_subnet_name":{"type":"TypeString","optional":true,"computed":true},"recovery_public_ip_address_id":{"type":"TypeString","optional":true},"source_network_interface_id":{"type":"TypeString","optional":true,"computed":true},"target_static_ip":{"type":"TypeString","optional":true},"target_subnet_name":{"type":"TypeString","optional":true}}}},"recovery_replication_policy_id":{"type":"TypeString","required":true,"forceNew":true},"recovery_vault_name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"source_recovery_fabric_name":{"type":"TypeString","required":true,"forceNew":true},"source_recovery_protection_container_name":{"type":"TypeString","required":true,"forceNew":true},"source_vm_id":{"type":"TypeString","required":true,"forceNew":true},"target_availability_set_id":{"type":"TypeString","optional":true},"target_boot_diagnostic_storage_account_id":{"type":"TypeString","optional":true},"target_capacity_reservation_group_id":{"type":"TypeString","optional":true},"target_edge_zone":{"type":"TypeString","optional":true,"forceNew":true},"target_network_id":{"type":"TypeString","optional":true,"computed":true},"target_proximity_placement_group_id":{"type":"TypeString","optional":true},"target_recovery_fabric_id":{"type":"TypeString","required":true,"forceNew":true},"target_recovery_protection_container_id":{"type":"TypeString","required":true,"forceNew":true},"target_resource_group_id":{"type":"TypeString","required":true,"forceNew":true},"target_virtual_machine_scale_set_id":{"type":"TypeString","optional":true},"target_virtual_machine_size":{"type":"TypeString","optional":true,"computed":true},"target_zone":{"type":"TypeString","optional":true,"forceNew":true},"test_network_id":{"type":"TypeString","optional":true,"computed":true},"unmanaged_disk":{"type":"TypeSet","configMode":"Auto","optional":true,"computed":true,"forceNew":true,"elem":{"schema":{"disk_uri":{"type":"TypeString","required":true,"forceNew":true},"staging_storage_account_id":{"type":"TypeString","required":true,"forceNew":true},"target_storage_account_id":{"type":"TypeString","required":true,"forceNew":true}}}}},"timeouts":{"create":180,"read":5,"delete":80,"update":80}},"azurerm_site_recovery_replication_policy":{"schema":{"application_consistent_snapshot_frequency_in_minutes":{"type":"TypeInt","required":true},"name":{"type":"TypeString","required":true,"forceNew":true},"recovery_point_retention_in_minutes":{"type":"TypeInt","required":true},"recovery_vault_name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_site_recovery_replication_recovery_plan":{"schema":{"azure_to_azure_settings":{"type":"TypeList","optional":true,"elem":{"schema":{"primary_edge_zone":{"type":"TypeString","optional":true,"forceNew":true},"primary_zone":{"type":"TypeString","optional":true,"forceNew":true},"recovery_edge_zone":{"type":"TypeString","optional":true,"forceNew":true},"recovery_zone":{"type":"TypeString","optional":true,"forceNew":true}}},"maxItems":1},"boot_recovery_group":{"type":"TypeList","required":true,"elem":{"schema":{"post_action":{"type":"TypeList","optional":true,"elem":{"schema":{"fabric_location":{"type":"TypeString","optional":true},"fail_over_directions":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}},"fail_over_types":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}},"manual_action_instruction":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true},"runbook_id":{"type":"TypeString","optional":true},"script_path":{"type":"TypeString","optional":true},"type":{"type":"TypeString","required":true}}}},"pre_action":{"type":"TypeList","optional":true,"elem":{"schema":{"fabric_location":{"type":"TypeString","optional":true},"fail_over_directions":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}},"fail_over_types":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}},"manual_action_instruction":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true},"runbook_id":{"type":"TypeString","optional":true},"script_path":{"type":"TypeString","optional":true},"type":{"type":"TypeString","required":true}}}},"replicated_protected_items":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}}}},"minItems":1},"failover_recovery_group":{"type":"TypeList","required":true,"elem":{"schema":{"post_action":{"type":"TypeList","optional":true,"elem":{"schema":{"fabric_location":{"type":"TypeString","optional":true},"fail_over_directions":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}},"fail_over_types":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}},"manual_action_instruction":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true},"runbook_id":{"type":"TypeString","optional":true},"script_path":{"type":"TypeString","optional":true},"type":{"type":"TypeString","required":true}}}},"pre_action":{"type":"TypeList","optional":true,"elem":{"schema":{"fabric_location":{"type":"TypeString","optional":true},"fail_over_directions":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}},"fail_over_types":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}},"manual_action_instruction":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true},"runbook_id":{"type":"TypeString","optional":true},"script_path":{"type":"TypeString","optional":true},"type":{"type":"TypeString","required":true}}}}}},"maxItems":1,"minItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"recovery_vault_id":{"type":"TypeString","required":true,"forceNew":true},"shutdown_recovery_group":{"type":"TypeList","required":true,"elem":{"schema":{"post_action":{"type":"TypeList","optional":true,"elem":{"schema":{"fabric_location":{"type":"TypeString","optional":true},"fail_over_directions":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}},"fail_over_types":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}},"manual_action_instruction":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true},"runbook_id":{"type":"TypeString","optional":true},"script_path":{"type":"TypeString","optional":true},"type":{"type":"TypeString","required":true}}}},"pre_action":{"type":"TypeList","optional":true,"elem":{"schema":{"fabric_location":{"type":"TypeString","optional":true},"fail_over_directions":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}},"fail_over_types":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}},"manual_action_instruction":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true},"runbook_id":{"type":"TypeString","optional":true},"script_path":{"type":"TypeString","optional":true},"type":{"type":"TypeString","required":true}}}}}},"maxItems":1,"minItems":1},"source_recovery_fabric_id":{"type":"TypeString","required":true,"forceNew":true},"target_recovery_fabric_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_site_recovery_services_vault_hyperv_site":{"schema":{"name":{"type":"TypeString","required":true,"forceNew":true},"recovery_vault_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":180}},"azurerm_site_recovery_vmware_replicated_vm":{"schema":{"appliance_name":{"type":"TypeString","required":true,"forceNew":true},"default_log_storage_account_id":{"type":"TypeString","optional":true},"default_recovery_disk_type":{"type":"TypeString","optional":true},"default_target_disk_encryption_set_id":{"type":"TypeString","optional":true},"license_type":{"type":"TypeString","optional":true,"default":"NotSpecified"},"managed_disk":{"type":"TypeList","optional":true,"elem":{"schema":{"disk_id":{"type":"TypeString","required":true},"log_storage_account_id":{"type":"TypeString","optional":true},"target_disk_encryption_set_id":{"type":"TypeString","optional":true},"target_disk_type":{"type":"TypeString","required":true}}}},"multi_vm_group_name":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"network_interface":{"type":"TypeList","optional":true,"elem":{"schema":{"is_primary":{"type":"TypeBool","required":true},"source_mac_address":{"type":"TypeString","required":true},"target_static_ip":{"type":"TypeString","optional":true},"target_subnet_name":{"type":"TypeString","optional":true},"test_subnet_name":{"type":"TypeString","optional":true}}}},"physical_server_credential_name":{"type":"TypeString","required":true,"forceNew":true},"recovery_replication_policy_id":{"type":"TypeString","required":true},"recovery_vault_id":{"type":"TypeString","required":true},"source_vm_name":{"type":"TypeString","required":true,"forceNew":true},"target_availability_set_id":{"type":"TypeString","optional":true},"target_boot_diagnostics_storage_account_id":{"type":"TypeString","optional":true},"target_network_id":{"type":"TypeString","optional":true},"target_proximity_placement_group_id":{"type":"TypeString","optional":true},"target_resource_group_id":{"type":"TypeString","required":true},"target_vm_name":{"type":"TypeString","required":true,"forceNew":true},"target_vm_size":{"type":"TypeString","optional":true},"target_zone":{"type":"TypeString","optional":true},"test_network_id":{"type":"TypeString","optional":true}},"timeouts":{"create":120,"read":5,"delete":90,"update":90}},"azurerm_site_recovery_vmware_replication_policy":{"schema":{"application_consistent_snapshot_frequency_in_minutes":{"type":"TypeInt","required":true},"name":{"type":"TypeString","required":true,"forceNew":true},"recovery_point_retention_in_minutes":{"type":"TypeInt","required":true},"recovery_vault_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_site_recovery_vmware_replication_policy_association":{"schema":{"name":{"type":"TypeString","required":true,"forceNew":true},"policy_id":{"type":"TypeString","required":true,"forceNew":true},"recovery_vault_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_snapshot":{"schema":{"create_option":{"type":"TypeString","required":true},"disk_access_id":{"type":"TypeString","optional":true},"disk_size_gb":{"type":"TypeInt","optional":true,"computed":true},"encryption_settings":{"type":"TypeList","optional":true,"elem":{"schema":{"disk_encryption_key":{"type":"TypeList","required":true,"elem":{"schema":{"secret_url":{"type":"TypeString","required":true},"source_vault_id":{"type":"TypeString","required":true}}},"maxItems":1},"key_encryption_key":{"type":"TypeList","optional":true,"elem":{"schema":{"key_url":{"type":"TypeString","required":true},"source_vault_id":{"type":"TypeString","required":true}}},"maxItems":1}}},"maxItems":1},"incremental_enabled":{"type":"TypeBool","optional":true,"default":false,"forceNew":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"network_access_policy":{"type":"TypeString","optional":true,"default":"AllowAll"},"public_network_access_enabled":{"type":"TypeBool","optional":true,"default":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"source_resource_id":{"type":"TypeString","optional":true,"forceNew":true},"source_uri":{"type":"TypeString","optional":true,"forceNew":true},"storage_account_id":{"type":"TypeString","optional":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"trusted_launch_enabled":{"type":"TypeBool","computed":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_source_control_token":{"schema":{"token":{"type":"TypeString","required":true},"token_secret":{"type":"TypeString","optional":true},"type":{"type":"TypeString","required":true}},"timeouts":{"create":5,"read":5,"delete":5,"update":5}},"azurerm_spatial_anchors_account":{"schema":{"account_domain":{"type":"TypeString","computed":true},"account_id":{"type":"TypeString","computed":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_spring_cloud_accelerator":{"schema":{"name":{"type":"TypeString","required":true,"forceNew":true},"spring_cloud_service_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_spring_cloud_active_deployment":{"schema":{"deployment_name":{"type":"TypeString","required":true},"spring_cloud_app_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_spring_cloud_api_portal":{"schema":{"api_try_out_enabled":{"type":"TypeBool","optional":true},"gateway_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"https_only_enabled":{"type":"TypeBool","optional":true},"instance_count":{"type":"TypeInt","optional":true,"default":1},"name":{"type":"TypeString","required":true,"forceNew":true},"public_network_access_enabled":{"type":"TypeBool","optional":true},"spring_cloud_service_id":{"type":"TypeString","required":true,"forceNew":true},"sso":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","optional":true},"client_secret":{"type":"TypeString","optional":true},"issuer_uri":{"type":"TypeString","optional":true},"scope":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"url":{"type":"TypeString","computed":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_spring_cloud_api_portal_custom_domain":{"schema":{"name":{"type":"TypeString","required":true,"forceNew":true},"spring_cloud_api_portal_id":{"type":"TypeString","required":true,"forceNew":true},"thumbprint":{"type":"TypeString","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_spring_cloud_app":{"schema":{"addon_json":{"type":"TypeString","optional":true,"computed":true},"custom_persistent_disk":{"type":"TypeList","optional":true,"elem":{"schema":{"mount_options":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"mount_path":{"type":"TypeString","required":true},"read_only_enabled":{"type":"TypeBool","optional":true,"default":false},"share_name":{"type":"TypeString","required":true},"storage_name":{"type":"TypeString","required":true}}},"minItems":1},"fqdn":{"type":"TypeString","computed":true},"https_only":{"type":"TypeBool","optional":true,"default":false},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"ingress_settings":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"backend_protocol":{"type":"TypeString","optional":true,"default":"Default"},"read_timeout_in_seconds":{"type":"TypeInt","optional":true,"default":300},"send_timeout_in_seconds":{"type":"TypeInt","optional":true,"default":60},"session_affinity":{"type":"TypeString","optional":true,"default":"None"},"session_cookie_max_age":{"type":"TypeInt","optional":true}}},"maxItems":1},"is_public":{"type":"TypeBool","optional":true,"default":false},"name":{"type":"TypeString","required":true,"forceNew":true},"persistent_disk":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"mount_path":{"type":"TypeString","optional":true,"default":"/persistent"},"size_in_gb":{"type":"TypeInt","required":true}}},"maxItems":1},"public_endpoint_enabled":{"type":"TypeBool","optional":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"service_name":{"type":"TypeString","required":true,"forceNew":true},"tls_enabled":{"type":"TypeBool","optional":true,"default":false},"url":{"type":"TypeString","computed":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_spring_cloud_app_cosmosdb_association":{"schema":{"api_type":{"type":"TypeString","required":true,"forceNew":true},"cosmosdb_access_key":{"type":"TypeString","required":true},"cosmosdb_account_id":{"type":"TypeString","required":true,"forceNew":true},"cosmosdb_cassandra_keyspace_name":{"type":"TypeString","optional":true},"cosmosdb_gremlin_database_name":{"type":"TypeString","optional":true},"cosmosdb_gremlin_graph_name":{"type":"TypeString","optional":true},"cosmosdb_mongo_database_name":{"type":"TypeString","optional":true},"cosmosdb_sql_database_name":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"spring_cloud_app_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_spring_cloud_app_dynamics_application_performance_monitoring":{"schema":{"agent_account_access_key":{"type":"TypeString","required":true},"agent_account_name":{"type":"TypeString","required":true},"agent_application_name":{"type":"TypeString","optional":true},"agent_node_name":{"type":"TypeString","optional":true},"agent_tier_name":{"type":"TypeString","optional":true},"agent_unique_host_id":{"type":"TypeString","optional":true},"controller_host_name":{"type":"TypeString","required":true},"controller_port":{"type":"TypeInt","optional":true},"controller_ssl_enabled":{"type":"TypeBool","optional":true},"globally_enabled":{"type":"TypeBool","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"spring_cloud_service_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_spring_cloud_app_mysql_association":{"schema":{"database_name":{"type":"TypeString","required":true},"mysql_server_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"password":{"type":"TypeString","required":true},"spring_cloud_app_id":{"type":"TypeString","required":true,"forceNew":true},"username":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_spring_cloud_app_redis_association":{"schema":{"name":{"type":"TypeString","required":true,"forceNew":true},"redis_access_key":{"type":"TypeString","required":true},"redis_cache_id":{"type":"TypeString","required":true,"forceNew":true},"spring_cloud_app_id":{"type":"TypeString","required":true,"forceNew":true},"ssl_enabled":{"type":"TypeBool","optional":true,"default":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_spring_cloud_application_insights_application_performance_monitoring":{"schema":{"connection_string":{"type":"TypeString","optional":true},"globally_enabled":{"type":"TypeBool","optional":true,"default":false},"name":{"type":"TypeString","required":true,"forceNew":true},"role_instance":{"type":"TypeString","optional":true},"role_name":{"type":"TypeString","optional":true},"sampling_percentage":{"type":"TypeInt","optional":true},"sampling_requests_per_second":{"type":"TypeInt","optional":true},"spring_cloud_service_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_spring_cloud_application_live_view":{"schema":{"name":{"type":"TypeString","required":true,"forceNew":true},"spring_cloud_service_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_spring_cloud_build_deployment":{"schema":{"addon_json":{"type":"TypeString","optional":true,"computed":true},"application_performance_monitoring_ids":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"minItems":1},"build_result_id":{"type":"TypeString","required":true},"environment_variables":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"instance_count":{"type":"TypeInt","optional":true,"default":1},"name":{"type":"TypeString","required":true,"forceNew":true},"quota":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"cpu":{"type":"TypeString","optional":true,"computed":true},"memory":{"type":"TypeString","optional":true,"computed":true}}},"maxItems":1},"spring_cloud_app_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_spring_cloud_build_pack_binding":{"schema":{"binding_type":{"type":"TypeString","optional":true},"launch":{"type":"TypeList","optional":true,"elem":{"schema":{"properties":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"secrets":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"spring_cloud_builder_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_spring_cloud_builder":{"schema":{"build_pack_group":{"type":"TypeSet","required":true,"elem":{"schema":{"build_pack_ids":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"minItems":1},"name":{"type":"TypeString","required":true}}},"minItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"spring_cloud_service_id":{"type":"TypeString","required":true,"forceNew":true},"stack":{"type":"TypeList","required":true,"elem":{"schema":{"id":{"type":"TypeString","required":true},"version":{"type":"TypeString","required":true}}},"maxItems":1}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_spring_cloud_certificate":{"schema":{"certificate_content":{"type":"TypeString","optional":true,"forceNew":true},"exclude_private_key":{"type":"TypeBool","optional":true,"forceNew":true},"key_vault_certificate_id":{"type":"TypeString","optional":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"service_name":{"type":"TypeString","required":true,"forceNew":true},"thumbprint":{"type":"TypeString","computed":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_spring_cloud_configuration_service":{"schema":{"generation":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"refresh_interval_in_seconds":{"type":"TypeInt","optional":true},"repository":{"type":"TypeList","optional":true,"elem":{"schema":{"ca_certificate_id":{"type":"TypeString","optional":true},"host_key":{"type":"TypeString","optional":true},"host_key_algorithm":{"type":"TypeString","optional":true},"label":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true},"password":{"type":"TypeString","optional":true},"patterns":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}},"private_key":{"type":"TypeString","optional":true},"search_paths":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"strict_host_key_checking":{"type":"TypeBool","optional":true},"uri":{"type":"TypeString","required":true},"username":{"type":"TypeString","optional":true}}}},"spring_cloud_service_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_spring_cloud_connection":{"schema":{"authentication":{"type":"TypeList","required":true,"elem":{"schema":{"certificate":{"type":"TypeString","optional":true},"client_id":{"type":"TypeString","optional":true},"name":{"type":"TypeString","optional":true},"principal_id":{"type":"TypeString","optional":true},"secret":{"type":"TypeString","optional":true},"subscription_id":{"type":"TypeString","optional":true},"type":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"client_type":{"type":"TypeString","optional":true,"default":"none"},"name":{"type":"TypeString","required":true,"forceNew":true},"secret_store":{"type":"TypeList","optional":true,"elem":{"schema":{"key_vault_id":{"type":"TypeString","required":true}}},"maxItems":1},"spring_cloud_id":{"type":"TypeString","required":true,"forceNew":true},"target_resource_id":{"type":"TypeString","required":true,"forceNew":true},"vnet_solution":{"type":"TypeString","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_spring_cloud_container_deployment":{"schema":{"addon_json":{"type":"TypeString","optional":true,"computed":true},"application_performance_monitoring_ids":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"minItems":1},"arguments":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"commands":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"environment_variables":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"image":{"type":"TypeString","required":true},"instance_count":{"type":"TypeInt","optional":true,"default":1},"language_framework":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"quota":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"cpu":{"type":"TypeString","optional":true,"computed":true},"memory":{"type":"TypeString","optional":true,"computed":true}}},"maxItems":1},"server":{"type":"TypeString","required":true},"spring_cloud_app_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_spring_cloud_custom_domain":{"schema":{"certificate_name":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"spring_cloud_app_id":{"type":"TypeString","required":true,"forceNew":true},"thumbprint":{"type":"TypeString","optional":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_spring_cloud_customized_accelerator":{"schema":{"accelerator_tags":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"accelerator_type":{"type":"TypeString","optional":true,"default":"Accelerator"},"description":{"type":"TypeString","optional":true},"display_name":{"type":"TypeString","optional":true},"git_repository":{"type":"TypeList","required":true,"elem":{"schema":{"basic_auth":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"password":{"type":"TypeString","required":true},"username":{"type":"TypeString","required":true}}},"maxItems":1},"branch":{"type":"TypeString","optional":true},"ca_certificate_id":{"type":"TypeString","optional":true},"commit":{"type":"TypeString","optional":true},"git_tag":{"type":"TypeString","optional":true},"interval_in_seconds":{"type":"TypeInt","optional":true},"path":{"type":"TypeString","optional":true},"ssh_auth":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"host_key":{"type":"TypeString","optional":true},"host_key_algorithm":{"type":"TypeString","optional":true},"private_key":{"type":"TypeString","required":true}}},"maxItems":1},"url":{"type":"TypeString","required":true}}},"maxItems":1},"icon_url":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"spring_cloud_accelerator_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_spring_cloud_dev_tool_portal":{"schema":{"application_accelerator_enabled":{"type":"TypeBool","optional":true,"computed":true},"application_live_view_enabled":{"type":"TypeBool","optional":true,"computed":true},"name":{"type":"TypeString","required":true,"forceNew":true},"public_network_access_enabled":{"type":"TypeBool","optional":true},"spring_cloud_service_id":{"type":"TypeString","required":true,"forceNew":true},"sso":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","optional":true},"client_secret":{"type":"TypeString","optional":true},"metadata_url":{"type":"TypeString","optional":true},"scope":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_spring_cloud_dynatrace_application_performance_monitoring":{"schema":{"api_token":{"type":"TypeString","optional":true},"api_url":{"type":"TypeString","optional":true},"connection_point":{"type":"TypeString","required":true},"environment_id":{"type":"TypeString","optional":true},"globally_enabled":{"type":"TypeBool","optional":true,"default":false},"name":{"type":"TypeString","required":true,"forceNew":true},"spring_cloud_service_id":{"type":"TypeString","required":true,"forceNew":true},"tenant":{"type":"TypeString","required":true},"tenant_token":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_spring_cloud_elastic_application_performance_monitoring":{"schema":{"application_packages":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"minItems":1},"globally_enabled":{"type":"TypeBool","optional":true,"default":false},"name":{"type":"TypeString","required":true,"forceNew":true},"server_url":{"type":"TypeString","required":true},"service_name":{"type":"TypeString","required":true},"spring_cloud_service_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_spring_cloud_gateway":{"schema":{"api_metadata":{"type":"TypeList","optional":true,"elem":{"schema":{"description":{"type":"TypeString","optional":true},"documentation_url":{"type":"TypeString","optional":true},"server_url":{"type":"TypeString","optional":true},"title":{"type":"TypeString","optional":true},"version":{"type":"TypeString","optional":true}}},"maxItems":1},"application_performance_monitoring_ids":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"minItems":1},"application_performance_monitoring_types":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"client_authorization":{"type":"TypeList","optional":true,"elem":{"schema":{"certificate_ids":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"verification_enabled":{"type":"TypeBool","optional":true}}},"maxItems":1},"cors":{"type":"TypeList","optional":true,"elem":{"schema":{"allowed_headers":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"allowed_methods":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"allowed_origin_patterns":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"allowed_origins":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"credentials_allowed":{"type":"TypeBool","optional":true},"exposed_headers":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"max_age_seconds":{"type":"TypeInt","optional":true}}},"maxItems":1},"environment_variables":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"https_only":{"type":"TypeBool","optional":true},"instance_count":{"type":"TypeInt","optional":true,"default":1},"local_response_cache_per_instance":{"type":"TypeList","optional":true,"elem":{"schema":{"size":{"type":"TypeString","optional":true},"time_to_live":{"type":"TypeString","optional":true}}},"maxItems":1},"local_response_cache_per_route":{"type":"TypeList","optional":true,"elem":{"schema":{"size":{"type":"TypeString","optional":true},"time_to_live":{"type":"TypeString","optional":true}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"public_network_access_enabled":{"type":"TypeBool","optional":true},"quota":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"cpu":{"type":"TypeString","optional":true,"default":"1"},"memory":{"type":"TypeString","optional":true,"default":"2Gi"}}},"maxItems":1},"sensitive_environment_variables":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"spring_cloud_service_id":{"type":"TypeString","required":true,"forceNew":true},"sso":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","optional":true},"client_secret":{"type":"TypeString","optional":true},"issuer_uri":{"type":"TypeString","optional":true},"scope":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"url":{"type":"TypeString","computed":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_spring_cloud_gateway_custom_domain":{"schema":{"name":{"type":"TypeString","required":true,"forceNew":true},"spring_cloud_gateway_id":{"type":"TypeString","required":true,"forceNew":true},"thumbprint":{"type":"TypeString","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_spring_cloud_gateway_route_config":{"schema":{"filters":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true,"forceNew":true},"open_api":{"type":"TypeList","optional":true,"elem":{"schema":{"uri":{"type":"TypeString","optional":true}}},"maxItems":1},"predicates":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"protocol":{"type":"TypeString","required":true},"route":{"type":"TypeSet","optional":true,"elem":{"schema":{"classification_tags":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"description":{"type":"TypeString","optional":true},"filters":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"order":{"type":"TypeInt","required":true},"predicates":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"sso_validation_enabled":{"type":"TypeBool","optional":true},"title":{"type":"TypeString","optional":true},"token_relay":{"type":"TypeBool","optional":true},"uri":{"type":"TypeString","optional":true}}}},"spring_cloud_app_id":{"type":"TypeString","optional":true},"spring_cloud_gateway_id":{"type":"TypeString","required":true,"forceNew":true},"sso_validation_enabled":{"type":"TypeBool","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_spring_cloud_java_deployment":{"schema":{"environment_variables":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"instance_count":{"type":"TypeInt","optional":true,"default":1},"jvm_options":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"quota":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"cpu":{"type":"TypeString","optional":true,"computed":true},"memory":{"type":"TypeString","optional":true,"computed":true}}},"maxItems":1},"runtime_version":{"type":"TypeString","optional":true,"default":"Java_8"},"spring_cloud_app_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_spring_cloud_new_relic_application_performance_monitoring":{"schema":{"agent_enabled":{"type":"TypeBool","optional":true,"default":true},"app_name":{"type":"TypeString","required":true},"app_server_port":{"type":"TypeInt","optional":true},"audit_mode_enabled":{"type":"TypeBool","optional":true},"auto_app_naming_enabled":{"type":"TypeBool","optional":true},"auto_transaction_naming_enabled":{"type":"TypeBool","optional":true,"default":true},"custom_tracing_enabled":{"type":"TypeBool","optional":true,"default":true},"globally_enabled":{"type":"TypeBool","optional":true},"labels":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"license_key":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true,"forceNew":true},"spring_cloud_service_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_spring_cloud_service":{"schema":{"build_agent_pool_size":{"type":"TypeString","optional":true},"config_server_git_setting":{"type":"TypeList","optional":true,"elem":{"schema":{"http_basic_auth":{"type":"TypeList","optional":true,"elem":{"schema":{"password":{"type":"TypeString","required":true},"username":{"type":"TypeString","required":true}}},"maxItems":1},"label":{"type":"TypeString","optional":true},"repository":{"type":"TypeList","optional":true,"elem":{"schema":{"http_basic_auth":{"type":"TypeList","optional":true,"elem":{"schema":{"password":{"type":"TypeString","required":true},"username":{"type":"TypeString","required":true}}},"maxItems":1},"label":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true},"pattern":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"search_paths":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"ssh_auth":{"type":"TypeList","optional":true,"elem":{"schema":{"host_key":{"type":"TypeString","optional":true},"host_key_algorithm":{"type":"TypeString","optional":true},"private_key":{"type":"TypeString","required":true},"strict_host_key_checking_enabled":{"type":"TypeBool","optional":true,"default":true}}},"maxItems":1},"uri":{"type":"TypeString","required":true}}}},"search_paths":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"ssh_auth":{"type":"TypeList","optional":true,"elem":{"schema":{"host_key":{"type":"TypeString","optional":true},"host_key_algorithm":{"type":"TypeString","optional":true},"private_key":{"type":"TypeString","required":true},"strict_host_key_checking_enabled":{"type":"TypeBool","optional":true,"default":true}}},"maxItems":1},"uri":{"type":"TypeString","required":true}}},"maxItems":1},"container_registry":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"password":{"type":"TypeString","required":true},"server":{"type":"TypeString","required":true},"username":{"type":"TypeString","required":true}}}},"default_build_service":{"type":"TypeList","optional":true,"elem":{"schema":{"container_registry_name":{"type":"TypeString","optional":true}}},"maxItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"log_stream_public_endpoint_enabled":{"type":"TypeBool","optional":true},"managed_environment_id":{"type":"TypeString","optional":true},"marketplace":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"plan":{"type":"TypeString","required":true},"product":{"type":"TypeString","required":true},"publisher":{"type":"TypeString","required":true}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"network":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"app_network_resource_group":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"app_subnet_id":{"type":"TypeString","required":true,"forceNew":true},"cidr_ranges":{"type":"TypeList","required":true,"forceNew":true,"elem":{"type":"TypeString"},"minItems":3},"outbound_type":{"type":"TypeString","optional":true,"default":"loadBalancer","forceNew":true},"read_timeout_seconds":{"type":"TypeInt","optional":true},"service_runtime_network_resource_group":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"service_runtime_subnet_id":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"outbound_public_ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"required_network_traffic_rules":{"type":"TypeList","computed":true,"elem":{"schema":{"direction":{"type":"TypeString","computed":true},"fqdns":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"port":{"type":"TypeInt","computed":true},"protocol":{"type":"TypeString","computed":true}}}},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"service_registry_enabled":{"type":"TypeBool","optional":true},"service_registry_id":{"type":"TypeString","computed":true},"sku_name":{"type":"TypeString","optional":true,"default":"S0","forceNew":true},"sku_tier":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"trace":{"type":"TypeList","optional":true,"elem":{"schema":{"connection_string":{"type":"TypeString","optional":true},"sample_rate":{"type":"TypeFloat","optional":true,"default":10}}},"maxItems":1},"zone_redundant":{"type":"TypeBool","optional":true,"default":false}},"timeouts":{"create":60,"read":5,"delete":30,"update":30}},"azurerm_spring_cloud_storage":{"schema":{"name":{"type":"TypeString","required":true,"forceNew":true},"spring_cloud_service_id":{"type":"TypeString","required":true,"forceNew":true},"storage_account_key":{"type":"TypeString","required":true},"storage_account_name":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_ssh_public_key":{"schema":{"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"public_key":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":45,"read":5,"delete":45,"update":45}},"azurerm_stack_hci_cluster":{"schema":{"automanage_configuration_id":{"type":"TypeString","optional":true},"client_id":{"type":"TypeString","optional":true,"forceNew":true},"cloud_id":{"type":"TypeString","computed":true},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"resource_provider_object_id":{"type":"TypeString","computed":true},"service_endpoint":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"tenant_id":{"type":"TypeString","optional":true,"computed":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_stack_hci_deployment_setting":{"schema":{"arc_resource_ids":{"type":"TypeList","required":true,"forceNew":true,"elem":{"type":"TypeString"}},"scale_unit":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"active_directory_organizational_unit_path":{"type":"TypeString","required":true,"forceNew":true},"bitlocker_boot_volume_enabled":{"type":"TypeBool","optional":true,"default":true,"forceNew":true},"bitlocker_data_volume_enabled":{"type":"TypeBool","optional":true,"default":true,"forceNew":true},"cluster":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"azure_service_endpoint":{"type":"TypeString","required":true,"forceNew":true},"cloud_account_name":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"witness_path":{"type":"TypeString","required":true,"forceNew":true},"witness_type":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"credential_guard_enabled":{"type":"TypeBool","optional":true,"default":false,"forceNew":true},"domain_fqdn":{"type":"TypeString","required":true,"forceNew":true},"drift_control_enabled":{"type":"TypeBool","optional":true,"default":true,"forceNew":true},"drtm_protection_enabled":{"type":"TypeBool","optional":true,"default":true,"forceNew":true},"episodic_data_upload_enabled":{"type":"TypeBool","optional":true,"default":true,"forceNew":true},"eu_location_enabled":{"type":"TypeBool","optional":true,"default":false,"forceNew":true},"host_network":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"intent":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"adapter":{"type":"TypeList","required":true,"forceNew":true,"elem":{"type":"TypeString"},"minItems":1},"adapter_property_override":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"jumbo_packet":{"type":"TypeString","optional":true,"forceNew":true},"network_direct":{"type":"TypeString","optional":true,"forceNew":true},"network_direct_technology":{"type":"TypeString","optional":true,"forceNew":true}}},"maxItems":1},"adapter_property_override_enabled":{"type":"TypeBool","optional":true,"default":false,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"qos_policy_override":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"bandwidth_percentage_smb":{"type":"TypeString","optional":true,"forceNew":true},"priority_value8021_action_cluster":{"type":"TypeString","optional":true,"forceNew":true},"priority_value8021_action_smb":{"type":"TypeString","optional":true,"forceNew":true}}},"maxItems":1},"qos_policy_override_enabled":{"type":"TypeBool","optional":true,"default":false,"forceNew":true},"traffic_type":{"type":"TypeList","required":true,"forceNew":true,"elem":{"type":"TypeString"},"minItems":1},"virtual_switch_configuration_override":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"enable_iov":{"type":"TypeString","optional":true,"forceNew":true},"load_balancing_algorithm":{"type":"TypeString","optional":true,"forceNew":true}}},"maxItems":1},"virtual_switch_configuration_override_enabled":{"type":"TypeBool","optional":true,"default":false,"forceNew":true}}},"minItems":1},"storage_auto_ip_enabled":{"type":"TypeBool","optional":true,"default":true,"forceNew":true},"storage_connectivity_switchless_enabled":{"type":"TypeBool","optional":true,"default":false,"forceNew":true},"storage_network":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"name":{"type":"TypeString","required":true,"forceNew":true},"network_adapter_name":{"type":"TypeString","required":true,"forceNew":true},"vlan_id":{"type":"TypeString","required":true,"forceNew":true}}},"minItems":1}}},"maxItems":1},"hvci_protection_enabled":{"type":"TypeBool","optional":true,"default":true,"forceNew":true},"infrastructure_network":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"dhcp_enabled":{"type":"TypeBool","optional":true,"default":false,"forceNew":true},"dns_server":{"type":"TypeList","required":true,"forceNew":true,"elem":{"type":"TypeString"},"minItems":1},"gateway":{"type":"TypeString","required":true,"forceNew":true},"ip_pool":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"ending_address":{"type":"TypeString","required":true,"forceNew":true},"starting_address":{"type":"TypeString","required":true,"forceNew":true}}},"minItems":1},"subnet_mask":{"type":"TypeString","required":true,"forceNew":true}}},"minItems":1},"name_prefix":{"type":"TypeString","required":true,"forceNew":true},"optional_service":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"custom_location":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"physical_node":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"ipv4_address":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true}}},"minItems":1},"secrets_location":{"type":"TypeString","required":true,"forceNew":true},"side_channel_mitigation_enabled":{"type":"TypeBool","optional":true,"default":true,"forceNew":true},"smb_cluster_encryption_enabled":{"type":"TypeBool","optional":true,"default":false,"forceNew":true},"smb_signing_enabled":{"type":"TypeBool","optional":true,"default":true,"forceNew":true},"storage":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"configuration_mode":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"streaming_data_client_enabled":{"type":"TypeBool","optional":true,"default":true,"forceNew":true},"wdac_enabled":{"type":"TypeBool","optional":true,"default":true,"forceNew":true}}},"minItems":1},"stack_hci_cluster_id":{"type":"TypeString","required":true,"forceNew":true},"version":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":360,"read":5,"delete":60}},"azurerm_stack_hci_extension":{"schema":{"arc_setting_id":{"type":"TypeString","required":true,"forceNew":true},"auto_upgrade_minor_version_enabled":{"type":"TypeBool","optional":true,"default":true,"forceNew":true},"automatic_upgrade_enabled":{"type":"TypeBool","optional":true,"default":true},"name":{"type":"TypeString","required":true,"forceNew":true},"protected_settings":{"type":"TypeString","optional":true},"publisher":{"type":"TypeString","required":true,"forceNew":true},"settings":{"type":"TypeString","optional":true},"type":{"type":"TypeString","required":true,"forceNew":true},"type_handler_version":{"type":"TypeString","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_stack_hci_logical_network":{"schema":{"custom_location_id":{"type":"TypeString","required":true,"forceNew":true},"dns_servers":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"subnet":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"address_prefix":{"type":"TypeString","optional":true,"forceNew":true},"ip_allocation_method":{"type":"TypeString","required":true,"forceNew":true},"ip_pool":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"end":{"type":"TypeString","required":true,"forceNew":true},"start":{"type":"TypeString","required":true,"forceNew":true}}}},"route":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"address_prefix":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","optional":true,"forceNew":true},"next_hop_ip_address":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"vlan_id":{"type":"TypeInt","optional":true,"forceNew":true}}},"maxItems":1},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"virtual_switch_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_stack_hci_marketplace_gallery_image":{"schema":{"custom_location_id":{"type":"TypeString","required":true,"forceNew":true},"hyperv_generation":{"type":"TypeString","required":true,"forceNew":true},"identifier":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"offer":{"type":"TypeString","required":true,"forceNew":true},"publisher":{"type":"TypeString","required":true,"forceNew":true},"sku":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"os_type":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"storage_path_id":{"type":"TypeString","optional":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"version":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":180,"read":5,"delete":60,"update":30}},"azurerm_stack_hci_storage_path":{"schema":{"custom_location_id":{"type":"TypeString","required":true,"forceNew":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"path":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_stack_hci_virtual_hard_disk":{"schema":{"block_size_in_bytes":{"type":"TypeInt","optional":true,"forceNew":true},"custom_location_id":{"type":"TypeString","required":true,"forceNew":true},"disk_file_format":{"type":"TypeString","optional":true,"forceNew":true},"disk_size_in_gb":{"type":"TypeInt","required":true,"forceNew":true},"dynamic_enabled":{"type":"TypeBool","optional":true,"default":false,"forceNew":true},"hyperv_generation":{"type":"TypeString","optional":true,"forceNew":true},"location":{"type":"TypeString","required":true,"forceNew":true},"logical_sector_in_bytes":{"type":"TypeInt","optional":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"physical_sector_in_bytes":{"type":"TypeInt","optional":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"storage_path_id":{"type":"TypeString","optional":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_static_site":{"schema":{"api_key":{"type":"TypeString","computed":true},"app_settings":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"default_host_name":{"type":"TypeString","computed":true},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"sku_size":{"type":"TypeString","optional":true,"default":"Free"},"sku_tier":{"type":"TypeString","optional":true,"default":"Free"},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_static_site_custom_domain":{"schema":{"domain_name":{"type":"TypeString","required":true,"forceNew":true},"static_site_id":{"type":"TypeString","required":true,"forceNew":true},"validation_token":{"type":"TypeString","computed":true},"validation_type":{"type":"TypeString","optional":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_static_web_app":{"schema":{"api_key":{"type":"TypeString","computed":true},"app_settings":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"basic_auth":{"type":"TypeList","optional":true,"elem":{"schema":{"environments":{"type":"TypeString","required":true},"password":{"type":"TypeString","required":true}}},"maxItems":1},"configuration_file_changes_enabled":{"type":"TypeBool","optional":true,"default":true},"default_host_name":{"type":"TypeString","computed":true},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"preview_environments_enabled":{"type":"TypeBool","optional":true,"default":true},"public_network_access_enabled":{"type":"TypeBool","optional":true,"default":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"sku_size":{"type":"TypeString","optional":true,"default":"Free"},"sku_tier":{"type":"TypeString","optional":true,"default":"Free"},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_static_web_app_custom_domain":{"schema":{"domain_name":{"type":"TypeString","required":true,"forceNew":true},"static_web_app_id":{"type":"TypeString","required":true,"forceNew":true},"validation_token":{"type":"TypeString","computed":true},"validation_type":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_static_web_app_function_app_registration":{"schema":{"function_app_id":{"type":"TypeString","required":true,"forceNew":true},"static_web_app_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_storage_account":{"schema":{"access_tier":{"type":"TypeString","optional":true,"computed":true},"account_kind":{"type":"TypeString","optional":true,"default":"StorageV2"},"account_replication_type":{"type":"TypeString","required":true},"account_tier":{"type":"TypeString","required":true,"forceNew":true},"allow_nested_items_to_be_public":{"type":"TypeBool","optional":true,"default":true},"allowed_copy_scope":{"type":"TypeString","optional":true},"azure_files_authentication":{"type":"TypeList","optional":true,"elem":{"schema":{"active_directory":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"domain_guid":{"type":"TypeString","required":true},"domain_name":{"type":"TypeString","required":true},"domain_sid":{"type":"TypeString","optional":true},"forest_name":{"type":"TypeString","optional":true},"netbios_domain_name":{"type":"TypeString","optional":true},"storage_sid":{"type":"TypeString","optional":true}}},"maxItems":1},"default_share_level_permission":{"type":"TypeString","optional":true,"default":"None"},"directory_type":{"type":"TypeString","required":true}}},"maxItems":1},"blob_properties":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"change_feed_enabled":{"type":"TypeBool","optional":true,"default":false},"change_feed_retention_in_days":{"type":"TypeInt","optional":true},"container_delete_retention_policy":{"type":"TypeList","optional":true,"elem":{"schema":{"days":{"type":"TypeInt","optional":true,"default":7}}},"maxItems":1},"cors_rule":{"type":"TypeList","optional":true,"elem":{"schema":{"allowed_headers":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"maxItems":64,"minItems":1},"allowed_methods":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"maxItems":64},"allowed_origins":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"maxItems":64},"exposed_headers":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"maxItems":64,"minItems":1},"max_age_in_seconds":{"type":"TypeInt","required":true}}},"maxItems":5},"default_service_version":{"type":"TypeString","optional":true,"computed":true},"delete_retention_policy":{"type":"TypeList","optional":true,"elem":{"schema":{"days":{"type":"TypeInt","optional":true,"default":7},"permanent_delete_enabled":{"type":"TypeBool","optional":true,"default":false}}},"maxItems":1},"last_access_time_enabled":{"type":"TypeBool","optional":true,"default":false},"restore_policy":{"type":"TypeList","optional":true,"elem":{"schema":{"days":{"type":"TypeInt","required":true}}},"maxItems":1},"versioning_enabled":{"type":"TypeBool","optional":true,"default":false}}},"maxItems":1},"cross_tenant_replication_enabled":{"type":"TypeBool","optional":true,"default":false},"custom_domain":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"use_subdomain":{"type":"TypeBool","optional":true,"default":false}}},"maxItems":1},"customer_managed_key":{"type":"TypeList","optional":true,"elem":{"schema":{"key_vault_key_id":{"type":"TypeString","optional":true},"managed_hsm_key_id":{"type":"TypeString","optional":true},"user_assigned_identity_id":{"type":"TypeString","required":true}}},"maxItems":1},"default_to_oauth_authentication":{"type":"TypeBool","optional":true,"default":false},"dns_endpoint_type":{"type":"TypeString","optional":true,"default":"Standard","forceNew":true},"edge_zone":{"type":"TypeString","optional":true,"forceNew":true},"https_traffic_only_enabled":{"type":"TypeBool","optional":true,"default":true},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"immutability_policy":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"allow_protected_append_writes":{"type":"TypeBool","required":true},"period_since_creation_in_days":{"type":"TypeInt","required":true},"state":{"type":"TypeString","required":true}}},"maxItems":1},"infrastructure_encryption_enabled":{"type":"TypeBool","optional":true,"default":false,"forceNew":true},"is_hns_enabled":{"type":"TypeBool","optional":true,"default":false,"forceNew":true},"large_file_share_enabled":{"type":"TypeBool","optional":true,"computed":true},"local_user_enabled":{"type":"TypeBool","optional":true,"default":true},"location":{"type":"TypeString","required":true,"forceNew":true},"min_tls_version":{"type":"TypeString","optional":true,"default":"TLS1_2"},"name":{"type":"TypeString","required":true,"forceNew":true},"network_rules":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"bypass":{"type":"TypeSet","optional":true,"computed":true,"elem":{"type":"TypeString"}},"default_action":{"type":"TypeString","required":true},"ip_rules":{"type":"TypeSet","optional":true,"computed":true,"elem":{"type":"TypeString"}},"private_link_access":{"type":"TypeList","optional":true,"elem":{"schema":{"endpoint_resource_id":{"type":"TypeString","required":true},"endpoint_tenant_id":{"type":"TypeString","optional":true,"computed":true}}}},"virtual_network_subnet_ids":{"type":"TypeSet","optional":true,"computed":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"nfsv3_enabled":{"type":"TypeBool","optional":true,"default":false,"forceNew":true},"primary_access_key":{"type":"TypeString","computed":true},"primary_blob_connection_string":{"type":"TypeString","computed":true},"primary_blob_endpoint":{"type":"TypeString","computed":true},"primary_blob_host":{"type":"TypeString","computed":true},"primary_blob_internet_endpoint":{"type":"TypeString","computed":true},"primary_blob_internet_host":{"type":"TypeString","computed":true},"primary_blob_microsoft_endpoint":{"type":"TypeString","computed":true},"primary_blob_microsoft_host":{"type":"TypeString","computed":true},"primary_connection_string":{"type":"TypeString","computed":true},"primary_dfs_endpoint":{"type":"TypeString","computed":true},"primary_dfs_host":{"type":"TypeString","computed":true},"primary_dfs_internet_endpoint":{"type":"TypeString","computed":true},"primary_dfs_internet_host":{"type":"TypeString","computed":true},"primary_dfs_microsoft_endpoint":{"type":"TypeString","computed":true},"primary_dfs_microsoft_host":{"type":"TypeString","computed":true},"primary_file_endpoint":{"type":"TypeString","computed":true},"primary_file_host":{"type":"TypeString","computed":true},"primary_file_internet_endpoint":{"type":"TypeString","computed":true},"primary_file_internet_host":{"type":"TypeString","computed":true},"primary_file_microsoft_endpoint":{"type":"TypeString","computed":true},"primary_file_microsoft_host":{"type":"TypeString","computed":true},"primary_location":{"type":"TypeString","computed":true},"primary_queue_endpoint":{"type":"TypeString","computed":true},"primary_queue_host":{"type":"TypeString","computed":true},"primary_queue_microsoft_endpoint":{"type":"TypeString","computed":true},"primary_queue_microsoft_host":{"type":"TypeString","computed":true},"primary_table_endpoint":{"type":"TypeString","computed":true},"primary_table_host":{"type":"TypeString","computed":true},"primary_table_microsoft_endpoint":{"type":"TypeString","computed":true},"primary_table_microsoft_host":{"type":"TypeString","computed":true},"primary_web_endpoint":{"type":"TypeString","computed":true},"primary_web_host":{"type":"TypeString","computed":true},"primary_web_internet_endpoint":{"type":"TypeString","computed":true},"primary_web_internet_host":{"type":"TypeString","computed":true},"primary_web_microsoft_endpoint":{"type":"TypeString","computed":true},"primary_web_microsoft_host":{"type":"TypeString","computed":true},"public_network_access_enabled":{"type":"TypeBool","optional":true,"default":true},"queue_encryption_key_type":{"type":"TypeString","optional":true,"default":"Service","forceNew":true},"queue_properties":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"cors_rule":{"type":"TypeList","optional":true,"elem":{"schema":{"allowed_headers":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"maxItems":64,"minItems":1},"allowed_methods":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"maxItems":64},"allowed_origins":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"maxItems":64},"exposed_headers":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"maxItems":64,"minItems":1},"max_age_in_seconds":{"type":"TypeInt","required":true}}},"maxItems":5},"hour_metrics":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"enabled":{"type":"TypeBool","required":true},"include_apis":{"type":"TypeBool","optional":true},"retention_policy_days":{"type":"TypeInt","optional":true},"version":{"type":"TypeString","required":true}}},"maxItems":1},"logging":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"delete":{"type":"TypeBool","required":true},"read":{"type":"TypeBool","required":true},"retention_policy_days":{"type":"TypeInt","optional":true},"version":{"type":"TypeString","required":true},"write":{"type":"TypeBool","required":true}}},"maxItems":1},"minute_metrics":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"enabled":{"type":"TypeBool","required":true},"include_apis":{"type":"TypeBool","optional":true},"retention_policy_days":{"type":"TypeInt","optional":true},"version":{"type":"TypeString","required":true}}},"maxItems":1}}},"maxItems":1},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"routing":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"choice":{"type":"TypeString","optional":true,"default":"MicrosoftRouting"},"publish_internet_endpoints":{"type":"TypeBool","optional":true,"default":false},"publish_microsoft_endpoints":{"type":"TypeBool","optional":true,"default":false}}},"maxItems":1},"sas_policy":{"type":"TypeList","optional":true,"elem":{"schema":{"expiration_action":{"type":"TypeString","optional":true,"default":"Log"},"expiration_period":{"type":"TypeString","required":true}}},"maxItems":1,"minItems":1},"secondary_access_key":{"type":"TypeString","computed":true},"secondary_blob_connection_string":{"type":"TypeString","computed":true},"secondary_blob_endpoint":{"type":"TypeString","computed":true},"secondary_blob_host":{"type":"TypeString","computed":true},"secondary_blob_internet_endpoint":{"type":"TypeString","computed":true},"secondary_blob_internet_host":{"type":"TypeString","computed":true},"secondary_blob_microsoft_endpoint":{"type":"TypeString","computed":true},"secondary_blob_microsoft_host":{"type":"TypeString","computed":true},"secondary_connection_string":{"type":"TypeString","computed":true},"secondary_dfs_endpoint":{"type":"TypeString","computed":true},"secondary_dfs_host":{"type":"TypeString","computed":true},"secondary_dfs_internet_endpoint":{"type":"TypeString","computed":true},"secondary_dfs_internet_host":{"type":"TypeString","computed":true},"secondary_dfs_microsoft_endpoint":{"type":"TypeString","computed":true},"secondary_dfs_microsoft_host":{"type":"TypeString","computed":true},"secondary_file_endpoint":{"type":"TypeString","computed":true},"secondary_file_host":{"type":"TypeString","computed":true},"secondary_file_internet_endpoint":{"type":"TypeString","computed":true},"secondary_file_internet_host":{"type":"TypeString","computed":true},"secondary_file_microsoft_endpoint":{"type":"TypeString","computed":true},"secondary_file_microsoft_host":{"type":"TypeString","computed":true},"secondary_location":{"type":"TypeString","computed":true},"secondary_queue_endpoint":{"type":"TypeString","computed":true},"secondary_queue_host":{"type":"TypeString","computed":true},"secondary_queue_microsoft_endpoint":{"type":"TypeString","computed":true},"secondary_queue_microsoft_host":{"type":"TypeString","computed":true},"secondary_table_endpoint":{"type":"TypeString","computed":true},"secondary_table_host":{"type":"TypeString","computed":true},"secondary_table_microsoft_endpoint":{"type":"TypeString","computed":true},"secondary_table_microsoft_host":{"type":"TypeString","computed":true},"secondary_web_endpoint":{"type":"TypeString","computed":true},"secondary_web_host":{"type":"TypeString","computed":true},"secondary_web_internet_endpoint":{"type":"TypeString","computed":true},"secondary_web_internet_host":{"type":"TypeString","computed":true},"secondary_web_microsoft_endpoint":{"type":"TypeString","computed":true},"secondary_web_microsoft_host":{"type":"TypeString","computed":true},"sftp_enabled":{"type":"TypeBool","optional":true,"default":false},"share_properties":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"cors_rule":{"type":"TypeList","optional":true,"elem":{"schema":{"allowed_headers":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"maxItems":64,"minItems":1},"allowed_methods":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"maxItems":64},"allowed_origins":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"maxItems":64},"exposed_headers":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"maxItems":64,"minItems":1},"max_age_in_seconds":{"type":"TypeInt","required":true}}},"maxItems":5},"retention_policy":{"type":"TypeList","optional":true,"elem":{"schema":{"days":{"type":"TypeInt","optional":true,"default":7}}},"maxItems":1},"smb":{"type":"TypeList","optional":true,"elem":{"schema":{"authentication_types":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"channel_encryption_type":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"kerberos_ticket_encryption_type":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"multichannel_enabled":{"type":"TypeBool","optional":true,"default":false},"versions":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1}}},"maxItems":1},"shared_access_key_enabled":{"type":"TypeBool","optional":true,"default":true},"static_website":{"type":"TypeList","optional":true,"elem":{"schema":{"error_404_document":{"type":"TypeString","optional":true},"index_document":{"type":"TypeString","optional":true}}},"maxItems":1},"table_encryption_key_type":{"type":"TypeString","optional":true,"default":"Service","forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":60,"read":5,"delete":60,"update":60}},"azurerm_storage_account_customer_managed_key":{"schema":{"federated_identity_client_id":{"type":"TypeString","optional":true},"key_name":{"type":"TypeString","required":true},"key_vault_id":{"type":"TypeString","optional":true},"key_vault_uri":{"type":"TypeString","optional":true,"computed":true},"key_version":{"type":"TypeString","optional":true},"managed_hsm_key_id":{"type":"TypeString","optional":true},"storage_account_id":{"type":"TypeString","required":true,"forceNew":true},"user_assigned_identity_id":{"type":"TypeString","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_storage_account_local_user":{"schema":{"home_directory":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"password":{"type":"TypeString","computed":true},"permission_scope":{"type":"TypeList","optional":true,"elem":{"schema":{"permissions":{"type":"TypeList","required":true,"elem":{"schema":{"create":{"type":"TypeBool","optional":true,"default":false},"delete":{"type":"TypeBool","optional":true,"default":false},"list":{"type":"TypeBool","optional":true,"default":false},"read":{"type":"TypeBool","optional":true,"default":false},"write":{"type":"TypeBool","optional":true,"default":false}}},"maxItems":1},"resource_name":{"type":"TypeString","required":true},"service":{"type":"TypeString","required":true}}}},"sid":{"type":"TypeString","computed":true},"ssh_authorized_key":{"type":"TypeList","optional":true,"elem":{"schema":{"description":{"type":"TypeString","optional":true},"key":{"type":"TypeString","required":true}}}},"ssh_key_enabled":{"type":"TypeBool","optional":true,"default":false},"ssh_password_enabled":{"type":"TypeBool","optional":true,"default":false},"storage_account_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_storage_account_network_rules":{"schema":{"bypass":{"type":"TypeSet","optional":true,"computed":true,"elem":{"type":"TypeString"}},"default_action":{"type":"TypeString","required":true},"ip_rules":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"private_link_access":{"type":"TypeList","optional":true,"elem":{"schema":{"endpoint_resource_id":{"type":"TypeString","required":true},"endpoint_tenant_id":{"type":"TypeString","optional":true,"computed":true}}}},"storage_account_id":{"type":"TypeString","required":true,"forceNew":true},"virtual_network_subnet_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":60,"read":5,"delete":60,"update":60}},"azurerm_storage_blob":{"schema":{"access_tier":{"type":"TypeString","optional":true,"computed":true},"cache_control":{"type":"TypeString","optional":true},"content_md5":{"type":"TypeString","optional":true,"forceNew":true},"content_type":{"type":"TypeString","optional":true,"default":"application/octet-stream"},"encryption_scope":{"type":"TypeString","optional":true,"forceNew":true},"metadata":{"type":"TypeMap","optional":true,"computed":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true,"forceNew":true},"parallelism":{"type":"TypeInt","optional":true,"default":8,"forceNew":true},"size":{"type":"TypeInt","optional":true,"default":0,"forceNew":true},"source":{"type":"TypeString","optional":true,"forceNew":true},"source_content":{"type":"TypeString","optional":true,"forceNew":true},"source_uri":{"type":"TypeString","optional":true,"forceNew":true},"storage_account_name":{"type":"TypeString","required":true,"forceNew":true},"storage_container_name":{"type":"TypeString","required":true,"forceNew":true},"type":{"type":"TypeString","required":true,"forceNew":true},"url":{"type":"TypeString","computed":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_storage_blob_inventory_policy":{"schema":{"rules":{"type":"TypeSet","required":true,"elem":{"schema":{"filter":{"type":"TypeList","optional":true,"elem":{"schema":{"blob_types":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}},"exclude_prefixes":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":10},"include_blob_versions":{"type":"TypeBool","optional":true,"default":false},"include_deleted":{"type":"TypeBool","optional":true,"default":false},"include_snapshots":{"type":"TypeBool","optional":true,"default":false},"prefix_match":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":10}}},"maxItems":1},"format":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true},"schedule":{"type":"TypeString","required":true},"schema_fields":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}},"scope":{"type":"TypeString","required":true},"storage_container_name":{"type":"TypeString","required":true}}}},"storage_account_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_storage_container":{"schema":{"container_access_type":{"type":"TypeString","optional":true,"default":"private"},"default_encryption_scope":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"encryption_scope_override_enabled":{"type":"TypeBool","optional":true,"default":true,"forceNew":true},"has_immutability_policy":{"type":"TypeBool","computed":true},"has_legal_hold":{"type":"TypeBool","computed":true},"metadata":{"type":"TypeMap","optional":true,"computed":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_manager_id":{"type":"TypeString","computed":true},"storage_account_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_storage_container_immutability_policy":{"schema":{"immutability_period_in_days":{"type":"TypeInt","required":true},"locked":{"type":"TypeBool","optional":true,"default":false},"protected_append_writes_all_enabled":{"type":"TypeBool","optional":true,"default":false},"protected_append_writes_enabled":{"type":"TypeBool","optional":true,"default":false},"storage_container_resource_manager_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":10,"read":5,"delete":10,"update":10}},"azurerm_storage_data_lake_gen2_filesystem":{"schema":{"ace":{"type":"TypeSet","optional":true,"computed":true,"elem":{"schema":{"id":{"type":"TypeString","optional":true},"permissions":{"type":"TypeString","required":true},"scope":{"type":"TypeString","optional":true,"default":"access"},"type":{"type":"TypeString","required":true}}}},"default_encryption_scope":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"group":{"type":"TypeString","optional":true,"computed":true},"name":{"type":"TypeString","required":true,"forceNew":true},"owner":{"type":"TypeString","optional":true,"computed":true},"properties":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"storage_account_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_storage_data_lake_gen2_path":{"schema":{"ace":{"type":"TypeSet","optional":true,"computed":true,"elem":{"schema":{"id":{"type":"TypeString","optional":true},"permissions":{"type":"TypeString","required":true},"scope":{"type":"TypeString","optional":true,"default":"access"},"type":{"type":"TypeString","required":true}}}},"filesystem_name":{"type":"TypeString","required":true,"forceNew":true},"group":{"type":"TypeString","optional":true,"computed":true},"owner":{"type":"TypeString","optional":true,"computed":true},"path":{"type":"TypeString","required":true,"forceNew":true},"resource":{"type":"TypeString","required":true,"forceNew":true},"storage_account_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_storage_encryption_scope":{"schema":{"infrastructure_encryption_required":{"type":"TypeBool","optional":true,"forceNew":true},"key_vault_key_id":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"source":{"type":"TypeString","required":true},"storage_account_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_storage_management_policy":{"schema":{"rule":{"type":"TypeList","optional":true,"elem":{"schema":{"actions":{"type":"TypeList","required":true,"elem":{"schema":{"base_blob":{"type":"TypeList","optional":true,"elem":{"schema":{"auto_tier_to_hot_from_cool_enabled":{"type":"TypeBool","optional":true},"delete_after_days_since_creation_greater_than":{"type":"TypeInt","optional":true,"default":-1},"delete_after_days_since_last_access_time_greater_than":{"type":"TypeInt","optional":true,"default":-1},"delete_after_days_since_modification_greater_than":{"type":"TypeInt","optional":true,"default":-1},"tier_to_archive_after_days_since_creation_greater_than":{"type":"TypeInt","optional":true,"default":-1},"tier_to_archive_after_days_since_last_access_time_greater_than":{"type":"TypeInt","optional":true,"default":-1},"tier_to_archive_after_days_since_last_tier_change_greater_than":{"type":"TypeInt","optional":true,"default":-1},"tier_to_archive_after_days_since_modification_greater_than":{"type":"TypeInt","optional":true,"default":-1},"tier_to_cold_after_days_since_creation_greater_than":{"type":"TypeInt","optional":true,"default":-1},"tier_to_cold_after_days_since_last_access_time_greater_than":{"type":"TypeInt","optional":true,"default":-1},"tier_to_cold_after_days_since_modification_greater_than":{"type":"TypeInt","optional":true,"default":-1},"tier_to_cool_after_days_since_creation_greater_than":{"type":"TypeInt","optional":true,"default":-1},"tier_to_cool_after_days_since_last_access_time_greater_than":{"type":"TypeInt","optional":true,"default":-1},"tier_to_cool_after_days_since_modification_greater_than":{"type":"TypeInt","optional":true,"default":-1}}},"maxItems":1},"snapshot":{"type":"TypeList","optional":true,"elem":{"schema":{"change_tier_to_archive_after_days_since_creation":{"type":"TypeInt","optional":true,"default":-1},"change_tier_to_cool_after_days_since_creation":{"type":"TypeInt","optional":true,"default":-1},"delete_after_days_since_creation_greater_than":{"type":"TypeInt","optional":true,"default":-1},"tier_to_archive_after_days_since_last_tier_change_greater_than":{"type":"TypeInt","optional":true,"default":-1},"tier_to_cold_after_days_since_creation_greater_than":{"type":"TypeInt","optional":true,"default":-1}}},"maxItems":1},"version":{"type":"TypeList","optional":true,"elem":{"schema":{"change_tier_to_archive_after_days_since_creation":{"type":"TypeInt","optional":true,"default":-1},"change_tier_to_cool_after_days_since_creation":{"type":"TypeInt","optional":true,"default":-1},"delete_after_days_since_creation":{"type":"TypeInt","optional":true,"default":-1},"tier_to_archive_after_days_since_last_tier_change_greater_than":{"type":"TypeInt","optional":true,"default":-1},"tier_to_cold_after_days_since_creation_greater_than":{"type":"TypeInt","optional":true,"default":-1}}},"maxItems":1}}},"maxItems":1},"enabled":{"type":"TypeBool","required":true},"filters":{"type":"TypeList","required":true,"elem":{"schema":{"blob_types":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}},"match_blob_index_tag":{"type":"TypeSet","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"operation":{"type":"TypeString","optional":true,"default":"=="},"value":{"type":"TypeString","required":true}}}},"prefix_match":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"name":{"type":"TypeString","required":true}}},"minItems":1},"storage_account_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_storage_mover":{"schema":{"description":{"type":"TypeString","optional":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_storage_mover_agent":{"schema":{"arc_virtual_machine_id":{"type":"TypeString","required":true,"forceNew":true},"arc_virtual_machine_uuid":{"type":"TypeString","required":true,"forceNew":true},"description":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"storage_mover_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_storage_mover_job_definition":{"schema":{"agent_name":{"type":"TypeString","optional":true},"copy_mode":{"type":"TypeString","required":true},"description":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"source_name":{"type":"TypeString","required":true,"forceNew":true},"source_sub_path":{"type":"TypeString","optional":true,"forceNew":true},"storage_mover_project_id":{"type":"TypeString","required":true,"forceNew":true},"target_name":{"type":"TypeString","required":true,"forceNew":true},"target_sub_path":{"type":"TypeString","optional":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_storage_mover_project":{"schema":{"description":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"storage_mover_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_storage_mover_source_endpoint":{"schema":{"description":{"type":"TypeString","optional":true},"export":{"type":"TypeString","optional":true,"forceNew":true},"host":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"nfs_version":{"type":"TypeString","optional":true,"default":"NFSauto","forceNew":true},"storage_mover_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_storage_mover_target_endpoint":{"schema":{"description":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"storage_account_id":{"type":"TypeString","required":true,"forceNew":true},"storage_container_name":{"type":"TypeString","required":true,"forceNew":true},"storage_mover_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_storage_object_replication":{"schema":{"destination_object_replication_id":{"type":"TypeString","computed":true},"destination_storage_account_id":{"type":"TypeString","required":true,"forceNew":true},"rules":{"type":"TypeSet","required":true,"elem":{"schema":{"copy_blobs_created_after":{"type":"TypeString","optional":true,"default":"OnlyNewObjects"},"destination_container_name":{"type":"TypeString","required":true},"filter_out_blobs_with_prefix":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","computed":true},"source_container_name":{"type":"TypeString","required":true}}}},"source_object_replication_id":{"type":"TypeString","computed":true},"source_storage_account_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_storage_queue":{"schema":{"metadata":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_manager_id":{"type":"TypeString","computed":true},"storage_account_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_storage_share":{"schema":{"access_tier":{"type":"TypeString","optional":true,"computed":true},"acl":{"type":"TypeSet","optional":true,"elem":{"schema":{"access_policy":{"type":"TypeList","optional":true,"elem":{"schema":{"expiry":{"type":"TypeString","optional":true},"permissions":{"type":"TypeString","required":true},"start":{"type":"TypeString","optional":true}}}},"id":{"type":"TypeString","required":true}}}},"enabled_protocol":{"type":"TypeString","optional":true,"default":"SMB","forceNew":true},"metadata":{"type":"TypeMap","optional":true,"computed":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true,"forceNew":true},"quota":{"type":"TypeInt","required":true},"resource_manager_id":{"type":"TypeString","computed":true},"storage_account_name":{"type":"TypeString","required":true,"forceNew":true},"url":{"type":"TypeString","computed":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_storage_share_directory":{"schema":{"metadata":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true,"forceNew":true},"storage_share_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_storage_share_file":{"schema":{"content_disposition":{"type":"TypeString","optional":true},"content_encoding":{"type":"TypeString","optional":true},"content_length":{"type":"TypeInt","computed":true},"content_md5":{"type":"TypeString","optional":true,"forceNew":true},"content_type":{"type":"TypeString","optional":true,"default":"application/octet-stream"},"metadata":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true,"forceNew":true},"path":{"type":"TypeString","optional":true,"default":"","forceNew":true},"source":{"type":"TypeString","optional":true,"forceNew":true},"storage_share_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_storage_sync":{"schema":{"incoming_traffic_policy":{"type":"TypeString","optional":true,"default":"AllowAllTraffic"},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"registered_servers":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_storage_sync_cloud_endpoint":{"schema":{"file_share_name":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"storage_account_id":{"type":"TypeString","required":true,"forceNew":true},"storage_account_tenant_id":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"storage_sync_group_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":45,"read":5,"delete":45}},"azurerm_storage_sync_group":{"schema":{"name":{"type":"TypeString","required":true,"forceNew":true},"storage_sync_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_storage_sync_server_endpoint":{"schema":{"cloud_tiering_enabled":{"type":"TypeBool","optional":true,"default":false},"initial_download_policy":{"type":"TypeString","optional":true,"default":"NamespaceThenModifiedFiles","forceNew":true},"local_cache_mode":{"type":"TypeString","optional":true,"default":"UpdateLocallyCachedFiles"},"name":{"type":"TypeString","required":true,"forceNew":true},"registered_server_id":{"type":"TypeString","required":true,"forceNew":true},"server_local_path":{"type":"TypeString","required":true,"forceNew":true},"storage_sync_group_id":{"type":"TypeString","required":true,"forceNew":true},"tier_files_older_than_days":{"type":"TypeInt","optional":true},"volume_free_space_percent":{"type":"TypeInt","optional":true,"default":20}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_storage_table":{"schema":{"acl":{"type":"TypeSet","optional":true,"elem":{"schema":{"access_policy":{"type":"TypeList","optional":true,"elem":{"schema":{"expiry":{"type":"TypeString","required":true},"permissions":{"type":"TypeString","required":true},"start":{"type":"TypeString","required":true}}}},"id":{"type":"TypeString","required":true}}}},"name":{"type":"TypeString","required":true,"forceNew":true},"storage_account_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_storage_table_entity":{"schema":{"entity":{"type":"TypeMap","required":true,"elem":{"type":"TypeString"}},"partition_key":{"type":"TypeString","required":true,"forceNew":true},"row_key":{"type":"TypeString","required":true,"forceNew":true},"storage_table_id":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_stream_analytics_cluster":{"schema":{"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"streaming_capacity":{"type":"TypeInt","required":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":90,"read":5,"delete":90,"update":90}},"azurerm_stream_analytics_function_javascript_uda":{"schema":{"input":{"type":"TypeList","required":true,"elem":{"schema":{"configuration_parameter":{"type":"TypeBool","optional":true,"default":false},"type":{"type":"TypeString","required":true}}},"minItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"output":{"type":"TypeList","required":true,"elem":{"schema":{"type":{"type":"TypeString","required":true}}},"maxItems":1},"script":{"type":"TypeString","required":true},"stream_analytics_job_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_stream_analytics_function_javascript_udf":{"schema":{"input":{"type":"TypeList","required":true,"elem":{"schema":{"configuration_parameter":{"type":"TypeBool","optional":true,"default":false},"type":{"type":"TypeString","required":true}}},"minItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"output":{"type":"TypeList","required":true,"elem":{"schema":{"type":{"type":"TypeString","required":true}}},"maxItems":1},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"script":{"type":"TypeString","required":true},"stream_analytics_job_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_stream_analytics_job":{"schema":{"compatibility_level":{"type":"TypeString","optional":true,"computed":true},"content_storage_policy":{"type":"TypeString","optional":true,"default":"SystemAccount"},"data_locale":{"type":"TypeString","optional":true,"default":"en-US"},"events_late_arrival_max_delay_in_seconds":{"type":"TypeInt","optional":true,"default":5},"events_out_of_order_max_delay_in_seconds":{"type":"TypeInt","optional":true,"default":0},"events_out_of_order_policy":{"type":"TypeString","optional":true,"default":"Adjust"},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"job_id":{"type":"TypeString","computed":true},"job_storage_account":{"type":"TypeList","optional":true,"elem":{"schema":{"account_key":{"type":"TypeString","required":true},"account_name":{"type":"TypeString","required":true},"authentication_mode":{"type":"TypeString","optional":true,"default":"ConnectionString"}}}},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"output_error_policy":{"type":"TypeString","optional":true,"default":"Drop"},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"sku_name":{"type":"TypeString","optional":true,"default":"Standard"},"stream_analytics_cluster_id":{"type":"TypeString","optional":true},"streaming_units":{"type":"TypeInt","optional":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"transformation_query":{"type":"TypeString","required":true},"type":{"type":"TypeString","optional":true,"default":"Cloud","forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_stream_analytics_job_schedule":{"schema":{"last_output_time":{"type":"TypeString","computed":true},"start_mode":{"type":"TypeString","required":true},"start_time":{"type":"TypeString","optional":true,"computed":true},"stream_analytics_job_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_stream_analytics_managed_private_endpoint":{"schema":{"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"stream_analytics_cluster_name":{"type":"TypeString","required":true,"forceNew":true},"subresource_name":{"type":"TypeString","required":true,"forceNew":true},"target_resource_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":5}},"azurerm_stream_analytics_output_blob":{"schema":{"authentication_mode":{"type":"TypeString","optional":true,"default":"ConnectionString"},"batch_max_wait_time":{"type":"TypeString","optional":true},"batch_min_rows":{"type":"TypeInt","optional":true},"blob_write_mode":{"type":"TypeString","optional":true,"default":"Append"},"date_format":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true,"forceNew":true},"path_pattern":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"serialization":{"type":"TypeList","required":true,"elem":{"schema":{"encoding":{"type":"TypeString","optional":true},"field_delimiter":{"type":"TypeString","optional":true},"format":{"type":"TypeString","optional":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"storage_account_key":{"type":"TypeString","optional":true},"storage_account_name":{"type":"TypeString","required":true},"storage_container_name":{"type":"TypeString","required":true},"stream_analytics_job_name":{"type":"TypeString","required":true,"forceNew":true},"time_format":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_stream_analytics_output_cosmosdb":{"schema":{"container_name":{"type":"TypeString","required":true},"cosmosdb_account_key":{"type":"TypeString","required":true},"cosmosdb_sql_database_id":{"type":"TypeString","required":true},"document_id":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"partition_key":{"type":"TypeString","optional":true},"stream_analytics_job_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_stream_analytics_output_eventhub":{"schema":{"authentication_mode":{"type":"TypeString","optional":true,"default":"ConnectionString"},"eventhub_name":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true,"forceNew":true},"partition_key":{"type":"TypeString","optional":true},"property_columns":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"serialization":{"type":"TypeList","required":true,"elem":{"schema":{"encoding":{"type":"TypeString","optional":true},"field_delimiter":{"type":"TypeString","optional":true},"format":{"type":"TypeString","optional":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"servicebus_namespace":{"type":"TypeString","required":true},"shared_access_policy_key":{"type":"TypeString","optional":true},"shared_access_policy_name":{"type":"TypeString","optional":true},"stream_analytics_job_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_stream_analytics_output_function":{"schema":{"api_key":{"type":"TypeString","required":true},"batch_max_count":{"type":"TypeInt","optional":true,"default":100},"batch_max_in_bytes":{"type":"TypeInt","optional":true,"default":262144},"function_app":{"type":"TypeString","required":true},"function_name":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"stream_analytics_job_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_stream_analytics_output_mssql":{"schema":{"authentication_mode":{"type":"TypeString","optional":true,"default":"ConnectionString"},"database":{"type":"TypeString","required":true,"forceNew":true},"max_batch_count":{"type":"TypeFloat","optional":true,"default":10000},"max_writer_count":{"type":"TypeFloat","optional":true,"default":1},"name":{"type":"TypeString","required":true,"forceNew":true},"password":{"type":"TypeString","optional":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"server":{"type":"TypeString","required":true,"forceNew":true},"stream_analytics_job_name":{"type":"TypeString","required":true,"forceNew":true},"table":{"type":"TypeString","required":true,"forceNew":true},"user":{"type":"TypeString","optional":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_stream_analytics_output_powerbi":{"schema":{"dataset":{"type":"TypeString","required":true},"group_id":{"type":"TypeString","required":true},"group_name":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true,"forceNew":true},"stream_analytics_job_id":{"type":"TypeString","required":true,"forceNew":true},"table":{"type":"TypeString","required":true},"token_user_display_name":{"type":"TypeString","optional":true},"token_user_principal_name":{"type":"TypeString","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_stream_analytics_output_servicebus_queue":{"schema":{"authentication_mode":{"type":"TypeString","optional":true,"default":"ConnectionString"},"name":{"type":"TypeString","required":true,"forceNew":true},"property_columns":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"queue_name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"serialization":{"type":"TypeList","required":true,"elem":{"schema":{"encoding":{"type":"TypeString","optional":true},"field_delimiter":{"type":"TypeString","optional":true},"format":{"type":"TypeString","optional":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"servicebus_namespace":{"type":"TypeString","required":true},"shared_access_policy_key":{"type":"TypeString","optional":true},"shared_access_policy_name":{"type":"TypeString","optional":true},"stream_analytics_job_name":{"type":"TypeString","required":true,"forceNew":true},"system_property_columns":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_stream_analytics_output_servicebus_topic":{"schema":{"authentication_mode":{"type":"TypeString","optional":true,"default":"ConnectionString"},"name":{"type":"TypeString","required":true,"forceNew":true},"property_columns":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"serialization":{"type":"TypeList","required":true,"elem":{"schema":{"encoding":{"type":"TypeString","optional":true},"field_delimiter":{"type":"TypeString","optional":true},"format":{"type":"TypeString","optional":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"servicebus_namespace":{"type":"TypeString","required":true},"shared_access_policy_key":{"type":"TypeString","optional":true},"shared_access_policy_name":{"type":"TypeString","optional":true},"stream_analytics_job_name":{"type":"TypeString","required":true,"forceNew":true},"system_property_columns":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"topic_name":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_stream_analytics_output_synapse":{"schema":{"database":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"password":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"server":{"type":"TypeString","required":true,"forceNew":true},"stream_analytics_job_name":{"type":"TypeString","required":true,"forceNew":true},"table":{"type":"TypeString","required":true,"forceNew":true},"user":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_stream_analytics_output_table":{"schema":{"batch_size":{"type":"TypeInt","required":true},"columns_to_remove":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true,"forceNew":true},"partition_key":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"row_key":{"type":"TypeString","required":true},"storage_account_key":{"type":"TypeString","required":true},"storage_account_name":{"type":"TypeString","required":true},"stream_analytics_job_name":{"type":"TypeString","required":true,"forceNew":true},"table":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_stream_analytics_reference_input_blob":{"schema":{"authentication_mode":{"type":"TypeString","optional":true,"default":"ConnectionString"},"date_format":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true,"forceNew":true},"path_pattern":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"serialization":{"type":"TypeList","required":true,"elem":{"schema":{"encoding":{"type":"TypeString","optional":true},"field_delimiter":{"type":"TypeString","optional":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"storage_account_key":{"type":"TypeString","optional":true},"storage_account_name":{"type":"TypeString","required":true},"storage_container_name":{"type":"TypeString","required":true},"stream_analytics_job_name":{"type":"TypeString","required":true,"forceNew":true},"time_format":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_stream_analytics_reference_input_mssql":{"schema":{"database":{"type":"TypeString","required":true},"delta_snapshot_query":{"type":"TypeString","optional":true},"full_snapshot_query":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true,"forceNew":true},"password":{"type":"TypeString","required":true},"refresh_interval_duration":{"type":"TypeString","optional":true},"refresh_type":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"server":{"type":"TypeString","required":true},"stream_analytics_job_name":{"type":"TypeString","required":true,"forceNew":true},"table":{"type":"TypeString","optional":true},"username":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_stream_analytics_stream_input_blob":{"schema":{"date_format":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true,"forceNew":true},"path_pattern":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"serialization":{"type":"TypeList","required":true,"elem":{"schema":{"encoding":{"type":"TypeString","optional":true},"field_delimiter":{"type":"TypeString","optional":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"storage_account_key":{"type":"TypeString","required":true},"storage_account_name":{"type":"TypeString","required":true},"storage_container_name":{"type":"TypeString","required":true},"stream_analytics_job_name":{"type":"TypeString","required":true,"forceNew":true},"time_format":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_stream_analytics_stream_input_eventhub":{"schema":{"authentication_mode":{"type":"TypeString","optional":true,"default":"ConnectionString"},"eventhub_consumer_group_name":{"type":"TypeString","optional":true},"eventhub_name":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true,"forceNew":true},"partition_key":{"type":"TypeString","optional":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"serialization":{"type":"TypeList","required":true,"elem":{"schema":{"encoding":{"type":"TypeString","optional":true},"field_delimiter":{"type":"TypeString","optional":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"servicebus_namespace":{"type":"TypeString","required":true},"shared_access_policy_key":{"type":"TypeString","optional":true},"shared_access_policy_name":{"type":"TypeString","optional":true},"stream_analytics_job_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_stream_analytics_stream_input_eventhub_v2":{"schema":{"authentication_mode":{"type":"TypeString","optional":true,"default":"ConnectionString"},"eventhub_consumer_group_name":{"type":"TypeString","optional":true},"eventhub_name":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true,"forceNew":true},"partition_key":{"type":"TypeString","optional":true},"serialization":{"type":"TypeList","required":true,"elem":{"schema":{"encoding":{"type":"TypeString","optional":true},"field_delimiter":{"type":"TypeString","optional":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"servicebus_namespace":{"type":"TypeString","required":true},"shared_access_policy_key":{"type":"TypeString","optional":true},"shared_access_policy_name":{"type":"TypeString","optional":true},"stream_analytics_job_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_stream_analytics_stream_input_iothub":{"schema":{"endpoint":{"type":"TypeString","required":true},"eventhub_consumer_group_name":{"type":"TypeString","required":true},"iothub_namespace":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"serialization":{"type":"TypeList","required":true,"elem":{"schema":{"encoding":{"type":"TypeString","optional":true},"field_delimiter":{"type":"TypeString","optional":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"shared_access_policy_key":{"type":"TypeString","required":true,"forceNew":true},"shared_access_policy_name":{"type":"TypeString","required":true},"stream_analytics_job_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_subnet":{"schema":{"address_prefixes":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"minItems":1},"default_outbound_access_enabled":{"type":"TypeBool","optional":true,"default":true,"forceNew":true},"delegation":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"service_delegation":{"type":"TypeList","required":true,"elem":{"schema":{"actions":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true}}},"maxItems":1}}}},"name":{"type":"TypeString","required":true,"forceNew":true},"private_endpoint_network_policies":{"type":"TypeString","optional":true,"default":"Disabled"},"private_link_service_network_policies_enabled":{"type":"TypeBool","optional":true,"default":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"service_endpoint_policy_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"service_endpoints":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"virtual_network_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_subnet_nat_gateway_association":{"schema":{"nat_gateway_id":{"type":"TypeString","required":true,"forceNew":true},"subnet_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_subnet_network_security_group_association":{"schema":{"network_security_group_id":{"type":"TypeString","required":true,"forceNew":true},"subnet_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_subnet_route_table_association":{"schema":{"route_table_id":{"type":"TypeString","required":true,"forceNew":true},"subnet_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_subnet_service_endpoint_storage_policy":{"schema":{"definition":{"type":"TypeList","optional":true,"elem":{"schema":{"description":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true},"service":{"type":"TypeString","optional":true,"default":"Microsoft.Storage"},"service_resources":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}}}},"maxItems":2,"minItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_subscription":{"schema":{"alias":{"type":"TypeString","optional":true,"description":"The Alias Name of the subscription. If omitted a new UUID will be generated for this property.","computed":true,"forceNew":true},"billing_scope_id":{"type":"TypeString","optional":true},"subscription_id":{"type":"TypeString","optional":true,"description":"The GUID of the Subscription.","computed":true,"forceNew":true},"subscription_name":{"type":"TypeString","required":true,"description":"The Display Name for the Subscription."},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"tenant_id":{"type":"TypeString","description":"The Tenant ID to which the subscription belongs","computed":true},"workload":{"type":"TypeString","optional":true,"description":"The workload type for the Subscription. Possible values are `Production` (default) and `DevTest`.","forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_subscription_cost_management_export":{"schema":{"active":{"type":"TypeBool","optional":true,"default":true},"export_data_options":{"type":"TypeList","required":true,"elem":{"schema":{"time_frame":{"type":"TypeString","required":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"export_data_storage_location":{"type":"TypeList","required":true,"elem":{"schema":{"container_id":{"type":"TypeString","required":true,"forceNew":true},"root_folder_path":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"recurrence_period_end_date":{"type":"TypeString","required":true},"recurrence_period_start_date":{"type":"TypeString","required":true},"recurrence_type":{"type":"TypeString","required":true},"subscription_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_subscription_cost_management_view":{"schema":{"accumulated":{"type":"TypeBool","required":true,"forceNew":true},"chart_type":{"type":"TypeString","required":true},"dataset":{"type":"TypeList","required":true,"elem":{"schema":{"aggregation":{"type":"TypeSet","required":true,"elem":{"schema":{"column_name":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true}}}},"granularity":{"type":"TypeString","required":true},"grouping":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"type":{"type":"TypeString","required":true}}}},"sorting":{"type":"TypeList","optional":true,"elem":{"schema":{"direction":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true}}}}}},"maxItems":1},"display_name":{"type":"TypeString","required":true},"kpi":{"type":"TypeList","optional":true,"elem":{"schema":{"type":{"type":"TypeString","required":true}}}},"name":{"type":"TypeString","required":true,"forceNew":true},"pivot":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"type":{"type":"TypeString","required":true}}}},"report_type":{"type":"TypeString","required":true},"subscription_id":{"type":"TypeString","required":true,"forceNew":true},"timeframe":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_subscription_policy_assignment":{"schema":{"description":{"type":"TypeString","optional":true},"display_name":{"type":"TypeString","optional":true},"enforce":{"type":"TypeBool","optional":true,"default":true},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"location":{"type":"TypeString","optional":true,"forceNew":true},"metadata":{"type":"TypeString","optional":true,"computed":true},"name":{"type":"TypeString","required":true,"forceNew":true},"non_compliance_message":{"type":"TypeList","optional":true,"elem":{"schema":{"content":{"type":"TypeString","required":true},"policy_definition_reference_id":{"type":"TypeString","optional":true}}}},"not_scopes":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"overrides":{"type":"TypeList","optional":true,"elem":{"schema":{"selectors":{"type":"TypeList","optional":true,"elem":{"schema":{"in":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"kind":{"type":"TypeString","computed":true},"not_in":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}}}}},"value":{"type":"TypeString","required":true}}}},"parameters":{"type":"TypeString","optional":true},"policy_definition_id":{"type":"TypeString","required":true,"forceNew":true},"resource_selectors":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","optional":true},"selectors":{"type":"TypeList","required":true,"elem":{"schema":{"in":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"kind":{"type":"TypeString","required":true},"not_in":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}}}}}}}},"subscription_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_subscription_policy_exemption":{"schema":{"description":{"type":"TypeString","optional":true},"display_name":{"type":"TypeString","optional":true},"exemption_category":{"type":"TypeString","required":true},"expires_on":{"type":"TypeString","optional":true},"metadata":{"type":"TypeString","optional":true,"computed":true},"name":{"type":"TypeString","required":true,"forceNew":true},"policy_assignment_id":{"type":"TypeString","required":true,"forceNew":true},"policy_definition_reference_ids":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"subscription_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_subscription_policy_remediation":{"schema":{"failure_percentage":{"type":"TypeFloat","optional":true},"location_filters":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true,"forceNew":true},"parallel_deployments":{"type":"TypeInt","optional":true},"policy_assignment_id":{"type":"TypeString","required":true},"policy_definition_reference_id":{"type":"TypeString","optional":true},"resource_count":{"type":"TypeInt","optional":true},"resource_discovery_mode":{"type":"TypeString","optional":true,"default":"ExistingNonCompliant"},"subscription_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_subscription_template_deployment":{"schema":{"debug_level":{"type":"TypeString","optional":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"output_content":{"type":"TypeString","computed":true},"parameters_content":{"type":"TypeString","optional":true,"computed":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"template_content":{"type":"TypeString","optional":true,"computed":true},"template_spec_version_id":{"type":"TypeString","optional":true}},"timeouts":{"create":180,"read":5,"delete":180,"update":180}},"azurerm_synapse_firewall_rule":{"schema":{"end_ip_address":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true,"forceNew":true},"start_ip_address":{"type":"TypeString","required":true},"synapse_workspace_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_synapse_integration_runtime_azure":{"schema":{"compute_type":{"type":"TypeString","optional":true,"default":"General"},"core_count":{"type":"TypeInt","optional":true,"default":8},"description":{"type":"TypeString","optional":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"synapse_workspace_id":{"type":"TypeString","required":true,"forceNew":true},"time_to_live_min":{"type":"TypeInt","optional":true,"default":0}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_synapse_integration_runtime_self_hosted":{"schema":{"authorization_key_primary":{"type":"TypeString","computed":true},"authorization_key_secondary":{"type":"TypeString","computed":true},"description":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"synapse_workspace_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_synapse_linked_service":{"schema":{"additional_properties":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"annotations":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"description":{"type":"TypeString","optional":true},"integration_runtime":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"parameters":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"synapse_workspace_id":{"type":"TypeString","required":true,"forceNew":true},"type":{"type":"TypeString","required":true,"forceNew":true},"type_properties_json":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_synapse_managed_private_endpoint":{"schema":{"name":{"type":"TypeString","required":true,"forceNew":true},"subresource_name":{"type":"TypeString","required":true,"forceNew":true},"synapse_workspace_id":{"type":"TypeString","required":true,"forceNew":true},"target_resource_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_synapse_private_link_hub":{"schema":{"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_synapse_role_assignment":{"schema":{"principal_id":{"type":"TypeString","required":true,"forceNew":true},"principal_type":{"type":"TypeString","optional":true,"forceNew":true},"role_name":{"type":"TypeString","required":true,"forceNew":true},"synapse_spark_pool_id":{"type":"TypeString","optional":true,"forceNew":true},"synapse_workspace_id":{"type":"TypeString","optional":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_synapse_spark_pool":{"schema":{"auto_pause":{"type":"TypeList","optional":true,"elem":{"schema":{"delay_in_minutes":{"type":"TypeInt","required":true}}},"maxItems":1},"auto_scale":{"type":"TypeList","optional":true,"elem":{"schema":{"max_node_count":{"type":"TypeInt","required":true},"min_node_count":{"type":"TypeInt","required":true}}},"maxItems":1},"cache_size":{"type":"TypeInt","optional":true},"compute_isolation_enabled":{"type":"TypeBool","optional":true,"default":false},"dynamic_executor_allocation_enabled":{"type":"TypeBool","optional":true,"default":false},"library_requirement":{"type":"TypeList","optional":true,"elem":{"schema":{"content":{"type":"TypeString","required":true},"filename":{"type":"TypeString","required":true}}},"maxItems":1},"max_executors":{"type":"TypeInt","optional":true},"min_executors":{"type":"TypeInt","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"node_count":{"type":"TypeInt","optional":true,"computed":true},"node_size":{"type":"TypeString","required":true},"node_size_family":{"type":"TypeString","required":true},"session_level_packages_enabled":{"type":"TypeBool","optional":true,"default":false},"spark_config":{"type":"TypeList","optional":true,"elem":{"schema":{"content":{"type":"TypeString","required":true},"filename":{"type":"TypeString","required":true}}},"maxItems":1},"spark_events_folder":{"type":"TypeString","optional":true,"default":"/events"},"spark_log_folder":{"type":"TypeString","optional":true,"default":"/logs"},"spark_version":{"type":"TypeString","required":true},"synapse_workspace_id":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_synapse_sql_pool":{"schema":{"collation":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"create_mode":{"type":"TypeString","optional":true,"default":"Default","forceNew":true},"data_encrypted":{"type":"TypeBool","optional":true},"geo_backup_policy_enabled":{"type":"TypeBool","optional":true,"default":true},"name":{"type":"TypeString","required":true,"forceNew":true},"recovery_database_id":{"type":"TypeString","optional":true,"forceNew":true},"restore":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"point_in_time":{"type":"TypeString","required":true,"forceNew":true},"source_database_id":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"sku_name":{"type":"TypeString","required":true},"storage_account_type":{"type":"TypeString","required":true,"forceNew":true},"synapse_workspace_id":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_synapse_sql_pool_extended_auditing_policy":{"schema":{"log_monitoring_enabled":{"type":"TypeBool","optional":true,"default":true},"retention_in_days":{"type":"TypeInt","optional":true,"default":0},"sql_pool_id":{"type":"TypeString","required":true,"forceNew":true},"storage_account_access_key":{"type":"TypeString","optional":true},"storage_account_access_key_is_secondary":{"type":"TypeBool","optional":true,"default":false},"storage_endpoint":{"type":"TypeString","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_synapse_sql_pool_security_alert_policy":{"schema":{"disabled_alerts":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"email_account_admins_enabled":{"type":"TypeBool","optional":true,"default":false},"email_addresses":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"policy_state":{"type":"TypeString","required":true},"retention_days":{"type":"TypeInt","optional":true,"default":0},"sql_pool_id":{"type":"TypeString","required":true,"forceNew":true},"storage_account_access_key":{"type":"TypeString","optional":true},"storage_endpoint":{"type":"TypeString","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_synapse_sql_pool_vulnerability_assessment":{"schema":{"recurring_scans":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"email_subscription_admins_enabled":{"type":"TypeBool","optional":true,"default":true},"emails":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"enabled":{"type":"TypeBool","optional":true,"default":false}}},"maxItems":1},"sql_pool_security_alert_policy_id":{"type":"TypeString","required":true,"forceNew":true},"storage_account_access_key":{"type":"TypeString","optional":true},"storage_container_path":{"type":"TypeString","required":true},"storage_container_sas_key":{"type":"TypeString","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_synapse_sql_pool_vulnerability_assessment_baseline":{"schema":{"baseline":{"type":"TypeList","optional":true,"elem":{"schema":{"result":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}}}}},"name":{"type":"TypeString","required":true},"rule_name":{"type":"TypeString","required":true},"sql_pool_vulnerability_assessment_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_synapse_sql_pool_workload_classifier":{"schema":{"context":{"type":"TypeString","optional":true},"end_time":{"type":"TypeString","optional":true},"importance":{"type":"TypeString","optional":true},"label":{"type":"TypeString","optional":true},"member_name":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true,"forceNew":true},"start_time":{"type":"TypeString","optional":true},"workload_group_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_synapse_sql_pool_workload_group":{"schema":{"importance":{"type":"TypeString","optional":true,"default":"normal"},"max_resource_percent":{"type":"TypeInt","required":true},"max_resource_percent_per_request":{"type":"TypeFloat","optional":true,"default":3},"min_resource_percent":{"type":"TypeInt","required":true},"min_resource_percent_per_request":{"type":"TypeFloat","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"query_execution_timeout_in_seconds":{"type":"TypeInt","optional":true},"sql_pool_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_synapse_workspace":{"schema":{"azure_devops_repo":{"type":"TypeList","optional":true,"elem":{"schema":{"account_name":{"type":"TypeString","required":true},"branch_name":{"type":"TypeString","required":true},"last_commit_id":{"type":"TypeString","optional":true},"project_name":{"type":"TypeString","required":true},"repository_name":{"type":"TypeString","required":true},"root_folder":{"type":"TypeString","required":true},"tenant_id":{"type":"TypeString","optional":true,"computed":true}}},"maxItems":1},"azuread_authentication_only":{"type":"TypeBool","optional":true,"default":false},"compute_subnet_id":{"type":"TypeString","optional":true,"forceNew":true},"connectivity_endpoints":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"customer_managed_key":{"type":"TypeList","optional":true,"elem":{"schema":{"key_name":{"type":"TypeString","optional":true,"default":"cmk"},"key_versionless_id":{"type":"TypeString","required":true},"user_assigned_identity_id":{"type":"TypeString","optional":true}}},"maxItems":1},"data_exfiltration_protection_enabled":{"type":"TypeBool","optional":true,"forceNew":true},"github_repo":{"type":"TypeList","optional":true,"elem":{"schema":{"account_name":{"type":"TypeString","required":true},"branch_name":{"type":"TypeString","required":true},"git_url":{"type":"TypeString","optional":true},"last_commit_id":{"type":"TypeString","optional":true},"repository_name":{"type":"TypeString","required":true},"root_folder":{"type":"TypeString","required":true}}},"maxItems":1},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"linking_allowed_for_aad_tenant_ids":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"location":{"type":"TypeString","required":true,"forceNew":true},"managed_resource_group_name":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"managed_virtual_network_enabled":{"type":"TypeBool","optional":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"public_network_access_enabled":{"type":"TypeBool","optional":true,"default":true},"purview_id":{"type":"TypeString","optional":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"sql_administrator_login":{"type":"TypeString","optional":true,"forceNew":true},"sql_administrator_login_password":{"type":"TypeString","optional":true},"sql_identity_control_enabled":{"type":"TypeBool","optional":true},"storage_data_lake_gen2_filesystem_id":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_synapse_workspace_aad_admin":{"schema":{"login":{"type":"TypeString","required":true},"object_id":{"type":"TypeString","required":true},"synapse_workspace_id":{"type":"TypeString","required":true},"tenant_id":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_synapse_workspace_extended_auditing_policy":{"schema":{"log_monitoring_enabled":{"type":"TypeBool","optional":true,"default":true},"retention_in_days":{"type":"TypeInt","optional":true,"default":0},"storage_account_access_key":{"type":"TypeString","optional":true},"storage_account_access_key_is_secondary":{"type":"TypeBool","optional":true,"default":false},"storage_endpoint":{"type":"TypeString","optional":true},"synapse_workspace_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_synapse_workspace_key":{"schema":{"active":{"type":"TypeBool","required":true},"customer_managed_key_name":{"type":"TypeString","required":true},"customer_managed_key_versionless_id":{"type":"TypeString","optional":true},"synapse_workspace_id":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_synapse_workspace_security_alert_policy":{"schema":{"disabled_alerts":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"email_account_admins_enabled":{"type":"TypeBool","optional":true,"default":false},"email_addresses":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"policy_state":{"type":"TypeString","required":true},"retention_days":{"type":"TypeInt","optional":true,"default":0},"storage_account_access_key":{"type":"TypeString","optional":true},"storage_endpoint":{"type":"TypeString","optional":true},"synapse_workspace_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_synapse_workspace_sql_aad_admin":{"schema":{"login":{"type":"TypeString","required":true},"object_id":{"type":"TypeString","required":true},"synapse_workspace_id":{"type":"TypeString","required":true},"tenant_id":{"type":"TypeString","required":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_synapse_workspace_vulnerability_assessment":{"schema":{"recurring_scans":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"email_subscription_admins_enabled":{"type":"TypeBool","optional":true,"default":true},"emails":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"enabled":{"type":"TypeBool","optional":true,"default":false}}},"maxItems":1},"storage_account_access_key":{"type":"TypeString","optional":true},"storage_container_path":{"type":"TypeString","required":true},"storage_container_sas_key":{"type":"TypeString","optional":true},"workspace_security_alert_policy_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_system_center_virtual_machine_manager_availability_set":{"schema":{"custom_location_id":{"type":"TypeString","required":true,"forceNew":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"system_center_virtual_machine_manager_server_id":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_system_center_virtual_machine_manager_cloud":{"schema":{"custom_location_id":{"type":"TypeString","required":true,"forceNew":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"system_center_virtual_machine_manager_server_inventory_item_id":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_system_center_virtual_machine_manager_server":{"schema":{"custom_location_id":{"type":"TypeString","required":true,"forceNew":true},"fqdn":{"type":"TypeString","required":true,"forceNew":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"password":{"type":"TypeString","required":true,"forceNew":true},"port":{"type":"TypeInt","optional":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"username":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":180,"read":5,"delete":180,"update":180}},"azurerm_system_center_virtual_machine_manager_virtual_machine_template":{"schema":{"custom_location_id":{"type":"TypeString","required":true,"forceNew":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"system_center_virtual_machine_manager_server_inventory_item_id":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_system_center_virtual_machine_manager_virtual_network":{"schema":{"custom_location_id":{"type":"TypeString","required":true,"forceNew":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"system_center_virtual_machine_manager_server_inventory_item_id":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_tenant_template_deployment":{"schema":{"debug_level":{"type":"TypeString","optional":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"output_content":{"type":"TypeString","computed":true},"parameters_content":{"type":"TypeString","optional":true,"computed":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"template_content":{"type":"TypeString","optional":true,"computed":true},"template_spec_version_id":{"type":"TypeString","optional":true}},"timeouts":{"create":180,"read":5,"delete":180,"update":180}},"azurerm_traffic_manager_azure_endpoint":{"schema":{"always_serve_enabled":{"type":"TypeBool","optional":true,"default":false},"custom_header":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"value":{"type":"TypeString","required":true}}}},"enabled":{"type":"TypeBool","optional":true,"default":true},"geo_mappings":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true,"forceNew":true},"priority":{"type":"TypeInt","optional":true,"default":1},"profile_id":{"type":"TypeString","required":true,"forceNew":true},"subnet":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"first":{"type":"TypeString","required":true},"last":{"type":"TypeString","optional":true},"scope":{"type":"TypeInt","optional":true}}}},"target_resource_id":{"type":"TypeString","required":true},"weight":{"type":"TypeInt","optional":true,"default":1}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_traffic_manager_external_endpoint":{"schema":{"always_serve_enabled":{"type":"TypeBool","optional":true,"default":false},"custom_header":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"value":{"type":"TypeString","required":true}}}},"enabled":{"type":"TypeBool","optional":true,"default":true},"endpoint_location":{"type":"TypeString","optional":true,"computed":true},"geo_mappings":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true,"forceNew":true},"priority":{"type":"TypeInt","optional":true,"default":1},"profile_id":{"type":"TypeString","required":true,"forceNew":true},"subnet":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"first":{"type":"TypeString","required":true},"last":{"type":"TypeString","optional":true},"scope":{"type":"TypeInt","optional":true}}}},"target":{"type":"TypeString","required":true},"weight":{"type":"TypeInt","optional":true,"default":1}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_traffic_manager_nested_endpoint":{"schema":{"custom_header":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"value":{"type":"TypeString","required":true}}}},"enabled":{"type":"TypeBool","optional":true,"default":true},"endpoint_location":{"type":"TypeString","optional":true,"computed":true},"geo_mappings":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"minimum_child_endpoints":{"type":"TypeInt","required":true},"minimum_required_child_endpoints_ipv4":{"type":"TypeInt","optional":true},"minimum_required_child_endpoints_ipv6":{"type":"TypeInt","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"priority":{"type":"TypeInt","optional":true,"default":1},"profile_id":{"type":"TypeString","required":true,"forceNew":true},"subnet":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"first":{"type":"TypeString","required":true},"last":{"type":"TypeString","optional":true},"scope":{"type":"TypeInt","optional":true}}}},"target_resource_id":{"type":"TypeString","required":true},"weight":{"type":"TypeInt","optional":true,"default":1}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_traffic_manager_profile":{"schema":{"dns_config":{"type":"TypeList","required":true,"elem":{"schema":{"relative_name":{"type":"TypeString","required":true,"forceNew":true},"ttl":{"type":"TypeInt","required":true}}},"maxItems":1},"fqdn":{"type":"TypeString","computed":true},"max_return":{"type":"TypeInt","optional":true},"monitor_config":{"type":"TypeList","required":true,"elem":{"schema":{"custom_header":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"value":{"type":"TypeString","required":true}}}},"expected_status_code_ranges":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"interval_in_seconds":{"type":"TypeInt","optional":true,"default":30},"path":{"type":"TypeString","optional":true},"port":{"type":"TypeInt","required":true},"protocol":{"type":"TypeString","required":true},"timeout_in_seconds":{"type":"TypeInt","optional":true,"default":10},"tolerated_number_of_failures":{"type":"TypeInt","optional":true,"default":3}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"profile_status":{"type":"TypeString","optional":true,"default":"Enabled"},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"traffic_routing_method":{"type":"TypeString","required":true},"traffic_view_enabled":{"type":"TypeBool","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_trusted_signing_account":{"schema":{"account_uri":{"type":"TypeString","computed":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"sku_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":10,"update":10}},"azurerm_user_assigned_identity":{"schema":{"client_id":{"type":"TypeString","computed":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"principal_id":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"tenant_id":{"type":"TypeString","computed":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_video_indexer_account":{"schema":{"identity":{"type":"TypeList","required":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"storage":{"type":"TypeList","required":true,"elem":{"schema":{"storage_account_id":{"type":"TypeString","required":true,"forceNew":true},"user_assigned_identity_id":{"type":"TypeString","optional":true}}},"maxItems":1},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":60,"read":5,"delete":60,"update":60}},"azurerm_virtual_desktop_application":{"schema":{"application_group_id":{"type":"TypeString","required":true,"forceNew":true},"command_line_argument_policy":{"type":"TypeString","required":true},"command_line_arguments":{"type":"TypeString","optional":true},"description":{"type":"TypeString","optional":true},"friendly_name":{"type":"TypeString","optional":true,"computed":true},"icon_index":{"type":"TypeInt","optional":true},"icon_path":{"type":"TypeString","optional":true,"computed":true},"name":{"type":"TypeString","required":true,"forceNew":true},"path":{"type":"TypeString","required":true},"show_in_portal":{"type":"TypeBool","optional":true}},"timeouts":{"create":60,"read":5,"delete":60,"update":60}},"azurerm_virtual_desktop_application_group":{"schema":{"default_desktop_display_name":{"type":"TypeString","optional":true},"description":{"type":"TypeString","optional":true},"friendly_name":{"type":"TypeString","optional":true},"host_pool_id":{"type":"TypeString","required":true,"forceNew":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"type":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":60,"read":5,"delete":60,"update":60}},"azurerm_virtual_desktop_host_pool":{"schema":{"custom_rdp_properties":{"type":"TypeString","optional":true},"description":{"type":"TypeString","optional":true},"friendly_name":{"type":"TypeString","optional":true},"load_balancer_type":{"type":"TypeString","required":true},"location":{"type":"TypeString","required":true,"forceNew":true},"maximum_sessions_allowed":{"type":"TypeInt","optional":true,"default":999999},"name":{"type":"TypeString","required":true,"forceNew":true},"personal_desktop_assignment_type":{"type":"TypeString","optional":true,"forceNew":true},"preferred_app_group_type":{"type":"TypeString","optional":true,"default":"Desktop","description":"Preferred App Group type to display"},"public_network_access":{"type":"TypeString","optional":true,"default":"Enabled"},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"scheduled_agent_updates":{"type":"TypeList","optional":true,"elem":{"schema":{"enabled":{"type":"TypeBool","optional":true,"default":false},"schedule":{"type":"TypeList","optional":true,"elem":{"schema":{"day_of_week":{"type":"TypeString","required":true},"hour_of_day":{"type":"TypeInt","required":true}}},"maxItems":2},"timezone":{"type":"TypeString","optional":true,"default":"UTC"},"use_session_host_timezone":{"type":"TypeBool","optional":true,"default":false}}},"maxItems":1},"start_vm_on_connect":{"type":"TypeBool","optional":true,"default":false},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"type":{"type":"TypeString","required":true,"forceNew":true},"validate_environment":{"type":"TypeBool","optional":true,"default":false},"vm_template":{"type":"TypeString","optional":true}},"timeouts":{"create":60,"read":5,"delete":60,"update":60}},"azurerm_virtual_desktop_host_pool_registration_info":{"schema":{"expiration_date":{"type":"TypeString","required":true},"hostpool_id":{"type":"TypeString","required":true,"forceNew":true},"token":{"type":"TypeString","computed":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_virtual_desktop_scaling_plan":{"schema":{"description":{"type":"TypeString","optional":true},"exclusion_tag":{"type":"TypeString","optional":true},"friendly_name":{"type":"TypeString","optional":true},"host_pool":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"hostpool_id":{"type":"TypeString","required":true},"scaling_plan_enabled":{"type":"TypeBool","required":true}}}},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"schedule":{"type":"TypeList","required":true,"elem":{"schema":{"days_of_week":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true},"off_peak_load_balancing_algorithm":{"type":"TypeString","required":true},"off_peak_start_time":{"type":"TypeString","required":true},"peak_load_balancing_algorithm":{"type":"TypeString","required":true},"peak_start_time":{"type":"TypeString","required":true},"ramp_down_capacity_threshold_percent":{"type":"TypeInt","required":true},"ramp_down_force_logoff_users":{"type":"TypeBool","required":true},"ramp_down_load_balancing_algorithm":{"type":"TypeString","required":true},"ramp_down_minimum_hosts_percent":{"type":"TypeInt","required":true},"ramp_down_notification_message":{"type":"TypeString","required":true},"ramp_down_start_time":{"type":"TypeString","required":true},"ramp_down_stop_hosts_when":{"type":"TypeString","required":true},"ramp_down_wait_time_minutes":{"type":"TypeInt","required":true},"ramp_up_capacity_threshold_percent":{"type":"TypeInt","optional":true},"ramp_up_load_balancing_algorithm":{"type":"TypeString","required":true},"ramp_up_minimum_hosts_percent":{"type":"TypeInt","optional":true},"ramp_up_start_time":{"type":"TypeString","required":true}}},"minItems":1},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"time_zone":{"type":"TypeString","required":true}},"timeouts":{"create":60,"read":5,"delete":60,"update":60}},"azurerm_virtual_desktop_scaling_plan_host_pool_association":{"schema":{"enabled":{"type":"TypeBool","required":true},"host_pool_id":{"type":"TypeString","required":true,"forceNew":true},"scaling_plan_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":60,"read":5,"delete":60,"update":60}},"azurerm_virtual_desktop_workspace":{"schema":{"description":{"type":"TypeString","optional":true},"friendly_name":{"type":"TypeString","optional":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"public_network_access_enabled":{"type":"TypeBool","optional":true,"default":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":60,"read":5,"delete":60,"update":60}},"azurerm_virtual_desktop_workspace_application_group_association":{"schema":{"application_group_id":{"type":"TypeString","required":true,"forceNew":true},"workspace_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":60,"read":5,"delete":60}},"azurerm_virtual_hub":{"schema":{"address_prefix":{"type":"TypeString","optional":true,"forceNew":true},"default_route_table_id":{"type":"TypeString","computed":true},"hub_routing_preference":{"type":"TypeString","optional":true,"default":"ExpressRoute"},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"route":{"type":"TypeSet","optional":true,"elem":{"schema":{"address_prefixes":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}},"next_hop_ip_address":{"type":"TypeString","required":true}}}},"sku":{"type":"TypeString","optional":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"virtual_router_asn":{"type":"TypeInt","computed":true},"virtual_router_auto_scale_min_capacity":{"type":"TypeInt","optional":true,"default":2},"virtual_router_ips":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"virtual_wan_id":{"type":"TypeString","optional":true,"forceNew":true}},"timeouts":{"create":60,"read":5,"delete":60,"update":60}},"azurerm_virtual_hub_bgp_connection":{"schema":{"name":{"type":"TypeString","required":true,"forceNew":true},"peer_asn":{"type":"TypeInt","required":true,"forceNew":true},"peer_ip":{"type":"TypeString","required":true,"forceNew":true},"virtual_hub_id":{"type":"TypeString","required":true,"forceNew":true},"virtual_network_connection_id":{"type":"TypeString","optional":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_virtual_hub_connection":{"schema":{"internet_security_enabled":{"type":"TypeBool","optional":true,"default":false},"name":{"type":"TypeString","required":true,"forceNew":true},"remote_virtual_network_id":{"type":"TypeString","required":true,"forceNew":true},"routing":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"associated_route_table_id":{"type":"TypeString","optional":true,"computed":true},"inbound_route_map_id":{"type":"TypeString","optional":true},"outbound_route_map_id":{"type":"TypeString","optional":true},"propagated_route_table":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"labels":{"type":"TypeSet","optional":true,"computed":true,"elem":{"type":"TypeString"}},"route_table_ids":{"type":"TypeList","optional":true,"computed":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"static_vnet_local_route_override_criteria":{"type":"TypeString","optional":true,"default":"Contains","forceNew":true},"static_vnet_route":{"type":"TypeList","optional":true,"elem":{"schema":{"address_prefixes":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","optional":true},"next_hop_ip_address":{"type":"TypeString","optional":true}}}}}},"maxItems":1},"virtual_hub_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":60,"read":5,"delete":60,"update":60}},"azurerm_virtual_hub_ip":{"schema":{"name":{"type":"TypeString","required":true,"forceNew":true},"private_ip_address":{"type":"TypeString","optional":true},"private_ip_allocation_method":{"type":"TypeString","optional":true,"default":"Dynamic"},"public_ip_address_id":{"type":"TypeString","required":true,"forceNew":true},"subnet_id":{"type":"TypeString","required":true,"forceNew":true},"virtual_hub_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":60,"read":5,"delete":60,"update":60}},"azurerm_virtual_hub_route_table":{"schema":{"labels":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true,"forceNew":true},"route":{"type":"TypeSet","optional":true,"computed":true,"elem":{"schema":{"destinations":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}},"destinations_type":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true},"next_hop":{"type":"TypeString","required":true},"next_hop_type":{"type":"TypeString","optional":true,"default":"ResourceId"}}}},"virtual_hub_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_virtual_hub_route_table_route":{"schema":{"destinations":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}},"destinations_type":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true,"forceNew":true},"next_hop":{"type":"TypeString","required":true},"next_hop_type":{"type":"TypeString","optional":true,"default":"ResourceId"},"route_table_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_virtual_hub_routing_intent":{"schema":{"name":{"type":"TypeString","required":true,"forceNew":true},"routing_policy":{"type":"TypeList","required":true,"elem":{"schema":{"destinations":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true},"next_hop":{"type":"TypeString","required":true}}}},"virtual_hub_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_virtual_hub_security_partner_provider":{"schema":{"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"security_provider_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"virtual_hub_id":{"type":"TypeString","optional":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_virtual_machine":{"schema":{"additional_capabilities":{"type":"TypeList","optional":true,"elem":{"schema":{"ultra_ssd_enabled":{"type":"TypeBool","required":true,"forceNew":true}}},"maxItems":1},"availability_set_id":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"boot_diagnostics":{"type":"TypeList","optional":true,"elem":{"schema":{"enabled":{"type":"TypeBool","required":true},"storage_uri":{"type":"TypeString","required":true}}},"maxItems":1},"delete_data_disks_on_termination":{"type":"TypeBool","optional":true,"default":false},"delete_os_disk_on_termination":{"type":"TypeBool","optional":true,"default":false},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"license_type":{"type":"TypeString","optional":true,"computed":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"network_interface_ids":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}},"os_profile":{"type":"TypeSet","optional":true,"elem":{"schema":{"admin_password":{"type":"TypeString","optional":true},"admin_username":{"type":"TypeString","required":true},"computer_name":{"type":"TypeString","required":true,"forceNew":true},"custom_data":{"type":"TypeString","optional":true,"computed":true,"forceNew":true}}},"maxItems":1},"os_profile_linux_config":{"type":"TypeSet","optional":true,"elem":{"schema":{"disable_password_authentication":{"type":"TypeBool","required":true},"ssh_keys":{"type":"TypeList","optional":true,"elem":{"schema":{"key_data":{"type":"TypeString","required":true},"path":{"type":"TypeString","required":true}}}}}},"maxItems":1},"os_profile_secrets":{"type":"TypeList","optional":true,"elem":{"schema":{"source_vault_id":{"type":"TypeString","required":true},"vault_certificates":{"type":"TypeList","optional":true,"elem":{"schema":{"certificate_store":{"type":"TypeString","optional":true},"certificate_url":{"type":"TypeString","required":true}}}}}}},"os_profile_windows_config":{"type":"TypeSet","optional":true,"elem":{"schema":{"additional_unattend_config":{"type":"TypeList","optional":true,"elem":{"schema":{"component":{"type":"TypeString","required":true},"content":{"type":"TypeString","required":true},"pass":{"type":"TypeString","required":true},"setting_name":{"type":"TypeString","required":true}}}},"enable_automatic_upgrades":{"type":"TypeBool","optional":true,"default":false},"provision_vm_agent":{"type":"TypeBool","optional":true,"default":false},"timezone":{"type":"TypeString","optional":true,"forceNew":true},"winrm":{"type":"TypeList","optional":true,"elem":{"schema":{"certificate_url":{"type":"TypeString","optional":true},"protocol":{"type":"TypeString","required":true}}}}}},"maxItems":1},"plan":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"product":{"type":"TypeString","required":true},"publisher":{"type":"TypeString","required":true}}},"maxItems":1},"primary_network_interface_id":{"type":"TypeString","optional":true},"proximity_placement_group_id":{"type":"TypeString","optional":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"storage_data_disk":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"caching":{"type":"TypeString","optional":true,"computed":true},"create_option":{"type":"TypeString","required":true},"disk_size_gb":{"type":"TypeInt","optional":true,"computed":true},"lun":{"type":"TypeInt","required":true},"managed_disk_id":{"type":"TypeString","optional":true,"computed":true},"managed_disk_type":{"type":"TypeString","optional":true,"computed":true},"name":{"type":"TypeString","required":true},"vhd_uri":{"type":"TypeString","optional":true},"write_accelerator_enabled":{"type":"TypeBool","optional":true,"default":false}}}},"storage_image_reference":{"type":"TypeSet","optional":true,"computed":true,"forceNew":true,"elem":{"schema":{"id":{"type":"TypeString","optional":true,"forceNew":true},"offer":{"type":"TypeString","optional":true,"forceNew":true},"publisher":{"type":"TypeString","optional":true,"forceNew":true},"sku":{"type":"TypeString","optional":true,"forceNew":true},"version":{"type":"TypeString","optional":true,"computed":true,"forceNew":true}}},"maxItems":1},"storage_os_disk":{"type":"TypeList","required":true,"elem":{"schema":{"caching":{"type":"TypeString","optional":true,"computed":true},"create_option":{"type":"TypeString","required":true},"disk_size_gb":{"type":"TypeInt","optional":true,"computed":true},"image_uri":{"type":"TypeString","optional":true},"managed_disk_id":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"managed_disk_type":{"type":"TypeString","optional":true,"computed":true},"name":{"type":"TypeString","required":true},"os_type":{"type":"TypeString","optional":true,"computed":true},"vhd_uri":{"type":"TypeString","optional":true,"forceNew":true},"write_accelerator_enabled":{"type":"TypeBool","optional":true,"default":false}}},"maxItems":1},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"vm_size":{"type":"TypeString","required":true},"zones":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"type":"TypeString"},"maxItems":1}},"timeouts":{"create":60,"read":5,"delete":60,"update":60}},"azurerm_virtual_machine_automanage_configuration_assignment":{"schema":{"configuration_id":{"type":"TypeString","required":true,"forceNew":true},"virtual_machine_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_virtual_machine_data_disk_attachment":{"schema":{"caching":{"type":"TypeString","required":true},"create_option":{"type":"TypeString","optional":true,"default":"Attach","forceNew":true},"lun":{"type":"TypeInt","required":true,"forceNew":true},"managed_disk_id":{"type":"TypeString","required":true,"forceNew":true},"virtual_machine_id":{"type":"TypeString","required":true,"forceNew":true},"write_accelerator_enabled":{"type":"TypeBool","optional":true,"default":false}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_virtual_machine_extension":{"schema":{"auto_upgrade_minor_version":{"type":"TypeBool","optional":true},"automatic_upgrade_enabled":{"type":"TypeBool","optional":true},"failure_suppression_enabled":{"type":"TypeBool","optional":true,"default":false},"name":{"type":"TypeString","required":true,"forceNew":true},"protected_settings":{"type":"TypeString","optional":true},"protected_settings_from_key_vault":{"type":"TypeList","optional":true,"elem":{"schema":{"secret_url":{"type":"TypeString","required":true},"source_vault_id":{"type":"TypeString","required":true}}},"maxItems":1},"provision_after_extensions":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"publisher":{"type":"TypeString","required":true,"forceNew":true},"settings":{"type":"TypeString","optional":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"type":{"type":"TypeString","required":true},"type_handler_version":{"type":"TypeString","required":true},"virtual_machine_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_virtual_machine_gallery_application_assignment":{"schema":{"configuration_blob_uri":{"type":"TypeString","optional":true,"forceNew":true},"gallery_application_version_id":{"type":"TypeString","required":true,"forceNew":true},"order":{"type":"TypeInt","optional":true,"default":0},"tag":{"type":"TypeString","optional":true,"forceNew":true},"virtual_machine_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_virtual_machine_implicit_data_disk_from_source":{"schema":{"caching":{"type":"TypeString","optional":true},"create_option":{"type":"TypeString","required":true,"forceNew":true},"disk_size_gb":{"type":"TypeInt","required":true,"forceNew":true},"lun":{"type":"TypeInt","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"source_resource_id":{"type":"TypeString","required":true,"forceNew":true},"virtual_machine_id":{"type":"TypeString","required":true,"forceNew":true},"write_accelerator_enabled":{"type":"TypeBool","optional":true,"default":false}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_virtual_machine_packet_capture":{"schema":{"filter":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"local_ip_address":{"type":"TypeString","optional":true,"forceNew":true},"local_port":{"type":"TypeString","optional":true,"forceNew":true},"protocol":{"type":"TypeString","required":true,"forceNew":true},"remote_ip_address":{"type":"TypeString","optional":true,"forceNew":true},"remote_port":{"type":"TypeString","optional":true,"forceNew":true}}}},"maximum_bytes_per_packet":{"type":"TypeInt","optional":true,"default":0,"forceNew":true},"maximum_bytes_per_session":{"type":"TypeInt","optional":true,"default":1073741824,"forceNew":true},"maximum_capture_duration_in_seconds":{"type":"TypeInt","optional":true,"default":18000,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"network_watcher_id":{"type":"TypeString","required":true,"forceNew":true},"storage_location":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"file_path":{"type":"TypeString","optional":true},"storage_account_id":{"type":"TypeString","optional":true},"storage_path":{"type":"TypeString","computed":true}}},"maxItems":1},"virtual_machine_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_virtual_machine_restore_point":{"schema":{"crash_consistency_mode_enabled":{"type":"TypeBool","optional":true,"default":false,"forceNew":true},"excluded_disks":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true,"forceNew":true},"virtual_machine_restore_point_collection_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_virtual_machine_restore_point_collection":{"schema":{"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"source_virtual_machine_id":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_virtual_machine_run_command":{"schema":{"error_blob_managed_identity":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","optional":true},"object_id":{"type":"TypeString","optional":true}}},"maxItems":1},"error_blob_uri":{"type":"TypeString","optional":true},"instance_view":{"type":"TypeList","computed":true,"elem":{"schema":{"end_time":{"type":"TypeString","computed":true},"error_message":{"type":"TypeString","computed":true},"execution_message":{"type":"TypeString","computed":true},"execution_state":{"type":"TypeString","computed":true},"exit_code":{"type":"TypeInt","computed":true},"output":{"type":"TypeString","computed":true},"start_time":{"type":"TypeString","computed":true}}}},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"output_blob_managed_identity":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","optional":true},"object_id":{"type":"TypeString","optional":true}}},"maxItems":1},"output_blob_uri":{"type":"TypeString","optional":true},"parameter":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"value":{"type":"TypeString","required":true}}}},"protected_parameter":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"value":{"type":"TypeString","required":true}}}},"run_as_password":{"type":"TypeString","optional":true},"run_as_user":{"type":"TypeString","optional":true},"source":{"type":"TypeList","required":true,"elem":{"schema":{"command_id":{"type":"TypeString","optional":true},"script":{"type":"TypeString","optional":true},"script_uri":{"type":"TypeString","optional":true},"script_uri_managed_identity":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","optional":true},"object_id":{"type":"TypeString","optional":true}}},"maxItems":1}}},"maxItems":1},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"virtual_machine_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_virtual_machine_scale_set":{"schema":{"automatic_os_upgrade":{"type":"TypeBool","optional":true,"default":false},"boot_diagnostics":{"type":"TypeList","optional":true,"elem":{"schema":{"enabled":{"type":"TypeBool","optional":true,"default":true},"storage_uri":{"type":"TypeString","required":true}}},"maxItems":1},"eviction_policy":{"type":"TypeString","optional":true,"forceNew":true},"extension":{"type":"TypeSet","optional":true,"elem":{"schema":{"auto_upgrade_minor_version":{"type":"TypeBool","optional":true},"name":{"type":"TypeString","required":true},"protected_settings":{"type":"TypeString","optional":true},"provision_after_extensions":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"publisher":{"type":"TypeString","required":true},"settings":{"type":"TypeString","optional":true},"type":{"type":"TypeString","required":true},"type_handler_version":{"type":"TypeString","required":true}}}},"health_probe_id":{"type":"TypeString","optional":true},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"license_type":{"type":"TypeString","optional":true,"computed":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"network_profile":{"type":"TypeSet","required":true,"elem":{"schema":{"accelerated_networking":{"type":"TypeBool","optional":true},"dns_settings":{"type":"TypeList","optional":true,"elem":{"schema":{"dns_servers":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"ip_configuration":{"type":"TypeList","required":true,"elem":{"schema":{"application_gateway_backend_address_pool_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"application_security_group_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":20},"load_balancer_backend_address_pool_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"load_balancer_inbound_nat_rules_ids":{"type":"TypeSet","optional":true,"computed":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true},"primary":{"type":"TypeBool","required":true},"public_ip_address_configuration":{"type":"TypeList","optional":true,"elem":{"schema":{"domain_name_label":{"type":"TypeString","required":true},"idle_timeout":{"type":"TypeInt","required":true},"name":{"type":"TypeString","required":true}}},"maxItems":1},"subnet_id":{"type":"TypeString","required":true}}}},"ip_forwarding":{"type":"TypeBool","optional":true,"default":false},"name":{"type":"TypeString","required":true},"network_security_group_id":{"type":"TypeString","optional":true},"primary":{"type":"TypeBool","required":true}}}},"os_profile":{"type":"TypeList","required":true,"elem":{"schema":{"admin_password":{"type":"TypeString","optional":true},"admin_username":{"type":"TypeString","required":true},"computer_name_prefix":{"type":"TypeString","required":true,"forceNew":true},"custom_data":{"type":"TypeString","optional":true}}},"maxItems":1},"os_profile_linux_config":{"type":"TypeSet","optional":true,"computed":true,"elem":{"schema":{"disable_password_authentication":{"type":"TypeBool","optional":true,"default":false,"forceNew":true},"ssh_keys":{"type":"TypeList","optional":true,"elem":{"schema":{"key_data":{"type":"TypeString","optional":true},"path":{"type":"TypeString","required":true}}}}}},"maxItems":1},"os_profile_secrets":{"type":"TypeSet","optional":true,"elem":{"schema":{"source_vault_id":{"type":"TypeString","required":true},"vault_certificates":{"type":"TypeList","optional":true,"elem":{"schema":{"certificate_store":{"type":"TypeString","optional":true},"certificate_url":{"type":"TypeString","required":true}}}}}}},"os_profile_windows_config":{"type":"TypeSet","optional":true,"elem":{"schema":{"additional_unattend_config":{"type":"TypeList","optional":true,"elem":{"schema":{"component":{"type":"TypeString","required":true},"content":{"type":"TypeString","required":true},"pass":{"type":"TypeString","required":true},"setting_name":{"type":"TypeString","required":true}}}},"enable_automatic_upgrades":{"type":"TypeBool","optional":true},"provision_vm_agent":{"type":"TypeBool","optional":true},"winrm":{"type":"TypeList","optional":true,"elem":{"schema":{"certificate_url":{"type":"TypeString","optional":true},"protocol":{"type":"TypeString","required":true}}}}}},"maxItems":1},"overprovision":{"type":"TypeBool","optional":true,"default":true},"plan":{"type":"TypeSet","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"product":{"type":"TypeString","required":true},"publisher":{"type":"TypeString","required":true}}},"maxItems":1},"priority":{"type":"TypeString","optional":true,"forceNew":true},"proximity_placement_group_id":{"type":"TypeString","optional":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"rolling_upgrade_policy":{"type":"TypeList","optional":true,"elem":{"schema":{"max_batch_instance_percent":{"type":"TypeInt","optional":true,"default":20},"max_unhealthy_instance_percent":{"type":"TypeInt","optional":true,"default":20},"max_unhealthy_upgraded_instance_percent":{"type":"TypeInt","optional":true,"default":20},"pause_time_between_batches":{"type":"TypeString","optional":true,"default":"PT0S"}}},"maxItems":1},"single_placement_group":{"type":"TypeBool","optional":true,"default":true,"forceNew":true},"sku":{"type":"TypeList","required":true,"elem":{"schema":{"capacity":{"type":"TypeInt","required":true},"name":{"type":"TypeString","required":true},"tier":{"type":"TypeString","optional":true,"computed":true}}},"maxItems":1},"storage_profile_data_disk":{"type":"TypeList","optional":true,"elem":{"schema":{"caching":{"type":"TypeString","optional":true,"computed":true},"create_option":{"type":"TypeString","required":true},"disk_size_gb":{"type":"TypeInt","optional":true,"computed":true},"lun":{"type":"TypeInt","required":true},"managed_disk_type":{"type":"TypeString","optional":true,"computed":true}}}},"storage_profile_image_reference":{"type":"TypeSet","optional":true,"computed":true,"elem":{"schema":{"id":{"type":"TypeString","optional":true},"offer":{"type":"TypeString","optional":true},"publisher":{"type":"TypeString","optional":true},"sku":{"type":"TypeString","optional":true},"version":{"type":"TypeString","optional":true}}},"maxItems":1},"storage_profile_os_disk":{"type":"TypeSet","required":true,"elem":{"schema":{"caching":{"type":"TypeString","optional":true,"computed":true},"create_option":{"type":"TypeString","required":true},"image":{"type":"TypeString","optional":true},"managed_disk_type":{"type":"TypeString","optional":true,"computed":true},"name":{"type":"TypeString","optional":true},"os_type":{"type":"TypeString","optional":true},"vhd_containers":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"upgrade_policy_mode":{"type":"TypeString","required":true},"zones":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":60,"read":5,"delete":60,"update":60}},"azurerm_virtual_machine_scale_set_extension":{"schema":{"auto_upgrade_minor_version":{"type":"TypeBool","optional":true,"default":true},"automatic_upgrade_enabled":{"type":"TypeBool","optional":true},"failure_suppression_enabled":{"type":"TypeBool","optional":true,"default":false},"force_update_tag":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"protected_settings":{"type":"TypeString","optional":true},"protected_settings_from_key_vault":{"type":"TypeList","optional":true,"elem":{"schema":{"secret_url":{"type":"TypeString","required":true},"source_vault_id":{"type":"TypeString","required":true}}},"maxItems":1},"provision_after_extensions":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"publisher":{"type":"TypeString","required":true,"forceNew":true},"settings":{"type":"TypeString","optional":true},"type":{"type":"TypeString","required":true,"forceNew":true},"type_handler_version":{"type":"TypeString","required":true},"virtual_machine_scale_set_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_virtual_machine_scale_set_packet_capture":{"schema":{"filter":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"local_ip_address":{"type":"TypeString","optional":true,"forceNew":true},"local_port":{"type":"TypeString","optional":true,"forceNew":true},"protocol":{"type":"TypeString","required":true,"forceNew":true},"remote_ip_address":{"type":"TypeString","optional":true,"forceNew":true},"remote_port":{"type":"TypeString","optional":true,"forceNew":true}}}},"machine_scope":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"exclude_instance_ids":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"include_instance_ids":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"maximum_bytes_per_packet":{"type":"TypeInt","optional":true,"default":0,"forceNew":true},"maximum_bytes_per_session":{"type":"TypeInt","optional":true,"default":1073741824,"forceNew":true},"maximum_capture_duration_in_seconds":{"type":"TypeInt","optional":true,"default":18000,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"network_watcher_id":{"type":"TypeString","required":true,"forceNew":true},"storage_location":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"file_path":{"type":"TypeString","optional":true},"storage_account_id":{"type":"TypeString","optional":true},"storage_path":{"type":"TypeString","computed":true}}},"maxItems":1},"virtual_machine_scale_set_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_virtual_network":{"schema":{"address_space":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"},"minItems":1},"bgp_community":{"type":"TypeString","optional":true},"ddos_protection_plan":{"type":"TypeList","optional":true,"elem":{"schema":{"enable":{"type":"TypeBool","required":true},"id":{"type":"TypeString","required":true}}},"maxItems":1},"dns_servers":{"type":"TypeList","optional":true,"computed":true,"elem":{"type":"TypeString"}},"edge_zone":{"type":"TypeString","optional":true,"forceNew":true},"encryption":{"type":"TypeList","optional":true,"elem":{"schema":{"enforcement":{"type":"TypeString","required":true}}},"maxItems":1},"flow_timeout_in_minutes":{"type":"TypeInt","optional":true},"guid":{"type":"TypeString","computed":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"subnet":{"type":"TypeSet","configMode":"Auto","optional":true,"computed":true,"elem":{"schema":{"address_prefixes":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"minItems":1},"default_outbound_access_enabled":{"type":"TypeBool","optional":true,"default":true},"delegation":{"type":"TypeList","configMode":"Auto","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"service_delegation":{"type":"TypeList","configMode":"Auto","required":true,"elem":{"schema":{"actions":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true}}},"maxItems":1}}},"maxItems":1},"id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"private_endpoint_network_policies":{"type":"TypeString","optional":true,"default":"Disabled"},"private_link_service_network_policies_enabled":{"type":"TypeBool","optional":true,"default":true},"route_table_id":{"type":"TypeString","optional":true},"security_group":{"type":"TypeString","optional":true},"service_endpoint_policy_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"service_endpoints":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}}}}},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_virtual_network_dns_servers":{"schema":{"dns_servers":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"virtual_network_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_virtual_network_gateway":{"schema":{"active_active":{"type":"TypeBool","optional":true,"computed":true},"bgp_route_translation_for_nat_enabled":{"type":"TypeBool","optional":true,"default":false},"bgp_settings":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"asn":{"type":"TypeInt","optional":true},"peer_weight":{"type":"TypeInt","optional":true},"peering_addresses":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"apipa_addresses":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"minItems":1},"default_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"ip_configuration_name":{"type":"TypeString","optional":true,"computed":true},"tunnel_ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}},"maxItems":2,"minItems":1}}},"maxItems":1},"custom_route":{"type":"TypeList","optional":true,"elem":{"schema":{"address_prefixes":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"default_local_network_gateway_id":{"type":"TypeString","optional":true},"dns_forwarding_enabled":{"type":"TypeBool","optional":true},"edge_zone":{"type":"TypeString","optional":true,"forceNew":true},"enable_bgp":{"type":"TypeBool","optional":true,"computed":true},"generation":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"ip_configuration":{"type":"TypeList","required":true,"elem":{"schema":{"name":{"type":"TypeString","optional":true,"default":"vnetGatewayConfig"},"private_ip_address_allocation":{"type":"TypeString","optional":true,"default":"Dynamic"},"public_ip_address_id":{"type":"TypeString","required":true},"subnet_id":{"type":"TypeString","required":true}}},"maxItems":3},"ip_sec_replay_protection_enabled":{"type":"TypeBool","optional":true,"default":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"policy_group":{"type":"TypeList","optional":true,"elem":{"schema":{"is_default":{"type":"TypeBool","optional":true,"default":false},"name":{"type":"TypeString","required":true},"policy_member":{"type":"TypeList","required":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"type":{"type":"TypeString","required":true},"value":{"type":"TypeString","required":true}}}},"priority":{"type":"TypeInt","optional":true,"default":0}}}},"private_ip_address_enabled":{"type":"TypeBool","optional":true,"forceNew":true},"remote_vnet_traffic_enabled":{"type":"TypeBool","optional":true,"default":false},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"sku":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"type":{"type":"TypeString","required":true,"forceNew":true},"virtual_wan_traffic_enabled":{"type":"TypeBool","optional":true,"default":false},"vpn_client_configuration":{"type":"TypeList","optional":true,"elem":{"schema":{"aad_audience":{"type":"TypeString","optional":true},"aad_issuer":{"type":"TypeString","optional":true},"aad_tenant":{"type":"TypeString","optional":true},"address_space":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}},"ipsec_policy":{"type":"TypeList","optional":true,"elem":{"schema":{"dh_group":{"type":"TypeString","required":true},"ike_encryption":{"type":"TypeString","required":true},"ike_integrity":{"type":"TypeString","required":true},"ipsec_encryption":{"type":"TypeString","required":true},"ipsec_integrity":{"type":"TypeString","required":true},"pfs_group":{"type":"TypeString","required":true},"sa_data_size_in_kilobytes":{"type":"TypeInt","required":true},"sa_lifetime_in_seconds":{"type":"TypeInt","required":true}}},"maxItems":1},"radius_server":{"type":"TypeList","optional":true,"elem":{"schema":{"address":{"type":"TypeString","required":true},"score":{"type":"TypeInt","required":true},"secret":{"type":"TypeString","required":true}}}},"radius_server_address":{"type":"TypeString","optional":true},"radius_server_secret":{"type":"TypeString","optional":true},"revoked_certificate":{"type":"TypeSet","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"thumbprint":{"type":"TypeString","required":true}}}},"root_certificate":{"type":"TypeSet","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"public_cert_data":{"type":"TypeString","required":true}}}},"virtual_network_gateway_client_connection":{"type":"TypeList","optional":true,"elem":{"schema":{"address_prefixes":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true},"policy_group_names":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}}}}},"vpn_auth_types":{"type":"TypeSet","optional":true,"computed":true,"elem":{"type":"TypeString"},"maxItems":3},"vpn_client_protocols":{"type":"TypeSet","optional":true,"computed":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"vpn_type":{"type":"TypeString","optional":true,"default":"RouteBased","forceNew":true}},"timeouts":{"create":90,"read":5,"delete":60,"update":60}},"azurerm_virtual_network_gateway_connection":{"schema":{"authorization_key":{"type":"TypeString","optional":true},"connection_mode":{"type":"TypeString","optional":true,"default":"Default","forceNew":true},"connection_protocol":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"custom_bgp_addresses":{"type":"TypeList","optional":true,"elem":{"schema":{"primary":{"type":"TypeString","required":true},"secondary":{"type":"TypeString","optional":true}}},"maxItems":1},"dpd_timeout_seconds":{"type":"TypeInt","optional":true,"forceNew":true},"egress_nat_rule_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"enable_bgp":{"type":"TypeBool","optional":true,"computed":true},"express_route_circuit_id":{"type":"TypeString","optional":true,"forceNew":true},"express_route_gateway_bypass":{"type":"TypeBool","optional":true,"computed":true},"ingress_nat_rule_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"ipsec_policy":{"type":"TypeList","optional":true,"elem":{"schema":{"dh_group":{"type":"TypeString","required":true},"ike_encryption":{"type":"TypeString","required":true},"ike_integrity":{"type":"TypeString","required":true},"ipsec_encryption":{"type":"TypeString","required":true},"ipsec_integrity":{"type":"TypeString","required":true},"pfs_group":{"type":"TypeString","required":true},"sa_datasize":{"type":"TypeInt","optional":true,"computed":true},"sa_lifetime":{"type":"TypeInt","optional":true,"computed":true}}},"maxItems":1},"local_azure_ip_address_enabled":{"type":"TypeBool","optional":true,"forceNew":true},"local_network_gateway_id":{"type":"TypeString","optional":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"peer_virtual_network_gateway_id":{"type":"TypeString","optional":true,"forceNew":true},"private_link_fast_path_enabled":{"type":"TypeBool","optional":true,"default":false},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"routing_weight":{"type":"TypeInt","optional":true,"computed":true},"shared_key":{"type":"TypeString","optional":true,"computed":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"traffic_selector_policy":{"type":"TypeList","optional":true,"elem":{"schema":{"local_address_cidrs":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}},"remote_address_cidrs":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}}}}},"type":{"type":"TypeString","required":true,"forceNew":true},"use_policy_based_traffic_selectors":{"type":"TypeBool","optional":true,"computed":true},"virtual_network_gateway_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_virtual_network_gateway_nat_rule":{"schema":{"external_mapping":{"type":"TypeList","required":true,"elem":{"schema":{"address_space":{"type":"TypeString","required":true},"port_range":{"type":"TypeString","optional":true}}}},"internal_mapping":{"type":"TypeList","required":true,"elem":{"schema":{"address_space":{"type":"TypeString","required":true},"port_range":{"type":"TypeString","optional":true}}}},"ip_configuration_id":{"type":"TypeString","optional":true},"mode":{"type":"TypeString","optional":true,"default":"EgressSnat","forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"type":{"type":"TypeString","optional":true,"default":"Static","forceNew":true},"virtual_network_gateway_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_virtual_network_peering":{"schema":{"allow_forwarded_traffic":{"type":"TypeBool","optional":true,"default":false},"allow_gateway_transit":{"type":"TypeBool","optional":true,"default":false},"allow_virtual_network_access":{"type":"TypeBool","optional":true,"default":true},"local_subnet_names":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true,"forceNew":true},"only_ipv6_peering_enabled":{"type":"TypeBool","optional":true,"forceNew":true},"peer_complete_virtual_networks_enabled":{"type":"TypeBool","optional":true,"default":true,"forceNew":true},"remote_subnet_names":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"remote_virtual_network_id":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"triggers":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"use_remote_gateways":{"type":"TypeBool","optional":true,"default":false},"virtual_network_name":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_virtual_wan":{"schema":{"allow_branch_to_branch_traffic":{"type":"TypeBool","optional":true,"default":true},"disable_vpn_encryption":{"type":"TypeBool","optional":true,"default":false},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"office365_local_breakout_category":{"type":"TypeString","optional":true,"default":"None"},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"type":{"type":"TypeString","optional":true,"default":"Standard"}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_vmware_cluster":{"schema":{"cluster_node_count":{"type":"TypeInt","required":true},"cluster_number":{"type":"TypeInt","computed":true},"hosts":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true,"forceNew":true},"sku_name":{"type":"TypeString","required":true,"forceNew":true},"vmware_cloud_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":300,"read":5,"delete":300,"update":300}},"azurerm_vmware_express_route_authorization":{"schema":{"express_route_authorization_id":{"type":"TypeString","computed":true},"express_route_authorization_key":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true,"forceNew":true},"private_cloud_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_vmware_netapp_volume_attachment":{"schema":{"name":{"type":"TypeString","required":true,"forceNew":true},"netapp_volume_id":{"type":"TypeString","required":true,"forceNew":true},"vmware_cluster_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_vmware_private_cloud":{"schema":{"circuit":{"type":"TypeList","computed":true,"elem":{"schema":{"express_route_id":{"type":"TypeString","computed":true},"express_route_private_peering_id":{"type":"TypeString","computed":true},"primary_subnet_cidr":{"type":"TypeString","computed":true},"secondary_subnet_cidr":{"type":"TypeString","computed":true}}}},"hcx_cloud_manager_endpoint":{"type":"TypeString","computed":true},"internet_connection_enabled":{"type":"TypeBool","optional":true,"default":false},"location":{"type":"TypeString","required":true,"forceNew":true},"management_cluster":{"type":"TypeList","required":true,"elem":{"schema":{"hosts":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"id":{"type":"TypeInt","computed":true},"size":{"type":"TypeInt","required":true}}},"maxItems":1},"management_subnet_cidr":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true,"forceNew":true},"network_subnet_cidr":{"type":"TypeString","required":true,"forceNew":true},"nsxt_certificate_thumbprint":{"type":"TypeString","computed":true},"nsxt_manager_endpoint":{"type":"TypeString","computed":true},"nsxt_password":{"type":"TypeString","optional":true,"forceNew":true},"provisioning_subnet_cidr":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"sku_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"vcenter_certificate_thumbprint":{"type":"TypeString","computed":true},"vcenter_password":{"type":"TypeString","optional":true,"forceNew":true},"vcsa_endpoint":{"type":"TypeString","computed":true},"vmotion_subnet_cidr":{"type":"TypeString","computed":true}},"timeouts":{"create":600,"read":5,"delete":600,"update":600}},"azurerm_voice_services_communications_gateway":{"schema":{"api_bridge":{"type":"TypeString","optional":true},"auto_generated_domain_name_label_scope":{"type":"TypeString","optional":true,"default":"TenantReuse","forceNew":true},"codecs":{"type":"TypeString","required":true},"connectivity":{"type":"TypeString","required":true,"forceNew":true},"e911_type":{"type":"TypeString","required":true},"emergency_dial_strings":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"location":{"type":"TypeString","required":true,"forceNew":true},"microsoft_teams_voicemail_pilot_number":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true,"forceNew":true},"on_prem_mcp_enabled":{"type":"TypeBool","optional":true},"platforms":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"service_location":{"type":"TypeSet","required":true,"elem":{"schema":{"allowed_media_source_address_prefixes":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"allowed_signaling_source_address_prefixes":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"esrp_addresses":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"location":{"type":"TypeString","required":true},"operator_addresses":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}}}}},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_voice_services_communications_gateway_test_line":{"schema":{"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"phone_number":{"type":"TypeString","required":true},"purpose":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"voice_services_communications_gateway_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_vpn_gateway":{"schema":{"bgp_route_translation_for_nat_enabled":{"type":"TypeBool","optional":true,"default":false},"bgp_settings":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"asn":{"type":"TypeInt","required":true,"forceNew":true},"bgp_peering_address":{"type":"TypeString","computed":true},"instance_0_bgp_peering_address":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"custom_ips":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}},"default_ips":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"ip_configuration_id":{"type":"TypeString","computed":true},"tunnel_ips":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"instance_1_bgp_peering_address":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"custom_ips":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}},"default_ips":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"ip_configuration_id":{"type":"TypeString","computed":true},"tunnel_ips":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"peer_weight":{"type":"TypeInt","required":true,"forceNew":true}}},"maxItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"routing_preference":{"type":"TypeString","optional":true,"default":"Microsoft Network","forceNew":true},"scale_unit":{"type":"TypeInt","optional":true,"default":1},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"virtual_hub_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":90,"read":5,"delete":90,"update":90}},"azurerm_vpn_gateway_connection":{"schema":{"internet_security_enabled":{"type":"TypeBool","optional":true,"default":false},"name":{"type":"TypeString","required":true,"forceNew":true},"remote_vpn_site_id":{"type":"TypeString","required":true,"forceNew":true},"routing":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"associated_route_table":{"type":"TypeString","required":true},"inbound_route_map_id":{"type":"TypeString","optional":true},"outbound_route_map_id":{"type":"TypeString","optional":true},"propagated_route_table":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"labels":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"route_table_ids":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}}}},"maxItems":1}}},"maxItems":1},"traffic_selector_policy":{"type":"TypeSet","optional":true,"elem":{"schema":{"local_address_ranges":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}},"remote_address_ranges":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}}}}},"vpn_gateway_id":{"type":"TypeString","required":true,"forceNew":true},"vpn_link":{"type":"TypeList","required":true,"elem":{"schema":{"bandwidth_mbps":{"type":"TypeInt","optional":true,"default":10},"bgp_enabled":{"type":"TypeBool","optional":true,"default":false,"forceNew":true},"connection_mode":{"type":"TypeString","optional":true,"default":"Default"},"custom_bgp_address":{"type":"TypeSet","optional":true,"elem":{"schema":{"ip_address":{"type":"TypeString","required":true},"ip_configuration_id":{"type":"TypeString","required":true}}}},"egress_nat_rule_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"ingress_nat_rule_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"ipsec_policy":{"type":"TypeList","optional":true,"elem":{"schema":{"dh_group":{"type":"TypeString","required":true},"encryption_algorithm":{"type":"TypeString","required":true},"ike_encryption_algorithm":{"type":"TypeString","required":true},"ike_integrity_algorithm":{"type":"TypeString","required":true},"integrity_algorithm":{"type":"TypeString","required":true},"pfs_group":{"type":"TypeString","required":true},"sa_data_size_kb":{"type":"TypeInt","required":true},"sa_lifetime_sec":{"type":"TypeInt","required":true}}},"minItems":1},"local_azure_ip_address_enabled":{"type":"TypeBool","optional":true,"default":false},"name":{"type":"TypeString","required":true},"policy_based_traffic_selector_enabled":{"type":"TypeBool","optional":true,"default":false},"protocol":{"type":"TypeString","optional":true,"default":"IKEv2"},"ratelimit_enabled":{"type":"TypeBool","optional":true,"default":false},"route_weight":{"type":"TypeInt","optional":true,"default":0},"shared_key":{"type":"TypeString","optional":true},"vpn_site_link_id":{"type":"TypeString","required":true,"forceNew":true}}},"minItems":1}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_vpn_gateway_nat_rule":{"schema":{"external_mapping":{"type":"TypeList","optional":true,"elem":{"schema":{"address_space":{"type":"TypeString","required":true},"port_range":{"type":"TypeString","optional":true}}}},"internal_mapping":{"type":"TypeList","optional":true,"elem":{"schema":{"address_space":{"type":"TypeString","required":true},"port_range":{"type":"TypeString","optional":true}}}},"ip_configuration_id":{"type":"TypeString","optional":true},"mode":{"type":"TypeString","optional":true,"default":"EgressSnat","forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"type":{"type":"TypeString","optional":true,"default":"Static","forceNew":true},"vpn_gateway_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_vpn_server_configuration":{"schema":{"azure_active_directory_authentication":{"type":"TypeList","optional":true,"elem":{"schema":{"audience":{"type":"TypeString","required":true},"issuer":{"type":"TypeString","required":true},"tenant":{"type":"TypeString","required":true}}},"minItems":1},"client_revoked_certificate":{"type":"TypeSet","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"thumbprint":{"type":"TypeString","required":true}}}},"client_root_certificate":{"type":"TypeSet","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"public_cert_data":{"type":"TypeString","required":true}}}},"ipsec_policy":{"type":"TypeList","optional":true,"elem":{"schema":{"dh_group":{"type":"TypeString","required":true},"ike_encryption":{"type":"TypeString","required":true},"ike_integrity":{"type":"TypeString","required":true},"ipsec_encryption":{"type":"TypeString","required":true},"ipsec_integrity":{"type":"TypeString","required":true},"pfs_group":{"type":"TypeString","required":true},"sa_data_size_kilobytes":{"type":"TypeInt","required":true},"sa_lifetime_seconds":{"type":"TypeInt","required":true}}},"maxItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"radius":{"type":"TypeList","optional":true,"elem":{"schema":{"client_root_certificate":{"type":"TypeSet","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"thumbprint":{"type":"TypeString","required":true}}}},"server":{"type":"TypeList","optional":true,"elem":{"schema":{"address":{"type":"TypeString","required":true},"score":{"type":"TypeInt","required":true},"secret":{"type":"TypeString","required":true}}}},"server_root_certificate":{"type":"TypeSet","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"public_cert_data":{"type":"TypeString","required":true}}}}}},"maxItems":1},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"vpn_authentication_types":{"type":"TypeList","required":true,"elem":{"type":"TypeString"}},"vpn_protocols":{"type":"TypeSet","optional":true,"computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":90,"read":5,"delete":90,"update":90}},"azurerm_vpn_server_configuration_policy_group":{"schema":{"is_default":{"type":"TypeBool","optional":true,"default":false,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"policy":{"type":"TypeSet","required":true,"elem":{"schema":{"name":{"type":"TypeString","required":true},"type":{"type":"TypeString","required":true},"value":{"type":"TypeString","required":true}}}},"priority":{"type":"TypeInt","optional":true,"default":0},"vpn_server_configuration_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_vpn_site":{"schema":{"address_cidrs":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"device_model":{"type":"TypeString","optional":true},"device_vendor":{"type":"TypeString","optional":true},"link":{"type":"TypeList","optional":true,"elem":{"schema":{"bgp":{"type":"TypeList","optional":true,"elem":{"schema":{"asn":{"type":"TypeInt","required":true},"peering_address":{"type":"TypeString","required":true}}},"maxItems":1},"fqdn":{"type":"TypeString","optional":true},"id":{"type":"TypeString","computed":true},"ip_address":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true},"provider_name":{"type":"TypeString","optional":true},"speed_in_mbps":{"type":"TypeInt","optional":true,"default":0}}},"minItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"o365_policy":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"traffic_category":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"allow_endpoint_enabled":{"type":"TypeBool","optional":true,"default":false},"default_endpoint_enabled":{"type":"TypeBool","optional":true,"default":false},"optimize_endpoint_enabled":{"type":"TypeBool","optional":true,"default":false}}},"maxItems":1}}},"maxItems":1},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"virtual_wan_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_web_app_active_slot":{"schema":{"last_successful_swap":{"type":"TypeString","description":"The timestamp of the last successful swap with `Production`","computed":true},"overwrite_network_config":{"type":"TypeBool","optional":true,"default":true,"description":"The swap action should overwrite the Production slot's network configuration with the configuration from this slot. Defaults to `true`.","forceNew":true},"slot_id":{"type":"TypeString","required":true,"description":"The ID of the Slot to swap with `Production`."}},"timeouts":{"create":30,"read":5,"delete":5,"update":30}},"azurerm_web_app_hybrid_connection":{"schema":{"hostname":{"type":"TypeString","required":true,"description":"The hostname of the endpoint."},"namespace_name":{"type":"TypeString","description":"The name of the Relay Namespace.","computed":true},"port":{"type":"TypeInt","required":true,"description":"The port to use for the endpoint"},"relay_id":{"type":"TypeString","required":true,"description":"The ID of the Relay Hybrid Connection to use.","forceNew":true},"relay_name":{"type":"TypeString","description":"The name of the Relay in use.","computed":true},"send_key_name":{"type":"TypeString","optional":true,"default":"RootManageSharedAccessKey","description":"The name of the Relay key with `Send` permission to use. Defaults to `RootManageSharedAccessKey`"},"send_key_value":{"type":"TypeString","description":"The Primary Access Key for the `send_key_name`","computed":true},"service_bus_namespace":{"type":"TypeString","description":"The Service Bus Namespace.","computed":true},"service_bus_suffix":{"type":"TypeString","description":"The suffix for the endpoint.","computed":true},"web_app_id":{"type":"TypeString","required":true,"description":"The ID of the Web App for this Hybrid Connection.","forceNew":true}},"timeouts":{"create":30,"read":5,"delete":5,"update":30}},"azurerm_web_application_firewall_policy":{"schema":{"custom_rules":{"type":"TypeList","optional":true,"elem":{"schema":{"action":{"type":"TypeString","required":true},"enabled":{"type":"TypeBool","optional":true,"default":true},"group_rate_limit_by":{"type":"TypeString","optional":true},"match_conditions":{"type":"TypeList","required":true,"elem":{"schema":{"match_values":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"match_variables":{"type":"TypeList","required":true,"elem":{"schema":{"selector":{"type":"TypeString","optional":true},"variable_name":{"type":"TypeString","required":true}}}},"negation_condition":{"type":"TypeBool","optional":true},"operator":{"type":"TypeString","required":true},"transforms":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}}}}},"name":{"type":"TypeString","optional":true},"priority":{"type":"TypeInt","required":true},"rate_limit_duration":{"type":"TypeString","optional":true},"rate_limit_threshold":{"type":"TypeInt","optional":true},"rule_type":{"type":"TypeString","required":true}}}},"http_listener_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"location":{"type":"TypeString","required":true,"forceNew":true},"managed_rules":{"type":"TypeList","required":true,"elem":{"schema":{"exclusion":{"type":"TypeList","optional":true,"elem":{"schema":{"excluded_rule_set":{"type":"TypeList","optional":true,"elem":{"schema":{"rule_group":{"type":"TypeList","optional":true,"elem":{"schema":{"excluded_rules":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"rule_group_name":{"type":"TypeString","required":true}}}},"type":{"type":"TypeString","optional":true,"default":"OWASP"},"version":{"type":"TypeString","optional":true,"default":"3.2"}}},"maxItems":1},"match_variable":{"type":"TypeString","required":true},"selector":{"type":"TypeString","required":true},"selector_match_operator":{"type":"TypeString","required":true}}}},"managed_rule_set":{"type":"TypeList","required":true,"elem":{"schema":{"rule_group_override":{"type":"TypeList","optional":true,"elem":{"schema":{"rule":{"type":"TypeList","optional":true,"elem":{"schema":{"action":{"type":"TypeString","optional":true},"enabled":{"type":"TypeBool","optional":true,"default":false},"id":{"type":"TypeString","required":true}}}},"rule_group_name":{"type":"TypeString","required":true}}}},"type":{"type":"TypeString","optional":true,"default":"OWASP"},"version":{"type":"TypeString","required":true}}}}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"path_based_rule_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"policy_settings":{"type":"TypeList","optional":true,"elem":{"schema":{"enabled":{"type":"TypeBool","optional":true,"default":true},"file_upload_enforcement":{"type":"TypeBool","optional":true,"computed":true},"file_upload_limit_in_mb":{"type":"TypeInt","optional":true,"default":100},"js_challenge_cookie_expiration_in_minutes":{"type":"TypeInt","optional":true,"default":30},"log_scrubbing":{"type":"TypeList","optional":true,"elem":{"schema":{"enabled":{"type":"TypeBool","optional":true,"default":true},"rule":{"type":"TypeList","optional":true,"elem":{"schema":{"enabled":{"type":"TypeBool","optional":true,"default":true},"match_variable":{"type":"TypeString","required":true},"selector":{"type":"TypeString","optional":true,"description":"When matchVariable is a collection, operator used to specify which elements in the collection this rule applies to."},"selector_match_operator":{"type":"TypeString","optional":true,"default":"Equals"}}}}}},"maxItems":1},"max_request_body_size_in_kb":{"type":"TypeInt","optional":true,"default":128},"mode":{"type":"TypeString","optional":true,"default":"Prevention"},"request_body_check":{"type":"TypeBool","optional":true,"default":true},"request_body_enforcement":{"type":"TypeBool","optional":true,"default":true},"request_body_inspect_limit_in_kb":{"type":"TypeInt","optional":true,"default":128}}},"maxItems":1},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_web_pubsub":{"schema":{"aad_auth_enabled":{"type":"TypeBool","optional":true,"default":true},"capacity":{"type":"TypeInt","optional":true,"default":1},"external_ip":{"type":"TypeString","computed":true},"hostname":{"type":"TypeString","computed":true},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"live_trace":{"type":"TypeList","optional":true,"elem":{"schema":{"connectivity_logs_enabled":{"type":"TypeBool","optional":true,"default":true},"enabled":{"type":"TypeBool","optional":true,"default":true},"http_request_logs_enabled":{"type":"TypeBool","optional":true,"default":true},"messaging_logs_enabled":{"type":"TypeBool","optional":true,"default":true}}},"maxItems":1},"local_auth_enabled":{"type":"TypeBool","optional":true,"default":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"primary_access_key":{"type":"TypeString","computed":true},"primary_connection_string":{"type":"TypeString","computed":true},"public_network_access_enabled":{"type":"TypeBool","optional":true,"default":true},"public_port":{"type":"TypeInt","computed":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"secondary_access_key":{"type":"TypeString","computed":true},"secondary_connection_string":{"type":"TypeString","computed":true},"server_port":{"type":"TypeInt","computed":true},"sku":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"tls_client_cert_enabled":{"type":"TypeBool","optional":true,"default":false},"version":{"type":"TypeString","computed":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_web_pubsub_custom_certificate":{"schema":{"certificate_version":{"type":"TypeString","computed":true},"custom_certificate_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"web_pubsub_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_web_pubsub_custom_domain":{"schema":{"domain_name":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"web_pubsub_custom_certificate_id":{"type":"TypeString","required":true,"forceNew":true},"web_pubsub_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30}},"azurerm_web_pubsub_hub":{"schema":{"anonymous_connections_enabled":{"type":"TypeBool","optional":true,"default":false},"event_handler":{"type":"TypeList","optional":true,"elem":{"schema":{"auth":{"type":"TypeList","optional":true,"elem":{"schema":{"managed_identity_id":{"type":"TypeString","required":true}}},"maxItems":1,"minItems":1},"system_events":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"url_template":{"type":"TypeString","required":true},"user_event_pattern":{"type":"TypeString","optional":true}}}},"event_listener":{"type":"TypeList","optional":true,"elem":{"schema":{"eventhub_name":{"type":"TypeString","required":true},"eventhub_namespace_name":{"type":"TypeString","required":true},"system_event_name_filter":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"user_event_name_filter":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}}}}},"name":{"type":"TypeString","required":true,"forceNew":true},"web_pubsub_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_web_pubsub_network_acl":{"schema":{"default_action":{"type":"TypeString","optional":true,"default":"Deny"},"private_endpoint":{"type":"TypeSet","optional":true,"elem":{"schema":{"allowed_request_types":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"denied_request_types":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"id":{"type":"TypeString","required":true}}}},"public_network":{"type":"TypeList","required":true,"elem":{"schema":{"allowed_request_types":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"denied_request_types":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"web_pubsub_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_web_pubsub_shared_private_link_resource":{"schema":{"name":{"type":"TypeString","required":true,"forceNew":true},"request_message":{"type":"TypeString","optional":true},"status":{"type":"TypeString","computed":true},"subresource_name":{"type":"TypeString","required":true,"forceNew":true},"target_resource_id":{"type":"TypeString","required":true,"forceNew":true},"web_pubsub_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_windows_function_app":{"schema":{"app_settings":{"type":"TypeMap","optional":true,"description":"A map of key-value pairs for [App Settings](https://docs.microsoft.com/en-us/azure/azure-functions/functions-app-settings) and custom values.","elem":{"type":"TypeString"}},"auth_settings":{"type":"TypeList","optional":true,"elem":{"schema":{"active_directory":{"type":"TypeList","optional":true,"elem":{"schema":{"allowed_audiences":{"type":"TypeList","optional":true,"description":"Specifies a list of Allowed audience values to consider when validating JWTs issued by Azure Active Directory.","elem":{"type":"TypeString"}},"client_id":{"type":"TypeString","required":true,"description":"The ID of the Client to use to authenticate with Azure Active Directory."},"client_secret":{"type":"TypeString","optional":true,"description":"The Client Secret for the Client ID. Cannot be used with `client_secret_setting_name`."},"client_secret_setting_name":{"type":"TypeString","optional":true,"description":"The App Setting name that contains the client secret of the Client. Cannot be used with `client_secret`."}}},"maxItems":1},"additional_login_parameters":{"type":"TypeMap","optional":true,"description":"Specifies a map of Login Parameters to send to the OpenID Connect authorization endpoint when a user logs in.","elem":{"type":"TypeString"}},"allowed_external_redirect_urls":{"type":"TypeList","optional":true,"description":"Specifies a list of External URLs that can be redirected to as part of logging in or logging out of the Windows Web App.","computed":true,"elem":{"type":"TypeString"}},"default_provider":{"type":"TypeString","optional":true,"description":"The default authentication provider to use when multiple providers are configured. Possible values include: `AzureActiveDirectory`, `Facebook`, `Google`, `MicrosoftAccount`, `Twitter`, `Github`.","computed":true},"enabled":{"type":"TypeBool","required":true,"description":"Should the Authentication / Authorization feature be enabled?"},"facebook":{"type":"TypeList","optional":true,"elem":{"schema":{"app_id":{"type":"TypeString","required":true,"description":"The App ID of the Facebook app used for login."},"app_secret":{"type":"TypeString","optional":true,"description":"The App Secret of the Facebook app used for Facebook Login. Cannot be specified with `app_secret_setting_name`."},"app_secret_setting_name":{"type":"TypeString","optional":true,"description":"The app setting name that contains the `app_secret` value used for Facebook Login. Cannot be specified with `app_secret`."},"oauth_scopes":{"type":"TypeList","optional":true,"description":"Specifies a list of OAuth 2.0 scopes to be requested as part of Facebook Login authentication.","elem":{"type":"TypeString"}}}},"maxItems":1},"github":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","required":true,"description":"The ID of the GitHub app used for login."},"client_secret":{"type":"TypeString","optional":true,"description":"The Client Secret of the GitHub app used for GitHub Login. Cannot be specified with `client_secret_setting_name`."},"client_secret_setting_name":{"type":"TypeString","optional":true,"description":"The app setting name that contains the `client_secret` value used for GitHub Login. Cannot be specified with `client_secret`."},"oauth_scopes":{"type":"TypeList","optional":true,"description":"Specifies a list of OAuth 2.0 scopes that will be requested as part of GitHub Login authentication.","elem":{"type":"TypeString"}}}},"maxItems":1},"google":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","required":true,"description":"The OpenID Connect Client ID for the Google web application."},"client_secret":{"type":"TypeString","optional":true,"description":"The client secret associated with the Google web application. Cannot be specified with `client_secret_setting_name`."},"client_secret_setting_name":{"type":"TypeString","optional":true,"description":"The app setting name that contains the `client_secret` value used for Google Login. Cannot be specified with `client_secret`."},"oauth_scopes":{"type":"TypeList","optional":true,"description":"Specifies a list of OAuth 2.0 scopes that will be requested as part of Google Sign-In authentication. If not specified, \"openid\", \"profile\", and \"email\" are used as default scopes.","elem":{"type":"TypeString"}}}},"maxItems":1},"issuer":{"type":"TypeString","optional":true,"description":"The OpenID Connect Issuer URI that represents the entity which issues access tokens."},"microsoft":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","required":true,"description":"The OAuth 2.0 client ID that was created for the app used for authentication."},"client_secret":{"type":"TypeString","optional":true,"description":"The OAuth 2.0 client secret that was created for the app used for authentication. Cannot be specified with `client_secret_setting_name`."},"client_secret_setting_name":{"type":"TypeString","optional":true,"description":"The app setting name containing the OAuth 2.0 client secret that was created for the app used for authentication. Cannot be specified with `client_secret`."},"oauth_scopes":{"type":"TypeList","optional":true,"description":"The list of OAuth 2.0 scopes that will be requested as part of Microsoft Account authentication. If not specified, `wl.basic` is used as the default scope.","elem":{"type":"TypeString"}}}},"maxItems":1},"runtime_version":{"type":"TypeString","optional":true,"description":"The RuntimeVersion of the Authentication / Authorization feature in use.","computed":true},"token_refresh_extension_hours":{"type":"TypeFloat","optional":true,"default":72,"description":"The number of hours after session token expiration that a session token can be used to call the token refresh API. Defaults to `72` hours."},"token_store_enabled":{"type":"TypeBool","optional":true,"default":false,"description":"Should the Windows Web App durably store platform-specific security tokens that are obtained during login flows? Defaults to `false`."},"twitter":{"type":"TypeList","optional":true,"elem":{"schema":{"consumer_key":{"type":"TypeString","required":true,"description":"The OAuth 1.0a consumer key of the Twitter application used for sign-in."},"consumer_secret":{"type":"TypeString","optional":true,"description":"The OAuth 1.0a consumer secret of the Twitter application used for sign-in. Cannot be specified with `consumer_secret_setting_name`."},"consumer_secret_setting_name":{"type":"TypeString","optional":true,"description":"The app setting name that contains the OAuth 1.0a consumer secret of the Twitter application used for sign-in. Cannot be specified with `consumer_secret`."}}},"maxItems":1},"unauthenticated_client_action":{"type":"TypeString","optional":true,"description":"The action to take when an unauthenticated client attempts to access the app. Possible values include: `RedirectToLoginPage`, `AllowAnonymous`.","computed":true}}},"maxItems":1},"auth_settings_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"active_directory_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"allowed_applications":{"type":"TypeList","optional":true,"description":"The list of allowed Applications for the Default Authorisation Policy.","elem":{"type":"TypeString"}},"allowed_audiences":{"type":"TypeList","optional":true,"description":"Specifies a list of Allowed audience values to consider when validating JWTs issued by Azure Active Directory.","elem":{"type":"TypeString"}},"allowed_groups":{"type":"TypeList","optional":true,"description":"The list of allowed Group Names for the Default Authorisation Policy.","elem":{"type":"TypeString"}},"allowed_identities":{"type":"TypeList","optional":true,"description":"The list of allowed Identities for the Default Authorisation Policy.","elem":{"type":"TypeString"}},"client_id":{"type":"TypeString","required":true,"description":"The ID of the Client to use to authenticate with Azure Active Directory."},"client_secret_certificate_thumbprint":{"type":"TypeString","optional":true,"description":"The thumbprint of the certificate used for signing purposes."},"client_secret_setting_name":{"type":"TypeString","optional":true,"description":"The App Setting name that contains the client secret of the Client."},"jwt_allowed_client_applications":{"type":"TypeList","optional":true,"description":"A list of Allowed Client Applications in the JWT Claim.","elem":{"type":"TypeString"}},"jwt_allowed_groups":{"type":"TypeList","optional":true,"description":"A list of Allowed Groups in the JWT Claim.","elem":{"type":"TypeString"}},"login_parameters":{"type":"TypeMap","optional":true,"description":"A map of key-value pairs to send to the Authorisation Endpoint when a user logs in.","elem":{"type":"TypeString"}},"tenant_auth_endpoint":{"type":"TypeString","required":true,"description":"The Azure Tenant Endpoint for the Authenticating Tenant. e.g. `https://login.microsoftonline.com/v2.0/{tenant-guid}/`."},"www_authentication_disabled":{"type":"TypeBool","optional":true,"description":"Should the www-authenticate provider should be omitted from the request? Defaults to `false`"}}},"maxItems":1},"apple_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","required":true,"description":"The OpenID Connect Client ID for the Apple web application."},"client_secret_setting_name":{"type":"TypeString","required":true,"description":"The app setting name that contains the `client_secret` value used for Apple Login."},"login_scopes":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"auth_enabled":{"type":"TypeBool","optional":true,"description":"Should the AuthV2 Settings be enabled. Defaults to `false`"},"azure_static_web_app_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","required":true,"description":"The ID of the Client to use to authenticate with Azure Static Web App Authentication."}}},"maxItems":1},"config_file_path":{"type":"TypeString","optional":true,"description":"The path to the App Auth settings. **Note:** Relative Paths are evaluated from the Site Root directory."},"custom_oidc_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"authorisation_endpoint":{"type":"TypeString","description":"The endpoint to make the Authorisation Request.","computed":true},"certification_uri":{"type":"TypeString","description":"The endpoint that provides the keys necessary to validate the token.","computed":true},"client_credential_method":{"type":"TypeString","description":"The Client Credential Method used. Currently the only supported value is `ClientSecretPost`.","computed":true},"client_id":{"type":"TypeString","required":true,"description":"The ID of the Client to use to authenticate with this Custom OIDC."},"client_secret_setting_name":{"type":"TypeString","description":"The App Setting name that contains the secret for this Custom OIDC Client.","computed":true},"issuer_endpoint":{"type":"TypeString","description":"The endpoint that issued the Token.","computed":true},"name":{"type":"TypeString","required":true,"description":"The name of the Custom OIDC Authentication Provider."},"name_claim_type":{"type":"TypeString","optional":true,"description":"The name of the claim that contains the users name."},"openid_configuration_endpoint":{"type":"TypeString","required":true,"description":"The endpoint that contains all the configuration endpoints for this Custom OIDC provider."},"scopes":{"type":"TypeList","optional":true,"description":"The list of the scopes that should be requested while authenticating.","elem":{"type":"TypeString"}},"token_endpoint":{"type":"TypeString","description":"The endpoint used to request a Token.","computed":true}}}},"default_provider":{"type":"TypeString","optional":true,"description":"The Default Authentication Provider to use when the `unauthenticated_action` is set to `RedirectToLoginPage`. Possible values include: `apple`, `azureactivedirectory`, `facebook`, `github`, `google`, `twitter` and the `name` of your `custom_oidc_v2` provider."},"excluded_paths":{"type":"TypeList","optional":true,"description":"The paths which should be excluded from the `unauthenticated_action` when it is set to `RedirectToLoginPage`.","elem":{"type":"TypeString"}},"facebook_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"app_id":{"type":"TypeString","required":true,"description":"The App ID of the Facebook app used for login."},"app_secret_setting_name":{"type":"TypeString","required":true,"description":"The app setting name that contains the `app_secret` value used for Facebook Login."},"graph_api_version":{"type":"TypeString","optional":true,"description":"The version of the Facebook API to be used while logging in.","computed":true},"login_scopes":{"type":"TypeList","optional":true,"description":"Specifies a list of scopes to be requested as part of Facebook Login authentication.","elem":{"type":"TypeString"}}}},"maxItems":1},"forward_proxy_convention":{"type":"TypeString","optional":true,"default":"NoProxy","description":"The convention used to determine the url of the request made. Possible values include `ForwardProxyConventionNoProxy`, `ForwardProxyConventionStandard`, `ForwardProxyConventionCustom`. Defaults to `ForwardProxyConventionNoProxy`"},"forward_proxy_custom_host_header_name":{"type":"TypeString","optional":true,"description":"The name of the header containing the host of the request."},"forward_proxy_custom_scheme_header_name":{"type":"TypeString","optional":true,"description":"The name of the header containing the scheme of the request."},"github_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","required":true,"description":"The ID of the GitHub app used for login."},"client_secret_setting_name":{"type":"TypeString","required":true,"description":"The app setting name that contains the `client_secret` value used for GitHub Login."},"login_scopes":{"type":"TypeList","optional":true,"description":"Specifies a list of OAuth 2.0 scopes that will be requested as part of GitHub Login authentication.","elem":{"type":"TypeString"}}}},"maxItems":1},"google_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"allowed_audiences":{"type":"TypeList","optional":true,"description":"Specifies a list of Allowed Audiences that will be requested as part of Google Sign-In authentication.","elem":{"type":"TypeString"}},"client_id":{"type":"TypeString","required":true,"description":"The OpenID Connect Client ID for the Google web application."},"client_secret_setting_name":{"type":"TypeString","required":true,"description":"The app setting name that contains the `client_secret` value used for Google Login."},"login_scopes":{"type":"TypeList","optional":true,"description":"Specifies a list of Login scopes that will be requested as part of Google Sign-In authentication.","elem":{"type":"TypeString"}}}},"maxItems":1},"http_route_api_prefix":{"type":"TypeString","optional":true,"default":"/.auth","description":"The prefix that should precede all the authentication and authorisation paths. Defaults to `/.auth`"},"login":{"type":"TypeList","required":true,"elem":{"schema":{"allowed_external_redirect_urls":{"type":"TypeList","optional":true,"description":"External URLs that can be redirected to as part of logging in or logging out of the app. This is an advanced setting typically only needed by Windows Store application backends. **Note:** URLs within the current domain are always implicitly allowed.","elem":{"type":"TypeString"}},"cookie_expiration_convention":{"type":"TypeString","optional":true,"default":"FixedTime","description":"The method by which cookies expire. Possible values include: `FixedTime`, and `IdentityProviderDerived`. Defaults to `FixedTime`."},"cookie_expiration_time":{"type":"TypeString","optional":true,"default":"08:00:00","description":"The time after the request is made when the session cookie should expire. Defaults to `08:00:00`."},"logout_endpoint":{"type":"TypeString","optional":true,"description":"The endpoint to which logout requests should be made."},"nonce_expiration_time":{"type":"TypeString","optional":true,"default":"00:05:00","description":"The time after the request is made when the nonce should expire. Defaults to `00:05:00`."},"preserve_url_fragments_for_logins":{"type":"TypeBool","optional":true,"default":false,"description":"Should the fragments from the request be preserved after the login request is made. Defaults to `false`."},"token_refresh_extension_time":{"type":"TypeFloat","optional":true,"default":72,"description":"The number of hours after session token expiration that a session token can be used to call the token refresh API. Defaults to `72` hours."},"token_store_enabled":{"type":"TypeBool","optional":true,"default":false,"description":"Should the Token Store configuration Enabled. Defaults to `false`"},"token_store_path":{"type":"TypeString","optional":true,"description":"The directory path in the App Filesystem in which the tokens will be stored."},"token_store_sas_setting_name":{"type":"TypeString","optional":true,"description":"The name of the app setting which contains the SAS URL of the blob storage containing the tokens."},"validate_nonce":{"type":"TypeBool","optional":true,"default":true,"description":"Should the nonce be validated while completing the login flow. Defaults to `true`."}}},"maxItems":1},"microsoft_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"allowed_audiences":{"type":"TypeList","optional":true,"description":"Specifies a list of Allowed Audiences that will be requested as part of Microsoft Sign-In authentication.","elem":{"type":"TypeString"}},"client_id":{"type":"TypeString","required":true,"description":"The OAuth 2.0 client ID that was created for the app used for authentication."},"client_secret_setting_name":{"type":"TypeString","required":true,"description":"The app setting name containing the OAuth 2.0 client secret that was created for the app used for authentication."},"login_scopes":{"type":"TypeList","optional":true,"description":"The list of Login scopes that will be requested as part of Microsoft Account authentication.","elem":{"type":"TypeString"}}}},"maxItems":1},"require_authentication":{"type":"TypeBool","optional":true,"description":"Should the authentication flow be used for all requests."},"require_https":{"type":"TypeBool","optional":true,"default":true,"description":"Should HTTPS be required on connections? Defaults to true."},"runtime_version":{"type":"TypeString","optional":true,"default":"~1","description":"The Runtime Version of the Authentication and Authorisation feature of this App. Defaults to `~1`"},"twitter_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"consumer_key":{"type":"TypeString","required":true,"description":"The OAuth 1.0a consumer key of the Twitter application used for sign-in."},"consumer_secret_setting_name":{"type":"TypeString","required":true,"description":"The app setting name that contains the OAuth 1.0a consumer secret of the Twitter application used for sign-in."}}},"maxItems":1},"unauthenticated_action":{"type":"TypeString","optional":true,"default":"RedirectToLoginPage","description":"The action to take for requests made without authentication. Possible values include `RedirectToLoginPage`, `AllowAnonymous`, `Return401`, and `Return403`. Defaults to `RedirectToLoginPage`."}}},"maxItems":1},"backup":{"type":"TypeList","optional":true,"elem":{"schema":{"enabled":{"type":"TypeBool","optional":true,"default":true,"description":"Should this backup job be enabled?"},"name":{"type":"TypeString","required":true,"description":"The name which should be used for this Backup."},"schedule":{"type":"TypeList","required":true,"elem":{"schema":{"frequency_interval":{"type":"TypeInt","required":true,"description":"How often the backup should be executed (e.g. for weekly backup, this should be set to `7` and `frequency_unit` should be set to `Day`)."},"frequency_unit":{"type":"TypeString","required":true,"description":"The unit of time for how often the backup should take place. Possible values include: `Day` and `Hour`."},"keep_at_least_one_backup":{"type":"TypeBool","optional":true,"default":false,"description":"Should the service keep at least one backup, regardless of age of backup. Defaults to `false`."},"last_execution_time":{"type":"TypeString","description":"The time the backup was last attempted.","computed":true},"retention_period_days":{"type":"TypeInt","optional":true,"default":30,"description":"After how many days backups should be deleted."},"start_time":{"type":"TypeString","optional":true,"description":"When the schedule should start working in RFC-3339 format.","computed":true}}},"maxItems":1},"storage_account_url":{"type":"TypeString","required":true,"description":"The SAS URL to the container."}}},"maxItems":1},"builtin_logging_enabled":{"type":"TypeBool","optional":true,"default":true,"description":"Should built in logging be enabled. Configures `AzureWebJobsDashboard` app setting based on the configured storage setting"},"client_certificate_enabled":{"type":"TypeBool","optional":true,"default":false,"description":"Should the function app use Client Certificates"},"client_certificate_exclusion_paths":{"type":"TypeString","optional":true,"description":"Paths to exclude when using client certificates, separated by ;"},"client_certificate_mode":{"type":"TypeString","optional":true,"default":"Optional","description":"The mode of the Function App's client certificates requirement for incoming requests. Possible values are `Required`, `Optional`, and `OptionalInteractiveUser` "},"connection_string":{"type":"TypeSet","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true,"description":"The name which should be used for this Connection."},"type":{"type":"TypeString","required":true,"description":"Type of database. Possible values include: `MySQL`, `SQLServer`, `SQLAzure`, `Custom`, `NotificationHub`, `ServiceBus`, `EventHub`, `APIHub`, `DocDb`, `RedisCache`, and `PostgreSQL`."},"value":{"type":"TypeString","required":true,"description":"The connection string value."}}}},"content_share_force_disabled":{"type":"TypeBool","optional":true,"default":false,"description":"Force disable the content share settings."},"custom_domain_verification_id":{"type":"TypeString","computed":true},"daily_memory_time_quota":{"type":"TypeInt","optional":true,"default":0,"description":"The amount of memory in gigabyte-seconds that your application is allowed to consume per day. Setting this value only affects function apps in Consumption Plans."},"default_hostname":{"type":"TypeString","computed":true},"enabled":{"type":"TypeBool","optional":true,"default":true,"description":"Is the Windows Function App enabled."},"ftp_publish_basic_authentication_enabled":{"type":"TypeBool","optional":true,"default":true},"functions_extension_version":{"type":"TypeString","optional":true,"default":"~4","description":"The runtime version associated with the Function App."},"hosting_environment_id":{"type":"TypeString","computed":true},"https_only":{"type":"TypeBool","optional":true,"description":"Can the Function App only be accessed via HTTPS?","computed":true},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"key_vault_reference_identity_id":{"type":"TypeString","optional":true,"description":"The User Assigned Identity to use for Key Vault access.","computed":true},"kind":{"type":"TypeString","computed":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"description":"Specifies the name of the Function App.","forceNew":true},"outbound_ip_address_list":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"outbound_ip_addresses":{"type":"TypeString","computed":true},"possible_outbound_ip_address_list":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"possible_outbound_ip_addresses":{"type":"TypeString","computed":true},"public_network_access_enabled":{"type":"TypeBool","optional":true,"default":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"service_plan_id":{"type":"TypeString","required":true,"description":"The ID of the App Service Plan within which to create this Function App"},"site_config":{"type":"TypeList","required":true,"elem":{"schema":{"always_on":{"type":"TypeBool","optional":true,"description":"If this Windows Web App is Always On enabled. Defaults to `false`.","computed":true},"api_definition_url":{"type":"TypeString","optional":true,"description":"The URL of the API definition that describes this Windows Function App."},"api_management_api_id":{"type":"TypeString","optional":true,"description":"The ID of the API Management API for this Windows Function App."},"app_command_line":{"type":"TypeString","optional":true,"description":"The program and any arguments used to launch this app via the command line. (Example `node myapp.js`)."},"app_scale_limit":{"type":"TypeInt","optional":true,"description":"The number of workers this function app can scale out to. Only applicable to apps on the Consumption and Premium plan.","computed":true},"app_service_logs":{"type":"TypeList","optional":true,"elem":{"schema":{"disk_quota_mb":{"type":"TypeInt","optional":true,"default":35,"description":"The amount of disk space to use for logs. Valid values are between `25` and `100`."},"retention_period_days":{"type":"TypeInt","optional":true,"description":"The retention period for logs in days. Valid values are between `0` and `99999`. Defaults to `0` (never delete)."}}},"maxItems":1},"application_insights_connection_string":{"type":"TypeString","optional":true,"description":"The Connection String for linking the Windows Function App to Application Insights."},"application_insights_key":{"type":"TypeString","optional":true,"description":"The Instrumentation Key for connecting the Windows Function App to Application Insights."},"application_stack":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"dotnet_version":{"type":"TypeString","optional":true,"default":"v4.0","description":"The version of .Net. Possible values are `v3.0`, `v4.0`, `v6.0` and `v7.0`"},"java_version":{"type":"TypeString","optional":true,"description":"The version of Java to use. Possible values are `1.8`, `11` and `17`"},"node_version":{"type":"TypeString","optional":true,"description":"The version of Node to use. Possible values include `12`, `14`, `16` and `18`"},"powershell_core_version":{"type":"TypeString","optional":true,"description":"The PowerShell Core version to use. Possible values are `7`, `7.2`, and `7.4`"},"use_custom_runtime":{"type":"TypeBool","optional":true,"description":"Does the Function App use a custom Application Stack?","computed":true},"use_dotnet_isolated_runtime":{"type":"TypeBool","optional":true,"description":"Should the DotNet process use an isolated runtime. Defaults to `false`.","computed":true}}},"maxItems":1},"cors":{"type":"TypeList","optional":true,"elem":{"schema":{"allowed_origins":{"type":"TypeSet","optional":true,"description":"Specifies a list of origins that should be allowed to make cross-origin calls.","elem":{"type":"TypeString"},"minItems":1},"support_credentials":{"type":"TypeBool","optional":true,"default":false,"description":"Are credentials allowed in CORS requests? Defaults to `false`."}}},"maxItems":1},"default_documents":{"type":"TypeList","optional":true,"description":"Specifies a list of Default Documents for the Windows Web App.","computed":true,"elem":{"type":"TypeString"}},"detailed_error_logging_enabled":{"type":"TypeBool","description":"Is detailed error logging enabled","computed":true},"elastic_instance_minimum":{"type":"TypeInt","optional":true,"description":"The number of minimum instances for this Windows Function App. Only affects apps on Elastic Premium plans.","computed":true},"ftps_state":{"type":"TypeString","optional":true,"default":"Disabled","description":"State of FTP / FTPS service for this function app. Possible values include: `AllAllowed`, `FtpsOnly` and `Disabled`. Defaults to `Disabled`."},"health_check_eviction_time_in_min":{"type":"TypeInt","optional":true,"description":"The amount of time in minutes that a node is unhealthy before being removed from the load balancer. Possible values are between `2` and `10`. Only valid in conjunction with `health_check_path`"},"health_check_path":{"type":"TypeString","optional":true,"description":"The path to be checked for this function app health."},"http2_enabled":{"type":"TypeBool","optional":true,"default":false,"description":"Specifies if the http2 protocol should be enabled. Defaults to `false`."},"ip_restriction":{"type":"TypeList","optional":true,"elem":{"schema":{"action":{"type":"TypeString","optional":true,"default":"Allow","description":"The action to take. Possible values are `Allow` or `Deny`."},"description":{"type":"TypeString","optional":true,"description":"The description of the IP restriction rule."},"headers":{"type":"TypeList","configMode":"Auto","optional":true,"elem":{"schema":{"x_azure_fdid":{"type":"TypeList","optional":true,"description":"Specifies a list of Azure Front Door IDs.","elem":{"type":"TypeString"},"maxItems":8},"x_fd_health_probe":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"maxItems":1},"x_forwarded_for":{"type":"TypeList","optional":true,"description":"Specifies a list of addresses for which matching should be applied. Omitting this value means allow any.","elem":{"type":"TypeString"},"maxItems":8},"x_forwarded_host":{"type":"TypeList","optional":true,"description":"Specifies a list of Hosts for which matching should be applied.","elem":{"type":"TypeString"},"maxItems":8}}},"maxItems":1},"ip_address":{"type":"TypeString","optional":true,"description":"The CIDR notation of the IP or IP Range to match. For example: `10.0.0.0/24` or `192.168.10.1/32` or `fe80::/64` or `13.107.6.152/31,13.107.128.0/22`"},"name":{"type":"TypeString","optional":true,"description":"The name which should be used for this `ip_restriction`.","computed":true},"priority":{"type":"TypeInt","optional":true,"default":65000,"description":"The priority value of this `ip_restriction`."},"service_tag":{"type":"TypeString","optional":true,"description":"The Service Tag used for this IP Restriction."},"virtual_network_subnet_id":{"type":"TypeString","optional":true,"description":"The Virtual Network Subnet ID used for this IP Restriction."}}}},"ip_restriction_default_action":{"type":"TypeString","optional":true,"default":"Allow"},"load_balancing_mode":{"type":"TypeString","optional":true,"default":"LeastRequests","description":"The Site load balancing mode. Possible values include: `WeightedRoundRobin`, `LeastRequests`, `LeastResponseTime`, `WeightedTotalTraffic`, `RequestHash`, `PerSiteRoundRobin`. Defaults to `LeastRequests` if omitted."},"managed_pipeline_mode":{"type":"TypeString","optional":true,"default":"Integrated","description":"The Managed Pipeline mode. Possible values include: `Integrated`, `Classic`. Defaults to `Integrated`."},"minimum_tls_version":{"type":"TypeString","optional":true,"default":"1.2","description":"The configures the minimum version of TLS required for SSL requests. Possible values include: `1.0`, `1.1`, and `1.2`. Defaults to `1.2`."},"pre_warmed_instance_count":{"type":"TypeInt","optional":true,"description":"The number of pre-warmed instances for this function app. Only affects apps on an Elastic Premium plan.","computed":true},"remote_debugging_enabled":{"type":"TypeBool","optional":true,"default":false,"description":"Should Remote Debugging be enabled. Defaults to `false`."},"remote_debugging_version":{"type":"TypeString","optional":true,"description":"The Remote Debugging Version. Possible values include `VS2017`, `VS2019`, and `VS2022`","computed":true},"runtime_scale_monitoring_enabled":{"type":"TypeBool","optional":true,"description":"Should Functions Runtime Scale Monitoring be enabled."},"scm_ip_restriction":{"type":"TypeList","optional":true,"elem":{"schema":{"action":{"type":"TypeString","optional":true,"default":"Allow","description":"The action to take. Possible values are `Allow` or `Deny`."},"description":{"type":"TypeString","optional":true,"description":"The description of the IP restriction rule."},"headers":{"type":"TypeList","configMode":"Auto","optional":true,"elem":{"schema":{"x_azure_fdid":{"type":"TypeList","optional":true,"description":"Specifies a list of Azure Front Door IDs.","elem":{"type":"TypeString"},"maxItems":8},"x_fd_health_probe":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"maxItems":1},"x_forwarded_for":{"type":"TypeList","optional":true,"description":"Specifies a list of addresses for which matching should be applied. Omitting this value means allow any.","elem":{"type":"TypeString"},"maxItems":8},"x_forwarded_host":{"type":"TypeList","optional":true,"description":"Specifies a list of Hosts for which matching should be applied.","elem":{"type":"TypeString"},"maxItems":8}}},"maxItems":1},"ip_address":{"type":"TypeString","optional":true,"description":"The CIDR notation of the IP or IP Range to match. For example: `10.0.0.0/24` or `192.168.10.1/32` or `fe80::/64` or `13.107.6.152/31,13.107.128.0/22`"},"name":{"type":"TypeString","optional":true,"description":"The name which should be used for this `ip_restriction`.","computed":true},"priority":{"type":"TypeInt","optional":true,"default":65000,"description":"The priority value of this `ip_restriction`."},"service_tag":{"type":"TypeString","optional":true,"description":"The Service Tag used for this IP Restriction."},"virtual_network_subnet_id":{"type":"TypeString","optional":true,"description":"The Virtual Network Subnet ID used for this IP Restriction."}}}},"scm_ip_restriction_default_action":{"type":"TypeString","optional":true,"default":"Allow"},"scm_minimum_tls_version":{"type":"TypeString","optional":true,"default":"1.2","description":"Configures the minimum version of TLS required for SSL requests to the SCM site Possible values include: `1.0`, `1.1`, and `1.2`. Defaults to `1.2`."},"scm_type":{"type":"TypeString","description":"The SCM Type in use by the Windows Function App.","computed":true},"scm_use_main_ip_restriction":{"type":"TypeBool","optional":true,"default":false,"description":"Should the Windows Function App `ip_restriction` configuration be used for the SCM also."},"use_32_bit_worker":{"type":"TypeBool","optional":true,"default":true,"description":"Should the Windows Web App use a 32-bit worker."},"vnet_route_all_enabled":{"type":"TypeBool","optional":true,"default":false,"description":"Should all outbound traffic to have Virtual Network Security Groups and User Defined Routes applied? Defaults to `false`."},"websockets_enabled":{"type":"TypeBool","optional":true,"default":false,"description":"Should Web Sockets be enabled. Defaults to `false`."},"windows_fx_version":{"type":"TypeString","description":"The Windows FX Version string.","computed":true},"worker_count":{"type":"TypeInt","optional":true,"description":"The number of Workers for this Windows Function App.","computed":true}}},"maxItems":1},"site_credential":{"type":"TypeList","computed":true,"elem":{"schema":{"name":{"type":"TypeString","description":"The Site Credentials Username used for publishing.","computed":true},"password":{"type":"TypeString","description":"The Site Credentials Password used for publishing.","computed":true}}}},"sticky_settings":{"type":"TypeList","optional":true,"elem":{"schema":{"app_setting_names":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"minItems":1},"connection_string_names":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"minItems":1}}},"maxItems":1},"storage_account":{"type":"TypeSet","optional":true,"elem":{"schema":{"access_key":{"type":"TypeString","required":true},"account_name":{"type":"TypeString","required":true},"mount_path":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true},"share_name":{"type":"TypeString","required":true},"type":{"type":"TypeString","required":true}}}},"storage_account_access_key":{"type":"TypeString","optional":true,"description":"The access key which will be used to access the storage account for the Function App."},"storage_account_name":{"type":"TypeString","optional":true,"description":"The backend storage account name which will be used by this Function App."},"storage_key_vault_secret_id":{"type":"TypeString","optional":true,"description":"The Key Vault Secret ID, including version, that contains the Connection String to connect to the storage account for this Function App."},"storage_uses_managed_identity":{"type":"TypeBool","optional":true,"default":false,"description":"Should the Function App use its Managed Identity to access storage?"},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"virtual_network_subnet_id":{"type":"TypeString","optional":true},"vnet_image_pull_enabled":{"type":"TypeBool","optional":true,"default":false,"description":"Is container image pull over virtual network enabled? Defaults to `false`."},"webdeploy_publish_basic_authentication_enabled":{"type":"TypeBool","optional":true,"default":true},"zip_deploy_file":{"type":"TypeString","optional":true,"description":"The local path and filename of the Zip packaged application to deploy to this Windows Function App. **Note:** Using this value requires `WEBSITE_RUN_FROM_PACKAGE=1` to be set on the App in `app_settings`.","computed":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_windows_function_app_slot":{"schema":{"app_settings":{"type":"TypeMap","optional":true,"description":"A map of key-value pairs for [App Settings](https://docs.microsoft.com/en-us/azure/azure-functions/functions-app-settings) and custom values.","elem":{"type":"TypeString"}},"auth_settings":{"type":"TypeList","optional":true,"elem":{"schema":{"active_directory":{"type":"TypeList","optional":true,"elem":{"schema":{"allowed_audiences":{"type":"TypeList","optional":true,"description":"Specifies a list of Allowed audience values to consider when validating JWTs issued by Azure Active Directory.","elem":{"type":"TypeString"}},"client_id":{"type":"TypeString","required":true,"description":"The ID of the Client to use to authenticate with Azure Active Directory."},"client_secret":{"type":"TypeString","optional":true,"description":"The Client Secret for the Client ID. Cannot be used with `client_secret_setting_name`."},"client_secret_setting_name":{"type":"TypeString","optional":true,"description":"The App Setting name that contains the client secret of the Client. Cannot be used with `client_secret`."}}},"maxItems":1},"additional_login_parameters":{"type":"TypeMap","optional":true,"description":"Specifies a map of Login Parameters to send to the OpenID Connect authorization endpoint when a user logs in.","elem":{"type":"TypeString"}},"allowed_external_redirect_urls":{"type":"TypeList","optional":true,"description":"Specifies a list of External URLs that can be redirected to as part of logging in or logging out of the Windows Web App.","computed":true,"elem":{"type":"TypeString"}},"default_provider":{"type":"TypeString","optional":true,"description":"The default authentication provider to use when multiple providers are configured. Possible values include: `AzureActiveDirectory`, `Facebook`, `Google`, `MicrosoftAccount`, `Twitter`, `Github`.","computed":true},"enabled":{"type":"TypeBool","required":true,"description":"Should the Authentication / Authorization feature be enabled?"},"facebook":{"type":"TypeList","optional":true,"elem":{"schema":{"app_id":{"type":"TypeString","required":true,"description":"The App ID of the Facebook app used for login."},"app_secret":{"type":"TypeString","optional":true,"description":"The App Secret of the Facebook app used for Facebook Login. Cannot be specified with `app_secret_setting_name`."},"app_secret_setting_name":{"type":"TypeString","optional":true,"description":"The app setting name that contains the `app_secret` value used for Facebook Login. Cannot be specified with `app_secret`."},"oauth_scopes":{"type":"TypeList","optional":true,"description":"Specifies a list of OAuth 2.0 scopes to be requested as part of Facebook Login authentication.","elem":{"type":"TypeString"}}}},"maxItems":1},"github":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","required":true,"description":"The ID of the GitHub app used for login."},"client_secret":{"type":"TypeString","optional":true,"description":"The Client Secret of the GitHub app used for GitHub Login. Cannot be specified with `client_secret_setting_name`."},"client_secret_setting_name":{"type":"TypeString","optional":true,"description":"The app setting name that contains the `client_secret` value used for GitHub Login. Cannot be specified with `client_secret`."},"oauth_scopes":{"type":"TypeList","optional":true,"description":"Specifies a list of OAuth 2.0 scopes that will be requested as part of GitHub Login authentication.","elem":{"type":"TypeString"}}}},"maxItems":1},"google":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","required":true,"description":"The OpenID Connect Client ID for the Google web application."},"client_secret":{"type":"TypeString","optional":true,"description":"The client secret associated with the Google web application. Cannot be specified with `client_secret_setting_name`."},"client_secret_setting_name":{"type":"TypeString","optional":true,"description":"The app setting name that contains the `client_secret` value used for Google Login. Cannot be specified with `client_secret`."},"oauth_scopes":{"type":"TypeList","optional":true,"description":"Specifies a list of OAuth 2.0 scopes that will be requested as part of Google Sign-In authentication. If not specified, \"openid\", \"profile\", and \"email\" are used as default scopes.","elem":{"type":"TypeString"}}}},"maxItems":1},"issuer":{"type":"TypeString","optional":true,"description":"The OpenID Connect Issuer URI that represents the entity which issues access tokens."},"microsoft":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","required":true,"description":"The OAuth 2.0 client ID that was created for the app used for authentication."},"client_secret":{"type":"TypeString","optional":true,"description":"The OAuth 2.0 client secret that was created for the app used for authentication. Cannot be specified with `client_secret_setting_name`."},"client_secret_setting_name":{"type":"TypeString","optional":true,"description":"The app setting name containing the OAuth 2.0 client secret that was created for the app used for authentication. Cannot be specified with `client_secret`."},"oauth_scopes":{"type":"TypeList","optional":true,"description":"The list of OAuth 2.0 scopes that will be requested as part of Microsoft Account authentication. If not specified, `wl.basic` is used as the default scope.","elem":{"type":"TypeString"}}}},"maxItems":1},"runtime_version":{"type":"TypeString","optional":true,"description":"The RuntimeVersion of the Authentication / Authorization feature in use.","computed":true},"token_refresh_extension_hours":{"type":"TypeFloat","optional":true,"default":72,"description":"The number of hours after session token expiration that a session token can be used to call the token refresh API. Defaults to `72` hours."},"token_store_enabled":{"type":"TypeBool","optional":true,"default":false,"description":"Should the Windows Web App durably store platform-specific security tokens that are obtained during login flows? Defaults to `false`."},"twitter":{"type":"TypeList","optional":true,"elem":{"schema":{"consumer_key":{"type":"TypeString","required":true,"description":"The OAuth 1.0a consumer key of the Twitter application used for sign-in."},"consumer_secret":{"type":"TypeString","optional":true,"description":"The OAuth 1.0a consumer secret of the Twitter application used for sign-in. Cannot be specified with `consumer_secret_setting_name`."},"consumer_secret_setting_name":{"type":"TypeString","optional":true,"description":"The app setting name that contains the OAuth 1.0a consumer secret of the Twitter application used for sign-in. Cannot be specified with `consumer_secret`."}}},"maxItems":1},"unauthenticated_client_action":{"type":"TypeString","optional":true,"description":"The action to take when an unauthenticated client attempts to access the app. Possible values include: `RedirectToLoginPage`, `AllowAnonymous`.","computed":true}}},"maxItems":1},"auth_settings_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"active_directory_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"allowed_applications":{"type":"TypeList","optional":true,"description":"The list of allowed Applications for the Default Authorisation Policy.","elem":{"type":"TypeString"}},"allowed_audiences":{"type":"TypeList","optional":true,"description":"Specifies a list of Allowed audience values to consider when validating JWTs issued by Azure Active Directory.","elem":{"type":"TypeString"}},"allowed_groups":{"type":"TypeList","optional":true,"description":"The list of allowed Group Names for the Default Authorisation Policy.","elem":{"type":"TypeString"}},"allowed_identities":{"type":"TypeList","optional":true,"description":"The list of allowed Identities for the Default Authorisation Policy.","elem":{"type":"TypeString"}},"client_id":{"type":"TypeString","required":true,"description":"The ID of the Client to use to authenticate with Azure Active Directory."},"client_secret_certificate_thumbprint":{"type":"TypeString","optional":true,"description":"The thumbprint of the certificate used for signing purposes."},"client_secret_setting_name":{"type":"TypeString","optional":true,"description":"The App Setting name that contains the client secret of the Client."},"jwt_allowed_client_applications":{"type":"TypeList","optional":true,"description":"A list of Allowed Client Applications in the JWT Claim.","elem":{"type":"TypeString"}},"jwt_allowed_groups":{"type":"TypeList","optional":true,"description":"A list of Allowed Groups in the JWT Claim.","elem":{"type":"TypeString"}},"login_parameters":{"type":"TypeMap","optional":true,"description":"A map of key-value pairs to send to the Authorisation Endpoint when a user logs in.","elem":{"type":"TypeString"}},"tenant_auth_endpoint":{"type":"TypeString","required":true,"description":"The Azure Tenant Endpoint for the Authenticating Tenant. e.g. `https://login.microsoftonline.com/v2.0/{tenant-guid}/`."},"www_authentication_disabled":{"type":"TypeBool","optional":true,"description":"Should the www-authenticate provider should be omitted from the request? Defaults to `false`"}}},"maxItems":1},"apple_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","required":true,"description":"The OpenID Connect Client ID for the Apple web application."},"client_secret_setting_name":{"type":"TypeString","required":true,"description":"The app setting name that contains the `client_secret` value used for Apple Login."},"login_scopes":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"auth_enabled":{"type":"TypeBool","optional":true,"description":"Should the AuthV2 Settings be enabled. Defaults to `false`"},"azure_static_web_app_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","required":true,"description":"The ID of the Client to use to authenticate with Azure Static Web App Authentication."}}},"maxItems":1},"config_file_path":{"type":"TypeString","optional":true,"description":"The path to the App Auth settings. **Note:** Relative Paths are evaluated from the Site Root directory."},"custom_oidc_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"authorisation_endpoint":{"type":"TypeString","description":"The endpoint to make the Authorisation Request.","computed":true},"certification_uri":{"type":"TypeString","description":"The endpoint that provides the keys necessary to validate the token.","computed":true},"client_credential_method":{"type":"TypeString","description":"The Client Credential Method used. Currently the only supported value is `ClientSecretPost`.","computed":true},"client_id":{"type":"TypeString","required":true,"description":"The ID of the Client to use to authenticate with this Custom OIDC."},"client_secret_setting_name":{"type":"TypeString","description":"The App Setting name that contains the secret for this Custom OIDC Client.","computed":true},"issuer_endpoint":{"type":"TypeString","description":"The endpoint that issued the Token.","computed":true},"name":{"type":"TypeString","required":true,"description":"The name of the Custom OIDC Authentication Provider."},"name_claim_type":{"type":"TypeString","optional":true,"description":"The name of the claim that contains the users name."},"openid_configuration_endpoint":{"type":"TypeString","required":true,"description":"The endpoint that contains all the configuration endpoints for this Custom OIDC provider."},"scopes":{"type":"TypeList","optional":true,"description":"The list of the scopes that should be requested while authenticating.","elem":{"type":"TypeString"}},"token_endpoint":{"type":"TypeString","description":"The endpoint used to request a Token.","computed":true}}}},"default_provider":{"type":"TypeString","optional":true,"description":"The Default Authentication Provider to use when the `unauthenticated_action` is set to `RedirectToLoginPage`. Possible values include: `apple`, `azureactivedirectory`, `facebook`, `github`, `google`, `twitter` and the `name` of your `custom_oidc_v2` provider."},"excluded_paths":{"type":"TypeList","optional":true,"description":"The paths which should be excluded from the `unauthenticated_action` when it is set to `RedirectToLoginPage`.","elem":{"type":"TypeString"}},"facebook_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"app_id":{"type":"TypeString","required":true,"description":"The App ID of the Facebook app used for login."},"app_secret_setting_name":{"type":"TypeString","required":true,"description":"The app setting name that contains the `app_secret` value used for Facebook Login."},"graph_api_version":{"type":"TypeString","optional":true,"description":"The version of the Facebook API to be used while logging in.","computed":true},"login_scopes":{"type":"TypeList","optional":true,"description":"Specifies a list of scopes to be requested as part of Facebook Login authentication.","elem":{"type":"TypeString"}}}},"maxItems":1},"forward_proxy_convention":{"type":"TypeString","optional":true,"default":"NoProxy","description":"The convention used to determine the url of the request made. Possible values include `ForwardProxyConventionNoProxy`, `ForwardProxyConventionStandard`, `ForwardProxyConventionCustom`. Defaults to `ForwardProxyConventionNoProxy`"},"forward_proxy_custom_host_header_name":{"type":"TypeString","optional":true,"description":"The name of the header containing the host of the request."},"forward_proxy_custom_scheme_header_name":{"type":"TypeString","optional":true,"description":"The name of the header containing the scheme of the request."},"github_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","required":true,"description":"The ID of the GitHub app used for login."},"client_secret_setting_name":{"type":"TypeString","required":true,"description":"The app setting name that contains the `client_secret` value used for GitHub Login."},"login_scopes":{"type":"TypeList","optional":true,"description":"Specifies a list of OAuth 2.0 scopes that will be requested as part of GitHub Login authentication.","elem":{"type":"TypeString"}}}},"maxItems":1},"google_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"allowed_audiences":{"type":"TypeList","optional":true,"description":"Specifies a list of Allowed Audiences that will be requested as part of Google Sign-In authentication.","elem":{"type":"TypeString"}},"client_id":{"type":"TypeString","required":true,"description":"The OpenID Connect Client ID for the Google web application."},"client_secret_setting_name":{"type":"TypeString","required":true,"description":"The app setting name that contains the `client_secret` value used for Google Login."},"login_scopes":{"type":"TypeList","optional":true,"description":"Specifies a list of Login scopes that will be requested as part of Google Sign-In authentication.","elem":{"type":"TypeString"}}}},"maxItems":1},"http_route_api_prefix":{"type":"TypeString","optional":true,"default":"/.auth","description":"The prefix that should precede all the authentication and authorisation paths. Defaults to `/.auth`"},"login":{"type":"TypeList","required":true,"elem":{"schema":{"allowed_external_redirect_urls":{"type":"TypeList","optional":true,"description":"External URLs that can be redirected to as part of logging in or logging out of the app. This is an advanced setting typically only needed by Windows Store application backends. **Note:** URLs within the current domain are always implicitly allowed.","elem":{"type":"TypeString"}},"cookie_expiration_convention":{"type":"TypeString","optional":true,"default":"FixedTime","description":"The method by which cookies expire. Possible values include: `FixedTime`, and `IdentityProviderDerived`. Defaults to `FixedTime`."},"cookie_expiration_time":{"type":"TypeString","optional":true,"default":"08:00:00","description":"The time after the request is made when the session cookie should expire. Defaults to `08:00:00`."},"logout_endpoint":{"type":"TypeString","optional":true,"description":"The endpoint to which logout requests should be made."},"nonce_expiration_time":{"type":"TypeString","optional":true,"default":"00:05:00","description":"The time after the request is made when the nonce should expire. Defaults to `00:05:00`."},"preserve_url_fragments_for_logins":{"type":"TypeBool","optional":true,"default":false,"description":"Should the fragments from the request be preserved after the login request is made. Defaults to `false`."},"token_refresh_extension_time":{"type":"TypeFloat","optional":true,"default":72,"description":"The number of hours after session token expiration that a session token can be used to call the token refresh API. Defaults to `72` hours."},"token_store_enabled":{"type":"TypeBool","optional":true,"default":false,"description":"Should the Token Store configuration Enabled. Defaults to `false`"},"token_store_path":{"type":"TypeString","optional":true,"description":"The directory path in the App Filesystem in which the tokens will be stored."},"token_store_sas_setting_name":{"type":"TypeString","optional":true,"description":"The name of the app setting which contains the SAS URL of the blob storage containing the tokens."},"validate_nonce":{"type":"TypeBool","optional":true,"default":true,"description":"Should the nonce be validated while completing the login flow. Defaults to `true`."}}},"maxItems":1},"microsoft_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"allowed_audiences":{"type":"TypeList","optional":true,"description":"Specifies a list of Allowed Audiences that will be requested as part of Microsoft Sign-In authentication.","elem":{"type":"TypeString"}},"client_id":{"type":"TypeString","required":true,"description":"The OAuth 2.0 client ID that was created for the app used for authentication."},"client_secret_setting_name":{"type":"TypeString","required":true,"description":"The app setting name containing the OAuth 2.0 client secret that was created for the app used for authentication."},"login_scopes":{"type":"TypeList","optional":true,"description":"The list of Login scopes that will be requested as part of Microsoft Account authentication.","elem":{"type":"TypeString"}}}},"maxItems":1},"require_authentication":{"type":"TypeBool","optional":true,"description":"Should the authentication flow be used for all requests."},"require_https":{"type":"TypeBool","optional":true,"default":true,"description":"Should HTTPS be required on connections? Defaults to true."},"runtime_version":{"type":"TypeString","optional":true,"default":"~1","description":"The Runtime Version of the Authentication and Authorisation feature of this App. Defaults to `~1`"},"twitter_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"consumer_key":{"type":"TypeString","required":true,"description":"The OAuth 1.0a consumer key of the Twitter application used for sign-in."},"consumer_secret_setting_name":{"type":"TypeString","required":true,"description":"The app setting name that contains the OAuth 1.0a consumer secret of the Twitter application used for sign-in."}}},"maxItems":1},"unauthenticated_action":{"type":"TypeString","optional":true,"default":"RedirectToLoginPage","description":"The action to take for requests made without authentication. Possible values include `RedirectToLoginPage`, `AllowAnonymous`, `Return401`, and `Return403`. Defaults to `RedirectToLoginPage`."}}},"maxItems":1},"backup":{"type":"TypeList","optional":true,"elem":{"schema":{"enabled":{"type":"TypeBool","optional":true,"default":true,"description":"Should this backup job be enabled?"},"name":{"type":"TypeString","required":true,"description":"The name which should be used for this Backup."},"schedule":{"type":"TypeList","required":true,"elem":{"schema":{"frequency_interval":{"type":"TypeInt","required":true,"description":"How often the backup should be executed (e.g. for weekly backup, this should be set to `7` and `frequency_unit` should be set to `Day`)."},"frequency_unit":{"type":"TypeString","required":true,"description":"The unit of time for how often the backup should take place. Possible values include: `Day` and `Hour`."},"keep_at_least_one_backup":{"type":"TypeBool","optional":true,"default":false,"description":"Should the service keep at least one backup, regardless of age of backup. Defaults to `false`."},"last_execution_time":{"type":"TypeString","description":"The time the backup was last attempted.","computed":true},"retention_period_days":{"type":"TypeInt","optional":true,"default":30,"description":"After how many days backups should be deleted."},"start_time":{"type":"TypeString","optional":true,"description":"When the schedule should start working in RFC-3339 format.","computed":true}}},"maxItems":1},"storage_account_url":{"type":"TypeString","required":true,"description":"The SAS URL to the container."}}},"maxItems":1},"builtin_logging_enabled":{"type":"TypeBool","optional":true,"default":true,"description":"Should built in logging be enabled. Configures `AzureWebJobsDashboard` app setting based on the configured storage setting."},"client_certificate_enabled":{"type":"TypeBool","optional":true,"default":false,"description":"Should the Function App Slot use Client Certificates."},"client_certificate_exclusion_paths":{"type":"TypeString","optional":true,"description":"Paths to exclude when using client certificates, separated by ;"},"client_certificate_mode":{"type":"TypeString","optional":true,"default":"Optional","description":"The mode of the Function App Slot's client certificates requirement for incoming requests. Possible values are `Required`, `Optional`, and `OptionalInteractiveUser`."},"connection_string":{"type":"TypeSet","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true,"description":"The name which should be used for this Connection."},"type":{"type":"TypeString","required":true,"description":"Type of database. Possible values include: `MySQL`, `SQLServer`, `SQLAzure`, `Custom`, `NotificationHub`, `ServiceBus`, `EventHub`, `APIHub`, `DocDb`, `RedisCache`, and `PostgreSQL`."},"value":{"type":"TypeString","required":true,"description":"The connection string value."}}}},"content_share_force_disabled":{"type":"TypeBool","optional":true,"default":false,"description":"Force disable the content share settings."},"custom_domain_verification_id":{"type":"TypeString","description":"The identifier used by App Service to perform domain ownership verification via DNS TXT record.","computed":true},"daily_memory_time_quota":{"type":"TypeInt","optional":true,"default":0,"description":"The amount of memory in gigabyte-seconds that your application is allowed to consume per day. Setting this value only affects function apps in Consumption Plans."},"default_hostname":{"type":"TypeString","description":"The default hostname of the Windows Function App Slot.","computed":true},"enabled":{"type":"TypeBool","optional":true,"default":true,"description":"Is the Windows Function App Slot enabled."},"ftp_publish_basic_authentication_enabled":{"type":"TypeBool","optional":true,"default":true},"function_app_id":{"type":"TypeString","required":true,"description":"The ID of the Windows Function App this Slot is a member of.","forceNew":true},"functions_extension_version":{"type":"TypeString","optional":true,"default":"~4","description":"The runtime version associated with the Function App Slot."},"hosting_environment_id":{"type":"TypeString","computed":true},"https_only":{"type":"TypeBool","optional":true,"default":false,"description":"Can the Function App Slot only be accessed via HTTPS?"},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"key_vault_reference_identity_id":{"type":"TypeString","optional":true,"description":"The User Assigned Identity to use for Key Vault access.","computed":true},"kind":{"type":"TypeString","description":"The Kind value for this Windows Function App Slot.","computed":true},"name":{"type":"TypeString","required":true,"description":"Specifies the name of the Windows Function App Slot.","forceNew":true},"outbound_ip_address_list":{"type":"TypeList","description":"A list of outbound IP addresses. For example `[\"52.23.25.3\", \"52.143.43.12\"]`.","computed":true,"elem":{"type":"TypeString"}},"outbound_ip_addresses":{"type":"TypeString","description":"A comma separated list of outbound IP addresses as a string. For example `52.23.25.3,52.143.43.12`.","computed":true},"possible_outbound_ip_address_list":{"type":"TypeList","description":"A list of possible outbound IP addresses, not all of which are necessarily in use. This is a superset of `outbound_ip_address_list`. For example `[\"52.23.25.3\", \"52.143.43.12\"]`.","computed":true,"elem":{"type":"TypeString"}},"possible_outbound_ip_addresses":{"type":"TypeString","description":"A comma separated list of possible outbound IP addresses as a string. For example `52.23.25.3,52.143.43.12,52.143.43.17`. This is a superset of `outbound_ip_addresses`. For example `[\"52.23.25.3\", \"52.143.43.12\",\"52.143.43.17\"]`.","computed":true},"public_network_access_enabled":{"type":"TypeBool","optional":true,"default":true},"service_plan_id":{"type":"TypeString","optional":true},"site_config":{"type":"TypeList","required":true,"elem":{"schema":{"always_on":{"type":"TypeBool","optional":true,"description":"If this Windows Web App is Always On enabled. Defaults to `false`.","computed":true},"api_definition_url":{"type":"TypeString","optional":true,"description":"The URL of the API definition that describes this Windows Function App."},"api_management_api_id":{"type":"TypeString","optional":true,"description":"The ID of the API Management API for this Windows Function App."},"app_command_line":{"type":"TypeString","optional":true,"description":"The program and any arguments used to launch this app via the command line. (Example `node myapp.js`)."},"app_scale_limit":{"type":"TypeInt","optional":true,"description":"The number of workers this function app can scale out to. Only applicable to apps on the Consumption and Premium plan.","computed":true},"app_service_logs":{"type":"TypeList","optional":true,"elem":{"schema":{"disk_quota_mb":{"type":"TypeInt","optional":true,"default":35,"description":"The amount of disk space to use for logs. Valid values are between `25` and `100`."},"retention_period_days":{"type":"TypeInt","optional":true,"description":"The retention period for logs in days. Valid values are between `0` and `99999`. Defaults to `0` (never delete)."}}},"maxItems":1},"application_insights_connection_string":{"type":"TypeString","optional":true,"description":"The Connection String for linking the Windows Function App to Application Insights."},"application_insights_key":{"type":"TypeString","optional":true,"description":"The Instrumentation Key for connecting the Windows Function App to Application Insights."},"application_stack":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"dotnet_version":{"type":"TypeString","optional":true,"default":"v4.0","description":"The version of .Net. Possible values are `v3.0`, `v4.0`, `v6.0` and `v7.0`"},"java_version":{"type":"TypeString","optional":true,"description":"The version of Java to use. Possible values are `1.8`, `11` and `17`"},"node_version":{"type":"TypeString","optional":true,"description":"The version of Node to use. Possible values include `12`, `14`, `16` and `18`"},"powershell_core_version":{"type":"TypeString","optional":true,"description":"The PowerShell Core version to use. Possible values are `7`, `7.2`, and `7.4`"},"use_custom_runtime":{"type":"TypeBool","optional":true,"description":"Does the Function App use a custom Application Stack?","computed":true},"use_dotnet_isolated_runtime":{"type":"TypeBool","optional":true,"description":"Should the DotNet process use an isolated runtime. Defaults to `false`.","computed":true}}},"maxItems":1},"auto_swap_slot_name":{"type":"TypeString","optional":true},"cors":{"type":"TypeList","optional":true,"elem":{"schema":{"allowed_origins":{"type":"TypeSet","optional":true,"description":"Specifies a list of origins that should be allowed to make cross-origin calls.","elem":{"type":"TypeString"},"minItems":1},"support_credentials":{"type":"TypeBool","optional":true,"default":false,"description":"Are credentials allowed in CORS requests? Defaults to `false`."}}},"maxItems":1},"default_documents":{"type":"TypeList","optional":true,"description":"Specifies a list of Default Documents for the Windows Web App.","computed":true,"elem":{"type":"TypeString"}},"detailed_error_logging_enabled":{"type":"TypeBool","description":"Is detailed error logging enabled","computed":true},"elastic_instance_minimum":{"type":"TypeInt","optional":true,"description":"The number of minimum instances for this Windows Function App. Only affects apps on Elastic Premium plans.","computed":true},"ftps_state":{"type":"TypeString","optional":true,"default":"Disabled","description":"State of FTP / FTPS service for this function app. Possible values include: `AllAllowed`, `FtpsOnly` and `Disabled`. Defaults to `Disabled`."},"health_check_eviction_time_in_min":{"type":"TypeInt","optional":true,"default":0,"description":"The amount of time in minutes that a node is unhealthy before being removed from the load balancer. Possible values are between `2` and `10`. Defaults to `10`. Only valid in conjunction with `health_check_path`"},"health_check_path":{"type":"TypeString","optional":true,"description":"The path to be checked for this function app health."},"http2_enabled":{"type":"TypeBool","optional":true,"default":false,"description":"Specifies if the http2 protocol should be enabled. Defaults to `false`."},"ip_restriction":{"type":"TypeList","optional":true,"elem":{"schema":{"action":{"type":"TypeString","optional":true,"default":"Allow","description":"The action to take. Possible values are `Allow` or `Deny`."},"description":{"type":"TypeString","optional":true,"description":"The description of the IP restriction rule."},"headers":{"type":"TypeList","configMode":"Auto","optional":true,"elem":{"schema":{"x_azure_fdid":{"type":"TypeList","optional":true,"description":"Specifies a list of Azure Front Door IDs.","elem":{"type":"TypeString"},"maxItems":8},"x_fd_health_probe":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"maxItems":1},"x_forwarded_for":{"type":"TypeList","optional":true,"description":"Specifies a list of addresses for which matching should be applied. Omitting this value means allow any.","elem":{"type":"TypeString"},"maxItems":8},"x_forwarded_host":{"type":"TypeList","optional":true,"description":"Specifies a list of Hosts for which matching should be applied.","elem":{"type":"TypeString"},"maxItems":8}}},"maxItems":1},"ip_address":{"type":"TypeString","optional":true,"description":"The CIDR notation of the IP or IP Range to match. For example: `10.0.0.0/24` or `192.168.10.1/32` or `fe80::/64` or `13.107.6.152/31,13.107.128.0/22`"},"name":{"type":"TypeString","optional":true,"description":"The name which should be used for this `ip_restriction`.","computed":true},"priority":{"type":"TypeInt","optional":true,"default":65000,"description":"The priority value of this `ip_restriction`."},"service_tag":{"type":"TypeString","optional":true,"description":"The Service Tag used for this IP Restriction."},"virtual_network_subnet_id":{"type":"TypeString","optional":true,"description":"The Virtual Network Subnet ID used for this IP Restriction."}}}},"ip_restriction_default_action":{"type":"TypeString","optional":true,"default":"Allow"},"load_balancing_mode":{"type":"TypeString","optional":true,"default":"LeastRequests","description":"The Site load balancing mode. Possible values include: `WeightedRoundRobin`, `LeastRequests`, `LeastResponseTime`, `WeightedTotalTraffic`, `RequestHash`, `PerSiteRoundRobin`. Defaults to `LeastRequests` if omitted."},"managed_pipeline_mode":{"type":"TypeString","optional":true,"default":"Integrated","description":"The Managed Pipeline mode. Possible values include: `Integrated`, `Classic`. Defaults to `Integrated`."},"minimum_tls_version":{"type":"TypeString","optional":true,"default":"1.2","description":"The configures the minimum version of TLS required for SSL requests. Possible values include: `1.0`, `1.1`, and `1.2`. Defaults to `1.2`."},"pre_warmed_instance_count":{"type":"TypeInt","optional":true,"description":"The number of pre-warmed instances for this function app. Only affects apps on an Elastic Premium plan.","computed":true},"remote_debugging_enabled":{"type":"TypeBool","optional":true,"default":false,"description":"Should Remote Debugging be enabled. Defaults to `false`."},"remote_debugging_version":{"type":"TypeString","optional":true,"description":"The Remote Debugging Version. Possible values include `VS2017`, `VS2019`, and `VS2022`","computed":true},"runtime_scale_monitoring_enabled":{"type":"TypeBool","optional":true,"description":"Should Functions Runtime Scale Monitoring be enabled."},"scm_ip_restriction":{"type":"TypeList","optional":true,"elem":{"schema":{"action":{"type":"TypeString","optional":true,"default":"Allow","description":"The action to take. Possible values are `Allow` or `Deny`."},"description":{"type":"TypeString","optional":true,"description":"The description of the IP restriction rule."},"headers":{"type":"TypeList","configMode":"Auto","optional":true,"elem":{"schema":{"x_azure_fdid":{"type":"TypeList","optional":true,"description":"Specifies a list of Azure Front Door IDs.","elem":{"type":"TypeString"},"maxItems":8},"x_fd_health_probe":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"maxItems":1},"x_forwarded_for":{"type":"TypeList","optional":true,"description":"Specifies a list of addresses for which matching should be applied. Omitting this value means allow any.","elem":{"type":"TypeString"},"maxItems":8},"x_forwarded_host":{"type":"TypeList","optional":true,"description":"Specifies a list of Hosts for which matching should be applied.","elem":{"type":"TypeString"},"maxItems":8}}},"maxItems":1},"ip_address":{"type":"TypeString","optional":true,"description":"The CIDR notation of the IP or IP Range to match. For example: `10.0.0.0/24` or `192.168.10.1/32` or `fe80::/64` or `13.107.6.152/31,13.107.128.0/22`"},"name":{"type":"TypeString","optional":true,"description":"The name which should be used for this `ip_restriction`.","computed":true},"priority":{"type":"TypeInt","optional":true,"default":65000,"description":"The priority value of this `ip_restriction`."},"service_tag":{"type":"TypeString","optional":true,"description":"The Service Tag used for this IP Restriction."},"virtual_network_subnet_id":{"type":"TypeString","optional":true,"description":"The Virtual Network Subnet ID used for this IP Restriction."}}}},"scm_ip_restriction_default_action":{"type":"TypeString","optional":true,"default":"Allow"},"scm_minimum_tls_version":{"type":"TypeString","optional":true,"default":"1.2","description":"Configures the minimum version of TLS required for SSL requests to the SCM site Possible values include: `1.0`, `1.1`, and `1.2`. Defaults to `1.2`."},"scm_type":{"type":"TypeString","description":"The SCM Type in use by the Windows Function App.","computed":true},"scm_use_main_ip_restriction":{"type":"TypeBool","optional":true,"default":false,"description":"Should the Windows Function App `ip_restriction` configuration be used for the SCM also."},"use_32_bit_worker":{"type":"TypeBool","optional":true,"default":true,"description":"Should the Windows Function App use a 32-bit worker."},"vnet_route_all_enabled":{"type":"TypeBool","optional":true,"default":false,"description":"Should all outbound traffic to have Virtual Network Security Groups and User Defined Routes applied? Defaults to `false`."},"websockets_enabled":{"type":"TypeBool","optional":true,"default":false,"description":"Should Web Sockets be enabled. Defaults to `false`."},"windows_fx_version":{"type":"TypeString","description":"The Windows FX Version string.","computed":true},"worker_count":{"type":"TypeInt","optional":true,"description":"The number of Workers for this Windows Function App.","computed":true}}},"maxItems":1},"site_credential":{"type":"TypeList","computed":true,"elem":{"schema":{"name":{"type":"TypeString","description":"The Site Credentials Username used for publishing.","computed":true},"password":{"type":"TypeString","description":"The Site Credentials Password used for publishing.","computed":true}}}},"storage_account":{"type":"TypeSet","optional":true,"elem":{"schema":{"access_key":{"type":"TypeString","required":true},"account_name":{"type":"TypeString","required":true},"mount_path":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true},"share_name":{"type":"TypeString","required":true},"type":{"type":"TypeString","required":true}}}},"storage_account_access_key":{"type":"TypeString","optional":true,"description":"The access key which will be used to access the storage account for the Function App Slot."},"storage_account_name":{"type":"TypeString","optional":true,"description":"The backend storage account name which will be used by this Function App Slot."},"storage_key_vault_secret_id":{"type":"TypeString","optional":true,"description":"The Key Vault Secret ID, including version, that contains the Connection String to connect to the storage account for this Function App."},"storage_uses_managed_identity":{"type":"TypeBool","optional":true,"default":false,"description":"Should the Function App Slot use its Managed Identity to access storage?"},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"virtual_network_subnet_id":{"type":"TypeString","optional":true},"vnet_image_pull_enabled":{"type":"TypeBool","optional":true,"default":false,"description":"Is container image pull over virtual network enabled? Defaults to `false`."},"webdeploy_publish_basic_authentication_enabled":{"type":"TypeBool","optional":true,"default":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_windows_virtual_machine":{"schema":{"additional_capabilities":{"type":"TypeList","optional":true,"elem":{"schema":{"hibernation_enabled":{"type":"TypeBool","optional":true,"default":false},"ultra_ssd_enabled":{"type":"TypeBool","optional":true,"default":false}}},"maxItems":1},"additional_unattend_content":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"content":{"type":"TypeString","required":true,"forceNew":true},"setting":{"type":"TypeString","required":true,"forceNew":true}}}},"admin_password":{"type":"TypeString","required":true,"forceNew":true},"admin_username":{"type":"TypeString","required":true,"forceNew":true},"allow_extension_operations":{"type":"TypeBool","optional":true,"default":true},"availability_set_id":{"type":"TypeString","optional":true,"forceNew":true},"boot_diagnostics":{"type":"TypeList","optional":true,"elem":{"schema":{"storage_account_uri":{"type":"TypeString","optional":true}}},"maxItems":1},"bypass_platform_safety_checks_on_user_schedule_enabled":{"type":"TypeBool","optional":true,"default":false},"capacity_reservation_group_id":{"type":"TypeString","optional":true},"computer_name":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"custom_data":{"type":"TypeString","optional":true,"forceNew":true},"dedicated_host_group_id":{"type":"TypeString","optional":true},"dedicated_host_id":{"type":"TypeString","optional":true},"disk_controller_type":{"type":"TypeString","optional":true,"computed":true},"edge_zone":{"type":"TypeString","optional":true,"forceNew":true},"enable_automatic_updates":{"type":"TypeBool","optional":true,"default":true,"forceNew":true},"encryption_at_host_enabled":{"type":"TypeBool","optional":true},"eviction_policy":{"type":"TypeString","optional":true,"forceNew":true},"extensions_time_budget":{"type":"TypeString","optional":true,"default":"PT1H30M"},"gallery_application":{"type":"TypeList","optional":true,"elem":{"schema":{"automatic_upgrade_enabled":{"type":"TypeBool","optional":true,"default":false},"configuration_blob_uri":{"type":"TypeString","optional":true},"order":{"type":"TypeInt","optional":true,"default":0},"tag":{"type":"TypeString","optional":true},"treat_failure_as_deployment_failure_enabled":{"type":"TypeBool","optional":true,"default":false},"version_id":{"type":"TypeString","required":true}}},"maxItems":100},"hotpatching_enabled":{"type":"TypeBool","optional":true,"default":false},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"license_type":{"type":"TypeString","optional":true},"location":{"type":"TypeString","required":true,"forceNew":true},"max_bid_price":{"type":"TypeFloat","optional":true,"default":-1},"name":{"type":"TypeString","required":true,"forceNew":true},"network_interface_ids":{"type":"TypeList","required":true,"elem":{"type":"TypeString"},"minItems":1},"os_disk":{"type":"TypeList","required":true,"elem":{"schema":{"caching":{"type":"TypeString","required":true},"diff_disk_settings":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"option":{"type":"TypeString","required":true,"forceNew":true},"placement":{"type":"TypeString","optional":true,"default":"CacheDisk","forceNew":true}}},"maxItems":1},"disk_encryption_set_id":{"type":"TypeString","optional":true},"disk_size_gb":{"type":"TypeInt","optional":true,"computed":true},"name":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"secure_vm_disk_encryption_set_id":{"type":"TypeString","optional":true,"forceNew":true},"security_encryption_type":{"type":"TypeString","optional":true,"forceNew":true},"storage_account_type":{"type":"TypeString","required":true,"forceNew":true},"write_accelerator_enabled":{"type":"TypeBool","optional":true,"default":false}}},"maxItems":1},"os_image_notification":{"type":"TypeList","optional":true,"elem":{"schema":{"timeout":{"type":"TypeString","optional":true,"default":"PT15M"}}},"maxItems":1},"patch_assessment_mode":{"type":"TypeString","optional":true,"default":"ImageDefault"},"patch_mode":{"type":"TypeString","optional":true,"default":"AutomaticByOS"},"plan":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"name":{"type":"TypeString","required":true,"forceNew":true},"product":{"type":"TypeString","required":true,"forceNew":true},"publisher":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"platform_fault_domain":{"type":"TypeInt","optional":true,"default":-1,"forceNew":true},"priority":{"type":"TypeString","optional":true,"default":"Regular","forceNew":true},"private_ip_address":{"type":"TypeString","computed":true},"private_ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"provision_vm_agent":{"type":"TypeBool","optional":true,"default":true,"forceNew":true},"proximity_placement_group_id":{"type":"TypeString","optional":true},"public_ip_address":{"type":"TypeString","computed":true},"public_ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"reboot_setting":{"type":"TypeString","optional":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"secret":{"type":"TypeList","optional":true,"elem":{"schema":{"certificate":{"type":"TypeSet","required":true,"elem":{"schema":{"store":{"type":"TypeString","required":true},"url":{"type":"TypeString","required":true}}},"minItems":1},"key_vault_id":{"type":"TypeString","required":true}}}},"secure_boot_enabled":{"type":"TypeBool","optional":true,"forceNew":true},"size":{"type":"TypeString","required":true},"source_image_id":{"type":"TypeString","optional":true,"forceNew":true},"source_image_reference":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"offer":{"type":"TypeString","required":true,"forceNew":true},"publisher":{"type":"TypeString","required":true,"forceNew":true},"sku":{"type":"TypeString","required":true,"forceNew":true},"version":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"termination_notification":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"enabled":{"type":"TypeBool","required":true},"timeout":{"type":"TypeString","optional":true,"default":"PT5M"}}},"maxItems":1},"timezone":{"type":"TypeString","optional":true,"forceNew":true},"user_data":{"type":"TypeString","optional":true},"virtual_machine_id":{"type":"TypeString","computed":true},"virtual_machine_scale_set_id":{"type":"TypeString","optional":true},"vm_agent_platform_updates_enabled":{"type":"TypeBool","optional":true,"default":false},"vtpm_enabled":{"type":"TypeBool","optional":true,"forceNew":true},"winrm_listener":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"schema":{"certificate_url":{"type":"TypeString","optional":true,"forceNew":true},"protocol":{"type":"TypeString","required":true,"forceNew":true}}}},"zone":{"type":"TypeString","optional":true,"forceNew":true}},"timeouts":{"create":45,"read":5,"delete":45,"update":45}},"azurerm_windows_virtual_machine_scale_set":{"schema":{"additional_capabilities":{"type":"TypeList","optional":true,"elem":{"schema":{"ultra_ssd_enabled":{"type":"TypeBool","optional":true,"default":false,"forceNew":true}}},"maxItems":1},"additional_unattend_content":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"content":{"type":"TypeString","required":true,"forceNew":true},"setting":{"type":"TypeString","required":true,"forceNew":true}}}},"admin_password":{"type":"TypeString","required":true,"forceNew":true},"admin_username":{"type":"TypeString","required":true,"forceNew":true},"automatic_instance_repair":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"action":{"type":"TypeString","optional":true,"computed":true},"enabled":{"type":"TypeBool","required":true},"grace_period":{"type":"TypeString","optional":true,"computed":true}}},"maxItems":1},"automatic_os_upgrade_policy":{"type":"TypeList","optional":true,"elem":{"schema":{"disable_automatic_rollback":{"type":"TypeBool","required":true},"enable_automatic_os_upgrade":{"type":"TypeBool","required":true}}},"maxItems":1},"boot_diagnostics":{"type":"TypeList","optional":true,"elem":{"schema":{"storage_account_uri":{"type":"TypeString","optional":true}}},"maxItems":1},"capacity_reservation_group_id":{"type":"TypeString","optional":true,"forceNew":true},"computer_name_prefix":{"type":"TypeString","optional":true,"computed":true,"forceNew":true},"custom_data":{"type":"TypeString","optional":true},"data_disk":{"type":"TypeList","optional":true,"elem":{"schema":{"caching":{"type":"TypeString","required":true},"create_option":{"type":"TypeString","optional":true,"default":"Empty"},"disk_encryption_set_id":{"type":"TypeString","optional":true,"forceNew":true},"disk_size_gb":{"type":"TypeInt","required":true},"lun":{"type":"TypeInt","required":true},"name":{"type":"TypeString","optional":true},"storage_account_type":{"type":"TypeString","required":true},"ultra_ssd_disk_iops_read_write":{"type":"TypeInt","optional":true,"computed":true},"ultra_ssd_disk_mbps_read_write":{"type":"TypeInt","optional":true,"computed":true},"write_accelerator_enabled":{"type":"TypeBool","optional":true,"default":false}}}},"do_not_run_extensions_on_overprovisioned_machines":{"type":"TypeBool","optional":true,"default":false},"edge_zone":{"type":"TypeString","optional":true,"forceNew":true},"enable_automatic_updates":{"type":"TypeBool","optional":true,"default":true},"encryption_at_host_enabled":{"type":"TypeBool","optional":true},"eviction_policy":{"type":"TypeString","optional":true,"forceNew":true},"extension":{"type":"TypeSet","optional":true,"computed":true,"elem":{"schema":{"auto_upgrade_minor_version":{"type":"TypeBool","optional":true,"default":true},"automatic_upgrade_enabled":{"type":"TypeBool","optional":true,"default":false},"force_update_tag":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true},"protected_settings":{"type":"TypeString","optional":true},"protected_settings_from_key_vault":{"type":"TypeList","optional":true,"elem":{"schema":{"secret_url":{"type":"TypeString","required":true},"source_vault_id":{"type":"TypeString","required":true}}},"maxItems":1},"provision_after_extensions":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"publisher":{"type":"TypeString","required":true},"settings":{"type":"TypeString","optional":true},"type":{"type":"TypeString","required":true},"type_handler_version":{"type":"TypeString","required":true}}}},"extension_operations_enabled":{"type":"TypeBool","optional":true,"default":true,"forceNew":true},"extensions_time_budget":{"type":"TypeString","optional":true,"default":"PT1H30M"},"gallery_application":{"type":"TypeList","optional":true,"elem":{"schema":{"configuration_blob_uri":{"type":"TypeString","optional":true,"forceNew":true},"order":{"type":"TypeInt","optional":true,"default":0,"forceNew":true},"tag":{"type":"TypeString","optional":true,"forceNew":true},"version_id":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":100},"health_probe_id":{"type":"TypeString","optional":true},"host_group_id":{"type":"TypeString","optional":true,"forceNew":true},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"instances":{"type":"TypeInt","required":true},"license_type":{"type":"TypeString","optional":true},"location":{"type":"TypeString","required":true,"forceNew":true},"max_bid_price":{"type":"TypeFloat","optional":true,"default":-1},"name":{"type":"TypeString","required":true,"forceNew":true},"network_interface":{"type":"TypeList","required":true,"elem":{"schema":{"dns_servers":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"enable_accelerated_networking":{"type":"TypeBool","optional":true,"default":false},"enable_ip_forwarding":{"type":"TypeBool","optional":true,"default":false},"ip_configuration":{"type":"TypeList","required":true,"elem":{"schema":{"application_gateway_backend_address_pool_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"application_security_group_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":20},"load_balancer_backend_address_pool_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"load_balancer_inbound_nat_rules_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true},"primary":{"type":"TypeBool","optional":true,"default":false},"public_ip_address":{"type":"TypeList","optional":true,"elem":{"schema":{"domain_name_label":{"type":"TypeString","optional":true},"idle_timeout_in_minutes":{"type":"TypeInt","optional":true,"computed":true},"ip_tag":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"tag":{"type":"TypeString","required":true,"forceNew":true},"type":{"type":"TypeString","required":true,"forceNew":true}}}},"name":{"type":"TypeString","required":true},"public_ip_prefix_id":{"type":"TypeString","optional":true,"forceNew":true},"version":{"type":"TypeString","optional":true,"default":"IPv4","forceNew":true}}}},"subnet_id":{"type":"TypeString","optional":true},"version":{"type":"TypeString","optional":true,"default":"IPv4"}}}},"name":{"type":"TypeString","required":true,"forceNew":true},"network_security_group_id":{"type":"TypeString","optional":true},"primary":{"type":"TypeBool","optional":true,"default":false}}}},"os_disk":{"type":"TypeList","required":true,"elem":{"schema":{"caching":{"type":"TypeString","required":true},"diff_disk_settings":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"option":{"type":"TypeString","required":true,"forceNew":true},"placement":{"type":"TypeString","optional":true,"default":"CacheDisk","forceNew":true}}},"maxItems":1},"disk_encryption_set_id":{"type":"TypeString","optional":true,"forceNew":true},"disk_size_gb":{"type":"TypeInt","optional":true,"computed":true},"secure_vm_disk_encryption_set_id":{"type":"TypeString","optional":true,"forceNew":true},"security_encryption_type":{"type":"TypeString","optional":true,"forceNew":true},"storage_account_type":{"type":"TypeString","required":true,"forceNew":true},"write_accelerator_enabled":{"type":"TypeBool","optional":true,"default":false}}},"maxItems":1},"overprovision":{"type":"TypeBool","optional":true,"default":true},"plan":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"name":{"type":"TypeString","required":true,"forceNew":true},"product":{"type":"TypeString","required":true,"forceNew":true},"publisher":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"platform_fault_domain_count":{"type":"TypeInt","optional":true,"computed":true,"forceNew":true},"priority":{"type":"TypeString","optional":true,"default":"Regular","forceNew":true},"provision_vm_agent":{"type":"TypeBool","optional":true,"default":true,"forceNew":true},"proximity_placement_group_id":{"type":"TypeString","optional":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"rolling_upgrade_policy":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"cross_zone_upgrades_enabled":{"type":"TypeBool","optional":true},"max_batch_instance_percent":{"type":"TypeInt","required":true},"max_unhealthy_instance_percent":{"type":"TypeInt","required":true},"max_unhealthy_upgraded_instance_percent":{"type":"TypeInt","required":true},"maximum_surge_instances_enabled":{"type":"TypeBool","optional":true},"pause_time_between_batches":{"type":"TypeString","required":true},"prioritize_unhealthy_instances_enabled":{"type":"TypeBool","optional":true}}},"maxItems":1},"scale_in":{"type":"TypeList","optional":true,"elem":{"schema":{"force_deletion_enabled":{"type":"TypeBool","optional":true,"default":false},"rule":{"type":"TypeString","optional":true,"default":"Default"}}},"maxItems":1},"secret":{"type":"TypeList","optional":true,"elem":{"schema":{"certificate":{"type":"TypeSet","required":true,"elem":{"schema":{"store":{"type":"TypeString","required":true},"url":{"type":"TypeString","required":true}}},"minItems":1},"key_vault_id":{"type":"TypeString","required":true}}}},"secure_boot_enabled":{"type":"TypeBool","optional":true,"forceNew":true},"single_placement_group":{"type":"TypeBool","optional":true,"default":true},"sku":{"type":"TypeString","required":true},"source_image_id":{"type":"TypeString","optional":true},"source_image_reference":{"type":"TypeList","optional":true,"elem":{"schema":{"offer":{"type":"TypeString","required":true,"forceNew":true},"publisher":{"type":"TypeString","required":true,"forceNew":true},"sku":{"type":"TypeString","required":true},"version":{"type":"TypeString","required":true}}},"maxItems":1},"spot_restore":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"enabled":{"type":"TypeBool","optional":true,"default":false,"forceNew":true},"timeout":{"type":"TypeString","optional":true,"default":"PT1H","forceNew":true}}},"maxItems":1},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"termination_notification":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"enabled":{"type":"TypeBool","required":true},"timeout":{"type":"TypeString","optional":true,"default":"PT5M"}}},"maxItems":1},"timezone":{"type":"TypeString","optional":true},"unique_id":{"type":"TypeString","computed":true},"upgrade_mode":{"type":"TypeString","optional":true,"default":"Manual","forceNew":true},"user_data":{"type":"TypeString","optional":true},"vtpm_enabled":{"type":"TypeBool","optional":true,"forceNew":true},"winrm_listener":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"schema":{"certificate_url":{"type":"TypeString","optional":true,"forceNew":true},"protocol":{"type":"TypeString","required":true,"forceNew":true}}}},"zone_balance":{"type":"TypeBool","optional":true,"default":false,"forceNew":true},"zones":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":60,"read":5,"delete":60,"update":60}},"azurerm_windows_web_app":{"schema":{"app_settings":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"auth_settings":{"type":"TypeList","optional":true,"elem":{"schema":{"active_directory":{"type":"TypeList","optional":true,"elem":{"schema":{"allowed_audiences":{"type":"TypeList","optional":true,"description":"Specifies a list of Allowed audience values to consider when validating JWTs issued by Azure Active Directory.","elem":{"type":"TypeString"}},"client_id":{"type":"TypeString","required":true,"description":"The ID of the Client to use to authenticate with Azure Active Directory."},"client_secret":{"type":"TypeString","optional":true,"description":"The Client Secret for the Client ID. Cannot be used with `client_secret_setting_name`."},"client_secret_setting_name":{"type":"TypeString","optional":true,"description":"The App Setting name that contains the client secret of the Client. Cannot be used with `client_secret`."}}},"maxItems":1},"additional_login_parameters":{"type":"TypeMap","optional":true,"description":"Specifies a map of Login Parameters to send to the OpenID Connect authorization endpoint when a user logs in.","elem":{"type":"TypeString"}},"allowed_external_redirect_urls":{"type":"TypeList","optional":true,"description":"Specifies a list of External URLs that can be redirected to as part of logging in or logging out of the Windows Web App.","computed":true,"elem":{"type":"TypeString"}},"default_provider":{"type":"TypeString","optional":true,"description":"The default authentication provider to use when multiple providers are configured. Possible values include: `AzureActiveDirectory`, `Facebook`, `Google`, `MicrosoftAccount`, `Twitter`, `Github`.","computed":true},"enabled":{"type":"TypeBool","required":true,"description":"Should the Authentication / Authorization feature be enabled?"},"facebook":{"type":"TypeList","optional":true,"elem":{"schema":{"app_id":{"type":"TypeString","required":true,"description":"The App ID of the Facebook app used for login."},"app_secret":{"type":"TypeString","optional":true,"description":"The App Secret of the Facebook app used for Facebook Login. Cannot be specified with `app_secret_setting_name`."},"app_secret_setting_name":{"type":"TypeString","optional":true,"description":"The app setting name that contains the `app_secret` value used for Facebook Login. Cannot be specified with `app_secret`."},"oauth_scopes":{"type":"TypeList","optional":true,"description":"Specifies a list of OAuth 2.0 scopes to be requested as part of Facebook Login authentication.","elem":{"type":"TypeString"}}}},"maxItems":1},"github":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","required":true,"description":"The ID of the GitHub app used for login."},"client_secret":{"type":"TypeString","optional":true,"description":"The Client Secret of the GitHub app used for GitHub Login. Cannot be specified with `client_secret_setting_name`."},"client_secret_setting_name":{"type":"TypeString","optional":true,"description":"The app setting name that contains the `client_secret` value used for GitHub Login. Cannot be specified with `client_secret`."},"oauth_scopes":{"type":"TypeList","optional":true,"description":"Specifies a list of OAuth 2.0 scopes that will be requested as part of GitHub Login authentication.","elem":{"type":"TypeString"}}}},"maxItems":1},"google":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","required":true,"description":"The OpenID Connect Client ID for the Google web application."},"client_secret":{"type":"TypeString","optional":true,"description":"The client secret associated with the Google web application. Cannot be specified with `client_secret_setting_name`."},"client_secret_setting_name":{"type":"TypeString","optional":true,"description":"The app setting name that contains the `client_secret` value used for Google Login. Cannot be specified with `client_secret`."},"oauth_scopes":{"type":"TypeList","optional":true,"description":"Specifies a list of OAuth 2.0 scopes that will be requested as part of Google Sign-In authentication. If not specified, \"openid\", \"profile\", and \"email\" are used as default scopes.","elem":{"type":"TypeString"}}}},"maxItems":1},"issuer":{"type":"TypeString","optional":true,"description":"The OpenID Connect Issuer URI that represents the entity which issues access tokens."},"microsoft":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","required":true,"description":"The OAuth 2.0 client ID that was created for the app used for authentication."},"client_secret":{"type":"TypeString","optional":true,"description":"The OAuth 2.0 client secret that was created for the app used for authentication. Cannot be specified with `client_secret_setting_name`."},"client_secret_setting_name":{"type":"TypeString","optional":true,"description":"The app setting name containing the OAuth 2.0 client secret that was created for the app used for authentication. Cannot be specified with `client_secret`."},"oauth_scopes":{"type":"TypeList","optional":true,"description":"The list of OAuth 2.0 scopes that will be requested as part of Microsoft Account authentication. If not specified, `wl.basic` is used as the default scope.","elem":{"type":"TypeString"}}}},"maxItems":1},"runtime_version":{"type":"TypeString","optional":true,"description":"The RuntimeVersion of the Authentication / Authorization feature in use.","computed":true},"token_refresh_extension_hours":{"type":"TypeFloat","optional":true,"default":72,"description":"The number of hours after session token expiration that a session token can be used to call the token refresh API. Defaults to `72` hours."},"token_store_enabled":{"type":"TypeBool","optional":true,"default":false,"description":"Should the Windows Web App durably store platform-specific security tokens that are obtained during login flows? Defaults to `false`."},"twitter":{"type":"TypeList","optional":true,"elem":{"schema":{"consumer_key":{"type":"TypeString","required":true,"description":"The OAuth 1.0a consumer key of the Twitter application used for sign-in."},"consumer_secret":{"type":"TypeString","optional":true,"description":"The OAuth 1.0a consumer secret of the Twitter application used for sign-in. Cannot be specified with `consumer_secret_setting_name`."},"consumer_secret_setting_name":{"type":"TypeString","optional":true,"description":"The app setting name that contains the OAuth 1.0a consumer secret of the Twitter application used for sign-in. Cannot be specified with `consumer_secret`."}}},"maxItems":1},"unauthenticated_client_action":{"type":"TypeString","optional":true,"description":"The action to take when an unauthenticated client attempts to access the app. Possible values include: `RedirectToLoginPage`, `AllowAnonymous`.","computed":true}}},"maxItems":1},"auth_settings_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"active_directory_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"allowed_applications":{"type":"TypeList","optional":true,"description":"The list of allowed Applications for the Default Authorisation Policy.","elem":{"type":"TypeString"}},"allowed_audiences":{"type":"TypeList","optional":true,"description":"Specifies a list of Allowed audience values to consider when validating JWTs issued by Azure Active Directory.","elem":{"type":"TypeString"}},"allowed_groups":{"type":"TypeList","optional":true,"description":"The list of allowed Group Names for the Default Authorisation Policy.","elem":{"type":"TypeString"}},"allowed_identities":{"type":"TypeList","optional":true,"description":"The list of allowed Identities for the Default Authorisation Policy.","elem":{"type":"TypeString"}},"client_id":{"type":"TypeString","required":true,"description":"The ID of the Client to use to authenticate with Azure Active Directory."},"client_secret_certificate_thumbprint":{"type":"TypeString","optional":true,"description":"The thumbprint of the certificate used for signing purposes."},"client_secret_setting_name":{"type":"TypeString","optional":true,"description":"The App Setting name that contains the client secret of the Client."},"jwt_allowed_client_applications":{"type":"TypeList","optional":true,"description":"A list of Allowed Client Applications in the JWT Claim.","elem":{"type":"TypeString"}},"jwt_allowed_groups":{"type":"TypeList","optional":true,"description":"A list of Allowed Groups in the JWT Claim.","elem":{"type":"TypeString"}},"login_parameters":{"type":"TypeMap","optional":true,"description":"A map of key-value pairs to send to the Authorisation Endpoint when a user logs in.","elem":{"type":"TypeString"}},"tenant_auth_endpoint":{"type":"TypeString","required":true,"description":"The Azure Tenant Endpoint for the Authenticating Tenant. e.g. `https://login.microsoftonline.com/v2.0/{tenant-guid}/`."},"www_authentication_disabled":{"type":"TypeBool","optional":true,"description":"Should the www-authenticate provider should be omitted from the request? Defaults to `false`"}}},"maxItems":1},"apple_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","required":true,"description":"The OpenID Connect Client ID for the Apple web application."},"client_secret_setting_name":{"type":"TypeString","required":true,"description":"The app setting name that contains the `client_secret` value used for Apple Login."},"login_scopes":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"auth_enabled":{"type":"TypeBool","optional":true,"description":"Should the AuthV2 Settings be enabled. Defaults to `false`"},"azure_static_web_app_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","required":true,"description":"The ID of the Client to use to authenticate with Azure Static Web App Authentication."}}},"maxItems":1},"config_file_path":{"type":"TypeString","optional":true,"description":"The path to the App Auth settings. **Note:** Relative Paths are evaluated from the Site Root directory."},"custom_oidc_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"authorisation_endpoint":{"type":"TypeString","description":"The endpoint to make the Authorisation Request.","computed":true},"certification_uri":{"type":"TypeString","description":"The endpoint that provides the keys necessary to validate the token.","computed":true},"client_credential_method":{"type":"TypeString","description":"The Client Credential Method used. Currently the only supported value is `ClientSecretPost`.","computed":true},"client_id":{"type":"TypeString","required":true,"description":"The ID of the Client to use to authenticate with this Custom OIDC."},"client_secret_setting_name":{"type":"TypeString","description":"The App Setting name that contains the secret for this Custom OIDC Client.","computed":true},"issuer_endpoint":{"type":"TypeString","description":"The endpoint that issued the Token.","computed":true},"name":{"type":"TypeString","required":true,"description":"The name of the Custom OIDC Authentication Provider."},"name_claim_type":{"type":"TypeString","optional":true,"description":"The name of the claim that contains the users name."},"openid_configuration_endpoint":{"type":"TypeString","required":true,"description":"The endpoint that contains all the configuration endpoints for this Custom OIDC provider."},"scopes":{"type":"TypeList","optional":true,"description":"The list of the scopes that should be requested while authenticating.","elem":{"type":"TypeString"}},"token_endpoint":{"type":"TypeString","description":"The endpoint used to request a Token.","computed":true}}}},"default_provider":{"type":"TypeString","optional":true,"description":"The Default Authentication Provider to use when the `unauthenticated_action` is set to `RedirectToLoginPage`. Possible values include: `apple`, `azureactivedirectory`, `facebook`, `github`, `google`, `twitter` and the `name` of your `custom_oidc_v2` provider."},"excluded_paths":{"type":"TypeList","optional":true,"description":"The paths which should be excluded from the `unauthenticated_action` when it is set to `RedirectToLoginPage`.","elem":{"type":"TypeString"}},"facebook_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"app_id":{"type":"TypeString","required":true,"description":"The App ID of the Facebook app used for login."},"app_secret_setting_name":{"type":"TypeString","required":true,"description":"The app setting name that contains the `app_secret` value used for Facebook Login."},"graph_api_version":{"type":"TypeString","optional":true,"description":"The version of the Facebook API to be used while logging in.","computed":true},"login_scopes":{"type":"TypeList","optional":true,"description":"Specifies a list of scopes to be requested as part of Facebook Login authentication.","elem":{"type":"TypeString"}}}},"maxItems":1},"forward_proxy_convention":{"type":"TypeString","optional":true,"default":"NoProxy","description":"The convention used to determine the url of the request made. Possible values include `ForwardProxyConventionNoProxy`, `ForwardProxyConventionStandard`, `ForwardProxyConventionCustom`. Defaults to `ForwardProxyConventionNoProxy`"},"forward_proxy_custom_host_header_name":{"type":"TypeString","optional":true,"description":"The name of the header containing the host of the request."},"forward_proxy_custom_scheme_header_name":{"type":"TypeString","optional":true,"description":"The name of the header containing the scheme of the request."},"github_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","required":true,"description":"The ID of the GitHub app used for login."},"client_secret_setting_name":{"type":"TypeString","required":true,"description":"The app setting name that contains the `client_secret` value used for GitHub Login."},"login_scopes":{"type":"TypeList","optional":true,"description":"Specifies a list of OAuth 2.0 scopes that will be requested as part of GitHub Login authentication.","elem":{"type":"TypeString"}}}},"maxItems":1},"google_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"allowed_audiences":{"type":"TypeList","optional":true,"description":"Specifies a list of Allowed Audiences that will be requested as part of Google Sign-In authentication.","elem":{"type":"TypeString"}},"client_id":{"type":"TypeString","required":true,"description":"The OpenID Connect Client ID for the Google web application."},"client_secret_setting_name":{"type":"TypeString","required":true,"description":"The app setting name that contains the `client_secret` value used for Google Login."},"login_scopes":{"type":"TypeList","optional":true,"description":"Specifies a list of Login scopes that will be requested as part of Google Sign-In authentication.","elem":{"type":"TypeString"}}}},"maxItems":1},"http_route_api_prefix":{"type":"TypeString","optional":true,"default":"/.auth","description":"The prefix that should precede all the authentication and authorisation paths. Defaults to `/.auth`"},"login":{"type":"TypeList","required":true,"elem":{"schema":{"allowed_external_redirect_urls":{"type":"TypeList","optional":true,"description":"External URLs that can be redirected to as part of logging in or logging out of the app. This is an advanced setting typically only needed by Windows Store application backends. **Note:** URLs within the current domain are always implicitly allowed.","elem":{"type":"TypeString"}},"cookie_expiration_convention":{"type":"TypeString","optional":true,"default":"FixedTime","description":"The method by which cookies expire. Possible values include: `FixedTime`, and `IdentityProviderDerived`. Defaults to `FixedTime`."},"cookie_expiration_time":{"type":"TypeString","optional":true,"default":"08:00:00","description":"The time after the request is made when the session cookie should expire. Defaults to `08:00:00`."},"logout_endpoint":{"type":"TypeString","optional":true,"description":"The endpoint to which logout requests should be made."},"nonce_expiration_time":{"type":"TypeString","optional":true,"default":"00:05:00","description":"The time after the request is made when the nonce should expire. Defaults to `00:05:00`."},"preserve_url_fragments_for_logins":{"type":"TypeBool","optional":true,"default":false,"description":"Should the fragments from the request be preserved after the login request is made. Defaults to `false`."},"token_refresh_extension_time":{"type":"TypeFloat","optional":true,"default":72,"description":"The number of hours after session token expiration that a session token can be used to call the token refresh API. Defaults to `72` hours."},"token_store_enabled":{"type":"TypeBool","optional":true,"default":false,"description":"Should the Token Store configuration Enabled. Defaults to `false`"},"token_store_path":{"type":"TypeString","optional":true,"description":"The directory path in the App Filesystem in which the tokens will be stored."},"token_store_sas_setting_name":{"type":"TypeString","optional":true,"description":"The name of the app setting which contains the SAS URL of the blob storage containing the tokens."},"validate_nonce":{"type":"TypeBool","optional":true,"default":true,"description":"Should the nonce be validated while completing the login flow. Defaults to `true`."}}},"maxItems":1},"microsoft_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"allowed_audiences":{"type":"TypeList","optional":true,"description":"Specifies a list of Allowed Audiences that will be requested as part of Microsoft Sign-In authentication.","elem":{"type":"TypeString"}},"client_id":{"type":"TypeString","required":true,"description":"The OAuth 2.0 client ID that was created for the app used for authentication."},"client_secret_setting_name":{"type":"TypeString","required":true,"description":"The app setting name containing the OAuth 2.0 client secret that was created for the app used for authentication."},"login_scopes":{"type":"TypeList","optional":true,"description":"The list of Login scopes that will be requested as part of Microsoft Account authentication.","elem":{"type":"TypeString"}}}},"maxItems":1},"require_authentication":{"type":"TypeBool","optional":true,"description":"Should the authentication flow be used for all requests."},"require_https":{"type":"TypeBool","optional":true,"default":true,"description":"Should HTTPS be required on connections? Defaults to true."},"runtime_version":{"type":"TypeString","optional":true,"default":"~1","description":"The Runtime Version of the Authentication and Authorisation feature of this App. Defaults to `~1`"},"twitter_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"consumer_key":{"type":"TypeString","required":true,"description":"The OAuth 1.0a consumer key of the Twitter application used for sign-in."},"consumer_secret_setting_name":{"type":"TypeString","required":true,"description":"The app setting name that contains the OAuth 1.0a consumer secret of the Twitter application used for sign-in."}}},"maxItems":1},"unauthenticated_action":{"type":"TypeString","optional":true,"default":"RedirectToLoginPage","description":"The action to take for requests made without authentication. Possible values include `RedirectToLoginPage`, `AllowAnonymous`, `Return401`, and `Return403`. Defaults to `RedirectToLoginPage`."}}},"maxItems":1},"backup":{"type":"TypeList","optional":true,"elem":{"schema":{"enabled":{"type":"TypeBool","optional":true,"default":true,"description":"Should this backup job be enabled?"},"name":{"type":"TypeString","required":true,"description":"The name which should be used for this Backup."},"schedule":{"type":"TypeList","required":true,"elem":{"schema":{"frequency_interval":{"type":"TypeInt","required":true,"description":"How often the backup should be executed (e.g. for weekly backup, this should be set to `7` and `frequency_unit` should be set to `Day`)."},"frequency_unit":{"type":"TypeString","required":true,"description":"The unit of time for how often the backup should take place. Possible values include: `Day` and `Hour`."},"keep_at_least_one_backup":{"type":"TypeBool","optional":true,"default":false,"description":"Should the service keep at least one backup, regardless of age of backup. Defaults to `false`."},"last_execution_time":{"type":"TypeString","description":"The time the backup was last attempted.","computed":true},"retention_period_days":{"type":"TypeInt","optional":true,"default":30,"description":"After how many days backups should be deleted."},"start_time":{"type":"TypeString","optional":true,"description":"When the schedule should start working in RFC-3339 format.","computed":true}}},"maxItems":1},"storage_account_url":{"type":"TypeString","required":true,"description":"The SAS URL to the container."}}},"maxItems":1},"client_affinity_enabled":{"type":"TypeBool","optional":true,"default":false},"client_certificate_enabled":{"type":"TypeBool","optional":true,"default":false},"client_certificate_exclusion_paths":{"type":"TypeString","optional":true,"description":"Paths to exclude when using client certificates, separated by ;"},"client_certificate_mode":{"type":"TypeString","optional":true,"default":"Required"},"connection_string":{"type":"TypeSet","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true,"description":"The name which should be used for this Connection."},"type":{"type":"TypeString","required":true,"description":"Type of database. Possible values include: `MySQL`, `SQLServer`, `SQLAzure`, `Custom`, `NotificationHub`, `ServiceBus`, `EventHub`, `APIHub`, `DocDb`, `RedisCache`, and `PostgreSQL`."},"value":{"type":"TypeString","required":true,"description":"The connection string value."}}}},"custom_domain_verification_id":{"type":"TypeString","computed":true},"default_hostname":{"type":"TypeString","computed":true},"enabled":{"type":"TypeBool","optional":true,"default":true},"ftp_publish_basic_authentication_enabled":{"type":"TypeBool","optional":true,"default":true},"hosting_environment_id":{"type":"TypeString","computed":true},"https_only":{"type":"TypeBool","optional":true,"default":false},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"key_vault_reference_identity_id":{"type":"TypeString","optional":true,"computed":true},"kind":{"type":"TypeString","computed":true},"location":{"type":"TypeString","required":true,"forceNew":true},"logs":{"type":"TypeList","optional":true,"elem":{"schema":{"application_logs":{"type":"TypeList","optional":true,"elem":{"schema":{"azure_blob_storage":{"type":"TypeList","optional":true,"elem":{"schema":{"level":{"type":"TypeString","required":true},"retention_in_days":{"type":"TypeInt","required":true},"sas_url":{"type":"TypeString","required":true}}},"maxItems":1},"file_system_level":{"type":"TypeString","required":true}}},"maxItems":1},"detailed_error_messages":{"type":"TypeBool","optional":true,"default":false},"failed_request_tracing":{"type":"TypeBool","optional":true,"default":false},"http_logs":{"type":"TypeList","optional":true,"elem":{"schema":{"azure_blob_storage":{"type":"TypeList","optional":true,"elem":{"schema":{"retention_in_days":{"type":"TypeInt","optional":true,"default":0},"sas_url":{"type":"TypeString","required":true}}},"maxItems":1},"file_system":{"type":"TypeList","optional":true,"elem":{"schema":{"retention_in_days":{"type":"TypeInt","required":true},"retention_in_mb":{"type":"TypeInt","required":true}}},"maxItems":1}}},"maxItems":1}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"outbound_ip_address_list":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"outbound_ip_addresses":{"type":"TypeString","computed":true},"possible_outbound_ip_address_list":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"possible_outbound_ip_addresses":{"type":"TypeString","computed":true},"public_network_access_enabled":{"type":"TypeBool","optional":true,"default":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"service_plan_id":{"type":"TypeString","required":true},"site_config":{"type":"TypeList","required":true,"elem":{"schema":{"always_on":{"type":"TypeBool","optional":true,"default":true},"api_definition_url":{"type":"TypeString","optional":true},"api_management_api_id":{"type":"TypeString","optional":true},"app_command_line":{"type":"TypeString","optional":true},"application_stack":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"current_stack":{"type":"TypeString","optional":true,"computed":true},"docker_image_name":{"type":"TypeString","optional":true},"docker_registry_password":{"type":"TypeString","optional":true},"docker_registry_url":{"type":"TypeString","optional":true},"docker_registry_username":{"type":"TypeString","optional":true},"dotnet_core_version":{"type":"TypeString","optional":true,"description":"The version of DotNetCore to use."},"dotnet_version":{"type":"TypeString","optional":true,"computed":true},"java_container":{"type":"TypeString","optional":true},"java_container_version":{"type":"TypeString","optional":true},"java_embedded_server_enabled":{"type":"TypeBool","optional":true,"description":"Should the application use the embedded web server for the version of Java in use.","computed":true},"java_version":{"type":"TypeString","optional":true},"node_version":{"type":"TypeString","optional":true},"php_version":{"type":"TypeString","optional":true,"computed":true},"python":{"type":"TypeBool","optional":true,"default":false},"tomcat_version":{"type":"TypeString","optional":true}}},"maxItems":1},"auto_heal_setting":{"type":"TypeList","optional":true,"elem":{"schema":{"action":{"type":"TypeList","required":true,"elem":{"schema":{"action_type":{"type":"TypeString","required":true},"custom_action":{"type":"TypeList","optional":true,"elem":{"schema":{"executable":{"type":"TypeString","required":true},"parameters":{"type":"TypeString","optional":true}}},"maxItems":1},"minimum_process_execution_time":{"type":"TypeString","optional":true,"computed":true}}},"maxItems":1},"trigger":{"type":"TypeList","required":true,"elem":{"schema":{"private_memory_kb":{"type":"TypeInt","optional":true},"requests":{"type":"TypeList","optional":true,"elem":{"schema":{"count":{"type":"TypeInt","required":true},"interval":{"type":"TypeString","required":true}}},"maxItems":1},"slow_request":{"type":"TypeList","optional":true,"elem":{"schema":{"count":{"type":"TypeInt","required":true},"interval":{"type":"TypeString","required":true},"time_taken":{"type":"TypeString","required":true}}},"maxItems":1},"slow_request_with_path":{"type":"TypeList","optional":true,"elem":{"schema":{"count":{"type":"TypeInt","required":true},"interval":{"type":"TypeString","required":true},"path":{"type":"TypeString","optional":true},"time_taken":{"type":"TypeString","required":true}}}},"status_code":{"type":"TypeSet","optional":true,"elem":{"schema":{"count":{"type":"TypeInt","required":true},"interval":{"type":"TypeString","required":true},"path":{"type":"TypeString","optional":true},"status_code_range":{"type":"TypeString","required":true},"sub_status":{"type":"TypeInt","optional":true},"win32_status_code":{"type":"TypeInt","optional":true}}}}}},"maxItems":1}}},"maxItems":1},"container_registry_managed_identity_client_id":{"type":"TypeString","optional":true},"container_registry_use_managed_identity":{"type":"TypeBool","optional":true,"default":false},"cors":{"type":"TypeList","optional":true,"elem":{"schema":{"allowed_origins":{"type":"TypeSet","optional":true,"description":"Specifies a list of origins that should be allowed to make cross-origin calls.","elem":{"type":"TypeString"},"minItems":1},"support_credentials":{"type":"TypeBool","optional":true,"default":false,"description":"Are credentials allowed in CORS requests? Defaults to `false`."}}},"maxItems":1},"default_documents":{"type":"TypeList","optional":true,"computed":true,"elem":{"type":"TypeString"}},"detailed_error_logging_enabled":{"type":"TypeBool","computed":true},"ftps_state":{"type":"TypeString","optional":true,"default":"Disabled"},"handler_mapping":{"type":"TypeSet","optional":true,"elem":{"schema":{"arguments":{"type":"TypeString","optional":true},"extension":{"type":"TypeString","required":true},"script_processor_path":{"type":"TypeString","required":true}}}},"health_check_eviction_time_in_min":{"type":"TypeInt","optional":true,"description":"The amount of time in minutes that a node is unhealthy before being removed from the load balancer. Possible values are between `2` and `10`. Only valid in conjunction with `health_check_path`"},"health_check_path":{"type":"TypeString","optional":true},"http2_enabled":{"type":"TypeBool","optional":true,"default":false},"ip_restriction":{"type":"TypeList","optional":true,"elem":{"schema":{"action":{"type":"TypeString","optional":true,"default":"Allow","description":"The action to take. Possible values are `Allow` or `Deny`."},"description":{"type":"TypeString","optional":true,"description":"The description of the IP restriction rule."},"headers":{"type":"TypeList","configMode":"Auto","optional":true,"elem":{"schema":{"x_azure_fdid":{"type":"TypeList","optional":true,"description":"Specifies a list of Azure Front Door IDs.","elem":{"type":"TypeString"},"maxItems":8},"x_fd_health_probe":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"maxItems":1},"x_forwarded_for":{"type":"TypeList","optional":true,"description":"Specifies a list of addresses for which matching should be applied. Omitting this value means allow any.","elem":{"type":"TypeString"},"maxItems":8},"x_forwarded_host":{"type":"TypeList","optional":true,"description":"Specifies a list of Hosts for which matching should be applied.","elem":{"type":"TypeString"},"maxItems":8}}},"maxItems":1},"ip_address":{"type":"TypeString","optional":true,"description":"The CIDR notation of the IP or IP Range to match. For example: `10.0.0.0/24` or `192.168.10.1/32` or `fe80::/64` or `13.107.6.152/31,13.107.128.0/22`"},"name":{"type":"TypeString","optional":true,"description":"The name which should be used for this `ip_restriction`.","computed":true},"priority":{"type":"TypeInt","optional":true,"default":65000,"description":"The priority value of this `ip_restriction`."},"service_tag":{"type":"TypeString","optional":true,"description":"The Service Tag used for this IP Restriction."},"virtual_network_subnet_id":{"type":"TypeString","optional":true,"description":"The Virtual Network Subnet ID used for this IP Restriction."}}}},"ip_restriction_default_action":{"type":"TypeString","optional":true,"default":"Allow"},"linux_fx_version":{"type":"TypeString","computed":true},"load_balancing_mode":{"type":"TypeString","optional":true,"default":"LeastRequests"},"local_mysql_enabled":{"type":"TypeBool","optional":true,"default":false},"managed_pipeline_mode":{"type":"TypeString","optional":true,"default":"Integrated"},"minimum_tls_version":{"type":"TypeString","optional":true,"default":"1.2"},"remote_debugging_enabled":{"type":"TypeBool","optional":true,"default":false},"remote_debugging_version":{"type":"TypeString","optional":true,"computed":true},"scm_ip_restriction":{"type":"TypeList","optional":true,"elem":{"schema":{"action":{"type":"TypeString","optional":true,"default":"Allow","description":"The action to take. Possible values are `Allow` or `Deny`."},"description":{"type":"TypeString","optional":true,"description":"The description of the IP restriction rule."},"headers":{"type":"TypeList","configMode":"Auto","optional":true,"elem":{"schema":{"x_azure_fdid":{"type":"TypeList","optional":true,"description":"Specifies a list of Azure Front Door IDs.","elem":{"type":"TypeString"},"maxItems":8},"x_fd_health_probe":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"maxItems":1},"x_forwarded_for":{"type":"TypeList","optional":true,"description":"Specifies a list of addresses for which matching should be applied. Omitting this value means allow any.","elem":{"type":"TypeString"},"maxItems":8},"x_forwarded_host":{"type":"TypeList","optional":true,"description":"Specifies a list of Hosts for which matching should be applied.","elem":{"type":"TypeString"},"maxItems":8}}},"maxItems":1},"ip_address":{"type":"TypeString","optional":true,"description":"The CIDR notation of the IP or IP Range to match. For example: `10.0.0.0/24` or `192.168.10.1/32` or `fe80::/64` or `13.107.6.152/31,13.107.128.0/22`"},"name":{"type":"TypeString","optional":true,"description":"The name which should be used for this `ip_restriction`.","computed":true},"priority":{"type":"TypeInt","optional":true,"default":65000,"description":"The priority value of this `ip_restriction`."},"service_tag":{"type":"TypeString","optional":true,"description":"The Service Tag used for this IP Restriction."},"virtual_network_subnet_id":{"type":"TypeString","optional":true,"description":"The Virtual Network Subnet ID used for this IP Restriction."}}}},"scm_ip_restriction_default_action":{"type":"TypeString","optional":true,"default":"Allow"},"scm_minimum_tls_version":{"type":"TypeString","optional":true,"default":"1.2"},"scm_type":{"type":"TypeString","computed":true},"scm_use_main_ip_restriction":{"type":"TypeBool","optional":true,"default":false},"use_32_bit_worker":{"type":"TypeBool","optional":true,"default":true},"virtual_application":{"type":"TypeSet","optional":true,"elem":{"schema":{"physical_path":{"type":"TypeString","required":true},"preload":{"type":"TypeBool","required":true},"virtual_directory":{"type":"TypeSet","optional":true,"elem":{"schema":{"physical_path":{"type":"TypeString","optional":true},"virtual_path":{"type":"TypeString","optional":true}}}},"virtual_path":{"type":"TypeString","required":true}}}},"vnet_route_all_enabled":{"type":"TypeBool","optional":true,"default":false,"description":"Should all outbound traffic to have Virtual Network Security Groups and User Defined Routes applied? Defaults to `false`."},"websockets_enabled":{"type":"TypeBool","optional":true,"default":false},"windows_fx_version":{"type":"TypeString","computed":true},"worker_count":{"type":"TypeInt","optional":true,"computed":true}}},"maxItems":1},"site_credential":{"type":"TypeList","computed":true,"elem":{"schema":{"name":{"type":"TypeString","description":"The Site Credentials Username used for publishing.","computed":true},"password":{"type":"TypeString","description":"The Site Credentials Password used for publishing.","computed":true}}}},"sticky_settings":{"type":"TypeList","optional":true,"elem":{"schema":{"app_setting_names":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"minItems":1},"connection_string_names":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"minItems":1}}},"maxItems":1},"storage_account":{"type":"TypeSet","optional":true,"elem":{"schema":{"access_key":{"type":"TypeString","required":true},"account_name":{"type":"TypeString","required":true},"mount_path":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true},"share_name":{"type":"TypeString","required":true},"type":{"type":"TypeString","required":true}}}},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"virtual_network_subnet_id":{"type":"TypeString","optional":true},"webdeploy_publish_basic_authentication_enabled":{"type":"TypeBool","optional":true,"default":true},"zip_deploy_file":{"type":"TypeString","optional":true,"description":"The local path and filename of the Zip packaged application to deploy to this Windows Web App. **Note:** Using this value requires either `WEBSITE_RUN_FROM_PACKAGE=1` or `SCM_DO_BUILD_DURING_DEPLOYMENT=true` to be set on the App in `app_settings`.","computed":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_windows_web_app_slot":{"schema":{"app_service_id":{"type":"TypeString","required":true,"forceNew":true},"app_settings":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"auth_settings":{"type":"TypeList","optional":true,"elem":{"schema":{"active_directory":{"type":"TypeList","optional":true,"elem":{"schema":{"allowed_audiences":{"type":"TypeList","optional":true,"description":"Specifies a list of Allowed audience values to consider when validating JWTs issued by Azure Active Directory.","elem":{"type":"TypeString"}},"client_id":{"type":"TypeString","required":true,"description":"The ID of the Client to use to authenticate with Azure Active Directory."},"client_secret":{"type":"TypeString","optional":true,"description":"The Client Secret for the Client ID. Cannot be used with `client_secret_setting_name`."},"client_secret_setting_name":{"type":"TypeString","optional":true,"description":"The App Setting name that contains the client secret of the Client. Cannot be used with `client_secret`."}}},"maxItems":1},"additional_login_parameters":{"type":"TypeMap","optional":true,"description":"Specifies a map of Login Parameters to send to the OpenID Connect authorization endpoint when a user logs in.","elem":{"type":"TypeString"}},"allowed_external_redirect_urls":{"type":"TypeList","optional":true,"description":"Specifies a list of External URLs that can be redirected to as part of logging in or logging out of the Windows Web App.","computed":true,"elem":{"type":"TypeString"}},"default_provider":{"type":"TypeString","optional":true,"description":"The default authentication provider to use when multiple providers are configured. Possible values include: `AzureActiveDirectory`, `Facebook`, `Google`, `MicrosoftAccount`, `Twitter`, `Github`.","computed":true},"enabled":{"type":"TypeBool","required":true,"description":"Should the Authentication / Authorization feature be enabled?"},"facebook":{"type":"TypeList","optional":true,"elem":{"schema":{"app_id":{"type":"TypeString","required":true,"description":"The App ID of the Facebook app used for login."},"app_secret":{"type":"TypeString","optional":true,"description":"The App Secret of the Facebook app used for Facebook Login. Cannot be specified with `app_secret_setting_name`."},"app_secret_setting_name":{"type":"TypeString","optional":true,"description":"The app setting name that contains the `app_secret` value used for Facebook Login. Cannot be specified with `app_secret`."},"oauth_scopes":{"type":"TypeList","optional":true,"description":"Specifies a list of OAuth 2.0 scopes to be requested as part of Facebook Login authentication.","elem":{"type":"TypeString"}}}},"maxItems":1},"github":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","required":true,"description":"The ID of the GitHub app used for login."},"client_secret":{"type":"TypeString","optional":true,"description":"The Client Secret of the GitHub app used for GitHub Login. Cannot be specified with `client_secret_setting_name`."},"client_secret_setting_name":{"type":"TypeString","optional":true,"description":"The app setting name that contains the `client_secret` value used for GitHub Login. Cannot be specified with `client_secret`."},"oauth_scopes":{"type":"TypeList","optional":true,"description":"Specifies a list of OAuth 2.0 scopes that will be requested as part of GitHub Login authentication.","elem":{"type":"TypeString"}}}},"maxItems":1},"google":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","required":true,"description":"The OpenID Connect Client ID for the Google web application."},"client_secret":{"type":"TypeString","optional":true,"description":"The client secret associated with the Google web application. Cannot be specified with `client_secret_setting_name`."},"client_secret_setting_name":{"type":"TypeString","optional":true,"description":"The app setting name that contains the `client_secret` value used for Google Login. Cannot be specified with `client_secret`."},"oauth_scopes":{"type":"TypeList","optional":true,"description":"Specifies a list of OAuth 2.0 scopes that will be requested as part of Google Sign-In authentication. If not specified, \"openid\", \"profile\", and \"email\" are used as default scopes.","elem":{"type":"TypeString"}}}},"maxItems":1},"issuer":{"type":"TypeString","optional":true,"description":"The OpenID Connect Issuer URI that represents the entity which issues access tokens."},"microsoft":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","required":true,"description":"The OAuth 2.0 client ID that was created for the app used for authentication."},"client_secret":{"type":"TypeString","optional":true,"description":"The OAuth 2.0 client secret that was created for the app used for authentication. Cannot be specified with `client_secret_setting_name`."},"client_secret_setting_name":{"type":"TypeString","optional":true,"description":"The app setting name containing the OAuth 2.0 client secret that was created for the app used for authentication. Cannot be specified with `client_secret`."},"oauth_scopes":{"type":"TypeList","optional":true,"description":"The list of OAuth 2.0 scopes that will be requested as part of Microsoft Account authentication. If not specified, `wl.basic` is used as the default scope.","elem":{"type":"TypeString"}}}},"maxItems":1},"runtime_version":{"type":"TypeString","optional":true,"description":"The RuntimeVersion of the Authentication / Authorization feature in use.","computed":true},"token_refresh_extension_hours":{"type":"TypeFloat","optional":true,"default":72,"description":"The number of hours after session token expiration that a session token can be used to call the token refresh API. Defaults to `72` hours."},"token_store_enabled":{"type":"TypeBool","optional":true,"default":false,"description":"Should the Windows Web App durably store platform-specific security tokens that are obtained during login flows? Defaults to `false`."},"twitter":{"type":"TypeList","optional":true,"elem":{"schema":{"consumer_key":{"type":"TypeString","required":true,"description":"The OAuth 1.0a consumer key of the Twitter application used for sign-in."},"consumer_secret":{"type":"TypeString","optional":true,"description":"The OAuth 1.0a consumer secret of the Twitter application used for sign-in. Cannot be specified with `consumer_secret_setting_name`."},"consumer_secret_setting_name":{"type":"TypeString","optional":true,"description":"The app setting name that contains the OAuth 1.0a consumer secret of the Twitter application used for sign-in. Cannot be specified with `consumer_secret`."}}},"maxItems":1},"unauthenticated_client_action":{"type":"TypeString","optional":true,"description":"The action to take when an unauthenticated client attempts to access the app. Possible values include: `RedirectToLoginPage`, `AllowAnonymous`.","computed":true}}},"maxItems":1},"auth_settings_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"active_directory_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"allowed_applications":{"type":"TypeList","optional":true,"description":"The list of allowed Applications for the Default Authorisation Policy.","elem":{"type":"TypeString"}},"allowed_audiences":{"type":"TypeList","optional":true,"description":"Specifies a list of Allowed audience values to consider when validating JWTs issued by Azure Active Directory.","elem":{"type":"TypeString"}},"allowed_groups":{"type":"TypeList","optional":true,"description":"The list of allowed Group Names for the Default Authorisation Policy.","elem":{"type":"TypeString"}},"allowed_identities":{"type":"TypeList","optional":true,"description":"The list of allowed Identities for the Default Authorisation Policy.","elem":{"type":"TypeString"}},"client_id":{"type":"TypeString","required":true,"description":"The ID of the Client to use to authenticate with Azure Active Directory."},"client_secret_certificate_thumbprint":{"type":"TypeString","optional":true,"description":"The thumbprint of the certificate used for signing purposes."},"client_secret_setting_name":{"type":"TypeString","optional":true,"description":"The App Setting name that contains the client secret of the Client."},"jwt_allowed_client_applications":{"type":"TypeList","optional":true,"description":"A list of Allowed Client Applications in the JWT Claim.","elem":{"type":"TypeString"}},"jwt_allowed_groups":{"type":"TypeList","optional":true,"description":"A list of Allowed Groups in the JWT Claim.","elem":{"type":"TypeString"}},"login_parameters":{"type":"TypeMap","optional":true,"description":"A map of key-value pairs to send to the Authorisation Endpoint when a user logs in.","elem":{"type":"TypeString"}},"tenant_auth_endpoint":{"type":"TypeString","required":true,"description":"The Azure Tenant Endpoint for the Authenticating Tenant. e.g. `https://login.microsoftonline.com/v2.0/{tenant-guid}/`."},"www_authentication_disabled":{"type":"TypeBool","optional":true,"description":"Should the www-authenticate provider should be omitted from the request? Defaults to `false`"}}},"maxItems":1},"apple_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","required":true,"description":"The OpenID Connect Client ID for the Apple web application."},"client_secret_setting_name":{"type":"TypeString","required":true,"description":"The app setting name that contains the `client_secret` value used for Apple Login."},"login_scopes":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"auth_enabled":{"type":"TypeBool","optional":true,"description":"Should the AuthV2 Settings be enabled. Defaults to `false`"},"azure_static_web_app_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","required":true,"description":"The ID of the Client to use to authenticate with Azure Static Web App Authentication."}}},"maxItems":1},"config_file_path":{"type":"TypeString","optional":true,"description":"The path to the App Auth settings. **Note:** Relative Paths are evaluated from the Site Root directory."},"custom_oidc_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"authorisation_endpoint":{"type":"TypeString","description":"The endpoint to make the Authorisation Request.","computed":true},"certification_uri":{"type":"TypeString","description":"The endpoint that provides the keys necessary to validate the token.","computed":true},"client_credential_method":{"type":"TypeString","description":"The Client Credential Method used. Currently the only supported value is `ClientSecretPost`.","computed":true},"client_id":{"type":"TypeString","required":true,"description":"The ID of the Client to use to authenticate with this Custom OIDC."},"client_secret_setting_name":{"type":"TypeString","description":"The App Setting name that contains the secret for this Custom OIDC Client.","computed":true},"issuer_endpoint":{"type":"TypeString","description":"The endpoint that issued the Token.","computed":true},"name":{"type":"TypeString","required":true,"description":"The name of the Custom OIDC Authentication Provider."},"name_claim_type":{"type":"TypeString","optional":true,"description":"The name of the claim that contains the users name."},"openid_configuration_endpoint":{"type":"TypeString","required":true,"description":"The endpoint that contains all the configuration endpoints for this Custom OIDC provider."},"scopes":{"type":"TypeList","optional":true,"description":"The list of the scopes that should be requested while authenticating.","elem":{"type":"TypeString"}},"token_endpoint":{"type":"TypeString","description":"The endpoint used to request a Token.","computed":true}}}},"default_provider":{"type":"TypeString","optional":true,"description":"The Default Authentication Provider to use when the `unauthenticated_action` is set to `RedirectToLoginPage`. Possible values include: `apple`, `azureactivedirectory`, `facebook`, `github`, `google`, `twitter` and the `name` of your `custom_oidc_v2` provider."},"excluded_paths":{"type":"TypeList","optional":true,"description":"The paths which should be excluded from the `unauthenticated_action` when it is set to `RedirectToLoginPage`.","elem":{"type":"TypeString"}},"facebook_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"app_id":{"type":"TypeString","required":true,"description":"The App ID of the Facebook app used for login."},"app_secret_setting_name":{"type":"TypeString","required":true,"description":"The app setting name that contains the `app_secret` value used for Facebook Login."},"graph_api_version":{"type":"TypeString","optional":true,"description":"The version of the Facebook API to be used while logging in.","computed":true},"login_scopes":{"type":"TypeList","optional":true,"description":"Specifies a list of scopes to be requested as part of Facebook Login authentication.","elem":{"type":"TypeString"}}}},"maxItems":1},"forward_proxy_convention":{"type":"TypeString","optional":true,"default":"NoProxy","description":"The convention used to determine the url of the request made. Possible values include `ForwardProxyConventionNoProxy`, `ForwardProxyConventionStandard`, `ForwardProxyConventionCustom`. Defaults to `ForwardProxyConventionNoProxy`"},"forward_proxy_custom_host_header_name":{"type":"TypeString","optional":true,"description":"The name of the header containing the host of the request."},"forward_proxy_custom_scheme_header_name":{"type":"TypeString","optional":true,"description":"The name of the header containing the scheme of the request."},"github_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"client_id":{"type":"TypeString","required":true,"description":"The ID of the GitHub app used for login."},"client_secret_setting_name":{"type":"TypeString","required":true,"description":"The app setting name that contains the `client_secret` value used for GitHub Login."},"login_scopes":{"type":"TypeList","optional":true,"description":"Specifies a list of OAuth 2.0 scopes that will be requested as part of GitHub Login authentication.","elem":{"type":"TypeString"}}}},"maxItems":1},"google_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"allowed_audiences":{"type":"TypeList","optional":true,"description":"Specifies a list of Allowed Audiences that will be requested as part of Google Sign-In authentication.","elem":{"type":"TypeString"}},"client_id":{"type":"TypeString","required":true,"description":"The OpenID Connect Client ID for the Google web application."},"client_secret_setting_name":{"type":"TypeString","required":true,"description":"The app setting name that contains the `client_secret` value used for Google Login."},"login_scopes":{"type":"TypeList","optional":true,"description":"Specifies a list of Login scopes that will be requested as part of Google Sign-In authentication.","elem":{"type":"TypeString"}}}},"maxItems":1},"http_route_api_prefix":{"type":"TypeString","optional":true,"default":"/.auth","description":"The prefix that should precede all the authentication and authorisation paths. Defaults to `/.auth`"},"login":{"type":"TypeList","required":true,"elem":{"schema":{"allowed_external_redirect_urls":{"type":"TypeList","optional":true,"description":"External URLs that can be redirected to as part of logging in or logging out of the app. This is an advanced setting typically only needed by Windows Store application backends. **Note:** URLs within the current domain are always implicitly allowed.","elem":{"type":"TypeString"}},"cookie_expiration_convention":{"type":"TypeString","optional":true,"default":"FixedTime","description":"The method by which cookies expire. Possible values include: `FixedTime`, and `IdentityProviderDerived`. Defaults to `FixedTime`."},"cookie_expiration_time":{"type":"TypeString","optional":true,"default":"08:00:00","description":"The time after the request is made when the session cookie should expire. Defaults to `08:00:00`."},"logout_endpoint":{"type":"TypeString","optional":true,"description":"The endpoint to which logout requests should be made."},"nonce_expiration_time":{"type":"TypeString","optional":true,"default":"00:05:00","description":"The time after the request is made when the nonce should expire. Defaults to `00:05:00`."},"preserve_url_fragments_for_logins":{"type":"TypeBool","optional":true,"default":false,"description":"Should the fragments from the request be preserved after the login request is made. Defaults to `false`."},"token_refresh_extension_time":{"type":"TypeFloat","optional":true,"default":72,"description":"The number of hours after session token expiration that a session token can be used to call the token refresh API. Defaults to `72` hours."},"token_store_enabled":{"type":"TypeBool","optional":true,"default":false,"description":"Should the Token Store configuration Enabled. Defaults to `false`"},"token_store_path":{"type":"TypeString","optional":true,"description":"The directory path in the App Filesystem in which the tokens will be stored."},"token_store_sas_setting_name":{"type":"TypeString","optional":true,"description":"The name of the app setting which contains the SAS URL of the blob storage containing the tokens."},"validate_nonce":{"type":"TypeBool","optional":true,"default":true,"description":"Should the nonce be validated while completing the login flow. Defaults to `true`."}}},"maxItems":1},"microsoft_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"allowed_audiences":{"type":"TypeList","optional":true,"description":"Specifies a list of Allowed Audiences that will be requested as part of Microsoft Sign-In authentication.","elem":{"type":"TypeString"}},"client_id":{"type":"TypeString","required":true,"description":"The OAuth 2.0 client ID that was created for the app used for authentication."},"client_secret_setting_name":{"type":"TypeString","required":true,"description":"The app setting name containing the OAuth 2.0 client secret that was created for the app used for authentication."},"login_scopes":{"type":"TypeList","optional":true,"description":"The list of Login scopes that will be requested as part of Microsoft Account authentication.","elem":{"type":"TypeString"}}}},"maxItems":1},"require_authentication":{"type":"TypeBool","optional":true,"description":"Should the authentication flow be used for all requests."},"require_https":{"type":"TypeBool","optional":true,"default":true,"description":"Should HTTPS be required on connections? Defaults to true."},"runtime_version":{"type":"TypeString","optional":true,"default":"~1","description":"The Runtime Version of the Authentication and Authorisation feature of this App. Defaults to `~1`"},"twitter_v2":{"type":"TypeList","optional":true,"elem":{"schema":{"consumer_key":{"type":"TypeString","required":true,"description":"The OAuth 1.0a consumer key of the Twitter application used for sign-in."},"consumer_secret_setting_name":{"type":"TypeString","required":true,"description":"The app setting name that contains the OAuth 1.0a consumer secret of the Twitter application used for sign-in."}}},"maxItems":1},"unauthenticated_action":{"type":"TypeString","optional":true,"default":"RedirectToLoginPage","description":"The action to take for requests made without authentication. Possible values include `RedirectToLoginPage`, `AllowAnonymous`, `Return401`, and `Return403`. Defaults to `RedirectToLoginPage`."}}},"maxItems":1},"backup":{"type":"TypeList","optional":true,"elem":{"schema":{"enabled":{"type":"TypeBool","optional":true,"default":true,"description":"Should this backup job be enabled?"},"name":{"type":"TypeString","required":true,"description":"The name which should be used for this Backup."},"schedule":{"type":"TypeList","required":true,"elem":{"schema":{"frequency_interval":{"type":"TypeInt","required":true,"description":"How often the backup should be executed (e.g. for weekly backup, this should be set to `7` and `frequency_unit` should be set to `Day`)."},"frequency_unit":{"type":"TypeString","required":true,"description":"The unit of time for how often the backup should take place. Possible values include: `Day` and `Hour`."},"keep_at_least_one_backup":{"type":"TypeBool","optional":true,"default":false,"description":"Should the service keep at least one backup, regardless of age of backup. Defaults to `false`."},"last_execution_time":{"type":"TypeString","description":"The time the backup was last attempted.","computed":true},"retention_period_days":{"type":"TypeInt","optional":true,"default":30,"description":"After how many days backups should be deleted."},"start_time":{"type":"TypeString","optional":true,"description":"When the schedule should start working in RFC-3339 format.","computed":true}}},"maxItems":1},"storage_account_url":{"type":"TypeString","required":true,"description":"The SAS URL to the container."}}},"maxItems":1},"client_affinity_enabled":{"type":"TypeBool","optional":true,"default":false},"client_certificate_enabled":{"type":"TypeBool","optional":true,"default":false},"client_certificate_exclusion_paths":{"type":"TypeString","optional":true,"description":"Paths to exclude when using client certificates, separated by ;"},"client_certificate_mode":{"type":"TypeString","optional":true,"default":"Required"},"connection_string":{"type":"TypeSet","optional":true,"elem":{"schema":{"name":{"type":"TypeString","required":true,"description":"The name which should be used for this Connection."},"type":{"type":"TypeString","required":true,"description":"Type of database. Possible values include: `MySQL`, `SQLServer`, `SQLAzure`, `Custom`, `NotificationHub`, `ServiceBus`, `EventHub`, `APIHub`, `DocDb`, `RedisCache`, and `PostgreSQL`."},"value":{"type":"TypeString","required":true,"description":"The connection string value."}}}},"custom_domain_verification_id":{"type":"TypeString","computed":true},"default_hostname":{"type":"TypeString","computed":true},"enabled":{"type":"TypeBool","optional":true,"default":true},"ftp_publish_basic_authentication_enabled":{"type":"TypeBool","optional":true,"default":true},"hosting_environment_id":{"type":"TypeString","computed":true},"https_only":{"type":"TypeBool","optional":true,"default":false},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"key_vault_reference_identity_id":{"type":"TypeString","optional":true,"computed":true},"kind":{"type":"TypeString","computed":true},"logs":{"type":"TypeList","optional":true,"elem":{"schema":{"application_logs":{"type":"TypeList","optional":true,"elem":{"schema":{"azure_blob_storage":{"type":"TypeList","optional":true,"elem":{"schema":{"level":{"type":"TypeString","required":true},"retention_in_days":{"type":"TypeInt","required":true},"sas_url":{"type":"TypeString","required":true}}},"maxItems":1},"file_system_level":{"type":"TypeString","required":true}}},"maxItems":1},"detailed_error_messages":{"type":"TypeBool","optional":true,"default":false},"failed_request_tracing":{"type":"TypeBool","optional":true,"default":false},"http_logs":{"type":"TypeList","optional":true,"elem":{"schema":{"azure_blob_storage":{"type":"TypeList","optional":true,"elem":{"schema":{"retention_in_days":{"type":"TypeInt","optional":true,"default":0},"sas_url":{"type":"TypeString","required":true}}},"maxItems":1},"file_system":{"type":"TypeList","optional":true,"elem":{"schema":{"retention_in_days":{"type":"TypeInt","required":true},"retention_in_mb":{"type":"TypeInt","required":true}}},"maxItems":1}}},"maxItems":1}}},"maxItems":1},"name":{"type":"TypeString","required":true,"forceNew":true},"outbound_ip_address_list":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"outbound_ip_addresses":{"type":"TypeString","computed":true},"possible_outbound_ip_address_list":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"possible_outbound_ip_addresses":{"type":"TypeString","computed":true},"public_network_access_enabled":{"type":"TypeBool","optional":true,"default":true},"service_plan_id":{"type":"TypeString","optional":true},"site_config":{"type":"TypeList","required":true,"elem":{"schema":{"always_on":{"type":"TypeBool","optional":true,"default":true},"api_definition_url":{"type":"TypeString","optional":true},"api_management_api_id":{"type":"TypeString","optional":true},"app_command_line":{"type":"TypeString","optional":true},"application_stack":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"current_stack":{"type":"TypeString","optional":true,"computed":true},"docker_image_name":{"type":"TypeString","optional":true},"docker_registry_password":{"type":"TypeString","optional":true},"docker_registry_url":{"type":"TypeString","optional":true},"docker_registry_username":{"type":"TypeString","optional":true},"dotnet_core_version":{"type":"TypeString","optional":true,"description":"The version of DotNetCore to use."},"dotnet_version":{"type":"TypeString","optional":true,"computed":true},"java_container":{"type":"TypeString","optional":true},"java_container_version":{"type":"TypeString","optional":true},"java_embedded_server_enabled":{"type":"TypeBool","optional":true,"description":"Should the application use the embedded web server for the version of Java in use.","computed":true},"java_version":{"type":"TypeString","optional":true},"node_version":{"type":"TypeString","optional":true},"php_version":{"type":"TypeString","optional":true,"computed":true},"python":{"type":"TypeBool","optional":true,"default":false},"tomcat_version":{"type":"TypeString","optional":true}}},"maxItems":1},"auto_heal_setting":{"type":"TypeList","optional":true,"elem":{"schema":{"action":{"type":"TypeList","required":true,"elem":{"schema":{"action_type":{"type":"TypeString","required":true},"custom_action":{"type":"TypeList","optional":true,"elem":{"schema":{"executable":{"type":"TypeString","required":true},"parameters":{"type":"TypeString","optional":true}}},"maxItems":1},"minimum_process_execution_time":{"type":"TypeString","optional":true,"computed":true}}},"maxItems":1},"trigger":{"type":"TypeList","required":true,"elem":{"schema":{"private_memory_kb":{"type":"TypeInt","optional":true},"requests":{"type":"TypeList","optional":true,"elem":{"schema":{"count":{"type":"TypeInt","required":true},"interval":{"type":"TypeString","required":true}}},"maxItems":1},"slow_request":{"type":"TypeList","optional":true,"elem":{"schema":{"count":{"type":"TypeInt","required":true},"interval":{"type":"TypeString","required":true},"time_taken":{"type":"TypeString","required":true}}},"maxItems":1},"slow_request_with_path":{"type":"TypeList","optional":true,"elem":{"schema":{"count":{"type":"TypeInt","required":true},"interval":{"type":"TypeString","required":true},"path":{"type":"TypeString","optional":true},"time_taken":{"type":"TypeString","required":true}}}},"status_code":{"type":"TypeSet","optional":true,"elem":{"schema":{"count":{"type":"TypeInt","required":true},"interval":{"type":"TypeString","required":true},"path":{"type":"TypeString","optional":true},"status_code_range":{"type":"TypeString","required":true},"sub_status":{"type":"TypeInt","optional":true},"win32_status_code":{"type":"TypeInt","optional":true}}}}}},"maxItems":1}}},"maxItems":1},"auto_swap_slot_name":{"type":"TypeString","optional":true},"container_registry_managed_identity_client_id":{"type":"TypeString","optional":true},"container_registry_use_managed_identity":{"type":"TypeBool","optional":true,"default":false},"cors":{"type":"TypeList","optional":true,"elem":{"schema":{"allowed_origins":{"type":"TypeSet","optional":true,"description":"Specifies a list of origins that should be allowed to make cross-origin calls.","elem":{"type":"TypeString"},"minItems":1},"support_credentials":{"type":"TypeBool","optional":true,"default":false,"description":"Are credentials allowed in CORS requests? Defaults to `false`."}}},"maxItems":1},"default_documents":{"type":"TypeList","optional":true,"computed":true,"elem":{"type":"TypeString"}},"detailed_error_logging_enabled":{"type":"TypeBool","computed":true},"ftps_state":{"type":"TypeString","optional":true,"default":"Disabled"},"handler_mapping":{"type":"TypeSet","optional":true,"elem":{"schema":{"arguments":{"type":"TypeString","optional":true},"extension":{"type":"TypeString","required":true},"script_processor_path":{"type":"TypeString","required":true}}}},"health_check_eviction_time_in_min":{"type":"TypeInt","optional":true,"description":"The amount of time in minutes that a node is unhealthy before being removed from the load balancer. Possible values are between `2` and `10`. Only valid in conjunction with `health_check_path`"},"health_check_path":{"type":"TypeString","optional":true},"http2_enabled":{"type":"TypeBool","optional":true,"default":false},"ip_restriction":{"type":"TypeList","optional":true,"elem":{"schema":{"action":{"type":"TypeString","optional":true,"default":"Allow","description":"The action to take. Possible values are `Allow` or `Deny`."},"description":{"type":"TypeString","optional":true,"description":"The description of the IP restriction rule."},"headers":{"type":"TypeList","configMode":"Auto","optional":true,"elem":{"schema":{"x_azure_fdid":{"type":"TypeList","optional":true,"description":"Specifies a list of Azure Front Door IDs.","elem":{"type":"TypeString"},"maxItems":8},"x_fd_health_probe":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"maxItems":1},"x_forwarded_for":{"type":"TypeList","optional":true,"description":"Specifies a list of addresses for which matching should be applied. Omitting this value means allow any.","elem":{"type":"TypeString"},"maxItems":8},"x_forwarded_host":{"type":"TypeList","optional":true,"description":"Specifies a list of Hosts for which matching should be applied.","elem":{"type":"TypeString"},"maxItems":8}}},"maxItems":1},"ip_address":{"type":"TypeString","optional":true,"description":"The CIDR notation of the IP or IP Range to match. For example: `10.0.0.0/24` or `192.168.10.1/32` or `fe80::/64` or `13.107.6.152/31,13.107.128.0/22`"},"name":{"type":"TypeString","optional":true,"description":"The name which should be used for this `ip_restriction`.","computed":true},"priority":{"type":"TypeInt","optional":true,"default":65000,"description":"The priority value of this `ip_restriction`."},"service_tag":{"type":"TypeString","optional":true,"description":"The Service Tag used for this IP Restriction."},"virtual_network_subnet_id":{"type":"TypeString","optional":true,"description":"The Virtual Network Subnet ID used for this IP Restriction."}}}},"ip_restriction_default_action":{"type":"TypeString","optional":true,"default":"Allow"},"load_balancing_mode":{"type":"TypeString","optional":true,"default":"LeastRequests"},"local_mysql_enabled":{"type":"TypeBool","optional":true,"default":false},"managed_pipeline_mode":{"type":"TypeString","optional":true,"default":"Integrated"},"minimum_tls_version":{"type":"TypeString","optional":true,"default":"1.2"},"remote_debugging_enabled":{"type":"TypeBool","optional":true,"default":false},"remote_debugging_version":{"type":"TypeString","optional":true,"computed":true},"scm_ip_restriction":{"type":"TypeList","optional":true,"elem":{"schema":{"action":{"type":"TypeString","optional":true,"default":"Allow","description":"The action to take. Possible values are `Allow` or `Deny`."},"description":{"type":"TypeString","optional":true,"description":"The description of the IP restriction rule."},"headers":{"type":"TypeList","configMode":"Auto","optional":true,"elem":{"schema":{"x_azure_fdid":{"type":"TypeList","optional":true,"description":"Specifies a list of Azure Front Door IDs.","elem":{"type":"TypeString"},"maxItems":8},"x_fd_health_probe":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"},"maxItems":1},"x_forwarded_for":{"type":"TypeList","optional":true,"description":"Specifies a list of addresses for which matching should be applied. Omitting this value means allow any.","elem":{"type":"TypeString"},"maxItems":8},"x_forwarded_host":{"type":"TypeList","optional":true,"description":"Specifies a list of Hosts for which matching should be applied.","elem":{"type":"TypeString"},"maxItems":8}}},"maxItems":1},"ip_address":{"type":"TypeString","optional":true,"description":"The CIDR notation of the IP or IP Range to match. For example: `10.0.0.0/24` or `192.168.10.1/32` or `fe80::/64` or `13.107.6.152/31,13.107.128.0/22`"},"name":{"type":"TypeString","optional":true,"description":"The name which should be used for this `ip_restriction`.","computed":true},"priority":{"type":"TypeInt","optional":true,"default":65000,"description":"The priority value of this `ip_restriction`."},"service_tag":{"type":"TypeString","optional":true,"description":"The Service Tag used for this IP Restriction."},"virtual_network_subnet_id":{"type":"TypeString","optional":true,"description":"The Virtual Network Subnet ID used for this IP Restriction."}}}},"scm_ip_restriction_default_action":{"type":"TypeString","optional":true,"default":"Allow"},"scm_minimum_tls_version":{"type":"TypeString","optional":true,"default":"1.2"},"scm_type":{"type":"TypeString","computed":true},"scm_use_main_ip_restriction":{"type":"TypeBool","optional":true,"default":false},"use_32_bit_worker":{"type":"TypeBool","optional":true,"computed":true},"virtual_application":{"type":"TypeSet","optional":true,"elem":{"schema":{"physical_path":{"type":"TypeString","required":true},"preload":{"type":"TypeBool","required":true},"virtual_directory":{"type":"TypeSet","optional":true,"elem":{"schema":{"physical_path":{"type":"TypeString","optional":true},"virtual_path":{"type":"TypeString","optional":true}}}},"virtual_path":{"type":"TypeString","required":true}}}},"vnet_route_all_enabled":{"type":"TypeBool","optional":true,"default":false,"description":"Should all outbound traffic to have Virtual Network Security Groups and User Defined Routes applied? Defaults to `false`."},"websockets_enabled":{"type":"TypeBool","optional":true,"default":false},"windows_fx_version":{"type":"TypeString","computed":true},"worker_count":{"type":"TypeInt","optional":true,"computed":true}}},"maxItems":1},"site_credential":{"type":"TypeList","computed":true,"elem":{"schema":{"name":{"type":"TypeString","description":"The Site Credentials Username used for publishing.","computed":true},"password":{"type":"TypeString","description":"The Site Credentials Password used for publishing.","computed":true}}}},"storage_account":{"type":"TypeSet","optional":true,"elem":{"schema":{"access_key":{"type":"TypeString","required":true},"account_name":{"type":"TypeString","required":true},"mount_path":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true},"share_name":{"type":"TypeString","required":true},"type":{"type":"TypeString","required":true}}}},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"virtual_network_subnet_id":{"type":"TypeString","optional":true},"webdeploy_publish_basic_authentication_enabled":{"type":"TypeBool","optional":true,"default":true},"zip_deploy_file":{"type":"TypeString","optional":true,"description":"The local path and filename of the Zip packaged application to deploy to this Windows Web App. **Note:** Using this value requires `WEBSITE_RUN_FROM_PACKAGE=1` on the App in `app_settings`.","computed":true}},"timeouts":{"create":30,"read":5,"delete":30,"update":30}},"azurerm_workloads_sap_discovery_virtual_instance":{"schema":{"central_server_virtual_machine_id":{"type":"TypeString","required":true,"forceNew":true},"environment":{"type":"TypeString","required":true,"forceNew":true},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}},"type":{"type":"TypeString","required":true}}},"maxItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"managed_resource_group_name":{"type":"TypeString","optional":true,"forceNew":true},"managed_storage_account_name":{"type":"TypeString","optional":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"sap_product":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":60,"read":5,"delete":60,"update":60}},"azurerm_workloads_sap_single_node_virtual_instance":{"schema":{"app_location":{"type":"TypeString","required":true,"forceNew":true},"environment":{"type":"TypeString","required":true,"forceNew":true},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}},"type":{"type":"TypeString","required":true}}},"maxItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"managed_resource_group_name":{"type":"TypeString","optional":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"sap_fqdn":{"type":"TypeString","required":true,"forceNew":true},"sap_product":{"type":"TypeString","required":true,"forceNew":true},"single_server_configuration":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"app_resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"database_type":{"type":"TypeString","optional":true,"forceNew":true},"disk_volume_configuration":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"schema":{"number_of_disks":{"type":"TypeInt","required":true,"forceNew":true},"size_in_gb":{"type":"TypeInt","required":true,"forceNew":true},"sku_name":{"type":"TypeString","required":true,"forceNew":true},"volume_name":{"type":"TypeString","required":true,"forceNew":true}}}},"secondary_ip_enabled":{"type":"TypeBool","optional":true,"default":false,"forceNew":true},"subnet_id":{"type":"TypeString","required":true,"forceNew":true},"virtual_machine_configuration":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"image":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"offer":{"type":"TypeString","required":true,"forceNew":true},"publisher":{"type":"TypeString","required":true,"forceNew":true},"sku":{"type":"TypeString","required":true,"forceNew":true},"version":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"os_profile":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"admin_username":{"type":"TypeString","required":true,"forceNew":true},"ssh_private_key":{"type":"TypeString","required":true,"forceNew":true},"ssh_public_key":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"virtual_machine_size":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"virtual_machine_resource_names":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"data_disk":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"schema":{"names":{"type":"TypeList","required":true,"forceNew":true,"elem":{"type":"TypeString"}},"volume_name":{"type":"TypeString","required":true,"forceNew":true}}}},"host_name":{"type":"TypeString","optional":true,"forceNew":true},"network_interface_names":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"os_disk_name":{"type":"TypeString","optional":true,"forceNew":true},"virtual_machine_name":{"type":"TypeString","optional":true,"forceNew":true}}},"maxItems":1}}},"maxItems":1},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"create":60,"read":5,"delete":60,"update":60}},"azurerm_workloads_sap_three_tier_virtual_instance":{"schema":{"app_location":{"type":"TypeString","required":true,"forceNew":true},"environment":{"type":"TypeString","required":true,"forceNew":true},"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}},"type":{"type":"TypeString","required":true}}},"maxItems":1},"location":{"type":"TypeString","required":true,"forceNew":true},"managed_resource_group_name":{"type":"TypeString","optional":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"sap_fqdn":{"type":"TypeString","required":true,"forceNew":true},"sap_product":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"three_tier_configuration":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"app_resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"application_server_configuration":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"instance_count":{"type":"TypeInt","required":true,"forceNew":true},"subnet_id":{"type":"TypeString","required":true,"forceNew":true},"virtual_machine_configuration":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"image":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"offer":{"type":"TypeString","required":true,"forceNew":true},"publisher":{"type":"TypeString","required":true,"forceNew":true},"sku":{"type":"TypeString","required":true,"forceNew":true},"version":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"os_profile":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"admin_username":{"type":"TypeString","required":true,"forceNew":true},"ssh_private_key":{"type":"TypeString","required":true,"forceNew":true},"ssh_public_key":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"virtual_machine_size":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1}}},"maxItems":1},"central_server_configuration":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"instance_count":{"type":"TypeInt","required":true,"forceNew":true},"subnet_id":{"type":"TypeString","required":true,"forceNew":true},"virtual_machine_configuration":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"image":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"offer":{"type":"TypeString","required":true,"forceNew":true},"publisher":{"type":"TypeString","required":true,"forceNew":true},"sku":{"type":"TypeString","required":true,"forceNew":true},"version":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"os_profile":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"admin_username":{"type":"TypeString","required":true,"forceNew":true},"ssh_private_key":{"type":"TypeString","required":true,"forceNew":true},"ssh_public_key":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"virtual_machine_size":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1}}},"maxItems":1},"database_server_configuration":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"database_type":{"type":"TypeString","optional":true,"forceNew":true},"disk_volume_configuration":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"schema":{"number_of_disks":{"type":"TypeInt","required":true,"forceNew":true},"size_in_gb":{"type":"TypeInt","required":true,"forceNew":true},"sku_name":{"type":"TypeString","required":true,"forceNew":true},"volume_name":{"type":"TypeString","required":true,"forceNew":true}}}},"instance_count":{"type":"TypeInt","required":true,"forceNew":true},"subnet_id":{"type":"TypeString","required":true,"forceNew":true},"virtual_machine_configuration":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"image":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"offer":{"type":"TypeString","required":true,"forceNew":true},"publisher":{"type":"TypeString","required":true,"forceNew":true},"sku":{"type":"TypeString","required":true,"forceNew":true},"version":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"os_profile":{"type":"TypeList","required":true,"forceNew":true,"elem":{"schema":{"admin_username":{"type":"TypeString","required":true,"forceNew":true},"ssh_private_key":{"type":"TypeString","required":true,"forceNew":true},"ssh_public_key":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"virtual_machine_size":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1}}},"maxItems":1},"high_availability_type":{"type":"TypeString","optional":true,"forceNew":true},"resource_names":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"application_server":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"availability_set_name":{"type":"TypeString","optional":true,"forceNew":true},"virtual_machine":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"data_disk":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"schema":{"names":{"type":"TypeList","required":true,"forceNew":true,"elem":{"type":"TypeString"}},"volume_name":{"type":"TypeString","required":true,"forceNew":true}}}},"host_name":{"type":"TypeString","optional":true,"forceNew":true},"network_interface_names":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"os_disk_name":{"type":"TypeString","optional":true,"forceNew":true},"virtual_machine_name":{"type":"TypeString","optional":true,"forceNew":true}}}}}},"maxItems":1},"central_server":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"availability_set_name":{"type":"TypeString","optional":true,"forceNew":true},"load_balancer":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"backend_pool_names":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"frontend_ip_configuration_names":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"health_probe_names":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","optional":true,"forceNew":true}}},"maxItems":1},"virtual_machine":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"data_disk":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"schema":{"names":{"type":"TypeList","required":true,"forceNew":true,"elem":{"type":"TypeString"}},"volume_name":{"type":"TypeString","required":true,"forceNew":true}}}},"host_name":{"type":"TypeString","optional":true,"forceNew":true},"network_interface_names":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"os_disk_name":{"type":"TypeString","optional":true,"forceNew":true},"virtual_machine_name":{"type":"TypeString","optional":true,"forceNew":true}}}}}},"maxItems":1},"database_server":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"availability_set_name":{"type":"TypeString","optional":true,"forceNew":true},"load_balancer":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"backend_pool_names":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"frontend_ip_configuration_names":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"health_probe_names":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","optional":true,"forceNew":true}}},"maxItems":1},"virtual_machine":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"data_disk":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"schema":{"names":{"type":"TypeList","required":true,"forceNew":true,"elem":{"type":"TypeString"}},"volume_name":{"type":"TypeString","required":true,"forceNew":true}}}},"host_name":{"type":"TypeString","optional":true,"forceNew":true},"network_interface_names":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"os_disk_name":{"type":"TypeString","optional":true,"forceNew":true},"virtual_machine_name":{"type":"TypeString","optional":true,"forceNew":true}}}}}},"maxItems":1},"shared_storage":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"account_name":{"type":"TypeString","optional":true,"forceNew":true},"private_endpoint_name":{"type":"TypeString","optional":true,"forceNew":true}}},"maxItems":1}}},"maxItems":1},"secondary_ip_enabled":{"type":"TypeBool","optional":true,"default":false,"forceNew":true},"transport_create_and_mount":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"resource_group_id":{"type":"TypeString","optional":true,"forceNew":true},"storage_account_name":{"type":"TypeString","optional":true,"forceNew":true}}},"maxItems":1}}},"maxItems":1}},"timeouts":{"create":60,"read":5,"delete":60,"update":60}}},"dataSources":{"azurerm_aadb2c_directory":{"schema":{"billing_type":{"type":"TypeString","description":"The type of billing for the B2C tenant. Possible values include: `MAU` or `Auths`.","computed":true},"data_residency_location":{"type":"TypeString","description":"Location in which the B2C tenant is hosted and data resides.","computed":true},"domain_name":{"type":"TypeString","required":true,"description":"Domain name of the B2C tenant, including onmicrosoft.com suffix."},"effective_start_date":{"type":"TypeString","description":"The date from which the billing type took effect. May not be populated until after the first billing cycle.","computed":true},"resource_group_name":{"type":"TypeString","required":true},"sku_name":{"type":"TypeString","description":"Billing SKU for the B2C tenant.","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"tenant_id":{"type":"TypeString","description":"The Tenant ID for the B2C tenant.","computed":true}},"timeouts":{"read":5}},"azurerm_active_directory_domain_service":{"schema":{"deployment_id":{"type":"TypeString","computed":true},"domain_configuration_type":{"type":"TypeString","computed":true},"domain_name":{"type":"TypeString","computed":true},"filtered_sync_enabled":{"type":"TypeBool","computed":true},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"notifications":{"type":"TypeList","computed":true,"elem":{"schema":{"additional_recipients":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"notify_dc_admins":{"type":"TypeBool","computed":true},"notify_global_admins":{"type":"TypeBool","computed":true}}}},"replica_sets":{"type":"TypeList","computed":true,"elem":{"schema":{"domain_controller_ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"external_access_ip_address":{"type":"TypeString","computed":true},"id":{"type":"TypeString","computed":true},"location":{"type":"TypeString","required":true},"service_status":{"type":"TypeString","computed":true},"subnet_id":{"type":"TypeString","computed":true}}}},"resource_group_name":{"type":"TypeString","required":true},"resource_id":{"type":"TypeString","computed":true},"secure_ldap":{"type":"TypeList","computed":true,"elem":{"schema":{"certificate_expiry":{"type":"TypeString","computed":true},"certificate_thumbprint":{"type":"TypeString","computed":true},"enabled":{"type":"TypeBool","computed":true},"external_access_enabled":{"type":"TypeBool","computed":true},"public_certificate":{"type":"TypeString","computed":true}}}},"security":{"type":"TypeList","computed":true,"elem":{"schema":{"kerberos_armoring_enabled":{"type":"TypeBool","computed":true},"kerberos_rc4_encryption_enabled":{"type":"TypeBool","computed":true},"ntlm_v1_enabled":{"type":"TypeBool","computed":true},"sync_kerberos_passwords":{"type":"TypeBool","computed":true},"sync_ntlm_passwords":{"type":"TypeBool","computed":true},"sync_on_prem_passwords":{"type":"TypeBool","computed":true},"tls_v1_enabled":{"type":"TypeBool","computed":true}}}},"sku":{"type":"TypeString","computed":true},"sync_owner":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"tenant_id":{"type":"TypeString","computed":true},"version":{"type":"TypeInt","computed":true}},"timeouts":{"read":5}},"azurerm_advisor_recommendations":{"schema":{"filter_by_category":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"filter_by_resource_groups":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"recommendations":{"type":"TypeList","computed":true,"elem":{"schema":{"category":{"type":"TypeString","computed":true},"description":{"type":"TypeString","computed":true},"impact":{"type":"TypeString","computed":true},"recommendation_name":{"type":"TypeString","computed":true},"recommendation_type_id":{"type":"TypeString","computed":true},"resource_name":{"type":"TypeString","computed":true},"resource_type":{"type":"TypeString","computed":true},"suppression_names":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"updated_time":{"type":"TypeString","computed":true}}}}},"timeouts":{"read":10}},"azurerm_api_management":{"schema":{"additional_location":{"type":"TypeList","computed":true,"elem":{"schema":{"capacity":{"type":"TypeInt","computed":true},"gateway_regional_url":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"private_ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"public_ip_address_id":{"type":"TypeString","computed":true},"public_ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"zones":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}}},"developer_portal_url":{"type":"TypeString","computed":true},"gateway_regional_url":{"type":"TypeString","computed":true},"gateway_url":{"type":"TypeString","computed":true},"hostname_configuration":{"type":"TypeList","computed":true,"elem":{"schema":{"developer_portal":{"type":"TypeList","computed":true,"elem":{"schema":{"host_name":{"type":"TypeString","computed":true},"key_vault_id":{"type":"TypeString","computed":true},"negotiate_client_certificate":{"type":"TypeBool","computed":true}}}},"management":{"type":"TypeList","computed":true,"elem":{"schema":{"host_name":{"type":"TypeString","computed":true},"key_vault_id":{"type":"TypeString","computed":true},"negotiate_client_certificate":{"type":"TypeBool","computed":true}}}},"portal":{"type":"TypeList","computed":true,"elem":{"schema":{"host_name":{"type":"TypeString","computed":true},"key_vault_id":{"type":"TypeString","computed":true},"negotiate_client_certificate":{"type":"TypeBool","computed":true}}}},"proxy":{"type":"TypeList","computed":true,"elem":{"schema":{"default_ssl_binding":{"type":"TypeBool","computed":true},"host_name":{"type":"TypeString","computed":true},"key_vault_id":{"type":"TypeString","computed":true},"negotiate_client_certificate":{"type":"TypeBool","computed":true}}}},"scm":{"type":"TypeList","computed":true,"elem":{"schema":{"host_name":{"type":"TypeString","computed":true},"key_vault_id":{"type":"TypeString","computed":true},"negotiate_client_certificate":{"type":"TypeBool","computed":true}}}}}}},"identity":{"type":"TypeList","computed":true,"elem":{"schema":{"identity_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"location":{"type":"TypeString","computed":true},"management_api_url":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"notification_sender_email":{"type":"TypeString","computed":true},"portal_url":{"type":"TypeString","computed":true},"private_ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"public_ip_address_id":{"type":"TypeString","computed":true},"public_ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"publisher_email":{"type":"TypeString","computed":true},"publisher_name":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true},"scm_url":{"type":"TypeString","computed":true},"sku_name":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"tenant_access":{"type":"TypeList","computed":true,"elem":{"schema":{"enabled":{"type":"TypeBool","computed":true},"primary_key":{"type":"TypeString","computed":true},"secondary_key":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true}}}}},"timeouts":{"read":5}},"azurerm_api_management_api":{"schema":{"api_management_name":{"type":"TypeString","required":true},"description":{"type":"TypeString","computed":true},"display_name":{"type":"TypeString","computed":true},"is_current":{"type":"TypeBool","computed":true},"is_online":{"type":"TypeBool","computed":true},"name":{"type":"TypeString","required":true},"path":{"type":"TypeString","computed":true},"protocols":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"resource_group_name":{"type":"TypeString","required":true},"revision":{"type":"TypeString","required":true},"service_url":{"type":"TypeString","computed":true},"soap_pass_through":{"type":"TypeBool","computed":true},"subscription_key_parameter_names":{"type":"TypeList","computed":true,"elem":{"schema":{"header":{"type":"TypeString","computed":true},"query":{"type":"TypeString","computed":true}}}},"subscription_required":{"type":"TypeBool","computed":true},"version":{"type":"TypeString","computed":true},"version_set_id":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_api_management_api_version_set":{"schema":{"api_management_name":{"type":"TypeString","required":true},"description":{"type":"TypeString","computed":true},"display_name":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"version_header_name":{"type":"TypeString","computed":true},"version_query_name":{"type":"TypeString","computed":true},"versioning_scheme":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_api_management_gateway":{"schema":{"api_management_id":{"type":"TypeString","required":true},"description":{"type":"TypeString","computed":true},"location_data":{"type":"TypeList","computed":true,"elem":{"schema":{"city":{"type":"TypeString","computed":true},"district":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"region":{"type":"TypeString","computed":true}}}},"name":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_api_management_gateway_host_name_configuration":{"schema":{"api_management_id":{"type":"TypeString","required":true},"certificate_id":{"type":"TypeString","computed":true},"gateway_name":{"type":"TypeString","required":true},"host_name":{"type":"TypeString","computed":true},"http2_enabled":{"type":"TypeBool","computed":true},"name":{"type":"TypeString","required":true},"request_client_certificate_enabled":{"type":"TypeBool","computed":true},"tls10_enabled":{"type":"TypeBool","computed":true},"tls11_enabled":{"type":"TypeBool","computed":true}},"timeouts":{"read":5}},"azurerm_api_management_group":{"schema":{"api_management_name":{"type":"TypeString","required":true},"description":{"type":"TypeString","computed":true},"display_name":{"type":"TypeString","computed":true},"external_id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"type":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_api_management_product":{"schema":{"api_management_name":{"type":"TypeString","required":true},"approval_required":{"type":"TypeBool","computed":true},"description":{"type":"TypeString","computed":true},"display_name":{"type":"TypeString","computed":true},"product_id":{"type":"TypeString","required":true},"published":{"type":"TypeBool","computed":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"subscription_required":{"type":"TypeBool","computed":true},"subscriptions_limit":{"type":"TypeInt","computed":true},"terms":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_api_management_user":{"schema":{"api_management_name":{"type":"TypeString","required":true},"email":{"type":"TypeString","computed":true},"first_name":{"type":"TypeString","computed":true},"last_name":{"type":"TypeString","computed":true},"note":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true},"state":{"type":"TypeString","computed":true},"user_id":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_app_configuration":{"schema":{"encryption":{"type":"TypeList","computed":true,"elem":{"schema":{"identity_client_id":{"type":"TypeString","computed":true},"key_vault_key_identifier":{"type":"TypeString","computed":true}}}},"endpoint":{"type":"TypeString","computed":true},"identity":{"type":"TypeList","computed":true,"elem":{"schema":{"identity_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"local_auth_enabled":{"type":"TypeBool","computed":true},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"primary_read_key":{"type":"TypeList","computed":true,"elem":{"schema":{"connection_string":{"type":"TypeString","computed":true},"id":{"type":"TypeString","computed":true},"secret":{"type":"TypeString","computed":true}}}},"primary_write_key":{"type":"TypeList","computed":true,"elem":{"schema":{"connection_string":{"type":"TypeString","computed":true},"id":{"type":"TypeString","computed":true},"secret":{"type":"TypeString","computed":true}}}},"public_network_access":{"type":"TypeString","computed":true},"public_network_access_enabled":{"type":"TypeBool","computed":true},"purge_protection_enabled":{"type":"TypeBool","computed":true},"replica":{"type":"TypeList","computed":true,"elem":{"schema":{"endpoint":{"type":"TypeString","computed":true},"id":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true}}}},"resource_group_name":{"type":"TypeString","required":true},"secondary_read_key":{"type":"TypeList","computed":true,"elem":{"schema":{"connection_string":{"type":"TypeString","computed":true},"id":{"type":"TypeString","computed":true},"secret":{"type":"TypeString","computed":true}}}},"secondary_write_key":{"type":"TypeList","computed":true,"elem":{"schema":{"connection_string":{"type":"TypeString","computed":true},"id":{"type":"TypeString","computed":true},"secret":{"type":"TypeString","computed":true}}}},"sku":{"type":"TypeString","computed":true},"soft_delete_retention_days":{"type":"TypeInt","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_app_configuration_key":{"schema":{"configuration_store_id":{"type":"TypeString","required":true},"content_type":{"type":"TypeString","computed":true},"etag":{"type":"TypeString","computed":true},"key":{"type":"TypeString","required":true},"label":{"type":"TypeString","optional":true,"default":""},"locked":{"type":"TypeBool","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"type":{"type":"TypeString","computed":true},"value":{"type":"TypeString","computed":true},"vault_key_reference":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_app_configuration_keys":{"schema":{"configuration_store_id":{"type":"TypeString","required":true},"items":{"type":"TypeList","computed":true,"elem":{"schema":{"content_type":{"type":"TypeString","computed":true},"etag":{"type":"TypeString","computed":true},"key":{"type":"TypeString","computed":true},"label":{"type":"TypeString","computed":true},"locked":{"type":"TypeBool","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"type":{"type":"TypeString","computed":true},"value":{"type":"TypeString","computed":true},"vault_key_reference":{"type":"TypeString","computed":true}}}},"key":{"type":"TypeString","optional":true,"default":""},"label":{"type":"TypeString","optional":true,"default":""}},"timeouts":{"read":5}},"azurerm_app_service":{"schema":{"app_service_plan_id":{"type":"TypeString","computed":true},"app_settings":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"client_affinity_enabled":{"type":"TypeBool","computed":true},"client_cert_enabled":{"type":"TypeBool","computed":true},"connection_string":{"type":"TypeList","computed":true,"elem":{"schema":{"name":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true},"value":{"type":"TypeString","computed":true}}}},"custom_domain_verification_id":{"type":"TypeString","computed":true},"default_site_hostname":{"type":"TypeString","computed":true},"enabled":{"type":"TypeBool","computed":true},"https_only":{"type":"TypeBool","computed":true},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"outbound_ip_address_list":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"outbound_ip_addresses":{"type":"TypeString","computed":true},"possible_outbound_ip_address_list":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"possible_outbound_ip_addresses":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true},"site_config":{"type":"TypeList","computed":true,"elem":{"schema":{"acr_use_managed_identity_credentials":{"type":"TypeBool","computed":true},"acr_user_managed_identity_client_id":{"type":"TypeString","computed":true},"always_on":{"type":"TypeBool","computed":true},"app_command_line":{"type":"TypeString","computed":true},"cors":{"type":"TypeList","computed":true,"elem":{"schema":{"allowed_origins":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"support_credentials":{"type":"TypeBool","computed":true}}}},"default_documents":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"dotnet_framework_version":{"type":"TypeString","computed":true},"ftps_state":{"type":"TypeString","computed":true},"health_check_path":{"type":"TypeString","computed":true},"http2_enabled":{"type":"TypeBool","computed":true},"ip_restriction":{"type":"TypeList","computed":true,"elem":{"schema":{"action":{"type":"TypeString","computed":true},"headers":{"type":"TypeList","configMode":"Auto","optional":true,"computed":true,"elem":{"schema":{"x_azure_fdid":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"x_fd_health_probe":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"x_forwarded_for":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"x_forwarded_host":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"ip_address":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"priority":{"type":"TypeInt","computed":true},"service_tag":{"type":"TypeString","computed":true},"virtual_network_subnet_id":{"type":"TypeString","computed":true}}}},"java_container":{"type":"TypeString","computed":true},"java_container_version":{"type":"TypeString","computed":true},"java_version":{"type":"TypeString","computed":true},"linux_fx_version":{"type":"TypeString","computed":true},"local_mysql_enabled":{"type":"TypeBool","computed":true},"managed_pipeline_mode":{"type":"TypeString","computed":true},"min_tls_version":{"type":"TypeString","computed":true},"number_of_workers":{"type":"TypeInt","computed":true},"php_version":{"type":"TypeString","computed":true},"python_version":{"type":"TypeString","computed":true},"remote_debugging_enabled":{"type":"TypeBool","computed":true},"remote_debugging_version":{"type":"TypeString","computed":true},"scm_ip_restriction":{"type":"TypeList","computed":true,"elem":{"schema":{"action":{"type":"TypeString","computed":true},"headers":{"type":"TypeList","configMode":"Auto","optional":true,"computed":true,"elem":{"schema":{"x_azure_fdid":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"x_fd_health_probe":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"x_forwarded_for":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"x_forwarded_host":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"ip_address":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"priority":{"type":"TypeInt","computed":true},"service_tag":{"type":"TypeString","computed":true},"virtual_network_subnet_id":{"type":"TypeString","computed":true}}}},"scm_type":{"type":"TypeString","computed":true},"scm_use_main_ip_restriction":{"type":"TypeBool","computed":true},"use_32_bit_worker_process":{"type":"TypeBool","computed":true},"vnet_route_all_enabled":{"type":"TypeBool","computed":true},"websockets_enabled":{"type":"TypeBool","computed":true},"windows_fx_version":{"type":"TypeString","computed":true}}}},"site_credential":{"type":"TypeList","computed":true,"elem":{"schema":{"password":{"type":"TypeString","computed":true},"username":{"type":"TypeString","computed":true}}}},"source_control":{"type":"TypeList","computed":true,"elem":{"schema":{"branch":{"type":"TypeString","computed":true},"manual_integration":{"type":"TypeBool","computed":true},"repo_url":{"type":"TypeString","computed":true},"rollback_enabled":{"type":"TypeBool","computed":true},"use_mercurial":{"type":"TypeBool","computed":true}}}},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_app_service_certificate":{"schema":{"expiration_date":{"type":"TypeString","computed":true},"friendly_name":{"type":"TypeString","computed":true},"host_names":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"issue_date":{"type":"TypeString","computed":true},"issuer":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"subject_name":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"thumbprint":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_app_service_certificate_order":{"schema":{"app_service_certificate_not_renewable_reasons":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"auto_renew":{"type":"TypeBool","computed":true},"certificates":{"type":"TypeList","computed":true,"elem":{"schema":{"certificate_name":{"type":"TypeString","computed":true},"key_vault_id":{"type":"TypeString","computed":true},"key_vault_secret_name":{"type":"TypeString","computed":true},"provisioning_state":{"type":"TypeString","computed":true}}}},"csr":{"type":"TypeString","computed":true},"distinguished_name":{"type":"TypeString","computed":true},"domain_verification_token":{"type":"TypeString","computed":true},"expiration_time":{"type":"TypeString","computed":true},"intermediate_thumbprint":{"type":"TypeString","computed":true},"is_private_key_external":{"type":"TypeBool","computed":true},"key_size":{"type":"TypeInt","computed":true},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"product_type":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true},"root_thumbprint":{"type":"TypeString","computed":true},"signed_certificate_thumbprint":{"type":"TypeString","computed":true},"status":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"validity_in_years":{"type":"TypeInt","computed":true}},"timeouts":{"read":5}},"azurerm_app_service_environment_v3":{"schema":{"allow_new_private_endpoint_connections":{"type":"TypeBool","computed":true},"cluster_setting":{"type":"TypeList","computed":true,"elem":{"schema":{"name":{"type":"TypeString","computed":true},"value":{"type":"TypeString","computed":true}}}},"dedicated_host_count":{"type":"TypeInt","computed":true},"dns_suffix":{"type":"TypeString","computed":true},"external_inbound_ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"inbound_network_dependencies":{"type":"TypeList","computed":true,"elem":{"schema":{"description":{"type":"TypeString","computed":true},"ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"ports":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}}},"internal_inbound_ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"internal_load_balancing_mode":{"type":"TypeString","computed":true},"ip_ssl_address_count":{"type":"TypeInt","computed":true},"linux_outbound_ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"pricing_tier":{"type":"TypeString","computed":true},"remote_debugging_enabled":{"type":"TypeBool","computed":true},"resource_group_name":{"type":"TypeString","required":true},"subnet_id":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"windows_outbound_ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"zone_redundant":{"type":"TypeBool","computed":true}},"timeouts":{"read":5}},"azurerm_app_service_plan":{"schema":{"app_service_environment_id":{"type":"TypeString","computed":true},"is_xenon":{"type":"TypeBool","computed":true},"kind":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"maximum_elastic_worker_count":{"type":"TypeInt","computed":true},"maximum_number_of_workers":{"type":"TypeInt","computed":true},"name":{"type":"TypeString","required":true},"per_site_scaling":{"type":"TypeBool","computed":true},"reserved":{"type":"TypeBool","computed":true},"resource_group_name":{"type":"TypeString","required":true},"sku":{"type":"TypeList","computed":true,"elem":{"schema":{"capacity":{"type":"TypeInt","computed":true},"size":{"type":"TypeString","computed":true},"tier":{"type":"TypeString","computed":true}}}},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"zone_redundant":{"type":"TypeBool","computed":true}},"timeouts":{"read":5}},"azurerm_application_gateway":{"schema":{"authentication_certificate":{"type":"TypeList","computed":true,"elem":{"schema":{"id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true}}}},"autoscale_configuration":{"type":"TypeList","computed":true,"elem":{"schema":{"max_capacity":{"type":"TypeInt","computed":true},"min_capacity":{"type":"TypeInt","computed":true}}}},"backend_address_pool":{"type":"TypeList","computed":true,"elem":{"schema":{"fqdns":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"id":{"type":"TypeString","computed":true},"ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","computed":true}}}},"backend_http_settings":{"type":"TypeList","computed":true,"elem":{"schema":{"affinity_cookie_name":{"type":"TypeString","computed":true},"authentication_certificate":{"type":"TypeList","computed":true,"elem":{"schema":{"id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true}}}},"connection_draining":{"type":"TypeList","computed":true,"elem":{"schema":{"drain_timeout_sec":{"type":"TypeInt","computed":true},"enabled":{"type":"TypeBool","computed":true}}}},"cookie_based_affinity":{"type":"TypeString","computed":true},"host_name":{"type":"TypeString","computed":true},"id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"path":{"type":"TypeString","computed":true},"pick_host_name_from_backend_address":{"type":"TypeBool","computed":true},"port":{"type":"TypeInt","computed":true},"probe_id":{"type":"TypeString","computed":true},"probe_name":{"type":"TypeString","computed":true},"protocol":{"type":"TypeString","computed":true},"request_timeout":{"type":"TypeInt","computed":true},"trusted_root_certificate_names":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}}},"custom_error_configuration":{"type":"TypeList","computed":true,"elem":{"schema":{"custom_error_page_url":{"type":"TypeString","computed":true},"id":{"type":"TypeString","computed":true},"status_code":{"type":"TypeString","computed":true}}}},"fips_enabled":{"type":"TypeBool","computed":true},"firewall_policy_id":{"type":"TypeString","computed":true},"force_firewall_policy_association":{"type":"TypeBool","computed":true},"frontend_ip_configuration":{"type":"TypeList","computed":true,"elem":{"schema":{"id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"private_ip_address":{"type":"TypeString","computed":true},"private_ip_address_allocation":{"type":"TypeString","computed":true},"private_link_configuration_id":{"type":"TypeString","computed":true},"private_link_configuration_name":{"type":"TypeString","computed":true},"public_ip_address_id":{"type":"TypeString","computed":true},"subnet_id":{"type":"TypeString","computed":true}}}},"frontend_port":{"type":"TypeList","computed":true,"elem":{"schema":{"id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"port":{"type":"TypeInt","computed":true}}}},"gateway_ip_configuration":{"type":"TypeList","computed":true,"elem":{"schema":{"id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"subnet_id":{"type":"TypeString","computed":true}}}},"global":{"type":"TypeList","computed":true,"elem":{"schema":{"request_buffering_enabled":{"type":"TypeBool","computed":true},"response_buffering_enabled":{"type":"TypeBool","computed":true}}}},"http2_enabled":{"type":"TypeBool","computed":true},"http_listener":{"type":"TypeList","computed":true,"elem":{"schema":{"custom_error_configuration":{"type":"TypeList","computed":true,"elem":{"schema":{"custom_error_page_url":{"type":"TypeString","computed":true},"id":{"type":"TypeString","computed":true},"status_code":{"type":"TypeString","computed":true}}}},"firewall_policy_id":{"type":"TypeString","computed":true},"frontend_ip_configuration_id":{"type":"TypeString","computed":true},"frontend_ip_configuration_name":{"type":"TypeString","computed":true},"frontend_port_id":{"type":"TypeString","computed":true},"frontend_port_name":{"type":"TypeString","computed":true},"host_name":{"type":"TypeString","computed":true},"host_names":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"protocol":{"type":"TypeString","computed":true},"require_sni":{"type":"TypeBool","computed":true},"ssl_certificate_id":{"type":"TypeString","computed":true},"ssl_certificate_name":{"type":"TypeString","computed":true},"ssl_profile_id":{"type":"TypeString","computed":true},"ssl_profile_name":{"type":"TypeString","computed":true}}}},"identity":{"type":"TypeList","computed":true,"elem":{"schema":{"identity_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"private_endpoint_connection":{"type":"TypeList","computed":true,"elem":{"schema":{"id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true}}}},"private_link_configuration":{"type":"TypeList","computed":true,"elem":{"schema":{"id":{"type":"TypeString","computed":true},"ip_configuration":{"type":"TypeList","computed":true,"elem":{"schema":{"name":{"type":"TypeString","computed":true},"primary":{"type":"TypeBool","computed":true},"private_ip_address":{"type":"TypeString","computed":true},"private_ip_address_allocation":{"type":"TypeString","computed":true},"subnet_id":{"type":"TypeString","computed":true}}}},"name":{"type":"TypeString","computed":true}}}},"probe":{"type":"TypeList","computed":true,"elem":{"schema":{"host":{"type":"TypeString","computed":true},"id":{"type":"TypeString","computed":true},"interval":{"type":"TypeInt","computed":true},"match":{"type":"TypeList","computed":true,"elem":{"schema":{"body":{"type":"TypeString","computed":true},"status_code":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}}},"minimum_servers":{"type":"TypeInt","computed":true},"name":{"type":"TypeString","computed":true},"path":{"type":"TypeString","computed":true},"pick_host_name_from_backend_http_settings":{"type":"TypeBool","computed":true},"port":{"type":"TypeInt","computed":true},"protocol":{"type":"TypeString","computed":true},"timeout":{"type":"TypeInt","computed":true},"unhealthy_threshold":{"type":"TypeInt","computed":true}}}},"redirect_configuration":{"type":"TypeList","computed":true,"elem":{"schema":{"id":{"type":"TypeString","computed":true},"include_path":{"type":"TypeBool","computed":true},"include_query_string":{"type":"TypeBool","computed":true},"name":{"type":"TypeString","computed":true},"redirect_type":{"type":"TypeString","computed":true},"target_listener_id":{"type":"TypeString","computed":true},"target_listener_name":{"type":"TypeString","computed":true},"target_url":{"type":"TypeString","computed":true}}}},"request_routing_rule":{"type":"TypeList","computed":true,"elem":{"schema":{"backend_address_pool_id":{"type":"TypeString","computed":true},"backend_address_pool_name":{"type":"TypeString","computed":true},"backend_http_settings_id":{"type":"TypeString","computed":true},"backend_http_settings_name":{"type":"TypeString","computed":true},"http_listener_id":{"type":"TypeString","computed":true},"http_listener_name":{"type":"TypeString","computed":true},"id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"priority":{"type":"TypeInt","computed":true},"redirect_configuration_id":{"type":"TypeString","computed":true},"redirect_configuration_name":{"type":"TypeString","computed":true},"rewrite_rule_set_id":{"type":"TypeString","computed":true},"rewrite_rule_set_name":{"type":"TypeString","computed":true},"rule_type":{"type":"TypeString","computed":true},"url_path_map_id":{"type":"TypeString","computed":true},"url_path_map_name":{"type":"TypeString","computed":true}}}},"resource_group_name":{"type":"TypeString","required":true},"rewrite_rule_set":{"type":"TypeList","computed":true,"elem":{"schema":{"id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"rewrite_rule":{"type":"TypeList","computed":true,"elem":{"schema":{"condition":{"type":"TypeList","computed":true,"elem":{"schema":{"ignore_case":{"type":"TypeBool","computed":true},"negate":{"type":"TypeBool","computed":true},"pattern":{"type":"TypeString","computed":true},"variable":{"type":"TypeString","computed":true}}}},"name":{"type":"TypeString","computed":true},"request_header_configuration":{"type":"TypeList","computed":true,"elem":{"schema":{"header_name":{"type":"TypeString","computed":true},"header_value":{"type":"TypeString","computed":true}}}},"response_header_configuration":{"type":"TypeList","computed":true,"elem":{"schema":{"header_name":{"type":"TypeString","computed":true},"header_value":{"type":"TypeString","computed":true}}}},"rule_sequence":{"type":"TypeInt","computed":true},"url":{"type":"TypeList","computed":true,"elem":{"schema":{"components":{"type":"TypeString","computed":true},"path":{"type":"TypeString","computed":true},"query_string":{"type":"TypeString","computed":true},"reroute":{"type":"TypeBool","computed":true}}}}}}}}}},"sku":{"type":"TypeList","computed":true,"elem":{"schema":{"capacity":{"type":"TypeInt","computed":true},"name":{"type":"TypeString","computed":true},"tier":{"type":"TypeString","computed":true}}}},"ssl_certificate":{"type":"TypeList","computed":true,"elem":{"schema":{"id":{"type":"TypeString","computed":true},"key_vault_secret_id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"public_cert_data":{"type":"TypeString","computed":true}}}},"ssl_policy":{"type":"TypeList","computed":true,"elem":{"schema":{"cipher_suites":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"disabled_protocols":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"min_protocol_version":{"type":"TypeString","computed":true},"policy_name":{"type":"TypeString","computed":true},"policy_type":{"type":"TypeString","computed":true}}}},"ssl_profile":{"type":"TypeList","computed":true,"elem":{"schema":{"id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"ssl_policy":{"type":"TypeList","computed":true,"elem":{"schema":{"cipher_suites":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"disabled_protocols":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"min_protocol_version":{"type":"TypeString","computed":true},"policy_name":{"type":"TypeString","computed":true},"policy_type":{"type":"TypeString","computed":true}}}},"trusted_client_certificate_names":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"verify_client_certificate_issuer_dn":{"type":"TypeBool","computed":true},"verify_client_certificate_revocation":{"type":"TypeString","computed":true}}}},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"trusted_client_certificate":{"type":"TypeList","computed":true,"elem":{"schema":{"data":{"type":"TypeString","computed":true},"id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true}}}},"trusted_root_certificate":{"type":"TypeList","computed":true,"elem":{"schema":{"id":{"type":"TypeString","computed":true},"key_vault_secret_id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true}}}},"url_path_map":{"type":"TypeList","computed":true,"elem":{"schema":{"default_backend_address_pool_id":{"type":"TypeString","computed":true},"default_backend_address_pool_name":{"type":"TypeString","computed":true},"default_backend_http_settings_id":{"type":"TypeString","computed":true},"default_backend_http_settings_name":{"type":"TypeString","computed":true},"default_redirect_configuration_id":{"type":"TypeString","computed":true},"default_redirect_configuration_name":{"type":"TypeString","computed":true},"default_rewrite_rule_set_id":{"type":"TypeString","computed":true},"default_rewrite_rule_set_name":{"type":"TypeString","computed":true},"id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"path_rule":{"type":"TypeList","computed":true,"elem":{"schema":{"backend_address_pool_id":{"type":"TypeString","computed":true},"backend_address_pool_name":{"type":"TypeString","computed":true},"backend_http_settings_id":{"type":"TypeString","computed":true},"backend_http_settings_name":{"type":"TypeString","computed":true},"firewall_policy_id":{"type":"TypeString","computed":true},"id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"paths":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"redirect_configuration_id":{"type":"TypeString","computed":true},"redirect_configuration_name":{"type":"TypeString","computed":true},"rewrite_rule_set_id":{"type":"TypeString","computed":true},"rewrite_rule_set_name":{"type":"TypeString","computed":true}}}}}}},"waf_configuration":{"type":"TypeList","computed":true,"elem":{"schema":{"disabled_rule_group":{"type":"TypeList","computed":true,"elem":{"schema":{"rule_group_name":{"type":"TypeString","computed":true},"rules":{"type":"TypeList","computed":true,"elem":{"type":"TypeInt"}}}}},"enabled":{"type":"TypeBool","computed":true},"exclusion":{"type":"TypeList","computed":true,"elem":{"schema":{"match_variable":{"type":"TypeString","computed":true},"selector":{"type":"TypeString","computed":true},"selector_match_operator":{"type":"TypeString","computed":true}}}},"file_upload_limit_mb":{"type":"TypeInt","computed":true},"firewall_mode":{"type":"TypeString","computed":true},"max_request_body_size_kb":{"type":"TypeInt","computed":true},"request_body_check":{"type":"TypeBool","computed":true},"rule_set_type":{"type":"TypeString","computed":true},"rule_set_version":{"type":"TypeString","computed":true}}}},"zones":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_application_insights":{"schema":{"app_id":{"type":"TypeString","computed":true},"application_type":{"type":"TypeString","computed":true},"connection_string":{"type":"TypeString","computed":true},"instrumentation_key":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"retention_in_days":{"type":"TypeInt","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"workspace_id":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_application_security_group":{"schema":{"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_arc_machine":{"schema":{"active_directory_fqdn":{"type":"TypeString","computed":true},"agent":{"type":"TypeList","computed":true,"elem":{"schema":{"extensions_allow_list":{"type":"TypeList","computed":true,"elem":{"schema":{"publisher":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"extensions_block_list":{"type":"TypeList","computed":true,"elem":{"schema":{"publisher":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"extensions_enabled":{"type":"TypeBool","computed":true},"guest_configuration_enabled":{"type":"TypeBool","computed":true},"incoming_connections_ports":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"proxy_bypass":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"proxy_url":{"type":"TypeString","computed":true}}}},"agent_version":{"type":"TypeString","computed":true},"client_public_key":{"type":"TypeString","computed":true},"cloud_metadata":{"type":"TypeList","computed":true,"elem":{"schema":{"provider":{"type":"TypeString","computed":true}}}},"detected_properties":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"display_name":{"type":"TypeString","computed":true},"dns_fqdn":{"type":"TypeString","computed":true},"domain_name":{"type":"TypeString","computed":true},"identity":{"type":"TypeList","computed":true,"elem":{"schema":{"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"last_status_change_time":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"location_data":{"type":"TypeList","computed":true,"elem":{"schema":{"city":{"type":"TypeString","computed":true},"country_or_region":{"type":"TypeString","computed":true},"district":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true}}}},"machine_fqdn":{"type":"TypeString","computed":true},"mssql_discovered":{"type":"TypeBool","computed":true},"name":{"type":"TypeString","required":true},"os_name":{"type":"TypeString","computed":true},"os_profile":{"type":"TypeList","computed":true,"elem":{"schema":{"computer_name":{"type":"TypeString","computed":true},"linux":{"type":"TypeList","computed":true,"elem":{"schema":{"patch":{"type":"TypeList","computed":true,"elem":{"schema":{"assessment_mode":{"type":"TypeString","computed":true},"patch_mode":{"type":"TypeString","computed":true}}}}}}},"windows":{"type":"TypeList","computed":true,"elem":{"schema":{"patch":{"type":"TypeList","computed":true,"elem":{"schema":{"assessment_mode":{"type":"TypeString","computed":true},"patch_mode":{"type":"TypeString","computed":true}}}}}}}}}},"os_sku":{"type":"TypeString","computed":true},"os_type":{"type":"TypeString","computed":true},"os_version":{"type":"TypeString","computed":true},"parent_cluster_resource_id":{"type":"TypeString","computed":true},"private_link_scope_resource_id":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true},"service_status":{"type":"TypeList","computed":true,"elem":{"schema":{"extension_service":{"type":"TypeList","computed":true,"elem":{"schema":{"startup_type":{"type":"TypeString","computed":true},"status":{"type":"TypeString","computed":true}}}},"guest_configuration_service":{"type":"TypeList","computed":true,"elem":{"schema":{"startup_type":{"type":"TypeString","computed":true},"status":{"type":"TypeString","computed":true}}}}}}},"status":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"vm_id":{"type":"TypeString","computed":true},"vm_uuid":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_arc_resource_bridge_appliance":{"schema":{"distro":{"type":"TypeString","computed":true},"identity":{"type":"TypeList","computed":true,"elem":{"schema":{"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"infrastructure_provider":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"public_key_base64":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_attestation_provider":{"schema":{"attestation_uri":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"trust_model":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_automation_account":{"schema":{"endpoint":{"type":"TypeString","computed":true},"hybrid_service_url":{"type":"TypeString","computed":true},"identity":{"type":"TypeList","computed":true,"elem":{"schema":{"identity_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"name":{"type":"TypeString","required":true},"primary_key":{"type":"TypeString","computed":true},"private_endpoint_connection":{"type":"TypeList","computed":true,"elem":{"schema":{"id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true}}}},"resource_group_name":{"type":"TypeString","required":true},"secondary_key":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_automation_runbook":{"schema":{"automation_account_name":{"type":"TypeString","required":true},"content":{"type":"TypeString","computed":true},"description":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"log_activity_trace_level":{"type":"TypeInt","computed":true},"log_progress":{"type":"TypeBool","computed":true},"log_verbose":{"type":"TypeBool","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"runbook_type":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_automation_variable_bool":{"schema":{"automation_account_name":{"type":"TypeString","required":true},"description":{"type":"TypeString","computed":true},"encrypted":{"type":"TypeBool","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"value":{"type":"TypeBool","computed":true}},"timeouts":{"read":5}},"azurerm_automation_variable_datetime":{"schema":{"automation_account_name":{"type":"TypeString","required":true},"description":{"type":"TypeString","computed":true},"encrypted":{"type":"TypeBool","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"value":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_automation_variable_int":{"schema":{"automation_account_name":{"type":"TypeString","required":true},"description":{"type":"TypeString","computed":true},"encrypted":{"type":"TypeBool","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"value":{"type":"TypeInt","computed":true}},"timeouts":{"read":5}},"azurerm_automation_variable_object":{"schema":{"automation_account_name":{"type":"TypeString","required":true},"description":{"type":"TypeString","computed":true},"encrypted":{"type":"TypeBool","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"value":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_automation_variable_string":{"schema":{"automation_account_name":{"type":"TypeString","required":true},"description":{"type":"TypeString","computed":true},"encrypted":{"type":"TypeBool","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"value":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_automation_variables":{"schema":{"automation_account_id":{"type":"TypeString","required":true},"bool":{"type":"TypeList","computed":true,"elem":{"schema":{"description":{"type":"TypeString","computed":true},"encrypted":{"type":"TypeBool","computed":true},"id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"value":{"type":"TypeBool","computed":true}}}},"datetime":{"type":"TypeList","computed":true,"elem":{"schema":{"description":{"type":"TypeString","computed":true},"encrypted":{"type":"TypeBool","computed":true},"id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"value":{"type":"TypeString","computed":true}}}},"encrypted":{"type":"TypeList","computed":true,"elem":{"schema":{"description":{"type":"TypeString","computed":true},"encrypted":{"type":"TypeBool","computed":true},"id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"value":{"type":"TypeString","computed":true}}}},"int":{"type":"TypeList","computed":true,"elem":{"schema":{"description":{"type":"TypeString","computed":true},"encrypted":{"type":"TypeBool","computed":true},"id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"value":{"type":"TypeInt","computed":true}}}},"null":{"type":"TypeList","computed":true,"elem":{"schema":{"description":{"type":"TypeString","computed":true},"encrypted":{"type":"TypeBool","computed":true},"id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"value":{"type":"TypeString","computed":true}}}},"object":{"type":"TypeList","computed":true,"elem":{"schema":{"description":{"type":"TypeString","computed":true},"encrypted":{"type":"TypeBool","computed":true},"id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"value":{"type":"TypeString","computed":true}}}},"string":{"type":"TypeList","computed":true,"elem":{"schema":{"description":{"type":"TypeString","computed":true},"encrypted":{"type":"TypeBool","computed":true},"id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"value":{"type":"TypeString","computed":true}}}}},"timeouts":{"read":5}},"azurerm_availability_set":{"schema":{"location":{"type":"TypeString","computed":true},"managed":{"type":"TypeBool","computed":true},"name":{"type":"TypeString","required":true},"platform_fault_domain_count":{"type":"TypeInt","computed":true},"platform_update_domain_count":{"type":"TypeInt","computed":true},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_backup_policy_file_share":{"schema":{"name":{"type":"TypeString","required":true},"recovery_vault_name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_backup_policy_vm":{"schema":{"name":{"type":"TypeString","required":true},"recovery_vault_name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_bastion_host":{"schema":{"copy_paste_enabled":{"type":"TypeBool","computed":true},"dns_name":{"type":"TypeString","computed":true},"file_copy_enabled":{"type":"TypeBool","computed":true},"ip_configuration":{"type":"TypeList","computed":true,"elem":{"schema":{"name":{"type":"TypeString","computed":true},"public_ip_address_id":{"type":"TypeString","computed":true},"subnet_id":{"type":"TypeString","computed":true}}}},"ip_connect_enabled":{"type":"TypeBool","computed":true},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"scale_units":{"type":"TypeInt","computed":true},"session_recording_enabled":{"type":"TypeBool","computed":true},"shareable_link_enabled":{"type":"TypeBool","computed":true},"sku":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"tunneling_enabled":{"type":"TypeBool","computed":true}},"timeouts":{"read":5}},"azurerm_batch_account":{"schema":{"account_endpoint":{"type":"TypeString","computed":true},"encryption":{"type":"TypeList","computed":true,"elem":{"schema":{"key_vault_key_id":{"type":"TypeString","computed":true}}}},"key_vault_reference":{"type":"TypeList","computed":true,"elem":{"schema":{"id":{"type":"TypeString","computed":true},"url":{"type":"TypeString","computed":true}}}},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"pool_allocation_mode":{"type":"TypeString","computed":true},"primary_access_key":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true},"secondary_access_key":{"type":"TypeString","computed":true},"storage_account_id":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_batch_application":{"schema":{"account_name":{"type":"TypeString","required":true},"allow_updates":{"type":"TypeBool","computed":true},"default_version":{"type":"TypeString","computed":true},"display_name":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_batch_certificate":{"schema":{"account_name":{"type":"TypeString","required":true},"format":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"public_data":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true},"thumbprint":{"type":"TypeString","computed":true},"thumbprint_algorithm":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_batch_pool":{"schema":{"account_name":{"type":"TypeString","required":true},"auto_scale":{"type":"TypeList","computed":true,"elem":{"schema":{"evaluation_interval":{"type":"TypeString","computed":true},"formula":{"type":"TypeString","computed":true}}}},"certificate":{"type":"TypeList","computed":true,"elem":{"schema":{"id":{"type":"TypeString","computed":true},"store_location":{"type":"TypeString","computed":true},"store_name":{"type":"TypeString","computed":true},"visibility":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}}}}},"container_configuration":{"type":"TypeList","computed":true,"elem":{"schema":{"container_image_names":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"container_registries":{"type":"TypeList","computed":true,"elem":{"schema":{"password":{"type":"TypeString","computed":true},"registry_server":{"type":"TypeString","computed":true},"user_assigned_identity_id":{"type":"TypeString","computed":true},"user_name":{"type":"TypeString","computed":true}}}},"type":{"type":"TypeString","computed":true}}}},"data_disks":{"type":"TypeList","computed":true,"elem":{"schema":{"caching":{"type":"TypeString","computed":true},"disk_size_gb":{"type":"TypeInt","computed":true},"lun":{"type":"TypeInt","computed":true},"storage_account_type":{"type":"TypeString","computed":true}}}},"disk_encryption":{"type":"TypeList","computed":true,"elem":{"schema":{"disk_encryption_target":{"type":"TypeString","computed":true}}}},"display_name":{"type":"TypeString","computed":true},"extensions":{"type":"TypeList","computed":true,"elem":{"schema":{"auto_upgrade_minor_version":{"type":"TypeBool","computed":true},"name":{"type":"TypeString","computed":true},"protected_settings":{"type":"TypeString","computed":true},"provision_after_extensions":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"publisher":{"type":"TypeString","computed":true},"settings_json":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true},"type_handler_version":{"type":"TypeString","computed":true}}}},"fixed_scale":{"type":"TypeList","computed":true,"elem":{"schema":{"resize_timeout":{"type":"TypeString","computed":true},"target_dedicated_nodes":{"type":"TypeInt","computed":true},"target_low_priority_nodes":{"type":"TypeInt","computed":true}}}},"inter_node_communication":{"type":"TypeString","computed":true},"license_type":{"type":"TypeString","computed":true},"max_tasks_per_node":{"type":"TypeInt","computed":true},"metadata":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"mount":{"type":"TypeList","computed":true,"elem":{"schema":{"azure_blob_file_system":{"type":"TypeList","optional":true,"elem":{"schema":{"account_key":{"type":"TypeString","computed":true},"account_name":{"type":"TypeString","computed":true},"blobfuse_options":{"type":"TypeString","computed":true},"container_name":{"type":"TypeString","computed":true},"identity_id":{"type":"TypeString","computed":true},"relative_mount_path":{"type":"TypeString","computed":true},"sas_key":{"type":"TypeString","computed":true}}}},"azure_file_share":{"type":"TypeList","optional":true,"elem":{"schema":{"account_key":{"type":"TypeString","computed":true},"account_name":{"type":"TypeString","computed":true},"azure_file_url":{"type":"TypeString","computed":true},"mount_options":{"type":"TypeString","computed":true},"relative_mount_path":{"type":"TypeString","computed":true}}}},"cifs_mount":{"type":"TypeList","computed":true,"elem":{"schema":{"mount_options":{"type":"TypeString","computed":true},"password":{"type":"TypeString","computed":true},"relative_mount_path":{"type":"TypeString","computed":true},"source":{"type":"TypeString","computed":true},"user_name":{"type":"TypeString","computed":true}}}},"nfs_mount":{"type":"TypeList","computed":true,"elem":{"schema":{"mount_options":{"type":"TypeString","computed":true},"relative_mount_path":{"type":"TypeString","computed":true},"source":{"type":"TypeString","computed":true}}}}}}},"name":{"type":"TypeString","required":true},"network_configuration":{"type":"TypeList","computed":true,"elem":{"schema":{"accelerated_networking_enabled":{"type":"TypeBool","computed":true},"dynamic_vnet_assignment_scope":{"type":"TypeString","computed":true},"endpoint_configuration":{"type":"TypeList","computed":true,"elem":{"schema":{"backend_port":{"type":"TypeInt","computed":true},"frontend_port_range":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"network_security_group_rules":{"type":"TypeList","computed":true,"elem":{"schema":{"access":{"type":"TypeString","computed":true},"priority":{"type":"TypeInt","computed":true},"source_address_prefix":{"type":"TypeString","computed":true},"source_port_ranges":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}}},"protocol":{"type":"TypeString","computed":true}}}},"public_address_provisioning_type":{"type":"TypeString","computed":true},"public_ips":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"subnet_id":{"type":"TypeString","computed":true}}}},"node_agent_sku_id":{"type":"TypeString","computed":true},"node_placement":{"type":"TypeList","computed":true,"elem":{"schema":{"policy":{"type":"TypeString","computed":true}}}},"os_disk_placement":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true},"start_task":{"type":"TypeList","computed":true,"elem":{"schema":{"command_line":{"type":"TypeString","computed":true},"common_environment_properties":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"container":{"type":"TypeList","computed":true,"elem":{"schema":{"image_name":{"type":"TypeString","computed":true},"registry":{"type":"TypeList","computed":true,"elem":{"schema":{"password":{"type":"TypeString","computed":true},"registry_server":{"type":"TypeString","computed":true},"user_assigned_identity_id":{"type":"TypeString","computed":true},"user_name":{"type":"TypeString","computed":true}}}},"run_options":{"type":"TypeString","computed":true},"working_directory":{"type":"TypeString","computed":true}}}},"resource_file":{"type":"TypeList","computed":true,"elem":{"schema":{"auto_storage_container_name":{"type":"TypeString","computed":true},"blob_prefix":{"type":"TypeString","computed":true},"file_mode":{"type":"TypeString","computed":true},"file_path":{"type":"TypeString","computed":true},"http_url":{"type":"TypeString","computed":true},"storage_container_url":{"type":"TypeString","computed":true},"user_assigned_identity_id":{"type":"TypeString","computed":true}}}},"task_retry_maximum":{"type":"TypeInt","computed":true},"user_identity":{"type":"TypeList","computed":true,"elem":{"schema":{"auto_user":{"type":"TypeList","computed":true,"elem":{"schema":{"elevation_level":{"type":"TypeString","computed":true},"scope":{"type":"TypeString","computed":true}}}},"user_name":{"type":"TypeString","computed":true}}}},"wait_for_success":{"type":"TypeBool","computed":true}}}},"storage_image_reference":{"type":"TypeList","computed":true,"elem":{"schema":{"id":{"type":"TypeString","computed":true},"offer":{"type":"TypeString","computed":true},"publisher":{"type":"TypeString","computed":true},"sku":{"type":"TypeString","computed":true},"version":{"type":"TypeString","computed":true}}}},"task_scheduling_policy":{"type":"TypeList","computed":true,"elem":{"schema":{"node_fill_type":{"type":"TypeString","computed":true}}}},"user_accounts":{"type":"TypeList","computed":true,"elem":{"schema":{"elevation_level":{"type":"TypeString","computed":true},"linux_user_configuration":{"type":"TypeList","computed":true,"elem":{"schema":{"gid":{"type":"TypeInt","computed":true},"ssh_private_key":{"type":"TypeString","computed":true},"uid":{"type":"TypeInt","computed":true}}}},"name":{"type":"TypeString","computed":true},"password":{"type":"TypeString","computed":true},"windows_user_configuration":{"type":"TypeList","computed":true,"elem":{"schema":{"login_mode":{"type":"TypeString","computed":true}}}}}}},"vm_size":{"type":"TypeString","computed":true},"windows":{"type":"TypeList","computed":true,"elem":{"schema":{"enable_automatic_updates":{"type":"TypeBool","computed":true}}}}},"timeouts":{"read":5}},"azurerm_billing_enrollment_account_scope":{"schema":{"billing_account_name":{"type":"TypeString","required":true},"enrollment_account_name":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_billing_mca_account_scope":{"schema":{"billing_account_name":{"type":"TypeString","required":true},"billing_profile_name":{"type":"TypeString","required":true},"invoice_section_name":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_billing_mpa_account_scope":{"schema":{"billing_account_name":{"type":"TypeString","required":true},"customer_name":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_blueprint_definition":{"schema":{"description":{"type":"TypeString","computed":true},"display_name":{"type":"TypeString","computed":true},"last_modified":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"scope_id":{"type":"TypeString","required":true},"target_scope":{"type":"TypeString","computed":true},"time_created":{"type":"TypeString","computed":true},"versions":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_blueprint_published_version":{"schema":{"blueprint_name":{"type":"TypeString","required":true},"description":{"type":"TypeString","computed":true},"display_name":{"type":"TypeString","computed":true},"last_modified":{"type":"TypeString","computed":true},"scope_id":{"type":"TypeString","required":true},"target_scope":{"type":"TypeString","computed":true},"time_created":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true},"version":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_cdn_frontdoor_custom_domain":{"schema":{"cdn_frontdoor_profile_id":{"type":"TypeString","computed":true},"dns_zone_id":{"type":"TypeString","computed":true},"expiration_date":{"type":"TypeString","computed":true},"host_name":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"profile_name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"tls":{"type":"TypeList","computed":true,"elem":{"schema":{"cdn_frontdoor_secret_id":{"type":"TypeString","computed":true},"certificate_type":{"type":"TypeString","computed":true},"minimum_tls_version":{"type":"TypeString","computed":true}}}},"validation_token":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_cdn_frontdoor_endpoint":{"schema":{"enabled":{"type":"TypeBool","computed":true},"host_name":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"profile_name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_cdn_frontdoor_firewall_policy":{"schema":{"enabled":{"type":"TypeBool","computed":true},"frontend_endpoint_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"mode":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"redirect_url":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true},"sku_name":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_cdn_frontdoor_origin_group":{"schema":{"cdn_frontdoor_profile_id":{"type":"TypeString","computed":true},"health_probe":{"type":"TypeList","computed":true,"elem":{"schema":{"interval_in_seconds":{"type":"TypeInt","computed":true},"path":{"type":"TypeString","computed":true},"protocol":{"type":"TypeString","computed":true},"request_type":{"type":"TypeString","computed":true}}}},"load_balancing":{"type":"TypeList","computed":true,"elem":{"schema":{"additional_latency_in_milliseconds":{"type":"TypeInt","computed":true},"sample_size":{"type":"TypeInt","computed":true},"successful_samples_required":{"type":"TypeInt","computed":true}}}},"name":{"type":"TypeString","required":true},"profile_name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"restore_traffic_time_to_healed_or_new_endpoint_in_minutes":{"type":"TypeInt","computed":true},"session_affinity_enabled":{"type":"TypeBool","computed":true}},"timeouts":{"read":5}},"azurerm_cdn_frontdoor_profile":{"schema":{"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"resource_guid":{"type":"TypeString","computed":true},"response_timeout_seconds":{"type":"TypeInt","computed":true},"sku_name":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_cdn_frontdoor_rule_set":{"schema":{"cdn_frontdoor_profile_id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"profile_name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_cdn_frontdoor_secret":{"schema":{"cdn_frontdoor_profile_id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"profile_name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"secret":{"type":"TypeList","computed":true,"elem":{"schema":{"customer_certificate":{"type":"TypeList","computed":true,"elem":{"schema":{"expiration_date":{"type":"TypeString","computed":true},"key_vault_certificate_id":{"type":"TypeString","computed":true},"subject_alternative_names":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}}}}}}},"timeouts":{"read":5}},"azurerm_cdn_profile":{"schema":{"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"sku":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_client_config":{"schema":{"client_id":{"type":"TypeString","computed":true},"object_id":{"type":"TypeString","computed":true},"subscription_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_cognitive_account":{"schema":{"endpoint":{"type":"TypeString","computed":true},"identity":{"type":"TypeList","computed":true,"elem":{"schema":{"identity_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"kind":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"primary_access_key":{"type":"TypeString","computed":true},"qna_runtime_endpoint":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true},"secondary_access_key":{"type":"TypeString","computed":true},"sku_name":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_communication_service":{"schema":{"data_location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"primary_connection_string":{"type":"TypeString","computed":true},"primary_key":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true},"secondary_connection_string":{"type":"TypeString","computed":true},"secondary_key":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_confidential_ledger":{"schema":{"azuread_based_service_principal":{"type":"TypeList","computed":true,"elem":{"schema":{"ledger_role_name":{"type":"TypeString","computed":true},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true}}}},"certificate_based_security_principal":{"type":"TypeList","computed":true,"elem":{"schema":{"ledger_role_name":{"type":"TypeString","computed":true},"pem_public_key":{"type":"TypeString","computed":true}}}},"identity_service_endpoint":{"type":"TypeString","computed":true},"ledger_endpoint":{"type":"TypeString","computed":true},"ledger_type":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_consumption_budget_resource_group":{"schema":{"amount":{"type":"TypeFloat","computed":true},"filter":{"type":"TypeList","computed":true,"elem":{"schema":{"dimension":{"type":"TypeList","computed":true,"elem":{"schema":{"name":{"type":"TypeString","computed":true},"operator":{"type":"TypeString","computed":true},"values":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}}},"not":{"type":"TypeList","computed":true,"elem":{"schema":{"dimension":{"type":"TypeList","computed":true,"elem":{"schema":{"name":{"type":"TypeString","computed":true},"operator":{"type":"TypeString","computed":true},"values":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}}},"tag":{"type":"TypeList","computed":true,"elem":{"schema":{"name":{"type":"TypeString","computed":true},"operator":{"type":"TypeString","computed":true},"values":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}}}}}},"tag":{"type":"TypeList","computed":true,"elem":{"schema":{"name":{"type":"TypeString","computed":true},"operator":{"type":"TypeString","computed":true},"values":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}}}}}},"name":{"type":"TypeString","required":true},"notification":{"type":"TypeList","computed":true,"elem":{"schema":{"contact_emails":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"contact_groups":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"contact_roles":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"enabled":{"type":"TypeBool","computed":true},"operator":{"type":"TypeString","computed":true},"threshold":{"type":"TypeInt","computed":true},"threshold_type":{"type":"TypeString","computed":true}}}},"resource_group_id":{"type":"TypeString","required":true},"time_grain":{"type":"TypeString","computed":true},"time_period":{"type":"TypeList","computed":true,"elem":{"schema":{"end_date":{"type":"TypeString","computed":true},"start_date":{"type":"TypeString","computed":true}}}}},"timeouts":{"read":5}},"azurerm_consumption_budget_subscription":{"schema":{"amount":{"type":"TypeFloat","computed":true},"filter":{"type":"TypeList","computed":true,"elem":{"schema":{"dimension":{"type":"TypeList","computed":true,"elem":{"schema":{"name":{"type":"TypeString","computed":true},"operator":{"type":"TypeString","computed":true},"values":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}}},"not":{"type":"TypeList","computed":true,"elem":{"schema":{"dimension":{"type":"TypeList","computed":true,"elem":{"schema":{"name":{"type":"TypeString","computed":true},"operator":{"type":"TypeString","computed":true},"values":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}}},"tag":{"type":"TypeList","computed":true,"elem":{"schema":{"name":{"type":"TypeString","computed":true},"operator":{"type":"TypeString","computed":true},"values":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}}}}}},"tag":{"type":"TypeList","computed":true,"elem":{"schema":{"name":{"type":"TypeString","computed":true},"operator":{"type":"TypeString","computed":true},"values":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}}}}}},"name":{"type":"TypeString","required":true},"notification":{"type":"TypeList","computed":true,"elem":{"schema":{"contact_emails":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"contact_groups":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"contact_roles":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"enabled":{"type":"TypeBool","computed":true},"operator":{"type":"TypeString","computed":true},"threshold":{"type":"TypeInt","computed":true},"threshold_type":{"type":"TypeString","computed":true}}}},"subscription_id":{"type":"TypeString","required":true},"time_grain":{"type":"TypeString","computed":true},"time_period":{"type":"TypeList","computed":true,"elem":{"schema":{"end_date":{"type":"TypeString","computed":true},"start_date":{"type":"TypeString","computed":true}}}}},"timeouts":{"read":5}},"azurerm_container_app":{"schema":{"container_app_environment_id":{"type":"TypeString","computed":true},"custom_domain_verification_id":{"type":"TypeString","description":"The ID of the Custom Domain Verification for this Container App.","computed":true},"dapr":{"type":"TypeList","computed":true,"elem":{"schema":{"app_id":{"type":"TypeString","description":"The Dapr Application Identifier.","computed":true},"app_port":{"type":"TypeInt","description":"The port which the application is listening on. This is the same as the `ingress` port.","computed":true},"app_protocol":{"type":"TypeString","description":"The protocol for the app. Possible values include `http` and `grpc`. Defaults to `http`.","computed":true}}}},"identity":{"type":"TypeList","computed":true,"elem":{"schema":{"identity_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"ingress":{"type":"TypeList","computed":true,"elem":{"schema":{"allow_insecure_connections":{"type":"TypeBool","description":"Should this ingress allow insecure connections?","computed":true},"custom_domain":{"type":"TypeList","computed":true,"elem":{"schema":{"certificate_binding_type":{"type":"TypeString","description":"The Binding type. Possible values include `Disabled` and `SniEnabled`. Defaults to `Disabled`","computed":true},"certificate_id":{"type":"TypeString","description":"The ID of the Certificate.","computed":true},"name":{"type":"TypeString","description":"The hostname of the Certificate. Must be the CN or a named SAN in the certificate.","computed":true}}}},"exposed_port":{"type":"TypeInt","description":"The exposed port on the container for the Ingress traffic.","computed":true},"external_enabled":{"type":"TypeBool","description":"Is this an external Ingress.","computed":true},"fqdn":{"type":"TypeString","description":"The FQDN of the ingress.","computed":true},"ip_security_restriction":{"type":"TypeList","computed":true,"elem":{"schema":{"action":{"type":"TypeString","description":"The action. Allow or Deny.","computed":true},"description":{"type":"TypeString","description":"Describe the IP restriction rule that is being sent to the container-app.","computed":true},"ip_address_range":{"type":"TypeString","description":"CIDR notation to match incoming IP address.","computed":true},"name":{"type":"TypeString","description":"Name for the IP restriction rule.","computed":true}}}},"target_port":{"type":"TypeInt","description":"The target port on the container for the Ingress traffic.","computed":true},"traffic_weight":{"type":"TypeList","computed":true,"elem":{"schema":{"label":{"type":"TypeString","description":"The label to apply to the revision as a name prefix for routing traffic.","computed":true},"latest_revision":{"type":"TypeBool","description":"This traffic Weight relates to the latest stable Container Revision.","computed":true},"percentage":{"type":"TypeInt","description":"The percentage of traffic to send to this revision.","computed":true},"revision_suffix":{"type":"TypeString","description":"The suffix string to append to the revision. This must be unique for the Container App's lifetime. A default hash created by the service will be used if this value is omitted.","computed":true}}}},"transport":{"type":"TypeString","description":"The transport method for the Ingress. Possible values include `auto`, `http`, and `http2`, `tcp`. Defaults to `auto`","computed":true}}}},"latest_revision_fqdn":{"type":"TypeString","description":"The fully qualified domain name of the latest Container App.","computed":true},"latest_revision_name":{"type":"TypeString","description":"The name of the latest Container Revision.","computed":true},"location":{"type":"TypeString","computed":true},"max_inactive_revisions":{"type":"TypeInt","computed":true},"name":{"type":"TypeString","required":true},"outbound_ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"registry":{"type":"TypeList","computed":true,"elem":{"schema":{"identity":{"type":"TypeString","description":"ID of the System or User Managed Identity used to pull images from the Container Registry","computed":true},"password_secret_name":{"type":"TypeString","description":"The name of the Secret Reference containing the password value for this user on the Container Registry.","computed":true},"server":{"type":"TypeString","description":"The hostname for the Container Registry.","computed":true},"username":{"type":"TypeString","description":"The username to use for this Container Registry.","computed":true}}}},"resource_group_name":{"type":"TypeString","required":true},"revision_mode":{"type":"TypeString","computed":true},"secret":{"type":"TypeSet","computed":true,"elem":{"schema":{"identity":{"type":"TypeString","description":"The identity to use for accessing key vault reference.","computed":true},"key_vault_secret_id":{"type":"TypeString","description":"The id of the key vault secret.","computed":true},"name":{"type":"TypeString","description":"The secret name.","computed":true},"value":{"type":"TypeString","description":"The value for this secret.","computed":true}}}},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"template":{"type":"TypeList","computed":true,"elem":{"schema":{"azure_queue_scale_rule":{"type":"TypeList","computed":true,"elem":{"schema":{"authentication":{"type":"TypeList","computed":true,"elem":{"schema":{"secret_name":{"type":"TypeString","computed":true},"trigger_parameter":{"type":"TypeString","computed":true}}}},"name":{"type":"TypeString","computed":true},"queue_length":{"type":"TypeInt","computed":true},"queue_name":{"type":"TypeString","computed":true}}}},"container":{"type":"TypeList","computed":true,"elem":{"schema":{"args":{"type":"TypeList","description":"A list of args to pass to the container.","computed":true,"elem":{"type":"TypeString"}},"command":{"type":"TypeList","description":"A command to pass to the container to override the default. This is provided as a list of command line elements without spaces.","computed":true,"elem":{"type":"TypeString"}},"cpu":{"type":"TypeFloat","description":"The amount of vCPU to allocate to the container. Possible values include `0.25`, `0.5`, `0.75`, `1.0`, `1.25`, `1.5`, `1.75`, and `2.0`. **NOTE:** `cpu` and `memory` must be specified in `0.25'/'0.5Gi` combination increments. e.g. `1.0` / `2.0` or `0.5` / `1.0`","computed":true},"env":{"type":"TypeList","computed":true,"elem":{"schema":{"name":{"type":"TypeString","description":"The name of the environment variable for the container.","computed":true},"secret_name":{"type":"TypeString","description":"The name of the secret that contains the value for this environment variable.","computed":true},"value":{"type":"TypeString","description":"The value for this environment variable. **NOTE:** This value is ignored if `secret_name` is used","computed":true}}}},"ephemeral_storage":{"type":"TypeString","description":"The amount of ephemeral storage available to the Container App.","computed":true},"image":{"type":"TypeString","description":"The image to use to create the container.","computed":true},"liveness_probe":{"type":"TypeList","computed":true,"elem":{"schema":{"failure_count_threshold":{"type":"TypeInt","description":"The number of consecutive failures required to consider this probe as failed. Possible values are between `1` and `30`. Defaults to `3`.","computed":true},"header":{"type":"TypeList","computed":true,"elem":{"schema":{"name":{"type":"TypeString","description":"The HTTP Header Name.","computed":true},"value":{"type":"TypeString","description":"The HTTP Header value.","computed":true}}}},"host":{"type":"TypeString","description":"The probe hostname. Defaults to the pod IP address. Setting a value for `Host` in `headers` can be used to override this for `http` and `https` type probes.","computed":true},"initial_delay":{"type":"TypeInt","description":"The number of seconds elapsed after the container has started before the probe is initiated. Possible values are between `0` and `60`. Defaults to `1` seconds.","computed":true},"interval_seconds":{"type":"TypeInt","description":"How often, in seconds, the probe should run. Possible values are between `1` and `240`. Defaults to `10`","computed":true},"path":{"type":"TypeString","description":"The URI to use with the `host` for http type probes. Not valid for `TCP` type probes. Defaults to `/`.","computed":true},"port":{"type":"TypeInt","description":"The port number on which to connect. Possible values are between `1` and `65535`.","computed":true},"termination_grace_period_seconds":{"type":"TypeInt","description":"The time in seconds after the container is sent the termination signal before the process if forcibly killed.","computed":true},"timeout":{"type":"TypeInt","description":"Time in seconds after which the probe times out. Possible values are between `1` an `240`. Defaults to `1`.","computed":true},"transport":{"type":"TypeString","description":"Type of probe. Possible values are `TCP`, `HTTP`, and `HTTPS`.","computed":true}}}},"memory":{"type":"TypeString","description":"The amount of memory to allocate to the container. Possible values include `0.5Gi`, `1.0Gi`, `1.5Gi`, `2.0Gi`, `2.5Gi`, `3.0Gi`, `3.5Gi`, and `4.0Gi`. **NOTE:** `cpu` and `memory` must be specified in `0.25'/'0.5Gi` combination increments. e.g. `1.25` / `2.5Gi` or `0.75` / `1.5Gi`","computed":true},"name":{"type":"TypeString","description":"The name of the container.","computed":true},"readiness_probe":{"type":"TypeList","computed":true,"elem":{"schema":{"failure_count_threshold":{"type":"TypeInt","description":"The number of consecutive failures required to consider this probe as failed. Possible values are between `1` and `30`. Defaults to `3`.","computed":true},"header":{"type":"TypeList","computed":true,"elem":{"schema":{"name":{"type":"TypeString","description":"The HTTP Header Name.","computed":true},"value":{"type":"TypeString","description":"The HTTP Header value.","computed":true}}}},"host":{"type":"TypeString","description":"The probe hostname. Defaults to the pod IP address. Setting a value for `Host` in `headers` can be used to override this for `http` and `https` type probes.","computed":true},"initial_delay":{"type":"TypeInt","description":"The number of seconds elapsed after the container has started before the probe is initiated. Possible values are between `0` and `60`. Defaults to `0` seconds.","computed":true},"interval_seconds":{"type":"TypeInt","description":"How often, in seconds, the probe should run. Possible values are between `1` and `240`. Defaults to `10`","computed":true},"path":{"type":"TypeString","description":"The URI to use for http type probes. Not valid for `TCP` type probes. Defaults to `/`.","computed":true},"port":{"type":"TypeInt","description":"The port number on which to connect. Possible values are between `1` and `65535`.","computed":true},"success_count_threshold":{"type":"TypeInt","description":"The number of consecutive successful responses required to consider this probe as successful. Possible values are between `1` and `10`. Defaults to `3`.","computed":true},"timeout":{"type":"TypeInt","description":"Time in seconds after which the probe times out. Possible values are between `1` an `240`. Defaults to `1`.","computed":true},"transport":{"type":"TypeString","description":"Type of probe. Possible values are `TCP`, `HTTP`, and `HTTPS`.","computed":true}}}},"startup_probe":{"type":"TypeList","computed":true,"elem":{"schema":{"failure_count_threshold":{"type":"TypeInt","description":"The number of consecutive failures required to consider this probe as failed. Possible values are between `1` and `30`. Defaults to `3`.","computed":true},"header":{"type":"TypeList","computed":true,"elem":{"schema":{"name":{"type":"TypeString","description":"The HTTP Header Name.","computed":true},"value":{"type":"TypeString","description":"The HTTP Header value.","computed":true}}}},"host":{"type":"TypeString","computed":true},"initial_delay":{"type":"TypeInt","description":"The number of seconds elapsed after the container has started before the probe is initiated. Possible values are between `0` and `60`. Defaults to `0` seconds.","computed":true},"interval_seconds":{"type":"TypeInt","description":"How often, in seconds, the probe should run. Possible values are between `1` and `240`. Defaults to `10`","computed":true},"path":{"type":"TypeString","computed":true},"port":{"type":"TypeInt","computed":true},"termination_grace_period_seconds":{"type":"TypeInt","description":"The time in seconds after the container is sent the termination signal before the process if forcibly killed.","computed":true},"timeout":{"type":"TypeInt","description":"Time in seconds after which the probe times out. Possible values are between `1` an `240`. Defaults to `1`.","computed":true},"transport":{"type":"TypeString","computed":true}}}},"volume_mounts":{"type":"TypeList","computed":true,"elem":{"schema":{"name":{"type":"TypeString","description":"The name of the Volume to be mounted in the container.","computed":true},"path":{"type":"TypeString","description":"The path in the container at which to mount this volume.","computed":true}}}}}}},"custom_scale_rule":{"type":"TypeList","optional":true,"elem":{"schema":{"authentication":{"type":"TypeList","computed":true,"elem":{"schema":{"secret_name":{"type":"TypeString","computed":true},"trigger_parameter":{"type":"TypeString","computed":true}}}},"custom_rule_type":{"type":"TypeString","computed":true},"metadata":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","computed":true}}}},"http_scale_rule":{"type":"TypeList","computed":true,"elem":{"schema":{"authentication":{"type":"TypeList","computed":true,"elem":{"schema":{"secret_name":{"type":"TypeString","computed":true},"trigger_parameter":{"type":"TypeString","computed":true}}}},"concurrent_requests":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true}}}},"init_container":{"type":"TypeList","computed":true,"elem":{"schema":{"args":{"type":"TypeList","description":"A list of args to pass to the container.","computed":true,"elem":{"type":"TypeString"}},"command":{"type":"TypeList","description":"A command to pass to the container to override the default. This is provided as a list of command line elements without spaces.","computed":true,"elem":{"type":"TypeString"}},"cpu":{"type":"TypeFloat","description":"The amount of vCPU to allocate to the container. Possible values include `0.25`, `0.5`, `0.75`, `1.0`, `1.25`, `1.5`, `1.75`, and `2.0`. **NOTE:** `cpu` and `memory` must be specified in `0.25'/'0.5Gi` combination increments. e.g. `1.0` / `2.0` or `0.5` / `1.0`","computed":true},"env":{"type":"TypeList","computed":true,"elem":{"schema":{"name":{"type":"TypeString","description":"The name of the environment variable for the container.","computed":true},"secret_name":{"type":"TypeString","description":"The name of the secret that contains the value for this environment variable.","computed":true},"value":{"type":"TypeString","description":"The value for this environment variable. **NOTE:** This value is ignored if `secret_name` is used","computed":true}}}},"ephemeral_storage":{"type":"TypeString","description":"The amount of ephemeral storage available to the Container App.","computed":true},"image":{"type":"TypeString","description":"The image to use to create the container.","computed":true},"memory":{"type":"TypeString","description":"The amount of memory to allocate to the container. Possible values include `0.5Gi`, `1.0Gi`, `1.5Gi`, `2.0Gi`, `2.5Gi`, `3.0Gi`, `3.5Gi`, and `4.0Gi`. **NOTE:** `cpu` and `memory` must be specified in `0.25'/'0.5Gi` combination increments. e.g. `1.25` / `2.5Gi` or `0.75` / `1.5Gi`","computed":true},"name":{"type":"TypeString","description":"The name of the container.","computed":true},"volume_mounts":{"type":"TypeList","computed":true,"elem":{"schema":{"name":{"type":"TypeString","description":"The name of the Volume to be mounted in the container.","computed":true},"path":{"type":"TypeString","description":"The path in the container at which to mount this volume.","computed":true}}}}}}},"max_replicas":{"type":"TypeInt","description":"The maximum number of replicas for this container.","computed":true},"min_replicas":{"type":"TypeInt","description":"The minimum number of replicas for this container.","computed":true},"revision_suffix":{"type":"TypeString","computed":true},"tcp_scale_rule":{"type":"TypeList","computed":true,"elem":{"schema":{"authentication":{"type":"TypeList","computed":true,"elem":{"schema":{"secret_name":{"type":"TypeString","computed":true},"trigger_parameter":{"type":"TypeString","computed":true}}}},"concurrent_requests":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true}}}},"volume":{"type":"TypeList","computed":true,"elem":{"schema":{"name":{"type":"TypeString","computed":true},"storage_name":{"type":"TypeString","computed":true},"storage_type":{"type":"TypeString","computed":true}}}}}}},"workload_profile_name":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_container_app_environment":{"schema":{"custom_domain_verification_id":{"type":"TypeString","description":"The ID of the Custom Domain Verification for this Container App Environment.","computed":true},"default_domain":{"type":"TypeString","description":"The default publicly resolvable name of this Container App Environment","computed":true},"docker_bridge_cidr":{"type":"TypeString","description":"The network addressing in which the Container Apps in this Container App Environment will reside in CIDR notation.","computed":true},"infrastructure_subnet_id":{"type":"TypeString","description":"The existing Subnet in use by the Container Apps Control Plane.","computed":true},"internal_load_balancer_enabled":{"type":"TypeBool","description":"Does the Container Environment operate in Internal Load Balancing Mode?","computed":true},"location":{"type":"TypeString","computed":true},"log_analytics_workspace_name":{"type":"TypeString","description":"The name of the Log Analytics Workspace this Container Apps Managed Environment is linked to.","computed":true},"name":{"type":"TypeString","required":true,"description":"The name of the Container Apps Managed Environment."},"platform_reserved_cidr":{"type":"TypeString","description":"The IP range, in CIDR notation, that is reserved for environment infrastructure IP addresses.","computed":true},"platform_reserved_dns_ip_address":{"type":"TypeString","description":"The IP address from the IP range defined by `platform_reserved_cidr` that is reserved for the internal DNS server.","computed":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"static_ip_address":{"type":"TypeString","description":"The Static IP Address of the Environment.","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_container_app_environment_certificate":{"schema":{"container_app_environment_id":{"type":"TypeString","required":true,"description":"The Container App Managed Environment ID to configure this Certificate on.","forceNew":true},"expiration_date":{"type":"TypeString","description":"The expiration date for the Certificate.","computed":true},"issue_date":{"type":"TypeString","description":"The date of issue for the Certificate.","computed":true},"issuer":{"type":"TypeString","description":"The Certificate Issuer.","computed":true},"name":{"type":"TypeString","required":true,"description":"The name of the Container Apps Certificate.","forceNew":true},"subject_name":{"type":"TypeString","description":"The Subject Name for the Certificate.","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"thumbprint":{"type":"TypeString","description":"The Thumbprint of the Certificate.","computed":true}},"timeouts":{"read":5}},"azurerm_container_group":{"schema":{"fqdn":{"type":"TypeString","computed":true},"identity":{"type":"TypeList","computed":true,"elem":{"schema":{"identity_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"ip_address":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"subnet_ids":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"zones":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_container_registry":{"schema":{"admin_enabled":{"type":"TypeBool","computed":true},"admin_password":{"type":"TypeString","computed":true},"admin_username":{"type":"TypeString","computed":true},"data_endpoint_enabled":{"type":"TypeBool","computed":true},"location":{"type":"TypeString","computed":true},"login_server":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"sku":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_container_registry_cache_rule":{"schema":{"container_registry_id":{"type":"TypeString","required":true},"credential_set_id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"source_repo":{"type":"TypeString","computed":true},"target_repo":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_container_registry_scope_map":{"schema":{"actions":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"container_registry_name":{"type":"TypeString","required":true},"description":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_container_registry_token":{"schema":{"container_registry_name":{"type":"TypeString","required":true},"enabled":{"type":"TypeBool","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"scope_map_id":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_cosmosdb_account":{"schema":{"automatic_failover_enabled":{"type":"TypeBool","computed":true},"capabilities":{"type":"TypeList","computed":true,"elem":{"schema":{"name":{"type":"TypeString","computed":true}}}},"consistency_policy":{"type":"TypeList","computed":true,"elem":{"schema":{"consistency_level":{"type":"TypeString","computed":true},"max_interval_in_seconds":{"type":"TypeInt","computed":true},"max_staleness_prefix":{"type":"TypeInt","computed":true}}}},"endpoint":{"type":"TypeString","computed":true},"free_tier_enabled":{"type":"TypeBool","computed":true},"geo_location":{"type":"TypeList","computed":true,"elem":{"schema":{"failover_priority":{"type":"TypeInt","computed":true},"id":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true}}}},"ip_range_filter":{"type":"TypeString","computed":true},"is_virtual_network_filter_enabled":{"type":"TypeBool","computed":true},"key_vault_key_id":{"type":"TypeString","computed":true},"kind":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"multiple_write_locations_enabled":{"type":"TypeBool","computed":true},"name":{"type":"TypeString","required":true},"offer_type":{"type":"TypeString","computed":true},"primary_key":{"type":"TypeString","computed":true},"primary_mongodb_connection_string":{"type":"TypeString","computed":true},"primary_readonly_key":{"type":"TypeString","computed":true},"primary_readonly_mongodb_connection_string":{"type":"TypeString","computed":true},"primary_readonly_sql_connection_string":{"type":"TypeString","computed":true},"primary_sql_connection_string":{"type":"TypeString","computed":true},"read_endpoints":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"resource_group_name":{"type":"TypeString","required":true},"secondary_key":{"type":"TypeString","computed":true},"secondary_mongodb_connection_string":{"type":"TypeString","computed":true},"secondary_readonly_key":{"type":"TypeString","computed":true},"secondary_readonly_mongodb_connection_string":{"type":"TypeString","computed":true},"secondary_readonly_sql_connection_string":{"type":"TypeString","computed":true},"secondary_sql_connection_string":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"virtual_network_rule":{"type":"TypeList","computed":true,"elem":{"schema":{"id":{"type":"TypeString","computed":true}}}},"write_endpoints":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_cosmosdb_mongo_database":{"schema":{"account_name":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_cosmosdb_restorable_database_accounts":{"schema":{"accounts":{"type":"TypeList","computed":true,"elem":{"schema":{"api_type":{"type":"TypeString","computed":true},"creation_time":{"type":"TypeString","computed":true},"deletion_time":{"type":"TypeString","computed":true},"id":{"type":"TypeString","computed":true},"restorable_locations":{"type":"TypeList","computed":true,"elem":{"schema":{"creation_time":{"type":"TypeString","computed":true},"deletion_time":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"regional_database_account_instance_id":{"type":"TypeString","computed":true}}}}}}},"location":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_cosmosdb_sql_database":{"schema":{"account_name":{"type":"TypeString","required":true},"autoscale_settings":{"type":"TypeList","computed":true,"elem":{"schema":{"max_throughput":{"type":"TypeInt","computed":true}}}},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"throughput":{"type":"TypeInt","computed":true}},"timeouts":{"read":5}},"azurerm_cosmosdb_sql_role_definition":{"schema":{"account_name":{"type":"TypeString","required":true},"assignable_scopes":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","computed":true},"permissions":{"type":"TypeSet","computed":true,"elem":{"schema":{"data_actions":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}}}}},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"role_definition_id":{"type":"TypeString","required":true},"type":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_dashboard_grafana":{"schema":{"api_key_enabled":{"type":"TypeBool","computed":true},"auto_generated_domain_name_label_scope":{"type":"TypeString","computed":true},"azure_monitor_workspace_integrations":{"type":"TypeList","computed":true,"elem":{"schema":{"resource_id":{"type":"TypeString","computed":true}}}},"deterministic_outbound_ip_enabled":{"type":"TypeBool","computed":true},"endpoint":{"type":"TypeString","computed":true},"grafana_major_version":{"type":"TypeString","computed":true},"grafana_version":{"type":"TypeString","computed":true},"identity":{"type":"TypeList","optional":true,"forceNew":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"forceNew":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true,"forceNew":true}}},"maxItems":1},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"outbound_ips":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"public_network_access_enabled":{"type":"TypeBool","computed":true},"resource_group_name":{"type":"TypeString","required":true},"sku":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"zone_redundancy_enabled":{"type":"TypeBool","computed":true}},"timeouts":{"read":5}},"azurerm_data_factory":{"schema":{"github_configuration":{"type":"TypeList","computed":true,"elem":{"schema":{"account_name":{"type":"TypeString","computed":true},"branch_name":{"type":"TypeString","computed":true},"git_url":{"type":"TypeString","computed":true},"repository_name":{"type":"TypeString","computed":true},"root_folder":{"type":"TypeString","computed":true}}}},"identity":{"type":"TypeList","computed":true,"elem":{"schema":{"identity_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"vsts_configuration":{"type":"TypeList","computed":true,"elem":{"schema":{"account_name":{"type":"TypeString","computed":true},"branch_name":{"type":"TypeString","computed":true},"project_name":{"type":"TypeString","computed":true},"repository_name":{"type":"TypeString","computed":true},"root_folder":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true}}}}},"timeouts":{"read":5}},"azurerm_data_factory_trigger_schedule":{"schema":{"activated":{"type":"TypeBool","computed":true},"annotations":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"data_factory_id":{"type":"TypeString","required":true},"description":{"type":"TypeString","computed":true},"end_time":{"type":"TypeString","computed":true},"frequency":{"type":"TypeString","computed":true},"interval":{"type":"TypeInt","computed":true},"name":{"type":"TypeString","required":true},"pipeline_name":{"type":"TypeString","computed":true},"schedule":{"type":"TypeList","computed":true,"elem":{"schema":{"days_of_month":{"type":"TypeList","computed":true,"elem":{"type":"TypeInt"}},"days_of_week":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"hours":{"type":"TypeList","computed":true,"elem":{"type":"TypeInt"}},"minutes":{"type":"TypeList","computed":true,"elem":{"type":"TypeInt"}},"monthly":{"type":"TypeList","computed":true,"elem":{"schema":{"week":{"type":"TypeInt","computed":true},"weekday":{"type":"TypeString","computed":true}}}}}}},"start_time":{"type":"TypeString","computed":true},"time_zone":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_data_factory_trigger_schedules":{"schema":{"data_factory_id":{"type":"TypeString","required":true},"items":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_data_protection_backup_vault":{"schema":{"datastore_type":{"type":"TypeString","computed":true},"identity":{"type":"TypeList","computed":true,"elem":{"schema":{"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"redundancy":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_data_share":{"schema":{"account_id":{"type":"TypeString","required":true},"description":{"type":"TypeString","computed":true},"kind":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"snapshot_schedule":{"type":"TypeList","computed":true,"elem":{"schema":{"name":{"type":"TypeString","computed":true},"recurrence":{"type":"TypeString","computed":true},"start_time":{"type":"TypeString","computed":true}}}},"terms":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_data_share_account":{"schema":{"identity":{"type":"TypeList","computed":true,"elem":{"schema":{"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_data_share_dataset_blob_storage":{"schema":{"container_name":{"type":"TypeString","computed":true},"data_share_id":{"type":"TypeString","required":true},"display_name":{"type":"TypeString","computed":true},"file_path":{"type":"TypeString","computed":true},"folder_path":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"storage_account":{"type":"TypeList","computed":true,"elem":{"schema":{"name":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","computed":true},"subscription_id":{"type":"TypeString","computed":true}}}}},"timeouts":{"read":5}},"azurerm_data_share_dataset_data_lake_gen2":{"schema":{"display_name":{"type":"TypeString","computed":true},"file_path":{"type":"TypeString","computed":true},"file_system_name":{"type":"TypeString","computed":true},"folder_path":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"share_id":{"type":"TypeString","required":true},"storage_account_id":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_data_share_dataset_kusto_cluster":{"schema":{"display_name":{"type":"TypeString","computed":true},"kusto_cluster_id":{"type":"TypeString","computed":true},"kusto_cluster_location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"share_id":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_data_share_dataset_kusto_database":{"schema":{"display_name":{"type":"TypeString","computed":true},"kusto_cluster_location":{"type":"TypeString","computed":true},"kusto_database_id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"share_id":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_database_migration_project":{"schema":{"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"service_name":{"type":"TypeString","required":true},"source_platform":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"target_platform":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_database_migration_service":{"schema":{"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"sku_name":{"type":"TypeString","computed":true},"subnet_id":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_databox_edge_device":{"schema":{"device_properties":{"type":"TypeList","computed":true,"elem":{"schema":{"capacity":{"type":"TypeInt","computed":true},"configured_role_types":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"culture":{"type":"TypeString","computed":true},"hcs_version":{"type":"TypeString","computed":true},"model":{"type":"TypeString","computed":true},"node_count":{"type":"TypeInt","computed":true},"serial_number":{"type":"TypeString","computed":true},"software_version":{"type":"TypeString","computed":true},"status":{"type":"TypeString","computed":true},"time_zone":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true,"forceNew":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"sku_name":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_databricks_access_connector":{"schema":{"identity":{"type":"TypeList","computed":true,"elem":{"schema":{"identity_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_databricks_workspace":{"schema":{"location":{"type":"TypeString","computed":true},"managed_disk_identity":{"type":"TypeList","computed":true,"elem":{"schema":{"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"sku":{"type":"TypeString","computed":true},"storage_account_identity":{"type":"TypeList","computed":true,"elem":{"schema":{"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"workspace_id":{"type":"TypeString","computed":true},"workspace_url":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_databricks_workspace_private_endpoint_connection":{"schema":{"connections":{"type":"TypeList","computed":true,"elem":{"schema":{"action_required":{"type":"TypeString","computed":true},"description":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"status":{"type":"TypeString","computed":true},"workspace_private_endpoint_id":{"type":"TypeString","computed":true}}}},"private_endpoint_id":{"type":"TypeString","required":true},"workspace_id":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_dedicated_host":{"schema":{"dedicated_host_group_name":{"type":"TypeString","required":true},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_dedicated_host_group":{"schema":{"automatic_placement_enabled":{"type":"TypeBool","computed":true},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"platform_fault_domain_count":{"type":"TypeInt","computed":true},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"zones":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_dev_test_lab":{"schema":{"artifacts_storage_account_id":{"type":"TypeString","computed":true},"default_premium_storage_account_id":{"type":"TypeString","computed":true},"default_storage_account_id":{"type":"TypeString","computed":true},"key_vault_id":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"premium_data_disk_storage_account_id":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true},"storage_type":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"unique_identifier":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_dev_test_virtual_network":{"schema":{"allowed_subnets":{"type":"TypeList","computed":true,"elem":{"schema":{"allow_public_ip":{"type":"TypeString","computed":true},"lab_subnet_name":{"type":"TypeString","computed":true},"resource_id":{"type":"TypeString","computed":true}}}},"lab_name":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"subnet_overrides":{"type":"TypeList","computed":true,"elem":{"schema":{"lab_subnet_name":{"type":"TypeString","computed":true},"resource_id":{"type":"TypeString","computed":true},"use_in_vm_creation_permission":{"type":"TypeString","computed":true},"use_public_ip_address_permission":{"type":"TypeString","computed":true},"virtual_network_pool_name":{"type":"TypeString","computed":true}}}},"unique_identifier":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_digital_twins_instance":{"schema":{"host_name":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_disk_access":{"schema":{"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_disk_encryption_set":{"schema":{"auto_key_rotation_enabled":{"type":"TypeBool","computed":true},"identity":{"type":"TypeList","computed":true,"elem":{"schema":{"identity_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"key_vault_key_url":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_dns_a_record":{"schema":{"fqdn":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"records":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"target_resource_id":{"type":"TypeString","computed":true},"ttl":{"type":"TypeInt","computed":true},"zone_name":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_dns_aaaa_record":{"schema":{"fqdn":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"records":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"target_resource_id":{"type":"TypeString","computed":true},"ttl":{"type":"TypeInt","computed":true},"zone_name":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_dns_caa_record":{"schema":{"fqdn":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"record":{"type":"TypeSet","computed":true,"elem":{"schema":{"flags":{"type":"TypeInt","computed":true},"tag":{"type":"TypeString","computed":true},"value":{"type":"TypeString","computed":true}}}},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"ttl":{"type":"TypeInt","computed":true},"zone_name":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_dns_cname_record":{"schema":{"fqdn":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"record":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"target_resource_id":{"type":"TypeString","computed":true},"ttl":{"type":"TypeInt","computed":true},"zone_name":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_dns_mx_record":{"schema":{"fqdn":{"type":"TypeString","computed":true},"name":{"type":"TypeString","optional":true},"record":{"type":"TypeSet","computed":true,"elem":{"schema":{"exchange":{"type":"TypeString","computed":true},"preference":{"type":"TypeString","computed":true}}}},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"ttl":{"type":"TypeInt","computed":true},"zone_name":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_dns_ns_record":{"schema":{"fqdn":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"records":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"ttl":{"type":"TypeInt","computed":true},"zone_name":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_dns_ptr_record":{"schema":{"fqdn":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"records":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"ttl":{"type":"TypeInt","computed":true},"zone_name":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_dns_soa_record":{"schema":{"email":{"type":"TypeString","computed":true},"expire_time":{"type":"TypeInt","computed":true},"fqdn":{"type":"TypeString","computed":true},"host_name":{"type":"TypeString","computed":true},"minimum_ttl":{"type":"TypeInt","computed":true},"name":{"type":"TypeString","optional":true,"default":"@"},"refresh_time":{"type":"TypeInt","computed":true},"resource_group_name":{"type":"TypeString","required":true},"retry_time":{"type":"TypeInt","computed":true},"serial_number":{"type":"TypeInt","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"ttl":{"type":"TypeInt","computed":true},"zone_name":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_dns_srv_record":{"schema":{"fqdn":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"record":{"type":"TypeSet","computed":true,"elem":{"schema":{"port":{"type":"TypeInt","computed":true},"priority":{"type":"TypeInt","computed":true},"target":{"type":"TypeString","computed":true},"weight":{"type":"TypeInt","computed":true}}}},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"ttl":{"type":"TypeInt","computed":true},"zone_name":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_dns_txt_record":{"schema":{"fqdn":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"record":{"type":"TypeSet","computed":true,"elem":{"schema":{"value":{"type":"TypeString","computed":true}}}},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"ttl":{"type":"TypeInt","computed":true},"zone_name":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_dns_zone":{"schema":{"max_number_of_record_sets":{"type":"TypeInt","computed":true},"name":{"type":"TypeString","required":true},"name_servers":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"number_of_record_sets":{"type":"TypeInt","computed":true},"resource_group_name":{"type":"TypeString","optional":true,"computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_elastic_cloud_elasticsearch":{"schema":{"elastic_cloud_deployment_id":{"type":"TypeString","computed":true},"elastic_cloud_email_address":{"type":"TypeString","computed":true},"elastic_cloud_sso_default_url":{"type":"TypeString","computed":true},"elastic_cloud_user_id":{"type":"TypeString","computed":true},"elasticsearch_service_url":{"type":"TypeString","computed":true},"kibana_service_url":{"type":"TypeString","computed":true},"kibana_sso_uri":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"logs":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"filtering_tag":{"type":"TypeList","computed":true,"elem":{"schema":{"action":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"value":{"type":"TypeString","computed":true}}}},"send_activity_logs":{"type":"TypeBool","computed":true},"send_azuread_logs":{"type":"TypeBool","computed":true},"send_subscription_logs":{"type":"TypeBool","computed":true}}}},"monitoring_enabled":{"type":"TypeBool","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"sku_name":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_elastic_san":{"schema":{"base_size_in_tib":{"type":"TypeInt","computed":true},"extended_size_in_tib":{"type":"TypeInt","computed":true},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"sku":{"type":"TypeList","computed":true,"elem":{"schema":{"name":{"type":"TypeString","computed":true},"tier":{"type":"TypeString","computed":true}}}},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"total_iops":{"type":"TypeInt","computed":true},"total_mbps":{"type":"TypeInt","computed":true},"total_size_in_tib":{"type":"TypeInt","computed":true},"total_volume_size_in_gib":{"type":"TypeInt","computed":true},"volume_group_count":{"type":"TypeInt","computed":true},"zones":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_elastic_san_volume_group":{"schema":{"elastic_san_id":{"type":"TypeString","required":true},"encryption":{"type":"TypeList","computed":true,"elem":{"schema":{"current_versioned_key_expiration_timestamp":{"type":"TypeString","computed":true},"current_versioned_key_id":{"type":"TypeString","computed":true},"key_vault_key_id":{"type":"TypeString","computed":true},"last_key_rotation_timestamp":{"type":"TypeString","computed":true},"user_assigned_identity_id":{"type":"TypeString","computed":true}}}},"encryption_type":{"type":"TypeString","computed":true},"identity":{"type":"TypeList","computed":true,"elem":{"schema":{"identity_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"name":{"type":"TypeString","required":true},"network_rule":{"type":"TypeList","computed":true,"elem":{"schema":{"action":{"type":"TypeString","computed":true},"subnet_id":{"type":"TypeString","computed":true}}}},"protocol_type":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_elastic_san_volume_snapshot":{"schema":{"name":{"type":"TypeString","required":true},"source_id":{"type":"TypeString","computed":true},"source_volume_size_in_gib":{"type":"TypeInt","computed":true},"volume_group_id":{"type":"TypeString","required":true,"forceNew":true},"volume_name":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_eventgrid_domain":{"schema":{"endpoint":{"type":"TypeString","computed":true},"identity":{"type":"TypeList","computed":true,"elem":{"schema":{"identity_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"inbound_ip_rule":{"type":"TypeList","computed":true,"elem":{"schema":{"action":{"type":"TypeString","computed":true},"ip_mask":{"type":"TypeString","computed":true}}}},"input_mapping_default_values":{"type":"TypeList","computed":true,"elem":{"schema":{"data_version":{"type":"TypeString","computed":true},"event_type":{"type":"TypeString","computed":true},"subject":{"type":"TypeString","computed":true}}}},"input_mapping_fields":{"type":"TypeList","computed":true,"elem":{"schema":{"data_version":{"type":"TypeString","computed":true},"event_time":{"type":"TypeString","computed":true},"event_type":{"type":"TypeString","computed":true},"id":{"type":"TypeString","computed":true},"subject":{"type":"TypeString","computed":true},"topic":{"type":"TypeString","computed":true}}}},"input_schema":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"primary_access_key":{"type":"TypeString","computed":true},"public_network_access_enabled":{"type":"TypeBool","computed":true},"resource_group_name":{"type":"TypeString","required":true},"secondary_access_key":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_eventgrid_domain_topic":{"schema":{"domain_name":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_eventgrid_system_topic":{"schema":{"identity":{"type":"TypeList","computed":true,"elem":{"schema":{"identity_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"location":{"type":"TypeString","computed":true},"metric_arm_resource_id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"source_arm_resource_id":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"topic_type":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_eventgrid_topic":{"schema":{"endpoint":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"primary_access_key":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true},"secondary_access_key":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_eventhub":{"schema":{"name":{"type":"TypeString","required":true},"namespace_name":{"type":"TypeString","required":true},"partition_count":{"type":"TypeInt","computed":true},"partition_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"resource_group_name":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_eventhub_authorization_rule":{"schema":{"eventhub_name":{"type":"TypeString","required":true},"listen":{"type":"TypeBool","optional":true,"default":false},"manage":{"type":"TypeBool","optional":true,"default":false},"name":{"type":"TypeString","required":true},"namespace_name":{"type":"TypeString","required":true},"primary_connection_string":{"type":"TypeString","computed":true},"primary_connection_string_alias":{"type":"TypeString","computed":true},"primary_key":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true},"secondary_connection_string":{"type":"TypeString","computed":true},"secondary_connection_string_alias":{"type":"TypeString","computed":true},"secondary_key":{"type":"TypeString","computed":true},"send":{"type":"TypeBool","optional":true,"default":false}},"timeouts":{"read":5}},"azurerm_eventhub_cluster":{"schema":{"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"sku_name":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_eventhub_consumer_group":{"schema":{"eventhub_name":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true},"namespace_name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"user_metadata":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_eventhub_namespace":{"schema":{"auto_inflate_enabled":{"type":"TypeBool","computed":true},"capacity":{"type":"TypeInt","computed":true},"dedicated_cluster_id":{"type":"TypeString","computed":true},"default_primary_connection_string":{"type":"TypeString","computed":true},"default_primary_connection_string_alias":{"type":"TypeString","computed":true},"default_primary_key":{"type":"TypeString","computed":true},"default_secondary_connection_string":{"type":"TypeString","computed":true},"default_secondary_connection_string_alias":{"type":"TypeString","computed":true},"default_secondary_key":{"type":"TypeString","computed":true},"kafka_enabled":{"type":"TypeBool","computed":true},"location":{"type":"TypeString","computed":true},"maximum_throughput_units":{"type":"TypeInt","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"sku":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_eventhub_namespace_authorization_rule":{"schema":{"listen":{"type":"TypeBool","computed":true},"manage":{"type":"TypeBool","computed":true},"name":{"type":"TypeString","required":true},"namespace_name":{"type":"TypeString","required":true},"primary_connection_string":{"type":"TypeString","computed":true},"primary_connection_string_alias":{"type":"TypeString","computed":true},"primary_key":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true},"secondary_connection_string":{"type":"TypeString","computed":true},"secondary_connection_string_alias":{"type":"TypeString","computed":true},"secondary_key":{"type":"TypeString","computed":true},"send":{"type":"TypeBool","computed":true}},"timeouts":{"read":5}},"azurerm_eventhub_sas":{"schema":{"connection_string":{"type":"TypeString","required":true},"expiry":{"type":"TypeString","required":true},"sas":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_express_route_circuit":{"schema":{"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"peerings":{"type":"TypeList","computed":true,"elem":{"schema":{"azure_asn":{"type":"TypeInt","computed":true},"peer_asn":{"type":"TypeInt","computed":true},"peering_type":{"type":"TypeString","computed":true},"primary_peer_address_prefix":{"type":"TypeString","computed":true},"secondary_peer_address_prefix":{"type":"TypeString","computed":true},"shared_key":{"type":"TypeString","computed":true},"vlan_id":{"type":"TypeInt","computed":true}}}},"resource_group_name":{"type":"TypeString","required":true},"service_key":{"type":"TypeString","computed":true},"service_provider_properties":{"type":"TypeList","computed":true,"elem":{"schema":{"bandwidth_in_mbps":{"type":"TypeInt","computed":true},"peering_location":{"type":"TypeString","computed":true},"service_provider_name":{"type":"TypeString","computed":true}}}},"service_provider_provisioning_state":{"type":"TypeString","computed":true},"sku":{"type":"TypeList","computed":true,"elem":{"schema":{"family":{"type":"TypeString","computed":true},"tier":{"type":"TypeString","computed":true}}}}},"timeouts":{"read":5}},"azurerm_express_route_circuit_peering":{"schema":{"azure_asn":{"type":"TypeInt","computed":true},"express_route_circuit_name":{"type":"TypeString","required":true},"gateway_manager_etag":{"type":"TypeString","computed":true},"ipv4_enabled":{"type":"TypeBool","computed":true},"peer_asn":{"type":"TypeInt","computed":true},"peering_type":{"type":"TypeString","required":true},"primary_azure_port":{"type":"TypeString","computed":true},"primary_peer_address_prefix":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true},"route_filter_id":{"type":"TypeString","computed":true},"secondary_azure_port":{"type":"TypeString","computed":true},"secondary_peer_address_prefix":{"type":"TypeString","computed":true},"shared_key":{"type":"TypeString","computed":true},"vlan_id":{"type":"TypeInt","computed":true}},"timeouts":{"read":5}},"azurerm_extended_locations":{"schema":{"extended_locations":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"location":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_firewall":{"schema":{"dns_proxy_enabled":{"type":"TypeBool","optional":true,"computed":true},"dns_servers":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"firewall_policy_id":{"type":"TypeString","computed":true},"ip_configuration":{"type":"TypeList","computed":true,"elem":{"schema":{"name":{"type":"TypeString","computed":true},"private_ip_address":{"type":"TypeString","computed":true},"public_ip_address_id":{"type":"TypeString","computed":true},"subnet_id":{"type":"TypeString","computed":true}}}},"location":{"type":"TypeString","computed":true},"management_ip_configuration":{"type":"TypeList","computed":true,"elem":{"schema":{"name":{"type":"TypeString","computed":true},"private_ip_address":{"type":"TypeString","computed":true},"public_ip_address_id":{"type":"TypeString","computed":true},"subnet_id":{"type":"TypeString","computed":true}}}},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"sku_name":{"type":"TypeString","computed":true},"sku_tier":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"threat_intel_mode":{"type":"TypeString","computed":true},"virtual_hub":{"type":"TypeList","computed":true,"elem":{"schema":{"private_ip_address":{"type":"TypeString","computed":true},"public_ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"public_ip_count":{"type":"TypeInt","computed":true},"virtual_hub_id":{"type":"TypeString","computed":true}}}},"zones":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_firewall_policy":{"schema":{"base_policy_id":{"type":"TypeString","computed":true},"child_policies":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"dns":{"type":"TypeList","computed":true,"elem":{"schema":{"network_rule_fqdn_enabled":{"type":"TypeBool","computed":true},"proxy_enabled":{"type":"TypeBool","computed":true},"servers":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}}},"firewalls":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"rule_collection_groups":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"threat_intelligence_allowlist":{"type":"TypeList","computed":true,"elem":{"schema":{"fqdns":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}}},"threat_intelligence_mode":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_function_app":{"schema":{"app_service_plan_id":{"type":"TypeString","computed":true},"app_settings":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"client_cert_mode":{"type":"TypeString","computed":true},"connection_string":{"type":"TypeList","computed":true,"elem":{"schema":{"name":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true},"value":{"type":"TypeString","computed":true}}}},"custom_domain_verification_id":{"type":"TypeString","computed":true},"default_hostname":{"type":"TypeString","computed":true},"enabled":{"type":"TypeBool","computed":true},"identity":{"type":"TypeList","computed":true,"elem":{"schema":{"identity_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"os_type":{"type":"TypeString","computed":true},"outbound_ip_addresses":{"type":"TypeString","computed":true},"possible_outbound_ip_addresses":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true},"site_config":{"type":"TypeList","computed":true,"elem":{"schema":{"always_on":{"type":"TypeBool","computed":true},"app_scale_limit":{"type":"TypeInt","computed":true},"auto_swap_slot_name":{"type":"TypeString","computed":true},"cors":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"allowed_origins":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}},"support_credentials":{"type":"TypeBool","optional":true,"default":false}}},"maxItems":1},"dotnet_framework_version":{"type":"TypeString","computed":true},"elastic_instance_minimum":{"type":"TypeInt","computed":true},"ftps_state":{"type":"TypeString","computed":true},"health_check_path":{"type":"TypeString","computed":true},"http2_enabled":{"type":"TypeBool","computed":true},"ip_restriction":{"type":"TypeList","computed":true,"elem":{"schema":{"action":{"type":"TypeString","computed":true},"headers":{"type":"TypeList","configMode":"Auto","optional":true,"computed":true,"elem":{"schema":{"x_azure_fdid":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"x_fd_health_probe":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"x_forwarded_for":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"x_forwarded_host":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"ip_address":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"priority":{"type":"TypeInt","computed":true},"service_tag":{"type":"TypeString","computed":true},"virtual_network_subnet_id":{"type":"TypeString","computed":true}}}},"java_version":{"type":"TypeString","computed":true},"linux_fx_version":{"type":"TypeString","computed":true},"min_tls_version":{"type":"TypeString","computed":true},"pre_warmed_instance_count":{"type":"TypeInt","computed":true},"runtime_scale_monitoring_enabled":{"type":"TypeBool","computed":true},"scm_ip_restriction":{"type":"TypeList","computed":true,"elem":{"schema":{"action":{"type":"TypeString","computed":true},"headers":{"type":"TypeList","configMode":"Auto","optional":true,"computed":true,"elem":{"schema":{"x_azure_fdid":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"x_fd_health_probe":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"x_forwarded_for":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"x_forwarded_host":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}}}},"maxItems":1},"ip_address":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"priority":{"type":"TypeInt","computed":true},"service_tag":{"type":"TypeString","computed":true},"virtual_network_subnet_id":{"type":"TypeString","computed":true}}}},"scm_type":{"type":"TypeString","computed":true},"scm_use_main_ip_restriction":{"type":"TypeBool","computed":true},"use_32_bit_worker_process":{"type":"TypeBool","computed":true},"vnet_route_all_enabled":{"type":"TypeBool","computed":true},"websockets_enabled":{"type":"TypeBool","computed":true}}}},"site_credential":{"type":"TypeList","computed":true,"elem":{"schema":{"password":{"type":"TypeString","computed":true},"username":{"type":"TypeString","computed":true}}}},"source_control":{"type":"TypeList","computed":true,"elem":{"schema":{"branch":{"type":"TypeString","computed":true},"manual_integration":{"type":"TypeBool","computed":true},"repo_url":{"type":"TypeString","computed":true},"rollback_enabled":{"type":"TypeBool","computed":true},"use_mercurial":{"type":"TypeBool","computed":true}}}},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_function_app_host_keys":{"schema":{"blobs_extension_key":{"type":"TypeString","computed":true},"default_function_key":{"type":"TypeString","computed":true},"durabletask_extension_key":{"type":"TypeString","computed":true},"event_grid_extension_config_key":{"type":"TypeString","computed":true},"event_grid_extension_key":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"primary_key":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true},"signalr_extension_key":{"type":"TypeString","computed":true},"webpubsub_extension_key":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_hdinsight_cluster":{"schema":{"cluster_id":{"type":"TypeString","computed":true},"cluster_version":{"type":"TypeString","computed":true},"component_versions":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"edge_ssh_endpoint":{"type":"TypeString","computed":true},"gateway":{"type":"TypeList","computed":true,"elem":{"schema":{"enabled":{"type":"TypeBool","computed":true},"password":{"type":"TypeString","computed":true},"username":{"type":"TypeString","computed":true}}}},"https_endpoint":{"type":"TypeString","computed":true},"kafka_rest_proxy_endpoint":{"type":"TypeString","computed":true},"kind":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"ssh_endpoint":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"tier":{"type":"TypeString","computed":true},"tls_min_version":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_healthcare_dicom_service":{"schema":{"authentication":{"type":"TypeList","computed":true,"elem":{"schema":{"audience":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"authority":{"type":"TypeString","computed":true}}}},"identity":{"type":"TypeList","computed":true,"elem":{"schema":{"identity_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"private_endpoint":{"type":"TypeList","computed":true,"elem":{"schema":{"id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true}}}},"service_url":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"workspace_id":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_healthcare_fhir_service":{"schema":{"access_policy_object_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"authentication":{"type":"TypeList","computed":true,"elem":{"schema":{"audience":{"type":"TypeString","computed":true},"authority":{"type":"TypeString","computed":true},"smart_proxy_enabled":{"type":"TypeBool","computed":true}}}},"configuration_export_storage_account_name":{"type":"TypeString","computed":true},"container_registry_login_server_url":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"cors":{"type":"TypeList","computed":true,"elem":{"schema":{"allowed_headers":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"allowed_methods":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"allowed_origins":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"credentials_allowed":{"type":"TypeBool","computed":true},"max_age_in_seconds":{"type":"TypeInt","computed":true}}}},"identity":{"type":"TypeList","computed":true,"elem":{"schema":{"identity_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"kind":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"workspace_id":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_healthcare_medtech_service":{"schema":{"device_mapping_json":{"type":"TypeString","computed":true},"eventhub_consumer_group_name":{"type":"TypeString","computed":true},"eventhub_name":{"type":"TypeString","computed":true},"eventhub_namespace_name":{"type":"TypeString","computed":true},"identity":{"type":"TypeList","computed":true,"elem":{"schema":{"identity_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"name":{"type":"TypeString","required":true},"workspace_id":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_healthcare_service":{"schema":{"access_policy_object_ids":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"authentication_configuration":{"type":"TypeList","computed":true,"elem":{"schema":{"audience":{"type":"TypeString","computed":true},"authority":{"type":"TypeString","computed":true},"smart_proxy_enabled":{"type":"TypeBool","computed":true}}}},"cors_configuration":{"type":"TypeList","computed":true,"elem":{"schema":{"allow_credentials":{"type":"TypeBool","computed":true},"allowed_headers":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"allowed_methods":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"allowed_origins":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"max_age_in_seconds":{"type":"TypeInt","computed":true}}}},"cosmosdb_key_vault_key_versionless_id":{"type":"TypeString","computed":true},"cosmosdb_throughput":{"type":"TypeInt","computed":true},"kind":{"type":"TypeString","computed":true},"location":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_healthcare_workspace":{"schema":{"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_image":{"schema":{"data_disk":{"type":"TypeList","computed":true,"elem":{"schema":{"blob_uri":{"type":"TypeString","computed":true},"caching":{"type":"TypeString","computed":true},"lun":{"type":"TypeInt","computed":true},"managed_disk_id":{"type":"TypeString","computed":true},"size_gb":{"type":"TypeInt","computed":true}}}},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","optional":true},"name_regex":{"type":"TypeString","optional":true},"os_disk":{"type":"TypeList","computed":true,"elem":{"schema":{"blob_uri":{"type":"TypeString","computed":true},"caching":{"type":"TypeString","computed":true},"managed_disk_id":{"type":"TypeString","computed":true},"os_state":{"type":"TypeString","computed":true},"os_type":{"type":"TypeString","computed":true},"size_gb":{"type":"TypeInt","computed":true}}}},"resource_group_name":{"type":"TypeString","required":true},"sort_descending":{"type":"TypeBool","optional":true,"default":false},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"zone_resilient":{"type":"TypeBool","computed":true}},"timeouts":{"read":5}},"azurerm_images":{"schema":{"images":{"type":"TypeList","computed":true,"elem":{"schema":{"data_disk":{"type":"TypeList","computed":true,"elem":{"schema":{"blob_uri":{"type":"TypeString","computed":true},"caching":{"type":"TypeString","computed":true},"lun":{"type":"TypeInt","computed":true},"managed_disk_id":{"type":"TypeString","computed":true},"size_gb":{"type":"TypeInt","computed":true}}}},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"os_disk":{"type":"TypeList","computed":true,"elem":{"schema":{"blob_uri":{"type":"TypeString","computed":true},"caching":{"type":"TypeString","computed":true},"disk_encryption_set_id":{"type":"TypeString","computed":true},"managed_disk_id":{"type":"TypeString","computed":true},"os_state":{"type":"TypeString","computed":true},"os_type":{"type":"TypeString","computed":true},"size_gb":{"type":"TypeInt","computed":true}}}},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"zone_resilient":{"type":"TypeBool","computed":true}}}},"resource_group_name":{"type":"TypeString","required":true},"tags_filter":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_iothub":{"schema":{"hostname":{"type":"TypeString","computed":true},"identity":{"type":"TypeList","computed":true,"elem":{"schema":{"identity_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_iothub_dps":{"schema":{"allocation_policy":{"type":"TypeString","computed":true},"device_provisioning_host_name":{"type":"TypeString","computed":true},"id_scope":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"service_operations_host_name":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_iothub_dps_shared_access_policy":{"schema":{"iothub_dps_name":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true},"primary_connection_string":{"type":"TypeString","computed":true},"primary_key":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true},"secondary_connection_string":{"type":"TypeString","computed":true},"secondary_key":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_iothub_shared_access_policy":{"schema":{"iothub_name":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true},"primary_connection_string":{"type":"TypeString","computed":true},"primary_key":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true},"secondary_connection_string":{"type":"TypeString","computed":true},"secondary_key":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_ip_group":{"schema":{"cidrs":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_ip_groups":{"schema":{"ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"names":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":10}},"azurerm_key_vault":{"schema":{"access_policy":{"type":"TypeList","computed":true,"elem":{"schema":{"application_id":{"type":"TypeString","computed":true},"certificate_permissions":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"key_permissions":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"object_id":{"type":"TypeString","computed":true},"secret_permissions":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"storage_permissions":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"tenant_id":{"type":"TypeString","computed":true}}}},"enable_rbac_authorization":{"type":"TypeBool","computed":true},"enabled_for_deployment":{"type":"TypeBool","computed":true},"enabled_for_disk_encryption":{"type":"TypeBool","computed":true},"enabled_for_template_deployment":{"type":"TypeBool","computed":true},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"network_acls":{"type":"TypeList","computed":true,"elem":{"schema":{"bypass":{"type":"TypeString","computed":true},"default_action":{"type":"TypeString","computed":true},"ip_rules":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"virtual_network_subnet_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}}},"public_network_access_enabled":{"type":"TypeBool","computed":true},"purge_protection_enabled":{"type":"TypeBool","computed":true},"resource_group_name":{"type":"TypeString","required":true},"sku_name":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"tenant_id":{"type":"TypeString","computed":true},"vault_uri":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_key_vault_access_policy":{"schema":{"certificate_permissions":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"key_permissions":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true},"secret_permissions":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_key_vault_certificate":{"schema":{"certificate_data":{"type":"TypeString","computed":true},"certificate_data_base64":{"type":"TypeString","computed":true},"certificate_policy":{"type":"TypeList","computed":true,"elem":{"schema":{"issuer_parameters":{"type":"TypeList","computed":true,"elem":{"schema":{"name":{"type":"TypeString","computed":true}}}},"key_properties":{"type":"TypeList","computed":true,"elem":{"schema":{"curve":{"type":"TypeString","computed":true},"exportable":{"type":"TypeBool","computed":true},"key_size":{"type":"TypeInt","computed":true},"key_type":{"type":"TypeString","computed":true},"reuse_key":{"type":"TypeBool","computed":true}}}},"lifetime_action":{"type":"TypeList","computed":true,"elem":{"schema":{"action":{"type":"TypeList","computed":true,"elem":{"schema":{"action_type":{"type":"TypeString","computed":true}}}},"trigger":{"type":"TypeList","computed":true,"elem":{"schema":{"days_before_expiry":{"type":"TypeInt","computed":true},"lifetime_percentage":{"type":"TypeInt","computed":true}}}}}}},"secret_properties":{"type":"TypeList","computed":true,"elem":{"schema":{"content_type":{"type":"TypeString","computed":true}}}},"x509_certificate_properties":{"type":"TypeList","computed":true,"elem":{"schema":{"extended_key_usage":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"key_usage":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"subject":{"type":"TypeString","computed":true},"subject_alternative_names":{"type":"TypeList","computed":true,"elem":{"schema":{"dns_names":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"emails":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"upns":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}}},"validity_in_months":{"type":"TypeInt","computed":true}}}}}}},"expires":{"type":"TypeString","computed":true},"key_vault_id":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true},"not_before":{"type":"TypeString","computed":true},"resource_manager_id":{"type":"TypeString","computed":true},"resource_manager_versionless_id":{"type":"TypeString","computed":true},"secret_id":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"thumbprint":{"type":"TypeString","computed":true},"version":{"type":"TypeString","optional":true,"computed":true},"versionless_id":{"type":"TypeString","computed":true},"versionless_secret_id":{"type":"TypeString","computed":true}},"timeouts":{"read":30}},"azurerm_key_vault_certificate_data":{"schema":{"certificates_count":{"type":"TypeInt","computed":true},"expires":{"type":"TypeString","computed":true},"hex":{"type":"TypeString","computed":true},"key":{"type":"TypeString","computed":true},"key_vault_id":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true},"not_before":{"type":"TypeString","computed":true},"pem":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"version":{"type":"TypeString","optional":true,"computed":true}},"timeouts":{"read":5}},"azurerm_key_vault_certificate_issuer":{"schema":{"account_id":{"type":"TypeString","computed":true},"admin":{"type":"TypeList","computed":true,"elem":{"schema":{"email_address":{"type":"TypeString","computed":true},"first_name":{"type":"TypeString","computed":true},"last_name":{"type":"TypeString","computed":true},"phone":{"type":"TypeString","computed":true}}}},"key_vault_id":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true},"org_id":{"type":"TypeString","computed":true},"provider_name":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_key_vault_certificates":{"schema":{"certificates":{"type":"TypeList","computed":true,"elem":{"schema":{"enabled":{"type":"TypeBool","computed":true},"id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}}}},"include_pending":{"type":"TypeBool","optional":true,"default":true},"key_vault_id":{"type":"TypeString","required":true},"names":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_key_vault_encrypted_value":{"schema":{"algorithm":{"type":"TypeString","required":true},"decoded_plain_text_value":{"type":"TypeString","computed":true},"encrypted_data":{"type":"TypeString","optional":true},"key_vault_key_id":{"type":"TypeString","required":true},"plain_text_value":{"type":"TypeString","optional":true}},"timeouts":{"read":5}},"azurerm_key_vault_key":{"schema":{"curve":{"type":"TypeString","computed":true},"e":{"type":"TypeString","computed":true},"key_opts":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"key_size":{"type":"TypeInt","computed":true},"key_type":{"type":"TypeString","computed":true},"key_vault_id":{"type":"TypeString","required":true},"n":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"public_key_openssh":{"type":"TypeString","computed":true},"public_key_pem":{"type":"TypeString","computed":true},"resource_id":{"type":"TypeString","computed":true},"resource_versionless_id":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"version":{"type":"TypeString","computed":true},"versionless_id":{"type":"TypeString","computed":true},"x":{"type":"TypeString","computed":true},"y":{"type":"TypeString","computed":true}},"timeouts":{"read":30}},"azurerm_key_vault_managed_hardware_security_module":{"schema":{"admin_object_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"hsm_uri":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"purge_protection_enabled":{"type":"TypeBool","computed":true},"resource_group_name":{"type":"TypeString","required":true},"sku_name":{"type":"TypeString","computed":true},"soft_delete_retention_days":{"type":"TypeInt","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"tenant_id":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_key_vault_managed_hardware_security_module_role_definition":{"schema":{"assignable_scopes":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"description":{"type":"TypeString","computed":true},"managed_hsm_id":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true},"permission":{"type":"TypeList","computed":true,"elem":{"schema":{"actions":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"data_actions":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"not_actions":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"not_data_actions":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}}},"resource_manager_id":{"type":"TypeString","computed":true},"role_name":{"type":"TypeString","computed":true},"role_type":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_key_vault_secret":{"schema":{"content_type":{"type":"TypeString","computed":true},"expiration_date":{"type":"TypeString","computed":true},"key_vault_id":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true},"not_before_date":{"type":"TypeString","computed":true},"resource_id":{"type":"TypeString","computed":true},"resource_versionless_id":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"value":{"type":"TypeString","computed":true},"version":{"type":"TypeString","optional":true},"versionless_id":{"type":"TypeString","computed":true}},"timeouts":{"read":30}},"azurerm_key_vault_secrets":{"schema":{"key_vault_id":{"type":"TypeString","required":true},"names":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"secrets":{"type":"TypeList","computed":true,"elem":{"schema":{"enabled":{"type":"TypeBool","computed":true},"id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}}}}},"timeouts":{"read":5}},"azurerm_kubernetes_cluster":{"schema":{"aci_connector_linux":{"type":"TypeList","computed":true,"elem":{"schema":{"subnet_name":{"type":"TypeString","computed":true}}}},"agent_pool_profile":{"type":"TypeList","computed":true,"elem":{"schema":{"auto_scaling_enabled":{"type":"TypeBool","computed":true},"count":{"type":"TypeInt","computed":true},"max_count":{"type":"TypeInt","computed":true},"max_pods":{"type":"TypeInt","computed":true},"min_count":{"type":"TypeInt","computed":true},"name":{"type":"TypeString","computed":true},"node_labels":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"node_public_ip_enabled":{"type":"TypeBool","computed":true},"node_public_ip_prefix_id":{"type":"TypeString","computed":true},"node_taints":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"orchestrator_version":{"type":"TypeString","computed":true},"os_disk_size_gb":{"type":"TypeInt","computed":true},"os_type":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"type":{"type":"TypeString","computed":true},"upgrade_settings":{"type":"TypeList","computed":true,"elem":{"schema":{"drain_timeout_in_minutes":{"type":"TypeInt","computed":true},"max_surge":{"type":"TypeString","computed":true},"node_soak_duration_in_minutes":{"type":"TypeInt","computed":true}}}},"vm_size":{"type":"TypeString","computed":true},"vnet_subnet_id":{"type":"TypeString","computed":true},"zones":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}}},"api_server_authorized_ip_ranges":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"azure_active_directory_role_based_access_control":{"type":"TypeList","computed":true,"elem":{"schema":{"admin_group_object_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"azure_rbac_enabled":{"type":"TypeBool","computed":true},"tenant_id":{"type":"TypeString","computed":true}}}},"azure_policy_enabled":{"type":"TypeBool","computed":true},"current_kubernetes_version":{"type":"TypeString","computed":true},"disk_encryption_set_id":{"type":"TypeString","computed":true},"dns_prefix":{"type":"TypeString","computed":true},"fqdn":{"type":"TypeString","computed":true},"http_application_routing_enabled":{"type":"TypeBool","computed":true},"http_application_routing_zone_name":{"type":"TypeString","computed":true},"identity":{"type":"TypeList","computed":true,"elem":{"schema":{"identity_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"ingress_application_gateway":{"type":"TypeList","computed":true,"elem":{"schema":{"effective_gateway_id":{"type":"TypeString","computed":true},"gateway_id":{"type":"TypeString","computed":true},"gateway_name":{"type":"TypeString","computed":true},"ingress_application_gateway_identity":{"type":"TypeList","computed":true,"elem":{"schema":{"client_id":{"type":"TypeString","computed":true},"object_id":{"type":"TypeString","computed":true},"user_assigned_identity_id":{"type":"TypeString","computed":true}}}},"subnet_cidr":{"type":"TypeString","computed":true},"subnet_id":{"type":"TypeString","computed":true}}}},"key_management_service":{"type":"TypeList","computed":true,"elem":{"schema":{"key_vault_key_id":{"type":"TypeString","computed":true},"key_vault_network_access":{"type":"TypeString","computed":true}}}},"key_vault_secrets_provider":{"type":"TypeList","computed":true,"elem":{"schema":{"secret_identity":{"type":"TypeList","computed":true,"elem":{"schema":{"client_id":{"type":"TypeString","computed":true},"object_id":{"type":"TypeString","computed":true},"user_assigned_identity_id":{"type":"TypeString","computed":true}}}},"secret_rotation_enabled":{"type":"TypeBool","computed":true},"secret_rotation_interval":{"type":"TypeString","computed":true}}}},"kube_admin_config":{"type":"TypeList","computed":true,"elem":{"schema":{"client_certificate":{"type":"TypeString","computed":true},"client_key":{"type":"TypeString","computed":true},"cluster_ca_certificate":{"type":"TypeString","computed":true},"host":{"type":"TypeString","computed":true},"password":{"type":"TypeString","computed":true},"username":{"type":"TypeString","computed":true}}}},"kube_admin_config_raw":{"type":"TypeString","computed":true},"kube_config":{"type":"TypeList","computed":true,"elem":{"schema":{"client_certificate":{"type":"TypeString","computed":true},"client_key":{"type":"TypeString","computed":true},"cluster_ca_certificate":{"type":"TypeString","computed":true},"host":{"type":"TypeString","computed":true},"password":{"type":"TypeString","computed":true},"username":{"type":"TypeString","computed":true}}}},"kube_config_raw":{"type":"TypeString","computed":true},"kubelet_identity":{"type":"TypeList","computed":true,"elem":{"schema":{"client_id":{"type":"TypeString","computed":true},"object_id":{"type":"TypeString","computed":true},"user_assigned_identity_id":{"type":"TypeString","computed":true}}}},"kubernetes_version":{"type":"TypeString","computed":true},"linux_profile":{"type":"TypeList","computed":true,"elem":{"schema":{"admin_username":{"type":"TypeString","computed":true},"ssh_key":{"type":"TypeList","computed":true,"elem":{"schema":{"key_data":{"type":"TypeString","computed":true}}}}}}},"location":{"type":"TypeString","computed":true},"microsoft_defender":{"type":"TypeList","computed":true,"elem":{"schema":{"log_analytics_workspace_id":{"type":"TypeString","computed":true}}}},"name":{"type":"TypeString","required":true},"network_profile":{"type":"TypeList","computed":true,"elem":{"schema":{"dns_service_ip":{"type":"TypeString","computed":true},"docker_bridge_cidr":{"type":"TypeString","computed":true},"load_balancer_sku":{"type":"TypeString","computed":true},"network_plugin":{"type":"TypeString","computed":true},"network_policy":{"type":"TypeString","computed":true},"pod_cidr":{"type":"TypeString","computed":true},"service_cidr":{"type":"TypeString","computed":true}}}},"node_resource_group":{"type":"TypeString","computed":true},"node_resource_group_id":{"type":"TypeString","computed":true},"oidc_issuer_enabled":{"type":"TypeBool","computed":true},"oidc_issuer_url":{"type":"TypeString","computed":true},"oms_agent":{"type":"TypeList","computed":true,"elem":{"schema":{"log_analytics_workspace_id":{"type":"TypeString","computed":true},"msi_auth_for_monitoring_enabled":{"type":"TypeBool","computed":true},"oms_agent_identity":{"type":"TypeList","computed":true,"elem":{"schema":{"client_id":{"type":"TypeString","computed":true},"object_id":{"type":"TypeString","computed":true},"user_assigned_identity_id":{"type":"TypeString","computed":true}}}}}}},"open_service_mesh_enabled":{"type":"TypeBool","computed":true},"private_cluster_enabled":{"type":"TypeBool","computed":true},"private_fqdn":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true},"role_based_access_control_enabled":{"type":"TypeBool","computed":true},"service_mesh_profile":{"type":"TypeList","computed":true,"elem":{"schema":{"certificate_authority":{"type":"TypeList","computed":true,"elem":{"schema":{"cert_chain_object_name":{"type":"TypeString","computed":true},"cert_object_name":{"type":"TypeString","computed":true},"key_object_name":{"type":"TypeString","computed":true},"key_vault_id":{"type":"TypeString","computed":true},"root_cert_object_name":{"type":"TypeString","computed":true}}}},"external_ingress_gateway_enabled":{"type":"TypeBool","computed":true},"internal_ingress_gateway_enabled":{"type":"TypeBool","computed":true},"mode":{"type":"TypeString","computed":true},"revisions":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}}},"service_principal":{"type":"TypeList","computed":true,"elem":{"schema":{"client_id":{"type":"TypeString","computed":true}}}},"storage_profile":{"type":"TypeList","computed":true,"elem":{"schema":{"blob_driver_enabled":{"type":"TypeBool","computed":true},"disk_driver_enabled":{"type":"TypeBool","computed":true},"file_driver_enabled":{"type":"TypeBool","computed":true},"snapshot_controller_enabled":{"type":"TypeBool","computed":true}}}},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"windows_profile":{"type":"TypeList","computed":true,"elem":{"schema":{"admin_username":{"type":"TypeString","computed":true}}}}},"timeouts":{"read":5}},"azurerm_kubernetes_cluster_node_pool":{"schema":{"auto_scaling_enabled":{"type":"TypeBool","computed":true},"eviction_policy":{"type":"TypeString","computed":true},"kubernetes_cluster_name":{"type":"TypeString","required":true},"max_count":{"type":"TypeInt","computed":true},"max_pods":{"type":"TypeInt","computed":true},"min_count":{"type":"TypeInt","computed":true},"mode":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"node_count":{"type":"TypeInt","computed":true},"node_labels":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"node_public_ip_enabled":{"type":"TypeBool","computed":true},"node_public_ip_prefix_id":{"type":"TypeString","computed":true},"node_taints":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"orchestrator_version":{"type":"TypeString","computed":true},"os_disk_size_gb":{"type":"TypeInt","computed":true},"os_disk_type":{"type":"TypeString","computed":true},"os_type":{"type":"TypeString","computed":true},"priority":{"type":"TypeString","computed":true},"proximity_placement_group_id":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true},"spot_max_price":{"type":"TypeFloat","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"upgrade_settings":{"type":"TypeList","computed":true,"elem":{"schema":{"drain_timeout_in_minutes":{"type":"TypeInt","computed":true},"max_surge":{"type":"TypeString","computed":true},"node_soak_duration_in_minutes":{"type":"TypeInt","computed":true}}}},"vm_size":{"type":"TypeString","computed":true},"vnet_subnet_id":{"type":"TypeString","computed":true},"zones":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_kubernetes_node_pool_snapshot":{"schema":{"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"source_node_pool_id":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_kubernetes_service_versions":{"schema":{"default_version":{"type":"TypeString","computed":true},"include_preview":{"type":"TypeBool","optional":true,"default":true},"latest_version":{"type":"TypeString","computed":true},"location":{"type":"TypeString","required":true,"forceNew":true},"version_prefix":{"type":"TypeString","optional":true},"versions":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_kusto_cluster":{"schema":{"data_ingestion_uri":{"type":"TypeString","computed":true},"identity":{"type":"TypeList","computed":true,"elem":{"schema":{"identity_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"uri":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_kusto_database":{"schema":{"cluster_name":{"type":"TypeString","required":true},"hot_cache_period":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"size":{"type":"TypeFloat","computed":true},"soft_delete_period":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_lb":{"schema":{"frontend_ip_configuration":{"type":"TypeList","computed":true,"elem":{"schema":{"id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"private_ip_address":{"type":"TypeString","computed":true},"private_ip_address_allocation":{"type":"TypeString","computed":true},"private_ip_address_version":{"type":"TypeString","computed":true},"public_ip_address_id":{"type":"TypeString","computed":true},"subnet_id":{"type":"TypeString","computed":true},"zones":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}}},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"private_ip_address":{"type":"TypeString","computed":true},"private_ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"resource_group_name":{"type":"TypeString","required":true},"sku":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_lb_backend_address_pool":{"schema":{"backend_address":{"type":"TypeList","computed":true,"elem":{"schema":{"inbound_nat_rule_port_mapping":{"type":"TypeList","computed":true,"elem":{"schema":{"backend_port":{"type":"TypeInt","computed":true},"frontend_port":{"type":"TypeInt","computed":true},"inbound_nat_rule_name":{"type":"TypeString","computed":true}}}},"ip_address":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"virtual_network_id":{"type":"TypeString","computed":true}}}},"backend_ip_configurations":{"type":"TypeList","computed":true,"elem":{"schema":{"id":{"type":"TypeString","computed":true}}}},"inbound_nat_rules":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"load_balancing_rules":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"loadbalancer_id":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true},"outbound_rules":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_lb_outbound_rule":{"schema":{"allocated_outbound_ports":{"type":"TypeInt","computed":true},"backend_address_pool_id":{"type":"TypeString","computed":true},"frontend_ip_configuration":{"type":"TypeList","computed":true,"elem":{"schema":{"id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true}}}},"idle_timeout_in_minutes":{"type":"TypeInt","computed":true},"loadbalancer_id":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true},"protocol":{"type":"TypeString","computed":true},"tcp_reset_enabled":{"type":"TypeBool","computed":true}},"timeouts":{"read":5}},"azurerm_lb_rule":{"schema":{"backend_address_pool_id":{"type":"TypeString","computed":true},"backend_port":{"type":"TypeInt","computed":true},"disable_outbound_snat":{"type":"TypeBool","computed":true},"enable_floating_ip":{"type":"TypeBool","computed":true},"enable_tcp_reset":{"type":"TypeBool","computed":true},"frontend_ip_configuration_name":{"type":"TypeString","computed":true},"frontend_port":{"type":"TypeInt","computed":true},"idle_timeout_in_minutes":{"type":"TypeInt","computed":true},"load_distribution":{"type":"TypeString","computed":true},"loadbalancer_id":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true},"probe_id":{"type":"TypeString","computed":true},"protocol":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_linux_function_app":{"schema":{"app_settings":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"auth_settings":{"type":"TypeList","computed":true,"elem":{"schema":{"active_directory":{"type":"TypeList","computed":true,"elem":{"schema":{"allowed_audiences":{"type":"TypeList","description":"The list of Allowed audience values considered when validating JWTs issued by Azure Active Directory.","computed":true,"elem":{"type":"TypeString"}},"client_id":{"type":"TypeString","description":"The ID of the Client to use to authenticate with Azure Active Directory.","computed":true},"client_secret":{"type":"TypeString","description":"The Client Secret for the Client ID.","computed":true},"client_secret_setting_name":{"type":"TypeString","description":"The App Setting name that contains the client secret of the Client.","computed":true}}}},"additional_login_parameters":{"type":"TypeMap","description":"The map of Login Parameters sent to the OpenID Connect authorization endpoint when a user logs in.","computed":true,"elem":{"type":"TypeString"}},"allowed_external_redirect_urls":{"type":"TypeList","description":"Specifies a list of External URLs that can be redirected to as part of logging in or logging out of the Windows Web App.","computed":true,"elem":{"type":"TypeString"}},"default_provider":{"type":"TypeString","description":"The default authentication provider used when multiple providers are configured. Possible values include: `AzureActiveDirectory`, `Facebook`, `Google`, `MicrosoftAccount`, `Twitter`, `Github`.","computed":true},"enabled":{"type":"TypeBool","description":"Is the Authentication / Authorization feature enabled?","computed":true},"facebook":{"type":"TypeList","computed":true,"elem":{"schema":{"app_id":{"type":"TypeString","description":"The App ID of the Facebook app used for login.","computed":true},"app_secret":{"type":"TypeString","description":"The App Secret of the Facebook app used for Facebook Login.","computed":true},"app_secret_setting_name":{"type":"TypeString","description":"The app setting name that contains the `app_secret` value used for Facebook Login.","computed":true},"oauth_scopes":{"type":"TypeList","description":"The list of OAuth 2.0 scopes requested as part of Facebook Login authentication.","computed":true,"elem":{"type":"TypeString"}}}}},"github":{"type":"TypeList","computed":true,"elem":{"schema":{"client_id":{"type":"TypeString","description":"The ID of the GitHub app used for login.","computed":true},"client_secret":{"type":"TypeString","description":"The Client Secret of the GitHub app used for GitHub Login.","computed":true},"client_secret_setting_name":{"type":"TypeString","description":"The app setting name that contains the `client_secret` value used for GitHub Login.","computed":true},"oauth_scopes":{"type":"TypeList","description":"The list of OAuth 2.0 scopes requested as part of GitHub Login authentication.","computed":true,"elem":{"type":"TypeString"}}}}},"google":{"type":"TypeList","computed":true,"elem":{"schema":{"client_id":{"type":"TypeString","description":"The OpenID Connect Client ID for the Google web application.","computed":true},"client_secret":{"type":"TypeString","description":"The client secret associated with the Google web application.","computed":true},"client_secret_setting_name":{"type":"TypeString","description":"The app setting name that contains the `client_secret` value used for Google Login.","computed":true},"oauth_scopes":{"type":"TypeList","description":"The list of OAuth 2.0 scopes that requested as part of Google Sign-In authentication.","computed":true,"elem":{"type":"TypeString"}}}}},"issuer":{"type":"TypeString","description":"The OpenID Connect Issuer URI that represents the entity which issues access tokens.","computed":true},"microsoft":{"type":"TypeList","computed":true,"elem":{"schema":{"client_id":{"type":"TypeString","description":"The OAuth 2.0 client ID that was created for the app used for authentication.","computed":true},"client_secret":{"type":"TypeString","description":"The OAuth 2.0 client secret that was created for the app used for authentication.","computed":true},"client_secret_setting_name":{"type":"TypeString","description":"The app setting name containing the OAuth 2.0 client secret that was created for the app used for authentication.","computed":true},"oauth_scopes":{"type":"TypeList","description":"The list of OAuth 2.0 scopes requested as part of Microsoft Account authentication.","computed":true,"elem":{"type":"TypeString"}}}}},"runtime_version":{"type":"TypeString","description":"The RuntimeVersion of the Authentication / Authorization feature in use.","computed":true},"token_refresh_extension_hours":{"type":"TypeFloat","description":"The number of hours after session token expiration that a session token can be used to call the token refresh API.","computed":true},"token_store_enabled":{"type":"TypeBool","description":"Are platform-specific security tokens that are obtained during login flows durably stored?","computed":true},"twitter":{"type":"TypeList","computed":true,"elem":{"schema":{"consumer_key":{"type":"TypeString","description":"The OAuth 1.0a consumer key of the Twitter application used for sign-in.","computed":true},"consumer_secret":{"type":"TypeString","description":"The OAuth 1.0a consumer secret of the Twitter application used for sign-in.","computed":true},"consumer_secret_setting_name":{"type":"TypeString","description":"The app setting name that contains the OAuth 1.0a consumer secret of the Twitter application used for sign-in.","computed":true}}}},"unauthenticated_client_action":{"type":"TypeString","description":"The action taken when an unauthenticated client attempts to access the app.","computed":true}}}},"auth_settings_v2":{"type":"TypeList","computed":true,"elem":{"schema":{"active_directory_v2":{"type":"TypeList","computed":true,"elem":{"schema":{"allowed_applications":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"allowed_audiences":{"type":"TypeList","description":"Specifies a list of Allowed audience values to consider when validating JWTs issued by Azure Active Directory.","computed":true,"elem":{"type":"TypeString"}},"allowed_groups":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"allowed_identities":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"client_id":{"type":"TypeString","description":"The ID of the Client to use to authenticate with Azure Active Directory.","computed":true},"client_secret_certificate_thumbprint":{"type":"TypeString","description":"The thumbprint of the certificate used for signing purposes.","computed":true},"client_secret_setting_name":{"type":"TypeString","description":"The App Setting name that contains the client secret of the Client.","computed":true},"jwt_allowed_client_applications":{"type":"TypeList","description":"A list of Allowed Client Applications in the JWT Claim.","computed":true,"elem":{"type":"TypeString"}},"jwt_allowed_groups":{"type":"TypeList","description":"A list of Allowed Groups in the JWT Claim.","computed":true,"elem":{"type":"TypeString"}},"login_parameters":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"tenant_auth_endpoint":{"type":"TypeString","description":"The Azure Tenant URI for the Authenticating Tenant. e.g. `https://login.microsoftonline.com/v2.0/{tenant-guid}/`","computed":true},"www_authentication_disabled":{"type":"TypeBool","description":"Is the www-authenticate provider omitted from the request?","computed":true}}}},"apple_v2":{"type":"TypeList","computed":true,"elem":{"schema":{"client_id":{"type":"TypeString","description":"The OpenID Connect Client ID for the Apple web application.","computed":true},"client_secret_setting_name":{"type":"TypeString","description":"The app setting name that contains the `client_secret` value used for Apple Login.","computed":true},"login_scopes":{"type":"TypeList","description":"Specifies a list of OAuth 2.0 scopes that will be requested as part of Apple Sign-In authentication. If not specified, \"openid\", \"profile\", and \"email\" are used as default scopes.","computed":true,"elem":{"type":"TypeString"}}}}},"auth_enabled":{"type":"TypeBool","description":"Is the AuthV2 Settings be enabled.","computed":true},"azure_static_web_app_v2":{"type":"TypeList","computed":true,"elem":{"schema":{"client_id":{"type":"TypeString","description":"The ID of the Client used to authenticate with Azure Static Web App Authentication.","computed":true}}}},"config_file_path":{"type":"TypeString","description":"The path to the App Auth settings.","computed":true},"custom_oidc_v2":{"type":"TypeList","computed":true,"elem":{"schema":{"authorisation_endpoint":{"type":"TypeString","description":"The endpoint to make the Authorisation Request.","computed":true},"certification_uri":{"type":"TypeString","description":"The endpoint that provides the keys necessary to validate the token.","computed":true},"client_credential_method":{"type":"TypeString","description":"The Client Credential Method used. Currently the only supported value is `ClientSecretPost`","computed":true},"client_id":{"type":"TypeString","description":"The ID of the Client used to authenticate with this Custom OIDC.","computed":true},"client_secret_setting_name":{"type":"TypeString","description":"The App Setting name that contains the secret for this Custom OIDC Client.","computed":true},"issuer_endpoint":{"type":"TypeString","description":"The endpoint that issued the Token.","computed":true},"name":{"type":"TypeString","description":"The name of the Custom OIDC Authentication Provider.","computed":true},"name_claim_type":{"type":"TypeString","description":"The name of the claim that contains the users name.","computed":true},"openid_configuration_endpoint":{"type":"TypeString","description":"The endpoint that contains all the configuration endpoints for this Custom OIDC provider.","computed":true},"scopes":{"type":"TypeList","description":"The list of the scopes that should be requested while authenticating.","computed":true,"elem":{"type":"TypeString"}},"token_endpoint":{"type":"TypeString","description":"The endpoint used to request a Token.","computed":true}}}},"default_provider":{"type":"TypeString","description":"The Default Authentication Provider used when the `unauthenticated_action` is set to `RedirectToLoginPage`.","computed":true},"excluded_paths":{"type":"TypeList","description":"The paths which are excluded from the `unauthenticated_action` when it is set to `RedirectToLoginPage`.","computed":true,"elem":{"type":"TypeString"}},"facebook_v2":{"type":"TypeList","computed":true,"elem":{"schema":{"app_id":{"type":"TypeString","description":"The App ID of the Facebook app used for login.","computed":true},"app_secret_setting_name":{"type":"TypeString","description":"The app setting name that contains the `app_secret` value used for Facebook Login.","computed":true},"graph_api_version":{"type":"TypeString","description":"The version of the Facebook API to be used while logging in.","computed":true},"login_scopes":{"type":"TypeList","description":"Specifies a list of OAuth 2.0 scopes to be requested as part of Facebook Login authentication.","computed":true,"elem":{"type":"TypeString"}}}}},"forward_proxy_convention":{"type":"TypeString","description":"The convention used to determine the url of the request made.","computed":true},"forward_proxy_custom_host_header_name":{"type":"TypeString","description":"The name of the header containing the host of the request.","computed":true},"forward_proxy_custom_scheme_header_name":{"type":"TypeString","description":"The name of the header containing the scheme of the request.","computed":true},"github_v2":{"type":"TypeList","computed":true,"elem":{"schema":{"client_id":{"type":"TypeString","description":"The ID of the GitHub app used for login.","computed":true},"client_secret_setting_name":{"type":"TypeString","description":"The app setting name that contains the `client_secret` value used for GitHub Login.","computed":true},"login_scopes":{"type":"TypeList","description":"Specifies a list of OAuth 2.0 scopes that will be requested as part of GitHub Login authentication.","computed":true,"elem":{"type":"TypeString"}}}}},"google_v2":{"type":"TypeList","computed":true,"elem":{"schema":{"allowed_audiences":{"type":"TypeList","description":"Specifies a list of Allowed Audiences that will be requested as part of Google Sign-In authentication. If not specified, \"openid\", \"profile\", and \"email\" are used as default scopes.","computed":true,"elem":{"type":"TypeString"}},"client_id":{"type":"TypeString","description":"The OpenID Connect Client ID for the Google web application.","computed":true},"client_secret_setting_name":{"type":"TypeString","description":"The app setting name that contains the `client_secret` value used for Google Login.","computed":true},"login_scopes":{"type":"TypeList","description":"The list of OAuth 2.0 scopes requested as part of Google Sign-In authentication. If not specified, \"openid\", \"profile\", and \"email\" are used as default scopes.","computed":true,"elem":{"type":"TypeString"}}}}},"http_route_api_prefix":{"type":"TypeString","description":"The prefix that precedes all the authentication and authorisation paths.","computed":true},"login":{"type":"TypeList","computed":true,"elem":{"schema":{"allowed_external_redirect_urls":{"type":"TypeList","description":"External URLs that can be redirected to as part of logging in or logging out of the app. This is an advanced setting typically only needed by Windows Store application backends. **Note:** URLs within the current domain are always implicitly allowed.","computed":true,"elem":{"type":"TypeString"}},"cookie_expiration_convention":{"type":"TypeString","computed":true},"cookie_expiration_time":{"type":"TypeString","description":"The time after the request is made when the session cookie will expire.","computed":true},"logout_endpoint":{"type":"TypeString","description":"The endpoint to which logout requests are made.","computed":true},"nonce_expiration_time":{"type":"TypeString","description":"The time after the request is made when the nonce will expire.","computed":true},"preserve_url_fragments_for_logins":{"type":"TypeBool","description":"Are the fragments from the request be preserved after the login request is made.","computed":true},"token_refresh_extension_time":{"type":"TypeFloat","description":"The number of hours after session token expiration that a session token can be used to call the token refresh API.","computed":true},"token_store_enabled":{"type":"TypeBool","description":"Is the Token Store configuration Enabled.","computed":true},"token_store_path":{"type":"TypeString","description":"The directory path in the App Filesystem in which the tokens are stored.","computed":true},"token_store_sas_setting_name":{"type":"TypeString","description":"The name of the app setting which contains the SAS URL of the blob storage containing the tokens.","computed":true},"validate_nonce":{"type":"TypeBool","description":"Is the nonce be validated while completing the login flow.","computed":true}}}},"microsoft_v2":{"type":"TypeList","computed":true,"elem":{"schema":{"allowed_audiences":{"type":"TypeList","description":"Specifies a list of Allowed Audiences that will be requested as part of Microsoft Sign-In authentication.","computed":true,"elem":{"type":"TypeString"}},"client_id":{"type":"TypeString","description":"The OAuth 2.0 client ID that was created for the app used for authentication.","computed":true},"client_secret_setting_name":{"type":"TypeString","description":"The app setting name containing the OAuth 2.0 client secret that was created for the app used for authentication.","computed":true},"login_scopes":{"type":"TypeList","description":"The list of Login scopes that will be requested as part of Microsoft Account authentication.","computed":true,"elem":{"type":"TypeString"}}}}},"require_authentication":{"type":"TypeBool","description":"Is the authentication flow used for all requests.","computed":true},"require_https":{"type":"TypeBool","description":"Is HTTPS required on connections?","computed":true},"runtime_version":{"type":"TypeString","description":"The Runtime Version of the Authentication and Authorisation feature of this App.","computed":true},"twitter_v2":{"type":"TypeList","computed":true,"elem":{"schema":{"consumer_key":{"type":"TypeString","description":"The OAuth 1.0a consumer key of the Twitter application used for sign-in.","computed":true},"consumer_secret_setting_name":{"type":"TypeString","description":"The app setting name that contains the OAuth 1.0a consumer secret of the Twitter application used for sign-in.","computed":true}}}},"unauthenticated_action":{"type":"TypeString","computed":true}}}},"availability":{"type":"TypeString","computed":true},"backup":{"type":"TypeList","computed":true,"elem":{"schema":{"enabled":{"type":"TypeBool","description":"Is this backup job enabled?","computed":true},"name":{"type":"TypeString","description":"The name of this Backup.","computed":true},"schedule":{"type":"TypeList","computed":true,"elem":{"schema":{"frequency_interval":{"type":"TypeInt","description":"How often the backup should is executed in multiples of the `frequency_unit`.","computed":true},"frequency_unit":{"type":"TypeString","description":"The unit of time for how often the backup takes place.","computed":true},"keep_at_least_one_backup":{"type":"TypeBool","description":"Does the service keep at least one backup, regardless of age of backup.","computed":true},"last_execution_time":{"type":"TypeString","description":"The time the backup was last attempted.","computed":true},"retention_period_days":{"type":"TypeInt","description":"After how many days are backups deleted.","computed":true},"start_time":{"type":"TypeString","description":"When the schedule should start working in RFC-3339 format.","computed":true}}}},"storage_account_url":{"type":"TypeString","description":"The SAS URL to the container.","computed":true}}}},"builtin_logging_enabled":{"type":"TypeBool","computed":true},"client_certificate_enabled":{"type":"TypeBool","computed":true},"client_certificate_exclusion_paths":{"type":"TypeString","description":"Paths to exclude when using client certificates, separated by ;","computed":true},"client_certificate_mode":{"type":"TypeString","computed":true},"connection_string":{"type":"TypeSet","computed":true,"elem":{"schema":{"name":{"type":"TypeString","description":"The name of this Connection.","computed":true},"type":{"type":"TypeString","description":"The type of database.","computed":true},"value":{"type":"TypeString","description":"The connection string value.","computed":true}}}},"content_share_force_disabled":{"type":"TypeBool","computed":true},"custom_domain_verification_id":{"type":"TypeString","computed":true},"daily_memory_time_quota":{"type":"TypeInt","computed":true},"default_hostname":{"type":"TypeString","computed":true},"enabled":{"type":"TypeBool","computed":true},"ftp_publish_basic_authentication_enabled":{"type":"TypeBool","computed":true},"functions_extension_version":{"type":"TypeString","computed":true},"hosting_environment_id":{"type":"TypeString","computed":true},"https_only":{"type":"TypeBool","computed":true},"identity":{"type":"TypeList","computed":true,"elem":{"schema":{"identity_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"kind":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"outbound_ip_address_list":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"outbound_ip_addresses":{"type":"TypeString","computed":true},"possible_outbound_ip_address_list":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"possible_outbound_ip_addresses":{"type":"TypeString","computed":true},"public_network_access_enabled":{"type":"TypeBool","computed":true},"resource_group_name":{"type":"TypeString","required":true},"service_plan_id":{"type":"TypeString","computed":true},"site_config":{"type":"TypeList","computed":true,"elem":{"schema":{"always_on":{"type":"TypeBool","computed":true},"api_definition_url":{"type":"TypeString","computed":true},"api_management_api_id":{"type":"TypeString","computed":true},"app_command_line":{"type":"TypeString","computed":true},"app_scale_limit":{"type":"TypeInt","computed":true},"app_service_logs":{"type":"TypeList","computed":true,"elem":{"schema":{"disk_quota_mb":{"type":"TypeInt","computed":true},"retention_period_days":{"type":"TypeInt","computed":true}}}},"application_insights_connection_string":{"type":"TypeString","computed":true},"application_insights_key":{"type":"TypeString","computed":true},"application_stack":{"type":"TypeList","computed":true,"elem":{"schema":{"docker":{"type":"TypeList","computed":true,"elem":{"schema":{"image_name":{"type":"TypeString","computed":true},"image_tag":{"type":"TypeString","computed":true},"registry_password":{"type":"TypeString","computed":true},"registry_url":{"type":"TypeString","computed":true},"registry_username":{"type":"TypeString","computed":true}}}},"dotnet_version":{"type":"TypeString","computed":true},"java_version":{"type":"TypeString","computed":true},"node_version":{"type":"TypeString","computed":true},"powershell_core_version":{"type":"TypeString","computed":true},"python_version":{"type":"TypeString","computed":true},"use_custom_runtime":{"type":"TypeBool","computed":true},"use_dotnet_isolated_runtime":{"type":"TypeBool","computed":true}}}},"container_registry_managed_identity_client_id":{"type":"TypeString","computed":true},"container_registry_use_managed_identity":{"type":"TypeBool","computed":true},"cors":{"type":"TypeList","computed":true,"elem":{"schema":{"allowed_origins":{"type":"TypeList","description":"The list of origins that are allowed to make cross-origin calls.","computed":true,"elem":{"type":"TypeString"}},"support_credentials":{"type":"TypeBool","description":"Are credentials allowed in CORS requests?","computed":true}}}},"default_documents":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"detailed_error_logging_enabled":{"type":"TypeBool","computed":true},"elastic_instance_minimum":{"type":"TypeInt","computed":true},"ftps_state":{"type":"TypeString","computed":true},"health_check_eviction_time_in_min":{"type":"TypeInt","computed":true},"health_check_path":{"type":"TypeString","computed":true},"http2_enabled":{"type":"TypeBool","computed":true},"ip_restriction":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"action":{"type":"TypeString","description":"The action to take.","computed":true},"description":{"type":"TypeString","description":"The description of the ip restriction rule.","computed":true},"headers":{"type":"TypeList","computed":true,"elem":{"schema":{"x_azure_fdid":{"type":"TypeList","description":"The list of Azure Front Door IDs.","computed":true,"elem":{"type":"TypeString"}},"x_fd_health_probe":{"type":"TypeList","description":"Specifies if a Front Door Health Probe is expected.","computed":true,"elem":{"type":"TypeString"}},"x_forwarded_for":{"type":"TypeList","description":"The list of addresses for which matching is applied.","computed":true,"elem":{"type":"TypeString"}},"x_forwarded_host":{"type":"TypeList","description":"The list of Hosts for which matching will be applied.","computed":true,"elem":{"type":"TypeString"}}}}},"ip_address":{"type":"TypeString","description":"The CIDR notation of the IP or IP Range to match.","computed":true},"name":{"type":"TypeString","description":"The name used for this `ip_restriction`.","computed":true},"priority":{"type":"TypeInt","description":"The priority value of this `ip_restriction`.","computed":true},"service_tag":{"type":"TypeString","description":"The Service Tag used for this IP Restriction.","computed":true},"virtual_network_subnet_id":{"type":"TypeString","description":"The Virtual Network Subnet ID used for this IP Restriction.","computed":true}}}},"ip_restriction_default_action":{"type":"TypeString","computed":true},"linux_fx_version":{"type":"TypeString","computed":true},"load_balancing_mode":{"type":"TypeString","computed":true},"managed_pipeline_mode":{"type":"TypeString","computed":true},"minimum_tls_version":{"type":"TypeString","computed":true},"pre_warmed_instance_count":{"type":"TypeInt","computed":true},"remote_debugging_enabled":{"type":"TypeBool","computed":true},"remote_debugging_version":{"type":"TypeString","computed":true},"runtime_scale_monitoring_enabled":{"type":"TypeBool","computed":true},"scm_ip_restriction":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"action":{"type":"TypeString","description":"The action to take.","computed":true},"description":{"type":"TypeString","description":"The description of the ip restriction rule.","computed":true},"headers":{"type":"TypeList","computed":true,"elem":{"schema":{"x_azure_fdid":{"type":"TypeList","description":"The list of Azure Front Door IDs.","computed":true,"elem":{"type":"TypeString"}},"x_fd_health_probe":{"type":"TypeList","description":"Specifies if a Front Door Health Probe is expected.","computed":true,"elem":{"type":"TypeString"}},"x_forwarded_for":{"type":"TypeList","description":"The list of addresses for which matching is applied.","computed":true,"elem":{"type":"TypeString"}},"x_forwarded_host":{"type":"TypeList","description":"The list of Hosts for which matching will be applied.","computed":true,"elem":{"type":"TypeString"}}}}},"ip_address":{"type":"TypeString","description":"The CIDR notation of the IP or IP Range to match.","computed":true},"name":{"type":"TypeString","description":"The name used for this `ip_restriction`.","computed":true},"priority":{"type":"TypeInt","description":"The priority value of this `ip_restriction`.","computed":true},"service_tag":{"type":"TypeString","description":"The Service Tag used for this IP Restriction.","computed":true},"virtual_network_subnet_id":{"type":"TypeString","description":"The Virtual Network Subnet ID used for this IP Restriction.","computed":true}}}},"scm_ip_restriction_default_action":{"type":"TypeString","optional":true,"default":"Allow"},"scm_minimum_tls_version":{"type":"TypeString","computed":true},"scm_type":{"type":"TypeString","computed":true},"scm_use_main_ip_restriction":{"type":"TypeBool","computed":true},"use_32_bit_worker":{"type":"TypeBool","computed":true},"vnet_route_all_enabled":{"type":"TypeBool","computed":true},"websockets_enabled":{"type":"TypeBool","computed":true},"worker_count":{"type":"TypeInt","computed":true}}}},"site_credential":{"type":"TypeList","computed":true,"elem":{"schema":{"name":{"type":"TypeString","description":"The Site Credentials Username used for publishing.","computed":true},"password":{"type":"TypeString","description":"The Site Credentials Password used for publishing.","computed":true}}}},"sticky_settings":{"type":"TypeList","computed":true,"elem":{"schema":{"app_setting_names":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"connection_string_names":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}}},"storage_account_access_key":{"type":"TypeString","computed":true},"storage_account_name":{"type":"TypeString","computed":true},"storage_key_vault_secret_id":{"type":"TypeString","description":"The Key Vault Secret ID, including version, that contains the Connection String used to connect to the storage account for this Function App.","computed":true},"storage_uses_managed_identity":{"type":"TypeBool","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"usage":{"type":"TypeString","computed":true},"virtual_network_subnet_id":{"type":"TypeString","computed":true},"webdeploy_publish_basic_authentication_enabled":{"type":"TypeBool","computed":true}},"timeouts":{"read":25}},"azurerm_linux_web_app":{"schema":{"app_metadata":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"app_settings":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"auth_settings":{"type":"TypeList","computed":true,"elem":{"schema":{"active_directory":{"type":"TypeList","computed":true,"elem":{"schema":{"allowed_audiences":{"type":"TypeList","description":"The list of Allowed audience values considered when validating JWTs issued by Azure Active Directory.","computed":true,"elem":{"type":"TypeString"}},"client_id":{"type":"TypeString","description":"The ID of the Client to use to authenticate with Azure Active Directory.","computed":true},"client_secret":{"type":"TypeString","description":"The Client Secret for the Client ID.","computed":true},"client_secret_setting_name":{"type":"TypeString","description":"The App Setting name that contains the client secret of the Client.","computed":true}}}},"additional_login_parameters":{"type":"TypeMap","description":"The map of Login Parameters sent to the OpenID Connect authorization endpoint when a user logs in.","computed":true,"elem":{"type":"TypeString"}},"allowed_external_redirect_urls":{"type":"TypeList","description":"Specifies a list of External URLs that can be redirected to as part of logging in or logging out of the Windows Web App.","computed":true,"elem":{"type":"TypeString"}},"default_provider":{"type":"TypeString","description":"The default authentication provider used when multiple providers are configured. Possible values include: `AzureActiveDirectory`, `Facebook`, `Google`, `MicrosoftAccount`, `Twitter`, `Github`.","computed":true},"enabled":{"type":"TypeBool","description":"Is the Authentication / Authorization feature enabled?","computed":true},"facebook":{"type":"TypeList","computed":true,"elem":{"schema":{"app_id":{"type":"TypeString","description":"The App ID of the Facebook app used for login.","computed":true},"app_secret":{"type":"TypeString","description":"The App Secret of the Facebook app used for Facebook Login.","computed":true},"app_secret_setting_name":{"type":"TypeString","description":"The app setting name that contains the `app_secret` value used for Facebook Login.","computed":true},"oauth_scopes":{"type":"TypeList","description":"The list of OAuth 2.0 scopes requested as part of Facebook Login authentication.","computed":true,"elem":{"type":"TypeString"}}}}},"github":{"type":"TypeList","computed":true,"elem":{"schema":{"client_id":{"type":"TypeString","description":"The ID of the GitHub app used for login.","computed":true},"client_secret":{"type":"TypeString","description":"The Client Secret of the GitHub app used for GitHub Login.","computed":true},"client_secret_setting_name":{"type":"TypeString","description":"The app setting name that contains the `client_secret` value used for GitHub Login.","computed":true},"oauth_scopes":{"type":"TypeList","description":"The list of OAuth 2.0 scopes requested as part of GitHub Login authentication.","computed":true,"elem":{"type":"TypeString"}}}}},"google":{"type":"TypeList","computed":true,"elem":{"schema":{"client_id":{"type":"TypeString","description":"The OpenID Connect Client ID for the Google web application.","computed":true},"client_secret":{"type":"TypeString","description":"The client secret associated with the Google web application.","computed":true},"client_secret_setting_name":{"type":"TypeString","description":"The app setting name that contains the `client_secret` value used for Google Login.","computed":true},"oauth_scopes":{"type":"TypeList","description":"The list of OAuth 2.0 scopes that requested as part of Google Sign-In authentication.","computed":true,"elem":{"type":"TypeString"}}}}},"issuer":{"type":"TypeString","description":"The OpenID Connect Issuer URI that represents the entity which issues access tokens.","computed":true},"microsoft":{"type":"TypeList","computed":true,"elem":{"schema":{"client_id":{"type":"TypeString","description":"The OAuth 2.0 client ID that was created for the app used for authentication.","computed":true},"client_secret":{"type":"TypeString","description":"The OAuth 2.0 client secret that was created for the app used for authentication.","computed":true},"client_secret_setting_name":{"type":"TypeString","description":"The app setting name containing the OAuth 2.0 client secret that was created for the app used for authentication.","computed":true},"oauth_scopes":{"type":"TypeList","description":"The list of OAuth 2.0 scopes requested as part of Microsoft Account authentication.","computed":true,"elem":{"type":"TypeString"}}}}},"runtime_version":{"type":"TypeString","description":"The RuntimeVersion of the Authentication / Authorization feature in use.","computed":true},"token_refresh_extension_hours":{"type":"TypeFloat","description":"The number of hours after session token expiration that a session token can be used to call the token refresh API.","computed":true},"token_store_enabled":{"type":"TypeBool","description":"Are platform-specific security tokens that are obtained during login flows durably stored?","computed":true},"twitter":{"type":"TypeList","computed":true,"elem":{"schema":{"consumer_key":{"type":"TypeString","description":"The OAuth 1.0a consumer key of the Twitter application used for sign-in.","computed":true},"consumer_secret":{"type":"TypeString","description":"The OAuth 1.0a consumer secret of the Twitter application used for sign-in.","computed":true},"consumer_secret_setting_name":{"type":"TypeString","description":"The app setting name that contains the OAuth 1.0a consumer secret of the Twitter application used for sign-in.","computed":true}}}},"unauthenticated_client_action":{"type":"TypeString","description":"The action taken when an unauthenticated client attempts to access the app.","computed":true}}}},"auth_settings_v2":{"type":"TypeList","computed":true,"elem":{"schema":{"active_directory_v2":{"type":"TypeList","computed":true,"elem":{"schema":{"allowed_applications":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"allowed_audiences":{"type":"TypeList","description":"Specifies a list of Allowed audience values to consider when validating JWTs issued by Azure Active Directory.","computed":true,"elem":{"type":"TypeString"}},"allowed_groups":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"allowed_identities":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"client_id":{"type":"TypeString","description":"The ID of the Client to use to authenticate with Azure Active Directory.","computed":true},"client_secret_certificate_thumbprint":{"type":"TypeString","description":"The thumbprint of the certificate used for signing purposes.","computed":true},"client_secret_setting_name":{"type":"TypeString","description":"The App Setting name that contains the client secret of the Client.","computed":true},"jwt_allowed_client_applications":{"type":"TypeList","description":"A list of Allowed Client Applications in the JWT Claim.","computed":true,"elem":{"type":"TypeString"}},"jwt_allowed_groups":{"type":"TypeList","description":"A list of Allowed Groups in the JWT Claim.","computed":true,"elem":{"type":"TypeString"}},"login_parameters":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"tenant_auth_endpoint":{"type":"TypeString","description":"The Azure Tenant URI for the Authenticating Tenant. e.g. `https://login.microsoftonline.com/v2.0/{tenant-guid}/`","computed":true},"www_authentication_disabled":{"type":"TypeBool","description":"Is the www-authenticate provider omitted from the request?","computed":true}}}},"apple_v2":{"type":"TypeList","computed":true,"elem":{"schema":{"client_id":{"type":"TypeString","description":"The OpenID Connect Client ID for the Apple web application.","computed":true},"client_secret_setting_name":{"type":"TypeString","description":"The app setting name that contains the `client_secret` value used for Apple Login.","computed":true},"login_scopes":{"type":"TypeList","description":"Specifies a list of OAuth 2.0 scopes that will be requested as part of Apple Sign-In authentication. If not specified, \"openid\", \"profile\", and \"email\" are used as default scopes.","computed":true,"elem":{"type":"TypeString"}}}}},"auth_enabled":{"type":"TypeBool","description":"Is the AuthV2 Settings be enabled.","computed":true},"azure_static_web_app_v2":{"type":"TypeList","computed":true,"elem":{"schema":{"client_id":{"type":"TypeString","description":"The ID of the Client used to authenticate with Azure Static Web App Authentication.","computed":true}}}},"config_file_path":{"type":"TypeString","description":"The path to the App Auth settings.","computed":true},"custom_oidc_v2":{"type":"TypeList","computed":true,"elem":{"schema":{"authorisation_endpoint":{"type":"TypeString","description":"The endpoint to make the Authorisation Request.","computed":true},"certification_uri":{"type":"TypeString","description":"The endpoint that provides the keys necessary to validate the token.","computed":true},"client_credential_method":{"type":"TypeString","description":"The Client Credential Method used. Currently the only supported value is `ClientSecretPost`","computed":true},"client_id":{"type":"TypeString","description":"The ID of the Client used to authenticate with this Custom OIDC.","computed":true},"client_secret_setting_name":{"type":"TypeString","description":"The App Setting name that contains the secret for this Custom OIDC Client.","computed":true},"issuer_endpoint":{"type":"TypeString","description":"The endpoint that issued the Token.","computed":true},"name":{"type":"TypeString","description":"The name of the Custom OIDC Authentication Provider.","computed":true},"name_claim_type":{"type":"TypeString","description":"The name of the claim that contains the users name.","computed":true},"openid_configuration_endpoint":{"type":"TypeString","description":"The endpoint that contains all the configuration endpoints for this Custom OIDC provider.","computed":true},"scopes":{"type":"TypeList","description":"The list of the scopes that should be requested while authenticating.","computed":true,"elem":{"type":"TypeString"}},"token_endpoint":{"type":"TypeString","description":"The endpoint used to request a Token.","computed":true}}}},"default_provider":{"type":"TypeString","description":"The Default Authentication Provider used when the `unauthenticated_action` is set to `RedirectToLoginPage`.","computed":true},"excluded_paths":{"type":"TypeList","description":"The paths which are excluded from the `unauthenticated_action` when it is set to `RedirectToLoginPage`.","computed":true,"elem":{"type":"TypeString"}},"facebook_v2":{"type":"TypeList","computed":true,"elem":{"schema":{"app_id":{"type":"TypeString","description":"The App ID of the Facebook app used for login.","computed":true},"app_secret_setting_name":{"type":"TypeString","description":"The app setting name that contains the `app_secret` value used for Facebook Login.","computed":true},"graph_api_version":{"type":"TypeString","description":"The version of the Facebook API to be used while logging in.","computed":true},"login_scopes":{"type":"TypeList","description":"Specifies a list of OAuth 2.0 scopes to be requested as part of Facebook Login authentication.","computed":true,"elem":{"type":"TypeString"}}}}},"forward_proxy_convention":{"type":"TypeString","description":"The convention used to determine the url of the request made.","computed":true},"forward_proxy_custom_host_header_name":{"type":"TypeString","description":"The name of the header containing the host of the request.","computed":true},"forward_proxy_custom_scheme_header_name":{"type":"TypeString","description":"The name of the header containing the scheme of the request.","computed":true},"github_v2":{"type":"TypeList","computed":true,"elem":{"schema":{"client_id":{"type":"TypeString","description":"The ID of the GitHub app used for login.","computed":true},"client_secret_setting_name":{"type":"TypeString","description":"The app setting name that contains the `client_secret` value used for GitHub Login.","computed":true},"login_scopes":{"type":"TypeList","description":"Specifies a list of OAuth 2.0 scopes that will be requested as part of GitHub Login authentication.","computed":true,"elem":{"type":"TypeString"}}}}},"google_v2":{"type":"TypeList","computed":true,"elem":{"schema":{"allowed_audiences":{"type":"TypeList","description":"Specifies a list of Allowed Audiences that will be requested as part of Google Sign-In authentication. If not specified, \"openid\", \"profile\", and \"email\" are used as default scopes.","computed":true,"elem":{"type":"TypeString"}},"client_id":{"type":"TypeString","description":"The OpenID Connect Client ID for the Google web application.","computed":true},"client_secret_setting_name":{"type":"TypeString","description":"The app setting name that contains the `client_secret` value used for Google Login.","computed":true},"login_scopes":{"type":"TypeList","description":"The list of OAuth 2.0 scopes requested as part of Google Sign-In authentication. If not specified, \"openid\", \"profile\", and \"email\" are used as default scopes.","computed":true,"elem":{"type":"TypeString"}}}}},"http_route_api_prefix":{"type":"TypeString","description":"The prefix that precedes all the authentication and authorisation paths.","computed":true},"login":{"type":"TypeList","computed":true,"elem":{"schema":{"allowed_external_redirect_urls":{"type":"TypeList","description":"External URLs that can be redirected to as part of logging in or logging out of the app. This is an advanced setting typically only needed by Windows Store application backends. **Note:** URLs within the current domain are always implicitly allowed.","computed":true,"elem":{"type":"TypeString"}},"cookie_expiration_convention":{"type":"TypeString","computed":true},"cookie_expiration_time":{"type":"TypeString","description":"The time after the request is made when the session cookie will expire.","computed":true},"logout_endpoint":{"type":"TypeString","description":"The endpoint to which logout requests are made.","computed":true},"nonce_expiration_time":{"type":"TypeString","description":"The time after the request is made when the nonce will expire.","computed":true},"preserve_url_fragments_for_logins":{"type":"TypeBool","description":"Are the fragments from the request be preserved after the login request is made.","computed":true},"token_refresh_extension_time":{"type":"TypeFloat","description":"The number of hours after session token expiration that a session token can be used to call the token refresh API.","computed":true},"token_store_enabled":{"type":"TypeBool","description":"Is the Token Store configuration Enabled.","computed":true},"token_store_path":{"type":"TypeString","description":"The directory path in the App Filesystem in which the tokens are stored.","computed":true},"token_store_sas_setting_name":{"type":"TypeString","description":"The name of the app setting which contains the SAS URL of the blob storage containing the tokens.","computed":true},"validate_nonce":{"type":"TypeBool","description":"Is the nonce be validated while completing the login flow.","computed":true}}}},"microsoft_v2":{"type":"TypeList","computed":true,"elem":{"schema":{"allowed_audiences":{"type":"TypeList","description":"Specifies a list of Allowed Audiences that will be requested as part of Microsoft Sign-In authentication.","computed":true,"elem":{"type":"TypeString"}},"client_id":{"type":"TypeString","description":"The OAuth 2.0 client ID that was created for the app used for authentication.","computed":true},"client_secret_setting_name":{"type":"TypeString","description":"The app setting name containing the OAuth 2.0 client secret that was created for the app used for authentication.","computed":true},"login_scopes":{"type":"TypeList","description":"The list of Login scopes that will be requested as part of Microsoft Account authentication.","computed":true,"elem":{"type":"TypeString"}}}}},"require_authentication":{"type":"TypeBool","description":"Is the authentication flow used for all requests.","computed":true},"require_https":{"type":"TypeBool","description":"Is HTTPS required on connections?","computed":true},"runtime_version":{"type":"TypeString","description":"The Runtime Version of the Authentication and Authorisation feature of this App.","computed":true},"twitter_v2":{"type":"TypeList","computed":true,"elem":{"schema":{"consumer_key":{"type":"TypeString","description":"The OAuth 1.0a consumer key of the Twitter application used for sign-in.","computed":true},"consumer_secret_setting_name":{"type":"TypeString","description":"The app setting name that contains the OAuth 1.0a consumer secret of the Twitter application used for sign-in.","computed":true}}}},"unauthenticated_action":{"type":"TypeString","computed":true}}}},"availability":{"type":"TypeString","computed":true},"backup":{"type":"TypeList","computed":true,"elem":{"schema":{"enabled":{"type":"TypeBool","description":"Is this backup job enabled?","computed":true},"name":{"type":"TypeString","description":"The name of this Backup.","computed":true},"schedule":{"type":"TypeList","computed":true,"elem":{"schema":{"frequency_interval":{"type":"TypeInt","description":"How often the backup should is executed in multiples of the `frequency_unit`.","computed":true},"frequency_unit":{"type":"TypeString","description":"The unit of time for how often the backup takes place.","computed":true},"keep_at_least_one_backup":{"type":"TypeBool","description":"Does the service keep at least one backup, regardless of age of backup.","computed":true},"last_execution_time":{"type":"TypeString","description":"The time the backup was last attempted.","computed":true},"retention_period_days":{"type":"TypeInt","description":"After how many days are backups deleted.","computed":true},"start_time":{"type":"TypeString","description":"When the schedule should start working in RFC-3339 format.","computed":true}}}},"storage_account_url":{"type":"TypeString","description":"The SAS URL to the container.","computed":true}}}},"client_affinity_enabled":{"type":"TypeBool","computed":true},"client_certificate_enabled":{"type":"TypeBool","computed":true},"client_certificate_exclusion_paths":{"type":"TypeString","description":"Paths to exclude when using client certificates, separated by ;","computed":true},"client_certificate_mode":{"type":"TypeString","computed":true},"connection_string":{"type":"TypeSet","computed":true,"elem":{"schema":{"name":{"type":"TypeString","description":"The name of this Connection.","computed":true},"type":{"type":"TypeString","description":"The type of database.","computed":true},"value":{"type":"TypeString","description":"The connection string value.","computed":true}}}},"custom_domain_verification_id":{"type":"TypeString","computed":true},"default_hostname":{"type":"TypeString","computed":true},"enabled":{"type":"TypeBool","computed":true},"ftp_publish_basic_authentication_enabled":{"type":"TypeBool","computed":true},"hosting_environment_id":{"type":"TypeString","computed":true},"https_only":{"type":"TypeBool","computed":true},"identity":{"type":"TypeList","computed":true,"elem":{"schema":{"identity_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"key_vault_reference_identity_id":{"type":"TypeString","computed":true},"kind":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"logs":{"type":"TypeList","computed":true,"elem":{"schema":{"application_logs":{"type":"TypeList","computed":true,"elem":{"schema":{"azure_blob_storage":{"type":"TypeList","computed":true,"elem":{"schema":{"level":{"type":"TypeString","computed":true},"retention_in_days":{"type":"TypeInt","computed":true},"sas_url":{"type":"TypeString","computed":true}}}},"file_system_level":{"type":"TypeString","computed":true}}}},"detailed_error_messages":{"type":"TypeBool","computed":true},"failed_request_tracing":{"type":"TypeBool","computed":true},"http_logs":{"type":"TypeList","computed":true,"elem":{"schema":{"azure_blob_storage":{"type":"TypeList","computed":true,"elem":{"schema":{"retention_in_days":{"type":"TypeInt","computed":true},"sas_url":{"type":"TypeString","computed":true}}}},"file_system":{"type":"TypeList","computed":true,"elem":{"schema":{"retention_in_days":{"type":"TypeInt","computed":true},"retention_in_mb":{"type":"TypeInt","computed":true}}}}}}}}}},"name":{"type":"TypeString","required":true},"outbound_ip_address_list":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"outbound_ip_addresses":{"type":"TypeString","computed":true},"possible_outbound_ip_address_list":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"possible_outbound_ip_addresses":{"type":"TypeString","computed":true},"public_network_access_enabled":{"type":"TypeBool","computed":true},"resource_group_name":{"type":"TypeString","required":true},"service_plan_id":{"type":"TypeString","computed":true},"site_config":{"type":"TypeList","computed":true,"elem":{"schema":{"always_on":{"type":"TypeBool","computed":true},"api_definition_url":{"type":"TypeString","computed":true},"api_management_api_id":{"type":"TypeString","computed":true},"app_command_line":{"type":"TypeString","computed":true},"application_stack":{"type":"TypeList","computed":true,"elem":{"schema":{"docker_image_name":{"type":"TypeString","computed":true},"docker_registry_password":{"type":"TypeString","computed":true},"docker_registry_url":{"type":"TypeString","computed":true},"docker_registry_username":{"type":"TypeString","computed":true},"dotnet_version":{"type":"TypeString","computed":true},"go_version":{"type":"TypeString","computed":true},"java_server":{"type":"TypeString","computed":true},"java_server_version":{"type":"TypeString","computed":true},"java_version":{"type":"TypeString","computed":true},"node_version":{"type":"TypeString","computed":true},"php_version":{"type":"TypeString","computed":true},"python_version":{"type":"TypeString","computed":true},"ruby_version":{"type":"TypeString","computed":true}}}},"auto_heal_setting":{"type":"TypeList","computed":true,"elem":{"schema":{"action":{"type":"TypeList","computed":true,"elem":{"schema":{"action_type":{"type":"TypeString","computed":true},"minimum_process_execution_time":{"type":"TypeString","computed":true}}}},"trigger":{"type":"TypeList","computed":true,"elem":{"schema":{"requests":{"type":"TypeList","computed":true,"elem":{"schema":{"count":{"type":"TypeInt","computed":true},"interval":{"type":"TypeString","computed":true}}}},"slow_request":{"type":"TypeList","optional":true,"elem":{"schema":{"count":{"type":"TypeInt","computed":true},"interval":{"type":"TypeString","computed":true},"time_taken":{"type":"TypeString","computed":true}}}},"slow_request_with_path":{"type":"TypeList","computed":true,"elem":{"schema":{"count":{"type":"TypeInt","computed":true},"interval":{"type":"TypeString","computed":true},"path":{"type":"TypeString","computed":true},"time_taken":{"type":"TypeString","computed":true}}}},"status_code":{"type":"TypeSet","computed":true,"elem":{"schema":{"count":{"type":"TypeInt","computed":true},"interval":{"type":"TypeString","computed":true},"path":{"type":"TypeString","computed":true},"status_code_range":{"type":"TypeString","computed":true},"sub_status":{"type":"TypeInt","computed":true},"win32_status_code":{"type":"TypeInt","computed":true}}}}}}}}}},"container_registry_managed_identity_client_id":{"type":"TypeString","computed":true},"container_registry_use_managed_identity":{"type":"TypeBool","computed":true},"cors":{"type":"TypeList","computed":true,"elem":{"schema":{"allowed_origins":{"type":"TypeList","description":"The list of origins that are allowed to make cross-origin calls.","computed":true,"elem":{"type":"TypeString"}},"support_credentials":{"type":"TypeBool","description":"Are credentials allowed in CORS requests?","computed":true}}}},"default_documents":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"detailed_error_logging_enabled":{"type":"TypeBool","computed":true},"ftps_state":{"type":"TypeString","computed":true},"health_check_eviction_time_in_min":{"type":"TypeInt","computed":true},"health_check_path":{"type":"TypeString","computed":true},"http2_enabled":{"type":"TypeBool","computed":true},"ip_restriction":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"action":{"type":"TypeString","description":"The action to take.","computed":true},"description":{"type":"TypeString","description":"The description of the ip restriction rule.","computed":true},"headers":{"type":"TypeList","computed":true,"elem":{"schema":{"x_azure_fdid":{"type":"TypeList","description":"The list of Azure Front Door IDs.","computed":true,"elem":{"type":"TypeString"}},"x_fd_health_probe":{"type":"TypeList","description":"Specifies if a Front Door Health Probe is expected.","computed":true,"elem":{"type":"TypeString"}},"x_forwarded_for":{"type":"TypeList","description":"The list of addresses for which matching is applied.","computed":true,"elem":{"type":"TypeString"}},"x_forwarded_host":{"type":"TypeList","description":"The list of Hosts for which matching will be applied.","computed":true,"elem":{"type":"TypeString"}}}}},"ip_address":{"type":"TypeString","description":"The CIDR notation of the IP or IP Range to match.","computed":true},"name":{"type":"TypeString","description":"The name used for this `ip_restriction`.","computed":true},"priority":{"type":"TypeInt","description":"The priority value of this `ip_restriction`.","computed":true},"service_tag":{"type":"TypeString","description":"The Service Tag used for this IP Restriction.","computed":true},"virtual_network_subnet_id":{"type":"TypeString","description":"The Virtual Network Subnet ID used for this IP Restriction.","computed":true}}}},"ip_restriction_default_action":{"type":"TypeString","computed":true},"linux_fx_version":{"type":"TypeString","computed":true},"load_balancing_mode":{"type":"TypeString","computed":true},"local_mysql_enabled":{"type":"TypeBool","computed":true},"managed_pipeline_mode":{"type":"TypeString","computed":true},"minimum_tls_version":{"type":"TypeString","computed":true},"remote_debugging_enabled":{"type":"TypeBool","computed":true},"remote_debugging_version":{"type":"TypeString","computed":true},"scm_ip_restriction":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"action":{"type":"TypeString","description":"The action to take.","computed":true},"description":{"type":"TypeString","description":"The description of the ip restriction rule.","computed":true},"headers":{"type":"TypeList","computed":true,"elem":{"schema":{"x_azure_fdid":{"type":"TypeList","description":"The list of Azure Front Door IDs.","computed":true,"elem":{"type":"TypeString"}},"x_fd_health_probe":{"type":"TypeList","description":"Specifies if a Front Door Health Probe is expected.","computed":true,"elem":{"type":"TypeString"}},"x_forwarded_for":{"type":"TypeList","description":"The list of addresses for which matching is applied.","computed":true,"elem":{"type":"TypeString"}},"x_forwarded_host":{"type":"TypeList","description":"The list of Hosts for which matching will be applied.","computed":true,"elem":{"type":"TypeString"}}}}},"ip_address":{"type":"TypeString","description":"The CIDR notation of the IP or IP Range to match.","computed":true},"name":{"type":"TypeString","description":"The name used for this `ip_restriction`.","computed":true},"priority":{"type":"TypeInt","description":"The priority value of this `ip_restriction`.","computed":true},"service_tag":{"type":"TypeString","description":"The Service Tag used for this IP Restriction.","computed":true},"virtual_network_subnet_id":{"type":"TypeString","description":"The Virtual Network Subnet ID used for this IP Restriction.","computed":true}}}},"scm_ip_restriction_default_action":{"type":"TypeString","computed":true},"scm_minimum_tls_version":{"type":"TypeString","computed":true},"scm_type":{"type":"TypeString","computed":true},"scm_use_main_ip_restriction":{"type":"TypeBool","computed":true},"use_32_bit_worker":{"type":"TypeBool","computed":true},"vnet_route_all_enabled":{"type":"TypeBool","computed":true},"websockets_enabled":{"type":"TypeBool","computed":true},"worker_count":{"type":"TypeInt","computed":true}}}},"site_credential":{"type":"TypeList","computed":true,"elem":{"schema":{"name":{"type":"TypeString","description":"The Site Credentials Username used for publishing.","computed":true},"password":{"type":"TypeString","description":"The Site Credentials Password used for publishing.","computed":true}}}},"sticky_settings":{"type":"TypeList","computed":true,"elem":{"schema":{"app_setting_names":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"connection_string_names":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}}},"storage_account":{"type":"TypeList","computed":true,"elem":{"schema":{"access_key":{"type":"TypeString","computed":true},"account_name":{"type":"TypeString","computed":true},"mount_path":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"share_name":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"usage":{"type":"TypeString","computed":true},"virtual_network_subnet_id":{"type":"TypeString","computed":true},"webdeploy_publish_basic_authentication_enabled":{"type":"TypeBool","computed":true}},"timeouts":{"read":5}},"azurerm_load_test":{"schema":{"data_plane_uri":{"type":"TypeString","computed":true},"description":{"type":"TypeString","computed":true},"encryption":{"type":"TypeList","computed":true,"elem":{"schema":{"identity":{"type":"TypeList","computed":true,"elem":{"schema":{"identity_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"key_url":{"type":"TypeString","computed":true}}}},"identity":{"type":"TypeList","computed":true,"elem":{"schema":{"identity_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_local_network_gateway":{"schema":{"address_space":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"bgp_settings":{"type":"TypeList","computed":true,"elem":{"schema":{"asn":{"type":"TypeInt","required":true},"bgp_peering_address":{"type":"TypeString","required":true},"peer_weight":{"type":"TypeInt","computed":true}}}},"gateway_address":{"type":"TypeString","computed":true},"gateway_fqdn":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_location":{"schema":{"display_name":{"type":"TypeString","computed":true},"location":{"type":"TypeString","required":true},"zone_mappings":{"type":"TypeList","computed":true,"elem":{"schema":{"logical_zone":{"type":"TypeString","computed":true},"physical_zone":{"type":"TypeString","computed":true}}}}},"timeouts":{"read":5}},"azurerm_log_analytics_workspace":{"schema":{"daily_quota_gb":{"type":"TypeFloat","computed":true},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"primary_shared_key":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true},"retention_in_days":{"type":"TypeInt","computed":true},"secondary_shared_key":{"type":"TypeString","computed":true},"sku":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"workspace_id":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_logic_app_integration_account":{"schema":{"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"sku_name":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_logic_app_standard":{"schema":{"app_service_plan_id":{"type":"TypeString","computed":true},"app_settings":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"bundle_version":{"type":"TypeString","computed":true},"client_affinity_enabled":{"type":"TypeBool","computed":true},"client_certificate_mode":{"type":"TypeString","computed":true},"connection_string":{"type":"TypeSet","computed":true,"elem":{"schema":{"name":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true},"value":{"type":"TypeString","computed":true}}}},"custom_domain_verification_id":{"type":"TypeString","computed":true},"default_hostname":{"type":"TypeString","computed":true},"enabled":{"type":"TypeBool","computed":true},"https_only":{"type":"TypeBool","computed":true},"identity":{"type":"TypeList","computed":true,"elem":{"schema":{"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"kind":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"outbound_ip_addresses":{"type":"TypeString","computed":true},"possible_outbound_ip_addresses":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true},"site_config":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"always_on":{"type":"TypeBool","optional":true,"default":false},"app_scale_limit":{"type":"TypeInt","optional":true,"computed":true},"auto_swap_slot_name":{"type":"TypeString","computed":true},"cors":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"allowed_origins":{"type":"TypeSet","required":true,"elem":{"type":"TypeString"}},"support_credentials":{"type":"TypeBool","optional":true,"default":false}}},"maxItems":1},"dotnet_framework_version":{"type":"TypeString","optional":true,"default":"v4.0"},"elastic_instance_minimum":{"type":"TypeInt","optional":true,"computed":true},"ftps_state":{"type":"TypeString","optional":true,"computed":true},"health_check_path":{"type":"TypeString","optional":true},"http2_enabled":{"type":"TypeBool","optional":true,"default":false},"ip_restriction":{"type":"TypeList","configMode":"Auto","optional":true,"computed":true,"elem":{"schema":{"action":{"type":"TypeString","optional":true,"default":"Allow"},"headers":{"type":"TypeList","configMode":"Auto","optional":true,"computed":true,"elem":{"schema":{"x_azure_fdid":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":8},"x_fd_health_probe":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":1},"x_forwarded_for":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":8},"x_forwarded_host":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":8}}},"maxItems":1},"ip_address":{"type":"TypeString","optional":true},"name":{"type":"TypeString","optional":true,"computed":true},"priority":{"type":"TypeInt","optional":true,"default":65000},"service_tag":{"type":"TypeString","optional":true},"virtual_network_subnet_id":{"type":"TypeString","optional":true}}}},"linux_fx_version":{"type":"TypeString","optional":true,"computed":true},"min_tls_version":{"type":"TypeString","optional":true,"computed":true},"pre_warmed_instance_count":{"type":"TypeInt","optional":true,"computed":true},"public_network_access_enabled":{"type":"TypeBool","optional":true,"default":true},"runtime_scale_monitoring_enabled":{"type":"TypeBool","optional":true,"default":false},"scm_ip_restriction":{"type":"TypeList","configMode":"Auto","optional":true,"computed":true,"elem":{"schema":{"action":{"type":"TypeString","optional":true,"default":"Allow"},"headers":{"type":"TypeList","configMode":"Auto","optional":true,"computed":true,"elem":{"schema":{"x_azure_fdid":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":8},"x_fd_health_probe":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":1},"x_forwarded_for":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":8},"x_forwarded_host":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"},"maxItems":8}}},"maxItems":1},"ip_address":{"type":"TypeString","optional":true},"name":{"type":"TypeString","optional":true,"computed":true},"priority":{"type":"TypeInt","optional":true,"default":65000},"service_tag":{"type":"TypeString","optional":true},"virtual_network_subnet_id":{"type":"TypeString","optional":true}}}},"scm_min_tls_version":{"type":"TypeString","optional":true,"computed":true},"scm_type":{"type":"TypeString","optional":true,"computed":true},"scm_use_main_ip_restriction":{"type":"TypeBool","optional":true,"default":false},"use_32_bit_worker_process":{"type":"TypeBool","optional":true,"default":true},"vnet_route_all_enabled":{"type":"TypeBool","optional":true,"computed":true},"websockets_enabled":{"type":"TypeBool","optional":true,"default":false}}},"maxItems":1},"site_credential":{"type":"TypeList","computed":true,"elem":{"schema":{"password":{"type":"TypeString","computed":true},"username":{"type":"TypeString","computed":true}}}},"storage_account_access_key":{"type":"TypeString","computed":true},"storage_account_name":{"type":"TypeString","computed":true},"storage_account_share_name":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"use_extension_bundle":{"type":"TypeBool","computed":true},"version":{"type":"TypeString","computed":true},"virtual_network_subnet_id":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_logic_app_workflow":{"schema":{"access_endpoint":{"type":"TypeString","computed":true},"connector_endpoint_ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"connector_outbound_ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"identity":{"type":"TypeList","computed":true,"elem":{"schema":{"identity_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"location":{"type":"TypeString","computed":true},"logic_app_integration_account_id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"parameters":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"workflow_endpoint_ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"workflow_outbound_ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"workflow_schema":{"type":"TypeString","computed":true},"workflow_version":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_machine_learning_workspace":{"schema":{"identity":{"type":"TypeList","computed":true,"elem":{"schema":{"identity_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_maintenance_configuration":{"schema":{"in_guest_user_patch_mode":{"type":"TypeString","computed":true},"install_patches":{"type":"TypeList","computed":true,"elem":{"schema":{"linux":{"type":"TypeList","computed":true,"elem":{"schema":{"classifications_to_include":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"package_names_mask_to_exclude":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"package_names_mask_to_include":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}}},"reboot":{"type":"TypeString","computed":true},"windows":{"type":"TypeList","computed":true,"elem":{"schema":{"classifications_to_include":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"kb_numbers_to_exclude":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"kb_numbers_to_include":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}}}}}},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"properties":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"resource_group_name":{"type":"TypeString","required":true},"scope":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"visibility":{"type":"TypeString","computed":true},"window":{"type":"TypeList","computed":true,"elem":{"schema":{"duration":{"type":"TypeString","computed":true},"expiration_date_time":{"type":"TypeString","computed":true},"recur_every":{"type":"TypeString","computed":true},"start_date_time":{"type":"TypeString","computed":true},"time_zone":{"type":"TypeString","computed":true}}}}},"timeouts":{"read":5}},"azurerm_managed_api":{"schema":{"location":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_managed_application_definition":{"schema":{"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_managed_disk":{"schema":{"create_option":{"type":"TypeString","computed":true},"disk_access_id":{"type":"TypeString","computed":true},"disk_encryption_set_id":{"type":"TypeString","computed":true},"disk_iops_read_write":{"type":"TypeInt","computed":true},"disk_mbps_read_write":{"type":"TypeInt","computed":true},"disk_size_gb":{"type":"TypeInt","computed":true},"encryption_settings":{"type":"TypeList","computed":true,"elem":{"schema":{"disk_encryption_key":{"type":"TypeList","computed":true,"elem":{"schema":{"secret_url":{"type":"TypeString","computed":true},"source_vault_id":{"type":"TypeString","computed":true}}}},"enabled":{"type":"TypeBool","computed":true},"key_encryption_key":{"type":"TypeList","computed":true,"elem":{"schema":{"key_url":{"type":"TypeString","computed":true},"source_vault_id":{"type":"TypeString","computed":true}}}}}}},"image_reference_id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"network_access_policy":{"type":"TypeString","computed":true},"os_type":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true},"source_resource_id":{"type":"TypeString","computed":true},"source_uri":{"type":"TypeString","computed":true},"storage_account_id":{"type":"TypeString","computed":true},"storage_account_type":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"zones":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_management_group":{"schema":{"all_management_group_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"all_subscription_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"display_name":{"type":"TypeString","optional":true,"computed":true},"management_group_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","optional":true,"computed":true},"parent_management_group_id":{"type":"TypeString","computed":true},"subscription_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"tenant_scoped_id":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_management_group_template_deployment":{"schema":{"management_group_id":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true},"output_content":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_maps_account":{"schema":{"name":{"type":"TypeString","required":true},"primary_access_key":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true},"secondary_access_key":{"type":"TypeString","computed":true},"sku_name":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"x_ms_client_id":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_marketplace_agreement":{"schema":{"license_text_link":{"type":"TypeString","computed":true},"offer":{"type":"TypeString","required":true},"plan":{"type":"TypeString","required":true},"privacy_policy_link":{"type":"TypeString","computed":true},"publisher":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_mobile_network":{"schema":{"location":{"type":"TypeString","computed":true},"mobile_country_code":{"type":"TypeString","computed":true},"mobile_network_code":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"service_key":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_mobile_network_attached_data_network":{"schema":{"dns_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"location":{"type":"TypeString","computed":true},"mobile_network_data_network_name":{"type":"TypeString","required":true},"mobile_network_packet_core_data_plane_id":{"type":"TypeString","required":true},"network_address_port_translation":{"type":"TypeList","computed":true,"elem":{"schema":{"icmp_pinhole_timeout_in_seconds":{"type":"TypeInt","computed":true},"pinhole_maximum_number":{"type":"TypeInt","optional":true},"port_range":{"type":"TypeList","computed":true,"elem":{"schema":{"maximum":{"type":"TypeInt","computed":true},"minimum":{"type":"TypeInt","computed":true}}}},"tcp_pinhole_timeout_in_seconds":{"type":"TypeInt","computed":true},"tcp_port_reuse_minimum_hold_time_in_seconds":{"type":"TypeInt","computed":true},"udp_pinhole_timeout_in_seconds":{"type":"TypeInt","computed":true},"udp_port_reuse_minimum_hold_time_in_seconds":{"type":"TypeInt","computed":true}}}},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"user_equipment_address_pool_prefixes":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"user_equipment_static_address_pool_prefixes":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"user_plane_access_ipv4_address":{"type":"TypeString","computed":true},"user_plane_access_ipv4_gateway":{"type":"TypeString","computed":true},"user_plane_access_ipv4_subnet":{"type":"TypeString","computed":true},"user_plane_access_name":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_mobile_network_data_network":{"schema":{"description":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"mobile_network_id":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_mobile_network_packet_core_control_plane":{"schema":{"control_plane_access_ipv4_address":{"type":"TypeString","computed":true},"control_plane_access_ipv4_gateway":{"type":"TypeString","computed":true},"control_plane_access_ipv4_subnet":{"type":"TypeString","computed":true},"control_plane_access_name":{"type":"TypeString","computed":true},"core_network_technology":{"type":"TypeString","computed":true},"identity":{"type":"TypeList","computed":true,"elem":{"schema":{"identity_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"type":{"type":"TypeString","computed":true}}}},"interoperability_settings_json":{"type":"TypeString","computed":true},"local_diagnostics_access":{"type":"TypeList","computed":true,"elem":{"schema":{"authentication_type":{"type":"TypeString","computed":true},"https_server_certificate_url":{"type":"TypeString","computed":true}}}},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"platform":{"type":"TypeList","computed":true,"elem":{"schema":{"arc_kubernetes_cluster_id":{"type":"TypeString","computed":true},"custom_location_id":{"type":"TypeString","computed":true},"edge_device_id":{"type":"TypeString","computed":true},"stack_hci_cluster_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"site_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"sku":{"type":"TypeString","computed":true},"software_version":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"user_equipment_mtu_in_bytes":{"type":"TypeInt","computed":true}},"timeouts":{"read":5}},"azurerm_mobile_network_packet_core_data_plane":{"schema":{"location":{"type":"TypeString","computed":true},"mobile_network_packet_core_control_plane_id":{"type":"TypeString","required":true,"forceNew":true},"name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"user_plane_access_ipv4_address":{"type":"TypeString","computed":true},"user_plane_access_ipv4_gateway":{"type":"TypeString","computed":true},"user_plane_access_ipv4_subnet":{"type":"TypeString","computed":true},"user_plane_access_name":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_mobile_network_service":{"schema":{"location":{"type":"TypeString","computed":true},"mobile_network_id":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true},"pcc_rule":{"type":"TypeList","computed":true,"elem":{"schema":{"name":{"type":"TypeString","computed":true},"precedence":{"type":"TypeInt","computed":true},"qos_policy":{"type":"TypeList","computed":true,"elem":{"schema":{"allocation_and_retention_priority_level":{"type":"TypeInt","computed":true},"guaranteed_bit_rate":{"type":"TypeList","computed":true,"elem":{"schema":{"downlink":{"type":"TypeString","computed":true},"uplink":{"type":"TypeString","computed":true}}}},"maximum_bit_rate":{"type":"TypeList","computed":true,"elem":{"schema":{"downlink":{"type":"TypeString","computed":true},"uplink":{"type":"TypeString","computed":true}}}},"preemption_capability":{"type":"TypeString","computed":true},"preemption_vulnerability":{"type":"TypeString","computed":true},"qos_indicator":{"type":"TypeInt","computed":true}}}},"service_data_flow_template":{"type":"TypeList","computed":true,"elem":{"schema":{"direction":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"ports":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"protocol":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"remote_ip_list":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}}},"traffic_control_enabled":{"type":"TypeBool","computed":true}}}},"service_precedence":{"type":"TypeInt","computed":true},"service_qos_policy":{"type":"TypeList","computed":true,"elem":{"schema":{"allocation_and_retention_priority_level":{"type":"TypeInt","computed":true},"maximum_bit_rate":{"type":"TypeList","computed":true,"elem":{"schema":{"downlink":{"type":"TypeString","computed":true},"uplink":{"type":"TypeString","computed":true}}}},"preemption_capability":{"type":"TypeString","computed":true},"preemption_vulnerability":{"type":"TypeString","computed":true},"qos_indicator":{"type":"TypeInt","computed":true}}}},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_mobile_network_sim":{"schema":{"device_type":{"type":"TypeString","computed":true},"integrated_circuit_card_identifier":{"type":"TypeString","computed":true},"international_mobile_subscriber_identity":{"type":"TypeString","computed":true},"mobile_network_sim_group_id":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true},"sim_policy_id":{"type":"TypeString","computed":true},"sim_state":{"type":"TypeString","computed":true},"static_ip_configuration":{"type":"TypeList","computed":true,"elem":{"schema":{"attached_data_network_id":{"type":"TypeString","computed":true},"slice_id":{"type":"TypeString","computed":true},"static_ipv4_address":{"type":"TypeString","computed":true}}}},"vendor_key_fingerprint":{"type":"TypeString","computed":true},"vendor_name":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_mobile_network_sim_group":{"schema":{"encryption_key_url":{"type":"TypeString","computed":true},"identity":{"type":"TypeList","computed":true,"elem":{"schema":{"identity_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"location":{"type":"TypeString","computed":true},"mobile_network_id":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_mobile_network_sim_policy":{"schema":{"default_slice_id":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"mobile_network_id":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true},"rat_frequency_selection_priority_index":{"type":"TypeInt","computed":true},"registration_timer_in_seconds":{"type":"TypeInt","computed":true},"slice":{"type":"TypeList","computed":true,"elem":{"schema":{"data_network":{"type":"TypeList","computed":true,"elem":{"schema":{"additional_allowed_session_types":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"allocation_and_retention_priority_level":{"type":"TypeInt","computed":true},"allowed_services_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"data_network_id":{"type":"TypeString","computed":true},"default_session_type":{"type":"TypeString","computed":true},"max_buffered_packets":{"type":"TypeInt","computed":true},"preemption_capability":{"type":"TypeString","computed":true},"preemption_vulnerability":{"type":"TypeString","computed":true},"qos_indicator":{"type":"TypeInt","computed":true},"session_aggregate_maximum_bit_rate":{"type":"TypeList","computed":true,"elem":{"schema":{"downlink":{"type":"TypeString","computed":true},"uplink":{"type":"TypeString","computed":true}}}}}}},"default_data_network_id":{"type":"TypeString","computed":true},"slice_id":{"type":"TypeString","computed":true}}}},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"user_equipment_aggregate_maximum_bit_rate":{"type":"TypeList","computed":true,"elem":{"schema":{"downlink":{"type":"TypeString","computed":true},"uplink":{"type":"TypeString","computed":true}}}}},"timeouts":{"read":5}},"azurerm_mobile_network_site":{"schema":{"location":{"type":"TypeString","computed":true},"mobile_network_id":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true},"network_function_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_mobile_network_slice":{"schema":{"description":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"mobile_network_id":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true},"single_network_slice_selection_assistance_information":{"type":"TypeList","computed":true,"elem":{"schema":{"slice_differentiator":{"type":"TypeString","computed":true},"slice_service_type":{"type":"TypeInt","computed":true}}}},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_monitor_action_group":{"schema":{"arm_role_receiver":{"type":"TypeList","computed":true,"elem":{"schema":{"name":{"type":"TypeString","computed":true},"role_id":{"type":"TypeString","computed":true},"use_common_alert_schema":{"type":"TypeBool","computed":true}}}},"automation_runbook_receiver":{"type":"TypeList","computed":true,"elem":{"schema":{"automation_account_id":{"type":"TypeString","computed":true},"is_global_runbook":{"type":"TypeBool","computed":true},"name":{"type":"TypeString","computed":true},"runbook_name":{"type":"TypeString","computed":true},"service_uri":{"type":"TypeString","computed":true},"use_common_alert_schema":{"type":"TypeBool","computed":true},"webhook_resource_id":{"type":"TypeString","computed":true}}}},"azure_app_push_receiver":{"type":"TypeList","computed":true,"elem":{"schema":{"email_address":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true}}}},"azure_function_receiver":{"type":"TypeList","computed":true,"elem":{"schema":{"function_app_resource_id":{"type":"TypeString","computed":true},"function_name":{"type":"TypeString","computed":true},"http_trigger_url":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"use_common_alert_schema":{"type":"TypeBool","computed":true}}}},"email_receiver":{"type":"TypeList","computed":true,"elem":{"schema":{"email_address":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"use_common_alert_schema":{"type":"TypeBool","computed":true}}}},"enabled":{"type":"TypeBool","computed":true},"event_hub_receiver":{"type":"TypeList","computed":true,"elem":{"schema":{"event_hub_name":{"type":"TypeString","required":true},"event_hub_namespace":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true},"subscription_id":{"type":"TypeString","optional":true,"computed":true},"tenant_id":{"type":"TypeString","optional":true,"computed":true},"use_common_alert_schema":{"type":"TypeBool","optional":true}}}},"itsm_receiver":{"type":"TypeList","computed":true,"elem":{"schema":{"connection_id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"region":{"type":"TypeString","computed":true},"ticket_configuration":{"type":"TypeString","computed":true},"workspace_id":{"type":"TypeString","computed":true}}}},"logic_app_receiver":{"type":"TypeList","computed":true,"elem":{"schema":{"callback_url":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"resource_id":{"type":"TypeString","computed":true},"use_common_alert_schema":{"type":"TypeBool","computed":true}}}},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"short_name":{"type":"TypeString","computed":true},"sms_receiver":{"type":"TypeList","computed":true,"elem":{"schema":{"country_code":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"phone_number":{"type":"TypeString","computed":true}}}},"voice_receiver":{"type":"TypeList","computed":true,"elem":{"schema":{"country_code":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"phone_number":{"type":"TypeString","computed":true}}}},"webhook_receiver":{"type":"TypeList","computed":true,"elem":{"schema":{"aad_auth":{"type":"TypeList","computed":true,"elem":{"schema":{"identifier_uri":{"type":"TypeString","computed":true},"object_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true}}}},"name":{"type":"TypeString","computed":true},"service_uri":{"type":"TypeString","computed":true},"use_common_alert_schema":{"type":"TypeBool","computed":true}}}}},"timeouts":{"read":5}},"azurerm_monitor_data_collection_endpoint":{"schema":{"configuration_access_endpoint":{"type":"TypeString","computed":true},"description":{"type":"TypeString","computed":true},"immutable_id":{"type":"TypeString","computed":true},"kind":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"logs_ingestion_endpoint":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"public_network_access_enabled":{"type":"TypeBool","computed":true},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_monitor_data_collection_rule":{"schema":{"data_collection_endpoint_id":{"type":"TypeString","computed":true},"data_flow":{"type":"TypeList","computed":true,"elem":{"schema":{"built_in_transform":{"type":"TypeString","computed":true},"destinations":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"output_stream":{"type":"TypeString","computed":true},"streams":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"transform_kql":{"type":"TypeString","computed":true}}}},"data_sources":{"type":"TypeList","computed":true,"elem":{"schema":{"data_import":{"type":"TypeList","computed":true,"elem":{"schema":{"event_hub_data_source":{"type":"TypeList","computed":true,"elem":{"schema":{"consumer_group":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"stream":{"type":"TypeString","computed":true}}}}}}},"extension":{"type":"TypeList","computed":true,"elem":{"schema":{"extension_json":{"type":"TypeString","computed":true},"extension_name":{"type":"TypeString","computed":true},"input_data_sources":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","computed":true},"streams":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}}},"iis_log":{"type":"TypeList","computed":true,"elem":{"schema":{"log_directories":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","computed":true},"streams":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}}},"log_file":{"type":"TypeList","optional":true,"elem":{"schema":{"file_patterns":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"format":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"settings":{"type":"TypeList","computed":true,"elem":{"schema":{"text":{"type":"TypeList","computed":true,"elem":{"schema":{"record_start_timestamp_format":{"type":"TypeString","computed":true}}}}}}},"streams":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}}},"performance_counter":{"type":"TypeList","computed":true,"elem":{"schema":{"counter_specifiers":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","computed":true},"sampling_frequency_in_seconds":{"type":"TypeInt","computed":true},"streams":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}}},"platform_telemetry":{"type":"TypeList","optional":true,"elem":{"schema":{"name":{"type":"TypeString","computed":true},"streams":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}}},"prometheus_forwarder":{"type":"TypeList","computed":true,"elem":{"schema":{"label_include_filter":{"type":"TypeList","computed":true,"elem":{"schema":{"label":{"type":"TypeString","computed":true},"value":{"type":"TypeString","computed":true}}}},"name":{"type":"TypeString","computed":true},"streams":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}}},"syslog":{"type":"TypeList","computed":true,"elem":{"schema":{"facility_names":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"log_levels":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","computed":true},"streams":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}}},"windows_event_log":{"type":"TypeList","computed":true,"elem":{"schema":{"name":{"type":"TypeString","computed":true},"streams":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"x_path_queries":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}}},"windows_firewall_log":{"type":"TypeList","computed":true,"elem":{"schema":{"name":{"type":"TypeString","computed":true},"streams":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}}}}}},"description":{"type":"TypeString","computed":true},"destinations":{"type":"TypeList","computed":true,"elem":{"schema":{"azure_monitor_metrics":{"type":"TypeList","computed":true,"elem":{"schema":{"name":{"type":"TypeString","computed":true}}}},"event_hub":{"type":"TypeList","optional":true,"elem":{"schema":{"event_hub_id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true}}},"maxItems":1},"event_hub_direct":{"type":"TypeList","optional":true,"elem":{"schema":{"event_hub_id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true}}},"maxItems":1},"log_analytics":{"type":"TypeList","computed":true,"elem":{"schema":{"name":{"type":"TypeString","computed":true},"workspace_resource_id":{"type":"TypeString","computed":true}}}},"monitor_account":{"type":"TypeList","computed":true,"elem":{"schema":{"monitor_account_id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true}}}},"storage_blob":{"type":"TypeList","computed":true,"elem":{"schema":{"container_name":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"storage_account_id":{"type":"TypeString","computed":true}}}},"storage_blob_direct":{"type":"TypeList","computed":true,"elem":{"schema":{"container_name":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"storage_account_id":{"type":"TypeString","computed":true}}}},"storage_table_direct":{"type":"TypeList","computed":true,"elem":{"schema":{"name":{"type":"TypeString","computed":true},"storage_account_id":{"type":"TypeString","computed":true},"table_name":{"type":"TypeString","computed":true}}}}}}},"identity":{"type":"TypeList","computed":true,"elem":{"schema":{"identity_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"immutable_id":{"type":"TypeString","computed":true},"kind":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"stream_declaration":{"type":"TypeList","computed":true,"elem":{"schema":{"column":{"type":"TypeList","computed":true,"elem":{"schema":{"name":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"stream_name":{"type":"TypeString","computed":true}}}},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_monitor_diagnostic_categories":{"schema":{"log_category_groups":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"log_category_types":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"metrics":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"resource_id":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_monitor_scheduled_query_rules_alert":{"schema":{"action":{"type":"TypeSet","computed":true,"elem":{"schema":{"action_group":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"custom_webhook_payload":{"type":"TypeString","computed":true},"email_subject":{"type":"TypeString","computed":true}}}},"authorized_resource_ids":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"data_source_id":{"type":"TypeString","computed":true},"description":{"type":"TypeString","computed":true},"enabled":{"type":"TypeBool","computed":true},"frequency":{"type":"TypeInt","computed":true},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"query":{"type":"TypeString","computed":true},"query_type":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true},"severity":{"type":"TypeInt","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"throttling":{"type":"TypeInt","computed":true},"time_window":{"type":"TypeInt","computed":true},"trigger":{"type":"TypeSet","computed":true,"elem":{"schema":{"metric_trigger":{"type":"TypeSet","computed":true,"elem":{"schema":{"metric_column":{"type":"TypeString","computed":true},"metric_trigger_type":{"type":"TypeString","computed":true},"operator":{"type":"TypeString","computed":true},"threshold":{"type":"TypeFloat","computed":true}}}},"operator":{"type":"TypeString","computed":true},"threshold":{"type":"TypeFloat","computed":true}}}}},"timeouts":{"read":5}},"azurerm_monitor_scheduled_query_rules_log":{"schema":{"authorized_resource_ids":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"criteria":{"type":"TypeSet","computed":true,"elem":{"schema":{"dimension":{"type":"TypeSet","computed":true,"elem":{"schema":{"name":{"type":"TypeString","computed":true},"operator":{"type":"TypeString","computed":true},"values":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}}},"metric_name":{"type":"TypeString","computed":true}}}},"data_source_id":{"type":"TypeString","computed":true},"description":{"type":"TypeString","computed":true},"enabled":{"type":"TypeBool","computed":true},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_monitor_workspace":{"schema":{"default_data_collection_endpoint_id":{"type":"TypeString","computed":true},"default_data_collection_rule_id":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"public_network_access_enabled":{"type":"TypeBool","computed":true},"query_endpoint":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_mssql_database":{"schema":{"collation":{"type":"TypeString","computed":true},"elastic_pool_id":{"type":"TypeString","computed":true},"enclave_type":{"type":"TypeString","computed":true},"identity":{"type":"TypeList","computed":true,"elem":{"schema":{"identity_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"type":{"type":"TypeString","computed":true}}}},"license_type":{"type":"TypeString","computed":true},"max_size_gb":{"type":"TypeInt","computed":true},"name":{"type":"TypeString","required":true},"read_replica_count":{"type":"TypeInt","computed":true},"read_scale":{"type":"TypeBool","computed":true},"server_id":{"type":"TypeString","required":true},"sku_name":{"type":"TypeString","computed":true},"storage_account_type":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"transparent_data_encryption_enabled":{"type":"TypeBool","computed":true},"transparent_data_encryption_key_automatic_rotation_enabled":{"type":"TypeBool","computed":true},"transparent_data_encryption_key_vault_key_id":{"type":"TypeString","computed":true},"zone_redundant":{"type":"TypeBool","computed":true}},"timeouts":{"read":5}},"azurerm_mssql_elasticpool":{"schema":{"enclave_type":{"type":"TypeString","computed":true},"license_type":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"max_size_bytes":{"type":"TypeInt","computed":true},"max_size_gb":{"type":"TypeFloat","computed":true},"name":{"type":"TypeString","required":true},"per_db_max_capacity":{"type":"TypeInt","computed":true},"per_db_min_capacity":{"type":"TypeInt","computed":true},"resource_group_name":{"type":"TypeString","required":true},"server_name":{"type":"TypeString","required":true},"sku":{"type":"TypeList","computed":true,"elem":{"schema":{"capacity":{"type":"TypeInt","computed":true},"family":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"tier":{"type":"TypeString","computed":true}}}},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"zone_redundant":{"type":"TypeBool","computed":true}},"timeouts":{"read":5}},"azurerm_mssql_managed_instance":{"schema":{"administrator_login":{"type":"TypeString","computed":true},"collation":{"type":"TypeString","computed":true},"customer_managed_key_id":{"type":"TypeString","computed":true},"dns_zone":{"type":"TypeString","computed":true},"dns_zone_partner_id":{"type":"TypeString","computed":true},"fqdn":{"type":"TypeString","computed":true},"identity":{"type":"TypeList","computed":true,"elem":{"schema":{"identity_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"license_type":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"minimum_tls_version":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"proxy_override":{"type":"TypeString","computed":true},"public_data_endpoint_enabled":{"type":"TypeBool","computed":true},"resource_group_name":{"type":"TypeString","required":true},"sku_name":{"type":"TypeString","computed":true},"storage_account_type":{"type":"TypeString","computed":true},"storage_size_in_gb":{"type":"TypeInt","computed":true},"subnet_id":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"timezone_id":{"type":"TypeString","computed":true},"vcores":{"type":"TypeInt","computed":true}},"timeouts":{"read":5}},"azurerm_mssql_server":{"schema":{"administrator_login":{"type":"TypeString","computed":true},"fully_qualified_domain_name":{"type":"TypeString","computed":true},"identity":{"type":"TypeList","computed":true,"elem":{"schema":{"identity_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"restorable_dropped_database_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"transparent_data_encryption_key_vault_key_id":{"type":"TypeString","computed":true},"version":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_mysql_flexible_server":{"schema":{"administrator_login":{"type":"TypeString","computed":true},"backup_retention_days":{"type":"TypeInt","computed":true},"delegated_subnet_id":{"type":"TypeString","computed":true},"fqdn":{"type":"TypeString","computed":true},"geo_redundant_backup_enabled":{"type":"TypeBool","computed":true},"high_availability":{"type":"TypeList","computed":true,"elem":{"schema":{"mode":{"type":"TypeString","computed":true},"standby_availability_zone":{"type":"TypeString","computed":true}}}},"location":{"type":"TypeString","computed":true},"maintenance_window":{"type":"TypeList","computed":true,"elem":{"schema":{"day_of_week":{"type":"TypeInt","computed":true},"start_hour":{"type":"TypeInt","computed":true},"start_minute":{"type":"TypeInt","computed":true}}}},"name":{"type":"TypeString","required":true},"private_dns_zone_id":{"type":"TypeString","computed":true},"public_network_access_enabled":{"type":"TypeBool","computed":true},"replica_capacity":{"type":"TypeInt","computed":true},"replication_role":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true},"restore_point_in_time":{"type":"TypeString","computed":true},"sku_name":{"type":"TypeString","computed":true},"storage":{"type":"TypeList","computed":true,"elem":{"schema":{"auto_grow_enabled":{"type":"TypeBool","computed":true},"io_scaling_enabled":{"type":"TypeBool","computed":true},"iops":{"type":"TypeInt","computed":true},"size_gb":{"type":"TypeInt","computed":true}}}},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"version":{"type":"TypeString","computed":true},"zone":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_nat_gateway":{"schema":{"idle_timeout_in_minutes":{"type":"TypeInt","computed":true},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"public_ip_address_ids":{"type":"TypeList","optional":true,"computed":true,"elem":{"type":"TypeString"}},"public_ip_prefix_ids":{"type":"TypeList","optional":true,"computed":true,"elem":{"type":"TypeString"}},"resource_group_name":{"type":"TypeString","required":true},"resource_guid":{"type":"TypeString","computed":true},"sku_name":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"zones":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_netapp_account":{"schema":{"identity":{"type":"TypeList","optional":true,"elem":{"schema":{"identity_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}}},"maxItems":1},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_netapp_account_encryption":{"schema":{"encryption_key":{"type":"TypeString","optional":true,"description":"The versionless encryption key url."},"netapp_account_id":{"type":"TypeString","required":true,"description":"The ID of the NetApp Account where encryption will be set."},"system_assigned_identity_principal_id":{"type":"TypeString","optional":true,"description":"The Principal ID of the System Assigned Identity to use for encryption."},"user_assigned_identity_id":{"type":"TypeString","optional":true,"description":"The resource ID of the User Assigned Identity to use for encryption."}},"timeouts":{"read":5}},"azurerm_netapp_pool":{"schema":{"account_name":{"type":"TypeString","required":true},"encryption_type":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"service_level":{"type":"TypeString","computed":true},"size_in_tb":{"type":"TypeInt","computed":true}},"timeouts":{"read":5}},"azurerm_netapp_snapshot":{"schema":{"account_name":{"type":"TypeString","required":true},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"pool_name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"volume_name":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_netapp_snapshot_policy":{"schema":{"account_name":{"type":"TypeString","required":true},"daily_schedule":{"type":"TypeList","computed":true,"elem":{"schema":{"hour":{"type":"TypeInt","computed":true},"minute":{"type":"TypeInt","computed":true},"snapshots_to_keep":{"type":"TypeInt","computed":true}}}},"enabled":{"type":"TypeBool","computed":true},"hourly_schedule":{"type":"TypeList","computed":true,"elem":{"schema":{"minute":{"type":"TypeInt","computed":true},"snapshots_to_keep":{"type":"TypeInt","computed":true}}}},"location":{"type":"TypeString","computed":true},"monthly_schedule":{"type":"TypeList","computed":true,"elem":{"schema":{"days_of_month":{"type":"TypeSet","computed":true,"elem":{"type":"TypeInt"}},"hour":{"type":"TypeInt","computed":true},"minute":{"type":"TypeInt","computed":true},"snapshots_to_keep":{"type":"TypeInt","computed":true}}}},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"weekly_schedule":{"type":"TypeList","computed":true,"elem":{"schema":{"days_of_week":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"hour":{"type":"TypeInt","computed":true},"minute":{"type":"TypeInt","computed":true},"snapshots_to_keep":{"type":"TypeInt","computed":true}}}}},"timeouts":{"read":5}},"azurerm_netapp_volume":{"schema":{"account_name":{"type":"TypeString","required":true},"data_protection_replication":{"type":"TypeList","computed":true,"elem":{"schema":{"endpoint_type":{"type":"TypeString","computed":true},"remote_volume_location":{"type":"TypeString","computed":true},"remote_volume_resource_id":{"type":"TypeString","computed":true},"replication_frequency":{"type":"TypeString","computed":true}}}},"encryption_key_source":{"type":"TypeString","computed":true},"key_vault_private_endpoint_id":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"mount_ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true},"network_features":{"type":"TypeString","computed":true},"pool_name":{"type":"TypeString","required":true},"protocols":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"resource_group_name":{"type":"TypeString","required":true},"security_style":{"type":"TypeString","optional":true},"service_level":{"type":"TypeString","computed":true},"smb_access_based_enumeration_enabled":{"type":"TypeBool","computed":true},"smb_non_browsable_enabled":{"type":"TypeBool","computed":true},"storage_quota_in_gb":{"type":"TypeInt","computed":true},"subnet_id":{"type":"TypeString","computed":true},"volume_path":{"type":"TypeString","computed":true},"zone":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_netapp_volume_group_sap_hana":{"schema":{"account_name":{"type":"TypeString","required":true},"application_identifier":{"type":"TypeString","computed":true},"group_description":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"volume":{"type":"TypeList","computed":true,"elem":{"schema":{"capacity_pool_id":{"type":"TypeString","computed":true},"data_protection_replication":{"type":"TypeList","computed":true,"elem":{"schema":{"endpoint_type":{"type":"TypeString","computed":true},"remote_volume_location":{"type":"TypeString","computed":true},"remote_volume_resource_id":{"type":"TypeString","computed":true},"replication_frequency":{"type":"TypeString","computed":true}}}},"data_protection_snapshot_policy":{"type":"TypeList","computed":true,"elem":{"schema":{"snapshot_policy_id":{"type":"TypeString","computed":true}}}},"export_policy_rule":{"type":"TypeList","computed":true,"elem":{"schema":{"allowed_clients":{"type":"TypeString","computed":true},"nfsv3_enabled":{"type":"TypeBool","computed":true},"nfsv41_enabled":{"type":"TypeBool","computed":true},"root_access_enabled":{"type":"TypeBool","computed":true},"rule_index":{"type":"TypeInt","computed":true},"unix_read_only":{"type":"TypeBool","computed":true},"unix_read_write":{"type":"TypeBool","computed":true}}}},"id":{"type":"TypeString","computed":true},"mount_ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","computed":true},"protocols":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"proximity_placement_group_id":{"type":"TypeString","computed":true},"security_style":{"type":"TypeString","computed":true},"service_level":{"type":"TypeString","computed":true},"snapshot_directory_visible":{"type":"TypeBool","computed":true},"storage_quota_in_gb":{"type":"TypeInt","computed":true},"subnet_id":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"throughput_in_mibps":{"type":"TypeFloat","required":true},"volume_path":{"type":"TypeString","computed":true},"volume_spec_name":{"type":"TypeString","computed":true}}}}},"timeouts":{"read":5}},"azurerm_netapp_volume_quota_rule":{"schema":{"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"quota_size_in_kib":{"type":"TypeInt","computed":true},"quota_target":{"type":"TypeString","computed":true},"quota_type":{"type":"TypeString","computed":true},"volume_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"read":5}},"azurerm_network_ddos_protection_plan":{"schema":{"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"virtual_network_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_network_interface":{"schema":{"accelerated_networking_enabled":{"type":"TypeBool","computed":true},"applied_dns_servers":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"dns_servers":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"internal_dns_name_label":{"type":"TypeString","computed":true},"ip_configuration":{"type":"TypeList","computed":true,"elem":{"schema":{"application_gateway_backend_address_pools_ids":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"application_security_group_ids":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"gateway_load_balancer_frontend_ip_configuration_id":{"type":"TypeString","computed":true},"load_balancer_backend_address_pools_ids":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"load_balancer_inbound_nat_rules_ids":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","computed":true},"primary":{"type":"TypeBool","computed":true},"private_ip_address":{"type":"TypeString","computed":true},"private_ip_address_allocation":{"type":"TypeString","computed":true},"private_ip_address_version":{"type":"TypeString","computed":true},"public_ip_address_id":{"type":"TypeString","computed":true},"subnet_id":{"type":"TypeString","computed":true}}}},"ip_forwarding_enabled":{"type":"TypeBool","computed":true},"location":{"type":"TypeString","computed":true},"mac_address":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"network_security_group_id":{"type":"TypeString","computed":true},"private_ip_address":{"type":"TypeString","computed":true},"private_ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"virtual_machine_id":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_network_manager":{"schema":{"cross_tenant_scopes":{"type":"TypeList","computed":true,"elem":{"schema":{"management_groups":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"subscriptions":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"tenant_id":{"type":"TypeString","computed":true}}}},"description":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"scope":{"type":"TypeList","computed":true,"elem":{"schema":{"management_group_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"subscription_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}}},"scope_accesses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_network_manager_connectivity_configuration":{"schema":{"applies_to_group":{"type":"TypeList","computed":true,"elem":{"schema":{"global_mesh_enabled":{"type":"TypeBool","computed":true},"group_connectivity":{"type":"TypeString","computed":true},"network_group_id":{"type":"TypeString","computed":true},"use_hub_gateway":{"type":"TypeBool","computed":true}}}},"connectivity_topology":{"type":"TypeString","computed":true},"delete_existing_peering_enabled":{"type":"TypeBool","computed":true},"description":{"type":"TypeString","computed":true},"global_mesh_enabled":{"type":"TypeBool","computed":true},"hub":{"type":"TypeList","computed":true,"elem":{"schema":{"resource_id":{"type":"TypeString","computed":true},"resource_type":{"type":"TypeString","computed":true}}}},"name":{"type":"TypeString","required":true},"network_manager_id":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_network_manager_network_group":{"schema":{"description":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"network_manager_id":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_network_security_group":{"schema":{"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"security_rule":{"type":"TypeList","computed":true,"elem":{"schema":{"access":{"type":"TypeString","computed":true},"description":{"type":"TypeString","computed":true},"destination_address_prefix":{"type":"TypeString","computed":true},"destination_address_prefixes":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"destination_application_security_group_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"destination_port_range":{"type":"TypeString","computed":true},"destination_port_ranges":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"direction":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"priority":{"type":"TypeInt","computed":true},"protocol":{"type":"TypeString","computed":true},"source_address_prefix":{"type":"TypeString","computed":true},"source_address_prefixes":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"source_application_security_group_ids":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"source_port_range":{"type":"TypeString","computed":true},"source_port_ranges":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}}}}},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_network_service_tags":{"schema":{"address_prefixes":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"ipv4_cidrs":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"ipv6_cidrs":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"location":{"type":"TypeString","required":true,"forceNew":true},"location_filter":{"type":"TypeString","optional":true,"forceNew":true},"name":{"type":"TypeString","computed":true},"service":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_network_watcher":{"schema":{"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_nginx_certificate":{"schema":{"certificate_virtual_path":{"type":"TypeString","computed":true},"error_code":{"type":"TypeString","computed":true},"error_message":{"type":"TypeString","computed":true},"key_vault_secret_creation_date":{"type":"TypeString","computed":true},"key_vault_secret_id":{"type":"TypeString","computed":true},"key_vault_secret_version":{"type":"TypeString","computed":true},"key_virtual_path":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"nginx_deployment_id":{"type":"TypeString","required":true},"sha1_thumbprint":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_nginx_configuration":{"schema":{"config_file":{"type":"TypeSet","computed":true,"elem":{"schema":{"content":{"type":"TypeString","computed":true},"virtual_path":{"type":"TypeString","computed":true}}}},"nginx_deployment_id":{"type":"TypeString","required":true},"package_data":{"type":"TypeString","computed":true},"protected_file":{"type":"TypeSet","computed":true,"elem":{"schema":{"content":{"type":"TypeString","computed":true},"virtual_path":{"type":"TypeString","computed":true}}}},"root_file":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_nginx_deployment":{"schema":{"auto_scale_profile":{"type":"TypeList","computed":true,"elem":{"schema":{"max_capacity":{"type":"TypeInt","computed":true},"min_capacity":{"type":"TypeInt","computed":true},"name":{"type":"TypeString","computed":true}}}},"automatic_upgrade_channel":{"type":"TypeString","computed":true},"capacity":{"type":"TypeInt","computed":true},"diagnose_support_enabled":{"type":"TypeBool","computed":true},"email":{"type":"TypeString","computed":true},"frontend_private":{"type":"TypeList","computed":true,"elem":{"schema":{"allocation_method":{"type":"TypeString","computed":true},"ip_address":{"type":"TypeString","computed":true},"subnet_id":{"type":"TypeString","computed":true}}}},"frontend_public":{"type":"TypeList","computed":true,"elem":{"schema":{"ip_address":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}}},"identity":{"type":"TypeList","computed":true,"elem":{"schema":{"identity_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"ip_address":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"logging_storage_account":{"type":"TypeList","computed":true,"elem":{"schema":{"container_name":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true}}}},"managed_resource_group":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"network_interface":{"type":"TypeList","computed":true,"elem":{"schema":{"subnet_id":{"type":"TypeString","computed":true}}}},"nginx_version":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true},"sku":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_notification_hub":{"schema":{"apns_credential":{"type":"TypeList","computed":true,"elem":{"schema":{"application_mode":{"type":"TypeString","computed":true},"bundle_id":{"type":"TypeString","computed":true},"key_id":{"type":"TypeString","computed":true},"team_id":{"type":"TypeString","computed":true},"token":{"type":"TypeString","computed":true}}}},"gcm_credential":{"type":"TypeList","computed":true,"elem":{"schema":{"api_key":{"type":"TypeString","computed":true}}}},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"namespace_name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_notification_hub_namespace":{"schema":{"enabled":{"type":"TypeBool","computed":true},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"namespace_type":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true},"servicebus_endpoint":{"type":"TypeString","computed":true},"sku":{"type":"TypeList","computed":true,"elem":{"schema":{"name":{"type":"TypeString","computed":true}}}},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_oracle_adbs_character_sets":{"schema":{"character_sets":{"type":"TypeList","computed":true,"elem":{"schema":{"character_set":{"type":"TypeString","computed":true}}}},"location":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"read":5}},"azurerm_oracle_adbs_national_character_sets":{"schema":{"character_sets":{"type":"TypeList","computed":true,"elem":{"schema":{"character_set":{"type":"TypeString","computed":true}}}},"location":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"read":5}},"azurerm_oracle_autonomous_database":{"schema":{"actual_used_data_storage_size_in_tbs":{"type":"TypeFloat","computed":true},"allocated_storage_size_in_tbs":{"type":"TypeFloat","computed":true},"allowed_ips":{"type":"TypeList","computed":true,"elem":{"type":"TypeInt"}},"auto_scaling_enabled":{"type":"TypeBool","computed":true},"auto_scaling_for_storage_enabled":{"type":"TypeBool","computed":true},"autonomous_database_id":{"type":"TypeString","computed":true},"available_upgrade_versions":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"backup_retention_period_in_days":{"type":"TypeInt","computed":true},"character_set":{"type":"TypeString","computed":true},"compute_count":{"type":"TypeFloat","computed":true},"cpu_core_count":{"type":"TypeInt","computed":true},"data_storage_size_in_gbs":{"type":"TypeInt","computed":true},"data_storage_size_in_tbs":{"type":"TypeInt","computed":true},"db_node_storage_size_in_gbs":{"type":"TypeInt","computed":true},"db_version":{"type":"TypeString","computed":true},"display_name":{"type":"TypeString","computed":true},"failed_data_recovery_in_seconds":{"type":"TypeInt","computed":true},"in_memory_area_in_gbs":{"type":"TypeInt","computed":true},"lifecycle_details":{"type":"TypeString","computed":true},"local_adg_auto_failover_max_data_loss_limit":{"type":"TypeInt","computed":true},"local_data_guard_enabled":{"type":"TypeBool","computed":true},"location":{"type":"TypeString","computed":true},"memory_per_oracle_compute_unit_in_gbs":{"type":"TypeInt","computed":true},"mtls_connection_required":{"type":"TypeBool","computed":true},"name":{"type":"TypeString","required":true},"national_character_set":{"type":"TypeString","computed":true},"next_long_term_backup_time_stamp":{"type":"TypeString","computed":true},"oci_url":{"type":"TypeString","computed":true},"ocid":{"type":"TypeString","computed":true},"peer_db_id":{"type":"TypeString","computed":true},"peer_db_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"preview":{"type":"TypeBool","computed":true},"preview_version_with_service_terms_accepted":{"type":"TypeBool","computed":true},"private_endpoint":{"type":"TypeString","computed":true},"private_endpoint_ip":{"type":"TypeString","computed":true},"private_endpoint_label":{"type":"TypeString","computed":true},"provisionable_cpus":{"type":"TypeList","computed":true,"elem":{"type":"TypeInt"}},"remote_data_guard_enabled":{"type":"TypeBool","computed":true},"resource_group_name":{"type":"TypeString","required":true},"service_console_url":{"type":"TypeString","computed":true},"sql_web_developer_url":{"type":"TypeString","computed":true},"subnet_id":{"type":"TypeString","computed":true},"supported_regions_to_clone_to":{"type":"TypeList","computed":true,"elem":{"type":"TypeInt"}},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"time_created":{"type":"TypeString","computed":true},"time_data_guard_role_changed":{"type":"TypeString","computed":true},"time_deletion_of_free_autonomous_database":{"type":"TypeString","computed":true},"time_local_data_guard_enabled_on":{"type":"TypeString","computed":true},"time_maintenance_begin":{"type":"TypeString","computed":true},"time_maintenance_end":{"type":"TypeString","computed":true},"time_of_last_failover":{"type":"TypeString","computed":true},"time_of_last_refresh":{"type":"TypeString","computed":true},"time_of_last_refresh_point":{"type":"TypeString","computed":true},"time_of_last_switchover":{"type":"TypeString","computed":true},"time_reclamation_of_free_autonomous_database":{"type":"TypeString","computed":true},"used_data_storage_size_in_gbs":{"type":"TypeInt","computed":true},"used_data_storage_size_in_tbs":{"type":"TypeInt","computed":true},"virtual_network_id":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_oracle_cloud_vm_cluster":{"schema":{"backup_subnet_cidr":{"type":"TypeString","computed":true},"cloud_exadata_infrastructure_id":{"type":"TypeString","computed":true},"cluster_name":{"type":"TypeString","computed":true},"compartment_id":{"type":"TypeString","computed":true},"compute_nodes":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"cpu_core_count":{"type":"TypeInt","computed":true},"data_collection_options":{"type":"TypeList","computed":true,"elem":{"schema":{"diagnostics_events_enabled":{"type":"TypeBool","computed":true},"health_monitoring_enabled":{"type":"TypeBool","computed":true},"incident_logs_enabled":{"type":"TypeBool","computed":true}}}},"data_storage_percentage":{"type":"TypeInt","computed":true},"data_storage_size_in_tbs":{"type":"TypeFloat","computed":true},"db_node_storage_size_in_gbs":{"type":"TypeInt","computed":true},"db_servers":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"disk_redundancy":{"type":"TypeString","computed":true},"display_name":{"type":"TypeString","computed":true},"domain":{"type":"TypeString","computed":true},"gi_version":{"type":"TypeString","computed":true},"hostname":{"type":"TypeString","computed":true},"hostname_actual":{"type":"TypeString","computed":true},"iorm_config_cache":{"type":"TypeList","computed":true,"elem":{"schema":{"db_plans":{"type":"TypeList","computed":true,"elem":{"schema":{"db_name":{"type":"TypeString","computed":true},"flash_cache_limit":{"type":"TypeString","computed":true},"share":{"type":"TypeInt","computed":true}}}},"lifecycle_details":{"type":"TypeString","computed":true},"lifecycle_state":{"type":"TypeString","computed":true},"objective":{"type":"TypeString","computed":true}}}},"last_update_history_entry_id":{"type":"TypeString","computed":true},"license_model":{"type":"TypeString","computed":true},"lifecycle_details":{"type":"TypeString","computed":true},"lifecycle_state":{"type":"TypeString","computed":true},"listener_port":{"type":"TypeInt","computed":true},"local_backup_enabled":{"type":"TypeBool","computed":true},"location":{"type":"TypeString","computed":true},"memory_size_in_gbs":{"type":"TypeInt","computed":true},"name":{"type":"TypeString","required":true},"node_count":{"type":"TypeInt","computed":true},"nsg_url":{"type":"TypeString","computed":true},"oci_url":{"type":"TypeString","computed":true},"ocid":{"type":"TypeString","computed":true},"ocpu_count":{"type":"TypeFloat","computed":true},"resource_group_name":{"type":"TypeString","required":true},"scan_dns_name":{"type":"TypeString","computed":true},"scan_dns_record_id":{"type":"TypeString","computed":true},"scan_ip_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"scan_listener_port_tcp":{"type":"TypeInt","computed":true},"scan_listener_port_tcp_ssl":{"type":"TypeInt","computed":true},"shape":{"type":"TypeString","computed":true},"sparse_diskgroup_enabled":{"type":"TypeBool","computed":true},"ssh_public_keys":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"storage_size_in_gbs":{"type":"TypeInt","computed":true},"subnet_id":{"type":"TypeString","computed":true},"subnet_ocid":{"type":"TypeString","computed":true},"system_version":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"time_created":{"type":"TypeString","computed":true},"time_zone":{"type":"TypeString","computed":true},"vip_ods":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"virtual_network_id":{"type":"TypeString","computed":true},"zone_id":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_oracle_db_nodes":{"schema":{"cloud_vm_cluster_id":{"type":"TypeString","required":true},"db_nodes":{"type":"TypeList","computed":true,"elem":{"schema":{"additional_details":{"type":"TypeString","computed":true},"backup_ip_id":{"type":"TypeString","computed":true},"backup_vnic_2_id":{"type":"TypeString","computed":true},"backup_vnic_id":{"type":"TypeString","computed":true},"cpu_core_count":{"type":"TypeInt","computed":true},"db_node_storage_size_in_gbs":{"type":"TypeInt","computed":true},"db_server_id":{"type":"TypeString","computed":true},"db_system_id":{"type":"TypeString","computed":true},"fault_domain":{"type":"TypeString","computed":true},"host_ip_id":{"type":"TypeString","computed":true},"hostname":{"type":"TypeString","computed":true},"lifecycle_details":{"type":"TypeString","computed":true},"lifecycle_state":{"type":"TypeString","computed":true},"maintenance_type":{"type":"TypeString","computed":true},"memory_size_in_gbs":{"type":"TypeInt","computed":true},"ocid":{"type":"TypeString","computed":true},"software_storage_size_in_gb":{"type":"TypeInt","computed":true},"time_created":{"type":"TypeString","computed":true},"time_maintenance_window_end":{"type":"TypeString","computed":true},"time_maintenance_window_start":{"type":"TypeString","computed":true},"vnic_2_id":{"type":"TypeString","computed":true},"vnic_id":{"type":"TypeString","computed":true}}}}},"timeouts":{"read":5}},"azurerm_oracle_db_servers":{"schema":{"cloud_exadata_infrastructure_name":{"type":"TypeString","required":true},"db_servers":{"type":"TypeList","computed":true,"elem":{"schema":{"autonomous_virtual_machine_ds":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"autonomous_vm_cluster_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"compartment_id":{"type":"TypeString","computed":true},"cpu_core_count":{"type":"TypeInt","computed":true},"db_node_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"db_node_storage_size_in_gbs":{"type":"TypeInt","computed":true},"display_name":{"type":"TypeString","computed":true},"exadata_infrastructure_id":{"type":"TypeString","computed":true},"lifecycle_details":{"type":"TypeString","computed":true},"lifecycle_state":{"type":"TypeString","computed":true},"max_cpu_count":{"type":"TypeInt","computed":true},"max_db_node_storage_in_gbs":{"type":"TypeInt","computed":true},"max_memory_in_gbs":{"type":"TypeInt","computed":true},"memory_size_in_gbs":{"type":"TypeInt","computed":true},"ocid":{"type":"TypeString","computed":true},"shape":{"type":"TypeString","computed":true},"time_created":{"type":"TypeString","computed":true},"vm_cluster_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}}},"resource_group_name":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_oracle_db_system_shapes":{"schema":{"db_system_shapes":{"type":"TypeList","computed":true,"elem":{"schema":{"available_core_count":{"type":"TypeInt","computed":true},"available_core_count_per_node":{"type":"TypeInt","computed":true},"available_data_storage_in_tbs":{"type":"TypeInt","computed":true},"available_data_storage_per_server_in_tbs":{"type":"TypeInt","computed":true},"available_db_node_per_node_in_gbs":{"type":"TypeInt","computed":true},"available_db_node_storage_in_gbs":{"type":"TypeInt","computed":true},"available_memory_in_gbs":{"type":"TypeInt","computed":true},"available_memory_per_node_in_gbs":{"type":"TypeInt","computed":true},"core_count_increment":{"type":"TypeInt","computed":true},"maximum_node_count":{"type":"TypeInt","computed":true},"maximum_storage_count":{"type":"TypeInt","computed":true},"minimum_core_count":{"type":"TypeInt","computed":true},"minimum_core_count_per_node":{"type":"TypeInt","computed":true},"minimum_data_storage_in_tbs":{"type":"TypeInt","computed":true},"minimum_db_node_storage_per_node_in_gbs":{"type":"TypeInt","computed":true},"minimum_memory_per_node_in_gbs":{"type":"TypeInt","computed":true},"minimum_node_count":{"type":"TypeInt","computed":true},"minimum_storage_count":{"type":"TypeInt","computed":true},"runtime_minimum_core_count":{"type":"TypeInt","computed":true},"shape_family":{"type":"TypeString","computed":true}}}},"location":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"read":5}},"azurerm_oracle_exadata_infrastructure":{"schema":{"activated_storage_count":{"type":"TypeInt","computed":true},"additional_storage_count":{"type":"TypeInt","computed":true},"available_storage_size_in_gbs":{"type":"TypeInt","computed":true},"compute_count":{"type":"TypeInt","computed":true},"cpu_count":{"type":"TypeInt","computed":true},"customer_contacts":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"data_storage_size_in_tbs":{"type":"TypeFloat","computed":true},"db_node_storage_size_in_gbs":{"type":"TypeInt","computed":true},"db_server_version":{"type":"TypeString","computed":true},"display_name":{"type":"TypeString","computed":true},"estimated_patching_time":{"type":"TypeList","computed":true,"elem":{"schema":{"estimated_db_server_patching_time":{"type":"TypeInt","computed":true},"estimated_network_switches_patching_time":{"type":"TypeInt","computed":true},"estimated_storage_server_patching_time":{"type":"TypeInt","computed":true},"total_estimated_patching_time":{"type":"TypeInt","computed":true}}}},"last_maintenance_run_id":{"type":"TypeString","computed":true},"lifecycle_details":{"type":"TypeString","computed":true},"lifecycle_state":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"maintenance_window":{"type":"TypeList","computed":true,"elem":{"schema":{"custom_action_timeout_enabled":{"type":"TypeBool","computed":true},"custom_action_timeout_in_mins":{"type":"TypeInt","computed":true},"days_of_week":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"hours_of_day":{"type":"TypeList","computed":true,"elem":{"type":"TypeInt"}},"lead_time_in_weeks":{"type":"TypeInt","computed":true},"monthly_patching_enabled":{"type":"TypeBool","computed":true},"months":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"patching_mode":{"type":"TypeString","computed":true},"preference":{"type":"TypeString","computed":true},"weeks_of_month":{"type":"TypeList","computed":true,"elem":{"type":"TypeInt"}}}}},"max_cpu_count":{"type":"TypeInt","computed":true},"max_data_storage_in_tbs":{"type":"TypeFloat","computed":true},"max_db_node_storage_size_in_gbs":{"type":"TypeInt","computed":true},"max_memory_in_gbs":{"type":"TypeInt","computed":true},"memory_size_in_gbs":{"type":"TypeInt","computed":true},"monthly_db_server_version":{"type":"TypeString","computed":true},"monthly_storage_server_version":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"next_maintenance_run_id":{"type":"TypeString","computed":true},"oci_url":{"type":"TypeString","computed":true},"ocid":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true},"shape":{"type":"TypeString","computed":true},"storage_count":{"type":"TypeInt","computed":true},"storage_server_version":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"time_created":{"type":"TypeString","computed":true},"total_storage_size_in_gbs":{"type":"TypeInt","computed":true},"zones":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_oracle_gi_versions":{"schema":{"location":{"type":"TypeString","required":true,"forceNew":true},"versions":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_orchestrated_virtual_machine_scale_set":{"schema":{"identity":{"type":"TypeList","computed":true,"elem":{"schema":{"identity_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"network_interface":{"type":"TypeList","computed":true,"elem":{"schema":{"accelerated_networking_enabled":{"type":"TypeBool","computed":true},"dns_servers":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"ip_configuration":{"type":"TypeList","computed":true,"elem":{"schema":{"application_gateway_backend_address_pool_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"application_security_group_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"load_balancer_backend_address_pool_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"load_balancer_inbound_nat_rules_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","computed":true},"primary":{"type":"TypeBool","computed":true},"public_ip_address":{"type":"TypeList","computed":true,"elem":{"schema":{"domain_name_label":{"type":"TypeString","computed":true},"idle_timeout_in_minutes":{"type":"TypeInt","computed":true},"ip_tag":{"type":"TypeList","computed":true,"elem":{"schema":{"tag":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"name":{"type":"TypeString","computed":true},"public_ip_prefix_id":{"type":"TypeString","computed":true},"version":{"type":"TypeString","computed":true}}}},"subnet_id":{"type":"TypeString","computed":true},"version":{"type":"TypeString","computed":true}}}},"ip_forwarding_enabled":{"type":"TypeBool","computed":true},"name":{"type":"TypeString","computed":true},"network_security_group_id":{"type":"TypeString","computed":true},"primary":{"type":"TypeBool","computed":true}}}},"resource_group_name":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_palo_alto_local_rulestack":{"schema":{"anti_spyware_profile":{"type":"TypeString","computed":true},"anti_virus_profile":{"type":"TypeString","computed":true},"description":{"type":"TypeString","computed":true},"dns_subscription":{"type":"TypeString","computed":true},"file_blocking_profile":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"outbound_trust_certificate":{"type":"TypeString","computed":true},"outbound_untrust_certificate":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true},"url_filtering_profile":{"type":"TypeString","computed":true},"vulnerability_profile":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_platform_image":{"schema":{"location":{"type":"TypeString","required":true,"forceNew":true},"offer":{"type":"TypeString","required":true},"publisher":{"type":"TypeString","required":true},"sku":{"type":"TypeString","required":true},"version":{"type":"TypeString","optional":true,"computed":true}},"timeouts":{"read":5}},"azurerm_policy_assignment":{"schema":{"description":{"type":"TypeString","computed":true},"display_name":{"type":"TypeString","computed":true},"enforce":{"type":"TypeBool","computed":true},"identity":{"type":"TypeList","computed":true,"elem":{"schema":{"identity_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"location":{"type":"TypeString","computed":true},"metadata":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true,"forceNew":true},"non_compliance_message":{"type":"TypeList","computed":true,"elem":{"schema":{"content":{"type":"TypeString","computed":true},"policy_definition_reference_id":{"type":"TypeString","computed":true}}}},"not_scopes":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"parameters":{"type":"TypeString","computed":true},"policy_definition_id":{"type":"TypeString","computed":true},"scope_id":{"type":"TypeString","required":true,"forceNew":true}},"timeouts":{"read":5}},"azurerm_policy_definition":{"schema":{"description":{"type":"TypeString","computed":true},"display_name":{"type":"TypeString","optional":true,"computed":true},"management_group_name":{"type":"TypeString","optional":true},"metadata":{"type":"TypeString","computed":true},"mode":{"type":"TypeString","computed":true},"name":{"type":"TypeString","optional":true,"computed":true},"parameters":{"type":"TypeString","computed":true},"policy_rule":{"type":"TypeString","computed":true},"policy_type":{"type":"TypeString","computed":true},"role_definition_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"type":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_policy_definition_built_in":{"schema":{"description":{"type":"TypeString","computed":true},"display_name":{"type":"TypeString","optional":true,"computed":true},"management_group_name":{"type":"TypeString","optional":true},"metadata":{"type":"TypeString","computed":true},"mode":{"type":"TypeString","computed":true},"name":{"type":"TypeString","optional":true,"computed":true},"parameters":{"type":"TypeString","computed":true},"policy_rule":{"type":"TypeString","computed":true},"policy_type":{"type":"TypeString","computed":true},"role_definition_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"type":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_policy_set_definition":{"schema":{"description":{"type":"TypeString","computed":true},"display_name":{"type":"TypeString","optional":true,"computed":true},"management_group_name":{"type":"TypeString","optional":true},"metadata":{"type":"TypeString","computed":true},"name":{"type":"TypeString","optional":true,"computed":true},"parameters":{"type":"TypeString","computed":true},"policy_definition_group":{"type":"TypeList","computed":true,"elem":{"schema":{"additional_metadata_resource_id":{"type":"TypeString","computed":true},"category":{"type":"TypeString","computed":true},"description":{"type":"TypeString","computed":true},"display_name":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true}}}},"policy_definition_reference":{"type":"TypeList","computed":true,"elem":{"schema":{"parameter_values":{"type":"TypeString","computed":true},"parameters":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"policy_definition_id":{"type":"TypeString","computed":true},"policy_group_names":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"reference_id":{"type":"TypeString","computed":true}}}},"policy_definitions":{"type":"TypeString","computed":true},"policy_type":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_policy_virtual_machine_configuration_assignment":{"schema":{"assignment_hash":{"type":"TypeString","computed":true},"compliance_status":{"type":"TypeString","computed":true},"content_hash":{"type":"TypeString","computed":true},"content_uri":{"type":"TypeString","computed":true},"last_compliance_status_checked":{"type":"TypeString","computed":true},"latest_report_id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"virtual_machine_name":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_portal_dashboard":{"schema":{"dashboard_properties":{"type":"TypeString","optional":true,"computed":true},"display_name":{"type":"TypeString","optional":true},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","optional":true},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_postgresql_flexible_server":{"schema":{"administrator_login":{"type":"TypeString","computed":true},"auto_grow_enabled":{"type":"TypeBool","computed":true},"backup_retention_days":{"type":"TypeInt","computed":true},"delegated_subnet_id":{"type":"TypeString","computed":true},"fqdn":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"public_network_access_enabled":{"type":"TypeBool","computed":true},"resource_group_name":{"type":"TypeString","required":true},"sku_name":{"type":"TypeString","computed":true},"storage_mb":{"type":"TypeInt","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"version":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_postgresql_server":{"schema":{"administrator_login":{"type":"TypeString","computed":true},"fqdn":{"type":"TypeString","computed":true},"identity":{"type":"TypeList","computed":true,"elem":{"schema":{"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"sku_name":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"version":{"type":"TypeString","computed":true}},"timeouts":{"read":10}},"azurerm_private_dns_a_record":{"schema":{"fqdn":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"records":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"ttl":{"type":"TypeInt","computed":true},"zone_name":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_private_dns_aaaa_record":{"schema":{"fqdn":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"records":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"ttl":{"type":"TypeInt","computed":true},"zone_name":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_private_dns_cname_record":{"schema":{"fqdn":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"record":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"target_resource_id":{"type":"TypeString","computed":true},"ttl":{"type":"TypeInt","computed":true},"zone_name":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_private_dns_mx_record":{"schema":{"fqdn":{"type":"TypeString","computed":true},"name":{"type":"TypeString","optional":true},"record":{"type":"TypeSet","computed":true,"elem":{"schema":{"exchange":{"type":"TypeString","computed":true},"preference":{"type":"TypeInt","computed":true}}}},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"ttl":{"type":"TypeInt","computed":true},"zone_name":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_private_dns_ptr_record":{"schema":{"fqdn":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"records":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"ttl":{"type":"TypeInt","computed":true},"zone_name":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_private_dns_resolver":{"schema":{"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"virtual_network_id":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_private_dns_resolver_dns_forwarding_ruleset":{"schema":{"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"private_dns_resolver_outbound_endpoint_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_private_dns_resolver_forwarding_rule":{"schema":{"dns_forwarding_ruleset_id":{"type":"TypeString","required":true},"domain_name":{"type":"TypeString","computed":true},"enabled":{"type":"TypeBool","computed":true},"metadata":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true},"target_dns_servers":{"type":"TypeList","computed":true,"elem":{"schema":{"ip_address":{"type":"TypeString","computed":true},"port":{"type":"TypeInt","computed":true}}}}},"timeouts":{"read":5}},"azurerm_private_dns_resolver_inbound_endpoint":{"schema":{"ip_configurations":{"type":"TypeList","computed":true,"elem":{"schema":{"private_ip_address":{"type":"TypeString","computed":true},"private_ip_allocation_method":{"type":"TypeString","computed":true},"subnet_id":{"type":"TypeString","computed":true}}}},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"private_dns_resolver_id":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_private_dns_resolver_outbound_endpoint":{"schema":{"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"private_dns_resolver_id":{"type":"TypeString","required":true},"subnet_id":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_private_dns_resolver_virtual_network_link":{"schema":{"dns_forwarding_ruleset_id":{"type":"TypeString","required":true},"metadata":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true},"virtual_network_id":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_private_dns_soa_record":{"schema":{"email":{"type":"TypeString","computed":true},"expire_time":{"type":"TypeInt","computed":true},"fqdn":{"type":"TypeString","computed":true},"host_name":{"type":"TypeString","computed":true},"minimum_ttl":{"type":"TypeInt","computed":true},"name":{"type":"TypeString","optional":true,"default":"@"},"refresh_time":{"type":"TypeInt","computed":true},"resource_group_name":{"type":"TypeString","required":true},"retry_time":{"type":"TypeInt","computed":true},"serial_number":{"type":"TypeInt","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"ttl":{"type":"TypeInt","computed":true},"zone_name":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_private_dns_srv_record":{"schema":{"fqdn":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"record":{"type":"TypeSet","computed":true,"elem":{"schema":{"port":{"type":"TypeInt","computed":true},"priority":{"type":"TypeInt","computed":true},"target":{"type":"TypeString","computed":true},"weight":{"type":"TypeInt","computed":true}}}},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"ttl":{"type":"TypeInt","computed":true},"zone_name":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_private_dns_txt_record":{"schema":{"fqdn":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"record":{"type":"TypeSet","computed":true,"elem":{"schema":{"value":{"type":"TypeString","computed":true}}}},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"ttl":{"type":"TypeInt","computed":true},"zone_name":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_private_dns_zone":{"schema":{"max_number_of_record_sets":{"type":"TypeInt","computed":true},"max_number_of_virtual_network_links":{"type":"TypeInt","computed":true},"max_number_of_virtual_network_links_with_registration":{"type":"TypeInt","computed":true},"name":{"type":"TypeString","required":true},"number_of_record_sets":{"type":"TypeInt","computed":true},"resource_group_name":{"type":"TypeString","optional":true,"computed":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_private_dns_zone_virtual_network_link":{"schema":{"name":{"type":"TypeString","required":true},"private_dns_zone_name":{"type":"TypeString","required":true},"registration_enabled":{"type":"TypeBool","computed":true},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"virtual_network_id":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_private_endpoint_connection":{"schema":{"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"network_interface":{"type":"TypeList","computed":true,"elem":{"schema":{"id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true}}}},"private_service_connection":{"type":"TypeList","computed":true,"elem":{"schema":{"name":{"type":"TypeString","computed":true},"private_ip_address":{"type":"TypeString","computed":true},"request_response":{"type":"TypeString","computed":true},"status":{"type":"TypeString","computed":true}}}},"resource_group_name":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_private_link_service":{"schema":{"alias":{"type":"TypeString","computed":true},"auto_approval_subscription_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"enable_proxy_protocol":{"type":"TypeBool","computed":true},"load_balancer_frontend_ip_configuration_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"nat_ip_configuration":{"type":"TypeList","computed":true,"elem":{"schema":{"name":{"type":"TypeString","computed":true},"primary":{"type":"TypeBool","computed":true},"private_ip_address":{"type":"TypeString","computed":true},"private_ip_address_version":{"type":"TypeString","computed":true},"subnet_id":{"type":"TypeString","computed":true}}}},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"visibility_subscription_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_private_link_service_endpoint_connections":{"schema":{"location":{"type":"TypeString","computed":true},"private_endpoint_connections":{"type":"TypeList","computed":true,"elem":{"schema":{"action_required":{"type":"TypeString","computed":true},"connection_id":{"type":"TypeString","computed":true},"connection_name":{"type":"TypeString","computed":true},"description":{"type":"TypeString","computed":true},"private_endpoint_id":{"type":"TypeString","computed":true},"private_endpoint_name":{"type":"TypeString","computed":true},"status":{"type":"TypeString","computed":true}}}},"resource_group_name":{"type":"TypeString","required":true},"service_id":{"type":"TypeString","required":true},"service_name":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_proximity_placement_group":{"schema":{"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_public_ip":{"schema":{"allocation_method":{"type":"TypeString","computed":true},"ddos_protection_mode":{"type":"TypeString","computed":true},"ddos_protection_plan_id":{"type":"TypeString","computed":true},"domain_name_label":{"type":"TypeString","computed":true},"fqdn":{"type":"TypeString","computed":true},"idle_timeout_in_minutes":{"type":"TypeInt","computed":true},"ip_address":{"type":"TypeString","computed":true},"ip_tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"ip_version":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"reverse_fqdn":{"type":"TypeString","computed":true},"sku":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"zones":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_public_ip_prefix":{"schema":{"ip_prefix":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"prefix_length":{"type":"TypeInt","computed":true},"resource_group_name":{"type":"TypeString","required":true},"sku":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"zones":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_public_ips":{"schema":{"allocation_type":{"type":"TypeString","optional":true},"attachment_status":{"type":"TypeString","optional":true},"name_prefix":{"type":"TypeString","optional":true},"public_ips":{"type":"TypeList","computed":true,"elem":{"schema":{"domain_name_label":{"type":"TypeString","computed":true},"fqdn":{"type":"TypeString","computed":true},"id":{"type":"TypeString","computed":true},"ip_address":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true}}}},"resource_group_name":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_public_maintenance_configurations":{"schema":{"configs":{"type":"TypeList","computed":true,"elem":{"schema":{"description":{"type":"TypeString","computed":true},"duration":{"type":"TypeString","computed":true},"id":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"maintenance_scope":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"recur_every":{"type":"TypeString","computed":true},"time_zone":{"type":"TypeString","computed":true}}}},"location":{"type":"TypeString","optional":true},"recur_every":{"type":"TypeString","optional":true},"scope":{"type":"TypeString","optional":true}},"timeouts":{"read":5}},"azurerm_recovery_services_vault":{"schema":{"identity":{"type":"TypeList","computed":true,"elem":{"schema":{"identity_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"sku":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_redis_cache":{"schema":{"access_keys_authentication_enabled":{"type":"TypeBool","computed":true},"capacity":{"type":"TypeInt","computed":true},"family":{"type":"TypeString","computed":true},"hostname":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"minimum_tls_version":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"non_ssl_port_enabled":{"type":"TypeBool","computed":true},"patch_schedule":{"type":"TypeList","computed":true,"elem":{"schema":{"day_of_week":{"type":"TypeString","computed":true},"maintenance_window":{"type":"TypeString","computed":true},"start_hour_utc":{"type":"TypeInt","computed":true}}}},"port":{"type":"TypeInt","computed":true},"primary_access_key":{"type":"TypeString","computed":true},"primary_connection_string":{"type":"TypeString","computed":true},"private_static_ip_address":{"type":"TypeString","computed":true},"redis_configuration":{"type":"TypeList","computed":true,"elem":{"schema":{"active_directory_authentication_enabled":{"type":"TypeBool","computed":true},"aof_backup_enabled":{"type":"TypeBool","computed":true},"aof_storage_connection_string_0":{"type":"TypeString","computed":true},"aof_storage_connection_string_1":{"type":"TypeString","computed":true},"authentication_enabled":{"type":"TypeBool","computed":true},"data_persistence_authentication_method":{"type":"TypeString","computed":true},"maxclients":{"type":"TypeInt","computed":true},"maxfragmentationmemory_reserved":{"type":"TypeInt","computed":true},"maxmemory_delta":{"type":"TypeInt","computed":true},"maxmemory_policy":{"type":"TypeString","computed":true},"maxmemory_reserved":{"type":"TypeInt","computed":true},"notify_keyspace_events":{"type":"TypeString","computed":true},"rdb_backup_enabled":{"type":"TypeBool","computed":true},"rdb_backup_frequency":{"type":"TypeInt","computed":true},"rdb_backup_max_snapshot_count":{"type":"TypeInt","computed":true},"rdb_storage_connection_string":{"type":"TypeString","computed":true},"storage_account_subscription_id":{"type":"TypeString","computed":true}}}},"resource_group_name":{"type":"TypeString","required":true},"secondary_access_key":{"type":"TypeString","computed":true},"secondary_connection_string":{"type":"TypeString","computed":true},"shard_count":{"type":"TypeInt","computed":true},"sku_name":{"type":"TypeString","computed":true},"ssl_port":{"type":"TypeInt","computed":true},"subnet_id":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"zones":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_redis_enterprise_database":{"schema":{"cluster_id":{"type":"TypeString","required":true},"linked_database_group_nickname":{"type":"TypeString","computed":true},"linked_database_id":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true},"primary_access_key":{"type":"TypeString","computed":true},"secondary_access_key":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_resource_group":{"schema":{"location":{"type":"TypeString","computed":true},"managed_by":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_resource_group_template_deployment":{"schema":{"name":{"type":"TypeString","required":true},"output_content":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_resources":{"schema":{"name":{"type":"TypeString","optional":true,"computed":true},"required_tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"resource_group_name":{"type":"TypeString","optional":true,"computed":true},"resources":{"type":"TypeList","computed":true,"elem":{"schema":{"id":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"type":{"type":"TypeString","computed":true}}}},"type":{"type":"TypeString","optional":true,"computed":true}},"timeouts":{"read":5}},"azurerm_role_definition":{"schema":{"assignable_scopes":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"description":{"type":"TypeString","computed":true},"name":{"type":"TypeString","optional":true,"computed":true},"permissions":{"type":"TypeList","computed":true,"elem":{"schema":{"actions":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"condition":{"type":"TypeString","computed":true},"condition_version":{"type":"TypeString","computed":true},"data_actions":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}},"not_actions":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"not_data_actions":{"type":"TypeSet","optional":true,"elem":{"type":"TypeString"}}}}},"role_definition_id":{"type":"TypeString","optional":true,"computed":true},"scope":{"type":"TypeString","optional":true},"type":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_role_management_policy":{"schema":{"activation_rules":{"type":"TypeList","description":"The activation rules of the policy","computed":true,"elem":{"schema":{"approval_stage":{"type":"TypeList","description":"The approval stages for the activation","computed":true,"elem":{"schema":{"primary_approver":{"type":"TypeSet","description":"The IDs of the users or groups who can approve the activation","computed":true,"elem":{"schema":{"object_id":{"type":"TypeString","description":"The ID of the object to act as an approver","computed":true},"type":{"type":"TypeString","description":"The type of object acting as an approver","computed":true}}}}}}},"maximum_duration":{"type":"TypeString","description":"The time after which the an activation can be valid for","computed":true},"require_approval":{"type":"TypeBool","description":"Whether an approval is required for activation","computed":true},"require_justification":{"type":"TypeBool","description":"Whether a justification is required during activation","computed":true},"require_multifactor_authentication":{"type":"TypeBool","description":"Whether multi-factor authentication is required during activation","computed":true},"require_ticket_info":{"type":"TypeBool","description":"Whether ticket information is required during activation","computed":true},"required_conditional_access_authentication_context":{"type":"TypeString","description":"Whether a conditional access context is required during activation","computed":true}}}},"active_assignment_rules":{"type":"TypeList","description":"The rules for active assignment of the policy","computed":true,"elem":{"schema":{"expiration_required":{"type":"TypeBool","description":"Must the assignment have an expiry date","computed":true},"expire_after":{"type":"TypeString","description":"The duration after which assignments expire","computed":true},"require_justification":{"type":"TypeBool","description":"Whether a justification is required to make an assignment","computed":true},"require_multifactor_authentication":{"type":"TypeBool","description":"Whether multi-factor authentication is required to make an assignment","computed":true},"require_ticket_info":{"type":"TypeBool","description":"Whether ticket information is required to make an assignment","computed":true}}}},"description":{"type":"TypeString","description":"The Description of the policy","computed":true},"eligible_assignment_rules":{"type":"TypeList","description":"The rules for eligible assignment of the policy","computed":true,"elem":{"schema":{"expiration_required":{"type":"TypeBool","description":"Must the assignment have an expiry date","computed":true},"expire_after":{"type":"TypeString","description":"The duration after which assignments expire","computed":true}}}},"name":{"type":"TypeString","description":"The name of the policy","computed":true},"notification_rules":{"type":"TypeList","description":"The notification rules of the policy","computed":true,"elem":{"schema":{"active_assignments":{"type":"TypeList","description":"Notifications about active assignments","computed":true,"elem":{"schema":{"admin_notifications":{"type":"TypeList","description":"Admin notification settings","computed":true,"elem":{"schema":{"additional_recipients":{"type":"TypeSet","description":"The additional recipients to notify","computed":true,"elem":{"type":"TypeString"}},"default_recipients":{"type":"TypeBool","description":"Whether the default recipients are notified","computed":true},"notification_level":{"type":"TypeString","description":"What level of notifications are sent","computed":true}}}},"approver_notifications":{"type":"TypeList","description":"Approver notification settings","computed":true,"elem":{"schema":{"additional_recipients":{"type":"TypeSet","description":"The additional recipients to notify","computed":true,"elem":{"type":"TypeString"}},"default_recipients":{"type":"TypeBool","description":"Whether the default recipients are notified","computed":true},"notification_level":{"type":"TypeString","description":"What level of notifications are sent","computed":true}}}},"assignee_notifications":{"type":"TypeList","description":"Assignee notification settings","computed":true,"elem":{"schema":{"additional_recipients":{"type":"TypeSet","description":"The additional recipients to notify","computed":true,"elem":{"type":"TypeString"}},"default_recipients":{"type":"TypeBool","description":"Whether the default recipients are notified","computed":true},"notification_level":{"type":"TypeString","description":"What level of notifications are sent","computed":true}}}}}}},"eligible_activations":{"type":"TypeList","description":"Notifications about activations of eligible assignments","computed":true,"elem":{"schema":{"admin_notifications":{"type":"TypeList","description":"Admin notification settings","computed":true,"elem":{"schema":{"additional_recipients":{"type":"TypeSet","description":"The additional recipients to notify","computed":true,"elem":{"type":"TypeString"}},"default_recipients":{"type":"TypeBool","description":"Whether the default recipients are notified","computed":true},"notification_level":{"type":"TypeString","description":"What level of notifications are sent","computed":true}}}},"approver_notifications":{"type":"TypeList","description":"Approver notification settings","computed":true,"elem":{"schema":{"additional_recipients":{"type":"TypeSet","description":"The additional recipients to notify","computed":true,"elem":{"type":"TypeString"}},"default_recipients":{"type":"TypeBool","description":"Whether the default recipients are notified","computed":true},"notification_level":{"type":"TypeString","description":"What level of notifications are sent","computed":true}}}},"assignee_notifications":{"type":"TypeList","description":"Assignee notification settings","computed":true,"elem":{"schema":{"additional_recipients":{"type":"TypeSet","description":"The additional recipients to notify","computed":true,"elem":{"type":"TypeString"}},"default_recipients":{"type":"TypeBool","description":"Whether the default recipients are notified","computed":true},"notification_level":{"type":"TypeString","description":"What level of notifications are sent","computed":true}}}}}}},"eligible_assignments":{"type":"TypeList","description":"Notifications about eligible assignments","computed":true,"elem":{"schema":{"admin_notifications":{"type":"TypeList","description":"Admin notification settings","computed":true,"elem":{"schema":{"additional_recipients":{"type":"TypeSet","description":"The additional recipients to notify","computed":true,"elem":{"type":"TypeString"}},"default_recipients":{"type":"TypeBool","description":"Whether the default recipients are notified","computed":true},"notification_level":{"type":"TypeString","description":"What level of notifications are sent","computed":true}}}},"approver_notifications":{"type":"TypeList","description":"Approver notification settings","computed":true,"elem":{"schema":{"additional_recipients":{"type":"TypeSet","description":"The additional recipients to notify","computed":true,"elem":{"type":"TypeString"}},"default_recipients":{"type":"TypeBool","description":"Whether the default recipients are notified","computed":true},"notification_level":{"type":"TypeString","description":"What level of notifications are sent","computed":true}}}},"assignee_notifications":{"type":"TypeList","description":"Assignee notification settings","computed":true,"elem":{"schema":{"additional_recipients":{"type":"TypeSet","description":"The additional recipients to notify","computed":true,"elem":{"type":"TypeString"}},"default_recipients":{"type":"TypeBool","description":"Whether the default recipients are notified","computed":true},"notification_level":{"type":"TypeString","description":"What level of notifications are sent","computed":true}}}}}}}}}},"role_definition_id":{"type":"TypeString","required":true,"description":"ID of the Azure Role to which this policy is assigned"},"scope":{"type":"TypeString","required":true,"description":"The scope of the role to which this policy will apply"}},"timeouts":{"read":5}},"azurerm_route_filter":{"schema":{"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"rule":{"type":"TypeList","computed":true,"elem":{"schema":{"access":{"type":"TypeString","computed":true},"communities":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","computed":true},"rule_type":{"type":"TypeString","computed":true}}}},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_route_table":{"schema":{"bgp_route_propagation_enabled":{"type":"TypeBool","computed":true},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"route":{"type":"TypeList","computed":true,"elem":{"schema":{"address_prefix":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"next_hop_in_ip_address":{"type":"TypeString","computed":true},"next_hop_type":{"type":"TypeString","computed":true}}}},"subnets":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_search_service":{"schema":{"identity":{"type":"TypeList","computed":true,"elem":{"schema":{"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"name":{"type":"TypeString","required":true},"partition_count":{"type":"TypeInt","computed":true},"primary_key":{"type":"TypeString","computed":true},"public_network_access_enabled":{"type":"TypeBool","computed":true},"query_keys":{"type":"TypeList","computed":true,"elem":{"schema":{"key":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true}}}},"replica_count":{"type":"TypeInt","computed":true},"resource_group_name":{"type":"TypeString","required":true},"secondary_key":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_sentinel_alert_rule":{"schema":{"log_analytics_workspace_id":{"type":"TypeString","required":true},"name":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_sentinel_alert_rule_anomaly":{"schema":{"anomaly_settings_version":{"type":"TypeInt","computed":true},"anomaly_version":{"type":"TypeString","computed":true},"description":{"type":"TypeString","computed":true},"display_name":{"type":"TypeString","optional":true,"computed":true},"enabled":{"type":"TypeBool","computed":true},"frequency":{"type":"TypeString","computed":true},"log_analytics_workspace_id":{"type":"TypeString","required":true},"mode":{"type":"TypeString","computed":true},"multi_select_observation":{"type":"TypeList","computed":true,"elem":{"schema":{"description":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"supported_values":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"values":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}}},"name":{"type":"TypeString","optional":true,"computed":true},"prioritized_exclude_observation":{"type":"TypeList","computed":true,"elem":{"schema":{"description":{"type":"TypeString","computed":true},"exclude":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"prioritize":{"type":"TypeString","computed":true}}}},"required_data_connector":{"type":"TypeList","computed":true,"elem":{"schema":{"connector_id":{"type":"TypeString","computed":true},"data_types":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}}},"settings_definition_id":{"type":"TypeString","computed":true},"single_select_observation":{"type":"TypeList","computed":true,"elem":{"schema":{"description":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"supported_values":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"value":{"type":"TypeString","computed":true}}}},"tactics":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"techniques":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"threshold_observation":{"type":"TypeList","computed":true,"elem":{"schema":{"description":{"type":"TypeString","computed":true},"max":{"type":"TypeString","computed":true},"min":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"value":{"type":"TypeString","computed":true}}}}},"timeouts":{"read":5}},"azurerm_sentinel_alert_rule_template":{"schema":{"display_name":{"type":"TypeString","optional":true,"computed":true},"log_analytics_workspace_id":{"type":"TypeString","required":true},"name":{"type":"TypeString","optional":true,"computed":true},"nrt_template":{"type":"TypeList","computed":true,"elem":{"schema":{"description":{"type":"TypeString","computed":true},"query":{"type":"TypeString","computed":true},"severity":{"type":"TypeString","computed":true},"tactics":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}}},"scheduled_template":{"type":"TypeList","computed":true,"elem":{"schema":{"description":{"type":"TypeString","computed":true},"query":{"type":"TypeString","computed":true},"query_frequency":{"type":"TypeString","computed":true},"query_period":{"type":"TypeString","computed":true},"severity":{"type":"TypeString","computed":true},"tactics":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"trigger_operator":{"type":"TypeString","computed":true},"trigger_threshold":{"type":"TypeInt","computed":true}}}},"security_incident_template":{"type":"TypeList","computed":true,"elem":{"schema":{"description":{"type":"TypeString","computed":true},"product_filter":{"type":"TypeString","computed":true}}}}},"timeouts":{"read":5}},"azurerm_service_plan":{"schema":{"app_service_environment_id":{"type":"TypeString","computed":true},"kind":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"maximum_elastic_worker_count":{"type":"TypeInt","computed":true},"name":{"type":"TypeString","required":true},"os_type":{"type":"TypeString","computed":true},"per_site_scaling_enabled":{"type":"TypeBool","computed":true},"reserved":{"type":"TypeBool","computed":true},"resource_group_name":{"type":"TypeString","required":true},"sku_name":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"worker_count":{"type":"TypeInt","computed":true},"zone_balancing_enabled":{"type":"TypeBool","computed":true}},"timeouts":{"read":5}},"azurerm_servicebus_namespace":{"schema":{"capacity":{"type":"TypeInt","computed":true},"default_primary_connection_string":{"type":"TypeString","computed":true},"default_primary_key":{"type":"TypeString","computed":true},"default_secondary_connection_string":{"type":"TypeString","computed":true},"default_secondary_key":{"type":"TypeString","computed":true},"endpoint":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"premium_messaging_partitions":{"type":"TypeInt","computed":true},"resource_group_name":{"type":"TypeString","required":true},"sku":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_servicebus_namespace_authorization_rule":{"schema":{"name":{"type":"TypeString","required":true},"namespace_id":{"type":"TypeString","optional":true},"namespace_name":{"type":"TypeString","optional":true},"primary_connection_string":{"type":"TypeString","computed":true},"primary_connection_string_alias":{"type":"TypeString","computed":true},"primary_key":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","optional":true},"secondary_connection_string":{"type":"TypeString","computed":true},"secondary_connection_string_alias":{"type":"TypeString","computed":true},"secondary_key":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_servicebus_namespace_disaster_recovery_config":{"schema":{"alias_authorization_rule_id":{"type":"TypeString","optional":true},"default_primary_key":{"type":"TypeString","computed":true},"default_secondary_key":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"namespace_id":{"type":"TypeString","optional":true},"namespace_name":{"type":"TypeString","optional":true},"partner_namespace_id":{"type":"TypeString","computed":true},"primary_connection_string_alias":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","optional":true},"secondary_connection_string_alias":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_servicebus_queue":{"schema":{"auto_delete_on_idle":{"type":"TypeString","computed":true},"dead_lettering_on_message_expiration":{"type":"TypeBool","computed":true},"default_message_ttl":{"type":"TypeString","computed":true},"duplicate_detection_history_time_window":{"type":"TypeString","computed":true},"enable_batched_operations":{"type":"TypeBool","computed":true},"enable_express":{"type":"TypeBool","computed":true},"enable_partitioning":{"type":"TypeBool","computed":true},"forward_dead_lettered_messages_to":{"type":"TypeString","computed":true},"forward_to":{"type":"TypeString","computed":true},"lock_duration":{"type":"TypeString","computed":true},"max_delivery_count":{"type":"TypeInt","computed":true},"max_size_in_megabytes":{"type":"TypeInt","computed":true},"name":{"type":"TypeString","required":true},"namespace_id":{"type":"TypeString","optional":true},"namespace_name":{"type":"TypeString","optional":true},"requires_duplicate_detection":{"type":"TypeBool","computed":true},"requires_session":{"type":"TypeBool","computed":true},"resource_group_name":{"type":"TypeString","optional":true},"status":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_servicebus_queue_authorization_rule":{"schema":{"listen":{"type":"TypeBool","computed":true},"manage":{"type":"TypeBool","computed":true},"name":{"type":"TypeString","required":true},"namespace_name":{"type":"TypeString","optional":true},"primary_connection_string":{"type":"TypeString","computed":true},"primary_connection_string_alias":{"type":"TypeString","computed":true},"primary_key":{"type":"TypeString","computed":true},"queue_id":{"type":"TypeString","optional":true},"queue_name":{"type":"TypeString","optional":true},"resource_group_name":{"type":"TypeString","optional":true},"secondary_connection_string":{"type":"TypeString","computed":true},"secondary_connection_string_alias":{"type":"TypeString","computed":true},"secondary_key":{"type":"TypeString","computed":true},"send":{"type":"TypeBool","computed":true}},"timeouts":{"read":5}},"azurerm_servicebus_subscription":{"schema":{"auto_delete_on_idle":{"type":"TypeString","computed":true},"dead_lettering_on_filter_evaluation_error":{"type":"TypeBool","computed":true},"dead_lettering_on_message_expiration":{"type":"TypeBool","computed":true},"default_message_ttl":{"type":"TypeString","computed":true},"enable_batched_operations":{"type":"TypeBool","computed":true},"forward_dead_lettered_messages_to":{"type":"TypeString","computed":true},"forward_to":{"type":"TypeString","computed":true},"lock_duration":{"type":"TypeString","computed":true},"max_delivery_count":{"type":"TypeInt","computed":true},"name":{"type":"TypeString","required":true},"namespace_name":{"type":"TypeString","optional":true},"requires_session":{"type":"TypeBool","computed":true},"resource_group_name":{"type":"TypeString","optional":true},"topic_id":{"type":"TypeString","optional":true},"topic_name":{"type":"TypeString","optional":true}},"timeouts":{"read":5}},"azurerm_servicebus_topic":{"schema":{"auto_delete_on_idle":{"type":"TypeString","computed":true},"default_message_ttl":{"type":"TypeString","computed":true},"duplicate_detection_history_time_window":{"type":"TypeString","computed":true},"enable_batched_operations":{"type":"TypeBool","computed":true},"enable_express":{"type":"TypeBool","computed":true},"enable_partitioning":{"type":"TypeBool","computed":true},"max_size_in_megabytes":{"type":"TypeInt","computed":true},"name":{"type":"TypeString","required":true},"namespace_id":{"type":"TypeString","optional":true},"namespace_name":{"type":"TypeString","optional":true},"requires_duplicate_detection":{"type":"TypeBool","computed":true},"resource_group_name":{"type":"TypeString","optional":true},"status":{"type":"TypeString","computed":true},"support_ordering":{"type":"TypeBool","computed":true}},"timeouts":{"read":5}},"azurerm_servicebus_topic_authorization_rule":{"schema":{"listen":{"type":"TypeBool","computed":true},"manage":{"type":"TypeBool","computed":true},"name":{"type":"TypeString","required":true},"namespace_name":{"type":"TypeString","optional":true},"primary_connection_string":{"type":"TypeString","computed":true},"primary_connection_string_alias":{"type":"TypeString","computed":true},"primary_key":{"type":"TypeString","computed":true},"queue_name":{"type":"TypeString","optional":true},"resource_group_name":{"type":"TypeString","optional":true},"secondary_connection_string":{"type":"TypeString","computed":true},"secondary_connection_string_alias":{"type":"TypeString","computed":true},"secondary_key":{"type":"TypeString","computed":true},"send":{"type":"TypeBool","computed":true},"topic_id":{"type":"TypeString","optional":true},"topic_name":{"type":"TypeString","optional":true}},"timeouts":{"read":5}},"azurerm_shared_image":{"schema":{"accelerated_network_support_enabled":{"type":"TypeBool","computed":true},"architecture":{"type":"TypeString","computed":true},"confidential_vm_enabled":{"type":"TypeBool","computed":true},"confidential_vm_supported":{"type":"TypeBool","computed":true},"description":{"type":"TypeString","computed":true},"eula":{"type":"TypeString","computed":true},"gallery_name":{"type":"TypeString","required":true},"hibernation_enabled":{"type":"TypeBool","computed":true},"hyper_v_generation":{"type":"TypeString","computed":true},"identifier":{"type":"TypeList","computed":true,"elem":{"schema":{"offer":{"type":"TypeString","computed":true},"publisher":{"type":"TypeString","computed":true},"sku":{"type":"TypeString","computed":true}}}},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"os_type":{"type":"TypeString","computed":true},"privacy_statement_uri":{"type":"TypeString","computed":true},"purchase_plan":{"type":"TypeList","computed":true,"elem":{"schema":{"name":{"type":"TypeString","computed":true},"product":{"type":"TypeString","computed":true},"publisher":{"type":"TypeString","computed":true}}}},"release_note_uri":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true},"specialized":{"type":"TypeBool","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"trusted_launch_enabled":{"type":"TypeBool","computed":true},"trusted_launch_supported":{"type":"TypeBool","computed":true}},"timeouts":{"read":5}},"azurerm_shared_image_gallery":{"schema":{"description":{"type":"TypeString","computed":true},"image_names":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"unique_name":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_shared_image_version":{"schema":{"exclude_from_latest":{"type":"TypeBool","computed":true},"gallery_name":{"type":"TypeString","required":true},"image_name":{"type":"TypeString","required":true},"location":{"type":"TypeString","computed":true},"managed_image_id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"os_disk_image_size_gb":{"type":"TypeInt","computed":true},"os_disk_snapshot_id":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true},"sort_versions_by_semver":{"type":"TypeBool","optional":true,"default":false},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"target_region":{"type":"TypeList","computed":true,"elem":{"schema":{"name":{"type":"TypeString","computed":true},"regional_replica_count":{"type":"TypeInt","computed":true},"storage_account_type":{"type":"TypeString","computed":true}}}}},"timeouts":{"read":5}},"azurerm_shared_image_versions":{"schema":{"gallery_name":{"type":"TypeString","required":true},"image_name":{"type":"TypeString","required":true},"images":{"type":"TypeList","computed":true,"elem":{"schema":{"exclude_from_latest":{"type":"TypeBool","computed":true},"id":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"managed_image_id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"target_region":{"type":"TypeList","computed":true,"elem":{"schema":{"name":{"type":"TypeString","computed":true},"regional_replica_count":{"type":"TypeInt","computed":true},"storage_account_type":{"type":"TypeString","computed":true}}}}}}},"resource_group_name":{"type":"TypeString","required":true},"tags_filter":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_signalr_service":{"schema":{"aad_auth_enabled":{"type":"TypeBool","computed":true},"hostname":{"type":"TypeString","computed":true},"ip_address":{"type":"TypeString","computed":true},"local_auth_enabled":{"type":"TypeBool","computed":true},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"primary_access_key":{"type":"TypeString","computed":true},"primary_connection_string":{"type":"TypeString","computed":true},"public_network_access_enabled":{"type":"TypeBool","computed":true},"public_port":{"type":"TypeInt","computed":true},"resource_group_name":{"type":"TypeString","required":true},"secondary_access_key":{"type":"TypeString","computed":true},"secondary_connection_string":{"type":"TypeString","computed":true},"server_port":{"type":"TypeInt","computed":true},"serverless_connection_timeout_in_seconds":{"type":"TypeInt","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"tls_client_cert_enabled":{"type":"TypeBool","computed":true}},"timeouts":{"read":5}},"azurerm_site_recovery_fabric":{"schema":{"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"recovery_vault_name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_site_recovery_protection_container":{"schema":{"name":{"type":"TypeString","required":true},"recovery_fabric_name":{"type":"TypeString","required":true},"recovery_vault_name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_site_recovery_replication_policy":{"schema":{"application_consistent_snapshot_frequency_in_minutes":{"type":"TypeInt","computed":true},"name":{"type":"TypeString","required":true},"recovery_point_retention_in_minutes":{"type":"TypeInt","computed":true},"recovery_vault_name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_site_recovery_replication_recovery_plan":{"schema":{"azure_to_azure_settings":{"type":"TypeList","computed":true,"elem":{"schema":{"primary_edge_zone":{"type":"TypeString","computed":true},"primary_zone":{"type":"TypeString","computed":true},"recovery_edge_zone":{"type":"TypeString","computed":true},"recovery_zone":{"type":"TypeString","computed":true}}}},"failover_deployment_model":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"recovery_group":{"type":"TypeSet","computed":true,"elem":{"schema":{"post_action":{"type":"TypeSet","computed":true,"elem":{"type":"TypeList","elem":{"schema":{"fabric_location":{"type":"TypeString","computed":true},"fail_over_directions":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"fail_over_types":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"manual_action_instruction":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"runbook_id":{"type":"TypeString","computed":true},"script_path":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}}},"pre_action":{"type":"TypeSet","computed":true,"elem":{"type":"TypeList","elem":{"schema":{"fabric_location":{"type":"TypeString","computed":true},"fail_over_directions":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"fail_over_types":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"manual_action_instruction":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"runbook_id":{"type":"TypeString","computed":true},"script_path":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}}},"replicated_protected_items":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"type":{"type":"TypeString","computed":true}}}},"recovery_vault_id":{"type":"TypeString","required":true},"source_recovery_fabric_id":{"type":"TypeString","computed":true},"target_recovery_fabric_id":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_snapshot":{"schema":{"creation_option":{"type":"TypeString","computed":true},"disk_size_gb":{"type":"TypeInt","computed":true},"encryption_settings":{"type":"TypeList","computed":true,"elem":{"schema":{"disk_encryption_key":{"type":"TypeList","computed":true,"elem":{"schema":{"secret_url":{"type":"TypeString","computed":true},"source_vault_id":{"type":"TypeString","computed":true}}}},"enabled":{"type":"TypeBool","computed":true},"key_encryption_key":{"type":"TypeList","computed":true,"elem":{"schema":{"key_url":{"type":"TypeString","computed":true},"source_vault_id":{"type":"TypeString","computed":true}}}}}}},"name":{"type":"TypeString","required":true},"os_type":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true},"source_resource_id":{"type":"TypeString","computed":true},"source_uri":{"type":"TypeString","computed":true},"storage_account_id":{"type":"TypeString","computed":true},"time_created":{"type":"TypeString","computed":true},"trusted_launch_enabled":{"type":"TypeBool","computed":true}},"timeouts":{"read":5}},"azurerm_source_control_token":{"schema":{"token":{"type":"TypeString","computed":true},"token_secret":{"type":"TypeString","computed":true},"type":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_spatial_anchors_account":{"schema":{"account_domain":{"type":"TypeString","computed":true},"account_id":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_spring_cloud_app":{"schema":{"fqdn":{"type":"TypeString","computed":true},"https_only":{"type":"TypeBool","computed":true},"identity":{"type":"TypeList","computed":true,"elem":{"schema":{"identity_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"is_public":{"type":"TypeBool","computed":true},"name":{"type":"TypeString","required":true},"persistent_disk":{"type":"TypeList","computed":true,"elem":{"schema":{"mount_path":{"type":"TypeString","computed":true},"size_in_gb":{"type":"TypeInt","computed":true}}}},"resource_group_name":{"type":"TypeString","required":true},"service_name":{"type":"TypeString","required":true},"tls_enabled":{"type":"TypeBool","computed":true},"url":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_spring_cloud_service":{"schema":{"config_server_git_setting":{"type":"TypeList","computed":true,"elem":{"schema":{"http_basic_auth":{"type":"TypeList","computed":true,"elem":{"schema":{"password":{"type":"TypeString","computed":true},"username":{"type":"TypeString","computed":true}}}},"label":{"type":"TypeString","computed":true},"repository":{"type":"TypeList","computed":true,"elem":{"schema":{"http_basic_auth":{"type":"TypeList","computed":true,"elem":{"schema":{"password":{"type":"TypeString","computed":true},"username":{"type":"TypeString","computed":true}}}},"label":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"pattern":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"search_paths":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"ssh_auth":{"type":"TypeList","computed":true,"elem":{"schema":{"host_key":{"type":"TypeString","computed":true},"host_key_algorithm":{"type":"TypeString","computed":true},"private_key":{"type":"TypeString","computed":true},"strict_host_key_checking_enabled":{"type":"TypeBool","computed":true}}}},"uri":{"type":"TypeString","computed":true}}}},"search_paths":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"ssh_auth":{"type":"TypeList","computed":true,"elem":{"schema":{"host_key":{"type":"TypeString","computed":true},"host_key_algorithm":{"type":"TypeString","computed":true},"private_key":{"type":"TypeString","computed":true},"strict_host_key_checking_enabled":{"type":"TypeBool","computed":true}}}},"uri":{"type":"TypeString","computed":true}}}},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"outbound_public_ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"required_network_traffic_rules":{"type":"TypeList","computed":true,"elem":{"schema":{"direction":{"type":"TypeString","computed":true},"fqdns":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"port":{"type":"TypeInt","computed":true},"protocol":{"type":"TypeString","computed":true}}}},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_ssh_public_key":{"schema":{"name":{"type":"TypeString","required":true},"public_key":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_stack_hci_cluster":{"schema":{"automanage_configuration_id":{"type":"TypeString","computed":true},"client_id":{"type":"TypeString","computed":true},"cloud_id":{"type":"TypeString","computed":true},"identity":{"type":"TypeList","computed":true,"elem":{"schema":{"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true,"forceNew":true},"resource_provider_object_id":{"type":"TypeString","computed":true},"service_endpoint":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"tenant_id":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_static_web_app":{"schema":{"api_key":{"type":"TypeString","computed":true},"app_settings":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"basic_auth":{"type":"TypeList","computed":true,"elem":{"schema":{"environments":{"type":"TypeString","computed":true}}}},"configuration_file_changes_enabled":{"type":"TypeBool","computed":true},"default_host_name":{"type":"TypeString","computed":true},"identity":{"type":"TypeList","computed":true,"elem":{"schema":{"identity_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true,"forceNew":true},"preview_environments_enabled":{"type":"TypeBool","computed":true},"public_network_access_enabled":{"type":"TypeBool","computed":true},"resource_group_name":{"type":"TypeString","required":true},"sku_size":{"type":"TypeString","computed":true},"sku_tier":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_storage_account":{"schema":{"access_tier":{"type":"TypeString","computed":true},"account_kind":{"type":"TypeString","computed":true},"account_replication_type":{"type":"TypeString","computed":true},"account_tier":{"type":"TypeString","computed":true},"allow_nested_items_to_be_public":{"type":"TypeBool","computed":true},"azure_files_authentication":{"type":"TypeList","computed":true,"elem":{"schema":{"active_directory":{"type":"TypeList","computed":true,"elem":{"schema":{"domain_guid":{"type":"TypeString","computed":true},"domain_name":{"type":"TypeString","computed":true},"domain_sid":{"type":"TypeString","computed":true},"forest_name":{"type":"TypeString","computed":true},"netbios_domain_name":{"type":"TypeString","computed":true},"storage_sid":{"type":"TypeString","computed":true}}}},"default_share_level_permission":{"type":"TypeString","computed":true},"directory_type":{"type":"TypeString","computed":true}}}},"custom_domain":{"type":"TypeList","computed":true,"elem":{"schema":{"name":{"type":"TypeString","computed":true}}}},"dns_endpoint_type":{"type":"TypeString","computed":true},"https_traffic_only_enabled":{"type":"TypeBool","computed":true},"identity":{"type":"TypeList","computed":true,"elem":{"schema":{"identity_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"infrastructure_encryption_enabled":{"type":"TypeBool","computed":true},"is_hns_enabled":{"type":"TypeBool","computed":true},"location":{"type":"TypeString","computed":true},"min_tls_version":{"type":"TypeString","optional":true},"name":{"type":"TypeString","required":true},"nfsv3_enabled":{"type":"TypeBool","computed":true},"primary_access_key":{"type":"TypeString","computed":true},"primary_blob_connection_string":{"type":"TypeString","computed":true},"primary_blob_endpoint":{"type":"TypeString","computed":true},"primary_blob_host":{"type":"TypeString","computed":true},"primary_blob_internet_endpoint":{"type":"TypeString","computed":true},"primary_blob_internet_host":{"type":"TypeString","computed":true},"primary_blob_microsoft_endpoint":{"type":"TypeString","computed":true},"primary_blob_microsoft_host":{"type":"TypeString","computed":true},"primary_connection_string":{"type":"TypeString","computed":true},"primary_dfs_endpoint":{"type":"TypeString","computed":true},"primary_dfs_host":{"type":"TypeString","computed":true},"primary_dfs_internet_endpoint":{"type":"TypeString","computed":true},"primary_dfs_internet_host":{"type":"TypeString","computed":true},"primary_dfs_microsoft_endpoint":{"type":"TypeString","computed":true},"primary_dfs_microsoft_host":{"type":"TypeString","computed":true},"primary_file_endpoint":{"type":"TypeString","computed":true},"primary_file_host":{"type":"TypeString","computed":true},"primary_file_internet_endpoint":{"type":"TypeString","computed":true},"primary_file_internet_host":{"type":"TypeString","computed":true},"primary_file_microsoft_endpoint":{"type":"TypeString","computed":true},"primary_file_microsoft_host":{"type":"TypeString","computed":true},"primary_location":{"type":"TypeString","computed":true},"primary_queue_endpoint":{"type":"TypeString","computed":true},"primary_queue_host":{"type":"TypeString","computed":true},"primary_queue_microsoft_endpoint":{"type":"TypeString","computed":true},"primary_queue_microsoft_host":{"type":"TypeString","computed":true},"primary_table_endpoint":{"type":"TypeString","computed":true},"primary_table_host":{"type":"TypeString","computed":true},"primary_table_microsoft_endpoint":{"type":"TypeString","computed":true},"primary_table_microsoft_host":{"type":"TypeString","computed":true},"primary_web_endpoint":{"type":"TypeString","computed":true},"primary_web_host":{"type":"TypeString","computed":true},"primary_web_internet_endpoint":{"type":"TypeString","computed":true},"primary_web_internet_host":{"type":"TypeString","computed":true},"primary_web_microsoft_endpoint":{"type":"TypeString","computed":true},"primary_web_microsoft_host":{"type":"TypeString","computed":true},"queue_encryption_key_type":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true},"secondary_access_key":{"type":"TypeString","computed":true},"secondary_blob_connection_string":{"type":"TypeString","computed":true},"secondary_blob_endpoint":{"type":"TypeString","computed":true},"secondary_blob_host":{"type":"TypeString","computed":true},"secondary_blob_internet_endpoint":{"type":"TypeString","computed":true},"secondary_blob_internet_host":{"type":"TypeString","computed":true},"secondary_blob_microsoft_endpoint":{"type":"TypeString","computed":true},"secondary_blob_microsoft_host":{"type":"TypeString","computed":true},"secondary_connection_string":{"type":"TypeString","computed":true},"secondary_dfs_endpoint":{"type":"TypeString","computed":true},"secondary_dfs_host":{"type":"TypeString","computed":true},"secondary_dfs_internet_endpoint":{"type":"TypeString","computed":true},"secondary_dfs_internet_host":{"type":"TypeString","computed":true},"secondary_dfs_microsoft_endpoint":{"type":"TypeString","computed":true},"secondary_dfs_microsoft_host":{"type":"TypeString","computed":true},"secondary_file_endpoint":{"type":"TypeString","computed":true},"secondary_file_host":{"type":"TypeString","computed":true},"secondary_file_internet_endpoint":{"type":"TypeString","computed":true},"secondary_file_internet_host":{"type":"TypeString","computed":true},"secondary_file_microsoft_endpoint":{"type":"TypeString","computed":true},"secondary_file_microsoft_host":{"type":"TypeString","computed":true},"secondary_location":{"type":"TypeString","computed":true},"secondary_queue_endpoint":{"type":"TypeString","computed":true},"secondary_queue_host":{"type":"TypeString","computed":true},"secondary_queue_microsoft_endpoint":{"type":"TypeString","computed":true},"secondary_queue_microsoft_host":{"type":"TypeString","computed":true},"secondary_table_endpoint":{"type":"TypeString","computed":true},"secondary_table_host":{"type":"TypeString","computed":true},"secondary_table_microsoft_endpoint":{"type":"TypeString","computed":true},"secondary_table_microsoft_host":{"type":"TypeString","computed":true},"secondary_web_endpoint":{"type":"TypeString","computed":true},"secondary_web_host":{"type":"TypeString","computed":true},"secondary_web_internet_endpoint":{"type":"TypeString","computed":true},"secondary_web_internet_host":{"type":"TypeString","computed":true},"secondary_web_microsoft_endpoint":{"type":"TypeString","computed":true},"secondary_web_microsoft_host":{"type":"TypeString","computed":true},"table_encryption_key_type":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_storage_account_blob_container_sas":{"schema":{"cache_control":{"type":"TypeString","optional":true},"connection_string":{"type":"TypeString","required":true},"container_name":{"type":"TypeString","required":true},"content_disposition":{"type":"TypeString","optional":true},"content_encoding":{"type":"TypeString","optional":true},"content_language":{"type":"TypeString","optional":true},"content_type":{"type":"TypeString","optional":true},"expiry":{"type":"TypeString","required":true},"https_only":{"type":"TypeBool","optional":true,"default":true},"ip_address":{"type":"TypeString","optional":true},"permissions":{"type":"TypeList","required":true,"elem":{"schema":{"add":{"type":"TypeBool","required":true},"create":{"type":"TypeBool","required":true},"delete":{"type":"TypeBool","required":true},"list":{"type":"TypeBool","required":true},"read":{"type":"TypeBool","required":true},"write":{"type":"TypeBool","required":true}}},"maxItems":1},"sas":{"type":"TypeString","computed":true},"start":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_storage_account_sas":{"schema":{"connection_string":{"type":"TypeString","required":true},"expiry":{"type":"TypeString","required":true},"https_only":{"type":"TypeBool","optional":true,"default":true},"ip_addresses":{"type":"TypeString","optional":true},"permissions":{"type":"TypeList","required":true,"elem":{"schema":{"add":{"type":"TypeBool","required":true},"create":{"type":"TypeBool","required":true},"delete":{"type":"TypeBool","required":true},"filter":{"type":"TypeBool","required":true},"list":{"type":"TypeBool","required":true},"process":{"type":"TypeBool","required":true},"read":{"type":"TypeBool","required":true},"tag":{"type":"TypeBool","required":true},"update":{"type":"TypeBool","required":true},"write":{"type":"TypeBool","required":true}}},"maxItems":1},"resource_types":{"type":"TypeList","required":true,"elem":{"schema":{"container":{"type":"TypeBool","required":true},"object":{"type":"TypeBool","required":true},"service":{"type":"TypeBool","required":true}}},"maxItems":1},"sas":{"type":"TypeString","computed":true},"services":{"type":"TypeList","required":true,"elem":{"schema":{"blob":{"type":"TypeBool","required":true},"file":{"type":"TypeBool","required":true},"queue":{"type":"TypeBool","required":true},"table":{"type":"TypeBool","required":true}}},"maxItems":1},"signed_version":{"type":"TypeString","optional":true,"default":"2022-11-02"},"start":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_storage_blob":{"schema":{"access_tier":{"type":"TypeString","computed":true},"content_md5":{"type":"TypeString","computed":true},"content_type":{"type":"TypeString","computed":true},"encryption_scope":{"type":"TypeString","computed":true},"metadata":{"type":"TypeMap","optional":true,"computed":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true},"storage_account_name":{"type":"TypeString","required":true},"storage_container_name":{"type":"TypeString","required":true},"type":{"type":"TypeString","computed":true},"url":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_storage_container":{"schema":{"container_access_type":{"type":"TypeString","computed":true},"default_encryption_scope":{"type":"TypeString","computed":true},"encryption_scope_override_enabled":{"type":"TypeBool","computed":true},"has_immutability_policy":{"type":"TypeBool","computed":true},"has_legal_hold":{"type":"TypeBool","computed":true},"metadata":{"type":"TypeMap","optional":true,"computed":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true},"resource_manager_id":{"type":"TypeString","computed":true},"storage_account_name":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_storage_containers":{"schema":{"containers":{"type":"TypeList","computed":true,"elem":{"schema":{"data_plane_id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"resource_manager_id":{"type":"TypeString","computed":true}}}},"name_prefix":{"type":"TypeString","optional":true},"storage_account_id":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_storage_encryption_scope":{"schema":{"key_vault_key_id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"source":{"type":"TypeString","computed":true},"storage_account_id":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_storage_management_policy":{"schema":{"rule":{"type":"TypeList","computed":true,"elem":{"schema":{"actions":{"type":"TypeList","computed":true,"elem":{"schema":{"base_blob":{"type":"TypeList","computed":true,"elem":{"schema":{"auto_tier_to_hot_from_cool_enabled":{"type":"TypeBool","computed":true},"delete_after_days_since_creation_greater_than":{"type":"TypeInt","computed":true},"delete_after_days_since_last_access_time_greater_than":{"type":"TypeInt","computed":true},"delete_after_days_since_modification_greater_than":{"type":"TypeInt","computed":true},"tier_to_archive_after_days_since_creation_greater_than":{"type":"TypeInt","computed":true},"tier_to_archive_after_days_since_last_access_time_greater_than":{"type":"TypeInt","computed":true},"tier_to_archive_after_days_since_last_tier_change_greater_than":{"type":"TypeInt","computed":true},"tier_to_archive_after_days_since_modification_greater_than":{"type":"TypeInt","computed":true},"tier_to_cold_after_days_since_creation_greater_than":{"type":"TypeInt","computed":true},"tier_to_cold_after_days_since_last_access_time_greater_than":{"type":"TypeInt","computed":true},"tier_to_cold_after_days_since_modification_greater_than":{"type":"TypeInt","computed":true},"tier_to_cool_after_days_since_creation_greater_than":{"type":"TypeInt","computed":true},"tier_to_cool_after_days_since_last_access_time_greater_than":{"type":"TypeInt","computed":true},"tier_to_cool_after_days_since_modification_greater_than":{"type":"TypeInt","computed":true}}}},"snapshot":{"type":"TypeList","computed":true,"elem":{"schema":{"change_tier_to_archive_after_days_since_creation":{"type":"TypeInt","computed":true},"change_tier_to_cool_after_days_since_creation":{"type":"TypeInt","computed":true},"delete_after_days_since_creation_greater_than":{"type":"TypeInt","computed":true},"tier_to_archive_after_days_since_last_tier_change_greater_than":{"type":"TypeInt","computed":true},"tier_to_cold_after_days_since_creation_greater_than":{"type":"TypeInt","computed":true}}}},"version":{"type":"TypeList","computed":true,"elem":{"schema":{"change_tier_to_archive_after_days_since_creation":{"type":"TypeInt","computed":true},"change_tier_to_cool_after_days_since_creation":{"type":"TypeInt","computed":true},"delete_after_days_since_creation":{"type":"TypeInt","computed":true},"tier_to_archive_after_days_since_last_tier_change_greater_than":{"type":"TypeInt","computed":true},"tier_to_cold_after_days_since_creation_greater_than":{"type":"TypeInt","computed":true}}}}}}},"enabled":{"type":"TypeBool","computed":true},"filters":{"type":"TypeList","computed":true,"elem":{"schema":{"blob_types":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"match_blob_index_tag":{"type":"TypeList","computed":true,"elem":{"schema":{"name":{"type":"TypeString","computed":true},"operation":{"type":"TypeString","computed":true},"value":{"type":"TypeString","computed":true}}}},"prefix_match":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}}}}},"name":{"type":"TypeString","computed":true}}}},"storage_account_id":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_storage_queue":{"schema":{"metadata":{"type":"TypeMap","optional":true,"computed":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true},"resource_manager_id":{"type":"TypeString","computed":true},"storage_account_name":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_storage_share":{"schema":{"acl":{"type":"TypeList","optional":true,"elem":{"schema":{"access_policy":{"type":"TypeList","computed":true,"elem":{"schema":{"expiry":{"type":"TypeString","computed":true},"permissions":{"type":"TypeString","computed":true},"start":{"type":"TypeString","computed":true}}}},"id":{"type":"TypeString","computed":true}}}},"metadata":{"type":"TypeMap","optional":true,"computed":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true},"quota":{"type":"TypeInt","computed":true},"resource_manager_id":{"type":"TypeString","computed":true},"storage_account_name":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_storage_sync":{"schema":{"incoming_traffic_policy":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_storage_sync_group":{"schema":{"name":{"type":"TypeString","required":true},"storage_sync_id":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_storage_table":{"schema":{"acl":{"type":"TypeSet","computed":true,"elem":{"schema":{"access_policy":{"type":"TypeList","computed":true,"elem":{"schema":{"expiry":{"type":"TypeString","computed":true},"permissions":{"type":"TypeString","computed":true},"start":{"type":"TypeString","computed":true}}}},"id":{"type":"TypeString","computed":true}}}},"id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_manager_id":{"type":"TypeString","computed":true},"storage_account_name":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_storage_table_entities":{"schema":{"filter":{"type":"TypeString","required":true},"items":{"type":"TypeList","computed":true,"elem":{"schema":{"partition_key":{"type":"TypeString","computed":true},"properties":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"row_key":{"type":"TypeString","computed":true}}}},"select":{"type":"TypeList","optional":true,"elem":{"type":"TypeString"}},"storage_table_id":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_storage_table_entity":{"schema":{"entity":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"partition_key":{"type":"TypeString","required":true},"row_key":{"type":"TypeString","required":true},"storage_table_id":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_stream_analytics_job":{"schema":{"compatibility_level":{"type":"TypeString","computed":true},"data_locale":{"type":"TypeString","computed":true},"events_late_arrival_max_delay_in_seconds":{"type":"TypeInt","computed":true},"events_out_of_order_max_delay_in_seconds":{"type":"TypeInt","computed":true},"events_out_of_order_policy":{"type":"TypeString","computed":true},"identity":{"type":"TypeList","computed":true,"elem":{"schema":{"identity_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"job_id":{"type":"TypeString","computed":true},"last_output_time":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"output_error_policy":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true},"sku_name":{"type":"TypeString","computed":true},"start_mode":{"type":"TypeString","computed":true},"start_time":{"type":"TypeString","computed":true},"streaming_units":{"type":"TypeInt","computed":true},"transformation_query":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_subnet":{"schema":{"address_prefix":{"type":"TypeString","computed":true},"address_prefixes":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"default_outbound_access_enabled":{"type":"TypeBool","computed":true},"name":{"type":"TypeString","required":true},"network_security_group_id":{"type":"TypeString","computed":true},"private_endpoint_network_policies":{"type":"TypeString","computed":true},"private_link_service_network_policies_enabled":{"type":"TypeBool","computed":true},"resource_group_name":{"type":"TypeString","required":true},"route_table_id":{"type":"TypeString","computed":true},"service_endpoints":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"virtual_network_name":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_subscription":{"schema":{"display_name":{"type":"TypeString","computed":true},"location_placement_id":{"type":"TypeString","computed":true},"quota_id":{"type":"TypeString","computed":true},"spending_limit":{"type":"TypeString","computed":true},"state":{"type":"TypeString","computed":true},"subscription_id":{"type":"TypeString","optional":true,"computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"tenant_id":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_subscription_template_deployment":{"schema":{"name":{"type":"TypeString","required":true},"output_content":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_subscriptions":{"schema":{"display_name_contains":{"type":"TypeString","optional":true},"display_name_prefix":{"type":"TypeString","optional":true},"subscriptions":{"type":"TypeList","computed":true,"elem":{"schema":{"display_name":{"type":"TypeString","computed":true},"id":{"type":"TypeString","computed":true},"location_placement_id":{"type":"TypeString","computed":true},"quota_id":{"type":"TypeString","computed":true},"spending_limit":{"type":"TypeString","computed":true},"state":{"type":"TypeString","computed":true},"subscription_id":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"tenant_id":{"type":"TypeString","computed":true}}}}},"timeouts":{"read":5}},"azurerm_synapse_workspace":{"schema":{"connectivity_endpoints":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"identity":{"type":"TypeList","computed":true,"elem":{"schema":{"identity_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_system_center_virtual_machine_manager_inventory_items":{"schema":{"inventory_items":{"type":"TypeList","computed":true,"elem":{"schema":{"id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"uuid":{"type":"TypeString","computed":true}}}},"inventory_type":{"type":"TypeString","required":true},"system_center_virtual_machine_manager_server_id":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_template_spec_version":{"schema":{"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"template_body":{"type":"TypeString","computed":true},"version":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_tenant_template_deployment":{"schema":{"name":{"type":"TypeString","required":true},"output_content":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_traffic_manager_geographical_location":{"schema":{"name":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_traffic_manager_profile":{"schema":{"dns_config":{"type":"TypeList","computed":true,"elem":{"schema":{"relative_name":{"type":"TypeString","computed":true},"ttl":{"type":"TypeInt","computed":true}}}},"fqdn":{"type":"TypeString","computed":true},"monitor_config":{"type":"TypeList","computed":true,"elem":{"schema":{"custom_header":{"type":"TypeList","computed":true,"elem":{"schema":{"name":{"type":"TypeString","computed":true},"value":{"type":"TypeString","computed":true}}}},"expected_status_code_ranges":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"interval_in_seconds":{"type":"TypeInt","computed":true},"path":{"type":"TypeString","computed":true},"port":{"type":"TypeInt","computed":true},"protocol":{"type":"TypeString","computed":true},"timeout_in_seconds":{"type":"TypeInt","computed":true},"tolerated_number_of_failures":{"type":"TypeInt","computed":true}}}},"name":{"type":"TypeString","required":true},"profile_status":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}},"traffic_routing_method":{"type":"TypeString","computed":true},"traffic_view_enabled":{"type":"TypeBool","optional":true}},"timeouts":{"read":5}},"azurerm_user_assigned_identity":{"schema":{"client_id":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"principal_id":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"tenant_id":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_virtual_desktop_application_group":{"schema":{"description":{"type":"TypeString","computed":true},"friendly_name":{"type":"TypeString","computed":true},"host_pool_id":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"type":{"type":"TypeString","computed":true},"workspace_id":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_virtual_desktop_host_pool":{"schema":{"custom_rdp_properties":{"type":"TypeString","computed":true},"description":{"type":"TypeString","computed":true},"friendly_name":{"type":"TypeString","computed":true},"load_balancer_type":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"maximum_sessions_allowed":{"type":"TypeInt","computed":true},"name":{"type":"TypeString","required":true},"personal_desktop_assignment_type":{"type":"TypeString","computed":true},"preferred_app_group_type":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true},"scheduled_agent_updates":{"type":"TypeList","computed":true,"elem":{"schema":{"enabled":{"type":"TypeBool","computed":true},"schedule":{"type":"TypeList","computed":true,"elem":{"schema":{"day_of_week":{"type":"TypeString","computed":true},"hour_of_day":{"type":"TypeInt","computed":true}}}},"timezone":{"type":"TypeString","computed":true},"use_session_host_timezone":{"type":"TypeBool","computed":true}}}},"start_vm_on_connect":{"type":"TypeBool","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"type":{"type":"TypeString","computed":true},"validate_environment":{"type":"TypeBool","computed":true}},"timeouts":{"read":5}},"azurerm_virtual_desktop_workspace":{"schema":{"description":{"type":"TypeString","computed":true},"friendly_name":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"public_network_access_enabled":{"type":"TypeBool","computed":true},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_virtual_hub":{"schema":{"address_prefix":{"type":"TypeString","computed":true},"default_route_table_id":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"virtual_router_asn":{"type":"TypeInt","computed":true},"virtual_router_ips":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"virtual_wan_id":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_virtual_hub_connection":{"schema":{"internet_security_enabled":{"type":"TypeBool","computed":true},"name":{"type":"TypeString","required":true},"remote_virtual_network_id":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true},"routing":{"type":"TypeList","computed":true,"elem":{"schema":{"associated_route_table_id":{"type":"TypeString","computed":true},"inbound_route_map_id":{"type":"TypeString","computed":true},"outbound_route_map_id":{"type":"TypeString","computed":true},"propagated_route_table":{"type":"TypeList","computed":true,"elem":{"schema":{"labels":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"route_table_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}}},"static_vnet_local_route_override_criteria":{"type":"TypeString","computed":true},"static_vnet_route":{"type":"TypeList","computed":true,"elem":{"schema":{"address_prefixes":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","computed":true},"next_hop_ip_address":{"type":"TypeString","computed":true}}}}}}},"virtual_hub_id":{"type":"TypeString","computed":true},"virtual_hub_name":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_virtual_hub_route_table":{"schema":{"labels":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"route":{"type":"TypeList","computed":true,"elem":{"schema":{"destinations":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"destinations_type":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"next_hop":{"type":"TypeString","computed":true},"next_hop_type":{"type":"TypeString","computed":true}}}},"virtual_hub_id":{"type":"TypeString","computed":true},"virtual_hub_name":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_virtual_machine":{"schema":{"identity":{"type":"TypeList","computed":true,"elem":{"schema":{"identity_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"power_state":{"type":"TypeString","computed":true},"private_ip_address":{"type":"TypeString","computed":true},"private_ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"public_ip_address":{"type":"TypeString","computed":true},"public_ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"resource_group_name":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_virtual_machine_scale_set":{"schema":{"identity":{"type":"TypeList","computed":true,"elem":{"schema":{"identity_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"instances":{"type":"TypeList","computed":true,"elem":{"schema":{"computer_name":{"type":"TypeString","computed":true},"instance_id":{"type":"TypeString","computed":true},"latest_model_applied":{"type":"TypeBool","computed":true},"name":{"type":"TypeString","computed":true},"power_state":{"type":"TypeString","computed":true},"private_ip_address":{"type":"TypeString","computed":true},"private_ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"public_ip_address":{"type":"TypeString","computed":true},"public_ip_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"virtual_machine_id":{"type":"TypeString","computed":true},"zone":{"type":"TypeString","computed":true}}}},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"network_interface":{"type":"TypeList","computed":true,"elem":{"schema":{"dns_servers":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"enable_accelerated_networking":{"type":"TypeBool","computed":true},"enable_ip_forwarding":{"type":"TypeBool","computed":true},"ip_configuration":{"type":"TypeList","computed":true,"elem":{"schema":{"application_gateway_backend_address_pool_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"application_security_group_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"load_balancer_backend_address_pool_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"load_balancer_inbound_nat_rules_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"name":{"type":"TypeString","computed":true},"primary":{"type":"TypeBool","computed":true},"public_ip_address":{"type":"TypeList","computed":true,"elem":{"schema":{"domain_name_label":{"type":"TypeString","computed":true},"idle_timeout_in_minutes":{"type":"TypeInt","computed":true},"ip_tag":{"type":"TypeList","computed":true,"elem":{"schema":{"tag":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"name":{"type":"TypeString","computed":true},"public_ip_prefix_id":{"type":"TypeString","computed":true},"version":{"type":"TypeString","computed":true}}}},"subnet_id":{"type":"TypeString","computed":true},"version":{"type":"TypeString","computed":true}}}},"name":{"type":"TypeString","computed":true},"network_security_group_id":{"type":"TypeString","computed":true},"primary":{"type":"TypeBool","computed":true}}}},"resource_group_name":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_virtual_network":{"schema":{"address_space":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"dns_servers":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"guid":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"subnets":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"vnet_peerings":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"vnet_peerings_addresses":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_virtual_network_gateway":{"schema":{"active_active":{"type":"TypeBool","computed":true},"bgp_settings":{"type":"TypeList","computed":true,"elem":{"schema":{"asn":{"type":"TypeInt","computed":true},"peer_weight":{"type":"TypeInt","computed":true},"peering_address":{"type":"TypeString","computed":true}}}},"custom_route":{"type":"TypeList","computed":true,"elem":{"schema":{"address_prefixes":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}}}}},"default_local_network_gateway_id":{"type":"TypeString","computed":true},"enable_bgp":{"type":"TypeBool","computed":true},"generation":{"type":"TypeString","computed":true},"ip_configuration":{"type":"TypeList","computed":true,"elem":{"schema":{"id":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"private_ip_address":{"type":"TypeString","computed":true},"private_ip_address_allocation":{"type":"TypeString","computed":true},"public_ip_address_id":{"type":"TypeString","computed":true},"subnet_id":{"type":"TypeString","computed":true}}}},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"private_ip_address_enabled":{"type":"TypeBool","computed":true},"resource_group_name":{"type":"TypeString","required":true},"sku":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"type":{"type":"TypeString","computed":true},"vpn_client_configuration":{"type":"TypeList","computed":true,"elem":{"schema":{"aad_audience":{"type":"TypeString","computed":true},"aad_issuer":{"type":"TypeString","computed":true},"aad_tenant":{"type":"TypeString","computed":true},"address_space":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"radius_server_address":{"type":"TypeString","computed":true},"radius_server_secret":{"type":"TypeString","computed":true},"revoked_certificate":{"type":"TypeList","computed":true,"elem":{"schema":{"name":{"type":"TypeString","computed":true},"thumbprint":{"type":"TypeString","computed":true}}}},"root_certificate":{"type":"TypeList","computed":true,"elem":{"schema":{"name":{"type":"TypeString","computed":true},"public_cert_data":{"type":"TypeString","computed":true}}}},"vpn_client_protocols":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}}}}},"vpn_type":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_virtual_network_gateway_connection":{"schema":{"authorization_key":{"type":"TypeString","computed":true},"connection_protocol":{"type":"TypeString","computed":true},"dpd_timeout_seconds":{"type":"TypeInt","computed":true},"egress_bytes_transferred":{"type":"TypeInt","computed":true},"enable_bgp":{"type":"TypeBool","computed":true},"express_route_circuit_id":{"type":"TypeString","computed":true},"express_route_gateway_bypass":{"type":"TypeBool","computed":true},"ingress_bytes_transferred":{"type":"TypeInt","computed":true},"ipsec_policy":{"type":"TypeList","computed":true,"elem":{"schema":{"dh_group":{"type":"TypeString","computed":true},"ike_encryption":{"type":"TypeString","computed":true},"ike_integrity":{"type":"TypeString","computed":true},"ipsec_encryption":{"type":"TypeString","computed":true},"ipsec_integrity":{"type":"TypeString","computed":true},"pfs_group":{"type":"TypeString","computed":true},"sa_datasize":{"type":"TypeInt","computed":true},"sa_lifetime":{"type":"TypeInt","computed":true}}}},"local_azure_ip_address_enabled":{"type":"TypeBool","computed":true},"local_network_gateway_id":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"peer_virtual_network_gateway_id":{"type":"TypeString","computed":true},"private_link_fast_path_enabled":{"type":"TypeBool","computed":true},"resource_group_name":{"type":"TypeString","required":true},"resource_guid":{"type":"TypeString","computed":true},"routing_weight":{"type":"TypeInt","computed":true},"shared_key":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"traffic_selector_policy":{"type":"TypeList","computed":true,"elem":{"schema":{"local_address_cidrs":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"remote_address_cidrs":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}}},"type":{"type":"TypeString","computed":true},"use_policy_based_traffic_selectors":{"type":"TypeBool","computed":true},"virtual_network_gateway_id":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_virtual_network_peering":{"schema":{"allow_forwarded_traffic":{"type":"TypeBool","computed":true},"allow_gateway_transit":{"type":"TypeBool","computed":true},"allow_virtual_network_access":{"type":"TypeBool","computed":true},"name":{"type":"TypeString","required":true},"only_ipv6_peering_enabled":{"type":"TypeBool","computed":true},"peer_complete_virtual_networks_enabled":{"type":"TypeBool","computed":true},"remote_virtual_network_id":{"type":"TypeString","computed":true},"use_remote_gateways":{"type":"TypeBool","computed":true},"virtual_network_id":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_virtual_wan":{"schema":{"allow_branch_to_branch_traffic":{"type":"TypeBool","computed":true},"disable_vpn_encryption":{"type":"TypeBool","computed":true},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"office365_local_breakout_category":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true},"sku":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"virtual_hub_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"vpn_site_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_vmware_private_cloud":{"schema":{"circuit":{"type":"TypeList","computed":true,"elem":{"schema":{"express_route_id":{"type":"TypeString","computed":true},"express_route_private_peering_id":{"type":"TypeString","computed":true},"primary_subnet_cidr":{"type":"TypeString","computed":true},"secondary_subnet_cidr":{"type":"TypeString","computed":true}}}},"hcx_cloud_manager_endpoint":{"type":"TypeString","computed":true},"internet_connection_enabled":{"type":"TypeBool","computed":true},"location":{"type":"TypeString","computed":true},"management_cluster":{"type":"TypeList","computed":true,"elem":{"schema":{"hosts":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"id":{"type":"TypeInt","computed":true},"size":{"type":"TypeInt","computed":true}}}},"management_subnet_cidr":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"network_subnet_cidr":{"type":"TypeString","computed":true},"nsxt_certificate_thumbprint":{"type":"TypeString","computed":true},"nsxt_manager_endpoint":{"type":"TypeString","computed":true},"provisioning_subnet_cidr":{"type":"TypeString","computed":true},"resource_group_name":{"type":"TypeString","required":true},"sku_name":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"vcenter_certificate_thumbprint":{"type":"TypeString","computed":true},"vcsa_endpoint":{"type":"TypeString","computed":true},"vmotion_subnet_cidr":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_vpn_gateway":{"schema":{"bgp_settings":{"type":"TypeList","computed":true,"elem":{"schema":{"asn":{"type":"TypeInt","computed":true},"bgp_peering_address":{"type":"TypeString","computed":true},"instance_0_bgp_peering_address":{"type":"TypeList","computed":true,"elem":{"schema":{"custom_ips":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"default_ips":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"ip_configuration_id":{"type":"TypeString","computed":true},"tunnel_ips":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}}},"instance_1_bgp_peering_address":{"type":"TypeList","computed":true,"elem":{"schema":{"custom_ips":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"default_ips":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"ip_configuration_id":{"type":"TypeString","computed":true},"tunnel_ips":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}}},"peer_weight":{"type":"TypeInt","computed":true}}}},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"scale_unit":{"type":"TypeInt","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"virtual_hub_id":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_vpn_server_configuration":{"schema":{"azure_active_directory_authentication":{"type":"TypeList","computed":true,"elem":{"schema":{"audience":{"type":"TypeString","computed":true},"issuer":{"type":"TypeString","computed":true},"tenant":{"type":"TypeString","computed":true}}}},"client_revoked_certificate":{"type":"TypeSet","computed":true,"elem":{"schema":{"name":{"type":"TypeString","computed":true},"thumbprint":{"type":"TypeString","computed":true}}}},"client_root_certificate":{"type":"TypeSet","computed":true,"elem":{"schema":{"name":{"type":"TypeString","computed":true},"public_cert_data":{"type":"TypeString","computed":true}}}},"ipsec_policy":{"type":"TypeList","computed":true,"elem":{"schema":{"dh_group":{"type":"TypeString","computed":true},"ike_encryption":{"type":"TypeString","computed":true},"ike_integrity":{"type":"TypeString","computed":true},"ipsec_encryption":{"type":"TypeString","computed":true},"ipsec_integrity":{"type":"TypeString","computed":true},"pfs_group":{"type":"TypeString","computed":true},"sa_data_size_kilobytes":{"type":"TypeInt","computed":true},"sa_lifetime_seconds":{"type":"TypeInt","computed":true}}}},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"radius":{"type":"TypeList","computed":true,"elem":{"schema":{"client_root_certificate":{"type":"TypeSet","computed":true,"elem":{"schema":{"name":{"type":"TypeString","computed":true},"thumbprint":{"type":"TypeString","computed":true}}}},"server":{"type":"TypeList","computed":true,"elem":{"schema":{"address":{"type":"TypeString","computed":true},"score":{"type":"TypeInt","computed":true},"secret":{"type":"TypeString","computed":true}}}},"server_root_certificate":{"type":"TypeSet","computed":true,"elem":{"schema":{"name":{"type":"TypeString","computed":true},"public_cert_data":{"type":"TypeString","computed":true}}}}}}},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"vpn_authentication_types":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"vpn_protocols":{"type":"TypeSet","computed":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_web_application_firewall_policy":{"schema":{"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"resource_group_name":{"type":"TypeString","required":true},"tags":{"type":"TypeMap","optional":true,"elem":{"type":"TypeString"}}},"timeouts":{"read":5}},"azurerm_web_pubsub":{"schema":{"aad_auth_enabled":{"type":"TypeBool","computed":true},"capacity":{"type":"TypeInt","computed":true},"external_ip":{"type":"TypeString","computed":true},"hostname":{"type":"TypeString","computed":true},"local_auth_enabled":{"type":"TypeBool","computed":true},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"primary_access_key":{"type":"TypeString","computed":true},"primary_connection_string":{"type":"TypeString","computed":true},"public_network_access_enabled":{"type":"TypeBool","computed":true},"public_port":{"type":"TypeInt","computed":true},"resource_group_name":{"type":"TypeString","required":true},"secondary_access_key":{"type":"TypeString","computed":true},"secondary_connection_string":{"type":"TypeString","computed":true},"server_port":{"type":"TypeInt","computed":true},"sku":{"type":"TypeString","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"tls_client_cert_enabled":{"type":"TypeBool","computed":true},"version":{"type":"TypeString","computed":true}},"timeouts":{"read":5}},"azurerm_web_pubsub_private_link_resource":{"schema":{"shared_private_link_resource_types":{"type":"TypeList","computed":true,"elem":{"schema":{"description":{"type":"TypeString","computed":true},"subresource_name":{"type":"TypeString","computed":true}}}},"web_pubsub_id":{"type":"TypeString","required":true}},"timeouts":{"read":5}},"azurerm_windows_function_app":{"schema":{"app_settings":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"auth_settings":{"type":"TypeList","computed":true,"elem":{"schema":{"active_directory":{"type":"TypeList","computed":true,"elem":{"schema":{"allowed_audiences":{"type":"TypeList","description":"The list of Allowed audience values considered when validating JWTs issued by Azure Active Directory.","computed":true,"elem":{"type":"TypeString"}},"client_id":{"type":"TypeString","description":"The ID of the Client to use to authenticate with Azure Active Directory.","computed":true},"client_secret":{"type":"TypeString","description":"The Client Secret for the Client ID.","computed":true},"client_secret_setting_name":{"type":"TypeString","description":"The App Setting name that contains the client secret of the Client.","computed":true}}}},"additional_login_parameters":{"type":"TypeMap","description":"The map of Login Parameters sent to the OpenID Connect authorization endpoint when a user logs in.","computed":true,"elem":{"type":"TypeString"}},"allowed_external_redirect_urls":{"type":"TypeList","description":"Specifies a list of External URLs that can be redirected to as part of logging in or logging out of the Windows Web App.","computed":true,"elem":{"type":"TypeString"}},"default_provider":{"type":"TypeString","description":"The default authentication provider used when multiple providers are configured. Possible values include: `AzureActiveDirectory`, `Facebook`, `Google`, `MicrosoftAccount`, `Twitter`, `Github`.","computed":true},"enabled":{"type":"TypeBool","description":"Is the Authentication / Authorization feature enabled?","computed":true},"facebook":{"type":"TypeList","computed":true,"elem":{"schema":{"app_id":{"type":"TypeString","description":"The App ID of the Facebook app used for login.","computed":true},"app_secret":{"type":"TypeString","description":"The App Secret of the Facebook app used for Facebook Login.","computed":true},"app_secret_setting_name":{"type":"TypeString","description":"The app setting name that contains the `app_secret` value used for Facebook Login.","computed":true},"oauth_scopes":{"type":"TypeList","description":"The list of OAuth 2.0 scopes requested as part of Facebook Login authentication.","computed":true,"elem":{"type":"TypeString"}}}}},"github":{"type":"TypeList","computed":true,"elem":{"schema":{"client_id":{"type":"TypeString","description":"The ID of the GitHub app used for login.","computed":true},"client_secret":{"type":"TypeString","description":"The Client Secret of the GitHub app used for GitHub Login.","computed":true},"client_secret_setting_name":{"type":"TypeString","description":"The app setting name that contains the `client_secret` value used for GitHub Login.","computed":true},"oauth_scopes":{"type":"TypeList","description":"The list of OAuth 2.0 scopes requested as part of GitHub Login authentication.","computed":true,"elem":{"type":"TypeString"}}}}},"google":{"type":"TypeList","computed":true,"elem":{"schema":{"client_id":{"type":"TypeString","description":"The OpenID Connect Client ID for the Google web application.","computed":true},"client_secret":{"type":"TypeString","description":"The client secret associated with the Google web application.","computed":true},"client_secret_setting_name":{"type":"TypeString","description":"The app setting name that contains the `client_secret` value used for Google Login.","computed":true},"oauth_scopes":{"type":"TypeList","description":"The list of OAuth 2.0 scopes that requested as part of Google Sign-In authentication.","computed":true,"elem":{"type":"TypeString"}}}}},"issuer":{"type":"TypeString","description":"The OpenID Connect Issuer URI that represents the entity which issues access tokens.","computed":true},"microsoft":{"type":"TypeList","computed":true,"elem":{"schema":{"client_id":{"type":"TypeString","description":"The OAuth 2.0 client ID that was created for the app used for authentication.","computed":true},"client_secret":{"type":"TypeString","description":"The OAuth 2.0 client secret that was created for the app used for authentication.","computed":true},"client_secret_setting_name":{"type":"TypeString","description":"The app setting name containing the OAuth 2.0 client secret that was created for the app used for authentication.","computed":true},"oauth_scopes":{"type":"TypeList","description":"The list of OAuth 2.0 scopes requested as part of Microsoft Account authentication.","computed":true,"elem":{"type":"TypeString"}}}}},"runtime_version":{"type":"TypeString","description":"The RuntimeVersion of the Authentication / Authorization feature in use.","computed":true},"token_refresh_extension_hours":{"type":"TypeFloat","description":"The number of hours after session token expiration that a session token can be used to call the token refresh API.","computed":true},"token_store_enabled":{"type":"TypeBool","description":"Are platform-specific security tokens that are obtained during login flows durably stored?","computed":true},"twitter":{"type":"TypeList","computed":true,"elem":{"schema":{"consumer_key":{"type":"TypeString","description":"The OAuth 1.0a consumer key of the Twitter application used for sign-in.","computed":true},"consumer_secret":{"type":"TypeString","description":"The OAuth 1.0a consumer secret of the Twitter application used for sign-in.","computed":true},"consumer_secret_setting_name":{"type":"TypeString","description":"The app setting name that contains the OAuth 1.0a consumer secret of the Twitter application used for sign-in.","computed":true}}}},"unauthenticated_client_action":{"type":"TypeString","description":"The action taken when an unauthenticated client attempts to access the app.","computed":true}}}},"auth_settings_v2":{"type":"TypeList","computed":true,"elem":{"schema":{"active_directory_v2":{"type":"TypeList","computed":true,"elem":{"schema":{"allowed_applications":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"allowed_audiences":{"type":"TypeList","description":"Specifies a list of Allowed audience values to consider when validating JWTs issued by Azure Active Directory.","computed":true,"elem":{"type":"TypeString"}},"allowed_groups":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"allowed_identities":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"client_id":{"type":"TypeString","description":"The ID of the Client to use to authenticate with Azure Active Directory.","computed":true},"client_secret_certificate_thumbprint":{"type":"TypeString","description":"The thumbprint of the certificate used for signing purposes.","computed":true},"client_secret_setting_name":{"type":"TypeString","description":"The App Setting name that contains the client secret of the Client.","computed":true},"jwt_allowed_client_applications":{"type":"TypeList","description":"A list of Allowed Client Applications in the JWT Claim.","computed":true,"elem":{"type":"TypeString"}},"jwt_allowed_groups":{"type":"TypeList","description":"A list of Allowed Groups in the JWT Claim.","computed":true,"elem":{"type":"TypeString"}},"login_parameters":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"tenant_auth_endpoint":{"type":"TypeString","description":"The Azure Tenant URI for the Authenticating Tenant. e.g. `https://login.microsoftonline.com/v2.0/{tenant-guid}/`","computed":true},"www_authentication_disabled":{"type":"TypeBool","description":"Is the www-authenticate provider omitted from the request?","computed":true}}}},"apple_v2":{"type":"TypeList","computed":true,"elem":{"schema":{"client_id":{"type":"TypeString","description":"The OpenID Connect Client ID for the Apple web application.","computed":true},"client_secret_setting_name":{"type":"TypeString","description":"The app setting name that contains the `client_secret` value used for Apple Login.","computed":true},"login_scopes":{"type":"TypeList","description":"Specifies a list of OAuth 2.0 scopes that will be requested as part of Apple Sign-In authentication. If not specified, \"openid\", \"profile\", and \"email\" are used as default scopes.","computed":true,"elem":{"type":"TypeString"}}}}},"auth_enabled":{"type":"TypeBool","description":"Is the AuthV2 Settings be enabled.","computed":true},"azure_static_web_app_v2":{"type":"TypeList","computed":true,"elem":{"schema":{"client_id":{"type":"TypeString","description":"The ID of the Client used to authenticate with Azure Static Web App Authentication.","computed":true}}}},"config_file_path":{"type":"TypeString","description":"The path to the App Auth settings.","computed":true},"custom_oidc_v2":{"type":"TypeList","computed":true,"elem":{"schema":{"authorisation_endpoint":{"type":"TypeString","description":"The endpoint to make the Authorisation Request.","computed":true},"certification_uri":{"type":"TypeString","description":"The endpoint that provides the keys necessary to validate the token.","computed":true},"client_credential_method":{"type":"TypeString","description":"The Client Credential Method used. Currently the only supported value is `ClientSecretPost`","computed":true},"client_id":{"type":"TypeString","description":"The ID of the Client used to authenticate with this Custom OIDC.","computed":true},"client_secret_setting_name":{"type":"TypeString","description":"The App Setting name that contains the secret for this Custom OIDC Client.","computed":true},"issuer_endpoint":{"type":"TypeString","description":"The endpoint that issued the Token.","computed":true},"name":{"type":"TypeString","description":"The name of the Custom OIDC Authentication Provider.","computed":true},"name_claim_type":{"type":"TypeString","description":"The name of the claim that contains the users name.","computed":true},"openid_configuration_endpoint":{"type":"TypeString","description":"The endpoint that contains all the configuration endpoints for this Custom OIDC provider.","computed":true},"scopes":{"type":"TypeList","description":"The list of the scopes that should be requested while authenticating.","computed":true,"elem":{"type":"TypeString"}},"token_endpoint":{"type":"TypeString","description":"The endpoint used to request a Token.","computed":true}}}},"default_provider":{"type":"TypeString","description":"The Default Authentication Provider used when the `unauthenticated_action` is set to `RedirectToLoginPage`.","computed":true},"excluded_paths":{"type":"TypeList","description":"The paths which are excluded from the `unauthenticated_action` when it is set to `RedirectToLoginPage`.","computed":true,"elem":{"type":"TypeString"}},"facebook_v2":{"type":"TypeList","computed":true,"elem":{"schema":{"app_id":{"type":"TypeString","description":"The App ID of the Facebook app used for login.","computed":true},"app_secret_setting_name":{"type":"TypeString","description":"The app setting name that contains the `app_secret` value used for Facebook Login.","computed":true},"graph_api_version":{"type":"TypeString","description":"The version of the Facebook API to be used while logging in.","computed":true},"login_scopes":{"type":"TypeList","description":"Specifies a list of OAuth 2.0 scopes to be requested as part of Facebook Login authentication.","computed":true,"elem":{"type":"TypeString"}}}}},"forward_proxy_convention":{"type":"TypeString","description":"The convention used to determine the url of the request made.","computed":true},"forward_proxy_custom_host_header_name":{"type":"TypeString","description":"The name of the header containing the host of the request.","computed":true},"forward_proxy_custom_scheme_header_name":{"type":"TypeString","description":"The name of the header containing the scheme of the request.","computed":true},"github_v2":{"type":"TypeList","computed":true,"elem":{"schema":{"client_id":{"type":"TypeString","description":"The ID of the GitHub app used for login.","computed":true},"client_secret_setting_name":{"type":"TypeString","description":"The app setting name that contains the `client_secret` value used for GitHub Login.","computed":true},"login_scopes":{"type":"TypeList","description":"Specifies a list of OAuth 2.0 scopes that will be requested as part of GitHub Login authentication.","computed":true,"elem":{"type":"TypeString"}}}}},"google_v2":{"type":"TypeList","computed":true,"elem":{"schema":{"allowed_audiences":{"type":"TypeList","description":"Specifies a list of Allowed Audiences that will be requested as part of Google Sign-In authentication. If not specified, \"openid\", \"profile\", and \"email\" are used as default scopes.","computed":true,"elem":{"type":"TypeString"}},"client_id":{"type":"TypeString","description":"The OpenID Connect Client ID for the Google web application.","computed":true},"client_secret_setting_name":{"type":"TypeString","description":"The app setting name that contains the `client_secret` value used for Google Login.","computed":true},"login_scopes":{"type":"TypeList","description":"The list of OAuth 2.0 scopes requested as part of Google Sign-In authentication. If not specified, \"openid\", \"profile\", and \"email\" are used as default scopes.","computed":true,"elem":{"type":"TypeString"}}}}},"http_route_api_prefix":{"type":"TypeString","description":"The prefix that precedes all the authentication and authorisation paths.","computed":true},"login":{"type":"TypeList","computed":true,"elem":{"schema":{"allowed_external_redirect_urls":{"type":"TypeList","description":"External URLs that can be redirected to as part of logging in or logging out of the app. This is an advanced setting typically only needed by Windows Store application backends. **Note:** URLs within the current domain are always implicitly allowed.","computed":true,"elem":{"type":"TypeString"}},"cookie_expiration_convention":{"type":"TypeString","computed":true},"cookie_expiration_time":{"type":"TypeString","description":"The time after the request is made when the session cookie will expire.","computed":true},"logout_endpoint":{"type":"TypeString","description":"The endpoint to which logout requests are made.","computed":true},"nonce_expiration_time":{"type":"TypeString","description":"The time after the request is made when the nonce will expire.","computed":true},"preserve_url_fragments_for_logins":{"type":"TypeBool","description":"Are the fragments from the request be preserved after the login request is made.","computed":true},"token_refresh_extension_time":{"type":"TypeFloat","description":"The number of hours after session token expiration that a session token can be used to call the token refresh API.","computed":true},"token_store_enabled":{"type":"TypeBool","description":"Is the Token Store configuration Enabled.","computed":true},"token_store_path":{"type":"TypeString","description":"The directory path in the App Filesystem in which the tokens are stored.","computed":true},"token_store_sas_setting_name":{"type":"TypeString","description":"The name of the app setting which contains the SAS URL of the blob storage containing the tokens.","computed":true},"validate_nonce":{"type":"TypeBool","description":"Is the nonce be validated while completing the login flow.","computed":true}}}},"microsoft_v2":{"type":"TypeList","computed":true,"elem":{"schema":{"allowed_audiences":{"type":"TypeList","description":"Specifies a list of Allowed Audiences that will be requested as part of Microsoft Sign-In authentication.","computed":true,"elem":{"type":"TypeString"}},"client_id":{"type":"TypeString","description":"The OAuth 2.0 client ID that was created for the app used for authentication.","computed":true},"client_secret_setting_name":{"type":"TypeString","description":"The app setting name containing the OAuth 2.0 client secret that was created for the app used for authentication.","computed":true},"login_scopes":{"type":"TypeList","description":"The list of Login scopes that will be requested as part of Microsoft Account authentication.","computed":true,"elem":{"type":"TypeString"}}}}},"require_authentication":{"type":"TypeBool","description":"Is the authentication flow used for all requests.","computed":true},"require_https":{"type":"TypeBool","description":"Is HTTPS required on connections?","computed":true},"runtime_version":{"type":"TypeString","description":"The Runtime Version of the Authentication and Authorisation feature of this App.","computed":true},"twitter_v2":{"type":"TypeList","computed":true,"elem":{"schema":{"consumer_key":{"type":"TypeString","description":"The OAuth 1.0a consumer key of the Twitter application used for sign-in.","computed":true},"consumer_secret_setting_name":{"type":"TypeString","description":"The app setting name that contains the OAuth 1.0a consumer secret of the Twitter application used for sign-in.","computed":true}}}},"unauthenticated_action":{"type":"TypeString","computed":true}}}},"backup":{"type":"TypeList","computed":true,"elem":{"schema":{"enabled":{"type":"TypeBool","description":"Is this backup job enabled?","computed":true},"name":{"type":"TypeString","description":"The name of this Backup.","computed":true},"schedule":{"type":"TypeList","computed":true,"elem":{"schema":{"frequency_interval":{"type":"TypeInt","description":"How often the backup should is executed in multiples of the `frequency_unit`.","computed":true},"frequency_unit":{"type":"TypeString","description":"The unit of time for how often the backup takes place.","computed":true},"keep_at_least_one_backup":{"type":"TypeBool","description":"Does the service keep at least one backup, regardless of age of backup.","computed":true},"last_execution_time":{"type":"TypeString","description":"The time the backup was last attempted.","computed":true},"retention_period_days":{"type":"TypeInt","description":"After how many days are backups deleted.","computed":true},"start_time":{"type":"TypeString","description":"When the schedule should start working in RFC-3339 format.","computed":true}}}},"storage_account_url":{"type":"TypeString","description":"The SAS URL to the container.","computed":true}}}},"builtin_logging_enabled":{"type":"TypeBool","computed":true},"client_certificate_enabled":{"type":"TypeBool","computed":true},"client_certificate_exclusion_paths":{"type":"TypeString","description":"Paths to exclude when using client certificates, separated by ;","computed":true},"client_certificate_mode":{"type":"TypeString","computed":true},"connection_string":{"type":"TypeSet","computed":true,"elem":{"schema":{"name":{"type":"TypeString","description":"The name of this Connection.","computed":true},"type":{"type":"TypeString","description":"The type of database.","computed":true},"value":{"type":"TypeString","description":"The connection string value.","computed":true}}}},"content_share_force_disabled":{"type":"TypeBool","computed":true},"custom_domain_verification_id":{"type":"TypeString","computed":true},"daily_memory_time_quota":{"type":"TypeInt","computed":true},"default_hostname":{"type":"TypeString","computed":true},"enabled":{"type":"TypeBool","computed":true},"ftp_publish_basic_authentication_enabled":{"type":"TypeBool","computed":true},"functions_extension_version":{"type":"TypeString","computed":true},"hosting_environment_id":{"type":"TypeString","computed":true},"https_only":{"type":"TypeBool","computed":true},"identity":{"type":"TypeList","computed":true,"elem":{"schema":{"identity_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"kind":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"name":{"type":"TypeString","required":true},"outbound_ip_address_list":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"outbound_ip_addresses":{"type":"TypeString","computed":true},"possible_outbound_ip_address_list":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"possible_outbound_ip_addresses":{"type":"TypeString","computed":true},"public_network_access_enabled":{"type":"TypeBool","computed":true},"resource_group_name":{"type":"TypeString","required":true},"service_plan_id":{"type":"TypeString","computed":true},"site_config":{"type":"TypeList","computed":true,"elem":{"schema":{"always_on":{"type":"TypeBool","computed":true},"api_definition_url":{"type":"TypeString","computed":true},"api_management_api_id":{"type":"TypeString","computed":true},"app_command_line":{"type":"TypeString","computed":true},"app_scale_limit":{"type":"TypeInt","computed":true},"app_service_logs":{"type":"TypeList","computed":true,"elem":{"schema":{"disk_quota_mb":{"type":"TypeInt","computed":true},"retention_period_days":{"type":"TypeInt","computed":true}}}},"application_insights_connection_string":{"type":"TypeString","computed":true},"application_insights_key":{"type":"TypeString","computed":true},"application_stack":{"type":"TypeList","computed":true,"elem":{"schema":{"dotnet_version":{"type":"TypeString","computed":true},"java_version":{"type":"TypeString","computed":true},"node_version":{"type":"TypeString","computed":true},"powershell_core_version":{"type":"TypeString","computed":true},"use_custom_runtime":{"type":"TypeBool","computed":true},"use_dotnet_isolated_runtime":{"type":"TypeBool","computed":true}}}},"cors":{"type":"TypeList","computed":true,"elem":{"schema":{"allowed_origins":{"type":"TypeList","description":"The list of origins that are allowed to make cross-origin calls.","computed":true,"elem":{"type":"TypeString"}},"support_credentials":{"type":"TypeBool","description":"Are credentials allowed in CORS requests?","computed":true}}}},"default_documents":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"detailed_error_logging_enabled":{"type":"TypeBool","computed":true},"elastic_instance_minimum":{"type":"TypeInt","computed":true},"ftps_state":{"type":"TypeString","computed":true},"health_check_eviction_time_in_min":{"type":"TypeInt","computed":true},"health_check_path":{"type":"TypeString","computed":true},"http2_enabled":{"type":"TypeBool","computed":true},"ip_restriction":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"action":{"type":"TypeString","description":"The action to take.","computed":true},"description":{"type":"TypeString","description":"The description of the ip restriction rule.","computed":true},"headers":{"type":"TypeList","computed":true,"elem":{"schema":{"x_azure_fdid":{"type":"TypeList","description":"The list of Azure Front Door IDs.","computed":true,"elem":{"type":"TypeString"}},"x_fd_health_probe":{"type":"TypeList","description":"Specifies if a Front Door Health Probe is expected.","computed":true,"elem":{"type":"TypeString"}},"x_forwarded_for":{"type":"TypeList","description":"The list of addresses for which matching is applied.","computed":true,"elem":{"type":"TypeString"}},"x_forwarded_host":{"type":"TypeList","description":"The list of Hosts for which matching will be applied.","computed":true,"elem":{"type":"TypeString"}}}}},"ip_address":{"type":"TypeString","description":"The CIDR notation of the IP or IP Range to match.","computed":true},"name":{"type":"TypeString","description":"The name used for this `ip_restriction`.","computed":true},"priority":{"type":"TypeInt","description":"The priority value of this `ip_restriction`.","computed":true},"service_tag":{"type":"TypeString","description":"The Service Tag used for this IP Restriction.","computed":true},"virtual_network_subnet_id":{"type":"TypeString","description":"The Virtual Network Subnet ID used for this IP Restriction.","computed":true}}}},"ip_restriction_default_action":{"type":"TypeString","computed":true},"load_balancing_mode":{"type":"TypeString","computed":true},"managed_pipeline_mode":{"type":"TypeString","computed":true},"minimum_tls_version":{"type":"TypeString","computed":true},"pre_warmed_instance_count":{"type":"TypeInt","computed":true},"remote_debugging_enabled":{"type":"TypeBool","computed":true},"remote_debugging_version":{"type":"TypeString","computed":true},"runtime_scale_monitoring_enabled":{"type":"TypeBool","computed":true},"scm_ip_restriction":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"action":{"type":"TypeString","description":"The action to take.","computed":true},"description":{"type":"TypeString","description":"The description of the ip restriction rule.","computed":true},"headers":{"type":"TypeList","computed":true,"elem":{"schema":{"x_azure_fdid":{"type":"TypeList","description":"The list of Azure Front Door IDs.","computed":true,"elem":{"type":"TypeString"}},"x_fd_health_probe":{"type":"TypeList","description":"Specifies if a Front Door Health Probe is expected.","computed":true,"elem":{"type":"TypeString"}},"x_forwarded_for":{"type":"TypeList","description":"The list of addresses for which matching is applied.","computed":true,"elem":{"type":"TypeString"}},"x_forwarded_host":{"type":"TypeList","description":"The list of Hosts for which matching will be applied.","computed":true,"elem":{"type":"TypeString"}}}}},"ip_address":{"type":"TypeString","description":"The CIDR notation of the IP or IP Range to match.","computed":true},"name":{"type":"TypeString","description":"The name used for this `ip_restriction`.","computed":true},"priority":{"type":"TypeInt","description":"The priority value of this `ip_restriction`.","computed":true},"service_tag":{"type":"TypeString","description":"The Service Tag used for this IP Restriction.","computed":true},"virtual_network_subnet_id":{"type":"TypeString","description":"The Virtual Network Subnet ID used for this IP Restriction.","computed":true}}}},"scm_ip_restriction_default_action":{"type":"TypeString","computed":true},"scm_minimum_tls_version":{"type":"TypeString","computed":true},"scm_type":{"type":"TypeString","computed":true},"scm_use_main_ip_restriction":{"type":"TypeBool","computed":true},"use_32_bit_worker":{"type":"TypeBool","computed":true},"vnet_route_all_enabled":{"type":"TypeBool","computed":true},"websockets_enabled":{"type":"TypeBool","computed":true},"windows_fx_version":{"type":"TypeString","computed":true},"worker_count":{"type":"TypeInt","computed":true}}}},"site_credential":{"type":"TypeList","computed":true,"elem":{"schema":{"name":{"type":"TypeString","description":"The Site Credentials Username used for publishing.","computed":true},"password":{"type":"TypeString","description":"The Site Credentials Password used for publishing.","computed":true}}}},"sticky_settings":{"type":"TypeList","computed":true,"elem":{"schema":{"app_setting_names":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"connection_string_names":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}}},"storage_account_access_key":{"type":"TypeString","computed":true},"storage_account_name":{"type":"TypeString","computed":true},"storage_key_vault_secret_id":{"type":"TypeString","description":"The Key Vault Secret ID, including version, that contains the Connection String used to connect to the storage account for this Function App.","computed":true},"storage_uses_managed_identity":{"type":"TypeBool","computed":true},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"virtual_network_subnet_id":{"type":"TypeString","computed":true},"webdeploy_publish_basic_authentication_enabled":{"type":"TypeBool","computed":true}},"timeouts":{"read":10}},"azurerm_windows_web_app":{"schema":{"app_settings":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"auth_settings":{"type":"TypeList","computed":true,"elem":{"schema":{"active_directory":{"type":"TypeList","computed":true,"elem":{"schema":{"allowed_audiences":{"type":"TypeList","description":"The list of Allowed audience values considered when validating JWTs issued by Azure Active Directory.","computed":true,"elem":{"type":"TypeString"}},"client_id":{"type":"TypeString","description":"The ID of the Client to use to authenticate with Azure Active Directory.","computed":true},"client_secret":{"type":"TypeString","description":"The Client Secret for the Client ID.","computed":true},"client_secret_setting_name":{"type":"TypeString","description":"The App Setting name that contains the client secret of the Client.","computed":true}}}},"additional_login_parameters":{"type":"TypeMap","description":"The map of Login Parameters sent to the OpenID Connect authorization endpoint when a user logs in.","computed":true,"elem":{"type":"TypeString"}},"allowed_external_redirect_urls":{"type":"TypeList","description":"Specifies a list of External URLs that can be redirected to as part of logging in or logging out of the Windows Web App.","computed":true,"elem":{"type":"TypeString"}},"default_provider":{"type":"TypeString","description":"The default authentication provider used when multiple providers are configured. Possible values include: `AzureActiveDirectory`, `Facebook`, `Google`, `MicrosoftAccount`, `Twitter`, `Github`.","computed":true},"enabled":{"type":"TypeBool","description":"Is the Authentication / Authorization feature enabled?","computed":true},"facebook":{"type":"TypeList","computed":true,"elem":{"schema":{"app_id":{"type":"TypeString","description":"The App ID of the Facebook app used for login.","computed":true},"app_secret":{"type":"TypeString","description":"The App Secret of the Facebook app used for Facebook Login.","computed":true},"app_secret_setting_name":{"type":"TypeString","description":"The app setting name that contains the `app_secret` value used for Facebook Login.","computed":true},"oauth_scopes":{"type":"TypeList","description":"The list of OAuth 2.0 scopes requested as part of Facebook Login authentication.","computed":true,"elem":{"type":"TypeString"}}}}},"github":{"type":"TypeList","computed":true,"elem":{"schema":{"client_id":{"type":"TypeString","description":"The ID of the GitHub app used for login.","computed":true},"client_secret":{"type":"TypeString","description":"The Client Secret of the GitHub app used for GitHub Login.","computed":true},"client_secret_setting_name":{"type":"TypeString","description":"The app setting name that contains the `client_secret` value used for GitHub Login.","computed":true},"oauth_scopes":{"type":"TypeList","description":"The list of OAuth 2.0 scopes requested as part of GitHub Login authentication.","computed":true,"elem":{"type":"TypeString"}}}}},"google":{"type":"TypeList","computed":true,"elem":{"schema":{"client_id":{"type":"TypeString","description":"The OpenID Connect Client ID for the Google web application.","computed":true},"client_secret":{"type":"TypeString","description":"The client secret associated with the Google web application.","computed":true},"client_secret_setting_name":{"type":"TypeString","description":"The app setting name that contains the `client_secret` value used for Google Login.","computed":true},"oauth_scopes":{"type":"TypeList","description":"The list of OAuth 2.0 scopes that requested as part of Google Sign-In authentication.","computed":true,"elem":{"type":"TypeString"}}}}},"issuer":{"type":"TypeString","description":"The OpenID Connect Issuer URI that represents the entity which issues access tokens.","computed":true},"microsoft":{"type":"TypeList","computed":true,"elem":{"schema":{"client_id":{"type":"TypeString","description":"The OAuth 2.0 client ID that was created for the app used for authentication.","computed":true},"client_secret":{"type":"TypeString","description":"The OAuth 2.0 client secret that was created for the app used for authentication.","computed":true},"client_secret_setting_name":{"type":"TypeString","description":"The app setting name containing the OAuth 2.0 client secret that was created for the app used for authentication.","computed":true},"oauth_scopes":{"type":"TypeList","description":"The list of OAuth 2.0 scopes requested as part of Microsoft Account authentication.","computed":true,"elem":{"type":"TypeString"}}}}},"runtime_version":{"type":"TypeString","description":"The RuntimeVersion of the Authentication / Authorization feature in use.","computed":true},"token_refresh_extension_hours":{"type":"TypeFloat","description":"The number of hours after session token expiration that a session token can be used to call the token refresh API.","computed":true},"token_store_enabled":{"type":"TypeBool","description":"Are platform-specific security tokens that are obtained during login flows durably stored?","computed":true},"twitter":{"type":"TypeList","computed":true,"elem":{"schema":{"consumer_key":{"type":"TypeString","description":"The OAuth 1.0a consumer key of the Twitter application used for sign-in.","computed":true},"consumer_secret":{"type":"TypeString","description":"The OAuth 1.0a consumer secret of the Twitter application used for sign-in.","computed":true},"consumer_secret_setting_name":{"type":"TypeString","description":"The app setting name that contains the OAuth 1.0a consumer secret of the Twitter application used for sign-in.","computed":true}}}},"unauthenticated_client_action":{"type":"TypeString","description":"The action taken when an unauthenticated client attempts to access the app.","computed":true}}}},"auth_settings_v2":{"type":"TypeList","computed":true,"elem":{"schema":{"active_directory_v2":{"type":"TypeList","computed":true,"elem":{"schema":{"allowed_applications":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"allowed_audiences":{"type":"TypeList","description":"Specifies a list of Allowed audience values to consider when validating JWTs issued by Azure Active Directory.","computed":true,"elem":{"type":"TypeString"}},"allowed_groups":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"allowed_identities":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"client_id":{"type":"TypeString","description":"The ID of the Client to use to authenticate with Azure Active Directory.","computed":true},"client_secret_certificate_thumbprint":{"type":"TypeString","description":"The thumbprint of the certificate used for signing purposes.","computed":true},"client_secret_setting_name":{"type":"TypeString","description":"The App Setting name that contains the client secret of the Client.","computed":true},"jwt_allowed_client_applications":{"type":"TypeList","description":"A list of Allowed Client Applications in the JWT Claim.","computed":true,"elem":{"type":"TypeString"}},"jwt_allowed_groups":{"type":"TypeList","description":"A list of Allowed Groups in the JWT Claim.","computed":true,"elem":{"type":"TypeString"}},"login_parameters":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"tenant_auth_endpoint":{"type":"TypeString","description":"The Azure Tenant URI for the Authenticating Tenant. e.g. `https://login.microsoftonline.com/v2.0/{tenant-guid}/`","computed":true},"www_authentication_disabled":{"type":"TypeBool","description":"Is the www-authenticate provider omitted from the request?","computed":true}}}},"apple_v2":{"type":"TypeList","computed":true,"elem":{"schema":{"client_id":{"type":"TypeString","description":"The OpenID Connect Client ID for the Apple web application.","computed":true},"client_secret_setting_name":{"type":"TypeString","description":"The app setting name that contains the `client_secret` value used for Apple Login.","computed":true},"login_scopes":{"type":"TypeList","description":"Specifies a list of OAuth 2.0 scopes that will be requested as part of Apple Sign-In authentication. If not specified, \"openid\", \"profile\", and \"email\" are used as default scopes.","computed":true,"elem":{"type":"TypeString"}}}}},"auth_enabled":{"type":"TypeBool","description":"Is the AuthV2 Settings be enabled.","computed":true},"azure_static_web_app_v2":{"type":"TypeList","computed":true,"elem":{"schema":{"client_id":{"type":"TypeString","description":"The ID of the Client used to authenticate with Azure Static Web App Authentication.","computed":true}}}},"config_file_path":{"type":"TypeString","description":"The path to the App Auth settings.","computed":true},"custom_oidc_v2":{"type":"TypeList","computed":true,"elem":{"schema":{"authorisation_endpoint":{"type":"TypeString","description":"The endpoint to make the Authorisation Request.","computed":true},"certification_uri":{"type":"TypeString","description":"The endpoint that provides the keys necessary to validate the token.","computed":true},"client_credential_method":{"type":"TypeString","description":"The Client Credential Method used. Currently the only supported value is `ClientSecretPost`","computed":true},"client_id":{"type":"TypeString","description":"The ID of the Client used to authenticate with this Custom OIDC.","computed":true},"client_secret_setting_name":{"type":"TypeString","description":"The App Setting name that contains the secret for this Custom OIDC Client.","computed":true},"issuer_endpoint":{"type":"TypeString","description":"The endpoint that issued the Token.","computed":true},"name":{"type":"TypeString","description":"The name of the Custom OIDC Authentication Provider.","computed":true},"name_claim_type":{"type":"TypeString","description":"The name of the claim that contains the users name.","computed":true},"openid_configuration_endpoint":{"type":"TypeString","description":"The endpoint that contains all the configuration endpoints for this Custom OIDC provider.","computed":true},"scopes":{"type":"TypeList","description":"The list of the scopes that should be requested while authenticating.","computed":true,"elem":{"type":"TypeString"}},"token_endpoint":{"type":"TypeString","description":"The endpoint used to request a Token.","computed":true}}}},"default_provider":{"type":"TypeString","description":"The Default Authentication Provider used when the `unauthenticated_action` is set to `RedirectToLoginPage`.","computed":true},"excluded_paths":{"type":"TypeList","description":"The paths which are excluded from the `unauthenticated_action` when it is set to `RedirectToLoginPage`.","computed":true,"elem":{"type":"TypeString"}},"facebook_v2":{"type":"TypeList","computed":true,"elem":{"schema":{"app_id":{"type":"TypeString","description":"The App ID of the Facebook app used for login.","computed":true},"app_secret_setting_name":{"type":"TypeString","description":"The app setting name that contains the `app_secret` value used for Facebook Login.","computed":true},"graph_api_version":{"type":"TypeString","description":"The version of the Facebook API to be used while logging in.","computed":true},"login_scopes":{"type":"TypeList","description":"Specifies a list of OAuth 2.0 scopes to be requested as part of Facebook Login authentication.","computed":true,"elem":{"type":"TypeString"}}}}},"forward_proxy_convention":{"type":"TypeString","description":"The convention used to determine the url of the request made.","computed":true},"forward_proxy_custom_host_header_name":{"type":"TypeString","description":"The name of the header containing the host of the request.","computed":true},"forward_proxy_custom_scheme_header_name":{"type":"TypeString","description":"The name of the header containing the scheme of the request.","computed":true},"github_v2":{"type":"TypeList","computed":true,"elem":{"schema":{"client_id":{"type":"TypeString","description":"The ID of the GitHub app used for login.","computed":true},"client_secret_setting_name":{"type":"TypeString","description":"The app setting name that contains the `client_secret` value used for GitHub Login.","computed":true},"login_scopes":{"type":"TypeList","description":"Specifies a list of OAuth 2.0 scopes that will be requested as part of GitHub Login authentication.","computed":true,"elem":{"type":"TypeString"}}}}},"google_v2":{"type":"TypeList","computed":true,"elem":{"schema":{"allowed_audiences":{"type":"TypeList","description":"Specifies a list of Allowed Audiences that will be requested as part of Google Sign-In authentication. If not specified, \"openid\", \"profile\", and \"email\" are used as default scopes.","computed":true,"elem":{"type":"TypeString"}},"client_id":{"type":"TypeString","description":"The OpenID Connect Client ID for the Google web application.","computed":true},"client_secret_setting_name":{"type":"TypeString","description":"The app setting name that contains the `client_secret` value used for Google Login.","computed":true},"login_scopes":{"type":"TypeList","description":"The list of OAuth 2.0 scopes requested as part of Google Sign-In authentication. If not specified, \"openid\", \"profile\", and \"email\" are used as default scopes.","computed":true,"elem":{"type":"TypeString"}}}}},"http_route_api_prefix":{"type":"TypeString","description":"The prefix that precedes all the authentication and authorisation paths.","computed":true},"login":{"type":"TypeList","computed":true,"elem":{"schema":{"allowed_external_redirect_urls":{"type":"TypeList","description":"External URLs that can be redirected to as part of logging in or logging out of the app. This is an advanced setting typically only needed by Windows Store application backends. **Note:** URLs within the current domain are always implicitly allowed.","computed":true,"elem":{"type":"TypeString"}},"cookie_expiration_convention":{"type":"TypeString","computed":true},"cookie_expiration_time":{"type":"TypeString","description":"The time after the request is made when the session cookie will expire.","computed":true},"logout_endpoint":{"type":"TypeString","description":"The endpoint to which logout requests are made.","computed":true},"nonce_expiration_time":{"type":"TypeString","description":"The time after the request is made when the nonce will expire.","computed":true},"preserve_url_fragments_for_logins":{"type":"TypeBool","description":"Are the fragments from the request be preserved after the login request is made.","computed":true},"token_refresh_extension_time":{"type":"TypeFloat","description":"The number of hours after session token expiration that a session token can be used to call the token refresh API.","computed":true},"token_store_enabled":{"type":"TypeBool","description":"Is the Token Store configuration Enabled.","computed":true},"token_store_path":{"type":"TypeString","description":"The directory path in the App Filesystem in which the tokens are stored.","computed":true},"token_store_sas_setting_name":{"type":"TypeString","description":"The name of the app setting which contains the SAS URL of the blob storage containing the tokens.","computed":true},"validate_nonce":{"type":"TypeBool","description":"Is the nonce be validated while completing the login flow.","computed":true}}}},"microsoft_v2":{"type":"TypeList","computed":true,"elem":{"schema":{"allowed_audiences":{"type":"TypeList","description":"Specifies a list of Allowed Audiences that will be requested as part of Microsoft Sign-In authentication.","computed":true,"elem":{"type":"TypeString"}},"client_id":{"type":"TypeString","description":"The OAuth 2.0 client ID that was created for the app used for authentication.","computed":true},"client_secret_setting_name":{"type":"TypeString","description":"The app setting name containing the OAuth 2.0 client secret that was created for the app used for authentication.","computed":true},"login_scopes":{"type":"TypeList","description":"The list of Login scopes that will be requested as part of Microsoft Account authentication.","computed":true,"elem":{"type":"TypeString"}}}}},"require_authentication":{"type":"TypeBool","description":"Is the authentication flow used for all requests.","computed":true},"require_https":{"type":"TypeBool","description":"Is HTTPS required on connections?","computed":true},"runtime_version":{"type":"TypeString","description":"The Runtime Version of the Authentication and Authorisation feature of this App.","computed":true},"twitter_v2":{"type":"TypeList","computed":true,"elem":{"schema":{"consumer_key":{"type":"TypeString","description":"The OAuth 1.0a consumer key of the Twitter application used for sign-in.","computed":true},"consumer_secret_setting_name":{"type":"TypeString","description":"The app setting name that contains the OAuth 1.0a consumer secret of the Twitter application used for sign-in.","computed":true}}}},"unauthenticated_action":{"type":"TypeString","computed":true}}}},"backup":{"type":"TypeList","computed":true,"elem":{"schema":{"enabled":{"type":"TypeBool","description":"Is this backup job enabled?","computed":true},"name":{"type":"TypeString","description":"The name of this Backup.","computed":true},"schedule":{"type":"TypeList","computed":true,"elem":{"schema":{"frequency_interval":{"type":"TypeInt","description":"How often the backup should is executed in multiples of the `frequency_unit`.","computed":true},"frequency_unit":{"type":"TypeString","description":"The unit of time for how often the backup takes place.","computed":true},"keep_at_least_one_backup":{"type":"TypeBool","description":"Does the service keep at least one backup, regardless of age of backup.","computed":true},"last_execution_time":{"type":"TypeString","description":"The time the backup was last attempted.","computed":true},"retention_period_days":{"type":"TypeInt","description":"After how many days are backups deleted.","computed":true},"start_time":{"type":"TypeString","description":"When the schedule should start working in RFC-3339 format.","computed":true}}}},"storage_account_url":{"type":"TypeString","description":"The SAS URL to the container.","computed":true}}}},"client_affinity_enabled":{"type":"TypeBool","computed":true},"client_certificate_enabled":{"type":"TypeBool","computed":true},"client_certificate_exclusion_paths":{"type":"TypeString","description":"Paths to exclude when using client certificates, separated by ;","computed":true},"client_certificate_mode":{"type":"TypeString","computed":true},"connection_string":{"type":"TypeSet","computed":true,"elem":{"schema":{"name":{"type":"TypeString","description":"The name of this Connection.","computed":true},"type":{"type":"TypeString","description":"The type of database.","computed":true},"value":{"type":"TypeString","description":"The connection string value.","computed":true}}}},"custom_domain_verification_id":{"type":"TypeString","computed":true},"default_hostname":{"type":"TypeString","computed":true},"enabled":{"type":"TypeBool","computed":true},"ftp_publish_basic_authentication_enabled":{"type":"TypeBool","computed":true},"hosting_environment_id":{"type":"TypeString","computed":true},"https_only":{"type":"TypeBool","computed":true},"identity":{"type":"TypeList","computed":true,"elem":{"schema":{"identity_ids":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"principal_id":{"type":"TypeString","computed":true},"tenant_id":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"kind":{"type":"TypeString","computed":true},"location":{"type":"TypeString","computed":true},"logs":{"type":"TypeList","computed":true,"elem":{"schema":{"application_logs":{"type":"TypeList","computed":true,"elem":{"schema":{"azure_blob_storage":{"type":"TypeList","computed":true,"elem":{"schema":{"level":{"type":"TypeString","computed":true},"retention_in_days":{"type":"TypeInt","computed":true},"sas_url":{"type":"TypeString","computed":true}}}},"file_system_level":{"type":"TypeString","computed":true}}}},"detailed_error_messages":{"type":"TypeBool","computed":true},"failed_request_tracing":{"type":"TypeBool","computed":true},"http_logs":{"type":"TypeList","computed":true,"elem":{"schema":{"azure_blob_storage":{"type":"TypeList","computed":true,"elem":{"schema":{"retention_in_days":{"type":"TypeInt","computed":true},"sas_url":{"type":"TypeString","computed":true}}}},"file_system":{"type":"TypeList","computed":true,"elem":{"schema":{"retention_in_days":{"type":"TypeInt","computed":true},"retention_in_mb":{"type":"TypeInt","computed":true}}}}}}}}}},"name":{"type":"TypeString","required":true},"outbound_ip_address_list":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"outbound_ip_addresses":{"type":"TypeString","computed":true},"possible_outbound_ip_address_list":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"possible_outbound_ip_addresses":{"type":"TypeString","computed":true},"public_network_access_enabled":{"type":"TypeBool","computed":true},"resource_group_name":{"type":"TypeString","required":true},"service_plan_id":{"type":"TypeString","computed":true},"site_config":{"type":"TypeList","computed":true,"elem":{"schema":{"always_on":{"type":"TypeBool","computed":true},"api_definition_url":{"type":"TypeString","computed":true},"api_management_api_id":{"type":"TypeString","computed":true},"app_command_line":{"type":"TypeString","computed":true},"application_stack":{"type":"TypeList","computed":true,"elem":{"schema":{"current_stack":{"type":"TypeString","computed":true},"docker_image_name":{"type":"TypeString","computed":true},"docker_registry_password":{"type":"TypeString","computed":true},"docker_registry_url":{"type":"TypeString","computed":true},"docker_registry_username":{"type":"TypeString","computed":true},"dotnet_core_version":{"type":"TypeString","computed":true},"dotnet_version":{"type":"TypeString","computed":true},"java_container":{"type":"TypeString","computed":true},"java_container_version":{"type":"TypeString","computed":true},"java_embedded_server_enabled":{"type":"TypeBool","computed":true},"java_version":{"type":"TypeString","computed":true},"node_version":{"type":"TypeString","computed":true},"php_version":{"type":"TypeString","computed":true},"python":{"type":"TypeBool","computed":true},"python_version":{"type":"TypeString","computed":true},"tomcat_version":{"type":"TypeString","computed":true}}}},"auto_heal_setting":{"type":"TypeList","computed":true,"elem":{"schema":{"action":{"type":"TypeList","computed":true,"elem":{"schema":{"action_type":{"type":"TypeString","computed":true},"custom_action":{"type":"TypeList","computed":true,"elem":{"schema":{"executable":{"type":"TypeString","computed":true},"parameters":{"type":"TypeString","computed":true}}}},"minimum_process_execution_time":{"type":"TypeString","computed":true}}}},"trigger":{"type":"TypeList","computed":true,"elem":{"schema":{"private_memory_kb":{"type":"TypeInt","computed":true},"requests":{"type":"TypeList","computed":true,"elem":{"schema":{"count":{"type":"TypeInt","computed":true},"interval":{"type":"TypeString","computed":true}}}},"slow_request":{"type":"TypeList","computed":true,"elem":{"schema":{"count":{"type":"TypeInt","computed":true},"interval":{"type":"TypeString","computed":true},"time_taken":{"type":"TypeString","computed":true}}}},"slow_request_with_path":{"type":"TypeList","computed":true,"elem":{"schema":{"count":{"type":"TypeInt","computed":true},"interval":{"type":"TypeString","computed":true},"path":{"type":"TypeString","computed":true},"time_taken":{"type":"TypeString","computed":true}}}},"status_code":{"type":"TypeSet","computed":true,"elem":{"schema":{"count":{"type":"TypeInt","computed":true},"interval":{"type":"TypeString","computed":true},"path":{"type":"TypeString","computed":true},"status_code_range":{"type":"TypeString","computed":true},"sub_status":{"type":"TypeInt","computed":true},"win32_status_code":{"type":"TypeInt","computed":true}}}}}}}}}},"container_registry_managed_identity_client_id":{"type":"TypeString","computed":true},"container_registry_use_managed_identity":{"type":"TypeBool","computed":true},"cors":{"type":"TypeList","computed":true,"elem":{"schema":{"allowed_origins":{"type":"TypeList","description":"The list of origins that are allowed to make cross-origin calls.","computed":true,"elem":{"type":"TypeString"}},"support_credentials":{"type":"TypeBool","description":"Are credentials allowed in CORS requests?","computed":true}}}},"default_documents":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"detailed_error_logging_enabled":{"type":"TypeBool","computed":true},"ftps_state":{"type":"TypeString","computed":true},"handler_mapping":{"type":"TypeSet","computed":true,"elem":{"schema":{"arguments":{"type":"TypeString","computed":true},"extension":{"type":"TypeString","computed":true},"script_processor_path":{"type":"TypeString","computed":true}}}},"health_check_eviction_time_in_min":{"type":"TypeInt","computed":true},"health_check_path":{"type":"TypeString","computed":true},"http2_enabled":{"type":"TypeBool","computed":true},"ip_restriction":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"action":{"type":"TypeString","description":"The action to take.","computed":true},"description":{"type":"TypeString","description":"The description of the ip restriction rule.","computed":true},"headers":{"type":"TypeList","computed":true,"elem":{"schema":{"x_azure_fdid":{"type":"TypeList","description":"The list of Azure Front Door IDs.","computed":true,"elem":{"type":"TypeString"}},"x_fd_health_probe":{"type":"TypeList","description":"Specifies if a Front Door Health Probe is expected.","computed":true,"elem":{"type":"TypeString"}},"x_forwarded_for":{"type":"TypeList","description":"The list of addresses for which matching is applied.","computed":true,"elem":{"type":"TypeString"}},"x_forwarded_host":{"type":"TypeList","description":"The list of Hosts for which matching will be applied.","computed":true,"elem":{"type":"TypeString"}}}}},"ip_address":{"type":"TypeString","description":"The CIDR notation of the IP or IP Range to match.","computed":true},"name":{"type":"TypeString","description":"The name used for this `ip_restriction`.","computed":true},"priority":{"type":"TypeInt","description":"The priority value of this `ip_restriction`.","computed":true},"service_tag":{"type":"TypeString","description":"The Service Tag used for this IP Restriction.","computed":true},"virtual_network_subnet_id":{"type":"TypeString","description":"The Virtual Network Subnet ID used for this IP Restriction.","computed":true}}}},"ip_restriction_default_action":{"type":"TypeString","computed":true},"load_balancing_mode":{"type":"TypeString","computed":true},"local_mysql_enabled":{"type":"TypeBool","computed":true},"managed_pipeline_mode":{"type":"TypeString","computed":true},"minimum_tls_version":{"type":"TypeString","computed":true},"remote_debugging_enabled":{"type":"TypeBool","computed":true},"remote_debugging_version":{"type":"TypeString","computed":true},"scm_ip_restriction":{"type":"TypeList","optional":true,"computed":true,"elem":{"schema":{"action":{"type":"TypeString","description":"The action to take.","computed":true},"description":{"type":"TypeString","description":"The description of the ip restriction rule.","computed":true},"headers":{"type":"TypeList","computed":true,"elem":{"schema":{"x_azure_fdid":{"type":"TypeList","description":"The list of Azure Front Door IDs.","computed":true,"elem":{"type":"TypeString"}},"x_fd_health_probe":{"type":"TypeList","description":"Specifies if a Front Door Health Probe is expected.","computed":true,"elem":{"type":"TypeString"}},"x_forwarded_for":{"type":"TypeList","description":"The list of addresses for which matching is applied.","computed":true,"elem":{"type":"TypeString"}},"x_forwarded_host":{"type":"TypeList","description":"The list of Hosts for which matching will be applied.","computed":true,"elem":{"type":"TypeString"}}}}},"ip_address":{"type":"TypeString","description":"The CIDR notation of the IP or IP Range to match.","computed":true},"name":{"type":"TypeString","description":"The name used for this `ip_restriction`.","computed":true},"priority":{"type":"TypeInt","description":"The priority value of this `ip_restriction`.","computed":true},"service_tag":{"type":"TypeString","description":"The Service Tag used for this IP Restriction.","computed":true},"virtual_network_subnet_id":{"type":"TypeString","description":"The Virtual Network Subnet ID used for this IP Restriction.","computed":true}}}},"scm_ip_restriction_default_action":{"type":"TypeString","computed":true},"scm_minimum_tls_version":{"type":"TypeString","computed":true},"scm_type":{"type":"TypeString","computed":true},"scm_use_main_ip_restriction":{"type":"TypeBool","computed":true},"use_32_bit_worker":{"type":"TypeBool","computed":true},"virtual_application":{"type":"TypeList","computed":true,"elem":{"schema":{"physical_path":{"type":"TypeString","computed":true},"preload":{"type":"TypeBool","computed":true},"virtual_directory":{"type":"TypeList","computed":true,"elem":{"schema":{"physical_path":{"type":"TypeString","computed":true},"virtual_path":{"type":"TypeString","computed":true}}}},"virtual_path":{"type":"TypeString","computed":true}}}},"vnet_route_all_enabled":{"type":"TypeBool","computed":true},"websockets_enabled":{"type":"TypeBool","computed":true},"windows_fx_version":{"type":"TypeString","computed":true},"worker_count":{"type":"TypeInt","computed":true}}}},"site_credential":{"type":"TypeList","computed":true,"elem":{"schema":{"name":{"type":"TypeString","description":"The Site Credentials Username used for publishing.","computed":true},"password":{"type":"TypeString","description":"The Site Credentials Password used for publishing.","computed":true}}}},"sticky_settings":{"type":"TypeList","computed":true,"elem":{"schema":{"app_setting_names":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}},"connection_string_names":{"type":"TypeList","computed":true,"elem":{"type":"TypeString"}}}}},"storage_account":{"type":"TypeList","computed":true,"elem":{"schema":{"access_key":{"type":"TypeString","computed":true},"account_name":{"type":"TypeString","computed":true},"mount_path":{"type":"TypeString","computed":true},"name":{"type":"TypeString","computed":true},"share_name":{"type":"TypeString","computed":true},"type":{"type":"TypeString","computed":true}}}},"tags":{"type":"TypeMap","computed":true,"elem":{"type":"TypeString"}},"virtual_network_subnet_id":{"type":"TypeString","computed":true},"webdeploy_publish_basic_authentication_enabled":{"type":"TypeBool","computed":true}},"timeouts":{"read":10}}}}} diff --git a/.teamcity/components/generated/services.kt b/.teamcity/components/generated/services.kt index a84ce744aaa8..de2a29b83e6c 100644 --- a/.teamcity/components/generated/services.kt +++ b/.teamcity/components/generated/services.kt @@ -124,7 +124,9 @@ var services = mapOf( "synapse" to "Synapse", "systemcentervirtualmachinemanager" to "System Center Virtual Machine Manager", "trafficmanager" to "Traffic Manager", + "codesigning" to "Trusted Signing", "vmware" to "VMware", + "videoindexer" to "VideoIndexer", "voiceservices" to "Voice Services", "web" to "Web", "workloads" to "Workloads" diff --git a/CHANGELOG.md b/CHANGELOG.md index e77a4eb15072..172afc03d561 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,93 @@ +## 4.9.0 (Unreleased) + +FEATURES: + +* **New Resource**: `azurerm_dashboard_grafana_managed_private_endpoint` [GH-27781] +* **New Resource**: `azurerm_data_protection_backup_instance_mysql_flexible_server` [GH-27464] + +ENHANCEMENTS: + +* dependencies - update `go-azure-sdk` to `v0.20241104.1140654` [GH-27896] +* dependencies - update `go-azure-helpers` to `v0.71.0` [GH-27897] +* `azurerm_public_ip_prefix` - add support for the `sku_tier` property [GH-27882] +* `azurerm_oracle_cloud_vm_cluster` - add support for the `domain`, `scan_listener_port_tcp`, `scan_listener_port_tcp_ssl` and `zone_id` properties [GH-27808] +* `azurerm_public_ip` - support for the d`omain_name_label_scope` property [GH-27748] +* `storage` - allow `azurerm_storage_account` to be used in Data Plane restrictive environments [GH-27818] +* `azurerm_subnet` - `default_outbound_access_enabled` can now be updated [GH-27858] +* `azurerm_storage_container` - support for the `storage_account_id` property [GH-27733] +* `azurerm_storage_share` - support for the `storage_account_id` property [GH-27733] + +## 4.8.0 (October 31, 2024) + +FEATURES: + +* **New Data Source**: `azurerm_virtual_network_peering` ([#27530](https://github.com/hashicorp/terraform-provider-azurerm/issues/27530)) +* **New Resource**: `azurerm_machine_learning_workspace_network_outbound_rule_fqdn` ([#27384](https://github.com/hashicorp/terraform-provider-azurerm/issues/27384)) +* **New Resource**: `azurerm_stack_hci_extension` ([#26929](https://github.com/hashicorp/terraform-provider-azurerm/issues/26929)) +* **New Resource**: `azurerm_stack_hci_marketplace_gallery_image` ([#27532](https://github.com/hashicorp/terraform-provider-azurerm/issues/27532)) +* **New Resource**: `azurerm_trusted_signing_account` ([#27720](https://github.com/hashicorp/terraform-provider-azurerm/issues/27720)) + +ENHANCEMENTS: + +* `mysql` - upgrade api version to `2023-12-30` ([#27767](https://github.com/hashicorp/terraform-provider-azurerm/issues/27767)) +* `network` - upgrade api version to `2024-03-01 ` ([#27746](https://github.com/hashicorp/terraform-provider-azurerm/issues/27746)) +* `azurerm_cosmosdb_account`: support for CMK through `managed_hsm_key_id` property ([#26521](https://github.com/hashicorp/terraform-provider-azurerm/issues/26521)) +* `azurerm_cosmosdb_account` - support further versions for `mongo_server_version` ([#27763](https://github.com/hashicorp/terraform-provider-azurerm/issues/27763)) +* `azurerm_container_app_environment` - changing the `log_analytics_workspace_id` property no longer creates a new resource ([#27794](https://github.com/hashicorp/terraform-provider-azurerm/issues/27794)) +* `azurerm_data_factory_linked_service_azure_sql_database` - add support for the `credential_name` property ([#27629](https://github.com/hashicorp/terraform-provider-azurerm/issues/27629)) +* `azurerm_key_vault_key` - `expiration_date` only recreates the resource when it is removed from the config file ([#27813](https://github.com/hashicorp/terraform-provider-azurerm/issues/27813)) +* `azurerm_kubernetes_cluster` - fix issue where`maintenance_window_auto_upgrade`/`maintenance_window_auto_upgrade`/`maintenance_window_node_os ` might not be read into state ([#26915](https://github.com/hashicorp/terraform-provider-azurerm/issues/26915)) +* `azurerm_kubernetes_cluster` - support for the `backend_pool_type` property ([#27596](https://github.com/hashicorp/terraform-provider-azurerm/issues/27596)) +* `azurerm_kubernetes_cluster` - support for the `daemonset_eviction_for_empty_nodes_enabled`, `daemonset_eviction_for_occupied_nodes_enabled`, and `ignore_daemonsets_utilization_enabled` properties ([#27588](https://github.com/hashicorp/terraform-provider-azurerm/issues/27588)) +* `azurerm_load_test` - `description` can now be updated ([#27800](https://github.com/hashicorp/terraform-provider-azurerm/issues/27800)) +* `azurerm_oracle_cloud_vm_cluster` - export the `ocid` property ([#27785](https://github.com/hashicorp/terraform-provider-azurerm/issues/27785)) +* `azurerm_orchestrated_virtual_machine_scale_set` - add support for `sku_profile` block ([#27599](https://github.com/hashicorp/terraform-provider-azurerm/issues/27599)) +* `azurerm_web_application_firewall_policy` - add support for `policy_settings.0.file_upload_enforcement` ([#27774](https://github.com/hashicorp/terraform-provider-azurerm/issues/27774)) + +BUG FIXES: + +* `azurerm_automation_hybrid_runbook_worker_group` - correctly mark resource as gone if it's absent when reading it ([#27797](https://github.com/hashicorp/terraform-provider-azurerm/issues/27797)) +* `azurerm_automation_hybrid_runbook_worker` - correctly mark resource as gone if it's absent when reading it ([#27797](https://github.com/hashicorp/terraform-provider-azurerm/issues/27797)) +* `azurerm_automation_python3_package` - correctly mark resource as gone if it's absent when reading it ([#27797](https://github.com/hashicorp/terraform-provider-azurerm/issues/27797)) +* `azurerm_data_protection_backup_vault` - prevent panic when checking value of `cross_region_restore_enabled` ([#27762](https://github.com/hashicorp/terraform-provider-azurerm/issues/27762)) +* `azurerm_role_management_policy` - fix panic when unmarshalling the policy into a specific type ([#27731](https://github.com/hashicorp/terraform-provider-azurerm/issues/27731)) +* `azurerm_security_center_subscription_pricing` - correctly type assert the `additional_extension_properties` property when building the payload ([#27721](https://github.com/hashicorp/terraform-provider-azurerm/issues/27721)) +* `azurerm_synapse_workspace_aad_admin` - will no correctly delete when using `azurerm_synapse_workspace_aad_admin` with `azurerm_synapse_workspace` ([#27606](https://github.com/hashicorp/terraform-provider-azurerm/issues/27606)) +* `azurerm_windows_function_app_slot` - fixed panic in state migration ([#27700](https://github.com/hashicorp/terraform-provider-azurerm/issues/27700)) + +## 4.7.0 (October 24, 2024) + +FEATURES: + +* **New Data Source**: `azurerm_oracle_adbs_character_sets` ([#27698](https://github.com/hashicorp/terraform-provider-azurerm/issues/27698)) +* **New Data Source**: `azurerm_oracle_adbs_national_character_sets` ([#27698](https://github.com/hashicorp/terraform-provider-azurerm/issues/27698)) +* **New Data Source**: `azurerm_oracle_autonomous_database` ([#27696](https://github.com/hashicorp/terraform-provider-azurerm/issues/27696)) +* **New Data Source**: `azurerm_oracle_db_nodes` ([#27698](https://github.com/hashicorp/terraform-provider-azurerm/issues/27698)) +* **New Data Source**: `azurerm_oracle_db_system_shapes` ([#27698](https://github.com/hashicorp/terraform-provider-azurerm/issues/27698)) +* **New Data Source**: `azurerm_oracle_gi_versions` ([#27698](https://github.com/hashicorp/terraform-provider-azurerm/issues/27698)) +* **New Resource**: `azurerm_dev_center_project_pool` ([#27706](https://github.com/hashicorp/terraform-provider-azurerm/issues/27706)) +* **New Resource**: `azurerm_oracle_autonomous_database` ([#27696](https://github.com/hashicorp/terraform-provider-azurerm/issues/27696)) +* **New Resource**: `azurerm_video_indexer_account` ([#27632](https://github.com/hashicorp/terraform-provider-azurerm/issues/27632)) + +ENHANCEMENTS: + +* dependencies - update `go-azure-sdk` to `v0.20241021.1074254` ([#27713](https://github.com/hashicorp/terraform-provider-azurerm/issues/27713)) +* `newrelic` - upgrade api version to `2024-03-01` ([#27135](https://github.com/hashicorp/terraform-provider-azurerm/issues/27135)) +* `cosmosdb` - upgrade api version to `2024-08-15` ([#27659](https://github.com/hashicorp/terraform-provider-azurerm/issues/27659)) +* `azurerm_application_gateway` - support for the new `Basic` SKU value ([#27440](https://github.com/hashicorp/terraform-provider-azurerm/issues/27440)) +* `azurerm_consumption_budget_management_group` - the property `notification.threshold_type` can now be updated ([#27511](https://github.com/hashicorp/terraform-provider-azurerm/issues/27511)) +* `azurerm_consumption_budget_resource_group` - the property `notification.threshold_type` can now be updated ([#27511](https://github.com/hashicorp/terraform-provider-azurerm/issues/27511)) +* `azurerm_container_app` - add support for the `template.container.readiness_probe.initial_delay` and `template.container.startup_probe.initial_delay` properties ([#27551](https://github.com/hashicorp/terraform-provider-azurerm/issues/27551)) +* `azurerm_mssql_managed_instance` - the `storage_account_type` property can now be updated ([#27737](https://github.com/hashicorp/terraform-provider-azurerm/issues/27737)) + +BUG FIXES: + +* `azurerm_automation_software_update_configuration` - correct validation to not allow `5` and allow `-1` ([#25574](https://github.com/hashicorp/terraform-provider-azurerm/issues/25574)) +* `azurerm_cosmosdb_sql_container` - fix recreation logic for `partition_key_version` ([#27692](https://github.com/hashicorp/terraform-provider-azurerm/issues/27692)) +* `azurerm_mssql_database` - updating short term retention policy now works as expected ([#27714](https://github.com/hashicorp/terraform-provider-azurerm/issues/27714)) +* `azurerm_network_watcher_flow_log` - fix issue where `tags` were not being updated ([#27389](https://github.com/hashicorp/terraform-provider-azurerm/issues/27389)) +* `azurerm_postgresql_flexible_server_virtual_endpoint` - retrieve and parse `replica_server_id` for cross-region scenarios as well as remove custom poller for the delete operation ([#27509](https://github.com/hashicorp/terraform-provider-azurerm/issues/27509)) + ## 4.6.0 (October 18, 2024) FEATURES: diff --git a/contributing/topics/guide-new-data-source.md b/contributing/topics/guide-new-data-source.md index 0a11dcd54f08..120b3ae090bd 100755 --- a/contributing/topics/guide-new-data-source.md +++ b/contributing/topics/guide-new-data-source.md @@ -118,33 +118,37 @@ To go through these in turn: * `Arguments` returns a list of schema fields which are user-specifiable - either Required or Optional. * `Attributes` returns a list of schema fields which are Computed (read-only). -* `ModelObject` returns a reference to a Go struct which is used as the Model for this Data Source (this can also return `nil` if there's no model). +* `ModelObject` returns a reference to a Go struct which is used as the Model for this Data Source. * `ResourceType` returns the name of this resource within the Provider (for example `azurerm_resource_group_example`). * `Read` returns a function defining both the Timeout and the Read function (which retrieves information from the Azure API) for this Data Source. ```go +type ResourceGroupExampleDataSourceModel struct { + Name string `tfschema:"name"` + Location string `tfschema:"location"` + Tags map[string]string `tfschema:"tags"` +} + func (ResourceGroupExampleDataSource) Arguments() map[string]*pluginsdk.Schema { return map[string]*pluginsdk.Schema{ "name": { - Type: pluginsdk.TypeString, - Required: true, + Type: pluginsdk.TypeString, + Required: true, + ValidateFunc: validation.StringIsNotEmpty, }, } } func (ResourceGroupExampleDataSource) Attributes() map[string]*pluginsdk.Schema { return map[string]*pluginsdk.Schema{ - "location": { - Type: pluginsdk.TypeString, - Computed: true, - }, + "location": commonschema.LocationComputed(), "tags": commonschema.TagsDataSource(), } } func (ResourceGroupExampleDataSource) ModelObject() interface{} { - return nil + return &ResourceGroupExampleDataSourceModel } func (ResourceGroupExampleDataSource) ResourceType() string { @@ -154,7 +158,7 @@ func (ResourceGroupExampleDataSource) ResourceType() string { > In this case we're using the resource type `azurerm_resource_group_example` as [an existing Data Source for `azurerm_resource_group` exists](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/data-sources/resource_group) and the names need to be unique. -These functions define a Data Source called `azurerm_resource_group_example`, which has one Required argument called `name` and two Computed arguments called `location` and `tags`. We'll come back to `ModelObject` later. +These functions define a Data Source called `azurerm_resource_group_example`, which has one Required argument called `name` and two Computed arguments called `location` and `tags`. --- @@ -171,33 +175,41 @@ func (ResourceGroupExampleDataSource) Read() sdk.ResourceFunc { // the Func returns a function which retrieves the current state of the Resource Group into the state Func: func(ctx context.Context, metadata sdk.ResourceMetaData) error { - client := metadata.Client.Resource.GroupsClient + client := metadata.Client.Resource.GroupsClient // retrieve the Name for this Resource Group from the Terraform Config // and then create a Resource ID for this Resource Group - // using the Subscription ID & name - subscriptionId := metadata.Client.Account.SubscriptionId - name := metadata.ResourceData.Get("name").(string) - id := resources.NewResourceGroupExampleID(subscriptionId, name) + // using the Subscription ID & name + subscriptionId := metadata.Client.Account.SubscriptionId + + // declare a variable called state which we use to decode and encode values into + // this simultaneously gets values that have been set in the config for us + // and also allows us to set values into state + var state ResourceGroupExampleDataSourceModel + if err := metadata.Decode(&state); err != nil { + return fmt.Errorf("decoding: %+v", err) + } - // then retrieve the Resource Group by it's ID - resp, err := client.Get(ctx, id) - if err != nil { + id := resources.NewResourceGroupExampleID(subscriptionId, state.Name) + + // then retrieve the Resource Group by it's ID + resp, err := client.Get(ctx, id) + if err != nil { // if the Resource Group doesn't exist (e.g. we get a 404 Not Found) - // since this is a Data Source we must return an error if it's Not Found - if response.WasNotFound(resp.HttpResponse) { - return fmt.Errorf("%s was not found", id) - } + // since this is a Data Source we must return an error if it's Not Found + if response.WasNotFound(resp.HttpResponse) { + return fmt.Errorf("%s was not found", id) + } - // otherwise it's a genuine error (auth/api error etc) so raise it + // otherwise it's a genuine error (auth/api error etc) so raise it // there should be enough context for the user to interpret the error - // or raise a bug report if there's something we should handle - return fmt.Errorf("retrieving %s: %+v", id, err) - } + // or raise a bug report if there's something we should handle + return fmt.Errorf("retrieving %s: %+v", id, err) + } // now we know the Resource Group exists, set the Resource ID for this Data Source - // this means that Terraform will track this as existing - metadata.SetID(id) + // this means that Terraform will track this as existing + metadata.SetID(id) // at this point we can set information about this Resource Group into the State // whilst traditionally we would do this via `metadata.ResourceData.Set("foo", "somevalue") @@ -212,17 +224,14 @@ func (ResourceGroupExampleDataSource) Read() sdk.ResourceFunc { // lower-cased singular word with no spaces (e.g. "westeurope") so this is consistent // for users if model := resp.Model; model != nil { - metadata.ResourceData.Set("location", location.NormalizeNilable(model.Location)) - + state.Location = location.NormalizeNilable(model.Location) + state.Tags = pointer.From(model.Tags) props := model.Properties; props != nil { // If the data source exposes additional properties that live within the Properties - // model of the response they would be set into state here. - } - // (as above) Tags are a little different, so we have a dedicated helper function - // to flatten these consistently across the Provider - return tags.FlattenAndSet(metadata.ResourceData, model.Tags) - } - return nil + // model of the response they would be set into state here. + } + } + return metadata.Encode(&state) }, } } @@ -249,23 +258,28 @@ import ( type ResourceGroupExampleDataSource struct{} +type ResourceGroupExampleDataSourceModel struct { + Name string `tfschema:"name"` + Location string `tfschema:"location"` + Tags map[string]string `tfschema:"tags"` +} + + func (d ResourceGroupExampleDataSource) Arguments() map[string]*pluginsdk.Schema { return map[string]*pluginsdk.Schema{ "name": { - Type: pluginsdk.TypeString, - Required: true, + Type: pluginsdk.TypeString, + Required: true, + ValidateFunc: validation.StringIsNotEmpty, }, } } func (d ResourceGroupExampleDataSource) Attributes() map[string]*pluginsdk.Schema { return map[string]*pluginsdk.Schema{ - "location": { - Type: pluginsdk.TypeString, - Computed: true, - }, + "location": commonschema.LocationComputed(), + "tags": commonschema.TagsDataSource(), - } } @@ -283,8 +297,13 @@ func (d ResourceGroupExampleDataSource) Read() sdk.ResourceFunc { Func: func(ctx context.Context, metadata sdk.ResourceMetaData) error { client := metadata.Client.Resource.GroupsClient subscriptionId := metadata.Client.Account.SubscriptionId - - id := resources.NewResourceGroupExampleID(subscriptionId, metadata.ResourceData.Get("name").(string)) + + var state ResourceGroupExampleDataSourceModel + if err := metadata.Decode(&state); err != nil { + return fmt.Errorf("decoding: %+v", err) + } + + id := resources.NewResourceGroupExampleID(subscriptionId, state.Name) resp, err := client.Get(ctx, id) if err != nil { @@ -297,10 +316,10 @@ func (d ResourceGroupExampleDataSource) Read() sdk.ResourceFunc { metadata.SetID(id) if model := resp.Model; model != nil { - metadata.ResourceData.Set("location", location.NormalizeNilable(model.Location)) - return tags.FlattenAndSet(metadata.ResourceData, model.Tags) + state.Location = location.NormalizeNilable(model.Location) + state.Tags = pointer.From(model.Tags) } - return nil + return metadata.Encode(&state) }, } } diff --git a/contributing/topics/guide-new-resource.md b/contributing/topics/guide-new-resource.md index af450071ed54..6fa1d2bcd69c 100755 --- a/contributing/topics/guide-new-resource.md +++ b/contributing/topics/guide-new-resource.md @@ -129,11 +129,18 @@ To go through these in turn: * `IDValidationFunc` returns a function which validates the Resource ID provided during `terraform import` to ensure it matches what we expect for this Resource. ```go +type ResourceGroupExampleResourceModel struct { + Name string `tfschema:"name"` + Location string `tfschema:"location"` + Tags map[string]string `tfschema:"tags"` +} + func (ResourceGroupExampleResource) Arguments() map[string]*pluginsdk.Schema { return map[string]*pluginsdk.Schema{ "name": { - Type: pluginsdk.TypeString, - Required: true, + Type: pluginsdk.TypeString, + Required: true, + ValidateFunc: validation.StringIsNotEmpty, }, "location": commonschema.Location(), @@ -147,7 +154,7 @@ func (ResourceGroupExampleResource) Attributes() map[string]*pluginsdk.Schema { } func (ResourceGroupExampleResource) ModelObject() interface{} { - return nil + return &ResourceGroupExampleResourceModel } func (ResourceGroupExampleResource) ResourceType() string { @@ -179,7 +186,12 @@ func (r ResourceGroupExampleResource) Create() sdk.ResourceFunc { // and then create a Resource ID for this Resource Group // using the Subscription ID & name subscriptionId := metadata.Client.Account.SubscriptionId - id := resources.NewResourceGroupID(subscriptionId, metadata.ResourceData.Get("name").(string)) + + var config ResourceGroupExampleResourceModel + if err := metadata.Decode(&config); err != nil { + return fmt.Errorf("decoding: %+v", err) + } + id := resources.NewResourceGroupID(subscriptionId, config.Name) // then we want to check for the presence of an existing resource with the resource's ID // this is because the Azure API uses the `name` as a unique idenfitier and Upserts @@ -194,8 +206,8 @@ func (r ResourceGroupExampleResource) Create() sdk.ResourceFunc { // create the Resource Group param := resources.Group{ - Location: pointer.To(location.Normalize(metadata.ResourceData.Get("location").(string))), - Tags: tags.Expand(metadata.ResourceData.Get("tags").(map[string]interface{})), + Location: pointer.To(location.Normalize(config.Location)), + Tags: pointer.To(config.Tags), } if _, err := client.CreateOrUpdate(ctx, id, param); err != nil { return fmt.Errorf("creating %s: %+v", id, err) @@ -230,6 +242,10 @@ func (r ResourceGroupExampleResource) Update() sdk.ResourceFunc { return err } + var config ResourceGroupExampleResourceModel + if err := metadata.Decode(&config); err != nil { + return fmt.Errorf("decoding: %+v", err) + } // update the Resource Group // NOTE: for a more complex resource we'd recommend retrieving the existing Resource from the // API and then conditionally updating it when fields in the config have been updated, which @@ -258,8 +274,8 @@ func (r ResourceGroupExampleResource) Update() sdk.ResourceFunc { // However since a Resource Group only has one field which is updatable (tags) so in this case we'll only // enter the update function if `tags` has been updated. param := resources.Group{ - Location: pointer.To(location.Normalize(metadata.ResourceData.Get("location").(string))), - Tags: tags.Expand(metadata.ResourceData.Get("tags").(map[string]interface{})), + Location: pointer.To(location.Normalize(config.Location)), + Tags: pointer.To(config.Tags), } if _, err := client.CreateOrUpdate(ctx, *id, param); err != nil { return fmt.Errorf("updating %s: %+v", id, err) @@ -286,34 +302,36 @@ func (ResourceGroupExampleResource) Read() sdk.ResourceFunc { // the Func returns a function which looks up the state of the Resource Group and sets it into the state Func: func(ctx context.Context, metadata sdk.ResourceMetaData) error { - client := metadata.Client.Resource.GroupsClient - - // parse the Resource Group ID from the `id` field - id, err := resources.ParseResourceGroupID(metadata.ResourceData.Id()) + client := metadata.Client.Resource.GroupsClient + + // parse the Resource Group ID from the `id` field + id, err := resources.ParseResourceGroupID(metadata.ResourceData.Id()) if err != nil { return err } - // then retrieve the Resource Group by its ID - resp, err := client.Get(ctx, *id) - if err != nil { + // then retrieve the Resource Group by its ID + resp, err := client.Get(ctx, *id) + if err != nil { // if the Resource Group doesn't exist (e.g. we get a 404 Not Found) // since this is a Resource (e.g. we created it/it was imported into the state) - // it previously existed - so we must mark this as "gone" for Terraform - if response.WasNotFound(resp.HttpResponse) { - return metadata.MarkAsGone(id) - } + // it previously existed - so we must mark this as "gone" for Terraform + if response.WasNotFound(resp.HttpResponse) { + return metadata.MarkAsGone(id) + } - // otherwise it's a genuine error (auth/api error etc) so raise it + // otherwise it's a genuine error (auth/api error etc) so raise it // there should be enough context for the user to interpret the error - // or raise a bug report if there's something we should handle - return fmt.Errorf("retrieving %s: %+v", id, err) - } + // or raise a bug report if there's something we should handle + return fmt.Errorf("retrieving %s: %+v", id, err) + } - // at this point we can set information about this Resource Group into the State - // identifier fields such as the name, resource group name to name a few need to be sourced + // at this point we can set information about this Resource Group into the State + // identifier fields such as the name, resource group name to name a few need to be sourced // from the Resource ID instead of the API response - metadata.ResourceData.Set("name", id.ResourceGroupName) + state := ResourceGroupExampleResourceModel{ + Name: id.ResourceGroupName, + } // the SDK will return a Model as well as a nested Properties object for the resource // for readability and consistency we assign the Model to a variable and nil check as shown below. @@ -321,29 +339,23 @@ func (ResourceGroupExampleResource) Read() sdk.ResourceFunc { // the Model is nil since this will be caught earlier on. We still nil check to prevent the provider from // crashing. if model := resp.Model; model != nil { - // the Location and Tags fields are a little different - and we have a couple of normalization - // functions for these. - - // whilst this may seem like a weird thing to call out in an example, because these two fields - // are present on the majority of resources, we hope it explains why they're a little different + // the Location field is a little different - and we have a normalization + // function for this. - // in this case the Location can be returned in various different forms, for example - // "West Europe", "WestEurope" or "westeurope" - as such we normalize these into a - // lower-cased singular word with no spaces (e.g. "westeurope") so this is consistent - // for users - metadata.ResourceData.Set("location", location.NormalizeNilable(model.Location)) - - if props := model.Properties; props != nil { - // if there are properties to set into state do that here - } + // whilst this may seem like a weird thing to call out in an example, because these two fields + // are present on the majority of resources, we hope it explains why they're a little different - // (as above) Tags are a little different, so we have a dedicated helper function - // to flatten these consistently across the Provider - if err := tags.FlattenAndSet(metadata.ResourceData, model.Tags); err != nil { - return fmt.Errorf("setting `tags`: %+v", err) - } - } - return nil + // in this case the Location can be returned in various different forms, for example + // "West Europe", "WestEurope" or "westeurope" - as such we normalize these into a + // lower-cased singular word with no spaces (e.g. "westeurope") so this is consistent + // for users + state.Location = location.NormalizeNilable(model.Location) + state.Tags = pointer.From(model.Tags) + if props := model.Properties; props != nil { + // if there are properties to set into state do that here + } + } + return metadata.Encode(&state) }, } } @@ -375,7 +387,7 @@ func (ResourceGroupExampleResource) Delete() sdk.ResourceFunc { // method in the SDK if err := client.DeleteThenPoll(ctx, *id, resources.DefaultDeleteOperationOptions()); err != nil { return fmt.Errorf("deleting %s: %+v", *id, err) - } + } return nil }, } @@ -416,11 +428,18 @@ var _ sdk.Resource = ResourceGroupExampleResource{} type ResourceGroupExampleResource struct{} +type ResourceGroupExampleResourceModel struct { + Name string `tfschema:"name"` + Location string `tfschema:"location"` + Tags map[string]string `tfschema:"tags"` +} + func (ResourceGroupExampleResource) Arguments() map[string]*pluginsdk.Schema { return map[string]*pluginsdk.Schema{ "name": { - Type: pluginsdk.TypeString, - Required: true, + Type: pluginsdk.TypeString, + Required: true, + ValidateFunc: validation.StringIsNotEmpty, }, "location": commonschema.Location(), @@ -434,7 +453,7 @@ func (ResourceGroupExampleResource) Attributes() map[string]*pluginsdk.Schema { } func (ResourceGroupExampleResource) ModelObject() interface{} { - return nil + return &ResourceGroupExampleResourceModel } func (ResourceGroupExampleResource) ResourceType() string { @@ -447,8 +466,12 @@ func (r ResourceGroupExampleResource) Create() sdk.ResourceFunc { Func: func(ctx context.Context, metadata sdk.ResourceMetaData) error { client := metadata.Client.Resource.GroupsClient subscriptionId := metadata.Client.Account.SubscriptionId - - id := resources.NewResourceGroupID(subscriptionId, metadata.ResourceData.Get("name").(string)) + + var config ResourceGroupExampleResourceModel + if err := metadata.Decode(&config); err != nil { + return fmt.Errorf("decoding: %+v", err) + } + id := resources.NewResourceGroupID(subscriptionId, config.Name) existing, err := client.Get(ctx, id) if err != nil && !response.WasNotFound(existing.HttpResponse) { @@ -459,8 +482,8 @@ func (r ResourceGroupExampleResource) Create() sdk.ResourceFunc { } param := resources.Group{ - Location: pointer.To(location.Normalize(metadata.ResourceData.Get("location").(string))), - Tags: tags.Expand(metadata.ResourceData.Get("tags").(map[string]interface{})), + Location: pointer.To(location.Normalize(config.Location)), + Tags: pointer.To(config.Tags), } if _, err := client.CreateOrUpdate(ctx, id, param); err != nil { return fmt.Errorf("creating %s: %+v", id, err) @@ -482,10 +505,15 @@ func (r ResourceGroupExampleResource) Update() sdk.ResourceFunc { if err != nil { return err } - + + var config ResourceGroupExampleResourceModel + if err := metadata.Decode(&config); err != nil { + return fmt.Errorf("decoding: %+v", err) + } + param := resources.Group{ - Location: pointer.To(location.Normalize(metadata.ResourceData.Get("location").(string))), - Tags: tags.Expand(metadata.ResourceData.Get("tags").(map[string]interface{})), + Location: pointer.To(location.Normalize(config.Location)), + Tags: pointer.To(config.Tags), } if _, err := client.CreateOrUpdate(ctx, *id, param); err != nil { return fmt.Errorf("updating %s: %+v", id, err) @@ -516,16 +544,18 @@ func (ResourceGroupExampleResource) Read() sdk.ResourceFunc { } - metadata.ResourceData.Set("name", id.ResourceGroupName) + state := ResourceGroupExampleResourceModel{ + Name: id.ResourceGroupName, + } if model := resp.Model; model != nil { - metadata.ResourceData.Set("location", location.NormalizeNilable(model.Location)) + state.Location = location.NormalizeNilable(model.Location) + state.Tags = pointer.From(model.Tags) if props := model.Properties; props != nil { // if there are properties to set into state do that here } - return tags.FlattenAndSet(metadata.ResourceData, resp.Tags) } - return nil + return metadata.Encode(&state) }, } } diff --git a/examples/virtual-machines/linux/load-balanced/main.tf b/examples/virtual-machines/linux/load-balanced/main.tf index 1ab032897d3c..1c3fee24455b 100644 --- a/examples/virtual-machines/linux/load-balanced/main.tf +++ b/examples/virtual-machines/linux/load-balanced/main.tf @@ -92,7 +92,6 @@ resource "azurerm_lb" "example" { } resource "azurerm_lb_backend_address_pool" "example" { - resource_group_name = azurerm_resource_group.main.name loadbalancer_id = azurerm_lb.example.id name = "BackEndAddressPool" } diff --git a/examples/virtual-machines/virtual_machine/2-vms-loadbalancer-lbrules/main.tf b/examples/virtual-machines/virtual_machine/2-vms-loadbalancer-lbrules/main.tf index 2b8cb48170a9..d44521e75e13 100644 --- a/examples/virtual-machines/virtual_machine/2-vms-loadbalancer-lbrules/main.tf +++ b/examples/virtual-machines/virtual_machine/2-vms-loadbalancer-lbrules/main.tf @@ -61,7 +61,6 @@ resource "azurerm_lb" "lb" { } resource "azurerm_lb_backend_address_pool" "backend_pool" { - resource_group_name = azurerm_resource_group.rg.name loadbalancer_id = azurerm_lb.lb.id name = "BackendPool1" } diff --git a/examples/virtual-machines/virtual_machine/openshift-origin/main.tf b/examples/virtual-machines/virtual_machine/openshift-origin/main.tf index f8eb5a5377c3..095ac890ad98 100644 --- a/examples/virtual-machines/virtual_machine/openshift-origin/main.tf +++ b/examples/virtual-machines/virtual_machine/openshift-origin/main.tf @@ -296,7 +296,6 @@ resource "azurerm_lb" "primary_lb" { } resource "azurerm_lb_backend_address_pool" "primary_lb" { - resource_group_name = azurerm_resource_group.rg.name name = "loadBalancerBackEnd" loadbalancer_id = azurerm_lb.primary_lb.id depends_on = ["azurerm_lb.primary_lb"] @@ -356,7 +355,6 @@ resource "azurerm_lb" "infra_lb" { } resource "azurerm_lb_backend_address_pool" "infra_lb" { - resource_group_name = azurerm_resource_group.rg.name name = "loadBalancerBackEnd" loadbalancer_id = azurerm_lb.infra_lb.id depends_on = ["azurerm_lb.infra_lb"] diff --git a/examples/vm-scale-set/linux/rolling-upgrade-policy/main.tf b/examples/vm-scale-set/linux/rolling-upgrade-policy/main.tf index 118399460824..ae01c76307ce 100644 --- a/examples/vm-scale-set/linux/rolling-upgrade-policy/main.tf +++ b/examples/vm-scale-set/linux/rolling-upgrade-policy/main.tf @@ -45,7 +45,6 @@ resource "azurerm_lb" "main" { resource "azurerm_lb_backend_address_pool" "main" { name = "backend-pool" - resource_group_name = azurerm_resource_group.main.name loadbalancer_id = azurerm_lb.main.id } diff --git a/examples/vm-scale-set/virtual_machine_scale_set/automatic-rolling-updates/main.tf b/examples/vm-scale-set/virtual_machine_scale_set/automatic-rolling-updates/main.tf index b17d0971f483..230a847d9181 100644 --- a/examples/vm-scale-set/virtual_machine_scale_set/automatic-rolling-updates/main.tf +++ b/examples/vm-scale-set/virtual_machine_scale_set/automatic-rolling-updates/main.tf @@ -48,7 +48,6 @@ resource "azurerm_lb" "example" { resource "azurerm_lb_backend_address_pool" "example" { name = "backend" - resource_group_name = azurerm_resource_group.example.name loadbalancer_id = azurerm_lb.example.id } diff --git a/examples/vm-scale-set/windows/rolling-upgrade-policy/main.tf b/examples/vm-scale-set/windows/rolling-upgrade-policy/main.tf index 2ef574eb2c75..e82219bfc95c 100644 --- a/examples/vm-scale-set/windows/rolling-upgrade-policy/main.tf +++ b/examples/vm-scale-set/windows/rolling-upgrade-policy/main.tf @@ -45,7 +45,6 @@ resource "azurerm_lb" "main" { resource "azurerm_lb_backend_address_pool" "main" { name = "backend-pool" location = azurerm_resource_group.main.location - resource_group_name = azurerm_resource_group.main.name loadbalancer_id = azurerm_lb.main.id } diff --git a/go.mod b/go.mod index b4fc159132f5..d281f52c185a 100644 --- a/go.mod +++ b/go.mod @@ -16,9 +16,9 @@ require ( github.com/golang-jwt/jwt/v4 v4.5.0 github.com/google/go-cmp v0.6.0 github.com/google/uuid v1.6.0 - github.com/hashicorp/go-azure-helpers v0.70.1 - github.com/hashicorp/go-azure-sdk/resource-manager v0.20241009.1142232 - github.com/hashicorp/go-azure-sdk/sdk v0.20241009.1142232 + github.com/hashicorp/go-azure-helpers v0.71.0 + github.com/hashicorp/go-azure-sdk/resource-manager v0.20241104.1140654 + github.com/hashicorp/go-azure-sdk/sdk v0.20241104.1140654 github.com/hashicorp/go-hclog v1.6.3 github.com/hashicorp/go-multierror v1.1.1 github.com/hashicorp/go-uuid v1.0.3 diff --git a/go.sum b/go.sum index d5c9fb1daa1c..3afe50012f37 100644 --- a/go.sum +++ b/go.sum @@ -91,12 +91,12 @@ github.com/hashicorp/errwrap v0.0.0-20180715044906-d6c0cd880357/go.mod h1:YH+1FK github.com/hashicorp/errwrap v1.0.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= github.com/hashicorp/errwrap v1.1.0 h1:OxrOeh75EUXMY8TBjag2fzXGZ40LB6IKw45YeGUDY2I= github.com/hashicorp/errwrap v1.1.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= -github.com/hashicorp/go-azure-helpers v0.70.1 h1:7hlnRrZobMZxpOzdlNEsayzAayj/KRG4wpDS1jgo4GM= -github.com/hashicorp/go-azure-helpers v0.70.1/go.mod h1:BmbF4JDYXK5sEmFeU5hcn8Br21uElcqLfdQxjatwQKw= -github.com/hashicorp/go-azure-sdk/resource-manager v0.20241009.1142232 h1:LAN6wm2cHFo56ly09tg0jXHioh4ygq3SzDoX+XBsMOU= -github.com/hashicorp/go-azure-sdk/resource-manager v0.20241009.1142232/go.mod h1:Zifz0xUVKdiNCzvp3HTa0CNCueZlxD2tdgqPf2QA3qs= -github.com/hashicorp/go-azure-sdk/sdk v0.20241009.1142232 h1:CxBWfnrsR/Vdyd+4N782xzYoqw5bczBSguwOpiF7VO8= -github.com/hashicorp/go-azure-sdk/sdk v0.20241009.1142232/go.mod h1:dMKF6bXrgGmy1d3pLzkmBpG2JIHgSAV2/OMSCEgyMwE= +github.com/hashicorp/go-azure-helpers v0.71.0 h1:ra3aIRzg01g6MLKQ+yABcb6WJtrqRUDDgyuPLmyZ9lY= +github.com/hashicorp/go-azure-helpers v0.71.0/go.mod h1:BmbF4JDYXK5sEmFeU5hcn8Br21uElcqLfdQxjatwQKw= +github.com/hashicorp/go-azure-sdk/resource-manager v0.20241104.1140654 h1:mJJ+LO2Xdu5S+Ccie0QTGXEupuVZfkQqCZ2/IOMeDIo= +github.com/hashicorp/go-azure-sdk/resource-manager v0.20241104.1140654/go.mod h1:JFrQrK0Pbn0ynhgcnIsgD9lp1xq0vaRVtnxvPFiar1U= +github.com/hashicorp/go-azure-sdk/sdk v0.20241104.1140654 h1:DxQDXVDMu2Jkli2KAWvwU2+fR9I7W5U2dKpwUAkARig= +github.com/hashicorp/go-azure-sdk/sdk v0.20241104.1140654/go.mod h1:dMKF6bXrgGmy1d3pLzkmBpG2JIHgSAV2/OMSCEgyMwE= github.com/hashicorp/go-checkpoint v0.5.0 h1:MFYpPZCnQqQTE18jFwSII6eUQrD/oxMFp3mlgcqk5mU= github.com/hashicorp/go-checkpoint v0.5.0/go.mod h1:7nfLNL10NsxqO4iWuW6tWW0HjZuDrwkBuEQsVcpCOgg= github.com/hashicorp/go-cleanhttp v0.5.0/go.mod h1:JpRdi6/HCYpAwUzNwuwqhbovhLtngrth3wmdIIUrZ80= diff --git a/internal/clients/client.go b/internal/clients/client.go index a6d41ef7e774..071e576b78cd 100644 --- a/internal/clients/client.go +++ b/internal/clients/client.go @@ -43,6 +43,7 @@ import ( blueprints "github.com/hashicorp/terraform-provider-azurerm/internal/services/blueprints/client" bot "github.com/hashicorp/terraform-provider-azurerm/internal/services/bot/client" cdn "github.com/hashicorp/terraform-provider-azurerm/internal/services/cdn/client" + codesigning "github.com/hashicorp/terraform-provider-azurerm/internal/services/codesigning/client" cognitiveServices "github.com/hashicorp/terraform-provider-azurerm/internal/services/cognitive/client" communication "github.com/hashicorp/terraform-provider-azurerm/internal/services/communication/client" compute "github.com/hashicorp/terraform-provider-azurerm/internal/services/compute/client" @@ -140,6 +141,7 @@ import ( synapse "github.com/hashicorp/terraform-provider-azurerm/internal/services/synapse/client" systemCenterVirtualMachineManager "github.com/hashicorp/terraform-provider-azurerm/internal/services/systemcentervirtualmachinemanager/client" trafficManager "github.com/hashicorp/terraform-provider-azurerm/internal/services/trafficmanager/client" + videoindexer "github.com/hashicorp/terraform-provider-azurerm/internal/services/videoindexer/client" vmware "github.com/hashicorp/terraform-provider-azurerm/internal/services/vmware/client" voiceServices "github.com/hashicorp/terraform-provider-azurerm/internal/services/voiceservices/client" web "github.com/hashicorp/terraform-provider-azurerm/internal/services/web/client" @@ -174,6 +176,7 @@ type Client struct { Blueprints *blueprints.Client Bot *bot.Client Cdn *cdn.Client + CodeSigning *codesigning.Client Cognitive *cognitiveServices.Client Communication *communication.Client Compute *compute.Client @@ -270,6 +273,7 @@ type Client struct { Synapse *synapse.Client SystemCenterVirtualMachineManager *systemcentervirtualmachinemanager_2023_10_07.Client TrafficManager *trafficManager.Client + VideoIndexer *videoindexer.Client Vmware *vmware.Client VoiceServices *voiceServices.Client Web *web.Client @@ -347,6 +351,9 @@ func (client *Client) Build(ctx context.Context, o *common.ClientOptions) error return fmt.Errorf("building clients for Bot: %+v", err) } client.Cdn = cdn.NewClient(o) + if client.CodeSigning, err = codesigning.NewClient(o); err != nil { + return fmt.Errorf("building clients for Code Signing: %+v", err) + } if client.Cognitive, err = cognitiveServices.NewClient(o); err != nil { return fmt.Errorf("building clients for Cognitive: %+v", err) } @@ -632,6 +639,11 @@ func (client *Client) Build(ctx context.Context, o *common.ClientOptions) error if client.TrafficManager, err = trafficManager.NewClient(o); err != nil { return fmt.Errorf("building clients for Traffic Manager: %+v", err) } + + if client.VideoIndexer, err = videoindexer.NewClient(o); err != nil { + return fmt.Errorf("building clients for Video Indexer: %+v", err) + } + if client.Vmware, err = vmware.NewClient(o); err != nil { return fmt.Errorf("building clients for VMWare: %+v", err) } diff --git a/internal/common/client_options.go b/internal/common/client_options.go index 2495f52a4e7c..4e13bed1d81f 100644 --- a/internal/common/client_options.go +++ b/internal/common/client_options.go @@ -101,6 +101,9 @@ func userAgent(userAgent, tfVersion, partnerID string, disableTerraformPartnerID if features.FourPointOhBeta() { providerUserAgent = fmt.Sprintf("%s terraform-provider-azurerm/%s+4.0-beta", tfUserAgent, version.ProviderVersion) } + if features.FivePointOhBeta() { + providerUserAgent = fmt.Sprintf("%s terraform-provider-azurerm/%s+5.0-beta", tfUserAgent, version.ProviderVersion) + } userAgent = strings.TrimSpace(fmt.Sprintf("%s %s", userAgent, providerUserAgent)) // append the CloudShell version to the user agent if it exists diff --git a/internal/customermanagedkeys/key_vault_or_managed_hsm_key.go b/internal/customermanagedkeys/key_vault_or_managed_hsm_key.go new file mode 100644 index 000000000000..97ad72327d00 --- /dev/null +++ b/internal/customermanagedkeys/key_vault_or_managed_hsm_key.go @@ -0,0 +1,198 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + +package customermanagedkeys + +import ( + "fmt" + + "github.com/hashicorp/go-azure-sdk/sdk/environments" + "github.com/hashicorp/terraform-provider-azurerm/internal/services/keyvault/parse" + hsmParse "github.com/hashicorp/terraform-provider-azurerm/internal/services/managedhsm/parse" + "github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk" +) + +type VersionType int + +const ( + VersionTypeAny VersionType = iota + VersionTypeVersioned + VersionTypeVersionless +) + +type KeyVaultOrManagedHSMKey struct { + KeyVaultKeyId *parse.NestedItemId + ManagedHSMKeyId *hsmParse.ManagedHSMDataPlaneVersionedKeyId + ManagedHSMKeyVersionlessId *hsmParse.ManagedHSMDataPlaneVersionlessKeyId +} + +func (k *KeyVaultOrManagedHSMKey) IsSet() bool { + return k != nil && (k.KeyVaultKeyId != nil || k.ManagedHSMKeyId != nil || k.ManagedHSMKeyVersionlessId != nil) +} + +func (k *KeyVaultOrManagedHSMKey) ID() string { + if k == nil { + return "" + } + + if k.KeyVaultKeyId != nil { + return k.KeyVaultKeyId.ID() + } + + if k.ManagedHSMKeyId != nil { + return k.ManagedHSMKeyId.ID() + } + + if k.ManagedHSMKeyVersionlessId != nil { + return k.ManagedHSMKeyVersionlessId.ID() + } + + return "" +} + +func (k *KeyVaultOrManagedHSMKey) KeyVaultKeyID() string { + if k != nil && k.KeyVaultKeyId != nil { + return k.KeyVaultKeyId.ID() + } + return "" +} + +func (k *KeyVaultOrManagedHSMKey) ManagedHSMKeyID() string { + if k != nil && k.ManagedHSMKeyId != nil { + return k.ManagedHSMKeyId.ID() + } + + if k != nil && k.ManagedHSMKeyVersionlessId != nil { + return k.ManagedHSMKeyVersionlessId.ID() + } + + return "" +} + +func (k *KeyVaultOrManagedHSMKey) BaseUri() string { + if k.KeyVaultKeyId != nil { + return k.KeyVaultKeyId.KeyVaultBaseUrl + } + + if k.ManagedHSMKeyId != nil { + return k.ManagedHSMKeyId.BaseUri() + } + + if k.ManagedHSMKeyVersionlessId != nil { + return k.ManagedHSMKeyVersionlessId.BaseUri() + } + + return "" +} + +func parseKeyvaultID(keyRaw string, requireVersion VersionType, _ environments.Api) (*parse.NestedItemId, error) { + keyID, err := parse.ParseOptionallyVersionedNestedKeyID(keyRaw) + if err != nil { + return nil, err + } + + if requireVersion == VersionTypeVersioned && keyID.Version == "" { + return nil, fmt.Errorf("expected a key vault versioned ID but no version information was found in: %q", keyRaw) + } + + if requireVersion == VersionTypeVersionless && keyID.Version != "" { + return nil, fmt.Errorf("expected a key vault versionless ID but version information was found in: %q", keyRaw) + } + + return keyID, nil +} + +func parseManagedHSMKey(keyRaw string, requireVersion VersionType, hsmEnv environments.Api) ( + versioned *hsmParse.ManagedHSMDataPlaneVersionedKeyId, versionless *hsmParse.ManagedHSMDataPlaneVersionlessKeyId, err error) { + // if specified with hasVersion == True, then it has to be parsed as versionedKeyID + var domainSuffix *string + if hsmEnv != nil { + domainSuffix, _ = hsmEnv.DomainSuffix() + } + + switch requireVersion { + case VersionTypeAny: + if versioned, err = hsmParse.ManagedHSMDataPlaneVersionedKeyID(keyRaw, domainSuffix); err != nil { + if versionless, err = hsmParse.ManagedHSMDataPlaneVersionlessKeyID(keyRaw, domainSuffix); err != nil { + return nil, nil, fmt.Errorf("parse Managed HSM both versionedID and versionlessID err for %s", keyRaw) + } + } + case VersionTypeVersioned: + versioned, err = hsmParse.ManagedHSMDataPlaneVersionedKeyID(keyRaw, domainSuffix) + case VersionTypeVersionless: + versionless, err = hsmParse.ManagedHSMDataPlaneVersionlessKeyID(keyRaw, domainSuffix) + } + + return versioned, versionless, err +} + +func ExpandKeyVaultOrManagedHSMKey(d interface{}, requireVersion VersionType, keyVaultEnv, hsmEnv environments.Api) (*KeyVaultOrManagedHSMKey, error) { + return ExpandKeyVaultOrManagedHSMKeyWithCustomFieldKey(d, requireVersion, "key_vault_key_id", "managed_hsm_key_id", keyVaultEnv, hsmEnv) +} + +// ExpandKeyVaultOrManagedHSMKeyWithCustomFieldKey +// d: should be one of *pluginsdk.ResourceData or map[string]interface{} +// if return nil, nil, it means no key_vault_key_id or managed_hsm_key_id is specified +func ExpandKeyVaultOrManagedHSMKeyWithCustomFieldKey(d interface{}, requireVersion VersionType, keyVaultFieldName, hsmFieldName string, keyVaultEnv, hsmEnv environments.Api) (*KeyVaultOrManagedHSMKey, error) { + key := &KeyVaultOrManagedHSMKey{} + var err error + var vaultKeyStr, hsmKeyStr string + if rd, ok := d.(*pluginsdk.ResourceData); ok { + if keyRaw, ok := rd.GetOk(keyVaultFieldName); ok { + vaultKeyStr = keyRaw.(string) + } else if keyRaw, ok = rd.GetOk(hsmFieldName); ok { + hsmKeyStr = keyRaw.(string) + } + } else if obj, ok := d.(map[string]interface{}); ok { + if keyRaw, ok := obj[keyVaultFieldName]; ok { + vaultKeyStr, _ = keyRaw.(string) + } + if keyRaw, ok := obj[hsmFieldName]; ok { + hsmKeyStr, _ = keyRaw.(string) + } + } else { + return nil, fmt.Errorf("not supported data type to parse CMK: %T", d) + } + + switch { + case vaultKeyStr != "": + if key.KeyVaultKeyId, err = parseKeyvaultID(vaultKeyStr, requireVersion, keyVaultEnv); err != nil { + return nil, err + } + case hsmKeyStr != "": + if key.ManagedHSMKeyId, key.ManagedHSMKeyVersionlessId, err = parseManagedHSMKey(hsmKeyStr, requireVersion, hsmEnv); err != nil { + return nil, err + } + default: + return nil, nil + } + return key, err +} + +// FlattenKeyVaultOrManagedHSMID uses `KeyVaultOrManagedHSMKey.SetState()` to save the state, which this function is designed not to do. +func FlattenKeyVaultOrManagedHSMID(id string, hsmEnv environments.Api) (*KeyVaultOrManagedHSMKey, error) { + if id == "" { + return nil, nil + } + + key := &KeyVaultOrManagedHSMKey{} + var err error + key.KeyVaultKeyId, err = parse.ParseOptionallyVersionedNestedKeyID(id) + if err == nil { + return key, nil + } + + var domainSuffix *string + if hsmEnv != nil { + domainSuffix, _ = hsmEnv.DomainSuffix() + } + if key.ManagedHSMKeyId, err = hsmParse.ManagedHSMDataPlaneVersionedKeyID(id, domainSuffix); err == nil { + return key, nil + } + + if key.ManagedHSMKeyVersionlessId, err = hsmParse.ManagedHSMDataPlaneVersionlessKeyID(id, domainSuffix); err == nil { + return key, nil + } + + return nil, fmt.Errorf("cannot parse given id to key vault key nor managed hsm key: %s", id) +} diff --git a/internal/customermanagedkeys/key_vault_or_managed_hsm_key_test.go b/internal/customermanagedkeys/key_vault_or_managed_hsm_key_test.go new file mode 100644 index 000000000000..77955f881700 --- /dev/null +++ b/internal/customermanagedkeys/key_vault_or_managed_hsm_key_test.go @@ -0,0 +1,136 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + +package customermanagedkeys_test + +import ( + "reflect" + "testing" + + "github.com/hashicorp/go-azure-sdk/sdk/environments" + "github.com/hashicorp/terraform-provider-azurerm/internal/customermanagedkeys" + "github.com/hashicorp/terraform-provider-azurerm/internal/services/keyvault/parse" + hsmParse "github.com/hashicorp/terraform-provider-azurerm/internal/services/managedhsm/parse" +) + +func buildData(keyVaultKey, keyVualtValue, hsmKey, hsmValue string) interface{} { + data := map[string]interface{}{} + if keyVaultKey != "" { + data[keyVaultKey] = keyVualtValue + } + + if hsmKey != "" { + data[hsmKey] = hsmValue + } + + return data +} + +func buildKeyVaultData(key, value string) interface{} { + return buildData(key, value, "", "") +} + +func buildHSMData(key, value string) interface{} { + return buildData("", "", key, value) +} + +func TestExpandKeyVaultOrManagedHSMKeyKey(t *testing.T) { + type args struct { + d interface{} + hasVersion customermanagedkeys.VersionType + keyVaultFieldName string + hsmFieldName string + hsmEnv environments.Api + } + tests := []struct { + name string + args args + want *customermanagedkeys.KeyVaultOrManagedHSMKey + wantErr bool + }{ + { + name: "success with key_vault_key_id", + args: args{ + d: buildKeyVaultData("key_vault_key_id", "https://test.keyvault.azure.net/keys/test-key-name"), + keyVaultFieldName: "key_vault_key_id", + }, + want: &customermanagedkeys.KeyVaultOrManagedHSMKey{ + KeyVaultKeyId: &parse.NestedItemId{ + KeyVaultBaseUrl: "https://test.keyvault.azure.net/", + NestedItemType: "keys", + Name: "test-key-name", + }, + }, + }, + { + name: "fail with wrong item type: cert", + args: args{ + d: buildKeyVaultData("key_vault_key_id", "https://test.keyvault.azure.net/certs/test-key-name"), + keyVaultFieldName: "key_vault_key_id", + }, + wantErr: true, + }, + { + name: "fail with wrong field name", + args: args{ + d: buildKeyVaultData("key_vault_key_url", "https://test.keyvault.azure.net/keys/test-key-name"), + keyVaultFieldName: "key_vault_key_id", + }, + want: nil, + wantErr: false, + }, + { + name: "fail with no version provided", + args: args{ + d: buildKeyVaultData("key_vault_key_id", "https://test.keyvault.azure.net/keys/test-key-name3"), + keyVaultFieldName: "key_vault_key_id", + hasVersion: customermanagedkeys.VersionTypeVersioned, + }, + want: nil, + wantErr: true, + }, + { + name: "success with versionless key vault id", + args: args{ + d: buildKeyVaultData("key_vault_key_id", "https://test.keyvault.azure.net/keys/test-key-versionless"), + keyVaultFieldName: "key_vault_key_id", + hasVersion: customermanagedkeys.VersionTypeVersionless, + }, + want: &customermanagedkeys.KeyVaultOrManagedHSMKey{ + KeyVaultKeyId: &parse.NestedItemId{ + KeyVaultBaseUrl: "https://test.keyvault.azure.net/", + NestedItemType: "keys", + Name: "test-key-versionless", + }, + }, + wantErr: false, + }, + { + name: "success with managed_hsm_key_id", + args: args{ + d: buildHSMData("managed_hsm_key_id", "https://test.managedhsm.azure.net/keys/test-key-name"), + hsmFieldName: "managed_hsm_key_id", + hasVersion: customermanagedkeys.VersionTypeVersionless, + }, + want: &customermanagedkeys.KeyVaultOrManagedHSMKey{ + ManagedHSMKeyVersionlessId: &hsmParse.ManagedHSMDataPlaneVersionlessKeyId{ + ManagedHSMName: "test", + DomainSuffix: "managedhsm.azure.net", + KeyName: "test-key-name", + }, + }, + }, + } + for _, tt := range tests { + t.Run(tt.name, func(t2 *testing.T) { + got, err := customermanagedkeys.ExpandKeyVaultOrManagedHSMKeyWithCustomFieldKey(tt.args.d, tt.args.hasVersion, tt.args.keyVaultFieldName, tt.args.hsmFieldName, nil, tt.args.hsmEnv) + if (err != nil) != tt.wantErr { + t2.Errorf("ExpandKeyVaultOrManagedHSMKeyWithCustomFieldKey() error = %v, wantErr %v", err, tt.wantErr) + return + } + if !reflect.DeepEqual(got, tt.want) { + t2.Errorf("ExpandKeyVaultOrManagedHSMKeyWithCustomFieldKey() = %v, want %v", got, tt.want) + } + }) + } +} diff --git a/internal/features/defaults.go b/internal/features/defaults.go index 1d152cea3acc..182016f29801 100644 --- a/internal/features/defaults.go +++ b/internal/features/defaults.go @@ -62,6 +62,9 @@ func Default() UserFeatures { RollInstancesWhenRequired: true, ScaleToZeroOnDelete: true, }, + Storage: StorageFeatures{ + DataPlaneAvailable: true, + }, Subscription: SubscriptionFeatures{ PreventCancellationOnDestroy: false, }, diff --git a/internal/features/user_flags.go b/internal/features/user_flags.go index 4b367743ae89..181f423fcc15 100644 --- a/internal/features/user_flags.go +++ b/internal/features/user_flags.go @@ -16,6 +16,7 @@ type UserFeatures struct { ResourceGroup ResourceGroupFeatures RecoveryServicesVault RecoveryServicesVault ManagedDisk ManagedDiskFeatures + Storage StorageFeatures Subscription SubscriptionFeatures PostgresqlFlexibleServer PostgresqlFlexibleServerFeatures MachineLearning MachineLearningFeatures @@ -84,6 +85,10 @@ type AppConfigurationFeatures struct { RecoverSoftDeleted bool } +type StorageFeatures struct { + DataPlaneAvailable bool +} + type SubscriptionFeatures struct { PreventCancellationOnDestroy bool } diff --git a/internal/provider/features.go b/internal/provider/features.go index 1c42fa1b7bcf..e39c3ce0c741 100644 --- a/internal/provider/features.go +++ b/internal/provider/features.go @@ -309,6 +309,21 @@ func schemaFeatures(supportLegacyTestSuite bool) *pluginsdk.Schema { }, }, + "storage": { + Type: pluginsdk.TypeList, + Optional: true, + MaxItems: 1, + Elem: &pluginsdk.Resource{ + Schema: map[string]*schema.Schema{ + "data_plane_available": { + Type: pluginsdk.TypeBool, + Optional: true, + Default: true, + }, + }, + }, + }, + "subscription": { Type: pluginsdk.TypeList, Optional: true, @@ -580,6 +595,15 @@ func expandFeatures(input []interface{}) features.UserFeatures { } } } + if raw, ok := val["storage"]; ok { + items := raw.([]interface{}) + if len(items) > 0 { + storageRaw := items[0].(map[string]interface{}) + if v, ok := storageRaw["data_plane_available"]; ok { + featuresMap.Storage.DataPlaneAvailable = v.(bool) + } + } + } if raw, ok := val["subscription"]; ok { items := raw.([]interface{}) diff --git a/internal/provider/features_test.go b/internal/provider/features_test.go index c33addf281d0..81cfe4b6ade8 100644 --- a/internal/provider/features_test.go +++ b/internal/provider/features_test.go @@ -75,6 +75,9 @@ func TestExpandFeatures(t *testing.T) { RecoveryServicesVault: features.RecoveryServicesVault{ RecoverSoftDeletedBackupProtectedVM: true, }, + Storage: features.StorageFeatures{ + DataPlaneAvailable: true, + }, Subscription: features.SubscriptionFeatures{ PreventCancellationOnDestroy: false, }, @@ -156,6 +159,11 @@ func TestExpandFeatures(t *testing.T) { "recover_soft_deleted_backup_protected_vm": true, }, }, + "storage": []interface{}{ + map[string]interface{}{ + "data_plane_available": true, + }, + }, "subscription": []interface{}{ map[string]interface{}{ "prevent_cancellation_on_destroy": true, @@ -235,6 +243,9 @@ func TestExpandFeatures(t *testing.T) { RecoveryServicesVault: features.RecoveryServicesVault{ RecoverSoftDeletedBackupProtectedVM: true, }, + Storage: features.StorageFeatures{ + DataPlaneAvailable: true, + }, Subscription: features.SubscriptionFeatures{ PreventCancellationOnDestroy: true, }, @@ -331,6 +342,11 @@ func TestExpandFeatures(t *testing.T) { "recover_soft_deleted_backup_protected_vm": false, }, }, + "storage": []interface{}{ + map[string]interface{}{ + "data_plane_available": false, + }, + }, "subscription": []interface{}{ map[string]interface{}{ "prevent_cancellation_on_destroy": false, @@ -410,6 +426,9 @@ func TestExpandFeatures(t *testing.T) { RecoveryServicesVault: features.RecoveryServicesVault{ RecoverSoftDeletedBackupProtectedVM: false, }, + Storage: features.StorageFeatures{ + DataPlaneAvailable: false, + }, Subscription: features.SubscriptionFeatures{ PreventCancellationOnDestroy: false, }, @@ -1431,6 +1450,54 @@ func TestExpandFeaturesManagedDisk(t *testing.T) { } } +func TestExpandFeaturesStorage(t *testing.T) { + testData := []struct { + Name string + Input []interface{} + EnvVars map[string]interface{} + Expected features.UserFeatures + }{ + { + Name: "Empty Block", + Input: []interface{}{ + map[string]interface{}{ + "storage": []interface{}{}, + }, + }, + Expected: features.UserFeatures{ + Storage: features.StorageFeatures{ + DataPlaneAvailable: true, + }, + }, + }, + { + Name: "Storage Data Plane on Create is Disabled", + Input: []interface{}{ + map[string]interface{}{ + "storage": []interface{}{ + map[string]interface{}{ + "data_plane_available": false, + }, + }, + }, + }, + Expected: features.UserFeatures{ + Storage: features.StorageFeatures{ + DataPlaneAvailable: false, + }, + }, + }, + } + + for _, testCase := range testData { + t.Logf("[DEBUG] Test Case: %q", testCase.Name) + result := expandFeatures(testCase.Input) + if !reflect.DeepEqual(result.Storage, testCase.Expected.Storage) { + t.Fatalf("Expected %+v but got %+v", result.Storage, testCase.Expected.Storage) + } + } +} + func TestExpandFeaturesSubscription(t *testing.T) { testData := []struct { Name string diff --git a/internal/provider/framework/config.go b/internal/provider/framework/config.go index 5fabeb930c92..c34676741127 100644 --- a/internal/provider/framework/config.go +++ b/internal/provider/framework/config.go @@ -415,6 +415,19 @@ func (p *ProviderConfig) Load(ctx context.Context, data *ProviderModel, tfVersio f.ManagedDisk.ExpandWithoutDowntime = true } + if !features.Storage.IsNull() && !features.Storage.IsUnknown() { + var feature []Storage + d := features.Storage.ElementsAs(ctx, &feature, true) + diags.Append(d...) + if diags.HasError() { + return + } + f.Storage.DataPlaneAvailable = true + if !feature[0].DataPlaneAvailable.IsNull() && !feature[0].DataPlaneAvailable.IsUnknown() { + f.Storage.DataPlaneAvailable = feature[0].DataPlaneAvailable.ValueBool() + } + } + if !features.Subscription.IsNull() && !features.Subscription.IsUnknown() { var feature []Subscription d := features.Subscription.ElementsAs(ctx, &feature, true) diff --git a/internal/provider/framework/config_test.go b/internal/provider/framework/config_test.go index bdb681400d98..485420b0a392 100644 --- a/internal/provider/framework/config_test.go +++ b/internal/provider/framework/config_test.go @@ -275,6 +275,11 @@ func defaultFeaturesList() types.List { }) managedDiskList, _ := basetypes.NewListValue(types.ObjectType{}.WithAttributeTypes(ManagedDiskAttributes), []attr.Value{managedDisk}) + storage, _ := basetypes.NewObjectValueFrom(context.Background(), StorageAttributes, map[string]attr.Value{ + "data_plane_available": basetypes.NewBoolNull(), + }) + storageList, _ := basetypes.NewListValue(types.ObjectType{}.WithAttributeTypes(StorageAttributes), []attr.Value{storage}) + subscription, _ := basetypes.NewObjectValueFrom(context.Background(), SubscriptionAttributes, map[string]attr.Value{ "prevent_cancellation_on_destroy": basetypes.NewBoolNull(), }) @@ -314,6 +319,7 @@ func defaultFeaturesList() types.List { "virtual_machine_scale_set": virtualMachineScaleSetList, "resource_group": resourceGroupList, "managed_disk": managedDiskList, + "storage": storageList, "subscription": subscriptionList, "postgresql_flexible_server": postgresqlFlexibleServerList, "machine_learning": machineLearningList, diff --git a/internal/provider/framework/model.go b/internal/provider/framework/model.go index 59a8923b8f38..84388a4b5d57 100644 --- a/internal/provider/framework/model.go +++ b/internal/provider/framework/model.go @@ -52,6 +52,7 @@ type Features struct { VirtualMachineScaleSet types.List `tfsdk:"virtual_machine_scale_set"` ResourceGroup types.List `tfsdk:"resource_group"` ManagedDisk types.List `tfsdk:"managed_disk"` + Storage types.List `tfsdk:"storage"` Subscription types.List `tfsdk:"subscription"` PostgresqlFlexibleServer types.List `tfsdk:"postgresql_flexible_server"` MachineLearning types.List `tfsdk:"machine_learning"` @@ -73,6 +74,7 @@ var FeaturesAttributes = map[string]attr.Type{ "virtual_machine_scale_set": types.ListType{}.WithElementType(types.ObjectType{}.WithAttributeTypes(VirtualMachineScaleSetAttributes)), "resource_group": types.ListType{}.WithElementType(types.ObjectType{}.WithAttributeTypes(ResourceGroupAttributes)), "managed_disk": types.ListType{}.WithElementType(types.ObjectType{}.WithAttributeTypes(ManagedDiskAttributes)), + "storage": types.ListType{}.WithElementType(types.ObjectType{}.WithAttributeTypes(StorageAttributes)), "subscription": types.ListType{}.WithElementType(types.ObjectType{}.WithAttributeTypes(SubscriptionAttributes)), "postgresql_flexible_server": types.ListType{}.WithElementType(types.ObjectType{}.WithAttributeTypes(PostgresqlFlexibleServerAttributes)), "machine_learning": types.ListType{}.WithElementType(types.ObjectType{}.WithAttributeTypes(MachineLearningAttributes)), @@ -204,6 +206,14 @@ var ManagedDiskAttributes = map[string]attr.Type{ "expand_without_downtime": types.BoolType, } +type Storage struct { + DataPlaneAvailable types.Bool `tfsdk:"data_plane_available"` +} + +var StorageAttributes = map[string]attr.Type{ + "data_plane_available": types.BoolType, +} + type Subscription struct { PreventCancellationOnDestroy types.Bool `tfsdk:"prevent_cancellation_on_destroy"` } diff --git a/internal/provider/framework/provider.go b/internal/provider/framework/provider.go index 73846ced22b4..66a6c596a0d9 100644 --- a/internal/provider/framework/provider.go +++ b/internal/provider/framework/provider.go @@ -406,6 +406,15 @@ func (p *azureRmFrameworkProvider) Schema(_ context.Context, _ provider.SchemaRe }, }, }, + "storage": schema.ListNestedBlock{ + NestedObject: schema.NestedBlockObject{ + Attributes: map[string]schema.Attribute{ + "data_plane_available": schema.BoolAttribute{ + Optional: true, + }, + }, + }, + }, "subscription": schema.ListNestedBlock{ NestedObject: schema.NestedBlockObject{ Attributes: map[string]schema.Attribute{ diff --git a/internal/provider/services.go b/internal/provider/services.go index 1ce4a513b544..29ac15969497 100644 --- a/internal/provider/services.go +++ b/internal/provider/services.go @@ -24,6 +24,7 @@ import ( "github.com/hashicorp/terraform-provider-azurerm/internal/services/blueprints" "github.com/hashicorp/terraform-provider-azurerm/internal/services/bot" "github.com/hashicorp/terraform-provider-azurerm/internal/services/cdn" + "github.com/hashicorp/terraform-provider-azurerm/internal/services/codesigning" "github.com/hashicorp/terraform-provider-azurerm/internal/services/cognitive" "github.com/hashicorp/terraform-provider-azurerm/internal/services/communication" "github.com/hashicorp/terraform-provider-azurerm/internal/services/compute" @@ -124,6 +125,7 @@ import ( "github.com/hashicorp/terraform-provider-azurerm/internal/services/synapse" "github.com/hashicorp/terraform-provider-azurerm/internal/services/systemcentervirtualmachinemanager" "github.com/hashicorp/terraform-provider-azurerm/internal/services/trafficmanager" + "github.com/hashicorp/terraform-provider-azurerm/internal/services/videoindexer" "github.com/hashicorp/terraform-provider-azurerm/internal/services/vmware" "github.com/hashicorp/terraform-provider-azurerm/internal/services/voiceservices" "github.com/hashicorp/terraform-provider-azurerm/internal/services/web" @@ -148,6 +150,7 @@ func SupportedTypedServices() []sdk.TypedServiceRegistration { azurestackhci.Registration{}, batch.Registration{}, bot.Registration{}, + codesigning.Registration{}, cognitive.Registration{}, communication.Registration{}, compute.Registration{}, @@ -213,6 +216,7 @@ func SupportedTypedServices() []sdk.TypedServiceRegistration { streamanalytics.Registration{}, subscription.Registration{}, systemcentervirtualmachinemanager.Registration{}, + videoindexer.Registration{}, vmware.Registration{}, voiceservices.Registration{}, web.Registration{}, diff --git a/internal/services/appservice/app_service_environment_v3_resource.go b/internal/services/appservice/app_service_environment_v3_resource.go index 65ea1d20a110..2fb5fb796a70 100644 --- a/internal/services/appservice/app_service_environment_v3_resource.go +++ b/internal/services/appservice/app_service_environment_v3_resource.go @@ -13,7 +13,7 @@ import ( "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" "github.com/hashicorp/go-azure-helpers/resourcemanager/commonschema" "github.com/hashicorp/go-azure-helpers/resourcemanager/location" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks" "github.com/hashicorp/go-azure-sdk/resource-manager/web/2023-01-01/appserviceenvironments" "github.com/hashicorp/terraform-provider-azurerm/internal/sdk" "github.com/hashicorp/terraform-provider-azurerm/internal/services/web/validate" diff --git a/internal/services/appservice/helpers/auth_v2_schema.go b/internal/services/appservice/helpers/auth_v2_schema.go index e3ed6b058497..25f3b73f0ea8 100644 --- a/internal/services/appservice/helpers/auth_v2_schema.go +++ b/internal/services/appservice/helpers/auth_v2_schema.go @@ -12,7 +12,7 @@ import ( "github.com/hashicorp/terraform-provider-azurerm/internal/services/appservice/validate" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/validation" - "github.com/tombuildsstuff/kermit/sdk/web/2022-09-01/web" + "github.com/jackofallops/kermit/sdk/web/2022-09-01/web" ) type AuthV2Settings struct { diff --git a/internal/services/appservice/helpers/function_app_slot_schema.go b/internal/services/appservice/helpers/function_app_slot_schema.go index 6d921b4c07b7..a48e5f19a074 100644 --- a/internal/services/appservice/helpers/function_app_slot_schema.go +++ b/internal/services/appservice/helpers/function_app_slot_schema.go @@ -14,7 +14,7 @@ import ( apimValidate "github.com/hashicorp/terraform-provider-azurerm/internal/services/apimanagement/validate" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/validation" - "github.com/tombuildsstuff/kermit/sdk/web/2022-09-01/web" + "github.com/jackofallops/kermit/sdk/web/2022-09-01/web" ) type SiteConfigWindowsFunctionAppSlot struct { diff --git a/internal/services/appservice/linux_function_app_resource.go b/internal/services/appservice/linux_function_app_resource.go index 73d127a397cf..81b973b683bd 100644 --- a/internal/services/appservice/linux_function_app_resource.go +++ b/internal/services/appservice/linux_function_app_resource.go @@ -30,7 +30,7 @@ import ( "github.com/hashicorp/terraform-provider-azurerm/internal/tags" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/validation" - "github.com/tombuildsstuff/kermit/sdk/web/2022-09-01/web" + "github.com/jackofallops/kermit/sdk/web/2022-09-01/web" ) type LinuxFunctionAppResource struct{} diff --git a/internal/services/appservice/migration/windows_function_app_slot.go b/internal/services/appservice/migration/windows_function_app_slot.go index b73f321481ca..ba9c67fee85c 100644 --- a/internal/services/appservice/migration/windows_function_app_slot.go +++ b/internal/services/appservice/migration/windows_function_app_slot.go @@ -1527,9 +1527,9 @@ func (w WindowsFunctionAppSlotV0toV1) Schema() map[string]*pluginsdk.Schema { func (w WindowsFunctionAppSlotV0toV1) UpgradeFunc() pluginsdk.StateUpgraderFunc { return func(ctx context.Context, rawState map[string]interface{}, meta interface{}) (map[string]interface{}, error) { - oldId := rawState["service_plan_id"].(string) + oldId, ok := rawState["service_plan_id"].(string) // service_plan_id can be empty if it is not in a different Service Plan to the "parent" app - if oldId == "" { + if !ok || oldId == "" { return rawState, nil } parsedId, err := commonids.ParseAppServicePlanIDInsensitively(oldId) diff --git a/internal/services/attestation/attestation_provider_resource.go b/internal/services/attestation/attestation_provider_resource.go index 156c903da62d..15d3e7456922 100644 --- a/internal/services/attestation/attestation_provider_resource.go +++ b/internal/services/attestation/attestation_provider_resource.go @@ -26,7 +26,7 @@ import ( "github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk" "github.com/hashicorp/terraform-provider-azurerm/internal/timeouts" "github.com/hashicorp/terraform-provider-azurerm/utils" - "github.com/tombuildsstuff/kermit/sdk/attestation/2022-08-01/attestation" + "github.com/jackofallops/kermit/sdk/attestation/2022-08-01/attestation" ) func resourceAttestationProvider() *pluginsdk.Resource { diff --git a/internal/services/attestation/client/client.go b/internal/services/attestation/client/client.go index 60065b4f0bda..84e1ecddfd72 100644 --- a/internal/services/attestation/client/client.go +++ b/internal/services/attestation/client/client.go @@ -13,7 +13,7 @@ import ( authWrapper "github.com/hashicorp/go-azure-sdk/sdk/auth/autorest" "github.com/hashicorp/go-azure-sdk/sdk/environments" "github.com/hashicorp/terraform-provider-azurerm/internal/common" - "github.com/tombuildsstuff/kermit/sdk/attestation/2022-08-01/attestation" + "github.com/jackofallops/kermit/sdk/attestation/2022-08-01/attestation" ) type Client struct { diff --git a/internal/services/attestation/validate/stored_attestation_policy_base64.go b/internal/services/attestation/validate/stored_attestation_policy_base64.go index dfdd42791d6e..d32ede0aacc8 100644 --- a/internal/services/attestation/validate/stored_attestation_policy_base64.go +++ b/internal/services/attestation/validate/stored_attestation_policy_base64.go @@ -9,7 +9,7 @@ import ( "fmt" "strings" - "github.com/tombuildsstuff/kermit/sdk/attestation/2022-08-01/attestation" + "github.com/jackofallops/kermit/sdk/attestation/2022-08-01/attestation" ) func ContainsABase64UriEncodedJWTOfAStoredAttestationPolicy(value interface{}, key string) (warnings []string, errors []error) { diff --git a/internal/services/authorization/models.go b/internal/services/authorization/models.go deleted file mode 100644 index 9370f23fce88..000000000000 --- a/internal/services/authorization/models.go +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 - -package authorization - -import "github.com/hashicorp/go-azure-sdk/resource-manager/authorization/2020-10-01/rolemanagementpolicies" - -var _ rolemanagementpolicies.RoleManagementPolicyRule = RoleManagementPolicyRule{} - -// RoleManagementPolicyRule is a temporary workaround because the child models for rolemanagementpolicies.RoleManagementPolicyRule -// do not yet exist, due to issues resolving these child types in the Pandora importer. -// TODO: replace this type with the correct child models from the SDK package, once they are implemented -type RoleManagementPolicyRule struct { - Id *string `json:"id,omitempty"` - RuleType rolemanagementpolicies.RoleManagementPolicyRuleType `json:"ruleType"` - - ClaimValue *string `json:"claimValue,omitempty"` - EnabledRules *[]string `json:"enabledRules,omitempty"` - IsDefaultRecipientsEnabled *bool `json:"isDefaultRecipientsEnabled"` - IsEnabled *bool `json:"isEnabled,omitempty"` - IsExpirationRequired *bool `json:"isExpirationRequired,omitempty"` - MaximumDuration *string `json:"maximumDuration,omitempty"` - NotificationLevel *string `json:"notificationLevel"` - NotificationRecipients *[]string `json:"notificationRecipients"` - NotificationType *string `json:"notificationType"` - RecipientType *string `json:"recipientType"` - Setting map[string]interface{} `json:"setting,omitempty"` - Target map[string]interface{} `json:"target,omitempty"` -} - -func (r RoleManagementPolicyRule) RoleManagementPolicyRule() rolemanagementpolicies.BaseRoleManagementPolicyRuleImpl { - return rolemanagementpolicies.BaseRoleManagementPolicyRuleImpl{ - Id: r.Id, - RuleType: r.RuleType, - } -} diff --git a/internal/services/authorization/role_management_policy.go b/internal/services/authorization/role_management_policy.go index b0c05e60d043..ea8a00596692 100644 --- a/internal/services/authorization/role_management_policy.go +++ b/internal/services/authorization/role_management_policy.go @@ -32,7 +32,12 @@ func FindRoleManagementPolicyId(ctx context.Context, client *rolemanagementpolic if resp.Model == nil { return nil, fmt.Errorf("listing Role Management Policies for %s and Role Definition %q: result was nil", scope, roleDefinitionId) } - if len(*resp.Model) != 1 { + + if len(*resp.Model) == 0 { + return nil, fmt.Errorf("no Role Management Policy returned for %s and Role Definition %q", scope, roleDefinitionId) + } + + if len(*resp.Model) > 1 { return nil, fmt.Errorf("more than one Role Management Policy returned for %s and Role Definition %q", scope, roleDefinitionId) } @@ -58,335 +63,193 @@ func buildRoleManagementPolicyForUpdate(metadata *sdk.ResourceMetaData, rolePoli } // Take the slice of rules and convert it to a map with the ID as the key - existingRules := make(map[string]rolemanagementpolicies.RawRoleManagementPolicyRuleImpl) + existingRules := make(map[string]rolemanagementpolicies.RoleManagementPolicyRule) if props := rolePolicy.Properties; props != nil { if props.Rules != nil { for _, r := range *rolePolicy.Properties.Rules { // TODO - rule := r.(rolemanagementpolicies.RawRoleManagementPolicyRuleImpl) - existingRules[rule.Values["id"].(string)] = rule + if id := pointer.From(r.RoleManagementPolicyRule().Id); id != "" { + existingRules[id] = r + } } } } updatedRules := make([]rolemanagementpolicies.RoleManagementPolicyRule, 0) if metadata.ResourceData.HasChange("eligible_assignment_rules") { - if expirationAdminEligibility, ok := existingRules["Expiration_Admin_Eligibility"]; ok && expirationAdminEligibility.Values != nil { - var expirationRequired bool - if expirationRequiredRaw, ok := expirationAdminEligibility.Values["isExpirationRequired"]; ok { - expirationRequired = expirationRequiredRaw.(bool) - } - - var maximumDuration string - if maximumDurationRaw, ok := expirationAdminEligibility.Values["maximumDuration"]; ok { - maximumDuration = maximumDurationRaw.(string) - } - - if len(model.EligibleAssignmentRules) == 1 { - if expirationRequired != model.EligibleAssignmentRules[0].ExpirationRequired { - expirationRequired = model.EligibleAssignmentRules[0].ExpirationRequired - } - if maximumDuration != model.EligibleAssignmentRules[0].ExpireAfter && - model.EligibleAssignmentRules[0].ExpireAfter != "" { - maximumDuration = model.EligibleAssignmentRules[0].ExpireAfter + if expirationAdminEligibilityBase, ok := existingRules["Expiration_Admin_Eligibility"]; ok { + if expirationAdminEligibility, ok := expirationAdminEligibilityBase.(rolemanagementpolicies.RoleManagementPolicyExpirationRule); ok { + expirationRequired := pointer.From(expirationAdminEligibility.IsExpirationRequired) + maximumDuration := pointer.From(expirationAdminEligibility.MaximumDuration) + + if len(model.EligibleAssignmentRules) == 1 { + if expirationRequired != model.EligibleAssignmentRules[0].ExpirationRequired { + expirationAdminEligibility.IsExpirationRequired = pointer.To(model.EligibleAssignmentRules[0].ExpirationRequired) + } + if maximumDuration != model.EligibleAssignmentRules[0].ExpireAfter && + model.EligibleAssignmentRules[0].ExpireAfter != "" { + expirationAdminEligibility.MaximumDuration = pointer.To(model.EligibleAssignmentRules[0].ExpireAfter) + } } - } - var id, ruleType string - var target map[string]interface{} - if idRaw, ok := expirationAdminEligibility.Values["id"]; ok { - id = idRaw.(string) - } - if ruleTypeRaw, ok := expirationAdminEligibility.Values["ruleType"]; ok { - ruleType = ruleTypeRaw.(string) - } - if targetRaw, ok := expirationAdminEligibility.Values["target"]; ok { - target = targetRaw.(map[string]interface{}) + updatedRules = append(updatedRules, expirationAdminEligibility) } - - updatedRules = append(updatedRules, RoleManagementPolicyRule{ - Id: pointer.To(id), - RuleType: rolemanagementpolicies.RoleManagementPolicyRuleType(ruleType), - Target: target, - IsExpirationRequired: pointer.To(expirationRequired), - MaximumDuration: pointer.To(maximumDuration), - }) } } if metadata.ResourceData.HasChange("active_assignment_rules.0.require_multifactor_authentication") || metadata.ResourceData.HasChange("active_assignment_rules.0.require_justification") || metadata.ResourceData.HasChange("active_assignment_rules.0.require_ticket_info") { - if enablementAdminEligibility, ok := existingRules["Enablement_Admin_Assignment"]; ok && enablementAdminEligibility.Values != nil { - enabledRules := make([]string, 0) - - if len(model.ActiveAssignmentRules) == 1 { - if model.ActiveAssignmentRules[0].RequireMultiFactorAuth { - enabledRules = append(enabledRules, "MultiFactorAuthentication") - } - if model.ActiveAssignmentRules[0].RequireJustification { - enabledRules = append(enabledRules, "Justification") - } - if model.ActiveAssignmentRules[0].RequireTicketInfo { - enabledRules = append(enabledRules, "Ticketing") + if enablementAdminEligibilityBase, ok := existingRules["Enablement_Admin_Assignment"]; ok { + if enablementAdminEligibility, ok := enablementAdminEligibilityBase.(rolemanagementpolicies.RoleManagementPolicyEnablementRule); ok { + enabledRules := make([]rolemanagementpolicies.EnablementRules, 0) + if len(model.ActiveAssignmentRules) == 1 { + if model.ActiveAssignmentRules[0].RequireMultiFactorAuth { + enabledRules = append(enabledRules, rolemanagementpolicies.EnablementRulesMultiFactorAuthentication) + } + if model.ActiveAssignmentRules[0].RequireJustification { + enabledRules = append(enabledRules, rolemanagementpolicies.EnablementRulesJustification) + } + if model.ActiveAssignmentRules[0].RequireTicketInfo { + enabledRules = append(enabledRules, rolemanagementpolicies.EnablementRulesTicketing) + } } + enablementAdminEligibility.EnabledRules = pointer.To(enabledRules) + updatedRules = append(updatedRules, enablementAdminEligibility) } - - var id, ruleType string - var target map[string]interface{} - if idRaw, ok := enablementAdminEligibility.Values["id"]; ok { - id = idRaw.(string) - } - if ruleTypeRaw, ok := enablementAdminEligibility.Values["ruleType"]; ok { - ruleType = ruleTypeRaw.(string) - } - if targetRaw, ok := enablementAdminEligibility.Values["target"]; ok { - target = targetRaw.(map[string]interface{}) - } - - updatedRules = append(updatedRules, RoleManagementPolicyRule{ - Id: pointer.To(id), - RuleType: rolemanagementpolicies.RoleManagementPolicyRuleType(ruleType), - Target: target, - EnabledRules: pointer.To(enabledRules), - }) } } if metadata.ResourceData.HasChange("active_assignment_rules.0.expiration_required") || metadata.ResourceData.HasChange("active_assignment_rules.0.expire_after") { - if expirationAdminAssignment, ok := existingRules["Expiration_Admin_Assignment"]; ok && expirationAdminAssignment.Values != nil { - var expirationRequired bool - if expirationRequiredRaw, ok := expirationAdminAssignment.Values["isExpirationRequired"]; ok { - expirationRequired = expirationRequiredRaw.(bool) - } - - var maximumDuration string - if maximumDurationRaw, ok := expirationAdminAssignment.Values["maximumDuration"]; ok { - maximumDuration = maximumDurationRaw.(string) - } - - if len(model.ActiveAssignmentRules) == 1 { - if expirationRequired != model.ActiveAssignmentRules[0].ExpirationRequired { - expirationRequired = model.ActiveAssignmentRules[0].ExpirationRequired - } - if maximumDuration != model.ActiveAssignmentRules[0].ExpireAfter && - model.ActiveAssignmentRules[0].ExpireAfter != "" { - maximumDuration = model.ActiveAssignmentRules[0].ExpireAfter + if expirationAdminAssignmentBase, ok := existingRules["Expiration_Admin_Assignment"]; ok { + if expirationAdminAssignment, ok := expirationAdminAssignmentBase.(rolemanagementpolicies.RoleManagementPolicyExpirationRule); ok { + expirationRequired := pointer.From(expirationAdminAssignment.IsExpirationRequired) + maximumDuration := pointer.From(expirationAdminAssignment.MaximumDuration) + + if len(model.ActiveAssignmentRules) == 1 { + if expirationRequired != model.ActiveAssignmentRules[0].ExpirationRequired { + expirationAdminAssignment.IsExpirationRequired = pointer.To(model.ActiveAssignmentRules[0].ExpirationRequired) + } + if maximumDuration != model.ActiveAssignmentRules[0].ExpireAfter && + model.ActiveAssignmentRules[0].ExpireAfter != "" { + expirationAdminAssignment.MaximumDuration = pointer.To(model.ActiveAssignmentRules[0].ExpireAfter) + } } - } - var id, ruleType string - var target map[string]interface{} - if idRaw, ok := expirationAdminAssignment.Values["id"]; ok { - id = idRaw.(string) - } - if ruleTypeRaw, ok := expirationAdminAssignment.Values["ruleType"]; ok { - ruleType = ruleTypeRaw.(string) + updatedRules = append(updatedRules, expirationAdminAssignment) } - if targetRaw, ok := expirationAdminAssignment.Values["target"]; ok { - target = targetRaw.(map[string]interface{}) - } - - updatedRules = append(updatedRules, RoleManagementPolicyRule{ - Id: pointer.To(id), - RuleType: rolemanagementpolicies.RoleManagementPolicyRuleType(ruleType), - Target: target, - IsExpirationRequired: pointer.To(expirationRequired), - MaximumDuration: pointer.To(maximumDuration), - }) } } if metadata.ResourceData.HasChange("activation_rules.0.maximum_duration") { - if expirationEndUserAssignment, ok := existingRules["Expiration_EndUser_Assignment"]; ok && expirationEndUserAssignment.Values != nil { - var id, ruleType, maximumDuration string - var target map[string]interface{} - if idRaw, ok := expirationEndUserAssignment.Values["id"]; ok { - id = idRaw.(string) - } - if ruleTypeRaw, ok := expirationEndUserAssignment.Values["ruleType"]; ok { - ruleType = ruleTypeRaw.(string) - } - if targetRaw, ok := expirationEndUserAssignment.Values["target"]; ok { - target = targetRaw.(map[string]interface{}) - } - if len(model.ActivationRules) == 1 { - maximumDuration = model.ActivationRules[0].MaximumDuration - } + if expirationEndUserAssignmentBase, ok := existingRules["Expiration_EndUser_Assignment"]; ok { + if expirationEndUserAssignment, ok := expirationEndUserAssignmentBase.(rolemanagementpolicies.RoleManagementPolicyExpirationRule); ok { + if len(model.ActivationRules) == 1 { + expirationEndUserAssignment.MaximumDuration = pointer.To(model.ActivationRules[0].MaximumDuration) + } - updatedRules = append(updatedRules, RoleManagementPolicyRule{ - Id: pointer.To(id), - RuleType: rolemanagementpolicies.RoleManagementPolicyRuleType(ruleType), - Target: target, - MaximumDuration: pointer.To(maximumDuration), - }) + updatedRules = append(updatedRules, expirationEndUserAssignment) + } } } if metadata.ResourceData.HasChange("activation_rules.0.require_approval") || metadata.ResourceData.HasChange("activation_rules.0.approval_stage") { - if approvalEndUserAssignment, ok := existingRules["Approval_EndUser_Assignment"]; ok && approvalEndUserAssignment.Values != nil { - if len(model.ActivationRules) == 1 { - if model.ActivationRules[0].RequireApproval && len(model.ActivationRules[0].ApprovalStages) != 1 { - return nil, fmt.Errorf("require_approval is true, but no approval_stages are provided") - } - } - - var approvalReqd bool - var approvalStages []map[string]interface{} - - if settingsRaw, ok := approvalEndUserAssignment.Values["setting"]; ok { - settings := settingsRaw.(map[string]interface{}) - - if approvalReqdRaw, ok := settings["isApprovalRequired"]; ok { - approvalReqd = approvalReqdRaw.(bool) - } - + if approvalEndUserAssignmentBase, ok := existingRules["Approval_EndUser_Assignment"]; ok { + if approvalEndUserAssignment, ok := approvalEndUserAssignmentBase.(rolemanagementpolicies.RoleManagementPolicyApprovalRule); ok { if len(model.ActivationRules) == 1 { - if approvalReqd != model.ActivationRules[0].RequireApproval { - approvalReqd = model.ActivationRules[0].RequireApproval + if model.ActivationRules[0].RequireApproval && len(model.ActivationRules[0].ApprovalStages) != 1 { + return nil, fmt.Errorf("require_approval is true, but no approval_stages are provided") } } - if metadata.ResourceData.HasChange("activation_rules.0.approval_stage") { + if settings := approvalEndUserAssignment.Setting; settings != nil { if len(model.ActivationRules) == 1 { - approvalStages = make([]map[string]interface{}, len(model.ActivationRules[0].ApprovalStages)) - for i, stage := range model.ActivationRules[0].ApprovalStages { - primaryApprovers := make([]map[string]interface{}, len(stage.PrimaryApprovers)) - for ia, approver := range stage.PrimaryApprovers { - primaryApprovers[ia] = map[string]interface{}{ - "id": approver.ID, - "userType": approver.Type, - } - } - - approvalStages[i] = map[string]interface{}{ - "PrimaryApprovers": primaryApprovers, - } + if pointer.From(settings.IsApprovalRequired) != model.ActivationRules[0].RequireApproval { + settings.IsApprovalRequired = pointer.To(model.ActivationRules[0].RequireApproval) } } - } else { - if approvalStagesRaw, ok := settings["approvalStages"]; ok { - for _, stage := range approvalStagesRaw.([]interface{}) { - if v, ok := stage.(map[string]interface{}); ok { - approvalStages = append(approvalStages, v) + + if metadata.ResourceData.HasChange("activation_rules.0.approval_stage") { + if len(model.ActivationRules) == 1 { + approvalStages := make([]rolemanagementpolicies.ApprovalStage, len(model.ActivationRules[0].ApprovalStages)) + for i, stage := range model.ActivationRules[0].ApprovalStages { + primaryApprovers := make([]rolemanagementpolicies.UserSet, len(stage.PrimaryApprovers)) + for ia, approver := range stage.PrimaryApprovers { + primaryApprovers[ia] = rolemanagementpolicies.UserSet{ + Id: pointer.To(approver.ID), + UserType: pointer.To(rolemanagementpolicies.UserType(approver.Type)), + } + } + + approvalStages[i] = rolemanagementpolicies.ApprovalStage{ + PrimaryApprovers: &primaryApprovers, + } } + settings.ApprovalStages = &approvalStages } } } - } - var id, ruleType string - var target map[string]interface{} - if idRaw, ok := approvalEndUserAssignment.Values["id"]; ok { - id = idRaw.(string) + updatedRules = append(updatedRules, approvalEndUserAssignment) } - if ruleTypeRaw, ok := approvalEndUserAssignment.Values["ruleType"]; ok { - ruleType = ruleTypeRaw.(string) - } - if targetRaw, ok := approvalEndUserAssignment.Values["target"]; ok { - target = targetRaw.(map[string]interface{}) - } - - updatedRules = append(updatedRules, RoleManagementPolicyRule{ - Id: pointer.To(id), - RuleType: rolemanagementpolicies.RoleManagementPolicyRuleType(ruleType), - Target: target, - Setting: map[string]interface{}{ - "isApprovalRequired": approvalReqd, - "approvalStages": approvalStages, - }, - }) } } if metadata.ResourceData.HasChange("activation_rules.0.required_conditional_access_authentication_context") { - if authEndUserAssignment, ok := existingRules["AuthenticationContext_EndUser_Assignment"]; ok && authEndUserAssignment.Values != nil { - var claimValue string - if claimValueRaw, ok := authEndUserAssignment.Values["claimValue"]; ok { - claimValue = claimValueRaw.(string) - } - - var isEnabled bool - if _, ok = metadata.ResourceData.GetOk("activation_rules.0.required_conditional_access_authentication_context"); ok { - isEnabled = true - if len(model.ActivationRules) == 1 { - claimValue = model.ActivationRules[0].RequireConditionalAccessContext + if authEndUserAssignmentBase, ok := existingRules["AuthenticationContext_EndUser_Assignment"]; ok { + if authEndUserAssignment, ok := authEndUserAssignmentBase.(rolemanagementpolicies.RoleManagementPolicyAuthenticationContextRule); ok { + if _, ok = metadata.ResourceData.GetOk("activation_rules.0.required_conditional_access_authentication_context"); ok { + authEndUserAssignment.IsEnabled = pointer.To(true) + if len(model.ActivationRules) == 1 { + authEndUserAssignment.ClaimValue = pointer.To(model.ActivationRules[0].RequireConditionalAccessContext) + } } - } - var id, ruleType string - var target map[string]interface{} - if idRaw, ok := authEndUserAssignment.Values["id"]; ok { - id = idRaw.(string) - } - if ruleTypeRaw, ok := authEndUserAssignment.Values["ruleType"]; ok { - ruleType = ruleTypeRaw.(string) + updatedRules = append(updatedRules, authEndUserAssignment) } - if targetRaw, ok := authEndUserAssignment.Values["target"]; ok { - target = targetRaw.(map[string]interface{}) - } - - updatedRules = append(updatedRules, RoleManagementPolicyRule{ - Id: pointer.To(id), - RuleType: rolemanagementpolicies.RoleManagementPolicyRuleType(ruleType), - Target: target, - IsEnabled: pointer.To(isEnabled), - ClaimValue: pointer.To(claimValue), - }) } } if metadata.ResourceData.HasChange("activation_rules.0.require_multifactor_authentication") || metadata.ResourceData.HasChange("activation_rules.0.require_justification") || metadata.ResourceData.HasChange("activation_rules.0.require_ticket_info") { - if enablementEndUserAssignment, ok := existingRules["Enablement_EndUser_Assignment"]; ok && enablementEndUserAssignment.Values != nil { - enabledRules := make([]string, 0) - if len(model.ActivationRules) == 1 { - if model.ActivationRules[0].RequireMultiFactorAuth { - enabledRules = append(enabledRules, "MultiFactorAuthentication") - } - if model.ActivationRules[0].RequireJustification { - enabledRules = append(enabledRules, "Justification") - } - if model.ActivationRules[0].RequireTicketInfo { - enabledRules = append(enabledRules, "Ticketing") + if enablementEndUserAssignmentBase, ok := existingRules["Enablement_EndUser_Assignment"]; ok { + if enablementEndUserAssignment, ok := enablementEndUserAssignmentBase.(rolemanagementpolicies.RoleManagementPolicyEnablementRule); ok { + + enabledRules := make([]rolemanagementpolicies.EnablementRules, 0) + if len(model.ActivationRules) == 1 { + if model.ActivationRules[0].RequireMultiFactorAuth { + enabledRules = append(enabledRules, rolemanagementpolicies.EnablementRulesMultiFactorAuthentication) + } + if model.ActivationRules[0].RequireJustification { + enabledRules = append(enabledRules, rolemanagementpolicies.EnablementRulesJustification) + } + if model.ActivationRules[0].RequireTicketInfo { + enabledRules = append(enabledRules, rolemanagementpolicies.EnablementRulesTicketing) + } } - } + enablementEndUserAssignment.EnabledRules = &enabledRules - var id, ruleType string - var target map[string]interface{} - if idRaw, ok := enablementEndUserAssignment.Values["id"]; ok { - id = idRaw.(string) - } - if ruleTypeRaw, ok := enablementEndUserAssignment.Values["ruleType"]; ok { - ruleType = ruleTypeRaw.(string) + updatedRules = append(updatedRules, enablementEndUserAssignment) } - if targetRaw, ok := enablementEndUserAssignment.Values["target"]; ok { - target = targetRaw.(map[string]interface{}) - } - - updatedRules = append(updatedRules, RoleManagementPolicyRule{ - Id: pointer.To(id), - RuleType: rolemanagementpolicies.RoleManagementPolicyRuleType(ruleType), - Target: target, - EnabledRules: pointer.To(enabledRules), - }) } } if metadata.ResourceData.HasChange("notification_rules.0.eligible_assignments.0.admin_notifications") { - if notificationAdminAdminEligibility, ok := existingRules["Notification_Admin_Admin_Eligibility"]; ok && notificationAdminAdminEligibility.Values != nil { - if len(model.NotificationRules) == 1 { - if len(model.NotificationRules[0].EligibleAssignments) == 1 { - if len(model.NotificationRules[0].EligibleAssignments[0].AdminNotifications) == 1 { - updatedRules = append(updatedRules, - expandNotificationSettings( - notificationAdminAdminEligibility, - model.NotificationRules[0].EligibleAssignments[0].AdminNotifications[0], - metadata.ResourceData.HasChange("notification_rules.0.eligible_assignments.0.admin_notifications.0.additional_recipients"), - ), - ) + if notificationAdminAdminEligibilityBase, ok := existingRules["Notification_Admin_Admin_Eligibility"]; ok { + if notificationAdminAdminEligibility, ok := notificationAdminAdminEligibilityBase.(rolemanagementpolicies.RoleManagementPolicyNotificationRule); ok { + if len(model.NotificationRules) == 1 { + if len(model.NotificationRules[0].EligibleAssignments) == 1 { + if len(model.NotificationRules[0].EligibleAssignments[0].AdminNotifications) == 1 { + updatedRules = append(updatedRules, + expandNotificationSettings( + notificationAdminAdminEligibility, + model.NotificationRules[0].EligibleAssignments[0].AdminNotifications[0], + metadata.ResourceData.HasChange("notification_rules.0.eligible_assignments.0.admin_notifications.0.additional_recipients"), + ), + ) + } } } } @@ -394,17 +257,19 @@ func buildRoleManagementPolicyForUpdate(metadata *sdk.ResourceMetaData, rolePoli } if metadata.ResourceData.HasChange("notification_rules.0.active_assignments.0.admin_notifications") { - if notificationAdminAdminAssignment, ok := existingRules["Notification_Admin_Admin_Assignment"]; ok && notificationAdminAdminAssignment.Values != nil { - if len(model.NotificationRules) == 1 { - if len(model.NotificationRules[0].ActiveAssignments) == 1 { - if len(model.NotificationRules[0].ActiveAssignments[0].AdminNotifications) == 1 { - updatedRules = append(updatedRules, - expandNotificationSettings( - notificationAdminAdminAssignment, - model.NotificationRules[0].ActiveAssignments[0].AdminNotifications[0], - metadata.ResourceData.HasChange("notification_rules.0.active_assignments.0.admin_notifications.0.additional_recipients"), - ), - ) + if notificationAdminAdminAssignmentBase, ok := existingRules["Notification_Admin_Admin_Assignment"]; ok { + if notificationAdminAdminAssignment, ok := notificationAdminAdminAssignmentBase.(rolemanagementpolicies.RoleManagementPolicyNotificationRule); ok { + if len(model.NotificationRules) == 1 { + if len(model.NotificationRules[0].ActiveAssignments) == 1 { + if len(model.NotificationRules[0].ActiveAssignments[0].AdminNotifications) == 1 { + updatedRules = append(updatedRules, + expandNotificationSettings( + notificationAdminAdminAssignment, + model.NotificationRules[0].ActiveAssignments[0].AdminNotifications[0], + metadata.ResourceData.HasChange("notification_rules.0.active_assignments.0.admin_notifications.0.additional_recipients"), + ), + ) + } } } } @@ -412,17 +277,19 @@ func buildRoleManagementPolicyForUpdate(metadata *sdk.ResourceMetaData, rolePoli } if metadata.ResourceData.HasChange("notification_rules.0.eligible_activations.0.admin_notifications") { - if notificationAdminEndUserAssignment, ok := existingRules["Notification_Admin_EndUser_Assignment"]; ok && notificationAdminEndUserAssignment.Values != nil { - if len(model.NotificationRules) == 1 { - if len(model.NotificationRules[0].EligibleActivations) == 1 { - if len(model.NotificationRules[0].EligibleActivations[0].AdminNotifications) == 1 { - updatedRules = append(updatedRules, - expandNotificationSettings( - notificationAdminEndUserAssignment, - model.NotificationRules[0].EligibleActivations[0].AdminNotifications[0], - metadata.ResourceData.HasChange("notification_rules.0.eligible_activations.0.admin_notifications.0.additional_recipients"), - ), - ) + if notificationAdminEndUserAssignmentBase, ok := existingRules["Notification_Admin_EndUser_Assignment"]; ok { + if notificationAdminEndUserAssignment, ok := notificationAdminEndUserAssignmentBase.(rolemanagementpolicies.RoleManagementPolicyNotificationRule); ok { + if len(model.NotificationRules) == 1 { + if len(model.NotificationRules[0].EligibleActivations) == 1 { + if len(model.NotificationRules[0].EligibleActivations[0].AdminNotifications) == 1 { + updatedRules = append(updatedRules, + expandNotificationSettings( + notificationAdminEndUserAssignment, + model.NotificationRules[0].EligibleActivations[0].AdminNotifications[0], + metadata.ResourceData.HasChange("notification_rules.0.eligible_activations.0.admin_notifications.0.additional_recipients"), + ), + ) + } } } } @@ -430,17 +297,19 @@ func buildRoleManagementPolicyForUpdate(metadata *sdk.ResourceMetaData, rolePoli } if metadata.ResourceData.HasChange("notification_rules.0.eligible_assignments.0.approver_notifications") { - if notificationApproverAdminEligibility, ok := existingRules["Notification_Approver_Admin_Eligibility"]; ok && notificationApproverAdminEligibility.Values != nil { - if len(model.NotificationRules) == 1 { - if len(model.NotificationRules[0].EligibleAssignments) == 1 { - if len(model.NotificationRules[0].EligibleAssignments[0].ApproverNotifications) == 1 { - updatedRules = append(updatedRules, - expandNotificationSettings( - notificationApproverAdminEligibility, - model.NotificationRules[0].EligibleAssignments[0].ApproverNotifications[0], - metadata.ResourceData.HasChange("notification_rules.0.eligible_assignments.0.approver_notifications.0.additional_recipients"), - ), - ) + if notificationApproverAdminEligibilityBase, ok := existingRules["Notification_Approver_Admin_Eligibility"]; ok { + if notificationApproverAdminEligibility, ok := notificationApproverAdminEligibilityBase.(rolemanagementpolicies.RoleManagementPolicyNotificationRule); ok { + if len(model.NotificationRules) == 1 { + if len(model.NotificationRules[0].EligibleAssignments) == 1 { + if len(model.NotificationRules[0].EligibleAssignments[0].ApproverNotifications) == 1 { + updatedRules = append(updatedRules, + expandNotificationSettings( + notificationApproverAdminEligibility, + model.NotificationRules[0].EligibleAssignments[0].ApproverNotifications[0], + metadata.ResourceData.HasChange("notification_rules.0.eligible_assignments.0.approver_notifications.0.additional_recipients"), + ), + ) + } } } } @@ -448,17 +317,19 @@ func buildRoleManagementPolicyForUpdate(metadata *sdk.ResourceMetaData, rolePoli } if metadata.ResourceData.HasChange("notification_rules.0.active_assignments.0.approver_notifications") { - if notificationApproverAdminAssignment, ok := existingRules["Notification_Approver_Admin_Assignment"]; ok && notificationApproverAdminAssignment.Values != nil { - if len(model.NotificationRules) == 1 { - if len(model.NotificationRules[0].ActiveAssignments) == 1 { - if len(model.NotificationRules[0].ActiveAssignments[0].ApproverNotifications) == 1 { - updatedRules = append(updatedRules, - expandNotificationSettings( - notificationApproverAdminAssignment, - model.NotificationRules[0].ActiveAssignments[0].ApproverNotifications[0], - metadata.ResourceData.HasChange("notification_rules.0.active_assignments.0.approver_notifications.0.additional_recipients"), - ), - ) + if notificationApproverAdminAssignmentBase, ok := existingRules["Notification_Approver_Admin_Assignment"]; ok { + if notificationApproverAdminAssignment, ok := notificationApproverAdminAssignmentBase.(rolemanagementpolicies.RoleManagementPolicyNotificationRule); ok { + if len(model.NotificationRules) == 1 { + if len(model.NotificationRules[0].ActiveAssignments) == 1 { + if len(model.NotificationRules[0].ActiveAssignments[0].ApproverNotifications) == 1 { + updatedRules = append(updatedRules, + expandNotificationSettings( + notificationApproverAdminAssignment, + model.NotificationRules[0].ActiveAssignments[0].ApproverNotifications[0], + metadata.ResourceData.HasChange("notification_rules.0.active_assignments.0.approver_notifications.0.additional_recipients"), + ), + ) + } } } } @@ -466,17 +337,19 @@ func buildRoleManagementPolicyForUpdate(metadata *sdk.ResourceMetaData, rolePoli } if metadata.ResourceData.HasChange("notification_rules.0.eligible_activations.0.approver_notifications") { - if notificationApproverEndUserAssignment, ok := existingRules["Notification_Approver_EndUser_Assignment"]; ok && notificationApproverEndUserAssignment.Values != nil { - if len(model.NotificationRules) == 1 { - if len(model.NotificationRules[0].EligibleActivations) == 1 { - if len(model.NotificationRules[0].EligibleActivations[0].ApproverNotifications) == 1 { - updatedRules = append(updatedRules, - expandNotificationSettings( - notificationApproverEndUserAssignment, - model.NotificationRules[0].EligibleActivations[0].ApproverNotifications[0], - metadata.ResourceData.HasChange("notification_rules.0.eligible_activations.0.approver_notifications.0.additional_recipients"), - ), - ) + if notificationApproverEndUserAssignmentBase, ok := existingRules["Notification_Approver_EndUser_Assignment"]; ok { + if notificationApproverEndUserAssignment, ok := notificationApproverEndUserAssignmentBase.(rolemanagementpolicies.RoleManagementPolicyNotificationRule); ok { + if len(model.NotificationRules) == 1 { + if len(model.NotificationRules[0].EligibleActivations) == 1 { + if len(model.NotificationRules[0].EligibleActivations[0].ApproverNotifications) == 1 { + updatedRules = append(updatedRules, + expandNotificationSettings( + notificationApproverEndUserAssignment, + model.NotificationRules[0].EligibleActivations[0].ApproverNotifications[0], + metadata.ResourceData.HasChange("notification_rules.0.eligible_activations.0.approver_notifications.0.additional_recipients"), + ), + ) + } } } } @@ -484,17 +357,19 @@ func buildRoleManagementPolicyForUpdate(metadata *sdk.ResourceMetaData, rolePoli } if metadata.ResourceData.HasChange("notification_rules.0.eligible_assignments.0.assignee_notifications") { - if notificationRequestorAdminEligibility, ok := existingRules["Notification_Requestor_Admin_Eligibility"]; ok && notificationRequestorAdminEligibility.Values != nil { - if len(model.NotificationRules) == 1 { - if len(model.NotificationRules[0].EligibleAssignments) == 1 { - if len(model.NotificationRules[0].EligibleAssignments[0].AssigneeNotifications) == 1 { - updatedRules = append(updatedRules, - expandNotificationSettings( - notificationRequestorAdminEligibility, - model.NotificationRules[0].EligibleAssignments[0].AssigneeNotifications[0], - metadata.ResourceData.HasChange("notification_rules.0.eligible_assignments.0.assignee_notifications.0.additional_recipients"), - ), - ) + if notificationRequestorAdminEligibilityBase, ok := existingRules["Notification_Requestor_Admin_Eligibility"]; ok { + if notificationRequestorAdminEligibility, ok := notificationRequestorAdminEligibilityBase.(rolemanagementpolicies.RoleManagementPolicyNotificationRule); ok { + if len(model.NotificationRules) == 1 { + if len(model.NotificationRules[0].EligibleAssignments) == 1 { + if len(model.NotificationRules[0].EligibleAssignments[0].AssigneeNotifications) == 1 { + updatedRules = append(updatedRules, + expandNotificationSettings( + notificationRequestorAdminEligibility, + model.NotificationRules[0].EligibleAssignments[0].AssigneeNotifications[0], + metadata.ResourceData.HasChange("notification_rules.0.eligible_assignments.0.assignee_notifications.0.additional_recipients"), + ), + ) + } } } } @@ -502,17 +377,19 @@ func buildRoleManagementPolicyForUpdate(metadata *sdk.ResourceMetaData, rolePoli } if metadata.ResourceData.HasChange("notification_rules.0.active_assignments.0.assignee_notifications") { - if notificationRequestorAdminAssignment, ok := existingRules["Notification_Requestor_Admin_Assignment"]; ok && notificationRequestorAdminAssignment.Values != nil { - if len(model.NotificationRules) == 1 { - if len(model.NotificationRules[0].ActiveAssignments) == 1 { - if len(model.NotificationRules[0].ActiveAssignments[0].AssigneeNotifications) == 1 { - updatedRules = append(updatedRules, - expandNotificationSettings( - notificationRequestorAdminAssignment, - model.NotificationRules[0].ActiveAssignments[0].AssigneeNotifications[0], - metadata.ResourceData.HasChange("notification_rules.0.active_assignments.0.assignee_notifications.0.additional_recipients"), - ), - ) + if notificationRequestorAdminAssignmentBase, ok := existingRules["Notification_Requestor_Admin_Assignment"]; ok { + if notificationRequestorAdminAssignment, ok := notificationRequestorAdminAssignmentBase.(rolemanagementpolicies.RoleManagementPolicyNotificationRule); ok { + if len(model.NotificationRules) == 1 { + if len(model.NotificationRules[0].ActiveAssignments) == 1 { + if len(model.NotificationRules[0].ActiveAssignments[0].AssigneeNotifications) == 1 { + updatedRules = append(updatedRules, + expandNotificationSettings( + notificationRequestorAdminAssignment, + model.NotificationRules[0].ActiveAssignments[0].AssigneeNotifications[0], + metadata.ResourceData.HasChange("notification_rules.0.active_assignments.0.assignee_notifications.0.additional_recipients"), + ), + ) + } } } } @@ -520,17 +397,19 @@ func buildRoleManagementPolicyForUpdate(metadata *sdk.ResourceMetaData, rolePoli } if metadata.ResourceData.HasChange("notification_rules.0.eligible_activations.0.assignee_notifications") { - if notificationRequestorEndUserAssignment, ok := existingRules["Notification_Requestor_EndUser_Assignment"]; ok && notificationRequestorEndUserAssignment.Values != nil { - if len(model.NotificationRules) == 1 { - if len(model.NotificationRules[0].EligibleActivations) == 1 { - if len(model.NotificationRules[0].EligibleActivations[0].AssigneeNotifications) == 1 { - updatedRules = append(updatedRules, - expandNotificationSettings( - notificationRequestorEndUserAssignment, - model.NotificationRules[0].EligibleActivations[0].AssigneeNotifications[0], - metadata.ResourceData.HasChange("notification_rules.0.eligible_activations.0.assignee_notifications.0.additional_recipients"), - ), - ) + if notificationRequestorEndUserAssignmentBase, ok := existingRules["Notification_Requestor_EndUser_Assignment"]; ok { + if notificationRequestorEndUserAssignment, ok := notificationRequestorEndUserAssignmentBase.(rolemanagementpolicies.RoleManagementPolicyNotificationRule); ok { + if len(model.NotificationRules) == 1 { + if len(model.NotificationRules[0].EligibleActivations) == 1 { + if len(model.NotificationRules[0].EligibleActivations[0].AssigneeNotifications) == 1 { + updatedRules = append(updatedRules, + expandNotificationSettings( + notificationRequestorEndUserAssignment, + model.NotificationRules[0].EligibleActivations[0].AssigneeNotifications[0], + metadata.ResourceData.HasChange("notification_rules.0.eligible_activations.0.assignee_notifications.0.additional_recipients"), + ), + ) + } } } } @@ -547,90 +426,26 @@ func buildRoleManagementPolicyForUpdate(metadata *sdk.ResourceMetaData, rolePoli }, nil } -func expandNotificationSettings(rule rolemanagementpolicies.RawRoleManagementPolicyRuleImpl, data RoleManagementPolicyNotificationSettings, recipientChange bool) rolemanagementpolicies.RoleManagementPolicyRule { - var level string - if levelRaw, ok := rule.Values["notificationLevel"]; ok { - level = levelRaw.(string) - } - - var defaultRecipients bool - if defaultRecipientsRaw, ok := rule.Values["isDefaultRecipientsEnabled"]; ok { - defaultRecipients = defaultRecipientsRaw.(bool) +func expandNotificationSettings(rule rolemanagementpolicies.RoleManagementPolicyNotificationRule, data RoleManagementPolicyNotificationSettings, recipientChange bool) rolemanagementpolicies.RoleManagementPolicyRule { + if pointer.From(rule.NotificationLevel) != rolemanagementpolicies.NotificationLevel(data.NotificationLevel) { + rule.NotificationLevel = pointer.To(rolemanagementpolicies.NotificationLevel(data.NotificationLevel)) } - var additionalRecipients []string - if v, ok := rule.Values["notificationRecipients"]; ok { - additionalRecipientsRaw := v.([]interface{}) - additionalRecipients = make([]string, len(additionalRecipientsRaw)) - for i, r := range additionalRecipientsRaw { - additionalRecipients[i] = r.(string) - } + if pointer.From(rule.IsDefaultRecipientsEnabled) != data.DefaultRecipients { + rule.IsDefaultRecipientsEnabled = pointer.To(data.DefaultRecipients) } - if level != data.NotificationLevel { - level = data.NotificationLevel - } - if defaultRecipients != data.DefaultRecipients { - defaultRecipients = data.DefaultRecipients - } if recipientChange { - additionalRecipients = data.AdditionalRecipients + rule.NotificationRecipients = pointer.To(data.AdditionalRecipients) } - var id, ruleType, recipientType, notificationType string - var target map[string]interface{} - if idRaw, ok := rule.Values["id"]; ok { - id = idRaw.(string) - } - if ruleTypeRaw, ok := rule.Values["ruleType"]; ok { - ruleType = ruleTypeRaw.(string) - } - if targetRaw, ok := rule.Values["target"]; ok { - target = targetRaw.(map[string]interface{}) - } - if recipientTypeRaw, ok := rule.Values["recipientType"]; ok { - recipientType = recipientTypeRaw.(string) - } - if notificationTypeRaw, ok := rule.Values["notificationType"]; ok { - notificationType = notificationTypeRaw.(string) - } - - return RoleManagementPolicyRule{ - Id: pointer.To(id), - RuleType: rolemanagementpolicies.RoleManagementPolicyRuleType(ruleType), - Target: target, - RecipientType: pointer.To(recipientType), - NotificationType: pointer.To(notificationType), - NotificationLevel: pointer.To(level), - IsDefaultRecipientsEnabled: pointer.To(defaultRecipients), - NotificationRecipients: pointer.To(additionalRecipients), - } + return rule } -func flattenNotificationSettings(rule map[string]interface{}) *RoleManagementPolicyNotificationSettings { - if rule == nil { - return nil - } - - var notificationLevel string - var defaultRecipients bool - var additionalRecipients []string - - if v, ok := rule["notificationLevel"].(string); ok { - notificationLevel = v - } - if v, ok := rule["isDefaultRecipientsEnabled"].(bool); ok { - defaultRecipients = v - } - if v, ok := rule["notificationRecipients"].([]interface{}); ok { - additionalRecipients = make([]string, len(v)) - for i, r := range v { - additionalRecipients[i] = r.(string) - } - } +func flattenNotificationSettings(rule rolemanagementpolicies.RoleManagementPolicyNotificationRule) *RoleManagementPolicyNotificationSettings { return &RoleManagementPolicyNotificationSettings{ - NotificationLevel: notificationLevel, - DefaultRecipients: defaultRecipients, - AdditionalRecipients: additionalRecipients, + NotificationLevel: string(pointer.From(rule.NotificationLevel)), + DefaultRecipients: pointer.From(rule.IsDefaultRecipientsEnabled), + AdditionalRecipients: pointer.From(rule.NotificationRecipients), } } diff --git a/internal/services/authorization/role_management_policy_data_source.go b/internal/services/authorization/role_management_policy_data_source.go index c9a6adb48cc4..6c6524ebb99e 100644 --- a/internal/services/authorization/role_management_policy_data_source.go +++ b/internal/services/authorization/role_management_policy_data_source.go @@ -373,122 +373,134 @@ func (r RoleManagementPolicyDataSource) Read() sdk.ResourceFunc { } for _, r := range *prop.Rules { - rule := r.(rolemanagementpolicies.RawRoleManagementPolicyRuleImpl) - switch rule.Values["id"].(string) { - case "AuthenticationContext_EndUser_Assignment": - if claimValue, ok := rule.Values["claimValue"].(string); ok && claimValue != "" { - state.ActivationRules[0].RequireConditionalAccessContext = claimValue + switch rule := r.(type) { + case rolemanagementpolicies.RoleManagementPolicyAuthenticationContextRule: + if rule.Id != nil && *rule.Id == "AuthenticationContext_EndUser_Assignment" { + if rule.ClaimValue != nil && *rule.ClaimValue != "" { + state.ActivationRules[0].RequireConditionalAccessContext = *rule.ClaimValue + } } - - case "Approval_EndUser_Assignment": - if settings, ok := rule.Values["setting"].(map[string]interface{}); ok { - state.ActivationRules[0].RequireApproval = settings["isApprovalRequired"].(bool) - - if approvalStages, ok := settings["approvalStages"].([]interface{}); ok { - state.ActivationRules[0].ApprovalStages = make([]RoleManagementPolicyDataSourceApprovalStage, 1) - approvalStage := approvalStages[0].(map[string]interface{}) - - if primaryApprovers, ok := approvalStage["primaryApprovers"].([]interface{}); ok && len(primaryApprovers) > 0 { - state.ActivationRules[0].ApprovalStages[0].PrimaryApprovers = make([]RoleManagementPolicyDataSourceApprover, len(primaryApprovers)) - - for ia, pa := range primaryApprovers { - approver := pa.(map[string]interface{}) - state.ActivationRules[0].ApprovalStages[0].PrimaryApprovers[ia] = RoleManagementPolicyDataSourceApprover{ - ID: approver["id"].(string), - Type: approver["userType"].(string), + case rolemanagementpolicies.RoleManagementPolicyApprovalRule: + if rule.Id != nil && *rule.Id == "Approval_EndUser_Assignment" { + if rule.Setting != nil { + settings := *rule.Setting + state.ActivationRules[0].RequireApproval = pointer.From(settings.IsApprovalRequired) + if settings.ApprovalStages != nil { + approvalStages := *settings.ApprovalStages + state.ActivationRules[0].ApprovalStages = make([]RoleManagementPolicyDataSourceApprovalStage, 1) + approvalStage := approvalStages[0] + if primaryApprovers := approvalStage.PrimaryApprovers; primaryApprovers != nil && len(*primaryApprovers) > 0 { + state.ActivationRules[0].ApprovalStages[0].PrimaryApprovers = make([]RoleManagementPolicyDataSourceApprover, len(*primaryApprovers)) + for ia, pa := range *primaryApprovers { + state.ActivationRules[0].ApprovalStages[0].PrimaryApprovers[ia] = RoleManagementPolicyDataSourceApprover{ + ID: pointer.From(pa.Id), + Type: string(pointer.From(pa.UserType)), + } } } } } } - - case "Enablement_Admin_Assignment": - state.ActiveAssignmentRules[0].RequireMultiFactorAuth = false - state.ActiveAssignmentRules[0].RequireJustification = false - - if enabledRules, ok := rule.Values["enabledRules"].([]interface{}); ok { - for _, enabledRule := range enabledRules { - switch enabledRule.(string) { - case "MultiFactorAuthentication": - state.ActiveAssignmentRules[0].RequireMultiFactorAuth = true - case "Justification": - state.ActiveAssignmentRules[0].RequireJustification = true + case rolemanagementpolicies.RoleManagementPolicyEnablementRule: + if rule.Id != nil && *rule.Id == "Enablement_Admin_Assignment" { + state.ActiveAssignmentRules[0].RequireMultiFactorAuth = false + state.ActiveAssignmentRules[0].RequireJustification = false + + if rule.EnabledRules != nil { + for _, enabledRule := range *rule.EnabledRules { + switch enabledRule { + case rolemanagementpolicies.EnablementRulesMultiFactorAuthentication: + state.ActiveAssignmentRules[0].RequireMultiFactorAuth = true + case rolemanagementpolicies.EnablementRulesJustification: + state.ActiveAssignmentRules[0].RequireJustification = true + } } } } - case "Enablement_EndUser_Assignment": - state.ActivationRules[0].RequireMultiFactorAuth = false - state.ActivationRules[0].RequireJustification = false - state.ActivationRules[0].RequireTicketInfo = false - - if enabledRules, ok := rule.Values["enabledRules"].([]interface{}); ok { - for _, enabledRule := range enabledRules { - switch enabledRule.(string) { - case "MultiFactorAuthentication": - state.ActivationRules[0].RequireMultiFactorAuth = true - case "Justification": - state.ActivationRules[0].RequireJustification = true - case "Ticketing": - state.ActivationRules[0].RequireTicketInfo = true + if rule.Id != nil && *rule.Id == "Enablement_EndUser_Assignment" { + state.ActivationRules[0].RequireMultiFactorAuth = false + state.ActivationRules[0].RequireJustification = false + state.ActivationRules[0].RequireTicketInfo = false + + if rule.EnabledRules != nil { + for _, enabledRule := range *rule.EnabledRules { + switch enabledRule { + case rolemanagementpolicies.EnablementRulesMultiFactorAuthentication: + state.ActivationRules[0].RequireMultiFactorAuth = true + case rolemanagementpolicies.EnablementRulesJustification: + state.ActivationRules[0].RequireJustification = true + case rolemanagementpolicies.EnablementRulesTicketing: + state.ActivationRules[0].RequireTicketInfo = true + } } } } - case "Expiration_Admin_Eligibility": - state.EligibleAssignmentRules[0].ExpirationRequired = rule.Values["isExpirationRequired"].(bool) - state.EligibleAssignmentRules[0].ExpireAfter = rule.Values["maximumDuration"].(string) + case rolemanagementpolicies.RoleManagementPolicyExpirationRule: + if rule.Id != nil { + switch *rule.Id { + case "Expiration_Admin_Eligibility": + state.EligibleAssignmentRules[0].ExpirationRequired = pointer.From(rule.IsExpirationRequired) + state.EligibleAssignmentRules[0].ExpireAfter = pointer.From(rule.MaximumDuration) - case "Expiration_Admin_Assignment": - state.ActiveAssignmentRules[0].ExpirationRequired = rule.Values["isExpirationRequired"].(bool) - state.ActiveAssignmentRules[0].ExpireAfter = rule.Values["maximumDuration"].(string) + case "Expiration_Admin_Assignment": + state.ActiveAssignmentRules[0].ExpirationRequired = pointer.From(rule.IsExpirationRequired) + state.ActiveAssignmentRules[0].ExpireAfter = pointer.From(rule.MaximumDuration) - case "Expiration_EndUser_Assignment": - state.ActivationRules[0].MaximumDuration = rule.Values["maximumDuration"].(string) + case "Expiration_EndUser_Assignment": + state.ActivationRules[0].MaximumDuration = pointer.From(rule.MaximumDuration) - case "Notification_Admin_Admin_Assignment": - state.NotificationRules[0].ActiveAssignments[0].AdminNotifications = []RoleManagementPolicyDataSourceNotificationSettings{ - *flattenNotificationDataSourceSettings(pointer.To(rule.Values)), + } } + case rolemanagementpolicies.RoleManagementPolicyNotificationRule: + if rule.Id != nil { + switch *rule.Id { + case "Notification_Admin_Admin_Assignment": + state.NotificationRules[0].ActiveAssignments[0].AdminNotifications = []RoleManagementPolicyDataSourceNotificationSettings{ + *flattenNotificationDataSourceSettings(rule), + } - case "Notification_Admin_Admin_Eligibility": - state.NotificationRules[0].EligibleAssignments[0].AdminNotifications = []RoleManagementPolicyDataSourceNotificationSettings{ - *flattenNotificationDataSourceSettings(pointer.To(rule.Values)), - } + case "Notification_Admin_Admin_Eligibility": + state.NotificationRules[0].EligibleAssignments[0].AdminNotifications = []RoleManagementPolicyDataSourceNotificationSettings{ + *flattenNotificationDataSourceSettings(rule), + } - case "Notification_Admin_EndUser_Assignment": - state.NotificationRules[0].EligibleActivations[0].AdminNotifications = []RoleManagementPolicyDataSourceNotificationSettings{ - *flattenNotificationDataSourceSettings(pointer.To(rule.Values)), - } + case "Notification_Admin_EndUser_Assignment": + state.NotificationRules[0].EligibleActivations[0].AdminNotifications = []RoleManagementPolicyDataSourceNotificationSettings{ + *flattenNotificationDataSourceSettings(rule), + } - case "Notification_Approver_Admin_Assignment": - state.NotificationRules[0].ActiveAssignments[0].ApproverNotifications = []RoleManagementPolicyDataSourceNotificationSettings{ - *flattenNotificationDataSourceSettings(pointer.To(rule.Values)), - } + case "Notification_Approver_Admin_Assignment": + state.NotificationRules[0].ActiveAssignments[0].ApproverNotifications = []RoleManagementPolicyDataSourceNotificationSettings{ + *flattenNotificationDataSourceSettings(rule), + } - case "Notification_Approver_Admin_Eligibility": - state.NotificationRules[0].EligibleAssignments[0].ApproverNotifications = []RoleManagementPolicyDataSourceNotificationSettings{ - *flattenNotificationDataSourceSettings(pointer.To(rule.Values)), - } + case "Notification_Approver_Admin_Eligibility": + state.NotificationRules[0].EligibleAssignments[0].ApproverNotifications = []RoleManagementPolicyDataSourceNotificationSettings{ + *flattenNotificationDataSourceSettings(rule), + } - case "Notification_Approver_EndUser_Assignment": - state.NotificationRules[0].EligibleActivations[0].ApproverNotifications = []RoleManagementPolicyDataSourceNotificationSettings{ - *flattenNotificationDataSourceSettings(pointer.To(rule.Values)), - } + case "Notification_Approver_EndUser_Assignment": + state.NotificationRules[0].EligibleActivations[0].ApproverNotifications = []RoleManagementPolicyDataSourceNotificationSettings{ + *flattenNotificationDataSourceSettings(rule), + } - case "Notification_Requestor_Admin_Assignment": - state.NotificationRules[0].ActiveAssignments[0].AssigneeNotifications = []RoleManagementPolicyDataSourceNotificationSettings{ - *flattenNotificationDataSourceSettings(pointer.To(rule.Values)), - } + case "Notification_Requestor_Admin_Assignment": + state.NotificationRules[0].ActiveAssignments[0].AssigneeNotifications = []RoleManagementPolicyDataSourceNotificationSettings{ + *flattenNotificationDataSourceSettings(rule), + } - case "Notification_Requestor_Admin_Eligibility": - state.NotificationRules[0].EligibleAssignments[0].AssigneeNotifications = []RoleManagementPolicyDataSourceNotificationSettings{ - *flattenNotificationDataSourceSettings(pointer.To(rule.Values)), - } + case "Notification_Requestor_Admin_Eligibility": + state.NotificationRules[0].EligibleAssignments[0].AssigneeNotifications = []RoleManagementPolicyDataSourceNotificationSettings{ + *flattenNotificationDataSourceSettings(rule), + } - case "Notification_Requestor_EndUser_Assignment": - state.NotificationRules[0].EligibleActivations[0].AssigneeNotifications = []RoleManagementPolicyDataSourceNotificationSettings{ - *flattenNotificationDataSourceSettings(pointer.To(rule.Values)), + case "Notification_Requestor_EndUser_Assignment": + state.NotificationRules[0].EligibleActivations[0].AssigneeNotifications = []RoleManagementPolicyDataSourceNotificationSettings{ + *flattenNotificationDataSourceSettings(rule), + } + } } } } @@ -501,27 +513,11 @@ func (r RoleManagementPolicyDataSource) Read() sdk.ResourceFunc { } } -func flattenNotificationDataSourceSettings(rule *map[string]interface{}) *RoleManagementPolicyDataSourceNotificationSettings { - var notificationLevel string - var defaultRecipients bool - var additionalRecipients []string - - if v, ok := (*rule)["notificationLevel"].(string); ok { - notificationLevel = v - } - if v, ok := (*rule)["isDefaultRecipientsEnabled"].(bool); ok { - defaultRecipients = v - } - if v, ok := (*rule)["notificationRecipients"].([]interface{}); ok { - additionalRecipients = make([]string, len(v)) - for i, r := range v { - additionalRecipients[i] = r.(string) - } - } +func flattenNotificationDataSourceSettings(rule rolemanagementpolicies.RoleManagementPolicyNotificationRule) *RoleManagementPolicyDataSourceNotificationSettings { return &RoleManagementPolicyDataSourceNotificationSettings{ - NotificationLevel: notificationLevel, - DefaultRecipients: defaultRecipients, - AdditionalRecipients: additionalRecipients, + NotificationLevel: string(pointer.From(rule.NotificationLevel)), + DefaultRecipients: pointer.From(rule.IsDefaultRecipientsEnabled), + AdditionalRecipients: pointer.From(rule.NotificationRecipients), } } diff --git a/internal/services/authorization/role_management_policy_resource.go b/internal/services/authorization/role_management_policy_resource.go index 9a91194ec842..ba77eb1f769b 100644 --- a/internal/services/authorization/role_management_policy_resource.go +++ b/internal/services/authorization/role_management_policy_resource.go @@ -463,122 +463,134 @@ func (r RoleManagementPolicyResource) Read() sdk.ResourceFunc { } for _, r := range *prop.Rules { - rule := r.(rolemanagementpolicies.RawRoleManagementPolicyRuleImpl) - switch rule.Values["id"].(string) { - case "AuthenticationContext_EndUser_Assignment": - if claimValue, ok := rule.Values["claimValue"].(string); ok && claimValue != "" { - state.ActivationRules[0].RequireConditionalAccessContext = claimValue + switch rule := r.(type) { + case rolemanagementpolicies.RoleManagementPolicyAuthenticationContextRule: + if rule.Id != nil && *rule.Id == "AuthenticationContext_EndUser_Assignment" { + if rule.ClaimValue != nil && *rule.ClaimValue != "" { + state.ActivationRules[0].RequireConditionalAccessContext = *rule.ClaimValue + } } - - case "Approval_EndUser_Assignment": - if settings, ok := rule.Values["setting"].(map[string]interface{}); ok { - state.ActivationRules[0].RequireApproval = settings["isApprovalRequired"].(bool) - - if approvalStages, ok := settings["approvalStages"].([]interface{}); ok { - state.ActivationRules[0].ApprovalStages = make([]RoleManagementPolicyApprovalStage, 1) - approvalStage := approvalStages[0].(map[string]interface{}) - - if primaryApprovers, ok := approvalStage["primaryApprovers"].([]interface{}); ok && len(primaryApprovers) > 0 { - state.ActivationRules[0].ApprovalStages[0].PrimaryApprovers = make([]RoleManagementPolicyApprover, len(primaryApprovers)) - - for ia, pa := range primaryApprovers { - approver := pa.(map[string]interface{}) - state.ActivationRules[0].ApprovalStages[0].PrimaryApprovers[ia] = RoleManagementPolicyApprover{ - ID: approver["id"].(string), - Type: approver["userType"].(string), + case rolemanagementpolicies.RoleManagementPolicyApprovalRule: + if rule.Id != nil && *rule.Id == "Approval_EndUser_Assignment" { + if rule.Setting != nil { + settings := *rule.Setting + state.ActivationRules[0].RequireApproval = pointer.From(settings.IsApprovalRequired) + if settings.ApprovalStages != nil { + approvalStages := *settings.ApprovalStages + state.ActivationRules[0].ApprovalStages = make([]RoleManagementPolicyApprovalStage, 1) + approvalStage := approvalStages[0] + if primaryApprovers := approvalStage.PrimaryApprovers; primaryApprovers != nil && len(*primaryApprovers) > 0 { + state.ActivationRules[0].ApprovalStages[0].PrimaryApprovers = make([]RoleManagementPolicyApprover, len(*primaryApprovers)) + for ia, pa := range *primaryApprovers { + state.ActivationRules[0].ApprovalStages[0].PrimaryApprovers[ia] = RoleManagementPolicyApprover{ + ID: pointer.From(pa.Id), + Type: string(pointer.From(pa.UserType)), + } } } } } } - - case "Enablement_Admin_Assignment": - state.ActiveAssignmentRules[0].RequireMultiFactorAuth = false - state.ActiveAssignmentRules[0].RequireJustification = false - - if enabledRules, ok := rule.Values["enabledRules"].([]interface{}); ok { - for _, enabledRule := range enabledRules { - switch enabledRule.(string) { - case "MultiFactorAuthentication": - state.ActiveAssignmentRules[0].RequireMultiFactorAuth = true - case "Justification": - state.ActiveAssignmentRules[0].RequireJustification = true + case rolemanagementpolicies.RoleManagementPolicyEnablementRule: + if rule.Id != nil && *rule.Id == "Enablement_Admin_Assignment" { + state.ActiveAssignmentRules[0].RequireMultiFactorAuth = false + state.ActiveAssignmentRules[0].RequireJustification = false + + if rule.EnabledRules != nil { + for _, enabledRule := range *rule.EnabledRules { + switch enabledRule { + case rolemanagementpolicies.EnablementRulesMultiFactorAuthentication: + state.ActiveAssignmentRules[0].RequireMultiFactorAuth = true + case rolemanagementpolicies.EnablementRulesJustification: + state.ActiveAssignmentRules[0].RequireJustification = true + } } } } - case "Enablement_EndUser_Assignment": - state.ActivationRules[0].RequireMultiFactorAuth = false - state.ActivationRules[0].RequireJustification = false - state.ActivationRules[0].RequireTicketInfo = false - - if enabledRules, ok := rule.Values["enabledRules"].([]interface{}); ok { - for _, enabledRule := range enabledRules { - switch enabledRule.(string) { - case "MultiFactorAuthentication": - state.ActivationRules[0].RequireMultiFactorAuth = true - case "Justification": - state.ActivationRules[0].RequireJustification = true - case "Ticketing": - state.ActivationRules[0].RequireTicketInfo = true + if rule.Id != nil && *rule.Id == "Enablement_EndUser_Assignment" { + state.ActivationRules[0].RequireMultiFactorAuth = false + state.ActivationRules[0].RequireJustification = false + state.ActivationRules[0].RequireTicketInfo = false + + if rule.EnabledRules != nil { + for _, enabledRule := range *rule.EnabledRules { + switch enabledRule { + case rolemanagementpolicies.EnablementRulesMultiFactorAuthentication: + state.ActivationRules[0].RequireMultiFactorAuth = true + case rolemanagementpolicies.EnablementRulesJustification: + state.ActivationRules[0].RequireJustification = true + case rolemanagementpolicies.EnablementRulesTicketing: + state.ActivationRules[0].RequireTicketInfo = true + } } } } - case "Expiration_Admin_Eligibility": - state.EligibleAssignmentRules[0].ExpirationRequired = rule.Values["isExpirationRequired"].(bool) - state.EligibleAssignmentRules[0].ExpireAfter = rule.Values["maximumDuration"].(string) + case rolemanagementpolicies.RoleManagementPolicyExpirationRule: + if rule.Id != nil { + switch *rule.Id { + case "Expiration_Admin_Eligibility": + state.EligibleAssignmentRules[0].ExpirationRequired = pointer.From(rule.IsExpirationRequired) + state.EligibleAssignmentRules[0].ExpireAfter = pointer.From(rule.MaximumDuration) - case "Expiration_Admin_Assignment": - state.ActiveAssignmentRules[0].ExpirationRequired = rule.Values["isExpirationRequired"].(bool) - state.ActiveAssignmentRules[0].ExpireAfter = rule.Values["maximumDuration"].(string) + case "Expiration_Admin_Assignment": + state.ActiveAssignmentRules[0].ExpirationRequired = pointer.From(rule.IsExpirationRequired) + state.ActiveAssignmentRules[0].ExpireAfter = pointer.From(rule.MaximumDuration) - case "Expiration_EndUser_Assignment": - state.ActivationRules[0].MaximumDuration = rule.Values["maximumDuration"].(string) + case "Expiration_EndUser_Assignment": + state.ActivationRules[0].MaximumDuration = pointer.From(rule.MaximumDuration) - case "Notification_Admin_Admin_Assignment": - state.NotificationRules[0].ActiveAssignments[0].AdminNotifications = []RoleManagementPolicyNotificationSettings{ - *flattenNotificationSettings(rule.Values), + } } + case rolemanagementpolicies.RoleManagementPolicyNotificationRule: + if rule.Id != nil { + switch *rule.Id { + case "Notification_Admin_Admin_Assignment": + state.NotificationRules[0].ActiveAssignments[0].AdminNotifications = []RoleManagementPolicyNotificationSettings{ + *flattenNotificationSettings(rule), + } - case "Notification_Admin_Admin_Eligibility": - state.NotificationRules[0].EligibleAssignments[0].AdminNotifications = []RoleManagementPolicyNotificationSettings{ - *flattenNotificationSettings(rule.Values), - } + case "Notification_Admin_Admin_Eligibility": + state.NotificationRules[0].EligibleAssignments[0].AdminNotifications = []RoleManagementPolicyNotificationSettings{ + *flattenNotificationSettings(rule), + } - case "Notification_Admin_EndUser_Assignment": - state.NotificationRules[0].EligibleActivations[0].AdminNotifications = []RoleManagementPolicyNotificationSettings{ - *flattenNotificationSettings(rule.Values), - } + case "Notification_Admin_EndUser_Assignment": + state.NotificationRules[0].EligibleActivations[0].AdminNotifications = []RoleManagementPolicyNotificationSettings{ + *flattenNotificationSettings(rule), + } - case "Notification_Approver_Admin_Assignment": - state.NotificationRules[0].ActiveAssignments[0].ApproverNotifications = []RoleManagementPolicyNotificationSettings{ - *flattenNotificationSettings(rule.Values), - } + case "Notification_Approver_Admin_Assignment": + state.NotificationRules[0].ActiveAssignments[0].ApproverNotifications = []RoleManagementPolicyNotificationSettings{ + *flattenNotificationSettings(rule), + } - case "Notification_Approver_Admin_Eligibility": - state.NotificationRules[0].EligibleAssignments[0].ApproverNotifications = []RoleManagementPolicyNotificationSettings{ - *flattenNotificationSettings(rule.Values), - } + case "Notification_Approver_Admin_Eligibility": + state.NotificationRules[0].EligibleAssignments[0].ApproverNotifications = []RoleManagementPolicyNotificationSettings{ + *flattenNotificationSettings(rule), + } - case "Notification_Approver_EndUser_Assignment": - state.NotificationRules[0].EligibleActivations[0].ApproverNotifications = []RoleManagementPolicyNotificationSettings{ - *flattenNotificationSettings(rule.Values), - } + case "Notification_Approver_EndUser_Assignment": + state.NotificationRules[0].EligibleActivations[0].ApproverNotifications = []RoleManagementPolicyNotificationSettings{ + *flattenNotificationSettings(rule), + } - case "Notification_Requestor_Admin_Assignment": - state.NotificationRules[0].ActiveAssignments[0].AssigneeNotifications = []RoleManagementPolicyNotificationSettings{ - *flattenNotificationSettings(rule.Values), - } + case "Notification_Requestor_Admin_Assignment": + state.NotificationRules[0].ActiveAssignments[0].AssigneeNotifications = []RoleManagementPolicyNotificationSettings{ + *flattenNotificationSettings(rule), + } - case "Notification_Requestor_Admin_Eligibility": - state.NotificationRules[0].EligibleAssignments[0].AssigneeNotifications = []RoleManagementPolicyNotificationSettings{ - *flattenNotificationSettings(rule.Values), - } + case "Notification_Requestor_Admin_Eligibility": + state.NotificationRules[0].EligibleAssignments[0].AssigneeNotifications = []RoleManagementPolicyNotificationSettings{ + *flattenNotificationSettings(rule), + } - case "Notification_Requestor_EndUser_Assignment": - state.NotificationRules[0].EligibleActivations[0].AssigneeNotifications = []RoleManagementPolicyNotificationSettings{ - *flattenNotificationSettings(rule.Values), + case "Notification_Requestor_EndUser_Assignment": + state.NotificationRules[0].EligibleActivations[0].AssigneeNotifications = []RoleManagementPolicyNotificationSettings{ + *flattenNotificationSettings(rule), + } + } } } } diff --git a/internal/services/automation/automation_hybrid_runbook_worker.go b/internal/services/automation/automation_hybrid_runbook_worker.go deleted file mode 100644 index 98430d603e96..000000000000 --- a/internal/services/automation/automation_hybrid_runbook_worker.go +++ /dev/null @@ -1,208 +0,0 @@ -// Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 - -package automation - -import ( - "context" - "fmt" - "net/http" - "time" - - "github.com/hashicorp/go-azure-helpers/lang/response" - "github.com/hashicorp/go-azure-helpers/resourcemanager/commonschema" - "github.com/hashicorp/go-azure-sdk/resource-manager/automation/2023-11-01/hybridrunbookworker" - "github.com/hashicorp/terraform-provider-azurerm/internal/sdk" - "github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk" - "github.com/hashicorp/terraform-provider-azurerm/internal/tf/validation" - "github.com/hashicorp/terraform-provider-azurerm/utils" -) - -type HybridRunbookWorkerModel struct { - ResourceGroupName string `tfschema:"resource_group_name"` - AutomationAccountName string `tfschema:"automation_account_name"` - WorkerGroupName string `tfschema:"worker_group_name"` - WorkerName string `tfschema:"worker_name"` - WorkerId string `tfschema:"worker_id"` - VmResourceId string `tfschema:"vm_resource_id"` - Ip string `tfschema:"ip"` - RegisteredDateTime string `tfschema:"registration_date_time"` - LastSeenDateTime string `tfschema:"last_seen_date_time"` - WorkerType string `tfschema:"worker_type"` -} - -type HybridRunbookWorkerResource struct{} - -var _ sdk.Resource = (*HybridRunbookWorkerResource)(nil) - -func (m HybridRunbookWorkerResource) Arguments() map[string]*pluginsdk.Schema { - return map[string]*pluginsdk.Schema{ - "resource_group_name": commonschema.ResourceGroupName(), - - "automation_account_name": { - Type: pluginsdk.TypeString, - Required: true, - ForceNew: true, - ValidateFunc: validation.StringIsNotEmpty, - }, - - "worker_group_name": { - Type: pluginsdk.TypeString, - Required: true, - ForceNew: true, - ValidateFunc: validation.StringIsNotEmpty, - }, - - "worker_id": { - Type: pluginsdk.TypeString, - Required: true, - ForceNew: true, - ValidateFunc: validation.IsUUID, - }, - - "vm_resource_id": { - Type: pluginsdk.TypeString, - Required: true, - ForceNew: true, - ValidateFunc: validation.StringIsNotEmpty, - }, - } -} - -func (m HybridRunbookWorkerResource) Attributes() map[string]*pluginsdk.Schema { - return map[string]*pluginsdk.Schema{ - "ip": { - Type: pluginsdk.TypeString, - Computed: true, - }, - - "registration_date_time": { - Type: pluginsdk.TypeString, - Computed: true, - }, - - "last_seen_date_time": { - Type: pluginsdk.TypeString, - Computed: true, - }, - - "worker_name": { - Type: pluginsdk.TypeString, - Computed: true, - }, - - "worker_type": { - Type: pluginsdk.TypeString, - Computed: true, - }, - } -} - -func (m HybridRunbookWorkerResource) ModelObject() interface{} { - return &HybridRunbookWorkerModel{} -} - -func (m HybridRunbookWorkerResource) ResourceType() string { - return "azurerm_automation_hybrid_runbook_worker" -} - -func (m HybridRunbookWorkerResource) Create() sdk.ResourceFunc { - return sdk.ResourceFunc{ - Timeout: 30 * time.Minute, - Func: func(ctx context.Context, meta sdk.ResourceMetaData) error { - client := meta.Client.Automation.HybridRunbookWorker - - var model HybridRunbookWorkerModel - if err := meta.Decode(&model); err != nil { - return err - } - - subscriptionID := meta.Client.Account.SubscriptionId - id := hybridrunbookworker.NewHybridRunbookWorkerID(subscriptionID, model.ResourceGroupName, - model.AutomationAccountName, model.WorkerGroupName, model.WorkerId) - existing, err := client.Get(ctx, id) - if !response.WasNotFound(existing.HttpResponse) { - if err != nil { - return fmt.Errorf("retreiving %s: %v", id, err) - } - return meta.ResourceRequiresImport(m.ResourceType(), id) - } - - req := hybridrunbookworker.HybridRunbookWorkerCreateParameters{} - if model.VmResourceId != "" { - req.Properties.VMResourceId = utils.String(model.VmResourceId) - } - - future, err := client.Create(ctx, id, req) - if err != nil { - // Workaround swagger issue https://github.com/Azure/azure-rest-api-specs/issues/19741 - if !response.WasStatusCode(future.HttpResponse, http.StatusCreated) { - return fmt.Errorf("creating %s: %v", id, err) - } - } - _ = future - - meta.SetID(id) - return nil - }, - } -} - -func (m HybridRunbookWorkerResource) Read() sdk.ResourceFunc { - return sdk.ResourceFunc{ - Timeout: 5 * time.Minute, - Func: func(ctx context.Context, meta sdk.ResourceMetaData) error { - id, err := hybridrunbookworker.ParseHybridRunbookWorkerID(meta.ResourceData.Id()) - if err != nil { - return err - } - client := meta.Client.Automation.HybridRunbookWorker - result, err := client.Get(ctx, *id) - if err != nil { - return err - } - if result.Model == nil { - return fmt.Errorf("retrieving %s got nil model", id) - } - - var output HybridRunbookWorkerModel - - // the name in response corresponding to work_id in request - output.WorkerId = utils.NormalizeNilableString(result.Model.Name) - output.AutomationAccountName = id.AutomationAccountName - output.ResourceGroupName = id.ResourceGroupName - output.WorkerGroupName = id.HybridRunbookWorkerGroupName - if prop := result.Model.Properties; prop != nil { - output.VmResourceId = utils.NormalizeNilableString(prop.VMResourceId) - output.WorkerType = utils.NormalizeNilableString((*string)(prop.WorkerType)) - output.LastSeenDateTime = utils.NormalizeNilableString(prop.LastSeenDateTime) - output.RegisteredDateTime = utils.NormalizeNilableString(prop.RegisteredDateTime) - output.Ip = utils.NormalizeNilableString(prop.IP) - output.WorkerName = utils.NormalizeNilableString(prop.WorkerName) - } - return meta.Encode(&output) - }, - } -} - -func (m HybridRunbookWorkerResource) Delete() sdk.ResourceFunc { - return sdk.ResourceFunc{ - Timeout: 10 * time.Minute, - Func: func(ctx context.Context, meta sdk.ResourceMetaData) error { - id, err := hybridrunbookworker.ParseHybridRunbookWorkerID(meta.ResourceData.Id()) - if err != nil { - return err - } - meta.Logger.Infof("deleting %s", id) - client := meta.Client.Automation.HybridRunbookWorker - if _, err = client.Delete(ctx, *id); err != nil { - return fmt.Errorf("deleting %s: %v", id, err) - } - return nil - }, - } -} - -func (m HybridRunbookWorkerResource) IDValidationFunc() pluginsdk.SchemaValidateFunc { - return hybridrunbookworker.ValidateHybridRunbookWorkerID -} diff --git a/internal/services/automation/automation_hybrid_runbook_worker_group.go b/internal/services/automation/automation_hybrid_runbook_worker_group.go deleted file mode 100644 index 2fdf200e7bf0..000000000000 --- a/internal/services/automation/automation_hybrid_runbook_worker_group.go +++ /dev/null @@ -1,194 +0,0 @@ -// Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 - -package automation - -import ( - "context" - "fmt" - "time" - - "github.com/hashicorp/go-azure-helpers/lang/pointer" - "github.com/hashicorp/go-azure-helpers/lang/response" - "github.com/hashicorp/go-azure-helpers/resourcemanager/commonschema" - "github.com/hashicorp/go-azure-sdk/resource-manager/automation/2023-11-01/hybridrunbookworkergroup" - "github.com/hashicorp/terraform-provider-azurerm/internal/sdk" - "github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk" - "github.com/hashicorp/terraform-provider-azurerm/internal/tf/validation" - "github.com/hashicorp/terraform-provider-azurerm/utils" -) - -type HybridRunbookWorkerGroupModel struct { - ResourceGroupName string `tfschema:"resource_group_name"` - AutomationAccountName string `tfschema:"automation_account_name"` - Name string `tfschema:"name"` - CredentialName string `tfschema:"credential_name"` -} - -type HybridRunbookWorkerGroupResource struct{} - -var _ sdk.Resource = (*HybridRunbookWorkerGroupResource)(nil) - -func (m HybridRunbookWorkerGroupResource) Arguments() map[string]*pluginsdk.Schema { - return map[string]*pluginsdk.Schema{ - "resource_group_name": commonschema.ResourceGroupName(), // end if common - "automation_account_name": { - Type: pluginsdk.TypeString, - Required: true, - ForceNew: true, - ValidateFunc: validation.StringIsNotEmpty, - }, - "name": { - Type: pluginsdk.TypeString, - Required: true, - ForceNew: true, - ValidateFunc: validation.StringIsNotEmpty, - }, - "credential_name": { - Type: pluginsdk.TypeString, - Optional: true, - ValidateFunc: validation.StringIsNotEmpty, - }, - } -} - -func (m HybridRunbookWorkerGroupResource) Attributes() map[string]*pluginsdk.Schema { - return map[string]*pluginsdk.Schema{} -} - -func (m HybridRunbookWorkerGroupResource) ModelObject() interface{} { - return &HybridRunbookWorkerGroupModel{} -} - -func (m HybridRunbookWorkerGroupResource) ResourceType() string { - return "azurerm_automation_hybrid_runbook_worker_group" -} - -func (m HybridRunbookWorkerGroupResource) Create() sdk.ResourceFunc { - return sdk.ResourceFunc{ - Timeout: 30 * time.Minute, - Func: func(ctx context.Context, meta sdk.ResourceMetaData) error { - client := meta.Client.Automation.HybridRunbookWorkerGroup - - var model HybridRunbookWorkerGroupModel - if err := meta.Decode(&model); err != nil { - return err - } - - subscriptionID := meta.Client.Account.SubscriptionId - id := hybridrunbookworkergroup.NewHybridRunbookWorkerGroupID(subscriptionID, model.ResourceGroupName, - model.AutomationAccountName, model.Name) - existing, err := client.Get(ctx, id) - if !response.WasNotFound(existing.HttpResponse) { - if err != nil { - return fmt.Errorf("retreiving %s: %v", id, err) - } - return meta.ResourceRequiresImport(m.ResourceType(), id) - } - req := hybridrunbookworkergroup.HybridRunbookWorkerGroupCreateOrUpdateParameters{ - Name: pointer.To(model.Name), - } - if model.CredentialName != "" { - req.Properties = &hybridrunbookworkergroup.HybridRunbookWorkerGroupCreateOrUpdateProperties{} - req.Properties.Credential = &hybridrunbookworkergroup.RunAsCredentialAssociationProperty{ - Name: utils.String(model.CredentialName), - } - } - // return 201 cause err in autorest sdk - _, err = client.Create(ctx, id, req) - // Workaround swagger issue https://github.com/Azure/azure-rest-api-specs/issues/19741 - if err != nil { - return fmt.Errorf("creating %s: %v", id, err) - } - - meta.SetID(id) - return nil - }, - } -} - -func (m HybridRunbookWorkerGroupResource) Read() sdk.ResourceFunc { - return sdk.ResourceFunc{ - Timeout: 5 * time.Minute, - Func: func(ctx context.Context, meta sdk.ResourceMetaData) error { - id, err := hybridrunbookworkergroup.ParseHybridRunbookWorkerGroupID(meta.ResourceData.Id()) - if err != nil { - return err - } - client := meta.Client.Automation.HybridRunbookWorkerGroup - result, err := client.Get(ctx, *id) - if err != nil { - return err - } - if result.Model == nil { - return fmt.Errorf("retrieving %s got nil model", id) - } - var output HybridRunbookWorkerGroupModel - - output.Name = utils.NormalizeNilableString(result.Model.Name) - output.AutomationAccountName = id.AutomationAccountName - if model := result.Model; model != nil { - if prop := model.Properties; prop != nil { - if prop.Credential != nil { - output.CredentialName = pointer.From(prop.Credential.Name) - } - } - } - output.ResourceGroupName = id.ResourceGroupName - return meta.Encode(&output) - }, - } -} - -func (m HybridRunbookWorkerGroupResource) Update() sdk.ResourceFunc { - return sdk.ResourceFunc{ - Timeout: 10 * time.Minute, - Func: func(ctx context.Context, meta sdk.ResourceMetaData) (err error) { - client := meta.Client.Automation.HybridRunbookWorkerGroup - id, err := hybridrunbookworkergroup.ParseHybridRunbookWorkerGroupID(meta.ResourceData.Id()) - if err != nil { - return err - } - - var model HybridRunbookWorkerGroupModel - if err = meta.Decode(&model); err != nil { - return fmt.Errorf("decoding err: %+v", err) - } - - var upd hybridrunbookworkergroup.HybridRunbookWorkerGroupCreateOrUpdateParameters - if meta.ResourceData.HasChange("credential_name") { - upd.Properties = &hybridrunbookworkergroup.HybridRunbookWorkerGroupCreateOrUpdateProperties{} - upd.Properties.Credential = &hybridrunbookworkergroup.RunAsCredentialAssociationProperty{ - Name: utils.String(model.CredentialName), - } - } - if _, err = client.Update(ctx, *id, upd); err != nil { - return fmt.Errorf("updating %s: %v", id, err) - } - - return nil - }, - } -} - -func (m HybridRunbookWorkerGroupResource) Delete() sdk.ResourceFunc { - return sdk.ResourceFunc{ - Timeout: 10 * time.Minute, - Func: func(ctx context.Context, meta sdk.ResourceMetaData) error { - id, err := hybridrunbookworkergroup.ParseHybridRunbookWorkerGroupID(meta.ResourceData.Id()) - if err != nil { - return err - } - meta.Logger.Infof("deleting %s", id) - client := meta.Client.Automation.HybridRunbookWorkerGroup - if _, err = client.Delete(ctx, *id); err != nil { - return fmt.Errorf("deleting %s: %v", id, err) - } - return nil - }, - } -} - -func (m HybridRunbookWorkerGroupResource) IDValidationFunc() pluginsdk.SchemaValidateFunc { - return hybridrunbookworkergroup.ValidateHybridRunbookWorkerGroupID -} diff --git a/internal/services/automation/automation_hybrid_runbook_worker_group_resource.go b/internal/services/automation/automation_hybrid_runbook_worker_group_resource.go new file mode 100644 index 000000000000..554d883a8d85 --- /dev/null +++ b/internal/services/automation/automation_hybrid_runbook_worker_group_resource.go @@ -0,0 +1,197 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + +package automation + +import ( + "context" + "fmt" + "time" + + "github.com/hashicorp/go-azure-helpers/lang/pointer" + "github.com/hashicorp/go-azure-helpers/lang/response" + "github.com/hashicorp/go-azure-helpers/resourcemanager/commonschema" + "github.com/hashicorp/go-azure-sdk/resource-manager/automation/2023-11-01/hybridrunbookworkergroup" + "github.com/hashicorp/terraform-provider-azurerm/internal/sdk" + "github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk" + "github.com/hashicorp/terraform-provider-azurerm/internal/tf/validation" + "github.com/hashicorp/terraform-provider-azurerm/utils" +) + +type HybridRunbookWorkerGroupModel struct { + ResourceGroupName string `tfschema:"resource_group_name"` + AutomationAccountName string `tfschema:"automation_account_name"` + Name string `tfschema:"name"` + CredentialName string `tfschema:"credential_name"` +} + +type HybridRunbookWorkerGroupResource struct{} + +var _ sdk.Resource = (*HybridRunbookWorkerGroupResource)(nil) + +func (m HybridRunbookWorkerGroupResource) Arguments() map[string]*pluginsdk.Schema { + return map[string]*pluginsdk.Schema{ + "resource_group_name": commonschema.ResourceGroupName(), // end if common + "automation_account_name": { + Type: pluginsdk.TypeString, + Required: true, + ForceNew: true, + ValidateFunc: validation.StringIsNotEmpty, + }, + "name": { + Type: pluginsdk.TypeString, + Required: true, + ForceNew: true, + ValidateFunc: validation.StringIsNotEmpty, + }, + "credential_name": { + Type: pluginsdk.TypeString, + Optional: true, + ValidateFunc: validation.StringIsNotEmpty, + }, + } +} + +func (m HybridRunbookWorkerGroupResource) Attributes() map[string]*pluginsdk.Schema { + return map[string]*pluginsdk.Schema{} +} + +func (m HybridRunbookWorkerGroupResource) ModelObject() interface{} { + return &HybridRunbookWorkerGroupModel{} +} + +func (m HybridRunbookWorkerGroupResource) ResourceType() string { + return "azurerm_automation_hybrid_runbook_worker_group" +} + +func (m HybridRunbookWorkerGroupResource) Create() sdk.ResourceFunc { + return sdk.ResourceFunc{ + Timeout: 30 * time.Minute, + Func: func(ctx context.Context, meta sdk.ResourceMetaData) error { + client := meta.Client.Automation.HybridRunbookWorkerGroup + + var model HybridRunbookWorkerGroupModel + if err := meta.Decode(&model); err != nil { + return err + } + + subscriptionID := meta.Client.Account.SubscriptionId + id := hybridrunbookworkergroup.NewHybridRunbookWorkerGroupID(subscriptionID, model.ResourceGroupName, + model.AutomationAccountName, model.Name) + existing, err := client.Get(ctx, id) + if !response.WasNotFound(existing.HttpResponse) { + if err != nil { + return fmt.Errorf("retreiving %s: %v", id, err) + } + return meta.ResourceRequiresImport(m.ResourceType(), id) + } + req := hybridrunbookworkergroup.HybridRunbookWorkerGroupCreateOrUpdateParameters{ + Name: pointer.To(model.Name), + } + if model.CredentialName != "" { + req.Properties = &hybridrunbookworkergroup.HybridRunbookWorkerGroupCreateOrUpdateProperties{} + req.Properties.Credential = &hybridrunbookworkergroup.RunAsCredentialAssociationProperty{ + Name: utils.String(model.CredentialName), + } + } + // return 201 cause err in autorest sdk + _, err = client.Create(ctx, id, req) + // Workaround swagger issue https://github.com/Azure/azure-rest-api-specs/issues/19741 + if err != nil { + return fmt.Errorf("creating %s: %v", id, err) + } + + meta.SetID(id) + return nil + }, + } +} + +func (m HybridRunbookWorkerGroupResource) Read() sdk.ResourceFunc { + return sdk.ResourceFunc{ + Timeout: 5 * time.Minute, + Func: func(ctx context.Context, meta sdk.ResourceMetaData) error { + id, err := hybridrunbookworkergroup.ParseHybridRunbookWorkerGroupID(meta.ResourceData.Id()) + if err != nil { + return err + } + client := meta.Client.Automation.HybridRunbookWorkerGroup + result, err := client.Get(ctx, *id) + if err != nil { + if response.WasNotFound(result.HttpResponse) { + return meta.MarkAsGone(id) + } + return err + } + if result.Model == nil { + return fmt.Errorf("retrieving %s got nil model", id) + } + var output HybridRunbookWorkerGroupModel + + output.Name = utils.NormalizeNilableString(result.Model.Name) + output.AutomationAccountName = id.AutomationAccountName + if model := result.Model; model != nil { + if prop := model.Properties; prop != nil { + if prop.Credential != nil { + output.CredentialName = pointer.From(prop.Credential.Name) + } + } + } + output.ResourceGroupName = id.ResourceGroupName + return meta.Encode(&output) + }, + } +} + +func (m HybridRunbookWorkerGroupResource) Update() sdk.ResourceFunc { + return sdk.ResourceFunc{ + Timeout: 10 * time.Minute, + Func: func(ctx context.Context, meta sdk.ResourceMetaData) (err error) { + client := meta.Client.Automation.HybridRunbookWorkerGroup + id, err := hybridrunbookworkergroup.ParseHybridRunbookWorkerGroupID(meta.ResourceData.Id()) + if err != nil { + return err + } + + var model HybridRunbookWorkerGroupModel + if err = meta.Decode(&model); err != nil { + return fmt.Errorf("decoding err: %+v", err) + } + + var upd hybridrunbookworkergroup.HybridRunbookWorkerGroupCreateOrUpdateParameters + if meta.ResourceData.HasChange("credential_name") { + upd.Properties = &hybridrunbookworkergroup.HybridRunbookWorkerGroupCreateOrUpdateProperties{} + upd.Properties.Credential = &hybridrunbookworkergroup.RunAsCredentialAssociationProperty{ + Name: utils.String(model.CredentialName), + } + } + if _, err = client.Update(ctx, *id, upd); err != nil { + return fmt.Errorf("updating %s: %v", id, err) + } + + return nil + }, + } +} + +func (m HybridRunbookWorkerGroupResource) Delete() sdk.ResourceFunc { + return sdk.ResourceFunc{ + Timeout: 10 * time.Minute, + Func: func(ctx context.Context, meta sdk.ResourceMetaData) error { + id, err := hybridrunbookworkergroup.ParseHybridRunbookWorkerGroupID(meta.ResourceData.Id()) + if err != nil { + return err + } + meta.Logger.Infof("deleting %s", id) + client := meta.Client.Automation.HybridRunbookWorkerGroup + if _, err = client.Delete(ctx, *id); err != nil { + return fmt.Errorf("deleting %s: %v", id, err) + } + return nil + }, + } +} + +func (m HybridRunbookWorkerGroupResource) IDValidationFunc() pluginsdk.SchemaValidateFunc { + return hybridrunbookworkergroup.ValidateHybridRunbookWorkerGroupID +} diff --git a/internal/services/automation/automation_hybrid_runbook_worker_group_test.go b/internal/services/automation/automation_hybrid_runbook_worker_group_resource_test.go similarity index 100% rename from internal/services/automation/automation_hybrid_runbook_worker_group_test.go rename to internal/services/automation/automation_hybrid_runbook_worker_group_resource_test.go diff --git a/internal/services/automation/automation_hybrid_runbook_worker_resource.go b/internal/services/automation/automation_hybrid_runbook_worker_resource.go new file mode 100644 index 000000000000..3b6b1f21ac6e --- /dev/null +++ b/internal/services/automation/automation_hybrid_runbook_worker_resource.go @@ -0,0 +1,211 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + +package automation + +import ( + "context" + "fmt" + "net/http" + "time" + + "github.com/hashicorp/go-azure-helpers/lang/response" + "github.com/hashicorp/go-azure-helpers/resourcemanager/commonschema" + "github.com/hashicorp/go-azure-sdk/resource-manager/automation/2023-11-01/hybridrunbookworker" + "github.com/hashicorp/terraform-provider-azurerm/internal/sdk" + "github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk" + "github.com/hashicorp/terraform-provider-azurerm/internal/tf/validation" + "github.com/hashicorp/terraform-provider-azurerm/utils" +) + +type HybridRunbookWorkerModel struct { + ResourceGroupName string `tfschema:"resource_group_name"` + AutomationAccountName string `tfschema:"automation_account_name"` + WorkerGroupName string `tfschema:"worker_group_name"` + WorkerName string `tfschema:"worker_name"` + WorkerId string `tfschema:"worker_id"` + VmResourceId string `tfschema:"vm_resource_id"` + Ip string `tfschema:"ip"` + RegisteredDateTime string `tfschema:"registration_date_time"` + LastSeenDateTime string `tfschema:"last_seen_date_time"` + WorkerType string `tfschema:"worker_type"` +} + +type HybridRunbookWorkerResource struct{} + +var _ sdk.Resource = (*HybridRunbookWorkerResource)(nil) + +func (m HybridRunbookWorkerResource) Arguments() map[string]*pluginsdk.Schema { + return map[string]*pluginsdk.Schema{ + "resource_group_name": commonschema.ResourceGroupName(), + + "automation_account_name": { + Type: pluginsdk.TypeString, + Required: true, + ForceNew: true, + ValidateFunc: validation.StringIsNotEmpty, + }, + + "worker_group_name": { + Type: pluginsdk.TypeString, + Required: true, + ForceNew: true, + ValidateFunc: validation.StringIsNotEmpty, + }, + + "worker_id": { + Type: pluginsdk.TypeString, + Required: true, + ForceNew: true, + ValidateFunc: validation.IsUUID, + }, + + "vm_resource_id": { + Type: pluginsdk.TypeString, + Required: true, + ForceNew: true, + ValidateFunc: validation.StringIsNotEmpty, + }, + } +} + +func (m HybridRunbookWorkerResource) Attributes() map[string]*pluginsdk.Schema { + return map[string]*pluginsdk.Schema{ + "ip": { + Type: pluginsdk.TypeString, + Computed: true, + }, + + "registration_date_time": { + Type: pluginsdk.TypeString, + Computed: true, + }, + + "last_seen_date_time": { + Type: pluginsdk.TypeString, + Computed: true, + }, + + "worker_name": { + Type: pluginsdk.TypeString, + Computed: true, + }, + + "worker_type": { + Type: pluginsdk.TypeString, + Computed: true, + }, + } +} + +func (m HybridRunbookWorkerResource) ModelObject() interface{} { + return &HybridRunbookWorkerModel{} +} + +func (m HybridRunbookWorkerResource) ResourceType() string { + return "azurerm_automation_hybrid_runbook_worker" +} + +func (m HybridRunbookWorkerResource) Create() sdk.ResourceFunc { + return sdk.ResourceFunc{ + Timeout: 30 * time.Minute, + Func: func(ctx context.Context, meta sdk.ResourceMetaData) error { + client := meta.Client.Automation.HybridRunbookWorker + + var model HybridRunbookWorkerModel + if err := meta.Decode(&model); err != nil { + return err + } + + subscriptionID := meta.Client.Account.SubscriptionId + id := hybridrunbookworker.NewHybridRunbookWorkerID(subscriptionID, model.ResourceGroupName, + model.AutomationAccountName, model.WorkerGroupName, model.WorkerId) + existing, err := client.Get(ctx, id) + if !response.WasNotFound(existing.HttpResponse) { + if err != nil { + return fmt.Errorf("retreiving %s: %v", id, err) + } + return meta.ResourceRequiresImport(m.ResourceType(), id) + } + + req := hybridrunbookworker.HybridRunbookWorkerCreateParameters{} + if model.VmResourceId != "" { + req.Properties.VMResourceId = utils.String(model.VmResourceId) + } + + future, err := client.Create(ctx, id, req) + if err != nil { + // Workaround swagger issue https://github.com/Azure/azure-rest-api-specs/issues/19741 + if !response.WasStatusCode(future.HttpResponse, http.StatusCreated) { + return fmt.Errorf("creating %s: %v", id, err) + } + } + _ = future + + meta.SetID(id) + return nil + }, + } +} + +func (m HybridRunbookWorkerResource) Read() sdk.ResourceFunc { + return sdk.ResourceFunc{ + Timeout: 5 * time.Minute, + Func: func(ctx context.Context, meta sdk.ResourceMetaData) error { + id, err := hybridrunbookworker.ParseHybridRunbookWorkerID(meta.ResourceData.Id()) + if err != nil { + return err + } + client := meta.Client.Automation.HybridRunbookWorker + result, err := client.Get(ctx, *id) + if err != nil { + if response.WasNotFound(result.HttpResponse) { + return meta.MarkAsGone(id) + } + return err + } + if result.Model == nil { + return fmt.Errorf("retrieving %s got nil model", id) + } + + var output HybridRunbookWorkerModel + + // the name in response corresponding to work_id in request + output.WorkerId = utils.NormalizeNilableString(result.Model.Name) + output.AutomationAccountName = id.AutomationAccountName + output.ResourceGroupName = id.ResourceGroupName + output.WorkerGroupName = id.HybridRunbookWorkerGroupName + if prop := result.Model.Properties; prop != nil { + output.VmResourceId = utils.NormalizeNilableString(prop.VMResourceId) + output.WorkerType = utils.NormalizeNilableString((*string)(prop.WorkerType)) + output.LastSeenDateTime = utils.NormalizeNilableString(prop.LastSeenDateTime) + output.RegisteredDateTime = utils.NormalizeNilableString(prop.RegisteredDateTime) + output.Ip = utils.NormalizeNilableString(prop.IP) + output.WorkerName = utils.NormalizeNilableString(prop.WorkerName) + } + return meta.Encode(&output) + }, + } +} + +func (m HybridRunbookWorkerResource) Delete() sdk.ResourceFunc { + return sdk.ResourceFunc{ + Timeout: 10 * time.Minute, + Func: func(ctx context.Context, meta sdk.ResourceMetaData) error { + id, err := hybridrunbookworker.ParseHybridRunbookWorkerID(meta.ResourceData.Id()) + if err != nil { + return err + } + meta.Logger.Infof("deleting %s", id) + client := meta.Client.Automation.HybridRunbookWorker + if _, err = client.Delete(ctx, *id); err != nil { + return fmt.Errorf("deleting %s: %v", id, err) + } + return nil + }, + } +} + +func (m HybridRunbookWorkerResource) IDValidationFunc() pluginsdk.SchemaValidateFunc { + return hybridrunbookworker.ValidateHybridRunbookWorkerID +} diff --git a/internal/services/automation/automation_hybrid_runbook_worker_test.go b/internal/services/automation/automation_hybrid_runbook_worker_resource_test.go similarity index 100% rename from internal/services/automation/automation_hybrid_runbook_worker_test.go rename to internal/services/automation/automation_hybrid_runbook_worker_resource_test.go diff --git a/internal/services/automation/automation_job_schedule_resource_test.go b/internal/services/automation/automation_job_schedule_resource_test.go index 1d32bcaed7ab..1c6dac377074 100644 --- a/internal/services/automation/automation_job_schedule_resource_test.go +++ b/internal/services/automation/automation_job_schedule_resource_test.go @@ -51,33 +51,6 @@ func TestAccAutomationJobSchedule_complete(t *testing.T) { }) } -func TestAccAutomationJobSchedule_update(t *testing.T) { - data := acceptance.BuildTestData(t, "azurerm_automation_job_schedule", "test") - r := AutomationJobScheduleResource{} - - data.ResourceTest(t, r, []acceptance.TestStep{ - { - Config: r.basic(data), - Check: acceptance.ComposeTestCheckFunc( - check.That(data.ResourceName).ExistsInAzure(r), - ), - }, - { - Config: r.complete(data), - Check: acceptance.ComposeTestCheckFunc( - check.That(data.ResourceName).ExistsInAzure(r), - ), - }, - { - Config: r.basic(data), - Check: acceptance.ComposeTestCheckFunc( - check.That(data.ResourceName).ExistsInAzure(r), - ), - }, - data.ImportStep(), - }) -} - func TestAccAutomationJobSchedule_updateRunbook(t *testing.T) { data := acceptance.BuildTestData(t, "azurerm_automation_job_schedule", "test") r := AutomationJobScheduleResource{} diff --git a/internal/services/automation/automation_python3_package_resource.go b/internal/services/automation/automation_python3_package_resource.go index 74b92d6270ce..4c55bba27ebe 100644 --- a/internal/services/automation/automation_python3_package_resource.go +++ b/internal/services/automation/automation_python3_package_resource.go @@ -158,6 +158,9 @@ func (m Python3PackageResource) Read() sdk.ResourceFunc { client := meta.Client.Automation.Python3Package result, err := client.Get(ctx, *id) if err != nil { + if response.WasNotFound(result.HttpResponse) { + return meta.MarkAsGone(id) + } return err } diff --git a/internal/services/automation/automation_python3_package_resource_test.go b/internal/services/automation/automation_python3_package_resource_test.go index b56b53b832f5..8ad93e2a7cd2 100644 --- a/internal/services/automation/automation_python3_package_resource_test.go +++ b/internal/services/automation/automation_python3_package_resource_test.go @@ -45,19 +45,12 @@ func TestAccPython3Package_basic(t *testing.T) { }) } -func TestAccPython3Package_update(t *testing.T) { +func TestAccPython3Package_complete(t *testing.T) { data := acceptance.BuildTestData(t, automation.Python3PackageResource{}.ResourceType(), "test") r := Python3PackageResource{} data.ResourceTest(t, r, []acceptance.TestStep{ { - Config: r.basic(data), - Check: acceptance.ComposeTestCheckFunc( - check.That(data.ResourceName).ExistsInAzure(r), - ), - }, - data.ImportStep("content_uri", "content_version"), - { - Config: r.update(data), + Config: r.complete(data), Check: acceptance.ComposeTestCheckFunc( check.That(data.ResourceName).ExistsInAzure(r), ), @@ -84,7 +77,7 @@ resource "azurerm_automation_python3_package" "test" { `, a.template(data), data.RandomInteger) } -func (a Python3PackageResource) update(data acceptance.TestData) string { +func (a Python3PackageResource) complete(data acceptance.TestData) string { return fmt.Sprintf(` %s diff --git a/internal/services/automation/automation_runbook_resource_test.go b/internal/services/automation/automation_runbook_resource_test.go index c7dec00334ff..fb9ba7884c71 100644 --- a/internal/services/automation/automation_runbook_resource_test.go +++ b/internal/services/automation/automation_runbook_resource_test.go @@ -392,7 +392,7 @@ provider "azurerm" { } resource "azurerm_resource_group" "test" { - name = "acctestRG-%[1]d" + name = "acctestRG-auto-%[1]d" location = "%[2]s" } @@ -441,7 +441,7 @@ provider "azurerm" { } resource "azurerm_resource_group" "test" { - name = "acctestRG-%[1]d" + name = "acctestRG-auto-%[1]d" location = "%[2]s" } @@ -499,7 +499,7 @@ provider "azurerm" { } resource "azurerm_resource_group" "test" { - name = "acctestRG-%[1]d" + name = "acctestRG-auto-%[1]d" location = "%[2]s" } diff --git a/internal/services/automation/automation_software_update_configuration_resource.go b/internal/services/automation/automation_software_update_configuration_resource.go index 3f2036461cad..8179f51c2aab 100644 --- a/internal/services/automation/automation_software_update_configuration_resource.go +++ b/internal/services/automation/automation_software_update_configuration_resource.go @@ -622,7 +622,7 @@ func (m SoftwareUpdateConfigurationResource) Arguments() map[string]*pluginsdk.S "occurrence": { Type: pluginsdk.TypeInt, Required: true, - ValidateFunc: validation.IntBetween(1, 5), + ValidateFunc: validation.IntInSlice([]int{1, 2, 3, 4, -1}), // -1 is last week and 5 is invalid }, "day": { diff --git a/internal/services/automation/automation_software_update_configuration_resource_test.go b/internal/services/automation/automation_software_update_configuration_resource_test.go index fa155c7135a6..ce0a212b3a22 100644 --- a/internal/services/automation/automation_software_update_configuration_resource_test.go +++ b/internal/services/automation/automation_software_update_configuration_resource_test.go @@ -63,6 +63,21 @@ func TestAccSoftwareUpdateConfiguration_linuxBasic(t *testing.T) { }) } +func TestAccSoftwareUpdateConfiguration_occurrence(t *testing.T) { + data := acceptance.BuildTestData(t, automation.SoftwareUpdateConfigurationResource{}.ResourceType(), "test") + r := newSoftwareUpdateConfigurationResource() + data.ResourceTest(t, r, []acceptance.TestStep{ + { + Config: r.monthOccurrence(data), + Check: acceptance.ComposeTestCheckFunc( + check.That(data.ResourceName).ExistsInAzure(r), + ), + }, + // scheduleInfo.advancedSchedule always returns null - https://github.com/Azure/azure-rest-api-specs/issues/24436 + data.ImportStep("schedule.0.advanced", "schedule.0.monthly_occurrence"), + }) +} + func TestAccSoftwareUpdateConfiguration_linuxComplete(t *testing.T) { data := acceptance.BuildTestData(t, automation.SoftwareUpdateConfigurationResource{}.ResourceType(), "test") r := newSoftwareUpdateConfigurationResource() @@ -343,6 +358,55 @@ resource "azurerm_automation_software_update_configuration" "test" { `, a.template(data), data.RandomInteger) } +func (a SoftwareUpdateConfigurationResource) monthOccurrence(data acceptance.TestData) string { + return fmt.Sprintf(` +%s + +resource "azurerm_automation_software_update_configuration" "test" { + automation_account_id = azurerm_automation_account.test.id + name = "acctest-suc-%[2]d" + + linux { + classifications_included = ["Critical", "Security"] + excluded_packages = ["apt"] + included_packages = ["vim"] + reboot = "RebootOnly" + } + + duration = "PT1H1M1S" + virtual_machine_ids = [] + + target { + azure_query { + scope = [azurerm_resource_group.test.id] + locations = [azurerm_resource_group.test.location] + } + + non_azure_query { + function_alias = "savedSearch1" + workspace_id = azurerm_log_analytics_workspace.test.id + } + } + + schedule { + description = "foo-schedule" + start_time = "%[3]s" + expiry_time = "%[4]s" + is_enabled = true + interval = 1 + frequency = "Month" + time_zone = "Etc/UTC" + monthly_occurrence { + occurrence = -1 + day = "Tuesday" + } + } + + depends_on = [azurerm_log_analytics_linked_service.test] +} +`, a.template(data), data.RandomInteger, a.startTime, a.expireTime) +} + func (a SoftwareUpdateConfigurationResource) linuxComplete(data acceptance.TestData) string { return fmt.Sprintf(` diff --git a/internal/services/azurestackhci/registration.go b/internal/services/azurestackhci/registration.go index 5da01af149b4..8eb7a187bef0 100644 --- a/internal/services/azurestackhci/registration.go +++ b/internal/services/azurestackhci/registration.go @@ -52,7 +52,9 @@ func (r Registration) DataSources() []sdk.DataSource { func (r Registration) Resources() []sdk.Resource { return []sdk.Resource{ StackHCIDeploymentSettingResource{}, + StackHCIExtensionResource{}, StackHCILogicalNetworkResource{}, + StackHCIMarketplaceGalleryImageResource{}, StackHCINetworkInterfaceResource{}, StackHCIStoragePathResource{}, StackHCIVirtualHardDiskResource{}, diff --git a/internal/services/azurestackhci/stack_hci_extension_resource.go b/internal/services/azurestackhci/stack_hci_extension_resource.go new file mode 100644 index 000000000000..3bf9328ba2a5 --- /dev/null +++ b/internal/services/azurestackhci/stack_hci_extension_resource.go @@ -0,0 +1,364 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + +package azurestackhci + +import ( + "context" + "fmt" + "time" + + "github.com/hashicorp/go-azure-helpers/lang/pointer" + "github.com/hashicorp/go-azure-helpers/lang/response" + "github.com/hashicorp/go-azure-sdk/resource-manager/azurestackhci/2024-01-01/extensions" + "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" + "github.com/hashicorp/terraform-provider-azurerm/internal/sdk" + "github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk" + "github.com/hashicorp/terraform-provider-azurerm/internal/tf/validation" +) + +var ( + _ sdk.Resource = StackHCIExtensionResource{} + _ sdk.ResourceWithUpdate = StackHCIExtensionResource{} +) + +type StackHCIExtensionResource struct{} + +func (r StackHCIExtensionResource) ResourceType() string { + return "azurerm_stack_hci_extension" +} + +func (r StackHCIExtensionResource) ModelObject() interface{} { + return &StackHCIExtensionResourceModel{} +} + +func (r StackHCIExtensionResource) IDValidationFunc() pluginsdk.SchemaValidateFunc { + return extensions.ValidateExtensionID +} + +type StackHCIExtensionResourceModel struct { + Name string `tfschema:"name"` + ArcSettingId string `tfschema:"arc_setting_id"` + AutoUpgradeMinorVersionEnabled bool `tfschema:"auto_upgrade_minor_version_enabled"` + AutomaticUpgradeEnabled bool `tfschema:"automatic_upgrade_enabled"` + ProtectedSettings string `tfschema:"protected_settings"` + Publisher string `tfschema:"publisher"` + Settings string `tfschema:"settings"` + Type string `tfschema:"type"` + TypeHandlerVersion string `tfschema:"type_handler_version"` +} + +func (r StackHCIExtensionResource) Arguments() map[string]*schema.Schema { + return map[string]*schema.Schema{ + "name": { + Type: pluginsdk.TypeString, + Required: true, + ForceNew: true, + ValidateFunc: validation.All( + validation.StringIsNotEmpty, + validation.StringDoesNotContainAny("/"), + ), + }, + + "arc_setting_id": { + Type: pluginsdk.TypeString, + Required: true, + ForceNew: true, + ValidateFunc: extensions.ValidateArcSettingID, + }, + + "publisher": { + Type: pluginsdk.TypeString, + Required: true, + ForceNew: true, + ValidateFunc: validation.StringIsNotEmpty, + }, + + "type": { + Type: pluginsdk.TypeString, + Required: true, + ForceNew: true, + ValidateFunc: validation.StringIsNotEmpty, + }, + + "auto_upgrade_minor_version_enabled": { + Type: pluginsdk.TypeBool, + Optional: true, + Default: true, + ForceNew: true, + }, + + "automatic_upgrade_enabled": { + Type: pluginsdk.TypeBool, + Optional: true, + Default: true, + }, + + "protected_settings": { + Type: pluginsdk.TypeString, + Optional: true, + Sensitive: true, + ValidateFunc: validation.StringIsJSON, + DiffSuppressFunc: pluginsdk.SuppressJsonDiff, + }, + + "settings": { + Type: pluginsdk.TypeString, + Optional: true, + ValidateFunc: validation.StringIsJSON, + DiffSuppressFunc: pluginsdk.SuppressJsonDiff, + }, + + "type_handler_version": { + Type: pluginsdk.TypeString, + Optional: true, + ValidateFunc: validation.StringIsNotEmpty, + }, + } +} + +func (r StackHCIExtensionResource) Attributes() map[string]*schema.Schema { + return map[string]*schema.Schema{} +} + +func (r StackHCIExtensionResource) CustomizeDiff() sdk.ResourceFunc { + return sdk.ResourceFunc{ + Timeout: 5 * time.Minute, + Func: func(ctx context.Context, metadata sdk.ResourceMetaData) error { + var config StackHCIExtensionResourceModel + if err := metadata.DecodeDiff(&config); err != nil { + return fmt.Errorf("decoding: %+v", err) + } + + if config.AutomaticUpgradeEnabled && config.TypeHandlerVersion != "" { + return fmt.Errorf("`type_handler_version` cannot be set if `automatic_upgrade_enabled` is true") + } + + return nil + }, + } +} + +func (r StackHCIExtensionResource) Create() sdk.ResourceFunc { + return sdk.ResourceFunc{ + Timeout: 30 * time.Minute, + Func: func(ctx context.Context, metadata sdk.ResourceMetaData) error { + client := metadata.Client.AzureStackHCI.Extensions + + var config StackHCIExtensionResourceModel + if err := metadata.Decode(&config); err != nil { + return err + } + + arcSettingId, err := extensions.ParseArcSettingID(config.ArcSettingId) + if err != nil { + return err + } + + id := extensions.NewExtensionID(arcSettingId.SubscriptionId, arcSettingId.ResourceGroupName, arcSettingId.ClusterName, arcSettingId.ArcSettingName, config.Name) + + existing, err := client.Get(ctx, id) + if err != nil && !response.WasNotFound(existing.HttpResponse) { + return fmt.Errorf("checking for presence of existing %s: %+v", id, err) + } + if !response.WasNotFound(existing.HttpResponse) { + return metadata.ResourceRequiresImport(r.ResourceType(), id) + } + + input := extensions.Extension{ + Properties: &extensions.ExtensionProperties{ + ExtensionParameters: &extensions.ExtensionParameters{ + AutoUpgradeMinorVersion: pointer.To(config.AutoUpgradeMinorVersionEnabled), + EnableAutomaticUpgrade: pointer.To(config.AutomaticUpgradeEnabled), + Publisher: pointer.To(config.Publisher), + Type: pointer.To(config.Type), + }, + }, + } + + if config.TypeHandlerVersion != "" { + input.Properties.ExtensionParameters.TypeHandlerVersion = pointer.To(config.TypeHandlerVersion) + } + + if config.Settings != "" { + expandedSetting, err := pluginsdk.ExpandJsonFromString(config.Settings) + if err != nil { + return fmt.Errorf("expanding `setting`: %+v", err) + } + + input.Properties.ExtensionParameters.Settings = pointer.To(interface{}(expandedSetting)) + } + + if config.ProtectedSettings != "" { + expandedSetting, err := pluginsdk.ExpandJsonFromString(config.ProtectedSettings) + if err != nil { + return fmt.Errorf("expanding `protected_settings`: %+v", err) + } + + input.Properties.ExtensionParameters.ProtectedSettings = pointer.To(interface{}(expandedSetting)) + } + + if err := client.CreateThenPoll(ctx, id, input); err != nil { + return fmt.Errorf("creating %s: %+v", id, err) + } + + metadata.SetID(id) + return nil + }, + } +} + +func (r StackHCIExtensionResource) Read() sdk.ResourceFunc { + return sdk.ResourceFunc{ + Timeout: 5 * time.Minute, + Func: func(ctx context.Context, metadata sdk.ResourceMetaData) error { + client := metadata.Client.AzureStackHCI.Extensions + + id, err := extensions.ParseExtensionID(metadata.ResourceData.Id()) + if err != nil { + return err + } + + existing, err := client.Get(ctx, *id) + if err != nil { + if response.WasNotFound(existing.HttpResponse) { + return metadata.MarkAsGone(*id) + } + return fmt.Errorf("retrieving %s: %+v", *id, err) + } + + // protected_settingss is not returned in the response, so we read it from the state + var extension, config StackHCIExtensionResourceModel + + if err := metadata.Decode(&config); err != nil { + return err + } + extension.ProtectedSettings = config.ProtectedSettings + + if model := existing.Model; model != nil { + extension.Name = id.ExtensionName + extension.ArcSettingId = extensions.NewArcSettingID(id.SubscriptionId, id.ResourceGroupName, id.ClusterName, id.ArcSettingName).ID() + + if model.Properties != nil && model.Properties.ExtensionParameters != nil { + param := model.Properties.ExtensionParameters + extension.AutomaticUpgradeEnabled = pointer.From(param.EnableAutomaticUpgrade) + extension.AutoUpgradeMinorVersionEnabled = pointer.From(param.AutoUpgradeMinorVersion) + extension.Publisher = pointer.From(param.Publisher) + extension.Type = pointer.From(param.Type) + extension.TypeHandlerVersion = pointer.From(param.TypeHandlerVersion) + + var setting string + if param.Settings != nil { + setting, err = pluginsdk.FlattenJsonToString((*param.Settings).(map[string]interface{})) + if err != nil { + return fmt.Errorf("flatenning `settings`: %+v", err) + } + } + extension.Settings = setting + } + } + + metadata.SetID(id) + + return metadata.Encode(&extension) + }, + } +} + +func (r StackHCIExtensionResource) Delete() sdk.ResourceFunc { + return sdk.ResourceFunc{ + Timeout: 30 * time.Minute, + Func: func(ctx context.Context, metadata sdk.ResourceMetaData) error { + client := metadata.Client.AzureStackHCI.Extensions + + id, err := extensions.ParseExtensionID(metadata.ResourceData.Id()) + if err != nil { + return err + } + + if err := client.DeleteThenPoll(ctx, *id); err != nil { + return fmt.Errorf("deleting %s: %+v", id, err) + } + + return nil + }, + } +} + +func (r StackHCIExtensionResource) Update() sdk.ResourceFunc { + return sdk.ResourceFunc{ + Timeout: 30 * time.Minute, + Func: func(ctx context.Context, metadata sdk.ResourceMetaData) error { + client := metadata.Client.AzureStackHCI.Extensions + + var config StackHCIExtensionResourceModel + if err := metadata.Decode(&config); err != nil { + return err + } + + id, err := extensions.ParseExtensionID(metadata.ResourceData.Id()) + if err != nil { + return err + } + + resp, err := client.Get(ctx, *id) + if err != nil { + return fmt.Errorf("retrieving %s: %+v", *id, err) + } + + model := resp.Model + + if model == nil || model.Properties == nil || model.Properties.ExtensionParameters == nil { + return fmt.Errorf("retrieving %s: `model` was nil", *id) + } + + updateModel := extensions.ExtensionPatch{ + Properties: &extensions.ExtensionPatchProperties{ + ExtensionParameters: &extensions.ExtensionPatchParameters{}, + }, + } + + if metadata.ResourceData.HasChange("automatic_upgrade_enabled") { + updateModel.Properties.ExtensionParameters.EnableAutomaticUpgrade = pointer.To(config.AutomaticUpgradeEnabled) + } + + if metadata.ResourceData.HasChange("protected_settings") { + if config.ProtectedSettings != "" { + expandedSetting, err := pluginsdk.ExpandJsonFromString(config.ProtectedSettings) + if err != nil { + return fmt.Errorf("expanding `protected_settings`: %+v", err) + } + + updateModel.Properties.ExtensionParameters.ProtectedSettings = pointer.To(interface{}(expandedSetting)) + } else { + var emptyInterface interface{} + updateModel.Properties.ExtensionParameters.Settings = pointer.To(emptyInterface) + } + } + + if metadata.ResourceData.HasChange("settings") { + if config.Settings != "" { + expandedSetting, err := pluginsdk.ExpandJsonFromString(config.Settings) + if err != nil { + return fmt.Errorf("expanding `setting`: %+v", err) + } + + updateModel.Properties.ExtensionParameters.Settings = pointer.To(interface{}(expandedSetting)) + } else { + var emptyInterface interface{} + updateModel.Properties.ExtensionParameters.Settings = pointer.To(emptyInterface) + } + } + + if metadata.ResourceData.HasChange("type_handler_version") { + updateModel.Properties.ExtensionParameters.TypeHandlerVersion = pointer.To(config.TypeHandlerVersion) + } + + if err := client.UpdateThenPoll(ctx, *id, updateModel); err != nil { + return fmt.Errorf("updating %s: %+v", id, err) + } + + return nil + }, + } +} diff --git a/internal/services/azurestackhci/stack_hci_extension_resource_test.go b/internal/services/azurestackhci/stack_hci_extension_resource_test.go new file mode 100644 index 000000000000..95736f3cd837 --- /dev/null +++ b/internal/services/azurestackhci/stack_hci_extension_resource_test.go @@ -0,0 +1,210 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + +package azurestackhci_test + +import ( + "context" + "fmt" + "os" + "testing" + + "github.com/hashicorp/go-azure-helpers/lang/pointer" + "github.com/hashicorp/go-azure-sdk/resource-manager/azurestackhci/2024-01-01/extensions" + "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" + "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" + "github.com/hashicorp/terraform-provider-azurerm/internal/clients" + "github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk" +) + +type StackHCIExtensionResource struct{} + +const arcSettingIdEnv = "ARM_TEST_STACK_HCI_ARC_SETTING_ID" + +func TestAccStackHCIExtension_basic(t *testing.T) { + arcSettingId := os.Getenv(arcSettingIdEnv) + if arcSettingId == "" { + t.Skipf("skipping since %q has not been set", arcSettingIdEnv) + } + + data := acceptance.BuildTestData(t, "azurerm_stack_hci_extension", "test") + r := StackHCIExtensionResource{} + + data.ResourceTest(t, r, []acceptance.TestStep{ + { + Config: r.basic(data), + Check: acceptance.ComposeTestCheckFunc( + check.That(data.ResourceName).ExistsInAzure(r), + ), + }, + data.ImportStep("protected_settings"), + }) +} + +func TestAccStackHCIExtension_complete(t *testing.T) { + arcSettingId := os.Getenv(arcSettingIdEnv) + if arcSettingId == "" { + t.Skipf("skipping since %q has not been set", arcSettingIdEnv) + } + + data := acceptance.BuildTestData(t, "azurerm_stack_hci_extension", "test") + r := StackHCIExtensionResource{} + + data.ResourceTest(t, r, []acceptance.TestStep{ + { + Config: r.complete(data), + Check: acceptance.ComposeTestCheckFunc( + check.That(data.ResourceName).ExistsInAzure(r), + ), + }, + data.ImportStep("protected_settings"), + }) +} + +func TestAccStackHCIExtension_update(t *testing.T) { + arcSettingId := os.Getenv(arcSettingIdEnv) + if arcSettingId == "" { + t.Skipf("skipping since %q has not been set", arcSettingIdEnv) + } + + data := acceptance.BuildTestData(t, "azurerm_stack_hci_extension", "test") + r := StackHCIExtensionResource{} + + data.ResourceTest(t, r, []acceptance.TestStep{ + { + Config: r.basic(data), + Check: acceptance.ComposeTestCheckFunc( + check.That(data.ResourceName).ExistsInAzure(r), + ), + }, + data.ImportStep("protected_settings"), + { + Config: r.complete(data), + Check: acceptance.ComposeTestCheckFunc( + check.That(data.ResourceName).ExistsInAzure(r), + ), + }, + data.ImportStep("protected_settings"), + { + Config: r.basic(data), + Check: acceptance.ComposeTestCheckFunc( + check.That(data.ResourceName).ExistsInAzure(r), + ), + }, + data.ImportStep("protected_settings"), + }) +} + +func TestAccStackHCIExtension_requiresImport(t *testing.T) { + arcSettingId := os.Getenv(arcSettingIdEnv) + if arcSettingId == "" { + t.Skipf("skipping since %q has not been set", arcSettingIdEnv) + } + + data := acceptance.BuildTestData(t, "azurerm_stack_hci_extension", "test") + r := StackHCIExtensionResource{} + + data.ResourceTest(t, r, []acceptance.TestStep{ + { + Config: r.basic(data), + Check: acceptance.ComposeTestCheckFunc( + check.That(data.ResourceName).ExistsInAzure(r), + ), + }, + data.RequiresImportErrorStep(r.requiresImport), + }) +} + +func (r StackHCIExtensionResource) Exists(ctx context.Context, client *clients.Client, state *pluginsdk.InstanceState) (*bool, error) { + clusterClient := client.AzureStackHCI.Extensions + id, err := extensions.ParseExtensionID(state.ID) + if err != nil { + return nil, err + } + + resp, err := clusterClient.Get(ctx, *id) + if err != nil { + return nil, fmt.Errorf("retrieving %s: %+v", *id, err) + } + + return pointer.To(resp.Model != nil), nil +} + +func (r StackHCIExtensionResource) basic(data acceptance.TestData) string { + return fmt.Sprintf(` +%s + +resource "azurerm_stack_hci_extension" "test" { + name = "acctest-shce-%[2]s" + arc_setting_id = %[3]q + publisher = "Microsoft.EnterpriseCloud.Monitoring" + type = "MicrosoftMonitoringAgent" +} +`, r.template(data), data.RandomString, os.Getenv(arcSettingIdEnv)) +} + +func (r StackHCIExtensionResource) complete(data acceptance.TestData) string { + return fmt.Sprintf(` +%s + +resource "azurerm_stack_hci_extension" "test" { + name = "acctest-shce-%[2]s" + arc_setting_id = %[3]q + publisher = "Microsoft.EnterpriseCloud.Monitoring" + type = "MicrosoftMonitoringAgent" + auto_upgrade_minor_version_enabled = true + automatic_upgrade_enabled = false + type_handler_version = "1.22.0" + + protected_settings = < 0 && len(new.([]interface{})) == 0 - }), ), Timeouts: &pluginsdk.ResourceTimeout{ @@ -154,20 +142,12 @@ func resourceKubernetesCluster() *pluginsdk.Resource { "api_server_access_profile": { Type: pluginsdk.TypeList, Optional: true, - Computed: !features.FourPointOhBeta(), MaxItems: 1, Elem: &pluginsdk.Resource{ Schema: map[string]*pluginsdk.Schema{ "authorized_ip_ranges": { Type: pluginsdk.TypeSet, Optional: true, - Computed: !features.FourPointOhBeta(), - ConflictsWith: func() []string { - if !features.FourPointOhBeta() { - return []string{"api_server_authorized_ip_ranges"} - } - return []string{} - }(), Elem: &pluginsdk.Schema{ Type: pluginsdk.TypeString, ValidateFunc: validate.CIDR, @@ -177,6 +157,17 @@ func resourceKubernetesCluster() *pluginsdk.Resource { }, }, + "automatic_upgrade_channel": { + Type: pluginsdk.TypeString, + Optional: true, + ValidateFunc: validation.StringInSlice([]string{ + string(managedclusters.UpgradeChannelPatch), + string(managedclusters.UpgradeChannelRapid), + string(managedclusters.UpgradeChannelStable), + string(managedclusters.UpgradeChannelNodeNegativeimage), + }, false), + }, + "auto_scaler_profile": { Type: pluginsdk.TypeList, Optional: true, @@ -189,6 +180,19 @@ func resourceKubernetesCluster() *pluginsdk.Resource { Optional: true, Default: false, }, + + "daemonset_eviction_for_empty_nodes_enabled": { + Type: pluginsdk.TypeBool, + Optional: true, + Default: false, + }, + + "daemonset_eviction_for_occupied_nodes_enabled": { + Type: pluginsdk.TypeBool, + Optional: true, + Default: true, + }, + "expander": { Type: pluginsdk.TypeString, Optional: true, @@ -200,86 +204,106 @@ func resourceKubernetesCluster() *pluginsdk.Resource { string(managedclusters.ExpanderRandom), }, false), }, + + "ignore_daemonsets_utilization_enabled": { + Type: pluginsdk.TypeBool, + Optional: true, + Default: false, + }, + "max_graceful_termination_sec": { Type: pluginsdk.TypeString, Optional: true, Computed: true, }, + "max_node_provisioning_time": { Type: pluginsdk.TypeString, Optional: true, Default: "15m", ValidateFunc: containerValidate.Duration, }, + "max_unready_nodes": { Type: pluginsdk.TypeInt, Optional: true, Default: 3, ValidateFunc: validation.IntAtLeast(0), }, + "max_unready_percentage": { Type: pluginsdk.TypeFloat, Optional: true, Default: 45, ValidateFunc: validation.FloatBetween(0, 100), }, + "new_pod_scale_up_delay": { Type: pluginsdk.TypeString, Optional: true, Computed: true, ValidateFunc: containerValidate.Duration, }, + "scan_interval": { Type: pluginsdk.TypeString, Optional: true, Computed: true, ValidateFunc: containerValidate.Duration, }, + "scale_down_delay_after_add": { Type: pluginsdk.TypeString, Optional: true, Computed: true, ValidateFunc: containerValidate.Duration, }, + "scale_down_delay_after_delete": { Type: pluginsdk.TypeString, Optional: true, Computed: true, ValidateFunc: containerValidate.Duration, }, + "scale_down_delay_after_failure": { Type: pluginsdk.TypeString, Optional: true, Computed: true, ValidateFunc: containerValidate.Duration, }, + "scale_down_unneeded": { Type: pluginsdk.TypeString, Optional: true, Computed: true, ValidateFunc: containerValidate.Duration, }, + "scale_down_unready": { Type: pluginsdk.TypeString, Optional: true, Computed: true, ValidateFunc: containerValidate.Duration, }, + "scale_down_utilization_threshold": { Type: pluginsdk.TypeString, Optional: true, Computed: true, }, + "empty_bulk_delete_max": { Type: pluginsdk.TypeString, Optional: true, Computed: true, }, + "skip_nodes_with_local_storage": { Type: pluginsdk.TypeBool, Optional: true, - Default: !features.FourPointOhBeta(), }, + "skip_nodes_with_system_pods": { Type: pluginsdk.TypeBool, Optional: true, @@ -993,22 +1017,10 @@ func resourceKubernetesCluster() *pluginsdk.Resource { "network_data_plane": { Type: pluginsdk.TypeString, Optional: true, - Computed: !features.FourPointOhBeta(), - Default: func() interface{} { - if !features.FourPointOhBeta() { - return nil - } - return string(managedclusters.NetworkDataplaneAzure) - }(), + Default: string(managedclusters.NetworkDataplaneAzure), ValidateFunc: validation.StringInSlice( managedclusters.PossibleValuesForNetworkDataplane(), false), - ConflictsWith: func() []string { - if !features.FourPointOhBeta() { - return []string{"network_profile.0.ebpf_data_plane"} - } - return []string{} - }(), }, "network_plugin_mode": { @@ -1094,12 +1106,14 @@ func resourceKubernetesCluster() *pluginsdk.Resource { Default: 0, ValidateFunc: validation.IntBetween(0, 64000), }, + "idle_timeout_in_minutes": { Type: pluginsdk.TypeInt, Optional: true, Default: 30, ValidateFunc: validation.IntBetween(4, 100), }, + "managed_outbound_ip_count": { Type: pluginsdk.TypeInt, Optional: true, @@ -1107,6 +1121,7 @@ func resourceKubernetesCluster() *pluginsdk.Resource { ValidateFunc: validation.IntBetween(1, 100), ConflictsWith: []string{"network_profile.0.load_balancer_profile.0.outbound_ip_prefix_ids", "network_profile.0.load_balancer_profile.0.outbound_ip_address_ids"}, }, + "managed_outbound_ipv6_count": { Type: pluginsdk.TypeInt, Optional: true, @@ -1114,6 +1129,7 @@ func resourceKubernetesCluster() *pluginsdk.Resource { ValidateFunc: validation.IntBetween(1, 100), ConflictsWith: []string{"network_profile.0.load_balancer_profile.0.outbound_ip_prefix_ids", "network_profile.0.load_balancer_profile.0.outbound_ip_address_ids"}, }, + "outbound_ip_prefix_ids": { Type: pluginsdk.TypeSet, Optional: true, @@ -1123,6 +1139,7 @@ func resourceKubernetesCluster() *pluginsdk.Resource { ValidateFunc: azure.ValidateResourceID, }, }, + "outbound_ip_address_ids": { Type: pluginsdk.TypeSet, Optional: true, @@ -1132,6 +1149,7 @@ func resourceKubernetesCluster() *pluginsdk.Resource { ValidateFunc: azure.ValidateResourceID, }, }, + "effective_outbound_ips": { Type: pluginsdk.TypeSet, Computed: true, @@ -1139,6 +1157,16 @@ func resourceKubernetesCluster() *pluginsdk.Resource { Type: pluginsdk.TypeString, }, }, + + "backend_pool_type": { + Type: pluginsdk.TypeString, + Optional: true, + Default: string(managedclusters.BackendPoolTypeNodeIPConfiguration), + ValidateFunc: validation.StringInSlice([]string{ + string(managedclusters.BackendPoolTypeNodeIPConfiguration), + string(managedclusters.BackendPoolTypeNodeIP), + }, false), + }, }, }, }, @@ -1191,6 +1219,18 @@ func resourceKubernetesCluster() *pluginsdk.Resource { }, }, + "node_os_upgrade_channel": { + Type: pluginsdk.TypeString, + Optional: true, + Default: string(managedclusters.NodeOSUpgradeChannelNodeImage), + ValidateFunc: validation.StringInSlice([]string{ + string(managedclusters.NodeOSUpgradeChannelNodeImage), + string(managedclusters.NodeOSUpgradeChannelNone), + string(managedclusters.NodeOSUpgradeChannelSecurityPatch), + string(managedclusters.NodeOSUpgradeChannelUnmanaged), + }, false), + }, + "node_resource_group": { Type: pluginsdk.TypeString, Optional: true, @@ -1319,6 +1359,17 @@ func resourceKubernetesCluster() *pluginsdk.Resource { }, }, }, + + "revisions": { + Type: pluginsdk.TypeList, + Required: true, + MinItems: 1, + MaxItems: 2, + Elem: &pluginsdk.Schema{ + Type: pluginsdk.TypeString, + ValidateFunc: validation.StringIsNotEmpty, + }, + }, }, }, }, @@ -1478,328 +1529,11 @@ func resourceKubernetesCluster() *pluginsdk.Resource { resource.Schema[k] = v } - if !features.FourPointOhBeta() { - resource.Schema["enable_pod_security_policy"] = &pluginsdk.Schema{ - Type: pluginsdk.TypeBool, - Deprecated: "The AKS API has removed support for this field on 2020-10-15 and it is no longer possible to configure Pod Security Policy. This property will be removed in v4.0 of the AzureRM provider.", - Optional: true, - } - resource.Schema["network_profile"].Elem.(*pluginsdk.Resource).Schema["ebpf_data_plane"] = &pluginsdk.Schema{ - Type: pluginsdk.TypeString, - Optional: true, - Computed: true, - ValidateFunc: validation.StringInSlice([]string{ - string(managedclusters.NetworkDataplaneCilium), - }, false), - Deprecated: "This property has been superseded by the property `network_data_plane` and will be removed in v4.0 of the AzureRM provider.", - ConflictsWith: []string{"network_profile.0.network_data_plane"}, - } - resource.Schema["api_server_authorized_ip_ranges"] = &pluginsdk.Schema{ - Type: pluginsdk.TypeSet, - Optional: true, - Computed: true, - Elem: &pluginsdk.Schema{ - Type: pluginsdk.TypeString, - ValidateFunc: validate.CIDR, - }, - Deprecated: "This property has been renamed to `authorized_ip_ranges` within the `api_server_access_profile` block and will be removed in v4.0 of the provider", - ConflictsWith: []string{"api_server_access_profile.0.authorized_ip_ranges"}, - } - resource.Schema["api_server_access_profile"].Elem.(*pluginsdk.Resource).Schema["vnet_integration_enabled"] = &pluginsdk.Schema{ - Deprecated: "This property is not available in the stable API and will be removed in v4.0 of the Azure Provider. Please see https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/guides/4.0-upgrade-guide#aks-migration-to-stable-api for more details.", - Type: pluginsdk.TypeBool, - Optional: true, - } - resource.Schema["api_server_access_profile"].Elem.(*pluginsdk.Resource).Schema["subnet_id"] = &pluginsdk.Schema{ - Deprecated: "This property is not available in the stable API and will be removed in v4.0 of the Azure Provider. Please see https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/guides/4.0-upgrade-guide#aks-migration-to-stable-api for more details.", - Type: pluginsdk.TypeString, - Optional: true, - ValidateFunc: commonids.ValidateSubnetID, - } - resource.Schema["custom_ca_trust_certificates_base64"] = &pluginsdk.Schema{ - Deprecated: "This property is not available in the stable API and will be removed in v4.0 of the Azure Provider. Please see https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/guides/4.0-upgrade-guide#aks-migration-to-stable-api for more details.", - Type: pluginsdk.TypeList, - Optional: true, - MaxItems: 10, - Elem: &pluginsdk.Schema{ - Type: pluginsdk.TypeString, - ValidateFunc: validation.StringIsBase64, - }, - } - resource.Schema["storage_profile"].Elem.(*pluginsdk.Resource).Schema["disk_driver_version"] = &pluginsdk.Schema{ - Deprecated: "This property is not available in the stable API and will be removed in v4.0 of the Azure Provider. Please see https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/guides/4.0-upgrade-guide#aks-migration-to-stable-api for more details.", - Type: pluginsdk.TypeString, - Optional: true, - Default: "v1", - ValidateFunc: validation.StringInSlice([]string{ - "v1", - "v2", - }, false), - } - resource.Schema["network_profile"].Elem.(*pluginsdk.Resource).Schema["docker_bridge_cidr"] = &pluginsdk.Schema{ - Type: pluginsdk.TypeString, - Optional: true, - Computed: true, - ForceNew: true, - Deprecated: "`docker_bridge_cidr` has been deprecated as the API no longer supports it and will be removed in version 4.0 of the provider.", - ValidateFunc: validate.CIDR, - } - resource.Schema["network_profile"].Elem.(*pluginsdk.Resource).Schema["network_plugin_mode"] = &pluginsdk.Schema{ - Type: pluginsdk.TypeString, - Optional: true, - ValidateFunc: validation.StringInSlice([]string{ - string(managedclusters.NetworkPluginModeOverlay), - "Overlay", - }, false), - } - resource.Schema["windows_profile"].Elem.(*pluginsdk.Resource).Schema["admin_password"] = &pluginsdk.Schema{ - Type: pluginsdk.TypeString, - Optional: true, - Sensitive: true, - ValidateFunc: validation.StringLenBetween(8, 123), - } - resource.Schema["image_cleaner_enabled"] = &pluginsdk.Schema{ - Type: pluginsdk.TypeBool, - Optional: true, - Default: false, - } - resource.Schema["image_cleaner_interval_hours"] = &pluginsdk.Schema{ - Type: pluginsdk.TypeInt, - Optional: true, - Default: 48, - ValidateFunc: validation.IntBetween(24, 2160), - } - resource.Schema["automatic_channel_upgrade"] = &pluginsdk.Schema{ - Type: pluginsdk.TypeString, - Optional: true, - ValidateFunc: validation.StringInSlice([]string{ - string(managedclusters.UpgradeChannelPatch), - string(managedclusters.UpgradeChannelRapid), - string(managedclusters.UpgradeChannelStable), - string(managedclusters.UpgradeChannelNodeNegativeimage), - }, false), - Deprecated: features.DeprecatedInFourPointOh("The property `automatic_channel_upgrade` will be renamed to `automatic_upgrade_channel` in v4.0 of the AzureRM Provider."), - } - resource.Schema["node_os_channel_upgrade"] = &pluginsdk.Schema{ - Type: pluginsdk.TypeString, - Optional: true, - ValidateFunc: validation.StringInSlice([]string{ - string(managedclusters.NodeOSUpgradeChannelNodeImage), - string(managedclusters.NodeOSUpgradeChannelNone), - string(managedclusters.NodeOSUpgradeChannelSecurityPatch), - string(managedclusters.NodeOSUpgradeChannelUnmanaged), - }, false), - Deprecated: features.DeprecatedInFourPointOh("The property `node_os_channel_upgrade` will be renamed to `node_os_upgrade_channel` in v4.0 of the AzureRM Provider."), - } - resource.Schema["network_profile"].Elem.(*pluginsdk.Resource).Schema["outbound_ip_prefix_ids"] = &pluginsdk.Schema{ - Type: pluginsdk.TypeSet, - Optional: true, - Computed: true, - ConflictsWith: []string{"network_profile.0.load_balancer_profile.0.managed_outbound_ip_count", "network_profile.0.load_balancer_profile.0.outbound_ip_address_ids"}, - Elem: &pluginsdk.Schema{ - Type: pluginsdk.TypeString, - ValidateFunc: azure.ValidateResourceID, - }, - } - resource.Schema["network_profile"].Elem.(*pluginsdk.Resource).Schema["outbound_ip_address_ids"] = &pluginsdk.Schema{ - Type: pluginsdk.TypeSet, - Optional: true, - Computed: true, - ConflictsWith: []string{"network_profile.0.load_balancer_profile.0.managed_outbound_ip_count", "network_profile.0.load_balancer_profile.0.outbound_ip_prefix_ids"}, - Elem: &pluginsdk.Schema{ - Type: pluginsdk.TypeString, - ValidateFunc: azure.ValidateResourceID, - }, - } - resource.Schema["azure_active_directory_role_based_access_control"] = &pluginsdk.Schema{ - Type: pluginsdk.TypeList, - Optional: true, - MaxItems: 1, - Elem: &pluginsdk.Resource{ - Schema: map[string]*pluginsdk.Schema{ - "client_app_id": { - Deprecated: "Azure AD Integration (legacy) (https://aka.ms/aks/aad-legacy) is deprecated and clusters can no longer be created with the Azure AD integration (legacy) enabled. This field will be removed in v4.0 of the AzureRM Provider.", - Type: pluginsdk.TypeString, - Optional: true, - ValidateFunc: validation.IsUUID, - AtLeastOneOf: []string{ - "azure_active_directory_role_based_access_control.0.client_app_id", "azure_active_directory_role_based_access_control.0.server_app_id", - "azure_active_directory_role_based_access_control.0.server_app_secret", "azure_active_directory_role_based_access_control.0.tenant_id", - "azure_active_directory_role_based_access_control.0.managed", "azure_active_directory_role_based_access_control.0.admin_group_object_ids", - }, - }, - - "server_app_id": { - Deprecated: "Azure AD Integration (legacy) (https://aka.ms/aks/aad-legacy) is deprecated and clusters can no longer be created with the Azure AD integration (legacy) enabled. This field will be removed in v4.0 of the AzureRM Provider.", - Type: pluginsdk.TypeString, - Optional: true, - ValidateFunc: validation.IsUUID, - AtLeastOneOf: []string{ - "azure_active_directory_role_based_access_control.0.client_app_id", "azure_active_directory_role_based_access_control.0.server_app_id", - "azure_active_directory_role_based_access_control.0.server_app_secret", "azure_active_directory_role_based_access_control.0.tenant_id", - "azure_active_directory_role_based_access_control.0.managed", "azure_active_directory_role_based_access_control.0.admin_group_object_ids", - }, - }, - - "server_app_secret": { - Deprecated: "Azure AD Integration (legacy) (https://aka.ms/aks/aad-legacy) is deprecated and clusters can no longer be created with the Azure AD integration (legacy) enabled. This field will be removed in v4.0 of the AzureRM Provider.", - Type: pluginsdk.TypeString, - Optional: true, - Sensitive: true, - ValidateFunc: validation.StringIsNotEmpty, - AtLeastOneOf: []string{ - "azure_active_directory_role_based_access_control.0.client_app_id", "azure_active_directory_role_based_access_control.0.server_app_id", - "azure_active_directory_role_based_access_control.0.server_app_secret", "azure_active_directory_role_based_access_control.0.tenant_id", - "azure_active_directory_role_based_access_control.0.managed", "azure_active_directory_role_based_access_control.0.admin_group_object_ids", - }, - }, - - "tenant_id": { - Type: pluginsdk.TypeString, - Optional: true, - Computed: true, - // OrEmpty since this can be sourced from the client config if it's not specified - ValidateFunc: validation.Any(validation.IsUUID, validation.StringIsEmpty), - AtLeastOneOf: []string{ - "azure_active_directory_role_based_access_control.0.client_app_id", "azure_active_directory_role_based_access_control.0.server_app_id", - "azure_active_directory_role_based_access_control.0.server_app_secret", "azure_active_directory_role_based_access_control.0.tenant_id", - "azure_active_directory_role_based_access_control.0.managed", "azure_active_directory_role_based_access_control.0.admin_group_object_ids", - }, - }, - - "managed": { - Deprecated: "Azure AD Integration (legacy) (https://aka.ms/aks/aad-legacy) is deprecated and clusters can no longer be created with the Azure AD integration (legacy) enabled. This field must be supplied with the value `true` for AKS-managed Entra Integration, but will be removed and defaulted to `true` for the user in v4.0 of the AzureRM Provider.", - Type: pluginsdk.TypeBool, - Optional: true, - AtLeastOneOf: []string{ - "azure_active_directory_role_based_access_control.0.client_app_id", "azure_active_directory_role_based_access_control.0.server_app_id", - "azure_active_directory_role_based_access_control.0.server_app_secret", "azure_active_directory_role_based_access_control.0.tenant_id", - "azure_active_directory_role_based_access_control.0.managed", "azure_active_directory_role_based_access_control.0.admin_group_object_ids", - }, - }, - - "azure_rbac_enabled": { - Type: pluginsdk.TypeBool, - Optional: true, - }, - - "admin_group_object_ids": { - Type: pluginsdk.TypeList, - Optional: true, - Elem: &pluginsdk.Schema{ - Type: pluginsdk.TypeString, - ValidateFunc: validation.IsUUID, - }, - AtLeastOneOf: []string{ - "azure_active_directory_role_based_access_control.0.client_app_id", "azure_active_directory_role_based_access_control.0.server_app_id", - "azure_active_directory_role_based_access_control.0.server_app_secret", "azure_active_directory_role_based_access_control.0.tenant_id", - "azure_active_directory_role_based_access_control.0.managed", "azure_active_directory_role_based_access_control.0.admin_group_object_ids", - }, - }, - }, - }, - } - resource.Schema["workload_autoscaler_profile"] = &pluginsdk.Schema{ - Type: pluginsdk.TypeList, - Optional: true, - MaxItems: 1, - Elem: &pluginsdk.Resource{ - Schema: map[string]*pluginsdk.Schema{ - "keda_enabled": { - Type: pluginsdk.TypeBool, - Optional: true, - Default: false, - }, - "vertical_pod_autoscaler_enabled": { - Type: pluginsdk.TypeBool, - Optional: true, - Default: false, - }, - "vertical_pod_autoscaler_update_mode": { - Type: pluginsdk.TypeString, - Computed: true, - Deprecated: "The AKS API has removed support for this field on 2023-07-02-preview and is no longer possible to export this value. This property will be removed in v4.0 of the AzureRM provider.", - }, - "vertical_pod_autoscaler_controlled_values": { - Type: pluginsdk.TypeString, - Computed: true, - Deprecated: "The AKS API has removed support for this field on 2023-07-02-preview and is no longer possible to export this value. This property will be removed in v4.0 of the AzureRM provider.", - }, - }, - }, - } - resource.Schema["web_app_routing"].Elem.(*pluginsdk.Resource).Schema["dns_zone_id"] = &pluginsdk.Schema{ - Deprecated: "`dns_zone_id` has been deprecated in favor of `dns_zone_ids` and will be removed in v4.0 of the AzureRM Provider.", - Type: pluginsdk.TypeString, - Optional: true, - ValidateFunc: validation.Any( - dnsValidate.ValidateDnsZoneID, - privatezones.ValidatePrivateDnsZoneID, - validation.StringIsEmpty, - ), - ConflictsWith: []string{"web_app_routing.0.dns_zone_ids"}, - } - resource.Schema["web_app_routing"].Elem.(*pluginsdk.Resource).Schema["dns_zone_ids"] = &pluginsdk.Schema{ - Type: pluginsdk.TypeList, - Optional: true, - Elem: &pluginsdk.Schema{ - Type: pluginsdk.TypeString, - ValidateFunc: validation.Any( - dnsValidate.ValidateDnsZoneID, - privatezones.ValidatePrivateDnsZoneID, - validation.StringIsEmpty, - ), - }, - ConflictsWith: []string{"web_app_routing.0.dns_zone_id"}, - } - resource.Schema["public_network_access_enabled"] = &pluginsdk.Schema{ - Type: pluginsdk.TypeBool, - Optional: true, - Default: true, - Deprecated: "`public_network_access_enabled` is currently not functional and is not be passed to the API, this property will be removed in v4.0 of the AzureRM provider.", - } - } - - if features.FourPointOhBeta() { - resource.Schema["automatic_upgrade_channel"] = &pluginsdk.Schema{ - Type: pluginsdk.TypeString, - Optional: true, - ValidateFunc: validation.StringInSlice([]string{ - string(managedclusters.UpgradeChannelPatch), - string(managedclusters.UpgradeChannelRapid), - string(managedclusters.UpgradeChannelStable), - string(managedclusters.UpgradeChannelNodeNegativeimage), - }, false), - } - resource.Schema["node_os_upgrade_channel"] = &pluginsdk.Schema{ - Type: pluginsdk.TypeString, - Optional: true, - Default: string(managedclusters.NodeOSUpgradeChannelNodeImage), - ValidateFunc: validation.StringInSlice([]string{ - string(managedclusters.NodeOSUpgradeChannelNodeImage), - string(managedclusters.NodeOSUpgradeChannelNone), - string(managedclusters.NodeOSUpgradeChannelSecurityPatch), - string(managedclusters.NodeOSUpgradeChannelUnmanaged), - }, false), - } - resource.Schema["service_mesh_profile"].Elem.(*pluginsdk.Resource).Schema["revisions"] = &pluginsdk.Schema{ - Type: pluginsdk.TypeList, - Required: true, - MinItems: 1, - MaxItems: 2, - Elem: &pluginsdk.Schema{ - Type: pluginsdk.TypeString, - ValidateFunc: validation.StringIsNotEmpty, - }, - } - } - return resource } func resourceKubernetesClusterCreate(d *pluginsdk.ResourceData, meta interface{}) error { subscriptionId := meta.(*clients.Client).Account.SubscriptionId - tenantId := meta.(*clients.Client).Account.TenantId client := meta.(*clients.Client).Containers.KubernetesClustersClient keyVaultsClient := meta.(*clients.Client).KeyVault env := meta.(*clients.Client).Containers.Environment @@ -1870,10 +1604,7 @@ func resourceKubernetesClusterCreate(d *pluginsdk.ResourceData, meta interface{} var azureADProfile *managedclusters.ManagedClusterAADProfile if v, ok := d.GetOk("azure_active_directory_role_based_access_control"); ok { - azureADProfile, err = expandKubernetesClusterAzureActiveDirectoryRoleBasedAccessControl(v.([]interface{}), tenantId) - if err != nil { - return err - } + azureADProfile = expandKubernetesClusterAzureActiveDirectoryRoleBasedAccessControl(v.([]interface{})) } t := d.Get("tags").(map[string]interface{}) @@ -1891,12 +1622,6 @@ func resourceKubernetesClusterCreate(d *pluginsdk.ResourceData, meta interface{} nodeResourceGroup := d.Get("node_resource_group").(string) - if !features.FourPointOhBeta() { - if d.Get("enable_pod_security_policy").(bool) { - return fmt.Errorf("the AKS API has removed support for this field on 2020-10-15 and it is no longer possible to configure Pod Security Policy - as such you'll need to set `enable_pod_security_policy` to `false`") - } - } - autoScalerProfileRaw := d.Get("auto_scaler_profile").([]interface{}) autoScalerProfile := expandKubernetesClusterAutoScalerProfile(autoScalerProfileRaw) @@ -1935,7 +1660,7 @@ func resourceKubernetesClusterCreate(d *pluginsdk.ResourceData, meta interface{} } } - if !features.FourPointOhBeta() || d.Get("image_cleaner_enabled").(bool) { + if d.Get("image_cleaner_enabled").(bool) { securityProfile.ImageCleaner = &managedclusters.ManagedClusterSecurityProfileImageCleaner{ Enabled: utils.Bool(d.Get("image_cleaner_enabled").(bool)), IntervalHours: utils.Int64(int64(d.Get("image_cleaner_interval_hours").(int))), @@ -1950,21 +1675,12 @@ func resourceKubernetesClusterCreate(d *pluginsdk.ResourceData, meta interface{} autoUpgradeProfile := &managedclusters.ManagedClusterAutoUpgradeProfile{} - var autoChannelUpgrade, nodeOsChannelUpgrade string - if !features.FourPointOhBeta() { - autoChannelUpgrade = d.Get("automatic_channel_upgrade").(string) - nodeOsChannelUpgrade = d.Get("node_os_channel_upgrade").(string) - } else { - autoChannelUpgrade = d.Get("automatic_upgrade_channel").(string) - nodeOsChannelUpgrade = d.Get("node_os_upgrade_channel").(string) - } + autoChannelUpgrade := d.Get("automatic_upgrade_channel").(string) + nodeOsChannelUpgrade := d.Get("node_os_upgrade_channel").(string) // this check needs to be separate and gated since node_os_channel_upgrade is a preview feature if nodeOsChannelUpgrade != "" && autoChannelUpgrade != "" { if autoChannelUpgrade == string(managedclusters.UpgradeChannelNodeNegativeimage) && nodeOsChannelUpgrade != string(managedclusters.NodeOSUpgradeChannelNodeImage) { - if !features.FourPointOhBeta() { - return fmt.Errorf("`node_os_channel_upgrade` cannot be set to a value other than `NodeImage` if `automatic_channel_upgrade` is set to `node-image`") - } return fmt.Errorf("`node_os_upgrade_channel` cannot be set to a value other than `NodeImage` if `automatic_upgrade_channel` is set to `node-image`") } } @@ -2202,12 +1918,8 @@ func resourceKubernetesClusterUpdate(d *pluginsdk.ResourceData, meta interface{} } if d.HasChange("azure_active_directory_role_based_access_control") { - tenantId := meta.(*clients.Client).Account.TenantId azureADRaw := d.Get("azure_active_directory_role_based_access_control").([]interface{}) - azureADProfile, err := expandKubernetesClusterAzureActiveDirectoryRoleBasedAccessControl(azureADRaw, tenantId) - if err != nil { - return err - } + azureADProfile := expandKubernetesClusterAzureActiveDirectoryRoleBasedAccessControl(azureADRaw) props.AadProfile = azureADProfile if props.AadProfile != nil && (props.AadProfile.Managed == nil || !*props.AadProfile.Managed) { @@ -2257,12 +1969,6 @@ func resourceKubernetesClusterUpdate(d *pluginsdk.ResourceData, meta interface{} existing.Model.Properties.AzureMonitorProfile = azureMonitorProfile } - if !features.FourPointOhBeta() { - if d.HasChange("enable_pod_security_policy") && d.Get("enable_pod_security_policy").(bool) { - return fmt.Errorf("The AKS API has removed support for this field on 2020-10-15 and it is no longer possible to configure Pod Security Policy - as such you'll need to set `enable_pod_security_policy` to `false`") - } - } - if d.HasChange("linux_profile") { updateCluster = true linuxProfileRaw := d.Get("linux_profile").([]interface{}) @@ -2383,6 +2089,11 @@ func resourceKubernetesClusterUpdate(d *pluginsdk.ResourceData, meta interface{} loadBalancerProfile.AllocatedOutboundPorts = utils.Int64(int64(allocatedOutboundPorts)) } + if key := "network_profile.0.load_balancer_profile.0.backend_pool_type"; d.HasChange(key) { + backendPoolType := d.Get(key).(string) + loadBalancerProfile.BackendPoolType = pointer.To(managedclusters.BackendPoolType(backendPoolType)) + } + existing.Model.Properties.NetworkProfile.LoadBalancerProfile = &loadBalancerProfile } @@ -2405,13 +2116,6 @@ func resourceKubernetesClusterUpdate(d *pluginsdk.ResourceData, meta interface{} existing.Model.Properties.NetworkProfile.NatGatewayProfile = &natGatewayProfile } - if !features.FourPointOhBeta() { - if key := "network_profile.0.ebpf_data_plane"; d.HasChange(key) { - ebpfDataPlane := d.Get(key).(string) - existing.Model.Properties.NetworkProfile.NetworkDataplane = pointer.To(managedclusters.NetworkDataplane(ebpfDataPlane)) - } - } - if d.HasChange("network_profile.0.network_data_plane") { existing.Model.Properties.NetworkProfile.NetworkDataplane = pointer.To(managedclusters.NetworkDataplane(d.Get("network_profile.0.network_data_plane").(string))) } @@ -2476,10 +2180,6 @@ func resourceKubernetesClusterUpdate(d *pluginsdk.ResourceData, meta interface{} autoUpgradeChannel := "automatic_upgrade_channel" nodeOsUpgradeChannel := "node_os_upgrade_channel" - if !features.FourPointOhBeta() { - autoUpgradeChannel = "automatic_channel_upgrade" - nodeOsUpgradeChannel = "node_os_channel_upgrade" - } if d.HasChange(autoUpgradeChannel) { updateCluster = true if existing.Model.Properties.AutoUpgradeProfile == nil { @@ -2495,9 +2195,6 @@ func resourceKubernetesClusterUpdate(d *pluginsdk.ResourceData, meta interface{} if d.HasChange(nodeOsUpgradeChannel) { updateCluster = true if d.Get(autoUpgradeChannel).(string) == string(managedclusters.UpgradeChannelNodeNegativeimage) && d.Get(nodeOsUpgradeChannel).(string) != string(managedclusters.NodeOSUpgradeChannelNodeImage) { - if !features.FourPointOhBeta() { - return fmt.Errorf("`node_os_channel_upgrade` must be set to `NodeImage` if `automatic_channel_upgrade` is set to `node-image`") - } return fmt.Errorf("`node_os_upgrade_channel` must be set to `NodeImage` if `automatic_upgrade_channel` is set to `node-image`") } if existing.Model.Properties.AutoUpgradeProfile == nil { @@ -2662,10 +2359,6 @@ func resourceKubernetesClusterUpdate(d *pluginsdk.ResourceData, meta interface{} hostEncryptionEnabled := "default_node_pool.0.host_encryption_enabled" nodePublicIpEnabled := "default_node_pool.0.node_public_ip_enabled" - if !features.FourPointOhBeta() { - hostEncryptionEnabled = "default_node_pool.0.enable_host_encryption" - nodePublicIpEnabled = "default_node_pool.0.enable_node_public_ip" - } cycleNodePoolProperties := []string{ "default_node_pool.0.name", @@ -2889,9 +2582,6 @@ func resourceKubernetesClusterRead(d *pluginsdk.ResourceData, meta interface{}) d.Set("disk_encryption_set_id", props.DiskEncryptionSetID) d.Set("kubernetes_version", props.KubernetesVersion) d.Set("current_kubernetes_version", props.CurrentKubernetesVersion) - if !features.FourPointOhBeta() { - d.Set("enable_pod_security_policy", props.EnablePodSecurityPolicy) - } d.Set("local_account_disabled", props.DisableLocalAccounts) nodeResourceGroup := "" @@ -2914,21 +2604,8 @@ func resourceKubernetesClusterRead(d *pluginsdk.ResourceData, meta interface{}) } } - if !features.FourPointOhBeta() { - d.Set("automatic_channel_upgrade", upgradeChannel) - } else { - d.Set("automatic_upgrade_channel", upgradeChannel) - } - - if !features.FourPointOhBeta() { - // this was a preview feature and returns `node_os_channel_upgrade` when `automatic_channel_upgrade` is set to `node-image` - // which is why we were only setting this explicitly if it had been set in the config, keeping this as is for now - if v, ok := d.GetOk("node_os_channel_upgrade"); ok && v.(string) != "" { - d.Set("node_os_channel_upgrade", nodeOSUpgradeChannel) - } - } else { - d.Set("node_os_upgrade_channel", nodeOSUpgradeChannel) - } + d.Set("automatic_upgrade_channel", upgradeChannel) + d.Set("node_os_upgrade_channel", nodeOSUpgradeChannel) enablePrivateCluster := false enablePrivateClusterPublicFQDN := false @@ -2940,12 +2617,6 @@ func resourceKubernetesClusterRead(d *pluginsdk.ResourceData, meta interface{}) return fmt.Errorf("setting `api_server_access_profile`: %+v", err) } if accessProfile := props.ApiServerAccessProfile; accessProfile != nil { - if !features.FourPointOhBeta() { - apiServerAuthorizedIPRanges := utils.FlattenStringSlice(accessProfile.AuthorizedIPRanges) - if err := d.Set("api_server_authorized_ip_ranges", apiServerAuthorizedIPRanges); err != nil { - return fmt.Errorf("setting `api_server_authorized_ip_ranges`: %+v", err) - } - } if accessProfile.EnablePrivateCluster != nil { enablePrivateCluster = *accessProfile.EnablePrivateCluster } @@ -3024,8 +2695,7 @@ func resourceKubernetesClusterRead(d *pluginsdk.ResourceData, meta interface{}) return fmt.Errorf("setting `linux_profile`: %+v", err) } - networkProfileRaw := d.Get("network_profile").([]interface{}) - networkProfile := flattenKubernetesClusterNetworkProfile(props.NetworkProfile, networkProfileRaw) + networkProfile := flattenKubernetesClusterNetworkProfile(props.NetworkProfile) if err := d.Set("network_profile", networkProfile); err != nil { return fmt.Errorf("setting `network_profile`: %+v", err) } @@ -3041,7 +2711,7 @@ func resourceKubernetesClusterRead(d *pluginsdk.ResourceData, meta interface{}) } d.Set("role_based_access_control_enabled", rbacEnabled) - aadRbac := flattenKubernetesClusterAzureActiveDirectoryRoleBasedAccessControl(props, d) + aadRbac := flattenKubernetesClusterAzureActiveDirectoryRoleBasedAccessControl(props) if err := d.Set("azure_active_directory_role_based_access_control", aadRbac); err != nil { return fmt.Errorf("setting `azure_active_directory_role_based_access_control`: %+v", err) } @@ -3094,7 +2764,7 @@ func resourceKubernetesClusterRead(d *pluginsdk.ResourceData, meta interface{}) return fmt.Errorf("setting `microsoft_defender`: %+v", err) } - ingressProfile := flattenKubernetesClusterIngressProfile(props.IngressProfile, d.Get("web_app_routing").([]interface{})) + ingressProfile := flattenKubernetesClusterIngressProfile(props.IngressProfile) if err := d.Set("web_app_routing", ingressProfile); err != nil { return fmt.Errorf("setting `web_app_routing`: %+v", err) } @@ -3143,24 +2813,30 @@ func resourceKubernetesClusterRead(d *pluginsdk.ResourceData, meta interface{}) return fmt.Errorf("setting `kube_config`: %+v", err) } + var maintenanceWindow interface{} maintenanceConfigurationsClient := meta.(*clients.Client).Containers.MaintenanceConfigurationsClient maintenanceId := maintenanceconfigurations.NewMaintenanceConfigurationID(id.SubscriptionId, id.ResourceGroupName, id.ManagedClusterName, "default") configResp, _ := maintenanceConfigurationsClient.Get(ctx, maintenanceId) if configurationBody := configResp.Model; configurationBody != nil && configurationBody.Properties != nil { - d.Set("maintenance_window", flattenKubernetesClusterMaintenanceConfigurationDefault(configurationBody.Properties)) + maintenanceWindow = flattenKubernetesClusterMaintenanceConfigurationDefault(configurationBody.Properties) } + d.Set("maintenance_window", maintenanceWindow) + var maintenanceWindowAutoUpgrade interface{} maintenanceId = maintenanceconfigurations.NewMaintenanceConfigurationID(id.SubscriptionId, id.ResourceGroupName, id.ManagedClusterName, "aksManagedAutoUpgradeSchedule") configResp, _ = maintenanceConfigurationsClient.Get(ctx, maintenanceId) if configurationBody := configResp.Model; configurationBody != nil && configurationBody.Properties != nil && configurationBody.Properties.MaintenanceWindow != nil { - d.Set("maintenance_window_auto_upgrade", flattenKubernetesClusterMaintenanceConfiguration(configurationBody.Properties.MaintenanceWindow)) + maintenanceWindowAutoUpgrade = flattenKubernetesClusterMaintenanceConfiguration(configurationBody.Properties.MaintenanceWindow) } + d.Set("maintenance_window_auto_upgrade", maintenanceWindowAutoUpgrade) + var maintenanceWindowNodeOS interface{} maintenanceId = maintenanceconfigurations.NewMaintenanceConfigurationID(id.SubscriptionId, id.ResourceGroupName, id.ManagedClusterName, "aksManagedNodeOSUpgradeSchedule") configResp, _ = maintenanceConfigurationsClient.Get(ctx, maintenanceId) if configurationBody := configResp.Model; configurationBody != nil && configurationBody.Properties != nil && configurationBody.Properties.MaintenanceWindow != nil { - d.Set("maintenance_window_node_os", flattenKubernetesClusterMaintenanceConfiguration(configurationBody.Properties.MaintenanceWindow)) + maintenanceWindowNodeOS = flattenKubernetesClusterMaintenanceConfiguration(configurationBody.Properties.MaintenanceWindow) } + d.Set("maintenance_window_node_os", maintenanceWindowNodeOS) if err := tags.FlattenAndSet(d, model.Tags); err != nil { return fmt.Errorf("setting `tags`: %+v", err) @@ -3331,12 +3007,6 @@ func expandKubernetesClusterWindowsProfile(input []interface{}) *managedclusters } func expandKubernetesClusterAPIAccessProfile(d *pluginsdk.ResourceData) *managedclusters.ManagedClusterAPIServerAccessProfile { - apiServerAuthorizedIPRangesRaw := []interface{}{} - if !features.FourPointOhBeta() { - apiServerAuthorizedIPRangesRaw = d.Get("api_server_authorized_ip_ranges").(*pluginsdk.Set).List() - } - apiServerAuthorizedIPRanges := utils.ExpandStringSlice(apiServerAuthorizedIPRangesRaw) - enablePrivateCluster := false if v, ok := d.GetOk("private_cluster_enabled"); ok { enablePrivateCluster = v.(bool) @@ -3344,7 +3014,6 @@ func expandKubernetesClusterAPIAccessProfile(d *pluginsdk.ResourceData) *managed apiAccessProfile := &managedclusters.ManagedClusterAPIServerAccessProfile{ EnablePrivateCluster: &enablePrivateCluster, - AuthorizedIPRanges: apiServerAuthorizedIPRanges, EnablePrivateClusterPublicFQDN: utils.Bool(d.Get("private_cluster_public_fqdn_enabled").(bool)), DisableRunCommand: utils.Bool(!d.Get("run_command_enabled").(bool)), } @@ -3536,12 +3205,6 @@ func expandKubernetesClusterNetworkProfile(input []interface{}) (*managedcluster networkProfile.NetworkDataplane = pointer.To(managedclusters.NetworkDataplane(networkDataPlane)) } - if !features.FourPointOhBeta() { - if ebpfDataPlane := config["ebpf_data_plane"].(string); ebpfDataPlane != "" { - networkProfile.NetworkDataplane = pointer.To(managedclusters.NetworkDataplane(ebpfDataPlane)) - } - } - if networkPluginMode := config["network_plugin_mode"].(string); networkPluginMode != "" { networkProfile.NetworkPluginMode = pointer.To(managedclusters.NetworkPluginMode(networkPluginMode)) } @@ -3628,6 +3291,10 @@ func expandLoadBalancerProfile(d []interface{}) *managedclusters.ManagedClusterL profile.OutboundIPs = &managedclusters.ManagedClusterLoadBalancerProfileOutboundIPs{PublicIPs: outIps} } + if backendPoolType, ok := config["backend_pool_type"].(string); ok { + profile.BackendPoolType = pointer.To(managedclusters.BackendPoolType(backendPoolType)) + } + return profile } @@ -3710,7 +3377,7 @@ func resourceReferencesToIds(refs *[]managedclusters.ResourceReference) []string return nil } -func flattenKubernetesClusterNetworkProfile(profile *managedclusters.ContainerServiceNetworkProfile, raw []interface{}) []interface{} { +func flattenKubernetesClusterNetworkProfile(profile *managedclusters.ContainerServiceNetworkProfile) []interface{} { if profile == nil { return []interface{}{} } @@ -3720,16 +3387,6 @@ func flattenKubernetesClusterNetworkProfile(profile *managedclusters.ContainerSe dnsServiceIP = *profile.DnsServiceIP } - dockerBridgeCidr := "" - if !features.FourPointOhBeta() { - if len(raw) != 0 && raw[0] != nil { - config := raw[0].(map[string]interface{}) - if v, ok := config["docker_bridge_cidr"]; ok && v.(string) != "" { - dockerBridgeCidr = v.(string) - } - } - } - serviceCidr := "" if profile.ServiceCidr != nil { serviceCidr = *profile.ServiceCidr @@ -3799,6 +3456,10 @@ func flattenKubernetesClusterNetworkProfile(profile *managedclusters.ContainerSe } } + if v := lbp.BackendPoolType; v != nil { + lb["backend_pool_type"] = v + } + lb["effective_outbound_ips"] = resourceReferencesToIds(profile.LoadBalancerProfile.EffectiveOutboundIPs) lbProfiles = append(lbProfiles, lb) } @@ -3870,87 +3531,24 @@ func flattenKubernetesClusterNetworkProfile(profile *managedclusters.ContainerSe "outbound_type": outboundType, } - if !features.FourPointOhBeta() { - result["docker_bridge_cidr"] = dockerBridgeCidr - - ebpfDataPlane := "" - // 2023-02-02-preview returns the default value `azure` for this new property - // @stephybun: we should look into replacing `ebpf_data_plane` with a new property called `network_data_plane` - if v := profile.NetworkDataplane; v != nil && *v != managedclusters.NetworkDataplaneAzure { - ebpfDataPlane = string(*v) - } - result["ebpf_data_plane"] = ebpfDataPlane - } - return []interface{}{result} } -func expandKubernetesClusterAzureActiveDirectoryRoleBasedAccessControl(input []interface{}, providerTenantId string) (*managedclusters.ManagedClusterAADProfile, error) { +func expandKubernetesClusterAzureActiveDirectoryRoleBasedAccessControl(input []interface{}) *managedclusters.ManagedClusterAADProfile { if len(input) == 0 { - return nil, nil + return nil } azureAdRaw := input[0].(map[string]interface{}) - if features.FourPointOhBeta() { - adminGroupObjectIdsRaw := azureAdRaw["admin_group_object_ids"].([]interface{}) - adminGroupObjectIds := utils.ExpandStringSlice(adminGroupObjectIdsRaw) - return &managedclusters.ManagedClusterAADProfile{ - TenantID: pointer.To(azureAdRaw["tenant_id"].(string)), - Managed: pointer.To(true), - AdminGroupObjectIDs: adminGroupObjectIds, - EnableAzureRBAC: pointer.To(azureAdRaw["azure_rbac_enabled"].(bool)), - }, nil - } - - var aad *managedclusters.ManagedClusterAADProfile - clientAppId := azureAdRaw["client_app_id"].(string) - serverAppId := azureAdRaw["server_app_id"].(string) - serverAppSecret := azureAdRaw["server_app_secret"].(string) - tenantId := azureAdRaw["tenant_id"].(string) - managed := azureAdRaw["managed"].(bool) - azureRbacEnabled := azureAdRaw["azure_rbac_enabled"].(bool) adminGroupObjectIdsRaw := azureAdRaw["admin_group_object_ids"].([]interface{}) adminGroupObjectIds := utils.ExpandStringSlice(adminGroupObjectIdsRaw) - - if tenantId == "" { - tenantId = providerTenantId - } - - if managed { - aad = &managedclusters.ManagedClusterAADProfile{ - TenantID: utils.String(tenantId), - Managed: utils.Bool(managed), - AdminGroupObjectIDs: adminGroupObjectIds, - EnableAzureRBAC: utils.Bool(azureRbacEnabled), - } - - if clientAppId != "" || serverAppId != "" || serverAppSecret != "" { - return nil, fmt.Errorf("can't specify client_app_id or server_app_id or server_app_secret when using managed aad rbac (managed = true)") - } - } else { - aad = &managedclusters.ManagedClusterAADProfile{ - ClientAppID: utils.String(clientAppId), - ServerAppID: utils.String(serverAppId), - ServerAppSecret: utils.String(serverAppSecret), - TenantID: utils.String(tenantId), - Managed: utils.Bool(managed), - } - - if len(*adminGroupObjectIds) > 0 { - return nil, fmt.Errorf("can't specify admin_group_object_ids when using managed aad rbac (managed = false)") - } - - if clientAppId == "" || serverAppId == "" || serverAppSecret == "" { - return nil, fmt.Errorf("you must specify client_app_id and server_app_id and server_app_secret when using managed aad rbac (managed = false)") - } - - if azureRbacEnabled { - return nil, fmt.Errorf("you must enable Managed AAD before Azure RBAC can be enabled") - } + return &managedclusters.ManagedClusterAADProfile{ + TenantID: pointer.To(azureAdRaw["tenant_id"].(string)), + Managed: pointer.To(true), + AdminGroupObjectIDs: adminGroupObjectIds, + EnableAzureRBAC: pointer.To(azureAdRaw["azure_rbac_enabled"].(bool)), } - - return aad, nil } func expandKubernetesClusterManagedClusterIdentity(input []interface{}) (*identity.SystemOrUserAssignedMap, error) { @@ -3973,63 +3571,8 @@ func expandKubernetesClusterManagedClusterIdentity(input []interface{}) (*identi return &out, nil } -func flattenKubernetesClusterAzureActiveDirectoryRoleBasedAccessControl(input *managedclusters.ManagedClusterProperties, d *pluginsdk.ResourceData) []interface{} { +func flattenKubernetesClusterAzureActiveDirectoryRoleBasedAccessControl(input *managedclusters.ManagedClusterProperties) []interface{} { results := make([]interface{}, 0) - if !features.FourPointOhBeta() { - if profile := input.AadProfile; profile != nil { - adminGroupObjectIds := utils.FlattenStringSlice(profile.AdminGroupObjectIDs) - - clientAppId := "" - if profile.ClientAppID != nil { - clientAppId = *profile.ClientAppID - } - - managed := false - if profile.Managed != nil { - managed = *profile.Managed - } - - azureRbacEnabled := false - if profile.EnableAzureRBAC != nil { - azureRbacEnabled = *profile.EnableAzureRBAC - } - - serverAppId := "" - if profile.ServerAppID != nil { - serverAppId = *profile.ServerAppID - } - - serverAppSecret := "" - // since input.ServerAppSecret isn't returned we're pulling this out of the existing state (which won't work for Imports) - // azure_active_directory_role_based_access_control.0.server_app_secret - if existing, ok := d.GetOk("azure_active_directory_role_based_access_control"); ok { - aadRbacRaw := existing.([]interface{}) - if len(aadRbacRaw) > 0 { - aadRbac := aadRbacRaw[0].(map[string]interface{}) - if v := aadRbac["server_app_secret"]; v != nil { - serverAppSecret = v.(string) - } - } - } - - tenantId := "" - if profile.TenantID != nil { - tenantId = *profile.TenantID - } - - results = append(results, map[string]interface{}{ - "admin_group_object_ids": adminGroupObjectIds, - "client_app_id": clientAppId, - "managed": managed, - "server_app_id": serverAppId, - "server_app_secret": serverAppSecret, - "tenant_id": tenantId, - "azure_rbac_enabled": azureRbacEnabled, - }) - } - - return results - } if profile := input.AadProfile; profile != nil { adminGroupObjectIds := utils.FlattenStringSlice(profile.AdminGroupObjectIDs) @@ -4092,11 +3635,20 @@ func flattenKubernetesClusterAutoScalerProfile(profile *managedclusters.ManagedC balanceSimilarNodeGroups = strings.EqualFold(*profile.BalanceSimilarNodeGroups, "true") } + daemonsetEvictionForEmptyNodes := pointer.From(profile.DaemonsetEvictionForEmptyNodes) + + daemonsetEvictionForOccupiedNodes := true + if profile.DaemonsetEvictionForOccupiedNodes != nil { + daemonsetEvictionForOccupiedNodes = pointer.From(profile.DaemonsetEvictionForOccupiedNodes) + } + expander := "" if profile.Expander != nil { expander = string(*profile.Expander) } + ignoreDaemonsetsUtilization := pointer.From(profile.IgnoreDaemonsetsUtilization) + maxGracefulTerminationSec := "" if profile.MaxGracefulTerminationSec != nil { maxGracefulTerminationSec = *profile.MaxGracefulTerminationSec @@ -4182,23 +3734,26 @@ func flattenKubernetesClusterAutoScalerProfile(profile *managedclusters.ManagedC return []interface{}{ map[string]interface{}{ - "balance_similar_node_groups": balanceSimilarNodeGroups, - "expander": expander, - "max_graceful_termination_sec": maxGracefulTerminationSec, - "max_node_provisioning_time": maxNodeProvisionTime, - "max_unready_nodes": maxUnreadyNodes, - "max_unready_percentage": maxUnreadyPercentage, - "new_pod_scale_up_delay": newPodScaleUpDelay, - "scale_down_delay_after_add": scaleDownDelayAfterAdd, - "scale_down_delay_after_delete": scaleDownDelayAfterDelete, - "scale_down_delay_after_failure": scaleDownDelayAfterFailure, - "scale_down_unneeded": scaleDownUnneededTime, - "scale_down_unready": scaleDownUnreadyTime, - "scale_down_utilization_threshold": scaleDownUtilizationThreshold, - "empty_bulk_delete_max": emptyBulkDeleteMax, - "scan_interval": scanInterval, - "skip_nodes_with_local_storage": skipNodesWithLocalStorage, - "skip_nodes_with_system_pods": skipNodesWithSystemPods, + "balance_similar_node_groups": balanceSimilarNodeGroups, + "daemonset_eviction_for_empty_nodes_enabled": daemonsetEvictionForEmptyNodes, + "daemonset_eviction_for_occupied_nodes_enabled": daemonsetEvictionForOccupiedNodes, + "expander": expander, + "ignore_daemonsets_utilization_enabled": ignoreDaemonsetsUtilization, + "max_graceful_termination_sec": maxGracefulTerminationSec, + "max_node_provisioning_time": maxNodeProvisionTime, + "max_unready_nodes": maxUnreadyNodes, + "max_unready_percentage": maxUnreadyPercentage, + "new_pod_scale_up_delay": newPodScaleUpDelay, + "scale_down_delay_after_add": scaleDownDelayAfterAdd, + "scale_down_delay_after_delete": scaleDownDelayAfterDelete, + "scale_down_delay_after_failure": scaleDownDelayAfterFailure, + "scale_down_unneeded": scaleDownUnneededTime, + "scale_down_unready": scaleDownUnreadyTime, + "scale_down_utilization_threshold": scaleDownUtilizationThreshold, + "empty_bulk_delete_max": emptyBulkDeleteMax, + "scan_interval": scanInterval, + "skip_nodes_with_local_storage": skipNodesWithLocalStorage, + "skip_nodes_with_system_pods": skipNodesWithSystemPods, }, }, nil } @@ -4211,7 +3766,10 @@ func expandKubernetesClusterAutoScalerProfile(input []interface{}) *managedclust config := input[0].(map[string]interface{}) balanceSimilarNodeGroups := config["balance_similar_node_groups"].(bool) + daemonsetEvictionForEmptyNodes := config["daemonset_eviction_for_empty_nodes_enabled"].(bool) + daemonsetEvictionForOccupiedNodes := config["daemonset_eviction_for_occupied_nodes_enabled"].(bool) expander := config["expander"].(string) + ignoreDaemonsetsUtilization := config["ignore_daemonsets_utilization_enabled"].(bool) maxGracefulTerminationSec := config["max_graceful_termination_sec"].(string) maxNodeProvisionTime := config["max_node_provisioning_time"].(string) maxUnreadyNodes := fmt.Sprint(config["max_unready_nodes"].(int)) @@ -4229,23 +3787,26 @@ func expandKubernetesClusterAutoScalerProfile(input []interface{}) *managedclust skipNodesWithSystemPods := config["skip_nodes_with_system_pods"].(bool) return &managedclusters.ManagedClusterPropertiesAutoScalerProfile{ - BalanceSimilarNodeGroups: utils.String(strconv.FormatBool(balanceSimilarNodeGroups)), - Expander: pointer.To(managedclusters.Expander(expander)), - MaxGracefulTerminationSec: utils.String(maxGracefulTerminationSec), - MaxNodeProvisionTime: utils.String(maxNodeProvisionTime), - MaxTotalUnreadyPercentage: utils.String(maxUnreadyPercentage), - NewPodScaleUpDelay: utils.String(newPodScaleUpDelay), - OkTotalUnreadyCount: utils.String(maxUnreadyNodes), - ScaleDownDelayAfterAdd: utils.String(scaleDownDelayAfterAdd), - ScaleDownDelayAfterDelete: utils.String(scaleDownDelayAfterDelete), - ScaleDownDelayAfterFailure: utils.String(scaleDownDelayAfterFailure), - ScaleDownUnneededTime: utils.String(scaleDownUnneededTime), - ScaleDownUnreadyTime: utils.String(scaleDownUnreadyTime), - ScaleDownUtilizationThreshold: utils.String(scaleDownUtilizationThreshold), - MaxEmptyBulkDelete: utils.String(emptyBulkDeleteMax), - ScanInterval: utils.String(scanInterval), - SkipNodesWithLocalStorage: utils.String(strconv.FormatBool(skipNodesWithLocalStorage)), - SkipNodesWithSystemPods: utils.String(strconv.FormatBool(skipNodesWithSystemPods)), + BalanceSimilarNodeGroups: utils.String(strconv.FormatBool(balanceSimilarNodeGroups)), + DaemonsetEvictionForEmptyNodes: pointer.To(daemonsetEvictionForEmptyNodes), + DaemonsetEvictionForOccupiedNodes: pointer.To(daemonsetEvictionForOccupiedNodes), + Expander: pointer.To(managedclusters.Expander(expander)), + IgnoreDaemonsetsUtilization: pointer.To(ignoreDaemonsetsUtilization), + MaxGracefulTerminationSec: utils.String(maxGracefulTerminationSec), + MaxNodeProvisionTime: utils.String(maxNodeProvisionTime), + MaxTotalUnreadyPercentage: utils.String(maxUnreadyPercentage), + NewPodScaleUpDelay: utils.String(newPodScaleUpDelay), + OkTotalUnreadyCount: utils.String(maxUnreadyNodes), + ScaleDownDelayAfterAdd: utils.String(scaleDownDelayAfterAdd), + ScaleDownDelayAfterDelete: utils.String(scaleDownDelayAfterDelete), + ScaleDownDelayAfterFailure: utils.String(scaleDownDelayAfterFailure), + ScaleDownUnneededTime: utils.String(scaleDownUnneededTime), + ScaleDownUnreadyTime: utils.String(scaleDownUnreadyTime), + ScaleDownUtilizationThreshold: utils.String(scaleDownUtilizationThreshold), + MaxEmptyBulkDelete: utils.String(emptyBulkDeleteMax), + ScanInterval: utils.String(scanInterval), + SkipNodesWithLocalStorage: utils.String(strconv.FormatBool(skipNodesWithLocalStorage)), + SkipNodesWithSystemPods: utils.String(strconv.FormatBool(skipNodesWithSystemPods)), } } @@ -4820,10 +4381,8 @@ func expandKubernetesClusterServiceMeshProfile(input []interface{}, existing *ma profile.Istio.CertificateAuthority = certificateAuthority } - if features.FourPointOhBeta() { - if raw["revisions"] != nil { - profile.Istio.Revisions = utils.ExpandStringSlice(raw["revisions"].([]interface{})) - } + if raw["revisions"] != nil { + profile.Istio.Revisions = utils.ExpandStringSlice(raw["revisions"].([]interface{})) } } @@ -4866,12 +4425,6 @@ func expandKubernetesClusterIngressProfile(d *pluginsdk.ResourceData, input []in } if input[0] != nil { config := input[0].(map[string]interface{}) - if !features.FourPointOhBeta() { - dnsZoneResourceId := config["dns_zone_id"].(string) - if dnsZoneResourceId != "" { - out.WebAppRouting.DnsZoneResourceIds = pointer.To([]string{dnsZoneResourceId}) - } - } if v := config["dns_zone_ids"]; v != nil { if dnsZoneResourceIds, ok := v.([]interface{}); ok && len(dnsZoneResourceIds) > 0 { out.WebAppRouting.DnsZoneResourceIds = utils.ExpandStringSlice(dnsZoneResourceIds) @@ -4881,26 +4434,13 @@ func expandKubernetesClusterIngressProfile(d *pluginsdk.ResourceData, input []in return &out } -func flattenKubernetesClusterIngressProfile(input *managedclusters.ManagedClusterIngressProfile, old []interface{}) []interface{} { +func flattenKubernetesClusterIngressProfile(input *managedclusters.ManagedClusterIngressProfile) []interface{} { if input == nil || input.WebAppRouting == nil || (input.WebAppRouting.Enabled != nil && !*input.WebAppRouting.Enabled) { return []interface{}{} } out := map[string]interface{}{} - useDnsZoneId := false - if !features.FourPointOhBeta() { - if len(old) > 0 && old[0] != nil { - oldConfig := old[0].(map[string]interface{}) - useDnsZoneId = oldConfig["dns_zone_id"].(string) != "" - } - } - if useDnsZoneId { - if v := input.WebAppRouting.DnsZoneResourceIds; v != nil && len(*v) != 0 { - out["dns_zone_id"] = (*v)[0] - } - } else { - out["dns_zone_ids"] = utils.FlattenStringSlice(input.WebAppRouting.DnsZoneResourceIds) - } + out["dns_zone_ids"] = utils.FlattenStringSlice(input.WebAppRouting.DnsZoneResourceIds) webAppRoutingIdentity := []interface{}{} @@ -4972,10 +4512,8 @@ func flattenKubernetesClusterAzureServiceMeshProfile(input *managedclusters.Serv returnMap["certificate_authority"] = flattenKubernetesClusterServiceMeshProfileCertificateAuthority(input.Istio.CertificateAuthority) } - if features.FourPointOhBeta() { - if input.Istio.Revisions != nil { - returnMap["revisions"] = utils.FlattenStringSlice(input.Istio.Revisions) - } + if input.Istio.Revisions != nil { + returnMap["revisions"] = utils.FlattenStringSlice(input.Istio.Revisions) } return []interface{}{returnMap} diff --git a/internal/services/containers/kubernetes_cluster_resource_test.go b/internal/services/containers/kubernetes_cluster_resource_test.go index 123957b70143..3da027809966 100644 --- a/internal/services/containers/kubernetes_cluster_resource_test.go +++ b/internal/services/containers/kubernetes_cluster_resource_test.go @@ -15,7 +15,6 @@ import ( "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" - "github.com/hashicorp/terraform-provider-azurerm/internal/features" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk" "github.com/hashicorp/terraform-provider-azurerm/utils" ) @@ -851,47 +850,6 @@ resource "azurerm_kubernetes_cluster" "test" { } func (KubernetesClusterResource) storageProfile(data acceptance.TestData, controlPlaneVersion string) string { - if !features.FourPointOhBeta() { - return fmt.Sprintf(` -provider "azurerm" { - features {} -} - -resource "azurerm_resource_group" "test" { - name = "acctestRG-aks-%d" - location = "%s" -} - -resource "azurerm_kubernetes_cluster" "test" { - name = "acctestaks%d" - location = azurerm_resource_group.test.location - resource_group_name = azurerm_resource_group.test.name - dns_prefix = "acctestaks%d" - kubernetes_version = %q - - default_node_pool { - name = "default" - node_count = 1 - vm_size = "Standard_DS2_v2" - upgrade_settings { - max_surge = "10%%" - } - } - - identity { - type = "SystemAssigned" - } - - storage_profile { - blob_driver_enabled = true - disk_driver_enabled = true - disk_driver_version = "v1" - file_driver_enabled = false - snapshot_controller_enabled = false - } -} - `, data.RandomInteger, data.Locations.Primary, data.RandomInteger, data.RandomInteger, controlPlaneVersion) - } return fmt.Sprintf(` provider "azurerm" { features {} diff --git a/internal/services/containers/kubernetes_cluster_scaling_resource_test.go b/internal/services/containers/kubernetes_cluster_scaling_resource_test.go index b71006154fd0..cc1428357b88 100644 --- a/internal/services/containers/kubernetes_cluster_scaling_resource_test.go +++ b/internal/services/containers/kubernetes_cluster_scaling_resource_test.go @@ -1137,23 +1137,26 @@ resource "azurerm_kubernetes_cluster" "test" { } auto_scaler_profile { - balance_similar_node_groups = true - expander = "least-waste" - max_graceful_termination_sec = 15 - max_node_provisioning_time = "10m" - max_unready_nodes = 5 - max_unready_percentage = 50 - new_pod_scale_up_delay = "10s" - scan_interval = "10s" - scale_down_delay_after_add = "10m" - scale_down_delay_after_delete = "10s" - scale_down_delay_after_failure = "15m" - scale_down_unneeded = "15m" - scale_down_unready = "15m" - scale_down_utilization_threshold = "0.5" - empty_bulk_delete_max = "50" - skip_nodes_with_local_storage = false - skip_nodes_with_system_pods = false + balance_similar_node_groups = true + daemonset_eviction_for_empty_nodes_enabled = true + daemonset_eviction_for_occupied_nodes_enabled = false + expander = "least-waste" + ignore_daemonsets_utilization_enabled = true + max_graceful_termination_sec = 15 + max_node_provisioning_time = "10m" + max_unready_nodes = 5 + max_unready_percentage = 50 + new_pod_scale_up_delay = "10s" + scan_interval = "10s" + scale_down_delay_after_add = "10m" + scale_down_delay_after_delete = "10s" + scale_down_delay_after_failure = "15m" + scale_down_unneeded = "15m" + scale_down_unready = "15m" + scale_down_utilization_threshold = "0.5" + empty_bulk_delete_max = "50" + skip_nodes_with_local_storage = false + skip_nodes_with_system_pods = false } identity { diff --git a/internal/services/containers/kubernetes_nodepool.go b/internal/services/containers/kubernetes_nodepool.go index beee8363b934..d8747c83769b 100644 --- a/internal/services/containers/kubernetes_nodepool.go +++ b/internal/services/containers/kubernetes_nodepool.go @@ -22,7 +22,6 @@ import ( "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-09-01/applicationsecuritygroups" "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipprefixes" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/hashicorp/terraform-provider-azurerm/internal/features" computeValidate "github.com/hashicorp/terraform-provider-azurerm/internal/services/compute/validate" "github.com/hashicorp/terraform-provider-azurerm/internal/services/containers/validate" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk" @@ -1136,14 +1135,6 @@ func ExpandDefaultNodePool(d *pluginsdk.ResourceData) (*[]managedclusters.Manage nodeLabelsRaw := raw["node_labels"].(map[string]interface{}) nodeLabels := expandNodeLabels(nodeLabelsRaw) var nodeTaints *[]string - if !features.FourPointOhBeta() { - nodeTaintsRaw := raw["node_taints"].([]interface{}) - nodeTaints = utils.ExpandStringSlice(nodeTaintsRaw) - } - - if !features.FourPointOhBeta() && len(*nodeTaints) != 0 { - return nil, fmt.Errorf("The AKS API has removed support for tainting all nodes in the default node pool and it is no longer possible to configure this. To taint a node pool, create a separate one.") - } criticalAddonsEnabled := raw["only_critical_addons_enabled"].(bool) if criticalAddonsEnabled { diff --git a/internal/services/cosmos/client/client.go b/internal/services/cosmos/client/client.go index 3e33b79d0933..0c942f7eb9d0 100644 --- a/internal/services/cosmos/client/client.go +++ b/internal/services/cosmos/client/client.go @@ -10,7 +10,7 @@ import ( "github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2022-05-15/sqldedicatedgateway" "github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2022-11-15/mongorbacs" "github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2023-04-15/managedcassandras" - "github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb" + "github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb" "github.com/hashicorp/go-azure-sdk/resource-manager/postgresqlhsc/2022-11-08/clusters" "github.com/hashicorp/go-azure-sdk/resource-manager/postgresqlhsc/2022-11-08/configurations" "github.com/hashicorp/go-azure-sdk/resource-manager/postgresqlhsc/2022-11-08/firewallrules" diff --git a/internal/services/cosmos/common/autoscale_settings.go b/internal/services/cosmos/common/autoscale_settings.go index a93c4b7a6e36..d2aea29ae611 100644 --- a/internal/services/cosmos/common/autoscale_settings.go +++ b/internal/services/cosmos/common/autoscale_settings.go @@ -7,7 +7,7 @@ import ( "log" "github.com/Azure/azure-sdk-for-go/services/cosmos-db/mgmt/2021-10-15/documentdb" // nolint: staticcheck - "github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb" + "github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk" "github.com/hashicorp/terraform-provider-azurerm/utils" ) diff --git a/internal/services/cosmos/common/conflict_resolution_policy.go b/internal/services/cosmos/common/conflict_resolution_policy.go index 39d69c2d7295..c4de3a23eee9 100644 --- a/internal/services/cosmos/common/conflict_resolution_policy.go +++ b/internal/services/cosmos/common/conflict_resolution_policy.go @@ -4,7 +4,7 @@ package common import ( - "github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb" + "github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb" "github.com/hashicorp/terraform-provider-azurerm/utils" ) diff --git a/internal/services/cosmos/common/cors_rule.go b/internal/services/cosmos/common/cors_rule.go index 5aa522075de5..88fe45502c36 100644 --- a/internal/services/cosmos/common/cors_rule.go +++ b/internal/services/cosmos/common/cors_rule.go @@ -7,7 +7,7 @@ import ( "strings" "github.com/hashicorp/go-azure-helpers/lang/pointer" - "github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb" + "github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/validation" "github.com/hashicorp/terraform-provider-azurerm/utils" diff --git a/internal/services/cosmos/common/indexing_policy.go b/internal/services/cosmos/common/indexing_policy.go index b8fcccbc9591..a634b23cb47b 100644 --- a/internal/services/cosmos/common/indexing_policy.go +++ b/internal/services/cosmos/common/indexing_policy.go @@ -7,7 +7,7 @@ import ( "fmt" "strings" - "github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb" + "github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk" "github.com/hashicorp/terraform-provider-azurerm/utils" ) diff --git a/internal/services/cosmos/common/indexing_policy_test.go b/internal/services/cosmos/common/indexing_policy_test.go index 432559390762..08704c1b5ec1 100644 --- a/internal/services/cosmos/common/indexing_policy_test.go +++ b/internal/services/cosmos/common/indexing_policy_test.go @@ -7,7 +7,7 @@ import ( "testing" "github.com/hashicorp/go-azure-helpers/lang/pointer" - "github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb" + "github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb" "github.com/hashicorp/terraform-provider-azurerm/utils" ) diff --git a/internal/services/cosmos/common/ip_rules.go b/internal/services/cosmos/common/ip_rules.go index 540e436c3541..d63a51f254ee 100644 --- a/internal/services/cosmos/common/ip_rules.go +++ b/internal/services/cosmos/common/ip_rules.go @@ -6,7 +6,7 @@ package common import ( "strings" - "github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb" + "github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb" "github.com/hashicorp/terraform-provider-azurerm/utils" ) diff --git a/internal/services/cosmos/common/ip_rules_test.go b/internal/services/cosmos/common/ip_rules_test.go index f324bf8199d1..ec40f9d8c1b0 100644 --- a/internal/services/cosmos/common/ip_rules_test.go +++ b/internal/services/cosmos/common/ip_rules_test.go @@ -7,7 +7,7 @@ import ( "reflect" "testing" - "github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb" + "github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb" ) var ( diff --git a/internal/services/cosmos/common/throughput.go b/internal/services/cosmos/common/throughput.go index 1ceff8b5ba4e..cf8bc51de0b0 100644 --- a/internal/services/cosmos/common/throughput.go +++ b/internal/services/cosmos/common/throughput.go @@ -7,7 +7,7 @@ import ( "fmt" "github.com/Azure/azure-sdk-for-go/services/cosmos-db/mgmt/2021-10-15/documentdb" // nolint: staticcheck - "github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb" + "github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk" "github.com/hashicorp/terraform-provider-azurerm/utils" ) diff --git a/internal/services/cosmos/cosmosdb_account_data_source.go b/internal/services/cosmos/cosmosdb_account_data_source.go index d6078ec64a10..edeb8c7cca6d 100644 --- a/internal/services/cosmos/cosmosdb_account_data_source.go +++ b/internal/services/cosmos/cosmosdb_account_data_source.go @@ -14,7 +14,7 @@ import ( "github.com/hashicorp/go-azure-helpers/resourcemanager/commonschema" "github.com/hashicorp/go-azure-helpers/resourcemanager/location" "github.com/hashicorp/go-azure-helpers/resourcemanager/tags" - "github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb" + "github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" "github.com/hashicorp/terraform-provider-azurerm/internal/services/cosmos/common" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk" diff --git a/internal/services/cosmos/cosmosdb_account_data_source_test.go b/internal/services/cosmos/cosmosdb_account_data_source_test.go index 88b271799564..ca85b1ac4855 100644 --- a/internal/services/cosmos/cosmosdb_account_data_source_test.go +++ b/internal/services/cosmos/cosmosdb_account_data_source_test.go @@ -7,7 +7,7 @@ import ( "fmt" "testing" - "github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb" + "github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" ) diff --git a/internal/services/cosmos/cosmosdb_account_resource.go b/internal/services/cosmos/cosmosdb_account_resource.go index 718ee3fd644d..faa92326f1e6 100644 --- a/internal/services/cosmos/cosmosdb_account_resource.go +++ b/internal/services/cosmos/cosmosdb_account_resource.go @@ -20,18 +20,19 @@ import ( "github.com/hashicorp/go-azure-helpers/resourcemanager/identity" "github.com/hashicorp/go-azure-helpers/resourcemanager/location" "github.com/hashicorp/go-azure-helpers/resourcemanager/tags" - "github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb" + "github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "github.com/hashicorp/terraform-provider-azurerm/helpers/azure" "github.com/hashicorp/terraform-provider-azurerm/helpers/tf" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" + "github.com/hashicorp/terraform-provider-azurerm/internal/customermanagedkeys" "github.com/hashicorp/terraform-provider-azurerm/internal/services/cosmos/common" "github.com/hashicorp/terraform-provider-azurerm/internal/services/cosmos/migration" "github.com/hashicorp/terraform-provider-azurerm/internal/services/cosmos/parse" "github.com/hashicorp/terraform-provider-azurerm/internal/services/cosmos/validate" - keyVaultParse "github.com/hashicorp/terraform-provider-azurerm/internal/services/keyvault/parse" keyVaultSuppress "github.com/hashicorp/terraform-provider-azurerm/internal/services/keyvault/suppress" keyVaultValidate "github.com/hashicorp/terraform-provider-azurerm/internal/services/keyvault/validate" + managedHsmValidate "github.com/hashicorp/terraform-provider-azurerm/internal/services/managedhsm/validate" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/validation" "github.com/hashicorp/terraform-provider-azurerm/internal/timeouts" @@ -336,6 +337,15 @@ func resourceCosmosDbAccount() *pluginsdk.Resource { ForceNew: true, DiffSuppressFunc: keyVaultSuppress.DiffSuppressIgnoreKeyVaultKeyVersion, ValidateFunc: keyVaultValidate.VersionlessNestedItemId, + ConflictsWith: []string{"managed_hsm_key_id"}, + }, + + "managed_hsm_key_id": { + Type: pluginsdk.TypeString, + Optional: true, + ForceNew: true, + ValidateFunc: managedHsmValidate.ManagedHSMDataPlaneVersionlessKeyID, + ConflictsWith: []string{"key_vault_key_id"}, }, "consistency_policy": { @@ -478,15 +488,10 @@ func resourceCosmosDbAccount() *pluginsdk.Resource { }, "mongo_server_version": { - Type: pluginsdk.TypeString, - Optional: true, - Computed: true, - ValidateFunc: validation.StringInSlice([]string{ - string(cosmosdb.ServerVersionThreePointTwo), - string(cosmosdb.ServerVersionThreePointSix), - string(cosmosdb.ServerVersionFourPointZero), - string(cosmosdb.ServerVersionFourPointTwo), - }, false), + Type: pluginsdk.TypeString, + Optional: true, + Computed: true, + ValidateFunc: validation.StringInSlice(cosmosdb.PossibleValuesForServerVersion(), false), }, "multiple_write_locations_enabled": { @@ -764,7 +769,8 @@ func resourceCosmosDbAccount() *pluginsdk.Resource { func resourceCosmosDbAccountCreate(d *pluginsdk.ResourceData, meta interface{}) error { client := meta.(*clients.Client).Cosmos.CosmosDBClient databaseClient := meta.(*clients.Client).Cosmos.DatabaseClient - subscriptionId := meta.(*clients.Client).Account.SubscriptionId + accountClient := meta.(*clients.Client).Account + subscriptionId := accountClient.SubscriptionId ctx, cancel := timeouts.ForCreate(meta.(*clients.Client).StopContext, d) defer cancel() log.Printf("[INFO] Preparing arguments for AzureRM Cosmos DB Account creation") @@ -902,12 +908,10 @@ func resourceCosmosDbAccountCreate(d *pluginsdk.ResourceData, meta interface{}) return fmt.Errorf("`create_mode` only works when `backup.type` is `Continuous`") } - if keyVaultKeyIDRaw, ok := d.GetOk("key_vault_key_id"); ok { - keyVaultKey, err := keyVaultParse.ParseOptionallyVersionedNestedItemID(keyVaultKeyIDRaw.(string)) - if err != nil { - return fmt.Errorf("could not parse Key Vault Key ID: %+v", err) - } - account.Properties.KeyVaultKeyUri = pointer.To(keyVaultKey.ID()) + if key, err := customermanagedkeys.ExpandKeyVaultOrManagedHSMKey(d, customermanagedkeys.VersionTypeAny, accountClient.Environment.KeyVault, accountClient.Environment.ManagedHSM); err != nil { + return fmt.Errorf("parse key vault key id: %+v", err) + } else if key != nil { + account.Properties.KeyVaultKeyUri = pointer.To(key.ID()) } // additional validation on MaxStalenessPrefix as it varies depending on if the DB is multi region or not @@ -942,6 +946,7 @@ func resourceCosmosDbAccountCreate(d *pluginsdk.ResourceData, meta interface{}) func resourceCosmosDbAccountUpdate(d *pluginsdk.ResourceData, meta interface{}) error { client := meta.(*clients.Client).Cosmos.CosmosDBClient + apiEnvs := meta.(*clients.Client).Account.Environment // subscriptionId := meta.(*clients.Client).Account.SubscriptionId ctx, cancel := timeouts.ForUpdate(meta.(*clients.Client).StopContext, d) defer cancel() @@ -1049,7 +1054,7 @@ func resourceCosmosDbAccountUpdate(d *pluginsdk.ResourceData, meta interface{}) // TODO Post 4.0 remove `enable_automatic_failover` from this list if d.HasChanges("consistency_policy", "virtual_network_rule", "cors_rule", "access_key_metadata_writes_enabled", "network_acl_bypass_for_azure_services", "network_acl_bypass_ids", "analytical_storage", - "capacity", "create_mode", "restore", "key_vault_key_id", "mongo_server_version", + "capacity", "create_mode", "restore", "key_vault_key_id", "managed_hsm_key_id", "mongo_server_version", "public_network_access_enabled", "ip_range_filter", "offer_type", "is_virtual_network_filter_enabled", "kind", "tags", "enable_automatic_failover", "automatic_failover_enabled", "analytical_storage_enabled", "local_authentication_disabled", "partition_merge_enabled", "minimal_tls_version", "burst_capacity_enabled") { @@ -1106,12 +1111,10 @@ func resourceCosmosDbAccountUpdate(d *pluginsdk.ResourceData, meta interface{}) Tags: t, } - if keyVaultKeyIDRaw, ok := d.GetOk("key_vault_key_id"); ok { - keyVaultKey, err := keyVaultParse.ParseOptionallyVersionedNestedItemID(keyVaultKeyIDRaw.(string)) - if err != nil { - return fmt.Errorf("could not parse Key Vault Key ID: %+v", err) - } - account.Properties.KeyVaultKeyUri = pointer.To(keyVaultKey.ID()) + if key, err := customermanagedkeys.ExpandKeyVaultOrManagedHSMKey(d, customermanagedkeys.VersionTypeAny, apiEnvs.KeyVault, apiEnvs.ManagedHSM); err != nil { + return err + } else if key != nil { + account.Properties.KeyVaultKeyUri = pointer.To(key.ID()) } // 'default_identity_type' will always have a value since it now has a default value of "FirstPartyIdentity" per the API documentation. @@ -1390,16 +1393,25 @@ func resourceCosmosDbAccountRead(d *pluginsdk.ResourceData, meta interface{}) er d.Set("partition_merge_enabled", pointer.From(props.EnablePartitionMerge)) d.Set("burst_capacity_enabled", pointer.From(props.EnableBurstCapacity)) - if v := existing.Model.Properties.IsVirtualNetworkFilterEnabled; v != nil { + if v := props.IsVirtualNetworkFilterEnabled; v != nil { d.Set("is_virtual_network_filter_enabled", props.IsVirtualNetworkFilterEnabled) } - if v := existing.Model.Properties.EnableAutomaticFailover; v != nil { + if v := props.EnableAutomaticFailover; v != nil { d.Set("automatic_failover_enabled", props.EnableAutomaticFailover) } - if v := existing.Model.Properties.KeyVaultKeyUri; v != nil { - d.Set("key_vault_key_id", props.KeyVaultKeyUri) + if v := props.KeyVaultKeyUri; v != nil { + envs := meta.(*clients.Client).Account.Environment + if key, err := customermanagedkeys.FlattenKeyVaultOrManagedHSMID(*v, envs.ManagedHSM); err != nil { + return fmt.Errorf("flatten key vault uri: %+v", err) + } else if key.IsSet() { + if key.KeyVaultKeyId != nil { + d.Set("key_vault_key_id", key.KeyVaultKeyId.ID()) + } else { + d.Set("managed_hsm_key_id", key.ManagedHSMKeyID()) + } + } } if v := existing.Model.Properties.EnableMultipleWriteLocations; v != nil { diff --git a/internal/services/cosmos/cosmosdb_account_resource_test.go b/internal/services/cosmos/cosmosdb_account_resource_test.go index 34835ba66495..3f26cd7d2126 100644 --- a/internal/services/cosmos/cosmosdb_account_resource_test.go +++ b/internal/services/cosmos/cosmosdb_account_resource_test.go @@ -6,11 +6,13 @@ package cosmos_test import ( "context" "fmt" + "os" "regexp" "strconv" "testing" - "github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb" + "github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb" + "github.com/hashicorp/go-uuid" "github.com/hashicorp/terraform-provider-azurerm/helpers/azure" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" @@ -121,6 +123,26 @@ func TestAccCosmosDBAccount_keyVaultUri(t *testing.T) { }) } +func TestAccCosmosDBAccount_ManagedHSMUri(t *testing.T) { + if os.Getenv("ARM_TEST_HSM_KEY") == "" { + t.Skip("Skipping as ARM_TEST_HSM_KEY is not specified") + return + } + + data := acceptance.BuildTestData(t, "azurerm_cosmosdb_account", "test") + r := CosmosDBAccountResource{} + + data.ResourceTest(t, r, []acceptance.TestStep{ + { + Config: r.managedHSMKey(data), + Check: acceptance.ComposeAggregateTestCheckFunc( + checkAccCosmosDBAccount_basic(data, cosmosdb.DefaultConsistencyLevelStrong, 1), + ), + }, + data.ImportStep(), + }) +} + func TestAccCosmosDBAccount_customerManagedKeyWithIdentity(t *testing.T) { data := acceptance.BuildTestData(t, "azurerm_cosmosdb_account", "test") r := CosmosDBAccountResource{} @@ -1228,7 +1250,52 @@ func TestAccCosmosDBAccount_mongoVersion42(t *testing.T) { data.ResourceTest(t, r, []acceptance.TestStep{ { - Config: r.basicMongoDBVersion42(data, cosmosdb.DefaultConsistencyLevelSession), + Config: r.basicMongoDBVersion(data, cosmosdb.DefaultConsistencyLevelSession, "4.2"), + Check: acceptance.ComposeAggregateTestCheckFunc( + check.That(data.ResourceName).ExistsInAzure(r), + ), + }, + data.ImportStep(), + }) +} + +func TestAccCosmosDBAccount_mongoVersion50(t *testing.T) { + data := acceptance.BuildTestData(t, "azurerm_cosmosdb_account", "test") + r := CosmosDBAccountResource{} + + data.ResourceTest(t, r, []acceptance.TestStep{ + { + Config: r.basicMongoDBVersion(data, cosmosdb.DefaultConsistencyLevelStrong, "5.0"), + Check: acceptance.ComposeAggregateTestCheckFunc( + check.That(data.ResourceName).ExistsInAzure(r), + ), + }, + data.ImportStep(), + }) +} + +func TestAccCosmosDBAccount_mongoVersion60(t *testing.T) { + data := acceptance.BuildTestData(t, "azurerm_cosmosdb_account", "test") + r := CosmosDBAccountResource{} + + data.ResourceTest(t, r, []acceptance.TestStep{ + { + Config: r.basicMongoDBVersion(data, cosmosdb.DefaultConsistencyLevelSession, "6.0"), + Check: acceptance.ComposeAggregateTestCheckFunc( + check.That(data.ResourceName).ExistsInAzure(r), + ), + }, + data.ImportStep(), + }) +} + +func TestAccCosmosDBAccount_mongoVersion70(t *testing.T) { + data := acceptance.BuildTestData(t, "azurerm_cosmosdb_account", "test") + r := CosmosDBAccountResource{} + + data.ResourceTest(t, r, []acceptance.TestStep{ + { + Config: r.basicMongoDBVersion(data, cosmosdb.DefaultConsistencyLevelSession, "7.0"), Check: acceptance.ComposeAggregateTestCheckFunc( check.That(data.ResourceName).ExistsInAzure(r), ), @@ -3361,6 +3428,202 @@ resource "azurerm_cosmosdb_account" "test" { `, data.RandomInteger, data.Locations.Primary, data.RandomString, data.RandomString, data.RandomInteger, string(kind), string(consistency)) } +func (CosmosDBAccountResource) managedHSMKey(data acceptance.TestData) string { + // Purge Protection must be enabled to configure Managed HSM Key: https://learn.microsoft.com/en-us/azure/cosmos-db/how-to-setup-customer-managed-keys-mhsm#configure-your-azure-managed-hsm-key-vault + // hsmTemplate := customermanagedkeys.ManagedHSMKeyTempalte(data.RandomInteger, data.RandomString, enablePurgeProtection, []string{"data.azuread_service_principal.cosmosdb.id"}) + raName1, _ := uuid.GenerateUUID() + raName2, _ := uuid.GenerateUUID() + raName3, _ := uuid.GenerateUUID() + return fmt.Sprintf(` +provider "azurerm" { + features {} +} + +provider "azuread" {} + +data "azurerm_client_config" "current" {} + +resource "azurerm_resource_group" "test" { + name = "acctestRG-cosmos-%[1]d" + location = "%[2]s" +} + +resource "azurerm_user_assigned_identity" "test" { + resource_group_name = azurerm_resource_group.test.name + location = azurerm_resource_group.test.location + name = "acctest-user-example" +} + +data "azuread_service_principal" "cosmosdb" { + display_name = "Azure Cosmos DB" +} + +resource "azurerm_key_vault" "test" { + name = "acc%[1]d" + location = azurerm_resource_group.test.location + resource_group_name = azurerm_resource_group.test.name + tenant_id = data.azurerm_client_config.current.tenant_id + sku_name = "standard" + soft_delete_retention_days = 7 + access_policy { + tenant_id = data.azurerm_client_config.current.tenant_id + object_id = data.azurerm_client_config.current.object_id + certificate_permissions = [ + "Create", + "Delete", + "DeleteIssuers", + "Get", + "Purge", + "Update" + ] + } + tags = { + environment = "Production" + } +} + +resource "azurerm_key_vault_certificate" "cert" { + count = 3 + name = "acchsmcert${count.index}" + key_vault_id = azurerm_key_vault.test.id + certificate_policy { + issuer_parameters { + name = "Self" + } + key_properties { + exportable = true + key_size = 2048 + key_type = "RSA" + reuse_key = true + } + lifetime_action { + action { + action_type = "AutoRenew" + } + trigger { + days_before_expiry = 30 + } + } + secret_properties { + content_type = "application/x-pkcs12" + } + x509_certificate_properties { + extended_key_usage = [] + key_usage = [ + "cRLSign", + "dataEncipherment", + "digitalSignature", + "keyAgreement", + "keyCertSign", + "keyEncipherment", + ] + subject = "CN=hello-world" + validity_in_months = 12 + } + } +} + +resource "azurerm_key_vault_managed_hardware_security_module" "test" { + name = "kvHsm%[1]d" + resource_group_name = azurerm_resource_group.test.name + location = azurerm_resource_group.test.location + sku_name = "Standard_B1" + tenant_id = data.azurerm_client_config.current.tenant_id + admin_object_ids = [data.azurerm_client_config.current.object_id] + purge_protection_enabled = true + soft_delete_retention_days = 7 + + security_domain_key_vault_certificate_ids = [for cert in azurerm_key_vault_certificate.cert : cert.id] + security_domain_quorum = 3 +} + +data "azurerm_key_vault_managed_hardware_security_module_role_definition" "crypto-officer" { + name = "515eb02d-2335-4d2d-92f2-b1cbdf9c3778" + managed_hsm_id = azurerm_key_vault_managed_hardware_security_module.test.id +} + +data "azurerm_key_vault_managed_hardware_security_module_role_definition" "crypto-user" { + name = "21dbd100-6940-42c2-9190-5d6cb909625b" + managed_hsm_id = azurerm_key_vault_managed_hardware_security_module.test.id +} + +data "azurerm_key_vault_managed_hardware_security_module_role_definition" "encrypt-user" { + name = "33413926-3206-4cdd-b39a-83574fe37a17" + managed_hsm_id = azurerm_key_vault_managed_hardware_security_module.test.id +} + +resource "azurerm_key_vault_managed_hardware_security_module_role_assignment" "client1" { + managed_hsm_id = azurerm_key_vault_managed_hardware_security_module.test.id + name = "%[3]s" + scope = "/keys" + role_definition_id = data.azurerm_key_vault_managed_hardware_security_module_role_definition.crypto-officer.resource_manager_id + principal_id = data.azurerm_client_config.current.object_id +} + +resource "azurerm_key_vault_managed_hardware_security_module_role_assignment" "client2" { + managed_hsm_id = azurerm_key_vault_managed_hardware_security_module.test.id + name = "%[4]s" + scope = "/keys" + role_definition_id = data.azurerm_key_vault_managed_hardware_security_module_role_definition.crypto-user.resource_manager_id + principal_id = data.azurerm_client_config.current.object_id +} + +resource "azurerm_key_vault_managed_hardware_security_module_role_assignment" "racosmos" { + managed_hsm_id = azurerm_key_vault_managed_hardware_security_module.test.id + name = "%[5]s" + scope = "/keys" + role_definition_id = data.azurerm_key_vault_managed_hardware_security_module_role_definition.encrypt-user.resource_manager_id + principal_id = data.azuread_service_principal.cosmosdb.object_id + + depends_on = [azurerm_key_vault_managed_hardware_security_module_key.test] +} + +resource "azurerm_key_vault_managed_hardware_security_module_key" "test" { + name = "acctestHSMK-%[1]d" + managed_hsm_id = azurerm_key_vault_managed_hardware_security_module.test.id + key_type = "RSA-HSM" + key_size = 2048 + key_opts = ["unwrapKey", "wrapKey"] + + depends_on = [ + azurerm_key_vault_managed_hardware_security_module_role_assignment.client1, + azurerm_key_vault_managed_hardware_security_module_role_assignment.client2 + ] +} + +resource "azurerm_cosmosdb_account" "test" { + name = "acc-ca-%[1]d" + location = azurerm_resource_group.test.location + resource_group_name = azurerm_resource_group.test.name + offer_type = "Standard" + kind = "MongoDB" + managed_hsm_key_id = azurerm_key_vault_managed_hardware_security_module_key.test.id + + capabilities { + name = "EnableMongo" + } + + consistency_policy { + consistency_level = "Strong" + } + + geo_location { + location = azurerm_resource_group.test.location + failover_priority = 0 + } + + identity { + type = "UserAssigned" + identity_ids = [ + azurerm_user_assigned_identity.test.id + ] + } + + // depends_on = [azurerm_key_vault_managed_hardware_security_module_role_assignment.racosmos] +} +`, data.RandomInteger, data.Locations.Primary, raName1, raName2, raName3) +} + func (CosmosDBAccountResource) systemAssignedUserAssignedIdentity(data acceptance.TestData, consistency cosmosdb.DefaultConsistencyLevel) string { return fmt.Sprintf(` provider "azurerm" { @@ -3942,7 +4205,7 @@ resource "azurerm_cosmosdb_account" "test" { `, data.RandomInteger, data.Locations.Primary, data.RandomInteger, string(consistency)) } -func (CosmosDBAccountResource) basicMongoDBVersion42(data acceptance.TestData, consistency cosmosdb.DefaultConsistencyLevel) string { +func (CosmosDBAccountResource) basicMongoDBVersion(data acceptance.TestData, consistency cosmosdb.DefaultConsistencyLevel, version string) string { return fmt.Sprintf(` provider "azurerm" { features {} @@ -3959,7 +4222,7 @@ resource "azurerm_cosmosdb_account" "test" { resource_group_name = azurerm_resource_group.test.name offer_type = "Standard" kind = "MongoDB" - mongo_server_version = "4.2" + mongo_server_version = "%s" capabilities { name = "EnableMongo" @@ -3974,7 +4237,7 @@ resource "azurerm_cosmosdb_account" "test" { failover_priority = 0 } } -`, data.RandomInteger, data.Locations.Primary, data.RandomInteger, string(consistency)) +`, data.RandomInteger, data.Locations.Primary, data.RandomInteger, version, string(consistency)) } func (CosmosDBAccountResource) basicWithLocalAuthenticationDisabled(data acceptance.TestData, kind cosmosdb.DatabaseAccountKind, consistency cosmosdb.DefaultConsistencyLevel) string { diff --git a/internal/services/cosmos/cosmosdb_cassandra_keyspace_resource_test.go b/internal/services/cosmos/cosmosdb_cassandra_keyspace_resource_test.go index 0a31289ef60e..d4c7da95f58a 100644 --- a/internal/services/cosmos/cosmosdb_cassandra_keyspace_resource_test.go +++ b/internal/services/cosmos/cosmosdb_cassandra_keyspace_resource_test.go @@ -8,7 +8,7 @@ import ( "fmt" "testing" - "github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb" + "github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" diff --git a/internal/services/cosmos/cosmosdb_gremlin_database_resource.go b/internal/services/cosmos/cosmosdb_gremlin_database_resource.go index a9d236aa1252..0fd71fd842c3 100644 --- a/internal/services/cosmos/cosmosdb_gremlin_database_resource.go +++ b/internal/services/cosmos/cosmosdb_gremlin_database_resource.go @@ -10,7 +10,7 @@ import ( "github.com/hashicorp/go-azure-helpers/lang/response" "github.com/hashicorp/go-azure-helpers/resourcemanager/commonschema" - "github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb" + "github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb" "github.com/hashicorp/terraform-provider-azurerm/helpers/tf" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" "github.com/hashicorp/terraform-provider-azurerm/internal/services/cosmos/common" diff --git a/internal/services/cosmos/cosmosdb_gremlin_database_resource_test.go b/internal/services/cosmos/cosmosdb_gremlin_database_resource_test.go index 723745742845..bda8771b2f66 100644 --- a/internal/services/cosmos/cosmosdb_gremlin_database_resource_test.go +++ b/internal/services/cosmos/cosmosdb_gremlin_database_resource_test.go @@ -8,7 +8,7 @@ import ( "fmt" "testing" - "github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb" + "github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" diff --git a/internal/services/cosmos/cosmosdb_gremlin_graph_resource.go b/internal/services/cosmos/cosmosdb_gremlin_graph_resource.go index 3c9047ae2f3f..ad78f94d1aa0 100644 --- a/internal/services/cosmos/cosmosdb_gremlin_graph_resource.go +++ b/internal/services/cosmos/cosmosdb_gremlin_graph_resource.go @@ -12,7 +12,7 @@ import ( "github.com/hashicorp/go-azure-helpers/lang/response" "github.com/hashicorp/go-azure-helpers/resourcemanager/commonschema" - "github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb" + "github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb" "github.com/hashicorp/terraform-provider-azurerm/helpers/tf" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" "github.com/hashicorp/terraform-provider-azurerm/internal/services/cosmos/common" diff --git a/internal/services/cosmos/cosmosdb_gremlin_graph_resource_test.go b/internal/services/cosmos/cosmosdb_gremlin_graph_resource_test.go index 3ccedf2e2da3..93593215d41a 100644 --- a/internal/services/cosmos/cosmosdb_gremlin_graph_resource_test.go +++ b/internal/services/cosmos/cosmosdb_gremlin_graph_resource_test.go @@ -8,7 +8,7 @@ import ( "fmt" "testing" - "github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb" + "github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" diff --git a/internal/services/cosmos/cosmosdb_mongo_collection_resource_test.go b/internal/services/cosmos/cosmosdb_mongo_collection_resource_test.go index 3ca0016857ad..48ff14a02f63 100644 --- a/internal/services/cosmos/cosmosdb_mongo_collection_resource_test.go +++ b/internal/services/cosmos/cosmosdb_mongo_collection_resource_test.go @@ -8,7 +8,7 @@ import ( "fmt" "testing" - "github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb" + "github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" diff --git a/internal/services/cosmos/cosmosdb_mongo_database_resource_test.go b/internal/services/cosmos/cosmosdb_mongo_database_resource_test.go index 4237098fffd3..7d7068570d97 100644 --- a/internal/services/cosmos/cosmosdb_mongo_database_resource_test.go +++ b/internal/services/cosmos/cosmosdb_mongo_database_resource_test.go @@ -8,7 +8,7 @@ import ( "fmt" "testing" - "github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb" + "github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" diff --git a/internal/services/cosmos/cosmosdb_sql_container_resource.go b/internal/services/cosmos/cosmosdb_sql_container_resource.go index dcc96e2c059d..d0793ffe2014 100644 --- a/internal/services/cosmos/cosmosdb_sql_container_resource.go +++ b/internal/services/cosmos/cosmosdb_sql_container_resource.go @@ -12,7 +12,7 @@ import ( "github.com/hashicorp/go-azure-helpers/lang/pointer" "github.com/hashicorp/go-azure-helpers/lang/response" "github.com/hashicorp/go-azure-helpers/resourcemanager/commonschema" - "github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb" + "github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb" "github.com/hashicorp/terraform-provider-azurerm/helpers/tf" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" "github.com/hashicorp/terraform-provider-azurerm/internal/services/cosmos/common" @@ -98,7 +98,6 @@ func resourceCosmosDbSQLContainer() *pluginsdk.Resource { "partition_key_version": { Type: pluginsdk.TypeInt, Optional: true, - ForceNew: true, ValidateFunc: validation.IntBetween(1, 2), }, @@ -151,6 +150,11 @@ func resourceCosmosDbSQLContainer() *pluginsdk.Resource { pluginsdk.ForceNewIfChange("analytical_storage_ttl", func(ctx context.Context, old, new, _ interface{}) bool { return (old.(int) == -1 || old.(int) > 0) && new.(int) == 0 }), + + pluginsdk.ForceNewIfChange("partition_key_version", func(ctx context.Context, old, new, _ interface{}) bool { + // The behavior of the Azure API is that `partition_key_version` can be updated to `1` when it is not set at creation time, but it can not be updated to `2`. + return !(old.(int) == 0 && new.(int) == 1) + }), ), } diff --git a/internal/services/cosmos/cosmosdb_sql_container_resource_test.go b/internal/services/cosmos/cosmosdb_sql_container_resource_test.go index 575dfee49f39..619b6dcf8322 100644 --- a/internal/services/cosmos/cosmosdb_sql_container_resource_test.go +++ b/internal/services/cosmos/cosmosdb_sql_container_resource_test.go @@ -8,7 +8,7 @@ import ( "fmt" "testing" - "github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb" + "github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" @@ -388,11 +388,12 @@ func (CosmosSqlContainerResource) update(data acceptance.TestData) string { %[1]s resource "azurerm_cosmosdb_sql_container" "test" { - name = "acctest-CSQLC-%[2]d" - resource_group_name = azurerm_cosmosdb_account.test.resource_group_name - account_name = azurerm_cosmosdb_account.test.name - database_name = azurerm_cosmosdb_sql_database.test.name - partition_key_paths = ["/definition/id"] + name = "acctest-CSQLC-%[2]d" + resource_group_name = azurerm_cosmosdb_account.test.resource_group_name + account_name = azurerm_cosmosdb_account.test.name + database_name = azurerm_cosmosdb_sql_database.test.name + partition_key_paths = ["/definition/id"] + partition_key_version = 1 unique_key { paths = ["/definition/id1", "/definition/id2"] } diff --git a/internal/services/cosmos/cosmosdb_sql_database_resource_test.go b/internal/services/cosmos/cosmosdb_sql_database_resource_test.go index df1a9a0e6a1b..c204e6dce609 100644 --- a/internal/services/cosmos/cosmosdb_sql_database_resource_test.go +++ b/internal/services/cosmos/cosmosdb_sql_database_resource_test.go @@ -8,7 +8,7 @@ import ( "fmt" "testing" - "github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb" + "github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" diff --git a/internal/services/cosmos/cosmosdb_table_resource_test.go b/internal/services/cosmos/cosmosdb_table_resource_test.go index b79cfff3a8ef..dbeef7a21776 100644 --- a/internal/services/cosmos/cosmosdb_table_resource_test.go +++ b/internal/services/cosmos/cosmosdb_table_resource_test.go @@ -8,7 +8,7 @@ import ( "fmt" "testing" - "github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb" + "github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" diff --git a/internal/services/dashboard/client/client.go b/internal/services/dashboard/client/client.go index a9c543b2f015..e0e3715c8fdc 100644 --- a/internal/services/dashboard/client/client.go +++ b/internal/services/dashboard/client/client.go @@ -7,11 +7,13 @@ import ( "fmt" "github.com/hashicorp/go-azure-sdk/resource-manager/dashboard/2023-09-01/grafanaresource" + "github.com/hashicorp/go-azure-sdk/resource-manager/dashboard/2023-09-01/managedprivateendpoints" "github.com/hashicorp/terraform-provider-azurerm/internal/common" ) type Client struct { - GrafanaResourceClient *grafanaresource.GrafanaResourceClient + GrafanaResourceClient *grafanaresource.GrafanaResourceClient + ManagedPrivateEndpointsClient *managedprivateendpoints.ManagedPrivateEndpointsClient } func NewClient(o *common.ClientOptions) (*Client, error) { @@ -21,7 +23,14 @@ func NewClient(o *common.ClientOptions) (*Client, error) { } o.Configure(grafanaResourceClient.Client, o.Authorizers.ResourceManager) + managedPrivateEndpointsClient, err := managedprivateendpoints.NewManagedPrivateEndpointsClientWithBaseURI(o.Environment.ResourceManager) + if err != nil { + return nil, fmt.Errorf("building ManagedPrivateEndpoints client: %+v", err) + } + + o.Configure(managedPrivateEndpointsClient.Client, o.Authorizers.ResourceManager) return &Client{ - GrafanaResourceClient: grafanaResourceClient, + GrafanaResourceClient: grafanaResourceClient, + ManagedPrivateEndpointsClient: managedPrivateEndpointsClient, }, nil } diff --git a/internal/services/dashboard/dashboard_grafana_managed_private_endpoint_resource.go b/internal/services/dashboard/dashboard_grafana_managed_private_endpoint_resource.go new file mode 100644 index 000000000000..c6ed997ad23d --- /dev/null +++ b/internal/services/dashboard/dashboard_grafana_managed_private_endpoint_resource.go @@ -0,0 +1,260 @@ +package dashboard + +import ( + "context" + "fmt" + "regexp" + "time" + + "github.com/hashicorp/go-azure-helpers/lang/pointer" + "github.com/hashicorp/go-azure-helpers/lang/response" + "github.com/hashicorp/go-azure-helpers/resourcemanager/commonschema" + "github.com/hashicorp/go-azure-helpers/resourcemanager/location" + "github.com/hashicorp/go-azure-sdk/resource-manager/dashboard/2023-09-01/grafanaresource" + "github.com/hashicorp/go-azure-sdk/resource-manager/dashboard/2023-09-01/managedprivateendpoints" + "github.com/hashicorp/terraform-provider-azurerm/helpers/azure" + "github.com/hashicorp/terraform-provider-azurerm/internal/sdk" + "github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk" + "github.com/hashicorp/terraform-provider-azurerm/internal/tf/validation" +) + +type ManagedPrivateEndpointResource struct{} + +type ManagedPrivateEndpointModel struct { + Name string `tfschema:"name"` + Location string `tfschema:"location"` + GrafanaId string `tfschema:"grafana_id"` + PrivateLinkResourceId string `tfschema:"private_link_resource_id"` + PrivateLinkResourceRegion string `tfschema:"private_link_resource_region"` + Tags map[string]string `tfschema:"tags"` + GroupIds []string `tfschema:"group_ids"` + RequestMessage string `tfschema:"request_message"` +} + +type ManagedPrivateEndpointId struct { + SubscriptionId string + ResourceGroupName string + GrafanaName string + ManagedPrivateEndpointName string +} + +func (r ManagedPrivateEndpointResource) ModelObject() interface{} { + return &ManagedPrivateEndpointModel{} +} + +func (r ManagedPrivateEndpointResource) ResourceType() string { + return "azurerm_dashboard_grafana_managed_private_endpoint" +} + +func (r ManagedPrivateEndpointResource) IDValidationFunc() pluginsdk.SchemaValidateFunc { + return managedprivateendpoints.ValidateManagedPrivateEndpointID +} + +func (r ManagedPrivateEndpointResource) Arguments() map[string]*pluginsdk.Schema { + return map[string]*pluginsdk.Schema{ + "name": { + Type: pluginsdk.TypeString, + Required: true, + ForceNew: true, + ValidateFunc: validation.StringMatch( + regexp.MustCompile(`\A([a-zA-Z]{1}[a-zA-Z0-9\-]{1,19}[a-zA-Z0-9]{1})\z`), + `Name length can only consist of alphanumeric characters or dashes, and must be between 2 and 20 characters long. It must begin with a letter and end with a letter or digit.`, + ), + }, + + "location": commonschema.Location(), + + "tags": commonschema.Tags(), + + "grafana_id": { + Type: pluginsdk.TypeString, + Required: true, + ForceNew: true, + ValidateFunc: grafanaresource.ValidateGrafanaID, + }, + + "private_link_resource_id": { + Type: pluginsdk.TypeString, + Required: true, + ForceNew: true, + ValidateFunc: azure.ValidateResourceID, + }, + + "group_ids": { + Type: pluginsdk.TypeList, + Optional: true, + ForceNew: true, + Elem: &pluginsdk.Schema{ + Type: pluginsdk.TypeString, + }, + // no validation here because an empty group id is valid for a generic private link resource + }, + + "private_link_resource_region": { + Type: pluginsdk.TypeString, + Optional: true, + ForceNew: true, + ValidateFunc: validation.StringIsNotEmpty, + }, + + "request_message": { + Type: pluginsdk.TypeString, + Optional: true, + ValidateFunc: validation.StringIsNotEmpty, + }, + } +} + +func (r ManagedPrivateEndpointResource) Attributes() map[string]*pluginsdk.Schema { + return map[string]*pluginsdk.Schema{} +} + +func (r ManagedPrivateEndpointResource) Create() sdk.ResourceFunc { + return sdk.ResourceFunc{ + Timeout: 30 * time.Minute, + Func: func(ctx context.Context, metadata sdk.ResourceMetaData) error { + var model ManagedPrivateEndpointModel + if err := metadata.Decode(&model); err != nil { + return err + } + + client := metadata.Client.Dashboard.ManagedPrivateEndpointsClient + subscriptionId := metadata.Client.Account.SubscriptionId + grafanaId, err := grafanaresource.ParseGrafanaID(model.GrafanaId) + if err != nil { + return err + } + id := managedprivateendpoints.NewManagedPrivateEndpointID(subscriptionId, grafanaId.ResourceGroupName, grafanaId.GrafanaName, model.Name) + + existing, err := client.Get(ctx, id) + if err != nil && !response.WasNotFound(existing.HttpResponse) { + return fmt.Errorf("checking for presence of existing %s: %+v", id, err) + } + if !response.WasNotFound(existing.HttpResponse) { + return metadata.ResourceRequiresImport(r.ResourceType(), id) + } + + props := managedprivateendpoints.ManagedPrivateEndpointModel{ + Location: location.Normalize(model.Location), + Name: &model.Name, + Properties: &managedprivateendpoints.ManagedPrivateEndpointModelProperties{ + GroupIds: &model.GroupIds, + PrivateLinkResourceId: &model.PrivateLinkResourceId, + PrivateLinkResourceRegion: &model.PrivateLinkResourceRegion, + RequestMessage: &model.RequestMessage, + }, + Tags: &model.Tags, + } + + if err := client.CreateThenPoll(ctx, id, props); err != nil { + return fmt.Errorf("creating %s: %+v", id, err) + } + + metadata.SetID(id) + + return nil + }, + } +} + +func (r ManagedPrivateEndpointResource) Read() sdk.ResourceFunc { + return sdk.ResourceFunc{ + Timeout: 5 * time.Minute, + Func: func(ctx context.Context, metadata sdk.ResourceMetaData) error { + client := metadata.Client.Dashboard.ManagedPrivateEndpointsClient + id, err := managedprivateendpoints.ParseManagedPrivateEndpointID(metadata.ResourceData.Id()) + if err != nil { + return err + } + + resp, err := client.Get(ctx, *id) + if err != nil { + if response.WasNotFound(resp.HttpResponse) { + return metadata.MarkAsGone(id) + } + return fmt.Errorf("retrieving %s: %+v", *id, err) + } + + grafanaId := grafanaresource.NewGrafanaID(id.SubscriptionId, id.ResourceGroupName, id.GrafanaName) + state := ManagedPrivateEndpointModel{ + Name: id.ManagedPrivateEndpointName, + GrafanaId: grafanaId.ID(), + } + + if model := resp.Model; model != nil { + state.Location = location.Normalize(model.Location) + state.Tags = pointer.From(model.Tags) + + if props := model.Properties; props != nil { + state.GroupIds = pointer.From(props.GroupIds) + state.PrivateLinkResourceId = pointer.From(props.PrivateLinkResourceId) + state.PrivateLinkResourceRegion = pointer.From(props.PrivateLinkResourceRegion) + state.RequestMessage = pointer.From(props.RequestMessage) + } + } + + return metadata.Encode(&state) + }, + } +} + +func (r ManagedPrivateEndpointResource) Delete() sdk.ResourceFunc { + return sdk.ResourceFunc{ + Timeout: 5 * time.Minute, + Func: func(ctx context.Context, metadata sdk.ResourceMetaData) error { + client := metadata.Client.Dashboard.ManagedPrivateEndpointsClient + id, err := managedprivateendpoints.ParseManagedPrivateEndpointID(metadata.ResourceData.Id()) + if err != nil { + return err + } + + metadata.Logger.Infof("deleting %s", *id) + + if err := client.DeleteThenPoll(ctx, *id); err != nil { + return fmt.Errorf("deleting %s: %+v", *id, err) + } + + return nil + }, + } +} + +func (r ManagedPrivateEndpointResource) Update() sdk.ResourceFunc { + return sdk.ResourceFunc{ + Timeout: 30 * time.Minute, + Func: func(ctx context.Context, metadata sdk.ResourceMetaData) error { + client := metadata.Client.Dashboard.ManagedPrivateEndpointsClient + + id, err := managedprivateendpoints.ParseManagedPrivateEndpointID(metadata.ResourceData.Id()) + + if err != nil { + return err + } + + var mpe ManagedPrivateEndpointModel + if err := metadata.Decode(&mpe); err != nil { + return fmt.Errorf("decoding: %+v", err) + } + + resp, err := client.Get(ctx, *id) + if err != nil { + return fmt.Errorf("retrieving %s: %+v", *id, err) + } + + model := resp.Model + if resp.Model == nil { + return fmt.Errorf("retrieving %s: `model` was nil", id) + } + + if metadata.ResourceData.HasChange("tags") { + model.Tags = &mpe.Tags + } + + if err := client.CreateThenPoll(ctx, *id, *model); err != nil { + return fmt.Errorf("updating %s: %+v", *id, err) + } + + return nil + }, + } +} diff --git a/internal/services/dashboard/dashboard_grafana_managed_private_endpoint_resource_test.go b/internal/services/dashboard/dashboard_grafana_managed_private_endpoint_resource_test.go new file mode 100644 index 000000000000..92f4ae2b4290 --- /dev/null +++ b/internal/services/dashboard/dashboard_grafana_managed_private_endpoint_resource_test.go @@ -0,0 +1,194 @@ +// // Copyright (c) HashiCorp, Inc. +// // SPDX-License-Identifier: MPL-2.0 + +package dashboard_test + +import ( + "context" + "fmt" + "testing" + + "github.com/hashicorp/go-azure-helpers/lang/pointer" + "github.com/hashicorp/go-azure-sdk/resource-manager/dashboard/2023-09-01/managedprivateendpoints" + "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" + "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" + "github.com/hashicorp/terraform-provider-azurerm/internal/clients" + "github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk" +) + +type ManagedPrivateEndpointResource struct{} + +func TestAccDashboardGrafanaManagedPrivateEndpoint_basic(t *testing.T) { + data := acceptance.BuildTestData(t, "azurerm_dashboard_grafana_managed_private_endpoint", "test") + r := ManagedPrivateEndpointResource{} + data.ResourceSequentialTest(t, r, []acceptance.TestStep{ + { + Config: r.basic(data), + Check: acceptance.ComposeTestCheckFunc( + check.That(data.ResourceName).ExistsInAzure(r), + ), + }, + data.ImportStep(), + }) +} + +func TestAccDashboardGrafanaManagedPrivateEndpoint_requiresImport(t *testing.T) { + data := acceptance.BuildTestData(t, "azurerm_dashboard_grafana_managed_private_endpoint", "test") + r := ManagedPrivateEndpointResource{} + data.ResourceSequentialTest(t, r, []acceptance.TestStep{ + { + Config: r.basic(data), + Check: acceptance.ComposeTestCheckFunc( + check.That(data.ResourceName).ExistsInAzure(r), + ), + }, + data.RequiresImportErrorStep(r.requiresImport), + }) +} + +func TestAccDashboardGrafanaManagedPrivateEndpoint_complete(t *testing.T) { + data := acceptance.BuildTestData(t, "azurerm_dashboard_grafana_managed_private_endpoint", "test") + r := ManagedPrivateEndpointResource{} + data.ResourceSequentialTest(t, r, []acceptance.TestStep{ + { + Config: r.complete(data), + Check: acceptance.ComposeTestCheckFunc( + check.That(data.ResourceName).ExistsInAzure(r), + ), + }, + }) +} + +func TestAccDashboardGrafanaManagedPrivateEndpoint_update(t *testing.T) { + data := acceptance.BuildTestData(t, "azurerm_dashboard_grafana_managed_private_endpoint", "test") + r := ManagedPrivateEndpointResource{} + data.ResourceSequentialTest(t, r, []acceptance.TestStep{ + { + Config: r.complete(data), + Check: acceptance.ComposeTestCheckFunc( + check.That(data.ResourceName).ExistsInAzure(r), + ), + }, + { + Config: r.update(data), + Check: acceptance.ComposeTestCheckFunc( + check.That(data.ResourceName).ExistsInAzure(r), + ), + }, + }) +} + +func (r ManagedPrivateEndpointResource) Exists(ctx context.Context, clients *clients.Client, state *pluginsdk.InstanceState) (*bool, error) { + id, err := managedprivateendpoints.ParseManagedPrivateEndpointID(state.ID) + if err != nil { + return nil, err + } + + client := clients.Dashboard.ManagedPrivateEndpointsClient + resp, err := client.Get(ctx, *id) + if err != nil { + return nil, fmt.Errorf("retrieving %s: %+v", id, err) + } + return pointer.To(resp.Model != nil), nil +} + +func (r ManagedPrivateEndpointResource) template(data acceptance.TestData) string { + return fmt.Sprintf(` +provider "azurerm" { + features {} +} + +resource "azurerm_resource_group" "test" { + name = "acctest-rg-%d" + location = "%s" +} + +resource "azurerm_dashboard_grafana" "test" { + name = "a-dg-%d" + resource_group_name = azurerm_resource_group.test.name + location = azurerm_resource_group.test.location + grafana_major_version = "10" +} + +resource "azurerm_monitor_workspace" "test" { + name = "acctest-mw-%d" + resource_group_name = azurerm_resource_group.test.name + location = azurerm_resource_group.test.location +} +`, data.RandomInteger, data.Locations.Primary, data.RandomInteger, data.RandomInteger) +} + +func (r ManagedPrivateEndpointResource) basic(data acceptance.TestData) string { + template := r.template(data) + return fmt.Sprintf(` + %s + +resource "azurerm_dashboard_grafana_managed_private_endpoint" "test" { + grafana_id = azurerm_dashboard_grafana.test.id + name = "acctest-mpe-%d" + location = azurerm_dashboard_grafana.test.location + private_link_resource_id = azurerm_monitor_workspace.test.id + group_ids = ["prometheusMetrics"] + private_link_resource_region = azurerm_dashboard_grafana.test.location +} +`, template, data.RandomIntOfLength(8)) +} + +func (r ManagedPrivateEndpointResource) requiresImport(data acceptance.TestData) string { + config := r.basic(data) + return fmt.Sprintf(` + %s + +resource "azurerm_dashboard_grafana_managed_private_endpoint" "import" { + grafana_id = azurerm_dashboard_grafana_managed_private_endpoint.test.grafana_id + name = azurerm_dashboard_grafana_managed_private_endpoint.test.name + location = azurerm_dashboard_grafana_managed_private_endpoint.test.location + private_link_resource_id = azurerm_dashboard_grafana_managed_private_endpoint.test.private_link_resource_id +} +`, config) + +} + +func (r ManagedPrivateEndpointResource) complete(data acceptance.TestData) string { + template := r.template(data) + return fmt.Sprintf(` + %s + +resource "azurerm_dashboard_grafana_managed_private_endpoint" "test" { + grafana_id = azurerm_dashboard_grafana.test.id + name = "acctest-mpe-%d" + location = azurerm_dashboard_grafana.test.location + private_link_resource_id = azurerm_monitor_workspace.test.id + group_ids = ["prometheusMetrics"] + private_link_resource_region = azurerm_dashboard_grafana.test.location + + tags = { + key = "value" + } + + request_message = "please approve" +} +`, template, data.RandomIntOfLength(8)) +} + +func (r ManagedPrivateEndpointResource) update(data acceptance.TestData) string { + template := r.template(data) + return fmt.Sprintf(` + %s + +resource "azurerm_dashboard_grafana_managed_private_endpoint" "test" { + grafana_id = azurerm_dashboard_grafana.test.id + name = "acctest-mpe-%d" + location = azurerm_dashboard_grafana.test.location + private_link_resource_id = azurerm_monitor_workspace.test.id + group_ids = ["prometheusMetrics"] + private_link_resource_region = azurerm_dashboard_grafana.test.location + + tags = { + key2 = "value2" + } + + request_message = "please approve" +} +`, template, data.RandomIntOfLength(8)) +} diff --git a/internal/services/dashboard/registration.go b/internal/services/dashboard/registration.go index f492fbd99f94..a3ce796801e2 100644 --- a/internal/services/dashboard/registration.go +++ b/internal/services/dashboard/registration.go @@ -52,5 +52,6 @@ func (r Registration) DataSources() []sdk.DataSource { func (r Registration) Resources() []sdk.Resource { return []sdk.Resource{ DashboardGrafanaResource{}, + ManagedPrivateEndpointResource{}, } } diff --git a/internal/services/databricks/databricks_workspace_resource_test.go b/internal/services/databricks/databricks_workspace_resource_test.go index cb582236e6ab..afe1ef7f2965 100644 --- a/internal/services/databricks/databricks_workspace_resource_test.go +++ b/internal/services/databricks/databricks_workspace_resource_test.go @@ -245,13 +245,6 @@ func TestAccDatabricksWorkspace_updateSKU(t *testing.T) { ), }, data.ImportStep(), - { - Config: r.basic(data, "trial"), - Check: acceptance.ComposeTestCheckFunc( - check.That(data.ResourceName).ExistsInAzure(r), - ), - }, - data.ImportStep(), }) } diff --git a/internal/services/datafactory/data_factory_linked_service_azure_sql_database_resource.go b/internal/services/datafactory/data_factory_linked_service_azure_sql_database_resource.go index 2da06ecf58aa..d4b01bf60228 100644 --- a/internal/services/datafactory/data_factory_linked_service_azure_sql_database_resource.go +++ b/internal/services/datafactory/data_factory_linked_service_azure_sql_database_resource.go @@ -7,6 +7,7 @@ import ( "fmt" "time" + "github.com/hashicorp/go-azure-helpers/lang/pointer" "github.com/hashicorp/go-azure-sdk/resource-manager/datafactory/2018-06-01/factories" "github.com/hashicorp/terraform-provider-azurerm/helpers/tf" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" @@ -171,6 +172,12 @@ func resourceDataFactoryLinkedServiceAzureSQLDatabase() *pluginsdk.Resource { Type: pluginsdk.TypeString, }, }, + + "credential_name": { + Type: pluginsdk.TypeString, + Optional: true, + ValidateFunc: validation.StringIsNotEmpty, + }, }, } } @@ -259,6 +266,12 @@ func resourceDataFactoryLinkedServiceAzureSQLDatabaseCreateUpdate(d *pluginsdk.R azureSQLDatabaseLinkedService.Annotations = &annotations } + if credentialName := d.Get("credential_name").(string); credentialName != "" { + azureSQLDatabaseLinkedService.Credential = &datafactory.CredentialReference{ + ReferenceName: pointer.To(credentialName), + } + } + linkedService := datafactory.LinkedServiceResource{ Properties: azureSQLDatabaseLinkedService, } @@ -352,6 +365,10 @@ func resourceDataFactoryLinkedServiceAzureSQLDatabaseRead(d *pluginsdk.ResourceD } } + if credential := sql.Credential; credential != nil { + d.Set("credential_name", pointer.From(credential.ReferenceName)) + } + return nil } diff --git a/internal/services/datafactory/data_factory_linked_service_azure_sql_database_resource_test.go b/internal/services/datafactory/data_factory_linked_service_azure_sql_database_resource_test.go index 5bd1a5a6a6e9..73652133aecd 100644 --- a/internal/services/datafactory/data_factory_linked_service_azure_sql_database_resource_test.go +++ b/internal/services/datafactory/data_factory_linked_service_azure_sql_database_resource_test.go @@ -115,6 +115,22 @@ func TestAccDataFactoryLinkedServiceAzureSQLDatabase_ConnectionStringKeyVaultRef }) } +func TestAccDataFactoryLinkedServiceAzureSQLDatabase_Credential(t *testing.T) { + data := acceptance.BuildTestData(t, "azurerm_data_factory_linked_service_azure_sql_database", "test") + r := LinkedServiceAzureSQLDatabaseResource{} + + data.ResourceTest(t, r, []acceptance.TestStep{ + { + Config: r.credential(data), + Check: acceptance.ComposeTestCheckFunc( + check.That(data.ResourceName).ExistsInAzure(r), + check.That(data.ResourceName).Key("credential_name").HasValue(fmt.Sprintf("test%d", data.RandomInteger)), + ), + }, + data.ImportStep("connection_string"), + }) +} + func (t LinkedServiceAzureSQLDatabaseResource) Exists(ctx context.Context, clients *clients.Client, state *pluginsdk.InstanceState) (*bool, error) { id, err := parse.LinkedServiceID(state.ID) if err != nil { @@ -355,3 +371,48 @@ resource "azurerm_data_factory_linked_service_azure_sql_database" "test" { } `, data.RandomInteger, data.Locations.Primary, data.RandomInteger, data.RandomInteger, data.RandomInteger) } + +func (LinkedServiceAzureSQLDatabaseResource) credential(data acceptance.TestData) string { + return fmt.Sprintf(` +provider "azurerm" { + features {} +} + +resource "azurerm_resource_group" "test" { + name = "acctestRG-df-%d" + location = "%s" +} + +resource "azurerm_user_assigned_identity" "test" { + name = "test%d" + location = azurerm_resource_group.test.location + resource_group_name = azurerm_resource_group.test.name +} + +resource "azurerm_data_factory" "test" { + name = "acctestdf%d" + location = azurerm_resource_group.test.location + resource_group_name = azurerm_resource_group.test.name + + identity { + type = "SystemAssigned, UserAssigned" + identity_ids = [azurerm_user_assigned_identity.test.id] + } +} + +resource "azurerm_data_factory_credential_user_managed_identity" "test" { + name = azurerm_user_assigned_identity.test.name + description = "Test ADF SQL DB UMI" + data_factory_id = azurerm_data_factory.test.id + identity_id = azurerm_user_assigned_identity.test.id +} + +resource "azurerm_data_factory_linked_service_azure_sql_database" "test" { + name = "acctestlssql%d" + data_factory_id = azurerm_data_factory.test.id + connection_string = "data source=serverhostname;initial catalog=master;user id=testUser;Password=test;integrated security=False;encrypt=True;connection timeout=30" + + credential_name = azurerm_data_factory_credential_user_managed_identity.test.name +} +`, data.RandomInteger, data.Locations.Primary, data.RandomInteger, data.RandomInteger, data.RandomInteger) +} diff --git a/internal/services/datafactory/data_factory_resource_test.go b/internal/services/datafactory/data_factory_resource_test.go index 84ab88736cfc..aa5f7bf57ec7 100644 --- a/internal/services/datafactory/data_factory_resource_test.go +++ b/internal/services/datafactory/data_factory_resource_test.go @@ -750,7 +750,7 @@ resource "azurerm_resource_group" "test" { } resource "azurerm_data_factory" "test" { - name = "acctestdf%d" + name = "acctestDF%d" location = azurerm_resource_group.test.location resource_group_name = azurerm_resource_group.test.name diff --git a/internal/services/dataprotection/data_protection_backup_instance_mysql_flexible_server_resource.go b/internal/services/dataprotection/data_protection_backup_instance_mysql_flexible_server_resource.go new file mode 100644 index 000000000000..5773d3c592d7 --- /dev/null +++ b/internal/services/dataprotection/data_protection_backup_instance_mysql_flexible_server_resource.go @@ -0,0 +1,319 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + +package dataprotection + +import ( + "context" + "fmt" + "time" + + "github.com/hashicorp/go-azure-helpers/lang/pointer" + "github.com/hashicorp/go-azure-helpers/lang/response" + "github.com/hashicorp/go-azure-helpers/resourcemanager/commonschema" + "github.com/hashicorp/go-azure-helpers/resourcemanager/location" + "github.com/hashicorp/go-azure-sdk/resource-manager/dataprotection/2024-04-01/backupinstances" + "github.com/hashicorp/go-azure-sdk/resource-manager/dataprotection/2024-04-01/backuppolicies" + "github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servers" + "github.com/hashicorp/terraform-provider-azurerm/internal/sdk" + "github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk" + "github.com/hashicorp/terraform-provider-azurerm/internal/tf/validation" +) + +type BackupInstanceMySQLFlexibleServerModel struct { + Name string `tfschema:"name"` + Location string `tfschema:"location"` + VaultId string `tfschema:"vault_id"` + BackupPolicyId string `tfschema:"backup_policy_id"` + ServerId string `tfschema:"server_id"` +} + +type DataProtectionBackupInstanceMySQLFlexibleServerResource struct{} + +var _ sdk.Resource = DataProtectionBackupInstanceMySQLFlexibleServerResource{} + +func (r DataProtectionBackupInstanceMySQLFlexibleServerResource) ResourceType() string { + return "azurerm_data_protection_backup_instance_mysql_flexible_server" +} + +func (r DataProtectionBackupInstanceMySQLFlexibleServerResource) ModelObject() interface{} { + return &BackupInstanceMySQLFlexibleServerModel{} +} + +func (r DataProtectionBackupInstanceMySQLFlexibleServerResource) IDValidationFunc() pluginsdk.SchemaValidateFunc { + return backupinstances.ValidateBackupInstanceID +} + +func (r DataProtectionBackupInstanceMySQLFlexibleServerResource) Arguments() map[string]*pluginsdk.Schema { + return map[string]*pluginsdk.Schema{ + "name": { + Type: pluginsdk.TypeString, + Required: true, + ForceNew: true, + ValidateFunc: validation.StringIsNotEmpty, + }, + + "location": commonschema.Location(), + + "vault_id": commonschema.ResourceIDReferenceRequiredForceNew(&backuppolicies.BackupVaultId{}), + + "backup_policy_id": commonschema.ResourceIDReferenceRequired(&backuppolicies.BackupPolicyId{}), + + "server_id": commonschema.ResourceIDReferenceRequiredForceNew(&servers.FlexibleServerId{}), + } +} + +func (r DataProtectionBackupInstanceMySQLFlexibleServerResource) Attributes() map[string]*pluginsdk.Schema { + return map[string]*pluginsdk.Schema{} +} + +func (r DataProtectionBackupInstanceMySQLFlexibleServerResource) Create() sdk.ResourceFunc { + return sdk.ResourceFunc{ + Timeout: 60 * time.Minute, + Func: func(ctx context.Context, metadata sdk.ResourceMetaData) error { + var model BackupInstanceMySQLFlexibleServerModel + if err := metadata.Decode(&model); err != nil { + return fmt.Errorf("decoding: %+v", err) + } + + client := metadata.Client.DataProtection.BackupInstanceClient + + vaultId, err := backupinstances.ParseBackupVaultID(model.VaultId) + if err != nil { + return err + } + + id := backupinstances.NewBackupInstanceID(vaultId.SubscriptionId, vaultId.ResourceGroupName, vaultId.BackupVaultName, model.Name) + + existing, err := client.Get(ctx, id) + if err != nil { + if !response.WasNotFound(existing.HttpResponse) { + return fmt.Errorf("checking for existing %s: %+v", id, err) + } + } + + if !response.WasNotFound(existing.HttpResponse) { + return metadata.ResourceRequiresImport(r.ResourceType(), id) + } + + serverId, err := servers.ParseFlexibleServerID(model.ServerId) + if err != nil { + return err + } + + policyId, err := backuppolicies.ParseBackupPolicyID(model.BackupPolicyId) + if err != nil { + return err + } + + parameters := backupinstances.BackupInstanceResource{ + Properties: &backupinstances.BackupInstance{ + DataSourceInfo: backupinstances.Datasource{ + DatasourceType: pointer.To("Microsoft.DBforMySQL/flexibleServers"), + ObjectType: pointer.To("Datasource"), + ResourceID: serverId.ID(), + ResourceLocation: pointer.To(location.Normalize(model.Location)), + ResourceName: pointer.To(serverId.FlexibleServerName), + ResourceType: pointer.To("Microsoft.DBforMySQL/flexibleServers"), + ResourceUri: pointer.To(serverId.ID()), + }, + DataSourceSetInfo: &backupinstances.DatasourceSet{ + DatasourceType: pointer.To("Microsoft.DBforMySQL/flexibleServers"), + ObjectType: pointer.To("DatasourceSet"), + ResourceID: serverId.ID(), + ResourceLocation: pointer.To(location.Normalize(model.Location)), + ResourceName: pointer.To(serverId.FlexibleServerName), + ResourceType: pointer.To("Microsoft.DBforMySQL/flexibleServers"), + ResourceUri: pointer.To(serverId.ID()), + }, + FriendlyName: pointer.To(id.BackupInstanceName), + PolicyInfo: backupinstances.PolicyInfo{ + PolicyId: policyId.ID(), + }, + }, + } + + if err := client.CreateOrUpdateThenPoll(ctx, id, parameters, backupinstances.DefaultCreateOrUpdateOperationOptions()); err != nil { + return fmt.Errorf("creating %s: %+v", id, err) + } + + // Service will continue to configure the protection after the resource is created and `provisioningState` returns `Succeeded`. At this time, service doesn't allow to change the resource until it is configured completely + deadline, ok := ctx.Deadline() + if !ok { + return fmt.Errorf("internal-error: context had no deadline") + } + + stateConf := &pluginsdk.StateChangeConf{ + Delay: 5 * time.Second, + Pending: []string{string(backupinstances.CurrentProtectionStateConfiguringProtection)}, + Target: []string{string(backupinstances.CurrentProtectionStateProtectionConfigured)}, + Refresh: dataProtectionBackupInstanceMySQLFlexibleServerStateRefreshFunc(ctx, client, id), + PollInterval: 1 * time.Minute, + Timeout: time.Until(deadline), + } + + if _, err = stateConf.WaitForStateContext(ctx); err != nil { + return fmt.Errorf("waiting for %s to become available: %s", id, err) + } + + metadata.SetID(id) + return nil + }, + } +} + +func (r DataProtectionBackupInstanceMySQLFlexibleServerResource) Read() sdk.ResourceFunc { + return sdk.ResourceFunc{ + Timeout: 5 * time.Minute, + Func: func(ctx context.Context, metadata sdk.ResourceMetaData) error { + client := metadata.Client.DataProtection.BackupInstanceClient + + id, err := backupinstances.ParseBackupInstanceID(metadata.ResourceData.Id()) + if err != nil { + return err + } + + resp, err := client.Get(ctx, *id) + if err != nil { + if response.WasNotFound(resp.HttpResponse) { + return metadata.MarkAsGone(*id) + } + + return fmt.Errorf("retrieving %s: %+v", *id, err) + } + + vaultId := backupinstances.NewBackupVaultID(id.SubscriptionId, id.ResourceGroupName, id.BackupVaultName) + + state := BackupInstanceMySQLFlexibleServerModel{ + Name: id.BackupInstanceName, + VaultId: vaultId.ID(), + } + + if model := resp.Model; model != nil { + if props := model.Properties; props != nil { + state.Location = location.NormalizeNilable(props.DataSourceInfo.ResourceLocation) + + serverId, err := servers.ParseFlexibleServerIDInsensitively(props.DataSourceInfo.ResourceID) + if err != nil { + return err + } + state.ServerId = serverId.ID() + + backupPolicyId, err := backuppolicies.ParseBackupPolicyIDInsensitively(props.PolicyInfo.PolicyId) + if err != nil { + return err + } + state.BackupPolicyId = backupPolicyId.ID() + } + } + + return metadata.Encode(&state) + }, + } +} + +func (r DataProtectionBackupInstanceMySQLFlexibleServerResource) Update() sdk.ResourceFunc { + return sdk.ResourceFunc{ + Timeout: 60 * time.Minute, + Func: func(ctx context.Context, metadata sdk.ResourceMetaData) error { + client := metadata.Client.DataProtection.BackupInstanceClient + + id, err := backupinstances.ParseBackupInstanceID(metadata.ResourceData.Id()) + if err != nil { + return err + } + + var model BackupInstanceMySQLFlexibleServerModel + if err := metadata.Decode(&model); err != nil { + return fmt.Errorf("decoding: %+v", err) + } + + existing, err := client.Get(ctx, *id) + if err != nil { + if response.WasNotFound(existing.HttpResponse) { + return metadata.MarkAsGone(id) + } + + return fmt.Errorf("reading %s: %+v", *id, err) + } + if existing.Model == nil { + return fmt.Errorf("retrieving %s: `model` was nil", id) + } + + parameters := *existing.Model + + if metadata.ResourceData.HasChange("backup_policy_id") { + policyId, err := backuppolicies.ParseBackupPolicyID(model.BackupPolicyId) + if err != nil { + return err + } + parameters.Properties.PolicyInfo.PolicyId = policyId.ID() + } + + if err := client.CreateOrUpdateThenPoll(ctx, *id, parameters, backupinstances.DefaultCreateOrUpdateOperationOptions()); err != nil { + return fmt.Errorf("updating %s: %+v", id, err) + } + + // Service will update the protection after the resource is updated and `provisioningState` returns `Succeeded`. At this time, service doesn't allow to change the resource until it is updated completely + deadline, ok := ctx.Deadline() + if !ok { + return fmt.Errorf("internal-error: context had no deadline") + } + + stateConf := &pluginsdk.StateChangeConf{ + Delay: 5 * time.Second, + Pending: []string{string(backupinstances.CurrentProtectionStateUpdatingProtection)}, + Target: []string{string(backupinstances.CurrentProtectionStateProtectionConfigured)}, + Refresh: dataProtectionBackupInstanceMySQLFlexibleServerStateRefreshFunc(ctx, client, *id), + PollInterval: 1 * time.Minute, + Timeout: time.Until(deadline), + } + + if _, err = stateConf.WaitForStateContext(ctx); err != nil { + return fmt.Errorf("waiting for %s to become available: %s", id, err) + } + + return nil + }, + } +} + +func (r DataProtectionBackupInstanceMySQLFlexibleServerResource) Delete() sdk.ResourceFunc { + return sdk.ResourceFunc{ + Timeout: 60 * time.Minute, + Func: func(ctx context.Context, metadata sdk.ResourceMetaData) error { + client := metadata.Client.DataProtection.BackupInstanceClient + + id, err := backupinstances.ParseBackupInstanceID(metadata.ResourceData.Id()) + if err != nil { + return err + } + + err = client.DeleteThenPoll(ctx, *id, backupinstances.DefaultDeleteOperationOptions()) + if err != nil { + return fmt.Errorf("deleting %s: %+v", *id, err) + } + + return nil + }, + } +} + +func dataProtectionBackupInstanceMySQLFlexibleServerStateRefreshFunc(ctx context.Context, client *backupinstances.BackupInstancesClient, id backupinstances.BackupInstanceId) pluginsdk.StateRefreshFunc { + return func() (interface{}, string, error) { + resp, err := client.Get(ctx, id) + if err != nil { + return nil, "", fmt.Errorf("polling for %s: %+v", id, err) + } + + if resp.Model == nil { + return nil, "", fmt.Errorf("polling for %s: `model` was nil", id) + } + + if resp.Model.Properties == nil { + return nil, "", fmt.Errorf("polling for %s: `properties` was nil", id) + } + + return resp, string(pointer.From(resp.Model.Properties.CurrentProtectionState)), nil + } +} diff --git a/internal/services/dataprotection/data_protection_backup_instance_mysql_flexible_server_resource_test.go b/internal/services/dataprotection/data_protection_backup_instance_mysql_flexible_server_resource_test.go new file mode 100644 index 000000000000..c56df6c2c458 --- /dev/null +++ b/internal/services/dataprotection/data_protection_backup_instance_mysql_flexible_server_resource_test.go @@ -0,0 +1,208 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + +package dataprotection_test + +import ( + "context" + "fmt" + "testing" + + "github.com/hashicorp/go-azure-sdk/resource-manager/dataprotection/2024-04-01/backupinstances" + "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" + "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" + "github.com/hashicorp/terraform-provider-azurerm/internal/clients" + "github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk" + "github.com/hashicorp/terraform-provider-azurerm/utils" +) + +type DataProtectionBackupInstanceMySQLFlexibleServerResource struct{} + +func TestAccDataProtectionBackupInstanceMySQLFlexibleServer_basic(t *testing.T) { + data := acceptance.BuildTestData(t, "azurerm_data_protection_backup_instance_mysql_flexible_server", "test") + r := DataProtectionBackupInstanceMySQLFlexibleServerResource{} + + data.ResourceTest(t, r, []acceptance.TestStep{ + { + Config: r.basic(data), + Check: acceptance.ComposeTestCheckFunc( + check.That(data.ResourceName).ExistsInAzure(r), + ), + }, + data.ImportStep(), + }) +} + +func TestAccDataProtectionBackupInstanceMySQLFlexibleServer_requiresImport(t *testing.T) { + data := acceptance.BuildTestData(t, "azurerm_data_protection_backup_instance_mysql_flexible_server", "test") + r := DataProtectionBackupInstanceMySQLFlexibleServerResource{} + + data.ResourceTest(t, r, []acceptance.TestStep{ + { + Config: r.basic(data), + Check: acceptance.ComposeTestCheckFunc( + check.That(data.ResourceName).ExistsInAzure(r), + ), + }, + data.RequiresImportErrorStep(r.requiresImport), + }) +} + +func TestAccDataProtectionBackupInstanceMySQLFlexibleServer_update(t *testing.T) { + data := acceptance.BuildTestData(t, "azurerm_data_protection_backup_instance_mysql_flexible_server", "test") + r := DataProtectionBackupInstanceMySQLFlexibleServerResource{} + + data.ResourceTest(t, r, []acceptance.TestStep{ + { + Config: r.basic(data), + Check: acceptance.ComposeTestCheckFunc( + check.That(data.ResourceName).ExistsInAzure(r), + ), + }, + data.ImportStep(), + { + Config: r.update(data), + Check: acceptance.ComposeTestCheckFunc( + check.That(data.ResourceName).ExistsInAzure(r), + ), + }, + data.ImportStep(), + }) +} + +func (r DataProtectionBackupInstanceMySQLFlexibleServerResource) Exists(ctx context.Context, client *clients.Client, state *pluginsdk.InstanceState) (*bool, error) { + id, err := backupinstances.ParseBackupInstanceID(state.ID) + if err != nil { + return nil, err + } + resp, err := client.DataProtection.BackupInstanceClient.Get(ctx, *id) + if err != nil { + return nil, fmt.Errorf("reading %s: %+v", *id, err) + } + return utils.Bool(resp.Model != nil), nil +} + +func (r DataProtectionBackupInstanceMySQLFlexibleServerResource) template(data acceptance.TestData) string { + return fmt.Sprintf(` +resource "azurerm_resource_group" "test" { + name = "acctest-dataprotection-%d" + location = "%s" +} + +resource "azurerm_mysql_flexible_server" "test" { + name = "acctest-mysqlfs-%d" + resource_group_name = azurerm_resource_group.test.name + location = azurerm_resource_group.test.location + administrator_login = "adminTerraform" + administrator_password = "QAZwsx123" + version = "8.0.21" + sku_name = "B_Standard_B1s" + zone = "1" +} + +resource "azurerm_data_protection_backup_vault" "test" { + name = "acctest-dataprotection-vault-%d" + resource_group_name = azurerm_resource_group.test.name + location = azurerm_resource_group.test.location + datastore_type = "VaultStore" + redundancy = "LocallyRedundant" + soft_delete = "Off" + + identity { + type = "SystemAssigned" + } +} + +resource "azurerm_role_assignment" "test" { + scope = azurerm_resource_group.test.id + role_definition_name = "Reader" + principal_id = azurerm_data_protection_backup_vault.test.identity.0.principal_id +} + +resource "azurerm_role_assignment" "test2" { + scope = azurerm_mysql_flexible_server.test.id + role_definition_name = "MySQL Backup And Export Operator" + principal_id = azurerm_data_protection_backup_vault.test.identity.0.principal_id +} + +resource "azurerm_data_protection_backup_policy_mysql_flexible_server" "test" { + name = "acctest-dp-%d" + vault_id = azurerm_data_protection_backup_vault.test.id + backup_repeating_time_intervals = ["R/2021-05-23T02:30:00+00:00/P1W"] + + default_retention_rule { + life_cycle { + duration = "P4M" + data_store_type = "VaultStore" + } + } + + depends_on = [azurerm_role_assignment.test, azurerm_role_assignment.test2] +} +`, data.RandomInteger, data.Locations.Primary, data.RandomInteger, data.RandomInteger, data.RandomInteger) +} + +func (r DataProtectionBackupInstanceMySQLFlexibleServerResource) basic(data acceptance.TestData) string { + return fmt.Sprintf(` +provider "azurerm" { + features {} +} + +%s + +resource "azurerm_data_protection_backup_instance_mysql_flexible_server" "test" { + name = "acctest-dbi-%d" + location = azurerm_resource_group.test.location + vault_id = azurerm_data_protection_backup_vault.test.id + server_id = azurerm_mysql_flexible_server.test.id + backup_policy_id = azurerm_data_protection_backup_policy_mysql_flexible_server.test.id +} +`, r.template(data), data.RandomInteger) +} + +func (r DataProtectionBackupInstanceMySQLFlexibleServerResource) requiresImport(data acceptance.TestData) string { + return fmt.Sprintf(` +%s + +resource "azurerm_data_protection_backup_instance_mysql_flexible_server" "import" { + name = azurerm_data_protection_backup_instance_mysql_flexible_server.test.name + location = azurerm_data_protection_backup_instance_mysql_flexible_server.test.location + vault_id = azurerm_data_protection_backup_instance_mysql_flexible_server.test.vault_id + server_id = azurerm_data_protection_backup_instance_mysql_flexible_server.test.server_id + backup_policy_id = azurerm_data_protection_backup_instance_mysql_flexible_server.test.backup_policy_id +} +`, r.basic(data)) +} + +func (r DataProtectionBackupInstanceMySQLFlexibleServerResource) update(data acceptance.TestData) string { + return fmt.Sprintf(` +provider "azurerm" { + features {} +} + +%s + +resource "azurerm_data_protection_backup_policy_mysql_flexible_server" "test2" { + name = "acctest-dp2-%d" + vault_id = azurerm_data_protection_backup_vault.test.id + backup_repeating_time_intervals = ["R/2021-05-23T02:30:00+00:00/P1W"] + + default_retention_rule { + life_cycle { + duration = "P4M" + data_store_type = "VaultStore" + } + } + + depends_on = [azurerm_role_assignment.test, azurerm_role_assignment.test2] +} + +resource "azurerm_data_protection_backup_instance_mysql_flexible_server" "test" { + name = "acctest-dbi-%d" + location = azurerm_resource_group.test.location + vault_id = azurerm_data_protection_backup_vault.test.id + server_id = azurerm_mysql_flexible_server.test.id + backup_policy_id = azurerm_data_protection_backup_policy_mysql_flexible_server.test2.id +} +`, r.template(data), data.RandomInteger, data.RandomInteger) +} diff --git a/internal/services/dataprotection/data_protection_backup_vault_resource.go b/internal/services/dataprotection/data_protection_backup_vault_resource.go index 93259ed969d2..8a79df8b268f 100644 --- a/internal/services/dataprotection/data_protection_backup_vault_resource.go +++ b/internal/services/dataprotection/data_protection_backup_vault_resource.go @@ -256,8 +256,8 @@ func resourceDataProtectionBackupVaultRead(d *pluginsdk.ResourceData, meta inter } crossRegionStoreEnabled := false if featureSetting := model.Properties.FeatureSettings; featureSetting != nil { - if featureSetting := model.Properties.FeatureSettings; featureSetting != nil { - if pointer.From(featureSetting.CrossRegionRestoreSettings.State) == backupvaults.CrossRegionRestoreStateEnabled { + if crossRegionRestore := featureSetting.CrossRegionRestoreSettings; crossRegionRestore != nil { + if pointer.From(crossRegionRestore.State) == backupvaults.CrossRegionRestoreStateEnabled { crossRegionStoreEnabled = true } } diff --git a/internal/services/dataprotection/data_protection_backup_vault_resource_test.go b/internal/services/dataprotection/data_protection_backup_vault_resource_test.go index 31a7b0bd2469..061fde32fa7c 100644 --- a/internal/services/dataprotection/data_protection_backup_vault_resource_test.go +++ b/internal/services/dataprotection/data_protection_backup_vault_resource_test.go @@ -38,7 +38,14 @@ func TestAccDataProtectionBackupVault_crossRegionRestore(t *testing.T) { r := DataProtectionBackupVaultResource{} data.ResourceTest(t, r, []acceptance.TestStep{ { - Config: r.crossRegionRestore(data), + Config: r.crossRegionRestore(data, false), + Check: acceptance.ComposeTestCheckFunc( + check.That(data.ResourceName).ExistsInAzure(r), + ), + }, + data.ImportStep(), + { + Config: r.crossRegionRestore(data, true), Check: acceptance.ComposeTestCheckFunc( check.That(data.ResourceName).ExistsInAzure(r), ), @@ -192,7 +199,7 @@ resource "azurerm_data_protection_backup_vault" "test" { `, template, data.RandomInteger) } -func (r DataProtectionBackupVaultResource) crossRegionRestore(data acceptance.TestData) string { +func (r DataProtectionBackupVaultResource) crossRegionRestore(data acceptance.TestData, enabled bool) string { template := r.template(data) return fmt.Sprintf(` %s @@ -203,9 +210,9 @@ resource "azurerm_data_protection_backup_vault" "test" { location = azurerm_resource_group.test.location datastore_type = "VaultStore" redundancy = "GeoRedundant" - cross_region_restore_enabled = true + cross_region_restore_enabled = %t } -`, template, data.RandomInteger) +`, template, data.RandomInteger, enabled) } func (r DataProtectionBackupVaultResource) requiresImport(data acceptance.TestData) string { diff --git a/internal/services/dataprotection/registration.go b/internal/services/dataprotection/registration.go index b2fbd92bb26d..4020a3c11339 100644 --- a/internal/services/dataprotection/registration.go +++ b/internal/services/dataprotection/registration.go @@ -62,6 +62,7 @@ func (r Registration) Resources() []sdk.Resource { DataProtectionBackupPolicyMySQLFlexibleServerResource{}, DataProtectionBackupPolicyPostgreSQLFlexibleServerResource{}, DataProtectionBackupInstanceKubernatesClusterResource{}, + DataProtectionBackupInstanceMySQLFlexibleServerResource{}, DataProtectionBackupInstancePostgreSQLFlexibleServerResource{}, } } diff --git a/internal/services/desktopvirtualization/virtual_desktop_workspace_resource_test.go b/internal/services/desktopvirtualization/virtual_desktop_workspace_resource_test.go index 59d1430d21e4..9fc3e7a484b3 100644 --- a/internal/services/desktopvirtualization/virtual_desktop_workspace_resource_test.go +++ b/internal/services/desktopvirtualization/virtual_desktop_workspace_resource_test.go @@ -121,7 +121,7 @@ resource "azurerm_resource_group" "test" { } resource "azurerm_virtual_desktop_workspace" "test" { - name = "acctWS%d" + name = "acctestWS%d" location = azurerm_resource_group.test.location resource_group_name = azurerm_resource_group.test.name } @@ -147,7 +147,7 @@ resource "azurerm_virtual_desktop_workspace" "test" { description = "Acceptance Test by creating acctws%d" public_network_access_enabled = false } -`, data.RandomInteger, data.Locations.Secondary, data.RandomIntOfLength(8), data.RandomInteger) +`, data.RandomInteger, data.Locations.Secondary, data.RandomInteger, data.RandomInteger) } func (r AzureRMDesktopVirtualizationWorkspaceResource) requiresImport(data acceptance.TestData) string { diff --git a/internal/services/devcenter/dev_center_project_pool_resource.go b/internal/services/devcenter/dev_center_project_pool_resource.go new file mode 100644 index 000000000000..76cb7d2dad03 --- /dev/null +++ b/internal/services/devcenter/dev_center_project_pool_resource.go @@ -0,0 +1,286 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + +package devcenter + +import ( + "context" + "fmt" + "time" + + "github.com/hashicorp/go-azure-helpers/lang/pointer" + "github.com/hashicorp/go-azure-helpers/lang/response" + "github.com/hashicorp/go-azure-helpers/resourcemanager/commonschema" + "github.com/hashicorp/go-azure-helpers/resourcemanager/location" + "github.com/hashicorp/go-azure-sdk/resource-manager/devcenter/2023-04-01/pools" + "github.com/hashicorp/go-azure-sdk/resource-manager/devcenter/2023-04-01/projects" + "github.com/hashicorp/terraform-provider-azurerm/internal/sdk" + "github.com/hashicorp/terraform-provider-azurerm/internal/services/devcenter/validate" + "github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk" + "github.com/hashicorp/terraform-provider-azurerm/internal/tf/validation" +) + +var _ sdk.Resource = DevCenterProjectPoolResource{} +var _ sdk.ResourceWithUpdate = DevCenterProjectPoolResource{} + +type DevCenterProjectPoolResource struct{} + +func (r DevCenterProjectPoolResource) ModelObject() interface{} { + return &DevCenterProjectPoolResourceModel{} +} + +type DevCenterProjectPoolResourceModel struct { + Name string `tfschema:"name"` + Location string `tfschema:"location"` + DevCenterProjectId string `tfschema:"dev_center_project_id"` + DevBoxDefinitionName string `tfschema:"dev_box_definition_name"` + LocalAdministratorEnabled bool `tfschema:"local_administrator_enabled"` + DevCenterAttachedNetworkName string `tfschema:"dev_center_attached_network_name"` + StopOnDisconnectGracePeriodMinutes int64 `tfschema:"stop_on_disconnect_grace_period_minutes"` + Tags map[string]string `tfschema:"tags"` +} + +func (r DevCenterProjectPoolResource) IDValidationFunc() pluginsdk.SchemaValidateFunc { + return pools.ValidatePoolID +} + +func (r DevCenterProjectPoolResource) ResourceType() string { + return "azurerm_dev_center_project_pool" +} + +func (r DevCenterProjectPoolResource) Arguments() map[string]*pluginsdk.Schema { + return map[string]*pluginsdk.Schema{ + "name": { + Type: pluginsdk.TypeString, + Required: true, + ForceNew: true, + ValidateFunc: validate.DevCenterProjectPoolName, + }, + + "location": commonschema.Location(), + + "dev_center_project_id": commonschema.ResourceIDReferenceRequiredForceNew(&pools.ProjectId{}), + + "dev_box_definition_name": { + Type: pluginsdk.TypeString, + Required: true, + ValidateFunc: validate.DevCenterDevBoxDefinitionName, + }, + + "local_administrator_enabled": { + Type: pluginsdk.TypeBool, + Required: true, + }, + + "dev_center_attached_network_name": { + Type: pluginsdk.TypeString, + Required: true, + ValidateFunc: validation.StringIsNotEmpty, + }, + + "stop_on_disconnect_grace_period_minutes": { + Type: pluginsdk.TypeInt, + Optional: true, + ValidateFunc: validation.IntBetween(60, 480), + }, + + "tags": commonschema.Tags(), + } +} + +func (r DevCenterProjectPoolResource) Attributes() map[string]*pluginsdk.Schema { + return map[string]*pluginsdk.Schema{} +} + +func (r DevCenterProjectPoolResource) Create() sdk.ResourceFunc { + return sdk.ResourceFunc{ + Timeout: 30 * time.Minute, + Func: func(ctx context.Context, metadata sdk.ResourceMetaData) error { + client := metadata.Client.DevCenter.V20230401.Pools + subscriptionId := metadata.Client.Account.SubscriptionId + + var model DevCenterProjectPoolResourceModel + if err := metadata.Decode(&model); err != nil { + return fmt.Errorf("decoding: %+v", err) + } + + devCenterProjectId, err := projects.ParseProjectID(model.DevCenterProjectId) + if err != nil { + return err + } + + id := pools.NewPoolID(subscriptionId, devCenterProjectId.ResourceGroupName, devCenterProjectId.ProjectName, model.Name) + + existing, err := client.Get(ctx, id) + if err != nil { + if !response.WasNotFound(existing.HttpResponse) { + return fmt.Errorf("checking for the presence of an existing %s: %+v", id, err) + } + } + if !response.WasNotFound(existing.HttpResponse) { + return metadata.ResourceRequiresImport(r.ResourceType(), id) + } + + parameters := pools.Pool{ + Location: location.Normalize(model.Location), + Properties: &pools.PoolProperties{ + DevBoxDefinitionName: pointer.To(model.DevBoxDefinitionName), + NetworkConnectionName: pointer.To(model.DevCenterAttachedNetworkName), + LicenseType: pointer.To(pools.LicenseTypeWindowsClient), + StopOnDisconnect: expandDevCenterProjectPoolStopOnDisconnect(model.StopOnDisconnectGracePeriodMinutes), + }, + Tags: pointer.To(model.Tags), + } + + if model.LocalAdministratorEnabled { + parameters.Properties.LocalAdministrator = pointer.To(pools.LocalAdminStatusEnabled) + } else { + parameters.Properties.LocalAdministrator = pointer.To(pools.LocalAdminStatusDisabled) + } + + if err := client.CreateOrUpdateThenPoll(ctx, id, parameters); err != nil { + return fmt.Errorf("creating %s: %+v", id, err) + } + + metadata.SetID(id) + return nil + }, + } +} + +func (r DevCenterProjectPoolResource) Read() sdk.ResourceFunc { + return sdk.ResourceFunc{ + Timeout: 5 * time.Minute, + Func: func(ctx context.Context, metadata sdk.ResourceMetaData) error { + client := metadata.Client.DevCenter.V20230401.Pools + + id, err := pools.ParsePoolID(metadata.ResourceData.Id()) + if err != nil { + return err + } + + resp, err := client.Get(ctx, *id) + if err != nil { + if response.WasNotFound(resp.HttpResponse) { + return metadata.MarkAsGone(*id) + } + return fmt.Errorf("retrieving %s: %+v", *id, err) + } + + state := DevCenterProjectPoolResourceModel{ + Name: id.PoolName, + DevCenterProjectId: projects.NewProjectID(id.SubscriptionId, id.ResourceGroupName, id.ProjectName).ID(), + } + + if model := resp.Model; model != nil { + state.Location = location.Normalize(model.Location) + state.Tags = pointer.From(model.Tags) + + if props := model.Properties; props != nil { + state.DevBoxDefinitionName = pointer.From(props.DevBoxDefinitionName) + state.LocalAdministratorEnabled = pointer.From(props.LocalAdministrator) == pools.LocalAdminStatusEnabled + state.DevCenterAttachedNetworkName = pointer.From(props.NetworkConnectionName) + state.StopOnDisconnectGracePeriodMinutes = flattenDevCenterProjectPoolStopOnDisconnect(props.StopOnDisconnect) + } + } + + return metadata.Encode(&state) + }, + } +} + +func (r DevCenterProjectPoolResource) Update() sdk.ResourceFunc { + return sdk.ResourceFunc{ + Timeout: 30 * time.Minute, + Func: func(ctx context.Context, metadata sdk.ResourceMetaData) error { + client := metadata.Client.DevCenter.V20230401.Pools + + id, err := pools.ParsePoolID(metadata.ResourceData.Id()) + if err != nil { + return err + } + + var model DevCenterProjectPoolResourceModel + if err := metadata.Decode(&model); err != nil { + return fmt.Errorf("decoding: %+v", err) + } + + parameters := pools.PoolUpdate{ + Properties: &pools.PoolUpdateProperties{}, + } + + if metadata.ResourceData.HasChange("dev_box_definition_name") { + parameters.Properties.DevBoxDefinitionName = pointer.To(model.DevBoxDefinitionName) + } + + if metadata.ResourceData.HasChange("local_administrator_enabled") { + if model.LocalAdministratorEnabled { + parameters.Properties.LocalAdministrator = pointer.To(pools.LocalAdminStatusEnabled) + } else { + parameters.Properties.LocalAdministrator = pointer.To(pools.LocalAdminStatusDisabled) + } + } + + if metadata.ResourceData.HasChange("dev_center_attached_network_name") { + parameters.Properties.NetworkConnectionName = pointer.To(model.DevCenterAttachedNetworkName) + } + + if metadata.ResourceData.HasChange("stop_on_disconnect_grace_period_minutes") { + parameters.Properties.StopOnDisconnect = expandDevCenterProjectPoolStopOnDisconnect(model.StopOnDisconnectGracePeriodMinutes) + } + + if metadata.ResourceData.HasChange("tags") { + parameters.Tags = pointer.To(model.Tags) + } + + if err := client.UpdateThenPoll(ctx, *id, parameters); err != nil { + return fmt.Errorf("updating %s: %+v", *id, err) + } + + return nil + }, + } +} + +func (r DevCenterProjectPoolResource) Delete() sdk.ResourceFunc { + return sdk.ResourceFunc{ + Timeout: 30 * time.Minute, + Func: func(ctx context.Context, metadata sdk.ResourceMetaData) error { + client := metadata.Client.DevCenter.V20230401.Pools + + id, err := pools.ParsePoolID(metadata.ResourceData.Id()) + if err != nil { + return err + } + + if err := client.DeleteThenPoll(ctx, *id); err != nil { + return fmt.Errorf("deleting %s: %+v", *id, err) + } + + return nil + }, + } +} + +func expandDevCenterProjectPoolStopOnDisconnect(input int64) *pools.StopOnDisconnectConfiguration { + if input == 0 { + return &pools.StopOnDisconnectConfiguration{ + GracePeriodMinutes: pointer.To(int64(0)), + Status: pointer.To(pools.StopOnDisconnectEnableStatusDisabled), + } + } + + return &pools.StopOnDisconnectConfiguration{ + GracePeriodMinutes: pointer.To(input), + Status: pointer.To(pools.StopOnDisconnectEnableStatusEnabled), + } +} + +func flattenDevCenterProjectPoolStopOnDisconnect(input *pools.StopOnDisconnectConfiguration) int64 { + var gracePeriodMinutes int64 + if input == nil || pointer.From(input.Status) == pools.StopOnDisconnectEnableStatusDisabled { + return gracePeriodMinutes + } + + return pointer.From(input.GracePeriodMinutes) +} diff --git a/internal/services/devcenter/dev_center_project_pool_resource_test.go b/internal/services/devcenter/dev_center_project_pool_resource_test.go new file mode 100644 index 000000000000..ca2e407a7c63 --- /dev/null +++ b/internal/services/devcenter/dev_center_project_pool_resource_test.go @@ -0,0 +1,278 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + +package devcenter_test + +import ( + "context" + "fmt" + "testing" + + "github.com/hashicorp/go-azure-helpers/lang/pointer" + "github.com/hashicorp/go-azure-sdk/resource-manager/devcenter/2023-04-01/pools" + "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" + "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" + "github.com/hashicorp/terraform-provider-azurerm/internal/clients" + "github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk" +) + +type DevCenterProjectPoolTestResource struct{} + +func TestAccDevCenterProjectPool_basic(t *testing.T) { + data := acceptance.BuildTestData(t, "azurerm_dev_center_project_pool", "test") + r := DevCenterProjectPoolTestResource{} + + data.ResourceTest(t, r, []acceptance.TestStep{ + { + Config: r.basic(data), + Check: acceptance.ComposeTestCheckFunc( + check.That(data.ResourceName).ExistsInAzure(r), + ), + }, + data.ImportStep(), + }) +} + +func TestAccDevCenterProjectPool_requiresImport(t *testing.T) { + data := acceptance.BuildTestData(t, "azurerm_dev_center_project_pool", "test") + r := DevCenterProjectPoolTestResource{} + + data.ResourceTest(t, r, []acceptance.TestStep{ + { + Config: r.basic(data), + Check: acceptance.ComposeTestCheckFunc( + check.That(data.ResourceName).ExistsInAzure(r), + ), + }, + data.RequiresImportErrorStep(r.requiresImport), + }) +} + +func TestAccDevCenterProjectPool_complete(t *testing.T) { + data := acceptance.BuildTestData(t, "azurerm_dev_center_project_pool", "test") + r := DevCenterProjectPoolTestResource{} + + data.ResourceTest(t, r, []acceptance.TestStep{ + { + Config: r.complete(data), + Check: acceptance.ComposeTestCheckFunc( + check.That(data.ResourceName).ExistsInAzure(r), + ), + }, + data.ImportStep(), + }) +} + +func TestAccDevCenterProjectPool_update(t *testing.T) { + data := acceptance.BuildTestData(t, "azurerm_dev_center_project_pool", "test") + r := DevCenterProjectPoolTestResource{} + + data.ResourceTest(t, r, []acceptance.TestStep{ + { + Config: r.basic(data), + Check: acceptance.ComposeTestCheckFunc( + check.That(data.ResourceName).ExistsInAzure(r), + ), + }, + data.ImportStep(), + { + Config: r.complete(data), + Check: acceptance.ComposeTestCheckFunc( + check.That(data.ResourceName).ExistsInAzure(r), + ), + }, + data.ImportStep(), + { + Config: r.update(data), + Check: acceptance.ComposeTestCheckFunc( + check.That(data.ResourceName).ExistsInAzure(r), + ), + }, + data.ImportStep(), + { + Config: r.basic(data), + Check: acceptance.ComposeTestCheckFunc( + check.That(data.ResourceName).ExistsInAzure(r), + ), + }, + data.ImportStep(), + }) +} + +func (r DevCenterProjectPoolTestResource) Exists(ctx context.Context, clients *clients.Client, state *pluginsdk.InstanceState) (*bool, error) { + id, err := pools.ParsePoolID(state.ID) + if err != nil { + return nil, err + } + + resp, err := clients.DevCenter.V20230401.Pools.Get(ctx, *id) + if err != nil { + return nil, fmt.Errorf("retrieving %s: %+v", *id, err) + } + + return pointer.To(resp.Model != nil), nil +} + +func (r DevCenterProjectPoolTestResource) basic(data acceptance.TestData) string { + return fmt.Sprintf(` +%s + +provider "azurerm" { + features {} +} + +resource "azurerm_dev_center_project_pool" "test" { + name = "acctest-dcpl-%d" + location = azurerm_resource_group.test.location + dev_center_project_id = azurerm_dev_center_project.test.id + dev_box_definition_name = azurerm_dev_center_dev_box_definition.test.name + local_administrator_enabled = false + dev_center_attached_network_name = azurerm_dev_center_attached_network.test.name +} +`, r.template(data), data.RandomInteger) +} + +func (r DevCenterProjectPoolTestResource) requiresImport(data acceptance.TestData) string { + return fmt.Sprintf(` +%s + +resource "azurerm_dev_center_project_pool" "import" { + name = azurerm_dev_center_project_pool.test.name + location = azurerm_dev_center_project_pool.test.location + dev_center_project_id = azurerm_dev_center_project_pool.test.dev_center_project_id + dev_box_definition_name = azurerm_dev_center_project_pool.test.dev_box_definition_name + local_administrator_enabled = azurerm_dev_center_project_pool.test.local_administrator_enabled + dev_center_attached_network_name = azurerm_dev_center_project_pool.test.dev_center_attached_network_name +} +`, r.basic(data)) +} + +func (r DevCenterProjectPoolTestResource) complete(data acceptance.TestData) string { + return fmt.Sprintf(` +%s + +provider "azurerm" { + features {} +} + +resource "azurerm_dev_center_project_pool" "test" { + name = "acctest-dcpl-%d" + location = azurerm_resource_group.test.location + dev_center_project_id = azurerm_dev_center_project.test.id + dev_box_definition_name = azurerm_dev_center_dev_box_definition.test.name + local_administrator_enabled = true + dev_center_attached_network_name = azurerm_dev_center_attached_network.test.name + stop_on_disconnect_grace_period_minutes = 60 + + tags = { + Env = "Test" + } +} +`, r.template(data), data.RandomInteger) +} + +func (r DevCenterProjectPoolTestResource) update(data acceptance.TestData) string { + return fmt.Sprintf(` +%s + +provider "azurerm" { + features {} +} + +resource "azurerm_dev_center_project_pool" "test" { + name = "acctest-dcpl-%d" + location = azurerm_resource_group.test.location + dev_center_project_id = azurerm_dev_center_project.test.id + dev_box_definition_name = azurerm_dev_center_dev_box_definition.test2.name + local_administrator_enabled = false + dev_center_attached_network_name = azurerm_dev_center_attached_network.test2.name + stop_on_disconnect_grace_period_minutes = 80 + + tags = { + Env = "Test2" + } +} +`, r.template(data), data.RandomInteger) +} + +func (r DevCenterProjectPoolTestResource) template(data acceptance.TestData) string { + return fmt.Sprintf(` +resource "azurerm_resource_group" "test" { + name = "acctestrg-dcet-%d" + location = "%s" +} + +resource "azurerm_dev_center" "test" { + name = "acctest-dc-%s" + resource_group_name = azurerm_resource_group.test.name + location = azurerm_resource_group.test.location + + identity { + type = "SystemAssigned" + } +} + +resource "azurerm_dev_center_dev_box_definition" "test" { + name = "acctest-dcet-%d" + location = azurerm_resource_group.test.location + dev_center_id = azurerm_dev_center.test.id + image_reference_id = "${azurerm_dev_center.test.id}/galleries/default/images/microsoftvisualstudio_visualstudioplustools_vs-2022-ent-general-win10-m365-gen2" + sku_name = "general_i_8c32gb256ssd_v2" +} + +resource "azurerm_virtual_network" "test" { + name = "acctest-vnet-%d" + address_space = ["10.0.0.0/16"] + location = azurerm_resource_group.test.location + resource_group_name = azurerm_resource_group.test.name +} + +resource "azurerm_subnet" "test" { + name = "internal" + resource_group_name = azurerm_resource_group.test.name + virtual_network_name = azurerm_virtual_network.test.name + address_prefixes = ["10.0.2.0/24"] +} + +resource "azurerm_dev_center_network_connection" "test" { + name = "acctest-dcnc-%d" + resource_group_name = azurerm_resource_group.test.name + location = azurerm_resource_group.test.location + domain_join_type = "AzureADJoin" + subnet_id = azurerm_subnet.test.id +} + +resource "azurerm_dev_center_attached_network" "test" { + name = "acctest-dcan-%d" + dev_center_id = azurerm_dev_center.test.id + network_connection_id = azurerm_dev_center_network_connection.test.id + + depends_on = [azurerm_dev_center_dev_box_definition.test] +} + +resource "azurerm_dev_center_dev_box_definition" "test2" { + name = "acctest-dcet2-%d" + location = azurerm_resource_group.test.location + dev_center_id = azurerm_dev_center.test.id + image_reference_id = "${azurerm_dev_center.test.id}/galleries/default/images/microsoftvisualstudio_visualstudioplustools_vs-2022-ent-general-win10-m365-gen2" + sku_name = "general_i_8c32gb256ssd_v2" +} + +resource "azurerm_dev_center_attached_network" "test2" { + name = "acctest-dcan2-%d" + dev_center_id = azurerm_dev_center.test.id + network_connection_id = azurerm_dev_center_network_connection.test.id + + depends_on = [azurerm_dev_center_dev_box_definition.test2] +} + +resource "azurerm_dev_center_project" "test" { + name = "acctest-dcp-%d" + resource_group_name = azurerm_resource_group.test.name + location = azurerm_resource_group.test.location + dev_center_id = azurerm_dev_center.test.id + + depends_on = [azurerm_dev_center_attached_network.test, azurerm_dev_center_attached_network.test2] +} +`, data.RandomInteger, data.Locations.Primary, data.RandomString, data.RandomInteger, data.RandomInteger, data.RandomInteger, data.RandomInteger, data.RandomInteger, data.RandomInteger, data.RandomInteger) +} diff --git a/internal/services/devcenter/registration.go b/internal/services/devcenter/registration.go index 2ae90d91f86e..9d678d1633e7 100644 --- a/internal/services/devcenter/registration.go +++ b/internal/services/devcenter/registration.go @@ -37,6 +37,7 @@ func (r Registration) Resources() []sdk.Resource { DevCenterDevBoxDefinitionResource{}, DevCenterEnvironmentTypeResource{}, DevCenterNetworkConnectionResource{}, + DevCenterProjectPoolResource{}, DevCenterProjectEnvironmentTypeResource{}, } return append(resources, r.autoRegistration.Resources()...) diff --git a/internal/services/devcenter/validate/dev_center_project_pool_name.go b/internal/services/devcenter/validate/dev_center_project_pool_name.go new file mode 100644 index 000000000000..c5ecf662b109 --- /dev/null +++ b/internal/services/devcenter/validate/dev_center_project_pool_name.go @@ -0,0 +1,23 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + +package validate + +import ( + "fmt" + "regexp" +) + +func DevCenterProjectPoolName(i interface{}, k string) (warnings []string, errors []error) { + v, ok := i.(string) + if !ok { + errors = append(errors, fmt.Errorf("expected type of %q to be string", k)) + return + } + + if !regexp.MustCompile("^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$").MatchString(v) { + errors = append(errors, fmt.Errorf("%q must start with an alphanumeric character, may contain alphanumeric characters, dashes, underscores or periods and must be between 3 and 63 characters long", k)) + } + + return warnings, errors +} diff --git a/internal/services/devcenter/validate/dev_center_project_pool_name_test.go b/internal/services/devcenter/validate/dev_center_project_pool_name_test.go new file mode 100644 index 000000000000..2d1ee7b6db17 --- /dev/null +++ b/internal/services/devcenter/validate/dev_center_project_pool_name_test.go @@ -0,0 +1,61 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + +package validate + +import ( + "strings" + "testing" +) + +func TestDevCenterProjectPoolName(t *testing.T) { + testCases := []struct { + Input string + Expected bool + }{ + { + Input: "", + Expected: false, + }, + { + Input: "a", + Expected: false, + }, + { + Input: "a8a", + Expected: true, + }, + { + Input: "a-8.a", + Expected: true, + }, + { + Input: "aa-", + Expected: true, + }, + { + Input: "aa.", + Expected: true, + }, + { + Input: strings.Repeat("s", 62), + Expected: true, + }, + { + Input: strings.Repeat("s", 63), + Expected: true, + }, + { + Input: strings.Repeat("s", 64), + Expected: false, + }, + } + + for _, v := range testCases { + _, errors := DevCenterProjectPoolName(v.Input, "name") + result := len(errors) == 0 + if result != v.Expected { + t.Fatalf("Expected the result to be %t but got %t (and %d errors)", v.Expected, result, len(errors)) + } + } +} diff --git a/internal/services/firewall/firewall_application_rule_collection_resource.go b/internal/services/firewall/firewall_application_rule_collection_resource.go index e4f77f7de246..258a7673d7f1 100644 --- a/internal/services/firewall/firewall_application_rule_collection_resource.go +++ b/internal/services/firewall/firewall_application_rule_collection_resource.go @@ -11,7 +11,7 @@ import ( "github.com/hashicorp/go-azure-helpers/lang/pointer" "github.com/hashicorp/go-azure-helpers/lang/response" "github.com/hashicorp/go-azure-helpers/resourcemanager/commonschema" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/azurefirewalls" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/azurefirewalls" "github.com/hashicorp/terraform-provider-azurerm/helpers/tf" "github.com/hashicorp/terraform-provider-azurerm/helpers/validate" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" diff --git a/internal/services/firewall/firewall_application_rule_collection_resource_test.go b/internal/services/firewall/firewall_application_rule_collection_resource_test.go index 8ebb2fc95ddf..613488b57ce3 100644 --- a/internal/services/firewall/firewall_application_rule_collection_resource_test.go +++ b/internal/services/firewall/firewall_application_rule_collection_resource_test.go @@ -10,7 +10,7 @@ import ( "testing" "time" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/azurefirewalls" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/azurefirewalls" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" diff --git a/internal/services/firewall/firewall_data_source.go b/internal/services/firewall/firewall_data_source.go index 443ea723881c..602b7e580e7f 100644 --- a/internal/services/firewall/firewall_data_source.go +++ b/internal/services/firewall/firewall_data_source.go @@ -13,7 +13,7 @@ import ( "github.com/hashicorp/go-azure-helpers/resourcemanager/location" "github.com/hashicorp/go-azure-helpers/resourcemanager/tags" "github.com/hashicorp/go-azure-helpers/resourcemanager/zones" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/azurefirewalls" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/azurefirewalls" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" "github.com/hashicorp/terraform-provider-azurerm/internal/services/firewall/validate" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk" diff --git a/internal/services/firewall/firewall_nat_rule_collection_resource.go b/internal/services/firewall/firewall_nat_rule_collection_resource.go index 40963c1b10ab..3c649e2d9a95 100644 --- a/internal/services/firewall/firewall_nat_rule_collection_resource.go +++ b/internal/services/firewall/firewall_nat_rule_collection_resource.go @@ -11,7 +11,7 @@ import ( "github.com/hashicorp/go-azure-helpers/lang/pointer" "github.com/hashicorp/go-azure-helpers/lang/response" "github.com/hashicorp/go-azure-helpers/resourcemanager/commonschema" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/azurefirewalls" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/azurefirewalls" "github.com/hashicorp/terraform-provider-azurerm/helpers/tf" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" "github.com/hashicorp/terraform-provider-azurerm/internal/locks" diff --git a/internal/services/firewall/firewall_nat_rule_collection_resource_test.go b/internal/services/firewall/firewall_nat_rule_collection_resource_test.go index 8c73f2287655..654f579c07e3 100644 --- a/internal/services/firewall/firewall_nat_rule_collection_resource_test.go +++ b/internal/services/firewall/firewall_nat_rule_collection_resource_test.go @@ -10,7 +10,7 @@ import ( "testing" "time" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/azurefirewalls" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/azurefirewalls" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" diff --git a/internal/services/firewall/firewall_network_rule_collection_resource.go b/internal/services/firewall/firewall_network_rule_collection_resource.go index 2f1f629aaeb8..3780e1c7cbb8 100644 --- a/internal/services/firewall/firewall_network_rule_collection_resource.go +++ b/internal/services/firewall/firewall_network_rule_collection_resource.go @@ -11,7 +11,7 @@ import ( "github.com/hashicorp/go-azure-helpers/lang/pointer" "github.com/hashicorp/go-azure-helpers/lang/response" "github.com/hashicorp/go-azure-helpers/resourcemanager/commonschema" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/azurefirewalls" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/azurefirewalls" "github.com/hashicorp/terraform-provider-azurerm/helpers/tf" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" "github.com/hashicorp/terraform-provider-azurerm/internal/locks" diff --git a/internal/services/firewall/firewall_network_rule_collection_resource_test.go b/internal/services/firewall/firewall_network_rule_collection_resource_test.go index 19a0906b9ccd..bc7d8cfa62c0 100644 --- a/internal/services/firewall/firewall_network_rule_collection_resource_test.go +++ b/internal/services/firewall/firewall_network_rule_collection_resource_test.go @@ -10,7 +10,7 @@ import ( "testing" "time" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/azurefirewalls" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/azurefirewalls" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" diff --git a/internal/services/firewall/firewall_policy_data_source.go b/internal/services/firewall/firewall_policy_data_source.go index 5214898f0bbd..db3adcfd7aed 100644 --- a/internal/services/firewall/firewall_policy_data_source.go +++ b/internal/services/firewall/firewall_policy_data_source.go @@ -12,7 +12,7 @@ import ( "github.com/hashicorp/go-azure-helpers/resourcemanager/commonschema" "github.com/hashicorp/go-azure-helpers/resourcemanager/location" "github.com/hashicorp/go-azure-helpers/resourcemanager/tags" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/firewallpolicies" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" "github.com/hashicorp/terraform-provider-azurerm/internal/services/firewall/validate" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk" diff --git a/internal/services/firewall/firewall_policy_resource.go b/internal/services/firewall/firewall_policy_resource.go index ff4ace2126f6..4ae96dbfb789 100644 --- a/internal/services/firewall/firewall_policy_resource.go +++ b/internal/services/firewall/firewall_policy_resource.go @@ -14,7 +14,7 @@ import ( "github.com/hashicorp/go-azure-helpers/resourcemanager/identity" "github.com/hashicorp/go-azure-helpers/resourcemanager/location" "github.com/hashicorp/go-azure-helpers/resourcemanager/tags" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/firewallpolicies" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies" "github.com/hashicorp/go-azure-sdk/resource-manager/operationalinsights/2020-08-01/workspaces" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "github.com/hashicorp/terraform-provider-azurerm/helpers/tf" diff --git a/internal/services/firewall/firewall_policy_resource_test.go b/internal/services/firewall/firewall_policy_resource_test.go index 2c4c59905483..705cab2f6ad5 100644 --- a/internal/services/firewall/firewall_policy_resource_test.go +++ b/internal/services/firewall/firewall_policy_resource_test.go @@ -9,7 +9,7 @@ import ( "testing" "time" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/firewallpolicies" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" @@ -590,7 +590,7 @@ resource "azurerm_key_vault_certificate" "test" { depends_on = [azurerm_key_vault_access_policy.test, azurerm_key_vault_access_policy.test2] } -`, data.RandomInteger, "westeurope", data.RandomInteger, data.RandomInteger) +`, data.RandomInteger, data.Locations.Primary, data.RandomInteger, data.RandomInteger) } func (FirewallPolicyResource) defaultWorkspaceOnly(data acceptance.TestData) string { diff --git a/internal/services/firewall/firewall_policy_rule_collection_group_resource.go b/internal/services/firewall/firewall_policy_rule_collection_group_resource.go index 76ab1e18fb52..3678e60cb7da 100644 --- a/internal/services/firewall/firewall_policy_rule_collection_group_resource.go +++ b/internal/services/firewall/firewall_policy_rule_collection_group_resource.go @@ -13,7 +13,7 @@ import ( "github.com/hashicorp/go-azure-helpers/lang/pointer" "github.com/hashicorp/go-azure-helpers/lang/response" "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-09-01/firewallpolicies" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/firewallpolicyrulecollectiongroups" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicyrulecollectiongroups" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/validation" "github.com/hashicorp/terraform-provider-azurerm/helpers/tf" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" diff --git a/internal/services/firewall/firewall_policy_rule_collection_group_resource_test.go b/internal/services/firewall/firewall_policy_rule_collection_group_resource_test.go index cbd19a0c66f6..b0eba00e190f 100644 --- a/internal/services/firewall/firewall_policy_rule_collection_group_resource_test.go +++ b/internal/services/firewall/firewall_policy_rule_collection_group_resource_test.go @@ -8,7 +8,7 @@ import ( "fmt" "testing" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/firewallpolicyrulecollectiongroups" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicyrulecollectiongroups" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" @@ -748,6 +748,7 @@ resource "azurerm_firewall_policy" "test" { name = "acctest-fwpolicy-RCG-%[1]d" resource_group_name = azurerm_resource_group.test.name location = azurerm_resource_group.test.location + sku = "Premium" dns { proxy_enabled = true } diff --git a/internal/services/firewall/firewall_resource.go b/internal/services/firewall/firewall_resource.go index 10c0f690c6eb..c044e9784adc 100644 --- a/internal/services/firewall/firewall_resource.go +++ b/internal/services/firewall/firewall_resource.go @@ -17,8 +17,8 @@ import ( "github.com/hashicorp/go-azure-helpers/resourcemanager/tags" "github.com/hashicorp/go-azure-helpers/resourcemanager/zones" "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-09-01/firewallpolicies" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/azurefirewalls" "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualwans" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/azurefirewalls" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "github.com/hashicorp/terraform-provider-azurerm/helpers/azure" "github.com/hashicorp/terraform-provider-azurerm/helpers/tf" diff --git a/internal/services/firewall/firewall_resource_test.go b/internal/services/firewall/firewall_resource_test.go index d1ed3d24499f..6c9a3382bd02 100644 --- a/internal/services/firewall/firewall_resource_test.go +++ b/internal/services/firewall/firewall_resource_test.go @@ -10,7 +10,7 @@ import ( "strings" "testing" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/azurefirewalls" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/azurefirewalls" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" @@ -215,26 +215,16 @@ func TestAccFirewall_withTags(t *testing.T) { func TestAccFirewall_withZones(t *testing.T) { data := acceptance.BuildTestData(t, "azurerm_firewall", "test") r := FirewallResource{} - zones := []string{"1"} - zonesUpdate := []string{"1", "2", "3"} data.ResourceTest(t, r, []acceptance.TestStep{ { - Config: r.withZones(data, zones), + Config: r.withZones(data, []string{"1"}), Check: acceptance.ComposeTestCheckFunc( check.That(data.ResourceName).ExistsInAzure(r), check.That(data.ResourceName).Key("zones.#").HasValue("1"), check.That(data.ResourceName).Key("zones.0").HasValue("1"), ), }, - { - Config: r.withZones(data, zonesUpdate), - Check: acceptance.ComposeTestCheckFunc( - - check.That(data.ResourceName).ExistsInAzure(r), - check.That(data.ResourceName).Key("zones.#").HasValue("3"), - ), - }, }) } @@ -531,7 +521,7 @@ provider "azurerm" { } resource "azurerm_resource_group" "test" { - name = "acctestRG-%d" + name = "acctestRG-fw-%d" location = "%s" } diff --git a/internal/services/firewall/subresource.go b/internal/services/firewall/subresource.go index 6ce8bdd6c419..cce5e840be95 100644 --- a/internal/services/firewall/subresource.go +++ b/internal/services/firewall/subresource.go @@ -4,7 +4,7 @@ package firewall import ( - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/firewallpolicies" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies" ) func flattenNetworkSubResourceID(input *[]firewallpolicies.SubResource) []interface{} { diff --git a/internal/services/graphservices/graph_services_account_resource.go b/internal/services/graphservices/graph_services_account_resource.go index 6fbdaf813f37..915aaaed3b24 100644 --- a/internal/services/graphservices/graph_services_account_resource.go +++ b/internal/services/graphservices/graph_services_account_resource.go @@ -20,61 +20,12 @@ import ( ) var ( - _ sdk.Resource = ServicesAccountResource{} - _ sdk.ResourceWithUpdate = ServicesAccountResource{} + _ sdk.Resource = AccountResource{} + _ sdk.ResourceWithUpdate = AccountResource{} ) -type ServicesAccountResource struct{} - -func (r ServicesAccountResource) ModelObject() interface{} { - return &AccountResourceSchema{} -} - -func (r ServicesAccountResource) IDValidationFunc() pluginsdk.SchemaValidateFunc { - return graphservicesprods.ValidateAccountID -} - -func (r ServicesAccountResource) ResourceType() string { - return "azurerm_graph_services_account" -} - -func (r ServicesAccountResource) Arguments() map[string]*pluginsdk.Schema { - return AccountResource{}.Arguments() -} - -func (r ServicesAccountResource) Attributes() map[string]*pluginsdk.Schema { - return AccountResource{}.Attributes() -} - -func (r ServicesAccountResource) Create() sdk.ResourceFunc { - return AccountResource{}.Create() -} - -func (r ServicesAccountResource) Read() sdk.ResourceFunc { - return AccountResource{}.Read() -} - -func (r ServicesAccountResource) Delete() sdk.ResourceFunc { - return AccountResource{}.Delete() -} - -func (r ServicesAccountResource) Update() sdk.ResourceFunc { - return AccountResource{}.Update() -} - -var ( - _ sdk.Resource = AccountResource{} - _ sdk.ResourceWithUpdate = AccountResource{} - _ sdk.ResourceWithDeprecationReplacedBy = AccountResource{} -) - -// AccountResource remove this in 4.0, the resource is renamed type AccountResource struct{} -func (r AccountResource) DeprecatedInFavourOfResource() string { - return "azurerm_graph_services_account" -} - func (r AccountResource) ModelObject() interface{} { return &AccountResourceSchema{} } @@ -92,7 +43,7 @@ func (r AccountResource) IDValidationFunc() pluginsdk.SchemaValidateFunc { } func (r AccountResource) ResourceType() string { - return "azurerm_graph_account" + return "azurerm_graph_services_account" } func (r AccountResource) Arguments() map[string]*pluginsdk.Schema { diff --git a/internal/services/graphservices/graph_services_account_resource_test.go b/internal/services/graphservices/graph_services_account_resource_test.go index 55560e0f53a8..4fdb4bdb6e9e 100644 --- a/internal/services/graphservices/graph_services_account_resource_test.go +++ b/internal/services/graphservices/graph_services_account_resource_test.go @@ -13,49 +13,26 @@ import ( "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" - "github.com/hashicorp/terraform-provider-azurerm/internal/features" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk" "github.com/hashicorp/terraform-provider-azurerm/utils" ) -func TestAccGraphAccount(t *testing.T) { +func TestAccGraphServicesAccount(t *testing.T) { // NOTE: this is a combined test rather than separate split out tests due to // the account need a pre-existing AD application, here we use the service principal. acceptance.RunTestsInSequence(t, map[string]map[string]func(t *testing.T){ - // remove in 4.0 - "legacyAccount": { - "basic": testAccGraphAccount_legacy, - }, "account": { - "basic": testAccGraphAccount_basic, - "update": testAccGraphAccount_update, - "complete": testAccGraphAccount_complete, - "requiresImport": testAccGraphAccount_requiresImport, + "basic": testAccGraphServicesAccount_basic, + "update": testAccGraphServicesAccount_update, + "complete": testAccGraphServicesAccount_complete, + "requiresImport": testAccGraphServicesAccount_requiresImport, }, }) } type AccountTestResource struct{} -func testAccGraphAccount_legacy(t *testing.T) { - if features.FourPointOhBeta() { - t.Skip("Resource has been removed in 4.0") - } - data := acceptance.BuildTestData(t, "azurerm_graph_account", "test") - r := AccountTestResource{} - - data.ResourceSequentialTest(t, r, []acceptance.TestStep{ - { - Config: r.legacy(data), - Check: acceptance.ComposeTestCheckFunc( - check.That(data.ResourceName).ExistsInAzure(r), - ), - }, - data.ImportStep(), - }) -} - -func testAccGraphAccount_basic(t *testing.T) { +func testAccGraphServicesAccount_basic(t *testing.T) { data := acceptance.BuildTestData(t, "azurerm_graph_services_account", "test") r := AccountTestResource{} @@ -70,9 +47,8 @@ func testAccGraphAccount_basic(t *testing.T) { }) } -func testAccGraphAccount_requiresImport(t *testing.T) { +func testAccGraphServicesAccount_requiresImport(t *testing.T) { data := acceptance.BuildTestData(t, "azurerm_graph_services_account", "test") - r := AccountTestResource{} data.ResourceSequentialTest(t, r, []acceptance.TestStep{ @@ -86,7 +62,7 @@ func testAccGraphAccount_requiresImport(t *testing.T) { }) } -func testAccGraphAccount_complete(t *testing.T) { +func testAccGraphServicesAccount_complete(t *testing.T) { data := acceptance.BuildTestData(t, "azurerm_graph_services_account", "test") r := AccountTestResource{} @@ -101,7 +77,7 @@ func testAccGraphAccount_complete(t *testing.T) { }) } -func testAccGraphAccount_update(t *testing.T) { +func testAccGraphServicesAccount_update(t *testing.T) { data := acceptance.BuildTestData(t, "azurerm_graph_services_account", "test") r := AccountTestResource{} @@ -129,6 +105,7 @@ func testAccGraphAccount_update(t *testing.T) { data.ImportStep(), }) } + func (r AccountTestResource) Exists(ctx context.Context, clients *clients.Client, state *pluginsdk.InstanceState) (*bool, error) { id, err := graphservicesprods.ParseAccountID(state.ID) if err != nil { @@ -143,18 +120,6 @@ func (r AccountTestResource) Exists(ctx context.Context, clients *clients.Client return utils.Bool(resp.Model != nil), nil } -func (r AccountTestResource) legacy(data acceptance.TestData) string { - return fmt.Sprintf(` -%s - -resource "azurerm_graph_account" "test" { - name = "acctesta-%[2]d" - application_id = "%[3]s" - resource_group_name = azurerm_resource_group.test.name -} -`, r.template(data), data.RandomInteger, os.Getenv("ARM_CLIENT_ID")) -} - func (r AccountTestResource) basic(data acceptance.TestData) string { return fmt.Sprintf(` %s @@ -207,9 +172,5 @@ resource "azurerm_resource_group" "test" { name = "acctestrg-graph-%d" location = %q } - -resource "azuread_application" "test" { - display_name = "acctestsap%[1]d" -} `, data.RandomInteger, data.Locations.Primary) } diff --git a/internal/services/graphservices/registration.go b/internal/services/graphservices/registration.go index 4b4242b47096..bbcfd369735f 100644 --- a/internal/services/graphservices/registration.go +++ b/internal/services/graphservices/registration.go @@ -4,7 +4,6 @@ package graphservices import ( - "github.com/hashicorp/terraform-provider-azurerm/internal/features" "github.com/hashicorp/terraform-provider-azurerm/internal/sdk" ) @@ -34,11 +33,7 @@ func (r Registration) DataSources() []sdk.DataSource { // Resources returns a list of Resources supported by this Service func (r Registration) Resources() []sdk.Resource { resources := []sdk.Resource{ - ServicesAccountResource{}, - } - - if !features.FourPointOhBeta() { - resources = append(resources, AccountResource{}) + AccountResource{}, } return resources diff --git a/internal/services/iothub/iothub_certificate_resource_test.go b/internal/services/iothub/iothub_certificate_resource_test.go index 5541f08b5566..af9439633b12 100644 --- a/internal/services/iothub/iothub_certificate_resource_test.go +++ b/internal/services/iothub/iothub_certificate_resource_test.go @@ -163,7 +163,7 @@ resource "azurerm_iothub" "test" { } resource "azurerm_iothub_certificate" "test" { - name = "acctestIoTCertificate-%d" + name = "acctestIoTHubCertificate-%d" resource_group_name = azurerm_resource_group.test.name iothub_name = azurerm_iothub.test.name is_verified = true diff --git a/internal/services/keyvault/key_vault_key_resource.go b/internal/services/keyvault/key_vault_key_resource.go index ae27c7c2d4dc..3c464f59ad72 100644 --- a/internal/services/keyvault/key_vault_key_resource.go +++ b/internal/services/keyvault/key_vault_key_resource.go @@ -265,21 +265,12 @@ func resourceKeyVaultKey() *pluginsdk.Resource { return false // If old or new values are not strings, don't force new } - // Parse old and new expiration dates - oldDate, err1 := time.Parse(time.RFC3339, oldDateStr) - newDate, err2 := time.Parse(time.RFC3339, newDateStr) - if err1 != nil || err2 != nil { - return false // If there are parsing errors, don't force new + // There isn't a way to remove the expiration date from a key so we'll recreate the resource when it's removed from config + if oldDateStr != "" && newDateStr == "" { + return true } - // Compare old and new expiration dates - if newDate.After(oldDate) { - // If the new expiration date is further in the future, allow update - return false - } - - // If the new expiration date is not further, force recreation - return true + return false }), ), } diff --git a/internal/services/keyvault/key_vault_key_resource_test.go b/internal/services/keyvault/key_vault_key_resource_test.go index de4920ad93ba..898bca11bcd7 100644 --- a/internal/services/keyvault/key_vault_key_resource_test.go +++ b/internal/services/keyvault/key_vault_key_resource_test.go @@ -137,6 +137,47 @@ func TestAccKeyVaultKey_complete(t *testing.T) { }) } +func TestAccKeyVaultKey_updateExpirationDate(t *testing.T) { + data := acceptance.BuildTestData(t, "azurerm_key_vault_key", "test") + r := KeyVaultKeyResource{} + + data.ResourceTest(t, r, []acceptance.TestStep{ + { + Config: r.complete(data), + Check: acceptance.ComposeTestCheckFunc( + check.That(data.ResourceName).ExistsInAzure(r), + check.That(data.ResourceName).Key("not_before_date").HasValue("2020-01-01T01:02:03Z"), + check.That(data.ResourceName).Key("expiration_date").HasValue("2021-01-01T01:02:03Z"), + check.That(data.ResourceName).Key("tags.%").HasValue("1"), + check.That(data.ResourceName).Key("tags.hello").HasValue("world"), + check.That(data.ResourceName).Key("versionless_id").HasValue(fmt.Sprintf("https://acctestkv-%s.vault.azure.net/keys/key-%s", data.RandomString, data.RandomString)), + ), + }, + data.ImportStep("key_size", "key_vault_id"), + { + Config: r.expirationDate(data, "2021-01-01T01:02:03Z"), + Check: acceptance.ComposeTestCheckFunc( + check.That(data.ResourceName).ExistsInAzure(r), + ), + }, + data.ImportStep("key_size", "key_vault_id"), + { + Config: r.expirationDate(data, "2022-01-01T01:02:03Z"), + Check: acceptance.ComposeTestCheckFunc( + check.That(data.ResourceName).ExistsInAzure(r), + ), + }, + data.ImportStep("key_size", "key_vault_id"), + { + Config: r.expirationDate(data, "2021-01-01T01:02:03Z"), + Check: acceptance.ComposeTestCheckFunc( + check.That(data.ResourceName).ExistsInAzure(r), + ), + }, + data.ImportStep("key_size", "key_vault_id"), + }) +} + func TestAccKeyVaultKey_softDeleteRecovery(t *testing.T) { data := acceptance.BuildTestData(t, "azurerm_key_vault_key", "test") r := KeyVaultKeyResource{} @@ -643,6 +684,38 @@ resource "azurerm_key_vault_key" "test" { `, r.templateStandard(data), data.RandomString) } +func (r KeyVaultKeyResource) expirationDate(data acceptance.TestData, expirationDate string) string { + return fmt.Sprintf(` +provider "azurerm" { + features {} +} + +%s + +resource "azurerm_key_vault_key" "test" { + name = "key-%s" + key_vault_id = azurerm_key_vault.test.id + key_type = "RSA" + key_size = 2048 + not_before_date = "2020-01-01T01:02:03Z" + expiration_date = "%s" + + key_opts = [ + "decrypt", + "encrypt", + "sign", + "unwrapKey", + "verify", + "wrapKey", + ] + + tags = { + "hello" = "world" + } +} +`, r.templateStandard(data), data.RandomString, expirationDate) +} + func (r KeyVaultKeyResource) basicUpdated(data acceptance.TestData) string { return fmt.Sprintf(` provider "azurerm" { diff --git a/internal/services/kusto/kusto_cosmosdb_data_connection_resource.go b/internal/services/kusto/kusto_cosmosdb_data_connection_resource.go index ebdf1c425279..6f952bee0a30 100644 --- a/internal/services/kusto/kusto_cosmosdb_data_connection_resource.go +++ b/internal/services/kusto/kusto_cosmosdb_data_connection_resource.go @@ -13,7 +13,7 @@ import ( "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" "github.com/hashicorp/go-azure-helpers/resourcemanager/commonschema" "github.com/hashicorp/go-azure-helpers/resourcemanager/location" - "github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb" + "github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb" "github.com/hashicorp/go-azure-sdk/resource-manager/kusto/2023-08-15/dataconnections" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "github.com/hashicorp/terraform-provider-azurerm/helpers/azure" diff --git a/internal/services/legacy/virtual_machine_resource.go b/internal/services/legacy/virtual_machine_resource.go index 7eae820bbea0..dc5f34b33a19 100644 --- a/internal/services/legacy/virtual_machine_resource.go +++ b/internal/services/legacy/virtual_machine_resource.go @@ -22,8 +22,8 @@ import ( "github.com/hashicorp/go-azure-helpers/resourcemanager/tags" "github.com/hashicorp/go-azure-sdk/resource-manager/compute/2023-04-02/disks" "github.com/hashicorp/go-azure-sdk/resource-manager/compute/2024-03-01/virtualmachines" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses" "github.com/hashicorp/terraform-provider-azurerm/helpers/tf" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" "github.com/hashicorp/terraform-provider-azurerm/internal/locks" diff --git a/internal/services/loadtestservice/load_test_resource.go b/internal/services/loadtestservice/load_test_resource.go index bb74494aca0f..f344fb45cd30 100644 --- a/internal/services/loadtestservice/load_test_resource.go +++ b/internal/services/loadtestservice/load_test_resource.go @@ -67,7 +67,6 @@ func (r LoadTestResource) Arguments() map[string]*pluginsdk.Schema { }, "resource_group_name": commonschema.ResourceGroupName(), "description": { - ForceNew: true, Optional: true, Type: pluginsdk.TypeString, }, @@ -185,6 +184,9 @@ func (r LoadTestResource) Read() sdk.ResourceFunc { if err := r.mapLoadTestResourceToLoadTestResourceSchema(*model, &schema); err != nil { return fmt.Errorf("flattening model: %+v", err) } + if property := model.Properties; property != nil { + schema.Description = pointer.From(property.Description) + } } return metadata.Encode(&schema) @@ -344,6 +346,10 @@ func (r LoadTestResource) mapLoadTestResourceSchemaToLoadTestResourceUpdate(inpu output.Identity = identity output.Tags = tags.Expand(input.Tags) + + output.Properties = &loadtests.LoadTestResourceUpdateProperties{ + Description: pointer.To(input.Description), + } return nil } diff --git a/internal/services/logic/integration_service_environment.go b/internal/services/logic/integration_service_environment.go index c5076979184c..1ad39df184a4 100644 --- a/internal/services/logic/integration_service_environment.go +++ b/internal/services/logic/integration_service_environment.go @@ -18,7 +18,7 @@ import ( "github.com/hashicorp/go-azure-helpers/resourcemanager/location" "github.com/hashicorp/go-azure-helpers/resourcemanager/tags" "github.com/hashicorp/go-azure-sdk/resource-manager/logic/2019-05-01/integrationserviceenvironments" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks" "github.com/hashicorp/terraform-provider-azurerm/helpers/azure" "github.com/hashicorp/terraform-provider-azurerm/helpers/tf" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" diff --git a/internal/services/logic/logic_app_trigger_recurrence_resource.go b/internal/services/logic/logic_app_trigger_recurrence_resource.go index d200b6861517..3de29b838b08 100644 --- a/internal/services/logic/logic_app_trigger_recurrence_resource.go +++ b/internal/services/logic/logic_app_trigger_recurrence_resource.go @@ -57,7 +57,6 @@ func resourceLogicAppTriggerRecurrence() *pluginsdk.Resource { "Day", "Hour", "Minute", - "Hour", "Second", }, false), }, diff --git a/internal/services/machinelearning/client/client.go b/internal/services/machinelearning/client/client.go index 32eeed008b47..4d6385828281 100644 --- a/internal/services/machinelearning/client/client.go +++ b/internal/services/machinelearning/client/client.go @@ -8,6 +8,7 @@ import ( "github.com/hashicorp/go-azure-sdk/resource-manager/machinelearningservices/2024-04-01/datastore" "github.com/hashicorp/go-azure-sdk/resource-manager/machinelearningservices/2024-04-01/machinelearningcomputes" + "github.com/hashicorp/go-azure-sdk/resource-manager/machinelearningservices/2024-04-01/managednetwork" "github.com/hashicorp/go-azure-sdk/resource-manager/machinelearningservices/2024-04-01/workspaces" "github.com/hashicorp/terraform-provider-azurerm/internal/common" ) @@ -16,6 +17,7 @@ type Client struct { Datastore *datastore.DatastoreClient MachineLearningComputes *machinelearningcomputes.MachineLearningComputesClient Workspaces *workspaces.WorkspacesClient + ManagedNetwork *managednetwork.ManagedNetworkClient } func NewClient(o *common.ClientOptions) (*Client, error) { @@ -37,9 +39,16 @@ func NewClient(o *common.ClientOptions) (*Client, error) { } o.Configure(computesClient.Client, o.Authorizers.ResourceManager) + managedNetworkClient, err := managednetwork.NewManagedNetworkClientWithBaseURI(o.Environment.ResourceManager) + if err != nil { + return nil, fmt.Errorf("building MachineLearningNetwork client: %+v", err) + } + o.Configure(managedNetworkClient.Client, o.Authorizers.ResourceManager) + return &Client{ MachineLearningComputes: computesClient, Datastore: datastoreClient, Workspaces: workspacesClient, + ManagedNetwork: managedNetworkClient, }, nil } diff --git a/internal/services/machinelearning/machine_learning_workspace_network_outbound_rule_fqdn_resource.go b/internal/services/machinelearning/machine_learning_workspace_network_outbound_rule_fqdn_resource.go new file mode 100644 index 000000000000..5d619f764067 --- /dev/null +++ b/internal/services/machinelearning/machine_learning_workspace_network_outbound_rule_fqdn_resource.go @@ -0,0 +1,231 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + +package machinelearning + +import ( + "context" + "fmt" + "time" + + "github.com/hashicorp/go-azure-helpers/lang/pointer" + "github.com/hashicorp/go-azure-helpers/lang/response" + "github.com/hashicorp/go-azure-sdk/resource-manager/machinelearningservices/2024-04-01/managednetwork" + "github.com/hashicorp/go-azure-sdk/resource-manager/machinelearningservices/2024-04-01/workspaces" + "github.com/hashicorp/terraform-provider-azurerm/helpers/tf" + "github.com/hashicorp/terraform-provider-azurerm/internal/sdk" + "github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk" + "github.com/hashicorp/terraform-provider-azurerm/internal/tf/validation" +) + +var _ sdk.ResourceWithUpdate = WorkspaceNetworkOutboundRuleFqdn{} + +type machineLearningWorkspaceOutboundRuleFqdnModel struct { + Name string `tfschema:"name"` + WorkspaceId string `tfschema:"workspace_id"` + Destination string `tfschema:"destination_fqdn"` +} + +type WorkspaceNetworkOutboundRuleFqdn struct{} + +var _ sdk.Resource = WorkspaceNetworkOutboundRuleFqdn{} + +func (r WorkspaceNetworkOutboundRuleFqdn) ResourceType() string { + return "azurerm_machine_learning_workspace_network_outbound_rule_fqdn" +} + +func (r WorkspaceNetworkOutboundRuleFqdn) ModelObject() interface{} { + return &machineLearningWorkspaceOutboundRuleFqdnModel{} +} + +func (r WorkspaceNetworkOutboundRuleFqdn) IDValidationFunc() pluginsdk.SchemaValidateFunc { + return managednetwork.ValidateOutboundRuleID +} + +func (r WorkspaceNetworkOutboundRuleFqdn) Arguments() map[string]*pluginsdk.Schema { + arguments := map[string]*pluginsdk.Schema{ + "name": { + Type: pluginsdk.TypeString, + Required: true, + ForceNew: true, + ValidateFunc: validation.StringIsNotEmpty, + }, + + "workspace_id": { + Type: pluginsdk.TypeString, + Required: true, + ForceNew: true, + ValidateFunc: managednetwork.ValidateWorkspaceID, + }, + + "destination_fqdn": { + Type: pluginsdk.TypeString, + Required: true, + ValidateFunc: validation.StringIsNotEmpty, + }, + } + return arguments +} + +func (r WorkspaceNetworkOutboundRuleFqdn) Attributes() map[string]*pluginsdk.Schema { + return map[string]*pluginsdk.Schema{} +} + +func (r WorkspaceNetworkOutboundRuleFqdn) Create() sdk.ResourceFunc { + return sdk.ResourceFunc{ + Timeout: 30 * time.Minute, + Func: func(ctx context.Context, metadata sdk.ResourceMetaData) error { + var model machineLearningWorkspaceOutboundRuleFqdnModel + if err := metadata.Decode(&model); err != nil { + return fmt.Errorf("decoding: %+v", err) + } + + client := metadata.Client.MachineLearning.ManagedNetwork + subscriptionId := metadata.Client.Account.SubscriptionId + + workspaceId, err := managednetwork.ParseWorkspaceID(model.WorkspaceId) + if err != nil { + return err + } + id := managednetwork.NewOutboundRuleID(subscriptionId, workspaceId.ResourceGroupName, workspaceId.WorkspaceName, model.Name) + existing, err := client.SettingsRuleGet(ctx, id) + if err != nil { + if !response.WasNotFound(existing.HttpResponse) { + return fmt.Errorf("checking for presence of existing %s: %+v", id, err) + } + } + if !response.WasNotFound(existing.HttpResponse) { + return tf.ImportAsExistsError("azurerm_machine_learning_workspace_network_outbound_rule_fqdn", id.ID()) + } + + outboundRule := managednetwork.OutboundRuleBasicResource{ + Name: pointer.To(model.Name), + Type: pointer.To(string(managednetwork.RuleTypeFQDN)), + Properties: managednetwork.FqdnOutboundRule{ + Category: pointer.To(managednetwork.RuleCategoryUserDefined), + Destination: &model.Destination, + }, + } + + if err = client.SettingsRuleCreateOrUpdateThenPoll(ctx, id, outboundRule); err != nil { + return fmt.Errorf("creating %s: %+v", id, err) + } + + metadata.SetID(id) + return nil + }, + } +} + +func (r WorkspaceNetworkOutboundRuleFqdn) Update() sdk.ResourceFunc { + return sdk.ResourceFunc{ + Timeout: 30 * time.Minute, + Func: func(ctx context.Context, metadata sdk.ResourceMetaData) error { + var model machineLearningWorkspaceOutboundRuleFqdnModel + if err := metadata.Decode(&model); err != nil { + return fmt.Errorf("decoding: %+v", err) + } + + client := metadata.Client.MachineLearning.ManagedNetwork + id, err := managednetwork.ParseOutboundRuleID(metadata.ResourceData.Id()) + if err != nil { + return err + } + + existing, err := client.SettingsRuleGet(ctx, *id) + if err != nil { + return fmt.Errorf("retrieving %s: %+v", id, err) + } + + if existing.Model == nil { + return fmt.Errorf("retrieving %s: `model` was nil", id) + } + + if existing.Model.Properties == nil { + return fmt.Errorf("retrieving %s: `properties` was nil", id) + } + + payload := existing.Model + + if metadata.ResourceData.HasChange("destination_fqdn") { + payload.Properties = managednetwork.FqdnOutboundRule{ + Destination: &model.Destination, + } + } + + if err = client.SettingsRuleCreateOrUpdateThenPoll(ctx, *id, *payload); err != nil { + return fmt.Errorf("updating %s: %+v", id, err) + } + return nil + }, + } +} + +func (r WorkspaceNetworkOutboundRuleFqdn) Read() sdk.ResourceFunc { + return sdk.ResourceFunc{ + Timeout: 5 * time.Minute, + Func: func(ctx context.Context, metadata sdk.ResourceMetaData) error { + client := metadata.Client.MachineLearning.ManagedNetwork + + id, err := managednetwork.ParseOutboundRuleID(metadata.ResourceData.Id()) + if err != nil { + return err + } + + resp, err := client.SettingsRuleGet(ctx, *id) + if err != nil { + if response.WasNotFound(resp.HttpResponse) { + return metadata.MarkAsGone(id) + } + + return fmt.Errorf("retrieving %s: %+v", *id, err) + } + + model := resp.Model + if model == nil { + return fmt.Errorf("retrieving %s: model was nil", id) + } + + state := machineLearningWorkspaceOutboundRuleFqdnModel{ + Name: id.OutboundRuleName, + } + + if props := model.Properties; props != nil { + if prop, ok := props.(managednetwork.FqdnOutboundRule); ok { + if prop.Destination != nil { + state.Destination = *prop.Destination + } + } + } + + state.WorkspaceId = workspaces.NewWorkspaceID(metadata.Client.Account.SubscriptionId, id.ResourceGroupName, id.WorkspaceName).ID() + + return metadata.Encode(&state) + }, + } +} + +func (r WorkspaceNetworkOutboundRuleFqdn) Delete() sdk.ResourceFunc { + return sdk.ResourceFunc{ + Timeout: 30 * time.Minute, + Func: func(ctx context.Context, metadata sdk.ResourceMetaData) error { + client := metadata.Client.MachineLearning.ManagedNetwork + + id, err := managednetwork.ParseOutboundRuleID(metadata.ResourceData.Id()) + if err != nil { + return err + } + + future, err := client.SettingsRuleDelete(ctx, *id) + if err != nil { + return fmt.Errorf("deleting Machine Learning Workspace FQDN Network Outbound Rule %q (Resource Group %q, Workspace %q): %+v", id.OutboundRuleName, id.ResourceGroupName, id.WorkspaceName, err) + } + + if err = future.Poller.PollUntilDone(ctx); err != nil { + return fmt.Errorf("waiting for deletion of Machine Learning Workspace FQDN Network Outbound Rule %q (Resource Group %q, Workspace %q): %+v", id.OutboundRuleName, id.ResourceGroupName, id.WorkspaceName, err) + } + + return nil + }, + } +} diff --git a/internal/services/machinelearning/machine_learning_workspace_network_outbound_rule_fqdn_resource_test.go b/internal/services/machinelearning/machine_learning_workspace_network_outbound_rule_fqdn_resource_test.go new file mode 100644 index 000000000000..c825ff955cc0 --- /dev/null +++ b/internal/services/machinelearning/machine_learning_workspace_network_outbound_rule_fqdn_resource_test.go @@ -0,0 +1,240 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + +package machinelearning_test + +import ( + "context" + "fmt" + "testing" + + "github.com/hashicorp/go-azure-helpers/lang/response" + "github.com/hashicorp/go-azure-sdk/resource-manager/machinelearningservices/2024-04-01/managednetwork" + "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" + "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" + "github.com/hashicorp/terraform-provider-azurerm/internal/clients" + "github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk" + "github.com/hashicorp/terraform-provider-azurerm/utils" +) + +type WorkspaceNetworkOutboundRuleFqdnResource struct{} + +func TestAccMachineLearningWorkspaceNetworkOutboundRuleFqdn_basic(t *testing.T) { + data := acceptance.BuildTestData(t, "azurerm_machine_learning_workspace_network_outbound_rule_fqdn", "test") + r := WorkspaceNetworkOutboundRuleFqdnResource{} + + data.ResourceTest(t, r, []acceptance.TestStep{ + { + Config: r.basic(data), + Check: acceptance.ComposeTestCheckFunc( + check.That(data.ResourceName).ExistsInAzure(r), + check.That(data.ResourceName).Key("destination_fqdn").Exists(), + ), + }, + data.ImportStep(), + }) +} + +func TestAccMachineLearningWorkspaceNetworkOutboundRuleFqdn_update(t *testing.T) { + data := acceptance.BuildTestData(t, "azurerm_machine_learning_workspace_network_outbound_rule_fqdn", "test") + r := WorkspaceNetworkOutboundRuleFqdnResource{} + + data.ResourceTest(t, r, []acceptance.TestStep{ + { + Config: r.basic(data), + Check: acceptance.ComposeTestCheckFunc( + check.That(data.ResourceName).ExistsInAzure(r), + check.That(data.ResourceName).Key("destination_fqdn").Exists(), + ), + }, + data.ImportStep(), + { + Config: r.update(data), + Check: acceptance.ComposeTestCheckFunc( + check.That(data.ResourceName).ExistsInAzure(r), + check.That(data.ResourceName).Key("destination_fqdn").HasValue("destinationupdate"), + ), + }, + data.ImportStep(), + }) +} + +func TestAccMachineLearningWorkspaceNetworkOutboundRuleFqdn_requiresImport(t *testing.T) { + data := acceptance.BuildTestData(t, "azurerm_machine_learning_workspace_network_outbound_rule_fqdn", "test") + r := WorkspaceNetworkOutboundRuleFqdnResource{} + + data.ResourceTest(t, r, []acceptance.TestStep{ + { + Config: r.basic(data), + Check: acceptance.ComposeTestCheckFunc( + check.That(data.ResourceName).ExistsInAzure(r), + check.That(data.ResourceName).Key("destination_fqdn").Exists(), + ), + }, + data.RequiresImportErrorStep(r.requiresImport), + }) +} + +func (r WorkspaceNetworkOutboundRuleFqdnResource) Exists(ctx context.Context, client *clients.Client, state *pluginsdk.InstanceState) (*bool, error) { + maangedNetworkClient := client.MachineLearning.ManagedNetwork + id, err := managednetwork.ParseOutboundRuleID(state.ID) + if err != nil { + return nil, err + } + + resp, err := maangedNetworkClient.SettingsRuleGet(ctx, *id) + if err != nil { + if response.WasNotFound(resp.HttpResponse) { + return utils.Bool(false), nil + } + return nil, fmt.Errorf("retrieving Machine Learning Workspace Outbound Rule FQDN %q: %+v", state.ID, err) + } + + return utils.Bool(resp.Model.Properties != nil), nil +} + +func (r WorkspaceNetworkOutboundRuleFqdnResource) template(data acceptance.TestData) string { + return fmt.Sprintf(` +data "azurerm_client_config" "current" {} + +resource "azurerm_resource_group" "test" { + name = "acctestRG-ml-%[1]d" + location = "%[2]s" +} + +resource "azurerm_application_insights" "test" { + name = "acctestai-%[1]d" + location = azurerm_resource_group.test.location + resource_group_name = azurerm_resource_group.test.name + application_type = "web" +} + +resource "azurerm_key_vault" "test" { + name = "acctestvault%[3]s" + location = azurerm_resource_group.test.location + resource_group_name = azurerm_resource_group.test.name + tenant_id = data.azurerm_client_config.current.tenant_id + sku_name = "standard" + purge_protection_enabled = true +} + +resource "azurerm_key_vault_access_policy" "test" { + key_vault_id = azurerm_key_vault.test.id + tenant_id = data.azurerm_client_config.current.tenant_id + object_id = data.azurerm_client_config.current.object_id + + key_permissions = [ + "Create", + "Get", + "Delete", + "Purge", + "GetRotationPolicy", + ] +} + +resource "azurerm_storage_account" "test" { + name = "acctestsa%[4]d" + location = azurerm_resource_group.test.location + resource_group_name = azurerm_resource_group.test.name + account_tier = "Standard" + account_replication_type = "LRS" +} +`, data.RandomInteger, data.Locations.Primary, data.RandomString, data.RandomIntOfLength(10)) +} + +func (r WorkspaceNetworkOutboundRuleFqdnResource) basic(data acceptance.TestData) string { + template := r.template(data) + return fmt.Sprintf(` +provider "azurerm" { + features { + key_vault { + purge_soft_delete_on_destroy = false + purge_soft_deleted_keys_on_destroy = false + } + resource_group { + prevent_deletion_if_contains_resources = false + } + } +} + +%[1]s + +resource "azurerm_machine_learning_workspace" "test" { + name = "acctest-MLW-%[2]d" + location = azurerm_resource_group.test.location + resource_group_name = azurerm_resource_group.test.name + application_insights_id = azurerm_application_insights.test.id + key_vault_id = azurerm_key_vault.test.id + storage_account_id = azurerm_storage_account.test.id + + managed_network { + isolation_mode = "AllowOnlyApprovedOutbound" + } + + identity { + type = "SystemAssigned" + } +} + +resource "azurerm_machine_learning_workspace_network_outbound_rule_fqdn" "test" { + name = "acctest-MLW-outboundrule-%[3]s" + workspace_id = azurerm_machine_learning_workspace.test.id + destination_fqdn = "destination" +} +`, template, data.RandomInteger, data.RandomString) +} + +func (r WorkspaceNetworkOutboundRuleFqdnResource) update(data acceptance.TestData) string { + template := r.template(data) + return fmt.Sprintf(` +provider "azurerm" { + features { + key_vault { + purge_soft_delete_on_destroy = false + purge_soft_deleted_keys_on_destroy = false + } + resource_group { + prevent_deletion_if_contains_resources = false + } + } +} + +%[1]s + +resource "azurerm_machine_learning_workspace" "test" { + name = "acctest-MLW-%[2]d" + location = azurerm_resource_group.test.location + resource_group_name = azurerm_resource_group.test.name + application_insights_id = azurerm_application_insights.test.id + key_vault_id = azurerm_key_vault.test.id + storage_account_id = azurerm_storage_account.test.id + + managed_network { + isolation_mode = "AllowOnlyApprovedOutbound" + } + + identity { + type = "SystemAssigned" + } +} + +resource "azurerm_machine_learning_workspace_network_outbound_rule_fqdn" "test" { + name = "acctest-MLW-outboundrule-%[3]s" + workspace_id = azurerm_machine_learning_workspace.test.id + destination_fqdn = "destinationupdate" +} +`, template, data.RandomInteger, data.RandomString) +} + +func (r WorkspaceNetworkOutboundRuleFqdnResource) requiresImport(data acceptance.TestData) string { + template := r.basic(data) + return fmt.Sprintf(` +%s + +resource "azurerm_machine_learning_workspace_network_outbound_rule_fqdn" "import" { + name = azurerm_machine_learning_workspace_network_outbound_rule_fqdn.test.name + workspace_id = azurerm_machine_learning_workspace_network_outbound_rule_fqdn.test.workspace_id + destination_fqdn = azurerm_machine_learning_workspace_network_outbound_rule_fqdn.test.destination_fqdn +} +`, template) +} diff --git a/internal/services/machinelearning/registration.go b/internal/services/machinelearning/registration.go index 72f68b379622..ffcb53b87cf5 100644 --- a/internal/services/machinelearning/registration.go +++ b/internal/services/machinelearning/registration.go @@ -57,5 +57,6 @@ func (r Registration) Resources() []sdk.Resource { MachineLearningDataStoreBlobStorage{}, MachineLearningDataStoreDataLakeGen2{}, MachineLearningDataStoreFileShare{}, + WorkspaceNetworkOutboundRuleFqdn{}, } } diff --git a/internal/services/managedapplications/managed_application_definition_resource.go b/internal/services/managedapplications/managed_application_definition_resource.go index 77d7612c8b35..612176b3276c 100644 --- a/internal/services/managedapplications/managed_application_definition_resource.go +++ b/internal/services/managedapplications/managed_application_definition_resource.go @@ -216,11 +216,21 @@ func resourceManagedApplicationDefinitionUpdate(d *pluginsdk.ResourceData, meta } if d.HasChange("create_ui_definition") { - payload.Properties.CreateUiDefinition = pointer.To(d.Get("create_ui_definition")) + // handle API error: The 'MainTemplate, CreateUiDefinition' properties should be empty if package zip file uri is provided. + if v, ok := d.GetOk("create_ui_definition"); ok { + payload.Properties.CreateUiDefinition = pointer.To(v) + } else { + payload.Properties.CreateUiDefinition = nil + } } if d.HasChange("main_template") { - payload.Properties.MainTemplate = pointer.To(d.Get("main_template")) + // handle API error: The 'MainTemplate, CreateUiDefinition' properties should be empty if package zip file uri is provided. + if v, ok := d.GetOk("main_template"); ok { + payload.Properties.MainTemplate = pointer.To(v) + } else { + payload.Properties.MainTemplate = nil + } } if d.HasChange("package_file_uri") { diff --git a/internal/services/managedapplications/managed_application_definition_resource_test.go b/internal/services/managedapplications/managed_application_definition_resource_test.go index d4dea33ee231..ec37445b313e 100644 --- a/internal/services/managedapplications/managed_application_definition_resource_test.go +++ b/internal/services/managedapplications/managed_application_definition_resource_test.go @@ -162,7 +162,7 @@ resource "azurerm_managed_application_definition" "test" { name = "acctestAppDef%d" location = azurerm_resource_group.test.location resource_group_name = azurerm_resource_group.test.name - lock_level = "ReadOnly" + lock_level = "None" display_name = "UpdatedTestManagedApplicationDefinition" description = "Updated Test Managed Application Definition" package_enabled = true diff --git a/internal/services/managedapplications/managed_application_resource_test.go b/internal/services/managedapplications/managed_application_resource_test.go index 732bcb721c6e..218b089925d3 100644 --- a/internal/services/managedapplications/managed_application_resource_test.go +++ b/internal/services/managedapplications/managed_application_resource_test.go @@ -15,6 +15,7 @@ import ( "github.com/hashicorp/go-azure-sdk/resource-manager/marketplaceordering/2015-06-01/agreements" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" + "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/testclient" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" "github.com/hashicorp/terraform-provider-azurerm/internal/features" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk" @@ -195,12 +196,11 @@ func TestAccManagedApplication_plan(t *testing.T) { data.ResourceTest(t, r, []acceptance.TestStep{ { - Config: r.empty(), - Check: acceptance.ComposeTestCheckFunc( - data.CheckWithClientWithoutResource(r.cancelExistingAgreement(publisher, offer, plan)), - ), - }, - { + PreConfig: func() { + if err := r.cancelExistingAgreement(t, publisher, offer, plan); err != nil { + t.Fatalf("Failed to cancel existing agreement with error: %+v", err) + } + }, Config: r.plan(data, publisher, offer, plan), Check: acceptance.ComposeTestCheckFunc( check.That(data.ResourceName).ExistsInAzure(r), @@ -701,43 +701,39 @@ resource "azurerm_managed_application_definition" "test" { `, data.Locations.Primary, data.RandomInteger, parameters) } -func (ManagedApplicationResource) empty() string { - return ` -provider "azurerm" { - features {} -} -` -} +func (ManagedApplicationResource) cancelExistingAgreement(t *testing.T, publisher string, offer string, plan string) error { + clientManager, err := testclient.Build() + if err != nil { + t.Fatalf("building client: %+v", err) + } -func (ManagedApplicationResource) cancelExistingAgreement(publisher string, offer string, plan string) acceptance.ClientCheckFunc { - return func(ctx context.Context, clients *clients.Client, state *pluginsdk.InstanceState) error { - client := clients.Compute.MarketplaceAgreementsClient - subscriptionId := clients.Account.SubscriptionId - ctx, cancel := context.WithDeadline(ctx, time.Now().Add(15*time.Minute)) - defer cancel() + ctx, cancel := context.WithDeadline(clientManager.StopContext, time.Now().Add(15*time.Minute)) + defer cancel() - idGet := agreements.NewOfferPlanID(subscriptionId, publisher, offer, plan) - idCancel := agreements.NewPlanID(subscriptionId, publisher, offer, plan) + client := clientManager.Compute.MarketplaceAgreementsClient + subscriptionId := clientManager.Account.SubscriptionId - existing, err := client.MarketplaceAgreementsGet(ctx, idGet) - if err != nil { - return err - } + idGet := agreements.NewOfferPlanID(subscriptionId, publisher, offer, plan) + idCancel := agreements.NewPlanID(subscriptionId, publisher, offer, plan) - if model := existing.Model; model != nil { - if props := model.Properties; props != nil { - if accepted := props.Accepted; accepted != nil && *accepted { - resp, err := client.MarketplaceAgreementsCancel(ctx, idCancel) - if err != nil { - if response.WasNotFound(resp.HttpResponse) { - return fmt.Errorf("marketplace agreement %q does not exist", idGet) - } - return fmt.Errorf("canceling %s: %+v", idGet, err) + existing, err := client.MarketplaceAgreementsGet(ctx, idGet) + if err != nil { + return fmt.Errorf("retrieving %s: %s", idGet, err) + } + + if model := existing.Model; model != nil { + if props := model.Properties; props != nil { + if accepted := props.Accepted; accepted != nil && *accepted { + resp, err := client.MarketplaceAgreementsCancel(ctx, idCancel) + if err != nil { + if response.WasNotFound(resp.HttpResponse) { + return fmt.Errorf("marketplace agreement %q does not exist", idGet) } + return fmt.Errorf("canceling %s: %+v", idGet, err) } } } - - return nil } + + return nil } diff --git a/internal/services/managedhsm/key_vault_managed_hardware_security_module_resource_test.go b/internal/services/managedhsm/key_vault_managed_hardware_security_module_resource_test.go index 33551fc3b58b..98ff5646acf9 100644 --- a/internal/services/managedhsm/key_vault_managed_hardware_security_module_resource_test.go +++ b/internal/services/managedhsm/key_vault_managed_hardware_security_module_resource_test.go @@ -35,20 +35,12 @@ func TestAccKeyVaultManagedHardwareSecurityModule(t *testing.T) { "roleAssignments": { "builtInRole": testAccKeyVaultManagedHardwareSecurityModuleRoleAssignment_builtInRole, "customRole": testAccKeyVaultManagedHardwareSecurityModuleRoleAssignment_customRole, - - // TODO: uses `vault_base_url`, these 2 can be removed in 4.0 - "legacyBuiltInRole": testAccKeyVaultManagedHardwareSecurityModuleRoleAssignment_legacyBuiltInRole, - "legacyCustomRole": testAccKeyVaultManagedHardwareSecurityModuleRoleAssignment_legacyCustomRole, }, "roleDefinitions": { "basic": testAccKeyVaultManagedHardwareSecurityModuleRoleDefinition_basic, - - // TODO: uses `vault_base_url`, this can be removed in 4.0 - "legacyWithUpdate": testAccKeyVaultManagedHardwareSecurityModuleRoleDefinition_legacyWithUpdate, }, "roleDefinitionDataSource": { - "basic": testAccDataSourceKeyVaultManagedHardwareSecurityModuleRoleDefinition_basic, - "legacy": testAccDataSourceKeyVaultManagedHardwareSecurityModuleRoleDefinition_legacy, + "basic": testAccDataSourceKeyVaultManagedHardwareSecurityModuleRoleDefinition_basic, }, "keys": { "basic": testAccKeyVaultMHSMKey_basic, diff --git a/internal/services/managedhsm/key_vault_managed_hardware_security_module_role_assignment_resource_test.go b/internal/services/managedhsm/key_vault_managed_hardware_security_module_role_assignment_resource_test.go index 23283c8e3689..08e0fa9610a0 100644 --- a/internal/services/managedhsm/key_vault_managed_hardware_security_module_role_assignment_resource_test.go +++ b/internal/services/managedhsm/key_vault_managed_hardware_security_module_role_assignment_resource_test.go @@ -11,7 +11,6 @@ import ( "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" - "github.com/hashicorp/terraform-provider-azurerm/internal/features" "github.com/hashicorp/terraform-provider-azurerm/internal/services/managedhsm/parse" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk" "github.com/hashicorp/terraform-provider-azurerm/utils" @@ -51,44 +50,6 @@ func testAccKeyVaultManagedHardwareSecurityModuleRoleAssignment_customRole(t *te }) } -func testAccKeyVaultManagedHardwareSecurityModuleRoleAssignment_legacyBuiltInRole(t *testing.T) { - if features.FourPointOhBeta() { - t.Skipf("This test isn't applicable in 4.0") - } - - data := acceptance.BuildTestData(t, "azurerm_key_vault_managed_hardware_security_module_role_assignment", "test") - r := KeyVaultManagedHSMRoleAssignmentResource{} - - data.ResourceSequentialTest(t, r, []acceptance.TestStep{ - { - Config: r.legacyBuiltInRole(data), - Check: acceptance.ComposeTestCheckFunc( - check.That(data.ResourceName).ExistsInAzure(r), - ), - }, - data.ImportStep(), - }) -} - -func testAccKeyVaultManagedHardwareSecurityModuleRoleAssignment_legacyCustomRole(t *testing.T) { - if features.FourPointOhBeta() { - t.Skipf("This test isn't applicable in 4.0") - } - - data := acceptance.BuildTestData(t, "azurerm_key_vault_managed_hardware_security_module_role_assignment", "test") - r := KeyVaultManagedHSMRoleAssignmentResource{} - - data.ResourceSequentialTest(t, r, []acceptance.TestStep{ - { - Config: r.legacyCustomRole(data), - Check: acceptance.ComposeTestCheckFunc( - check.That(data.ResourceName).ExistsInAzure(r), - ), - }, - data.ImportStep(), - }) -} - // real test nested in TestAccKeyVaultManagedHardwareSecurityModule, only provide Exists logic here func (r KeyVaultManagedHSMRoleAssignmentResource) Exists(ctx context.Context, client *clients.Client, state *pluginsdk.InstanceState) (*bool, error) { domainSuffix, ok := client.Account.Environment.ManagedHSM.DomainSuffix() @@ -146,44 +107,3 @@ resource "azurerm_key_vault_managed_hardware_security_module_role_assignment" "t } `, KeyVaultMHSMRoleDefinitionResource{}.basic(data)) } - -func (r KeyVaultManagedHSMRoleAssignmentResource) legacyBuiltInRole(data acceptance.TestData) string { - return fmt.Sprintf(` -%s - -locals { - assignmentOfficerName = "706c03c7-69ad-33e5-2796-b3380d3a6e1a" -} - -data "azurerm_key_vault_managed_hardware_security_module_role_definition" "officer" { - vault_base_url = azurerm_key_vault_managed_hardware_security_module.test.hsm_uri - name = "515eb02d-2335-4d2d-92f2-b1cbdf9c3778" -} - -resource "azurerm_key_vault_managed_hardware_security_module_role_assignment" "test" { - managed_hsm_id = azurerm_key_vault_managed_hardware_security_module.test.id - name = local.assignmentOfficerName - scope = "/keys" - role_definition_id = data.azurerm_key_vault_managed_hardware_security_module_role_definition.officer.resource_manager_id - principal_id = data.azurerm_client_config.current.object_id -} -`, KeyVaultManagedHardwareSecurityModuleResource{}.download(data, 3)) -} - -func (r KeyVaultManagedHSMRoleAssignmentResource) legacyCustomRole(data acceptance.TestData) string { - return fmt.Sprintf(` -%s - -locals { - assignmentTestName = "1e243909-064c-6ac3-84e9-1c8bf8d6ad52" -} - -resource "azurerm_key_vault_managed_hardware_security_module_role_assignment" "test" { - managed_hsm_id = azurerm_key_vault_managed_hardware_security_module.test.id - name = local.assignmentTestName - scope = "/keys" - role_definition_id = azurerm_key_vault_managed_hardware_security_module_role_definition.test.resource_manager_id - principal_id = data.azurerm_client_config.current.object_id -} -`, KeyVaultMHSMRoleDefinitionResource{}.basic(data)) -} diff --git a/internal/services/managedhsm/key_vault_managed_hardware_security_module_role_definition_data_source_test.go b/internal/services/managedhsm/key_vault_managed_hardware_security_module_role_definition_data_source_test.go index 0422387b104a..0599f4e17158 100644 --- a/internal/services/managedhsm/key_vault_managed_hardware_security_module_role_definition_data_source_test.go +++ b/internal/services/managedhsm/key_vault_managed_hardware_security_module_role_definition_data_source_test.go @@ -9,7 +9,6 @@ import ( "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" - "github.com/hashicorp/terraform-provider-azurerm/internal/features" ) // TODO: check the UUIDs @@ -36,26 +35,6 @@ func testAccDataSourceKeyVaultManagedHardwareSecurityModuleRoleDefinition_basic( }) } -func testAccDataSourceKeyVaultManagedHardwareSecurityModuleRoleDefinition_legacy(t *testing.T) { - if !features.FourPointOhBeta() { - t.Skipf("no longer needed in v4.0") - } - - data := acceptance.BuildTestData(t, "data.azurerm_key_vault_managed_hardware_security_module_role_definition", "test") - r := KeyVaultManagedHardwareSecurityModuleRoleDefinitionDataSource{} - - data.DataSourceTestInSequence(t, []acceptance.TestStep{ - { - Config: r.legacy(data), - Check: acceptance.ComposeTestCheckFunc( - check.That(data.ResourceName).Key("name").Exists(), - check.That(data.ResourceName).Key("managed_hsm_id").Exists(), - check.That(data.ResourceName).Key("vault_base_url").Exists(), - ), - }, - }) -} - func (KeyVaultManagedHardwareSecurityModuleRoleDefinitionDataSource) basic(data acceptance.TestData) string { return fmt.Sprintf(` %s @@ -66,14 +45,3 @@ data "azurerm_key_vault_managed_hardware_security_module_role_definition" "test" } `, KeyVaultMHSMRoleDefinitionResource{}.basic(data)) } - -func (KeyVaultManagedHardwareSecurityModuleRoleDefinitionDataSource) legacy(data acceptance.TestData) string { - return fmt.Sprintf(` -%s - -data "azurerm_key_vault_managed_hardware_security_module_role_definition" "test" { - vault_base_url = azurerm_key_vault_managed_hardware_security_module.test.hsm_uri - name = "21dbd100-6940-42c2-9190-5d6cb909625b" -} -`, KeyVaultMHSMRoleDefinitionResource{}.basic(data)) -} diff --git a/internal/services/managedhsm/key_vault_managed_hardware_security_module_role_definition_resource_test.go b/internal/services/managedhsm/key_vault_managed_hardware_security_module_role_definition_resource_test.go index 579c875b4ccc..acd092ebef0f 100644 --- a/internal/services/managedhsm/key_vault_managed_hardware_security_module_role_definition_resource_test.go +++ b/internal/services/managedhsm/key_vault_managed_hardware_security_module_role_definition_resource_test.go @@ -40,28 +40,6 @@ func testAccKeyVaultManagedHardwareSecurityModuleRoleDefinition_basic(t *testing }) } -func testAccKeyVaultManagedHardwareSecurityModuleRoleDefinition_legacyWithUpdate(t *testing.T) { - data := acceptance.BuildTestData(t, "azurerm_key_vault_managed_hardware_security_module_role_definition", "test") - r := KeyVaultMHSMRoleDefinitionResource{} - - data.ResourceSequentialTest(t, r, []acceptance.TestStep{ - { - Config: r.legacy(data), - Check: acceptance.ComposeTestCheckFunc( - check.That(data.ResourceName).ExistsInAzure(r), - ), - }, - data.ImportStep(), - { - Config: r.legacyUpdate(data), - Check: acceptance.ComposeTestCheckFunc( - check.That(data.ResourceName).ExistsInAzure(r), - ), - }, - data.ImportStep(), - }) -} - // real test nested in TestAccKeyVaultManagedHardwareSecurityModule, only provide Exists logic here func (r KeyVaultMHSMRoleDefinitionResource) Exists(ctx context.Context, client *clients.Client, state *pluginsdk.InstanceState) (*bool, error) { domainSuffix, ok := client.Account.Environment.ManagedHSM.DomainSuffix() @@ -138,66 +116,6 @@ resource "azurerm_key_vault_managed_hardware_security_module_role_definition" "t `, r.template(data), data.RandomString) } -func (r KeyVaultMHSMRoleDefinitionResource) legacy(data acceptance.TestData) string { - return fmt.Sprintf(` - - -%s - -locals { - roleTestName = "c9562a52-2bd9-2671-3d89-cea5b4798a6b" -} - -resource "azurerm_key_vault_managed_hardware_security_module_role_definition" "test" { - name = local.roleTestName - vault_base_url = azurerm_key_vault_managed_hardware_security_module.test.hsm_uri - description = "desc foo" - permission { - data_actions = [ - "Microsoft.KeyVault/managedHsm/keys/read/action", - "Microsoft.KeyVault/managedHsm/keys/write/action", - "Microsoft.KeyVault/managedHsm/keys/encrypt/action", - "Microsoft.KeyVault/managedHsm/keys/create", - "Microsoft.KeyVault/managedHsm/keys/delete", - ] - not_data_actions = [ - "Microsoft.KeyVault/managedHsm/roleAssignments/read/action", - ] - } -} -`, r.template(data)) -} - -func (r KeyVaultMHSMRoleDefinitionResource) legacyUpdate(data acceptance.TestData) string { - return fmt.Sprintf(` - - -%s - -locals { - roleTestName = "c9562a52-2bd9-2671-3d89-cea5b4798a6b" -} - -resource "azurerm_key_vault_managed_hardware_security_module_role_definition" "test" { - name = local.roleTestName - vault_base_url = azurerm_key_vault_managed_hardware_security_module.test.hsm_uri - description = "desc foo2" - permission { - data_actions = [ - "Microsoft.KeyVault/managedHsm/keys/read/action", - "Microsoft.KeyVault/managedHsm/keys/write/action", - "Microsoft.KeyVault/managedHsm/keys/encrypt/action", - "Microsoft.KeyVault/managedHsm/keys/create", - ] - not_data_actions = [ - "Microsoft.KeyVault/managedHsm/roleAssignments/read/action", - "Microsoft.KeyVault/managedHsm/keys/delete", - ] - } -} -`, r.template(data)) -} - func (r KeyVaultMHSMRoleDefinitionResource) template(data acceptance.TestData) string { return KeyVaultManagedHardwareSecurityModuleResource{}.download(data, 3) } diff --git a/internal/services/mssql/mssql_database_resource.go b/internal/services/mssql/mssql_database_resource.go index 21bcd54ea8c3..a49ae464203b 100644 --- a/internal/services/mssql/mssql_database_resource.go +++ b/internal/services/mssql/mssql_database_resource.go @@ -286,7 +286,7 @@ func resourceMsSqlDatabaseCreate(d *pluginsdk.ResourceData, meta interface{}) er elasticPool, err := elasticPoolClient.Get(ctx, *elasticId) if err != nil { - return fmt.Errorf("retrieving %s: %s", elasticId, err) + return fmt.Errorf("retrieving %s: %v", elasticId, err) } if elasticPool.Model != nil { @@ -1078,7 +1078,24 @@ func resourceMsSqlDatabaseUpdate(d *pluginsdk.ResourceData, meta interface{}) er backupShortTermPolicy.Properties = backupShortTermPolicyProps } - if strings.HasPrefix(skuName, "HS") { + elasticPoolSku := "" + if elasticPoolId != "" { + elasticId, err := commonids.ParseSqlElasticPoolID(elasticPoolId) + if err != nil { + return err + } + + elasticPool, err := elasticPoolClient.Get(ctx, *elasticId) + if err != nil { + return fmt.Errorf("retrieving %s: %v", elasticId, err) + } + + if elasticPool.Model != nil && elasticPool.Model.Sku != nil { + elasticPoolSku = elasticPool.Model.Sku.Name + } + } + + if strings.HasPrefix(skuName, "HS") || strings.HasPrefix(elasticPoolSku, "HS") { backupShortTermPolicy.Properties.DiffBackupIntervalInHours = nil } diff --git a/internal/services/mssql/mssql_database_resource_test.go b/internal/services/mssql/mssql_database_resource_test.go index 033a4dfe36b5..0c4f92c5d186 100644 --- a/internal/services/mssql/mssql_database_resource_test.go +++ b/internal/services/mssql/mssql_database_resource_test.go @@ -1018,6 +1018,20 @@ func TestAccMsSqlDatabase_elasticPoolHS(t *testing.T) { ), }, data.ImportStep(), + { + Config: r.elasticPoolHSWithRetentionPolicy(data), + Check: acceptance.ComposeTestCheckFunc( + check.That(data.ResourceName).ExistsInAzure(r), + ), + }, + data.ImportStep(), + { + Config: r.elasticPoolHSWithRetentionPolicyUpdated(data), + Check: acceptance.ComposeTestCheckFunc( + check.That(data.ResourceName).ExistsInAzure(r), + ), + }, + data.ImportStep(), }) } @@ -2290,3 +2304,77 @@ resource "azurerm_mssql_database" "test" { } `, r.template(data), data.RandomInteger) } + +func (r MsSqlDatabaseResource) elasticPoolHSWithRetentionPolicy(data acceptance.TestData) string { + return fmt.Sprintf(` +%[1]s + +resource "azurerm_mssql_elasticpool" "test" { + name = "acctest-pool-%[2]d" + resource_group_name = azurerm_resource_group.test.name + location = azurerm_resource_group.test.location + server_name = azurerm_mssql_server.test.name + + sku { + name = "HS_Gen5" + tier = "Hyperscale" + family = "Gen5" + capacity = 4 + } + + per_database_settings { + min_capacity = 0.25 + max_capacity = 4 + } +} + +resource "azurerm_mssql_database" "test" { + name = "acctest-db-%[2]d" + server_id = azurerm_mssql_server.test.id + elastic_pool_id = azurerm_mssql_elasticpool.test.id + sku_name = "ElasticPool" + + short_term_retention_policy { + retention_days = 10 + } + +} +`, r.template(data), data.RandomInteger) +} + +func (r MsSqlDatabaseResource) elasticPoolHSWithRetentionPolicyUpdated(data acceptance.TestData) string { + return fmt.Sprintf(` +%[1]s + +resource "azurerm_mssql_elasticpool" "test" { + name = "acctest-pool-%[2]d" + resource_group_name = azurerm_resource_group.test.name + location = azurerm_resource_group.test.location + server_name = azurerm_mssql_server.test.name + + sku { + name = "HS_Gen5" + tier = "Hyperscale" + family = "Gen5" + capacity = 4 + } + + per_database_settings { + min_capacity = 0.25 + max_capacity = 4 + } +} + +resource "azurerm_mssql_database" "test" { + name = "acctest-db-%[2]d" + server_id = azurerm_mssql_server.test.id + elastic_pool_id = azurerm_mssql_elasticpool.test.id + sku_name = "ElasticPool" + + short_term_retention_policy { + retention_days = 12 + } + +} +`, r.template(data), data.RandomInteger) +} diff --git a/internal/services/mssqlmanagedinstance/mssql_managed_instance_resource.go b/internal/services/mssqlmanagedinstance/mssql_managed_instance_resource.go index 258f43832dca..54414e474f77 100644 --- a/internal/services/mssqlmanagedinstance/mssql_managed_instance_resource.go +++ b/internal/services/mssqlmanagedinstance/mssql_managed_instance_resource.go @@ -232,7 +232,6 @@ func (r MsSqlManagedInstanceResource) Arguments() map[string]*pluginsdk.Schema { "storage_account_type": { Type: pluginsdk.TypeString, Optional: true, - ForceNew: true, Default: StorageAccountTypeGRS, ValidateFunc: validation.StringInSlice([]string{ StorageAccountTypeGRS, @@ -408,14 +407,15 @@ func (r MsSqlManagedInstanceResource) Update() sdk.ResourceFunc { Identity: r.expandIdentity(state.Identity), Location: location.Normalize(state.Location), Properties: &managedinstances.ManagedInstanceProperties{ - DnsZonePartner: pointer.To(state.DnsZonePartnerId), - LicenseType: pointer.To(managedinstances.ManagedInstanceLicenseType(state.LicenseType)), - MinimalTlsVersion: pointer.To(state.MinimumTlsVersion), - ProxyOverride: pointer.To(managedinstances.ManagedInstanceProxyOverride(state.ProxyOverride)), - PublicDataEndpointEnabled: pointer.To(state.PublicDataEndpointEnabled), - StorageSizeInGB: pointer.To(state.StorageSizeInGb), - VCores: pointer.To(state.VCores), - ZoneRedundant: pointer.To(state.ZoneRedundantEnabled), + DnsZonePartner: pointer.To(state.DnsZonePartnerId), + LicenseType: pointer.To(managedinstances.ManagedInstanceLicenseType(state.LicenseType)), + MinimalTlsVersion: pointer.To(state.MinimumTlsVersion), + ProxyOverride: pointer.To(managedinstances.ManagedInstanceProxyOverride(state.ProxyOverride)), + PublicDataEndpointEnabled: pointer.To(state.PublicDataEndpointEnabled), + StorageSizeInGB: pointer.To(state.StorageSizeInGb), + RequestedBackupStorageRedundancy: pointer.To(storageAccTypeToBackupStorageRedundancy(state.StorageAccountType)), + VCores: pointer.To(state.VCores), + ZoneRedundant: pointer.To(state.ZoneRedundantEnabled), }, Tags: pointer.To(state.Tags), } diff --git a/internal/services/mssqlmanagedinstance/mssql_managed_instance_resource_test.go b/internal/services/mssqlmanagedinstance/mssql_managed_instance_resource_test.go index 2d420042cd9d..77153983e15e 100644 --- a/internal/services/mssqlmanagedinstance/mssql_managed_instance_resource_test.go +++ b/internal/services/mssqlmanagedinstance/mssql_managed_instance_resource_test.go @@ -272,6 +272,28 @@ func TestAccMsSqlManagedInstance_withServicePrincipal(t *testing.T) { }) } +func TestAccMsSqlManagedInstance_backupRedundancyUpdated(t *testing.T) { + data := acceptance.BuildTestData(t, "azurerm_mssql_managed_instance", "test") + r := MsSqlManagedInstanceResource{} + + data.ResourceTest(t, r, []acceptance.TestStep{ + { + Config: r.storageType(data, "GRS"), + Check: acceptance.ComposeTestCheckFunc( + check.That(data.ResourceName).ExistsInAzure(r), + ), + }, + data.ImportStep("administrator_login_password"), + { + Config: r.storageType(data, "GZRS"), + Check: acceptance.ComposeTestCheckFunc( + check.That(data.ResourceName).ExistsInAzure(r), + ), + }, + data.ImportStep("administrator_login_password"), + }) +} + func (r MsSqlManagedInstanceResource) Exists(ctx context.Context, client *clients.Client, state *pluginsdk.InstanceState) (*bool, error) { id, err := commonids.ParseSqlManagedInstanceID(state.ID) if err != nil { diff --git a/internal/services/mysql/client/client.go b/internal/services/mysql/client/client.go index 1a16b6afa4d2..fdc91c228fac 100644 --- a/internal/services/mysql/client/client.go +++ b/internal/services/mysql/client/client.go @@ -6,22 +6,22 @@ package client import ( "fmt" - flexibleServers_v2022_01_01 "github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01" - "github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/azureadadministrators" + flexibleServers_v2023_12_30 "github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30" + "github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/azureadadministrators" "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" "github.com/hashicorp/terraform-provider-azurerm/internal/common" ) type Client struct { - FlexibleServers *flexibleServers_v2022_01_01.Client + FlexibleServers *flexibleServers_v2023_12_30.Client // TODO: port over to using the Meta Client (which involves bumping the API Version) AzureADAdministratorsClient *azureadadministrators.AzureADAdministratorsClient } func NewClient(o *common.ClientOptions) (*Client, error) { - flexibleServersMetaClient, err := flexibleServers_v2022_01_01.NewClientWithBaseURI(o.Environment.ResourceManager, func(c *resourcemanager.Client) { + flexibleServersMetaClient, err := flexibleServers_v2023_12_30.NewClientWithBaseURI(o.Environment.ResourceManager, func(c *resourcemanager.Client) { o.Configure(c, o.Authorizers.ResourceManager) }) if err != nil { diff --git a/internal/services/mysql/mysql_flexible_database_resource.go b/internal/services/mysql/mysql_flexible_database_resource.go index 7bfbc55adaf1..dac5036c03ea 100644 --- a/internal/services/mysql/mysql_flexible_database_resource.go +++ b/internal/services/mysql/mysql_flexible_database_resource.go @@ -10,7 +10,7 @@ import ( "github.com/hashicorp/go-azure-helpers/lang/pointer" "github.com/hashicorp/go-azure-helpers/lang/response" "github.com/hashicorp/go-azure-helpers/resourcemanager/commonschema" - "github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/databases" + "github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/databases" "github.com/hashicorp/terraform-provider-azurerm/helpers/tf" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" "github.com/hashicorp/terraform-provider-azurerm/internal/services/mysql/validate" diff --git a/internal/services/mysql/mysql_flexible_database_resource_test.go b/internal/services/mysql/mysql_flexible_database_resource_test.go index 03a8b3fd5861..500dfa6ca9ce 100644 --- a/internal/services/mysql/mysql_flexible_database_resource_test.go +++ b/internal/services/mysql/mysql_flexible_database_resource_test.go @@ -8,7 +8,7 @@ import ( "fmt" "testing" - "github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/databases" + "github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/databases" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" diff --git a/internal/services/mysql/mysql_flexible_server_aad_administrator_resource.go b/internal/services/mysql/mysql_flexible_server_aad_administrator_resource.go index db83406d8475..bd34de5fc0ae 100644 --- a/internal/services/mysql/mysql_flexible_server_aad_administrator_resource.go +++ b/internal/services/mysql/mysql_flexible_server_aad_administrator_resource.go @@ -11,7 +11,7 @@ import ( "github.com/hashicorp/go-azure-helpers/lang/pointer" "github.com/hashicorp/go-azure-helpers/lang/response" "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" - "github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/azureadadministrators" + "github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/azureadadministrators" "github.com/hashicorp/terraform-provider-azurerm/internal/sdk" "github.com/hashicorp/terraform-provider-azurerm/internal/services/mysql/parse" "github.com/hashicorp/terraform-provider-azurerm/internal/services/mysql/validate" diff --git a/internal/services/mysql/mysql_flexible_server_aad_administrator_resource_test.go b/internal/services/mysql/mysql_flexible_server_aad_administrator_resource_test.go index 78791ee3449f..d12b0b7ae9fc 100644 --- a/internal/services/mysql/mysql_flexible_server_aad_administrator_resource_test.go +++ b/internal/services/mysql/mysql_flexible_server_aad_administrator_resource_test.go @@ -9,7 +9,7 @@ import ( "testing" "github.com/hashicorp/go-azure-helpers/lang/response" - "github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/azureadadministrators" + "github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/azureadadministrators" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" diff --git a/internal/services/mysql/mysql_flexible_server_configuration_resource.go b/internal/services/mysql/mysql_flexible_server_configuration_resource.go index b41eb751d10e..75e1b48e2e6b 100644 --- a/internal/services/mysql/mysql_flexible_server_configuration_resource.go +++ b/internal/services/mysql/mysql_flexible_server_configuration_resource.go @@ -11,7 +11,7 @@ import ( "github.com/hashicorp/go-azure-helpers/lang/pointer" "github.com/hashicorp/go-azure-helpers/lang/response" "github.com/hashicorp/go-azure-helpers/resourcemanager/commonschema" - "github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/configurations" + "github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/configurations" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" "github.com/hashicorp/terraform-provider-azurerm/internal/locks" "github.com/hashicorp/terraform-provider-azurerm/internal/services/mysql/validate" diff --git a/internal/services/mysql/mysql_flexible_server_configuration_resource_test.go b/internal/services/mysql/mysql_flexible_server_configuration_resource_test.go index c8a20487dcba..8d06cfca5916 100644 --- a/internal/services/mysql/mysql_flexible_server_configuration_resource_test.go +++ b/internal/services/mysql/mysql_flexible_server_configuration_resource_test.go @@ -10,8 +10,8 @@ import ( "time" "github.com/hashicorp/go-azure-helpers/lang/response" - "github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/configurations" - "github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/servers" + "github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/configurations" + "github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servers" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" diff --git a/internal/services/mysql/mysql_flexible_server_data_source.go b/internal/services/mysql/mysql_flexible_server_data_source.go index 2bbeb2e7eec1..f5b8aa8f1138 100644 --- a/internal/services/mysql/mysql_flexible_server_data_source.go +++ b/internal/services/mysql/mysql_flexible_server_data_source.go @@ -13,7 +13,7 @@ import ( "github.com/hashicorp/go-azure-helpers/resourcemanager/commonschema" "github.com/hashicorp/go-azure-helpers/resourcemanager/location" "github.com/hashicorp/go-azure-helpers/resourcemanager/tags" - "github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/servers" + "github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servers" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" "github.com/hashicorp/terraform-provider-azurerm/internal/services/mysql/validate" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk" @@ -264,18 +264,18 @@ func flattenDataSourceArmServerStorage(storage *servers.Storage) []interface{} { } } -func flattenDataSourceFlexibleServerSku(sku *servers.Sku) (string, error) { +func flattenDataSourceFlexibleServerSku(sku *servers.MySQLServerSku) (string, error) { if sku == nil || sku.Name == "" || sku.Tier == "" { return "", nil } var tier string switch sku.Tier { - case servers.SkuTierBurstable: + case servers.ServerSkuTierBurstable: tier = "B" - case servers.SkuTierGeneralPurpose: + case servers.ServerSkuTierGeneralPurpose: tier = "GP" - case servers.SkuTierMemoryOptimized: + case servers.ServerSkuTierMemoryOptimized: tier = "MO" default: return "", fmt.Errorf("sku_name has unknown sku tier %s", sku.Tier) diff --git a/internal/services/mysql/mysql_flexible_server_firewall_rule_resource.go b/internal/services/mysql/mysql_flexible_server_firewall_rule_resource.go index 26f14891a88c..fdcc8a1cb51a 100644 --- a/internal/services/mysql/mysql_flexible_server_firewall_rule_resource.go +++ b/internal/services/mysql/mysql_flexible_server_firewall_rule_resource.go @@ -9,7 +9,7 @@ import ( "github.com/hashicorp/go-azure-helpers/lang/response" "github.com/hashicorp/go-azure-helpers/resourcemanager/commonschema" - "github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/firewallrules" + "github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/firewallrules" "github.com/hashicorp/terraform-provider-azurerm/helpers/tf" azValidate "github.com/hashicorp/terraform-provider-azurerm/helpers/validate" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" diff --git a/internal/services/mysql/mysql_flexible_server_firewall_rule_resource_test.go b/internal/services/mysql/mysql_flexible_server_firewall_rule_resource_test.go index afee7905c39b..5b36f3fe7826 100644 --- a/internal/services/mysql/mysql_flexible_server_firewall_rule_resource_test.go +++ b/internal/services/mysql/mysql_flexible_server_firewall_rule_resource_test.go @@ -8,7 +8,7 @@ import ( "fmt" "testing" - "github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/firewallrules" + "github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/firewallrules" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" diff --git a/internal/services/mysql/mysql_flexible_server_resource.go b/internal/services/mysql/mysql_flexible_server_resource.go index 63571300f0db..76117a579afd 100644 --- a/internal/services/mysql/mysql_flexible_server_resource.go +++ b/internal/services/mysql/mysql_flexible_server_resource.go @@ -17,8 +17,8 @@ import ( "github.com/hashicorp/go-azure-helpers/resourcemanager/identity" "github.com/hashicorp/go-azure-helpers/resourcemanager/location" "github.com/hashicorp/go-azure-helpers/resourcemanager/tags" - "github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/serverfailover" - "github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/servers" + "github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/serverfailover" + "github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servers" "github.com/hashicorp/go-azure-sdk/resource-manager/privatedns/2020-06-01/privatezones" "github.com/hashicorp/terraform-provider-azurerm/helpers/tf" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" @@ -847,42 +847,42 @@ func expandArmServerBackup(d *pluginsdk.ResourceData) *servers.Backup { return &backup } -func expandFlexibleServerSku(name string) (*servers.Sku, error) { +func expandFlexibleServerSku(name string) (*servers.MySQLServerSku, error) { if name == "" { return nil, nil } parts := strings.SplitAfterN(name, "_", 2) - var tier servers.SkuTier + var tier servers.ServerSkuTier switch strings.TrimSuffix(parts[0], "_") { case "B": - tier = servers.SkuTierBurstable + tier = servers.ServerSkuTierBurstable case "GP": - tier = servers.SkuTierGeneralPurpose + tier = servers.ServerSkuTierGeneralPurpose case "MO": - tier = servers.SkuTierMemoryOptimized + tier = servers.ServerSkuTierMemoryOptimized default: return nil, fmt.Errorf("sku_name %s has unknown sku tier %s", name, parts[0]) } - return &servers.Sku{ + return &servers.MySQLServerSku{ Name: parts[1], Tier: tier, }, nil } -func flattenFlexibleServerSku(sku *servers.Sku) (string, error) { +func flattenFlexibleServerSku(sku *servers.MySQLServerSku) (string, error) { if sku == nil || sku.Name == "" || sku.Tier == "" { return "", nil } var tier string switch sku.Tier { - case servers.SkuTierBurstable: + case servers.ServerSkuTierBurstable: tier = "B" - case servers.SkuTierGeneralPurpose: + case servers.ServerSkuTierGeneralPurpose: tier = "GP" - case servers.SkuTierMemoryOptimized: + case servers.ServerSkuTierMemoryOptimized: tier = "MO" default: return "", fmt.Errorf("sku_name has unknown sku tier %s", sku.Tier) @@ -1028,14 +1028,14 @@ func flattenFlexibleServerDataEncryption(de *servers.DataEncryption) ([]interfac return []interface{}{item}, nil } -func expandFlexibleServerIdentity(input []interface{}) (*servers.Identity, error) { +func expandFlexibleServerIdentity(input []interface{}) (*servers.MySQLServerIdentity, error) { expanded, err := identity.ExpandUserAssignedMap(input) if err != nil { return nil, err } identityType := servers.ManagedServiceIdentityType(string(expanded.Type)) - out := servers.Identity{ + out := servers.MySQLServerIdentity{ Type: &identityType, } if expanded.Type == identity.TypeUserAssigned { @@ -1049,7 +1049,7 @@ func expandFlexibleServerIdentity(input []interface{}) (*servers.Identity, error return &out, nil } -func flattenFlexibleServerIdentity(input *servers.Identity) (*[]interface{}, error) { +func flattenFlexibleServerIdentity(input *servers.MySQLServerIdentity) (*[]interface{}, error) { var transform *identity.UserAssignedMap if input != nil { diff --git a/internal/services/mysql/mysql_flexible_server_resource_test.go b/internal/services/mysql/mysql_flexible_server_resource_test.go index 9f0d095ccb04..af3fcddfa6fd 100644 --- a/internal/services/mysql/mysql_flexible_server_resource_test.go +++ b/internal/services/mysql/mysql_flexible_server_resource_test.go @@ -10,7 +10,7 @@ import ( "testing" "time" - "github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/servers" + "github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servers" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" diff --git a/internal/services/network/application_gateway_data_source.go b/internal/services/network/application_gateway_data_source.go index b61c61908dc7..b4dc5040ef61 100644 --- a/internal/services/network/application_gateway_data_source.go +++ b/internal/services/network/application_gateway_data_source.go @@ -14,8 +14,8 @@ import ( "github.com/hashicorp/go-azure-helpers/resourcemanager/location" "github.com/hashicorp/go-azure-helpers/resourcemanager/tags" "github.com/hashicorp/go-azure-helpers/resourcemanager/zones" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgateways" "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/webapplicationfirewallpolicies" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" "github.com/hashicorp/terraform-provider-azurerm/internal/services/network/parse" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk" diff --git a/internal/services/network/application_gateway_resource.go b/internal/services/network/application_gateway_resource.go index 0028ec225f34..2b48a7713e03 100644 --- a/internal/services/network/application_gateway_resource.go +++ b/internal/services/network/application_gateway_resource.go @@ -19,8 +19,8 @@ import ( "github.com/hashicorp/go-azure-helpers/resourcemanager/location" "github.com/hashicorp/go-azure-helpers/resourcemanager/tags" "github.com/hashicorp/go-azure-helpers/resourcemanager/zones" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgateways" "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/webapplicationfirewallpolicies" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "github.com/hashicorp/terraform-provider-azurerm/helpers/tf" "github.com/hashicorp/terraform-provider-azurerm/helpers/validate" @@ -811,6 +811,7 @@ func resourceApplicationGateway() *pluginsdk.Resource { Type: pluginsdk.TypeString, Required: true, ValidateFunc: validation.StringInSlice([]string{ + string(applicationgateways.ApplicationGatewaySkuNameBasic), string(applicationgateways.ApplicationGatewaySkuNameStandardSmall), string(applicationgateways.ApplicationGatewaySkuNameStandardMedium), string(applicationgateways.ApplicationGatewaySkuNameStandardLarge), @@ -825,6 +826,7 @@ func resourceApplicationGateway() *pluginsdk.Resource { Type: pluginsdk.TypeString, Required: true, ValidateFunc: validation.StringInSlice([]string{ + string(applicationgateways.ApplicationGatewayTierBasic), string(applicationgateways.ApplicationGatewayTierStandard), string(applicationgateways.ApplicationGatewayTierStandardVTwo), string(applicationgateways.ApplicationGatewayTierWAF), @@ -4709,12 +4711,45 @@ func checkSslPolicy(sslPolicy []interface{}) error { return nil } +func checkBasicSkuFeatures(d *pluginsdk.ResourceDiff) error { + _, hasAutoscaleConfig := d.GetOk("autoscale_configuration.0") + if hasAutoscaleConfig { + return fmt.Errorf("The Application Gateway does not support `autoscale_configuration` blocks for the selected SKU tier %q", applicationgateways.ApplicationGatewaySkuNameBasic) + } + + capacity, hasCapacityConfig := d.GetOk("sku.0.capacity") + if hasCapacityConfig { + if capacity.(int) > 2 || capacity.(int) < 1 { + return fmt.Errorf("`capacity` value %q for the selected SKU tier %q is invalid. Value must be between [1-2]", capacity, applicationgateways.ApplicationGatewaySkuNameBasic) + } + } else { + return fmt.Errorf("The Application Gateway must specify a `capacity` value between [1-2] for the selected SKU tier %q", applicationgateways.ApplicationGatewaySkuNameBasic) + } + + _, hasMtlsConfig := d.GetOk("trusted_client_certificate") + if hasMtlsConfig { + return fmt.Errorf("The Application Gateway does not support `trusted_client_certificate` blocks for the selected SKU tier %q", applicationgateways.ApplicationGatewaySkuNameBasic) + } + + _, hasRewriteRuleSetConfig := d.GetOk("rewrite_rule_set") + if hasRewriteRuleSetConfig { + return fmt.Errorf("The Application Gateway does not support `rewrite_rule_set` blocks for the selected SKU tier %q", applicationgateways.ApplicationGatewaySkuNameBasic) + } + + return nil +} + func applicationGatewayCustomizeDiff(ctx context.Context, d *pluginsdk.ResourceDiff, _ interface{}) error { _, hasAutoscaleConfig := d.GetOk("autoscale_configuration.0") capacity, hasCapacity := d.GetOk("sku.0.capacity") tier := d.Get("sku.0.tier").(string) - if !hasAutoscaleConfig && !hasCapacity { + if tier == string(applicationgateways.ApplicationGatewaySkuNameBasic) { + err := checkBasicSkuFeatures(d) + if err != nil { + return err + } + } else if !hasAutoscaleConfig && !hasCapacity { return fmt.Errorf("The Application Gateway must specify either `capacity` or `autoscale_configuration` for the selected SKU tier %q", tier) } diff --git a/internal/services/network/application_gateway_resource_test.go b/internal/services/network/application_gateway_resource_test.go index 0ee0de00fb24..e09bfe163ae1 100644 --- a/internal/services/network/application_gateway_resource_test.go +++ b/internal/services/network/application_gateway_resource_test.go @@ -14,7 +14,7 @@ import ( "time" "github.com/hashicorp/go-azure-helpers/lang/pointer" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgateways" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" @@ -32,8 +32,8 @@ func TestAccApplicationGateway_basic(t *testing.T) { Config: r.basic(data), Check: acceptance.ComposeTestCheckFunc( check.That(data.ResourceName).ExistsInAzure(r), - check.That(data.ResourceName).Key("sku.0.name").HasValue("Standard_Small"), - check.That(data.ResourceName).Key("sku.0.tier").HasValue("Standard"), + check.That(data.ResourceName).Key("sku.0.name").HasValue("Standard_v2"), + check.That(data.ResourceName).Key("sku.0.tier").HasValue("Standard_v2"), check.That(data.ResourceName).Key("sku.0.capacity").HasValue("2"), check.That(data.ResourceName).Key("waf_configuration.#").HasValue("0"), ), @@ -713,8 +713,8 @@ func TestAccApplicationGateway_webApplicationFirewall(t *testing.T) { Config: r.webApplicationFirewall(data), Check: acceptance.ComposeTestCheckFunc( check.That(data.ResourceName).ExistsInAzure(r), - check.That(data.ResourceName).Key("sku.0.name").HasValue("WAF_Medium"), - check.That(data.ResourceName).Key("sku.0.tier").HasValue("WAF"), + check.That(data.ResourceName).Key("sku.0.name").HasValue("WAF_v2"), + check.That(data.ResourceName).Key("sku.0.tier").HasValue("WAF_v2"), check.That(data.ResourceName).Key("sku.0.capacity").HasValue("1"), check.That(data.ResourceName).Key("waf_configuration.0.enabled").HasValue("true"), check.That(data.ResourceName).Key("waf_configuration.0.firewall_mode").HasValue("Detection"), @@ -745,8 +745,8 @@ func TestAccApplicationGateway_connectionDraining(t *testing.T) { Config: r.basic(data), Check: acceptance.ComposeTestCheckFunc( check.That(data.ResourceName).ExistsInAzure(r), - check.That(data.ResourceName).Key("sku.0.name").HasValue("Standard_Small"), - check.That(data.ResourceName).Key("sku.0.tier").HasValue("Standard"), + check.That(data.ResourceName).Key("sku.0.name").HasValue("Standard_v2"), + check.That(data.ResourceName).Key("sku.0.tier").HasValue("Standard_v2"), check.That(data.ResourceName).Key("sku.0.capacity").HasValue("2"), check.That(data.ResourceName).Key("waf_configuration.#").HasValue("0"), acceptance.TestCheckNoResourceAttr(data.ResourceName, "backend_http_settings.0.connection_draining.0.enabled"), @@ -1320,6 +1320,24 @@ func TestAccApplicationGateway_removeFirewallPolicy(t *testing.T) { }) } +func TestAccApplicationGateway_basicSku(t *testing.T) { + data := acceptance.BuildTestData(t, "azurerm_application_gateway", "test") + r := ApplicationGatewayResource{} + + data.ResourceTest(t, r, []acceptance.TestStep{ + { + Config: r.basic_basicSku(data), + Check: acceptance.ComposeTestCheckFunc( + check.That(data.ResourceName).ExistsInAzure(r), + check.That(data.ResourceName).Key("sku.0.name").HasValue("Basic"), + check.That(data.ResourceName).Key("sku.0.tier").HasValue("Basic"), + check.That(data.ResourceName).Key("sku.0.capacity").IsNotEmpty(), + ), + }, + data.ImportStep(), + }) +} + func (t ApplicationGatewayResource) Exists(ctx context.Context, clients *clients.Client, state *pluginsdk.InstanceState) (*bool, error) { id, err := applicationgateways.ParseApplicationGatewayID(state.ID) if err != nil { @@ -1354,8 +1372,8 @@ resource "azurerm_application_gateway" "test" { location = azurerm_resource_group.test.location sku { - name = "Standard_Small" - tier = "Standard" + name = "Standard_v2" + tier = "Standard_v2" capacity = 2 } @@ -1399,6 +1417,7 @@ resource "azurerm_application_gateway" "test" { http_listener_name = local.listener_name backend_address_pool_name = local.backend_address_pool_name backend_http_settings_name = local.http_setting_name + priority = 10 } } `, r.template(data), data.RandomInteger) @@ -1584,6 +1603,85 @@ resource "azurerm_application_gateway" "test" { `, r.template(data), data.RandomInteger, data.RandomInteger) } +func (r ApplicationGatewayResource) basic_basicSku(data acceptance.TestData) string { + return fmt.Sprintf(` +%s + +# since these variables are re-used - a locals block makes this more maintainable +locals { + backend_address_pool_name = "${azurerm_virtual_network.test.name}-beap" + frontend_port_name = "${azurerm_virtual_network.test.name}-feport" + frontend_ip_configuration_name = "${azurerm_virtual_network.test.name}-feip" + http_setting_name = "${azurerm_virtual_network.test.name}-be-htst" + listener_name = "${azurerm_virtual_network.test.name}-httplstn" + request_routing_rule_name = "${azurerm_virtual_network.test.name}-rqrt" +} + +resource "azurerm_public_ip" "test_standard" { + name = "acctest-pubip-standard" + location = azurerm_resource_group.test.location + resource_group_name = azurerm_resource_group.test.name + allocation_method = "Static" + sku = "Standard" +} + +resource "azurerm_application_gateway" "test" { + name = "acctestag-%d" + resource_group_name = azurerm_resource_group.test.name + location = azurerm_resource_group.test.location + + sku { + name = "Basic" + tier = "Basic" + capacity = 2 + } + + gateway_ip_configuration { + name = "my-gateway-ip-configuration" + subnet_id = azurerm_subnet.test.id + } + + frontend_port { + name = local.frontend_port_name + port = 80 + } + + frontend_ip_configuration { + name = local.frontend_ip_configuration_name + public_ip_address_id = azurerm_public_ip.test_standard.id + } + + backend_address_pool { + name = local.backend_address_pool_name + } + + backend_http_settings { + name = local.http_setting_name + cookie_based_affinity = "Disabled" + port = 80 + protocol = "Http" + request_timeout = 1 + } + + http_listener { + name = local.listener_name + frontend_ip_configuration_name = local.frontend_ip_configuration_name + frontend_port_name = local.frontend_port_name + protocol = "Http" + } + + request_routing_rule { + name = local.request_routing_rule_name + priority = 100 + rule_type = "Basic" + http_listener_name = local.listener_name + backend_address_pool_name = local.backend_address_pool_name + backend_http_settings_name = local.http_setting_name + } +} +`, r.template(data), data.RandomInteger) +} + func (r ApplicationGatewayResource) createGlobalConfiguration(data acceptance.TestData) string { return fmt.Sprintf(` %s @@ -2109,8 +2207,8 @@ resource "azurerm_application_gateway" "test" { location = azurerm_resource_group.test.location sku { - name = "Standard_Small" - tier = "Standard" + name = "Standard_v2" + tier = "Standard_v2" capacity = 2 } @@ -2155,6 +2253,7 @@ resource "azurerm_application_gateway" "test" { http_listener_name = local.listener_name backend_address_pool_name = local.backend_address_pool_name backend_http_settings_name = local.http_setting_name + priority = 10 } } `, r.template(data), data.RandomInteger) @@ -2181,8 +2280,8 @@ resource "azurerm_application_gateway" "test" { enable_http2 = true sku { - name = "Standard_Small" - tier = "Standard" + name = "Standard_v2" + tier = "Standard_v2" capacity = 2 } @@ -2226,6 +2325,7 @@ resource "azurerm_application_gateway" "test" { http_listener_name = local.listener_name backend_address_pool_name = local.backend_address_pool_name backend_http_settings_name = local.http_setting_name + priority = 10 } } `, r.template(data), data.RandomInteger) @@ -2241,8 +2341,8 @@ resource "azurerm_application_gateway" "import" { location = azurerm_application_gateway.test.location sku { - name = "Standard_Small" - tier = "Standard" + name = "Standard_v2" + tier = "Standard_v2" capacity = 2 } @@ -2286,6 +2386,7 @@ resource "azurerm_application_gateway" "import" { http_listener_name = local.listener_name backend_address_pool_name = local.backend_address_pool_name backend_http_settings_name = local.http_setting_name + priority = 10 } } `, r.basic(data)) @@ -2312,8 +2413,8 @@ resource "azurerm_application_gateway" "test" { location = azurerm_resource_group.test.location sku { - name = "Standard_Small" - tier = "Standard" + name = "Standard_v2" + tier = "Standard_v2" capacity = 2 } @@ -2366,6 +2467,7 @@ resource "azurerm_application_gateway" "test" { http_listener_name = local.listener_name backend_address_pool_name = local.backend_address_pool_name backend_http_settings_name = local.http_setting_name + priority = 10 } } `, r.template(data), data.RandomInteger) @@ -2737,8 +2839,8 @@ resource "azurerm_application_gateway" "test" { force_firewall_policy_association = %t sku { - name = "Standard_Small" - tier = "Standard" + name = "Standard_v2" + tier = "Standard_v2" capacity = 2 } @@ -2782,6 +2884,7 @@ resource "azurerm_application_gateway" "test" { http_listener_name = local.listener_name backend_address_pool_name = local.backend_address_pool_name backend_http_settings_name = local.http_setting_name + priority = 10 } } `, r.template(data), data.RandomInteger, forceFirewallPolicyAssociation) @@ -3266,8 +3369,8 @@ resource "azurerm_application_gateway" "test" { location = azurerm_resource_group.test.location sku { - name = "Standard_Small" - tier = "Standard" + name = "Standard_v2" + tier = "Standard_v2" capacity = 2 } @@ -3320,6 +3423,7 @@ resource "azurerm_application_gateway" "test" { http_listener_name = local.listener_name backend_address_pool_name = local.backend_address_pool_name backend_http_settings_name = local.http_setting_name + priority = 10 } } `, r.template(data), data.RandomInteger) @@ -3445,8 +3549,8 @@ resource "azurerm_application_gateway" "test" { location = azurerm_resource_group.test.location sku { - name = "Standard_Small" - tier = "Standard" + name = "Standard_v2" + tier = "Standard_v2" capacity = 2 } @@ -3489,6 +3593,7 @@ resource "azurerm_application_gateway" "test" { rule_type = "PathBasedRouting" url_path_map_name = local.url_path_map_name http_listener_name = local.listener_name + priority = 10 } url_path_map { @@ -3533,8 +3638,8 @@ resource "azurerm_application_gateway" "test" { location = azurerm_resource_group.test.location sku { - name = "Standard_Small" - tier = "Standard" + name = "Standard_v2" + tier = "Standard_v2" capacity = 2 } @@ -3577,6 +3682,7 @@ resource "azurerm_application_gateway" "test" { rule_type = "PathBasedRouting" url_path_map_name = local.url_path_map_name http_listener_name = local.listener_name + priority = 10 } redirect_configuration { @@ -3630,8 +3736,8 @@ resource "azurerm_application_gateway" "test" { location = azurerm_resource_group.test.location sku { - name = "Standard_Small" - tier = "Standard" + name = "Standard_v2" + tier = "Standard_v2" capacity = 2 } @@ -3688,6 +3794,7 @@ resource "azurerm_application_gateway" "test" { rule_type = "Basic" http_listener_name = local.listener_name redirect_configuration_name = local.redirect_configuration_name + priority = 10 } redirect_configuration { @@ -3726,8 +3833,8 @@ resource "azurerm_application_gateway" "test" { location = azurerm_resource_group.test.location sku { - name = "Standard_Small" - tier = "Standard" + name = "Standard_v2" + tier = "Standard_v2" capacity = 2 } @@ -3783,6 +3890,7 @@ resource "azurerm_application_gateway" "test" { http_listener_name = local.listener_name backend_address_pool_name = local.backend_address_pool_name redirect_configuration_name = local.redirect_configuration_name + priority = 10 } redirect_configuration { @@ -3824,8 +3932,8 @@ resource "azurerm_application_gateway" "test" { location = azurerm_resource_group.test.location sku { - name = "Standard_Small" - tier = "Standard" + name = "Standard_v2" + tier = "Standard_v2" capacity = 2 } @@ -3880,6 +3988,7 @@ resource "azurerm_application_gateway" "test" { rule_type = "PathBasedRouting" url_path_map_name = local.url_path_map_name http_listener_name = local.listener_name + priority = 10 } url_path_map { @@ -3946,8 +4055,8 @@ resource "azurerm_application_gateway" "test" { location = azurerm_resource_group.test.location sku { - name = "Standard_Small" - tier = "Standard" + name = "Standard_v2" + tier = "Standard_v2" capacity = 2 } @@ -4022,6 +4131,7 @@ resource "azurerm_application_gateway" "test" { http_listener_name = local.listener_name backend_address_pool_name = local.backend_address_pool_name backend_http_settings_name = local.http_setting_name + priority = 10 } } `, r.template(data), data.RandomInteger) @@ -4049,8 +4159,8 @@ resource "azurerm_application_gateway" "test" { location = azurerm_resource_group.test.location sku { - name = "Standard_Small" - tier = "Standard" + name = "Standard_v2" + tier = "Standard_v2" capacity = 2 } @@ -4128,6 +4238,7 @@ resource "azurerm_application_gateway" "test" { http_listener_name = local.listener_name backend_address_pool_name = local.backend_address_pool_name backend_http_settings_name = local.http_setting_name + priority = 10 } } `, r.template(data), data.RandomInteger) @@ -4154,8 +4265,8 @@ resource "azurerm_application_gateway" "test" { location = azurerm_resource_group.test.location sku { - name = "Standard_Small" - tier = "Standard" + name = "Standard_v2" + tier = "Standard_v2" capacity = 2 } @@ -4211,6 +4322,7 @@ resource "azurerm_application_gateway" "test" { http_listener_name = local.listener_name backend_address_pool_name = local.backend_address_pool_name backend_http_settings_name = local.http_setting_name + priority = 10 } } `, r.template(data), data.RandomInteger) @@ -4328,8 +4440,8 @@ resource "azurerm_application_gateway" "test" { location = azurerm_resource_group.test.location sku { - name = "Standard_Small" - tier = "Standard" + name = "Standard_v2" + tier = "Standard_v2" capacity = 2 } @@ -4375,6 +4487,7 @@ resource "azurerm_application_gateway" "test" { http_listener_name = local.listener_name backend_address_pool_name = local.backend_address_pool_name backend_http_settings_name = local.http_setting_name + priority = 10 } } `, r.template(data), data.RandomInteger, hostName, pick) @@ -4481,8 +4594,8 @@ resource "azurerm_application_gateway" "test" { location = azurerm_resource_group.test.location sku { - name = "Standard_Small" - tier = "Standard" + name = "Standard_v2" + tier = "Standard_v2" capacity = 2 } @@ -4527,6 +4640,7 @@ resource "azurerm_application_gateway" "test" { http_listener_name = local.listener_name backend_address_pool_name = local.backend_address_pool_name backend_http_settings_name = local.http_setting_name + priority = 10 } } `, r.template(data), data.RandomInteger) @@ -4873,8 +4987,8 @@ resource "azurerm_application_gateway" "test" { location = azurerm_resource_group.test.location sku { - name = "Standard_Small" - tier = "Standard" + name = "Standard_v2" + tier = "Standard_v2" capacity = 2 } @@ -4919,6 +5033,7 @@ resource "azurerm_application_gateway" "test" { http_listener_name = local.listener_name backend_address_pool_name = local.backend_address_pool_name backend_http_settings_name = local.http_setting_name + priority = 10 } ssl_certificate { @@ -4951,8 +5066,8 @@ resource "azurerm_application_gateway" "test" { location = azurerm_resource_group.test.location sku { - name = "Standard_Small" - tier = "Standard" + name = "Standard_v2" + tier = "Standard_v2" capacity = 2 } @@ -4997,6 +5112,7 @@ resource "azurerm_application_gateway" "test" { http_listener_name = local.listener_name backend_address_pool_name = local.backend_address_pool_name backend_http_settings_name = local.http_setting_name + priority = 10 } ssl_certificate { @@ -5029,8 +5145,8 @@ resource "azurerm_application_gateway" "test" { location = azurerm_resource_group.test.location sku { - name = "Standard_Small" - tier = "Standard" + name = "Standard_v2" + tier = "Standard_v2" capacity = 2 } @@ -5075,6 +5191,7 @@ resource "azurerm_application_gateway" "test" { http_listener_name = local.listener_name backend_address_pool_name = local.backend_address_pool_name backend_http_settings_name = local.http_setting_name + priority = 10 } ssl_certificate { @@ -5158,8 +5275,8 @@ resource "azurerm_application_gateway" "test" { location = azurerm_resource_group.test.location sku { - name = "Standard_Small" - tier = "Standard" + name = "Standard_v2" + tier = "Standard_v2" capacity = 2 } @@ -5203,6 +5320,7 @@ resource "azurerm_application_gateway" "test" { http_listener_name = local.listener_name backend_address_pool_name = local.backend_address_pool_name backend_http_settings_name = local.http_setting_name + priority = 10 } ssl_certificate { @@ -5241,8 +5359,8 @@ resource "azurerm_application_gateway" "test" { location = azurerm_resource_group.test.location sku { - name = "Standard_Small" - tier = "Standard" + name = "Standard_v2" + tier = "Standard_v2" capacity = 2 } @@ -5286,6 +5404,7 @@ resource "azurerm_application_gateway" "test" { http_listener_name = local.listener_name backend_address_pool_name = local.backend_address_pool_name backend_http_settings_name = local.http_setting_name + priority = 10 } ssl_certificate { @@ -5323,8 +5442,8 @@ resource "azurerm_application_gateway" "test" { location = azurerm_resource_group.test.location sku { - name = "WAF_Medium" - tier = "WAF" + name = "WAF_v2" + tier = "WAF_v2" capacity = 1 } @@ -5378,6 +5497,7 @@ resource "azurerm_application_gateway" "test" { http_listener_name = local.listener_name backend_address_pool_name = local.backend_address_pool_name backend_http_settings_name = local.http_setting_name + priority = 10 } } `, r.template(data), data.RandomInteger) @@ -5404,8 +5524,8 @@ resource "azurerm_application_gateway" "test" { enable_http2 = true sku { - name = "Standard_Small" - tier = "Standard" + name = "Standard_v2" + tier = "Standard_v2" capacity = 2 } @@ -5454,6 +5574,7 @@ resource "azurerm_application_gateway" "test" { http_listener_name = local.listener_name backend_address_pool_name = local.backend_address_pool_name backend_http_settings_name = local.http_setting_name + priority = 10 } } `, r.template(data), data.RandomInteger) @@ -6234,8 +6355,8 @@ resource "azurerm_public_ip" "test" { name = "acctest-pubip-%d" location = azurerm_resource_group.test.location resource_group_name = azurerm_resource_group.test.name - allocation_method = "Dynamic" - sku = "Basic" + allocation_method = "Static" + sku = "Standard" } `, data.RandomInteger, data.Locations.Primary, data.RandomInteger, data.RandomInteger, data.RandomInteger) } @@ -6262,8 +6383,8 @@ resource "azurerm_application_gateway" "test" { location = azurerm_resource_group.test.location sku { - name = "Standard_Small" - tier = "Standard" + name = "Standard_v2" + tier = "Standard_v2" capacity = 2 } @@ -6327,6 +6448,7 @@ resource "azurerm_application_gateway" "test" { http_listener_name = local.listener_name backend_address_pool_name = local.backend_address_pool_name backend_http_settings_name = local.http_setting_name + priority = 10 } } `, r.template(data), data.RandomInteger) @@ -6904,8 +7026,8 @@ resource "azurerm_application_gateway" "test" { location = azurerm_resource_group.test.location sku { - name = "Standard_Small" - tier = "Standard" + name = "Standard_v2" + tier = "Standard_v2" capacity = 2 } @@ -6950,6 +7072,7 @@ resource "azurerm_application_gateway" "test" { http_listener_name = local.listener_name backend_address_pool_name = local.backend_address_pool_name backend_http_settings_name = local.http_setting_name + priority = 10 } } `, r.template(data), data.RandomInteger) @@ -6975,8 +7098,8 @@ resource "azurerm_application_gateway" "test" { location = azurerm_resource_group.test.location sku { - name = "Standard_Small" - tier = "Standard" + name = "Standard_v2" + tier = "Standard_v2" capacity = 2 } @@ -7020,6 +7143,7 @@ resource "azurerm_application_gateway" "test" { http_listener_name = local.listener_name backend_address_pool_name = local.backend_address_pool_name backend_http_settings_name = local.http_setting_name + priority = 10 } } `, r.template(data), data.RandomInteger) @@ -7052,8 +7176,8 @@ resource "azurerm_application_gateway" "test" { location = azurerm_resource_group.test.location sku { - name = "Standard_Small" - tier = "Standard" + name = "Standard_v2" + tier = "Standard_v2" capacity = 2 } @@ -7097,6 +7221,7 @@ resource "azurerm_application_gateway" "test" { http_listener_name = local.listener_name backend_address_pool_name = local.backend_address_pool_name backend_http_settings_name = local.http_setting_name + priority = 10 } } `, r.template(data), data.RandomInteger, data.RandomInteger) @@ -7209,8 +7334,8 @@ resource "azurerm_application_gateway" "test" { location = azurerm_resource_group.test.location sku { - name = "Standard_Small" - tier = "Standard" + name = "Standard_v2" + tier = "Standard_v2" capacity = 2 } @@ -7265,6 +7390,7 @@ resource "azurerm_application_gateway" "test" { rule_type = "PathBasedRouting" url_path_map_name = local.url_path_map_name http_listener_name = local.listener_name + priority = 10 } url_path_map { @@ -7330,8 +7456,8 @@ resource "azurerm_application_gateway" "test" { location = azurerm_resource_group.test.location sku { - name = "Standard_Small" - tier = "Standard" + name = "Standard_v2" + tier = "Standard_v2" capacity = 2 } @@ -7376,6 +7502,7 @@ resource "azurerm_application_gateway" "test" { http_listener_name = local.listener_name backend_address_pool_name = local.backend_address_pool_name backend_http_settings_name = local.http_setting_name + priority = 10 } } `, r.template(data), data.RandomInteger) @@ -8125,8 +8252,8 @@ resource "azurerm_application_gateway" "test" { fips_enabled = %t sku { - name = "Standard_Small" - tier = "Standard" + name = "Standard_v2" + tier = "Standard_v2" capacity = 2 } @@ -8170,6 +8297,7 @@ resource "azurerm_application_gateway" "test" { http_listener_name = local.listener_name backend_address_pool_name = local.backend_address_pool_name backend_http_settings_name = local.http_setting_name + priority = 10 } } `, r.template(data), data.RandomInteger, enableFips) @@ -8196,8 +8324,8 @@ resource "azurerm_application_gateway" "test" { location = azurerm_resource_group.test.location sku { - name = "Standard_Small" - tier = "Standard" + name = "Standard_v2" + tier = "Standard_v2" capacity = 2 } @@ -8248,6 +8376,7 @@ resource "azurerm_application_gateway" "test" { http_listener_name = local.listener_name backend_address_pool_name = local.backend_address_pool_name backend_http_settings_name = local.http_setting_name + priority = 10 } } `, r.template(data), data.RandomInteger) @@ -8274,8 +8403,8 @@ resource "azurerm_application_gateway" "test" { location = azurerm_resource_group.test.location sku { - name = "Standard_Small" - tier = "Standard" + name = "Standard_v2" + tier = "Standard_v2" capacity = 2 } @@ -8321,6 +8450,7 @@ resource "azurerm_application_gateway" "test" { http_listener_name = local.listener_name backend_address_pool_name = local.backend_address_pool_name backend_http_settings_name = local.http_setting_name + priority = 10 } } `, r.template(data), data.RandomInteger) @@ -8346,8 +8476,8 @@ resource "azurerm_application_gateway" "test" { location = azurerm_resource_group.test.location sku { - name = "Standard_Small" - tier = "Standard" + name = "Standard_v2" + tier = "Standard_v2" capacity = 2 } @@ -8390,6 +8520,7 @@ resource "azurerm_application_gateway" "test" { http_listener_name = local.listener_name backend_address_pool_name = local.backend_address_pool_name backend_http_settings_name = local.http_setting_name + priority = 10 } } `, r.template(data), data.RandomInteger) diff --git a/internal/services/network/application_security_group_data_source.go b/internal/services/network/application_security_group_data_source.go index 0eca83eb102d..62b316e8504f 100644 --- a/internal/services/network/application_security_group_data_source.go +++ b/internal/services/network/application_security_group_data_source.go @@ -11,7 +11,7 @@ import ( "github.com/hashicorp/go-azure-helpers/resourcemanager/commonschema" "github.com/hashicorp/go-azure-helpers/resourcemanager/location" "github.com/hashicorp/go-azure-helpers/resourcemanager/tags" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationsecuritygroups" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationsecuritygroups" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk" "github.com/hashicorp/terraform-provider-azurerm/internal/timeouts" diff --git a/internal/services/network/application_security_group_resource.go b/internal/services/network/application_security_group_resource.go index 3dfc86efef93..70c508b0187c 100644 --- a/internal/services/network/application_security_group_resource.go +++ b/internal/services/network/application_security_group_resource.go @@ -13,7 +13,7 @@ import ( "github.com/hashicorp/go-azure-helpers/resourcemanager/commonschema" "github.com/hashicorp/go-azure-helpers/resourcemanager/location" "github.com/hashicorp/go-azure-helpers/resourcemanager/tags" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationsecuritygroups" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationsecuritygroups" "github.com/hashicorp/terraform-provider-azurerm/helpers/tf" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk" diff --git a/internal/services/network/application_security_group_resource_test.go b/internal/services/network/application_security_group_resource_test.go index b599e2c48b03..483b3eeaa098 100644 --- a/internal/services/network/application_security_group_resource_test.go +++ b/internal/services/network/application_security_group_resource_test.go @@ -8,7 +8,7 @@ import ( "fmt" "testing" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationsecuritygroups" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationsecuritygroups" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" diff --git a/internal/services/network/client/client.go b/internal/services/network/client/client.go index 7544c886d824..b5d5488a5094 100644 --- a/internal/services/network/client/client.go +++ b/internal/services/network/client/client.go @@ -8,14 +8,14 @@ import ( "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-09-01/networkinterfaces" "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-09-01/vmsspublicipaddresses" - network_2023_11_01 "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01" "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-01-01/bastionhosts" + network_2024_03_01 "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01" "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" "github.com/hashicorp/terraform-provider-azurerm/internal/common" ) type Client struct { - *network_2023_11_01.Client + *network_2024_03_01.Client BastionHostsClient *bastionhosts.BastionHostsClient // VMSS Data Source requires the Network Interfaces and VMSSPublicIpAddresses client from `2023-09-01` for the `ListVirtualMachineScaleSetVMNetworkInterfacesComplete` method @@ -42,7 +42,7 @@ func NewClient(o *common.ClientOptions) (*Client, error) { } o.Configure(VMSSPublicIPAddressesClient.Client, o.Authorizers.ResourceManager) - client, err := network_2023_11_01.NewClientWithBaseURI(o.Environment.ResourceManager, func(c *resourcemanager.Client) { + client, err := network_2024_03_01.NewClientWithBaseURI(o.Environment.ResourceManager, func(c *resourcemanager.Client) { o.Configure(c, o.Authorizers.ResourceManager) }) if err != nil { diff --git a/internal/services/network/custom_ip_prefix_resource.go b/internal/services/network/custom_ip_prefix_resource.go index aa04c68bcf6e..efc486d336bd 100644 --- a/internal/services/network/custom_ip_prefix_resource.go +++ b/internal/services/network/custom_ip_prefix_resource.go @@ -17,7 +17,7 @@ import ( "github.com/hashicorp/go-azure-helpers/resourcemanager/commonschema" "github.com/hashicorp/go-azure-helpers/resourcemanager/location" "github.com/hashicorp/go-azure-helpers/resourcemanager/tags" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/customipprefixes" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/customipprefixes" "github.com/hashicorp/terraform-provider-azurerm/internal/sdk" "github.com/hashicorp/terraform-provider-azurerm/internal/services/network/validate" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk" diff --git a/internal/services/network/custom_ip_prefix_resource_test.go b/internal/services/network/custom_ip_prefix_resource_test.go index e81388cc7f81..3473d7782466 100644 --- a/internal/services/network/custom_ip_prefix_resource_test.go +++ b/internal/services/network/custom_ip_prefix_resource_test.go @@ -10,7 +10,7 @@ import ( "github.com/hashicorp/go-azure-helpers/lang/pointer" "github.com/hashicorp/go-azure-helpers/lang/response" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/customipprefixes" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/customipprefixes" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" diff --git a/internal/services/network/custompollers/local_network_gateway_poller.go b/internal/services/network/custompollers/local_network_gateway_poller.go index 3b501f12390b..94bc038957e8 100644 --- a/internal/services/network/custompollers/local_network_gateway_poller.go +++ b/internal/services/network/custompollers/local_network_gateway_poller.go @@ -9,7 +9,7 @@ import ( "strings" "time" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/localnetworkgateways" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/localnetworkgateways" "github.com/hashicorp/go-azure-sdk/sdk/client/pollers" ) diff --git a/internal/services/network/express_route_circuit_authorization_resource.go b/internal/services/network/express_route_circuit_authorization_resource.go index a21629e8bb8f..2effd7d2a039 100644 --- a/internal/services/network/express_route_circuit_authorization_resource.go +++ b/internal/services/network/express_route_circuit_authorization_resource.go @@ -10,7 +10,7 @@ import ( "github.com/hashicorp/go-azure-helpers/lang/pointer" "github.com/hashicorp/go-azure-helpers/lang/response" "github.com/hashicorp/go-azure-helpers/resourcemanager/commonschema" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitauthorizations" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitauthorizations" "github.com/hashicorp/terraform-provider-azurerm/helpers/tf" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" "github.com/hashicorp/terraform-provider-azurerm/internal/locks" diff --git a/internal/services/network/express_route_circuit_authorization_resource_test.go b/internal/services/network/express_route_circuit_authorization_resource_test.go index 326589e3f177..4bd710f972b8 100644 --- a/internal/services/network/express_route_circuit_authorization_resource_test.go +++ b/internal/services/network/express_route_circuit_authorization_resource_test.go @@ -9,7 +9,7 @@ import ( "testing" "github.com/hashicorp/go-azure-helpers/lang/pointer" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitauthorizations" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitauthorizations" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" diff --git a/internal/services/network/express_route_circuit_connection_resource.go b/internal/services/network/express_route_circuit_connection_resource.go index 527191ce8978..8fc0197708dd 100644 --- a/internal/services/network/express_route_circuit_connection_resource.go +++ b/internal/services/network/express_route_circuit_connection_resource.go @@ -11,8 +11,8 @@ import ( "github.com/hashicorp/go-azure-helpers/lang/pointer" "github.com/hashicorp/go-azure-helpers/lang/response" "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitconnections" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuits" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitconnections" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuits" "github.com/hashicorp/terraform-provider-azurerm/helpers/tf" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" "github.com/hashicorp/terraform-provider-azurerm/internal/services/network/validate" diff --git a/internal/services/network/express_route_circuit_connection_resource_test.go b/internal/services/network/express_route_circuit_connection_resource_test.go index 6b2b94cfd880..ee94a0c0471e 100644 --- a/internal/services/network/express_route_circuit_connection_resource_test.go +++ b/internal/services/network/express_route_circuit_connection_resource_test.go @@ -9,7 +9,7 @@ import ( "testing" "github.com/hashicorp/go-azure-helpers/lang/pointer" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitconnections" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitconnections" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" diff --git a/internal/services/network/express_route_circuit_data_source.go b/internal/services/network/express_route_circuit_data_source.go index 910545850ec8..3b4ab547a936 100644 --- a/internal/services/network/express_route_circuit_data_source.go +++ b/internal/services/network/express_route_circuit_data_source.go @@ -11,7 +11,7 @@ import ( "github.com/hashicorp/go-azure-helpers/lang/response" "github.com/hashicorp/go-azure-helpers/resourcemanager/commonschema" "github.com/hashicorp/go-azure-helpers/resourcemanager/location" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuits" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuits" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/validation" diff --git a/internal/services/network/express_route_circuit_peering_data_source.go b/internal/services/network/express_route_circuit_peering_data_source.go index 6c045182820d..12c32dc9bde1 100644 --- a/internal/services/network/express_route_circuit_peering_data_source.go +++ b/internal/services/network/express_route_circuit_peering_data_source.go @@ -11,7 +11,7 @@ import ( "github.com/hashicorp/go-azure-helpers/lang/response" "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" "github.com/hashicorp/go-azure-helpers/resourcemanager/commonschema" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitpeerings" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitpeerings" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/validation" diff --git a/internal/services/network/express_route_circuit_peering_resource.go b/internal/services/network/express_route_circuit_peering_resource.go index 44f6a77acfbe..b170cd6f9254 100644 --- a/internal/services/network/express_route_circuit_peering_resource.go +++ b/internal/services/network/express_route_circuit_peering_resource.go @@ -14,8 +14,8 @@ import ( "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" "github.com/hashicorp/go-azure-helpers/resourcemanager/commonschema" "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-09-01/routefilters" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitconnections" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitpeerings" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitconnections" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitpeerings" "github.com/hashicorp/terraform-provider-azurerm/helpers/tf" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" "github.com/hashicorp/terraform-provider-azurerm/internal/locks" diff --git a/internal/services/network/express_route_circuit_resource.go b/internal/services/network/express_route_circuit_resource.go index 4ce5ae2dc4e8..a4f88ce93763 100644 --- a/internal/services/network/express_route_circuit_resource.go +++ b/internal/services/network/express_route_circuit_resource.go @@ -14,8 +14,8 @@ import ( "github.com/hashicorp/go-azure-helpers/resourcemanager/commonschema" "github.com/hashicorp/go-azure-helpers/resourcemanager/location" "github.com/hashicorp/go-azure-helpers/resourcemanager/tags" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuits" "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteports" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuits" "github.com/hashicorp/terraform-provider-azurerm/helpers/tf" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" "github.com/hashicorp/terraform-provider-azurerm/internal/locks" diff --git a/internal/services/network/express_route_circuit_resource_test.go b/internal/services/network/express_route_circuit_resource_test.go index 9a829867b341..202d683c8fcf 100644 --- a/internal/services/network/express_route_circuit_resource_test.go +++ b/internal/services/network/express_route_circuit_resource_test.go @@ -9,7 +9,7 @@ import ( "testing" "github.com/hashicorp/go-azure-helpers/lang/pointer" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuits" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuits" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" diff --git a/internal/services/network/express_route_connection_resource.go b/internal/services/network/express_route_connection_resource.go index 04a1c1c88a96..acc44b2fc5b9 100644 --- a/internal/services/network/express_route_connection_resource.go +++ b/internal/services/network/express_route_connection_resource.go @@ -10,9 +10,9 @@ import ( "github.com/hashicorp/go-azure-helpers/lang/pointer" "github.com/hashicorp/go-azure-helpers/lang/response" "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteconnections" "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutegateways" "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualwans" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteconnections" "github.com/hashicorp/terraform-provider-azurerm/helpers/tf" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" "github.com/hashicorp/terraform-provider-azurerm/internal/services/network/validate" diff --git a/internal/services/network/express_route_connection_resource_test.go b/internal/services/network/express_route_connection_resource_test.go index 14e06318f805..ed50edee9584 100644 --- a/internal/services/network/express_route_connection_resource_test.go +++ b/internal/services/network/express_route_connection_resource_test.go @@ -9,7 +9,7 @@ import ( "testing" "github.com/hashicorp/go-azure-helpers/lang/pointer" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteconnections" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteconnections" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" diff --git a/internal/services/network/express_route_gateway_resource.go b/internal/services/network/express_route_gateway_resource.go index 589330d18786..7e5d6f16e392 100644 --- a/internal/services/network/express_route_gateway_resource.go +++ b/internal/services/network/express_route_gateway_resource.go @@ -14,8 +14,8 @@ import ( "github.com/hashicorp/go-azure-helpers/resourcemanager/location" "github.com/hashicorp/go-azure-helpers/resourcemanager/tags" "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-09-01/virtualwans" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteconnections" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutegateways" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteconnections" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutegateways" "github.com/hashicorp/terraform-provider-azurerm/helpers/tf" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk" diff --git a/internal/services/network/express_route_gateway_resource_test.go b/internal/services/network/express_route_gateway_resource_test.go index 68cf7d474ef3..fd737ba564b8 100644 --- a/internal/services/network/express_route_gateway_resource_test.go +++ b/internal/services/network/express_route_gateway_resource_test.go @@ -9,7 +9,7 @@ import ( "testing" "github.com/hashicorp/go-azure-helpers/lang/pointer" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutegateways" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutegateways" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" diff --git a/internal/services/network/express_route_port_authorization_resource.go b/internal/services/network/express_route_port_authorization_resource.go index 855d7028b1d9..2e11bd851175 100644 --- a/internal/services/network/express_route_port_authorization_resource.go +++ b/internal/services/network/express_route_port_authorization_resource.go @@ -10,8 +10,8 @@ import ( "github.com/hashicorp/go-azure-helpers/lang/pointer" "github.com/hashicorp/go-azure-helpers/lang/response" "github.com/hashicorp/go-azure-helpers/resourcemanager/commonschema" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteportauthorizations" "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteports" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteportauthorizations" "github.com/hashicorp/terraform-provider-azurerm/helpers/tf" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" "github.com/hashicorp/terraform-provider-azurerm/internal/locks" diff --git a/internal/services/network/express_route_port_authorization_resource_test.go b/internal/services/network/express_route_port_authorization_resource_test.go index c549a29172d7..557e2ca5c80e 100644 --- a/internal/services/network/express_route_port_authorization_resource_test.go +++ b/internal/services/network/express_route_port_authorization_resource_test.go @@ -9,7 +9,7 @@ import ( "testing" "github.com/hashicorp/go-azure-helpers/lang/pointer" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteportauthorizations" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteportauthorizations" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" diff --git a/internal/services/network/express_route_port_resource.go b/internal/services/network/express_route_port_resource.go index 5c43b3eb98c4..506737081df3 100644 --- a/internal/services/network/express_route_port_resource.go +++ b/internal/services/network/express_route_port_resource.go @@ -14,7 +14,7 @@ import ( "github.com/hashicorp/go-azure-helpers/resourcemanager/identity" "github.com/hashicorp/go-azure-helpers/resourcemanager/location" "github.com/hashicorp/go-azure-helpers/resourcemanager/tags" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteports" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteports" "github.com/hashicorp/terraform-provider-azurerm/helpers/tf" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" "github.com/hashicorp/terraform-provider-azurerm/internal/features" diff --git a/internal/services/network/express_route_port_resource_test.go b/internal/services/network/express_route_port_resource_test.go index b02d6b8c492d..b2e21b998aef 100644 --- a/internal/services/network/express_route_port_resource_test.go +++ b/internal/services/network/express_route_port_resource_test.go @@ -10,7 +10,7 @@ import ( "testing" "github.com/hashicorp/go-azure-helpers/lang/pointer" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteports" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteports" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" diff --git a/internal/services/network/ip_group_cidr_resource.go b/internal/services/network/ip_group_cidr_resource.go index 67e6251d88c4..f79abdb8df43 100644 --- a/internal/services/network/ip_group_cidr_resource.go +++ b/internal/services/network/ip_group_cidr_resource.go @@ -10,7 +10,7 @@ import ( "github.com/hashicorp/go-azure-helpers/lang/pointer" "github.com/hashicorp/go-azure-helpers/lang/response" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ipgroups" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ipgroups" "github.com/hashicorp/terraform-provider-azurerm/helpers/tf" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" "github.com/hashicorp/terraform-provider-azurerm/internal/locks" diff --git a/internal/services/network/ip_group_cidr_resource_test.go b/internal/services/network/ip_group_cidr_resource_test.go index 578b5340367e..ec392a393825 100644 --- a/internal/services/network/ip_group_cidr_resource_test.go +++ b/internal/services/network/ip_group_cidr_resource_test.go @@ -9,7 +9,7 @@ import ( "testing" "github.com/hashicorp/go-azure-helpers/lang/pointer" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ipgroups" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ipgroups" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" diff --git a/internal/services/network/ip_group_data_source.go b/internal/services/network/ip_group_data_source.go index b49e48a580f6..ba89e5d5bc21 100644 --- a/internal/services/network/ip_group_data_source.go +++ b/internal/services/network/ip_group_data_source.go @@ -11,7 +11,7 @@ import ( "github.com/hashicorp/go-azure-helpers/resourcemanager/commonschema" "github.com/hashicorp/go-azure-helpers/resourcemanager/location" "github.com/hashicorp/go-azure-helpers/resourcemanager/tags" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ipgroups" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ipgroups" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk" "github.com/hashicorp/terraform-provider-azurerm/internal/timeouts" diff --git a/internal/services/network/ip_group_resource.go b/internal/services/network/ip_group_resource.go index af6ea1f8b3f8..bf20d2f18bcd 100644 --- a/internal/services/network/ip_group_resource.go +++ b/internal/services/network/ip_group_resource.go @@ -15,7 +15,7 @@ import ( "github.com/hashicorp/go-azure-helpers/resourcemanager/tags" "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-09-01/azurefirewalls" "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-09-01/firewallpolicies" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ipgroups" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ipgroups" "github.com/hashicorp/terraform-provider-azurerm/helpers/tf" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" "github.com/hashicorp/terraform-provider-azurerm/internal/locks" diff --git a/internal/services/network/ip_group_resource_test.go b/internal/services/network/ip_group_resource_test.go index ac6505ff5b1c..ba8132cf36bd 100644 --- a/internal/services/network/ip_group_resource_test.go +++ b/internal/services/network/ip_group_resource_test.go @@ -9,7 +9,7 @@ import ( "testing" "github.com/hashicorp/go-azure-helpers/lang/pointer" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ipgroups" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ipgroups" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" diff --git a/internal/services/network/local_network_gateway_data_source.go b/internal/services/network/local_network_gateway_data_source.go index 2978b684f0b4..596996b91d61 100644 --- a/internal/services/network/local_network_gateway_data_source.go +++ b/internal/services/network/local_network_gateway_data_source.go @@ -11,7 +11,7 @@ import ( "github.com/hashicorp/go-azure-helpers/resourcemanager/commonschema" "github.com/hashicorp/go-azure-helpers/resourcemanager/location" "github.com/hashicorp/go-azure-helpers/resourcemanager/tags" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/localnetworkgateways" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/localnetworkgateways" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk" "github.com/hashicorp/terraform-provider-azurerm/internal/timeouts" diff --git a/internal/services/network/local_network_gateway_resource.go b/internal/services/network/local_network_gateway_resource.go index 3cdcc6468fa3..d6e521325517 100644 --- a/internal/services/network/local_network_gateway_resource.go +++ b/internal/services/network/local_network_gateway_resource.go @@ -12,7 +12,7 @@ import ( "github.com/hashicorp/go-azure-helpers/resourcemanager/commonschema" "github.com/hashicorp/go-azure-helpers/resourcemanager/location" "github.com/hashicorp/go-azure-helpers/resourcemanager/tags" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/localnetworkgateways" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/localnetworkgateways" "github.com/hashicorp/go-azure-sdk/sdk/client/pollers" "github.com/hashicorp/terraform-provider-azurerm/helpers/tf" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" diff --git a/internal/services/network/local_network_gateway_resource_test.go b/internal/services/network/local_network_gateway_resource_test.go index 74381fed11a1..5e8e5a60c1ea 100644 --- a/internal/services/network/local_network_gateway_resource_test.go +++ b/internal/services/network/local_network_gateway_resource_test.go @@ -10,7 +10,7 @@ import ( "time" "github.com/hashicorp/go-azure-helpers/lang/pointer" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/localnetworkgateways" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/localnetworkgateways" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" diff --git a/internal/services/network/nat_gateway_data_source.go b/internal/services/network/nat_gateway_data_source.go index cf2e9bd85d5e..07f3aa6323a3 100644 --- a/internal/services/network/nat_gateway_data_source.go +++ b/internal/services/network/nat_gateway_data_source.go @@ -13,7 +13,7 @@ import ( "github.com/hashicorp/go-azure-helpers/resourcemanager/location" "github.com/hashicorp/go-azure-helpers/resourcemanager/tags" "github.com/hashicorp/go-azure-helpers/resourcemanager/zones" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/natgateways" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/natgateways" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" "github.com/hashicorp/terraform-provider-azurerm/internal/services/network/validate" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk" diff --git a/internal/services/network/nat_gateway_public_ip_association_resource.go b/internal/services/network/nat_gateway_public_ip_association_resource.go index 533ab2ba4e7f..de8acd269a0c 100644 --- a/internal/services/network/nat_gateway_public_ip_association_resource.go +++ b/internal/services/network/nat_gateway_public_ip_association_resource.go @@ -12,7 +12,7 @@ import ( "github.com/hashicorp/go-azure-helpers/lang/pointer" "github.com/hashicorp/go-azure-helpers/lang/response" "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/natgateways" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/natgateways" "github.com/hashicorp/terraform-provider-azurerm/helpers/tf" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" "github.com/hashicorp/terraform-provider-azurerm/internal/locks" diff --git a/internal/services/network/nat_gateway_public_ip_association_resource_test.go b/internal/services/network/nat_gateway_public_ip_association_resource_test.go index ce82a2683cba..06e8caf44e23 100644 --- a/internal/services/network/nat_gateway_public_ip_association_resource_test.go +++ b/internal/services/network/nat_gateway_public_ip_association_resource_test.go @@ -12,7 +12,7 @@ import ( "github.com/hashicorp/go-azure-helpers/lang/pointer" "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/natgateways" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/natgateways" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" diff --git a/internal/services/network/nat_gateway_public_ip_prefix_association_resource.go b/internal/services/network/nat_gateway_public_ip_prefix_association_resource.go index 0f92a27489aa..8a7d8f363a8d 100644 --- a/internal/services/network/nat_gateway_public_ip_prefix_association_resource.go +++ b/internal/services/network/nat_gateway_public_ip_prefix_association_resource.go @@ -13,7 +13,7 @@ import ( "github.com/hashicorp/go-azure-helpers/lang/response" "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-09-01/publicipprefixes" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/natgateways" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/natgateways" "github.com/hashicorp/terraform-provider-azurerm/helpers/tf" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" "github.com/hashicorp/terraform-provider-azurerm/internal/locks" diff --git a/internal/services/network/nat_gateway_public_ip_prefix_association_resource_test.go b/internal/services/network/nat_gateway_public_ip_prefix_association_resource_test.go index c6d28c8d59e5..f21f7f75a3ff 100644 --- a/internal/services/network/nat_gateway_public_ip_prefix_association_resource_test.go +++ b/internal/services/network/nat_gateway_public_ip_prefix_association_resource_test.go @@ -13,7 +13,7 @@ import ( "github.com/hashicorp/go-azure-helpers/lang/pointer" "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-09-01/publicipprefixes" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/natgateways" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/natgateways" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" diff --git a/internal/services/network/nat_gateway_resource.go b/internal/services/network/nat_gateway_resource.go index 5c5e417f3620..603512ef3dec 100644 --- a/internal/services/network/nat_gateway_resource.go +++ b/internal/services/network/nat_gateway_resource.go @@ -14,7 +14,7 @@ import ( "github.com/hashicorp/go-azure-helpers/resourcemanager/location" "github.com/hashicorp/go-azure-helpers/resourcemanager/tags" "github.com/hashicorp/go-azure-helpers/resourcemanager/zones" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/natgateways" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/natgateways" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "github.com/hashicorp/terraform-provider-azurerm/helpers/tf" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" diff --git a/internal/services/network/nat_gateway_resource_test.go b/internal/services/network/nat_gateway_resource_test.go index e2b39b7b3472..9661832140c8 100644 --- a/internal/services/network/nat_gateway_resource_test.go +++ b/internal/services/network/nat_gateway_resource_test.go @@ -9,7 +9,7 @@ import ( "testing" "github.com/hashicorp/go-azure-helpers/lang/pointer" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/natgateways" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/natgateways" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" diff --git a/internal/services/network/network_connection_monitor_resource.go b/internal/services/network/network_connection_monitor_resource.go index 2802e3abc752..648ae3ccb8d8 100644 --- a/internal/services/network/network_connection_monitor_resource.go +++ b/internal/services/network/network_connection_monitor_resource.go @@ -15,7 +15,7 @@ import ( "github.com/hashicorp/go-azure-helpers/resourcemanager/tags" "github.com/hashicorp/go-azure-sdk/resource-manager/hybridcompute/2022-11-10/machines" "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-09-01/networkwatchers" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectionmonitors" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectionmonitors" "github.com/hashicorp/go-azure-sdk/resource-manager/operationalinsights/2020-08-01/workspaces" "github.com/hashicorp/terraform-provider-azurerm/helpers/azure" "github.com/hashicorp/terraform-provider-azurerm/helpers/tf" diff --git a/internal/services/network/network_connection_monitor_resource_test.go b/internal/services/network/network_connection_monitor_resource_test.go index ef04a5de8591..1ea1f6354bfe 100644 --- a/internal/services/network/network_connection_monitor_resource_test.go +++ b/internal/services/network/network_connection_monitor_resource_test.go @@ -9,7 +9,7 @@ import ( "regexp" "testing" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectionmonitors" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectionmonitors" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" diff --git a/internal/services/network/network_ddos_protection_plan_data_source.go b/internal/services/network/network_ddos_protection_plan_data_source.go index 6e81203a20c7..ac8b41b355ef 100644 --- a/internal/services/network/network_ddos_protection_plan_data_source.go +++ b/internal/services/network/network_ddos_protection_plan_data_source.go @@ -11,7 +11,7 @@ import ( "github.com/hashicorp/go-azure-helpers/resourcemanager/commonschema" "github.com/hashicorp/go-azure-helpers/resourcemanager/location" "github.com/hashicorp/go-azure-helpers/resourcemanager/tags" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ddosprotectionplans" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ddosprotectionplans" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk" "github.com/hashicorp/terraform-provider-azurerm/internal/timeouts" diff --git a/internal/services/network/network_ddos_protection_plan_resource.go b/internal/services/network/network_ddos_protection_plan_resource.go index d7329a32f9ee..ffb880a61164 100644 --- a/internal/services/network/network_ddos_protection_plan_resource.go +++ b/internal/services/network/network_ddos_protection_plan_resource.go @@ -14,7 +14,7 @@ import ( "github.com/hashicorp/go-azure-helpers/resourcemanager/commonschema" "github.com/hashicorp/go-azure-helpers/resourcemanager/location" "github.com/hashicorp/go-azure-helpers/resourcemanager/tags" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ddosprotectionplans" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ddosprotectionplans" "github.com/hashicorp/terraform-provider-azurerm/helpers/tf" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" "github.com/hashicorp/terraform-provider-azurerm/internal/locks" diff --git a/internal/services/network/network_ddos_protection_plan_resource_test.go b/internal/services/network/network_ddos_protection_plan_resource_test.go index c8985edffd52..5bf48b3d1d0a 100644 --- a/internal/services/network/network_ddos_protection_plan_resource_test.go +++ b/internal/services/network/network_ddos_protection_plan_resource_test.go @@ -8,7 +8,7 @@ import ( "fmt" "testing" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ddosprotectionplans" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ddosprotectionplans" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" diff --git a/internal/services/network/network_interface.go b/internal/services/network/network_interface.go index 41a75d02d97d..a7e6250a9853 100644 --- a/internal/services/network/network_interface.go +++ b/internal/services/network/network_interface.go @@ -4,7 +4,7 @@ package network import ( - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces" "github.com/hashicorp/terraform-provider-azurerm/utils" ) diff --git a/internal/services/network/network_interface_application_gateway_association_resource.go b/internal/services/network/network_interface_application_gateway_association_resource.go index bbb5ed0e6d4e..a2c3bf7955a0 100644 --- a/internal/services/network/network_interface_application_gateway_association_resource.go +++ b/internal/services/network/network_interface_application_gateway_association_resource.go @@ -11,7 +11,7 @@ import ( "github.com/hashicorp/go-azure-helpers/lang/pointer" "github.com/hashicorp/go-azure-helpers/lang/response" "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces" "github.com/hashicorp/terraform-provider-azurerm/helpers/tf" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" "github.com/hashicorp/terraform-provider-azurerm/internal/locks" diff --git a/internal/services/network/network_interface_application_gateway_association_resource_test.go b/internal/services/network/network_interface_application_gateway_association_resource_test.go index a461e9cdabb4..4895dd03b447 100644 --- a/internal/services/network/network_interface_application_gateway_association_resource_test.go +++ b/internal/services/network/network_interface_application_gateway_association_resource_test.go @@ -11,7 +11,7 @@ import ( "github.com/hashicorp/go-azure-helpers/lang/pointer" "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" diff --git a/internal/services/network/network_interface_application_security_group_association_resource.go b/internal/services/network/network_interface_application_security_group_association_resource.go index 03e270b3b65b..666f3a90fad7 100644 --- a/internal/services/network/network_interface_application_security_group_association_resource.go +++ b/internal/services/network/network_interface_application_security_group_association_resource.go @@ -11,7 +11,7 @@ import ( "github.com/hashicorp/go-azure-helpers/lang/response" "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-09-01/applicationsecuritygroups" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces" "github.com/hashicorp/terraform-provider-azurerm/helpers/tf" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" "github.com/hashicorp/terraform-provider-azurerm/internal/locks" diff --git a/internal/services/network/network_interface_application_security_group_association_resource_test.go b/internal/services/network/network_interface_application_security_group_association_resource_test.go index a48a4e046dc3..c5c6208c0086 100644 --- a/internal/services/network/network_interface_application_security_group_association_resource_test.go +++ b/internal/services/network/network_interface_application_security_group_association_resource_test.go @@ -12,7 +12,7 @@ import ( "github.com/hashicorp/go-azure-helpers/lang/pointer" "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-09-01/applicationsecuritygroups" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" diff --git a/internal/services/network/network_interface_backend_address_pool_association_resource.go b/internal/services/network/network_interface_backend_address_pool_association_resource.go index 68618124a51e..c72e9b8c3fb7 100644 --- a/internal/services/network/network_interface_backend_address_pool_association_resource.go +++ b/internal/services/network/network_interface_backend_address_pool_association_resource.go @@ -12,7 +12,7 @@ import ( "github.com/hashicorp/go-azure-helpers/lang/response" "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-09-01/loadbalancers" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces" "github.com/hashicorp/terraform-provider-azurerm/helpers/tf" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" "github.com/hashicorp/terraform-provider-azurerm/internal/locks" diff --git a/internal/services/network/network_interface_backend_address_pool_association_resource_test.go b/internal/services/network/network_interface_backend_address_pool_association_resource_test.go index 71ff126d91a7..59ad40bb4a20 100644 --- a/internal/services/network/network_interface_backend_address_pool_association_resource_test.go +++ b/internal/services/network/network_interface_backend_address_pool_association_resource_test.go @@ -12,7 +12,7 @@ import ( "github.com/hashicorp/go-azure-helpers/lang/pointer" "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-09-01/loadbalancers" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" diff --git a/internal/services/network/network_interface_data_source.go b/internal/services/network/network_interface_data_source.go index 33ddccae9c24..a47a8894a36d 100644 --- a/internal/services/network/network_interface_data_source.go +++ b/internal/services/network/network_interface_data_source.go @@ -11,7 +11,7 @@ import ( "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" "github.com/hashicorp/go-azure-helpers/resourcemanager/commonschema" "github.com/hashicorp/go-azure-helpers/resourcemanager/tags" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces" "github.com/hashicorp/terraform-provider-azurerm/helpers/azure" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" "github.com/hashicorp/terraform-provider-azurerm/internal/features" diff --git a/internal/services/network/network_interface_helpers.go b/internal/services/network/network_interface_helpers.go index 308be3fac623..810243a6e737 100644 --- a/internal/services/network/network_interface_helpers.go +++ b/internal/services/network/network_interface_helpers.go @@ -4,7 +4,7 @@ package network import ( - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces" ) func FindNetworkInterfaceIPConfiguration(input *[]networkinterfaces.NetworkInterfaceIPConfiguration, name string) *networkinterfaces.NetworkInterfaceIPConfiguration { diff --git a/internal/services/network/network_interface_locking.go b/internal/services/network/network_interface_locking.go index 163cae84af8a..2443f4ce0f62 100644 --- a/internal/services/network/network_interface_locking.go +++ b/internal/services/network/network_interface_locking.go @@ -5,7 +5,7 @@ package network import ( "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces" "github.com/hashicorp/terraform-provider-azurerm/internal/locks" "github.com/hashicorp/terraform-provider-azurerm/utils" ) diff --git a/internal/services/network/network_interface_nat_rule_association_resource.go b/internal/services/network/network_interface_nat_rule_association_resource.go index 5b5eb0e4aa99..8079306d48d1 100644 --- a/internal/services/network/network_interface_nat_rule_association_resource.go +++ b/internal/services/network/network_interface_nat_rule_association_resource.go @@ -12,7 +12,7 @@ import ( "github.com/hashicorp/go-azure-helpers/lang/response" "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-09-01/loadbalancers" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces" "github.com/hashicorp/terraform-provider-azurerm/helpers/tf" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" "github.com/hashicorp/terraform-provider-azurerm/internal/locks" diff --git a/internal/services/network/network_interface_nat_rule_association_resource_test.go b/internal/services/network/network_interface_nat_rule_association_resource_test.go index e56aef671e24..5bf5a04b5b15 100644 --- a/internal/services/network/network_interface_nat_rule_association_resource_test.go +++ b/internal/services/network/network_interface_nat_rule_association_resource_test.go @@ -12,7 +12,7 @@ import ( "github.com/hashicorp/go-azure-helpers/lang/pointer" "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-09-01/loadbalancers" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" diff --git a/internal/services/network/network_interface_resource.go b/internal/services/network/network_interface_resource.go index 5635669bbaaa..7b09a9ee0d70 100644 --- a/internal/services/network/network_interface_resource.go +++ b/internal/services/network/network_interface_resource.go @@ -14,7 +14,7 @@ import ( "github.com/hashicorp/go-azure-helpers/resourcemanager/commonschema" "github.com/hashicorp/go-azure-helpers/resourcemanager/location" "github.com/hashicorp/go-azure-helpers/resourcemanager/tags" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces" "github.com/hashicorp/terraform-provider-azurerm/helpers/tf" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" "github.com/hashicorp/terraform-provider-azurerm/internal/features" diff --git a/internal/services/network/network_interface_resource_test.go b/internal/services/network/network_interface_resource_test.go index 2eda68d6e2b3..8f8240d1d7f0 100644 --- a/internal/services/network/network_interface_resource_test.go +++ b/internal/services/network/network_interface_resource_test.go @@ -10,7 +10,7 @@ import ( "github.com/hashicorp/go-azure-helpers/lang/pointer" "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" diff --git a/internal/services/network/network_interface_security_group_association_resource.go b/internal/services/network/network_interface_security_group_association_resource.go index 198c8fe1c5e0..45b93be9d3a6 100644 --- a/internal/services/network/network_interface_security_group_association_resource.go +++ b/internal/services/network/network_interface_security_group_association_resource.go @@ -12,7 +12,7 @@ import ( "github.com/hashicorp/go-azure-helpers/lang/response" "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-09-01/networksecuritygroups" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces" "github.com/hashicorp/terraform-provider-azurerm/helpers/tf" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" "github.com/hashicorp/terraform-provider-azurerm/internal/locks" diff --git a/internal/services/network/network_interface_security_group_association_resource_test.go b/internal/services/network/network_interface_security_group_association_resource_test.go index ccd39de44a33..a5c43da5cc2d 100644 --- a/internal/services/network/network_interface_security_group_association_resource_test.go +++ b/internal/services/network/network_interface_security_group_association_resource_test.go @@ -12,7 +12,7 @@ import ( "github.com/hashicorp/go-azure-helpers/lang/pointer" "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-09-01/networksecuritygroups" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" diff --git a/internal/services/network/network_manager_admin_rule_collection_resource.go b/internal/services/network/network_manager_admin_rule_collection_resource.go index 5d41d5a59151..70a34981422f 100644 --- a/internal/services/network/network_manager_admin_rule_collection_resource.go +++ b/internal/services/network/network_manager_admin_rule_collection_resource.go @@ -10,7 +10,7 @@ import ( "github.com/hashicorp/go-azure-helpers/lang/response" "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-09-01/networkgroups" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/adminrulecollections" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/adminrulecollections" "github.com/hashicorp/terraform-provider-azurerm/internal/sdk" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/validation" @@ -37,7 +37,7 @@ func (r ManagerAdminRuleCollectionResource) ModelObject() interface{} { } func (r ManagerAdminRuleCollectionResource) IDValidationFunc() pluginsdk.SchemaValidateFunc { - return adminrulecollections.ValidateRuleCollectionID + return adminrulecollections.ValidateSecurityAdminConfigurationRuleCollectionID } func (r ManagerAdminRuleCollectionResource) Arguments() map[string]*pluginsdk.Schema { @@ -91,7 +91,7 @@ func (r ManagerAdminRuleCollectionResource) Create() sdk.ResourceFunc { return err } - id := adminrulecollections.NewRuleCollectionID(configurationId.SubscriptionId, configurationId.ResourceGroupName, + id := adminrulecollections.NewSecurityAdminConfigurationRuleCollectionID(configurationId.SubscriptionId, configurationId.ResourceGroupName, configurationId.NetworkManagerName, configurationId.SecurityAdminConfigurationName, model.Name) existing, err := client.Get(ctx, id) @@ -129,7 +129,7 @@ func (r ManagerAdminRuleCollectionResource) Update() sdk.ResourceFunc { Func: func(ctx context.Context, metadata sdk.ResourceMetaData) error { client := metadata.Client.Network.AdminRuleCollections - id, err := adminrulecollections.ParseRuleCollectionID(metadata.ResourceData.Id()) + id, err := adminrulecollections.ParseSecurityAdminConfigurationRuleCollectionID(metadata.ResourceData.Id()) if err != nil { return err } @@ -175,7 +175,7 @@ func (r ManagerAdminRuleCollectionResource) Read() sdk.ResourceFunc { Func: func(ctx context.Context, metadata sdk.ResourceMetaData) error { client := metadata.Client.Network.AdminRuleCollections - id, err := adminrulecollections.ParseRuleCollectionID(metadata.ResourceData.Id()) + id, err := adminrulecollections.ParseSecurityAdminConfigurationRuleCollectionID(metadata.ResourceData.Id()) if err != nil { return err } @@ -219,7 +219,7 @@ func (r ManagerAdminRuleCollectionResource) Delete() sdk.ResourceFunc { Func: func(ctx context.Context, metadata sdk.ResourceMetaData) error { client := metadata.Client.Network.AdminRuleCollections - id, err := adminrulecollections.ParseRuleCollectionID(metadata.ResourceData.Id()) + id, err := adminrulecollections.ParseSecurityAdminConfigurationRuleCollectionID(metadata.ResourceData.Id()) if err != nil { return err } diff --git a/internal/services/network/network_manager_admin_rule_collection_resource_test.go b/internal/services/network/network_manager_admin_rule_collection_resource_test.go index df346aff9a48..dd8b0e5d4816 100644 --- a/internal/services/network/network_manager_admin_rule_collection_resource_test.go +++ b/internal/services/network/network_manager_admin_rule_collection_resource_test.go @@ -9,7 +9,7 @@ import ( "testing" "github.com/hashicorp/go-azure-helpers/lang/response" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/adminrulecollections" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/adminrulecollections" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" @@ -83,7 +83,7 @@ func testAccNetworkManagerAdminRuleCollection_update(t *testing.T) { } func (r NetworkAdminRuleCollectionResource) Exists(ctx context.Context, clients *clients.Client, state *pluginsdk.InstanceState) (*bool, error) { - id, err := adminrulecollections.ParseRuleCollectionID(state.ID) + id, err := adminrulecollections.ParseSecurityAdminConfigurationRuleCollectionID(state.ID) if err != nil { return nil, err } diff --git a/internal/services/network/network_manager_admin_rule_resource.go b/internal/services/network/network_manager_admin_rule_resource.go index 8555b80e775b..7da70f43825d 100644 --- a/internal/services/network/network_manager_admin_rule_resource.go +++ b/internal/services/network/network_manager_admin_rule_resource.go @@ -9,7 +9,7 @@ import ( "time" "github.com/hashicorp/go-azure-helpers/lang/response" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/adminrules" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/adminrules" "github.com/hashicorp/terraform-provider-azurerm/internal/sdk" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/validation" @@ -48,7 +48,7 @@ func (r ManagerAdminRuleResource) ModelObject() interface{} { } func (r ManagerAdminRuleResource) IDValidationFunc() pluginsdk.SchemaValidateFunc { - return adminrules.ValidateRuleID + return adminrules.ValidateSecurityAdminConfigurationRuleCollectionRuleID } func (r ManagerAdminRuleResource) Arguments() map[string]*pluginsdk.Schema { @@ -64,7 +64,7 @@ func (r ManagerAdminRuleResource) Arguments() map[string]*pluginsdk.Schema { Type: pluginsdk.TypeString, Required: true, ForceNew: true, - ValidateFunc: adminrules.ValidateRuleCollectionID, + ValidateFunc: adminrules.ValidateSecurityAdminConfigurationRuleCollectionID, }, "action": { @@ -191,12 +191,12 @@ func (r ManagerAdminRuleResource) Create() sdk.ResourceFunc { } client := metadata.Client.Network.AdminRules - ruleCollectionId, err := adminrules.ParseRuleCollectionID(model.NetworkRuleCollectionId) + ruleCollectionId, err := adminrules.ParseSecurityAdminConfigurationRuleCollectionID(model.NetworkRuleCollectionId) if err != nil { return err } - id := adminrules.NewRuleID(ruleCollectionId.SubscriptionId, ruleCollectionId.ResourceGroupName, + id := adminrules.NewSecurityAdminConfigurationRuleCollectionRuleID(ruleCollectionId.SubscriptionId, ruleCollectionId.ResourceGroupName, ruleCollectionId.NetworkManagerName, ruleCollectionId.SecurityAdminConfigurationName, ruleCollectionId.RuleCollectionName, model.Name) existing, err := client.Get(ctx, id) if err != nil && !response.WasNotFound(existing.HttpResponse) { @@ -240,7 +240,7 @@ func (r ManagerAdminRuleResource) Update() sdk.ResourceFunc { Func: func(ctx context.Context, metadata sdk.ResourceMetaData) error { client := metadata.Client.Network.AdminRules - id, err := adminrules.ParseRuleID(metadata.ResourceData.Id()) + id, err := adminrules.ParseSecurityAdminConfigurationRuleCollectionRuleID(metadata.ResourceData.Id()) if err != nil { return err } @@ -324,7 +324,7 @@ func (r ManagerAdminRuleResource) Read() sdk.ResourceFunc { Func: func(ctx context.Context, metadata sdk.ResourceMetaData) error { client := metadata.Client.Network.AdminRules - id, err := adminrules.ParseRuleID(metadata.ResourceData.Id()) + id, err := adminrules.ParseSecurityAdminConfigurationRuleCollectionRuleID(metadata.ResourceData.Id()) if err != nil { return err } @@ -355,7 +355,7 @@ func (r ManagerAdminRuleResource) Read() sdk.ResourceFunc { state := ManagerAdminRuleModel{ Action: properties.Access, Name: id.RuleName, - NetworkRuleCollectionId: adminrules.NewRuleCollectionID(id.SubscriptionId, id.ResourceGroupName, + NetworkRuleCollectionId: adminrules.NewSecurityAdminConfigurationRuleCollectionID(id.SubscriptionId, id.ResourceGroupName, id.NetworkManagerName, id.SecurityAdminConfigurationName, id.RuleCollectionName).ID(), Destinations: flattenAddressPrefixItemModel(properties.Destinations), Direction: properties.Direction, @@ -387,7 +387,7 @@ func (r ManagerAdminRuleResource) Delete() sdk.ResourceFunc { Func: func(ctx context.Context, metadata sdk.ResourceMetaData) error { client := metadata.Client.Network.AdminRules - id, err := adminrules.ParseRuleID(metadata.ResourceData.Id()) + id, err := adminrules.ParseSecurityAdminConfigurationRuleCollectionRuleID(metadata.ResourceData.Id()) if err != nil { return err } diff --git a/internal/services/network/network_manager_admin_rule_resource_test.go b/internal/services/network/network_manager_admin_rule_resource_test.go index 26ffc26d1d7b..11a392725604 100644 --- a/internal/services/network/network_manager_admin_rule_resource_test.go +++ b/internal/services/network/network_manager_admin_rule_resource_test.go @@ -9,7 +9,7 @@ import ( "testing" "github.com/hashicorp/go-azure-helpers/lang/response" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/adminrules" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/adminrules" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" @@ -90,7 +90,7 @@ func testAccNetworkManagerAdminRule_update(t *testing.T) { } func (r ManagerAdminRuleResource) Exists(ctx context.Context, clients *clients.Client, state *pluginsdk.InstanceState) (*bool, error) { - id, err := adminrules.ParseRuleID(state.ID) + id, err := adminrules.ParseSecurityAdminConfigurationRuleCollectionRuleID(state.ID) if err != nil { return nil, err } diff --git a/internal/services/network/network_manager_connectivity_configuration_data_source.go b/internal/services/network/network_manager_connectivity_configuration_data_source.go index 285f7371fc48..006b7bd4cda4 100644 --- a/internal/services/network/network_manager_connectivity_configuration_data_source.go +++ b/internal/services/network/network_manager_connectivity_configuration_data_source.go @@ -10,7 +10,7 @@ import ( "github.com/hashicorp/go-azure-helpers/lang/pointer" "github.com/hashicorp/go-azure-helpers/lang/response" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectivityconfigurations" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectivityconfigurations" "github.com/hashicorp/terraform-provider-azurerm/internal/sdk" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/validation" diff --git a/internal/services/network/network_manager_connectivity_configuration_resource.go b/internal/services/network/network_manager_connectivity_configuration_resource.go index 4b583ddaf902..91d003af18b7 100644 --- a/internal/services/network/network_manager_connectivity_configuration_resource.go +++ b/internal/services/network/network_manager_connectivity_configuration_resource.go @@ -9,7 +9,7 @@ import ( "time" "github.com/hashicorp/go-azure-helpers/lang/response" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectivityconfigurations" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectivityconfigurations" "github.com/hashicorp/terraform-provider-azurerm/helpers/azure" "github.com/hashicorp/terraform-provider-azurerm/internal/sdk" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk" diff --git a/internal/services/network/network_manager_connectivity_configuration_resource_test.go b/internal/services/network/network_manager_connectivity_configuration_resource_test.go index da6793c6b24d..44894389bf14 100644 --- a/internal/services/network/network_manager_connectivity_configuration_resource_test.go +++ b/internal/services/network/network_manager_connectivity_configuration_resource_test.go @@ -9,7 +9,7 @@ import ( "testing" "github.com/hashicorp/go-azure-helpers/lang/response" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectivityconfigurations" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectivityconfigurations" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" diff --git a/internal/services/network/network_manager_data_source.go b/internal/services/network/network_manager_data_source.go index 9600cd5a0b09..6b31150b6a15 100644 --- a/internal/services/network/network_manager_data_source.go +++ b/internal/services/network/network_manager_data_source.go @@ -11,7 +11,7 @@ import ( "github.com/hashicorp/go-azure-helpers/lang/response" "github.com/hashicorp/go-azure-helpers/resourcemanager/commonschema" "github.com/hashicorp/go-azure-helpers/resourcemanager/location" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagers" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagers" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "github.com/hashicorp/terraform-provider-azurerm/internal/sdk" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk" diff --git a/internal/services/network/network_manager_deployment_resource.go b/internal/services/network/network_manager_deployment_resource.go index 5869a137aadc..c7b655e7864e 100644 --- a/internal/services/network/network_manager_deployment_resource.go +++ b/internal/services/network/network_manager_deployment_resource.go @@ -12,7 +12,7 @@ import ( "github.com/hashicorp/go-azure-helpers/lang/response" "github.com/hashicorp/go-azure-helpers/resourcemanager/commonschema" "github.com/hashicorp/go-azure-helpers/resourcemanager/location" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagers" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagers" "github.com/hashicorp/terraform-provider-azurerm/helpers/azure" "github.com/hashicorp/terraform-provider-azurerm/internal/locks" "github.com/hashicorp/terraform-provider-azurerm/internal/sdk" diff --git a/internal/services/network/network_manager_deployment_resource_test.go b/internal/services/network/network_manager_deployment_resource_test.go index 1a709fda61f0..c6c2bd760482 100644 --- a/internal/services/network/network_manager_deployment_resource_test.go +++ b/internal/services/network/network_manager_deployment_resource_test.go @@ -9,7 +9,7 @@ import ( "testing" "github.com/hashicorp/go-azure-helpers/lang/response" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagers" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagers" "github.com/hashicorp/terraform-provider-azurerm/helpers/azure" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" diff --git a/internal/services/network/network_manager_management_group_connection_resource.go b/internal/services/network/network_manager_management_group_connection_resource.go index f17aab268f52..1ee13f43c5cf 100644 --- a/internal/services/network/network_manager_management_group_connection_resource.go +++ b/internal/services/network/network_manager_management_group_connection_resource.go @@ -10,7 +10,7 @@ import ( "github.com/hashicorp/go-azure-helpers/lang/response" "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-09-01/networkmanagers" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagerconnections" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagerconnections" "github.com/hashicorp/terraform-provider-azurerm/internal/sdk" managementParse "github.com/hashicorp/terraform-provider-azurerm/internal/services/managementgroup/parse" managementValidate "github.com/hashicorp/terraform-provider-azurerm/internal/services/managementgroup/validate" diff --git a/internal/services/network/network_manager_management_group_connection_resource_test.go b/internal/services/network/network_manager_management_group_connection_resource_test.go index 9acef782b973..58fcdebba773 100644 --- a/internal/services/network/network_manager_management_group_connection_resource_test.go +++ b/internal/services/network/network_manager_management_group_connection_resource_test.go @@ -10,7 +10,7 @@ import ( "testing" "github.com/hashicorp/go-azure-helpers/lang/response" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagerconnections" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagerconnections" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" @@ -30,7 +30,10 @@ func testAccNetworkManagerManagementGroupConnection_basic(t *testing.T) { check.That(data.ResourceName).ExistsInAzure(r), ), }, - data.ImportStep(), + // https://learn.microsoft.com/azure/virtual-network-manager/concept-network-manager-scope#cross-tenant-scope + // connection_state shows if the cross-tenant connection is established. + // Since we test in a single tenant, we can skip this validation. + data.ImportStep("connection_state"), }) } @@ -58,7 +61,7 @@ func testAccNetworkManagerManagementGroupConnection_complete(t *testing.T) { check.That(data.ResourceName).ExistsInAzure(r), ), }, - data.ImportStep(), + data.ImportStep("connection_state"), }) } @@ -72,14 +75,14 @@ func testAccNetworkManagerManagementGroupConnection_update(t *testing.T) { check.That(data.ResourceName).ExistsInAzure(r), ), }, - data.ImportStep(), + data.ImportStep("connection_state"), { Config: r.update(data), Check: acceptance.ComposeTestCheckFunc( check.That(data.ResourceName).ExistsInAzure(r), ), }, - data.ImportStep(), + data.ImportStep("connection_state"), }) } diff --git a/internal/services/network/network_manager_network_group_data_source.go b/internal/services/network/network_manager_network_group_data_source.go index c183420381df..67fb64220b47 100644 --- a/internal/services/network/network_manager_network_group_data_source.go +++ b/internal/services/network/network_manager_network_group_data_source.go @@ -10,7 +10,7 @@ import ( "github.com/hashicorp/go-azure-helpers/lang/pointer" "github.com/hashicorp/go-azure-helpers/lang/response" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkgroups" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkgroups" "github.com/hashicorp/terraform-provider-azurerm/internal/sdk" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/validation" diff --git a/internal/services/network/network_manager_network_group_resource.go b/internal/services/network/network_manager_network_group_resource.go index 91ea8824ebfe..8669fa71c4bc 100644 --- a/internal/services/network/network_manager_network_group_resource.go +++ b/internal/services/network/network_manager_network_group_resource.go @@ -10,7 +10,7 @@ import ( "github.com/hashicorp/go-azure-helpers/lang/pointer" "github.com/hashicorp/go-azure-helpers/lang/response" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkgroups" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkgroups" "github.com/hashicorp/terraform-provider-azurerm/internal/sdk" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/validation" diff --git a/internal/services/network/network_manager_network_group_resource_test.go b/internal/services/network/network_manager_network_group_resource_test.go index 34ce8cbe7433..093b65f81c8b 100644 --- a/internal/services/network/network_manager_network_group_resource_test.go +++ b/internal/services/network/network_manager_network_group_resource_test.go @@ -9,7 +9,7 @@ import ( "testing" "github.com/hashicorp/go-azure-helpers/lang/response" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkgroups" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkgroups" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" diff --git a/internal/services/network/network_manager_resource.go b/internal/services/network/network_manager_resource.go index b455ebd5075a..ce212c353f7c 100644 --- a/internal/services/network/network_manager_resource.go +++ b/internal/services/network/network_manager_resource.go @@ -13,7 +13,7 @@ import ( "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" "github.com/hashicorp/go-azure-helpers/resourcemanager/commonschema" "github.com/hashicorp/go-azure-helpers/resourcemanager/location" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagers" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagers" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "github.com/hashicorp/terraform-provider-azurerm/helpers/azure" "github.com/hashicorp/terraform-provider-azurerm/internal/sdk" diff --git a/internal/services/network/network_manager_resource_test.go b/internal/services/network/network_manager_resource_test.go index 01f36c03ba62..82c90fe79d9b 100644 --- a/internal/services/network/network_manager_resource_test.go +++ b/internal/services/network/network_manager_resource_test.go @@ -9,7 +9,7 @@ import ( "testing" "github.com/hashicorp/go-azure-helpers/lang/response" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagers" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagers" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" diff --git a/internal/services/network/network_manager_scope_connection_resource.go b/internal/services/network/network_manager_scope_connection_resource.go index ef1f1e0ed6ca..38658878c78b 100644 --- a/internal/services/network/network_manager_scope_connection_resource.go +++ b/internal/services/network/network_manager_scope_connection_resource.go @@ -9,7 +9,7 @@ import ( "time" "github.com/hashicorp/go-azure-helpers/lang/response" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/scopeconnections" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/scopeconnections" "github.com/hashicorp/terraform-provider-azurerm/internal/sdk" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/validation" diff --git a/internal/services/network/network_manager_scope_connection_resource_test.go b/internal/services/network/network_manager_scope_connection_resource_test.go index b59868565ed9..041acd590b46 100644 --- a/internal/services/network/network_manager_scope_connection_resource_test.go +++ b/internal/services/network/network_manager_scope_connection_resource_test.go @@ -9,7 +9,7 @@ import ( "testing" "github.com/hashicorp/go-azure-helpers/lang/response" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/scopeconnections" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/scopeconnections" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" @@ -29,7 +29,10 @@ func testAccNetworkManagerScopeConnection_basic(t *testing.T) { check.That(data.ResourceName).ExistsInAzure(r), ), }, - data.ImportStep(), + // https://learn.microsoft.com/azure/virtual-network-manager/concept-network-manager-scope#cross-tenant-scope + // connection_state shows if the cross-tenant connection is established. + // Since we test in a single tenant, we can skip this validation. + data.ImportStep("connection_state"), }) } @@ -57,7 +60,7 @@ func testAccNetworkManagerScopeConnection_complete(t *testing.T) { check.That(data.ResourceName).ExistsInAzure(r), ), }, - data.ImportStep(), + data.ImportStep("connection_state"), }) } @@ -71,14 +74,14 @@ func testAccNetworkManagerScopeConnection_update(t *testing.T) { check.That(data.ResourceName).ExistsInAzure(r), ), }, - data.ImportStep(), + data.ImportStep("connection_state"), { Config: r.update(data), Check: acceptance.ComposeTestCheckFunc( check.That(data.ResourceName).ExistsInAzure(r), ), }, - data.ImportStep(), + data.ImportStep("connection_state"), }) } diff --git a/internal/services/network/network_manager_security_admin_configuration_resource.go b/internal/services/network/network_manager_security_admin_configuration_resource.go index fbe49a918fee..53b70d721ec8 100644 --- a/internal/services/network/network_manager_security_admin_configuration_resource.go +++ b/internal/services/network/network_manager_security_admin_configuration_resource.go @@ -9,7 +9,7 @@ import ( "time" "github.com/hashicorp/go-azure-helpers/lang/response" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/securityadminconfigurations" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityadminconfigurations" "github.com/hashicorp/terraform-provider-azurerm/internal/sdk" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/validation" diff --git a/internal/services/network/network_manager_security_admin_configuration_resource_test.go b/internal/services/network/network_manager_security_admin_configuration_resource_test.go index 8cffd99c0553..669910ba8605 100644 --- a/internal/services/network/network_manager_security_admin_configuration_resource_test.go +++ b/internal/services/network/network_manager_security_admin_configuration_resource_test.go @@ -9,7 +9,7 @@ import ( "testing" "github.com/hashicorp/go-azure-helpers/lang/response" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/securityadminconfigurations" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityadminconfigurations" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" diff --git a/internal/services/network/network_manager_static_member_resource.go b/internal/services/network/network_manager_static_member_resource.go index 85f61e79b192..9ceedcc912c4 100644 --- a/internal/services/network/network_manager_static_member_resource.go +++ b/internal/services/network/network_manager_static_member_resource.go @@ -10,7 +10,7 @@ import ( "github.com/hashicorp/go-azure-helpers/lang/response" "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/staticmembers" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/staticmembers" "github.com/hashicorp/terraform-provider-azurerm/internal/sdk" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/validation" diff --git a/internal/services/network/network_manager_static_member_resource_test.go b/internal/services/network/network_manager_static_member_resource_test.go index b5b9d0972fe2..1b86dc8ec765 100644 --- a/internal/services/network/network_manager_static_member_resource_test.go +++ b/internal/services/network/network_manager_static_member_resource_test.go @@ -9,7 +9,7 @@ import ( "testing" "github.com/hashicorp/go-azure-helpers/lang/response" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/staticmembers" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/staticmembers" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" diff --git a/internal/services/network/network_manager_subscription_connection_resource.go b/internal/services/network/network_manager_subscription_connection_resource.go index 705a44cbdf9a..34b62f4e92e6 100644 --- a/internal/services/network/network_manager_subscription_connection_resource.go +++ b/internal/services/network/network_manager_subscription_connection_resource.go @@ -11,7 +11,7 @@ import ( "github.com/hashicorp/go-azure-helpers/lang/response" "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-09-01/networkmanagers" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagerconnections" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagerconnections" "github.com/hashicorp/terraform-provider-azurerm/internal/sdk" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/validation" diff --git a/internal/services/network/network_manager_subscription_connection_resource_test.go b/internal/services/network/network_manager_subscription_connection_resource_test.go index 2099299a3bb7..f7a507ee5955 100644 --- a/internal/services/network/network_manager_subscription_connection_resource_test.go +++ b/internal/services/network/network_manager_subscription_connection_resource_test.go @@ -9,7 +9,7 @@ import ( "testing" "github.com/hashicorp/go-azure-helpers/lang/response" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagerconnections" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagerconnections" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" @@ -29,7 +29,10 @@ func testAccNetworkSubscriptionNetworkManagerConnection_basic(t *testing.T) { check.That(data.ResourceName).ExistsInAzure(r), ), }, - data.ImportStep(), + // https://learn.microsoft.com/azure/virtual-network-manager/concept-network-manager-scope#cross-tenant-scope + // connection_state shows if the cross-tenant connection is established. + // Since we test in a single tenant, we can skip this validation. + data.ImportStep("connection_state"), }) } @@ -57,7 +60,7 @@ func testAccNetworkSubscriptionNetworkManagerConnection_complete(t *testing.T) { check.That(data.ResourceName).ExistsInAzure(r), ), }, - data.ImportStep(), + data.ImportStep("connection_state"), }) } @@ -71,14 +74,14 @@ func testAccNetworkSubscriptionNetworkManagerConnection_update(t *testing.T) { check.That(data.ResourceName).ExistsInAzure(r), ), }, - data.ImportStep(), + data.ImportStep("connection_state"), { Config: r.update(data), Check: acceptance.ComposeTestCheckFunc( check.That(data.ResourceName).ExistsInAzure(r), ), }, - data.ImportStep(), + data.ImportStep("connection_state"), }) } diff --git a/internal/services/network/network_packet_capture_resource.go b/internal/services/network/network_packet_capture_resource.go index c1bcbcefe7c6..772bde4680b3 100644 --- a/internal/services/network/network_packet_capture_resource.go +++ b/internal/services/network/network_packet_capture_resource.go @@ -11,7 +11,7 @@ import ( "github.com/hashicorp/go-azure-helpers/lang/pointer" "github.com/hashicorp/go-azure-helpers/lang/response" "github.com/hashicorp/go-azure-helpers/resourcemanager/commonschema" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/packetcaptures" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/packetcaptures" "github.com/hashicorp/terraform-provider-azurerm/helpers/tf" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" "github.com/hashicorp/terraform-provider-azurerm/internal/services/network/migration" diff --git a/internal/services/network/network_packet_capture_resource_test.go b/internal/services/network/network_packet_capture_resource_test.go index b337b245e575..2cfe68f4af14 100644 --- a/internal/services/network/network_packet_capture_resource_test.go +++ b/internal/services/network/network_packet_capture_resource_test.go @@ -8,7 +8,7 @@ import ( "fmt" "testing" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/packetcaptures" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/packetcaptures" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" diff --git a/internal/services/network/network_profile_resource.go b/internal/services/network/network_profile_resource.go index b7ef01bf1a50..1ed2c0268d6e 100644 --- a/internal/services/network/network_profile_resource.go +++ b/internal/services/network/network_profile_resource.go @@ -14,7 +14,7 @@ import ( "github.com/hashicorp/go-azure-helpers/resourcemanager/commonschema" "github.com/hashicorp/go-azure-helpers/resourcemanager/location" "github.com/hashicorp/go-azure-helpers/resourcemanager/tags" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles" "github.com/hashicorp/terraform-provider-azurerm/helpers/tf" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" "github.com/hashicorp/terraform-provider-azurerm/internal/locks" diff --git a/internal/services/network/network_profile_resource_test.go b/internal/services/network/network_profile_resource_test.go index 1effcee5ebd3..238892c8566d 100644 --- a/internal/services/network/network_profile_resource_test.go +++ b/internal/services/network/network_profile_resource_test.go @@ -9,7 +9,7 @@ import ( "testing" "github.com/hashicorp/go-azure-helpers/lang/pointer" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" diff --git a/internal/services/network/network_security_group_data_source.go b/internal/services/network/network_security_group_data_source.go index d0eb195a0734..c2ebcf1c8f53 100644 --- a/internal/services/network/network_security_group_data_source.go +++ b/internal/services/network/network_security_group_data_source.go @@ -11,7 +11,7 @@ import ( "github.com/hashicorp/go-azure-helpers/resourcemanager/commonschema" "github.com/hashicorp/go-azure-helpers/resourcemanager/location" "github.com/hashicorp/go-azure-helpers/resourcemanager/tags" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networksecuritygroups" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk" "github.com/hashicorp/terraform-provider-azurerm/internal/timeouts" diff --git a/internal/services/network/network_security_group_resource.go b/internal/services/network/network_security_group_resource.go index 682eefc9dca1..16564b66742a 100644 --- a/internal/services/network/network_security_group_resource.go +++ b/internal/services/network/network_security_group_resource.go @@ -13,7 +13,7 @@ import ( "github.com/hashicorp/go-azure-helpers/resourcemanager/commonschema" "github.com/hashicorp/go-azure-helpers/resourcemanager/location" "github.com/hashicorp/go-azure-helpers/resourcemanager/tags" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networksecuritygroups" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups" "github.com/hashicorp/go-multierror" "github.com/hashicorp/terraform-provider-azurerm/helpers/tf" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" diff --git a/internal/services/network/network_security_group_resource_test.go b/internal/services/network/network_security_group_resource_test.go index 4fd7f476831c..1e446a302798 100644 --- a/internal/services/network/network_security_group_resource_test.go +++ b/internal/services/network/network_security_group_resource_test.go @@ -9,7 +9,7 @@ import ( "testing" "github.com/hashicorp/go-azure-helpers/lang/pointer" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networksecuritygroups" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" diff --git a/internal/services/network/network_security_rule_resource.go b/internal/services/network/network_security_rule_resource.go index 858777342a89..e849bca8c6a2 100644 --- a/internal/services/network/network_security_rule_resource.go +++ b/internal/services/network/network_security_rule_resource.go @@ -11,7 +11,7 @@ import ( "github.com/hashicorp/go-azure-helpers/lang/pointer" "github.com/hashicorp/go-azure-helpers/lang/response" "github.com/hashicorp/go-azure-helpers/resourcemanager/commonschema" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/securityrules" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityrules" "github.com/hashicorp/terraform-provider-azurerm/helpers/tf" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk" diff --git a/internal/services/network/network_security_rule_resource_test.go b/internal/services/network/network_security_rule_resource_test.go index 487986357c26..08591371b481 100644 --- a/internal/services/network/network_security_rule_resource_test.go +++ b/internal/services/network/network_security_rule_resource_test.go @@ -8,7 +8,7 @@ import ( "fmt" "testing" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/securityrules" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityrules" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" diff --git a/internal/services/network/network_service_tags_data_source.go b/internal/services/network/network_service_tags_data_source.go index 43c1869cc073..b001db446f10 100644 --- a/internal/services/network/network_service_tags_data_source.go +++ b/internal/services/network/network_service_tags_data_source.go @@ -11,7 +11,7 @@ import ( "github.com/hashicorp/go-azure-helpers/resourcemanager/commonschema" "github.com/hashicorp/go-azure-helpers/resourcemanager/location" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/servicetags" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/servicetags" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk" "github.com/hashicorp/terraform-provider-azurerm/internal/timeouts" diff --git a/internal/services/network/network_watcher_data_source.go b/internal/services/network/network_watcher_data_source.go index 1f8cf5eed8c0..4040694afc9f 100644 --- a/internal/services/network/network_watcher_data_source.go +++ b/internal/services/network/network_watcher_data_source.go @@ -11,7 +11,7 @@ import ( "github.com/hashicorp/go-azure-helpers/resourcemanager/commonschema" "github.com/hashicorp/go-azure-helpers/resourcemanager/location" "github.com/hashicorp/go-azure-helpers/resourcemanager/tags" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/validation" diff --git a/internal/services/network/network_watcher_flow_log_resource.go b/internal/services/network/network_watcher_flow_log_resource.go index b1af4492b3bc..77452c84818c 100644 --- a/internal/services/network/network_watcher_flow_log_resource.go +++ b/internal/services/network/network_watcher_flow_log_resource.go @@ -14,9 +14,9 @@ import ( "github.com/hashicorp/go-azure-helpers/resourcemanager/commonschema" "github.com/hashicorp/go-azure-helpers/resourcemanager/location" "github.com/hashicorp/go-azure-helpers/resourcemanager/tags" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/flowlogs" "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networksecuritygroups" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/flowlogs" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers" "github.com/hashicorp/terraform-provider-azurerm/helpers/azure" "github.com/hashicorp/terraform-provider-azurerm/helpers/tf" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" @@ -64,7 +64,7 @@ func resourceNetworkWatcherFlowLog() *pluginsdk.Resource { "resource_group_name": commonschema.ResourceGroupName(), - //lintignore: S013 + // lintignore: S013 "name": { Type: pluginsdk.TypeString, Required: true, @@ -330,6 +330,10 @@ func resourceNetworkWatcherFlowLogUpdate(d *pluginsdk.ResourceData, meta interfa } } + if d.HasChange("tags") { + payload.Tags = tags.Expand(d.Get("tags").(map[string]interface{})) + } + if err := client.CreateOrUpdateThenPoll(ctx, *id, *payload); err != nil { return fmt.Errorf("updating %s: %+v", id, err) } diff --git a/internal/services/network/network_watcher_flow_log_resource_test.go b/internal/services/network/network_watcher_flow_log_resource_test.go index 9c888ed32101..c63236b7b221 100644 --- a/internal/services/network/network_watcher_flow_log_resource_test.go +++ b/internal/services/network/network_watcher_flow_log_resource_test.go @@ -9,7 +9,7 @@ import ( "testing" "github.com/hashicorp/go-azure-helpers/lang/pointer" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/flowlogs" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/flowlogs" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" diff --git a/internal/services/network/network_watcher_resource.go b/internal/services/network/network_watcher_resource.go index 81d1bf17d52b..41c9f67ffaf4 100644 --- a/internal/services/network/network_watcher_resource.go +++ b/internal/services/network/network_watcher_resource.go @@ -12,7 +12,7 @@ import ( "github.com/hashicorp/go-azure-helpers/resourcemanager/commonschema" "github.com/hashicorp/go-azure-helpers/resourcemanager/location" "github.com/hashicorp/go-azure-helpers/resourcemanager/tags" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers" "github.com/hashicorp/terraform-provider-azurerm/helpers/tf" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk" diff --git a/internal/services/network/network_watcher_resource_test.go b/internal/services/network/network_watcher_resource_test.go index f2520b457dd8..57b9766f220b 100644 --- a/internal/services/network/network_watcher_resource_test.go +++ b/internal/services/network/network_watcher_resource_test.go @@ -8,7 +8,7 @@ import ( "fmt" "testing" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" diff --git a/internal/services/network/parse/private_endpoint_application_security_group_association_id.go b/internal/services/network/parse/private_endpoint_application_security_group_association_id.go index 34cca218c579..ce74080f2adc 100644 --- a/internal/services/network/parse/private_endpoint_application_security_group_association_id.go +++ b/internal/services/network/parse/private_endpoint_application_security_group_association_id.go @@ -8,8 +8,8 @@ import ( "strings" "github.com/hashicorp/go-azure-helpers/resourcemanager/resourceids" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationsecuritygroups" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationsecuritygroups" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints" ) var _ resourceids.Id = PrivateEndpointApplicationSecurityGroupAssociationId{} diff --git a/internal/services/network/parse/private_endpoint_application_security_group_association_id_test.go b/internal/services/network/parse/private_endpoint_application_security_group_association_id_test.go index 054cc78f2106..2019a7fc942a 100644 --- a/internal/services/network/parse/private_endpoint_application_security_group_association_id_test.go +++ b/internal/services/network/parse/private_endpoint_application_security_group_association_id_test.go @@ -6,8 +6,8 @@ package parse import ( "testing" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationsecuritygroups" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationsecuritygroups" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints" ) func TestPrivateEndpointApplicationSecurityGroupAssociationID(t *testing.T) { diff --git a/internal/services/network/point_to_site_vpn_gateway_resource.go b/internal/services/network/point_to_site_vpn_gateway_resource.go index 0f7a9f5c0ba0..98e3f79020f9 100644 --- a/internal/services/network/point_to_site_vpn_gateway_resource.go +++ b/internal/services/network/point_to_site_vpn_gateway_resource.go @@ -14,7 +14,7 @@ import ( "github.com/hashicorp/go-azure-helpers/resourcemanager/commonschema" "github.com/hashicorp/go-azure-helpers/resourcemanager/location" "github.com/hashicorp/go-azure-helpers/resourcemanager/tags" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualwans" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans" "github.com/hashicorp/terraform-provider-azurerm/helpers/tf" "github.com/hashicorp/terraform-provider-azurerm/helpers/validate" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" diff --git a/internal/services/network/private_endpoint_application_security_group_association.go b/internal/services/network/private_endpoint_application_security_group_association.go index 6737e8b8c405..1431e217580f 100644 --- a/internal/services/network/private_endpoint_application_security_group_association.go +++ b/internal/services/network/private_endpoint_application_security_group_association.go @@ -10,8 +10,8 @@ import ( "time" "github.com/hashicorp/go-azure-helpers/lang/response" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationsecuritygroups" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationsecuritygroups" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints" "github.com/hashicorp/terraform-provider-azurerm/internal/locks" "github.com/hashicorp/terraform-provider-azurerm/internal/sdk" "github.com/hashicorp/terraform-provider-azurerm/internal/services/network/parse" diff --git a/internal/services/network/private_endpoint_application_security_group_association_test.go b/internal/services/network/private_endpoint_application_security_group_association_test.go index 31d033368d67..6de27fcadb28 100644 --- a/internal/services/network/private_endpoint_application_security_group_association_test.go +++ b/internal/services/network/private_endpoint_application_security_group_association_test.go @@ -12,7 +12,7 @@ import ( "github.com/hashicorp/go-azure-helpers/lang/response" "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-09-01/applicationsecuritygroups" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" diff --git a/internal/services/network/private_endpoint_connection_data_source.go b/internal/services/network/private_endpoint_connection_data_source.go index 813e711033e8..d226f24a2d1d 100644 --- a/internal/services/network/private_endpoint_connection_data_source.go +++ b/internal/services/network/private_endpoint_connection_data_source.go @@ -12,8 +12,8 @@ import ( "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" "github.com/hashicorp/go-azure-helpers/resourcemanager/commonschema" "github.com/hashicorp/go-azure-helpers/resourcemanager/location" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" "github.com/hashicorp/terraform-provider-azurerm/internal/services/network/validate" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk" diff --git a/internal/services/network/private_endpoint_resource.go b/internal/services/network/private_endpoint_resource.go index b5d79f073d64..9ab1f514c560 100644 --- a/internal/services/network/private_endpoint_resource.go +++ b/internal/services/network/private_endpoint_resource.go @@ -19,8 +19,8 @@ import ( "github.com/hashicorp/go-azure-helpers/resourcemanager/tags" mariadbServers "github.com/hashicorp/go-azure-sdk/resource-manager/mariadb/2018-06-01/servers" "github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2017-12-01/servers" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privatednszonegroups" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatednszonegroups" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints" postgresqlServers "github.com/hashicorp/go-azure-sdk/resource-manager/postgresql/2017-12-01/servers" "github.com/hashicorp/go-azure-sdk/resource-manager/privatedns/2020-06-01/privatezones" "github.com/hashicorp/go-azure-sdk/resource-manager/redis/2024-03-01/redis" diff --git a/internal/services/network/private_endpoint_resource_test.go b/internal/services/network/private_endpoint_resource_test.go index 0eff18de5519..07ec605e2361 100644 --- a/internal/services/network/private_endpoint_resource_test.go +++ b/internal/services/network/private_endpoint_resource_test.go @@ -8,7 +8,7 @@ import ( "fmt" "testing" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" diff --git a/internal/services/network/private_link_service_data_source.go b/internal/services/network/private_link_service_data_source.go index 5c2055c890c9..7895299b66ce 100644 --- a/internal/services/network/private_link_service_data_source.go +++ b/internal/services/network/private_link_service_data_source.go @@ -11,7 +11,7 @@ import ( "github.com/hashicorp/go-azure-helpers/resourcemanager/commonschema" "github.com/hashicorp/go-azure-helpers/resourcemanager/location" "github.com/hashicorp/go-azure-helpers/resourcemanager/tags" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privatelinkservices" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" "github.com/hashicorp/terraform-provider-azurerm/internal/services/network/validate" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk" diff --git a/internal/services/network/private_link_service_endpoint_connections_data_source.go b/internal/services/network/private_link_service_endpoint_connections_data_source.go index e1471edf2c5d..9b1d0afe2df1 100644 --- a/internal/services/network/private_link_service_endpoint_connections_data_source.go +++ b/internal/services/network/private_link_service_endpoint_connections_data_source.go @@ -11,7 +11,7 @@ import ( "github.com/hashicorp/go-azure-helpers/resourcemanager/commonschema" "github.com/hashicorp/go-azure-helpers/resourcemanager/location" "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-09-01/privateendpoints" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privatelinkservices" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk" "github.com/hashicorp/terraform-provider-azurerm/internal/timeouts" diff --git a/internal/services/network/private_link_service_resource.go b/internal/services/network/private_link_service_resource.go index a251c57207b4..4a62ab851a3a 100644 --- a/internal/services/network/private_link_service_resource.go +++ b/internal/services/network/private_link_service_resource.go @@ -15,7 +15,7 @@ import ( "github.com/hashicorp/go-azure-helpers/resourcemanager/commonschema" "github.com/hashicorp/go-azure-helpers/resourcemanager/location" "github.com/hashicorp/go-azure-helpers/resourcemanager/tags" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privatelinkservices" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices" "github.com/hashicorp/terraform-provider-azurerm/helpers/azure" "github.com/hashicorp/terraform-provider-azurerm/helpers/tf" "github.com/hashicorp/terraform-provider-azurerm/helpers/validate" diff --git a/internal/services/network/private_link_service_resource_test.go b/internal/services/network/private_link_service_resource_test.go index 6a354a6e0ebf..b25681878a45 100644 --- a/internal/services/network/private_link_service_resource_test.go +++ b/internal/services/network/private_link_service_resource_test.go @@ -9,7 +9,7 @@ import ( "testing" "github.com/hashicorp/go-azure-helpers/lang/pointer" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privatelinkservices" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" diff --git a/internal/services/network/public_ip_data_source.go b/internal/services/network/public_ip_data_source.go index 7d50378273de..8293ad31baa2 100644 --- a/internal/services/network/public_ip_data_source.go +++ b/internal/services/network/public_ip_data_source.go @@ -14,7 +14,7 @@ import ( "github.com/hashicorp/go-azure-helpers/resourcemanager/location" "github.com/hashicorp/go-azure-helpers/resourcemanager/tags" "github.com/hashicorp/go-azure-helpers/resourcemanager/zones" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/validation" diff --git a/internal/services/network/public_ip_prefix_data_source.go b/internal/services/network/public_ip_prefix_data_source.go index f5235681af56..049cfd1cca15 100644 --- a/internal/services/network/public_ip_prefix_data_source.go +++ b/internal/services/network/public_ip_prefix_data_source.go @@ -13,7 +13,7 @@ import ( "github.com/hashicorp/go-azure-helpers/resourcemanager/location" "github.com/hashicorp/go-azure-helpers/resourcemanager/tags" "github.com/hashicorp/go-azure-helpers/resourcemanager/zones" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipprefixes" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipprefixes" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk" "github.com/hashicorp/terraform-provider-azurerm/internal/timeouts" @@ -42,6 +42,11 @@ func dataSourcePublicIpPrefix() *pluginsdk.Resource { Computed: true, }, + "sku_tier": { + Type: pluginsdk.TypeString, + Computed: true, + }, + "prefix_length": { Type: pluginsdk.TypeInt, Computed: true, @@ -82,6 +87,7 @@ func dataSourcePublicIpPrefixRead(d *pluginsdk.ResourceData, meta interface{}) e if sku := model.Sku; sku != nil { d.Set("sku", string(pointer.From(sku.Name))) + d.Set("sku_tier", string(pointer.From(sku.Tier))) } if props := model.Properties; props != nil { d.Set("prefix_length", props.PrefixLength) diff --git a/internal/services/network/public_ip_prefix_data_source_test.go b/internal/services/network/public_ip_prefix_data_source_test.go index 26c23e46d8d6..1109d71a5707 100644 --- a/internal/services/network/public_ip_prefix_data_source_test.go +++ b/internal/services/network/public_ip_prefix_data_source_test.go @@ -7,6 +7,7 @@ import ( "fmt" "testing" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipprefixes" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" ) @@ -27,6 +28,7 @@ func TestAccDataSourcePublicIPPrefix_basic(t *testing.T) { check.That(data.ResourceName).Key("resource_group_name").HasValue(resourceGroupName), check.That(data.ResourceName).Key("location").HasValue(data.Locations.Primary), check.That(data.ResourceName).Key("sku").HasValue("Standard"), + check.That(data.ResourceName).Key("sku_tier").HasValue(string(publicipprefixes.PublicIPPrefixSkuTierRegional)), check.That(data.ResourceName).Key("prefix_length").HasValue("31"), check.That(data.ResourceName).Key("ip_prefix").Exists(), check.That(data.ResourceName).Key("tags.%").HasValue("1"), diff --git a/internal/services/network/public_ip_prefix_resource.go b/internal/services/network/public_ip_prefix_resource.go index cac92346133f..20cfc0f7a18d 100644 --- a/internal/services/network/public_ip_prefix_resource.go +++ b/internal/services/network/public_ip_prefix_resource.go @@ -14,7 +14,7 @@ import ( "github.com/hashicorp/go-azure-helpers/resourcemanager/location" "github.com/hashicorp/go-azure-helpers/resourcemanager/tags" "github.com/hashicorp/go-azure-helpers/resourcemanager/zones" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipprefixes" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipprefixes" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "github.com/hashicorp/terraform-provider-azurerm/helpers/tf" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" @@ -63,6 +63,14 @@ func resourcePublicIpPrefix() *pluginsdk.Resource { }, false), }, + "sku_tier": { + Type: pluginsdk.TypeString, + Optional: true, + Default: string(publicipprefixes.PublicIPPrefixSkuTierRegional), + ForceNew: true, + ValidateFunc: validation.StringInSlice(publicipprefixes.PossibleValuesForPublicIPPrefixSkuTier(), false), + }, + "prefix_length": { Type: pluginsdk.TypeInt, Optional: true, @@ -118,6 +126,7 @@ func resourcePublicIpPrefixCreate(d *pluginsdk.ResourceData, meta interface{}) e Location: pointer.To(location.Normalize(d.Get("location").(string))), Sku: &publicipprefixes.PublicIPPrefixSku{ Name: pointer.To(publicipprefixes.PublicIPPrefixSkuName(d.Get("sku").(string))), + Tier: pointer.To(publicipprefixes.PublicIPPrefixSkuTier(d.Get("sku_tier").(string))), }, Properties: &publicipprefixes.PublicIPPrefixPropertiesFormat{ PrefixLength: pointer.To(int64(d.Get("prefix_length").(int))), @@ -190,11 +199,10 @@ func resourcePublicIpPrefixRead(d *pluginsdk.ResourceData, meta interface{}) err if model := resp.Model; model != nil { d.Set("location", location.NormalizeNilable(model.Location)) d.Set("zones", zones.FlattenUntyped(model.Zones)) - skuName := "" if sku := model.Sku; sku != nil { - skuName = string(pointer.From(sku.Name)) + d.Set("sku", string(pointer.From(sku.Name))) + d.Set("sku_tier", string(pointer.From(sku.Tier))) } - d.Set("sku", skuName) if props := model.Properties; props != nil { d.Set("prefix_length", props.PrefixLength) d.Set("ip_prefix", props.IPPrefix) diff --git a/internal/services/network/public_ip_prefix_resource_test.go b/internal/services/network/public_ip_prefix_resource_test.go index 80ad19e5268e..2b5d956de7e0 100644 --- a/internal/services/network/public_ip_prefix_resource_test.go +++ b/internal/services/network/public_ip_prefix_resource_test.go @@ -9,7 +9,7 @@ import ( "testing" "github.com/hashicorp/go-azure-helpers/lang/pointer" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipprefixes" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipprefixes" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" @@ -63,6 +63,38 @@ func TestAccPublicIpPrefix_basic(t *testing.T) { }) } +func TestAccPublicIpPrefix_globalTier(t *testing.T) { + data := acceptance.BuildTestData(t, "azurerm_public_ip_prefix", "test") + r := PublicIPPrefixResource{} + + data.ResourceTest(t, r, []acceptance.TestStep{ + { + Config: r.sku_tier(data, string(publicipprefixes.PublicIPPrefixSkuTierGlobal)), + Check: acceptance.ComposeTestCheckFunc( + check.That(data.ResourceName).ExistsInAzure(r), + check.That(data.ResourceName).Key("sku_tier").HasValue(string(publicipprefixes.PublicIPPrefixSkuTierGlobal)), + ), + }, + data.ImportStep(), + }) +} + +func TestAccPublicIpPrefix_regionalTier(t *testing.T) { + data := acceptance.BuildTestData(t, "azurerm_public_ip_prefix", "test") + r := PublicIPPrefixResource{} + + data.ResourceTest(t, r, []acceptance.TestStep{ + { + Config: r.sku_tier(data, string(publicipprefixes.PublicIPPrefixSkuTierRegional)), + Check: acceptance.ComposeTestCheckFunc( + check.That(data.ResourceName).ExistsInAzure(r), + check.That(data.ResourceName).Key("sku_tier").HasValue(string(publicipprefixes.PublicIPPrefixSkuTierRegional)), + ), + }, + data.ImportStep(), + }) +} + func TestAccPublicIpPrefix_ipv6(t *testing.T) { data := acceptance.BuildTestData(t, "azurerm_public_ip_prefix", "test") r := PublicIPPrefixResource{} @@ -342,6 +374,26 @@ resource "azurerm_public_ip_prefix" "test" { `, data.RandomInteger, data.Locations.Primary, data.RandomInteger) } +func (PublicIPPrefixResource) sku_tier(data acceptance.TestData, tier string) string { + return fmt.Sprintf(` +provider "azurerm" { + features {} +} + +resource "azurerm_resource_group" "test" { + name = "acctestRG-%d" + location = "%s" +} + +resource "azurerm_public_ip_prefix" "test" { + resource_group_name = azurerm_resource_group.test.name + name = "acctestpublicipprefix-%d" + location = azurerm_resource_group.test.location + sku_tier = "%s" +} +`, data.RandomInteger, data.Locations.Primary, data.RandomInteger, tier) +} + func (PublicIPPrefixResource) zonesSingle(data acceptance.TestData) string { return fmt.Sprintf(` provider "azurerm" { diff --git a/internal/services/network/public_ip_resource.go b/internal/services/network/public_ip_resource.go index f8f5ebb60d30..90b5dab41764 100644 --- a/internal/services/network/public_ip_resource.go +++ b/internal/services/network/public_ip_resource.go @@ -4,6 +4,7 @@ package network import ( + "context" "fmt" "log" "strings" @@ -17,8 +18,8 @@ import ( "github.com/hashicorp/go-azure-helpers/resourcemanager/tags" "github.com/hashicorp/go-azure-helpers/resourcemanager/zones" "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-09-01/ddosprotectionplans" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses" "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipprefixes" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "github.com/hashicorp/terraform-provider-azurerm/helpers/tf" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" @@ -142,6 +143,12 @@ func resourcePublicIp() *pluginsdk.Resource { ValidateFunc: validate.PublicIpDomainNameLabel, }, + "domain_name_label_scope": { + Type: pluginsdk.TypeString, + Optional: true, + ValidateFunc: validation.StringInSlice(publicipaddresses.PossibleValuesForPublicIPAddressDnsSettingsDomainNameLabelScope(), false), + }, + "fqdn": { Type: pluginsdk.TypeString, Computed: true, @@ -177,6 +184,12 @@ func resourcePublicIp() *pluginsdk.Resource { "tags": commonschema.Tags(), }, + + CustomizeDiff: pluginsdk.CustomDiffWithAll( + pluginsdk.ForceNewIfChange("domain_name_label_scope", func(ctx context.Context, old, new, meta interface{}) bool { + return !(old.(string) == "" && new.(string) != "") + }), + ), } } @@ -256,8 +269,9 @@ func resourcePublicIpCreate(d *pluginsdk.ResourceData, meta interface{}) error { dnl, dnlOk := d.GetOk("domain_name_label") rfqdn, rfqdnOk := d.GetOk("reverse_fqdn") + dnlc, dnlcOk := d.GetOk("domain_name_label_scope") - if dnlOk || rfqdnOk { + if dnlOk || rfqdnOk || dnlcOk { dnsSettings := publicipaddresses.PublicIPAddressDnsSettings{} if rfqdnOk { @@ -268,6 +282,10 @@ func resourcePublicIpCreate(d *pluginsdk.ResourceData, meta interface{}) error { dnsSettings.DomainNameLabel = pointer.To(dnl.(string)) } + if dnlcOk { + dnsSettings.DomainNameLabelScope = pointer.To(publicipaddresses.PublicIPAddressDnsSettingsDomainNameLabelScope(dnlc.(string))) + } + publicIp.Properties.DnsSettings = &dnsSettings } @@ -354,6 +372,13 @@ func resourcePublicIpUpdate(d *pluginsdk.ResourceData, meta interface{}) error { payload.Properties.DnsSettings.DomainNameLabel = utils.String(d.Get("domain_name_label").(string)) } + if d.HasChange("domain_name_label_scope") { + if payload.Properties.DnsSettings == nil { + payload.Properties.DnsSettings = &publicipaddresses.PublicIPAddressDnsSettings{} + } + payload.Properties.DnsSettings.DomainNameLabelScope = pointer.To(publicipaddresses.PublicIPAddressDnsSettingsDomainNameLabelScope(d.Get("domain_name_label_scope").(string))) + } + if d.HasChange("reverse_fqdn") { if payload.Properties.DnsSettings == nil { payload.Properties.DnsSettings = &publicipaddresses.PublicIPAddressDnsSettings{} @@ -416,6 +441,7 @@ func resourcePublicIpRead(d *pluginsdk.ResourceData, meta interface{}) error { d.Set("fqdn", settings.Fqdn) d.Set("reverse_fqdn", settings.ReverseFqdn) d.Set("domain_name_label", settings.DomainNameLabel) + d.Set("domain_name_label_scope", string(pointer.From(settings.DomainNameLabelScope))) } ddosProtectionMode := string(publicipaddresses.DdosSettingsProtectionModeVirtualNetworkInherited) diff --git a/internal/services/network/public_ip_resource_test.go b/internal/services/network/public_ip_resource_test.go index 20f9174395ad..4d8e863795c7 100644 --- a/internal/services/network/public_ip_resource_test.go +++ b/internal/services/network/public_ip_resource_test.go @@ -12,7 +12,7 @@ import ( "github.com/hashicorp/go-azure-helpers/lang/pointer" "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" @@ -752,6 +752,7 @@ resource "azurerm_public_ip" "test" { allocation_method = "Static" sku = "Basic" domain_name_label = "acctest-%d" + domain_name_label_scope = "TenantReuse" idle_timeout_in_minutes = 30 } `, data.RandomInteger, data.Locations.Primary, data.RandomInteger, data.RandomInteger) @@ -894,7 +895,7 @@ resource "azurerm_public_ip" "test" { sku = "Basic" domain_name_label = "%s" } -`, data.RandomInteger, data.Locations.Primary, data.RandomInteger, strings.ToLower(data.RandomStringOfLength(63))) +`, data.RandomInteger, data.Locations.Primary, data.RandomInteger, fmt.Sprintf("test%s", strings.ToLower(data.RandomStringOfLength(59)))) // prepend with test (4+59) to ensure the string starts with a letter } func (PublicIPResource) standard_IpTags(data acceptance.TestData) string { diff --git a/internal/services/network/public_ips_data_source.go b/internal/services/network/public_ips_data_source.go index 4f97ab288c01..318d9a7b353d 100644 --- a/internal/services/network/public_ips_data_source.go +++ b/internal/services/network/public_ips_data_source.go @@ -11,7 +11,7 @@ import ( "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" "github.com/hashicorp/go-azure-helpers/resourcemanager/commonschema" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/validation" diff --git a/internal/services/network/registration.go b/internal/services/network/registration.go index e3b217bfb4e1..400e0397702b 100644 --- a/internal/services/network/registration.go +++ b/internal/services/network/registration.go @@ -37,6 +37,7 @@ func (r Registration) DataSources() []sdk.DataSource { ManagerNetworkGroupDataSource{}, ManagerConnectivityConfigurationDataSource{}, VPNServerConfigurationDataSource{}, + VirtualNetworkPeeringDataSource{}, } } diff --git a/internal/services/network/route_filter_data_source.go b/internal/services/network/route_filter_data_source.go index 4d6529a7a4d5..a17dc76ed63a 100644 --- a/internal/services/network/route_filter_data_source.go +++ b/internal/services/network/route_filter_data_source.go @@ -12,7 +12,7 @@ import ( "github.com/hashicorp/go-azure-helpers/resourcemanager/commonschema" "github.com/hashicorp/go-azure-helpers/resourcemanager/location" "github.com/hashicorp/go-azure-helpers/resourcemanager/tags" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routefilters" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routefilters" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/validation" diff --git a/internal/services/network/route_filter_resource.go b/internal/services/network/route_filter_resource.go index ee4d45b7b6c9..b7a555d45575 100644 --- a/internal/services/network/route_filter_resource.go +++ b/internal/services/network/route_filter_resource.go @@ -13,7 +13,7 @@ import ( "github.com/hashicorp/go-azure-helpers/resourcemanager/commonschema" "github.com/hashicorp/go-azure-helpers/resourcemanager/location" "github.com/hashicorp/go-azure-helpers/resourcemanager/tags" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routefilters" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routefilters" "github.com/hashicorp/terraform-provider-azurerm/helpers/azure" "github.com/hashicorp/terraform-provider-azurerm/helpers/tf" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" diff --git a/internal/services/network/route_filter_resource_test.go b/internal/services/network/route_filter_resource_test.go index b752a55e9139..c1706ac6f000 100644 --- a/internal/services/network/route_filter_resource_test.go +++ b/internal/services/network/route_filter_resource_test.go @@ -8,7 +8,7 @@ import ( "fmt" "testing" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routefilters" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routefilters" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" diff --git a/internal/services/network/route_map_resource.go b/internal/services/network/route_map_resource.go index 12e07f6caa85..1cfe272dede8 100644 --- a/internal/services/network/route_map_resource.go +++ b/internal/services/network/route_map_resource.go @@ -10,7 +10,7 @@ import ( "github.com/hashicorp/go-azure-helpers/lang/pointer" "github.com/hashicorp/go-azure-helpers/lang/response" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualwans" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans" "github.com/hashicorp/terraform-provider-azurerm/internal/sdk" "github.com/hashicorp/terraform-provider-azurerm/internal/services/network/validate" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk" diff --git a/internal/services/network/route_map_resource_test.go b/internal/services/network/route_map_resource_test.go index 88e4daf47c83..1ba61f4b2c2b 100644 --- a/internal/services/network/route_map_resource_test.go +++ b/internal/services/network/route_map_resource_test.go @@ -10,7 +10,7 @@ import ( "testing" "github.com/hashicorp/go-azure-helpers/lang/pointer" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualwans" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" diff --git a/internal/services/network/route_resource.go b/internal/services/network/route_resource.go index 6672126ad0ff..e02c30bdf2be 100644 --- a/internal/services/network/route_resource.go +++ b/internal/services/network/route_resource.go @@ -10,7 +10,7 @@ import ( "github.com/hashicorp/go-azure-helpers/lang/pointer" "github.com/hashicorp/go-azure-helpers/lang/response" "github.com/hashicorp/go-azure-helpers/resourcemanager/commonschema" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routes" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routes" "github.com/hashicorp/terraform-provider-azurerm/helpers/tf" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" "github.com/hashicorp/terraform-provider-azurerm/internal/locks" diff --git a/internal/services/network/route_resource_test.go b/internal/services/network/route_resource_test.go index 4b503b3ba527..2d1b772aa05d 100644 --- a/internal/services/network/route_resource_test.go +++ b/internal/services/network/route_resource_test.go @@ -8,7 +8,7 @@ import ( "fmt" "testing" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routes" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routes" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" diff --git a/internal/services/network/route_server_bgp_connection_resource.go b/internal/services/network/route_server_bgp_connection_resource.go index c5b456d633e3..13f2feb502fe 100644 --- a/internal/services/network/route_server_bgp_connection_resource.go +++ b/internal/services/network/route_server_bgp_connection_resource.go @@ -11,7 +11,7 @@ import ( "github.com/hashicorp/go-azure-helpers/lang/pointer" "github.com/hashicorp/go-azure-helpers/lang/response" "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualwans" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans" "github.com/hashicorp/terraform-provider-azurerm/helpers/tf" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" "github.com/hashicorp/terraform-provider-azurerm/internal/locks" diff --git a/internal/services/network/route_server_resource.go b/internal/services/network/route_server_resource.go index 2ecc1fca1433..bac8b724ef7c 100644 --- a/internal/services/network/route_server_resource.go +++ b/internal/services/network/route_server_resource.go @@ -16,7 +16,7 @@ import ( "github.com/hashicorp/go-azure-helpers/resourcemanager/commonschema" "github.com/hashicorp/go-azure-helpers/resourcemanager/location" "github.com/hashicorp/go-azure-helpers/resourcemanager/tags" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualwans" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans" "github.com/hashicorp/terraform-provider-azurerm/helpers/tf" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" "github.com/hashicorp/terraform-provider-azurerm/internal/locks" diff --git a/internal/services/network/route_server_resource_test.go b/internal/services/network/route_server_resource_test.go index 8a7b0c2fcb2b..e84e6021557c 100644 --- a/internal/services/network/route_server_resource_test.go +++ b/internal/services/network/route_server_resource_test.go @@ -9,7 +9,7 @@ import ( "testing" "github.com/hashicorp/go-azure-helpers/lang/pointer" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualwans" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" diff --git a/internal/services/network/route_table_data_source.go b/internal/services/network/route_table_data_source.go index b20227be3d55..f8c3c00d1aca 100644 --- a/internal/services/network/route_table_data_source.go +++ b/internal/services/network/route_table_data_source.go @@ -12,7 +12,7 @@ import ( "github.com/hashicorp/go-azure-helpers/resourcemanager/commonschema" "github.com/hashicorp/go-azure-helpers/resourcemanager/location" "github.com/hashicorp/go-azure-helpers/resourcemanager/tags" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routetables" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/validation" diff --git a/internal/services/network/route_table_resource.go b/internal/services/network/route_table_resource.go index 6e880d1d7833..02052630516a 100644 --- a/internal/services/network/route_table_resource.go +++ b/internal/services/network/route_table_resource.go @@ -12,7 +12,7 @@ import ( "github.com/hashicorp/go-azure-helpers/resourcemanager/commonschema" "github.com/hashicorp/go-azure-helpers/resourcemanager/location" "github.com/hashicorp/go-azure-helpers/resourcemanager/tags" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routetables" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables" "github.com/hashicorp/terraform-provider-azurerm/helpers/tf" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" "github.com/hashicorp/terraform-provider-azurerm/internal/features" diff --git a/internal/services/network/route_table_resource_test.go b/internal/services/network/route_table_resource_test.go index 06e1060ac26f..710a65a80664 100644 --- a/internal/services/network/route_table_resource_test.go +++ b/internal/services/network/route_table_resource_test.go @@ -8,7 +8,7 @@ import ( "fmt" "testing" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routetables" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" diff --git a/internal/services/network/subnet_data_source.go b/internal/services/network/subnet_data_source.go index b511ada644f4..9f9fe138dc19 100644 --- a/internal/services/network/subnet_data_source.go +++ b/internal/services/network/subnet_data_source.go @@ -11,7 +11,7 @@ import ( "github.com/hashicorp/go-azure-helpers/lang/response" "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" "github.com/hashicorp/go-azure-helpers/resourcemanager/commonschema" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/subnets" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" "github.com/hashicorp/terraform-provider-azurerm/internal/features" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk" diff --git a/internal/services/network/subnet_nat_gateway_association_resource.go b/internal/services/network/subnet_nat_gateway_association_resource.go index 96394c308cb3..ac3e7d880f14 100644 --- a/internal/services/network/subnet_nat_gateway_association_resource.go +++ b/internal/services/network/subnet_nat_gateway_association_resource.go @@ -12,7 +12,7 @@ import ( "github.com/hashicorp/go-azure-helpers/lang/response" "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-09-01/natgateways" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/subnets" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets" "github.com/hashicorp/terraform-provider-azurerm/helpers/tf" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" "github.com/hashicorp/terraform-provider-azurerm/internal/locks" diff --git a/internal/services/network/subnet_nat_gateway_association_resource_test.go b/internal/services/network/subnet_nat_gateway_association_resource_test.go index 67a3f5544890..5ca45833750a 100644 --- a/internal/services/network/subnet_nat_gateway_association_resource_test.go +++ b/internal/services/network/subnet_nat_gateway_association_resource_test.go @@ -11,7 +11,7 @@ import ( "github.com/hashicorp/go-azure-helpers/lang/pointer" "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/subnets" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" diff --git a/internal/services/network/subnet_network_security_group_association_resource.go b/internal/services/network/subnet_network_security_group_association_resource.go index f68fc73141e5..a3ce480f7925 100644 --- a/internal/services/network/subnet_network_security_group_association_resource.go +++ b/internal/services/network/subnet_network_security_group_association_resource.go @@ -12,7 +12,7 @@ import ( "github.com/hashicorp/go-azure-helpers/lang/response" "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-09-01/networksecuritygroups" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/subnets" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets" "github.com/hashicorp/terraform-provider-azurerm/helpers/tf" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" "github.com/hashicorp/terraform-provider-azurerm/internal/locks" diff --git a/internal/services/network/subnet_network_security_group_association_resource_test.go b/internal/services/network/subnet_network_security_group_association_resource_test.go index 243511dbaab2..2c5c438504e6 100644 --- a/internal/services/network/subnet_network_security_group_association_resource_test.go +++ b/internal/services/network/subnet_network_security_group_association_resource_test.go @@ -11,7 +11,7 @@ import ( "github.com/hashicorp/go-azure-helpers/lang/response" "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/subnets" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" diff --git a/internal/services/network/subnet_resource.go b/internal/services/network/subnet_resource.go index 2a0bc4698e81..2dd98d9f9d91 100644 --- a/internal/services/network/subnet_resource.go +++ b/internal/services/network/subnet_resource.go @@ -15,7 +15,7 @@ import ( "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" "github.com/hashicorp/go-azure-helpers/resourcemanager/commonschema" "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/serviceendpointpolicies" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/subnets" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets" "github.com/hashicorp/terraform-provider-azurerm/helpers/tf" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" "github.com/hashicorp/terraform-provider-azurerm/internal/features" @@ -204,7 +204,6 @@ func resourceSubnet() *pluginsdk.Resource { Type: pluginsdk.TypeBool, Default: true, Optional: true, - ForceNew: true, }, "private_endpoint_network_policies": { @@ -514,6 +513,10 @@ func resourceSubnetUpdate(d *pluginsdk.ResourceData, meta interface{}) error { } } + if d.HasChange("default_outbound_access_enabled") { + props.DefaultOutboundAccess = pointer.To(d.Get("default_outbound_access_enabled").(bool)) + } + if d.HasChange("delegation") { delegationsRaw := d.Get("delegation").([]interface{}) props.Delegations = expandSubnetDelegation(delegationsRaw) diff --git a/internal/services/network/subnet_resource_test.go b/internal/services/network/subnet_resource_test.go index a0aa30290ccf..025f7d73c369 100644 --- a/internal/services/network/subnet_resource_test.go +++ b/internal/services/network/subnet_resource_test.go @@ -11,7 +11,7 @@ import ( "github.com/hashicorp/go-azure-helpers/lang/response" "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/subnets" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" @@ -127,20 +127,25 @@ func TestAccSubnet_disappears(t *testing.T) { } func TestAccSubnet_defaultOutbound(t *testing.T) { - dataInternal := acceptance.BuildTestData(t, "azurerm_subnet", "internal") - dataPublic := acceptance.BuildTestData(t, "azurerm_subnet", "public") + data := acceptance.BuildTestData(t, "azurerm_subnet", "internal") r := SubnetResource{} - dataInternal.ResourceTest(t, r, []acceptance.TestStep{ + data.ResourceTest(t, r, []acceptance.TestStep{ + { + Config: r.defaultOutbound(data, true), + Check: acceptance.ComposeTestCheckFunc( + check.That(data.ResourceName).ExistsInAzure(r), + check.That(data.ResourceName).Key("default_outbound_access_enabled").HasValue("true"), + ), + }, + data.ImportStep(), { - Config: r.defaultOutbound(dataInternal), + Config: r.defaultOutbound(data, false), Check: acceptance.ComposeTestCheckFunc( - check.That(dataInternal.ResourceName).ExistsInAzure(r), - check.That(dataInternal.ResourceName).Key("default_outbound_access_enabled").HasValue("false"), - check.That(dataPublic.ResourceName).ExistsInAzure(r), - check.That(dataPublic.ResourceName).Key("default_outbound_access_enabled").HasValue("true"), + check.That(data.ResourceName).Key("default_outbound_access_enabled").HasValue("false"), ), }, + data.ImportStep(), }) } @@ -839,7 +844,7 @@ resource "azurerm_subnet" "test" { `, r.template(data)) } -func (r SubnetResource) defaultOutbound(data acceptance.TestData) string { +func (r SubnetResource) defaultOutbound(data acceptance.TestData, enabled bool) string { return fmt.Sprintf(` %s resource "azurerm_subnet" "internal" { @@ -847,16 +852,9 @@ resource "azurerm_subnet" "internal" { resource_group_name = azurerm_resource_group.test.name virtual_network_name = azurerm_virtual_network.test.name address_prefixes = ["10.0.2.0/24"] - default_outbound_access_enabled = false -} -resource "azurerm_subnet" "public" { - name = "public" - resource_group_name = azurerm_resource_group.test.name - virtual_network_name = azurerm_virtual_network.test.name - address_prefixes = ["10.0.3.0/24"] - default_outbound_access_enabled = true + default_outbound_access_enabled = %t } -`, r.template(data)) +`, r.template(data), enabled) } func (r SubnetResource) delegationUpdated(data acceptance.TestData) string { diff --git a/internal/services/network/subnet_route_table_association_resource.go b/internal/services/network/subnet_route_table_association_resource.go index a0fa4314f148..da3d563e0a56 100644 --- a/internal/services/network/subnet_route_table_association_resource.go +++ b/internal/services/network/subnet_route_table_association_resource.go @@ -12,7 +12,7 @@ import ( "github.com/hashicorp/go-azure-helpers/lang/response" "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-09-01/routetables" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/subnets" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets" "github.com/hashicorp/terraform-provider-azurerm/helpers/tf" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" "github.com/hashicorp/terraform-provider-azurerm/internal/locks" diff --git a/internal/services/network/subnet_route_table_association_resource_test.go b/internal/services/network/subnet_route_table_association_resource_test.go index 25142a576c48..600355104551 100644 --- a/internal/services/network/subnet_route_table_association_resource_test.go +++ b/internal/services/network/subnet_route_table_association_resource_test.go @@ -12,7 +12,7 @@ import ( "github.com/hashicorp/go-azure-helpers/lang/pointer" "github.com/hashicorp/go-azure-helpers/lang/response" "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/subnets" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" diff --git a/internal/services/network/subnet_service_endpoint_storage_policy_resource.go b/internal/services/network/subnet_service_endpoint_storage_policy_resource.go index ae6f1e89d12a..97f33f2d2bfb 100644 --- a/internal/services/network/subnet_service_endpoint_storage_policy_resource.go +++ b/internal/services/network/subnet_service_endpoint_storage_policy_resource.go @@ -13,7 +13,7 @@ import ( "github.com/hashicorp/go-azure-helpers/resourcemanager/commonschema" "github.com/hashicorp/go-azure-helpers/resourcemanager/location" "github.com/hashicorp/go-azure-helpers/resourcemanager/tags" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/serviceendpointpolicies" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies" "github.com/hashicorp/terraform-provider-azurerm/helpers/azure" "github.com/hashicorp/terraform-provider-azurerm/helpers/tf" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" diff --git a/internal/services/network/subnet_service_endpoint_storage_policy_resource_test.go b/internal/services/network/subnet_service_endpoint_storage_policy_resource_test.go index 00e5d01b219b..b58297bb9ba3 100644 --- a/internal/services/network/subnet_service_endpoint_storage_policy_resource_test.go +++ b/internal/services/network/subnet_service_endpoint_storage_policy_resource_test.go @@ -9,7 +9,7 @@ import ( "testing" "github.com/hashicorp/go-azure-helpers/lang/pointer" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/serviceendpointpolicies" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" diff --git a/internal/services/network/virtual_hub_bgp_connection_resource.go b/internal/services/network/virtual_hub_bgp_connection_resource.go index 840e3668f1fc..d9efdb4deb12 100644 --- a/internal/services/network/virtual_hub_bgp_connection_resource.go +++ b/internal/services/network/virtual_hub_bgp_connection_resource.go @@ -11,7 +11,7 @@ import ( "github.com/hashicorp/go-azure-helpers/lang/pointer" "github.com/hashicorp/go-azure-helpers/lang/response" "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualwans" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans" "github.com/hashicorp/terraform-provider-azurerm/helpers/tf" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" "github.com/hashicorp/terraform-provider-azurerm/internal/locks" diff --git a/internal/services/network/virtual_hub_connection_data_source.go b/internal/services/network/virtual_hub_connection_data_source.go index 53bce2b406e7..4eaf14feb5f4 100644 --- a/internal/services/network/virtual_hub_connection_data_source.go +++ b/internal/services/network/virtual_hub_connection_data_source.go @@ -9,7 +9,7 @@ import ( "github.com/hashicorp/go-azure-helpers/lang/response" "github.com/hashicorp/go-azure-helpers/resourcemanager/commonschema" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualwans" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" "github.com/hashicorp/terraform-provider-azurerm/internal/services/network/validate" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk" diff --git a/internal/services/network/virtual_hub_connection_resource.go b/internal/services/network/virtual_hub_connection_resource.go index 76758e0565a0..6c8b2a8a961f 100644 --- a/internal/services/network/virtual_hub_connection_resource.go +++ b/internal/services/network/virtual_hub_connection_resource.go @@ -12,7 +12,7 @@ import ( "github.com/hashicorp/go-azure-helpers/lang/pointer" "github.com/hashicorp/go-azure-helpers/lang/response" "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualwans" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans" "github.com/hashicorp/terraform-provider-azurerm/helpers/tf" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" "github.com/hashicorp/terraform-provider-azurerm/internal/locks" diff --git a/internal/services/network/virtual_hub_connection_resource_test.go b/internal/services/network/virtual_hub_connection_resource_test.go index 562f40451bd1..017fe8be6889 100644 --- a/internal/services/network/virtual_hub_connection_resource_test.go +++ b/internal/services/network/virtual_hub_connection_resource_test.go @@ -11,7 +11,7 @@ import ( "github.com/hashicorp/go-azure-helpers/lang/pointer" "github.com/hashicorp/go-azure-helpers/lang/response" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualwans" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" diff --git a/internal/services/network/virtual_hub_data_source.go b/internal/services/network/virtual_hub_data_source.go index 9119acf56fb7..240d8a09df08 100644 --- a/internal/services/network/virtual_hub_data_source.go +++ b/internal/services/network/virtual_hub_data_source.go @@ -11,7 +11,7 @@ import ( "github.com/hashicorp/go-azure-helpers/resourcemanager/commonschema" "github.com/hashicorp/go-azure-helpers/resourcemanager/location" "github.com/hashicorp/go-azure-helpers/resourcemanager/tags" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualwans" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" "github.com/hashicorp/terraform-provider-azurerm/internal/services/network/validate" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk" diff --git a/internal/services/network/virtual_hub_ip_resource.go b/internal/services/network/virtual_hub_ip_resource.go index 82a8162136fa..d9464f8c5644 100644 --- a/internal/services/network/virtual_hub_ip_resource.go +++ b/internal/services/network/virtual_hub_ip_resource.go @@ -11,7 +11,7 @@ import ( "github.com/hashicorp/go-azure-helpers/lang/pointer" "github.com/hashicorp/go-azure-helpers/lang/response" "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualwans" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans" "github.com/hashicorp/terraform-provider-azurerm/helpers/tf" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" "github.com/hashicorp/terraform-provider-azurerm/internal/locks" diff --git a/internal/services/network/virtual_hub_resource.go b/internal/services/network/virtual_hub_resource.go index 695274b869dd..4dbf603540cf 100644 --- a/internal/services/network/virtual_hub_resource.go +++ b/internal/services/network/virtual_hub_resource.go @@ -14,7 +14,7 @@ import ( "github.com/hashicorp/go-azure-helpers/resourcemanager/commonschema" "github.com/hashicorp/go-azure-helpers/resourcemanager/location" "github.com/hashicorp/go-azure-helpers/resourcemanager/tags" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualwans" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans" "github.com/hashicorp/terraform-provider-azurerm/helpers/tf" "github.com/hashicorp/terraform-provider-azurerm/helpers/validate" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" diff --git a/internal/services/network/virtual_hub_resource_test.go b/internal/services/network/virtual_hub_resource_test.go index f4a880ebdd60..c68c13ca0a07 100644 --- a/internal/services/network/virtual_hub_resource_test.go +++ b/internal/services/network/virtual_hub_resource_test.go @@ -9,7 +9,7 @@ import ( "testing" "github.com/hashicorp/go-azure-helpers/lang/pointer" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualwans" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" diff --git a/internal/services/network/virtual_hub_route_table_data_source.go b/internal/services/network/virtual_hub_route_table_data_source.go index 1cb22ba9cce7..17624fc2d582 100644 --- a/internal/services/network/virtual_hub_route_table_data_source.go +++ b/internal/services/network/virtual_hub_route_table_data_source.go @@ -9,7 +9,7 @@ import ( "github.com/hashicorp/go-azure-helpers/lang/response" "github.com/hashicorp/go-azure-helpers/resourcemanager/commonschema" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualwans" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" networkValidate "github.com/hashicorp/terraform-provider-azurerm/internal/services/network/validate" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk" diff --git a/internal/services/network/virtual_hub_route_table_resource.go b/internal/services/network/virtual_hub_route_table_resource.go index fbf5e00d26dd..b7a6f0f6963a 100644 --- a/internal/services/network/virtual_hub_route_table_resource.go +++ b/internal/services/network/virtual_hub_route_table_resource.go @@ -10,7 +10,7 @@ import ( "github.com/hashicorp/go-azure-helpers/lang/pointer" "github.com/hashicorp/go-azure-helpers/lang/response" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualwans" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans" "github.com/hashicorp/terraform-provider-azurerm/helpers/azure" "github.com/hashicorp/terraform-provider-azurerm/helpers/tf" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" diff --git a/internal/services/network/virtual_hub_route_table_resource_test.go b/internal/services/network/virtual_hub_route_table_resource_test.go index 5747b17e39da..7741f3a4bdf3 100644 --- a/internal/services/network/virtual_hub_route_table_resource_test.go +++ b/internal/services/network/virtual_hub_route_table_resource_test.go @@ -9,7 +9,7 @@ import ( "testing" "github.com/hashicorp/go-azure-helpers/lang/pointer" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualwans" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" diff --git a/internal/services/network/virtual_hub_route_table_route_resource.go b/internal/services/network/virtual_hub_route_table_route_resource.go index c346336b4560..d372e19341f6 100644 --- a/internal/services/network/virtual_hub_route_table_route_resource.go +++ b/internal/services/network/virtual_hub_route_table_route_resource.go @@ -10,7 +10,7 @@ import ( "github.com/hashicorp/go-azure-helpers/lang/pointer" "github.com/hashicorp/go-azure-helpers/lang/response" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualwans" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans" "github.com/hashicorp/terraform-provider-azurerm/helpers/azure" "github.com/hashicorp/terraform-provider-azurerm/helpers/tf" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" diff --git a/internal/services/network/virtual_hub_route_table_route_resource_test.go b/internal/services/network/virtual_hub_route_table_route_resource_test.go index 3cbfa910688d..b1f6ac0d9677 100644 --- a/internal/services/network/virtual_hub_route_table_route_resource_test.go +++ b/internal/services/network/virtual_hub_route_table_route_resource_test.go @@ -9,7 +9,7 @@ import ( "testing" "github.com/hashicorp/go-azure-helpers/lang/pointer" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualwans" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" diff --git a/internal/services/network/virtual_hub_routing_intent_resource.go b/internal/services/network/virtual_hub_routing_intent_resource.go index 129d24d1b8d1..bf923c894725 100644 --- a/internal/services/network/virtual_hub_routing_intent_resource.go +++ b/internal/services/network/virtual_hub_routing_intent_resource.go @@ -9,7 +9,7 @@ import ( "time" "github.com/hashicorp/go-azure-helpers/lang/response" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualwans" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans" "github.com/hashicorp/terraform-provider-azurerm/helpers/azure" "github.com/hashicorp/terraform-provider-azurerm/internal/sdk" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk" diff --git a/internal/services/network/virtual_hub_routing_intent_resource_test.go b/internal/services/network/virtual_hub_routing_intent_resource_test.go index 8fcfb69cb575..56428b9d7c82 100644 --- a/internal/services/network/virtual_hub_routing_intent_resource_test.go +++ b/internal/services/network/virtual_hub_routing_intent_resource_test.go @@ -9,7 +9,7 @@ import ( "testing" "github.com/hashicorp/go-azure-helpers/lang/response" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualwans" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" diff --git a/internal/services/network/virtual_hub_security_partner_provider_resource.go b/internal/services/network/virtual_hub_security_partner_provider_resource.go index c9d441847797..62eed221a79a 100644 --- a/internal/services/network/virtual_hub_security_partner_provider_resource.go +++ b/internal/services/network/virtual_hub_security_partner_provider_resource.go @@ -14,7 +14,7 @@ import ( "github.com/hashicorp/go-azure-helpers/resourcemanager/location" "github.com/hashicorp/go-azure-helpers/resourcemanager/tags" "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-09-01/virtualwans" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/securitypartnerproviders" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securitypartnerproviders" "github.com/hashicorp/terraform-provider-azurerm/helpers/tf" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk" diff --git a/internal/services/network/virtual_hub_security_partner_provider_resource_test.go b/internal/services/network/virtual_hub_security_partner_provider_resource_test.go index 9a8dbb279dc6..b5fdce6f985e 100644 --- a/internal/services/network/virtual_hub_security_partner_provider_resource_test.go +++ b/internal/services/network/virtual_hub_security_partner_provider_resource_test.go @@ -9,7 +9,7 @@ import ( "testing" "github.com/hashicorp/go-azure-helpers/lang/pointer" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/securitypartnerproviders" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securitypartnerproviders" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" diff --git a/internal/services/network/virtual_machine_packet_capture_resource.go b/internal/services/network/virtual_machine_packet_capture_resource.go index 451a21f831c3..04f8b15d7a11 100644 --- a/internal/services/network/virtual_machine_packet_capture_resource.go +++ b/internal/services/network/virtual_machine_packet_capture_resource.go @@ -12,7 +12,7 @@ import ( "github.com/hashicorp/go-azure-helpers/lang/response" "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-09-01/networkwatchers" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/packetcaptures" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/packetcaptures" "github.com/hashicorp/terraform-provider-azurerm/helpers/tf" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" networkValidate "github.com/hashicorp/terraform-provider-azurerm/internal/services/network/validate" diff --git a/internal/services/network/virtual_machine_packet_capture_resource_test.go b/internal/services/network/virtual_machine_packet_capture_resource_test.go index c7a2508971c8..bc6b61836e61 100644 --- a/internal/services/network/virtual_machine_packet_capture_resource_test.go +++ b/internal/services/network/virtual_machine_packet_capture_resource_test.go @@ -8,7 +8,7 @@ import ( "fmt" "testing" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/packetcaptures" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/packetcaptures" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" diff --git a/internal/services/network/virtual_machine_scale_set_packet_capture_resource.go b/internal/services/network/virtual_machine_scale_set_packet_capture_resource.go index 93624c815acc..c28858a8fd19 100644 --- a/internal/services/network/virtual_machine_scale_set_packet_capture_resource.go +++ b/internal/services/network/virtual_machine_scale_set_packet_capture_resource.go @@ -12,7 +12,7 @@ import ( "github.com/hashicorp/go-azure-helpers/lang/response" "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-09-01/networkwatchers" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/packetcaptures" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/packetcaptures" "github.com/hashicorp/terraform-provider-azurerm/helpers/tf" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" computeParse "github.com/hashicorp/terraform-provider-azurerm/internal/services/compute/parse" diff --git a/internal/services/network/virtual_machine_scale_set_packet_capture_resource_test.go b/internal/services/network/virtual_machine_scale_set_packet_capture_resource_test.go index 5d484a1e9adb..b78eb8d7fa89 100644 --- a/internal/services/network/virtual_machine_scale_set_packet_capture_resource_test.go +++ b/internal/services/network/virtual_machine_scale_set_packet_capture_resource_test.go @@ -8,7 +8,7 @@ import ( "fmt" "testing" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/packetcaptures" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/packetcaptures" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" diff --git a/internal/services/network/virtual_network_data_source.go b/internal/services/network/virtual_network_data_source.go index a81ade0ede42..4f766e7bf0c5 100644 --- a/internal/services/network/virtual_network_data_source.go +++ b/internal/services/network/virtual_network_data_source.go @@ -12,7 +12,7 @@ import ( "github.com/hashicorp/go-azure-helpers/resourcemanager/commonschema" "github.com/hashicorp/go-azure-helpers/resourcemanager/location" "github.com/hashicorp/go-azure-helpers/resourcemanager/tags" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/validation" diff --git a/internal/services/network/virtual_network_dns_servers_resource.go b/internal/services/network/virtual_network_dns_servers_resource.go index ce64aa28e936..66833d53b704 100644 --- a/internal/services/network/virtual_network_dns_servers_resource.go +++ b/internal/services/network/virtual_network_dns_servers_resource.go @@ -10,7 +10,7 @@ import ( "github.com/hashicorp/go-azure-helpers/lang/response" "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" "github.com/hashicorp/terraform-provider-azurerm/internal/locks" "github.com/hashicorp/terraform-provider-azurerm/internal/services/network/parse" diff --git a/internal/services/network/virtual_network_dns_servers_resource_test.go b/internal/services/network/virtual_network_dns_servers_resource_test.go index f7c63504dcd1..0d8d0c7b20cc 100644 --- a/internal/services/network/virtual_network_dns_servers_resource_test.go +++ b/internal/services/network/virtual_network_dns_servers_resource_test.go @@ -10,7 +10,7 @@ import ( "github.com/hashicorp/go-azure-helpers/lang/pointer" "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" diff --git a/internal/services/network/virtual_network_gateway_connection_data_source.go b/internal/services/network/virtual_network_gateway_connection_data_source.go index ec49c6efbe86..0f37cb077956 100644 --- a/internal/services/network/virtual_network_gateway_connection_data_source.go +++ b/internal/services/network/virtual_network_gateway_connection_data_source.go @@ -11,7 +11,7 @@ import ( "github.com/hashicorp/go-azure-helpers/lang/response" "github.com/hashicorp/go-azure-helpers/resourcemanager/commonschema" "github.com/hashicorp/go-azure-helpers/resourcemanager/location" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgatewayconnections" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" "github.com/hashicorp/terraform-provider-azurerm/internal/tags" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk" diff --git a/internal/services/network/virtual_network_gateway_connection_resource.go b/internal/services/network/virtual_network_gateway_connection_resource.go index eded6aa1f0ec..feb955358b11 100644 --- a/internal/services/network/virtual_network_gateway_connection_resource.go +++ b/internal/services/network/virtual_network_gateway_connection_resource.go @@ -16,8 +16,8 @@ import ( "github.com/hashicorp/go-azure-helpers/resourcemanager/tags" "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuits" "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/localnetworkgateways" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgatewayconnections" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways" "github.com/hashicorp/terraform-provider-azurerm/helpers/tf" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" "github.com/hashicorp/terraform-provider-azurerm/internal/features" diff --git a/internal/services/network/virtual_network_gateway_connection_resource_test.go b/internal/services/network/virtual_network_gateway_connection_resource_test.go index 2128c00dd5b0..348e6b6b5bfb 100644 --- a/internal/services/network/virtual_network_gateway_connection_resource_test.go +++ b/internal/services/network/virtual_network_gateway_connection_resource_test.go @@ -9,7 +9,7 @@ import ( "testing" "github.com/hashicorp/go-azure-helpers/lang/pointer" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgatewayconnections" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" diff --git a/internal/services/network/virtual_network_gateway_data_source.go b/internal/services/network/virtual_network_gateway_data_source.go index 50a7c96b52be..142a26743363 100644 --- a/internal/services/network/virtual_network_gateway_data_source.go +++ b/internal/services/network/virtual_network_gateway_data_source.go @@ -12,7 +12,7 @@ import ( "github.com/hashicorp/go-azure-helpers/resourcemanager/commonschema" "github.com/hashicorp/go-azure-helpers/resourcemanager/location" "github.com/hashicorp/go-azure-helpers/resourcemanager/tags" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/validation" diff --git a/internal/services/network/virtual_network_gateway_nat_rule_resource.go b/internal/services/network/virtual_network_gateway_nat_rule_resource.go index e046a9b48a15..4393b22aef2b 100644 --- a/internal/services/network/virtual_network_gateway_nat_rule_resource.go +++ b/internal/services/network/virtual_network_gateway_nat_rule_resource.go @@ -11,7 +11,7 @@ import ( "github.com/hashicorp/go-azure-helpers/lang/pointer" "github.com/hashicorp/go-azure-helpers/lang/response" "github.com/hashicorp/go-azure-helpers/resourcemanager/commonschema" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways" "github.com/hashicorp/terraform-provider-azurerm/helpers/tf" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" "github.com/hashicorp/terraform-provider-azurerm/internal/services/network/validate" diff --git a/internal/services/network/virtual_network_gateway_nat_rule_resource_test.go b/internal/services/network/virtual_network_gateway_nat_rule_resource_test.go index bfcae0a94323..8fc045004c67 100644 --- a/internal/services/network/virtual_network_gateway_nat_rule_resource_test.go +++ b/internal/services/network/virtual_network_gateway_nat_rule_resource_test.go @@ -9,7 +9,7 @@ import ( "testing" "github.com/hashicorp/go-azure-helpers/lang/pointer" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" diff --git a/internal/services/network/virtual_network_gateway_resource.go b/internal/services/network/virtual_network_gateway_resource.go index 6e6d6f40eede..994e2d08e868 100644 --- a/internal/services/network/virtual_network_gateway_resource.go +++ b/internal/services/network/virtual_network_gateway_resource.go @@ -16,7 +16,7 @@ import ( "github.com/hashicorp/go-azure-helpers/resourcemanager/location" "github.com/hashicorp/go-azure-helpers/resourcemanager/tags" "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/localnetworkgateways" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways" "github.com/hashicorp/terraform-provider-azurerm/helpers/tf" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" "github.com/hashicorp/terraform-provider-azurerm/internal/services/network/parse" diff --git a/internal/services/network/virtual_network_gateway_resource_test.go b/internal/services/network/virtual_network_gateway_resource_test.go index c2d642821e82..274cf793433d 100644 --- a/internal/services/network/virtual_network_gateway_resource_test.go +++ b/internal/services/network/virtual_network_gateway_resource_test.go @@ -9,7 +9,7 @@ import ( "testing" "github.com/hashicorp/go-azure-helpers/lang/pointer" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" diff --git a/internal/services/network/virtual_network_peering_data_source.go b/internal/services/network/virtual_network_peering_data_source.go new file mode 100644 index 000000000000..a01d670770fe --- /dev/null +++ b/internal/services/network/virtual_network_peering_data_source.go @@ -0,0 +1,152 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + +package network + +import ( + "context" + "fmt" + "time" + + "github.com/hashicorp/go-azure-helpers/lang/pointer" + "github.com/hashicorp/go-azure-helpers/lang/response" + "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkpeerings" + "github.com/hashicorp/terraform-provider-azurerm/internal/sdk" + "github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk" + "github.com/hashicorp/terraform-provider-azurerm/internal/tf/validation" +) + +var _ sdk.DataSource = VirtualNetworkPeeringDataSource{} + +type VirtualNetworkPeeringDataSource struct{} + +type VirtualNetworkPeeringDataSourceModel struct { + Name string `tfschema:"name"` + VirtualNetworkId string `tfschema:"virtual_network_id"` + RemoteVirtualNetworkId string `tfschema:"remote_virtual_network_id"` + AllowVirtualNetworkAccess bool `tfschema:"allow_virtual_network_access"` + AllowForwardedTraffic bool `tfschema:"allow_forwarded_traffic"` + AllowGatewayTransit bool `tfschema:"allow_gateway_transit"` + OnlyIPv6PeeringEnabled bool `tfschema:"only_ipv6_peering_enabled"` + PeerCompleteVnetsEnabled bool `tfschema:"peer_complete_virtual_networks_enabled"` + UseRemoteGateways bool `tfschema:"use_remote_gateways"` +} + +func (VirtualNetworkPeeringDataSource) Arguments() map[string]*pluginsdk.Schema { + return map[string]*pluginsdk.Schema{ + "name": { + Type: pluginsdk.TypeString, + Required: true, + ValidateFunc: validation.StringIsNotEmpty, + }, + + "virtual_network_id": { + Type: pluginsdk.TypeString, + Required: true, + ValidateFunc: commonids.ValidateVirtualNetworkID, + }, + } +} + +func (VirtualNetworkPeeringDataSource) Attributes() map[string]*pluginsdk.Schema { + return map[string]*pluginsdk.Schema{ + "remote_virtual_network_id": { + Type: pluginsdk.TypeString, + Computed: true, + }, + + "allow_virtual_network_access": { + Type: pluginsdk.TypeBool, + Computed: true, + }, + + "allow_forwarded_traffic": { + Type: pluginsdk.TypeBool, + Computed: true, + }, + + "allow_gateway_transit": { + Type: pluginsdk.TypeBool, + Computed: true, + }, + + "only_ipv6_peering_enabled": { + Type: pluginsdk.TypeBool, + Computed: true, + }, + + "peer_complete_virtual_networks_enabled": { + Type: pluginsdk.TypeBool, + Computed: true, + }, + + "use_remote_gateways": { + Type: pluginsdk.TypeBool, + Computed: true, + }, + } +} + +func (VirtualNetworkPeeringDataSource) ModelObject() interface{} { + return &VirtualNetworkPeeringDataSourceModel{} +} + +func (VirtualNetworkPeeringDataSource) ResourceType() string { + return "azurerm_virtual_network_peering" +} + +func (VirtualNetworkPeeringDataSource) Read() sdk.ResourceFunc { + return sdk.ResourceFunc{ + Timeout: 5 * time.Minute, + Func: func(ctx context.Context, metadata sdk.ResourceMetaData) error { + client := metadata.Client.Network.VirtualNetworkPeerings + + subscriptionId := metadata.Client.Account.SubscriptionId + + var state VirtualNetworkPeeringDataSourceModel + if err := metadata.Decode(&state); err != nil { + return fmt.Errorf("decoding: %+v", err) + } + + virtualNetworkId, err := commonids.ParseVirtualNetworkID(state.VirtualNetworkId) + if err != nil { + return err + } + + id := virtualnetworkpeerings.NewVirtualNetworkPeeringID(subscriptionId, virtualNetworkId.ResourceGroupName, virtualNetworkId.VirtualNetworkName, state.Name) + + resp, err := client.Get(ctx, id) + if err != nil { + if response.WasNotFound(resp.HttpResponse) { + return fmt.Errorf("%s was not found", id) + } + return fmt.Errorf("retrieving %s: %+v", id, err) + } + + metadata.SetID(id) + + if model := resp.Model; model != nil { + if props := model.Properties; props != nil { + state.AllowVirtualNetworkAccess = pointer.From(props.AllowVirtualNetworkAccess) + state.AllowForwardedTraffic = pointer.From(props.AllowForwardedTraffic) + state.AllowGatewayTransit = pointer.From(props.AllowGatewayTransit) + state.OnlyIPv6PeeringEnabled = pointer.From(props.EnableOnlyIPv6Peering) + state.PeerCompleteVnetsEnabled = pointer.From(props.PeerCompleteVnets) + state.UseRemoteGateways = pointer.From(props.UseRemoteGateways) + + remoteVirtualNetworkId := "" + if network := props.RemoteVirtualNetwork; network != nil { + parsed, err := commonids.ParseVirtualNetworkIDInsensitively(*network.Id) + if err != nil { + return err + } + remoteVirtualNetworkId = parsed.ID() + } + state.RemoteVirtualNetworkId = remoteVirtualNetworkId + } + } + return metadata.Encode(&state) + }, + } +} diff --git a/internal/services/network/virtual_network_peering_data_source_test.go b/internal/services/network/virtual_network_peering_data_source_test.go new file mode 100644 index 000000000000..afd76d87ec5d --- /dev/null +++ b/internal/services/network/virtual_network_peering_data_source_test.go @@ -0,0 +1,94 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + +package network_test + +import ( + "fmt" + "testing" + + "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" + "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" +) + +type VirtualNetworkPeeringDataSource struct{} + +func TestAccDataSourceVirtualNetworkPeering_basic(t *testing.T) { + data := acceptance.BuildTestData(t, "data.azurerm_virtual_network_peering", "test-1") + secondResourceName := "data.azurerm_virtual_network_peering.test-2" + + r := VirtualNetworkPeeringDataSource{} + + data.DataSourceTest(t, []acceptance.TestStep{ + { + Config: r.basic(data), + Check: acceptance.ComposeTestCheckFunc( + check.That(data.ResourceName).Key("allow_virtual_network_access").HasValue("true"), + check.That(data.ResourceName).Key("allow_forwarded_traffic").HasValue("false"), + check.That(data.ResourceName).Key("allow_gateway_transit").HasValue("false"), + check.That(data.ResourceName).Key("only_ipv6_peering_enabled").HasValue("false"), + check.That(data.ResourceName).Key("peer_complete_virtual_networks_enabled").HasValue("true"), + check.That(data.ResourceName).Key("use_remote_gateways").HasValue("false"), + check.That(secondResourceName).Key("allow_virtual_network_access").HasValue("true"), + check.That(secondResourceName).Key("allow_forwarded_traffic").HasValue("false"), + check.That(secondResourceName).Key("allow_gateway_transit").HasValue("false"), + check.That(secondResourceName).Key("only_ipv6_peering_enabled").HasValue("false"), + check.That(secondResourceName).Key("peer_complete_virtual_networks_enabled").HasValue("true"), + check.That(secondResourceName).Key("use_remote_gateways").HasValue("false"), + ), + }, + }) +} + +func (r VirtualNetworkPeeringDataSource) basic(data acceptance.TestData) string { + return fmt.Sprintf(` +provider "azurerm" { + features {} +} + +resource "azurerm_resource_group" "test" { + name = "acctestRg-%[1]d" + location = "%[2]s" +} + +resource "azurerm_virtual_network" "test-1" { + name = "acctestvnet1-%[1]d" + resource_group_name = azurerm_resource_group.test.name + address_space = ["10.0.1.0/24"] + location = azurerm_resource_group.test.location +} + +resource "azurerm_virtual_network" "test-2" { + name = "acctestvnet2-%[1]d" + resource_group_name = azurerm_resource_group.test.name + address_space = ["10.0.2.0/24"] + location = azurerm_resource_group.test.location +} + +resource "azurerm_virtual_network_peering" "test-1" { + name = "acctestpeer1to2" + resource_group_name = azurerm_resource_group.test.name + virtual_network_name = azurerm_virtual_network.test-1.name + remote_virtual_network_id = azurerm_virtual_network.test-2.id + allow_virtual_network_access = true +} + +resource "azurerm_virtual_network_peering" "test-2" { + name = "acctestpeer2to1" + resource_group_name = azurerm_resource_group.test.name + virtual_network_name = azurerm_virtual_network.test-2.name + remote_virtual_network_id = azurerm_virtual_network.test-1.id + allow_virtual_network_access = true +} + +data "azurerm_virtual_network_peering" "test-1" { + name = azurerm_virtual_network_peering.test-1.name + virtual_network_id = azurerm_virtual_network.test-1.id +} + +data "azurerm_virtual_network_peering" "test-2" { + name = azurerm_virtual_network_peering.test-2.name + virtual_network_id = azurerm_virtual_network.test-2.id +} +`, data.RandomInteger, data.Locations.Primary) +} diff --git a/internal/services/network/virtual_network_peering_resource.go b/internal/services/network/virtual_network_peering_resource.go index 406a9c85e2e0..d6570b572d4f 100644 --- a/internal/services/network/virtual_network_peering_resource.go +++ b/internal/services/network/virtual_network_peering_resource.go @@ -12,7 +12,7 @@ import ( "github.com/hashicorp/go-azure-helpers/lang/response" "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" "github.com/hashicorp/go-azure-helpers/resourcemanager/commonschema" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkpeerings" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkpeerings" "github.com/hashicorp/terraform-provider-azurerm/helpers/tf" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" "github.com/hashicorp/terraform-provider-azurerm/internal/locks" diff --git a/internal/services/network/virtual_network_peering_resource_test.go b/internal/services/network/virtual_network_peering_resource_test.go index 7b63a975b88b..7a095002f57f 100644 --- a/internal/services/network/virtual_network_peering_resource_test.go +++ b/internal/services/network/virtual_network_peering_resource_test.go @@ -9,7 +9,7 @@ import ( "testing" "github.com/hashicorp/go-azure-helpers/lang/pointer" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkpeerings" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkpeerings" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" diff --git a/internal/services/network/virtual_network_resource.go b/internal/services/network/virtual_network_resource.go index acfca5eaaf2e..d7b2fa610d31 100644 --- a/internal/services/network/virtual_network_resource.go +++ b/internal/services/network/virtual_network_resource.go @@ -22,7 +22,7 @@ import ( "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routetables" "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/serviceendpointpolicies" "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/subnets" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks" "github.com/hashicorp/terraform-provider-azurerm/helpers/tf" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" "github.com/hashicorp/terraform-provider-azurerm/internal/features" diff --git a/internal/services/network/virtual_network_resource_test.go b/internal/services/network/virtual_network_resource_test.go index e75f5cd6e414..edf8d8aa083c 100644 --- a/internal/services/network/virtual_network_resource_test.go +++ b/internal/services/network/virtual_network_resource_test.go @@ -10,7 +10,7 @@ import ( "github.com/hashicorp/go-azure-helpers/lang/pointer" "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" diff --git a/internal/services/network/virtual_wan_data_source.go b/internal/services/network/virtual_wan_data_source.go index e7174b12ea24..dbfaf6b1ff03 100644 --- a/internal/services/network/virtual_wan_data_source.go +++ b/internal/services/network/virtual_wan_data_source.go @@ -12,7 +12,7 @@ import ( "github.com/hashicorp/go-azure-helpers/resourcemanager/commonschema" "github.com/hashicorp/go-azure-helpers/resourcemanager/location" "github.com/hashicorp/go-azure-helpers/resourcemanager/tags" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualwans" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/validation" diff --git a/internal/services/network/virtual_wan_resource.go b/internal/services/network/virtual_wan_resource.go index bf66c99aff07..0d8a0353c653 100644 --- a/internal/services/network/virtual_wan_resource.go +++ b/internal/services/network/virtual_wan_resource.go @@ -13,7 +13,7 @@ import ( "github.com/hashicorp/go-azure-helpers/resourcemanager/commonschema" "github.com/hashicorp/go-azure-helpers/resourcemanager/location" "github.com/hashicorp/go-azure-helpers/resourcemanager/tags" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualwans" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans" "github.com/hashicorp/terraform-provider-azurerm/helpers/tf" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk" diff --git a/internal/services/network/virtual_wan_resource_test.go b/internal/services/network/virtual_wan_resource_test.go index 429ca5dde644..d71a0157db67 100644 --- a/internal/services/network/virtual_wan_resource_test.go +++ b/internal/services/network/virtual_wan_resource_test.go @@ -9,7 +9,7 @@ import ( "testing" "github.com/hashicorp/go-azure-helpers/lang/pointer" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualwans" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" diff --git a/internal/services/network/vpn_gateway_connection_resource.go b/internal/services/network/vpn_gateway_connection_resource.go index 899ec14a462a..ad44edfce685 100644 --- a/internal/services/network/vpn_gateway_connection_resource.go +++ b/internal/services/network/vpn_gateway_connection_resource.go @@ -11,7 +11,7 @@ import ( "github.com/hashicorp/go-azure-helpers/lang/pointer" "github.com/hashicorp/go-azure-helpers/lang/response" "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualwans" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans" "github.com/hashicorp/terraform-provider-azurerm/helpers/tf" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" "github.com/hashicorp/terraform-provider-azurerm/internal/locks" diff --git a/internal/services/network/vpn_gateway_data_source.go b/internal/services/network/vpn_gateway_data_source.go index 5a0fd412ae1c..e9c9f4822c73 100644 --- a/internal/services/network/vpn_gateway_data_source.go +++ b/internal/services/network/vpn_gateway_data_source.go @@ -11,7 +11,7 @@ import ( "github.com/hashicorp/go-azure-helpers/resourcemanager/commonschema" "github.com/hashicorp/go-azure-helpers/resourcemanager/location" "github.com/hashicorp/go-azure-helpers/resourcemanager/tags" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualwans" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk" "github.com/hashicorp/terraform-provider-azurerm/internal/timeouts" diff --git a/internal/services/network/vpn_gateway_nat_rule_resource.go b/internal/services/network/vpn_gateway_nat_rule_resource.go index a78cbcc77bfe..d21380ce7a11 100644 --- a/internal/services/network/vpn_gateway_nat_rule_resource.go +++ b/internal/services/network/vpn_gateway_nat_rule_resource.go @@ -11,7 +11,7 @@ import ( "github.com/hashicorp/go-azure-helpers/lang/pointer" "github.com/hashicorp/go-azure-helpers/lang/response" "github.com/hashicorp/go-azure-helpers/resourcemanager/resourcegroups" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualwans" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "github.com/hashicorp/terraform-provider-azurerm/helpers/tf" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" diff --git a/internal/services/network/vpn_gateway_nat_rule_resource_test.go b/internal/services/network/vpn_gateway_nat_rule_resource_test.go index 33c03ba505c5..0c20e1e281c7 100644 --- a/internal/services/network/vpn_gateway_nat_rule_resource_test.go +++ b/internal/services/network/vpn_gateway_nat_rule_resource_test.go @@ -9,7 +9,7 @@ import ( "testing" "github.com/hashicorp/go-azure-helpers/lang/pointer" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualwans" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" diff --git a/internal/services/network/vpn_gateway_resource.go b/internal/services/network/vpn_gateway_resource.go index 76f13d1f6b92..d2275eceb877 100644 --- a/internal/services/network/vpn_gateway_resource.go +++ b/internal/services/network/vpn_gateway_resource.go @@ -13,7 +13,7 @@ import ( "github.com/hashicorp/go-azure-helpers/resourcemanager/commonschema" "github.com/hashicorp/go-azure-helpers/resourcemanager/location" "github.com/hashicorp/go-azure-helpers/resourcemanager/tags" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualwans" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans" "github.com/hashicorp/terraform-provider-azurerm/helpers/tf" commonValidate "github.com/hashicorp/terraform-provider-azurerm/helpers/validate" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" diff --git a/internal/services/network/vpn_gateway_resource_test.go b/internal/services/network/vpn_gateway_resource_test.go index e47711bdff71..28f021eb7ba1 100644 --- a/internal/services/network/vpn_gateway_resource_test.go +++ b/internal/services/network/vpn_gateway_resource_test.go @@ -8,7 +8,7 @@ import ( "fmt" "testing" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualwans" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" diff --git a/internal/services/network/vpn_server_configuration_data_source_resource.go b/internal/services/network/vpn_server_configuration_data_source_resource.go index 01eb177be82e..d4cae72fc76c 100644 --- a/internal/services/network/vpn_server_configuration_data_source_resource.go +++ b/internal/services/network/vpn_server_configuration_data_source_resource.go @@ -11,7 +11,7 @@ import ( "github.com/hashicorp/go-azure-helpers/lang/pointer" "github.com/hashicorp/go-azure-helpers/lang/response" "github.com/hashicorp/go-azure-helpers/resourcemanager/commonschema" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualwans" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans" "github.com/hashicorp/terraform-provider-azurerm/internal/sdk" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk" ) diff --git a/internal/services/network/vpn_server_configuration_policy_group_resource.go b/internal/services/network/vpn_server_configuration_policy_group_resource.go index b94b193460f5..5a37c6812a7c 100644 --- a/internal/services/network/vpn_server_configuration_policy_group_resource.go +++ b/internal/services/network/vpn_server_configuration_policy_group_resource.go @@ -10,7 +10,7 @@ import ( "github.com/hashicorp/go-azure-helpers/lang/pointer" "github.com/hashicorp/go-azure-helpers/lang/response" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualwans" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans" "github.com/hashicorp/terraform-provider-azurerm/helpers/tf" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" "github.com/hashicorp/terraform-provider-azurerm/internal/locks" diff --git a/internal/services/network/vpn_server_configuration_policy_group_resource_test.go b/internal/services/network/vpn_server_configuration_policy_group_resource_test.go index 2f4f290f70b6..206816e82a7f 100644 --- a/internal/services/network/vpn_server_configuration_policy_group_resource_test.go +++ b/internal/services/network/vpn_server_configuration_policy_group_resource_test.go @@ -9,7 +9,7 @@ import ( "testing" "github.com/hashicorp/go-azure-helpers/lang/pointer" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualwans" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" diff --git a/internal/services/network/vpn_server_configuration_resource.go b/internal/services/network/vpn_server_configuration_resource.go index 0dcae37fb6b1..163984a41cbf 100644 --- a/internal/services/network/vpn_server_configuration_resource.go +++ b/internal/services/network/vpn_server_configuration_resource.go @@ -13,7 +13,7 @@ import ( "github.com/hashicorp/go-azure-helpers/resourcemanager/commonschema" "github.com/hashicorp/go-azure-helpers/resourcemanager/location" "github.com/hashicorp/go-azure-helpers/resourcemanager/tags" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualwans" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans" "github.com/hashicorp/terraform-provider-azurerm/helpers/azure" "github.com/hashicorp/terraform-provider-azurerm/helpers/tf" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" diff --git a/internal/services/network/vpn_server_configuration_resource_test.go b/internal/services/network/vpn_server_configuration_resource_test.go index 1e2b37ff944d..1e4d15d2299a 100644 --- a/internal/services/network/vpn_server_configuration_resource_test.go +++ b/internal/services/network/vpn_server_configuration_resource_test.go @@ -9,7 +9,7 @@ import ( "testing" "github.com/hashicorp/go-azure-helpers/lang/pointer" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualwans" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" diff --git a/internal/services/network/vpn_site_resource.go b/internal/services/network/vpn_site_resource.go index d5de90205344..53273ee511d2 100644 --- a/internal/services/network/vpn_site_resource.go +++ b/internal/services/network/vpn_site_resource.go @@ -13,7 +13,7 @@ import ( "github.com/hashicorp/go-azure-helpers/resourcemanager/commonschema" "github.com/hashicorp/go-azure-helpers/resourcemanager/location" "github.com/hashicorp/go-azure-helpers/resourcemanager/tags" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualwans" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans" "github.com/hashicorp/terraform-provider-azurerm/helpers/tf" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" "github.com/hashicorp/terraform-provider-azurerm/internal/services/network/validate" diff --git a/internal/services/network/vpn_site_resource_test.go b/internal/services/network/vpn_site_resource_test.go index 0399336285bf..ce14eda5cf0a 100644 --- a/internal/services/network/vpn_site_resource_test.go +++ b/internal/services/network/vpn_site_resource_test.go @@ -8,7 +8,7 @@ import ( "fmt" "testing" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualwans" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" diff --git a/internal/services/network/web_application_firewall_policy_data_source.go b/internal/services/network/web_application_firewall_policy_data_source.go index 70de6dbbe980..315b0e4961d0 100644 --- a/internal/services/network/web_application_firewall_policy_data_source.go +++ b/internal/services/network/web_application_firewall_policy_data_source.go @@ -11,7 +11,7 @@ import ( "github.com/hashicorp/go-azure-helpers/resourcemanager/commonschema" "github.com/hashicorp/go-azure-helpers/resourcemanager/location" "github.com/hashicorp/go-azure-helpers/resourcemanager/tags" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/webapplicationfirewallpolicies" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/validation" diff --git a/internal/services/network/web_application_firewall_policy_resource.go b/internal/services/network/web_application_firewall_policy_resource.go index 12053a12fd61..3c9943f62586 100644 --- a/internal/services/network/web_application_firewall_policy_resource.go +++ b/internal/services/network/web_application_firewall_policy_resource.go @@ -13,7 +13,7 @@ import ( "github.com/hashicorp/go-azure-helpers/resourcemanager/commonschema" "github.com/hashicorp/go-azure-helpers/resourcemanager/location" "github.com/hashicorp/go-azure-helpers/resourcemanager/tags" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/webapplicationfirewallpolicies" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies" "github.com/hashicorp/terraform-provider-azurerm/helpers/azure" "github.com/hashicorp/terraform-provider-azurerm/helpers/tf" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" @@ -144,15 +144,8 @@ func resourceWebApplicationFirewallPolicy() *pluginsdk.Resource { Type: pluginsdk.TypeSet, Optional: true, Elem: &pluginsdk.Schema{ - Type: pluginsdk.TypeString, - ValidateFunc: validation.StringInSlice([]string{ - string(webapplicationfirewallpolicies.WebApplicationFirewallTransformHtmlEntityDecode), - string(webapplicationfirewallpolicies.WebApplicationFirewallTransformLowercase), - string(webapplicationfirewallpolicies.WebApplicationFirewallTransformRemoveNulls), - string(webapplicationfirewallpolicies.WebApplicationFirewallTransformTrim), - string(webapplicationfirewallpolicies.WebApplicationFirewallTransformURLDecode), - string(webapplicationfirewallpolicies.WebApplicationFirewallTransformURLEncode), - }, false), + Type: pluginsdk.TypeString, + ValidateFunc: validation.StringInSlice(webapplicationfirewallpolicies.PossibleValuesForWebApplicationFirewallTransform(), false), }, }, }, @@ -396,6 +389,22 @@ func resourceWebApplicationFirewallPolicy() *pluginsdk.Resource { Default: true, }, + "file_upload_enforcement": { + Type: pluginsdk.TypeBool, + /* + NOTE: O+C: This value defaults to true but is only available under certain conditions (i.e. when version is 3.2) + managed_rules { + managed_rule_set { + type = "OWASP" + version = "3.2" + } + } + */ + Optional: true, + // We'll remove computed in 5.0 so we don't break existing configurations + Computed: !features.FivePointOhBeta(), + }, + "max_request_body_size_in_kb": { Type: pluginsdk.TypeInt, Optional: true, @@ -727,12 +736,14 @@ func expandWebApplicationFirewallPolicyPolicySettings(input []interface{}) *weba mode := v["mode"].(string) requestBodyCheck := v["request_body_check"].(bool) requestBodyEnforcement := v["request_body_enforcement"].(bool) + fileUploadEnforcement := v["file_upload_enforcement"].(bool) maxRequestBodySizeInKb := v["max_request_body_size_in_kb"].(int) fileUploadLimitInMb := v["file_upload_limit_in_mb"].(int) result := webapplicationfirewallpolicies.PolicySettings{ State: pointer.To(enabled), Mode: pointer.To(webapplicationfirewallpolicies.WebApplicationFirewallMode(mode)), + FileUploadEnforcement: pointer.To(fileUploadEnforcement), RequestBodyCheck: pointer.To(requestBodyCheck), RequestBodyEnforcement: pointer.To(requestBodyEnforcement), MaxRequestBodySizeInKb: pointer.To(int64(maxRequestBodySizeInKb)), @@ -1088,6 +1099,7 @@ func flattenWebApplicationFirewallPolicyPolicySettings(input *webapplicationfire result["mode"] = string(pointer.From(input.Mode)) result["request_body_check"] = input.RequestBodyCheck result["request_body_enforcement"] = input.RequestBodyEnforcement + result["file_upload_enforcement"] = input.FileUploadEnforcement result["max_request_body_size_in_kb"] = int(pointer.From(input.MaxRequestBodySizeInKb)) result["file_upload_limit_in_mb"] = int(pointer.From(input.FileUploadLimitInMb)) result["log_scrubbing"] = flattenWebApplicationFirewallPolicyLogScrubbing(input.LogScrubbing) diff --git a/internal/services/network/web_application_firewall_policy_resource_test.go b/internal/services/network/web_application_firewall_policy_resource_test.go index f27211b69546..d9a6fedab8ec 100644 --- a/internal/services/network/web_application_firewall_policy_resource_test.go +++ b/internal/services/network/web_application_firewall_policy_resource_test.go @@ -8,7 +8,7 @@ import ( "fmt" "testing" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/webapplicationfirewallpolicies" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" @@ -405,6 +405,35 @@ func TestAccWebApplicationFirewallPolicy_BotManager(t *testing.T) { }) } +func TestAccWebApplicationFirewallPolicy_fileUploadEnforcement(t *testing.T) { + data := acceptance.BuildTestData(t, "azurerm_web_application_firewall_policy", "test") + r := WebApplicationFirewallResource{} + + data.ResourceTest(t, r, []acceptance.TestStep{ + { + Config: r.fileUploadEnforcement(data, true), + Check: acceptance.ComposeTestCheckFunc( + check.That(data.ResourceName).ExistsInAzure(r), + ), + }, + data.ImportStep(), + { + Config: r.fileUploadEnforcement(data, false), + Check: acceptance.ComposeTestCheckFunc( + check.That(data.ResourceName).ExistsInAzure(r), + ), + }, + data.ImportStep(), + { + Config: r.fileUploadEnforcement(data, true), + Check: acceptance.ComposeTestCheckFunc( + check.That(data.ResourceName).ExistsInAzure(r), + ), + }, + data.ImportStep(), + }) +} + func (t WebApplicationFirewallResource) Exists(ctx context.Context, clients *clients.Client, state *pluginsdk.InstanceState) (*bool, error) { id, err := webapplicationfirewallpolicies.ParseApplicationGatewayWebApplicationFirewallPolicyID(state.ID) if err != nil { @@ -514,7 +543,7 @@ resource "azurerm_web_application_firewall_policy" "test" { operator = "Contains" negation_condition = false match_values = ["windows"] - transforms = ["Lowercase"] + transforms = ["Uppercase"] } action = "Block" @@ -2035,3 +2064,40 @@ resource "azurerm_web_application_firewall_policy" "test" { } `, data.RandomInteger, data.Locations.Primary, data.RandomInteger) } + +func (WebApplicationFirewallResource) fileUploadEnforcement(data acceptance.TestData, enforcement bool) string { + return fmt.Sprintf(` +provider "azurerm" { + features {} +} + +resource "azurerm_resource_group" "test" { + name = "acctestRG-%d" + location = "%s" +} + +resource "azurerm_web_application_firewall_policy" "test" { + name = "acctestwafpolicy-%d" + resource_group_name = azurerm_resource_group.test.name + location = azurerm_resource_group.test.location + + + managed_rules { + managed_rule_set { + type = "OWASP" + version = "3.2" + } + } + + policy_settings { + enabled = true + mode = "Prevention" + request_body_check = false + request_body_enforcement = true + file_upload_limit_in_mb = 128 + max_request_body_size_in_kb = 128 + file_upload_enforcement = %t + } +} +`, data.RandomInteger, data.Locations.Primary, data.RandomInteger, enforcement) +} diff --git a/internal/services/newrelic/client/client.go b/internal/services/newrelic/client/client.go index bf85de87d9e0..05e3e01aa29c 100644 --- a/internal/services/newrelic/client/client.go +++ b/internal/services/newrelic/client/client.go @@ -6,8 +6,8 @@ package client import ( "fmt" - "github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/monitors" - "github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/tagrules" + "github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/monitors" + "github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/tagrules" "github.com/hashicorp/terraform-provider-azurerm/internal/common" ) diff --git a/internal/services/newrelic/new_relic_monitor_resource.go b/internal/services/newrelic/new_relic_monitor_resource.go index 5115e839b4de..e4e25a0ce4d2 100644 --- a/internal/services/newrelic/new_relic_monitor_resource.go +++ b/internal/services/newrelic/new_relic_monitor_resource.go @@ -15,7 +15,7 @@ import ( "github.com/hashicorp/go-azure-helpers/resourcemanager/commonschema" "github.com/hashicorp/go-azure-helpers/resourcemanager/identity" "github.com/hashicorp/go-azure-helpers/resourcemanager/location" - "github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/monitors" + "github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/monitors" "github.com/hashicorp/terraform-provider-azurerm/internal/sdk" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/suppress" @@ -41,10 +41,10 @@ type NewRelicMonitorModel struct { } type PlanDataModel struct { - EffectiveDate string `tfschema:"effective_date"` - BillingCycle monitors.BillingCycle `tfschema:"billing_cycle"` - PlanDetails string `tfschema:"plan_id"` - UsageType monitors.UsageType `tfschema:"usage_type"` + EffectiveDate string `tfschema:"effective_date"` + BillingCycle string `tfschema:"billing_cycle"` + PlanDetails string `tfschema:"plan_id"` + UsageType monitors.UsageType `tfschema:"usage_type"` } type UserInfoModel struct { @@ -101,15 +101,16 @@ func (r NewRelicMonitorResource) Arguments() map[string]*pluginsdk.Schema { ValidateFunc: validation.IsRFC3339Time, }, + // Enum is removed https://github.com/Azure/azure-rest-api-specs/issues/31093 "billing_cycle": { Type: pluginsdk.TypeString, Optional: true, ForceNew: true, - Default: string(monitors.BillingCycleMONTHLY), + Default: "MONTHLY", ValidateFunc: validation.StringInSlice([]string{ - string(monitors.BillingCycleMONTHLY), - string(monitors.BillingCycleWEEKLY), - string(monitors.BillingCycleYEARLY), + "MONTHLY", + "WEEKLY", + "YEARLY", }, false), }, diff --git a/internal/services/newrelic/new_relic_monitor_resource_test.go b/internal/services/newrelic/new_relic_monitor_resource_test.go index 18e8a8380c5b..6647bd46d1b0 100644 --- a/internal/services/newrelic/new_relic_monitor_resource_test.go +++ b/internal/services/newrelic/new_relic_monitor_resource_test.go @@ -11,7 +11,7 @@ import ( "time" "github.com/hashicorp/go-azure-helpers/lang/response" - "github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/monitors" + "github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/monitors" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" @@ -146,6 +146,9 @@ resource "azurerm_new_relic_monitor" "test" { last_name = "last" phone_number = "123456" } + identity { + type = "SystemAssigned" + } } `, template, data.RandomInteger, data.Locations.Primary, effectiveDate, email) } @@ -168,6 +171,9 @@ resource "azurerm_new_relic_monitor" "import" { last_name = azurerm_new_relic_monitor.test.user[0].last_name phone_number = azurerm_new_relic_monitor.test.user[0].phone_number } + identity { + type = "SystemAssigned" + } } `, config) } @@ -193,6 +199,9 @@ resource "azurerm_new_relic_monitor" "test" { last_name = "last" phone_number = "123456" } + identity { + type = "SystemAssigned" + } account_creation_source = "LIFTR" account_id = "%[5]s" ingestion_key = "wltnimmhqt" diff --git a/internal/services/newrelic/new_relic_tag_rule_resource.go b/internal/services/newrelic/new_relic_tag_rule_resource.go index 84ca07f96178..17ce9961fae5 100644 --- a/internal/services/newrelic/new_relic_tag_rule_resource.go +++ b/internal/services/newrelic/new_relic_tag_rule_resource.go @@ -10,8 +10,8 @@ import ( "github.com/hashicorp/go-azure-helpers/lang/pointer" "github.com/hashicorp/go-azure-helpers/lang/response" - "github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/monitors" - "github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/tagrules" + "github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/monitors" + "github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/tagrules" "github.com/hashicorp/terraform-provider-azurerm/internal/sdk" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/validation" diff --git a/internal/services/newrelic/new_relic_tag_rule_resource_test.go b/internal/services/newrelic/new_relic_tag_rule_resource_test.go index 23f290c1fc9a..8326dca52a08 100644 --- a/internal/services/newrelic/new_relic_tag_rule_resource_test.go +++ b/internal/services/newrelic/new_relic_tag_rule_resource_test.go @@ -10,7 +10,7 @@ import ( "time" "github.com/hashicorp/go-azure-helpers/lang/response" - "github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/tagrules" + "github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/tagrules" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" @@ -132,6 +132,10 @@ resource "azurerm_new_relic_monitor" "test" { last_name = "last" phone_number = "123456" } + + identity { + type = "SystemAssigned" + } } `, data.RandomInteger, data.Locations.Primary, effectiveDate, email) } diff --git a/internal/services/oracle/autonomous_database_char_set_data_source.go b/internal/services/oracle/autonomous_database_char_set_data_source.go new file mode 100644 index 000000000000..af16d74b4cde --- /dev/null +++ b/internal/services/oracle/autonomous_database_char_set_data_source.go @@ -0,0 +1,103 @@ +// Copyright © 2024, Oracle and/or its affiliates. All rights reserved + +package oracle + +import ( + "context" + "fmt" + "time" + + "github.com/hashicorp/go-azure-helpers/lang/response" + "github.com/hashicorp/go-azure-helpers/resourcemanager/commonschema" + "github.com/hashicorp/go-azure-sdk/resource-manager/oracledatabase/2024-06-01/autonomousdatabasecharactersets" + + "github.com/hashicorp/terraform-provider-azurerm/internal/sdk" + "github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk" +) + +type AdbsCharSetsDataSource struct{} + +type AdbsCharSetsModel struct { + AdbsCharSets []AdbsCharSetModel `tfschema:"character_sets"` + Location string `tfschema:"location"` +} + +type AdbsCharSetModel struct { + CharacterSet string `tfschema:"character_set"` +} + +func (d AdbsCharSetsDataSource) Arguments() map[string]*pluginsdk.Schema { + return map[string]*pluginsdk.Schema{ + "location": commonschema.Location(), + } +} + +func (d AdbsCharSetsDataSource) Attributes() map[string]*pluginsdk.Schema { + return map[string]*pluginsdk.Schema{ + "character_sets": { + Type: pluginsdk.TypeList, + Computed: true, + Elem: &pluginsdk.Resource{ + Schema: map[string]*pluginsdk.Schema{ + "character_set": { + Type: pluginsdk.TypeString, + Computed: true, + }, + }, + }, + }, + } +} + +func (d AdbsCharSetsDataSource) ModelObject() interface{} { + return &AdbsCharSetsModel{} +} + +func (d AdbsCharSetsDataSource) ResourceType() string { + return "azurerm_oracle_adbs_character_sets" +} + +func (d AdbsCharSetsDataSource) IDValidationFunc() pluginsdk.SchemaValidateFunc { + return autonomousdatabasecharactersets.ValidateAutonomousDatabaseCharacterSetID +} + +func (d AdbsCharSetsDataSource) Read() sdk.ResourceFunc { + return sdk.ResourceFunc{ + Timeout: 5 * time.Minute, + Func: func(ctx context.Context, metadata sdk.ResourceMetaData) error { + client := metadata.Client.Oracle.OracleClient.AutonomousDatabaseCharacterSets + subscriptionId := metadata.Client.Account.SubscriptionId + + state := AdbsCharSetsModel{ + AdbsCharSets: make([]AdbsCharSetModel, 0), + } + if err := metadata.Decode(&state); err != nil { + return fmt.Errorf("decoding: %+v", err) + } + + id := autonomousdatabasecharactersets.NewLocationID(subscriptionId, state.Location) + + resp, err := client.ListByLocation(ctx, id) + if err != nil { + if response.WasNotFound(resp.HttpResponse) { + return fmt.Errorf("%s was not found", id) + } + return fmt.Errorf("retrieving %s: %+v", id, err) + } + + if model := resp.Model; model != nil { + for _, element := range *model { + if props := element.Properties; props != nil { + state.AdbsCharSets = append(state.AdbsCharSets, AdbsCharSetModel{ + CharacterSet: props.CharacterSet, + }) + } + } + } + + metadata.SetID(id) + + return metadata.Encode(&state) + }, + } +} diff --git a/internal/services/oracle/autonomous_database_char_set_data_source_test.go b/internal/services/oracle/autonomous_database_char_set_data_source_test.go new file mode 100644 index 000000000000..ec8cf489a990 --- /dev/null +++ b/internal/services/oracle/autonomous_database_char_set_data_source_test.go @@ -0,0 +1,38 @@ +// Copyright © 2024, Oracle and/or its affiliates. All rights reserved + +package oracle_test + +import ( + "testing" + + "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" + "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" +) + +type AdbsCharSetsDataSource struct{} + +func TestAdbsCharSetsDataSource_basic(t *testing.T) { + data := acceptance.BuildTestData(t, "data.azurerm_oracle_adbs_character_sets", "test") + r := AdbsCharSetsDataSource{} + + data.DataSourceTest(t, []acceptance.TestStep{ + { + Config: r.basic(), + Check: acceptance.ComposeTestCheckFunc( + check.That(data.ResourceName).Key("character_sets.0.character_set").Exists(), + ), + }, + }) +} + +func (d AdbsCharSetsDataSource) basic() string { + return ` +provider "azurerm" { + features {} +} + +data "azurerm_oracle_adbs_character_sets" "test" { + location = "eastus" +} +` +} diff --git a/internal/services/oracle/autonomous_database_nchar_set_data_source.go b/internal/services/oracle/autonomous_database_nchar_set_data_source.go new file mode 100644 index 000000000000..7c017c17f283 --- /dev/null +++ b/internal/services/oracle/autonomous_database_nchar_set_data_source.go @@ -0,0 +1,104 @@ +// Copyright © 2024, Oracle and/or its affiliates. All rights reserved + +package oracle + +import ( + "context" + "fmt" + "time" + + "github.com/hashicorp/go-azure-helpers/lang/response" + "github.com/hashicorp/go-azure-helpers/resourcemanager/commonschema" + "github.com/hashicorp/go-azure-sdk/resource-manager/oracledatabase/2024-06-01/autonomousdatabasenationalcharactersets" + + "github.com/hashicorp/terraform-provider-azurerm/internal/sdk" + "github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk" +) + +type AdbsNCharSetsDataSource struct{} + +type AdbsNCharSetsModel struct { + AdbsCharSets []AdbsNCharSetModel `tfschema:"character_sets"` + Location string `tfschema:"location"` +} + +type AdbsNCharSetModel struct { + CharacterSet string `tfschema:"character_set"` +} + +func (d AdbsNCharSetsDataSource) Arguments() map[string]*pluginsdk.Schema { + return map[string]*pluginsdk.Schema{ + "location": commonschema.Location(), + } +} + +func (d AdbsNCharSetsDataSource) Attributes() map[string]*pluginsdk.Schema { + return map[string]*pluginsdk.Schema{ + "character_sets": { + Type: pluginsdk.TypeList, + Computed: true, + Elem: &pluginsdk.Resource{ + Schema: map[string]*pluginsdk.Schema{ + "character_set": { + Type: pluginsdk.TypeString, + Computed: true, + }, + }, + }, + }, + } +} + +func (d AdbsNCharSetsDataSource) ModelObject() interface{} { + return &AdbsNCharSetsModel{} +} + +func (d AdbsNCharSetsDataSource) ResourceType() string { + return "azurerm_oracle_adbs_national_character_sets" +} + +func (d AdbsNCharSetsDataSource) IDValidationFunc() pluginsdk.SchemaValidateFunc { + return autonomousdatabasenationalcharactersets.ValidateAutonomousDatabaseNationalCharacterSetID +} + +func (d AdbsNCharSetsDataSource) Read() sdk.ResourceFunc { + return sdk.ResourceFunc{ + Timeout: 5 * time.Minute, + Func: func(ctx context.Context, metadata sdk.ResourceMetaData) error { + client := metadata.Client.Oracle.OracleClient.AutonomousDatabaseNationalCharacterSets + subscriptionId := metadata.Client.Account.SubscriptionId + + state := AdbsNCharSetsModel{ + AdbsCharSets: make([]AdbsNCharSetModel, 0), + } + if err := metadata.Decode(&state); err != nil { + return fmt.Errorf("decoding: %+v", err) + } + + id := autonomousdatabasenationalcharactersets.NewLocationID(subscriptionId, state.Location) + + resp, err := client.ListByLocation(ctx, id) + if err != nil { + if response.WasNotFound(resp.HttpResponse) { + return fmt.Errorf("%s was not found", id) + } + return fmt.Errorf("retrieving %s: %+v", id, err) + } + + if model := resp.Model; model != nil { + for _, element := range *model { + if element.Properties != nil { + properties := element.Properties + state.AdbsCharSets = append(state.AdbsCharSets, AdbsNCharSetModel{ + CharacterSet: properties.CharacterSet, + }) + } + } + } + + metadata.SetID(id) + + return metadata.Encode(&state) + }, + } +} diff --git a/internal/services/oracle/autonomous_database_nchar_set_data_source_test.go b/internal/services/oracle/autonomous_database_nchar_set_data_source_test.go new file mode 100644 index 000000000000..4ae429536654 --- /dev/null +++ b/internal/services/oracle/autonomous_database_nchar_set_data_source_test.go @@ -0,0 +1,38 @@ +// Copyright © 2024, Oracle and/or its affiliates. All rights reserved + +package oracle_test + +import ( + "testing" + + "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" + "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" +) + +type AdbsNCharSetsDataSource struct{} + +func TestAdbsNCharSetsDataSource_basic(t *testing.T) { + data := acceptance.BuildTestData(t, "data.azurerm_oracle_adbs_national_character_sets", "test") + r := AdbsNCharSetsDataSource{} + + data.DataSourceTest(t, []acceptance.TestStep{ + { + Config: r.basic(), + Check: acceptance.ComposeTestCheckFunc( + check.That(data.ResourceName).Key("character_sets.0.character_set").Exists(), + ), + }, + }) +} + +func (d AdbsNCharSetsDataSource) basic() string { + return ` +provider "azurerm" { + features {} +} + +data "azurerm_oracle_adbs_national_character_sets" "test" { + location = "eastus" +} +` +} diff --git a/internal/services/oracle/autonomous_database_regular_data_source.go b/internal/services/oracle/autonomous_database_regular_data_source.go new file mode 100644 index 000000000000..52cb61515c90 --- /dev/null +++ b/internal/services/oracle/autonomous_database_regular_data_source.go @@ -0,0 +1,491 @@ +// Copyright © 2024, Oracle and/or its affiliates. All rights reserved + +package oracle + +import ( + "context" + "fmt" + "time" + + "github.com/hashicorp/go-azure-helpers/lang/pointer" + "github.com/hashicorp/go-azure-helpers/lang/response" + "github.com/hashicorp/go-azure-helpers/resourcemanager/commonschema" + "github.com/hashicorp/go-azure-helpers/resourcemanager/location" + "github.com/hashicorp/go-azure-sdk/resource-manager/oracledatabase/2024-06-01/autonomousdatabases" + "github.com/hashicorp/terraform-provider-azurerm/internal/sdk" + "github.com/hashicorp/terraform-provider-azurerm/internal/services/oracle/validate" + "github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk" +) + +type AutonomousDatabaseRegularDataSource struct{} + +type AutonomousDatabaseRegularDataModel struct { + Location string `tfschema:"location"` + Name string `tfschema:"name"` + ResourceGroupName string `tfschema:"resource_group_name"` + Tags map[string]string `tfschema:"tags"` + + // AutonomousDatabaseProperties + ActualUsedDataStorageSizeInTbs float64 `tfschema:"actual_used_data_storage_size_in_tbs"` + AllocatedStorageSizeInTbs float64 `tfschema:"allocated_storage_size_in_tbs"` + AutonomousDatabaseId string `tfschema:"autonomous_database_id"` + AutoScalingEnabled bool `tfschema:"auto_scaling_enabled"` + AutoScalingForStorageEnabled bool `tfschema:"auto_scaling_for_storage_enabled"` + AvailableUpgradeVersions []string `tfschema:"available_upgrade_versions"` + BackupRetentionPeriodInDays int64 `tfschema:"backup_retention_period_in_days"` + CharacterSet string `tfschema:"character_set"` + ComputeCount float64 `tfschema:"compute_count"` + CpuCoreCount int64 `tfschema:"cpu_core_count"` + DataStorageSizeInGbs int64 `tfschema:"data_storage_size_in_gbs"` + DataStorageSizeInTbs int64 `tfschema:"data_storage_size_in_tbs"` + DbVersion string `tfschema:"db_version"` + DisplayName string `tfschema:"display_name"` + FailedDataRecoveryInSeconds int64 `tfschema:"failed_data_recovery_in_seconds"` + LifecycleDetails string `tfschema:"lifecycle_details"` + LocalAdgAutoFailoverMaxDataLossLimit int64 `tfschema:"local_adg_auto_failover_max_data_loss_limit"` + LocalDataGuardEnabled bool `tfschema:"local_data_guard_enabled"` + MemoryAreaInGbs int64 `tfschema:"in_memory_area_in_gbs"` + MemoryPerOracleComputeUnitInGbs int64 `tfschema:"memory_per_oracle_compute_unit_in_gbs"` + MtlsConnectionRequired bool `tfschema:"mtls_connection_required"` + NcharacterSet string `tfschema:"national_character_set"` + NextLongTermBackupTimeStamp string `tfschema:"next_long_term_backup_time_stamp"` + Ocid string `tfschema:"ocid"` + OciUrl string `tfschema:"oci_url"` + PeerDbId string `tfschema:"peer_db_id"` + PeerDbIds []string `tfschema:"peer_db_ids"` + Preview bool `tfschema:"preview"` + PreviewVersionWithServiceTermsAccepted bool `tfschema:"preview_version_with_service_terms_accepted"` + PrivateEndpoint string `tfschema:"private_endpoint"` + PrivateEndpointIP string `tfschema:"private_endpoint_ip"` + PrivateEndpointLabel string `tfschema:"private_endpoint_label"` + ProvisionableCPUs []int64 `tfschema:"provisionable_cpus"` + RemoteDataGuardEnabled bool `tfschema:"remote_data_guard_enabled"` + ServiceConsoleUrl string `tfschema:"service_console_url"` + SqlWebDeveloperUrl string `tfschema:"sql_web_developer_url"` + SubnetId string `tfschema:"subnet_id"` + SupportedRegionsToCloneTo []string `tfschema:"supported_regions_to_clone_to"` + TimeCreated string `tfschema:"time_created"` + TimeDataGuardRoleChanged string `tfschema:"time_data_guard_role_changed"` + TimeDeletionOfFreeAutonomousDatabase string `tfschema:"time_deletion_of_free_autonomous_database"` + TimeLocalDataGuardEnabled string `tfschema:"time_local_data_guard_enabled_on"` + TimeMaintenanceBegin string `tfschema:"time_maintenance_begin"` + TimeMaintenanceEnd string `tfschema:"time_maintenance_end"` + TimeOfLastFailover string `tfschema:"time_of_last_failover"` + TimeOfLastRefresh string `tfschema:"time_of_last_refresh"` + TimeOfLastRefreshPoint string `tfschema:"time_of_last_refresh_point"` + TimeOfLastSwitchover string `tfschema:"time_of_last_switchover"` + TimeReclamationOfFreeAutonomousDatabase string `tfschema:"time_reclamation_of_free_autonomous_database"` + UsedDataStorageSizeInGbs int64 `tfschema:"used_data_storage_size_in_gbs"` + UsedDataStorageSizeInTbs int64 `tfschema:"used_data_storage_size_in_tbs"` + VnetId string `tfschema:"virtual_network_id"` + AllowedIps []string `tfschema:"allowed_ips"` +} + +func (d AutonomousDatabaseRegularDataSource) Arguments() map[string]*pluginsdk.Schema { + return map[string]*pluginsdk.Schema{ + "resource_group_name": commonschema.ResourceGroupNameForDataSource(), + + "name": { + Type: pluginsdk.TypeString, + Required: true, + ValidateFunc: validate.AutonomousDatabaseName, + }, + } +} + +func (d AutonomousDatabaseRegularDataSource) Attributes() map[string]*pluginsdk.Schema { + return map[string]*pluginsdk.Schema{ + "location": commonschema.LocationComputed(), + + // AutonomousDatabaseProperties + "actual_used_data_storage_size_in_tbs": { + Type: pluginsdk.TypeFloat, + Computed: true, + }, + + "allocated_storage_size_in_tbs": { + Type: pluginsdk.TypeFloat, + Computed: true, + }, + + "auto_scaling_enabled": { + Type: pluginsdk.TypeBool, + Computed: true, + }, + + "auto_scaling_for_storage_enabled": { + Type: pluginsdk.TypeBool, + Computed: true, + }, + + "autonomous_database_id": { + Type: pluginsdk.TypeString, + Computed: true, + }, + + "available_upgrade_versions": { + Type: pluginsdk.TypeList, + Computed: true, + Elem: &pluginsdk.Schema{ + Type: pluginsdk.TypeString, + }, + }, + + "backup_retention_period_in_days": { + Type: pluginsdk.TypeInt, + Computed: true, + }, + + "character_set": { + Type: pluginsdk.TypeString, + Computed: true, + }, + + "compute_count": { + Type: pluginsdk.TypeFloat, + Computed: true, + }, + + "cpu_core_count": { + Type: pluginsdk.TypeInt, + Computed: true, + }, + + "data_storage_size_in_gbs": { + Type: pluginsdk.TypeInt, + Computed: true, + }, + + "data_storage_size_in_tbs": { + Type: pluginsdk.TypeInt, + Computed: true, + }, + + "db_node_storage_size_in_gbs": { + Type: pluginsdk.TypeInt, + Computed: true, + }, + + "db_version": { + Type: pluginsdk.TypeString, + Computed: true, + }, + + "display_name": { + Type: pluginsdk.TypeString, + Computed: true, + }, + + "failed_data_recovery_in_seconds": { + Type: pluginsdk.TypeInt, + Computed: true, + }, + + "in_memory_area_in_gbs": { + Type: pluginsdk.TypeInt, + Computed: true, + }, + + "lifecycle_details": { + Type: pluginsdk.TypeString, + Computed: true, + }, + + "local_adg_auto_failover_max_data_loss_limit": { + Type: pluginsdk.TypeInt, + Computed: true, + }, + + "local_data_guard_enabled": { + Type: pluginsdk.TypeBool, + Computed: true, + }, + + "memory_per_oracle_compute_unit_in_gbs": { + Type: pluginsdk.TypeInt, + Computed: true, + }, + + "mtls_connection_required": { + Type: pluginsdk.TypeBool, + Computed: true, + }, + + "national_character_set": { + Type: pluginsdk.TypeString, + Computed: true, + }, + + "next_long_term_backup_time_stamp": { + Type: pluginsdk.TypeString, + Computed: true, + }, + + "oci_url": { + Type: pluginsdk.TypeString, + Computed: true, + }, + + "ocid": { + Type: pluginsdk.TypeString, + Computed: true, + }, + + "preview": { + Type: pluginsdk.TypeBool, + Computed: true, + }, + + "preview_version_with_service_terms_accepted": { + Type: pluginsdk.TypeBool, + Computed: true, + }, + + "remote_data_guard_enabled": { + Type: pluginsdk.TypeBool, + Computed: true, + }, + + "peer_db_id": { + Type: pluginsdk.TypeString, + Computed: true, + }, + + "peer_db_ids": { + Type: pluginsdk.TypeList, + Computed: true, + Elem: &pluginsdk.Schema{ + Type: pluginsdk.TypeString, + }, + }, + + "private_endpoint": { + Type: pluginsdk.TypeString, + Computed: true, + }, + + "private_endpoint_ip": { + Type: pluginsdk.TypeString, + Computed: true, + }, + + "private_endpoint_label": { + Type: pluginsdk.TypeString, + Computed: true, + }, + + "provisionable_cpus": { + Type: pluginsdk.TypeList, + Computed: true, + Elem: &pluginsdk.Schema{ + Type: pluginsdk.TypeInt, + }, + }, + + "service_console_url": { + Type: pluginsdk.TypeString, + Computed: true, + }, + + "sql_web_developer_url": { + Type: pluginsdk.TypeString, + Computed: true, + }, + + "subnet_id": { + Type: pluginsdk.TypeString, + Computed: true, + }, + + "supported_regions_to_clone_to": { + Type: pluginsdk.TypeList, + Computed: true, + Elem: &pluginsdk.Schema{ + Type: pluginsdk.TypeInt, + }, + }, + + "time_created": { + Type: pluginsdk.TypeString, + Computed: true, + }, + + "time_data_guard_role_changed": { + Type: pluginsdk.TypeString, + Computed: true, + }, + + "time_deletion_of_free_autonomous_database": { + Type: pluginsdk.TypeString, + Computed: true, + }, + + "time_local_data_guard_enabled_on": { + Type: pluginsdk.TypeString, + Computed: true, + }, + + "time_maintenance_begin": { + Type: pluginsdk.TypeString, + Computed: true, + }, + + "time_maintenance_end": { + Type: pluginsdk.TypeString, + Computed: true, + }, + + "time_of_last_failover": { + Type: pluginsdk.TypeString, + Computed: true, + }, + + "time_of_last_refresh": { + Type: pluginsdk.TypeString, + Computed: true, + }, + + "time_of_last_refresh_point": { + Type: pluginsdk.TypeString, + Computed: true, + }, + + "time_of_last_switchover": { + Type: pluginsdk.TypeString, + Computed: true, + }, + + "time_reclamation_of_free_autonomous_database": { + Type: pluginsdk.TypeString, + Computed: true, + }, + + "used_data_storage_size_in_gbs": { + Type: pluginsdk.TypeInt, + Computed: true, + }, + + "used_data_storage_size_in_tbs": { + Type: pluginsdk.TypeInt, + Computed: true, + }, + + "virtual_network_id": { + Type: pluginsdk.TypeString, + Computed: true, + }, + + "allowed_ips": { + Type: pluginsdk.TypeList, + Computed: true, + Elem: &pluginsdk.Schema{ + Type: pluginsdk.TypeInt, + }, + }, + + "tags": commonschema.TagsDataSource(), + } +} + +func (d AutonomousDatabaseRegularDataSource) ModelObject() interface{} { + return &AutonomousDatabaseRegularDataModel{} +} + +func (d AutonomousDatabaseRegularDataSource) ResourceType() string { + return "azurerm_oracle_autonomous_database" +} + +func (d AutonomousDatabaseRegularDataSource) IDValidationFunc() pluginsdk.SchemaValidateFunc { + return autonomousdatabases.ValidateAutonomousDatabaseID +} + +func (d AutonomousDatabaseRegularDataSource) Read() sdk.ResourceFunc { + return sdk.ResourceFunc{ + Timeout: 5 * time.Minute, + Func: func(ctx context.Context, metadata sdk.ResourceMetaData) error { + client := metadata.Client.Oracle.OracleClient.AutonomousDatabases + subscriptionId := metadata.Client.Account.SubscriptionId + + var state AutonomousDatabaseRegularDataModel + if err := metadata.Decode(&state); err != nil { + return fmt.Errorf("decoding: %+v", err) + } + + id := autonomousdatabases.NewAutonomousDatabaseID(subscriptionId, state.ResourceGroupName, state.Name) + + resp, err := client.Get(ctx, id) + if err != nil { + if response.WasNotFound(resp.HttpResponse) { + return fmt.Errorf("%s was not found", id) + } + return fmt.Errorf("retrieving %s: %+v", id, err) + } + + if model := resp.Model; model != nil { + state.Location = location.Normalize(model.Location) + state.Tags = pointer.From(model.Tags) + if props := model.Properties; props != nil { + adbsProps := props.AutonomousDatabaseBaseProperties() + + state.ActualUsedDataStorageSizeInTbs = pointer.From(adbsProps.ActualUsedDataStorageSizeInTbs) + state.AllocatedStorageSizeInTbs = pointer.From(adbsProps.AllocatedStorageSizeInTbs) + state.AutonomousDatabaseId = pointer.From(adbsProps.AutonomousDatabaseId) + state.AutoScalingEnabled = pointer.From(adbsProps.IsAutoScalingEnabled) + state.AutoScalingForStorageEnabled = pointer.From(adbsProps.IsAutoScalingForStorageEnabled) + state.AvailableUpgradeVersions = pointer.From(adbsProps.AvailableUpgradeVersions) + state.BackupRetentionPeriodInDays = pointer.From(adbsProps.BackupRetentionPeriodInDays) + state.CharacterSet = pointer.From(adbsProps.CharacterSet) + state.ComputeCount = pointer.From(adbsProps.ComputeCount) + state.CpuCoreCount = pointer.From(adbsProps.CpuCoreCount) + state.DataStorageSizeInGbs = pointer.From(adbsProps.DataStorageSizeInGbs) + state.DataStorageSizeInTbs = pointer.From(adbsProps.DataStorageSizeInTbs) + state.DbVersion = pointer.From(adbsProps.DbVersion) + state.DisplayName = pointer.From(adbsProps.DisplayName) + state.FailedDataRecoveryInSeconds = pointer.From(adbsProps.FailedDataRecoveryInSeconds) + state.LifecycleDetails = pointer.From(adbsProps.LifecycleDetails) + state.LocalAdgAutoFailoverMaxDataLossLimit = pointer.From(adbsProps.LocalAdgAutoFailoverMaxDataLossLimit) + state.LocalDataGuardEnabled = pointer.From(adbsProps.IsLocalDataGuardEnabled) + state.MemoryAreaInGbs = pointer.From(adbsProps.InMemoryAreaInGbs) + state.MemoryPerOracleComputeUnitInGbs = pointer.From(adbsProps.MemoryPerOracleComputeUnitInGbs) + state.MtlsConnectionRequired = pointer.From(adbsProps.IsMtlsConnectionRequired) + state.NcharacterSet = pointer.From(adbsProps.NcharacterSet) + state.NextLongTermBackupTimeStamp = pointer.From(adbsProps.NextLongTermBackupTimeStamp) + state.Ocid = pointer.From(adbsProps.Ocid) + state.OciUrl = pointer.From(adbsProps.OciURL) + state.PeerDbId = pointer.From(adbsProps.PeerDbId) + state.PeerDbIds = pointer.From(adbsProps.PeerDbIds) + state.Preview = pointer.From(adbsProps.IsPreview) + state.PreviewVersionWithServiceTermsAccepted = pointer.From(adbsProps.IsPreviewVersionWithServiceTermsAccepted) + state.PrivateEndpoint = pointer.From(adbsProps.PrivateEndpoint) + state.PrivateEndpointIP = pointer.From(adbsProps.PrivateEndpointIP) + state.PrivateEndpointLabel = pointer.From(adbsProps.PrivateEndpointLabel) + state.ProvisionableCPUs = pointer.From(adbsProps.ProvisionableCPUs) + state.RemoteDataGuardEnabled = pointer.From(adbsProps.IsRemoteDataGuardEnabled) + state.ServiceConsoleUrl = pointer.From(adbsProps.ServiceConsoleURL) + state.SqlWebDeveloperUrl = pointer.From(adbsProps.SqlWebDeveloperURL) + state.SubnetId = pointer.From(adbsProps.SubnetId) + state.SupportedRegionsToCloneTo = pointer.From(adbsProps.SupportedRegionsToCloneTo) + state.TimeCreated = pointer.From(adbsProps.TimeCreated) + state.TimeDataGuardRoleChanged = pointer.From(adbsProps.TimeDataGuardRoleChanged) + state.TimeDeletionOfFreeAutonomousDatabase = pointer.From(adbsProps.TimeDeletionOfFreeAutonomousDatabase) + state.TimeLocalDataGuardEnabled = pointer.From(adbsProps.TimeLocalDataGuardEnabled) + state.TimeMaintenanceBegin = pointer.From(adbsProps.TimeMaintenanceBegin) + state.TimeMaintenanceEnd = pointer.From(adbsProps.TimeMaintenanceEnd) + state.TimeOfLastFailover = pointer.From(adbsProps.TimeOfLastFailover) + state.TimeOfLastRefresh = pointer.From(adbsProps.TimeOfLastRefresh) + state.TimeOfLastRefreshPoint = pointer.From(adbsProps.TimeOfLastRefreshPoint) + state.TimeOfLastSwitchover = pointer.From(adbsProps.TimeOfLastSwitchover) + state.TimeReclamationOfFreeAutonomousDatabase = pointer.From(adbsProps.TimeReclamationOfFreeAutonomousDatabase) + state.UsedDataStorageSizeInGbs = pointer.From(adbsProps.UsedDataStorageSizeInGbs) + state.UsedDataStorageSizeInTbs = pointer.From(adbsProps.UsedDataStorageSizeInTbs) + state.VnetId = pointer.From(adbsProps.VnetId) + state.AllowedIps = pointer.From(adbsProps.WhitelistedIPs) + } + } + + metadata.SetID(id) + + return metadata.Encode(&state) + }, + } +} diff --git a/internal/services/oracle/autonomous_database_regular_data_source_test.go b/internal/services/oracle/autonomous_database_regular_data_source_test.go new file mode 100644 index 000000000000..2a1b513c8bb8 --- /dev/null +++ b/internal/services/oracle/autonomous_database_regular_data_source_test.go @@ -0,0 +1,44 @@ +// Copyright © 2024, Oracle and/or its affiliates. All rights reserved + +package oracle_test + +import ( + "fmt" + "testing" + + "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" + "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" + "github.com/hashicorp/terraform-provider-azurerm/internal/services/oracle" +) + +type AutonomousDatabaseRegularDataSource struct{} + +func TestAdbsRegularDataSource_basic(t *testing.T) { + data := acceptance.BuildTestData(t, oracle.AutonomousDatabaseRegularDataSource{}.ResourceType(), "test") + r := AutonomousDatabaseRegularDataSource{} + + data.DataSourceTest(t, []acceptance.TestStep{ + { + Config: r.basic(data), + Check: acceptance.ComposeTestCheckFunc( + check.That(data.ResourceName).Key("location").Exists(), + check.That(data.ResourceName).Key("name").Exists(), + check.That(data.ResourceName).Key("resource_group_name").Exists(), + check.That(data.ResourceName).Key("data_storage_size_in_tbs").Exists(), + check.That(data.ResourceName).Key("display_name").Exists(), + check.That(data.ResourceName).Key("license_model").Exists(), + ), + }, + }) +} + +func (d AutonomousDatabaseRegularDataSource) basic(data acceptance.TestData) string { + return fmt.Sprintf(` +%s + +data "azurerm_oracle_autonomous_database" "test" { + name = azurerm_oracle_autonomous_database.test.name + resource_group_name = azurerm_oracle_autonomous_database.test.resource_group_name +} +`, AdbsRegularResource{}.basic(data)) +} diff --git a/internal/services/oracle/autonomous_database_regular_resource.go b/internal/services/oracle/autonomous_database_regular_resource.go new file mode 100644 index 000000000000..13f96d515fb3 --- /dev/null +++ b/internal/services/oracle/autonomous_database_regular_resource.go @@ -0,0 +1,412 @@ +// Copyright © 2024, Oracle and/or its affiliates. All rights reserved + +package oracle + +import ( + "context" + "fmt" + "time" + + "github.com/hashicorp/go-azure-helpers/lang/pointer" + "github.com/hashicorp/go-azure-helpers/lang/response" + "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" + "github.com/hashicorp/go-azure-helpers/resourcemanager/commonschema" + "github.com/hashicorp/go-azure-helpers/resourcemanager/location" + "github.com/hashicorp/go-azure-sdk/resource-manager/oracledatabase/2024-06-01/autonomousdatabases" + "github.com/hashicorp/terraform-provider-azurerm/internal/sdk" + "github.com/hashicorp/terraform-provider-azurerm/internal/services/oracle/validate" + "github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk" + "github.com/hashicorp/terraform-provider-azurerm/internal/tf/validation" +) + +var _ sdk.Resource = AutonomousDatabaseRegularResource{} + +type AutonomousDatabaseRegularResource struct{} + +type AutonomousDatabaseRegularResourceModel struct { + Location string `tfschema:"location"` + Name string `tfschema:"name"` + ResourceGroupName string `tfschema:"resource_group_name"` + Tags map[string]string `tfschema:"tags"` + + // Required + AdminPassword string `tfschema:"admin_password"` + BackupRetentionPeriodInDays int64 `tfschema:"backup_retention_period_in_days"` + CharacterSet string `tfschema:"character_set"` + ComputeCount float64 `tfschema:"compute_count"` + ComputeModel string `tfschema:"compute_model"` + DataStorageSizeInTbs int64 `tfschema:"data_storage_size_in_tbs"` + DbVersion string `tfschema:"db_version"` + DbWorkload string `tfschema:"db_workload"` + DisplayName string `tfschema:"display_name"` + LicenseModel string `tfschema:"license_model"` + AutoScalingEnabled bool `tfschema:"auto_scaling_enabled"` + AutoScalingForStorageEnabled bool `tfschema:"auto_scaling_for_storage_enabled"` + MtlsConnectionRequired bool `tfschema:"mtls_connection_required"` + NationalCharacterSet string `tfschema:"national_character_set"` + SubnetId string `tfschema:"subnet_id"` + VnetId string `tfschema:"virtual_network_id"` + + // Optional + CustomerContacts []string `tfschema:"customer_contacts"` +} + +func (AutonomousDatabaseRegularResource) Arguments() map[string]*pluginsdk.Schema { + return map[string]*pluginsdk.Schema{ + "location": commonschema.Location(), + + "name": { + Type: pluginsdk.TypeString, + Required: true, + ValidateFunc: validate.AutonomousDatabaseName, + ForceNew: true, + }, + + "resource_group_name": commonschema.ResourceGroupName(), + + // Required + "admin_password": { + Type: pluginsdk.TypeString, + Required: true, + Sensitive: true, + ForceNew: true, + ValidateFunc: validate.AutonomousDatabasePassword, + }, + + "backup_retention_period_in_days": { + Type: pluginsdk.TypeInt, + Required: true, + ForceNew: true, + ValidateFunc: validation.IntBetween(1, 60), + }, + + "character_set": { + Type: pluginsdk.TypeString, + Required: true, + ForceNew: true, + ValidateFunc: validation.StringIsNotEmpty, + }, + + "compute_count": { + Type: pluginsdk.TypeFloat, + Required: true, + ValidateFunc: validation.FloatBetween(2.0, 512.0), + }, + + "compute_model": { + Type: pluginsdk.TypeString, + Required: true, + ForceNew: true, + ValidateFunc: validate.AdbsComputeModel, + }, + + "data_storage_size_in_tbs": { + Type: pluginsdk.TypeInt, + Required: true, + ValidateFunc: validation.IntBetween(1, 384), + }, + + "db_version": { + Type: pluginsdk.TypeString, + Required: true, + ForceNew: true, + ValidateFunc: validation.StringIsNotEmpty, + }, + + "db_workload": { + Type: pluginsdk.TypeString, + Required: true, + ForceNew: true, + ValidateFunc: validation.StringInSlice([]string{ + string(autonomousdatabases.WorkloadTypeDW), + string(autonomousdatabases.WorkloadTypeOLTP), + }, false), + }, + + "display_name": { + Type: pluginsdk.TypeString, + Required: true, + ForceNew: true, + ValidateFunc: validate.AutonomousDatabaseName, + }, + + "auto_scaling_enabled": { + Type: pluginsdk.TypeBool, + Required: true, + }, + + "auto_scaling_for_storage_enabled": { + Type: pluginsdk.TypeBool, + Required: true, + }, + + "mtls_connection_required": { + Type: pluginsdk.TypeBool, + Required: true, + ForceNew: true, + }, + + "license_model": { + Type: pluginsdk.TypeString, + Required: true, + ForceNew: true, + ValidateFunc: validation.StringInSlice([]string{ + string(autonomousdatabases.LicenseModelLicenseIncluded), + string(autonomousdatabases.LicenseModelBringYourOwnLicense), + }, false), + }, + + "national_character_set": { + Type: pluginsdk.TypeString, + Required: true, + ForceNew: true, + ValidateFunc: validation.StringIsNotEmpty, + }, + + "subnet_id": { + Type: pluginsdk.TypeString, + Required: true, + ForceNew: true, + ValidateFunc: commonids.ValidateSubnetID, + }, + + "virtual_network_id": { + Type: pluginsdk.TypeString, + Required: true, + ForceNew: true, + ValidateFunc: commonids.ValidateVirtualNetworkID, + }, + + // Optional + "customer_contacts": { + Type: pluginsdk.TypeList, + Optional: true, + Computed: true, + ForceNew: true, + Elem: &pluginsdk.Schema{ + Type: pluginsdk.TypeString, + ValidateFunc: validate.CustomerContactEmail, + }, + }, + + "tags": commonschema.Tags(), + } +} + +func (AutonomousDatabaseRegularResource) Attributes() map[string]*pluginsdk.Schema { + return map[string]*pluginsdk.Schema{} +} + +func (AutonomousDatabaseRegularResource) ModelObject() interface{} { + return &AutonomousDatabaseRegularResource{} +} + +func (AutonomousDatabaseRegularResource) ResourceType() string { + return "azurerm_oracle_autonomous_database" +} + +func (r AutonomousDatabaseRegularResource) Create() sdk.ResourceFunc { + return sdk.ResourceFunc{ + Timeout: 120 * time.Minute, + Func: func(ctx context.Context, metadata sdk.ResourceMetaData) error { + client := metadata.Client.Oracle.OracleClient.AutonomousDatabases + subscriptionId := metadata.Client.Account.SubscriptionId + + var model AutonomousDatabaseRegularResourceModel + if err := metadata.Decode(&model); err != nil { + return err + } + + id := autonomousdatabases.NewAutonomousDatabaseID(subscriptionId, + model.ResourceGroupName, + model.Name) + + existing, err := client.Get(ctx, id) + if err != nil && !response.WasNotFound(existing.HttpResponse) { + return fmt.Errorf("checking for presence of existing %s: %+v", id, err) + } + if !response.WasNotFound(existing.HttpResponse) { + return metadata.ResourceRequiresImport(r.ResourceType(), id) + } + + param := autonomousdatabases.AutonomousDatabase{ + Name: pointer.To(model.Name), + Location: location.Normalize(model.Location), + Tags: pointer.To(model.Tags), + Properties: &autonomousdatabases.AutonomousDatabaseProperties{ + AdminPassword: pointer.To(model.AdminPassword), + BackupRetentionPeriodInDays: pointer.To(model.BackupRetentionPeriodInDays), + CharacterSet: pointer.To(model.CharacterSet), + ComputeCount: pointer.To(model.ComputeCount), + ComputeModel: pointer.To(autonomousdatabases.ComputeModel(model.ComputeModel)), + CustomerContacts: pointer.To(expandAdbsCustomerContacts(model.CustomerContacts)), + DataBaseType: "Regular", + DataStorageSizeInTbs: pointer.To(model.DataStorageSizeInTbs), + DbWorkload: pointer.To(autonomousdatabases.WorkloadType(model.DbWorkload)), + DbVersion: pointer.To(model.DbVersion), + DisplayName: pointer.To(model.DisplayName), + IsAutoScalingEnabled: pointer.To(model.AutoScalingEnabled), + IsAutoScalingForStorageEnabled: pointer.To(model.AutoScalingForStorageEnabled), + IsMtlsConnectionRequired: pointer.To(model.MtlsConnectionRequired), + LicenseModel: pointer.To(autonomousdatabases.LicenseModel(model.LicenseModel)), + NcharacterSet: pointer.To(model.NationalCharacterSet), + SubnetId: pointer.To(model.SubnetId), + VnetId: pointer.To(model.VnetId), + }, + } + + if err := client.CreateOrUpdateThenPoll(ctx, id, param); err != nil { + return fmt.Errorf("creating %s: %+v", id, err) + } + + metadata.SetID(id) + return nil + }, + } +} + +func (r AutonomousDatabaseRegularResource) Update() sdk.ResourceFunc { + return sdk.ResourceFunc{ + Timeout: 30 * time.Minute, + Func: func(ctx context.Context, metadata sdk.ResourceMetaData) error { + + client := metadata.Client.Oracle.OracleClient.AutonomousDatabases + id, err := autonomousdatabases.ParseAutonomousDatabaseID(metadata.ResourceData.Id()) + if err != nil { + return fmt.Errorf("retrieving %s: %+v", id, err) + } + + var model AutonomousDatabaseRegularResourceModel + if err = metadata.Decode(&model); err != nil { + return fmt.Errorf("decoding err: %+v", err) + } + + _, err = client.Get(ctx, *id) + if err != nil { + return fmt.Errorf("retrieving %s: %+v", *id, err) + } + + update := &autonomousdatabases.AutonomousDatabaseUpdate{ + Properties: &autonomousdatabases.AutonomousDatabaseUpdateProperties{}, + } + if metadata.ResourceData.HasChange("tags") { + update.Tags = pointer.To(model.Tags) + } + if metadata.ResourceData.HasChange("data_storage_size_in_tbs") { + update.Properties.DataStorageSizeInTbs = pointer.To(model.DataStorageSizeInTbs) + } + if metadata.ResourceData.HasChange("compute_count") { + update.Properties.ComputeCount = pointer.To(model.ComputeCount) + } + if metadata.ResourceData.HasChange("auto_scaling_enabled") { + update.Properties.IsAutoScalingEnabled = pointer.To(model.AutoScalingEnabled) + } + if metadata.ResourceData.HasChange("auto_scaling_for_storage_enabled") { + update.Properties.IsAutoScalingForStorageEnabled = pointer.To(model.AutoScalingForStorageEnabled) + } + + err = client.UpdateThenPoll(ctx, *id, *update) + if err != nil { + return fmt.Errorf("updating %s: %v", id, err) + } + + return nil + }, + } +} + +func (AutonomousDatabaseRegularResource) Read() sdk.ResourceFunc { + return sdk.ResourceFunc{ + Timeout: 5 * time.Minute, + Func: func(ctx context.Context, metadata sdk.ResourceMetaData) error { + id, err := autonomousdatabases.ParseAutonomousDatabaseID(metadata.ResourceData.Id()) + if err != nil { + return fmt.Errorf("retrieving %s: %+v", id, err) + } + + client := metadata.Client.Oracle.OracleClient.AutonomousDatabases + result, err := client.Get(ctx, *id) + if err != nil { + if response.WasNotFound(result.HttpResponse) { + return metadata.MarkAsGone(id) + } + return fmt.Errorf("retrieving %s: %+v", id, err) + } + + state := AutonomousDatabaseRegularResourceModel{ + Name: id.AutonomousDatabaseName, + ResourceGroupName: id.ResourceGroupName, + } + if model := result.Model; model != nil { + props, ok := model.Properties.(autonomousdatabases.AutonomousDatabaseProperties) + if !ok { + return fmt.Errorf("%s was not of type `Regular`", id) + } + state.AdminPassword = metadata.ResourceData.Get("admin_password").(string) + state.AutoScalingEnabled = pointer.From(props.IsAutoScalingEnabled) + state.BackupRetentionPeriodInDays = pointer.From(props.BackupRetentionPeriodInDays) + state.AutoScalingForStorageEnabled = pointer.From(props.IsAutoScalingForStorageEnabled) + state.CharacterSet = pointer.From(props.CharacterSet) + state.ComputeCount = pointer.From(props.ComputeCount) + state.ComputeModel = string(pointer.From(props.ComputeModel)) + state.CustomerContacts = flattenAdbsCustomerContacts(props.CustomerContacts) + state.DataStorageSizeInTbs = pointer.From(props.DataStorageSizeInTbs) + state.DbWorkload = string(pointer.From(props.DbWorkload)) + state.DbVersion = pointer.From(props.DbVersion) + state.DisplayName = pointer.From(props.DisplayName) + state.LicenseModel = string(pointer.From(props.LicenseModel)) + state.Location = result.Model.Location + state.Name = pointer.ToString(result.Model.Name) + state.NationalCharacterSet = pointer.From(props.NcharacterSet) + state.SubnetId = pointer.From(props.SubnetId) + state.Tags = pointer.From(result.Model.Tags) + state.VnetId = pointer.From(props.VnetId) + } + return metadata.Encode(&state) + }, + } +} + +func (AutonomousDatabaseRegularResource) Delete() sdk.ResourceFunc { + return sdk.ResourceFunc{ + Timeout: 30 * time.Minute, + Func: func(ctx context.Context, metadata sdk.ResourceMetaData) error { + client := metadata.Client.Oracle.OracleClient.AutonomousDatabases + + id, err := autonomousdatabases.ParseAutonomousDatabaseID(metadata.ResourceData.Id()) + if err != nil { + return fmt.Errorf("retrieving %s: %+v", id, err) + } + + if err = client.DeleteThenPoll(ctx, *id); err != nil { + return fmt.Errorf("deleting %s: %+v", *id, err) + } + + return nil + }, + } +} + +func (AutonomousDatabaseRegularResource) IDValidationFunc() pluginsdk.SchemaValidateFunc { + return autonomousdatabases.ValidateAutonomousDatabaseID +} + +func expandAdbsCustomerContacts(customerContactsList []string) []autonomousdatabases.CustomerContact { + var customerContacts []autonomousdatabases.CustomerContact + for _, customerContact := range customerContactsList { + customerContacts = append(customerContacts, autonomousdatabases.CustomerContact{ + Email: customerContact, + }) + } + return customerContacts +} + +func flattenAdbsCustomerContacts(customerContactsList *[]autonomousdatabases.CustomerContact) []string { + var customerContacts []string + if customerContactsList != nil { + for _, customerContact := range *customerContactsList { + customerContacts = append(customerContacts, customerContact.Email) + } + } + return customerContacts +} diff --git a/internal/services/oracle/autonomous_database_regular_resource_test.go b/internal/services/oracle/autonomous_database_regular_resource_test.go new file mode 100644 index 000000000000..1457cd6fb5b7 --- /dev/null +++ b/internal/services/oracle/autonomous_database_regular_resource_test.go @@ -0,0 +1,263 @@ +// Copyright © 2024, Oracle and/or its affiliates. All rights reserved + +package oracle_test + +import ( + "context" + "fmt" + "testing" + + "github.com/hashicorp/go-azure-helpers/lang/pointer" + "github.com/hashicorp/go-azure-sdk/resource-manager/oracledatabase/2024-06-01/autonomousdatabases" + "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" + "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" + "github.com/hashicorp/terraform-provider-azurerm/internal/clients" + "github.com/hashicorp/terraform-provider-azurerm/internal/services/oracle" + "github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk" +) + +type AdbsRegularResource struct{} + +func (a AdbsRegularResource) Exists(ctx context.Context, client *clients.Client, state *pluginsdk.InstanceState) (*bool, error) { + id, err := autonomousdatabases.ParseAutonomousDatabaseID(state.ID) + if err != nil { + return nil, err + } + resp, err := client.Oracle.OracleClient.AutonomousDatabases.Get(ctx, *id) + if err != nil { + return nil, fmt.Errorf("retrieving adbs %s: %+v", id, err) + } + return pointer.To(resp.Model != nil), nil +} + +func TestAdbsRegularResource_basic(t *testing.T) { + data := acceptance.BuildTestData(t, oracle.AutonomousDatabaseRegularResource{}.ResourceType(), "test") + r := AdbsRegularResource{} + data.ResourceTest(t, r, []acceptance.TestStep{ + { + Config: r.basic(data), + Check: acceptance.ComposeTestCheckFunc( + check.That(data.ResourceName).ExistsInAzure(r), + ), + }, + data.ImportStep("admin_password"), + }) +} + +func TestAdbsRegularResource_complete(t *testing.T) { + data := acceptance.BuildTestData(t, oracle.AutonomousDatabaseRegularResource{}.ResourceType(), "test") + r := AdbsRegularResource{} + data.ResourceTest(t, r, []acceptance.TestStep{ + { + Config: r.complete(data), + Check: acceptance.ComposeTestCheckFunc( + check.That(data.ResourceName).ExistsInAzure(r), + ), + }, + data.ImportStep("admin_password"), + }) +} + +func TestAdbsRegularResource_update(t *testing.T) { + data := acceptance.BuildTestData(t, oracle.AutonomousDatabaseRegularResource{}.ResourceType(), "test") + r := AdbsRegularResource{} + data.ResourceTest(t, r, []acceptance.TestStep{ + { + Config: r.basic(data), + Check: acceptance.ComposeTestCheckFunc( + check.That(data.ResourceName).ExistsInAzure(r), + ), + }, + data.ImportStep("admin_password"), + { + Config: r.update(data), + Check: acceptance.ComposeTestCheckFunc( + check.That(data.ResourceName).ExistsInAzure(r), + ), + }, + data.ImportStep("admin_password"), + }) +} + +func TestAdbsRegularResource_requiresImport(t *testing.T) { + data := acceptance.BuildTestData(t, oracle.AutonomousDatabaseRegularResource{}.ResourceType(), "test") + r := AdbsRegularResource{} + data.ResourceTest(t, r, []acceptance.TestStep{ + { + Config: r.basic(data), + Check: acceptance.ComposeTestCheckFunc( + check.That(data.ResourceName).ExistsInAzure(r), + ), + }, + data.RequiresImportErrorStep(r.requiresImport), + }) +} + +func (a AdbsRegularResource) basic(data acceptance.TestData) string { + return fmt.Sprintf(` + + +%s + +provider "azurerm" { + features {} +} + +resource "azurerm_oracle_autonomous_database" "test" { + name = "OFake%[2]d" + display_name = "OFake%[2]d" + resource_group_name = azurerm_resource_group.test.name + location = "%[3]s" + compute_model = "ECPU" + compute_count = 2 + license_model = "BringYourOwnLicense" + backup_retention_period_in_days = 12 + auto_scaling_enabled = false + auto_scaling_for_storage_enabled = false + mtls_connection_required = false + data_storage_size_in_tbs = 1 + db_workload = "OLTP" + admin_password = "TestPass#2024#" + db_version = "19c" + character_set = "AL32UTF8" + national_character_set = "AL16UTF16" + subnet_id = azurerm_subnet.test.id + virtual_network_id = azurerm_virtual_network.test.id +} +`, a.template(data), data.RandomInteger, data.Locations.Primary) +} + +func (a AdbsRegularResource) complete(data acceptance.TestData) string { + return fmt.Sprintf(` + +%s + +provider "azurerm" { + features {} +} + +resource "azurerm_oracle_autonomous_database" "test" { + name = "OFake%[2]d" + + display_name = "OFake%[2]d" + resource_group_name = azurerm_resource_group.test.name + location = "%[3]s" + compute_model = "ECPU" + compute_count = 2 + license_model = "BringYourOwnLicense" + backup_retention_period_in_days = 12 + auto_scaling_enabled = false + auto_scaling_for_storage_enabled = false + mtls_connection_required = false + data_storage_size_in_tbs = 1 + db_workload = "OLTP" + admin_password = "TestPass#2024#" + db_version = "19c" + character_set = "AL32UTF8" + national_character_set = "AL16UTF16" + subnet_id = azurerm_subnet.test.id + virtual_network_id = azurerm_virtual_network.test.id + customer_contacts = ["test@test.com"] +} +`, a.template(data), data.RandomInteger, data.Locations.Primary) +} + +func (a AdbsRegularResource) update(data acceptance.TestData) string { + return fmt.Sprintf(` + +%s + +provider "azurerm" { + features {} +} + +resource "azurerm_oracle_autonomous_database" "test" { + name = "OFake%[2]d" + display_name = "OFake%[2]d" + resource_group_name = azurerm_resource_group.test.name + location = "%[3]s" + compute_model = "ECPU" + compute_count = 3 + license_model = "BringYourOwnLicense" + backup_retention_period_in_days = 12 + auto_scaling_enabled = false + auto_scaling_for_storage_enabled = false + mtls_connection_required = false + data_storage_size_in_tbs = 1 + db_workload = "OLTP" + admin_password = "TestPass#2024#" + db_version = "19c" + character_set = "AL32UTF8" + national_character_set = "AL16UTF16" + subnet_id = azurerm_subnet.test.id + virtual_network_id = azurerm_virtual_network.test.id +} +`, a.template(data), data.RandomInteger, data.Locations.Primary) +} + +func (a AdbsRegularResource) requiresImport(data acceptance.TestData) string { + return fmt.Sprintf(` +%s + +resource "azurerm_oracle_autonomous_database" "import" { + name = azurerm_oracle_autonomous_database.test.name + display_name = azurerm_oracle_autonomous_database.test.display_name + resource_group_name = azurerm_oracle_autonomous_database.test.resource_group_name + location = azurerm_oracle_autonomous_database.test.location + compute_model = azurerm_oracle_autonomous_database.test.compute_model + compute_count = azurerm_oracle_autonomous_database.test.compute_count + license_model = azurerm_oracle_autonomous_database.test.license_model + backup_retention_period_in_days = azurerm_oracle_autonomous_database.test.backup_retention_period_in_days + auto_scaling_enabled = azurerm_oracle_autonomous_database.test.auto_scaling_enabled + auto_scaling_for_storage_enabled = azurerm_oracle_autonomous_database.test.auto_scaling_for_storage_enabled + mtls_connection_required = azurerm_oracle_autonomous_database.test.mtls_connection_required + data_storage_size_in_tbs = azurerm_oracle_autonomous_database.test.data_storage_size_in_tbs + db_workload = azurerm_oracle_autonomous_database.test.db_workload + admin_password = azurerm_oracle_autonomous_database.test.admin_password + db_version = azurerm_oracle_autonomous_database.test.db_version + character_set = azurerm_oracle_autonomous_database.test.character_set + national_character_set = azurerm_oracle_autonomous_database.test.national_character_set + subnet_id = azurerm_oracle_autonomous_database.test.subnet_id + virtual_network_id = azurerm_oracle_autonomous_database.test.virtual_network_id +} +`, a.basic(data)) +} + +func (a AdbsRegularResource) template(data acceptance.TestData) string { + return fmt.Sprintf(` + +data "azurerm_client_config" "current" {} + +resource "azurerm_resource_group" "test" { + name = "acctestRG-%[1]d" + location = "%[2]s" +} + +resource "azurerm_virtual_network" "test" { + name = "acctest%[1]d_vnet" + address_space = ["10.0.0.0/16"] + location = "%[2]s" + resource_group_name = azurerm_resource_group.test.name +} + +resource "azurerm_subnet" "test" { + name = "eacctest%[1]d" + resource_group_name = azurerm_resource_group.test.name + virtual_network_name = azurerm_virtual_network.test.name + address_prefixes = ["10.0.1.0/24"] + + delegation { + name = "delegation" + + service_delegation { + actions = [ + "Microsoft.Network/networkinterfaces/*", + "Microsoft.Network/virtualNetworks/subnets/join/action", + ] + name = "Oracle.Database/networkAttachments" + } + } +} + +`, data.RandomInteger, data.Locations.Primary, data.RandomString) +} diff --git a/internal/services/oracle/cloud_vm_cluster_data_source.go b/internal/services/oracle/cloud_vm_cluster_data_source.go index 798bbbba760b..e9512a40eec9 100644 --- a/internal/services/oracle/cloud_vm_cluster_data_source.go +++ b/internal/services/oracle/cloud_vm_cluster_data_source.go @@ -498,6 +498,7 @@ func (d CloudVmClusterDataSource) Read() sdk.ResourceFunc { state.SystemVersion = pointer.From(props.SystemVersion) state.TimeCreated = pointer.From(props.TimeCreated) state.TimeZone = pointer.From(props.TimeZone) + state.VnetId = props.VnetId state.ZoneId = pointer.From(props.ZoneId) } } diff --git a/internal/services/oracle/cloud_vm_cluster_resource.go b/internal/services/oracle/cloud_vm_cluster_resource.go index bb99510db90f..1f843f567705 100644 --- a/internal/services/oracle/cloud_vm_cluster_resource.go +++ b/internal/services/oracle/cloud_vm_cluster_resource.go @@ -53,14 +53,18 @@ type CloudVmClusterResourceModel struct { ClusterName string `tfschema:"cluster_name"` DataCollectionOptions []DataCollectionOptionsModel `tfschema:"data_collection_options"` DataStoragePercentage int64 `tfschema:"data_storage_percentage"` + Domain string `tfschema:"domain"` IsLocalBackupEnabled bool `tfschema:"local_backup_enabled"` IsSparseDiskgroupEnabled bool `tfschema:"sparse_diskgroup_enabled"` + Ocid string `tfschema:"ocid"` + ScanListenerPortTcp int64 `tfschema:"scan_listener_port_tcp"` + ScanListenerPortTcpSsl int64 `tfschema:"scan_listener_port_tcp_ssl"` TimeZone string `tfschema:"time_zone"` + ZoneId string `tfschema:"zone_id"` } func (CloudVmClusterResource) Arguments() map[string]*pluginsdk.Schema { return map[string]*pluginsdk.Schema{ - // Azure "location": commonschema.Location(), "name": { @@ -223,6 +227,13 @@ func (CloudVmClusterResource) Arguments() map[string]*pluginsdk.Schema { ValidateFunc: validate.DataStoragePercentage, }, + "domain": { + Type: schema.TypeString, + Optional: true, + Computed: true, + ForceNew: true, + }, + "local_backup_enabled": { Type: pluginsdk.TypeBool, Optional: true, @@ -237,6 +248,22 @@ func (CloudVmClusterResource) Arguments() map[string]*pluginsdk.Schema { ForceNew: true, }, + "scan_listener_port_tcp": { + Type: pluginsdk.TypeInt, + Optional: true, + Default: 1521, + ForceNew: true, + ValidateFunc: validation.IntBetween(1024, 8999), + }, + + "scan_listener_port_tcp_ssl": { + Type: pluginsdk.TypeInt, + Optional: true, + Default: 2484, + ForceNew: true, + ValidateFunc: validation.IntBetween(1024, 8999), + }, + "time_zone": { Type: pluginsdk.TypeString, Optional: true, @@ -244,6 +271,13 @@ func (CloudVmClusterResource) Arguments() map[string]*pluginsdk.Schema { ForceNew: true, }, + "zone_id": { + Type: pluginsdk.TypeString, + Optional: true, + Computed: true, + ForceNew: true, + }, + "tags": commonschema.Tags(), } } @@ -254,6 +288,11 @@ func (CloudVmClusterResource) Attributes() map[string]*pluginsdk.Schema { Type: pluginsdk.TypeString, Computed: true, }, + + "ocid": { + Type: pluginsdk.TypeString, + Computed: true, + }, } } @@ -320,8 +359,20 @@ func (r CloudVmClusterResource) Create() sdk.ResourceFunc { IsIncidentLogsEnabled: pointer.To(model.DataCollectionOptions[0].IsIncidentLogsEnabled), } } + if model.Domain != "" { + param.Properties.Domain = pointer.To(model.Domain) + } + if model.ScanListenerPortTcp >= 1024 && model.ScanListenerPortTcp <= 8999 { + param.Properties.ScanListenerPortTcp = pointer.To(model.ScanListenerPortTcp) + } + if model.ScanListenerPortTcpSsl >= 1024 && model.ScanListenerPortTcpSsl <= 8999 { + param.Properties.ScanListenerPortTcpSsl = pointer.To(model.ScanListenerPortTcpSsl) + } if model.TimeZone != "" { - param.Properties.ClusterName = pointer.To(model.TimeZone) + param.Properties.TimeZone = pointer.To(model.TimeZone) + } + if model.ZoneId != "" { + param.Properties.ZoneId = pointer.To(model.ZoneId) } if model.DataStoragePercentage != 0 { param.Properties.DataStoragePercentage = pointer.To(model.DataStoragePercentage) @@ -438,9 +489,14 @@ func (CloudVmClusterResource) Read() sdk.ResourceFunc { state.ClusterName = pointer.From(props.ClusterName) state.DataCollectionOptions = FlattenDataCollectionOptions(props.DataCollectionOptions) state.DataStoragePercentage = pointer.From(props.DataStoragePercentage) + state.Domain = pointer.From(props.Domain) + state.Ocid = pointer.From(props.Ocid) state.IsLocalBackupEnabled = pointer.From(props.IsLocalBackupEnabled) state.IsSparseDiskgroupEnabled = pointer.From(props.IsSparseDiskgroupEnabled) + state.ScanListenerPortTcp = pointer.From(props.ScanListenerPortTcp) + state.ScanListenerPortTcpSsl = pointer.From(props.ScanListenerPortTcpSsl) state.TimeZone = pointer.From(props.TimeZone) + state.ZoneId = pointer.From(props.ZoneId) } } @@ -493,19 +549,3 @@ func removeHostnameSuffix(hostnameActual string) string { return hostnameActual } } - -// DbSystemHostnameDiffSuppress When submitting a request to DBaaS a suffix will be added to the Hostname, -// therefore when computing the diff if the new Hostname is a prefix of the old then we will ignore the diff. -// Example: Initial plan -> testHostname, final result after DBaaS -> testHostname-abc. -// Since testHostname is a prefix of testHostname-abc, then computed diff is zero. -func DbSystemHostnameDiffSuppress(_ string, old string, new string, _ *schema.ResourceData) bool { - return EqualSuppressDiff(old, new) || NewIsPrefixOfOldDiffSuppress(old, new) -} - -func NewIsPrefixOfOldDiffSuppress(old string, new string) bool { - return strings.HasPrefix(strings.ToLower(old), strings.ToLower(new)) -} - -func EqualSuppressDiff(old string, new string) bool { - return old == new -} diff --git a/internal/services/oracle/cloud_vm_cluster_resource_test.go b/internal/services/oracle/cloud_vm_cluster_resource_test.go index b54a72865c96..e89b04b476aa 100644 --- a/internal/services/oracle/cloud_vm_cluster_resource_test.go +++ b/internal/services/oracle/cloud_vm_cluster_resource_test.go @@ -134,6 +134,7 @@ resource "azurerm_oracle_cloud_vm_cluster" "test" { db_node_storage_size_in_gbs = 120 db_servers = [for obj in data.azurerm_oracle_db_servers.test.db_servers : obj.ocid] display_name = "OFakeVmacctest%[2]d" + domain = "ociofakeacctes.com" gi_version = "23.0.0.0" local_backup_enabled = true sparse_diskgroup_enabled = true @@ -142,10 +143,13 @@ resource "azurerm_oracle_cloud_vm_cluster" "test" { hostname = "hostname" ssh_public_keys = ["ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC+wWK73dCr+jgQOAxNsHAnNNNMEMWOHYEccp6wJm2gotpr9katuF/ZAdou5AaW1C61slRkHRkpRRX9FA9CYBiitZgvCCz+3nWNN7l/Up54Zps/pHWGZLHNJZRYyAB6j5yVLMVHIHriY49d/GZTZVNB8GoJv9Gakwc/fuEZYYl4YDFiGMBP///TzlI4jhiJzjKnEvqPFki5p2ZRJqcbCiF4pJrxUQR/RXqVFQdbRLZgYfJ8xGB878RENq3yQ39d8dVOkq4edbkzwcUmwwwkYVPIoDGsYLaRHnG+To7FvMeyO7xDVQkMKzopTQV8AuKpyvpqu0a9pWOMaiCyDytO7GGN you@me.com"] subnet_id = azurerm_subnet.virtual_network_subnet.id + scan_listener_port_tcp = 1521 + scan_listener_port_tcp_ssl = 2484 tags = { test = "testTag1" } time_zone = "UTC" + zone_id = "ocid1.dns-zone.oc1.iad.aaaaaaaac7lyw74bnybmlek7nrsd5h3v5kjfv3aiw62menpuuwoder7yhmpa" virtual_network_id = azurerm_virtual_network.virtual_network.id }`, a.template(data), data.RandomInteger, data.Locations.Primary) } diff --git a/internal/services/oracle/db_nodes_data_source.go b/internal/services/oracle/db_nodes_data_source.go new file mode 100644 index 000000000000..b7d1f44246f0 --- /dev/null +++ b/internal/services/oracle/db_nodes_data_source.go @@ -0,0 +1,259 @@ +// Copyright © 2024, Oracle and/or its affiliates. All rights reserved + +package oracle + +import ( + "context" + "fmt" + "time" + + "github.com/hashicorp/go-azure-helpers/lang/pointer" + "github.com/hashicorp/go-azure-helpers/lang/response" + "github.com/hashicorp/go-azure-sdk/resource-manager/oracledatabase/2024-06-01/cloudvmclusters" + "github.com/hashicorp/go-azure-sdk/resource-manager/oracledatabase/2024-06-01/dbnodes" + "github.com/hashicorp/terraform-provider-azurerm/internal/sdk" + "github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk" +) + +type DBNodesDataSource struct{} + +type DBNodesDataModel struct { + CloudVmClusterId string `tfschema:"cloud_vm_cluster_id"` + DBNodes []DBNodeDataModel `tfschema:"db_nodes"` +} + +type DBNodeDataModel struct { + AdditionalDetails string `tfschema:"additional_details"` + BackupIPId string `tfschema:"backup_ip_id"` + BackupVnic2Id string `tfschema:"backup_vnic_2_id"` + BackupVnicId string `tfschema:"backup_vnic_id"` + CpuCoreCount int64 `tfschema:"cpu_core_count"` + DbNodeStorageSizeInGbs int64 `tfschema:"db_node_storage_size_in_gbs"` + DbServerId string `tfschema:"db_server_id"` + DbSystemId string `tfschema:"db_system_id"` + FaultDomain string `tfschema:"fault_domain"` + HostIPId string `tfschema:"host_ip_id"` + Hostname string `tfschema:"hostname"` + LifecycleDetails string `tfschema:"lifecycle_details"` + LifecycleState string `tfschema:"lifecycle_state"` + MaintenanceType string `tfschema:"maintenance_type"` + MemorySizeInGbs int64 `tfschema:"memory_size_in_gbs"` + Ocid string `tfschema:"ocid"` + SoftwareStorageSizeInGb int64 `tfschema:"software_storage_size_in_gb"` + TimeCreated string `tfschema:"time_created"` + TimeMaintenanceWindowEnd string `tfschema:"time_maintenance_window_end"` + TimeMaintenanceWindowStart string `tfschema:"time_maintenance_window_start"` + Vnic2Id string `tfschema:"vnic_2_id"` + VnicId string `tfschema:"vnic_id"` +} + +func (d DBNodesDataSource) Arguments() map[string]*pluginsdk.Schema { + return map[string]*pluginsdk.Schema{ + "cloud_vm_cluster_id": { + Type: pluginsdk.TypeString, + Required: true, + ValidateFunc: cloudvmclusters.ValidateCloudVMClusterID, + }, + } +} + +func (d DBNodesDataSource) Attributes() map[string]*pluginsdk.Schema { + return map[string]*pluginsdk.Schema{ + "db_nodes": { + Type: pluginsdk.TypeList, + Computed: true, + Elem: &pluginsdk.Resource{ + Schema: map[string]*pluginsdk.Schema{ + "additional_details": { + Type: pluginsdk.TypeString, + Computed: true, + }, + + "backup_ip_id": { + Type: pluginsdk.TypeString, + Computed: true, + }, + + "backup_vnic_2_id": { + Type: pluginsdk.TypeString, + Computed: true, + }, + + "backup_vnic_id": { + Type: pluginsdk.TypeString, + Computed: true, + }, + + "cpu_core_count": { + Type: pluginsdk.TypeInt, + Computed: true, + }, + + "db_node_storage_size_in_gbs": { + Type: pluginsdk.TypeInt, + Computed: true, + }, + + "db_server_id": { + Type: pluginsdk.TypeString, + Computed: true, + }, + + "db_system_id": { + Type: pluginsdk.TypeString, + Computed: true, + }, + + "fault_domain": { + Type: pluginsdk.TypeString, + Computed: true, + }, + + "host_ip_id": { + Type: pluginsdk.TypeString, + Computed: true, + }, + + "hostname": { + Type: pluginsdk.TypeString, + Computed: true, + }, + + "lifecycle_details": { + Type: pluginsdk.TypeString, + Computed: true, + }, + + "lifecycle_state": { + Type: pluginsdk.TypeString, + Computed: true, + }, + + "maintenance_type": { + Type: pluginsdk.TypeString, + Computed: true, + }, + + "memory_size_in_gbs": { + Type: pluginsdk.TypeInt, + Computed: true, + }, + + "ocid": { + Type: pluginsdk.TypeString, + Computed: true, + }, + + "software_storage_size_in_gb": { + Type: pluginsdk.TypeInt, + Computed: true, + }, + + "time_created": { + Type: pluginsdk.TypeString, + Computed: true, + }, + + "time_maintenance_window_end": { + Type: pluginsdk.TypeString, + Computed: true, + }, + + "time_maintenance_window_start": { + Type: pluginsdk.TypeString, + Computed: true, + }, + + "vnic_2_id": { + Type: pluginsdk.TypeString, + Computed: true, + }, + + "vnic_id": { + Type: pluginsdk.TypeString, + Computed: true, + }, + }, + }, + }, + } +} + +func (d DBNodesDataSource) ModelObject() interface{} { + return &DBNodesDataModel{} +} + +func (d DBNodesDataSource) ResourceType() string { + return "azurerm_oracle_db_nodes" +} + +func (d DBNodesDataSource) IDValidationFunc() pluginsdk.SchemaValidateFunc { + return dbnodes.ValidateDbNodeID +} + +func (d DBNodesDataSource) Read() sdk.ResourceFunc { + return sdk.ResourceFunc{ + Timeout: 5 * time.Minute, + Func: func(ctx context.Context, metadata sdk.ResourceMetaData) error { + client := metadata.Client.Oracle.OracleClient.DbNodes + subscriptionId := metadata.Client.Account.SubscriptionId + + state := DBNodesDataModel{ + DBNodes: make([]DBNodeDataModel, 0), + } + if err := metadata.Decode(&state); err != nil { + return fmt.Errorf("decoding: %+v", err) + } + + parsedCloudVmClusterId, err := cloudvmclusters.ParseCloudVMClusterID(state.CloudVmClusterId) + if err != nil { + return fmt.Errorf("decoding id: %+v", err) + } + id := dbnodes.NewCloudVMClusterID(subscriptionId, parsedCloudVmClusterId.ResourceGroupName, parsedCloudVmClusterId.CloudVmClusterName) + + resp, err := client.ListByCloudVMCluster(ctx, id) + if err != nil { + if response.WasNotFound(resp.HttpResponse) { + return fmt.Errorf("%s was not found", id) + } + return fmt.Errorf("retrieving %s: %+v", id, err) + } + + if model := resp.Model; model != nil { + for _, element := range *model { + if props := element.Properties; props != nil { + dbNode := DBNodeDataModel{ + AdditionalDetails: pointer.From(props.AdditionalDetails), + BackupIPId: pointer.From(props.BackupIPId), + BackupVnicId: pointer.From(props.BackupVnicId), + BackupVnic2Id: pointer.From(props.BackupVnic2Id), + CpuCoreCount: pointer.From(props.CpuCoreCount), + DbNodeStorageSizeInGbs: pointer.From(props.DbNodeStorageSizeInGbs), + DbServerId: pointer.From(props.DbServerId), + DbSystemId: props.DbSystemId, + FaultDomain: pointer.From(props.FaultDomain), + HostIPId: pointer.From(props.HostIPId), + Hostname: pointer.From(props.Hostname), + LifecycleDetails: pointer.From(props.LifecycleDetails), + LifecycleState: string(props.LifecycleState), + MaintenanceType: string(pointer.From(props.MaintenanceType)), + MemorySizeInGbs: pointer.From(props.MemorySizeInGbs), + Ocid: props.Ocid, + SoftwareStorageSizeInGb: pointer.From(props.SoftwareStorageSizeInGb), + TimeCreated: props.TimeCreated, + TimeMaintenanceWindowEnd: pointer.From(props.TimeMaintenanceWindowEnd), + TimeMaintenanceWindowStart: pointer.From(props.TimeMaintenanceWindowStart), + VnicId: props.VnicId, + Vnic2Id: pointer.From(props.Vnic2Id), + } + state.DBNodes = append(state.DBNodes, dbNode) + } + } + } + + metadata.SetID(id) + + return metadata.Encode(&state) + }, + } +} diff --git a/internal/services/oracle/db_nodes_data_source_test.go b/internal/services/oracle/db_nodes_data_source_test.go new file mode 100644 index 000000000000..2d2e99a4cecd --- /dev/null +++ b/internal/services/oracle/db_nodes_data_source_test.go @@ -0,0 +1,37 @@ +// Copyright © 2024, Oracle and/or its affiliates. All rights reserved + +package oracle_test + +import ( + "fmt" + "testing" + + "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" + "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" +) + +type DBNodesDataSource struct{} + +func TestDBNodesDataSource_basic(t *testing.T) { + data := acceptance.BuildTestData(t, "data.azurerm_oracle_db_nodes", "test") + r := DBNodesDataSource{} + + data.DataSourceTest(t, []acceptance.TestStep{ + { + Config: r.basic(data), + Check: acceptance.ComposeTestCheckFunc( + check.That(data.ResourceName).Key("db_nodes.0.cpu_core_count").Exists(), + ), + }, + }) +} + +func (d DBNodesDataSource) basic(data acceptance.TestData) string { + return fmt.Sprintf(` +%s + +data "azurerm_oracle_db_nodes" "test" { + cloud_vm_cluster_id = azurerm_oracle_cloud_vm_cluster.test.id +} +`, CloudVmClusterResource{}.basic(data)) +} diff --git a/internal/services/oracle/db_servers_data_source.go b/internal/services/oracle/db_servers_data_source.go index 90df6584b2dd..110d64e6fa7c 100644 --- a/internal/services/oracle/db_servers_data_source.go +++ b/internal/services/oracle/db_servers_data_source.go @@ -12,6 +12,7 @@ import ( "github.com/hashicorp/go-azure-helpers/resourcemanager/commonschema" "github.com/hashicorp/go-azure-sdk/resource-manager/oracledatabase/2024-06-01/dbservers" "github.com/hashicorp/terraform-provider-azurerm/internal/sdk" + "github.com/hashicorp/terraform-provider-azurerm/internal/services/oracle/validate" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk" ) @@ -49,8 +50,9 @@ func (d DBServersDataSource) Arguments() map[string]*pluginsdk.Schema { "resource_group_name": commonschema.ResourceGroupNameForDataSource(), "cloud_exadata_infrastructure_name": { - Type: pluginsdk.TypeString, - Required: true, + Type: pluginsdk.TypeString, + Required: true, + ValidateFunc: validate.ExadataName, }, } } @@ -146,11 +148,6 @@ func (d DBServersDataSource) Attributes() map[string]*pluginsdk.Schema { Computed: true, }, - "provisioning_state": { - Type: pluginsdk.TypeString, - Computed: true, - }, - "shape": { Type: pluginsdk.TypeString, Computed: true, diff --git a/internal/services/oracle/db_system_shapes_data_source.go b/internal/services/oracle/db_system_shapes_data_source.go new file mode 100644 index 000000000000..7beaa811b3ee --- /dev/null +++ b/internal/services/oracle/db_system_shapes_data_source.go @@ -0,0 +1,217 @@ +// Copyright © 2024, Oracle and/or its affiliates. All rights reserved + +package oracle + +import ( + "context" + "fmt" + "time" + + "github.com/hashicorp/go-azure-helpers/lang/pointer" + "github.com/hashicorp/go-azure-helpers/lang/response" + "github.com/hashicorp/go-azure-helpers/resourcemanager/commonschema" + "github.com/hashicorp/go-azure-sdk/resource-manager/oracledatabase/2024-06-01/dbsystemshapes" + "github.com/hashicorp/terraform-provider-azurerm/internal/sdk" + "github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk" +) + +type DbSystemShapesDataSource struct{} + +type DbSystemShapesModel struct { + DbSystemShapes []DbSystemShapeModel `tfschema:"db_system_shapes"` + Location string `tfschema:"location"` +} + +type DbSystemShapeModel struct { + AvailableCoreCount int64 `tfschema:"available_core_count"` + AvailableCoreCountPerNode int64 `tfschema:"available_core_count_per_node"` + AvailableDataStorageInTbs int64 `tfschema:"available_data_storage_in_tbs"` + AvailableDataStoragePerServerInTbs float64 `tfschema:"available_data_storage_per_server_in_tbs"` + AvailableDbNodePerNodeInGbs int64 `tfschema:"available_db_node_per_node_in_gbs"` + AvailableDbNodeStorageInGbs int64 `tfschema:"available_db_node_storage_in_gbs"` + AvailableMemoryInGbs int64 `tfschema:"available_memory_in_gbs"` + AvailableMemoryPerNodeInGbs int64 `tfschema:"available_memory_per_node_in_gbs"` + CoreCountIncrement int64 `tfschema:"core_count_increment"` + MaxStorageCount int64 `tfschema:"maximum_storage_count"` + MaximumNodeCount int64 `tfschema:"maximum_node_count"` + MinCoreCountPerNode int64 `tfschema:"minimum_core_count_per_node"` + MinDataStorageInTbs int64 `tfschema:"minimum_data_storage_in_tbs"` + MinDbNodeStoragePerNodeInGbs int64 `tfschema:"minimum_db_node_storage_per_node_in_gbs"` + MinMemoryPerNodeInGbs int64 `tfschema:"minimum_memory_per_node_in_gbs"` + MinStorageCount int64 `tfschema:"minimum_storage_count"` + MinimumCoreCount int64 `tfschema:"minimum_core_count"` + MinimumNodeCount int64 `tfschema:"minimum_node_count"` + RuntimeMinimumCoreCount int64 `tfschema:"runtime_minimum_core_count"` + ShapeFamily string `tfschema:"shape_family"` +} + +func (d DbSystemShapesDataSource) Arguments() map[string]*pluginsdk.Schema { + return map[string]*pluginsdk.Schema{ + "location": commonschema.Location(), + } +} + +func (d DbSystemShapesDataSource) Attributes() map[string]*pluginsdk.Schema { + return map[string]*pluginsdk.Schema{ + "db_system_shapes": { + Type: pluginsdk.TypeList, + Computed: true, + Elem: &pluginsdk.Resource{ + Schema: map[string]*pluginsdk.Schema{ + "available_core_count": { + Type: pluginsdk.TypeInt, + Computed: true, + }, + "available_core_count_per_node": { + Type: pluginsdk.TypeInt, + Computed: true, + }, + "available_data_storage_in_tbs": { + Type: pluginsdk.TypeInt, + Computed: true, + }, + "available_data_storage_per_server_in_tbs": { + Type: pluginsdk.TypeInt, + Computed: true, + }, + "available_db_node_per_node_in_gbs": { + Type: pluginsdk.TypeInt, + Computed: true, + }, + "available_db_node_storage_in_gbs": { + Type: pluginsdk.TypeInt, + Computed: true, + }, + "available_memory_in_gbs": { + Type: pluginsdk.TypeInt, + Computed: true, + }, + "available_memory_per_node_in_gbs": { + Type: pluginsdk.TypeInt, + Computed: true, + }, + "core_count_increment": { + Type: pluginsdk.TypeInt, + Computed: true, + }, + "maximum_storage_count": { + Type: pluginsdk.TypeInt, + Computed: true, + }, + "maximum_node_count": { + Type: pluginsdk.TypeInt, + Computed: true, + }, + "minimum_core_count_per_node": { + Type: pluginsdk.TypeInt, + Computed: true, + }, + "minimum_data_storage_in_tbs": { + Type: pluginsdk.TypeInt, + Computed: true, + }, + "minimum_db_node_storage_per_node_in_gbs": { + Type: pluginsdk.TypeInt, + Computed: true, + }, + "minimum_memory_per_node_in_gbs": { + Type: pluginsdk.TypeInt, + Computed: true, + }, + "minimum_storage_count": { + Type: pluginsdk.TypeInt, + Computed: true, + }, + "minimum_core_count": { + Type: pluginsdk.TypeInt, + Computed: true, + }, + "minimum_node_count": { + Type: pluginsdk.TypeInt, + Computed: true, + }, + "runtime_minimum_core_count": { + Type: pluginsdk.TypeInt, + Computed: true, + }, + "shape_family": { + Type: pluginsdk.TypeString, + Computed: true, + }, + }, + }, + }, + } +} + +func (d DbSystemShapesDataSource) ModelObject() interface{} { + return &DbSystemShapesModel{} +} + +func (d DbSystemShapesDataSource) ResourceType() string { + return "azurerm_oracle_db_system_shapes" +} + +func (d DbSystemShapesDataSource) IDValidationFunc() pluginsdk.SchemaValidateFunc { + return dbsystemshapes.ValidateDbSystemShapeID +} + +func (d DbSystemShapesDataSource) Read() sdk.ResourceFunc { + return sdk.ResourceFunc{ + Timeout: 5 * time.Minute, + Func: func(ctx context.Context, metadata sdk.ResourceMetaData) error { + client := metadata.Client.Oracle.OracleClient.DbSystemShapes + subscriptionId := metadata.Client.Account.SubscriptionId + + state := DbSystemShapesModel{ + DbSystemShapes: make([]DbSystemShapeModel, 0), + } + if err := metadata.Decode(&state); err != nil { + return fmt.Errorf("decoding: %+v", err) + } + + id := dbsystemshapes.NewLocationID(subscriptionId, state.Location) + + resp, err := client.ListByLocation(ctx, id) + if err != nil { + if response.WasNotFound(resp.HttpResponse) { + return fmt.Errorf("%s was not found", id) + } + return fmt.Errorf("retrieving %s: %+v", id, err) + } + + if model := resp.Model; model != nil { + for _, element := range *model { + if props := element.Properties; props != nil { + state.DbSystemShapes = append(state.DbSystemShapes, DbSystemShapeModel{ + AvailableCoreCount: props.AvailableCoreCount, + AvailableCoreCountPerNode: pointer.From(props.AvailableCoreCountPerNode), + AvailableDataStorageInTbs: pointer.From(props.AvailableDataStorageInTbs), + AvailableDataStoragePerServerInTbs: pointer.From(props.AvailableDataStoragePerServerInTbs), + AvailableDbNodePerNodeInGbs: pointer.From(props.AvailableDbNodePerNodeInGbs), + AvailableDbNodeStorageInGbs: pointer.From(props.AvailableDbNodeStorageInGbs), + AvailableMemoryInGbs: pointer.From(props.AvailableMemoryInGbs), + AvailableMemoryPerNodeInGbs: pointer.From(props.AvailableMemoryPerNodeInGbs), + CoreCountIncrement: pointer.From(props.CoreCountIncrement), + MaxStorageCount: pointer.From(props.MaxStorageCount), + MaximumNodeCount: pointer.From(props.MaximumNodeCount), + MinCoreCountPerNode: pointer.From(props.MinCoreCountPerNode), + MinDataStorageInTbs: pointer.From(props.MinDataStorageInTbs), + MinDbNodeStoragePerNodeInGbs: pointer.From(props.MinDbNodeStoragePerNodeInGbs), + MinMemoryPerNodeInGbs: pointer.From(props.MinMemoryPerNodeInGbs), + MinStorageCount: pointer.From(props.MinStorageCount), + MinimumCoreCount: pointer.From(props.MinimumCoreCount), + MinimumNodeCount: pointer.From(props.MinimumNodeCount), + RuntimeMinimumCoreCount: pointer.From(props.RuntimeMinimumCoreCount), + ShapeFamily: pointer.From(props.ShapeFamily), + }) + } + } + } + + metadata.SetID(id) + + return metadata.Encode(&state) + }, + } +} diff --git a/internal/services/oracle/db_system_shapes_data_source_test.go b/internal/services/oracle/db_system_shapes_data_source_test.go new file mode 100644 index 000000000000..81a827b27340 --- /dev/null +++ b/internal/services/oracle/db_system_shapes_data_source_test.go @@ -0,0 +1,38 @@ +// Copyright © 2024, Oracle and/or its affiliates. All rights reserved + +package oracle_test + +import ( + "testing" + + "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" + "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" +) + +type DbSystemShapesDataSource struct{} + +func TestDbSystemShapesDataSource_basic(t *testing.T) { + data := acceptance.BuildTestData(t, "data.azurerm_oracle_db_system_shapes", "test") + r := DbSystemShapesDataSource{} + + data.DataSourceTest(t, []acceptance.TestStep{ + { + Config: r.basic(), + Check: acceptance.ComposeTestCheckFunc( + check.That(data.ResourceName).Key("db_system_shapes.0.available_core_count").Exists(), + ), + }, + }) +} + +func (d DbSystemShapesDataSource) basic() string { + return ` +provider "azurerm" { + features {} +} + +data "azurerm_oracle_db_system_shapes" "test" { + location = "eastus" +} +` +} diff --git a/internal/services/oracle/gi_versions_data_source.go b/internal/services/oracle/gi_versions_data_source.go new file mode 100644 index 000000000000..879872b80487 --- /dev/null +++ b/internal/services/oracle/gi_versions_data_source.go @@ -0,0 +1,90 @@ +// Copyright © 2024, Oracle and/or its affiliates. All rights reserved + +package oracle + +import ( + "context" + "fmt" + "time" + + "github.com/hashicorp/go-azure-helpers/lang/response" + "github.com/hashicorp/go-azure-helpers/resourcemanager/commonschema" + "github.com/hashicorp/go-azure-sdk/resource-manager/oracledatabase/2024-06-01/giversions" + "github.com/hashicorp/terraform-provider-azurerm/internal/sdk" + "github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk" +) + +type GiVersionsDataSource struct{} + +type GiVersionsModel struct { + Versions []string `tfschema:"versions"` + Location string `tfschema:"location"` +} + +func (d GiVersionsDataSource) Arguments() map[string]*pluginsdk.Schema { + return map[string]*pluginsdk.Schema{ + "location": commonschema.Location(), + } +} + +func (d GiVersionsDataSource) Attributes() map[string]*pluginsdk.Schema { + return map[string]*pluginsdk.Schema{ + "versions": { + Type: pluginsdk.TypeList, + Computed: true, + Elem: &pluginsdk.Schema{ + Type: pluginsdk.TypeString, + }, + }, + } +} + +func (d GiVersionsDataSource) ModelObject() interface{} { + return &GiVersionsModel{} +} + +func (d GiVersionsDataSource) ResourceType() string { + return "azurerm_oracle_gi_versions" +} + +func (d GiVersionsDataSource) IDValidationFunc() pluginsdk.SchemaValidateFunc { + return giversions.ValidateGiVersionID +} + +func (d GiVersionsDataSource) Read() sdk.ResourceFunc { + return sdk.ResourceFunc{ + Timeout: 5 * time.Minute, + Func: func(ctx context.Context, metadata sdk.ResourceMetaData) error { + client := metadata.Client.Oracle.OracleClient.GiVersions + subscriptionId := metadata.Client.Account.SubscriptionId + + var state GiVersionsModel + if err := metadata.Decode(&state); err != nil { + return fmt.Errorf("decoding: %+v", err) + } + + id := giversions.NewLocationID(subscriptionId, + state.Location) + + resp, err := client.ListByLocation(ctx, id) + if err != nil { + if response.WasNotFound(resp.HttpResponse) { + return fmt.Errorf("%s was not found", id) + } + return fmt.Errorf("retrieving %s: %+v", id, err) + } + + if model := resp.Model; model != nil { + for _, element := range *model { + if props := element.Properties; props != nil { + state.Versions = append(state.Versions, props.Version) + } + } + } + + metadata.SetID(id) + + return metadata.Encode(&state) + }, + } +} diff --git a/internal/services/oracle/gi_versions_data_source_test.go b/internal/services/oracle/gi_versions_data_source_test.go new file mode 100644 index 000000000000..ba6f5ac293fb --- /dev/null +++ b/internal/services/oracle/gi_versions_data_source_test.go @@ -0,0 +1,38 @@ +// Copyright © 2024, Oracle and/or its affiliates. All rights reserved + +package oracle_test + +import ( + "testing" + + "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" + "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" +) + +type GiVersionsDataSource struct{} + +func TestGiVersionsDataSource_basic(t *testing.T) { + data := acceptance.BuildTestData(t, "data.azurerm_oracle_gi_versions", "test") + r := GiVersionsDataSource{} + + data.DataSourceTest(t, []acceptance.TestStep{ + { + Config: r.basic(), + Check: acceptance.ComposeTestCheckFunc( + check.That(data.ResourceName).Key("versions.#").HasValue("2"), + ), + }, + }) +} + +func (d GiVersionsDataSource) basic() string { + return ` +provider "azurerm" { + features {} +} + +data "azurerm_oracle_gi_versions" "test" { + location = "eastus" +} +` +} diff --git a/internal/services/oracle/registration.go b/internal/services/oracle/registration.go index 4fd63cffb9f4..e1ac1f7aebbb 100644 --- a/internal/services/oracle/registration.go +++ b/internal/services/oracle/registration.go @@ -14,14 +14,21 @@ var ( func (r Registration) DataSources() []sdk.DataSource { return []sdk.DataSource{ + AdbsCharSetsDataSource{}, + AdbsNCharSetsDataSource{}, + AutonomousDatabaseRegularDataSource{}, CloudVmClusterDataSource{}, + DBNodesDataSource{}, DBServersDataSource{}, + DbSystemShapesDataSource{}, ExadataInfraDataSource{}, + GiVersionsDataSource{}, } } func (r Registration) Resources() []sdk.Resource { return []sdk.Resource{ + AutonomousDatabaseRegularResource{}, CloudVmClusterResource{}, ExadataInfraResource{}, } diff --git a/internal/services/oracle/validate/autonomous_database_regular.go b/internal/services/oracle/validate/autonomous_database_regular.go new file mode 100644 index 000000000000..b15a6efe4251 --- /dev/null +++ b/internal/services/oracle/validate/autonomous_database_regular.go @@ -0,0 +1,128 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + +package validate + +import ( + "fmt" + "net/mail" + "strings" + "unicode" + "unicode/utf8" + + "github.com/hashicorp/go-azure-sdk/resource-manager/oracledatabase/2024-06-01/autonomousdatabases" +) + +func AutonomousDatabaseName(i interface{}, k string) (warnings []string, errors []error) { + v, ok := i.(string) + if !ok { + errors = append(errors, fmt.Errorf("expected type of %s to be string", k)) + return + } + + firstChar, _ := utf8.DecodeRuneInString(v) + if !unicode.IsLetter(firstChar) { + errors = append(errors, fmt.Errorf("%v must start with a letter", k)) + return + } + + for _, r := range v { + if !unicode.IsLetter(r) && !unicode.IsNumber(r) { + errors = append(errors, fmt.Errorf("%v must contain only letters and numbers", k)) + return + } + } + + if len(v) > 30 { + errors = append(errors, fmt.Errorf("%v must be 30 characers max", k)) + return + } + + return +} + +func AutonomousDatabasePassword(i interface{}, k string) (warnings []string, errors []error) { + v, ok := i.(string) + if !ok { + errors = append(errors, fmt.Errorf("expected type of %s to be string", k)) + return + } + + if len(v) < 12 || len(v) > 30 { + errors = append(errors, fmt.Errorf("%v must be 12 to 30 characters", k)) + return + } + + hasUpper := false + hasLower := false + hasNumber := false + hasDoubleQuote := false + for _, r := range v { + if r == '"' { + hasDoubleQuote = true + } + if unicode.IsUpper(r) { + hasUpper = true + } + if unicode.IsLower(r) { + hasLower = true + } + if unicode.IsNumber(r) { + hasNumber = true + } + } + if hasDoubleQuote { + errors = append(errors, fmt.Errorf("%v must not contain the double quote (\") character", k)) + return + } + if !hasUpper { + errors = append(errors, fmt.Errorf("%v must contain at least one uppercase letter", k)) + return + } + if !hasLower { + errors = append(errors, fmt.Errorf("%v must contain at least one lowercase letter", k)) + return + } + if !hasNumber { + errors = append(errors, fmt.Errorf("%v must contain at least one number", k)) + return + } + if strings.Contains(v, "admin") { + errors = append(errors, fmt.Errorf("%v must not contain the username \"admin\"", k)) + return + } + + return +} + +func CustomerContactEmail(i interface{}, k string) (warnings []string, errors []error) { + v, ok := i.(string) + if !ok { + errors = append(errors, fmt.Errorf("expected type of %s to be string", k)) + return + } + + _, err := mail.ParseAddress(v) + if err != nil { + errors = append(errors, fmt.Errorf("%v must be a valid email address", k)) + return + } + + return warnings, errors +} + +func AdbsComputeModel(i interface{}, k string) (warnings []string, errors []error) { + v, ok := i.(string) + if !ok { + errors = append(errors, fmt.Errorf("expected type of %s to be string", k)) + return + } + + if v != string(autonomousdatabases.ComputeModelECPU) && v != string(autonomousdatabases.ComputeModelOCPU) { + errors = append(errors, fmt.Errorf("%v must be %v or %v", k, + string(autonomousdatabases.ComputeModelECPU), string(autonomousdatabases.ComputeModelOCPU))) + return + } + + return +} diff --git a/internal/services/oracle/validate/cloud_vm_cluster.go b/internal/services/oracle/validate/cloud_vm_cluster.go index 035f6d0f7dd0..72341b51c1b3 100644 --- a/internal/services/oracle/validate/cloud_vm_cluster.go +++ b/internal/services/oracle/validate/cloud_vm_cluster.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package validate import ( diff --git a/internal/services/oracle/validate/exadata_infrastructure.go b/internal/services/oracle/validate/exadata_infrastructure.go index 6cbf34e3c577..53d479d7945b 100644 --- a/internal/services/oracle/validate/exadata_infrastructure.go +++ b/internal/services/oracle/validate/exadata_infrastructure.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package validate import ( diff --git a/internal/services/oracledatabase/client/client.go b/internal/services/oracledatabase/client/client.go deleted file mode 100644 index 729c482bc395..000000000000 --- a/internal/services/oracledatabase/client/client.go +++ /dev/null @@ -1,28 +0,0 @@ -// Copyright © 2024, Oracle and/or its affiliates. All rights reserved - -package client - -import ( - "fmt" - - oracedatabase "github.com/hashicorp/go-azure-sdk/resource-manager/oracledatabase/2024-06-01" - "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" - "github.com/hashicorp/terraform-provider-azurerm/internal/common" -) - -type Client struct { - OracleDatabaseClient *oracedatabase.Client -} - -func NewClient(o *common.ClientOptions) (*Client, error) { - o.DisableCorrelationRequestID = true - oracleDatabaseClient, err := oracedatabase.NewClientWithBaseURI(o.Environment.ResourceManager, func(c *resourcemanager.Client) { - o.Configure(c, o.Authorizers.ResourceManager) - }) - if err != nil { - return nil, fmt.Errorf("building Database client: %+v", err) - } - return &Client{ - OracleDatabaseClient: oracleDatabaseClient, - }, nil -} diff --git a/internal/services/paloalto/network_virtual_appliance_resource.go b/internal/services/paloalto/network_virtual_appliance_resource.go index 812a60cf4731..5712196f169b 100644 --- a/internal/services/paloalto/network_virtual_appliance_resource.go +++ b/internal/services/paloalto/network_virtual_appliance_resource.go @@ -11,8 +11,8 @@ import ( "github.com/hashicorp/go-azure-helpers/lang/pointer" "github.com/hashicorp/go-azure-helpers/lang/response" "github.com/hashicorp/go-azure-helpers/resourcemanager/location" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkvirtualappliances" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualwans" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkvirtualappliances" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "github.com/hashicorp/terraform-provider-azurerm/internal/sdk" "github.com/hashicorp/terraform-provider-azurerm/internal/services/network/validate" diff --git a/internal/services/policy/assignment.go b/internal/services/policy/assignment.go index 4e4392ea266f..ec2319337f76 100644 --- a/internal/services/policy/assignment.go +++ b/internal/services/policy/assignment.go @@ -37,7 +37,13 @@ func waitForPolicyAssignmentToStabilize(ctx context.Context, client *assignments return resp, strconv.Itoa(resp.HttpResponse.StatusCode), nil } - return nil, strconv.Itoa(resp.HttpResponse.StatusCode), fmt.Errorf("polling for %s: %+v", id, err) + // The `HttpResponse` might be nil, reported on https://github.com/hashicorp/terraform-provider-azurerm/issues/27693 + if resp.HttpResponse != nil { + return nil, strconv.Itoa(resp.HttpResponse.StatusCode), fmt.Errorf("polling for %s: %+v", id, err) + } + + return nil, "0", fmt.Errorf("polling for %s: %+v", id, err) + } return resp, strconv.Itoa(resp.HttpResponse.StatusCode), nil diff --git a/internal/services/policy/policy_definition_resource_test.go b/internal/services/policy/policy_definition_resource_test.go index ae04c5c6f71b..e4ea75496190 100644 --- a/internal/services/policy/policy_definition_resource_test.go +++ b/internal/services/policy/policy_definition_resource_test.go @@ -158,13 +158,6 @@ func TestAccAzureRMPolicyDefinition_removeParameter(t *testing.T) { ), }, data.ImportStep(), - { - Config: r.basic(data), - Check: acceptance.ComposeTestCheckFunc( - check.That(data.ResourceName).ExistsInAzure(r), - ), - }, - data.ImportStep(), }) } diff --git a/internal/services/postgres/custompollers/postgresql_flexible_server_virtual_endpoint_resource_poller.go b/internal/services/postgres/custompollers/postgresql_flexible_server_virtual_endpoint_resource_poller.go deleted file mode 100644 index 25315a3031eb..000000000000 --- a/internal/services/postgres/custompollers/postgresql_flexible_server_virtual_endpoint_resource_poller.go +++ /dev/null @@ -1,71 +0,0 @@ -// Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 - -package custompollers - -import ( - "context" - "fmt" - "time" - - "github.com/hashicorp/go-azure-sdk/resource-manager/postgresql/2023-06-01-preview/virtualendpoints" - "github.com/hashicorp/go-azure-sdk/sdk/client" - "github.com/hashicorp/go-azure-sdk/sdk/client/pollers" -) - -var _ pollers.PollerType = &postgresFlexibleServerVirtualEndpointPoller{} - -type postgresFlexibleServerVirtualEndpointPoller struct { - client *virtualendpoints.VirtualEndpointsClient - id virtualendpoints.VirtualEndpointId -} - -// Workaround due to Azure performing a pseudo-soft delete on virtual endpoints. -// -// - The `DELETE` endpoint does not fully delete the resource, it sets `properties.members` to nil -// -// - Subsequent `GET` operations for the endpoint will always return 200 with empty metadata, so Terraform will hang on `DELETE` -// -// - The only way to currently check for deletion is to check the `properties.members` property -func NewPostgresFlexibleServerVirtualEndpointDeletePoller(client *virtualendpoints.VirtualEndpointsClient, id virtualendpoints.VirtualEndpointId) *postgresFlexibleServerVirtualEndpointPoller { - return &postgresFlexibleServerVirtualEndpointPoller{ - client: client, - id: id, - } -} - -func (p postgresFlexibleServerVirtualEndpointPoller) Poll(ctx context.Context) (*pollers.PollResult, error) { - resp, err := p.client.Get(ctx, p.id) - if err != nil { - return nil, fmt.Errorf("retrieving %s: %+v", p.id, err) - } - - model := resp.Model - - if model != nil && model.Properties != nil { - if model.Properties.Members != nil { - return &pollers.PollResult{ - HttpResponse: &client.Response{ - Response: resp.HttpResponse, - }, - PollInterval: 5 * time.Second, - Status: pollers.PollingStatusInProgress, - }, nil - } - - return &pollers.PollResult{ - HttpResponse: &client.Response{ - Response: resp.HttpResponse, - }, - PollInterval: 5 * time.Second, - Status: pollers.PollingStatusSucceeded, - }, nil - } - - return nil, pollers.PollingFailedError{ - HttpResponse: &client.Response{ - Response: resp.HttpResponse, - }, - Message: fmt.Sprintf("failed to delete %s", p.id), - } -} diff --git a/internal/services/postgres/postgresql_flexible_server_virtual_endpoint_resource.go b/internal/services/postgres/postgresql_flexible_server_virtual_endpoint_resource.go index 3072c1c02c7e..c5ca00ab05bf 100644 --- a/internal/services/postgres/postgresql_flexible_server_virtual_endpoint_resource.go +++ b/internal/services/postgres/postgresql_flexible_server_virtual_endpoint_resource.go @@ -11,12 +11,11 @@ import ( "github.com/hashicorp/go-azure-helpers/lang/pointer" "github.com/hashicorp/go-azure-helpers/lang/response" + "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" "github.com/hashicorp/go-azure-sdk/resource-manager/postgresql/2023-06-01-preview/servers" "github.com/hashicorp/go-azure-sdk/resource-manager/postgresql/2023-06-01-preview/virtualendpoints" - "github.com/hashicorp/go-azure-sdk/sdk/client/pollers" "github.com/hashicorp/terraform-provider-azurerm/internal/locks" "github.com/hashicorp/terraform-provider-azurerm/internal/sdk" - "github.com/hashicorp/terraform-provider-azurerm/internal/services/postgres/custompollers" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/validation" ) @@ -131,6 +130,8 @@ func (r PostgresqlFlexibleServerVirtualEndpointResource) Read() sdk.ResourceFunc Timeout: 5 * time.Minute, Func: func(ctx context.Context, metadata sdk.ResourceMetaData) error { client := metadata.Client.Postgres.VirtualEndpointClient + flexibleServerClient := metadata.Client.Postgres.FlexibleServersClient + state := PostgresqlFlexibleServerVirtualEndpointModel{} id, err := virtualendpoints.ParseVirtualEndpointID(metadata.ResourceData.Id()) @@ -159,9 +160,27 @@ func (r PostgresqlFlexibleServerVirtualEndpointResource) Read() sdk.ResourceFunc return metadata.MarkAsGone(id) } - // Model.Properties.Members should be a tuple => [source_server, replication_server] - state.SourceServerId = servers.NewFlexibleServerID(id.SubscriptionId, id.ResourceGroupName, (*resp.Model.Properties.Members)[0]).ID() - state.ReplicaServerId = servers.NewFlexibleServerID(id.SubscriptionId, id.ResourceGroupName, (*resp.Model.Properties.Members)[1]).ID() + // Model.Properties.Members is a tuple => [source_server_id, replication_server_name] + sourceServerName := (*props.Members)[0] + replicaServerName := (*props.Members)[1] + + sourceServerId := servers.NewFlexibleServerID(id.SubscriptionId, id.ResourceGroupName, sourceServerName).ID() + + replicaServer, err := lookupFlexibleServerByName(ctx, flexibleServerClient, id, replicaServerName, sourceServerId) + if err != nil { + return err + } + + state.SourceServerId = sourceServerId + + if replicaServer != nil { + replicaId, err := servers.ParseFlexibleServerID(*replicaServer.Id) + if err != nil { + return err + } + + state.ReplicaServerId = replicaId.ID() + } } } @@ -184,8 +203,8 @@ func (r PostgresqlFlexibleServerVirtualEndpointResource) Delete() sdk.ResourceFu locks.ByName(id.FlexibleServerName, postgresqlFlexibleServerResourceName) defer locks.UnlockByName(id.FlexibleServerName, postgresqlFlexibleServerResourceName) - if err := DeletePostgresFlexibileServerVirtualEndpoint(ctx, client, id); err != nil { - return err + if err := client.DeleteThenPoll(ctx, *id); err != nil { + return fmt.Errorf("deleting %s: %+v", *id, err) } return nil @@ -231,17 +250,22 @@ func (r PostgresqlFlexibleServerVirtualEndpointResource) Update() sdk.ResourceFu } } -// exposed so we can access from tests -func DeletePostgresFlexibileServerVirtualEndpoint(ctx context.Context, client *virtualendpoints.VirtualEndpointsClient, id *virtualendpoints.VirtualEndpointId) error { - deletePoller := custompollers.NewPostgresFlexibleServerVirtualEndpointDeletePoller(client, *id) - poller := pollers.NewPoller(deletePoller, 5*time.Second, pollers.DefaultNumberOfDroppedConnectionsToAllow) - - if _, err := client.Delete(ctx, *id); err != nil { - return fmt.Errorf("deleting %s: %+v", *id, err) +// The flexible endpoint API does not store the location/rg information on replicas it only stores the name. +// This lookup is safe because replicas for a given source server are *not* allowed to have identical names +func lookupFlexibleServerByName(ctx context.Context, flexibleServerClient *servers.ServersClient, virtualEndpointId *virtualendpoints.VirtualEndpointId, replicaServerName string, sourceServerId string) (*servers.Server, error) { + postgresServers, err := flexibleServerClient.ListCompleteMatchingPredicate(ctx, commonids.NewSubscriptionID(virtualEndpointId.SubscriptionId), servers.ServerOperationPredicate{ + Name: &replicaServerName, + }) + if err != nil { + return nil, err } - if err := poller.PollUntilDone(ctx); err != nil { - return err + // loop to find the replica server associated with this flexible endpoint + for _, server := range postgresServers.Items { + if server.Properties != nil && pointer.From(server.Properties.SourceServerResourceId) == sourceServerId { + return &server, nil + } } - return nil + + return nil, fmt.Errorf("could not locate postgres replica server with name %s", replicaServerName) } diff --git a/internal/services/postgres/postgresql_flexible_server_virtual_endpoint_resource_test.go b/internal/services/postgres/postgresql_flexible_server_virtual_endpoint_resource_test.go index 9b48f7bc1d6e..1d2973e58f6c 100644 --- a/internal/services/postgres/postgresql_flexible_server_virtual_endpoint_resource_test.go +++ b/internal/services/postgres/postgresql_flexible_server_virtual_endpoint_resource_test.go @@ -13,7 +13,6 @@ import ( "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" - "github.com/hashicorp/terraform-provider-azurerm/internal/services/postgres" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk" "github.com/hashicorp/terraform-provider-azurerm/utils" ) @@ -61,6 +60,25 @@ func TestAccPostgresqlFlexibleServerVirtualEndpoint_update(t *testing.T) { }) } +func TestAccPostgresqlFlexibleServerVirtualEndpoint_crossRegion(t *testing.T) { + data := acceptance.BuildTestData(t, "azurerm_postgresql_flexible_server_virtual_endpoint", "test") + r := PostgresqlFlexibleServerVirtualEndpointResource{} + + data.ResourceTest(t, r, []acceptance.TestStep{ + { + Config: r.crossRegion(data), + Check: acceptance.ComposeTestCheckFunc( + check.That(data.ResourceName).ExistsInAzure(r), + ), + }, + data.ImportStep(), + data.DisappearsStep(acceptance.DisappearsStepData{ + Config: r.crossRegion, + TestResource: r, + }), + }) +} + func (r PostgresqlFlexibleServerVirtualEndpointResource) Exists(ctx context.Context, clients *clients.Client, state *pluginsdk.InstanceState) (*bool, error) { id, err := virtualendpoints.ParseVirtualEndpointID(state.ID) if err != nil { @@ -81,8 +99,8 @@ func (r PostgresqlFlexibleServerVirtualEndpointResource) Destroy(ctx context.Con return nil, err } - if err := postgres.DeletePostgresFlexibileServerVirtualEndpoint(ctx, client.Postgres.VirtualEndpointClient, id); err != nil { - return nil, fmt.Errorf("deleting %s: %+v", id, err) + if err := client.Postgres.VirtualEndpointClient.DeleteThenPoll(ctx, *id); err != nil { + return nil, fmt.Errorf("deleting %s: %+v", *id, err) } return utils.Bool(true), nil @@ -200,3 +218,227 @@ resource "azurerm_postgresql_flexible_server_virtual_endpoint" "test" { } `, data.RandomInteger, "eastus", replicaId) // force region due to SKU constraints } + +/** Complex test cases across regions and resource groups */ +func (PostgresqlFlexibleServerVirtualEndpointResource) crossRegion(data acceptance.TestData) string { + return fmt.Sprintf(` +provider "azurerm" { + features {} +} + +###### EAST RG ###### + +resource "azurerm_resource_group" "east" { + name = "acctest%[1]d-east" + location = "eastus" +} + +resource "azurerm_virtual_network" "east" { + name = "acctest%[1]d-east-vn" + location = azurerm_resource_group.east.location + resource_group_name = azurerm_resource_group.east.name + address_space = ["10.0.0.0/16"] +} + +resource "azurerm_network_security_group" "east" { + name = "acctest%[1]d-east-nsg" + location = azurerm_resource_group.east.location + resource_group_name = azurerm_resource_group.east.name + + security_rule { + name = "allow_all" + priority = 100 + direction = "Inbound" + access = "Allow" + protocol = "Tcp" + source_port_range = "*" + destination_port_range = "*" + source_address_prefix = "*" + destination_address_prefix = "*" + } +} + +resource "azurerm_subnet" "east" { + name = "acctest%[1]d-east-sn" + resource_group_name = azurerm_resource_group.east.name + virtual_network_name = azurerm_virtual_network.east.name + address_prefixes = ["10.0.1.0/24"] + service_endpoints = ["Microsoft.Storage"] + + delegation { + name = "fs" + service_delegation { + name = "Microsoft.DBforPostgreSQL/flexibleServers" + actions = [ + "Microsoft.Network/virtualNetworks/subnets/join/action", + ] + } + } +} + +resource "azurerm_subnet_network_security_group_association" "east" { + subnet_id = azurerm_subnet.east.id + network_security_group_id = azurerm_network_security_group.east.id +} + +resource "azurerm_private_dns_zone" "east" { + name = "acctest%[1]d-pdz.postgres.database.azure.com" + resource_group_name = azurerm_resource_group.east.name + + depends_on = [azurerm_subnet_network_security_group_association.east] +} + +resource "azurerm_virtual_network_peering" "east" { + name = "east-to-west" + resource_group_name = azurerm_resource_group.east.name + virtual_network_name = azurerm_virtual_network.east.name + remote_virtual_network_id = azurerm_virtual_network.west.id + allow_virtual_network_access = true + allow_forwarded_traffic = true +} + +resource "azurerm_private_dns_zone_virtual_network_link" "east" { + name = "acctest%[1]d-east-pdzvnetlink.com" + private_dns_zone_name = azurerm_private_dns_zone.east.name + virtual_network_id = azurerm_virtual_network.east.id + resource_group_name = azurerm_resource_group.east.name + + depends_on = [azurerm_virtual_network_peering.east] +} + +resource "azurerm_postgresql_flexible_server" "east" { + name = "acctest%[1]d-east-pg" + resource_group_name = azurerm_resource_group.east.name + location = azurerm_resource_group.east.location + version = "13" + public_network_access_enabled = false + administrator_login = "adminTerraform" + administrator_password = "maLTq5SnDBrWfyban7Wz" + sku_name = "GP_Standard_D2s_v3" + + delegated_subnet_id = azurerm_subnet.east.id + private_dns_zone_id = azurerm_private_dns_zone.east.id + + depends_on = [azurerm_private_dns_zone_virtual_network_link.east] + + lifecycle { + ignore_changes = [zone] + } + + timeouts { + create = "120m" + } +} + +resource "azurerm_postgresql_flexible_server_virtual_endpoint" "test" { + name = "acctest%[1]d-endpoint" + source_server_id = azurerm_postgresql_flexible_server.east.id + replica_server_id = azurerm_postgresql_flexible_server.west.id + type = "ReadWrite" +} + +###### WEST RG ###### + +resource "azurerm_resource_group" "west" { + name = "acctest%[1]d-west" + location = "westus" +} + +resource "azurerm_virtual_network" "west" { + name = "acctest%[1]d-west-vn" + location = azurerm_resource_group.west.location + resource_group_name = azurerm_resource_group.west.name + address_space = ["11.0.0.0/16"] +} + +resource "azurerm_network_security_group" "west" { + name = "acctest%[1]d-west-nsg" + location = azurerm_resource_group.west.location + resource_group_name = azurerm_resource_group.west.name + + security_rule { + name = "allow_all" + priority = 100 + direction = "Inbound" + access = "Allow" + protocol = "Tcp" + source_port_range = "*" + destination_port_range = "*" + source_address_prefix = "*" + destination_address_prefix = "*" + } +} + +resource "azurerm_subnet" "west" { + name = "acctest%[1]d-west-sn" + resource_group_name = azurerm_resource_group.west.name + virtual_network_name = azurerm_virtual_network.west.name + address_prefixes = ["11.0.1.0/24"] + service_endpoints = ["Microsoft.Storage"] + + delegation { + name = "fs" + service_delegation { + name = "Microsoft.DBforPostgreSQL/flexibleServers" + actions = [ + "Microsoft.Network/virtualNetworks/subnets/join/action", + ] + } + } +} + +resource "azurerm_subnet_network_security_group_association" "west" { + subnet_id = azurerm_subnet.west.id + network_security_group_id = azurerm_network_security_group.west.id +} + +resource "azurerm_private_dns_zone" "west" { + name = "acctest%[1]d-pdz.postgres.database.azure.com" + resource_group_name = azurerm_resource_group.west.name + + depends_on = [azurerm_subnet_network_security_group_association.west] +} + +resource "azurerm_virtual_network_peering" "west" { + name = "acctest-pfs%[1]d-west-to-east" + resource_group_name = azurerm_resource_group.west.name + virtual_network_name = azurerm_virtual_network.west.name + remote_virtual_network_id = azurerm_virtual_network.east.id + allow_virtual_network_access = true + allow_forwarded_traffic = true +} + +resource "azurerm_private_dns_zone_virtual_network_link" "west" { + name = "acctest%[1]d-west-pdzvnetlink.com" + private_dns_zone_name = azurerm_private_dns_zone.west.name + virtual_network_id = azurerm_virtual_network.west.id + resource_group_name = azurerm_resource_group.west.name + + depends_on = [azurerm_virtual_network_peering.west] +} + +resource "azurerm_postgresql_flexible_server" "west" { + name = "acctest%[1]d-west-pg" + resource_group_name = azurerm_resource_group.west.name + location = azurerm_resource_group.west.location + create_mode = "Replica" + source_server_id = azurerm_postgresql_flexible_server.east.id + version = azurerm_postgresql_flexible_server.east.version + public_network_access_enabled = azurerm_postgresql_flexible_server.east.public_network_access_enabled + sku_name = azurerm_postgresql_flexible_server.east.sku_name + + delegated_subnet_id = azurerm_subnet.west.id + private_dns_zone_id = azurerm_private_dns_zone.west.id + + depends_on = [azurerm_private_dns_zone_virtual_network_link.west] + + lifecycle { + ignore_changes = [zone] + } + + timeouts { + create = "120m" + } +} +`, data.RandomInteger) +} diff --git a/internal/services/resource/resource_group_resource_test.go b/internal/services/resource/resource_group_resource_test.go index 41f680be3041..dc9fc4a932a7 100644 --- a/internal/services/resource/resource_group_resource_test.go +++ b/internal/services/resource/resource_group_resource_test.go @@ -12,7 +12,7 @@ import ( "github.com/hashicorp/go-azure-helpers/lang/pointer" "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks" "github.com/hashicorp/go-azure-sdk/resource-manager/resources/2023-07-01/resourcegroups" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" diff --git a/internal/services/securitycenter/advanced_threat_protection_resource.go b/internal/services/securitycenter/advanced_threat_protection_resource.go index e244afc39dc3..bcd1f0f7c12e 100644 --- a/internal/services/securitycenter/advanced_threat_protection_resource.go +++ b/internal/services/securitycenter/advanced_threat_protection_resource.go @@ -9,6 +9,7 @@ import ( "time" "github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v3.0/security" // nolint: staticcheck + "github.com/hashicorp/go-azure-helpers/lang/pointer" "github.com/hashicorp/terraform-provider-azurerm/helpers/azure" "github.com/hashicorp/terraform-provider-azurerm/helpers/tf" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" @@ -112,8 +113,8 @@ func resourceAdvancedThreatProtectionCreateUpdate(d *pluginsdk.ResourceData, met } return resp, "error", fmt.Errorf("Properties was nil") }, - MinTimeout: 1 * time.Minute, - ContinuousTargetOccurence: 3, + MinTimeout: 30 * time.Second, + ContinuousTargetOccurence: 10, Timeout: time.Until(deadline), } @@ -148,7 +149,7 @@ func resourceAdvancedThreatProtectionRead(d *pluginsdk.ResourceData, meta interf d.Set("target_resource_id", id.TargetResourceID) if atpp := resp.AdvancedThreatProtectionProperties; atpp != nil { - d.Set("enabled", resp.IsEnabled) + d.Set("enabled", pointer.From(resp.IsEnabled)) } return nil diff --git a/internal/services/securitycenter/security_center_subscription_pricing_resource.go b/internal/services/securitycenter/security_center_subscription_pricing_resource.go index d141bcf97265..4f1581d1bb8f 100644 --- a/internal/services/securitycenter/security_center_subscription_pricing_resource.go +++ b/internal/services/securitycenter/security_center_subscription_pricing_resource.go @@ -290,10 +290,16 @@ func expandSecurityCenterSubscriptionPricingExtensions(inputList []interface{}, isEnabled = pricings_v2023_01_01.IsEnabledTrue } output := pricings_v2023_01_01.Extension{ - Name: extensionName, - IsEnabled: isEnabled, - AdditionalExtensionProperties: pointer.To(extensionProperties), + Name: extensionName, + IsEnabled: isEnabled, } + + if vAdditional, ok := extensionProperties[extensionName]; ok { + props, _ := vAdditional.(*interface{}) + p := (*props).(map[string]interface{}) + output.AdditionalExtensionProperties = pointer.To(p) + } + outputList = append(outputList, output) } diff --git a/internal/services/securitycenter/security_center_subscription_pricing_resource_test.go b/internal/services/securitycenter/security_center_subscription_pricing_resource_test.go index cc068d58218e..16962b71ac43 100644 --- a/internal/services/securitycenter/security_center_subscription_pricing_resource_test.go +++ b/internal/services/securitycenter/security_center_subscription_pricing_resource_test.go @@ -60,6 +60,15 @@ func TestAccSecurityCenterSubscriptionPricing_cloudPosture(t *testing.T) { }) } +func TestAccSecurityCenterSubscriptionPricing_storage(t *testing.T) { + acceptance.RunTestsInSequence(t, map[string]map[string]func(t *testing.T){ + "securityCenterSubscriptionPricing": { + "subplan": testAccSecurityCenterSubscriptionPricing_storageAccountSubplan, + "defender": testAccSecurityCenterSubscriptionPricing_storageAccountDefender, + }, + }) +} + func TestAccSecurityCenterSubscriptionPricing_update(t *testing.T) { data := acceptance.BuildTestData(t, "azurerm_security_center_subscription_pricing", "test") r := SecurityCenterSubscriptionPricingResource{} @@ -92,7 +101,7 @@ func TestAccSecurityCenterSubscriptionPricing_cosmosDbs(t *testing.T) { }) } -func TestAccSecurityCenterSubscriptionPricing_storageAccountSubplan(t *testing.T) { +func testAccSecurityCenterSubscriptionPricing_storageAccountSubplan(t *testing.T) { data := acceptance.BuildTestData(t, "azurerm_security_center_subscription_pricing", "test") r := SecurityCenterSubscriptionPricingResource{} @@ -109,6 +118,21 @@ func TestAccSecurityCenterSubscriptionPricing_storageAccountSubplan(t *testing.T }) } +func testAccSecurityCenterSubscriptionPricing_storageAccountDefender(t *testing.T) { + data := acceptance.BuildTestData(t, "azurerm_security_center_subscription_pricing", "test") + r := SecurityCenterSubscriptionPricingResource{} + + data.ResourceSequentialTest(t, r, []acceptance.TestStep{ + { + Config: r.storageAccountDefender(), + Check: acceptance.ComposeTestCheckFunc( + check.That(data.ResourceName).ExistsInAzure(r), + ), + }, + data.ImportStep(), + }) +} + func testAccSecurityCenterSubscriptionPricing_cloudPostureExtension(t *testing.T) { data := acceptance.BuildTestData(t, "azurerm_security_center_subscription_pricing", "test") r := SecurityCenterSubscriptionPricingResource{} @@ -242,6 +266,31 @@ resource "azurerm_security_center_subscription_pricing" "test" { ` } +func (SecurityCenterSubscriptionPricingResource) storageAccountDefender() string { + return ` +provider "azurerm" { + features {} +} + +resource "azurerm_security_center_subscription_pricing" "test" { + tier = "Standard" + resource_type = "StorageAccounts" + subplan = "DefenderForStorageV2" + + extension { + additional_extension_properties = { + "CapGBPerMonthPerStorageAccount" = "5000" + } + name = "OnUploadMalwareScanning" + } + + extension { + name = "SensitiveDataDiscovery" + } +} +` +} + func (SecurityCenterSubscriptionPricingResource) cloudPostureExtension() string { return ` provider "azurerm" { diff --git a/internal/services/servicefabricmanaged/service_fabric_managed_cluster_resource.go b/internal/services/servicefabricmanaged/service_fabric_managed_cluster_resource.go index 3b7a5b638ef6..9fecb69e237b 100644 --- a/internal/services/servicefabricmanaged/service_fabric_managed_cluster_resource.go +++ b/internal/services/servicefabricmanaged/service_fabric_managed_cluster_resource.go @@ -651,7 +651,12 @@ func flattenClusterProperties(cluster *managedcluster.ManagedCluster) *ClusterRe if t := cluster.Tags; t != nil { modelTags := make(map[string]interface{}) for tag, value := range *t { - modelTags[tag] = value + // This tag is temporary and will be removed at a later date. + // More info can be found here https://azure.microsoft.com/en-us/updates/default-outbound-access-for-vms-in-azure-will-be-retired-transition-to-a-new-method-of-internet-access/ + // In the meantime, we'll ignore it when setting tags into state + if !strings.Contains(tag, "SFRP.DisableDefaultOutboundAccess") { + modelTags[tag] = value + } } model.Tags = modelTags } diff --git a/internal/services/springcloud/spring_cloud_app_mysql_association_resource.go b/internal/services/springcloud/spring_cloud_app_mysql_association_resource.go index a392434b7d87..239afbc722b9 100644 --- a/internal/services/springcloud/spring_cloud_app_mysql_association_resource.go +++ b/internal/services/springcloud/spring_cloud_app_mysql_association_resource.go @@ -9,7 +9,7 @@ import ( "time" "github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2017-12-01/servers" - flexibleServers "github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/servers" + flexibleServers "github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servers" "github.com/hashicorp/terraform-provider-azurerm/helpers/tf" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" "github.com/hashicorp/terraform-provider-azurerm/internal/services/springcloud/migration" diff --git a/internal/services/storage/custompollers/data_plane_blob_containers_availability_poller.go b/internal/services/storage/custompollers/data_plane_blob_containers_availability_poller.go index 4d2426b5b069..fb0cf8236555 100644 --- a/internal/services/storage/custompollers/data_plane_blob_containers_availability_poller.go +++ b/internal/services/storage/custompollers/data_plane_blob_containers_availability_poller.go @@ -35,6 +35,11 @@ func NewDataPlaneBlobContainersAvailabilityPoller(ctx context.Context, client *s func (d *DataPlaneBlobContainersAvailabilityPoller) Poll(ctx context.Context) (*pollers.PollResult, error) { resp, err := d.client.GetServiceProperties(ctx, d.accountName) if err != nil { + if resp.HttpResponse == nil { + return nil, pollers.PollingDroppedConnectionError{ + Message: err.Error(), + } + } if !response.WasNotFound(resp.HttpResponse) { return nil, pollers.PollingFailedError{ Message: err.Error(), diff --git a/internal/services/storage/custompollers/data_plane_queues_availability_poller.go b/internal/services/storage/custompollers/data_plane_queues_availability_poller.go index 5d2257b53033..ac589bd611f1 100644 --- a/internal/services/storage/custompollers/data_plane_queues_availability_poller.go +++ b/internal/services/storage/custompollers/data_plane_queues_availability_poller.go @@ -5,6 +5,7 @@ package custompollers import ( "context" + "errors" "fmt" "time" @@ -35,6 +36,10 @@ func NewDataPlaneQueuesAvailabilityPoller(ctx context.Context, client *storageCl func (d *DataPlaneQueuesAvailabilityPoller) Poll(ctx context.Context) (*pollers.PollResult, error) { resp, err := d.client.GetServiceProperties(ctx) + var e pollers.PollingDroppedConnectionError + if errors.As(err, &e) { + return nil, err + } if err != nil { return nil, pollers.PollingFailedError{ Message: err.Error(), diff --git a/internal/services/storage/custompollers/data_plane_static_website_availability_poller.go b/internal/services/storage/custompollers/data_plane_static_website_availability_poller.go index c13667a11c70..9f4f4f718c2e 100644 --- a/internal/services/storage/custompollers/data_plane_static_website_availability_poller.go +++ b/internal/services/storage/custompollers/data_plane_static_website_availability_poller.go @@ -39,6 +39,11 @@ func (d *DataPlaneStaticWebsiteAvailabilityPoller) Poll(ctx context.Context) (*p resp, err := d.client.GetServiceProperties(ctx, d.storageAccountId.StorageAccountName) if err != nil { if !response.WasNotFound(resp.HttpResponse) { + if resp.HttpResponse == nil { + return nil, pollers.PollingDroppedConnectionError{ + Message: err.Error(), + } + } return nil, pollers.PollingFailedError{ Message: err.Error(), HttpResponse: &client.Response{ diff --git a/internal/services/storage/custompollers/storage_share_create_poller.go b/internal/services/storage/custompollers/storage_share_create_poller.go new file mode 100644 index 000000000000..2833afe3ef62 --- /dev/null +++ b/internal/services/storage/custompollers/storage_share_create_poller.go @@ -0,0 +1,52 @@ +package custompollers + +import ( + "context" + "time" + + "github.com/hashicorp/go-azure-helpers/lang/response" + "github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/fileshares" + "github.com/hashicorp/go-azure-sdk/sdk/client/pollers" +) + +var _ pollers.PollerType = storageShareCreatePoller{} + +type storageShareCreatePoller struct { + id fileshares.ShareId + client *fileshares.FileSharesClient + payload fileshares.FileShare +} + +func NewStorageShareCreatePoller(client *fileshares.FileSharesClient, id fileshares.ShareId, payload fileshares.FileShare) *storageShareCreatePoller { + return &storageShareCreatePoller{ + id: id, + client: client, + payload: payload, + } +} + +func (p storageShareCreatePoller) Poll(ctx context.Context) (*pollers.PollResult, error) { + // Note - Whilst this is an antipattern for the Provider, the API provides no way currently to poll for deletion + // to ensure it's removed. To support rapid delete then re-creation we check for 409's that indicate the resource + // is still being removed. + resp, err := p.client.Create(ctx, p.id, p.payload, fileshares.DefaultCreateOperationOptions()) + if err != nil { + if response.WasConflict(resp.HttpResponse) { + return &pollers.PollResult{ + PollInterval: 5 * time.Second, + Status: pollers.PollingStatusInProgress, + }, nil + } + + return &pollers.PollResult{ + HttpResponse: nil, + PollInterval: 5 * time.Second, + Status: pollers.PollingStatusFailed, + }, err + } + + return &pollers.PollResult{ + PollInterval: 5, + Status: pollers.PollingStatusSucceeded, + }, nil +} diff --git a/internal/services/storage/registration.go b/internal/services/storage/registration.go index 1af5be1cc41f..eccf0480f205 100644 --- a/internal/services/storage/registration.go +++ b/internal/services/storage/registration.go @@ -82,6 +82,8 @@ func (r Registration) DataSources() []sdk.DataSource { func (r Registration) Resources() []sdk.Resource { return []sdk.Resource{ + AccountQueuePropertiesResource{}, + AccountStaticWebsiteResource{}, LocalUserResource{}, StorageContainerImmutabilityPolicyResource{}, SyncServerEndpointResource{}, diff --git a/internal/services/storage/shim/queues_data_plane.go b/internal/services/storage/shim/queues_data_plane.go index 8b52b1e9d068..9c9f67796f9e 100644 --- a/internal/services/storage/shim/queues_data_plane.go +++ b/internal/services/storage/shim/queues_data_plane.go @@ -8,6 +8,7 @@ import ( "github.com/hashicorp/go-azure-helpers/lang/pointer" "github.com/hashicorp/go-azure-helpers/lang/response" + "github.com/hashicorp/go-azure-sdk/sdk/client/pollers" "github.com/tombuildsstuff/giovanni/storage/2023-11-03/queue/queues" ) @@ -62,6 +63,11 @@ func (w DataPlaneStorageQueueWrapper) Get(ctx context.Context, queueName string) func (w DataPlaneStorageQueueWrapper) GetServiceProperties(ctx context.Context) (*queues.StorageServiceProperties, error) { serviceProps, err := w.client.GetServiceProperties(ctx) if err != nil { + if serviceProps.HttpResponse == nil { + return nil, pollers.PollingDroppedConnectionError{ + Message: err.Error(), + } + } if response.WasNotFound(serviceProps.HttpResponse) { return nil, nil } diff --git a/internal/services/storage/shim/shares_data_plane.go b/internal/services/storage/shim/shares_data_plane.go index a251059fd1b3..1ed00bbd05f9 100644 --- a/internal/services/storage/shim/shares_data_plane.go +++ b/internal/services/storage/shim/shares_data_plane.go @@ -9,6 +9,7 @@ import ( "github.com/hashicorp/go-azure-helpers/lang/pointer" "github.com/hashicorp/go-azure-helpers/lang/response" + "github.com/hashicorp/go-azure-sdk/sdk/client/pollers" "github.com/tombuildsstuff/giovanni/storage/2023-11-03/file/shares" ) @@ -51,6 +52,11 @@ func (w DataPlaneStorageShareWrapper) Exists(ctx context.Context, shareName stri func (w DataPlaneStorageShareWrapper) Get(ctx context.Context, shareName string) (*StorageShareProperties, error) { props, err := w.client.GetProperties(ctx, shareName) if err != nil { + if props.HttpResponse == nil { + return nil, pollers.PollingDroppedConnectionError{ + Message: err.Error(), + } + } if response.WasNotFound(props.HttpResponse) { return nil, nil } diff --git a/internal/services/storage/storage_account_data_plane_helpers.go b/internal/services/storage/storage_account_data_plane_helpers.go index 5230c8574878..db974e3a51df 100644 --- a/internal/services/storage/storage_account_data_plane_helpers.go +++ b/internal/services/storage/storage_account_data_plane_helpers.go @@ -5,8 +5,10 @@ package storage import ( "context" + "errors" "fmt" "log" + "regexp" "slices" "time" @@ -64,8 +66,10 @@ func waitForDataPlaneToBecomeAvailableForAccount(ctx context.Context, client *cl return fmt.Errorf("building Blob Service Poller: %+v", err) } poller := pollers.NewPoller(pollerType, initialDelayDuration, pollers.DefaultNumberOfDroppedConnectionsToAllow) - if err := poller.PollUntilDone(ctx); err != nil { - return fmt.Errorf("waiting for the Blob Service to become available: %+v", err) + if err = poller.PollUntilDone(ctx); err != nil { + if !connectionError(err) { + return fmt.Errorf("waiting for the Blob Service to become available: %+v", err) + } } } @@ -76,8 +80,10 @@ func waitForDataPlaneToBecomeAvailableForAccount(ctx context.Context, client *cl return fmt.Errorf("building Queues Poller: %+v", err) } poller := pollers.NewPoller(pollerType, initialDelayDuration, pollers.DefaultNumberOfDroppedConnectionsToAllow) - if err := poller.PollUntilDone(ctx); err != nil { - return fmt.Errorf("waiting for the Queues Service to become available: %+v", err) + if err = poller.PollUntilDone(ctx); err != nil { + if !connectionError(err) { + return fmt.Errorf("waiting for the Queues Service to become available: %+v", err) + } } } @@ -88,8 +94,10 @@ func waitForDataPlaneToBecomeAvailableForAccount(ctx context.Context, client *cl return fmt.Errorf("building File Share Poller: %+v", err) } poller := pollers.NewPoller(pollerType, initialDelayDuration, pollers.DefaultNumberOfDroppedConnectionsToAllow) - if err := poller.PollUntilDone(ctx); err != nil { - return fmt.Errorf("waiting for the File Service to become available: %+v", err) + if err = poller.PollUntilDone(ctx); err != nil { + if !connectionError(err) { + return fmt.Errorf("waiting for the File Service to become available: %+v", err) + } } } @@ -100,10 +108,21 @@ func waitForDataPlaneToBecomeAvailableForAccount(ctx context.Context, client *cl return fmt.Errorf("building Static Website Poller: %+v", err) } poller := pollers.NewPoller(pollerType, initialDelayDuration, pollers.DefaultNumberOfDroppedConnectionsToAllow) - if err := poller.PollUntilDone(ctx); err != nil { - return fmt.Errorf("waiting for the Static Website to become available: %+v", err) + if err = poller.PollUntilDone(ctx); err != nil { + if !connectionError(err) { + return fmt.Errorf("waiting for the Static Website to become available: %+v", err) + } } } return nil } + +func connectionError(e error) bool { + var pollingDroppedConnectionError pollers.PollingDroppedConnectionError + if errors.As(e, &pollingDroppedConnectionError) { + return true + } + + return regexp.MustCompile(`dial tcp .*:`).MatchString(e.Error()) || regexp.MustCompile(`EOF$`).MatchString(e.Error()) +} diff --git a/internal/services/storage/storage_account_queue_properties_data_plane_resource.go b/internal/services/storage/storage_account_queue_properties_data_plane_resource.go new file mode 100644 index 000000000000..7d19b6189e39 --- /dev/null +++ b/internal/services/storage/storage_account_queue_properties_data_plane_resource.go @@ -0,0 +1,666 @@ +package storage + +import ( + "context" + "fmt" + "reflect" + "strings" + "time" + + "github.com/hashicorp/go-azure-helpers/lang/pointer" + "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" + "github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts" + "github.com/hashicorp/terraform-provider-azurerm/internal/sdk" + "github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk" + "github.com/hashicorp/terraform-provider-azurerm/internal/tf/validation" + "github.com/tombuildsstuff/giovanni/storage/2023-11-03/queue/queues" +) + +type AccountQueuePropertiesResource struct{} + +var _ sdk.ResourceWithUpdate = AccountQueuePropertiesResource{} + +type AccountQueuePropertiesModel struct { + StorageAccountId string `json:"storage_account_id" tfschema:"storage_account_id"` + CorsRule []AccountQueuePropertiesCorsRule `tfschema:"cors_rule"` + HourMetrics []AccountQueuePropertiesHourMetrics `tfschema:"hour_metrics"` + MinuteMetrics []AccountQueuePropertiesMinuteMetrics `tfschema:"minute_metrics"` + Logging []AccountQueuePropertiesLogging `tfschema:"logging"` +} + +type AccountQueuePropertiesCorsRule struct { + AllowedOrigins []string `tfschema:"allowed_origins"` + AllowedMethods []string `tfschema:"allowed_methods"` + AllowedHeaders []string `tfschema:"allowed_headers"` + ExposedHeaders []string `tfschema:"exposed_headers"` + MaxAgeSeconds int64 `tfschema:"max_age_in_seconds"` +} + +type AccountQueuePropertiesHourMetrics struct { + Version string `tfschema:"version"` + IncludeAPIS bool `tfschema:"include_apis"` + RetentionPolicyDays int64 `tfschema:"retention_policy_days"` +} + +type AccountQueuePropertiesMinuteMetrics struct { + Version string `tfschema:"version"` + IncludeAPIS bool `tfschema:"include_apis"` + RetentionPolicyDays int64 `tfschema:"retention_policy_days"` +} + +type AccountQueuePropertiesLogging struct { + Version string `tfschema:"version"` + Delete bool `tfschema:"delete"` + Read bool `tfschema:"read"` + Write bool `tfschema:"write"` + RetentionPolicyDays int64 `tfschema:"retention_policy_days"` +} + +var defaultCorsProperties = queues.Cors{ + CorsRule: []queues.CorsRule{}, +} + +var defaultHourMetricsProperties = queues.MetricsConfig{ + Version: "1.0", + Enabled: false, + RetentionPolicy: queues.RetentionPolicy{ + Enabled: false, + }, +} + +var defaultMinuteMetricsProperties = queues.MetricsConfig{ + Version: "1.0", + Enabled: false, + RetentionPolicy: queues.RetentionPolicy{ + Enabled: false, + }, +} + +var defaultLoggingProperties = queues.LoggingConfig{ + Version: "1.0", + Delete: false, + Read: false, + Write: false, + RetentionPolicy: queues.RetentionPolicy{ + Enabled: false, + }, +} + +func (s AccountQueuePropertiesResource) Arguments() map[string]*pluginsdk.Schema { + return map[string]*pluginsdk.Schema{ + "storage_account_id": { + Type: pluginsdk.TypeString, + Required: true, + ForceNew: true, + ValidateFunc: commonids.ValidateStorageAccountID, + }, + + "cors_rule": { + Type: pluginsdk.TypeList, + Optional: true, + MaxItems: 5, + Elem: &pluginsdk.Resource{ + Schema: map[string]*pluginsdk.Schema{ + "allowed_origins": { + Type: pluginsdk.TypeList, + Required: true, + MaxItems: 64, + Elem: &pluginsdk.Schema{ + Type: pluginsdk.TypeString, + ValidateFunc: validation.StringIsNotEmpty, + }, + }, + "exposed_headers": { + Type: pluginsdk.TypeList, + Required: true, + MaxItems: 64, + MinItems: 1, + Elem: &pluginsdk.Schema{ + Type: pluginsdk.TypeString, + }, + }, + "allowed_headers": { + Type: pluginsdk.TypeList, + Required: true, + MaxItems: 64, + MinItems: 1, + Elem: &pluginsdk.Schema{ + Type: pluginsdk.TypeString, + }, + }, + "allowed_methods": { + Type: pluginsdk.TypeList, + Required: true, + MaxItems: 64, + Elem: &pluginsdk.Schema{ + Type: pluginsdk.TypeString, + ValidateFunc: validation.StringInSlice([]string{ + "DELETE", + "GET", + "HEAD", + "MERGE", + "POST", + "OPTIONS", + "PUT", + }, false), + }, + }, + "max_age_in_seconds": { + Type: pluginsdk.TypeInt, + Required: true, + ValidateFunc: validation.IntBetween(0, 2000000000), + }, + }, + }, + AtLeastOneOf: []string{"minute_metrics", "hour_metrics", "logging", "cors_rule"}, + }, + + "hour_metrics": { + Type: pluginsdk.TypeList, + Optional: true, + Computed: true, + MaxItems: 1, + Elem: &pluginsdk.Resource{ + Schema: map[string]*pluginsdk.Schema{ + "version": { + Type: pluginsdk.TypeString, + Required: true, + ValidateFunc: validation.StringIsNotEmpty, + }, + "include_apis": { + Type: pluginsdk.TypeBool, + Optional: true, + Default: false, + }, + "retention_policy_days": { + Type: pluginsdk.TypeInt, + Optional: true, + ValidateFunc: validation.IntBetween(1, 365), + }, + }, + }, + AtLeastOneOf: []string{"minute_metrics", "hour_metrics", "logging", "cors_rule"}, + }, + "logging": { + Type: pluginsdk.TypeList, + Optional: true, + Computed: true, + MaxItems: 1, + Elem: &pluginsdk.Resource{ + Schema: map[string]*pluginsdk.Schema{ + "version": { + Type: pluginsdk.TypeString, + Required: true, + ValidateFunc: validation.StringIsNotEmpty, + }, + "delete": { + Type: pluginsdk.TypeBool, + Required: true, + }, + "read": { + Type: pluginsdk.TypeBool, + Required: true, + }, + "write": { + Type: pluginsdk.TypeBool, + Required: true, + }, + "retention_policy_days": { + Type: pluginsdk.TypeInt, + Optional: true, + ValidateFunc: validation.IntBetween(1, 365), + }, + }, + }, + AtLeastOneOf: []string{"minute_metrics", "hour_metrics", "logging", "cors_rule"}, + }, + "minute_metrics": { + Type: pluginsdk.TypeList, + Optional: true, + Computed: true, + MaxItems: 1, + Elem: &pluginsdk.Resource{ + Schema: map[string]*pluginsdk.Schema{ + "version": { + Type: pluginsdk.TypeString, + Required: true, + ValidateFunc: validation.StringIsNotEmpty, + }, + "include_apis": { + Type: pluginsdk.TypeBool, + Optional: true, + Default: false, + }, + "retention_policy_days": { + Type: pluginsdk.TypeInt, + Optional: true, + ValidateFunc: validation.IntBetween(1, 365), + }, + }, + }, + AtLeastOneOf: []string{"minute_metrics", "hour_metrics", "logging", "cors_rule"}, + }, + } +} + +func (s AccountQueuePropertiesResource) Attributes() map[string]*pluginsdk.Schema { + return map[string]*pluginsdk.Schema{} +} + +func (s AccountQueuePropertiesResource) ModelObject() interface{} { + return &AccountQueuePropertiesModel{} +} + +func (s AccountQueuePropertiesResource) ResourceType() string { + return "azurerm_storage_account_queue_properties" +} + +func (s AccountQueuePropertiesResource) IDValidationFunc() pluginsdk.SchemaValidateFunc { + return commonids.ValidateStorageAccountID +} + +func (s AccountQueuePropertiesResource) Create() sdk.ResourceFunc { + return sdk.ResourceFunc{ + Timeout: 30 * time.Minute, + Func: func(ctx context.Context, metadata sdk.ResourceMetaData) error { + storageClient := metadata.Client.Storage + var model AccountQueuePropertiesModel + if err := metadata.Decode(&model); err != nil { + return fmt.Errorf("decoding: %+v", err) + } + + accountID, err := commonids.ParseStorageAccountID(model.StorageAccountId) + if err != nil { + return err + } + + // Get the target account to ensure it supports queues + account, err := storageClient.ResourceManager.StorageAccounts.GetProperties(ctx, *accountID, storageaccounts.DefaultGetPropertiesOperationOptions()) + if err != nil { + return fmt.Errorf("retrieving %s: %+v", *accountID, err) + } + if account.Model == nil { + return fmt.Errorf("retrieving %s: `model` was nil", *accountID) + } + + if account.Model.Sku == nil || account.Model.Sku.Tier == nil || string(account.Model.Sku.Name) == "" { + return fmt.Errorf("could not read SKU details for %s", *accountID) + } + + accountTier := *account.Model.Sku.Tier + accountReplicationTypeParts := strings.Split(string(account.Model.Sku.Name), "_") + if len(accountReplicationTypeParts) != 2 { + return fmt.Errorf("could not read SKU replication type for %s", *accountID) + } + accountReplicationType := accountReplicationTypeParts[1] + + accountDetails, err := storageClient.FindAccount(ctx, accountID.SubscriptionId, accountID.StorageAccountName) + if err != nil { + return err + } + + supportLevel := availableFunctionalityForAccount(accountDetails.Kind, accountTier, accountReplicationType) + + if !supportLevel.supportQueue { + return fmt.Errorf("account %s does not support queues", *accountID) + } + + client, err := storageClient.QueuesDataPlaneClient(ctx, *accountDetails, storageClient.DataPlaneOperationSupportingAnyAuthMethod()) + if err != nil { + return fmt.Errorf("creating Queues Data Plane Client for %s: %+v", accountID, err) + } + + props := DefaultValueForAccountQueueProperties() + + if len(model.CorsRule) >= 1 { + corsRules := make([]queues.CorsRule, 0) + for _, corsRule := range model.CorsRule { + corsRules = append(corsRules, queues.CorsRule{ + AllowedOrigins: strings.Join(corsRule.AllowedOrigins, ","), + AllowedMethods: strings.Join(corsRule.AllowedMethods, ","), + AllowedHeaders: strings.Join(corsRule.AllowedHeaders, ","), + ExposedHeaders: strings.Join(corsRule.ExposedHeaders, ","), + MaxAgeInSeconds: int(corsRule.MaxAgeSeconds), + }) + } + + props.Cors.CorsRule = corsRules + } + + if len(model.HourMetrics) == 1 { + metrics := model.HourMetrics[0] + props.HourMetrics.Enabled = true + props.HourMetrics.Version = metrics.Version + if metrics.RetentionPolicyDays != 0 { + props.HourMetrics.RetentionPolicy = queues.RetentionPolicy{ + Days: int(metrics.RetentionPolicyDays), + Enabled: true, + } + } + + props.HourMetrics.IncludeAPIs = pointer.To(metrics.IncludeAPIS) + } + + if len(model.MinuteMetrics) != 0 { + metrics := model.MinuteMetrics[0] + props.MinuteMetrics.Enabled = true + props.MinuteMetrics.Version = metrics.Version + if metrics.RetentionPolicyDays != 0 { + props.MinuteMetrics.RetentionPolicy = queues.RetentionPolicy{ + Days: int(metrics.RetentionPolicyDays), + Enabled: true, + } + } + + props.MinuteMetrics.IncludeAPIs = pointer.To(metrics.IncludeAPIS) + } + + if len(model.Logging) != 0 { + logging := model.Logging[0] + props.Logging.Version = logging.Version + props.Logging.Delete = logging.Delete + props.Logging.Read = logging.Read + props.Logging.Write = logging.Write + if logging.RetentionPolicyDays != 0 { + props.Logging.RetentionPolicy = queues.RetentionPolicy{ + Enabled: true, + Days: int(logging.RetentionPolicyDays), + } + } + } + + if err = client.UpdateServiceProperties(ctx, props); err != nil { + return fmt.Errorf("updating Queue Properties for %s: %+v", accountID, err) + } + + metadata.SetID(accountID) + + return nil + }, + } +} + +func (s AccountQueuePropertiesResource) Read() sdk.ResourceFunc { + return sdk.ResourceFunc{ + Timeout: 5 * time.Minute, + Func: func(ctx context.Context, metadata sdk.ResourceMetaData) error { + storageClient := metadata.Client.Storage + + var state AccountQueuePropertiesModel + + id, err := commonids.ParseStorageAccountID(metadata.ResourceData.Id()) + if err != nil { + return err + } + + state.StorageAccountId = id.ID() + + account, err := storageClient.FindAccount(ctx, id.SubscriptionId, id.StorageAccountName) + if err != nil { + return metadata.MarkAsGone(id) + } + if account == nil { + return fmt.Errorf("unable to locate %s", *id) + } + + client, err := storageClient.QueuesDataPlaneClient(ctx, *account, storageClient.DataPlaneOperationSupportingAnyAuthMethod()) + if err != nil { + return fmt.Errorf("building Queues Client for %s: %v", *id, err) + } + + props, err := client.GetServiceProperties(ctx) + if err != nil { + return fmt.Errorf("retrieving Queue Properties for %s: %+v", *id, err) + } + + if props != nil { + if props.Cors != nil && !reflect.DeepEqual(*props.Cors, &defaultCorsProperties) { + corsRules := make([]AccountQueuePropertiesCorsRule, 0) + for _, rule := range props.Cors.CorsRule { + corsRule := AccountQueuePropertiesCorsRule{ + AllowedOrigins: strings.Split(rule.AllowedOrigins, ","), + AllowedMethods: strings.Split(rule.AllowedMethods, ","), + AllowedHeaders: strings.Split(rule.AllowedHeaders, ","), + ExposedHeaders: strings.Split(rule.ExposedHeaders, ","), + MaxAgeSeconds: int64(rule.MaxAgeInSeconds), + } + corsRules = append(corsRules, corsRule) + } + state.CorsRule = corsRules + } + + if props.HourMetrics != nil && !reflect.DeepEqual(*props.HourMetrics, &defaultHourMetricsProperties) { + state.HourMetrics = []AccountQueuePropertiesHourMetrics{ + { + Version: props.HourMetrics.Version, + IncludeAPIS: pointer.From(props.HourMetrics.IncludeAPIs), + RetentionPolicyDays: int64(props.HourMetrics.RetentionPolicy.Days), + }, + } + } + + if props.MinuteMetrics != nil && !reflect.DeepEqual(*props.MinuteMetrics, &defaultMinuteMetricsProperties) { + state.MinuteMetrics = []AccountQueuePropertiesMinuteMetrics{ + { + Version: props.MinuteMetrics.Version, + IncludeAPIS: pointer.From(props.MinuteMetrics.IncludeAPIs), + RetentionPolicyDays: int64(props.MinuteMetrics.RetentionPolicy.Days), + }, + } + } + + if props.Logging != nil && !reflect.DeepEqual(*props.Logging, &defaultLoggingProperties) { + state.Logging = []AccountQueuePropertiesLogging{ + { + Version: props.Logging.Version, + Delete: props.Logging.Delete, + Read: props.Logging.Read, + Write: props.Logging.Write, + RetentionPolicyDays: int64(props.Logging.RetentionPolicy.Days), + }, + } + } + } + + return metadata.Encode(&state) + }, + } +} + +func (s AccountQueuePropertiesResource) Delete() sdk.ResourceFunc { + return sdk.ResourceFunc{ + Timeout: 30 * time.Minute, + Func: func(ctx context.Context, metadata sdk.ResourceMetaData) error { + storageClient := metadata.Client.Storage + + id, err := commonids.ParseStorageAccountID(metadata.ResourceData.Id()) + if err != nil { + return err + } + + account, err := storageClient.FindAccount(ctx, id.SubscriptionId, id.StorageAccountName) + if err != nil { + return fmt.Errorf("retrieving %s: %+v", *id, err) + } + if account == nil { + return fmt.Errorf("unable to locate %s", *id) + } + + client, err := storageClient.QueuesDataPlaneClient(ctx, *account, storageClient.DataPlaneOperationSupportingAnyAuthMethod()) + if err != nil { + return fmt.Errorf("building Queues Client for %s: %v", *id, err) + } + + if err = client.UpdateServiceProperties(ctx, DefaultValueForAccountQueueProperties()); err != nil { + return fmt.Errorf("updating Queue Properties for %s: %+v", *id, err) + } + + return nil + }, + } +} + +func (s AccountQueuePropertiesResource) Update() sdk.ResourceFunc { + return sdk.ResourceFunc{ + Timeout: 30 * time.Minute, + Func: func(ctx context.Context, metadata sdk.ResourceMetaData) error { + storageClient := metadata.Client.Storage + + id, err := commonids.ParseStorageAccountID(metadata.ResourceData.Id()) + if err != nil { + return err + } + + account, err := storageClient.FindAccount(ctx, id.SubscriptionId, id.StorageAccountName) + if err != nil { + return fmt.Errorf("retrieving %s: %+v", *id, err) + } + + if account == nil { + return fmt.Errorf("unable to locate %s", *id) + } + + client, err := storageClient.QueuesDataPlaneClient(ctx, *account, storageClient.DataPlaneOperationSupportingAnyAuthMethod()) + if err != nil { + return fmt.Errorf("building Queues Client for %s: %v", *id, err) + } + + props, err := client.GetServiceProperties(ctx) + if err != nil { + return fmt.Errorf("retrieving %s: %+v", *id, err) + } + + var model AccountQueuePropertiesModel + + if err = metadata.Decode(&model); err != nil { + return fmt.Errorf("decoding: %+v", err) + } + + if metadata.ResourceData.HasChange("cors_rule") { + if len(model.CorsRule) >= 1 { + corsRules := make([]queues.CorsRule, 0) + for _, corsRule := range model.CorsRule { + corsRules = append(corsRules, queues.CorsRule{ + AllowedOrigins: strings.Join(corsRule.AllowedOrigins, ","), + AllowedMethods: strings.Join(corsRule.AllowedMethods, ","), + AllowedHeaders: strings.Join(corsRule.AllowedHeaders, ","), + ExposedHeaders: strings.Join(corsRule.ExposedHeaders, ","), + MaxAgeInSeconds: int(corsRule.MaxAgeSeconds), + }) + } + + props.Cors.CorsRule = corsRules + } else { + props.Cors = pointer.To(defaultCorsProperties) + } + } + + if metadata.ResourceData.HasChange("hour_metrics") { + if len(model.HourMetrics) == 1 { + metrics := model.HourMetrics[0] + if metadata.ResourceData.HasChange("hour_metrics.0.version") { + props.HourMetrics.Version = metrics.Version + } + + if metadata.ResourceData.HasChange("hour_metrics.0.include_apis") { + props.HourMetrics.IncludeAPIs = pointer.To(metrics.IncludeAPIS) + } + + if metadata.ResourceData.HasChange("hour_metrics.0.retention_policy_days") { + props.HourMetrics.RetentionPolicy = queues.RetentionPolicy{ + Days: int(metrics.RetentionPolicyDays), + Enabled: true, + } + } + } else { + props.HourMetrics = pointer.To(defaultHourMetricsProperties) + } + } + + if metadata.ResourceData.HasChange("minute_metrics") { + if len(model.MinuteMetrics) == 1 { + metrics := model.MinuteMetrics[0] + if metadata.ResourceData.HasChange("minute_metrics.0.version") { + props.MinuteMetrics.Version = metrics.Version + } + + if metadata.ResourceData.HasChange("minute_metrics.0.include_apis") { + props.MinuteMetrics.IncludeAPIs = pointer.To(metrics.IncludeAPIS) + } + + if metadata.ResourceData.HasChange("minute_metrics.0.retention_policy_days") { + props.MinuteMetrics.RetentionPolicy = queues.RetentionPolicy{ + Days: int(metrics.RetentionPolicyDays), + Enabled: true, + } + } + } else { + props.MinuteMetrics = pointer.To(defaultMinuteMetricsProperties) + } + } + + if metadata.ResourceData.HasChange("logging") { + if len(model.Logging) == 1 { + logging := model.Logging[0] + if metadata.ResourceData.HasChange("logging.0.version") { + props.Logging.Version = logging.Version + } + if metadata.ResourceData.HasChange("logging.0.delete") { + props.Logging.Delete = logging.Delete + } + if metadata.ResourceData.HasChange("logging.0.read") { + props.Logging.Read = logging.Read + } + if metadata.ResourceData.HasChange("logging.0.write") { + props.Logging.Write = logging.Write + } + if metadata.ResourceData.HasChange("logging.0.retention_policy_days") { + props.Logging.RetentionPolicy = queues.RetentionPolicy{ + Days: int(logging.RetentionPolicyDays), + Enabled: true, + } + } + } else { + props.Logging = pointer.To(defaultLoggingProperties) + } + } + + if err = client.UpdateServiceProperties(ctx, *props); err != nil { + return fmt.Errorf("updating Queue Properties for %s: %+v", *id, err) + } + + return nil + }, + } +} + +func DefaultValueForAccountQueueProperties() queues.StorageServiceProperties { + return queues.StorageServiceProperties{ + Logging: &queues.LoggingConfig{ + Version: "1.0", + Delete: false, + Read: false, + Write: false, + RetentionPolicy: queues.RetentionPolicy{ + Enabled: false, + }, + }, + HourMetrics: &queues.MetricsConfig{ + Version: "1.0", + Enabled: false, + RetentionPolicy: queues.RetentionPolicy{ + Enabled: false, + }, + }, + MinuteMetrics: &queues.MetricsConfig{ + Version: "1.0", + Enabled: false, + RetentionPolicy: queues.RetentionPolicy{ + Enabled: false, + }, + }, + Cors: &queues.Cors{ + CorsRule: []queues.CorsRule{}, + }, + } +} diff --git a/internal/services/storage/storage_account_queue_properties_data_plane_resource_test.go b/internal/services/storage/storage_account_queue_properties_data_plane_resource_test.go new file mode 100644 index 000000000000..125818f615ad --- /dev/null +++ b/internal/services/storage/storage_account_queue_properties_data_plane_resource_test.go @@ -0,0 +1,322 @@ +package storage_test + +import ( + "context" + "fmt" + "reflect" + "testing" + + "github.com/hashicorp/go-azure-helpers/lang/pointer" + "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" + "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" + "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" + "github.com/hashicorp/terraform-provider-azurerm/internal/clients" + "github.com/hashicorp/terraform-provider-azurerm/internal/services/storage" + "github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk" +) + +type AccountQueuePropertiesResource struct{} + +func TestAccStorageAccountQueueProperties_corsOnly(t *testing.T) { + data := acceptance.BuildTestData(t, "azurerm_storage_account_queue_properties", "test") + r := AccountQueuePropertiesResource{} + + data.ResourceTest(t, r, []acceptance.TestStep{ + { + Config: r.corsOnly(data), + Check: acceptance.ComposeTestCheckFunc( + check.That(data.ResourceName).ExistsInAzure(r), + ), + }, + data.ImportStep(), + }) +} + +func TestAccStorageAccountQueueProperties_loggingOnly(t *testing.T) { + data := acceptance.BuildTestData(t, "azurerm_storage_account_queue_properties", "test") + r := AccountQueuePropertiesResource{} + + data.ResourceTest(t, r, []acceptance.TestStep{ + { + Config: r.loggingOnly(data), + Check: acceptance.ComposeTestCheckFunc( + check.That(data.ResourceName).ExistsInAzure(r), + ), + }, + data.ImportStep(), + }) +} + +func TestAccStorageAccountQueueProperties_hourMetricsOnly(t *testing.T) { + data := acceptance.BuildTestData(t, "azurerm_storage_account_queue_properties", "test") + r := AccountQueuePropertiesResource{} + + data.ResourceTest(t, r, []acceptance.TestStep{ + { + Config: r.hourMetricsOnly(data), + Check: acceptance.ComposeTestCheckFunc( + check.That(data.ResourceName).ExistsInAzure(r), + ), + }, + data.ImportStep(), + }) +} + +func TestAccStorageAccountQueueProperties_minuteMetricsOnly(t *testing.T) { + data := acceptance.BuildTestData(t, "azurerm_storage_account_queue_properties", "test") + r := AccountQueuePropertiesResource{} + + data.ResourceTest(t, r, []acceptance.TestStep{ + { + Config: r.minuteMetricsOnly(data), + Check: acceptance.ComposeTestCheckFunc( + check.That(data.ResourceName).ExistsInAzure(r), + ), + }, + data.ImportStep(), + }) +} + +func TestAccStorageAccountQueueProperties_update(t *testing.T) { + data := acceptance.BuildTestData(t, "azurerm_storage_account_queue_properties", "test") + r := AccountQueuePropertiesResource{} + + data.ResourceTest(t, r, []acceptance.TestStep{ + { + Config: r.complete(data), + Check: acceptance.ComposeTestCheckFunc( + check.That(data.ResourceName).ExistsInAzure(r), + ), + }, + data.ImportStep(), + { + Config: r.corsOnly(data), + Check: acceptance.ComposeTestCheckFunc( + check.That(data.ResourceName).ExistsInAzure(r), + ), + }, + data.ImportStep(), + { + Config: r.loggingOnly(data), + Check: acceptance.ComposeTestCheckFunc( + check.That(data.ResourceName).ExistsInAzure(r), + ), + }, + data.ImportStep(), + { + Config: r.hourMetricsOnly(data), + Check: acceptance.ComposeTestCheckFunc( + check.That(data.ResourceName).ExistsInAzure(r), + ), + }, + data.ImportStep(), + { + Config: r.minuteMetricsOnly(data), + Check: acceptance.ComposeTestCheckFunc( + check.That(data.ResourceName).ExistsInAzure(r), + ), + }, + data.ImportStep(), + { + Config: r.corsOnly(data), + Check: acceptance.ComposeTestCheckFunc( + check.That(data.ResourceName).ExistsInAzure(r), + ), + }, + data.ImportStep(), + { + Config: r.complete(data), + Check: acceptance.ComposeTestCheckFunc( + check.That(data.ResourceName).ExistsInAzure(r), + ), + }, + data.ImportStep(), + }) +} + +func TestAccStorageAccountQueueProperties_complete(t *testing.T) { + data := acceptance.BuildTestData(t, "azurerm_storage_account_queue_properties", "test") + r := AccountQueuePropertiesResource{} + + data.ResourceTest(t, r, []acceptance.TestStep{ + { + Config: r.complete(data), + Check: acceptance.ComposeTestCheckFunc( + check.That(data.ResourceName).ExistsInAzure(r), + ), + }, + data.ImportStep(), + }) +} + +func (r AccountQueuePropertiesResource) Exists(ctx context.Context, client *clients.Client, state *pluginsdk.InstanceState) (*bool, error) { + id, err := commonids.ParseStorageAccountID(state.ID) + if err != nil { + return nil, err + } + + account, err := client.Storage.FindAccount(ctx, id.SubscriptionId, id.StorageAccountName) + if err != nil { + return nil, fmt.Errorf("retrieving %s: %+v", *id, err) + } + if account == nil { + return nil, fmt.Errorf("unable to locate %s", *id) + } + + queuesClient, err := client.Storage.QueuesDataPlaneClient(ctx, *account, client.Storage.DataPlaneOperationSupportingAnyAuthMethod()) + if err != nil { + return nil, fmt.Errorf("building Queues Client for %s: %v", *id, err) + } + + props, err := queuesClient.GetServiceProperties(ctx) + if err != nil { + return nil, fmt.Errorf("retrieving Queue Properties for %s: %+v", *id, err) + } + + present := !reflect.DeepEqual(storage.DefaultValueForAccountQueueProperties(), props) + return pointer.To(present), nil +} + +func (r AccountQueuePropertiesResource) corsOnly(data acceptance.TestData) string { + return fmt.Sprintf(` +provider "azurerm" { + features {} +} + +%s + +resource "azurerm_storage_account_queue_properties" "test" { + storage_account_id = azurerm_storage_account.test.id + cors_rule { + allowed_origins = ["http://www.example.com"] + exposed_headers = ["x-tempo-*"] + allowed_headers = ["x-tempo-*"] + allowed_methods = ["GET", "PUT"] + max_age_in_seconds = "500" + } + + cors_rule { + allowed_origins = ["http://www.contoso.com"] + exposed_headers = ["x-example-*"] + allowed_headers = ["x-example-*"] + allowed_methods = ["GET"] + max_age_in_seconds = "60" + } +} +`, r.template(data)) +} + +func (r AccountQueuePropertiesResource) hourMetricsOnly(data acceptance.TestData) string { + return fmt.Sprintf(` +provider "azurerm" { + features {} +} + +%s + +resource "azurerm_storage_account_queue_properties" "test" { + storage_account_id = azurerm_storage_account.test.id + hour_metrics { + version = "1.0" + retention_policy_days = 7 + } +} +`, r.template(data)) +} + +func (r AccountQueuePropertiesResource) minuteMetricsOnly(data acceptance.TestData) string { + return fmt.Sprintf(` +provider "azurerm" { + features {} +} + +%s + +resource "azurerm_storage_account_queue_properties" "test" { + storage_account_id = azurerm_storage_account.test.id + minute_metrics { + version = "1.0" + retention_policy_days = 7 + } +} +`, r.template(data)) +} + +func (r AccountQueuePropertiesResource) loggingOnly(data acceptance.TestData) string { + return fmt.Sprintf(` +provider "azurerm" { + features {} +} + +%s + +resource "azurerm_storage_account_queue_properties" "test" { + storage_account_id = azurerm_storage_account.test.id + logging { + version = "1.0" + delete = true + read = true + write = true + retention_policy_days = 7 + } +} +`, r.template(data)) +} + +func (r AccountQueuePropertiesResource) complete(data acceptance.TestData) string { + return fmt.Sprintf(` +provider "azurerm" { + features {} +} + +%s + +resource "azurerm_storage_account_queue_properties" "test" { + storage_account_id = azurerm_storage_account.test.id + cors_rule { + allowed_origins = ["http://www.example.com"] + exposed_headers = ["x-tempo-*"] + allowed_headers = ["x-tempo-*"] + allowed_methods = ["GET", "PUT"] + max_age_in_seconds = "500" + } + + logging { + version = "1.0" + delete = true + read = true + write = true + retention_policy_days = 7 + } + + hour_metrics { + version = "1.0" + retention_policy_days = 7 + } + + minute_metrics { + version = "1.0" + retention_policy_days = 7 + } +} +`, r.template(data)) +} + +func (r AccountQueuePropertiesResource) template(data acceptance.TestData) string { + return fmt.Sprintf(` + +resource "azurerm_resource_group" "test" { + name = "acctestRG-storage-%d" + location = "%s" +} + +resource "azurerm_storage_account" "test" { + name = "unlikely23exst2acct%s" + resource_group_name = azurerm_resource_group.test.name + + location = azurerm_resource_group.test.location + account_tier = "Standard" + account_replication_type = "LRS" +} +`, data.RandomInteger, data.Locations.Primary, data.RandomString) +} diff --git a/internal/services/storage/storage_account_resource.go b/internal/services/storage/storage_account_resource.go index 87e33432fca6..87dda6070658 100644 --- a/internal/services/storage/storage_account_resource.go +++ b/internal/services/storage/storage_account_resource.go @@ -28,7 +28,7 @@ import ( "github.com/hashicorp/terraform-provider-azurerm/internal/clients" "github.com/hashicorp/terraform-provider-azurerm/internal/features" "github.com/hashicorp/terraform-provider-azurerm/internal/locks" - keyVaultClient "github.com/hashicorp/terraform-provider-azurerm/internal/services/keyvault/client" + keyVaultsClient "github.com/hashicorp/terraform-provider-azurerm/internal/services/keyvault/client" keyVaultParse "github.com/hashicorp/terraform-provider-azurerm/internal/services/keyvault/parse" keyVaultValidate "github.com/hashicorp/terraform-provider-azurerm/internal/services/keyvault/validate" managedHsmParse "github.com/hashicorp/terraform-provider-azurerm/internal/services/managedhsm/parse" @@ -209,17 +209,11 @@ func resourceStorageAccount() *pluginsdk.Resource { }, }, - "cross_tenant_replication_enabled": func() *pluginsdk.Schema { - s := &pluginsdk.Schema{ - Type: pluginsdk.TypeBool, - Optional: true, - Default: false, - } - if !features.FourPointOhBeta() { - s.Default = true - } - return s - }(), + "cross_tenant_replication_enabled": { + Type: pluginsdk.TypeBool, + Optional: true, + Default: false, + }, "custom_domain": { Type: pluginsdk.TypeList, @@ -524,108 +518,6 @@ func resourceStorageAccount() *pluginsdk.Resource { }, }, - "queue_properties": { - Type: pluginsdk.TypeList, - Optional: true, - Computed: true, - MaxItems: 1, - Elem: &pluginsdk.Resource{ - Schema: map[string]*pluginsdk.Schema{ - "cors_rule": helpers.SchemaStorageAccountCorsRule(false), - "hour_metrics": { - Type: pluginsdk.TypeList, - Optional: true, - Computed: true, - MaxItems: 1, - Elem: &pluginsdk.Resource{ - Schema: map[string]*pluginsdk.Schema{ - "version": { - Type: pluginsdk.TypeString, - Required: true, - ValidateFunc: validation.StringIsNotEmpty, - }, - // TODO 4.0: Remove this property and determine whether to enable based on existence of the out side block. - "enabled": { - Type: pluginsdk.TypeBool, - Required: true, - }, - "include_apis": { - Type: pluginsdk.TypeBool, - Optional: true, - }, - "retention_policy_days": { - Type: pluginsdk.TypeInt, - Optional: true, - ValidateFunc: validation.IntBetween(1, 365), - }, - }, - }, - }, - "logging": { - Type: pluginsdk.TypeList, - Optional: true, - Computed: true, - MaxItems: 1, - Elem: &pluginsdk.Resource{ - Schema: map[string]*pluginsdk.Schema{ - "version": { - Type: pluginsdk.TypeString, - Required: true, - ValidateFunc: validation.StringIsNotEmpty, - }, - "delete": { - Type: pluginsdk.TypeBool, - Required: true, - }, - "read": { - Type: pluginsdk.TypeBool, - Required: true, - }, - "write": { - Type: pluginsdk.TypeBool, - Required: true, - }, - "retention_policy_days": { - Type: pluginsdk.TypeInt, - Optional: true, - ValidateFunc: validation.IntBetween(1, 365), - }, - }, - }, - }, - "minute_metrics": { - Type: pluginsdk.TypeList, - Optional: true, - Computed: true, - MaxItems: 1, - Elem: &pluginsdk.Resource{ - Schema: map[string]*pluginsdk.Schema{ - "version": { - Type: pluginsdk.TypeString, - Required: true, - ValidateFunc: validation.StringIsNotEmpty, - }, - // TODO 4.0: Remove this property and determine whether to enable based on existence of the out side block. - "enabled": { - Type: pluginsdk.TypeBool, - Required: true, - }, - "include_apis": { - Type: pluginsdk.TypeBool, - Optional: true, - }, - "retention_policy_days": { - Type: pluginsdk.TypeInt, - Optional: true, - ValidateFunc: validation.IntBetween(1, 365), - }, - }, - }, - }, - }, - }, - }, - "routing": { Type: pluginsdk.TypeList, Optional: true, @@ -658,7 +550,6 @@ func resourceStorageAccount() *pluginsdk.Resource { "share_properties": { Type: pluginsdk.TypeList, Optional: true, - // (@jackofallops) TODO - This should not be computed, however, this would be a breaking change with unknown implications for user data so needs to be addressed for 4.0 Computed: true, MaxItems: 1, Elem: &pluginsdk.Resource{ @@ -749,27 +640,6 @@ func resourceStorageAccount() *pluginsdk.Resource { }, }, - // lintignore:XS003 - "static_website": { - Type: pluginsdk.TypeList, - Optional: true, - MaxItems: 1, - Elem: &pluginsdk.Resource{ - Schema: map[string]*pluginsdk.Schema{ - "error_404_document": { - Type: pluginsdk.TypeString, - Optional: true, - ValidateFunc: validation.StringIsNotEmpty, - }, - "index_document": { - Type: pluginsdk.TypeString, - Optional: true, - ValidateFunc: validation.StringIsNotEmpty, - }, - }, - }, - }, - "queue_encryption_key_type": { Type: pluginsdk.TypeString, Optional: true, @@ -1246,6 +1116,15 @@ func resourceStorageAccount() *pluginsdk.Resource { } } + if !features.FivePointOhBeta() && !v.(*clients.Client).Features.Storage.DataPlaneAvailable { + if _, ok := d.GetOk("queue_properties"); ok { + return fmt.Errorf("cannot configure 'queue_properties' when the Provider Feature 'data_plane_available' is set to 'false'") + } + if _, ok := d.GetOk("static_website"); ok { + return fmt.Errorf("cannot configure 'static_website' when the Provider Feature 'data_plane_available' is set to 'false'") + } + } + return nil }), pluginsdk.ForceNewIfChange("account_replication_type", func(ctx context.Context, old, new, meta interface{}) bool { @@ -1266,28 +1145,144 @@ func resourceStorageAccount() *pluginsdk.Resource { ), } - if !features.FourPointOhBeta() { - resource.Schema["https_traffic_only_enabled"].Computed = true - resource.Schema["https_traffic_only_enabled"].Default = nil - - resource.Schema["enable_https_traffic_only"] = &pluginsdk.Schema{ - Type: pluginsdk.TypeBool, - Optional: true, - Computed: true, - ConflictsWith: []string{"https_traffic_only_enabled"}, - Deprecated: "The property `enable_https_traffic_only` has been superseded by `https_traffic_only_enabled` and will be removed in v4.0 of the AzureRM Provider.", + if !features.FivePointOhBeta() { + // lintignore:XS003 + resource.Schema["static_website"] = &pluginsdk.Schema{ + Type: pluginsdk.TypeList, + Optional: true, + Computed: true, + MaxItems: 1, + Elem: &pluginsdk.Resource{ + Schema: map[string]*pluginsdk.Schema{ + "error_404_document": { + Type: pluginsdk.TypeString, + Optional: true, + ValidateFunc: validation.StringIsNotEmpty, + }, + "index_document": { + Type: pluginsdk.TypeString, + Optional: true, + ValidateFunc: validation.StringIsNotEmpty, + }, + }, + }, + Deprecated: "this block has been deprecated and superseded by the `azurerm_storage_account_static_website` resource and will be removed in v5.0 of the AzureRM provider", } } + resource.Schema["queue_properties"] = &pluginsdk.Schema{ + Type: pluginsdk.TypeList, + Optional: true, + Computed: true, + MaxItems: 1, + Elem: &pluginsdk.Resource{ + Schema: map[string]*pluginsdk.Schema{ + "cors_rule": helpers.SchemaStorageAccountCorsRule(false), + "hour_metrics": { + Type: pluginsdk.TypeList, + Optional: true, + Computed: true, + MaxItems: 1, + Elem: &pluginsdk.Resource{ + Schema: map[string]*pluginsdk.Schema{ + "version": { + Type: pluginsdk.TypeString, + Required: true, + ValidateFunc: validation.StringIsNotEmpty, + }, + "enabled": { + Type: pluginsdk.TypeBool, + Required: true, + }, + "include_apis": { + Type: pluginsdk.TypeBool, + Optional: true, + }, + "retention_policy_days": { + Type: pluginsdk.TypeInt, + Optional: true, + ValidateFunc: validation.IntBetween(1, 365), + }, + }, + }, + }, + "logging": { + Type: pluginsdk.TypeList, + Optional: true, + Computed: true, + MaxItems: 1, + Elem: &pluginsdk.Resource{ + Schema: map[string]*pluginsdk.Schema{ + "version": { + Type: pluginsdk.TypeString, + Required: true, + ValidateFunc: validation.StringIsNotEmpty, + }, + "delete": { + Type: pluginsdk.TypeBool, + Required: true, + }, + "read": { + Type: pluginsdk.TypeBool, + Required: true, + }, + "write": { + Type: pluginsdk.TypeBool, + Required: true, + }, + "retention_policy_days": { + Type: pluginsdk.TypeInt, + Optional: true, + ValidateFunc: validation.IntBetween(1, 365), + }, + }, + }, + }, + "minute_metrics": { + Type: pluginsdk.TypeList, + Optional: true, + Computed: true, + MaxItems: 1, + Elem: &pluginsdk.Resource{ + Schema: map[string]*pluginsdk.Schema{ + "version": { + Type: pluginsdk.TypeString, + Required: true, + ValidateFunc: validation.StringIsNotEmpty, + }, + // TODO 4.0: Remove this property and determine whether to enable based on existence of the out side block. + "enabled": { + Type: pluginsdk.TypeBool, + Required: true, + }, + "include_apis": { + Type: pluginsdk.TypeBool, + Optional: true, + }, + "retention_policy_days": { + Type: pluginsdk.TypeInt, + Optional: true, + ValidateFunc: validation.IntBetween(1, 365), + }, + }, + }, + }, + }, + }, + Deprecated: "this block has been deprecated and superseded by the `azurerm_storage_account_queue_properties` resource and will be removed in v5.0 of the AzureRM provider", + } + return resource } func resourceStorageAccountCreate(d *pluginsdk.ResourceData, meta interface{}) error { tenantId := meta.(*clients.Client).Account.TenantId subscriptionId := meta.(*clients.Client).Account.SubscriptionId - client := meta.(*clients.Client).Storage.ResourceManager.StorageAccounts - storageClient := meta.(*clients.Client).Storage + storageUtils := meta.(*clients.Client).Storage + storageClient := meta.(*clients.Client).Storage.ResourceManager + client := storageClient.StorageAccounts keyVaultClient := meta.(*clients.Client).KeyVault + dataPlaneAvailable := meta.(*clients.Client).Features.Storage.DataPlaneAvailable ctx, cancel := timeouts.ForCreate(meta.(*clients.Client).StopContext, d) defer cancel() @@ -1322,11 +1317,6 @@ func resourceStorageAccountCreate(d *pluginsdk.ResourceData, meta interface{}) e // nolint staticcheck if v, ok := d.GetOkExists("https_traffic_only_enabled"); ok { httpsTrafficOnlyEnabled = v.(bool) - } else if !features.FourPointOhBeta() { - // nolint staticcheck - if v, ok := d.GetOkExists("enable_https_traffic_only"); ok { - httpsTrafficOnlyEnabled = v.(bool) - } } dnsEndpointType := d.Get("dns_endpoint_type").(string) @@ -1440,7 +1430,7 @@ func resourceStorageAccountCreate(d *pluginsdk.ResourceData, meta interface{}) e payload.Properties.RoutingPreference = expandAccountRoutingPreference(v.([]interface{})) } - // TODO 4.0: look into standardizing this across resources that support CMK and at the very least look at improving the UX + // TODO look into standardizing this across resources that support CMK and at the very least look at improving the UX // for encryption of blob, file, table and queue // // By default (by leaving empty), the table and queue encryption key type is set to "Service". While users can change it to "Account" so that @@ -1482,21 +1472,70 @@ func resourceStorageAccountCreate(d *pluginsdk.ResourceData, meta interface{}) e if account.Model == nil { return fmt.Errorf("retrieving %s: `model` was nil", id) } - if err := storageClient.AddToCache(id, *account.Model); err != nil { + if err := storageUtils.AddToCache(id, *account.Model); err != nil { return fmt.Errorf("populating cache for %s: %+v", id, err) } - dataPlaneAccount, err := storageClient.FindAccount(ctx, id.SubscriptionId, id.StorageAccountName) - if err != nil { - return fmt.Errorf("retrieving %s: %+v", id, err) - } - if dataPlaneAccount == nil { - return fmt.Errorf("unable to locate %q", id) - } - supportLevel := availableFunctionalityForAccount(accountKind, accountTier, replicationType) - if err := waitForDataPlaneToBecomeAvailableForAccount(ctx, storageClient, dataPlaneAccount, supportLevel); err != nil { - return fmt.Errorf("waiting for the Data Plane for %s to become available: %+v", id, err) + // Start of Data Plane access - this entire block can be removed for 5.0, as the data_plane_available flag becomes redundant at that time. + if !features.FivePointOhBeta() && dataPlaneAvailable { + dataPlaneClient := meta.(*clients.Client).Storage + dataPlaneAccount, err := storageUtils.FindAccount(ctx, id.SubscriptionId, id.StorageAccountName) + if err != nil { + return fmt.Errorf("retrieving %s: %+v", id, err) + } + if dataPlaneAccount == nil { + return fmt.Errorf("unable to locate %q", id) + } + + if err := waitForDataPlaneToBecomeAvailableForAccount(ctx, dataPlaneClient, dataPlaneAccount, supportLevel); err != nil { + return fmt.Errorf("waiting for the Data Plane for %s to become available: %+v", id, err) + } + + if val, ok := d.GetOk("queue_properties"); ok { + if !supportLevel.supportQueue { + return fmt.Errorf("`queue_properties` aren't supported for account kind %q in sku tier %q", accountKind, accountTier) + } + + queueClient, err := dataPlaneClient.QueuesDataPlaneClient(ctx, *dataPlaneAccount, dataPlaneClient.DataPlaneOperationSupportingAnyAuthMethod()) + if err != nil { + return fmt.Errorf("building Queues Client: %s", err) + } + + queueProperties, err := expandAccountQueueProperties(val.([]interface{})) + if err != nil { + return fmt.Errorf("expanding `queue_properties`: %+v", err) + } + + if err = queueClient.UpdateServiceProperties(ctx, *queueProperties); err != nil { + return fmt.Errorf("updating Queue Properties: %+v", err) + } + + if err = d.Set("queue_properties", val); err != nil { + return fmt.Errorf("setting `queue_properties`: %+v", err) + } + } + + if val, ok := d.GetOk("static_website"); ok { + if !supportLevel.supportStaticWebsite { + return fmt.Errorf("`static_website` aren't supported for account kind %q in sku tier %q", accountKind, accountTier) + } + + accountsClient, err := dataPlaneClient.AccountsDataPlaneClient(ctx, *dataPlaneAccount, dataPlaneClient.DataPlaneOperationSupportingAnyAuthMethod()) + if err != nil { + return fmt.Errorf("building Accounts Data Plane Client: %s", err) + } + + staticWebsiteProps := expandAccountStaticWebsiteProperties(val.([]interface{})) + + if _, err = accountsClient.SetServiceProperties(ctx, id.StorageAccountName, staticWebsiteProps); err != nil { + return fmt.Errorf("updating `static_website`: %+v", err) + } + + if err = d.Set("static_website", val); err != nil { + return fmt.Errorf("setting `static_website`: %+v", err) + } + } } if val, ok := d.GetOk("blob_properties"); ok { @@ -1547,31 +1586,11 @@ func resourceStorageAccountCreate(d *pluginsdk.ResourceData, meta interface{}) e } } - if _, err = storageClient.ResourceManager.BlobService.SetServiceProperties(ctx, id, *blobProperties); err != nil { + if _, err = storageClient.BlobService.SetServiceProperties(ctx, id, *blobProperties); err != nil { return fmt.Errorf("updating `blob_properties`: %+v", err) } } - if val, ok := d.GetOk("queue_properties"); ok { - if !supportLevel.supportQueue { - return fmt.Errorf("`queue_properties` aren't supported for account kind %q in sku tier %q", accountKind, accountTier) - } - - queueClient, err := storageClient.QueuesDataPlaneClient(ctx, *dataPlaneAccount, storageClient.DataPlaneOperationSupportingAnyAuthMethod()) - if err != nil { - return fmt.Errorf("building Queues Client: %s", err) - } - - queueProperties, err := expandAccountQueueProperties(val.([]interface{})) - if err != nil { - return fmt.Errorf("expanding `queue_properties`: %+v", err) - } - - if err = queueClient.UpdateServiceProperties(ctx, *queueProperties); err != nil { - return fmt.Errorf("updating Queue Properties: %+v", err) - } - } - if val, ok := d.GetOk("share_properties"); ok { if !supportLevel.supportShare { return fmt.Errorf("`share_properties` aren't supported for account kind %q in sku tier %q", accountKind, accountTier) @@ -1592,35 +1611,18 @@ func resourceStorageAccountCreate(d *pluginsdk.ResourceData, meta interface{}) e } } - if _, err = storageClient.ResourceManager.FileService.SetServiceProperties(ctx, id, sharePayload); err != nil { + if _, err = storageClient.FileService.SetServiceProperties(ctx, id, sharePayload); err != nil { return fmt.Errorf("updating `share_properties`: %+v", err) } } - if val, ok := d.GetOk("static_website"); ok { - if !supportLevel.supportStaticWebsite { - return fmt.Errorf("`static_website` aren't supported for account kind %q in sku tier %q", accountKind, accountTier) - } - - accountsClient, err := storageClient.AccountsDataPlaneClient(ctx, *dataPlaneAccount, storageClient.DataPlaneOperationSupportingAnyAuthMethod()) - if err != nil { - return fmt.Errorf("building Accounts Data Plane Client: %s", err) - } - - staticWebsiteProps := expandAccountStaticWebsiteProperties(val.([]interface{})) - - if _, err = accountsClient.SetServiceProperties(ctx, id.StorageAccountName, staticWebsiteProps); err != nil { - return fmt.Errorf("updating `static_website`: %+v", err) - } - } - return resourceStorageAccountRead(d, meta) } func resourceStorageAccountUpdate(d *pluginsdk.ResourceData, meta interface{}) error { tenantId := meta.(*clients.Client).Account.TenantId - storageClient := meta.(*clients.Client).Storage - client := storageClient.ResourceManager.StorageAccounts + storageClient := meta.(*clients.Client).Storage.ResourceManager + client := storageClient.StorageAccounts keyVaultClient := meta.(*clients.Client).KeyVault ctx, cancel := timeouts.ForUpdate(meta.(*clients.Client).StopContext, d) defer cancel() @@ -1755,11 +1757,6 @@ func resourceStorageAccountUpdate(d *pluginsdk.ResourceData, meta interface{}) e if d.HasChange("https_traffic_only_enabled") { props.SupportsHTTPSTrafficOnly = pointer.To(d.Get("https_traffic_only_enabled").(bool)) } - if !features.FourPointOhBeta() { - if d.HasChange("enable_https_traffic_only") { - props.SupportsHTTPSTrafficOnly = pointer.To(d.Get("enable_https_traffic_only").(bool)) - } - } if d.HasChange("large_file_share_enabled") { // largeFileSharesState can only be set to `Enabled` and not `Disabled`, even if it is currently `Disabled` @@ -1890,7 +1887,7 @@ func resourceStorageAccountUpdate(d *pluginsdk.ResourceData, meta interface{}) e RestorePolicy: expandAccountBlobPropertiesRestorePolicy(v.([]interface{})), }, } - if _, err := storageClient.ResourceManager.BlobService.SetServiceProperties(ctx, *id, blobPayload); err != nil { + if _, err := storageClient.BlobService.SetServiceProperties(ctx, *id, blobPayload); err != nil { return fmt.Errorf("updating Azure Storage Account blob restore policy %q: %+v", id.StorageAccountName, err) } } @@ -1904,36 +1901,64 @@ func resourceStorageAccountUpdate(d *pluginsdk.ResourceData, meta interface{}) e } } - if _, err = storageClient.ResourceManager.BlobService.SetServiceProperties(ctx, *id, *blobProperties); err != nil { + if _, err = storageClient.BlobService.SetServiceProperties(ctx, *id, *blobProperties); err != nil { return fmt.Errorf("updating `blob_properties` for %s: %+v", *id, err) } } - if d.HasChange("queue_properties") { - if !supportLevel.supportQueue { - return fmt.Errorf("`queue_properties` aren't supported for account kind %q in sku tier %q", accountKind, accountTier) - } + if !features.FivePointOhBeta() { + dataPlaneClient := meta.(*clients.Client).Storage + if d.HasChange("queue_properties") { + if !supportLevel.supportQueue { + return fmt.Errorf("`queue_properties` aren't supported for account kind %q in sku tier %q", accountKind, accountTier) + } - account, err := storageClient.FindAccount(ctx, id.SubscriptionId, id.StorageAccountName) - if err != nil { - return fmt.Errorf("retrieving %s: %+v", *id, err) - } - if account == nil { - return fmt.Errorf("unable to locate %s", *id) - } + account, err := dataPlaneClient.FindAccount(ctx, id.SubscriptionId, id.StorageAccountName) + if err != nil { + return fmt.Errorf("retrieving %s: %+v", *id, err) + } + if account == nil { + return fmt.Errorf("unable to locate %s", *id) + } - queueClient, err := storageClient.QueuesDataPlaneClient(ctx, *account, storageClient.DataPlaneOperationSupportingAnyAuthMethod()) - if err != nil { - return fmt.Errorf("building Queues Client: %s", err) - } + queueClient, err := dataPlaneClient.QueuesDataPlaneClient(ctx, *account, dataPlaneClient.DataPlaneOperationSupportingAnyAuthMethod()) + if err != nil { + return fmt.Errorf("building Queues Client: %s", err) + } - queueProperties, err := expandAccountQueueProperties(d.Get("queue_properties").([]interface{})) - if err != nil { - return fmt.Errorf("expanding `queue_properties` for %s: %+v", *id, err) + queueProperties, err := expandAccountQueueProperties(d.Get("queue_properties").([]interface{})) + if err != nil { + return fmt.Errorf("expanding `queue_properties` for %s: %+v", *id, err) + } + + if err = queueClient.UpdateServiceProperties(ctx, *queueProperties); err != nil { + return fmt.Errorf("updating Queue Properties for %s: %+v", *id, err) + } } - if err = queueClient.UpdateServiceProperties(ctx, *queueProperties); err != nil { - return fmt.Errorf("updating Queue Properties for %s: %+v", *id, err) + if d.HasChange("static_website") { + if !supportLevel.supportStaticWebsite { + return fmt.Errorf("`static_website` aren't supported for account kind %q in sku tier %q", accountKind, accountTier) + } + + account, err := dataPlaneClient.FindAccount(ctx, id.SubscriptionId, id.StorageAccountName) + if err != nil { + return fmt.Errorf("retrieving %s: %+v", *id, err) + } + if account == nil { + return fmt.Errorf("unable to locate %s", *id) + } + + accountsClient, err := dataPlaneClient.AccountsDataPlaneClient(ctx, *account, dataPlaneClient.DataPlaneOperationSupportingAnyAuthMethod()) + if err != nil { + return fmt.Errorf("building Data Plane client for %s: %+v", *id, err) + } + + staticWebsiteProps := expandAccountStaticWebsiteProperties(d.Get("static_website").([]interface{})) + + if _, err = accountsClient.SetServiceProperties(ctx, id.StorageAccountName, staticWebsiteProps); err != nil { + return fmt.Errorf("updating `static_website` for %s: %+v", *id, err) + } } } @@ -1955,42 +1980,19 @@ func resourceStorageAccountUpdate(d *pluginsdk.ResourceData, meta interface{}) e sharePayload.Properties.ProtocolSettings.Smb.Multichannel = nil } - if _, err = storageClient.ResourceManager.FileService.SetServiceProperties(ctx, *id, sharePayload); err != nil { + if _, err = storageClient.FileService.SetServiceProperties(ctx, *id, sharePayload); err != nil { return fmt.Errorf("updating File Share Properties for %s: %+v", *id, err) } } - if d.HasChange("static_website") { - if !supportLevel.supportStaticWebsite { - return fmt.Errorf("`static_website` aren't supported for account kind %q in sku tier %q", accountKind, accountTier) - } - - account, err := storageClient.FindAccount(ctx, id.SubscriptionId, id.StorageAccountName) - if err != nil { - return fmt.Errorf("retrieving %s: %+v", *id, err) - } - if account == nil { - return fmt.Errorf("unable to locate %s", *id) - } - - accountsClient, err := storageClient.AccountsDataPlaneClient(ctx, *account, storageClient.DataPlaneOperationSupportingAnyAuthMethod()) - if err != nil { - return fmt.Errorf("building Data Plane client for %s: %+v", *id, err) - } - - staticWebsiteProps := expandAccountStaticWebsiteProperties(d.Get("static_website").([]interface{})) - - if _, err = accountsClient.SetServiceProperties(ctx, id.StorageAccountName, staticWebsiteProps); err != nil { - return fmt.Errorf("updating `static_website` for %s: %+v", *id, err) - } - } - return resourceStorageAccountRead(d, meta) } func resourceStorageAccountRead(d *pluginsdk.ResourceData, meta interface{}) error { - storageClient := meta.(*clients.Client).Storage - client := storageClient.ResourceManager.StorageAccounts + storageUtils := meta.(*clients.Client).Storage + storageClient := meta.(*clients.Client).Storage.ResourceManager + client := storageClient.StorageAccounts + dataPlaneAvailable := meta.(*clients.Client).Features.Storage.DataPlaneAvailable env := meta.(*clients.Client).Account.Environment ctx, cancel := timeouts.ForRead(meta.(*clients.Client).StopContext, d) defer cancel() @@ -2016,7 +2018,7 @@ func resourceStorageAccountRead(d *pluginsdk.ResourceData, meta interface{}) err } // we then need to find the storage account - account, err := storageClient.FindAccount(ctx, id.SubscriptionId, id.StorageAccountName) + account, err := storageUtils.FindAccount(ctx, id.SubscriptionId, id.StorageAccountName) if err != nil { return fmt.Errorf("retrieving %s: %+v", *id, err) } @@ -2080,9 +2082,6 @@ func resourceStorageAccountRead(d *pluginsdk.ResourceData, meta interface{}) err } d.Set("cross_tenant_replication_enabled", pointer.From(props.AllowCrossTenantReplication)) d.Set("https_traffic_only_enabled", pointer.From(props.SupportsHTTPSTrafficOnly)) - if !features.FourPointOhBeta() { - d.Set("enable_https_traffic_only", pointer.From(props.SupportsHTTPSTrafficOnly)) - } d.Set("is_hns_enabled", pointer.From(props.IsHnsEnabled)) d.Set("nfsv3_enabled", pointer.From(props.IsNfsV3Enabled)) d.Set("primary_location", pointer.From(props.PrimaryLocation)) @@ -2213,7 +2212,7 @@ func resourceStorageAccountRead(d *pluginsdk.ResourceData, meta interface{}) err blobProperties := make([]interface{}, 0) if supportLevel.supportBlob { - blobProps, err := storageClient.ResourceManager.BlobService.GetServiceProperties(ctx, *id) + blobProps, err := storageClient.BlobService.GetServiceProperties(ctx, *id) if err != nil { return fmt.Errorf("reading blob properties for %s: %+v", *id, err) } @@ -2224,28 +2223,9 @@ func resourceStorageAccountRead(d *pluginsdk.ResourceData, meta interface{}) err return fmt.Errorf("setting `blob_properties` for %s: %+v", *id, err) } - queueProperties := make([]interface{}, 0) - if supportLevel.supportQueue { - queueClient, err := storageClient.QueuesDataPlaneClient(ctx, *account, storageClient.DataPlaneOperationSupportingAnyAuthMethod()) - if err != nil { - return fmt.Errorf("building Queues Client: %s", err) - } - - queueProps, err := queueClient.GetServiceProperties(ctx) - if err != nil { - return fmt.Errorf("retrieving queue properties for %s: %+v", *id, err) - } - - queueProperties = flattenAccountQueueProperties(queueProps) - } - - if err := d.Set("queue_properties", queueProperties); err != nil { - return fmt.Errorf("setting `queue_properties`: %+v", err) - } - shareProperties := make([]interface{}, 0) if supportLevel.supportShare { - shareProps, err := storageClient.ResourceManager.FileService.GetServiceProperties(ctx, *id) + shareProps, err := storageClient.FileService.GetServiceProperties(ctx, *id) if err != nil { return fmt.Errorf("retrieving share properties for %s: %+v", *id, err) } @@ -2256,30 +2236,58 @@ func resourceStorageAccountRead(d *pluginsdk.ResourceData, meta interface{}) err return fmt.Errorf("setting `share_properties` for %s: %+v", *id, err) } - staticWebsiteProperties := make([]interface{}, 0) - if supportLevel.supportStaticWebsite { - accountsClient, err := storageClient.AccountsDataPlaneClient(ctx, *account, storageClient.DataPlaneOperationSupportingAnyAuthMethod()) - if err != nil { - return fmt.Errorf("building Accounts Data Plane Client: %s", err) + if !features.FivePointOhBeta() && dataPlaneAvailable { + dataPlaneClient := meta.(*clients.Client).Storage + queueProperties := make([]interface{}, 0) + if supportLevel.supportQueue { + queueClient, err := dataPlaneClient.QueuesDataPlaneClient(ctx, *account, dataPlaneClient.DataPlaneOperationSupportingAnyAuthMethod()) + if err != nil { + return fmt.Errorf("building Queues Client: %s", err) + } + + queueProps, err := queueClient.GetServiceProperties(ctx) + if err != nil { + // Queue properties is a data plane only service, so we tolerate connection errors here in case of + // firewalls and other connectivity issues that are not guaranteed. + if !connectionError(err) { + return fmt.Errorf("retrieving queue properties for %s: %+v", *id, err) + } + } + + queueProperties = flattenAccountQueueProperties(queueProps) + } + if err := d.Set("queue_properties", queueProperties); err != nil { + return fmt.Errorf("setting `queue_properties`: %+v", err) } - staticWebsiteProps, err := accountsClient.GetServiceProperties(ctx, id.StorageAccountName) - if err != nil { - return fmt.Errorf("retrieving static website properties for %s: %+v", *id, err) + staticWebsiteProperties := make([]interface{}, 0) + if supportLevel.supportStaticWebsite { + accountsClient, err := dataPlaneClient.AccountsDataPlaneClient(ctx, *account, dataPlaneClient.DataPlaneOperationSupportingAnyAuthMethod()) + if err != nil { + return fmt.Errorf("building Accounts Data Plane Client: %s", err) + } + + staticWebsiteProps, err := accountsClient.GetServiceProperties(ctx, id.StorageAccountName) + if err != nil { + if !connectionError(err) { + return fmt.Errorf("retrieving static website properties for %s: %+v", *id, err) + } + } + + staticWebsiteProperties = flattenAccountStaticWebsiteProperties(staticWebsiteProps) } - staticWebsiteProperties = flattenAccountStaticWebsiteProperties(staticWebsiteProps) - } - if err := d.Set("static_website", staticWebsiteProperties); err != nil { - return fmt.Errorf("setting `static_website`: %+v", err) + if err = d.Set("static_website", staticWebsiteProperties); err != nil { + return fmt.Errorf("setting `static_website`: %+v", err) + } } return nil } func resourceStorageAccountDelete(d *pluginsdk.ResourceData, meta interface{}) error { - storageClient := meta.(*clients.Client).Storage - client := storageClient.ResourceManager.StorageAccounts + storageUtils := meta.(*clients.Client).Storage + client := meta.(*clients.Client).Storage.ResourceManager.StorageAccounts ctx, cancel := timeouts.ForDelete(meta.(*clients.Client).StopContext, d) defer cancel() @@ -2296,6 +2304,7 @@ func resourceStorageAccountDelete(d *pluginsdk.ResourceData, meta interface{}) e if response.WasNotFound(existing.HttpResponse) { return nil } + return fmt.Errorf("retrieving %s: %+v", *id, err) } @@ -2330,7 +2339,7 @@ func resourceStorageAccountDelete(d *pluginsdk.ResourceData, meta interface{}) e } // remove this from the cache - storageClient.RemoveAccountFromCache(*id) + storageUtils.RemoveAccountFromCache(*id) return nil } @@ -2360,7 +2369,7 @@ func flattenAccountCustomDomain(input *storageaccounts.CustomDomain) []interface return output } -func expandAccountCustomerManagedKey(ctx context.Context, keyVaultClient *keyVaultClient.Client, subscriptionId string, input []interface{}, accountTier storageaccounts.SkuTier, accountKind storageaccounts.Kind, expandedIdentity identity.LegacySystemAndUserAssignedMap, queueEncryptionKeyType, tableEncryptionKeyType storageaccounts.KeyType) (*storageaccounts.Encryption, error) { +func expandAccountCustomerManagedKey(ctx context.Context, keyVaultClient *keyVaultsClient.Client, subscriptionId string, input []interface{}, accountTier storageaccounts.SkuTier, accountKind storageaccounts.Kind, expandedIdentity identity.LegacySystemAndUserAssignedMap, queueEncryptionKeyType, tableEncryptionKeyType storageaccounts.KeyType) (*storageaccounts.Encryption, error) { if accountKind == storageaccounts.KindStorage { if queueEncryptionKeyType == storageaccounts.KeyTypeAccount { return nil, fmt.Errorf("`queue_encryption_key_type = %q` cannot be used with account kind `%q`", string(storageaccounts.KeyTypeAccount), string(storageaccounts.KindStorage)) diff --git a/internal/services/storage/storage_account_resource_test.go b/internal/services/storage/storage_account_resource_test.go index 2c88afa756cb..b05e6ad5de4d 100644 --- a/internal/services/storage/storage_account_resource_test.go +++ b/internal/services/storage/storage_account_resource_test.go @@ -17,6 +17,7 @@ import ( "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" + "github.com/hashicorp/terraform-provider-azurerm/internal/features" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk" "github.com/hashicorp/terraform-provider-azurerm/utils" ) @@ -754,6 +755,10 @@ func TestAccStorageAccount_blobProperties_kindStorageNotSupportLastAccessTimeEna } func TestAccStorageAccount_queueProperties(t *testing.T) { + if features.FivePointOhBeta() { + t.Skip("test not valid in 5.0") + } + data := acceptance.BuildTestData(t, "azurerm_storage_account", "test") r := StorageAccountResource{} @@ -790,6 +795,10 @@ func TestAccStorageAccount_queueProperties(t *testing.T) { } func TestAccStorageAccount_staticWebsiteEnabled(t *testing.T) { + if features.FivePointOhBeta() { + t.Skip("test not valid in 5.0") + } + data := acceptance.BuildTestData(t, "azurerm_storage_account", "test") r := StorageAccountResource{} @@ -820,6 +829,10 @@ func TestAccStorageAccount_staticWebsiteEnabled(t *testing.T) { } func TestAccStorageAccount_staticWebsitePropertiesForStorageV2(t *testing.T) { + if features.FivePointOhBeta() { + t.Skip("test not valid in 5.0") + } + data := acceptance.BuildTestData(t, "azurerm_storage_account", "test") r := StorageAccountResource{} @@ -842,6 +855,10 @@ func TestAccStorageAccount_staticWebsitePropertiesForStorageV2(t *testing.T) { } func TestAccStorageAccount_staticWebsitePropertiesForBlockBlobStorage(t *testing.T) { + if features.FivePointOhBeta() { + t.Skip("test not valid in 5.0") + } + data := acceptance.BuildTestData(t, "azurerm_storage_account", "test") r := StorageAccountResource{} @@ -1695,6 +1712,10 @@ func TestAccStorageAccount_StorageV1_blobProperties(t *testing.T) { } func TestAccStorageAccount_StorageV1_queuePropertiesLRS(t *testing.T) { + if features.FivePointOhBeta() { + t.Skip("test not valid in 5.0") + } + data := acceptance.BuildTestData(t, "azurerm_storage_account", "test") r := StorageAccountResource{} @@ -1710,6 +1731,10 @@ func TestAccStorageAccount_StorageV1_queuePropertiesLRS(t *testing.T) { } func TestAccStorageAccount_StorageV1_queuePropertiesGRS(t *testing.T) { + if features.FivePointOhBeta() { + t.Skip("test not valid in 5.0") + } + data := acceptance.BuildTestData(t, "azurerm_storage_account", "test") r := StorageAccountResource{} @@ -1725,6 +1750,10 @@ func TestAccStorageAccount_StorageV1_queuePropertiesGRS(t *testing.T) { } func TestAccStorageAccount_StorageV1_queuePropertiesRAGRS(t *testing.T) { + if features.FivePointOhBeta() { + t.Skip("test not valid in 5.0") + } + data := acceptance.BuildTestData(t, "azurerm_storage_account", "test") r := StorageAccountResource{} @@ -1784,6 +1813,52 @@ func TestAccStorageAccount_StorageV1_sharePropertiesRAGRS(t *testing.T) { }) } +func TestAccStorageAccount_noDataPlane(t *testing.T) { + data := acceptance.BuildTestData(t, "azurerm_storage_account", "test") + r := StorageAccountResource{} + + data.ResourceTest(t, r, []acceptance.TestStep{ + { + Config: r.noDataPlane(data), + Check: acceptance.ComposeTestCheckFunc( + check.That(data.ResourceName).ExistsInAzure(r), + ), + }, + data.ImportStep(), + }) +} + +func TestAccStorageAccount_noDataPlaneQueueShouldError(t *testing.T) { + if features.FivePointOhBeta() { + t.Skip("test not valid in 5.0") + } + data := acceptance.BuildTestData(t, "azurerm_storage_account", "test") + r := StorageAccountResource{} + + data.ResourceTest(t, r, []acceptance.TestStep{ + { + Config: r.noDataPlaneExpectQueueError(data), + ExpectError: regexp.MustCompile("cannot configure 'queue_properties' when the Provider Feature 'data_plane_available' is set to 'false'"), + }, + }) +} + +func TestAccStorageAccount_noDataPlaneWebsiteShouldError(t *testing.T) { + if features.FivePointOhBeta() { + t.Skip("test not valid in 5.0") + } + + data := acceptance.BuildTestData(t, "azurerm_storage_account", "test") + r := StorageAccountResource{} + + data.ResourceTest(t, r, []acceptance.TestStep{ + { + Config: r.noDataPlaneExpectWebsiteError(data), + ExpectError: regexp.MustCompile("cannot configure 'static_website' when the Provider Feature 'data_plane_available' is set to 'false'"), + }, + }) +} + func (r StorageAccountResource) Exists(ctx context.Context, client *clients.Client, state *pluginsdk.InstanceState) (*bool, error) { id, err := commonids.ParseStorageAccountID(state.ID) if err != nil { @@ -5222,3 +5297,108 @@ resource "azurerm_key_vault_managed_hardware_security_module_key" "test" { } `, data.RandomString, data.Locations.Primary, data.RandomInteger) } + +func (r StorageAccountResource) noDataPlane(data acceptance.TestData) string { + return fmt.Sprintf(` +provider "azurerm" { + features { + storage { + data_plane_available = false + } + } +} + +resource "azurerm_resource_group" "test" { + name = "acctestRG-storage-%d" + location = "%s" +} + +resource "azurerm_storage_account" "test" { + name = "unlikely23exst2acct%s" + resource_group_name = azurerm_resource_group.test.name + + location = azurerm_resource_group.test.location + account_tier = "Standard" + account_replication_type = "LRS" + + tags = { + environment = "production" + } +} +`, data.RandomInteger, data.Locations.Primary, data.RandomString) +} + +func (r StorageAccountResource) noDataPlaneExpectQueueError(data acceptance.TestData) string { + return fmt.Sprintf(` +provider "azurerm" { + features { + storage { + data_plane_available = false + } + } +} + +resource "azurerm_resource_group" "test" { + name = "acctestRG-storage-%d" + location = "%s" +} + +resource "azurerm_storage_account" "test" { + name = "unlikely23exst2acct%s" + resource_group_name = azurerm_resource_group.test.name + + location = azurerm_resource_group.test.location + account_tier = "Standard" + account_replication_type = "LRS" + + queue_properties { + logging { + version = "1.0" + delete = true + read = true + write = true + retention_policy_days = 7 + } + } + + tags = { + environment = "production" + } +} +`, data.RandomInteger, data.Locations.Primary, data.RandomString) +} + +func (r StorageAccountResource) noDataPlaneExpectWebsiteError(data acceptance.TestData) string { + return fmt.Sprintf(` +provider "azurerm" { + features { + storage { + data_plane_available = false + } + } +} + +resource "azurerm_resource_group" "test" { + name = "acctestRG-storage-%d" + location = "%s" +} + +resource "azurerm_storage_account" "test" { + name = "unlikely23exst2acct%s" + resource_group_name = azurerm_resource_group.test.name + + location = azurerm_resource_group.test.location + account_tier = "Standard" + account_replication_type = "LRS" + + static_website { + index_document = "index.html" + error_404_document = "404.html" + } + + tags = { + environment = "production" + } +} +`, data.RandomInteger, data.Locations.Primary, data.RandomString) +} diff --git a/internal/services/storage/storage_account_static_website_data_plane_resource.go b/internal/services/storage/storage_account_static_website_data_plane_resource.go new file mode 100644 index 000000000000..f46b7e1fabdc --- /dev/null +++ b/internal/services/storage/storage_account_static_website_data_plane_resource.go @@ -0,0 +1,268 @@ +package storage + +import ( + "context" + "fmt" + "strings" + "time" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" + "github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts" + "github.com/hashicorp/terraform-provider-azurerm/internal/sdk" + "github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk" + "github.com/hashicorp/terraform-provider-azurerm/internal/tf/validation" + "github.com/tombuildsstuff/giovanni/storage/2023-11-03/blob/accounts" +) + +type AccountStaticWebsiteResource struct{} + +var _ sdk.ResourceWithUpdate = AccountStaticWebsiteResource{} + +type AccountStaticWebsiteResourceModel struct { + StorageAccountId string `tfschema:"storage_account_id"` + Error404Document string `tfschema:"error_404_document"` + IndexDocument string `tfschema:"index_document"` +} + +func (a AccountStaticWebsiteResource) Arguments() map[string]*pluginsdk.Schema { + return map[string]*pluginsdk.Schema{ + "storage_account_id": { + Type: pluginsdk.TypeString, + Required: true, + ForceNew: true, + ValidateFunc: commonids.ValidateStorageAccountID, + }, + + "error_404_document": { + Type: pluginsdk.TypeString, + Optional: true, + ValidateFunc: validation.StringIsNotEmpty, + AtLeastOneOf: []string{"error_404_document", "index_document"}, + }, + + "index_document": { + Type: pluginsdk.TypeString, + Optional: true, + ValidateFunc: validation.StringIsNotEmpty, + AtLeastOneOf: []string{"error_404_document", "index_document"}, + }, + } +} + +func (a AccountStaticWebsiteResource) Attributes() map[string]*pluginsdk.Schema { + return map[string]*pluginsdk.Schema{} +} + +func (a AccountStaticWebsiteResource) ModelObject() interface{} { + return &AccountStaticWebsiteResourceModel{} +} + +func (a AccountStaticWebsiteResource) ResourceType() string { + return "azurerm_storage_account_static_website" +} + +func (a AccountStaticWebsiteResource) IDValidationFunc() pluginsdk.SchemaValidateFunc { + return commonids.ValidateStorageAccountID +} + +func (a AccountStaticWebsiteResource) Create() sdk.ResourceFunc { + return sdk.ResourceFunc{ + Timeout: 30 * time.Minute, + Func: func(ctx context.Context, metadata sdk.ResourceMetaData) error { + storageClient := metadata.Client.Storage + var model AccountStaticWebsiteResourceModel + if err := metadata.Decode(&model); err != nil { + return fmt.Errorf("decoding: %+v", err) + } + + accountID, err := commonids.ParseStorageAccountID(model.StorageAccountId) + if err != nil { + return err + } + + // Get the target account to ensure it supports queues + account, err := storageClient.ResourceManager.StorageAccounts.GetProperties(ctx, *accountID, storageaccounts.DefaultGetPropertiesOperationOptions()) + if err != nil { + return fmt.Errorf("retrieving %s: %+v", *accountID, err) + } + if account.Model == nil { + return fmt.Errorf("retrieving %s: `model` was nil", *accountID) + } + + if account.Model.Sku == nil || account.Model.Sku.Tier == nil || string(account.Model.Sku.Name) == "" { + return fmt.Errorf("could not read SKU details for %s", *accountID) + } + + accountTier := *account.Model.Sku.Tier + accountReplicationTypeParts := strings.Split(string(account.Model.Sku.Name), "_") + if len(accountReplicationTypeParts) != 2 { + return fmt.Errorf("could not read SKU replication type for %s", *accountID) + } + accountReplicationType := accountReplicationTypeParts[1] + + accountDetails, err := storageClient.FindAccount(ctx, accountID.SubscriptionId, accountID.StorageAccountName) + if err != nil { + return err + } + + supportLevel := availableFunctionalityForAccount(accountDetails.Kind, accountTier, accountReplicationType) + + if !supportLevel.supportStaticWebsite { + return fmt.Errorf("account %s does not support Static Websites", *accountID) + } + + client, err := storageClient.AccountsDataPlaneClient(ctx, *accountDetails, storageClient.DataPlaneOperationSupportingAnyAuthMethod()) + if err != nil { + return fmt.Errorf("building Accounts Data Plane Client: %s", err) + } + + properties := accounts.StorageServiceProperties{ + StaticWebsite: &accounts.StaticWebsite{ + Enabled: true, + }, + } + if model.IndexDocument != "" { + properties.StaticWebsite.IndexDocument = model.IndexDocument + } + if model.Error404Document != "" { + properties.StaticWebsite.ErrorDocument404Path = model.Error404Document + } + + if _, err = client.SetServiceProperties(ctx, accountID.StorageAccountName, properties); err != nil { + return fmt.Errorf("creating static website for %s: %+v", accountID, err) + } + + metadata.SetID(accountID) + + return nil + }, + } +} + +func (a AccountStaticWebsiteResource) Read() sdk.ResourceFunc { + return sdk.ResourceFunc{ + Timeout: 5 * time.Minute, + Func: func(ctx context.Context, metadata sdk.ResourceMetaData) error { + storageClient := metadata.Client.Storage + + var state AccountStaticWebsiteResourceModel + + id, err := commonids.ParseStorageAccountID(metadata.ResourceData.Id()) + if err != nil { + return err + } + + state.StorageAccountId = id.ID() + + accountDetails, err := storageClient.FindAccount(ctx, id.SubscriptionId, id.StorageAccountName) + if err != nil { + return metadata.MarkAsGone(id) + } + + accountsClient, err := storageClient.AccountsDataPlaneClient(ctx, *accountDetails, storageClient.DataPlaneOperationSupportingAnyAuthMethod()) + if err != nil { + return fmt.Errorf("building Accounts Data Plane Client for %s: %+v", *id, err) + } + + props, err := accountsClient.GetServiceProperties(ctx, id.StorageAccountName) + if err != nil { + return fmt.Errorf("retrieving static website properties for %s: %+v", *id, err) + } + + if website := props.StaticWebsite; website != nil { + state.IndexDocument = website.IndexDocument + state.Error404Document = website.ErrorDocument404Path + } + + return metadata.Encode(&state) + }, + } +} + +func (a AccountStaticWebsiteResource) Delete() sdk.ResourceFunc { + return sdk.ResourceFunc{ + Timeout: 30 * time.Minute, + Func: func(ctx context.Context, metadata sdk.ResourceMetaData) error { + storageClient := metadata.Client.Storage + + id, err := commonids.ParseStorageAccountID(metadata.ResourceData.Id()) + if err != nil { + return err + } + + accountDetails, err := storageClient.FindAccount(ctx, id.SubscriptionId, id.StorageAccountName) + if err != nil { + // If we don't find the account we can safely assume we don't need to remove the website since it must already be deleted + return nil + } + + properties := accounts.StorageServiceProperties{ + StaticWebsite: &accounts.StaticWebsite{ + Enabled: false, + }, + } + + client, err := storageClient.AccountsDataPlaneClient(ctx, *accountDetails, storageClient.DataPlaneOperationSupportingAnyAuthMethod()) + if err != nil { + return fmt.Errorf("building Accounts Data Plane Client: %s", err) + } + + if _, err = client.SetServiceProperties(ctx, id.StorageAccountName, properties); err != nil { + return fmt.Errorf("deleting static website for %s: %+v", id, err) + } + + return nil + }, + } +} + +func (a AccountStaticWebsiteResource) Update() sdk.ResourceFunc { + return sdk.ResourceFunc{ + Timeout: 30 * time.Minute, + Func: func(ctx context.Context, metadata sdk.ResourceMetaData) error { + storageClient := metadata.Client.Storage + var model AccountStaticWebsiteResourceModel + if err := metadata.Decode(&model); err != nil { + return fmt.Errorf("decoding: %+v", err) + } + + id, err := commonids.ParseStorageAccountID(metadata.ResourceData.Id()) + if err != nil { + return err + } + + accountDetails, err := storageClient.FindAccount(ctx, id.SubscriptionId, id.StorageAccountName) + if err != nil { + return err + } + + client, err := storageClient.AccountsDataPlaneClient(ctx, *accountDetails, storageClient.DataPlaneOperationSupportingAnyAuthMethod()) + if err != nil { + return fmt.Errorf("building Accounts Data Plane Client: %s", err) + } + + props, err := client.GetServiceProperties(ctx, id.StorageAccountName) + if err != nil || props.StaticWebsite == nil { + return fmt.Errorf("retrieving static website properties for %s: %+v", *id, err) + } + + properties := accounts.StorageServiceProperties{ + StaticWebsite: props.StaticWebsite, + } + + if metadata.ResourceData.HasChange("index_document") { + properties.StaticWebsite.IndexDocument = model.IndexDocument + } + + if metadata.ResourceData.HasChange("error_404_document") { + properties.StaticWebsite.ErrorDocument404Path = model.Error404Document + } + + if _, err = client.SetServiceProperties(ctx, id.StorageAccountName, properties); err != nil { + return fmt.Errorf("updating static website for %s: %+v", *id, err) + } + + return nil + }, + } +} diff --git a/internal/services/storage/storage_account_static_website_data_plane_resource_test.go b/internal/services/storage/storage_account_static_website_data_plane_resource_test.go new file mode 100644 index 000000000000..1af89c0f784d --- /dev/null +++ b/internal/services/storage/storage_account_static_website_data_plane_resource_test.go @@ -0,0 +1,180 @@ +package storage_test + +import ( + "context" + "fmt" + "testing" + + "github.com/hashicorp/go-azure-helpers/lang/pointer" + "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" + "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" + "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" + "github.com/hashicorp/terraform-provider-azurerm/internal/clients" + "github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk" +) + +type AccountStaticWebsiteResource struct{} + +func TestAccountStaticWebsiteResource_complete(t *testing.T) { + data := acceptance.BuildTestData(t, "azurerm_storage_account_static_website", "test") + r := AccountStaticWebsiteResource{} + + data.ResourceTest(t, r, []acceptance.TestStep{ + { + Config: r.complete(data), + Check: acceptance.ComposeTestCheckFunc( + check.That(data.ResourceName).ExistsInAzure(r), + ), + }, + data.ImportStep(), + }) +} +func TestAccountStaticWebsiteResource_update(t *testing.T) { + data := acceptance.BuildTestData(t, "azurerm_storage_account_static_website", "test") + r := AccountStaticWebsiteResource{} + + data.ResourceTest(t, r, []acceptance.TestStep{ + { + Config: r.complete(data), + Check: acceptance.ComposeTestCheckFunc( + check.That(data.ResourceName).ExistsInAzure(r), + ), + }, + data.ImportStep(), + { + Config: r.withIndex(data), + Check: acceptance.ComposeTestCheckFunc( + check.That(data.ResourceName).ExistsInAzure(r), + ), + }, + data.ImportStep(), + { + Config: r.with404(data), + Check: acceptance.ComposeTestCheckFunc( + check.That(data.ResourceName).ExistsInAzure(r), + ), + }, + data.ImportStep(), + { + Config: r.complete(data), + Check: acceptance.ComposeTestCheckFunc( + check.That(data.ResourceName).ExistsInAzure(r), + ), + }, + data.ImportStep(), + }) +} + +func TestAccountStaticWebsiteResource_with404(t *testing.T) { + data := acceptance.BuildTestData(t, "azurerm_storage_account_static_website", "test") + r := AccountStaticWebsiteResource{} + + data.ResourceTest(t, r, []acceptance.TestStep{ + { + Config: r.with404(data), + Check: acceptance.ComposeTestCheckFunc( + check.That(data.ResourceName).ExistsInAzure(r), + ), + }, + data.ImportStep(), + }) +} + +func TestAccountStaticWebsiteResource_withIndex(t *testing.T) { + data := acceptance.BuildTestData(t, "azurerm_storage_account_static_website", "test") + r := AccountStaticWebsiteResource{} + + data.ResourceTest(t, r, []acceptance.TestStep{ + { + Config: r.withIndex(data), + Check: acceptance.ComposeTestCheckFunc( + check.That(data.ResourceName).ExistsInAzure(r), + ), + }, + data.ImportStep(), + }) +} + +func (r AccountStaticWebsiteResource) Exists(ctx context.Context, client *clients.Client, state *pluginsdk.InstanceState) (*bool, error) { + id, err := commonids.ParseStorageAccountID(state.ID) + if err != nil { + return nil, err + } + + accountDetails, err := client.Storage.FindAccount(ctx, id.SubscriptionId, id.StorageAccountName) + if err != nil { + return nil, fmt.Errorf("retrieving %s: %+v", *id, err) + } + if accountDetails == nil { + return nil, fmt.Errorf("unable to locate %s", *id) + } + + accountsClient, err := client.Storage.AccountsDataPlaneClient(ctx, *accountDetails, client.Storage.DataPlaneOperationSupportingAnyAuthMethod()) + if err != nil { + return nil, fmt.Errorf("building Accounts Data Plane Client for %s: %+v", *id, err) + } + + props, err := accountsClient.GetServiceProperties(ctx, id.StorageAccountName) + if err != nil { + return nil, fmt.Errorf("retrieving static website properties for %s: %+v", *id, err) + } + + if props.StaticWebsite == nil { + return nil, nil + } + + return pointer.To(props.StaticWebsite.Enabled), nil +} + +func (r AccountStaticWebsiteResource) complete(data acceptance.TestData) string { + return fmt.Sprintf(` +%s + +resource "azurerm_storage_account_static_website" "test" { + storage_account_id = azurerm_storage_account.test.id + error_404_document = "sadpanda_2.html" + index_document = "index_2.html" +} +`, r.template(data)) +} + +func (r AccountStaticWebsiteResource) with404(data acceptance.TestData) string { + return fmt.Sprintf(` +%s + +resource "azurerm_storage_account_static_website" "test" { + storage_account_id = azurerm_storage_account.test.id + error_404_document = "sadpanda.html" +} +`, r.template(data)) +} + +func (r AccountStaticWebsiteResource) withIndex(data acceptance.TestData) string { + return fmt.Sprintf(` +%s + +resource "azurerm_storage_account_static_website" "test" { + storage_account_id = azurerm_storage_account.test.id + index_document = "index.html" +} +`, r.template(data)) +} + +func (r AccountStaticWebsiteResource) template(data acceptance.TestData) string { + return fmt.Sprintf(` + +resource "azurerm_resource_group" "test" { + name = "acctestRG-storage-%d" + location = "%s" +} + +resource "azurerm_storage_account" "test" { + name = "unlikely23exst2acct%s" + resource_group_name = azurerm_resource_group.test.name + + location = azurerm_resource_group.test.location + account_tier = "Standard" + account_replication_type = "LRS" +} +`, data.RandomInteger, data.Locations.Primary, data.RandomString) +} diff --git a/internal/services/storage/storage_container_data_source.go b/internal/services/storage/storage_container_data_source.go index b82840f72d9c..3ed6e9ba9f6a 100644 --- a/internal/services/storage/storage_container_data_source.go +++ b/internal/services/storage/storage_container_data_source.go @@ -7,17 +7,20 @@ import ( "fmt" "time" + "github.com/hashicorp/go-azure-helpers/lang/pointer" "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" + "github.com/hashicorp/terraform-provider-azurerm/internal/features" "github.com/hashicorp/terraform-provider-azurerm/internal/services/storage/client" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk" + "github.com/hashicorp/terraform-provider-azurerm/internal/tf/validation" "github.com/hashicorp/terraform-provider-azurerm/internal/timeouts" "github.com/tombuildsstuff/giovanni/storage/2023-11-03/blob/accounts" "github.com/tombuildsstuff/giovanni/storage/2023-11-03/blob/containers" ) func dataSourceStorageContainer() *pluginsdk.Resource { - return &pluginsdk.Resource{ + r := &pluginsdk.Resource{ Read: dataSourceStorageContainerRead, Timeouts: &pluginsdk.ResourceTimeout{ @@ -30,9 +33,10 @@ func dataSourceStorageContainer() *pluginsdk.Resource { Required: true, }, - "storage_account_name": { - Type: pluginsdk.TypeString, - Required: true, + "storage_account_id": { + Type: pluginsdk.TypeString, + Required: true, + ValidateFunc: commonids.ValidateStorageAccountID, }, "container_access_type": { @@ -52,7 +56,6 @@ func dataSourceStorageContainer() *pluginsdk.Resource { "metadata": MetaDataComputedSchema(), - // TODO: support for ACL's, Legal Holds and Immutability Policies "has_immutability_policy": { Type: pluginsdk.TypeBool, Computed: true, @@ -62,77 +65,144 @@ func dataSourceStorageContainer() *pluginsdk.Resource { Type: pluginsdk.TypeBool, Computed: true, }, + }, + } - "resource_manager_id": { - Type: pluginsdk.TypeString, - Computed: true, + if !features.FivePointOhBeta() { + r.Schema["resource_manager_id"] = &pluginsdk.Schema{ + Type: pluginsdk.TypeString, + Computed: true, + Deprecated: "this property has been deprecated in favour of `id` and will be removed in version 5.0 of the Provider.", + } + + r.Schema["storage_account_name"] = &pluginsdk.Schema{ + Type: pluginsdk.TypeString, + Optional: true, + ValidateFunc: validation.StringIsNotEmpty, + ExactlyOneOf: []string{ + "storage_account_name", + "storage_account_id", }, - }, + } + + r.Schema["storage_account_id"] = &pluginsdk.Schema{ + Type: pluginsdk.TypeString, + Optional: true, + ValidateFunc: commonids.ValidateStorageAccountID, + ExactlyOneOf: []string{ + "storage_account_name", + "storage_account_id", + }, + } } + + return r } func dataSourceStorageContainerRead(d *pluginsdk.ResourceData, meta interface{}) error { - storageClient := meta.(*clients.Client).Storage + containerClient := meta.(*clients.Client).Storage.ResourceManager.BlobContainers subscriptionId := meta.(*clients.Client).Account.SubscriptionId ctx, cancel := timeouts.ForRead(meta.(*clients.Client).StopContext, d) defer cancel() containerName := d.Get("name").(string) - accountName := d.Get("storage_account_name").(string) - - account, err := storageClient.FindAccount(ctx, subscriptionId, accountName) - if err != nil { - return fmt.Errorf("retrieving Storage Account %q for Container %q: %v", accountName, containerName, err) - } - if account == nil { - return fmt.Errorf("locating Storage Account %q for Container %q", accountName, containerName) - } - - containersDataPlaneClient, err := storageClient.ContainersDataPlaneClient(ctx, *account, storageClient.DataPlaneOperationSupportingAnyAuthMethod()) - if err != nil { - return fmt.Errorf("building Containers Client: %v", err) - } - // Determine the blob endpoint, so we can build a data plane ID - endpoint, err := account.DataPlaneEndpoint(client.EndpointTypeBlob) - if err != nil { - return fmt.Errorf("determining Blob endpoint: %v", err) + if !features.FivePointOhBeta() { + storageClient := meta.(*clients.Client).Storage + accountName := d.Get("storage_account_name").(string) + if accountName != "" { + account, err := storageClient.FindAccount(ctx, subscriptionId, accountName) + if err != nil { + return fmt.Errorf("retrieving Storage Account %q for Container %q: %v", accountName, containerName, err) + } + if account == nil { + return fmt.Errorf("locating Storage Account %q for Container %q", accountName, containerName) + } + + containersDataPlaneClient, err := storageClient.ContainersDataPlaneClient(ctx, *account, storageClient.DataPlaneOperationSupportingAnyAuthMethod()) + if err != nil { + return fmt.Errorf("building Containers Client: %v", err) + } + + // Determine the blob endpoint, so we can build a data plane ID + endpoint, err := account.DataPlaneEndpoint(client.EndpointTypeBlob) + if err != nil { + return fmt.Errorf("determining Blob endpoint: %v", err) + } + + // Parse the blob endpoint as a data plane account ID + accountId, err := accounts.ParseAccountID(*endpoint, storageClient.StorageDomainSuffix) + if err != nil { + return fmt.Errorf("parsing Account ID: %v", err) + } + + id := containers.NewContainerID(*accountId, containerName) + + props, err := containersDataPlaneClient.Get(ctx, containerName) + if err != nil { + return fmt.Errorf("retrieving %s: %v", id, err) + } + if props == nil { + return fmt.Errorf("retrieving %s: result was nil", id) + } + + d.SetId(id.ID()) + + d.Set("name", containerName) + d.Set("storage_account_name", accountName) + d.Set("container_access_type", flattenStorageContainerAccessLevel(props.AccessLevel)) + + d.Set("default_encryption_scope", props.DefaultEncryptionScope) + d.Set("encryption_scope_override_enabled", !props.EncryptionScopeOverrideDisabled) + + if err = d.Set("metadata", FlattenMetaData(props.MetaData)); err != nil { + return fmt.Errorf("setting `metadata`: %v", err) + } + + d.Set("has_immutability_policy", props.HasImmutabilityPolicy) + d.Set("has_legal_hold", props.HasLegalHold) + + resourceManagerId := commonids.NewStorageContainerID(account.StorageAccountId.SubscriptionId, account.StorageAccountId.ResourceGroupName, account.StorageAccountId.StorageAccountName, containerName) + d.Set("resource_manager_id", resourceManagerId.ID()) + + return nil + } } - // Parse the blob endpoint as a data plane account ID - accountId, err := accounts.ParseAccountID(*endpoint, storageClient.StorageDomainSuffix) + accountId, err := commonids.ParseStorageAccountID(d.Get("storage_account_id").(string)) if err != nil { - return fmt.Errorf("parsing Account ID: %v", err) + return err } - id := containers.NewContainerID(*accountId, containerName) + id := commonids.NewStorageContainerID(accountId.SubscriptionId, accountId.ResourceGroupName, accountId.StorageAccountName, containerName) - props, err := containersDataPlaneClient.Get(ctx, containerName) + container, err := containerClient.Get(ctx, id) if err != nil { return fmt.Errorf("retrieving %s: %v", id, err) } - if props == nil { - return fmt.Errorf("retrieving %s: result was nil", id) - } - d.SetId(id.ID()) + if model := container.Model; model != nil { + if props := model.Properties; props != nil { + d.Set("name", containerName) + d.Set("container_access_type", containerAccessTypeConversionMap[string(pointer.From(props.PublicAccess))]) - d.Set("name", containerName) - d.Set("storage_account_name", accountName) - d.Set("container_access_type", flattenStorageContainerAccessLevel(props.AccessLevel)) + d.Set("default_encryption_scope", props.DefaultEncryptionScope) + d.Set("encryption_scope_override_enabled", !pointer.From(props.DenyEncryptionScopeOverride)) - d.Set("default_encryption_scope", props.DefaultEncryptionScope) - d.Set("encryption_scope_override_enabled", !props.EncryptionScopeOverrideDisabled) + if err = d.Set("metadata", FlattenMetaData(pointer.From(props.Metadata))); err != nil { + return fmt.Errorf("setting `metadata`: %v", err) + } - if err = d.Set("metadata", FlattenMetaData(props.MetaData)); err != nil { - return fmt.Errorf("setting `metadata`: %v", err) - } + d.Set("has_immutability_policy", props.HasImmutabilityPolicy) + d.Set("has_legal_hold", props.HasLegalHold) - d.Set("has_immutability_policy", props.HasImmutabilityPolicy) - d.Set("has_legal_hold", props.HasLegalHold) + if !features.FivePointOhBeta() { + d.Set("resource_manager_id", id.ID()) + } + } + } - resourceManagerId := commonids.NewStorageContainerID(account.StorageAccountId.SubscriptionId, account.StorageAccountId.ResourceGroupName, account.StorageAccountId.StorageAccountName, containerName) - d.Set("resource_manager_id", resourceManagerId.ID()) + d.SetId(id.ID()) return nil } diff --git a/internal/services/storage/storage_container_data_source_test.go b/internal/services/storage/storage_container_data_source_test.go index b878446c32c6..8b40f8b0ea35 100644 --- a/internal/services/storage/storage_container_data_source_test.go +++ b/internal/services/storage/storage_container_data_source_test.go @@ -9,11 +9,12 @@ import ( "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" + "github.com/hashicorp/terraform-provider-azurerm/internal/features" ) type StorageContainerDataSource struct{} -func TestAccDataSourceStorageContainer_basic(t *testing.T) { +func TestAccStorageContainerDataSource_basic(t *testing.T) { data := acceptance.BuildTestData(t, "data.azurerm_storage_container", "test") data.DataSourceTest(t, []acceptance.TestStep{ @@ -34,6 +35,41 @@ func TestAccDataSourceStorageContainer_basic(t *testing.T) { func (d StorageContainerDataSource) basic(data acceptance.TestData) string { return fmt.Sprintf(` + +%s + +data "azurerm_storage_container" "test" { + name = azurerm_storage_container.test.name + storage_account_id = azurerm_storage_account.test.id +} +`, StorageContainerResource{}.complete(data)) +} + +func TestAccStorageContainerDataSource_basicDeprecated(t *testing.T) { + if features.FivePointOhBeta() { + t.Skip("skipping as test is not valid in 5.0") + } + + data := acceptance.BuildTestData(t, "data.azurerm_storage_container", "test") + + data.DataSourceTest(t, []acceptance.TestStep{ + { + Config: StorageContainerDataSource{}.basicDeprecated(data), + Check: acceptance.ComposeTestCheckFunc( + check.That(data.ResourceName).Key("container_access_type").HasValue("private"), + check.That(data.ResourceName).Key("has_immutability_policy").HasValue("false"), + check.That(data.ResourceName).Key("default_encryption_scope").HasValue(fmt.Sprintf("acctestEScontainer%d", data.RandomInteger)), + check.That(data.ResourceName).Key("encryption_scope_override_enabled").HasValue("true"), + check.That(data.ResourceName).Key("metadata.%").HasValue("2"), + check.That(data.ResourceName).Key("metadata.k1").HasValue("v1"), + check.That(data.ResourceName).Key("metadata.k2").HasValue("v2"), + ), + }, + }) +} + +func (d StorageContainerDataSource) basicDeprecated(data acceptance.TestData) string { + return fmt.Sprintf(` provider "azurerm" { features {} } diff --git a/internal/services/storage/storage_container_resource.go b/internal/services/storage/storage_container_resource.go index 4515f646b3ac..eba3cb33c103 100644 --- a/internal/services/storage/storage_container_resource.go +++ b/internal/services/storage/storage_container_resource.go @@ -6,11 +6,16 @@ package storage import ( "fmt" "log" + "strings" "time" + "github.com/hashicorp/go-azure-helpers/lang/pointer" + "github.com/hashicorp/go-azure-helpers/lang/response" "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" + "github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobcontainers" "github.com/hashicorp/terraform-provider-azurerm/helpers/tf" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" + "github.com/hashicorp/terraform-provider-azurerm/internal/features" "github.com/hashicorp/terraform-provider-azurerm/internal/services/storage/client" "github.com/hashicorp/terraform-provider-azurerm/internal/services/storage/helpers" "github.com/hashicorp/terraform-provider-azurerm/internal/services/storage/migration" @@ -22,15 +27,34 @@ import ( "github.com/tombuildsstuff/giovanni/storage/2023-11-03/blob/containers" ) +var containerAccessTypeConversionMap = map[string]string{ + "blob": "Blob", + "container": "Container", + "private": "None", + "Blob": "blob", + "Container": "container", + "None": "private", + "": "private", +} + func resourceStorageContainer() *pluginsdk.Resource { - return &pluginsdk.Resource{ + r := &pluginsdk.Resource{ Create: resourceStorageContainerCreate, Read: resourceStorageContainerRead, Delete: resourceStorageContainerDelete, Update: resourceStorageContainerUpdate, Importer: helpers.ImporterValidatingStorageResourceId(func(id, storageDomainSuffix string) error { - _, err := containers.ParseContainerID(id, storageDomainSuffix) + if !features.FivePointOhBeta() { + if strings.HasPrefix(id, "/subscriptions/") { + _, err := commonids.ParseStorageContainerID(id) + return err + } + _, err := containers.ParseContainerID(id, storageDomainSuffix) + return err + } + + _, err := commonids.ParseStorageContainerID(id) return err }), @@ -54,11 +78,11 @@ func resourceStorageContainer() *pluginsdk.Resource { ValidateFunc: validate.StorageContainerName, }, - "storage_account_name": { + "storage_account_id": { Type: pluginsdk.TypeString, Required: true, ForceNew: true, - ValidateFunc: validate.StorageAccountName, + ValidateFunc: commonids.ValidateStorageAccountID, }, "container_access_type": { @@ -90,7 +114,6 @@ func resourceStorageContainer() *pluginsdk.Resource { "metadata": MetaDataComputedSchema(), - // TODO: support for ACL's, Legal Holds and Immutability Policies "has_immutability_policy": { Type: pluginsdk.TypeBool, Computed: true, @@ -100,80 +123,145 @@ func resourceStorageContainer() *pluginsdk.Resource { Type: pluginsdk.TypeBool, Computed: true, }, - - "resource_manager_id": { - Type: pluginsdk.TypeString, - Computed: true, - }, }, } + + if !features.FivePointOhBeta() { + r.Schema["storage_account_name"] = &pluginsdk.Schema{ + Type: pluginsdk.TypeString, + Optional: true, + ForceNew: true, + ValidateFunc: validate.StorageAccountName, + ExactlyOneOf: []string{"storage_account_id", "storage_account_name"}, + Deprecated: "the `storage_account_name` property has been deprecated in favour of `storage_account_id` and will be removed in version 5.0 of the Provider.", + } + + r.Schema["storage_account_id"] = &pluginsdk.Schema{ + Type: pluginsdk.TypeString, + Optional: true, + ForceNew: true, + ValidateFunc: commonids.ValidateStorageAccountID, + ExactlyOneOf: []string{"storage_account_id", "storage_account_name"}, + } + + r.Schema["resource_manager_id"] = &pluginsdk.Schema{ + Type: pluginsdk.TypeString, + Computed: true, + Deprecated: "this property has been deprecated in favour of `id` and will be removed in version 5.0 of the Provider.", + } + } + + return r } func resourceStorageContainerCreate(d *pluginsdk.ResourceData, meta interface{}) error { - storageClient := meta.(*clients.Client).Storage subscriptionId := meta.(*clients.Client).Account.SubscriptionId + containerClient := meta.(*clients.Client).Storage.ResourceManager.BlobContainers ctx, cancel := timeouts.ForCreate(meta.(*clients.Client).StopContext, d) defer cancel() containerName := d.Get("name").(string) - accountName := d.Get("storage_account_name").(string) accessLevelRaw := d.Get("container_access_type").(string) accessLevel := expandStorageContainerAccessLevel(accessLevelRaw) - metaDataRaw := d.Get("metadata").(map[string]interface{}) metaData := ExpandMetaData(metaDataRaw) - account, err := storageClient.FindAccount(ctx, subscriptionId, accountName) - if err != nil { - return fmt.Errorf("retrieving Account %q for Container %q: %v", accountName, containerName, err) - } - if account == nil { - return fmt.Errorf("locating Storage Account %q", accountName) - } - - containersDataPlaneClient, err := storageClient.ContainersDataPlaneClient(ctx, *account, storageClient.DataPlaneOperationSupportingAnyAuthMethod()) - if err != nil { - return fmt.Errorf("building storage client: %v", err) - } - - // Determine the blob endpoint, so we can build a data plane ID - endpoint, err := account.DataPlaneEndpoint(client.EndpointTypeBlob) - if err != nil { - return fmt.Errorf("determining Blob endpoint: %v", err) + if !features.FivePointOhBeta() { + storageClient := meta.(*clients.Client).Storage + if accountName := d.Get("storage_account_name").(string); accountName != "" { + account, err := storageClient.FindAccount(ctx, subscriptionId, accountName) + if err != nil { + return fmt.Errorf("retrieving Account %q for Container %q: %v", accountName, containerName, err) + } + if account == nil { + return fmt.Errorf("locating Storage Account %q", accountName) + } + + containersDataPlaneClient, err := storageClient.ContainersDataPlaneClient(ctx, *account, storageClient.DataPlaneOperationSupportingAnyAuthMethod()) + if err != nil { + return fmt.Errorf("building storage client: %v", err) + } + + // Determine the blob endpoint, so we can build a data plane ID + endpoint, err := account.DataPlaneEndpoint(client.EndpointTypeBlob) + if err != nil { + return fmt.Errorf("determining Blob endpoint: %v", err) + } + + // Parse the blob endpoint as a data plane account ID + accountId, err := accounts.ParseAccountID(*endpoint, storageClient.StorageDomainSuffix) + if err != nil { + return fmt.Errorf("parsing Account ID: %v", err) + } + + id := containers.NewContainerID(*accountId, containerName) + + exists, err := containersDataPlaneClient.Exists(ctx, containerName) + if err != nil { + return fmt.Errorf("checking for existing %s: %v", id, err) + } + if exists != nil && *exists { + return tf.ImportAsExistsError("azurerm_storage_container", id.ID()) + } + + log.Printf("[INFO] Creating %s", id) + input := containers.CreateInput{ + AccessLevel: accessLevel, + MetaData: metaData, + } + + if encryptionScope := d.Get("default_encryption_scope"); encryptionScope.(string) != "" { + input.DefaultEncryptionScope = encryptionScope.(string) + input.EncryptionScopeOverrideDisabled = false + + if encryptionScopeOverrideEnabled := d.Get("encryption_scope_override_enabled"); !encryptionScopeOverrideEnabled.(bool) { + input.EncryptionScopeOverrideDisabled = true + } + } + + if err = containersDataPlaneClient.Create(ctx, containerName, input); err != nil { + return fmt.Errorf("creating %s: %v", id, err) + } + d.SetId(id.ID()) + + return resourceStorageContainerRead(d, meta) + } } - // Parse the blob endpoint as a data plane account ID - accountId, err := accounts.ParseAccountID(*endpoint, storageClient.StorageDomainSuffix) + accountId, err := commonids.ParseStorageAccountID(d.Get("storage_account_id").(string)) if err != nil { - return fmt.Errorf("parsing Account ID: %v", err) + return err } - id := containers.NewContainerID(*accountId, containerName) + id := commonids.NewStorageContainerID(subscriptionId, accountId.ResourceGroupName, accountId.StorageAccountName, containerName) - exists, err := containersDataPlaneClient.Exists(ctx, containerName) + existing, err := containerClient.Get(ctx, id) if err != nil { - return fmt.Errorf("checking for existing %s: %v", id, err) + if !response.WasNotFound(existing.HttpResponse) { + return fmt.Errorf("checking for existing %q: %v", id, err) + } } - if exists != nil && *exists { + if !response.WasNotFound(existing.HttpResponse) { return tf.ImportAsExistsError("azurerm_storage_container", id.ID()) } - log.Printf("[INFO] Creating %s", id) - input := containers.CreateInput{ - AccessLevel: accessLevel, - MetaData: metaData, + payload := blobcontainers.BlobContainer{ + Properties: &blobcontainers.ContainerProperties{ + PublicAccess: pointer.To(blobcontainers.PublicAccess(containerAccessTypeConversionMap[accessLevelRaw])), + Metadata: pointer.To(metaData), + }, } if encryptionScope := d.Get("default_encryption_scope"); encryptionScope.(string) != "" { - input.DefaultEncryptionScope = encryptionScope.(string) - input.EncryptionScopeOverrideDisabled = false + payload.Properties.DefaultEncryptionScope = pointer.To(encryptionScope.(string)) + payload.Properties.DenyEncryptionScopeOverride = pointer.To(false) if encryptionScopeOverrideEnabled := d.Get("encryption_scope_override_enabled"); !encryptionScopeOverrideEnabled.(bool) { - input.EncryptionScopeOverrideDisabled = true + payload.Properties.DenyEncryptionScopeOverride = pointer.To(true) } } - if err = containersDataPlaneClient.Create(ctx, containerName, input); err != nil { + if _, err = containerClient.Create(ctx, id, payload); err != nil { return fmt.Errorf("creating %s: %v", id, err) } @@ -183,147 +271,226 @@ func resourceStorageContainerCreate(d *pluginsdk.ResourceData, meta interface{}) } func resourceStorageContainerUpdate(d *pluginsdk.ResourceData, meta interface{}) error { - storageClient := meta.(*clients.Client).Storage subscriptionId := meta.(*clients.Client).Account.SubscriptionId + containerClient := meta.(*clients.Client).Storage.ResourceManager.BlobContainers ctx, cancel := timeouts.ForUpdate(meta.(*clients.Client).StopContext, d) defer cancel() - id, err := containers.ParseContainerID(d.Id(), storageClient.StorageDomainSuffix) - if err != nil { - return err - } + if !features.FivePointOhBeta() && !strings.HasPrefix(d.Id(), "/subscriptions/") { + storageClient := meta.(*clients.Client).Storage + id, err := containers.ParseContainerID(d.Id(), storageClient.StorageDomainSuffix) + if err != nil { + return err + } - account, err := storageClient.FindAccount(ctx, subscriptionId, id.AccountId.AccountName) - if err != nil { - return fmt.Errorf("retrieving Account %q for Container %q: %v", id.AccountId.AccountName, id.ContainerName, err) - } - if account == nil { - return fmt.Errorf("locating Storage Account %q", id.AccountId.AccountName) - } + account, err := storageClient.FindAccount(ctx, subscriptionId, id.AccountId.AccountName) + if err != nil { + return fmt.Errorf("retrieving Account %q for Container %q: %v", id.AccountId.AccountName, id.ContainerName, err) + } + if account == nil { + return fmt.Errorf("locating Storage Account %q", id.AccountId.AccountName) + } + if d.HasChange("container_access_type") { + log.Printf("[DEBUG] Updating Access Level for %s...", id) - if d.HasChange("container_access_type") { - log.Printf("[DEBUG] Updating Access Level for %s...", id) + // Updating metadata does not work with AAD authentication, returns a cryptic 404 + client, err := storageClient.ContainersDataPlaneClient(ctx, *account, storageClient.DataPlaneOperationSupportingOnlySharedKeyAuth()) + if err != nil { + return fmt.Errorf("building Containers Client: %v", err) + } - // Updating metadata does not work with AAD authentication, returns a cryptic 404 - client, err := storageClient.ContainersDataPlaneClient(ctx, *account, storageClient.DataPlaneOperationSupportingOnlySharedKeyAuth()) - if err != nil { - return fmt.Errorf("building Containers Client: %v", err) + accessLevelRaw := d.Get("container_access_type").(string) + accessLevel := expandStorageContainerAccessLevel(accessLevelRaw) + + if err = client.UpdateAccessLevel(ctx, id.ContainerName, accessLevel); err != nil { + return fmt.Errorf("updating Access Level for %s: %v", id, err) + } + + log.Printf("[DEBUG] Updated Access Level for %s", id) } - accessLevelRaw := d.Get("container_access_type").(string) - accessLevel := expandStorageContainerAccessLevel(accessLevelRaw) + if d.HasChange("metadata") { + log.Printf("[DEBUG] Updating Metadata for %s...", id) + + client, err := storageClient.ContainersDataPlaneClient(ctx, *account, storageClient.DataPlaneOperationSupportingAnyAuthMethod()) + if err != nil { + return fmt.Errorf("building Containers Client: %v", err) + } + + metaDataRaw := d.Get("metadata").(map[string]interface{}) + metaData := ExpandMetaData(metaDataRaw) + + if err = client.UpdateMetaData(ctx, id.ContainerName, metaData); err != nil { + return fmt.Errorf("updating Metadata for %s: %v", id, err) + } - if err = client.UpdateAccessLevel(ctx, id.ContainerName, accessLevel); err != nil { - return fmt.Errorf("updating Access Level for %s: %v", id, err) + log.Printf("[DEBUG] Updated Metadata for %s", id) } - log.Printf("[DEBUG] Updated Access Level for %s", id) + return resourceStorageContainerRead(d, meta) } - if d.HasChange("metadata") { - log.Printf("[DEBUG] Updating Metadata for %s...", id) + id, err := commonids.ParseStorageContainerID(d.Id()) + if err != nil { + return err + } - client, err := storageClient.ContainersDataPlaneClient(ctx, *account, storageClient.DataPlaneOperationSupportingAnyAuthMethod()) - if err != nil { - return fmt.Errorf("building Containers Client: %v", err) - } + update := blobcontainers.BlobContainer{ + Properties: &blobcontainers.ContainerProperties{}, + } - metaDataRaw := d.Get("metadata").(map[string]interface{}) - metaData := ExpandMetaData(metaDataRaw) + if d.HasChange("container_access_type") { + accessLevelRaw := d.Get("container_access_type").(string) + update.Properties.PublicAccess = pointer.To(blobcontainers.PublicAccess(containerAccessTypeConversionMap[accessLevelRaw])) + } - if err = client.UpdateMetaData(ctx, id.ContainerName, metaData); err != nil { - return fmt.Errorf("updating Metadata for %s: %v", id, err) - } + if d.HasChange("metadata") { + metaDataRaw := d.Get("metadata").(map[string]interface{}) + update.Properties.Metadata = pointer.To(ExpandMetaData(metaDataRaw)) + } - log.Printf("[DEBUG] Updated Metadata for %s", id) + if _, err := containerClient.Update(ctx, *id, update); err != nil { + return fmt.Errorf("updating %s: %v", id, err) } return resourceStorageContainerRead(d, meta) } func resourceStorageContainerRead(d *pluginsdk.ResourceData, meta interface{}) error { - storageClient := meta.(*clients.Client).Storage + containerClient := meta.(*clients.Client).Storage.ResourceManager.BlobContainers subscriptionId := meta.(*clients.Client).Account.SubscriptionId ctx, cancel := timeouts.ForRead(meta.(*clients.Client).StopContext, d) defer cancel() - id, err := containers.ParseContainerID(d.Id(), storageClient.StorageDomainSuffix) - if err != nil { - return err - } + if !features.FivePointOhBeta() && !strings.HasPrefix(d.Id(), "/subscriptions/") { + storageClient := meta.(*clients.Client).Storage + id, err := containers.ParseContainerID(d.Id(), storageClient.StorageDomainSuffix) + if err != nil { + return err + } + + account, err := storageClient.FindAccount(ctx, subscriptionId, id.AccountId.AccountName) + if err != nil { + return fmt.Errorf("retrieving Account %q for Container %q: %v", id.AccountId.AccountName, id.ContainerName, err) + } + if account == nil { + log.Printf("[DEBUG] Unable to locate Account %q for Storage Container %q - assuming removed & removing from state", id.AccountId.AccountName, id.ContainerName) + d.SetId("") + return nil + } + + client, err := storageClient.ContainersDataPlaneClient(ctx, *account, storageClient.DataPlaneOperationSupportingAnyAuthMethod()) + if err != nil { + return fmt.Errorf("building Containers Client: %v", err) + } + + props, err := client.Get(ctx, id.ContainerName) + if err != nil { + return fmt.Errorf("retrieving %s: %v", id, err) + } + if props == nil { + log.Printf("[DEBUG] Container %q was not found in %s - assuming removed & removing from state", id.ContainerName, id.AccountId) + d.SetId("") + return nil + } + + d.Set("name", id.ContainerName) + d.Set("storage_account_name", id.AccountId.AccountName) + + d.Set("container_access_type", flattenStorageContainerAccessLevel(props.AccessLevel)) + + d.Set("default_encryption_scope", props.DefaultEncryptionScope) + d.Set("encryption_scope_override_enabled", !props.EncryptionScopeOverrideDisabled) + + if err = d.Set("metadata", FlattenMetaData(props.MetaData)); err != nil { + return fmt.Errorf("setting `metadata`: %v", err) + } + + d.Set("has_immutability_policy", props.HasImmutabilityPolicy) + d.Set("has_legal_hold", props.HasLegalHold) + + resourceManagerId := commonids.NewStorageContainerID(account.StorageAccountId.SubscriptionId, account.StorageAccountId.ResourceGroupName, id.AccountId.AccountName, id.ContainerName) + d.Set("resource_manager_id", resourceManagerId.ID()) - account, err := storageClient.FindAccount(ctx, subscriptionId, id.AccountId.AccountName) - if err != nil { - return fmt.Errorf("retrieving Account %q for Container %q: %v", id.AccountId.AccountName, id.ContainerName, err) - } - if account == nil { - log.Printf("[DEBUG] Unable to locate Account %q for Storage Container %q - assuming removed & removing from state", id.AccountId.AccountName, id.ContainerName) - d.SetId("") return nil } - client, err := storageClient.ContainersDataPlaneClient(ctx, *account, storageClient.DataPlaneOperationSupportingAnyAuthMethod()) + id, err := commonids.ParseStorageContainerID(d.Id()) if err != nil { - return fmt.Errorf("building Containers Client: %v", err) + return err } - props, err := client.Get(ctx, id.ContainerName) + existing, err := containerClient.Get(ctx, *id) if err != nil { - return fmt.Errorf("retrieving %s: %v", id, err) - } - if props == nil { - log.Printf("[DEBUG] Container %q was not found in %s - assuming removed & removing from state", id.ContainerName, id.AccountId) - d.SetId("") - return nil + if response.WasNotFound(existing.HttpResponse) { + log.Printf("[DEBUG] %q was not found, removing from state", *id) + d.SetId("") + return nil + } + return fmt.Errorf("retrieving %s: %v", *id, err) } - d.Set("name", id.ContainerName) - d.Set("storage_account_name", id.AccountId.AccountName) - - d.Set("container_access_type", flattenStorageContainerAccessLevel(props.AccessLevel)) - - d.Set("default_encryption_scope", props.DefaultEncryptionScope) - d.Set("encryption_scope_override_enabled", !props.EncryptionScopeOverrideDisabled) - - if err = d.Set("metadata", FlattenMetaData(props.MetaData)); err != nil { - return fmt.Errorf("setting `metadata`: %v", err) + if model := existing.Model; model != nil { + if props := model.Properties; props != nil { + d.Set("name", id.ContainerName) + d.Set("storage_account_id", commonids.NewStorageAccountID(id.SubscriptionId, id.ResourceGroupName, id.StorageAccountName).ID()) + d.Set("container_access_type", containerAccessTypeConversionMap[string(pointer.From(props.PublicAccess))]) + d.Set("default_encryption_scope", props.DefaultEncryptionScope) + d.Set("encryption_scope_override_enabled", !pointer.From(props.DenyEncryptionScopeOverride)) + d.Set("metadata", FlattenMetaData(pointer.From(props.Metadata))) + + d.Set("has_immutability_policy", props.HasImmutabilityPolicy) + d.Set("has_legal_hold", props.HasLegalHold) + if !features.FivePointOhBeta() { + d.Set("resource_manager_id", id.ID()) + } + } } - d.Set("has_immutability_policy", props.HasImmutabilityPolicy) - d.Set("has_legal_hold", props.HasLegalHold) - - resourceManagerId := commonids.NewStorageContainerID(account.StorageAccountId.SubscriptionId, account.StorageAccountId.ResourceGroupName, id.AccountId.AccountName, id.ContainerName) - d.Set("resource_manager_id", resourceManagerId.ID()) - return nil } func resourceStorageContainerDelete(d *pluginsdk.ResourceData, meta interface{}) error { - storageClient := meta.(*clients.Client).Storage subscriptionId := meta.(*clients.Client).Account.SubscriptionId + containerClient := meta.(*clients.Client).Storage.ResourceManager.BlobContainers ctx, cancel := timeouts.ForDelete(meta.(*clients.Client).StopContext, d) defer cancel() - id, err := containers.ParseContainerID(d.Id(), storageClient.StorageDomainSuffix) - if err != nil { - return err - } + if !features.FivePointOhBeta() && !strings.HasPrefix(d.Id(), "/subscriptions/") { + storageClient := meta.(*clients.Client).Storage - account, err := storageClient.FindAccount(ctx, subscriptionId, id.AccountId.AccountName) - if err != nil { - return fmt.Errorf("retrieving Account %q for Container %q: %v", id.AccountId.AccountName, id.ContainerName, err) - } - if account == nil { - return fmt.Errorf("locating Storage Account %q", id.AccountId.AccountName) + id, err := containers.ParseContainerID(d.Id(), storageClient.StorageDomainSuffix) + if err != nil { + return err + } + + account, err := storageClient.FindAccount(ctx, subscriptionId, id.AccountId.AccountName) + if err != nil { + return fmt.Errorf("retrieving Account %q for Container %q: %v", id.AccountId.AccountName, id.ContainerName, err) + } + if account == nil { + return fmt.Errorf("locating Storage Account %q", id.AccountId.AccountName) + } + + client, err := storageClient.ContainersDataPlaneClient(ctx, *account, storageClient.DataPlaneOperationSupportingAnyAuthMethod()) + if err != nil { + return fmt.Errorf("building Containers Client: %v", err) + } + + if err = client.Delete(ctx, id.ContainerName); err != nil { + return fmt.Errorf("deleting %s: %v", id, err) + } + + return nil } - client, err := storageClient.ContainersDataPlaneClient(ctx, *account, storageClient.DataPlaneOperationSupportingAnyAuthMethod()) + id, err := commonids.ParseStorageContainerID(d.Id()) if err != nil { - return fmt.Errorf("building Containers Client: %v", err) + return err } - if err = client.Delete(ctx, id.ContainerName); err != nil { - return fmt.Errorf("deleting %s: %v", id, err) + if _, err := containerClient.Delete(ctx, *id); err != nil { + return fmt.Errorf("deleting %s: %v", d.Id(), err) } return nil diff --git a/internal/services/storage/storage_container_resource_test.go b/internal/services/storage/storage_container_resource_test.go index 072c351c40d4..d45d5ecc51da 100644 --- a/internal/services/storage/storage_container_resource_test.go +++ b/internal/services/storage/storage_container_resource_test.go @@ -9,17 +9,38 @@ import ( "strings" "testing" + "github.com/hashicorp/go-azure-helpers/lang/pointer" + "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" + "github.com/hashicorp/terraform-provider-azurerm/internal/features" "github.com/hashicorp/terraform-provider-azurerm/internal/services/storage/validate" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk" - "github.com/hashicorp/terraform-provider-azurerm/utils" "github.com/tombuildsstuff/giovanni/storage/2023-11-03/blob/containers" ) type StorageContainerResource struct{} +func TestAccStorageContainer_basicDeprecated(t *testing.T) { + if features.FivePointOhBeta() { + t.Skip("skipping as test is not valid in 5.0") + } + + data := acceptance.BuildTestData(t, "azurerm_storage_container", "test") + r := StorageContainerResource{} + + data.ResourceTest(t, r, []acceptance.TestStep{ + { + Config: r.basicDeprecated(data), + Check: acceptance.ComposeTestCheckFunc( + check.That(data.ResourceName).ExistsInAzure(r), + ), + }, + data.ImportStep(), + }) +} + func TestAccStorageContainer_basic(t *testing.T) { data := acceptance.BuildTestData(t, "azurerm_storage_container", "test") r := StorageContainerResource{} @@ -35,7 +56,52 @@ func TestAccStorageContainer_basic(t *testing.T) { }) } +func TestAccStorageContainer_complete(t *testing.T) { + data := acceptance.BuildTestData(t, "azurerm_storage_container", "test") + r := StorageContainerResource{} + + data.ResourceTest(t, r, []acceptance.TestStep{ + { + Config: r.complete(data), + Check: acceptance.ComposeTestCheckFunc( + check.That(data.ResourceName).ExistsInAzure(r), + ), + }, + data.ImportStep(), + }) +} + +func TestAccStorageContainer_deleteAndRecreateDeprecated(t *testing.T) { + if features.FivePointOhBeta() { + t.Skip("skipping as test is not valid in 5.0") + } + + data := acceptance.BuildTestData(t, "azurerm_storage_container", "test") + r := StorageContainerResource{} + + data.ResourceTest(t, r, []acceptance.TestStep{ + { + Config: r.basicDeprecated(data), + Check: acceptance.ComposeTestCheckFunc( + check.That(data.ResourceName).ExistsInAzure(r), + ), + }, + data.ImportStep(), + { + Config: r.template(data), + }, + { + Config: r.basicDeprecated(data), + Check: acceptance.ComposeTestCheckFunc( + check.That(data.ResourceName).ExistsInAzure(r), + ), + }, + data.ImportStep(), + }) +} + func TestAccStorageContainer_deleteAndRecreate(t *testing.T) { + t.Skip("skipping until https://github.com/Azure/azure-rest-api-specs/issues/30456 is resolved") data := acceptance.BuildTestData(t, "azurerm_storage_container", "test") r := StorageContainerResource{} @@ -60,6 +126,25 @@ func TestAccStorageContainer_deleteAndRecreate(t *testing.T) { }) } +func TestAccStorageContainer_basicAzureADAuthDeprecated(t *testing.T) { + if features.FivePointOhBeta() { + t.Skip("skipping as test is not valid in 5.0") + } + + data := acceptance.BuildTestData(t, "azurerm_storage_container", "test") + r := StorageContainerResource{} + + data.ResourceTest(t, r, []acceptance.TestStep{ + { + Config: r.basicAzureADAuthDeprecated(data), + Check: acceptance.ComposeTestCheckFunc( + check.That(data.ResourceName).ExistsInAzure(r), + ), + }, + data.ImportStep(), + }) +} + func TestAccStorageContainer_basicAzureADAuth(t *testing.T) { data := acceptance.BuildTestData(t, "azurerm_storage_container", "test") r := StorageContainerResource{} @@ -75,6 +160,25 @@ func TestAccStorageContainer_basicAzureADAuth(t *testing.T) { }) } +func TestAccStorageContainer_requiresImportDeprecated(t *testing.T) { + if features.FivePointOhBeta() { + t.Skip("skipping as test is not valid in 5.0") + } + + data := acceptance.BuildTestData(t, "azurerm_storage_container", "test") + r := StorageContainerResource{} + + data.ResourceTest(t, r, []acceptance.TestStep{ + { + Config: r.basicDeprecated(data), + Check: acceptance.ComposeTestCheckFunc( + check.That(data.ResourceName).ExistsInAzure(r), + ), + }, + data.RequiresImportErrorStep(r.requiresImportDeprecated), + }) +} + func TestAccStorageContainer_requiresImport(t *testing.T) { data := acceptance.BuildTestData(t, "azurerm_storage_container", "test") r := StorageContainerResource{} @@ -90,6 +194,33 @@ func TestAccStorageContainer_requiresImport(t *testing.T) { }) } +func TestAccStorageContainer_updateDeprecated(t *testing.T) { + if features.FivePointOhBeta() { + t.Skip("skipping as test is not valid in 5.0") + } + + data := acceptance.BuildTestData(t, "azurerm_storage_container", "test") + r := StorageContainerResource{} + + data.ResourceTest(t, r, []acceptance.TestStep{ + { + Config: r.updateDeprecated(data, "private", "yes"), + Check: acceptance.ComposeTestCheckFunc( + check.That(data.ResourceName).ExistsInAzure(r), + check.That(data.ResourceName).Key("container_access_type").HasValue("private"), + ), + }, + { + Config: r.updateDeprecated(data, "container", "no"), + Check: acceptance.ComposeTestCheckFunc( + check.That(data.ResourceName).ExistsInAzure(r), + check.That(data.ResourceName).Key("container_access_type").HasValue("container"), + ), + }, + data.ImportStep(), + }) +} + func TestAccStorageContainer_update(t *testing.T) { data := acceptance.BuildTestData(t, "azurerm_storage_container", "test") r := StorageContainerResource{} @@ -113,6 +244,25 @@ func TestAccStorageContainer_update(t *testing.T) { }) } +func TestAccStorageContainer_encryptionScopeDeprecated(t *testing.T) { + if features.FivePointOhBeta() { + t.Skip("skipping as test is not valid in 5.0") + } + + data := acceptance.BuildTestData(t, "azurerm_storage_container", "test") + r := StorageContainerResource{} + + data.ResourceTest(t, r, []acceptance.TestStep{ + { + Config: r.encryptionScopeDeprecated(data), + Check: acceptance.ComposeTestCheckFunc( + check.That(data.ResourceName).ExistsInAzure(r), + ), + }, + data.ImportStep(), + }) +} + func TestAccStorageContainer_encryptionScope(t *testing.T) { data := acceptance.BuildTestData(t, "azurerm_storage_container", "test") r := StorageContainerResource{} @@ -128,6 +278,39 @@ func TestAccStorageContainer_encryptionScope(t *testing.T) { }) } +func TestAccStorageContainer_metaDataDeprecated(t *testing.T) { + if features.FivePointOhBeta() { + t.Skip("skipping as test is not valid in 5.0") + } + + data := acceptance.BuildTestData(t, "azurerm_storage_container", "test") + r := StorageContainerResource{} + + data.ResourceTest(t, r, []acceptance.TestStep{ + { + Config: r.metaDataDeprecated(data), + Check: acceptance.ComposeTestCheckFunc( + check.That(data.ResourceName).ExistsInAzure(r), + ), + }, + data.ImportStep(), + { + Config: r.metaDataUpdatedDeprecated(data), + Check: acceptance.ComposeTestCheckFunc( + check.That(data.ResourceName).ExistsInAzure(r), + ), + }, + data.ImportStep(), + { + Config: r.metaDataEmptyDeprecated(data), + Check: acceptance.ComposeTestCheckFunc( + check.That(data.ResourceName).ExistsInAzure(r), + ), + }, + data.ImportStep(), + }) +} + func TestAccStorageContainer_metaData(t *testing.T) { data := acceptance.BuildTestData(t, "azurerm_storage_container", "test") r := StorageContainerResource{} @@ -157,28 +340,40 @@ func TestAccStorageContainer_metaData(t *testing.T) { }) } -func TestAccStorageContainer_disappears(t *testing.T) { +func TestAccStorageContainer_rootDeprecated(t *testing.T) { + if features.FivePointOhBeta() { + t.Skip("skipping as test is not valid in 5.0") + } + data := acceptance.BuildTestData(t, "azurerm_storage_container", "test") r := StorageContainerResource{} data.ResourceTest(t, r, []acceptance.TestStep{ - data.DisappearsStep(acceptance.DisappearsStepData{ - Config: r.basic, - TestResource: r, - }), + { + Config: r.rootDeprecated(data), + Check: acceptance.ComposeTestCheckFunc( + check.That(data.ResourceName).ExistsInAzure(r), + check.That(data.ResourceName).Key("name").HasValue("$root"), + ), + }, + data.ImportStep(), }) } -func TestAccStorageContainer_root(t *testing.T) { +func TestAccStorageContainer_webDeprecated(t *testing.T) { + if features.FivePointOhBeta() { + t.Skip("skipping as test is not valid in 5.0") + } + data := acceptance.BuildTestData(t, "azurerm_storage_container", "test") r := StorageContainerResource{} data.ResourceTest(t, r, []acceptance.TestStep{ { - Config: r.root(data), + Config: r.webDeprecated(data), Check: acceptance.ComposeTestCheckFunc( check.That(data.ResourceName).ExistsInAzure(r), - check.That(data.ResourceName).Key("name").HasValue("$root"), + check.That(data.ResourceName).Key("name").HasValue("$web"), ), }, data.ImportStep(), @@ -202,56 +397,56 @@ func TestAccStorageContainer_web(t *testing.T) { } func (r StorageContainerResource) Exists(ctx context.Context, client *clients.Client, state *pluginsdk.InstanceState) (*bool, error) { - id, err := containers.ParseContainerID(state.ID, client.Storage.StorageDomainSuffix) - if err != nil { - return nil, err - } + if !features.FivePointOhBeta() && !strings.HasPrefix(state.ID, "/subscriptions") { + id, err := containers.ParseContainerID(state.ID, client.Storage.StorageDomainSuffix) + if err != nil { + return nil, err + } - account, err := client.Storage.FindAccount(ctx, client.Account.SubscriptionId, id.AccountId.AccountName) - if err != nil { - return nil, fmt.Errorf("retrieving Account %q for Container %q: %+v", id.AccountId.AccountName, id.ContainerName, err) - } - if account == nil { - return nil, fmt.Errorf("unable to locate Storage Account %q", id.AccountId.AccountName) - } + account, err := client.Storage.FindAccount(ctx, client.Account.SubscriptionId, id.AccountId.AccountName) + if err != nil { + return nil, fmt.Errorf("retrieving Account %q for Container %q: %+v", id.AccountId.AccountName, id.ContainerName, err) + } + if account == nil { + return nil, fmt.Errorf("unable to locate Storage Account %q", id.AccountId.AccountName) + } - containersClient, err := client.Storage.ContainersDataPlaneClient(ctx, *account, client.Storage.DataPlaneOperationSupportingAnyAuthMethod()) - if err != nil { - return nil, fmt.Errorf("building Containers Client: %+v", err) - } + containersClient, err := client.Storage.ContainersDataPlaneClient(ctx, *account, client.Storage.DataPlaneOperationSupportingAnyAuthMethod()) + if err != nil { + return nil, fmt.Errorf("building Containers Client: %+v", err) + } - prop, err := containersClient.Get(ctx, id.ContainerName) - if err != nil { - return nil, fmt.Errorf("retrieving Container %q in %s: %+v", id.ContainerName, id.AccountId, err) - } + prop, err := containersClient.Get(ctx, id.ContainerName) + if err != nil { + return nil, fmt.Errorf("retrieving Container %q in %s: %+v", id.ContainerName, id.AccountId, err) + } - return utils.Bool(prop != nil), nil -} + return pointer.To(prop != nil), nil + } -func (r StorageContainerResource) Destroy(ctx context.Context, client *clients.Client, state *pluginsdk.InstanceState) (*bool, error) { - id, err := containers.ParseContainerID(state.ID, client.Storage.StorageDomainSuffix) + id, err := commonids.ParseStorageContainerID(state.ID) if err != nil { return nil, err } - account, err := client.Storage.FindAccount(ctx, client.Account.SubscriptionId, id.AccountId.AccountName) + existing, err := client.Storage.ResourceManager.BlobContainers.Get(ctx, *id) if err != nil { - return nil, fmt.Errorf("retrieving Account %q for Container %q: %+v", id.AccountId.AccountName, id.ContainerName, err) - } - if account == nil { - return nil, fmt.Errorf("unable to locate Storage Account %q", id.AccountId.AccountName) + return nil, fmt.Errorf("retrieving %s: %+v", id, err) } - containersClient, err := client.Storage.ContainersDataPlaneClient(ctx, *account, client.Storage.DataPlaneOperationSupportingAnyAuthMethod()) - if err != nil { - return nil, fmt.Errorf("building Containers Client: %+v", err) - } + return pointer.To(existing.Model != nil), nil +} - if err = containersClient.Delete(ctx, id.ContainerName); err != nil { - return nil, fmt.Errorf("deleting Container %q in %s: %+v", id.ContainerName, id.AccountId, err) - } +func (r StorageContainerResource) basicDeprecated(data acceptance.TestData) string { + return fmt.Sprintf(` +%s - return utils.Bool(true), nil +resource "azurerm_storage_container" "test" { + name = "vhds" + storage_account_name = azurerm_storage_account.test.name + container_access_type = "private" +} +`, r.template(data)) } func (r StorageContainerResource) basic(data acceptance.TestData) string { @@ -261,13 +456,39 @@ func (r StorageContainerResource) basic(data acceptance.TestData) string { resource "azurerm_storage_container" "test" { name = "vhds" - storage_account_name = azurerm_storage_account.test.name + storage_account_id = azurerm_storage_account.test.id container_access_type = "private" } `, template) } -func (r StorageContainerResource) basicAzureADAuth(data acceptance.TestData) string { +func (r StorageContainerResource) complete(data acceptance.TestData) string { + template := r.template(data) + return fmt.Sprintf(` +%[1]s + +resource "azurerm_storage_encryption_scope" "test" { + name = "acctestEScontainer%[3]d" + storage_account_id = azurerm_storage_account.test.id + source = "Microsoft.Storage" +} + +resource "azurerm_storage_container" "test" { + name = "acctest-container-%[2]s" + storage_account_id = azurerm_storage_account.test.id + container_access_type = "private" + default_encryption_scope = azurerm_storage_encryption_scope.test.name + encryption_scope_override_enabled = true + + metadata = { + k1 = "v1" + k2 = "v2" + } +} +`, template, data.RandomString, data.RandomInteger) +} + +func (r StorageContainerResource) basicAzureADAuthDeprecated(data acceptance.TestData) string { return fmt.Sprintf(` provider "azurerm" { storage_use_azuread = true @@ -299,6 +520,50 @@ resource "azurerm_storage_container" "test" { `, data.RandomInteger, data.Locations.Primary, data.RandomString) } +func (r StorageContainerResource) basicAzureADAuth(data acceptance.TestData) string { + return fmt.Sprintf(` +provider "azurerm" { + storage_use_azuread = true + features {} +} + +resource "azurerm_resource_group" "test" { + name = "acctestRG-%d" + location = "%s" +} + +resource "azurerm_storage_account" "test" { + name = "acctestacc%s" + resource_group_name = azurerm_resource_group.test.name + location = azurerm_resource_group.test.location + account_tier = "Standard" + account_replication_type = "LRS" + + tags = { + environment = "staging" + } +} + +resource "azurerm_storage_container" "test" { + name = "vhds" + storage_account_id = azurerm_storage_account.test.id + container_access_type = "private" +} +`, data.RandomInteger, data.Locations.Primary, data.RandomString) +} + +func (r StorageContainerResource) requiresImportDeprecated(data acceptance.TestData) string { + return fmt.Sprintf(` +%s + +resource "azurerm_storage_container" "import" { + name = azurerm_storage_container.test.name + storage_account_name = azurerm_storage_container.test.storage_account_name + container_access_type = azurerm_storage_container.test.container_access_type +} +`, r.basicDeprecated(data)) +} + func (r StorageContainerResource) requiresImport(data acceptance.TestData) string { template := r.basic(data) return fmt.Sprintf(` @@ -306,13 +571,13 @@ func (r StorageContainerResource) requiresImport(data acceptance.TestData) strin resource "azurerm_storage_container" "import" { name = azurerm_storage_container.test.name - storage_account_name = azurerm_storage_container.test.storage_account_name + storage_account_id = azurerm_storage_container.test.storage_account_id container_access_type = azurerm_storage_container.test.container_access_type } `, template) } -func (r StorageContainerResource) update(data acceptance.TestData, accessType, metadataVal string) string { +func (r StorageContainerResource) updateDeprecated(data acceptance.TestData, accessType, metadataVal string) string { template := r.template(data) return fmt.Sprintf(` %s @@ -329,7 +594,24 @@ resource "azurerm_storage_container" "test" { `, template, accessType, metadataVal) } -func (r StorageContainerResource) encryptionScope(data acceptance.TestData) string { +func (r StorageContainerResource) update(data acceptance.TestData, accessType, metadataVal string) string { + template := r.template(data) + return fmt.Sprintf(` +%s + +resource "azurerm_storage_container" "test" { + name = "vhds" + storage_account_id = azurerm_storage_account.test.id + container_access_type = "%s" + metadata = { + foo = "bar" + test = "%s" + } +} +`, template, accessType, metadataVal) +} + +func (r StorageContainerResource) encryptionScopeDeprecated(data acceptance.TestData) string { template := r.template(data) return fmt.Sprintf(` %[1]s @@ -350,11 +632,66 @@ resource "azurerm_storage_container" "test" { `, template, data.RandomInteger) } +func (r StorageContainerResource) encryptionScope(data acceptance.TestData) string { + template := r.template(data) + return fmt.Sprintf(` +%[1]s + +resource "azurerm_storage_encryption_scope" "test" { + name = "acctestEScontainer%[2]d" + storage_account_id = azurerm_storage_account.test.id + source = "Microsoft.Storage" +} + +resource "azurerm_storage_container" "test" { + name = "vhds" + storage_account_id = azurerm_storage_account.test.id + container_access_type = "private" + + default_encryption_scope = azurerm_storage_encryption_scope.test.name +} +`, template, data.RandomInteger) +} + +func (r StorageContainerResource) metaDataDeprecated(data acceptance.TestData) string { + template := r.template(data) + return fmt.Sprintf(` +%s + +resource "azurerm_storage_container" "test" { + name = "vhds" + storage_account_name = azurerm_storage_account.test.name + container_access_type = "private" + + metadata = { + hello = "world" + } +} +`, template) +} + func (r StorageContainerResource) metaData(data acceptance.TestData) string { template := r.template(data) return fmt.Sprintf(` %s +resource "azurerm_storage_container" "test" { + name = "vhds" + storage_account_id = azurerm_storage_account.test.id + container_access_type = "private" + + metadata = { + hello = "world" + } +} +`, template) +} + +func (r StorageContainerResource) metaDataUpdatedDeprecated(data acceptance.TestData) string { + template := r.template(data) + return fmt.Sprintf(` +%s + resource "azurerm_storage_container" "test" { name = "vhds" storage_account_name = azurerm_storage_account.test.name @@ -362,6 +699,7 @@ resource "azurerm_storage_container" "test" { metadata = { hello = "world" + panda = "pops" } } `, template) @@ -374,7 +712,7 @@ func (r StorageContainerResource) metaDataUpdated(data acceptance.TestData) stri resource "azurerm_storage_container" "test" { name = "vhds" - storage_account_name = azurerm_storage_account.test.name + storage_account_id = azurerm_storage_account.test.id container_access_type = "private" metadata = { @@ -385,7 +723,7 @@ resource "azurerm_storage_container" "test" { `, template) } -func (r StorageContainerResource) metaDataEmpty(data acceptance.TestData) string { +func (r StorageContainerResource) metaDataEmptyDeprecated(data acceptance.TestData) string { template := r.template(data) return fmt.Sprintf(` %s @@ -400,16 +738,43 @@ resource "azurerm_storage_container" "test" { `, template) } -func (r StorageContainerResource) root(data acceptance.TestData) string { +func (r StorageContainerResource) metaDataEmpty(data acceptance.TestData) string { template := r.template(data) return fmt.Sprintf(` %s +resource "azurerm_storage_container" "test" { + name = "vhds" + storage_account_id = azurerm_storage_account.test.id + container_access_type = "private" + + metadata = {} +} +`, template) +} + +func (r StorageContainerResource) rootDeprecated(data acceptance.TestData) string { + return fmt.Sprintf(` +%s + resource "azurerm_storage_container" "test" { name = "$root" storage_account_name = azurerm_storage_account.test.name container_access_type = "private" } +`, r.template(data)) +} + +func (r StorageContainerResource) webDeprecated(data acceptance.TestData) string { + template := r.template(data) + return fmt.Sprintf(` +%s + +resource "azurerm_storage_container" "test" { + name = "$web" + storage_account_name = azurerm_storage_account.test.name + container_access_type = "private" +} `, template) } @@ -420,7 +785,7 @@ func (r StorageContainerResource) web(data acceptance.TestData) string { resource "azurerm_storage_container" "test" { name = "$web" - storage_account_name = azurerm_storage_account.test.name + storage_account_id = azurerm_storage_account.test.id container_access_type = "private" } `, template) diff --git a/internal/services/storage/storage_share_data_source.go b/internal/services/storage/storage_share_data_source.go index 20ed71b8af6d..c53eb099804f 100644 --- a/internal/services/storage/storage_share_data_source.go +++ b/internal/services/storage/storage_share_data_source.go @@ -7,7 +7,11 @@ import ( "fmt" "time" + "github.com/hashicorp/go-azure-helpers/lang/pointer" + "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" + "github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/fileshares" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" + "github.com/hashicorp/terraform-provider-azurerm/internal/features" "github.com/hashicorp/terraform-provider-azurerm/internal/services/storage/client" "github.com/hashicorp/terraform-provider-azurerm/internal/services/storage/parse" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk" @@ -17,7 +21,7 @@ import ( ) func dataSourceStorageShare() *pluginsdk.Resource { - return &pluginsdk.Resource{ + r := &pluginsdk.Resource{ Read: dataSourceStorageShareRead, Timeouts: &pluginsdk.ResourceTimeout{ @@ -30,9 +34,10 @@ func dataSourceStorageShare() *pluginsdk.Resource { Required: true, }, - "storage_account_name": { - Type: pluginsdk.TypeString, - Required: true, + "storage_account_id": { + Type: pluginsdk.TypeString, + Required: true, + ValidateFunc: commonids.ValidateStorageAccountID, }, "metadata": MetaDataComputedSchema(), @@ -74,74 +79,133 @@ func dataSourceStorageShare() *pluginsdk.Resource { Type: pluginsdk.TypeInt, Computed: true, }, + }, + } - "resource_manager_id": { - Type: pluginsdk.TypeString, - Computed: true, + if !features.FivePointOhBeta() { + r.Schema["storage_account_name"] = &pluginsdk.Schema{ + Type: pluginsdk.TypeString, + Optional: true, + ExactlyOneOf: []string{ + "storage_account_name", + "storage_account_id", }, - }, + } + + r.Schema["storage_account_id"] = &pluginsdk.Schema{ + Type: pluginsdk.TypeString, + Optional: true, + ExactlyOneOf: []string{ + "storage_account_name", + "storage_account_id", + }, + ValidateFunc: commonids.ValidateStorageAccountID, + } + + r.Schema["resource_manager_id"] = &pluginsdk.Schema{ + Type: pluginsdk.TypeString, + Computed: true, + Deprecated: "this property has been deprecated in favour of `id` and will be removed in version 5.0 of the Provider.", + } } + + return r } func dataSourceStorageShareRead(d *pluginsdk.ResourceData, meta interface{}) error { - storageClient := meta.(*clients.Client).Storage + sharesClient := meta.(*clients.Client).Storage.ResourceManager.FileShares subscriptionId := meta.(*clients.Client).Account.SubscriptionId ctx, cancel := timeouts.ForRead(meta.(*clients.Client).StopContext, d) defer cancel() shareName := d.Get("name").(string) - accountName := d.Get("storage_account_name").(string) - account, err := storageClient.FindAccount(ctx, subscriptionId, accountName) - if err != nil { - return fmt.Errorf("retrieving Storage Account %q for Share %q: %s", accountName, shareName, err) - } - if account == nil { - return fmt.Errorf("locating Storage Account %q for Share %q", accountName, shareName) + if !features.FivePointOhBeta() { + storageClient := meta.(*clients.Client).Storage + if accountName := d.Get("storage_account_name").(string); accountName != "" { + account, err := storageClient.FindAccount(ctx, subscriptionId, accountName) + if err != nil { + return fmt.Errorf("retrieving Storage Account %q for Share %q: %s", accountName, shareName, err) + } + if account == nil { + return fmt.Errorf("locating Storage Account %q for Share %q", accountName, shareName) + } + + // The files API does not support bearer tokens (@manicminer, 2024-02-15) + sharesDataPlaneClient, err := storageClient.FileSharesDataPlaneClient(ctx, *account, storageClient.DataPlaneOperationSupportingOnlySharedKeyAuth()) + if err != nil { + return fmt.Errorf("building FileShares Client: %v", err) + } + + // Determine the file endpoint, so we can build a data plane ID + endpoint, err := account.DataPlaneEndpoint(client.EndpointTypeFile) + if err != nil { + return fmt.Errorf("determining File endpoint: %v", err) + } + + // Parse the file endpoint as a data plane account ID + accountId, err := accounts.ParseAccountID(*endpoint, storageClient.StorageDomainSuffix) + if err != nil { + return fmt.Errorf("parsing Account ID: %v", err) + } + + id := shares.NewShareID(*accountId, shareName).ID() + + props, err := sharesDataPlaneClient.Get(ctx, shareName) + if err != nil { + return fmt.Errorf("retrieving %s: %v", id, err) + } + if props == nil { + return fmt.Errorf("%s was not found", id) + } + d.SetId(id) + + d.Set("name", shareName) + d.Set("storage_account_name", accountName) + d.Set("quota", props.QuotaGB) + if err = d.Set("acl", flattenStorageShareACLsDeprecated(props.ACLs)); err != nil { + return fmt.Errorf("setting `acl`: %v", err) + } + + if err = d.Set("metadata", FlattenMetaData(props.MetaData)); err != nil { + return fmt.Errorf("setting `metadata`: %v", err) + } + + resourceManagerId := parse.NewStorageShareResourceManagerID(account.StorageAccountId.SubscriptionId, account.StorageAccountId.ResourceGroupName, account.StorageAccountId.StorageAccountName, "default", shareName) + d.Set("resource_manager_id", resourceManagerId.ID()) + + return nil + } } - // The files API does not support bearer tokens (@manicminer, 2024-02-15) - sharesDataPlaneClient, err := storageClient.FileSharesDataPlaneClient(ctx, *account, storageClient.DataPlaneOperationSupportingOnlySharedKeyAuth()) + accountId, err := commonids.ParseStorageAccountID(d.Get("storage_account_id").(string)) if err != nil { - return fmt.Errorf("building FileShares Client: %v", err) + return err } - // Determine the file endpoint, so we can build a data plane ID - endpoint, err := account.DataPlaneEndpoint(client.EndpointTypeFile) - if err != nil { - return fmt.Errorf("determining File endpoint: %v", err) - } + id := fileshares.NewShareID(accountId.SubscriptionId, accountId.ResourceGroupName, accountId.StorageAccountName, shareName) - // Parse the file endpoint as a data plane account ID - accountId, err := accounts.ParseAccountID(*endpoint, storageClient.StorageDomainSuffix) - if err != nil { - return fmt.Errorf("parsing Account ID: %v", err) - } - - id := shares.NewShareID(*accountId, shareName).ID() - - props, err := sharesDataPlaneClient.Get(ctx, shareName) + share, err := sharesClient.Get(ctx, id, fileshares.DefaultGetOperationOptions()) if err != nil { return fmt.Errorf("retrieving %s: %v", id, err) } - if props == nil { - return fmt.Errorf("%s was not found", id) - } - d.SetId(id) d.Set("name", shareName) - d.Set("storage_account_name", accountName) - d.Set("quota", props.QuotaGB) - if err = d.Set("acl", flattenStorageShareACLs(props.ACLs)); err != nil { - return fmt.Errorf("setting `acl`: %v", err) + d.Set("storage_account_id", accountId.ID()) + + if model := share.Model; model != nil { + if props := model.Properties; props != nil { + d.Set("quota", props.ShareQuota) + d.Set("acl", flattenStorageShareACLs(pointer.From(props.SignedIdentifiers))) + d.Set("metadata", FlattenMetaData(pointer.From(props.Metadata))) + } } - if err = d.Set("metadata", FlattenMetaData(props.MetaData)); err != nil { - return fmt.Errorf("setting `metadata`: %v", err) + if !features.FivePointOhBeta() { + d.Set("resource_manager_id", id.ID()) } - resourceManagerId := parse.NewStorageShareResourceManagerID(account.StorageAccountId.SubscriptionId, account.StorageAccountId.ResourceGroupName, account.StorageAccountId.StorageAccountName, "default", shareName) - d.Set("resource_manager_id", resourceManagerId.ID()) + d.SetId(id.ID()) return nil } diff --git a/internal/services/storage/storage_share_data_source_test.go b/internal/services/storage/storage_share_data_source_test.go index 105b031756d0..379211116df2 100644 --- a/internal/services/storage/storage_share_data_source_test.go +++ b/internal/services/storage/storage_share_data_source_test.go @@ -9,16 +9,21 @@ import ( "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" + "github.com/hashicorp/terraform-provider-azurerm/internal/features" ) type dataSourceStorageShare struct{} -func TestAccDataSourceStorageShare_basic(t *testing.T) { +func TestAccDataSourceStorageShare_basicDeprecated(t *testing.T) { + if features.FivePointOhBeta() { + t.Skip("skipping as not valid in 5.0") + } + data := acceptance.BuildTestData(t, "data.azurerm_storage_share", "test") data.DataSourceTest(t, []acceptance.TestStep{ { - Config: dataSourceStorageShare{}.basic(data), + Config: dataSourceStorageShare{}.basicDeprecated(data), Check: acceptance.ComposeTestCheckFunc( check.That(data.ResourceName).Key("quota").HasValue("120"), check.That(data.ResourceName).Key("metadata.%").HasValue("2"), @@ -29,7 +34,23 @@ func TestAccDataSourceStorageShare_basic(t *testing.T) { }) } -func (d dataSourceStorageShare) basic(data acceptance.TestData) string { +func TestAccStorageShareDataSource_basic(t *testing.T) { + data := acceptance.BuildTestData(t, "data.azurerm_storage_share", "test") + + data.DataSourceTest(t, []acceptance.TestStep{ + { + Config: dataSourceStorageShare{}.basic(data), + Check: acceptance.ComposeTestCheckFunc( + check.That(data.ResourceName).Key("quota").HasValue("5"), + check.That(data.ResourceName).Key("metadata.%").HasValue("2"), + check.That(data.ResourceName).Key("metadata.hello").HasValue("world"), + check.That(data.ResourceName).Key("metadata.foo").HasValue("bar"), + ), + }, + }) +} + +func (d dataSourceStorageShare) basicDeprecated(data acceptance.TestData) string { return fmt.Sprintf(` provider "azurerm" { features {} @@ -75,3 +96,14 @@ data "azurerm_storage_share" "test" { } `, data.RandomString, data.Locations.Primary, data.RandomString, data.RandomString) } + +func (d dataSourceStorageShare) basic(data acceptance.TestData) string { + return fmt.Sprintf(` +%s + +data "azurerm_storage_share" "test" { + name = azurerm_storage_share.test.name + storage_account_id = azurerm_storage_account.test.id +} +`, StorageShareResource{}.complete(data)) +} diff --git a/internal/services/storage/storage_share_resource.go b/internal/services/storage/storage_share_resource.go index 76106cf93a3c..eabcfe900324 100644 --- a/internal/services/storage/storage_share_resource.go +++ b/internal/services/storage/storage_share_resource.go @@ -9,10 +9,17 @@ import ( "strings" "time" + "github.com/hashicorp/go-azure-helpers/lang/pointer" + "github.com/hashicorp/go-azure-helpers/lang/response" + "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" + "github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/fileshares" "github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts" + "github.com/hashicorp/go-azure-sdk/sdk/client/pollers" "github.com/hashicorp/terraform-provider-azurerm/helpers/tf" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" + "github.com/hashicorp/terraform-provider-azurerm/internal/features" "github.com/hashicorp/terraform-provider-azurerm/internal/services/storage/client" + "github.com/hashicorp/terraform-provider-azurerm/internal/services/storage/custompollers" "github.com/hashicorp/terraform-provider-azurerm/internal/services/storage/helpers" "github.com/hashicorp/terraform-provider-azurerm/internal/services/storage/migration" "github.com/hashicorp/terraform-provider-azurerm/internal/services/storage/parse" @@ -25,14 +32,23 @@ import ( ) func resourceStorageShare() *pluginsdk.Resource { - return &pluginsdk.Resource{ + r := &pluginsdk.Resource{ Create: resourceStorageShareCreate, Read: resourceStorageShareRead, Update: resourceStorageShareUpdate, Delete: resourceStorageShareDelete, Importer: helpers.ImporterValidatingStorageResourceId(func(id, storageDomainSuffix string) error { - _, err := shares.ParseShareID(id, storageDomainSuffix) + if !features.FivePointOhBeta() { + if strings.HasPrefix(id, "/subscriptions") { + _, err := fileshares.ParseShareID(id) + return err + } + _, err := shares.ParseShareID(id, storageDomainSuffix) + return err + } + + _, err := fileshares.ParseShareID(id) return err }), @@ -57,10 +73,11 @@ func resourceStorageShare() *pluginsdk.Resource { ValidateFunc: validate.StorageShareName, }, - "storage_account_name": { - Type: pluginsdk.TypeString, - Required: true, - ForceNew: true, + "storage_account_id": { + Type: pluginsdk.TypeString, + Required: true, + ForceNew: true, + ValidateFunc: commonids.ValidateStorageAccountID, }, "quota": { @@ -71,6 +88,17 @@ func resourceStorageShare() *pluginsdk.Resource { "metadata": MetaDataComputedSchema(), + "enabled_protocol": { + Type: pluginsdk.TypeString, + Optional: true, + ForceNew: true, + ValidateFunc: validation.StringInSlice([]string{ + string(shares.SMB), + string(shares.NFS), + }, false), + Default: string(shares.SMB), + }, + "acl": { Type: pluginsdk.TypeSet, Optional: true, @@ -89,12 +117,12 @@ func resourceStorageShare() *pluginsdk.Resource { "start": { Type: pluginsdk.TypeString, Optional: true, - ValidateFunc: validation.StringIsNotEmpty, + ValidateFunc: validation.IsRFC3339Time, }, "expiry": { Type: pluginsdk.TypeString, Optional: true, - ValidateFunc: validation.StringIsNotEmpty, + ValidateFunc: validation.IsRFC3339Time, }, "permissions": { Type: pluginsdk.TypeString, @@ -108,22 +136,6 @@ func resourceStorageShare() *pluginsdk.Resource { }, }, - "enabled_protocol": { - Type: pluginsdk.TypeString, - Optional: true, - ForceNew: true, - ValidateFunc: validation.StringInSlice([]string{ - string(shares.SMB), - string(shares.NFS), - }, false), - Default: string(shares.SMB), - }, - - "resource_manager_id": { - Type: pluginsdk.TypeString, - Computed: true, - }, - "url": { Type: pluginsdk.TypeString, Computed: true, @@ -143,153 +155,292 @@ func resourceStorageShare() *pluginsdk.Resource { }, }, } + + if !features.FivePointOhBeta() { + r.Schema["storage_account_name"] = &pluginsdk.Schema{ + Type: pluginsdk.TypeString, + Optional: true, + ForceNew: true, + ExactlyOneOf: []string{ + "storage_account_name", + "storage_account_id", + }, + Deprecated: "This property has been deprecated and will be replaced by `storage_account_id` in version 5.0 of the provider.", + } + + r.Schema["storage_account_id"] = &pluginsdk.Schema{ + Type: pluginsdk.TypeString, + Optional: true, + ForceNew: true, + ExactlyOneOf: []string{ + "storage_account_name", + "storage_account_id", + }, + } + + r.Schema["resource_manager_id"] = &pluginsdk.Schema{ + Type: pluginsdk.TypeString, + Computed: true, + Deprecated: "this property is deprecated and will be removed 5.0 and replaced by the `id` property.", + } + } + + return r } func resourceStorageShareCreate(d *pluginsdk.ResourceData, meta interface{}) error { - storageClient := meta.(*clients.Client).Storage subscriptionId := meta.(*clients.Client).Account.SubscriptionId + sharesClient := meta.(*clients.Client).Storage.ResourceManager.FileShares ctx, cancel := timeouts.ForCreate(meta.(*clients.Client).StopContext, d) defer cancel() - accountName := d.Get("storage_account_name").(string) - shareName := d.Get("name").(string) - quota := d.Get("quota").(int) + if !features.FivePointOhBeta() { + storageClient := meta.(*clients.Client).Storage + if accountName := d.Get("storage_account_name").(string); accountName != "" { + shareName := d.Get("name").(string) + quota := d.Get("quota").(int) + metaDataRaw := d.Get("metadata").(map[string]interface{}) + metaData := ExpandMetaData(metaDataRaw) - metaDataRaw := d.Get("metadata").(map[string]interface{}) - metaData := ExpandMetaData(metaDataRaw) + account, err := storageClient.FindAccount(ctx, subscriptionId, accountName) + if err != nil { + return fmt.Errorf("retrieving Account %q for Share %q: %v", accountName, shareName, err) + } + if account == nil { + return fmt.Errorf("locating Storage Account %q", accountName) + } - aclsRaw := d.Get("acl").(*pluginsdk.Set).List() - acls := expandStorageShareACLs(aclsRaw) + // Determine the file endpoint, so we can build a data plane ID + endpoint, err := account.DataPlaneEndpoint(client.EndpointTypeFile) + if err != nil { + return fmt.Errorf("determining File endpoint: %v", err) + } - account, err := storageClient.FindAccount(ctx, subscriptionId, accountName) - if err != nil { - return fmt.Errorf("retrieving Account %q for Share %q: %v", accountName, shareName, err) - } - if account == nil { - return fmt.Errorf("locating Storage Account %q", accountName) - } + // Parse the file endpoint as a data plane account ID + accountId, err := accounts.ParseAccountID(*endpoint, storageClient.StorageDomainSuffix) + if err != nil { + return fmt.Errorf("parsing Account ID: %v", err) + } - // Determine the file endpoint, so we can build a data plane ID - endpoint, err := account.DataPlaneEndpoint(client.EndpointTypeFile) - if err != nil { - return fmt.Errorf("determining File endpoint: %v", err) - } + id := shares.NewShareID(*accountId, shareName) - // Parse the file endpoint as a data plane account ID - accountId, err := accounts.ParseAccountID(*endpoint, storageClient.StorageDomainSuffix) - if err != nil { - return fmt.Errorf("parsing Account ID: %v", err) - } + protocol := shares.ShareProtocol(d.Get("enabled_protocol").(string)) + if protocol == shares.NFS { + // Only FileStorage (whose sku tier is Premium only) storage account is able to have NFS file shares. + // See: https://learn.microsoft.com/en-us/azure/storage/files/storage-files-quick-create-use-linux#applies-to + if account.Kind != storageaccounts.KindFileStorage { + return fmt.Errorf("NFS File Share is only supported for Storage Account with kind %q but got `%s`", string(storageaccounts.KindFileStorage), account.Kind) + } + } + + // The files API does not support bearer tokens (@manicminer, 2024-02-15) + fileSharesDataPlaneClient, err := storageClient.FileSharesDataPlaneClient(ctx, *account, storageClient.DataPlaneOperationSupportingOnlySharedKeyAuth()) + if err != nil { + return fmt.Errorf("building File Share Client: %v", err) + } + + exists, err := fileSharesDataPlaneClient.Exists(ctx, shareName) + if err != nil { + return fmt.Errorf("checking for existing %s: %v", id, err) + } + if exists != nil && *exists { + return tf.ImportAsExistsError("azurerm_storage_share", id.ID()) + } + + log.Printf("[INFO] Creating Share %q in Storage Account %q", shareName, accountName) + input := shares.CreateInput{ + QuotaInGB: quota, + MetaData: metaData, + EnabledProtocol: protocol, + } + + if accessTier := d.Get("access_tier").(string); accessTier != "" { + tier := shares.AccessTier(accessTier) + input.AccessTier = &tier + } - id := shares.NewShareID(*accountId, shareName) + if err = fileSharesDataPlaneClient.Create(ctx, shareName, input); err != nil { + return fmt.Errorf("creating %s: %v", id, err) + } + + d.SetId(id.ID()) + + aclsRaw := d.Get("acl").(*pluginsdk.Set).List() + acls := expandStorageShareACLsDeprecated(aclsRaw) + if err = fileSharesDataPlaneClient.UpdateACLs(ctx, shareName, shares.SetAclInput{SignedIdentifiers: acls}); err != nil { + return fmt.Errorf("setting ACLs for %s: %v", id, err) + } - protocol := shares.ShareProtocol(d.Get("enabled_protocol").(string)) - if protocol == shares.NFS { - // Only FileStorage (whose sku tier is Premium only) storage account is able to have NFS file shares. - // See: https://learn.microsoft.com/en-us/azure/storage/files/storage-files-quick-create-use-linux#applies-to - if account.Kind != storageaccounts.KindFileStorage { - return fmt.Errorf("NFS File Share is only supported for Storage Account with kind %q but got `%s`", string(storageaccounts.KindFileStorage), account.Kind) + return resourceStorageShareRead(d, meta) } } - // The files API does not support bearer tokens (@manicminer, 2024-02-15) - client, err := storageClient.FileSharesDataPlaneClient(ctx, *account, storageClient.DataPlaneOperationSupportingOnlySharedKeyAuth()) + accountId, err := commonids.ParseStorageAccountID(d.Get("storage_account_id").(string)) if err != nil { - return fmt.Errorf("building File Share Client: %v", err) + return err } - exists, err := client.Exists(ctx, shareName) + id := fileshares.NewShareID(accountId.SubscriptionId, accountId.ResourceGroupName, accountId.StorageAccountName, d.Get("name").(string)) + + existing, err := sharesClient.Get(ctx, id, fileshares.DefaultGetOperationOptions()) if err != nil { - return fmt.Errorf("checking for existing %s: %v", id, err) + if !response.WasNotFound(existing.HttpResponse) { + return fmt.Errorf("checking for existing %q: %v", id, err) + } } - if exists != nil && *exists { + if !response.WasNotFound(existing.HttpResponse) { return tf.ImportAsExistsError("azurerm_storage_share", id.ID()) } - log.Printf("[INFO] Creating Share %q in Storage Account %q", shareName, accountName) - input := shares.CreateInput{ - QuotaInGB: quota, - MetaData: metaData, - EnabledProtocol: protocol, + payload := fileshares.FileShare{ + Properties: &fileshares.FileShareProperties{ + EnabledProtocols: pointer.To(fileshares.EnabledProtocols(d.Get("enabled_protocol").(string))), + Metadata: pointer.To(ExpandMetaData(d.Get("metadata").(map[string]interface{}))), + ShareQuota: pointer.To(int64(d.Get("quota").(int))), + SignedIdentifiers: expandStorageShareACLs(d.Get("acl").(*pluginsdk.Set).List()), + }, } - if accessTier := d.Get("access_tier").(string); accessTier != "" { - tier := shares.AccessTier(accessTier) - input.AccessTier = &tier + if sharedAccessTier, ok := d.GetOk("access_tier"); ok && sharedAccessTier.(string) != "" { + payload.Properties.AccessTier = pointer.To(fileshares.ShareAccessTier(sharedAccessTier.(string))) } - if err = client.Create(ctx, shareName, input); err != nil { + pollerType := custompollers.NewStorageShareCreatePoller(sharesClient, id, payload) + poller := pollers.NewPoller(pollerType, 5*time.Second, pollers.DefaultNumberOfDroppedConnectionsToAllow) + + if err = poller.PollUntilDone(ctx); err != nil { return fmt.Errorf("creating %s: %v", id, err) } d.SetId(id.ID()) - if err = client.UpdateACLs(ctx, shareName, shares.SetAclInput{SignedIdentifiers: acls}); err != nil { - return fmt.Errorf("setting ACLs for %s: %v", id, err) - } - return resourceStorageShareRead(d, meta) } func resourceStorageShareRead(d *pluginsdk.ResourceData, meta interface{}) error { - storageClient := meta.(*clients.Client).Storage + sharesClient := meta.(*clients.Client).Storage.ResourceManager.FileShares subscriptionId := meta.(*clients.Client).Account.SubscriptionId ctx, cancel := timeouts.ForRead(meta.(*clients.Client).StopContext, d) defer cancel() - id, err := shares.ParseShareID(d.Id(), storageClient.StorageDomainSuffix) - if err != nil { - return err - } + if !features.FivePointOhBeta() && !strings.HasPrefix(d.Id(), "/subscriptions/") { + storageClient := meta.(*clients.Client).Storage + id, err := shares.ParseShareID(d.Id(), storageClient.StorageDomainSuffix) + if err != nil { + return err + } + + account, err := storageClient.FindAccount(ctx, subscriptionId, id.AccountId.AccountName) + if err != nil { + return fmt.Errorf("retrieving Account %q for Share %q: %v", id.AccountId.AccountName, id.ShareName, err) + } + if account == nil { + log.Printf("[WARN] Unable to determine Account %q for Storage Share %q - assuming removed & removing from state", id.AccountId.AccountName, id.ShareName) + d.SetId("") + return nil + } + + // The files API does not support bearer tokens (@manicminer, 2024-02-15) + client, err := storageClient.FileSharesDataPlaneClient(ctx, *account, storageClient.DataPlaneOperationSupportingOnlySharedKeyAuth()) + if err != nil { + return fmt.Errorf("building File Share Client for %s: %+v", account.StorageAccountId, err) + } + + props, err := client.Get(ctx, id.ShareName) + if err != nil { + return err + } + if props == nil { + log.Printf("[DEBUG] File Share %q was not found in %s - assuming removed & removing from state", id.ShareName, account.StorageAccountId) + d.SetId("") + return nil + } + + d.Set("name", id.ShareName) + d.Set("storage_account_name", id.AccountId.AccountName) + d.Set("quota", props.QuotaGB) + d.Set("url", id.ID()) + d.Set("enabled_protocol", string(props.EnabledProtocol)) + + accessTier := "" + if props.AccessTier != nil { + accessTier = string(*props.AccessTier) + } + d.Set("access_tier", accessTier) + + if err := d.Set("acl", flattenStorageShareACLsDeprecated(props.ACLs)); err != nil { + return fmt.Errorf("flattening `acl`: %+v", err) + } + + if err := d.Set("metadata", FlattenMetaData(props.MetaData)); err != nil { + return fmt.Errorf("flattening `metadata`: %+v", err) + } + + resourceManagerId := parse.NewStorageShareResourceManagerID(account.StorageAccountId.SubscriptionId, account.StorageAccountId.ResourceGroupName, account.StorageAccountId.StorageAccountName, "default", id.ShareName) + d.Set("resource_manager_id", resourceManagerId.ID()) - account, err := storageClient.FindAccount(ctx, subscriptionId, id.AccountId.AccountName) - if err != nil { - return fmt.Errorf("retrieving Account %q for Share %q: %v", id.AccountId.AccountName, id.ShareName, err) - } - if account == nil { - log.Printf("[WARN] Unable to determine Account %q for Storage Share %q - assuming removed & removing from state", id.AccountId.AccountName, id.ShareName) - d.SetId("") return nil } - // The files API does not support bearer tokens (@manicminer, 2024-02-15) - client, err := storageClient.FileSharesDataPlaneClient(ctx, *account, storageClient.DataPlaneOperationSupportingOnlySharedKeyAuth()) + id, err := fileshares.ParseShareID(d.Id()) if err != nil { - return fmt.Errorf("building File Share Client for %s: %+v", account.StorageAccountId, err) + return err } - props, err := client.Get(ctx, id.ShareName) + existing, err := sharesClient.Get(ctx, *id, fileshares.DefaultGetOperationOptions()) if err != nil { - return err - } - if props == nil { - log.Printf("[DEBUG] File Share %q was not found in %s - assuming removed & removing from state", id.ShareName, account.StorageAccountId) - d.SetId("") - return nil + if response.WasNotFound(existing.HttpResponse) { + log.Printf("[DEBUG] %q was not found, removing from state", *id) + d.SetId("") + return nil + } + return fmt.Errorf("retrieving %s: %v", *id, err) } + d.Set("storage_account_id", commonids.NewStorageAccountID(id.SubscriptionId, id.ResourceGroupName, id.StorageAccountName).ID()) d.Set("name", id.ShareName) - d.Set("storage_account_name", id.AccountId.AccountName) - d.Set("quota", props.QuotaGB) - d.Set("url", id.ID()) - d.Set("enabled_protocol", string(props.EnabledProtocol)) - accessTier := "" - if props.AccessTier != nil { - accessTier = string(*props.AccessTier) + if model := existing.Model; model != nil { + if props := model.Properties; props != nil { + d.Set("quota", props.ShareQuota) + // Resource Manager treats nil and "SMB" as the same and we may not get a full response here + enabledProtocols := fileshares.EnabledProtocolsSMB + if props.EnabledProtocols != nil { + enabledProtocols = *props.EnabledProtocols + } + d.Set("enabled_protocol", string(enabledProtocols)) + d.Set("access_tier", string(pointer.From(props.AccessTier))) + d.Set("acl", flattenStorageShareACLs(pointer.From(props.SignedIdentifiers))) + d.Set("metadata", FlattenMetaData(pointer.From(props.Metadata))) + } + } + + if !features.FivePointOhBeta() { + d.Set("resource_manager_id", id.ID()) + } + + // TODO - The following section for `url` will need to be updated to go-azure-sdk when the Giovanni Deprecation process has been completed + account, err := meta.(*clients.Client).Storage.FindAccount(ctx, subscriptionId, id.StorageAccountName) + if err != nil { + return fmt.Errorf("retrieving Account %q for Share %q: %v", id.StorageAccountName, id.ShareName, err) + } + if account == nil { + return fmt.Errorf("locating Storage Account %q", id.StorageAccountName) } - d.Set("access_tier", accessTier) - if err := d.Set("acl", flattenStorageShareACLs(props.ACLs)); err != nil { - return fmt.Errorf("flattening `acl`: %+v", err) + // Determine the file endpoint, so we can build a data plane ID + endpoint, err := account.DataPlaneEndpoint(client.EndpointTypeFile) + if err != nil { + return fmt.Errorf("determining File endpoint: %v", err) } - if err := d.Set("metadata", FlattenMetaData(props.MetaData)); err != nil { - return fmt.Errorf("flattening `metadata`: %+v", err) + // Parse the file endpoint as a data plane account ID + accountId, err := accounts.ParseAccountID(*endpoint, meta.(*clients.Client).Storage.StorageDomainSuffix) + if err != nil { + return fmt.Errorf("parsing Account ID: %v", err) } - resourceManagerId := parse.NewStorageShareResourceManagerID(account.StorageAccountId.SubscriptionId, account.StorageAccountId.ResourceGroupName, account.StorageAccountId.StorageAccountName, "default", id.ShareName) - d.Set("resource_manager_id", resourceManagerId.ID()) + d.Set("url", shares.NewShareID(*accountId, id.ShareName).ID()) return nil } @@ -297,126 +448,179 @@ func resourceStorageShareRead(d *pluginsdk.ResourceData, meta interface{}) error func resourceStorageShareUpdate(d *pluginsdk.ResourceData, meta interface{}) error { storageClient := meta.(*clients.Client).Storage subscriptionId := meta.(*clients.Client).Account.SubscriptionId + sharesClient := meta.(*clients.Client).Storage.ResourceManager.FileShares ctx, cancel := timeouts.ForUpdate(meta.(*clients.Client).StopContext, d) defer cancel() - id, err := shares.ParseShareID(d.Id(), storageClient.StorageDomainSuffix) - if err != nil { - return err + if !features.FivePointOhBeta() && !strings.HasPrefix(d.Id(), "/subscriptions/") { + id, err := shares.ParseShareID(d.Id(), storageClient.StorageDomainSuffix) + if err != nil { + return err + } + + account, err := storageClient.FindAccount(ctx, subscriptionId, id.AccountId.AccountName) + if err != nil { + return fmt.Errorf("retrieving Account %q for Share %q: %v", id.AccountId.AccountName, id.ShareName, err) + } + if account == nil { + return fmt.Errorf("locating Storage Account %q", id.AccountId.AccountName) + } + + // The files API does not support bearer tokens (@manicminer, 2024-02-15) + client, err := storageClient.FileSharesDataPlaneClient(ctx, *account, storageClient.DataPlaneOperationSupportingOnlySharedKeyAuth()) + if err != nil { + return fmt.Errorf("building File Share Client for %s: %+v", account.StorageAccountId, err) + } + + if d.HasChange("quota") { + log.Printf("[DEBUG] Updating the Quota for %s", id) + quota := d.Get("quota").(int) + + if err = client.UpdateQuota(ctx, id.ShareName, quota); err != nil { + return fmt.Errorf("updating Quota for %s: %v", id, err) + } + + log.Printf("[DEBUG] Updated the Quota for %s", id) + } + + if d.HasChange("metadata") { + log.Printf("[DEBUG] Updating the MetaData for %s", id) + + metaDataRaw := d.Get("metadata").(map[string]interface{}) + metaData := ExpandMetaData(metaDataRaw) + + if err = client.UpdateMetaData(ctx, id.ShareName, metaData); err != nil { + return fmt.Errorf("updating MetaData for %s: %v", id, err) + } + + log.Printf("[DEBUG] Updated the MetaData for %s", id) + } + + if d.HasChange("acl") { + log.Printf("[DEBUG] Updating the ACLs for %s", id) + + aclsRaw := d.Get("acl").(*pluginsdk.Set).List() + acls := expandStorageShareACLsDeprecated(aclsRaw) + + if err = client.UpdateACLs(ctx, id.ShareName, shares.SetAclInput{SignedIdentifiers: acls}); err != nil { + return fmt.Errorf("updating ACLs for %s: %v", id, err) + } + + log.Printf("[DEBUG] Updated ACLs for %s", id) + } + + if d.HasChange("access_tier") { + tier := shares.AccessTier(d.Get("access_tier").(string)) + err = pluginsdk.Retry(d.Timeout(pluginsdk.TimeoutUpdate), func() *pluginsdk.RetryError { + err = client.UpdateTier(ctx, id.ShareName, tier) + if err != nil { + if strings.Contains(err.Error(), "Cannot change access tier at this moment") { + return pluginsdk.RetryableError(err) + } + return pluginsdk.NonRetryableError(err) + } + time.Sleep(30 * time.Second) + return nil + }) + if err != nil { + return fmt.Errorf("updating access tier %s: %+v", id, err) + } + + log.Printf("[DEBUG] Updated Access Tier for %s", id) + } + + return resourceStorageShareRead(d, meta) } - account, err := storageClient.FindAccount(ctx, subscriptionId, id.AccountId.AccountName) + id, err := fileshares.ParseShareID(d.Id()) if err != nil { - return fmt.Errorf("retrieving Account %q for Share %q: %v", id.AccountId.AccountName, id.ShareName, err) - } - if account == nil { - return fmt.Errorf("locating Storage Account %q", id.AccountId.AccountName) + return err } - // The files API does not support bearer tokens (@manicminer, 2024-02-15) - client, err := storageClient.FileSharesDataPlaneClient(ctx, *account, storageClient.DataPlaneOperationSupportingOnlySharedKeyAuth()) - if err != nil { - return fmt.Errorf("building File Share Client for %s: %+v", account.StorageAccountId, err) + update := fileshares.FileShare{ + Properties: &fileshares.FileShareProperties{}, } if d.HasChange("quota") { - log.Printf("[DEBUG] Updating the Quota for %s", id) quota := d.Get("quota").(int) - - if err = client.UpdateQuota(ctx, id.ShareName, quota); err != nil { - return fmt.Errorf("updating Quota for %s: %v", id, err) - } - - log.Printf("[DEBUG] Updated the Quota for %s", id) + update.Properties.ShareQuota = pointer.To(int64(quota)) } if d.HasChange("metadata") { - log.Printf("[DEBUG] Updating the MetaData for %s", id) - metaDataRaw := d.Get("metadata").(map[string]interface{}) metaData := ExpandMetaData(metaDataRaw) - if err = client.UpdateMetaData(ctx, id.ShareName, metaData); err != nil { - return fmt.Errorf("updating MetaData for %s: %v", id, err) - } - - log.Printf("[DEBUG] Updated the MetaData for %s", id) + update.Properties.Metadata = pointer.To(metaData) } if d.HasChange("acl") { - log.Printf("[DEBUG] Updating the ACLs for %s", id) - - aclsRaw := d.Get("acl").(*pluginsdk.Set).List() - acls := expandStorageShareACLs(aclsRaw) - - if err = client.UpdateACLs(ctx, id.ShareName, shares.SetAclInput{SignedIdentifiers: acls}); err != nil { - return fmt.Errorf("updating ACLs for %s: %v", id, err) - } - - log.Printf("[DEBUG] Updated ACLs for %s", id) + update.Properties.SignedIdentifiers = expandStorageShareACLs(d.Get("acl").(*pluginsdk.Set).List()) } if d.HasChange("access_tier") { - log.Printf("[DEBUG] Updating Access Tier for %s", id) - tier := shares.AccessTier(d.Get("access_tier").(string)) - err = pluginsdk.Retry(d.Timeout(pluginsdk.TimeoutUpdate), func() *pluginsdk.RetryError { - err = client.UpdateTier(ctx, id.ShareName, tier) - if err != nil { - if strings.Contains(err.Error(), "Cannot change access tier at this moment") { - return pluginsdk.RetryableError(err) - } - return pluginsdk.NonRetryableError(err) - } - time.Sleep(30 * time.Second) - return nil - }) - if err != nil { - return fmt.Errorf("updating access tier %s: %+v", id, err) - } + update.Properties.AccessTier = pointer.To(fileshares.ShareAccessTier(tier)) + } - log.Printf("[DEBUG] Updated Access Tier for %s", id) + if _, err = sharesClient.Update(ctx, *id, update); err != nil { + return fmt.Errorf("updating %s: %v", id, err) } return resourceStorageShareRead(d, meta) } func resourceStorageShareDelete(d *pluginsdk.ResourceData, meta interface{}) error { - storageClient := meta.(*clients.Client).Storage subscriptionId := meta.(*clients.Client).Account.SubscriptionId + fileSharesClient := meta.(*clients.Client).Storage.ResourceManager.FileShares ctx, cancel := timeouts.ForDelete(meta.(*clients.Client).StopContext, d) defer cancel() - id, err := shares.ParseShareID(d.Id(), storageClient.StorageDomainSuffix) - if err != nil { - return err - } + if !features.FivePointOhBeta() && !strings.HasPrefix(d.Id(), "/subscriptions/") { + storageClient := meta.(*clients.Client).Storage + id, err := shares.ParseShareID(d.Id(), storageClient.StorageDomainSuffix) + if err != nil { + return err + } - account, err := storageClient.FindAccount(ctx, subscriptionId, id.AccountId.AccountName) - if err != nil { - return fmt.Errorf("retrieving Account %q for Share %q: %v", id.AccountId.AccountName, id.ShareName, err) - } - if account == nil { - return fmt.Errorf("locating Storage Account %q", id.AccountId.AccountName) + account, err := storageClient.FindAccount(ctx, subscriptionId, id.AccountId.AccountName) + if err != nil { + return fmt.Errorf("retrieving Account %q for Share %q: %v", id.AccountId.AccountName, id.ShareName, err) + } + if account == nil { + return fmt.Errorf("locating Storage Account %q", id.AccountId.AccountName) + } + + // The files API does not support bearer tokens (@manicminer, 2024-02-15) + client, err := storageClient.FileSharesDataPlaneClient(ctx, *account, storageClient.DataPlaneOperationSupportingOnlySharedKeyAuth()) + if err != nil { + return fmt.Errorf("building File Share Client for %s: %+v", account.StorageAccountId, err) + } + + if err = client.Delete(ctx, id.ShareName); err != nil { + if strings.Contains(err.Error(), "The specified share does not exist") { + return nil + } + return fmt.Errorf("deleting %s: %v", id, err) + } + + return nil } - // The files API does not support bearer tokens (@manicminer, 2024-02-15) - client, err := storageClient.FileSharesDataPlaneClient(ctx, *account, storageClient.DataPlaneOperationSupportingOnlySharedKeyAuth()) + id, err := fileshares.ParseShareID(d.Id()) if err != nil { - return fmt.Errorf("building File Share Client for %s: %+v", account.StorageAccountId, err) + return err } - if err = client.Delete(ctx, id.ShareName); err != nil { - if strings.Contains(err.Error(), "The specified share does not exist") { - return nil + if resp, err := fileSharesClient.Delete(ctx, *id, fileshares.DefaultDeleteOperationOptions()); err != nil { + if !response.WasNotFound(resp.HttpResponse) { + return fmt.Errorf("deleting %s: %v", id, err) } - return fmt.Errorf("deleting %s: %v", id, err) } return nil } -func expandStorageShareACLs(input []interface{}) []shares.SignedIdentifier { +func expandStorageShareACLsDeprecated(input []interface{}) []shares.SignedIdentifier { results := make([]shares.SignedIdentifier, 0) for _, v := range input { @@ -439,7 +643,7 @@ func expandStorageShareACLs(input []interface{}) []shares.SignedIdentifier { return results } -func flattenStorageShareACLs(input []shares.SignedIdentifier) []interface{} { +func flattenStorageShareACLsDeprecated(input []shares.SignedIdentifier) []interface{} { result := make([]interface{}, 0) for _, v := range input { @@ -459,3 +663,47 @@ func flattenStorageShareACLs(input []shares.SignedIdentifier) []interface{} { return result } + +func expandStorageShareACLs(input []interface{}) *[]fileshares.SignedIdentifier { + results := make([]fileshares.SignedIdentifier, 0) + + for _, v := range input { + acl := v.(map[string]interface{}) + + policies := acl["access_policy"].([]interface{}) + policy := policies[0].(map[string]interface{}) + + identifier := fileshares.SignedIdentifier{ + Id: pointer.To(acl["id"].(string)), + AccessPolicy: &fileshares.AccessPolicy{ + StartTime: pointer.To(policy["start"].(string)), + ExpiryTime: pointer.To(policy["expiry"].(string)), + Permission: pointer.To(policy["permissions"].(string)), + }, + } + results = append(results, identifier) + } + + return pointer.To(results) +} + +func flattenStorageShareACLs(input []fileshares.SignedIdentifier) []interface{} { + result := make([]interface{}, 0) + + for _, v := range input { + output := map[string]interface{}{ + "id": v.Id, + "access_policy": []interface{}{ + map[string]interface{}{ + "start": v.AccessPolicy.StartTime, + "expiry": v.AccessPolicy.ExpiryTime, + "permissions": v.AccessPolicy.Permission, + }, + }, + } + + result = append(result, output) + } + + return result +} diff --git a/internal/services/storage/storage_share_resource_test.go b/internal/services/storage/storage_share_resource_test.go index e85955af5041..0bca4e41aeb7 100644 --- a/internal/services/storage/storage_share_resource_test.go +++ b/internal/services/storage/storage_share_resource_test.go @@ -6,18 +6,40 @@ package storage_test import ( "context" "fmt" + "strings" "testing" + "github.com/hashicorp/go-azure-helpers/lang/pointer" + "github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/fileshares" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" + "github.com/hashicorp/terraform-provider-azurerm/internal/features" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk" - "github.com/hashicorp/terraform-provider-azurerm/utils" "github.com/tombuildsstuff/giovanni/storage/2023-11-03/file/shares" ) type StorageShareResource struct{} +func TestAccStorageShare_basicDeprecated(t *testing.T) { + if features.FivePointOhBeta() { + t.Skip("skipping as not valid in 5.0") + } + data := acceptance.BuildTestData(t, "azurerm_storage_share", "test") + r := StorageShareResource{} + + data.ResourceTest(t, r, []acceptance.TestStep{ + { + Config: r.basicDeprecated(data), + Check: acceptance.ComposeTestCheckFunc( + check.That(data.ResourceName).ExistsInAzure(r), + check.That(data.ResourceName).Key("enabled_protocol").HasValue("SMB"), + ), + }, + data.ImportStep(), + }) +} + func TestAccStorageShare_basic(t *testing.T) { data := acceptance.BuildTestData(t, "azurerm_storage_share", "test") r := StorageShareResource{} @@ -27,13 +49,46 @@ func TestAccStorageShare_basic(t *testing.T) { Config: r.basic(data), Check: acceptance.ComposeTestCheckFunc( check.That(data.ResourceName).ExistsInAzure(r), - check.That(data.ResourceName).Key("enabled_protocol").HasValue("SMB"), ), }, data.ImportStep(), }) } +func TestAccStorageShare_complete(t *testing.T) { + data := acceptance.BuildTestData(t, "azurerm_storage_share", "test") + r := StorageShareResource{} + + data.ResourceTest(t, r, []acceptance.TestStep{ + { + Config: r.complete(data), + Check: acceptance.ComposeTestCheckFunc( + check.That(data.ResourceName).ExistsInAzure(r), + ), + }, + data.ImportStep(), + }) +} + +func TestAccStorageShare_requiresImportDeprecated(t *testing.T) { + if features.FivePointOhBeta() { + t.Skip("skipping as not valid in 5.0") + } + + data := acceptance.BuildTestData(t, "azurerm_storage_share", "test") + r := StorageShareResource{} + + data.ResourceTest(t, r, []acceptance.TestStep{ + { + Config: r.basicDeprecated(data), + Check: acceptance.ComposeTestCheckFunc( + check.That(data.ResourceName).ExistsInAzure(r), + ), + }, + data.RequiresImportErrorStep(r.requiresImportDeprecated), + }) +} + func TestAccStorageShare_requiresImport(t *testing.T) { data := acceptance.BuildTestData(t, "azurerm_storage_share", "test") r := StorageShareResource{} @@ -49,25 +104,32 @@ func TestAccStorageShare_requiresImport(t *testing.T) { }) } -func TestAccStorageShare_disappears(t *testing.T) { +func TestAccStorageShare_disappearsDeprecated(t *testing.T) { + if features.FivePointOhBeta() { + t.Skip("skipping as not valid in 5.0") + } data := acceptance.BuildTestData(t, "azurerm_storage_share", "test") r := StorageShareResource{} data.ResourceTest(t, r, []acceptance.TestStep{ data.DisappearsStep(acceptance.DisappearsStepData{ - Config: r.basic, + Config: r.basicDeprecated, TestResource: r, }), }) } -func TestAccStorageShare_deleteAndRecreate(t *testing.T) { +func TestAccStorageShare_deleteAndRecreateDeprecated(t *testing.T) { + if features.FivePointOhBeta() { + t.Skip("skipping as not valid in 5.0") + } + data := acceptance.BuildTestData(t, "azurerm_storage_share", "test") r := StorageShareResource{} data.ResourceTest(t, r, []acceptance.TestStep{ { - Config: r.basic(data), + Config: r.basicDeprecated(data), Check: acceptance.ComposeTestCheckFunc( check.That(data.ResourceName).ExistsInAzure(r), ), @@ -77,7 +139,33 @@ func TestAccStorageShare_deleteAndRecreate(t *testing.T) { Config: r.template(data), }, { - Config: r.basic(data), + Config: r.basicDeprecated(data), + Check: acceptance.ComposeTestCheckFunc( + check.That(data.ResourceName).ExistsInAzure(r), + ), + }, + data.ImportStep(), + }) +} + +func TestAccStorageShare_metaDataDeprecated(t *testing.T) { + if features.FivePointOhBeta() { + t.Skip("skipping as not valid in 5.0") + } + + data := acceptance.BuildTestData(t, "azurerm_storage_share", "test") + r := StorageShareResource{} + + data.ResourceTest(t, r, []acceptance.TestStep{ + { + Config: r.metaDataDeprecated(data), + Check: acceptance.ComposeTestCheckFunc( + check.That(data.ResourceName).ExistsInAzure(r), + ), + }, + data.ImportStep(), + { + Config: r.metaDataUpdatedDeprecated(data), Check: acceptance.ComposeTestCheckFunc( check.That(data.ResourceName).ExistsInAzure(r), ), @@ -108,11 +196,44 @@ func TestAccStorageShare_metaData(t *testing.T) { }) } +func TestAccStorageShare_aclDeprecated(t *testing.T) { + if features.FivePointOhBeta() { + t.Skip("skipping as not valid in 5.0") + } + + data := acceptance.BuildTestData(t, "azurerm_storage_share", "test") + r := StorageShareResource{} + + data.ResourceTest(t, r, []acceptance.TestStep{ + { + Config: r.aclDeprecated(data), + Check: acceptance.ComposeTestCheckFunc( + check.That(data.ResourceName).ExistsInAzure(r), + ), + }, + data.ImportStep(), + { + Config: r.aclUpdatedDeprecated(data), + Check: acceptance.ComposeTestCheckFunc( + check.That(data.ResourceName).ExistsInAzure(r), + ), + }, + data.ImportStep(), + }) +} + func TestAccStorageShare_acl(t *testing.T) { data := acceptance.BuildTestData(t, "azurerm_storage_share", "test") r := StorageShareResource{} data.ResourceTest(t, r, []acceptance.TestStep{ + { + Config: r.basic(data), + Check: acceptance.ComposeTestCheckFunc( + check.That(data.ResourceName).ExistsInAzure(r), + ), + }, + data.ImportStep(), { Config: r.acl(data), Check: acceptance.ComposeTestCheckFunc( @@ -127,6 +248,32 @@ func TestAccStorageShare_acl(t *testing.T) { ), }, data.ImportStep(), + { + Config: r.basic(data), + Check: acceptance.ComposeTestCheckFunc( + check.That(data.ResourceName).ExistsInAzure(r), + ), + }, + data.ImportStep(), + }) +} + +func TestAccStorageShare_aclGhostedRecallDeprecated(t *testing.T) { + if features.FivePointOhBeta() { + t.Skip("skipping as not valid in 5.0") + } + + data := acceptance.BuildTestData(t, "azurerm_storage_share", "test") + r := StorageShareResource{} + + data.ResourceTest(t, r, []acceptance.TestStep{ + { + Config: r.aclGhostedRecallDeprecated(data), + Check: acceptance.ComposeTestCheckFunc( + check.That(data.ResourceName).ExistsInAzure(r), + ), + }, + data.ImportStep(), }) } @@ -145,6 +292,31 @@ func TestAccStorageShare_aclGhostedRecall(t *testing.T) { }) } +func TestAccStorageShare_updateQuotaDeprecated(t *testing.T) { + if features.FivePointOhBeta() { + t.Skip("skipping as not valid in 5.0") + } + + data := acceptance.BuildTestData(t, "azurerm_storage_share", "test") + r := StorageShareResource{} + + data.ResourceTest(t, r, []acceptance.TestStep{ + { + Config: r.basicDeprecated(data), + Check: acceptance.ComposeTestCheckFunc( + check.That(data.ResourceName).ExistsInAzure(r), + ), + }, + { + Config: r.updateQuotaDeprecated(data), + Check: acceptance.ComposeTestCheckFunc( + check.That(data.ResourceName).ExistsInAzure(r), + check.That(data.ResourceName).Key("quota").HasValue("5"), + ), + }, + }) +} + func TestAccStorageShare_updateQuota(t *testing.T) { data := acceptance.BuildTestData(t, "azurerm_storage_share", "test") r := StorageShareResource{} @@ -166,6 +338,32 @@ func TestAccStorageShare_updateQuota(t *testing.T) { }) } +func TestAccStorageShare_largeQuotaDeprecated(t *testing.T) { + if features.FivePointOhBeta() { + t.Skip("skipping as not valid in 5.0") + } + + data := acceptance.BuildTestData(t, "azurerm_storage_share", "test") + r := StorageShareResource{} + + data.ResourceTest(t, r, []acceptance.TestStep{ + { + Config: r.largeQuotaDeprecated(data), + Check: acceptance.ComposeTestCheckFunc( + check.That(data.ResourceName).ExistsInAzure(r), + ), + }, + data.ImportStep(), + { + Config: r.largeQuotaUpdateDeprecated(data), + Check: acceptance.ComposeTestCheckFunc( + check.That(data.ResourceName).ExistsInAzure(r), + ), + }, + data.ImportStep(), + }) +} + func TestAccStorageShare_largeQuota(t *testing.T) { data := acceptance.BuildTestData(t, "azurerm_storage_share", "test") r := StorageShareResource{} @@ -188,6 +386,32 @@ func TestAccStorageShare_largeQuota(t *testing.T) { }) } +func TestAccStorageShare_accessTierStandardDeprecated(t *testing.T) { + if features.FivePointOhBeta() { + t.Skip("skipping as not valid in 5.0") + } + + data := acceptance.BuildTestData(t, "azurerm_storage_share", "test") + r := StorageShareResource{} + + data.ResourceTest(t, r, []acceptance.TestStep{ + { + Config: r.accessTierStandardDeprecated(data, "Cool"), + Check: acceptance.ComposeTestCheckFunc( + check.That(data.ResourceName).ExistsInAzure(r), + ), + }, + data.ImportStep(), + { + Config: r.accessTierStandardDeprecated(data, "Hot"), + Check: acceptance.ComposeTestCheckFunc( + check.That(data.ResourceName).ExistsInAzure(r), + ), + }, + data.ImportStep(), + }) +} + func TestAccStorageShare_accessTierStandard(t *testing.T) { data := acceptance.BuildTestData(t, "azurerm_storage_share", "test") r := StorageShareResource{} @@ -210,6 +434,25 @@ func TestAccStorageShare_accessTierStandard(t *testing.T) { }) } +func TestAccStorageShare_accessTierPremiumDeprecated(t *testing.T) { + if features.FivePointOhBeta() { + t.Skip("skipping as not valid in 5.0") + } + + data := acceptance.BuildTestData(t, "azurerm_storage_share", "test") + r := StorageShareResource{} + + data.ResourceTest(t, r, []acceptance.TestStep{ + { + Config: r.accessTierPremiumDeprecated(data), + Check: acceptance.ComposeTestCheckFunc( + check.That(data.ResourceName).ExistsInAzure(r), + ), + }, + data.ImportStep(), + }) +} + func TestAccStorageShare_accessTierPremium(t *testing.T) { data := acceptance.BuildTestData(t, "azurerm_storage_share", "test") r := StorageShareResource{} @@ -225,6 +468,25 @@ func TestAccStorageShare_accessTierPremium(t *testing.T) { }) } +func TestAccStorageShare_nfsProtocolDeprecated(t *testing.T) { + if features.FivePointOhBeta() { + t.Skip("skipping as not valid in 5.0") + } + + data := acceptance.BuildTestData(t, "azurerm_storage_share", "test") + r := StorageShareResource{} + + data.ResourceTest(t, r, []acceptance.TestStep{ + { + Config: r.protocolDeprecated(data, "NFS"), + Check: acceptance.ComposeTestCheckFunc( + check.That(data.ResourceName).ExistsInAzure(r), + ), + }, + data.ImportStep(), + }) +} + func TestAccStorageShare_nfsProtocol(t *testing.T) { data := acceptance.BuildTestData(t, "azurerm_storage_share", "test") r := StorageShareResource{} @@ -241,6 +503,32 @@ func TestAccStorageShare_nfsProtocol(t *testing.T) { } // TestAccStorageShare_protocolUpdate is to ensure destroy-then-create of the storage share can tolerant the "ShareBeingDeleted" issue. +func TestAccStorageShare_protocolUpdateDeprecated(t *testing.T) { + if features.FivePointOhBeta() { + t.Skip("skipping as not valid in 5.0") + } + + data := acceptance.BuildTestData(t, "azurerm_storage_share", "test") + r := StorageShareResource{} + + data.ResourceTestIgnoreRecreate(t, r, []acceptance.TestStep{ + { + Config: r.protocolDeprecated(data, "NFS"), + Check: acceptance.ComposeTestCheckFunc( + check.That(data.ResourceName).ExistsInAzure(r), + ), + }, + data.ImportStep(), + { + Config: r.protocolDeprecated(data, "SMB"), + Check: acceptance.ComposeTestCheckFunc( + check.That(data.ResourceName).ExistsInAzure(r), + ), + }, + data.ImportStep(), + }) +} + func TestAccStorageShare_protocolUpdate(t *testing.T) { data := acceptance.BuildTestData(t, "azurerm_storage_share", "test") r := StorageShareResource{} @@ -264,32 +552,47 @@ func TestAccStorageShare_protocolUpdate(t *testing.T) { } func (r StorageShareResource) Exists(ctx context.Context, client *clients.Client, state *pluginsdk.InstanceState) (*bool, error) { - id, err := shares.ParseShareID(state.ID, client.Storage.StorageDomainSuffix) - if err != nil { - return nil, err + if !features.FivePointOhBeta() && !strings.HasPrefix(state.ID, "/subscriptions") { + id, err := shares.ParseShareID(state.ID, client.Storage.StorageDomainSuffix) + if err != nil { + return nil, err + } + + account, err := client.Storage.FindAccount(ctx, client.Account.SubscriptionId, id.AccountId.AccountName) + if err != nil { + return nil, fmt.Errorf("retrieving Account %q for Share %q: %+v", id.AccountId.AccountName, id.ShareName, err) + } + if account == nil { + return nil, fmt.Errorf("unable to determine Account %q for Storage Share %q", id.AccountId.AccountName, id.ShareName) + } + + sharesClient, err := client.Storage.FileSharesDataPlaneClient(ctx, *account, client.Storage.DataPlaneOperationSupportingAnyAuthMethod()) + if err != nil { + return nil, fmt.Errorf("building File Share Client for %s: %+v", account.StorageAccountId, err) + } + + props, err := sharesClient.Get(ctx, id.ShareName) + if err != nil { + return nil, fmt.Errorf("retrieving File Share %q in %s: %+v", id.ShareName, account.StorageAccountId, err) + } + + return pointer.To(props != nil), nil } - account, err := client.Storage.FindAccount(ctx, client.Account.SubscriptionId, id.AccountId.AccountName) + id, err := fileshares.ParseShareID(state.ID) if err != nil { - return nil, fmt.Errorf("retrieving Account %q for Share %q: %+v", id.AccountId.AccountName, id.ShareName, err) - } - if account == nil { - return nil, fmt.Errorf("unable to determine Account %q for Storage Share %q", id.AccountId.AccountName, id.ShareName) + return nil, err } - - sharesClient, err := client.Storage.FileSharesDataPlaneClient(ctx, *account, client.Storage.DataPlaneOperationSupportingAnyAuthMethod()) + existing, err := client.Storage.ResourceManager.FileShares.Get(ctx, *id, fileshares.DefaultGetOperationOptions()) if err != nil { - return nil, fmt.Errorf("building File Share Client for %s: %+v", account.StorageAccountId, err) + return nil, fmt.Errorf("retrieving %s: %+v", id, err) } - props, err := sharesClient.Get(ctx, id.ShareName) - if err != nil { - return nil, fmt.Errorf("retrieving File Share %q in %s: %+v", id.ShareName, account.StorageAccountId, err) - } + return pointer.To(existing.Model != nil), nil - return utils.Bool(props != nil), nil } +// Destroy is deprecated for this resource. From 5.0 this will no longer use the Data Plane client. func (r StorageShareResource) Destroy(ctx context.Context, client *clients.Client, state *pluginsdk.InstanceState) (*bool, error) { id, err := shares.ParseShareID(state.ID, client.Storage.StorageDomainSuffix) if err != nil { @@ -312,10 +615,10 @@ func (r StorageShareResource) Destroy(ctx context.Context, client *clients.Clien return nil, fmt.Errorf("deleting File Share %q in %s: %+v", id.ShareName, account.StorageAccountId, err) } - return utils.Bool(true), nil + return pointer.To(true), nil } -func (r StorageShareResource) basic(data acceptance.TestData) string { +func (r StorageShareResource) basicDeprecated(data acceptance.TestData) string { template := r.template(data) return fmt.Sprintf(` %s @@ -328,24 +631,84 @@ resource "azurerm_storage_share" "test" { `, template, data.RandomString) } -func (r StorageShareResource) metaData(data acceptance.TestData) string { +func (r StorageShareResource) basic(data acceptance.TestData) string { template := r.template(data) return fmt.Sprintf(` %s resource "azurerm_storage_share" "test" { - name = "testshare%s" - storage_account_name = azurerm_storage_account.test.name - quota = 5 - - metadata = { - hello = "world" - } + name = "testshare%s" + storage_account_id = azurerm_storage_account.test.id + quota = 5 } `, template, data.RandomString) } -func (r StorageShareResource) metaDataUpdated(data acceptance.TestData) string { +func (r StorageShareResource) complete(data acceptance.TestData) string { + template := r.template(data) + return fmt.Sprintf(` +%s + +resource "azurerm_storage_share" "test" { + name = "testshare%s" + storage_account_id = azurerm_storage_account.test.id + quota = 5 + access_tier = "Cool" + enabled_protocol = "SMB" + + acl { + id = "MTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODkwMTI" + + access_policy { + permissions = "rwd" + start = "2019-07-02T09:38:21Z" + expiry = "2019-07-02T10:38:21Z" + } + } + + metadata = { + hello = "world" + foo = "bar" + } +} +`, template, data.RandomString) +} + +func (r StorageShareResource) metaDataDeprecated(data acceptance.TestData) string { + template := r.template(data) + return fmt.Sprintf(` +%s + +resource "azurerm_storage_share" "test" { + name = "testshare%s" + storage_account_name = azurerm_storage_account.test.name + quota = 5 + + metadata = { + hello = "world" + } +} +`, template, data.RandomString) +} + +func (r StorageShareResource) metaData(data acceptance.TestData) string { + template := r.template(data) + return fmt.Sprintf(` +%s + +resource "azurerm_storage_share" "test" { + name = "testshare%s" + storage_account_id = azurerm_storage_account.test.id + quota = 5 + + metadata = { + hello = "world" + } +} +`, template, data.RandomString) +} + +func (r StorageShareResource) metaDataUpdatedDeprecated(data acceptance.TestData) string { template := r.template(data) return fmt.Sprintf(` %s @@ -363,7 +726,25 @@ resource "azurerm_storage_share" "test" { `, template, data.RandomString) } -func (r StorageShareResource) acl(data acceptance.TestData) string { +func (r StorageShareResource) metaDataUpdated(data acceptance.TestData) string { + template := r.template(data) + return fmt.Sprintf(` +%s + +resource "azurerm_storage_share" "test" { + name = "testshare%s" + storage_account_id = azurerm_storage_account.test.id + quota = 5 + + metadata = { + hello = "world" + happy = "birthday" + } +} +`, template, data.RandomString) +} + +func (r StorageShareResource) aclDeprecated(data acceptance.TestData) string { template := r.template(data) return fmt.Sprintf(` %s @@ -386,7 +767,30 @@ resource "azurerm_storage_share" "test" { `, template, data.RandomString) } -func (r StorageShareResource) aclGhostedRecall(data acceptance.TestData) string { +func (r StorageShareResource) acl(data acceptance.TestData) string { + template := r.template(data) + return fmt.Sprintf(` +%s + +resource "azurerm_storage_share" "test" { + name = "testshare%s" + storage_account_id = azurerm_storage_account.test.id + quota = 5 + + acl { + id = "MTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODkwMTI" + + access_policy { + permissions = "rwd" + start = "2019-07-02T09:38:21Z" + expiry = "2019-07-02T10:38:21Z" + } + } +} +`, template, data.RandomString) +} + +func (r StorageShareResource) aclGhostedRecallDeprecated(data acceptance.TestData) string { template := r.template(data) return fmt.Sprintf(` %s @@ -406,7 +810,27 @@ resource "azurerm_storage_share" "test" { `, template, data.RandomString) } -func (r StorageShareResource) aclUpdated(data acceptance.TestData) string { +func (r StorageShareResource) aclGhostedRecall(data acceptance.TestData) string { + template := r.template(data) + return fmt.Sprintf(` +%s + +resource "azurerm_storage_share" "test" { + name = "testshare%s" + storage_account_id = azurerm_storage_account.test.id + quota = 5 + + acl { + id = "GhostedRecall" + access_policy { + permissions = "r" + } + } +} +`, template, data.RandomString) +} + +func (r StorageShareResource) aclUpdatedDeprecated(data acceptance.TestData) string { template := r.template(data) return fmt.Sprintf(` %s @@ -438,20 +862,64 @@ resource "azurerm_storage_share" "test" { `, template, data.RandomString) } -func (r StorageShareResource) requiresImport(data acceptance.TestData) string { - template := r.basic(data) +func (r StorageShareResource) aclUpdated(data acceptance.TestData) string { + template := r.template(data) + return fmt.Sprintf(` +%s + +resource "azurerm_storage_share" "test" { + name = "testshare%s" + storage_account_id = azurerm_storage_account.test.id + quota = 5 + + acl { + id = "AAAANDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODkwMTI" + + access_policy { + permissions = "rwd" + start = "2019-07-02T09:38:21Z" + expiry = "2019-07-02T10:38:21Z" + } + } + acl { + id = "MTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODkwMTI" + + access_policy { + permissions = "rwd" + start = "2019-07-02T09:38:21Z" + expiry = "2019-07-02T10:38:21Z" + } + } +} +`, template, data.RandomString) +} + +func (r StorageShareResource) requiresImportDeprecated(data acceptance.TestData) string { + template := r.basicDeprecated(data) return fmt.Sprintf(` %s resource "azurerm_storage_share" "import" { name = azurerm_storage_share.test.name storage_account_name = azurerm_storage_share.test.storage_account_name - quota = 5 + quota = azurerm_storage_share.test.quota } `, template) } -func (r StorageShareResource) updateQuota(data acceptance.TestData) string { +func (r StorageShareResource) requiresImport(data acceptance.TestData) string { + return fmt.Sprintf(` +%s + +resource "azurerm_storage_share" "import" { + name = azurerm_storage_share.test.name + storage_account_id = azurerm_storage_share.test.storage_account_id + quota = azurerm_storage_share.test.quota +} +`, r.basic(data)) +} + +func (r StorageShareResource) updateQuotaDeprecated(data acceptance.TestData) string { template := r.template(data) return fmt.Sprintf(` %s @@ -464,7 +932,20 @@ resource "azurerm_storage_share" "test" { `, template, data.RandomString) } -func (r StorageShareResource) largeQuota(data acceptance.TestData) string { +func (r StorageShareResource) updateQuota(data acceptance.TestData) string { + template := r.template(data) + return fmt.Sprintf(` +%s + +resource "azurerm_storage_share" "test" { + name = "testshare%s" + storage_account_id = azurerm_storage_account.test.id + quota = 5 +} +`, template, data.RandomString) +} + +func (r StorageShareResource) largeQuotaDeprecated(data acceptance.TestData) string { return fmt.Sprintf(` provider "azurerm" { features {} @@ -496,7 +977,39 @@ resource "azurerm_storage_share" "test" { `, data.RandomInteger, data.Locations.Primary, data.RandomString, data.RandomString) } -func (r StorageShareResource) largeQuotaUpdate(data acceptance.TestData) string { +func (r StorageShareResource) largeQuota(data acceptance.TestData) string { + return fmt.Sprintf(` +provider "azurerm" { + features {} +} + +resource "azurerm_resource_group" "test" { + name = "acctestRG-storageshare-%d" + location = "%s" +} + +resource "azurerm_storage_account" "test" { + name = "acctestshare%s" + resource_group_name = azurerm_resource_group.test.name + location = azurerm_resource_group.test.location + account_tier = "Premium" + account_replication_type = "LRS" + account_kind = "FileStorage" + + tags = { + environment = "staging" + } +} + +resource "azurerm_storage_share" "test" { + name = "testshare%s" + storage_account_id = azurerm_storage_account.test.id + quota = 6000 +} +`, data.RandomInteger, data.Locations.Primary, data.RandomString, data.RandomString) +} + +func (r StorageShareResource) largeQuotaUpdateDeprecated(data acceptance.TestData) string { return fmt.Sprintf(` provider "azurerm" { features {} @@ -528,7 +1041,39 @@ resource "azurerm_storage_share" "test" { `, data.RandomInteger, data.Locations.Primary, data.RandomString, data.RandomString) } -func (r StorageShareResource) accessTierStandard(data acceptance.TestData, tier string) string { +func (r StorageShareResource) largeQuotaUpdate(data acceptance.TestData) string { + return fmt.Sprintf(` +provider "azurerm" { + features {} +} + +resource "azurerm_resource_group" "test" { + name = "acctestRG-storageshare-%d" + location = "%s" +} + +resource "azurerm_storage_account" "test" { + name = "acctestshare%s" + resource_group_name = azurerm_resource_group.test.name + location = azurerm_resource_group.test.location + account_tier = "Premium" + account_replication_type = "LRS" + account_kind = "FileStorage" + + tags = { + environment = "staging" + } +} + +resource "azurerm_storage_share" "test" { + name = "testshare%s" + storage_account_id = azurerm_storage_account.test.id + quota = 10000 +} +`, data.RandomInteger, data.Locations.Primary, data.RandomString, data.RandomString) +} + +func (r StorageShareResource) accessTierStandardDeprecated(data acceptance.TestData, tier string) string { return fmt.Sprintf(` provider "azurerm" { features {} @@ -559,7 +1104,38 @@ resource "azurerm_storage_share" "test" { `, data.RandomInteger, data.Locations.Primary, data.RandomString, data.RandomString, tier) } -func (r StorageShareResource) accessTierPremium(data acceptance.TestData) string { +func (r StorageShareResource) accessTierStandard(data acceptance.TestData, tier string) string { + return fmt.Sprintf(` +provider "azurerm" { + features {} + storage_use_azuread = true +} + +resource "azurerm_resource_group" "test" { + name = "acctestRG-%d" + location = "%s" +} + +resource "azurerm_storage_account" "test" { + name = "acctestacc%s" + resource_group_name = azurerm_resource_group.test.name + location = azurerm_resource_group.test.location + account_tier = "Standard" + account_replication_type = "LRS" + account_kind = "StorageV2" +} + +resource "azurerm_storage_share" "test" { + name = "testshare%s" + storage_account_id = azurerm_storage_account.test.id + quota = 100 + enabled_protocol = "SMB" + access_tier = "%s" +} +`, data.RandomInteger, data.Locations.Primary, data.RandomString, data.RandomString, tier) +} + +func (r StorageShareResource) accessTierPremiumDeprecated(data acceptance.TestData) string { return fmt.Sprintf(` provider "azurerm" { features {} @@ -589,7 +1165,37 @@ resource "azurerm_storage_share" "test" { `, data.RandomInteger, data.Locations.Primary, data.RandomString, data.RandomString) } -func (r StorageShareResource) protocol(data acceptance.TestData, protocol string) string { +func (r StorageShareResource) accessTierPremium(data acceptance.TestData) string { + return fmt.Sprintf(` +provider "azurerm" { + features {} +} + +resource "azurerm_resource_group" "test" { + name = "acctestRG-%d" + location = "%s" +} + +resource "azurerm_storage_account" "test" { + name = "acctestacc%s" + resource_group_name = azurerm_resource_group.test.name + location = azurerm_resource_group.test.location + account_tier = "Premium" + account_replication_type = "LRS" + account_kind = "FileStorage" +} + +resource "azurerm_storage_share" "test" { + name = "testshare%s" + storage_account_id = azurerm_storage_account.test.id + quota = 100 + enabled_protocol = "SMB" + access_tier = "Premium" +} +`, data.RandomInteger, data.Locations.Primary, data.RandomString, data.RandomString) +} + +func (r StorageShareResource) protocolDeprecated(data acceptance.TestData, protocol string) string { return fmt.Sprintf(` provider "azurerm" { features {} @@ -618,6 +1224,35 @@ resource "azurerm_storage_share" "test" { `, data.RandomInteger, data.Locations.Primary, data.RandomString, data.RandomString, protocol) } +func (r StorageShareResource) protocol(data acceptance.TestData, protocol string) string { + return fmt.Sprintf(` +provider "azurerm" { + features {} +} + +resource "azurerm_resource_group" "test" { + name = "acctestRG-%d" + location = "%s" +} + +resource "azurerm_storage_account" "test" { + name = "acctestacc%s" + resource_group_name = azurerm_resource_group.test.name + location = azurerm_resource_group.test.location + account_kind = "FileStorage" + account_tier = "Premium" + account_replication_type = "LRS" +} + +resource "azurerm_storage_share" "test" { + name = "testshare%s" + storage_account_id = azurerm_storage_account.test.id + enabled_protocol = "%s" + quota = 100 +} +`, data.RandomInteger, data.Locations.Primary, data.RandomString, data.RandomString, protocol) +} + func (r StorageShareResource) template(data acceptance.TestData) string { return fmt.Sprintf(` provider "azurerm" { diff --git a/internal/services/synapse/synapse_workspace_aad_admin_resource.go b/internal/services/synapse/synapse_workspace_aad_admin_resource.go index bcdbf41bd000..41e9f3e49c1f 100644 --- a/internal/services/synapse/synapse_workspace_aad_admin_resource.go +++ b/internal/services/synapse/synapse_workspace_aad_admin_resource.go @@ -8,6 +8,7 @@ import ( "time" "github.com/Azure/azure-sdk-for-go/services/preview/synapse/mgmt/v2.0/synapse" // nolint: staticcheck + "github.com/hashicorp/go-azure-helpers/lang/pointer" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" "github.com/hashicorp/terraform-provider-azurerm/internal/services/synapse/parse" "github.com/hashicorp/terraform-provider-azurerm/internal/services/synapse/validate" @@ -131,6 +132,8 @@ func resourceSynapseWorkspaceAADAdminRead(d *pluginsdk.ResourceData, meta interf func resourceSynapseWorkspaceAADAdminDelete(d *pluginsdk.ResourceData, meta interface{}) error { client := meta.(*clients.Client).Synapse.WorkspaceAadAdminsClient + workspaceClient := meta.(*clients.Client).Synapse.WorkspaceClient + azureADOnlyAuthenticationsClient := meta.(*clients.Client).Synapse.WorkspaceAzureADOnlyAuthenticationsClient ctx, cancel := timeouts.ForDelete(meta.(*clients.Client).StopContext, d) defer cancel() @@ -139,6 +142,30 @@ func resourceSynapseWorkspaceAADAdminDelete(d *pluginsdk.ResourceData, meta inte return err } + workspace, err := workspaceClient.Get(ctx, id.ResourceGroup, id.WorkspaceName) + if err != nil { + if utils.ResponseWasNotFound(workspace.Response) { + return fmt.Errorf("retrieving %q: %+v", id, err) + } + } + + if pointer.From(workspace.AzureADOnlyAuthentication) { + // Remove Azure Active Azure Admin, API requires AzureADOnlyAuthentication to be disabled first, see below error message from API. + // "User tried to delete managed server Azure Active Azure admin when AzureADOnlyAuthentication is set, please use azureADOnlyAuthentications API first." + future, err := azureADOnlyAuthenticationsClient.Create(ctx, id.ResourceGroup, id.WorkspaceName, synapse.AzureADOnlyAuthentication{ + AzureADOnlyAuthenticationProperties: &synapse.AzureADOnlyAuthenticationProperties{ + AzureADOnlyAuthentication: pointer.To(false), + }, + }) + if err != nil { + return fmt.Errorf("updating azuread_authentication_only for %s: %+v", *workspace.ID, err) + } + + if err = future.WaitForCompletionRef(ctx, client.Client); err != nil { + return fmt.Errorf("waiting for azuread_authentication_only to finish updating for %s: %+v", *workspace.ID, err) + } + } + future, err := client.Delete(ctx, id.ResourceGroup, id.WorkspaceName) if err != nil { return fmt.Errorf("setting empty Synapse Workspace %q AAD Admin (Resource Group %q): %+v", id.WorkspaceName, id.ResourceGroup, err) diff --git a/internal/services/synapse/synapse_workspace_aad_admin_resource_test.go b/internal/services/synapse/synapse_workspace_aad_admin_resource_test.go index 9b1cfe9bd2bd..14469142c33f 100644 --- a/internal/services/synapse/synapse_workspace_aad_admin_resource_test.go +++ b/internal/services/synapse/synapse_workspace_aad_admin_resource_test.go @@ -102,6 +102,7 @@ resource "azurerm_synapse_workspace" "test" { storage_data_lake_gen2_filesystem_id = azurerm_storage_data_lake_gen2_filesystem.test.id sql_administrator_login = "sqladminuser" sql_administrator_login_password = "H@Sh1CoR3!" + azuread_authentication_only = true identity { type = "SystemAssigned" diff --git a/internal/services/videoindexer/account_resource.go b/internal/services/videoindexer/account_resource.go new file mode 100644 index 000000000000..658452034de3 --- /dev/null +++ b/internal/services/videoindexer/account_resource.go @@ -0,0 +1,303 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + +package videoindexer + +import ( + "context" + "fmt" + "time" + + "github.com/hashicorp/go-azure-helpers/lang/pointer" + "github.com/hashicorp/go-azure-helpers/lang/response" + "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" + "github.com/hashicorp/go-azure-helpers/resourcemanager/commonschema" + "github.com/hashicorp/go-azure-helpers/resourcemanager/identity" + "github.com/hashicorp/go-azure-helpers/resourcemanager/location" + "github.com/hashicorp/go-azure-sdk/resource-manager/videoindexer/2024-01-01/accounts" + "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" + "github.com/hashicorp/terraform-provider-azurerm/internal/sdk" + "github.com/hashicorp/terraform-provider-azurerm/internal/services/appservice/validate" + "github.com/hashicorp/terraform-provider-azurerm/internal/tags" + "github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk" +) + +type AccountResource struct{} + +var _ sdk.ResourceWithUpdate = AccountResource{} + +type AccountModel struct { + Name string `tfschema:"name"` + ResourceGroup string `tfschema:"resource_group_name"` + Location string `tfschema:"location"` + Storage []StorageModel `tfschema:"storage"` + Identity []identity.ModelSystemAssignedUserAssigned `tfschema:"identity"` + Tags map[string]string `tfschema:"tags"` +} + +type StorageModel struct { + StorageAccountId string `tfschema:"storage_account_id"` + UserAssignedIdentityId string `tfschema:"user_assigned_identity_id"` +} + +func (r AccountResource) Arguments() map[string]*pluginsdk.Schema { + return map[string]*pluginsdk.Schema{ + "name": { + Type: pluginsdk.TypeString, + Required: true, + ForceNew: true, + ValidateFunc: validate.ServicePlanName, + }, + + "resource_group_name": commonschema.ResourceGroupName(), + + "location": commonschema.Location(), + + "storage": { + Type: schema.TypeList, + Required: true, + MaxItems: 1, + Elem: &schema.Resource{ + Schema: map[string]*schema.Schema{ + "storage_account_id": { + Type: pluginsdk.TypeString, + Required: true, + ForceNew: true, + ValidateFunc: commonids.ValidateStorageAccountID, + }, + "user_assigned_identity_id": { + Type: pluginsdk.TypeString, + Optional: true, + ValidateFunc: commonids.ValidateUserAssignedIdentityID, + }, + }, + }, + }, + + "identity": commonschema.SystemAssignedUserAssignedIdentityRequired(), + + "tags": tags.Schema(), + } +} + +func (r AccountResource) Attributes() map[string]*pluginsdk.Schema { + return map[string]*pluginsdk.Schema{} +} + +func (r AccountResource) ModelObject() interface{} { + return &AccountModel{} +} + +func (r AccountResource) ResourceType() string { + return "azurerm_video_indexer_account" +} + +func (r AccountResource) IDValidationFunc() pluginsdk.SchemaValidateFunc { + return accounts.ValidateAccountID +} + +func (r AccountResource) Create() sdk.ResourceFunc { + return sdk.ResourceFunc{ + Timeout: 60 * time.Minute, + Func: func(ctx context.Context, metadata sdk.ResourceMetaData) error { + var account AccountModel + if err := metadata.Decode(&account); err != nil { + return err + } + + client := metadata.Client.VideoIndexer.AccountClient + subscriptionId := metadata.Client.Account.SubscriptionId + + id := accounts.NewAccountID(subscriptionId, account.ResourceGroup, account.Name) + + existing, err := client.Get(ctx, id) + if err != nil && !response.WasNotFound(existing.HttpResponse) { + return fmt.Errorf("retrieving %s: %v", id, err) + } + if !response.WasNotFound(existing.HttpResponse) { + return metadata.ResourceRequiresImport(r.ResourceType(), id) + } + + expandedIdentity, err := identity.ExpandLegacySystemAndUserAssignedMapFromModel(account.Identity) + if err != nil { + return fmt.Errorf("expanding `identity`: %+v", err) + } + + payload := accounts.Account{ + Identity: expandedIdentity, + Location: location.Normalize(account.Location), + Tags: pointer.To(account.Tags), + Properties: &accounts.AccountPropertiesForPutRequest{ + StorageServices: expandStorageForCreate(account.Storage), + }, + } + + if _, err := client.CreateOrUpdate(ctx, id, payload); err != nil { + return fmt.Errorf("creating %s: %v", id, err) + } + + metadata.SetID(id) + + return nil + }, + } +} + +func (r AccountResource) Read() sdk.ResourceFunc { + return sdk.ResourceFunc{ + Timeout: 5 * time.Minute, + Func: func(ctx context.Context, metadata sdk.ResourceMetaData) error { + client := metadata.Client.VideoIndexer.AccountClient + id, err := accounts.ParseAccountID(metadata.ResourceData.Id()) + if err != nil { + return err + } + + account, err := client.Get(ctx, *id) + if err != nil { + if response.WasNotFound(account.HttpResponse) { + return metadata.MarkAsGone(id) + } + return fmt.Errorf("retrieving %s: %+v", id, err) + } + + state := AccountModel{ + Name: id.AccountName, + ResourceGroup: id.ResourceGroupName, + } + + if model := account.Model; model != nil { + state.Location = location.Normalize(model.Location) + state.Tags = pointer.From(model.Tags) + + flattenedIdentity, err := identity.FlattenLegacySystemAndUserAssignedMapToModel(model.Identity) + if err != nil { + return fmt.Errorf("flattening `identity`: %+v", err) + } + state.Identity = flattenedIdentity + + if props := model.Properties; props != nil { + state.Storage, err = flattenStorage(props.StorageServices) + if err != nil { + return fmt.Errorf("flattening `storage`: %+v", err) + } + } + } + + return metadata.Encode(&state) + }, + } +} + +func (r AccountResource) Update() sdk.ResourceFunc { + return sdk.ResourceFunc{ + Timeout: 60 * time.Minute, + Func: func(ctx context.Context, metadata sdk.ResourceMetaData) error { + id, err := accounts.ParseAccountID(metadata.ResourceData.Id()) + if err != nil { + return err + } + + client := metadata.Client.VideoIndexer.AccountClient + + var account AccountModel + if err := metadata.Decode(&account); err != nil { + return fmt.Errorf("decoding: %+v", err) + } + + payload := accounts.AccountPatch{} + + if metadata.ResourceData.HasChange("tags") { + payload.Tags = pointer.To(account.Tags) + } + + if metadata.ResourceData.HasChange("identity") { + expandedIdentity, err := identity.ExpandLegacySystemAndUserAssignedMapFromModel(account.Identity) + if err != nil { + return fmt.Errorf("expanding `identity`: %+v", err) + } + payload.Identity = expandedIdentity + } + + if metadata.ResourceData.HasChange("storage") { + payload.Properties = &accounts.AccountPropertiesForPatchRequest{ + StorageServices: expandStorageForUpdate(account.Storage), + } + } + + if _, err := client.Update(ctx, *id, payload); err != nil { + return fmt.Errorf("updating %s: %v", id, err) + } + + return nil + }, + } +} + +func (r AccountResource) Delete() sdk.ResourceFunc { + return sdk.ResourceFunc{ + Timeout: 60 * time.Minute, + Func: func(ctx context.Context, metadata sdk.ResourceMetaData) error { + client := metadata.Client.VideoIndexer.AccountClient + + id, err := accounts.ParseAccountID(metadata.ResourceData.Id()) + metadata.Logger.Infof("deleting %s", id) + + if err != nil { + return err + } + + if _, err := client.Delete(ctx, *id); err != nil { + return fmt.Errorf("deleting %s: %v", id, err) + } + + return nil + }, + } +} + +func expandStorageForCreate(input []StorageModel) *accounts.StorageServicesForPutRequest { + if len(input) == 0 { + return &accounts.StorageServicesForPutRequest{} + } + + return &accounts.StorageServicesForPutRequest{ + ResourceId: pointer.To(input[0].StorageAccountId), + UserAssignedIdentity: pointer.To(input[0].UserAssignedIdentityId), + } +} + +func expandStorageForUpdate(input []StorageModel) *accounts.StorageServicesForPatchRequest { + if len(input) == 0 { + return &accounts.StorageServicesForPatchRequest{} + } + + return &accounts.StorageServicesForPatchRequest{ + UserAssignedIdentity: pointer.To(input[0].UserAssignedIdentityId), + } +} + +func flattenStorage(input *accounts.StorageServicesForPutRequest) ([]StorageModel, error) { + if input == nil { + return []StorageModel{}, nil + } + + storage := StorageModel{} + if v := pointer.From(input.ResourceId); v != "" { + id, err := commonids.ParseStorageAccountID(v) + if err != nil { + return []StorageModel{}, err + } + storage.StorageAccountId = id.ID() + } + + if v := pointer.From(input.UserAssignedIdentity); v != "" { + id, err := commonids.ParseUserAssignedIdentityID(v) + if err != nil { + return []StorageModel{}, err + } + storage.UserAssignedIdentityId = id.ID() + } + + return []StorageModel{storage}, nil +} diff --git a/internal/services/videoindexer/account_resource_test.go b/internal/services/videoindexer/account_resource_test.go new file mode 100644 index 000000000000..1e7c1b4292d4 --- /dev/null +++ b/internal/services/videoindexer/account_resource_test.go @@ -0,0 +1,200 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + +package videoindexer_test + +import ( + "context" + "fmt" + "testing" + + "github.com/hashicorp/go-azure-helpers/lang/pointer" + "github.com/hashicorp/go-azure-sdk/resource-manager/videoindexer/2024-01-01/accounts" + "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" + "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" + "github.com/hashicorp/terraform-provider-azurerm/internal/clients" + "github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk" +) + +type AccountResource struct{} + +func TestAccVideoIndexerAccount_basic(t *testing.T) { + data := acceptance.BuildTestData(t, "azurerm_video_indexer_account", "test") + r := AccountResource{} + + data.ResourceTest(t, r, []acceptance.TestStep{ + { + Config: r.basic(data), + Check: acceptance.ComposeTestCheckFunc( + check.That(data.ResourceName).ExistsInAzure(r), + ), + }, + data.ImportStep(), + }) +} + +func TestAccVideoIndexerAccount_userAssignedIdentity(t *testing.T) { + data := acceptance.BuildTestData(t, "azurerm_video_indexer_account", "test") + r := AccountResource{} + + data.ResourceTest(t, r, []acceptance.TestStep{ + { + Config: r.userAssignedIdentity(data), + Check: acceptance.ComposeTestCheckFunc( + check.That(data.ResourceName).ExistsInAzure(r), + ), + }, + data.ImportStep(), + }) +} + +func TestAccVideoIndexerAccount_update(t *testing.T) { + data := acceptance.BuildTestData(t, "azurerm_video_indexer_account", "test") + r := AccountResource{} + + data.ResourceTest(t, r, []acceptance.TestStep{ + { + Config: r.basic(data), + Check: acceptance.ComposeTestCheckFunc( + check.That(data.ResourceName).ExistsInAzure(r), + ), + }, + data.ImportStep(), + { + Config: r.userAssignedIdentity(data), + Check: acceptance.ComposeTestCheckFunc( + check.That(data.ResourceName).ExistsInAzure(r), + ), + }, + data.ImportStep(), + { + Config: r.complete(data), + Check: acceptance.ComposeTestCheckFunc( + check.That(data.ResourceName).ExistsInAzure(r), + ), + }, + data.ImportStep(), + { + Config: r.basic(data), + Check: acceptance.ComposeTestCheckFunc( + check.That(data.ResourceName).ExistsInAzure(r), + ), + }, + data.ImportStep(), + }) +} + +func (r AccountResource) Exists(ctx context.Context, client *clients.Client, state *pluginsdk.InstanceState) (*bool, error) { + id, err := accounts.ParseAccountID(state.ID) + if err != nil { + return nil, err + } + + _, err = client.VideoIndexer.AccountClient.Get(ctx, *id) + if err != nil { + return nil, fmt.Errorf("retreiving %s: %v", id, err) + } + + return pointer.To(true), nil +} + +func (r AccountResource) basic(data acceptance.TestData) string { + return fmt.Sprintf(` +provider "azurerm" { + features {} +} + +%[1]s + +resource "azurerm_video_indexer_account" "test" { + name = "acctestvi-%[2]s" + resource_group_name = azurerm_resource_group.test.name + location = azurerm_resource_group.test.location + + storage { + storage_account_id = azurerm_storage_account.test.id + } + + identity { + type = "SystemAssigned" + } +} +`, r.template(data), data.RandomString) +} + +func (r AccountResource) userAssignedIdentity(data acceptance.TestData) string { + return fmt.Sprintf(` +provider "azurerm" { + features {} +} + +%[1]s + +resource "azurerm_video_indexer_account" "test" { + name = "acctestvi-%[2]s" + resource_group_name = azurerm_resource_group.test.name + location = azurerm_resource_group.test.location + + storage { + storage_account_id = azurerm_storage_account.test.id + user_assigned_identity_id = azurerm_user_assigned_identity.test.id + } + + identity { + type = "UserAssigned" + identity_ids = [azurerm_user_assigned_identity.test.id] + } +} +`, r.template(data), data.RandomString) +} + +func (r AccountResource) complete(data acceptance.TestData) string { + return fmt.Sprintf(` +provider "azurerm" { + features {} +} + +%[1]s + +resource "azurerm_video_indexer_account" "test" { + name = "acctestvi-%[2]s" + resource_group_name = azurerm_resource_group.test.name + location = azurerm_resource_group.test.location + + storage { + storage_account_id = azurerm_storage_account.test.id + } + + identity { + type = "SystemAssigned" + } + + tags = { + environment = "AccTest" + } +} +`, r.template(data), data.RandomString) +} + +func (r AccountResource) template(data acceptance.TestData) string { + return fmt.Sprintf(` +resource "azurerm_resource_group" "test" { + name = "acctestRG-VI-%[1]d" + location = "%[2]s" +} + +resource "azurerm_storage_account" "test" { + name = "acctestvi%[3]s" + resource_group_name = azurerm_resource_group.test.name + location = azurerm_resource_group.test.location + account_tier = "Standard" + account_replication_type = "LRS" +} + +resource "azurerm_user_assigned_identity" "test" { + name = "acctest-vi-%[1]d" + resource_group_name = azurerm_resource_group.test.name + location = azurerm_resource_group.test.location +} +`, data.RandomInteger, data.Locations.Primary, data.RandomString) +} diff --git a/internal/services/videoindexer/client/client.go b/internal/services/videoindexer/client/client.go new file mode 100644 index 000000000000..ac48c27b52df --- /dev/null +++ b/internal/services/videoindexer/client/client.go @@ -0,0 +1,27 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + +package client + +import ( + "fmt" + + "github.com/hashicorp/go-azure-sdk/resource-manager/videoindexer/2024-01-01/accounts" + "github.com/hashicorp/terraform-provider-azurerm/internal/common" +) + +type Client struct { + AccountClient *accounts.AccountsClient +} + +func NewClient(o *common.ClientOptions) (*Client, error) { + accountClient, err := accounts.NewAccountsClientWithBaseURI(o.Environment.ResourceManager) + if err != nil { + return nil, fmt.Errorf("building Video Indexer Account client: %+v", err) + } + o.Configure(accountClient.Client, o.Authorizers.ResourceManager) + + return &Client{ + AccountClient: accountClient, + }, nil +} diff --git a/internal/services/videoindexer/registration.go b/internal/services/videoindexer/registration.go new file mode 100644 index 000000000000..294a63b4881a --- /dev/null +++ b/internal/services/videoindexer/registration.go @@ -0,0 +1,32 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + +package videoindexer + +import "github.com/hashicorp/terraform-provider-azurerm/internal/sdk" + +var _ sdk.TypedServiceRegistrationWithAGitHubLabel = Registration{} + +type Registration struct{} + +func (r Registration) AssociatedGitHubLabel() string { + return "service/video-indexer" +} + +func (r Registration) WebsiteCategories() []string { + return []string{"Video Indexer"} +} + +func (r Registration) Name() string { + return "VideoIndexer" +} + +func (r Registration) DataSources() []sdk.DataSource { + return []sdk.DataSource{} +} + +func (r Registration) Resources() []sdk.Resource { + return []sdk.Resource{ + AccountResource{}, + } +} diff --git a/internal/services/web/app_service_environment_resource.go b/internal/services/web/app_service_environment_resource.go index cfdbc2198e5b..2f1be92a0a67 100644 --- a/internal/services/web/app_service_environment_resource.go +++ b/internal/services/web/app_service_environment_resource.go @@ -15,7 +15,7 @@ import ( "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" "github.com/hashicorp/go-azure-helpers/resourcemanager/commonschema" "github.com/hashicorp/go-azure-helpers/resourcemanager/location" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks" "github.com/hashicorp/terraform-provider-azurerm/helpers/azure" "github.com/hashicorp/terraform-provider-azurerm/helpers/tf" helpersValidate "github.com/hashicorp/terraform-provider-azurerm/helpers/validate" diff --git a/internal/tools/generator-services/main.go b/internal/tools/generator-services/main.go index 005d9e462fc1..cb8b11b43841 100644 --- a/internal/tools/generator-services/main.go +++ b/internal/tools/generator-services/main.go @@ -66,15 +66,15 @@ dependencies: - vendor/**/* documentation: - changed-files: - - any-glob-to-any-file: + - any-glob-to-any-file: - website/**/* tooling: - changed-files: - - any-glob-to-any-file: + - any-glob-to-any-file: - internal/tools/**/* state-migration: - changed-files: - - any-glob-to-any-file: + - any-glob-to-any-file: - internal/services/**/migration/**/* ` diff --git a/vendor/github.com/hashicorp/go-azure-helpers/resourcemanager/commonids/app_service_logic_app.go b/vendor/github.com/hashicorp/go-azure-helpers/resourcemanager/commonids/app_service_logic_app.go new file mode 100644 index 000000000000..916490ed6737 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-helpers/resourcemanager/commonids/app_service_logic_app.go @@ -0,0 +1,55 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + +package commonids + +import "fmt" + +// NOTE: A Logic App is just an App Service instance - but to allow for potential differentiation in the future +// we're wrapping this to provide a unique Type, Parse and Validation functions. + +type LogicAppId = AppServiceId + +// ParseLogicAppId parses 'input' into a LogicAppId +func ParseLogicAppId(input string) (*LogicAppId, error) { + parsed, err := ParseAppServiceID(input) + if err != nil { + return nil, fmt.Errorf("parsing %q as a Logic App ID: %+v", input, err) + } + + return &LogicAppId{ + SubscriptionId: parsed.SubscriptionId, + ResourceGroupName: parsed.ResourceGroupName, + SiteName: parsed.SiteName, + }, nil +} + +// ParseLogicAppIdInsensitively parses 'input' case-insensitively into a LogicAppId +// note: this method should only be used for API response data and not user input +func ParseLogicAppIdInsensitively(input string) (*LogicAppId, error) { + parsed, err := ParseAppServiceIDInsensitively(input) + if err != nil { + return nil, fmt.Errorf("parsing %q as a Logic App ID: %+v", input, err) + } + + return &LogicAppId{ + SubscriptionId: parsed.SubscriptionId, + ResourceGroupName: parsed.ResourceGroupName, + SiteName: parsed.SiteName, + }, nil +} + +// ValidateLogicAppId checks that 'input' can be parsed as a Logic App ID +func ValidateLogicAppId(input interface{}, key string) (warnings []string, errors []error) { + v, ok := input.(string) + if !ok { + errors = append(errors, fmt.Errorf("expected %q to be a string", key)) + return + } + + if _, err := ParseLogicAppId(v); err != nil { + errors = append(errors, err) + } + + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/codesigning/2024-09-30-preview/certificateprofiles/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/codesigning/2024-09-30-preview/certificateprofiles/README.md new file mode 100644 index 000000000000..20a2cc90ad88 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/codesigning/2024-09-30-preview/certificateprofiles/README.md @@ -0,0 +1,103 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/codesigning/2024-09-30-preview/certificateprofiles` Documentation + +The `certificateprofiles` SDK allows for interaction with Azure Resource Manager `codesigning` (API Version `2024-09-30-preview`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-sdk/resource-manager/codesigning/2024-09-30-preview/certificateprofiles" +``` + + +### Client Initialization + +```go +client := certificateprofiles.NewCertificateProfilesClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `CertificateProfilesClient.Create` + +```go +ctx := context.TODO() +id := certificateprofiles.NewCertificateProfileID("12345678-1234-9876-4563-123456789012", "example-resource-group", "codeSigningAccountName", "certificateProfileName") + +payload := certificateprofiles.CertificateProfile{ + // ... +} + + +if err := client.CreateThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `CertificateProfilesClient.Delete` + +```go +ctx := context.TODO() +id := certificateprofiles.NewCertificateProfileID("12345678-1234-9876-4563-123456789012", "example-resource-group", "codeSigningAccountName", "certificateProfileName") + +if err := client.DeleteThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `CertificateProfilesClient.Get` + +```go +ctx := context.TODO() +id := certificateprofiles.NewCertificateProfileID("12345678-1234-9876-4563-123456789012", "example-resource-group", "codeSigningAccountName", "certificateProfileName") + +read, err := client.Get(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `CertificateProfilesClient.ListByCodeSigningAccount` + +```go +ctx := context.TODO() +id := certificateprofiles.NewCodeSigningAccountID("12345678-1234-9876-4563-123456789012", "example-resource-group", "codeSigningAccountName") + +// alternatively `client.ListByCodeSigningAccount(ctx, id)` can be used to do batched pagination +items, err := client.ListByCodeSigningAccountComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `CertificateProfilesClient.RevokeCertificate` + +```go +ctx := context.TODO() +id := certificateprofiles.NewCertificateProfileID("12345678-1234-9876-4563-123456789012", "example-resource-group", "codeSigningAccountName", "certificateProfileName") + +payload := certificateprofiles.RevokeCertificate{ + // ... +} + + +read, err := client.RevokeCertificate(ctx, id, payload) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/codesigning/2024-09-30-preview/certificateprofiles/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/codesigning/2024-09-30-preview/certificateprofiles/client.go new file mode 100644 index 000000000000..e559a6f92422 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/codesigning/2024-09-30-preview/certificateprofiles/client.go @@ -0,0 +1,26 @@ +package certificateprofiles + +import ( + "fmt" + + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + sdkEnv "github.com/hashicorp/go-azure-sdk/sdk/environments" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type CertificateProfilesClient struct { + Client *resourcemanager.Client +} + +func NewCertificateProfilesClientWithBaseURI(sdkApi sdkEnv.Api) (*CertificateProfilesClient, error) { + client, err := resourcemanager.NewClient(sdkApi, "certificateprofiles", defaultApiVersion) + if err != nil { + return nil, fmt.Errorf("instantiating CertificateProfilesClient: %+v", err) + } + + return &CertificateProfilesClient{ + Client: client, + }, nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/codesigning/2024-09-30-preview/certificateprofiles/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/codesigning/2024-09-30-preview/certificateprofiles/constants.go new file mode 100644 index 000000000000..e3191e196a96 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/codesigning/2024-09-30-preview/certificateprofiles/constants.go @@ -0,0 +1,245 @@ +package certificateprofiles + +import ( + "encoding/json" + "fmt" + "strings" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type CertificateProfileStatus string + +const ( + CertificateProfileStatusActive CertificateProfileStatus = "Active" + CertificateProfileStatusDisabled CertificateProfileStatus = "Disabled" + CertificateProfileStatusSuspended CertificateProfileStatus = "Suspended" +) + +func PossibleValuesForCertificateProfileStatus() []string { + return []string{ + string(CertificateProfileStatusActive), + string(CertificateProfileStatusDisabled), + string(CertificateProfileStatusSuspended), + } +} + +func (s *CertificateProfileStatus) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseCertificateProfileStatus(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseCertificateProfileStatus(input string) (*CertificateProfileStatus, error) { + vals := map[string]CertificateProfileStatus{ + "active": CertificateProfileStatusActive, + "disabled": CertificateProfileStatusDisabled, + "suspended": CertificateProfileStatusSuspended, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := CertificateProfileStatus(input) + return &out, nil +} + +type CertificateStatus string + +const ( + CertificateStatusActive CertificateStatus = "Active" + CertificateStatusExpired CertificateStatus = "Expired" + CertificateStatusRevoked CertificateStatus = "Revoked" +) + +func PossibleValuesForCertificateStatus() []string { + return []string{ + string(CertificateStatusActive), + string(CertificateStatusExpired), + string(CertificateStatusRevoked), + } +} + +func (s *CertificateStatus) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseCertificateStatus(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseCertificateStatus(input string) (*CertificateStatus, error) { + vals := map[string]CertificateStatus{ + "active": CertificateStatusActive, + "expired": CertificateStatusExpired, + "revoked": CertificateStatusRevoked, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := CertificateStatus(input) + return &out, nil +} + +type ProfileType string + +const ( + ProfileTypePrivateTrust ProfileType = "PrivateTrust" + ProfileTypePrivateTrustCIPolicy ProfileType = "PrivateTrustCIPolicy" + ProfileTypePublicTrust ProfileType = "PublicTrust" + ProfileTypePublicTrustTest ProfileType = "PublicTrustTest" + ProfileTypeVBSEnclave ProfileType = "VBSEnclave" +) + +func PossibleValuesForProfileType() []string { + return []string{ + string(ProfileTypePrivateTrust), + string(ProfileTypePrivateTrustCIPolicy), + string(ProfileTypePublicTrust), + string(ProfileTypePublicTrustTest), + string(ProfileTypeVBSEnclave), + } +} + +func (s *ProfileType) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseProfileType(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseProfileType(input string) (*ProfileType, error) { + vals := map[string]ProfileType{ + "privatetrust": ProfileTypePrivateTrust, + "privatetrustcipolicy": ProfileTypePrivateTrustCIPolicy, + "publictrust": ProfileTypePublicTrust, + "publictrusttest": ProfileTypePublicTrustTest, + "vbsenclave": ProfileTypeVBSEnclave, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ProfileType(input) + return &out, nil +} + +type ProvisioningState string + +const ( + ProvisioningStateAccepted ProvisioningState = "Accepted" + ProvisioningStateCanceled ProvisioningState = "Canceled" + ProvisioningStateDeleting ProvisioningState = "Deleting" + ProvisioningStateFailed ProvisioningState = "Failed" + ProvisioningStateSucceeded ProvisioningState = "Succeeded" + ProvisioningStateUpdating ProvisioningState = "Updating" +) + +func PossibleValuesForProvisioningState() []string { + return []string{ + string(ProvisioningStateAccepted), + string(ProvisioningStateCanceled), + string(ProvisioningStateDeleting), + string(ProvisioningStateFailed), + string(ProvisioningStateSucceeded), + string(ProvisioningStateUpdating), + } +} + +func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseProvisioningState(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseProvisioningState(input string) (*ProvisioningState, error) { + vals := map[string]ProvisioningState{ + "accepted": ProvisioningStateAccepted, + "canceled": ProvisioningStateCanceled, + "deleting": ProvisioningStateDeleting, + "failed": ProvisioningStateFailed, + "succeeded": ProvisioningStateSucceeded, + "updating": ProvisioningStateUpdating, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ProvisioningState(input) + return &out, nil +} + +type RevocationStatus string + +const ( + RevocationStatusFailed RevocationStatus = "Failed" + RevocationStatusInProgress RevocationStatus = "InProgress" + RevocationStatusSucceeded RevocationStatus = "Succeeded" +) + +func PossibleValuesForRevocationStatus() []string { + return []string{ + string(RevocationStatusFailed), + string(RevocationStatusInProgress), + string(RevocationStatusSucceeded), + } +} + +func (s *RevocationStatus) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseRevocationStatus(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseRevocationStatus(input string) (*RevocationStatus, error) { + vals := map[string]RevocationStatus{ + "failed": RevocationStatusFailed, + "inprogress": RevocationStatusInProgress, + "succeeded": RevocationStatusSucceeded, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := RevocationStatus(input) + return &out, nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/codesigning/2024-09-30-preview/certificateprofiles/id_certificateprofile.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/codesigning/2024-09-30-preview/certificateprofiles/id_certificateprofile.go new file mode 100644 index 000000000000..dbf303fd6f40 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/codesigning/2024-09-30-preview/certificateprofiles/id_certificateprofile.go @@ -0,0 +1,139 @@ +package certificateprofiles + +import ( + "fmt" + "strings" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/recaser" + "github.com/hashicorp/go-azure-helpers/resourcemanager/resourceids" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +func init() { + recaser.RegisterResourceId(&CertificateProfileId{}) +} + +var _ resourceids.ResourceId = &CertificateProfileId{} + +// CertificateProfileId is a struct representing the Resource ID for a Certificate Profile +type CertificateProfileId struct { + SubscriptionId string + ResourceGroupName string + CodeSigningAccountName string + CertificateProfileName string +} + +// NewCertificateProfileID returns a new CertificateProfileId struct +func NewCertificateProfileID(subscriptionId string, resourceGroupName string, codeSigningAccountName string, certificateProfileName string) CertificateProfileId { + return CertificateProfileId{ + SubscriptionId: subscriptionId, + ResourceGroupName: resourceGroupName, + CodeSigningAccountName: codeSigningAccountName, + CertificateProfileName: certificateProfileName, + } +} + +// ParseCertificateProfileID parses 'input' into a CertificateProfileId +func ParseCertificateProfileID(input string) (*CertificateProfileId, error) { + parser := resourceids.NewParserFromResourceIdType(&CertificateProfileId{}) + parsed, err := parser.Parse(input, false) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := CertificateProfileId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +// ParseCertificateProfileIDInsensitively parses 'input' case-insensitively into a CertificateProfileId +// note: this method should only be used for API response data and not user input +func ParseCertificateProfileIDInsensitively(input string) (*CertificateProfileId, error) { + parser := resourceids.NewParserFromResourceIdType(&CertificateProfileId{}) + parsed, err := parser.Parse(input, true) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := CertificateProfileId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +func (id *CertificateProfileId) FromParseResult(input resourceids.ParseResult) error { + var ok bool + + if id.SubscriptionId, ok = input.Parsed["subscriptionId"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "subscriptionId", input) + } + + if id.ResourceGroupName, ok = input.Parsed["resourceGroupName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "resourceGroupName", input) + } + + if id.CodeSigningAccountName, ok = input.Parsed["codeSigningAccountName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "codeSigningAccountName", input) + } + + if id.CertificateProfileName, ok = input.Parsed["certificateProfileName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "certificateProfileName", input) + } + + return nil +} + +// ValidateCertificateProfileID checks that 'input' can be parsed as a Certificate Profile ID +func ValidateCertificateProfileID(input interface{}, key string) (warnings []string, errors []error) { + v, ok := input.(string) + if !ok { + errors = append(errors, fmt.Errorf("expected %q to be a string", key)) + return + } + + if _, err := ParseCertificateProfileID(v); err != nil { + errors = append(errors, err) + } + + return +} + +// ID returns the formatted Certificate Profile ID +func (id CertificateProfileId) ID() string { + fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.CodeSigning/codeSigningAccounts/%s/certificateProfiles/%s" + return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.CodeSigningAccountName, id.CertificateProfileName) +} + +// Segments returns a slice of Resource ID Segments which comprise this Certificate Profile ID +func (id CertificateProfileId) Segments() []resourceids.Segment { + return []resourceids.Segment{ + resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), + resourceids.SubscriptionIdSegment("subscriptionId", "12345678-1234-9876-4563-123456789012"), + resourceids.StaticSegment("staticResourceGroups", "resourceGroups", "resourceGroups"), + resourceids.ResourceGroupSegment("resourceGroupName", "example-resource-group"), + resourceids.StaticSegment("staticProviders", "providers", "providers"), + resourceids.ResourceProviderSegment("staticMicrosoftCodeSigning", "Microsoft.CodeSigning", "Microsoft.CodeSigning"), + resourceids.StaticSegment("staticCodeSigningAccounts", "codeSigningAccounts", "codeSigningAccounts"), + resourceids.UserSpecifiedSegment("codeSigningAccountName", "codeSigningAccountName"), + resourceids.StaticSegment("staticCertificateProfiles", "certificateProfiles", "certificateProfiles"), + resourceids.UserSpecifiedSegment("certificateProfileName", "certificateProfileName"), + } +} + +// String returns a human-readable description of this Certificate Profile ID +func (id CertificateProfileId) String() string { + components := []string{ + fmt.Sprintf("Subscription: %q", id.SubscriptionId), + fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), + fmt.Sprintf("Code Signing Account Name: %q", id.CodeSigningAccountName), + fmt.Sprintf("Certificate Profile Name: %q", id.CertificateProfileName), + } + return fmt.Sprintf("Certificate Profile (%s)", strings.Join(components, "\n")) +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/codesigning/2024-09-30-preview/certificateprofiles/id_codesigningaccount.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/codesigning/2024-09-30-preview/certificateprofiles/id_codesigningaccount.go new file mode 100644 index 000000000000..e62cccb18c10 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/codesigning/2024-09-30-preview/certificateprofiles/id_codesigningaccount.go @@ -0,0 +1,130 @@ +package certificateprofiles + +import ( + "fmt" + "strings" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/recaser" + "github.com/hashicorp/go-azure-helpers/resourcemanager/resourceids" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +func init() { + recaser.RegisterResourceId(&CodeSigningAccountId{}) +} + +var _ resourceids.ResourceId = &CodeSigningAccountId{} + +// CodeSigningAccountId is a struct representing the Resource ID for a Code Signing Account +type CodeSigningAccountId struct { + SubscriptionId string + ResourceGroupName string + CodeSigningAccountName string +} + +// NewCodeSigningAccountID returns a new CodeSigningAccountId struct +func NewCodeSigningAccountID(subscriptionId string, resourceGroupName string, codeSigningAccountName string) CodeSigningAccountId { + return CodeSigningAccountId{ + SubscriptionId: subscriptionId, + ResourceGroupName: resourceGroupName, + CodeSigningAccountName: codeSigningAccountName, + } +} + +// ParseCodeSigningAccountID parses 'input' into a CodeSigningAccountId +func ParseCodeSigningAccountID(input string) (*CodeSigningAccountId, error) { + parser := resourceids.NewParserFromResourceIdType(&CodeSigningAccountId{}) + parsed, err := parser.Parse(input, false) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := CodeSigningAccountId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +// ParseCodeSigningAccountIDInsensitively parses 'input' case-insensitively into a CodeSigningAccountId +// note: this method should only be used for API response data and not user input +func ParseCodeSigningAccountIDInsensitively(input string) (*CodeSigningAccountId, error) { + parser := resourceids.NewParserFromResourceIdType(&CodeSigningAccountId{}) + parsed, err := parser.Parse(input, true) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := CodeSigningAccountId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +func (id *CodeSigningAccountId) FromParseResult(input resourceids.ParseResult) error { + var ok bool + + if id.SubscriptionId, ok = input.Parsed["subscriptionId"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "subscriptionId", input) + } + + if id.ResourceGroupName, ok = input.Parsed["resourceGroupName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "resourceGroupName", input) + } + + if id.CodeSigningAccountName, ok = input.Parsed["codeSigningAccountName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "codeSigningAccountName", input) + } + + return nil +} + +// ValidateCodeSigningAccountID checks that 'input' can be parsed as a Code Signing Account ID +func ValidateCodeSigningAccountID(input interface{}, key string) (warnings []string, errors []error) { + v, ok := input.(string) + if !ok { + errors = append(errors, fmt.Errorf("expected %q to be a string", key)) + return + } + + if _, err := ParseCodeSigningAccountID(v); err != nil { + errors = append(errors, err) + } + + return +} + +// ID returns the formatted Code Signing Account ID +func (id CodeSigningAccountId) ID() string { + fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.CodeSigning/codeSigningAccounts/%s" + return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.CodeSigningAccountName) +} + +// Segments returns a slice of Resource ID Segments which comprise this Code Signing Account ID +func (id CodeSigningAccountId) Segments() []resourceids.Segment { + return []resourceids.Segment{ + resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), + resourceids.SubscriptionIdSegment("subscriptionId", "12345678-1234-9876-4563-123456789012"), + resourceids.StaticSegment("staticResourceGroups", "resourceGroups", "resourceGroups"), + resourceids.ResourceGroupSegment("resourceGroupName", "example-resource-group"), + resourceids.StaticSegment("staticProviders", "providers", "providers"), + resourceids.ResourceProviderSegment("staticMicrosoftCodeSigning", "Microsoft.CodeSigning", "Microsoft.CodeSigning"), + resourceids.StaticSegment("staticCodeSigningAccounts", "codeSigningAccounts", "codeSigningAccounts"), + resourceids.UserSpecifiedSegment("codeSigningAccountName", "codeSigningAccountName"), + } +} + +// String returns a human-readable description of this Code Signing Account ID +func (id CodeSigningAccountId) String() string { + components := []string{ + fmt.Sprintf("Subscription: %q", id.SubscriptionId), + fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), + fmt.Sprintf("Code Signing Account Name: %q", id.CodeSigningAccountName), + } + return fmt.Sprintf("Code Signing Account (%s)", strings.Join(components, "\n")) +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/codesigning/2024-09-30-preview/certificateprofiles/method_create.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/codesigning/2024-09-30-preview/certificateprofiles/method_create.go new file mode 100644 index 000000000000..2cca3685e90c --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/codesigning/2024-09-30-preview/certificateprofiles/method_create.go @@ -0,0 +1,75 @@ +package certificateprofiles + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/client/pollers" + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type CreateOperationResponse struct { + Poller pollers.Poller + HttpResponse *http.Response + OData *odata.OData + Model *CertificateProfile +} + +// Create ... +func (c CertificateProfilesClient) Create(ctx context.Context, id CertificateProfileId, input CertificateProfile) (result CreateOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusCreated, + http.StatusOK, + }, + HttpMethod: http.MethodPut, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + if err = req.Marshal(input); err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client) + if err != nil { + return + } + + return +} + +// CreateThenPoll performs Create then polls until it's completed +func (c CertificateProfilesClient) CreateThenPoll(ctx context.Context, id CertificateProfileId, input CertificateProfile) error { + result, err := c.Create(ctx, id, input) + if err != nil { + return fmt.Errorf("performing Create: %+v", err) + } + + if err := result.Poller.PollUntilDone(ctx); err != nil { + return fmt.Errorf("polling after Create: %+v", err) + } + + return nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/codesigning/2024-09-30-preview/certificateprofiles/method_delete.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/codesigning/2024-09-30-preview/certificateprofiles/method_delete.go new file mode 100644 index 000000000000..058788bfe34c --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/codesigning/2024-09-30-preview/certificateprofiles/method_delete.go @@ -0,0 +1,70 @@ +package certificateprofiles + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/client/pollers" + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type DeleteOperationResponse struct { + Poller pollers.Poller + HttpResponse *http.Response + OData *odata.OData +} + +// Delete ... +func (c CertificateProfilesClient) Delete(ctx context.Context, id CertificateProfileId) (result DeleteOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusAccepted, + http.StatusNoContent, + }, + HttpMethod: http.MethodDelete, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client) + if err != nil { + return + } + + return +} + +// DeleteThenPoll performs Delete then polls until it's completed +func (c CertificateProfilesClient) DeleteThenPoll(ctx context.Context, id CertificateProfileId) error { + result, err := c.Delete(ctx, id) + if err != nil { + return fmt.Errorf("performing Delete: %+v", err) + } + + if err := result.Poller.PollUntilDone(ctx); err != nil { + return fmt.Errorf("polling after Delete: %+v", err) + } + + return nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/codesigning/2024-09-30-preview/certificateprofiles/method_get.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/codesigning/2024-09-30-preview/certificateprofiles/method_get.go new file mode 100644 index 000000000000..3f45ab39998f --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/codesigning/2024-09-30-preview/certificateprofiles/method_get.go @@ -0,0 +1,53 @@ +package certificateprofiles + +import ( + "context" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type GetOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *CertificateProfile +} + +// Get ... +func (c CertificateProfilesClient) Get(ctx context.Context, id CertificateProfileId) (result GetOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var model CertificateProfile + result.Model = &model + if err = resp.Unmarshal(result.Model); err != nil { + return + } + + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/codesigning/2024-09-30-preview/certificateprofiles/method_listbycodesigningaccount.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/codesigning/2024-09-30-preview/certificateprofiles/method_listbycodesigningaccount.go new file mode 100644 index 000000000000..7c89789a7983 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/codesigning/2024-09-30-preview/certificateprofiles/method_listbycodesigningaccount.go @@ -0,0 +1,105 @@ +package certificateprofiles + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ListByCodeSigningAccountOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *[]CertificateProfile +} + +type ListByCodeSigningAccountCompleteResult struct { + LatestHttpResponse *http.Response + Items []CertificateProfile +} + +type ListByCodeSigningAccountCustomPager struct { + NextLink *odata.Link `json:"nextLink"` +} + +func (p *ListByCodeSigningAccountCustomPager) NextPageLink() *odata.Link { + defer func() { + p.NextLink = nil + }() + + return p.NextLink +} + +// ListByCodeSigningAccount ... +func (c CertificateProfilesClient) ListByCodeSigningAccount(ctx context.Context, id CodeSigningAccountId) (result ListByCodeSigningAccountOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Pager: &ListByCodeSigningAccountCustomPager{}, + Path: fmt.Sprintf("%s/certificateProfiles", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.ExecutePaged(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var values struct { + Values *[]CertificateProfile `json:"value"` + } + if err = resp.Unmarshal(&values); err != nil { + return + } + + result.Model = values.Values + + return +} + +// ListByCodeSigningAccountComplete retrieves all the results into a single object +func (c CertificateProfilesClient) ListByCodeSigningAccountComplete(ctx context.Context, id CodeSigningAccountId) (ListByCodeSigningAccountCompleteResult, error) { + return c.ListByCodeSigningAccountCompleteMatchingPredicate(ctx, id, CertificateProfileOperationPredicate{}) +} + +// ListByCodeSigningAccountCompleteMatchingPredicate retrieves all the results and then applies the predicate +func (c CertificateProfilesClient) ListByCodeSigningAccountCompleteMatchingPredicate(ctx context.Context, id CodeSigningAccountId, predicate CertificateProfileOperationPredicate) (result ListByCodeSigningAccountCompleteResult, err error) { + items := make([]CertificateProfile, 0) + + resp, err := c.ListByCodeSigningAccount(ctx, id) + if err != nil { + result.LatestHttpResponse = resp.HttpResponse + err = fmt.Errorf("loading results: %+v", err) + return + } + if resp.Model != nil { + for _, v := range *resp.Model { + if predicate.Matches(v) { + items = append(items, v) + } + } + } + + result = ListByCodeSigningAccountCompleteResult{ + LatestHttpResponse: resp.HttpResponse, + Items: items, + } + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/codesigning/2024-09-30-preview/certificateprofiles/method_revokecertificate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/codesigning/2024-09-30-preview/certificateprofiles/method_revokecertificate.go new file mode 100644 index 000000000000..b24ef796a1d9 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/codesigning/2024-09-30-preview/certificateprofiles/method_revokecertificate.go @@ -0,0 +1,51 @@ +package certificateprofiles + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type RevokeCertificateOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData +} + +// RevokeCertificate ... +func (c CertificateProfilesClient) RevokeCertificate(ctx context.Context, id CertificateProfileId, input RevokeCertificate) (result RevokeCertificateOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusNoContent, + }, + HttpMethod: http.MethodPost, + Path: fmt.Sprintf("%s/revokeCertificate", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + if err = req.Marshal(input); err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/codesigning/2024-09-30-preview/certificateprofiles/model_certificate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/codesigning/2024-09-30-preview/certificateprofiles/model_certificate.go new file mode 100644 index 000000000000..ab301ee146e9 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/codesigning/2024-09-30-preview/certificateprofiles/model_certificate.go @@ -0,0 +1,15 @@ +package certificateprofiles + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type Certificate struct { + CreatedDate *string `json:"createdDate,omitempty"` + EnhancedKeyUsage *string `json:"enhancedKeyUsage,omitempty"` + ExpiryDate *string `json:"expiryDate,omitempty"` + Revocation *Revocation `json:"revocation,omitempty"` + SerialNumber *string `json:"serialNumber,omitempty"` + Status *CertificateStatus `json:"status,omitempty"` + SubjectName *string `json:"subjectName,omitempty"` + Thumbprint *string `json:"thumbprint,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/codesigning/2024-09-30-preview/certificateprofiles/model_certificateprofile.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/codesigning/2024-09-30-preview/certificateprofiles/model_certificateprofile.go new file mode 100644 index 000000000000..2e47218eb895 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/codesigning/2024-09-30-preview/certificateprofiles/model_certificateprofile.go @@ -0,0 +1,16 @@ +package certificateprofiles + +import ( + "github.com/hashicorp/go-azure-helpers/resourcemanager/systemdata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type CertificateProfile struct { + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *CertificateProfileProperties `json:"properties,omitempty"` + SystemData *systemdata.SystemData `json:"systemData,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/codesigning/2024-09-30-preview/certificateprofiles/model_certificateprofileproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/codesigning/2024-09-30-preview/certificateprofiles/model_certificateprofileproperties.go new file mode 100644 index 000000000000..06390d807eba --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/codesigning/2024-09-30-preview/certificateprofiles/model_certificateprofileproperties.go @@ -0,0 +1,17 @@ +package certificateprofiles + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type CertificateProfileProperties struct { + Certificates *[]Certificate `json:"certificates,omitempty"` + IdentityValidationId string `json:"identityValidationId"` + IncludeCity *bool `json:"includeCity,omitempty"` + IncludeCountry *bool `json:"includeCountry,omitempty"` + IncludePostalCode *bool `json:"includePostalCode,omitempty"` + IncludeState *bool `json:"includeState,omitempty"` + IncludeStreetAddress *bool `json:"includeStreetAddress,omitempty"` + ProfileType ProfileType `json:"profileType"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + Status *CertificateProfileStatus `json:"status,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/codesigning/2024-09-30-preview/certificateprofiles/model_revocation.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/codesigning/2024-09-30-preview/certificateprofiles/model_revocation.go new file mode 100644 index 000000000000..1cd45d74417a --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/codesigning/2024-09-30-preview/certificateprofiles/model_revocation.go @@ -0,0 +1,43 @@ +package certificateprofiles + +import ( + "time" + + "github.com/hashicorp/go-azure-helpers/lang/dates" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type Revocation struct { + EffectiveAt *string `json:"effectiveAt,omitempty"` + FailureReason *string `json:"failureReason,omitempty"` + Reason *string `json:"reason,omitempty"` + Remarks *string `json:"remarks,omitempty"` + RequestedAt *string `json:"requestedAt,omitempty"` + Status *RevocationStatus `json:"status,omitempty"` +} + +func (o *Revocation) GetEffectiveAtAsTime() (*time.Time, error) { + if o.EffectiveAt == nil { + return nil, nil + } + return dates.ParseAsFormat(o.EffectiveAt, "2006-01-02T15:04:05Z07:00") +} + +func (o *Revocation) SetEffectiveAtAsTime(input time.Time) { + formatted := input.Format("2006-01-02T15:04:05Z07:00") + o.EffectiveAt = &formatted +} + +func (o *Revocation) GetRequestedAtAsTime() (*time.Time, error) { + if o.RequestedAt == nil { + return nil, nil + } + return dates.ParseAsFormat(o.RequestedAt, "2006-01-02T15:04:05Z07:00") +} + +func (o *Revocation) SetRequestedAtAsTime(input time.Time) { + formatted := input.Format("2006-01-02T15:04:05Z07:00") + o.RequestedAt = &formatted +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/codesigning/2024-09-30-preview/certificateprofiles/model_revokecertificate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/codesigning/2024-09-30-preview/certificateprofiles/model_revokecertificate.go new file mode 100644 index 000000000000..b8bea125a782 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/codesigning/2024-09-30-preview/certificateprofiles/model_revokecertificate.go @@ -0,0 +1,27 @@ +package certificateprofiles + +import ( + "time" + + "github.com/hashicorp/go-azure-helpers/lang/dates" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type RevokeCertificate struct { + EffectiveAt string `json:"effectiveAt"` + Reason string `json:"reason"` + Remarks *string `json:"remarks,omitempty"` + SerialNumber string `json:"serialNumber"` + Thumbprint string `json:"thumbprint"` +} + +func (o *RevokeCertificate) GetEffectiveAtAsTime() (*time.Time, error) { + return dates.ParseAsFormat(&o.EffectiveAt, "2006-01-02T15:04:05Z07:00") +} + +func (o *RevokeCertificate) SetEffectiveAtAsTime(input time.Time) { + formatted := input.Format("2006-01-02T15:04:05Z07:00") + o.EffectiveAt = formatted +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/codesigning/2024-09-30-preview/certificateprofiles/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/codesigning/2024-09-30-preview/certificateprofiles/predicates.go new file mode 100644 index 000000000000..3044be14db45 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/codesigning/2024-09-30-preview/certificateprofiles/predicates.go @@ -0,0 +1,27 @@ +package certificateprofiles + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type CertificateProfileOperationPredicate struct { + Id *string + Name *string + Type *string +} + +func (p CertificateProfileOperationPredicate) Matches(input CertificateProfile) bool { + + if p.Id != nil && (input.Id == nil || *p.Id != *input.Id) { + return false + } + + if p.Name != nil && (input.Name == nil || *p.Name != *input.Name) { + return false + } + + if p.Type != nil && (input.Type == nil || *p.Type != *input.Type) { + return false + } + + return true +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/codesigning/2024-09-30-preview/certificateprofiles/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/codesigning/2024-09-30-preview/certificateprofiles/version.go new file mode 100644 index 000000000000..2f1d629a008b --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/codesigning/2024-09-30-preview/certificateprofiles/version.go @@ -0,0 +1,10 @@ +package certificateprofiles + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2024-09-30-preview" + +func userAgent() string { + return "hashicorp/go-azure-sdk/certificateprofiles/2024-09-30-preview" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/codesigning/2024-09-30-preview/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/codesigning/2024-09-30-preview/client.go new file mode 100644 index 000000000000..868e723d9797 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/codesigning/2024-09-30-preview/client.go @@ -0,0 +1,37 @@ +package v2024_09_30_preview + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +import ( + "fmt" + + "github.com/hashicorp/go-azure-sdk/resource-manager/codesigning/2024-09-30-preview/certificateprofiles" + "github.com/hashicorp/go-azure-sdk/resource-manager/codesigning/2024-09-30-preview/codesigningaccounts" + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + sdkEnv "github.com/hashicorp/go-azure-sdk/sdk/environments" +) + +type Client struct { + CertificateProfiles *certificateprofiles.CertificateProfilesClient + CodeSigningAccounts *codesigningaccounts.CodeSigningAccountsClient +} + +func NewClientWithBaseURI(sdkApi sdkEnv.Api, configureFunc func(c *resourcemanager.Client)) (*Client, error) { + certificateProfilesClient, err := certificateprofiles.NewCertificateProfilesClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building CertificateProfiles client: %+v", err) + } + configureFunc(certificateProfilesClient.Client) + + codeSigningAccountsClient, err := codesigningaccounts.NewCodeSigningAccountsClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building CodeSigningAccounts client: %+v", err) + } + configureFunc(codeSigningAccountsClient.Client) + + return &Client{ + CertificateProfiles: certificateProfilesClient, + CodeSigningAccounts: codeSigningAccountsClient, + }, nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/codesigning/2024-09-30-preview/codesigningaccounts/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/codesigning/2024-09-30-preview/codesigningaccounts/README.md new file mode 100644 index 000000000000..914bd4802c38 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/codesigning/2024-09-30-preview/codesigningaccounts/README.md @@ -0,0 +1,138 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/codesigning/2024-09-30-preview/codesigningaccounts` Documentation + +The `codesigningaccounts` SDK allows for interaction with Azure Resource Manager `codesigning` (API Version `2024-09-30-preview`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" +import "github.com/hashicorp/go-azure-sdk/resource-manager/codesigning/2024-09-30-preview/codesigningaccounts" +``` + + +### Client Initialization + +```go +client := codesigningaccounts.NewCodeSigningAccountsClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `CodeSigningAccountsClient.CheckNameAvailability` + +```go +ctx := context.TODO() +id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012") + +payload := codesigningaccounts.CheckNameAvailability{ + // ... +} + + +read, err := client.CheckNameAvailability(ctx, id, payload) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `CodeSigningAccountsClient.Create` + +```go +ctx := context.TODO() +id := codesigningaccounts.NewCodeSigningAccountID("12345678-1234-9876-4563-123456789012", "example-resource-group", "codeSigningAccountName") + +payload := codesigningaccounts.CodeSigningAccount{ + // ... +} + + +if err := client.CreateThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `CodeSigningAccountsClient.Delete` + +```go +ctx := context.TODO() +id := codesigningaccounts.NewCodeSigningAccountID("12345678-1234-9876-4563-123456789012", "example-resource-group", "codeSigningAccountName") + +if err := client.DeleteThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `CodeSigningAccountsClient.Get` + +```go +ctx := context.TODO() +id := codesigningaccounts.NewCodeSigningAccountID("12345678-1234-9876-4563-123456789012", "example-resource-group", "codeSigningAccountName") + +read, err := client.Get(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `CodeSigningAccountsClient.ListByResourceGroup` + +```go +ctx := context.TODO() +id := commonids.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group") + +// alternatively `client.ListByResourceGroup(ctx, id)` can be used to do batched pagination +items, err := client.ListByResourceGroupComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `CodeSigningAccountsClient.ListBySubscription` + +```go +ctx := context.TODO() +id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012") + +// alternatively `client.ListBySubscription(ctx, id)` can be used to do batched pagination +items, err := client.ListBySubscriptionComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `CodeSigningAccountsClient.Update` + +```go +ctx := context.TODO() +id := codesigningaccounts.NewCodeSigningAccountID("12345678-1234-9876-4563-123456789012", "example-resource-group", "codeSigningAccountName") + +payload := codesigningaccounts.CodeSigningAccountPatch{ + // ... +} + + +if err := client.UpdateThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/codesigning/2024-09-30-preview/codesigningaccounts/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/codesigning/2024-09-30-preview/codesigningaccounts/client.go new file mode 100644 index 000000000000..dabcf27b25c5 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/codesigning/2024-09-30-preview/codesigningaccounts/client.go @@ -0,0 +1,26 @@ +package codesigningaccounts + +import ( + "fmt" + + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + sdkEnv "github.com/hashicorp/go-azure-sdk/sdk/environments" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type CodeSigningAccountsClient struct { + Client *resourcemanager.Client +} + +func NewCodeSigningAccountsClientWithBaseURI(sdkApi sdkEnv.Api) (*CodeSigningAccountsClient, error) { + client, err := resourcemanager.NewClient(sdkApi, "codesigningaccounts", defaultApiVersion) + if err != nil { + return nil, fmt.Errorf("instantiating CodeSigningAccountsClient: %+v", err) + } + + return &CodeSigningAccountsClient{ + Client: client, + }, nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/codesigning/2024-09-30-preview/codesigningaccounts/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/codesigning/2024-09-30-preview/codesigningaccounts/constants.go new file mode 100644 index 000000000000..48cb12493f22 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/codesigning/2024-09-30-preview/codesigningaccounts/constants.go @@ -0,0 +1,145 @@ +package codesigningaccounts + +import ( + "encoding/json" + "fmt" + "strings" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NameUnavailabilityReason string + +const ( + NameUnavailabilityReasonAccountNameInvalid NameUnavailabilityReason = "AccountNameInvalid" + NameUnavailabilityReasonAlreadyExists NameUnavailabilityReason = "AlreadyExists" +) + +func PossibleValuesForNameUnavailabilityReason() []string { + return []string{ + string(NameUnavailabilityReasonAccountNameInvalid), + string(NameUnavailabilityReasonAlreadyExists), + } +} + +func (s *NameUnavailabilityReason) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseNameUnavailabilityReason(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseNameUnavailabilityReason(input string) (*NameUnavailabilityReason, error) { + vals := map[string]NameUnavailabilityReason{ + "accountnameinvalid": NameUnavailabilityReasonAccountNameInvalid, + "alreadyexists": NameUnavailabilityReasonAlreadyExists, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := NameUnavailabilityReason(input) + return &out, nil +} + +type ProvisioningState string + +const ( + ProvisioningStateAccepted ProvisioningState = "Accepted" + ProvisioningStateCanceled ProvisioningState = "Canceled" + ProvisioningStateDeleting ProvisioningState = "Deleting" + ProvisioningStateFailed ProvisioningState = "Failed" + ProvisioningStateSucceeded ProvisioningState = "Succeeded" + ProvisioningStateUpdating ProvisioningState = "Updating" +) + +func PossibleValuesForProvisioningState() []string { + return []string{ + string(ProvisioningStateAccepted), + string(ProvisioningStateCanceled), + string(ProvisioningStateDeleting), + string(ProvisioningStateFailed), + string(ProvisioningStateSucceeded), + string(ProvisioningStateUpdating), + } +} + +func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseProvisioningState(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseProvisioningState(input string) (*ProvisioningState, error) { + vals := map[string]ProvisioningState{ + "accepted": ProvisioningStateAccepted, + "canceled": ProvisioningStateCanceled, + "deleting": ProvisioningStateDeleting, + "failed": ProvisioningStateFailed, + "succeeded": ProvisioningStateSucceeded, + "updating": ProvisioningStateUpdating, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ProvisioningState(input) + return &out, nil +} + +type SkuName string + +const ( + SkuNameBasic SkuName = "Basic" + SkuNamePremium SkuName = "Premium" +) + +func PossibleValuesForSkuName() []string { + return []string{ + string(SkuNameBasic), + string(SkuNamePremium), + } +} + +func (s *SkuName) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseSkuName(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseSkuName(input string) (*SkuName, error) { + vals := map[string]SkuName{ + "basic": SkuNameBasic, + "premium": SkuNamePremium, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := SkuName(input) + return &out, nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/codesigning/2024-09-30-preview/codesigningaccounts/id_codesigningaccount.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/codesigning/2024-09-30-preview/codesigningaccounts/id_codesigningaccount.go new file mode 100644 index 000000000000..345dd35145c5 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/codesigning/2024-09-30-preview/codesigningaccounts/id_codesigningaccount.go @@ -0,0 +1,130 @@ +package codesigningaccounts + +import ( + "fmt" + "strings" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/recaser" + "github.com/hashicorp/go-azure-helpers/resourcemanager/resourceids" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +func init() { + recaser.RegisterResourceId(&CodeSigningAccountId{}) +} + +var _ resourceids.ResourceId = &CodeSigningAccountId{} + +// CodeSigningAccountId is a struct representing the Resource ID for a Code Signing Account +type CodeSigningAccountId struct { + SubscriptionId string + ResourceGroupName string + CodeSigningAccountName string +} + +// NewCodeSigningAccountID returns a new CodeSigningAccountId struct +func NewCodeSigningAccountID(subscriptionId string, resourceGroupName string, codeSigningAccountName string) CodeSigningAccountId { + return CodeSigningAccountId{ + SubscriptionId: subscriptionId, + ResourceGroupName: resourceGroupName, + CodeSigningAccountName: codeSigningAccountName, + } +} + +// ParseCodeSigningAccountID parses 'input' into a CodeSigningAccountId +func ParseCodeSigningAccountID(input string) (*CodeSigningAccountId, error) { + parser := resourceids.NewParserFromResourceIdType(&CodeSigningAccountId{}) + parsed, err := parser.Parse(input, false) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := CodeSigningAccountId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +// ParseCodeSigningAccountIDInsensitively parses 'input' case-insensitively into a CodeSigningAccountId +// note: this method should only be used for API response data and not user input +func ParseCodeSigningAccountIDInsensitively(input string) (*CodeSigningAccountId, error) { + parser := resourceids.NewParserFromResourceIdType(&CodeSigningAccountId{}) + parsed, err := parser.Parse(input, true) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := CodeSigningAccountId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +func (id *CodeSigningAccountId) FromParseResult(input resourceids.ParseResult) error { + var ok bool + + if id.SubscriptionId, ok = input.Parsed["subscriptionId"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "subscriptionId", input) + } + + if id.ResourceGroupName, ok = input.Parsed["resourceGroupName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "resourceGroupName", input) + } + + if id.CodeSigningAccountName, ok = input.Parsed["codeSigningAccountName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "codeSigningAccountName", input) + } + + return nil +} + +// ValidateCodeSigningAccountID checks that 'input' can be parsed as a Code Signing Account ID +func ValidateCodeSigningAccountID(input interface{}, key string) (warnings []string, errors []error) { + v, ok := input.(string) + if !ok { + errors = append(errors, fmt.Errorf("expected %q to be a string", key)) + return + } + + if _, err := ParseCodeSigningAccountID(v); err != nil { + errors = append(errors, err) + } + + return +} + +// ID returns the formatted Code Signing Account ID +func (id CodeSigningAccountId) ID() string { + fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.CodeSigning/codeSigningAccounts/%s" + return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.CodeSigningAccountName) +} + +// Segments returns a slice of Resource ID Segments which comprise this Code Signing Account ID +func (id CodeSigningAccountId) Segments() []resourceids.Segment { + return []resourceids.Segment{ + resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), + resourceids.SubscriptionIdSegment("subscriptionId", "12345678-1234-9876-4563-123456789012"), + resourceids.StaticSegment("staticResourceGroups", "resourceGroups", "resourceGroups"), + resourceids.ResourceGroupSegment("resourceGroupName", "example-resource-group"), + resourceids.StaticSegment("staticProviders", "providers", "providers"), + resourceids.ResourceProviderSegment("staticMicrosoftCodeSigning", "Microsoft.CodeSigning", "Microsoft.CodeSigning"), + resourceids.StaticSegment("staticCodeSigningAccounts", "codeSigningAccounts", "codeSigningAccounts"), + resourceids.UserSpecifiedSegment("codeSigningAccountName", "codeSigningAccountName"), + } +} + +// String returns a human-readable description of this Code Signing Account ID +func (id CodeSigningAccountId) String() string { + components := []string{ + fmt.Sprintf("Subscription: %q", id.SubscriptionId), + fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), + fmt.Sprintf("Code Signing Account Name: %q", id.CodeSigningAccountName), + } + return fmt.Sprintf("Code Signing Account (%s)", strings.Join(components, "\n")) +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/codesigning/2024-09-30-preview/codesigningaccounts/method_checknameavailability.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/codesigning/2024-09-30-preview/codesigningaccounts/method_checknameavailability.go new file mode 100644 index 000000000000..2a800d7f6115 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/codesigning/2024-09-30-preview/codesigningaccounts/method_checknameavailability.go @@ -0,0 +1,59 @@ +package codesigningaccounts + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type CheckNameAvailabilityOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *CheckNameAvailabilityResult +} + +// CheckNameAvailability ... +func (c CodeSigningAccountsClient) CheckNameAvailability(ctx context.Context, id commonids.SubscriptionId, input CheckNameAvailability) (result CheckNameAvailabilityOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodPost, + Path: fmt.Sprintf("%s/providers/Microsoft.CodeSigning/checkNameAvailability", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + if err = req.Marshal(input); err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var model CheckNameAvailabilityResult + result.Model = &model + if err = resp.Unmarshal(result.Model); err != nil { + return + } + + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/codesigning/2024-09-30-preview/codesigningaccounts/method_create.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/codesigning/2024-09-30-preview/codesigningaccounts/method_create.go new file mode 100644 index 000000000000..7d665533d73e --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/codesigning/2024-09-30-preview/codesigningaccounts/method_create.go @@ -0,0 +1,75 @@ +package codesigningaccounts + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/client/pollers" + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type CreateOperationResponse struct { + Poller pollers.Poller + HttpResponse *http.Response + OData *odata.OData + Model *CodeSigningAccount +} + +// Create ... +func (c CodeSigningAccountsClient) Create(ctx context.Context, id CodeSigningAccountId, input CodeSigningAccount) (result CreateOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusCreated, + http.StatusOK, + }, + HttpMethod: http.MethodPut, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + if err = req.Marshal(input); err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client) + if err != nil { + return + } + + return +} + +// CreateThenPoll performs Create then polls until it's completed +func (c CodeSigningAccountsClient) CreateThenPoll(ctx context.Context, id CodeSigningAccountId, input CodeSigningAccount) error { + result, err := c.Create(ctx, id, input) + if err != nil { + return fmt.Errorf("performing Create: %+v", err) + } + + if err := result.Poller.PollUntilDone(ctx); err != nil { + return fmt.Errorf("polling after Create: %+v", err) + } + + return nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/codesigning/2024-09-30-preview/codesigningaccounts/method_delete.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/codesigning/2024-09-30-preview/codesigningaccounts/method_delete.go new file mode 100644 index 000000000000..88c742301081 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/codesigning/2024-09-30-preview/codesigningaccounts/method_delete.go @@ -0,0 +1,70 @@ +package codesigningaccounts + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/client/pollers" + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type DeleteOperationResponse struct { + Poller pollers.Poller + HttpResponse *http.Response + OData *odata.OData +} + +// Delete ... +func (c CodeSigningAccountsClient) Delete(ctx context.Context, id CodeSigningAccountId) (result DeleteOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusAccepted, + http.StatusNoContent, + }, + HttpMethod: http.MethodDelete, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client) + if err != nil { + return + } + + return +} + +// DeleteThenPoll performs Delete then polls until it's completed +func (c CodeSigningAccountsClient) DeleteThenPoll(ctx context.Context, id CodeSigningAccountId) error { + result, err := c.Delete(ctx, id) + if err != nil { + return fmt.Errorf("performing Delete: %+v", err) + } + + if err := result.Poller.PollUntilDone(ctx); err != nil { + return fmt.Errorf("polling after Delete: %+v", err) + } + + return nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/codesigning/2024-09-30-preview/codesigningaccounts/method_get.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/codesigning/2024-09-30-preview/codesigningaccounts/method_get.go new file mode 100644 index 000000000000..f56a3fc5585b --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/codesigning/2024-09-30-preview/codesigningaccounts/method_get.go @@ -0,0 +1,53 @@ +package codesigningaccounts + +import ( + "context" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type GetOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *CodeSigningAccount +} + +// Get ... +func (c CodeSigningAccountsClient) Get(ctx context.Context, id CodeSigningAccountId) (result GetOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var model CodeSigningAccount + result.Model = &model + if err = resp.Unmarshal(result.Model); err != nil { + return + } + + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/codesigning/2024-09-30-preview/codesigningaccounts/method_listbyresourcegroup.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/codesigning/2024-09-30-preview/codesigningaccounts/method_listbyresourcegroup.go new file mode 100644 index 000000000000..dcbd40870936 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/codesigning/2024-09-30-preview/codesigningaccounts/method_listbyresourcegroup.go @@ -0,0 +1,106 @@ +package codesigningaccounts + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ListByResourceGroupOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *[]CodeSigningAccount +} + +type ListByResourceGroupCompleteResult struct { + LatestHttpResponse *http.Response + Items []CodeSigningAccount +} + +type ListByResourceGroupCustomPager struct { + NextLink *odata.Link `json:"nextLink"` +} + +func (p *ListByResourceGroupCustomPager) NextPageLink() *odata.Link { + defer func() { + p.NextLink = nil + }() + + return p.NextLink +} + +// ListByResourceGroup ... +func (c CodeSigningAccountsClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListByResourceGroupOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Pager: &ListByResourceGroupCustomPager{}, + Path: fmt.Sprintf("%s/providers/Microsoft.CodeSigning/codeSigningAccounts", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.ExecutePaged(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var values struct { + Values *[]CodeSigningAccount `json:"value"` + } + if err = resp.Unmarshal(&values); err != nil { + return + } + + result.Model = values.Values + + return +} + +// ListByResourceGroupComplete retrieves all the results into a single object +func (c CodeSigningAccountsClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error) { + return c.ListByResourceGroupCompleteMatchingPredicate(ctx, id, CodeSigningAccountOperationPredicate{}) +} + +// ListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate +func (c CodeSigningAccountsClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate CodeSigningAccountOperationPredicate) (result ListByResourceGroupCompleteResult, err error) { + items := make([]CodeSigningAccount, 0) + + resp, err := c.ListByResourceGroup(ctx, id) + if err != nil { + result.LatestHttpResponse = resp.HttpResponse + err = fmt.Errorf("loading results: %+v", err) + return + } + if resp.Model != nil { + for _, v := range *resp.Model { + if predicate.Matches(v) { + items = append(items, v) + } + } + } + + result = ListByResourceGroupCompleteResult{ + LatestHttpResponse: resp.HttpResponse, + Items: items, + } + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/codesigning/2024-09-30-preview/codesigningaccounts/method_listbysubscription.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/codesigning/2024-09-30-preview/codesigningaccounts/method_listbysubscription.go new file mode 100644 index 000000000000..af7e03ceac42 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/codesigning/2024-09-30-preview/codesigningaccounts/method_listbysubscription.go @@ -0,0 +1,106 @@ +package codesigningaccounts + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ListBySubscriptionOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *[]CodeSigningAccount +} + +type ListBySubscriptionCompleteResult struct { + LatestHttpResponse *http.Response + Items []CodeSigningAccount +} + +type ListBySubscriptionCustomPager struct { + NextLink *odata.Link `json:"nextLink"` +} + +func (p *ListBySubscriptionCustomPager) NextPageLink() *odata.Link { + defer func() { + p.NextLink = nil + }() + + return p.NextLink +} + +// ListBySubscription ... +func (c CodeSigningAccountsClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (result ListBySubscriptionOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Pager: &ListBySubscriptionCustomPager{}, + Path: fmt.Sprintf("%s/providers/Microsoft.CodeSigning/codeSigningAccounts", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.ExecutePaged(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var values struct { + Values *[]CodeSigningAccount `json:"value"` + } + if err = resp.Unmarshal(&values); err != nil { + return + } + + result.Model = values.Values + + return +} + +// ListBySubscriptionComplete retrieves all the results into a single object +func (c CodeSigningAccountsClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error) { + return c.ListBySubscriptionCompleteMatchingPredicate(ctx, id, CodeSigningAccountOperationPredicate{}) +} + +// ListBySubscriptionCompleteMatchingPredicate retrieves all the results and then applies the predicate +func (c CodeSigningAccountsClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate CodeSigningAccountOperationPredicate) (result ListBySubscriptionCompleteResult, err error) { + items := make([]CodeSigningAccount, 0) + + resp, err := c.ListBySubscription(ctx, id) + if err != nil { + result.LatestHttpResponse = resp.HttpResponse + err = fmt.Errorf("loading results: %+v", err) + return + } + if resp.Model != nil { + for _, v := range *resp.Model { + if predicate.Matches(v) { + items = append(items, v) + } + } + } + + result = ListBySubscriptionCompleteResult{ + LatestHttpResponse: resp.HttpResponse, + Items: items, + } + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/codesigning/2024-09-30-preview/codesigningaccounts/method_update.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/codesigning/2024-09-30-preview/codesigningaccounts/method_update.go new file mode 100644 index 000000000000..d1a3d395e082 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/codesigning/2024-09-30-preview/codesigningaccounts/method_update.go @@ -0,0 +1,75 @@ +package codesigningaccounts + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/client/pollers" + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type UpdateOperationResponse struct { + Poller pollers.Poller + HttpResponse *http.Response + OData *odata.OData + Model *CodeSigningAccount +} + +// Update ... +func (c CodeSigningAccountsClient) Update(ctx context.Context, id CodeSigningAccountId, input CodeSigningAccountPatch) (result UpdateOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusAccepted, + http.StatusOK, + }, + HttpMethod: http.MethodPatch, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + if err = req.Marshal(input); err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client) + if err != nil { + return + } + + return +} + +// UpdateThenPoll performs Update then polls until it's completed +func (c CodeSigningAccountsClient) UpdateThenPoll(ctx context.Context, id CodeSigningAccountId, input CodeSigningAccountPatch) error { + result, err := c.Update(ctx, id, input) + if err != nil { + return fmt.Errorf("performing Update: %+v", err) + } + + if err := result.Poller.PollUntilDone(ctx); err != nil { + return fmt.Errorf("polling after Update: %+v", err) + } + + return nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/codesigning/2024-09-30-preview/codesigningaccounts/model_accountsku.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/codesigning/2024-09-30-preview/codesigningaccounts/model_accountsku.go new file mode 100644 index 000000000000..301eca38210d --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/codesigning/2024-09-30-preview/codesigningaccounts/model_accountsku.go @@ -0,0 +1,8 @@ +package codesigningaccounts + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type AccountSku struct { + Name SkuName `json:"name"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/codesigning/2024-09-30-preview/codesigningaccounts/model_accountskupatch.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/codesigning/2024-09-30-preview/codesigningaccounts/model_accountskupatch.go new file mode 100644 index 000000000000..0f09a8660b89 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/codesigning/2024-09-30-preview/codesigningaccounts/model_accountskupatch.go @@ -0,0 +1,8 @@ +package codesigningaccounts + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type AccountSkuPatch struct { + Name *SkuName `json:"name,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/codesigning/2024-09-30-preview/codesigningaccounts/model_checknameavailability.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/codesigning/2024-09-30-preview/codesigningaccounts/model_checknameavailability.go new file mode 100644 index 000000000000..f01c090ec694 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/codesigning/2024-09-30-preview/codesigningaccounts/model_checknameavailability.go @@ -0,0 +1,8 @@ +package codesigningaccounts + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type CheckNameAvailability struct { + Name string `json:"name"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/codesigning/2024-09-30-preview/codesigningaccounts/model_checknameavailabilityresult.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/codesigning/2024-09-30-preview/codesigningaccounts/model_checknameavailabilityresult.go new file mode 100644 index 000000000000..9fee693bf9ff --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/codesigning/2024-09-30-preview/codesigningaccounts/model_checknameavailabilityresult.go @@ -0,0 +1,10 @@ +package codesigningaccounts + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type CheckNameAvailabilityResult struct { + Message *string `json:"message,omitempty"` + NameAvailable *bool `json:"nameAvailable,omitempty"` + Reason *NameUnavailabilityReason `json:"reason,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/codesigning/2024-09-30-preview/codesigningaccounts/model_codesigningaccount.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/codesigning/2024-09-30-preview/codesigningaccounts/model_codesigningaccount.go new file mode 100644 index 000000000000..e21b9375fb82 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/codesigning/2024-09-30-preview/codesigningaccounts/model_codesigningaccount.go @@ -0,0 +1,18 @@ +package codesigningaccounts + +import ( + "github.com/hashicorp/go-azure-helpers/resourcemanager/systemdata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type CodeSigningAccount struct { + Id *string `json:"id,omitempty"` + Location string `json:"location"` + Name *string `json:"name,omitempty"` + Properties *CodeSigningAccountProperties `json:"properties,omitempty"` + SystemData *systemdata.SystemData `json:"systemData,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/codesigning/2024-09-30-preview/codesigningaccounts/model_codesigningaccountpatch.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/codesigning/2024-09-30-preview/codesigningaccounts/model_codesigningaccountpatch.go new file mode 100644 index 000000000000..704c7e415880 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/codesigning/2024-09-30-preview/codesigningaccounts/model_codesigningaccountpatch.go @@ -0,0 +1,9 @@ +package codesigningaccounts + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type CodeSigningAccountPatch struct { + Properties *CodeSigningAccountPatchProperties `json:"properties,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/codesigning/2024-09-30-preview/codesigningaccounts/model_codesigningaccountpatchproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/codesigning/2024-09-30-preview/codesigningaccounts/model_codesigningaccountpatchproperties.go new file mode 100644 index 000000000000..7ddd60275fe9 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/codesigning/2024-09-30-preview/codesigningaccounts/model_codesigningaccountpatchproperties.go @@ -0,0 +1,8 @@ +package codesigningaccounts + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type CodeSigningAccountPatchProperties struct { + Sku *AccountSkuPatch `json:"sku,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/codesigning/2024-09-30-preview/codesigningaccounts/model_codesigningaccountproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/codesigning/2024-09-30-preview/codesigningaccounts/model_codesigningaccountproperties.go new file mode 100644 index 000000000000..30d1d196fb96 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/codesigning/2024-09-30-preview/codesigningaccounts/model_codesigningaccountproperties.go @@ -0,0 +1,10 @@ +package codesigningaccounts + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type CodeSigningAccountProperties struct { + AccountUri *string `json:"accountUri,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + Sku *AccountSku `json:"sku,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/codesigning/2024-09-30-preview/codesigningaccounts/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/codesigning/2024-09-30-preview/codesigningaccounts/predicates.go new file mode 100644 index 000000000000..cea979dacf80 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/codesigning/2024-09-30-preview/codesigningaccounts/predicates.go @@ -0,0 +1,32 @@ +package codesigningaccounts + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type CodeSigningAccountOperationPredicate struct { + Id *string + Location *string + Name *string + Type *string +} + +func (p CodeSigningAccountOperationPredicate) Matches(input CodeSigningAccount) bool { + + if p.Id != nil && (input.Id == nil || *p.Id != *input.Id) { + return false + } + + if p.Location != nil && *p.Location != input.Location { + return false + } + + if p.Name != nil && (input.Name == nil || *p.Name != *input.Name) { + return false + } + + if p.Type != nil && (input.Type == nil || *p.Type != *input.Type) { + return false + } + + return true +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/codesigning/2024-09-30-preview/codesigningaccounts/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/codesigning/2024-09-30-preview/codesigningaccounts/version.go new file mode 100644 index 000000000000..4f6d304868e9 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/codesigning/2024-09-30-preview/codesigningaccounts/version.go @@ -0,0 +1,10 @@ +package codesigningaccounts + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2024-09-30-preview" + +func userAgent() string { + return "hashicorp/go-azure-sdk/codesigningaccounts/2024-09-30-preview" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/README.md deleted file mode 100644 index d67d97bdd9f6..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/README.md +++ /dev/null @@ -1,1893 +0,0 @@ - -## `github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb` Documentation - -The `cosmosdb` SDK allows for interaction with Azure Resource Manager `cosmosdb` (API Version `2024-05-15`). - -This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). - -### Import Path - -```go -import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" -import "github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb" -``` - - -### Client Initialization - -```go -client := cosmosdb.NewCosmosDBClientWithBaseURI("https://management.azure.com") -client.Client.Authorizer = authorizer -``` - - -### Example Usage: `CosmosDBClient.CassandraResourcesCreateUpdateCassandraKeyspace` - -```go -ctx := context.TODO() -id := cosmosdb.NewCassandraKeyspaceID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "cassandraKeyspaceName") - -payload := cosmosdb.CassandraKeyspaceCreateUpdateParameters{ - // ... -} - - -if err := client.CassandraResourcesCreateUpdateCassandraKeyspaceThenPoll(ctx, id, payload); err != nil { - // handle the error -} -``` - - -### Example Usage: `CosmosDBClient.CassandraResourcesCreateUpdateCassandraTable` - -```go -ctx := context.TODO() -id := cosmosdb.NewCassandraKeyspaceTableID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "cassandraKeyspaceName", "tableName") - -payload := cosmosdb.CassandraTableCreateUpdateParameters{ - // ... -} - - -if err := client.CassandraResourcesCreateUpdateCassandraTableThenPoll(ctx, id, payload); err != nil { - // handle the error -} -``` - - -### Example Usage: `CosmosDBClient.CassandraResourcesDeleteCassandraKeyspace` - -```go -ctx := context.TODO() -id := cosmosdb.NewCassandraKeyspaceID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "cassandraKeyspaceName") - -if err := client.CassandraResourcesDeleteCassandraKeyspaceThenPoll(ctx, id); err != nil { - // handle the error -} -``` - - -### Example Usage: `CosmosDBClient.CassandraResourcesDeleteCassandraTable` - -```go -ctx := context.TODO() -id := cosmosdb.NewCassandraKeyspaceTableID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "cassandraKeyspaceName", "tableName") - -if err := client.CassandraResourcesDeleteCassandraTableThenPoll(ctx, id); err != nil { - // handle the error -} -``` - - -### Example Usage: `CosmosDBClient.CassandraResourcesGetCassandraKeyspace` - -```go -ctx := context.TODO() -id := cosmosdb.NewCassandraKeyspaceID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "cassandraKeyspaceName") - -read, err := client.CassandraResourcesGetCassandraKeyspace(ctx, id) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `CosmosDBClient.CassandraResourcesGetCassandraKeyspaceThroughput` - -```go -ctx := context.TODO() -id := cosmosdb.NewCassandraKeyspaceID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "cassandraKeyspaceName") - -read, err := client.CassandraResourcesGetCassandraKeyspaceThroughput(ctx, id) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `CosmosDBClient.CassandraResourcesGetCassandraTable` - -```go -ctx := context.TODO() -id := cosmosdb.NewCassandraKeyspaceTableID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "cassandraKeyspaceName", "tableName") - -read, err := client.CassandraResourcesGetCassandraTable(ctx, id) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `CosmosDBClient.CassandraResourcesGetCassandraTableThroughput` - -```go -ctx := context.TODO() -id := cosmosdb.NewCassandraKeyspaceTableID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "cassandraKeyspaceName", "tableName") - -read, err := client.CassandraResourcesGetCassandraTableThroughput(ctx, id) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `CosmosDBClient.CassandraResourcesListCassandraKeyspaces` - -```go -ctx := context.TODO() -id := cosmosdb.NewDatabaseAccountID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName") - -read, err := client.CassandraResourcesListCassandraKeyspaces(ctx, id) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `CosmosDBClient.CassandraResourcesListCassandraTables` - -```go -ctx := context.TODO() -id := cosmosdb.NewCassandraKeyspaceID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "cassandraKeyspaceName") - -read, err := client.CassandraResourcesListCassandraTables(ctx, id) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `CosmosDBClient.CassandraResourcesMigrateCassandraKeyspaceToAutoscale` - -```go -ctx := context.TODO() -id := cosmosdb.NewCassandraKeyspaceID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "cassandraKeyspaceName") - -if err := client.CassandraResourcesMigrateCassandraKeyspaceToAutoscaleThenPoll(ctx, id); err != nil { - // handle the error -} -``` - - -### Example Usage: `CosmosDBClient.CassandraResourcesMigrateCassandraKeyspaceToManualThroughput` - -```go -ctx := context.TODO() -id := cosmosdb.NewCassandraKeyspaceID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "cassandraKeyspaceName") - -if err := client.CassandraResourcesMigrateCassandraKeyspaceToManualThroughputThenPoll(ctx, id); err != nil { - // handle the error -} -``` - - -### Example Usage: `CosmosDBClient.CassandraResourcesMigrateCassandraTableToAutoscale` - -```go -ctx := context.TODO() -id := cosmosdb.NewCassandraKeyspaceTableID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "cassandraKeyspaceName", "tableName") - -if err := client.CassandraResourcesMigrateCassandraTableToAutoscaleThenPoll(ctx, id); err != nil { - // handle the error -} -``` - - -### Example Usage: `CosmosDBClient.CassandraResourcesMigrateCassandraTableToManualThroughput` - -```go -ctx := context.TODO() -id := cosmosdb.NewCassandraKeyspaceTableID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "cassandraKeyspaceName", "tableName") - -if err := client.CassandraResourcesMigrateCassandraTableToManualThroughputThenPoll(ctx, id); err != nil { - // handle the error -} -``` - - -### Example Usage: `CosmosDBClient.CassandraResourcesUpdateCassandraKeyspaceThroughput` - -```go -ctx := context.TODO() -id := cosmosdb.NewCassandraKeyspaceID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "cassandraKeyspaceName") - -payload := cosmosdb.ThroughputSettingsUpdateParameters{ - // ... -} - - -if err := client.CassandraResourcesUpdateCassandraKeyspaceThroughputThenPoll(ctx, id, payload); err != nil { - // handle the error -} -``` - - -### Example Usage: `CosmosDBClient.CassandraResourcesUpdateCassandraTableThroughput` - -```go -ctx := context.TODO() -id := cosmosdb.NewCassandraKeyspaceTableID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "cassandraKeyspaceName", "tableName") - -payload := cosmosdb.ThroughputSettingsUpdateParameters{ - // ... -} - - -if err := client.CassandraResourcesUpdateCassandraTableThroughputThenPoll(ctx, id, payload); err != nil { - // handle the error -} -``` - - -### Example Usage: `CosmosDBClient.CollectionListMetricDefinitions` - -```go -ctx := context.TODO() -id := cosmosdb.NewCollectionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "databaseName", "collectionName") - -read, err := client.CollectionListMetricDefinitions(ctx, id) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `CosmosDBClient.CollectionListMetrics` - -```go -ctx := context.TODO() -id := cosmosdb.NewCollectionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "databaseName", "collectionName") - -read, err := client.CollectionListMetrics(ctx, id, cosmosdb.DefaultCollectionListMetricsOperationOptions()) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `CosmosDBClient.CollectionListUsages` - -```go -ctx := context.TODO() -id := cosmosdb.NewCollectionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "databaseName", "collectionName") - -read, err := client.CollectionListUsages(ctx, id, cosmosdb.DefaultCollectionListUsagesOperationOptions()) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `CosmosDBClient.CollectionPartitionListMetrics` - -```go -ctx := context.TODO() -id := cosmosdb.NewCollectionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "databaseName", "collectionName") - -read, err := client.CollectionPartitionListMetrics(ctx, id, cosmosdb.DefaultCollectionPartitionListMetricsOperationOptions()) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `CosmosDBClient.CollectionPartitionListUsages` - -```go -ctx := context.TODO() -id := cosmosdb.NewCollectionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "databaseName", "collectionName") - -read, err := client.CollectionPartitionListUsages(ctx, id, cosmosdb.DefaultCollectionPartitionListUsagesOperationOptions()) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `CosmosDBClient.CollectionPartitionRegionListMetrics` - -```go -ctx := context.TODO() -id := cosmosdb.NewDatabaseCollectionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "regionName", "databaseName", "collectionName") - -read, err := client.CollectionPartitionRegionListMetrics(ctx, id, cosmosdb.DefaultCollectionPartitionRegionListMetricsOperationOptions()) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `CosmosDBClient.CollectionRegionListMetrics` - -```go -ctx := context.TODO() -id := cosmosdb.NewDatabaseCollectionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "regionName", "databaseName", "collectionName") - -read, err := client.CollectionRegionListMetrics(ctx, id, cosmosdb.DefaultCollectionRegionListMetricsOperationOptions()) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `CosmosDBClient.DatabaseAccountRegionListMetrics` - -```go -ctx := context.TODO() -id := cosmosdb.NewRegionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "regionName") - -read, err := client.DatabaseAccountRegionListMetrics(ctx, id, cosmosdb.DefaultDatabaseAccountRegionListMetricsOperationOptions()) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `CosmosDBClient.DatabaseAccountsCheckNameExists` - -```go -ctx := context.TODO() -id := cosmosdb.NewDatabaseAccountNameID("accountName") - -read, err := client.DatabaseAccountsCheckNameExists(ctx, id) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `CosmosDBClient.DatabaseAccountsCreateOrUpdate` - -```go -ctx := context.TODO() -id := cosmosdb.NewDatabaseAccountID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName") - -payload := cosmosdb.DatabaseAccountCreateUpdateParameters{ - // ... -} - - -if err := client.DatabaseAccountsCreateOrUpdateThenPoll(ctx, id, payload); err != nil { - // handle the error -} -``` - - -### Example Usage: `CosmosDBClient.DatabaseAccountsDelete` - -```go -ctx := context.TODO() -id := cosmosdb.NewDatabaseAccountID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName") - -if err := client.DatabaseAccountsDeleteThenPoll(ctx, id); err != nil { - // handle the error -} -``` - - -### Example Usage: `CosmosDBClient.DatabaseAccountsFailoverPriorityChange` - -```go -ctx := context.TODO() -id := cosmosdb.NewDatabaseAccountID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName") - -payload := cosmosdb.FailoverPolicies{ - // ... -} - - -if err := client.DatabaseAccountsFailoverPriorityChangeThenPoll(ctx, id, payload); err != nil { - // handle the error -} -``` - - -### Example Usage: `CosmosDBClient.DatabaseAccountsGet` - -```go -ctx := context.TODO() -id := cosmosdb.NewDatabaseAccountID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName") - -read, err := client.DatabaseAccountsGet(ctx, id) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `CosmosDBClient.DatabaseAccountsGetReadOnlyKeys` - -```go -ctx := context.TODO() -id := cosmosdb.NewDatabaseAccountID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName") - -read, err := client.DatabaseAccountsGetReadOnlyKeys(ctx, id) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `CosmosDBClient.DatabaseAccountsList` - -```go -ctx := context.TODO() -id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012") - -read, err := client.DatabaseAccountsList(ctx, id) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `CosmosDBClient.DatabaseAccountsListByResourceGroup` - -```go -ctx := context.TODO() -id := commonids.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group") - -read, err := client.DatabaseAccountsListByResourceGroup(ctx, id) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `CosmosDBClient.DatabaseAccountsListConnectionStrings` - -```go -ctx := context.TODO() -id := cosmosdb.NewDatabaseAccountID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName") - -read, err := client.DatabaseAccountsListConnectionStrings(ctx, id) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `CosmosDBClient.DatabaseAccountsListKeys` - -```go -ctx := context.TODO() -id := cosmosdb.NewDatabaseAccountID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName") - -read, err := client.DatabaseAccountsListKeys(ctx, id) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `CosmosDBClient.DatabaseAccountsListMetricDefinitions` - -```go -ctx := context.TODO() -id := cosmosdb.NewDatabaseAccountID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName") - -read, err := client.DatabaseAccountsListMetricDefinitions(ctx, id) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `CosmosDBClient.DatabaseAccountsListMetrics` - -```go -ctx := context.TODO() -id := cosmosdb.NewDatabaseAccountID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName") - -read, err := client.DatabaseAccountsListMetrics(ctx, id, cosmosdb.DefaultDatabaseAccountsListMetricsOperationOptions()) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `CosmosDBClient.DatabaseAccountsListReadOnlyKeys` - -```go -ctx := context.TODO() -id := cosmosdb.NewDatabaseAccountID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName") - -read, err := client.DatabaseAccountsListReadOnlyKeys(ctx, id) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `CosmosDBClient.DatabaseAccountsListUsages` - -```go -ctx := context.TODO() -id := cosmosdb.NewDatabaseAccountID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName") - -read, err := client.DatabaseAccountsListUsages(ctx, id, cosmosdb.DefaultDatabaseAccountsListUsagesOperationOptions()) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `CosmosDBClient.DatabaseAccountsOfflineRegion` - -```go -ctx := context.TODO() -id := cosmosdb.NewDatabaseAccountID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName") - -payload := cosmosdb.RegionForOnlineOffline{ - // ... -} - - -if err := client.DatabaseAccountsOfflineRegionThenPoll(ctx, id, payload); err != nil { - // handle the error -} -``` - - -### Example Usage: `CosmosDBClient.DatabaseAccountsOnlineRegion` - -```go -ctx := context.TODO() -id := cosmosdb.NewDatabaseAccountID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName") - -payload := cosmosdb.RegionForOnlineOffline{ - // ... -} - - -if err := client.DatabaseAccountsOnlineRegionThenPoll(ctx, id, payload); err != nil { - // handle the error -} -``` - - -### Example Usage: `CosmosDBClient.DatabaseAccountsRegenerateKey` - -```go -ctx := context.TODO() -id := cosmosdb.NewDatabaseAccountID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName") - -payload := cosmosdb.DatabaseAccountRegenerateKeyParameters{ - // ... -} - - -if err := client.DatabaseAccountsRegenerateKeyThenPoll(ctx, id, payload); err != nil { - // handle the error -} -``` - - -### Example Usage: `CosmosDBClient.DatabaseAccountsUpdate` - -```go -ctx := context.TODO() -id := cosmosdb.NewDatabaseAccountID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName") - -payload := cosmosdb.DatabaseAccountUpdateParameters{ - // ... -} - - -if err := client.DatabaseAccountsUpdateThenPoll(ctx, id, payload); err != nil { - // handle the error -} -``` - - -### Example Usage: `CosmosDBClient.DatabaseListMetricDefinitions` - -```go -ctx := context.TODO() -id := cosmosdb.NewDatabaseID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "databaseName") - -read, err := client.DatabaseListMetricDefinitions(ctx, id) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `CosmosDBClient.DatabaseListMetrics` - -```go -ctx := context.TODO() -id := cosmosdb.NewDatabaseID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "databaseName") - -read, err := client.DatabaseListMetrics(ctx, id, cosmosdb.DefaultDatabaseListMetricsOperationOptions()) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `CosmosDBClient.DatabaseListUsages` - -```go -ctx := context.TODO() -id := cosmosdb.NewDatabaseID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "databaseName") - -read, err := client.DatabaseListUsages(ctx, id, cosmosdb.DefaultDatabaseListUsagesOperationOptions()) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `CosmosDBClient.GremlinResourcesCreateUpdateGremlinDatabase` - -```go -ctx := context.TODO() -id := cosmosdb.NewGremlinDatabaseID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "gremlinDatabaseName") - -payload := cosmosdb.GremlinDatabaseCreateUpdateParameters{ - // ... -} - - -if err := client.GremlinResourcesCreateUpdateGremlinDatabaseThenPoll(ctx, id, payload); err != nil { - // handle the error -} -``` - - -### Example Usage: `CosmosDBClient.GremlinResourcesCreateUpdateGremlinGraph` - -```go -ctx := context.TODO() -id := cosmosdb.NewGraphID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "gremlinDatabaseName", "graphName") - -payload := cosmosdb.GremlinGraphCreateUpdateParameters{ - // ... -} - - -if err := client.GremlinResourcesCreateUpdateGremlinGraphThenPoll(ctx, id, payload); err != nil { - // handle the error -} -``` - - -### Example Usage: `CosmosDBClient.GremlinResourcesDeleteGremlinDatabase` - -```go -ctx := context.TODO() -id := cosmosdb.NewGremlinDatabaseID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "gremlinDatabaseName") - -if err := client.GremlinResourcesDeleteGremlinDatabaseThenPoll(ctx, id); err != nil { - // handle the error -} -``` - - -### Example Usage: `CosmosDBClient.GremlinResourcesDeleteGremlinGraph` - -```go -ctx := context.TODO() -id := cosmosdb.NewGraphID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "gremlinDatabaseName", "graphName") - -if err := client.GremlinResourcesDeleteGremlinGraphThenPoll(ctx, id); err != nil { - // handle the error -} -``` - - -### Example Usage: `CosmosDBClient.GremlinResourcesGetGremlinDatabase` - -```go -ctx := context.TODO() -id := cosmosdb.NewGremlinDatabaseID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "gremlinDatabaseName") - -read, err := client.GremlinResourcesGetGremlinDatabase(ctx, id) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `CosmosDBClient.GremlinResourcesGetGremlinDatabaseThroughput` - -```go -ctx := context.TODO() -id := cosmosdb.NewGremlinDatabaseID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "gremlinDatabaseName") - -read, err := client.GremlinResourcesGetGremlinDatabaseThroughput(ctx, id) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `CosmosDBClient.GremlinResourcesGetGremlinGraph` - -```go -ctx := context.TODO() -id := cosmosdb.NewGraphID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "gremlinDatabaseName", "graphName") - -read, err := client.GremlinResourcesGetGremlinGraph(ctx, id) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `CosmosDBClient.GremlinResourcesGetGremlinGraphThroughput` - -```go -ctx := context.TODO() -id := cosmosdb.NewGraphID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "gremlinDatabaseName", "graphName") - -read, err := client.GremlinResourcesGetGremlinGraphThroughput(ctx, id) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `CosmosDBClient.GremlinResourcesListGremlinDatabases` - -```go -ctx := context.TODO() -id := cosmosdb.NewDatabaseAccountID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName") - -read, err := client.GremlinResourcesListGremlinDatabases(ctx, id) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `CosmosDBClient.GremlinResourcesListGremlinGraphs` - -```go -ctx := context.TODO() -id := cosmosdb.NewGremlinDatabaseID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "gremlinDatabaseName") - -read, err := client.GremlinResourcesListGremlinGraphs(ctx, id) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `CosmosDBClient.GremlinResourcesMigrateGremlinDatabaseToAutoscale` - -```go -ctx := context.TODO() -id := cosmosdb.NewGremlinDatabaseID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "gremlinDatabaseName") - -if err := client.GremlinResourcesMigrateGremlinDatabaseToAutoscaleThenPoll(ctx, id); err != nil { - // handle the error -} -``` - - -### Example Usage: `CosmosDBClient.GremlinResourcesMigrateGremlinDatabaseToManualThroughput` - -```go -ctx := context.TODO() -id := cosmosdb.NewGremlinDatabaseID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "gremlinDatabaseName") - -if err := client.GremlinResourcesMigrateGremlinDatabaseToManualThroughputThenPoll(ctx, id); err != nil { - // handle the error -} -``` - - -### Example Usage: `CosmosDBClient.GremlinResourcesMigrateGremlinGraphToAutoscale` - -```go -ctx := context.TODO() -id := cosmosdb.NewGraphID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "gremlinDatabaseName", "graphName") - -if err := client.GremlinResourcesMigrateGremlinGraphToAutoscaleThenPoll(ctx, id); err != nil { - // handle the error -} -``` - - -### Example Usage: `CosmosDBClient.GremlinResourcesMigrateGremlinGraphToManualThroughput` - -```go -ctx := context.TODO() -id := cosmosdb.NewGraphID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "gremlinDatabaseName", "graphName") - -if err := client.GremlinResourcesMigrateGremlinGraphToManualThroughputThenPoll(ctx, id); err != nil { - // handle the error -} -``` - - -### Example Usage: `CosmosDBClient.GremlinResourcesUpdateGremlinDatabaseThroughput` - -```go -ctx := context.TODO() -id := cosmosdb.NewGremlinDatabaseID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "gremlinDatabaseName") - -payload := cosmosdb.ThroughputSettingsUpdateParameters{ - // ... -} - - -if err := client.GremlinResourcesUpdateGremlinDatabaseThroughputThenPoll(ctx, id, payload); err != nil { - // handle the error -} -``` - - -### Example Usage: `CosmosDBClient.GremlinResourcesUpdateGremlinGraphThroughput` - -```go -ctx := context.TODO() -id := cosmosdb.NewGraphID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "gremlinDatabaseName", "graphName") - -payload := cosmosdb.ThroughputSettingsUpdateParameters{ - // ... -} - - -if err := client.GremlinResourcesUpdateGremlinGraphThroughputThenPoll(ctx, id, payload); err != nil { - // handle the error -} -``` - - -### Example Usage: `CosmosDBClient.LocationsGet` - -```go -ctx := context.TODO() -id := cosmosdb.NewLocationID("12345678-1234-9876-4563-123456789012", "locationName") - -read, err := client.LocationsGet(ctx, id) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `CosmosDBClient.LocationsList` - -```go -ctx := context.TODO() -id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012") - -read, err := client.LocationsList(ctx, id) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `CosmosDBClient.MongoDBResourcesCreateUpdateMongoDBCollection` - -```go -ctx := context.TODO() -id := cosmosdb.NewMongodbDatabaseCollectionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "mongodbDatabaseName", "collectionName") - -payload := cosmosdb.MongoDBCollectionCreateUpdateParameters{ - // ... -} - - -if err := client.MongoDBResourcesCreateUpdateMongoDBCollectionThenPoll(ctx, id, payload); err != nil { - // handle the error -} -``` - - -### Example Usage: `CosmosDBClient.MongoDBResourcesCreateUpdateMongoDBDatabase` - -```go -ctx := context.TODO() -id := cosmosdb.NewMongodbDatabaseID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "mongodbDatabaseName") - -payload := cosmosdb.MongoDBDatabaseCreateUpdateParameters{ - // ... -} - - -if err := client.MongoDBResourcesCreateUpdateMongoDBDatabaseThenPoll(ctx, id, payload); err != nil { - // handle the error -} -``` - - -### Example Usage: `CosmosDBClient.MongoDBResourcesDeleteMongoDBCollection` - -```go -ctx := context.TODO() -id := cosmosdb.NewMongodbDatabaseCollectionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "mongodbDatabaseName", "collectionName") - -if err := client.MongoDBResourcesDeleteMongoDBCollectionThenPoll(ctx, id); err != nil { - // handle the error -} -``` - - -### Example Usage: `CosmosDBClient.MongoDBResourcesDeleteMongoDBDatabase` - -```go -ctx := context.TODO() -id := cosmosdb.NewMongodbDatabaseID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "mongodbDatabaseName") - -if err := client.MongoDBResourcesDeleteMongoDBDatabaseThenPoll(ctx, id); err != nil { - // handle the error -} -``` - - -### Example Usage: `CosmosDBClient.MongoDBResourcesGetMongoDBCollection` - -```go -ctx := context.TODO() -id := cosmosdb.NewMongodbDatabaseCollectionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "mongodbDatabaseName", "collectionName") - -read, err := client.MongoDBResourcesGetMongoDBCollection(ctx, id) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `CosmosDBClient.MongoDBResourcesGetMongoDBCollectionThroughput` - -```go -ctx := context.TODO() -id := cosmosdb.NewMongodbDatabaseCollectionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "mongodbDatabaseName", "collectionName") - -read, err := client.MongoDBResourcesGetMongoDBCollectionThroughput(ctx, id) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `CosmosDBClient.MongoDBResourcesGetMongoDBDatabase` - -```go -ctx := context.TODO() -id := cosmosdb.NewMongodbDatabaseID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "mongodbDatabaseName") - -read, err := client.MongoDBResourcesGetMongoDBDatabase(ctx, id) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `CosmosDBClient.MongoDBResourcesGetMongoDBDatabaseThroughput` - -```go -ctx := context.TODO() -id := cosmosdb.NewMongodbDatabaseID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "mongodbDatabaseName") - -read, err := client.MongoDBResourcesGetMongoDBDatabaseThroughput(ctx, id) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `CosmosDBClient.MongoDBResourcesListMongoDBCollections` - -```go -ctx := context.TODO() -id := cosmosdb.NewMongodbDatabaseID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "mongodbDatabaseName") - -read, err := client.MongoDBResourcesListMongoDBCollections(ctx, id) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `CosmosDBClient.MongoDBResourcesListMongoDBDatabases` - -```go -ctx := context.TODO() -id := cosmosdb.NewDatabaseAccountID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName") - -read, err := client.MongoDBResourcesListMongoDBDatabases(ctx, id) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `CosmosDBClient.MongoDBResourcesMigrateMongoDBCollectionToAutoscale` - -```go -ctx := context.TODO() -id := cosmosdb.NewMongodbDatabaseCollectionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "mongodbDatabaseName", "collectionName") - -if err := client.MongoDBResourcesMigrateMongoDBCollectionToAutoscaleThenPoll(ctx, id); err != nil { - // handle the error -} -``` - - -### Example Usage: `CosmosDBClient.MongoDBResourcesMigrateMongoDBCollectionToManualThroughput` - -```go -ctx := context.TODO() -id := cosmosdb.NewMongodbDatabaseCollectionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "mongodbDatabaseName", "collectionName") - -if err := client.MongoDBResourcesMigrateMongoDBCollectionToManualThroughputThenPoll(ctx, id); err != nil { - // handle the error -} -``` - - -### Example Usage: `CosmosDBClient.MongoDBResourcesMigrateMongoDBDatabaseToAutoscale` - -```go -ctx := context.TODO() -id := cosmosdb.NewMongodbDatabaseID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "mongodbDatabaseName") - -if err := client.MongoDBResourcesMigrateMongoDBDatabaseToAutoscaleThenPoll(ctx, id); err != nil { - // handle the error -} -``` - - -### Example Usage: `CosmosDBClient.MongoDBResourcesMigrateMongoDBDatabaseToManualThroughput` - -```go -ctx := context.TODO() -id := cosmosdb.NewMongodbDatabaseID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "mongodbDatabaseName") - -if err := client.MongoDBResourcesMigrateMongoDBDatabaseToManualThroughputThenPoll(ctx, id); err != nil { - // handle the error -} -``` - - -### Example Usage: `CosmosDBClient.MongoDBResourcesUpdateMongoDBCollectionThroughput` - -```go -ctx := context.TODO() -id := cosmosdb.NewMongodbDatabaseCollectionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "mongodbDatabaseName", "collectionName") - -payload := cosmosdb.ThroughputSettingsUpdateParameters{ - // ... -} - - -if err := client.MongoDBResourcesUpdateMongoDBCollectionThroughputThenPoll(ctx, id, payload); err != nil { - // handle the error -} -``` - - -### Example Usage: `CosmosDBClient.MongoDBResourcesUpdateMongoDBDatabaseThroughput` - -```go -ctx := context.TODO() -id := cosmosdb.NewMongodbDatabaseID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "mongodbDatabaseName") - -payload := cosmosdb.ThroughputSettingsUpdateParameters{ - // ... -} - - -if err := client.MongoDBResourcesUpdateMongoDBDatabaseThroughputThenPoll(ctx, id, payload); err != nil { - // handle the error -} -``` - - -### Example Usage: `CosmosDBClient.PartitionKeyRangeIdListMetrics` - -```go -ctx := context.TODO() -id := cosmosdb.NewPartitionKeyRangeIdID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "databaseName", "collectionName", "partitionKeyRangeId") - -read, err := client.PartitionKeyRangeIdListMetrics(ctx, id, cosmosdb.DefaultPartitionKeyRangeIdListMetricsOperationOptions()) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `CosmosDBClient.PartitionKeyRangeIdRegionListMetrics` - -```go -ctx := context.TODO() -id := cosmosdb.NewCollectionPartitionKeyRangeIdID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "regionName", "databaseName", "collectionName", "partitionKeyRangeId") - -read, err := client.PartitionKeyRangeIdRegionListMetrics(ctx, id, cosmosdb.DefaultPartitionKeyRangeIdRegionListMetricsOperationOptions()) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `CosmosDBClient.PercentileListMetrics` - -```go -ctx := context.TODO() -id := cosmosdb.NewDatabaseAccountID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName") - -read, err := client.PercentileListMetrics(ctx, id, cosmosdb.DefaultPercentileListMetricsOperationOptions()) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `CosmosDBClient.PercentileSourceTargetListMetrics` - -```go -ctx := context.TODO() -id := cosmosdb.NewSourceRegionTargetRegionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "sourceRegionName", "targetRegionName") - -read, err := client.PercentileSourceTargetListMetrics(ctx, id, cosmosdb.DefaultPercentileSourceTargetListMetricsOperationOptions()) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `CosmosDBClient.PercentileTargetListMetrics` - -```go -ctx := context.TODO() -id := cosmosdb.NewTargetRegionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "targetRegionName") - -read, err := client.PercentileTargetListMetrics(ctx, id, cosmosdb.DefaultPercentileTargetListMetricsOperationOptions()) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `CosmosDBClient.SqlResourcesCreateUpdateClientEncryptionKey` - -```go -ctx := context.TODO() -id := cosmosdb.NewClientEncryptionKeyID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "sqlDatabaseName", "clientEncryptionKeyName") - -payload := cosmosdb.ClientEncryptionKeyCreateUpdateParameters{ - // ... -} - - -if err := client.SqlResourcesCreateUpdateClientEncryptionKeyThenPoll(ctx, id, payload); err != nil { - // handle the error -} -``` - - -### Example Usage: `CosmosDBClient.SqlResourcesCreateUpdateSqlContainer` - -```go -ctx := context.TODO() -id := cosmosdb.NewContainerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "sqlDatabaseName", "containerName") - -payload := cosmosdb.SqlContainerCreateUpdateParameters{ - // ... -} - - -if err := client.SqlResourcesCreateUpdateSqlContainerThenPoll(ctx, id, payload); err != nil { - // handle the error -} -``` - - -### Example Usage: `CosmosDBClient.SqlResourcesCreateUpdateSqlDatabase` - -```go -ctx := context.TODO() -id := cosmosdb.NewSqlDatabaseID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "sqlDatabaseName") - -payload := cosmosdb.SqlDatabaseCreateUpdateParameters{ - // ... -} - - -if err := client.SqlResourcesCreateUpdateSqlDatabaseThenPoll(ctx, id, payload); err != nil { - // handle the error -} -``` - - -### Example Usage: `CosmosDBClient.SqlResourcesCreateUpdateSqlStoredProcedure` - -```go -ctx := context.TODO() -id := cosmosdb.NewStoredProcedureID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "sqlDatabaseName", "containerName", "storedProcedureName") - -payload := cosmosdb.SqlStoredProcedureCreateUpdateParameters{ - // ... -} - - -if err := client.SqlResourcesCreateUpdateSqlStoredProcedureThenPoll(ctx, id, payload); err != nil { - // handle the error -} -``` - - -### Example Usage: `CosmosDBClient.SqlResourcesCreateUpdateSqlTrigger` - -```go -ctx := context.TODO() -id := cosmosdb.NewTriggerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "sqlDatabaseName", "containerName", "triggerName") - -payload := cosmosdb.SqlTriggerCreateUpdateParameters{ - // ... -} - - -if err := client.SqlResourcesCreateUpdateSqlTriggerThenPoll(ctx, id, payload); err != nil { - // handle the error -} -``` - - -### Example Usage: `CosmosDBClient.SqlResourcesCreateUpdateSqlUserDefinedFunction` - -```go -ctx := context.TODO() -id := cosmosdb.NewUserDefinedFunctionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "sqlDatabaseName", "containerName", "userDefinedFunctionName") - -payload := cosmosdb.SqlUserDefinedFunctionCreateUpdateParameters{ - // ... -} - - -if err := client.SqlResourcesCreateUpdateSqlUserDefinedFunctionThenPoll(ctx, id, payload); err != nil { - // handle the error -} -``` - - -### Example Usage: `CosmosDBClient.SqlResourcesDeleteSqlContainer` - -```go -ctx := context.TODO() -id := cosmosdb.NewContainerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "sqlDatabaseName", "containerName") - -if err := client.SqlResourcesDeleteSqlContainerThenPoll(ctx, id); err != nil { - // handle the error -} -``` - - -### Example Usage: `CosmosDBClient.SqlResourcesDeleteSqlDatabase` - -```go -ctx := context.TODO() -id := cosmosdb.NewSqlDatabaseID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "sqlDatabaseName") - -if err := client.SqlResourcesDeleteSqlDatabaseThenPoll(ctx, id); err != nil { - // handle the error -} -``` - - -### Example Usage: `CosmosDBClient.SqlResourcesDeleteSqlStoredProcedure` - -```go -ctx := context.TODO() -id := cosmosdb.NewStoredProcedureID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "sqlDatabaseName", "containerName", "storedProcedureName") - -if err := client.SqlResourcesDeleteSqlStoredProcedureThenPoll(ctx, id); err != nil { - // handle the error -} -``` - - -### Example Usage: `CosmosDBClient.SqlResourcesDeleteSqlTrigger` - -```go -ctx := context.TODO() -id := cosmosdb.NewTriggerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "sqlDatabaseName", "containerName", "triggerName") - -if err := client.SqlResourcesDeleteSqlTriggerThenPoll(ctx, id); err != nil { - // handle the error -} -``` - - -### Example Usage: `CosmosDBClient.SqlResourcesDeleteSqlUserDefinedFunction` - -```go -ctx := context.TODO() -id := cosmosdb.NewUserDefinedFunctionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "sqlDatabaseName", "containerName", "userDefinedFunctionName") - -if err := client.SqlResourcesDeleteSqlUserDefinedFunctionThenPoll(ctx, id); err != nil { - // handle the error -} -``` - - -### Example Usage: `CosmosDBClient.SqlResourcesGetClientEncryptionKey` - -```go -ctx := context.TODO() -id := cosmosdb.NewClientEncryptionKeyID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "sqlDatabaseName", "clientEncryptionKeyName") - -read, err := client.SqlResourcesGetClientEncryptionKey(ctx, id) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `CosmosDBClient.SqlResourcesGetSqlContainer` - -```go -ctx := context.TODO() -id := cosmosdb.NewContainerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "sqlDatabaseName", "containerName") - -read, err := client.SqlResourcesGetSqlContainer(ctx, id) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `CosmosDBClient.SqlResourcesGetSqlContainerThroughput` - -```go -ctx := context.TODO() -id := cosmosdb.NewContainerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "sqlDatabaseName", "containerName") - -read, err := client.SqlResourcesGetSqlContainerThroughput(ctx, id) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `CosmosDBClient.SqlResourcesGetSqlDatabase` - -```go -ctx := context.TODO() -id := cosmosdb.NewSqlDatabaseID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "sqlDatabaseName") - -read, err := client.SqlResourcesGetSqlDatabase(ctx, id) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `CosmosDBClient.SqlResourcesGetSqlDatabaseThroughput` - -```go -ctx := context.TODO() -id := cosmosdb.NewSqlDatabaseID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "sqlDatabaseName") - -read, err := client.SqlResourcesGetSqlDatabaseThroughput(ctx, id) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `CosmosDBClient.SqlResourcesGetSqlStoredProcedure` - -```go -ctx := context.TODO() -id := cosmosdb.NewStoredProcedureID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "sqlDatabaseName", "containerName", "storedProcedureName") - -read, err := client.SqlResourcesGetSqlStoredProcedure(ctx, id) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `CosmosDBClient.SqlResourcesGetSqlTrigger` - -```go -ctx := context.TODO() -id := cosmosdb.NewTriggerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "sqlDatabaseName", "containerName", "triggerName") - -read, err := client.SqlResourcesGetSqlTrigger(ctx, id) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `CosmosDBClient.SqlResourcesGetSqlUserDefinedFunction` - -```go -ctx := context.TODO() -id := cosmosdb.NewUserDefinedFunctionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "sqlDatabaseName", "containerName", "userDefinedFunctionName") - -read, err := client.SqlResourcesGetSqlUserDefinedFunction(ctx, id) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `CosmosDBClient.SqlResourcesListClientEncryptionKeys` - -```go -ctx := context.TODO() -id := cosmosdb.NewSqlDatabaseID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "sqlDatabaseName") - -read, err := client.SqlResourcesListClientEncryptionKeys(ctx, id) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `CosmosDBClient.SqlResourcesListSqlContainers` - -```go -ctx := context.TODO() -id := cosmosdb.NewSqlDatabaseID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "sqlDatabaseName") - -read, err := client.SqlResourcesListSqlContainers(ctx, id) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `CosmosDBClient.SqlResourcesListSqlDatabases` - -```go -ctx := context.TODO() -id := cosmosdb.NewDatabaseAccountID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName") - -read, err := client.SqlResourcesListSqlDatabases(ctx, id) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `CosmosDBClient.SqlResourcesListSqlStoredProcedures` - -```go -ctx := context.TODO() -id := cosmosdb.NewContainerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "sqlDatabaseName", "containerName") - -read, err := client.SqlResourcesListSqlStoredProcedures(ctx, id) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `CosmosDBClient.SqlResourcesListSqlTriggers` - -```go -ctx := context.TODO() -id := cosmosdb.NewContainerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "sqlDatabaseName", "containerName") - -read, err := client.SqlResourcesListSqlTriggers(ctx, id) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `CosmosDBClient.SqlResourcesListSqlUserDefinedFunctions` - -```go -ctx := context.TODO() -id := cosmosdb.NewContainerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "sqlDatabaseName", "containerName") - -read, err := client.SqlResourcesListSqlUserDefinedFunctions(ctx, id) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `CosmosDBClient.SqlResourcesMigrateSqlContainerToAutoscale` - -```go -ctx := context.TODO() -id := cosmosdb.NewContainerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "sqlDatabaseName", "containerName") - -if err := client.SqlResourcesMigrateSqlContainerToAutoscaleThenPoll(ctx, id); err != nil { - // handle the error -} -``` - - -### Example Usage: `CosmosDBClient.SqlResourcesMigrateSqlContainerToManualThroughput` - -```go -ctx := context.TODO() -id := cosmosdb.NewContainerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "sqlDatabaseName", "containerName") - -if err := client.SqlResourcesMigrateSqlContainerToManualThroughputThenPoll(ctx, id); err != nil { - // handle the error -} -``` - - -### Example Usage: `CosmosDBClient.SqlResourcesMigrateSqlDatabaseToAutoscale` - -```go -ctx := context.TODO() -id := cosmosdb.NewSqlDatabaseID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "sqlDatabaseName") - -if err := client.SqlResourcesMigrateSqlDatabaseToAutoscaleThenPoll(ctx, id); err != nil { - // handle the error -} -``` - - -### Example Usage: `CosmosDBClient.SqlResourcesMigrateSqlDatabaseToManualThroughput` - -```go -ctx := context.TODO() -id := cosmosdb.NewSqlDatabaseID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "sqlDatabaseName") - -if err := client.SqlResourcesMigrateSqlDatabaseToManualThroughputThenPoll(ctx, id); err != nil { - // handle the error -} -``` - - -### Example Usage: `CosmosDBClient.SqlResourcesUpdateSqlContainerThroughput` - -```go -ctx := context.TODO() -id := cosmosdb.NewContainerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "sqlDatabaseName", "containerName") - -payload := cosmosdb.ThroughputSettingsUpdateParameters{ - // ... -} - - -if err := client.SqlResourcesUpdateSqlContainerThroughputThenPoll(ctx, id, payload); err != nil { - // handle the error -} -``` - - -### Example Usage: `CosmosDBClient.SqlResourcesUpdateSqlDatabaseThroughput` - -```go -ctx := context.TODO() -id := cosmosdb.NewSqlDatabaseID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "sqlDatabaseName") - -payload := cosmosdb.ThroughputSettingsUpdateParameters{ - // ... -} - - -if err := client.SqlResourcesUpdateSqlDatabaseThroughputThenPoll(ctx, id, payload); err != nil { - // handle the error -} -``` - - -### Example Usage: `CosmosDBClient.TableResourcesCreateUpdateTable` - -```go -ctx := context.TODO() -id := cosmosdb.NewTableID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "tableName") - -payload := cosmosdb.TableCreateUpdateParameters{ - // ... -} - - -if err := client.TableResourcesCreateUpdateTableThenPoll(ctx, id, payload); err != nil { - // handle the error -} -``` - - -### Example Usage: `CosmosDBClient.TableResourcesDeleteTable` - -```go -ctx := context.TODO() -id := cosmosdb.NewTableID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "tableName") - -if err := client.TableResourcesDeleteTableThenPoll(ctx, id); err != nil { - // handle the error -} -``` - - -### Example Usage: `CosmosDBClient.TableResourcesGetTable` - -```go -ctx := context.TODO() -id := cosmosdb.NewTableID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "tableName") - -read, err := client.TableResourcesGetTable(ctx, id) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `CosmosDBClient.TableResourcesGetTableThroughput` - -```go -ctx := context.TODO() -id := cosmosdb.NewTableID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "tableName") - -read, err := client.TableResourcesGetTableThroughput(ctx, id) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `CosmosDBClient.TableResourcesListTables` - -```go -ctx := context.TODO() -id := cosmosdb.NewDatabaseAccountID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName") - -read, err := client.TableResourcesListTables(ctx, id) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `CosmosDBClient.TableResourcesMigrateTableToAutoscale` - -```go -ctx := context.TODO() -id := cosmosdb.NewTableID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "tableName") - -if err := client.TableResourcesMigrateTableToAutoscaleThenPoll(ctx, id); err != nil { - // handle the error -} -``` - - -### Example Usage: `CosmosDBClient.TableResourcesMigrateTableToManualThroughput` - -```go -ctx := context.TODO() -id := cosmosdb.NewTableID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "tableName") - -if err := client.TableResourcesMigrateTableToManualThroughputThenPoll(ctx, id); err != nil { - // handle the error -} -``` - - -### Example Usage: `CosmosDBClient.TableResourcesUpdateTableThroughput` - -```go -ctx := context.TODO() -id := cosmosdb.NewTableID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "tableName") - -payload := cosmosdb.ThroughputSettingsUpdateParameters{ - // ... -} - - -if err := client.TableResourcesUpdateTableThroughputThenPoll(ctx, id, payload); err != nil { - // handle the error -} -``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/constants.go deleted file mode 100644 index 9d9fde9e957d..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/constants.go +++ /dev/null @@ -1,1375 +0,0 @@ -package cosmosdb - -import ( - "encoding/json" - "fmt" - "strings" -) - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -type AnalyticalStorageSchemaType string - -const ( - AnalyticalStorageSchemaTypeFullFidelity AnalyticalStorageSchemaType = "FullFidelity" - AnalyticalStorageSchemaTypeWellDefined AnalyticalStorageSchemaType = "WellDefined" -) - -func PossibleValuesForAnalyticalStorageSchemaType() []string { - return []string{ - string(AnalyticalStorageSchemaTypeFullFidelity), - string(AnalyticalStorageSchemaTypeWellDefined), - } -} - -func (s *AnalyticalStorageSchemaType) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseAnalyticalStorageSchemaType(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseAnalyticalStorageSchemaType(input string) (*AnalyticalStorageSchemaType, error) { - vals := map[string]AnalyticalStorageSchemaType{ - "fullfidelity": AnalyticalStorageSchemaTypeFullFidelity, - "welldefined": AnalyticalStorageSchemaTypeWellDefined, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := AnalyticalStorageSchemaType(input) - return &out, nil -} - -type BackupPolicyMigrationStatus string - -const ( - BackupPolicyMigrationStatusCompleted BackupPolicyMigrationStatus = "Completed" - BackupPolicyMigrationStatusFailed BackupPolicyMigrationStatus = "Failed" - BackupPolicyMigrationStatusInProgress BackupPolicyMigrationStatus = "InProgress" - BackupPolicyMigrationStatusInvalid BackupPolicyMigrationStatus = "Invalid" -) - -func PossibleValuesForBackupPolicyMigrationStatus() []string { - return []string{ - string(BackupPolicyMigrationStatusCompleted), - string(BackupPolicyMigrationStatusFailed), - string(BackupPolicyMigrationStatusInProgress), - string(BackupPolicyMigrationStatusInvalid), - } -} - -func (s *BackupPolicyMigrationStatus) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseBackupPolicyMigrationStatus(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseBackupPolicyMigrationStatus(input string) (*BackupPolicyMigrationStatus, error) { - vals := map[string]BackupPolicyMigrationStatus{ - "completed": BackupPolicyMigrationStatusCompleted, - "failed": BackupPolicyMigrationStatusFailed, - "inprogress": BackupPolicyMigrationStatusInProgress, - "invalid": BackupPolicyMigrationStatusInvalid, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := BackupPolicyMigrationStatus(input) - return &out, nil -} - -type BackupPolicyType string - -const ( - BackupPolicyTypeContinuous BackupPolicyType = "Continuous" - BackupPolicyTypePeriodic BackupPolicyType = "Periodic" -) - -func PossibleValuesForBackupPolicyType() []string { - return []string{ - string(BackupPolicyTypeContinuous), - string(BackupPolicyTypePeriodic), - } -} - -func (s *BackupPolicyType) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseBackupPolicyType(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseBackupPolicyType(input string) (*BackupPolicyType, error) { - vals := map[string]BackupPolicyType{ - "continuous": BackupPolicyTypeContinuous, - "periodic": BackupPolicyTypePeriodic, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := BackupPolicyType(input) - return &out, nil -} - -type BackupStorageRedundancy string - -const ( - BackupStorageRedundancyGeo BackupStorageRedundancy = "Geo" - BackupStorageRedundancyLocal BackupStorageRedundancy = "Local" - BackupStorageRedundancyZone BackupStorageRedundancy = "Zone" -) - -func PossibleValuesForBackupStorageRedundancy() []string { - return []string{ - string(BackupStorageRedundancyGeo), - string(BackupStorageRedundancyLocal), - string(BackupStorageRedundancyZone), - } -} - -func (s *BackupStorageRedundancy) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseBackupStorageRedundancy(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseBackupStorageRedundancy(input string) (*BackupStorageRedundancy, error) { - vals := map[string]BackupStorageRedundancy{ - "geo": BackupStorageRedundancyGeo, - "local": BackupStorageRedundancyLocal, - "zone": BackupStorageRedundancyZone, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := BackupStorageRedundancy(input) - return &out, nil -} - -type CompositePathSortOrder string - -const ( - CompositePathSortOrderAscending CompositePathSortOrder = "ascending" - CompositePathSortOrderDescending CompositePathSortOrder = "descending" -) - -func PossibleValuesForCompositePathSortOrder() []string { - return []string{ - string(CompositePathSortOrderAscending), - string(CompositePathSortOrderDescending), - } -} - -func (s *CompositePathSortOrder) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseCompositePathSortOrder(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseCompositePathSortOrder(input string) (*CompositePathSortOrder, error) { - vals := map[string]CompositePathSortOrder{ - "ascending": CompositePathSortOrderAscending, - "descending": CompositePathSortOrderDescending, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := CompositePathSortOrder(input) - return &out, nil -} - -type ConflictResolutionMode string - -const ( - ConflictResolutionModeCustom ConflictResolutionMode = "Custom" - ConflictResolutionModeLastWriterWins ConflictResolutionMode = "LastWriterWins" -) - -func PossibleValuesForConflictResolutionMode() []string { - return []string{ - string(ConflictResolutionModeCustom), - string(ConflictResolutionModeLastWriterWins), - } -} - -func (s *ConflictResolutionMode) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseConflictResolutionMode(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseConflictResolutionMode(input string) (*ConflictResolutionMode, error) { - vals := map[string]ConflictResolutionMode{ - "custom": ConflictResolutionModeCustom, - "lastwriterwins": ConflictResolutionModeLastWriterWins, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := ConflictResolutionMode(input) - return &out, nil -} - -type ConnectorOffer string - -const ( - ConnectorOfferSmall ConnectorOffer = "Small" -) - -func PossibleValuesForConnectorOffer() []string { - return []string{ - string(ConnectorOfferSmall), - } -} - -func (s *ConnectorOffer) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseConnectorOffer(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseConnectorOffer(input string) (*ConnectorOffer, error) { - vals := map[string]ConnectorOffer{ - "small": ConnectorOfferSmall, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := ConnectorOffer(input) - return &out, nil -} - -type ContinuousTier string - -const ( - ContinuousTierContinuousSevenDays ContinuousTier = "Continuous7Days" - ContinuousTierContinuousThreeZeroDays ContinuousTier = "Continuous30Days" -) - -func PossibleValuesForContinuousTier() []string { - return []string{ - string(ContinuousTierContinuousSevenDays), - string(ContinuousTierContinuousThreeZeroDays), - } -} - -func (s *ContinuousTier) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseContinuousTier(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseContinuousTier(input string) (*ContinuousTier, error) { - vals := map[string]ContinuousTier{ - "continuous7days": ContinuousTierContinuousSevenDays, - "continuous30days": ContinuousTierContinuousThreeZeroDays, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := ContinuousTier(input) - return &out, nil -} - -type CreateMode string - -const ( - CreateModeDefault CreateMode = "Default" - CreateModeRestore CreateMode = "Restore" -) - -func PossibleValuesForCreateMode() []string { - return []string{ - string(CreateModeDefault), - string(CreateModeRestore), - } -} - -func (s *CreateMode) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseCreateMode(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseCreateMode(input string) (*CreateMode, error) { - vals := map[string]CreateMode{ - "default": CreateModeDefault, - "restore": CreateModeRestore, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := CreateMode(input) - return &out, nil -} - -type DataType string - -const ( - DataTypeLineString DataType = "LineString" - DataTypeMultiPolygon DataType = "MultiPolygon" - DataTypeNumber DataType = "Number" - DataTypePoint DataType = "Point" - DataTypePolygon DataType = "Polygon" - DataTypeString DataType = "String" -) - -func PossibleValuesForDataType() []string { - return []string{ - string(DataTypeLineString), - string(DataTypeMultiPolygon), - string(DataTypeNumber), - string(DataTypePoint), - string(DataTypePolygon), - string(DataTypeString), - } -} - -func (s *DataType) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseDataType(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseDataType(input string) (*DataType, error) { - vals := map[string]DataType{ - "linestring": DataTypeLineString, - "multipolygon": DataTypeMultiPolygon, - "number": DataTypeNumber, - "point": DataTypePoint, - "polygon": DataTypePolygon, - "string": DataTypeString, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := DataType(input) - return &out, nil -} - -type DatabaseAccountKind string - -const ( - DatabaseAccountKindGlobalDocumentDB DatabaseAccountKind = "GlobalDocumentDB" - DatabaseAccountKindMongoDB DatabaseAccountKind = "MongoDB" - DatabaseAccountKindParse DatabaseAccountKind = "Parse" -) - -func PossibleValuesForDatabaseAccountKind() []string { - return []string{ - string(DatabaseAccountKindGlobalDocumentDB), - string(DatabaseAccountKindMongoDB), - string(DatabaseAccountKindParse), - } -} - -func (s *DatabaseAccountKind) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseDatabaseAccountKind(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseDatabaseAccountKind(input string) (*DatabaseAccountKind, error) { - vals := map[string]DatabaseAccountKind{ - "globaldocumentdb": DatabaseAccountKindGlobalDocumentDB, - "mongodb": DatabaseAccountKindMongoDB, - "parse": DatabaseAccountKindParse, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := DatabaseAccountKind(input) - return &out, nil -} - -type DatabaseAccountOfferType string - -const ( - DatabaseAccountOfferTypeStandard DatabaseAccountOfferType = "Standard" -) - -func PossibleValuesForDatabaseAccountOfferType() []string { - return []string{ - string(DatabaseAccountOfferTypeStandard), - } -} - -func (s *DatabaseAccountOfferType) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseDatabaseAccountOfferType(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseDatabaseAccountOfferType(input string) (*DatabaseAccountOfferType, error) { - vals := map[string]DatabaseAccountOfferType{ - "standard": DatabaseAccountOfferTypeStandard, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := DatabaseAccountOfferType(input) - return &out, nil -} - -type DefaultConsistencyLevel string - -const ( - DefaultConsistencyLevelBoundedStaleness DefaultConsistencyLevel = "BoundedStaleness" - DefaultConsistencyLevelConsistentPrefix DefaultConsistencyLevel = "ConsistentPrefix" - DefaultConsistencyLevelEventual DefaultConsistencyLevel = "Eventual" - DefaultConsistencyLevelSession DefaultConsistencyLevel = "Session" - DefaultConsistencyLevelStrong DefaultConsistencyLevel = "Strong" -) - -func PossibleValuesForDefaultConsistencyLevel() []string { - return []string{ - string(DefaultConsistencyLevelBoundedStaleness), - string(DefaultConsistencyLevelConsistentPrefix), - string(DefaultConsistencyLevelEventual), - string(DefaultConsistencyLevelSession), - string(DefaultConsistencyLevelStrong), - } -} - -func (s *DefaultConsistencyLevel) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseDefaultConsistencyLevel(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseDefaultConsistencyLevel(input string) (*DefaultConsistencyLevel, error) { - vals := map[string]DefaultConsistencyLevel{ - "boundedstaleness": DefaultConsistencyLevelBoundedStaleness, - "consistentprefix": DefaultConsistencyLevelConsistentPrefix, - "eventual": DefaultConsistencyLevelEventual, - "session": DefaultConsistencyLevelSession, - "strong": DefaultConsistencyLevelStrong, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := DefaultConsistencyLevel(input) - return &out, nil -} - -type IndexKind string - -const ( - IndexKindHash IndexKind = "Hash" - IndexKindRange IndexKind = "Range" - IndexKindSpatial IndexKind = "Spatial" -) - -func PossibleValuesForIndexKind() []string { - return []string{ - string(IndexKindHash), - string(IndexKindRange), - string(IndexKindSpatial), - } -} - -func (s *IndexKind) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseIndexKind(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseIndexKind(input string) (*IndexKind, error) { - vals := map[string]IndexKind{ - "hash": IndexKindHash, - "range": IndexKindRange, - "spatial": IndexKindSpatial, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := IndexKind(input) - return &out, nil -} - -type IndexingMode string - -const ( - IndexingModeConsistent IndexingMode = "consistent" - IndexingModeLazy IndexingMode = "lazy" - IndexingModeNone IndexingMode = "none" -) - -func PossibleValuesForIndexingMode() []string { - return []string{ - string(IndexingModeConsistent), - string(IndexingModeLazy), - string(IndexingModeNone), - } -} - -func (s *IndexingMode) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseIndexingMode(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseIndexingMode(input string) (*IndexingMode, error) { - vals := map[string]IndexingMode{ - "consistent": IndexingModeConsistent, - "lazy": IndexingModeLazy, - "none": IndexingModeNone, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := IndexingMode(input) - return &out, nil -} - -type KeyKind string - -const ( - KeyKindPrimary KeyKind = "primary" - KeyKindPrimaryReadonly KeyKind = "primaryReadonly" - KeyKindSecondary KeyKind = "secondary" - KeyKindSecondaryReadonly KeyKind = "secondaryReadonly" -) - -func PossibleValuesForKeyKind() []string { - return []string{ - string(KeyKindPrimary), - string(KeyKindPrimaryReadonly), - string(KeyKindSecondary), - string(KeyKindSecondaryReadonly), - } -} - -func (s *KeyKind) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseKeyKind(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseKeyKind(input string) (*KeyKind, error) { - vals := map[string]KeyKind{ - "primary": KeyKindPrimary, - "primaryreadonly": KeyKindPrimaryReadonly, - "secondary": KeyKindSecondary, - "secondaryreadonly": KeyKindSecondaryReadonly, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := KeyKind(input) - return &out, nil -} - -type Kind string - -const ( - KindPrimary Kind = "Primary" - KindPrimaryReadonly Kind = "PrimaryReadonly" - KindSecondary Kind = "Secondary" - KindSecondaryReadonly Kind = "SecondaryReadonly" -) - -func PossibleValuesForKind() []string { - return []string{ - string(KindPrimary), - string(KindPrimaryReadonly), - string(KindSecondary), - string(KindSecondaryReadonly), - } -} - -func (s *Kind) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseKind(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseKind(input string) (*Kind, error) { - vals := map[string]Kind{ - "primary": KindPrimary, - "primaryreadonly": KindPrimaryReadonly, - "secondary": KindSecondary, - "secondaryreadonly": KindSecondaryReadonly, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := Kind(input) - return &out, nil -} - -type MinimalTlsVersion string - -const ( - MinimalTlsVersionTls MinimalTlsVersion = "Tls" - MinimalTlsVersionTlsOneOne MinimalTlsVersion = "Tls11" - MinimalTlsVersionTlsOneTwo MinimalTlsVersion = "Tls12" -) - -func PossibleValuesForMinimalTlsVersion() []string { - return []string{ - string(MinimalTlsVersionTls), - string(MinimalTlsVersionTlsOneOne), - string(MinimalTlsVersionTlsOneTwo), - } -} - -func (s *MinimalTlsVersion) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseMinimalTlsVersion(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseMinimalTlsVersion(input string) (*MinimalTlsVersion, error) { - vals := map[string]MinimalTlsVersion{ - "tls": MinimalTlsVersionTls, - "tls11": MinimalTlsVersionTlsOneOne, - "tls12": MinimalTlsVersionTlsOneTwo, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := MinimalTlsVersion(input) - return &out, nil -} - -type NetworkAclBypass string - -const ( - NetworkAclBypassAzureServices NetworkAclBypass = "AzureServices" - NetworkAclBypassNone NetworkAclBypass = "None" -) - -func PossibleValuesForNetworkAclBypass() []string { - return []string{ - string(NetworkAclBypassAzureServices), - string(NetworkAclBypassNone), - } -} - -func (s *NetworkAclBypass) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseNetworkAclBypass(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseNetworkAclBypass(input string) (*NetworkAclBypass, error) { - vals := map[string]NetworkAclBypass{ - "azureservices": NetworkAclBypassAzureServices, - "none": NetworkAclBypassNone, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := NetworkAclBypass(input) - return &out, nil -} - -type PartitionKind string - -const ( - PartitionKindHash PartitionKind = "Hash" - PartitionKindMultiHash PartitionKind = "MultiHash" - PartitionKindRange PartitionKind = "Range" -) - -func PossibleValuesForPartitionKind() []string { - return []string{ - string(PartitionKindHash), - string(PartitionKindMultiHash), - string(PartitionKindRange), - } -} - -func (s *PartitionKind) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parsePartitionKind(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parsePartitionKind(input string) (*PartitionKind, error) { - vals := map[string]PartitionKind{ - "hash": PartitionKindHash, - "multihash": PartitionKindMultiHash, - "range": PartitionKindRange, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := PartitionKind(input) - return &out, nil -} - -type PrimaryAggregationType string - -const ( - PrimaryAggregationTypeAverage PrimaryAggregationType = "Average" - PrimaryAggregationTypeLast PrimaryAggregationType = "Last" - PrimaryAggregationTypeMaximum PrimaryAggregationType = "Maximum" - PrimaryAggregationTypeMinimum PrimaryAggregationType = "Minimum" - PrimaryAggregationTypeNone PrimaryAggregationType = "None" - PrimaryAggregationTypeTotal PrimaryAggregationType = "Total" -) - -func PossibleValuesForPrimaryAggregationType() []string { - return []string{ - string(PrimaryAggregationTypeAverage), - string(PrimaryAggregationTypeLast), - string(PrimaryAggregationTypeMaximum), - string(PrimaryAggregationTypeMinimum), - string(PrimaryAggregationTypeNone), - string(PrimaryAggregationTypeTotal), - } -} - -func (s *PrimaryAggregationType) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parsePrimaryAggregationType(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parsePrimaryAggregationType(input string) (*PrimaryAggregationType, error) { - vals := map[string]PrimaryAggregationType{ - "average": PrimaryAggregationTypeAverage, - "last": PrimaryAggregationTypeLast, - "maximum": PrimaryAggregationTypeMaximum, - "minimum": PrimaryAggregationTypeMinimum, - "none": PrimaryAggregationTypeNone, - "total": PrimaryAggregationTypeTotal, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := PrimaryAggregationType(input) - return &out, nil -} - -type PublicNetworkAccess string - -const ( - PublicNetworkAccessDisabled PublicNetworkAccess = "Disabled" - PublicNetworkAccessEnabled PublicNetworkAccess = "Enabled" - PublicNetworkAccessSecuredByPerimeter PublicNetworkAccess = "SecuredByPerimeter" -) - -func PossibleValuesForPublicNetworkAccess() []string { - return []string{ - string(PublicNetworkAccessDisabled), - string(PublicNetworkAccessEnabled), - string(PublicNetworkAccessSecuredByPerimeter), - } -} - -func (s *PublicNetworkAccess) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parsePublicNetworkAccess(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parsePublicNetworkAccess(input string) (*PublicNetworkAccess, error) { - vals := map[string]PublicNetworkAccess{ - "disabled": PublicNetworkAccessDisabled, - "enabled": PublicNetworkAccessEnabled, - "securedbyperimeter": PublicNetworkAccessSecuredByPerimeter, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := PublicNetworkAccess(input) - return &out, nil -} - -type RestoreMode string - -const ( - RestoreModePointInTime RestoreMode = "PointInTime" -) - -func PossibleValuesForRestoreMode() []string { - return []string{ - string(RestoreModePointInTime), - } -} - -func (s *RestoreMode) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseRestoreMode(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseRestoreMode(input string) (*RestoreMode, error) { - vals := map[string]RestoreMode{ - "pointintime": RestoreModePointInTime, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := RestoreMode(input) - return &out, nil -} - -type ServerVersion string - -const ( - ServerVersionFivePointZero ServerVersion = "5.0" - ServerVersionFourPointTwo ServerVersion = "4.2" - ServerVersionFourPointZero ServerVersion = "4.0" - ServerVersionSixPointZero ServerVersion = "6.0" - ServerVersionThreePointSix ServerVersion = "3.6" - ServerVersionThreePointTwo ServerVersion = "3.2" -) - -func PossibleValuesForServerVersion() []string { - return []string{ - string(ServerVersionFivePointZero), - string(ServerVersionFourPointTwo), - string(ServerVersionFourPointZero), - string(ServerVersionSixPointZero), - string(ServerVersionThreePointSix), - string(ServerVersionThreePointTwo), - } -} - -func (s *ServerVersion) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseServerVersion(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseServerVersion(input string) (*ServerVersion, error) { - vals := map[string]ServerVersion{ - "5.0": ServerVersionFivePointZero, - "4.2": ServerVersionFourPointTwo, - "4.0": ServerVersionFourPointZero, - "6.0": ServerVersionSixPointZero, - "3.6": ServerVersionThreePointSix, - "3.2": ServerVersionThreePointTwo, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := ServerVersion(input) - return &out, nil -} - -type SpatialType string - -const ( - SpatialTypeLineString SpatialType = "LineString" - SpatialTypeMultiPolygon SpatialType = "MultiPolygon" - SpatialTypePoint SpatialType = "Point" - SpatialTypePolygon SpatialType = "Polygon" -) - -func PossibleValuesForSpatialType() []string { - return []string{ - string(SpatialTypeLineString), - string(SpatialTypeMultiPolygon), - string(SpatialTypePoint), - string(SpatialTypePolygon), - } -} - -func (s *SpatialType) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseSpatialType(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseSpatialType(input string) (*SpatialType, error) { - vals := map[string]SpatialType{ - "linestring": SpatialTypeLineString, - "multipolygon": SpatialTypeMultiPolygon, - "point": SpatialTypePoint, - "polygon": SpatialTypePolygon, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := SpatialType(input) - return &out, nil -} - -type Status string - -const ( - StatusDeleting Status = "Deleting" - StatusInitializing Status = "Initializing" - StatusInternallyReady Status = "InternallyReady" - StatusOnline Status = "Online" - StatusUninitialized Status = "Uninitialized" -) - -func PossibleValuesForStatus() []string { - return []string{ - string(StatusDeleting), - string(StatusInitializing), - string(StatusInternallyReady), - string(StatusOnline), - string(StatusUninitialized), - } -} - -func (s *Status) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseStatus(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseStatus(input string) (*Status, error) { - vals := map[string]Status{ - "deleting": StatusDeleting, - "initializing": StatusInitializing, - "internallyready": StatusInternallyReady, - "online": StatusOnline, - "uninitialized": StatusUninitialized, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := Status(input) - return &out, nil -} - -type TriggerOperation string - -const ( - TriggerOperationAll TriggerOperation = "All" - TriggerOperationCreate TriggerOperation = "Create" - TriggerOperationDelete TriggerOperation = "Delete" - TriggerOperationReplace TriggerOperation = "Replace" - TriggerOperationUpdate TriggerOperation = "Update" -) - -func PossibleValuesForTriggerOperation() []string { - return []string{ - string(TriggerOperationAll), - string(TriggerOperationCreate), - string(TriggerOperationDelete), - string(TriggerOperationReplace), - string(TriggerOperationUpdate), - } -} - -func (s *TriggerOperation) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseTriggerOperation(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseTriggerOperation(input string) (*TriggerOperation, error) { - vals := map[string]TriggerOperation{ - "all": TriggerOperationAll, - "create": TriggerOperationCreate, - "delete": TriggerOperationDelete, - "replace": TriggerOperationReplace, - "update": TriggerOperationUpdate, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := TriggerOperation(input) - return &out, nil -} - -type TriggerType string - -const ( - TriggerTypePost TriggerType = "Post" - TriggerTypePre TriggerType = "Pre" -) - -func PossibleValuesForTriggerType() []string { - return []string{ - string(TriggerTypePost), - string(TriggerTypePre), - } -} - -func (s *TriggerType) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseTriggerType(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseTriggerType(input string) (*TriggerType, error) { - vals := map[string]TriggerType{ - "post": TriggerTypePost, - "pre": TriggerTypePre, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := TriggerType(input) - return &out, nil -} - -type Type string - -const ( - TypeCassandra Type = "Cassandra" - TypeCassandraConnectorMetadata Type = "CassandraConnectorMetadata" - TypeGremlin Type = "Gremlin" - TypeGremlinVTwo Type = "GremlinV2" - TypeMongoDB Type = "MongoDB" - TypeSql Type = "Sql" - TypeSqlDedicatedGateway Type = "SqlDedicatedGateway" - TypeTable Type = "Table" - TypeUndefined Type = "Undefined" -) - -func PossibleValuesForType() []string { - return []string{ - string(TypeCassandra), - string(TypeCassandraConnectorMetadata), - string(TypeGremlin), - string(TypeGremlinVTwo), - string(TypeMongoDB), - string(TypeSql), - string(TypeSqlDedicatedGateway), - string(TypeTable), - string(TypeUndefined), - } -} - -func (s *Type) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseType(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseType(input string) (*Type, error) { - vals := map[string]Type{ - "cassandra": TypeCassandra, - "cassandraconnectormetadata": TypeCassandraConnectorMetadata, - "gremlin": TypeGremlin, - "gremlinv2": TypeGremlinVTwo, - "mongodb": TypeMongoDB, - "sql": TypeSql, - "sqldedicatedgateway": TypeSqlDedicatedGateway, - "table": TypeTable, - "undefined": TypeUndefined, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := Type(input) - return &out, nil -} - -type UnitType string - -const ( - UnitTypeBytes UnitType = "Bytes" - UnitTypeBytesPerSecond UnitType = "BytesPerSecond" - UnitTypeCount UnitType = "Count" - UnitTypeCountPerSecond UnitType = "CountPerSecond" - UnitTypeMilliseconds UnitType = "Milliseconds" - UnitTypePercent UnitType = "Percent" - UnitTypeSeconds UnitType = "Seconds" -) - -func PossibleValuesForUnitType() []string { - return []string{ - string(UnitTypeBytes), - string(UnitTypeBytesPerSecond), - string(UnitTypeCount), - string(UnitTypeCountPerSecond), - string(UnitTypeMilliseconds), - string(UnitTypePercent), - string(UnitTypeSeconds), - } -} - -func (s *UnitType) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseUnitType(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseUnitType(input string) (*UnitType, error) { - vals := map[string]UnitType{ - "bytes": UnitTypeBytes, - "bytespersecond": UnitTypeBytesPerSecond, - "count": UnitTypeCount, - "countpersecond": UnitTypeCountPerSecond, - "milliseconds": UnitTypeMilliseconds, - "percent": UnitTypePercent, - "seconds": UnitTypeSeconds, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := UnitType(input) - return &out, nil -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/version.go deleted file mode 100644 index 48e53a5d306a..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/version.go +++ /dev/null @@ -1,10 +0,0 @@ -package cosmosdb - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -const defaultApiVersion = "2024-05-15" - -func userAgent() string { - return "hashicorp/go-azure-sdk/cosmosdb/2024-05-15" -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/README.md new file mode 100644 index 000000000000..7da7765db473 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/README.md @@ -0,0 +1,1893 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb` Documentation + +The `cosmosdb` SDK allows for interaction with Azure Resource Manager `cosmosdb` (API Version `2024-08-15`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" +import "github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb" +``` + + +### Client Initialization + +```go +client := cosmosdb.NewCosmosDBClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `CosmosDBClient.CassandraResourcesCreateUpdateCassandraKeyspace` + +```go +ctx := context.TODO() +id := cosmosdb.NewCassandraKeyspaceID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "cassandraKeyspaceName") + +payload := cosmosdb.CassandraKeyspaceCreateUpdateParameters{ + // ... +} + + +if err := client.CassandraResourcesCreateUpdateCassandraKeyspaceThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `CosmosDBClient.CassandraResourcesCreateUpdateCassandraTable` + +```go +ctx := context.TODO() +id := cosmosdb.NewCassandraKeyspaceTableID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "cassandraKeyspaceName", "tableName") + +payload := cosmosdb.CassandraTableCreateUpdateParameters{ + // ... +} + + +if err := client.CassandraResourcesCreateUpdateCassandraTableThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `CosmosDBClient.CassandraResourcesDeleteCassandraKeyspace` + +```go +ctx := context.TODO() +id := cosmosdb.NewCassandraKeyspaceID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "cassandraKeyspaceName") + +if err := client.CassandraResourcesDeleteCassandraKeyspaceThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `CosmosDBClient.CassandraResourcesDeleteCassandraTable` + +```go +ctx := context.TODO() +id := cosmosdb.NewCassandraKeyspaceTableID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "cassandraKeyspaceName", "tableName") + +if err := client.CassandraResourcesDeleteCassandraTableThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `CosmosDBClient.CassandraResourcesGetCassandraKeyspace` + +```go +ctx := context.TODO() +id := cosmosdb.NewCassandraKeyspaceID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "cassandraKeyspaceName") + +read, err := client.CassandraResourcesGetCassandraKeyspace(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `CosmosDBClient.CassandraResourcesGetCassandraKeyspaceThroughput` + +```go +ctx := context.TODO() +id := cosmosdb.NewCassandraKeyspaceID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "cassandraKeyspaceName") + +read, err := client.CassandraResourcesGetCassandraKeyspaceThroughput(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `CosmosDBClient.CassandraResourcesGetCassandraTable` + +```go +ctx := context.TODO() +id := cosmosdb.NewCassandraKeyspaceTableID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "cassandraKeyspaceName", "tableName") + +read, err := client.CassandraResourcesGetCassandraTable(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `CosmosDBClient.CassandraResourcesGetCassandraTableThroughput` + +```go +ctx := context.TODO() +id := cosmosdb.NewCassandraKeyspaceTableID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "cassandraKeyspaceName", "tableName") + +read, err := client.CassandraResourcesGetCassandraTableThroughput(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `CosmosDBClient.CassandraResourcesListCassandraKeyspaces` + +```go +ctx := context.TODO() +id := cosmosdb.NewDatabaseAccountID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName") + +read, err := client.CassandraResourcesListCassandraKeyspaces(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `CosmosDBClient.CassandraResourcesListCassandraTables` + +```go +ctx := context.TODO() +id := cosmosdb.NewCassandraKeyspaceID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "cassandraKeyspaceName") + +read, err := client.CassandraResourcesListCassandraTables(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `CosmosDBClient.CassandraResourcesMigrateCassandraKeyspaceToAutoscale` + +```go +ctx := context.TODO() +id := cosmosdb.NewCassandraKeyspaceID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "cassandraKeyspaceName") + +if err := client.CassandraResourcesMigrateCassandraKeyspaceToAutoscaleThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `CosmosDBClient.CassandraResourcesMigrateCassandraKeyspaceToManualThroughput` + +```go +ctx := context.TODO() +id := cosmosdb.NewCassandraKeyspaceID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "cassandraKeyspaceName") + +if err := client.CassandraResourcesMigrateCassandraKeyspaceToManualThroughputThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `CosmosDBClient.CassandraResourcesMigrateCassandraTableToAutoscale` + +```go +ctx := context.TODO() +id := cosmosdb.NewCassandraKeyspaceTableID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "cassandraKeyspaceName", "tableName") + +if err := client.CassandraResourcesMigrateCassandraTableToAutoscaleThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `CosmosDBClient.CassandraResourcesMigrateCassandraTableToManualThroughput` + +```go +ctx := context.TODO() +id := cosmosdb.NewCassandraKeyspaceTableID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "cassandraKeyspaceName", "tableName") + +if err := client.CassandraResourcesMigrateCassandraTableToManualThroughputThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `CosmosDBClient.CassandraResourcesUpdateCassandraKeyspaceThroughput` + +```go +ctx := context.TODO() +id := cosmosdb.NewCassandraKeyspaceID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "cassandraKeyspaceName") + +payload := cosmosdb.ThroughputSettingsUpdateParameters{ + // ... +} + + +if err := client.CassandraResourcesUpdateCassandraKeyspaceThroughputThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `CosmosDBClient.CassandraResourcesUpdateCassandraTableThroughput` + +```go +ctx := context.TODO() +id := cosmosdb.NewCassandraKeyspaceTableID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "cassandraKeyspaceName", "tableName") + +payload := cosmosdb.ThroughputSettingsUpdateParameters{ + // ... +} + + +if err := client.CassandraResourcesUpdateCassandraTableThroughputThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `CosmosDBClient.CollectionListMetricDefinitions` + +```go +ctx := context.TODO() +id := cosmosdb.NewCollectionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "databaseName", "collectionName") + +read, err := client.CollectionListMetricDefinitions(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `CosmosDBClient.CollectionListMetrics` + +```go +ctx := context.TODO() +id := cosmosdb.NewCollectionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "databaseName", "collectionName") + +read, err := client.CollectionListMetrics(ctx, id, cosmosdb.DefaultCollectionListMetricsOperationOptions()) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `CosmosDBClient.CollectionListUsages` + +```go +ctx := context.TODO() +id := cosmosdb.NewCollectionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "databaseName", "collectionName") + +read, err := client.CollectionListUsages(ctx, id, cosmosdb.DefaultCollectionListUsagesOperationOptions()) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `CosmosDBClient.CollectionPartitionListMetrics` + +```go +ctx := context.TODO() +id := cosmosdb.NewCollectionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "databaseName", "collectionName") + +read, err := client.CollectionPartitionListMetrics(ctx, id, cosmosdb.DefaultCollectionPartitionListMetricsOperationOptions()) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `CosmosDBClient.CollectionPartitionListUsages` + +```go +ctx := context.TODO() +id := cosmosdb.NewCollectionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "databaseName", "collectionName") + +read, err := client.CollectionPartitionListUsages(ctx, id, cosmosdb.DefaultCollectionPartitionListUsagesOperationOptions()) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `CosmosDBClient.CollectionPartitionRegionListMetrics` + +```go +ctx := context.TODO() +id := cosmosdb.NewDatabaseCollectionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "regionName", "databaseName", "collectionName") + +read, err := client.CollectionPartitionRegionListMetrics(ctx, id, cosmosdb.DefaultCollectionPartitionRegionListMetricsOperationOptions()) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `CosmosDBClient.CollectionRegionListMetrics` + +```go +ctx := context.TODO() +id := cosmosdb.NewDatabaseCollectionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "regionName", "databaseName", "collectionName") + +read, err := client.CollectionRegionListMetrics(ctx, id, cosmosdb.DefaultCollectionRegionListMetricsOperationOptions()) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `CosmosDBClient.DatabaseAccountRegionListMetrics` + +```go +ctx := context.TODO() +id := cosmosdb.NewRegionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "regionName") + +read, err := client.DatabaseAccountRegionListMetrics(ctx, id, cosmosdb.DefaultDatabaseAccountRegionListMetricsOperationOptions()) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `CosmosDBClient.DatabaseAccountsCheckNameExists` + +```go +ctx := context.TODO() +id := cosmosdb.NewDatabaseAccountNameID("accountName") + +read, err := client.DatabaseAccountsCheckNameExists(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `CosmosDBClient.DatabaseAccountsCreateOrUpdate` + +```go +ctx := context.TODO() +id := cosmosdb.NewDatabaseAccountID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName") + +payload := cosmosdb.DatabaseAccountCreateUpdateParameters{ + // ... +} + + +if err := client.DatabaseAccountsCreateOrUpdateThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `CosmosDBClient.DatabaseAccountsDelete` + +```go +ctx := context.TODO() +id := cosmosdb.NewDatabaseAccountID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName") + +if err := client.DatabaseAccountsDeleteThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `CosmosDBClient.DatabaseAccountsFailoverPriorityChange` + +```go +ctx := context.TODO() +id := cosmosdb.NewDatabaseAccountID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName") + +payload := cosmosdb.FailoverPolicies{ + // ... +} + + +if err := client.DatabaseAccountsFailoverPriorityChangeThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `CosmosDBClient.DatabaseAccountsGet` + +```go +ctx := context.TODO() +id := cosmosdb.NewDatabaseAccountID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName") + +read, err := client.DatabaseAccountsGet(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `CosmosDBClient.DatabaseAccountsGetReadOnlyKeys` + +```go +ctx := context.TODO() +id := cosmosdb.NewDatabaseAccountID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName") + +read, err := client.DatabaseAccountsGetReadOnlyKeys(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `CosmosDBClient.DatabaseAccountsList` + +```go +ctx := context.TODO() +id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012") + +read, err := client.DatabaseAccountsList(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `CosmosDBClient.DatabaseAccountsListByResourceGroup` + +```go +ctx := context.TODO() +id := commonids.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group") + +read, err := client.DatabaseAccountsListByResourceGroup(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `CosmosDBClient.DatabaseAccountsListConnectionStrings` + +```go +ctx := context.TODO() +id := cosmosdb.NewDatabaseAccountID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName") + +read, err := client.DatabaseAccountsListConnectionStrings(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `CosmosDBClient.DatabaseAccountsListKeys` + +```go +ctx := context.TODO() +id := cosmosdb.NewDatabaseAccountID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName") + +read, err := client.DatabaseAccountsListKeys(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `CosmosDBClient.DatabaseAccountsListMetricDefinitions` + +```go +ctx := context.TODO() +id := cosmosdb.NewDatabaseAccountID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName") + +read, err := client.DatabaseAccountsListMetricDefinitions(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `CosmosDBClient.DatabaseAccountsListMetrics` + +```go +ctx := context.TODO() +id := cosmosdb.NewDatabaseAccountID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName") + +read, err := client.DatabaseAccountsListMetrics(ctx, id, cosmosdb.DefaultDatabaseAccountsListMetricsOperationOptions()) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `CosmosDBClient.DatabaseAccountsListReadOnlyKeys` + +```go +ctx := context.TODO() +id := cosmosdb.NewDatabaseAccountID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName") + +read, err := client.DatabaseAccountsListReadOnlyKeys(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `CosmosDBClient.DatabaseAccountsListUsages` + +```go +ctx := context.TODO() +id := cosmosdb.NewDatabaseAccountID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName") + +read, err := client.DatabaseAccountsListUsages(ctx, id, cosmosdb.DefaultDatabaseAccountsListUsagesOperationOptions()) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `CosmosDBClient.DatabaseAccountsOfflineRegion` + +```go +ctx := context.TODO() +id := cosmosdb.NewDatabaseAccountID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName") + +payload := cosmosdb.RegionForOnlineOffline{ + // ... +} + + +if err := client.DatabaseAccountsOfflineRegionThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `CosmosDBClient.DatabaseAccountsOnlineRegion` + +```go +ctx := context.TODO() +id := cosmosdb.NewDatabaseAccountID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName") + +payload := cosmosdb.RegionForOnlineOffline{ + // ... +} + + +if err := client.DatabaseAccountsOnlineRegionThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `CosmosDBClient.DatabaseAccountsRegenerateKey` + +```go +ctx := context.TODO() +id := cosmosdb.NewDatabaseAccountID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName") + +payload := cosmosdb.DatabaseAccountRegenerateKeyParameters{ + // ... +} + + +if err := client.DatabaseAccountsRegenerateKeyThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `CosmosDBClient.DatabaseAccountsUpdate` + +```go +ctx := context.TODO() +id := cosmosdb.NewDatabaseAccountID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName") + +payload := cosmosdb.DatabaseAccountUpdateParameters{ + // ... +} + + +if err := client.DatabaseAccountsUpdateThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `CosmosDBClient.DatabaseListMetricDefinitions` + +```go +ctx := context.TODO() +id := cosmosdb.NewDatabaseID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "databaseName") + +read, err := client.DatabaseListMetricDefinitions(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `CosmosDBClient.DatabaseListMetrics` + +```go +ctx := context.TODO() +id := cosmosdb.NewDatabaseID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "databaseName") + +read, err := client.DatabaseListMetrics(ctx, id, cosmosdb.DefaultDatabaseListMetricsOperationOptions()) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `CosmosDBClient.DatabaseListUsages` + +```go +ctx := context.TODO() +id := cosmosdb.NewDatabaseID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "databaseName") + +read, err := client.DatabaseListUsages(ctx, id, cosmosdb.DefaultDatabaseListUsagesOperationOptions()) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `CosmosDBClient.GremlinResourcesCreateUpdateGremlinDatabase` + +```go +ctx := context.TODO() +id := cosmosdb.NewGremlinDatabaseID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "gremlinDatabaseName") + +payload := cosmosdb.GremlinDatabaseCreateUpdateParameters{ + // ... +} + + +if err := client.GremlinResourcesCreateUpdateGremlinDatabaseThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `CosmosDBClient.GremlinResourcesCreateUpdateGremlinGraph` + +```go +ctx := context.TODO() +id := cosmosdb.NewGraphID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "gremlinDatabaseName", "graphName") + +payload := cosmosdb.GremlinGraphCreateUpdateParameters{ + // ... +} + + +if err := client.GremlinResourcesCreateUpdateGremlinGraphThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `CosmosDBClient.GremlinResourcesDeleteGremlinDatabase` + +```go +ctx := context.TODO() +id := cosmosdb.NewGremlinDatabaseID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "gremlinDatabaseName") + +if err := client.GremlinResourcesDeleteGremlinDatabaseThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `CosmosDBClient.GremlinResourcesDeleteGremlinGraph` + +```go +ctx := context.TODO() +id := cosmosdb.NewGraphID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "gremlinDatabaseName", "graphName") + +if err := client.GremlinResourcesDeleteGremlinGraphThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `CosmosDBClient.GremlinResourcesGetGremlinDatabase` + +```go +ctx := context.TODO() +id := cosmosdb.NewGremlinDatabaseID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "gremlinDatabaseName") + +read, err := client.GremlinResourcesGetGremlinDatabase(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `CosmosDBClient.GremlinResourcesGetGremlinDatabaseThroughput` + +```go +ctx := context.TODO() +id := cosmosdb.NewGremlinDatabaseID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "gremlinDatabaseName") + +read, err := client.GremlinResourcesGetGremlinDatabaseThroughput(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `CosmosDBClient.GremlinResourcesGetGremlinGraph` + +```go +ctx := context.TODO() +id := cosmosdb.NewGraphID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "gremlinDatabaseName", "graphName") + +read, err := client.GremlinResourcesGetGremlinGraph(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `CosmosDBClient.GremlinResourcesGetGremlinGraphThroughput` + +```go +ctx := context.TODO() +id := cosmosdb.NewGraphID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "gremlinDatabaseName", "graphName") + +read, err := client.GremlinResourcesGetGremlinGraphThroughput(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `CosmosDBClient.GremlinResourcesListGremlinDatabases` + +```go +ctx := context.TODO() +id := cosmosdb.NewDatabaseAccountID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName") + +read, err := client.GremlinResourcesListGremlinDatabases(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `CosmosDBClient.GremlinResourcesListGremlinGraphs` + +```go +ctx := context.TODO() +id := cosmosdb.NewGremlinDatabaseID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "gremlinDatabaseName") + +read, err := client.GremlinResourcesListGremlinGraphs(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `CosmosDBClient.GremlinResourcesMigrateGremlinDatabaseToAutoscale` + +```go +ctx := context.TODO() +id := cosmosdb.NewGremlinDatabaseID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "gremlinDatabaseName") + +if err := client.GremlinResourcesMigrateGremlinDatabaseToAutoscaleThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `CosmosDBClient.GremlinResourcesMigrateGremlinDatabaseToManualThroughput` + +```go +ctx := context.TODO() +id := cosmosdb.NewGremlinDatabaseID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "gremlinDatabaseName") + +if err := client.GremlinResourcesMigrateGremlinDatabaseToManualThroughputThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `CosmosDBClient.GremlinResourcesMigrateGremlinGraphToAutoscale` + +```go +ctx := context.TODO() +id := cosmosdb.NewGraphID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "gremlinDatabaseName", "graphName") + +if err := client.GremlinResourcesMigrateGremlinGraphToAutoscaleThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `CosmosDBClient.GremlinResourcesMigrateGremlinGraphToManualThroughput` + +```go +ctx := context.TODO() +id := cosmosdb.NewGraphID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "gremlinDatabaseName", "graphName") + +if err := client.GremlinResourcesMigrateGremlinGraphToManualThroughputThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `CosmosDBClient.GremlinResourcesUpdateGremlinDatabaseThroughput` + +```go +ctx := context.TODO() +id := cosmosdb.NewGremlinDatabaseID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "gremlinDatabaseName") + +payload := cosmosdb.ThroughputSettingsUpdateParameters{ + // ... +} + + +if err := client.GremlinResourcesUpdateGremlinDatabaseThroughputThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `CosmosDBClient.GremlinResourcesUpdateGremlinGraphThroughput` + +```go +ctx := context.TODO() +id := cosmosdb.NewGraphID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "gremlinDatabaseName", "graphName") + +payload := cosmosdb.ThroughputSettingsUpdateParameters{ + // ... +} + + +if err := client.GremlinResourcesUpdateGremlinGraphThroughputThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `CosmosDBClient.LocationsGet` + +```go +ctx := context.TODO() +id := cosmosdb.NewLocationID("12345678-1234-9876-4563-123456789012", "locationName") + +read, err := client.LocationsGet(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `CosmosDBClient.LocationsList` + +```go +ctx := context.TODO() +id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012") + +read, err := client.LocationsList(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `CosmosDBClient.MongoDBResourcesCreateUpdateMongoDBCollection` + +```go +ctx := context.TODO() +id := cosmosdb.NewMongodbDatabaseCollectionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "mongodbDatabaseName", "collectionName") + +payload := cosmosdb.MongoDBCollectionCreateUpdateParameters{ + // ... +} + + +if err := client.MongoDBResourcesCreateUpdateMongoDBCollectionThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `CosmosDBClient.MongoDBResourcesCreateUpdateMongoDBDatabase` + +```go +ctx := context.TODO() +id := cosmosdb.NewMongodbDatabaseID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "mongodbDatabaseName") + +payload := cosmosdb.MongoDBDatabaseCreateUpdateParameters{ + // ... +} + + +if err := client.MongoDBResourcesCreateUpdateMongoDBDatabaseThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `CosmosDBClient.MongoDBResourcesDeleteMongoDBCollection` + +```go +ctx := context.TODO() +id := cosmosdb.NewMongodbDatabaseCollectionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "mongodbDatabaseName", "collectionName") + +if err := client.MongoDBResourcesDeleteMongoDBCollectionThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `CosmosDBClient.MongoDBResourcesDeleteMongoDBDatabase` + +```go +ctx := context.TODO() +id := cosmosdb.NewMongodbDatabaseID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "mongodbDatabaseName") + +if err := client.MongoDBResourcesDeleteMongoDBDatabaseThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `CosmosDBClient.MongoDBResourcesGetMongoDBCollection` + +```go +ctx := context.TODO() +id := cosmosdb.NewMongodbDatabaseCollectionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "mongodbDatabaseName", "collectionName") + +read, err := client.MongoDBResourcesGetMongoDBCollection(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `CosmosDBClient.MongoDBResourcesGetMongoDBCollectionThroughput` + +```go +ctx := context.TODO() +id := cosmosdb.NewMongodbDatabaseCollectionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "mongodbDatabaseName", "collectionName") + +read, err := client.MongoDBResourcesGetMongoDBCollectionThroughput(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `CosmosDBClient.MongoDBResourcesGetMongoDBDatabase` + +```go +ctx := context.TODO() +id := cosmosdb.NewMongodbDatabaseID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "mongodbDatabaseName") + +read, err := client.MongoDBResourcesGetMongoDBDatabase(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `CosmosDBClient.MongoDBResourcesGetMongoDBDatabaseThroughput` + +```go +ctx := context.TODO() +id := cosmosdb.NewMongodbDatabaseID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "mongodbDatabaseName") + +read, err := client.MongoDBResourcesGetMongoDBDatabaseThroughput(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `CosmosDBClient.MongoDBResourcesListMongoDBCollections` + +```go +ctx := context.TODO() +id := cosmosdb.NewMongodbDatabaseID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "mongodbDatabaseName") + +read, err := client.MongoDBResourcesListMongoDBCollections(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `CosmosDBClient.MongoDBResourcesListMongoDBDatabases` + +```go +ctx := context.TODO() +id := cosmosdb.NewDatabaseAccountID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName") + +read, err := client.MongoDBResourcesListMongoDBDatabases(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `CosmosDBClient.MongoDBResourcesMigrateMongoDBCollectionToAutoscale` + +```go +ctx := context.TODO() +id := cosmosdb.NewMongodbDatabaseCollectionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "mongodbDatabaseName", "collectionName") + +if err := client.MongoDBResourcesMigrateMongoDBCollectionToAutoscaleThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `CosmosDBClient.MongoDBResourcesMigrateMongoDBCollectionToManualThroughput` + +```go +ctx := context.TODO() +id := cosmosdb.NewMongodbDatabaseCollectionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "mongodbDatabaseName", "collectionName") + +if err := client.MongoDBResourcesMigrateMongoDBCollectionToManualThroughputThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `CosmosDBClient.MongoDBResourcesMigrateMongoDBDatabaseToAutoscale` + +```go +ctx := context.TODO() +id := cosmosdb.NewMongodbDatabaseID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "mongodbDatabaseName") + +if err := client.MongoDBResourcesMigrateMongoDBDatabaseToAutoscaleThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `CosmosDBClient.MongoDBResourcesMigrateMongoDBDatabaseToManualThroughput` + +```go +ctx := context.TODO() +id := cosmosdb.NewMongodbDatabaseID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "mongodbDatabaseName") + +if err := client.MongoDBResourcesMigrateMongoDBDatabaseToManualThroughputThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `CosmosDBClient.MongoDBResourcesUpdateMongoDBCollectionThroughput` + +```go +ctx := context.TODO() +id := cosmosdb.NewMongodbDatabaseCollectionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "mongodbDatabaseName", "collectionName") + +payload := cosmosdb.ThroughputSettingsUpdateParameters{ + // ... +} + + +if err := client.MongoDBResourcesUpdateMongoDBCollectionThroughputThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `CosmosDBClient.MongoDBResourcesUpdateMongoDBDatabaseThroughput` + +```go +ctx := context.TODO() +id := cosmosdb.NewMongodbDatabaseID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "mongodbDatabaseName") + +payload := cosmosdb.ThroughputSettingsUpdateParameters{ + // ... +} + + +if err := client.MongoDBResourcesUpdateMongoDBDatabaseThroughputThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `CosmosDBClient.PartitionKeyRangeIdListMetrics` + +```go +ctx := context.TODO() +id := cosmosdb.NewPartitionKeyRangeIdID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "databaseName", "collectionName", "partitionKeyRangeId") + +read, err := client.PartitionKeyRangeIdListMetrics(ctx, id, cosmosdb.DefaultPartitionKeyRangeIdListMetricsOperationOptions()) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `CosmosDBClient.PartitionKeyRangeIdRegionListMetrics` + +```go +ctx := context.TODO() +id := cosmosdb.NewCollectionPartitionKeyRangeIdID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "regionName", "databaseName", "collectionName", "partitionKeyRangeId") + +read, err := client.PartitionKeyRangeIdRegionListMetrics(ctx, id, cosmosdb.DefaultPartitionKeyRangeIdRegionListMetricsOperationOptions()) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `CosmosDBClient.PercentileListMetrics` + +```go +ctx := context.TODO() +id := cosmosdb.NewDatabaseAccountID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName") + +read, err := client.PercentileListMetrics(ctx, id, cosmosdb.DefaultPercentileListMetricsOperationOptions()) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `CosmosDBClient.PercentileSourceTargetListMetrics` + +```go +ctx := context.TODO() +id := cosmosdb.NewSourceRegionTargetRegionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "sourceRegionName", "targetRegionName") + +read, err := client.PercentileSourceTargetListMetrics(ctx, id, cosmosdb.DefaultPercentileSourceTargetListMetricsOperationOptions()) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `CosmosDBClient.PercentileTargetListMetrics` + +```go +ctx := context.TODO() +id := cosmosdb.NewTargetRegionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "targetRegionName") + +read, err := client.PercentileTargetListMetrics(ctx, id, cosmosdb.DefaultPercentileTargetListMetricsOperationOptions()) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `CosmosDBClient.SqlResourcesCreateUpdateClientEncryptionKey` + +```go +ctx := context.TODO() +id := cosmosdb.NewClientEncryptionKeyID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "sqlDatabaseName", "clientEncryptionKeyName") + +payload := cosmosdb.ClientEncryptionKeyCreateUpdateParameters{ + // ... +} + + +if err := client.SqlResourcesCreateUpdateClientEncryptionKeyThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `CosmosDBClient.SqlResourcesCreateUpdateSqlContainer` + +```go +ctx := context.TODO() +id := cosmosdb.NewContainerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "sqlDatabaseName", "containerName") + +payload := cosmosdb.SqlContainerCreateUpdateParameters{ + // ... +} + + +if err := client.SqlResourcesCreateUpdateSqlContainerThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `CosmosDBClient.SqlResourcesCreateUpdateSqlDatabase` + +```go +ctx := context.TODO() +id := cosmosdb.NewSqlDatabaseID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "sqlDatabaseName") + +payload := cosmosdb.SqlDatabaseCreateUpdateParameters{ + // ... +} + + +if err := client.SqlResourcesCreateUpdateSqlDatabaseThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `CosmosDBClient.SqlResourcesCreateUpdateSqlStoredProcedure` + +```go +ctx := context.TODO() +id := cosmosdb.NewStoredProcedureID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "sqlDatabaseName", "containerName", "storedProcedureName") + +payload := cosmosdb.SqlStoredProcedureCreateUpdateParameters{ + // ... +} + + +if err := client.SqlResourcesCreateUpdateSqlStoredProcedureThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `CosmosDBClient.SqlResourcesCreateUpdateSqlTrigger` + +```go +ctx := context.TODO() +id := cosmosdb.NewTriggerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "sqlDatabaseName", "containerName", "triggerName") + +payload := cosmosdb.SqlTriggerCreateUpdateParameters{ + // ... +} + + +if err := client.SqlResourcesCreateUpdateSqlTriggerThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `CosmosDBClient.SqlResourcesCreateUpdateSqlUserDefinedFunction` + +```go +ctx := context.TODO() +id := cosmosdb.NewUserDefinedFunctionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "sqlDatabaseName", "containerName", "userDefinedFunctionName") + +payload := cosmosdb.SqlUserDefinedFunctionCreateUpdateParameters{ + // ... +} + + +if err := client.SqlResourcesCreateUpdateSqlUserDefinedFunctionThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `CosmosDBClient.SqlResourcesDeleteSqlContainer` + +```go +ctx := context.TODO() +id := cosmosdb.NewContainerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "sqlDatabaseName", "containerName") + +if err := client.SqlResourcesDeleteSqlContainerThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `CosmosDBClient.SqlResourcesDeleteSqlDatabase` + +```go +ctx := context.TODO() +id := cosmosdb.NewSqlDatabaseID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "sqlDatabaseName") + +if err := client.SqlResourcesDeleteSqlDatabaseThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `CosmosDBClient.SqlResourcesDeleteSqlStoredProcedure` + +```go +ctx := context.TODO() +id := cosmosdb.NewStoredProcedureID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "sqlDatabaseName", "containerName", "storedProcedureName") + +if err := client.SqlResourcesDeleteSqlStoredProcedureThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `CosmosDBClient.SqlResourcesDeleteSqlTrigger` + +```go +ctx := context.TODO() +id := cosmosdb.NewTriggerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "sqlDatabaseName", "containerName", "triggerName") + +if err := client.SqlResourcesDeleteSqlTriggerThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `CosmosDBClient.SqlResourcesDeleteSqlUserDefinedFunction` + +```go +ctx := context.TODO() +id := cosmosdb.NewUserDefinedFunctionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "sqlDatabaseName", "containerName", "userDefinedFunctionName") + +if err := client.SqlResourcesDeleteSqlUserDefinedFunctionThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `CosmosDBClient.SqlResourcesGetClientEncryptionKey` + +```go +ctx := context.TODO() +id := cosmosdb.NewClientEncryptionKeyID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "sqlDatabaseName", "clientEncryptionKeyName") + +read, err := client.SqlResourcesGetClientEncryptionKey(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `CosmosDBClient.SqlResourcesGetSqlContainer` + +```go +ctx := context.TODO() +id := cosmosdb.NewContainerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "sqlDatabaseName", "containerName") + +read, err := client.SqlResourcesGetSqlContainer(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `CosmosDBClient.SqlResourcesGetSqlContainerThroughput` + +```go +ctx := context.TODO() +id := cosmosdb.NewContainerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "sqlDatabaseName", "containerName") + +read, err := client.SqlResourcesGetSqlContainerThroughput(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `CosmosDBClient.SqlResourcesGetSqlDatabase` + +```go +ctx := context.TODO() +id := cosmosdb.NewSqlDatabaseID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "sqlDatabaseName") + +read, err := client.SqlResourcesGetSqlDatabase(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `CosmosDBClient.SqlResourcesGetSqlDatabaseThroughput` + +```go +ctx := context.TODO() +id := cosmosdb.NewSqlDatabaseID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "sqlDatabaseName") + +read, err := client.SqlResourcesGetSqlDatabaseThroughput(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `CosmosDBClient.SqlResourcesGetSqlStoredProcedure` + +```go +ctx := context.TODO() +id := cosmosdb.NewStoredProcedureID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "sqlDatabaseName", "containerName", "storedProcedureName") + +read, err := client.SqlResourcesGetSqlStoredProcedure(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `CosmosDBClient.SqlResourcesGetSqlTrigger` + +```go +ctx := context.TODO() +id := cosmosdb.NewTriggerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "sqlDatabaseName", "containerName", "triggerName") + +read, err := client.SqlResourcesGetSqlTrigger(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `CosmosDBClient.SqlResourcesGetSqlUserDefinedFunction` + +```go +ctx := context.TODO() +id := cosmosdb.NewUserDefinedFunctionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "sqlDatabaseName", "containerName", "userDefinedFunctionName") + +read, err := client.SqlResourcesGetSqlUserDefinedFunction(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `CosmosDBClient.SqlResourcesListClientEncryptionKeys` + +```go +ctx := context.TODO() +id := cosmosdb.NewSqlDatabaseID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "sqlDatabaseName") + +read, err := client.SqlResourcesListClientEncryptionKeys(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `CosmosDBClient.SqlResourcesListSqlContainers` + +```go +ctx := context.TODO() +id := cosmosdb.NewSqlDatabaseID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "sqlDatabaseName") + +read, err := client.SqlResourcesListSqlContainers(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `CosmosDBClient.SqlResourcesListSqlDatabases` + +```go +ctx := context.TODO() +id := cosmosdb.NewDatabaseAccountID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName") + +read, err := client.SqlResourcesListSqlDatabases(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `CosmosDBClient.SqlResourcesListSqlStoredProcedures` + +```go +ctx := context.TODO() +id := cosmosdb.NewContainerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "sqlDatabaseName", "containerName") + +read, err := client.SqlResourcesListSqlStoredProcedures(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `CosmosDBClient.SqlResourcesListSqlTriggers` + +```go +ctx := context.TODO() +id := cosmosdb.NewContainerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "sqlDatabaseName", "containerName") + +read, err := client.SqlResourcesListSqlTriggers(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `CosmosDBClient.SqlResourcesListSqlUserDefinedFunctions` + +```go +ctx := context.TODO() +id := cosmosdb.NewContainerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "sqlDatabaseName", "containerName") + +read, err := client.SqlResourcesListSqlUserDefinedFunctions(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `CosmosDBClient.SqlResourcesMigrateSqlContainerToAutoscale` + +```go +ctx := context.TODO() +id := cosmosdb.NewContainerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "sqlDatabaseName", "containerName") + +if err := client.SqlResourcesMigrateSqlContainerToAutoscaleThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `CosmosDBClient.SqlResourcesMigrateSqlContainerToManualThroughput` + +```go +ctx := context.TODO() +id := cosmosdb.NewContainerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "sqlDatabaseName", "containerName") + +if err := client.SqlResourcesMigrateSqlContainerToManualThroughputThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `CosmosDBClient.SqlResourcesMigrateSqlDatabaseToAutoscale` + +```go +ctx := context.TODO() +id := cosmosdb.NewSqlDatabaseID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "sqlDatabaseName") + +if err := client.SqlResourcesMigrateSqlDatabaseToAutoscaleThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `CosmosDBClient.SqlResourcesMigrateSqlDatabaseToManualThroughput` + +```go +ctx := context.TODO() +id := cosmosdb.NewSqlDatabaseID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "sqlDatabaseName") + +if err := client.SqlResourcesMigrateSqlDatabaseToManualThroughputThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `CosmosDBClient.SqlResourcesUpdateSqlContainerThroughput` + +```go +ctx := context.TODO() +id := cosmosdb.NewContainerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "sqlDatabaseName", "containerName") + +payload := cosmosdb.ThroughputSettingsUpdateParameters{ + // ... +} + + +if err := client.SqlResourcesUpdateSqlContainerThroughputThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `CosmosDBClient.SqlResourcesUpdateSqlDatabaseThroughput` + +```go +ctx := context.TODO() +id := cosmosdb.NewSqlDatabaseID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "sqlDatabaseName") + +payload := cosmosdb.ThroughputSettingsUpdateParameters{ + // ... +} + + +if err := client.SqlResourcesUpdateSqlDatabaseThroughputThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `CosmosDBClient.TableResourcesCreateUpdateTable` + +```go +ctx := context.TODO() +id := cosmosdb.NewTableID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "tableName") + +payload := cosmosdb.TableCreateUpdateParameters{ + // ... +} + + +if err := client.TableResourcesCreateUpdateTableThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `CosmosDBClient.TableResourcesDeleteTable` + +```go +ctx := context.TODO() +id := cosmosdb.NewTableID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "tableName") + +if err := client.TableResourcesDeleteTableThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `CosmosDBClient.TableResourcesGetTable` + +```go +ctx := context.TODO() +id := cosmosdb.NewTableID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "tableName") + +read, err := client.TableResourcesGetTable(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `CosmosDBClient.TableResourcesGetTableThroughput` + +```go +ctx := context.TODO() +id := cosmosdb.NewTableID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "tableName") + +read, err := client.TableResourcesGetTableThroughput(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `CosmosDBClient.TableResourcesListTables` + +```go +ctx := context.TODO() +id := cosmosdb.NewDatabaseAccountID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName") + +read, err := client.TableResourcesListTables(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `CosmosDBClient.TableResourcesMigrateTableToAutoscale` + +```go +ctx := context.TODO() +id := cosmosdb.NewTableID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "tableName") + +if err := client.TableResourcesMigrateTableToAutoscaleThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `CosmosDBClient.TableResourcesMigrateTableToManualThroughput` + +```go +ctx := context.TODO() +id := cosmosdb.NewTableID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "tableName") + +if err := client.TableResourcesMigrateTableToManualThroughputThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `CosmosDBClient.TableResourcesUpdateTableThroughput` + +```go +ctx := context.TODO() +id := cosmosdb.NewTableID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountName", "tableName") + +payload := cosmosdb.ThroughputSettingsUpdateParameters{ + // ... +} + + +if err := client.TableResourcesUpdateTableThroughputThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/constants.go new file mode 100644 index 000000000000..89fb6b68b89d --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/constants.go @@ -0,0 +1,1378 @@ +package cosmosdb + +import ( + "encoding/json" + "fmt" + "strings" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type AnalyticalStorageSchemaType string + +const ( + AnalyticalStorageSchemaTypeFullFidelity AnalyticalStorageSchemaType = "FullFidelity" + AnalyticalStorageSchemaTypeWellDefined AnalyticalStorageSchemaType = "WellDefined" +) + +func PossibleValuesForAnalyticalStorageSchemaType() []string { + return []string{ + string(AnalyticalStorageSchemaTypeFullFidelity), + string(AnalyticalStorageSchemaTypeWellDefined), + } +} + +func (s *AnalyticalStorageSchemaType) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseAnalyticalStorageSchemaType(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseAnalyticalStorageSchemaType(input string) (*AnalyticalStorageSchemaType, error) { + vals := map[string]AnalyticalStorageSchemaType{ + "fullfidelity": AnalyticalStorageSchemaTypeFullFidelity, + "welldefined": AnalyticalStorageSchemaTypeWellDefined, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := AnalyticalStorageSchemaType(input) + return &out, nil +} + +type BackupPolicyMigrationStatus string + +const ( + BackupPolicyMigrationStatusCompleted BackupPolicyMigrationStatus = "Completed" + BackupPolicyMigrationStatusFailed BackupPolicyMigrationStatus = "Failed" + BackupPolicyMigrationStatusInProgress BackupPolicyMigrationStatus = "InProgress" + BackupPolicyMigrationStatusInvalid BackupPolicyMigrationStatus = "Invalid" +) + +func PossibleValuesForBackupPolicyMigrationStatus() []string { + return []string{ + string(BackupPolicyMigrationStatusCompleted), + string(BackupPolicyMigrationStatusFailed), + string(BackupPolicyMigrationStatusInProgress), + string(BackupPolicyMigrationStatusInvalid), + } +} + +func (s *BackupPolicyMigrationStatus) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseBackupPolicyMigrationStatus(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseBackupPolicyMigrationStatus(input string) (*BackupPolicyMigrationStatus, error) { + vals := map[string]BackupPolicyMigrationStatus{ + "completed": BackupPolicyMigrationStatusCompleted, + "failed": BackupPolicyMigrationStatusFailed, + "inprogress": BackupPolicyMigrationStatusInProgress, + "invalid": BackupPolicyMigrationStatusInvalid, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := BackupPolicyMigrationStatus(input) + return &out, nil +} + +type BackupPolicyType string + +const ( + BackupPolicyTypeContinuous BackupPolicyType = "Continuous" + BackupPolicyTypePeriodic BackupPolicyType = "Periodic" +) + +func PossibleValuesForBackupPolicyType() []string { + return []string{ + string(BackupPolicyTypeContinuous), + string(BackupPolicyTypePeriodic), + } +} + +func (s *BackupPolicyType) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseBackupPolicyType(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseBackupPolicyType(input string) (*BackupPolicyType, error) { + vals := map[string]BackupPolicyType{ + "continuous": BackupPolicyTypeContinuous, + "periodic": BackupPolicyTypePeriodic, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := BackupPolicyType(input) + return &out, nil +} + +type BackupStorageRedundancy string + +const ( + BackupStorageRedundancyGeo BackupStorageRedundancy = "Geo" + BackupStorageRedundancyLocal BackupStorageRedundancy = "Local" + BackupStorageRedundancyZone BackupStorageRedundancy = "Zone" +) + +func PossibleValuesForBackupStorageRedundancy() []string { + return []string{ + string(BackupStorageRedundancyGeo), + string(BackupStorageRedundancyLocal), + string(BackupStorageRedundancyZone), + } +} + +func (s *BackupStorageRedundancy) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseBackupStorageRedundancy(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseBackupStorageRedundancy(input string) (*BackupStorageRedundancy, error) { + vals := map[string]BackupStorageRedundancy{ + "geo": BackupStorageRedundancyGeo, + "local": BackupStorageRedundancyLocal, + "zone": BackupStorageRedundancyZone, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := BackupStorageRedundancy(input) + return &out, nil +} + +type CompositePathSortOrder string + +const ( + CompositePathSortOrderAscending CompositePathSortOrder = "ascending" + CompositePathSortOrderDescending CompositePathSortOrder = "descending" +) + +func PossibleValuesForCompositePathSortOrder() []string { + return []string{ + string(CompositePathSortOrderAscending), + string(CompositePathSortOrderDescending), + } +} + +func (s *CompositePathSortOrder) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseCompositePathSortOrder(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseCompositePathSortOrder(input string) (*CompositePathSortOrder, error) { + vals := map[string]CompositePathSortOrder{ + "ascending": CompositePathSortOrderAscending, + "descending": CompositePathSortOrderDescending, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := CompositePathSortOrder(input) + return &out, nil +} + +type ConflictResolutionMode string + +const ( + ConflictResolutionModeCustom ConflictResolutionMode = "Custom" + ConflictResolutionModeLastWriterWins ConflictResolutionMode = "LastWriterWins" +) + +func PossibleValuesForConflictResolutionMode() []string { + return []string{ + string(ConflictResolutionModeCustom), + string(ConflictResolutionModeLastWriterWins), + } +} + +func (s *ConflictResolutionMode) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseConflictResolutionMode(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseConflictResolutionMode(input string) (*ConflictResolutionMode, error) { + vals := map[string]ConflictResolutionMode{ + "custom": ConflictResolutionModeCustom, + "lastwriterwins": ConflictResolutionModeLastWriterWins, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ConflictResolutionMode(input) + return &out, nil +} + +type ConnectorOffer string + +const ( + ConnectorOfferSmall ConnectorOffer = "Small" +) + +func PossibleValuesForConnectorOffer() []string { + return []string{ + string(ConnectorOfferSmall), + } +} + +func (s *ConnectorOffer) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseConnectorOffer(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseConnectorOffer(input string) (*ConnectorOffer, error) { + vals := map[string]ConnectorOffer{ + "small": ConnectorOfferSmall, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ConnectorOffer(input) + return &out, nil +} + +type ContinuousTier string + +const ( + ContinuousTierContinuousSevenDays ContinuousTier = "Continuous7Days" + ContinuousTierContinuousThreeZeroDays ContinuousTier = "Continuous30Days" +) + +func PossibleValuesForContinuousTier() []string { + return []string{ + string(ContinuousTierContinuousSevenDays), + string(ContinuousTierContinuousThreeZeroDays), + } +} + +func (s *ContinuousTier) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseContinuousTier(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseContinuousTier(input string) (*ContinuousTier, error) { + vals := map[string]ContinuousTier{ + "continuous7days": ContinuousTierContinuousSevenDays, + "continuous30days": ContinuousTierContinuousThreeZeroDays, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ContinuousTier(input) + return &out, nil +} + +type CreateMode string + +const ( + CreateModeDefault CreateMode = "Default" + CreateModeRestore CreateMode = "Restore" +) + +func PossibleValuesForCreateMode() []string { + return []string{ + string(CreateModeDefault), + string(CreateModeRestore), + } +} + +func (s *CreateMode) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseCreateMode(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseCreateMode(input string) (*CreateMode, error) { + vals := map[string]CreateMode{ + "default": CreateModeDefault, + "restore": CreateModeRestore, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := CreateMode(input) + return &out, nil +} + +type DataType string + +const ( + DataTypeLineString DataType = "LineString" + DataTypeMultiPolygon DataType = "MultiPolygon" + DataTypeNumber DataType = "Number" + DataTypePoint DataType = "Point" + DataTypePolygon DataType = "Polygon" + DataTypeString DataType = "String" +) + +func PossibleValuesForDataType() []string { + return []string{ + string(DataTypeLineString), + string(DataTypeMultiPolygon), + string(DataTypeNumber), + string(DataTypePoint), + string(DataTypePolygon), + string(DataTypeString), + } +} + +func (s *DataType) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseDataType(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseDataType(input string) (*DataType, error) { + vals := map[string]DataType{ + "linestring": DataTypeLineString, + "multipolygon": DataTypeMultiPolygon, + "number": DataTypeNumber, + "point": DataTypePoint, + "polygon": DataTypePolygon, + "string": DataTypeString, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := DataType(input) + return &out, nil +} + +type DatabaseAccountKind string + +const ( + DatabaseAccountKindGlobalDocumentDB DatabaseAccountKind = "GlobalDocumentDB" + DatabaseAccountKindMongoDB DatabaseAccountKind = "MongoDB" + DatabaseAccountKindParse DatabaseAccountKind = "Parse" +) + +func PossibleValuesForDatabaseAccountKind() []string { + return []string{ + string(DatabaseAccountKindGlobalDocumentDB), + string(DatabaseAccountKindMongoDB), + string(DatabaseAccountKindParse), + } +} + +func (s *DatabaseAccountKind) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseDatabaseAccountKind(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseDatabaseAccountKind(input string) (*DatabaseAccountKind, error) { + vals := map[string]DatabaseAccountKind{ + "globaldocumentdb": DatabaseAccountKindGlobalDocumentDB, + "mongodb": DatabaseAccountKindMongoDB, + "parse": DatabaseAccountKindParse, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := DatabaseAccountKind(input) + return &out, nil +} + +type DatabaseAccountOfferType string + +const ( + DatabaseAccountOfferTypeStandard DatabaseAccountOfferType = "Standard" +) + +func PossibleValuesForDatabaseAccountOfferType() []string { + return []string{ + string(DatabaseAccountOfferTypeStandard), + } +} + +func (s *DatabaseAccountOfferType) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseDatabaseAccountOfferType(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseDatabaseAccountOfferType(input string) (*DatabaseAccountOfferType, error) { + vals := map[string]DatabaseAccountOfferType{ + "standard": DatabaseAccountOfferTypeStandard, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := DatabaseAccountOfferType(input) + return &out, nil +} + +type DefaultConsistencyLevel string + +const ( + DefaultConsistencyLevelBoundedStaleness DefaultConsistencyLevel = "BoundedStaleness" + DefaultConsistencyLevelConsistentPrefix DefaultConsistencyLevel = "ConsistentPrefix" + DefaultConsistencyLevelEventual DefaultConsistencyLevel = "Eventual" + DefaultConsistencyLevelSession DefaultConsistencyLevel = "Session" + DefaultConsistencyLevelStrong DefaultConsistencyLevel = "Strong" +) + +func PossibleValuesForDefaultConsistencyLevel() []string { + return []string{ + string(DefaultConsistencyLevelBoundedStaleness), + string(DefaultConsistencyLevelConsistentPrefix), + string(DefaultConsistencyLevelEventual), + string(DefaultConsistencyLevelSession), + string(DefaultConsistencyLevelStrong), + } +} + +func (s *DefaultConsistencyLevel) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseDefaultConsistencyLevel(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseDefaultConsistencyLevel(input string) (*DefaultConsistencyLevel, error) { + vals := map[string]DefaultConsistencyLevel{ + "boundedstaleness": DefaultConsistencyLevelBoundedStaleness, + "consistentprefix": DefaultConsistencyLevelConsistentPrefix, + "eventual": DefaultConsistencyLevelEventual, + "session": DefaultConsistencyLevelSession, + "strong": DefaultConsistencyLevelStrong, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := DefaultConsistencyLevel(input) + return &out, nil +} + +type IndexKind string + +const ( + IndexKindHash IndexKind = "Hash" + IndexKindRange IndexKind = "Range" + IndexKindSpatial IndexKind = "Spatial" +) + +func PossibleValuesForIndexKind() []string { + return []string{ + string(IndexKindHash), + string(IndexKindRange), + string(IndexKindSpatial), + } +} + +func (s *IndexKind) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseIndexKind(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseIndexKind(input string) (*IndexKind, error) { + vals := map[string]IndexKind{ + "hash": IndexKindHash, + "range": IndexKindRange, + "spatial": IndexKindSpatial, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := IndexKind(input) + return &out, nil +} + +type IndexingMode string + +const ( + IndexingModeConsistent IndexingMode = "consistent" + IndexingModeLazy IndexingMode = "lazy" + IndexingModeNone IndexingMode = "none" +) + +func PossibleValuesForIndexingMode() []string { + return []string{ + string(IndexingModeConsistent), + string(IndexingModeLazy), + string(IndexingModeNone), + } +} + +func (s *IndexingMode) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseIndexingMode(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseIndexingMode(input string) (*IndexingMode, error) { + vals := map[string]IndexingMode{ + "consistent": IndexingModeConsistent, + "lazy": IndexingModeLazy, + "none": IndexingModeNone, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := IndexingMode(input) + return &out, nil +} + +type KeyKind string + +const ( + KeyKindPrimary KeyKind = "primary" + KeyKindPrimaryReadonly KeyKind = "primaryReadonly" + KeyKindSecondary KeyKind = "secondary" + KeyKindSecondaryReadonly KeyKind = "secondaryReadonly" +) + +func PossibleValuesForKeyKind() []string { + return []string{ + string(KeyKindPrimary), + string(KeyKindPrimaryReadonly), + string(KeyKindSecondary), + string(KeyKindSecondaryReadonly), + } +} + +func (s *KeyKind) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseKeyKind(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseKeyKind(input string) (*KeyKind, error) { + vals := map[string]KeyKind{ + "primary": KeyKindPrimary, + "primaryreadonly": KeyKindPrimaryReadonly, + "secondary": KeyKindSecondary, + "secondaryreadonly": KeyKindSecondaryReadonly, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := KeyKind(input) + return &out, nil +} + +type Kind string + +const ( + KindPrimary Kind = "Primary" + KindPrimaryReadonly Kind = "PrimaryReadonly" + KindSecondary Kind = "Secondary" + KindSecondaryReadonly Kind = "SecondaryReadonly" +) + +func PossibleValuesForKind() []string { + return []string{ + string(KindPrimary), + string(KindPrimaryReadonly), + string(KindSecondary), + string(KindSecondaryReadonly), + } +} + +func (s *Kind) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseKind(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseKind(input string) (*Kind, error) { + vals := map[string]Kind{ + "primary": KindPrimary, + "primaryreadonly": KindPrimaryReadonly, + "secondary": KindSecondary, + "secondaryreadonly": KindSecondaryReadonly, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := Kind(input) + return &out, nil +} + +type MinimalTlsVersion string + +const ( + MinimalTlsVersionTls MinimalTlsVersion = "Tls" + MinimalTlsVersionTlsOneOne MinimalTlsVersion = "Tls11" + MinimalTlsVersionTlsOneTwo MinimalTlsVersion = "Tls12" +) + +func PossibleValuesForMinimalTlsVersion() []string { + return []string{ + string(MinimalTlsVersionTls), + string(MinimalTlsVersionTlsOneOne), + string(MinimalTlsVersionTlsOneTwo), + } +} + +func (s *MinimalTlsVersion) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseMinimalTlsVersion(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseMinimalTlsVersion(input string) (*MinimalTlsVersion, error) { + vals := map[string]MinimalTlsVersion{ + "tls": MinimalTlsVersionTls, + "tls11": MinimalTlsVersionTlsOneOne, + "tls12": MinimalTlsVersionTlsOneTwo, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := MinimalTlsVersion(input) + return &out, nil +} + +type NetworkAclBypass string + +const ( + NetworkAclBypassAzureServices NetworkAclBypass = "AzureServices" + NetworkAclBypassNone NetworkAclBypass = "None" +) + +func PossibleValuesForNetworkAclBypass() []string { + return []string{ + string(NetworkAclBypassAzureServices), + string(NetworkAclBypassNone), + } +} + +func (s *NetworkAclBypass) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseNetworkAclBypass(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseNetworkAclBypass(input string) (*NetworkAclBypass, error) { + vals := map[string]NetworkAclBypass{ + "azureservices": NetworkAclBypassAzureServices, + "none": NetworkAclBypassNone, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := NetworkAclBypass(input) + return &out, nil +} + +type PartitionKind string + +const ( + PartitionKindHash PartitionKind = "Hash" + PartitionKindMultiHash PartitionKind = "MultiHash" + PartitionKindRange PartitionKind = "Range" +) + +func PossibleValuesForPartitionKind() []string { + return []string{ + string(PartitionKindHash), + string(PartitionKindMultiHash), + string(PartitionKindRange), + } +} + +func (s *PartitionKind) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parsePartitionKind(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parsePartitionKind(input string) (*PartitionKind, error) { + vals := map[string]PartitionKind{ + "hash": PartitionKindHash, + "multihash": PartitionKindMultiHash, + "range": PartitionKindRange, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := PartitionKind(input) + return &out, nil +} + +type PrimaryAggregationType string + +const ( + PrimaryAggregationTypeAverage PrimaryAggregationType = "Average" + PrimaryAggregationTypeLast PrimaryAggregationType = "Last" + PrimaryAggregationTypeMaximum PrimaryAggregationType = "Maximum" + PrimaryAggregationTypeMinimum PrimaryAggregationType = "Minimum" + PrimaryAggregationTypeNone PrimaryAggregationType = "None" + PrimaryAggregationTypeTotal PrimaryAggregationType = "Total" +) + +func PossibleValuesForPrimaryAggregationType() []string { + return []string{ + string(PrimaryAggregationTypeAverage), + string(PrimaryAggregationTypeLast), + string(PrimaryAggregationTypeMaximum), + string(PrimaryAggregationTypeMinimum), + string(PrimaryAggregationTypeNone), + string(PrimaryAggregationTypeTotal), + } +} + +func (s *PrimaryAggregationType) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parsePrimaryAggregationType(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parsePrimaryAggregationType(input string) (*PrimaryAggregationType, error) { + vals := map[string]PrimaryAggregationType{ + "average": PrimaryAggregationTypeAverage, + "last": PrimaryAggregationTypeLast, + "maximum": PrimaryAggregationTypeMaximum, + "minimum": PrimaryAggregationTypeMinimum, + "none": PrimaryAggregationTypeNone, + "total": PrimaryAggregationTypeTotal, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := PrimaryAggregationType(input) + return &out, nil +} + +type PublicNetworkAccess string + +const ( + PublicNetworkAccessDisabled PublicNetworkAccess = "Disabled" + PublicNetworkAccessEnabled PublicNetworkAccess = "Enabled" + PublicNetworkAccessSecuredByPerimeter PublicNetworkAccess = "SecuredByPerimeter" +) + +func PossibleValuesForPublicNetworkAccess() []string { + return []string{ + string(PublicNetworkAccessDisabled), + string(PublicNetworkAccessEnabled), + string(PublicNetworkAccessSecuredByPerimeter), + } +} + +func (s *PublicNetworkAccess) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parsePublicNetworkAccess(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parsePublicNetworkAccess(input string) (*PublicNetworkAccess, error) { + vals := map[string]PublicNetworkAccess{ + "disabled": PublicNetworkAccessDisabled, + "enabled": PublicNetworkAccessEnabled, + "securedbyperimeter": PublicNetworkAccessSecuredByPerimeter, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := PublicNetworkAccess(input) + return &out, nil +} + +type RestoreMode string + +const ( + RestoreModePointInTime RestoreMode = "PointInTime" +) + +func PossibleValuesForRestoreMode() []string { + return []string{ + string(RestoreModePointInTime), + } +} + +func (s *RestoreMode) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseRestoreMode(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseRestoreMode(input string) (*RestoreMode, error) { + vals := map[string]RestoreMode{ + "pointintime": RestoreModePointInTime, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := RestoreMode(input) + return &out, nil +} + +type ServerVersion string + +const ( + ServerVersionFivePointZero ServerVersion = "5.0" + ServerVersionFourPointTwo ServerVersion = "4.2" + ServerVersionFourPointZero ServerVersion = "4.0" + ServerVersionSevenPointZero ServerVersion = "7.0" + ServerVersionSixPointZero ServerVersion = "6.0" + ServerVersionThreePointSix ServerVersion = "3.6" + ServerVersionThreePointTwo ServerVersion = "3.2" +) + +func PossibleValuesForServerVersion() []string { + return []string{ + string(ServerVersionFivePointZero), + string(ServerVersionFourPointTwo), + string(ServerVersionFourPointZero), + string(ServerVersionSevenPointZero), + string(ServerVersionSixPointZero), + string(ServerVersionThreePointSix), + string(ServerVersionThreePointTwo), + } +} + +func (s *ServerVersion) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseServerVersion(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseServerVersion(input string) (*ServerVersion, error) { + vals := map[string]ServerVersion{ + "5.0": ServerVersionFivePointZero, + "4.2": ServerVersionFourPointTwo, + "4.0": ServerVersionFourPointZero, + "7.0": ServerVersionSevenPointZero, + "6.0": ServerVersionSixPointZero, + "3.6": ServerVersionThreePointSix, + "3.2": ServerVersionThreePointTwo, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ServerVersion(input) + return &out, nil +} + +type SpatialType string + +const ( + SpatialTypeLineString SpatialType = "LineString" + SpatialTypeMultiPolygon SpatialType = "MultiPolygon" + SpatialTypePoint SpatialType = "Point" + SpatialTypePolygon SpatialType = "Polygon" +) + +func PossibleValuesForSpatialType() []string { + return []string{ + string(SpatialTypeLineString), + string(SpatialTypeMultiPolygon), + string(SpatialTypePoint), + string(SpatialTypePolygon), + } +} + +func (s *SpatialType) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseSpatialType(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseSpatialType(input string) (*SpatialType, error) { + vals := map[string]SpatialType{ + "linestring": SpatialTypeLineString, + "multipolygon": SpatialTypeMultiPolygon, + "point": SpatialTypePoint, + "polygon": SpatialTypePolygon, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := SpatialType(input) + return &out, nil +} + +type Status string + +const ( + StatusDeleting Status = "Deleting" + StatusInitializing Status = "Initializing" + StatusInternallyReady Status = "InternallyReady" + StatusOnline Status = "Online" + StatusUninitialized Status = "Uninitialized" +) + +func PossibleValuesForStatus() []string { + return []string{ + string(StatusDeleting), + string(StatusInitializing), + string(StatusInternallyReady), + string(StatusOnline), + string(StatusUninitialized), + } +} + +func (s *Status) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseStatus(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseStatus(input string) (*Status, error) { + vals := map[string]Status{ + "deleting": StatusDeleting, + "initializing": StatusInitializing, + "internallyready": StatusInternallyReady, + "online": StatusOnline, + "uninitialized": StatusUninitialized, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := Status(input) + return &out, nil +} + +type TriggerOperation string + +const ( + TriggerOperationAll TriggerOperation = "All" + TriggerOperationCreate TriggerOperation = "Create" + TriggerOperationDelete TriggerOperation = "Delete" + TriggerOperationReplace TriggerOperation = "Replace" + TriggerOperationUpdate TriggerOperation = "Update" +) + +func PossibleValuesForTriggerOperation() []string { + return []string{ + string(TriggerOperationAll), + string(TriggerOperationCreate), + string(TriggerOperationDelete), + string(TriggerOperationReplace), + string(TriggerOperationUpdate), + } +} + +func (s *TriggerOperation) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseTriggerOperation(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseTriggerOperation(input string) (*TriggerOperation, error) { + vals := map[string]TriggerOperation{ + "all": TriggerOperationAll, + "create": TriggerOperationCreate, + "delete": TriggerOperationDelete, + "replace": TriggerOperationReplace, + "update": TriggerOperationUpdate, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := TriggerOperation(input) + return &out, nil +} + +type TriggerType string + +const ( + TriggerTypePost TriggerType = "Post" + TriggerTypePre TriggerType = "Pre" +) + +func PossibleValuesForTriggerType() []string { + return []string{ + string(TriggerTypePost), + string(TriggerTypePre), + } +} + +func (s *TriggerType) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseTriggerType(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseTriggerType(input string) (*TriggerType, error) { + vals := map[string]TriggerType{ + "post": TriggerTypePost, + "pre": TriggerTypePre, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := TriggerType(input) + return &out, nil +} + +type Type string + +const ( + TypeCassandra Type = "Cassandra" + TypeCassandraConnectorMetadata Type = "CassandraConnectorMetadata" + TypeGremlin Type = "Gremlin" + TypeGremlinVTwo Type = "GremlinV2" + TypeMongoDB Type = "MongoDB" + TypeSql Type = "Sql" + TypeSqlDedicatedGateway Type = "SqlDedicatedGateway" + TypeTable Type = "Table" + TypeUndefined Type = "Undefined" +) + +func PossibleValuesForType() []string { + return []string{ + string(TypeCassandra), + string(TypeCassandraConnectorMetadata), + string(TypeGremlin), + string(TypeGremlinVTwo), + string(TypeMongoDB), + string(TypeSql), + string(TypeSqlDedicatedGateway), + string(TypeTable), + string(TypeUndefined), + } +} + +func (s *Type) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseType(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseType(input string) (*Type, error) { + vals := map[string]Type{ + "cassandra": TypeCassandra, + "cassandraconnectormetadata": TypeCassandraConnectorMetadata, + "gremlin": TypeGremlin, + "gremlinv2": TypeGremlinVTwo, + "mongodb": TypeMongoDB, + "sql": TypeSql, + "sqldedicatedgateway": TypeSqlDedicatedGateway, + "table": TypeTable, + "undefined": TypeUndefined, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := Type(input) + return &out, nil +} + +type UnitType string + +const ( + UnitTypeBytes UnitType = "Bytes" + UnitTypeBytesPerSecond UnitType = "BytesPerSecond" + UnitTypeCount UnitType = "Count" + UnitTypeCountPerSecond UnitType = "CountPerSecond" + UnitTypeMilliseconds UnitType = "Milliseconds" + UnitTypePercent UnitType = "Percent" + UnitTypeSeconds UnitType = "Seconds" +) + +func PossibleValuesForUnitType() []string { + return []string{ + string(UnitTypeBytes), + string(UnitTypeBytesPerSecond), + string(UnitTypeCount), + string(UnitTypeCountPerSecond), + string(UnitTypeMilliseconds), + string(UnitTypePercent), + string(UnitTypeSeconds), + } +} + +func (s *UnitType) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseUnitType(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseUnitType(input string) (*UnitType, error) { + vals := map[string]UnitType{ + "bytes": UnitTypeBytes, + "bytespersecond": UnitTypeBytesPerSecond, + "count": UnitTypeCount, + "countpersecond": UnitTypeCountPerSecond, + "milliseconds": UnitTypeMilliseconds, + "percent": UnitTypePercent, + "seconds": UnitTypeSeconds, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := UnitType(input) + return &out, nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/id_cassandrakeyspace.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/id_cassandrakeyspace.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/id_cassandrakeyspace.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/id_cassandrakeyspace.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/id_cassandrakeyspacetable.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/id_cassandrakeyspacetable.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/id_cassandrakeyspacetable.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/id_cassandrakeyspacetable.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/id_clientencryptionkey.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/id_clientencryptionkey.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/id_clientencryptionkey.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/id_clientencryptionkey.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/id_collection.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/id_collection.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/id_collection.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/id_collection.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/id_collectionpartitionkeyrangeid.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/id_collectionpartitionkeyrangeid.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/id_collectionpartitionkeyrangeid.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/id_collectionpartitionkeyrangeid.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/id_container.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/id_container.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/id_container.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/id_container.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/id_database.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/id_database.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/id_database.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/id_database.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/id_databaseaccount.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/id_databaseaccount.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/id_databaseaccount.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/id_databaseaccount.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/id_databaseaccountname.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/id_databaseaccountname.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/id_databaseaccountname.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/id_databaseaccountname.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/id_databasecollection.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/id_databasecollection.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/id_databasecollection.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/id_databasecollection.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/id_graph.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/id_graph.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/id_graph.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/id_graph.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/id_gremlindatabase.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/id_gremlindatabase.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/id_gremlindatabase.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/id_gremlindatabase.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/id_location.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/id_location.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/id_location.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/id_location.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/id_mongodbdatabase.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/id_mongodbdatabase.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/id_mongodbdatabase.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/id_mongodbdatabase.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/id_mongodbdatabasecollection.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/id_mongodbdatabasecollection.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/id_mongodbdatabasecollection.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/id_mongodbdatabasecollection.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/id_partitionkeyrangeid.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/id_partitionkeyrangeid.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/id_partitionkeyrangeid.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/id_partitionkeyrangeid.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/id_region.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/id_region.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/id_region.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/id_region.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/id_sourceregiontargetregion.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/id_sourceregiontargetregion.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/id_sourceregiontargetregion.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/id_sourceregiontargetregion.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/id_sqldatabase.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/id_sqldatabase.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/id_sqldatabase.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/id_sqldatabase.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/id_storedprocedure.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/id_storedprocedure.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/id_storedprocedure.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/id_storedprocedure.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/id_table.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/id_table.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/id_table.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/id_table.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/id_targetregion.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/id_targetregion.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/id_targetregion.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/id_targetregion.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/id_trigger.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/id_trigger.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/id_trigger.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/id_trigger.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/id_userdefinedfunction.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/id_userdefinedfunction.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/id_userdefinedfunction.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/id_userdefinedfunction.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_cassandraresourcescreateupdatecassandrakeyspace.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_cassandraresourcescreateupdatecassandrakeyspace.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_cassandraresourcescreateupdatecassandrakeyspace.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_cassandraresourcescreateupdatecassandrakeyspace.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_cassandraresourcescreateupdatecassandratable.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_cassandraresourcescreateupdatecassandratable.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_cassandraresourcescreateupdatecassandratable.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_cassandraresourcescreateupdatecassandratable.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_cassandraresourcesdeletecassandrakeyspace.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_cassandraresourcesdeletecassandrakeyspace.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_cassandraresourcesdeletecassandrakeyspace.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_cassandraresourcesdeletecassandrakeyspace.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_cassandraresourcesdeletecassandratable.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_cassandraresourcesdeletecassandratable.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_cassandraresourcesdeletecassandratable.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_cassandraresourcesdeletecassandratable.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_cassandraresourcesgetcassandrakeyspace.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_cassandraresourcesgetcassandrakeyspace.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_cassandraresourcesgetcassandrakeyspace.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_cassandraresourcesgetcassandrakeyspace.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_cassandraresourcesgetcassandrakeyspacethroughput.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_cassandraresourcesgetcassandrakeyspacethroughput.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_cassandraresourcesgetcassandrakeyspacethroughput.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_cassandraresourcesgetcassandrakeyspacethroughput.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_cassandraresourcesgetcassandratable.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_cassandraresourcesgetcassandratable.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_cassandraresourcesgetcassandratable.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_cassandraresourcesgetcassandratable.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_cassandraresourcesgetcassandratablethroughput.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_cassandraresourcesgetcassandratablethroughput.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_cassandraresourcesgetcassandratablethroughput.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_cassandraresourcesgetcassandratablethroughput.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_cassandraresourceslistcassandrakeyspaces.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_cassandraresourceslistcassandrakeyspaces.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_cassandraresourceslistcassandrakeyspaces.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_cassandraresourceslistcassandrakeyspaces.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_cassandraresourceslistcassandratables.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_cassandraresourceslistcassandratables.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_cassandraresourceslistcassandratables.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_cassandraresourceslistcassandratables.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_cassandraresourcesmigratecassandrakeyspacetoautoscale.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_cassandraresourcesmigratecassandrakeyspacetoautoscale.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_cassandraresourcesmigratecassandrakeyspacetoautoscale.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_cassandraresourcesmigratecassandrakeyspacetoautoscale.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_cassandraresourcesmigratecassandrakeyspacetomanualthroughput.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_cassandraresourcesmigratecassandrakeyspacetomanualthroughput.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_cassandraresourcesmigratecassandrakeyspacetomanualthroughput.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_cassandraresourcesmigratecassandrakeyspacetomanualthroughput.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_cassandraresourcesmigratecassandratabletoautoscale.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_cassandraresourcesmigratecassandratabletoautoscale.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_cassandraresourcesmigratecassandratabletoautoscale.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_cassandraresourcesmigratecassandratabletoautoscale.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_cassandraresourcesmigratecassandratabletomanualthroughput.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_cassandraresourcesmigratecassandratabletomanualthroughput.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_cassandraresourcesmigratecassandratabletomanualthroughput.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_cassandraresourcesmigratecassandratabletomanualthroughput.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_cassandraresourcesupdatecassandrakeyspacethroughput.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_cassandraresourcesupdatecassandrakeyspacethroughput.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_cassandraresourcesupdatecassandrakeyspacethroughput.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_cassandraresourcesupdatecassandrakeyspacethroughput.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_cassandraresourcesupdatecassandratablethroughput.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_cassandraresourcesupdatecassandratablethroughput.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_cassandraresourcesupdatecassandratablethroughput.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_cassandraresourcesupdatecassandratablethroughput.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_collectionlistmetricdefinitions.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_collectionlistmetricdefinitions.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_collectionlistmetricdefinitions.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_collectionlistmetricdefinitions.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_collectionlistmetrics.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_collectionlistmetrics.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_collectionlistmetrics.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_collectionlistmetrics.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_collectionlistusages.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_collectionlistusages.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_collectionlistusages.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_collectionlistusages.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_collectionpartitionlistmetrics.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_collectionpartitionlistmetrics.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_collectionpartitionlistmetrics.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_collectionpartitionlistmetrics.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_collectionpartitionlistusages.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_collectionpartitionlistusages.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_collectionpartitionlistusages.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_collectionpartitionlistusages.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_collectionpartitionregionlistmetrics.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_collectionpartitionregionlistmetrics.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_collectionpartitionregionlistmetrics.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_collectionpartitionregionlistmetrics.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_collectionregionlistmetrics.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_collectionregionlistmetrics.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_collectionregionlistmetrics.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_collectionregionlistmetrics.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_databaseaccountregionlistmetrics.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_databaseaccountregionlistmetrics.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_databaseaccountregionlistmetrics.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_databaseaccountregionlistmetrics.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_databaseaccountschecknameexists.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_databaseaccountschecknameexists.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_databaseaccountschecknameexists.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_databaseaccountschecknameexists.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_databaseaccountscreateorupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_databaseaccountscreateorupdate.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_databaseaccountscreateorupdate.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_databaseaccountscreateorupdate.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_databaseaccountsdelete.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_databaseaccountsdelete.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_databaseaccountsdelete.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_databaseaccountsdelete.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_databaseaccountsfailoverprioritychange.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_databaseaccountsfailoverprioritychange.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_databaseaccountsfailoverprioritychange.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_databaseaccountsfailoverprioritychange.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_databaseaccountsget.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_databaseaccountsget.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_databaseaccountsget.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_databaseaccountsget.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_databaseaccountsgetreadonlykeys.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_databaseaccountsgetreadonlykeys.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_databaseaccountsgetreadonlykeys.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_databaseaccountsgetreadonlykeys.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_databaseaccountslist.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_databaseaccountslist.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_databaseaccountslist.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_databaseaccountslist.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_databaseaccountslistbyresourcegroup.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_databaseaccountslistbyresourcegroup.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_databaseaccountslistbyresourcegroup.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_databaseaccountslistbyresourcegroup.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_databaseaccountslistconnectionstrings.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_databaseaccountslistconnectionstrings.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_databaseaccountslistconnectionstrings.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_databaseaccountslistconnectionstrings.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_databaseaccountslistkeys.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_databaseaccountslistkeys.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_databaseaccountslistkeys.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_databaseaccountslistkeys.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_databaseaccountslistmetricdefinitions.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_databaseaccountslistmetricdefinitions.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_databaseaccountslistmetricdefinitions.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_databaseaccountslistmetricdefinitions.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_databaseaccountslistmetrics.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_databaseaccountslistmetrics.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_databaseaccountslistmetrics.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_databaseaccountslistmetrics.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_databaseaccountslistreadonlykeys.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_databaseaccountslistreadonlykeys.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_databaseaccountslistreadonlykeys.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_databaseaccountslistreadonlykeys.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_databaseaccountslistusages.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_databaseaccountslistusages.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_databaseaccountslistusages.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_databaseaccountslistusages.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_databaseaccountsofflineregion.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_databaseaccountsofflineregion.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_databaseaccountsofflineregion.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_databaseaccountsofflineregion.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_databaseaccountsonlineregion.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_databaseaccountsonlineregion.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_databaseaccountsonlineregion.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_databaseaccountsonlineregion.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_databaseaccountsregeneratekey.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_databaseaccountsregeneratekey.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_databaseaccountsregeneratekey.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_databaseaccountsregeneratekey.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_databaseaccountsupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_databaseaccountsupdate.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_databaseaccountsupdate.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_databaseaccountsupdate.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_databaselistmetricdefinitions.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_databaselistmetricdefinitions.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_databaselistmetricdefinitions.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_databaselistmetricdefinitions.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_databaselistmetrics.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_databaselistmetrics.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_databaselistmetrics.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_databaselistmetrics.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_databaselistusages.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_databaselistusages.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_databaselistusages.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_databaselistusages.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_gremlinresourcescreateupdategremlindatabase.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_gremlinresourcescreateupdategremlindatabase.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_gremlinresourcescreateupdategremlindatabase.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_gremlinresourcescreateupdategremlindatabase.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_gremlinresourcescreateupdategremlingraph.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_gremlinresourcescreateupdategremlingraph.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_gremlinresourcescreateupdategremlingraph.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_gremlinresourcescreateupdategremlingraph.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_gremlinresourcesdeletegremlindatabase.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_gremlinresourcesdeletegremlindatabase.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_gremlinresourcesdeletegremlindatabase.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_gremlinresourcesdeletegremlindatabase.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_gremlinresourcesdeletegremlingraph.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_gremlinresourcesdeletegremlingraph.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_gremlinresourcesdeletegremlingraph.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_gremlinresourcesdeletegremlingraph.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_gremlinresourcesgetgremlindatabase.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_gremlinresourcesgetgremlindatabase.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_gremlinresourcesgetgremlindatabase.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_gremlinresourcesgetgremlindatabase.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_gremlinresourcesgetgremlindatabasethroughput.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_gremlinresourcesgetgremlindatabasethroughput.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_gremlinresourcesgetgremlindatabasethroughput.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_gremlinresourcesgetgremlindatabasethroughput.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_gremlinresourcesgetgremlingraph.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_gremlinresourcesgetgremlingraph.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_gremlinresourcesgetgremlingraph.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_gremlinresourcesgetgremlingraph.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_gremlinresourcesgetgremlingraphthroughput.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_gremlinresourcesgetgremlingraphthroughput.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_gremlinresourcesgetgremlingraphthroughput.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_gremlinresourcesgetgremlingraphthroughput.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_gremlinresourceslistgremlindatabases.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_gremlinresourceslistgremlindatabases.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_gremlinresourceslistgremlindatabases.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_gremlinresourceslistgremlindatabases.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_gremlinresourceslistgremlingraphs.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_gremlinresourceslistgremlingraphs.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_gremlinresourceslistgremlingraphs.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_gremlinresourceslistgremlingraphs.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_gremlinresourcesmigrategremlindatabasetoautoscale.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_gremlinresourcesmigrategremlindatabasetoautoscale.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_gremlinresourcesmigrategremlindatabasetoautoscale.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_gremlinresourcesmigrategremlindatabasetoautoscale.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_gremlinresourcesmigrategremlindatabasetomanualthroughput.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_gremlinresourcesmigrategremlindatabasetomanualthroughput.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_gremlinresourcesmigrategremlindatabasetomanualthroughput.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_gremlinresourcesmigrategremlindatabasetomanualthroughput.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_gremlinresourcesmigrategremlingraphtoautoscale.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_gremlinresourcesmigrategremlingraphtoautoscale.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_gremlinresourcesmigrategremlingraphtoautoscale.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_gremlinresourcesmigrategremlingraphtoautoscale.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_gremlinresourcesmigrategremlingraphtomanualthroughput.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_gremlinresourcesmigrategremlingraphtomanualthroughput.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_gremlinresourcesmigrategremlingraphtomanualthroughput.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_gremlinresourcesmigrategremlingraphtomanualthroughput.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_gremlinresourcesupdategremlindatabasethroughput.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_gremlinresourcesupdategremlindatabasethroughput.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_gremlinresourcesupdategremlindatabasethroughput.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_gremlinresourcesupdategremlindatabasethroughput.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_gremlinresourcesupdategremlingraphthroughput.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_gremlinresourcesupdategremlingraphthroughput.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_gremlinresourcesupdategremlingraphthroughput.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_gremlinresourcesupdategremlingraphthroughput.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_locationsget.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_locationsget.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_locationsget.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_locationsget.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_locationslist.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_locationslist.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_locationslist.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_locationslist.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_mongodbresourcescreateupdatemongodbcollection.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_mongodbresourcescreateupdatemongodbcollection.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_mongodbresourcescreateupdatemongodbcollection.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_mongodbresourcescreateupdatemongodbcollection.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_mongodbresourcescreateupdatemongodbdatabase.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_mongodbresourcescreateupdatemongodbdatabase.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_mongodbresourcescreateupdatemongodbdatabase.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_mongodbresourcescreateupdatemongodbdatabase.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_mongodbresourcesdeletemongodbcollection.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_mongodbresourcesdeletemongodbcollection.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_mongodbresourcesdeletemongodbcollection.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_mongodbresourcesdeletemongodbcollection.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_mongodbresourcesdeletemongodbdatabase.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_mongodbresourcesdeletemongodbdatabase.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_mongodbresourcesdeletemongodbdatabase.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_mongodbresourcesdeletemongodbdatabase.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_mongodbresourcesgetmongodbcollection.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_mongodbresourcesgetmongodbcollection.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_mongodbresourcesgetmongodbcollection.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_mongodbresourcesgetmongodbcollection.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_mongodbresourcesgetmongodbcollectionthroughput.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_mongodbresourcesgetmongodbcollectionthroughput.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_mongodbresourcesgetmongodbcollectionthroughput.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_mongodbresourcesgetmongodbcollectionthroughput.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_mongodbresourcesgetmongodbdatabase.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_mongodbresourcesgetmongodbdatabase.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_mongodbresourcesgetmongodbdatabase.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_mongodbresourcesgetmongodbdatabase.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_mongodbresourcesgetmongodbdatabasethroughput.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_mongodbresourcesgetmongodbdatabasethroughput.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_mongodbresourcesgetmongodbdatabasethroughput.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_mongodbresourcesgetmongodbdatabasethroughput.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_mongodbresourceslistmongodbcollections.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_mongodbresourceslistmongodbcollections.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_mongodbresourceslistmongodbcollections.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_mongodbresourceslistmongodbcollections.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_mongodbresourceslistmongodbdatabases.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_mongodbresourceslistmongodbdatabases.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_mongodbresourceslistmongodbdatabases.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_mongodbresourceslistmongodbdatabases.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_mongodbresourcesmigratemongodbcollectiontoautoscale.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_mongodbresourcesmigratemongodbcollectiontoautoscale.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_mongodbresourcesmigratemongodbcollectiontoautoscale.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_mongodbresourcesmigratemongodbcollectiontoautoscale.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_mongodbresourcesmigratemongodbcollectiontomanualthroughput.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_mongodbresourcesmigratemongodbcollectiontomanualthroughput.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_mongodbresourcesmigratemongodbcollectiontomanualthroughput.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_mongodbresourcesmigratemongodbcollectiontomanualthroughput.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_mongodbresourcesmigratemongodbdatabasetoautoscale.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_mongodbresourcesmigratemongodbdatabasetoautoscale.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_mongodbresourcesmigratemongodbdatabasetoautoscale.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_mongodbresourcesmigratemongodbdatabasetoautoscale.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_mongodbresourcesmigratemongodbdatabasetomanualthroughput.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_mongodbresourcesmigratemongodbdatabasetomanualthroughput.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_mongodbresourcesmigratemongodbdatabasetomanualthroughput.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_mongodbresourcesmigratemongodbdatabasetomanualthroughput.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_mongodbresourcesupdatemongodbcollectionthroughput.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_mongodbresourcesupdatemongodbcollectionthroughput.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_mongodbresourcesupdatemongodbcollectionthroughput.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_mongodbresourcesupdatemongodbcollectionthroughput.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_mongodbresourcesupdatemongodbdatabasethroughput.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_mongodbresourcesupdatemongodbdatabasethroughput.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_mongodbresourcesupdatemongodbdatabasethroughput.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_mongodbresourcesupdatemongodbdatabasethroughput.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_partitionkeyrangeidlistmetrics.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_partitionkeyrangeidlistmetrics.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_partitionkeyrangeidlistmetrics.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_partitionkeyrangeidlistmetrics.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_partitionkeyrangeidregionlistmetrics.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_partitionkeyrangeidregionlistmetrics.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_partitionkeyrangeidregionlistmetrics.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_partitionkeyrangeidregionlistmetrics.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_percentilelistmetrics.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_percentilelistmetrics.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_percentilelistmetrics.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_percentilelistmetrics.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_percentilesourcetargetlistmetrics.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_percentilesourcetargetlistmetrics.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_percentilesourcetargetlistmetrics.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_percentilesourcetargetlistmetrics.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_percentiletargetlistmetrics.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_percentiletargetlistmetrics.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_percentiletargetlistmetrics.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_percentiletargetlistmetrics.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_sqlresourcescreateupdateclientencryptionkey.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_sqlresourcescreateupdateclientencryptionkey.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_sqlresourcescreateupdateclientencryptionkey.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_sqlresourcescreateupdateclientencryptionkey.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_sqlresourcescreateupdatesqlcontainer.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_sqlresourcescreateupdatesqlcontainer.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_sqlresourcescreateupdatesqlcontainer.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_sqlresourcescreateupdatesqlcontainer.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_sqlresourcescreateupdatesqldatabase.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_sqlresourcescreateupdatesqldatabase.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_sqlresourcescreateupdatesqldatabase.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_sqlresourcescreateupdatesqldatabase.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_sqlresourcescreateupdatesqlstoredprocedure.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_sqlresourcescreateupdatesqlstoredprocedure.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_sqlresourcescreateupdatesqlstoredprocedure.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_sqlresourcescreateupdatesqlstoredprocedure.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_sqlresourcescreateupdatesqltrigger.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_sqlresourcescreateupdatesqltrigger.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_sqlresourcescreateupdatesqltrigger.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_sqlresourcescreateupdatesqltrigger.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_sqlresourcescreateupdatesqluserdefinedfunction.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_sqlresourcescreateupdatesqluserdefinedfunction.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_sqlresourcescreateupdatesqluserdefinedfunction.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_sqlresourcescreateupdatesqluserdefinedfunction.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_sqlresourcesdeletesqlcontainer.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_sqlresourcesdeletesqlcontainer.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_sqlresourcesdeletesqlcontainer.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_sqlresourcesdeletesqlcontainer.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_sqlresourcesdeletesqldatabase.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_sqlresourcesdeletesqldatabase.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_sqlresourcesdeletesqldatabase.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_sqlresourcesdeletesqldatabase.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_sqlresourcesdeletesqlstoredprocedure.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_sqlresourcesdeletesqlstoredprocedure.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_sqlresourcesdeletesqlstoredprocedure.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_sqlresourcesdeletesqlstoredprocedure.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_sqlresourcesdeletesqltrigger.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_sqlresourcesdeletesqltrigger.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_sqlresourcesdeletesqltrigger.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_sqlresourcesdeletesqltrigger.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_sqlresourcesdeletesqluserdefinedfunction.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_sqlresourcesdeletesqluserdefinedfunction.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_sqlresourcesdeletesqluserdefinedfunction.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_sqlresourcesdeletesqluserdefinedfunction.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_sqlresourcesgetclientencryptionkey.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_sqlresourcesgetclientencryptionkey.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_sqlresourcesgetclientencryptionkey.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_sqlresourcesgetclientencryptionkey.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_sqlresourcesgetsqlcontainer.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_sqlresourcesgetsqlcontainer.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_sqlresourcesgetsqlcontainer.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_sqlresourcesgetsqlcontainer.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_sqlresourcesgetsqlcontainerthroughput.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_sqlresourcesgetsqlcontainerthroughput.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_sqlresourcesgetsqlcontainerthroughput.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_sqlresourcesgetsqlcontainerthroughput.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_sqlresourcesgetsqldatabase.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_sqlresourcesgetsqldatabase.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_sqlresourcesgetsqldatabase.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_sqlresourcesgetsqldatabase.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_sqlresourcesgetsqldatabasethroughput.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_sqlresourcesgetsqldatabasethroughput.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_sqlresourcesgetsqldatabasethroughput.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_sqlresourcesgetsqldatabasethroughput.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_sqlresourcesgetsqlstoredprocedure.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_sqlresourcesgetsqlstoredprocedure.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_sqlresourcesgetsqlstoredprocedure.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_sqlresourcesgetsqlstoredprocedure.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_sqlresourcesgetsqltrigger.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_sqlresourcesgetsqltrigger.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_sqlresourcesgetsqltrigger.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_sqlresourcesgetsqltrigger.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_sqlresourcesgetsqluserdefinedfunction.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_sqlresourcesgetsqluserdefinedfunction.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_sqlresourcesgetsqluserdefinedfunction.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_sqlresourcesgetsqluserdefinedfunction.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_sqlresourceslistclientencryptionkeys.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_sqlresourceslistclientencryptionkeys.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_sqlresourceslistclientencryptionkeys.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_sqlresourceslistclientencryptionkeys.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_sqlresourceslistsqlcontainers.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_sqlresourceslistsqlcontainers.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_sqlresourceslistsqlcontainers.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_sqlresourceslistsqlcontainers.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_sqlresourceslistsqldatabases.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_sqlresourceslistsqldatabases.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_sqlresourceslistsqldatabases.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_sqlresourceslistsqldatabases.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_sqlresourceslistsqlstoredprocedures.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_sqlresourceslistsqlstoredprocedures.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_sqlresourceslistsqlstoredprocedures.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_sqlresourceslistsqlstoredprocedures.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_sqlresourceslistsqltriggers.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_sqlresourceslistsqltriggers.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_sqlresourceslistsqltriggers.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_sqlresourceslistsqltriggers.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_sqlresourceslistsqluserdefinedfunctions.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_sqlresourceslistsqluserdefinedfunctions.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_sqlresourceslistsqluserdefinedfunctions.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_sqlresourceslistsqluserdefinedfunctions.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_sqlresourcesmigratesqlcontainertoautoscale.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_sqlresourcesmigratesqlcontainertoautoscale.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_sqlresourcesmigratesqlcontainertoautoscale.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_sqlresourcesmigratesqlcontainertoautoscale.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_sqlresourcesmigratesqlcontainertomanualthroughput.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_sqlresourcesmigratesqlcontainertomanualthroughput.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_sqlresourcesmigratesqlcontainertomanualthroughput.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_sqlresourcesmigratesqlcontainertomanualthroughput.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_sqlresourcesmigratesqldatabasetoautoscale.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_sqlresourcesmigratesqldatabasetoautoscale.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_sqlresourcesmigratesqldatabasetoautoscale.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_sqlresourcesmigratesqldatabasetoautoscale.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_sqlresourcesmigratesqldatabasetomanualthroughput.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_sqlresourcesmigratesqldatabasetomanualthroughput.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_sqlresourcesmigratesqldatabasetomanualthroughput.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_sqlresourcesmigratesqldatabasetomanualthroughput.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_sqlresourcesupdatesqlcontainerthroughput.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_sqlresourcesupdatesqlcontainerthroughput.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_sqlresourcesupdatesqlcontainerthroughput.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_sqlresourcesupdatesqlcontainerthroughput.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_sqlresourcesupdatesqldatabasethroughput.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_sqlresourcesupdatesqldatabasethroughput.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_sqlresourcesupdatesqldatabasethroughput.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_sqlresourcesupdatesqldatabasethroughput.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_tableresourcescreateupdatetable.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_tableresourcescreateupdatetable.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_tableresourcescreateupdatetable.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_tableresourcescreateupdatetable.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_tableresourcesdeletetable.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_tableresourcesdeletetable.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_tableresourcesdeletetable.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_tableresourcesdeletetable.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_tableresourcesgettable.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_tableresourcesgettable.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_tableresourcesgettable.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_tableresourcesgettable.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_tableresourcesgettablethroughput.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_tableresourcesgettablethroughput.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_tableresourcesgettablethroughput.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_tableresourcesgettablethroughput.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_tableresourceslisttables.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_tableresourceslisttables.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_tableresourceslisttables.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_tableresourceslisttables.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_tableresourcesmigratetabletoautoscale.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_tableresourcesmigratetabletoautoscale.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_tableresourcesmigratetabletoautoscale.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_tableresourcesmigratetabletoautoscale.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_tableresourcesmigratetabletomanualthroughput.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_tableresourcesmigratetabletomanualthroughput.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_tableresourcesmigratetabletomanualthroughput.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_tableresourcesmigratetabletomanualthroughput.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_tableresourcesupdatetablethroughput.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_tableresourcesupdatetablethroughput.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/method_tableresourcesupdatetablethroughput.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/method_tableresourcesupdatetablethroughput.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_accountkeymetadata.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_accountkeymetadata.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_accountkeymetadata.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_accountkeymetadata.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_analyticalstorageconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_analyticalstorageconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_analyticalstorageconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_analyticalstorageconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_apiproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_apiproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_apiproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_apiproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_autoscalesettings.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_autoscalesettings.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_autoscalesettings.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_autoscalesettings.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_autoscalesettingsresource.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_autoscalesettingsresource.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_autoscalesettingsresource.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_autoscalesettingsresource.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_autoupgradepolicyresource.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_autoupgradepolicyresource.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_autoupgradepolicyresource.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_autoupgradepolicyresource.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_backuppolicy.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_backuppolicy.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_backuppolicy.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_backuppolicy.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_backuppolicymigrationstate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_backuppolicymigrationstate.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_backuppolicymigrationstate.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_backuppolicymigrationstate.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_capability.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_capability.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_capability.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_capability.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_capacity.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_capacity.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_capacity.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_capacity.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_cassandrakeyspacecreateupdateparameters.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_cassandrakeyspacecreateupdateparameters.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_cassandrakeyspacecreateupdateparameters.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_cassandrakeyspacecreateupdateparameters.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_cassandrakeyspacecreateupdateproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_cassandrakeyspacecreateupdateproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_cassandrakeyspacecreateupdateproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_cassandrakeyspacecreateupdateproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_cassandrakeyspacegetproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_cassandrakeyspacegetproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_cassandrakeyspacegetproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_cassandrakeyspacegetproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_cassandrakeyspacegetpropertiesresource.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_cassandrakeyspacegetpropertiesresource.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_cassandrakeyspacegetpropertiesresource.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_cassandrakeyspacegetpropertiesresource.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_cassandrakeyspacegetresults.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_cassandrakeyspacegetresults.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_cassandrakeyspacegetresults.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_cassandrakeyspacegetresults.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_cassandrakeyspacelistresult.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_cassandrakeyspacelistresult.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_cassandrakeyspacelistresult.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_cassandrakeyspacelistresult.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_cassandrakeyspaceresource.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_cassandrakeyspaceresource.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_cassandrakeyspaceresource.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_cassandrakeyspaceresource.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_cassandrapartitionkey.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_cassandrapartitionkey.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_cassandrapartitionkey.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_cassandrapartitionkey.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_cassandraschema.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_cassandraschema.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_cassandraschema.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_cassandraschema.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_cassandratablecreateupdateparameters.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_cassandratablecreateupdateparameters.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_cassandratablecreateupdateparameters.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_cassandratablecreateupdateparameters.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_cassandratablecreateupdateproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_cassandratablecreateupdateproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_cassandratablecreateupdateproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_cassandratablecreateupdateproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_cassandratablegetproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_cassandratablegetproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_cassandratablegetproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_cassandratablegetproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_cassandratablegetpropertiesresource.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_cassandratablegetpropertiesresource.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_cassandratablegetpropertiesresource.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_cassandratablegetpropertiesresource.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_cassandratablegetresults.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_cassandratablegetresults.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_cassandratablegetresults.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_cassandratablegetresults.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_cassandratablelistresult.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_cassandratablelistresult.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_cassandratablelistresult.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_cassandratablelistresult.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_cassandratableresource.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_cassandratableresource.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_cassandratableresource.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_cassandratableresource.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_clientencryptionincludedpath.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_clientencryptionincludedpath.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_clientencryptionincludedpath.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_clientencryptionincludedpath.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_clientencryptionkeycreateupdateparameters.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_clientencryptionkeycreateupdateparameters.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_clientencryptionkeycreateupdateparameters.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_clientencryptionkeycreateupdateparameters.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_clientencryptionkeycreateupdateproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_clientencryptionkeycreateupdateproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_clientencryptionkeycreateupdateproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_clientencryptionkeycreateupdateproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_clientencryptionkeygetproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_clientencryptionkeygetproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_clientencryptionkeygetproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_clientencryptionkeygetproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_clientencryptionkeygetpropertiesresource.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_clientencryptionkeygetpropertiesresource.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_clientencryptionkeygetpropertiesresource.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_clientencryptionkeygetpropertiesresource.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_clientencryptionkeygetresults.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_clientencryptionkeygetresults.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_clientencryptionkeygetresults.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_clientencryptionkeygetresults.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_clientencryptionkeyresource.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_clientencryptionkeyresource.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_clientencryptionkeyresource.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_clientencryptionkeyresource.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_clientencryptionkeyslistresult.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_clientencryptionkeyslistresult.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_clientencryptionkeyslistresult.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_clientencryptionkeyslistresult.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_clientencryptionpolicy.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_clientencryptionpolicy.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_clientencryptionpolicy.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_clientencryptionpolicy.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_clusterkey.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_clusterkey.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_clusterkey.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_clusterkey.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_column.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_column.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_column.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_column.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_compositepath.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_compositepath.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_compositepath.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_compositepath.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_computedproperty.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_computedproperty.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_computedproperty.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_computedproperty.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_conflictresolutionpolicy.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_conflictresolutionpolicy.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_conflictresolutionpolicy.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_conflictresolutionpolicy.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_consistencypolicy.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_consistencypolicy.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_consistencypolicy.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_consistencypolicy.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_containerpartitionkey.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_containerpartitionkey.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_containerpartitionkey.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_containerpartitionkey.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_continuousmodebackuppolicy.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_continuousmodebackuppolicy.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_continuousmodebackuppolicy.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_continuousmodebackuppolicy.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_continuousmodeproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_continuousmodeproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_continuousmodeproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_continuousmodeproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_corspolicy.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_corspolicy.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_corspolicy.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_corspolicy.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_createupdateoptions.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_createupdateoptions.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_createupdateoptions.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_createupdateoptions.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_databaseaccountconnectionstring.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_databaseaccountconnectionstring.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_databaseaccountconnectionstring.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_databaseaccountconnectionstring.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_databaseaccountcreateupdateparameters.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_databaseaccountcreateupdateparameters.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_databaseaccountcreateupdateparameters.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_databaseaccountcreateupdateparameters.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_databaseaccountcreateupdateproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_databaseaccountcreateupdateproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_databaseaccountcreateupdateproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_databaseaccountcreateupdateproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_databaseaccountgetproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_databaseaccountgetproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_databaseaccountgetproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_databaseaccountgetproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_databaseaccountgetresults.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_databaseaccountgetresults.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_databaseaccountgetresults.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_databaseaccountgetresults.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_databaseaccountkeysmetadata.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_databaseaccountkeysmetadata.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_databaseaccountkeysmetadata.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_databaseaccountkeysmetadata.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_databaseaccountlistconnectionstringsresult.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_databaseaccountlistconnectionstringsresult.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_databaseaccountlistconnectionstringsresult.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_databaseaccountlistconnectionstringsresult.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_databaseaccountlistkeysresult.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_databaseaccountlistkeysresult.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_databaseaccountlistkeysresult.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_databaseaccountlistkeysresult.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_databaseaccountlistreadonlykeysresult.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_databaseaccountlistreadonlykeysresult.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_databaseaccountlistreadonlykeysresult.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_databaseaccountlistreadonlykeysresult.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_databaseaccountregeneratekeyparameters.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_databaseaccountregeneratekeyparameters.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_databaseaccountregeneratekeyparameters.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_databaseaccountregeneratekeyparameters.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_databaseaccountslistresult.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_databaseaccountslistresult.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_databaseaccountslistresult.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_databaseaccountslistresult.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_databaseaccountupdateparameters.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_databaseaccountupdateparameters.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_databaseaccountupdateparameters.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_databaseaccountupdateparameters.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_databaseaccountupdateproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_databaseaccountupdateproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_databaseaccountupdateproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_databaseaccountupdateproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_databaserestoreresource.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_databaserestoreresource.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_databaserestoreresource.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_databaserestoreresource.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_excludedpath.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_excludedpath.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_excludedpath.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_excludedpath.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_failoverpolicies.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_failoverpolicies.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_failoverpolicies.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_failoverpolicies.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_failoverpolicy.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_failoverpolicy.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_failoverpolicy.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_failoverpolicy.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_gremlindatabasecreateupdateparameters.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_gremlindatabasecreateupdateparameters.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_gremlindatabasecreateupdateparameters.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_gremlindatabasecreateupdateparameters.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_gremlindatabasecreateupdateproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_gremlindatabasecreateupdateproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_gremlindatabasecreateupdateproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_gremlindatabasecreateupdateproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_gremlindatabasegetproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_gremlindatabasegetproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_gremlindatabasegetproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_gremlindatabasegetproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_gremlindatabasegetpropertiesresource.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_gremlindatabasegetpropertiesresource.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_gremlindatabasegetpropertiesresource.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_gremlindatabasegetpropertiesresource.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_gremlindatabasegetresults.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_gremlindatabasegetresults.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_gremlindatabasegetresults.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_gremlindatabasegetresults.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_gremlindatabaselistresult.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_gremlindatabaselistresult.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_gremlindatabaselistresult.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_gremlindatabaselistresult.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_gremlindatabaseresource.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_gremlindatabaseresource.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_gremlindatabaseresource.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_gremlindatabaseresource.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_gremlindatabaserestoreresource.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_gremlindatabaserestoreresource.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_gremlindatabaserestoreresource.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_gremlindatabaserestoreresource.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_gremlingraphcreateupdateparameters.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_gremlingraphcreateupdateparameters.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_gremlingraphcreateupdateparameters.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_gremlingraphcreateupdateparameters.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_gremlingraphcreateupdateproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_gremlingraphcreateupdateproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_gremlingraphcreateupdateproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_gremlingraphcreateupdateproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_gremlingraphgetproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_gremlingraphgetproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_gremlingraphgetproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_gremlingraphgetproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_gremlingraphgetpropertiesresource.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_gremlingraphgetpropertiesresource.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_gremlingraphgetpropertiesresource.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_gremlingraphgetpropertiesresource.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_gremlingraphgetresults.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_gremlingraphgetresults.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_gremlingraphgetresults.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_gremlingraphgetresults.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_gremlingraphlistresult.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_gremlingraphlistresult.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_gremlingraphlistresult.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_gremlingraphlistresult.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_gremlingraphresource.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_gremlingraphresource.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_gremlingraphresource.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_gremlingraphresource.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_includedpath.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_includedpath.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_includedpath.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_includedpath.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_indexes.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_indexes.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_indexes.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_indexes.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_indexingpolicy.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_indexingpolicy.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_indexingpolicy.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_indexingpolicy.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_ipaddressorrange.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_ipaddressorrange.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_ipaddressorrange.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_ipaddressorrange.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_keywrapmetadata.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_keywrapmetadata.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_keywrapmetadata.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_keywrapmetadata.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_location.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_location.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_location.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_location.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_locationgetresult.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_locationgetresult.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_locationgetresult.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_locationgetresult.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_locationlistresult.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_locationlistresult.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_locationlistresult.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_locationlistresult.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_locationproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_locationproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_locationproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_locationproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_metric.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_metric.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_metric.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_metric.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_metricavailability.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_metricavailability.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_metricavailability.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_metricavailability.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_metricdefinition.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_metricdefinition.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_metricdefinition.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_metricdefinition.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_metricdefinitionslistresult.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_metricdefinitionslistresult.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_metricdefinitionslistresult.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_metricdefinitionslistresult.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_metriclistresult.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_metriclistresult.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_metriclistresult.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_metriclistresult.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_metricname.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_metricname.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_metricname.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_metricname.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_metricvalue.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_metricvalue.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_metricvalue.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_metricvalue.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_mongodbcollectioncreateupdateparameters.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_mongodbcollectioncreateupdateparameters.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_mongodbcollectioncreateupdateparameters.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_mongodbcollectioncreateupdateparameters.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_mongodbcollectioncreateupdateproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_mongodbcollectioncreateupdateproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_mongodbcollectioncreateupdateproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_mongodbcollectioncreateupdateproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_mongodbcollectiongetproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_mongodbcollectiongetproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_mongodbcollectiongetproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_mongodbcollectiongetproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_mongodbcollectiongetpropertiesresource.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_mongodbcollectiongetpropertiesresource.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_mongodbcollectiongetpropertiesresource.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_mongodbcollectiongetpropertiesresource.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_mongodbcollectiongetresults.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_mongodbcollectiongetresults.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_mongodbcollectiongetresults.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_mongodbcollectiongetresults.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_mongodbcollectionlistresult.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_mongodbcollectionlistresult.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_mongodbcollectionlistresult.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_mongodbcollectionlistresult.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_mongodbcollectionresource.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_mongodbcollectionresource.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_mongodbcollectionresource.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_mongodbcollectionresource.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_mongodbdatabasecreateupdateparameters.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_mongodbdatabasecreateupdateparameters.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_mongodbdatabasecreateupdateparameters.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_mongodbdatabasecreateupdateparameters.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_mongodbdatabasecreateupdateproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_mongodbdatabasecreateupdateproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_mongodbdatabasecreateupdateproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_mongodbdatabasecreateupdateproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_mongodbdatabasegetproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_mongodbdatabasegetproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_mongodbdatabasegetproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_mongodbdatabasegetproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_mongodbdatabasegetpropertiesresource.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_mongodbdatabasegetpropertiesresource.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_mongodbdatabasegetpropertiesresource.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_mongodbdatabasegetpropertiesresource.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_mongodbdatabasegetresults.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_mongodbdatabasegetresults.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_mongodbdatabasegetresults.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_mongodbdatabasegetresults.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_mongodbdatabaselistresult.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_mongodbdatabaselistresult.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_mongodbdatabaselistresult.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_mongodbdatabaselistresult.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_mongodbdatabaseresource.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_mongodbdatabaseresource.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_mongodbdatabaseresource.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_mongodbdatabaseresource.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_mongoindex.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_mongoindex.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_mongoindex.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_mongoindex.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_mongoindexkeys.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_mongoindexkeys.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_mongoindexkeys.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_mongoindexkeys.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_mongoindexoptions.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_mongoindexoptions.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_mongoindexoptions.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_mongoindexoptions.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_optionsresource.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_optionsresource.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_optionsresource.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_optionsresource.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_partitionmetric.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_partitionmetric.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_partitionmetric.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_partitionmetric.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_partitionmetriclistresult.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_partitionmetriclistresult.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_partitionmetriclistresult.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_partitionmetriclistresult.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_partitionusage.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_partitionusage.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_partitionusage.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_partitionusage.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_partitionusagesresult.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_partitionusagesresult.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_partitionusagesresult.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_partitionusagesresult.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_percentilemetric.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_percentilemetric.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_percentilemetric.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_percentilemetric.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_percentilemetriclistresult.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_percentilemetriclistresult.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_percentilemetriclistresult.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_percentilemetriclistresult.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_percentilemetricvalue.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_percentilemetricvalue.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_percentilemetricvalue.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_percentilemetricvalue.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_periodicmodebackuppolicy.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_periodicmodebackuppolicy.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_periodicmodebackuppolicy.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_periodicmodebackuppolicy.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_periodicmodeproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_periodicmodeproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_periodicmodeproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_periodicmodeproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_privateendpointconnection.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_privateendpointconnection.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_privateendpointconnection.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_privateendpointconnection.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_privateendpointconnectionproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_privateendpointconnectionproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_privateendpointconnectionproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_privateendpointconnectionproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_privateendpointproperty.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_privateendpointproperty.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_privateendpointproperty.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_privateendpointproperty.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_privatelinkserviceconnectionstateproperty.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_privatelinkserviceconnectionstateproperty.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_privatelinkserviceconnectionstateproperty.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_privatelinkserviceconnectionstateproperty.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_regionforonlineoffline.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_regionforonlineoffline.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_regionforonlineoffline.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_regionforonlineoffline.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_restoreparameters.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_restoreparameters.go similarity index 92% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_restoreparameters.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_restoreparameters.go index 84373f463d7b..8d67489faa93 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_restoreparameters.go +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_restoreparameters.go @@ -15,6 +15,7 @@ type RestoreParameters struct { RestoreMode *RestoreMode `json:"restoreMode,omitempty"` RestoreSource *string `json:"restoreSource,omitempty"` RestoreTimestampInUtc *string `json:"restoreTimestampInUtc,omitempty"` + RestoreWithTtlDisabled *bool `json:"restoreWithTtlDisabled,omitempty"` TablesToRestore *[]string `json:"tablesToRestore,omitempty"` } diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_restoreparametersbase.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_restoreparametersbase.go similarity index 76% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_restoreparametersbase.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_restoreparametersbase.go index b612a1bbfe1c..d30970008722 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_restoreparametersbase.go +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_restoreparametersbase.go @@ -10,8 +10,9 @@ import ( // Licensed under the MIT License. See NOTICE.txt in the project root for license information. type RestoreParametersBase struct { - RestoreSource *string `json:"restoreSource,omitempty"` - RestoreTimestampInUtc *string `json:"restoreTimestampInUtc,omitempty"` + RestoreSource *string `json:"restoreSource,omitempty"` + RestoreTimestampInUtc *string `json:"restoreTimestampInUtc,omitempty"` + RestoreWithTtlDisabled *bool `json:"restoreWithTtlDisabled,omitempty"` } func (o *RestoreParametersBase) GetRestoreTimestampInUtcAsTime() (*time.Time, error) { diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_spatialspec.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_spatialspec.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_spatialspec.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_spatialspec.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_sqlcontainercreateupdateparameters.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_sqlcontainercreateupdateparameters.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_sqlcontainercreateupdateparameters.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_sqlcontainercreateupdateparameters.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_sqlcontainercreateupdateproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_sqlcontainercreateupdateproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_sqlcontainercreateupdateproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_sqlcontainercreateupdateproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_sqlcontainergetproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_sqlcontainergetproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_sqlcontainergetproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_sqlcontainergetproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_sqlcontainergetpropertiesresource.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_sqlcontainergetpropertiesresource.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_sqlcontainergetpropertiesresource.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_sqlcontainergetpropertiesresource.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_sqlcontainergetresults.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_sqlcontainergetresults.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_sqlcontainergetresults.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_sqlcontainergetresults.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_sqlcontainerlistresult.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_sqlcontainerlistresult.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_sqlcontainerlistresult.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_sqlcontainerlistresult.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_sqlcontainerresource.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_sqlcontainerresource.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_sqlcontainerresource.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_sqlcontainerresource.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_sqldatabasecreateupdateparameters.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_sqldatabasecreateupdateparameters.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_sqldatabasecreateupdateparameters.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_sqldatabasecreateupdateparameters.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_sqldatabasecreateupdateproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_sqldatabasecreateupdateproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_sqldatabasecreateupdateproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_sqldatabasecreateupdateproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_sqldatabasegetproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_sqldatabasegetproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_sqldatabasegetproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_sqldatabasegetproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_sqldatabasegetpropertiesresource.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_sqldatabasegetpropertiesresource.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_sqldatabasegetpropertiesresource.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_sqldatabasegetpropertiesresource.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_sqldatabasegetresults.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_sqldatabasegetresults.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_sqldatabasegetresults.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_sqldatabasegetresults.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_sqldatabaselistresult.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_sqldatabaselistresult.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_sqldatabaselistresult.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_sqldatabaselistresult.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_sqldatabaseresource.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_sqldatabaseresource.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_sqldatabaseresource.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_sqldatabaseresource.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_sqlstoredprocedurecreateupdateparameters.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_sqlstoredprocedurecreateupdateparameters.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_sqlstoredprocedurecreateupdateparameters.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_sqlstoredprocedurecreateupdateparameters.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_sqlstoredprocedurecreateupdateproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_sqlstoredprocedurecreateupdateproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_sqlstoredprocedurecreateupdateproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_sqlstoredprocedurecreateupdateproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_sqlstoredproceduregetproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_sqlstoredproceduregetproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_sqlstoredproceduregetproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_sqlstoredproceduregetproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_sqlstoredproceduregetpropertiesresource.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_sqlstoredproceduregetpropertiesresource.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_sqlstoredproceduregetpropertiesresource.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_sqlstoredproceduregetpropertiesresource.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_sqlstoredproceduregetresults.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_sqlstoredproceduregetresults.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_sqlstoredproceduregetresults.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_sqlstoredproceduregetresults.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_sqlstoredprocedurelistresult.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_sqlstoredprocedurelistresult.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_sqlstoredprocedurelistresult.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_sqlstoredprocedurelistresult.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_sqlstoredprocedureresource.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_sqlstoredprocedureresource.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_sqlstoredprocedureresource.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_sqlstoredprocedureresource.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_sqltriggercreateupdateparameters.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_sqltriggercreateupdateparameters.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_sqltriggercreateupdateparameters.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_sqltriggercreateupdateparameters.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_sqltriggercreateupdateproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_sqltriggercreateupdateproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_sqltriggercreateupdateproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_sqltriggercreateupdateproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_sqltriggergetproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_sqltriggergetproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_sqltriggergetproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_sqltriggergetproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_sqltriggergetpropertiesresource.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_sqltriggergetpropertiesresource.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_sqltriggergetpropertiesresource.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_sqltriggergetpropertiesresource.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_sqltriggergetresults.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_sqltriggergetresults.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_sqltriggergetresults.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_sqltriggergetresults.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_sqltriggerlistresult.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_sqltriggerlistresult.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_sqltriggerlistresult.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_sqltriggerlistresult.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_sqltriggerresource.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_sqltriggerresource.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_sqltriggerresource.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_sqltriggerresource.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_sqluserdefinedfunctioncreateupdateparameters.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_sqluserdefinedfunctioncreateupdateparameters.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_sqluserdefinedfunctioncreateupdateparameters.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_sqluserdefinedfunctioncreateupdateparameters.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_sqluserdefinedfunctioncreateupdateproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_sqluserdefinedfunctioncreateupdateproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_sqluserdefinedfunctioncreateupdateproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_sqluserdefinedfunctioncreateupdateproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_sqluserdefinedfunctiongetproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_sqluserdefinedfunctiongetproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_sqluserdefinedfunctiongetproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_sqluserdefinedfunctiongetproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_sqluserdefinedfunctiongetpropertiesresource.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_sqluserdefinedfunctiongetpropertiesresource.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_sqluserdefinedfunctiongetpropertiesresource.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_sqluserdefinedfunctiongetpropertiesresource.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_sqluserdefinedfunctiongetresults.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_sqluserdefinedfunctiongetresults.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_sqluserdefinedfunctiongetresults.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_sqluserdefinedfunctiongetresults.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_sqluserdefinedfunctionlistresult.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_sqluserdefinedfunctionlistresult.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_sqluserdefinedfunctionlistresult.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_sqluserdefinedfunctionlistresult.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_sqluserdefinedfunctionresource.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_sqluserdefinedfunctionresource.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_sqluserdefinedfunctionresource.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_sqluserdefinedfunctionresource.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_tablecreateupdateparameters.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_tablecreateupdateparameters.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_tablecreateupdateparameters.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_tablecreateupdateparameters.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_tablecreateupdateproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_tablecreateupdateproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_tablecreateupdateproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_tablecreateupdateproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_tablegetproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_tablegetproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_tablegetproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_tablegetproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_tablegetpropertiesresource.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_tablegetpropertiesresource.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_tablegetpropertiesresource.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_tablegetpropertiesresource.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_tablegetresults.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_tablegetresults.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_tablegetresults.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_tablegetresults.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_tablelistresult.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_tablelistresult.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_tablelistresult.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_tablelistresult.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_tableresource.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_tableresource.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_tableresource.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_tableresource.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_throughputpolicyresource.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_throughputpolicyresource.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_throughputpolicyresource.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_throughputpolicyresource.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_throughputsettingsgetproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_throughputsettingsgetproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_throughputsettingsgetproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_throughputsettingsgetproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_throughputsettingsgetpropertiesresource.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_throughputsettingsgetpropertiesresource.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_throughputsettingsgetpropertiesresource.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_throughputsettingsgetpropertiesresource.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_throughputsettingsgetresults.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_throughputsettingsgetresults.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_throughputsettingsgetresults.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_throughputsettingsgetresults.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_throughputsettingsresource.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_throughputsettingsresource.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_throughputsettingsresource.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_throughputsettingsresource.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_throughputsettingsupdateparameters.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_throughputsettingsupdateparameters.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_throughputsettingsupdateparameters.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_throughputsettingsupdateparameters.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_throughputsettingsupdateproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_throughputsettingsupdateproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_throughputsettingsupdateproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_throughputsettingsupdateproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_uniquekey.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_uniquekey.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_uniquekey.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_uniquekey.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_uniquekeypolicy.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_uniquekeypolicy.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_uniquekeypolicy.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_uniquekeypolicy.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_usage.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_usage.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_usage.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_usage.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_usagesresult.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_usagesresult.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_usagesresult.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_usagesresult.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_virtualnetworkrule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_virtualnetworkrule.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb/model_virtualnetworkrule.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/model_virtualnetworkrule.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/version.go new file mode 100644 index 000000000000..332013b35357 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb/version.go @@ -0,0 +1,10 @@ +package cosmosdb + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2024-08-15" + +func userAgent() string { + return "hashicorp/go-azure-sdk/cosmosdb/2024-08-15" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/dashboard/2023-09-01/managedprivateendpoints/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/dashboard/2023-09-01/managedprivateendpoints/README.md new file mode 100644 index 000000000000..6d68e00ec461 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/dashboard/2023-09-01/managedprivateendpoints/README.md @@ -0,0 +1,111 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/dashboard/2023-09-01/managedprivateendpoints` Documentation + +The `managedprivateendpoints` SDK allows for interaction with Azure Resource Manager `dashboard` (API Version `2023-09-01`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-sdk/resource-manager/dashboard/2023-09-01/managedprivateendpoints" +``` + + +### Client Initialization + +```go +client := managedprivateendpoints.NewManagedPrivateEndpointsClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `ManagedPrivateEndpointsClient.Create` + +```go +ctx := context.TODO() +id := managedprivateendpoints.NewManagedPrivateEndpointID("12345678-1234-9876-4563-123456789012", "example-resource-group", "grafanaName", "managedPrivateEndpointName") + +payload := managedprivateendpoints.ManagedPrivateEndpointModel{ + // ... +} + + +if err := client.CreateThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `ManagedPrivateEndpointsClient.Delete` + +```go +ctx := context.TODO() +id := managedprivateendpoints.NewManagedPrivateEndpointID("12345678-1234-9876-4563-123456789012", "example-resource-group", "grafanaName", "managedPrivateEndpointName") + +if err := client.DeleteThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `ManagedPrivateEndpointsClient.Get` + +```go +ctx := context.TODO() +id := managedprivateendpoints.NewManagedPrivateEndpointID("12345678-1234-9876-4563-123456789012", "example-resource-group", "grafanaName", "managedPrivateEndpointName") + +read, err := client.Get(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `ManagedPrivateEndpointsClient.List` + +```go +ctx := context.TODO() +id := managedprivateendpoints.NewGrafanaID("12345678-1234-9876-4563-123456789012", "example-resource-group", "grafanaName") + +// alternatively `client.List(ctx, id)` can be used to do batched pagination +items, err := client.ListComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `ManagedPrivateEndpointsClient.Refresh` + +```go +ctx := context.TODO() +id := managedprivateendpoints.NewGrafanaID("12345678-1234-9876-4563-123456789012", "example-resource-group", "grafanaName") + +if err := client.RefreshThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `ManagedPrivateEndpointsClient.Update` + +```go +ctx := context.TODO() +id := managedprivateendpoints.NewManagedPrivateEndpointID("12345678-1234-9876-4563-123456789012", "example-resource-group", "grafanaName", "managedPrivateEndpointName") + +payload := managedprivateendpoints.ManagedPrivateEndpointUpdateParameters{ + // ... +} + + +if err := client.UpdateThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/dashboard/2023-09-01/managedprivateendpoints/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/dashboard/2023-09-01/managedprivateendpoints/client.go new file mode 100644 index 000000000000..e02237558e49 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/dashboard/2023-09-01/managedprivateendpoints/client.go @@ -0,0 +1,26 @@ +package managedprivateendpoints + +import ( + "fmt" + + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + sdkEnv "github.com/hashicorp/go-azure-sdk/sdk/environments" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ManagedPrivateEndpointsClient struct { + Client *resourcemanager.Client +} + +func NewManagedPrivateEndpointsClientWithBaseURI(sdkApi sdkEnv.Api) (*ManagedPrivateEndpointsClient, error) { + client, err := resourcemanager.NewClient(sdkApi, "managedprivateendpoints", defaultApiVersion) + if err != nil { + return nil, fmt.Errorf("instantiating ManagedPrivateEndpointsClient: %+v", err) + } + + return &ManagedPrivateEndpointsClient{ + Client: client, + }, nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/dashboard/2023-09-01/managedprivateendpoints/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/dashboard/2023-09-01/managedprivateendpoints/constants.go new file mode 100644 index 000000000000..b9d6b033782e --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/dashboard/2023-09-01/managedprivateendpoints/constants.go @@ -0,0 +1,119 @@ +package managedprivateendpoints + +import ( + "encoding/json" + "fmt" + "strings" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ManagedPrivateEndpointConnectionStatus string + +const ( + ManagedPrivateEndpointConnectionStatusApproved ManagedPrivateEndpointConnectionStatus = "Approved" + ManagedPrivateEndpointConnectionStatusDisconnected ManagedPrivateEndpointConnectionStatus = "Disconnected" + ManagedPrivateEndpointConnectionStatusPending ManagedPrivateEndpointConnectionStatus = "Pending" + ManagedPrivateEndpointConnectionStatusRejected ManagedPrivateEndpointConnectionStatus = "Rejected" +) + +func PossibleValuesForManagedPrivateEndpointConnectionStatus() []string { + return []string{ + string(ManagedPrivateEndpointConnectionStatusApproved), + string(ManagedPrivateEndpointConnectionStatusDisconnected), + string(ManagedPrivateEndpointConnectionStatusPending), + string(ManagedPrivateEndpointConnectionStatusRejected), + } +} + +func (s *ManagedPrivateEndpointConnectionStatus) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseManagedPrivateEndpointConnectionStatus(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseManagedPrivateEndpointConnectionStatus(input string) (*ManagedPrivateEndpointConnectionStatus, error) { + vals := map[string]ManagedPrivateEndpointConnectionStatus{ + "approved": ManagedPrivateEndpointConnectionStatusApproved, + "disconnected": ManagedPrivateEndpointConnectionStatusDisconnected, + "pending": ManagedPrivateEndpointConnectionStatusPending, + "rejected": ManagedPrivateEndpointConnectionStatusRejected, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ManagedPrivateEndpointConnectionStatus(input) + return &out, nil +} + +type ProvisioningState string + +const ( + ProvisioningStateAccepted ProvisioningState = "Accepted" + ProvisioningStateCanceled ProvisioningState = "Canceled" + ProvisioningStateCreating ProvisioningState = "Creating" + ProvisioningStateDeleted ProvisioningState = "Deleted" + ProvisioningStateDeleting ProvisioningState = "Deleting" + ProvisioningStateFailed ProvisioningState = "Failed" + ProvisioningStateNotSpecified ProvisioningState = "NotSpecified" + ProvisioningStateSucceeded ProvisioningState = "Succeeded" + ProvisioningStateUpdating ProvisioningState = "Updating" +) + +func PossibleValuesForProvisioningState() []string { + return []string{ + string(ProvisioningStateAccepted), + string(ProvisioningStateCanceled), + string(ProvisioningStateCreating), + string(ProvisioningStateDeleted), + string(ProvisioningStateDeleting), + string(ProvisioningStateFailed), + string(ProvisioningStateNotSpecified), + string(ProvisioningStateSucceeded), + string(ProvisioningStateUpdating), + } +} + +func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseProvisioningState(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseProvisioningState(input string) (*ProvisioningState, error) { + vals := map[string]ProvisioningState{ + "accepted": ProvisioningStateAccepted, + "canceled": ProvisioningStateCanceled, + "creating": ProvisioningStateCreating, + "deleted": ProvisioningStateDeleted, + "deleting": ProvisioningStateDeleting, + "failed": ProvisioningStateFailed, + "notspecified": ProvisioningStateNotSpecified, + "succeeded": ProvisioningStateSucceeded, + "updating": ProvisioningStateUpdating, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ProvisioningState(input) + return &out, nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/dashboard/2023-09-01/managedprivateendpoints/id_grafana.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/dashboard/2023-09-01/managedprivateendpoints/id_grafana.go new file mode 100644 index 000000000000..2a7fb9d4c021 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/dashboard/2023-09-01/managedprivateendpoints/id_grafana.go @@ -0,0 +1,130 @@ +package managedprivateendpoints + +import ( + "fmt" + "strings" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/recaser" + "github.com/hashicorp/go-azure-helpers/resourcemanager/resourceids" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +func init() { + recaser.RegisterResourceId(&GrafanaId{}) +} + +var _ resourceids.ResourceId = &GrafanaId{} + +// GrafanaId is a struct representing the Resource ID for a Grafana +type GrafanaId struct { + SubscriptionId string + ResourceGroupName string + GrafanaName string +} + +// NewGrafanaID returns a new GrafanaId struct +func NewGrafanaID(subscriptionId string, resourceGroupName string, grafanaName string) GrafanaId { + return GrafanaId{ + SubscriptionId: subscriptionId, + ResourceGroupName: resourceGroupName, + GrafanaName: grafanaName, + } +} + +// ParseGrafanaID parses 'input' into a GrafanaId +func ParseGrafanaID(input string) (*GrafanaId, error) { + parser := resourceids.NewParserFromResourceIdType(&GrafanaId{}) + parsed, err := parser.Parse(input, false) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := GrafanaId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +// ParseGrafanaIDInsensitively parses 'input' case-insensitively into a GrafanaId +// note: this method should only be used for API response data and not user input +func ParseGrafanaIDInsensitively(input string) (*GrafanaId, error) { + parser := resourceids.NewParserFromResourceIdType(&GrafanaId{}) + parsed, err := parser.Parse(input, true) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := GrafanaId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +func (id *GrafanaId) FromParseResult(input resourceids.ParseResult) error { + var ok bool + + if id.SubscriptionId, ok = input.Parsed["subscriptionId"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "subscriptionId", input) + } + + if id.ResourceGroupName, ok = input.Parsed["resourceGroupName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "resourceGroupName", input) + } + + if id.GrafanaName, ok = input.Parsed["grafanaName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "grafanaName", input) + } + + return nil +} + +// ValidateGrafanaID checks that 'input' can be parsed as a Grafana ID +func ValidateGrafanaID(input interface{}, key string) (warnings []string, errors []error) { + v, ok := input.(string) + if !ok { + errors = append(errors, fmt.Errorf("expected %q to be a string", key)) + return + } + + if _, err := ParseGrafanaID(v); err != nil { + errors = append(errors, err) + } + + return +} + +// ID returns the formatted Grafana ID +func (id GrafanaId) ID() string { + fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.Dashboard/grafana/%s" + return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.GrafanaName) +} + +// Segments returns a slice of Resource ID Segments which comprise this Grafana ID +func (id GrafanaId) Segments() []resourceids.Segment { + return []resourceids.Segment{ + resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), + resourceids.SubscriptionIdSegment("subscriptionId", "12345678-1234-9876-4563-123456789012"), + resourceids.StaticSegment("staticResourceGroups", "resourceGroups", "resourceGroups"), + resourceids.ResourceGroupSegment("resourceGroupName", "example-resource-group"), + resourceids.StaticSegment("staticProviders", "providers", "providers"), + resourceids.ResourceProviderSegment("staticMicrosoftDashboard", "Microsoft.Dashboard", "Microsoft.Dashboard"), + resourceids.StaticSegment("staticGrafana", "grafana", "grafana"), + resourceids.UserSpecifiedSegment("grafanaName", "grafanaName"), + } +} + +// String returns a human-readable description of this Grafana ID +func (id GrafanaId) String() string { + components := []string{ + fmt.Sprintf("Subscription: %q", id.SubscriptionId), + fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), + fmt.Sprintf("Grafana Name: %q", id.GrafanaName), + } + return fmt.Sprintf("Grafana (%s)", strings.Join(components, "\n")) +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/dashboard/2023-09-01/managedprivateendpoints/id_managedprivateendpoint.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/dashboard/2023-09-01/managedprivateendpoints/id_managedprivateendpoint.go new file mode 100644 index 000000000000..f62eda38b79a --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/dashboard/2023-09-01/managedprivateendpoints/id_managedprivateendpoint.go @@ -0,0 +1,139 @@ +package managedprivateendpoints + +import ( + "fmt" + "strings" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/recaser" + "github.com/hashicorp/go-azure-helpers/resourcemanager/resourceids" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +func init() { + recaser.RegisterResourceId(&ManagedPrivateEndpointId{}) +} + +var _ resourceids.ResourceId = &ManagedPrivateEndpointId{} + +// ManagedPrivateEndpointId is a struct representing the Resource ID for a Managed Private Endpoint +type ManagedPrivateEndpointId struct { + SubscriptionId string + ResourceGroupName string + GrafanaName string + ManagedPrivateEndpointName string +} + +// NewManagedPrivateEndpointID returns a new ManagedPrivateEndpointId struct +func NewManagedPrivateEndpointID(subscriptionId string, resourceGroupName string, grafanaName string, managedPrivateEndpointName string) ManagedPrivateEndpointId { + return ManagedPrivateEndpointId{ + SubscriptionId: subscriptionId, + ResourceGroupName: resourceGroupName, + GrafanaName: grafanaName, + ManagedPrivateEndpointName: managedPrivateEndpointName, + } +} + +// ParseManagedPrivateEndpointID parses 'input' into a ManagedPrivateEndpointId +func ParseManagedPrivateEndpointID(input string) (*ManagedPrivateEndpointId, error) { + parser := resourceids.NewParserFromResourceIdType(&ManagedPrivateEndpointId{}) + parsed, err := parser.Parse(input, false) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := ManagedPrivateEndpointId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +// ParseManagedPrivateEndpointIDInsensitively parses 'input' case-insensitively into a ManagedPrivateEndpointId +// note: this method should only be used for API response data and not user input +func ParseManagedPrivateEndpointIDInsensitively(input string) (*ManagedPrivateEndpointId, error) { + parser := resourceids.NewParserFromResourceIdType(&ManagedPrivateEndpointId{}) + parsed, err := parser.Parse(input, true) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := ManagedPrivateEndpointId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +func (id *ManagedPrivateEndpointId) FromParseResult(input resourceids.ParseResult) error { + var ok bool + + if id.SubscriptionId, ok = input.Parsed["subscriptionId"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "subscriptionId", input) + } + + if id.ResourceGroupName, ok = input.Parsed["resourceGroupName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "resourceGroupName", input) + } + + if id.GrafanaName, ok = input.Parsed["grafanaName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "grafanaName", input) + } + + if id.ManagedPrivateEndpointName, ok = input.Parsed["managedPrivateEndpointName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "managedPrivateEndpointName", input) + } + + return nil +} + +// ValidateManagedPrivateEndpointID checks that 'input' can be parsed as a Managed Private Endpoint ID +func ValidateManagedPrivateEndpointID(input interface{}, key string) (warnings []string, errors []error) { + v, ok := input.(string) + if !ok { + errors = append(errors, fmt.Errorf("expected %q to be a string", key)) + return + } + + if _, err := ParseManagedPrivateEndpointID(v); err != nil { + errors = append(errors, err) + } + + return +} + +// ID returns the formatted Managed Private Endpoint ID +func (id ManagedPrivateEndpointId) ID() string { + fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.Dashboard/grafana/%s/managedPrivateEndpoints/%s" + return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.GrafanaName, id.ManagedPrivateEndpointName) +} + +// Segments returns a slice of Resource ID Segments which comprise this Managed Private Endpoint ID +func (id ManagedPrivateEndpointId) Segments() []resourceids.Segment { + return []resourceids.Segment{ + resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), + resourceids.SubscriptionIdSegment("subscriptionId", "12345678-1234-9876-4563-123456789012"), + resourceids.StaticSegment("staticResourceGroups", "resourceGroups", "resourceGroups"), + resourceids.ResourceGroupSegment("resourceGroupName", "example-resource-group"), + resourceids.StaticSegment("staticProviders", "providers", "providers"), + resourceids.ResourceProviderSegment("staticMicrosoftDashboard", "Microsoft.Dashboard", "Microsoft.Dashboard"), + resourceids.StaticSegment("staticGrafana", "grafana", "grafana"), + resourceids.UserSpecifiedSegment("grafanaName", "grafanaName"), + resourceids.StaticSegment("staticManagedPrivateEndpoints", "managedPrivateEndpoints", "managedPrivateEndpoints"), + resourceids.UserSpecifiedSegment("managedPrivateEndpointName", "managedPrivateEndpointName"), + } +} + +// String returns a human-readable description of this Managed Private Endpoint ID +func (id ManagedPrivateEndpointId) String() string { + components := []string{ + fmt.Sprintf("Subscription: %q", id.SubscriptionId), + fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), + fmt.Sprintf("Grafana Name: %q", id.GrafanaName), + fmt.Sprintf("Managed Private Endpoint Name: %q", id.ManagedPrivateEndpointName), + } + return fmt.Sprintf("Managed Private Endpoint (%s)", strings.Join(components, "\n")) +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/dashboard/2023-09-01/managedprivateendpoints/method_create.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/dashboard/2023-09-01/managedprivateendpoints/method_create.go new file mode 100644 index 000000000000..47504c5921de --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/dashboard/2023-09-01/managedprivateendpoints/method_create.go @@ -0,0 +1,75 @@ +package managedprivateendpoints + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/client/pollers" + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type CreateOperationResponse struct { + Poller pollers.Poller + HttpResponse *http.Response + OData *odata.OData + Model *ManagedPrivateEndpointModel +} + +// Create ... +func (c ManagedPrivateEndpointsClient) Create(ctx context.Context, id ManagedPrivateEndpointId, input ManagedPrivateEndpointModel) (result CreateOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusCreated, + http.StatusOK, + }, + HttpMethod: http.MethodPut, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + if err = req.Marshal(input); err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client) + if err != nil { + return + } + + return +} + +// CreateThenPoll performs Create then polls until it's completed +func (c ManagedPrivateEndpointsClient) CreateThenPoll(ctx context.Context, id ManagedPrivateEndpointId, input ManagedPrivateEndpointModel) error { + result, err := c.Create(ctx, id, input) + if err != nil { + return fmt.Errorf("performing Create: %+v", err) + } + + if err := result.Poller.PollUntilDone(ctx); err != nil { + return fmt.Errorf("polling after Create: %+v", err) + } + + return nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/dashboard/2023-09-01/managedprivateendpoints/method_delete.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/dashboard/2023-09-01/managedprivateendpoints/method_delete.go new file mode 100644 index 000000000000..98a0990b10a1 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/dashboard/2023-09-01/managedprivateendpoints/method_delete.go @@ -0,0 +1,71 @@ +package managedprivateendpoints + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/client/pollers" + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type DeleteOperationResponse struct { + Poller pollers.Poller + HttpResponse *http.Response + OData *odata.OData +} + +// Delete ... +func (c ManagedPrivateEndpointsClient) Delete(ctx context.Context, id ManagedPrivateEndpointId) (result DeleteOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusAccepted, + http.StatusNoContent, + http.StatusOK, + }, + HttpMethod: http.MethodDelete, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client) + if err != nil { + return + } + + return +} + +// DeleteThenPoll performs Delete then polls until it's completed +func (c ManagedPrivateEndpointsClient) DeleteThenPoll(ctx context.Context, id ManagedPrivateEndpointId) error { + result, err := c.Delete(ctx, id) + if err != nil { + return fmt.Errorf("performing Delete: %+v", err) + } + + if err := result.Poller.PollUntilDone(ctx); err != nil { + return fmt.Errorf("polling after Delete: %+v", err) + } + + return nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/dashboard/2023-09-01/managedprivateendpoints/method_get.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/dashboard/2023-09-01/managedprivateendpoints/method_get.go new file mode 100644 index 000000000000..6840e6b45925 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/dashboard/2023-09-01/managedprivateendpoints/method_get.go @@ -0,0 +1,53 @@ +package managedprivateendpoints + +import ( + "context" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type GetOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *ManagedPrivateEndpointModel +} + +// Get ... +func (c ManagedPrivateEndpointsClient) Get(ctx context.Context, id ManagedPrivateEndpointId) (result GetOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var model ManagedPrivateEndpointModel + result.Model = &model + if err = resp.Unmarshal(result.Model); err != nil { + return + } + + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/dashboard/2023-09-01/managedprivateendpoints/method_list.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/dashboard/2023-09-01/managedprivateendpoints/method_list.go new file mode 100644 index 000000000000..4c9b506e1dac --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/dashboard/2023-09-01/managedprivateendpoints/method_list.go @@ -0,0 +1,105 @@ +package managedprivateendpoints + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ListOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *[]ManagedPrivateEndpointModel +} + +type ListCompleteResult struct { + LatestHttpResponse *http.Response + Items []ManagedPrivateEndpointModel +} + +type ListCustomPager struct { + NextLink *odata.Link `json:"nextLink"` +} + +func (p *ListCustomPager) NextPageLink() *odata.Link { + defer func() { + p.NextLink = nil + }() + + return p.NextLink +} + +// List ... +func (c ManagedPrivateEndpointsClient) List(ctx context.Context, id GrafanaId) (result ListOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Pager: &ListCustomPager{}, + Path: fmt.Sprintf("%s/managedPrivateEndpoints", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.ExecutePaged(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var values struct { + Values *[]ManagedPrivateEndpointModel `json:"value"` + } + if err = resp.Unmarshal(&values); err != nil { + return + } + + result.Model = values.Values + + return +} + +// ListComplete retrieves all the results into a single object +func (c ManagedPrivateEndpointsClient) ListComplete(ctx context.Context, id GrafanaId) (ListCompleteResult, error) { + return c.ListCompleteMatchingPredicate(ctx, id, ManagedPrivateEndpointModelOperationPredicate{}) +} + +// ListCompleteMatchingPredicate retrieves all the results and then applies the predicate +func (c ManagedPrivateEndpointsClient) ListCompleteMatchingPredicate(ctx context.Context, id GrafanaId, predicate ManagedPrivateEndpointModelOperationPredicate) (result ListCompleteResult, err error) { + items := make([]ManagedPrivateEndpointModel, 0) + + resp, err := c.List(ctx, id) + if err != nil { + result.LatestHttpResponse = resp.HttpResponse + err = fmt.Errorf("loading results: %+v", err) + return + } + if resp.Model != nil { + for _, v := range *resp.Model { + if predicate.Matches(v) { + items = append(items, v) + } + } + } + + result = ListCompleteResult{ + LatestHttpResponse: resp.HttpResponse, + Items: items, + } + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/dashboard/2023-09-01/managedprivateendpoints/method_refresh.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/dashboard/2023-09-01/managedprivateendpoints/method_refresh.go new file mode 100644 index 000000000000..fb9fec3c6d97 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/dashboard/2023-09-01/managedprivateendpoints/method_refresh.go @@ -0,0 +1,70 @@ +package managedprivateendpoints + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/client/pollers" + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type RefreshOperationResponse struct { + Poller pollers.Poller + HttpResponse *http.Response + OData *odata.OData +} + +// Refresh ... +func (c ManagedPrivateEndpointsClient) Refresh(ctx context.Context, id GrafanaId) (result RefreshOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusAccepted, + http.StatusOK, + }, + HttpMethod: http.MethodPost, + Path: fmt.Sprintf("%s/refreshManagedPrivateEndpoints", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client) + if err != nil { + return + } + + return +} + +// RefreshThenPoll performs Refresh then polls until it's completed +func (c ManagedPrivateEndpointsClient) RefreshThenPoll(ctx context.Context, id GrafanaId) error { + result, err := c.Refresh(ctx, id) + if err != nil { + return fmt.Errorf("performing Refresh: %+v", err) + } + + if err := result.Poller.PollUntilDone(ctx); err != nil { + return fmt.Errorf("polling after Refresh: %+v", err) + } + + return nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/dashboard/2023-09-01/managedprivateendpoints/method_update.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/dashboard/2023-09-01/managedprivateendpoints/method_update.go new file mode 100644 index 000000000000..6bfa37db056a --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/dashboard/2023-09-01/managedprivateendpoints/method_update.go @@ -0,0 +1,75 @@ +package managedprivateendpoints + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/client/pollers" + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type UpdateOperationResponse struct { + Poller pollers.Poller + HttpResponse *http.Response + OData *odata.OData + Model *ManagedPrivateEndpointModel +} + +// Update ... +func (c ManagedPrivateEndpointsClient) Update(ctx context.Context, id ManagedPrivateEndpointId, input ManagedPrivateEndpointUpdateParameters) (result UpdateOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusAccepted, + http.StatusOK, + }, + HttpMethod: http.MethodPatch, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + if err = req.Marshal(input); err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client) + if err != nil { + return + } + + return +} + +// UpdateThenPoll performs Update then polls until it's completed +func (c ManagedPrivateEndpointsClient) UpdateThenPoll(ctx context.Context, id ManagedPrivateEndpointId, input ManagedPrivateEndpointUpdateParameters) error { + result, err := c.Update(ctx, id, input) + if err != nil { + return fmt.Errorf("performing Update: %+v", err) + } + + if err := result.Poller.PollUntilDone(ctx); err != nil { + return fmt.Errorf("polling after Update: %+v", err) + } + + return nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/dashboard/2023-09-01/managedprivateendpoints/model_managedprivateendpointconnectionstate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/dashboard/2023-09-01/managedprivateendpoints/model_managedprivateendpointconnectionstate.go new file mode 100644 index 000000000000..a24ead5087a1 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/dashboard/2023-09-01/managedprivateendpoints/model_managedprivateendpointconnectionstate.go @@ -0,0 +1,9 @@ +package managedprivateendpoints + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ManagedPrivateEndpointConnectionState struct { + Description *string `json:"description,omitempty"` + Status *ManagedPrivateEndpointConnectionStatus `json:"status,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/dashboard/2023-09-01/managedprivateendpoints/model_managedprivateendpointmodel.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/dashboard/2023-09-01/managedprivateendpoints/model_managedprivateendpointmodel.go new file mode 100644 index 000000000000..109bc1c4e6e4 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/dashboard/2023-09-01/managedprivateendpoints/model_managedprivateendpointmodel.go @@ -0,0 +1,18 @@ +package managedprivateendpoints + +import ( + "github.com/hashicorp/go-azure-helpers/resourcemanager/systemdata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ManagedPrivateEndpointModel struct { + Id *string `json:"id,omitempty"` + Location string `json:"location"` + Name *string `json:"name,omitempty"` + Properties *ManagedPrivateEndpointModelProperties `json:"properties,omitempty"` + SystemData *systemdata.SystemData `json:"systemData,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/dashboard/2023-09-01/managedprivateendpoints/model_managedprivateendpointmodelproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/dashboard/2023-09-01/managedprivateendpoints/model_managedprivateendpointmodelproperties.go new file mode 100644 index 000000000000..babce0bcb68d --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/dashboard/2023-09-01/managedprivateendpoints/model_managedprivateendpointmodelproperties.go @@ -0,0 +1,15 @@ +package managedprivateendpoints + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ManagedPrivateEndpointModelProperties struct { + ConnectionState *ManagedPrivateEndpointConnectionState `json:"connectionState,omitempty"` + GroupIds *[]string `json:"groupIds,omitempty"` + PrivateLinkResourceId *string `json:"privateLinkResourceId,omitempty"` + PrivateLinkResourceRegion *string `json:"privateLinkResourceRegion,omitempty"` + PrivateLinkServicePrivateIP *string `json:"privateLinkServicePrivateIP,omitempty"` + PrivateLinkServiceURL *string `json:"privateLinkServiceUrl,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + RequestMessage *string `json:"requestMessage,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/dashboard/2023-09-01/managedprivateendpoints/model_managedprivateendpointupdateparameters.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/dashboard/2023-09-01/managedprivateendpoints/model_managedprivateendpointupdateparameters.go new file mode 100644 index 000000000000..f7322b801841 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/dashboard/2023-09-01/managedprivateendpoints/model_managedprivateendpointupdateparameters.go @@ -0,0 +1,8 @@ +package managedprivateendpoints + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ManagedPrivateEndpointUpdateParameters struct { + Tags *map[string]string `json:"tags,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/dashboard/2023-09-01/managedprivateendpoints/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/dashboard/2023-09-01/managedprivateendpoints/predicates.go new file mode 100644 index 000000000000..108b63e5f74e --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/dashboard/2023-09-01/managedprivateendpoints/predicates.go @@ -0,0 +1,32 @@ +package managedprivateendpoints + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ManagedPrivateEndpointModelOperationPredicate struct { + Id *string + Location *string + Name *string + Type *string +} + +func (p ManagedPrivateEndpointModelOperationPredicate) Matches(input ManagedPrivateEndpointModel) bool { + + if p.Id != nil && (input.Id == nil || *p.Id != *input.Id) { + return false + } + + if p.Location != nil && *p.Location != input.Location { + return false + } + + if p.Name != nil && (input.Name == nil || *p.Name != *input.Name) { + return false + } + + if p.Type != nil && (input.Type == nil || *p.Type != *input.Type) { + return false + } + + return true +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/dashboard/2023-09-01/managedprivateendpoints/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/dashboard/2023-09-01/managedprivateendpoints/version.go new file mode 100644 index 000000000000..819d2c6107ff --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/dashboard/2023-09-01/managedprivateendpoints/version.go @@ -0,0 +1,10 @@ +package managedprivateendpoints + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2023-09-01" + +func userAgent() string { + return "hashicorp/go-azure-sdk/managedprivateendpoints/2023-09-01" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/machinelearningservices/2024-04-01/managednetwork/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/machinelearningservices/2024-04-01/managednetwork/README.md new file mode 100644 index 000000000000..5c7c9360fe3f --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/machinelearningservices/2024-04-01/managednetwork/README.md @@ -0,0 +1,99 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/machinelearningservices/2024-04-01/managednetwork` Documentation + +The `managednetwork` SDK allows for interaction with Azure Resource Manager `machinelearningservices` (API Version `2024-04-01`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-sdk/resource-manager/machinelearningservices/2024-04-01/managednetwork" +``` + + +### Client Initialization + +```go +client := managednetwork.NewManagedNetworkClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `ManagedNetworkClient.ProvisionsProvisionManagedNetwork` + +```go +ctx := context.TODO() +id := managednetwork.NewWorkspaceID("12345678-1234-9876-4563-123456789012", "example-resource-group", "workspaceName") + +payload := managednetwork.ManagedNetworkProvisionOptions{ + // ... +} + + +if err := client.ProvisionsProvisionManagedNetworkThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `ManagedNetworkClient.SettingsRuleCreateOrUpdate` + +```go +ctx := context.TODO() +id := managednetwork.NewOutboundRuleID("12345678-1234-9876-4563-123456789012", "example-resource-group", "workspaceName", "outboundRuleName") + +payload := managednetwork.OutboundRuleBasicResource{ + // ... +} + + +if err := client.SettingsRuleCreateOrUpdateThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `ManagedNetworkClient.SettingsRuleDelete` + +```go +ctx := context.TODO() +id := managednetwork.NewOutboundRuleID("12345678-1234-9876-4563-123456789012", "example-resource-group", "workspaceName", "outboundRuleName") + +if err := client.SettingsRuleDeleteThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `ManagedNetworkClient.SettingsRuleGet` + +```go +ctx := context.TODO() +id := managednetwork.NewOutboundRuleID("12345678-1234-9876-4563-123456789012", "example-resource-group", "workspaceName", "outboundRuleName") + +read, err := client.SettingsRuleGet(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `ManagedNetworkClient.SettingsRuleList` + +```go +ctx := context.TODO() +id := managednetwork.NewWorkspaceID("12345678-1234-9876-4563-123456789012", "example-resource-group", "workspaceName") + +// alternatively `client.SettingsRuleList(ctx, id)` can be used to do batched pagination +items, err := client.SettingsRuleListComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/machinelearningservices/2024-04-01/managednetwork/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/machinelearningservices/2024-04-01/managednetwork/client.go new file mode 100644 index 000000000000..7167dbc42a44 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/machinelearningservices/2024-04-01/managednetwork/client.go @@ -0,0 +1,26 @@ +package managednetwork + +import ( + "fmt" + + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + sdkEnv "github.com/hashicorp/go-azure-sdk/sdk/environments" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ManagedNetworkClient struct { + Client *resourcemanager.Client +} + +func NewManagedNetworkClientWithBaseURI(sdkApi sdkEnv.Api) (*ManagedNetworkClient, error) { + client, err := resourcemanager.NewClient(sdkApi, "managednetwork", defaultApiVersion) + if err != nil { + return nil, fmt.Errorf("instantiating ManagedNetworkClient: %+v", err) + } + + return &ManagedNetworkClient{ + Client: client, + }, nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/machinelearningservices/2024-04-01/managednetwork/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/machinelearningservices/2024-04-01/managednetwork/constants.go new file mode 100644 index 000000000000..e19e9f0a600f --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/machinelearningservices/2024-04-01/managednetwork/constants.go @@ -0,0 +1,224 @@ +package managednetwork + +import ( + "encoding/json" + "fmt" + "strings" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ManagedNetworkStatus string + +const ( + ManagedNetworkStatusActive ManagedNetworkStatus = "Active" + ManagedNetworkStatusInactive ManagedNetworkStatus = "Inactive" +) + +func PossibleValuesForManagedNetworkStatus() []string { + return []string{ + string(ManagedNetworkStatusActive), + string(ManagedNetworkStatusInactive), + } +} + +func (s *ManagedNetworkStatus) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseManagedNetworkStatus(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseManagedNetworkStatus(input string) (*ManagedNetworkStatus, error) { + vals := map[string]ManagedNetworkStatus{ + "active": ManagedNetworkStatusActive, + "inactive": ManagedNetworkStatusInactive, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ManagedNetworkStatus(input) + return &out, nil +} + +type RuleAction string + +const ( + RuleActionAllow RuleAction = "Allow" + RuleActionDeny RuleAction = "Deny" +) + +func PossibleValuesForRuleAction() []string { + return []string{ + string(RuleActionAllow), + string(RuleActionDeny), + } +} + +func (s *RuleAction) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseRuleAction(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseRuleAction(input string) (*RuleAction, error) { + vals := map[string]RuleAction{ + "allow": RuleActionAllow, + "deny": RuleActionDeny, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := RuleAction(input) + return &out, nil +} + +type RuleCategory string + +const ( + RuleCategoryDependency RuleCategory = "Dependency" + RuleCategoryRecommended RuleCategory = "Recommended" + RuleCategoryRequired RuleCategory = "Required" + RuleCategoryUserDefined RuleCategory = "UserDefined" +) + +func PossibleValuesForRuleCategory() []string { + return []string{ + string(RuleCategoryDependency), + string(RuleCategoryRecommended), + string(RuleCategoryRequired), + string(RuleCategoryUserDefined), + } +} + +func (s *RuleCategory) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseRuleCategory(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseRuleCategory(input string) (*RuleCategory, error) { + vals := map[string]RuleCategory{ + "dependency": RuleCategoryDependency, + "recommended": RuleCategoryRecommended, + "required": RuleCategoryRequired, + "userdefined": RuleCategoryUserDefined, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := RuleCategory(input) + return &out, nil +} + +type RuleStatus string + +const ( + RuleStatusActive RuleStatus = "Active" + RuleStatusInactive RuleStatus = "Inactive" +) + +func PossibleValuesForRuleStatus() []string { + return []string{ + string(RuleStatusActive), + string(RuleStatusInactive), + } +} + +func (s *RuleStatus) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseRuleStatus(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseRuleStatus(input string) (*RuleStatus, error) { + vals := map[string]RuleStatus{ + "active": RuleStatusActive, + "inactive": RuleStatusInactive, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := RuleStatus(input) + return &out, nil +} + +type RuleType string + +const ( + RuleTypeFQDN RuleType = "FQDN" + RuleTypePrivateEndpoint RuleType = "PrivateEndpoint" + RuleTypeServiceTag RuleType = "ServiceTag" +) + +func PossibleValuesForRuleType() []string { + return []string{ + string(RuleTypeFQDN), + string(RuleTypePrivateEndpoint), + string(RuleTypeServiceTag), + } +} + +func (s *RuleType) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseRuleType(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseRuleType(input string) (*RuleType, error) { + vals := map[string]RuleType{ + "fqdn": RuleTypeFQDN, + "privateendpoint": RuleTypePrivateEndpoint, + "servicetag": RuleTypeServiceTag, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := RuleType(input) + return &out, nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/machinelearningservices/2024-04-01/managednetwork/id_outboundrule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/machinelearningservices/2024-04-01/managednetwork/id_outboundrule.go new file mode 100644 index 000000000000..16202df94be6 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/machinelearningservices/2024-04-01/managednetwork/id_outboundrule.go @@ -0,0 +1,139 @@ +package managednetwork + +import ( + "fmt" + "strings" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/recaser" + "github.com/hashicorp/go-azure-helpers/resourcemanager/resourceids" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +func init() { + recaser.RegisterResourceId(&OutboundRuleId{}) +} + +var _ resourceids.ResourceId = &OutboundRuleId{} + +// OutboundRuleId is a struct representing the Resource ID for a Outbound Rule +type OutboundRuleId struct { + SubscriptionId string + ResourceGroupName string + WorkspaceName string + OutboundRuleName string +} + +// NewOutboundRuleID returns a new OutboundRuleId struct +func NewOutboundRuleID(subscriptionId string, resourceGroupName string, workspaceName string, outboundRuleName string) OutboundRuleId { + return OutboundRuleId{ + SubscriptionId: subscriptionId, + ResourceGroupName: resourceGroupName, + WorkspaceName: workspaceName, + OutboundRuleName: outboundRuleName, + } +} + +// ParseOutboundRuleID parses 'input' into a OutboundRuleId +func ParseOutboundRuleID(input string) (*OutboundRuleId, error) { + parser := resourceids.NewParserFromResourceIdType(&OutboundRuleId{}) + parsed, err := parser.Parse(input, false) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := OutboundRuleId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +// ParseOutboundRuleIDInsensitively parses 'input' case-insensitively into a OutboundRuleId +// note: this method should only be used for API response data and not user input +func ParseOutboundRuleIDInsensitively(input string) (*OutboundRuleId, error) { + parser := resourceids.NewParserFromResourceIdType(&OutboundRuleId{}) + parsed, err := parser.Parse(input, true) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := OutboundRuleId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +func (id *OutboundRuleId) FromParseResult(input resourceids.ParseResult) error { + var ok bool + + if id.SubscriptionId, ok = input.Parsed["subscriptionId"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "subscriptionId", input) + } + + if id.ResourceGroupName, ok = input.Parsed["resourceGroupName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "resourceGroupName", input) + } + + if id.WorkspaceName, ok = input.Parsed["workspaceName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "workspaceName", input) + } + + if id.OutboundRuleName, ok = input.Parsed["outboundRuleName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "outboundRuleName", input) + } + + return nil +} + +// ValidateOutboundRuleID checks that 'input' can be parsed as a Outbound Rule ID +func ValidateOutboundRuleID(input interface{}, key string) (warnings []string, errors []error) { + v, ok := input.(string) + if !ok { + errors = append(errors, fmt.Errorf("expected %q to be a string", key)) + return + } + + if _, err := ParseOutboundRuleID(v); err != nil { + errors = append(errors, err) + } + + return +} + +// ID returns the formatted Outbound Rule ID +func (id OutboundRuleId) ID() string { + fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.MachineLearningServices/workspaces/%s/outboundRules/%s" + return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.WorkspaceName, id.OutboundRuleName) +} + +// Segments returns a slice of Resource ID Segments which comprise this Outbound Rule ID +func (id OutboundRuleId) Segments() []resourceids.Segment { + return []resourceids.Segment{ + resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), + resourceids.SubscriptionIdSegment("subscriptionId", "12345678-1234-9876-4563-123456789012"), + resourceids.StaticSegment("staticResourceGroups", "resourceGroups", "resourceGroups"), + resourceids.ResourceGroupSegment("resourceGroupName", "example-resource-group"), + resourceids.StaticSegment("staticProviders", "providers", "providers"), + resourceids.ResourceProviderSegment("staticMicrosoftMachineLearningServices", "Microsoft.MachineLearningServices", "Microsoft.MachineLearningServices"), + resourceids.StaticSegment("staticWorkspaces", "workspaces", "workspaces"), + resourceids.UserSpecifiedSegment("workspaceName", "workspaceName"), + resourceids.StaticSegment("staticOutboundRules", "outboundRules", "outboundRules"), + resourceids.UserSpecifiedSegment("outboundRuleName", "outboundRuleName"), + } +} + +// String returns a human-readable description of this Outbound Rule ID +func (id OutboundRuleId) String() string { + components := []string{ + fmt.Sprintf("Subscription: %q", id.SubscriptionId), + fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), + fmt.Sprintf("Workspace Name: %q", id.WorkspaceName), + fmt.Sprintf("Outbound Rule Name: %q", id.OutboundRuleName), + } + return fmt.Sprintf("Outbound Rule (%s)", strings.Join(components, "\n")) +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/machinelearningservices/2024-04-01/managednetwork/id_workspace.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/machinelearningservices/2024-04-01/managednetwork/id_workspace.go new file mode 100644 index 000000000000..f90b3b238856 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/machinelearningservices/2024-04-01/managednetwork/id_workspace.go @@ -0,0 +1,130 @@ +package managednetwork + +import ( + "fmt" + "strings" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/recaser" + "github.com/hashicorp/go-azure-helpers/resourcemanager/resourceids" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +func init() { + recaser.RegisterResourceId(&WorkspaceId{}) +} + +var _ resourceids.ResourceId = &WorkspaceId{} + +// WorkspaceId is a struct representing the Resource ID for a Workspace +type WorkspaceId struct { + SubscriptionId string + ResourceGroupName string + WorkspaceName string +} + +// NewWorkspaceID returns a new WorkspaceId struct +func NewWorkspaceID(subscriptionId string, resourceGroupName string, workspaceName string) WorkspaceId { + return WorkspaceId{ + SubscriptionId: subscriptionId, + ResourceGroupName: resourceGroupName, + WorkspaceName: workspaceName, + } +} + +// ParseWorkspaceID parses 'input' into a WorkspaceId +func ParseWorkspaceID(input string) (*WorkspaceId, error) { + parser := resourceids.NewParserFromResourceIdType(&WorkspaceId{}) + parsed, err := parser.Parse(input, false) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := WorkspaceId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +// ParseWorkspaceIDInsensitively parses 'input' case-insensitively into a WorkspaceId +// note: this method should only be used for API response data and not user input +func ParseWorkspaceIDInsensitively(input string) (*WorkspaceId, error) { + parser := resourceids.NewParserFromResourceIdType(&WorkspaceId{}) + parsed, err := parser.Parse(input, true) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := WorkspaceId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +func (id *WorkspaceId) FromParseResult(input resourceids.ParseResult) error { + var ok bool + + if id.SubscriptionId, ok = input.Parsed["subscriptionId"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "subscriptionId", input) + } + + if id.ResourceGroupName, ok = input.Parsed["resourceGroupName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "resourceGroupName", input) + } + + if id.WorkspaceName, ok = input.Parsed["workspaceName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "workspaceName", input) + } + + return nil +} + +// ValidateWorkspaceID checks that 'input' can be parsed as a Workspace ID +func ValidateWorkspaceID(input interface{}, key string) (warnings []string, errors []error) { + v, ok := input.(string) + if !ok { + errors = append(errors, fmt.Errorf("expected %q to be a string", key)) + return + } + + if _, err := ParseWorkspaceID(v); err != nil { + errors = append(errors, err) + } + + return +} + +// ID returns the formatted Workspace ID +func (id WorkspaceId) ID() string { + fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.MachineLearningServices/workspaces/%s" + return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.WorkspaceName) +} + +// Segments returns a slice of Resource ID Segments which comprise this Workspace ID +func (id WorkspaceId) Segments() []resourceids.Segment { + return []resourceids.Segment{ + resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), + resourceids.SubscriptionIdSegment("subscriptionId", "12345678-1234-9876-4563-123456789012"), + resourceids.StaticSegment("staticResourceGroups", "resourceGroups", "resourceGroups"), + resourceids.ResourceGroupSegment("resourceGroupName", "example-resource-group"), + resourceids.StaticSegment("staticProviders", "providers", "providers"), + resourceids.ResourceProviderSegment("staticMicrosoftMachineLearningServices", "Microsoft.MachineLearningServices", "Microsoft.MachineLearningServices"), + resourceids.StaticSegment("staticWorkspaces", "workspaces", "workspaces"), + resourceids.UserSpecifiedSegment("workspaceName", "workspaceName"), + } +} + +// String returns a human-readable description of this Workspace ID +func (id WorkspaceId) String() string { + components := []string{ + fmt.Sprintf("Subscription: %q", id.SubscriptionId), + fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), + fmt.Sprintf("Workspace Name: %q", id.WorkspaceName), + } + return fmt.Sprintf("Workspace (%s)", strings.Join(components, "\n")) +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/machinelearningservices/2024-04-01/managednetwork/method_provisionsprovisionmanagednetwork.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/machinelearningservices/2024-04-01/managednetwork/method_provisionsprovisionmanagednetwork.go new file mode 100644 index 000000000000..e35f68f85d22 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/machinelearningservices/2024-04-01/managednetwork/method_provisionsprovisionmanagednetwork.go @@ -0,0 +1,75 @@ +package managednetwork + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/client/pollers" + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ProvisionsProvisionManagedNetworkOperationResponse struct { + Poller pollers.Poller + HttpResponse *http.Response + OData *odata.OData + Model *ManagedNetworkProvisionStatus +} + +// ProvisionsProvisionManagedNetwork ... +func (c ManagedNetworkClient) ProvisionsProvisionManagedNetwork(ctx context.Context, id WorkspaceId, input ManagedNetworkProvisionOptions) (result ProvisionsProvisionManagedNetworkOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusAccepted, + http.StatusOK, + }, + HttpMethod: http.MethodPost, + Path: fmt.Sprintf("%s/provisionManagedNetwork", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + if err = req.Marshal(input); err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client) + if err != nil { + return + } + + return +} + +// ProvisionsProvisionManagedNetworkThenPoll performs ProvisionsProvisionManagedNetwork then polls until it's completed +func (c ManagedNetworkClient) ProvisionsProvisionManagedNetworkThenPoll(ctx context.Context, id WorkspaceId, input ManagedNetworkProvisionOptions) error { + result, err := c.ProvisionsProvisionManagedNetwork(ctx, id, input) + if err != nil { + return fmt.Errorf("performing ProvisionsProvisionManagedNetwork: %+v", err) + } + + if err := result.Poller.PollUntilDone(ctx); err != nil { + return fmt.Errorf("polling after ProvisionsProvisionManagedNetwork: %+v", err) + } + + return nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/machinelearningservices/2024-04-01/managednetwork/method_settingsrulecreateorupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/machinelearningservices/2024-04-01/managednetwork/method_settingsrulecreateorupdate.go new file mode 100644 index 000000000000..9e4eec71434a --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/machinelearningservices/2024-04-01/managednetwork/method_settingsrulecreateorupdate.go @@ -0,0 +1,75 @@ +package managednetwork + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/client/pollers" + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type SettingsRuleCreateOrUpdateOperationResponse struct { + Poller pollers.Poller + HttpResponse *http.Response + OData *odata.OData + Model *OutboundRuleBasicResource +} + +// SettingsRuleCreateOrUpdate ... +func (c ManagedNetworkClient) SettingsRuleCreateOrUpdate(ctx context.Context, id OutboundRuleId, input OutboundRuleBasicResource) (result SettingsRuleCreateOrUpdateOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusAccepted, + http.StatusOK, + }, + HttpMethod: http.MethodPut, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + if err = req.Marshal(input); err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client) + if err != nil { + return + } + + return +} + +// SettingsRuleCreateOrUpdateThenPoll performs SettingsRuleCreateOrUpdate then polls until it's completed +func (c ManagedNetworkClient) SettingsRuleCreateOrUpdateThenPoll(ctx context.Context, id OutboundRuleId, input OutboundRuleBasicResource) error { + result, err := c.SettingsRuleCreateOrUpdate(ctx, id, input) + if err != nil { + return fmt.Errorf("performing SettingsRuleCreateOrUpdate: %+v", err) + } + + if err := result.Poller.PollUntilDone(ctx); err != nil { + return fmt.Errorf("polling after SettingsRuleCreateOrUpdate: %+v", err) + } + + return nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/machinelearningservices/2024-04-01/managednetwork/method_settingsruledelete.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/machinelearningservices/2024-04-01/managednetwork/method_settingsruledelete.go new file mode 100644 index 000000000000..6306e801dd7d --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/machinelearningservices/2024-04-01/managednetwork/method_settingsruledelete.go @@ -0,0 +1,71 @@ +package managednetwork + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/client/pollers" + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type SettingsRuleDeleteOperationResponse struct { + Poller pollers.Poller + HttpResponse *http.Response + OData *odata.OData +} + +// SettingsRuleDelete ... +func (c ManagedNetworkClient) SettingsRuleDelete(ctx context.Context, id OutboundRuleId) (result SettingsRuleDeleteOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusAccepted, + http.StatusNoContent, + http.StatusOK, + }, + HttpMethod: http.MethodDelete, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client) + if err != nil { + return + } + + return +} + +// SettingsRuleDeleteThenPoll performs SettingsRuleDelete then polls until it's completed +func (c ManagedNetworkClient) SettingsRuleDeleteThenPoll(ctx context.Context, id OutboundRuleId) error { + result, err := c.SettingsRuleDelete(ctx, id) + if err != nil { + return fmt.Errorf("performing SettingsRuleDelete: %+v", err) + } + + if err := result.Poller.PollUntilDone(ctx); err != nil { + return fmt.Errorf("polling after SettingsRuleDelete: %+v", err) + } + + return nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/machinelearningservices/2024-04-01/managednetwork/method_settingsruleget.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/machinelearningservices/2024-04-01/managednetwork/method_settingsruleget.go new file mode 100644 index 000000000000..d9e4990d7838 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/machinelearningservices/2024-04-01/managednetwork/method_settingsruleget.go @@ -0,0 +1,53 @@ +package managednetwork + +import ( + "context" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type SettingsRuleGetOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *OutboundRuleBasicResource +} + +// SettingsRuleGet ... +func (c ManagedNetworkClient) SettingsRuleGet(ctx context.Context, id OutboundRuleId) (result SettingsRuleGetOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var model OutboundRuleBasicResource + result.Model = &model + if err = resp.Unmarshal(result.Model); err != nil { + return + } + + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/machinelearningservices/2024-04-01/managednetwork/method_settingsrulelist.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/machinelearningservices/2024-04-01/managednetwork/method_settingsrulelist.go new file mode 100644 index 000000000000..b73fd89a69d2 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/machinelearningservices/2024-04-01/managednetwork/method_settingsrulelist.go @@ -0,0 +1,105 @@ +package managednetwork + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type SettingsRuleListOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *[]OutboundRuleBasicResource +} + +type SettingsRuleListCompleteResult struct { + LatestHttpResponse *http.Response + Items []OutboundRuleBasicResource +} + +type SettingsRuleListCustomPager struct { + NextLink *odata.Link `json:"nextLink"` +} + +func (p *SettingsRuleListCustomPager) NextPageLink() *odata.Link { + defer func() { + p.NextLink = nil + }() + + return p.NextLink +} + +// SettingsRuleList ... +func (c ManagedNetworkClient) SettingsRuleList(ctx context.Context, id WorkspaceId) (result SettingsRuleListOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Pager: &SettingsRuleListCustomPager{}, + Path: fmt.Sprintf("%s/outboundRules", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.ExecutePaged(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var values struct { + Values *[]OutboundRuleBasicResource `json:"value"` + } + if err = resp.Unmarshal(&values); err != nil { + return + } + + result.Model = values.Values + + return +} + +// SettingsRuleListComplete retrieves all the results into a single object +func (c ManagedNetworkClient) SettingsRuleListComplete(ctx context.Context, id WorkspaceId) (SettingsRuleListCompleteResult, error) { + return c.SettingsRuleListCompleteMatchingPredicate(ctx, id, OutboundRuleBasicResourceOperationPredicate{}) +} + +// SettingsRuleListCompleteMatchingPredicate retrieves all the results and then applies the predicate +func (c ManagedNetworkClient) SettingsRuleListCompleteMatchingPredicate(ctx context.Context, id WorkspaceId, predicate OutboundRuleBasicResourceOperationPredicate) (result SettingsRuleListCompleteResult, err error) { + items := make([]OutboundRuleBasicResource, 0) + + resp, err := c.SettingsRuleList(ctx, id) + if err != nil { + result.LatestHttpResponse = resp.HttpResponse + err = fmt.Errorf("loading results: %+v", err) + return + } + if resp.Model != nil { + for _, v := range *resp.Model { + if predicate.Matches(v) { + items = append(items, v) + } + } + } + + result = SettingsRuleListCompleteResult{ + LatestHttpResponse: resp.HttpResponse, + Items: items, + } + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/machinelearningservices/2024-04-01/managednetwork/model_fqdnoutboundrule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/machinelearningservices/2024-04-01/managednetwork/model_fqdnoutboundrule.go new file mode 100644 index 000000000000..c68f41f0977d --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/machinelearningservices/2024-04-01/managednetwork/model_fqdnoutboundrule.go @@ -0,0 +1,54 @@ +package managednetwork + +import ( + "encoding/json" + "fmt" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +var _ OutboundRule = FqdnOutboundRule{} + +type FqdnOutboundRule struct { + Destination *string `json:"destination,omitempty"` + + // Fields inherited from OutboundRule + + Category *RuleCategory `json:"category,omitempty"` + Status *RuleStatus `json:"status,omitempty"` + Type RuleType `json:"type"` +} + +func (s FqdnOutboundRule) OutboundRule() BaseOutboundRuleImpl { + return BaseOutboundRuleImpl{ + Category: s.Category, + Status: s.Status, + Type: s.Type, + } +} + +var _ json.Marshaler = FqdnOutboundRule{} + +func (s FqdnOutboundRule) MarshalJSON() ([]byte, error) { + type wrapper FqdnOutboundRule + wrapped := wrapper(s) + encoded, err := json.Marshal(wrapped) + if err != nil { + return nil, fmt.Errorf("marshaling FqdnOutboundRule: %+v", err) + } + + var decoded map[string]interface{} + if err = json.Unmarshal(encoded, &decoded); err != nil { + return nil, fmt.Errorf("unmarshaling FqdnOutboundRule: %+v", err) + } + + decoded["type"] = "FQDN" + + encoded, err = json.Marshal(decoded) + if err != nil { + return nil, fmt.Errorf("re-marshaling FqdnOutboundRule: %+v", err) + } + + return encoded, nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/machinelearningservices/2024-04-01/managednetwork/model_managednetworkprovisionoptions.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/machinelearningservices/2024-04-01/managednetwork/model_managednetworkprovisionoptions.go new file mode 100644 index 000000000000..4d2c03673057 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/machinelearningservices/2024-04-01/managednetwork/model_managednetworkprovisionoptions.go @@ -0,0 +1,8 @@ +package managednetwork + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ManagedNetworkProvisionOptions struct { + IncludeSpark *bool `json:"includeSpark,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/machinelearningservices/2024-04-01/managednetwork/model_managednetworkprovisionstatus.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/machinelearningservices/2024-04-01/managednetwork/model_managednetworkprovisionstatus.go new file mode 100644 index 000000000000..3010b961a344 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/machinelearningservices/2024-04-01/managednetwork/model_managednetworkprovisionstatus.go @@ -0,0 +1,9 @@ +package managednetwork + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ManagedNetworkProvisionStatus struct { + SparkReady *bool `json:"sparkReady,omitempty"` + Status *ManagedNetworkStatus `json:"status,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/machinelearningservices/2024-04-01/managednetwork/model_outboundrule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/machinelearningservices/2024-04-01/managednetwork/model_outboundrule.go new file mode 100644 index 000000000000..592574a294e1 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/machinelearningservices/2024-04-01/managednetwork/model_outboundrule.go @@ -0,0 +1,93 @@ +package managednetwork + +import ( + "encoding/json" + "fmt" + "strings" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type OutboundRule interface { + OutboundRule() BaseOutboundRuleImpl +} + +var _ OutboundRule = BaseOutboundRuleImpl{} + +type BaseOutboundRuleImpl struct { + Category *RuleCategory `json:"category,omitempty"` + Status *RuleStatus `json:"status,omitempty"` + Type RuleType `json:"type"` +} + +func (s BaseOutboundRuleImpl) OutboundRule() BaseOutboundRuleImpl { + return s +} + +var _ OutboundRule = RawOutboundRuleImpl{} + +// RawOutboundRuleImpl is returned when the Discriminated Value doesn't match any of the defined types +// NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) +// and is used only for Deserialization (e.g. this cannot be used as a Request Payload). +type RawOutboundRuleImpl struct { + outboundRule BaseOutboundRuleImpl + Type string + Values map[string]interface{} +} + +func (s RawOutboundRuleImpl) OutboundRule() BaseOutboundRuleImpl { + return s.outboundRule +} + +func UnmarshalOutboundRuleImplementation(input []byte) (OutboundRule, error) { + if input == nil { + return nil, nil + } + + var temp map[string]interface{} + if err := json.Unmarshal(input, &temp); err != nil { + return nil, fmt.Errorf("unmarshaling OutboundRule into map[string]interface: %+v", err) + } + + var value string + if v, ok := temp["type"]; ok { + value = fmt.Sprintf("%v", v) + } + + if strings.EqualFold(value, "FQDN") { + var out FqdnOutboundRule + if err := json.Unmarshal(input, &out); err != nil { + return nil, fmt.Errorf("unmarshaling into FqdnOutboundRule: %+v", err) + } + return out, nil + } + + if strings.EqualFold(value, "PrivateEndpoint") { + var out PrivateEndpointOutboundRule + if err := json.Unmarshal(input, &out); err != nil { + return nil, fmt.Errorf("unmarshaling into PrivateEndpointOutboundRule: %+v", err) + } + return out, nil + } + + if strings.EqualFold(value, "ServiceTag") { + var out ServiceTagOutboundRule + if err := json.Unmarshal(input, &out); err != nil { + return nil, fmt.Errorf("unmarshaling into ServiceTagOutboundRule: %+v", err) + } + return out, nil + } + + var parent BaseOutboundRuleImpl + if err := json.Unmarshal(input, &parent); err != nil { + return nil, fmt.Errorf("unmarshaling into BaseOutboundRuleImpl: %+v", err) + } + + return RawOutboundRuleImpl{ + outboundRule: parent, + Type: value, + Values: temp, + }, nil + +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/machinelearningservices/2024-04-01/managednetwork/model_outboundrulebasicresource.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/machinelearningservices/2024-04-01/managednetwork/model_outboundrulebasicresource.go new file mode 100644 index 000000000000..8abeca48308c --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/machinelearningservices/2024-04-01/managednetwork/model_outboundrulebasicresource.go @@ -0,0 +1,53 @@ +package managednetwork + +import ( + "encoding/json" + "fmt" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/systemdata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type OutboundRuleBasicResource struct { + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties OutboundRule `json:"properties"` + SystemData *systemdata.SystemData `json:"systemData,omitempty"` + Type *string `json:"type,omitempty"` +} + +var _ json.Unmarshaler = &OutboundRuleBasicResource{} + +func (s *OutboundRuleBasicResource) UnmarshalJSON(bytes []byte) error { + var decoded struct { + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + SystemData *systemdata.SystemData `json:"systemData,omitempty"` + Type *string `json:"type,omitempty"` + } + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + + s.Id = decoded.Id + s.Name = decoded.Name + s.SystemData = decoded.SystemData + s.Type = decoded.Type + + var temp map[string]json.RawMessage + if err := json.Unmarshal(bytes, &temp); err != nil { + return fmt.Errorf("unmarshaling OutboundRuleBasicResource into map[string]json.RawMessage: %+v", err) + } + + if v, ok := temp["properties"]; ok { + impl, err := UnmarshalOutboundRuleImplementation(v) + if err != nil { + return fmt.Errorf("unmarshaling field 'Properties' for 'OutboundRuleBasicResource': %+v", err) + } + s.Properties = impl + } + + return nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/machinelearningservices/2024-04-01/managednetwork/model_privateendpointdestination.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/machinelearningservices/2024-04-01/managednetwork/model_privateendpointdestination.go new file mode 100644 index 000000000000..30060d85562a --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/machinelearningservices/2024-04-01/managednetwork/model_privateendpointdestination.go @@ -0,0 +1,11 @@ +package managednetwork + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PrivateEndpointDestination struct { + ServiceResourceId *string `json:"serviceResourceId,omitempty"` + SparkEnabled *bool `json:"sparkEnabled,omitempty"` + SparkStatus *RuleStatus `json:"sparkStatus,omitempty"` + SubresourceTarget *string `json:"subresourceTarget,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/machinelearningservices/2024-04-01/managednetwork/model_privateendpointoutboundrule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/machinelearningservices/2024-04-01/managednetwork/model_privateendpointoutboundrule.go new file mode 100644 index 000000000000..6bda20dd829c --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/machinelearningservices/2024-04-01/managednetwork/model_privateendpointoutboundrule.go @@ -0,0 +1,54 @@ +package managednetwork + +import ( + "encoding/json" + "fmt" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +var _ OutboundRule = PrivateEndpointOutboundRule{} + +type PrivateEndpointOutboundRule struct { + Destination *PrivateEndpointDestination `json:"destination,omitempty"` + + // Fields inherited from OutboundRule + + Category *RuleCategory `json:"category,omitempty"` + Status *RuleStatus `json:"status,omitempty"` + Type RuleType `json:"type"` +} + +func (s PrivateEndpointOutboundRule) OutboundRule() BaseOutboundRuleImpl { + return BaseOutboundRuleImpl{ + Category: s.Category, + Status: s.Status, + Type: s.Type, + } +} + +var _ json.Marshaler = PrivateEndpointOutboundRule{} + +func (s PrivateEndpointOutboundRule) MarshalJSON() ([]byte, error) { + type wrapper PrivateEndpointOutboundRule + wrapped := wrapper(s) + encoded, err := json.Marshal(wrapped) + if err != nil { + return nil, fmt.Errorf("marshaling PrivateEndpointOutboundRule: %+v", err) + } + + var decoded map[string]interface{} + if err = json.Unmarshal(encoded, &decoded); err != nil { + return nil, fmt.Errorf("unmarshaling PrivateEndpointOutboundRule: %+v", err) + } + + decoded["type"] = "PrivateEndpoint" + + encoded, err = json.Marshal(decoded) + if err != nil { + return nil, fmt.Errorf("re-marshaling PrivateEndpointOutboundRule: %+v", err) + } + + return encoded, nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/machinelearningservices/2024-04-01/managednetwork/model_servicetagdestination.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/machinelearningservices/2024-04-01/managednetwork/model_servicetagdestination.go new file mode 100644 index 000000000000..efbbd4e7c8de --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/machinelearningservices/2024-04-01/managednetwork/model_servicetagdestination.go @@ -0,0 +1,12 @@ +package managednetwork + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ServiceTagDestination struct { + Action *RuleAction `json:"action,omitempty"` + AddressPrefixes *[]string `json:"addressPrefixes,omitempty"` + PortRanges *string `json:"portRanges,omitempty"` + Protocol *string `json:"protocol,omitempty"` + ServiceTag *string `json:"serviceTag,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/machinelearningservices/2024-04-01/managednetwork/model_servicetagoutboundrule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/machinelearningservices/2024-04-01/managednetwork/model_servicetagoutboundrule.go new file mode 100644 index 000000000000..268a1b09c833 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/machinelearningservices/2024-04-01/managednetwork/model_servicetagoutboundrule.go @@ -0,0 +1,54 @@ +package managednetwork + +import ( + "encoding/json" + "fmt" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +var _ OutboundRule = ServiceTagOutboundRule{} + +type ServiceTagOutboundRule struct { + Destination *ServiceTagDestination `json:"destination,omitempty"` + + // Fields inherited from OutboundRule + + Category *RuleCategory `json:"category,omitempty"` + Status *RuleStatus `json:"status,omitempty"` + Type RuleType `json:"type"` +} + +func (s ServiceTagOutboundRule) OutboundRule() BaseOutboundRuleImpl { + return BaseOutboundRuleImpl{ + Category: s.Category, + Status: s.Status, + Type: s.Type, + } +} + +var _ json.Marshaler = ServiceTagOutboundRule{} + +func (s ServiceTagOutboundRule) MarshalJSON() ([]byte, error) { + type wrapper ServiceTagOutboundRule + wrapped := wrapper(s) + encoded, err := json.Marshal(wrapped) + if err != nil { + return nil, fmt.Errorf("marshaling ServiceTagOutboundRule: %+v", err) + } + + var decoded map[string]interface{} + if err = json.Unmarshal(encoded, &decoded); err != nil { + return nil, fmt.Errorf("unmarshaling ServiceTagOutboundRule: %+v", err) + } + + decoded["type"] = "ServiceTag" + + encoded, err = json.Marshal(decoded) + if err != nil { + return nil, fmt.Errorf("re-marshaling ServiceTagOutboundRule: %+v", err) + } + + return encoded, nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/machinelearningservices/2024-04-01/managednetwork/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/machinelearningservices/2024-04-01/managednetwork/predicates.go new file mode 100644 index 000000000000..960a0afdff58 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/machinelearningservices/2024-04-01/managednetwork/predicates.go @@ -0,0 +1,27 @@ +package managednetwork + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type OutboundRuleBasicResourceOperationPredicate struct { + Id *string + Name *string + Type *string +} + +func (p OutboundRuleBasicResourceOperationPredicate) Matches(input OutboundRuleBasicResource) bool { + + if p.Id != nil && (input.Id == nil || *p.Id != *input.Id) { + return false + } + + if p.Name != nil && (input.Name == nil || *p.Name != *input.Name) { + return false + } + + if p.Type != nil && (input.Type == nil || *p.Type != *input.Type) { + return false + } + + return true +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/machinelearningservices/2024-04-01/managednetwork/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/machinelearningservices/2024-04-01/managednetwork/version.go new file mode 100644 index 000000000000..178ee734db3c --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/machinelearningservices/2024-04-01/managednetwork/version.go @@ -0,0 +1,10 @@ +package managednetwork + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2024-04-01" + +func userAgent() string { + return "hashicorp/go-azure-sdk/managednetwork/2024-04-01" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/azureadadministrators/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/azureadadministrators/README.md deleted file mode 100644 index 4ce557909292..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/azureadadministrators/README.md +++ /dev/null @@ -1,82 +0,0 @@ - -## `github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/azureadadministrators` Documentation - -The `azureadadministrators` SDK allows for interaction with Azure Resource Manager `mysql` (API Version `2022-01-01`). - -This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). - -### Import Path - -```go -import "github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/azureadadministrators" -``` - - -### Client Initialization - -```go -client := azureadadministrators.NewAzureADAdministratorsClientWithBaseURI("https://management.azure.com") -client.Client.Authorizer = authorizer -``` - - -### Example Usage: `AzureADAdministratorsClient.CreateOrUpdate` - -```go -ctx := context.TODO() -id := azureadadministrators.NewFlexibleServerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "flexibleServerName") - -payload := azureadadministrators.AzureADAdministrator{ - // ... -} - - -if err := client.CreateOrUpdateThenPoll(ctx, id, payload); err != nil { - // handle the error -} -``` - - -### Example Usage: `AzureADAdministratorsClient.Delete` - -```go -ctx := context.TODO() -id := azureadadministrators.NewFlexibleServerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "flexibleServerName") - -if err := client.DeleteThenPoll(ctx, id); err != nil { - // handle the error -} -``` - - -### Example Usage: `AzureADAdministratorsClient.Get` - -```go -ctx := context.TODO() -id := azureadadministrators.NewFlexibleServerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "flexibleServerName") - -read, err := client.Get(ctx, id) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `AzureADAdministratorsClient.ListByServer` - -```go -ctx := context.TODO() -id := azureadadministrators.NewFlexibleServerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "flexibleServerName") - -// alternatively `client.ListByServer(ctx, id)` can be used to do batched pagination -items, err := client.ListByServerComplete(ctx, id) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/azureadadministrators/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/azureadadministrators/version.go deleted file mode 100644 index 397f8090aa1a..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/azureadadministrators/version.go +++ /dev/null @@ -1,10 +0,0 @@ -package azureadadministrators - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -const defaultApiVersion = "2022-01-01" - -func userAgent() string { - return "hashicorp/go-azure-sdk/azureadadministrators/2022-01-01" -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/backups/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/backups/README.md deleted file mode 100644 index bde206849008..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/backups/README.md +++ /dev/null @@ -1,69 +0,0 @@ - -## `github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/backups` Documentation - -The `backups` SDK allows for interaction with Azure Resource Manager `mysql` (API Version `2022-01-01`). - -This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). - -### Import Path - -```go -import "github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/backups" -``` - - -### Client Initialization - -```go -client := backups.NewBackupsClientWithBaseURI("https://management.azure.com") -client.Client.Authorizer = authorizer -``` - - -### Example Usage: `BackupsClient.Get` - -```go -ctx := context.TODO() -id := backups.NewBackupID("12345678-1234-9876-4563-123456789012", "example-resource-group", "flexibleServerName", "backupName") - -read, err := client.Get(ctx, id) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `BackupsClient.ListByServer` - -```go -ctx := context.TODO() -id := backups.NewFlexibleServerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "flexibleServerName") - -// alternatively `client.ListByServer(ctx, id)` can be used to do batched pagination -items, err := client.ListByServerComplete(ctx, id) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` - - -### Example Usage: `BackupsClient.Put` - -```go -ctx := context.TODO() -id := backups.NewBackupID("12345678-1234-9876-4563-123456789012", "example-resource-group", "flexibleServerName", "backupName") - -read, err := client.Put(ctx, id) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/backups/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/backups/version.go deleted file mode 100644 index 2ce3b030269d..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/backups/version.go +++ /dev/null @@ -1,10 +0,0 @@ -package backups - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -const defaultApiVersion = "2022-01-01" - -func userAgent() string { - return "hashicorp/go-azure-sdk/backups/2022-01-01" -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/checknameavailability/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/checknameavailability/README.md deleted file mode 100644 index 3c36f60a77c6..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/checknameavailability/README.md +++ /dev/null @@ -1,63 +0,0 @@ - -## `github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/checknameavailability` Documentation - -The `checknameavailability` SDK allows for interaction with Azure Resource Manager `mysql` (API Version `2022-01-01`). - -This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). - -### Import Path - -```go -import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" -import "github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/checknameavailability" -``` - - -### Client Initialization - -```go -client := checknameavailability.NewCheckNameAvailabilityClientWithBaseURI("https://management.azure.com") -client.Client.Authorizer = authorizer -``` - - -### Example Usage: `CheckNameAvailabilityClient.Execute` - -```go -ctx := context.TODO() -id := checknameavailability.NewLocationID("12345678-1234-9876-4563-123456789012", "locationName") - -payload := checknameavailability.NameAvailabilityRequest{ - // ... -} - - -read, err := client.Execute(ctx, id, payload) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `CheckNameAvailabilityClient.WithoutLocationExecute` - -```go -ctx := context.TODO() -id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012") - -payload := checknameavailability.NameAvailabilityRequest{ - // ... -} - - -read, err := client.WithoutLocationExecute(ctx, id, payload) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/checknameavailability/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/checknameavailability/version.go deleted file mode 100644 index d551067987e6..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/checknameavailability/version.go +++ /dev/null @@ -1,10 +0,0 @@ -package checknameavailability - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -const defaultApiVersion = "2022-01-01" - -func userAgent() string { - return "hashicorp/go-azure-sdk/checknameavailability/2022-01-01" -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/client.go deleted file mode 100644 index 68a55624f0cd..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/client.go +++ /dev/null @@ -1,145 +0,0 @@ -package v2022_01_01 - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -import ( - "fmt" - - "github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/azureadadministrators" - "github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/backups" - "github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/checknameavailability" - "github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/configurations" - "github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/databases" - "github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/firewallrules" - "github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/getprivatednszonesuffix" - "github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/locationbasedcapabilities" - "github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/logfiles" - "github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/serverfailover" - "github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/serverrestart" - "github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/servers" - "github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/serverstart" - "github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/serverstop" - "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" - sdkEnv "github.com/hashicorp/go-azure-sdk/sdk/environments" -) - -type Client struct { - AzureADAdministrators *azureadadministrators.AzureADAdministratorsClient - Backups *backups.BackupsClient - CheckNameAvailability *checknameavailability.CheckNameAvailabilityClient - Configurations *configurations.ConfigurationsClient - Databases *databases.DatabasesClient - FirewallRules *firewallrules.FirewallRulesClient - GetPrivateDnsZoneSuffix *getprivatednszonesuffix.GetPrivateDnsZoneSuffixClient - LocationBasedCapabilities *locationbasedcapabilities.LocationBasedCapabilitiesClient - LogFiles *logfiles.LogFilesClient - ServerFailover *serverfailover.ServerFailoverClient - ServerRestart *serverrestart.ServerRestartClient - ServerStart *serverstart.ServerStartClient - ServerStop *serverstop.ServerStopClient - Servers *servers.ServersClient -} - -func NewClientWithBaseURI(sdkApi sdkEnv.Api, configureFunc func(c *resourcemanager.Client)) (*Client, error) { - azureADAdministratorsClient, err := azureadadministrators.NewAzureADAdministratorsClientWithBaseURI(sdkApi) - if err != nil { - return nil, fmt.Errorf("building AzureADAdministrators client: %+v", err) - } - configureFunc(azureADAdministratorsClient.Client) - - backupsClient, err := backups.NewBackupsClientWithBaseURI(sdkApi) - if err != nil { - return nil, fmt.Errorf("building Backups client: %+v", err) - } - configureFunc(backupsClient.Client) - - checkNameAvailabilityClient, err := checknameavailability.NewCheckNameAvailabilityClientWithBaseURI(sdkApi) - if err != nil { - return nil, fmt.Errorf("building CheckNameAvailability client: %+v", err) - } - configureFunc(checkNameAvailabilityClient.Client) - - configurationsClient, err := configurations.NewConfigurationsClientWithBaseURI(sdkApi) - if err != nil { - return nil, fmt.Errorf("building Configurations client: %+v", err) - } - configureFunc(configurationsClient.Client) - - databasesClient, err := databases.NewDatabasesClientWithBaseURI(sdkApi) - if err != nil { - return nil, fmt.Errorf("building Databases client: %+v", err) - } - configureFunc(databasesClient.Client) - - firewallRulesClient, err := firewallrules.NewFirewallRulesClientWithBaseURI(sdkApi) - if err != nil { - return nil, fmt.Errorf("building FirewallRules client: %+v", err) - } - configureFunc(firewallRulesClient.Client) - - getPrivateDnsZoneSuffixClient, err := getprivatednszonesuffix.NewGetPrivateDnsZoneSuffixClientWithBaseURI(sdkApi) - if err != nil { - return nil, fmt.Errorf("building GetPrivateDnsZoneSuffix client: %+v", err) - } - configureFunc(getPrivateDnsZoneSuffixClient.Client) - - locationBasedCapabilitiesClient, err := locationbasedcapabilities.NewLocationBasedCapabilitiesClientWithBaseURI(sdkApi) - if err != nil { - return nil, fmt.Errorf("building LocationBasedCapabilities client: %+v", err) - } - configureFunc(locationBasedCapabilitiesClient.Client) - - logFilesClient, err := logfiles.NewLogFilesClientWithBaseURI(sdkApi) - if err != nil { - return nil, fmt.Errorf("building LogFiles client: %+v", err) - } - configureFunc(logFilesClient.Client) - - serverFailoverClient, err := serverfailover.NewServerFailoverClientWithBaseURI(sdkApi) - if err != nil { - return nil, fmt.Errorf("building ServerFailover client: %+v", err) - } - configureFunc(serverFailoverClient.Client) - - serverRestartClient, err := serverrestart.NewServerRestartClientWithBaseURI(sdkApi) - if err != nil { - return nil, fmt.Errorf("building ServerRestart client: %+v", err) - } - configureFunc(serverRestartClient.Client) - - serverStartClient, err := serverstart.NewServerStartClientWithBaseURI(sdkApi) - if err != nil { - return nil, fmt.Errorf("building ServerStart client: %+v", err) - } - configureFunc(serverStartClient.Client) - - serverStopClient, err := serverstop.NewServerStopClientWithBaseURI(sdkApi) - if err != nil { - return nil, fmt.Errorf("building ServerStop client: %+v", err) - } - configureFunc(serverStopClient.Client) - - serversClient, err := servers.NewServersClientWithBaseURI(sdkApi) - if err != nil { - return nil, fmt.Errorf("building Servers client: %+v", err) - } - configureFunc(serversClient.Client) - - return &Client{ - AzureADAdministrators: azureADAdministratorsClient, - Backups: backupsClient, - CheckNameAvailability: checkNameAvailabilityClient, - Configurations: configurationsClient, - Databases: databasesClient, - FirewallRules: firewallRulesClient, - GetPrivateDnsZoneSuffix: getPrivateDnsZoneSuffixClient, - LocationBasedCapabilities: locationBasedCapabilitiesClient, - LogFiles: logFilesClient, - ServerFailover: serverFailoverClient, - ServerRestart: serverRestartClient, - ServerStart: serverStartClient, - ServerStop: serverStopClient, - Servers: serversClient, - }, nil -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/configurations/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/configurations/README.md deleted file mode 100644 index 5f120d1257cc..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/configurations/README.md +++ /dev/null @@ -1,109 +0,0 @@ - -## `github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/configurations` Documentation - -The `configurations` SDK allows for interaction with Azure Resource Manager `mysql` (API Version `2022-01-01`). - -This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). - -### Import Path - -```go -import "github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/configurations" -``` - - -### Client Initialization - -```go -client := configurations.NewConfigurationsClientWithBaseURI("https://management.azure.com") -client.Client.Authorizer = authorizer -``` - - -### Example Usage: `ConfigurationsClient.BatchUpdate` - -```go -ctx := context.TODO() -id := configurations.NewFlexibleServerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "flexibleServerName") - -payload := configurations.ConfigurationListForBatchUpdate{ - // ... -} - - -// alternatively `client.BatchUpdate(ctx, id, payload)` can be used to do batched pagination -items, err := client.BatchUpdateComplete(ctx, id, payload) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` - - -### Example Usage: `ConfigurationsClient.CreateOrUpdate` - -```go -ctx := context.TODO() -id := configurations.NewConfigurationID("12345678-1234-9876-4563-123456789012", "example-resource-group", "flexibleServerName", "configurationName") - -payload := configurations.Configuration{ - // ... -} - - -if err := client.CreateOrUpdateThenPoll(ctx, id, payload); err != nil { - // handle the error -} -``` - - -### Example Usage: `ConfigurationsClient.Get` - -```go -ctx := context.TODO() -id := configurations.NewConfigurationID("12345678-1234-9876-4563-123456789012", "example-resource-group", "flexibleServerName", "configurationName") - -read, err := client.Get(ctx, id) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `ConfigurationsClient.ListByServer` - -```go -ctx := context.TODO() -id := configurations.NewFlexibleServerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "flexibleServerName") - -// alternatively `client.ListByServer(ctx, id, configurations.DefaultListByServerOperationOptions())` can be used to do batched pagination -items, err := client.ListByServerComplete(ctx, id, configurations.DefaultListByServerOperationOptions()) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` - - -### Example Usage: `ConfigurationsClient.Update` - -```go -ctx := context.TODO() -id := configurations.NewConfigurationID("12345678-1234-9876-4563-123456789012", "example-resource-group", "flexibleServerName", "configurationName") - -payload := configurations.Configuration{ - // ... -} - - -if err := client.UpdateThenPoll(ctx, id, payload); err != nil { - // handle the error -} -``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/configurations/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/configurations/version.go deleted file mode 100644 index 76611e0f07eb..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/configurations/version.go +++ /dev/null @@ -1,10 +0,0 @@ -package configurations - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -const defaultApiVersion = "2022-01-01" - -func userAgent() string { - return "hashicorp/go-azure-sdk/configurations/2022-01-01" -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/databases/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/databases/README.md deleted file mode 100644 index c09e800f36b6..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/databases/README.md +++ /dev/null @@ -1,82 +0,0 @@ - -## `github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/databases` Documentation - -The `databases` SDK allows for interaction with Azure Resource Manager `mysql` (API Version `2022-01-01`). - -This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). - -### Import Path - -```go -import "github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/databases" -``` - - -### Client Initialization - -```go -client := databases.NewDatabasesClientWithBaseURI("https://management.azure.com") -client.Client.Authorizer = authorizer -``` - - -### Example Usage: `DatabasesClient.CreateOrUpdate` - -```go -ctx := context.TODO() -id := databases.NewDatabaseID("12345678-1234-9876-4563-123456789012", "example-resource-group", "flexibleServerName", "databaseName") - -payload := databases.Database{ - // ... -} - - -if err := client.CreateOrUpdateThenPoll(ctx, id, payload); err != nil { - // handle the error -} -``` - - -### Example Usage: `DatabasesClient.Delete` - -```go -ctx := context.TODO() -id := databases.NewDatabaseID("12345678-1234-9876-4563-123456789012", "example-resource-group", "flexibleServerName", "databaseName") - -if err := client.DeleteThenPoll(ctx, id); err != nil { - // handle the error -} -``` - - -### Example Usage: `DatabasesClient.Get` - -```go -ctx := context.TODO() -id := databases.NewDatabaseID("12345678-1234-9876-4563-123456789012", "example-resource-group", "flexibleServerName", "databaseName") - -read, err := client.Get(ctx, id) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `DatabasesClient.ListByServer` - -```go -ctx := context.TODO() -id := databases.NewFlexibleServerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "flexibleServerName") - -// alternatively `client.ListByServer(ctx, id)` can be used to do batched pagination -items, err := client.ListByServerComplete(ctx, id) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/databases/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/databases/version.go deleted file mode 100644 index 4db681f665c2..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/databases/version.go +++ /dev/null @@ -1,10 +0,0 @@ -package databases - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -const defaultApiVersion = "2022-01-01" - -func userAgent() string { - return "hashicorp/go-azure-sdk/databases/2022-01-01" -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/firewallrules/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/firewallrules/README.md deleted file mode 100644 index ed31f4108ed3..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/firewallrules/README.md +++ /dev/null @@ -1,82 +0,0 @@ - -## `github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/firewallrules` Documentation - -The `firewallrules` SDK allows for interaction with Azure Resource Manager `mysql` (API Version `2022-01-01`). - -This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). - -### Import Path - -```go -import "github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/firewallrules" -``` - - -### Client Initialization - -```go -client := firewallrules.NewFirewallRulesClientWithBaseURI("https://management.azure.com") -client.Client.Authorizer = authorizer -``` - - -### Example Usage: `FirewallRulesClient.CreateOrUpdate` - -```go -ctx := context.TODO() -id := firewallrules.NewFirewallRuleID("12345678-1234-9876-4563-123456789012", "example-resource-group", "flexibleServerName", "firewallRuleName") - -payload := firewallrules.FirewallRule{ - // ... -} - - -if err := client.CreateOrUpdateThenPoll(ctx, id, payload); err != nil { - // handle the error -} -``` - - -### Example Usage: `FirewallRulesClient.Delete` - -```go -ctx := context.TODO() -id := firewallrules.NewFirewallRuleID("12345678-1234-9876-4563-123456789012", "example-resource-group", "flexibleServerName", "firewallRuleName") - -if err := client.DeleteThenPoll(ctx, id); err != nil { - // handle the error -} -``` - - -### Example Usage: `FirewallRulesClient.Get` - -```go -ctx := context.TODO() -id := firewallrules.NewFirewallRuleID("12345678-1234-9876-4563-123456789012", "example-resource-group", "flexibleServerName", "firewallRuleName") - -read, err := client.Get(ctx, id) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `FirewallRulesClient.ListByServer` - -```go -ctx := context.TODO() -id := firewallrules.NewFlexibleServerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "flexibleServerName") - -// alternatively `client.ListByServer(ctx, id)` can be used to do batched pagination -items, err := client.ListByServerComplete(ctx, id) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/firewallrules/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/firewallrules/version.go deleted file mode 100644 index 086290b4d014..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/firewallrules/version.go +++ /dev/null @@ -1,10 +0,0 @@ -package firewallrules - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -const defaultApiVersion = "2022-01-01" - -func userAgent() string { - return "hashicorp/go-azure-sdk/firewallrules/2022-01-01" -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/getprivatednszonesuffix/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/getprivatednszonesuffix/README.md deleted file mode 100644 index ddf9c6f83792..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/getprivatednszonesuffix/README.md +++ /dev/null @@ -1,36 +0,0 @@ - -## `github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/getprivatednszonesuffix` Documentation - -The `getprivatednszonesuffix` SDK allows for interaction with Azure Resource Manager `mysql` (API Version `2022-01-01`). - -This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). - -### Import Path - -```go -import "github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/getprivatednszonesuffix" -``` - - -### Client Initialization - -```go -client := getprivatednszonesuffix.NewGetPrivateDnsZoneSuffixClientWithBaseURI("https://management.azure.com") -client.Client.Authorizer = authorizer -``` - - -### Example Usage: `GetPrivateDnsZoneSuffixClient.Execute` - -```go -ctx := context.TODO() - - -read, err := client.Execute(ctx) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/getprivatednszonesuffix/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/getprivatednszonesuffix/version.go deleted file mode 100644 index d6e350b825e0..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/getprivatednszonesuffix/version.go +++ /dev/null @@ -1,10 +0,0 @@ -package getprivatednszonesuffix - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -const defaultApiVersion = "2022-01-01" - -func userAgent() string { - return "hashicorp/go-azure-sdk/getprivatednszonesuffix/2022-01-01" -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/locationbasedcapabilities/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/locationbasedcapabilities/README.md deleted file mode 100644 index b85d169036f6..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/locationbasedcapabilities/README.md +++ /dev/null @@ -1,37 +0,0 @@ - -## `github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/locationbasedcapabilities` Documentation - -The `locationbasedcapabilities` SDK allows for interaction with Azure Resource Manager `mysql` (API Version `2022-01-01`). - -This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). - -### Import Path - -```go -import "github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/locationbasedcapabilities" -``` - - -### Client Initialization - -```go -client := locationbasedcapabilities.NewLocationBasedCapabilitiesClientWithBaseURI("https://management.azure.com") -client.Client.Authorizer = authorizer -``` - - -### Example Usage: `LocationBasedCapabilitiesClient.List` - -```go -ctx := context.TODO() -id := locationbasedcapabilities.NewLocationID("12345678-1234-9876-4563-123456789012", "locationName") - -// alternatively `client.List(ctx, id)` can be used to do batched pagination -items, err := client.ListComplete(ctx, id) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/locationbasedcapabilities/model_storageeditioncapability.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/locationbasedcapabilities/model_storageeditioncapability.go deleted file mode 100644 index 51b5e0dd2a04..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/locationbasedcapabilities/model_storageeditioncapability.go +++ /dev/null @@ -1,12 +0,0 @@ -package locationbasedcapabilities - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -type StorageEditionCapability struct { - MaxBackupRetentionDays *int64 `json:"maxBackupRetentionDays,omitempty"` - MaxStorageSize *int64 `json:"maxStorageSize,omitempty"` - MinBackupRetentionDays *int64 `json:"minBackupRetentionDays,omitempty"` - MinStorageSize *int64 `json:"minStorageSize,omitempty"` - Name *string `json:"name,omitempty"` -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/locationbasedcapabilities/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/locationbasedcapabilities/version.go deleted file mode 100644 index 3dbfeafab2e9..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/locationbasedcapabilities/version.go +++ /dev/null @@ -1,10 +0,0 @@ -package locationbasedcapabilities - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -const defaultApiVersion = "2022-01-01" - -func userAgent() string { - return "hashicorp/go-azure-sdk/locationbasedcapabilities/2022-01-01" -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/logfiles/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/logfiles/README.md deleted file mode 100644 index ca63e6b18ba6..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/logfiles/README.md +++ /dev/null @@ -1,37 +0,0 @@ - -## `github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/logfiles` Documentation - -The `logfiles` SDK allows for interaction with Azure Resource Manager `mysql` (API Version `2022-01-01`). - -This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). - -### Import Path - -```go -import "github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/logfiles" -``` - - -### Client Initialization - -```go -client := logfiles.NewLogFilesClientWithBaseURI("https://management.azure.com") -client.Client.Authorizer = authorizer -``` - - -### Example Usage: `LogFilesClient.ListByServer` - -```go -ctx := context.TODO() -id := logfiles.NewFlexibleServerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "flexibleServerName") - -// alternatively `client.ListByServer(ctx, id)` can be used to do batched pagination -items, err := client.ListByServerComplete(ctx, id) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/logfiles/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/logfiles/version.go deleted file mode 100644 index f579fd4b1c62..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/logfiles/version.go +++ /dev/null @@ -1,10 +0,0 @@ -package logfiles - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -const defaultApiVersion = "2022-01-01" - -func userAgent() string { - return "hashicorp/go-azure-sdk/logfiles/2022-01-01" -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/serverfailover/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/serverfailover/version.go deleted file mode 100644 index 96583d28939e..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/serverfailover/version.go +++ /dev/null @@ -1,10 +0,0 @@ -package serverfailover - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -const defaultApiVersion = "2022-01-01" - -func userAgent() string { - return "hashicorp/go-azure-sdk/serverfailover/2022-01-01" -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/serverrestart/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/serverrestart/README.md deleted file mode 100644 index 7f82a46480ab..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/serverrestart/README.md +++ /dev/null @@ -1,37 +0,0 @@ - -## `github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/serverrestart` Documentation - -The `serverrestart` SDK allows for interaction with Azure Resource Manager `mysql` (API Version `2022-01-01`). - -This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). - -### Import Path - -```go -import "github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/serverrestart" -``` - - -### Client Initialization - -```go -client := serverrestart.NewServerRestartClientWithBaseURI("https://management.azure.com") -client.Client.Authorizer = authorizer -``` - - -### Example Usage: `ServerRestartClient.ServersRestart` - -```go -ctx := context.TODO() -id := serverrestart.NewFlexibleServerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "flexibleServerName") - -payload := serverrestart.ServerRestartParameter{ - // ... -} - - -if err := client.ServersRestartThenPoll(ctx, id, payload); err != nil { - // handle the error -} -``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/serverrestart/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/serverrestart/version.go deleted file mode 100644 index abea028194d4..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/serverrestart/version.go +++ /dev/null @@ -1,10 +0,0 @@ -package serverrestart - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -const defaultApiVersion = "2022-01-01" - -func userAgent() string { - return "hashicorp/go-azure-sdk/serverrestart/2022-01-01" -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/servers/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/servers/README.md deleted file mode 100644 index 236480b5f42b..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/servers/README.md +++ /dev/null @@ -1,134 +0,0 @@ - -## `github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/servers` Documentation - -The `servers` SDK allows for interaction with Azure Resource Manager `mysql` (API Version `2022-01-01`). - -This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). - -### Import Path - -```go -import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" -import "github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/servers" -``` - - -### Client Initialization - -```go -client := servers.NewServersClientWithBaseURI("https://management.azure.com") -client.Client.Authorizer = authorizer -``` - - -### Example Usage: `ServersClient.Create` - -```go -ctx := context.TODO() -id := servers.NewFlexibleServerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "flexibleServerName") - -payload := servers.Server{ - // ... -} - - -if err := client.CreateThenPoll(ctx, id, payload); err != nil { - // handle the error -} -``` - - -### Example Usage: `ServersClient.Delete` - -```go -ctx := context.TODO() -id := servers.NewFlexibleServerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "flexibleServerName") - -if err := client.DeleteThenPoll(ctx, id); err != nil { - // handle the error -} -``` - - -### Example Usage: `ServersClient.Get` - -```go -ctx := context.TODO() -id := servers.NewFlexibleServerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "flexibleServerName") - -read, err := client.Get(ctx, id) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `ServersClient.List` - -```go -ctx := context.TODO() -id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012") - -// alternatively `client.List(ctx, id)` can be used to do batched pagination -items, err := client.ListComplete(ctx, id) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` - - -### Example Usage: `ServersClient.ListByResourceGroup` - -```go -ctx := context.TODO() -id := commonids.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group") - -// alternatively `client.ListByResourceGroup(ctx, id)` can be used to do batched pagination -items, err := client.ListByResourceGroupComplete(ctx, id) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` - - -### Example Usage: `ServersClient.ReplicasListByServer` - -```go -ctx := context.TODO() -id := servers.NewFlexibleServerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "flexibleServerName") - -// alternatively `client.ReplicasListByServer(ctx, id)` can be used to do batched pagination -items, err := client.ReplicasListByServerComplete(ctx, id) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` - - -### Example Usage: `ServersClient.Update` - -```go -ctx := context.TODO() -id := servers.NewFlexibleServerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "flexibleServerName") - -payload := servers.ServerForUpdate{ - // ... -} - - -if err := client.UpdateThenPoll(ctx, id, payload); err != nil { - // handle the error -} -``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/servers/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/servers/constants.go deleted file mode 100644 index 38f0dee4a21c..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/servers/constants.go +++ /dev/null @@ -1,456 +0,0 @@ -package servers - -import ( - "encoding/json" - "fmt" - "strings" -) - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -type CreateMode string - -const ( - CreateModeDefault CreateMode = "Default" - CreateModeGeoRestore CreateMode = "GeoRestore" - CreateModePointInTimeRestore CreateMode = "PointInTimeRestore" - CreateModeReplica CreateMode = "Replica" -) - -func PossibleValuesForCreateMode() []string { - return []string{ - string(CreateModeDefault), - string(CreateModeGeoRestore), - string(CreateModePointInTimeRestore), - string(CreateModeReplica), - } -} - -func (s *CreateMode) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseCreateMode(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseCreateMode(input string) (*CreateMode, error) { - vals := map[string]CreateMode{ - "default": CreateModeDefault, - "georestore": CreateModeGeoRestore, - "pointintimerestore": CreateModePointInTimeRestore, - "replica": CreateModeReplica, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := CreateMode(input) - return &out, nil -} - -type DataEncryptionType string - -const ( - DataEncryptionTypeAzureKeyVault DataEncryptionType = "AzureKeyVault" - DataEncryptionTypeSystemManaged DataEncryptionType = "SystemManaged" -) - -func PossibleValuesForDataEncryptionType() []string { - return []string{ - string(DataEncryptionTypeAzureKeyVault), - string(DataEncryptionTypeSystemManaged), - } -} - -func (s *DataEncryptionType) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseDataEncryptionType(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseDataEncryptionType(input string) (*DataEncryptionType, error) { - vals := map[string]DataEncryptionType{ - "azurekeyvault": DataEncryptionTypeAzureKeyVault, - "systemmanaged": DataEncryptionTypeSystemManaged, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := DataEncryptionType(input) - return &out, nil -} - -type EnableStatusEnum string - -const ( - EnableStatusEnumDisabled EnableStatusEnum = "Disabled" - EnableStatusEnumEnabled EnableStatusEnum = "Enabled" -) - -func PossibleValuesForEnableStatusEnum() []string { - return []string{ - string(EnableStatusEnumDisabled), - string(EnableStatusEnumEnabled), - } -} - -func (s *EnableStatusEnum) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseEnableStatusEnum(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseEnableStatusEnum(input string) (*EnableStatusEnum, error) { - vals := map[string]EnableStatusEnum{ - "disabled": EnableStatusEnumDisabled, - "enabled": EnableStatusEnumEnabled, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := EnableStatusEnum(input) - return &out, nil -} - -type HighAvailabilityMode string - -const ( - HighAvailabilityModeDisabled HighAvailabilityMode = "Disabled" - HighAvailabilityModeSameZone HighAvailabilityMode = "SameZone" - HighAvailabilityModeZoneRedundant HighAvailabilityMode = "ZoneRedundant" -) - -func PossibleValuesForHighAvailabilityMode() []string { - return []string{ - string(HighAvailabilityModeDisabled), - string(HighAvailabilityModeSameZone), - string(HighAvailabilityModeZoneRedundant), - } -} - -func (s *HighAvailabilityMode) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseHighAvailabilityMode(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseHighAvailabilityMode(input string) (*HighAvailabilityMode, error) { - vals := map[string]HighAvailabilityMode{ - "disabled": HighAvailabilityModeDisabled, - "samezone": HighAvailabilityModeSameZone, - "zoneredundant": HighAvailabilityModeZoneRedundant, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := HighAvailabilityMode(input) - return &out, nil -} - -type HighAvailabilityState string - -const ( - HighAvailabilityStateCreatingStandby HighAvailabilityState = "CreatingStandby" - HighAvailabilityStateFailingOver HighAvailabilityState = "FailingOver" - HighAvailabilityStateHealthy HighAvailabilityState = "Healthy" - HighAvailabilityStateNotEnabled HighAvailabilityState = "NotEnabled" - HighAvailabilityStateRemovingStandby HighAvailabilityState = "RemovingStandby" -) - -func PossibleValuesForHighAvailabilityState() []string { - return []string{ - string(HighAvailabilityStateCreatingStandby), - string(HighAvailabilityStateFailingOver), - string(HighAvailabilityStateHealthy), - string(HighAvailabilityStateNotEnabled), - string(HighAvailabilityStateRemovingStandby), - } -} - -func (s *HighAvailabilityState) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseHighAvailabilityState(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseHighAvailabilityState(input string) (*HighAvailabilityState, error) { - vals := map[string]HighAvailabilityState{ - "creatingstandby": HighAvailabilityStateCreatingStandby, - "failingover": HighAvailabilityStateFailingOver, - "healthy": HighAvailabilityStateHealthy, - "notenabled": HighAvailabilityStateNotEnabled, - "removingstandby": HighAvailabilityStateRemovingStandby, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := HighAvailabilityState(input) - return &out, nil -} - -type ManagedServiceIdentityType string - -const ( - ManagedServiceIdentityTypeUserAssigned ManagedServiceIdentityType = "UserAssigned" -) - -func PossibleValuesForManagedServiceIdentityType() []string { - return []string{ - string(ManagedServiceIdentityTypeUserAssigned), - } -} - -func (s *ManagedServiceIdentityType) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseManagedServiceIdentityType(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseManagedServiceIdentityType(input string) (*ManagedServiceIdentityType, error) { - vals := map[string]ManagedServiceIdentityType{ - "userassigned": ManagedServiceIdentityTypeUserAssigned, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := ManagedServiceIdentityType(input) - return &out, nil -} - -type ReplicationRole string - -const ( - ReplicationRoleNone ReplicationRole = "None" - ReplicationRoleReplica ReplicationRole = "Replica" - ReplicationRoleSource ReplicationRole = "Source" -) - -func PossibleValuesForReplicationRole() []string { - return []string{ - string(ReplicationRoleNone), - string(ReplicationRoleReplica), - string(ReplicationRoleSource), - } -} - -func (s *ReplicationRole) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseReplicationRole(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseReplicationRole(input string) (*ReplicationRole, error) { - vals := map[string]ReplicationRole{ - "none": ReplicationRoleNone, - "replica": ReplicationRoleReplica, - "source": ReplicationRoleSource, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := ReplicationRole(input) - return &out, nil -} - -type ServerState string - -const ( - ServerStateDisabled ServerState = "Disabled" - ServerStateDropping ServerState = "Dropping" - ServerStateReady ServerState = "Ready" - ServerStateStarting ServerState = "Starting" - ServerStateStopped ServerState = "Stopped" - ServerStateStopping ServerState = "Stopping" - ServerStateUpdating ServerState = "Updating" -) - -func PossibleValuesForServerState() []string { - return []string{ - string(ServerStateDisabled), - string(ServerStateDropping), - string(ServerStateReady), - string(ServerStateStarting), - string(ServerStateStopped), - string(ServerStateStopping), - string(ServerStateUpdating), - } -} - -func (s *ServerState) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseServerState(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseServerState(input string) (*ServerState, error) { - vals := map[string]ServerState{ - "disabled": ServerStateDisabled, - "dropping": ServerStateDropping, - "ready": ServerStateReady, - "starting": ServerStateStarting, - "stopped": ServerStateStopped, - "stopping": ServerStateStopping, - "updating": ServerStateUpdating, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := ServerState(input) - return &out, nil -} - -type ServerVersion string - -const ( - ServerVersionEightPointZeroPointTwoOne ServerVersion = "8.0.21" - ServerVersionFivePointSeven ServerVersion = "5.7" -) - -func PossibleValuesForServerVersion() []string { - return []string{ - string(ServerVersionEightPointZeroPointTwoOne), - string(ServerVersionFivePointSeven), - } -} - -func (s *ServerVersion) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseServerVersion(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseServerVersion(input string) (*ServerVersion, error) { - vals := map[string]ServerVersion{ - "8.0.21": ServerVersionEightPointZeroPointTwoOne, - "5.7": ServerVersionFivePointSeven, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := ServerVersion(input) - return &out, nil -} - -type SkuTier string - -const ( - SkuTierBurstable SkuTier = "Burstable" - SkuTierGeneralPurpose SkuTier = "GeneralPurpose" - SkuTierMemoryOptimized SkuTier = "MemoryOptimized" -) - -func PossibleValuesForSkuTier() []string { - return []string{ - string(SkuTierBurstable), - string(SkuTierGeneralPurpose), - string(SkuTierMemoryOptimized), - } -} - -func (s *SkuTier) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseSkuTier(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseSkuTier(input string) (*SkuTier, error) { - vals := map[string]SkuTier{ - "burstable": SkuTierBurstable, - "generalpurpose": SkuTierGeneralPurpose, - "memoryoptimized": SkuTierMemoryOptimized, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := SkuTier(input) - return &out, nil -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/servers/model_backup.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/servers/model_backup.go deleted file mode 100644 index ed773f8c045c..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/servers/model_backup.go +++ /dev/null @@ -1,28 +0,0 @@ -package servers - -import ( - "time" - - "github.com/hashicorp/go-azure-helpers/lang/dates" -) - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -type Backup struct { - BackupRetentionDays *int64 `json:"backupRetentionDays,omitempty"` - EarliestRestoreDate *string `json:"earliestRestoreDate,omitempty"` - GeoRedundantBackup *EnableStatusEnum `json:"geoRedundantBackup,omitempty"` -} - -func (o *Backup) GetEarliestRestoreDateAsTime() (*time.Time, error) { - if o.EarliestRestoreDate == nil { - return nil, nil - } - return dates.ParseAsFormat(o.EarliestRestoreDate, "2006-01-02T15:04:05Z07:00") -} - -func (o *Backup) SetEarliestRestoreDateAsTime(input time.Time) { - formatted := input.Format("2006-01-02T15:04:05Z07:00") - o.EarliestRestoreDate = &formatted -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/servers/model_identity.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/servers/model_identity.go deleted file mode 100644 index 505b3fcb5542..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/servers/model_identity.go +++ /dev/null @@ -1,11 +0,0 @@ -package servers - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -type Identity struct { - PrincipalId *string `json:"principalId,omitempty"` - TenantId *string `json:"tenantId,omitempty"` - Type *ManagedServiceIdentityType `json:"type,omitempty"` - UserAssignedIdentities *map[string]interface{} `json:"userAssignedIdentities,omitempty"` -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/servers/model_server.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/servers/model_server.go deleted file mode 100644 index 3dfd49fbcae5..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/servers/model_server.go +++ /dev/null @@ -1,20 +0,0 @@ -package servers - -import ( - "github.com/hashicorp/go-azure-helpers/resourcemanager/systemdata" -) - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -type Server struct { - Id *string `json:"id,omitempty"` - Identity *Identity `json:"identity,omitempty"` - Location string `json:"location"` - Name *string `json:"name,omitempty"` - Properties *ServerProperties `json:"properties,omitempty"` - Sku *Sku `json:"sku,omitempty"` - SystemData *systemdata.SystemData `json:"systemData,omitempty"` - Tags *map[string]string `json:"tags,omitempty"` - Type *string `json:"type,omitempty"` -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/servers/model_serverforupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/servers/model_serverforupdate.go deleted file mode 100644 index 23c929808c17..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/servers/model_serverforupdate.go +++ /dev/null @@ -1,11 +0,0 @@ -package servers - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -type ServerForUpdate struct { - Identity *Identity `json:"identity,omitempty"` - Properties *ServerPropertiesForUpdate `json:"properties,omitempty"` - Sku *Sku `json:"sku,omitempty"` - Tags *map[string]string `json:"tags,omitempty"` -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/servers/model_serverproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/servers/model_serverproperties.go deleted file mode 100644 index c5e3bd0ae84a..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/servers/model_serverproperties.go +++ /dev/null @@ -1,42 +0,0 @@ -package servers - -import ( - "time" - - "github.com/hashicorp/go-azure-helpers/lang/dates" -) - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -type ServerProperties struct { - AdministratorLogin *string `json:"administratorLogin,omitempty"` - AdministratorLoginPassword *string `json:"administratorLoginPassword,omitempty"` - AvailabilityZone *string `json:"availabilityZone,omitempty"` - Backup *Backup `json:"backup,omitempty"` - CreateMode *CreateMode `json:"createMode,omitempty"` - DataEncryption *DataEncryption `json:"dataEncryption,omitempty"` - FullyQualifiedDomainName *string `json:"fullyQualifiedDomainName,omitempty"` - HighAvailability *HighAvailability `json:"highAvailability,omitempty"` - MaintenanceWindow *MaintenanceWindow `json:"maintenanceWindow,omitempty"` - Network *Network `json:"network,omitempty"` - ReplicaCapacity *int64 `json:"replicaCapacity,omitempty"` - ReplicationRole *ReplicationRole `json:"replicationRole,omitempty"` - RestorePointInTime *string `json:"restorePointInTime,omitempty"` - SourceServerResourceId *string `json:"sourceServerResourceId,omitempty"` - State *ServerState `json:"state,omitempty"` - Storage *Storage `json:"storage,omitempty"` - Version *ServerVersion `json:"version,omitempty"` -} - -func (o *ServerProperties) GetRestorePointInTimeAsTime() (*time.Time, error) { - if o.RestorePointInTime == nil { - return nil, nil - } - return dates.ParseAsFormat(o.RestorePointInTime, "2006-01-02T15:04:05Z07:00") -} - -func (o *ServerProperties) SetRestorePointInTimeAsTime(input time.Time) { - formatted := input.Format("2006-01-02T15:04:05Z07:00") - o.RestorePointInTime = &formatted -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/servers/model_sku.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/servers/model_sku.go deleted file mode 100644 index 6302164cd2e0..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/servers/model_sku.go +++ /dev/null @@ -1,9 +0,0 @@ -package servers - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -type Sku struct { - Name string `json:"name"` - Tier SkuTier `json:"tier"` -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/servers/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/servers/version.go deleted file mode 100644 index 47918e464a75..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/servers/version.go +++ /dev/null @@ -1,10 +0,0 @@ -package servers - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -const defaultApiVersion = "2022-01-01" - -func userAgent() string { - return "hashicorp/go-azure-sdk/servers/2022-01-01" -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/serverstart/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/serverstart/version.go deleted file mode 100644 index a551280f9ba0..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/serverstart/version.go +++ /dev/null @@ -1,10 +0,0 @@ -package serverstart - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -const defaultApiVersion = "2022-01-01" - -func userAgent() string { - return "hashicorp/go-azure-sdk/serverstart/2022-01-01" -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/serverstop/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/serverstop/version.go deleted file mode 100644 index a96f76fa23c5..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/serverstop/version.go +++ /dev/null @@ -1,10 +0,0 @@ -package serverstop - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -const defaultApiVersion = "2022-01-01" - -func userAgent() string { - return "hashicorp/go-azure-sdk/serverstop/2022-01-01" -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/advancedthreatprotectionsettings/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/advancedthreatprotectionsettings/README.md new file mode 100644 index 000000000000..b86e3f54f116 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/advancedthreatprotectionsettings/README.md @@ -0,0 +1,87 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/advancedthreatprotectionsettings` Documentation + +The `advancedthreatprotectionsettings` SDK allows for interaction with Azure Resource Manager `mysql` (API Version `2023-12-30`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/advancedthreatprotectionsettings" +``` + + +### Client Initialization + +```go +client := advancedthreatprotectionsettings.NewAdvancedThreatProtectionSettingsClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `AdvancedThreatProtectionSettingsClient.Get` + +```go +ctx := context.TODO() +id := advancedthreatprotectionsettings.NewFlexibleServerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "flexibleServerName") + +read, err := client.Get(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `AdvancedThreatProtectionSettingsClient.List` + +```go +ctx := context.TODO() +id := advancedthreatprotectionsettings.NewFlexibleServerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "flexibleServerName") + +// alternatively `client.List(ctx, id)` can be used to do batched pagination +items, err := client.ListComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `AdvancedThreatProtectionSettingsClient.Update` + +```go +ctx := context.TODO() +id := advancedthreatprotectionsettings.NewFlexibleServerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "flexibleServerName") + +payload := advancedthreatprotectionsettings.AdvancedThreatProtectionForUpdate{ + // ... +} + + +if err := client.UpdateThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `AdvancedThreatProtectionSettingsClient.UpdatePut` + +```go +ctx := context.TODO() +id := advancedthreatprotectionsettings.NewFlexibleServerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "flexibleServerName") + +payload := advancedthreatprotectionsettings.AdvancedThreatProtection{ + // ... +} + + +if err := client.UpdatePutThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/advancedthreatprotectionsettings/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/advancedthreatprotectionsettings/client.go new file mode 100644 index 000000000000..e7a35ff187ef --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/advancedthreatprotectionsettings/client.go @@ -0,0 +1,26 @@ +package advancedthreatprotectionsettings + +import ( + "fmt" + + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + sdkEnv "github.com/hashicorp/go-azure-sdk/sdk/environments" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type AdvancedThreatProtectionSettingsClient struct { + Client *resourcemanager.Client +} + +func NewAdvancedThreatProtectionSettingsClientWithBaseURI(sdkApi sdkEnv.Api) (*AdvancedThreatProtectionSettingsClient, error) { + client, err := resourcemanager.NewClient(sdkApi, "advancedthreatprotectionsettings", defaultApiVersion) + if err != nil { + return nil, fmt.Errorf("instantiating AdvancedThreatProtectionSettingsClient: %+v", err) + } + + return &AdvancedThreatProtectionSettingsClient{ + Client: client, + }, nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/advancedthreatprotectionsettings/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/advancedthreatprotectionsettings/constants.go new file mode 100644 index 000000000000..c590a7f52ab4 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/advancedthreatprotectionsettings/constants.go @@ -0,0 +1,98 @@ +package advancedthreatprotectionsettings + +import ( + "encoding/json" + "fmt" + "strings" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type AdvancedThreatProtectionProvisioningState string + +const ( + AdvancedThreatProtectionProvisioningStateCanceled AdvancedThreatProtectionProvisioningState = "Canceled" + AdvancedThreatProtectionProvisioningStateFailed AdvancedThreatProtectionProvisioningState = "Failed" + AdvancedThreatProtectionProvisioningStateSucceeded AdvancedThreatProtectionProvisioningState = "Succeeded" + AdvancedThreatProtectionProvisioningStateUpdating AdvancedThreatProtectionProvisioningState = "Updating" +) + +func PossibleValuesForAdvancedThreatProtectionProvisioningState() []string { + return []string{ + string(AdvancedThreatProtectionProvisioningStateCanceled), + string(AdvancedThreatProtectionProvisioningStateFailed), + string(AdvancedThreatProtectionProvisioningStateSucceeded), + string(AdvancedThreatProtectionProvisioningStateUpdating), + } +} + +func (s *AdvancedThreatProtectionProvisioningState) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseAdvancedThreatProtectionProvisioningState(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseAdvancedThreatProtectionProvisioningState(input string) (*AdvancedThreatProtectionProvisioningState, error) { + vals := map[string]AdvancedThreatProtectionProvisioningState{ + "canceled": AdvancedThreatProtectionProvisioningStateCanceled, + "failed": AdvancedThreatProtectionProvisioningStateFailed, + "succeeded": AdvancedThreatProtectionProvisioningStateSucceeded, + "updating": AdvancedThreatProtectionProvisioningStateUpdating, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := AdvancedThreatProtectionProvisioningState(input) + return &out, nil +} + +type AdvancedThreatProtectionState string + +const ( + AdvancedThreatProtectionStateDisabled AdvancedThreatProtectionState = "Disabled" + AdvancedThreatProtectionStateEnabled AdvancedThreatProtectionState = "Enabled" +) + +func PossibleValuesForAdvancedThreatProtectionState() []string { + return []string{ + string(AdvancedThreatProtectionStateDisabled), + string(AdvancedThreatProtectionStateEnabled), + } +} + +func (s *AdvancedThreatProtectionState) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseAdvancedThreatProtectionState(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseAdvancedThreatProtectionState(input string) (*AdvancedThreatProtectionState, error) { + vals := map[string]AdvancedThreatProtectionState{ + "disabled": AdvancedThreatProtectionStateDisabled, + "enabled": AdvancedThreatProtectionStateEnabled, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := AdvancedThreatProtectionState(input) + return &out, nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/advancedthreatprotectionsettings/id_flexibleserver.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/advancedthreatprotectionsettings/id_flexibleserver.go new file mode 100644 index 000000000000..297e4313c407 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/advancedthreatprotectionsettings/id_flexibleserver.go @@ -0,0 +1,130 @@ +package advancedthreatprotectionsettings + +import ( + "fmt" + "strings" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/recaser" + "github.com/hashicorp/go-azure-helpers/resourcemanager/resourceids" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +func init() { + recaser.RegisterResourceId(&FlexibleServerId{}) +} + +var _ resourceids.ResourceId = &FlexibleServerId{} + +// FlexibleServerId is a struct representing the Resource ID for a Flexible Server +type FlexibleServerId struct { + SubscriptionId string + ResourceGroupName string + FlexibleServerName string +} + +// NewFlexibleServerID returns a new FlexibleServerId struct +func NewFlexibleServerID(subscriptionId string, resourceGroupName string, flexibleServerName string) FlexibleServerId { + return FlexibleServerId{ + SubscriptionId: subscriptionId, + ResourceGroupName: resourceGroupName, + FlexibleServerName: flexibleServerName, + } +} + +// ParseFlexibleServerID parses 'input' into a FlexibleServerId +func ParseFlexibleServerID(input string) (*FlexibleServerId, error) { + parser := resourceids.NewParserFromResourceIdType(&FlexibleServerId{}) + parsed, err := parser.Parse(input, false) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := FlexibleServerId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +// ParseFlexibleServerIDInsensitively parses 'input' case-insensitively into a FlexibleServerId +// note: this method should only be used for API response data and not user input +func ParseFlexibleServerIDInsensitively(input string) (*FlexibleServerId, error) { + parser := resourceids.NewParserFromResourceIdType(&FlexibleServerId{}) + parsed, err := parser.Parse(input, true) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := FlexibleServerId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +func (id *FlexibleServerId) FromParseResult(input resourceids.ParseResult) error { + var ok bool + + if id.SubscriptionId, ok = input.Parsed["subscriptionId"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "subscriptionId", input) + } + + if id.ResourceGroupName, ok = input.Parsed["resourceGroupName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "resourceGroupName", input) + } + + if id.FlexibleServerName, ok = input.Parsed["flexibleServerName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "flexibleServerName", input) + } + + return nil +} + +// ValidateFlexibleServerID checks that 'input' can be parsed as a Flexible Server ID +func ValidateFlexibleServerID(input interface{}, key string) (warnings []string, errors []error) { + v, ok := input.(string) + if !ok { + errors = append(errors, fmt.Errorf("expected %q to be a string", key)) + return + } + + if _, err := ParseFlexibleServerID(v); err != nil { + errors = append(errors, err) + } + + return +} + +// ID returns the formatted Flexible Server ID +func (id FlexibleServerId) ID() string { + fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.DBforMySQL/flexibleServers/%s" + return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.FlexibleServerName) +} + +// Segments returns a slice of Resource ID Segments which comprise this Flexible Server ID +func (id FlexibleServerId) Segments() []resourceids.Segment { + return []resourceids.Segment{ + resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), + resourceids.SubscriptionIdSegment("subscriptionId", "12345678-1234-9876-4563-123456789012"), + resourceids.StaticSegment("staticResourceGroups", "resourceGroups", "resourceGroups"), + resourceids.ResourceGroupSegment("resourceGroupName", "example-resource-group"), + resourceids.StaticSegment("staticProviders", "providers", "providers"), + resourceids.ResourceProviderSegment("staticMicrosoftDBforMySQL", "Microsoft.DBforMySQL", "Microsoft.DBforMySQL"), + resourceids.StaticSegment("staticFlexibleServers", "flexibleServers", "flexibleServers"), + resourceids.UserSpecifiedSegment("flexibleServerName", "flexibleServerName"), + } +} + +// String returns a human-readable description of this Flexible Server ID +func (id FlexibleServerId) String() string { + components := []string{ + fmt.Sprintf("Subscription: %q", id.SubscriptionId), + fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), + fmt.Sprintf("Flexible Server Name: %q", id.FlexibleServerName), + } + return fmt.Sprintf("Flexible Server (%s)", strings.Join(components, "\n")) +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/advancedthreatprotectionsettings/method_get.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/advancedthreatprotectionsettings/method_get.go new file mode 100644 index 000000000000..da0e2fc8abb7 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/advancedthreatprotectionsettings/method_get.go @@ -0,0 +1,54 @@ +package advancedthreatprotectionsettings + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type GetOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *AdvancedThreatProtection +} + +// Get ... +func (c AdvancedThreatProtectionSettingsClient) Get(ctx context.Context, id FlexibleServerId) (result GetOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Path: fmt.Sprintf("%s/advancedThreatProtectionSettings/default", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var model AdvancedThreatProtection + result.Model = &model + if err = resp.Unmarshal(result.Model); err != nil { + return + } + + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/advancedthreatprotectionsettings/method_list.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/advancedthreatprotectionsettings/method_list.go new file mode 100644 index 000000000000..0a3f4043f93d --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/advancedthreatprotectionsettings/method_list.go @@ -0,0 +1,105 @@ +package advancedthreatprotectionsettings + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ListOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *[]AdvancedThreatProtection +} + +type ListCompleteResult struct { + LatestHttpResponse *http.Response + Items []AdvancedThreatProtection +} + +type ListCustomPager struct { + NextLink *odata.Link `json:"nextLink"` +} + +func (p *ListCustomPager) NextPageLink() *odata.Link { + defer func() { + p.NextLink = nil + }() + + return p.NextLink +} + +// List ... +func (c AdvancedThreatProtectionSettingsClient) List(ctx context.Context, id FlexibleServerId) (result ListOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Pager: &ListCustomPager{}, + Path: fmt.Sprintf("%s/advancedThreatProtectionSettings", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.ExecutePaged(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var values struct { + Values *[]AdvancedThreatProtection `json:"value"` + } + if err = resp.Unmarshal(&values); err != nil { + return + } + + result.Model = values.Values + + return +} + +// ListComplete retrieves all the results into a single object +func (c AdvancedThreatProtectionSettingsClient) ListComplete(ctx context.Context, id FlexibleServerId) (ListCompleteResult, error) { + return c.ListCompleteMatchingPredicate(ctx, id, AdvancedThreatProtectionOperationPredicate{}) +} + +// ListCompleteMatchingPredicate retrieves all the results and then applies the predicate +func (c AdvancedThreatProtectionSettingsClient) ListCompleteMatchingPredicate(ctx context.Context, id FlexibleServerId, predicate AdvancedThreatProtectionOperationPredicate) (result ListCompleteResult, err error) { + items := make([]AdvancedThreatProtection, 0) + + resp, err := c.List(ctx, id) + if err != nil { + result.LatestHttpResponse = resp.HttpResponse + err = fmt.Errorf("loading results: %+v", err) + return + } + if resp.Model != nil { + for _, v := range *resp.Model { + if predicate.Matches(v) { + items = append(items, v) + } + } + } + + result = ListCompleteResult{ + LatestHttpResponse: resp.HttpResponse, + Items: items, + } + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/advancedthreatprotectionsettings/method_update.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/advancedthreatprotectionsettings/method_update.go new file mode 100644 index 000000000000..28917c5ee489 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/advancedthreatprotectionsettings/method_update.go @@ -0,0 +1,75 @@ +package advancedthreatprotectionsettings + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/client/pollers" + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type UpdateOperationResponse struct { + Poller pollers.Poller + HttpResponse *http.Response + OData *odata.OData + Model *AdvancedThreatProtection +} + +// Update ... +func (c AdvancedThreatProtectionSettingsClient) Update(ctx context.Context, id FlexibleServerId, input AdvancedThreatProtectionForUpdate) (result UpdateOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusAccepted, + http.StatusOK, + }, + HttpMethod: http.MethodPatch, + Path: fmt.Sprintf("%s/advancedThreatProtectionSettings/default", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + if err = req.Marshal(input); err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client) + if err != nil { + return + } + + return +} + +// UpdateThenPoll performs Update then polls until it's completed +func (c AdvancedThreatProtectionSettingsClient) UpdateThenPoll(ctx context.Context, id FlexibleServerId, input AdvancedThreatProtectionForUpdate) error { + result, err := c.Update(ctx, id, input) + if err != nil { + return fmt.Errorf("performing Update: %+v", err) + } + + if err := result.Poller.PollUntilDone(ctx); err != nil { + return fmt.Errorf("polling after Update: %+v", err) + } + + return nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/advancedthreatprotectionsettings/method_updateput.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/advancedthreatprotectionsettings/method_updateput.go new file mode 100644 index 000000000000..4b495289c2bc --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/advancedthreatprotectionsettings/method_updateput.go @@ -0,0 +1,76 @@ +package advancedthreatprotectionsettings + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/client/pollers" + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type UpdatePutOperationResponse struct { + Poller pollers.Poller + HttpResponse *http.Response + OData *odata.OData + Model *AdvancedThreatProtection +} + +// UpdatePut ... +func (c AdvancedThreatProtectionSettingsClient) UpdatePut(ctx context.Context, id FlexibleServerId, input AdvancedThreatProtection) (result UpdatePutOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusAccepted, + http.StatusCreated, + http.StatusOK, + }, + HttpMethod: http.MethodPut, + Path: fmt.Sprintf("%s/advancedThreatProtectionSettings/default", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + if err = req.Marshal(input); err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client) + if err != nil { + return + } + + return +} + +// UpdatePutThenPoll performs UpdatePut then polls until it's completed +func (c AdvancedThreatProtectionSettingsClient) UpdatePutThenPoll(ctx context.Context, id FlexibleServerId, input AdvancedThreatProtection) error { + result, err := c.UpdatePut(ctx, id, input) + if err != nil { + return fmt.Errorf("performing UpdatePut: %+v", err) + } + + if err := result.Poller.PollUntilDone(ctx); err != nil { + return fmt.Errorf("polling after UpdatePut: %+v", err) + } + + return nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/advancedthreatprotectionsettings/model_advancedthreatprotection.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/advancedthreatprotectionsettings/model_advancedthreatprotection.go new file mode 100644 index 000000000000..ec209c1cc140 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/advancedthreatprotectionsettings/model_advancedthreatprotection.go @@ -0,0 +1,16 @@ +package advancedthreatprotectionsettings + +import ( + "github.com/hashicorp/go-azure-helpers/resourcemanager/systemdata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type AdvancedThreatProtection struct { + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *AdvancedThreatProtectionProperties `json:"properties,omitempty"` + SystemData *systemdata.SystemData `json:"systemData,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/advancedthreatprotectionsettings/model_advancedthreatprotectionforupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/advancedthreatprotectionsettings/model_advancedthreatprotectionforupdate.go new file mode 100644 index 000000000000..21770477a6cc --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/advancedthreatprotectionsettings/model_advancedthreatprotectionforupdate.go @@ -0,0 +1,8 @@ +package advancedthreatprotectionsettings + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type AdvancedThreatProtectionForUpdate struct { + Properties *AdvancedThreatProtectionUpdateProperties `json:"properties,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/advancedthreatprotectionsettings/model_advancedthreatprotectionproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/advancedthreatprotectionsettings/model_advancedthreatprotectionproperties.go new file mode 100644 index 000000000000..fa706079869e --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/advancedthreatprotectionsettings/model_advancedthreatprotectionproperties.go @@ -0,0 +1,28 @@ +package advancedthreatprotectionsettings + +import ( + "time" + + "github.com/hashicorp/go-azure-helpers/lang/dates" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type AdvancedThreatProtectionProperties struct { + CreationTime *string `json:"creationTime,omitempty"` + ProvisioningState *AdvancedThreatProtectionProvisioningState `json:"provisioningState,omitempty"` + State *AdvancedThreatProtectionState `json:"state,omitempty"` +} + +func (o *AdvancedThreatProtectionProperties) GetCreationTimeAsTime() (*time.Time, error) { + if o.CreationTime == nil { + return nil, nil + } + return dates.ParseAsFormat(o.CreationTime, "2006-01-02T15:04:05Z07:00") +} + +func (o *AdvancedThreatProtectionProperties) SetCreationTimeAsTime(input time.Time) { + formatted := input.Format("2006-01-02T15:04:05Z07:00") + o.CreationTime = &formatted +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/advancedthreatprotectionsettings/model_advancedthreatprotectionupdateproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/advancedthreatprotectionsettings/model_advancedthreatprotectionupdateproperties.go new file mode 100644 index 000000000000..0ee05627e5b0 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/advancedthreatprotectionsettings/model_advancedthreatprotectionupdateproperties.go @@ -0,0 +1,8 @@ +package advancedthreatprotectionsettings + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type AdvancedThreatProtectionUpdateProperties struct { + State AdvancedThreatProtectionState `json:"state"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/advancedthreatprotectionsettings/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/advancedthreatprotectionsettings/predicates.go new file mode 100644 index 000000000000..3ae1bf20e899 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/advancedthreatprotectionsettings/predicates.go @@ -0,0 +1,27 @@ +package advancedthreatprotectionsettings + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type AdvancedThreatProtectionOperationPredicate struct { + Id *string + Name *string + Type *string +} + +func (p AdvancedThreatProtectionOperationPredicate) Matches(input AdvancedThreatProtection) bool { + + if p.Id != nil && (input.Id == nil || *p.Id != *input.Id) { + return false + } + + if p.Name != nil && (input.Name == nil || *p.Name != *input.Name) { + return false + } + + if p.Type != nil && (input.Type == nil || *p.Type != *input.Type) { + return false + } + + return true +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/advancedthreatprotectionsettings/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/advancedthreatprotectionsettings/version.go new file mode 100644 index 000000000000..30cad3e63a88 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/advancedthreatprotectionsettings/version.go @@ -0,0 +1,10 @@ +package advancedthreatprotectionsettings + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2023-12-30" + +func userAgent() string { + return "hashicorp/go-azure-sdk/advancedthreatprotectionsettings/2023-12-30" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/azureadadministrators/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/azureadadministrators/README.md new file mode 100644 index 000000000000..8966006a9d42 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/azureadadministrators/README.md @@ -0,0 +1,82 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/azureadadministrators` Documentation + +The `azureadadministrators` SDK allows for interaction with Azure Resource Manager `mysql` (API Version `2023-12-30`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/azureadadministrators" +``` + + +### Client Initialization + +```go +client := azureadadministrators.NewAzureADAdministratorsClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `AzureADAdministratorsClient.CreateOrUpdate` + +```go +ctx := context.TODO() +id := azureadadministrators.NewFlexibleServerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "flexibleServerName") + +payload := azureadadministrators.AzureADAdministrator{ + // ... +} + + +if err := client.CreateOrUpdateThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `AzureADAdministratorsClient.Delete` + +```go +ctx := context.TODO() +id := azureadadministrators.NewFlexibleServerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "flexibleServerName") + +if err := client.DeleteThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `AzureADAdministratorsClient.Get` + +```go +ctx := context.TODO() +id := azureadadministrators.NewFlexibleServerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "flexibleServerName") + +read, err := client.Get(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `AzureADAdministratorsClient.ListByServer` + +```go +ctx := context.TODO() +id := azureadadministrators.NewFlexibleServerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "flexibleServerName") + +// alternatively `client.ListByServer(ctx, id)` can be used to do batched pagination +items, err := client.ListByServerComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/azureadadministrators/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/azureadadministrators/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/azureadadministrators/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/azureadadministrators/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/azureadadministrators/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/azureadadministrators/constants.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/azureadadministrators/constants.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/azureadadministrators/constants.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/azureadadministrators/id_flexibleserver.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/azureadadministrators/id_flexibleserver.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/azureadadministrators/id_flexibleserver.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/azureadadministrators/id_flexibleserver.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/azureadadministrators/method_createorupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/azureadadministrators/method_createorupdate.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/azureadadministrators/method_createorupdate.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/azureadadministrators/method_createorupdate.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/azureadadministrators/method_delete.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/azureadadministrators/method_delete.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/azureadadministrators/method_delete.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/azureadadministrators/method_delete.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/azureadadministrators/method_get.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/azureadadministrators/method_get.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/azureadadministrators/method_get.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/azureadadministrators/method_get.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/azureadadministrators/method_listbyserver.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/azureadadministrators/method_listbyserver.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/azureadadministrators/method_listbyserver.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/azureadadministrators/method_listbyserver.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/azureadadministrators/model_administratorproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/azureadadministrators/model_administratorproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/azureadadministrators/model_administratorproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/azureadadministrators/model_administratorproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/azureadadministrators/model_azureadadministrator.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/azureadadministrators/model_azureadadministrator.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/azureadadministrators/model_azureadadministrator.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/azureadadministrators/model_azureadadministrator.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/azureadadministrators/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/azureadadministrators/predicates.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/azureadadministrators/predicates.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/azureadadministrators/predicates.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/azureadadministrators/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/azureadadministrators/version.go new file mode 100644 index 000000000000..9c660ab53890 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/azureadadministrators/version.go @@ -0,0 +1,10 @@ +package azureadadministrators + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2023-12-30" + +func userAgent() string { + return "hashicorp/go-azure-sdk/azureadadministrators/2023-12-30" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/backupandexport/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/backupandexport/README.md new file mode 100644 index 000000000000..ce1926f27078 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/backupandexport/README.md @@ -0,0 +1,53 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/backupandexport` Documentation + +The `backupandexport` SDK allows for interaction with Azure Resource Manager `mysql` (API Version `2023-12-30`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/backupandexport" +``` + + +### Client Initialization + +```go +client := backupandexport.NewBackupAndExportClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `BackupAndExportClient.Create` + +```go +ctx := context.TODO() +id := backupandexport.NewFlexibleServerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "flexibleServerName") + +payload := backupandexport.BackupAndExportRequest{ + // ... +} + + +if err := client.CreateThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `BackupAndExportClient.ValidateBackup` + +```go +ctx := context.TODO() +id := backupandexport.NewFlexibleServerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "flexibleServerName") + +read, err := client.ValidateBackup(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/backupandexport/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/backupandexport/client.go new file mode 100644 index 000000000000..b05c3ad7f0fb --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/backupandexport/client.go @@ -0,0 +1,26 @@ +package backupandexport + +import ( + "fmt" + + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + sdkEnv "github.com/hashicorp/go-azure-sdk/sdk/environments" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type BackupAndExportClient struct { + Client *resourcemanager.Client +} + +func NewBackupAndExportClientWithBaseURI(sdkApi sdkEnv.Api) (*BackupAndExportClient, error) { + client, err := resourcemanager.NewClient(sdkApi, "backupandexport", defaultApiVersion) + if err != nil { + return nil, fmt.Errorf("instantiating BackupAndExportClient: %+v", err) + } + + return &BackupAndExportClient{ + Client: client, + }, nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/backupandexport/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/backupandexport/constants.go new file mode 100644 index 000000000000..2afb6fcce068 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/backupandexport/constants.go @@ -0,0 +1,104 @@ +package backupandexport + +import ( + "encoding/json" + "fmt" + "strings" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type BackupFormat string + +const ( + BackupFormatCollatedFormat BackupFormat = "CollatedFormat" + BackupFormatRaw BackupFormat = "Raw" +) + +func PossibleValuesForBackupFormat() []string { + return []string{ + string(BackupFormatCollatedFormat), + string(BackupFormatRaw), + } +} + +func (s *BackupFormat) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseBackupFormat(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseBackupFormat(input string) (*BackupFormat, error) { + vals := map[string]BackupFormat{ + "collatedformat": BackupFormatCollatedFormat, + "raw": BackupFormatRaw, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := BackupFormat(input) + return &out, nil +} + +type OperationStatus string + +const ( + OperationStatusCancelInProgress OperationStatus = "CancelInProgress" + OperationStatusCanceled OperationStatus = "Canceled" + OperationStatusFailed OperationStatus = "Failed" + OperationStatusInProgress OperationStatus = "InProgress" + OperationStatusPending OperationStatus = "Pending" + OperationStatusSucceeded OperationStatus = "Succeeded" +) + +func PossibleValuesForOperationStatus() []string { + return []string{ + string(OperationStatusCancelInProgress), + string(OperationStatusCanceled), + string(OperationStatusFailed), + string(OperationStatusInProgress), + string(OperationStatusPending), + string(OperationStatusSucceeded), + } +} + +func (s *OperationStatus) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseOperationStatus(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseOperationStatus(input string) (*OperationStatus, error) { + vals := map[string]OperationStatus{ + "cancelinprogress": OperationStatusCancelInProgress, + "canceled": OperationStatusCanceled, + "failed": OperationStatusFailed, + "inprogress": OperationStatusInProgress, + "pending": OperationStatusPending, + "succeeded": OperationStatusSucceeded, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := OperationStatus(input) + return &out, nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/backupandexport/id_flexibleserver.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/backupandexport/id_flexibleserver.go new file mode 100644 index 000000000000..593e5b519027 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/backupandexport/id_flexibleserver.go @@ -0,0 +1,130 @@ +package backupandexport + +import ( + "fmt" + "strings" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/recaser" + "github.com/hashicorp/go-azure-helpers/resourcemanager/resourceids" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +func init() { + recaser.RegisterResourceId(&FlexibleServerId{}) +} + +var _ resourceids.ResourceId = &FlexibleServerId{} + +// FlexibleServerId is a struct representing the Resource ID for a Flexible Server +type FlexibleServerId struct { + SubscriptionId string + ResourceGroupName string + FlexibleServerName string +} + +// NewFlexibleServerID returns a new FlexibleServerId struct +func NewFlexibleServerID(subscriptionId string, resourceGroupName string, flexibleServerName string) FlexibleServerId { + return FlexibleServerId{ + SubscriptionId: subscriptionId, + ResourceGroupName: resourceGroupName, + FlexibleServerName: flexibleServerName, + } +} + +// ParseFlexibleServerID parses 'input' into a FlexibleServerId +func ParseFlexibleServerID(input string) (*FlexibleServerId, error) { + parser := resourceids.NewParserFromResourceIdType(&FlexibleServerId{}) + parsed, err := parser.Parse(input, false) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := FlexibleServerId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +// ParseFlexibleServerIDInsensitively parses 'input' case-insensitively into a FlexibleServerId +// note: this method should only be used for API response data and not user input +func ParseFlexibleServerIDInsensitively(input string) (*FlexibleServerId, error) { + parser := resourceids.NewParserFromResourceIdType(&FlexibleServerId{}) + parsed, err := parser.Parse(input, true) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := FlexibleServerId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +func (id *FlexibleServerId) FromParseResult(input resourceids.ParseResult) error { + var ok bool + + if id.SubscriptionId, ok = input.Parsed["subscriptionId"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "subscriptionId", input) + } + + if id.ResourceGroupName, ok = input.Parsed["resourceGroupName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "resourceGroupName", input) + } + + if id.FlexibleServerName, ok = input.Parsed["flexibleServerName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "flexibleServerName", input) + } + + return nil +} + +// ValidateFlexibleServerID checks that 'input' can be parsed as a Flexible Server ID +func ValidateFlexibleServerID(input interface{}, key string) (warnings []string, errors []error) { + v, ok := input.(string) + if !ok { + errors = append(errors, fmt.Errorf("expected %q to be a string", key)) + return + } + + if _, err := ParseFlexibleServerID(v); err != nil { + errors = append(errors, err) + } + + return +} + +// ID returns the formatted Flexible Server ID +func (id FlexibleServerId) ID() string { + fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.DBforMySQL/flexibleServers/%s" + return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.FlexibleServerName) +} + +// Segments returns a slice of Resource ID Segments which comprise this Flexible Server ID +func (id FlexibleServerId) Segments() []resourceids.Segment { + return []resourceids.Segment{ + resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), + resourceids.SubscriptionIdSegment("subscriptionId", "12345678-1234-9876-4563-123456789012"), + resourceids.StaticSegment("staticResourceGroups", "resourceGroups", "resourceGroups"), + resourceids.ResourceGroupSegment("resourceGroupName", "example-resource-group"), + resourceids.StaticSegment("staticProviders", "providers", "providers"), + resourceids.ResourceProviderSegment("staticMicrosoftDBforMySQL", "Microsoft.DBforMySQL", "Microsoft.DBforMySQL"), + resourceids.StaticSegment("staticFlexibleServers", "flexibleServers", "flexibleServers"), + resourceids.UserSpecifiedSegment("flexibleServerName", "flexibleServerName"), + } +} + +// String returns a human-readable description of this Flexible Server ID +func (id FlexibleServerId) String() string { + components := []string{ + fmt.Sprintf("Subscription: %q", id.SubscriptionId), + fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), + fmt.Sprintf("Flexible Server Name: %q", id.FlexibleServerName), + } + return fmt.Sprintf("Flexible Server (%s)", strings.Join(components, "\n")) +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/backupandexport/method_create.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/backupandexport/method_create.go new file mode 100644 index 000000000000..81bcd699f7ab --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/backupandexport/method_create.go @@ -0,0 +1,75 @@ +package backupandexport + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/client/pollers" + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type CreateOperationResponse struct { + Poller pollers.Poller + HttpResponse *http.Response + OData *odata.OData + Model *BackupAndExportResponse +} + +// Create ... +func (c BackupAndExportClient) Create(ctx context.Context, id FlexibleServerId, input BackupAndExportRequest) (result CreateOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusAccepted, + http.StatusOK, + }, + HttpMethod: http.MethodPost, + Path: fmt.Sprintf("%s/backupAndExport", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + if err = req.Marshal(input); err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client) + if err != nil { + return + } + + return +} + +// CreateThenPoll performs Create then polls until it's completed +func (c BackupAndExportClient) CreateThenPoll(ctx context.Context, id FlexibleServerId, input BackupAndExportRequest) error { + result, err := c.Create(ctx, id, input) + if err != nil { + return fmt.Errorf("performing Create: %+v", err) + } + + if err := result.Poller.PollUntilDone(ctx); err != nil { + return fmt.Errorf("polling after Create: %+v", err) + } + + return nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/backupandexport/method_validatebackup.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/backupandexport/method_validatebackup.go new file mode 100644 index 000000000000..326579372b7f --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/backupandexport/method_validatebackup.go @@ -0,0 +1,54 @@ +package backupandexport + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ValidateBackupOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *ValidateBackupResponse +} + +// ValidateBackup ... +func (c BackupAndExportClient) ValidateBackup(ctx context.Context, id FlexibleServerId) (result ValidateBackupOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodPost, + Path: fmt.Sprintf("%s/validateBackup", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var model ValidateBackupResponse + result.Model = &model + if err = resp.Unmarshal(result.Model); err != nil { + return + } + + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/backupandexport/model_backupandexportrequest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/backupandexport/model_backupandexportrequest.go new file mode 100644 index 000000000000..33e915fb8f1b --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/backupandexport/model_backupandexportrequest.go @@ -0,0 +1,42 @@ +package backupandexport + +import ( + "encoding/json" + "fmt" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type BackupAndExportRequest struct { + BackupSettings BackupSettings `json:"backupSettings"` + TargetDetails BackupStoreDetails `json:"targetDetails"` +} + +var _ json.Unmarshaler = &BackupAndExportRequest{} + +func (s *BackupAndExportRequest) UnmarshalJSON(bytes []byte) error { + var decoded struct { + BackupSettings BackupSettings `json:"backupSettings"` + } + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + + s.BackupSettings = decoded.BackupSettings + + var temp map[string]json.RawMessage + if err := json.Unmarshal(bytes, &temp); err != nil { + return fmt.Errorf("unmarshaling BackupAndExportRequest into map[string]json.RawMessage: %+v", err) + } + + if v, ok := temp["targetDetails"]; ok { + impl, err := UnmarshalBackupStoreDetailsImplementation(v) + if err != nil { + return fmt.Errorf("unmarshaling field 'TargetDetails' for 'BackupAndExportRequest': %+v", err) + } + s.TargetDetails = impl + } + + return nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/backupandexport/model_backupandexportresponse.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/backupandexport/model_backupandexportresponse.go new file mode 100644 index 000000000000..768c96e25d17 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/backupandexport/model_backupandexportresponse.go @@ -0,0 +1,48 @@ +package backupandexport + +import ( + "time" + + "github.com/hashicorp/go-azure-helpers/lang/dates" + "github.com/hashicorp/go-azure-helpers/resourcemanager/systemdata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type BackupAndExportResponse struct { + EndTime *string `json:"endTime,omitempty"` + Error *ErrorDetail `json:"error,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + PercentComplete *float64 `json:"percentComplete,omitempty"` + Properties *BackupAndExportResponseProperties `json:"properties,omitempty"` + StartTime *string `json:"startTime,omitempty"` + Status *OperationStatus `json:"status,omitempty"` + SystemData *systemdata.SystemData `json:"systemData,omitempty"` + Type *string `json:"type,omitempty"` +} + +func (o *BackupAndExportResponse) GetEndTimeAsTime() (*time.Time, error) { + if o.EndTime == nil { + return nil, nil + } + return dates.ParseAsFormat(o.EndTime, "2006-01-02T15:04:05Z07:00") +} + +func (o *BackupAndExportResponse) SetEndTimeAsTime(input time.Time) { + formatted := input.Format("2006-01-02T15:04:05Z07:00") + o.EndTime = &formatted +} + +func (o *BackupAndExportResponse) GetStartTimeAsTime() (*time.Time, error) { + if o.StartTime == nil { + return nil, nil + } + return dates.ParseAsFormat(o.StartTime, "2006-01-02T15:04:05Z07:00") +} + +func (o *BackupAndExportResponse) SetStartTimeAsTime(input time.Time) { + formatted := input.Format("2006-01-02T15:04:05Z07:00") + o.StartTime = &formatted +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/backupandexport/model_backupandexportresponseproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/backupandexport/model_backupandexportresponseproperties.go new file mode 100644 index 000000000000..660505032be3 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/backupandexport/model_backupandexportresponseproperties.go @@ -0,0 +1,10 @@ +package backupandexport + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type BackupAndExportResponseProperties struct { + BackupMetadata *string `json:"backupMetadata,omitempty"` + DataTransferredInBytes *int64 `json:"dataTransferredInBytes,omitempty"` + DatasourceSizeInBytes *int64 `json:"datasourceSizeInBytes,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/backupandexport/model_backupsettings.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/backupandexport/model_backupsettings.go new file mode 100644 index 000000000000..7d4676155512 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/backupandexport/model_backupsettings.go @@ -0,0 +1,9 @@ +package backupandexport + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type BackupSettings struct { + BackupFormat *BackupFormat `json:"backupFormat,omitempty"` + BackupName string `json:"backupName"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/backupandexport/model_backupstoredetails.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/backupandexport/model_backupstoredetails.go new file mode 100644 index 000000000000..a0b53ecf6f9d --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/backupandexport/model_backupstoredetails.go @@ -0,0 +1,75 @@ +package backupandexport + +import ( + "encoding/json" + "fmt" + "strings" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type BackupStoreDetails interface { + BackupStoreDetails() BaseBackupStoreDetailsImpl +} + +var _ BackupStoreDetails = BaseBackupStoreDetailsImpl{} + +type BaseBackupStoreDetailsImpl struct { + ObjectType string `json:"objectType"` +} + +func (s BaseBackupStoreDetailsImpl) BackupStoreDetails() BaseBackupStoreDetailsImpl { + return s +} + +var _ BackupStoreDetails = RawBackupStoreDetailsImpl{} + +// RawBackupStoreDetailsImpl is returned when the Discriminated Value doesn't match any of the defined types +// NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) +// and is used only for Deserialization (e.g. this cannot be used as a Request Payload). +type RawBackupStoreDetailsImpl struct { + backupStoreDetails BaseBackupStoreDetailsImpl + Type string + Values map[string]interface{} +} + +func (s RawBackupStoreDetailsImpl) BackupStoreDetails() BaseBackupStoreDetailsImpl { + return s.backupStoreDetails +} + +func UnmarshalBackupStoreDetailsImplementation(input []byte) (BackupStoreDetails, error) { + if input == nil { + return nil, nil + } + + var temp map[string]interface{} + if err := json.Unmarshal(input, &temp); err != nil { + return nil, fmt.Errorf("unmarshaling BackupStoreDetails into map[string]interface: %+v", err) + } + + var value string + if v, ok := temp["objectType"]; ok { + value = fmt.Sprintf("%v", v) + } + + if strings.EqualFold(value, "FullBackupStoreDetails") { + var out FullBackupStoreDetails + if err := json.Unmarshal(input, &out); err != nil { + return nil, fmt.Errorf("unmarshaling into FullBackupStoreDetails: %+v", err) + } + return out, nil + } + + var parent BaseBackupStoreDetailsImpl + if err := json.Unmarshal(input, &parent); err != nil { + return nil, fmt.Errorf("unmarshaling into BaseBackupStoreDetailsImpl: %+v", err) + } + + return RawBackupStoreDetailsImpl{ + backupStoreDetails: parent, + Type: value, + Values: temp, + }, nil + +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/backupandexport/model_erroradditionalinfo.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/backupandexport/model_erroradditionalinfo.go new file mode 100644 index 000000000000..eeff28323b19 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/backupandexport/model_erroradditionalinfo.go @@ -0,0 +1,9 @@ +package backupandexport + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ErrorAdditionalInfo struct { + Info *interface{} `json:"info,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/backupandexport/model_errordetail.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/backupandexport/model_errordetail.go new file mode 100644 index 000000000000..4009077d49da --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/backupandexport/model_errordetail.go @@ -0,0 +1,12 @@ +package backupandexport + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ErrorDetail struct { + AdditionalInfo *[]ErrorAdditionalInfo `json:"additionalInfo,omitempty"` + Code *string `json:"code,omitempty"` + Details *[]ErrorDetail `json:"details,omitempty"` + Message *string `json:"message,omitempty"` + Target *string `json:"target,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/backupandexport/model_fullbackupstoredetails.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/backupandexport/model_fullbackupstoredetails.go new file mode 100644 index 000000000000..fa77f9126733 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/backupandexport/model_fullbackupstoredetails.go @@ -0,0 +1,50 @@ +package backupandexport + +import ( + "encoding/json" + "fmt" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +var _ BackupStoreDetails = FullBackupStoreDetails{} + +type FullBackupStoreDetails struct { + SasUriList []string `json:"sasUriList"` + + // Fields inherited from BackupStoreDetails + + ObjectType string `json:"objectType"` +} + +func (s FullBackupStoreDetails) BackupStoreDetails() BaseBackupStoreDetailsImpl { + return BaseBackupStoreDetailsImpl{ + ObjectType: s.ObjectType, + } +} + +var _ json.Marshaler = FullBackupStoreDetails{} + +func (s FullBackupStoreDetails) MarshalJSON() ([]byte, error) { + type wrapper FullBackupStoreDetails + wrapped := wrapper(s) + encoded, err := json.Marshal(wrapped) + if err != nil { + return nil, fmt.Errorf("marshaling FullBackupStoreDetails: %+v", err) + } + + var decoded map[string]interface{} + if err = json.Unmarshal(encoded, &decoded); err != nil { + return nil, fmt.Errorf("unmarshaling FullBackupStoreDetails: %+v", err) + } + + decoded["objectType"] = "FullBackupStoreDetails" + + encoded, err = json.Marshal(decoded) + if err != nil { + return nil, fmt.Errorf("re-marshaling FullBackupStoreDetails: %+v", err) + } + + return encoded, nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/backupandexport/model_validatebackupresponse.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/backupandexport/model_validatebackupresponse.go new file mode 100644 index 000000000000..7a32cbf85b45 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/backupandexport/model_validatebackupresponse.go @@ -0,0 +1,8 @@ +package backupandexport + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ValidateBackupResponse struct { + Properties *ValidateBackupResponseProperties `json:"properties,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/backupandexport/model_validatebackupresponseproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/backupandexport/model_validatebackupresponseproperties.go new file mode 100644 index 000000000000..08ab3f29af76 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/backupandexport/model_validatebackupresponseproperties.go @@ -0,0 +1,8 @@ +package backupandexport + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ValidateBackupResponseProperties struct { + NumberOfContainers *int64 `json:"numberOfContainers,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/backupandexport/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/backupandexport/version.go new file mode 100644 index 000000000000..ec83f205948c --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/backupandexport/version.go @@ -0,0 +1,10 @@ +package backupandexport + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2023-12-30" + +func userAgent() string { + return "hashicorp/go-azure-sdk/backupandexport/2023-12-30" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/backups/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/backups/README.md new file mode 100644 index 000000000000..1e812cff92d7 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/backups/README.md @@ -0,0 +1,69 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/backups` Documentation + +The `backups` SDK allows for interaction with Azure Resource Manager `mysql` (API Version `2023-12-30`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/backups" +``` + + +### Client Initialization + +```go +client := backups.NewBackupsClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `BackupsClient.Get` + +```go +ctx := context.TODO() +id := backups.NewBackupID("12345678-1234-9876-4563-123456789012", "example-resource-group", "flexibleServerName", "backupName") + +read, err := client.Get(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `BackupsClient.ListByServer` + +```go +ctx := context.TODO() +id := backups.NewFlexibleServerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "flexibleServerName") + +// alternatively `client.ListByServer(ctx, id)` can be used to do batched pagination +items, err := client.ListByServerComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `BackupsClient.Put` + +```go +ctx := context.TODO() +id := backups.NewBackupID("12345678-1234-9876-4563-123456789012", "example-resource-group", "flexibleServerName", "backupName") + +read, err := client.Put(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/backups/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/backups/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/backups/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/backups/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/backups/id_backup.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/backups/id_backup.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/backups/id_backup.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/backups/id_backup.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/backups/id_flexibleserver.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/backups/id_flexibleserver.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/backups/id_flexibleserver.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/backups/id_flexibleserver.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/backups/method_get.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/backups/method_get.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/backups/method_get.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/backups/method_get.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/backups/method_listbyserver.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/backups/method_listbyserver.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/backups/method_listbyserver.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/backups/method_listbyserver.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/backups/method_put.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/backups/method_put.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/backups/method_put.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/backups/method_put.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/backups/model_serverbackup.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/backups/model_serverbackup.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/backups/model_serverbackup.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/backups/model_serverbackup.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/backups/model_serverbackupproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/backups/model_serverbackupproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/backups/model_serverbackupproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/backups/model_serverbackupproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/backups/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/backups/predicates.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/backups/predicates.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/backups/predicates.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/backups/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/backups/version.go new file mode 100644 index 000000000000..72e1293154b3 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/backups/version.go @@ -0,0 +1,10 @@ +package backups + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2023-12-30" + +func userAgent() string { + return "hashicorp/go-azure-sdk/backups/2023-12-30" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/backupsv2/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/backupsv2/README.md new file mode 100644 index 000000000000..2e60466b8d8c --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/backupsv2/README.md @@ -0,0 +1,70 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/backupsv2` Documentation + +The `backupsv2` SDK allows for interaction with Azure Resource Manager `mysql` (API Version `2023-12-30`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/backupsv2" +``` + + +### Client Initialization + +```go +client := backupsv2.NewBackupsV2ClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `BackupsV2Client.LongRunningBackupCreate` + +```go +ctx := context.TODO() +id := backupsv2.NewBackupsV2ID("12345678-1234-9876-4563-123456789012", "example-resource-group", "flexibleServerName", "backupsV2Name") + +payload := backupsv2.ServerBackupV2{ + // ... +} + + +if err := client.LongRunningBackupCreateThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `BackupsV2Client.LongRunningBackupsGet` + +```go +ctx := context.TODO() +id := backupsv2.NewBackupsV2ID("12345678-1234-9876-4563-123456789012", "example-resource-group", "flexibleServerName", "backupsV2Name") + +read, err := client.LongRunningBackupsGet(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `BackupsV2Client.LongRunningBackupsList` + +```go +ctx := context.TODO() +id := backupsv2.NewFlexibleServerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "flexibleServerName") + +// alternatively `client.LongRunningBackupsList(ctx, id)` can be used to do batched pagination +items, err := client.LongRunningBackupsListComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/backupsv2/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/backupsv2/client.go new file mode 100644 index 000000000000..1a4eca1f6e83 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/backupsv2/client.go @@ -0,0 +1,26 @@ +package backupsv2 + +import ( + "fmt" + + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + sdkEnv "github.com/hashicorp/go-azure-sdk/sdk/environments" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type BackupsV2Client struct { + Client *resourcemanager.Client +} + +func NewBackupsV2ClientWithBaseURI(sdkApi sdkEnv.Api) (*BackupsV2Client, error) { + client, err := resourcemanager.NewClient(sdkApi, "backupsv2", defaultApiVersion) + if err != nil { + return nil, fmt.Errorf("instantiating BackupsV2Client: %+v", err) + } + + return &BackupsV2Client{ + Client: client, + }, nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/backupsv2/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/backupsv2/constants.go new file mode 100644 index 000000000000..764da0bee228 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/backupsv2/constants.go @@ -0,0 +1,98 @@ +package backupsv2 + +import ( + "encoding/json" + "fmt" + "strings" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type BackupType string + +const ( + BackupTypeFULL BackupType = "FULL" +) + +func PossibleValuesForBackupType() []string { + return []string{ + string(BackupTypeFULL), + } +} + +func (s *BackupType) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseBackupType(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseBackupType(input string) (*BackupType, error) { + vals := map[string]BackupType{ + "full": BackupTypeFULL, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := BackupType(input) + return &out, nil +} + +type ProvisioningState string + +const ( + ProvisioningStateCanceled ProvisioningState = "Canceled" + ProvisioningStateCreating ProvisioningState = "Creating" + ProvisioningStateDeleting ProvisioningState = "Deleting" + ProvisioningStateFailed ProvisioningState = "Failed" + ProvisioningStateSucceeded ProvisioningState = "Succeeded" +) + +func PossibleValuesForProvisioningState() []string { + return []string{ + string(ProvisioningStateCanceled), + string(ProvisioningStateCreating), + string(ProvisioningStateDeleting), + string(ProvisioningStateFailed), + string(ProvisioningStateSucceeded), + } +} + +func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseProvisioningState(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseProvisioningState(input string) (*ProvisioningState, error) { + vals := map[string]ProvisioningState{ + "canceled": ProvisioningStateCanceled, + "creating": ProvisioningStateCreating, + "deleting": ProvisioningStateDeleting, + "failed": ProvisioningStateFailed, + "succeeded": ProvisioningStateSucceeded, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ProvisioningState(input) + return &out, nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/backupsv2/id_backupsv2.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/backupsv2/id_backupsv2.go new file mode 100644 index 000000000000..e50e063e1405 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/backupsv2/id_backupsv2.go @@ -0,0 +1,139 @@ +package backupsv2 + +import ( + "fmt" + "strings" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/recaser" + "github.com/hashicorp/go-azure-helpers/resourcemanager/resourceids" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +func init() { + recaser.RegisterResourceId(&BackupsV2Id{}) +} + +var _ resourceids.ResourceId = &BackupsV2Id{} + +// BackupsV2Id is a struct representing the Resource ID for a Backups V 2 +type BackupsV2Id struct { + SubscriptionId string + ResourceGroupName string + FlexibleServerName string + BackupsV2Name string +} + +// NewBackupsV2ID returns a new BackupsV2Id struct +func NewBackupsV2ID(subscriptionId string, resourceGroupName string, flexibleServerName string, backupsV2Name string) BackupsV2Id { + return BackupsV2Id{ + SubscriptionId: subscriptionId, + ResourceGroupName: resourceGroupName, + FlexibleServerName: flexibleServerName, + BackupsV2Name: backupsV2Name, + } +} + +// ParseBackupsV2ID parses 'input' into a BackupsV2Id +func ParseBackupsV2ID(input string) (*BackupsV2Id, error) { + parser := resourceids.NewParserFromResourceIdType(&BackupsV2Id{}) + parsed, err := parser.Parse(input, false) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := BackupsV2Id{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +// ParseBackupsV2IDInsensitively parses 'input' case-insensitively into a BackupsV2Id +// note: this method should only be used for API response data and not user input +func ParseBackupsV2IDInsensitively(input string) (*BackupsV2Id, error) { + parser := resourceids.NewParserFromResourceIdType(&BackupsV2Id{}) + parsed, err := parser.Parse(input, true) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := BackupsV2Id{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +func (id *BackupsV2Id) FromParseResult(input resourceids.ParseResult) error { + var ok bool + + if id.SubscriptionId, ok = input.Parsed["subscriptionId"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "subscriptionId", input) + } + + if id.ResourceGroupName, ok = input.Parsed["resourceGroupName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "resourceGroupName", input) + } + + if id.FlexibleServerName, ok = input.Parsed["flexibleServerName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "flexibleServerName", input) + } + + if id.BackupsV2Name, ok = input.Parsed["backupsV2Name"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "backupsV2Name", input) + } + + return nil +} + +// ValidateBackupsV2ID checks that 'input' can be parsed as a Backups V 2 ID +func ValidateBackupsV2ID(input interface{}, key string) (warnings []string, errors []error) { + v, ok := input.(string) + if !ok { + errors = append(errors, fmt.Errorf("expected %q to be a string", key)) + return + } + + if _, err := ParseBackupsV2ID(v); err != nil { + errors = append(errors, err) + } + + return +} + +// ID returns the formatted Backups V 2 ID +func (id BackupsV2Id) ID() string { + fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.DBforMySQL/flexibleServers/%s/backupsV2/%s" + return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.FlexibleServerName, id.BackupsV2Name) +} + +// Segments returns a slice of Resource ID Segments which comprise this Backups V 2 ID +func (id BackupsV2Id) Segments() []resourceids.Segment { + return []resourceids.Segment{ + resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), + resourceids.SubscriptionIdSegment("subscriptionId", "12345678-1234-9876-4563-123456789012"), + resourceids.StaticSegment("staticResourceGroups", "resourceGroups", "resourceGroups"), + resourceids.ResourceGroupSegment("resourceGroupName", "example-resource-group"), + resourceids.StaticSegment("staticProviders", "providers", "providers"), + resourceids.ResourceProviderSegment("staticMicrosoftDBforMySQL", "Microsoft.DBforMySQL", "Microsoft.DBforMySQL"), + resourceids.StaticSegment("staticFlexibleServers", "flexibleServers", "flexibleServers"), + resourceids.UserSpecifiedSegment("flexibleServerName", "flexibleServerName"), + resourceids.StaticSegment("staticBackupsV2", "backupsV2", "backupsV2"), + resourceids.UserSpecifiedSegment("backupsV2Name", "backupsV2Name"), + } +} + +// String returns a human-readable description of this Backups V 2 ID +func (id BackupsV2Id) String() string { + components := []string{ + fmt.Sprintf("Subscription: %q", id.SubscriptionId), + fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), + fmt.Sprintf("Flexible Server Name: %q", id.FlexibleServerName), + fmt.Sprintf("Backups V 2 Name: %q", id.BackupsV2Name), + } + return fmt.Sprintf("Backups V 2 (%s)", strings.Join(components, "\n")) +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/backupsv2/id_flexibleserver.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/backupsv2/id_flexibleserver.go new file mode 100644 index 000000000000..9c1e371a991b --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/backupsv2/id_flexibleserver.go @@ -0,0 +1,130 @@ +package backupsv2 + +import ( + "fmt" + "strings" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/recaser" + "github.com/hashicorp/go-azure-helpers/resourcemanager/resourceids" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +func init() { + recaser.RegisterResourceId(&FlexibleServerId{}) +} + +var _ resourceids.ResourceId = &FlexibleServerId{} + +// FlexibleServerId is a struct representing the Resource ID for a Flexible Server +type FlexibleServerId struct { + SubscriptionId string + ResourceGroupName string + FlexibleServerName string +} + +// NewFlexibleServerID returns a new FlexibleServerId struct +func NewFlexibleServerID(subscriptionId string, resourceGroupName string, flexibleServerName string) FlexibleServerId { + return FlexibleServerId{ + SubscriptionId: subscriptionId, + ResourceGroupName: resourceGroupName, + FlexibleServerName: flexibleServerName, + } +} + +// ParseFlexibleServerID parses 'input' into a FlexibleServerId +func ParseFlexibleServerID(input string) (*FlexibleServerId, error) { + parser := resourceids.NewParserFromResourceIdType(&FlexibleServerId{}) + parsed, err := parser.Parse(input, false) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := FlexibleServerId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +// ParseFlexibleServerIDInsensitively parses 'input' case-insensitively into a FlexibleServerId +// note: this method should only be used for API response data and not user input +func ParseFlexibleServerIDInsensitively(input string) (*FlexibleServerId, error) { + parser := resourceids.NewParserFromResourceIdType(&FlexibleServerId{}) + parsed, err := parser.Parse(input, true) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := FlexibleServerId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +func (id *FlexibleServerId) FromParseResult(input resourceids.ParseResult) error { + var ok bool + + if id.SubscriptionId, ok = input.Parsed["subscriptionId"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "subscriptionId", input) + } + + if id.ResourceGroupName, ok = input.Parsed["resourceGroupName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "resourceGroupName", input) + } + + if id.FlexibleServerName, ok = input.Parsed["flexibleServerName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "flexibleServerName", input) + } + + return nil +} + +// ValidateFlexibleServerID checks that 'input' can be parsed as a Flexible Server ID +func ValidateFlexibleServerID(input interface{}, key string) (warnings []string, errors []error) { + v, ok := input.(string) + if !ok { + errors = append(errors, fmt.Errorf("expected %q to be a string", key)) + return + } + + if _, err := ParseFlexibleServerID(v); err != nil { + errors = append(errors, err) + } + + return +} + +// ID returns the formatted Flexible Server ID +func (id FlexibleServerId) ID() string { + fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.DBforMySQL/flexibleServers/%s" + return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.FlexibleServerName) +} + +// Segments returns a slice of Resource ID Segments which comprise this Flexible Server ID +func (id FlexibleServerId) Segments() []resourceids.Segment { + return []resourceids.Segment{ + resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), + resourceids.SubscriptionIdSegment("subscriptionId", "12345678-1234-9876-4563-123456789012"), + resourceids.StaticSegment("staticResourceGroups", "resourceGroups", "resourceGroups"), + resourceids.ResourceGroupSegment("resourceGroupName", "example-resource-group"), + resourceids.StaticSegment("staticProviders", "providers", "providers"), + resourceids.ResourceProviderSegment("staticMicrosoftDBforMySQL", "Microsoft.DBforMySQL", "Microsoft.DBforMySQL"), + resourceids.StaticSegment("staticFlexibleServers", "flexibleServers", "flexibleServers"), + resourceids.UserSpecifiedSegment("flexibleServerName", "flexibleServerName"), + } +} + +// String returns a human-readable description of this Flexible Server ID +func (id FlexibleServerId) String() string { + components := []string{ + fmt.Sprintf("Subscription: %q", id.SubscriptionId), + fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), + fmt.Sprintf("Flexible Server Name: %q", id.FlexibleServerName), + } + return fmt.Sprintf("Flexible Server (%s)", strings.Join(components, "\n")) +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/backupsv2/method_longrunningbackupcreate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/backupsv2/method_longrunningbackupcreate.go new file mode 100644 index 000000000000..3885075c3a6a --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/backupsv2/method_longrunningbackupcreate.go @@ -0,0 +1,76 @@ +package backupsv2 + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/client/pollers" + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type LongRunningBackupCreateOperationResponse struct { + Poller pollers.Poller + HttpResponse *http.Response + OData *odata.OData + Model *ServerBackupV2 +} + +// LongRunningBackupCreate ... +func (c BackupsV2Client) LongRunningBackupCreate(ctx context.Context, id BackupsV2Id, input ServerBackupV2) (result LongRunningBackupCreateOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusAccepted, + http.StatusCreated, + http.StatusOK, + }, + HttpMethod: http.MethodPut, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + if err = req.Marshal(input); err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client) + if err != nil { + return + } + + return +} + +// LongRunningBackupCreateThenPoll performs LongRunningBackupCreate then polls until it's completed +func (c BackupsV2Client) LongRunningBackupCreateThenPoll(ctx context.Context, id BackupsV2Id, input ServerBackupV2) error { + result, err := c.LongRunningBackupCreate(ctx, id, input) + if err != nil { + return fmt.Errorf("performing LongRunningBackupCreate: %+v", err) + } + + if err := result.Poller.PollUntilDone(ctx); err != nil { + return fmt.Errorf("polling after LongRunningBackupCreate: %+v", err) + } + + return nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/backupsv2/method_longrunningbackupsget.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/backupsv2/method_longrunningbackupsget.go new file mode 100644 index 000000000000..a15e75406545 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/backupsv2/method_longrunningbackupsget.go @@ -0,0 +1,53 @@ +package backupsv2 + +import ( + "context" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type LongRunningBackupsGetOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *ServerBackupV2 +} + +// LongRunningBackupsGet ... +func (c BackupsV2Client) LongRunningBackupsGet(ctx context.Context, id BackupsV2Id) (result LongRunningBackupsGetOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var model ServerBackupV2 + result.Model = &model + if err = resp.Unmarshal(result.Model); err != nil { + return + } + + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/backupsv2/method_longrunningbackupslist.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/backupsv2/method_longrunningbackupslist.go new file mode 100644 index 000000000000..26f132b0a08a --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/backupsv2/method_longrunningbackupslist.go @@ -0,0 +1,105 @@ +package backupsv2 + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type LongRunningBackupsListOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *[]ServerBackupV2 +} + +type LongRunningBackupsListCompleteResult struct { + LatestHttpResponse *http.Response + Items []ServerBackupV2 +} + +type LongRunningBackupsListCustomPager struct { + NextLink *odata.Link `json:"nextLink"` +} + +func (p *LongRunningBackupsListCustomPager) NextPageLink() *odata.Link { + defer func() { + p.NextLink = nil + }() + + return p.NextLink +} + +// LongRunningBackupsList ... +func (c BackupsV2Client) LongRunningBackupsList(ctx context.Context, id FlexibleServerId) (result LongRunningBackupsListOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Pager: &LongRunningBackupsListCustomPager{}, + Path: fmt.Sprintf("%s/backupsV2", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.ExecutePaged(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var values struct { + Values *[]ServerBackupV2 `json:"value"` + } + if err = resp.Unmarshal(&values); err != nil { + return + } + + result.Model = values.Values + + return +} + +// LongRunningBackupsListComplete retrieves all the results into a single object +func (c BackupsV2Client) LongRunningBackupsListComplete(ctx context.Context, id FlexibleServerId) (LongRunningBackupsListCompleteResult, error) { + return c.LongRunningBackupsListCompleteMatchingPredicate(ctx, id, ServerBackupV2OperationPredicate{}) +} + +// LongRunningBackupsListCompleteMatchingPredicate retrieves all the results and then applies the predicate +func (c BackupsV2Client) LongRunningBackupsListCompleteMatchingPredicate(ctx context.Context, id FlexibleServerId, predicate ServerBackupV2OperationPredicate) (result LongRunningBackupsListCompleteResult, err error) { + items := make([]ServerBackupV2, 0) + + resp, err := c.LongRunningBackupsList(ctx, id) + if err != nil { + result.LatestHttpResponse = resp.HttpResponse + err = fmt.Errorf("loading results: %+v", err) + return + } + if resp.Model != nil { + for _, v := range *resp.Model { + if predicate.Matches(v) { + items = append(items, v) + } + } + } + + result = LongRunningBackupsListCompleteResult{ + LatestHttpResponse: resp.HttpResponse, + Items: items, + } + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/backupsv2/model_serverbackuppropertiesv2.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/backupsv2/model_serverbackuppropertiesv2.go new file mode 100644 index 000000000000..74adf4f088eb --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/backupsv2/model_serverbackuppropertiesv2.go @@ -0,0 +1,30 @@ +package backupsv2 + +import ( + "time" + + "github.com/hashicorp/go-azure-helpers/lang/dates" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ServerBackupPropertiesV2 struct { + BackupNameV2 *string `json:"backupNameV2,omitempty"` + BackupType *BackupType `json:"backupType,omitempty"` + CompletedTime *string `json:"completedTime,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + Source *string `json:"source,omitempty"` +} + +func (o *ServerBackupPropertiesV2) GetCompletedTimeAsTime() (*time.Time, error) { + if o.CompletedTime == nil { + return nil, nil + } + return dates.ParseAsFormat(o.CompletedTime, "2006-01-02T15:04:05Z07:00") +} + +func (o *ServerBackupPropertiesV2) SetCompletedTimeAsTime(input time.Time) { + formatted := input.Format("2006-01-02T15:04:05Z07:00") + o.CompletedTime = &formatted +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/backupsv2/model_serverbackupv2.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/backupsv2/model_serverbackupv2.go new file mode 100644 index 000000000000..9573444a04ce --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/backupsv2/model_serverbackupv2.go @@ -0,0 +1,16 @@ +package backupsv2 + +import ( + "github.com/hashicorp/go-azure-helpers/resourcemanager/systemdata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ServerBackupV2 struct { + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *ServerBackupPropertiesV2 `json:"properties,omitempty"` + SystemData *systemdata.SystemData `json:"systemData,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/backupsv2/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/backupsv2/predicates.go new file mode 100644 index 000000000000..92711a6c0253 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/backupsv2/predicates.go @@ -0,0 +1,27 @@ +package backupsv2 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ServerBackupV2OperationPredicate struct { + Id *string + Name *string + Type *string +} + +func (p ServerBackupV2OperationPredicate) Matches(input ServerBackupV2) bool { + + if p.Id != nil && (input.Id == nil || *p.Id != *input.Id) { + return false + } + + if p.Name != nil && (input.Name == nil || *p.Name != *input.Name) { + return false + } + + if p.Type != nil && (input.Type == nil || *p.Type != *input.Type) { + return false + } + + return true +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/backupsv2/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/backupsv2/version.go new file mode 100644 index 000000000000..b5a24d5c5bb4 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/backupsv2/version.go @@ -0,0 +1,10 @@ +package backupsv2 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2023-12-30" + +func userAgent() string { + return "hashicorp/go-azure-sdk/backupsv2/2023-12-30" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/checknameavailability/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/checknameavailability/README.md new file mode 100644 index 000000000000..fe57c0b70165 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/checknameavailability/README.md @@ -0,0 +1,63 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/checknameavailability` Documentation + +The `checknameavailability` SDK allows for interaction with Azure Resource Manager `mysql` (API Version `2023-12-30`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" +import "github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/checknameavailability" +``` + + +### Client Initialization + +```go +client := checknameavailability.NewCheckNameAvailabilityClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `CheckNameAvailabilityClient.Execute` + +```go +ctx := context.TODO() +id := checknameavailability.NewLocationID("12345678-1234-9876-4563-123456789012", "locationName") + +payload := checknameavailability.NameAvailabilityRequest{ + // ... +} + + +read, err := client.Execute(ctx, id, payload) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `CheckNameAvailabilityClient.WithoutLocationExecute` + +```go +ctx := context.TODO() +id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012") + +payload := checknameavailability.NameAvailabilityRequest{ + // ... +} + + +read, err := client.WithoutLocationExecute(ctx, id, payload) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/checknameavailability/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/checknameavailability/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/checknameavailability/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/checknameavailability/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/checknameavailability/id_location.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/checknameavailability/id_location.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/checknameavailability/id_location.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/checknameavailability/id_location.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/checknameavailability/method_execute.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/checknameavailability/method_execute.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/checknameavailability/method_execute.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/checknameavailability/method_execute.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/checknameavailability/method_withoutlocationexecute.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/checknameavailability/method_withoutlocationexecute.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/checknameavailability/method_withoutlocationexecute.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/checknameavailability/method_withoutlocationexecute.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/checknameavailability/model_nameavailability.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/checknameavailability/model_nameavailability.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/checknameavailability/model_nameavailability.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/checknameavailability/model_nameavailability.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/checknameavailability/model_nameavailabilityrequest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/checknameavailability/model_nameavailabilityrequest.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/checknameavailability/model_nameavailabilityrequest.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/checknameavailability/model_nameavailabilityrequest.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/checknameavailability/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/checknameavailability/version.go new file mode 100644 index 000000000000..2497ca423925 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/checknameavailability/version.go @@ -0,0 +1,10 @@ +package checknameavailability + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2023-12-30" + +func userAgent() string { + return "hashicorp/go-azure-sdk/checknameavailability/2023-12-30" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/client.go new file mode 100644 index 000000000000..f79c0da7dd1c --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/client.go @@ -0,0 +1,226 @@ +package v2023_12_30 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +import ( + "fmt" + + "github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/advancedthreatprotectionsettings" + "github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/azureadadministrators" + "github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/backupandexport" + "github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/backups" + "github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/backupsv2" + "github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/checknameavailability" + "github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/configurations" + "github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/databases" + "github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/firewallrules" + "github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/getprivatednszonesuffix" + "github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/locationbasedcapabilities" + "github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/locationbasedcapability" + "github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/logfiles" + "github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/maintenances" + "github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/operationprogress" + "github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/serverfailover" + "github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servermigration" + "github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/serverresetgtid" + "github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/serverrestart" + "github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servers" + "github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/serverstart" + "github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/serverstop" + "github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servervalidateestimatehighavailability" + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + sdkEnv "github.com/hashicorp/go-azure-sdk/sdk/environments" +) + +type Client struct { + AdvancedThreatProtectionSettings *advancedthreatprotectionsettings.AdvancedThreatProtectionSettingsClient + AzureADAdministrators *azureadadministrators.AzureADAdministratorsClient + BackupAndExport *backupandexport.BackupAndExportClient + Backups *backups.BackupsClient + BackupsV2 *backupsv2.BackupsV2Client + CheckNameAvailability *checknameavailability.CheckNameAvailabilityClient + Configurations *configurations.ConfigurationsClient + Databases *databases.DatabasesClient + FirewallRules *firewallrules.FirewallRulesClient + GetPrivateDnsZoneSuffix *getprivatednszonesuffix.GetPrivateDnsZoneSuffixClient + LocationBasedCapabilities *locationbasedcapabilities.LocationBasedCapabilitiesClient + LocationBasedCapability *locationbasedcapability.LocationBasedCapabilityClient + LogFiles *logfiles.LogFilesClient + Maintenances *maintenances.MaintenancesClient + OperationProgress *operationprogress.OperationProgressClient + ServerFailover *serverfailover.ServerFailoverClient + ServerMigration *servermigration.ServerMigrationClient + ServerResetGtid *serverresetgtid.ServerResetGtidClient + ServerRestart *serverrestart.ServerRestartClient + ServerStart *serverstart.ServerStartClient + ServerStop *serverstop.ServerStopClient + ServerValidateEstimateHighAvailability *servervalidateestimatehighavailability.ServerValidateEstimateHighAvailabilityClient + Servers *servers.ServersClient +} + +func NewClientWithBaseURI(sdkApi sdkEnv.Api, configureFunc func(c *resourcemanager.Client)) (*Client, error) { + advancedThreatProtectionSettingsClient, err := advancedthreatprotectionsettings.NewAdvancedThreatProtectionSettingsClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building AdvancedThreatProtectionSettings client: %+v", err) + } + configureFunc(advancedThreatProtectionSettingsClient.Client) + + azureADAdministratorsClient, err := azureadadministrators.NewAzureADAdministratorsClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building AzureADAdministrators client: %+v", err) + } + configureFunc(azureADAdministratorsClient.Client) + + backupAndExportClient, err := backupandexport.NewBackupAndExportClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building BackupAndExport client: %+v", err) + } + configureFunc(backupAndExportClient.Client) + + backupsClient, err := backups.NewBackupsClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building Backups client: %+v", err) + } + configureFunc(backupsClient.Client) + + backupsV2Client, err := backupsv2.NewBackupsV2ClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building BackupsV2 client: %+v", err) + } + configureFunc(backupsV2Client.Client) + + checkNameAvailabilityClient, err := checknameavailability.NewCheckNameAvailabilityClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building CheckNameAvailability client: %+v", err) + } + configureFunc(checkNameAvailabilityClient.Client) + + configurationsClient, err := configurations.NewConfigurationsClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building Configurations client: %+v", err) + } + configureFunc(configurationsClient.Client) + + databasesClient, err := databases.NewDatabasesClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building Databases client: %+v", err) + } + configureFunc(databasesClient.Client) + + firewallRulesClient, err := firewallrules.NewFirewallRulesClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building FirewallRules client: %+v", err) + } + configureFunc(firewallRulesClient.Client) + + getPrivateDnsZoneSuffixClient, err := getprivatednszonesuffix.NewGetPrivateDnsZoneSuffixClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building GetPrivateDnsZoneSuffix client: %+v", err) + } + configureFunc(getPrivateDnsZoneSuffixClient.Client) + + locationBasedCapabilitiesClient, err := locationbasedcapabilities.NewLocationBasedCapabilitiesClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building LocationBasedCapabilities client: %+v", err) + } + configureFunc(locationBasedCapabilitiesClient.Client) + + locationBasedCapabilityClient, err := locationbasedcapability.NewLocationBasedCapabilityClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building LocationBasedCapability client: %+v", err) + } + configureFunc(locationBasedCapabilityClient.Client) + + logFilesClient, err := logfiles.NewLogFilesClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building LogFiles client: %+v", err) + } + configureFunc(logFilesClient.Client) + + maintenancesClient, err := maintenances.NewMaintenancesClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building Maintenances client: %+v", err) + } + configureFunc(maintenancesClient.Client) + + operationProgressClient, err := operationprogress.NewOperationProgressClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building OperationProgress client: %+v", err) + } + configureFunc(operationProgressClient.Client) + + serverFailoverClient, err := serverfailover.NewServerFailoverClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building ServerFailover client: %+v", err) + } + configureFunc(serverFailoverClient.Client) + + serverMigrationClient, err := servermigration.NewServerMigrationClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building ServerMigration client: %+v", err) + } + configureFunc(serverMigrationClient.Client) + + serverResetGtidClient, err := serverresetgtid.NewServerResetGtidClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building ServerResetGtid client: %+v", err) + } + configureFunc(serverResetGtidClient.Client) + + serverRestartClient, err := serverrestart.NewServerRestartClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building ServerRestart client: %+v", err) + } + configureFunc(serverRestartClient.Client) + + serverStartClient, err := serverstart.NewServerStartClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building ServerStart client: %+v", err) + } + configureFunc(serverStartClient.Client) + + serverStopClient, err := serverstop.NewServerStopClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building ServerStop client: %+v", err) + } + configureFunc(serverStopClient.Client) + + serverValidateEstimateHighAvailabilityClient, err := servervalidateestimatehighavailability.NewServerValidateEstimateHighAvailabilityClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building ServerValidateEstimateHighAvailability client: %+v", err) + } + configureFunc(serverValidateEstimateHighAvailabilityClient.Client) + + serversClient, err := servers.NewServersClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building Servers client: %+v", err) + } + configureFunc(serversClient.Client) + + return &Client{ + AdvancedThreatProtectionSettings: advancedThreatProtectionSettingsClient, + AzureADAdministrators: azureADAdministratorsClient, + BackupAndExport: backupAndExportClient, + Backups: backupsClient, + BackupsV2: backupsV2Client, + CheckNameAvailability: checkNameAvailabilityClient, + Configurations: configurationsClient, + Databases: databasesClient, + FirewallRules: firewallRulesClient, + GetPrivateDnsZoneSuffix: getPrivateDnsZoneSuffixClient, + LocationBasedCapabilities: locationBasedCapabilitiesClient, + LocationBasedCapability: locationBasedCapabilityClient, + LogFiles: logFilesClient, + Maintenances: maintenancesClient, + OperationProgress: operationProgressClient, + ServerFailover: serverFailoverClient, + ServerMigration: serverMigrationClient, + ServerResetGtid: serverResetGtidClient, + ServerRestart: serverRestartClient, + ServerStart: serverStartClient, + ServerStop: serverStopClient, + ServerValidateEstimateHighAvailability: serverValidateEstimateHighAvailabilityClient, + Servers: serversClient, + }, nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/configurations/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/configurations/README.md new file mode 100644 index 000000000000..e07b3ad20b13 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/configurations/README.md @@ -0,0 +1,109 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/configurations` Documentation + +The `configurations` SDK allows for interaction with Azure Resource Manager `mysql` (API Version `2023-12-30`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/configurations" +``` + + +### Client Initialization + +```go +client := configurations.NewConfigurationsClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `ConfigurationsClient.BatchUpdate` + +```go +ctx := context.TODO() +id := configurations.NewFlexibleServerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "flexibleServerName") + +payload := configurations.ConfigurationListForBatchUpdate{ + // ... +} + + +// alternatively `client.BatchUpdate(ctx, id, payload)` can be used to do batched pagination +items, err := client.BatchUpdateComplete(ctx, id, payload) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `ConfigurationsClient.CreateOrUpdate` + +```go +ctx := context.TODO() +id := configurations.NewConfigurationID("12345678-1234-9876-4563-123456789012", "example-resource-group", "flexibleServerName", "configurationName") + +payload := configurations.Configuration{ + // ... +} + + +if err := client.CreateOrUpdateThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `ConfigurationsClient.Get` + +```go +ctx := context.TODO() +id := configurations.NewConfigurationID("12345678-1234-9876-4563-123456789012", "example-resource-group", "flexibleServerName", "configurationName") + +read, err := client.Get(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `ConfigurationsClient.ListByServer` + +```go +ctx := context.TODO() +id := configurations.NewFlexibleServerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "flexibleServerName") + +// alternatively `client.ListByServer(ctx, id, configurations.DefaultListByServerOperationOptions())` can be used to do batched pagination +items, err := client.ListByServerComplete(ctx, id, configurations.DefaultListByServerOperationOptions()) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `ConfigurationsClient.Update` + +```go +ctx := context.TODO() +id := configurations.NewConfigurationID("12345678-1234-9876-4563-123456789012", "example-resource-group", "flexibleServerName", "configurationName") + +payload := configurations.Configuration{ + // ... +} + + +if err := client.UpdateThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/configurations/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/configurations/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/configurations/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/configurations/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/configurations/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/configurations/constants.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/configurations/constants.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/configurations/constants.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/configurations/id_configuration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/configurations/id_configuration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/configurations/id_configuration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/configurations/id_configuration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/configurations/id_flexibleserver.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/configurations/id_flexibleserver.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/configurations/id_flexibleserver.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/configurations/id_flexibleserver.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/configurations/method_batchupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/configurations/method_batchupdate.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/configurations/method_batchupdate.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/configurations/method_batchupdate.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/configurations/method_createorupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/configurations/method_createorupdate.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/configurations/method_createorupdate.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/configurations/method_createorupdate.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/configurations/method_get.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/configurations/method_get.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/configurations/method_get.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/configurations/method_get.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/configurations/method_listbyserver.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/configurations/method_listbyserver.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/configurations/method_listbyserver.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/configurations/method_listbyserver.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/configurations/method_update.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/configurations/method_update.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/configurations/method_update.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/configurations/method_update.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/configurations/model_configuration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/configurations/model_configuration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/configurations/model_configuration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/configurations/model_configuration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/configurations/model_configurationforbatchupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/configurations/model_configurationforbatchupdate.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/configurations/model_configurationforbatchupdate.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/configurations/model_configurationforbatchupdate.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/configurations/model_configurationforbatchupdateproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/configurations/model_configurationforbatchupdateproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/configurations/model_configurationforbatchupdateproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/configurations/model_configurationforbatchupdateproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/configurations/model_configurationlistforbatchupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/configurations/model_configurationlistforbatchupdate.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/configurations/model_configurationlistforbatchupdate.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/configurations/model_configurationlistforbatchupdate.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/configurations/model_configurationproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/configurations/model_configurationproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/configurations/model_configurationproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/configurations/model_configurationproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/configurations/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/configurations/predicates.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/configurations/predicates.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/configurations/predicates.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/configurations/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/configurations/version.go new file mode 100644 index 000000000000..eb7a17ff37aa --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/configurations/version.go @@ -0,0 +1,10 @@ +package configurations + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2023-12-30" + +func userAgent() string { + return "hashicorp/go-azure-sdk/configurations/2023-12-30" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/databases/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/databases/README.md new file mode 100644 index 000000000000..2e5068bf3eab --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/databases/README.md @@ -0,0 +1,82 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/databases` Documentation + +The `databases` SDK allows for interaction with Azure Resource Manager `mysql` (API Version `2023-12-30`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/databases" +``` + + +### Client Initialization + +```go +client := databases.NewDatabasesClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `DatabasesClient.CreateOrUpdate` + +```go +ctx := context.TODO() +id := databases.NewDatabaseID("12345678-1234-9876-4563-123456789012", "example-resource-group", "flexibleServerName", "databaseName") + +payload := databases.Database{ + // ... +} + + +if err := client.CreateOrUpdateThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `DatabasesClient.Delete` + +```go +ctx := context.TODO() +id := databases.NewDatabaseID("12345678-1234-9876-4563-123456789012", "example-resource-group", "flexibleServerName", "databaseName") + +if err := client.DeleteThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `DatabasesClient.Get` + +```go +ctx := context.TODO() +id := databases.NewDatabaseID("12345678-1234-9876-4563-123456789012", "example-resource-group", "flexibleServerName", "databaseName") + +read, err := client.Get(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `DatabasesClient.ListByServer` + +```go +ctx := context.TODO() +id := databases.NewFlexibleServerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "flexibleServerName") + +// alternatively `client.ListByServer(ctx, id)` can be used to do batched pagination +items, err := client.ListByServerComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/databases/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/databases/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/databases/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/databases/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/databases/id_database.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/databases/id_database.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/databases/id_database.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/databases/id_database.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/databases/id_flexibleserver.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/databases/id_flexibleserver.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/databases/id_flexibleserver.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/databases/id_flexibleserver.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/databases/method_createorupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/databases/method_createorupdate.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/databases/method_createorupdate.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/databases/method_createorupdate.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/databases/method_delete.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/databases/method_delete.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/databases/method_delete.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/databases/method_delete.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/databases/method_get.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/databases/method_get.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/databases/method_get.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/databases/method_get.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/databases/method_listbyserver.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/databases/method_listbyserver.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/databases/method_listbyserver.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/databases/method_listbyserver.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/databases/model_database.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/databases/model_database.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/databases/model_database.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/databases/model_database.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/databases/model_databaseproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/databases/model_databaseproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/databases/model_databaseproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/databases/model_databaseproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/databases/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/databases/predicates.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/databases/predicates.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/databases/predicates.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/databases/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/databases/version.go new file mode 100644 index 000000000000..fdd580a63285 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/databases/version.go @@ -0,0 +1,10 @@ +package databases + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2023-12-30" + +func userAgent() string { + return "hashicorp/go-azure-sdk/databases/2023-12-30" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/firewallrules/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/firewallrules/README.md new file mode 100644 index 000000000000..f7cb0f815686 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/firewallrules/README.md @@ -0,0 +1,82 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/firewallrules` Documentation + +The `firewallrules` SDK allows for interaction with Azure Resource Manager `mysql` (API Version `2023-12-30`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/firewallrules" +``` + + +### Client Initialization + +```go +client := firewallrules.NewFirewallRulesClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `FirewallRulesClient.CreateOrUpdate` + +```go +ctx := context.TODO() +id := firewallrules.NewFirewallRuleID("12345678-1234-9876-4563-123456789012", "example-resource-group", "flexibleServerName", "firewallRuleName") + +payload := firewallrules.FirewallRule{ + // ... +} + + +if err := client.CreateOrUpdateThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `FirewallRulesClient.Delete` + +```go +ctx := context.TODO() +id := firewallrules.NewFirewallRuleID("12345678-1234-9876-4563-123456789012", "example-resource-group", "flexibleServerName", "firewallRuleName") + +if err := client.DeleteThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `FirewallRulesClient.Get` + +```go +ctx := context.TODO() +id := firewallrules.NewFirewallRuleID("12345678-1234-9876-4563-123456789012", "example-resource-group", "flexibleServerName", "firewallRuleName") + +read, err := client.Get(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `FirewallRulesClient.ListByServer` + +```go +ctx := context.TODO() +id := firewallrules.NewFlexibleServerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "flexibleServerName") + +// alternatively `client.ListByServer(ctx, id)` can be used to do batched pagination +items, err := client.ListByServerComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/firewallrules/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/firewallrules/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/firewallrules/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/firewallrules/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/firewallrules/id_firewallrule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/firewallrules/id_firewallrule.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/firewallrules/id_firewallrule.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/firewallrules/id_firewallrule.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/firewallrules/id_flexibleserver.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/firewallrules/id_flexibleserver.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/firewallrules/id_flexibleserver.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/firewallrules/id_flexibleserver.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/firewallrules/method_createorupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/firewallrules/method_createorupdate.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/firewallrules/method_createorupdate.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/firewallrules/method_createorupdate.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/firewallrules/method_delete.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/firewallrules/method_delete.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/firewallrules/method_delete.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/firewallrules/method_delete.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/firewallrules/method_get.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/firewallrules/method_get.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/firewallrules/method_get.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/firewallrules/method_get.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/firewallrules/method_listbyserver.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/firewallrules/method_listbyserver.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/firewallrules/method_listbyserver.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/firewallrules/method_listbyserver.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/firewallrules/model_firewallrule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/firewallrules/model_firewallrule.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/firewallrules/model_firewallrule.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/firewallrules/model_firewallrule.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/firewallrules/model_firewallruleproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/firewallrules/model_firewallruleproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/firewallrules/model_firewallruleproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/firewallrules/model_firewallruleproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/firewallrules/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/firewallrules/predicates.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/firewallrules/predicates.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/firewallrules/predicates.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/firewallrules/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/firewallrules/version.go new file mode 100644 index 000000000000..b898eef78717 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/firewallrules/version.go @@ -0,0 +1,10 @@ +package firewallrules + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2023-12-30" + +func userAgent() string { + return "hashicorp/go-azure-sdk/firewallrules/2023-12-30" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/getprivatednszonesuffix/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/getprivatednszonesuffix/README.md new file mode 100644 index 000000000000..495df3df5f5e --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/getprivatednszonesuffix/README.md @@ -0,0 +1,36 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/getprivatednszonesuffix` Documentation + +The `getprivatednszonesuffix` SDK allows for interaction with Azure Resource Manager `mysql` (API Version `2023-12-30`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/getprivatednszonesuffix" +``` + + +### Client Initialization + +```go +client := getprivatednszonesuffix.NewGetPrivateDnsZoneSuffixClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `GetPrivateDnsZoneSuffixClient.Execute` + +```go +ctx := context.TODO() + + +read, err := client.Execute(ctx) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/getprivatednszonesuffix/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/getprivatednszonesuffix/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/getprivatednszonesuffix/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/getprivatednszonesuffix/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/getprivatednszonesuffix/method_execute.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/getprivatednszonesuffix/method_execute.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/getprivatednszonesuffix/method_execute.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/getprivatednszonesuffix/method_execute.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/getprivatednszonesuffix/model_getprivatednszonesuffixresponse.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/getprivatednszonesuffix/model_getprivatednszonesuffixresponse.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/getprivatednszonesuffix/model_getprivatednszonesuffixresponse.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/getprivatednszonesuffix/model_getprivatednszonesuffixresponse.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/getprivatednszonesuffix/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/getprivatednszonesuffix/version.go new file mode 100644 index 000000000000..5a77516c8f45 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/getprivatednszonesuffix/version.go @@ -0,0 +1,10 @@ +package getprivatednszonesuffix + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2023-12-30" + +func userAgent() string { + return "hashicorp/go-azure-sdk/getprivatednszonesuffix/2023-12-30" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/locationbasedcapabilities/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/locationbasedcapabilities/README.md new file mode 100644 index 000000000000..ccc5a17a2056 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/locationbasedcapabilities/README.md @@ -0,0 +1,37 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/locationbasedcapabilities` Documentation + +The `locationbasedcapabilities` SDK allows for interaction with Azure Resource Manager `mysql` (API Version `2023-12-30`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/locationbasedcapabilities" +``` + + +### Client Initialization + +```go +client := locationbasedcapabilities.NewLocationBasedCapabilitiesClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `LocationBasedCapabilitiesClient.List` + +```go +ctx := context.TODO() +id := locationbasedcapabilities.NewLocationID("12345678-1234-9876-4563-123456789012", "locationName") + +// alternatively `client.List(ctx, id)` can be used to do batched pagination +items, err := client.ListComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/locationbasedcapabilities/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/locationbasedcapabilities/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/locationbasedcapabilities/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/locationbasedcapabilities/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/locationbasedcapabilities/id_location.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/locationbasedcapabilities/id_location.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/locationbasedcapabilities/id_location.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/locationbasedcapabilities/id_location.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/locationbasedcapabilities/method_list.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/locationbasedcapabilities/method_list.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/locationbasedcapabilities/method_list.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/locationbasedcapabilities/method_list.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/locationbasedcapabilities/model_capabilityproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/locationbasedcapabilities/model_capabilityproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/locationbasedcapabilities/model_capabilityproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/locationbasedcapabilities/model_capabilityproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/locationbasedcapabilities/model_servereditioncapability.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/locationbasedcapabilities/model_servereditioncapability.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/locationbasedcapabilities/model_servereditioncapability.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/locationbasedcapabilities/model_servereditioncapability.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/locationbasedcapabilities/model_serverversioncapability.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/locationbasedcapabilities/model_serverversioncapability.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/locationbasedcapabilities/model_serverversioncapability.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/locationbasedcapabilities/model_serverversioncapability.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/locationbasedcapabilities/model_skucapability.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/locationbasedcapabilities/model_skucapability.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/locationbasedcapabilities/model_skucapability.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/locationbasedcapabilities/model_skucapability.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/locationbasedcapabilities/model_storageeditioncapability.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/locationbasedcapabilities/model_storageeditioncapability.go new file mode 100644 index 000000000000..eec8c34c448d --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/locationbasedcapabilities/model_storageeditioncapability.go @@ -0,0 +1,14 @@ +package locationbasedcapabilities + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type StorageEditionCapability struct { + MaxBackupIntervalHours *int64 `json:"maxBackupIntervalHours,omitempty"` + MaxBackupRetentionDays *int64 `json:"maxBackupRetentionDays,omitempty"` + MaxStorageSize *int64 `json:"maxStorageSize,omitempty"` + MinBackupIntervalHours *int64 `json:"minBackupIntervalHours,omitempty"` + MinBackupRetentionDays *int64 `json:"minBackupRetentionDays,omitempty"` + MinStorageSize *int64 `json:"minStorageSize,omitempty"` + Name *string `json:"name,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/locationbasedcapabilities/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/locationbasedcapabilities/predicates.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/locationbasedcapabilities/predicates.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/locationbasedcapabilities/predicates.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/locationbasedcapabilities/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/locationbasedcapabilities/version.go new file mode 100644 index 000000000000..9971bc5f35fb --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/locationbasedcapabilities/version.go @@ -0,0 +1,10 @@ +package locationbasedcapabilities + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2023-12-30" + +func userAgent() string { + return "hashicorp/go-azure-sdk/locationbasedcapabilities/2023-12-30" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/locationbasedcapability/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/locationbasedcapability/README.md new file mode 100644 index 000000000000..d7c77d383e46 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/locationbasedcapability/README.md @@ -0,0 +1,53 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/locationbasedcapability` Documentation + +The `locationbasedcapability` SDK allows for interaction with Azure Resource Manager `mysql` (API Version `2023-12-30`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/locationbasedcapability" +``` + + +### Client Initialization + +```go +client := locationbasedcapability.NewLocationBasedCapabilityClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `LocationBasedCapabilityClient.SetGet` + +```go +ctx := context.TODO() +id := locationbasedcapability.NewCapabilitySetID("12345678-1234-9876-4563-123456789012", "locationName", "capabilitySetName") + +read, err := client.SetGet(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `LocationBasedCapabilityClient.SetList` + +```go +ctx := context.TODO() +id := locationbasedcapability.NewLocationID("12345678-1234-9876-4563-123456789012", "locationName") + +// alternatively `client.SetList(ctx, id)` can be used to do batched pagination +items, err := client.SetListComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/locationbasedcapability/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/locationbasedcapability/client.go new file mode 100644 index 000000000000..09a9c2a8336c --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/locationbasedcapability/client.go @@ -0,0 +1,26 @@ +package locationbasedcapability + +import ( + "fmt" + + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + sdkEnv "github.com/hashicorp/go-azure-sdk/sdk/environments" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type LocationBasedCapabilityClient struct { + Client *resourcemanager.Client +} + +func NewLocationBasedCapabilityClientWithBaseURI(sdkApi sdkEnv.Api) (*LocationBasedCapabilityClient, error) { + client, err := resourcemanager.NewClient(sdkApi, "locationbasedcapability", defaultApiVersion) + if err != nil { + return nil, fmt.Errorf("instantiating LocationBasedCapabilityClient: %+v", err) + } + + return &LocationBasedCapabilityClient{ + Client: client, + }, nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/locationbasedcapability/id_capabilityset.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/locationbasedcapability/id_capabilityset.go new file mode 100644 index 000000000000..7ed4f0a9a102 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/locationbasedcapability/id_capabilityset.go @@ -0,0 +1,130 @@ +package locationbasedcapability + +import ( + "fmt" + "strings" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/recaser" + "github.com/hashicorp/go-azure-helpers/resourcemanager/resourceids" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +func init() { + recaser.RegisterResourceId(&CapabilitySetId{}) +} + +var _ resourceids.ResourceId = &CapabilitySetId{} + +// CapabilitySetId is a struct representing the Resource ID for a Capability Set +type CapabilitySetId struct { + SubscriptionId string + LocationName string + CapabilitySetName string +} + +// NewCapabilitySetID returns a new CapabilitySetId struct +func NewCapabilitySetID(subscriptionId string, locationName string, capabilitySetName string) CapabilitySetId { + return CapabilitySetId{ + SubscriptionId: subscriptionId, + LocationName: locationName, + CapabilitySetName: capabilitySetName, + } +} + +// ParseCapabilitySetID parses 'input' into a CapabilitySetId +func ParseCapabilitySetID(input string) (*CapabilitySetId, error) { + parser := resourceids.NewParserFromResourceIdType(&CapabilitySetId{}) + parsed, err := parser.Parse(input, false) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := CapabilitySetId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +// ParseCapabilitySetIDInsensitively parses 'input' case-insensitively into a CapabilitySetId +// note: this method should only be used for API response data and not user input +func ParseCapabilitySetIDInsensitively(input string) (*CapabilitySetId, error) { + parser := resourceids.NewParserFromResourceIdType(&CapabilitySetId{}) + parsed, err := parser.Parse(input, true) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := CapabilitySetId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +func (id *CapabilitySetId) FromParseResult(input resourceids.ParseResult) error { + var ok bool + + if id.SubscriptionId, ok = input.Parsed["subscriptionId"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "subscriptionId", input) + } + + if id.LocationName, ok = input.Parsed["locationName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "locationName", input) + } + + if id.CapabilitySetName, ok = input.Parsed["capabilitySetName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "capabilitySetName", input) + } + + return nil +} + +// ValidateCapabilitySetID checks that 'input' can be parsed as a Capability Set ID +func ValidateCapabilitySetID(input interface{}, key string) (warnings []string, errors []error) { + v, ok := input.(string) + if !ok { + errors = append(errors, fmt.Errorf("expected %q to be a string", key)) + return + } + + if _, err := ParseCapabilitySetID(v); err != nil { + errors = append(errors, err) + } + + return +} + +// ID returns the formatted Capability Set ID +func (id CapabilitySetId) ID() string { + fmtString := "/subscriptions/%s/providers/Microsoft.DBforMySQL/locations/%s/capabilitySets/%s" + return fmt.Sprintf(fmtString, id.SubscriptionId, id.LocationName, id.CapabilitySetName) +} + +// Segments returns a slice of Resource ID Segments which comprise this Capability Set ID +func (id CapabilitySetId) Segments() []resourceids.Segment { + return []resourceids.Segment{ + resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), + resourceids.SubscriptionIdSegment("subscriptionId", "12345678-1234-9876-4563-123456789012"), + resourceids.StaticSegment("staticProviders", "providers", "providers"), + resourceids.ResourceProviderSegment("staticMicrosoftDBforMySQL", "Microsoft.DBforMySQL", "Microsoft.DBforMySQL"), + resourceids.StaticSegment("staticLocations", "locations", "locations"), + resourceids.UserSpecifiedSegment("locationName", "locationName"), + resourceids.StaticSegment("staticCapabilitySets", "capabilitySets", "capabilitySets"), + resourceids.UserSpecifiedSegment("capabilitySetName", "capabilitySetName"), + } +} + +// String returns a human-readable description of this Capability Set ID +func (id CapabilitySetId) String() string { + components := []string{ + fmt.Sprintf("Subscription: %q", id.SubscriptionId), + fmt.Sprintf("Location Name: %q", id.LocationName), + fmt.Sprintf("Capability Set Name: %q", id.CapabilitySetName), + } + return fmt.Sprintf("Capability Set (%s)", strings.Join(components, "\n")) +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/locationbasedcapability/id_location.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/locationbasedcapability/id_location.go new file mode 100644 index 000000000000..fa71d06dfa32 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/locationbasedcapability/id_location.go @@ -0,0 +1,121 @@ +package locationbasedcapability + +import ( + "fmt" + "strings" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/recaser" + "github.com/hashicorp/go-azure-helpers/resourcemanager/resourceids" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +func init() { + recaser.RegisterResourceId(&LocationId{}) +} + +var _ resourceids.ResourceId = &LocationId{} + +// LocationId is a struct representing the Resource ID for a Location +type LocationId struct { + SubscriptionId string + LocationName string +} + +// NewLocationID returns a new LocationId struct +func NewLocationID(subscriptionId string, locationName string) LocationId { + return LocationId{ + SubscriptionId: subscriptionId, + LocationName: locationName, + } +} + +// ParseLocationID parses 'input' into a LocationId +func ParseLocationID(input string) (*LocationId, error) { + parser := resourceids.NewParserFromResourceIdType(&LocationId{}) + parsed, err := parser.Parse(input, false) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := LocationId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +// ParseLocationIDInsensitively parses 'input' case-insensitively into a LocationId +// note: this method should only be used for API response data and not user input +func ParseLocationIDInsensitively(input string) (*LocationId, error) { + parser := resourceids.NewParserFromResourceIdType(&LocationId{}) + parsed, err := parser.Parse(input, true) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := LocationId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +func (id *LocationId) FromParseResult(input resourceids.ParseResult) error { + var ok bool + + if id.SubscriptionId, ok = input.Parsed["subscriptionId"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "subscriptionId", input) + } + + if id.LocationName, ok = input.Parsed["locationName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "locationName", input) + } + + return nil +} + +// ValidateLocationID checks that 'input' can be parsed as a Location ID +func ValidateLocationID(input interface{}, key string) (warnings []string, errors []error) { + v, ok := input.(string) + if !ok { + errors = append(errors, fmt.Errorf("expected %q to be a string", key)) + return + } + + if _, err := ParseLocationID(v); err != nil { + errors = append(errors, err) + } + + return +} + +// ID returns the formatted Location ID +func (id LocationId) ID() string { + fmtString := "/subscriptions/%s/providers/Microsoft.DBforMySQL/locations/%s" + return fmt.Sprintf(fmtString, id.SubscriptionId, id.LocationName) +} + +// Segments returns a slice of Resource ID Segments which comprise this Location ID +func (id LocationId) Segments() []resourceids.Segment { + return []resourceids.Segment{ + resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), + resourceids.SubscriptionIdSegment("subscriptionId", "12345678-1234-9876-4563-123456789012"), + resourceids.StaticSegment("staticProviders", "providers", "providers"), + resourceids.ResourceProviderSegment("staticMicrosoftDBforMySQL", "Microsoft.DBforMySQL", "Microsoft.DBforMySQL"), + resourceids.StaticSegment("staticLocations", "locations", "locations"), + resourceids.UserSpecifiedSegment("locationName", "locationName"), + } +} + +// String returns a human-readable description of this Location ID +func (id LocationId) String() string { + components := []string{ + fmt.Sprintf("Subscription: %q", id.SubscriptionId), + fmt.Sprintf("Location Name: %q", id.LocationName), + } + return fmt.Sprintf("Location (%s)", strings.Join(components, "\n")) +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/locationbasedcapability/method_setget.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/locationbasedcapability/method_setget.go new file mode 100644 index 000000000000..e30a08c9c434 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/locationbasedcapability/method_setget.go @@ -0,0 +1,53 @@ +package locationbasedcapability + +import ( + "context" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type SetGetOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *Capability +} + +// SetGet ... +func (c LocationBasedCapabilityClient) SetGet(ctx context.Context, id CapabilitySetId) (result SetGetOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var model Capability + result.Model = &model + if err = resp.Unmarshal(result.Model); err != nil { + return + } + + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/locationbasedcapability/method_setlist.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/locationbasedcapability/method_setlist.go new file mode 100644 index 000000000000..a942983ba91d --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/locationbasedcapability/method_setlist.go @@ -0,0 +1,105 @@ +package locationbasedcapability + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type SetListOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *[]Capability +} + +type SetListCompleteResult struct { + LatestHttpResponse *http.Response + Items []Capability +} + +type SetListCustomPager struct { + NextLink *odata.Link `json:"nextLink"` +} + +func (p *SetListCustomPager) NextPageLink() *odata.Link { + defer func() { + p.NextLink = nil + }() + + return p.NextLink +} + +// SetList ... +func (c LocationBasedCapabilityClient) SetList(ctx context.Context, id LocationId) (result SetListOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Pager: &SetListCustomPager{}, + Path: fmt.Sprintf("%s/capabilitySets", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.ExecutePaged(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var values struct { + Values *[]Capability `json:"value"` + } + if err = resp.Unmarshal(&values); err != nil { + return + } + + result.Model = values.Values + + return +} + +// SetListComplete retrieves all the results into a single object +func (c LocationBasedCapabilityClient) SetListComplete(ctx context.Context, id LocationId) (SetListCompleteResult, error) { + return c.SetListCompleteMatchingPredicate(ctx, id, CapabilityOperationPredicate{}) +} + +// SetListCompleteMatchingPredicate retrieves all the results and then applies the predicate +func (c LocationBasedCapabilityClient) SetListCompleteMatchingPredicate(ctx context.Context, id LocationId, predicate CapabilityOperationPredicate) (result SetListCompleteResult, err error) { + items := make([]Capability, 0) + + resp, err := c.SetList(ctx, id) + if err != nil { + result.LatestHttpResponse = resp.HttpResponse + err = fmt.Errorf("loading results: %+v", err) + return + } + if resp.Model != nil { + for _, v := range *resp.Model { + if predicate.Matches(v) { + items = append(items, v) + } + } + } + + result = SetListCompleteResult{ + LatestHttpResponse: resp.HttpResponse, + Items: items, + } + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/locationbasedcapability/model_capability.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/locationbasedcapability/model_capability.go new file mode 100644 index 000000000000..7c8e20be62c5 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/locationbasedcapability/model_capability.go @@ -0,0 +1,16 @@ +package locationbasedcapability + +import ( + "github.com/hashicorp/go-azure-helpers/resourcemanager/systemdata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type Capability struct { + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *CapabilityPropertiesV2 `json:"properties,omitempty"` + SystemData *systemdata.SystemData `json:"systemData,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/locationbasedcapability/model_capabilitypropertiesv2.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/locationbasedcapability/model_capabilitypropertiesv2.go new file mode 100644 index 000000000000..225e59fb99bc --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/locationbasedcapability/model_capabilitypropertiesv2.go @@ -0,0 +1,10 @@ +package locationbasedcapability + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type CapabilityPropertiesV2 struct { + SupportedFlexibleServerEditions *[]ServerEditionCapabilityV2 `json:"supportedFlexibleServerEditions,omitempty"` + SupportedGeoBackupRegions *[]string `json:"supportedGeoBackupRegions,omitempty"` + SupportedServerVersions *[]ServerVersionCapabilityV2 `json:"supportedServerVersions,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/locationbasedcapability/model_servereditioncapabilityv2.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/locationbasedcapability/model_servereditioncapabilityv2.go new file mode 100644 index 000000000000..0af2925e0dc1 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/locationbasedcapability/model_servereditioncapabilityv2.go @@ -0,0 +1,12 @@ +package locationbasedcapability + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ServerEditionCapabilityV2 struct { + DefaultSku *string `json:"defaultSku,omitempty"` + DefaultStorageSize *int64 `json:"defaultStorageSize,omitempty"` + Name *string `json:"name,omitempty"` + SupportedSkus *[]SkuCapabilityV2 `json:"supportedSkus,omitempty"` + SupportedStorageEditions *[]StorageEditionCapability `json:"supportedStorageEditions,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/locationbasedcapability/model_serverversioncapabilityv2.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/locationbasedcapability/model_serverversioncapabilityv2.go new file mode 100644 index 000000000000..360447828486 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/locationbasedcapability/model_serverversioncapabilityv2.go @@ -0,0 +1,8 @@ +package locationbasedcapability + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ServerVersionCapabilityV2 struct { + Name *string `json:"name,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/locationbasedcapability/model_skucapabilityv2.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/locationbasedcapability/model_skucapabilityv2.go new file mode 100644 index 000000000000..688045a0f859 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/locationbasedcapability/model_skucapabilityv2.go @@ -0,0 +1,13 @@ +package locationbasedcapability + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type SkuCapabilityV2 struct { + Name *string `json:"name,omitempty"` + SupportedHAMode *[]string `json:"supportedHAMode,omitempty"` + SupportedIops *int64 `json:"supportedIops,omitempty"` + SupportedMemoryPerVCoreMB *int64 `json:"supportedMemoryPerVCoreMB,omitempty"` + SupportedZones *[]string `json:"supportedZones,omitempty"` + VCores *int64 `json:"vCores,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/locationbasedcapability/model_storageeditioncapability.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/locationbasedcapability/model_storageeditioncapability.go new file mode 100644 index 000000000000..f795f9800ef5 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/locationbasedcapability/model_storageeditioncapability.go @@ -0,0 +1,14 @@ +package locationbasedcapability + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type StorageEditionCapability struct { + MaxBackupIntervalHours *int64 `json:"maxBackupIntervalHours,omitempty"` + MaxBackupRetentionDays *int64 `json:"maxBackupRetentionDays,omitempty"` + MaxStorageSize *int64 `json:"maxStorageSize,omitempty"` + MinBackupIntervalHours *int64 `json:"minBackupIntervalHours,omitempty"` + MinBackupRetentionDays *int64 `json:"minBackupRetentionDays,omitempty"` + MinStorageSize *int64 `json:"minStorageSize,omitempty"` + Name *string `json:"name,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/locationbasedcapability/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/locationbasedcapability/predicates.go new file mode 100644 index 000000000000..c12b4684c6f5 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/locationbasedcapability/predicates.go @@ -0,0 +1,27 @@ +package locationbasedcapability + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type CapabilityOperationPredicate struct { + Id *string + Name *string + Type *string +} + +func (p CapabilityOperationPredicate) Matches(input Capability) bool { + + if p.Id != nil && (input.Id == nil || *p.Id != *input.Id) { + return false + } + + if p.Name != nil && (input.Name == nil || *p.Name != *input.Name) { + return false + } + + if p.Type != nil && (input.Type == nil || *p.Type != *input.Type) { + return false + } + + return true +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/locationbasedcapability/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/locationbasedcapability/version.go new file mode 100644 index 000000000000..c037ec027245 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/locationbasedcapability/version.go @@ -0,0 +1,10 @@ +package locationbasedcapability + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2023-12-30" + +func userAgent() string { + return "hashicorp/go-azure-sdk/locationbasedcapability/2023-12-30" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/logfiles/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/logfiles/README.md new file mode 100644 index 000000000000..61382d47f89a --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/logfiles/README.md @@ -0,0 +1,37 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/logfiles` Documentation + +The `logfiles` SDK allows for interaction with Azure Resource Manager `mysql` (API Version `2023-12-30`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/logfiles" +``` + + +### Client Initialization + +```go +client := logfiles.NewLogFilesClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `LogFilesClient.ListByServer` + +```go +ctx := context.TODO() +id := logfiles.NewFlexibleServerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "flexibleServerName") + +// alternatively `client.ListByServer(ctx, id)` can be used to do batched pagination +items, err := client.ListByServerComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/logfiles/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/logfiles/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/logfiles/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/logfiles/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/logfiles/id_flexibleserver.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/logfiles/id_flexibleserver.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/logfiles/id_flexibleserver.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/logfiles/id_flexibleserver.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/logfiles/method_listbyserver.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/logfiles/method_listbyserver.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/logfiles/method_listbyserver.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/logfiles/method_listbyserver.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/logfiles/model_logfile.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/logfiles/model_logfile.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/logfiles/model_logfile.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/logfiles/model_logfile.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/logfiles/model_logfileproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/logfiles/model_logfileproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/logfiles/model_logfileproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/logfiles/model_logfileproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/logfiles/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/logfiles/predicates.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/logfiles/predicates.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/logfiles/predicates.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/logfiles/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/logfiles/version.go new file mode 100644 index 000000000000..a819927acb32 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/logfiles/version.go @@ -0,0 +1,10 @@ +package logfiles + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2023-12-30" + +func userAgent() string { + return "hashicorp/go-azure-sdk/logfiles/2023-12-30" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/maintenances/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/maintenances/README.md new file mode 100644 index 000000000000..b68e36f7b701 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/maintenances/README.md @@ -0,0 +1,70 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/maintenances` Documentation + +The `maintenances` SDK allows for interaction with Azure Resource Manager `mysql` (API Version `2023-12-30`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/maintenances" +``` + + +### Client Initialization + +```go +client := maintenances.NewMaintenancesClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `MaintenancesClient.List` + +```go +ctx := context.TODO() +id := maintenances.NewFlexibleServerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "flexibleServerName") + +// alternatively `client.List(ctx, id)` can be used to do batched pagination +items, err := client.ListComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `MaintenancesClient.Read` + +```go +ctx := context.TODO() +id := maintenances.NewMaintenanceID("12345678-1234-9876-4563-123456789012", "example-resource-group", "flexibleServerName", "maintenanceName") + +read, err := client.Read(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `MaintenancesClient.Update` + +```go +ctx := context.TODO() +id := maintenances.NewMaintenanceID("12345678-1234-9876-4563-123456789012", "example-resource-group", "flexibleServerName", "maintenanceName") + +payload := maintenances.MaintenanceUpdate{ + // ... +} + + +if err := client.UpdateThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/maintenances/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/maintenances/client.go new file mode 100644 index 000000000000..447a530851ca --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/maintenances/client.go @@ -0,0 +1,26 @@ +package maintenances + +import ( + "fmt" + + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + sdkEnv "github.com/hashicorp/go-azure-sdk/sdk/environments" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type MaintenancesClient struct { + Client *resourcemanager.Client +} + +func NewMaintenancesClientWithBaseURI(sdkApi sdkEnv.Api) (*MaintenancesClient, error) { + client, err := resourcemanager.NewClient(sdkApi, "maintenances", defaultApiVersion) + if err != nil { + return nil, fmt.Errorf("instantiating MaintenancesClient: %+v", err) + } + + return &MaintenancesClient{ + Client: client, + }, nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/maintenances/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/maintenances/constants.go new file mode 100644 index 000000000000..150947ebddf0 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/maintenances/constants.go @@ -0,0 +1,157 @@ +package maintenances + +import ( + "encoding/json" + "fmt" + "strings" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type MaintenanceProvisioningState string + +const ( + MaintenanceProvisioningStateCreating MaintenanceProvisioningState = "Creating" + MaintenanceProvisioningStateDeleting MaintenanceProvisioningState = "Deleting" + MaintenanceProvisioningStateFailed MaintenanceProvisioningState = "Failed" + MaintenanceProvisioningStateSucceeded MaintenanceProvisioningState = "Succeeded" +) + +func PossibleValuesForMaintenanceProvisioningState() []string { + return []string{ + string(MaintenanceProvisioningStateCreating), + string(MaintenanceProvisioningStateDeleting), + string(MaintenanceProvisioningStateFailed), + string(MaintenanceProvisioningStateSucceeded), + } +} + +func (s *MaintenanceProvisioningState) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseMaintenanceProvisioningState(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseMaintenanceProvisioningState(input string) (*MaintenanceProvisioningState, error) { + vals := map[string]MaintenanceProvisioningState{ + "creating": MaintenanceProvisioningStateCreating, + "deleting": MaintenanceProvisioningStateDeleting, + "failed": MaintenanceProvisioningStateFailed, + "succeeded": MaintenanceProvisioningStateSucceeded, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := MaintenanceProvisioningState(input) + return &out, nil +} + +type MaintenanceState string + +const ( + MaintenanceStateCanceled MaintenanceState = "Canceled" + MaintenanceStateCompleted MaintenanceState = "Completed" + MaintenanceStateInPreparation MaintenanceState = "InPreparation" + MaintenanceStateProcessing MaintenanceState = "Processing" + MaintenanceStateReScheduled MaintenanceState = "ReScheduled" + MaintenanceStateScheduled MaintenanceState = "Scheduled" +) + +func PossibleValuesForMaintenanceState() []string { + return []string{ + string(MaintenanceStateCanceled), + string(MaintenanceStateCompleted), + string(MaintenanceStateInPreparation), + string(MaintenanceStateProcessing), + string(MaintenanceStateReScheduled), + string(MaintenanceStateScheduled), + } +} + +func (s *MaintenanceState) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseMaintenanceState(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseMaintenanceState(input string) (*MaintenanceState, error) { + vals := map[string]MaintenanceState{ + "canceled": MaintenanceStateCanceled, + "completed": MaintenanceStateCompleted, + "inpreparation": MaintenanceStateInPreparation, + "processing": MaintenanceStateProcessing, + "rescheduled": MaintenanceStateReScheduled, + "scheduled": MaintenanceStateScheduled, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := MaintenanceState(input) + return &out, nil +} + +type MaintenanceType string + +const ( + MaintenanceTypeHotFixes MaintenanceType = "HotFixes" + MaintenanceTypeMinorVersionUpgrade MaintenanceType = "MinorVersionUpgrade" + MaintenanceTypeRoutineMaintenance MaintenanceType = "RoutineMaintenance" + MaintenanceTypeSecurityPatches MaintenanceType = "SecurityPatches" +) + +func PossibleValuesForMaintenanceType() []string { + return []string{ + string(MaintenanceTypeHotFixes), + string(MaintenanceTypeMinorVersionUpgrade), + string(MaintenanceTypeRoutineMaintenance), + string(MaintenanceTypeSecurityPatches), + } +} + +func (s *MaintenanceType) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseMaintenanceType(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseMaintenanceType(input string) (*MaintenanceType, error) { + vals := map[string]MaintenanceType{ + "hotfixes": MaintenanceTypeHotFixes, + "minorversionupgrade": MaintenanceTypeMinorVersionUpgrade, + "routinemaintenance": MaintenanceTypeRoutineMaintenance, + "securitypatches": MaintenanceTypeSecurityPatches, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := MaintenanceType(input) + return &out, nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/maintenances/id_flexibleserver.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/maintenances/id_flexibleserver.go new file mode 100644 index 000000000000..ef2adbe3118a --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/maintenances/id_flexibleserver.go @@ -0,0 +1,130 @@ +package maintenances + +import ( + "fmt" + "strings" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/recaser" + "github.com/hashicorp/go-azure-helpers/resourcemanager/resourceids" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +func init() { + recaser.RegisterResourceId(&FlexibleServerId{}) +} + +var _ resourceids.ResourceId = &FlexibleServerId{} + +// FlexibleServerId is a struct representing the Resource ID for a Flexible Server +type FlexibleServerId struct { + SubscriptionId string + ResourceGroupName string + FlexibleServerName string +} + +// NewFlexibleServerID returns a new FlexibleServerId struct +func NewFlexibleServerID(subscriptionId string, resourceGroupName string, flexibleServerName string) FlexibleServerId { + return FlexibleServerId{ + SubscriptionId: subscriptionId, + ResourceGroupName: resourceGroupName, + FlexibleServerName: flexibleServerName, + } +} + +// ParseFlexibleServerID parses 'input' into a FlexibleServerId +func ParseFlexibleServerID(input string) (*FlexibleServerId, error) { + parser := resourceids.NewParserFromResourceIdType(&FlexibleServerId{}) + parsed, err := parser.Parse(input, false) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := FlexibleServerId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +// ParseFlexibleServerIDInsensitively parses 'input' case-insensitively into a FlexibleServerId +// note: this method should only be used for API response data and not user input +func ParseFlexibleServerIDInsensitively(input string) (*FlexibleServerId, error) { + parser := resourceids.NewParserFromResourceIdType(&FlexibleServerId{}) + parsed, err := parser.Parse(input, true) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := FlexibleServerId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +func (id *FlexibleServerId) FromParseResult(input resourceids.ParseResult) error { + var ok bool + + if id.SubscriptionId, ok = input.Parsed["subscriptionId"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "subscriptionId", input) + } + + if id.ResourceGroupName, ok = input.Parsed["resourceGroupName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "resourceGroupName", input) + } + + if id.FlexibleServerName, ok = input.Parsed["flexibleServerName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "flexibleServerName", input) + } + + return nil +} + +// ValidateFlexibleServerID checks that 'input' can be parsed as a Flexible Server ID +func ValidateFlexibleServerID(input interface{}, key string) (warnings []string, errors []error) { + v, ok := input.(string) + if !ok { + errors = append(errors, fmt.Errorf("expected %q to be a string", key)) + return + } + + if _, err := ParseFlexibleServerID(v); err != nil { + errors = append(errors, err) + } + + return +} + +// ID returns the formatted Flexible Server ID +func (id FlexibleServerId) ID() string { + fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.DBforMySQL/flexibleServers/%s" + return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.FlexibleServerName) +} + +// Segments returns a slice of Resource ID Segments which comprise this Flexible Server ID +func (id FlexibleServerId) Segments() []resourceids.Segment { + return []resourceids.Segment{ + resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), + resourceids.SubscriptionIdSegment("subscriptionId", "12345678-1234-9876-4563-123456789012"), + resourceids.StaticSegment("staticResourceGroups", "resourceGroups", "resourceGroups"), + resourceids.ResourceGroupSegment("resourceGroupName", "example-resource-group"), + resourceids.StaticSegment("staticProviders", "providers", "providers"), + resourceids.ResourceProviderSegment("staticMicrosoftDBforMySQL", "Microsoft.DBforMySQL", "Microsoft.DBforMySQL"), + resourceids.StaticSegment("staticFlexibleServers", "flexibleServers", "flexibleServers"), + resourceids.UserSpecifiedSegment("flexibleServerName", "flexibleServerName"), + } +} + +// String returns a human-readable description of this Flexible Server ID +func (id FlexibleServerId) String() string { + components := []string{ + fmt.Sprintf("Subscription: %q", id.SubscriptionId), + fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), + fmt.Sprintf("Flexible Server Name: %q", id.FlexibleServerName), + } + return fmt.Sprintf("Flexible Server (%s)", strings.Join(components, "\n")) +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/maintenances/id_maintenance.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/maintenances/id_maintenance.go new file mode 100644 index 000000000000..0d3dd77afc8d --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/maintenances/id_maintenance.go @@ -0,0 +1,139 @@ +package maintenances + +import ( + "fmt" + "strings" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/recaser" + "github.com/hashicorp/go-azure-helpers/resourcemanager/resourceids" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +func init() { + recaser.RegisterResourceId(&MaintenanceId{}) +} + +var _ resourceids.ResourceId = &MaintenanceId{} + +// MaintenanceId is a struct representing the Resource ID for a Maintenance +type MaintenanceId struct { + SubscriptionId string + ResourceGroupName string + FlexibleServerName string + MaintenanceName string +} + +// NewMaintenanceID returns a new MaintenanceId struct +func NewMaintenanceID(subscriptionId string, resourceGroupName string, flexibleServerName string, maintenanceName string) MaintenanceId { + return MaintenanceId{ + SubscriptionId: subscriptionId, + ResourceGroupName: resourceGroupName, + FlexibleServerName: flexibleServerName, + MaintenanceName: maintenanceName, + } +} + +// ParseMaintenanceID parses 'input' into a MaintenanceId +func ParseMaintenanceID(input string) (*MaintenanceId, error) { + parser := resourceids.NewParserFromResourceIdType(&MaintenanceId{}) + parsed, err := parser.Parse(input, false) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := MaintenanceId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +// ParseMaintenanceIDInsensitively parses 'input' case-insensitively into a MaintenanceId +// note: this method should only be used for API response data and not user input +func ParseMaintenanceIDInsensitively(input string) (*MaintenanceId, error) { + parser := resourceids.NewParserFromResourceIdType(&MaintenanceId{}) + parsed, err := parser.Parse(input, true) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := MaintenanceId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +func (id *MaintenanceId) FromParseResult(input resourceids.ParseResult) error { + var ok bool + + if id.SubscriptionId, ok = input.Parsed["subscriptionId"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "subscriptionId", input) + } + + if id.ResourceGroupName, ok = input.Parsed["resourceGroupName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "resourceGroupName", input) + } + + if id.FlexibleServerName, ok = input.Parsed["flexibleServerName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "flexibleServerName", input) + } + + if id.MaintenanceName, ok = input.Parsed["maintenanceName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "maintenanceName", input) + } + + return nil +} + +// ValidateMaintenanceID checks that 'input' can be parsed as a Maintenance ID +func ValidateMaintenanceID(input interface{}, key string) (warnings []string, errors []error) { + v, ok := input.(string) + if !ok { + errors = append(errors, fmt.Errorf("expected %q to be a string", key)) + return + } + + if _, err := ParseMaintenanceID(v); err != nil { + errors = append(errors, err) + } + + return +} + +// ID returns the formatted Maintenance ID +func (id MaintenanceId) ID() string { + fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.DBforMySQL/flexibleServers/%s/maintenances/%s" + return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.FlexibleServerName, id.MaintenanceName) +} + +// Segments returns a slice of Resource ID Segments which comprise this Maintenance ID +func (id MaintenanceId) Segments() []resourceids.Segment { + return []resourceids.Segment{ + resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), + resourceids.SubscriptionIdSegment("subscriptionId", "12345678-1234-9876-4563-123456789012"), + resourceids.StaticSegment("staticResourceGroups", "resourceGroups", "resourceGroups"), + resourceids.ResourceGroupSegment("resourceGroupName", "example-resource-group"), + resourceids.StaticSegment("staticProviders", "providers", "providers"), + resourceids.ResourceProviderSegment("staticMicrosoftDBforMySQL", "Microsoft.DBforMySQL", "Microsoft.DBforMySQL"), + resourceids.StaticSegment("staticFlexibleServers", "flexibleServers", "flexibleServers"), + resourceids.UserSpecifiedSegment("flexibleServerName", "flexibleServerName"), + resourceids.StaticSegment("staticMaintenances", "maintenances", "maintenances"), + resourceids.UserSpecifiedSegment("maintenanceName", "maintenanceName"), + } +} + +// String returns a human-readable description of this Maintenance ID +func (id MaintenanceId) String() string { + components := []string{ + fmt.Sprintf("Subscription: %q", id.SubscriptionId), + fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), + fmt.Sprintf("Flexible Server Name: %q", id.FlexibleServerName), + fmt.Sprintf("Maintenance Name: %q", id.MaintenanceName), + } + return fmt.Sprintf("Maintenance (%s)", strings.Join(components, "\n")) +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/maintenances/method_list.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/maintenances/method_list.go new file mode 100644 index 000000000000..3d3ccac95ebb --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/maintenances/method_list.go @@ -0,0 +1,105 @@ +package maintenances + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ListOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *[]Maintenance +} + +type ListCompleteResult struct { + LatestHttpResponse *http.Response + Items []Maintenance +} + +type ListCustomPager struct { + NextLink *odata.Link `json:"nextLink"` +} + +func (p *ListCustomPager) NextPageLink() *odata.Link { + defer func() { + p.NextLink = nil + }() + + return p.NextLink +} + +// List ... +func (c MaintenancesClient) List(ctx context.Context, id FlexibleServerId) (result ListOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Pager: &ListCustomPager{}, + Path: fmt.Sprintf("%s/maintenances", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.ExecutePaged(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var values struct { + Values *[]Maintenance `json:"value"` + } + if err = resp.Unmarshal(&values); err != nil { + return + } + + result.Model = values.Values + + return +} + +// ListComplete retrieves all the results into a single object +func (c MaintenancesClient) ListComplete(ctx context.Context, id FlexibleServerId) (ListCompleteResult, error) { + return c.ListCompleteMatchingPredicate(ctx, id, MaintenanceOperationPredicate{}) +} + +// ListCompleteMatchingPredicate retrieves all the results and then applies the predicate +func (c MaintenancesClient) ListCompleteMatchingPredicate(ctx context.Context, id FlexibleServerId, predicate MaintenanceOperationPredicate) (result ListCompleteResult, err error) { + items := make([]Maintenance, 0) + + resp, err := c.List(ctx, id) + if err != nil { + result.LatestHttpResponse = resp.HttpResponse + err = fmt.Errorf("loading results: %+v", err) + return + } + if resp.Model != nil { + for _, v := range *resp.Model { + if predicate.Matches(v) { + items = append(items, v) + } + } + } + + result = ListCompleteResult{ + LatestHttpResponse: resp.HttpResponse, + Items: items, + } + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/maintenances/method_read.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/maintenances/method_read.go new file mode 100644 index 000000000000..25424ecdaf5b --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/maintenances/method_read.go @@ -0,0 +1,53 @@ +package maintenances + +import ( + "context" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ReadOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *Maintenance +} + +// Read ... +func (c MaintenancesClient) Read(ctx context.Context, id MaintenanceId) (result ReadOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var model Maintenance + result.Model = &model + if err = resp.Unmarshal(result.Model); err != nil { + return + } + + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/maintenances/method_update.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/maintenances/method_update.go new file mode 100644 index 000000000000..f95777d0d492 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/maintenances/method_update.go @@ -0,0 +1,75 @@ +package maintenances + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/client/pollers" + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type UpdateOperationResponse struct { + Poller pollers.Poller + HttpResponse *http.Response + OData *odata.OData + Model *Maintenance +} + +// Update ... +func (c MaintenancesClient) Update(ctx context.Context, id MaintenanceId, input MaintenanceUpdate) (result UpdateOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusAccepted, + http.StatusOK, + }, + HttpMethod: http.MethodPatch, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + if err = req.Marshal(input); err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client) + if err != nil { + return + } + + return +} + +// UpdateThenPoll performs Update then polls until it's completed +func (c MaintenancesClient) UpdateThenPoll(ctx context.Context, id MaintenanceId, input MaintenanceUpdate) error { + result, err := c.Update(ctx, id, input) + if err != nil { + return fmt.Errorf("performing Update: %+v", err) + } + + if err := result.Poller.PollUntilDone(ctx); err != nil { + return fmt.Errorf("polling after Update: %+v", err) + } + + return nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/maintenances/model_maintenance.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/maintenances/model_maintenance.go new file mode 100644 index 000000000000..526c79cedda4 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/maintenances/model_maintenance.go @@ -0,0 +1,16 @@ +package maintenances + +import ( + "github.com/hashicorp/go-azure-helpers/resourcemanager/systemdata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type Maintenance struct { + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties MaintenanceProperties `json:"properties"` + SystemData *systemdata.SystemData `json:"systemData,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/maintenances/model_maintenanceproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/maintenances/model_maintenanceproperties.go new file mode 100644 index 000000000000..f32451e3bc2a --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/maintenances/model_maintenanceproperties.go @@ -0,0 +1,96 @@ +package maintenances + +import ( + "time" + + "github.com/hashicorp/go-azure-helpers/lang/dates" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type MaintenanceProperties struct { + MaintenanceAvailableScheduleMaxTime *string `json:"maintenanceAvailableScheduleMaxTime,omitempty"` + MaintenanceAvailableScheduleMinTime *string `json:"maintenanceAvailableScheduleMinTime,omitempty"` + MaintenanceDescription *string `json:"maintenanceDescription,omitempty"` + MaintenanceEndTime *string `json:"maintenanceEndTime,omitempty"` + MaintenanceExecutionEndTime *string `json:"maintenanceExecutionEndTime,omitempty"` + MaintenanceExecutionStartTime *string `json:"maintenanceExecutionStartTime,omitempty"` + MaintenanceStartTime *string `json:"maintenanceStartTime,omitempty"` + MaintenanceState *MaintenanceState `json:"maintenanceState,omitempty"` + MaintenanceTitle *string `json:"maintenanceTitle,omitempty"` + MaintenanceType *MaintenanceType `json:"maintenanceType,omitempty"` + ProvisioningState *MaintenanceProvisioningState `json:"provisioningState,omitempty"` +} + +func (o *MaintenanceProperties) GetMaintenanceAvailableScheduleMaxTimeAsTime() (*time.Time, error) { + if o.MaintenanceAvailableScheduleMaxTime == nil { + return nil, nil + } + return dates.ParseAsFormat(o.MaintenanceAvailableScheduleMaxTime, "2006-01-02T15:04:05Z07:00") +} + +func (o *MaintenanceProperties) SetMaintenanceAvailableScheduleMaxTimeAsTime(input time.Time) { + formatted := input.Format("2006-01-02T15:04:05Z07:00") + o.MaintenanceAvailableScheduleMaxTime = &formatted +} + +func (o *MaintenanceProperties) GetMaintenanceAvailableScheduleMinTimeAsTime() (*time.Time, error) { + if o.MaintenanceAvailableScheduleMinTime == nil { + return nil, nil + } + return dates.ParseAsFormat(o.MaintenanceAvailableScheduleMinTime, "2006-01-02T15:04:05Z07:00") +} + +func (o *MaintenanceProperties) SetMaintenanceAvailableScheduleMinTimeAsTime(input time.Time) { + formatted := input.Format("2006-01-02T15:04:05Z07:00") + o.MaintenanceAvailableScheduleMinTime = &formatted +} + +func (o *MaintenanceProperties) GetMaintenanceEndTimeAsTime() (*time.Time, error) { + if o.MaintenanceEndTime == nil { + return nil, nil + } + return dates.ParseAsFormat(o.MaintenanceEndTime, "2006-01-02T15:04:05Z07:00") +} + +func (o *MaintenanceProperties) SetMaintenanceEndTimeAsTime(input time.Time) { + formatted := input.Format("2006-01-02T15:04:05Z07:00") + o.MaintenanceEndTime = &formatted +} + +func (o *MaintenanceProperties) GetMaintenanceExecutionEndTimeAsTime() (*time.Time, error) { + if o.MaintenanceExecutionEndTime == nil { + return nil, nil + } + return dates.ParseAsFormat(o.MaintenanceExecutionEndTime, "2006-01-02T15:04:05Z07:00") +} + +func (o *MaintenanceProperties) SetMaintenanceExecutionEndTimeAsTime(input time.Time) { + formatted := input.Format("2006-01-02T15:04:05Z07:00") + o.MaintenanceExecutionEndTime = &formatted +} + +func (o *MaintenanceProperties) GetMaintenanceExecutionStartTimeAsTime() (*time.Time, error) { + if o.MaintenanceExecutionStartTime == nil { + return nil, nil + } + return dates.ParseAsFormat(o.MaintenanceExecutionStartTime, "2006-01-02T15:04:05Z07:00") +} + +func (o *MaintenanceProperties) SetMaintenanceExecutionStartTimeAsTime(input time.Time) { + formatted := input.Format("2006-01-02T15:04:05Z07:00") + o.MaintenanceExecutionStartTime = &formatted +} + +func (o *MaintenanceProperties) GetMaintenanceStartTimeAsTime() (*time.Time, error) { + if o.MaintenanceStartTime == nil { + return nil, nil + } + return dates.ParseAsFormat(o.MaintenanceStartTime, "2006-01-02T15:04:05Z07:00") +} + +func (o *MaintenanceProperties) SetMaintenanceStartTimeAsTime(input time.Time) { + formatted := input.Format("2006-01-02T15:04:05Z07:00") + o.MaintenanceStartTime = &formatted +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/maintenances/model_maintenancepropertiesforupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/maintenances/model_maintenancepropertiesforupdate.go new file mode 100644 index 000000000000..eb9a6c8a99e1 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/maintenances/model_maintenancepropertiesforupdate.go @@ -0,0 +1,26 @@ +package maintenances + +import ( + "time" + + "github.com/hashicorp/go-azure-helpers/lang/dates" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type MaintenancePropertiesForUpdate struct { + MaintenanceStartTime *string `json:"maintenanceStartTime,omitempty"` +} + +func (o *MaintenancePropertiesForUpdate) GetMaintenanceStartTimeAsTime() (*time.Time, error) { + if o.MaintenanceStartTime == nil { + return nil, nil + } + return dates.ParseAsFormat(o.MaintenanceStartTime, "2006-01-02T15:04:05Z07:00") +} + +func (o *MaintenancePropertiesForUpdate) SetMaintenanceStartTimeAsTime(input time.Time) { + formatted := input.Format("2006-01-02T15:04:05Z07:00") + o.MaintenanceStartTime = &formatted +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/maintenances/model_maintenanceupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/maintenances/model_maintenanceupdate.go new file mode 100644 index 000000000000..b183e14aed0b --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/maintenances/model_maintenanceupdate.go @@ -0,0 +1,8 @@ +package maintenances + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type MaintenanceUpdate struct { + Properties *MaintenancePropertiesForUpdate `json:"properties,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/maintenances/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/maintenances/predicates.go new file mode 100644 index 000000000000..65329b625a43 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/maintenances/predicates.go @@ -0,0 +1,27 @@ +package maintenances + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type MaintenanceOperationPredicate struct { + Id *string + Name *string + Type *string +} + +func (p MaintenanceOperationPredicate) Matches(input Maintenance) bool { + + if p.Id != nil && (input.Id == nil || *p.Id != *input.Id) { + return false + } + + if p.Name != nil && (input.Name == nil || *p.Name != *input.Name) { + return false + } + + if p.Type != nil && (input.Type == nil || *p.Type != *input.Type) { + return false + } + + return true +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/maintenances/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/maintenances/version.go new file mode 100644 index 000000000000..8543c8afc4de --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/maintenances/version.go @@ -0,0 +1,10 @@ +package maintenances + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2023-12-30" + +func userAgent() string { + return "hashicorp/go-azure-sdk/maintenances/2023-12-30" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/operationprogress/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/operationprogress/README.md new file mode 100644 index 000000000000..b7db6fb5fff8 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/operationprogress/README.md @@ -0,0 +1,36 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/operationprogress` Documentation + +The `operationprogress` SDK allows for interaction with Azure Resource Manager `mysql` (API Version `2023-12-30`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/operationprogress" +``` + + +### Client Initialization + +```go +client := operationprogress.NewOperationProgressClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `OperationProgressClient.Get` + +```go +ctx := context.TODO() +id := operationprogress.NewOperationProgressID("12345678-1234-9876-4563-123456789012", "locationName", "operationId") + +read, err := client.Get(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/operationprogress/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/operationprogress/client.go new file mode 100644 index 000000000000..920c7279e857 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/operationprogress/client.go @@ -0,0 +1,26 @@ +package operationprogress + +import ( + "fmt" + + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + sdkEnv "github.com/hashicorp/go-azure-sdk/sdk/environments" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type OperationProgressClient struct { + Client *resourcemanager.Client +} + +func NewOperationProgressClientWithBaseURI(sdkApi sdkEnv.Api) (*OperationProgressClient, error) { + client, err := resourcemanager.NewClient(sdkApi, "operationprogress", defaultApiVersion) + if err != nil { + return nil, fmt.Errorf("instantiating OperationProgressClient: %+v", err) + } + + return &OperationProgressClient{ + Client: client, + }, nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/operationprogress/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/operationprogress/constants.go new file mode 100644 index 000000000000..2a187c15bf20 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/operationprogress/constants.go @@ -0,0 +1,51 @@ +package operationprogress + +import ( + "encoding/json" + "fmt" + "strings" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ObjectType string + +const ( + ObjectTypeBackupAndExportResponse ObjectType = "BackupAndExportResponse" + ObjectTypeImportFromStorageResponse ObjectType = "ImportFromStorageResponse" +) + +func PossibleValuesForObjectType() []string { + return []string{ + string(ObjectTypeBackupAndExportResponse), + string(ObjectTypeImportFromStorageResponse), + } +} + +func (s *ObjectType) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseObjectType(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseObjectType(input string) (*ObjectType, error) { + vals := map[string]ObjectType{ + "backupandexportresponse": ObjectTypeBackupAndExportResponse, + "importfromstorageresponse": ObjectTypeImportFromStorageResponse, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ObjectType(input) + return &out, nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/operationprogress/id_operationprogress.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/operationprogress/id_operationprogress.go new file mode 100644 index 000000000000..813d3ddd2f7f --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/operationprogress/id_operationprogress.go @@ -0,0 +1,130 @@ +package operationprogress + +import ( + "fmt" + "strings" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/recaser" + "github.com/hashicorp/go-azure-helpers/resourcemanager/resourceids" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +func init() { + recaser.RegisterResourceId(&OperationProgressId{}) +} + +var _ resourceids.ResourceId = &OperationProgressId{} + +// OperationProgressId is a struct representing the Resource ID for a Operation Progress +type OperationProgressId struct { + SubscriptionId string + LocationName string + OperationId string +} + +// NewOperationProgressID returns a new OperationProgressId struct +func NewOperationProgressID(subscriptionId string, locationName string, operationId string) OperationProgressId { + return OperationProgressId{ + SubscriptionId: subscriptionId, + LocationName: locationName, + OperationId: operationId, + } +} + +// ParseOperationProgressID parses 'input' into a OperationProgressId +func ParseOperationProgressID(input string) (*OperationProgressId, error) { + parser := resourceids.NewParserFromResourceIdType(&OperationProgressId{}) + parsed, err := parser.Parse(input, false) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := OperationProgressId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +// ParseOperationProgressIDInsensitively parses 'input' case-insensitively into a OperationProgressId +// note: this method should only be used for API response data and not user input +func ParseOperationProgressIDInsensitively(input string) (*OperationProgressId, error) { + parser := resourceids.NewParserFromResourceIdType(&OperationProgressId{}) + parsed, err := parser.Parse(input, true) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := OperationProgressId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +func (id *OperationProgressId) FromParseResult(input resourceids.ParseResult) error { + var ok bool + + if id.SubscriptionId, ok = input.Parsed["subscriptionId"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "subscriptionId", input) + } + + if id.LocationName, ok = input.Parsed["locationName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "locationName", input) + } + + if id.OperationId, ok = input.Parsed["operationId"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "operationId", input) + } + + return nil +} + +// ValidateOperationProgressID checks that 'input' can be parsed as a Operation Progress ID +func ValidateOperationProgressID(input interface{}, key string) (warnings []string, errors []error) { + v, ok := input.(string) + if !ok { + errors = append(errors, fmt.Errorf("expected %q to be a string", key)) + return + } + + if _, err := ParseOperationProgressID(v); err != nil { + errors = append(errors, err) + } + + return +} + +// ID returns the formatted Operation Progress ID +func (id OperationProgressId) ID() string { + fmtString := "/subscriptions/%s/providers/Microsoft.DBforMySQL/locations/%s/operationProgress/%s" + return fmt.Sprintf(fmtString, id.SubscriptionId, id.LocationName, id.OperationId) +} + +// Segments returns a slice of Resource ID Segments which comprise this Operation Progress ID +func (id OperationProgressId) Segments() []resourceids.Segment { + return []resourceids.Segment{ + resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), + resourceids.SubscriptionIdSegment("subscriptionId", "12345678-1234-9876-4563-123456789012"), + resourceids.StaticSegment("staticProviders", "providers", "providers"), + resourceids.ResourceProviderSegment("staticMicrosoftDBforMySQL", "Microsoft.DBforMySQL", "Microsoft.DBforMySQL"), + resourceids.StaticSegment("staticLocations", "locations", "locations"), + resourceids.UserSpecifiedSegment("locationName", "locationName"), + resourceids.StaticSegment("staticOperationProgress", "operationProgress", "operationProgress"), + resourceids.UserSpecifiedSegment("operationId", "operationId"), + } +} + +// String returns a human-readable description of this Operation Progress ID +func (id OperationProgressId) String() string { + components := []string{ + fmt.Sprintf("Subscription: %q", id.SubscriptionId), + fmt.Sprintf("Location Name: %q", id.LocationName), + fmt.Sprintf("Operation: %q", id.OperationId), + } + return fmt.Sprintf("Operation Progress (%s)", strings.Join(components, "\n")) +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/operationprogress/method_get.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/operationprogress/method_get.go new file mode 100644 index 000000000000..d9ae7079f093 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/operationprogress/method_get.go @@ -0,0 +1,53 @@ +package operationprogress + +import ( + "context" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type GetOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *OperationProgressResult +} + +// Get ... +func (c OperationProgressClient) Get(ctx context.Context, id OperationProgressId) (result GetOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var model OperationProgressResult + result.Model = &model + if err = resp.Unmarshal(result.Model); err != nil { + return + } + + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/operationprogress/model_backupandexportresponsetype.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/operationprogress/model_backupandexportresponsetype.go new file mode 100644 index 000000000000..5516c74b03cc --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/operationprogress/model_backupandexportresponsetype.go @@ -0,0 +1,52 @@ +package operationprogress + +import ( + "encoding/json" + "fmt" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +var _ OperationProgressResponseType = BackupAndExportResponseType{} + +type BackupAndExportResponseType struct { + BackupMetadata *string `json:"backupMetadata,omitempty"` + DataTransferredInBytes *int64 `json:"dataTransferredInBytes,omitempty"` + DatasourceSizeInBytes *int64 `json:"datasourceSizeInBytes,omitempty"` + + // Fields inherited from OperationProgressResponseType + + ObjectType ObjectType `json:"objectType"` +} + +func (s BackupAndExportResponseType) OperationProgressResponseType() BaseOperationProgressResponseTypeImpl { + return BaseOperationProgressResponseTypeImpl{ + ObjectType: s.ObjectType, + } +} + +var _ json.Marshaler = BackupAndExportResponseType{} + +func (s BackupAndExportResponseType) MarshalJSON() ([]byte, error) { + type wrapper BackupAndExportResponseType + wrapped := wrapper(s) + encoded, err := json.Marshal(wrapped) + if err != nil { + return nil, fmt.Errorf("marshaling BackupAndExportResponseType: %+v", err) + } + + var decoded map[string]interface{} + if err = json.Unmarshal(encoded, &decoded); err != nil { + return nil, fmt.Errorf("unmarshaling BackupAndExportResponseType: %+v", err) + } + + decoded["objectType"] = "BackupAndExportResponse" + + encoded, err = json.Marshal(decoded) + if err != nil { + return nil, fmt.Errorf("re-marshaling BackupAndExportResponseType: %+v", err) + } + + return encoded, nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/operationprogress/model_erroradditionalinfo.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/operationprogress/model_erroradditionalinfo.go new file mode 100644 index 000000000000..98323130d670 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/operationprogress/model_erroradditionalinfo.go @@ -0,0 +1,9 @@ +package operationprogress + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ErrorAdditionalInfo struct { + Info *interface{} `json:"info,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/operationprogress/model_errordetail.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/operationprogress/model_errordetail.go new file mode 100644 index 000000000000..1a9c5aa7d013 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/operationprogress/model_errordetail.go @@ -0,0 +1,12 @@ +package operationprogress + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ErrorDetail struct { + AdditionalInfo *[]ErrorAdditionalInfo `json:"additionalInfo,omitempty"` + Code *string `json:"code,omitempty"` + Details *[]ErrorDetail `json:"details,omitempty"` + Message *string `json:"message,omitempty"` + Target *string `json:"target,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/operationprogress/model_importfromstorageresponsetype.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/operationprogress/model_importfromstorageresponsetype.go new file mode 100644 index 000000000000..c50305251311 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/operationprogress/model_importfromstorageresponsetype.go @@ -0,0 +1,50 @@ +package operationprogress + +import ( + "encoding/json" + "fmt" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +var _ OperationProgressResponseType = ImportFromStorageResponseType{} + +type ImportFromStorageResponseType struct { + EstimatedCompletionTime *string `json:"estimatedCompletionTime,omitempty"` + + // Fields inherited from OperationProgressResponseType + + ObjectType ObjectType `json:"objectType"` +} + +func (s ImportFromStorageResponseType) OperationProgressResponseType() BaseOperationProgressResponseTypeImpl { + return BaseOperationProgressResponseTypeImpl{ + ObjectType: s.ObjectType, + } +} + +var _ json.Marshaler = ImportFromStorageResponseType{} + +func (s ImportFromStorageResponseType) MarshalJSON() ([]byte, error) { + type wrapper ImportFromStorageResponseType + wrapped := wrapper(s) + encoded, err := json.Marshal(wrapped) + if err != nil { + return nil, fmt.Errorf("marshaling ImportFromStorageResponseType: %+v", err) + } + + var decoded map[string]interface{} + if err = json.Unmarshal(encoded, &decoded); err != nil { + return nil, fmt.Errorf("unmarshaling ImportFromStorageResponseType: %+v", err) + } + + decoded["objectType"] = "ImportFromStorageResponse" + + encoded, err = json.Marshal(decoded) + if err != nil { + return nil, fmt.Errorf("re-marshaling ImportFromStorageResponseType: %+v", err) + } + + return encoded, nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/operationprogress/model_operationprogressresponsetype.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/operationprogress/model_operationprogressresponsetype.go new file mode 100644 index 000000000000..b13d561439fa --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/operationprogress/model_operationprogressresponsetype.go @@ -0,0 +1,83 @@ +package operationprogress + +import ( + "encoding/json" + "fmt" + "strings" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type OperationProgressResponseType interface { + OperationProgressResponseType() BaseOperationProgressResponseTypeImpl +} + +var _ OperationProgressResponseType = BaseOperationProgressResponseTypeImpl{} + +type BaseOperationProgressResponseTypeImpl struct { + ObjectType ObjectType `json:"objectType"` +} + +func (s BaseOperationProgressResponseTypeImpl) OperationProgressResponseType() BaseOperationProgressResponseTypeImpl { + return s +} + +var _ OperationProgressResponseType = RawOperationProgressResponseTypeImpl{} + +// RawOperationProgressResponseTypeImpl is returned when the Discriminated Value doesn't match any of the defined types +// NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) +// and is used only for Deserialization (e.g. this cannot be used as a Request Payload). +type RawOperationProgressResponseTypeImpl struct { + operationProgressResponseType BaseOperationProgressResponseTypeImpl + Type string + Values map[string]interface{} +} + +func (s RawOperationProgressResponseTypeImpl) OperationProgressResponseType() BaseOperationProgressResponseTypeImpl { + return s.operationProgressResponseType +} + +func UnmarshalOperationProgressResponseTypeImplementation(input []byte) (OperationProgressResponseType, error) { + if input == nil { + return nil, nil + } + + var temp map[string]interface{} + if err := json.Unmarshal(input, &temp); err != nil { + return nil, fmt.Errorf("unmarshaling OperationProgressResponseType into map[string]interface: %+v", err) + } + + var value string + if v, ok := temp["objectType"]; ok { + value = fmt.Sprintf("%v", v) + } + + if strings.EqualFold(value, "BackupAndExportResponse") { + var out BackupAndExportResponseType + if err := json.Unmarshal(input, &out); err != nil { + return nil, fmt.Errorf("unmarshaling into BackupAndExportResponseType: %+v", err) + } + return out, nil + } + + if strings.EqualFold(value, "ImportFromStorageResponse") { + var out ImportFromStorageResponseType + if err := json.Unmarshal(input, &out); err != nil { + return nil, fmt.Errorf("unmarshaling into ImportFromStorageResponseType: %+v", err) + } + return out, nil + } + + var parent BaseOperationProgressResponseTypeImpl + if err := json.Unmarshal(input, &parent); err != nil { + return nil, fmt.Errorf("unmarshaling into BaseOperationProgressResponseTypeImpl: %+v", err) + } + + return RawOperationProgressResponseTypeImpl{ + operationProgressResponseType: parent, + Type: value, + Values: temp, + }, nil + +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/operationprogress/model_operationprogressresult.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/operationprogress/model_operationprogressresult.go new file mode 100644 index 000000000000..7ced0bd73bde --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/operationprogress/model_operationprogressresult.go @@ -0,0 +1,93 @@ +package operationprogress + +import ( + "encoding/json" + "fmt" + "time" + + "github.com/hashicorp/go-azure-helpers/lang/dates" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type OperationProgressResult struct { + EndTime *string `json:"endTime,omitempty"` + Error *ErrorDetail `json:"error,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Operations *[]OperationStatusResult `json:"operations,omitempty"` + PercentComplete *float64 `json:"percentComplete,omitempty"` + Properties OperationProgressResponseType `json:"properties"` + ResourceId *string `json:"resourceId,omitempty"` + StartTime *string `json:"startTime,omitempty"` + Status string `json:"status"` +} + +func (o *OperationProgressResult) GetEndTimeAsTime() (*time.Time, error) { + if o.EndTime == nil { + return nil, nil + } + return dates.ParseAsFormat(o.EndTime, "2006-01-02T15:04:05Z07:00") +} + +func (o *OperationProgressResult) SetEndTimeAsTime(input time.Time) { + formatted := input.Format("2006-01-02T15:04:05Z07:00") + o.EndTime = &formatted +} + +func (o *OperationProgressResult) GetStartTimeAsTime() (*time.Time, error) { + if o.StartTime == nil { + return nil, nil + } + return dates.ParseAsFormat(o.StartTime, "2006-01-02T15:04:05Z07:00") +} + +func (o *OperationProgressResult) SetStartTimeAsTime(input time.Time) { + formatted := input.Format("2006-01-02T15:04:05Z07:00") + o.StartTime = &formatted +} + +var _ json.Unmarshaler = &OperationProgressResult{} + +func (s *OperationProgressResult) UnmarshalJSON(bytes []byte) error { + var decoded struct { + EndTime *string `json:"endTime,omitempty"` + Error *ErrorDetail `json:"error,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Operations *[]OperationStatusResult `json:"operations,omitempty"` + PercentComplete *float64 `json:"percentComplete,omitempty"` + ResourceId *string `json:"resourceId,omitempty"` + StartTime *string `json:"startTime,omitempty"` + Status string `json:"status"` + } + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + + s.EndTime = decoded.EndTime + s.Error = decoded.Error + s.Id = decoded.Id + s.Name = decoded.Name + s.Operations = decoded.Operations + s.PercentComplete = decoded.PercentComplete + s.ResourceId = decoded.ResourceId + s.StartTime = decoded.StartTime + s.Status = decoded.Status + + var temp map[string]json.RawMessage + if err := json.Unmarshal(bytes, &temp); err != nil { + return fmt.Errorf("unmarshaling OperationProgressResult into map[string]json.RawMessage: %+v", err) + } + + if v, ok := temp["properties"]; ok { + impl, err := UnmarshalOperationProgressResponseTypeImplementation(v) + if err != nil { + return fmt.Errorf("unmarshaling field 'Properties' for 'OperationProgressResult': %+v", err) + } + s.Properties = impl + } + + return nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/operationprogress/model_operationstatusresult.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/operationprogress/model_operationstatusresult.go new file mode 100644 index 000000000000..3eaf964b7368 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/operationprogress/model_operationstatusresult.go @@ -0,0 +1,46 @@ +package operationprogress + +import ( + "time" + + "github.com/hashicorp/go-azure-helpers/lang/dates" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type OperationStatusResult struct { + EndTime *string `json:"endTime,omitempty"` + Error *ErrorDetail `json:"error,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Operations *[]OperationStatusResult `json:"operations,omitempty"` + PercentComplete *float64 `json:"percentComplete,omitempty"` + ResourceId *string `json:"resourceId,omitempty"` + StartTime *string `json:"startTime,omitempty"` + Status string `json:"status"` +} + +func (o *OperationStatusResult) GetEndTimeAsTime() (*time.Time, error) { + if o.EndTime == nil { + return nil, nil + } + return dates.ParseAsFormat(o.EndTime, "2006-01-02T15:04:05Z07:00") +} + +func (o *OperationStatusResult) SetEndTimeAsTime(input time.Time) { + formatted := input.Format("2006-01-02T15:04:05Z07:00") + o.EndTime = &formatted +} + +func (o *OperationStatusResult) GetStartTimeAsTime() (*time.Time, error) { + if o.StartTime == nil { + return nil, nil + } + return dates.ParseAsFormat(o.StartTime, "2006-01-02T15:04:05Z07:00") +} + +func (o *OperationStatusResult) SetStartTimeAsTime(input time.Time) { + formatted := input.Format("2006-01-02T15:04:05Z07:00") + o.StartTime = &formatted +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/operationprogress/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/operationprogress/version.go new file mode 100644 index 000000000000..047947250e86 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/operationprogress/version.go @@ -0,0 +1,10 @@ +package operationprogress + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2023-12-30" + +func userAgent() string { + return "hashicorp/go-azure-sdk/operationprogress/2023-12-30" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/serverfailover/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/serverfailover/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/serverfailover/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/serverfailover/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/serverfailover/id_flexibleserver.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/serverfailover/id_flexibleserver.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/serverfailover/id_flexibleserver.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/serverfailover/id_flexibleserver.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/serverfailover/method_serversfailover.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/serverfailover/method_serversfailover.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/serverfailover/method_serversfailover.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/serverfailover/method_serversfailover.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/serverfailover/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/serverfailover/version.go new file mode 100644 index 000000000000..73b6b35ee1cc --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/serverfailover/version.go @@ -0,0 +1,10 @@ +package serverfailover + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2023-12-30" + +func userAgent() string { + return "hashicorp/go-azure-sdk/serverfailover/2023-12-30" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servermigration/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servermigration/README.md new file mode 100644 index 000000000000..830493a827f4 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servermigration/README.md @@ -0,0 +1,32 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servermigration` Documentation + +The `servermigration` SDK allows for interaction with Azure Resource Manager `mysql` (API Version `2023-12-30`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servermigration" +``` + + +### Client Initialization + +```go +client := servermigration.NewServerMigrationClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `ServerMigrationClient.ServersMigrationCutoverMigration` + +```go +ctx := context.TODO() +id := servermigration.NewFlexibleServerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "flexibleServerName") + +if err := client.ServersMigrationCutoverMigrationThenPoll(ctx, id); err != nil { + // handle the error +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servermigration/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servermigration/client.go new file mode 100644 index 000000000000..9d82e58ad8b4 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servermigration/client.go @@ -0,0 +1,26 @@ +package servermigration + +import ( + "fmt" + + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + sdkEnv "github.com/hashicorp/go-azure-sdk/sdk/environments" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ServerMigrationClient struct { + Client *resourcemanager.Client +} + +func NewServerMigrationClientWithBaseURI(sdkApi sdkEnv.Api) (*ServerMigrationClient, error) { + client, err := resourcemanager.NewClient(sdkApi, "servermigration", defaultApiVersion) + if err != nil { + return nil, fmt.Errorf("instantiating ServerMigrationClient: %+v", err) + } + + return &ServerMigrationClient{ + Client: client, + }, nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servermigration/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servermigration/constants.go new file mode 100644 index 000000000000..79c7b0c65a98 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servermigration/constants.go @@ -0,0 +1,585 @@ +package servermigration + +import ( + "encoding/json" + "fmt" + "strings" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type CreateMode string + +const ( + CreateModeDefault CreateMode = "Default" + CreateModeGeoRestore CreateMode = "GeoRestore" + CreateModePointInTimeRestore CreateMode = "PointInTimeRestore" + CreateModeReplica CreateMode = "Replica" +) + +func PossibleValuesForCreateMode() []string { + return []string{ + string(CreateModeDefault), + string(CreateModeGeoRestore), + string(CreateModePointInTimeRestore), + string(CreateModeReplica), + } +} + +func (s *CreateMode) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseCreateMode(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseCreateMode(input string) (*CreateMode, error) { + vals := map[string]CreateMode{ + "default": CreateModeDefault, + "georestore": CreateModeGeoRestore, + "pointintimerestore": CreateModePointInTimeRestore, + "replica": CreateModeReplica, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := CreateMode(input) + return &out, nil +} + +type DataEncryptionType string + +const ( + DataEncryptionTypeAzureKeyVault DataEncryptionType = "AzureKeyVault" + DataEncryptionTypeSystemManaged DataEncryptionType = "SystemManaged" +) + +func PossibleValuesForDataEncryptionType() []string { + return []string{ + string(DataEncryptionTypeAzureKeyVault), + string(DataEncryptionTypeSystemManaged), + } +} + +func (s *DataEncryptionType) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseDataEncryptionType(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseDataEncryptionType(input string) (*DataEncryptionType, error) { + vals := map[string]DataEncryptionType{ + "azurekeyvault": DataEncryptionTypeAzureKeyVault, + "systemmanaged": DataEncryptionTypeSystemManaged, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := DataEncryptionType(input) + return &out, nil +} + +type EnableStatusEnum string + +const ( + EnableStatusEnumDisabled EnableStatusEnum = "Disabled" + EnableStatusEnumEnabled EnableStatusEnum = "Enabled" +) + +func PossibleValuesForEnableStatusEnum() []string { + return []string{ + string(EnableStatusEnumDisabled), + string(EnableStatusEnumEnabled), + } +} + +func (s *EnableStatusEnum) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseEnableStatusEnum(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseEnableStatusEnum(input string) (*EnableStatusEnum, error) { + vals := map[string]EnableStatusEnum{ + "disabled": EnableStatusEnumDisabled, + "enabled": EnableStatusEnumEnabled, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := EnableStatusEnum(input) + return &out, nil +} + +type HighAvailabilityMode string + +const ( + HighAvailabilityModeDisabled HighAvailabilityMode = "Disabled" + HighAvailabilityModeSameZone HighAvailabilityMode = "SameZone" + HighAvailabilityModeZoneRedundant HighAvailabilityMode = "ZoneRedundant" +) + +func PossibleValuesForHighAvailabilityMode() []string { + return []string{ + string(HighAvailabilityModeDisabled), + string(HighAvailabilityModeSameZone), + string(HighAvailabilityModeZoneRedundant), + } +} + +func (s *HighAvailabilityMode) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseHighAvailabilityMode(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseHighAvailabilityMode(input string) (*HighAvailabilityMode, error) { + vals := map[string]HighAvailabilityMode{ + "disabled": HighAvailabilityModeDisabled, + "samezone": HighAvailabilityModeSameZone, + "zoneredundant": HighAvailabilityModeZoneRedundant, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := HighAvailabilityMode(input) + return &out, nil +} + +type HighAvailabilityState string + +const ( + HighAvailabilityStateCreatingStandby HighAvailabilityState = "CreatingStandby" + HighAvailabilityStateFailingOver HighAvailabilityState = "FailingOver" + HighAvailabilityStateHealthy HighAvailabilityState = "Healthy" + HighAvailabilityStateNotEnabled HighAvailabilityState = "NotEnabled" + HighAvailabilityStateRemovingStandby HighAvailabilityState = "RemovingStandby" +) + +func PossibleValuesForHighAvailabilityState() []string { + return []string{ + string(HighAvailabilityStateCreatingStandby), + string(HighAvailabilityStateFailingOver), + string(HighAvailabilityStateHealthy), + string(HighAvailabilityStateNotEnabled), + string(HighAvailabilityStateRemovingStandby), + } +} + +func (s *HighAvailabilityState) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseHighAvailabilityState(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseHighAvailabilityState(input string) (*HighAvailabilityState, error) { + vals := map[string]HighAvailabilityState{ + "creatingstandby": HighAvailabilityStateCreatingStandby, + "failingover": HighAvailabilityStateFailingOver, + "healthy": HighAvailabilityStateHealthy, + "notenabled": HighAvailabilityStateNotEnabled, + "removingstandby": HighAvailabilityStateRemovingStandby, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := HighAvailabilityState(input) + return &out, nil +} + +type ImportSourceStorageType string + +const ( + ImportSourceStorageTypeAzureBlob ImportSourceStorageType = "AzureBlob" +) + +func PossibleValuesForImportSourceStorageType() []string { + return []string{ + string(ImportSourceStorageTypeAzureBlob), + } +} + +func (s *ImportSourceStorageType) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseImportSourceStorageType(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseImportSourceStorageType(input string) (*ImportSourceStorageType, error) { + vals := map[string]ImportSourceStorageType{ + "azureblob": ImportSourceStorageTypeAzureBlob, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ImportSourceStorageType(input) + return &out, nil +} + +type ManagedServiceIdentityType string + +const ( + ManagedServiceIdentityTypeUserAssigned ManagedServiceIdentityType = "UserAssigned" +) + +func PossibleValuesForManagedServiceIdentityType() []string { + return []string{ + string(ManagedServiceIdentityTypeUserAssigned), + } +} + +func (s *ManagedServiceIdentityType) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseManagedServiceIdentityType(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseManagedServiceIdentityType(input string) (*ManagedServiceIdentityType, error) { + vals := map[string]ManagedServiceIdentityType{ + "userassigned": ManagedServiceIdentityTypeUserAssigned, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ManagedServiceIdentityType(input) + return &out, nil +} + +type PrivateEndpointConnectionProvisioningState string + +const ( + PrivateEndpointConnectionProvisioningStateCreating PrivateEndpointConnectionProvisioningState = "Creating" + PrivateEndpointConnectionProvisioningStateDeleting PrivateEndpointConnectionProvisioningState = "Deleting" + PrivateEndpointConnectionProvisioningStateFailed PrivateEndpointConnectionProvisioningState = "Failed" + PrivateEndpointConnectionProvisioningStateSucceeded PrivateEndpointConnectionProvisioningState = "Succeeded" +) + +func PossibleValuesForPrivateEndpointConnectionProvisioningState() []string { + return []string{ + string(PrivateEndpointConnectionProvisioningStateCreating), + string(PrivateEndpointConnectionProvisioningStateDeleting), + string(PrivateEndpointConnectionProvisioningStateFailed), + string(PrivateEndpointConnectionProvisioningStateSucceeded), + } +} + +func (s *PrivateEndpointConnectionProvisioningState) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parsePrivateEndpointConnectionProvisioningState(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parsePrivateEndpointConnectionProvisioningState(input string) (*PrivateEndpointConnectionProvisioningState, error) { + vals := map[string]PrivateEndpointConnectionProvisioningState{ + "creating": PrivateEndpointConnectionProvisioningStateCreating, + "deleting": PrivateEndpointConnectionProvisioningStateDeleting, + "failed": PrivateEndpointConnectionProvisioningStateFailed, + "succeeded": PrivateEndpointConnectionProvisioningStateSucceeded, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := PrivateEndpointConnectionProvisioningState(input) + return &out, nil +} + +type PrivateEndpointServiceConnectionStatus string + +const ( + PrivateEndpointServiceConnectionStatusApproved PrivateEndpointServiceConnectionStatus = "Approved" + PrivateEndpointServiceConnectionStatusPending PrivateEndpointServiceConnectionStatus = "Pending" + PrivateEndpointServiceConnectionStatusRejected PrivateEndpointServiceConnectionStatus = "Rejected" +) + +func PossibleValuesForPrivateEndpointServiceConnectionStatus() []string { + return []string{ + string(PrivateEndpointServiceConnectionStatusApproved), + string(PrivateEndpointServiceConnectionStatusPending), + string(PrivateEndpointServiceConnectionStatusRejected), + } +} + +func (s *PrivateEndpointServiceConnectionStatus) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parsePrivateEndpointServiceConnectionStatus(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parsePrivateEndpointServiceConnectionStatus(input string) (*PrivateEndpointServiceConnectionStatus, error) { + vals := map[string]PrivateEndpointServiceConnectionStatus{ + "approved": PrivateEndpointServiceConnectionStatusApproved, + "pending": PrivateEndpointServiceConnectionStatusPending, + "rejected": PrivateEndpointServiceConnectionStatusRejected, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := PrivateEndpointServiceConnectionStatus(input) + return &out, nil +} + +type ReplicationRole string + +const ( + ReplicationRoleNone ReplicationRole = "None" + ReplicationRoleReplica ReplicationRole = "Replica" + ReplicationRoleSource ReplicationRole = "Source" +) + +func PossibleValuesForReplicationRole() []string { + return []string{ + string(ReplicationRoleNone), + string(ReplicationRoleReplica), + string(ReplicationRoleSource), + } +} + +func (s *ReplicationRole) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseReplicationRole(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseReplicationRole(input string) (*ReplicationRole, error) { + vals := map[string]ReplicationRole{ + "none": ReplicationRoleNone, + "replica": ReplicationRoleReplica, + "source": ReplicationRoleSource, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ReplicationRole(input) + return &out, nil +} + +type ServerSkuTier string + +const ( + ServerSkuTierBurstable ServerSkuTier = "Burstable" + ServerSkuTierGeneralPurpose ServerSkuTier = "GeneralPurpose" + ServerSkuTierMemoryOptimized ServerSkuTier = "MemoryOptimized" +) + +func PossibleValuesForServerSkuTier() []string { + return []string{ + string(ServerSkuTierBurstable), + string(ServerSkuTierGeneralPurpose), + string(ServerSkuTierMemoryOptimized), + } +} + +func (s *ServerSkuTier) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseServerSkuTier(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseServerSkuTier(input string) (*ServerSkuTier, error) { + vals := map[string]ServerSkuTier{ + "burstable": ServerSkuTierBurstable, + "generalpurpose": ServerSkuTierGeneralPurpose, + "memoryoptimized": ServerSkuTierMemoryOptimized, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ServerSkuTier(input) + return &out, nil +} + +type ServerState string + +const ( + ServerStateDisabled ServerState = "Disabled" + ServerStateDropping ServerState = "Dropping" + ServerStateReady ServerState = "Ready" + ServerStateStarting ServerState = "Starting" + ServerStateStopped ServerState = "Stopped" + ServerStateStopping ServerState = "Stopping" + ServerStateUpdating ServerState = "Updating" +) + +func PossibleValuesForServerState() []string { + return []string{ + string(ServerStateDisabled), + string(ServerStateDropping), + string(ServerStateReady), + string(ServerStateStarting), + string(ServerStateStopped), + string(ServerStateStopping), + string(ServerStateUpdating), + } +} + +func (s *ServerState) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseServerState(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseServerState(input string) (*ServerState, error) { + vals := map[string]ServerState{ + "disabled": ServerStateDisabled, + "dropping": ServerStateDropping, + "ready": ServerStateReady, + "starting": ServerStateStarting, + "stopped": ServerStateStopped, + "stopping": ServerStateStopping, + "updating": ServerStateUpdating, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ServerState(input) + return &out, nil +} + +type ServerVersion string + +const ( + ServerVersionEightPointZeroPointTwoOne ServerVersion = "8.0.21" + ServerVersionFivePointSeven ServerVersion = "5.7" +) + +func PossibleValuesForServerVersion() []string { + return []string{ + string(ServerVersionEightPointZeroPointTwoOne), + string(ServerVersionFivePointSeven), + } +} + +func (s *ServerVersion) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseServerVersion(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseServerVersion(input string) (*ServerVersion, error) { + vals := map[string]ServerVersion{ + "8.0.21": ServerVersionEightPointZeroPointTwoOne, + "5.7": ServerVersionFivePointSeven, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ServerVersion(input) + return &out, nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servermigration/id_flexibleserver.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servermigration/id_flexibleserver.go new file mode 100644 index 000000000000..f104ff96c6fc --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servermigration/id_flexibleserver.go @@ -0,0 +1,130 @@ +package servermigration + +import ( + "fmt" + "strings" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/recaser" + "github.com/hashicorp/go-azure-helpers/resourcemanager/resourceids" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +func init() { + recaser.RegisterResourceId(&FlexibleServerId{}) +} + +var _ resourceids.ResourceId = &FlexibleServerId{} + +// FlexibleServerId is a struct representing the Resource ID for a Flexible Server +type FlexibleServerId struct { + SubscriptionId string + ResourceGroupName string + FlexibleServerName string +} + +// NewFlexibleServerID returns a new FlexibleServerId struct +func NewFlexibleServerID(subscriptionId string, resourceGroupName string, flexibleServerName string) FlexibleServerId { + return FlexibleServerId{ + SubscriptionId: subscriptionId, + ResourceGroupName: resourceGroupName, + FlexibleServerName: flexibleServerName, + } +} + +// ParseFlexibleServerID parses 'input' into a FlexibleServerId +func ParseFlexibleServerID(input string) (*FlexibleServerId, error) { + parser := resourceids.NewParserFromResourceIdType(&FlexibleServerId{}) + parsed, err := parser.Parse(input, false) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := FlexibleServerId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +// ParseFlexibleServerIDInsensitively parses 'input' case-insensitively into a FlexibleServerId +// note: this method should only be used for API response data and not user input +func ParseFlexibleServerIDInsensitively(input string) (*FlexibleServerId, error) { + parser := resourceids.NewParserFromResourceIdType(&FlexibleServerId{}) + parsed, err := parser.Parse(input, true) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := FlexibleServerId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +func (id *FlexibleServerId) FromParseResult(input resourceids.ParseResult) error { + var ok bool + + if id.SubscriptionId, ok = input.Parsed["subscriptionId"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "subscriptionId", input) + } + + if id.ResourceGroupName, ok = input.Parsed["resourceGroupName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "resourceGroupName", input) + } + + if id.FlexibleServerName, ok = input.Parsed["flexibleServerName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "flexibleServerName", input) + } + + return nil +} + +// ValidateFlexibleServerID checks that 'input' can be parsed as a Flexible Server ID +func ValidateFlexibleServerID(input interface{}, key string) (warnings []string, errors []error) { + v, ok := input.(string) + if !ok { + errors = append(errors, fmt.Errorf("expected %q to be a string", key)) + return + } + + if _, err := ParseFlexibleServerID(v); err != nil { + errors = append(errors, err) + } + + return +} + +// ID returns the formatted Flexible Server ID +func (id FlexibleServerId) ID() string { + fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.DBforMySQL/flexibleServers/%s" + return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.FlexibleServerName) +} + +// Segments returns a slice of Resource ID Segments which comprise this Flexible Server ID +func (id FlexibleServerId) Segments() []resourceids.Segment { + return []resourceids.Segment{ + resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), + resourceids.SubscriptionIdSegment("subscriptionId", "12345678-1234-9876-4563-123456789012"), + resourceids.StaticSegment("staticResourceGroups", "resourceGroups", "resourceGroups"), + resourceids.ResourceGroupSegment("resourceGroupName", "example-resource-group"), + resourceids.StaticSegment("staticProviders", "providers", "providers"), + resourceids.ResourceProviderSegment("staticMicrosoftDBforMySQL", "Microsoft.DBforMySQL", "Microsoft.DBforMySQL"), + resourceids.StaticSegment("staticFlexibleServers", "flexibleServers", "flexibleServers"), + resourceids.UserSpecifiedSegment("flexibleServerName", "flexibleServerName"), + } +} + +// String returns a human-readable description of this Flexible Server ID +func (id FlexibleServerId) String() string { + components := []string{ + fmt.Sprintf("Subscription: %q", id.SubscriptionId), + fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), + fmt.Sprintf("Flexible Server Name: %q", id.FlexibleServerName), + } + return fmt.Sprintf("Flexible Server (%s)", strings.Join(components, "\n")) +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servermigration/method_serversmigrationcutovermigration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servermigration/method_serversmigrationcutovermigration.go new file mode 100644 index 000000000000..27ced62ae6e3 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servermigration/method_serversmigrationcutovermigration.go @@ -0,0 +1,71 @@ +package servermigration + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/client/pollers" + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ServersMigrationCutoverMigrationOperationResponse struct { + Poller pollers.Poller + HttpResponse *http.Response + OData *odata.OData + Model *Server +} + +// ServersMigrationCutoverMigration ... +func (c ServerMigrationClient) ServersMigrationCutoverMigration(ctx context.Context, id FlexibleServerId) (result ServersMigrationCutoverMigrationOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusAccepted, + http.StatusOK, + }, + HttpMethod: http.MethodPost, + Path: fmt.Sprintf("%s/cutoverMigration", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client) + if err != nil { + return + } + + return +} + +// ServersMigrationCutoverMigrationThenPoll performs ServersMigrationCutoverMigration then polls until it's completed +func (c ServerMigrationClient) ServersMigrationCutoverMigrationThenPoll(ctx context.Context, id FlexibleServerId) error { + result, err := c.ServersMigrationCutoverMigration(ctx, id) + if err != nil { + return fmt.Errorf("performing ServersMigrationCutoverMigration: %+v", err) + } + + if err := result.Poller.PollUntilDone(ctx); err != nil { + return fmt.Errorf("polling after ServersMigrationCutoverMigration: %+v", err) + } + + return nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servermigration/model_backup.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servermigration/model_backup.go new file mode 100644 index 000000000000..8632d1a659fe --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servermigration/model_backup.go @@ -0,0 +1,29 @@ +package servermigration + +import ( + "time" + + "github.com/hashicorp/go-azure-helpers/lang/dates" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type Backup struct { + BackupIntervalHours *int64 `json:"backupIntervalHours,omitempty"` + BackupRetentionDays *int64 `json:"backupRetentionDays,omitempty"` + EarliestRestoreDate *string `json:"earliestRestoreDate,omitempty"` + GeoRedundantBackup *EnableStatusEnum `json:"geoRedundantBackup,omitempty"` +} + +func (o *Backup) GetEarliestRestoreDateAsTime() (*time.Time, error) { + if o.EarliestRestoreDate == nil { + return nil, nil + } + return dates.ParseAsFormat(o.EarliestRestoreDate, "2006-01-02T15:04:05Z07:00") +} + +func (o *Backup) SetEarliestRestoreDateAsTime(input time.Time) { + formatted := input.Format("2006-01-02T15:04:05Z07:00") + o.EarliestRestoreDate = &formatted +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servermigration/model_dataencryption.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servermigration/model_dataencryption.go new file mode 100644 index 000000000000..5b494dbca0e2 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servermigration/model_dataencryption.go @@ -0,0 +1,12 @@ +package servermigration + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type DataEncryption struct { + GeoBackupKeyURI *string `json:"geoBackupKeyURI,omitempty"` + GeoBackupUserAssignedIdentityId *string `json:"geoBackupUserAssignedIdentityId,omitempty"` + PrimaryKeyURI *string `json:"primaryKeyURI,omitempty"` + PrimaryUserAssignedIdentityId *string `json:"primaryUserAssignedIdentityId,omitempty"` + Type *DataEncryptionType `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servermigration/model_highavailability.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servermigration/model_highavailability.go new file mode 100644 index 000000000000..c4d562c1aae6 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servermigration/model_highavailability.go @@ -0,0 +1,10 @@ +package servermigration + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type HighAvailability struct { + Mode *HighAvailabilityMode `json:"mode,omitempty"` + StandbyAvailabilityZone *string `json:"standbyAvailabilityZone,omitempty"` + State *HighAvailabilityState `json:"state,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servermigration/model_importsourceproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servermigration/model_importsourceproperties.go new file mode 100644 index 000000000000..ad49643c4eca --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servermigration/model_importsourceproperties.go @@ -0,0 +1,11 @@ +package servermigration + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ImportSourceProperties struct { + DataDirPath *string `json:"dataDirPath,omitempty"` + SasToken *string `json:"sasToken,omitempty"` + StorageType *ImportSourceStorageType `json:"storageType,omitempty"` + StorageURL *string `json:"storageUrl,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servermigration/model_maintenancewindow.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servermigration/model_maintenancewindow.go new file mode 100644 index 000000000000..754a875dbd03 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servermigration/model_maintenancewindow.go @@ -0,0 +1,11 @@ +package servermigration + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type MaintenanceWindow struct { + CustomWindow *string `json:"customWindow,omitempty"` + DayOfWeek *int64 `json:"dayOfWeek,omitempty"` + StartHour *int64 `json:"startHour,omitempty"` + StartMinute *int64 `json:"startMinute,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servermigration/model_mysqlserveridentity.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servermigration/model_mysqlserveridentity.go new file mode 100644 index 000000000000..051f514fc46e --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servermigration/model_mysqlserveridentity.go @@ -0,0 +1,11 @@ +package servermigration + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type MySQLServerIdentity struct { + PrincipalId *string `json:"principalId,omitempty"` + TenantId *string `json:"tenantId,omitempty"` + Type *ManagedServiceIdentityType `json:"type,omitempty"` + UserAssignedIdentities *map[string]interface{} `json:"userAssignedIdentities,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servermigration/model_mysqlserversku.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servermigration/model_mysqlserversku.go new file mode 100644 index 000000000000..2a3537b29f9d --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servermigration/model_mysqlserversku.go @@ -0,0 +1,9 @@ +package servermigration + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type MySQLServerSku struct { + Name string `json:"name"` + Tier ServerSkuTier `json:"tier"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servermigration/model_network.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servermigration/model_network.go new file mode 100644 index 000000000000..783a7b4fce43 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servermigration/model_network.go @@ -0,0 +1,10 @@ +package servermigration + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type Network struct { + DelegatedSubnetResourceId *string `json:"delegatedSubnetResourceId,omitempty"` + PrivateDnsZoneResourceId *string `json:"privateDnsZoneResourceId,omitempty"` + PublicNetworkAccess *EnableStatusEnum `json:"publicNetworkAccess,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servermigration/model_privateendpoint.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servermigration/model_privateendpoint.go new file mode 100644 index 000000000000..7b5eb12d10c5 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servermigration/model_privateendpoint.go @@ -0,0 +1,8 @@ +package servermigration + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PrivateEndpoint struct { + Id *string `json:"id,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servermigration/model_privateendpointconnection.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servermigration/model_privateendpointconnection.go new file mode 100644 index 000000000000..6a2d001560c0 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servermigration/model_privateendpointconnection.go @@ -0,0 +1,16 @@ +package servermigration + +import ( + "github.com/hashicorp/go-azure-helpers/resourcemanager/systemdata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PrivateEndpointConnection struct { + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *PrivateEndpointConnectionProperties `json:"properties,omitempty"` + SystemData *systemdata.SystemData `json:"systemData,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servermigration/model_privateendpointconnectionproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servermigration/model_privateendpointconnectionproperties.go new file mode 100644 index 000000000000..34fd9e278a3d --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servermigration/model_privateendpointconnectionproperties.go @@ -0,0 +1,11 @@ +package servermigration + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PrivateEndpointConnectionProperties struct { + GroupIds *[]string `json:"groupIds,omitempty"` + PrivateEndpoint *PrivateEndpoint `json:"privateEndpoint,omitempty"` + PrivateLinkServiceConnectionState PrivateLinkServiceConnectionState `json:"privateLinkServiceConnectionState"` + ProvisioningState *PrivateEndpointConnectionProvisioningState `json:"provisioningState,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servermigration/model_privatelinkserviceconnectionstate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servermigration/model_privatelinkserviceconnectionstate.go new file mode 100644 index 000000000000..989c0f8c3c93 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servermigration/model_privatelinkserviceconnectionstate.go @@ -0,0 +1,10 @@ +package servermigration + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PrivateLinkServiceConnectionState struct { + ActionsRequired *string `json:"actionsRequired,omitempty"` + Description *string `json:"description,omitempty"` + Status *PrivateEndpointServiceConnectionStatus `json:"status,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servermigration/model_server.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servermigration/model_server.go new file mode 100644 index 000000000000..3c1d5072d3c4 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servermigration/model_server.go @@ -0,0 +1,20 @@ +package servermigration + +import ( + "github.com/hashicorp/go-azure-helpers/resourcemanager/systemdata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type Server struct { + Id *string `json:"id,omitempty"` + Identity *MySQLServerIdentity `json:"identity,omitempty"` + Location string `json:"location"` + Name *string `json:"name,omitempty"` + Properties *ServerProperties `json:"properties,omitempty"` + Sku *MySQLServerSku `json:"sku,omitempty"` + SystemData *systemdata.SystemData `json:"systemData,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servermigration/model_serverproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servermigration/model_serverproperties.go new file mode 100644 index 000000000000..63fcdd916574 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servermigration/model_serverproperties.go @@ -0,0 +1,44 @@ +package servermigration + +import ( + "time" + + "github.com/hashicorp/go-azure-helpers/lang/dates" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ServerProperties struct { + AdministratorLogin *string `json:"administratorLogin,omitempty"` + AdministratorLoginPassword *string `json:"administratorLoginPassword,omitempty"` + AvailabilityZone *string `json:"availabilityZone,omitempty"` + Backup *Backup `json:"backup,omitempty"` + CreateMode *CreateMode `json:"createMode,omitempty"` + DataEncryption *DataEncryption `json:"dataEncryption,omitempty"` + FullyQualifiedDomainName *string `json:"fullyQualifiedDomainName,omitempty"` + HighAvailability *HighAvailability `json:"highAvailability,omitempty"` + ImportSourceProperties *ImportSourceProperties `json:"importSourceProperties,omitempty"` + MaintenanceWindow *MaintenanceWindow `json:"maintenanceWindow,omitempty"` + Network *Network `json:"network,omitempty"` + PrivateEndpointConnections *[]PrivateEndpointConnection `json:"privateEndpointConnections,omitempty"` + ReplicaCapacity *int64 `json:"replicaCapacity,omitempty"` + ReplicationRole *ReplicationRole `json:"replicationRole,omitempty"` + RestorePointInTime *string `json:"restorePointInTime,omitempty"` + SourceServerResourceId *string `json:"sourceServerResourceId,omitempty"` + State *ServerState `json:"state,omitempty"` + Storage *Storage `json:"storage,omitempty"` + Version *ServerVersion `json:"version,omitempty"` +} + +func (o *ServerProperties) GetRestorePointInTimeAsTime() (*time.Time, error) { + if o.RestorePointInTime == nil { + return nil, nil + } + return dates.ParseAsFormat(o.RestorePointInTime, "2006-01-02T15:04:05Z07:00") +} + +func (o *ServerProperties) SetRestorePointInTimeAsTime(input time.Time) { + formatted := input.Format("2006-01-02T15:04:05Z07:00") + o.RestorePointInTime = &formatted +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servermigration/model_storage.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servermigration/model_storage.go new file mode 100644 index 000000000000..288181e11627 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servermigration/model_storage.go @@ -0,0 +1,13 @@ +package servermigration + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type Storage struct { + AutoGrow *EnableStatusEnum `json:"autoGrow,omitempty"` + AutoIoScaling *EnableStatusEnum `json:"autoIoScaling,omitempty"` + Iops *int64 `json:"iops,omitempty"` + LogOnDisk *EnableStatusEnum `json:"logOnDisk,omitempty"` + StorageSizeGB *int64 `json:"storageSizeGB,omitempty"` + StorageSku *string `json:"storageSku,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servermigration/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servermigration/version.go new file mode 100644 index 000000000000..cdc300f6539e --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servermigration/version.go @@ -0,0 +1,10 @@ +package servermigration + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2023-12-30" + +func userAgent() string { + return "hashicorp/go-azure-sdk/servermigration/2023-12-30" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/serverresetgtid/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/serverresetgtid/README.md new file mode 100644 index 000000000000..8405dcdb32a4 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/serverresetgtid/README.md @@ -0,0 +1,37 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/serverresetgtid` Documentation + +The `serverresetgtid` SDK allows for interaction with Azure Resource Manager `mysql` (API Version `2023-12-30`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/serverresetgtid" +``` + + +### Client Initialization + +```go +client := serverresetgtid.NewServerResetGtidClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `ServerResetGtidClient.ServersResetGtid` + +```go +ctx := context.TODO() +id := serverresetgtid.NewFlexibleServerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "flexibleServerName") + +payload := serverresetgtid.ServerGtidSetParameter{ + // ... +} + + +if err := client.ServersResetGtidThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/serverresetgtid/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/serverresetgtid/client.go new file mode 100644 index 000000000000..92225aea3ab6 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/serverresetgtid/client.go @@ -0,0 +1,26 @@ +package serverresetgtid + +import ( + "fmt" + + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + sdkEnv "github.com/hashicorp/go-azure-sdk/sdk/environments" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ServerResetGtidClient struct { + Client *resourcemanager.Client +} + +func NewServerResetGtidClientWithBaseURI(sdkApi sdkEnv.Api) (*ServerResetGtidClient, error) { + client, err := resourcemanager.NewClient(sdkApi, "serverresetgtid", defaultApiVersion) + if err != nil { + return nil, fmt.Errorf("instantiating ServerResetGtidClient: %+v", err) + } + + return &ServerResetGtidClient{ + Client: client, + }, nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/serverresetgtid/id_flexibleserver.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/serverresetgtid/id_flexibleserver.go new file mode 100644 index 000000000000..eb008ff92071 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/serverresetgtid/id_flexibleserver.go @@ -0,0 +1,130 @@ +package serverresetgtid + +import ( + "fmt" + "strings" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/recaser" + "github.com/hashicorp/go-azure-helpers/resourcemanager/resourceids" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +func init() { + recaser.RegisterResourceId(&FlexibleServerId{}) +} + +var _ resourceids.ResourceId = &FlexibleServerId{} + +// FlexibleServerId is a struct representing the Resource ID for a Flexible Server +type FlexibleServerId struct { + SubscriptionId string + ResourceGroupName string + FlexibleServerName string +} + +// NewFlexibleServerID returns a new FlexibleServerId struct +func NewFlexibleServerID(subscriptionId string, resourceGroupName string, flexibleServerName string) FlexibleServerId { + return FlexibleServerId{ + SubscriptionId: subscriptionId, + ResourceGroupName: resourceGroupName, + FlexibleServerName: flexibleServerName, + } +} + +// ParseFlexibleServerID parses 'input' into a FlexibleServerId +func ParseFlexibleServerID(input string) (*FlexibleServerId, error) { + parser := resourceids.NewParserFromResourceIdType(&FlexibleServerId{}) + parsed, err := parser.Parse(input, false) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := FlexibleServerId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +// ParseFlexibleServerIDInsensitively parses 'input' case-insensitively into a FlexibleServerId +// note: this method should only be used for API response data and not user input +func ParseFlexibleServerIDInsensitively(input string) (*FlexibleServerId, error) { + parser := resourceids.NewParserFromResourceIdType(&FlexibleServerId{}) + parsed, err := parser.Parse(input, true) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := FlexibleServerId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +func (id *FlexibleServerId) FromParseResult(input resourceids.ParseResult) error { + var ok bool + + if id.SubscriptionId, ok = input.Parsed["subscriptionId"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "subscriptionId", input) + } + + if id.ResourceGroupName, ok = input.Parsed["resourceGroupName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "resourceGroupName", input) + } + + if id.FlexibleServerName, ok = input.Parsed["flexibleServerName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "flexibleServerName", input) + } + + return nil +} + +// ValidateFlexibleServerID checks that 'input' can be parsed as a Flexible Server ID +func ValidateFlexibleServerID(input interface{}, key string) (warnings []string, errors []error) { + v, ok := input.(string) + if !ok { + errors = append(errors, fmt.Errorf("expected %q to be a string", key)) + return + } + + if _, err := ParseFlexibleServerID(v); err != nil { + errors = append(errors, err) + } + + return +} + +// ID returns the formatted Flexible Server ID +func (id FlexibleServerId) ID() string { + fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.DBforMySQL/flexibleServers/%s" + return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.FlexibleServerName) +} + +// Segments returns a slice of Resource ID Segments which comprise this Flexible Server ID +func (id FlexibleServerId) Segments() []resourceids.Segment { + return []resourceids.Segment{ + resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), + resourceids.SubscriptionIdSegment("subscriptionId", "12345678-1234-9876-4563-123456789012"), + resourceids.StaticSegment("staticResourceGroups", "resourceGroups", "resourceGroups"), + resourceids.ResourceGroupSegment("resourceGroupName", "example-resource-group"), + resourceids.StaticSegment("staticProviders", "providers", "providers"), + resourceids.ResourceProviderSegment("staticMicrosoftDBforMySQL", "Microsoft.DBforMySQL", "Microsoft.DBforMySQL"), + resourceids.StaticSegment("staticFlexibleServers", "flexibleServers", "flexibleServers"), + resourceids.UserSpecifiedSegment("flexibleServerName", "flexibleServerName"), + } +} + +// String returns a human-readable description of this Flexible Server ID +func (id FlexibleServerId) String() string { + components := []string{ + fmt.Sprintf("Subscription: %q", id.SubscriptionId), + fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), + fmt.Sprintf("Flexible Server Name: %q", id.FlexibleServerName), + } + return fmt.Sprintf("Flexible Server (%s)", strings.Join(components, "\n")) +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/serverresetgtid/method_serversresetgtid.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/serverresetgtid/method_serversresetgtid.go new file mode 100644 index 000000000000..5b44f151e573 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/serverresetgtid/method_serversresetgtid.go @@ -0,0 +1,74 @@ +package serverresetgtid + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/client/pollers" + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ServersResetGtidOperationResponse struct { + Poller pollers.Poller + HttpResponse *http.Response + OData *odata.OData +} + +// ServersResetGtid ... +func (c ServerResetGtidClient) ServersResetGtid(ctx context.Context, id FlexibleServerId, input ServerGtidSetParameter) (result ServersResetGtidOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusAccepted, + http.StatusOK, + }, + HttpMethod: http.MethodPost, + Path: fmt.Sprintf("%s/resetGtid", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + if err = req.Marshal(input); err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client) + if err != nil { + return + } + + return +} + +// ServersResetGtidThenPoll performs ServersResetGtid then polls until it's completed +func (c ServerResetGtidClient) ServersResetGtidThenPoll(ctx context.Context, id FlexibleServerId, input ServerGtidSetParameter) error { + result, err := c.ServersResetGtid(ctx, id, input) + if err != nil { + return fmt.Errorf("performing ServersResetGtid: %+v", err) + } + + if err := result.Poller.PollUntilDone(ctx); err != nil { + return fmt.Errorf("polling after ServersResetGtid: %+v", err) + } + + return nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/serverresetgtid/model_servergtidsetparameter.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/serverresetgtid/model_servergtidsetparameter.go new file mode 100644 index 000000000000..1385c126503f --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/serverresetgtid/model_servergtidsetparameter.go @@ -0,0 +1,8 @@ +package serverresetgtid + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ServerGtidSetParameter struct { + GtidSet *string `json:"gtidSet,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/serverresetgtid/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/serverresetgtid/version.go new file mode 100644 index 000000000000..c8f23825b379 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/serverresetgtid/version.go @@ -0,0 +1,10 @@ +package serverresetgtid + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2023-12-30" + +func userAgent() string { + return "hashicorp/go-azure-sdk/serverresetgtid/2023-12-30" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/serverrestart/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/serverrestart/README.md new file mode 100644 index 000000000000..e78ab1e1db7e --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/serverrestart/README.md @@ -0,0 +1,37 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/serverrestart` Documentation + +The `serverrestart` SDK allows for interaction with Azure Resource Manager `mysql` (API Version `2023-12-30`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/serverrestart" +``` + + +### Client Initialization + +```go +client := serverrestart.NewServerRestartClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `ServerRestartClient.ServersRestart` + +```go +ctx := context.TODO() +id := serverrestart.NewFlexibleServerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "flexibleServerName") + +payload := serverrestart.ServerRestartParameter{ + // ... +} + + +if err := client.ServersRestartThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/serverrestart/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/serverrestart/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/serverrestart/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/serverrestart/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/serverrestart/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/serverrestart/constants.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/serverrestart/constants.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/serverrestart/constants.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/serverrestart/id_flexibleserver.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/serverrestart/id_flexibleserver.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/serverrestart/id_flexibleserver.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/serverrestart/id_flexibleserver.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/serverrestart/method_serversrestart.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/serverrestart/method_serversrestart.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/serverrestart/method_serversrestart.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/serverrestart/method_serversrestart.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/serverrestart/model_serverrestartparameter.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/serverrestart/model_serverrestartparameter.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/serverrestart/model_serverrestartparameter.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/serverrestart/model_serverrestartparameter.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/serverrestart/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/serverrestart/version.go new file mode 100644 index 000000000000..ee4c7518cb03 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/serverrestart/version.go @@ -0,0 +1,10 @@ +package serverrestart + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2023-12-30" + +func userAgent() string { + return "hashicorp/go-azure-sdk/serverrestart/2023-12-30" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servers/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servers/README.md new file mode 100644 index 000000000000..eb881cff0ebf --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servers/README.md @@ -0,0 +1,134 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servers` Documentation + +The `servers` SDK allows for interaction with Azure Resource Manager `mysql` (API Version `2023-12-30`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" +import "github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servers" +``` + + +### Client Initialization + +```go +client := servers.NewServersClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `ServersClient.Create` + +```go +ctx := context.TODO() +id := servers.NewFlexibleServerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "flexibleServerName") + +payload := servers.Server{ + // ... +} + + +if err := client.CreateThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `ServersClient.Delete` + +```go +ctx := context.TODO() +id := servers.NewFlexibleServerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "flexibleServerName") + +if err := client.DeleteThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `ServersClient.Get` + +```go +ctx := context.TODO() +id := servers.NewFlexibleServerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "flexibleServerName") + +read, err := client.Get(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `ServersClient.List` + +```go +ctx := context.TODO() +id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012") + +// alternatively `client.List(ctx, id)` can be used to do batched pagination +items, err := client.ListComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `ServersClient.ListByResourceGroup` + +```go +ctx := context.TODO() +id := commonids.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group") + +// alternatively `client.ListByResourceGroup(ctx, id)` can be used to do batched pagination +items, err := client.ListByResourceGroupComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `ServersClient.ReplicasListByServer` + +```go +ctx := context.TODO() +id := servers.NewFlexibleServerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "flexibleServerName") + +// alternatively `client.ReplicasListByServer(ctx, id)` can be used to do batched pagination +items, err := client.ReplicasListByServerComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `ServersClient.Update` + +```go +ctx := context.TODO() +id := servers.NewFlexibleServerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "flexibleServerName") + +payload := servers.ServerForUpdate{ + // ... +} + + +if err := client.UpdateThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/servers/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servers/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/servers/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servers/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servers/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servers/constants.go new file mode 100644 index 000000000000..17918642fd4d --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servers/constants.go @@ -0,0 +1,585 @@ +package servers + +import ( + "encoding/json" + "fmt" + "strings" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type CreateMode string + +const ( + CreateModeDefault CreateMode = "Default" + CreateModeGeoRestore CreateMode = "GeoRestore" + CreateModePointInTimeRestore CreateMode = "PointInTimeRestore" + CreateModeReplica CreateMode = "Replica" +) + +func PossibleValuesForCreateMode() []string { + return []string{ + string(CreateModeDefault), + string(CreateModeGeoRestore), + string(CreateModePointInTimeRestore), + string(CreateModeReplica), + } +} + +func (s *CreateMode) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseCreateMode(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseCreateMode(input string) (*CreateMode, error) { + vals := map[string]CreateMode{ + "default": CreateModeDefault, + "georestore": CreateModeGeoRestore, + "pointintimerestore": CreateModePointInTimeRestore, + "replica": CreateModeReplica, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := CreateMode(input) + return &out, nil +} + +type DataEncryptionType string + +const ( + DataEncryptionTypeAzureKeyVault DataEncryptionType = "AzureKeyVault" + DataEncryptionTypeSystemManaged DataEncryptionType = "SystemManaged" +) + +func PossibleValuesForDataEncryptionType() []string { + return []string{ + string(DataEncryptionTypeAzureKeyVault), + string(DataEncryptionTypeSystemManaged), + } +} + +func (s *DataEncryptionType) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseDataEncryptionType(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseDataEncryptionType(input string) (*DataEncryptionType, error) { + vals := map[string]DataEncryptionType{ + "azurekeyvault": DataEncryptionTypeAzureKeyVault, + "systemmanaged": DataEncryptionTypeSystemManaged, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := DataEncryptionType(input) + return &out, nil +} + +type EnableStatusEnum string + +const ( + EnableStatusEnumDisabled EnableStatusEnum = "Disabled" + EnableStatusEnumEnabled EnableStatusEnum = "Enabled" +) + +func PossibleValuesForEnableStatusEnum() []string { + return []string{ + string(EnableStatusEnumDisabled), + string(EnableStatusEnumEnabled), + } +} + +func (s *EnableStatusEnum) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseEnableStatusEnum(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseEnableStatusEnum(input string) (*EnableStatusEnum, error) { + vals := map[string]EnableStatusEnum{ + "disabled": EnableStatusEnumDisabled, + "enabled": EnableStatusEnumEnabled, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := EnableStatusEnum(input) + return &out, nil +} + +type HighAvailabilityMode string + +const ( + HighAvailabilityModeDisabled HighAvailabilityMode = "Disabled" + HighAvailabilityModeSameZone HighAvailabilityMode = "SameZone" + HighAvailabilityModeZoneRedundant HighAvailabilityMode = "ZoneRedundant" +) + +func PossibleValuesForHighAvailabilityMode() []string { + return []string{ + string(HighAvailabilityModeDisabled), + string(HighAvailabilityModeSameZone), + string(HighAvailabilityModeZoneRedundant), + } +} + +func (s *HighAvailabilityMode) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseHighAvailabilityMode(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseHighAvailabilityMode(input string) (*HighAvailabilityMode, error) { + vals := map[string]HighAvailabilityMode{ + "disabled": HighAvailabilityModeDisabled, + "samezone": HighAvailabilityModeSameZone, + "zoneredundant": HighAvailabilityModeZoneRedundant, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := HighAvailabilityMode(input) + return &out, nil +} + +type HighAvailabilityState string + +const ( + HighAvailabilityStateCreatingStandby HighAvailabilityState = "CreatingStandby" + HighAvailabilityStateFailingOver HighAvailabilityState = "FailingOver" + HighAvailabilityStateHealthy HighAvailabilityState = "Healthy" + HighAvailabilityStateNotEnabled HighAvailabilityState = "NotEnabled" + HighAvailabilityStateRemovingStandby HighAvailabilityState = "RemovingStandby" +) + +func PossibleValuesForHighAvailabilityState() []string { + return []string{ + string(HighAvailabilityStateCreatingStandby), + string(HighAvailabilityStateFailingOver), + string(HighAvailabilityStateHealthy), + string(HighAvailabilityStateNotEnabled), + string(HighAvailabilityStateRemovingStandby), + } +} + +func (s *HighAvailabilityState) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseHighAvailabilityState(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseHighAvailabilityState(input string) (*HighAvailabilityState, error) { + vals := map[string]HighAvailabilityState{ + "creatingstandby": HighAvailabilityStateCreatingStandby, + "failingover": HighAvailabilityStateFailingOver, + "healthy": HighAvailabilityStateHealthy, + "notenabled": HighAvailabilityStateNotEnabled, + "removingstandby": HighAvailabilityStateRemovingStandby, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := HighAvailabilityState(input) + return &out, nil +} + +type ImportSourceStorageType string + +const ( + ImportSourceStorageTypeAzureBlob ImportSourceStorageType = "AzureBlob" +) + +func PossibleValuesForImportSourceStorageType() []string { + return []string{ + string(ImportSourceStorageTypeAzureBlob), + } +} + +func (s *ImportSourceStorageType) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseImportSourceStorageType(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseImportSourceStorageType(input string) (*ImportSourceStorageType, error) { + vals := map[string]ImportSourceStorageType{ + "azureblob": ImportSourceStorageTypeAzureBlob, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ImportSourceStorageType(input) + return &out, nil +} + +type ManagedServiceIdentityType string + +const ( + ManagedServiceIdentityTypeUserAssigned ManagedServiceIdentityType = "UserAssigned" +) + +func PossibleValuesForManagedServiceIdentityType() []string { + return []string{ + string(ManagedServiceIdentityTypeUserAssigned), + } +} + +func (s *ManagedServiceIdentityType) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseManagedServiceIdentityType(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseManagedServiceIdentityType(input string) (*ManagedServiceIdentityType, error) { + vals := map[string]ManagedServiceIdentityType{ + "userassigned": ManagedServiceIdentityTypeUserAssigned, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ManagedServiceIdentityType(input) + return &out, nil +} + +type PrivateEndpointConnectionProvisioningState string + +const ( + PrivateEndpointConnectionProvisioningStateCreating PrivateEndpointConnectionProvisioningState = "Creating" + PrivateEndpointConnectionProvisioningStateDeleting PrivateEndpointConnectionProvisioningState = "Deleting" + PrivateEndpointConnectionProvisioningStateFailed PrivateEndpointConnectionProvisioningState = "Failed" + PrivateEndpointConnectionProvisioningStateSucceeded PrivateEndpointConnectionProvisioningState = "Succeeded" +) + +func PossibleValuesForPrivateEndpointConnectionProvisioningState() []string { + return []string{ + string(PrivateEndpointConnectionProvisioningStateCreating), + string(PrivateEndpointConnectionProvisioningStateDeleting), + string(PrivateEndpointConnectionProvisioningStateFailed), + string(PrivateEndpointConnectionProvisioningStateSucceeded), + } +} + +func (s *PrivateEndpointConnectionProvisioningState) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parsePrivateEndpointConnectionProvisioningState(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parsePrivateEndpointConnectionProvisioningState(input string) (*PrivateEndpointConnectionProvisioningState, error) { + vals := map[string]PrivateEndpointConnectionProvisioningState{ + "creating": PrivateEndpointConnectionProvisioningStateCreating, + "deleting": PrivateEndpointConnectionProvisioningStateDeleting, + "failed": PrivateEndpointConnectionProvisioningStateFailed, + "succeeded": PrivateEndpointConnectionProvisioningStateSucceeded, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := PrivateEndpointConnectionProvisioningState(input) + return &out, nil +} + +type PrivateEndpointServiceConnectionStatus string + +const ( + PrivateEndpointServiceConnectionStatusApproved PrivateEndpointServiceConnectionStatus = "Approved" + PrivateEndpointServiceConnectionStatusPending PrivateEndpointServiceConnectionStatus = "Pending" + PrivateEndpointServiceConnectionStatusRejected PrivateEndpointServiceConnectionStatus = "Rejected" +) + +func PossibleValuesForPrivateEndpointServiceConnectionStatus() []string { + return []string{ + string(PrivateEndpointServiceConnectionStatusApproved), + string(PrivateEndpointServiceConnectionStatusPending), + string(PrivateEndpointServiceConnectionStatusRejected), + } +} + +func (s *PrivateEndpointServiceConnectionStatus) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parsePrivateEndpointServiceConnectionStatus(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parsePrivateEndpointServiceConnectionStatus(input string) (*PrivateEndpointServiceConnectionStatus, error) { + vals := map[string]PrivateEndpointServiceConnectionStatus{ + "approved": PrivateEndpointServiceConnectionStatusApproved, + "pending": PrivateEndpointServiceConnectionStatusPending, + "rejected": PrivateEndpointServiceConnectionStatusRejected, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := PrivateEndpointServiceConnectionStatus(input) + return &out, nil +} + +type ReplicationRole string + +const ( + ReplicationRoleNone ReplicationRole = "None" + ReplicationRoleReplica ReplicationRole = "Replica" + ReplicationRoleSource ReplicationRole = "Source" +) + +func PossibleValuesForReplicationRole() []string { + return []string{ + string(ReplicationRoleNone), + string(ReplicationRoleReplica), + string(ReplicationRoleSource), + } +} + +func (s *ReplicationRole) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseReplicationRole(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseReplicationRole(input string) (*ReplicationRole, error) { + vals := map[string]ReplicationRole{ + "none": ReplicationRoleNone, + "replica": ReplicationRoleReplica, + "source": ReplicationRoleSource, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ReplicationRole(input) + return &out, nil +} + +type ServerSkuTier string + +const ( + ServerSkuTierBurstable ServerSkuTier = "Burstable" + ServerSkuTierGeneralPurpose ServerSkuTier = "GeneralPurpose" + ServerSkuTierMemoryOptimized ServerSkuTier = "MemoryOptimized" +) + +func PossibleValuesForServerSkuTier() []string { + return []string{ + string(ServerSkuTierBurstable), + string(ServerSkuTierGeneralPurpose), + string(ServerSkuTierMemoryOptimized), + } +} + +func (s *ServerSkuTier) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseServerSkuTier(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseServerSkuTier(input string) (*ServerSkuTier, error) { + vals := map[string]ServerSkuTier{ + "burstable": ServerSkuTierBurstable, + "generalpurpose": ServerSkuTierGeneralPurpose, + "memoryoptimized": ServerSkuTierMemoryOptimized, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ServerSkuTier(input) + return &out, nil +} + +type ServerState string + +const ( + ServerStateDisabled ServerState = "Disabled" + ServerStateDropping ServerState = "Dropping" + ServerStateReady ServerState = "Ready" + ServerStateStarting ServerState = "Starting" + ServerStateStopped ServerState = "Stopped" + ServerStateStopping ServerState = "Stopping" + ServerStateUpdating ServerState = "Updating" +) + +func PossibleValuesForServerState() []string { + return []string{ + string(ServerStateDisabled), + string(ServerStateDropping), + string(ServerStateReady), + string(ServerStateStarting), + string(ServerStateStopped), + string(ServerStateStopping), + string(ServerStateUpdating), + } +} + +func (s *ServerState) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseServerState(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseServerState(input string) (*ServerState, error) { + vals := map[string]ServerState{ + "disabled": ServerStateDisabled, + "dropping": ServerStateDropping, + "ready": ServerStateReady, + "starting": ServerStateStarting, + "stopped": ServerStateStopped, + "stopping": ServerStateStopping, + "updating": ServerStateUpdating, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ServerState(input) + return &out, nil +} + +type ServerVersion string + +const ( + ServerVersionEightPointZeroPointTwoOne ServerVersion = "8.0.21" + ServerVersionFivePointSeven ServerVersion = "5.7" +) + +func PossibleValuesForServerVersion() []string { + return []string{ + string(ServerVersionEightPointZeroPointTwoOne), + string(ServerVersionFivePointSeven), + } +} + +func (s *ServerVersion) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseServerVersion(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseServerVersion(input string) (*ServerVersion, error) { + vals := map[string]ServerVersion{ + "8.0.21": ServerVersionEightPointZeroPointTwoOne, + "5.7": ServerVersionFivePointSeven, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ServerVersion(input) + return &out, nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/servers/id_flexibleserver.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servers/id_flexibleserver.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/servers/id_flexibleserver.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servers/id_flexibleserver.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/servers/method_create.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servers/method_create.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/servers/method_create.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servers/method_create.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/servers/method_delete.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servers/method_delete.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/servers/method_delete.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servers/method_delete.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/servers/method_get.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servers/method_get.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/servers/method_get.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servers/method_get.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/servers/method_list.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servers/method_list.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/servers/method_list.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servers/method_list.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/servers/method_listbyresourcegroup.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servers/method_listbyresourcegroup.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/servers/method_listbyresourcegroup.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servers/method_listbyresourcegroup.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/servers/method_replicaslistbyserver.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servers/method_replicaslistbyserver.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/servers/method_replicaslistbyserver.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servers/method_replicaslistbyserver.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/servers/method_update.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servers/method_update.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/servers/method_update.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servers/method_update.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servers/model_backup.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servers/model_backup.go new file mode 100644 index 000000000000..1b32d064ddec --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servers/model_backup.go @@ -0,0 +1,29 @@ +package servers + +import ( + "time" + + "github.com/hashicorp/go-azure-helpers/lang/dates" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type Backup struct { + BackupIntervalHours *int64 `json:"backupIntervalHours,omitempty"` + BackupRetentionDays *int64 `json:"backupRetentionDays,omitempty"` + EarliestRestoreDate *string `json:"earliestRestoreDate,omitempty"` + GeoRedundantBackup *EnableStatusEnum `json:"geoRedundantBackup,omitempty"` +} + +func (o *Backup) GetEarliestRestoreDateAsTime() (*time.Time, error) { + if o.EarliestRestoreDate == nil { + return nil, nil + } + return dates.ParseAsFormat(o.EarliestRestoreDate, "2006-01-02T15:04:05Z07:00") +} + +func (o *Backup) SetEarliestRestoreDateAsTime(input time.Time) { + formatted := input.Format("2006-01-02T15:04:05Z07:00") + o.EarliestRestoreDate = &formatted +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/servers/model_dataencryption.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servers/model_dataencryption.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/servers/model_dataencryption.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servers/model_dataencryption.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/servers/model_highavailability.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servers/model_highavailability.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/servers/model_highavailability.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servers/model_highavailability.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servers/model_importsourceproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servers/model_importsourceproperties.go new file mode 100644 index 000000000000..69269b6707fd --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servers/model_importsourceproperties.go @@ -0,0 +1,11 @@ +package servers + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ImportSourceProperties struct { + DataDirPath *string `json:"dataDirPath,omitempty"` + SasToken *string `json:"sasToken,omitempty"` + StorageType *ImportSourceStorageType `json:"storageType,omitempty"` + StorageURL *string `json:"storageUrl,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/servers/model_maintenancewindow.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servers/model_maintenancewindow.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/servers/model_maintenancewindow.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servers/model_maintenancewindow.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servers/model_mysqlserveridentity.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servers/model_mysqlserveridentity.go new file mode 100644 index 000000000000..fa31b3a9e3b2 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servers/model_mysqlserveridentity.go @@ -0,0 +1,11 @@ +package servers + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type MySQLServerIdentity struct { + PrincipalId *string `json:"principalId,omitempty"` + TenantId *string `json:"tenantId,omitempty"` + Type *ManagedServiceIdentityType `json:"type,omitempty"` + UserAssignedIdentities *map[string]interface{} `json:"userAssignedIdentities,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servers/model_mysqlserversku.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servers/model_mysqlserversku.go new file mode 100644 index 000000000000..dd4575adc676 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servers/model_mysqlserversku.go @@ -0,0 +1,9 @@ +package servers + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type MySQLServerSku struct { + Name string `json:"name"` + Tier ServerSkuTier `json:"tier"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/servers/model_network.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servers/model_network.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/servers/model_network.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servers/model_network.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servers/model_privateendpoint.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servers/model_privateendpoint.go new file mode 100644 index 000000000000..edbc5878b033 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servers/model_privateendpoint.go @@ -0,0 +1,8 @@ +package servers + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PrivateEndpoint struct { + Id *string `json:"id,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servers/model_privateendpointconnection.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servers/model_privateendpointconnection.go new file mode 100644 index 000000000000..d6ff31c5dad0 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servers/model_privateendpointconnection.go @@ -0,0 +1,16 @@ +package servers + +import ( + "github.com/hashicorp/go-azure-helpers/resourcemanager/systemdata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PrivateEndpointConnection struct { + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *PrivateEndpointConnectionProperties `json:"properties,omitempty"` + SystemData *systemdata.SystemData `json:"systemData,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servers/model_privateendpointconnectionproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servers/model_privateendpointconnectionproperties.go new file mode 100644 index 000000000000..ee2ec79f43b7 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servers/model_privateendpointconnectionproperties.go @@ -0,0 +1,11 @@ +package servers + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PrivateEndpointConnectionProperties struct { + GroupIds *[]string `json:"groupIds,omitempty"` + PrivateEndpoint *PrivateEndpoint `json:"privateEndpoint,omitempty"` + PrivateLinkServiceConnectionState PrivateLinkServiceConnectionState `json:"privateLinkServiceConnectionState"` + ProvisioningState *PrivateEndpointConnectionProvisioningState `json:"provisioningState,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servers/model_privatelinkserviceconnectionstate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servers/model_privatelinkserviceconnectionstate.go new file mode 100644 index 000000000000..8a2ade12ed85 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servers/model_privatelinkserviceconnectionstate.go @@ -0,0 +1,10 @@ +package servers + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PrivateLinkServiceConnectionState struct { + ActionsRequired *string `json:"actionsRequired,omitempty"` + Description *string `json:"description,omitempty"` + Status *PrivateEndpointServiceConnectionStatus `json:"status,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servers/model_server.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servers/model_server.go new file mode 100644 index 000000000000..76d9c7b97082 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servers/model_server.go @@ -0,0 +1,20 @@ +package servers + +import ( + "github.com/hashicorp/go-azure-helpers/resourcemanager/systemdata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type Server struct { + Id *string `json:"id,omitempty"` + Identity *MySQLServerIdentity `json:"identity,omitempty"` + Location string `json:"location"` + Name *string `json:"name,omitempty"` + Properties *ServerProperties `json:"properties,omitempty"` + Sku *MySQLServerSku `json:"sku,omitempty"` + SystemData *systemdata.SystemData `json:"systemData,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servers/model_serverforupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servers/model_serverforupdate.go new file mode 100644 index 000000000000..f13bd7fc7a0f --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servers/model_serverforupdate.go @@ -0,0 +1,11 @@ +package servers + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ServerForUpdate struct { + Identity *MySQLServerIdentity `json:"identity,omitempty"` + Properties *ServerPropertiesForUpdate `json:"properties,omitempty"` + Sku *MySQLServerSku `json:"sku,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servers/model_serverproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servers/model_serverproperties.go new file mode 100644 index 000000000000..f38682e4e9f2 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servers/model_serverproperties.go @@ -0,0 +1,44 @@ +package servers + +import ( + "time" + + "github.com/hashicorp/go-azure-helpers/lang/dates" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ServerProperties struct { + AdministratorLogin *string `json:"administratorLogin,omitempty"` + AdministratorLoginPassword *string `json:"administratorLoginPassword,omitempty"` + AvailabilityZone *string `json:"availabilityZone,omitempty"` + Backup *Backup `json:"backup,omitempty"` + CreateMode *CreateMode `json:"createMode,omitempty"` + DataEncryption *DataEncryption `json:"dataEncryption,omitempty"` + FullyQualifiedDomainName *string `json:"fullyQualifiedDomainName,omitempty"` + HighAvailability *HighAvailability `json:"highAvailability,omitempty"` + ImportSourceProperties *ImportSourceProperties `json:"importSourceProperties,omitempty"` + MaintenanceWindow *MaintenanceWindow `json:"maintenanceWindow,omitempty"` + Network *Network `json:"network,omitempty"` + PrivateEndpointConnections *[]PrivateEndpointConnection `json:"privateEndpointConnections,omitempty"` + ReplicaCapacity *int64 `json:"replicaCapacity,omitempty"` + ReplicationRole *ReplicationRole `json:"replicationRole,omitempty"` + RestorePointInTime *string `json:"restorePointInTime,omitempty"` + SourceServerResourceId *string `json:"sourceServerResourceId,omitempty"` + State *ServerState `json:"state,omitempty"` + Storage *Storage `json:"storage,omitempty"` + Version *ServerVersion `json:"version,omitempty"` +} + +func (o *ServerProperties) GetRestorePointInTimeAsTime() (*time.Time, error) { + if o.RestorePointInTime == nil { + return nil, nil + } + return dates.ParseAsFormat(o.RestorePointInTime, "2006-01-02T15:04:05Z07:00") +} + +func (o *ServerProperties) SetRestorePointInTimeAsTime(input time.Time) { + formatted := input.Format("2006-01-02T15:04:05Z07:00") + o.RestorePointInTime = &formatted +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/servers/model_serverpropertiesforupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servers/model_serverpropertiesforupdate.go similarity index 92% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/servers/model_serverpropertiesforupdate.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servers/model_serverpropertiesforupdate.go index a5b79594b3c9..3c4216aa121f 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/servers/model_serverpropertiesforupdate.go +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servers/model_serverpropertiesforupdate.go @@ -9,6 +9,7 @@ type ServerPropertiesForUpdate struct { DataEncryption *DataEncryption `json:"dataEncryption,omitempty"` HighAvailability *HighAvailability `json:"highAvailability,omitempty"` MaintenanceWindow *MaintenanceWindow `json:"maintenanceWindow,omitempty"` + Network *Network `json:"network,omitempty"` ReplicationRole *ReplicationRole `json:"replicationRole,omitempty"` Storage *Storage `json:"storage,omitempty"` Version *ServerVersion `json:"version,omitempty"` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/servers/model_storage.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servers/model_storage.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/servers/model_storage.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servers/model_storage.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/servers/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servers/predicates.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/servers/predicates.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servers/predicates.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servers/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servers/version.go new file mode 100644 index 000000000000..5e8a3822067d --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servers/version.go @@ -0,0 +1,10 @@ +package servers + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2023-12-30" + +func userAgent() string { + return "hashicorp/go-azure-sdk/servers/2023-12-30" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/serverstart/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/serverstart/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/serverstart/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/serverstart/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/serverstart/id_flexibleserver.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/serverstart/id_flexibleserver.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/serverstart/id_flexibleserver.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/serverstart/id_flexibleserver.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/serverstart/method_serversstart.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/serverstart/method_serversstart.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/serverstart/method_serversstart.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/serverstart/method_serversstart.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/serverstart/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/serverstart/version.go new file mode 100644 index 000000000000..a618c927af8a --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/serverstart/version.go @@ -0,0 +1,10 @@ +package serverstart + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2023-12-30" + +func userAgent() string { + return "hashicorp/go-azure-sdk/serverstart/2023-12-30" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/serverstop/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/serverstop/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/serverstop/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/serverstop/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/serverstop/id_flexibleserver.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/serverstop/id_flexibleserver.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/serverstop/id_flexibleserver.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/serverstop/id_flexibleserver.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/serverstop/method_serversstop.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/serverstop/method_serversstop.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/serverstop/method_serversstop.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/serverstop/method_serversstop.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/serverstop/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/serverstop/version.go new file mode 100644 index 000000000000..116e0a57dfd1 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/serverstop/version.go @@ -0,0 +1,10 @@ +package serverstop + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2023-12-30" + +func userAgent() string { + return "hashicorp/go-azure-sdk/serverstop/2023-12-30" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servervalidateestimatehighavailability/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servervalidateestimatehighavailability/README.md new file mode 100644 index 000000000000..b73dcb83a3ec --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servervalidateestimatehighavailability/README.md @@ -0,0 +1,41 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servervalidateestimatehighavailability` Documentation + +The `servervalidateestimatehighavailability` SDK allows for interaction with Azure Resource Manager `mysql` (API Version `2023-12-30`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servervalidateestimatehighavailability" +``` + + +### Client Initialization + +```go +client := servervalidateestimatehighavailability.NewServerValidateEstimateHighAvailabilityClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `ServerValidateEstimateHighAvailabilityClient.ServersValidateEstimateHighAvailability` + +```go +ctx := context.TODO() +id := servervalidateestimatehighavailability.NewFlexibleServerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "flexibleServerName") + +payload := servervalidateestimatehighavailability.HighAvailabilityValidationEstimation{ + // ... +} + + +read, err := client.ServersValidateEstimateHighAvailability(ctx, id, payload) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servervalidateestimatehighavailability/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servervalidateestimatehighavailability/client.go new file mode 100644 index 000000000000..b561a8e467d8 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servervalidateestimatehighavailability/client.go @@ -0,0 +1,26 @@ +package servervalidateestimatehighavailability + +import ( + "fmt" + + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + sdkEnv "github.com/hashicorp/go-azure-sdk/sdk/environments" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ServerValidateEstimateHighAvailabilityClient struct { + Client *resourcemanager.Client +} + +func NewServerValidateEstimateHighAvailabilityClientWithBaseURI(sdkApi sdkEnv.Api) (*ServerValidateEstimateHighAvailabilityClient, error) { + client, err := resourcemanager.NewClient(sdkApi, "servervalidateestimatehighavailability", defaultApiVersion) + if err != nil { + return nil, fmt.Errorf("instantiating ServerValidateEstimateHighAvailabilityClient: %+v", err) + } + + return &ServerValidateEstimateHighAvailabilityClient{ + Client: client, + }, nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servervalidateestimatehighavailability/id_flexibleserver.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servervalidateestimatehighavailability/id_flexibleserver.go new file mode 100644 index 000000000000..5a04720a1245 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servervalidateestimatehighavailability/id_flexibleserver.go @@ -0,0 +1,130 @@ +package servervalidateestimatehighavailability + +import ( + "fmt" + "strings" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/recaser" + "github.com/hashicorp/go-azure-helpers/resourcemanager/resourceids" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +func init() { + recaser.RegisterResourceId(&FlexibleServerId{}) +} + +var _ resourceids.ResourceId = &FlexibleServerId{} + +// FlexibleServerId is a struct representing the Resource ID for a Flexible Server +type FlexibleServerId struct { + SubscriptionId string + ResourceGroupName string + FlexibleServerName string +} + +// NewFlexibleServerID returns a new FlexibleServerId struct +func NewFlexibleServerID(subscriptionId string, resourceGroupName string, flexibleServerName string) FlexibleServerId { + return FlexibleServerId{ + SubscriptionId: subscriptionId, + ResourceGroupName: resourceGroupName, + FlexibleServerName: flexibleServerName, + } +} + +// ParseFlexibleServerID parses 'input' into a FlexibleServerId +func ParseFlexibleServerID(input string) (*FlexibleServerId, error) { + parser := resourceids.NewParserFromResourceIdType(&FlexibleServerId{}) + parsed, err := parser.Parse(input, false) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := FlexibleServerId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +// ParseFlexibleServerIDInsensitively parses 'input' case-insensitively into a FlexibleServerId +// note: this method should only be used for API response data and not user input +func ParseFlexibleServerIDInsensitively(input string) (*FlexibleServerId, error) { + parser := resourceids.NewParserFromResourceIdType(&FlexibleServerId{}) + parsed, err := parser.Parse(input, true) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := FlexibleServerId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +func (id *FlexibleServerId) FromParseResult(input resourceids.ParseResult) error { + var ok bool + + if id.SubscriptionId, ok = input.Parsed["subscriptionId"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "subscriptionId", input) + } + + if id.ResourceGroupName, ok = input.Parsed["resourceGroupName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "resourceGroupName", input) + } + + if id.FlexibleServerName, ok = input.Parsed["flexibleServerName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "flexibleServerName", input) + } + + return nil +} + +// ValidateFlexibleServerID checks that 'input' can be parsed as a Flexible Server ID +func ValidateFlexibleServerID(input interface{}, key string) (warnings []string, errors []error) { + v, ok := input.(string) + if !ok { + errors = append(errors, fmt.Errorf("expected %q to be a string", key)) + return + } + + if _, err := ParseFlexibleServerID(v); err != nil { + errors = append(errors, err) + } + + return +} + +// ID returns the formatted Flexible Server ID +func (id FlexibleServerId) ID() string { + fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.DBforMySQL/flexibleServers/%s" + return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.FlexibleServerName) +} + +// Segments returns a slice of Resource ID Segments which comprise this Flexible Server ID +func (id FlexibleServerId) Segments() []resourceids.Segment { + return []resourceids.Segment{ + resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), + resourceids.SubscriptionIdSegment("subscriptionId", "12345678-1234-9876-4563-123456789012"), + resourceids.StaticSegment("staticResourceGroups", "resourceGroups", "resourceGroups"), + resourceids.ResourceGroupSegment("resourceGroupName", "example-resource-group"), + resourceids.StaticSegment("staticProviders", "providers", "providers"), + resourceids.ResourceProviderSegment("staticMicrosoftDBforMySQL", "Microsoft.DBforMySQL", "Microsoft.DBforMySQL"), + resourceids.StaticSegment("staticFlexibleServers", "flexibleServers", "flexibleServers"), + resourceids.UserSpecifiedSegment("flexibleServerName", "flexibleServerName"), + } +} + +// String returns a human-readable description of this Flexible Server ID +func (id FlexibleServerId) String() string { + components := []string{ + fmt.Sprintf("Subscription: %q", id.SubscriptionId), + fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), + fmt.Sprintf("Flexible Server Name: %q", id.FlexibleServerName), + } + return fmt.Sprintf("Flexible Server (%s)", strings.Join(components, "\n")) +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servervalidateestimatehighavailability/method_serversvalidateestimatehighavailability.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servervalidateestimatehighavailability/method_serversvalidateestimatehighavailability.go new file mode 100644 index 000000000000..ba715d8cabe9 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servervalidateestimatehighavailability/method_serversvalidateestimatehighavailability.go @@ -0,0 +1,58 @@ +package servervalidateestimatehighavailability + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ServersValidateEstimateHighAvailabilityOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *HighAvailabilityValidationEstimation +} + +// ServersValidateEstimateHighAvailability ... +func (c ServerValidateEstimateHighAvailabilityClient) ServersValidateEstimateHighAvailability(ctx context.Context, id FlexibleServerId, input HighAvailabilityValidationEstimation) (result ServersValidateEstimateHighAvailabilityOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodPost, + Path: fmt.Sprintf("%s/validateEstimateHighAvailability", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + if err = req.Marshal(input); err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var model HighAvailabilityValidationEstimation + result.Model = &model + if err = resp.Unmarshal(result.Model); err != nil { + return + } + + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servervalidateestimatehighavailability/model_highavailabilityvalidationestimation.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servervalidateestimatehighavailability/model_highavailabilityvalidationestimation.go new file mode 100644 index 000000000000..566953ec3e49 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servervalidateestimatehighavailability/model_highavailabilityvalidationestimation.go @@ -0,0 +1,10 @@ +package servervalidateestimatehighavailability + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type HighAvailabilityValidationEstimation struct { + EstimatedDowntime *int64 `json:"estimatedDowntime,omitempty"` + ExpectedStandbyAvailabilityZone *string `json:"expectedStandbyAvailabilityZone,omitempty"` + ScheduledStandbyAvailabilityZone *string `json:"scheduledStandbyAvailabilityZone,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servervalidateestimatehighavailability/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servervalidateestimatehighavailability/version.go new file mode 100644 index 000000000000..4a5d6cd41432 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servervalidateestimatehighavailability/version.go @@ -0,0 +1,10 @@ +package servervalidateestimatehighavailability + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2023-12-30" + +func userAgent() string { + return "hashicorp/go-azure-sdk/servervalidateestimatehighavailability/2023-12-30" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/adminrulecollections/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/adminrulecollections/README.md deleted file mode 100644 index 347f56250856..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/adminrulecollections/README.md +++ /dev/null @@ -1,86 +0,0 @@ - -## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/adminrulecollections` Documentation - -The `adminrulecollections` SDK allows for interaction with Azure Resource Manager `network` (API Version `2023-11-01`). - -This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). - -### Import Path - -```go -import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/adminrulecollections" -``` - - -### Client Initialization - -```go -client := adminrulecollections.NewAdminRuleCollectionsClientWithBaseURI("https://management.azure.com") -client.Client.Authorizer = authorizer -``` - - -### Example Usage: `AdminRuleCollectionsClient.CreateOrUpdate` - -```go -ctx := context.TODO() -id := adminrulecollections.NewRuleCollectionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkManagerName", "securityAdminConfigurationName", "ruleCollectionName") - -payload := adminrulecollections.AdminRuleCollection{ - // ... -} - - -read, err := client.CreateOrUpdate(ctx, id, payload) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `AdminRuleCollectionsClient.Delete` - -```go -ctx := context.TODO() -id := adminrulecollections.NewRuleCollectionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkManagerName", "securityAdminConfigurationName", "ruleCollectionName") - -if err := client.DeleteThenPoll(ctx, id, adminrulecollections.DefaultDeleteOperationOptions()); err != nil { - // handle the error -} -``` - - -### Example Usage: `AdminRuleCollectionsClient.Get` - -```go -ctx := context.TODO() -id := adminrulecollections.NewRuleCollectionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkManagerName", "securityAdminConfigurationName", "ruleCollectionName") - -read, err := client.Get(ctx, id) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `AdminRuleCollectionsClient.List` - -```go -ctx := context.TODO() -id := adminrulecollections.NewSecurityAdminConfigurationID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkManagerName", "securityAdminConfigurationName") - -// alternatively `client.List(ctx, id, adminrulecollections.DefaultListOperationOptions())` can be used to do batched pagination -items, err := client.ListComplete(ctx, id, adminrulecollections.DefaultListOperationOptions()) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/adminrulecollections/id_rulecollection.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/adminrulecollections/id_rulecollection.go deleted file mode 100644 index a7cd76bd8fcf..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/adminrulecollections/id_rulecollection.go +++ /dev/null @@ -1,148 +0,0 @@ -package adminrulecollections - -import ( - "fmt" - "strings" - - "github.com/hashicorp/go-azure-helpers/resourcemanager/recaser" - "github.com/hashicorp/go-azure-helpers/resourcemanager/resourceids" -) - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -func init() { - recaser.RegisterResourceId(&RuleCollectionId{}) -} - -var _ resourceids.ResourceId = &RuleCollectionId{} - -// RuleCollectionId is a struct representing the Resource ID for a Rule Collection -type RuleCollectionId struct { - SubscriptionId string - ResourceGroupName string - NetworkManagerName string - SecurityAdminConfigurationName string - RuleCollectionName string -} - -// NewRuleCollectionID returns a new RuleCollectionId struct -func NewRuleCollectionID(subscriptionId string, resourceGroupName string, networkManagerName string, securityAdminConfigurationName string, ruleCollectionName string) RuleCollectionId { - return RuleCollectionId{ - SubscriptionId: subscriptionId, - ResourceGroupName: resourceGroupName, - NetworkManagerName: networkManagerName, - SecurityAdminConfigurationName: securityAdminConfigurationName, - RuleCollectionName: ruleCollectionName, - } -} - -// ParseRuleCollectionID parses 'input' into a RuleCollectionId -func ParseRuleCollectionID(input string) (*RuleCollectionId, error) { - parser := resourceids.NewParserFromResourceIdType(&RuleCollectionId{}) - parsed, err := parser.Parse(input, false) - if err != nil { - return nil, fmt.Errorf("parsing %q: %+v", input, err) - } - - id := RuleCollectionId{} - if err = id.FromParseResult(*parsed); err != nil { - return nil, err - } - - return &id, nil -} - -// ParseRuleCollectionIDInsensitively parses 'input' case-insensitively into a RuleCollectionId -// note: this method should only be used for API response data and not user input -func ParseRuleCollectionIDInsensitively(input string) (*RuleCollectionId, error) { - parser := resourceids.NewParserFromResourceIdType(&RuleCollectionId{}) - parsed, err := parser.Parse(input, true) - if err != nil { - return nil, fmt.Errorf("parsing %q: %+v", input, err) - } - - id := RuleCollectionId{} - if err = id.FromParseResult(*parsed); err != nil { - return nil, err - } - - return &id, nil -} - -func (id *RuleCollectionId) FromParseResult(input resourceids.ParseResult) error { - var ok bool - - if id.SubscriptionId, ok = input.Parsed["subscriptionId"]; !ok { - return resourceids.NewSegmentNotSpecifiedError(id, "subscriptionId", input) - } - - if id.ResourceGroupName, ok = input.Parsed["resourceGroupName"]; !ok { - return resourceids.NewSegmentNotSpecifiedError(id, "resourceGroupName", input) - } - - if id.NetworkManagerName, ok = input.Parsed["networkManagerName"]; !ok { - return resourceids.NewSegmentNotSpecifiedError(id, "networkManagerName", input) - } - - if id.SecurityAdminConfigurationName, ok = input.Parsed["securityAdminConfigurationName"]; !ok { - return resourceids.NewSegmentNotSpecifiedError(id, "securityAdminConfigurationName", input) - } - - if id.RuleCollectionName, ok = input.Parsed["ruleCollectionName"]; !ok { - return resourceids.NewSegmentNotSpecifiedError(id, "ruleCollectionName", input) - } - - return nil -} - -// ValidateRuleCollectionID checks that 'input' can be parsed as a Rule Collection ID -func ValidateRuleCollectionID(input interface{}, key string) (warnings []string, errors []error) { - v, ok := input.(string) - if !ok { - errors = append(errors, fmt.Errorf("expected %q to be a string", key)) - return - } - - if _, err := ParseRuleCollectionID(v); err != nil { - errors = append(errors, err) - } - - return -} - -// ID returns the formatted Rule Collection ID -func (id RuleCollectionId) ID() string { - fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.Network/networkManagers/%s/securityAdminConfigurations/%s/ruleCollections/%s" - return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.NetworkManagerName, id.SecurityAdminConfigurationName, id.RuleCollectionName) -} - -// Segments returns a slice of Resource ID Segments which comprise this Rule Collection ID -func (id RuleCollectionId) Segments() []resourceids.Segment { - return []resourceids.Segment{ - resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), - resourceids.SubscriptionIdSegment("subscriptionId", "12345678-1234-9876-4563-123456789012"), - resourceids.StaticSegment("staticResourceGroups", "resourceGroups", "resourceGroups"), - resourceids.ResourceGroupSegment("resourceGroupName", "example-resource-group"), - resourceids.StaticSegment("staticProviders", "providers", "providers"), - resourceids.ResourceProviderSegment("staticMicrosoftNetwork", "Microsoft.Network", "Microsoft.Network"), - resourceids.StaticSegment("staticNetworkManagers", "networkManagers", "networkManagers"), - resourceids.UserSpecifiedSegment("networkManagerName", "networkManagerName"), - resourceids.StaticSegment("staticSecurityAdminConfigurations", "securityAdminConfigurations", "securityAdminConfigurations"), - resourceids.UserSpecifiedSegment("securityAdminConfigurationName", "securityAdminConfigurationName"), - resourceids.StaticSegment("staticRuleCollections", "ruleCollections", "ruleCollections"), - resourceids.UserSpecifiedSegment("ruleCollectionName", "ruleCollectionName"), - } -} - -// String returns a human-readable description of this Rule Collection ID -func (id RuleCollectionId) String() string { - components := []string{ - fmt.Sprintf("Subscription: %q", id.SubscriptionId), - fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), - fmt.Sprintf("Network Manager Name: %q", id.NetworkManagerName), - fmt.Sprintf("Security Admin Configuration Name: %q", id.SecurityAdminConfigurationName), - fmt.Sprintf("Rule Collection Name: %q", id.RuleCollectionName), - } - return fmt.Sprintf("Rule Collection (%s)", strings.Join(components, "\n")) -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/adminrulecollections/method_createorupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/adminrulecollections/method_createorupdate.go deleted file mode 100644 index 00810feb46ae..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/adminrulecollections/method_createorupdate.go +++ /dev/null @@ -1,58 +0,0 @@ -package adminrulecollections - -import ( - "context" - "net/http" - - "github.com/hashicorp/go-azure-sdk/sdk/client" - "github.com/hashicorp/go-azure-sdk/sdk/odata" -) - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -type CreateOrUpdateOperationResponse struct { - HttpResponse *http.Response - OData *odata.OData - Model *AdminRuleCollection -} - -// CreateOrUpdate ... -func (c AdminRuleCollectionsClient) CreateOrUpdate(ctx context.Context, id RuleCollectionId, input AdminRuleCollection) (result CreateOrUpdateOperationResponse, err error) { - opts := client.RequestOptions{ - ContentType: "application/json; charset=utf-8", - ExpectedStatusCodes: []int{ - http.StatusCreated, - http.StatusOK, - }, - HttpMethod: http.MethodPut, - Path: id.ID(), - } - - req, err := c.Client.NewRequest(ctx, opts) - if err != nil { - return - } - - if err = req.Marshal(input); err != nil { - return - } - - var resp *client.Response - resp, err = req.Execute(ctx) - if resp != nil { - result.OData = resp.OData - result.HttpResponse = resp.Response - } - if err != nil { - return - } - - var model AdminRuleCollection - result.Model = &model - if err = resp.Unmarshal(result.Model); err != nil { - return - } - - return -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/adminrulecollections/method_delete.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/adminrulecollections/method_delete.go deleted file mode 100644 index 68d0021749bb..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/adminrulecollections/method_delete.go +++ /dev/null @@ -1,100 +0,0 @@ -package adminrulecollections - -import ( - "context" - "fmt" - "net/http" - - "github.com/hashicorp/go-azure-sdk/sdk/client" - "github.com/hashicorp/go-azure-sdk/sdk/client/pollers" - "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" - "github.com/hashicorp/go-azure-sdk/sdk/odata" -) - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -type DeleteOperationResponse struct { - Poller pollers.Poller - HttpResponse *http.Response - OData *odata.OData -} - -type DeleteOperationOptions struct { - Force *bool -} - -func DefaultDeleteOperationOptions() DeleteOperationOptions { - return DeleteOperationOptions{} -} - -func (o DeleteOperationOptions) ToHeaders() *client.Headers { - out := client.Headers{} - - return &out -} - -func (o DeleteOperationOptions) ToOData() *odata.Query { - out := odata.Query{} - - return &out -} - -func (o DeleteOperationOptions) ToQuery() *client.QueryParams { - out := client.QueryParams{} - if o.Force != nil { - out.Append("force", fmt.Sprintf("%v", *o.Force)) - } - return &out -} - -// Delete ... -func (c AdminRuleCollectionsClient) Delete(ctx context.Context, id RuleCollectionId, options DeleteOperationOptions) (result DeleteOperationResponse, err error) { - opts := client.RequestOptions{ - ContentType: "application/json; charset=utf-8", - ExpectedStatusCodes: []int{ - http.StatusAccepted, - http.StatusNoContent, - http.StatusOK, - }, - HttpMethod: http.MethodDelete, - OptionsObject: options, - Path: id.ID(), - } - - req, err := c.Client.NewRequest(ctx, opts) - if err != nil { - return - } - - var resp *client.Response - resp, err = req.Execute(ctx) - if resp != nil { - result.OData = resp.OData - result.HttpResponse = resp.Response - } - if err != nil { - return - } - - result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client) - if err != nil { - return - } - - return -} - -// DeleteThenPoll performs Delete then polls until it's completed -func (c AdminRuleCollectionsClient) DeleteThenPoll(ctx context.Context, id RuleCollectionId, options DeleteOperationOptions) error { - result, err := c.Delete(ctx, id, options) - if err != nil { - return fmt.Errorf("performing Delete: %+v", err) - } - - if err := result.Poller.PollUntilDone(ctx); err != nil { - return fmt.Errorf("polling after Delete: %+v", err) - } - - return nil -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/adminrulecollections/method_get.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/adminrulecollections/method_get.go deleted file mode 100644 index 1aec0f98a6ad..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/adminrulecollections/method_get.go +++ /dev/null @@ -1,53 +0,0 @@ -package adminrulecollections - -import ( - "context" - "net/http" - - "github.com/hashicorp/go-azure-sdk/sdk/client" - "github.com/hashicorp/go-azure-sdk/sdk/odata" -) - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -type GetOperationResponse struct { - HttpResponse *http.Response - OData *odata.OData - Model *AdminRuleCollection -} - -// Get ... -func (c AdminRuleCollectionsClient) Get(ctx context.Context, id RuleCollectionId) (result GetOperationResponse, err error) { - opts := client.RequestOptions{ - ContentType: "application/json; charset=utf-8", - ExpectedStatusCodes: []int{ - http.StatusOK, - }, - HttpMethod: http.MethodGet, - Path: id.ID(), - } - - req, err := c.Client.NewRequest(ctx, opts) - if err != nil { - return - } - - var resp *client.Response - resp, err = req.Execute(ctx) - if resp != nil { - result.OData = resp.OData - result.HttpResponse = resp.Response - } - if err != nil { - return - } - - var model AdminRuleCollection - result.Model = &model - if err = resp.Unmarshal(result.Model); err != nil { - return - } - - return -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/adminrulecollections/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/adminrulecollections/version.go deleted file mode 100644 index fc30bf71af1e..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/adminrulecollections/version.go +++ /dev/null @@ -1,10 +0,0 @@ -package adminrulecollections - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -const defaultApiVersion = "2023-11-01" - -func userAgent() string { - return "hashicorp/go-azure-sdk/adminrulecollections/2023-11-01" -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/adminrules/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/adminrules/README.md deleted file mode 100644 index 74a2336bded9..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/adminrules/README.md +++ /dev/null @@ -1,86 +0,0 @@ - -## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/adminrules` Documentation - -The `adminrules` SDK allows for interaction with Azure Resource Manager `network` (API Version `2023-11-01`). - -This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). - -### Import Path - -```go -import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/adminrules" -``` - - -### Client Initialization - -```go -client := adminrules.NewAdminRulesClientWithBaseURI("https://management.azure.com") -client.Client.Authorizer = authorizer -``` - - -### Example Usage: `AdminRulesClient.CreateOrUpdate` - -```go -ctx := context.TODO() -id := adminrules.NewRuleID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkManagerName", "securityAdminConfigurationName", "ruleCollectionName", "ruleName") - -payload := adminrules.BaseAdminRule{ - // ... -} - - -read, err := client.CreateOrUpdate(ctx, id, payload) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `AdminRulesClient.Delete` - -```go -ctx := context.TODO() -id := adminrules.NewRuleID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkManagerName", "securityAdminConfigurationName", "ruleCollectionName", "ruleName") - -if err := client.DeleteThenPoll(ctx, id, adminrules.DefaultDeleteOperationOptions()); err != nil { - // handle the error -} -``` - - -### Example Usage: `AdminRulesClient.Get` - -```go -ctx := context.TODO() -id := adminrules.NewRuleID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkManagerName", "securityAdminConfigurationName", "ruleCollectionName", "ruleName") - -read, err := client.Get(ctx, id) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `AdminRulesClient.List` - -```go -ctx := context.TODO() -id := adminrules.NewRuleCollectionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkManagerName", "securityAdminConfigurationName", "ruleCollectionName") - -// alternatively `client.List(ctx, id)` can be used to do batched pagination -items, err := client.ListComplete(ctx, id) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/adminrules/id_rulecollection.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/adminrules/id_rulecollection.go deleted file mode 100644 index 4f7c635ec89c..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/adminrules/id_rulecollection.go +++ /dev/null @@ -1,148 +0,0 @@ -package adminrules - -import ( - "fmt" - "strings" - - "github.com/hashicorp/go-azure-helpers/resourcemanager/recaser" - "github.com/hashicorp/go-azure-helpers/resourcemanager/resourceids" -) - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -func init() { - recaser.RegisterResourceId(&RuleCollectionId{}) -} - -var _ resourceids.ResourceId = &RuleCollectionId{} - -// RuleCollectionId is a struct representing the Resource ID for a Rule Collection -type RuleCollectionId struct { - SubscriptionId string - ResourceGroupName string - NetworkManagerName string - SecurityAdminConfigurationName string - RuleCollectionName string -} - -// NewRuleCollectionID returns a new RuleCollectionId struct -func NewRuleCollectionID(subscriptionId string, resourceGroupName string, networkManagerName string, securityAdminConfigurationName string, ruleCollectionName string) RuleCollectionId { - return RuleCollectionId{ - SubscriptionId: subscriptionId, - ResourceGroupName: resourceGroupName, - NetworkManagerName: networkManagerName, - SecurityAdminConfigurationName: securityAdminConfigurationName, - RuleCollectionName: ruleCollectionName, - } -} - -// ParseRuleCollectionID parses 'input' into a RuleCollectionId -func ParseRuleCollectionID(input string) (*RuleCollectionId, error) { - parser := resourceids.NewParserFromResourceIdType(&RuleCollectionId{}) - parsed, err := parser.Parse(input, false) - if err != nil { - return nil, fmt.Errorf("parsing %q: %+v", input, err) - } - - id := RuleCollectionId{} - if err = id.FromParseResult(*parsed); err != nil { - return nil, err - } - - return &id, nil -} - -// ParseRuleCollectionIDInsensitively parses 'input' case-insensitively into a RuleCollectionId -// note: this method should only be used for API response data and not user input -func ParseRuleCollectionIDInsensitively(input string) (*RuleCollectionId, error) { - parser := resourceids.NewParserFromResourceIdType(&RuleCollectionId{}) - parsed, err := parser.Parse(input, true) - if err != nil { - return nil, fmt.Errorf("parsing %q: %+v", input, err) - } - - id := RuleCollectionId{} - if err = id.FromParseResult(*parsed); err != nil { - return nil, err - } - - return &id, nil -} - -func (id *RuleCollectionId) FromParseResult(input resourceids.ParseResult) error { - var ok bool - - if id.SubscriptionId, ok = input.Parsed["subscriptionId"]; !ok { - return resourceids.NewSegmentNotSpecifiedError(id, "subscriptionId", input) - } - - if id.ResourceGroupName, ok = input.Parsed["resourceGroupName"]; !ok { - return resourceids.NewSegmentNotSpecifiedError(id, "resourceGroupName", input) - } - - if id.NetworkManagerName, ok = input.Parsed["networkManagerName"]; !ok { - return resourceids.NewSegmentNotSpecifiedError(id, "networkManagerName", input) - } - - if id.SecurityAdminConfigurationName, ok = input.Parsed["securityAdminConfigurationName"]; !ok { - return resourceids.NewSegmentNotSpecifiedError(id, "securityAdminConfigurationName", input) - } - - if id.RuleCollectionName, ok = input.Parsed["ruleCollectionName"]; !ok { - return resourceids.NewSegmentNotSpecifiedError(id, "ruleCollectionName", input) - } - - return nil -} - -// ValidateRuleCollectionID checks that 'input' can be parsed as a Rule Collection ID -func ValidateRuleCollectionID(input interface{}, key string) (warnings []string, errors []error) { - v, ok := input.(string) - if !ok { - errors = append(errors, fmt.Errorf("expected %q to be a string", key)) - return - } - - if _, err := ParseRuleCollectionID(v); err != nil { - errors = append(errors, err) - } - - return -} - -// ID returns the formatted Rule Collection ID -func (id RuleCollectionId) ID() string { - fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.Network/networkManagers/%s/securityAdminConfigurations/%s/ruleCollections/%s" - return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.NetworkManagerName, id.SecurityAdminConfigurationName, id.RuleCollectionName) -} - -// Segments returns a slice of Resource ID Segments which comprise this Rule Collection ID -func (id RuleCollectionId) Segments() []resourceids.Segment { - return []resourceids.Segment{ - resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), - resourceids.SubscriptionIdSegment("subscriptionId", "12345678-1234-9876-4563-123456789012"), - resourceids.StaticSegment("staticResourceGroups", "resourceGroups", "resourceGroups"), - resourceids.ResourceGroupSegment("resourceGroupName", "example-resource-group"), - resourceids.StaticSegment("staticProviders", "providers", "providers"), - resourceids.ResourceProviderSegment("staticMicrosoftNetwork", "Microsoft.Network", "Microsoft.Network"), - resourceids.StaticSegment("staticNetworkManagers", "networkManagers", "networkManagers"), - resourceids.UserSpecifiedSegment("networkManagerName", "networkManagerName"), - resourceids.StaticSegment("staticSecurityAdminConfigurations", "securityAdminConfigurations", "securityAdminConfigurations"), - resourceids.UserSpecifiedSegment("securityAdminConfigurationName", "securityAdminConfigurationName"), - resourceids.StaticSegment("staticRuleCollections", "ruleCollections", "ruleCollections"), - resourceids.UserSpecifiedSegment("ruleCollectionName", "ruleCollectionName"), - } -} - -// String returns a human-readable description of this Rule Collection ID -func (id RuleCollectionId) String() string { - components := []string{ - fmt.Sprintf("Subscription: %q", id.SubscriptionId), - fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), - fmt.Sprintf("Network Manager Name: %q", id.NetworkManagerName), - fmt.Sprintf("Security Admin Configuration Name: %q", id.SecurityAdminConfigurationName), - fmt.Sprintf("Rule Collection Name: %q", id.RuleCollectionName), - } - return fmt.Sprintf("Rule Collection (%s)", strings.Join(components, "\n")) -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/adminrules/method_createorupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/adminrules/method_createorupdate.go deleted file mode 100644 index 250f646ce081..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/adminrules/method_createorupdate.go +++ /dev/null @@ -1,63 +0,0 @@ -package adminrules - -import ( - "context" - "encoding/json" - "net/http" - - "github.com/hashicorp/go-azure-sdk/sdk/client" - "github.com/hashicorp/go-azure-sdk/sdk/odata" -) - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -type CreateOrUpdateOperationResponse struct { - HttpResponse *http.Response - OData *odata.OData - Model BaseAdminRule -} - -// CreateOrUpdate ... -func (c AdminRulesClient) CreateOrUpdate(ctx context.Context, id RuleId, input BaseAdminRule) (result CreateOrUpdateOperationResponse, err error) { - opts := client.RequestOptions{ - ContentType: "application/json; charset=utf-8", - ExpectedStatusCodes: []int{ - http.StatusCreated, - http.StatusOK, - }, - HttpMethod: http.MethodPut, - Path: id.ID(), - } - - req, err := c.Client.NewRequest(ctx, opts) - if err != nil { - return - } - - if err = req.Marshal(input); err != nil { - return - } - - var resp *client.Response - resp, err = req.Execute(ctx) - if resp != nil { - result.OData = resp.OData - result.HttpResponse = resp.Response - } - if err != nil { - return - } - - var respObj json.RawMessage - if err = resp.Unmarshal(&respObj); err != nil { - return - } - model, err := UnmarshalBaseAdminRuleImplementation(respObj) - if err != nil { - return - } - result.Model = model - - return -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/adminrules/method_delete.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/adminrules/method_delete.go deleted file mode 100644 index c5deb3a7b1f1..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/adminrules/method_delete.go +++ /dev/null @@ -1,100 +0,0 @@ -package adminrules - -import ( - "context" - "fmt" - "net/http" - - "github.com/hashicorp/go-azure-sdk/sdk/client" - "github.com/hashicorp/go-azure-sdk/sdk/client/pollers" - "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" - "github.com/hashicorp/go-azure-sdk/sdk/odata" -) - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -type DeleteOperationResponse struct { - Poller pollers.Poller - HttpResponse *http.Response - OData *odata.OData -} - -type DeleteOperationOptions struct { - Force *bool -} - -func DefaultDeleteOperationOptions() DeleteOperationOptions { - return DeleteOperationOptions{} -} - -func (o DeleteOperationOptions) ToHeaders() *client.Headers { - out := client.Headers{} - - return &out -} - -func (o DeleteOperationOptions) ToOData() *odata.Query { - out := odata.Query{} - - return &out -} - -func (o DeleteOperationOptions) ToQuery() *client.QueryParams { - out := client.QueryParams{} - if o.Force != nil { - out.Append("force", fmt.Sprintf("%v", *o.Force)) - } - return &out -} - -// Delete ... -func (c AdminRulesClient) Delete(ctx context.Context, id RuleId, options DeleteOperationOptions) (result DeleteOperationResponse, err error) { - opts := client.RequestOptions{ - ContentType: "application/json; charset=utf-8", - ExpectedStatusCodes: []int{ - http.StatusAccepted, - http.StatusNoContent, - http.StatusOK, - }, - HttpMethod: http.MethodDelete, - OptionsObject: options, - Path: id.ID(), - } - - req, err := c.Client.NewRequest(ctx, opts) - if err != nil { - return - } - - var resp *client.Response - resp, err = req.Execute(ctx) - if resp != nil { - result.OData = resp.OData - result.HttpResponse = resp.Response - } - if err != nil { - return - } - - result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client) - if err != nil { - return - } - - return -} - -// DeleteThenPoll performs Delete then polls until it's completed -func (c AdminRulesClient) DeleteThenPoll(ctx context.Context, id RuleId, options DeleteOperationOptions) error { - result, err := c.Delete(ctx, id, options) - if err != nil { - return fmt.Errorf("performing Delete: %+v", err) - } - - if err := result.Poller.PollUntilDone(ctx); err != nil { - return fmt.Errorf("polling after Delete: %+v", err) - } - - return nil -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/adminrules/method_get.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/adminrules/method_get.go deleted file mode 100644 index 52f80e411e8b..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/adminrules/method_get.go +++ /dev/null @@ -1,58 +0,0 @@ -package adminrules - -import ( - "context" - "encoding/json" - "net/http" - - "github.com/hashicorp/go-azure-sdk/sdk/client" - "github.com/hashicorp/go-azure-sdk/sdk/odata" -) - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -type GetOperationResponse struct { - HttpResponse *http.Response - OData *odata.OData - Model BaseAdminRule -} - -// Get ... -func (c AdminRulesClient) Get(ctx context.Context, id RuleId) (result GetOperationResponse, err error) { - opts := client.RequestOptions{ - ContentType: "application/json; charset=utf-8", - ExpectedStatusCodes: []int{ - http.StatusOK, - }, - HttpMethod: http.MethodGet, - Path: id.ID(), - } - - req, err := c.Client.NewRequest(ctx, opts) - if err != nil { - return - } - - var resp *client.Response - resp, err = req.Execute(ctx) - if resp != nil { - result.OData = resp.OData - result.HttpResponse = resp.Response - } - if err != nil { - return - } - - var respObj json.RawMessage - if err = resp.Unmarshal(&respObj); err != nil { - return - } - model, err := UnmarshalBaseAdminRuleImplementation(respObj) - if err != nil { - return - } - result.Model = model - - return -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/adminrules/method_list.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/adminrules/method_list.go deleted file mode 100644 index 85aa73c80e35..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/adminrules/method_list.go +++ /dev/null @@ -1,117 +0,0 @@ -package adminrules - -import ( - "context" - "encoding/json" - "fmt" - "net/http" - - "github.com/hashicorp/go-azure-sdk/sdk/client" - "github.com/hashicorp/go-azure-sdk/sdk/odata" -) - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -type ListOperationResponse struct { - HttpResponse *http.Response - OData *odata.OData - Model *[]BaseAdminRule -} - -type ListCompleteResult struct { - LatestHttpResponse *http.Response - Items []BaseAdminRule -} - -type ListCustomPager struct { - NextLink *odata.Link `json:"nextLink"` -} - -func (p *ListCustomPager) NextPageLink() *odata.Link { - defer func() { - p.NextLink = nil - }() - - return p.NextLink -} - -// List ... -func (c AdminRulesClient) List(ctx context.Context, id RuleCollectionId) (result ListOperationResponse, err error) { - opts := client.RequestOptions{ - ContentType: "application/json; charset=utf-8", - ExpectedStatusCodes: []int{ - http.StatusOK, - }, - HttpMethod: http.MethodGet, - Pager: &ListCustomPager{}, - Path: fmt.Sprintf("%s/rules", id.ID()), - } - - req, err := c.Client.NewRequest(ctx, opts) - if err != nil { - return - } - - var resp *client.Response - resp, err = req.ExecutePaged(ctx) - if resp != nil { - result.OData = resp.OData - result.HttpResponse = resp.Response - } - if err != nil { - return - } - - var values struct { - Values *[]json.RawMessage `json:"value"` - } - if err = resp.Unmarshal(&values); err != nil { - return - } - - temp := make([]BaseAdminRule, 0) - if values.Values != nil { - for i, v := range *values.Values { - val, err := UnmarshalBaseAdminRuleImplementation(v) - if err != nil { - err = fmt.Errorf("unmarshalling item %d for BaseAdminRule (%q): %+v", i, v, err) - return result, err - } - temp = append(temp, val) - } - } - result.Model = &temp - - return -} - -// ListComplete retrieves all the results into a single object -func (c AdminRulesClient) ListComplete(ctx context.Context, id RuleCollectionId) (ListCompleteResult, error) { - return c.ListCompleteMatchingPredicate(ctx, id, BaseAdminRuleOperationPredicate{}) -} - -// ListCompleteMatchingPredicate retrieves all the results and then applies the predicate -func (c AdminRulesClient) ListCompleteMatchingPredicate(ctx context.Context, id RuleCollectionId, predicate BaseAdminRuleOperationPredicate) (result ListCompleteResult, err error) { - items := make([]BaseAdminRule, 0) - - resp, err := c.List(ctx, id) - if err != nil { - result.LatestHttpResponse = resp.HttpResponse - err = fmt.Errorf("loading results: %+v", err) - return - } - if resp.Model != nil { - for _, v := range *resp.Model { - if predicate.Matches(v) { - items = append(items, v) - } - } - } - - result = ListCompleteResult{ - LatestHttpResponse: resp.HttpResponse, - Items: items, - } - return -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/adminrules/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/adminrules/version.go deleted file mode 100644 index 1fc017e754d1..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/adminrules/version.go +++ /dev/null @@ -1,10 +0,0 @@ -package adminrules - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -const defaultApiVersion = "2023-11-01" - -func userAgent() string { - return "hashicorp/go-azure-sdk/adminrules/2023-11-01" -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/README.md deleted file mode 100644 index 6446e85ef614..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/README.md +++ /dev/null @@ -1,82 +0,0 @@ - -## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections` Documentation - -The `applicationgatewayprivateendpointconnections` SDK allows for interaction with Azure Resource Manager `network` (API Version `2023-11-01`). - -This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). - -### Import Path - -```go -import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections" -``` - - -### Client Initialization - -```go -client := applicationgatewayprivateendpointconnections.NewApplicationGatewayPrivateEndpointConnectionsClientWithBaseURI("https://management.azure.com") -client.Client.Authorizer = authorizer -``` - - -### Example Usage: `ApplicationGatewayPrivateEndpointConnectionsClient.Delete` - -```go -ctx := context.TODO() -id := applicationgatewayprivateendpointconnections.NewApplicationGatewayPrivateEndpointConnectionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "applicationGatewayName", "privateEndpointConnectionName") - -if err := client.DeleteThenPoll(ctx, id); err != nil { - // handle the error -} -``` - - -### Example Usage: `ApplicationGatewayPrivateEndpointConnectionsClient.Get` - -```go -ctx := context.TODO() -id := applicationgatewayprivateendpointconnections.NewApplicationGatewayPrivateEndpointConnectionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "applicationGatewayName", "privateEndpointConnectionName") - -read, err := client.Get(ctx, id) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `ApplicationGatewayPrivateEndpointConnectionsClient.List` - -```go -ctx := context.TODO() -id := applicationgatewayprivateendpointconnections.NewApplicationGatewayID("12345678-1234-9876-4563-123456789012", "example-resource-group", "applicationGatewayName") - -// alternatively `client.List(ctx, id)` can be used to do batched pagination -items, err := client.ListComplete(ctx, id) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` - - -### Example Usage: `ApplicationGatewayPrivateEndpointConnectionsClient.Update` - -```go -ctx := context.TODO() -id := applicationgatewayprivateendpointconnections.NewApplicationGatewayPrivateEndpointConnectionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "applicationGatewayName", "privateEndpointConnectionName") - -payload := applicationgatewayprivateendpointconnections.ApplicationGatewayPrivateEndpointConnection{ - // ... -} - - -if err := client.UpdateThenPoll(ctx, id, payload); err != nil { - // handle the error -} -``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_flowlog.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_flowlog.go deleted file mode 100644 index b3f068af815a..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_flowlog.go +++ /dev/null @@ -1,14 +0,0 @@ -package applicationgatewayprivateendpointconnections - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -type FlowLog struct { - Etag *string `json:"etag,omitempty"` - Id *string `json:"id,omitempty"` - Location *string `json:"location,omitempty"` - Name *string `json:"name,omitempty"` - Properties *FlowLogPropertiesFormat `json:"properties,omitempty"` - Tags *map[string]string `json:"tags,omitempty"` - Type *string `json:"type,omitempty"` -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_flowlogpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_flowlogpropertiesformat.go deleted file mode 100644 index 922ced2b2f18..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_flowlogpropertiesformat.go +++ /dev/null @@ -1,15 +0,0 @@ -package applicationgatewayprivateendpointconnections - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -type FlowLogPropertiesFormat struct { - Enabled *bool `json:"enabled,omitempty"` - FlowAnalyticsConfiguration *TrafficAnalyticsProperties `json:"flowAnalyticsConfiguration,omitempty"` - Format *FlowLogFormatParameters `json:"format,omitempty"` - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` - RetentionPolicy *RetentionPolicyParameters `json:"retentionPolicy,omitempty"` - StorageId string `json:"storageId"` - TargetResourceGuid *string `json:"targetResourceGuid,omitempty"` - TargetResourceId string `json:"targetResourceId"` -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_privatelinkserviceproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_privatelinkserviceproperties.go deleted file mode 100644 index dc3f962814c0..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_privatelinkserviceproperties.go +++ /dev/null @@ -1,17 +0,0 @@ -package applicationgatewayprivateendpointconnections - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -type PrivateLinkServiceProperties struct { - Alias *string `json:"alias,omitempty"` - AutoApproval *ResourceSet `json:"autoApproval,omitempty"` - EnableProxyProtocol *bool `json:"enableProxyProtocol,omitempty"` - Fqdns *[]string `json:"fqdns,omitempty"` - IPConfigurations *[]PrivateLinkServiceIPConfiguration `json:"ipConfigurations,omitempty"` - LoadBalancerFrontendIPConfigurations *[]FrontendIPConfiguration `json:"loadBalancerFrontendIpConfigurations,omitempty"` - NetworkInterfaces *[]NetworkInterface `json:"networkInterfaces,omitempty"` - PrivateEndpointConnections *[]PrivateEndpointConnection `json:"privateEndpointConnections,omitempty"` - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` - Visibility *ResourceSet `json:"visibility,omitempty"` -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_serviceendpointpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_serviceendpointpropertiesformat.go deleted file mode 100644 index fa1f92d606ac..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_serviceendpointpropertiesformat.go +++ /dev/null @@ -1,10 +0,0 @@ -package applicationgatewayprivateendpointconnections - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -type ServiceEndpointPropertiesFormat struct { - Locations *[]string `json:"locations,omitempty"` - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` - Service *string `json:"service,omitempty"` -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/version.go deleted file mode 100644 index a24110f3eeed..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/version.go +++ /dev/null @@ -1,10 +0,0 @@ -package applicationgatewayprivateendpointconnections - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -const defaultApiVersion = "2023-11-01" - -func userAgent() string { - return "hashicorp/go-azure-sdk/applicationgatewayprivateendpointconnections/2023-11-01" -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivatelinkresources/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivatelinkresources/README.md deleted file mode 100644 index c6b7d5ed7202..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivatelinkresources/README.md +++ /dev/null @@ -1,37 +0,0 @@ - -## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivatelinkresources` Documentation - -The `applicationgatewayprivatelinkresources` SDK allows for interaction with Azure Resource Manager `network` (API Version `2023-11-01`). - -This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). - -### Import Path - -```go -import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivatelinkresources" -``` - - -### Client Initialization - -```go -client := applicationgatewayprivatelinkresources.NewApplicationGatewayPrivateLinkResourcesClientWithBaseURI("https://management.azure.com") -client.Client.Authorizer = authorizer -``` - - -### Example Usage: `ApplicationGatewayPrivateLinkResourcesClient.List` - -```go -ctx := context.TODO() -id := applicationgatewayprivatelinkresources.NewApplicationGatewayID("12345678-1234-9876-4563-123456789012", "example-resource-group", "applicationGatewayName") - -// alternatively `client.List(ctx, id)` can be used to do batched pagination -items, err := client.ListComplete(ctx, id) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivatelinkresources/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivatelinkresources/version.go deleted file mode 100644 index 869c6b2db404..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivatelinkresources/version.go +++ /dev/null @@ -1,10 +0,0 @@ -package applicationgatewayprivatelinkresources - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -const defaultApiVersion = "2023-11-01" - -func userAgent() string { - return "hashicorp/go-azure-sdk/applicationgatewayprivatelinkresources/2023-11-01" -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewaywafdynamicmanifests/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewaywafdynamicmanifests/README.md deleted file mode 100644 index 6fdb959e2d84..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewaywafdynamicmanifests/README.md +++ /dev/null @@ -1,53 +0,0 @@ - -## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewaywafdynamicmanifests` Documentation - -The `applicationgatewaywafdynamicmanifests` SDK allows for interaction with Azure Resource Manager `network` (API Version `2023-11-01`). - -This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). - -### Import Path - -```go -import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewaywafdynamicmanifests" -``` - - -### Client Initialization - -```go -client := applicationgatewaywafdynamicmanifests.NewApplicationGatewayWafDynamicManifestsClientWithBaseURI("https://management.azure.com") -client.Client.Authorizer = authorizer -``` - - -### Example Usage: `ApplicationGatewayWafDynamicManifestsClient.DefaultGet` - -```go -ctx := context.TODO() -id := applicationgatewaywafdynamicmanifests.NewLocationID("12345678-1234-9876-4563-123456789012", "locationName") - -read, err := client.DefaultGet(ctx, id) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `ApplicationGatewayWafDynamicManifestsClient.Get` - -```go -ctx := context.TODO() -id := applicationgatewaywafdynamicmanifests.NewLocationID("12345678-1234-9876-4563-123456789012", "locationName") - -// alternatively `client.Get(ctx, id)` can be used to do batched pagination -items, err := client.GetComplete(ctx, id) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewaywafdynamicmanifests/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewaywafdynamicmanifests/constants.go deleted file mode 100644 index 0d7db7ea47d6..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewaywafdynamicmanifests/constants.go +++ /dev/null @@ -1,195 +0,0 @@ -package applicationgatewaywafdynamicmanifests - -import ( - "encoding/json" - "fmt" - "strings" -) - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -type ApplicationGatewayRuleSetStatusOptions string - -const ( - ApplicationGatewayRuleSetStatusOptionsDeprecated ApplicationGatewayRuleSetStatusOptions = "Deprecated" - ApplicationGatewayRuleSetStatusOptionsGA ApplicationGatewayRuleSetStatusOptions = "GA" - ApplicationGatewayRuleSetStatusOptionsPreview ApplicationGatewayRuleSetStatusOptions = "Preview" - ApplicationGatewayRuleSetStatusOptionsSupported ApplicationGatewayRuleSetStatusOptions = "Supported" -) - -func PossibleValuesForApplicationGatewayRuleSetStatusOptions() []string { - return []string{ - string(ApplicationGatewayRuleSetStatusOptionsDeprecated), - string(ApplicationGatewayRuleSetStatusOptionsGA), - string(ApplicationGatewayRuleSetStatusOptionsPreview), - string(ApplicationGatewayRuleSetStatusOptionsSupported), - } -} - -func (s *ApplicationGatewayRuleSetStatusOptions) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseApplicationGatewayRuleSetStatusOptions(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseApplicationGatewayRuleSetStatusOptions(input string) (*ApplicationGatewayRuleSetStatusOptions, error) { - vals := map[string]ApplicationGatewayRuleSetStatusOptions{ - "deprecated": ApplicationGatewayRuleSetStatusOptionsDeprecated, - "ga": ApplicationGatewayRuleSetStatusOptionsGA, - "preview": ApplicationGatewayRuleSetStatusOptionsPreview, - "supported": ApplicationGatewayRuleSetStatusOptionsSupported, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := ApplicationGatewayRuleSetStatusOptions(input) - return &out, nil -} - -type ApplicationGatewayTierTypes string - -const ( - ApplicationGatewayTierTypesStandard ApplicationGatewayTierTypes = "Standard" - ApplicationGatewayTierTypesStandardVTwo ApplicationGatewayTierTypes = "Standard_v2" - ApplicationGatewayTierTypesWAF ApplicationGatewayTierTypes = "WAF" - ApplicationGatewayTierTypesWAFVTwo ApplicationGatewayTierTypes = "WAF_v2" -) - -func PossibleValuesForApplicationGatewayTierTypes() []string { - return []string{ - string(ApplicationGatewayTierTypesStandard), - string(ApplicationGatewayTierTypesStandardVTwo), - string(ApplicationGatewayTierTypesWAF), - string(ApplicationGatewayTierTypesWAFVTwo), - } -} - -func (s *ApplicationGatewayTierTypes) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseApplicationGatewayTierTypes(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseApplicationGatewayTierTypes(input string) (*ApplicationGatewayTierTypes, error) { - vals := map[string]ApplicationGatewayTierTypes{ - "standard": ApplicationGatewayTierTypesStandard, - "standard_v2": ApplicationGatewayTierTypesStandardVTwo, - "waf": ApplicationGatewayTierTypesWAF, - "waf_v2": ApplicationGatewayTierTypesWAFVTwo, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := ApplicationGatewayTierTypes(input) - return &out, nil -} - -type ApplicationGatewayWafRuleActionTypes string - -const ( - ApplicationGatewayWafRuleActionTypesAllow ApplicationGatewayWafRuleActionTypes = "Allow" - ApplicationGatewayWafRuleActionTypesAnomalyScoring ApplicationGatewayWafRuleActionTypes = "AnomalyScoring" - ApplicationGatewayWafRuleActionTypesBlock ApplicationGatewayWafRuleActionTypes = "Block" - ApplicationGatewayWafRuleActionTypesLog ApplicationGatewayWafRuleActionTypes = "Log" - ApplicationGatewayWafRuleActionTypesNone ApplicationGatewayWafRuleActionTypes = "None" -) - -func PossibleValuesForApplicationGatewayWafRuleActionTypes() []string { - return []string{ - string(ApplicationGatewayWafRuleActionTypesAllow), - string(ApplicationGatewayWafRuleActionTypesAnomalyScoring), - string(ApplicationGatewayWafRuleActionTypesBlock), - string(ApplicationGatewayWafRuleActionTypesLog), - string(ApplicationGatewayWafRuleActionTypesNone), - } -} - -func (s *ApplicationGatewayWafRuleActionTypes) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseApplicationGatewayWafRuleActionTypes(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseApplicationGatewayWafRuleActionTypes(input string) (*ApplicationGatewayWafRuleActionTypes, error) { - vals := map[string]ApplicationGatewayWafRuleActionTypes{ - "allow": ApplicationGatewayWafRuleActionTypesAllow, - "anomalyscoring": ApplicationGatewayWafRuleActionTypesAnomalyScoring, - "block": ApplicationGatewayWafRuleActionTypesBlock, - "log": ApplicationGatewayWafRuleActionTypesLog, - "none": ApplicationGatewayWafRuleActionTypesNone, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := ApplicationGatewayWafRuleActionTypes(input) - return &out, nil -} - -type ApplicationGatewayWafRuleStateTypes string - -const ( - ApplicationGatewayWafRuleStateTypesDisabled ApplicationGatewayWafRuleStateTypes = "Disabled" - ApplicationGatewayWafRuleStateTypesEnabled ApplicationGatewayWafRuleStateTypes = "Enabled" -) - -func PossibleValuesForApplicationGatewayWafRuleStateTypes() []string { - return []string{ - string(ApplicationGatewayWafRuleStateTypesDisabled), - string(ApplicationGatewayWafRuleStateTypesEnabled), - } -} - -func (s *ApplicationGatewayWafRuleStateTypes) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseApplicationGatewayWafRuleStateTypes(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseApplicationGatewayWafRuleStateTypes(input string) (*ApplicationGatewayWafRuleStateTypes, error) { - vals := map[string]ApplicationGatewayWafRuleStateTypes{ - "disabled": ApplicationGatewayWafRuleStateTypesDisabled, - "enabled": ApplicationGatewayWafRuleStateTypesEnabled, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := ApplicationGatewayWafRuleStateTypes(input) - return &out, nil -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewaywafdynamicmanifests/model_applicationgatewayfirewallrule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewaywafdynamicmanifests/model_applicationgatewayfirewallrule.go deleted file mode 100644 index 723193ddc360..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewaywafdynamicmanifests/model_applicationgatewayfirewallrule.go +++ /dev/null @@ -1,12 +0,0 @@ -package applicationgatewaywafdynamicmanifests - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -type ApplicationGatewayFirewallRule struct { - Action *ApplicationGatewayWafRuleActionTypes `json:"action,omitempty"` - Description *string `json:"description,omitempty"` - RuleId int64 `json:"ruleId"` - RuleIdString *string `json:"ruleIdString,omitempty"` - State *ApplicationGatewayWafRuleStateTypes `json:"state,omitempty"` -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewaywafdynamicmanifests/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewaywafdynamicmanifests/version.go deleted file mode 100644 index 888716ce6f2c..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewaywafdynamicmanifests/version.go +++ /dev/null @@ -1,10 +0,0 @@ -package applicationgatewaywafdynamicmanifests - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -const defaultApiVersion = "2023-11-01" - -func userAgent() string { - return "hashicorp/go-azure-sdk/applicationgatewaywafdynamicmanifests/2023-11-01" -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationsecuritygroups/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationsecuritygroups/README.md deleted file mode 100644 index 194318439e2b..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationsecuritygroups/README.md +++ /dev/null @@ -1,121 +0,0 @@ - -## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationsecuritygroups` Documentation - -The `applicationsecuritygroups` SDK allows for interaction with Azure Resource Manager `network` (API Version `2023-11-01`). - -This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). - -### Import Path - -```go -import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" -import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationsecuritygroups" -``` - - -### Client Initialization - -```go -client := applicationsecuritygroups.NewApplicationSecurityGroupsClientWithBaseURI("https://management.azure.com") -client.Client.Authorizer = authorizer -``` - - -### Example Usage: `ApplicationSecurityGroupsClient.CreateOrUpdate` - -```go -ctx := context.TODO() -id := applicationsecuritygroups.NewApplicationSecurityGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group", "applicationSecurityGroupName") - -payload := applicationsecuritygroups.ApplicationSecurityGroup{ - // ... -} - - -if err := client.CreateOrUpdateThenPoll(ctx, id, payload); err != nil { - // handle the error -} -``` - - -### Example Usage: `ApplicationSecurityGroupsClient.Delete` - -```go -ctx := context.TODO() -id := applicationsecuritygroups.NewApplicationSecurityGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group", "applicationSecurityGroupName") - -if err := client.DeleteThenPoll(ctx, id); err != nil { - // handle the error -} -``` - - -### Example Usage: `ApplicationSecurityGroupsClient.Get` - -```go -ctx := context.TODO() -id := applicationsecuritygroups.NewApplicationSecurityGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group", "applicationSecurityGroupName") - -read, err := client.Get(ctx, id) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `ApplicationSecurityGroupsClient.List` - -```go -ctx := context.TODO() -id := commonids.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group") - -// alternatively `client.List(ctx, id)` can be used to do batched pagination -items, err := client.ListComplete(ctx, id) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` - - -### Example Usage: `ApplicationSecurityGroupsClient.ListAll` - -```go -ctx := context.TODO() -id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012") - -// alternatively `client.ListAll(ctx, id)` can be used to do batched pagination -items, err := client.ListAllComplete(ctx, id) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` - - -### Example Usage: `ApplicationSecurityGroupsClient.UpdateTags` - -```go -ctx := context.TODO() -id := applicationsecuritygroups.NewApplicationSecurityGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group", "applicationSecurityGroupName") - -payload := applicationsecuritygroups.TagsObject{ - // ... -} - - -read, err := client.UpdateTags(ctx, id, payload) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationsecuritygroups/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationsecuritygroups/version.go deleted file mode 100644 index ce3e93ca31c5..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationsecuritygroups/version.go +++ /dev/null @@ -1,10 +0,0 @@ -package applicationsecuritygroups - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -const defaultApiVersion = "2023-11-01" - -func userAgent() string { - return "hashicorp/go-azure-sdk/applicationsecuritygroups/2023-11-01" -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/availabledelegations/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/availabledelegations/README.md deleted file mode 100644 index f5e22d4c56ea..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/availabledelegations/README.md +++ /dev/null @@ -1,54 +0,0 @@ - -## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/availabledelegations` Documentation - -The `availabledelegations` SDK allows for interaction with Azure Resource Manager `network` (API Version `2023-11-01`). - -This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). - -### Import Path - -```go -import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/availabledelegations" -``` - - -### Client Initialization - -```go -client := availabledelegations.NewAvailableDelegationsClientWithBaseURI("https://management.azure.com") -client.Client.Authorizer = authorizer -``` - - -### Example Usage: `AvailableDelegationsClient.AvailableDelegationsList` - -```go -ctx := context.TODO() -id := availabledelegations.NewLocationID("12345678-1234-9876-4563-123456789012", "locationName") - -// alternatively `client.AvailableDelegationsList(ctx, id)` can be used to do batched pagination -items, err := client.AvailableDelegationsListComplete(ctx, id) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` - - -### Example Usage: `AvailableDelegationsClient.AvailableResourceGroupDelegationsList` - -```go -ctx := context.TODO() -id := availabledelegations.NewProviderLocationID("12345678-1234-9876-4563-123456789012", "example-resource-group", "locationName") - -// alternatively `client.AvailableResourceGroupDelegationsList(ctx, id)` can be used to do batched pagination -items, err := client.AvailableResourceGroupDelegationsListComplete(ctx, id) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/availabledelegations/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/availabledelegations/version.go deleted file mode 100644 index d0e5dfca13d1..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/availabledelegations/version.go +++ /dev/null @@ -1,10 +0,0 @@ -package availabledelegations - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -const defaultApiVersion = "2023-11-01" - -func userAgent() string { - return "hashicorp/go-azure-sdk/availabledelegations/2023-11-01" -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/availableservicealiases/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/availableservicealiases/README.md deleted file mode 100644 index 6608e57b9fad..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/availableservicealiases/README.md +++ /dev/null @@ -1,54 +0,0 @@ - -## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/availableservicealiases` Documentation - -The `availableservicealiases` SDK allows for interaction with Azure Resource Manager `network` (API Version `2023-11-01`). - -This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). - -### Import Path - -```go -import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/availableservicealiases" -``` - - -### Client Initialization - -```go -client := availableservicealiases.NewAvailableServiceAliasesClientWithBaseURI("https://management.azure.com") -client.Client.Authorizer = authorizer -``` - - -### Example Usage: `AvailableServiceAliasesClient.List` - -```go -ctx := context.TODO() -id := availableservicealiases.NewLocationID("12345678-1234-9876-4563-123456789012", "locationName") - -// alternatively `client.List(ctx, id)` can be used to do batched pagination -items, err := client.ListComplete(ctx, id) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` - - -### Example Usage: `AvailableServiceAliasesClient.ListByResourceGroup` - -```go -ctx := context.TODO() -id := availableservicealiases.NewProviderLocationID("12345678-1234-9876-4563-123456789012", "example-resource-group", "locationName") - -// alternatively `client.ListByResourceGroup(ctx, id)` can be used to do batched pagination -items, err := client.ListByResourceGroupComplete(ctx, id) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/availableservicealiases/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/availableservicealiases/version.go deleted file mode 100644 index 4ee314520ba2..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/availableservicealiases/version.go +++ /dev/null @@ -1,10 +0,0 @@ -package availableservicealiases - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -const defaultApiVersion = "2023-11-01" - -func userAgent() string { - return "hashicorp/go-azure-sdk/availableservicealiases/2023-11-01" -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/azurefirewalls/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/azurefirewalls/README.md deleted file mode 100644 index 171197e2921d..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/azurefirewalls/README.md +++ /dev/null @@ -1,146 +0,0 @@ - -## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/azurefirewalls` Documentation - -The `azurefirewalls` SDK allows for interaction with Azure Resource Manager `network` (API Version `2023-11-01`). - -This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). - -### Import Path - -```go -import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" -import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/azurefirewalls" -``` - - -### Client Initialization - -```go -client := azurefirewalls.NewAzureFirewallsClientWithBaseURI("https://management.azure.com") -client.Client.Authorizer = authorizer -``` - - -### Example Usage: `AzureFirewallsClient.AzureFirewallsListLearnedPrefixes` - -```go -ctx := context.TODO() -id := azurefirewalls.NewAzureFirewallID("12345678-1234-9876-4563-123456789012", "example-resource-group", "azureFirewallName") - -if err := client.AzureFirewallsListLearnedPrefixesThenPoll(ctx, id); err != nil { - // handle the error -} -``` - - -### Example Usage: `AzureFirewallsClient.CreateOrUpdate` - -```go -ctx := context.TODO() -id := azurefirewalls.NewAzureFirewallID("12345678-1234-9876-4563-123456789012", "example-resource-group", "azureFirewallName") - -payload := azurefirewalls.AzureFirewall{ - // ... -} - - -if err := client.CreateOrUpdateThenPoll(ctx, id, payload); err != nil { - // handle the error -} -``` - - -### Example Usage: `AzureFirewallsClient.Delete` - -```go -ctx := context.TODO() -id := azurefirewalls.NewAzureFirewallID("12345678-1234-9876-4563-123456789012", "example-resource-group", "azureFirewallName") - -if err := client.DeleteThenPoll(ctx, id); err != nil { - // handle the error -} -``` - - -### Example Usage: `AzureFirewallsClient.Get` - -```go -ctx := context.TODO() -id := azurefirewalls.NewAzureFirewallID("12345678-1234-9876-4563-123456789012", "example-resource-group", "azureFirewallName") - -read, err := client.Get(ctx, id) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `AzureFirewallsClient.List` - -```go -ctx := context.TODO() -id := commonids.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group") - -// alternatively `client.List(ctx, id)` can be used to do batched pagination -items, err := client.ListComplete(ctx, id) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` - - -### Example Usage: `AzureFirewallsClient.ListAll` - -```go -ctx := context.TODO() -id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012") - -// alternatively `client.ListAll(ctx, id)` can be used to do batched pagination -items, err := client.ListAllComplete(ctx, id) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` - - -### Example Usage: `AzureFirewallsClient.PacketCapture` - -```go -ctx := context.TODO() -id := azurefirewalls.NewAzureFirewallID("12345678-1234-9876-4563-123456789012", "example-resource-group", "azureFirewallName") - -payload := azurefirewalls.FirewallPacketCaptureParameters{ - // ... -} - - -if err := client.PacketCaptureThenPoll(ctx, id, payload); err != nil { - // handle the error -} -``` - - -### Example Usage: `AzureFirewallsClient.UpdateTags` - -```go -ctx := context.TODO() -id := azurefirewalls.NewAzureFirewallID("12345678-1234-9876-4563-123456789012", "example-resource-group", "azureFirewallName") - -payload := azurefirewalls.TagsObject{ - // ... -} - - -if err := client.UpdateTagsThenPoll(ctx, id, payload); err != nil { - // handle the error -} -``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/azurefirewalls/model_firewallpacketcaptureparameters.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/azurefirewalls/model_firewallpacketcaptureparameters.go deleted file mode 100644 index 258aca5b011b..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/azurefirewalls/model_firewallpacketcaptureparameters.go +++ /dev/null @@ -1,9 +0,0 @@ -package azurefirewalls - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -type FirewallPacketCaptureParameters struct { - Id *string `json:"id,omitempty"` - Properties *FirewallPacketCaptureParametersFormat `json:"properties,omitempty"` -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/azurefirewalls/model_firewallpacketcaptureparametersformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/azurefirewalls/model_firewallpacketcaptureparametersformat.go deleted file mode 100644 index a664e348c2a7..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/azurefirewalls/model_firewallpacketcaptureparametersformat.go +++ /dev/null @@ -1,14 +0,0 @@ -package azurefirewalls - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -type FirewallPacketCaptureParametersFormat struct { - DurationInSeconds *int64 `json:"durationInSeconds,omitempty"` - FileName *string `json:"fileName,omitempty"` - Filters *[]AzureFirewallPacketCaptureRule `json:"filters,omitempty"` - Flags *[]AzureFirewallPacketCaptureFlags `json:"flags,omitempty"` - NumberOfPacketsToCapture *int64 `json:"numberOfPacketsToCapture,omitempty"` - Protocol *AzureFirewallNetworkRuleProtocol `json:"protocol,omitempty"` - SasURL *string `json:"sasUrl,omitempty"` -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/azurefirewalls/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/azurefirewalls/version.go deleted file mode 100644 index 50167a781bf5..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/azurefirewalls/version.go +++ /dev/null @@ -1,10 +0,0 @@ -package azurefirewalls - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -const defaultApiVersion = "2023-11-01" - -func userAgent() string { - return "hashicorp/go-azure-sdk/azurefirewalls/2023-11-01" -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bastionhosts/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bastionhosts/README.md deleted file mode 100644 index 7e49393f26a5..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bastionhosts/README.md +++ /dev/null @@ -1,234 +0,0 @@ - -## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bastionhosts` Documentation - -The `bastionhosts` SDK allows for interaction with Azure Resource Manager `network` (API Version `2023-11-01`). - -This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). - -### Import Path - -```go -import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" -import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bastionhosts" -``` - - -### Client Initialization - -```go -client := bastionhosts.NewBastionHostsClientWithBaseURI("https://management.azure.com") -client.Client.Authorizer = authorizer -``` - - -### Example Usage: `BastionHostsClient.CreateOrUpdate` - -```go -ctx := context.TODO() -id := bastionhosts.NewBastionHostID("12345678-1234-9876-4563-123456789012", "example-resource-group", "bastionHostName") - -payload := bastionhosts.BastionHost{ - // ... -} - - -if err := client.CreateOrUpdateThenPoll(ctx, id, payload); err != nil { - // handle the error -} -``` - - -### Example Usage: `BastionHostsClient.Delete` - -```go -ctx := context.TODO() -id := bastionhosts.NewBastionHostID("12345678-1234-9876-4563-123456789012", "example-resource-group", "bastionHostName") - -if err := client.DeleteThenPoll(ctx, id); err != nil { - // handle the error -} -``` - - -### Example Usage: `BastionHostsClient.DeleteBastionShareableLink` - -```go -ctx := context.TODO() -id := bastionhosts.NewBastionHostID("12345678-1234-9876-4563-123456789012", "example-resource-group", "bastionHostName") - -payload := bastionhosts.BastionShareableLinkListRequest{ - // ... -} - - -if err := client.DeleteBastionShareableLinkThenPoll(ctx, id, payload); err != nil { - // handle the error -} -``` - - -### Example Usage: `BastionHostsClient.DeleteBastionShareableLinkByToken` - -```go -ctx := context.TODO() -id := bastionhosts.NewBastionHostID("12345678-1234-9876-4563-123456789012", "example-resource-group", "bastionHostName") - -payload := bastionhosts.BastionShareableLinkTokenListRequest{ - // ... -} - - -if err := client.DeleteBastionShareableLinkByTokenThenPoll(ctx, id, payload); err != nil { - // handle the error -} -``` - - -### Example Usage: `BastionHostsClient.DisconnectActiveSessions` - -```go -ctx := context.TODO() -id := bastionhosts.NewBastionHostID("12345678-1234-9876-4563-123456789012", "example-resource-group", "bastionHostName") - -payload := bastionhosts.SessionIds{ - // ... -} - - -// alternatively `client.DisconnectActiveSessions(ctx, id, payload)` can be used to do batched pagination -items, err := client.DisconnectActiveSessionsComplete(ctx, id, payload) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` - - -### Example Usage: `BastionHostsClient.Get` - -```go -ctx := context.TODO() -id := bastionhosts.NewBastionHostID("12345678-1234-9876-4563-123456789012", "example-resource-group", "bastionHostName") - -read, err := client.Get(ctx, id) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `BastionHostsClient.GetActiveSessions` - -```go -ctx := context.TODO() -id := bastionhosts.NewBastionHostID("12345678-1234-9876-4563-123456789012", "example-resource-group", "bastionHostName") - -// alternatively `client.GetActiveSessions(ctx, id)` can be used to do batched pagination -items, err := client.GetActiveSessionsComplete(ctx, id) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` - - -### Example Usage: `BastionHostsClient.GetBastionShareableLink` - -```go -ctx := context.TODO() -id := bastionhosts.NewBastionHostID("12345678-1234-9876-4563-123456789012", "example-resource-group", "bastionHostName") - -payload := bastionhosts.BastionShareableLinkListRequest{ - // ... -} - - -// alternatively `client.GetBastionShareableLink(ctx, id, payload)` can be used to do batched pagination -items, err := client.GetBastionShareableLinkComplete(ctx, id, payload) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` - - -### Example Usage: `BastionHostsClient.List` - -```go -ctx := context.TODO() -id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012") - -// alternatively `client.List(ctx, id)` can be used to do batched pagination -items, err := client.ListComplete(ctx, id) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` - - -### Example Usage: `BastionHostsClient.ListByResourceGroup` - -```go -ctx := context.TODO() -id := commonids.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group") - -// alternatively `client.ListByResourceGroup(ctx, id)` can be used to do batched pagination -items, err := client.ListByResourceGroupComplete(ctx, id) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` - - -### Example Usage: `BastionHostsClient.PutBastionShareableLink` - -```go -ctx := context.TODO() -id := bastionhosts.NewBastionHostID("12345678-1234-9876-4563-123456789012", "example-resource-group", "bastionHostName") - -payload := bastionhosts.BastionShareableLinkListRequest{ - // ... -} - - -// alternatively `client.PutBastionShareableLink(ctx, id, payload)` can be used to do batched pagination -items, err := client.PutBastionShareableLinkComplete(ctx, id, payload) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` - - -### Example Usage: `BastionHostsClient.UpdateTags` - -```go -ctx := context.TODO() -id := bastionhosts.NewBastionHostID("12345678-1234-9876-4563-123456789012", "example-resource-group", "bastionHostName") - -payload := bastionhosts.TagsObject{ - // ... -} - - -if err := client.UpdateTagsThenPoll(ctx, id, payload); err != nil { - // handle the error -} -``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bastionhosts/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bastionhosts/constants.go deleted file mode 100644 index 0b0ffa8a83a0..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bastionhosts/constants.go +++ /dev/null @@ -1,183 +0,0 @@ -package bastionhosts - -import ( - "encoding/json" - "fmt" - "strings" -) - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -type BastionConnectProtocol string - -const ( - BastionConnectProtocolRDP BastionConnectProtocol = "RDP" - BastionConnectProtocolSSH BastionConnectProtocol = "SSH" -) - -func PossibleValuesForBastionConnectProtocol() []string { - return []string{ - string(BastionConnectProtocolRDP), - string(BastionConnectProtocolSSH), - } -} - -func (s *BastionConnectProtocol) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseBastionConnectProtocol(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseBastionConnectProtocol(input string) (*BastionConnectProtocol, error) { - vals := map[string]BastionConnectProtocol{ - "rdp": BastionConnectProtocolRDP, - "ssh": BastionConnectProtocolSSH, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := BastionConnectProtocol(input) - return &out, nil -} - -type BastionHostSkuName string - -const ( - BastionHostSkuNameBasic BastionHostSkuName = "Basic" - BastionHostSkuNameDeveloper BastionHostSkuName = "Developer" - BastionHostSkuNameStandard BastionHostSkuName = "Standard" -) - -func PossibleValuesForBastionHostSkuName() []string { - return []string{ - string(BastionHostSkuNameBasic), - string(BastionHostSkuNameDeveloper), - string(BastionHostSkuNameStandard), - } -} - -func (s *BastionHostSkuName) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseBastionHostSkuName(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseBastionHostSkuName(input string) (*BastionHostSkuName, error) { - vals := map[string]BastionHostSkuName{ - "basic": BastionHostSkuNameBasic, - "developer": BastionHostSkuNameDeveloper, - "standard": BastionHostSkuNameStandard, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := BastionHostSkuName(input) - return &out, nil -} - -type IPAllocationMethod string - -const ( - IPAllocationMethodDynamic IPAllocationMethod = "Dynamic" - IPAllocationMethodStatic IPAllocationMethod = "Static" -) - -func PossibleValuesForIPAllocationMethod() []string { - return []string{ - string(IPAllocationMethodDynamic), - string(IPAllocationMethodStatic), - } -} - -func (s *IPAllocationMethod) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseIPAllocationMethod(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseIPAllocationMethod(input string) (*IPAllocationMethod, error) { - vals := map[string]IPAllocationMethod{ - "dynamic": IPAllocationMethodDynamic, - "static": IPAllocationMethodStatic, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := IPAllocationMethod(input) - return &out, nil -} - -type ProvisioningState string - -const ( - ProvisioningStateDeleting ProvisioningState = "Deleting" - ProvisioningStateFailed ProvisioningState = "Failed" - ProvisioningStateSucceeded ProvisioningState = "Succeeded" - ProvisioningStateUpdating ProvisioningState = "Updating" -) - -func PossibleValuesForProvisioningState() []string { - return []string{ - string(ProvisioningStateDeleting), - string(ProvisioningStateFailed), - string(ProvisioningStateSucceeded), - string(ProvisioningStateUpdating), - } -} - -func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseProvisioningState(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseProvisioningState(input string) (*ProvisioningState, error) { - vals := map[string]ProvisioningState{ - "deleting": ProvisioningStateDeleting, - "failed": ProvisioningStateFailed, - "succeeded": ProvisioningStateSucceeded, - "updating": ProvisioningStateUpdating, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := ProvisioningState(input) - return &out, nil -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bastionhosts/model_bastionhostpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bastionhosts/model_bastionhostpropertiesformat.go deleted file mode 100644 index 32bf85022ef1..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bastionhosts/model_bastionhostpropertiesformat.go +++ /dev/null @@ -1,19 +0,0 @@ -package bastionhosts - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -type BastionHostPropertiesFormat struct { - DisableCopyPaste *bool `json:"disableCopyPaste,omitempty"` - DnsName *string `json:"dnsName,omitempty"` - EnableFileCopy *bool `json:"enableFileCopy,omitempty"` - EnableIPConnect *bool `json:"enableIpConnect,omitempty"` - EnableKerberos *bool `json:"enableKerberos,omitempty"` - EnableShareableLink *bool `json:"enableShareableLink,omitempty"` - EnableTunneling *bool `json:"enableTunneling,omitempty"` - IPConfigurations *[]BastionHostIPConfiguration `json:"ipConfigurations,omitempty"` - NetworkAcls *BastionHostPropertiesFormatNetworkAcls `json:"networkAcls,omitempty"` - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` - ScaleUnits *int64 `json:"scaleUnits,omitempty"` - VirtualNetwork *SubResource `json:"virtualNetwork,omitempty"` -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bastionhosts/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bastionhosts/version.go deleted file mode 100644 index 9ba19b0d0041..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bastionhosts/version.go +++ /dev/null @@ -1,10 +0,0 @@ -package bastionhosts - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -const defaultApiVersion = "2023-11-01" - -func userAgent() string { - return "hashicorp/go-azure-sdk/bastionhosts/2023-11-01" -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bastionshareablelink/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bastionshareablelink/README.md deleted file mode 100644 index 362f51616cff..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bastionshareablelink/README.md +++ /dev/null @@ -1,98 +0,0 @@ - -## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bastionshareablelink` Documentation - -The `bastionshareablelink` SDK allows for interaction with Azure Resource Manager `network` (API Version `2023-11-01`). - -This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). - -### Import Path - -```go -import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bastionshareablelink" -``` - - -### Client Initialization - -```go -client := bastionshareablelink.NewBastionShareableLinkClientWithBaseURI("https://management.azure.com") -client.Client.Authorizer = authorizer -``` - - -### Example Usage: `BastionShareableLinkClient.DeleteBastionShareableLink` - -```go -ctx := context.TODO() -id := bastionshareablelink.NewBastionHostID("12345678-1234-9876-4563-123456789012", "example-resource-group", "bastionHostName") - -payload := bastionshareablelink.BastionShareableLinkListRequest{ - // ... -} - - -if err := client.DeleteBastionShareableLinkThenPoll(ctx, id, payload); err != nil { - // handle the error -} -``` - - -### Example Usage: `BastionShareableLinkClient.DeleteBastionShareableLinkByToken` - -```go -ctx := context.TODO() -id := bastionshareablelink.NewBastionHostID("12345678-1234-9876-4563-123456789012", "example-resource-group", "bastionHostName") - -payload := bastionshareablelink.BastionShareableLinkTokenListRequest{ - // ... -} - - -if err := client.DeleteBastionShareableLinkByTokenThenPoll(ctx, id, payload); err != nil { - // handle the error -} -``` - - -### Example Usage: `BastionShareableLinkClient.GetBastionShareableLink` - -```go -ctx := context.TODO() -id := bastionshareablelink.NewBastionHostID("12345678-1234-9876-4563-123456789012", "example-resource-group", "bastionHostName") - -payload := bastionshareablelink.BastionShareableLinkListRequest{ - // ... -} - - -// alternatively `client.GetBastionShareableLink(ctx, id, payload)` can be used to do batched pagination -items, err := client.GetBastionShareableLinkComplete(ctx, id, payload) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` - - -### Example Usage: `BastionShareableLinkClient.PutBastionShareableLink` - -```go -ctx := context.TODO() -id := bastionshareablelink.NewBastionHostID("12345678-1234-9876-4563-123456789012", "example-resource-group", "bastionHostName") - -payload := bastionshareablelink.BastionShareableLinkListRequest{ - // ... -} - - -// alternatively `client.PutBastionShareableLink(ctx, id, payload)` can be used to do batched pagination -items, err := client.PutBastionShareableLinkComplete(ctx, id, payload) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bastionshareablelink/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bastionshareablelink/version.go deleted file mode 100644 index 85195401518e..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bastionshareablelink/version.go +++ /dev/null @@ -1,10 +0,0 @@ -package bastionshareablelink - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -const defaultApiVersion = "2023-11-01" - -func userAgent() string { - return "hashicorp/go-azure-sdk/bastionshareablelink/2023-11-01" -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bgpservicecommunities/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bgpservicecommunities/README.md deleted file mode 100644 index 19cf1d6b7ccb..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bgpservicecommunities/README.md +++ /dev/null @@ -1,38 +0,0 @@ - -## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bgpservicecommunities` Documentation - -The `bgpservicecommunities` SDK allows for interaction with Azure Resource Manager `network` (API Version `2023-11-01`). - -This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). - -### Import Path - -```go -import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" -import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bgpservicecommunities" -``` - - -### Client Initialization - -```go -client := bgpservicecommunities.NewBgpServiceCommunitiesClientWithBaseURI("https://management.azure.com") -client.Client.Authorizer = authorizer -``` - - -### Example Usage: `BgpServiceCommunitiesClient.List` - -```go -ctx := context.TODO() -id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012") - -// alternatively `client.List(ctx, id)` can be used to do batched pagination -items, err := client.ListComplete(ctx, id) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bgpservicecommunities/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bgpservicecommunities/version.go deleted file mode 100644 index 90d5d499d605..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bgpservicecommunities/version.go +++ /dev/null @@ -1,10 +0,0 @@ -package bgpservicecommunities - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -const defaultApiVersion = "2023-11-01" - -func userAgent() string { - return "hashicorp/go-azure-sdk/bgpservicecommunities/2023-11-01" -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/checkdnsavailabilities/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/checkdnsavailabilities/README.md deleted file mode 100644 index 2cdf19f22f6f..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/checkdnsavailabilities/README.md +++ /dev/null @@ -1,36 +0,0 @@ - -## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/checkdnsavailabilities` Documentation - -The `checkdnsavailabilities` SDK allows for interaction with Azure Resource Manager `network` (API Version `2023-11-01`). - -This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). - -### Import Path - -```go -import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/checkdnsavailabilities" -``` - - -### Client Initialization - -```go -client := checkdnsavailabilities.NewCheckDnsAvailabilitiesClientWithBaseURI("https://management.azure.com") -client.Client.Authorizer = authorizer -``` - - -### Example Usage: `CheckDnsAvailabilitiesClient.CheckDnsNameAvailability` - -```go -ctx := context.TODO() -id := checkdnsavailabilities.NewLocationID("12345678-1234-9876-4563-123456789012", "locationName") - -read, err := client.CheckDnsNameAvailability(ctx, id, checkdnsavailabilities.DefaultCheckDnsNameAvailabilityOperationOptions()) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/checkdnsavailabilities/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/checkdnsavailabilities/version.go deleted file mode 100644 index 901e04955d14..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/checkdnsavailabilities/version.go +++ /dev/null @@ -1,10 +0,0 @@ -package checkdnsavailabilities - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -const defaultApiVersion = "2023-11-01" - -func userAgent() string { - return "hashicorp/go-azure-sdk/checkdnsavailabilities/2023-11-01" -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/client.go deleted file mode 100644 index 75219ca65e18..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/client.go +++ /dev/null @@ -1,973 +0,0 @@ -package v2023_11_01 - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -import ( - "fmt" - - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/adminrulecollections" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/adminrules" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivatelinkresources" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgateways" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewaywafdynamicmanifests" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationsecuritygroups" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/availabledelegations" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/availableservicealiases" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/azurefirewalls" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bastionhosts" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bastionshareablelink" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bgpservicecommunities" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/checkdnsavailabilities" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectionmonitors" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectivityconfigurations" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/customipprefixes" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ddoscustompolicies" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ddosprotectionplans" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/endpointservices" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitarptable" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitauthorizations" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitconnections" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitpeerings" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitroutestable" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitroutestablesummary" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuits" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitstats" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteconnections" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnectionarptable" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnectionpeerings" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnectionroutetable" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnectionroutetablesummary" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnections" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutegateways" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutelinks" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteportauthorizations" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteports" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteportslocations" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteproviderports" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteserviceproviders" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/firewallpolicies" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/firewallpolicyrulecollectiongroups" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/flowlogs" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ipallocations" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ipgroups" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/localnetworkgateways" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/natgateways" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkgroups" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanageractiveconfigurations" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanageractiveconnectivityconfigurations" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagerconnections" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagereffectiveconnectivityconfiguration" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagereffectivesecurityadminrules" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagers" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networksecuritygroups" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkvirtualappliances" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/p2svpngateways" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/packetcaptures" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/peerexpressroutecircuitconnections" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privatednszonegroups" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privatelinkservices" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipprefixes" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routefilterrules" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routefilters" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routes" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routetables" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/scopeconnections" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/securityadminconfigurations" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/securitypartnerproviders" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/securityrules" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/serviceendpointpolicies" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/serviceendpointpolicydefinitions" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/servicetags" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/staticmembers" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/subnets" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/trafficanalytics" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/usages" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vipswap" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualappliancesites" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualapplianceskus" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgatewayconnections" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkpeerings" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualrouterpeerings" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualrouters" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualwans" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpngateways" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpnlinkconnections" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpnserverconfigurations" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpnsites" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/webapplicationfirewallpolicies" - "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/webcategories" - "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" - sdkEnv "github.com/hashicorp/go-azure-sdk/sdk/environments" -) - -type Client struct { - AdminRuleCollections *adminrulecollections.AdminRuleCollectionsClient - AdminRules *adminrules.AdminRulesClient - ApplicationGatewayPrivateEndpointConnections *applicationgatewayprivateendpointconnections.ApplicationGatewayPrivateEndpointConnectionsClient - ApplicationGatewayPrivateLinkResources *applicationgatewayprivatelinkresources.ApplicationGatewayPrivateLinkResourcesClient - ApplicationGatewayWafDynamicManifests *applicationgatewaywafdynamicmanifests.ApplicationGatewayWafDynamicManifestsClient - ApplicationGateways *applicationgateways.ApplicationGatewaysClient - ApplicationSecurityGroups *applicationsecuritygroups.ApplicationSecurityGroupsClient - AvailableDelegations *availabledelegations.AvailableDelegationsClient - AvailableServiceAliases *availableservicealiases.AvailableServiceAliasesClient - AzureFirewalls *azurefirewalls.AzureFirewallsClient - BastionHosts *bastionhosts.BastionHostsClient - BastionShareableLink *bastionshareablelink.BastionShareableLinkClient - BgpServiceCommunities *bgpservicecommunities.BgpServiceCommunitiesClient - CheckDnsAvailabilities *checkdnsavailabilities.CheckDnsAvailabilitiesClient - CloudServicePublicIPAddresses *cloudservicepublicipaddresses.CloudServicePublicIPAddressesClient - ConnectionMonitors *connectionmonitors.ConnectionMonitorsClient - ConnectivityConfigurations *connectivityconfigurations.ConnectivityConfigurationsClient - CustomIPPrefixes *customipprefixes.CustomIPPrefixesClient - DdosCustomPolicies *ddoscustompolicies.DdosCustomPoliciesClient - DdosProtectionPlans *ddosprotectionplans.DdosProtectionPlansClient - DscpConfiguration *dscpconfiguration.DscpConfigurationClient - DscpConfigurations *dscpconfigurations.DscpConfigurationsClient - EndpointServices *endpointservices.EndpointServicesClient - ExpressRouteCircuitArpTable *expressroutecircuitarptable.ExpressRouteCircuitArpTableClient - ExpressRouteCircuitAuthorizations *expressroutecircuitauthorizations.ExpressRouteCircuitAuthorizationsClient - ExpressRouteCircuitConnections *expressroutecircuitconnections.ExpressRouteCircuitConnectionsClient - ExpressRouteCircuitPeerings *expressroutecircuitpeerings.ExpressRouteCircuitPeeringsClient - ExpressRouteCircuitRoutesTable *expressroutecircuitroutestable.ExpressRouteCircuitRoutesTableClient - ExpressRouteCircuitRoutesTableSummary *expressroutecircuitroutestablesummary.ExpressRouteCircuitRoutesTableSummaryClient - ExpressRouteCircuitStats *expressroutecircuitstats.ExpressRouteCircuitStatsClient - ExpressRouteCircuits *expressroutecircuits.ExpressRouteCircuitsClient - ExpressRouteConnections *expressrouteconnections.ExpressRouteConnectionsClient - ExpressRouteCrossConnectionArpTable *expressroutecrossconnectionarptable.ExpressRouteCrossConnectionArpTableClient - ExpressRouteCrossConnectionPeerings *expressroutecrossconnectionpeerings.ExpressRouteCrossConnectionPeeringsClient - ExpressRouteCrossConnectionRouteTable *expressroutecrossconnectionroutetable.ExpressRouteCrossConnectionRouteTableClient - ExpressRouteCrossConnectionRouteTableSummary *expressroutecrossconnectionroutetablesummary.ExpressRouteCrossConnectionRouteTableSummaryClient - ExpressRouteCrossConnections *expressroutecrossconnections.ExpressRouteCrossConnectionsClient - ExpressRouteGateways *expressroutegateways.ExpressRouteGatewaysClient - ExpressRouteLinks *expressroutelinks.ExpressRouteLinksClient - ExpressRoutePortAuthorizations *expressrouteportauthorizations.ExpressRoutePortAuthorizationsClient - ExpressRoutePorts *expressrouteports.ExpressRoutePortsClient - ExpressRoutePortsLocations *expressrouteportslocations.ExpressRoutePortsLocationsClient - ExpressRouteProviderPorts *expressrouteproviderports.ExpressRouteProviderPortsClient - ExpressRouteServiceProviders *expressrouteserviceproviders.ExpressRouteServiceProvidersClient - FirewallPolicies *firewallpolicies.FirewallPoliciesClient - FirewallPolicyRuleCollectionGroups *firewallpolicyrulecollectiongroups.FirewallPolicyRuleCollectionGroupsClient - FlowLogs *flowlogs.FlowLogsClient - IPAllocations *ipallocations.IPAllocationsClient - IPGroups *ipgroups.IPGroupsClient - LoadBalancers *loadbalancers.LoadBalancersClient - LocalNetworkGateways *localnetworkgateways.LocalNetworkGatewaysClient - NatGateways *natgateways.NatGatewaysClient - NetworkGroups *networkgroups.NetworkGroupsClient - NetworkInterfaces *networkinterfaces.NetworkInterfacesClient - NetworkManagerActiveConfigurations *networkmanageractiveconfigurations.NetworkManagerActiveConfigurationsClient - NetworkManagerActiveConnectivityConfigurations *networkmanageractiveconnectivityconfigurations.NetworkManagerActiveConnectivityConfigurationsClient - NetworkManagerConnections *networkmanagerconnections.NetworkManagerConnectionsClient - NetworkManagerEffectiveConnectivityConfiguration *networkmanagereffectiveconnectivityconfiguration.NetworkManagerEffectiveConnectivityConfigurationClient - NetworkManagerEffectiveSecurityAdminRules *networkmanagereffectivesecurityadminrules.NetworkManagerEffectiveSecurityAdminRulesClient - NetworkManagers *networkmanagers.NetworkManagersClient - NetworkProfiles *networkprofiles.NetworkProfilesClient - NetworkSecurityGroups *networksecuritygroups.NetworkSecurityGroupsClient - NetworkVirtualAppliances *networkvirtualappliances.NetworkVirtualAppliancesClient - NetworkWatchers *networkwatchers.NetworkWatchersClient - P2sVpnGateways *p2svpngateways.P2sVpnGatewaysClient - PacketCaptures *packetcaptures.PacketCapturesClient - PeerExpressRouteCircuitConnections *peerexpressroutecircuitconnections.PeerExpressRouteCircuitConnectionsClient - PrivateDnsZoneGroups *privatednszonegroups.PrivateDnsZoneGroupsClient - PrivateEndpoints *privateendpoints.PrivateEndpointsClient - PrivateLinkServices *privatelinkservices.PrivateLinkServicesClient - PublicIPAddresses *publicipaddresses.PublicIPAddressesClient - PublicIPPrefixes *publicipprefixes.PublicIPPrefixesClient - RouteFilterRules *routefilterrules.RouteFilterRulesClient - RouteFilters *routefilters.RouteFiltersClient - RouteTables *routetables.RouteTablesClient - Routes *routes.RoutesClient - ScopeConnections *scopeconnections.ScopeConnectionsClient - SecurityAdminConfigurations *securityadminconfigurations.SecurityAdminConfigurationsClient - SecurityPartnerProviders *securitypartnerproviders.SecurityPartnerProvidersClient - SecurityRules *securityrules.SecurityRulesClient - ServiceEndpointPolicies *serviceendpointpolicies.ServiceEndpointPoliciesClient - ServiceEndpointPolicyDefinitions *serviceendpointpolicydefinitions.ServiceEndpointPolicyDefinitionsClient - ServiceTags *servicetags.ServiceTagsClient - StaticMembers *staticmembers.StaticMembersClient - Subnets *subnets.SubnetsClient - TrafficAnalytics *trafficanalytics.TrafficAnalyticsClient - Usages *usages.UsagesClient - VMSSPublicIPAddresses *vmsspublicipaddresses.VMSSPublicIPAddressesClient - VipSwap *vipswap.VipSwapClient - VirtualApplianceSites *virtualappliancesites.VirtualApplianceSitesClient - VirtualApplianceSkus *virtualapplianceskus.VirtualApplianceSkusClient - VirtualNetworkGatewayConnections *virtualnetworkgatewayconnections.VirtualNetworkGatewayConnectionsClient - VirtualNetworkGateways *virtualnetworkgateways.VirtualNetworkGatewaysClient - VirtualNetworkPeerings *virtualnetworkpeerings.VirtualNetworkPeeringsClient - VirtualNetworkTap *virtualnetworktap.VirtualNetworkTapClient - VirtualNetworkTaps *virtualnetworktaps.VirtualNetworkTapsClient - VirtualNetworks *virtualnetworks.VirtualNetworksClient - VirtualRouterPeerings *virtualrouterpeerings.VirtualRouterPeeringsClient - VirtualRouters *virtualrouters.VirtualRoutersClient - VirtualWANs *virtualwans.VirtualWANsClient - VpnGateways *vpngateways.VpnGatewaysClient - VpnLinkConnections *vpnlinkconnections.VpnLinkConnectionsClient - VpnServerConfigurations *vpnserverconfigurations.VpnServerConfigurationsClient - VpnSites *vpnsites.VpnSitesClient - WebApplicationFirewallPolicies *webapplicationfirewallpolicies.WebApplicationFirewallPoliciesClient - WebCategories *webcategories.WebCategoriesClient -} - -func NewClientWithBaseURI(sdkApi sdkEnv.Api, configureFunc func(c *resourcemanager.Client)) (*Client, error) { - adminRuleCollectionsClient, err := adminrulecollections.NewAdminRuleCollectionsClientWithBaseURI(sdkApi) - if err != nil { - return nil, fmt.Errorf("building AdminRuleCollections client: %+v", err) - } - configureFunc(adminRuleCollectionsClient.Client) - - adminRulesClient, err := adminrules.NewAdminRulesClientWithBaseURI(sdkApi) - if err != nil { - return nil, fmt.Errorf("building AdminRules client: %+v", err) - } - configureFunc(adminRulesClient.Client) - - applicationGatewayPrivateEndpointConnectionsClient, err := applicationgatewayprivateendpointconnections.NewApplicationGatewayPrivateEndpointConnectionsClientWithBaseURI(sdkApi) - if err != nil { - return nil, fmt.Errorf("building ApplicationGatewayPrivateEndpointConnections client: %+v", err) - } - configureFunc(applicationGatewayPrivateEndpointConnectionsClient.Client) - - applicationGatewayPrivateLinkResourcesClient, err := applicationgatewayprivatelinkresources.NewApplicationGatewayPrivateLinkResourcesClientWithBaseURI(sdkApi) - if err != nil { - return nil, fmt.Errorf("building ApplicationGatewayPrivateLinkResources client: %+v", err) - } - configureFunc(applicationGatewayPrivateLinkResourcesClient.Client) - - applicationGatewayWafDynamicManifestsClient, err := applicationgatewaywafdynamicmanifests.NewApplicationGatewayWafDynamicManifestsClientWithBaseURI(sdkApi) - if err != nil { - return nil, fmt.Errorf("building ApplicationGatewayWafDynamicManifests client: %+v", err) - } - configureFunc(applicationGatewayWafDynamicManifestsClient.Client) - - applicationGatewaysClient, err := applicationgateways.NewApplicationGatewaysClientWithBaseURI(sdkApi) - if err != nil { - return nil, fmt.Errorf("building ApplicationGateways client: %+v", err) - } - configureFunc(applicationGatewaysClient.Client) - - applicationSecurityGroupsClient, err := applicationsecuritygroups.NewApplicationSecurityGroupsClientWithBaseURI(sdkApi) - if err != nil { - return nil, fmt.Errorf("building ApplicationSecurityGroups client: %+v", err) - } - configureFunc(applicationSecurityGroupsClient.Client) - - availableDelegationsClient, err := availabledelegations.NewAvailableDelegationsClientWithBaseURI(sdkApi) - if err != nil { - return nil, fmt.Errorf("building AvailableDelegations client: %+v", err) - } - configureFunc(availableDelegationsClient.Client) - - availableServiceAliasesClient, err := availableservicealiases.NewAvailableServiceAliasesClientWithBaseURI(sdkApi) - if err != nil { - return nil, fmt.Errorf("building AvailableServiceAliases client: %+v", err) - } - configureFunc(availableServiceAliasesClient.Client) - - azureFirewallsClient, err := azurefirewalls.NewAzureFirewallsClientWithBaseURI(sdkApi) - if err != nil { - return nil, fmt.Errorf("building AzureFirewalls client: %+v", err) - } - configureFunc(azureFirewallsClient.Client) - - bastionHostsClient, err := bastionhosts.NewBastionHostsClientWithBaseURI(sdkApi) - if err != nil { - return nil, fmt.Errorf("building BastionHosts client: %+v", err) - } - configureFunc(bastionHostsClient.Client) - - bastionShareableLinkClient, err := bastionshareablelink.NewBastionShareableLinkClientWithBaseURI(sdkApi) - if err != nil { - return nil, fmt.Errorf("building BastionShareableLink client: %+v", err) - } - configureFunc(bastionShareableLinkClient.Client) - - bgpServiceCommunitiesClient, err := bgpservicecommunities.NewBgpServiceCommunitiesClientWithBaseURI(sdkApi) - if err != nil { - return nil, fmt.Errorf("building BgpServiceCommunities client: %+v", err) - } - configureFunc(bgpServiceCommunitiesClient.Client) - - checkDnsAvailabilitiesClient, err := checkdnsavailabilities.NewCheckDnsAvailabilitiesClientWithBaseURI(sdkApi) - if err != nil { - return nil, fmt.Errorf("building CheckDnsAvailabilities client: %+v", err) - } - configureFunc(checkDnsAvailabilitiesClient.Client) - - cloudServicePublicIPAddressesClient, err := cloudservicepublicipaddresses.NewCloudServicePublicIPAddressesClientWithBaseURI(sdkApi) - if err != nil { - return nil, fmt.Errorf("building CloudServicePublicIPAddresses client: %+v", err) - } - configureFunc(cloudServicePublicIPAddressesClient.Client) - - connectionMonitorsClient, err := connectionmonitors.NewConnectionMonitorsClientWithBaseURI(sdkApi) - if err != nil { - return nil, fmt.Errorf("building ConnectionMonitors client: %+v", err) - } - configureFunc(connectionMonitorsClient.Client) - - connectivityConfigurationsClient, err := connectivityconfigurations.NewConnectivityConfigurationsClientWithBaseURI(sdkApi) - if err != nil { - return nil, fmt.Errorf("building ConnectivityConfigurations client: %+v", err) - } - configureFunc(connectivityConfigurationsClient.Client) - - customIPPrefixesClient, err := customipprefixes.NewCustomIPPrefixesClientWithBaseURI(sdkApi) - if err != nil { - return nil, fmt.Errorf("building CustomIPPrefixes client: %+v", err) - } - configureFunc(customIPPrefixesClient.Client) - - ddosCustomPoliciesClient, err := ddoscustompolicies.NewDdosCustomPoliciesClientWithBaseURI(sdkApi) - if err != nil { - return nil, fmt.Errorf("building DdosCustomPolicies client: %+v", err) - } - configureFunc(ddosCustomPoliciesClient.Client) - - ddosProtectionPlansClient, err := ddosprotectionplans.NewDdosProtectionPlansClientWithBaseURI(sdkApi) - if err != nil { - return nil, fmt.Errorf("building DdosProtectionPlans client: %+v", err) - } - configureFunc(ddosProtectionPlansClient.Client) - - dscpConfigurationClient, err := dscpconfiguration.NewDscpConfigurationClientWithBaseURI(sdkApi) - if err != nil { - return nil, fmt.Errorf("building DscpConfiguration client: %+v", err) - } - configureFunc(dscpConfigurationClient.Client) - - dscpConfigurationsClient, err := dscpconfigurations.NewDscpConfigurationsClientWithBaseURI(sdkApi) - if err != nil { - return nil, fmt.Errorf("building DscpConfigurations client: %+v", err) - } - configureFunc(dscpConfigurationsClient.Client) - - endpointServicesClient, err := endpointservices.NewEndpointServicesClientWithBaseURI(sdkApi) - if err != nil { - return nil, fmt.Errorf("building EndpointServices client: %+v", err) - } - configureFunc(endpointServicesClient.Client) - - expressRouteCircuitArpTableClient, err := expressroutecircuitarptable.NewExpressRouteCircuitArpTableClientWithBaseURI(sdkApi) - if err != nil { - return nil, fmt.Errorf("building ExpressRouteCircuitArpTable client: %+v", err) - } - configureFunc(expressRouteCircuitArpTableClient.Client) - - expressRouteCircuitAuthorizationsClient, err := expressroutecircuitauthorizations.NewExpressRouteCircuitAuthorizationsClientWithBaseURI(sdkApi) - if err != nil { - return nil, fmt.Errorf("building ExpressRouteCircuitAuthorizations client: %+v", err) - } - configureFunc(expressRouteCircuitAuthorizationsClient.Client) - - expressRouteCircuitConnectionsClient, err := expressroutecircuitconnections.NewExpressRouteCircuitConnectionsClientWithBaseURI(sdkApi) - if err != nil { - return nil, fmt.Errorf("building ExpressRouteCircuitConnections client: %+v", err) - } - configureFunc(expressRouteCircuitConnectionsClient.Client) - - expressRouteCircuitPeeringsClient, err := expressroutecircuitpeerings.NewExpressRouteCircuitPeeringsClientWithBaseURI(sdkApi) - if err != nil { - return nil, fmt.Errorf("building ExpressRouteCircuitPeerings client: %+v", err) - } - configureFunc(expressRouteCircuitPeeringsClient.Client) - - expressRouteCircuitRoutesTableClient, err := expressroutecircuitroutestable.NewExpressRouteCircuitRoutesTableClientWithBaseURI(sdkApi) - if err != nil { - return nil, fmt.Errorf("building ExpressRouteCircuitRoutesTable client: %+v", err) - } - configureFunc(expressRouteCircuitRoutesTableClient.Client) - - expressRouteCircuitRoutesTableSummaryClient, err := expressroutecircuitroutestablesummary.NewExpressRouteCircuitRoutesTableSummaryClientWithBaseURI(sdkApi) - if err != nil { - return nil, fmt.Errorf("building ExpressRouteCircuitRoutesTableSummary client: %+v", err) - } - configureFunc(expressRouteCircuitRoutesTableSummaryClient.Client) - - expressRouteCircuitStatsClient, err := expressroutecircuitstats.NewExpressRouteCircuitStatsClientWithBaseURI(sdkApi) - if err != nil { - return nil, fmt.Errorf("building ExpressRouteCircuitStats client: %+v", err) - } - configureFunc(expressRouteCircuitStatsClient.Client) - - expressRouteCircuitsClient, err := expressroutecircuits.NewExpressRouteCircuitsClientWithBaseURI(sdkApi) - if err != nil { - return nil, fmt.Errorf("building ExpressRouteCircuits client: %+v", err) - } - configureFunc(expressRouteCircuitsClient.Client) - - expressRouteConnectionsClient, err := expressrouteconnections.NewExpressRouteConnectionsClientWithBaseURI(sdkApi) - if err != nil { - return nil, fmt.Errorf("building ExpressRouteConnections client: %+v", err) - } - configureFunc(expressRouteConnectionsClient.Client) - - expressRouteCrossConnectionArpTableClient, err := expressroutecrossconnectionarptable.NewExpressRouteCrossConnectionArpTableClientWithBaseURI(sdkApi) - if err != nil { - return nil, fmt.Errorf("building ExpressRouteCrossConnectionArpTable client: %+v", err) - } - configureFunc(expressRouteCrossConnectionArpTableClient.Client) - - expressRouteCrossConnectionPeeringsClient, err := expressroutecrossconnectionpeerings.NewExpressRouteCrossConnectionPeeringsClientWithBaseURI(sdkApi) - if err != nil { - return nil, fmt.Errorf("building ExpressRouteCrossConnectionPeerings client: %+v", err) - } - configureFunc(expressRouteCrossConnectionPeeringsClient.Client) - - expressRouteCrossConnectionRouteTableClient, err := expressroutecrossconnectionroutetable.NewExpressRouteCrossConnectionRouteTableClientWithBaseURI(sdkApi) - if err != nil { - return nil, fmt.Errorf("building ExpressRouteCrossConnectionRouteTable client: %+v", err) - } - configureFunc(expressRouteCrossConnectionRouteTableClient.Client) - - expressRouteCrossConnectionRouteTableSummaryClient, err := expressroutecrossconnectionroutetablesummary.NewExpressRouteCrossConnectionRouteTableSummaryClientWithBaseURI(sdkApi) - if err != nil { - return nil, fmt.Errorf("building ExpressRouteCrossConnectionRouteTableSummary client: %+v", err) - } - configureFunc(expressRouteCrossConnectionRouteTableSummaryClient.Client) - - expressRouteCrossConnectionsClient, err := expressroutecrossconnections.NewExpressRouteCrossConnectionsClientWithBaseURI(sdkApi) - if err != nil { - return nil, fmt.Errorf("building ExpressRouteCrossConnections client: %+v", err) - } - configureFunc(expressRouteCrossConnectionsClient.Client) - - expressRouteGatewaysClient, err := expressroutegateways.NewExpressRouteGatewaysClientWithBaseURI(sdkApi) - if err != nil { - return nil, fmt.Errorf("building ExpressRouteGateways client: %+v", err) - } - configureFunc(expressRouteGatewaysClient.Client) - - expressRouteLinksClient, err := expressroutelinks.NewExpressRouteLinksClientWithBaseURI(sdkApi) - if err != nil { - return nil, fmt.Errorf("building ExpressRouteLinks client: %+v", err) - } - configureFunc(expressRouteLinksClient.Client) - - expressRoutePortAuthorizationsClient, err := expressrouteportauthorizations.NewExpressRoutePortAuthorizationsClientWithBaseURI(sdkApi) - if err != nil { - return nil, fmt.Errorf("building ExpressRoutePortAuthorizations client: %+v", err) - } - configureFunc(expressRoutePortAuthorizationsClient.Client) - - expressRoutePortsClient, err := expressrouteports.NewExpressRoutePortsClientWithBaseURI(sdkApi) - if err != nil { - return nil, fmt.Errorf("building ExpressRoutePorts client: %+v", err) - } - configureFunc(expressRoutePortsClient.Client) - - expressRoutePortsLocationsClient, err := expressrouteportslocations.NewExpressRoutePortsLocationsClientWithBaseURI(sdkApi) - if err != nil { - return nil, fmt.Errorf("building ExpressRoutePortsLocations client: %+v", err) - } - configureFunc(expressRoutePortsLocationsClient.Client) - - expressRouteProviderPortsClient, err := expressrouteproviderports.NewExpressRouteProviderPortsClientWithBaseURI(sdkApi) - if err != nil { - return nil, fmt.Errorf("building ExpressRouteProviderPorts client: %+v", err) - } - configureFunc(expressRouteProviderPortsClient.Client) - - expressRouteServiceProvidersClient, err := expressrouteserviceproviders.NewExpressRouteServiceProvidersClientWithBaseURI(sdkApi) - if err != nil { - return nil, fmt.Errorf("building ExpressRouteServiceProviders client: %+v", err) - } - configureFunc(expressRouteServiceProvidersClient.Client) - - firewallPoliciesClient, err := firewallpolicies.NewFirewallPoliciesClientWithBaseURI(sdkApi) - if err != nil { - return nil, fmt.Errorf("building FirewallPolicies client: %+v", err) - } - configureFunc(firewallPoliciesClient.Client) - - firewallPolicyRuleCollectionGroupsClient, err := firewallpolicyrulecollectiongroups.NewFirewallPolicyRuleCollectionGroupsClientWithBaseURI(sdkApi) - if err != nil { - return nil, fmt.Errorf("building FirewallPolicyRuleCollectionGroups client: %+v", err) - } - configureFunc(firewallPolicyRuleCollectionGroupsClient.Client) - - flowLogsClient, err := flowlogs.NewFlowLogsClientWithBaseURI(sdkApi) - if err != nil { - return nil, fmt.Errorf("building FlowLogs client: %+v", err) - } - configureFunc(flowLogsClient.Client) - - iPAllocationsClient, err := ipallocations.NewIPAllocationsClientWithBaseURI(sdkApi) - if err != nil { - return nil, fmt.Errorf("building IPAllocations client: %+v", err) - } - configureFunc(iPAllocationsClient.Client) - - iPGroupsClient, err := ipgroups.NewIPGroupsClientWithBaseURI(sdkApi) - if err != nil { - return nil, fmt.Errorf("building IPGroups client: %+v", err) - } - configureFunc(iPGroupsClient.Client) - - loadBalancersClient, err := loadbalancers.NewLoadBalancersClientWithBaseURI(sdkApi) - if err != nil { - return nil, fmt.Errorf("building LoadBalancers client: %+v", err) - } - configureFunc(loadBalancersClient.Client) - - localNetworkGatewaysClient, err := localnetworkgateways.NewLocalNetworkGatewaysClientWithBaseURI(sdkApi) - if err != nil { - return nil, fmt.Errorf("building LocalNetworkGateways client: %+v", err) - } - configureFunc(localNetworkGatewaysClient.Client) - - natGatewaysClient, err := natgateways.NewNatGatewaysClientWithBaseURI(sdkApi) - if err != nil { - return nil, fmt.Errorf("building NatGateways client: %+v", err) - } - configureFunc(natGatewaysClient.Client) - - networkGroupsClient, err := networkgroups.NewNetworkGroupsClientWithBaseURI(sdkApi) - if err != nil { - return nil, fmt.Errorf("building NetworkGroups client: %+v", err) - } - configureFunc(networkGroupsClient.Client) - - networkInterfacesClient, err := networkinterfaces.NewNetworkInterfacesClientWithBaseURI(sdkApi) - if err != nil { - return nil, fmt.Errorf("building NetworkInterfaces client: %+v", err) - } - configureFunc(networkInterfacesClient.Client) - - networkManagerActiveConfigurationsClient, err := networkmanageractiveconfigurations.NewNetworkManagerActiveConfigurationsClientWithBaseURI(sdkApi) - if err != nil { - return nil, fmt.Errorf("building NetworkManagerActiveConfigurations client: %+v", err) - } - configureFunc(networkManagerActiveConfigurationsClient.Client) - - networkManagerActiveConnectivityConfigurationsClient, err := networkmanageractiveconnectivityconfigurations.NewNetworkManagerActiveConnectivityConfigurationsClientWithBaseURI(sdkApi) - if err != nil { - return nil, fmt.Errorf("building NetworkManagerActiveConnectivityConfigurations client: %+v", err) - } - configureFunc(networkManagerActiveConnectivityConfigurationsClient.Client) - - networkManagerConnectionsClient, err := networkmanagerconnections.NewNetworkManagerConnectionsClientWithBaseURI(sdkApi) - if err != nil { - return nil, fmt.Errorf("building NetworkManagerConnections client: %+v", err) - } - configureFunc(networkManagerConnectionsClient.Client) - - networkManagerEffectiveConnectivityConfigurationClient, err := networkmanagereffectiveconnectivityconfiguration.NewNetworkManagerEffectiveConnectivityConfigurationClientWithBaseURI(sdkApi) - if err != nil { - return nil, fmt.Errorf("building NetworkManagerEffectiveConnectivityConfiguration client: %+v", err) - } - configureFunc(networkManagerEffectiveConnectivityConfigurationClient.Client) - - networkManagerEffectiveSecurityAdminRulesClient, err := networkmanagereffectivesecurityadminrules.NewNetworkManagerEffectiveSecurityAdminRulesClientWithBaseURI(sdkApi) - if err != nil { - return nil, fmt.Errorf("building NetworkManagerEffectiveSecurityAdminRules client: %+v", err) - } - configureFunc(networkManagerEffectiveSecurityAdminRulesClient.Client) - - networkManagersClient, err := networkmanagers.NewNetworkManagersClientWithBaseURI(sdkApi) - if err != nil { - return nil, fmt.Errorf("building NetworkManagers client: %+v", err) - } - configureFunc(networkManagersClient.Client) - - networkProfilesClient, err := networkprofiles.NewNetworkProfilesClientWithBaseURI(sdkApi) - if err != nil { - return nil, fmt.Errorf("building NetworkProfiles client: %+v", err) - } - configureFunc(networkProfilesClient.Client) - - networkSecurityGroupsClient, err := networksecuritygroups.NewNetworkSecurityGroupsClientWithBaseURI(sdkApi) - if err != nil { - return nil, fmt.Errorf("building NetworkSecurityGroups client: %+v", err) - } - configureFunc(networkSecurityGroupsClient.Client) - - networkVirtualAppliancesClient, err := networkvirtualappliances.NewNetworkVirtualAppliancesClientWithBaseURI(sdkApi) - if err != nil { - return nil, fmt.Errorf("building NetworkVirtualAppliances client: %+v", err) - } - configureFunc(networkVirtualAppliancesClient.Client) - - networkWatchersClient, err := networkwatchers.NewNetworkWatchersClientWithBaseURI(sdkApi) - if err != nil { - return nil, fmt.Errorf("building NetworkWatchers client: %+v", err) - } - configureFunc(networkWatchersClient.Client) - - p2sVpnGatewaysClient, err := p2svpngateways.NewP2sVpnGatewaysClientWithBaseURI(sdkApi) - if err != nil { - return nil, fmt.Errorf("building P2sVpnGateways client: %+v", err) - } - configureFunc(p2sVpnGatewaysClient.Client) - - packetCapturesClient, err := packetcaptures.NewPacketCapturesClientWithBaseURI(sdkApi) - if err != nil { - return nil, fmt.Errorf("building PacketCaptures client: %+v", err) - } - configureFunc(packetCapturesClient.Client) - - peerExpressRouteCircuitConnectionsClient, err := peerexpressroutecircuitconnections.NewPeerExpressRouteCircuitConnectionsClientWithBaseURI(sdkApi) - if err != nil { - return nil, fmt.Errorf("building PeerExpressRouteCircuitConnections client: %+v", err) - } - configureFunc(peerExpressRouteCircuitConnectionsClient.Client) - - privateDnsZoneGroupsClient, err := privatednszonegroups.NewPrivateDnsZoneGroupsClientWithBaseURI(sdkApi) - if err != nil { - return nil, fmt.Errorf("building PrivateDnsZoneGroups client: %+v", err) - } - configureFunc(privateDnsZoneGroupsClient.Client) - - privateEndpointsClient, err := privateendpoints.NewPrivateEndpointsClientWithBaseURI(sdkApi) - if err != nil { - return nil, fmt.Errorf("building PrivateEndpoints client: %+v", err) - } - configureFunc(privateEndpointsClient.Client) - - privateLinkServicesClient, err := privatelinkservices.NewPrivateLinkServicesClientWithBaseURI(sdkApi) - if err != nil { - return nil, fmt.Errorf("building PrivateLinkServices client: %+v", err) - } - configureFunc(privateLinkServicesClient.Client) - - publicIPAddressesClient, err := publicipaddresses.NewPublicIPAddressesClientWithBaseURI(sdkApi) - if err != nil { - return nil, fmt.Errorf("building PublicIPAddresses client: %+v", err) - } - configureFunc(publicIPAddressesClient.Client) - - publicIPPrefixesClient, err := publicipprefixes.NewPublicIPPrefixesClientWithBaseURI(sdkApi) - if err != nil { - return nil, fmt.Errorf("building PublicIPPrefixes client: %+v", err) - } - configureFunc(publicIPPrefixesClient.Client) - - routeFilterRulesClient, err := routefilterrules.NewRouteFilterRulesClientWithBaseURI(sdkApi) - if err != nil { - return nil, fmt.Errorf("building RouteFilterRules client: %+v", err) - } - configureFunc(routeFilterRulesClient.Client) - - routeFiltersClient, err := routefilters.NewRouteFiltersClientWithBaseURI(sdkApi) - if err != nil { - return nil, fmt.Errorf("building RouteFilters client: %+v", err) - } - configureFunc(routeFiltersClient.Client) - - routeTablesClient, err := routetables.NewRouteTablesClientWithBaseURI(sdkApi) - if err != nil { - return nil, fmt.Errorf("building RouteTables client: %+v", err) - } - configureFunc(routeTablesClient.Client) - - routesClient, err := routes.NewRoutesClientWithBaseURI(sdkApi) - if err != nil { - return nil, fmt.Errorf("building Routes client: %+v", err) - } - configureFunc(routesClient.Client) - - scopeConnectionsClient, err := scopeconnections.NewScopeConnectionsClientWithBaseURI(sdkApi) - if err != nil { - return nil, fmt.Errorf("building ScopeConnections client: %+v", err) - } - configureFunc(scopeConnectionsClient.Client) - - securityAdminConfigurationsClient, err := securityadminconfigurations.NewSecurityAdminConfigurationsClientWithBaseURI(sdkApi) - if err != nil { - return nil, fmt.Errorf("building SecurityAdminConfigurations client: %+v", err) - } - configureFunc(securityAdminConfigurationsClient.Client) - - securityPartnerProvidersClient, err := securitypartnerproviders.NewSecurityPartnerProvidersClientWithBaseURI(sdkApi) - if err != nil { - return nil, fmt.Errorf("building SecurityPartnerProviders client: %+v", err) - } - configureFunc(securityPartnerProvidersClient.Client) - - securityRulesClient, err := securityrules.NewSecurityRulesClientWithBaseURI(sdkApi) - if err != nil { - return nil, fmt.Errorf("building SecurityRules client: %+v", err) - } - configureFunc(securityRulesClient.Client) - - serviceEndpointPoliciesClient, err := serviceendpointpolicies.NewServiceEndpointPoliciesClientWithBaseURI(sdkApi) - if err != nil { - return nil, fmt.Errorf("building ServiceEndpointPolicies client: %+v", err) - } - configureFunc(serviceEndpointPoliciesClient.Client) - - serviceEndpointPolicyDefinitionsClient, err := serviceendpointpolicydefinitions.NewServiceEndpointPolicyDefinitionsClientWithBaseURI(sdkApi) - if err != nil { - return nil, fmt.Errorf("building ServiceEndpointPolicyDefinitions client: %+v", err) - } - configureFunc(serviceEndpointPolicyDefinitionsClient.Client) - - serviceTagsClient, err := servicetags.NewServiceTagsClientWithBaseURI(sdkApi) - if err != nil { - return nil, fmt.Errorf("building ServiceTags client: %+v", err) - } - configureFunc(serviceTagsClient.Client) - - staticMembersClient, err := staticmembers.NewStaticMembersClientWithBaseURI(sdkApi) - if err != nil { - return nil, fmt.Errorf("building StaticMembers client: %+v", err) - } - configureFunc(staticMembersClient.Client) - - subnetsClient, err := subnets.NewSubnetsClientWithBaseURI(sdkApi) - if err != nil { - return nil, fmt.Errorf("building Subnets client: %+v", err) - } - configureFunc(subnetsClient.Client) - - trafficAnalyticsClient, err := trafficanalytics.NewTrafficAnalyticsClientWithBaseURI(sdkApi) - if err != nil { - return nil, fmt.Errorf("building TrafficAnalytics client: %+v", err) - } - configureFunc(trafficAnalyticsClient.Client) - - usagesClient, err := usages.NewUsagesClientWithBaseURI(sdkApi) - if err != nil { - return nil, fmt.Errorf("building Usages client: %+v", err) - } - configureFunc(usagesClient.Client) - - vMSSPublicIPAddressesClient, err := vmsspublicipaddresses.NewVMSSPublicIPAddressesClientWithBaseURI(sdkApi) - if err != nil { - return nil, fmt.Errorf("building VMSSPublicIPAddresses client: %+v", err) - } - configureFunc(vMSSPublicIPAddressesClient.Client) - - vipSwapClient, err := vipswap.NewVipSwapClientWithBaseURI(sdkApi) - if err != nil { - return nil, fmt.Errorf("building VipSwap client: %+v", err) - } - configureFunc(vipSwapClient.Client) - - virtualApplianceSitesClient, err := virtualappliancesites.NewVirtualApplianceSitesClientWithBaseURI(sdkApi) - if err != nil { - return nil, fmt.Errorf("building VirtualApplianceSites client: %+v", err) - } - configureFunc(virtualApplianceSitesClient.Client) - - virtualApplianceSkusClient, err := virtualapplianceskus.NewVirtualApplianceSkusClientWithBaseURI(sdkApi) - if err != nil { - return nil, fmt.Errorf("building VirtualApplianceSkus client: %+v", err) - } - configureFunc(virtualApplianceSkusClient.Client) - - virtualNetworkGatewayConnectionsClient, err := virtualnetworkgatewayconnections.NewVirtualNetworkGatewayConnectionsClientWithBaseURI(sdkApi) - if err != nil { - return nil, fmt.Errorf("building VirtualNetworkGatewayConnections client: %+v", err) - } - configureFunc(virtualNetworkGatewayConnectionsClient.Client) - - virtualNetworkGatewaysClient, err := virtualnetworkgateways.NewVirtualNetworkGatewaysClientWithBaseURI(sdkApi) - if err != nil { - return nil, fmt.Errorf("building VirtualNetworkGateways client: %+v", err) - } - configureFunc(virtualNetworkGatewaysClient.Client) - - virtualNetworkPeeringsClient, err := virtualnetworkpeerings.NewVirtualNetworkPeeringsClientWithBaseURI(sdkApi) - if err != nil { - return nil, fmt.Errorf("building VirtualNetworkPeerings client: %+v", err) - } - configureFunc(virtualNetworkPeeringsClient.Client) - - virtualNetworkTapClient, err := virtualnetworktap.NewVirtualNetworkTapClientWithBaseURI(sdkApi) - if err != nil { - return nil, fmt.Errorf("building VirtualNetworkTap client: %+v", err) - } - configureFunc(virtualNetworkTapClient.Client) - - virtualNetworkTapsClient, err := virtualnetworktaps.NewVirtualNetworkTapsClientWithBaseURI(sdkApi) - if err != nil { - return nil, fmt.Errorf("building VirtualNetworkTaps client: %+v", err) - } - configureFunc(virtualNetworkTapsClient.Client) - - virtualNetworksClient, err := virtualnetworks.NewVirtualNetworksClientWithBaseURI(sdkApi) - if err != nil { - return nil, fmt.Errorf("building VirtualNetworks client: %+v", err) - } - configureFunc(virtualNetworksClient.Client) - - virtualRouterPeeringsClient, err := virtualrouterpeerings.NewVirtualRouterPeeringsClientWithBaseURI(sdkApi) - if err != nil { - return nil, fmt.Errorf("building VirtualRouterPeerings client: %+v", err) - } - configureFunc(virtualRouterPeeringsClient.Client) - - virtualRoutersClient, err := virtualrouters.NewVirtualRoutersClientWithBaseURI(sdkApi) - if err != nil { - return nil, fmt.Errorf("building VirtualRouters client: %+v", err) - } - configureFunc(virtualRoutersClient.Client) - - virtualWANsClient, err := virtualwans.NewVirtualWANsClientWithBaseURI(sdkApi) - if err != nil { - return nil, fmt.Errorf("building VirtualWANs client: %+v", err) - } - configureFunc(virtualWANsClient.Client) - - vpnGatewaysClient, err := vpngateways.NewVpnGatewaysClientWithBaseURI(sdkApi) - if err != nil { - return nil, fmt.Errorf("building VpnGateways client: %+v", err) - } - configureFunc(vpnGatewaysClient.Client) - - vpnLinkConnectionsClient, err := vpnlinkconnections.NewVpnLinkConnectionsClientWithBaseURI(sdkApi) - if err != nil { - return nil, fmt.Errorf("building VpnLinkConnections client: %+v", err) - } - configureFunc(vpnLinkConnectionsClient.Client) - - vpnServerConfigurationsClient, err := vpnserverconfigurations.NewVpnServerConfigurationsClientWithBaseURI(sdkApi) - if err != nil { - return nil, fmt.Errorf("building VpnServerConfigurations client: %+v", err) - } - configureFunc(vpnServerConfigurationsClient.Client) - - vpnSitesClient, err := vpnsites.NewVpnSitesClientWithBaseURI(sdkApi) - if err != nil { - return nil, fmt.Errorf("building VpnSites client: %+v", err) - } - configureFunc(vpnSitesClient.Client) - - webApplicationFirewallPoliciesClient, err := webapplicationfirewallpolicies.NewWebApplicationFirewallPoliciesClientWithBaseURI(sdkApi) - if err != nil { - return nil, fmt.Errorf("building WebApplicationFirewallPolicies client: %+v", err) - } - configureFunc(webApplicationFirewallPoliciesClient.Client) - - webCategoriesClient, err := webcategories.NewWebCategoriesClientWithBaseURI(sdkApi) - if err != nil { - return nil, fmt.Errorf("building WebCategories client: %+v", err) - } - configureFunc(webCategoriesClient.Client) - - return &Client{ - AdminRuleCollections: adminRuleCollectionsClient, - AdminRules: adminRulesClient, - ApplicationGatewayPrivateEndpointConnections: applicationGatewayPrivateEndpointConnectionsClient, - ApplicationGatewayPrivateLinkResources: applicationGatewayPrivateLinkResourcesClient, - ApplicationGatewayWafDynamicManifests: applicationGatewayWafDynamicManifestsClient, - ApplicationGateways: applicationGatewaysClient, - ApplicationSecurityGroups: applicationSecurityGroupsClient, - AvailableDelegations: availableDelegationsClient, - AvailableServiceAliases: availableServiceAliasesClient, - AzureFirewalls: azureFirewallsClient, - BastionHosts: bastionHostsClient, - BastionShareableLink: bastionShareableLinkClient, - BgpServiceCommunities: bgpServiceCommunitiesClient, - CheckDnsAvailabilities: checkDnsAvailabilitiesClient, - CloudServicePublicIPAddresses: cloudServicePublicIPAddressesClient, - ConnectionMonitors: connectionMonitorsClient, - ConnectivityConfigurations: connectivityConfigurationsClient, - CustomIPPrefixes: customIPPrefixesClient, - DdosCustomPolicies: ddosCustomPoliciesClient, - DdosProtectionPlans: ddosProtectionPlansClient, - DscpConfiguration: dscpConfigurationClient, - DscpConfigurations: dscpConfigurationsClient, - EndpointServices: endpointServicesClient, - ExpressRouteCircuitArpTable: expressRouteCircuitArpTableClient, - ExpressRouteCircuitAuthorizations: expressRouteCircuitAuthorizationsClient, - ExpressRouteCircuitConnections: expressRouteCircuitConnectionsClient, - ExpressRouteCircuitPeerings: expressRouteCircuitPeeringsClient, - ExpressRouteCircuitRoutesTable: expressRouteCircuitRoutesTableClient, - ExpressRouteCircuitRoutesTableSummary: expressRouteCircuitRoutesTableSummaryClient, - ExpressRouteCircuitStats: expressRouteCircuitStatsClient, - ExpressRouteCircuits: expressRouteCircuitsClient, - ExpressRouteConnections: expressRouteConnectionsClient, - ExpressRouteCrossConnectionArpTable: expressRouteCrossConnectionArpTableClient, - ExpressRouteCrossConnectionPeerings: expressRouteCrossConnectionPeeringsClient, - ExpressRouteCrossConnectionRouteTable: expressRouteCrossConnectionRouteTableClient, - ExpressRouteCrossConnectionRouteTableSummary: expressRouteCrossConnectionRouteTableSummaryClient, - ExpressRouteCrossConnections: expressRouteCrossConnectionsClient, - ExpressRouteGateways: expressRouteGatewaysClient, - ExpressRouteLinks: expressRouteLinksClient, - ExpressRoutePortAuthorizations: expressRoutePortAuthorizationsClient, - ExpressRoutePorts: expressRoutePortsClient, - ExpressRoutePortsLocations: expressRoutePortsLocationsClient, - ExpressRouteProviderPorts: expressRouteProviderPortsClient, - ExpressRouteServiceProviders: expressRouteServiceProvidersClient, - FirewallPolicies: firewallPoliciesClient, - FirewallPolicyRuleCollectionGroups: firewallPolicyRuleCollectionGroupsClient, - FlowLogs: flowLogsClient, - IPAllocations: iPAllocationsClient, - IPGroups: iPGroupsClient, - LoadBalancers: loadBalancersClient, - LocalNetworkGateways: localNetworkGatewaysClient, - NatGateways: natGatewaysClient, - NetworkGroups: networkGroupsClient, - NetworkInterfaces: networkInterfacesClient, - NetworkManagerActiveConfigurations: networkManagerActiveConfigurationsClient, - NetworkManagerActiveConnectivityConfigurations: networkManagerActiveConnectivityConfigurationsClient, - NetworkManagerConnections: networkManagerConnectionsClient, - NetworkManagerEffectiveConnectivityConfiguration: networkManagerEffectiveConnectivityConfigurationClient, - NetworkManagerEffectiveSecurityAdminRules: networkManagerEffectiveSecurityAdminRulesClient, - NetworkManagers: networkManagersClient, - NetworkProfiles: networkProfilesClient, - NetworkSecurityGroups: networkSecurityGroupsClient, - NetworkVirtualAppliances: networkVirtualAppliancesClient, - NetworkWatchers: networkWatchersClient, - P2sVpnGateways: p2sVpnGatewaysClient, - PacketCaptures: packetCapturesClient, - PeerExpressRouteCircuitConnections: peerExpressRouteCircuitConnectionsClient, - PrivateDnsZoneGroups: privateDnsZoneGroupsClient, - PrivateEndpoints: privateEndpointsClient, - PrivateLinkServices: privateLinkServicesClient, - PublicIPAddresses: publicIPAddressesClient, - PublicIPPrefixes: publicIPPrefixesClient, - RouteFilterRules: routeFilterRulesClient, - RouteFilters: routeFiltersClient, - RouteTables: routeTablesClient, - Routes: routesClient, - ScopeConnections: scopeConnectionsClient, - SecurityAdminConfigurations: securityAdminConfigurationsClient, - SecurityPartnerProviders: securityPartnerProvidersClient, - SecurityRules: securityRulesClient, - ServiceEndpointPolicies: serviceEndpointPoliciesClient, - ServiceEndpointPolicyDefinitions: serviceEndpointPolicyDefinitionsClient, - ServiceTags: serviceTagsClient, - StaticMembers: staticMembersClient, - Subnets: subnetsClient, - TrafficAnalytics: trafficAnalyticsClient, - Usages: usagesClient, - VMSSPublicIPAddresses: vMSSPublicIPAddressesClient, - VipSwap: vipSwapClient, - VirtualApplianceSites: virtualApplianceSitesClient, - VirtualApplianceSkus: virtualApplianceSkusClient, - VirtualNetworkGatewayConnections: virtualNetworkGatewayConnectionsClient, - VirtualNetworkGateways: virtualNetworkGatewaysClient, - VirtualNetworkPeerings: virtualNetworkPeeringsClient, - VirtualNetworkTap: virtualNetworkTapClient, - VirtualNetworkTaps: virtualNetworkTapsClient, - VirtualNetworks: virtualNetworksClient, - VirtualRouterPeerings: virtualRouterPeeringsClient, - VirtualRouters: virtualRoutersClient, - VirtualWANs: virtualWANsClient, - VpnGateways: vpnGatewaysClient, - VpnLinkConnections: vpnLinkConnectionsClient, - VpnServerConfigurations: vpnServerConfigurationsClient, - VpnSites: vpnSitesClient, - WebApplicationFirewallPolicies: webApplicationFirewallPoliciesClient, - WebCategories: webCategoriesClient, - }, nil -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/README.md deleted file mode 100644 index 0f3e04b6a43f..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/README.md +++ /dev/null @@ -1,71 +0,0 @@ - -## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses` Documentation - -The `cloudservicepublicipaddresses` SDK allows for interaction with Azure Resource Manager `network` (API Version `2023-11-01`). - -This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). - -### Import Path - -```go -import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" -import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses" -``` - - -### Client Initialization - -```go -client := cloudservicepublicipaddresses.NewCloudServicePublicIPAddressesClientWithBaseURI("https://management.azure.com") -client.Client.Authorizer = authorizer -``` - - -### Example Usage: `CloudServicePublicIPAddressesClient.PublicIPAddressesGetCloudServicePublicIPAddress` - -```go -ctx := context.TODO() -id := commonids.NewCloudServicesPublicIPAddressID("12345678-1234-9876-4563-123456789012", "example-resource-group", "cloudServiceName", "roleInstanceName", "networkInterfaceName", "ipConfigurationName", "publicIPAddressName") - -read, err := client.PublicIPAddressesGetCloudServicePublicIPAddress(ctx, id, cloudservicepublicipaddresses.DefaultPublicIPAddressesGetCloudServicePublicIPAddressOperationOptions()) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `CloudServicePublicIPAddressesClient.PublicIPAddressesListCloudServicePublicIPAddresses` - -```go -ctx := context.TODO() -id := cloudservicepublicipaddresses.NewProviderCloudServiceID("12345678-1234-9876-4563-123456789012", "example-resource-group", "cloudServiceName") - -// alternatively `client.PublicIPAddressesListCloudServicePublicIPAddresses(ctx, id)` can be used to do batched pagination -items, err := client.PublicIPAddressesListCloudServicePublicIPAddressesComplete(ctx, id) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` - - -### Example Usage: `CloudServicePublicIPAddressesClient.PublicIPAddressesListCloudServiceRoleInstancePublicIPAddresses` - -```go -ctx := context.TODO() -id := commonids.NewCloudServicesIPConfigurationID("12345678-1234-9876-4563-123456789012", "example-resource-group", "cloudServiceName", "roleInstanceName", "networkInterfaceName", "ipConfigurationName") - -// alternatively `client.PublicIPAddressesListCloudServiceRoleInstancePublicIPAddresses(ctx, id)` can be used to do batched pagination -items, err := client.PublicIPAddressesListCloudServiceRoleInstancePublicIPAddressesComplete(ctx, id) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_flowlog.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_flowlog.go deleted file mode 100644 index b5951b652697..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_flowlog.go +++ /dev/null @@ -1,14 +0,0 @@ -package cloudservicepublicipaddresses - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -type FlowLog struct { - Etag *string `json:"etag,omitempty"` - Id *string `json:"id,omitempty"` - Location *string `json:"location,omitempty"` - Name *string `json:"name,omitempty"` - Properties *FlowLogPropertiesFormat `json:"properties,omitempty"` - Tags *map[string]string `json:"tags,omitempty"` - Type *string `json:"type,omitempty"` -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_flowlogpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_flowlogpropertiesformat.go deleted file mode 100644 index 81d0d4ee738d..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_flowlogpropertiesformat.go +++ /dev/null @@ -1,15 +0,0 @@ -package cloudservicepublicipaddresses - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -type FlowLogPropertiesFormat struct { - Enabled *bool `json:"enabled,omitempty"` - FlowAnalyticsConfiguration *TrafficAnalyticsProperties `json:"flowAnalyticsConfiguration,omitempty"` - Format *FlowLogFormatParameters `json:"format,omitempty"` - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` - RetentionPolicy *RetentionPolicyParameters `json:"retentionPolicy,omitempty"` - StorageId string `json:"storageId"` - TargetResourceGuid *string `json:"targetResourceGuid,omitempty"` - TargetResourceId string `json:"targetResourceId"` -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_privatelinkserviceproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_privatelinkserviceproperties.go deleted file mode 100644 index fea2fefdf6da..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_privatelinkserviceproperties.go +++ /dev/null @@ -1,17 +0,0 @@ -package cloudservicepublicipaddresses - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -type PrivateLinkServiceProperties struct { - Alias *string `json:"alias,omitempty"` - AutoApproval *ResourceSet `json:"autoApproval,omitempty"` - EnableProxyProtocol *bool `json:"enableProxyProtocol,omitempty"` - Fqdns *[]string `json:"fqdns,omitempty"` - IPConfigurations *[]PrivateLinkServiceIPConfiguration `json:"ipConfigurations,omitempty"` - LoadBalancerFrontendIPConfigurations *[]FrontendIPConfiguration `json:"loadBalancerFrontendIpConfigurations,omitempty"` - NetworkInterfaces *[]NetworkInterface `json:"networkInterfaces,omitempty"` - PrivateEndpointConnections *[]PrivateEndpointConnection `json:"privateEndpointConnections,omitempty"` - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` - Visibility *ResourceSet `json:"visibility,omitempty"` -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_serviceendpointpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_serviceendpointpropertiesformat.go deleted file mode 100644 index 63759ece07dd..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_serviceendpointpropertiesformat.go +++ /dev/null @@ -1,10 +0,0 @@ -package cloudservicepublicipaddresses - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -type ServiceEndpointPropertiesFormat struct { - Locations *[]string `json:"locations,omitempty"` - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` - Service *string `json:"service,omitempty"` -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/version.go deleted file mode 100644 index affd2c94cc8a..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/version.go +++ /dev/null @@ -1,10 +0,0 @@ -package cloudservicepublicipaddresses - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -const defaultApiVersion = "2023-11-01" - -func userAgent() string { - return "hashicorp/go-azure-sdk/cloudservicepublicipaddresses/2023-11-01" -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectionmonitors/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectionmonitors/README.md deleted file mode 100644 index 50175098beaf..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectionmonitors/README.md +++ /dev/null @@ -1,138 +0,0 @@ - -## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectionmonitors` Documentation - -The `connectionmonitors` SDK allows for interaction with Azure Resource Manager `network` (API Version `2023-11-01`). - -This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). - -### Import Path - -```go -import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectionmonitors" -``` - - -### Client Initialization - -```go -client := connectionmonitors.NewConnectionMonitorsClientWithBaseURI("https://management.azure.com") -client.Client.Authorizer = authorizer -``` - - -### Example Usage: `ConnectionMonitorsClient.CreateOrUpdate` - -```go -ctx := context.TODO() -id := connectionmonitors.NewConnectionMonitorID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkWatcherName", "connectionMonitorName") - -payload := connectionmonitors.ConnectionMonitor{ - // ... -} - - -if err := client.CreateOrUpdateThenPoll(ctx, id, payload, connectionmonitors.DefaultCreateOrUpdateOperationOptions()); err != nil { - // handle the error -} -``` - - -### Example Usage: `ConnectionMonitorsClient.Delete` - -```go -ctx := context.TODO() -id := connectionmonitors.NewConnectionMonitorID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkWatcherName", "connectionMonitorName") - -if err := client.DeleteThenPoll(ctx, id); err != nil { - // handle the error -} -``` - - -### Example Usage: `ConnectionMonitorsClient.Get` - -```go -ctx := context.TODO() -id := connectionmonitors.NewConnectionMonitorID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkWatcherName", "connectionMonitorName") - -read, err := client.Get(ctx, id) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `ConnectionMonitorsClient.List` - -```go -ctx := context.TODO() -id := connectionmonitors.NewNetworkWatcherID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkWatcherName") - -read, err := client.List(ctx, id) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `ConnectionMonitorsClient.Query` - -```go -ctx := context.TODO() -id := connectionmonitors.NewConnectionMonitorID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkWatcherName", "connectionMonitorName") - -if err := client.QueryThenPoll(ctx, id); err != nil { - // handle the error -} -``` - - -### Example Usage: `ConnectionMonitorsClient.Start` - -```go -ctx := context.TODO() -id := connectionmonitors.NewConnectionMonitorID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkWatcherName", "connectionMonitorName") - -if err := client.StartThenPoll(ctx, id); err != nil { - // handle the error -} -``` - - -### Example Usage: `ConnectionMonitorsClient.Stop` - -```go -ctx := context.TODO() -id := connectionmonitors.NewConnectionMonitorID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkWatcherName", "connectionMonitorName") - -if err := client.StopThenPoll(ctx, id); err != nil { - // handle the error -} -``` - - -### Example Usage: `ConnectionMonitorsClient.UpdateTags` - -```go -ctx := context.TODO() -id := connectionmonitors.NewConnectionMonitorID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkWatcherName", "connectionMonitorName") - -payload := connectionmonitors.TagsObject{ - // ... -} - - -read, err := client.UpdateTags(ctx, id, payload) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectionmonitors/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectionmonitors/version.go deleted file mode 100644 index 017a7248272e..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectionmonitors/version.go +++ /dev/null @@ -1,10 +0,0 @@ -package connectionmonitors - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -const defaultApiVersion = "2023-11-01" - -func userAgent() string { - return "hashicorp/go-azure-sdk/connectionmonitors/2023-11-01" -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectivityconfigurations/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectivityconfigurations/README.md deleted file mode 100644 index 8b74b6304d0e..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectivityconfigurations/README.md +++ /dev/null @@ -1,86 +0,0 @@ - -## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectivityconfigurations` Documentation - -The `connectivityconfigurations` SDK allows for interaction with Azure Resource Manager `network` (API Version `2023-11-01`). - -This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). - -### Import Path - -```go -import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectivityconfigurations" -``` - - -### Client Initialization - -```go -client := connectivityconfigurations.NewConnectivityConfigurationsClientWithBaseURI("https://management.azure.com") -client.Client.Authorizer = authorizer -``` - - -### Example Usage: `ConnectivityConfigurationsClient.CreateOrUpdate` - -```go -ctx := context.TODO() -id := connectivityconfigurations.NewConnectivityConfigurationID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkManagerName", "connectivityConfigurationName") - -payload := connectivityconfigurations.ConnectivityConfiguration{ - // ... -} - - -read, err := client.CreateOrUpdate(ctx, id, payload) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `ConnectivityConfigurationsClient.Delete` - -```go -ctx := context.TODO() -id := connectivityconfigurations.NewConnectivityConfigurationID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkManagerName", "connectivityConfigurationName") - -if err := client.DeleteThenPoll(ctx, id, connectivityconfigurations.DefaultDeleteOperationOptions()); err != nil { - // handle the error -} -``` - - -### Example Usage: `ConnectivityConfigurationsClient.Get` - -```go -ctx := context.TODO() -id := connectivityconfigurations.NewConnectivityConfigurationID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkManagerName", "connectivityConfigurationName") - -read, err := client.Get(ctx, id) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `ConnectivityConfigurationsClient.List` - -```go -ctx := context.TODO() -id := connectivityconfigurations.NewNetworkManagerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkManagerName") - -// alternatively `client.List(ctx, id, connectivityconfigurations.DefaultListOperationOptions())` can be used to do batched pagination -items, err := client.ListComplete(ctx, id, connectivityconfigurations.DefaultListOperationOptions()) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectivityconfigurations/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectivityconfigurations/version.go deleted file mode 100644 index ba474b9067d2..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectivityconfigurations/version.go +++ /dev/null @@ -1,10 +0,0 @@ -package connectivityconfigurations - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -const defaultApiVersion = "2023-11-01" - -func userAgent() string { - return "hashicorp/go-azure-sdk/connectivityconfigurations/2023-11-01" -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/customipprefixes/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/customipprefixes/README.md deleted file mode 100644 index 2be5a240d71d..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/customipprefixes/README.md +++ /dev/null @@ -1,121 +0,0 @@ - -## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/customipprefixes` Documentation - -The `customipprefixes` SDK allows for interaction with Azure Resource Manager `network` (API Version `2023-11-01`). - -This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). - -### Import Path - -```go -import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" -import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/customipprefixes" -``` - - -### Client Initialization - -```go -client := customipprefixes.NewCustomIPPrefixesClientWithBaseURI("https://management.azure.com") -client.Client.Authorizer = authorizer -``` - - -### Example Usage: `CustomIPPrefixesClient.CreateOrUpdate` - -```go -ctx := context.TODO() -id := customipprefixes.NewCustomIPPrefixID("12345678-1234-9876-4563-123456789012", "example-resource-group", "customIPPrefixName") - -payload := customipprefixes.CustomIPPrefix{ - // ... -} - - -if err := client.CreateOrUpdateThenPoll(ctx, id, payload); err != nil { - // handle the error -} -``` - - -### Example Usage: `CustomIPPrefixesClient.Delete` - -```go -ctx := context.TODO() -id := customipprefixes.NewCustomIPPrefixID("12345678-1234-9876-4563-123456789012", "example-resource-group", "customIPPrefixName") - -if err := client.DeleteThenPoll(ctx, id); err != nil { - // handle the error -} -``` - - -### Example Usage: `CustomIPPrefixesClient.Get` - -```go -ctx := context.TODO() -id := customipprefixes.NewCustomIPPrefixID("12345678-1234-9876-4563-123456789012", "example-resource-group", "customIPPrefixName") - -read, err := client.Get(ctx, id, customipprefixes.DefaultGetOperationOptions()) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `CustomIPPrefixesClient.List` - -```go -ctx := context.TODO() -id := commonids.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group") - -// alternatively `client.List(ctx, id)` can be used to do batched pagination -items, err := client.ListComplete(ctx, id) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` - - -### Example Usage: `CustomIPPrefixesClient.ListAll` - -```go -ctx := context.TODO() -id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012") - -// alternatively `client.ListAll(ctx, id)` can be used to do batched pagination -items, err := client.ListAllComplete(ctx, id) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` - - -### Example Usage: `CustomIPPrefixesClient.UpdateTags` - -```go -ctx := context.TODO() -id := customipprefixes.NewCustomIPPrefixID("12345678-1234-9876-4563-123456789012", "example-resource-group", "customIPPrefixName") - -payload := customipprefixes.TagsObject{ - // ... -} - - -read, err := client.UpdateTags(ctx, id, payload) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/customipprefixes/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/customipprefixes/version.go deleted file mode 100644 index a23ca4411470..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/customipprefixes/version.go +++ /dev/null @@ -1,10 +0,0 @@ -package customipprefixes - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -const defaultApiVersion = "2023-11-01" - -func userAgent() string { - return "hashicorp/go-azure-sdk/customipprefixes/2023-11-01" -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ddoscustompolicies/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ddoscustompolicies/README.md deleted file mode 100644 index 7ce7de395e08..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ddoscustompolicies/README.md +++ /dev/null @@ -1,86 +0,0 @@ - -## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ddoscustompolicies` Documentation - -The `ddoscustompolicies` SDK allows for interaction with Azure Resource Manager `network` (API Version `2023-11-01`). - -This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). - -### Import Path - -```go -import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ddoscustompolicies" -``` - - -### Client Initialization - -```go -client := ddoscustompolicies.NewDdosCustomPoliciesClientWithBaseURI("https://management.azure.com") -client.Client.Authorizer = authorizer -``` - - -### Example Usage: `DdosCustomPoliciesClient.CreateOrUpdate` - -```go -ctx := context.TODO() -id := ddoscustompolicies.NewDdosCustomPolicyID("12345678-1234-9876-4563-123456789012", "example-resource-group", "ddosCustomPolicyName") - -payload := ddoscustompolicies.DdosCustomPolicy{ - // ... -} - - -if err := client.CreateOrUpdateThenPoll(ctx, id, payload); err != nil { - // handle the error -} -``` - - -### Example Usage: `DdosCustomPoliciesClient.Delete` - -```go -ctx := context.TODO() -id := ddoscustompolicies.NewDdosCustomPolicyID("12345678-1234-9876-4563-123456789012", "example-resource-group", "ddosCustomPolicyName") - -if err := client.DeleteThenPoll(ctx, id); err != nil { - // handle the error -} -``` - - -### Example Usage: `DdosCustomPoliciesClient.Get` - -```go -ctx := context.TODO() -id := ddoscustompolicies.NewDdosCustomPolicyID("12345678-1234-9876-4563-123456789012", "example-resource-group", "ddosCustomPolicyName") - -read, err := client.Get(ctx, id) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `DdosCustomPoliciesClient.UpdateTags` - -```go -ctx := context.TODO() -id := ddoscustompolicies.NewDdosCustomPolicyID("12345678-1234-9876-4563-123456789012", "example-resource-group", "ddosCustomPolicyName") - -payload := ddoscustompolicies.TagsObject{ - // ... -} - - -read, err := client.UpdateTags(ctx, id, payload) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ddoscustompolicies/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ddoscustompolicies/version.go deleted file mode 100644 index 706cecc08dfb..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ddoscustompolicies/version.go +++ /dev/null @@ -1,10 +0,0 @@ -package ddoscustompolicies - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -const defaultApiVersion = "2023-11-01" - -func userAgent() string { - return "hashicorp/go-azure-sdk/ddoscustompolicies/2023-11-01" -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ddosprotectionplans/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ddosprotectionplans/README.md deleted file mode 100644 index a543966d2726..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ddosprotectionplans/README.md +++ /dev/null @@ -1,121 +0,0 @@ - -## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ddosprotectionplans` Documentation - -The `ddosprotectionplans` SDK allows for interaction with Azure Resource Manager `network` (API Version `2023-11-01`). - -This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). - -### Import Path - -```go -import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" -import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ddosprotectionplans" -``` - - -### Client Initialization - -```go -client := ddosprotectionplans.NewDdosProtectionPlansClientWithBaseURI("https://management.azure.com") -client.Client.Authorizer = authorizer -``` - - -### Example Usage: `DdosProtectionPlansClient.CreateOrUpdate` - -```go -ctx := context.TODO() -id := ddosprotectionplans.NewDdosProtectionPlanID("12345678-1234-9876-4563-123456789012", "example-resource-group", "ddosProtectionPlanName") - -payload := ddosprotectionplans.DdosProtectionPlan{ - // ... -} - - -if err := client.CreateOrUpdateThenPoll(ctx, id, payload); err != nil { - // handle the error -} -``` - - -### Example Usage: `DdosProtectionPlansClient.Delete` - -```go -ctx := context.TODO() -id := ddosprotectionplans.NewDdosProtectionPlanID("12345678-1234-9876-4563-123456789012", "example-resource-group", "ddosProtectionPlanName") - -if err := client.DeleteThenPoll(ctx, id); err != nil { - // handle the error -} -``` - - -### Example Usage: `DdosProtectionPlansClient.Get` - -```go -ctx := context.TODO() -id := ddosprotectionplans.NewDdosProtectionPlanID("12345678-1234-9876-4563-123456789012", "example-resource-group", "ddosProtectionPlanName") - -read, err := client.Get(ctx, id) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `DdosProtectionPlansClient.List` - -```go -ctx := context.TODO() -id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012") - -// alternatively `client.List(ctx, id)` can be used to do batched pagination -items, err := client.ListComplete(ctx, id) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` - - -### Example Usage: `DdosProtectionPlansClient.ListByResourceGroup` - -```go -ctx := context.TODO() -id := commonids.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group") - -// alternatively `client.ListByResourceGroup(ctx, id)` can be used to do batched pagination -items, err := client.ListByResourceGroupComplete(ctx, id) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` - - -### Example Usage: `DdosProtectionPlansClient.UpdateTags` - -```go -ctx := context.TODO() -id := ddosprotectionplans.NewDdosProtectionPlanID("12345678-1234-9876-4563-123456789012", "example-resource-group", "ddosProtectionPlanName") - -payload := ddosprotectionplans.TagsObject{ - // ... -} - - -read, err := client.UpdateTags(ctx, id, payload) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ddosprotectionplans/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ddosprotectionplans/version.go deleted file mode 100644 index edb69fa969ae..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ddosprotectionplans/version.go +++ /dev/null @@ -1,10 +0,0 @@ -package ddosprotectionplans - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -const defaultApiVersion = "2023-11-01" - -func userAgent() string { - return "hashicorp/go-azure-sdk/ddosprotectionplans/2023-11-01" -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/README.md deleted file mode 100644 index 6006c196528d..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/README.md +++ /dev/null @@ -1,65 +0,0 @@ - -## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration` Documentation - -The `dscpconfiguration` SDK allows for interaction with Azure Resource Manager `network` (API Version `2023-11-01`). - -This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). - -### Import Path - -```go -import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration" -``` - - -### Client Initialization - -```go -client := dscpconfiguration.NewDscpConfigurationClientWithBaseURI("https://management.azure.com") -client.Client.Authorizer = authorizer -``` - - -### Example Usage: `DscpConfigurationClient.CreateOrUpdate` - -```go -ctx := context.TODO() -id := dscpconfiguration.NewDscpConfigurationID("12345678-1234-9876-4563-123456789012", "example-resource-group", "dscpConfigurationName") - -payload := dscpconfiguration.DscpConfiguration{ - // ... -} - - -if err := client.CreateOrUpdateThenPoll(ctx, id, payload); err != nil { - // handle the error -} -``` - - -### Example Usage: `DscpConfigurationClient.Delete` - -```go -ctx := context.TODO() -id := dscpconfiguration.NewDscpConfigurationID("12345678-1234-9876-4563-123456789012", "example-resource-group", "dscpConfigurationName") - -if err := client.DeleteThenPoll(ctx, id); err != nil { - // handle the error -} -``` - - -### Example Usage: `DscpConfigurationClient.Get` - -```go -ctx := context.TODO() -id := dscpconfiguration.NewDscpConfigurationID("12345678-1234-9876-4563-123456789012", "example-resource-group", "dscpConfigurationName") - -read, err := client.Get(ctx, id) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_flowlog.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_flowlog.go deleted file mode 100644 index f4d7ea329fc4..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_flowlog.go +++ /dev/null @@ -1,14 +0,0 @@ -package dscpconfiguration - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -type FlowLog struct { - Etag *string `json:"etag,omitempty"` - Id *string `json:"id,omitempty"` - Location *string `json:"location,omitempty"` - Name *string `json:"name,omitempty"` - Properties *FlowLogPropertiesFormat `json:"properties,omitempty"` - Tags *map[string]string `json:"tags,omitempty"` - Type *string `json:"type,omitempty"` -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_flowlogpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_flowlogpropertiesformat.go deleted file mode 100644 index 71ebfa45fde7..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_flowlogpropertiesformat.go +++ /dev/null @@ -1,15 +0,0 @@ -package dscpconfiguration - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -type FlowLogPropertiesFormat struct { - Enabled *bool `json:"enabled,omitempty"` - FlowAnalyticsConfiguration *TrafficAnalyticsProperties `json:"flowAnalyticsConfiguration,omitempty"` - Format *FlowLogFormatParameters `json:"format,omitempty"` - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` - RetentionPolicy *RetentionPolicyParameters `json:"retentionPolicy,omitempty"` - StorageId string `json:"storageId"` - TargetResourceGuid *string `json:"targetResourceGuid,omitempty"` - TargetResourceId string `json:"targetResourceId"` -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_privatelinkserviceproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_privatelinkserviceproperties.go deleted file mode 100644 index 1852ce3fa31d..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_privatelinkserviceproperties.go +++ /dev/null @@ -1,17 +0,0 @@ -package dscpconfiguration - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -type PrivateLinkServiceProperties struct { - Alias *string `json:"alias,omitempty"` - AutoApproval *ResourceSet `json:"autoApproval,omitempty"` - EnableProxyProtocol *bool `json:"enableProxyProtocol,omitempty"` - Fqdns *[]string `json:"fqdns,omitempty"` - IPConfigurations *[]PrivateLinkServiceIPConfiguration `json:"ipConfigurations,omitempty"` - LoadBalancerFrontendIPConfigurations *[]FrontendIPConfiguration `json:"loadBalancerFrontendIpConfigurations,omitempty"` - NetworkInterfaces *[]NetworkInterface `json:"networkInterfaces,omitempty"` - PrivateEndpointConnections *[]PrivateEndpointConnection `json:"privateEndpointConnections,omitempty"` - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` - Visibility *ResourceSet `json:"visibility,omitempty"` -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_serviceendpointpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_serviceendpointpropertiesformat.go deleted file mode 100644 index 638a6d73f522..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_serviceendpointpropertiesformat.go +++ /dev/null @@ -1,10 +0,0 @@ -package dscpconfiguration - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -type ServiceEndpointPropertiesFormat struct { - Locations *[]string `json:"locations,omitempty"` - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` - Service *string `json:"service,omitempty"` -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/version.go deleted file mode 100644 index 64f1b8056fdc..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/version.go +++ /dev/null @@ -1,10 +0,0 @@ -package dscpconfiguration - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -const defaultApiVersion = "2023-11-01" - -func userAgent() string { - return "hashicorp/go-azure-sdk/dscpconfiguration/2023-11-01" -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/README.md deleted file mode 100644 index d8dd7bd8d7c5..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/README.md +++ /dev/null @@ -1,55 +0,0 @@ - -## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations` Documentation - -The `dscpconfigurations` SDK allows for interaction with Azure Resource Manager `network` (API Version `2023-11-01`). - -This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). - -### Import Path - -```go -import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" -import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations" -``` - - -### Client Initialization - -```go -client := dscpconfigurations.NewDscpConfigurationsClientWithBaseURI("https://management.azure.com") -client.Client.Authorizer = authorizer -``` - - -### Example Usage: `DscpConfigurationsClient.DscpConfigurationList` - -```go -ctx := context.TODO() -id := commonids.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group") - -// alternatively `client.DscpConfigurationList(ctx, id)` can be used to do batched pagination -items, err := client.DscpConfigurationListComplete(ctx, id) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` - - -### Example Usage: `DscpConfigurationsClient.DscpConfigurationListAll` - -```go -ctx := context.TODO() -id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012") - -// alternatively `client.DscpConfigurationListAll(ctx, id)` can be used to do batched pagination -items, err := client.DscpConfigurationListAllComplete(ctx, id) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_flowlog.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_flowlog.go deleted file mode 100644 index b06c467c3bc4..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_flowlog.go +++ /dev/null @@ -1,14 +0,0 @@ -package dscpconfigurations - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -type FlowLog struct { - Etag *string `json:"etag,omitempty"` - Id *string `json:"id,omitempty"` - Location *string `json:"location,omitempty"` - Name *string `json:"name,omitempty"` - Properties *FlowLogPropertiesFormat `json:"properties,omitempty"` - Tags *map[string]string `json:"tags,omitempty"` - Type *string `json:"type,omitempty"` -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_flowlogpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_flowlogpropertiesformat.go deleted file mode 100644 index 70fecb2d8522..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_flowlogpropertiesformat.go +++ /dev/null @@ -1,15 +0,0 @@ -package dscpconfigurations - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -type FlowLogPropertiesFormat struct { - Enabled *bool `json:"enabled,omitempty"` - FlowAnalyticsConfiguration *TrafficAnalyticsProperties `json:"flowAnalyticsConfiguration,omitempty"` - Format *FlowLogFormatParameters `json:"format,omitempty"` - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` - RetentionPolicy *RetentionPolicyParameters `json:"retentionPolicy,omitempty"` - StorageId string `json:"storageId"` - TargetResourceGuid *string `json:"targetResourceGuid,omitempty"` - TargetResourceId string `json:"targetResourceId"` -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_privatelinkserviceproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_privatelinkserviceproperties.go deleted file mode 100644 index 0054e8840ee7..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_privatelinkserviceproperties.go +++ /dev/null @@ -1,17 +0,0 @@ -package dscpconfigurations - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -type PrivateLinkServiceProperties struct { - Alias *string `json:"alias,omitempty"` - AutoApproval *ResourceSet `json:"autoApproval,omitempty"` - EnableProxyProtocol *bool `json:"enableProxyProtocol,omitempty"` - Fqdns *[]string `json:"fqdns,omitempty"` - IPConfigurations *[]PrivateLinkServiceIPConfiguration `json:"ipConfigurations,omitempty"` - LoadBalancerFrontendIPConfigurations *[]FrontendIPConfiguration `json:"loadBalancerFrontendIpConfigurations,omitempty"` - NetworkInterfaces *[]NetworkInterface `json:"networkInterfaces,omitempty"` - PrivateEndpointConnections *[]PrivateEndpointConnection `json:"privateEndpointConnections,omitempty"` - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` - Visibility *ResourceSet `json:"visibility,omitempty"` -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_serviceendpointpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_serviceendpointpropertiesformat.go deleted file mode 100644 index a134bda64bd6..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_serviceendpointpropertiesformat.go +++ /dev/null @@ -1,10 +0,0 @@ -package dscpconfigurations - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -type ServiceEndpointPropertiesFormat struct { - Locations *[]string `json:"locations,omitempty"` - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` - Service *string `json:"service,omitempty"` -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/version.go deleted file mode 100644 index 291ded8f891a..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/version.go +++ /dev/null @@ -1,10 +0,0 @@ -package dscpconfigurations - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -const defaultApiVersion = "2023-11-01" - -func userAgent() string { - return "hashicorp/go-azure-sdk/dscpconfigurations/2023-11-01" -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/endpointservices/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/endpointservices/README.md deleted file mode 100644 index f2d59a07105a..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/endpointservices/README.md +++ /dev/null @@ -1,37 +0,0 @@ - -## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/endpointservices` Documentation - -The `endpointservices` SDK allows for interaction with Azure Resource Manager `network` (API Version `2023-11-01`). - -This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). - -### Import Path - -```go -import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/endpointservices" -``` - - -### Client Initialization - -```go -client := endpointservices.NewEndpointServicesClientWithBaseURI("https://management.azure.com") -client.Client.Authorizer = authorizer -``` - - -### Example Usage: `EndpointServicesClient.AvailableEndpointServicesList` - -```go -ctx := context.TODO() -id := endpointservices.NewLocationID("12345678-1234-9876-4563-123456789012", "locationName") - -// alternatively `client.AvailableEndpointServicesList(ctx, id)` can be used to do batched pagination -items, err := client.AvailableEndpointServicesListComplete(ctx, id) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/endpointservices/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/endpointservices/version.go deleted file mode 100644 index 590185eb2a4c..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/endpointservices/version.go +++ /dev/null @@ -1,10 +0,0 @@ -package endpointservices - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -const defaultApiVersion = "2023-11-01" - -func userAgent() string { - return "hashicorp/go-azure-sdk/endpointservices/2023-11-01" -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitarptable/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitarptable/README.md deleted file mode 100644 index 472ca59abc53..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitarptable/README.md +++ /dev/null @@ -1,37 +0,0 @@ - -## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitarptable` Documentation - -The `expressroutecircuitarptable` SDK allows for interaction with Azure Resource Manager `network` (API Version `2023-11-01`). - -This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). - -### Import Path - -```go -import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitarptable" -``` - - -### Client Initialization - -```go -client := expressroutecircuitarptable.NewExpressRouteCircuitArpTableClientWithBaseURI("https://management.azure.com") -client.Client.Authorizer = authorizer -``` - - -### Example Usage: `ExpressRouteCircuitArpTableClient.ExpressRouteCircuitsListArpTable` - -```go -ctx := context.TODO() -id := expressroutecircuitarptable.NewArpTableID("12345678-1234-9876-4563-123456789012", "example-resource-group", "expressRouteCircuitName", "peeringName", "arpTableName") - -// alternatively `client.ExpressRouteCircuitsListArpTable(ctx, id)` can be used to do batched pagination -items, err := client.ExpressRouteCircuitsListArpTableComplete(ctx, id) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitarptable/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitarptable/version.go deleted file mode 100644 index 560b7f653555..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitarptable/version.go +++ /dev/null @@ -1,10 +0,0 @@ -package expressroutecircuitarptable - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -const defaultApiVersion = "2023-11-01" - -func userAgent() string { - return "hashicorp/go-azure-sdk/expressroutecircuitarptable/2023-11-01" -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitauthorizations/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitauthorizations/README.md deleted file mode 100644 index 3ea0a3cc9a4c..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitauthorizations/README.md +++ /dev/null @@ -1,82 +0,0 @@ - -## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitauthorizations` Documentation - -The `expressroutecircuitauthorizations` SDK allows for interaction with Azure Resource Manager `network` (API Version `2023-11-01`). - -This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). - -### Import Path - -```go -import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitauthorizations" -``` - - -### Client Initialization - -```go -client := expressroutecircuitauthorizations.NewExpressRouteCircuitAuthorizationsClientWithBaseURI("https://management.azure.com") -client.Client.Authorizer = authorizer -``` - - -### Example Usage: `ExpressRouteCircuitAuthorizationsClient.CreateOrUpdate` - -```go -ctx := context.TODO() -id := expressroutecircuitauthorizations.NewAuthorizationID("12345678-1234-9876-4563-123456789012", "example-resource-group", "expressRouteCircuitName", "authorizationName") - -payload := expressroutecircuitauthorizations.ExpressRouteCircuitAuthorization{ - // ... -} - - -if err := client.CreateOrUpdateThenPoll(ctx, id, payload); err != nil { - // handle the error -} -``` - - -### Example Usage: `ExpressRouteCircuitAuthorizationsClient.Delete` - -```go -ctx := context.TODO() -id := expressroutecircuitauthorizations.NewAuthorizationID("12345678-1234-9876-4563-123456789012", "example-resource-group", "expressRouteCircuitName", "authorizationName") - -if err := client.DeleteThenPoll(ctx, id); err != nil { - // handle the error -} -``` - - -### Example Usage: `ExpressRouteCircuitAuthorizationsClient.Get` - -```go -ctx := context.TODO() -id := expressroutecircuitauthorizations.NewAuthorizationID("12345678-1234-9876-4563-123456789012", "example-resource-group", "expressRouteCircuitName", "authorizationName") - -read, err := client.Get(ctx, id) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `ExpressRouteCircuitAuthorizationsClient.List` - -```go -ctx := context.TODO() -id := expressroutecircuitauthorizations.NewExpressRouteCircuitID("12345678-1234-9876-4563-123456789012", "example-resource-group", "expressRouteCircuitName") - -// alternatively `client.List(ctx, id)` can be used to do batched pagination -items, err := client.ListComplete(ctx, id) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitauthorizations/model_authorizationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitauthorizations/model_authorizationpropertiesformat.go deleted file mode 100644 index e3d3f2bdb8df..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitauthorizations/model_authorizationpropertiesformat.go +++ /dev/null @@ -1,10 +0,0 @@ -package expressroutecircuitauthorizations - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -type AuthorizationPropertiesFormat struct { - AuthorizationKey *string `json:"authorizationKey,omitempty"` - AuthorizationUseStatus *AuthorizationUseStatus `json:"authorizationUseStatus,omitempty"` - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitauthorizations/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitauthorizations/version.go deleted file mode 100644 index 6a23b660d109..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitauthorizations/version.go +++ /dev/null @@ -1,10 +0,0 @@ -package expressroutecircuitauthorizations - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -const defaultApiVersion = "2023-11-01" - -func userAgent() string { - return "hashicorp/go-azure-sdk/expressroutecircuitauthorizations/2023-11-01" -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitconnections/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitconnections/README.md deleted file mode 100644 index b99d394292e9..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitconnections/README.md +++ /dev/null @@ -1,83 +0,0 @@ - -## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitconnections` Documentation - -The `expressroutecircuitconnections` SDK allows for interaction with Azure Resource Manager `network` (API Version `2023-11-01`). - -This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). - -### Import Path - -```go -import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" -import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitconnections" -``` - - -### Client Initialization - -```go -client := expressroutecircuitconnections.NewExpressRouteCircuitConnectionsClientWithBaseURI("https://management.azure.com") -client.Client.Authorizer = authorizer -``` - - -### Example Usage: `ExpressRouteCircuitConnectionsClient.CreateOrUpdate` - -```go -ctx := context.TODO() -id := expressroutecircuitconnections.NewPeeringConnectionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "expressRouteCircuitName", "peeringName", "connectionName") - -payload := expressroutecircuitconnections.ExpressRouteCircuitConnection{ - // ... -} - - -if err := client.CreateOrUpdateThenPoll(ctx, id, payload); err != nil { - // handle the error -} -``` - - -### Example Usage: `ExpressRouteCircuitConnectionsClient.Delete` - -```go -ctx := context.TODO() -id := expressroutecircuitconnections.NewPeeringConnectionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "expressRouteCircuitName", "peeringName", "connectionName") - -if err := client.DeleteThenPoll(ctx, id); err != nil { - // handle the error -} -``` - - -### Example Usage: `ExpressRouteCircuitConnectionsClient.Get` - -```go -ctx := context.TODO() -id := expressroutecircuitconnections.NewPeeringConnectionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "expressRouteCircuitName", "peeringName", "connectionName") - -read, err := client.Get(ctx, id) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `ExpressRouteCircuitConnectionsClient.List` - -```go -ctx := context.TODO() -id := commonids.NewExpressRouteCircuitPeeringID("12345678-1234-9876-4563-123456789012", "example-resource-group", "expressRouteCircuitName", "peeringName") - -// alternatively `client.List(ctx, id)` can be used to do batched pagination -items, err := client.ListComplete(ctx, id) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitconnections/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitconnections/version.go deleted file mode 100644 index d14d3ebb8deb..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitconnections/version.go +++ /dev/null @@ -1,10 +0,0 @@ -package expressroutecircuitconnections - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -const defaultApiVersion = "2023-11-01" - -func userAgent() string { - return "hashicorp/go-azure-sdk/expressroutecircuitconnections/2023-11-01" -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitpeerings/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitpeerings/README.md deleted file mode 100644 index 4e66d37cbea5..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitpeerings/README.md +++ /dev/null @@ -1,83 +0,0 @@ - -## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitpeerings` Documentation - -The `expressroutecircuitpeerings` SDK allows for interaction with Azure Resource Manager `network` (API Version `2023-11-01`). - -This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). - -### Import Path - -```go -import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" -import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitpeerings" -``` - - -### Client Initialization - -```go -client := expressroutecircuitpeerings.NewExpressRouteCircuitPeeringsClientWithBaseURI("https://management.azure.com") -client.Client.Authorizer = authorizer -``` - - -### Example Usage: `ExpressRouteCircuitPeeringsClient.CreateOrUpdate` - -```go -ctx := context.TODO() -id := commonids.NewExpressRouteCircuitPeeringID("12345678-1234-9876-4563-123456789012", "example-resource-group", "expressRouteCircuitName", "peeringName") - -payload := expressroutecircuitpeerings.ExpressRouteCircuitPeering{ - // ... -} - - -if err := client.CreateOrUpdateThenPoll(ctx, id, payload); err != nil { - // handle the error -} -``` - - -### Example Usage: `ExpressRouteCircuitPeeringsClient.Delete` - -```go -ctx := context.TODO() -id := commonids.NewExpressRouteCircuitPeeringID("12345678-1234-9876-4563-123456789012", "example-resource-group", "expressRouteCircuitName", "peeringName") - -if err := client.DeleteThenPoll(ctx, id); err != nil { - // handle the error -} -``` - - -### Example Usage: `ExpressRouteCircuitPeeringsClient.Get` - -```go -ctx := context.TODO() -id := commonids.NewExpressRouteCircuitPeeringID("12345678-1234-9876-4563-123456789012", "example-resource-group", "expressRouteCircuitName", "peeringName") - -read, err := client.Get(ctx, id) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `ExpressRouteCircuitPeeringsClient.List` - -```go -ctx := context.TODO() -id := expressroutecircuitpeerings.NewExpressRouteCircuitID("12345678-1234-9876-4563-123456789012", "example-resource-group", "expressRouteCircuitName") - -// alternatively `client.List(ctx, id)` can be used to do batched pagination -items, err := client.ListComplete(ctx, id) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitpeerings/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitpeerings/version.go deleted file mode 100644 index e1a25aedb019..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitpeerings/version.go +++ /dev/null @@ -1,10 +0,0 @@ -package expressroutecircuitpeerings - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -const defaultApiVersion = "2023-11-01" - -func userAgent() string { - return "hashicorp/go-azure-sdk/expressroutecircuitpeerings/2023-11-01" -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitroutestable/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitroutestable/README.md deleted file mode 100644 index c5c56807c037..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitroutestable/README.md +++ /dev/null @@ -1,37 +0,0 @@ - -## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitroutestable` Documentation - -The `expressroutecircuitroutestable` SDK allows for interaction with Azure Resource Manager `network` (API Version `2023-11-01`). - -This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). - -### Import Path - -```go -import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitroutestable" -``` - - -### Client Initialization - -```go -client := expressroutecircuitroutestable.NewExpressRouteCircuitRoutesTableClientWithBaseURI("https://management.azure.com") -client.Client.Authorizer = authorizer -``` - - -### Example Usage: `ExpressRouteCircuitRoutesTableClient.ExpressRouteCircuitsListRoutesTable` - -```go -ctx := context.TODO() -id := expressroutecircuitroutestable.NewPeeringRouteTableID("12345678-1234-9876-4563-123456789012", "example-resource-group", "expressRouteCircuitName", "peeringName", "routeTableName") - -// alternatively `client.ExpressRouteCircuitsListRoutesTable(ctx, id)` can be used to do batched pagination -items, err := client.ExpressRouteCircuitsListRoutesTableComplete(ctx, id) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitroutestable/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitroutestable/version.go deleted file mode 100644 index 6b442c304e96..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitroutestable/version.go +++ /dev/null @@ -1,10 +0,0 @@ -package expressroutecircuitroutestable - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -const defaultApiVersion = "2023-11-01" - -func userAgent() string { - return "hashicorp/go-azure-sdk/expressroutecircuitroutestable/2023-11-01" -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitroutestablesummary/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitroutestablesummary/README.md deleted file mode 100644 index 0f9b0429ceaf..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitroutestablesummary/README.md +++ /dev/null @@ -1,37 +0,0 @@ - -## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitroutestablesummary` Documentation - -The `expressroutecircuitroutestablesummary` SDK allows for interaction with Azure Resource Manager `network` (API Version `2023-11-01`). - -This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). - -### Import Path - -```go -import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitroutestablesummary" -``` - - -### Client Initialization - -```go -client := expressroutecircuitroutestablesummary.NewExpressRouteCircuitRoutesTableSummaryClientWithBaseURI("https://management.azure.com") -client.Client.Authorizer = authorizer -``` - - -### Example Usage: `ExpressRouteCircuitRoutesTableSummaryClient.ExpressRouteCircuitsListRoutesTableSummary` - -```go -ctx := context.TODO() -id := expressroutecircuitroutestablesummary.NewRouteTablesSummaryID("12345678-1234-9876-4563-123456789012", "example-resource-group", "expressRouteCircuitName", "peeringName", "routeTablesSummaryName") - -// alternatively `client.ExpressRouteCircuitsListRoutesTableSummary(ctx, id)` can be used to do batched pagination -items, err := client.ExpressRouteCircuitsListRoutesTableSummaryComplete(ctx, id) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitroutestablesummary/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitroutestablesummary/version.go deleted file mode 100644 index 5d76832ab827..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitroutestablesummary/version.go +++ /dev/null @@ -1,10 +0,0 @@ -package expressroutecircuitroutestablesummary - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -const defaultApiVersion = "2023-11-01" - -func userAgent() string { - return "hashicorp/go-azure-sdk/expressroutecircuitroutestablesummary/2023-11-01" -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitstats/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitstats/README.md deleted file mode 100644 index ef073b6c2d33..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitstats/README.md +++ /dev/null @@ -1,53 +0,0 @@ - -## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitstats` Documentation - -The `expressroutecircuitstats` SDK allows for interaction with Azure Resource Manager `network` (API Version `2023-11-01`). - -This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). - -### Import Path - -```go -import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" -import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitstats" -``` - - -### Client Initialization - -```go -client := expressroutecircuitstats.NewExpressRouteCircuitStatsClientWithBaseURI("https://management.azure.com") -client.Client.Authorizer = authorizer -``` - - -### Example Usage: `ExpressRouteCircuitStatsClient.ExpressRouteCircuitsGetPeeringStats` - -```go -ctx := context.TODO() -id := commonids.NewExpressRouteCircuitPeeringID("12345678-1234-9876-4563-123456789012", "example-resource-group", "expressRouteCircuitName", "peeringName") - -read, err := client.ExpressRouteCircuitsGetPeeringStats(ctx, id) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `ExpressRouteCircuitStatsClient.ExpressRouteCircuitsGetStats` - -```go -ctx := context.TODO() -id := expressroutecircuitstats.NewExpressRouteCircuitID("12345678-1234-9876-4563-123456789012", "example-resource-group", "expressRouteCircuitName") - -read, err := client.ExpressRouteCircuitsGetStats(ctx, id) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitstats/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitstats/version.go deleted file mode 100644 index cf7a49d347a2..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitstats/version.go +++ /dev/null @@ -1,10 +0,0 @@ -package expressroutecircuitstats - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -const defaultApiVersion = "2023-11-01" - -func userAgent() string { - return "hashicorp/go-azure-sdk/expressroutecircuitstats/2023-11-01" -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteconnections/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteconnections/README.md deleted file mode 100644 index b445eedd9dcc..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteconnections/README.md +++ /dev/null @@ -1,81 +0,0 @@ - -## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteconnections` Documentation - -The `expressrouteconnections` SDK allows for interaction with Azure Resource Manager `network` (API Version `2023-11-01`). - -This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). - -### Import Path - -```go -import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteconnections" -``` - - -### Client Initialization - -```go -client := expressrouteconnections.NewExpressRouteConnectionsClientWithBaseURI("https://management.azure.com") -client.Client.Authorizer = authorizer -``` - - -### Example Usage: `ExpressRouteConnectionsClient.CreateOrUpdate` - -```go -ctx := context.TODO() -id := expressrouteconnections.NewExpressRouteConnectionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "expressRouteGatewayName", "expressRouteConnectionName") - -payload := expressrouteconnections.ExpressRouteConnection{ - // ... -} - - -if err := client.CreateOrUpdateThenPoll(ctx, id, payload); err != nil { - // handle the error -} -``` - - -### Example Usage: `ExpressRouteConnectionsClient.Delete` - -```go -ctx := context.TODO() -id := expressrouteconnections.NewExpressRouteConnectionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "expressRouteGatewayName", "expressRouteConnectionName") - -if err := client.DeleteThenPoll(ctx, id); err != nil { - // handle the error -} -``` - - -### Example Usage: `ExpressRouteConnectionsClient.Get` - -```go -ctx := context.TODO() -id := expressrouteconnections.NewExpressRouteConnectionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "expressRouteGatewayName", "expressRouteConnectionName") - -read, err := client.Get(ctx, id) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `ExpressRouteConnectionsClient.List` - -```go -ctx := context.TODO() -id := expressrouteconnections.NewExpressRouteGatewayID("12345678-1234-9876-4563-123456789012", "example-resource-group", "expressRouteGatewayName") - -read, err := client.List(ctx, id) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteconnections/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteconnections/version.go deleted file mode 100644 index 4059fb601ed4..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteconnections/version.go +++ /dev/null @@ -1,10 +0,0 @@ -package expressrouteconnections - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -const defaultApiVersion = "2023-11-01" - -func userAgent() string { - return "hashicorp/go-azure-sdk/expressrouteconnections/2023-11-01" -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnectionarptable/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnectionarptable/README.md deleted file mode 100644 index 5c5ac716f041..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnectionarptable/README.md +++ /dev/null @@ -1,37 +0,0 @@ - -## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnectionarptable` Documentation - -The `expressroutecrossconnectionarptable` SDK allows for interaction with Azure Resource Manager `network` (API Version `2023-11-01`). - -This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). - -### Import Path - -```go -import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnectionarptable" -``` - - -### Client Initialization - -```go -client := expressroutecrossconnectionarptable.NewExpressRouteCrossConnectionArpTableClientWithBaseURI("https://management.azure.com") -client.Client.Authorizer = authorizer -``` - - -### Example Usage: `ExpressRouteCrossConnectionArpTableClient.ExpressRouteCrossConnectionsListArpTable` - -```go -ctx := context.TODO() -id := expressroutecrossconnectionarptable.NewPeeringArpTableID("12345678-1234-9876-4563-123456789012", "example-resource-group", "expressRouteCrossConnectionName", "peeringName", "arpTableName") - -// alternatively `client.ExpressRouteCrossConnectionsListArpTable(ctx, id)` can be used to do batched pagination -items, err := client.ExpressRouteCrossConnectionsListArpTableComplete(ctx, id) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnectionarptable/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnectionarptable/version.go deleted file mode 100644 index 901342a916ca..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnectionarptable/version.go +++ /dev/null @@ -1,10 +0,0 @@ -package expressroutecrossconnectionarptable - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -const defaultApiVersion = "2023-11-01" - -func userAgent() string { - return "hashicorp/go-azure-sdk/expressroutecrossconnectionarptable/2023-11-01" -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnectionpeerings/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnectionpeerings/README.md deleted file mode 100644 index 1aa20c96e1f2..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnectionpeerings/README.md +++ /dev/null @@ -1,82 +0,0 @@ - -## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnectionpeerings` Documentation - -The `expressroutecrossconnectionpeerings` SDK allows for interaction with Azure Resource Manager `network` (API Version `2023-11-01`). - -This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). - -### Import Path - -```go -import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnectionpeerings" -``` - - -### Client Initialization - -```go -client := expressroutecrossconnectionpeerings.NewExpressRouteCrossConnectionPeeringsClientWithBaseURI("https://management.azure.com") -client.Client.Authorizer = authorizer -``` - - -### Example Usage: `ExpressRouteCrossConnectionPeeringsClient.CreateOrUpdate` - -```go -ctx := context.TODO() -id := expressroutecrossconnectionpeerings.NewPeeringID("12345678-1234-9876-4563-123456789012", "example-resource-group", "expressRouteCrossConnectionName", "peeringName") - -payload := expressroutecrossconnectionpeerings.ExpressRouteCrossConnectionPeering{ - // ... -} - - -if err := client.CreateOrUpdateThenPoll(ctx, id, payload); err != nil { - // handle the error -} -``` - - -### Example Usage: `ExpressRouteCrossConnectionPeeringsClient.Delete` - -```go -ctx := context.TODO() -id := expressroutecrossconnectionpeerings.NewPeeringID("12345678-1234-9876-4563-123456789012", "example-resource-group", "expressRouteCrossConnectionName", "peeringName") - -if err := client.DeleteThenPoll(ctx, id); err != nil { - // handle the error -} -``` - - -### Example Usage: `ExpressRouteCrossConnectionPeeringsClient.Get` - -```go -ctx := context.TODO() -id := expressroutecrossconnectionpeerings.NewPeeringID("12345678-1234-9876-4563-123456789012", "example-resource-group", "expressRouteCrossConnectionName", "peeringName") - -read, err := client.Get(ctx, id) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `ExpressRouteCrossConnectionPeeringsClient.List` - -```go -ctx := context.TODO() -id := expressroutecrossconnectionpeerings.NewExpressRouteCrossConnectionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "expressRouteCrossConnectionName") - -// alternatively `client.List(ctx, id)` can be used to do batched pagination -items, err := client.ListComplete(ctx, id) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnectionpeerings/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnectionpeerings/version.go deleted file mode 100644 index 36b0b29e07c4..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnectionpeerings/version.go +++ /dev/null @@ -1,10 +0,0 @@ -package expressroutecrossconnectionpeerings - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -const defaultApiVersion = "2023-11-01" - -func userAgent() string { - return "hashicorp/go-azure-sdk/expressroutecrossconnectionpeerings/2023-11-01" -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnectionroutetable/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnectionroutetable/README.md deleted file mode 100644 index ec4ead84ac6e..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnectionroutetable/README.md +++ /dev/null @@ -1,37 +0,0 @@ - -## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnectionroutetable` Documentation - -The `expressroutecrossconnectionroutetable` SDK allows for interaction with Azure Resource Manager `network` (API Version `2023-11-01`). - -This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). - -### Import Path - -```go -import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnectionroutetable" -``` - - -### Client Initialization - -```go -client := expressroutecrossconnectionroutetable.NewExpressRouteCrossConnectionRouteTableClientWithBaseURI("https://management.azure.com") -client.Client.Authorizer = authorizer -``` - - -### Example Usage: `ExpressRouteCrossConnectionRouteTableClient.ExpressRouteCrossConnectionsListRoutesTable` - -```go -ctx := context.TODO() -id := expressroutecrossconnectionroutetable.NewExpressRouteCrossConnectionPeeringRouteTableID("12345678-1234-9876-4563-123456789012", "example-resource-group", "expressRouteCrossConnectionName", "peeringName", "routeTableName") - -// alternatively `client.ExpressRouteCrossConnectionsListRoutesTable(ctx, id)` can be used to do batched pagination -items, err := client.ExpressRouteCrossConnectionsListRoutesTableComplete(ctx, id) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnectionroutetable/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnectionroutetable/version.go deleted file mode 100644 index fc08bb11bbb9..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnectionroutetable/version.go +++ /dev/null @@ -1,10 +0,0 @@ -package expressroutecrossconnectionroutetable - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -const defaultApiVersion = "2023-11-01" - -func userAgent() string { - return "hashicorp/go-azure-sdk/expressroutecrossconnectionroutetable/2023-11-01" -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnectionroutetablesummary/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnectionroutetablesummary/README.md deleted file mode 100644 index 50f45e5b3322..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnectionroutetablesummary/README.md +++ /dev/null @@ -1,37 +0,0 @@ - -## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnectionroutetablesummary` Documentation - -The `expressroutecrossconnectionroutetablesummary` SDK allows for interaction with Azure Resource Manager `network` (API Version `2023-11-01`). - -This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). - -### Import Path - -```go -import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnectionroutetablesummary" -``` - - -### Client Initialization - -```go -client := expressroutecrossconnectionroutetablesummary.NewExpressRouteCrossConnectionRouteTableSummaryClientWithBaseURI("https://management.azure.com") -client.Client.Authorizer = authorizer -``` - - -### Example Usage: `ExpressRouteCrossConnectionRouteTableSummaryClient.ExpressRouteCrossConnectionsListRoutesTableSummary` - -```go -ctx := context.TODO() -id := expressroutecrossconnectionroutetablesummary.NewPeeringRouteTablesSummaryID("12345678-1234-9876-4563-123456789012", "example-resource-group", "expressRouteCrossConnectionName", "peeringName", "routeTablesSummaryName") - -// alternatively `client.ExpressRouteCrossConnectionsListRoutesTableSummary(ctx, id)` can be used to do batched pagination -items, err := client.ExpressRouteCrossConnectionsListRoutesTableSummaryComplete(ctx, id) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnectionroutetablesummary/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnectionroutetablesummary/version.go deleted file mode 100644 index d57384ba64d8..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnectionroutetablesummary/version.go +++ /dev/null @@ -1,10 +0,0 @@ -package expressroutecrossconnectionroutetablesummary - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -const defaultApiVersion = "2023-11-01" - -func userAgent() string { - return "hashicorp/go-azure-sdk/expressroutecrossconnectionroutetablesummary/2023-11-01" -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnections/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnections/README.md deleted file mode 100644 index 3d5e128b46ba..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnections/README.md +++ /dev/null @@ -1,109 +0,0 @@ - -## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnections` Documentation - -The `expressroutecrossconnections` SDK allows for interaction with Azure Resource Manager `network` (API Version `2023-11-01`). - -This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). - -### Import Path - -```go -import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" -import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnections" -``` - - -### Client Initialization - -```go -client := expressroutecrossconnections.NewExpressRouteCrossConnectionsClientWithBaseURI("https://management.azure.com") -client.Client.Authorizer = authorizer -``` - - -### Example Usage: `ExpressRouteCrossConnectionsClient.CreateOrUpdate` - -```go -ctx := context.TODO() -id := expressroutecrossconnections.NewExpressRouteCrossConnectionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "expressRouteCrossConnectionName") - -payload := expressroutecrossconnections.ExpressRouteCrossConnection{ - // ... -} - - -if err := client.CreateOrUpdateThenPoll(ctx, id, payload); err != nil { - // handle the error -} -``` - - -### Example Usage: `ExpressRouteCrossConnectionsClient.Get` - -```go -ctx := context.TODO() -id := expressroutecrossconnections.NewExpressRouteCrossConnectionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "expressRouteCrossConnectionName") - -read, err := client.Get(ctx, id) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `ExpressRouteCrossConnectionsClient.List` - -```go -ctx := context.TODO() -id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012") - -// alternatively `client.List(ctx, id)` can be used to do batched pagination -items, err := client.ListComplete(ctx, id) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` - - -### Example Usage: `ExpressRouteCrossConnectionsClient.ListByResourceGroup` - -```go -ctx := context.TODO() -id := commonids.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group") - -// alternatively `client.ListByResourceGroup(ctx, id)` can be used to do batched pagination -items, err := client.ListByResourceGroupComplete(ctx, id) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` - - -### Example Usage: `ExpressRouteCrossConnectionsClient.UpdateTags` - -```go -ctx := context.TODO() -id := expressroutecrossconnections.NewExpressRouteCrossConnectionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "expressRouteCrossConnectionName") - -payload := expressroutecrossconnections.TagsObject{ - // ... -} - - -read, err := client.UpdateTags(ctx, id, payload) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnections/method_list.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnections/method_list.go deleted file mode 100644 index dc5aa7af448e..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnections/method_list.go +++ /dev/null @@ -1,106 +0,0 @@ -package expressroutecrossconnections - -import ( - "context" - "fmt" - "net/http" - - "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" - "github.com/hashicorp/go-azure-sdk/sdk/client" - "github.com/hashicorp/go-azure-sdk/sdk/odata" -) - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -type ListOperationResponse struct { - HttpResponse *http.Response - OData *odata.OData - Model *[]ExpressRouteCrossConnection -} - -type ListCompleteResult struct { - LatestHttpResponse *http.Response - Items []ExpressRouteCrossConnection -} - -type ListCustomPager struct { - NextLink *odata.Link `json:"nextLink"` -} - -func (p *ListCustomPager) NextPageLink() *odata.Link { - defer func() { - p.NextLink = nil - }() - - return p.NextLink -} - -// List ... -func (c ExpressRouteCrossConnectionsClient) List(ctx context.Context, id commonids.SubscriptionId) (result ListOperationResponse, err error) { - opts := client.RequestOptions{ - ContentType: "application/json; charset=utf-8", - ExpectedStatusCodes: []int{ - http.StatusOK, - }, - HttpMethod: http.MethodGet, - Pager: &ListCustomPager{}, - Path: fmt.Sprintf("%s/providers/Microsoft.Network/expressRouteCrossConnections", id.ID()), - } - - req, err := c.Client.NewRequest(ctx, opts) - if err != nil { - return - } - - var resp *client.Response - resp, err = req.ExecutePaged(ctx) - if resp != nil { - result.OData = resp.OData - result.HttpResponse = resp.Response - } - if err != nil { - return - } - - var values struct { - Values *[]ExpressRouteCrossConnection `json:"value"` - } - if err = resp.Unmarshal(&values); err != nil { - return - } - - result.Model = values.Values - - return -} - -// ListComplete retrieves all the results into a single object -func (c ExpressRouteCrossConnectionsClient) ListComplete(ctx context.Context, id commonids.SubscriptionId) (ListCompleteResult, error) { - return c.ListCompleteMatchingPredicate(ctx, id, ExpressRouteCrossConnectionOperationPredicate{}) -} - -// ListCompleteMatchingPredicate retrieves all the results and then applies the predicate -func (c ExpressRouteCrossConnectionsClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate ExpressRouteCrossConnectionOperationPredicate) (result ListCompleteResult, err error) { - items := make([]ExpressRouteCrossConnection, 0) - - resp, err := c.List(ctx, id) - if err != nil { - result.LatestHttpResponse = resp.HttpResponse - err = fmt.Errorf("loading results: %+v", err) - return - } - if resp.Model != nil { - for _, v := range *resp.Model { - if predicate.Matches(v) { - items = append(items, v) - } - } - } - - result = ListCompleteResult{ - LatestHttpResponse: resp.HttpResponse, - Items: items, - } - return -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnections/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnections/version.go deleted file mode 100644 index 0dea6676bacf..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnections/version.go +++ /dev/null @@ -1,10 +0,0 @@ -package expressroutecrossconnections - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -const defaultApiVersion = "2023-11-01" - -func userAgent() string { - return "hashicorp/go-azure-sdk/expressroutecrossconnections/2023-11-01" -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutelinks/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutelinks/README.md deleted file mode 100644 index 481eba0d555a..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutelinks/README.md +++ /dev/null @@ -1,53 +0,0 @@ - -## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutelinks` Documentation - -The `expressroutelinks` SDK allows for interaction with Azure Resource Manager `network` (API Version `2023-11-01`). - -This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). - -### Import Path - -```go -import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutelinks" -``` - - -### Client Initialization - -```go -client := expressroutelinks.NewExpressRouteLinksClientWithBaseURI("https://management.azure.com") -client.Client.Authorizer = authorizer -``` - - -### Example Usage: `ExpressRouteLinksClient.Get` - -```go -ctx := context.TODO() -id := expressroutelinks.NewLinkID("12345678-1234-9876-4563-123456789012", "example-resource-group", "expressRoutePortName", "linkName") - -read, err := client.Get(ctx, id) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `ExpressRouteLinksClient.List` - -```go -ctx := context.TODO() -id := expressroutelinks.NewExpressRoutePortID("12345678-1234-9876-4563-123456789012", "example-resource-group", "expressRoutePortName") - -// alternatively `client.List(ctx, id)` can be used to do batched pagination -items, err := client.ListComplete(ctx, id) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutelinks/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutelinks/version.go deleted file mode 100644 index 68fe0163e3ec..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutelinks/version.go +++ /dev/null @@ -1,10 +0,0 @@ -package expressroutelinks - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -const defaultApiVersion = "2023-11-01" - -func userAgent() string { - return "hashicorp/go-azure-sdk/expressroutelinks/2023-11-01" -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteportauthorizations/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteportauthorizations/README.md deleted file mode 100644 index fb4c6d7d8f54..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteportauthorizations/README.md +++ /dev/null @@ -1,82 +0,0 @@ - -## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteportauthorizations` Documentation - -The `expressrouteportauthorizations` SDK allows for interaction with Azure Resource Manager `network` (API Version `2023-11-01`). - -This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). - -### Import Path - -```go -import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteportauthorizations" -``` - - -### Client Initialization - -```go -client := expressrouteportauthorizations.NewExpressRoutePortAuthorizationsClientWithBaseURI("https://management.azure.com") -client.Client.Authorizer = authorizer -``` - - -### Example Usage: `ExpressRoutePortAuthorizationsClient.CreateOrUpdate` - -```go -ctx := context.TODO() -id := expressrouteportauthorizations.NewExpressRoutePortAuthorizationID("12345678-1234-9876-4563-123456789012", "example-resource-group", "expressRoutePortName", "authorizationName") - -payload := expressrouteportauthorizations.ExpressRoutePortAuthorization{ - // ... -} - - -if err := client.CreateOrUpdateThenPoll(ctx, id, payload); err != nil { - // handle the error -} -``` - - -### Example Usage: `ExpressRoutePortAuthorizationsClient.Delete` - -```go -ctx := context.TODO() -id := expressrouteportauthorizations.NewExpressRoutePortAuthorizationID("12345678-1234-9876-4563-123456789012", "example-resource-group", "expressRoutePortName", "authorizationName") - -if err := client.DeleteThenPoll(ctx, id); err != nil { - // handle the error -} -``` - - -### Example Usage: `ExpressRoutePortAuthorizationsClient.Get` - -```go -ctx := context.TODO() -id := expressrouteportauthorizations.NewExpressRoutePortAuthorizationID("12345678-1234-9876-4563-123456789012", "example-resource-group", "expressRoutePortName", "authorizationName") - -read, err := client.Get(ctx, id) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `ExpressRoutePortAuthorizationsClient.List` - -```go -ctx := context.TODO() -id := expressrouteportauthorizations.NewExpressRoutePortID("12345678-1234-9876-4563-123456789012", "example-resource-group", "expressRoutePortName") - -// alternatively `client.List(ctx, id)` can be used to do batched pagination -items, err := client.ListComplete(ctx, id) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteportauthorizations/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteportauthorizations/version.go deleted file mode 100644 index 1bf60f25da32..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteportauthorizations/version.go +++ /dev/null @@ -1,10 +0,0 @@ -package expressrouteportauthorizations - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -const defaultApiVersion = "2023-11-01" - -func userAgent() string { - return "hashicorp/go-azure-sdk/expressrouteportauthorizations/2023-11-01" -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteportslocations/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteportslocations/README.md deleted file mode 100644 index e0c809ccc07f..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteportslocations/README.md +++ /dev/null @@ -1,54 +0,0 @@ - -## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteportslocations` Documentation - -The `expressrouteportslocations` SDK allows for interaction with Azure Resource Manager `network` (API Version `2023-11-01`). - -This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). - -### Import Path - -```go -import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" -import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteportslocations" -``` - - -### Client Initialization - -```go -client := expressrouteportslocations.NewExpressRoutePortsLocationsClientWithBaseURI("https://management.azure.com") -client.Client.Authorizer = authorizer -``` - - -### Example Usage: `ExpressRoutePortsLocationsClient.Get` - -```go -ctx := context.TODO() -id := expressrouteportslocations.NewExpressRoutePortsLocationID("12345678-1234-9876-4563-123456789012", "expressRoutePortsLocationName") - -read, err := client.Get(ctx, id) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `ExpressRoutePortsLocationsClient.List` - -```go -ctx := context.TODO() -id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012") - -// alternatively `client.List(ctx, id)` can be used to do batched pagination -items, err := client.ListComplete(ctx, id) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteportslocations/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteportslocations/version.go deleted file mode 100644 index bc904c8fb8e0..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteportslocations/version.go +++ /dev/null @@ -1,10 +0,0 @@ -package expressrouteportslocations - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -const defaultApiVersion = "2023-11-01" - -func userAgent() string { - return "hashicorp/go-azure-sdk/expressrouteportslocations/2023-11-01" -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteproviderports/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteproviderports/README.md deleted file mode 100644 index ae8eb0787a28..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteproviderports/README.md +++ /dev/null @@ -1,54 +0,0 @@ - -## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteproviderports` Documentation - -The `expressrouteproviderports` SDK allows for interaction with Azure Resource Manager `network` (API Version `2023-11-01`). - -This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). - -### Import Path - -```go -import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" -import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteproviderports" -``` - - -### Client Initialization - -```go -client := expressrouteproviderports.NewExpressRouteProviderPortsClientWithBaseURI("https://management.azure.com") -client.Client.Authorizer = authorizer -``` - - -### Example Usage: `ExpressRouteProviderPortsClient.ExpressRouteProviderPort` - -```go -ctx := context.TODO() -id := expressrouteproviderports.NewExpressRouteProviderPortID("12345678-1234-9876-4563-123456789012", "expressRouteProviderPortName") - -read, err := client.ExpressRouteProviderPort(ctx, id) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `ExpressRouteProviderPortsClient.LocationList` - -```go -ctx := context.TODO() -id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012") - -// alternatively `client.LocationList(ctx, id, expressrouteproviderports.DefaultLocationListOperationOptions())` can be used to do batched pagination -items, err := client.LocationListComplete(ctx, id, expressrouteproviderports.DefaultLocationListOperationOptions()) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteproviderports/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteproviderports/version.go deleted file mode 100644 index 598703ffe4f4..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteproviderports/version.go +++ /dev/null @@ -1,10 +0,0 @@ -package expressrouteproviderports - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -const defaultApiVersion = "2023-11-01" - -func userAgent() string { - return "hashicorp/go-azure-sdk/expressrouteproviderports/2023-11-01" -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteserviceproviders/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteserviceproviders/README.md deleted file mode 100644 index d5360cbd62d5..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteserviceproviders/README.md +++ /dev/null @@ -1,38 +0,0 @@ - -## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteserviceproviders` Documentation - -The `expressrouteserviceproviders` SDK allows for interaction with Azure Resource Manager `network` (API Version `2023-11-01`). - -This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). - -### Import Path - -```go -import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" -import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteserviceproviders" -``` - - -### Client Initialization - -```go -client := expressrouteserviceproviders.NewExpressRouteServiceProvidersClientWithBaseURI("https://management.azure.com") -client.Client.Authorizer = authorizer -``` - - -### Example Usage: `ExpressRouteServiceProvidersClient.List` - -```go -ctx := context.TODO() -id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012") - -// alternatively `client.List(ctx, id)` can be used to do batched pagination -items, err := client.ListComplete(ctx, id) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteserviceproviders/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteserviceproviders/version.go deleted file mode 100644 index b4db33f2c73b..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteserviceproviders/version.go +++ /dev/null @@ -1,10 +0,0 @@ -package expressrouteserviceproviders - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -const defaultApiVersion = "2023-11-01" - -func userAgent() string { - return "hashicorp/go-azure-sdk/expressrouteserviceproviders/2023-11-01" -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/firewallpolicyrulecollectiongroups/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/firewallpolicyrulecollectiongroups/README.md deleted file mode 100644 index 10bf14d64488..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/firewallpolicyrulecollectiongroups/README.md +++ /dev/null @@ -1,82 +0,0 @@ - -## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/firewallpolicyrulecollectiongroups` Documentation - -The `firewallpolicyrulecollectiongroups` SDK allows for interaction with Azure Resource Manager `network` (API Version `2023-11-01`). - -This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). - -### Import Path - -```go -import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/firewallpolicyrulecollectiongroups" -``` - - -### Client Initialization - -```go -client := firewallpolicyrulecollectiongroups.NewFirewallPolicyRuleCollectionGroupsClientWithBaseURI("https://management.azure.com") -client.Client.Authorizer = authorizer -``` - - -### Example Usage: `FirewallPolicyRuleCollectionGroupsClient.CreateOrUpdate` - -```go -ctx := context.TODO() -id := firewallpolicyrulecollectiongroups.NewRuleCollectionGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group", "firewallPolicyName", "ruleCollectionGroupName") - -payload := firewallpolicyrulecollectiongroups.FirewallPolicyRuleCollectionGroup{ - // ... -} - - -if err := client.CreateOrUpdateThenPoll(ctx, id, payload); err != nil { - // handle the error -} -``` - - -### Example Usage: `FirewallPolicyRuleCollectionGroupsClient.Delete` - -```go -ctx := context.TODO() -id := firewallpolicyrulecollectiongroups.NewRuleCollectionGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group", "firewallPolicyName", "ruleCollectionGroupName") - -if err := client.DeleteThenPoll(ctx, id); err != nil { - // handle the error -} -``` - - -### Example Usage: `FirewallPolicyRuleCollectionGroupsClient.Get` - -```go -ctx := context.TODO() -id := firewallpolicyrulecollectiongroups.NewRuleCollectionGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group", "firewallPolicyName", "ruleCollectionGroupName") - -read, err := client.Get(ctx, id) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `FirewallPolicyRuleCollectionGroupsClient.List` - -```go -ctx := context.TODO() -id := firewallpolicyrulecollectiongroups.NewFirewallPolicyID("12345678-1234-9876-4563-123456789012", "example-resource-group", "firewallPolicyName") - -// alternatively `client.List(ctx, id)` can be used to do batched pagination -items, err := client.ListComplete(ctx, id) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/firewallpolicyrulecollectiongroups/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/firewallpolicyrulecollectiongroups/version.go deleted file mode 100644 index 5a0c081ae4ad..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/firewallpolicyrulecollectiongroups/version.go +++ /dev/null @@ -1,10 +0,0 @@ -package firewallpolicyrulecollectiongroups - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -const defaultApiVersion = "2023-11-01" - -func userAgent() string { - return "hashicorp/go-azure-sdk/firewallpolicyrulecollectiongroups/2023-11-01" -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/flowlogs/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/flowlogs/README.md deleted file mode 100644 index cbb5c4df3737..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/flowlogs/README.md +++ /dev/null @@ -1,103 +0,0 @@ - -## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/flowlogs` Documentation - -The `flowlogs` SDK allows for interaction with Azure Resource Manager `network` (API Version `2023-11-01`). - -This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). - -### Import Path - -```go -import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/flowlogs" -``` - - -### Client Initialization - -```go -client := flowlogs.NewFlowLogsClientWithBaseURI("https://management.azure.com") -client.Client.Authorizer = authorizer -``` - - -### Example Usage: `FlowLogsClient.CreateOrUpdate` - -```go -ctx := context.TODO() -id := flowlogs.NewFlowLogID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkWatcherName", "flowLogName") - -payload := flowlogs.FlowLog{ - // ... -} - - -if err := client.CreateOrUpdateThenPoll(ctx, id, payload); err != nil { - // handle the error -} -``` - - -### Example Usage: `FlowLogsClient.Delete` - -```go -ctx := context.TODO() -id := flowlogs.NewFlowLogID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkWatcherName", "flowLogName") - -if err := client.DeleteThenPoll(ctx, id); err != nil { - // handle the error -} -``` - - -### Example Usage: `FlowLogsClient.Get` - -```go -ctx := context.TODO() -id := flowlogs.NewFlowLogID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkWatcherName", "flowLogName") - -read, err := client.Get(ctx, id) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `FlowLogsClient.List` - -```go -ctx := context.TODO() -id := flowlogs.NewNetworkWatcherID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkWatcherName") - -// alternatively `client.List(ctx, id)` can be used to do batched pagination -items, err := client.ListComplete(ctx, id) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` - - -### Example Usage: `FlowLogsClient.UpdateTags` - -```go -ctx := context.TODO() -id := flowlogs.NewFlowLogID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkWatcherName", "flowLogName") - -payload := flowlogs.TagsObject{ - // ... -} - - -read, err := client.UpdateTags(ctx, id, payload) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/flowlogs/model_flowlog.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/flowlogs/model_flowlog.go deleted file mode 100644 index 6cb0c1a33b59..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/flowlogs/model_flowlog.go +++ /dev/null @@ -1,14 +0,0 @@ -package flowlogs - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -type FlowLog struct { - Etag *string `json:"etag,omitempty"` - Id *string `json:"id,omitempty"` - Location *string `json:"location,omitempty"` - Name *string `json:"name,omitempty"` - Properties *FlowLogPropertiesFormat `json:"properties,omitempty"` - Tags *map[string]string `json:"tags,omitempty"` - Type *string `json:"type,omitempty"` -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/flowlogs/model_flowlogpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/flowlogs/model_flowlogpropertiesformat.go deleted file mode 100644 index e08f8fc61241..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/flowlogs/model_flowlogpropertiesformat.go +++ /dev/null @@ -1,15 +0,0 @@ -package flowlogs - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -type FlowLogPropertiesFormat struct { - Enabled *bool `json:"enabled,omitempty"` - FlowAnalyticsConfiguration *TrafficAnalyticsProperties `json:"flowAnalyticsConfiguration,omitempty"` - Format *FlowLogFormatParameters `json:"format,omitempty"` - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` - RetentionPolicy *RetentionPolicyParameters `json:"retentionPolicy,omitempty"` - StorageId string `json:"storageId"` - TargetResourceGuid *string `json:"targetResourceGuid,omitempty"` - TargetResourceId string `json:"targetResourceId"` -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/flowlogs/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/flowlogs/version.go deleted file mode 100644 index 18b431977a55..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/flowlogs/version.go +++ /dev/null @@ -1,10 +0,0 @@ -package flowlogs - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -const defaultApiVersion = "2023-11-01" - -func userAgent() string { - return "hashicorp/go-azure-sdk/flowlogs/2023-11-01" -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ipallocations/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ipallocations/README.md deleted file mode 100644 index 0a0bdb4f5b0f..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ipallocations/README.md +++ /dev/null @@ -1,121 +0,0 @@ - -## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ipallocations` Documentation - -The `ipallocations` SDK allows for interaction with Azure Resource Manager `network` (API Version `2023-11-01`). - -This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). - -### Import Path - -```go -import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" -import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ipallocations" -``` - - -### Client Initialization - -```go -client := ipallocations.NewIPAllocationsClientWithBaseURI("https://management.azure.com") -client.Client.Authorizer = authorizer -``` - - -### Example Usage: `IPAllocationsClient.CreateOrUpdate` - -```go -ctx := context.TODO() -id := ipallocations.NewIPAllocationID("12345678-1234-9876-4563-123456789012", "example-resource-group", "ipAllocationName") - -payload := ipallocations.IPAllocation{ - // ... -} - - -if err := client.CreateOrUpdateThenPoll(ctx, id, payload); err != nil { - // handle the error -} -``` - - -### Example Usage: `IPAllocationsClient.Delete` - -```go -ctx := context.TODO() -id := ipallocations.NewIPAllocationID("12345678-1234-9876-4563-123456789012", "example-resource-group", "ipAllocationName") - -if err := client.DeleteThenPoll(ctx, id); err != nil { - // handle the error -} -``` - - -### Example Usage: `IPAllocationsClient.Get` - -```go -ctx := context.TODO() -id := ipallocations.NewIPAllocationID("12345678-1234-9876-4563-123456789012", "example-resource-group", "ipAllocationName") - -read, err := client.Get(ctx, id, ipallocations.DefaultGetOperationOptions()) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `IPAllocationsClient.List` - -```go -ctx := context.TODO() -id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012") - -// alternatively `client.List(ctx, id)` can be used to do batched pagination -items, err := client.ListComplete(ctx, id) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` - - -### Example Usage: `IPAllocationsClient.ListByResourceGroup` - -```go -ctx := context.TODO() -id := commonids.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group") - -// alternatively `client.ListByResourceGroup(ctx, id)` can be used to do batched pagination -items, err := client.ListByResourceGroupComplete(ctx, id) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` - - -### Example Usage: `IPAllocationsClient.UpdateTags` - -```go -ctx := context.TODO() -id := ipallocations.NewIPAllocationID("12345678-1234-9876-4563-123456789012", "example-resource-group", "ipAllocationName") - -payload := ipallocations.TagsObject{ - // ... -} - - -read, err := client.UpdateTags(ctx, id, payload) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ipallocations/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ipallocations/version.go deleted file mode 100644 index d25dcbc7ec55..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ipallocations/version.go +++ /dev/null @@ -1,10 +0,0 @@ -package ipallocations - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -const defaultApiVersion = "2023-11-01" - -func userAgent() string { - return "hashicorp/go-azure-sdk/ipallocations/2023-11-01" -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ipgroups/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ipgroups/README.md deleted file mode 100644 index ed40ba5f194e..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ipgroups/README.md +++ /dev/null @@ -1,121 +0,0 @@ - -## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ipgroups` Documentation - -The `ipgroups` SDK allows for interaction with Azure Resource Manager `network` (API Version `2023-11-01`). - -This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). - -### Import Path - -```go -import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" -import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ipgroups" -``` - - -### Client Initialization - -```go -client := ipgroups.NewIPGroupsClientWithBaseURI("https://management.azure.com") -client.Client.Authorizer = authorizer -``` - - -### Example Usage: `IPGroupsClient.CreateOrUpdate` - -```go -ctx := context.TODO() -id := ipgroups.NewIPGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group", "ipGroupName") - -payload := ipgroups.IPGroup{ - // ... -} - - -if err := client.CreateOrUpdateThenPoll(ctx, id, payload); err != nil { - // handle the error -} -``` - - -### Example Usage: `IPGroupsClient.Delete` - -```go -ctx := context.TODO() -id := ipgroups.NewIPGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group", "ipGroupName") - -if err := client.DeleteThenPoll(ctx, id); err != nil { - // handle the error -} -``` - - -### Example Usage: `IPGroupsClient.Get` - -```go -ctx := context.TODO() -id := ipgroups.NewIPGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group", "ipGroupName") - -read, err := client.Get(ctx, id, ipgroups.DefaultGetOperationOptions()) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `IPGroupsClient.List` - -```go -ctx := context.TODO() -id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012") - -// alternatively `client.List(ctx, id)` can be used to do batched pagination -items, err := client.ListComplete(ctx, id) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` - - -### Example Usage: `IPGroupsClient.ListByResourceGroup` - -```go -ctx := context.TODO() -id := commonids.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group") - -// alternatively `client.ListByResourceGroup(ctx, id)` can be used to do batched pagination -items, err := client.ListByResourceGroupComplete(ctx, id) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` - - -### Example Usage: `IPGroupsClient.UpdateGroups` - -```go -ctx := context.TODO() -id := ipgroups.NewIPGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group", "ipGroupName") - -payload := ipgroups.TagsObject{ - // ... -} - - -read, err := client.UpdateGroups(ctx, id, payload) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ipgroups/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ipgroups/version.go deleted file mode 100644 index c2080311cc25..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ipgroups/version.go +++ /dev/null @@ -1,10 +0,0 @@ -package ipgroups - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -const defaultApiVersion = "2023-11-01" - -func userAgent() string { - return "hashicorp/go-azure-sdk/ipgroups/2023-11-01" -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/README.md deleted file mode 100644 index 2810b580a186..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/README.md +++ /dev/null @@ -1,449 +0,0 @@ - -## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers` Documentation - -The `loadbalancers` SDK allows for interaction with Azure Resource Manager `network` (API Version `2023-11-01`). - -This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). - -### Import Path - -```go -import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" -import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers" -``` - - -### Client Initialization - -```go -client := loadbalancers.NewLoadBalancersClientWithBaseURI("https://management.azure.com") -client.Client.Authorizer = authorizer -``` - - -### Example Usage: `LoadBalancersClient.CreateOrUpdate` - -```go -ctx := context.TODO() -id := loadbalancers.NewProviderLoadBalancerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "loadBalancerName") - -payload := loadbalancers.LoadBalancer{ - // ... -} - - -if err := client.CreateOrUpdateThenPoll(ctx, id, payload); err != nil { - // handle the error -} -``` - - -### Example Usage: `LoadBalancersClient.Delete` - -```go -ctx := context.TODO() -id := loadbalancers.NewProviderLoadBalancerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "loadBalancerName") - -if err := client.DeleteThenPoll(ctx, id); err != nil { - // handle the error -} -``` - - -### Example Usage: `LoadBalancersClient.Get` - -```go -ctx := context.TODO() -id := loadbalancers.NewProviderLoadBalancerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "loadBalancerName") - -read, err := client.Get(ctx, id, loadbalancers.DefaultGetOperationOptions()) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `LoadBalancersClient.InboundNatRulesCreateOrUpdate` - -```go -ctx := context.TODO() -id := loadbalancers.NewInboundNatRuleID("12345678-1234-9876-4563-123456789012", "example-resource-group", "loadBalancerName", "inboundNatRuleName") - -payload := loadbalancers.InboundNatRule{ - // ... -} - - -if err := client.InboundNatRulesCreateOrUpdateThenPoll(ctx, id, payload); err != nil { - // handle the error -} -``` - - -### Example Usage: `LoadBalancersClient.InboundNatRulesDelete` - -```go -ctx := context.TODO() -id := loadbalancers.NewInboundNatRuleID("12345678-1234-9876-4563-123456789012", "example-resource-group", "loadBalancerName", "inboundNatRuleName") - -if err := client.InboundNatRulesDeleteThenPoll(ctx, id); err != nil { - // handle the error -} -``` - - -### Example Usage: `LoadBalancersClient.InboundNatRulesGet` - -```go -ctx := context.TODO() -id := loadbalancers.NewInboundNatRuleID("12345678-1234-9876-4563-123456789012", "example-resource-group", "loadBalancerName", "inboundNatRuleName") - -read, err := client.InboundNatRulesGet(ctx, id, loadbalancers.DefaultInboundNatRulesGetOperationOptions()) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `LoadBalancersClient.InboundNatRulesList` - -```go -ctx := context.TODO() -id := loadbalancers.NewProviderLoadBalancerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "loadBalancerName") - -// alternatively `client.InboundNatRulesList(ctx, id)` can be used to do batched pagination -items, err := client.InboundNatRulesListComplete(ctx, id) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` - - -### Example Usage: `LoadBalancersClient.List` - -```go -ctx := context.TODO() -id := commonids.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group") - -// alternatively `client.List(ctx, id)` can be used to do batched pagination -items, err := client.ListComplete(ctx, id) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` - - -### Example Usage: `LoadBalancersClient.ListAll` - -```go -ctx := context.TODO() -id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012") - -// alternatively `client.ListAll(ctx, id)` can be used to do batched pagination -items, err := client.ListAllComplete(ctx, id) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` - - -### Example Usage: `LoadBalancersClient.ListInboundNatRulePortMappings` - -```go -ctx := context.TODO() -id := loadbalancers.NewBackendAddressPoolID("12345678-1234-9876-4563-123456789012", "resourceGroupName", "loadBalancerName", "backendAddressPoolName") - -payload := loadbalancers.QueryInboundNatRulePortMappingRequest{ - // ... -} - - -if err := client.ListInboundNatRulePortMappingsThenPoll(ctx, id, payload); err != nil { - // handle the error -} -``` - - -### Example Usage: `LoadBalancersClient.LoadBalancerBackendAddressPoolsCreateOrUpdate` - -```go -ctx := context.TODO() -id := loadbalancers.NewLoadBalancerBackendAddressPoolID("12345678-1234-9876-4563-123456789012", "example-resource-group", "loadBalancerName", "backendAddressPoolName") - -payload := loadbalancers.BackendAddressPool{ - // ... -} - - -if err := client.LoadBalancerBackendAddressPoolsCreateOrUpdateThenPoll(ctx, id, payload); err != nil { - // handle the error -} -``` - - -### Example Usage: `LoadBalancersClient.LoadBalancerBackendAddressPoolsDelete` - -```go -ctx := context.TODO() -id := loadbalancers.NewLoadBalancerBackendAddressPoolID("12345678-1234-9876-4563-123456789012", "example-resource-group", "loadBalancerName", "backendAddressPoolName") - -if err := client.LoadBalancerBackendAddressPoolsDeleteThenPoll(ctx, id); err != nil { - // handle the error -} -``` - - -### Example Usage: `LoadBalancersClient.LoadBalancerBackendAddressPoolsGet` - -```go -ctx := context.TODO() -id := loadbalancers.NewLoadBalancerBackendAddressPoolID("12345678-1234-9876-4563-123456789012", "example-resource-group", "loadBalancerName", "backendAddressPoolName") - -read, err := client.LoadBalancerBackendAddressPoolsGet(ctx, id) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `LoadBalancersClient.LoadBalancerBackendAddressPoolsList` - -```go -ctx := context.TODO() -id := loadbalancers.NewProviderLoadBalancerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "loadBalancerName") - -// alternatively `client.LoadBalancerBackendAddressPoolsList(ctx, id)` can be used to do batched pagination -items, err := client.LoadBalancerBackendAddressPoolsListComplete(ctx, id) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` - - -### Example Usage: `LoadBalancersClient.LoadBalancerFrontendIPConfigurationsGet` - -```go -ctx := context.TODO() -id := loadbalancers.NewFrontendIPConfigurationID("12345678-1234-9876-4563-123456789012", "example-resource-group", "loadBalancerName", "frontendIPConfigurationName") - -read, err := client.LoadBalancerFrontendIPConfigurationsGet(ctx, id) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `LoadBalancersClient.LoadBalancerFrontendIPConfigurationsList` - -```go -ctx := context.TODO() -id := loadbalancers.NewProviderLoadBalancerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "loadBalancerName") - -// alternatively `client.LoadBalancerFrontendIPConfigurationsList(ctx, id)` can be used to do batched pagination -items, err := client.LoadBalancerFrontendIPConfigurationsListComplete(ctx, id) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` - - -### Example Usage: `LoadBalancersClient.LoadBalancerLoadBalancingRulesGet` - -```go -ctx := context.TODO() -id := loadbalancers.NewLoadBalancingRuleID("12345678-1234-9876-4563-123456789012", "example-resource-group", "loadBalancerName", "loadBalancingRuleName") - -read, err := client.LoadBalancerLoadBalancingRulesGet(ctx, id) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `LoadBalancersClient.LoadBalancerLoadBalancingRulesList` - -```go -ctx := context.TODO() -id := loadbalancers.NewProviderLoadBalancerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "loadBalancerName") - -// alternatively `client.LoadBalancerLoadBalancingRulesList(ctx, id)` can be used to do batched pagination -items, err := client.LoadBalancerLoadBalancingRulesListComplete(ctx, id) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` - - -### Example Usage: `LoadBalancersClient.LoadBalancerNetworkInterfacesList` - -```go -ctx := context.TODO() -id := loadbalancers.NewProviderLoadBalancerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "loadBalancerName") - -// alternatively `client.LoadBalancerNetworkInterfacesList(ctx, id)` can be used to do batched pagination -items, err := client.LoadBalancerNetworkInterfacesListComplete(ctx, id) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` - - -### Example Usage: `LoadBalancersClient.LoadBalancerOutboundRulesGet` - -```go -ctx := context.TODO() -id := loadbalancers.NewOutboundRuleID("12345678-1234-9876-4563-123456789012", "example-resource-group", "loadBalancerName", "outboundRuleName") - -read, err := client.LoadBalancerOutboundRulesGet(ctx, id) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `LoadBalancersClient.LoadBalancerOutboundRulesList` - -```go -ctx := context.TODO() -id := loadbalancers.NewProviderLoadBalancerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "loadBalancerName") - -// alternatively `client.LoadBalancerOutboundRulesList(ctx, id)` can be used to do batched pagination -items, err := client.LoadBalancerOutboundRulesListComplete(ctx, id) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` - - -### Example Usage: `LoadBalancersClient.LoadBalancerProbesGet` - -```go -ctx := context.TODO() -id := loadbalancers.NewProbeID("12345678-1234-9876-4563-123456789012", "example-resource-group", "loadBalancerName", "probeName") - -read, err := client.LoadBalancerProbesGet(ctx, id) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `LoadBalancersClient.LoadBalancerProbesList` - -```go -ctx := context.TODO() -id := loadbalancers.NewProviderLoadBalancerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "loadBalancerName") - -// alternatively `client.LoadBalancerProbesList(ctx, id)` can be used to do batched pagination -items, err := client.LoadBalancerProbesListComplete(ctx, id) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` - - -### Example Usage: `LoadBalancersClient.MigrateToIPBased` - -```go -ctx := context.TODO() -id := loadbalancers.NewLoadBalancerID("12345678-1234-9876-4563-123456789012", "resourceGroupName", "loadBalancerName") - -payload := loadbalancers.MigrateLoadBalancerToIPBasedRequest{ - // ... -} - - -read, err := client.MigrateToIPBased(ctx, id, payload) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `LoadBalancersClient.SwapPublicIPAddresses` - -```go -ctx := context.TODO() -id := loadbalancers.NewLocationID("12345678-1234-9876-4563-123456789012", "locationName") - -payload := loadbalancers.LoadBalancerVipSwapRequest{ - // ... -} - - -if err := client.SwapPublicIPAddressesThenPoll(ctx, id, payload); err != nil { - // handle the error -} -``` - - -### Example Usage: `LoadBalancersClient.UpdateTags` - -```go -ctx := context.TODO() -id := loadbalancers.NewProviderLoadBalancerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "loadBalancerName") - -payload := loadbalancers.TagsObject{ - // ... -} - - -read, err := client.UpdateTags(ctx, id, payload) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/constants.go deleted file mode 100644 index edef2ce69233..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/constants.go +++ /dev/null @@ -1,1415 +0,0 @@ -package loadbalancers - -import ( - "encoding/json" - "fmt" - "strings" -) - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -type DdosSettingsProtectionMode string - -const ( - DdosSettingsProtectionModeDisabled DdosSettingsProtectionMode = "Disabled" - DdosSettingsProtectionModeEnabled DdosSettingsProtectionMode = "Enabled" - DdosSettingsProtectionModeVirtualNetworkInherited DdosSettingsProtectionMode = "VirtualNetworkInherited" -) - -func PossibleValuesForDdosSettingsProtectionMode() []string { - return []string{ - string(DdosSettingsProtectionModeDisabled), - string(DdosSettingsProtectionModeEnabled), - string(DdosSettingsProtectionModeVirtualNetworkInherited), - } -} - -func (s *DdosSettingsProtectionMode) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseDdosSettingsProtectionMode(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseDdosSettingsProtectionMode(input string) (*DdosSettingsProtectionMode, error) { - vals := map[string]DdosSettingsProtectionMode{ - "disabled": DdosSettingsProtectionModeDisabled, - "enabled": DdosSettingsProtectionModeEnabled, - "virtualnetworkinherited": DdosSettingsProtectionModeVirtualNetworkInherited, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := DdosSettingsProtectionMode(input) - return &out, nil -} - -type DeleteOptions string - -const ( - DeleteOptionsDelete DeleteOptions = "Delete" - DeleteOptionsDetach DeleteOptions = "Detach" -) - -func PossibleValuesForDeleteOptions() []string { - return []string{ - string(DeleteOptionsDelete), - string(DeleteOptionsDetach), - } -} - -func (s *DeleteOptions) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseDeleteOptions(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseDeleteOptions(input string) (*DeleteOptions, error) { - vals := map[string]DeleteOptions{ - "delete": DeleteOptionsDelete, - "detach": DeleteOptionsDetach, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := DeleteOptions(input) - return &out, nil -} - -type FlowLogFormatType string - -const ( - FlowLogFormatTypeJSON FlowLogFormatType = "JSON" -) - -func PossibleValuesForFlowLogFormatType() []string { - return []string{ - string(FlowLogFormatTypeJSON), - } -} - -func (s *FlowLogFormatType) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseFlowLogFormatType(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseFlowLogFormatType(input string) (*FlowLogFormatType, error) { - vals := map[string]FlowLogFormatType{ - "json": FlowLogFormatTypeJSON, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := FlowLogFormatType(input) - return &out, nil -} - -type GatewayLoadBalancerTunnelInterfaceType string - -const ( - GatewayLoadBalancerTunnelInterfaceTypeExternal GatewayLoadBalancerTunnelInterfaceType = "External" - GatewayLoadBalancerTunnelInterfaceTypeInternal GatewayLoadBalancerTunnelInterfaceType = "Internal" - GatewayLoadBalancerTunnelInterfaceTypeNone GatewayLoadBalancerTunnelInterfaceType = "None" -) - -func PossibleValuesForGatewayLoadBalancerTunnelInterfaceType() []string { - return []string{ - string(GatewayLoadBalancerTunnelInterfaceTypeExternal), - string(GatewayLoadBalancerTunnelInterfaceTypeInternal), - string(GatewayLoadBalancerTunnelInterfaceTypeNone), - } -} - -func (s *GatewayLoadBalancerTunnelInterfaceType) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseGatewayLoadBalancerTunnelInterfaceType(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseGatewayLoadBalancerTunnelInterfaceType(input string) (*GatewayLoadBalancerTunnelInterfaceType, error) { - vals := map[string]GatewayLoadBalancerTunnelInterfaceType{ - "external": GatewayLoadBalancerTunnelInterfaceTypeExternal, - "internal": GatewayLoadBalancerTunnelInterfaceTypeInternal, - "none": GatewayLoadBalancerTunnelInterfaceTypeNone, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := GatewayLoadBalancerTunnelInterfaceType(input) - return &out, nil -} - -type GatewayLoadBalancerTunnelProtocol string - -const ( - GatewayLoadBalancerTunnelProtocolNative GatewayLoadBalancerTunnelProtocol = "Native" - GatewayLoadBalancerTunnelProtocolNone GatewayLoadBalancerTunnelProtocol = "None" - GatewayLoadBalancerTunnelProtocolVXLAN GatewayLoadBalancerTunnelProtocol = "VXLAN" -) - -func PossibleValuesForGatewayLoadBalancerTunnelProtocol() []string { - return []string{ - string(GatewayLoadBalancerTunnelProtocolNative), - string(GatewayLoadBalancerTunnelProtocolNone), - string(GatewayLoadBalancerTunnelProtocolVXLAN), - } -} - -func (s *GatewayLoadBalancerTunnelProtocol) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseGatewayLoadBalancerTunnelProtocol(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseGatewayLoadBalancerTunnelProtocol(input string) (*GatewayLoadBalancerTunnelProtocol, error) { - vals := map[string]GatewayLoadBalancerTunnelProtocol{ - "native": GatewayLoadBalancerTunnelProtocolNative, - "none": GatewayLoadBalancerTunnelProtocolNone, - "vxlan": GatewayLoadBalancerTunnelProtocolVXLAN, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := GatewayLoadBalancerTunnelProtocol(input) - return &out, nil -} - -type IPAllocationMethod string - -const ( - IPAllocationMethodDynamic IPAllocationMethod = "Dynamic" - IPAllocationMethodStatic IPAllocationMethod = "Static" -) - -func PossibleValuesForIPAllocationMethod() []string { - return []string{ - string(IPAllocationMethodDynamic), - string(IPAllocationMethodStatic), - } -} - -func (s *IPAllocationMethod) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseIPAllocationMethod(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseIPAllocationMethod(input string) (*IPAllocationMethod, error) { - vals := map[string]IPAllocationMethod{ - "dynamic": IPAllocationMethodDynamic, - "static": IPAllocationMethodStatic, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := IPAllocationMethod(input) - return &out, nil -} - -type IPVersion string - -const ( - IPVersionIPvFour IPVersion = "IPv4" - IPVersionIPvSix IPVersion = "IPv6" -) - -func PossibleValuesForIPVersion() []string { - return []string{ - string(IPVersionIPvFour), - string(IPVersionIPvSix), - } -} - -func (s *IPVersion) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseIPVersion(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseIPVersion(input string) (*IPVersion, error) { - vals := map[string]IPVersion{ - "ipv4": IPVersionIPvFour, - "ipv6": IPVersionIPvSix, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := IPVersion(input) - return &out, nil -} - -type LoadBalancerBackendAddressAdminState string - -const ( - LoadBalancerBackendAddressAdminStateDown LoadBalancerBackendAddressAdminState = "Down" - LoadBalancerBackendAddressAdminStateNone LoadBalancerBackendAddressAdminState = "None" - LoadBalancerBackendAddressAdminStateUp LoadBalancerBackendAddressAdminState = "Up" -) - -func PossibleValuesForLoadBalancerBackendAddressAdminState() []string { - return []string{ - string(LoadBalancerBackendAddressAdminStateDown), - string(LoadBalancerBackendAddressAdminStateNone), - string(LoadBalancerBackendAddressAdminStateUp), - } -} - -func (s *LoadBalancerBackendAddressAdminState) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseLoadBalancerBackendAddressAdminState(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseLoadBalancerBackendAddressAdminState(input string) (*LoadBalancerBackendAddressAdminState, error) { - vals := map[string]LoadBalancerBackendAddressAdminState{ - "down": LoadBalancerBackendAddressAdminStateDown, - "none": LoadBalancerBackendAddressAdminStateNone, - "up": LoadBalancerBackendAddressAdminStateUp, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := LoadBalancerBackendAddressAdminState(input) - return &out, nil -} - -type LoadBalancerOutboundRuleProtocol string - -const ( - LoadBalancerOutboundRuleProtocolAll LoadBalancerOutboundRuleProtocol = "All" - LoadBalancerOutboundRuleProtocolTcp LoadBalancerOutboundRuleProtocol = "Tcp" - LoadBalancerOutboundRuleProtocolUdp LoadBalancerOutboundRuleProtocol = "Udp" -) - -func PossibleValuesForLoadBalancerOutboundRuleProtocol() []string { - return []string{ - string(LoadBalancerOutboundRuleProtocolAll), - string(LoadBalancerOutboundRuleProtocolTcp), - string(LoadBalancerOutboundRuleProtocolUdp), - } -} - -func (s *LoadBalancerOutboundRuleProtocol) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseLoadBalancerOutboundRuleProtocol(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseLoadBalancerOutboundRuleProtocol(input string) (*LoadBalancerOutboundRuleProtocol, error) { - vals := map[string]LoadBalancerOutboundRuleProtocol{ - "all": LoadBalancerOutboundRuleProtocolAll, - "tcp": LoadBalancerOutboundRuleProtocolTcp, - "udp": LoadBalancerOutboundRuleProtocolUdp, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := LoadBalancerOutboundRuleProtocol(input) - return &out, nil -} - -type LoadBalancerSkuName string - -const ( - LoadBalancerSkuNameBasic LoadBalancerSkuName = "Basic" - LoadBalancerSkuNameGateway LoadBalancerSkuName = "Gateway" - LoadBalancerSkuNameStandard LoadBalancerSkuName = "Standard" -) - -func PossibleValuesForLoadBalancerSkuName() []string { - return []string{ - string(LoadBalancerSkuNameBasic), - string(LoadBalancerSkuNameGateway), - string(LoadBalancerSkuNameStandard), - } -} - -func (s *LoadBalancerSkuName) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseLoadBalancerSkuName(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseLoadBalancerSkuName(input string) (*LoadBalancerSkuName, error) { - vals := map[string]LoadBalancerSkuName{ - "basic": LoadBalancerSkuNameBasic, - "gateway": LoadBalancerSkuNameGateway, - "standard": LoadBalancerSkuNameStandard, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := LoadBalancerSkuName(input) - return &out, nil -} - -type LoadBalancerSkuTier string - -const ( - LoadBalancerSkuTierGlobal LoadBalancerSkuTier = "Global" - LoadBalancerSkuTierRegional LoadBalancerSkuTier = "Regional" -) - -func PossibleValuesForLoadBalancerSkuTier() []string { - return []string{ - string(LoadBalancerSkuTierGlobal), - string(LoadBalancerSkuTierRegional), - } -} - -func (s *LoadBalancerSkuTier) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseLoadBalancerSkuTier(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseLoadBalancerSkuTier(input string) (*LoadBalancerSkuTier, error) { - vals := map[string]LoadBalancerSkuTier{ - "global": LoadBalancerSkuTierGlobal, - "regional": LoadBalancerSkuTierRegional, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := LoadBalancerSkuTier(input) - return &out, nil -} - -type LoadDistribution string - -const ( - LoadDistributionDefault LoadDistribution = "Default" - LoadDistributionSourceIP LoadDistribution = "SourceIP" - LoadDistributionSourceIPProtocol LoadDistribution = "SourceIPProtocol" -) - -func PossibleValuesForLoadDistribution() []string { - return []string{ - string(LoadDistributionDefault), - string(LoadDistributionSourceIP), - string(LoadDistributionSourceIPProtocol), - } -} - -func (s *LoadDistribution) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseLoadDistribution(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseLoadDistribution(input string) (*LoadDistribution, error) { - vals := map[string]LoadDistribution{ - "default": LoadDistributionDefault, - "sourceip": LoadDistributionSourceIP, - "sourceipprotocol": LoadDistributionSourceIPProtocol, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := LoadDistribution(input) - return &out, nil -} - -type NatGatewaySkuName string - -const ( - NatGatewaySkuNameStandard NatGatewaySkuName = "Standard" -) - -func PossibleValuesForNatGatewaySkuName() []string { - return []string{ - string(NatGatewaySkuNameStandard), - } -} - -func (s *NatGatewaySkuName) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseNatGatewaySkuName(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseNatGatewaySkuName(input string) (*NatGatewaySkuName, error) { - vals := map[string]NatGatewaySkuName{ - "standard": NatGatewaySkuNameStandard, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := NatGatewaySkuName(input) - return &out, nil -} - -type NetworkInterfaceAuxiliaryMode string - -const ( - NetworkInterfaceAuxiliaryModeAcceleratedConnections NetworkInterfaceAuxiliaryMode = "AcceleratedConnections" - NetworkInterfaceAuxiliaryModeFloating NetworkInterfaceAuxiliaryMode = "Floating" - NetworkInterfaceAuxiliaryModeMaxConnections NetworkInterfaceAuxiliaryMode = "MaxConnections" - NetworkInterfaceAuxiliaryModeNone NetworkInterfaceAuxiliaryMode = "None" -) - -func PossibleValuesForNetworkInterfaceAuxiliaryMode() []string { - return []string{ - string(NetworkInterfaceAuxiliaryModeAcceleratedConnections), - string(NetworkInterfaceAuxiliaryModeFloating), - string(NetworkInterfaceAuxiliaryModeMaxConnections), - string(NetworkInterfaceAuxiliaryModeNone), - } -} - -func (s *NetworkInterfaceAuxiliaryMode) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseNetworkInterfaceAuxiliaryMode(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseNetworkInterfaceAuxiliaryMode(input string) (*NetworkInterfaceAuxiliaryMode, error) { - vals := map[string]NetworkInterfaceAuxiliaryMode{ - "acceleratedconnections": NetworkInterfaceAuxiliaryModeAcceleratedConnections, - "floating": NetworkInterfaceAuxiliaryModeFloating, - "maxconnections": NetworkInterfaceAuxiliaryModeMaxConnections, - "none": NetworkInterfaceAuxiliaryModeNone, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := NetworkInterfaceAuxiliaryMode(input) - return &out, nil -} - -type NetworkInterfaceAuxiliarySku string - -const ( - NetworkInterfaceAuxiliarySkuAEight NetworkInterfaceAuxiliarySku = "A8" - NetworkInterfaceAuxiliarySkuAFour NetworkInterfaceAuxiliarySku = "A4" - NetworkInterfaceAuxiliarySkuAOne NetworkInterfaceAuxiliarySku = "A1" - NetworkInterfaceAuxiliarySkuATwo NetworkInterfaceAuxiliarySku = "A2" - NetworkInterfaceAuxiliarySkuNone NetworkInterfaceAuxiliarySku = "None" -) - -func PossibleValuesForNetworkInterfaceAuxiliarySku() []string { - return []string{ - string(NetworkInterfaceAuxiliarySkuAEight), - string(NetworkInterfaceAuxiliarySkuAFour), - string(NetworkInterfaceAuxiliarySkuAOne), - string(NetworkInterfaceAuxiliarySkuATwo), - string(NetworkInterfaceAuxiliarySkuNone), - } -} - -func (s *NetworkInterfaceAuxiliarySku) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseNetworkInterfaceAuxiliarySku(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseNetworkInterfaceAuxiliarySku(input string) (*NetworkInterfaceAuxiliarySku, error) { - vals := map[string]NetworkInterfaceAuxiliarySku{ - "a8": NetworkInterfaceAuxiliarySkuAEight, - "a4": NetworkInterfaceAuxiliarySkuAFour, - "a1": NetworkInterfaceAuxiliarySkuAOne, - "a2": NetworkInterfaceAuxiliarySkuATwo, - "none": NetworkInterfaceAuxiliarySkuNone, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := NetworkInterfaceAuxiliarySku(input) - return &out, nil -} - -type NetworkInterfaceMigrationPhase string - -const ( - NetworkInterfaceMigrationPhaseAbort NetworkInterfaceMigrationPhase = "Abort" - NetworkInterfaceMigrationPhaseCommit NetworkInterfaceMigrationPhase = "Commit" - NetworkInterfaceMigrationPhaseCommitted NetworkInterfaceMigrationPhase = "Committed" - NetworkInterfaceMigrationPhaseNone NetworkInterfaceMigrationPhase = "None" - NetworkInterfaceMigrationPhasePrepare NetworkInterfaceMigrationPhase = "Prepare" -) - -func PossibleValuesForNetworkInterfaceMigrationPhase() []string { - return []string{ - string(NetworkInterfaceMigrationPhaseAbort), - string(NetworkInterfaceMigrationPhaseCommit), - string(NetworkInterfaceMigrationPhaseCommitted), - string(NetworkInterfaceMigrationPhaseNone), - string(NetworkInterfaceMigrationPhasePrepare), - } -} - -func (s *NetworkInterfaceMigrationPhase) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseNetworkInterfaceMigrationPhase(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseNetworkInterfaceMigrationPhase(input string) (*NetworkInterfaceMigrationPhase, error) { - vals := map[string]NetworkInterfaceMigrationPhase{ - "abort": NetworkInterfaceMigrationPhaseAbort, - "commit": NetworkInterfaceMigrationPhaseCommit, - "committed": NetworkInterfaceMigrationPhaseCommitted, - "none": NetworkInterfaceMigrationPhaseNone, - "prepare": NetworkInterfaceMigrationPhasePrepare, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := NetworkInterfaceMigrationPhase(input) - return &out, nil -} - -type NetworkInterfaceNicType string - -const ( - NetworkInterfaceNicTypeElastic NetworkInterfaceNicType = "Elastic" - NetworkInterfaceNicTypeStandard NetworkInterfaceNicType = "Standard" -) - -func PossibleValuesForNetworkInterfaceNicType() []string { - return []string{ - string(NetworkInterfaceNicTypeElastic), - string(NetworkInterfaceNicTypeStandard), - } -} - -func (s *NetworkInterfaceNicType) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseNetworkInterfaceNicType(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseNetworkInterfaceNicType(input string) (*NetworkInterfaceNicType, error) { - vals := map[string]NetworkInterfaceNicType{ - "elastic": NetworkInterfaceNicTypeElastic, - "standard": NetworkInterfaceNicTypeStandard, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := NetworkInterfaceNicType(input) - return &out, nil -} - -type ProbeProtocol string - -const ( - ProbeProtocolHTTP ProbeProtocol = "Http" - ProbeProtocolHTTPS ProbeProtocol = "Https" - ProbeProtocolTcp ProbeProtocol = "Tcp" -) - -func PossibleValuesForProbeProtocol() []string { - return []string{ - string(ProbeProtocolHTTP), - string(ProbeProtocolHTTPS), - string(ProbeProtocolTcp), - } -} - -func (s *ProbeProtocol) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseProbeProtocol(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseProbeProtocol(input string) (*ProbeProtocol, error) { - vals := map[string]ProbeProtocol{ - "http": ProbeProtocolHTTP, - "https": ProbeProtocolHTTPS, - "tcp": ProbeProtocolTcp, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := ProbeProtocol(input) - return &out, nil -} - -type ProvisioningState string - -const ( - ProvisioningStateDeleting ProvisioningState = "Deleting" - ProvisioningStateFailed ProvisioningState = "Failed" - ProvisioningStateSucceeded ProvisioningState = "Succeeded" - ProvisioningStateUpdating ProvisioningState = "Updating" -) - -func PossibleValuesForProvisioningState() []string { - return []string{ - string(ProvisioningStateDeleting), - string(ProvisioningStateFailed), - string(ProvisioningStateSucceeded), - string(ProvisioningStateUpdating), - } -} - -func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseProvisioningState(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseProvisioningState(input string) (*ProvisioningState, error) { - vals := map[string]ProvisioningState{ - "deleting": ProvisioningStateDeleting, - "failed": ProvisioningStateFailed, - "succeeded": ProvisioningStateSucceeded, - "updating": ProvisioningStateUpdating, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := ProvisioningState(input) - return &out, nil -} - -type PublicIPAddressDnsSettingsDomainNameLabelScope string - -const ( - PublicIPAddressDnsSettingsDomainNameLabelScopeNoReuse PublicIPAddressDnsSettingsDomainNameLabelScope = "NoReuse" - PublicIPAddressDnsSettingsDomainNameLabelScopeResourceGroupReuse PublicIPAddressDnsSettingsDomainNameLabelScope = "ResourceGroupReuse" - PublicIPAddressDnsSettingsDomainNameLabelScopeSubscriptionReuse PublicIPAddressDnsSettingsDomainNameLabelScope = "SubscriptionReuse" - PublicIPAddressDnsSettingsDomainNameLabelScopeTenantReuse PublicIPAddressDnsSettingsDomainNameLabelScope = "TenantReuse" -) - -func PossibleValuesForPublicIPAddressDnsSettingsDomainNameLabelScope() []string { - return []string{ - string(PublicIPAddressDnsSettingsDomainNameLabelScopeNoReuse), - string(PublicIPAddressDnsSettingsDomainNameLabelScopeResourceGroupReuse), - string(PublicIPAddressDnsSettingsDomainNameLabelScopeSubscriptionReuse), - string(PublicIPAddressDnsSettingsDomainNameLabelScopeTenantReuse), - } -} - -func (s *PublicIPAddressDnsSettingsDomainNameLabelScope) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parsePublicIPAddressDnsSettingsDomainNameLabelScope(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parsePublicIPAddressDnsSettingsDomainNameLabelScope(input string) (*PublicIPAddressDnsSettingsDomainNameLabelScope, error) { - vals := map[string]PublicIPAddressDnsSettingsDomainNameLabelScope{ - "noreuse": PublicIPAddressDnsSettingsDomainNameLabelScopeNoReuse, - "resourcegroupreuse": PublicIPAddressDnsSettingsDomainNameLabelScopeResourceGroupReuse, - "subscriptionreuse": PublicIPAddressDnsSettingsDomainNameLabelScopeSubscriptionReuse, - "tenantreuse": PublicIPAddressDnsSettingsDomainNameLabelScopeTenantReuse, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := PublicIPAddressDnsSettingsDomainNameLabelScope(input) - return &out, nil -} - -type PublicIPAddressMigrationPhase string - -const ( - PublicIPAddressMigrationPhaseAbort PublicIPAddressMigrationPhase = "Abort" - PublicIPAddressMigrationPhaseCommit PublicIPAddressMigrationPhase = "Commit" - PublicIPAddressMigrationPhaseCommitted PublicIPAddressMigrationPhase = "Committed" - PublicIPAddressMigrationPhaseNone PublicIPAddressMigrationPhase = "None" - PublicIPAddressMigrationPhasePrepare PublicIPAddressMigrationPhase = "Prepare" -) - -func PossibleValuesForPublicIPAddressMigrationPhase() []string { - return []string{ - string(PublicIPAddressMigrationPhaseAbort), - string(PublicIPAddressMigrationPhaseCommit), - string(PublicIPAddressMigrationPhaseCommitted), - string(PublicIPAddressMigrationPhaseNone), - string(PublicIPAddressMigrationPhasePrepare), - } -} - -func (s *PublicIPAddressMigrationPhase) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parsePublicIPAddressMigrationPhase(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parsePublicIPAddressMigrationPhase(input string) (*PublicIPAddressMigrationPhase, error) { - vals := map[string]PublicIPAddressMigrationPhase{ - "abort": PublicIPAddressMigrationPhaseAbort, - "commit": PublicIPAddressMigrationPhaseCommit, - "committed": PublicIPAddressMigrationPhaseCommitted, - "none": PublicIPAddressMigrationPhaseNone, - "prepare": PublicIPAddressMigrationPhasePrepare, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := PublicIPAddressMigrationPhase(input) - return &out, nil -} - -type PublicIPAddressSkuName string - -const ( - PublicIPAddressSkuNameBasic PublicIPAddressSkuName = "Basic" - PublicIPAddressSkuNameStandard PublicIPAddressSkuName = "Standard" -) - -func PossibleValuesForPublicIPAddressSkuName() []string { - return []string{ - string(PublicIPAddressSkuNameBasic), - string(PublicIPAddressSkuNameStandard), - } -} - -func (s *PublicIPAddressSkuName) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parsePublicIPAddressSkuName(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parsePublicIPAddressSkuName(input string) (*PublicIPAddressSkuName, error) { - vals := map[string]PublicIPAddressSkuName{ - "basic": PublicIPAddressSkuNameBasic, - "standard": PublicIPAddressSkuNameStandard, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := PublicIPAddressSkuName(input) - return &out, nil -} - -type PublicIPAddressSkuTier string - -const ( - PublicIPAddressSkuTierGlobal PublicIPAddressSkuTier = "Global" - PublicIPAddressSkuTierRegional PublicIPAddressSkuTier = "Regional" -) - -func PossibleValuesForPublicIPAddressSkuTier() []string { - return []string{ - string(PublicIPAddressSkuTierGlobal), - string(PublicIPAddressSkuTierRegional), - } -} - -func (s *PublicIPAddressSkuTier) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parsePublicIPAddressSkuTier(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parsePublicIPAddressSkuTier(input string) (*PublicIPAddressSkuTier, error) { - vals := map[string]PublicIPAddressSkuTier{ - "global": PublicIPAddressSkuTierGlobal, - "regional": PublicIPAddressSkuTierRegional, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := PublicIPAddressSkuTier(input) - return &out, nil -} - -type RouteNextHopType string - -const ( - RouteNextHopTypeInternet RouteNextHopType = "Internet" - RouteNextHopTypeNone RouteNextHopType = "None" - RouteNextHopTypeVirtualAppliance RouteNextHopType = "VirtualAppliance" - RouteNextHopTypeVirtualNetworkGateway RouteNextHopType = "VirtualNetworkGateway" - RouteNextHopTypeVnetLocal RouteNextHopType = "VnetLocal" -) - -func PossibleValuesForRouteNextHopType() []string { - return []string{ - string(RouteNextHopTypeInternet), - string(RouteNextHopTypeNone), - string(RouteNextHopTypeVirtualAppliance), - string(RouteNextHopTypeVirtualNetworkGateway), - string(RouteNextHopTypeVnetLocal), - } -} - -func (s *RouteNextHopType) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseRouteNextHopType(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseRouteNextHopType(input string) (*RouteNextHopType, error) { - vals := map[string]RouteNextHopType{ - "internet": RouteNextHopTypeInternet, - "none": RouteNextHopTypeNone, - "virtualappliance": RouteNextHopTypeVirtualAppliance, - "virtualnetworkgateway": RouteNextHopTypeVirtualNetworkGateway, - "vnetlocal": RouteNextHopTypeVnetLocal, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := RouteNextHopType(input) - return &out, nil -} - -type SecurityRuleAccess string - -const ( - SecurityRuleAccessAllow SecurityRuleAccess = "Allow" - SecurityRuleAccessDeny SecurityRuleAccess = "Deny" -) - -func PossibleValuesForSecurityRuleAccess() []string { - return []string{ - string(SecurityRuleAccessAllow), - string(SecurityRuleAccessDeny), - } -} - -func (s *SecurityRuleAccess) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseSecurityRuleAccess(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseSecurityRuleAccess(input string) (*SecurityRuleAccess, error) { - vals := map[string]SecurityRuleAccess{ - "allow": SecurityRuleAccessAllow, - "deny": SecurityRuleAccessDeny, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := SecurityRuleAccess(input) - return &out, nil -} - -type SecurityRuleDirection string - -const ( - SecurityRuleDirectionInbound SecurityRuleDirection = "Inbound" - SecurityRuleDirectionOutbound SecurityRuleDirection = "Outbound" -) - -func PossibleValuesForSecurityRuleDirection() []string { - return []string{ - string(SecurityRuleDirectionInbound), - string(SecurityRuleDirectionOutbound), - } -} - -func (s *SecurityRuleDirection) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseSecurityRuleDirection(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseSecurityRuleDirection(input string) (*SecurityRuleDirection, error) { - vals := map[string]SecurityRuleDirection{ - "inbound": SecurityRuleDirectionInbound, - "outbound": SecurityRuleDirectionOutbound, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := SecurityRuleDirection(input) - return &out, nil -} - -type SecurityRuleProtocol string - -const ( - SecurityRuleProtocolAh SecurityRuleProtocol = "Ah" - SecurityRuleProtocolAny SecurityRuleProtocol = "*" - SecurityRuleProtocolEsp SecurityRuleProtocol = "Esp" - SecurityRuleProtocolIcmp SecurityRuleProtocol = "Icmp" - SecurityRuleProtocolTcp SecurityRuleProtocol = "Tcp" - SecurityRuleProtocolUdp SecurityRuleProtocol = "Udp" -) - -func PossibleValuesForSecurityRuleProtocol() []string { - return []string{ - string(SecurityRuleProtocolAh), - string(SecurityRuleProtocolAny), - string(SecurityRuleProtocolEsp), - string(SecurityRuleProtocolIcmp), - string(SecurityRuleProtocolTcp), - string(SecurityRuleProtocolUdp), - } -} - -func (s *SecurityRuleProtocol) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseSecurityRuleProtocol(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseSecurityRuleProtocol(input string) (*SecurityRuleProtocol, error) { - vals := map[string]SecurityRuleProtocol{ - "ah": SecurityRuleProtocolAh, - "*": SecurityRuleProtocolAny, - "esp": SecurityRuleProtocolEsp, - "icmp": SecurityRuleProtocolIcmp, - "tcp": SecurityRuleProtocolTcp, - "udp": SecurityRuleProtocolUdp, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := SecurityRuleProtocol(input) - return &out, nil -} - -type SharingScope string - -const ( - SharingScopeDelegatedServices SharingScope = "DelegatedServices" - SharingScopeTenant SharingScope = "Tenant" -) - -func PossibleValuesForSharingScope() []string { - return []string{ - string(SharingScopeDelegatedServices), - string(SharingScopeTenant), - } -} - -func (s *SharingScope) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseSharingScope(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseSharingScope(input string) (*SharingScope, error) { - vals := map[string]SharingScope{ - "delegatedservices": SharingScopeDelegatedServices, - "tenant": SharingScopeTenant, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := SharingScope(input) - return &out, nil -} - -type SyncMode string - -const ( - SyncModeAutomatic SyncMode = "Automatic" - SyncModeManual SyncMode = "Manual" -) - -func PossibleValuesForSyncMode() []string { - return []string{ - string(SyncModeAutomatic), - string(SyncModeManual), - } -} - -func (s *SyncMode) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseSyncMode(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseSyncMode(input string) (*SyncMode, error) { - vals := map[string]SyncMode{ - "automatic": SyncModeAutomatic, - "manual": SyncModeManual, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := SyncMode(input) - return &out, nil -} - -type TransportProtocol string - -const ( - TransportProtocolAll TransportProtocol = "All" - TransportProtocolTcp TransportProtocol = "Tcp" - TransportProtocolUdp TransportProtocol = "Udp" -) - -func PossibleValuesForTransportProtocol() []string { - return []string{ - string(TransportProtocolAll), - string(TransportProtocolTcp), - string(TransportProtocolUdp), - } -} - -func (s *TransportProtocol) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseTransportProtocol(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseTransportProtocol(input string) (*TransportProtocol, error) { - vals := map[string]TransportProtocol{ - "all": TransportProtocolAll, - "tcp": TransportProtocolTcp, - "udp": TransportProtocolUdp, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := TransportProtocol(input) - return &out, nil -} - -type VirtualNetworkPrivateEndpointNetworkPolicies string - -const ( - VirtualNetworkPrivateEndpointNetworkPoliciesDisabled VirtualNetworkPrivateEndpointNetworkPolicies = "Disabled" - VirtualNetworkPrivateEndpointNetworkPoliciesEnabled VirtualNetworkPrivateEndpointNetworkPolicies = "Enabled" - VirtualNetworkPrivateEndpointNetworkPoliciesNetworkSecurityGroupEnabled VirtualNetworkPrivateEndpointNetworkPolicies = "NetworkSecurityGroupEnabled" - VirtualNetworkPrivateEndpointNetworkPoliciesRouteTableEnabled VirtualNetworkPrivateEndpointNetworkPolicies = "RouteTableEnabled" -) - -func PossibleValuesForVirtualNetworkPrivateEndpointNetworkPolicies() []string { - return []string{ - string(VirtualNetworkPrivateEndpointNetworkPoliciesDisabled), - string(VirtualNetworkPrivateEndpointNetworkPoliciesEnabled), - string(VirtualNetworkPrivateEndpointNetworkPoliciesNetworkSecurityGroupEnabled), - string(VirtualNetworkPrivateEndpointNetworkPoliciesRouteTableEnabled), - } -} - -func (s *VirtualNetworkPrivateEndpointNetworkPolicies) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseVirtualNetworkPrivateEndpointNetworkPolicies(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseVirtualNetworkPrivateEndpointNetworkPolicies(input string) (*VirtualNetworkPrivateEndpointNetworkPolicies, error) { - vals := map[string]VirtualNetworkPrivateEndpointNetworkPolicies{ - "disabled": VirtualNetworkPrivateEndpointNetworkPoliciesDisabled, - "enabled": VirtualNetworkPrivateEndpointNetworkPoliciesEnabled, - "networksecuritygroupenabled": VirtualNetworkPrivateEndpointNetworkPoliciesNetworkSecurityGroupEnabled, - "routetableenabled": VirtualNetworkPrivateEndpointNetworkPoliciesRouteTableEnabled, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := VirtualNetworkPrivateEndpointNetworkPolicies(input) - return &out, nil -} - -type VirtualNetworkPrivateLinkServiceNetworkPolicies string - -const ( - VirtualNetworkPrivateLinkServiceNetworkPoliciesDisabled VirtualNetworkPrivateLinkServiceNetworkPolicies = "Disabled" - VirtualNetworkPrivateLinkServiceNetworkPoliciesEnabled VirtualNetworkPrivateLinkServiceNetworkPolicies = "Enabled" -) - -func PossibleValuesForVirtualNetworkPrivateLinkServiceNetworkPolicies() []string { - return []string{ - string(VirtualNetworkPrivateLinkServiceNetworkPoliciesDisabled), - string(VirtualNetworkPrivateLinkServiceNetworkPoliciesEnabled), - } -} - -func (s *VirtualNetworkPrivateLinkServiceNetworkPolicies) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseVirtualNetworkPrivateLinkServiceNetworkPolicies(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseVirtualNetworkPrivateLinkServiceNetworkPolicies(input string) (*VirtualNetworkPrivateLinkServiceNetworkPolicies, error) { - vals := map[string]VirtualNetworkPrivateLinkServiceNetworkPolicies{ - "disabled": VirtualNetworkPrivateLinkServiceNetworkPoliciesDisabled, - "enabled": VirtualNetworkPrivateLinkServiceNetworkPoliciesEnabled, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := VirtualNetworkPrivateLinkServiceNetworkPolicies(input) - return &out, nil -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_flowlog.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_flowlog.go deleted file mode 100644 index 90210c292609..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_flowlog.go +++ /dev/null @@ -1,14 +0,0 @@ -package loadbalancers - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -type FlowLog struct { - Etag *string `json:"etag,omitempty"` - Id *string `json:"id,omitempty"` - Location *string `json:"location,omitempty"` - Name *string `json:"name,omitempty"` - Properties *FlowLogPropertiesFormat `json:"properties,omitempty"` - Tags *map[string]string `json:"tags,omitempty"` - Type *string `json:"type,omitempty"` -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_flowlogpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_flowlogpropertiesformat.go deleted file mode 100644 index 4c800ad5f684..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_flowlogpropertiesformat.go +++ /dev/null @@ -1,15 +0,0 @@ -package loadbalancers - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -type FlowLogPropertiesFormat struct { - Enabled *bool `json:"enabled,omitempty"` - FlowAnalyticsConfiguration *TrafficAnalyticsProperties `json:"flowAnalyticsConfiguration,omitempty"` - Format *FlowLogFormatParameters `json:"format,omitempty"` - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` - RetentionPolicy *RetentionPolicyParameters `json:"retentionPolicy,omitempty"` - StorageId string `json:"storageId"` - TargetResourceGuid *string `json:"targetResourceGuid,omitempty"` - TargetResourceId string `json:"targetResourceId"` -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_privatelinkserviceproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_privatelinkserviceproperties.go deleted file mode 100644 index f3e3d05de18a..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_privatelinkserviceproperties.go +++ /dev/null @@ -1,17 +0,0 @@ -package loadbalancers - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -type PrivateLinkServiceProperties struct { - Alias *string `json:"alias,omitempty"` - AutoApproval *ResourceSet `json:"autoApproval,omitempty"` - EnableProxyProtocol *bool `json:"enableProxyProtocol,omitempty"` - Fqdns *[]string `json:"fqdns,omitempty"` - IPConfigurations *[]PrivateLinkServiceIPConfiguration `json:"ipConfigurations,omitempty"` - LoadBalancerFrontendIPConfigurations *[]FrontendIPConfiguration `json:"loadBalancerFrontendIpConfigurations,omitempty"` - NetworkInterfaces *[]NetworkInterface `json:"networkInterfaces,omitempty"` - PrivateEndpointConnections *[]PrivateEndpointConnection `json:"privateEndpointConnections,omitempty"` - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` - Visibility *ResourceSet `json:"visibility,omitempty"` -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_probepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_probepropertiesformat.go deleted file mode 100644 index ddc84044699b..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_probepropertiesformat.go +++ /dev/null @@ -1,15 +0,0 @@ -package loadbalancers - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -type ProbePropertiesFormat struct { - IntervalInSeconds *int64 `json:"intervalInSeconds,omitempty"` - LoadBalancingRules *[]SubResource `json:"loadBalancingRules,omitempty"` - NumberOfProbes *int64 `json:"numberOfProbes,omitempty"` - Port int64 `json:"port"` - ProbeThreshold *int64 `json:"probeThreshold,omitempty"` - Protocol ProbeProtocol `json:"protocol"` - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` - RequestPath *string `json:"requestPath,omitempty"` -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_serviceendpointpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_serviceendpointpropertiesformat.go deleted file mode 100644 index 5610d7f722b9..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_serviceendpointpropertiesformat.go +++ /dev/null @@ -1,10 +0,0 @@ -package loadbalancers - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -type ServiceEndpointPropertiesFormat struct { - Locations *[]string `json:"locations,omitempty"` - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` - Service *string `json:"service,omitempty"` -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/version.go deleted file mode 100644 index 52931b4a027e..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/version.go +++ /dev/null @@ -1,10 +0,0 @@ -package loadbalancers - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -const defaultApiVersion = "2023-11-01" - -func userAgent() string { - return "hashicorp/go-azure-sdk/loadbalancers/2023-11-01" -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/natgateways/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/natgateways/README.md deleted file mode 100644 index e7dc9a7b6006..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/natgateways/README.md +++ /dev/null @@ -1,121 +0,0 @@ - -## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/natgateways` Documentation - -The `natgateways` SDK allows for interaction with Azure Resource Manager `network` (API Version `2023-11-01`). - -This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). - -### Import Path - -```go -import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" -import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/natgateways" -``` - - -### Client Initialization - -```go -client := natgateways.NewNatGatewaysClientWithBaseURI("https://management.azure.com") -client.Client.Authorizer = authorizer -``` - - -### Example Usage: `NatGatewaysClient.CreateOrUpdate` - -```go -ctx := context.TODO() -id := natgateways.NewNatGatewayID("12345678-1234-9876-4563-123456789012", "example-resource-group", "natGatewayName") - -payload := natgateways.NatGateway{ - // ... -} - - -if err := client.CreateOrUpdateThenPoll(ctx, id, payload); err != nil { - // handle the error -} -``` - - -### Example Usage: `NatGatewaysClient.Delete` - -```go -ctx := context.TODO() -id := natgateways.NewNatGatewayID("12345678-1234-9876-4563-123456789012", "example-resource-group", "natGatewayName") - -if err := client.DeleteThenPoll(ctx, id); err != nil { - // handle the error -} -``` - - -### Example Usage: `NatGatewaysClient.Get` - -```go -ctx := context.TODO() -id := natgateways.NewNatGatewayID("12345678-1234-9876-4563-123456789012", "example-resource-group", "natGatewayName") - -read, err := client.Get(ctx, id, natgateways.DefaultGetOperationOptions()) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `NatGatewaysClient.List` - -```go -ctx := context.TODO() -id := commonids.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group") - -// alternatively `client.List(ctx, id)` can be used to do batched pagination -items, err := client.ListComplete(ctx, id) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` - - -### Example Usage: `NatGatewaysClient.ListAll` - -```go -ctx := context.TODO() -id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012") - -// alternatively `client.ListAll(ctx, id)` can be used to do batched pagination -items, err := client.ListAllComplete(ctx, id) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` - - -### Example Usage: `NatGatewaysClient.UpdateTags` - -```go -ctx := context.TODO() -id := natgateways.NewNatGatewayID("12345678-1234-9876-4563-123456789012", "example-resource-group", "natGatewayName") - -payload := natgateways.TagsObject{ - // ... -} - - -read, err := client.UpdateTags(ctx, id, payload) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/natgateways/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/natgateways/version.go deleted file mode 100644 index e81482d13fd1..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/natgateways/version.go +++ /dev/null @@ -1,10 +0,0 @@ -package natgateways - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -const defaultApiVersion = "2023-11-01" - -func userAgent() string { - return "hashicorp/go-azure-sdk/natgateways/2023-11-01" -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkgroups/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkgroups/README.md deleted file mode 100644 index 2e21ff9935d9..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkgroups/README.md +++ /dev/null @@ -1,86 +0,0 @@ - -## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkgroups` Documentation - -The `networkgroups` SDK allows for interaction with Azure Resource Manager `network` (API Version `2023-11-01`). - -This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). - -### Import Path - -```go -import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkgroups" -``` - - -### Client Initialization - -```go -client := networkgroups.NewNetworkGroupsClientWithBaseURI("https://management.azure.com") -client.Client.Authorizer = authorizer -``` - - -### Example Usage: `NetworkGroupsClient.CreateOrUpdate` - -```go -ctx := context.TODO() -id := networkgroups.NewNetworkGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkManagerName", "networkGroupName") - -payload := networkgroups.NetworkGroup{ - // ... -} - - -read, err := client.CreateOrUpdate(ctx, id, payload, networkgroups.DefaultCreateOrUpdateOperationOptions()) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `NetworkGroupsClient.Delete` - -```go -ctx := context.TODO() -id := networkgroups.NewNetworkGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkManagerName", "networkGroupName") - -if err := client.DeleteThenPoll(ctx, id, networkgroups.DefaultDeleteOperationOptions()); err != nil { - // handle the error -} -``` - - -### Example Usage: `NetworkGroupsClient.Get` - -```go -ctx := context.TODO() -id := networkgroups.NewNetworkGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkManagerName", "networkGroupName") - -read, err := client.Get(ctx, id) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `NetworkGroupsClient.List` - -```go -ctx := context.TODO() -id := networkgroups.NewNetworkManagerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkManagerName") - -// alternatively `client.List(ctx, id, networkgroups.DefaultListOperationOptions())` can be used to do batched pagination -items, err := client.ListComplete(ctx, id, networkgroups.DefaultListOperationOptions()) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkgroups/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkgroups/constants.go deleted file mode 100644 index 3bc1d35bd511..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkgroups/constants.go +++ /dev/null @@ -1,57 +0,0 @@ -package networkgroups - -import ( - "encoding/json" - "fmt" - "strings" -) - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -type ProvisioningState string - -const ( - ProvisioningStateDeleting ProvisioningState = "Deleting" - ProvisioningStateFailed ProvisioningState = "Failed" - ProvisioningStateSucceeded ProvisioningState = "Succeeded" - ProvisioningStateUpdating ProvisioningState = "Updating" -) - -func PossibleValuesForProvisioningState() []string { - return []string{ - string(ProvisioningStateDeleting), - string(ProvisioningStateFailed), - string(ProvisioningStateSucceeded), - string(ProvisioningStateUpdating), - } -} - -func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseProvisioningState(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseProvisioningState(input string) (*ProvisioningState, error) { - vals := map[string]ProvisioningState{ - "deleting": ProvisioningStateDeleting, - "failed": ProvisioningStateFailed, - "succeeded": ProvisioningStateSucceeded, - "updating": ProvisioningStateUpdating, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := ProvisioningState(input) - return &out, nil -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkgroups/model_networkgroupproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkgroups/model_networkgroupproperties.go deleted file mode 100644 index 69e5d9d5b225..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkgroups/model_networkgroupproperties.go +++ /dev/null @@ -1,10 +0,0 @@ -package networkgroups - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -type NetworkGroupProperties struct { - Description *string `json:"description,omitempty"` - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` - ResourceGuid *string `json:"resourceGuid,omitempty"` -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkgroups/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkgroups/version.go deleted file mode 100644 index fe2835422749..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkgroups/version.go +++ /dev/null @@ -1,10 +0,0 @@ -package networkgroups - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -const defaultApiVersion = "2023-11-01" - -func userAgent() string { - return "hashicorp/go-azure-sdk/networkgroups/2023-11-01" -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/README.md deleted file mode 100644 index b5dc59ad7124..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/README.md +++ /dev/null @@ -1,400 +0,0 @@ - -## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces` Documentation - -The `networkinterfaces` SDK allows for interaction with Azure Resource Manager `network` (API Version `2023-11-01`). - -This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). - -### Import Path - -```go -import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" -import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces" -``` - - -### Client Initialization - -```go -client := networkinterfaces.NewNetworkInterfacesClientWithBaseURI("https://management.azure.com") -client.Client.Authorizer = authorizer -``` - - -### Example Usage: `NetworkInterfacesClient.CreateOrUpdate` - -```go -ctx := context.TODO() -id := commonids.NewNetworkInterfaceID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkInterfaceName") - -payload := networkinterfaces.NetworkInterface{ - // ... -} - - -if err := client.CreateOrUpdateThenPoll(ctx, id, payload); err != nil { - // handle the error -} -``` - - -### Example Usage: `NetworkInterfacesClient.Delete` - -```go -ctx := context.TODO() -id := commonids.NewNetworkInterfaceID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkInterfaceName") - -if err := client.DeleteThenPoll(ctx, id); err != nil { - // handle the error -} -``` - - -### Example Usage: `NetworkInterfacesClient.Get` - -```go -ctx := context.TODO() -id := commonids.NewNetworkInterfaceID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkInterfaceName") - -read, err := client.Get(ctx, id, networkinterfaces.DefaultGetOperationOptions()) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `NetworkInterfacesClient.GetCloudServiceNetworkInterface` - -```go -ctx := context.TODO() -id := networkinterfaces.NewRoleInstanceNetworkInterfaceID("12345678-1234-9876-4563-123456789012", "example-resource-group", "cloudServiceName", "roleInstanceName", "networkInterfaceName") - -read, err := client.GetCloudServiceNetworkInterface(ctx, id, networkinterfaces.DefaultGetCloudServiceNetworkInterfaceOperationOptions()) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `NetworkInterfacesClient.GetEffectiveRouteTable` - -```go -ctx := context.TODO() -id := commonids.NewNetworkInterfaceID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkInterfaceName") - -// alternatively `client.GetEffectiveRouteTable(ctx, id)` can be used to do batched pagination -items, err := client.GetEffectiveRouteTableComplete(ctx, id) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` - - -### Example Usage: `NetworkInterfacesClient.GetVirtualMachineScaleSetIPConfiguration` - -```go -ctx := context.TODO() -id := commonids.NewVirtualMachineScaleSetIPConfigurationID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualMachineScaleSetName", "virtualMachineName", "networkInterfaceName", "ipConfigurationName") - -read, err := client.GetVirtualMachineScaleSetIPConfiguration(ctx, id, networkinterfaces.DefaultGetVirtualMachineScaleSetIPConfigurationOperationOptions()) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `NetworkInterfacesClient.GetVirtualMachineScaleSetNetworkInterface` - -```go -ctx := context.TODO() -id := commonids.NewVirtualMachineScaleSetNetworkInterfaceID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualMachineScaleSetName", "virtualMachineName", "networkInterfaceName") - -read, err := client.GetVirtualMachineScaleSetNetworkInterface(ctx, id, networkinterfaces.DefaultGetVirtualMachineScaleSetNetworkInterfaceOperationOptions()) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `NetworkInterfacesClient.List` - -```go -ctx := context.TODO() -id := commonids.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group") - -// alternatively `client.List(ctx, id)` can be used to do batched pagination -items, err := client.ListComplete(ctx, id) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` - - -### Example Usage: `NetworkInterfacesClient.ListAll` - -```go -ctx := context.TODO() -id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012") - -// alternatively `client.ListAll(ctx, id)` can be used to do batched pagination -items, err := client.ListAllComplete(ctx, id) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` - - -### Example Usage: `NetworkInterfacesClient.ListCloudServiceNetworkInterfaces` - -```go -ctx := context.TODO() -id := networkinterfaces.NewProviderCloudServiceID("12345678-1234-9876-4563-123456789012", "example-resource-group", "cloudServiceName") - -// alternatively `client.ListCloudServiceNetworkInterfaces(ctx, id)` can be used to do batched pagination -items, err := client.ListCloudServiceNetworkInterfacesComplete(ctx, id) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` - - -### Example Usage: `NetworkInterfacesClient.ListCloudServiceRoleInstanceNetworkInterfaces` - -```go -ctx := context.TODO() -id := networkinterfaces.NewRoleInstanceID("12345678-1234-9876-4563-123456789012", "example-resource-group", "cloudServiceName", "roleInstanceName") - -// alternatively `client.ListCloudServiceRoleInstanceNetworkInterfaces(ctx, id)` can be used to do batched pagination -items, err := client.ListCloudServiceRoleInstanceNetworkInterfacesComplete(ctx, id) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` - - -### Example Usage: `NetworkInterfacesClient.ListEffectiveNetworkSecurityGroups` - -```go -ctx := context.TODO() -id := commonids.NewNetworkInterfaceID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkInterfaceName") - -// alternatively `client.ListEffectiveNetworkSecurityGroups(ctx, id)` can be used to do batched pagination -items, err := client.ListEffectiveNetworkSecurityGroupsComplete(ctx, id) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` - - -### Example Usage: `NetworkInterfacesClient.ListVirtualMachineScaleSetIPConfigurations` - -```go -ctx := context.TODO() -id := commonids.NewVirtualMachineScaleSetNetworkInterfaceID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualMachineScaleSetName", "virtualMachineName", "networkInterfaceName") - -// alternatively `client.ListVirtualMachineScaleSetIPConfigurations(ctx, id, networkinterfaces.DefaultListVirtualMachineScaleSetIPConfigurationsOperationOptions())` can be used to do batched pagination -items, err := client.ListVirtualMachineScaleSetIPConfigurationsComplete(ctx, id, networkinterfaces.DefaultListVirtualMachineScaleSetIPConfigurationsOperationOptions()) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` - - -### Example Usage: `NetworkInterfacesClient.ListVirtualMachineScaleSetNetworkInterfaces` - -```go -ctx := context.TODO() -id := networkinterfaces.NewVirtualMachineScaleSetID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualMachineScaleSetName") - -// alternatively `client.ListVirtualMachineScaleSetNetworkInterfaces(ctx, id)` can be used to do batched pagination -items, err := client.ListVirtualMachineScaleSetNetworkInterfacesComplete(ctx, id) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` - - -### Example Usage: `NetworkInterfacesClient.ListVirtualMachineScaleSetVMNetworkInterfaces` - -```go -ctx := context.TODO() -id := networkinterfaces.NewVirtualMachineID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualMachineScaleSetName", "virtualMachineName") - -// alternatively `client.ListVirtualMachineScaleSetVMNetworkInterfaces(ctx, id)` can be used to do batched pagination -items, err := client.ListVirtualMachineScaleSetVMNetworkInterfacesComplete(ctx, id) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` - - -### Example Usage: `NetworkInterfacesClient.NetworkInterfaceIPConfigurationsGet` - -```go -ctx := context.TODO() -id := commonids.NewNetworkInterfaceIPConfigurationID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkInterfaceName", "ipConfigurationName") - -read, err := client.NetworkInterfaceIPConfigurationsGet(ctx, id) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `NetworkInterfacesClient.NetworkInterfaceIPConfigurationsList` - -```go -ctx := context.TODO() -id := commonids.NewNetworkInterfaceID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkInterfaceName") - -// alternatively `client.NetworkInterfaceIPConfigurationsList(ctx, id)` can be used to do batched pagination -items, err := client.NetworkInterfaceIPConfigurationsListComplete(ctx, id) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` - - -### Example Usage: `NetworkInterfacesClient.NetworkInterfaceLoadBalancersList` - -```go -ctx := context.TODO() -id := commonids.NewNetworkInterfaceID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkInterfaceName") - -// alternatively `client.NetworkInterfaceLoadBalancersList(ctx, id)` can be used to do batched pagination -items, err := client.NetworkInterfaceLoadBalancersListComplete(ctx, id) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` - - -### Example Usage: `NetworkInterfacesClient.NetworkInterfaceTapConfigurationsCreateOrUpdate` - -```go -ctx := context.TODO() -id := networkinterfaces.NewTapConfigurationID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkInterfaceName", "tapConfigurationName") - -payload := networkinterfaces.NetworkInterfaceTapConfiguration{ - // ... -} - - -if err := client.NetworkInterfaceTapConfigurationsCreateOrUpdateThenPoll(ctx, id, payload); err != nil { - // handle the error -} -``` - - -### Example Usage: `NetworkInterfacesClient.NetworkInterfaceTapConfigurationsDelete` - -```go -ctx := context.TODO() -id := networkinterfaces.NewTapConfigurationID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkInterfaceName", "tapConfigurationName") - -if err := client.NetworkInterfaceTapConfigurationsDeleteThenPoll(ctx, id); err != nil { - // handle the error -} -``` - - -### Example Usage: `NetworkInterfacesClient.NetworkInterfaceTapConfigurationsGet` - -```go -ctx := context.TODO() -id := networkinterfaces.NewTapConfigurationID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkInterfaceName", "tapConfigurationName") - -read, err := client.NetworkInterfaceTapConfigurationsGet(ctx, id) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `NetworkInterfacesClient.NetworkInterfaceTapConfigurationsList` - -```go -ctx := context.TODO() -id := commonids.NewNetworkInterfaceID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkInterfaceName") - -// alternatively `client.NetworkInterfaceTapConfigurationsList(ctx, id)` can be used to do batched pagination -items, err := client.NetworkInterfaceTapConfigurationsListComplete(ctx, id) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` - - -### Example Usage: `NetworkInterfacesClient.UpdateTags` - -```go -ctx := context.TODO() -id := commonids.NewNetworkInterfaceID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkInterfaceName") - -payload := networkinterfaces.TagsObject{ - // ... -} - - -read, err := client.UpdateTags(ctx, id, payload) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/constants.go deleted file mode 100644 index ca36c67f611c..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/constants.go +++ /dev/null @@ -1,1547 +0,0 @@ -package networkinterfaces - -import ( - "encoding/json" - "fmt" - "strings" -) - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -type DdosSettingsProtectionMode string - -const ( - DdosSettingsProtectionModeDisabled DdosSettingsProtectionMode = "Disabled" - DdosSettingsProtectionModeEnabled DdosSettingsProtectionMode = "Enabled" - DdosSettingsProtectionModeVirtualNetworkInherited DdosSettingsProtectionMode = "VirtualNetworkInherited" -) - -func PossibleValuesForDdosSettingsProtectionMode() []string { - return []string{ - string(DdosSettingsProtectionModeDisabled), - string(DdosSettingsProtectionModeEnabled), - string(DdosSettingsProtectionModeVirtualNetworkInherited), - } -} - -func (s *DdosSettingsProtectionMode) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseDdosSettingsProtectionMode(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseDdosSettingsProtectionMode(input string) (*DdosSettingsProtectionMode, error) { - vals := map[string]DdosSettingsProtectionMode{ - "disabled": DdosSettingsProtectionModeDisabled, - "enabled": DdosSettingsProtectionModeEnabled, - "virtualnetworkinherited": DdosSettingsProtectionModeVirtualNetworkInherited, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := DdosSettingsProtectionMode(input) - return &out, nil -} - -type DeleteOptions string - -const ( - DeleteOptionsDelete DeleteOptions = "Delete" - DeleteOptionsDetach DeleteOptions = "Detach" -) - -func PossibleValuesForDeleteOptions() []string { - return []string{ - string(DeleteOptionsDelete), - string(DeleteOptionsDetach), - } -} - -func (s *DeleteOptions) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseDeleteOptions(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseDeleteOptions(input string) (*DeleteOptions, error) { - vals := map[string]DeleteOptions{ - "delete": DeleteOptionsDelete, - "detach": DeleteOptionsDetach, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := DeleteOptions(input) - return &out, nil -} - -type EffectiveRouteSource string - -const ( - EffectiveRouteSourceDefault EffectiveRouteSource = "Default" - EffectiveRouteSourceUnknown EffectiveRouteSource = "Unknown" - EffectiveRouteSourceUser EffectiveRouteSource = "User" - EffectiveRouteSourceVirtualNetworkGateway EffectiveRouteSource = "VirtualNetworkGateway" -) - -func PossibleValuesForEffectiveRouteSource() []string { - return []string{ - string(EffectiveRouteSourceDefault), - string(EffectiveRouteSourceUnknown), - string(EffectiveRouteSourceUser), - string(EffectiveRouteSourceVirtualNetworkGateway), - } -} - -func (s *EffectiveRouteSource) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseEffectiveRouteSource(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseEffectiveRouteSource(input string) (*EffectiveRouteSource, error) { - vals := map[string]EffectiveRouteSource{ - "default": EffectiveRouteSourceDefault, - "unknown": EffectiveRouteSourceUnknown, - "user": EffectiveRouteSourceUser, - "virtualnetworkgateway": EffectiveRouteSourceVirtualNetworkGateway, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := EffectiveRouteSource(input) - return &out, nil -} - -type EffectiveRouteState string - -const ( - EffectiveRouteStateActive EffectiveRouteState = "Active" - EffectiveRouteStateInvalid EffectiveRouteState = "Invalid" -) - -func PossibleValuesForEffectiveRouteState() []string { - return []string{ - string(EffectiveRouteStateActive), - string(EffectiveRouteStateInvalid), - } -} - -func (s *EffectiveRouteState) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseEffectiveRouteState(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseEffectiveRouteState(input string) (*EffectiveRouteState, error) { - vals := map[string]EffectiveRouteState{ - "active": EffectiveRouteStateActive, - "invalid": EffectiveRouteStateInvalid, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := EffectiveRouteState(input) - return &out, nil -} - -type EffectiveSecurityRuleProtocol string - -const ( - EffectiveSecurityRuleProtocolAll EffectiveSecurityRuleProtocol = "All" - EffectiveSecurityRuleProtocolTcp EffectiveSecurityRuleProtocol = "Tcp" - EffectiveSecurityRuleProtocolUdp EffectiveSecurityRuleProtocol = "Udp" -) - -func PossibleValuesForEffectiveSecurityRuleProtocol() []string { - return []string{ - string(EffectiveSecurityRuleProtocolAll), - string(EffectiveSecurityRuleProtocolTcp), - string(EffectiveSecurityRuleProtocolUdp), - } -} - -func (s *EffectiveSecurityRuleProtocol) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseEffectiveSecurityRuleProtocol(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseEffectiveSecurityRuleProtocol(input string) (*EffectiveSecurityRuleProtocol, error) { - vals := map[string]EffectiveSecurityRuleProtocol{ - "all": EffectiveSecurityRuleProtocolAll, - "tcp": EffectiveSecurityRuleProtocolTcp, - "udp": EffectiveSecurityRuleProtocolUdp, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := EffectiveSecurityRuleProtocol(input) - return &out, nil -} - -type FlowLogFormatType string - -const ( - FlowLogFormatTypeJSON FlowLogFormatType = "JSON" -) - -func PossibleValuesForFlowLogFormatType() []string { - return []string{ - string(FlowLogFormatTypeJSON), - } -} - -func (s *FlowLogFormatType) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseFlowLogFormatType(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseFlowLogFormatType(input string) (*FlowLogFormatType, error) { - vals := map[string]FlowLogFormatType{ - "json": FlowLogFormatTypeJSON, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := FlowLogFormatType(input) - return &out, nil -} - -type GatewayLoadBalancerTunnelInterfaceType string - -const ( - GatewayLoadBalancerTunnelInterfaceTypeExternal GatewayLoadBalancerTunnelInterfaceType = "External" - GatewayLoadBalancerTunnelInterfaceTypeInternal GatewayLoadBalancerTunnelInterfaceType = "Internal" - GatewayLoadBalancerTunnelInterfaceTypeNone GatewayLoadBalancerTunnelInterfaceType = "None" -) - -func PossibleValuesForGatewayLoadBalancerTunnelInterfaceType() []string { - return []string{ - string(GatewayLoadBalancerTunnelInterfaceTypeExternal), - string(GatewayLoadBalancerTunnelInterfaceTypeInternal), - string(GatewayLoadBalancerTunnelInterfaceTypeNone), - } -} - -func (s *GatewayLoadBalancerTunnelInterfaceType) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseGatewayLoadBalancerTunnelInterfaceType(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseGatewayLoadBalancerTunnelInterfaceType(input string) (*GatewayLoadBalancerTunnelInterfaceType, error) { - vals := map[string]GatewayLoadBalancerTunnelInterfaceType{ - "external": GatewayLoadBalancerTunnelInterfaceTypeExternal, - "internal": GatewayLoadBalancerTunnelInterfaceTypeInternal, - "none": GatewayLoadBalancerTunnelInterfaceTypeNone, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := GatewayLoadBalancerTunnelInterfaceType(input) - return &out, nil -} - -type GatewayLoadBalancerTunnelProtocol string - -const ( - GatewayLoadBalancerTunnelProtocolNative GatewayLoadBalancerTunnelProtocol = "Native" - GatewayLoadBalancerTunnelProtocolNone GatewayLoadBalancerTunnelProtocol = "None" - GatewayLoadBalancerTunnelProtocolVXLAN GatewayLoadBalancerTunnelProtocol = "VXLAN" -) - -func PossibleValuesForGatewayLoadBalancerTunnelProtocol() []string { - return []string{ - string(GatewayLoadBalancerTunnelProtocolNative), - string(GatewayLoadBalancerTunnelProtocolNone), - string(GatewayLoadBalancerTunnelProtocolVXLAN), - } -} - -func (s *GatewayLoadBalancerTunnelProtocol) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseGatewayLoadBalancerTunnelProtocol(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseGatewayLoadBalancerTunnelProtocol(input string) (*GatewayLoadBalancerTunnelProtocol, error) { - vals := map[string]GatewayLoadBalancerTunnelProtocol{ - "native": GatewayLoadBalancerTunnelProtocolNative, - "none": GatewayLoadBalancerTunnelProtocolNone, - "vxlan": GatewayLoadBalancerTunnelProtocolVXLAN, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := GatewayLoadBalancerTunnelProtocol(input) - return &out, nil -} - -type IPAllocationMethod string - -const ( - IPAllocationMethodDynamic IPAllocationMethod = "Dynamic" - IPAllocationMethodStatic IPAllocationMethod = "Static" -) - -func PossibleValuesForIPAllocationMethod() []string { - return []string{ - string(IPAllocationMethodDynamic), - string(IPAllocationMethodStatic), - } -} - -func (s *IPAllocationMethod) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseIPAllocationMethod(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseIPAllocationMethod(input string) (*IPAllocationMethod, error) { - vals := map[string]IPAllocationMethod{ - "dynamic": IPAllocationMethodDynamic, - "static": IPAllocationMethodStatic, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := IPAllocationMethod(input) - return &out, nil -} - -type IPVersion string - -const ( - IPVersionIPvFour IPVersion = "IPv4" - IPVersionIPvSix IPVersion = "IPv6" -) - -func PossibleValuesForIPVersion() []string { - return []string{ - string(IPVersionIPvFour), - string(IPVersionIPvSix), - } -} - -func (s *IPVersion) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseIPVersion(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseIPVersion(input string) (*IPVersion, error) { - vals := map[string]IPVersion{ - "ipv4": IPVersionIPvFour, - "ipv6": IPVersionIPvSix, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := IPVersion(input) - return &out, nil -} - -type LoadBalancerBackendAddressAdminState string - -const ( - LoadBalancerBackendAddressAdminStateDown LoadBalancerBackendAddressAdminState = "Down" - LoadBalancerBackendAddressAdminStateNone LoadBalancerBackendAddressAdminState = "None" - LoadBalancerBackendAddressAdminStateUp LoadBalancerBackendAddressAdminState = "Up" -) - -func PossibleValuesForLoadBalancerBackendAddressAdminState() []string { - return []string{ - string(LoadBalancerBackendAddressAdminStateDown), - string(LoadBalancerBackendAddressAdminStateNone), - string(LoadBalancerBackendAddressAdminStateUp), - } -} - -func (s *LoadBalancerBackendAddressAdminState) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseLoadBalancerBackendAddressAdminState(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseLoadBalancerBackendAddressAdminState(input string) (*LoadBalancerBackendAddressAdminState, error) { - vals := map[string]LoadBalancerBackendAddressAdminState{ - "down": LoadBalancerBackendAddressAdminStateDown, - "none": LoadBalancerBackendAddressAdminStateNone, - "up": LoadBalancerBackendAddressAdminStateUp, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := LoadBalancerBackendAddressAdminState(input) - return &out, nil -} - -type LoadBalancerOutboundRuleProtocol string - -const ( - LoadBalancerOutboundRuleProtocolAll LoadBalancerOutboundRuleProtocol = "All" - LoadBalancerOutboundRuleProtocolTcp LoadBalancerOutboundRuleProtocol = "Tcp" - LoadBalancerOutboundRuleProtocolUdp LoadBalancerOutboundRuleProtocol = "Udp" -) - -func PossibleValuesForLoadBalancerOutboundRuleProtocol() []string { - return []string{ - string(LoadBalancerOutboundRuleProtocolAll), - string(LoadBalancerOutboundRuleProtocolTcp), - string(LoadBalancerOutboundRuleProtocolUdp), - } -} - -func (s *LoadBalancerOutboundRuleProtocol) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseLoadBalancerOutboundRuleProtocol(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseLoadBalancerOutboundRuleProtocol(input string) (*LoadBalancerOutboundRuleProtocol, error) { - vals := map[string]LoadBalancerOutboundRuleProtocol{ - "all": LoadBalancerOutboundRuleProtocolAll, - "tcp": LoadBalancerOutboundRuleProtocolTcp, - "udp": LoadBalancerOutboundRuleProtocolUdp, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := LoadBalancerOutboundRuleProtocol(input) - return &out, nil -} - -type LoadBalancerSkuName string - -const ( - LoadBalancerSkuNameBasic LoadBalancerSkuName = "Basic" - LoadBalancerSkuNameGateway LoadBalancerSkuName = "Gateway" - LoadBalancerSkuNameStandard LoadBalancerSkuName = "Standard" -) - -func PossibleValuesForLoadBalancerSkuName() []string { - return []string{ - string(LoadBalancerSkuNameBasic), - string(LoadBalancerSkuNameGateway), - string(LoadBalancerSkuNameStandard), - } -} - -func (s *LoadBalancerSkuName) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseLoadBalancerSkuName(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseLoadBalancerSkuName(input string) (*LoadBalancerSkuName, error) { - vals := map[string]LoadBalancerSkuName{ - "basic": LoadBalancerSkuNameBasic, - "gateway": LoadBalancerSkuNameGateway, - "standard": LoadBalancerSkuNameStandard, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := LoadBalancerSkuName(input) - return &out, nil -} - -type LoadBalancerSkuTier string - -const ( - LoadBalancerSkuTierGlobal LoadBalancerSkuTier = "Global" - LoadBalancerSkuTierRegional LoadBalancerSkuTier = "Regional" -) - -func PossibleValuesForLoadBalancerSkuTier() []string { - return []string{ - string(LoadBalancerSkuTierGlobal), - string(LoadBalancerSkuTierRegional), - } -} - -func (s *LoadBalancerSkuTier) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseLoadBalancerSkuTier(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseLoadBalancerSkuTier(input string) (*LoadBalancerSkuTier, error) { - vals := map[string]LoadBalancerSkuTier{ - "global": LoadBalancerSkuTierGlobal, - "regional": LoadBalancerSkuTierRegional, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := LoadBalancerSkuTier(input) - return &out, nil -} - -type LoadDistribution string - -const ( - LoadDistributionDefault LoadDistribution = "Default" - LoadDistributionSourceIP LoadDistribution = "SourceIP" - LoadDistributionSourceIPProtocol LoadDistribution = "SourceIPProtocol" -) - -func PossibleValuesForLoadDistribution() []string { - return []string{ - string(LoadDistributionDefault), - string(LoadDistributionSourceIP), - string(LoadDistributionSourceIPProtocol), - } -} - -func (s *LoadDistribution) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseLoadDistribution(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseLoadDistribution(input string) (*LoadDistribution, error) { - vals := map[string]LoadDistribution{ - "default": LoadDistributionDefault, - "sourceip": LoadDistributionSourceIP, - "sourceipprotocol": LoadDistributionSourceIPProtocol, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := LoadDistribution(input) - return &out, nil -} - -type NatGatewaySkuName string - -const ( - NatGatewaySkuNameStandard NatGatewaySkuName = "Standard" -) - -func PossibleValuesForNatGatewaySkuName() []string { - return []string{ - string(NatGatewaySkuNameStandard), - } -} - -func (s *NatGatewaySkuName) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseNatGatewaySkuName(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseNatGatewaySkuName(input string) (*NatGatewaySkuName, error) { - vals := map[string]NatGatewaySkuName{ - "standard": NatGatewaySkuNameStandard, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := NatGatewaySkuName(input) - return &out, nil -} - -type NetworkInterfaceAuxiliaryMode string - -const ( - NetworkInterfaceAuxiliaryModeAcceleratedConnections NetworkInterfaceAuxiliaryMode = "AcceleratedConnections" - NetworkInterfaceAuxiliaryModeFloating NetworkInterfaceAuxiliaryMode = "Floating" - NetworkInterfaceAuxiliaryModeMaxConnections NetworkInterfaceAuxiliaryMode = "MaxConnections" - NetworkInterfaceAuxiliaryModeNone NetworkInterfaceAuxiliaryMode = "None" -) - -func PossibleValuesForNetworkInterfaceAuxiliaryMode() []string { - return []string{ - string(NetworkInterfaceAuxiliaryModeAcceleratedConnections), - string(NetworkInterfaceAuxiliaryModeFloating), - string(NetworkInterfaceAuxiliaryModeMaxConnections), - string(NetworkInterfaceAuxiliaryModeNone), - } -} - -func (s *NetworkInterfaceAuxiliaryMode) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseNetworkInterfaceAuxiliaryMode(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseNetworkInterfaceAuxiliaryMode(input string) (*NetworkInterfaceAuxiliaryMode, error) { - vals := map[string]NetworkInterfaceAuxiliaryMode{ - "acceleratedconnections": NetworkInterfaceAuxiliaryModeAcceleratedConnections, - "floating": NetworkInterfaceAuxiliaryModeFloating, - "maxconnections": NetworkInterfaceAuxiliaryModeMaxConnections, - "none": NetworkInterfaceAuxiliaryModeNone, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := NetworkInterfaceAuxiliaryMode(input) - return &out, nil -} - -type NetworkInterfaceAuxiliarySku string - -const ( - NetworkInterfaceAuxiliarySkuAEight NetworkInterfaceAuxiliarySku = "A8" - NetworkInterfaceAuxiliarySkuAFour NetworkInterfaceAuxiliarySku = "A4" - NetworkInterfaceAuxiliarySkuAOne NetworkInterfaceAuxiliarySku = "A1" - NetworkInterfaceAuxiliarySkuATwo NetworkInterfaceAuxiliarySku = "A2" - NetworkInterfaceAuxiliarySkuNone NetworkInterfaceAuxiliarySku = "None" -) - -func PossibleValuesForNetworkInterfaceAuxiliarySku() []string { - return []string{ - string(NetworkInterfaceAuxiliarySkuAEight), - string(NetworkInterfaceAuxiliarySkuAFour), - string(NetworkInterfaceAuxiliarySkuAOne), - string(NetworkInterfaceAuxiliarySkuATwo), - string(NetworkInterfaceAuxiliarySkuNone), - } -} - -func (s *NetworkInterfaceAuxiliarySku) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseNetworkInterfaceAuxiliarySku(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseNetworkInterfaceAuxiliarySku(input string) (*NetworkInterfaceAuxiliarySku, error) { - vals := map[string]NetworkInterfaceAuxiliarySku{ - "a8": NetworkInterfaceAuxiliarySkuAEight, - "a4": NetworkInterfaceAuxiliarySkuAFour, - "a1": NetworkInterfaceAuxiliarySkuAOne, - "a2": NetworkInterfaceAuxiliarySkuATwo, - "none": NetworkInterfaceAuxiliarySkuNone, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := NetworkInterfaceAuxiliarySku(input) - return &out, nil -} - -type NetworkInterfaceMigrationPhase string - -const ( - NetworkInterfaceMigrationPhaseAbort NetworkInterfaceMigrationPhase = "Abort" - NetworkInterfaceMigrationPhaseCommit NetworkInterfaceMigrationPhase = "Commit" - NetworkInterfaceMigrationPhaseCommitted NetworkInterfaceMigrationPhase = "Committed" - NetworkInterfaceMigrationPhaseNone NetworkInterfaceMigrationPhase = "None" - NetworkInterfaceMigrationPhasePrepare NetworkInterfaceMigrationPhase = "Prepare" -) - -func PossibleValuesForNetworkInterfaceMigrationPhase() []string { - return []string{ - string(NetworkInterfaceMigrationPhaseAbort), - string(NetworkInterfaceMigrationPhaseCommit), - string(NetworkInterfaceMigrationPhaseCommitted), - string(NetworkInterfaceMigrationPhaseNone), - string(NetworkInterfaceMigrationPhasePrepare), - } -} - -func (s *NetworkInterfaceMigrationPhase) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseNetworkInterfaceMigrationPhase(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseNetworkInterfaceMigrationPhase(input string) (*NetworkInterfaceMigrationPhase, error) { - vals := map[string]NetworkInterfaceMigrationPhase{ - "abort": NetworkInterfaceMigrationPhaseAbort, - "commit": NetworkInterfaceMigrationPhaseCommit, - "committed": NetworkInterfaceMigrationPhaseCommitted, - "none": NetworkInterfaceMigrationPhaseNone, - "prepare": NetworkInterfaceMigrationPhasePrepare, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := NetworkInterfaceMigrationPhase(input) - return &out, nil -} - -type NetworkInterfaceNicType string - -const ( - NetworkInterfaceNicTypeElastic NetworkInterfaceNicType = "Elastic" - NetworkInterfaceNicTypeStandard NetworkInterfaceNicType = "Standard" -) - -func PossibleValuesForNetworkInterfaceNicType() []string { - return []string{ - string(NetworkInterfaceNicTypeElastic), - string(NetworkInterfaceNicTypeStandard), - } -} - -func (s *NetworkInterfaceNicType) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseNetworkInterfaceNicType(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseNetworkInterfaceNicType(input string) (*NetworkInterfaceNicType, error) { - vals := map[string]NetworkInterfaceNicType{ - "elastic": NetworkInterfaceNicTypeElastic, - "standard": NetworkInterfaceNicTypeStandard, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := NetworkInterfaceNicType(input) - return &out, nil -} - -type ProbeProtocol string - -const ( - ProbeProtocolHTTP ProbeProtocol = "Http" - ProbeProtocolHTTPS ProbeProtocol = "Https" - ProbeProtocolTcp ProbeProtocol = "Tcp" -) - -func PossibleValuesForProbeProtocol() []string { - return []string{ - string(ProbeProtocolHTTP), - string(ProbeProtocolHTTPS), - string(ProbeProtocolTcp), - } -} - -func (s *ProbeProtocol) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseProbeProtocol(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseProbeProtocol(input string) (*ProbeProtocol, error) { - vals := map[string]ProbeProtocol{ - "http": ProbeProtocolHTTP, - "https": ProbeProtocolHTTPS, - "tcp": ProbeProtocolTcp, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := ProbeProtocol(input) - return &out, nil -} - -type ProvisioningState string - -const ( - ProvisioningStateDeleting ProvisioningState = "Deleting" - ProvisioningStateFailed ProvisioningState = "Failed" - ProvisioningStateSucceeded ProvisioningState = "Succeeded" - ProvisioningStateUpdating ProvisioningState = "Updating" -) - -func PossibleValuesForProvisioningState() []string { - return []string{ - string(ProvisioningStateDeleting), - string(ProvisioningStateFailed), - string(ProvisioningStateSucceeded), - string(ProvisioningStateUpdating), - } -} - -func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseProvisioningState(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseProvisioningState(input string) (*ProvisioningState, error) { - vals := map[string]ProvisioningState{ - "deleting": ProvisioningStateDeleting, - "failed": ProvisioningStateFailed, - "succeeded": ProvisioningStateSucceeded, - "updating": ProvisioningStateUpdating, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := ProvisioningState(input) - return &out, nil -} - -type PublicIPAddressDnsSettingsDomainNameLabelScope string - -const ( - PublicIPAddressDnsSettingsDomainNameLabelScopeNoReuse PublicIPAddressDnsSettingsDomainNameLabelScope = "NoReuse" - PublicIPAddressDnsSettingsDomainNameLabelScopeResourceGroupReuse PublicIPAddressDnsSettingsDomainNameLabelScope = "ResourceGroupReuse" - PublicIPAddressDnsSettingsDomainNameLabelScopeSubscriptionReuse PublicIPAddressDnsSettingsDomainNameLabelScope = "SubscriptionReuse" - PublicIPAddressDnsSettingsDomainNameLabelScopeTenantReuse PublicIPAddressDnsSettingsDomainNameLabelScope = "TenantReuse" -) - -func PossibleValuesForPublicIPAddressDnsSettingsDomainNameLabelScope() []string { - return []string{ - string(PublicIPAddressDnsSettingsDomainNameLabelScopeNoReuse), - string(PublicIPAddressDnsSettingsDomainNameLabelScopeResourceGroupReuse), - string(PublicIPAddressDnsSettingsDomainNameLabelScopeSubscriptionReuse), - string(PublicIPAddressDnsSettingsDomainNameLabelScopeTenantReuse), - } -} - -func (s *PublicIPAddressDnsSettingsDomainNameLabelScope) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parsePublicIPAddressDnsSettingsDomainNameLabelScope(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parsePublicIPAddressDnsSettingsDomainNameLabelScope(input string) (*PublicIPAddressDnsSettingsDomainNameLabelScope, error) { - vals := map[string]PublicIPAddressDnsSettingsDomainNameLabelScope{ - "noreuse": PublicIPAddressDnsSettingsDomainNameLabelScopeNoReuse, - "resourcegroupreuse": PublicIPAddressDnsSettingsDomainNameLabelScopeResourceGroupReuse, - "subscriptionreuse": PublicIPAddressDnsSettingsDomainNameLabelScopeSubscriptionReuse, - "tenantreuse": PublicIPAddressDnsSettingsDomainNameLabelScopeTenantReuse, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := PublicIPAddressDnsSettingsDomainNameLabelScope(input) - return &out, nil -} - -type PublicIPAddressMigrationPhase string - -const ( - PublicIPAddressMigrationPhaseAbort PublicIPAddressMigrationPhase = "Abort" - PublicIPAddressMigrationPhaseCommit PublicIPAddressMigrationPhase = "Commit" - PublicIPAddressMigrationPhaseCommitted PublicIPAddressMigrationPhase = "Committed" - PublicIPAddressMigrationPhaseNone PublicIPAddressMigrationPhase = "None" - PublicIPAddressMigrationPhasePrepare PublicIPAddressMigrationPhase = "Prepare" -) - -func PossibleValuesForPublicIPAddressMigrationPhase() []string { - return []string{ - string(PublicIPAddressMigrationPhaseAbort), - string(PublicIPAddressMigrationPhaseCommit), - string(PublicIPAddressMigrationPhaseCommitted), - string(PublicIPAddressMigrationPhaseNone), - string(PublicIPAddressMigrationPhasePrepare), - } -} - -func (s *PublicIPAddressMigrationPhase) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parsePublicIPAddressMigrationPhase(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parsePublicIPAddressMigrationPhase(input string) (*PublicIPAddressMigrationPhase, error) { - vals := map[string]PublicIPAddressMigrationPhase{ - "abort": PublicIPAddressMigrationPhaseAbort, - "commit": PublicIPAddressMigrationPhaseCommit, - "committed": PublicIPAddressMigrationPhaseCommitted, - "none": PublicIPAddressMigrationPhaseNone, - "prepare": PublicIPAddressMigrationPhasePrepare, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := PublicIPAddressMigrationPhase(input) - return &out, nil -} - -type PublicIPAddressSkuName string - -const ( - PublicIPAddressSkuNameBasic PublicIPAddressSkuName = "Basic" - PublicIPAddressSkuNameStandard PublicIPAddressSkuName = "Standard" -) - -func PossibleValuesForPublicIPAddressSkuName() []string { - return []string{ - string(PublicIPAddressSkuNameBasic), - string(PublicIPAddressSkuNameStandard), - } -} - -func (s *PublicIPAddressSkuName) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parsePublicIPAddressSkuName(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parsePublicIPAddressSkuName(input string) (*PublicIPAddressSkuName, error) { - vals := map[string]PublicIPAddressSkuName{ - "basic": PublicIPAddressSkuNameBasic, - "standard": PublicIPAddressSkuNameStandard, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := PublicIPAddressSkuName(input) - return &out, nil -} - -type PublicIPAddressSkuTier string - -const ( - PublicIPAddressSkuTierGlobal PublicIPAddressSkuTier = "Global" - PublicIPAddressSkuTierRegional PublicIPAddressSkuTier = "Regional" -) - -func PossibleValuesForPublicIPAddressSkuTier() []string { - return []string{ - string(PublicIPAddressSkuTierGlobal), - string(PublicIPAddressSkuTierRegional), - } -} - -func (s *PublicIPAddressSkuTier) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parsePublicIPAddressSkuTier(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parsePublicIPAddressSkuTier(input string) (*PublicIPAddressSkuTier, error) { - vals := map[string]PublicIPAddressSkuTier{ - "global": PublicIPAddressSkuTierGlobal, - "regional": PublicIPAddressSkuTierRegional, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := PublicIPAddressSkuTier(input) - return &out, nil -} - -type RouteNextHopType string - -const ( - RouteNextHopTypeInternet RouteNextHopType = "Internet" - RouteNextHopTypeNone RouteNextHopType = "None" - RouteNextHopTypeVirtualAppliance RouteNextHopType = "VirtualAppliance" - RouteNextHopTypeVirtualNetworkGateway RouteNextHopType = "VirtualNetworkGateway" - RouteNextHopTypeVnetLocal RouteNextHopType = "VnetLocal" -) - -func PossibleValuesForRouteNextHopType() []string { - return []string{ - string(RouteNextHopTypeInternet), - string(RouteNextHopTypeNone), - string(RouteNextHopTypeVirtualAppliance), - string(RouteNextHopTypeVirtualNetworkGateway), - string(RouteNextHopTypeVnetLocal), - } -} - -func (s *RouteNextHopType) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseRouteNextHopType(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseRouteNextHopType(input string) (*RouteNextHopType, error) { - vals := map[string]RouteNextHopType{ - "internet": RouteNextHopTypeInternet, - "none": RouteNextHopTypeNone, - "virtualappliance": RouteNextHopTypeVirtualAppliance, - "virtualnetworkgateway": RouteNextHopTypeVirtualNetworkGateway, - "vnetlocal": RouteNextHopTypeVnetLocal, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := RouteNextHopType(input) - return &out, nil -} - -type SecurityRuleAccess string - -const ( - SecurityRuleAccessAllow SecurityRuleAccess = "Allow" - SecurityRuleAccessDeny SecurityRuleAccess = "Deny" -) - -func PossibleValuesForSecurityRuleAccess() []string { - return []string{ - string(SecurityRuleAccessAllow), - string(SecurityRuleAccessDeny), - } -} - -func (s *SecurityRuleAccess) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseSecurityRuleAccess(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseSecurityRuleAccess(input string) (*SecurityRuleAccess, error) { - vals := map[string]SecurityRuleAccess{ - "allow": SecurityRuleAccessAllow, - "deny": SecurityRuleAccessDeny, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := SecurityRuleAccess(input) - return &out, nil -} - -type SecurityRuleDirection string - -const ( - SecurityRuleDirectionInbound SecurityRuleDirection = "Inbound" - SecurityRuleDirectionOutbound SecurityRuleDirection = "Outbound" -) - -func PossibleValuesForSecurityRuleDirection() []string { - return []string{ - string(SecurityRuleDirectionInbound), - string(SecurityRuleDirectionOutbound), - } -} - -func (s *SecurityRuleDirection) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseSecurityRuleDirection(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseSecurityRuleDirection(input string) (*SecurityRuleDirection, error) { - vals := map[string]SecurityRuleDirection{ - "inbound": SecurityRuleDirectionInbound, - "outbound": SecurityRuleDirectionOutbound, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := SecurityRuleDirection(input) - return &out, nil -} - -type SecurityRuleProtocol string - -const ( - SecurityRuleProtocolAh SecurityRuleProtocol = "Ah" - SecurityRuleProtocolAny SecurityRuleProtocol = "*" - SecurityRuleProtocolEsp SecurityRuleProtocol = "Esp" - SecurityRuleProtocolIcmp SecurityRuleProtocol = "Icmp" - SecurityRuleProtocolTcp SecurityRuleProtocol = "Tcp" - SecurityRuleProtocolUdp SecurityRuleProtocol = "Udp" -) - -func PossibleValuesForSecurityRuleProtocol() []string { - return []string{ - string(SecurityRuleProtocolAh), - string(SecurityRuleProtocolAny), - string(SecurityRuleProtocolEsp), - string(SecurityRuleProtocolIcmp), - string(SecurityRuleProtocolTcp), - string(SecurityRuleProtocolUdp), - } -} - -func (s *SecurityRuleProtocol) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseSecurityRuleProtocol(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseSecurityRuleProtocol(input string) (*SecurityRuleProtocol, error) { - vals := map[string]SecurityRuleProtocol{ - "ah": SecurityRuleProtocolAh, - "*": SecurityRuleProtocolAny, - "esp": SecurityRuleProtocolEsp, - "icmp": SecurityRuleProtocolIcmp, - "tcp": SecurityRuleProtocolTcp, - "udp": SecurityRuleProtocolUdp, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := SecurityRuleProtocol(input) - return &out, nil -} - -type SharingScope string - -const ( - SharingScopeDelegatedServices SharingScope = "DelegatedServices" - SharingScopeTenant SharingScope = "Tenant" -) - -func PossibleValuesForSharingScope() []string { - return []string{ - string(SharingScopeDelegatedServices), - string(SharingScopeTenant), - } -} - -func (s *SharingScope) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseSharingScope(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseSharingScope(input string) (*SharingScope, error) { - vals := map[string]SharingScope{ - "delegatedservices": SharingScopeDelegatedServices, - "tenant": SharingScopeTenant, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := SharingScope(input) - return &out, nil -} - -type SyncMode string - -const ( - SyncModeAutomatic SyncMode = "Automatic" - SyncModeManual SyncMode = "Manual" -) - -func PossibleValuesForSyncMode() []string { - return []string{ - string(SyncModeAutomatic), - string(SyncModeManual), - } -} - -func (s *SyncMode) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseSyncMode(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseSyncMode(input string) (*SyncMode, error) { - vals := map[string]SyncMode{ - "automatic": SyncModeAutomatic, - "manual": SyncModeManual, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := SyncMode(input) - return &out, nil -} - -type TransportProtocol string - -const ( - TransportProtocolAll TransportProtocol = "All" - TransportProtocolTcp TransportProtocol = "Tcp" - TransportProtocolUdp TransportProtocol = "Udp" -) - -func PossibleValuesForTransportProtocol() []string { - return []string{ - string(TransportProtocolAll), - string(TransportProtocolTcp), - string(TransportProtocolUdp), - } -} - -func (s *TransportProtocol) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseTransportProtocol(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseTransportProtocol(input string) (*TransportProtocol, error) { - vals := map[string]TransportProtocol{ - "all": TransportProtocolAll, - "tcp": TransportProtocolTcp, - "udp": TransportProtocolUdp, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := TransportProtocol(input) - return &out, nil -} - -type VirtualNetworkPrivateEndpointNetworkPolicies string - -const ( - VirtualNetworkPrivateEndpointNetworkPoliciesDisabled VirtualNetworkPrivateEndpointNetworkPolicies = "Disabled" - VirtualNetworkPrivateEndpointNetworkPoliciesEnabled VirtualNetworkPrivateEndpointNetworkPolicies = "Enabled" - VirtualNetworkPrivateEndpointNetworkPoliciesNetworkSecurityGroupEnabled VirtualNetworkPrivateEndpointNetworkPolicies = "NetworkSecurityGroupEnabled" - VirtualNetworkPrivateEndpointNetworkPoliciesRouteTableEnabled VirtualNetworkPrivateEndpointNetworkPolicies = "RouteTableEnabled" -) - -func PossibleValuesForVirtualNetworkPrivateEndpointNetworkPolicies() []string { - return []string{ - string(VirtualNetworkPrivateEndpointNetworkPoliciesDisabled), - string(VirtualNetworkPrivateEndpointNetworkPoliciesEnabled), - string(VirtualNetworkPrivateEndpointNetworkPoliciesNetworkSecurityGroupEnabled), - string(VirtualNetworkPrivateEndpointNetworkPoliciesRouteTableEnabled), - } -} - -func (s *VirtualNetworkPrivateEndpointNetworkPolicies) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseVirtualNetworkPrivateEndpointNetworkPolicies(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseVirtualNetworkPrivateEndpointNetworkPolicies(input string) (*VirtualNetworkPrivateEndpointNetworkPolicies, error) { - vals := map[string]VirtualNetworkPrivateEndpointNetworkPolicies{ - "disabled": VirtualNetworkPrivateEndpointNetworkPoliciesDisabled, - "enabled": VirtualNetworkPrivateEndpointNetworkPoliciesEnabled, - "networksecuritygroupenabled": VirtualNetworkPrivateEndpointNetworkPoliciesNetworkSecurityGroupEnabled, - "routetableenabled": VirtualNetworkPrivateEndpointNetworkPoliciesRouteTableEnabled, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := VirtualNetworkPrivateEndpointNetworkPolicies(input) - return &out, nil -} - -type VirtualNetworkPrivateLinkServiceNetworkPolicies string - -const ( - VirtualNetworkPrivateLinkServiceNetworkPoliciesDisabled VirtualNetworkPrivateLinkServiceNetworkPolicies = "Disabled" - VirtualNetworkPrivateLinkServiceNetworkPoliciesEnabled VirtualNetworkPrivateLinkServiceNetworkPolicies = "Enabled" -) - -func PossibleValuesForVirtualNetworkPrivateLinkServiceNetworkPolicies() []string { - return []string{ - string(VirtualNetworkPrivateLinkServiceNetworkPoliciesDisabled), - string(VirtualNetworkPrivateLinkServiceNetworkPoliciesEnabled), - } -} - -func (s *VirtualNetworkPrivateLinkServiceNetworkPolicies) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseVirtualNetworkPrivateLinkServiceNetworkPolicies(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseVirtualNetworkPrivateLinkServiceNetworkPolicies(input string) (*VirtualNetworkPrivateLinkServiceNetworkPolicies, error) { - vals := map[string]VirtualNetworkPrivateLinkServiceNetworkPolicies{ - "disabled": VirtualNetworkPrivateLinkServiceNetworkPoliciesDisabled, - "enabled": VirtualNetworkPrivateLinkServiceNetworkPoliciesEnabled, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := VirtualNetworkPrivateLinkServiceNetworkPolicies(input) - return &out, nil -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_flowlog.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_flowlog.go deleted file mode 100644 index c2f71983a362..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_flowlog.go +++ /dev/null @@ -1,14 +0,0 @@ -package networkinterfaces - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -type FlowLog struct { - Etag *string `json:"etag,omitempty"` - Id *string `json:"id,omitempty"` - Location *string `json:"location,omitempty"` - Name *string `json:"name,omitempty"` - Properties *FlowLogPropertiesFormat `json:"properties,omitempty"` - Tags *map[string]string `json:"tags,omitempty"` - Type *string `json:"type,omitempty"` -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_flowlogpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_flowlogpropertiesformat.go deleted file mode 100644 index e594a5d38198..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_flowlogpropertiesformat.go +++ /dev/null @@ -1,15 +0,0 @@ -package networkinterfaces - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -type FlowLogPropertiesFormat struct { - Enabled *bool `json:"enabled,omitempty"` - FlowAnalyticsConfiguration *TrafficAnalyticsProperties `json:"flowAnalyticsConfiguration,omitempty"` - Format *FlowLogFormatParameters `json:"format,omitempty"` - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` - RetentionPolicy *RetentionPolicyParameters `json:"retentionPolicy,omitempty"` - StorageId string `json:"storageId"` - TargetResourceGuid *string `json:"targetResourceGuid,omitempty"` - TargetResourceId string `json:"targetResourceId"` -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_privatelinkserviceproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_privatelinkserviceproperties.go deleted file mode 100644 index 2356695f6d12..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_privatelinkserviceproperties.go +++ /dev/null @@ -1,17 +0,0 @@ -package networkinterfaces - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -type PrivateLinkServiceProperties struct { - Alias *string `json:"alias,omitempty"` - AutoApproval *ResourceSet `json:"autoApproval,omitempty"` - EnableProxyProtocol *bool `json:"enableProxyProtocol,omitempty"` - Fqdns *[]string `json:"fqdns,omitempty"` - IPConfigurations *[]PrivateLinkServiceIPConfiguration `json:"ipConfigurations,omitempty"` - LoadBalancerFrontendIPConfigurations *[]FrontendIPConfiguration `json:"loadBalancerFrontendIpConfigurations,omitempty"` - NetworkInterfaces *[]NetworkInterface `json:"networkInterfaces,omitempty"` - PrivateEndpointConnections *[]PrivateEndpointConnection `json:"privateEndpointConnections,omitempty"` - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` - Visibility *ResourceSet `json:"visibility,omitempty"` -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_probepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_probepropertiesformat.go deleted file mode 100644 index 343b46540f7c..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_probepropertiesformat.go +++ /dev/null @@ -1,15 +0,0 @@ -package networkinterfaces - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -type ProbePropertiesFormat struct { - IntervalInSeconds *int64 `json:"intervalInSeconds,omitempty"` - LoadBalancingRules *[]SubResource `json:"loadBalancingRules,omitempty"` - NumberOfProbes *int64 `json:"numberOfProbes,omitempty"` - Port int64 `json:"port"` - ProbeThreshold *int64 `json:"probeThreshold,omitempty"` - Protocol ProbeProtocol `json:"protocol"` - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` - RequestPath *string `json:"requestPath,omitempty"` -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_serviceendpointpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_serviceendpointpropertiesformat.go deleted file mode 100644 index 041498d25012..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_serviceendpointpropertiesformat.go +++ /dev/null @@ -1,10 +0,0 @@ -package networkinterfaces - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -type ServiceEndpointPropertiesFormat struct { - Locations *[]string `json:"locations,omitempty"` - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` - Service *string `json:"service,omitempty"` -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/version.go deleted file mode 100644 index 16d462edbd37..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/version.go +++ /dev/null @@ -1,10 +0,0 @@ -package networkinterfaces - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -const defaultApiVersion = "2023-11-01" - -func userAgent() string { - return "hashicorp/go-azure-sdk/networkinterfaces/2023-11-01" -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanageractiveconfigurations/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanageractiveconfigurations/README.md deleted file mode 100644 index fe78b15b36a0..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanageractiveconfigurations/README.md +++ /dev/null @@ -1,41 +0,0 @@ - -## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanageractiveconfigurations` Documentation - -The `networkmanageractiveconfigurations` SDK allows for interaction with Azure Resource Manager `network` (API Version `2023-11-01`). - -This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). - -### Import Path - -```go -import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanageractiveconfigurations" -``` - - -### Client Initialization - -```go -client := networkmanageractiveconfigurations.NewNetworkManagerActiveConfigurationsClientWithBaseURI("https://management.azure.com") -client.Client.Authorizer = authorizer -``` - - -### Example Usage: `NetworkManagerActiveConfigurationsClient.ListActiveSecurityAdminRules` - -```go -ctx := context.TODO() -id := networkmanageractiveconfigurations.NewNetworkManagerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkManagerName") - -payload := networkmanageractiveconfigurations.ActiveConfigurationParameter{ - // ... -} - - -read, err := client.ListActiveSecurityAdminRules(ctx, id, payload) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanageractiveconfigurations/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanageractiveconfigurations/constants.go deleted file mode 100644 index e4a2b230b6e1..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanageractiveconfigurations/constants.go +++ /dev/null @@ -1,277 +0,0 @@ -package networkmanageractiveconfigurations - -import ( - "encoding/json" - "fmt" - "strings" -) - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -type AddressPrefixType string - -const ( - AddressPrefixTypeIPPrefix AddressPrefixType = "IPPrefix" - AddressPrefixTypeServiceTag AddressPrefixType = "ServiceTag" -) - -func PossibleValuesForAddressPrefixType() []string { - return []string{ - string(AddressPrefixTypeIPPrefix), - string(AddressPrefixTypeServiceTag), - } -} - -func (s *AddressPrefixType) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseAddressPrefixType(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseAddressPrefixType(input string) (*AddressPrefixType, error) { - vals := map[string]AddressPrefixType{ - "ipprefix": AddressPrefixTypeIPPrefix, - "servicetag": AddressPrefixTypeServiceTag, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := AddressPrefixType(input) - return &out, nil -} - -type EffectiveAdminRuleKind string - -const ( - EffectiveAdminRuleKindCustom EffectiveAdminRuleKind = "Custom" - EffectiveAdminRuleKindDefault EffectiveAdminRuleKind = "Default" -) - -func PossibleValuesForEffectiveAdminRuleKind() []string { - return []string{ - string(EffectiveAdminRuleKindCustom), - string(EffectiveAdminRuleKindDefault), - } -} - -func (s *EffectiveAdminRuleKind) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseEffectiveAdminRuleKind(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseEffectiveAdminRuleKind(input string) (*EffectiveAdminRuleKind, error) { - vals := map[string]EffectiveAdminRuleKind{ - "custom": EffectiveAdminRuleKindCustom, - "default": EffectiveAdminRuleKindDefault, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := EffectiveAdminRuleKind(input) - return &out, nil -} - -type ProvisioningState string - -const ( - ProvisioningStateDeleting ProvisioningState = "Deleting" - ProvisioningStateFailed ProvisioningState = "Failed" - ProvisioningStateSucceeded ProvisioningState = "Succeeded" - ProvisioningStateUpdating ProvisioningState = "Updating" -) - -func PossibleValuesForProvisioningState() []string { - return []string{ - string(ProvisioningStateDeleting), - string(ProvisioningStateFailed), - string(ProvisioningStateSucceeded), - string(ProvisioningStateUpdating), - } -} - -func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseProvisioningState(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseProvisioningState(input string) (*ProvisioningState, error) { - vals := map[string]ProvisioningState{ - "deleting": ProvisioningStateDeleting, - "failed": ProvisioningStateFailed, - "succeeded": ProvisioningStateSucceeded, - "updating": ProvisioningStateUpdating, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := ProvisioningState(input) - return &out, nil -} - -type SecurityConfigurationRuleAccess string - -const ( - SecurityConfigurationRuleAccessAllow SecurityConfigurationRuleAccess = "Allow" - SecurityConfigurationRuleAccessAlwaysAllow SecurityConfigurationRuleAccess = "AlwaysAllow" - SecurityConfigurationRuleAccessDeny SecurityConfigurationRuleAccess = "Deny" -) - -func PossibleValuesForSecurityConfigurationRuleAccess() []string { - return []string{ - string(SecurityConfigurationRuleAccessAllow), - string(SecurityConfigurationRuleAccessAlwaysAllow), - string(SecurityConfigurationRuleAccessDeny), - } -} - -func (s *SecurityConfigurationRuleAccess) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseSecurityConfigurationRuleAccess(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseSecurityConfigurationRuleAccess(input string) (*SecurityConfigurationRuleAccess, error) { - vals := map[string]SecurityConfigurationRuleAccess{ - "allow": SecurityConfigurationRuleAccessAllow, - "alwaysallow": SecurityConfigurationRuleAccessAlwaysAllow, - "deny": SecurityConfigurationRuleAccessDeny, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := SecurityConfigurationRuleAccess(input) - return &out, nil -} - -type SecurityConfigurationRuleDirection string - -const ( - SecurityConfigurationRuleDirectionInbound SecurityConfigurationRuleDirection = "Inbound" - SecurityConfigurationRuleDirectionOutbound SecurityConfigurationRuleDirection = "Outbound" -) - -func PossibleValuesForSecurityConfigurationRuleDirection() []string { - return []string{ - string(SecurityConfigurationRuleDirectionInbound), - string(SecurityConfigurationRuleDirectionOutbound), - } -} - -func (s *SecurityConfigurationRuleDirection) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseSecurityConfigurationRuleDirection(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseSecurityConfigurationRuleDirection(input string) (*SecurityConfigurationRuleDirection, error) { - vals := map[string]SecurityConfigurationRuleDirection{ - "inbound": SecurityConfigurationRuleDirectionInbound, - "outbound": SecurityConfigurationRuleDirectionOutbound, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := SecurityConfigurationRuleDirection(input) - return &out, nil -} - -type SecurityConfigurationRuleProtocol string - -const ( - SecurityConfigurationRuleProtocolAh SecurityConfigurationRuleProtocol = "Ah" - SecurityConfigurationRuleProtocolAny SecurityConfigurationRuleProtocol = "Any" - SecurityConfigurationRuleProtocolEsp SecurityConfigurationRuleProtocol = "Esp" - SecurityConfigurationRuleProtocolIcmp SecurityConfigurationRuleProtocol = "Icmp" - SecurityConfigurationRuleProtocolTcp SecurityConfigurationRuleProtocol = "Tcp" - SecurityConfigurationRuleProtocolUdp SecurityConfigurationRuleProtocol = "Udp" -) - -func PossibleValuesForSecurityConfigurationRuleProtocol() []string { - return []string{ - string(SecurityConfigurationRuleProtocolAh), - string(SecurityConfigurationRuleProtocolAny), - string(SecurityConfigurationRuleProtocolEsp), - string(SecurityConfigurationRuleProtocolIcmp), - string(SecurityConfigurationRuleProtocolTcp), - string(SecurityConfigurationRuleProtocolUdp), - } -} - -func (s *SecurityConfigurationRuleProtocol) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseSecurityConfigurationRuleProtocol(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseSecurityConfigurationRuleProtocol(input string) (*SecurityConfigurationRuleProtocol, error) { - vals := map[string]SecurityConfigurationRuleProtocol{ - "ah": SecurityConfigurationRuleProtocolAh, - "any": SecurityConfigurationRuleProtocolAny, - "esp": SecurityConfigurationRuleProtocolEsp, - "icmp": SecurityConfigurationRuleProtocolIcmp, - "tcp": SecurityConfigurationRuleProtocolTcp, - "udp": SecurityConfigurationRuleProtocolUdp, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := SecurityConfigurationRuleProtocol(input) - return &out, nil -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanageractiveconfigurations/model_networkgroupproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanageractiveconfigurations/model_networkgroupproperties.go deleted file mode 100644 index ed891dc195e2..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanageractiveconfigurations/model_networkgroupproperties.go +++ /dev/null @@ -1,10 +0,0 @@ -package networkmanageractiveconfigurations - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -type NetworkGroupProperties struct { - Description *string `json:"description,omitempty"` - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` - ResourceGuid *string `json:"resourceGuid,omitempty"` -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanageractiveconfigurations/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanageractiveconfigurations/version.go deleted file mode 100644 index 70d5cea35a07..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanageractiveconfigurations/version.go +++ /dev/null @@ -1,10 +0,0 @@ -package networkmanageractiveconfigurations - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -const defaultApiVersion = "2023-11-01" - -func userAgent() string { - return "hashicorp/go-azure-sdk/networkmanageractiveconfigurations/2023-11-01" -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanageractiveconnectivityconfigurations/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanageractiveconnectivityconfigurations/README.md deleted file mode 100644 index 6422cf625665..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanageractiveconnectivityconfigurations/README.md +++ /dev/null @@ -1,41 +0,0 @@ - -## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanageractiveconnectivityconfigurations` Documentation - -The `networkmanageractiveconnectivityconfigurations` SDK allows for interaction with Azure Resource Manager `network` (API Version `2023-11-01`). - -This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). - -### Import Path - -```go -import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanageractiveconnectivityconfigurations" -``` - - -### Client Initialization - -```go -client := networkmanageractiveconnectivityconfigurations.NewNetworkManagerActiveConnectivityConfigurationsClientWithBaseURI("https://management.azure.com") -client.Client.Authorizer = authorizer -``` - - -### Example Usage: `NetworkManagerActiveConnectivityConfigurationsClient.ListActiveConnectivityConfigurations` - -```go -ctx := context.TODO() -id := networkmanageractiveconnectivityconfigurations.NewNetworkManagerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkManagerName") - -payload := networkmanageractiveconnectivityconfigurations.ActiveConfigurationParameter{ - // ... -} - - -read, err := client.ListActiveConnectivityConfigurations(ctx, id, payload) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanageractiveconnectivityconfigurations/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanageractiveconnectivityconfigurations/constants.go deleted file mode 100644 index ce9e85b744a9..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanageractiveconnectivityconfigurations/constants.go +++ /dev/null @@ -1,262 +0,0 @@ -package networkmanageractiveconnectivityconfigurations - -import ( - "encoding/json" - "fmt" - "strings" -) - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -type ConnectivityTopology string - -const ( - ConnectivityTopologyHubAndSpoke ConnectivityTopology = "HubAndSpoke" - ConnectivityTopologyMesh ConnectivityTopology = "Mesh" -) - -func PossibleValuesForConnectivityTopology() []string { - return []string{ - string(ConnectivityTopologyHubAndSpoke), - string(ConnectivityTopologyMesh), - } -} - -func (s *ConnectivityTopology) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseConnectivityTopology(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseConnectivityTopology(input string) (*ConnectivityTopology, error) { - vals := map[string]ConnectivityTopology{ - "hubandspoke": ConnectivityTopologyHubAndSpoke, - "mesh": ConnectivityTopologyMesh, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := ConnectivityTopology(input) - return &out, nil -} - -type DeleteExistingPeering string - -const ( - DeleteExistingPeeringFalse DeleteExistingPeering = "False" - DeleteExistingPeeringTrue DeleteExistingPeering = "True" -) - -func PossibleValuesForDeleteExistingPeering() []string { - return []string{ - string(DeleteExistingPeeringFalse), - string(DeleteExistingPeeringTrue), - } -} - -func (s *DeleteExistingPeering) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseDeleteExistingPeering(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseDeleteExistingPeering(input string) (*DeleteExistingPeering, error) { - vals := map[string]DeleteExistingPeering{ - "false": DeleteExistingPeeringFalse, - "true": DeleteExistingPeeringTrue, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := DeleteExistingPeering(input) - return &out, nil -} - -type GroupConnectivity string - -const ( - GroupConnectivityDirectlyConnected GroupConnectivity = "DirectlyConnected" - GroupConnectivityNone GroupConnectivity = "None" -) - -func PossibleValuesForGroupConnectivity() []string { - return []string{ - string(GroupConnectivityDirectlyConnected), - string(GroupConnectivityNone), - } -} - -func (s *GroupConnectivity) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseGroupConnectivity(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseGroupConnectivity(input string) (*GroupConnectivity, error) { - vals := map[string]GroupConnectivity{ - "directlyconnected": GroupConnectivityDirectlyConnected, - "none": GroupConnectivityNone, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := GroupConnectivity(input) - return &out, nil -} - -type IsGlobal string - -const ( - IsGlobalFalse IsGlobal = "False" - IsGlobalTrue IsGlobal = "True" -) - -func PossibleValuesForIsGlobal() []string { - return []string{ - string(IsGlobalFalse), - string(IsGlobalTrue), - } -} - -func (s *IsGlobal) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseIsGlobal(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseIsGlobal(input string) (*IsGlobal, error) { - vals := map[string]IsGlobal{ - "false": IsGlobalFalse, - "true": IsGlobalTrue, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := IsGlobal(input) - return &out, nil -} - -type ProvisioningState string - -const ( - ProvisioningStateDeleting ProvisioningState = "Deleting" - ProvisioningStateFailed ProvisioningState = "Failed" - ProvisioningStateSucceeded ProvisioningState = "Succeeded" - ProvisioningStateUpdating ProvisioningState = "Updating" -) - -func PossibleValuesForProvisioningState() []string { - return []string{ - string(ProvisioningStateDeleting), - string(ProvisioningStateFailed), - string(ProvisioningStateSucceeded), - string(ProvisioningStateUpdating), - } -} - -func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseProvisioningState(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseProvisioningState(input string) (*ProvisioningState, error) { - vals := map[string]ProvisioningState{ - "deleting": ProvisioningStateDeleting, - "failed": ProvisioningStateFailed, - "succeeded": ProvisioningStateSucceeded, - "updating": ProvisioningStateUpdating, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := ProvisioningState(input) - return &out, nil -} - -type UseHubGateway string - -const ( - UseHubGatewayFalse UseHubGateway = "False" - UseHubGatewayTrue UseHubGateway = "True" -) - -func PossibleValuesForUseHubGateway() []string { - return []string{ - string(UseHubGatewayFalse), - string(UseHubGatewayTrue), - } -} - -func (s *UseHubGateway) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseUseHubGateway(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseUseHubGateway(input string) (*UseHubGateway, error) { - vals := map[string]UseHubGateway{ - "false": UseHubGatewayFalse, - "true": UseHubGatewayTrue, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := UseHubGateway(input) - return &out, nil -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanageractiveconnectivityconfigurations/model_networkgroupproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanageractiveconnectivityconfigurations/model_networkgroupproperties.go deleted file mode 100644 index 46f87e5058e0..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanageractiveconnectivityconfigurations/model_networkgroupproperties.go +++ /dev/null @@ -1,10 +0,0 @@ -package networkmanageractiveconnectivityconfigurations - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -type NetworkGroupProperties struct { - Description *string `json:"description,omitempty"` - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` - ResourceGuid *string `json:"resourceGuid,omitempty"` -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanageractiveconnectivityconfigurations/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanageractiveconnectivityconfigurations/version.go deleted file mode 100644 index 613c8e17ca89..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanageractiveconnectivityconfigurations/version.go +++ /dev/null @@ -1,10 +0,0 @@ -package networkmanageractiveconnectivityconfigurations - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -const defaultApiVersion = "2023-11-01" - -func userAgent() string { - return "hashicorp/go-azure-sdk/networkmanageractiveconnectivityconfigurations/2023-11-01" -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagerconnections/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagerconnections/README.md deleted file mode 100644 index a86d8c6d7409..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagerconnections/README.md +++ /dev/null @@ -1,161 +0,0 @@ - -## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagerconnections` Documentation - -The `networkmanagerconnections` SDK allows for interaction with Azure Resource Manager `network` (API Version `2023-11-01`). - -This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). - -### Import Path - -```go -import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" -import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagerconnections" -``` - - -### Client Initialization - -```go -client := networkmanagerconnections.NewNetworkManagerConnectionsClientWithBaseURI("https://management.azure.com") -client.Client.Authorizer = authorizer -``` - - -### Example Usage: `NetworkManagerConnectionsClient.ManagementGroupNetworkManagerConnectionsCreateOrUpdate` - -```go -ctx := context.TODO() -id := networkmanagerconnections.NewProviders2NetworkManagerConnectionID("managementGroupId", "networkManagerConnectionName") - -payload := networkmanagerconnections.NetworkManagerConnection{ - // ... -} - - -read, err := client.ManagementGroupNetworkManagerConnectionsCreateOrUpdate(ctx, id, payload) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `NetworkManagerConnectionsClient.ManagementGroupNetworkManagerConnectionsDelete` - -```go -ctx := context.TODO() -id := networkmanagerconnections.NewProviders2NetworkManagerConnectionID("managementGroupId", "networkManagerConnectionName") - -read, err := client.ManagementGroupNetworkManagerConnectionsDelete(ctx, id) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `NetworkManagerConnectionsClient.ManagementGroupNetworkManagerConnectionsGet` - -```go -ctx := context.TODO() -id := networkmanagerconnections.NewProviders2NetworkManagerConnectionID("managementGroupId", "networkManagerConnectionName") - -read, err := client.ManagementGroupNetworkManagerConnectionsGet(ctx, id) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `NetworkManagerConnectionsClient.ManagementGroupNetworkManagerConnectionsList` - -```go -ctx := context.TODO() -id := commonids.NewManagementGroupID("groupId") - -// alternatively `client.ManagementGroupNetworkManagerConnectionsList(ctx, id, networkmanagerconnections.DefaultManagementGroupNetworkManagerConnectionsListOperationOptions())` can be used to do batched pagination -items, err := client.ManagementGroupNetworkManagerConnectionsListComplete(ctx, id, networkmanagerconnections.DefaultManagementGroupNetworkManagerConnectionsListOperationOptions()) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` - - -### Example Usage: `NetworkManagerConnectionsClient.SubscriptionNetworkManagerConnectionsCreateOrUpdate` - -```go -ctx := context.TODO() -id := networkmanagerconnections.NewNetworkManagerConnectionID("12345678-1234-9876-4563-123456789012", "networkManagerConnectionName") - -payload := networkmanagerconnections.NetworkManagerConnection{ - // ... -} - - -read, err := client.SubscriptionNetworkManagerConnectionsCreateOrUpdate(ctx, id, payload) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `NetworkManagerConnectionsClient.SubscriptionNetworkManagerConnectionsDelete` - -```go -ctx := context.TODO() -id := networkmanagerconnections.NewNetworkManagerConnectionID("12345678-1234-9876-4563-123456789012", "networkManagerConnectionName") - -read, err := client.SubscriptionNetworkManagerConnectionsDelete(ctx, id) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `NetworkManagerConnectionsClient.SubscriptionNetworkManagerConnectionsGet` - -```go -ctx := context.TODO() -id := networkmanagerconnections.NewNetworkManagerConnectionID("12345678-1234-9876-4563-123456789012", "networkManagerConnectionName") - -read, err := client.SubscriptionNetworkManagerConnectionsGet(ctx, id) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `NetworkManagerConnectionsClient.SubscriptionNetworkManagerConnectionsList` - -```go -ctx := context.TODO() -id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012") - -// alternatively `client.SubscriptionNetworkManagerConnectionsList(ctx, id, networkmanagerconnections.DefaultSubscriptionNetworkManagerConnectionsListOperationOptions())` can be used to do batched pagination -items, err := client.SubscriptionNetworkManagerConnectionsListComplete(ctx, id, networkmanagerconnections.DefaultSubscriptionNetworkManagerConnectionsListOperationOptions()) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagerconnections/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagerconnections/version.go deleted file mode 100644 index 3c6374ebb17e..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagerconnections/version.go +++ /dev/null @@ -1,10 +0,0 @@ -package networkmanagerconnections - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -const defaultApiVersion = "2023-11-01" - -func userAgent() string { - return "hashicorp/go-azure-sdk/networkmanagerconnections/2023-11-01" -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagereffectiveconnectivityconfiguration/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagereffectiveconnectivityconfiguration/README.md deleted file mode 100644 index 2b91a7d84d09..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagereffectiveconnectivityconfiguration/README.md +++ /dev/null @@ -1,42 +0,0 @@ - -## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagereffectiveconnectivityconfiguration` Documentation - -The `networkmanagereffectiveconnectivityconfiguration` SDK allows for interaction with Azure Resource Manager `network` (API Version `2023-11-01`). - -This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). - -### Import Path - -```go -import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" -import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagereffectiveconnectivityconfiguration" -``` - - -### Client Initialization - -```go -client := networkmanagereffectiveconnectivityconfiguration.NewNetworkManagerEffectiveConnectivityConfigurationClientWithBaseURI("https://management.azure.com") -client.Client.Authorizer = authorizer -``` - - -### Example Usage: `NetworkManagerEffectiveConnectivityConfigurationClient.ListNetworkManagerEffectiveConnectivityConfigurations` - -```go -ctx := context.TODO() -id := commonids.NewVirtualNetworkID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualNetworkName") - -payload := networkmanagereffectiveconnectivityconfiguration.QueryRequestOptions{ - // ... -} - - -read, err := client.ListNetworkManagerEffectiveConnectivityConfigurations(ctx, id, payload) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagereffectiveconnectivityconfiguration/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagereffectiveconnectivityconfiguration/constants.go deleted file mode 100644 index 06b5b5629ffc..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagereffectiveconnectivityconfiguration/constants.go +++ /dev/null @@ -1,262 +0,0 @@ -package networkmanagereffectiveconnectivityconfiguration - -import ( - "encoding/json" - "fmt" - "strings" -) - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -type ConnectivityTopology string - -const ( - ConnectivityTopologyHubAndSpoke ConnectivityTopology = "HubAndSpoke" - ConnectivityTopologyMesh ConnectivityTopology = "Mesh" -) - -func PossibleValuesForConnectivityTopology() []string { - return []string{ - string(ConnectivityTopologyHubAndSpoke), - string(ConnectivityTopologyMesh), - } -} - -func (s *ConnectivityTopology) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseConnectivityTopology(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseConnectivityTopology(input string) (*ConnectivityTopology, error) { - vals := map[string]ConnectivityTopology{ - "hubandspoke": ConnectivityTopologyHubAndSpoke, - "mesh": ConnectivityTopologyMesh, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := ConnectivityTopology(input) - return &out, nil -} - -type DeleteExistingPeering string - -const ( - DeleteExistingPeeringFalse DeleteExistingPeering = "False" - DeleteExistingPeeringTrue DeleteExistingPeering = "True" -) - -func PossibleValuesForDeleteExistingPeering() []string { - return []string{ - string(DeleteExistingPeeringFalse), - string(DeleteExistingPeeringTrue), - } -} - -func (s *DeleteExistingPeering) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseDeleteExistingPeering(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseDeleteExistingPeering(input string) (*DeleteExistingPeering, error) { - vals := map[string]DeleteExistingPeering{ - "false": DeleteExistingPeeringFalse, - "true": DeleteExistingPeeringTrue, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := DeleteExistingPeering(input) - return &out, nil -} - -type GroupConnectivity string - -const ( - GroupConnectivityDirectlyConnected GroupConnectivity = "DirectlyConnected" - GroupConnectivityNone GroupConnectivity = "None" -) - -func PossibleValuesForGroupConnectivity() []string { - return []string{ - string(GroupConnectivityDirectlyConnected), - string(GroupConnectivityNone), - } -} - -func (s *GroupConnectivity) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseGroupConnectivity(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseGroupConnectivity(input string) (*GroupConnectivity, error) { - vals := map[string]GroupConnectivity{ - "directlyconnected": GroupConnectivityDirectlyConnected, - "none": GroupConnectivityNone, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := GroupConnectivity(input) - return &out, nil -} - -type IsGlobal string - -const ( - IsGlobalFalse IsGlobal = "False" - IsGlobalTrue IsGlobal = "True" -) - -func PossibleValuesForIsGlobal() []string { - return []string{ - string(IsGlobalFalse), - string(IsGlobalTrue), - } -} - -func (s *IsGlobal) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseIsGlobal(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseIsGlobal(input string) (*IsGlobal, error) { - vals := map[string]IsGlobal{ - "false": IsGlobalFalse, - "true": IsGlobalTrue, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := IsGlobal(input) - return &out, nil -} - -type ProvisioningState string - -const ( - ProvisioningStateDeleting ProvisioningState = "Deleting" - ProvisioningStateFailed ProvisioningState = "Failed" - ProvisioningStateSucceeded ProvisioningState = "Succeeded" - ProvisioningStateUpdating ProvisioningState = "Updating" -) - -func PossibleValuesForProvisioningState() []string { - return []string{ - string(ProvisioningStateDeleting), - string(ProvisioningStateFailed), - string(ProvisioningStateSucceeded), - string(ProvisioningStateUpdating), - } -} - -func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseProvisioningState(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseProvisioningState(input string) (*ProvisioningState, error) { - vals := map[string]ProvisioningState{ - "deleting": ProvisioningStateDeleting, - "failed": ProvisioningStateFailed, - "succeeded": ProvisioningStateSucceeded, - "updating": ProvisioningStateUpdating, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := ProvisioningState(input) - return &out, nil -} - -type UseHubGateway string - -const ( - UseHubGatewayFalse UseHubGateway = "False" - UseHubGatewayTrue UseHubGateway = "True" -) - -func PossibleValuesForUseHubGateway() []string { - return []string{ - string(UseHubGatewayFalse), - string(UseHubGatewayTrue), - } -} - -func (s *UseHubGateway) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseUseHubGateway(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseUseHubGateway(input string) (*UseHubGateway, error) { - vals := map[string]UseHubGateway{ - "false": UseHubGatewayFalse, - "true": UseHubGatewayTrue, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := UseHubGateway(input) - return &out, nil -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagereffectiveconnectivityconfiguration/model_networkgroupproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagereffectiveconnectivityconfiguration/model_networkgroupproperties.go deleted file mode 100644 index ae331bfec1d7..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagereffectiveconnectivityconfiguration/model_networkgroupproperties.go +++ /dev/null @@ -1,10 +0,0 @@ -package networkmanagereffectiveconnectivityconfiguration - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -type NetworkGroupProperties struct { - Description *string `json:"description,omitempty"` - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` - ResourceGuid *string `json:"resourceGuid,omitempty"` -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagereffectiveconnectivityconfiguration/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagereffectiveconnectivityconfiguration/version.go deleted file mode 100644 index e90fd22ef318..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagereffectiveconnectivityconfiguration/version.go +++ /dev/null @@ -1,10 +0,0 @@ -package networkmanagereffectiveconnectivityconfiguration - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -const defaultApiVersion = "2023-11-01" - -func userAgent() string { - return "hashicorp/go-azure-sdk/networkmanagereffectiveconnectivityconfiguration/2023-11-01" -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagereffectivesecurityadminrules/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagereffectivesecurityadminrules/README.md deleted file mode 100644 index 6fb874e9b9d6..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagereffectivesecurityadminrules/README.md +++ /dev/null @@ -1,42 +0,0 @@ - -## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagereffectivesecurityadminrules` Documentation - -The `networkmanagereffectivesecurityadminrules` SDK allows for interaction with Azure Resource Manager `network` (API Version `2023-11-01`). - -This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). - -### Import Path - -```go -import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" -import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagereffectivesecurityadminrules" -``` - - -### Client Initialization - -```go -client := networkmanagereffectivesecurityadminrules.NewNetworkManagerEffectiveSecurityAdminRulesClientWithBaseURI("https://management.azure.com") -client.Client.Authorizer = authorizer -``` - - -### Example Usage: `NetworkManagerEffectiveSecurityAdminRulesClient.ListNetworkManagerEffectiveSecurityAdminRules` - -```go -ctx := context.TODO() -id := commonids.NewVirtualNetworkID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualNetworkName") - -payload := networkmanagereffectivesecurityadminrules.QueryRequestOptions{ - // ... -} - - -read, err := client.ListNetworkManagerEffectiveSecurityAdminRules(ctx, id, payload) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagereffectivesecurityadminrules/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagereffectivesecurityadminrules/constants.go deleted file mode 100644 index 280bd1bc97d2..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagereffectivesecurityadminrules/constants.go +++ /dev/null @@ -1,277 +0,0 @@ -package networkmanagereffectivesecurityadminrules - -import ( - "encoding/json" - "fmt" - "strings" -) - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -type AddressPrefixType string - -const ( - AddressPrefixTypeIPPrefix AddressPrefixType = "IPPrefix" - AddressPrefixTypeServiceTag AddressPrefixType = "ServiceTag" -) - -func PossibleValuesForAddressPrefixType() []string { - return []string{ - string(AddressPrefixTypeIPPrefix), - string(AddressPrefixTypeServiceTag), - } -} - -func (s *AddressPrefixType) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseAddressPrefixType(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseAddressPrefixType(input string) (*AddressPrefixType, error) { - vals := map[string]AddressPrefixType{ - "ipprefix": AddressPrefixTypeIPPrefix, - "servicetag": AddressPrefixTypeServiceTag, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := AddressPrefixType(input) - return &out, nil -} - -type EffectiveAdminRuleKind string - -const ( - EffectiveAdminRuleKindCustom EffectiveAdminRuleKind = "Custom" - EffectiveAdminRuleKindDefault EffectiveAdminRuleKind = "Default" -) - -func PossibleValuesForEffectiveAdminRuleKind() []string { - return []string{ - string(EffectiveAdminRuleKindCustom), - string(EffectiveAdminRuleKindDefault), - } -} - -func (s *EffectiveAdminRuleKind) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseEffectiveAdminRuleKind(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseEffectiveAdminRuleKind(input string) (*EffectiveAdminRuleKind, error) { - vals := map[string]EffectiveAdminRuleKind{ - "custom": EffectiveAdminRuleKindCustom, - "default": EffectiveAdminRuleKindDefault, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := EffectiveAdminRuleKind(input) - return &out, nil -} - -type ProvisioningState string - -const ( - ProvisioningStateDeleting ProvisioningState = "Deleting" - ProvisioningStateFailed ProvisioningState = "Failed" - ProvisioningStateSucceeded ProvisioningState = "Succeeded" - ProvisioningStateUpdating ProvisioningState = "Updating" -) - -func PossibleValuesForProvisioningState() []string { - return []string{ - string(ProvisioningStateDeleting), - string(ProvisioningStateFailed), - string(ProvisioningStateSucceeded), - string(ProvisioningStateUpdating), - } -} - -func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseProvisioningState(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseProvisioningState(input string) (*ProvisioningState, error) { - vals := map[string]ProvisioningState{ - "deleting": ProvisioningStateDeleting, - "failed": ProvisioningStateFailed, - "succeeded": ProvisioningStateSucceeded, - "updating": ProvisioningStateUpdating, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := ProvisioningState(input) - return &out, nil -} - -type SecurityConfigurationRuleAccess string - -const ( - SecurityConfigurationRuleAccessAllow SecurityConfigurationRuleAccess = "Allow" - SecurityConfigurationRuleAccessAlwaysAllow SecurityConfigurationRuleAccess = "AlwaysAllow" - SecurityConfigurationRuleAccessDeny SecurityConfigurationRuleAccess = "Deny" -) - -func PossibleValuesForSecurityConfigurationRuleAccess() []string { - return []string{ - string(SecurityConfigurationRuleAccessAllow), - string(SecurityConfigurationRuleAccessAlwaysAllow), - string(SecurityConfigurationRuleAccessDeny), - } -} - -func (s *SecurityConfigurationRuleAccess) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseSecurityConfigurationRuleAccess(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseSecurityConfigurationRuleAccess(input string) (*SecurityConfigurationRuleAccess, error) { - vals := map[string]SecurityConfigurationRuleAccess{ - "allow": SecurityConfigurationRuleAccessAllow, - "alwaysallow": SecurityConfigurationRuleAccessAlwaysAllow, - "deny": SecurityConfigurationRuleAccessDeny, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := SecurityConfigurationRuleAccess(input) - return &out, nil -} - -type SecurityConfigurationRuleDirection string - -const ( - SecurityConfigurationRuleDirectionInbound SecurityConfigurationRuleDirection = "Inbound" - SecurityConfigurationRuleDirectionOutbound SecurityConfigurationRuleDirection = "Outbound" -) - -func PossibleValuesForSecurityConfigurationRuleDirection() []string { - return []string{ - string(SecurityConfigurationRuleDirectionInbound), - string(SecurityConfigurationRuleDirectionOutbound), - } -} - -func (s *SecurityConfigurationRuleDirection) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseSecurityConfigurationRuleDirection(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseSecurityConfigurationRuleDirection(input string) (*SecurityConfigurationRuleDirection, error) { - vals := map[string]SecurityConfigurationRuleDirection{ - "inbound": SecurityConfigurationRuleDirectionInbound, - "outbound": SecurityConfigurationRuleDirectionOutbound, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := SecurityConfigurationRuleDirection(input) - return &out, nil -} - -type SecurityConfigurationRuleProtocol string - -const ( - SecurityConfigurationRuleProtocolAh SecurityConfigurationRuleProtocol = "Ah" - SecurityConfigurationRuleProtocolAny SecurityConfigurationRuleProtocol = "Any" - SecurityConfigurationRuleProtocolEsp SecurityConfigurationRuleProtocol = "Esp" - SecurityConfigurationRuleProtocolIcmp SecurityConfigurationRuleProtocol = "Icmp" - SecurityConfigurationRuleProtocolTcp SecurityConfigurationRuleProtocol = "Tcp" - SecurityConfigurationRuleProtocolUdp SecurityConfigurationRuleProtocol = "Udp" -) - -func PossibleValuesForSecurityConfigurationRuleProtocol() []string { - return []string{ - string(SecurityConfigurationRuleProtocolAh), - string(SecurityConfigurationRuleProtocolAny), - string(SecurityConfigurationRuleProtocolEsp), - string(SecurityConfigurationRuleProtocolIcmp), - string(SecurityConfigurationRuleProtocolTcp), - string(SecurityConfigurationRuleProtocolUdp), - } -} - -func (s *SecurityConfigurationRuleProtocol) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseSecurityConfigurationRuleProtocol(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseSecurityConfigurationRuleProtocol(input string) (*SecurityConfigurationRuleProtocol, error) { - vals := map[string]SecurityConfigurationRuleProtocol{ - "ah": SecurityConfigurationRuleProtocolAh, - "any": SecurityConfigurationRuleProtocolAny, - "esp": SecurityConfigurationRuleProtocolEsp, - "icmp": SecurityConfigurationRuleProtocolIcmp, - "tcp": SecurityConfigurationRuleProtocolTcp, - "udp": SecurityConfigurationRuleProtocolUdp, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := SecurityConfigurationRuleProtocol(input) - return &out, nil -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagereffectivesecurityadminrules/model_networkgroupproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagereffectivesecurityadminrules/model_networkgroupproperties.go deleted file mode 100644 index 5890d573ff44..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagereffectivesecurityadminrules/model_networkgroupproperties.go +++ /dev/null @@ -1,10 +0,0 @@ -package networkmanagereffectivesecurityadminrules - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -type NetworkGroupProperties struct { - Description *string `json:"description,omitempty"` - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` - ResourceGuid *string `json:"resourceGuid,omitempty"` -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagereffectivesecurityadminrules/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagereffectivesecurityadminrules/version.go deleted file mode 100644 index 70a1bd7d6c87..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagereffectivesecurityadminrules/version.go +++ /dev/null @@ -1,10 +0,0 @@ -package networkmanagereffectivesecurityadminrules - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -const defaultApiVersion = "2023-11-01" - -func userAgent() string { - return "hashicorp/go-azure-sdk/networkmanagereffectivesecurityadminrules/2023-11-01" -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagers/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagers/README.md deleted file mode 100644 index 35f01c2151f8..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagers/README.md +++ /dev/null @@ -1,163 +0,0 @@ - -## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagers` Documentation - -The `networkmanagers` SDK allows for interaction with Azure Resource Manager `network` (API Version `2023-11-01`). - -This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). - -### Import Path - -```go -import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" -import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagers" -``` - - -### Client Initialization - -```go -client := networkmanagers.NewNetworkManagersClientWithBaseURI("https://management.azure.com") -client.Client.Authorizer = authorizer -``` - - -### Example Usage: `NetworkManagersClient.CreateOrUpdate` - -```go -ctx := context.TODO() -id := networkmanagers.NewNetworkManagerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkManagerName") - -payload := networkmanagers.NetworkManager{ - // ... -} - - -read, err := client.CreateOrUpdate(ctx, id, payload) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `NetworkManagersClient.Delete` - -```go -ctx := context.TODO() -id := networkmanagers.NewNetworkManagerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkManagerName") - -if err := client.DeleteThenPoll(ctx, id, networkmanagers.DefaultDeleteOperationOptions()); err != nil { - // handle the error -} -``` - - -### Example Usage: `NetworkManagersClient.Get` - -```go -ctx := context.TODO() -id := networkmanagers.NewNetworkManagerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkManagerName") - -read, err := client.Get(ctx, id) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `NetworkManagersClient.List` - -```go -ctx := context.TODO() -id := commonids.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group") - -// alternatively `client.List(ctx, id, networkmanagers.DefaultListOperationOptions())` can be used to do batched pagination -items, err := client.ListComplete(ctx, id, networkmanagers.DefaultListOperationOptions()) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` - - -### Example Usage: `NetworkManagersClient.ListBySubscription` - -```go -ctx := context.TODO() -id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012") - -// alternatively `client.ListBySubscription(ctx, id, networkmanagers.DefaultListBySubscriptionOperationOptions())` can be used to do batched pagination -items, err := client.ListBySubscriptionComplete(ctx, id, networkmanagers.DefaultListBySubscriptionOperationOptions()) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` - - -### Example Usage: `NetworkManagersClient.NetworkManagerCommitsPost` - -```go -ctx := context.TODO() -id := networkmanagers.NewNetworkManagerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkManagerName") - -payload := networkmanagers.NetworkManagerCommit{ - // ... -} - - -if err := client.NetworkManagerCommitsPostThenPoll(ctx, id, payload); err != nil { - // handle the error -} -``` - - -### Example Usage: `NetworkManagersClient.NetworkManagerDeploymentStatusList` - -```go -ctx := context.TODO() -id := networkmanagers.NewNetworkManagerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkManagerName") - -payload := networkmanagers.NetworkManagerDeploymentStatusParameter{ - // ... -} - - -read, err := client.NetworkManagerDeploymentStatusList(ctx, id, payload) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `NetworkManagersClient.Patch` - -```go -ctx := context.TODO() -id := networkmanagers.NewNetworkManagerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkManagerName") - -payload := networkmanagers.PatchObject{ - // ... -} - - -read, err := client.Patch(ctx, id, payload) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagers/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagers/constants.go deleted file mode 100644 index 2aa86ac19639..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagers/constants.go +++ /dev/null @@ -1,145 +0,0 @@ -package networkmanagers - -import ( - "encoding/json" - "fmt" - "strings" -) - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -type ConfigurationType string - -const ( - ConfigurationTypeConnectivity ConfigurationType = "Connectivity" - ConfigurationTypeSecurityAdmin ConfigurationType = "SecurityAdmin" -) - -func PossibleValuesForConfigurationType() []string { - return []string{ - string(ConfigurationTypeConnectivity), - string(ConfigurationTypeSecurityAdmin), - } -} - -func (s *ConfigurationType) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseConfigurationType(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseConfigurationType(input string) (*ConfigurationType, error) { - vals := map[string]ConfigurationType{ - "connectivity": ConfigurationTypeConnectivity, - "securityadmin": ConfigurationTypeSecurityAdmin, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := ConfigurationType(input) - return &out, nil -} - -type DeploymentStatus string - -const ( - DeploymentStatusDeployed DeploymentStatus = "Deployed" - DeploymentStatusDeploying DeploymentStatus = "Deploying" - DeploymentStatusFailed DeploymentStatus = "Failed" - DeploymentStatusNotStarted DeploymentStatus = "NotStarted" -) - -func PossibleValuesForDeploymentStatus() []string { - return []string{ - string(DeploymentStatusDeployed), - string(DeploymentStatusDeploying), - string(DeploymentStatusFailed), - string(DeploymentStatusNotStarted), - } -} - -func (s *DeploymentStatus) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseDeploymentStatus(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseDeploymentStatus(input string) (*DeploymentStatus, error) { - vals := map[string]DeploymentStatus{ - "deployed": DeploymentStatusDeployed, - "deploying": DeploymentStatusDeploying, - "failed": DeploymentStatusFailed, - "notstarted": DeploymentStatusNotStarted, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := DeploymentStatus(input) - return &out, nil -} - -type ProvisioningState string - -const ( - ProvisioningStateDeleting ProvisioningState = "Deleting" - ProvisioningStateFailed ProvisioningState = "Failed" - ProvisioningStateSucceeded ProvisioningState = "Succeeded" - ProvisioningStateUpdating ProvisioningState = "Updating" -) - -func PossibleValuesForProvisioningState() []string { - return []string{ - string(ProvisioningStateDeleting), - string(ProvisioningStateFailed), - string(ProvisioningStateSucceeded), - string(ProvisioningStateUpdating), - } -} - -func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseProvisioningState(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseProvisioningState(input string) (*ProvisioningState, error) { - vals := map[string]ProvisioningState{ - "deleting": ProvisioningStateDeleting, - "failed": ProvisioningStateFailed, - "succeeded": ProvisioningStateSucceeded, - "updating": ProvisioningStateUpdating, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := ProvisioningState(input) - return &out, nil -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagers/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagers/version.go deleted file mode 100644 index 50a239122378..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagers/version.go +++ /dev/null @@ -1,10 +0,0 @@ -package networkmanagers - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -const defaultApiVersion = "2023-11-01" - -func userAgent() string { - return "hashicorp/go-azure-sdk/networkmanagers/2023-11-01" -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/README.md deleted file mode 100644 index 1ce5978118fd..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/README.md +++ /dev/null @@ -1,125 +0,0 @@ - -## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles` Documentation - -The `networkprofiles` SDK allows for interaction with Azure Resource Manager `network` (API Version `2023-11-01`). - -This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). - -### Import Path - -```go -import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" -import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles" -``` - - -### Client Initialization - -```go -client := networkprofiles.NewNetworkProfilesClientWithBaseURI("https://management.azure.com") -client.Client.Authorizer = authorizer -``` - - -### Example Usage: `NetworkProfilesClient.CreateOrUpdate` - -```go -ctx := context.TODO() -id := networkprofiles.NewNetworkProfileID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkProfileName") - -payload := networkprofiles.NetworkProfile{ - // ... -} - - -read, err := client.CreateOrUpdate(ctx, id, payload) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `NetworkProfilesClient.Delete` - -```go -ctx := context.TODO() -id := networkprofiles.NewNetworkProfileID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkProfileName") - -if err := client.DeleteThenPoll(ctx, id); err != nil { - // handle the error -} -``` - - -### Example Usage: `NetworkProfilesClient.Get` - -```go -ctx := context.TODO() -id := networkprofiles.NewNetworkProfileID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkProfileName") - -read, err := client.Get(ctx, id, networkprofiles.DefaultGetOperationOptions()) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `NetworkProfilesClient.List` - -```go -ctx := context.TODO() -id := commonids.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group") - -// alternatively `client.List(ctx, id)` can be used to do batched pagination -items, err := client.ListComplete(ctx, id) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` - - -### Example Usage: `NetworkProfilesClient.ListAll` - -```go -ctx := context.TODO() -id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012") - -// alternatively `client.ListAll(ctx, id)` can be used to do batched pagination -items, err := client.ListAllComplete(ctx, id) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` - - -### Example Usage: `NetworkProfilesClient.UpdateTags` - -```go -ctx := context.TODO() -id := networkprofiles.NewNetworkProfileID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkProfileName") - -payload := networkprofiles.TagsObject{ - // ... -} - - -read, err := client.UpdateTags(ctx, id, payload) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_flowlog.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_flowlog.go deleted file mode 100644 index f60e3c562cbc..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_flowlog.go +++ /dev/null @@ -1,14 +0,0 @@ -package networkprofiles - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -type FlowLog struct { - Etag *string `json:"etag,omitempty"` - Id *string `json:"id,omitempty"` - Location *string `json:"location,omitempty"` - Name *string `json:"name,omitempty"` - Properties *FlowLogPropertiesFormat `json:"properties,omitempty"` - Tags *map[string]string `json:"tags,omitempty"` - Type *string `json:"type,omitempty"` -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_flowlogpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_flowlogpropertiesformat.go deleted file mode 100644 index adaaab9bc0c0..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_flowlogpropertiesformat.go +++ /dev/null @@ -1,15 +0,0 @@ -package networkprofiles - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -type FlowLogPropertiesFormat struct { - Enabled *bool `json:"enabled,omitempty"` - FlowAnalyticsConfiguration *TrafficAnalyticsProperties `json:"flowAnalyticsConfiguration,omitempty"` - Format *FlowLogFormatParameters `json:"format,omitempty"` - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` - RetentionPolicy *RetentionPolicyParameters `json:"retentionPolicy,omitempty"` - StorageId string `json:"storageId"` - TargetResourceGuid *string `json:"targetResourceGuid,omitempty"` - TargetResourceId string `json:"targetResourceId"` -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_privatelinkserviceproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_privatelinkserviceproperties.go deleted file mode 100644 index bc001bea3c03..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_privatelinkserviceproperties.go +++ /dev/null @@ -1,17 +0,0 @@ -package networkprofiles - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -type PrivateLinkServiceProperties struct { - Alias *string `json:"alias,omitempty"` - AutoApproval *ResourceSet `json:"autoApproval,omitempty"` - EnableProxyProtocol *bool `json:"enableProxyProtocol,omitempty"` - Fqdns *[]string `json:"fqdns,omitempty"` - IPConfigurations *[]PrivateLinkServiceIPConfiguration `json:"ipConfigurations,omitempty"` - LoadBalancerFrontendIPConfigurations *[]FrontendIPConfiguration `json:"loadBalancerFrontendIpConfigurations,omitempty"` - NetworkInterfaces *[]NetworkInterface `json:"networkInterfaces,omitempty"` - PrivateEndpointConnections *[]PrivateEndpointConnection `json:"privateEndpointConnections,omitempty"` - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` - Visibility *ResourceSet `json:"visibility,omitempty"` -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_serviceendpointpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_serviceendpointpropertiesformat.go deleted file mode 100644 index e791f2598de3..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_serviceendpointpropertiesformat.go +++ /dev/null @@ -1,10 +0,0 @@ -package networkprofiles - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -type ServiceEndpointPropertiesFormat struct { - Locations *[]string `json:"locations,omitempty"` - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` - Service *string `json:"service,omitempty"` -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/version.go deleted file mode 100644 index 69bb459bdeeb..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/version.go +++ /dev/null @@ -1,10 +0,0 @@ -package networkprofiles - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -const defaultApiVersion = "2023-11-01" - -func userAgent() string { - return "hashicorp/go-azure-sdk/networkprofiles/2023-11-01" -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkvirtualappliances/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkvirtualappliances/README.md deleted file mode 100644 index 9997da971d24..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkvirtualappliances/README.md +++ /dev/null @@ -1,155 +0,0 @@ - -## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkvirtualappliances` Documentation - -The `networkvirtualappliances` SDK allows for interaction with Azure Resource Manager `network` (API Version `2023-11-01`). - -This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). - -### Import Path - -```go -import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" -import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkvirtualappliances" -``` - - -### Client Initialization - -```go -client := networkvirtualappliances.NewNetworkVirtualAppliancesClientWithBaseURI("https://management.azure.com") -client.Client.Authorizer = authorizer -``` - - -### Example Usage: `NetworkVirtualAppliancesClient.CreateOrUpdate` - -```go -ctx := context.TODO() -id := networkvirtualappliances.NewNetworkVirtualApplianceID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkVirtualApplianceName") - -payload := networkvirtualappliances.NetworkVirtualAppliance{ - // ... -} - - -if err := client.CreateOrUpdateThenPoll(ctx, id, payload); err != nil { - // handle the error -} -``` - - -### Example Usage: `NetworkVirtualAppliancesClient.Delete` - -```go -ctx := context.TODO() -id := networkvirtualappliances.NewNetworkVirtualApplianceID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkVirtualApplianceName") - -if err := client.DeleteThenPoll(ctx, id); err != nil { - // handle the error -} -``` - - -### Example Usage: `NetworkVirtualAppliancesClient.Get` - -```go -ctx := context.TODO() -id := networkvirtualappliances.NewNetworkVirtualApplianceID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkVirtualApplianceName") - -read, err := client.Get(ctx, id, networkvirtualappliances.DefaultGetOperationOptions()) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `NetworkVirtualAppliancesClient.InboundSecurityRuleCreateOrUpdate` - -```go -ctx := context.TODO() -id := networkvirtualappliances.NewInboundSecurityRuleID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkVirtualApplianceName", "inboundSecurityRuleName") - -payload := networkvirtualappliances.InboundSecurityRule{ - // ... -} - - -if err := client.InboundSecurityRuleCreateOrUpdateThenPoll(ctx, id, payload); err != nil { - // handle the error -} -``` - - -### Example Usage: `NetworkVirtualAppliancesClient.List` - -```go -ctx := context.TODO() -id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012") - -// alternatively `client.List(ctx, id)` can be used to do batched pagination -items, err := client.ListComplete(ctx, id) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` - - -### Example Usage: `NetworkVirtualAppliancesClient.ListByResourceGroup` - -```go -ctx := context.TODO() -id := commonids.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group") - -// alternatively `client.ListByResourceGroup(ctx, id)` can be used to do batched pagination -items, err := client.ListByResourceGroupComplete(ctx, id) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` - - -### Example Usage: `NetworkVirtualAppliancesClient.Restart` - -```go -ctx := context.TODO() -id := networkvirtualappliances.NewNetworkVirtualApplianceID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkVirtualApplianceName") - -payload := networkvirtualappliances.NetworkVirtualApplianceInstanceIds{ - // ... -} - - -if err := client.RestartThenPoll(ctx, id, payload); err != nil { - // handle the error -} -``` - - -### Example Usage: `NetworkVirtualAppliancesClient.UpdateTags` - -```go -ctx := context.TODO() -id := networkvirtualappliances.NewNetworkVirtualApplianceID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkVirtualApplianceName") - -payload := networkvirtualappliances.TagsObject{ - // ... -} - - -read, err := client.UpdateTags(ctx, id, payload) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkvirtualappliances/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkvirtualappliances/version.go deleted file mode 100644 index a69c27b0d17d..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkvirtualappliances/version.go +++ /dev/null @@ -1,10 +0,0 @@ -package networkvirtualappliances - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -const defaultApiVersion = "2023-11-01" - -func userAgent() string { - return "hashicorp/go-azure-sdk/networkvirtualappliances/2023-11-01" -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/README.md deleted file mode 100644 index d455e8793628..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/README.md +++ /dev/null @@ -1,331 +0,0 @@ - -## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers` Documentation - -The `networkwatchers` SDK allows for interaction with Azure Resource Manager `network` (API Version `2023-11-01`). - -This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). - -### Import Path - -```go -import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" -import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers" -``` - - -### Client Initialization - -```go -client := networkwatchers.NewNetworkWatchersClientWithBaseURI("https://management.azure.com") -client.Client.Authorizer = authorizer -``` - - -### Example Usage: `NetworkWatchersClient.CheckConnectivity` - -```go -ctx := context.TODO() -id := networkwatchers.NewNetworkWatcherID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkWatcherName") - -payload := networkwatchers.ConnectivityParameters{ - // ... -} - - -if err := client.CheckConnectivityThenPoll(ctx, id, payload); err != nil { - // handle the error -} -``` - - -### Example Usage: `NetworkWatchersClient.CreateOrUpdate` - -```go -ctx := context.TODO() -id := networkwatchers.NewNetworkWatcherID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkWatcherName") - -payload := networkwatchers.NetworkWatcher{ - // ... -} - - -read, err := client.CreateOrUpdate(ctx, id, payload) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `NetworkWatchersClient.Delete` - -```go -ctx := context.TODO() -id := networkwatchers.NewNetworkWatcherID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkWatcherName") - -if err := client.DeleteThenPoll(ctx, id); err != nil { - // handle the error -} -``` - - -### Example Usage: `NetworkWatchersClient.Get` - -```go -ctx := context.TODO() -id := networkwatchers.NewNetworkWatcherID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkWatcherName") - -read, err := client.Get(ctx, id) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `NetworkWatchersClient.GetAzureReachabilityReport` - -```go -ctx := context.TODO() -id := networkwatchers.NewNetworkWatcherID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkWatcherName") - -payload := networkwatchers.AzureReachabilityReportParameters{ - // ... -} - - -if err := client.GetAzureReachabilityReportThenPoll(ctx, id, payload); err != nil { - // handle the error -} -``` - - -### Example Usage: `NetworkWatchersClient.GetFlowLogStatus` - -```go -ctx := context.TODO() -id := networkwatchers.NewNetworkWatcherID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkWatcherName") - -payload := networkwatchers.FlowLogStatusParameters{ - // ... -} - - -if err := client.GetFlowLogStatusThenPoll(ctx, id, payload); err != nil { - // handle the error -} -``` - - -### Example Usage: `NetworkWatchersClient.GetNetworkConfigurationDiagnostic` - -```go -ctx := context.TODO() -id := networkwatchers.NewNetworkWatcherID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkWatcherName") - -payload := networkwatchers.NetworkConfigurationDiagnosticParameters{ - // ... -} - - -if err := client.GetNetworkConfigurationDiagnosticThenPoll(ctx, id, payload); err != nil { - // handle the error -} -``` - - -### Example Usage: `NetworkWatchersClient.GetNextHop` - -```go -ctx := context.TODO() -id := networkwatchers.NewNetworkWatcherID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkWatcherName") - -payload := networkwatchers.NextHopParameters{ - // ... -} - - -if err := client.GetNextHopThenPoll(ctx, id, payload); err != nil { - // handle the error -} -``` - - -### Example Usage: `NetworkWatchersClient.GetTopology` - -```go -ctx := context.TODO() -id := networkwatchers.NewNetworkWatcherID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkWatcherName") - -payload := networkwatchers.TopologyParameters{ - // ... -} - - -read, err := client.GetTopology(ctx, id, payload) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `NetworkWatchersClient.GetTroubleshooting` - -```go -ctx := context.TODO() -id := networkwatchers.NewNetworkWatcherID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkWatcherName") - -payload := networkwatchers.TroubleshootingParameters{ - // ... -} - - -if err := client.GetTroubleshootingThenPoll(ctx, id, payload); err != nil { - // handle the error -} -``` - - -### Example Usage: `NetworkWatchersClient.GetTroubleshootingResult` - -```go -ctx := context.TODO() -id := networkwatchers.NewNetworkWatcherID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkWatcherName") - -payload := networkwatchers.QueryTroubleshootingParameters{ - // ... -} - - -if err := client.GetTroubleshootingResultThenPoll(ctx, id, payload); err != nil { - // handle the error -} -``` - - -### Example Usage: `NetworkWatchersClient.GetVMSecurityRules` - -```go -ctx := context.TODO() -id := networkwatchers.NewNetworkWatcherID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkWatcherName") - -payload := networkwatchers.SecurityGroupViewParameters{ - // ... -} - - -if err := client.GetVMSecurityRulesThenPoll(ctx, id, payload); err != nil { - // handle the error -} -``` - - -### Example Usage: `NetworkWatchersClient.List` - -```go -ctx := context.TODO() -id := commonids.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group") - -read, err := client.List(ctx, id) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `NetworkWatchersClient.ListAll` - -```go -ctx := context.TODO() -id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012") - -read, err := client.ListAll(ctx, id) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `NetworkWatchersClient.ListAvailableProviders` - -```go -ctx := context.TODO() -id := networkwatchers.NewNetworkWatcherID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkWatcherName") - -payload := networkwatchers.AvailableProvidersListParameters{ - // ... -} - - -if err := client.ListAvailableProvidersThenPoll(ctx, id, payload); err != nil { - // handle the error -} -``` - - -### Example Usage: `NetworkWatchersClient.SetFlowLogConfiguration` - -```go -ctx := context.TODO() -id := networkwatchers.NewNetworkWatcherID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkWatcherName") - -payload := networkwatchers.FlowLogInformation{ - // ... -} - - -if err := client.SetFlowLogConfigurationThenPoll(ctx, id, payload); err != nil { - // handle the error -} -``` - - -### Example Usage: `NetworkWatchersClient.UpdateTags` - -```go -ctx := context.TODO() -id := networkwatchers.NewNetworkWatcherID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkWatcherName") - -payload := networkwatchers.TagsObject{ - // ... -} - - -read, err := client.UpdateTags(ctx, id, payload) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `NetworkWatchersClient.VerifyIPFlow` - -```go -ctx := context.TODO() -id := networkwatchers.NewNetworkWatcherID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkWatcherName") - -payload := networkwatchers.VerificationIPFlowParameters{ - // ... -} - - -if err := client.VerifyIPFlowThenPoll(ctx, id, payload); err != nil { - // handle the error -} -``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_flowloginformation.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_flowloginformation.go deleted file mode 100644 index e624cdf59fe3..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_flowloginformation.go +++ /dev/null @@ -1,10 +0,0 @@ -package networkwatchers - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -type FlowLogInformation struct { - FlowAnalyticsConfiguration *TrafficAnalyticsProperties `json:"flowAnalyticsConfiguration,omitempty"` - Properties FlowLogProperties `json:"properties"` - TargetResourceId string `json:"targetResourceId"` -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_flowlogproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_flowlogproperties.go deleted file mode 100644 index c51e0fd967ec..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_flowlogproperties.go +++ /dev/null @@ -1,11 +0,0 @@ -package networkwatchers - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -type FlowLogProperties struct { - Enabled bool `json:"enabled"` - Format *FlowLogFormatParameters `json:"format,omitempty"` - RetentionPolicy *RetentionPolicyParameters `json:"retentionPolicy,omitempty"` - StorageId string `json:"storageId"` -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/version.go deleted file mode 100644 index 24d0fce3ffe2..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/version.go +++ /dev/null @@ -1,10 +0,0 @@ -package networkwatchers - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -const defaultApiVersion = "2023-11-01" - -func userAgent() string { - return "hashicorp/go-azure-sdk/networkwatchers/2023-11-01" -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/p2svpngateways/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/p2svpngateways/README.md deleted file mode 100644 index d71470116409..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/p2svpngateways/README.md +++ /dev/null @@ -1,113 +0,0 @@ - -## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/p2svpngateways` Documentation - -The `p2svpngateways` SDK allows for interaction with Azure Resource Manager `network` (API Version `2023-11-01`). - -This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). - -### Import Path - -```go -import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" -import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/p2svpngateways" -``` - - -### Client Initialization - -```go -client := p2svpngateways.NewP2sVpnGatewaysClientWithBaseURI("https://management.azure.com") -client.Client.Authorizer = authorizer -``` - - -### Example Usage: `P2sVpnGatewaysClient.DisconnectP2sVpnConnections` - -```go -ctx := context.TODO() -id := commonids.NewVirtualWANP2SVPNGatewayID("12345678-1234-9876-4563-123456789012", "example-resource-group", "p2sVpnGatewayName") - -payload := p2svpngateways.P2SVpnConnectionRequest{ - // ... -} - - -if err := client.DisconnectP2sVpnConnectionsThenPoll(ctx, id, payload); err != nil { - // handle the error -} -``` - - -### Example Usage: `P2sVpnGatewaysClient.GenerateVpnProfile` - -```go -ctx := context.TODO() -id := commonids.NewVirtualWANP2SVPNGatewayID("12345678-1234-9876-4563-123456789012", "example-resource-group", "p2sVpnGatewayName") - -payload := p2svpngateways.P2SVpnProfileParameters{ - // ... -} - - -if err := client.GenerateVpnProfileThenPoll(ctx, id, payload); err != nil { - // handle the error -} -``` - - -### Example Usage: `P2sVpnGatewaysClient.GetP2sVpnConnectionHealth` - -```go -ctx := context.TODO() -id := commonids.NewVirtualWANP2SVPNGatewayID("12345678-1234-9876-4563-123456789012", "example-resource-group", "p2sVpnGatewayName") - -if err := client.GetP2sVpnConnectionHealthThenPoll(ctx, id); err != nil { - // handle the error -} -``` - - -### Example Usage: `P2sVpnGatewaysClient.GetP2sVpnConnectionHealthDetailed` - -```go -ctx := context.TODO() -id := commonids.NewVirtualWANP2SVPNGatewayID("12345678-1234-9876-4563-123456789012", "example-resource-group", "p2sVpnGatewayName") - -payload := p2svpngateways.P2SVpnConnectionHealthRequest{ - // ... -} - - -if err := client.GetP2sVpnConnectionHealthDetailedThenPoll(ctx, id, payload); err != nil { - // handle the error -} -``` - - -### Example Usage: `P2sVpnGatewaysClient.Reset` - -```go -ctx := context.TODO() -id := commonids.NewVirtualWANP2SVPNGatewayID("12345678-1234-9876-4563-123456789012", "example-resource-group", "p2sVpnGatewayName") - -if err := client.ResetThenPoll(ctx, id); err != nil { - // handle the error -} -``` - - -### Example Usage: `P2sVpnGatewaysClient.UpdateTags` - -```go -ctx := context.TODO() -id := commonids.NewVirtualWANP2SVPNGatewayID("12345678-1234-9876-4563-123456789012", "example-resource-group", "p2sVpnGatewayName") - -payload := p2svpngateways.TagsObject{ - // ... -} - - -if err := client.UpdateTagsThenPoll(ctx, id, payload); err != nil { - // handle the error -} -``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/p2svpngateways/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/p2svpngateways/version.go deleted file mode 100644 index fe9fc581b5e7..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/p2svpngateways/version.go +++ /dev/null @@ -1,10 +0,0 @@ -package p2svpngateways - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -const defaultApiVersion = "2023-11-01" - -func userAgent() string { - return "hashicorp/go-azure-sdk/p2svpngateways/2023-11-01" -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/packetcaptures/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/packetcaptures/README.md deleted file mode 100644 index e886067a2ed2..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/packetcaptures/README.md +++ /dev/null @@ -1,105 +0,0 @@ - -## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/packetcaptures` Documentation - -The `packetcaptures` SDK allows for interaction with Azure Resource Manager `network` (API Version `2023-11-01`). - -This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). - -### Import Path - -```go -import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/packetcaptures" -``` - - -### Client Initialization - -```go -client := packetcaptures.NewPacketCapturesClientWithBaseURI("https://management.azure.com") -client.Client.Authorizer = authorizer -``` - - -### Example Usage: `PacketCapturesClient.Create` - -```go -ctx := context.TODO() -id := packetcaptures.NewPacketCaptureID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkWatcherName", "packetCaptureName") - -payload := packetcaptures.PacketCapture{ - // ... -} - - -if err := client.CreateThenPoll(ctx, id, payload); err != nil { - // handle the error -} -``` - - -### Example Usage: `PacketCapturesClient.Delete` - -```go -ctx := context.TODO() -id := packetcaptures.NewPacketCaptureID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkWatcherName", "packetCaptureName") - -if err := client.DeleteThenPoll(ctx, id); err != nil { - // handle the error -} -``` - - -### Example Usage: `PacketCapturesClient.Get` - -```go -ctx := context.TODO() -id := packetcaptures.NewPacketCaptureID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkWatcherName", "packetCaptureName") - -read, err := client.Get(ctx, id) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `PacketCapturesClient.GetStatus` - -```go -ctx := context.TODO() -id := packetcaptures.NewPacketCaptureID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkWatcherName", "packetCaptureName") - -if err := client.GetStatusThenPoll(ctx, id); err != nil { - // handle the error -} -``` - - -### Example Usage: `PacketCapturesClient.List` - -```go -ctx := context.TODO() -id := packetcaptures.NewNetworkWatcherID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkWatcherName") - -read, err := client.List(ctx, id) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `PacketCapturesClient.Stop` - -```go -ctx := context.TODO() -id := packetcaptures.NewPacketCaptureID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkWatcherName", "packetCaptureName") - -if err := client.StopThenPoll(ctx, id); err != nil { - // handle the error -} -``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/packetcaptures/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/packetcaptures/version.go deleted file mode 100644 index 149c536f1d4b..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/packetcaptures/version.go +++ /dev/null @@ -1,10 +0,0 @@ -package packetcaptures - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -const defaultApiVersion = "2023-11-01" - -func userAgent() string { - return "hashicorp/go-azure-sdk/packetcaptures/2023-11-01" -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/peerexpressroutecircuitconnections/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/peerexpressroutecircuitconnections/README.md deleted file mode 100644 index 6c724acb780a..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/peerexpressroutecircuitconnections/README.md +++ /dev/null @@ -1,54 +0,0 @@ - -## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/peerexpressroutecircuitconnections` Documentation - -The `peerexpressroutecircuitconnections` SDK allows for interaction with Azure Resource Manager `network` (API Version `2023-11-01`). - -This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). - -### Import Path - -```go -import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" -import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/peerexpressroutecircuitconnections" -``` - - -### Client Initialization - -```go -client := peerexpressroutecircuitconnections.NewPeerExpressRouteCircuitConnectionsClientWithBaseURI("https://management.azure.com") -client.Client.Authorizer = authorizer -``` - - -### Example Usage: `PeerExpressRouteCircuitConnectionsClient.Get` - -```go -ctx := context.TODO() -id := peerexpressroutecircuitconnections.NewPeerConnectionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "expressRouteCircuitName", "peeringName", "peerConnectionName") - -read, err := client.Get(ctx, id) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `PeerExpressRouteCircuitConnectionsClient.List` - -```go -ctx := context.TODO() -id := commonids.NewExpressRouteCircuitPeeringID("12345678-1234-9876-4563-123456789012", "example-resource-group", "expressRouteCircuitName", "peeringName") - -// alternatively `client.List(ctx, id)` can be used to do batched pagination -items, err := client.ListComplete(ctx, id) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/peerexpressroutecircuitconnections/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/peerexpressroutecircuitconnections/version.go deleted file mode 100644 index 20015a147315..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/peerexpressroutecircuitconnections/version.go +++ /dev/null @@ -1,10 +0,0 @@ -package peerexpressroutecircuitconnections - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -const defaultApiVersion = "2023-11-01" - -func userAgent() string { - return "hashicorp/go-azure-sdk/peerexpressroutecircuitconnections/2023-11-01" -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privatednszonegroups/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privatednszonegroups/README.md deleted file mode 100644 index 2d5799b6f5da..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privatednszonegroups/README.md +++ /dev/null @@ -1,82 +0,0 @@ - -## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privatednszonegroups` Documentation - -The `privatednszonegroups` SDK allows for interaction with Azure Resource Manager `network` (API Version `2023-11-01`). - -This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). - -### Import Path - -```go -import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privatednszonegroups" -``` - - -### Client Initialization - -```go -client := privatednszonegroups.NewPrivateDnsZoneGroupsClientWithBaseURI("https://management.azure.com") -client.Client.Authorizer = authorizer -``` - - -### Example Usage: `PrivateDnsZoneGroupsClient.CreateOrUpdate` - -```go -ctx := context.TODO() -id := privatednszonegroups.NewPrivateDnsZoneGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group", "privateEndpointName", "privateDnsZoneGroupName") - -payload := privatednszonegroups.PrivateDnsZoneGroup{ - // ... -} - - -if err := client.CreateOrUpdateThenPoll(ctx, id, payload); err != nil { - // handle the error -} -``` - - -### Example Usage: `PrivateDnsZoneGroupsClient.Delete` - -```go -ctx := context.TODO() -id := privatednszonegroups.NewPrivateDnsZoneGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group", "privateEndpointName", "privateDnsZoneGroupName") - -if err := client.DeleteThenPoll(ctx, id); err != nil { - // handle the error -} -``` - - -### Example Usage: `PrivateDnsZoneGroupsClient.Get` - -```go -ctx := context.TODO() -id := privatednszonegroups.NewPrivateDnsZoneGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group", "privateEndpointName", "privateDnsZoneGroupName") - -read, err := client.Get(ctx, id) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `PrivateDnsZoneGroupsClient.List` - -```go -ctx := context.TODO() -id := privatednszonegroups.NewPrivateEndpointID("12345678-1234-9876-4563-123456789012", "example-resource-group", "privateEndpointName") - -// alternatively `client.List(ctx, id)` can be used to do batched pagination -items, err := client.ListComplete(ctx, id) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privatednszonegroups/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privatednszonegroups/version.go deleted file mode 100644 index 6ddb0eb09e16..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privatednszonegroups/version.go +++ /dev/null @@ -1,10 +0,0 @@ -package privatednszonegroups - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -const defaultApiVersion = "2023-11-01" - -func userAgent() string { - return "hashicorp/go-azure-sdk/privatednszonegroups/2023-11-01" -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/README.md deleted file mode 100644 index 2fe169fa1056..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/README.md +++ /dev/null @@ -1,134 +0,0 @@ - -## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints` Documentation - -The `privateendpoints` SDK allows for interaction with Azure Resource Manager `network` (API Version `2023-11-01`). - -This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). - -### Import Path - -```go -import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" -import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints" -``` - - -### Client Initialization - -```go -client := privateendpoints.NewPrivateEndpointsClientWithBaseURI("https://management.azure.com") -client.Client.Authorizer = authorizer -``` - - -### Example Usage: `PrivateEndpointsClient.AvailablePrivateEndpointTypesList` - -```go -ctx := context.TODO() -id := privateendpoints.NewLocationID("12345678-1234-9876-4563-123456789012", "locationName") - -// alternatively `client.AvailablePrivateEndpointTypesList(ctx, id)` can be used to do batched pagination -items, err := client.AvailablePrivateEndpointTypesListComplete(ctx, id) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` - - -### Example Usage: `PrivateEndpointsClient.AvailablePrivateEndpointTypesListByResourceGroup` - -```go -ctx := context.TODO() -id := privateendpoints.NewProviderLocationID("12345678-1234-9876-4563-123456789012", "example-resource-group", "locationName") - -// alternatively `client.AvailablePrivateEndpointTypesListByResourceGroup(ctx, id)` can be used to do batched pagination -items, err := client.AvailablePrivateEndpointTypesListByResourceGroupComplete(ctx, id) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` - - -### Example Usage: `PrivateEndpointsClient.CreateOrUpdate` - -```go -ctx := context.TODO() -id := privateendpoints.NewPrivateEndpointID("12345678-1234-9876-4563-123456789012", "example-resource-group", "privateEndpointName") - -payload := privateendpoints.PrivateEndpoint{ - // ... -} - - -if err := client.CreateOrUpdateThenPoll(ctx, id, payload); err != nil { - // handle the error -} -``` - - -### Example Usage: `PrivateEndpointsClient.Delete` - -```go -ctx := context.TODO() -id := privateendpoints.NewPrivateEndpointID("12345678-1234-9876-4563-123456789012", "example-resource-group", "privateEndpointName") - -if err := client.DeleteThenPoll(ctx, id); err != nil { - // handle the error -} -``` - - -### Example Usage: `PrivateEndpointsClient.Get` - -```go -ctx := context.TODO() -id := privateendpoints.NewPrivateEndpointID("12345678-1234-9876-4563-123456789012", "example-resource-group", "privateEndpointName") - -read, err := client.Get(ctx, id, privateendpoints.DefaultGetOperationOptions()) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `PrivateEndpointsClient.List` - -```go -ctx := context.TODO() -id := commonids.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group") - -// alternatively `client.List(ctx, id)` can be used to do batched pagination -items, err := client.ListComplete(ctx, id) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` - - -### Example Usage: `PrivateEndpointsClient.ListBySubscription` - -```go -ctx := context.TODO() -id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012") - -// alternatively `client.ListBySubscription(ctx, id)` can be used to do batched pagination -items, err := client.ListBySubscriptionComplete(ctx, id) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_flowlog.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_flowlog.go deleted file mode 100644 index bce1bcfe8ad0..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_flowlog.go +++ /dev/null @@ -1,14 +0,0 @@ -package privateendpoints - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -type FlowLog struct { - Etag *string `json:"etag,omitempty"` - Id *string `json:"id,omitempty"` - Location *string `json:"location,omitempty"` - Name *string `json:"name,omitempty"` - Properties *FlowLogPropertiesFormat `json:"properties,omitempty"` - Tags *map[string]string `json:"tags,omitempty"` - Type *string `json:"type,omitempty"` -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_flowlogpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_flowlogpropertiesformat.go deleted file mode 100644 index 6f45378b9d17..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_flowlogpropertiesformat.go +++ /dev/null @@ -1,15 +0,0 @@ -package privateendpoints - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -type FlowLogPropertiesFormat struct { - Enabled *bool `json:"enabled,omitempty"` - FlowAnalyticsConfiguration *TrafficAnalyticsProperties `json:"flowAnalyticsConfiguration,omitempty"` - Format *FlowLogFormatParameters `json:"format,omitempty"` - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` - RetentionPolicy *RetentionPolicyParameters `json:"retentionPolicy,omitempty"` - StorageId string `json:"storageId"` - TargetResourceGuid *string `json:"targetResourceGuid,omitempty"` - TargetResourceId string `json:"targetResourceId"` -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_privatelinkserviceproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_privatelinkserviceproperties.go deleted file mode 100644 index d246ec00f40a..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_privatelinkserviceproperties.go +++ /dev/null @@ -1,17 +0,0 @@ -package privateendpoints - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -type PrivateLinkServiceProperties struct { - Alias *string `json:"alias,omitempty"` - AutoApproval *ResourceSet `json:"autoApproval,omitempty"` - EnableProxyProtocol *bool `json:"enableProxyProtocol,omitempty"` - Fqdns *[]string `json:"fqdns,omitempty"` - IPConfigurations *[]PrivateLinkServiceIPConfiguration `json:"ipConfigurations,omitempty"` - LoadBalancerFrontendIPConfigurations *[]FrontendIPConfiguration `json:"loadBalancerFrontendIpConfigurations,omitempty"` - NetworkInterfaces *[]NetworkInterface `json:"networkInterfaces,omitempty"` - PrivateEndpointConnections *[]PrivateEndpointConnection `json:"privateEndpointConnections,omitempty"` - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` - Visibility *ResourceSet `json:"visibility,omitempty"` -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_serviceendpointpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_serviceendpointpropertiesformat.go deleted file mode 100644 index 5b54f3ef673c..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_serviceendpointpropertiesformat.go +++ /dev/null @@ -1,10 +0,0 @@ -package privateendpoints - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -type ServiceEndpointPropertiesFormat struct { - Locations *[]string `json:"locations,omitempty"` - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` - Service *string `json:"service,omitempty"` -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/version.go deleted file mode 100644 index 5181a4f29087..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/version.go +++ /dev/null @@ -1,10 +0,0 @@ -package privateendpoints - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -const defaultApiVersion = "2023-11-01" - -func userAgent() string { - return "hashicorp/go-azure-sdk/privateendpoints/2023-11-01" -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/README.md deleted file mode 100644 index bd760f92aebd..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/README.md +++ /dev/null @@ -1,133 +0,0 @@ - -## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses` Documentation - -The `publicipaddresses` SDK allows for interaction with Azure Resource Manager `network` (API Version `2023-11-01`). - -This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). - -### Import Path - -```go -import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" -import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses" -``` - - -### Client Initialization - -```go -client := publicipaddresses.NewPublicIPAddressesClientWithBaseURI("https://management.azure.com") -client.Client.Authorizer = authorizer -``` - - -### Example Usage: `PublicIPAddressesClient.CreateOrUpdate` - -```go -ctx := context.TODO() -id := commonids.NewPublicIPAddressID("12345678-1234-9876-4563-123456789012", "example-resource-group", "publicIPAddressName") - -payload := publicipaddresses.PublicIPAddress{ - // ... -} - - -if err := client.CreateOrUpdateThenPoll(ctx, id, payload); err != nil { - // handle the error -} -``` - - -### Example Usage: `PublicIPAddressesClient.DdosProtectionStatus` - -```go -ctx := context.TODO() -id := commonids.NewPublicIPAddressID("12345678-1234-9876-4563-123456789012", "example-resource-group", "publicIPAddressName") - -if err := client.DdosProtectionStatusThenPoll(ctx, id); err != nil { - // handle the error -} -``` - - -### Example Usage: `PublicIPAddressesClient.Delete` - -```go -ctx := context.TODO() -id := commonids.NewPublicIPAddressID("12345678-1234-9876-4563-123456789012", "example-resource-group", "publicIPAddressName") - -if err := client.DeleteThenPoll(ctx, id); err != nil { - // handle the error -} -``` - - -### Example Usage: `PublicIPAddressesClient.Get` - -```go -ctx := context.TODO() -id := commonids.NewPublicIPAddressID("12345678-1234-9876-4563-123456789012", "example-resource-group", "publicIPAddressName") - -read, err := client.Get(ctx, id, publicipaddresses.DefaultGetOperationOptions()) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `PublicIPAddressesClient.List` - -```go -ctx := context.TODO() -id := commonids.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group") - -// alternatively `client.List(ctx, id)` can be used to do batched pagination -items, err := client.ListComplete(ctx, id) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` - - -### Example Usage: `PublicIPAddressesClient.ListAll` - -```go -ctx := context.TODO() -id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012") - -// alternatively `client.ListAll(ctx, id)` can be used to do batched pagination -items, err := client.ListAllComplete(ctx, id) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` - - -### Example Usage: `PublicIPAddressesClient.UpdateTags` - -```go -ctx := context.TODO() -id := commonids.NewPublicIPAddressID("12345678-1234-9876-4563-123456789012", "example-resource-group", "publicIPAddressName") - -payload := publicipaddresses.TagsObject{ - // ... -} - - -read, err := client.UpdateTags(ctx, id, payload) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_flowlog.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_flowlog.go deleted file mode 100644 index 3ab56bececf5..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_flowlog.go +++ /dev/null @@ -1,14 +0,0 @@ -package publicipaddresses - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -type FlowLog struct { - Etag *string `json:"etag,omitempty"` - Id *string `json:"id,omitempty"` - Location *string `json:"location,omitempty"` - Name *string `json:"name,omitempty"` - Properties *FlowLogPropertiesFormat `json:"properties,omitempty"` - Tags *map[string]string `json:"tags,omitempty"` - Type *string `json:"type,omitempty"` -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_flowlogpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_flowlogpropertiesformat.go deleted file mode 100644 index 6690c7ec8807..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_flowlogpropertiesformat.go +++ /dev/null @@ -1,15 +0,0 @@ -package publicipaddresses - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -type FlowLogPropertiesFormat struct { - Enabled *bool `json:"enabled,omitempty"` - FlowAnalyticsConfiguration *TrafficAnalyticsProperties `json:"flowAnalyticsConfiguration,omitempty"` - Format *FlowLogFormatParameters `json:"format,omitempty"` - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` - RetentionPolicy *RetentionPolicyParameters `json:"retentionPolicy,omitempty"` - StorageId string `json:"storageId"` - TargetResourceGuid *string `json:"targetResourceGuid,omitempty"` - TargetResourceId string `json:"targetResourceId"` -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_privatelinkserviceproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_privatelinkserviceproperties.go deleted file mode 100644 index 7307dfa6a246..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_privatelinkserviceproperties.go +++ /dev/null @@ -1,17 +0,0 @@ -package publicipaddresses - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -type PrivateLinkServiceProperties struct { - Alias *string `json:"alias,omitempty"` - AutoApproval *ResourceSet `json:"autoApproval,omitempty"` - EnableProxyProtocol *bool `json:"enableProxyProtocol,omitempty"` - Fqdns *[]string `json:"fqdns,omitempty"` - IPConfigurations *[]PrivateLinkServiceIPConfiguration `json:"ipConfigurations,omitempty"` - LoadBalancerFrontendIPConfigurations *[]FrontendIPConfiguration `json:"loadBalancerFrontendIpConfigurations,omitempty"` - NetworkInterfaces *[]NetworkInterface `json:"networkInterfaces,omitempty"` - PrivateEndpointConnections *[]PrivateEndpointConnection `json:"privateEndpointConnections,omitempty"` - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` - Visibility *ResourceSet `json:"visibility,omitempty"` -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_serviceendpointpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_serviceendpointpropertiesformat.go deleted file mode 100644 index 8d53fbdcd1e8..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_serviceendpointpropertiesformat.go +++ /dev/null @@ -1,10 +0,0 @@ -package publicipaddresses - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -type ServiceEndpointPropertiesFormat struct { - Locations *[]string `json:"locations,omitempty"` - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` - Service *string `json:"service,omitempty"` -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/version.go deleted file mode 100644 index 52df067607a0..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/version.go +++ /dev/null @@ -1,10 +0,0 @@ -package publicipaddresses - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -const defaultApiVersion = "2023-11-01" - -func userAgent() string { - return "hashicorp/go-azure-sdk/publicipaddresses/2023-11-01" -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routefilterrules/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routefilterrules/README.md deleted file mode 100644 index 15c8d0423ac7..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routefilterrules/README.md +++ /dev/null @@ -1,82 +0,0 @@ - -## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routefilterrules` Documentation - -The `routefilterrules` SDK allows for interaction with Azure Resource Manager `network` (API Version `2023-11-01`). - -This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). - -### Import Path - -```go -import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routefilterrules" -``` - - -### Client Initialization - -```go -client := routefilterrules.NewRouteFilterRulesClientWithBaseURI("https://management.azure.com") -client.Client.Authorizer = authorizer -``` - - -### Example Usage: `RouteFilterRulesClient.CreateOrUpdate` - -```go -ctx := context.TODO() -id := routefilterrules.NewRouteFilterRuleID("12345678-1234-9876-4563-123456789012", "example-resource-group", "routeFilterName", "routeFilterRuleName") - -payload := routefilterrules.RouteFilterRule{ - // ... -} - - -if err := client.CreateOrUpdateThenPoll(ctx, id, payload); err != nil { - // handle the error -} -``` - - -### Example Usage: `RouteFilterRulesClient.Delete` - -```go -ctx := context.TODO() -id := routefilterrules.NewRouteFilterRuleID("12345678-1234-9876-4563-123456789012", "example-resource-group", "routeFilterName", "routeFilterRuleName") - -if err := client.DeleteThenPoll(ctx, id); err != nil { - // handle the error -} -``` - - -### Example Usage: `RouteFilterRulesClient.Get` - -```go -ctx := context.TODO() -id := routefilterrules.NewRouteFilterRuleID("12345678-1234-9876-4563-123456789012", "example-resource-group", "routeFilterName", "routeFilterRuleName") - -read, err := client.Get(ctx, id) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `RouteFilterRulesClient.ListByRouteFilter` - -```go -ctx := context.TODO() -id := routefilterrules.NewRouteFilterID("12345678-1234-9876-4563-123456789012", "example-resource-group", "routeFilterName") - -// alternatively `client.ListByRouteFilter(ctx, id)` can be used to do batched pagination -items, err := client.ListByRouteFilterComplete(ctx, id) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routefilterrules/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routefilterrules/version.go deleted file mode 100644 index af9896c7f073..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routefilterrules/version.go +++ /dev/null @@ -1,10 +0,0 @@ -package routefilterrules - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -const defaultApiVersion = "2023-11-01" - -func userAgent() string { - return "hashicorp/go-azure-sdk/routefilterrules/2023-11-01" -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routefilters/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routefilters/README.md deleted file mode 100644 index 1de10a5d3567..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routefilters/README.md +++ /dev/null @@ -1,121 +0,0 @@ - -## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routefilters` Documentation - -The `routefilters` SDK allows for interaction with Azure Resource Manager `network` (API Version `2023-11-01`). - -This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). - -### Import Path - -```go -import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" -import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routefilters" -``` - - -### Client Initialization - -```go -client := routefilters.NewRouteFiltersClientWithBaseURI("https://management.azure.com") -client.Client.Authorizer = authorizer -``` - - -### Example Usage: `RouteFiltersClient.CreateOrUpdate` - -```go -ctx := context.TODO() -id := routefilters.NewRouteFilterID("12345678-1234-9876-4563-123456789012", "example-resource-group", "routeFilterName") - -payload := routefilters.RouteFilter{ - // ... -} - - -if err := client.CreateOrUpdateThenPoll(ctx, id, payload); err != nil { - // handle the error -} -``` - - -### Example Usage: `RouteFiltersClient.Delete` - -```go -ctx := context.TODO() -id := routefilters.NewRouteFilterID("12345678-1234-9876-4563-123456789012", "example-resource-group", "routeFilterName") - -if err := client.DeleteThenPoll(ctx, id); err != nil { - // handle the error -} -``` - - -### Example Usage: `RouteFiltersClient.Get` - -```go -ctx := context.TODO() -id := routefilters.NewRouteFilterID("12345678-1234-9876-4563-123456789012", "example-resource-group", "routeFilterName") - -read, err := client.Get(ctx, id, routefilters.DefaultGetOperationOptions()) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `RouteFiltersClient.List` - -```go -ctx := context.TODO() -id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012") - -// alternatively `client.List(ctx, id)` can be used to do batched pagination -items, err := client.ListComplete(ctx, id) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` - - -### Example Usage: `RouteFiltersClient.ListByResourceGroup` - -```go -ctx := context.TODO() -id := commonids.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group") - -// alternatively `client.ListByResourceGroup(ctx, id)` can be used to do batched pagination -items, err := client.ListByResourceGroupComplete(ctx, id) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` - - -### Example Usage: `RouteFiltersClient.UpdateTags` - -```go -ctx := context.TODO() -id := routefilters.NewRouteFilterID("12345678-1234-9876-4563-123456789012", "example-resource-group", "routeFilterName") - -payload := routefilters.TagsObject{ - // ... -} - - -read, err := client.UpdateTags(ctx, id, payload) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routefilters/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routefilters/version.go deleted file mode 100644 index 7b396bc540e7..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routefilters/version.go +++ /dev/null @@ -1,10 +0,0 @@ -package routefilters - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -const defaultApiVersion = "2023-11-01" - -func userAgent() string { - return "hashicorp/go-azure-sdk/routefilters/2023-11-01" -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routes/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routes/README.md deleted file mode 100644 index f9f99529dbc1..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routes/README.md +++ /dev/null @@ -1,82 +0,0 @@ - -## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routes` Documentation - -The `routes` SDK allows for interaction with Azure Resource Manager `network` (API Version `2023-11-01`). - -This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). - -### Import Path - -```go -import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routes" -``` - - -### Client Initialization - -```go -client := routes.NewRoutesClientWithBaseURI("https://management.azure.com") -client.Client.Authorizer = authorizer -``` - - -### Example Usage: `RoutesClient.CreateOrUpdate` - -```go -ctx := context.TODO() -id := routes.NewRouteID("12345678-1234-9876-4563-123456789012", "example-resource-group", "routeTableName", "routeName") - -payload := routes.Route{ - // ... -} - - -if err := client.CreateOrUpdateThenPoll(ctx, id, payload); err != nil { - // handle the error -} -``` - - -### Example Usage: `RoutesClient.Delete` - -```go -ctx := context.TODO() -id := routes.NewRouteID("12345678-1234-9876-4563-123456789012", "example-resource-group", "routeTableName", "routeName") - -if err := client.DeleteThenPoll(ctx, id); err != nil { - // handle the error -} -``` - - -### Example Usage: `RoutesClient.Get` - -```go -ctx := context.TODO() -id := routes.NewRouteID("12345678-1234-9876-4563-123456789012", "example-resource-group", "routeTableName", "routeName") - -read, err := client.Get(ctx, id) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `RoutesClient.List` - -```go -ctx := context.TODO() -id := routes.NewRouteTableID("12345678-1234-9876-4563-123456789012", "example-resource-group", "routeTableName") - -// alternatively `client.List(ctx, id)` can be used to do batched pagination -items, err := client.ListComplete(ctx, id) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routes/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routes/version.go deleted file mode 100644 index b345e5186e5b..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routes/version.go +++ /dev/null @@ -1,10 +0,0 @@ -package routes - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -const defaultApiVersion = "2023-11-01" - -func userAgent() string { - return "hashicorp/go-azure-sdk/routes/2023-11-01" -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/scopeconnections/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/scopeconnections/README.md deleted file mode 100644 index 8fe6d3f7d00c..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/scopeconnections/README.md +++ /dev/null @@ -1,90 +0,0 @@ - -## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/scopeconnections` Documentation - -The `scopeconnections` SDK allows for interaction with Azure Resource Manager `network` (API Version `2023-11-01`). - -This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). - -### Import Path - -```go -import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/scopeconnections" -``` - - -### Client Initialization - -```go -client := scopeconnections.NewScopeConnectionsClientWithBaseURI("https://management.azure.com") -client.Client.Authorizer = authorizer -``` - - -### Example Usage: `ScopeConnectionsClient.CreateOrUpdate` - -```go -ctx := context.TODO() -id := scopeconnections.NewScopeConnectionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkManagerName", "scopeConnectionName") - -payload := scopeconnections.ScopeConnection{ - // ... -} - - -read, err := client.CreateOrUpdate(ctx, id, payload) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `ScopeConnectionsClient.Delete` - -```go -ctx := context.TODO() -id := scopeconnections.NewScopeConnectionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkManagerName", "scopeConnectionName") - -read, err := client.Delete(ctx, id) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `ScopeConnectionsClient.Get` - -```go -ctx := context.TODO() -id := scopeconnections.NewScopeConnectionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkManagerName", "scopeConnectionName") - -read, err := client.Get(ctx, id) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `ScopeConnectionsClient.List` - -```go -ctx := context.TODO() -id := scopeconnections.NewNetworkManagerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkManagerName") - -// alternatively `client.List(ctx, id, scopeconnections.DefaultListOperationOptions())` can be used to do batched pagination -items, err := client.ListComplete(ctx, id, scopeconnections.DefaultListOperationOptions()) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/scopeconnections/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/scopeconnections/version.go deleted file mode 100644 index 0d7f8f4c7f4a..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/scopeconnections/version.go +++ /dev/null @@ -1,10 +0,0 @@ -package scopeconnections - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -const defaultApiVersion = "2023-11-01" - -func userAgent() string { - return "hashicorp/go-azure-sdk/scopeconnections/2023-11-01" -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/securityadminconfigurations/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/securityadminconfigurations/README.md deleted file mode 100644 index dd44c24e5002..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/securityadminconfigurations/README.md +++ /dev/null @@ -1,86 +0,0 @@ - -## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/securityadminconfigurations` Documentation - -The `securityadminconfigurations` SDK allows for interaction with Azure Resource Manager `network` (API Version `2023-11-01`). - -This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). - -### Import Path - -```go -import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/securityadminconfigurations" -``` - - -### Client Initialization - -```go -client := securityadminconfigurations.NewSecurityAdminConfigurationsClientWithBaseURI("https://management.azure.com") -client.Client.Authorizer = authorizer -``` - - -### Example Usage: `SecurityAdminConfigurationsClient.CreateOrUpdate` - -```go -ctx := context.TODO() -id := securityadminconfigurations.NewSecurityAdminConfigurationID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkManagerName", "securityAdminConfigurationName") - -payload := securityadminconfigurations.SecurityAdminConfiguration{ - // ... -} - - -read, err := client.CreateOrUpdate(ctx, id, payload) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `SecurityAdminConfigurationsClient.Delete` - -```go -ctx := context.TODO() -id := securityadminconfigurations.NewSecurityAdminConfigurationID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkManagerName", "securityAdminConfigurationName") - -if err := client.DeleteThenPoll(ctx, id, securityadminconfigurations.DefaultDeleteOperationOptions()); err != nil { - // handle the error -} -``` - - -### Example Usage: `SecurityAdminConfigurationsClient.Get` - -```go -ctx := context.TODO() -id := securityadminconfigurations.NewSecurityAdminConfigurationID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkManagerName", "securityAdminConfigurationName") - -read, err := client.Get(ctx, id) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `SecurityAdminConfigurationsClient.List` - -```go -ctx := context.TODO() -id := securityadminconfigurations.NewNetworkManagerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkManagerName") - -// alternatively `client.List(ctx, id, securityadminconfigurations.DefaultListOperationOptions())` can be used to do batched pagination -items, err := client.ListComplete(ctx, id, securityadminconfigurations.DefaultListOperationOptions()) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/securityadminconfigurations/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/securityadminconfigurations/version.go deleted file mode 100644 index 6e069e589d3a..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/securityadminconfigurations/version.go +++ /dev/null @@ -1,10 +0,0 @@ -package securityadminconfigurations - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -const defaultApiVersion = "2023-11-01" - -func userAgent() string { - return "hashicorp/go-azure-sdk/securityadminconfigurations/2023-11-01" -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/securitypartnerproviders/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/securitypartnerproviders/README.md deleted file mode 100644 index 84517d3ef7cc..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/securitypartnerproviders/README.md +++ /dev/null @@ -1,121 +0,0 @@ - -## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/securitypartnerproviders` Documentation - -The `securitypartnerproviders` SDK allows for interaction with Azure Resource Manager `network` (API Version `2023-11-01`). - -This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). - -### Import Path - -```go -import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" -import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/securitypartnerproviders" -``` - - -### Client Initialization - -```go -client := securitypartnerproviders.NewSecurityPartnerProvidersClientWithBaseURI("https://management.azure.com") -client.Client.Authorizer = authorizer -``` - - -### Example Usage: `SecurityPartnerProvidersClient.CreateOrUpdate` - -```go -ctx := context.TODO() -id := securitypartnerproviders.NewSecurityPartnerProviderID("12345678-1234-9876-4563-123456789012", "example-resource-group", "securityPartnerProviderName") - -payload := securitypartnerproviders.SecurityPartnerProvider{ - // ... -} - - -if err := client.CreateOrUpdateThenPoll(ctx, id, payload); err != nil { - // handle the error -} -``` - - -### Example Usage: `SecurityPartnerProvidersClient.Delete` - -```go -ctx := context.TODO() -id := securitypartnerproviders.NewSecurityPartnerProviderID("12345678-1234-9876-4563-123456789012", "example-resource-group", "securityPartnerProviderName") - -if err := client.DeleteThenPoll(ctx, id); err != nil { - // handle the error -} -``` - - -### Example Usage: `SecurityPartnerProvidersClient.Get` - -```go -ctx := context.TODO() -id := securitypartnerproviders.NewSecurityPartnerProviderID("12345678-1234-9876-4563-123456789012", "example-resource-group", "securityPartnerProviderName") - -read, err := client.Get(ctx, id) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `SecurityPartnerProvidersClient.List` - -```go -ctx := context.TODO() -id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012") - -// alternatively `client.List(ctx, id)` can be used to do batched pagination -items, err := client.ListComplete(ctx, id) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` - - -### Example Usage: `SecurityPartnerProvidersClient.ListByResourceGroup` - -```go -ctx := context.TODO() -id := commonids.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group") - -// alternatively `client.ListByResourceGroup(ctx, id)` can be used to do batched pagination -items, err := client.ListByResourceGroupComplete(ctx, id) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` - - -### Example Usage: `SecurityPartnerProvidersClient.UpdateTags` - -```go -ctx := context.TODO() -id := securitypartnerproviders.NewSecurityPartnerProviderID("12345678-1234-9876-4563-123456789012", "example-resource-group", "securityPartnerProviderName") - -payload := securitypartnerproviders.TagsObject{ - // ... -} - - -read, err := client.UpdateTags(ctx, id, payload) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/securitypartnerproviders/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/securitypartnerproviders/version.go deleted file mode 100644 index f39202b8b1b4..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/securitypartnerproviders/version.go +++ /dev/null @@ -1,10 +0,0 @@ -package securitypartnerproviders - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -const defaultApiVersion = "2023-11-01" - -func userAgent() string { - return "hashicorp/go-azure-sdk/securitypartnerproviders/2023-11-01" -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/securityrules/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/securityrules/README.md deleted file mode 100644 index ad31a0539efa..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/securityrules/README.md +++ /dev/null @@ -1,115 +0,0 @@ - -## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/securityrules` Documentation - -The `securityrules` SDK allows for interaction with Azure Resource Manager `network` (API Version `2023-11-01`). - -This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). - -### Import Path - -```go -import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/securityrules" -``` - - -### Client Initialization - -```go -client := securityrules.NewSecurityRulesClientWithBaseURI("https://management.azure.com") -client.Client.Authorizer = authorizer -``` - - -### Example Usage: `SecurityRulesClient.CreateOrUpdate` - -```go -ctx := context.TODO() -id := securityrules.NewSecurityRuleID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkSecurityGroupName", "securityRuleName") - -payload := securityrules.SecurityRule{ - // ... -} - - -if err := client.CreateOrUpdateThenPoll(ctx, id, payload); err != nil { - // handle the error -} -``` - - -### Example Usage: `SecurityRulesClient.DefaultSecurityRulesGet` - -```go -ctx := context.TODO() -id := securityrules.NewDefaultSecurityRuleID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkSecurityGroupName", "defaultSecurityRuleName") - -read, err := client.DefaultSecurityRulesGet(ctx, id) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `SecurityRulesClient.DefaultSecurityRulesList` - -```go -ctx := context.TODO() -id := securityrules.NewNetworkSecurityGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkSecurityGroupName") - -// alternatively `client.DefaultSecurityRulesList(ctx, id)` can be used to do batched pagination -items, err := client.DefaultSecurityRulesListComplete(ctx, id) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` - - -### Example Usage: `SecurityRulesClient.Delete` - -```go -ctx := context.TODO() -id := securityrules.NewSecurityRuleID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkSecurityGroupName", "securityRuleName") - -if err := client.DeleteThenPoll(ctx, id); err != nil { - // handle the error -} -``` - - -### Example Usage: `SecurityRulesClient.Get` - -```go -ctx := context.TODO() -id := securityrules.NewSecurityRuleID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkSecurityGroupName", "securityRuleName") - -read, err := client.Get(ctx, id) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `SecurityRulesClient.List` - -```go -ctx := context.TODO() -id := securityrules.NewNetworkSecurityGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkSecurityGroupName") - -// alternatively `client.List(ctx, id)` can be used to do batched pagination -items, err := client.ListComplete(ctx, id) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/securityrules/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/securityrules/version.go deleted file mode 100644 index eb8a34469b80..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/securityrules/version.go +++ /dev/null @@ -1,10 +0,0 @@ -package securityrules - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -const defaultApiVersion = "2023-11-01" - -func userAgent() string { - return "hashicorp/go-azure-sdk/securityrules/2023-11-01" -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/serviceendpointpolicydefinitions/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/serviceendpointpolicydefinitions/README.md deleted file mode 100644 index cbe875beabc6..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/serviceendpointpolicydefinitions/README.md +++ /dev/null @@ -1,82 +0,0 @@ - -## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/serviceendpointpolicydefinitions` Documentation - -The `serviceendpointpolicydefinitions` SDK allows for interaction with Azure Resource Manager `network` (API Version `2023-11-01`). - -This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). - -### Import Path - -```go -import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/serviceendpointpolicydefinitions" -``` - - -### Client Initialization - -```go -client := serviceendpointpolicydefinitions.NewServiceEndpointPolicyDefinitionsClientWithBaseURI("https://management.azure.com") -client.Client.Authorizer = authorizer -``` - - -### Example Usage: `ServiceEndpointPolicyDefinitionsClient.CreateOrUpdate` - -```go -ctx := context.TODO() -id := serviceendpointpolicydefinitions.NewServiceEndpointPolicyDefinitionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serviceEndpointPolicyName", "serviceEndpointPolicyDefinitionName") - -payload := serviceendpointpolicydefinitions.ServiceEndpointPolicyDefinition{ - // ... -} - - -if err := client.CreateOrUpdateThenPoll(ctx, id, payload); err != nil { - // handle the error -} -``` - - -### Example Usage: `ServiceEndpointPolicyDefinitionsClient.Delete` - -```go -ctx := context.TODO() -id := serviceendpointpolicydefinitions.NewServiceEndpointPolicyDefinitionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serviceEndpointPolicyName", "serviceEndpointPolicyDefinitionName") - -if err := client.DeleteThenPoll(ctx, id); err != nil { - // handle the error -} -``` - - -### Example Usage: `ServiceEndpointPolicyDefinitionsClient.Get` - -```go -ctx := context.TODO() -id := serviceendpointpolicydefinitions.NewServiceEndpointPolicyDefinitionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serviceEndpointPolicyName", "serviceEndpointPolicyDefinitionName") - -read, err := client.Get(ctx, id) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `ServiceEndpointPolicyDefinitionsClient.ListByResourceGroup` - -```go -ctx := context.TODO() -id := serviceendpointpolicydefinitions.NewServiceEndpointPolicyID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serviceEndpointPolicyName") - -// alternatively `client.ListByResourceGroup(ctx, id)` can be used to do batched pagination -items, err := client.ListByResourceGroupComplete(ctx, id) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/serviceendpointpolicydefinitions/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/serviceendpointpolicydefinitions/version.go deleted file mode 100644 index 4fad17904f57..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/serviceendpointpolicydefinitions/version.go +++ /dev/null @@ -1,10 +0,0 @@ -package serviceendpointpolicydefinitions - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -const defaultApiVersion = "2023-11-01" - -func userAgent() string { - return "hashicorp/go-azure-sdk/serviceendpointpolicydefinitions/2023-11-01" -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/servicetags/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/servicetags/README.md deleted file mode 100644 index 5839bbaed506..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/servicetags/README.md +++ /dev/null @@ -1,53 +0,0 @@ - -## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/servicetags` Documentation - -The `servicetags` SDK allows for interaction with Azure Resource Manager `network` (API Version `2023-11-01`). - -This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). - -### Import Path - -```go -import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/servicetags" -``` - - -### Client Initialization - -```go -client := servicetags.NewServiceTagsClientWithBaseURI("https://management.azure.com") -client.Client.Authorizer = authorizer -``` - - -### Example Usage: `ServiceTagsClient.ServiceTagInformationList` - -```go -ctx := context.TODO() -id := servicetags.NewLocationID("12345678-1234-9876-4563-123456789012", "locationName") - -// alternatively `client.ServiceTagInformationList(ctx, id, servicetags.DefaultServiceTagInformationListOperationOptions())` can be used to do batched pagination -items, err := client.ServiceTagInformationListComplete(ctx, id, servicetags.DefaultServiceTagInformationListOperationOptions()) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` - - -### Example Usage: `ServiceTagsClient.ServiceTagsList` - -```go -ctx := context.TODO() -id := servicetags.NewLocationID("12345678-1234-9876-4563-123456789012", "locationName") - -read, err := client.ServiceTagsList(ctx, id) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/servicetags/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/servicetags/version.go deleted file mode 100644 index bc7a69e798e4..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/servicetags/version.go +++ /dev/null @@ -1,10 +0,0 @@ -package servicetags - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -const defaultApiVersion = "2023-11-01" - -func userAgent() string { - return "hashicorp/go-azure-sdk/servicetags/2023-11-01" -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/staticmembers/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/staticmembers/README.md deleted file mode 100644 index 8704ed2ed7bc..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/staticmembers/README.md +++ /dev/null @@ -1,90 +0,0 @@ - -## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/staticmembers` Documentation - -The `staticmembers` SDK allows for interaction with Azure Resource Manager `network` (API Version `2023-11-01`). - -This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). - -### Import Path - -```go -import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/staticmembers" -``` - - -### Client Initialization - -```go -client := staticmembers.NewStaticMembersClientWithBaseURI("https://management.azure.com") -client.Client.Authorizer = authorizer -``` - - -### Example Usage: `StaticMembersClient.CreateOrUpdate` - -```go -ctx := context.TODO() -id := staticmembers.NewStaticMemberID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkManagerName", "networkGroupName", "staticMemberName") - -payload := staticmembers.StaticMember{ - // ... -} - - -read, err := client.CreateOrUpdate(ctx, id, payload) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `StaticMembersClient.Delete` - -```go -ctx := context.TODO() -id := staticmembers.NewStaticMemberID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkManagerName", "networkGroupName", "staticMemberName") - -read, err := client.Delete(ctx, id) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `StaticMembersClient.Get` - -```go -ctx := context.TODO() -id := staticmembers.NewStaticMemberID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkManagerName", "networkGroupName", "staticMemberName") - -read, err := client.Get(ctx, id) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `StaticMembersClient.List` - -```go -ctx := context.TODO() -id := staticmembers.NewNetworkGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkManagerName", "networkGroupName") - -// alternatively `client.List(ctx, id, staticmembers.DefaultListOperationOptions())` can be used to do batched pagination -items, err := client.ListComplete(ctx, id, staticmembers.DefaultListOperationOptions()) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/staticmembers/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/staticmembers/version.go deleted file mode 100644 index 4e136e775aab..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/staticmembers/version.go +++ /dev/null @@ -1,10 +0,0 @@ -package staticmembers - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -const defaultApiVersion = "2023-11-01" - -func userAgent() string { - return "hashicorp/go-azure-sdk/staticmembers/2023-11-01" -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/trafficanalytics/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/trafficanalytics/README.md deleted file mode 100644 index c081df22d795..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/trafficanalytics/README.md +++ /dev/null @@ -1,54 +0,0 @@ - -## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/trafficanalytics` Documentation - -The `trafficanalytics` SDK allows for interaction with Azure Resource Manager `network` (API Version `2023-11-01`). - -This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). - -### Import Path - -```go -import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/trafficanalytics" -``` - - -### Client Initialization - -```go -client := trafficanalytics.NewTrafficAnalyticsClientWithBaseURI("https://management.azure.com") -client.Client.Authorizer = authorizer -``` - - -### Example Usage: `TrafficAnalyticsClient.NetworkWatchersGetFlowLogStatus` - -```go -ctx := context.TODO() -id := trafficanalytics.NewNetworkWatcherID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkWatcherName") - -payload := trafficanalytics.FlowLogStatusParameters{ - // ... -} - - -if err := client.NetworkWatchersGetFlowLogStatusThenPoll(ctx, id, payload); err != nil { - // handle the error -} -``` - - -### Example Usage: `TrafficAnalyticsClient.NetworkWatchersSetFlowLogConfiguration` - -```go -ctx := context.TODO() -id := trafficanalytics.NewNetworkWatcherID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkWatcherName") - -payload := trafficanalytics.FlowLogInformation{ - // ... -} - - -if err := client.NetworkWatchersSetFlowLogConfigurationThenPoll(ctx, id, payload); err != nil { - // handle the error -} -``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/trafficanalytics/model_flowloginformation.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/trafficanalytics/model_flowloginformation.go deleted file mode 100644 index 15a1cc0029d5..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/trafficanalytics/model_flowloginformation.go +++ /dev/null @@ -1,10 +0,0 @@ -package trafficanalytics - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -type FlowLogInformation struct { - FlowAnalyticsConfiguration *TrafficAnalyticsProperties `json:"flowAnalyticsConfiguration,omitempty"` - Properties FlowLogProperties `json:"properties"` - TargetResourceId string `json:"targetResourceId"` -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/trafficanalytics/model_flowlogproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/trafficanalytics/model_flowlogproperties.go deleted file mode 100644 index b26bd4b572a3..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/trafficanalytics/model_flowlogproperties.go +++ /dev/null @@ -1,11 +0,0 @@ -package trafficanalytics - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -type FlowLogProperties struct { - Enabled bool `json:"enabled"` - Format *FlowLogFormatParameters `json:"format,omitempty"` - RetentionPolicy *RetentionPolicyParameters `json:"retentionPolicy,omitempty"` - StorageId string `json:"storageId"` -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/trafficanalytics/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/trafficanalytics/version.go deleted file mode 100644 index ca09dc5d2324..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/trafficanalytics/version.go +++ /dev/null @@ -1,10 +0,0 @@ -package trafficanalytics - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -const defaultApiVersion = "2023-11-01" - -func userAgent() string { - return "hashicorp/go-azure-sdk/trafficanalytics/2023-11-01" -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/usages/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/usages/README.md deleted file mode 100644 index 577a5f5efff6..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/usages/README.md +++ /dev/null @@ -1,37 +0,0 @@ - -## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/usages` Documentation - -The `usages` SDK allows for interaction with Azure Resource Manager `network` (API Version `2023-11-01`). - -This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). - -### Import Path - -```go -import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/usages" -``` - - -### Client Initialization - -```go -client := usages.NewUsagesClientWithBaseURI("https://management.azure.com") -client.Client.Authorizer = authorizer -``` - - -### Example Usage: `UsagesClient.List` - -```go -ctx := context.TODO() -id := usages.NewLocationID("12345678-1234-9876-4563-123456789012", "locationName") - -// alternatively `client.List(ctx, id)` can be used to do batched pagination -items, err := client.ListComplete(ctx, id) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/usages/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/usages/version.go deleted file mode 100644 index 1f75d534194e..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/usages/version.go +++ /dev/null @@ -1,10 +0,0 @@ -package usages - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -const defaultApiVersion = "2023-11-01" - -func userAgent() string { - return "hashicorp/go-azure-sdk/usages/2023-11-01" -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vipswap/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vipswap/README.md deleted file mode 100644 index 0cfa64fa81a5..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vipswap/README.md +++ /dev/null @@ -1,69 +0,0 @@ - -## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vipswap` Documentation - -The `vipswap` SDK allows for interaction with Azure Resource Manager `network` (API Version `2023-11-01`). - -This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). - -### Import Path - -```go -import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vipswap" -``` - - -### Client Initialization - -```go -client := vipswap.NewVipSwapClientWithBaseURI("https://management.azure.com") -client.Client.Authorizer = authorizer -``` - - -### Example Usage: `VipSwapClient.Create` - -```go -ctx := context.TODO() -id := vipswap.NewCloudServiceID("12345678-1234-9876-4563-123456789012", "resourceGroupName", "cloudServiceName") - -payload := vipswap.SwapResource{ - // ... -} - - -if err := client.CreateThenPoll(ctx, id, payload); err != nil { - // handle the error -} -``` - - -### Example Usage: `VipSwapClient.Get` - -```go -ctx := context.TODO() -id := vipswap.NewCloudServiceID("12345678-1234-9876-4563-123456789012", "resourceGroupName", "cloudServiceName") - -read, err := client.Get(ctx, id) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `VipSwapClient.List` - -```go -ctx := context.TODO() -id := vipswap.NewCloudServiceID("12345678-1234-9876-4563-123456789012", "resourceGroupName", "cloudServiceName") - -read, err := client.List(ctx, id) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vipswap/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vipswap/version.go deleted file mode 100644 index e6db46609f42..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vipswap/version.go +++ /dev/null @@ -1,10 +0,0 @@ -package vipswap - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -const defaultApiVersion = "2023-11-01" - -func userAgent() string { - return "hashicorp/go-azure-sdk/vipswap/2023-11-01" -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualappliancesites/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualappliancesites/README.md deleted file mode 100644 index 8b58521ebf54..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualappliancesites/README.md +++ /dev/null @@ -1,82 +0,0 @@ - -## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualappliancesites` Documentation - -The `virtualappliancesites` SDK allows for interaction with Azure Resource Manager `network` (API Version `2023-11-01`). - -This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). - -### Import Path - -```go -import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualappliancesites" -``` - - -### Client Initialization - -```go -client := virtualappliancesites.NewVirtualApplianceSitesClientWithBaseURI("https://management.azure.com") -client.Client.Authorizer = authorizer -``` - - -### Example Usage: `VirtualApplianceSitesClient.CreateOrUpdate` - -```go -ctx := context.TODO() -id := virtualappliancesites.NewVirtualApplianceSiteID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkVirtualApplianceName", "virtualApplianceSiteName") - -payload := virtualappliancesites.VirtualApplianceSite{ - // ... -} - - -if err := client.CreateOrUpdateThenPoll(ctx, id, payload); err != nil { - // handle the error -} -``` - - -### Example Usage: `VirtualApplianceSitesClient.Delete` - -```go -ctx := context.TODO() -id := virtualappliancesites.NewVirtualApplianceSiteID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkVirtualApplianceName", "virtualApplianceSiteName") - -if err := client.DeleteThenPoll(ctx, id); err != nil { - // handle the error -} -``` - - -### Example Usage: `VirtualApplianceSitesClient.Get` - -```go -ctx := context.TODO() -id := virtualappliancesites.NewVirtualApplianceSiteID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkVirtualApplianceName", "virtualApplianceSiteName") - -read, err := client.Get(ctx, id) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `VirtualApplianceSitesClient.List` - -```go -ctx := context.TODO() -id := virtualappliancesites.NewNetworkVirtualApplianceID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkVirtualApplianceName") - -// alternatively `client.List(ctx, id)` can be used to do batched pagination -items, err := client.ListComplete(ctx, id) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualappliancesites/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualappliancesites/version.go deleted file mode 100644 index 7138ce3a1ee1..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualappliancesites/version.go +++ /dev/null @@ -1,10 +0,0 @@ -package virtualappliancesites - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -const defaultApiVersion = "2023-11-01" - -func userAgent() string { - return "hashicorp/go-azure-sdk/virtualappliancesites/2023-11-01" -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualapplianceskus/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualapplianceskus/README.md deleted file mode 100644 index 32b379d0ad3f..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualapplianceskus/README.md +++ /dev/null @@ -1,54 +0,0 @@ - -## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualapplianceskus` Documentation - -The `virtualapplianceskus` SDK allows for interaction with Azure Resource Manager `network` (API Version `2023-11-01`). - -This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). - -### Import Path - -```go -import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" -import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualapplianceskus" -``` - - -### Client Initialization - -```go -client := virtualapplianceskus.NewVirtualApplianceSkusClientWithBaseURI("https://management.azure.com") -client.Client.Authorizer = authorizer -``` - - -### Example Usage: `VirtualApplianceSkusClient.Get` - -```go -ctx := context.TODO() -id := virtualapplianceskus.NewNetworkVirtualApplianceSkuID("12345678-1234-9876-4563-123456789012", "networkVirtualApplianceSkuName") - -read, err := client.Get(ctx, id) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `VirtualApplianceSkusClient.List` - -```go -ctx := context.TODO() -id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012") - -// alternatively `client.List(ctx, id)` can be used to do batched pagination -items, err := client.ListComplete(ctx, id) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualapplianceskus/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualapplianceskus/version.go deleted file mode 100644 index a532397fa46e..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualapplianceskus/version.go +++ /dev/null @@ -1,10 +0,0 @@ -package virtualapplianceskus - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -const defaultApiVersion = "2023-11-01" - -func userAgent() string { - return "hashicorp/go-azure-sdk/virtualapplianceskus/2023-11-01" -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/README.md deleted file mode 100644 index edc1660ccc6c..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/README.md +++ /dev/null @@ -1,414 +0,0 @@ - -## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways` Documentation - -The `virtualnetworkgateways` SDK allows for interaction with Azure Resource Manager `network` (API Version `2023-11-01`). - -This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). - -### Import Path - -```go -import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" -import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways" -``` - - -### Client Initialization - -```go -client := virtualnetworkgateways.NewVirtualNetworkGatewaysClientWithBaseURI("https://management.azure.com") -client.Client.Authorizer = authorizer -``` - - -### Example Usage: `VirtualNetworkGatewaysClient.CreateOrUpdate` - -```go -ctx := context.TODO() -id := virtualnetworkgateways.NewVirtualNetworkGatewayID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualNetworkGatewayName") - -payload := virtualnetworkgateways.VirtualNetworkGateway{ - // ... -} - - -if err := client.CreateOrUpdateThenPoll(ctx, id, payload); err != nil { - // handle the error -} -``` - - -### Example Usage: `VirtualNetworkGatewaysClient.Delete` - -```go -ctx := context.TODO() -id := virtualnetworkgateways.NewVirtualNetworkGatewayID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualNetworkGatewayName") - -if err := client.DeleteThenPoll(ctx, id); err != nil { - // handle the error -} -``` - - -### Example Usage: `VirtualNetworkGatewaysClient.DisconnectVirtualNetworkGatewayVpnConnections` - -```go -ctx := context.TODO() -id := virtualnetworkgateways.NewVirtualNetworkGatewayID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualNetworkGatewayName") - -payload := virtualnetworkgateways.P2SVpnConnectionRequest{ - // ... -} - - -if err := client.DisconnectVirtualNetworkGatewayVpnConnectionsThenPoll(ctx, id, payload); err != nil { - // handle the error -} -``` - - -### Example Usage: `VirtualNetworkGatewaysClient.GenerateVpnProfile` - -```go -ctx := context.TODO() -id := virtualnetworkgateways.NewVirtualNetworkGatewayID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualNetworkGatewayName") - -payload := virtualnetworkgateways.VpnClientParameters{ - // ... -} - - -if err := client.GenerateVpnProfileThenPoll(ctx, id, payload); err != nil { - // handle the error -} -``` - - -### Example Usage: `VirtualNetworkGatewaysClient.Generatevpnclientpackage` - -```go -ctx := context.TODO() -id := virtualnetworkgateways.NewVirtualNetworkGatewayID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualNetworkGatewayName") - -payload := virtualnetworkgateways.VpnClientParameters{ - // ... -} - - -if err := client.GeneratevpnclientpackageThenPoll(ctx, id, payload); err != nil { - // handle the error -} -``` - - -### Example Usage: `VirtualNetworkGatewaysClient.Get` - -```go -ctx := context.TODO() -id := virtualnetworkgateways.NewVirtualNetworkGatewayID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualNetworkGatewayName") - -read, err := client.Get(ctx, id) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `VirtualNetworkGatewaysClient.GetAdvertisedRoutes` - -```go -ctx := context.TODO() -id := virtualnetworkgateways.NewVirtualNetworkGatewayID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualNetworkGatewayName") - -if err := client.GetAdvertisedRoutesThenPoll(ctx, id, virtualnetworkgateways.DefaultGetAdvertisedRoutesOperationOptions()); err != nil { - // handle the error -} -``` - - -### Example Usage: `VirtualNetworkGatewaysClient.GetBgpPeerStatus` - -```go -ctx := context.TODO() -id := virtualnetworkgateways.NewVirtualNetworkGatewayID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualNetworkGatewayName") - -if err := client.GetBgpPeerStatusThenPoll(ctx, id, virtualnetworkgateways.DefaultGetBgpPeerStatusOperationOptions()); err != nil { - // handle the error -} -``` - - -### Example Usage: `VirtualNetworkGatewaysClient.GetLearnedRoutes` - -```go -ctx := context.TODO() -id := virtualnetworkgateways.NewVirtualNetworkGatewayID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualNetworkGatewayName") - -if err := client.GetLearnedRoutesThenPoll(ctx, id); err != nil { - // handle the error -} -``` - - -### Example Usage: `VirtualNetworkGatewaysClient.GetVpnProfilePackageURL` - -```go -ctx := context.TODO() -id := virtualnetworkgateways.NewVirtualNetworkGatewayID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualNetworkGatewayName") - -if err := client.GetVpnProfilePackageURLThenPoll(ctx, id); err != nil { - // handle the error -} -``` - - -### Example Usage: `VirtualNetworkGatewaysClient.GetVpnclientConnectionHealth` - -```go -ctx := context.TODO() -id := virtualnetworkgateways.NewVirtualNetworkGatewayID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualNetworkGatewayName") - -if err := client.GetVpnclientConnectionHealthThenPoll(ctx, id); err != nil { - // handle the error -} -``` - - -### Example Usage: `VirtualNetworkGatewaysClient.GetVpnclientIPsecParameters` - -```go -ctx := context.TODO() -id := virtualnetworkgateways.NewVirtualNetworkGatewayID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualNetworkGatewayName") - -if err := client.GetVpnclientIPsecParametersThenPoll(ctx, id); err != nil { - // handle the error -} -``` - - -### Example Usage: `VirtualNetworkGatewaysClient.List` - -```go -ctx := context.TODO() -id := commonids.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group") - -// alternatively `client.List(ctx, id)` can be used to do batched pagination -items, err := client.ListComplete(ctx, id) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` - - -### Example Usage: `VirtualNetworkGatewaysClient.ListConnections` - -```go -ctx := context.TODO() -id := virtualnetworkgateways.NewVirtualNetworkGatewayID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualNetworkGatewayName") - -// alternatively `client.ListConnections(ctx, id)` can be used to do batched pagination -items, err := client.ListConnectionsComplete(ctx, id) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` - - -### Example Usage: `VirtualNetworkGatewaysClient.Reset` - -```go -ctx := context.TODO() -id := virtualnetworkgateways.NewVirtualNetworkGatewayID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualNetworkGatewayName") - -if err := client.ResetThenPoll(ctx, id, virtualnetworkgateways.DefaultResetOperationOptions()); err != nil { - // handle the error -} -``` - - -### Example Usage: `VirtualNetworkGatewaysClient.ResetVpnClientSharedKey` - -```go -ctx := context.TODO() -id := virtualnetworkgateways.NewVirtualNetworkGatewayID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualNetworkGatewayName") - -if err := client.ResetVpnClientSharedKeyThenPoll(ctx, id); err != nil { - // handle the error -} -``` - - -### Example Usage: `VirtualNetworkGatewaysClient.SetVpnclientIPsecParameters` - -```go -ctx := context.TODO() -id := virtualnetworkgateways.NewVirtualNetworkGatewayID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualNetworkGatewayName") - -payload := virtualnetworkgateways.VpnClientIPsecParameters{ - // ... -} - - -if err := client.SetVpnclientIPsecParametersThenPoll(ctx, id, payload); err != nil { - // handle the error -} -``` - - -### Example Usage: `VirtualNetworkGatewaysClient.StartPacketCapture` - -```go -ctx := context.TODO() -id := virtualnetworkgateways.NewVirtualNetworkGatewayID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualNetworkGatewayName") - -payload := virtualnetworkgateways.VpnPacketCaptureStartParameters{ - // ... -} - - -if err := client.StartPacketCaptureThenPoll(ctx, id, payload); err != nil { - // handle the error -} -``` - - -### Example Usage: `VirtualNetworkGatewaysClient.StopPacketCapture` - -```go -ctx := context.TODO() -id := virtualnetworkgateways.NewVirtualNetworkGatewayID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualNetworkGatewayName") - -payload := virtualnetworkgateways.VpnPacketCaptureStopParameters{ - // ... -} - - -if err := client.StopPacketCaptureThenPoll(ctx, id, payload); err != nil { - // handle the error -} -``` - - -### Example Usage: `VirtualNetworkGatewaysClient.SupportedVpnDevices` - -```go -ctx := context.TODO() -id := virtualnetworkgateways.NewVirtualNetworkGatewayID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualNetworkGatewayName") - -read, err := client.SupportedVpnDevices(ctx, id) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `VirtualNetworkGatewaysClient.UpdateTags` - -```go -ctx := context.TODO() -id := virtualnetworkgateways.NewVirtualNetworkGatewayID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualNetworkGatewayName") - -payload := virtualnetworkgateways.TagsObject{ - // ... -} - - -if err := client.UpdateTagsThenPoll(ctx, id, payload); err != nil { - // handle the error -} -``` - - -### Example Usage: `VirtualNetworkGatewaysClient.VirtualNetworkGatewayNatRulesCreateOrUpdate` - -```go -ctx := context.TODO() -id := virtualnetworkgateways.NewVirtualNetworkGatewayNatRuleID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualNetworkGatewayName", "natRuleName") - -payload := virtualnetworkgateways.VirtualNetworkGatewayNatRule{ - // ... -} - - -if err := client.VirtualNetworkGatewayNatRulesCreateOrUpdateThenPoll(ctx, id, payload); err != nil { - // handle the error -} -``` - - -### Example Usage: `VirtualNetworkGatewaysClient.VirtualNetworkGatewayNatRulesDelete` - -```go -ctx := context.TODO() -id := virtualnetworkgateways.NewVirtualNetworkGatewayNatRuleID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualNetworkGatewayName", "natRuleName") - -if err := client.VirtualNetworkGatewayNatRulesDeleteThenPoll(ctx, id); err != nil { - // handle the error -} -``` - - -### Example Usage: `VirtualNetworkGatewaysClient.VirtualNetworkGatewayNatRulesGet` - -```go -ctx := context.TODO() -id := virtualnetworkgateways.NewVirtualNetworkGatewayNatRuleID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualNetworkGatewayName", "natRuleName") - -read, err := client.VirtualNetworkGatewayNatRulesGet(ctx, id) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `VirtualNetworkGatewaysClient.VirtualNetworkGatewayNatRulesListByVirtualNetworkGateway` - -```go -ctx := context.TODO() -id := virtualnetworkgateways.NewVirtualNetworkGatewayID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualNetworkGatewayName") - -// alternatively `client.VirtualNetworkGatewayNatRulesListByVirtualNetworkGateway(ctx, id)` can be used to do batched pagination -items, err := client.VirtualNetworkGatewayNatRulesListByVirtualNetworkGatewayComplete(ctx, id) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` - - -### Example Usage: `VirtualNetworkGatewaysClient.VpnDeviceConfigurationScript` - -```go -ctx := context.TODO() -id := virtualnetworkgateways.NewConnectionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "connectionName") - -payload := virtualnetworkgateways.VpnDeviceScriptParameters{ - // ... -} - - -read, err := client.VpnDeviceConfigurationScript(ctx, id, payload) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/constants.go deleted file mode 100644 index 16875bf90485..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/constants.go +++ /dev/null @@ -1,1316 +0,0 @@ -package virtualnetworkgateways - -import ( - "encoding/json" - "fmt" - "strings" -) - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -type AdminState string - -const ( - AdminStateDisabled AdminState = "Disabled" - AdminStateEnabled AdminState = "Enabled" -) - -func PossibleValuesForAdminState() []string { - return []string{ - string(AdminStateDisabled), - string(AdminStateEnabled), - } -} - -func (s *AdminState) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseAdminState(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseAdminState(input string) (*AdminState, error) { - vals := map[string]AdminState{ - "disabled": AdminStateDisabled, - "enabled": AdminStateEnabled, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := AdminState(input) - return &out, nil -} - -type AuthenticationMethod string - -const ( - AuthenticationMethodEAPMSCHAPvTwo AuthenticationMethod = "EAPMSCHAPv2" - AuthenticationMethodEAPTLS AuthenticationMethod = "EAPTLS" -) - -func PossibleValuesForAuthenticationMethod() []string { - return []string{ - string(AuthenticationMethodEAPMSCHAPvTwo), - string(AuthenticationMethodEAPTLS), - } -} - -func (s *AuthenticationMethod) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseAuthenticationMethod(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseAuthenticationMethod(input string) (*AuthenticationMethod, error) { - vals := map[string]AuthenticationMethod{ - "eapmschapv2": AuthenticationMethodEAPMSCHAPvTwo, - "eaptls": AuthenticationMethodEAPTLS, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := AuthenticationMethod(input) - return &out, nil -} - -type BgpPeerState string - -const ( - BgpPeerStateConnected BgpPeerState = "Connected" - BgpPeerStateConnecting BgpPeerState = "Connecting" - BgpPeerStateIdle BgpPeerState = "Idle" - BgpPeerStateStopped BgpPeerState = "Stopped" - BgpPeerStateUnknown BgpPeerState = "Unknown" -) - -func PossibleValuesForBgpPeerState() []string { - return []string{ - string(BgpPeerStateConnected), - string(BgpPeerStateConnecting), - string(BgpPeerStateIdle), - string(BgpPeerStateStopped), - string(BgpPeerStateUnknown), - } -} - -func (s *BgpPeerState) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseBgpPeerState(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseBgpPeerState(input string) (*BgpPeerState, error) { - vals := map[string]BgpPeerState{ - "connected": BgpPeerStateConnected, - "connecting": BgpPeerStateConnecting, - "idle": BgpPeerStateIdle, - "stopped": BgpPeerStateStopped, - "unknown": BgpPeerStateUnknown, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := BgpPeerState(input) - return &out, nil -} - -type DhGroup string - -const ( - DhGroupDHGroupOne DhGroup = "DHGroup1" - DhGroupDHGroupOneFour DhGroup = "DHGroup14" - DhGroupDHGroupTwo DhGroup = "DHGroup2" - DhGroupDHGroupTwoFour DhGroup = "DHGroup24" - DhGroupDHGroupTwoZeroFourEight DhGroup = "DHGroup2048" - DhGroupECPThreeEightFour DhGroup = "ECP384" - DhGroupECPTwoFiveSix DhGroup = "ECP256" - DhGroupNone DhGroup = "None" -) - -func PossibleValuesForDhGroup() []string { - return []string{ - string(DhGroupDHGroupOne), - string(DhGroupDHGroupOneFour), - string(DhGroupDHGroupTwo), - string(DhGroupDHGroupTwoFour), - string(DhGroupDHGroupTwoZeroFourEight), - string(DhGroupECPThreeEightFour), - string(DhGroupECPTwoFiveSix), - string(DhGroupNone), - } -} - -func (s *DhGroup) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseDhGroup(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseDhGroup(input string) (*DhGroup, error) { - vals := map[string]DhGroup{ - "dhgroup1": DhGroupDHGroupOne, - "dhgroup14": DhGroupDHGroupOneFour, - "dhgroup2": DhGroupDHGroupTwo, - "dhgroup24": DhGroupDHGroupTwoFour, - "dhgroup2048": DhGroupDHGroupTwoZeroFourEight, - "ecp384": DhGroupECPThreeEightFour, - "ecp256": DhGroupECPTwoFiveSix, - "none": DhGroupNone, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := DhGroup(input) - return &out, nil -} - -type IPAllocationMethod string - -const ( - IPAllocationMethodDynamic IPAllocationMethod = "Dynamic" - IPAllocationMethodStatic IPAllocationMethod = "Static" -) - -func PossibleValuesForIPAllocationMethod() []string { - return []string{ - string(IPAllocationMethodDynamic), - string(IPAllocationMethodStatic), - } -} - -func (s *IPAllocationMethod) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseIPAllocationMethod(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseIPAllocationMethod(input string) (*IPAllocationMethod, error) { - vals := map[string]IPAllocationMethod{ - "dynamic": IPAllocationMethodDynamic, - "static": IPAllocationMethodStatic, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := IPAllocationMethod(input) - return &out, nil -} - -type IPsecEncryption string - -const ( - IPsecEncryptionAESOneNineTwo IPsecEncryption = "AES192" - IPsecEncryptionAESOneTwoEight IPsecEncryption = "AES128" - IPsecEncryptionAESTwoFiveSix IPsecEncryption = "AES256" - IPsecEncryptionDES IPsecEncryption = "DES" - IPsecEncryptionDESThree IPsecEncryption = "DES3" - IPsecEncryptionGCMAESOneNineTwo IPsecEncryption = "GCMAES192" - IPsecEncryptionGCMAESOneTwoEight IPsecEncryption = "GCMAES128" - IPsecEncryptionGCMAESTwoFiveSix IPsecEncryption = "GCMAES256" - IPsecEncryptionNone IPsecEncryption = "None" -) - -func PossibleValuesForIPsecEncryption() []string { - return []string{ - string(IPsecEncryptionAESOneNineTwo), - string(IPsecEncryptionAESOneTwoEight), - string(IPsecEncryptionAESTwoFiveSix), - string(IPsecEncryptionDES), - string(IPsecEncryptionDESThree), - string(IPsecEncryptionGCMAESOneNineTwo), - string(IPsecEncryptionGCMAESOneTwoEight), - string(IPsecEncryptionGCMAESTwoFiveSix), - string(IPsecEncryptionNone), - } -} - -func (s *IPsecEncryption) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseIPsecEncryption(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseIPsecEncryption(input string) (*IPsecEncryption, error) { - vals := map[string]IPsecEncryption{ - "aes192": IPsecEncryptionAESOneNineTwo, - "aes128": IPsecEncryptionAESOneTwoEight, - "aes256": IPsecEncryptionAESTwoFiveSix, - "des": IPsecEncryptionDES, - "des3": IPsecEncryptionDESThree, - "gcmaes192": IPsecEncryptionGCMAESOneNineTwo, - "gcmaes128": IPsecEncryptionGCMAESOneTwoEight, - "gcmaes256": IPsecEncryptionGCMAESTwoFiveSix, - "none": IPsecEncryptionNone, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := IPsecEncryption(input) - return &out, nil -} - -type IPsecIntegrity string - -const ( - IPsecIntegrityGCMAESOneNineTwo IPsecIntegrity = "GCMAES192" - IPsecIntegrityGCMAESOneTwoEight IPsecIntegrity = "GCMAES128" - IPsecIntegrityGCMAESTwoFiveSix IPsecIntegrity = "GCMAES256" - IPsecIntegrityMDFive IPsecIntegrity = "MD5" - IPsecIntegritySHAOne IPsecIntegrity = "SHA1" - IPsecIntegritySHATwoFiveSix IPsecIntegrity = "SHA256" -) - -func PossibleValuesForIPsecIntegrity() []string { - return []string{ - string(IPsecIntegrityGCMAESOneNineTwo), - string(IPsecIntegrityGCMAESOneTwoEight), - string(IPsecIntegrityGCMAESTwoFiveSix), - string(IPsecIntegrityMDFive), - string(IPsecIntegritySHAOne), - string(IPsecIntegritySHATwoFiveSix), - } -} - -func (s *IPsecIntegrity) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseIPsecIntegrity(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseIPsecIntegrity(input string) (*IPsecIntegrity, error) { - vals := map[string]IPsecIntegrity{ - "gcmaes192": IPsecIntegrityGCMAESOneNineTwo, - "gcmaes128": IPsecIntegrityGCMAESOneTwoEight, - "gcmaes256": IPsecIntegrityGCMAESTwoFiveSix, - "md5": IPsecIntegrityMDFive, - "sha1": IPsecIntegritySHAOne, - "sha256": IPsecIntegritySHATwoFiveSix, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := IPsecIntegrity(input) - return &out, nil -} - -type IkeEncryption string - -const ( - IkeEncryptionAESOneNineTwo IkeEncryption = "AES192" - IkeEncryptionAESOneTwoEight IkeEncryption = "AES128" - IkeEncryptionAESTwoFiveSix IkeEncryption = "AES256" - IkeEncryptionDES IkeEncryption = "DES" - IkeEncryptionDESThree IkeEncryption = "DES3" - IkeEncryptionGCMAESOneTwoEight IkeEncryption = "GCMAES128" - IkeEncryptionGCMAESTwoFiveSix IkeEncryption = "GCMAES256" -) - -func PossibleValuesForIkeEncryption() []string { - return []string{ - string(IkeEncryptionAESOneNineTwo), - string(IkeEncryptionAESOneTwoEight), - string(IkeEncryptionAESTwoFiveSix), - string(IkeEncryptionDES), - string(IkeEncryptionDESThree), - string(IkeEncryptionGCMAESOneTwoEight), - string(IkeEncryptionGCMAESTwoFiveSix), - } -} - -func (s *IkeEncryption) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseIkeEncryption(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseIkeEncryption(input string) (*IkeEncryption, error) { - vals := map[string]IkeEncryption{ - "aes192": IkeEncryptionAESOneNineTwo, - "aes128": IkeEncryptionAESOneTwoEight, - "aes256": IkeEncryptionAESTwoFiveSix, - "des": IkeEncryptionDES, - "des3": IkeEncryptionDESThree, - "gcmaes128": IkeEncryptionGCMAESOneTwoEight, - "gcmaes256": IkeEncryptionGCMAESTwoFiveSix, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := IkeEncryption(input) - return &out, nil -} - -type IkeIntegrity string - -const ( - IkeIntegrityGCMAESOneTwoEight IkeIntegrity = "GCMAES128" - IkeIntegrityGCMAESTwoFiveSix IkeIntegrity = "GCMAES256" - IkeIntegrityMDFive IkeIntegrity = "MD5" - IkeIntegritySHAOne IkeIntegrity = "SHA1" - IkeIntegritySHAThreeEightFour IkeIntegrity = "SHA384" - IkeIntegritySHATwoFiveSix IkeIntegrity = "SHA256" -) - -func PossibleValuesForIkeIntegrity() []string { - return []string{ - string(IkeIntegrityGCMAESOneTwoEight), - string(IkeIntegrityGCMAESTwoFiveSix), - string(IkeIntegrityMDFive), - string(IkeIntegritySHAOne), - string(IkeIntegritySHAThreeEightFour), - string(IkeIntegritySHATwoFiveSix), - } -} - -func (s *IkeIntegrity) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseIkeIntegrity(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseIkeIntegrity(input string) (*IkeIntegrity, error) { - vals := map[string]IkeIntegrity{ - "gcmaes128": IkeIntegrityGCMAESOneTwoEight, - "gcmaes256": IkeIntegrityGCMAESTwoFiveSix, - "md5": IkeIntegrityMDFive, - "sha1": IkeIntegritySHAOne, - "sha384": IkeIntegritySHAThreeEightFour, - "sha256": IkeIntegritySHATwoFiveSix, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := IkeIntegrity(input) - return &out, nil -} - -type PfsGroup string - -const ( - PfsGroupECPThreeEightFour PfsGroup = "ECP384" - PfsGroupECPTwoFiveSix PfsGroup = "ECP256" - PfsGroupNone PfsGroup = "None" - PfsGroupPFSMM PfsGroup = "PFSMM" - PfsGroupPFSOne PfsGroup = "PFS1" - PfsGroupPFSOneFour PfsGroup = "PFS14" - PfsGroupPFSTwo PfsGroup = "PFS2" - PfsGroupPFSTwoFour PfsGroup = "PFS24" - PfsGroupPFSTwoZeroFourEight PfsGroup = "PFS2048" -) - -func PossibleValuesForPfsGroup() []string { - return []string{ - string(PfsGroupECPThreeEightFour), - string(PfsGroupECPTwoFiveSix), - string(PfsGroupNone), - string(PfsGroupPFSMM), - string(PfsGroupPFSOne), - string(PfsGroupPFSOneFour), - string(PfsGroupPFSTwo), - string(PfsGroupPFSTwoFour), - string(PfsGroupPFSTwoZeroFourEight), - } -} - -func (s *PfsGroup) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parsePfsGroup(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parsePfsGroup(input string) (*PfsGroup, error) { - vals := map[string]PfsGroup{ - "ecp384": PfsGroupECPThreeEightFour, - "ecp256": PfsGroupECPTwoFiveSix, - "none": PfsGroupNone, - "pfsmm": PfsGroupPFSMM, - "pfs1": PfsGroupPFSOne, - "pfs14": PfsGroupPFSOneFour, - "pfs2": PfsGroupPFSTwo, - "pfs24": PfsGroupPFSTwoFour, - "pfs2048": PfsGroupPFSTwoZeroFourEight, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := PfsGroup(input) - return &out, nil -} - -type ProcessorArchitecture string - -const ( - ProcessorArchitectureAmdSixFour ProcessorArchitecture = "Amd64" - ProcessorArchitectureXEightSix ProcessorArchitecture = "X86" -) - -func PossibleValuesForProcessorArchitecture() []string { - return []string{ - string(ProcessorArchitectureAmdSixFour), - string(ProcessorArchitectureXEightSix), - } -} - -func (s *ProcessorArchitecture) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseProcessorArchitecture(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseProcessorArchitecture(input string) (*ProcessorArchitecture, error) { - vals := map[string]ProcessorArchitecture{ - "amd64": ProcessorArchitectureAmdSixFour, - "x86": ProcessorArchitectureXEightSix, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := ProcessorArchitecture(input) - return &out, nil -} - -type ProvisioningState string - -const ( - ProvisioningStateDeleting ProvisioningState = "Deleting" - ProvisioningStateFailed ProvisioningState = "Failed" - ProvisioningStateSucceeded ProvisioningState = "Succeeded" - ProvisioningStateUpdating ProvisioningState = "Updating" -) - -func PossibleValuesForProvisioningState() []string { - return []string{ - string(ProvisioningStateDeleting), - string(ProvisioningStateFailed), - string(ProvisioningStateSucceeded), - string(ProvisioningStateUpdating), - } -} - -func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseProvisioningState(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseProvisioningState(input string) (*ProvisioningState, error) { - vals := map[string]ProvisioningState{ - "deleting": ProvisioningStateDeleting, - "failed": ProvisioningStateFailed, - "succeeded": ProvisioningStateSucceeded, - "updating": ProvisioningStateUpdating, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := ProvisioningState(input) - return &out, nil -} - -type VirtualNetworkGatewayConnectionMode string - -const ( - VirtualNetworkGatewayConnectionModeDefault VirtualNetworkGatewayConnectionMode = "Default" - VirtualNetworkGatewayConnectionModeInitiatorOnly VirtualNetworkGatewayConnectionMode = "InitiatorOnly" - VirtualNetworkGatewayConnectionModeResponderOnly VirtualNetworkGatewayConnectionMode = "ResponderOnly" -) - -func PossibleValuesForVirtualNetworkGatewayConnectionMode() []string { - return []string{ - string(VirtualNetworkGatewayConnectionModeDefault), - string(VirtualNetworkGatewayConnectionModeInitiatorOnly), - string(VirtualNetworkGatewayConnectionModeResponderOnly), - } -} - -func (s *VirtualNetworkGatewayConnectionMode) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseVirtualNetworkGatewayConnectionMode(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseVirtualNetworkGatewayConnectionMode(input string) (*VirtualNetworkGatewayConnectionMode, error) { - vals := map[string]VirtualNetworkGatewayConnectionMode{ - "default": VirtualNetworkGatewayConnectionModeDefault, - "initiatoronly": VirtualNetworkGatewayConnectionModeInitiatorOnly, - "responderonly": VirtualNetworkGatewayConnectionModeResponderOnly, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := VirtualNetworkGatewayConnectionMode(input) - return &out, nil -} - -type VirtualNetworkGatewayConnectionProtocol string - -const ( - VirtualNetworkGatewayConnectionProtocolIKEvOne VirtualNetworkGatewayConnectionProtocol = "IKEv1" - VirtualNetworkGatewayConnectionProtocolIKEvTwo VirtualNetworkGatewayConnectionProtocol = "IKEv2" -) - -func PossibleValuesForVirtualNetworkGatewayConnectionProtocol() []string { - return []string{ - string(VirtualNetworkGatewayConnectionProtocolIKEvOne), - string(VirtualNetworkGatewayConnectionProtocolIKEvTwo), - } -} - -func (s *VirtualNetworkGatewayConnectionProtocol) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseVirtualNetworkGatewayConnectionProtocol(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseVirtualNetworkGatewayConnectionProtocol(input string) (*VirtualNetworkGatewayConnectionProtocol, error) { - vals := map[string]VirtualNetworkGatewayConnectionProtocol{ - "ikev1": VirtualNetworkGatewayConnectionProtocolIKEvOne, - "ikev2": VirtualNetworkGatewayConnectionProtocolIKEvTwo, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := VirtualNetworkGatewayConnectionProtocol(input) - return &out, nil -} - -type VirtualNetworkGatewayConnectionStatus string - -const ( - VirtualNetworkGatewayConnectionStatusConnected VirtualNetworkGatewayConnectionStatus = "Connected" - VirtualNetworkGatewayConnectionStatusConnecting VirtualNetworkGatewayConnectionStatus = "Connecting" - VirtualNetworkGatewayConnectionStatusNotConnected VirtualNetworkGatewayConnectionStatus = "NotConnected" - VirtualNetworkGatewayConnectionStatusUnknown VirtualNetworkGatewayConnectionStatus = "Unknown" -) - -func PossibleValuesForVirtualNetworkGatewayConnectionStatus() []string { - return []string{ - string(VirtualNetworkGatewayConnectionStatusConnected), - string(VirtualNetworkGatewayConnectionStatusConnecting), - string(VirtualNetworkGatewayConnectionStatusNotConnected), - string(VirtualNetworkGatewayConnectionStatusUnknown), - } -} - -func (s *VirtualNetworkGatewayConnectionStatus) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseVirtualNetworkGatewayConnectionStatus(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseVirtualNetworkGatewayConnectionStatus(input string) (*VirtualNetworkGatewayConnectionStatus, error) { - vals := map[string]VirtualNetworkGatewayConnectionStatus{ - "connected": VirtualNetworkGatewayConnectionStatusConnected, - "connecting": VirtualNetworkGatewayConnectionStatusConnecting, - "notconnected": VirtualNetworkGatewayConnectionStatusNotConnected, - "unknown": VirtualNetworkGatewayConnectionStatusUnknown, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := VirtualNetworkGatewayConnectionStatus(input) - return &out, nil -} - -type VirtualNetworkGatewayConnectionType string - -const ( - VirtualNetworkGatewayConnectionTypeExpressRoute VirtualNetworkGatewayConnectionType = "ExpressRoute" - VirtualNetworkGatewayConnectionTypeIPsec VirtualNetworkGatewayConnectionType = "IPsec" - VirtualNetworkGatewayConnectionTypeVPNClient VirtualNetworkGatewayConnectionType = "VPNClient" - VirtualNetworkGatewayConnectionTypeVnetTwoVnet VirtualNetworkGatewayConnectionType = "Vnet2Vnet" -) - -func PossibleValuesForVirtualNetworkGatewayConnectionType() []string { - return []string{ - string(VirtualNetworkGatewayConnectionTypeExpressRoute), - string(VirtualNetworkGatewayConnectionTypeIPsec), - string(VirtualNetworkGatewayConnectionTypeVPNClient), - string(VirtualNetworkGatewayConnectionTypeVnetTwoVnet), - } -} - -func (s *VirtualNetworkGatewayConnectionType) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseVirtualNetworkGatewayConnectionType(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseVirtualNetworkGatewayConnectionType(input string) (*VirtualNetworkGatewayConnectionType, error) { - vals := map[string]VirtualNetworkGatewayConnectionType{ - "expressroute": VirtualNetworkGatewayConnectionTypeExpressRoute, - "ipsec": VirtualNetworkGatewayConnectionTypeIPsec, - "vpnclient": VirtualNetworkGatewayConnectionTypeVPNClient, - "vnet2vnet": VirtualNetworkGatewayConnectionTypeVnetTwoVnet, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := VirtualNetworkGatewayConnectionType(input) - return &out, nil -} - -type VirtualNetworkGatewaySkuName string - -const ( - VirtualNetworkGatewaySkuNameBasic VirtualNetworkGatewaySkuName = "Basic" - VirtualNetworkGatewaySkuNameErGwOneAZ VirtualNetworkGatewaySkuName = "ErGw1AZ" - VirtualNetworkGatewaySkuNameErGwScale VirtualNetworkGatewaySkuName = "ErGwScale" - VirtualNetworkGatewaySkuNameErGwThreeAZ VirtualNetworkGatewaySkuName = "ErGw3AZ" - VirtualNetworkGatewaySkuNameErGwTwoAZ VirtualNetworkGatewaySkuName = "ErGw2AZ" - VirtualNetworkGatewaySkuNameHighPerformance VirtualNetworkGatewaySkuName = "HighPerformance" - VirtualNetworkGatewaySkuNameStandard VirtualNetworkGatewaySkuName = "Standard" - VirtualNetworkGatewaySkuNameUltraPerformance VirtualNetworkGatewaySkuName = "UltraPerformance" - VirtualNetworkGatewaySkuNameVpnGwFive VirtualNetworkGatewaySkuName = "VpnGw5" - VirtualNetworkGatewaySkuNameVpnGwFiveAZ VirtualNetworkGatewaySkuName = "VpnGw5AZ" - VirtualNetworkGatewaySkuNameVpnGwFour VirtualNetworkGatewaySkuName = "VpnGw4" - VirtualNetworkGatewaySkuNameVpnGwFourAZ VirtualNetworkGatewaySkuName = "VpnGw4AZ" - VirtualNetworkGatewaySkuNameVpnGwOne VirtualNetworkGatewaySkuName = "VpnGw1" - VirtualNetworkGatewaySkuNameVpnGwOneAZ VirtualNetworkGatewaySkuName = "VpnGw1AZ" - VirtualNetworkGatewaySkuNameVpnGwThree VirtualNetworkGatewaySkuName = "VpnGw3" - VirtualNetworkGatewaySkuNameVpnGwThreeAZ VirtualNetworkGatewaySkuName = "VpnGw3AZ" - VirtualNetworkGatewaySkuNameVpnGwTwo VirtualNetworkGatewaySkuName = "VpnGw2" - VirtualNetworkGatewaySkuNameVpnGwTwoAZ VirtualNetworkGatewaySkuName = "VpnGw2AZ" -) - -func PossibleValuesForVirtualNetworkGatewaySkuName() []string { - return []string{ - string(VirtualNetworkGatewaySkuNameBasic), - string(VirtualNetworkGatewaySkuNameErGwOneAZ), - string(VirtualNetworkGatewaySkuNameErGwScale), - string(VirtualNetworkGatewaySkuNameErGwThreeAZ), - string(VirtualNetworkGatewaySkuNameErGwTwoAZ), - string(VirtualNetworkGatewaySkuNameHighPerformance), - string(VirtualNetworkGatewaySkuNameStandard), - string(VirtualNetworkGatewaySkuNameUltraPerformance), - string(VirtualNetworkGatewaySkuNameVpnGwFive), - string(VirtualNetworkGatewaySkuNameVpnGwFiveAZ), - string(VirtualNetworkGatewaySkuNameVpnGwFour), - string(VirtualNetworkGatewaySkuNameVpnGwFourAZ), - string(VirtualNetworkGatewaySkuNameVpnGwOne), - string(VirtualNetworkGatewaySkuNameVpnGwOneAZ), - string(VirtualNetworkGatewaySkuNameVpnGwThree), - string(VirtualNetworkGatewaySkuNameVpnGwThreeAZ), - string(VirtualNetworkGatewaySkuNameVpnGwTwo), - string(VirtualNetworkGatewaySkuNameVpnGwTwoAZ), - } -} - -func (s *VirtualNetworkGatewaySkuName) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseVirtualNetworkGatewaySkuName(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseVirtualNetworkGatewaySkuName(input string) (*VirtualNetworkGatewaySkuName, error) { - vals := map[string]VirtualNetworkGatewaySkuName{ - "basic": VirtualNetworkGatewaySkuNameBasic, - "ergw1az": VirtualNetworkGatewaySkuNameErGwOneAZ, - "ergwscale": VirtualNetworkGatewaySkuNameErGwScale, - "ergw3az": VirtualNetworkGatewaySkuNameErGwThreeAZ, - "ergw2az": VirtualNetworkGatewaySkuNameErGwTwoAZ, - "highperformance": VirtualNetworkGatewaySkuNameHighPerformance, - "standard": VirtualNetworkGatewaySkuNameStandard, - "ultraperformance": VirtualNetworkGatewaySkuNameUltraPerformance, - "vpngw5": VirtualNetworkGatewaySkuNameVpnGwFive, - "vpngw5az": VirtualNetworkGatewaySkuNameVpnGwFiveAZ, - "vpngw4": VirtualNetworkGatewaySkuNameVpnGwFour, - "vpngw4az": VirtualNetworkGatewaySkuNameVpnGwFourAZ, - "vpngw1": VirtualNetworkGatewaySkuNameVpnGwOne, - "vpngw1az": VirtualNetworkGatewaySkuNameVpnGwOneAZ, - "vpngw3": VirtualNetworkGatewaySkuNameVpnGwThree, - "vpngw3az": VirtualNetworkGatewaySkuNameVpnGwThreeAZ, - "vpngw2": VirtualNetworkGatewaySkuNameVpnGwTwo, - "vpngw2az": VirtualNetworkGatewaySkuNameVpnGwTwoAZ, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := VirtualNetworkGatewaySkuName(input) - return &out, nil -} - -type VirtualNetworkGatewaySkuTier string - -const ( - VirtualNetworkGatewaySkuTierBasic VirtualNetworkGatewaySkuTier = "Basic" - VirtualNetworkGatewaySkuTierErGwOneAZ VirtualNetworkGatewaySkuTier = "ErGw1AZ" - VirtualNetworkGatewaySkuTierErGwScale VirtualNetworkGatewaySkuTier = "ErGwScale" - VirtualNetworkGatewaySkuTierErGwThreeAZ VirtualNetworkGatewaySkuTier = "ErGw3AZ" - VirtualNetworkGatewaySkuTierErGwTwoAZ VirtualNetworkGatewaySkuTier = "ErGw2AZ" - VirtualNetworkGatewaySkuTierHighPerformance VirtualNetworkGatewaySkuTier = "HighPerformance" - VirtualNetworkGatewaySkuTierStandard VirtualNetworkGatewaySkuTier = "Standard" - VirtualNetworkGatewaySkuTierUltraPerformance VirtualNetworkGatewaySkuTier = "UltraPerformance" - VirtualNetworkGatewaySkuTierVpnGwFive VirtualNetworkGatewaySkuTier = "VpnGw5" - VirtualNetworkGatewaySkuTierVpnGwFiveAZ VirtualNetworkGatewaySkuTier = "VpnGw5AZ" - VirtualNetworkGatewaySkuTierVpnGwFour VirtualNetworkGatewaySkuTier = "VpnGw4" - VirtualNetworkGatewaySkuTierVpnGwFourAZ VirtualNetworkGatewaySkuTier = "VpnGw4AZ" - VirtualNetworkGatewaySkuTierVpnGwOne VirtualNetworkGatewaySkuTier = "VpnGw1" - VirtualNetworkGatewaySkuTierVpnGwOneAZ VirtualNetworkGatewaySkuTier = "VpnGw1AZ" - VirtualNetworkGatewaySkuTierVpnGwThree VirtualNetworkGatewaySkuTier = "VpnGw3" - VirtualNetworkGatewaySkuTierVpnGwThreeAZ VirtualNetworkGatewaySkuTier = "VpnGw3AZ" - VirtualNetworkGatewaySkuTierVpnGwTwo VirtualNetworkGatewaySkuTier = "VpnGw2" - VirtualNetworkGatewaySkuTierVpnGwTwoAZ VirtualNetworkGatewaySkuTier = "VpnGw2AZ" -) - -func PossibleValuesForVirtualNetworkGatewaySkuTier() []string { - return []string{ - string(VirtualNetworkGatewaySkuTierBasic), - string(VirtualNetworkGatewaySkuTierErGwOneAZ), - string(VirtualNetworkGatewaySkuTierErGwScale), - string(VirtualNetworkGatewaySkuTierErGwThreeAZ), - string(VirtualNetworkGatewaySkuTierErGwTwoAZ), - string(VirtualNetworkGatewaySkuTierHighPerformance), - string(VirtualNetworkGatewaySkuTierStandard), - string(VirtualNetworkGatewaySkuTierUltraPerformance), - string(VirtualNetworkGatewaySkuTierVpnGwFive), - string(VirtualNetworkGatewaySkuTierVpnGwFiveAZ), - string(VirtualNetworkGatewaySkuTierVpnGwFour), - string(VirtualNetworkGatewaySkuTierVpnGwFourAZ), - string(VirtualNetworkGatewaySkuTierVpnGwOne), - string(VirtualNetworkGatewaySkuTierVpnGwOneAZ), - string(VirtualNetworkGatewaySkuTierVpnGwThree), - string(VirtualNetworkGatewaySkuTierVpnGwThreeAZ), - string(VirtualNetworkGatewaySkuTierVpnGwTwo), - string(VirtualNetworkGatewaySkuTierVpnGwTwoAZ), - } -} - -func (s *VirtualNetworkGatewaySkuTier) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseVirtualNetworkGatewaySkuTier(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseVirtualNetworkGatewaySkuTier(input string) (*VirtualNetworkGatewaySkuTier, error) { - vals := map[string]VirtualNetworkGatewaySkuTier{ - "basic": VirtualNetworkGatewaySkuTierBasic, - "ergw1az": VirtualNetworkGatewaySkuTierErGwOneAZ, - "ergwscale": VirtualNetworkGatewaySkuTierErGwScale, - "ergw3az": VirtualNetworkGatewaySkuTierErGwThreeAZ, - "ergw2az": VirtualNetworkGatewaySkuTierErGwTwoAZ, - "highperformance": VirtualNetworkGatewaySkuTierHighPerformance, - "standard": VirtualNetworkGatewaySkuTierStandard, - "ultraperformance": VirtualNetworkGatewaySkuTierUltraPerformance, - "vpngw5": VirtualNetworkGatewaySkuTierVpnGwFive, - "vpngw5az": VirtualNetworkGatewaySkuTierVpnGwFiveAZ, - "vpngw4": VirtualNetworkGatewaySkuTierVpnGwFour, - "vpngw4az": VirtualNetworkGatewaySkuTierVpnGwFourAZ, - "vpngw1": VirtualNetworkGatewaySkuTierVpnGwOne, - "vpngw1az": VirtualNetworkGatewaySkuTierVpnGwOneAZ, - "vpngw3": VirtualNetworkGatewaySkuTierVpnGwThree, - "vpngw3az": VirtualNetworkGatewaySkuTierVpnGwThreeAZ, - "vpngw2": VirtualNetworkGatewaySkuTierVpnGwTwo, - "vpngw2az": VirtualNetworkGatewaySkuTierVpnGwTwoAZ, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := VirtualNetworkGatewaySkuTier(input) - return &out, nil -} - -type VirtualNetworkGatewayType string - -const ( - VirtualNetworkGatewayTypeExpressRoute VirtualNetworkGatewayType = "ExpressRoute" - VirtualNetworkGatewayTypeLocalGateway VirtualNetworkGatewayType = "LocalGateway" - VirtualNetworkGatewayTypeVpn VirtualNetworkGatewayType = "Vpn" -) - -func PossibleValuesForVirtualNetworkGatewayType() []string { - return []string{ - string(VirtualNetworkGatewayTypeExpressRoute), - string(VirtualNetworkGatewayTypeLocalGateway), - string(VirtualNetworkGatewayTypeVpn), - } -} - -func (s *VirtualNetworkGatewayType) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseVirtualNetworkGatewayType(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseVirtualNetworkGatewayType(input string) (*VirtualNetworkGatewayType, error) { - vals := map[string]VirtualNetworkGatewayType{ - "expressroute": VirtualNetworkGatewayTypeExpressRoute, - "localgateway": VirtualNetworkGatewayTypeLocalGateway, - "vpn": VirtualNetworkGatewayTypeVpn, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := VirtualNetworkGatewayType(input) - return &out, nil -} - -type VpnAuthenticationType string - -const ( - VpnAuthenticationTypeAAD VpnAuthenticationType = "AAD" - VpnAuthenticationTypeCertificate VpnAuthenticationType = "Certificate" - VpnAuthenticationTypeRadius VpnAuthenticationType = "Radius" -) - -func PossibleValuesForVpnAuthenticationType() []string { - return []string{ - string(VpnAuthenticationTypeAAD), - string(VpnAuthenticationTypeCertificate), - string(VpnAuthenticationTypeRadius), - } -} - -func (s *VpnAuthenticationType) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseVpnAuthenticationType(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseVpnAuthenticationType(input string) (*VpnAuthenticationType, error) { - vals := map[string]VpnAuthenticationType{ - "aad": VpnAuthenticationTypeAAD, - "certificate": VpnAuthenticationTypeCertificate, - "radius": VpnAuthenticationTypeRadius, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := VpnAuthenticationType(input) - return &out, nil -} - -type VpnClientProtocol string - -const ( - VpnClientProtocolIkeVTwo VpnClientProtocol = "IkeV2" - VpnClientProtocolOpenVPN VpnClientProtocol = "OpenVPN" - VpnClientProtocolSSTP VpnClientProtocol = "SSTP" -) - -func PossibleValuesForVpnClientProtocol() []string { - return []string{ - string(VpnClientProtocolIkeVTwo), - string(VpnClientProtocolOpenVPN), - string(VpnClientProtocolSSTP), - } -} - -func (s *VpnClientProtocol) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseVpnClientProtocol(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseVpnClientProtocol(input string) (*VpnClientProtocol, error) { - vals := map[string]VpnClientProtocol{ - "ikev2": VpnClientProtocolIkeVTwo, - "openvpn": VpnClientProtocolOpenVPN, - "sstp": VpnClientProtocolSSTP, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := VpnClientProtocol(input) - return &out, nil -} - -type VpnGatewayGeneration string - -const ( - VpnGatewayGenerationGenerationOne VpnGatewayGeneration = "Generation1" - VpnGatewayGenerationGenerationTwo VpnGatewayGeneration = "Generation2" - VpnGatewayGenerationNone VpnGatewayGeneration = "None" -) - -func PossibleValuesForVpnGatewayGeneration() []string { - return []string{ - string(VpnGatewayGenerationGenerationOne), - string(VpnGatewayGenerationGenerationTwo), - string(VpnGatewayGenerationNone), - } -} - -func (s *VpnGatewayGeneration) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseVpnGatewayGeneration(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseVpnGatewayGeneration(input string) (*VpnGatewayGeneration, error) { - vals := map[string]VpnGatewayGeneration{ - "generation1": VpnGatewayGenerationGenerationOne, - "generation2": VpnGatewayGenerationGenerationTwo, - "none": VpnGatewayGenerationNone, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := VpnGatewayGeneration(input) - return &out, nil -} - -type VpnNatRuleMode string - -const ( - VpnNatRuleModeEgressSnat VpnNatRuleMode = "EgressSnat" - VpnNatRuleModeIngressSnat VpnNatRuleMode = "IngressSnat" -) - -func PossibleValuesForVpnNatRuleMode() []string { - return []string{ - string(VpnNatRuleModeEgressSnat), - string(VpnNatRuleModeIngressSnat), - } -} - -func (s *VpnNatRuleMode) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseVpnNatRuleMode(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseVpnNatRuleMode(input string) (*VpnNatRuleMode, error) { - vals := map[string]VpnNatRuleMode{ - "egresssnat": VpnNatRuleModeEgressSnat, - "ingresssnat": VpnNatRuleModeIngressSnat, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := VpnNatRuleMode(input) - return &out, nil -} - -type VpnNatRuleType string - -const ( - VpnNatRuleTypeDynamic VpnNatRuleType = "Dynamic" - VpnNatRuleTypeStatic VpnNatRuleType = "Static" -) - -func PossibleValuesForVpnNatRuleType() []string { - return []string{ - string(VpnNatRuleTypeDynamic), - string(VpnNatRuleTypeStatic), - } -} - -func (s *VpnNatRuleType) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseVpnNatRuleType(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseVpnNatRuleType(input string) (*VpnNatRuleType, error) { - vals := map[string]VpnNatRuleType{ - "dynamic": VpnNatRuleTypeDynamic, - "static": VpnNatRuleTypeStatic, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := VpnNatRuleType(input) - return &out, nil -} - -type VpnPolicyMemberAttributeType string - -const ( - VpnPolicyMemberAttributeTypeAADGroupId VpnPolicyMemberAttributeType = "AADGroupId" - VpnPolicyMemberAttributeTypeCertificateGroupId VpnPolicyMemberAttributeType = "CertificateGroupId" - VpnPolicyMemberAttributeTypeRadiusAzureGroupId VpnPolicyMemberAttributeType = "RadiusAzureGroupId" -) - -func PossibleValuesForVpnPolicyMemberAttributeType() []string { - return []string{ - string(VpnPolicyMemberAttributeTypeAADGroupId), - string(VpnPolicyMemberAttributeTypeCertificateGroupId), - string(VpnPolicyMemberAttributeTypeRadiusAzureGroupId), - } -} - -func (s *VpnPolicyMemberAttributeType) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseVpnPolicyMemberAttributeType(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseVpnPolicyMemberAttributeType(input string) (*VpnPolicyMemberAttributeType, error) { - vals := map[string]VpnPolicyMemberAttributeType{ - "aadgroupid": VpnPolicyMemberAttributeTypeAADGroupId, - "certificategroupid": VpnPolicyMemberAttributeTypeCertificateGroupId, - "radiusazuregroupid": VpnPolicyMemberAttributeTypeRadiusAzureGroupId, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := VpnPolicyMemberAttributeType(input) - return &out, nil -} - -type VpnType string - -const ( - VpnTypePolicyBased VpnType = "PolicyBased" - VpnTypeRouteBased VpnType = "RouteBased" -) - -func PossibleValuesForVpnType() []string { - return []string{ - string(VpnTypePolicyBased), - string(VpnTypeRouteBased), - } -} - -func (s *VpnType) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseVpnType(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseVpnType(input string) (*VpnType, error) { - vals := map[string]VpnType{ - "policybased": VpnTypePolicyBased, - "routebased": VpnTypeRouteBased, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := VpnType(input) - return &out, nil -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/model_virtualnetworkgateway.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/model_virtualnetworkgateway.go deleted file mode 100644 index 0bd39843684a..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/model_virtualnetworkgateway.go +++ /dev/null @@ -1,19 +0,0 @@ -package virtualnetworkgateways - -import ( - "github.com/hashicorp/go-azure-helpers/resourcemanager/edgezones" -) - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -type VirtualNetworkGateway struct { - Etag *string `json:"etag,omitempty"` - ExtendedLocation *edgezones.Model `json:"extendedLocation,omitempty"` - Id *string `json:"id,omitempty"` - Location *string `json:"location,omitempty"` - Name *string `json:"name,omitempty"` - Properties VirtualNetworkGatewayPropertiesFormat `json:"properties"` - Tags *map[string]string `json:"tags,omitempty"` - Type *string `json:"type,omitempty"` -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/model_virtualnetworkgatewaypropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/model_virtualnetworkgatewaypropertiesformat.go deleted file mode 100644 index 3f13bf8bcf61..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/model_virtualnetworkgatewaypropertiesformat.go +++ /dev/null @@ -1,32 +0,0 @@ -package virtualnetworkgateways - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -type VirtualNetworkGatewayPropertiesFormat struct { - ActiveActive *bool `json:"activeActive,omitempty"` - AdminState *AdminState `json:"adminState,omitempty"` - AllowRemoteVnetTraffic *bool `json:"allowRemoteVnetTraffic,omitempty"` - AllowVirtualWanTraffic *bool `json:"allowVirtualWanTraffic,omitempty"` - AutoScaleConfiguration *VirtualNetworkGatewayAutoScaleConfiguration `json:"autoScaleConfiguration,omitempty"` - BgpSettings *BgpSettings `json:"bgpSettings,omitempty"` - CustomRoutes *AddressSpace `json:"customRoutes,omitempty"` - DisableIPSecReplayProtection *bool `json:"disableIPSecReplayProtection,omitempty"` - EnableBgp *bool `json:"enableBgp,omitempty"` - EnableBgpRouteTranslationForNat *bool `json:"enableBgpRouteTranslationForNat,omitempty"` - EnableDnsForwarding *bool `json:"enableDnsForwarding,omitempty"` - EnablePrivateIPAddress *bool `json:"enablePrivateIpAddress,omitempty"` - GatewayDefaultSite *SubResource `json:"gatewayDefaultSite,omitempty"` - GatewayType *VirtualNetworkGatewayType `json:"gatewayType,omitempty"` - IPConfigurations *[]VirtualNetworkGatewayIPConfiguration `json:"ipConfigurations,omitempty"` - InboundDnsForwardingEndpoint *string `json:"inboundDnsForwardingEndpoint,omitempty"` - NatRules *[]VirtualNetworkGatewayNatRule `json:"natRules,omitempty"` - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` - ResourceGuid *string `json:"resourceGuid,omitempty"` - Sku *VirtualNetworkGatewaySku `json:"sku,omitempty"` - VNetExtendedLocationResourceId *string `json:"vNetExtendedLocationResourceId,omitempty"` - VirtualNetworkGatewayPolicyGroups *[]VirtualNetworkGatewayPolicyGroup `json:"virtualNetworkGatewayPolicyGroups,omitempty"` - VpnClientConfiguration *VpnClientConfiguration `json:"vpnClientConfiguration,omitempty"` - VpnGatewayGeneration *VpnGatewayGeneration `json:"vpnGatewayGeneration,omitempty"` - VpnType *VpnType `json:"vpnType,omitempty"` -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/version.go deleted file mode 100644 index 135ef9d21e7d..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/version.go +++ /dev/null @@ -1,10 +0,0 @@ -package virtualnetworkgateways - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -const defaultApiVersion = "2023-11-01" - -func userAgent() string { - return "hashicorp/go-azure-sdk/virtualnetworkgateways/2023-11-01" -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkpeerings/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkpeerings/README.md deleted file mode 100644 index 5eef086fd7b7..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkpeerings/README.md +++ /dev/null @@ -1,83 +0,0 @@ - -## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkpeerings` Documentation - -The `virtualnetworkpeerings` SDK allows for interaction with Azure Resource Manager `network` (API Version `2023-11-01`). - -This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). - -### Import Path - -```go -import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" -import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkpeerings" -``` - - -### Client Initialization - -```go -client := virtualnetworkpeerings.NewVirtualNetworkPeeringsClientWithBaseURI("https://management.azure.com") -client.Client.Authorizer = authorizer -``` - - -### Example Usage: `VirtualNetworkPeeringsClient.CreateOrUpdate` - -```go -ctx := context.TODO() -id := virtualnetworkpeerings.NewVirtualNetworkPeeringID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualNetworkName", "virtualNetworkPeeringName") - -payload := virtualnetworkpeerings.VirtualNetworkPeering{ - // ... -} - - -if err := client.CreateOrUpdateThenPoll(ctx, id, payload, virtualnetworkpeerings.DefaultCreateOrUpdateOperationOptions()); err != nil { - // handle the error -} -``` - - -### Example Usage: `VirtualNetworkPeeringsClient.Delete` - -```go -ctx := context.TODO() -id := virtualnetworkpeerings.NewVirtualNetworkPeeringID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualNetworkName", "virtualNetworkPeeringName") - -if err := client.DeleteThenPoll(ctx, id); err != nil { - // handle the error -} -``` - - -### Example Usage: `VirtualNetworkPeeringsClient.Get` - -```go -ctx := context.TODO() -id := virtualnetworkpeerings.NewVirtualNetworkPeeringID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualNetworkName", "virtualNetworkPeeringName") - -read, err := client.Get(ctx, id) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `VirtualNetworkPeeringsClient.List` - -```go -ctx := context.TODO() -id := commonids.NewVirtualNetworkID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualNetworkName") - -// alternatively `client.List(ctx, id)` can be used to do batched pagination -items, err := client.ListComplete(ctx, id) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkpeerings/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkpeerings/version.go deleted file mode 100644 index 15fd63fe3252..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkpeerings/version.go +++ /dev/null @@ -1,10 +0,0 @@ -package virtualnetworkpeerings - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -const defaultApiVersion = "2023-11-01" - -func userAgent() string { - return "hashicorp/go-azure-sdk/virtualnetworkpeerings/2023-11-01" -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/README.md deleted file mode 100644 index f834ef3c4a90..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/README.md +++ /dev/null @@ -1,239 +0,0 @@ - -## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks` Documentation - -The `virtualnetworks` SDK allows for interaction with Azure Resource Manager `network` (API Version `2023-11-01`). - -This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). - -### Import Path - -```go -import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" -import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks" -``` - - -### Client Initialization - -```go -client := virtualnetworks.NewVirtualNetworksClientWithBaseURI("https://management.azure.com") -client.Client.Authorizer = authorizer -``` - - -### Example Usage: `VirtualNetworksClient.CreateOrUpdate` - -```go -ctx := context.TODO() -id := commonids.NewVirtualNetworkID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualNetworkName") - -payload := virtualnetworks.VirtualNetwork{ - // ... -} - - -if err := client.CreateOrUpdateThenPoll(ctx, id, payload); err != nil { - // handle the error -} -``` - - -### Example Usage: `VirtualNetworksClient.Delete` - -```go -ctx := context.TODO() -id := commonids.NewVirtualNetworkID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualNetworkName") - -if err := client.DeleteThenPoll(ctx, id); err != nil { - // handle the error -} -``` - - -### Example Usage: `VirtualNetworksClient.Get` - -```go -ctx := context.TODO() -id := commonids.NewVirtualNetworkID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualNetworkName") - -read, err := client.Get(ctx, id, virtualnetworks.DefaultGetOperationOptions()) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `VirtualNetworksClient.List` - -```go -ctx := context.TODO() -id := commonids.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group") - -// alternatively `client.List(ctx, id)` can be used to do batched pagination -items, err := client.ListComplete(ctx, id) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` - - -### Example Usage: `VirtualNetworksClient.ListAll` - -```go -ctx := context.TODO() -id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012") - -// alternatively `client.ListAll(ctx, id)` can be used to do batched pagination -items, err := client.ListAllComplete(ctx, id) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` - - -### Example Usage: `VirtualNetworksClient.ResourceNavigationLinksList` - -```go -ctx := context.TODO() -id := commonids.NewSubnetID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualNetworkName", "subnetName") - -// alternatively `client.ResourceNavigationLinksList(ctx, id)` can be used to do batched pagination -items, err := client.ResourceNavigationLinksListComplete(ctx, id) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` - - -### Example Usage: `VirtualNetworksClient.ServiceAssociationLinksList` - -```go -ctx := context.TODO() -id := commonids.NewSubnetID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualNetworkName", "subnetName") - -// alternatively `client.ServiceAssociationLinksList(ctx, id)` can be used to do batched pagination -items, err := client.ServiceAssociationLinksListComplete(ctx, id) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` - - -### Example Usage: `VirtualNetworksClient.SubnetsPrepareNetworkPolicies` - -```go -ctx := context.TODO() -id := commonids.NewSubnetID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualNetworkName", "subnetName") - -payload := virtualnetworks.PrepareNetworkPoliciesRequest{ - // ... -} - - -if err := client.SubnetsPrepareNetworkPoliciesThenPoll(ctx, id, payload); err != nil { - // handle the error -} -``` - - -### Example Usage: `VirtualNetworksClient.SubnetsUnprepareNetworkPolicies` - -```go -ctx := context.TODO() -id := commonids.NewSubnetID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualNetworkName", "subnetName") - -payload := virtualnetworks.UnprepareNetworkPoliciesRequest{ - // ... -} - - -if err := client.SubnetsUnprepareNetworkPoliciesThenPoll(ctx, id, payload); err != nil { - // handle the error -} -``` - - -### Example Usage: `VirtualNetworksClient.UpdateTags` - -```go -ctx := context.TODO() -id := commonids.NewVirtualNetworkID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualNetworkName") - -payload := virtualnetworks.TagsObject{ - // ... -} - - -read, err := client.UpdateTags(ctx, id, payload) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `VirtualNetworksClient.VirtualNetworksCheckIPAddressAvailability` - -```go -ctx := context.TODO() -id := commonids.NewVirtualNetworkID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualNetworkName") - -read, err := client.VirtualNetworksCheckIPAddressAvailability(ctx, id, virtualnetworks.DefaultVirtualNetworksCheckIPAddressAvailabilityOperationOptions()) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `VirtualNetworksClient.VirtualNetworksListDdosProtectionStatus` - -```go -ctx := context.TODO() -id := commonids.NewVirtualNetworkID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualNetworkName") - -// alternatively `client.VirtualNetworksListDdosProtectionStatus(ctx, id, virtualnetworks.DefaultVirtualNetworksListDdosProtectionStatusOperationOptions())` can be used to do batched pagination -items, err := client.VirtualNetworksListDdosProtectionStatusComplete(ctx, id, virtualnetworks.DefaultVirtualNetworksListDdosProtectionStatusOperationOptions()) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` - - -### Example Usage: `VirtualNetworksClient.VirtualNetworksListUsage` - -```go -ctx := context.TODO() -id := commonids.NewVirtualNetworkID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualNetworkName") - -// alternatively `client.VirtualNetworksListUsage(ctx, id)` can be used to do batched pagination -items, err := client.VirtualNetworksListUsageComplete(ctx, id) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/constants.go deleted file mode 100644 index 1cb41676c8b7..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/constants.go +++ /dev/null @@ -1,1371 +0,0 @@ -package virtualnetworks - -import ( - "encoding/json" - "fmt" - "strings" -) - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -type DdosSettingsProtectionMode string - -const ( - DdosSettingsProtectionModeDisabled DdosSettingsProtectionMode = "Disabled" - DdosSettingsProtectionModeEnabled DdosSettingsProtectionMode = "Enabled" - DdosSettingsProtectionModeVirtualNetworkInherited DdosSettingsProtectionMode = "VirtualNetworkInherited" -) - -func PossibleValuesForDdosSettingsProtectionMode() []string { - return []string{ - string(DdosSettingsProtectionModeDisabled), - string(DdosSettingsProtectionModeEnabled), - string(DdosSettingsProtectionModeVirtualNetworkInherited), - } -} - -func (s *DdosSettingsProtectionMode) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseDdosSettingsProtectionMode(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseDdosSettingsProtectionMode(input string) (*DdosSettingsProtectionMode, error) { - vals := map[string]DdosSettingsProtectionMode{ - "disabled": DdosSettingsProtectionModeDisabled, - "enabled": DdosSettingsProtectionModeEnabled, - "virtualnetworkinherited": DdosSettingsProtectionModeVirtualNetworkInherited, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := DdosSettingsProtectionMode(input) - return &out, nil -} - -type DeleteOptions string - -const ( - DeleteOptionsDelete DeleteOptions = "Delete" - DeleteOptionsDetach DeleteOptions = "Detach" -) - -func PossibleValuesForDeleteOptions() []string { - return []string{ - string(DeleteOptionsDelete), - string(DeleteOptionsDetach), - } -} - -func (s *DeleteOptions) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseDeleteOptions(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseDeleteOptions(input string) (*DeleteOptions, error) { - vals := map[string]DeleteOptions{ - "delete": DeleteOptionsDelete, - "detach": DeleteOptionsDetach, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := DeleteOptions(input) - return &out, nil -} - -type FlowLogFormatType string - -const ( - FlowLogFormatTypeJSON FlowLogFormatType = "JSON" -) - -func PossibleValuesForFlowLogFormatType() []string { - return []string{ - string(FlowLogFormatTypeJSON), - } -} - -func (s *FlowLogFormatType) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseFlowLogFormatType(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseFlowLogFormatType(input string) (*FlowLogFormatType, error) { - vals := map[string]FlowLogFormatType{ - "json": FlowLogFormatTypeJSON, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := FlowLogFormatType(input) - return &out, nil -} - -type GatewayLoadBalancerTunnelInterfaceType string - -const ( - GatewayLoadBalancerTunnelInterfaceTypeExternal GatewayLoadBalancerTunnelInterfaceType = "External" - GatewayLoadBalancerTunnelInterfaceTypeInternal GatewayLoadBalancerTunnelInterfaceType = "Internal" - GatewayLoadBalancerTunnelInterfaceTypeNone GatewayLoadBalancerTunnelInterfaceType = "None" -) - -func PossibleValuesForGatewayLoadBalancerTunnelInterfaceType() []string { - return []string{ - string(GatewayLoadBalancerTunnelInterfaceTypeExternal), - string(GatewayLoadBalancerTunnelInterfaceTypeInternal), - string(GatewayLoadBalancerTunnelInterfaceTypeNone), - } -} - -func (s *GatewayLoadBalancerTunnelInterfaceType) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseGatewayLoadBalancerTunnelInterfaceType(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseGatewayLoadBalancerTunnelInterfaceType(input string) (*GatewayLoadBalancerTunnelInterfaceType, error) { - vals := map[string]GatewayLoadBalancerTunnelInterfaceType{ - "external": GatewayLoadBalancerTunnelInterfaceTypeExternal, - "internal": GatewayLoadBalancerTunnelInterfaceTypeInternal, - "none": GatewayLoadBalancerTunnelInterfaceTypeNone, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := GatewayLoadBalancerTunnelInterfaceType(input) - return &out, nil -} - -type GatewayLoadBalancerTunnelProtocol string - -const ( - GatewayLoadBalancerTunnelProtocolNative GatewayLoadBalancerTunnelProtocol = "Native" - GatewayLoadBalancerTunnelProtocolNone GatewayLoadBalancerTunnelProtocol = "None" - GatewayLoadBalancerTunnelProtocolVXLAN GatewayLoadBalancerTunnelProtocol = "VXLAN" -) - -func PossibleValuesForGatewayLoadBalancerTunnelProtocol() []string { - return []string{ - string(GatewayLoadBalancerTunnelProtocolNative), - string(GatewayLoadBalancerTunnelProtocolNone), - string(GatewayLoadBalancerTunnelProtocolVXLAN), - } -} - -func (s *GatewayLoadBalancerTunnelProtocol) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseGatewayLoadBalancerTunnelProtocol(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseGatewayLoadBalancerTunnelProtocol(input string) (*GatewayLoadBalancerTunnelProtocol, error) { - vals := map[string]GatewayLoadBalancerTunnelProtocol{ - "native": GatewayLoadBalancerTunnelProtocolNative, - "none": GatewayLoadBalancerTunnelProtocolNone, - "vxlan": GatewayLoadBalancerTunnelProtocolVXLAN, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := GatewayLoadBalancerTunnelProtocol(input) - return &out, nil -} - -type IPAllocationMethod string - -const ( - IPAllocationMethodDynamic IPAllocationMethod = "Dynamic" - IPAllocationMethodStatic IPAllocationMethod = "Static" -) - -func PossibleValuesForIPAllocationMethod() []string { - return []string{ - string(IPAllocationMethodDynamic), - string(IPAllocationMethodStatic), - } -} - -func (s *IPAllocationMethod) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseIPAllocationMethod(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseIPAllocationMethod(input string) (*IPAllocationMethod, error) { - vals := map[string]IPAllocationMethod{ - "dynamic": IPAllocationMethodDynamic, - "static": IPAllocationMethodStatic, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := IPAllocationMethod(input) - return &out, nil -} - -type IPVersion string - -const ( - IPVersionIPvFour IPVersion = "IPv4" - IPVersionIPvSix IPVersion = "IPv6" -) - -func PossibleValuesForIPVersion() []string { - return []string{ - string(IPVersionIPvFour), - string(IPVersionIPvSix), - } -} - -func (s *IPVersion) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseIPVersion(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseIPVersion(input string) (*IPVersion, error) { - vals := map[string]IPVersion{ - "ipv4": IPVersionIPvFour, - "ipv6": IPVersionIPvSix, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := IPVersion(input) - return &out, nil -} - -type IsWorkloadProtected string - -const ( - IsWorkloadProtectedFalse IsWorkloadProtected = "False" - IsWorkloadProtectedTrue IsWorkloadProtected = "True" -) - -func PossibleValuesForIsWorkloadProtected() []string { - return []string{ - string(IsWorkloadProtectedFalse), - string(IsWorkloadProtectedTrue), - } -} - -func (s *IsWorkloadProtected) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseIsWorkloadProtected(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseIsWorkloadProtected(input string) (*IsWorkloadProtected, error) { - vals := map[string]IsWorkloadProtected{ - "false": IsWorkloadProtectedFalse, - "true": IsWorkloadProtectedTrue, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := IsWorkloadProtected(input) - return &out, nil -} - -type LoadBalancerBackendAddressAdminState string - -const ( - LoadBalancerBackendAddressAdminStateDown LoadBalancerBackendAddressAdminState = "Down" - LoadBalancerBackendAddressAdminStateNone LoadBalancerBackendAddressAdminState = "None" - LoadBalancerBackendAddressAdminStateUp LoadBalancerBackendAddressAdminState = "Up" -) - -func PossibleValuesForLoadBalancerBackendAddressAdminState() []string { - return []string{ - string(LoadBalancerBackendAddressAdminStateDown), - string(LoadBalancerBackendAddressAdminStateNone), - string(LoadBalancerBackendAddressAdminStateUp), - } -} - -func (s *LoadBalancerBackendAddressAdminState) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseLoadBalancerBackendAddressAdminState(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseLoadBalancerBackendAddressAdminState(input string) (*LoadBalancerBackendAddressAdminState, error) { - vals := map[string]LoadBalancerBackendAddressAdminState{ - "down": LoadBalancerBackendAddressAdminStateDown, - "none": LoadBalancerBackendAddressAdminStateNone, - "up": LoadBalancerBackendAddressAdminStateUp, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := LoadBalancerBackendAddressAdminState(input) - return &out, nil -} - -type NatGatewaySkuName string - -const ( - NatGatewaySkuNameStandard NatGatewaySkuName = "Standard" -) - -func PossibleValuesForNatGatewaySkuName() []string { - return []string{ - string(NatGatewaySkuNameStandard), - } -} - -func (s *NatGatewaySkuName) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseNatGatewaySkuName(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseNatGatewaySkuName(input string) (*NatGatewaySkuName, error) { - vals := map[string]NatGatewaySkuName{ - "standard": NatGatewaySkuNameStandard, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := NatGatewaySkuName(input) - return &out, nil -} - -type NetworkInterfaceAuxiliaryMode string - -const ( - NetworkInterfaceAuxiliaryModeAcceleratedConnections NetworkInterfaceAuxiliaryMode = "AcceleratedConnections" - NetworkInterfaceAuxiliaryModeFloating NetworkInterfaceAuxiliaryMode = "Floating" - NetworkInterfaceAuxiliaryModeMaxConnections NetworkInterfaceAuxiliaryMode = "MaxConnections" - NetworkInterfaceAuxiliaryModeNone NetworkInterfaceAuxiliaryMode = "None" -) - -func PossibleValuesForNetworkInterfaceAuxiliaryMode() []string { - return []string{ - string(NetworkInterfaceAuxiliaryModeAcceleratedConnections), - string(NetworkInterfaceAuxiliaryModeFloating), - string(NetworkInterfaceAuxiliaryModeMaxConnections), - string(NetworkInterfaceAuxiliaryModeNone), - } -} - -func (s *NetworkInterfaceAuxiliaryMode) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseNetworkInterfaceAuxiliaryMode(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseNetworkInterfaceAuxiliaryMode(input string) (*NetworkInterfaceAuxiliaryMode, error) { - vals := map[string]NetworkInterfaceAuxiliaryMode{ - "acceleratedconnections": NetworkInterfaceAuxiliaryModeAcceleratedConnections, - "floating": NetworkInterfaceAuxiliaryModeFloating, - "maxconnections": NetworkInterfaceAuxiliaryModeMaxConnections, - "none": NetworkInterfaceAuxiliaryModeNone, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := NetworkInterfaceAuxiliaryMode(input) - return &out, nil -} - -type NetworkInterfaceAuxiliarySku string - -const ( - NetworkInterfaceAuxiliarySkuAEight NetworkInterfaceAuxiliarySku = "A8" - NetworkInterfaceAuxiliarySkuAFour NetworkInterfaceAuxiliarySku = "A4" - NetworkInterfaceAuxiliarySkuAOne NetworkInterfaceAuxiliarySku = "A1" - NetworkInterfaceAuxiliarySkuATwo NetworkInterfaceAuxiliarySku = "A2" - NetworkInterfaceAuxiliarySkuNone NetworkInterfaceAuxiliarySku = "None" -) - -func PossibleValuesForNetworkInterfaceAuxiliarySku() []string { - return []string{ - string(NetworkInterfaceAuxiliarySkuAEight), - string(NetworkInterfaceAuxiliarySkuAFour), - string(NetworkInterfaceAuxiliarySkuAOne), - string(NetworkInterfaceAuxiliarySkuATwo), - string(NetworkInterfaceAuxiliarySkuNone), - } -} - -func (s *NetworkInterfaceAuxiliarySku) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseNetworkInterfaceAuxiliarySku(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseNetworkInterfaceAuxiliarySku(input string) (*NetworkInterfaceAuxiliarySku, error) { - vals := map[string]NetworkInterfaceAuxiliarySku{ - "a8": NetworkInterfaceAuxiliarySkuAEight, - "a4": NetworkInterfaceAuxiliarySkuAFour, - "a1": NetworkInterfaceAuxiliarySkuAOne, - "a2": NetworkInterfaceAuxiliarySkuATwo, - "none": NetworkInterfaceAuxiliarySkuNone, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := NetworkInterfaceAuxiliarySku(input) - return &out, nil -} - -type NetworkInterfaceMigrationPhase string - -const ( - NetworkInterfaceMigrationPhaseAbort NetworkInterfaceMigrationPhase = "Abort" - NetworkInterfaceMigrationPhaseCommit NetworkInterfaceMigrationPhase = "Commit" - NetworkInterfaceMigrationPhaseCommitted NetworkInterfaceMigrationPhase = "Committed" - NetworkInterfaceMigrationPhaseNone NetworkInterfaceMigrationPhase = "None" - NetworkInterfaceMigrationPhasePrepare NetworkInterfaceMigrationPhase = "Prepare" -) - -func PossibleValuesForNetworkInterfaceMigrationPhase() []string { - return []string{ - string(NetworkInterfaceMigrationPhaseAbort), - string(NetworkInterfaceMigrationPhaseCommit), - string(NetworkInterfaceMigrationPhaseCommitted), - string(NetworkInterfaceMigrationPhaseNone), - string(NetworkInterfaceMigrationPhasePrepare), - } -} - -func (s *NetworkInterfaceMigrationPhase) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseNetworkInterfaceMigrationPhase(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseNetworkInterfaceMigrationPhase(input string) (*NetworkInterfaceMigrationPhase, error) { - vals := map[string]NetworkInterfaceMigrationPhase{ - "abort": NetworkInterfaceMigrationPhaseAbort, - "commit": NetworkInterfaceMigrationPhaseCommit, - "committed": NetworkInterfaceMigrationPhaseCommitted, - "none": NetworkInterfaceMigrationPhaseNone, - "prepare": NetworkInterfaceMigrationPhasePrepare, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := NetworkInterfaceMigrationPhase(input) - return &out, nil -} - -type NetworkInterfaceNicType string - -const ( - NetworkInterfaceNicTypeElastic NetworkInterfaceNicType = "Elastic" - NetworkInterfaceNicTypeStandard NetworkInterfaceNicType = "Standard" -) - -func PossibleValuesForNetworkInterfaceNicType() []string { - return []string{ - string(NetworkInterfaceNicTypeElastic), - string(NetworkInterfaceNicTypeStandard), - } -} - -func (s *NetworkInterfaceNicType) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseNetworkInterfaceNicType(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseNetworkInterfaceNicType(input string) (*NetworkInterfaceNicType, error) { - vals := map[string]NetworkInterfaceNicType{ - "elastic": NetworkInterfaceNicTypeElastic, - "standard": NetworkInterfaceNicTypeStandard, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := NetworkInterfaceNicType(input) - return &out, nil -} - -type ProvisioningState string - -const ( - ProvisioningStateDeleting ProvisioningState = "Deleting" - ProvisioningStateFailed ProvisioningState = "Failed" - ProvisioningStateSucceeded ProvisioningState = "Succeeded" - ProvisioningStateUpdating ProvisioningState = "Updating" -) - -func PossibleValuesForProvisioningState() []string { - return []string{ - string(ProvisioningStateDeleting), - string(ProvisioningStateFailed), - string(ProvisioningStateSucceeded), - string(ProvisioningStateUpdating), - } -} - -func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseProvisioningState(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseProvisioningState(input string) (*ProvisioningState, error) { - vals := map[string]ProvisioningState{ - "deleting": ProvisioningStateDeleting, - "failed": ProvisioningStateFailed, - "succeeded": ProvisioningStateSucceeded, - "updating": ProvisioningStateUpdating, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := ProvisioningState(input) - return &out, nil -} - -type PublicIPAddressDnsSettingsDomainNameLabelScope string - -const ( - PublicIPAddressDnsSettingsDomainNameLabelScopeNoReuse PublicIPAddressDnsSettingsDomainNameLabelScope = "NoReuse" - PublicIPAddressDnsSettingsDomainNameLabelScopeResourceGroupReuse PublicIPAddressDnsSettingsDomainNameLabelScope = "ResourceGroupReuse" - PublicIPAddressDnsSettingsDomainNameLabelScopeSubscriptionReuse PublicIPAddressDnsSettingsDomainNameLabelScope = "SubscriptionReuse" - PublicIPAddressDnsSettingsDomainNameLabelScopeTenantReuse PublicIPAddressDnsSettingsDomainNameLabelScope = "TenantReuse" -) - -func PossibleValuesForPublicIPAddressDnsSettingsDomainNameLabelScope() []string { - return []string{ - string(PublicIPAddressDnsSettingsDomainNameLabelScopeNoReuse), - string(PublicIPAddressDnsSettingsDomainNameLabelScopeResourceGroupReuse), - string(PublicIPAddressDnsSettingsDomainNameLabelScopeSubscriptionReuse), - string(PublicIPAddressDnsSettingsDomainNameLabelScopeTenantReuse), - } -} - -func (s *PublicIPAddressDnsSettingsDomainNameLabelScope) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parsePublicIPAddressDnsSettingsDomainNameLabelScope(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parsePublicIPAddressDnsSettingsDomainNameLabelScope(input string) (*PublicIPAddressDnsSettingsDomainNameLabelScope, error) { - vals := map[string]PublicIPAddressDnsSettingsDomainNameLabelScope{ - "noreuse": PublicIPAddressDnsSettingsDomainNameLabelScopeNoReuse, - "resourcegroupreuse": PublicIPAddressDnsSettingsDomainNameLabelScopeResourceGroupReuse, - "subscriptionreuse": PublicIPAddressDnsSettingsDomainNameLabelScopeSubscriptionReuse, - "tenantreuse": PublicIPAddressDnsSettingsDomainNameLabelScopeTenantReuse, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := PublicIPAddressDnsSettingsDomainNameLabelScope(input) - return &out, nil -} - -type PublicIPAddressMigrationPhase string - -const ( - PublicIPAddressMigrationPhaseAbort PublicIPAddressMigrationPhase = "Abort" - PublicIPAddressMigrationPhaseCommit PublicIPAddressMigrationPhase = "Commit" - PublicIPAddressMigrationPhaseCommitted PublicIPAddressMigrationPhase = "Committed" - PublicIPAddressMigrationPhaseNone PublicIPAddressMigrationPhase = "None" - PublicIPAddressMigrationPhasePrepare PublicIPAddressMigrationPhase = "Prepare" -) - -func PossibleValuesForPublicIPAddressMigrationPhase() []string { - return []string{ - string(PublicIPAddressMigrationPhaseAbort), - string(PublicIPAddressMigrationPhaseCommit), - string(PublicIPAddressMigrationPhaseCommitted), - string(PublicIPAddressMigrationPhaseNone), - string(PublicIPAddressMigrationPhasePrepare), - } -} - -func (s *PublicIPAddressMigrationPhase) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parsePublicIPAddressMigrationPhase(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parsePublicIPAddressMigrationPhase(input string) (*PublicIPAddressMigrationPhase, error) { - vals := map[string]PublicIPAddressMigrationPhase{ - "abort": PublicIPAddressMigrationPhaseAbort, - "commit": PublicIPAddressMigrationPhaseCommit, - "committed": PublicIPAddressMigrationPhaseCommitted, - "none": PublicIPAddressMigrationPhaseNone, - "prepare": PublicIPAddressMigrationPhasePrepare, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := PublicIPAddressMigrationPhase(input) - return &out, nil -} - -type PublicIPAddressSkuName string - -const ( - PublicIPAddressSkuNameBasic PublicIPAddressSkuName = "Basic" - PublicIPAddressSkuNameStandard PublicIPAddressSkuName = "Standard" -) - -func PossibleValuesForPublicIPAddressSkuName() []string { - return []string{ - string(PublicIPAddressSkuNameBasic), - string(PublicIPAddressSkuNameStandard), - } -} - -func (s *PublicIPAddressSkuName) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parsePublicIPAddressSkuName(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parsePublicIPAddressSkuName(input string) (*PublicIPAddressSkuName, error) { - vals := map[string]PublicIPAddressSkuName{ - "basic": PublicIPAddressSkuNameBasic, - "standard": PublicIPAddressSkuNameStandard, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := PublicIPAddressSkuName(input) - return &out, nil -} - -type PublicIPAddressSkuTier string - -const ( - PublicIPAddressSkuTierGlobal PublicIPAddressSkuTier = "Global" - PublicIPAddressSkuTierRegional PublicIPAddressSkuTier = "Regional" -) - -func PossibleValuesForPublicIPAddressSkuTier() []string { - return []string{ - string(PublicIPAddressSkuTierGlobal), - string(PublicIPAddressSkuTierRegional), - } -} - -func (s *PublicIPAddressSkuTier) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parsePublicIPAddressSkuTier(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parsePublicIPAddressSkuTier(input string) (*PublicIPAddressSkuTier, error) { - vals := map[string]PublicIPAddressSkuTier{ - "global": PublicIPAddressSkuTierGlobal, - "regional": PublicIPAddressSkuTierRegional, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := PublicIPAddressSkuTier(input) - return &out, nil -} - -type RouteNextHopType string - -const ( - RouteNextHopTypeInternet RouteNextHopType = "Internet" - RouteNextHopTypeNone RouteNextHopType = "None" - RouteNextHopTypeVirtualAppliance RouteNextHopType = "VirtualAppliance" - RouteNextHopTypeVirtualNetworkGateway RouteNextHopType = "VirtualNetworkGateway" - RouteNextHopTypeVnetLocal RouteNextHopType = "VnetLocal" -) - -func PossibleValuesForRouteNextHopType() []string { - return []string{ - string(RouteNextHopTypeInternet), - string(RouteNextHopTypeNone), - string(RouteNextHopTypeVirtualAppliance), - string(RouteNextHopTypeVirtualNetworkGateway), - string(RouteNextHopTypeVnetLocal), - } -} - -func (s *RouteNextHopType) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseRouteNextHopType(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseRouteNextHopType(input string) (*RouteNextHopType, error) { - vals := map[string]RouteNextHopType{ - "internet": RouteNextHopTypeInternet, - "none": RouteNextHopTypeNone, - "virtualappliance": RouteNextHopTypeVirtualAppliance, - "virtualnetworkgateway": RouteNextHopTypeVirtualNetworkGateway, - "vnetlocal": RouteNextHopTypeVnetLocal, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := RouteNextHopType(input) - return &out, nil -} - -type SecurityRuleAccess string - -const ( - SecurityRuleAccessAllow SecurityRuleAccess = "Allow" - SecurityRuleAccessDeny SecurityRuleAccess = "Deny" -) - -func PossibleValuesForSecurityRuleAccess() []string { - return []string{ - string(SecurityRuleAccessAllow), - string(SecurityRuleAccessDeny), - } -} - -func (s *SecurityRuleAccess) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseSecurityRuleAccess(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseSecurityRuleAccess(input string) (*SecurityRuleAccess, error) { - vals := map[string]SecurityRuleAccess{ - "allow": SecurityRuleAccessAllow, - "deny": SecurityRuleAccessDeny, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := SecurityRuleAccess(input) - return &out, nil -} - -type SecurityRuleDirection string - -const ( - SecurityRuleDirectionInbound SecurityRuleDirection = "Inbound" - SecurityRuleDirectionOutbound SecurityRuleDirection = "Outbound" -) - -func PossibleValuesForSecurityRuleDirection() []string { - return []string{ - string(SecurityRuleDirectionInbound), - string(SecurityRuleDirectionOutbound), - } -} - -func (s *SecurityRuleDirection) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseSecurityRuleDirection(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseSecurityRuleDirection(input string) (*SecurityRuleDirection, error) { - vals := map[string]SecurityRuleDirection{ - "inbound": SecurityRuleDirectionInbound, - "outbound": SecurityRuleDirectionOutbound, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := SecurityRuleDirection(input) - return &out, nil -} - -type SecurityRuleProtocol string - -const ( - SecurityRuleProtocolAh SecurityRuleProtocol = "Ah" - SecurityRuleProtocolAny SecurityRuleProtocol = "*" - SecurityRuleProtocolEsp SecurityRuleProtocol = "Esp" - SecurityRuleProtocolIcmp SecurityRuleProtocol = "Icmp" - SecurityRuleProtocolTcp SecurityRuleProtocol = "Tcp" - SecurityRuleProtocolUdp SecurityRuleProtocol = "Udp" -) - -func PossibleValuesForSecurityRuleProtocol() []string { - return []string{ - string(SecurityRuleProtocolAh), - string(SecurityRuleProtocolAny), - string(SecurityRuleProtocolEsp), - string(SecurityRuleProtocolIcmp), - string(SecurityRuleProtocolTcp), - string(SecurityRuleProtocolUdp), - } -} - -func (s *SecurityRuleProtocol) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseSecurityRuleProtocol(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseSecurityRuleProtocol(input string) (*SecurityRuleProtocol, error) { - vals := map[string]SecurityRuleProtocol{ - "ah": SecurityRuleProtocolAh, - "*": SecurityRuleProtocolAny, - "esp": SecurityRuleProtocolEsp, - "icmp": SecurityRuleProtocolIcmp, - "tcp": SecurityRuleProtocolTcp, - "udp": SecurityRuleProtocolUdp, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := SecurityRuleProtocol(input) - return &out, nil -} - -type SharingScope string - -const ( - SharingScopeDelegatedServices SharingScope = "DelegatedServices" - SharingScopeTenant SharingScope = "Tenant" -) - -func PossibleValuesForSharingScope() []string { - return []string{ - string(SharingScopeDelegatedServices), - string(SharingScopeTenant), - } -} - -func (s *SharingScope) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseSharingScope(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseSharingScope(input string) (*SharingScope, error) { - vals := map[string]SharingScope{ - "delegatedservices": SharingScopeDelegatedServices, - "tenant": SharingScopeTenant, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := SharingScope(input) - return &out, nil -} - -type SyncMode string - -const ( - SyncModeAutomatic SyncMode = "Automatic" - SyncModeManual SyncMode = "Manual" -) - -func PossibleValuesForSyncMode() []string { - return []string{ - string(SyncModeAutomatic), - string(SyncModeManual), - } -} - -func (s *SyncMode) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseSyncMode(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseSyncMode(input string) (*SyncMode, error) { - vals := map[string]SyncMode{ - "automatic": SyncModeAutomatic, - "manual": SyncModeManual, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := SyncMode(input) - return &out, nil -} - -type TransportProtocol string - -const ( - TransportProtocolAll TransportProtocol = "All" - TransportProtocolTcp TransportProtocol = "Tcp" - TransportProtocolUdp TransportProtocol = "Udp" -) - -func PossibleValuesForTransportProtocol() []string { - return []string{ - string(TransportProtocolAll), - string(TransportProtocolTcp), - string(TransportProtocolUdp), - } -} - -func (s *TransportProtocol) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseTransportProtocol(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseTransportProtocol(input string) (*TransportProtocol, error) { - vals := map[string]TransportProtocol{ - "all": TransportProtocolAll, - "tcp": TransportProtocolTcp, - "udp": TransportProtocolUdp, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := TransportProtocol(input) - return &out, nil -} - -type VirtualNetworkEncryptionEnforcement string - -const ( - VirtualNetworkEncryptionEnforcementAllowUnencrypted VirtualNetworkEncryptionEnforcement = "AllowUnencrypted" - VirtualNetworkEncryptionEnforcementDropUnencrypted VirtualNetworkEncryptionEnforcement = "DropUnencrypted" -) - -func PossibleValuesForVirtualNetworkEncryptionEnforcement() []string { - return []string{ - string(VirtualNetworkEncryptionEnforcementAllowUnencrypted), - string(VirtualNetworkEncryptionEnforcementDropUnencrypted), - } -} - -func (s *VirtualNetworkEncryptionEnforcement) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseVirtualNetworkEncryptionEnforcement(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseVirtualNetworkEncryptionEnforcement(input string) (*VirtualNetworkEncryptionEnforcement, error) { - vals := map[string]VirtualNetworkEncryptionEnforcement{ - "allowunencrypted": VirtualNetworkEncryptionEnforcementAllowUnencrypted, - "dropunencrypted": VirtualNetworkEncryptionEnforcementDropUnencrypted, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := VirtualNetworkEncryptionEnforcement(input) - return &out, nil -} - -type VirtualNetworkPeeringLevel string - -const ( - VirtualNetworkPeeringLevelFullyInSync VirtualNetworkPeeringLevel = "FullyInSync" - VirtualNetworkPeeringLevelLocalAndRemoteNotInSync VirtualNetworkPeeringLevel = "LocalAndRemoteNotInSync" - VirtualNetworkPeeringLevelLocalNotInSync VirtualNetworkPeeringLevel = "LocalNotInSync" - VirtualNetworkPeeringLevelRemoteNotInSync VirtualNetworkPeeringLevel = "RemoteNotInSync" -) - -func PossibleValuesForVirtualNetworkPeeringLevel() []string { - return []string{ - string(VirtualNetworkPeeringLevelFullyInSync), - string(VirtualNetworkPeeringLevelLocalAndRemoteNotInSync), - string(VirtualNetworkPeeringLevelLocalNotInSync), - string(VirtualNetworkPeeringLevelRemoteNotInSync), - } -} - -func (s *VirtualNetworkPeeringLevel) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseVirtualNetworkPeeringLevel(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseVirtualNetworkPeeringLevel(input string) (*VirtualNetworkPeeringLevel, error) { - vals := map[string]VirtualNetworkPeeringLevel{ - "fullyinsync": VirtualNetworkPeeringLevelFullyInSync, - "localandremotenotinsync": VirtualNetworkPeeringLevelLocalAndRemoteNotInSync, - "localnotinsync": VirtualNetworkPeeringLevelLocalNotInSync, - "remotenotinsync": VirtualNetworkPeeringLevelRemoteNotInSync, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := VirtualNetworkPeeringLevel(input) - return &out, nil -} - -type VirtualNetworkPeeringState string - -const ( - VirtualNetworkPeeringStateConnected VirtualNetworkPeeringState = "Connected" - VirtualNetworkPeeringStateDisconnected VirtualNetworkPeeringState = "Disconnected" - VirtualNetworkPeeringStateInitiated VirtualNetworkPeeringState = "Initiated" -) - -func PossibleValuesForVirtualNetworkPeeringState() []string { - return []string{ - string(VirtualNetworkPeeringStateConnected), - string(VirtualNetworkPeeringStateDisconnected), - string(VirtualNetworkPeeringStateInitiated), - } -} - -func (s *VirtualNetworkPeeringState) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseVirtualNetworkPeeringState(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseVirtualNetworkPeeringState(input string) (*VirtualNetworkPeeringState, error) { - vals := map[string]VirtualNetworkPeeringState{ - "connected": VirtualNetworkPeeringStateConnected, - "disconnected": VirtualNetworkPeeringStateDisconnected, - "initiated": VirtualNetworkPeeringStateInitiated, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := VirtualNetworkPeeringState(input) - return &out, nil -} - -type VirtualNetworkPrivateEndpointNetworkPolicies string - -const ( - VirtualNetworkPrivateEndpointNetworkPoliciesDisabled VirtualNetworkPrivateEndpointNetworkPolicies = "Disabled" - VirtualNetworkPrivateEndpointNetworkPoliciesEnabled VirtualNetworkPrivateEndpointNetworkPolicies = "Enabled" - VirtualNetworkPrivateEndpointNetworkPoliciesNetworkSecurityGroupEnabled VirtualNetworkPrivateEndpointNetworkPolicies = "NetworkSecurityGroupEnabled" - VirtualNetworkPrivateEndpointNetworkPoliciesRouteTableEnabled VirtualNetworkPrivateEndpointNetworkPolicies = "RouteTableEnabled" -) - -func PossibleValuesForVirtualNetworkPrivateEndpointNetworkPolicies() []string { - return []string{ - string(VirtualNetworkPrivateEndpointNetworkPoliciesDisabled), - string(VirtualNetworkPrivateEndpointNetworkPoliciesEnabled), - string(VirtualNetworkPrivateEndpointNetworkPoliciesNetworkSecurityGroupEnabled), - string(VirtualNetworkPrivateEndpointNetworkPoliciesRouteTableEnabled), - } -} - -func (s *VirtualNetworkPrivateEndpointNetworkPolicies) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseVirtualNetworkPrivateEndpointNetworkPolicies(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseVirtualNetworkPrivateEndpointNetworkPolicies(input string) (*VirtualNetworkPrivateEndpointNetworkPolicies, error) { - vals := map[string]VirtualNetworkPrivateEndpointNetworkPolicies{ - "disabled": VirtualNetworkPrivateEndpointNetworkPoliciesDisabled, - "enabled": VirtualNetworkPrivateEndpointNetworkPoliciesEnabled, - "networksecuritygroupenabled": VirtualNetworkPrivateEndpointNetworkPoliciesNetworkSecurityGroupEnabled, - "routetableenabled": VirtualNetworkPrivateEndpointNetworkPoliciesRouteTableEnabled, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := VirtualNetworkPrivateEndpointNetworkPolicies(input) - return &out, nil -} - -type VirtualNetworkPrivateLinkServiceNetworkPolicies string - -const ( - VirtualNetworkPrivateLinkServiceNetworkPoliciesDisabled VirtualNetworkPrivateLinkServiceNetworkPolicies = "Disabled" - VirtualNetworkPrivateLinkServiceNetworkPoliciesEnabled VirtualNetworkPrivateLinkServiceNetworkPolicies = "Enabled" -) - -func PossibleValuesForVirtualNetworkPrivateLinkServiceNetworkPolicies() []string { - return []string{ - string(VirtualNetworkPrivateLinkServiceNetworkPoliciesDisabled), - string(VirtualNetworkPrivateLinkServiceNetworkPoliciesEnabled), - } -} - -func (s *VirtualNetworkPrivateLinkServiceNetworkPolicies) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseVirtualNetworkPrivateLinkServiceNetworkPolicies(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseVirtualNetworkPrivateLinkServiceNetworkPolicies(input string) (*VirtualNetworkPrivateLinkServiceNetworkPolicies, error) { - vals := map[string]VirtualNetworkPrivateLinkServiceNetworkPolicies{ - "disabled": VirtualNetworkPrivateLinkServiceNetworkPoliciesDisabled, - "enabled": VirtualNetworkPrivateLinkServiceNetworkPoliciesEnabled, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := VirtualNetworkPrivateLinkServiceNetworkPolicies(input) - return &out, nil -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_flowlog.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_flowlog.go deleted file mode 100644 index b920c2a5d055..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_flowlog.go +++ /dev/null @@ -1,14 +0,0 @@ -package virtualnetworks - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -type FlowLog struct { - Etag *string `json:"etag,omitempty"` - Id *string `json:"id,omitempty"` - Location *string `json:"location,omitempty"` - Name *string `json:"name,omitempty"` - Properties *FlowLogPropertiesFormat `json:"properties,omitempty"` - Tags *map[string]string `json:"tags,omitempty"` - Type *string `json:"type,omitempty"` -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_flowlogpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_flowlogpropertiesformat.go deleted file mode 100644 index 46ad7cc15022..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_flowlogpropertiesformat.go +++ /dev/null @@ -1,15 +0,0 @@ -package virtualnetworks - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -type FlowLogPropertiesFormat struct { - Enabled *bool `json:"enabled,omitempty"` - FlowAnalyticsConfiguration *TrafficAnalyticsProperties `json:"flowAnalyticsConfiguration,omitempty"` - Format *FlowLogFormatParameters `json:"format,omitempty"` - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` - RetentionPolicy *RetentionPolicyParameters `json:"retentionPolicy,omitempty"` - StorageId string `json:"storageId"` - TargetResourceGuid *string `json:"targetResourceGuid,omitempty"` - TargetResourceId string `json:"targetResourceId"` -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_privatelinkserviceproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_privatelinkserviceproperties.go deleted file mode 100644 index e187bf8454cc..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_privatelinkserviceproperties.go +++ /dev/null @@ -1,17 +0,0 @@ -package virtualnetworks - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -type PrivateLinkServiceProperties struct { - Alias *string `json:"alias,omitempty"` - AutoApproval *ResourceSet `json:"autoApproval,omitempty"` - EnableProxyProtocol *bool `json:"enableProxyProtocol,omitempty"` - Fqdns *[]string `json:"fqdns,omitempty"` - IPConfigurations *[]PrivateLinkServiceIPConfiguration `json:"ipConfigurations,omitempty"` - LoadBalancerFrontendIPConfigurations *[]FrontendIPConfiguration `json:"loadBalancerFrontendIpConfigurations,omitempty"` - NetworkInterfaces *[]NetworkInterface `json:"networkInterfaces,omitempty"` - PrivateEndpointConnections *[]PrivateEndpointConnection `json:"privateEndpointConnections,omitempty"` - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` - Visibility *ResourceSet `json:"visibility,omitempty"` -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_serviceendpointpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_serviceendpointpropertiesformat.go deleted file mode 100644 index 03a937b7d65d..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_serviceendpointpropertiesformat.go +++ /dev/null @@ -1,10 +0,0 @@ -package virtualnetworks - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -type ServiceEndpointPropertiesFormat struct { - Locations *[]string `json:"locations,omitempty"` - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` - Service *string `json:"service,omitempty"` -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_virtualnetworkpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_virtualnetworkpropertiesformat.go deleted file mode 100644 index a6ad3b4e3a0c..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_virtualnetworkpropertiesformat.go +++ /dev/null @@ -1,21 +0,0 @@ -package virtualnetworks - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -type VirtualNetworkPropertiesFormat struct { - AddressSpace *AddressSpace `json:"addressSpace,omitempty"` - BgpCommunities *VirtualNetworkBgpCommunities `json:"bgpCommunities,omitempty"` - DdosProtectionPlan *SubResource `json:"ddosProtectionPlan,omitempty"` - DhcpOptions *DhcpOptions `json:"dhcpOptions,omitempty"` - EnableDdosProtection *bool `json:"enableDdosProtection,omitempty"` - EnableVMProtection *bool `json:"enableVmProtection,omitempty"` - Encryption *VirtualNetworkEncryption `json:"encryption,omitempty"` - FlowLogs *[]FlowLog `json:"flowLogs,omitempty"` - FlowTimeoutInMinutes *int64 `json:"flowTimeoutInMinutes,omitempty"` - IPAllocations *[]SubResource `json:"ipAllocations,omitempty"` - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` - ResourceGuid *string `json:"resourceGuid,omitempty"` - Subnets *[]Subnet `json:"subnets,omitempty"` - VirtualNetworkPeerings *[]VirtualNetworkPeering `json:"virtualNetworkPeerings,omitempty"` -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/version.go deleted file mode 100644 index 5c44fd0fa197..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/version.go +++ /dev/null @@ -1,10 +0,0 @@ -package virtualnetworks - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -const defaultApiVersion = "2023-11-01" - -func userAgent() string { - return "hashicorp/go-azure-sdk/virtualnetworks/2023-11-01" -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/README.md deleted file mode 100644 index 979acc878093..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/README.md +++ /dev/null @@ -1,86 +0,0 @@ - -## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap` Documentation - -The `virtualnetworktap` SDK allows for interaction with Azure Resource Manager `network` (API Version `2023-11-01`). - -This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). - -### Import Path - -```go -import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap" -``` - - -### Client Initialization - -```go -client := virtualnetworktap.NewVirtualNetworkTapClientWithBaseURI("https://management.azure.com") -client.Client.Authorizer = authorizer -``` - - -### Example Usage: `VirtualNetworkTapClient.CreateOrUpdate` - -```go -ctx := context.TODO() -id := virtualnetworktap.NewVirtualNetworkTapID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualNetworkTapName") - -payload := virtualnetworktap.VirtualNetworkTap{ - // ... -} - - -if err := client.CreateOrUpdateThenPoll(ctx, id, payload); err != nil { - // handle the error -} -``` - - -### Example Usage: `VirtualNetworkTapClient.Delete` - -```go -ctx := context.TODO() -id := virtualnetworktap.NewVirtualNetworkTapID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualNetworkTapName") - -if err := client.DeleteThenPoll(ctx, id); err != nil { - // handle the error -} -``` - - -### Example Usage: `VirtualNetworkTapClient.Get` - -```go -ctx := context.TODO() -id := virtualnetworktap.NewVirtualNetworkTapID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualNetworkTapName") - -read, err := client.Get(ctx, id) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `VirtualNetworkTapClient.UpdateTags` - -```go -ctx := context.TODO() -id := virtualnetworktap.NewVirtualNetworkTapID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualNetworkTapName") - -payload := virtualnetworktap.TagsObject{ - // ... -} - - -read, err := client.UpdateTags(ctx, id, payload) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_flowlog.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_flowlog.go deleted file mode 100644 index ddd3757f710a..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_flowlog.go +++ /dev/null @@ -1,14 +0,0 @@ -package virtualnetworktap - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -type FlowLog struct { - Etag *string `json:"etag,omitempty"` - Id *string `json:"id,omitempty"` - Location *string `json:"location,omitempty"` - Name *string `json:"name,omitempty"` - Properties *FlowLogPropertiesFormat `json:"properties,omitempty"` - Tags *map[string]string `json:"tags,omitempty"` - Type *string `json:"type,omitempty"` -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_flowlogpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_flowlogpropertiesformat.go deleted file mode 100644 index 64eb8ac4566b..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_flowlogpropertiesformat.go +++ /dev/null @@ -1,15 +0,0 @@ -package virtualnetworktap - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -type FlowLogPropertiesFormat struct { - Enabled *bool `json:"enabled,omitempty"` - FlowAnalyticsConfiguration *TrafficAnalyticsProperties `json:"flowAnalyticsConfiguration,omitempty"` - Format *FlowLogFormatParameters `json:"format,omitempty"` - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` - RetentionPolicy *RetentionPolicyParameters `json:"retentionPolicy,omitempty"` - StorageId string `json:"storageId"` - TargetResourceGuid *string `json:"targetResourceGuid,omitempty"` - TargetResourceId string `json:"targetResourceId"` -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_privatelinkserviceproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_privatelinkserviceproperties.go deleted file mode 100644 index cbafd8f49675..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_privatelinkserviceproperties.go +++ /dev/null @@ -1,17 +0,0 @@ -package virtualnetworktap - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -type PrivateLinkServiceProperties struct { - Alias *string `json:"alias,omitempty"` - AutoApproval *ResourceSet `json:"autoApproval,omitempty"` - EnableProxyProtocol *bool `json:"enableProxyProtocol,omitempty"` - Fqdns *[]string `json:"fqdns,omitempty"` - IPConfigurations *[]PrivateLinkServiceIPConfiguration `json:"ipConfigurations,omitempty"` - LoadBalancerFrontendIPConfigurations *[]FrontendIPConfiguration `json:"loadBalancerFrontendIpConfigurations,omitempty"` - NetworkInterfaces *[]NetworkInterface `json:"networkInterfaces,omitempty"` - PrivateEndpointConnections *[]PrivateEndpointConnection `json:"privateEndpointConnections,omitempty"` - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` - Visibility *ResourceSet `json:"visibility,omitempty"` -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_serviceendpointpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_serviceendpointpropertiesformat.go deleted file mode 100644 index 6da43c107d77..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_serviceendpointpropertiesformat.go +++ /dev/null @@ -1,10 +0,0 @@ -package virtualnetworktap - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -type ServiceEndpointPropertiesFormat struct { - Locations *[]string `json:"locations,omitempty"` - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` - Service *string `json:"service,omitempty"` -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/version.go deleted file mode 100644 index e715032dda2a..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/version.go +++ /dev/null @@ -1,10 +0,0 @@ -package virtualnetworktap - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -const defaultApiVersion = "2023-11-01" - -func userAgent() string { - return "hashicorp/go-azure-sdk/virtualnetworktap/2023-11-01" -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/README.md deleted file mode 100644 index fe8923048d37..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/README.md +++ /dev/null @@ -1,55 +0,0 @@ - -## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps` Documentation - -The `virtualnetworktaps` SDK allows for interaction with Azure Resource Manager `network` (API Version `2023-11-01`). - -This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). - -### Import Path - -```go -import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" -import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps" -``` - - -### Client Initialization - -```go -client := virtualnetworktaps.NewVirtualNetworkTapsClientWithBaseURI("https://management.azure.com") -client.Client.Authorizer = authorizer -``` - - -### Example Usage: `VirtualNetworkTapsClient.ListAll` - -```go -ctx := context.TODO() -id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012") - -// alternatively `client.ListAll(ctx, id)` can be used to do batched pagination -items, err := client.ListAllComplete(ctx, id) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` - - -### Example Usage: `VirtualNetworkTapsClient.ListByResourceGroup` - -```go -ctx := context.TODO() -id := commonids.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group") - -// alternatively `client.ListByResourceGroup(ctx, id)` can be used to do batched pagination -items, err := client.ListByResourceGroupComplete(ctx, id) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_flowlog.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_flowlog.go deleted file mode 100644 index 5a7b0a4647b2..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_flowlog.go +++ /dev/null @@ -1,14 +0,0 @@ -package virtualnetworktaps - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -type FlowLog struct { - Etag *string `json:"etag,omitempty"` - Id *string `json:"id,omitempty"` - Location *string `json:"location,omitempty"` - Name *string `json:"name,omitempty"` - Properties *FlowLogPropertiesFormat `json:"properties,omitempty"` - Tags *map[string]string `json:"tags,omitempty"` - Type *string `json:"type,omitempty"` -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_flowlogpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_flowlogpropertiesformat.go deleted file mode 100644 index 6fc887f80102..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_flowlogpropertiesformat.go +++ /dev/null @@ -1,15 +0,0 @@ -package virtualnetworktaps - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -type FlowLogPropertiesFormat struct { - Enabled *bool `json:"enabled,omitempty"` - FlowAnalyticsConfiguration *TrafficAnalyticsProperties `json:"flowAnalyticsConfiguration,omitempty"` - Format *FlowLogFormatParameters `json:"format,omitempty"` - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` - RetentionPolicy *RetentionPolicyParameters `json:"retentionPolicy,omitempty"` - StorageId string `json:"storageId"` - TargetResourceGuid *string `json:"targetResourceGuid,omitempty"` - TargetResourceId string `json:"targetResourceId"` -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_privatelinkserviceproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_privatelinkserviceproperties.go deleted file mode 100644 index 9e5885610f52..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_privatelinkserviceproperties.go +++ /dev/null @@ -1,17 +0,0 @@ -package virtualnetworktaps - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -type PrivateLinkServiceProperties struct { - Alias *string `json:"alias,omitempty"` - AutoApproval *ResourceSet `json:"autoApproval,omitempty"` - EnableProxyProtocol *bool `json:"enableProxyProtocol,omitempty"` - Fqdns *[]string `json:"fqdns,omitempty"` - IPConfigurations *[]PrivateLinkServiceIPConfiguration `json:"ipConfigurations,omitempty"` - LoadBalancerFrontendIPConfigurations *[]FrontendIPConfiguration `json:"loadBalancerFrontendIpConfigurations,omitempty"` - NetworkInterfaces *[]NetworkInterface `json:"networkInterfaces,omitempty"` - PrivateEndpointConnections *[]PrivateEndpointConnection `json:"privateEndpointConnections,omitempty"` - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` - Visibility *ResourceSet `json:"visibility,omitempty"` -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_serviceendpointpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_serviceendpointpropertiesformat.go deleted file mode 100644 index c5085da61db6..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_serviceendpointpropertiesformat.go +++ /dev/null @@ -1,10 +0,0 @@ -package virtualnetworktaps - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -type ServiceEndpointPropertiesFormat struct { - Locations *[]string `json:"locations,omitempty"` - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` - Service *string `json:"service,omitempty"` -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/version.go deleted file mode 100644 index 52ec91fec734..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/version.go +++ /dev/null @@ -1,10 +0,0 @@ -package virtualnetworktaps - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -const defaultApiVersion = "2023-11-01" - -func userAgent() string { - return "hashicorp/go-azure-sdk/virtualnetworktaps/2023-11-01" -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualrouterpeerings/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualrouterpeerings/README.md deleted file mode 100644 index 5120cb7e36dc..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualrouterpeerings/README.md +++ /dev/null @@ -1,83 +0,0 @@ - -## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualrouterpeerings` Documentation - -The `virtualrouterpeerings` SDK allows for interaction with Azure Resource Manager `network` (API Version `2023-11-01`). - -This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). - -### Import Path - -```go -import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" -import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualrouterpeerings" -``` - - -### Client Initialization - -```go -client := virtualrouterpeerings.NewVirtualRouterPeeringsClientWithBaseURI("https://management.azure.com") -client.Client.Authorizer = authorizer -``` - - -### Example Usage: `VirtualRouterPeeringsClient.CreateOrUpdate` - -```go -ctx := context.TODO() -id := commonids.NewVirtualRouterPeeringID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualRouterName", "peeringName") - -payload := virtualrouterpeerings.VirtualRouterPeering{ - // ... -} - - -if err := client.CreateOrUpdateThenPoll(ctx, id, payload); err != nil { - // handle the error -} -``` - - -### Example Usage: `VirtualRouterPeeringsClient.Delete` - -```go -ctx := context.TODO() -id := commonids.NewVirtualRouterPeeringID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualRouterName", "peeringName") - -if err := client.DeleteThenPoll(ctx, id); err != nil { - // handle the error -} -``` - - -### Example Usage: `VirtualRouterPeeringsClient.Get` - -```go -ctx := context.TODO() -id := commonids.NewVirtualRouterPeeringID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualRouterName", "peeringName") - -read, err := client.Get(ctx, id) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `VirtualRouterPeeringsClient.List` - -```go -ctx := context.TODO() -id := virtualrouterpeerings.NewVirtualRouterID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualRouterName") - -// alternatively `client.List(ctx, id)` can be used to do batched pagination -items, err := client.ListComplete(ctx, id) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualrouterpeerings/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualrouterpeerings/version.go deleted file mode 100644 index d166e98ed83b..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualrouterpeerings/version.go +++ /dev/null @@ -1,10 +0,0 @@ -package virtualrouterpeerings - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -const defaultApiVersion = "2023-11-01" - -func userAgent() string { - return "hashicorp/go-azure-sdk/virtualrouterpeerings/2023-11-01" -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualrouters/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualrouters/README.md deleted file mode 100644 index 8cb0d81d80f0..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualrouters/README.md +++ /dev/null @@ -1,100 +0,0 @@ - -## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualrouters` Documentation - -The `virtualrouters` SDK allows for interaction with Azure Resource Manager `network` (API Version `2023-11-01`). - -This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). - -### Import Path - -```go -import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" -import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualrouters" -``` - - -### Client Initialization - -```go -client := virtualrouters.NewVirtualRoutersClientWithBaseURI("https://management.azure.com") -client.Client.Authorizer = authorizer -``` - - -### Example Usage: `VirtualRoutersClient.CreateOrUpdate` - -```go -ctx := context.TODO() -id := virtualrouters.NewVirtualRouterID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualRouterName") - -payload := virtualrouters.VirtualRouter{ - // ... -} - - -if err := client.CreateOrUpdateThenPoll(ctx, id, payload); err != nil { - // handle the error -} -``` - - -### Example Usage: `VirtualRoutersClient.Delete` - -```go -ctx := context.TODO() -id := virtualrouters.NewVirtualRouterID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualRouterName") - -if err := client.DeleteThenPoll(ctx, id); err != nil { - // handle the error -} -``` - - -### Example Usage: `VirtualRoutersClient.Get` - -```go -ctx := context.TODO() -id := virtualrouters.NewVirtualRouterID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualRouterName") - -read, err := client.Get(ctx, id, virtualrouters.DefaultGetOperationOptions()) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `VirtualRoutersClient.List` - -```go -ctx := context.TODO() -id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012") - -// alternatively `client.List(ctx, id)` can be used to do batched pagination -items, err := client.ListComplete(ctx, id) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` - - -### Example Usage: `VirtualRoutersClient.ListByResourceGroup` - -```go -ctx := context.TODO() -id := commonids.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group") - -// alternatively `client.ListByResourceGroup(ctx, id)` can be used to do batched pagination -items, err := client.ListByResourceGroupComplete(ctx, id) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualrouters/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualrouters/version.go deleted file mode 100644 index 7218d712615a..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualrouters/version.go +++ /dev/null @@ -1,10 +0,0 @@ -package virtualrouters - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -const defaultApiVersion = "2023-11-01" - -func userAgent() string { - return "hashicorp/go-azure-sdk/virtualrouters/2023-11-01" -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/README.md deleted file mode 100644 index b8ee73279814..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/README.md +++ /dev/null @@ -1,71 +0,0 @@ - -## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses` Documentation - -The `vmsspublicipaddresses` SDK allows for interaction with Azure Resource Manager `network` (API Version `2023-11-01`). - -This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). - -### Import Path - -```go -import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" -import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses" -``` - - -### Client Initialization - -```go -client := vmsspublicipaddresses.NewVMSSPublicIPAddressesClientWithBaseURI("https://management.azure.com") -client.Client.Authorizer = authorizer -``` - - -### Example Usage: `VMSSPublicIPAddressesClient.PublicIPAddressesGetVirtualMachineScaleSetPublicIPAddress` - -```go -ctx := context.TODO() -id := commonids.NewVirtualMachineScaleSetPublicIPAddressID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualMachineScaleSetName", "virtualMachineName", "networkInterfaceName", "ipConfigurationName", "publicIPAddressName") - -read, err := client.PublicIPAddressesGetVirtualMachineScaleSetPublicIPAddress(ctx, id, vmsspublicipaddresses.DefaultPublicIPAddressesGetVirtualMachineScaleSetPublicIPAddressOperationOptions()) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `VMSSPublicIPAddressesClient.PublicIPAddressesListVirtualMachineScaleSetPublicIPAddresses` - -```go -ctx := context.TODO() -id := vmsspublicipaddresses.NewVirtualMachineScaleSetID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualMachineScaleSetName") - -// alternatively `client.PublicIPAddressesListVirtualMachineScaleSetPublicIPAddresses(ctx, id)` can be used to do batched pagination -items, err := client.PublicIPAddressesListVirtualMachineScaleSetPublicIPAddressesComplete(ctx, id) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` - - -### Example Usage: `VMSSPublicIPAddressesClient.PublicIPAddressesListVirtualMachineScaleSetVMPublicIPAddresses` - -```go -ctx := context.TODO() -id := commonids.NewVirtualMachineScaleSetIPConfigurationID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualMachineScaleSetName", "virtualMachineName", "networkInterfaceName", "ipConfigurationName") - -// alternatively `client.PublicIPAddressesListVirtualMachineScaleSetVMPublicIPAddresses(ctx, id)` can be used to do batched pagination -items, err := client.PublicIPAddressesListVirtualMachineScaleSetVMPublicIPAddressesComplete(ctx, id) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_flowlog.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_flowlog.go deleted file mode 100644 index b816a9fb4d85..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_flowlog.go +++ /dev/null @@ -1,14 +0,0 @@ -package vmsspublicipaddresses - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -type FlowLog struct { - Etag *string `json:"etag,omitempty"` - Id *string `json:"id,omitempty"` - Location *string `json:"location,omitempty"` - Name *string `json:"name,omitempty"` - Properties *FlowLogPropertiesFormat `json:"properties,omitempty"` - Tags *map[string]string `json:"tags,omitempty"` - Type *string `json:"type,omitempty"` -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_flowlogpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_flowlogpropertiesformat.go deleted file mode 100644 index 4dc53318cc3c..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_flowlogpropertiesformat.go +++ /dev/null @@ -1,15 +0,0 @@ -package vmsspublicipaddresses - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -type FlowLogPropertiesFormat struct { - Enabled *bool `json:"enabled,omitempty"` - FlowAnalyticsConfiguration *TrafficAnalyticsProperties `json:"flowAnalyticsConfiguration,omitempty"` - Format *FlowLogFormatParameters `json:"format,omitempty"` - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` - RetentionPolicy *RetentionPolicyParameters `json:"retentionPolicy,omitempty"` - StorageId string `json:"storageId"` - TargetResourceGuid *string `json:"targetResourceGuid,omitempty"` - TargetResourceId string `json:"targetResourceId"` -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_privatelinkserviceproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_privatelinkserviceproperties.go deleted file mode 100644 index 5a3793b39679..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_privatelinkserviceproperties.go +++ /dev/null @@ -1,17 +0,0 @@ -package vmsspublicipaddresses - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -type PrivateLinkServiceProperties struct { - Alias *string `json:"alias,omitempty"` - AutoApproval *ResourceSet `json:"autoApproval,omitempty"` - EnableProxyProtocol *bool `json:"enableProxyProtocol,omitempty"` - Fqdns *[]string `json:"fqdns,omitempty"` - IPConfigurations *[]PrivateLinkServiceIPConfiguration `json:"ipConfigurations,omitempty"` - LoadBalancerFrontendIPConfigurations *[]FrontendIPConfiguration `json:"loadBalancerFrontendIpConfigurations,omitempty"` - NetworkInterfaces *[]NetworkInterface `json:"networkInterfaces,omitempty"` - PrivateEndpointConnections *[]PrivateEndpointConnection `json:"privateEndpointConnections,omitempty"` - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` - Visibility *ResourceSet `json:"visibility,omitempty"` -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_serviceendpointpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_serviceendpointpropertiesformat.go deleted file mode 100644 index 5857cb159be6..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_serviceendpointpropertiesformat.go +++ /dev/null @@ -1,10 +0,0 @@ -package vmsspublicipaddresses - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -type ServiceEndpointPropertiesFormat struct { - Locations *[]string `json:"locations,omitempty"` - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` - Service *string `json:"service,omitempty"` -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/version.go deleted file mode 100644 index 81d29217141a..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/version.go +++ /dev/null @@ -1,10 +0,0 @@ -package vmsspublicipaddresses - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -const defaultApiVersion = "2023-11-01" - -func userAgent() string { - return "hashicorp/go-azure-sdk/vmsspublicipaddresses/2023-11-01" -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpngateways/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpngateways/README.md deleted file mode 100644 index 753bd5728ca8..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpngateways/README.md +++ /dev/null @@ -1,83 +0,0 @@ - -## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpngateways` Documentation - -The `vpngateways` SDK allows for interaction with Azure Resource Manager `network` (API Version `2023-11-01`). - -This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). - -### Import Path - -```go -import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpngateways" -``` - - -### Client Initialization - -```go -client := vpngateways.NewVpnGatewaysClientWithBaseURI("https://management.azure.com") -client.Client.Authorizer = authorizer -``` - - -### Example Usage: `VpnGatewaysClient.Reset` - -```go -ctx := context.TODO() -id := vpngateways.NewVpnGatewayID("12345678-1234-9876-4563-123456789012", "example-resource-group", "vpnGatewayName") - -if err := client.ResetThenPoll(ctx, id, vpngateways.DefaultResetOperationOptions()); err != nil { - // handle the error -} -``` - - -### Example Usage: `VpnGatewaysClient.StartPacketCapture` - -```go -ctx := context.TODO() -id := vpngateways.NewVpnGatewayID("12345678-1234-9876-4563-123456789012", "example-resource-group", "vpnGatewayName") - -payload := vpngateways.VpnGatewayPacketCaptureStartParameters{ - // ... -} - - -if err := client.StartPacketCaptureThenPoll(ctx, id, payload); err != nil { - // handle the error -} -``` - - -### Example Usage: `VpnGatewaysClient.StopPacketCapture` - -```go -ctx := context.TODO() -id := vpngateways.NewVpnGatewayID("12345678-1234-9876-4563-123456789012", "example-resource-group", "vpnGatewayName") - -payload := vpngateways.VpnGatewayPacketCaptureStopParameters{ - // ... -} - - -if err := client.StopPacketCaptureThenPoll(ctx, id, payload); err != nil { - // handle the error -} -``` - - -### Example Usage: `VpnGatewaysClient.UpdateTags` - -```go -ctx := context.TODO() -id := vpngateways.NewVpnGatewayID("12345678-1234-9876-4563-123456789012", "example-resource-group", "vpnGatewayName") - -payload := vpngateways.TagsObject{ - // ... -} - - -if err := client.UpdateTagsThenPoll(ctx, id, payload); err != nil { - // handle the error -} -``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpngateways/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpngateways/version.go deleted file mode 100644 index 9bc4a65216d5..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpngateways/version.go +++ /dev/null @@ -1,10 +0,0 @@ -package vpngateways - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -const defaultApiVersion = "2023-11-01" - -func userAgent() string { - return "hashicorp/go-azure-sdk/vpngateways/2023-11-01" -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpnlinkconnections/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpnlinkconnections/version.go deleted file mode 100644 index 836405ca7705..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpnlinkconnections/version.go +++ /dev/null @@ -1,10 +0,0 @@ -package vpnlinkconnections - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -const defaultApiVersion = "2023-11-01" - -func userAgent() string { - return "hashicorp/go-azure-sdk/vpnlinkconnections/2023-11-01" -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpnserverconfigurations/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpnserverconfigurations/README.md deleted file mode 100644 index 1572bdf4af4f..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpnserverconfigurations/README.md +++ /dev/null @@ -1,41 +0,0 @@ - -## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpnserverconfigurations` Documentation - -The `vpnserverconfigurations` SDK allows for interaction with Azure Resource Manager `network` (API Version `2023-11-01`). - -This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). - -### Import Path - -```go -import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpnserverconfigurations" -``` - - -### Client Initialization - -```go -client := vpnserverconfigurations.NewVpnServerConfigurationsClientWithBaseURI("https://management.azure.com") -client.Client.Authorizer = authorizer -``` - - -### Example Usage: `VpnServerConfigurationsClient.UpdateTags` - -```go -ctx := context.TODO() -id := vpnserverconfigurations.NewVpnServerConfigurationID("12345678-1234-9876-4563-123456789012", "example-resource-group", "vpnServerConfigurationName") - -payload := vpnserverconfigurations.TagsObject{ - // ... -} - - -read, err := client.UpdateTags(ctx, id, payload) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpnserverconfigurations/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpnserverconfigurations/version.go deleted file mode 100644 index 70a571db1075..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpnserverconfigurations/version.go +++ /dev/null @@ -1,10 +0,0 @@ -package vpnserverconfigurations - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -const defaultApiVersion = "2023-11-01" - -func userAgent() string { - return "hashicorp/go-azure-sdk/vpnserverconfigurations/2023-11-01" -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpnsites/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpnsites/README.md deleted file mode 100644 index 662e89f75839..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpnsites/README.md +++ /dev/null @@ -1,41 +0,0 @@ - -## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpnsites` Documentation - -The `vpnsites` SDK allows for interaction with Azure Resource Manager `network` (API Version `2023-11-01`). - -This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). - -### Import Path - -```go -import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpnsites" -``` - - -### Client Initialization - -```go -client := vpnsites.NewVpnSitesClientWithBaseURI("https://management.azure.com") -client.Client.Authorizer = authorizer -``` - - -### Example Usage: `VpnSitesClient.UpdateTags` - -```go -ctx := context.TODO() -id := vpnsites.NewVpnSiteID("12345678-1234-9876-4563-123456789012", "example-resource-group", "vpnSiteName") - -payload := vpnsites.TagsObject{ - // ... -} - - -read, err := client.UpdateTags(ctx, id, payload) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpnsites/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpnsites/version.go deleted file mode 100644 index df39cd94050d..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpnsites/version.go +++ /dev/null @@ -1,10 +0,0 @@ -package vpnsites - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -const defaultApiVersion = "2023-11-01" - -func userAgent() string { - return "hashicorp/go-azure-sdk/vpnsites/2023-11-01" -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/webcategories/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/webcategories/README.md deleted file mode 100644 index a0506600f837..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/webcategories/README.md +++ /dev/null @@ -1,54 +0,0 @@ - -## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/webcategories` Documentation - -The `webcategories` SDK allows for interaction with Azure Resource Manager `network` (API Version `2023-11-01`). - -This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). - -### Import Path - -```go -import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" -import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/webcategories" -``` - - -### Client Initialization - -```go -client := webcategories.NewWebCategoriesClientWithBaseURI("https://management.azure.com") -client.Client.Authorizer = authorizer -``` - - -### Example Usage: `WebCategoriesClient.Get` - -```go -ctx := context.TODO() -id := webcategories.NewAzureWebCategoryID("12345678-1234-9876-4563-123456789012", "azureWebCategoryName") - -read, err := client.Get(ctx, id, webcategories.DefaultGetOperationOptions()) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `WebCategoriesClient.ListBySubscription` - -```go -ctx := context.TODO() -id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012") - -// alternatively `client.ListBySubscription(ctx, id)` can be used to do batched pagination -items, err := client.ListBySubscriptionComplete(ctx, id) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/webcategories/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/webcategories/version.go deleted file mode 100644 index 0a9df0a65b7f..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/webcategories/version.go +++ /dev/null @@ -1,10 +0,0 @@ -package webcategories - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -const defaultApiVersion = "2023-11-01" - -func userAgent() string { - return "hashicorp/go-azure-sdk/webcategories/2023-11-01" -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/adminrulecollections/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/adminrulecollections/README.md new file mode 100644 index 000000000000..5435c98716ec --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/adminrulecollections/README.md @@ -0,0 +1,86 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/adminrulecollections` Documentation + +The `adminrulecollections` SDK allows for interaction with Azure Resource Manager `network` (API Version `2024-03-01`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/adminrulecollections" +``` + + +### Client Initialization + +```go +client := adminrulecollections.NewAdminRuleCollectionsClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `AdminRuleCollectionsClient.CreateOrUpdate` + +```go +ctx := context.TODO() +id := adminrulecollections.NewSecurityAdminConfigurationRuleCollectionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkManagerName", "securityAdminConfigurationName", "ruleCollectionName") + +payload := adminrulecollections.AdminRuleCollection{ + // ... +} + + +read, err := client.CreateOrUpdate(ctx, id, payload) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `AdminRuleCollectionsClient.Delete` + +```go +ctx := context.TODO() +id := adminrulecollections.NewSecurityAdminConfigurationRuleCollectionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkManagerName", "securityAdminConfigurationName", "ruleCollectionName") + +if err := client.DeleteThenPoll(ctx, id, adminrulecollections.DefaultDeleteOperationOptions()); err != nil { + // handle the error +} +``` + + +### Example Usage: `AdminRuleCollectionsClient.Get` + +```go +ctx := context.TODO() +id := adminrulecollections.NewSecurityAdminConfigurationRuleCollectionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkManagerName", "securityAdminConfigurationName", "ruleCollectionName") + +read, err := client.Get(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `AdminRuleCollectionsClient.List` + +```go +ctx := context.TODO() +id := adminrulecollections.NewSecurityAdminConfigurationID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkManagerName", "securityAdminConfigurationName") + +// alternatively `client.List(ctx, id, adminrulecollections.DefaultListOperationOptions())` can be used to do batched pagination +items, err := client.ListComplete(ctx, id, adminrulecollections.DefaultListOperationOptions()) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/adminrulecollections/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/adminrulecollections/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/adminrulecollections/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/adminrulecollections/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/adminrulecollections/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/adminrulecollections/constants.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/adminrulecollections/constants.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/adminrulecollections/constants.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/adminrulecollections/id_securityadminconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/adminrulecollections/id_securityadminconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/adminrulecollections/id_securityadminconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/adminrulecollections/id_securityadminconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/adminrulecollections/id_securityadminconfigurationrulecollection.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/adminrulecollections/id_securityadminconfigurationrulecollection.go new file mode 100644 index 000000000000..543fa58afbec --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/adminrulecollections/id_securityadminconfigurationrulecollection.go @@ -0,0 +1,148 @@ +package adminrulecollections + +import ( + "fmt" + "strings" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/recaser" + "github.com/hashicorp/go-azure-helpers/resourcemanager/resourceids" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +func init() { + recaser.RegisterResourceId(&SecurityAdminConfigurationRuleCollectionId{}) +} + +var _ resourceids.ResourceId = &SecurityAdminConfigurationRuleCollectionId{} + +// SecurityAdminConfigurationRuleCollectionId is a struct representing the Resource ID for a Security Admin Configuration Rule Collection +type SecurityAdminConfigurationRuleCollectionId struct { + SubscriptionId string + ResourceGroupName string + NetworkManagerName string + SecurityAdminConfigurationName string + RuleCollectionName string +} + +// NewSecurityAdminConfigurationRuleCollectionID returns a new SecurityAdminConfigurationRuleCollectionId struct +func NewSecurityAdminConfigurationRuleCollectionID(subscriptionId string, resourceGroupName string, networkManagerName string, securityAdminConfigurationName string, ruleCollectionName string) SecurityAdminConfigurationRuleCollectionId { + return SecurityAdminConfigurationRuleCollectionId{ + SubscriptionId: subscriptionId, + ResourceGroupName: resourceGroupName, + NetworkManagerName: networkManagerName, + SecurityAdminConfigurationName: securityAdminConfigurationName, + RuleCollectionName: ruleCollectionName, + } +} + +// ParseSecurityAdminConfigurationRuleCollectionID parses 'input' into a SecurityAdminConfigurationRuleCollectionId +func ParseSecurityAdminConfigurationRuleCollectionID(input string) (*SecurityAdminConfigurationRuleCollectionId, error) { + parser := resourceids.NewParserFromResourceIdType(&SecurityAdminConfigurationRuleCollectionId{}) + parsed, err := parser.Parse(input, false) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := SecurityAdminConfigurationRuleCollectionId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +// ParseSecurityAdminConfigurationRuleCollectionIDInsensitively parses 'input' case-insensitively into a SecurityAdminConfigurationRuleCollectionId +// note: this method should only be used for API response data and not user input +func ParseSecurityAdminConfigurationRuleCollectionIDInsensitively(input string) (*SecurityAdminConfigurationRuleCollectionId, error) { + parser := resourceids.NewParserFromResourceIdType(&SecurityAdminConfigurationRuleCollectionId{}) + parsed, err := parser.Parse(input, true) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := SecurityAdminConfigurationRuleCollectionId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +func (id *SecurityAdminConfigurationRuleCollectionId) FromParseResult(input resourceids.ParseResult) error { + var ok bool + + if id.SubscriptionId, ok = input.Parsed["subscriptionId"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "subscriptionId", input) + } + + if id.ResourceGroupName, ok = input.Parsed["resourceGroupName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "resourceGroupName", input) + } + + if id.NetworkManagerName, ok = input.Parsed["networkManagerName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "networkManagerName", input) + } + + if id.SecurityAdminConfigurationName, ok = input.Parsed["securityAdminConfigurationName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "securityAdminConfigurationName", input) + } + + if id.RuleCollectionName, ok = input.Parsed["ruleCollectionName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "ruleCollectionName", input) + } + + return nil +} + +// ValidateSecurityAdminConfigurationRuleCollectionID checks that 'input' can be parsed as a Security Admin Configuration Rule Collection ID +func ValidateSecurityAdminConfigurationRuleCollectionID(input interface{}, key string) (warnings []string, errors []error) { + v, ok := input.(string) + if !ok { + errors = append(errors, fmt.Errorf("expected %q to be a string", key)) + return + } + + if _, err := ParseSecurityAdminConfigurationRuleCollectionID(v); err != nil { + errors = append(errors, err) + } + + return +} + +// ID returns the formatted Security Admin Configuration Rule Collection ID +func (id SecurityAdminConfigurationRuleCollectionId) ID() string { + fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.Network/networkManagers/%s/securityAdminConfigurations/%s/ruleCollections/%s" + return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.NetworkManagerName, id.SecurityAdminConfigurationName, id.RuleCollectionName) +} + +// Segments returns a slice of Resource ID Segments which comprise this Security Admin Configuration Rule Collection ID +func (id SecurityAdminConfigurationRuleCollectionId) Segments() []resourceids.Segment { + return []resourceids.Segment{ + resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), + resourceids.SubscriptionIdSegment("subscriptionId", "12345678-1234-9876-4563-123456789012"), + resourceids.StaticSegment("staticResourceGroups", "resourceGroups", "resourceGroups"), + resourceids.ResourceGroupSegment("resourceGroupName", "example-resource-group"), + resourceids.StaticSegment("staticProviders", "providers", "providers"), + resourceids.ResourceProviderSegment("staticMicrosoftNetwork", "Microsoft.Network", "Microsoft.Network"), + resourceids.StaticSegment("staticNetworkManagers", "networkManagers", "networkManagers"), + resourceids.UserSpecifiedSegment("networkManagerName", "networkManagerName"), + resourceids.StaticSegment("staticSecurityAdminConfigurations", "securityAdminConfigurations", "securityAdminConfigurations"), + resourceids.UserSpecifiedSegment("securityAdminConfigurationName", "securityAdminConfigurationName"), + resourceids.StaticSegment("staticRuleCollections", "ruleCollections", "ruleCollections"), + resourceids.UserSpecifiedSegment("ruleCollectionName", "ruleCollectionName"), + } +} + +// String returns a human-readable description of this Security Admin Configuration Rule Collection ID +func (id SecurityAdminConfigurationRuleCollectionId) String() string { + components := []string{ + fmt.Sprintf("Subscription: %q", id.SubscriptionId), + fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), + fmt.Sprintf("Network Manager Name: %q", id.NetworkManagerName), + fmt.Sprintf("Security Admin Configuration Name: %q", id.SecurityAdminConfigurationName), + fmt.Sprintf("Rule Collection Name: %q", id.RuleCollectionName), + } + return fmt.Sprintf("Security Admin Configuration Rule Collection (%s)", strings.Join(components, "\n")) +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/adminrulecollections/method_createorupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/adminrulecollections/method_createorupdate.go new file mode 100644 index 000000000000..aa29bb560319 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/adminrulecollections/method_createorupdate.go @@ -0,0 +1,58 @@ +package adminrulecollections + +import ( + "context" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type CreateOrUpdateOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *AdminRuleCollection +} + +// CreateOrUpdate ... +func (c AdminRuleCollectionsClient) CreateOrUpdate(ctx context.Context, id SecurityAdminConfigurationRuleCollectionId, input AdminRuleCollection) (result CreateOrUpdateOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusCreated, + http.StatusOK, + }, + HttpMethod: http.MethodPut, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + if err = req.Marshal(input); err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var model AdminRuleCollection + result.Model = &model + if err = resp.Unmarshal(result.Model); err != nil { + return + } + + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/adminrulecollections/method_delete.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/adminrulecollections/method_delete.go new file mode 100644 index 000000000000..cb7d683e73a8 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/adminrulecollections/method_delete.go @@ -0,0 +1,100 @@ +package adminrulecollections + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/client/pollers" + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type DeleteOperationResponse struct { + Poller pollers.Poller + HttpResponse *http.Response + OData *odata.OData +} + +type DeleteOperationOptions struct { + Force *bool +} + +func DefaultDeleteOperationOptions() DeleteOperationOptions { + return DeleteOperationOptions{} +} + +func (o DeleteOperationOptions) ToHeaders() *client.Headers { + out := client.Headers{} + + return &out +} + +func (o DeleteOperationOptions) ToOData() *odata.Query { + out := odata.Query{} + + return &out +} + +func (o DeleteOperationOptions) ToQuery() *client.QueryParams { + out := client.QueryParams{} + if o.Force != nil { + out.Append("force", fmt.Sprintf("%v", *o.Force)) + } + return &out +} + +// Delete ... +func (c AdminRuleCollectionsClient) Delete(ctx context.Context, id SecurityAdminConfigurationRuleCollectionId, options DeleteOperationOptions) (result DeleteOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusAccepted, + http.StatusNoContent, + http.StatusOK, + }, + HttpMethod: http.MethodDelete, + OptionsObject: options, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client) + if err != nil { + return + } + + return +} + +// DeleteThenPoll performs Delete then polls until it's completed +func (c AdminRuleCollectionsClient) DeleteThenPoll(ctx context.Context, id SecurityAdminConfigurationRuleCollectionId, options DeleteOperationOptions) error { + result, err := c.Delete(ctx, id, options) + if err != nil { + return fmt.Errorf("performing Delete: %+v", err) + } + + if err := result.Poller.PollUntilDone(ctx); err != nil { + return fmt.Errorf("polling after Delete: %+v", err) + } + + return nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/adminrulecollections/method_get.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/adminrulecollections/method_get.go new file mode 100644 index 000000000000..4f1440daece4 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/adminrulecollections/method_get.go @@ -0,0 +1,53 @@ +package adminrulecollections + +import ( + "context" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type GetOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *AdminRuleCollection +} + +// Get ... +func (c AdminRuleCollectionsClient) Get(ctx context.Context, id SecurityAdminConfigurationRuleCollectionId) (result GetOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var model AdminRuleCollection + result.Model = &model + if err = resp.Unmarshal(result.Model); err != nil { + return + } + + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/adminrulecollections/method_list.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/adminrulecollections/method_list.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/adminrulecollections/method_list.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/adminrulecollections/method_list.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/adminrulecollections/model_adminrulecollection.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/adminrulecollections/model_adminrulecollection.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/adminrulecollections/model_adminrulecollection.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/adminrulecollections/model_adminrulecollection.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/adminrulecollections/model_adminrulecollectionpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/adminrulecollections/model_adminrulecollectionpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/adminrulecollections/model_adminrulecollectionpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/adminrulecollections/model_adminrulecollectionpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/adminrulecollections/model_networkmanagersecuritygroupitem.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/adminrulecollections/model_networkmanagersecuritygroupitem.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/adminrulecollections/model_networkmanagersecuritygroupitem.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/adminrulecollections/model_networkmanagersecuritygroupitem.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/adminrulecollections/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/adminrulecollections/predicates.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/adminrulecollections/predicates.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/adminrulecollections/predicates.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/adminrulecollections/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/adminrulecollections/version.go new file mode 100644 index 000000000000..f020535927b1 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/adminrulecollections/version.go @@ -0,0 +1,10 @@ +package adminrulecollections + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2024-03-01" + +func userAgent() string { + return "hashicorp/go-azure-sdk/adminrulecollections/2024-03-01" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/adminrules/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/adminrules/README.md new file mode 100644 index 000000000000..32b418ffc4ef --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/adminrules/README.md @@ -0,0 +1,86 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/adminrules` Documentation + +The `adminrules` SDK allows for interaction with Azure Resource Manager `network` (API Version `2024-03-01`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/adminrules" +``` + + +### Client Initialization + +```go +client := adminrules.NewAdminRulesClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `AdminRulesClient.CreateOrUpdate` + +```go +ctx := context.TODO() +id := adminrules.NewSecurityAdminConfigurationRuleCollectionRuleID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkManagerName", "securityAdminConfigurationName", "ruleCollectionName", "ruleName") + +payload := adminrules.BaseAdminRule{ + // ... +} + + +read, err := client.CreateOrUpdate(ctx, id, payload) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `AdminRulesClient.Delete` + +```go +ctx := context.TODO() +id := adminrules.NewSecurityAdminConfigurationRuleCollectionRuleID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkManagerName", "securityAdminConfigurationName", "ruleCollectionName", "ruleName") + +if err := client.DeleteThenPoll(ctx, id, adminrules.DefaultDeleteOperationOptions()); err != nil { + // handle the error +} +``` + + +### Example Usage: `AdminRulesClient.Get` + +```go +ctx := context.TODO() +id := adminrules.NewSecurityAdminConfigurationRuleCollectionRuleID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkManagerName", "securityAdminConfigurationName", "ruleCollectionName", "ruleName") + +read, err := client.Get(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `AdminRulesClient.List` + +```go +ctx := context.TODO() +id := adminrules.NewSecurityAdminConfigurationRuleCollectionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkManagerName", "securityAdminConfigurationName", "ruleCollectionName") + +// alternatively `client.List(ctx, id)` can be used to do batched pagination +items, err := client.ListComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/adminrules/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/adminrules/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/adminrules/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/adminrules/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/adminrules/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/adminrules/constants.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/adminrules/constants.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/adminrules/constants.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/adminrules/id_securityadminconfigurationrulecollection.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/adminrules/id_securityadminconfigurationrulecollection.go new file mode 100644 index 000000000000..cc58659b8781 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/adminrules/id_securityadminconfigurationrulecollection.go @@ -0,0 +1,148 @@ +package adminrules + +import ( + "fmt" + "strings" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/recaser" + "github.com/hashicorp/go-azure-helpers/resourcemanager/resourceids" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +func init() { + recaser.RegisterResourceId(&SecurityAdminConfigurationRuleCollectionId{}) +} + +var _ resourceids.ResourceId = &SecurityAdminConfigurationRuleCollectionId{} + +// SecurityAdminConfigurationRuleCollectionId is a struct representing the Resource ID for a Security Admin Configuration Rule Collection +type SecurityAdminConfigurationRuleCollectionId struct { + SubscriptionId string + ResourceGroupName string + NetworkManagerName string + SecurityAdminConfigurationName string + RuleCollectionName string +} + +// NewSecurityAdminConfigurationRuleCollectionID returns a new SecurityAdminConfigurationRuleCollectionId struct +func NewSecurityAdminConfigurationRuleCollectionID(subscriptionId string, resourceGroupName string, networkManagerName string, securityAdminConfigurationName string, ruleCollectionName string) SecurityAdminConfigurationRuleCollectionId { + return SecurityAdminConfigurationRuleCollectionId{ + SubscriptionId: subscriptionId, + ResourceGroupName: resourceGroupName, + NetworkManagerName: networkManagerName, + SecurityAdminConfigurationName: securityAdminConfigurationName, + RuleCollectionName: ruleCollectionName, + } +} + +// ParseSecurityAdminConfigurationRuleCollectionID parses 'input' into a SecurityAdminConfigurationRuleCollectionId +func ParseSecurityAdminConfigurationRuleCollectionID(input string) (*SecurityAdminConfigurationRuleCollectionId, error) { + parser := resourceids.NewParserFromResourceIdType(&SecurityAdminConfigurationRuleCollectionId{}) + parsed, err := parser.Parse(input, false) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := SecurityAdminConfigurationRuleCollectionId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +// ParseSecurityAdminConfigurationRuleCollectionIDInsensitively parses 'input' case-insensitively into a SecurityAdminConfigurationRuleCollectionId +// note: this method should only be used for API response data and not user input +func ParseSecurityAdminConfigurationRuleCollectionIDInsensitively(input string) (*SecurityAdminConfigurationRuleCollectionId, error) { + parser := resourceids.NewParserFromResourceIdType(&SecurityAdminConfigurationRuleCollectionId{}) + parsed, err := parser.Parse(input, true) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := SecurityAdminConfigurationRuleCollectionId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +func (id *SecurityAdminConfigurationRuleCollectionId) FromParseResult(input resourceids.ParseResult) error { + var ok bool + + if id.SubscriptionId, ok = input.Parsed["subscriptionId"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "subscriptionId", input) + } + + if id.ResourceGroupName, ok = input.Parsed["resourceGroupName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "resourceGroupName", input) + } + + if id.NetworkManagerName, ok = input.Parsed["networkManagerName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "networkManagerName", input) + } + + if id.SecurityAdminConfigurationName, ok = input.Parsed["securityAdminConfigurationName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "securityAdminConfigurationName", input) + } + + if id.RuleCollectionName, ok = input.Parsed["ruleCollectionName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "ruleCollectionName", input) + } + + return nil +} + +// ValidateSecurityAdminConfigurationRuleCollectionID checks that 'input' can be parsed as a Security Admin Configuration Rule Collection ID +func ValidateSecurityAdminConfigurationRuleCollectionID(input interface{}, key string) (warnings []string, errors []error) { + v, ok := input.(string) + if !ok { + errors = append(errors, fmt.Errorf("expected %q to be a string", key)) + return + } + + if _, err := ParseSecurityAdminConfigurationRuleCollectionID(v); err != nil { + errors = append(errors, err) + } + + return +} + +// ID returns the formatted Security Admin Configuration Rule Collection ID +func (id SecurityAdminConfigurationRuleCollectionId) ID() string { + fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.Network/networkManagers/%s/securityAdminConfigurations/%s/ruleCollections/%s" + return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.NetworkManagerName, id.SecurityAdminConfigurationName, id.RuleCollectionName) +} + +// Segments returns a slice of Resource ID Segments which comprise this Security Admin Configuration Rule Collection ID +func (id SecurityAdminConfigurationRuleCollectionId) Segments() []resourceids.Segment { + return []resourceids.Segment{ + resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), + resourceids.SubscriptionIdSegment("subscriptionId", "12345678-1234-9876-4563-123456789012"), + resourceids.StaticSegment("staticResourceGroups", "resourceGroups", "resourceGroups"), + resourceids.ResourceGroupSegment("resourceGroupName", "example-resource-group"), + resourceids.StaticSegment("staticProviders", "providers", "providers"), + resourceids.ResourceProviderSegment("staticMicrosoftNetwork", "Microsoft.Network", "Microsoft.Network"), + resourceids.StaticSegment("staticNetworkManagers", "networkManagers", "networkManagers"), + resourceids.UserSpecifiedSegment("networkManagerName", "networkManagerName"), + resourceids.StaticSegment("staticSecurityAdminConfigurations", "securityAdminConfigurations", "securityAdminConfigurations"), + resourceids.UserSpecifiedSegment("securityAdminConfigurationName", "securityAdminConfigurationName"), + resourceids.StaticSegment("staticRuleCollections", "ruleCollections", "ruleCollections"), + resourceids.UserSpecifiedSegment("ruleCollectionName", "ruleCollectionName"), + } +} + +// String returns a human-readable description of this Security Admin Configuration Rule Collection ID +func (id SecurityAdminConfigurationRuleCollectionId) String() string { + components := []string{ + fmt.Sprintf("Subscription: %q", id.SubscriptionId), + fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), + fmt.Sprintf("Network Manager Name: %q", id.NetworkManagerName), + fmt.Sprintf("Security Admin Configuration Name: %q", id.SecurityAdminConfigurationName), + fmt.Sprintf("Rule Collection Name: %q", id.RuleCollectionName), + } + return fmt.Sprintf("Security Admin Configuration Rule Collection (%s)", strings.Join(components, "\n")) +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/adminrules/id_securityadminconfigurationrulecollectionrule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/adminrules/id_securityadminconfigurationrulecollectionrule.go new file mode 100644 index 000000000000..9ff1e96755df --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/adminrules/id_securityadminconfigurationrulecollectionrule.go @@ -0,0 +1,157 @@ +package adminrules + +import ( + "fmt" + "strings" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/recaser" + "github.com/hashicorp/go-azure-helpers/resourcemanager/resourceids" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +func init() { + recaser.RegisterResourceId(&SecurityAdminConfigurationRuleCollectionRuleId{}) +} + +var _ resourceids.ResourceId = &SecurityAdminConfigurationRuleCollectionRuleId{} + +// SecurityAdminConfigurationRuleCollectionRuleId is a struct representing the Resource ID for a Security Admin Configuration Rule Collection Rule +type SecurityAdminConfigurationRuleCollectionRuleId struct { + SubscriptionId string + ResourceGroupName string + NetworkManagerName string + SecurityAdminConfigurationName string + RuleCollectionName string + RuleName string +} + +// NewSecurityAdminConfigurationRuleCollectionRuleID returns a new SecurityAdminConfigurationRuleCollectionRuleId struct +func NewSecurityAdminConfigurationRuleCollectionRuleID(subscriptionId string, resourceGroupName string, networkManagerName string, securityAdminConfigurationName string, ruleCollectionName string, ruleName string) SecurityAdminConfigurationRuleCollectionRuleId { + return SecurityAdminConfigurationRuleCollectionRuleId{ + SubscriptionId: subscriptionId, + ResourceGroupName: resourceGroupName, + NetworkManagerName: networkManagerName, + SecurityAdminConfigurationName: securityAdminConfigurationName, + RuleCollectionName: ruleCollectionName, + RuleName: ruleName, + } +} + +// ParseSecurityAdminConfigurationRuleCollectionRuleID parses 'input' into a SecurityAdminConfigurationRuleCollectionRuleId +func ParseSecurityAdminConfigurationRuleCollectionRuleID(input string) (*SecurityAdminConfigurationRuleCollectionRuleId, error) { + parser := resourceids.NewParserFromResourceIdType(&SecurityAdminConfigurationRuleCollectionRuleId{}) + parsed, err := parser.Parse(input, false) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := SecurityAdminConfigurationRuleCollectionRuleId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +// ParseSecurityAdminConfigurationRuleCollectionRuleIDInsensitively parses 'input' case-insensitively into a SecurityAdminConfigurationRuleCollectionRuleId +// note: this method should only be used for API response data and not user input +func ParseSecurityAdminConfigurationRuleCollectionRuleIDInsensitively(input string) (*SecurityAdminConfigurationRuleCollectionRuleId, error) { + parser := resourceids.NewParserFromResourceIdType(&SecurityAdminConfigurationRuleCollectionRuleId{}) + parsed, err := parser.Parse(input, true) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := SecurityAdminConfigurationRuleCollectionRuleId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +func (id *SecurityAdminConfigurationRuleCollectionRuleId) FromParseResult(input resourceids.ParseResult) error { + var ok bool + + if id.SubscriptionId, ok = input.Parsed["subscriptionId"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "subscriptionId", input) + } + + if id.ResourceGroupName, ok = input.Parsed["resourceGroupName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "resourceGroupName", input) + } + + if id.NetworkManagerName, ok = input.Parsed["networkManagerName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "networkManagerName", input) + } + + if id.SecurityAdminConfigurationName, ok = input.Parsed["securityAdminConfigurationName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "securityAdminConfigurationName", input) + } + + if id.RuleCollectionName, ok = input.Parsed["ruleCollectionName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "ruleCollectionName", input) + } + + if id.RuleName, ok = input.Parsed["ruleName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "ruleName", input) + } + + return nil +} + +// ValidateSecurityAdminConfigurationRuleCollectionRuleID checks that 'input' can be parsed as a Security Admin Configuration Rule Collection Rule ID +func ValidateSecurityAdminConfigurationRuleCollectionRuleID(input interface{}, key string) (warnings []string, errors []error) { + v, ok := input.(string) + if !ok { + errors = append(errors, fmt.Errorf("expected %q to be a string", key)) + return + } + + if _, err := ParseSecurityAdminConfigurationRuleCollectionRuleID(v); err != nil { + errors = append(errors, err) + } + + return +} + +// ID returns the formatted Security Admin Configuration Rule Collection Rule ID +func (id SecurityAdminConfigurationRuleCollectionRuleId) ID() string { + fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.Network/networkManagers/%s/securityAdminConfigurations/%s/ruleCollections/%s/rules/%s" + return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.NetworkManagerName, id.SecurityAdminConfigurationName, id.RuleCollectionName, id.RuleName) +} + +// Segments returns a slice of Resource ID Segments which comprise this Security Admin Configuration Rule Collection Rule ID +func (id SecurityAdminConfigurationRuleCollectionRuleId) Segments() []resourceids.Segment { + return []resourceids.Segment{ + resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), + resourceids.SubscriptionIdSegment("subscriptionId", "12345678-1234-9876-4563-123456789012"), + resourceids.StaticSegment("staticResourceGroups", "resourceGroups", "resourceGroups"), + resourceids.ResourceGroupSegment("resourceGroupName", "example-resource-group"), + resourceids.StaticSegment("staticProviders", "providers", "providers"), + resourceids.ResourceProviderSegment("staticMicrosoftNetwork", "Microsoft.Network", "Microsoft.Network"), + resourceids.StaticSegment("staticNetworkManagers", "networkManagers", "networkManagers"), + resourceids.UserSpecifiedSegment("networkManagerName", "networkManagerName"), + resourceids.StaticSegment("staticSecurityAdminConfigurations", "securityAdminConfigurations", "securityAdminConfigurations"), + resourceids.UserSpecifiedSegment("securityAdminConfigurationName", "securityAdminConfigurationName"), + resourceids.StaticSegment("staticRuleCollections", "ruleCollections", "ruleCollections"), + resourceids.UserSpecifiedSegment("ruleCollectionName", "ruleCollectionName"), + resourceids.StaticSegment("staticRules", "rules", "rules"), + resourceids.UserSpecifiedSegment("ruleName", "ruleName"), + } +} + +// String returns a human-readable description of this Security Admin Configuration Rule Collection Rule ID +func (id SecurityAdminConfigurationRuleCollectionRuleId) String() string { + components := []string{ + fmt.Sprintf("Subscription: %q", id.SubscriptionId), + fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), + fmt.Sprintf("Network Manager Name: %q", id.NetworkManagerName), + fmt.Sprintf("Security Admin Configuration Name: %q", id.SecurityAdminConfigurationName), + fmt.Sprintf("Rule Collection Name: %q", id.RuleCollectionName), + fmt.Sprintf("Rule Name: %q", id.RuleName), + } + return fmt.Sprintf("Security Admin Configuration Rule Collection Rule (%s)", strings.Join(components, "\n")) +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/adminrules/method_createorupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/adminrules/method_createorupdate.go new file mode 100644 index 000000000000..ab848b3599ea --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/adminrules/method_createorupdate.go @@ -0,0 +1,63 @@ +package adminrules + +import ( + "context" + "encoding/json" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type CreateOrUpdateOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model BaseAdminRule +} + +// CreateOrUpdate ... +func (c AdminRulesClient) CreateOrUpdate(ctx context.Context, id SecurityAdminConfigurationRuleCollectionRuleId, input BaseAdminRule) (result CreateOrUpdateOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusCreated, + http.StatusOK, + }, + HttpMethod: http.MethodPut, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + if err = req.Marshal(input); err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var respObj json.RawMessage + if err = resp.Unmarshal(&respObj); err != nil { + return + } + model, err := UnmarshalBaseAdminRuleImplementation(respObj) + if err != nil { + return + } + result.Model = model + + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/adminrules/method_delete.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/adminrules/method_delete.go new file mode 100644 index 000000000000..fed9fcb52389 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/adminrules/method_delete.go @@ -0,0 +1,100 @@ +package adminrules + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/client/pollers" + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type DeleteOperationResponse struct { + Poller pollers.Poller + HttpResponse *http.Response + OData *odata.OData +} + +type DeleteOperationOptions struct { + Force *bool +} + +func DefaultDeleteOperationOptions() DeleteOperationOptions { + return DeleteOperationOptions{} +} + +func (o DeleteOperationOptions) ToHeaders() *client.Headers { + out := client.Headers{} + + return &out +} + +func (o DeleteOperationOptions) ToOData() *odata.Query { + out := odata.Query{} + + return &out +} + +func (o DeleteOperationOptions) ToQuery() *client.QueryParams { + out := client.QueryParams{} + if o.Force != nil { + out.Append("force", fmt.Sprintf("%v", *o.Force)) + } + return &out +} + +// Delete ... +func (c AdminRulesClient) Delete(ctx context.Context, id SecurityAdminConfigurationRuleCollectionRuleId, options DeleteOperationOptions) (result DeleteOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusAccepted, + http.StatusNoContent, + http.StatusOK, + }, + HttpMethod: http.MethodDelete, + OptionsObject: options, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client) + if err != nil { + return + } + + return +} + +// DeleteThenPoll performs Delete then polls until it's completed +func (c AdminRulesClient) DeleteThenPoll(ctx context.Context, id SecurityAdminConfigurationRuleCollectionRuleId, options DeleteOperationOptions) error { + result, err := c.Delete(ctx, id, options) + if err != nil { + return fmt.Errorf("performing Delete: %+v", err) + } + + if err := result.Poller.PollUntilDone(ctx); err != nil { + return fmt.Errorf("polling after Delete: %+v", err) + } + + return nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/adminrules/method_get.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/adminrules/method_get.go new file mode 100644 index 000000000000..5373d7e1d2bc --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/adminrules/method_get.go @@ -0,0 +1,58 @@ +package adminrules + +import ( + "context" + "encoding/json" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type GetOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model BaseAdminRule +} + +// Get ... +func (c AdminRulesClient) Get(ctx context.Context, id SecurityAdminConfigurationRuleCollectionRuleId) (result GetOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var respObj json.RawMessage + if err = resp.Unmarshal(&respObj); err != nil { + return + } + model, err := UnmarshalBaseAdminRuleImplementation(respObj) + if err != nil { + return + } + result.Model = model + + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/adminrules/method_list.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/adminrules/method_list.go new file mode 100644 index 000000000000..1ae59bc10882 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/adminrules/method_list.go @@ -0,0 +1,117 @@ +package adminrules + +import ( + "context" + "encoding/json" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ListOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *[]BaseAdminRule +} + +type ListCompleteResult struct { + LatestHttpResponse *http.Response + Items []BaseAdminRule +} + +type ListCustomPager struct { + NextLink *odata.Link `json:"nextLink"` +} + +func (p *ListCustomPager) NextPageLink() *odata.Link { + defer func() { + p.NextLink = nil + }() + + return p.NextLink +} + +// List ... +func (c AdminRulesClient) List(ctx context.Context, id SecurityAdminConfigurationRuleCollectionId) (result ListOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Pager: &ListCustomPager{}, + Path: fmt.Sprintf("%s/rules", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.ExecutePaged(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var values struct { + Values *[]json.RawMessage `json:"value"` + } + if err = resp.Unmarshal(&values); err != nil { + return + } + + temp := make([]BaseAdminRule, 0) + if values.Values != nil { + for i, v := range *values.Values { + val, err := UnmarshalBaseAdminRuleImplementation(v) + if err != nil { + err = fmt.Errorf("unmarshalling item %d for BaseAdminRule (%q): %+v", i, v, err) + return result, err + } + temp = append(temp, val) + } + } + result.Model = &temp + + return +} + +// ListComplete retrieves all the results into a single object +func (c AdminRulesClient) ListComplete(ctx context.Context, id SecurityAdminConfigurationRuleCollectionId) (ListCompleteResult, error) { + return c.ListCompleteMatchingPredicate(ctx, id, BaseAdminRuleOperationPredicate{}) +} + +// ListCompleteMatchingPredicate retrieves all the results and then applies the predicate +func (c AdminRulesClient) ListCompleteMatchingPredicate(ctx context.Context, id SecurityAdminConfigurationRuleCollectionId, predicate BaseAdminRuleOperationPredicate) (result ListCompleteResult, err error) { + items := make([]BaseAdminRule, 0) + + resp, err := c.List(ctx, id) + if err != nil { + result.LatestHttpResponse = resp.HttpResponse + err = fmt.Errorf("loading results: %+v", err) + return + } + if resp.Model != nil { + for _, v := range *resp.Model { + if predicate.Matches(v) { + items = append(items, v) + } + } + } + + result = ListCompleteResult{ + LatestHttpResponse: resp.HttpResponse, + Items: items, + } + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/adminrules/model_addressprefixitem.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/adminrules/model_addressprefixitem.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/adminrules/model_addressprefixitem.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/adminrules/model_addressprefixitem.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/adminrules/model_adminpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/adminrules/model_adminpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/adminrules/model_adminpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/adminrules/model_adminpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/adminrules/model_adminrule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/adminrules/model_adminrule.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/adminrules/model_adminrule.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/adminrules/model_adminrule.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/adminrules/model_baseadminrule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/adminrules/model_baseadminrule.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/adminrules/model_baseadminrule.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/adminrules/model_baseadminrule.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/adminrules/model_defaultadminpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/adminrules/model_defaultadminpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/adminrules/model_defaultadminpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/adminrules/model_defaultadminpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/adminrules/model_defaultadminrule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/adminrules/model_defaultadminrule.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/adminrules/model_defaultadminrule.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/adminrules/model_defaultadminrule.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/adminrules/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/adminrules/predicates.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/adminrules/predicates.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/adminrules/predicates.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/adminrules/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/adminrules/version.go new file mode 100644 index 000000000000..c0386d4dc40c --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/adminrules/version.go @@ -0,0 +1,10 @@ +package adminrules + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2024-03-01" + +func userAgent() string { + return "hashicorp/go-azure-sdk/adminrules/2024-03-01" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/README.md new file mode 100644 index 000000000000..548c490d7446 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/README.md @@ -0,0 +1,82 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections` Documentation + +The `applicationgatewayprivateendpointconnections` SDK allows for interaction with Azure Resource Manager `network` (API Version `2024-03-01`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections" +``` + + +### Client Initialization + +```go +client := applicationgatewayprivateendpointconnections.NewApplicationGatewayPrivateEndpointConnectionsClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `ApplicationGatewayPrivateEndpointConnectionsClient.Delete` + +```go +ctx := context.TODO() +id := applicationgatewayprivateendpointconnections.NewApplicationGatewayPrivateEndpointConnectionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "applicationGatewayName", "privateEndpointConnectionName") + +if err := client.DeleteThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `ApplicationGatewayPrivateEndpointConnectionsClient.Get` + +```go +ctx := context.TODO() +id := applicationgatewayprivateendpointconnections.NewApplicationGatewayPrivateEndpointConnectionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "applicationGatewayName", "privateEndpointConnectionName") + +read, err := client.Get(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `ApplicationGatewayPrivateEndpointConnectionsClient.List` + +```go +ctx := context.TODO() +id := applicationgatewayprivateendpointconnections.NewApplicationGatewayID("12345678-1234-9876-4563-123456789012", "example-resource-group", "applicationGatewayName") + +// alternatively `client.List(ctx, id)` can be used to do batched pagination +items, err := client.ListComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `ApplicationGatewayPrivateEndpointConnectionsClient.Update` + +```go +ctx := context.TODO() +id := applicationgatewayprivateendpointconnections.NewApplicationGatewayPrivateEndpointConnectionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "applicationGatewayName", "privateEndpointConnectionName") + +payload := applicationgatewayprivateendpointconnections.ApplicationGatewayPrivateEndpointConnection{ + // ... +} + + +if err := client.UpdateThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/constants.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/constants.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/constants.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/id_applicationgateway.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/id_applicationgateway.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/id_applicationgateway.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/id_applicationgateway.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/id_applicationgatewayprivateendpointconnection.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/id_applicationgatewayprivateendpointconnection.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/id_applicationgatewayprivateendpointconnection.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/id_applicationgatewayprivateendpointconnection.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/method_delete.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/method_delete.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/method_delete.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/method_delete.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/method_get.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/method_get.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/method_get.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/method_get.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/method_list.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/method_list.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/method_list.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/method_list.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/method_update.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/method_update.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/method_update.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/method_update.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_applicationgatewaybackendaddress.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_applicationgatewaybackendaddress.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_applicationgatewaybackendaddress.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_applicationgatewaybackendaddress.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_applicationgatewaybackendaddresspool.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_applicationgatewaybackendaddresspool.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_applicationgatewaybackendaddresspool.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_applicationgatewaybackendaddresspool.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_applicationgatewaybackendaddresspoolpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_applicationgatewaybackendaddresspoolpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_applicationgatewaybackendaddresspoolpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_applicationgatewaybackendaddresspoolpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_applicationgatewayipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_applicationgatewayipconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_applicationgatewayipconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_applicationgatewayipconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_applicationgatewayipconfigurationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_applicationgatewayipconfigurationpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_applicationgatewayipconfigurationpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_applicationgatewayipconfigurationpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_applicationgatewayprivateendpointconnection.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_applicationgatewayprivateendpointconnection.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_applicationgatewayprivateendpointconnection.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_applicationgatewayprivateendpointconnection.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_applicationgatewayprivateendpointconnectionproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_applicationgatewayprivateendpointconnectionproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_applicationgatewayprivateendpointconnectionproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_applicationgatewayprivateendpointconnectionproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_applicationsecuritygroup.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_applicationsecuritygroup.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_applicationsecuritygroup.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_applicationsecuritygroup.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_applicationsecuritygrouppropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_applicationsecuritygrouppropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_applicationsecuritygrouppropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_applicationsecuritygrouppropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_backendaddresspool.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_backendaddresspool.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_backendaddresspool.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_backendaddresspool.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_backendaddresspoolpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_backendaddresspoolpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_backendaddresspoolpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_backendaddresspoolpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_customdnsconfigpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_customdnsconfigpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_customdnsconfigpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_customdnsconfigpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_ddossettings.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_ddossettings.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_ddossettings.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_ddossettings.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_delegation.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_delegation.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_delegation.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_delegation.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_flowlog.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_flowlog.go new file mode 100644 index 000000000000..1222520d55aa --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_flowlog.go @@ -0,0 +1,19 @@ +package applicationgatewayprivateendpointconnections + +import ( + "github.com/hashicorp/go-azure-helpers/resourcemanager/identity" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type FlowLog struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Identity *identity.SystemAndUserAssignedMap `json:"identity,omitempty"` + Location *string `json:"location,omitempty"` + Name *string `json:"name,omitempty"` + Properties *FlowLogPropertiesFormat `json:"properties,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_flowlogformatparameters.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_flowlogformatparameters.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_flowlogformatparameters.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_flowlogformatparameters.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_flowlogpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_flowlogpropertiesformat.go new file mode 100644 index 000000000000..4081ff944153 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_flowlogpropertiesformat.go @@ -0,0 +1,16 @@ +package applicationgatewayprivateendpointconnections + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type FlowLogPropertiesFormat struct { + Enabled *bool `json:"enabled,omitempty"` + EnabledFilteringCriteria *string `json:"enabledFilteringCriteria,omitempty"` + FlowAnalyticsConfiguration *TrafficAnalyticsProperties `json:"flowAnalyticsConfiguration,omitempty"` + Format *FlowLogFormatParameters `json:"format,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + RetentionPolicy *RetentionPolicyParameters `json:"retentionPolicy,omitempty"` + StorageId string `json:"storageId"` + TargetResourceGuid *string `json:"targetResourceGuid,omitempty"` + TargetResourceId string `json:"targetResourceId"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_frontendipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_frontendipconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_frontendipconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_frontendipconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_frontendipconfigurationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_frontendipconfigurationpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_frontendipconfigurationpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_frontendipconfigurationpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_gatewayloadbalancertunnelinterface.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_gatewayloadbalancertunnelinterface.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_gatewayloadbalancertunnelinterface.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_gatewayloadbalancertunnelinterface.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_inboundnatrule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_inboundnatrule.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_inboundnatrule.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_inboundnatrule.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_inboundnatrulepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_inboundnatrulepropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_inboundnatrulepropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_inboundnatrulepropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_ipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_ipconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_ipconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_ipconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_ipconfigurationprofile.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_ipconfigurationprofile.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_ipconfigurationprofile.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_ipconfigurationprofile.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_ipconfigurationprofilepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_ipconfigurationprofilepropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_ipconfigurationprofilepropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_ipconfigurationprofilepropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_ipconfigurationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_ipconfigurationpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_ipconfigurationpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_ipconfigurationpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_iptag.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_iptag.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_iptag.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_iptag.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_loadbalancerbackendaddress.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_loadbalancerbackendaddress.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_loadbalancerbackendaddress.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_loadbalancerbackendaddress.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_loadbalancerbackendaddresspropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_loadbalancerbackendaddresspropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_loadbalancerbackendaddresspropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_loadbalancerbackendaddresspropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_natgateway.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_natgateway.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_natgateway.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_natgateway.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_natgatewaypropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_natgatewaypropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_natgatewaypropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_natgatewaypropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_natgatewaysku.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_natgatewaysku.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_natgatewaysku.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_natgatewaysku.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_natruleportmapping.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_natruleportmapping.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_natruleportmapping.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_natruleportmapping.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_networkinterface.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_networkinterface.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_networkinterface.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_networkinterface.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_networkinterfacednssettings.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_networkinterfacednssettings.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_networkinterfacednssettings.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_networkinterfacednssettings.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_networkinterfaceipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_networkinterfaceipconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_networkinterfaceipconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_networkinterfaceipconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_networkinterfaceipconfigurationprivatelinkconnectionproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_networkinterfaceipconfigurationprivatelinkconnectionproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_networkinterfaceipconfigurationprivatelinkconnectionproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_networkinterfaceipconfigurationprivatelinkconnectionproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_networkinterfaceipconfigurationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_networkinterfaceipconfigurationpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_networkinterfaceipconfigurationpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_networkinterfaceipconfigurationpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_networkinterfacepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_networkinterfacepropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_networkinterfacepropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_networkinterfacepropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_networkinterfacetapconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_networkinterfacetapconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_networkinterfacetapconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_networkinterfacetapconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_networkinterfacetapconfigurationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_networkinterfacetapconfigurationpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_networkinterfacetapconfigurationpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_networkinterfacetapconfigurationpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_networksecuritygroup.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_networksecuritygroup.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_networksecuritygroup.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_networksecuritygroup.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_networksecuritygrouppropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_networksecuritygrouppropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_networksecuritygrouppropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_networksecuritygrouppropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_privateendpoint.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_privateendpoint.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_privateendpoint.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_privateendpoint.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_privateendpointconnection.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_privateendpointconnection.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_privateendpointconnection.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_privateendpointconnection.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_privateendpointconnectionproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_privateendpointconnectionproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_privateendpointconnectionproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_privateendpointconnectionproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_privateendpointipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_privateendpointipconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_privateendpointipconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_privateendpointipconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_privateendpointipconfigurationproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_privateendpointipconfigurationproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_privateendpointipconfigurationproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_privateendpointipconfigurationproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_privateendpointproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_privateendpointproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_privateendpointproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_privateendpointproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_privatelinkservice.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_privatelinkservice.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_privatelinkservice.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_privatelinkservice.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_privatelinkserviceconnection.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_privatelinkserviceconnection.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_privatelinkserviceconnection.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_privatelinkserviceconnection.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_privatelinkserviceconnectionproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_privatelinkserviceconnectionproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_privatelinkserviceconnectionproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_privatelinkserviceconnectionproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_privatelinkserviceconnectionstate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_privatelinkserviceconnectionstate.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_privatelinkserviceconnectionstate.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_privatelinkserviceconnectionstate.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_privatelinkserviceipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_privatelinkserviceipconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_privatelinkserviceipconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_privatelinkserviceipconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_privatelinkserviceipconfigurationproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_privatelinkserviceipconfigurationproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_privatelinkserviceipconfigurationproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_privatelinkserviceipconfigurationproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_privatelinkserviceproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_privatelinkserviceproperties.go new file mode 100644 index 000000000000..8578a51238a0 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_privatelinkserviceproperties.go @@ -0,0 +1,18 @@ +package applicationgatewayprivateendpointconnections + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PrivateLinkServiceProperties struct { + Alias *string `json:"alias,omitempty"` + AutoApproval *ResourceSet `json:"autoApproval,omitempty"` + DestinationIPAddress *string `json:"destinationIPAddress,omitempty"` + EnableProxyProtocol *bool `json:"enableProxyProtocol,omitempty"` + Fqdns *[]string `json:"fqdns,omitempty"` + IPConfigurations *[]PrivateLinkServiceIPConfiguration `json:"ipConfigurations,omitempty"` + LoadBalancerFrontendIPConfigurations *[]FrontendIPConfiguration `json:"loadBalancerFrontendIpConfigurations,omitempty"` + NetworkInterfaces *[]NetworkInterface `json:"networkInterfaces,omitempty"` + PrivateEndpointConnections *[]PrivateEndpointConnection `json:"privateEndpointConnections,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + Visibility *ResourceSet `json:"visibility,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_publicipaddress.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_publicipaddress.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_publicipaddress.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_publicipaddress.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_publicipaddressdnssettings.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_publicipaddressdnssettings.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_publicipaddressdnssettings.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_publicipaddressdnssettings.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_publicipaddresspropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_publicipaddresspropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_publicipaddresspropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_publicipaddresspropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_publicipaddresssku.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_publicipaddresssku.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_publicipaddresssku.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_publicipaddresssku.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_resourcenavigationlink.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_resourcenavigationlink.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_resourcenavigationlink.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_resourcenavigationlink.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_resourcenavigationlinkformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_resourcenavigationlinkformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_resourcenavigationlinkformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_resourcenavigationlinkformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_resourceset.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_resourceset.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_resourceset.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_resourceset.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_retentionpolicyparameters.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_retentionpolicyparameters.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_retentionpolicyparameters.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_retentionpolicyparameters.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_route.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_route.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_route.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_route.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_routepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_routepropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_routepropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_routepropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_routetable.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_routetable.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_routetable.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_routetable.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_routetablepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_routetablepropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_routetablepropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_routetablepropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_securityrule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_securityrule.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_securityrule.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_securityrule.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_securityrulepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_securityrulepropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_securityrulepropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_securityrulepropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_serviceassociationlink.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_serviceassociationlink.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_serviceassociationlink.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_serviceassociationlink.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_serviceassociationlinkpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_serviceassociationlinkpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_serviceassociationlinkpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_serviceassociationlinkpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_servicedelegationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_servicedelegationpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_servicedelegationpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_servicedelegationpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_serviceendpointpolicy.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_serviceendpointpolicy.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_serviceendpointpolicy.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_serviceendpointpolicy.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_serviceendpointpolicydefinition.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_serviceendpointpolicydefinition.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_serviceendpointpolicydefinition.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_serviceendpointpolicydefinition.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_serviceendpointpolicydefinitionpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_serviceendpointpolicydefinitionpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_serviceendpointpolicydefinitionpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_serviceendpointpolicydefinitionpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_serviceendpointpolicypropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_serviceendpointpolicypropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_serviceendpointpolicypropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_serviceendpointpolicypropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_serviceendpointpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_serviceendpointpropertiesformat.go new file mode 100644 index 000000000000..5deea5147b00 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_serviceendpointpropertiesformat.go @@ -0,0 +1,11 @@ +package applicationgatewayprivateendpointconnections + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ServiceEndpointPropertiesFormat struct { + Locations *[]string `json:"locations,omitempty"` + NetworkIdentifier *SubResource `json:"networkIdentifier,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + Service *string `json:"service,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_subnet.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_subnet.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_subnet.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_subnet.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_subnetpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_subnetpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_subnetpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_subnetpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_subresource.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_subresource.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_subresource.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_subresource.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_trafficanalyticsconfigurationproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_trafficanalyticsconfigurationproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_trafficanalyticsconfigurationproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_trafficanalyticsconfigurationproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_trafficanalyticsproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_trafficanalyticsproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_trafficanalyticsproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_trafficanalyticsproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_virtualnetworktap.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_virtualnetworktap.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_virtualnetworktap.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_virtualnetworktap.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_virtualnetworktappropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_virtualnetworktappropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/model_virtualnetworktappropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/model_virtualnetworktappropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/predicates.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections/predicates.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/predicates.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/version.go new file mode 100644 index 000000000000..8f05a6e32485 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections/version.go @@ -0,0 +1,10 @@ +package applicationgatewayprivateendpointconnections + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2024-03-01" + +func userAgent() string { + return "hashicorp/go-azure-sdk/applicationgatewayprivateendpointconnections/2024-03-01" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivatelinkresources/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivatelinkresources/README.md new file mode 100644 index 000000000000..cb3dad452bd8 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivatelinkresources/README.md @@ -0,0 +1,37 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivatelinkresources` Documentation + +The `applicationgatewayprivatelinkresources` SDK allows for interaction with Azure Resource Manager `network` (API Version `2024-03-01`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivatelinkresources" +``` + + +### Client Initialization + +```go +client := applicationgatewayprivatelinkresources.NewApplicationGatewayPrivateLinkResourcesClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `ApplicationGatewayPrivateLinkResourcesClient.List` + +```go +ctx := context.TODO() +id := applicationgatewayprivatelinkresources.NewApplicationGatewayID("12345678-1234-9876-4563-123456789012", "example-resource-group", "applicationGatewayName") + +// alternatively `client.List(ctx, id)` can be used to do batched pagination +items, err := client.ListComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivatelinkresources/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivatelinkresources/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivatelinkresources/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivatelinkresources/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivatelinkresources/id_applicationgateway.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivatelinkresources/id_applicationgateway.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivatelinkresources/id_applicationgateway.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivatelinkresources/id_applicationgateway.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivatelinkresources/method_list.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivatelinkresources/method_list.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivatelinkresources/method_list.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivatelinkresources/method_list.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivatelinkresources/model_applicationgatewayprivatelinkresource.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivatelinkresources/model_applicationgatewayprivatelinkresource.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivatelinkresources/model_applicationgatewayprivatelinkresource.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivatelinkresources/model_applicationgatewayprivatelinkresource.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivatelinkresources/model_applicationgatewayprivatelinkresourceproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivatelinkresources/model_applicationgatewayprivatelinkresourceproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivatelinkresources/model_applicationgatewayprivatelinkresourceproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivatelinkresources/model_applicationgatewayprivatelinkresourceproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivatelinkresources/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivatelinkresources/predicates.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivatelinkresources/predicates.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivatelinkresources/predicates.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivatelinkresources/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivatelinkresources/version.go new file mode 100644 index 000000000000..18617611436e --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivatelinkresources/version.go @@ -0,0 +1,10 @@ +package applicationgatewayprivatelinkresources + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2024-03-01" + +func userAgent() string { + return "hashicorp/go-azure-sdk/applicationgatewayprivatelinkresources/2024-03-01" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/README.md new file mode 100644 index 000000000000..1ed3a1cf838b --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/README.md @@ -0,0 +1,287 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways` Documentation + +The `applicationgateways` SDK allows for interaction with Azure Resource Manager `network` (API Version `2024-03-01`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" +import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways" +``` + + +### Client Initialization + +```go +client := applicationgateways.NewApplicationGatewaysClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `ApplicationGatewaysClient.BackendHealth` + +```go +ctx := context.TODO() +id := applicationgateways.NewApplicationGatewayID("12345678-1234-9876-4563-123456789012", "example-resource-group", "applicationGatewayName") + +if err := client.BackendHealthThenPoll(ctx, id, applicationgateways.DefaultBackendHealthOperationOptions()); err != nil { + // handle the error +} +``` + + +### Example Usage: `ApplicationGatewaysClient.BackendHealthOnDemand` + +```go +ctx := context.TODO() +id := applicationgateways.NewApplicationGatewayID("12345678-1234-9876-4563-123456789012", "example-resource-group", "applicationGatewayName") + +payload := applicationgateways.ApplicationGatewayOnDemandProbe{ + // ... +} + + +if err := client.BackendHealthOnDemandThenPoll(ctx, id, payload, applicationgateways.DefaultBackendHealthOnDemandOperationOptions()); err != nil { + // handle the error +} +``` + + +### Example Usage: `ApplicationGatewaysClient.CreateOrUpdate` + +```go +ctx := context.TODO() +id := applicationgateways.NewApplicationGatewayID("12345678-1234-9876-4563-123456789012", "example-resource-group", "applicationGatewayName") + +payload := applicationgateways.ApplicationGateway{ + // ... +} + + +if err := client.CreateOrUpdateThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `ApplicationGatewaysClient.Delete` + +```go +ctx := context.TODO() +id := applicationgateways.NewApplicationGatewayID("12345678-1234-9876-4563-123456789012", "example-resource-group", "applicationGatewayName") + +if err := client.DeleteThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `ApplicationGatewaysClient.Get` + +```go +ctx := context.TODO() +id := applicationgateways.NewApplicationGatewayID("12345678-1234-9876-4563-123456789012", "example-resource-group", "applicationGatewayName") + +read, err := client.Get(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `ApplicationGatewaysClient.GetSslPredefinedPolicy` + +```go +ctx := context.TODO() +id := applicationgateways.NewPredefinedPolicyID("12345678-1234-9876-4563-123456789012", "predefinedPolicyName") + +read, err := client.GetSslPredefinedPolicy(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `ApplicationGatewaysClient.List` + +```go +ctx := context.TODO() +id := commonids.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group") + +// alternatively `client.List(ctx, id)` can be used to do batched pagination +items, err := client.ListComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `ApplicationGatewaysClient.ListAll` + +```go +ctx := context.TODO() +id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012") + +// alternatively `client.ListAll(ctx, id)` can be used to do batched pagination +items, err := client.ListAllComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `ApplicationGatewaysClient.ListAvailableRequestHeaders` + +```go +ctx := context.TODO() +id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012") + +read, err := client.ListAvailableRequestHeaders(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `ApplicationGatewaysClient.ListAvailableResponseHeaders` + +```go +ctx := context.TODO() +id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012") + +read, err := client.ListAvailableResponseHeaders(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `ApplicationGatewaysClient.ListAvailableServerVariables` + +```go +ctx := context.TODO() +id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012") + +read, err := client.ListAvailableServerVariables(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `ApplicationGatewaysClient.ListAvailableSslOptions` + +```go +ctx := context.TODO() +id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012") + +read, err := client.ListAvailableSslOptions(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `ApplicationGatewaysClient.ListAvailableSslPredefinedPolicies` + +```go +ctx := context.TODO() +id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012") + +// alternatively `client.ListAvailableSslPredefinedPolicies(ctx, id)` can be used to do batched pagination +items, err := client.ListAvailableSslPredefinedPoliciesComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `ApplicationGatewaysClient.ListAvailableWafRuleSets` + +```go +ctx := context.TODO() +id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012") + +read, err := client.ListAvailableWafRuleSets(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `ApplicationGatewaysClient.Start` + +```go +ctx := context.TODO() +id := applicationgateways.NewApplicationGatewayID("12345678-1234-9876-4563-123456789012", "example-resource-group", "applicationGatewayName") + +if err := client.StartThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `ApplicationGatewaysClient.Stop` + +```go +ctx := context.TODO() +id := applicationgateways.NewApplicationGatewayID("12345678-1234-9876-4563-123456789012", "example-resource-group", "applicationGatewayName") + +if err := client.StopThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `ApplicationGatewaysClient.UpdateTags` + +```go +ctx := context.TODO() +id := applicationgateways.NewApplicationGatewayID("12345678-1234-9876-4563-123456789012", "example-resource-group", "applicationGatewayName") + +payload := applicationgateways.TagsObject{ + // ... +} + + +read, err := client.UpdateTags(ctx, id, payload) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/client.go new file mode 100644 index 000000000000..3cd17d717260 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/client.go @@ -0,0 +1,26 @@ +package applicationgateways + +import ( + "fmt" + + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + sdkEnv "github.com/hashicorp/go-azure-sdk/sdk/environments" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewaysClient struct { + Client *resourcemanager.Client +} + +func NewApplicationGatewaysClientWithBaseURI(sdkApi sdkEnv.Api) (*ApplicationGatewaysClient, error) { + client, err := resourcemanager.NewClient(sdkApi, "applicationgateways", defaultApiVersion) + if err != nil { + return nil, fmt.Errorf("instantiating ApplicationGatewaysClient: %+v", err) + } + + return &ApplicationGatewaysClient{ + Client: client, + }, nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/constants.go new file mode 100644 index 000000000000..b7f19d34f72f --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/constants.go @@ -0,0 +1,2254 @@ +package applicationgateways + +import ( + "encoding/json" + "fmt" + "strings" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayBackendHealthServerHealth string + +const ( + ApplicationGatewayBackendHealthServerHealthDown ApplicationGatewayBackendHealthServerHealth = "Down" + ApplicationGatewayBackendHealthServerHealthDraining ApplicationGatewayBackendHealthServerHealth = "Draining" + ApplicationGatewayBackendHealthServerHealthPartial ApplicationGatewayBackendHealthServerHealth = "Partial" + ApplicationGatewayBackendHealthServerHealthUnknown ApplicationGatewayBackendHealthServerHealth = "Unknown" + ApplicationGatewayBackendHealthServerHealthUp ApplicationGatewayBackendHealthServerHealth = "Up" +) + +func PossibleValuesForApplicationGatewayBackendHealthServerHealth() []string { + return []string{ + string(ApplicationGatewayBackendHealthServerHealthDown), + string(ApplicationGatewayBackendHealthServerHealthDraining), + string(ApplicationGatewayBackendHealthServerHealthPartial), + string(ApplicationGatewayBackendHealthServerHealthUnknown), + string(ApplicationGatewayBackendHealthServerHealthUp), + } +} + +func (s *ApplicationGatewayBackendHealthServerHealth) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseApplicationGatewayBackendHealthServerHealth(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseApplicationGatewayBackendHealthServerHealth(input string) (*ApplicationGatewayBackendHealthServerHealth, error) { + vals := map[string]ApplicationGatewayBackendHealthServerHealth{ + "down": ApplicationGatewayBackendHealthServerHealthDown, + "draining": ApplicationGatewayBackendHealthServerHealthDraining, + "partial": ApplicationGatewayBackendHealthServerHealthPartial, + "unknown": ApplicationGatewayBackendHealthServerHealthUnknown, + "up": ApplicationGatewayBackendHealthServerHealthUp, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ApplicationGatewayBackendHealthServerHealth(input) + return &out, nil +} + +type ApplicationGatewayClientRevocationOptions string + +const ( + ApplicationGatewayClientRevocationOptionsNone ApplicationGatewayClientRevocationOptions = "None" + ApplicationGatewayClientRevocationOptionsOCSP ApplicationGatewayClientRevocationOptions = "OCSP" +) + +func PossibleValuesForApplicationGatewayClientRevocationOptions() []string { + return []string{ + string(ApplicationGatewayClientRevocationOptionsNone), + string(ApplicationGatewayClientRevocationOptionsOCSP), + } +} + +func (s *ApplicationGatewayClientRevocationOptions) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseApplicationGatewayClientRevocationOptions(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseApplicationGatewayClientRevocationOptions(input string) (*ApplicationGatewayClientRevocationOptions, error) { + vals := map[string]ApplicationGatewayClientRevocationOptions{ + "none": ApplicationGatewayClientRevocationOptionsNone, + "ocsp": ApplicationGatewayClientRevocationOptionsOCSP, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ApplicationGatewayClientRevocationOptions(input) + return &out, nil +} + +type ApplicationGatewayCookieBasedAffinity string + +const ( + ApplicationGatewayCookieBasedAffinityDisabled ApplicationGatewayCookieBasedAffinity = "Disabled" + ApplicationGatewayCookieBasedAffinityEnabled ApplicationGatewayCookieBasedAffinity = "Enabled" +) + +func PossibleValuesForApplicationGatewayCookieBasedAffinity() []string { + return []string{ + string(ApplicationGatewayCookieBasedAffinityDisabled), + string(ApplicationGatewayCookieBasedAffinityEnabled), + } +} + +func (s *ApplicationGatewayCookieBasedAffinity) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseApplicationGatewayCookieBasedAffinity(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseApplicationGatewayCookieBasedAffinity(input string) (*ApplicationGatewayCookieBasedAffinity, error) { + vals := map[string]ApplicationGatewayCookieBasedAffinity{ + "disabled": ApplicationGatewayCookieBasedAffinityDisabled, + "enabled": ApplicationGatewayCookieBasedAffinityEnabled, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ApplicationGatewayCookieBasedAffinity(input) + return &out, nil +} + +type ApplicationGatewayCustomErrorStatusCode string + +const ( + ApplicationGatewayCustomErrorStatusCodeHTTPStatusFiveHundred ApplicationGatewayCustomErrorStatusCode = "HttpStatus500" + ApplicationGatewayCustomErrorStatusCodeHTTPStatusFiveZeroFour ApplicationGatewayCustomErrorStatusCode = "HttpStatus504" + ApplicationGatewayCustomErrorStatusCodeHTTPStatusFiveZeroThree ApplicationGatewayCustomErrorStatusCode = "HttpStatus503" + ApplicationGatewayCustomErrorStatusCodeHTTPStatusFiveZeroTwo ApplicationGatewayCustomErrorStatusCode = "HttpStatus502" + ApplicationGatewayCustomErrorStatusCodeHTTPStatusFourHundred ApplicationGatewayCustomErrorStatusCode = "HttpStatus400" + ApplicationGatewayCustomErrorStatusCodeHTTPStatusFourZeroEight ApplicationGatewayCustomErrorStatusCode = "HttpStatus408" + ApplicationGatewayCustomErrorStatusCodeHTTPStatusFourZeroFive ApplicationGatewayCustomErrorStatusCode = "HttpStatus405" + ApplicationGatewayCustomErrorStatusCodeHTTPStatusFourZeroFour ApplicationGatewayCustomErrorStatusCode = "HttpStatus404" + ApplicationGatewayCustomErrorStatusCodeHTTPStatusFourZeroThree ApplicationGatewayCustomErrorStatusCode = "HttpStatus403" +) + +func PossibleValuesForApplicationGatewayCustomErrorStatusCode() []string { + return []string{ + string(ApplicationGatewayCustomErrorStatusCodeHTTPStatusFiveHundred), + string(ApplicationGatewayCustomErrorStatusCodeHTTPStatusFiveZeroFour), + string(ApplicationGatewayCustomErrorStatusCodeHTTPStatusFiveZeroThree), + string(ApplicationGatewayCustomErrorStatusCodeHTTPStatusFiveZeroTwo), + string(ApplicationGatewayCustomErrorStatusCodeHTTPStatusFourHundred), + string(ApplicationGatewayCustomErrorStatusCodeHTTPStatusFourZeroEight), + string(ApplicationGatewayCustomErrorStatusCodeHTTPStatusFourZeroFive), + string(ApplicationGatewayCustomErrorStatusCodeHTTPStatusFourZeroFour), + string(ApplicationGatewayCustomErrorStatusCodeHTTPStatusFourZeroThree), + } +} + +func (s *ApplicationGatewayCustomErrorStatusCode) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseApplicationGatewayCustomErrorStatusCode(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseApplicationGatewayCustomErrorStatusCode(input string) (*ApplicationGatewayCustomErrorStatusCode, error) { + vals := map[string]ApplicationGatewayCustomErrorStatusCode{ + "httpstatus500": ApplicationGatewayCustomErrorStatusCodeHTTPStatusFiveHundred, + "httpstatus504": ApplicationGatewayCustomErrorStatusCodeHTTPStatusFiveZeroFour, + "httpstatus503": ApplicationGatewayCustomErrorStatusCodeHTTPStatusFiveZeroThree, + "httpstatus502": ApplicationGatewayCustomErrorStatusCodeHTTPStatusFiveZeroTwo, + "httpstatus400": ApplicationGatewayCustomErrorStatusCodeHTTPStatusFourHundred, + "httpstatus408": ApplicationGatewayCustomErrorStatusCodeHTTPStatusFourZeroEight, + "httpstatus405": ApplicationGatewayCustomErrorStatusCodeHTTPStatusFourZeroFive, + "httpstatus404": ApplicationGatewayCustomErrorStatusCodeHTTPStatusFourZeroFour, + "httpstatus403": ApplicationGatewayCustomErrorStatusCodeHTTPStatusFourZeroThree, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ApplicationGatewayCustomErrorStatusCode(input) + return &out, nil +} + +type ApplicationGatewayFirewallMode string + +const ( + ApplicationGatewayFirewallModeDetection ApplicationGatewayFirewallMode = "Detection" + ApplicationGatewayFirewallModePrevention ApplicationGatewayFirewallMode = "Prevention" +) + +func PossibleValuesForApplicationGatewayFirewallMode() []string { + return []string{ + string(ApplicationGatewayFirewallModeDetection), + string(ApplicationGatewayFirewallModePrevention), + } +} + +func (s *ApplicationGatewayFirewallMode) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseApplicationGatewayFirewallMode(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseApplicationGatewayFirewallMode(input string) (*ApplicationGatewayFirewallMode, error) { + vals := map[string]ApplicationGatewayFirewallMode{ + "detection": ApplicationGatewayFirewallModeDetection, + "prevention": ApplicationGatewayFirewallModePrevention, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ApplicationGatewayFirewallMode(input) + return &out, nil +} + +type ApplicationGatewayLoadDistributionAlgorithm string + +const ( + ApplicationGatewayLoadDistributionAlgorithmIPHash ApplicationGatewayLoadDistributionAlgorithm = "IpHash" + ApplicationGatewayLoadDistributionAlgorithmLeastConnections ApplicationGatewayLoadDistributionAlgorithm = "LeastConnections" + ApplicationGatewayLoadDistributionAlgorithmRoundRobin ApplicationGatewayLoadDistributionAlgorithm = "RoundRobin" +) + +func PossibleValuesForApplicationGatewayLoadDistributionAlgorithm() []string { + return []string{ + string(ApplicationGatewayLoadDistributionAlgorithmIPHash), + string(ApplicationGatewayLoadDistributionAlgorithmLeastConnections), + string(ApplicationGatewayLoadDistributionAlgorithmRoundRobin), + } +} + +func (s *ApplicationGatewayLoadDistributionAlgorithm) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseApplicationGatewayLoadDistributionAlgorithm(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseApplicationGatewayLoadDistributionAlgorithm(input string) (*ApplicationGatewayLoadDistributionAlgorithm, error) { + vals := map[string]ApplicationGatewayLoadDistributionAlgorithm{ + "iphash": ApplicationGatewayLoadDistributionAlgorithmIPHash, + "leastconnections": ApplicationGatewayLoadDistributionAlgorithmLeastConnections, + "roundrobin": ApplicationGatewayLoadDistributionAlgorithmRoundRobin, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ApplicationGatewayLoadDistributionAlgorithm(input) + return &out, nil +} + +type ApplicationGatewayOperationalState string + +const ( + ApplicationGatewayOperationalStateRunning ApplicationGatewayOperationalState = "Running" + ApplicationGatewayOperationalStateStarting ApplicationGatewayOperationalState = "Starting" + ApplicationGatewayOperationalStateStopped ApplicationGatewayOperationalState = "Stopped" + ApplicationGatewayOperationalStateStopping ApplicationGatewayOperationalState = "Stopping" +) + +func PossibleValuesForApplicationGatewayOperationalState() []string { + return []string{ + string(ApplicationGatewayOperationalStateRunning), + string(ApplicationGatewayOperationalStateStarting), + string(ApplicationGatewayOperationalStateStopped), + string(ApplicationGatewayOperationalStateStopping), + } +} + +func (s *ApplicationGatewayOperationalState) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseApplicationGatewayOperationalState(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseApplicationGatewayOperationalState(input string) (*ApplicationGatewayOperationalState, error) { + vals := map[string]ApplicationGatewayOperationalState{ + "running": ApplicationGatewayOperationalStateRunning, + "starting": ApplicationGatewayOperationalStateStarting, + "stopped": ApplicationGatewayOperationalStateStopped, + "stopping": ApplicationGatewayOperationalStateStopping, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ApplicationGatewayOperationalState(input) + return &out, nil +} + +type ApplicationGatewayProtocol string + +const ( + ApplicationGatewayProtocolHTTP ApplicationGatewayProtocol = "Http" + ApplicationGatewayProtocolHTTPS ApplicationGatewayProtocol = "Https" + ApplicationGatewayProtocolTcp ApplicationGatewayProtocol = "Tcp" + ApplicationGatewayProtocolTls ApplicationGatewayProtocol = "Tls" +) + +func PossibleValuesForApplicationGatewayProtocol() []string { + return []string{ + string(ApplicationGatewayProtocolHTTP), + string(ApplicationGatewayProtocolHTTPS), + string(ApplicationGatewayProtocolTcp), + string(ApplicationGatewayProtocolTls), + } +} + +func (s *ApplicationGatewayProtocol) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseApplicationGatewayProtocol(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseApplicationGatewayProtocol(input string) (*ApplicationGatewayProtocol, error) { + vals := map[string]ApplicationGatewayProtocol{ + "http": ApplicationGatewayProtocolHTTP, + "https": ApplicationGatewayProtocolHTTPS, + "tcp": ApplicationGatewayProtocolTcp, + "tls": ApplicationGatewayProtocolTls, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ApplicationGatewayProtocol(input) + return &out, nil +} + +type ApplicationGatewayRedirectType string + +const ( + ApplicationGatewayRedirectTypeFound ApplicationGatewayRedirectType = "Found" + ApplicationGatewayRedirectTypePermanent ApplicationGatewayRedirectType = "Permanent" + ApplicationGatewayRedirectTypeSeeOther ApplicationGatewayRedirectType = "SeeOther" + ApplicationGatewayRedirectTypeTemporary ApplicationGatewayRedirectType = "Temporary" +) + +func PossibleValuesForApplicationGatewayRedirectType() []string { + return []string{ + string(ApplicationGatewayRedirectTypeFound), + string(ApplicationGatewayRedirectTypePermanent), + string(ApplicationGatewayRedirectTypeSeeOther), + string(ApplicationGatewayRedirectTypeTemporary), + } +} + +func (s *ApplicationGatewayRedirectType) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseApplicationGatewayRedirectType(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseApplicationGatewayRedirectType(input string) (*ApplicationGatewayRedirectType, error) { + vals := map[string]ApplicationGatewayRedirectType{ + "found": ApplicationGatewayRedirectTypeFound, + "permanent": ApplicationGatewayRedirectTypePermanent, + "seeother": ApplicationGatewayRedirectTypeSeeOther, + "temporary": ApplicationGatewayRedirectTypeTemporary, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ApplicationGatewayRedirectType(input) + return &out, nil +} + +type ApplicationGatewayRequestRoutingRuleType string + +const ( + ApplicationGatewayRequestRoutingRuleTypeBasic ApplicationGatewayRequestRoutingRuleType = "Basic" + ApplicationGatewayRequestRoutingRuleTypePathBasedRouting ApplicationGatewayRequestRoutingRuleType = "PathBasedRouting" +) + +func PossibleValuesForApplicationGatewayRequestRoutingRuleType() []string { + return []string{ + string(ApplicationGatewayRequestRoutingRuleTypeBasic), + string(ApplicationGatewayRequestRoutingRuleTypePathBasedRouting), + } +} + +func (s *ApplicationGatewayRequestRoutingRuleType) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseApplicationGatewayRequestRoutingRuleType(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseApplicationGatewayRequestRoutingRuleType(input string) (*ApplicationGatewayRequestRoutingRuleType, error) { + vals := map[string]ApplicationGatewayRequestRoutingRuleType{ + "basic": ApplicationGatewayRequestRoutingRuleTypeBasic, + "pathbasedrouting": ApplicationGatewayRequestRoutingRuleTypePathBasedRouting, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ApplicationGatewayRequestRoutingRuleType(input) + return &out, nil +} + +type ApplicationGatewaySkuFamily string + +const ( + ApplicationGatewaySkuFamilyGenerationOne ApplicationGatewaySkuFamily = "Generation_1" + ApplicationGatewaySkuFamilyGenerationTwo ApplicationGatewaySkuFamily = "Generation_2" +) + +func PossibleValuesForApplicationGatewaySkuFamily() []string { + return []string{ + string(ApplicationGatewaySkuFamilyGenerationOne), + string(ApplicationGatewaySkuFamilyGenerationTwo), + } +} + +func (s *ApplicationGatewaySkuFamily) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseApplicationGatewaySkuFamily(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseApplicationGatewaySkuFamily(input string) (*ApplicationGatewaySkuFamily, error) { + vals := map[string]ApplicationGatewaySkuFamily{ + "generation_1": ApplicationGatewaySkuFamilyGenerationOne, + "generation_2": ApplicationGatewaySkuFamilyGenerationTwo, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ApplicationGatewaySkuFamily(input) + return &out, nil +} + +type ApplicationGatewaySkuName string + +const ( + ApplicationGatewaySkuNameBasic ApplicationGatewaySkuName = "Basic" + ApplicationGatewaySkuNameStandardLarge ApplicationGatewaySkuName = "Standard_Large" + ApplicationGatewaySkuNameStandardMedium ApplicationGatewaySkuName = "Standard_Medium" + ApplicationGatewaySkuNameStandardSmall ApplicationGatewaySkuName = "Standard_Small" + ApplicationGatewaySkuNameStandardVTwo ApplicationGatewaySkuName = "Standard_v2" + ApplicationGatewaySkuNameWAFLarge ApplicationGatewaySkuName = "WAF_Large" + ApplicationGatewaySkuNameWAFMedium ApplicationGatewaySkuName = "WAF_Medium" + ApplicationGatewaySkuNameWAFVTwo ApplicationGatewaySkuName = "WAF_v2" +) + +func PossibleValuesForApplicationGatewaySkuName() []string { + return []string{ + string(ApplicationGatewaySkuNameBasic), + string(ApplicationGatewaySkuNameStandardLarge), + string(ApplicationGatewaySkuNameStandardMedium), + string(ApplicationGatewaySkuNameStandardSmall), + string(ApplicationGatewaySkuNameStandardVTwo), + string(ApplicationGatewaySkuNameWAFLarge), + string(ApplicationGatewaySkuNameWAFMedium), + string(ApplicationGatewaySkuNameWAFVTwo), + } +} + +func (s *ApplicationGatewaySkuName) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseApplicationGatewaySkuName(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseApplicationGatewaySkuName(input string) (*ApplicationGatewaySkuName, error) { + vals := map[string]ApplicationGatewaySkuName{ + "basic": ApplicationGatewaySkuNameBasic, + "standard_large": ApplicationGatewaySkuNameStandardLarge, + "standard_medium": ApplicationGatewaySkuNameStandardMedium, + "standard_small": ApplicationGatewaySkuNameStandardSmall, + "standard_v2": ApplicationGatewaySkuNameStandardVTwo, + "waf_large": ApplicationGatewaySkuNameWAFLarge, + "waf_medium": ApplicationGatewaySkuNameWAFMedium, + "waf_v2": ApplicationGatewaySkuNameWAFVTwo, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ApplicationGatewaySkuName(input) + return &out, nil +} + +type ApplicationGatewaySslCipherSuite string + +const ( + ApplicationGatewaySslCipherSuiteTLSDHEDSSWITHAESOneTwoEightCBCSHA ApplicationGatewaySslCipherSuite = "TLS_DHE_DSS_WITH_AES_128_CBC_SHA" + ApplicationGatewaySslCipherSuiteTLSDHEDSSWITHAESOneTwoEightCBCSHATwoFiveSix ApplicationGatewaySslCipherSuite = "TLS_DHE_DSS_WITH_AES_128_CBC_SHA256" + ApplicationGatewaySslCipherSuiteTLSDHEDSSWITHAESTwoFiveSixCBCSHA ApplicationGatewaySslCipherSuite = "TLS_DHE_DSS_WITH_AES_256_CBC_SHA" + ApplicationGatewaySslCipherSuiteTLSDHEDSSWITHAESTwoFiveSixCBCSHATwoFiveSix ApplicationGatewaySslCipherSuite = "TLS_DHE_DSS_WITH_AES_256_CBC_SHA256" + ApplicationGatewaySslCipherSuiteTLSDHEDSSWITHThreeDESEDECBCSHA ApplicationGatewaySslCipherSuite = "TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA" + ApplicationGatewaySslCipherSuiteTLSDHERSAWITHAESOneTwoEightCBCSHA ApplicationGatewaySslCipherSuite = "TLS_DHE_RSA_WITH_AES_128_CBC_SHA" + ApplicationGatewaySslCipherSuiteTLSDHERSAWITHAESOneTwoEightGCMSHATwoFiveSix ApplicationGatewaySslCipherSuite = "TLS_DHE_RSA_WITH_AES_128_GCM_SHA256" + ApplicationGatewaySslCipherSuiteTLSDHERSAWITHAESTwoFiveSixCBCSHA ApplicationGatewaySslCipherSuite = "TLS_DHE_RSA_WITH_AES_256_CBC_SHA" + ApplicationGatewaySslCipherSuiteTLSDHERSAWITHAESTwoFiveSixGCMSHAThreeEightFour ApplicationGatewaySslCipherSuite = "TLS_DHE_RSA_WITH_AES_256_GCM_SHA384" + ApplicationGatewaySslCipherSuiteTLSECDHEECDSAWITHAESOneTwoEightCBCSHA ApplicationGatewaySslCipherSuite = "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA" + ApplicationGatewaySslCipherSuiteTLSECDHEECDSAWITHAESOneTwoEightCBCSHATwoFiveSix ApplicationGatewaySslCipherSuite = "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256" + ApplicationGatewaySslCipherSuiteTLSECDHEECDSAWITHAESOneTwoEightGCMSHATwoFiveSix ApplicationGatewaySslCipherSuite = "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256" + ApplicationGatewaySslCipherSuiteTLSECDHEECDSAWITHAESTwoFiveSixCBCSHA ApplicationGatewaySslCipherSuite = "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA" + ApplicationGatewaySslCipherSuiteTLSECDHEECDSAWITHAESTwoFiveSixCBCSHAThreeEightFour ApplicationGatewaySslCipherSuite = "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384" + ApplicationGatewaySslCipherSuiteTLSECDHEECDSAWITHAESTwoFiveSixGCMSHAThreeEightFour ApplicationGatewaySslCipherSuite = "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384" + ApplicationGatewaySslCipherSuiteTLSECDHERSAWITHAESOneTwoEightCBCSHA ApplicationGatewaySslCipherSuite = "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA" + ApplicationGatewaySslCipherSuiteTLSECDHERSAWITHAESOneTwoEightCBCSHATwoFiveSix ApplicationGatewaySslCipherSuite = "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256" + ApplicationGatewaySslCipherSuiteTLSECDHERSAWITHAESOneTwoEightGCMSHATwoFiveSix ApplicationGatewaySslCipherSuite = "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256" + ApplicationGatewaySslCipherSuiteTLSECDHERSAWITHAESTwoFiveSixCBCSHA ApplicationGatewaySslCipherSuite = "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA" + ApplicationGatewaySslCipherSuiteTLSECDHERSAWITHAESTwoFiveSixCBCSHAThreeEightFour ApplicationGatewaySslCipherSuite = "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384" + ApplicationGatewaySslCipherSuiteTLSECDHERSAWITHAESTwoFiveSixGCMSHAThreeEightFour ApplicationGatewaySslCipherSuite = "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384" + ApplicationGatewaySslCipherSuiteTLSRSAWITHAESOneTwoEightCBCSHA ApplicationGatewaySslCipherSuite = "TLS_RSA_WITH_AES_128_CBC_SHA" + ApplicationGatewaySslCipherSuiteTLSRSAWITHAESOneTwoEightCBCSHATwoFiveSix ApplicationGatewaySslCipherSuite = "TLS_RSA_WITH_AES_128_CBC_SHA256" + ApplicationGatewaySslCipherSuiteTLSRSAWITHAESOneTwoEightGCMSHATwoFiveSix ApplicationGatewaySslCipherSuite = "TLS_RSA_WITH_AES_128_GCM_SHA256" + ApplicationGatewaySslCipherSuiteTLSRSAWITHAESTwoFiveSixCBCSHA ApplicationGatewaySslCipherSuite = "TLS_RSA_WITH_AES_256_CBC_SHA" + ApplicationGatewaySslCipherSuiteTLSRSAWITHAESTwoFiveSixCBCSHATwoFiveSix ApplicationGatewaySslCipherSuite = "TLS_RSA_WITH_AES_256_CBC_SHA256" + ApplicationGatewaySslCipherSuiteTLSRSAWITHAESTwoFiveSixGCMSHAThreeEightFour ApplicationGatewaySslCipherSuite = "TLS_RSA_WITH_AES_256_GCM_SHA384" + ApplicationGatewaySslCipherSuiteTLSRSAWITHThreeDESEDECBCSHA ApplicationGatewaySslCipherSuite = "TLS_RSA_WITH_3DES_EDE_CBC_SHA" +) + +func PossibleValuesForApplicationGatewaySslCipherSuite() []string { + return []string{ + string(ApplicationGatewaySslCipherSuiteTLSDHEDSSWITHAESOneTwoEightCBCSHA), + string(ApplicationGatewaySslCipherSuiteTLSDHEDSSWITHAESOneTwoEightCBCSHATwoFiveSix), + string(ApplicationGatewaySslCipherSuiteTLSDHEDSSWITHAESTwoFiveSixCBCSHA), + string(ApplicationGatewaySslCipherSuiteTLSDHEDSSWITHAESTwoFiveSixCBCSHATwoFiveSix), + string(ApplicationGatewaySslCipherSuiteTLSDHEDSSWITHThreeDESEDECBCSHA), + string(ApplicationGatewaySslCipherSuiteTLSDHERSAWITHAESOneTwoEightCBCSHA), + string(ApplicationGatewaySslCipherSuiteTLSDHERSAWITHAESOneTwoEightGCMSHATwoFiveSix), + string(ApplicationGatewaySslCipherSuiteTLSDHERSAWITHAESTwoFiveSixCBCSHA), + string(ApplicationGatewaySslCipherSuiteTLSDHERSAWITHAESTwoFiveSixGCMSHAThreeEightFour), + string(ApplicationGatewaySslCipherSuiteTLSECDHEECDSAWITHAESOneTwoEightCBCSHA), + string(ApplicationGatewaySslCipherSuiteTLSECDHEECDSAWITHAESOneTwoEightCBCSHATwoFiveSix), + string(ApplicationGatewaySslCipherSuiteTLSECDHEECDSAWITHAESOneTwoEightGCMSHATwoFiveSix), + string(ApplicationGatewaySslCipherSuiteTLSECDHEECDSAWITHAESTwoFiveSixCBCSHA), + string(ApplicationGatewaySslCipherSuiteTLSECDHEECDSAWITHAESTwoFiveSixCBCSHAThreeEightFour), + string(ApplicationGatewaySslCipherSuiteTLSECDHEECDSAWITHAESTwoFiveSixGCMSHAThreeEightFour), + string(ApplicationGatewaySslCipherSuiteTLSECDHERSAWITHAESOneTwoEightCBCSHA), + string(ApplicationGatewaySslCipherSuiteTLSECDHERSAWITHAESOneTwoEightCBCSHATwoFiveSix), + string(ApplicationGatewaySslCipherSuiteTLSECDHERSAWITHAESOneTwoEightGCMSHATwoFiveSix), + string(ApplicationGatewaySslCipherSuiteTLSECDHERSAWITHAESTwoFiveSixCBCSHA), + string(ApplicationGatewaySslCipherSuiteTLSECDHERSAWITHAESTwoFiveSixCBCSHAThreeEightFour), + string(ApplicationGatewaySslCipherSuiteTLSECDHERSAWITHAESTwoFiveSixGCMSHAThreeEightFour), + string(ApplicationGatewaySslCipherSuiteTLSRSAWITHAESOneTwoEightCBCSHA), + string(ApplicationGatewaySslCipherSuiteTLSRSAWITHAESOneTwoEightCBCSHATwoFiveSix), + string(ApplicationGatewaySslCipherSuiteTLSRSAWITHAESOneTwoEightGCMSHATwoFiveSix), + string(ApplicationGatewaySslCipherSuiteTLSRSAWITHAESTwoFiveSixCBCSHA), + string(ApplicationGatewaySslCipherSuiteTLSRSAWITHAESTwoFiveSixCBCSHATwoFiveSix), + string(ApplicationGatewaySslCipherSuiteTLSRSAWITHAESTwoFiveSixGCMSHAThreeEightFour), + string(ApplicationGatewaySslCipherSuiteTLSRSAWITHThreeDESEDECBCSHA), + } +} + +func (s *ApplicationGatewaySslCipherSuite) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseApplicationGatewaySslCipherSuite(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseApplicationGatewaySslCipherSuite(input string) (*ApplicationGatewaySslCipherSuite, error) { + vals := map[string]ApplicationGatewaySslCipherSuite{ + "tls_dhe_dss_with_aes_128_cbc_sha": ApplicationGatewaySslCipherSuiteTLSDHEDSSWITHAESOneTwoEightCBCSHA, + "tls_dhe_dss_with_aes_128_cbc_sha256": ApplicationGatewaySslCipherSuiteTLSDHEDSSWITHAESOneTwoEightCBCSHATwoFiveSix, + "tls_dhe_dss_with_aes_256_cbc_sha": ApplicationGatewaySslCipherSuiteTLSDHEDSSWITHAESTwoFiveSixCBCSHA, + "tls_dhe_dss_with_aes_256_cbc_sha256": ApplicationGatewaySslCipherSuiteTLSDHEDSSWITHAESTwoFiveSixCBCSHATwoFiveSix, + "tls_dhe_dss_with_3des_ede_cbc_sha": ApplicationGatewaySslCipherSuiteTLSDHEDSSWITHThreeDESEDECBCSHA, + "tls_dhe_rsa_with_aes_128_cbc_sha": ApplicationGatewaySslCipherSuiteTLSDHERSAWITHAESOneTwoEightCBCSHA, + "tls_dhe_rsa_with_aes_128_gcm_sha256": ApplicationGatewaySslCipherSuiteTLSDHERSAWITHAESOneTwoEightGCMSHATwoFiveSix, + "tls_dhe_rsa_with_aes_256_cbc_sha": ApplicationGatewaySslCipherSuiteTLSDHERSAWITHAESTwoFiveSixCBCSHA, + "tls_dhe_rsa_with_aes_256_gcm_sha384": ApplicationGatewaySslCipherSuiteTLSDHERSAWITHAESTwoFiveSixGCMSHAThreeEightFour, + "tls_ecdhe_ecdsa_with_aes_128_cbc_sha": ApplicationGatewaySslCipherSuiteTLSECDHEECDSAWITHAESOneTwoEightCBCSHA, + "tls_ecdhe_ecdsa_with_aes_128_cbc_sha256": ApplicationGatewaySslCipherSuiteTLSECDHEECDSAWITHAESOneTwoEightCBCSHATwoFiveSix, + "tls_ecdhe_ecdsa_with_aes_128_gcm_sha256": ApplicationGatewaySslCipherSuiteTLSECDHEECDSAWITHAESOneTwoEightGCMSHATwoFiveSix, + "tls_ecdhe_ecdsa_with_aes_256_cbc_sha": ApplicationGatewaySslCipherSuiteTLSECDHEECDSAWITHAESTwoFiveSixCBCSHA, + "tls_ecdhe_ecdsa_with_aes_256_cbc_sha384": ApplicationGatewaySslCipherSuiteTLSECDHEECDSAWITHAESTwoFiveSixCBCSHAThreeEightFour, + "tls_ecdhe_ecdsa_with_aes_256_gcm_sha384": ApplicationGatewaySslCipherSuiteTLSECDHEECDSAWITHAESTwoFiveSixGCMSHAThreeEightFour, + "tls_ecdhe_rsa_with_aes_128_cbc_sha": ApplicationGatewaySslCipherSuiteTLSECDHERSAWITHAESOneTwoEightCBCSHA, + "tls_ecdhe_rsa_with_aes_128_cbc_sha256": ApplicationGatewaySslCipherSuiteTLSECDHERSAWITHAESOneTwoEightCBCSHATwoFiveSix, + "tls_ecdhe_rsa_with_aes_128_gcm_sha256": ApplicationGatewaySslCipherSuiteTLSECDHERSAWITHAESOneTwoEightGCMSHATwoFiveSix, + "tls_ecdhe_rsa_with_aes_256_cbc_sha": ApplicationGatewaySslCipherSuiteTLSECDHERSAWITHAESTwoFiveSixCBCSHA, + "tls_ecdhe_rsa_with_aes_256_cbc_sha384": ApplicationGatewaySslCipherSuiteTLSECDHERSAWITHAESTwoFiveSixCBCSHAThreeEightFour, + "tls_ecdhe_rsa_with_aes_256_gcm_sha384": ApplicationGatewaySslCipherSuiteTLSECDHERSAWITHAESTwoFiveSixGCMSHAThreeEightFour, + "tls_rsa_with_aes_128_cbc_sha": ApplicationGatewaySslCipherSuiteTLSRSAWITHAESOneTwoEightCBCSHA, + "tls_rsa_with_aes_128_cbc_sha256": ApplicationGatewaySslCipherSuiteTLSRSAWITHAESOneTwoEightCBCSHATwoFiveSix, + "tls_rsa_with_aes_128_gcm_sha256": ApplicationGatewaySslCipherSuiteTLSRSAWITHAESOneTwoEightGCMSHATwoFiveSix, + "tls_rsa_with_aes_256_cbc_sha": ApplicationGatewaySslCipherSuiteTLSRSAWITHAESTwoFiveSixCBCSHA, + "tls_rsa_with_aes_256_cbc_sha256": ApplicationGatewaySslCipherSuiteTLSRSAWITHAESTwoFiveSixCBCSHATwoFiveSix, + "tls_rsa_with_aes_256_gcm_sha384": ApplicationGatewaySslCipherSuiteTLSRSAWITHAESTwoFiveSixGCMSHAThreeEightFour, + "tls_rsa_with_3des_ede_cbc_sha": ApplicationGatewaySslCipherSuiteTLSRSAWITHThreeDESEDECBCSHA, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ApplicationGatewaySslCipherSuite(input) + return &out, nil +} + +type ApplicationGatewaySslPolicyName string + +const ( + ApplicationGatewaySslPolicyNameAppGwSslPolicyTwoZeroOneFiveZeroFiveZeroOne ApplicationGatewaySslPolicyName = "AppGwSslPolicy20150501" + ApplicationGatewaySslPolicyNameAppGwSslPolicyTwoZeroOneSevenZeroFourZeroOne ApplicationGatewaySslPolicyName = "AppGwSslPolicy20170401" + ApplicationGatewaySslPolicyNameAppGwSslPolicyTwoZeroOneSevenZeroFourZeroOneS ApplicationGatewaySslPolicyName = "AppGwSslPolicy20170401S" + ApplicationGatewaySslPolicyNameAppGwSslPolicyTwoZeroTwoTwoZeroOneZeroOne ApplicationGatewaySslPolicyName = "AppGwSslPolicy20220101" + ApplicationGatewaySslPolicyNameAppGwSslPolicyTwoZeroTwoTwoZeroOneZeroOneS ApplicationGatewaySslPolicyName = "AppGwSslPolicy20220101S" +) + +func PossibleValuesForApplicationGatewaySslPolicyName() []string { + return []string{ + string(ApplicationGatewaySslPolicyNameAppGwSslPolicyTwoZeroOneFiveZeroFiveZeroOne), + string(ApplicationGatewaySslPolicyNameAppGwSslPolicyTwoZeroOneSevenZeroFourZeroOne), + string(ApplicationGatewaySslPolicyNameAppGwSslPolicyTwoZeroOneSevenZeroFourZeroOneS), + string(ApplicationGatewaySslPolicyNameAppGwSslPolicyTwoZeroTwoTwoZeroOneZeroOne), + string(ApplicationGatewaySslPolicyNameAppGwSslPolicyTwoZeroTwoTwoZeroOneZeroOneS), + } +} + +func (s *ApplicationGatewaySslPolicyName) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseApplicationGatewaySslPolicyName(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseApplicationGatewaySslPolicyName(input string) (*ApplicationGatewaySslPolicyName, error) { + vals := map[string]ApplicationGatewaySslPolicyName{ + "appgwsslpolicy20150501": ApplicationGatewaySslPolicyNameAppGwSslPolicyTwoZeroOneFiveZeroFiveZeroOne, + "appgwsslpolicy20170401": ApplicationGatewaySslPolicyNameAppGwSslPolicyTwoZeroOneSevenZeroFourZeroOne, + "appgwsslpolicy20170401s": ApplicationGatewaySslPolicyNameAppGwSslPolicyTwoZeroOneSevenZeroFourZeroOneS, + "appgwsslpolicy20220101": ApplicationGatewaySslPolicyNameAppGwSslPolicyTwoZeroTwoTwoZeroOneZeroOne, + "appgwsslpolicy20220101s": ApplicationGatewaySslPolicyNameAppGwSslPolicyTwoZeroTwoTwoZeroOneZeroOneS, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ApplicationGatewaySslPolicyName(input) + return &out, nil +} + +type ApplicationGatewaySslPolicyType string + +const ( + ApplicationGatewaySslPolicyTypeCustom ApplicationGatewaySslPolicyType = "Custom" + ApplicationGatewaySslPolicyTypeCustomVTwo ApplicationGatewaySslPolicyType = "CustomV2" + ApplicationGatewaySslPolicyTypePredefined ApplicationGatewaySslPolicyType = "Predefined" +) + +func PossibleValuesForApplicationGatewaySslPolicyType() []string { + return []string{ + string(ApplicationGatewaySslPolicyTypeCustom), + string(ApplicationGatewaySslPolicyTypeCustomVTwo), + string(ApplicationGatewaySslPolicyTypePredefined), + } +} + +func (s *ApplicationGatewaySslPolicyType) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseApplicationGatewaySslPolicyType(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseApplicationGatewaySslPolicyType(input string) (*ApplicationGatewaySslPolicyType, error) { + vals := map[string]ApplicationGatewaySslPolicyType{ + "custom": ApplicationGatewaySslPolicyTypeCustom, + "customv2": ApplicationGatewaySslPolicyTypeCustomVTwo, + "predefined": ApplicationGatewaySslPolicyTypePredefined, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ApplicationGatewaySslPolicyType(input) + return &out, nil +} + +type ApplicationGatewaySslProtocol string + +const ( + ApplicationGatewaySslProtocolTLSvOneOne ApplicationGatewaySslProtocol = "TLSv1_1" + ApplicationGatewaySslProtocolTLSvOneThree ApplicationGatewaySslProtocol = "TLSv1_3" + ApplicationGatewaySslProtocolTLSvOneTwo ApplicationGatewaySslProtocol = "TLSv1_2" + ApplicationGatewaySslProtocolTLSvOneZero ApplicationGatewaySslProtocol = "TLSv1_0" +) + +func PossibleValuesForApplicationGatewaySslProtocol() []string { + return []string{ + string(ApplicationGatewaySslProtocolTLSvOneOne), + string(ApplicationGatewaySslProtocolTLSvOneThree), + string(ApplicationGatewaySslProtocolTLSvOneTwo), + string(ApplicationGatewaySslProtocolTLSvOneZero), + } +} + +func (s *ApplicationGatewaySslProtocol) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseApplicationGatewaySslProtocol(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseApplicationGatewaySslProtocol(input string) (*ApplicationGatewaySslProtocol, error) { + vals := map[string]ApplicationGatewaySslProtocol{ + "tlsv1_1": ApplicationGatewaySslProtocolTLSvOneOne, + "tlsv1_3": ApplicationGatewaySslProtocolTLSvOneThree, + "tlsv1_2": ApplicationGatewaySslProtocolTLSvOneTwo, + "tlsv1_0": ApplicationGatewaySslProtocolTLSvOneZero, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ApplicationGatewaySslProtocol(input) + return &out, nil +} + +type ApplicationGatewayTier string + +const ( + ApplicationGatewayTierBasic ApplicationGatewayTier = "Basic" + ApplicationGatewayTierStandard ApplicationGatewayTier = "Standard" + ApplicationGatewayTierStandardVTwo ApplicationGatewayTier = "Standard_v2" + ApplicationGatewayTierWAF ApplicationGatewayTier = "WAF" + ApplicationGatewayTierWAFVTwo ApplicationGatewayTier = "WAF_v2" +) + +func PossibleValuesForApplicationGatewayTier() []string { + return []string{ + string(ApplicationGatewayTierBasic), + string(ApplicationGatewayTierStandard), + string(ApplicationGatewayTierStandardVTwo), + string(ApplicationGatewayTierWAF), + string(ApplicationGatewayTierWAFVTwo), + } +} + +func (s *ApplicationGatewayTier) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseApplicationGatewayTier(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseApplicationGatewayTier(input string) (*ApplicationGatewayTier, error) { + vals := map[string]ApplicationGatewayTier{ + "basic": ApplicationGatewayTierBasic, + "standard": ApplicationGatewayTierStandard, + "standard_v2": ApplicationGatewayTierStandardVTwo, + "waf": ApplicationGatewayTierWAF, + "waf_v2": ApplicationGatewayTierWAFVTwo, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ApplicationGatewayTier(input) + return &out, nil +} + +type ApplicationGatewayTierTypes string + +const ( + ApplicationGatewayTierTypesStandard ApplicationGatewayTierTypes = "Standard" + ApplicationGatewayTierTypesStandardVTwo ApplicationGatewayTierTypes = "Standard_v2" + ApplicationGatewayTierTypesWAF ApplicationGatewayTierTypes = "WAF" + ApplicationGatewayTierTypesWAFVTwo ApplicationGatewayTierTypes = "WAF_v2" +) + +func PossibleValuesForApplicationGatewayTierTypes() []string { + return []string{ + string(ApplicationGatewayTierTypesStandard), + string(ApplicationGatewayTierTypesStandardVTwo), + string(ApplicationGatewayTierTypesWAF), + string(ApplicationGatewayTierTypesWAFVTwo), + } +} + +func (s *ApplicationGatewayTierTypes) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseApplicationGatewayTierTypes(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseApplicationGatewayTierTypes(input string) (*ApplicationGatewayTierTypes, error) { + vals := map[string]ApplicationGatewayTierTypes{ + "standard": ApplicationGatewayTierTypesStandard, + "standard_v2": ApplicationGatewayTierTypesStandardVTwo, + "waf": ApplicationGatewayTierTypesWAF, + "waf_v2": ApplicationGatewayTierTypesWAFVTwo, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ApplicationGatewayTierTypes(input) + return &out, nil +} + +type ApplicationGatewayWafRuleActionTypes string + +const ( + ApplicationGatewayWafRuleActionTypesAllow ApplicationGatewayWafRuleActionTypes = "Allow" + ApplicationGatewayWafRuleActionTypesAnomalyScoring ApplicationGatewayWafRuleActionTypes = "AnomalyScoring" + ApplicationGatewayWafRuleActionTypesBlock ApplicationGatewayWafRuleActionTypes = "Block" + ApplicationGatewayWafRuleActionTypesLog ApplicationGatewayWafRuleActionTypes = "Log" + ApplicationGatewayWafRuleActionTypesNone ApplicationGatewayWafRuleActionTypes = "None" +) + +func PossibleValuesForApplicationGatewayWafRuleActionTypes() []string { + return []string{ + string(ApplicationGatewayWafRuleActionTypesAllow), + string(ApplicationGatewayWafRuleActionTypesAnomalyScoring), + string(ApplicationGatewayWafRuleActionTypesBlock), + string(ApplicationGatewayWafRuleActionTypesLog), + string(ApplicationGatewayWafRuleActionTypesNone), + } +} + +func (s *ApplicationGatewayWafRuleActionTypes) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseApplicationGatewayWafRuleActionTypes(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseApplicationGatewayWafRuleActionTypes(input string) (*ApplicationGatewayWafRuleActionTypes, error) { + vals := map[string]ApplicationGatewayWafRuleActionTypes{ + "allow": ApplicationGatewayWafRuleActionTypesAllow, + "anomalyscoring": ApplicationGatewayWafRuleActionTypesAnomalyScoring, + "block": ApplicationGatewayWafRuleActionTypesBlock, + "log": ApplicationGatewayWafRuleActionTypesLog, + "none": ApplicationGatewayWafRuleActionTypesNone, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ApplicationGatewayWafRuleActionTypes(input) + return &out, nil +} + +type ApplicationGatewayWafRuleSensitivityTypes string + +const ( + ApplicationGatewayWafRuleSensitivityTypesHigh ApplicationGatewayWafRuleSensitivityTypes = "High" + ApplicationGatewayWafRuleSensitivityTypesLow ApplicationGatewayWafRuleSensitivityTypes = "Low" + ApplicationGatewayWafRuleSensitivityTypesMedium ApplicationGatewayWafRuleSensitivityTypes = "Medium" + ApplicationGatewayWafRuleSensitivityTypesNone ApplicationGatewayWafRuleSensitivityTypes = "None" +) + +func PossibleValuesForApplicationGatewayWafRuleSensitivityTypes() []string { + return []string{ + string(ApplicationGatewayWafRuleSensitivityTypesHigh), + string(ApplicationGatewayWafRuleSensitivityTypesLow), + string(ApplicationGatewayWafRuleSensitivityTypesMedium), + string(ApplicationGatewayWafRuleSensitivityTypesNone), + } +} + +func (s *ApplicationGatewayWafRuleSensitivityTypes) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseApplicationGatewayWafRuleSensitivityTypes(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseApplicationGatewayWafRuleSensitivityTypes(input string) (*ApplicationGatewayWafRuleSensitivityTypes, error) { + vals := map[string]ApplicationGatewayWafRuleSensitivityTypes{ + "high": ApplicationGatewayWafRuleSensitivityTypesHigh, + "low": ApplicationGatewayWafRuleSensitivityTypesLow, + "medium": ApplicationGatewayWafRuleSensitivityTypesMedium, + "none": ApplicationGatewayWafRuleSensitivityTypesNone, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ApplicationGatewayWafRuleSensitivityTypes(input) + return &out, nil +} + +type ApplicationGatewayWafRuleStateTypes string + +const ( + ApplicationGatewayWafRuleStateTypesDisabled ApplicationGatewayWafRuleStateTypes = "Disabled" + ApplicationGatewayWafRuleStateTypesEnabled ApplicationGatewayWafRuleStateTypes = "Enabled" +) + +func PossibleValuesForApplicationGatewayWafRuleStateTypes() []string { + return []string{ + string(ApplicationGatewayWafRuleStateTypesDisabled), + string(ApplicationGatewayWafRuleStateTypesEnabled), + } +} + +func (s *ApplicationGatewayWafRuleStateTypes) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseApplicationGatewayWafRuleStateTypes(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseApplicationGatewayWafRuleStateTypes(input string) (*ApplicationGatewayWafRuleStateTypes, error) { + vals := map[string]ApplicationGatewayWafRuleStateTypes{ + "disabled": ApplicationGatewayWafRuleStateTypesDisabled, + "enabled": ApplicationGatewayWafRuleStateTypesEnabled, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ApplicationGatewayWafRuleStateTypes(input) + return &out, nil +} + +type DdosSettingsProtectionMode string + +const ( + DdosSettingsProtectionModeDisabled DdosSettingsProtectionMode = "Disabled" + DdosSettingsProtectionModeEnabled DdosSettingsProtectionMode = "Enabled" + DdosSettingsProtectionModeVirtualNetworkInherited DdosSettingsProtectionMode = "VirtualNetworkInherited" +) + +func PossibleValuesForDdosSettingsProtectionMode() []string { + return []string{ + string(DdosSettingsProtectionModeDisabled), + string(DdosSettingsProtectionModeEnabled), + string(DdosSettingsProtectionModeVirtualNetworkInherited), + } +} + +func (s *DdosSettingsProtectionMode) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseDdosSettingsProtectionMode(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseDdosSettingsProtectionMode(input string) (*DdosSettingsProtectionMode, error) { + vals := map[string]DdosSettingsProtectionMode{ + "disabled": DdosSettingsProtectionModeDisabled, + "enabled": DdosSettingsProtectionModeEnabled, + "virtualnetworkinherited": DdosSettingsProtectionModeVirtualNetworkInherited, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := DdosSettingsProtectionMode(input) + return &out, nil +} + +type DeleteOptions string + +const ( + DeleteOptionsDelete DeleteOptions = "Delete" + DeleteOptionsDetach DeleteOptions = "Detach" +) + +func PossibleValuesForDeleteOptions() []string { + return []string{ + string(DeleteOptionsDelete), + string(DeleteOptionsDetach), + } +} + +func (s *DeleteOptions) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseDeleteOptions(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseDeleteOptions(input string) (*DeleteOptions, error) { + vals := map[string]DeleteOptions{ + "delete": DeleteOptionsDelete, + "detach": DeleteOptionsDetach, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := DeleteOptions(input) + return &out, nil +} + +type FlowLogFormatType string + +const ( + FlowLogFormatTypeJSON FlowLogFormatType = "JSON" +) + +func PossibleValuesForFlowLogFormatType() []string { + return []string{ + string(FlowLogFormatTypeJSON), + } +} + +func (s *FlowLogFormatType) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseFlowLogFormatType(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseFlowLogFormatType(input string) (*FlowLogFormatType, error) { + vals := map[string]FlowLogFormatType{ + "json": FlowLogFormatTypeJSON, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := FlowLogFormatType(input) + return &out, nil +} + +type GatewayLoadBalancerTunnelInterfaceType string + +const ( + GatewayLoadBalancerTunnelInterfaceTypeExternal GatewayLoadBalancerTunnelInterfaceType = "External" + GatewayLoadBalancerTunnelInterfaceTypeInternal GatewayLoadBalancerTunnelInterfaceType = "Internal" + GatewayLoadBalancerTunnelInterfaceTypeNone GatewayLoadBalancerTunnelInterfaceType = "None" +) + +func PossibleValuesForGatewayLoadBalancerTunnelInterfaceType() []string { + return []string{ + string(GatewayLoadBalancerTunnelInterfaceTypeExternal), + string(GatewayLoadBalancerTunnelInterfaceTypeInternal), + string(GatewayLoadBalancerTunnelInterfaceTypeNone), + } +} + +func (s *GatewayLoadBalancerTunnelInterfaceType) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseGatewayLoadBalancerTunnelInterfaceType(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseGatewayLoadBalancerTunnelInterfaceType(input string) (*GatewayLoadBalancerTunnelInterfaceType, error) { + vals := map[string]GatewayLoadBalancerTunnelInterfaceType{ + "external": GatewayLoadBalancerTunnelInterfaceTypeExternal, + "internal": GatewayLoadBalancerTunnelInterfaceTypeInternal, + "none": GatewayLoadBalancerTunnelInterfaceTypeNone, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := GatewayLoadBalancerTunnelInterfaceType(input) + return &out, nil +} + +type GatewayLoadBalancerTunnelProtocol string + +const ( + GatewayLoadBalancerTunnelProtocolNative GatewayLoadBalancerTunnelProtocol = "Native" + GatewayLoadBalancerTunnelProtocolNone GatewayLoadBalancerTunnelProtocol = "None" + GatewayLoadBalancerTunnelProtocolVXLAN GatewayLoadBalancerTunnelProtocol = "VXLAN" +) + +func PossibleValuesForGatewayLoadBalancerTunnelProtocol() []string { + return []string{ + string(GatewayLoadBalancerTunnelProtocolNative), + string(GatewayLoadBalancerTunnelProtocolNone), + string(GatewayLoadBalancerTunnelProtocolVXLAN), + } +} + +func (s *GatewayLoadBalancerTunnelProtocol) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseGatewayLoadBalancerTunnelProtocol(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseGatewayLoadBalancerTunnelProtocol(input string) (*GatewayLoadBalancerTunnelProtocol, error) { + vals := map[string]GatewayLoadBalancerTunnelProtocol{ + "native": GatewayLoadBalancerTunnelProtocolNative, + "none": GatewayLoadBalancerTunnelProtocolNone, + "vxlan": GatewayLoadBalancerTunnelProtocolVXLAN, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := GatewayLoadBalancerTunnelProtocol(input) + return &out, nil +} + +type IPAllocationMethod string + +const ( + IPAllocationMethodDynamic IPAllocationMethod = "Dynamic" + IPAllocationMethodStatic IPAllocationMethod = "Static" +) + +func PossibleValuesForIPAllocationMethod() []string { + return []string{ + string(IPAllocationMethodDynamic), + string(IPAllocationMethodStatic), + } +} + +func (s *IPAllocationMethod) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseIPAllocationMethod(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseIPAllocationMethod(input string) (*IPAllocationMethod, error) { + vals := map[string]IPAllocationMethod{ + "dynamic": IPAllocationMethodDynamic, + "static": IPAllocationMethodStatic, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := IPAllocationMethod(input) + return &out, nil +} + +type IPVersion string + +const ( + IPVersionIPvFour IPVersion = "IPv4" + IPVersionIPvSix IPVersion = "IPv6" +) + +func PossibleValuesForIPVersion() []string { + return []string{ + string(IPVersionIPvFour), + string(IPVersionIPvSix), + } +} + +func (s *IPVersion) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseIPVersion(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseIPVersion(input string) (*IPVersion, error) { + vals := map[string]IPVersion{ + "ipv4": IPVersionIPvFour, + "ipv6": IPVersionIPvSix, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := IPVersion(input) + return &out, nil +} + +type LoadBalancerBackendAddressAdminState string + +const ( + LoadBalancerBackendAddressAdminStateDown LoadBalancerBackendAddressAdminState = "Down" + LoadBalancerBackendAddressAdminStateNone LoadBalancerBackendAddressAdminState = "None" + LoadBalancerBackendAddressAdminStateUp LoadBalancerBackendAddressAdminState = "Up" +) + +func PossibleValuesForLoadBalancerBackendAddressAdminState() []string { + return []string{ + string(LoadBalancerBackendAddressAdminStateDown), + string(LoadBalancerBackendAddressAdminStateNone), + string(LoadBalancerBackendAddressAdminStateUp), + } +} + +func (s *LoadBalancerBackendAddressAdminState) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseLoadBalancerBackendAddressAdminState(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseLoadBalancerBackendAddressAdminState(input string) (*LoadBalancerBackendAddressAdminState, error) { + vals := map[string]LoadBalancerBackendAddressAdminState{ + "down": LoadBalancerBackendAddressAdminStateDown, + "none": LoadBalancerBackendAddressAdminStateNone, + "up": LoadBalancerBackendAddressAdminStateUp, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := LoadBalancerBackendAddressAdminState(input) + return &out, nil +} + +type NatGatewaySkuName string + +const ( + NatGatewaySkuNameStandard NatGatewaySkuName = "Standard" +) + +func PossibleValuesForNatGatewaySkuName() []string { + return []string{ + string(NatGatewaySkuNameStandard), + } +} + +func (s *NatGatewaySkuName) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseNatGatewaySkuName(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseNatGatewaySkuName(input string) (*NatGatewaySkuName, error) { + vals := map[string]NatGatewaySkuName{ + "standard": NatGatewaySkuNameStandard, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := NatGatewaySkuName(input) + return &out, nil +} + +type NetworkInterfaceAuxiliaryMode string + +const ( + NetworkInterfaceAuxiliaryModeAcceleratedConnections NetworkInterfaceAuxiliaryMode = "AcceleratedConnections" + NetworkInterfaceAuxiliaryModeFloating NetworkInterfaceAuxiliaryMode = "Floating" + NetworkInterfaceAuxiliaryModeMaxConnections NetworkInterfaceAuxiliaryMode = "MaxConnections" + NetworkInterfaceAuxiliaryModeNone NetworkInterfaceAuxiliaryMode = "None" +) + +func PossibleValuesForNetworkInterfaceAuxiliaryMode() []string { + return []string{ + string(NetworkInterfaceAuxiliaryModeAcceleratedConnections), + string(NetworkInterfaceAuxiliaryModeFloating), + string(NetworkInterfaceAuxiliaryModeMaxConnections), + string(NetworkInterfaceAuxiliaryModeNone), + } +} + +func (s *NetworkInterfaceAuxiliaryMode) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseNetworkInterfaceAuxiliaryMode(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseNetworkInterfaceAuxiliaryMode(input string) (*NetworkInterfaceAuxiliaryMode, error) { + vals := map[string]NetworkInterfaceAuxiliaryMode{ + "acceleratedconnections": NetworkInterfaceAuxiliaryModeAcceleratedConnections, + "floating": NetworkInterfaceAuxiliaryModeFloating, + "maxconnections": NetworkInterfaceAuxiliaryModeMaxConnections, + "none": NetworkInterfaceAuxiliaryModeNone, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := NetworkInterfaceAuxiliaryMode(input) + return &out, nil +} + +type NetworkInterfaceAuxiliarySku string + +const ( + NetworkInterfaceAuxiliarySkuAEight NetworkInterfaceAuxiliarySku = "A8" + NetworkInterfaceAuxiliarySkuAFour NetworkInterfaceAuxiliarySku = "A4" + NetworkInterfaceAuxiliarySkuAOne NetworkInterfaceAuxiliarySku = "A1" + NetworkInterfaceAuxiliarySkuATwo NetworkInterfaceAuxiliarySku = "A2" + NetworkInterfaceAuxiliarySkuNone NetworkInterfaceAuxiliarySku = "None" +) + +func PossibleValuesForNetworkInterfaceAuxiliarySku() []string { + return []string{ + string(NetworkInterfaceAuxiliarySkuAEight), + string(NetworkInterfaceAuxiliarySkuAFour), + string(NetworkInterfaceAuxiliarySkuAOne), + string(NetworkInterfaceAuxiliarySkuATwo), + string(NetworkInterfaceAuxiliarySkuNone), + } +} + +func (s *NetworkInterfaceAuxiliarySku) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseNetworkInterfaceAuxiliarySku(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseNetworkInterfaceAuxiliarySku(input string) (*NetworkInterfaceAuxiliarySku, error) { + vals := map[string]NetworkInterfaceAuxiliarySku{ + "a8": NetworkInterfaceAuxiliarySkuAEight, + "a4": NetworkInterfaceAuxiliarySkuAFour, + "a1": NetworkInterfaceAuxiliarySkuAOne, + "a2": NetworkInterfaceAuxiliarySkuATwo, + "none": NetworkInterfaceAuxiliarySkuNone, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := NetworkInterfaceAuxiliarySku(input) + return &out, nil +} + +type NetworkInterfaceMigrationPhase string + +const ( + NetworkInterfaceMigrationPhaseAbort NetworkInterfaceMigrationPhase = "Abort" + NetworkInterfaceMigrationPhaseCommit NetworkInterfaceMigrationPhase = "Commit" + NetworkInterfaceMigrationPhaseCommitted NetworkInterfaceMigrationPhase = "Committed" + NetworkInterfaceMigrationPhaseNone NetworkInterfaceMigrationPhase = "None" + NetworkInterfaceMigrationPhasePrepare NetworkInterfaceMigrationPhase = "Prepare" +) + +func PossibleValuesForNetworkInterfaceMigrationPhase() []string { + return []string{ + string(NetworkInterfaceMigrationPhaseAbort), + string(NetworkInterfaceMigrationPhaseCommit), + string(NetworkInterfaceMigrationPhaseCommitted), + string(NetworkInterfaceMigrationPhaseNone), + string(NetworkInterfaceMigrationPhasePrepare), + } +} + +func (s *NetworkInterfaceMigrationPhase) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseNetworkInterfaceMigrationPhase(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseNetworkInterfaceMigrationPhase(input string) (*NetworkInterfaceMigrationPhase, error) { + vals := map[string]NetworkInterfaceMigrationPhase{ + "abort": NetworkInterfaceMigrationPhaseAbort, + "commit": NetworkInterfaceMigrationPhaseCommit, + "committed": NetworkInterfaceMigrationPhaseCommitted, + "none": NetworkInterfaceMigrationPhaseNone, + "prepare": NetworkInterfaceMigrationPhasePrepare, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := NetworkInterfaceMigrationPhase(input) + return &out, nil +} + +type NetworkInterfaceNicType string + +const ( + NetworkInterfaceNicTypeElastic NetworkInterfaceNicType = "Elastic" + NetworkInterfaceNicTypeStandard NetworkInterfaceNicType = "Standard" +) + +func PossibleValuesForNetworkInterfaceNicType() []string { + return []string{ + string(NetworkInterfaceNicTypeElastic), + string(NetworkInterfaceNicTypeStandard), + } +} + +func (s *NetworkInterfaceNicType) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseNetworkInterfaceNicType(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseNetworkInterfaceNicType(input string) (*NetworkInterfaceNicType, error) { + vals := map[string]NetworkInterfaceNicType{ + "elastic": NetworkInterfaceNicTypeElastic, + "standard": NetworkInterfaceNicTypeStandard, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := NetworkInterfaceNicType(input) + return &out, nil +} + +type ProvisioningState string + +const ( + ProvisioningStateDeleting ProvisioningState = "Deleting" + ProvisioningStateFailed ProvisioningState = "Failed" + ProvisioningStateSucceeded ProvisioningState = "Succeeded" + ProvisioningStateUpdating ProvisioningState = "Updating" +) + +func PossibleValuesForProvisioningState() []string { + return []string{ + string(ProvisioningStateDeleting), + string(ProvisioningStateFailed), + string(ProvisioningStateSucceeded), + string(ProvisioningStateUpdating), + } +} + +func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseProvisioningState(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseProvisioningState(input string) (*ProvisioningState, error) { + vals := map[string]ProvisioningState{ + "deleting": ProvisioningStateDeleting, + "failed": ProvisioningStateFailed, + "succeeded": ProvisioningStateSucceeded, + "updating": ProvisioningStateUpdating, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ProvisioningState(input) + return &out, nil +} + +type PublicIPAddressDnsSettingsDomainNameLabelScope string + +const ( + PublicIPAddressDnsSettingsDomainNameLabelScopeNoReuse PublicIPAddressDnsSettingsDomainNameLabelScope = "NoReuse" + PublicIPAddressDnsSettingsDomainNameLabelScopeResourceGroupReuse PublicIPAddressDnsSettingsDomainNameLabelScope = "ResourceGroupReuse" + PublicIPAddressDnsSettingsDomainNameLabelScopeSubscriptionReuse PublicIPAddressDnsSettingsDomainNameLabelScope = "SubscriptionReuse" + PublicIPAddressDnsSettingsDomainNameLabelScopeTenantReuse PublicIPAddressDnsSettingsDomainNameLabelScope = "TenantReuse" +) + +func PossibleValuesForPublicIPAddressDnsSettingsDomainNameLabelScope() []string { + return []string{ + string(PublicIPAddressDnsSettingsDomainNameLabelScopeNoReuse), + string(PublicIPAddressDnsSettingsDomainNameLabelScopeResourceGroupReuse), + string(PublicIPAddressDnsSettingsDomainNameLabelScopeSubscriptionReuse), + string(PublicIPAddressDnsSettingsDomainNameLabelScopeTenantReuse), + } +} + +func (s *PublicIPAddressDnsSettingsDomainNameLabelScope) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parsePublicIPAddressDnsSettingsDomainNameLabelScope(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parsePublicIPAddressDnsSettingsDomainNameLabelScope(input string) (*PublicIPAddressDnsSettingsDomainNameLabelScope, error) { + vals := map[string]PublicIPAddressDnsSettingsDomainNameLabelScope{ + "noreuse": PublicIPAddressDnsSettingsDomainNameLabelScopeNoReuse, + "resourcegroupreuse": PublicIPAddressDnsSettingsDomainNameLabelScopeResourceGroupReuse, + "subscriptionreuse": PublicIPAddressDnsSettingsDomainNameLabelScopeSubscriptionReuse, + "tenantreuse": PublicIPAddressDnsSettingsDomainNameLabelScopeTenantReuse, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := PublicIPAddressDnsSettingsDomainNameLabelScope(input) + return &out, nil +} + +type PublicIPAddressMigrationPhase string + +const ( + PublicIPAddressMigrationPhaseAbort PublicIPAddressMigrationPhase = "Abort" + PublicIPAddressMigrationPhaseCommit PublicIPAddressMigrationPhase = "Commit" + PublicIPAddressMigrationPhaseCommitted PublicIPAddressMigrationPhase = "Committed" + PublicIPAddressMigrationPhaseNone PublicIPAddressMigrationPhase = "None" + PublicIPAddressMigrationPhasePrepare PublicIPAddressMigrationPhase = "Prepare" +) + +func PossibleValuesForPublicIPAddressMigrationPhase() []string { + return []string{ + string(PublicIPAddressMigrationPhaseAbort), + string(PublicIPAddressMigrationPhaseCommit), + string(PublicIPAddressMigrationPhaseCommitted), + string(PublicIPAddressMigrationPhaseNone), + string(PublicIPAddressMigrationPhasePrepare), + } +} + +func (s *PublicIPAddressMigrationPhase) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parsePublicIPAddressMigrationPhase(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parsePublicIPAddressMigrationPhase(input string) (*PublicIPAddressMigrationPhase, error) { + vals := map[string]PublicIPAddressMigrationPhase{ + "abort": PublicIPAddressMigrationPhaseAbort, + "commit": PublicIPAddressMigrationPhaseCommit, + "committed": PublicIPAddressMigrationPhaseCommitted, + "none": PublicIPAddressMigrationPhaseNone, + "prepare": PublicIPAddressMigrationPhasePrepare, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := PublicIPAddressMigrationPhase(input) + return &out, nil +} + +type PublicIPAddressSkuName string + +const ( + PublicIPAddressSkuNameBasic PublicIPAddressSkuName = "Basic" + PublicIPAddressSkuNameStandard PublicIPAddressSkuName = "Standard" +) + +func PossibleValuesForPublicIPAddressSkuName() []string { + return []string{ + string(PublicIPAddressSkuNameBasic), + string(PublicIPAddressSkuNameStandard), + } +} + +func (s *PublicIPAddressSkuName) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parsePublicIPAddressSkuName(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parsePublicIPAddressSkuName(input string) (*PublicIPAddressSkuName, error) { + vals := map[string]PublicIPAddressSkuName{ + "basic": PublicIPAddressSkuNameBasic, + "standard": PublicIPAddressSkuNameStandard, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := PublicIPAddressSkuName(input) + return &out, nil +} + +type PublicIPAddressSkuTier string + +const ( + PublicIPAddressSkuTierGlobal PublicIPAddressSkuTier = "Global" + PublicIPAddressSkuTierRegional PublicIPAddressSkuTier = "Regional" +) + +func PossibleValuesForPublicIPAddressSkuTier() []string { + return []string{ + string(PublicIPAddressSkuTierGlobal), + string(PublicIPAddressSkuTierRegional), + } +} + +func (s *PublicIPAddressSkuTier) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parsePublicIPAddressSkuTier(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parsePublicIPAddressSkuTier(input string) (*PublicIPAddressSkuTier, error) { + vals := map[string]PublicIPAddressSkuTier{ + "global": PublicIPAddressSkuTierGlobal, + "regional": PublicIPAddressSkuTierRegional, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := PublicIPAddressSkuTier(input) + return &out, nil +} + +type RouteNextHopType string + +const ( + RouteNextHopTypeInternet RouteNextHopType = "Internet" + RouteNextHopTypeNone RouteNextHopType = "None" + RouteNextHopTypeVirtualAppliance RouteNextHopType = "VirtualAppliance" + RouteNextHopTypeVirtualNetworkGateway RouteNextHopType = "VirtualNetworkGateway" + RouteNextHopTypeVnetLocal RouteNextHopType = "VnetLocal" +) + +func PossibleValuesForRouteNextHopType() []string { + return []string{ + string(RouteNextHopTypeInternet), + string(RouteNextHopTypeNone), + string(RouteNextHopTypeVirtualAppliance), + string(RouteNextHopTypeVirtualNetworkGateway), + string(RouteNextHopTypeVnetLocal), + } +} + +func (s *RouteNextHopType) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseRouteNextHopType(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseRouteNextHopType(input string) (*RouteNextHopType, error) { + vals := map[string]RouteNextHopType{ + "internet": RouteNextHopTypeInternet, + "none": RouteNextHopTypeNone, + "virtualappliance": RouteNextHopTypeVirtualAppliance, + "virtualnetworkgateway": RouteNextHopTypeVirtualNetworkGateway, + "vnetlocal": RouteNextHopTypeVnetLocal, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := RouteNextHopType(input) + return &out, nil +} + +type SecurityRuleAccess string + +const ( + SecurityRuleAccessAllow SecurityRuleAccess = "Allow" + SecurityRuleAccessDeny SecurityRuleAccess = "Deny" +) + +func PossibleValuesForSecurityRuleAccess() []string { + return []string{ + string(SecurityRuleAccessAllow), + string(SecurityRuleAccessDeny), + } +} + +func (s *SecurityRuleAccess) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseSecurityRuleAccess(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseSecurityRuleAccess(input string) (*SecurityRuleAccess, error) { + vals := map[string]SecurityRuleAccess{ + "allow": SecurityRuleAccessAllow, + "deny": SecurityRuleAccessDeny, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := SecurityRuleAccess(input) + return &out, nil +} + +type SecurityRuleDirection string + +const ( + SecurityRuleDirectionInbound SecurityRuleDirection = "Inbound" + SecurityRuleDirectionOutbound SecurityRuleDirection = "Outbound" +) + +func PossibleValuesForSecurityRuleDirection() []string { + return []string{ + string(SecurityRuleDirectionInbound), + string(SecurityRuleDirectionOutbound), + } +} + +func (s *SecurityRuleDirection) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseSecurityRuleDirection(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseSecurityRuleDirection(input string) (*SecurityRuleDirection, error) { + vals := map[string]SecurityRuleDirection{ + "inbound": SecurityRuleDirectionInbound, + "outbound": SecurityRuleDirectionOutbound, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := SecurityRuleDirection(input) + return &out, nil +} + +type SecurityRuleProtocol string + +const ( + SecurityRuleProtocolAh SecurityRuleProtocol = "Ah" + SecurityRuleProtocolAny SecurityRuleProtocol = "*" + SecurityRuleProtocolEsp SecurityRuleProtocol = "Esp" + SecurityRuleProtocolIcmp SecurityRuleProtocol = "Icmp" + SecurityRuleProtocolTcp SecurityRuleProtocol = "Tcp" + SecurityRuleProtocolUdp SecurityRuleProtocol = "Udp" +) + +func PossibleValuesForSecurityRuleProtocol() []string { + return []string{ + string(SecurityRuleProtocolAh), + string(SecurityRuleProtocolAny), + string(SecurityRuleProtocolEsp), + string(SecurityRuleProtocolIcmp), + string(SecurityRuleProtocolTcp), + string(SecurityRuleProtocolUdp), + } +} + +func (s *SecurityRuleProtocol) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseSecurityRuleProtocol(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseSecurityRuleProtocol(input string) (*SecurityRuleProtocol, error) { + vals := map[string]SecurityRuleProtocol{ + "ah": SecurityRuleProtocolAh, + "*": SecurityRuleProtocolAny, + "esp": SecurityRuleProtocolEsp, + "icmp": SecurityRuleProtocolIcmp, + "tcp": SecurityRuleProtocolTcp, + "udp": SecurityRuleProtocolUdp, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := SecurityRuleProtocol(input) + return &out, nil +} + +type SharingScope string + +const ( + SharingScopeDelegatedServices SharingScope = "DelegatedServices" + SharingScopeTenant SharingScope = "Tenant" +) + +func PossibleValuesForSharingScope() []string { + return []string{ + string(SharingScopeDelegatedServices), + string(SharingScopeTenant), + } +} + +func (s *SharingScope) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseSharingScope(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseSharingScope(input string) (*SharingScope, error) { + vals := map[string]SharingScope{ + "delegatedservices": SharingScopeDelegatedServices, + "tenant": SharingScopeTenant, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := SharingScope(input) + return &out, nil +} + +type SyncMode string + +const ( + SyncModeAutomatic SyncMode = "Automatic" + SyncModeManual SyncMode = "Manual" +) + +func PossibleValuesForSyncMode() []string { + return []string{ + string(SyncModeAutomatic), + string(SyncModeManual), + } +} + +func (s *SyncMode) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseSyncMode(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseSyncMode(input string) (*SyncMode, error) { + vals := map[string]SyncMode{ + "automatic": SyncModeAutomatic, + "manual": SyncModeManual, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := SyncMode(input) + return &out, nil +} + +type TransportProtocol string + +const ( + TransportProtocolAll TransportProtocol = "All" + TransportProtocolTcp TransportProtocol = "Tcp" + TransportProtocolUdp TransportProtocol = "Udp" +) + +func PossibleValuesForTransportProtocol() []string { + return []string{ + string(TransportProtocolAll), + string(TransportProtocolTcp), + string(TransportProtocolUdp), + } +} + +func (s *TransportProtocol) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseTransportProtocol(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseTransportProtocol(input string) (*TransportProtocol, error) { + vals := map[string]TransportProtocol{ + "all": TransportProtocolAll, + "tcp": TransportProtocolTcp, + "udp": TransportProtocolUdp, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := TransportProtocol(input) + return &out, nil +} + +type VirtualNetworkPrivateEndpointNetworkPolicies string + +const ( + VirtualNetworkPrivateEndpointNetworkPoliciesDisabled VirtualNetworkPrivateEndpointNetworkPolicies = "Disabled" + VirtualNetworkPrivateEndpointNetworkPoliciesEnabled VirtualNetworkPrivateEndpointNetworkPolicies = "Enabled" + VirtualNetworkPrivateEndpointNetworkPoliciesNetworkSecurityGroupEnabled VirtualNetworkPrivateEndpointNetworkPolicies = "NetworkSecurityGroupEnabled" + VirtualNetworkPrivateEndpointNetworkPoliciesRouteTableEnabled VirtualNetworkPrivateEndpointNetworkPolicies = "RouteTableEnabled" +) + +func PossibleValuesForVirtualNetworkPrivateEndpointNetworkPolicies() []string { + return []string{ + string(VirtualNetworkPrivateEndpointNetworkPoliciesDisabled), + string(VirtualNetworkPrivateEndpointNetworkPoliciesEnabled), + string(VirtualNetworkPrivateEndpointNetworkPoliciesNetworkSecurityGroupEnabled), + string(VirtualNetworkPrivateEndpointNetworkPoliciesRouteTableEnabled), + } +} + +func (s *VirtualNetworkPrivateEndpointNetworkPolicies) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseVirtualNetworkPrivateEndpointNetworkPolicies(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseVirtualNetworkPrivateEndpointNetworkPolicies(input string) (*VirtualNetworkPrivateEndpointNetworkPolicies, error) { + vals := map[string]VirtualNetworkPrivateEndpointNetworkPolicies{ + "disabled": VirtualNetworkPrivateEndpointNetworkPoliciesDisabled, + "enabled": VirtualNetworkPrivateEndpointNetworkPoliciesEnabled, + "networksecuritygroupenabled": VirtualNetworkPrivateEndpointNetworkPoliciesNetworkSecurityGroupEnabled, + "routetableenabled": VirtualNetworkPrivateEndpointNetworkPoliciesRouteTableEnabled, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := VirtualNetworkPrivateEndpointNetworkPolicies(input) + return &out, nil +} + +type VirtualNetworkPrivateLinkServiceNetworkPolicies string + +const ( + VirtualNetworkPrivateLinkServiceNetworkPoliciesDisabled VirtualNetworkPrivateLinkServiceNetworkPolicies = "Disabled" + VirtualNetworkPrivateLinkServiceNetworkPoliciesEnabled VirtualNetworkPrivateLinkServiceNetworkPolicies = "Enabled" +) + +func PossibleValuesForVirtualNetworkPrivateLinkServiceNetworkPolicies() []string { + return []string{ + string(VirtualNetworkPrivateLinkServiceNetworkPoliciesDisabled), + string(VirtualNetworkPrivateLinkServiceNetworkPoliciesEnabled), + } +} + +func (s *VirtualNetworkPrivateLinkServiceNetworkPolicies) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseVirtualNetworkPrivateLinkServiceNetworkPolicies(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseVirtualNetworkPrivateLinkServiceNetworkPolicies(input string) (*VirtualNetworkPrivateLinkServiceNetworkPolicies, error) { + vals := map[string]VirtualNetworkPrivateLinkServiceNetworkPolicies{ + "disabled": VirtualNetworkPrivateLinkServiceNetworkPoliciesDisabled, + "enabled": VirtualNetworkPrivateLinkServiceNetworkPoliciesEnabled, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := VirtualNetworkPrivateLinkServiceNetworkPolicies(input) + return &out, nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/id_applicationgateway.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/id_applicationgateway.go new file mode 100644 index 000000000000..90637014b692 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/id_applicationgateway.go @@ -0,0 +1,130 @@ +package applicationgateways + +import ( + "fmt" + "strings" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/recaser" + "github.com/hashicorp/go-azure-helpers/resourcemanager/resourceids" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +func init() { + recaser.RegisterResourceId(&ApplicationGatewayId{}) +} + +var _ resourceids.ResourceId = &ApplicationGatewayId{} + +// ApplicationGatewayId is a struct representing the Resource ID for a Application Gateway +type ApplicationGatewayId struct { + SubscriptionId string + ResourceGroupName string + ApplicationGatewayName string +} + +// NewApplicationGatewayID returns a new ApplicationGatewayId struct +func NewApplicationGatewayID(subscriptionId string, resourceGroupName string, applicationGatewayName string) ApplicationGatewayId { + return ApplicationGatewayId{ + SubscriptionId: subscriptionId, + ResourceGroupName: resourceGroupName, + ApplicationGatewayName: applicationGatewayName, + } +} + +// ParseApplicationGatewayID parses 'input' into a ApplicationGatewayId +func ParseApplicationGatewayID(input string) (*ApplicationGatewayId, error) { + parser := resourceids.NewParserFromResourceIdType(&ApplicationGatewayId{}) + parsed, err := parser.Parse(input, false) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := ApplicationGatewayId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +// ParseApplicationGatewayIDInsensitively parses 'input' case-insensitively into a ApplicationGatewayId +// note: this method should only be used for API response data and not user input +func ParseApplicationGatewayIDInsensitively(input string) (*ApplicationGatewayId, error) { + parser := resourceids.NewParserFromResourceIdType(&ApplicationGatewayId{}) + parsed, err := parser.Parse(input, true) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := ApplicationGatewayId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +func (id *ApplicationGatewayId) FromParseResult(input resourceids.ParseResult) error { + var ok bool + + if id.SubscriptionId, ok = input.Parsed["subscriptionId"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "subscriptionId", input) + } + + if id.ResourceGroupName, ok = input.Parsed["resourceGroupName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "resourceGroupName", input) + } + + if id.ApplicationGatewayName, ok = input.Parsed["applicationGatewayName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "applicationGatewayName", input) + } + + return nil +} + +// ValidateApplicationGatewayID checks that 'input' can be parsed as a Application Gateway ID +func ValidateApplicationGatewayID(input interface{}, key string) (warnings []string, errors []error) { + v, ok := input.(string) + if !ok { + errors = append(errors, fmt.Errorf("expected %q to be a string", key)) + return + } + + if _, err := ParseApplicationGatewayID(v); err != nil { + errors = append(errors, err) + } + + return +} + +// ID returns the formatted Application Gateway ID +func (id ApplicationGatewayId) ID() string { + fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.Network/applicationGateways/%s" + return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.ApplicationGatewayName) +} + +// Segments returns a slice of Resource ID Segments which comprise this Application Gateway ID +func (id ApplicationGatewayId) Segments() []resourceids.Segment { + return []resourceids.Segment{ + resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), + resourceids.SubscriptionIdSegment("subscriptionId", "12345678-1234-9876-4563-123456789012"), + resourceids.StaticSegment("staticResourceGroups", "resourceGroups", "resourceGroups"), + resourceids.ResourceGroupSegment("resourceGroupName", "example-resource-group"), + resourceids.StaticSegment("staticProviders", "providers", "providers"), + resourceids.ResourceProviderSegment("staticMicrosoftNetwork", "Microsoft.Network", "Microsoft.Network"), + resourceids.StaticSegment("staticApplicationGateways", "applicationGateways", "applicationGateways"), + resourceids.UserSpecifiedSegment("applicationGatewayName", "applicationGatewayName"), + } +} + +// String returns a human-readable description of this Application Gateway ID +func (id ApplicationGatewayId) String() string { + components := []string{ + fmt.Sprintf("Subscription: %q", id.SubscriptionId), + fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), + fmt.Sprintf("Application Gateway Name: %q", id.ApplicationGatewayName), + } + return fmt.Sprintf("Application Gateway (%s)", strings.Join(components, "\n")) +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/id_predefinedpolicy.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/id_predefinedpolicy.go new file mode 100644 index 000000000000..098e66be9e45 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/id_predefinedpolicy.go @@ -0,0 +1,123 @@ +package applicationgateways + +import ( + "fmt" + "strings" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/recaser" + "github.com/hashicorp/go-azure-helpers/resourcemanager/resourceids" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +func init() { + recaser.RegisterResourceId(&PredefinedPolicyId{}) +} + +var _ resourceids.ResourceId = &PredefinedPolicyId{} + +// PredefinedPolicyId is a struct representing the Resource ID for a Predefined Policy +type PredefinedPolicyId struct { + SubscriptionId string + PredefinedPolicyName string +} + +// NewPredefinedPolicyID returns a new PredefinedPolicyId struct +func NewPredefinedPolicyID(subscriptionId string, predefinedPolicyName string) PredefinedPolicyId { + return PredefinedPolicyId{ + SubscriptionId: subscriptionId, + PredefinedPolicyName: predefinedPolicyName, + } +} + +// ParsePredefinedPolicyID parses 'input' into a PredefinedPolicyId +func ParsePredefinedPolicyID(input string) (*PredefinedPolicyId, error) { + parser := resourceids.NewParserFromResourceIdType(&PredefinedPolicyId{}) + parsed, err := parser.Parse(input, false) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := PredefinedPolicyId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +// ParsePredefinedPolicyIDInsensitively parses 'input' case-insensitively into a PredefinedPolicyId +// note: this method should only be used for API response data and not user input +func ParsePredefinedPolicyIDInsensitively(input string) (*PredefinedPolicyId, error) { + parser := resourceids.NewParserFromResourceIdType(&PredefinedPolicyId{}) + parsed, err := parser.Parse(input, true) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := PredefinedPolicyId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +func (id *PredefinedPolicyId) FromParseResult(input resourceids.ParseResult) error { + var ok bool + + if id.SubscriptionId, ok = input.Parsed["subscriptionId"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "subscriptionId", input) + } + + if id.PredefinedPolicyName, ok = input.Parsed["predefinedPolicyName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "predefinedPolicyName", input) + } + + return nil +} + +// ValidatePredefinedPolicyID checks that 'input' can be parsed as a Predefined Policy ID +func ValidatePredefinedPolicyID(input interface{}, key string) (warnings []string, errors []error) { + v, ok := input.(string) + if !ok { + errors = append(errors, fmt.Errorf("expected %q to be a string", key)) + return + } + + if _, err := ParsePredefinedPolicyID(v); err != nil { + errors = append(errors, err) + } + + return +} + +// ID returns the formatted Predefined Policy ID +func (id PredefinedPolicyId) ID() string { + fmtString := "/subscriptions/%s/providers/Microsoft.Network/applicationGatewayAvailableSslOptions/default/predefinedPolicies/%s" + return fmt.Sprintf(fmtString, id.SubscriptionId, id.PredefinedPolicyName) +} + +// Segments returns a slice of Resource ID Segments which comprise this Predefined Policy ID +func (id PredefinedPolicyId) Segments() []resourceids.Segment { + return []resourceids.Segment{ + resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), + resourceids.SubscriptionIdSegment("subscriptionId", "12345678-1234-9876-4563-123456789012"), + resourceids.StaticSegment("staticProviders", "providers", "providers"), + resourceids.ResourceProviderSegment("staticMicrosoftNetwork", "Microsoft.Network", "Microsoft.Network"), + resourceids.StaticSegment("staticApplicationGatewayAvailableSslOptions", "applicationGatewayAvailableSslOptions", "applicationGatewayAvailableSslOptions"), + resourceids.StaticSegment("staticDefault", "default", "default"), + resourceids.StaticSegment("staticPredefinedPolicies", "predefinedPolicies", "predefinedPolicies"), + resourceids.UserSpecifiedSegment("predefinedPolicyName", "predefinedPolicyName"), + } +} + +// String returns a human-readable description of this Predefined Policy ID +func (id PredefinedPolicyId) String() string { + components := []string{ + fmt.Sprintf("Subscription: %q", id.SubscriptionId), + fmt.Sprintf("Predefined Policy Name: %q", id.PredefinedPolicyName), + } + return fmt.Sprintf("Predefined Policy (%s)", strings.Join(components, "\n")) +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/method_backendhealth.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/method_backendhealth.go new file mode 100644 index 000000000000..2ab399ab3f9e --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/method_backendhealth.go @@ -0,0 +1,100 @@ +package applicationgateways + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/client/pollers" + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type BackendHealthOperationResponse struct { + Poller pollers.Poller + HttpResponse *http.Response + OData *odata.OData + Model *ApplicationGatewayBackendHealth +} + +type BackendHealthOperationOptions struct { + Expand *string +} + +func DefaultBackendHealthOperationOptions() BackendHealthOperationOptions { + return BackendHealthOperationOptions{} +} + +func (o BackendHealthOperationOptions) ToHeaders() *client.Headers { + out := client.Headers{} + + return &out +} + +func (o BackendHealthOperationOptions) ToOData() *odata.Query { + out := odata.Query{} + + return &out +} + +func (o BackendHealthOperationOptions) ToQuery() *client.QueryParams { + out := client.QueryParams{} + if o.Expand != nil { + out.Append("$expand", fmt.Sprintf("%v", *o.Expand)) + } + return &out +} + +// BackendHealth ... +func (c ApplicationGatewaysClient) BackendHealth(ctx context.Context, id ApplicationGatewayId, options BackendHealthOperationOptions) (result BackendHealthOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusAccepted, + http.StatusOK, + }, + HttpMethod: http.MethodPost, + OptionsObject: options, + Path: fmt.Sprintf("%s/backendhealth", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client) + if err != nil { + return + } + + return +} + +// BackendHealthThenPoll performs BackendHealth then polls until it's completed +func (c ApplicationGatewaysClient) BackendHealthThenPoll(ctx context.Context, id ApplicationGatewayId, options BackendHealthOperationOptions) error { + result, err := c.BackendHealth(ctx, id, options) + if err != nil { + return fmt.Errorf("performing BackendHealth: %+v", err) + } + + if err := result.Poller.PollUntilDone(ctx); err != nil { + return fmt.Errorf("polling after BackendHealth: %+v", err) + } + + return nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/method_backendhealthondemand.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/method_backendhealthondemand.go new file mode 100644 index 000000000000..a22fd7135ce6 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/method_backendhealthondemand.go @@ -0,0 +1,104 @@ +package applicationgateways + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/client/pollers" + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type BackendHealthOnDemandOperationResponse struct { + Poller pollers.Poller + HttpResponse *http.Response + OData *odata.OData + Model *ApplicationGatewayBackendHealthOnDemand +} + +type BackendHealthOnDemandOperationOptions struct { + Expand *string +} + +func DefaultBackendHealthOnDemandOperationOptions() BackendHealthOnDemandOperationOptions { + return BackendHealthOnDemandOperationOptions{} +} + +func (o BackendHealthOnDemandOperationOptions) ToHeaders() *client.Headers { + out := client.Headers{} + + return &out +} + +func (o BackendHealthOnDemandOperationOptions) ToOData() *odata.Query { + out := odata.Query{} + + return &out +} + +func (o BackendHealthOnDemandOperationOptions) ToQuery() *client.QueryParams { + out := client.QueryParams{} + if o.Expand != nil { + out.Append("$expand", fmt.Sprintf("%v", *o.Expand)) + } + return &out +} + +// BackendHealthOnDemand ... +func (c ApplicationGatewaysClient) BackendHealthOnDemand(ctx context.Context, id ApplicationGatewayId, input ApplicationGatewayOnDemandProbe, options BackendHealthOnDemandOperationOptions) (result BackendHealthOnDemandOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusAccepted, + http.StatusOK, + }, + HttpMethod: http.MethodPost, + OptionsObject: options, + Path: fmt.Sprintf("%s/getBackendHealthOnDemand", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + if err = req.Marshal(input); err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client) + if err != nil { + return + } + + return +} + +// BackendHealthOnDemandThenPoll performs BackendHealthOnDemand then polls until it's completed +func (c ApplicationGatewaysClient) BackendHealthOnDemandThenPoll(ctx context.Context, id ApplicationGatewayId, input ApplicationGatewayOnDemandProbe, options BackendHealthOnDemandOperationOptions) error { + result, err := c.BackendHealthOnDemand(ctx, id, input, options) + if err != nil { + return fmt.Errorf("performing BackendHealthOnDemand: %+v", err) + } + + if err := result.Poller.PollUntilDone(ctx); err != nil { + return fmt.Errorf("polling after BackendHealthOnDemand: %+v", err) + } + + return nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/method_createorupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/method_createorupdate.go new file mode 100644 index 000000000000..66330483b32a --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/method_createorupdate.go @@ -0,0 +1,75 @@ +package applicationgateways + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/client/pollers" + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type CreateOrUpdateOperationResponse struct { + Poller pollers.Poller + HttpResponse *http.Response + OData *odata.OData + Model *ApplicationGateway +} + +// CreateOrUpdate ... +func (c ApplicationGatewaysClient) CreateOrUpdate(ctx context.Context, id ApplicationGatewayId, input ApplicationGateway) (result CreateOrUpdateOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusCreated, + http.StatusOK, + }, + HttpMethod: http.MethodPut, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + if err = req.Marshal(input); err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client) + if err != nil { + return + } + + return +} + +// CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed +func (c ApplicationGatewaysClient) CreateOrUpdateThenPoll(ctx context.Context, id ApplicationGatewayId, input ApplicationGateway) error { + result, err := c.CreateOrUpdate(ctx, id, input) + if err != nil { + return fmt.Errorf("performing CreateOrUpdate: %+v", err) + } + + if err := result.Poller.PollUntilDone(ctx); err != nil { + return fmt.Errorf("polling after CreateOrUpdate: %+v", err) + } + + return nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/method_delete.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/method_delete.go new file mode 100644 index 000000000000..6769fa69c245 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/method_delete.go @@ -0,0 +1,71 @@ +package applicationgateways + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/client/pollers" + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type DeleteOperationResponse struct { + Poller pollers.Poller + HttpResponse *http.Response + OData *odata.OData +} + +// Delete ... +func (c ApplicationGatewaysClient) Delete(ctx context.Context, id ApplicationGatewayId) (result DeleteOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusAccepted, + http.StatusNoContent, + http.StatusOK, + }, + HttpMethod: http.MethodDelete, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client) + if err != nil { + return + } + + return +} + +// DeleteThenPoll performs Delete then polls until it's completed +func (c ApplicationGatewaysClient) DeleteThenPoll(ctx context.Context, id ApplicationGatewayId) error { + result, err := c.Delete(ctx, id) + if err != nil { + return fmt.Errorf("performing Delete: %+v", err) + } + + if err := result.Poller.PollUntilDone(ctx); err != nil { + return fmt.Errorf("polling after Delete: %+v", err) + } + + return nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/method_get.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/method_get.go new file mode 100644 index 000000000000..c25227f49ca2 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/method_get.go @@ -0,0 +1,53 @@ +package applicationgateways + +import ( + "context" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type GetOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *ApplicationGateway +} + +// Get ... +func (c ApplicationGatewaysClient) Get(ctx context.Context, id ApplicationGatewayId) (result GetOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var model ApplicationGateway + result.Model = &model + if err = resp.Unmarshal(result.Model); err != nil { + return + } + + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/method_getsslpredefinedpolicy.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/method_getsslpredefinedpolicy.go new file mode 100644 index 000000000000..d42b5d2730ea --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/method_getsslpredefinedpolicy.go @@ -0,0 +1,53 @@ +package applicationgateways + +import ( + "context" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type GetSslPredefinedPolicyOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *ApplicationGatewaySslPredefinedPolicy +} + +// GetSslPredefinedPolicy ... +func (c ApplicationGatewaysClient) GetSslPredefinedPolicy(ctx context.Context, id PredefinedPolicyId) (result GetSslPredefinedPolicyOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var model ApplicationGatewaySslPredefinedPolicy + result.Model = &model + if err = resp.Unmarshal(result.Model); err != nil { + return + } + + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/method_list.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/method_list.go new file mode 100644 index 000000000000..5993122f77d6 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/method_list.go @@ -0,0 +1,106 @@ +package applicationgateways + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ListOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *[]ApplicationGateway +} + +type ListCompleteResult struct { + LatestHttpResponse *http.Response + Items []ApplicationGateway +} + +type ListCustomPager struct { + NextLink *odata.Link `json:"nextLink"` +} + +func (p *ListCustomPager) NextPageLink() *odata.Link { + defer func() { + p.NextLink = nil + }() + + return p.NextLink +} + +// List ... +func (c ApplicationGatewaysClient) List(ctx context.Context, id commonids.ResourceGroupId) (result ListOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Pager: &ListCustomPager{}, + Path: fmt.Sprintf("%s/providers/Microsoft.Network/applicationGateways", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.ExecutePaged(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var values struct { + Values *[]ApplicationGateway `json:"value"` + } + if err = resp.Unmarshal(&values); err != nil { + return + } + + result.Model = values.Values + + return +} + +// ListComplete retrieves all the results into a single object +func (c ApplicationGatewaysClient) ListComplete(ctx context.Context, id commonids.ResourceGroupId) (ListCompleteResult, error) { + return c.ListCompleteMatchingPredicate(ctx, id, ApplicationGatewayOperationPredicate{}) +} + +// ListCompleteMatchingPredicate retrieves all the results and then applies the predicate +func (c ApplicationGatewaysClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate ApplicationGatewayOperationPredicate) (result ListCompleteResult, err error) { + items := make([]ApplicationGateway, 0) + + resp, err := c.List(ctx, id) + if err != nil { + result.LatestHttpResponse = resp.HttpResponse + err = fmt.Errorf("loading results: %+v", err) + return + } + if resp.Model != nil { + for _, v := range *resp.Model { + if predicate.Matches(v) { + items = append(items, v) + } + } + } + + result = ListCompleteResult{ + LatestHttpResponse: resp.HttpResponse, + Items: items, + } + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/method_listall.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/method_listall.go new file mode 100644 index 000000000000..2339a539153a --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/method_listall.go @@ -0,0 +1,106 @@ +package applicationgateways + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ListAllOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *[]ApplicationGateway +} + +type ListAllCompleteResult struct { + LatestHttpResponse *http.Response + Items []ApplicationGateway +} + +type ListAllCustomPager struct { + NextLink *odata.Link `json:"nextLink"` +} + +func (p *ListAllCustomPager) NextPageLink() *odata.Link { + defer func() { + p.NextLink = nil + }() + + return p.NextLink +} + +// ListAll ... +func (c ApplicationGatewaysClient) ListAll(ctx context.Context, id commonids.SubscriptionId) (result ListAllOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Pager: &ListAllCustomPager{}, + Path: fmt.Sprintf("%s/providers/Microsoft.Network/applicationGateways", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.ExecutePaged(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var values struct { + Values *[]ApplicationGateway `json:"value"` + } + if err = resp.Unmarshal(&values); err != nil { + return + } + + result.Model = values.Values + + return +} + +// ListAllComplete retrieves all the results into a single object +func (c ApplicationGatewaysClient) ListAllComplete(ctx context.Context, id commonids.SubscriptionId) (ListAllCompleteResult, error) { + return c.ListAllCompleteMatchingPredicate(ctx, id, ApplicationGatewayOperationPredicate{}) +} + +// ListAllCompleteMatchingPredicate retrieves all the results and then applies the predicate +func (c ApplicationGatewaysClient) ListAllCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate ApplicationGatewayOperationPredicate) (result ListAllCompleteResult, err error) { + items := make([]ApplicationGateway, 0) + + resp, err := c.ListAll(ctx, id) + if err != nil { + result.LatestHttpResponse = resp.HttpResponse + err = fmt.Errorf("loading results: %+v", err) + return + } + if resp.Model != nil { + for _, v := range *resp.Model { + if predicate.Matches(v) { + items = append(items, v) + } + } + } + + result = ListAllCompleteResult{ + LatestHttpResponse: resp.HttpResponse, + Items: items, + } + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/method_listavailablerequestheaders.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/method_listavailablerequestheaders.go new file mode 100644 index 000000000000..8132f0945cfe --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/method_listavailablerequestheaders.go @@ -0,0 +1,55 @@ +package applicationgateways + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ListAvailableRequestHeadersOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *[]string +} + +// ListAvailableRequestHeaders ... +func (c ApplicationGatewaysClient) ListAvailableRequestHeaders(ctx context.Context, id commonids.SubscriptionId) (result ListAvailableRequestHeadersOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Path: fmt.Sprintf("%s/providers/Microsoft.Network/applicationGatewayAvailableRequestHeaders", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var model []string + result.Model = &model + if err = resp.Unmarshal(result.Model); err != nil { + return + } + + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/method_listavailableresponseheaders.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/method_listavailableresponseheaders.go new file mode 100644 index 000000000000..89bdb636e2ef --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/method_listavailableresponseheaders.go @@ -0,0 +1,55 @@ +package applicationgateways + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ListAvailableResponseHeadersOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *[]string +} + +// ListAvailableResponseHeaders ... +func (c ApplicationGatewaysClient) ListAvailableResponseHeaders(ctx context.Context, id commonids.SubscriptionId) (result ListAvailableResponseHeadersOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Path: fmt.Sprintf("%s/providers/Microsoft.Network/applicationGatewayAvailableResponseHeaders", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var model []string + result.Model = &model + if err = resp.Unmarshal(result.Model); err != nil { + return + } + + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/method_listavailableservervariables.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/method_listavailableservervariables.go new file mode 100644 index 000000000000..f2a0d8c4b796 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/method_listavailableservervariables.go @@ -0,0 +1,55 @@ +package applicationgateways + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ListAvailableServerVariablesOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *[]string +} + +// ListAvailableServerVariables ... +func (c ApplicationGatewaysClient) ListAvailableServerVariables(ctx context.Context, id commonids.SubscriptionId) (result ListAvailableServerVariablesOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Path: fmt.Sprintf("%s/providers/Microsoft.Network/applicationGatewayAvailableServerVariables", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var model []string + result.Model = &model + if err = resp.Unmarshal(result.Model); err != nil { + return + } + + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/method_listavailablessloptions.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/method_listavailablessloptions.go new file mode 100644 index 000000000000..f446cd3730a1 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/method_listavailablessloptions.go @@ -0,0 +1,55 @@ +package applicationgateways + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ListAvailableSslOptionsOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *ApplicationGatewayAvailableSslOptions +} + +// ListAvailableSslOptions ... +func (c ApplicationGatewaysClient) ListAvailableSslOptions(ctx context.Context, id commonids.SubscriptionId) (result ListAvailableSslOptionsOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Path: fmt.Sprintf("%s/providers/Microsoft.Network/applicationGatewayAvailableSslOptions/default", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var model ApplicationGatewayAvailableSslOptions + result.Model = &model + if err = resp.Unmarshal(result.Model); err != nil { + return + } + + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/method_listavailablesslpredefinedpolicies.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/method_listavailablesslpredefinedpolicies.go new file mode 100644 index 000000000000..60e04b841d40 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/method_listavailablesslpredefinedpolicies.go @@ -0,0 +1,106 @@ +package applicationgateways + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ListAvailableSslPredefinedPoliciesOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *[]ApplicationGatewaySslPredefinedPolicy +} + +type ListAvailableSslPredefinedPoliciesCompleteResult struct { + LatestHttpResponse *http.Response + Items []ApplicationGatewaySslPredefinedPolicy +} + +type ListAvailableSslPredefinedPoliciesCustomPager struct { + NextLink *odata.Link `json:"nextLink"` +} + +func (p *ListAvailableSslPredefinedPoliciesCustomPager) NextPageLink() *odata.Link { + defer func() { + p.NextLink = nil + }() + + return p.NextLink +} + +// ListAvailableSslPredefinedPolicies ... +func (c ApplicationGatewaysClient) ListAvailableSslPredefinedPolicies(ctx context.Context, id commonids.SubscriptionId) (result ListAvailableSslPredefinedPoliciesOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Pager: &ListAvailableSslPredefinedPoliciesCustomPager{}, + Path: fmt.Sprintf("%s/providers/Microsoft.Network/applicationGatewayAvailableSslOptions/default/predefinedPolicies", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.ExecutePaged(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var values struct { + Values *[]ApplicationGatewaySslPredefinedPolicy `json:"value"` + } + if err = resp.Unmarshal(&values); err != nil { + return + } + + result.Model = values.Values + + return +} + +// ListAvailableSslPredefinedPoliciesComplete retrieves all the results into a single object +func (c ApplicationGatewaysClient) ListAvailableSslPredefinedPoliciesComplete(ctx context.Context, id commonids.SubscriptionId) (ListAvailableSslPredefinedPoliciesCompleteResult, error) { + return c.ListAvailableSslPredefinedPoliciesCompleteMatchingPredicate(ctx, id, ApplicationGatewaySslPredefinedPolicyOperationPredicate{}) +} + +// ListAvailableSslPredefinedPoliciesCompleteMatchingPredicate retrieves all the results and then applies the predicate +func (c ApplicationGatewaysClient) ListAvailableSslPredefinedPoliciesCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate ApplicationGatewaySslPredefinedPolicyOperationPredicate) (result ListAvailableSslPredefinedPoliciesCompleteResult, err error) { + items := make([]ApplicationGatewaySslPredefinedPolicy, 0) + + resp, err := c.ListAvailableSslPredefinedPolicies(ctx, id) + if err != nil { + result.LatestHttpResponse = resp.HttpResponse + err = fmt.Errorf("loading results: %+v", err) + return + } + if resp.Model != nil { + for _, v := range *resp.Model { + if predicate.Matches(v) { + items = append(items, v) + } + } + } + + result = ListAvailableSslPredefinedPoliciesCompleteResult{ + LatestHttpResponse: resp.HttpResponse, + Items: items, + } + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/method_listavailablewafrulesets.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/method_listavailablewafrulesets.go new file mode 100644 index 000000000000..ee2a21477a57 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/method_listavailablewafrulesets.go @@ -0,0 +1,55 @@ +package applicationgateways + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ListAvailableWafRuleSetsOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *ApplicationGatewayAvailableWafRuleSetsResult +} + +// ListAvailableWafRuleSets ... +func (c ApplicationGatewaysClient) ListAvailableWafRuleSets(ctx context.Context, id commonids.SubscriptionId) (result ListAvailableWafRuleSetsOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Path: fmt.Sprintf("%s/providers/Microsoft.Network/applicationGatewayAvailableWafRuleSets", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var model ApplicationGatewayAvailableWafRuleSetsResult + result.Model = &model + if err = resp.Unmarshal(result.Model); err != nil { + return + } + + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/method_start.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/method_start.go new file mode 100644 index 000000000000..828fc60cb3c2 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/method_start.go @@ -0,0 +1,70 @@ +package applicationgateways + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/client/pollers" + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type StartOperationResponse struct { + Poller pollers.Poller + HttpResponse *http.Response + OData *odata.OData +} + +// Start ... +func (c ApplicationGatewaysClient) Start(ctx context.Context, id ApplicationGatewayId) (result StartOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusAccepted, + http.StatusOK, + }, + HttpMethod: http.MethodPost, + Path: fmt.Sprintf("%s/start", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client) + if err != nil { + return + } + + return +} + +// StartThenPoll performs Start then polls until it's completed +func (c ApplicationGatewaysClient) StartThenPoll(ctx context.Context, id ApplicationGatewayId) error { + result, err := c.Start(ctx, id) + if err != nil { + return fmt.Errorf("performing Start: %+v", err) + } + + if err := result.Poller.PollUntilDone(ctx); err != nil { + return fmt.Errorf("polling after Start: %+v", err) + } + + return nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/method_stop.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/method_stop.go new file mode 100644 index 000000000000..75b68cdf697a --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/method_stop.go @@ -0,0 +1,70 @@ +package applicationgateways + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/client/pollers" + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type StopOperationResponse struct { + Poller pollers.Poller + HttpResponse *http.Response + OData *odata.OData +} + +// Stop ... +func (c ApplicationGatewaysClient) Stop(ctx context.Context, id ApplicationGatewayId) (result StopOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusAccepted, + http.StatusOK, + }, + HttpMethod: http.MethodPost, + Path: fmt.Sprintf("%s/stop", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client) + if err != nil { + return + } + + return +} + +// StopThenPoll performs Stop then polls until it's completed +func (c ApplicationGatewaysClient) StopThenPoll(ctx context.Context, id ApplicationGatewayId) error { + result, err := c.Stop(ctx, id) + if err != nil { + return fmt.Errorf("performing Stop: %+v", err) + } + + if err := result.Poller.PollUntilDone(ctx); err != nil { + return fmt.Errorf("polling after Stop: %+v", err) + } + + return nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/method_updatetags.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/method_updatetags.go new file mode 100644 index 000000000000..875c2ce138d3 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/method_updatetags.go @@ -0,0 +1,57 @@ +package applicationgateways + +import ( + "context" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type UpdateTagsOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *ApplicationGateway +} + +// UpdateTags ... +func (c ApplicationGatewaysClient) UpdateTags(ctx context.Context, id ApplicationGatewayId, input TagsObject) (result UpdateTagsOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodPatch, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + if err = req.Marshal(input); err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var model ApplicationGateway + result.Model = &model + if err = resp.Unmarshal(result.Model); err != nil { + return + } + + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgateway.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgateway.go new file mode 100644 index 000000000000..26c26a889270 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgateway.go @@ -0,0 +1,21 @@ +package applicationgateways + +import ( + "github.com/hashicorp/go-azure-helpers/resourcemanager/identity" + "github.com/hashicorp/go-azure-helpers/resourcemanager/zones" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGateway struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Identity *identity.SystemAndUserAssignedMap `json:"identity,omitempty"` + Location *string `json:"location,omitempty"` + Name *string `json:"name,omitempty"` + Properties *ApplicationGatewayPropertiesFormat `json:"properties,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` + Zones *zones.Schema `json:"zones,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayauthenticationcertificate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayauthenticationcertificate.go new file mode 100644 index 000000000000..21a1fec007fc --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayauthenticationcertificate.go @@ -0,0 +1,12 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayAuthenticationCertificate struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *ApplicationGatewayAuthenticationCertificatePropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayauthenticationcertificatepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayauthenticationcertificatepropertiesformat.go new file mode 100644 index 000000000000..37f5189d68aa --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayauthenticationcertificatepropertiesformat.go @@ -0,0 +1,9 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayAuthenticationCertificatePropertiesFormat struct { + Data *string `json:"data,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayautoscaleconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayautoscaleconfiguration.go new file mode 100644 index 000000000000..e8f13521e070 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayautoscaleconfiguration.go @@ -0,0 +1,9 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayAutoscaleConfiguration struct { + MaxCapacity *int64 `json:"maxCapacity,omitempty"` + MinCapacity int64 `json:"minCapacity"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayavailablessloptions.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayavailablessloptions.go new file mode 100644 index 000000000000..18677bfa9ada --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayavailablessloptions.go @@ -0,0 +1,13 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayAvailableSslOptions struct { + Id *string `json:"id,omitempty"` + Location *string `json:"location,omitempty"` + Name *string `json:"name,omitempty"` + Properties *ApplicationGatewayAvailableSslOptionsPropertiesFormat `json:"properties,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayavailablessloptionspropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayavailablessloptionspropertiesformat.go new file mode 100644 index 000000000000..552b956629b8 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayavailablessloptionspropertiesformat.go @@ -0,0 +1,11 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayAvailableSslOptionsPropertiesFormat struct { + AvailableCipherSuites *[]ApplicationGatewaySslCipherSuite `json:"availableCipherSuites,omitempty"` + AvailableProtocols *[]ApplicationGatewaySslProtocol `json:"availableProtocols,omitempty"` + DefaultPolicy *ApplicationGatewaySslPolicyName `json:"defaultPolicy,omitempty"` + PredefinedPolicies *[]SubResource `json:"predefinedPolicies,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayavailablewafrulesetsresult.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayavailablewafrulesetsresult.go new file mode 100644 index 000000000000..b960a888077e --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayavailablewafrulesetsresult.go @@ -0,0 +1,8 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayAvailableWafRuleSetsResult struct { + Value *[]ApplicationGatewayFirewallRuleSet `json:"value,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewaybackendaddress.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewaybackendaddress.go new file mode 100644 index 000000000000..9245b4581ff5 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewaybackendaddress.go @@ -0,0 +1,9 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayBackendAddress struct { + Fqdn *string `json:"fqdn,omitempty"` + IPAddress *string `json:"ipAddress,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewaybackendaddresspool.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewaybackendaddresspool.go new file mode 100644 index 000000000000..e62cc5f5a6aa --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewaybackendaddresspool.go @@ -0,0 +1,12 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayBackendAddressPool struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *ApplicationGatewayBackendAddressPoolPropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewaybackendaddresspoolpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewaybackendaddresspoolpropertiesformat.go new file mode 100644 index 000000000000..92e4b6fcae04 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewaybackendaddresspoolpropertiesformat.go @@ -0,0 +1,10 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayBackendAddressPoolPropertiesFormat struct { + BackendAddresses *[]ApplicationGatewayBackendAddress `json:"backendAddresses,omitempty"` + BackendIPConfigurations *[]NetworkInterfaceIPConfiguration `json:"backendIPConfigurations,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewaybackendhealth.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewaybackendhealth.go new file mode 100644 index 000000000000..b84392209575 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewaybackendhealth.go @@ -0,0 +1,8 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayBackendHealth struct { + BackendAddressPools *[]ApplicationGatewayBackendHealthPool `json:"backendAddressPools,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewaybackendhealthhttpsettings.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewaybackendhealthhttpsettings.go new file mode 100644 index 000000000000..00f4c87c142f --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewaybackendhealthhttpsettings.go @@ -0,0 +1,9 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayBackendHealthHTTPSettings struct { + BackendHTTPSettings *ApplicationGatewayBackendHTTPSettings `json:"backendHttpSettings,omitempty"` + Servers *[]ApplicationGatewayBackendHealthServer `json:"servers,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewaybackendhealthondemand.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewaybackendhealthondemand.go new file mode 100644 index 000000000000..3bf6d17e80cd --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewaybackendhealthondemand.go @@ -0,0 +1,9 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayBackendHealthOnDemand struct { + BackendAddressPool *ApplicationGatewayBackendAddressPool `json:"backendAddressPool,omitempty"` + BackendHealthHTTPSettings *ApplicationGatewayBackendHealthHTTPSettings `json:"backendHealthHttpSettings,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewaybackendhealthpool.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewaybackendhealthpool.go new file mode 100644 index 000000000000..b32fffdf6140 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewaybackendhealthpool.go @@ -0,0 +1,9 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayBackendHealthPool struct { + BackendAddressPool *ApplicationGatewayBackendAddressPool `json:"backendAddressPool,omitempty"` + BackendHTTPSettingsCollection *[]ApplicationGatewayBackendHealthHTTPSettings `json:"backendHttpSettingsCollection,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewaybackendhealthserver.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewaybackendhealthserver.go new file mode 100644 index 000000000000..c11aed154b2f --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewaybackendhealthserver.go @@ -0,0 +1,11 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayBackendHealthServer struct { + Address *string `json:"address,omitempty"` + Health *ApplicationGatewayBackendHealthServerHealth `json:"health,omitempty"` + HealthProbeLog *string `json:"healthProbeLog,omitempty"` + IPConfiguration *NetworkInterfaceIPConfiguration `json:"ipConfiguration,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewaybackendhttpsettings.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewaybackendhttpsettings.go new file mode 100644 index 000000000000..7cfbecd35064 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewaybackendhttpsettings.go @@ -0,0 +1,12 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayBackendHTTPSettings struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *ApplicationGatewayBackendHTTPSettingsPropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewaybackendhttpsettingspropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewaybackendhttpsettingspropertiesformat.go new file mode 100644 index 000000000000..68ccfd35301c --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewaybackendhttpsettingspropertiesformat.go @@ -0,0 +1,21 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayBackendHTTPSettingsPropertiesFormat struct { + AffinityCookieName *string `json:"affinityCookieName,omitempty"` + AuthenticationCertificates *[]SubResource `json:"authenticationCertificates,omitempty"` + ConnectionDraining *ApplicationGatewayConnectionDraining `json:"connectionDraining,omitempty"` + CookieBasedAffinity *ApplicationGatewayCookieBasedAffinity `json:"cookieBasedAffinity,omitempty"` + HostName *string `json:"hostName,omitempty"` + Path *string `json:"path,omitempty"` + PickHostNameFromBackendAddress *bool `json:"pickHostNameFromBackendAddress,omitempty"` + Port *int64 `json:"port,omitempty"` + Probe *SubResource `json:"probe,omitempty"` + ProbeEnabled *bool `json:"probeEnabled,omitempty"` + Protocol *ApplicationGatewayProtocol `json:"protocol,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + RequestTimeout *int64 `json:"requestTimeout,omitempty"` + TrustedRootCertificates *[]SubResource `json:"trustedRootCertificates,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewaybackendsettings.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewaybackendsettings.go new file mode 100644 index 000000000000..435626e72963 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewaybackendsettings.go @@ -0,0 +1,12 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayBackendSettings struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *ApplicationGatewayBackendSettingsPropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewaybackendsettingspropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewaybackendsettingspropertiesformat.go new file mode 100644 index 000000000000..5d5c1275f2e6 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewaybackendsettingspropertiesformat.go @@ -0,0 +1,15 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayBackendSettingsPropertiesFormat struct { + HostName *string `json:"hostName,omitempty"` + PickHostNameFromBackendAddress *bool `json:"pickHostNameFromBackendAddress,omitempty"` + Port *int64 `json:"port,omitempty"` + Probe *SubResource `json:"probe,omitempty"` + Protocol *ApplicationGatewayProtocol `json:"protocol,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + Timeout *int64 `json:"timeout,omitempty"` + TrustedRootCertificates *[]SubResource `json:"trustedRootCertificates,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayclientauthconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayclientauthconfiguration.go new file mode 100644 index 000000000000..7be179f89f0a --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayclientauthconfiguration.go @@ -0,0 +1,9 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayClientAuthConfiguration struct { + VerifyClientCertIssuerDN *bool `json:"verifyClientCertIssuerDN,omitempty"` + VerifyClientRevocation *ApplicationGatewayClientRevocationOptions `json:"verifyClientRevocation,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayconnectiondraining.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayconnectiondraining.go new file mode 100644 index 000000000000..f40777a88f84 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayconnectiondraining.go @@ -0,0 +1,9 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayConnectionDraining struct { + DrainTimeoutInSec int64 `json:"drainTimeoutInSec"` + Enabled bool `json:"enabled"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewaycustomerror.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewaycustomerror.go new file mode 100644 index 000000000000..8b0e5fb8d20f --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewaycustomerror.go @@ -0,0 +1,9 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayCustomError struct { + CustomErrorPageURL *string `json:"customErrorPageUrl,omitempty"` + StatusCode *ApplicationGatewayCustomErrorStatusCode `json:"statusCode,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayfirewalldisabledrulegroup.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayfirewalldisabledrulegroup.go new file mode 100644 index 000000000000..30534c50f525 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayfirewalldisabledrulegroup.go @@ -0,0 +1,9 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayFirewallDisabledRuleGroup struct { + RuleGroupName string `json:"ruleGroupName"` + Rules *[]int64 `json:"rules,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayfirewallexclusion.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayfirewallexclusion.go new file mode 100644 index 000000000000..77bfe2cf65c9 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayfirewallexclusion.go @@ -0,0 +1,10 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayFirewallExclusion struct { + MatchVariable string `json:"matchVariable"` + Selector string `json:"selector"` + SelectorMatchOperator string `json:"selectorMatchOperator"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayfirewallrule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayfirewallrule.go new file mode 100644 index 000000000000..3e364fe77a2e --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayfirewallrule.go @@ -0,0 +1,13 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayFirewallRule struct { + Action *ApplicationGatewayWafRuleActionTypes `json:"action,omitempty"` + Description *string `json:"description,omitempty"` + RuleId int64 `json:"ruleId"` + RuleIdString *string `json:"ruleIdString,omitempty"` + Sensitivity *ApplicationGatewayWafRuleSensitivityTypes `json:"sensitivity,omitempty"` + State *ApplicationGatewayWafRuleStateTypes `json:"state,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayfirewallrulegroup.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayfirewallrulegroup.go new file mode 100644 index 000000000000..06c7cbffb389 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayfirewallrulegroup.go @@ -0,0 +1,10 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayFirewallRuleGroup struct { + Description *string `json:"description,omitempty"` + RuleGroupName string `json:"ruleGroupName"` + Rules []ApplicationGatewayFirewallRule `json:"rules"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayfirewallruleset.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayfirewallruleset.go new file mode 100644 index 000000000000..3eb743516241 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayfirewallruleset.go @@ -0,0 +1,13 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayFirewallRuleSet struct { + Id *string `json:"id,omitempty"` + Location *string `json:"location,omitempty"` + Name *string `json:"name,omitempty"` + Properties *ApplicationGatewayFirewallRuleSetPropertiesFormat `json:"properties,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayfirewallrulesetpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayfirewallrulesetpropertiesformat.go new file mode 100644 index 000000000000..f0bd967c325e --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayfirewallrulesetpropertiesformat.go @@ -0,0 +1,12 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayFirewallRuleSetPropertiesFormat struct { + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + RuleGroups []ApplicationGatewayFirewallRuleGroup `json:"ruleGroups"` + RuleSetType string `json:"ruleSetType"` + RuleSetVersion string `json:"ruleSetVersion"` + Tiers *[]ApplicationGatewayTierTypes `json:"tiers,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayfrontendipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayfrontendipconfiguration.go new file mode 100644 index 000000000000..16f3a44fe687 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayfrontendipconfiguration.go @@ -0,0 +1,12 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayFrontendIPConfiguration struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *ApplicationGatewayFrontendIPConfigurationPropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayfrontendipconfigurationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayfrontendipconfigurationpropertiesformat.go new file mode 100644 index 000000000000..45f83bbaa113 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayfrontendipconfigurationpropertiesformat.go @@ -0,0 +1,13 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayFrontendIPConfigurationPropertiesFormat struct { + PrivateIPAddress *string `json:"privateIPAddress,omitempty"` + PrivateIPAllocationMethod *IPAllocationMethod `json:"privateIPAllocationMethod,omitempty"` + PrivateLinkConfiguration *SubResource `json:"privateLinkConfiguration,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + PublicIPAddress *SubResource `json:"publicIPAddress,omitempty"` + Subnet *SubResource `json:"subnet,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayfrontendport.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayfrontendport.go new file mode 100644 index 000000000000..9b3c8763e014 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayfrontendport.go @@ -0,0 +1,12 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayFrontendPort struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *ApplicationGatewayFrontendPortPropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayfrontendportpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayfrontendportpropertiesformat.go new file mode 100644 index 000000000000..a9399610b8b2 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayfrontendportpropertiesformat.go @@ -0,0 +1,9 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayFrontendPortPropertiesFormat struct { + Port *int64 `json:"port,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayglobalconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayglobalconfiguration.go new file mode 100644 index 000000000000..8f031b6ad381 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayglobalconfiguration.go @@ -0,0 +1,9 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayGlobalConfiguration struct { + EnableRequestBuffering *bool `json:"enableRequestBuffering,omitempty"` + EnableResponseBuffering *bool `json:"enableResponseBuffering,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayheaderconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayheaderconfiguration.go new file mode 100644 index 000000000000..a7a9580c702c --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayheaderconfiguration.go @@ -0,0 +1,10 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayHeaderConfiguration struct { + HeaderName *string `json:"headerName,omitempty"` + HeaderValue *string `json:"headerValue,omitempty"` + HeaderValueMatcher *HeaderValueMatcher `json:"headerValueMatcher,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayhttplistener.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayhttplistener.go new file mode 100644 index 000000000000..457c3af7d7bb --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayhttplistener.go @@ -0,0 +1,12 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayHTTPListener struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *ApplicationGatewayHTTPListenerPropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayhttplistenerpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayhttplistenerpropertiesformat.go new file mode 100644 index 000000000000..7d3436f61862 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayhttplistenerpropertiesformat.go @@ -0,0 +1,18 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayHTTPListenerPropertiesFormat struct { + CustomErrorConfigurations *[]ApplicationGatewayCustomError `json:"customErrorConfigurations,omitempty"` + FirewallPolicy *SubResource `json:"firewallPolicy,omitempty"` + FrontendIPConfiguration *SubResource `json:"frontendIPConfiguration,omitempty"` + FrontendPort *SubResource `json:"frontendPort,omitempty"` + HostName *string `json:"hostName,omitempty"` + HostNames *[]string `json:"hostNames,omitempty"` + Protocol *ApplicationGatewayProtocol `json:"protocol,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + RequireServerNameIndication *bool `json:"requireServerNameIndication,omitempty"` + SslCertificate *SubResource `json:"sslCertificate,omitempty"` + SslProfile *SubResource `json:"sslProfile,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayipconfiguration.go new file mode 100644 index 000000000000..7b513c563594 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayipconfiguration.go @@ -0,0 +1,12 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayIPConfiguration struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *ApplicationGatewayIPConfigurationPropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayipconfigurationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayipconfigurationpropertiesformat.go new file mode 100644 index 000000000000..67b2b22486e0 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayipconfigurationpropertiesformat.go @@ -0,0 +1,9 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayIPConfigurationPropertiesFormat struct { + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + Subnet *SubResource `json:"subnet,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewaylistener.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewaylistener.go new file mode 100644 index 000000000000..eb251dad173a --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewaylistener.go @@ -0,0 +1,12 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayListener struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *ApplicationGatewayListenerPropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewaylistenerpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewaylistenerpropertiesformat.go new file mode 100644 index 000000000000..96c7728780de --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewaylistenerpropertiesformat.go @@ -0,0 +1,14 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayListenerPropertiesFormat struct { + FrontendIPConfiguration *SubResource `json:"frontendIPConfiguration,omitempty"` + FrontendPort *SubResource `json:"frontendPort,omitempty"` + HostNames *[]string `json:"hostNames,omitempty"` + Protocol *ApplicationGatewayProtocol `json:"protocol,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + SslCertificate *SubResource `json:"sslCertificate,omitempty"` + SslProfile *SubResource `json:"sslProfile,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayloaddistributionpolicy.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayloaddistributionpolicy.go new file mode 100644 index 000000000000..9c07ad54259c --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayloaddistributionpolicy.go @@ -0,0 +1,12 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayLoadDistributionPolicy struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *ApplicationGatewayLoadDistributionPolicyPropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayloaddistributionpolicypropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayloaddistributionpolicypropertiesformat.go new file mode 100644 index 000000000000..9ae762454d0a --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayloaddistributionpolicypropertiesformat.go @@ -0,0 +1,10 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayLoadDistributionPolicyPropertiesFormat struct { + LoadDistributionAlgorithm *ApplicationGatewayLoadDistributionAlgorithm `json:"loadDistributionAlgorithm,omitempty"` + LoadDistributionTargets *[]ApplicationGatewayLoadDistributionTarget `json:"loadDistributionTargets,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayloaddistributiontarget.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayloaddistributiontarget.go new file mode 100644 index 000000000000..5db29bd27a5c --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayloaddistributiontarget.go @@ -0,0 +1,12 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayLoadDistributionTarget struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *ApplicationGatewayLoadDistributionTargetPropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayloaddistributiontargetpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayloaddistributiontargetpropertiesformat.go new file mode 100644 index 000000000000..cd785c4126e4 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayloaddistributiontargetpropertiesformat.go @@ -0,0 +1,9 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayLoadDistributionTargetPropertiesFormat struct { + BackendAddressPool *SubResource `json:"backendAddressPool,omitempty"` + WeightPerServer *int64 `json:"weightPerServer,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayondemandprobe.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayondemandprobe.go new file mode 100644 index 000000000000..6ee19e174e2a --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayondemandprobe.go @@ -0,0 +1,15 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayOnDemandProbe struct { + BackendAddressPool *SubResource `json:"backendAddressPool,omitempty"` + BackendHTTPSettings *SubResource `json:"backendHttpSettings,omitempty"` + Host *string `json:"host,omitempty"` + Match *ApplicationGatewayProbeHealthResponseMatch `json:"match,omitempty"` + Path *string `json:"path,omitempty"` + PickHostNameFromBackendHTTPSettings *bool `json:"pickHostNameFromBackendHttpSettings,omitempty"` + Protocol *ApplicationGatewayProtocol `json:"protocol,omitempty"` + Timeout *int64 `json:"timeout,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewaypathrule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewaypathrule.go new file mode 100644 index 000000000000..ae684eb5860a --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewaypathrule.go @@ -0,0 +1,12 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayPathRule struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *ApplicationGatewayPathRulePropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewaypathrulepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewaypathrulepropertiesformat.go new file mode 100644 index 000000000000..c0586444c859 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewaypathrulepropertiesformat.go @@ -0,0 +1,15 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayPathRulePropertiesFormat struct { + BackendAddressPool *SubResource `json:"backendAddressPool,omitempty"` + BackendHTTPSettings *SubResource `json:"backendHttpSettings,omitempty"` + FirewallPolicy *SubResource `json:"firewallPolicy,omitempty"` + LoadDistributionPolicy *SubResource `json:"loadDistributionPolicy,omitempty"` + Paths *[]string `json:"paths,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + RedirectConfiguration *SubResource `json:"redirectConfiguration,omitempty"` + RewriteRuleSet *SubResource `json:"rewriteRuleSet,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayprivateendpointconnection.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayprivateendpointconnection.go new file mode 100644 index 000000000000..8099219aff4c --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayprivateendpointconnection.go @@ -0,0 +1,12 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayPrivateEndpointConnection struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *ApplicationGatewayPrivateEndpointConnectionProperties `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayprivateendpointconnectionproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayprivateendpointconnectionproperties.go new file mode 100644 index 000000000000..400c841d704a --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayprivateendpointconnectionproperties.go @@ -0,0 +1,11 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayPrivateEndpointConnectionProperties struct { + LinkIdentifier *string `json:"linkIdentifier,omitempty"` + PrivateEndpoint *PrivateEndpoint `json:"privateEndpoint,omitempty"` + PrivateLinkServiceConnectionState *PrivateLinkServiceConnectionState `json:"privateLinkServiceConnectionState,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayprivatelinkconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayprivatelinkconfiguration.go new file mode 100644 index 000000000000..1997234fb4da --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayprivatelinkconfiguration.go @@ -0,0 +1,12 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayPrivateLinkConfiguration struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *ApplicationGatewayPrivateLinkConfigurationProperties `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayprivatelinkconfigurationproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayprivatelinkconfigurationproperties.go new file mode 100644 index 000000000000..b86b3f170145 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayprivatelinkconfigurationproperties.go @@ -0,0 +1,9 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayPrivateLinkConfigurationProperties struct { + IPConfigurations *[]ApplicationGatewayPrivateLinkIPConfiguration `json:"ipConfigurations,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayprivatelinkipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayprivatelinkipconfiguration.go new file mode 100644 index 000000000000..ad8bfa28be72 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayprivatelinkipconfiguration.go @@ -0,0 +1,12 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayPrivateLinkIPConfiguration struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *ApplicationGatewayPrivateLinkIPConfigurationProperties `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayprivatelinkipconfigurationproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayprivatelinkipconfigurationproperties.go new file mode 100644 index 000000000000..b2d2b2af23ad --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayprivatelinkipconfigurationproperties.go @@ -0,0 +1,12 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayPrivateLinkIPConfigurationProperties struct { + Primary *bool `json:"primary,omitempty"` + PrivateIPAddress *string `json:"privateIPAddress,omitempty"` + PrivateIPAllocationMethod *IPAllocationMethod `json:"privateIPAllocationMethod,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + Subnet *SubResource `json:"subnet,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayprobe.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayprobe.go new file mode 100644 index 000000000000..9b27b4f71333 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayprobe.go @@ -0,0 +1,12 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayProbe struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *ApplicationGatewayProbePropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayprobehealthresponsematch.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayprobehealthresponsematch.go new file mode 100644 index 000000000000..68ccf1eaaaff --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayprobehealthresponsematch.go @@ -0,0 +1,9 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayProbeHealthResponseMatch struct { + Body *string `json:"body,omitempty"` + StatusCodes *[]string `json:"statusCodes,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayprobepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayprobepropertiesformat.go new file mode 100644 index 000000000000..dab5ee7ae23f --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayprobepropertiesformat.go @@ -0,0 +1,19 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayProbePropertiesFormat struct { + Host *string `json:"host,omitempty"` + Interval *int64 `json:"interval,omitempty"` + Match *ApplicationGatewayProbeHealthResponseMatch `json:"match,omitempty"` + MinServers *int64 `json:"minServers,omitempty"` + Path *string `json:"path,omitempty"` + PickHostNameFromBackendHTTPSettings *bool `json:"pickHostNameFromBackendHttpSettings,omitempty"` + PickHostNameFromBackendSettings *bool `json:"pickHostNameFromBackendSettings,omitempty"` + Port *int64 `json:"port,omitempty"` + Protocol *ApplicationGatewayProtocol `json:"protocol,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + Timeout *int64 `json:"timeout,omitempty"` + UnhealthyThreshold *int64 `json:"unhealthyThreshold,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewaypropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewaypropertiesformat.go new file mode 100644 index 000000000000..4e54c939bcb9 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewaypropertiesformat.go @@ -0,0 +1,43 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayPropertiesFormat struct { + AuthenticationCertificates *[]ApplicationGatewayAuthenticationCertificate `json:"authenticationCertificates,omitempty"` + AutoscaleConfiguration *ApplicationGatewayAutoscaleConfiguration `json:"autoscaleConfiguration,omitempty"` + BackendAddressPools *[]ApplicationGatewayBackendAddressPool `json:"backendAddressPools,omitempty"` + BackendHTTPSettingsCollection *[]ApplicationGatewayBackendHTTPSettings `json:"backendHttpSettingsCollection,omitempty"` + BackendSettingsCollection *[]ApplicationGatewayBackendSettings `json:"backendSettingsCollection,omitempty"` + CustomErrorConfigurations *[]ApplicationGatewayCustomError `json:"customErrorConfigurations,omitempty"` + DefaultPredefinedSslPolicy *ApplicationGatewaySslPolicyName `json:"defaultPredefinedSslPolicy,omitempty"` + EnableFips *bool `json:"enableFips,omitempty"` + EnableHTTP2 *bool `json:"enableHttp2,omitempty"` + FirewallPolicy *SubResource `json:"firewallPolicy,omitempty"` + ForceFirewallPolicyAssociation *bool `json:"forceFirewallPolicyAssociation,omitempty"` + FrontendIPConfigurations *[]ApplicationGatewayFrontendIPConfiguration `json:"frontendIPConfigurations,omitempty"` + FrontendPorts *[]ApplicationGatewayFrontendPort `json:"frontendPorts,omitempty"` + GatewayIPConfigurations *[]ApplicationGatewayIPConfiguration `json:"gatewayIPConfigurations,omitempty"` + GlobalConfiguration *ApplicationGatewayGlobalConfiguration `json:"globalConfiguration,omitempty"` + HTTPListeners *[]ApplicationGatewayHTTPListener `json:"httpListeners,omitempty"` + Listeners *[]ApplicationGatewayListener `json:"listeners,omitempty"` + LoadDistributionPolicies *[]ApplicationGatewayLoadDistributionPolicy `json:"loadDistributionPolicies,omitempty"` + OperationalState *ApplicationGatewayOperationalState `json:"operationalState,omitempty"` + PrivateEndpointConnections *[]ApplicationGatewayPrivateEndpointConnection `json:"privateEndpointConnections,omitempty"` + PrivateLinkConfigurations *[]ApplicationGatewayPrivateLinkConfiguration `json:"privateLinkConfigurations,omitempty"` + Probes *[]ApplicationGatewayProbe `json:"probes,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + RedirectConfigurations *[]ApplicationGatewayRedirectConfiguration `json:"redirectConfigurations,omitempty"` + RequestRoutingRules *[]ApplicationGatewayRequestRoutingRule `json:"requestRoutingRules,omitempty"` + ResourceGuid *string `json:"resourceGuid,omitempty"` + RewriteRuleSets *[]ApplicationGatewayRewriteRuleSet `json:"rewriteRuleSets,omitempty"` + RoutingRules *[]ApplicationGatewayRoutingRule `json:"routingRules,omitempty"` + Sku *ApplicationGatewaySku `json:"sku,omitempty"` + SslCertificates *[]ApplicationGatewaySslCertificate `json:"sslCertificates,omitempty"` + SslPolicy *ApplicationGatewaySslPolicy `json:"sslPolicy,omitempty"` + SslProfiles *[]ApplicationGatewaySslProfile `json:"sslProfiles,omitempty"` + TrustedClientCertificates *[]ApplicationGatewayTrustedClientCertificate `json:"trustedClientCertificates,omitempty"` + TrustedRootCertificates *[]ApplicationGatewayTrustedRootCertificate `json:"trustedRootCertificates,omitempty"` + UrlPathMaps *[]ApplicationGatewayURLPathMap `json:"urlPathMaps,omitempty"` + WebApplicationFirewallConfiguration *ApplicationGatewayWebApplicationFirewallConfiguration `json:"webApplicationFirewallConfiguration,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayredirectconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayredirectconfiguration.go new file mode 100644 index 000000000000..99a2df5f0de9 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayredirectconfiguration.go @@ -0,0 +1,12 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayRedirectConfiguration struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *ApplicationGatewayRedirectConfigurationPropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayredirectconfigurationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayredirectconfigurationpropertiesformat.go new file mode 100644 index 000000000000..b629d49b4119 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayredirectconfigurationpropertiesformat.go @@ -0,0 +1,15 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayRedirectConfigurationPropertiesFormat struct { + IncludePath *bool `json:"includePath,omitempty"` + IncludeQueryString *bool `json:"includeQueryString,omitempty"` + PathRules *[]SubResource `json:"pathRules,omitempty"` + RedirectType *ApplicationGatewayRedirectType `json:"redirectType,omitempty"` + RequestRoutingRules *[]SubResource `json:"requestRoutingRules,omitempty"` + TargetListener *SubResource `json:"targetListener,omitempty"` + TargetURL *string `json:"targetUrl,omitempty"` + UrlPathMaps *[]SubResource `json:"urlPathMaps,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayrequestroutingrule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayrequestroutingrule.go new file mode 100644 index 000000000000..8968674820d1 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayrequestroutingrule.go @@ -0,0 +1,12 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayRequestRoutingRule struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *ApplicationGatewayRequestRoutingRulePropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayrequestroutingrulepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayrequestroutingrulepropertiesformat.go new file mode 100644 index 000000000000..d7ab0f3f4d94 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayrequestroutingrulepropertiesformat.go @@ -0,0 +1,17 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayRequestRoutingRulePropertiesFormat struct { + BackendAddressPool *SubResource `json:"backendAddressPool,omitempty"` + BackendHTTPSettings *SubResource `json:"backendHttpSettings,omitempty"` + HTTPListener *SubResource `json:"httpListener,omitempty"` + LoadDistributionPolicy *SubResource `json:"loadDistributionPolicy,omitempty"` + Priority *int64 `json:"priority,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + RedirectConfiguration *SubResource `json:"redirectConfiguration,omitempty"` + RewriteRuleSet *SubResource `json:"rewriteRuleSet,omitempty"` + RuleType *ApplicationGatewayRequestRoutingRuleType `json:"ruleType,omitempty"` + UrlPathMap *SubResource `json:"urlPathMap,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayrewriterule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayrewriterule.go new file mode 100644 index 000000000000..6ce3b9a1f5d5 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayrewriterule.go @@ -0,0 +1,11 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayRewriteRule struct { + ActionSet *ApplicationGatewayRewriteRuleActionSet `json:"actionSet,omitempty"` + Conditions *[]ApplicationGatewayRewriteRuleCondition `json:"conditions,omitempty"` + Name *string `json:"name,omitempty"` + RuleSequence *int64 `json:"ruleSequence,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayrewriteruleactionset.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayrewriteruleactionset.go new file mode 100644 index 000000000000..c46a7bd6d6c5 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayrewriteruleactionset.go @@ -0,0 +1,10 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayRewriteRuleActionSet struct { + RequestHeaderConfigurations *[]ApplicationGatewayHeaderConfiguration `json:"requestHeaderConfigurations,omitempty"` + ResponseHeaderConfigurations *[]ApplicationGatewayHeaderConfiguration `json:"responseHeaderConfigurations,omitempty"` + UrlConfiguration *ApplicationGatewayURLConfiguration `json:"urlConfiguration,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayrewriterulecondition.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayrewriterulecondition.go new file mode 100644 index 000000000000..c7e6af3b85a7 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayrewriterulecondition.go @@ -0,0 +1,11 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayRewriteRuleCondition struct { + IgnoreCase *bool `json:"ignoreCase,omitempty"` + Negate *bool `json:"negate,omitempty"` + Pattern *string `json:"pattern,omitempty"` + Variable *string `json:"variable,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayrewriteruleset.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayrewriteruleset.go new file mode 100644 index 000000000000..571e90385085 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayrewriteruleset.go @@ -0,0 +1,11 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayRewriteRuleSet struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *ApplicationGatewayRewriteRuleSetPropertiesFormat `json:"properties,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayrewriterulesetpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayrewriterulesetpropertiesformat.go new file mode 100644 index 000000000000..031206c13cec --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayrewriterulesetpropertiesformat.go @@ -0,0 +1,9 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayRewriteRuleSetPropertiesFormat struct { + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + RewriteRules *[]ApplicationGatewayRewriteRule `json:"rewriteRules,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayroutingrule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayroutingrule.go new file mode 100644 index 000000000000..448709de6b46 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayroutingrule.go @@ -0,0 +1,12 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayRoutingRule struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *ApplicationGatewayRoutingRulePropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayroutingrulepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayroutingrulepropertiesformat.go new file mode 100644 index 000000000000..5be005525341 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayroutingrulepropertiesformat.go @@ -0,0 +1,13 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayRoutingRulePropertiesFormat struct { + BackendAddressPool *SubResource `json:"backendAddressPool,omitempty"` + BackendSettings *SubResource `json:"backendSettings,omitempty"` + Listener *SubResource `json:"listener,omitempty"` + Priority int64 `json:"priority"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + RuleType *ApplicationGatewayRequestRoutingRuleType `json:"ruleType,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewaysku.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewaysku.go new file mode 100644 index 000000000000..461f2f965a6b --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewaysku.go @@ -0,0 +1,11 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewaySku struct { + Capacity *int64 `json:"capacity,omitempty"` + Family *ApplicationGatewaySkuFamily `json:"family,omitempty"` + Name *ApplicationGatewaySkuName `json:"name,omitempty"` + Tier *ApplicationGatewayTier `json:"tier,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewaysslcertificate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewaysslcertificate.go new file mode 100644 index 000000000000..1f5898678625 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewaysslcertificate.go @@ -0,0 +1,12 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewaySslCertificate struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *ApplicationGatewaySslCertificatePropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewaysslcertificatepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewaysslcertificatepropertiesformat.go new file mode 100644 index 000000000000..1c92efb93bd5 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewaysslcertificatepropertiesformat.go @@ -0,0 +1,12 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewaySslCertificatePropertiesFormat struct { + Data *string `json:"data,omitempty"` + KeyVaultSecretId *string `json:"keyVaultSecretId,omitempty"` + Password *string `json:"password,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + PublicCertData *string `json:"publicCertData,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewaysslpolicy.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewaysslpolicy.go new file mode 100644 index 000000000000..be42ac49a185 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewaysslpolicy.go @@ -0,0 +1,12 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewaySslPolicy struct { + CipherSuites *[]ApplicationGatewaySslCipherSuite `json:"cipherSuites,omitempty"` + DisabledSslProtocols *[]ApplicationGatewaySslProtocol `json:"disabledSslProtocols,omitempty"` + MinProtocolVersion *ApplicationGatewaySslProtocol `json:"minProtocolVersion,omitempty"` + PolicyName *ApplicationGatewaySslPolicyName `json:"policyName,omitempty"` + PolicyType *ApplicationGatewaySslPolicyType `json:"policyType,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewaysslpredefinedpolicy.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewaysslpredefinedpolicy.go new file mode 100644 index 000000000000..a7932dc66dbe --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewaysslpredefinedpolicy.go @@ -0,0 +1,10 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewaySslPredefinedPolicy struct { + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *ApplicationGatewaySslPredefinedPolicyPropertiesFormat `json:"properties,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewaysslpredefinedpolicypropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewaysslpredefinedpolicypropertiesformat.go new file mode 100644 index 000000000000..15702750dea7 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewaysslpredefinedpolicypropertiesformat.go @@ -0,0 +1,9 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewaySslPredefinedPolicyPropertiesFormat struct { + CipherSuites *[]ApplicationGatewaySslCipherSuite `json:"cipherSuites,omitempty"` + MinProtocolVersion *ApplicationGatewaySslProtocol `json:"minProtocolVersion,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewaysslprofile.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewaysslprofile.go new file mode 100644 index 000000000000..609877668f8c --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewaysslprofile.go @@ -0,0 +1,12 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewaySslProfile struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *ApplicationGatewaySslProfilePropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewaysslprofilepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewaysslprofilepropertiesformat.go new file mode 100644 index 000000000000..a7c5ae2c8831 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewaysslprofilepropertiesformat.go @@ -0,0 +1,11 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewaySslProfilePropertiesFormat struct { + ClientAuthConfiguration *ApplicationGatewayClientAuthConfiguration `json:"clientAuthConfiguration,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + SslPolicy *ApplicationGatewaySslPolicy `json:"sslPolicy,omitempty"` + TrustedClientCertificates *[]SubResource `json:"trustedClientCertificates,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewaytrustedclientcertificate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewaytrustedclientcertificate.go new file mode 100644 index 000000000000..731b46860d77 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewaytrustedclientcertificate.go @@ -0,0 +1,12 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayTrustedClientCertificate struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *ApplicationGatewayTrustedClientCertificatePropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewaytrustedclientcertificatepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewaytrustedclientcertificatepropertiesformat.go new file mode 100644 index 000000000000..67b5d91461dc --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewaytrustedclientcertificatepropertiesformat.go @@ -0,0 +1,11 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayTrustedClientCertificatePropertiesFormat struct { + ClientCertIssuerDN *string `json:"clientCertIssuerDN,omitempty"` + Data *string `json:"data,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + ValidatedCertData *string `json:"validatedCertData,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewaytrustedrootcertificate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewaytrustedrootcertificate.go new file mode 100644 index 000000000000..12343718b358 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewaytrustedrootcertificate.go @@ -0,0 +1,12 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayTrustedRootCertificate struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *ApplicationGatewayTrustedRootCertificatePropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewaytrustedrootcertificatepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewaytrustedrootcertificatepropertiesformat.go new file mode 100644 index 000000000000..7aeb8e0a84e6 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewaytrustedrootcertificatepropertiesformat.go @@ -0,0 +1,10 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayTrustedRootCertificatePropertiesFormat struct { + Data *string `json:"data,omitempty"` + KeyVaultSecretId *string `json:"keyVaultSecretId,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayurlconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayurlconfiguration.go new file mode 100644 index 000000000000..9c77d1808a21 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayurlconfiguration.go @@ -0,0 +1,10 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayURLConfiguration struct { + ModifiedPath *string `json:"modifiedPath,omitempty"` + ModifiedQueryString *string `json:"modifiedQueryString,omitempty"` + Reroute *bool `json:"reroute,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayurlpathmap.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayurlpathmap.go new file mode 100644 index 000000000000..9ca546cb9579 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayurlpathmap.go @@ -0,0 +1,12 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayURLPathMap struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *ApplicationGatewayURLPathMapPropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayurlpathmappropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayurlpathmappropertiesformat.go new file mode 100644 index 000000000000..9c00ae43cdf9 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewayurlpathmappropertiesformat.go @@ -0,0 +1,14 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayURLPathMapPropertiesFormat struct { + DefaultBackendAddressPool *SubResource `json:"defaultBackendAddressPool,omitempty"` + DefaultBackendHTTPSettings *SubResource `json:"defaultBackendHttpSettings,omitempty"` + DefaultLoadDistributionPolicy *SubResource `json:"defaultLoadDistributionPolicy,omitempty"` + DefaultRedirectConfiguration *SubResource `json:"defaultRedirectConfiguration,omitempty"` + DefaultRewriteRuleSet *SubResource `json:"defaultRewriteRuleSet,omitempty"` + PathRules *[]ApplicationGatewayPathRule `json:"pathRules,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewaywebapplicationfirewallconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewaywebapplicationfirewallconfiguration.go new file mode 100644 index 000000000000..561512df449c --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationgatewaywebapplicationfirewallconfiguration.go @@ -0,0 +1,17 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayWebApplicationFirewallConfiguration struct { + DisabledRuleGroups *[]ApplicationGatewayFirewallDisabledRuleGroup `json:"disabledRuleGroups,omitempty"` + Enabled bool `json:"enabled"` + Exclusions *[]ApplicationGatewayFirewallExclusion `json:"exclusions,omitempty"` + FileUploadLimitInMb *int64 `json:"fileUploadLimitInMb,omitempty"` + FirewallMode ApplicationGatewayFirewallMode `json:"firewallMode"` + MaxRequestBodySize *int64 `json:"maxRequestBodySize,omitempty"` + MaxRequestBodySizeInKb *int64 `json:"maxRequestBodySizeInKb,omitempty"` + RequestBodyCheck *bool `json:"requestBodyCheck,omitempty"` + RuleSetType string `json:"ruleSetType"` + RuleSetVersion string `json:"ruleSetVersion"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationsecuritygroup.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationsecuritygroup.go new file mode 100644 index 000000000000..71e4f60a5a08 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationsecuritygroup.go @@ -0,0 +1,14 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationSecurityGroup struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Location *string `json:"location,omitempty"` + Name *string `json:"name,omitempty"` + Properties *ApplicationSecurityGroupPropertiesFormat `json:"properties,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationsecuritygrouppropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationsecuritygrouppropertiesformat.go new file mode 100644 index 000000000000..c8593cff7762 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_applicationsecuritygrouppropertiesformat.go @@ -0,0 +1,9 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationSecurityGroupPropertiesFormat struct { + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + ResourceGuid *string `json:"resourceGuid,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_backendaddresspool.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_backendaddresspool.go new file mode 100644 index 000000000000..1a7d2037c678 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_backendaddresspool.go @@ -0,0 +1,12 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type BackendAddressPool struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *BackendAddressPoolPropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_backendaddresspoolpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_backendaddresspoolpropertiesformat.go new file mode 100644 index 000000000000..74aca7bc73d4 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_backendaddresspoolpropertiesformat.go @@ -0,0 +1,19 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type BackendAddressPoolPropertiesFormat struct { + BackendIPConfigurations *[]NetworkInterfaceIPConfiguration `json:"backendIPConfigurations,omitempty"` + DrainPeriodInSeconds *int64 `json:"drainPeriodInSeconds,omitempty"` + InboundNatRules *[]SubResource `json:"inboundNatRules,omitempty"` + LoadBalancerBackendAddresses *[]LoadBalancerBackendAddress `json:"loadBalancerBackendAddresses,omitempty"` + LoadBalancingRules *[]SubResource `json:"loadBalancingRules,omitempty"` + Location *string `json:"location,omitempty"` + OutboundRule *SubResource `json:"outboundRule,omitempty"` + OutboundRules *[]SubResource `json:"outboundRules,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + SyncMode *SyncMode `json:"syncMode,omitempty"` + TunnelInterfaces *[]GatewayLoadBalancerTunnelInterface `json:"tunnelInterfaces,omitempty"` + VirtualNetwork *SubResource `json:"virtualNetwork,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_customdnsconfigpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_customdnsconfigpropertiesformat.go new file mode 100644 index 000000000000..821207ea54b0 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_customdnsconfigpropertiesformat.go @@ -0,0 +1,9 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type CustomDnsConfigPropertiesFormat struct { + Fqdn *string `json:"fqdn,omitempty"` + IPAddresses *[]string `json:"ipAddresses,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_ddossettings.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_ddossettings.go new file mode 100644 index 000000000000..afe28edd8fce --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_ddossettings.go @@ -0,0 +1,9 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type DdosSettings struct { + DdosProtectionPlan *SubResource `json:"ddosProtectionPlan,omitempty"` + ProtectionMode *DdosSettingsProtectionMode `json:"protectionMode,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_delegation.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_delegation.go new file mode 100644 index 000000000000..dde48e048ee9 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_delegation.go @@ -0,0 +1,12 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type Delegation struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *ServiceDelegationPropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_flowlog.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_flowlog.go new file mode 100644 index 000000000000..af3968a2f683 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_flowlog.go @@ -0,0 +1,19 @@ +package applicationgateways + +import ( + "github.com/hashicorp/go-azure-helpers/resourcemanager/identity" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type FlowLog struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Identity *identity.SystemAndUserAssignedMap `json:"identity,omitempty"` + Location *string `json:"location,omitempty"` + Name *string `json:"name,omitempty"` + Properties *FlowLogPropertiesFormat `json:"properties,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_flowlogformatparameters.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_flowlogformatparameters.go new file mode 100644 index 000000000000..79d541b9318d --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_flowlogformatparameters.go @@ -0,0 +1,9 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type FlowLogFormatParameters struct { + Type *FlowLogFormatType `json:"type,omitempty"` + Version *int64 `json:"version,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_flowlogpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_flowlogpropertiesformat.go new file mode 100644 index 000000000000..a180a38c6fb1 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_flowlogpropertiesformat.go @@ -0,0 +1,16 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type FlowLogPropertiesFormat struct { + Enabled *bool `json:"enabled,omitempty"` + EnabledFilteringCriteria *string `json:"enabledFilteringCriteria,omitempty"` + FlowAnalyticsConfiguration *TrafficAnalyticsProperties `json:"flowAnalyticsConfiguration,omitempty"` + Format *FlowLogFormatParameters `json:"format,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + RetentionPolicy *RetentionPolicyParameters `json:"retentionPolicy,omitempty"` + StorageId string `json:"storageId"` + TargetResourceGuid *string `json:"targetResourceGuid,omitempty"` + TargetResourceId string `json:"targetResourceId"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_frontendipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_frontendipconfiguration.go new file mode 100644 index 000000000000..6af1ef349913 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_frontendipconfiguration.go @@ -0,0 +1,17 @@ +package applicationgateways + +import ( + "github.com/hashicorp/go-azure-helpers/resourcemanager/zones" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type FrontendIPConfiguration struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *FrontendIPConfigurationPropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` + Zones *zones.Schema `json:"zones,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_frontendipconfigurationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_frontendipconfigurationpropertiesformat.go new file mode 100644 index 000000000000..dfcbf3e5acac --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_frontendipconfigurationpropertiesformat.go @@ -0,0 +1,19 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type FrontendIPConfigurationPropertiesFormat struct { + GatewayLoadBalancer *SubResource `json:"gatewayLoadBalancer,omitempty"` + InboundNatPools *[]SubResource `json:"inboundNatPools,omitempty"` + InboundNatRules *[]SubResource `json:"inboundNatRules,omitempty"` + LoadBalancingRules *[]SubResource `json:"loadBalancingRules,omitempty"` + OutboundRules *[]SubResource `json:"outboundRules,omitempty"` + PrivateIPAddress *string `json:"privateIPAddress,omitempty"` + PrivateIPAddressVersion *IPVersion `json:"privateIPAddressVersion,omitempty"` + PrivateIPAllocationMethod *IPAllocationMethod `json:"privateIPAllocationMethod,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + PublicIPAddress *PublicIPAddress `json:"publicIPAddress,omitempty"` + PublicIPPrefix *SubResource `json:"publicIPPrefix,omitempty"` + Subnet *Subnet `json:"subnet,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_gatewayloadbalancertunnelinterface.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_gatewayloadbalancertunnelinterface.go new file mode 100644 index 000000000000..81f735923092 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_gatewayloadbalancertunnelinterface.go @@ -0,0 +1,11 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type GatewayLoadBalancerTunnelInterface struct { + Identifier *int64 `json:"identifier,omitempty"` + Port *int64 `json:"port,omitempty"` + Protocol *GatewayLoadBalancerTunnelProtocol `json:"protocol,omitempty"` + Type *GatewayLoadBalancerTunnelInterfaceType `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_headervaluematcher.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_headervaluematcher.go new file mode 100644 index 000000000000..5c2f77f54e2d --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_headervaluematcher.go @@ -0,0 +1,10 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type HeaderValueMatcher struct { + IgnoreCase *bool `json:"ignoreCase,omitempty"` + Negate *bool `json:"negate,omitempty"` + Pattern *string `json:"pattern,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_inboundnatrule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_inboundnatrule.go new file mode 100644 index 000000000000..e8326d63cddf --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_inboundnatrule.go @@ -0,0 +1,12 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type InboundNatRule struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *InboundNatRulePropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_inboundnatrulepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_inboundnatrulepropertiesformat.go new file mode 100644 index 000000000000..e68b37342b31 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_inboundnatrulepropertiesformat.go @@ -0,0 +1,19 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type InboundNatRulePropertiesFormat struct { + BackendAddressPool *SubResource `json:"backendAddressPool,omitempty"` + BackendIPConfiguration *NetworkInterfaceIPConfiguration `json:"backendIPConfiguration,omitempty"` + BackendPort *int64 `json:"backendPort,omitempty"` + EnableFloatingIP *bool `json:"enableFloatingIP,omitempty"` + EnableTcpReset *bool `json:"enableTcpReset,omitempty"` + FrontendIPConfiguration *SubResource `json:"frontendIPConfiguration,omitempty"` + FrontendPort *int64 `json:"frontendPort,omitempty"` + FrontendPortRangeEnd *int64 `json:"frontendPortRangeEnd,omitempty"` + FrontendPortRangeStart *int64 `json:"frontendPortRangeStart,omitempty"` + IdleTimeoutInMinutes *int64 `json:"idleTimeoutInMinutes,omitempty"` + Protocol *TransportProtocol `json:"protocol,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_ipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_ipconfiguration.go new file mode 100644 index 000000000000..3035f84c5962 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_ipconfiguration.go @@ -0,0 +1,11 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type IPConfiguration struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *IPConfigurationPropertiesFormat `json:"properties,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_ipconfigurationprofile.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_ipconfigurationprofile.go new file mode 100644 index 000000000000..edb884d27183 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_ipconfigurationprofile.go @@ -0,0 +1,12 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type IPConfigurationProfile struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *IPConfigurationProfilePropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_ipconfigurationprofilepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_ipconfigurationprofilepropertiesformat.go new file mode 100644 index 000000000000..1c6df0dcda2c --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_ipconfigurationprofilepropertiesformat.go @@ -0,0 +1,9 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type IPConfigurationProfilePropertiesFormat struct { + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + Subnet *Subnet `json:"subnet,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_ipconfigurationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_ipconfigurationpropertiesformat.go new file mode 100644 index 000000000000..5de8de82f9ec --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_ipconfigurationpropertiesformat.go @@ -0,0 +1,12 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type IPConfigurationPropertiesFormat struct { + PrivateIPAddress *string `json:"privateIPAddress,omitempty"` + PrivateIPAllocationMethod *IPAllocationMethod `json:"privateIPAllocationMethod,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + PublicIPAddress *PublicIPAddress `json:"publicIPAddress,omitempty"` + Subnet *Subnet `json:"subnet,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_iptag.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_iptag.go new file mode 100644 index 000000000000..e423a8c05939 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_iptag.go @@ -0,0 +1,9 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type IPTag struct { + IPTagType *string `json:"ipTagType,omitempty"` + Tag *string `json:"tag,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_loadbalancerbackendaddress.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_loadbalancerbackendaddress.go new file mode 100644 index 000000000000..a4bb848daa55 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_loadbalancerbackendaddress.go @@ -0,0 +1,9 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type LoadBalancerBackendAddress struct { + Name *string `json:"name,omitempty"` + Properties *LoadBalancerBackendAddressPropertiesFormat `json:"properties,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_loadbalancerbackendaddresspropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_loadbalancerbackendaddresspropertiesformat.go new file mode 100644 index 000000000000..ab1822cd6b6a --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_loadbalancerbackendaddresspropertiesformat.go @@ -0,0 +1,14 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type LoadBalancerBackendAddressPropertiesFormat struct { + AdminState *LoadBalancerBackendAddressAdminState `json:"adminState,omitempty"` + IPAddress *string `json:"ipAddress,omitempty"` + InboundNatRulesPortMapping *[]NatRulePortMapping `json:"inboundNatRulesPortMapping,omitempty"` + LoadBalancerFrontendIPConfiguration *SubResource `json:"loadBalancerFrontendIPConfiguration,omitempty"` + NetworkInterfaceIPConfiguration *SubResource `json:"networkInterfaceIPConfiguration,omitempty"` + Subnet *SubResource `json:"subnet,omitempty"` + VirtualNetwork *SubResource `json:"virtualNetwork,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_natgateway.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_natgateway.go new file mode 100644 index 000000000000..eb51b102cada --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_natgateway.go @@ -0,0 +1,20 @@ +package applicationgateways + +import ( + "github.com/hashicorp/go-azure-helpers/resourcemanager/zones" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NatGateway struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Location *string `json:"location,omitempty"` + Name *string `json:"name,omitempty"` + Properties *NatGatewayPropertiesFormat `json:"properties,omitempty"` + Sku *NatGatewaySku `json:"sku,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` + Zones *zones.Schema `json:"zones,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_natgatewaypropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_natgatewaypropertiesformat.go new file mode 100644 index 000000000000..21ac8a2eca2b --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_natgatewaypropertiesformat.go @@ -0,0 +1,13 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NatGatewayPropertiesFormat struct { + IdleTimeoutInMinutes *int64 `json:"idleTimeoutInMinutes,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + PublicIPAddresses *[]SubResource `json:"publicIpAddresses,omitempty"` + PublicIPPrefixes *[]SubResource `json:"publicIpPrefixes,omitempty"` + ResourceGuid *string `json:"resourceGuid,omitempty"` + Subnets *[]SubResource `json:"subnets,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_natgatewaysku.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_natgatewaysku.go new file mode 100644 index 000000000000..54ee08d24982 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_natgatewaysku.go @@ -0,0 +1,8 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NatGatewaySku struct { + Name *NatGatewaySkuName `json:"name,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_natruleportmapping.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_natruleportmapping.go new file mode 100644 index 000000000000..1ca2ef21443e --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_natruleportmapping.go @@ -0,0 +1,10 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NatRulePortMapping struct { + BackendPort *int64 `json:"backendPort,omitempty"` + FrontendPort *int64 `json:"frontendPort,omitempty"` + InboundNatRuleName *string `json:"inboundNatRuleName,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_networkinterface.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_networkinterface.go new file mode 100644 index 000000000000..73b1cb41a522 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_networkinterface.go @@ -0,0 +1,19 @@ +package applicationgateways + +import ( + "github.com/hashicorp/go-azure-helpers/resourcemanager/edgezones" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NetworkInterface struct { + Etag *string `json:"etag,omitempty"` + ExtendedLocation *edgezones.Model `json:"extendedLocation,omitempty"` + Id *string `json:"id,omitempty"` + Location *string `json:"location,omitempty"` + Name *string `json:"name,omitempty"` + Properties *NetworkInterfacePropertiesFormat `json:"properties,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_networkinterfacednssettings.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_networkinterfacednssettings.go new file mode 100644 index 000000000000..92961ce7d045 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_networkinterfacednssettings.go @@ -0,0 +1,12 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NetworkInterfaceDnsSettings struct { + AppliedDnsServers *[]string `json:"appliedDnsServers,omitempty"` + DnsServers *[]string `json:"dnsServers,omitempty"` + InternalDnsNameLabel *string `json:"internalDnsNameLabel,omitempty"` + InternalDomainNameSuffix *string `json:"internalDomainNameSuffix,omitempty"` + InternalFqdn *string `json:"internalFqdn,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_networkinterfaceipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_networkinterfaceipconfiguration.go new file mode 100644 index 000000000000..1be55bfe4695 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_networkinterfaceipconfiguration.go @@ -0,0 +1,12 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NetworkInterfaceIPConfiguration struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *NetworkInterfaceIPConfigurationPropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_networkinterfaceipconfigurationprivatelinkconnectionproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_networkinterfaceipconfigurationprivatelinkconnectionproperties.go new file mode 100644 index 000000000000..fed49bbe9de6 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_networkinterfaceipconfigurationprivatelinkconnectionproperties.go @@ -0,0 +1,10 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties struct { + Fqdns *[]string `json:"fqdns,omitempty"` + GroupId *string `json:"groupId,omitempty"` + RequiredMemberName *string `json:"requiredMemberName,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_networkinterfaceipconfigurationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_networkinterfaceipconfigurationpropertiesformat.go new file mode 100644 index 000000000000..452ec816a207 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_networkinterfaceipconfigurationpropertiesformat.go @@ -0,0 +1,22 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NetworkInterfaceIPConfigurationPropertiesFormat struct { + ApplicationGatewayBackendAddressPools *[]ApplicationGatewayBackendAddressPool `json:"applicationGatewayBackendAddressPools,omitempty"` + ApplicationSecurityGroups *[]ApplicationSecurityGroup `json:"applicationSecurityGroups,omitempty"` + GatewayLoadBalancer *SubResource `json:"gatewayLoadBalancer,omitempty"` + LoadBalancerBackendAddressPools *[]BackendAddressPool `json:"loadBalancerBackendAddressPools,omitempty"` + LoadBalancerInboundNatRules *[]InboundNatRule `json:"loadBalancerInboundNatRules,omitempty"` + Primary *bool `json:"primary,omitempty"` + PrivateIPAddress *string `json:"privateIPAddress,omitempty"` + PrivateIPAddressPrefixLength *int64 `json:"privateIPAddressPrefixLength,omitempty"` + PrivateIPAddressVersion *IPVersion `json:"privateIPAddressVersion,omitempty"` + PrivateIPAllocationMethod *IPAllocationMethod `json:"privateIPAllocationMethod,omitempty"` + PrivateLinkConnectionProperties *NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties `json:"privateLinkConnectionProperties,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + PublicIPAddress *PublicIPAddress `json:"publicIPAddress,omitempty"` + Subnet *Subnet `json:"subnet,omitempty"` + VirtualNetworkTaps *[]VirtualNetworkTap `json:"virtualNetworkTaps,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_networkinterfacepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_networkinterfacepropertiesformat.go new file mode 100644 index 000000000000..302d4c3283d0 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_networkinterfacepropertiesformat.go @@ -0,0 +1,29 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NetworkInterfacePropertiesFormat struct { + AuxiliaryMode *NetworkInterfaceAuxiliaryMode `json:"auxiliaryMode,omitempty"` + AuxiliarySku *NetworkInterfaceAuxiliarySku `json:"auxiliarySku,omitempty"` + DisableTcpStateTracking *bool `json:"disableTcpStateTracking,omitempty"` + DnsSettings *NetworkInterfaceDnsSettings `json:"dnsSettings,omitempty"` + DscpConfiguration *SubResource `json:"dscpConfiguration,omitempty"` + EnableAcceleratedNetworking *bool `json:"enableAcceleratedNetworking,omitempty"` + EnableIPForwarding *bool `json:"enableIPForwarding,omitempty"` + HostedWorkloads *[]string `json:"hostedWorkloads,omitempty"` + IPConfigurations *[]NetworkInterfaceIPConfiguration `json:"ipConfigurations,omitempty"` + MacAddress *string `json:"macAddress,omitempty"` + MigrationPhase *NetworkInterfaceMigrationPhase `json:"migrationPhase,omitempty"` + NetworkSecurityGroup *NetworkSecurityGroup `json:"networkSecurityGroup,omitempty"` + NicType *NetworkInterfaceNicType `json:"nicType,omitempty"` + Primary *bool `json:"primary,omitempty"` + PrivateEndpoint *PrivateEndpoint `json:"privateEndpoint,omitempty"` + PrivateLinkService *PrivateLinkService `json:"privateLinkService,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + ResourceGuid *string `json:"resourceGuid,omitempty"` + TapConfigurations *[]NetworkInterfaceTapConfiguration `json:"tapConfigurations,omitempty"` + VirtualMachine *SubResource `json:"virtualMachine,omitempty"` + VnetEncryptionSupported *bool `json:"vnetEncryptionSupported,omitempty"` + WorkloadType *string `json:"workloadType,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_networkinterfacetapconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_networkinterfacetapconfiguration.go new file mode 100644 index 000000000000..8dc171864266 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_networkinterfacetapconfiguration.go @@ -0,0 +1,12 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NetworkInterfaceTapConfiguration struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *NetworkInterfaceTapConfigurationPropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_networkinterfacetapconfigurationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_networkinterfacetapconfigurationpropertiesformat.go new file mode 100644 index 000000000000..199c278ace04 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_networkinterfacetapconfigurationpropertiesformat.go @@ -0,0 +1,9 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NetworkInterfaceTapConfigurationPropertiesFormat struct { + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + VirtualNetworkTap *VirtualNetworkTap `json:"virtualNetworkTap,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_networksecuritygroup.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_networksecuritygroup.go new file mode 100644 index 000000000000..14268c44ed07 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_networksecuritygroup.go @@ -0,0 +1,14 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NetworkSecurityGroup struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Location *string `json:"location,omitempty"` + Name *string `json:"name,omitempty"` + Properties *NetworkSecurityGroupPropertiesFormat `json:"properties,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_networksecuritygrouppropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_networksecuritygrouppropertiesformat.go new file mode 100644 index 000000000000..e16fb5f6fb3c --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_networksecuritygrouppropertiesformat.go @@ -0,0 +1,15 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NetworkSecurityGroupPropertiesFormat struct { + DefaultSecurityRules *[]SecurityRule `json:"defaultSecurityRules,omitempty"` + FlowLogs *[]FlowLog `json:"flowLogs,omitempty"` + FlushConnection *bool `json:"flushConnection,omitempty"` + NetworkInterfaces *[]NetworkInterface `json:"networkInterfaces,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + ResourceGuid *string `json:"resourceGuid,omitempty"` + SecurityRules *[]SecurityRule `json:"securityRules,omitempty"` + Subnets *[]Subnet `json:"subnets,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_privateendpoint.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_privateendpoint.go new file mode 100644 index 000000000000..4ec265596645 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_privateendpoint.go @@ -0,0 +1,19 @@ +package applicationgateways + +import ( + "github.com/hashicorp/go-azure-helpers/resourcemanager/edgezones" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PrivateEndpoint struct { + Etag *string `json:"etag,omitempty"` + ExtendedLocation *edgezones.Model `json:"extendedLocation,omitempty"` + Id *string `json:"id,omitempty"` + Location *string `json:"location,omitempty"` + Name *string `json:"name,omitempty"` + Properties *PrivateEndpointProperties `json:"properties,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_privateendpointconnection.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_privateendpointconnection.go new file mode 100644 index 000000000000..72911c666f83 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_privateendpointconnection.go @@ -0,0 +1,12 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PrivateEndpointConnection struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *PrivateEndpointConnectionProperties `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_privateendpointconnectionproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_privateendpointconnectionproperties.go new file mode 100644 index 000000000000..baec08812d8e --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_privateendpointconnectionproperties.go @@ -0,0 +1,12 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PrivateEndpointConnectionProperties struct { + LinkIdentifier *string `json:"linkIdentifier,omitempty"` + PrivateEndpoint *PrivateEndpoint `json:"privateEndpoint,omitempty"` + PrivateEndpointLocation *string `json:"privateEndpointLocation,omitempty"` + PrivateLinkServiceConnectionState *PrivateLinkServiceConnectionState `json:"privateLinkServiceConnectionState,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_privateendpointipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_privateendpointipconfiguration.go new file mode 100644 index 000000000000..7cae9c3cf716 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_privateendpointipconfiguration.go @@ -0,0 +1,11 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PrivateEndpointIPConfiguration struct { + Etag *string `json:"etag,omitempty"` + Name *string `json:"name,omitempty"` + Properties *PrivateEndpointIPConfigurationProperties `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_privateendpointipconfigurationproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_privateendpointipconfigurationproperties.go new file mode 100644 index 000000000000..f1f5adead632 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_privateendpointipconfigurationproperties.go @@ -0,0 +1,10 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PrivateEndpointIPConfigurationProperties struct { + GroupId *string `json:"groupId,omitempty"` + MemberName *string `json:"memberName,omitempty"` + PrivateIPAddress *string `json:"privateIPAddress,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_privateendpointproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_privateendpointproperties.go new file mode 100644 index 000000000000..832b7f18a5d2 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_privateendpointproperties.go @@ -0,0 +1,16 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PrivateEndpointProperties struct { + ApplicationSecurityGroups *[]ApplicationSecurityGroup `json:"applicationSecurityGroups,omitempty"` + CustomDnsConfigs *[]CustomDnsConfigPropertiesFormat `json:"customDnsConfigs,omitempty"` + CustomNetworkInterfaceName *string `json:"customNetworkInterfaceName,omitempty"` + IPConfigurations *[]PrivateEndpointIPConfiguration `json:"ipConfigurations,omitempty"` + ManualPrivateLinkServiceConnections *[]PrivateLinkServiceConnection `json:"manualPrivateLinkServiceConnections,omitempty"` + NetworkInterfaces *[]NetworkInterface `json:"networkInterfaces,omitempty"` + PrivateLinkServiceConnections *[]PrivateLinkServiceConnection `json:"privateLinkServiceConnections,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + Subnet *Subnet `json:"subnet,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_privatelinkservice.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_privatelinkservice.go new file mode 100644 index 000000000000..238c6ee31c6f --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_privatelinkservice.go @@ -0,0 +1,19 @@ +package applicationgateways + +import ( + "github.com/hashicorp/go-azure-helpers/resourcemanager/edgezones" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PrivateLinkService struct { + Etag *string `json:"etag,omitempty"` + ExtendedLocation *edgezones.Model `json:"extendedLocation,omitempty"` + Id *string `json:"id,omitempty"` + Location *string `json:"location,omitempty"` + Name *string `json:"name,omitempty"` + Properties *PrivateLinkServiceProperties `json:"properties,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_privatelinkserviceconnection.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_privatelinkserviceconnection.go new file mode 100644 index 000000000000..ee88d81eb06d --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_privatelinkserviceconnection.go @@ -0,0 +1,12 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PrivateLinkServiceConnection struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *PrivateLinkServiceConnectionProperties `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_privatelinkserviceconnectionproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_privatelinkserviceconnectionproperties.go new file mode 100644 index 000000000000..26b1b21ad327 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_privatelinkserviceconnectionproperties.go @@ -0,0 +1,12 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PrivateLinkServiceConnectionProperties struct { + GroupIds *[]string `json:"groupIds,omitempty"` + PrivateLinkServiceConnectionState *PrivateLinkServiceConnectionState `json:"privateLinkServiceConnectionState,omitempty"` + PrivateLinkServiceId *string `json:"privateLinkServiceId,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + RequestMessage *string `json:"requestMessage,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_privatelinkserviceconnectionstate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_privatelinkserviceconnectionstate.go new file mode 100644 index 000000000000..2d2970905b08 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_privatelinkserviceconnectionstate.go @@ -0,0 +1,10 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PrivateLinkServiceConnectionState struct { + ActionsRequired *string `json:"actionsRequired,omitempty"` + Description *string `json:"description,omitempty"` + Status *string `json:"status,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_privatelinkserviceipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_privatelinkserviceipconfiguration.go new file mode 100644 index 000000000000..18d6fcdf24dc --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_privatelinkserviceipconfiguration.go @@ -0,0 +1,12 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PrivateLinkServiceIPConfiguration struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *PrivateLinkServiceIPConfigurationProperties `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_privatelinkserviceipconfigurationproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_privatelinkserviceipconfigurationproperties.go new file mode 100644 index 000000000000..02fc04bab97f --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_privatelinkserviceipconfigurationproperties.go @@ -0,0 +1,13 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PrivateLinkServiceIPConfigurationProperties struct { + Primary *bool `json:"primary,omitempty"` + PrivateIPAddress *string `json:"privateIPAddress,omitempty"` + PrivateIPAddressVersion *IPVersion `json:"privateIPAddressVersion,omitempty"` + PrivateIPAllocationMethod *IPAllocationMethod `json:"privateIPAllocationMethod,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + Subnet *Subnet `json:"subnet,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_privatelinkserviceproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_privatelinkserviceproperties.go new file mode 100644 index 000000000000..545a2473e0fc --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_privatelinkserviceproperties.go @@ -0,0 +1,18 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PrivateLinkServiceProperties struct { + Alias *string `json:"alias,omitempty"` + AutoApproval *ResourceSet `json:"autoApproval,omitempty"` + DestinationIPAddress *string `json:"destinationIPAddress,omitempty"` + EnableProxyProtocol *bool `json:"enableProxyProtocol,omitempty"` + Fqdns *[]string `json:"fqdns,omitempty"` + IPConfigurations *[]PrivateLinkServiceIPConfiguration `json:"ipConfigurations,omitempty"` + LoadBalancerFrontendIPConfigurations *[]FrontendIPConfiguration `json:"loadBalancerFrontendIpConfigurations,omitempty"` + NetworkInterfaces *[]NetworkInterface `json:"networkInterfaces,omitempty"` + PrivateEndpointConnections *[]PrivateEndpointConnection `json:"privateEndpointConnections,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + Visibility *ResourceSet `json:"visibility,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_publicipaddress.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_publicipaddress.go new file mode 100644 index 000000000000..c17efae3e57c --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_publicipaddress.go @@ -0,0 +1,22 @@ +package applicationgateways + +import ( + "github.com/hashicorp/go-azure-helpers/resourcemanager/edgezones" + "github.com/hashicorp/go-azure-helpers/resourcemanager/zones" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PublicIPAddress struct { + Etag *string `json:"etag,omitempty"` + ExtendedLocation *edgezones.Model `json:"extendedLocation,omitempty"` + Id *string `json:"id,omitempty"` + Location *string `json:"location,omitempty"` + Name *string `json:"name,omitempty"` + Properties *PublicIPAddressPropertiesFormat `json:"properties,omitempty"` + Sku *PublicIPAddressSku `json:"sku,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` + Zones *zones.Schema `json:"zones,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_publicipaddressdnssettings.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_publicipaddressdnssettings.go new file mode 100644 index 000000000000..4aeba6f0581e --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_publicipaddressdnssettings.go @@ -0,0 +1,11 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PublicIPAddressDnsSettings struct { + DomainNameLabel *string `json:"domainNameLabel,omitempty"` + DomainNameLabelScope *PublicIPAddressDnsSettingsDomainNameLabelScope `json:"domainNameLabelScope,omitempty"` + Fqdn *string `json:"fqdn,omitempty"` + ReverseFqdn *string `json:"reverseFqdn,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_publicipaddresspropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_publicipaddresspropertiesformat.go new file mode 100644 index 000000000000..d714bdf3daa0 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_publicipaddresspropertiesformat.go @@ -0,0 +1,23 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PublicIPAddressPropertiesFormat struct { + DdosSettings *DdosSettings `json:"ddosSettings,omitempty"` + DeleteOption *DeleteOptions `json:"deleteOption,omitempty"` + DnsSettings *PublicIPAddressDnsSettings `json:"dnsSettings,omitempty"` + IPAddress *string `json:"ipAddress,omitempty"` + IPConfiguration *IPConfiguration `json:"ipConfiguration,omitempty"` + IPTags *[]IPTag `json:"ipTags,omitempty"` + IdleTimeoutInMinutes *int64 `json:"idleTimeoutInMinutes,omitempty"` + LinkedPublicIPAddress *PublicIPAddress `json:"linkedPublicIPAddress,omitempty"` + MigrationPhase *PublicIPAddressMigrationPhase `json:"migrationPhase,omitempty"` + NatGateway *NatGateway `json:"natGateway,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + PublicIPAddressVersion *IPVersion `json:"publicIPAddressVersion,omitempty"` + PublicIPAllocationMethod *IPAllocationMethod `json:"publicIPAllocationMethod,omitempty"` + PublicIPPrefix *SubResource `json:"publicIPPrefix,omitempty"` + ResourceGuid *string `json:"resourceGuid,omitempty"` + ServicePublicIPAddress *PublicIPAddress `json:"servicePublicIPAddress,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_publicipaddresssku.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_publicipaddresssku.go new file mode 100644 index 000000000000..976ba6d175a0 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_publicipaddresssku.go @@ -0,0 +1,9 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PublicIPAddressSku struct { + Name *PublicIPAddressSkuName `json:"name,omitempty"` + Tier *PublicIPAddressSkuTier `json:"tier,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_resourcenavigationlink.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_resourcenavigationlink.go new file mode 100644 index 000000000000..0aeedfe5241e --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_resourcenavigationlink.go @@ -0,0 +1,12 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ResourceNavigationLink struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *ResourceNavigationLinkFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_resourcenavigationlinkformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_resourcenavigationlinkformat.go new file mode 100644 index 000000000000..540e9b96c41a --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_resourcenavigationlinkformat.go @@ -0,0 +1,10 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ResourceNavigationLinkFormat struct { + Link *string `json:"link,omitempty"` + LinkedResourceType *string `json:"linkedResourceType,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_resourceset.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_resourceset.go new file mode 100644 index 000000000000..05c6f87a0974 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_resourceset.go @@ -0,0 +1,8 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ResourceSet struct { + Subscriptions *[]string `json:"subscriptions,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_retentionpolicyparameters.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_retentionpolicyparameters.go new file mode 100644 index 000000000000..aed6889cbaba --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_retentionpolicyparameters.go @@ -0,0 +1,9 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type RetentionPolicyParameters struct { + Days *int64 `json:"days,omitempty"` + Enabled *bool `json:"enabled,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_route.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_route.go new file mode 100644 index 000000000000..8b16e63b0d46 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_route.go @@ -0,0 +1,12 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type Route struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *RoutePropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_routepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_routepropertiesformat.go new file mode 100644 index 000000000000..e5c5f6988741 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_routepropertiesformat.go @@ -0,0 +1,12 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type RoutePropertiesFormat struct { + AddressPrefix *string `json:"addressPrefix,omitempty"` + HasBgpOverride *bool `json:"hasBgpOverride,omitempty"` + NextHopIPAddress *string `json:"nextHopIpAddress,omitempty"` + NextHopType RouteNextHopType `json:"nextHopType"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_routetable.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_routetable.go new file mode 100644 index 000000000000..6b3d63e8b6cd --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_routetable.go @@ -0,0 +1,14 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type RouteTable struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Location *string `json:"location,omitempty"` + Name *string `json:"name,omitempty"` + Properties *RouteTablePropertiesFormat `json:"properties,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_routetablepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_routetablepropertiesformat.go new file mode 100644 index 000000000000..af2c694b5dbc --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_routetablepropertiesformat.go @@ -0,0 +1,12 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type RouteTablePropertiesFormat struct { + DisableBgpRoutePropagation *bool `json:"disableBgpRoutePropagation,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + ResourceGuid *string `json:"resourceGuid,omitempty"` + Routes *[]Route `json:"routes,omitempty"` + Subnets *[]Subnet `json:"subnets,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_securityrule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_securityrule.go new file mode 100644 index 000000000000..ef187da7432b --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_securityrule.go @@ -0,0 +1,12 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type SecurityRule struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *SecurityRulePropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_securityrulepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_securityrulepropertiesformat.go new file mode 100644 index 000000000000..c96607c5d206 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_securityrulepropertiesformat.go @@ -0,0 +1,23 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type SecurityRulePropertiesFormat struct { + Access SecurityRuleAccess `json:"access"` + Description *string `json:"description,omitempty"` + DestinationAddressPrefix *string `json:"destinationAddressPrefix,omitempty"` + DestinationAddressPrefixes *[]string `json:"destinationAddressPrefixes,omitempty"` + DestinationApplicationSecurityGroups *[]ApplicationSecurityGroup `json:"destinationApplicationSecurityGroups,omitempty"` + DestinationPortRange *string `json:"destinationPortRange,omitempty"` + DestinationPortRanges *[]string `json:"destinationPortRanges,omitempty"` + Direction SecurityRuleDirection `json:"direction"` + Priority int64 `json:"priority"` + Protocol SecurityRuleProtocol `json:"protocol"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + SourceAddressPrefix *string `json:"sourceAddressPrefix,omitempty"` + SourceAddressPrefixes *[]string `json:"sourceAddressPrefixes,omitempty"` + SourceApplicationSecurityGroups *[]ApplicationSecurityGroup `json:"sourceApplicationSecurityGroups,omitempty"` + SourcePortRange *string `json:"sourcePortRange,omitempty"` + SourcePortRanges *[]string `json:"sourcePortRanges,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_serviceassociationlink.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_serviceassociationlink.go new file mode 100644 index 000000000000..fcd770e8b43f --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_serviceassociationlink.go @@ -0,0 +1,12 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ServiceAssociationLink struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *ServiceAssociationLinkPropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_serviceassociationlinkpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_serviceassociationlinkpropertiesformat.go new file mode 100644 index 000000000000..74146988cafb --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_serviceassociationlinkpropertiesformat.go @@ -0,0 +1,12 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ServiceAssociationLinkPropertiesFormat struct { + AllowDelete *bool `json:"allowDelete,omitempty"` + Link *string `json:"link,omitempty"` + LinkedResourceType *string `json:"linkedResourceType,omitempty"` + Locations *[]string `json:"locations,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_servicedelegationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_servicedelegationpropertiesformat.go new file mode 100644 index 000000000000..508b02893d33 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_servicedelegationpropertiesformat.go @@ -0,0 +1,10 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ServiceDelegationPropertiesFormat struct { + Actions *[]string `json:"actions,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + ServiceName *string `json:"serviceName,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_serviceendpointpolicy.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_serviceendpointpolicy.go new file mode 100644 index 000000000000..3c9d04af717f --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_serviceendpointpolicy.go @@ -0,0 +1,15 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ServiceEndpointPolicy struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Kind *string `json:"kind,omitempty"` + Location *string `json:"location,omitempty"` + Name *string `json:"name,omitempty"` + Properties *ServiceEndpointPolicyPropertiesFormat `json:"properties,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_serviceendpointpolicydefinition.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_serviceendpointpolicydefinition.go new file mode 100644 index 000000000000..3c52f56e9ead --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_serviceendpointpolicydefinition.go @@ -0,0 +1,12 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ServiceEndpointPolicyDefinition struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *ServiceEndpointPolicyDefinitionPropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_serviceendpointpolicydefinitionpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_serviceendpointpolicydefinitionpropertiesformat.go new file mode 100644 index 000000000000..0ccd3a839f33 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_serviceendpointpolicydefinitionpropertiesformat.go @@ -0,0 +1,11 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ServiceEndpointPolicyDefinitionPropertiesFormat struct { + Description *string `json:"description,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + Service *string `json:"service,omitempty"` + ServiceResources *[]string `json:"serviceResources,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_serviceendpointpolicypropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_serviceendpointpolicypropertiesformat.go new file mode 100644 index 000000000000..edd49bd36a4e --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_serviceendpointpolicypropertiesformat.go @@ -0,0 +1,13 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ServiceEndpointPolicyPropertiesFormat struct { + ContextualServiceEndpointPolicies *[]string `json:"contextualServiceEndpointPolicies,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + ResourceGuid *string `json:"resourceGuid,omitempty"` + ServiceAlias *string `json:"serviceAlias,omitempty"` + ServiceEndpointPolicyDefinitions *[]ServiceEndpointPolicyDefinition `json:"serviceEndpointPolicyDefinitions,omitempty"` + Subnets *[]Subnet `json:"subnets,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_serviceendpointpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_serviceendpointpropertiesformat.go new file mode 100644 index 000000000000..651b33530e8a --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_serviceendpointpropertiesformat.go @@ -0,0 +1,11 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ServiceEndpointPropertiesFormat struct { + Locations *[]string `json:"locations,omitempty"` + NetworkIdentifier *SubResource `json:"networkIdentifier,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + Service *string `json:"service,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_subnet.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_subnet.go new file mode 100644 index 000000000000..9bad3a3150cf --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_subnet.go @@ -0,0 +1,12 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type Subnet struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *SubnetPropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_subnetpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_subnetpropertiesformat.go new file mode 100644 index 000000000000..d252ccc3e8c5 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_subnetpropertiesformat.go @@ -0,0 +1,28 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type SubnetPropertiesFormat struct { + AddressPrefix *string `json:"addressPrefix,omitempty"` + AddressPrefixes *[]string `json:"addressPrefixes,omitempty"` + ApplicationGatewayIPConfigurations *[]ApplicationGatewayIPConfiguration `json:"applicationGatewayIPConfigurations,omitempty"` + DefaultOutboundAccess *bool `json:"defaultOutboundAccess,omitempty"` + Delegations *[]Delegation `json:"delegations,omitempty"` + IPAllocations *[]SubResource `json:"ipAllocations,omitempty"` + IPConfigurationProfiles *[]IPConfigurationProfile `json:"ipConfigurationProfiles,omitempty"` + IPConfigurations *[]IPConfiguration `json:"ipConfigurations,omitempty"` + NatGateway *SubResource `json:"natGateway,omitempty"` + NetworkSecurityGroup *NetworkSecurityGroup `json:"networkSecurityGroup,omitempty"` + PrivateEndpointNetworkPolicies *VirtualNetworkPrivateEndpointNetworkPolicies `json:"privateEndpointNetworkPolicies,omitempty"` + PrivateEndpoints *[]PrivateEndpoint `json:"privateEndpoints,omitempty"` + PrivateLinkServiceNetworkPolicies *VirtualNetworkPrivateLinkServiceNetworkPolicies `json:"privateLinkServiceNetworkPolicies,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + Purpose *string `json:"purpose,omitempty"` + ResourceNavigationLinks *[]ResourceNavigationLink `json:"resourceNavigationLinks,omitempty"` + RouteTable *RouteTable `json:"routeTable,omitempty"` + ServiceAssociationLinks *[]ServiceAssociationLink `json:"serviceAssociationLinks,omitempty"` + ServiceEndpointPolicies *[]ServiceEndpointPolicy `json:"serviceEndpointPolicies,omitempty"` + ServiceEndpoints *[]ServiceEndpointPropertiesFormat `json:"serviceEndpoints,omitempty"` + SharingScope *SharingScope `json:"sharingScope,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_subresource.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_subresource.go new file mode 100644 index 000000000000..5e7297f22b2b --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_subresource.go @@ -0,0 +1,8 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type SubResource struct { + Id *string `json:"id,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_tagsobject.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_tagsobject.go new file mode 100644 index 000000000000..d5962ed5647f --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_tagsobject.go @@ -0,0 +1,8 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type TagsObject struct { + Tags *map[string]string `json:"tags,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_trafficanalyticsconfigurationproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_trafficanalyticsconfigurationproperties.go new file mode 100644 index 000000000000..657671157786 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_trafficanalyticsconfigurationproperties.go @@ -0,0 +1,12 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type TrafficAnalyticsConfigurationProperties struct { + Enabled *bool `json:"enabled,omitempty"` + TrafficAnalyticsInterval *int64 `json:"trafficAnalyticsInterval,omitempty"` + WorkspaceId *string `json:"workspaceId,omitempty"` + WorkspaceRegion *string `json:"workspaceRegion,omitempty"` + WorkspaceResourceId *string `json:"workspaceResourceId,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_trafficanalyticsproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_trafficanalyticsproperties.go new file mode 100644 index 000000000000..b9b39e7b346c --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_trafficanalyticsproperties.go @@ -0,0 +1,8 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type TrafficAnalyticsProperties struct { + NetworkWatcherFlowAnalyticsConfiguration *TrafficAnalyticsConfigurationProperties `json:"networkWatcherFlowAnalyticsConfiguration,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_virtualnetworktap.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_virtualnetworktap.go new file mode 100644 index 000000000000..610065f3a8a5 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_virtualnetworktap.go @@ -0,0 +1,14 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VirtualNetworkTap struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Location *string `json:"location,omitempty"` + Name *string `json:"name,omitempty"` + Properties *VirtualNetworkTapPropertiesFormat `json:"properties,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_virtualnetworktappropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_virtualnetworktappropertiesformat.go new file mode 100644 index 000000000000..a7db53f16295 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/model_virtualnetworktappropertiesformat.go @@ -0,0 +1,13 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VirtualNetworkTapPropertiesFormat struct { + DestinationLoadBalancerFrontEndIPConfiguration *FrontendIPConfiguration `json:"destinationLoadBalancerFrontEndIPConfiguration,omitempty"` + DestinationNetworkInterfaceIPConfiguration *NetworkInterfaceIPConfiguration `json:"destinationNetworkInterfaceIPConfiguration,omitempty"` + DestinationPort *int64 `json:"destinationPort,omitempty"` + NetworkInterfaceTapConfigurations *[]NetworkInterfaceTapConfiguration `json:"networkInterfaceTapConfigurations,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + ResourceGuid *string `json:"resourceGuid,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/predicates.go new file mode 100644 index 000000000000..c51e6f7b000d --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/predicates.go @@ -0,0 +1,55 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayOperationPredicate struct { + Etag *string + Id *string + Location *string + Name *string + Type *string +} + +func (p ApplicationGatewayOperationPredicate) Matches(input ApplicationGateway) bool { + + if p.Etag != nil && (input.Etag == nil || *p.Etag != *input.Etag) { + return false + } + + if p.Id != nil && (input.Id == nil || *p.Id != *input.Id) { + return false + } + + if p.Location != nil && (input.Location == nil || *p.Location != *input.Location) { + return false + } + + if p.Name != nil && (input.Name == nil || *p.Name != *input.Name) { + return false + } + + if p.Type != nil && (input.Type == nil || *p.Type != *input.Type) { + return false + } + + return true +} + +type ApplicationGatewaySslPredefinedPolicyOperationPredicate struct { + Id *string + Name *string +} + +func (p ApplicationGatewaySslPredefinedPolicyOperationPredicate) Matches(input ApplicationGatewaySslPredefinedPolicy) bool { + + if p.Id != nil && (input.Id == nil || *p.Id != *input.Id) { + return false + } + + if p.Name != nil && (input.Name == nil || *p.Name != *input.Name) { + return false + } + + return true +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/version.go new file mode 100644 index 000000000000..75cb5f6a69c4 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways/version.go @@ -0,0 +1,10 @@ +package applicationgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2024-03-01" + +func userAgent() string { + return "hashicorp/go-azure-sdk/applicationgateways/2024-03-01" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewaywafdynamicmanifests/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewaywafdynamicmanifests/README.md new file mode 100644 index 000000000000..d3be5076b6bd --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewaywafdynamicmanifests/README.md @@ -0,0 +1,53 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewaywafdynamicmanifests` Documentation + +The `applicationgatewaywafdynamicmanifests` SDK allows for interaction with Azure Resource Manager `network` (API Version `2024-03-01`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewaywafdynamicmanifests" +``` + + +### Client Initialization + +```go +client := applicationgatewaywafdynamicmanifests.NewApplicationGatewayWafDynamicManifestsClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `ApplicationGatewayWafDynamicManifestsClient.DefaultGet` + +```go +ctx := context.TODO() +id := applicationgatewaywafdynamicmanifests.NewLocationID("12345678-1234-9876-4563-123456789012", "locationName") + +read, err := client.DefaultGet(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `ApplicationGatewayWafDynamicManifestsClient.Get` + +```go +ctx := context.TODO() +id := applicationgatewaywafdynamicmanifests.NewLocationID("12345678-1234-9876-4563-123456789012", "locationName") + +// alternatively `client.Get(ctx, id)` can be used to do batched pagination +items, err := client.GetComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewaywafdynamicmanifests/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewaywafdynamicmanifests/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewaywafdynamicmanifests/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewaywafdynamicmanifests/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewaywafdynamicmanifests/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewaywafdynamicmanifests/constants.go new file mode 100644 index 000000000000..40d85530d248 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewaywafdynamicmanifests/constants.go @@ -0,0 +1,242 @@ +package applicationgatewaywafdynamicmanifests + +import ( + "encoding/json" + "fmt" + "strings" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayRuleSetStatusOptions string + +const ( + ApplicationGatewayRuleSetStatusOptionsDeprecated ApplicationGatewayRuleSetStatusOptions = "Deprecated" + ApplicationGatewayRuleSetStatusOptionsGA ApplicationGatewayRuleSetStatusOptions = "GA" + ApplicationGatewayRuleSetStatusOptionsPreview ApplicationGatewayRuleSetStatusOptions = "Preview" + ApplicationGatewayRuleSetStatusOptionsSupported ApplicationGatewayRuleSetStatusOptions = "Supported" +) + +func PossibleValuesForApplicationGatewayRuleSetStatusOptions() []string { + return []string{ + string(ApplicationGatewayRuleSetStatusOptionsDeprecated), + string(ApplicationGatewayRuleSetStatusOptionsGA), + string(ApplicationGatewayRuleSetStatusOptionsPreview), + string(ApplicationGatewayRuleSetStatusOptionsSupported), + } +} + +func (s *ApplicationGatewayRuleSetStatusOptions) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseApplicationGatewayRuleSetStatusOptions(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseApplicationGatewayRuleSetStatusOptions(input string) (*ApplicationGatewayRuleSetStatusOptions, error) { + vals := map[string]ApplicationGatewayRuleSetStatusOptions{ + "deprecated": ApplicationGatewayRuleSetStatusOptionsDeprecated, + "ga": ApplicationGatewayRuleSetStatusOptionsGA, + "preview": ApplicationGatewayRuleSetStatusOptionsPreview, + "supported": ApplicationGatewayRuleSetStatusOptionsSupported, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ApplicationGatewayRuleSetStatusOptions(input) + return &out, nil +} + +type ApplicationGatewayTierTypes string + +const ( + ApplicationGatewayTierTypesStandard ApplicationGatewayTierTypes = "Standard" + ApplicationGatewayTierTypesStandardVTwo ApplicationGatewayTierTypes = "Standard_v2" + ApplicationGatewayTierTypesWAF ApplicationGatewayTierTypes = "WAF" + ApplicationGatewayTierTypesWAFVTwo ApplicationGatewayTierTypes = "WAF_v2" +) + +func PossibleValuesForApplicationGatewayTierTypes() []string { + return []string{ + string(ApplicationGatewayTierTypesStandard), + string(ApplicationGatewayTierTypesStandardVTwo), + string(ApplicationGatewayTierTypesWAF), + string(ApplicationGatewayTierTypesWAFVTwo), + } +} + +func (s *ApplicationGatewayTierTypes) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseApplicationGatewayTierTypes(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseApplicationGatewayTierTypes(input string) (*ApplicationGatewayTierTypes, error) { + vals := map[string]ApplicationGatewayTierTypes{ + "standard": ApplicationGatewayTierTypesStandard, + "standard_v2": ApplicationGatewayTierTypesStandardVTwo, + "waf": ApplicationGatewayTierTypesWAF, + "waf_v2": ApplicationGatewayTierTypesWAFVTwo, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ApplicationGatewayTierTypes(input) + return &out, nil +} + +type ApplicationGatewayWafRuleActionTypes string + +const ( + ApplicationGatewayWafRuleActionTypesAllow ApplicationGatewayWafRuleActionTypes = "Allow" + ApplicationGatewayWafRuleActionTypesAnomalyScoring ApplicationGatewayWafRuleActionTypes = "AnomalyScoring" + ApplicationGatewayWafRuleActionTypesBlock ApplicationGatewayWafRuleActionTypes = "Block" + ApplicationGatewayWafRuleActionTypesLog ApplicationGatewayWafRuleActionTypes = "Log" + ApplicationGatewayWafRuleActionTypesNone ApplicationGatewayWafRuleActionTypes = "None" +) + +func PossibleValuesForApplicationGatewayWafRuleActionTypes() []string { + return []string{ + string(ApplicationGatewayWafRuleActionTypesAllow), + string(ApplicationGatewayWafRuleActionTypesAnomalyScoring), + string(ApplicationGatewayWafRuleActionTypesBlock), + string(ApplicationGatewayWafRuleActionTypesLog), + string(ApplicationGatewayWafRuleActionTypesNone), + } +} + +func (s *ApplicationGatewayWafRuleActionTypes) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseApplicationGatewayWafRuleActionTypes(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseApplicationGatewayWafRuleActionTypes(input string) (*ApplicationGatewayWafRuleActionTypes, error) { + vals := map[string]ApplicationGatewayWafRuleActionTypes{ + "allow": ApplicationGatewayWafRuleActionTypesAllow, + "anomalyscoring": ApplicationGatewayWafRuleActionTypesAnomalyScoring, + "block": ApplicationGatewayWafRuleActionTypesBlock, + "log": ApplicationGatewayWafRuleActionTypesLog, + "none": ApplicationGatewayWafRuleActionTypesNone, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ApplicationGatewayWafRuleActionTypes(input) + return &out, nil +} + +type ApplicationGatewayWafRuleSensitivityTypes string + +const ( + ApplicationGatewayWafRuleSensitivityTypesHigh ApplicationGatewayWafRuleSensitivityTypes = "High" + ApplicationGatewayWafRuleSensitivityTypesLow ApplicationGatewayWafRuleSensitivityTypes = "Low" + ApplicationGatewayWafRuleSensitivityTypesMedium ApplicationGatewayWafRuleSensitivityTypes = "Medium" + ApplicationGatewayWafRuleSensitivityTypesNone ApplicationGatewayWafRuleSensitivityTypes = "None" +) + +func PossibleValuesForApplicationGatewayWafRuleSensitivityTypes() []string { + return []string{ + string(ApplicationGatewayWafRuleSensitivityTypesHigh), + string(ApplicationGatewayWafRuleSensitivityTypesLow), + string(ApplicationGatewayWafRuleSensitivityTypesMedium), + string(ApplicationGatewayWafRuleSensitivityTypesNone), + } +} + +func (s *ApplicationGatewayWafRuleSensitivityTypes) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseApplicationGatewayWafRuleSensitivityTypes(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseApplicationGatewayWafRuleSensitivityTypes(input string) (*ApplicationGatewayWafRuleSensitivityTypes, error) { + vals := map[string]ApplicationGatewayWafRuleSensitivityTypes{ + "high": ApplicationGatewayWafRuleSensitivityTypesHigh, + "low": ApplicationGatewayWafRuleSensitivityTypesLow, + "medium": ApplicationGatewayWafRuleSensitivityTypesMedium, + "none": ApplicationGatewayWafRuleSensitivityTypesNone, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ApplicationGatewayWafRuleSensitivityTypes(input) + return &out, nil +} + +type ApplicationGatewayWafRuleStateTypes string + +const ( + ApplicationGatewayWafRuleStateTypesDisabled ApplicationGatewayWafRuleStateTypes = "Disabled" + ApplicationGatewayWafRuleStateTypesEnabled ApplicationGatewayWafRuleStateTypes = "Enabled" +) + +func PossibleValuesForApplicationGatewayWafRuleStateTypes() []string { + return []string{ + string(ApplicationGatewayWafRuleStateTypesDisabled), + string(ApplicationGatewayWafRuleStateTypesEnabled), + } +} + +func (s *ApplicationGatewayWafRuleStateTypes) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseApplicationGatewayWafRuleStateTypes(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseApplicationGatewayWafRuleStateTypes(input string) (*ApplicationGatewayWafRuleStateTypes, error) { + vals := map[string]ApplicationGatewayWafRuleStateTypes{ + "disabled": ApplicationGatewayWafRuleStateTypesDisabled, + "enabled": ApplicationGatewayWafRuleStateTypesEnabled, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ApplicationGatewayWafRuleStateTypes(input) + return &out, nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewaywafdynamicmanifests/id_location.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewaywafdynamicmanifests/id_location.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewaywafdynamicmanifests/id_location.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewaywafdynamicmanifests/id_location.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewaywafdynamicmanifests/method_defaultget.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewaywafdynamicmanifests/method_defaultget.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewaywafdynamicmanifests/method_defaultget.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewaywafdynamicmanifests/method_defaultget.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewaywafdynamicmanifests/method_get.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewaywafdynamicmanifests/method_get.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewaywafdynamicmanifests/method_get.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewaywafdynamicmanifests/method_get.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewaywafdynamicmanifests/model_applicationgatewayfirewallmanifestruleset.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewaywafdynamicmanifests/model_applicationgatewayfirewallmanifestruleset.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewaywafdynamicmanifests/model_applicationgatewayfirewallmanifestruleset.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewaywafdynamicmanifests/model_applicationgatewayfirewallmanifestruleset.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewaywafdynamicmanifests/model_applicationgatewayfirewallrule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewaywafdynamicmanifests/model_applicationgatewayfirewallrule.go new file mode 100644 index 000000000000..30a847539f1c --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewaywafdynamicmanifests/model_applicationgatewayfirewallrule.go @@ -0,0 +1,13 @@ +package applicationgatewaywafdynamicmanifests + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayFirewallRule struct { + Action *ApplicationGatewayWafRuleActionTypes `json:"action,omitempty"` + Description *string `json:"description,omitempty"` + RuleId int64 `json:"ruleId"` + RuleIdString *string `json:"ruleIdString,omitempty"` + Sensitivity *ApplicationGatewayWafRuleSensitivityTypes `json:"sensitivity,omitempty"` + State *ApplicationGatewayWafRuleStateTypes `json:"state,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewaywafdynamicmanifests/model_applicationgatewayfirewallrulegroup.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewaywafdynamicmanifests/model_applicationgatewayfirewallrulegroup.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewaywafdynamicmanifests/model_applicationgatewayfirewallrulegroup.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewaywafdynamicmanifests/model_applicationgatewayfirewallrulegroup.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewaywafdynamicmanifests/model_applicationgatewaywafdynamicmanifestpropertiesresult.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewaywafdynamicmanifests/model_applicationgatewaywafdynamicmanifestpropertiesresult.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewaywafdynamicmanifests/model_applicationgatewaywafdynamicmanifestpropertiesresult.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewaywafdynamicmanifests/model_applicationgatewaywafdynamicmanifestpropertiesresult.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewaywafdynamicmanifests/model_applicationgatewaywafdynamicmanifestresult.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewaywafdynamicmanifests/model_applicationgatewaywafdynamicmanifestresult.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewaywafdynamicmanifests/model_applicationgatewaywafdynamicmanifestresult.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewaywafdynamicmanifests/model_applicationgatewaywafdynamicmanifestresult.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewaywafdynamicmanifests/model_defaultrulesetpropertyformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewaywafdynamicmanifests/model_defaultrulesetpropertyformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewaywafdynamicmanifests/model_defaultrulesetpropertyformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewaywafdynamicmanifests/model_defaultrulesetpropertyformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewaywafdynamicmanifests/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewaywafdynamicmanifests/predicates.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewaywafdynamicmanifests/predicates.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewaywafdynamicmanifests/predicates.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewaywafdynamicmanifests/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewaywafdynamicmanifests/version.go new file mode 100644 index 000000000000..34255b778968 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewaywafdynamicmanifests/version.go @@ -0,0 +1,10 @@ +package applicationgatewaywafdynamicmanifests + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2024-03-01" + +func userAgent() string { + return "hashicorp/go-azure-sdk/applicationgatewaywafdynamicmanifests/2024-03-01" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationsecuritygroups/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationsecuritygroups/README.md new file mode 100644 index 000000000000..2acd6fec383b --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationsecuritygroups/README.md @@ -0,0 +1,121 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationsecuritygroups` Documentation + +The `applicationsecuritygroups` SDK allows for interaction with Azure Resource Manager `network` (API Version `2024-03-01`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" +import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationsecuritygroups" +``` + + +### Client Initialization + +```go +client := applicationsecuritygroups.NewApplicationSecurityGroupsClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `ApplicationSecurityGroupsClient.CreateOrUpdate` + +```go +ctx := context.TODO() +id := applicationsecuritygroups.NewApplicationSecurityGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group", "applicationSecurityGroupName") + +payload := applicationsecuritygroups.ApplicationSecurityGroup{ + // ... +} + + +if err := client.CreateOrUpdateThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `ApplicationSecurityGroupsClient.Delete` + +```go +ctx := context.TODO() +id := applicationsecuritygroups.NewApplicationSecurityGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group", "applicationSecurityGroupName") + +if err := client.DeleteThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `ApplicationSecurityGroupsClient.Get` + +```go +ctx := context.TODO() +id := applicationsecuritygroups.NewApplicationSecurityGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group", "applicationSecurityGroupName") + +read, err := client.Get(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `ApplicationSecurityGroupsClient.List` + +```go +ctx := context.TODO() +id := commonids.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group") + +// alternatively `client.List(ctx, id)` can be used to do batched pagination +items, err := client.ListComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `ApplicationSecurityGroupsClient.ListAll` + +```go +ctx := context.TODO() +id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012") + +// alternatively `client.ListAll(ctx, id)` can be used to do batched pagination +items, err := client.ListAllComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `ApplicationSecurityGroupsClient.UpdateTags` + +```go +ctx := context.TODO() +id := applicationsecuritygroups.NewApplicationSecurityGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group", "applicationSecurityGroupName") + +payload := applicationsecuritygroups.TagsObject{ + // ... +} + + +read, err := client.UpdateTags(ctx, id, payload) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationsecuritygroups/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationsecuritygroups/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationsecuritygroups/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationsecuritygroups/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationsecuritygroups/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationsecuritygroups/constants.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationsecuritygroups/constants.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationsecuritygroups/constants.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationsecuritygroups/id_applicationsecuritygroup.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationsecuritygroups/id_applicationsecuritygroup.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationsecuritygroups/id_applicationsecuritygroup.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationsecuritygroups/id_applicationsecuritygroup.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationsecuritygroups/method_createorupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationsecuritygroups/method_createorupdate.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationsecuritygroups/method_createorupdate.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationsecuritygroups/method_createorupdate.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationsecuritygroups/method_delete.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationsecuritygroups/method_delete.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationsecuritygroups/method_delete.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationsecuritygroups/method_delete.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationsecuritygroups/method_get.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationsecuritygroups/method_get.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationsecuritygroups/method_get.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationsecuritygroups/method_get.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationsecuritygroups/method_list.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationsecuritygroups/method_list.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationsecuritygroups/method_list.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationsecuritygroups/method_list.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationsecuritygroups/method_listall.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationsecuritygroups/method_listall.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationsecuritygroups/method_listall.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationsecuritygroups/method_listall.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationsecuritygroups/method_updatetags.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationsecuritygroups/method_updatetags.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationsecuritygroups/method_updatetags.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationsecuritygroups/method_updatetags.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationsecuritygroups/model_applicationsecuritygroup.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationsecuritygroups/model_applicationsecuritygroup.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationsecuritygroups/model_applicationsecuritygroup.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationsecuritygroups/model_applicationsecuritygroup.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationsecuritygroups/model_applicationsecuritygrouppropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationsecuritygroups/model_applicationsecuritygrouppropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationsecuritygroups/model_applicationsecuritygrouppropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationsecuritygroups/model_applicationsecuritygrouppropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationsecuritygroups/model_tagsobject.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationsecuritygroups/model_tagsobject.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationsecuritygroups/model_tagsobject.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationsecuritygroups/model_tagsobject.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationsecuritygroups/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationsecuritygroups/predicates.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationsecuritygroups/predicates.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationsecuritygroups/predicates.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationsecuritygroups/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationsecuritygroups/version.go new file mode 100644 index 000000000000..5aa09750d510 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationsecuritygroups/version.go @@ -0,0 +1,10 @@ +package applicationsecuritygroups + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2024-03-01" + +func userAgent() string { + return "hashicorp/go-azure-sdk/applicationsecuritygroups/2024-03-01" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/availabledelegations/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/availabledelegations/README.md new file mode 100644 index 000000000000..d5441dd3d42b --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/availabledelegations/README.md @@ -0,0 +1,54 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/availabledelegations` Documentation + +The `availabledelegations` SDK allows for interaction with Azure Resource Manager `network` (API Version `2024-03-01`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/availabledelegations" +``` + + +### Client Initialization + +```go +client := availabledelegations.NewAvailableDelegationsClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `AvailableDelegationsClient.AvailableDelegationsList` + +```go +ctx := context.TODO() +id := availabledelegations.NewLocationID("12345678-1234-9876-4563-123456789012", "locationName") + +// alternatively `client.AvailableDelegationsList(ctx, id)` can be used to do batched pagination +items, err := client.AvailableDelegationsListComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `AvailableDelegationsClient.AvailableResourceGroupDelegationsList` + +```go +ctx := context.TODO() +id := availabledelegations.NewProviderLocationID("12345678-1234-9876-4563-123456789012", "example-resource-group", "locationName") + +// alternatively `client.AvailableResourceGroupDelegationsList(ctx, id)` can be used to do batched pagination +items, err := client.AvailableResourceGroupDelegationsListComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/availabledelegations/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/availabledelegations/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/availabledelegations/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/availabledelegations/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/availabledelegations/id_location.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/availabledelegations/id_location.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/availabledelegations/id_location.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/availabledelegations/id_location.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/availabledelegations/id_providerlocation.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/availabledelegations/id_providerlocation.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/availabledelegations/id_providerlocation.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/availabledelegations/id_providerlocation.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/availabledelegations/method_availabledelegationslist.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/availabledelegations/method_availabledelegationslist.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/availabledelegations/method_availabledelegationslist.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/availabledelegations/method_availabledelegationslist.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/availabledelegations/method_availableresourcegroupdelegationslist.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/availabledelegations/method_availableresourcegroupdelegationslist.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/availabledelegations/method_availableresourcegroupdelegationslist.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/availabledelegations/method_availableresourcegroupdelegationslist.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/availabledelegations/model_availabledelegation.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/availabledelegations/model_availabledelegation.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/availabledelegations/model_availabledelegation.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/availabledelegations/model_availabledelegation.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/availabledelegations/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/availabledelegations/predicates.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/availabledelegations/predicates.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/availabledelegations/predicates.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/availabledelegations/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/availabledelegations/version.go new file mode 100644 index 000000000000..689dcde82fb5 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/availabledelegations/version.go @@ -0,0 +1,10 @@ +package availabledelegations + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2024-03-01" + +func userAgent() string { + return "hashicorp/go-azure-sdk/availabledelegations/2024-03-01" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/availableservicealiases/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/availableservicealiases/README.md new file mode 100644 index 000000000000..ad6706a27ced --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/availableservicealiases/README.md @@ -0,0 +1,54 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/availableservicealiases` Documentation + +The `availableservicealiases` SDK allows for interaction with Azure Resource Manager `network` (API Version `2024-03-01`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/availableservicealiases" +``` + + +### Client Initialization + +```go +client := availableservicealiases.NewAvailableServiceAliasesClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `AvailableServiceAliasesClient.List` + +```go +ctx := context.TODO() +id := availableservicealiases.NewLocationID("12345678-1234-9876-4563-123456789012", "locationName") + +// alternatively `client.List(ctx, id)` can be used to do batched pagination +items, err := client.ListComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `AvailableServiceAliasesClient.ListByResourceGroup` + +```go +ctx := context.TODO() +id := availableservicealiases.NewProviderLocationID("12345678-1234-9876-4563-123456789012", "example-resource-group", "locationName") + +// alternatively `client.ListByResourceGroup(ctx, id)` can be used to do batched pagination +items, err := client.ListByResourceGroupComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/availableservicealiases/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/availableservicealiases/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/availableservicealiases/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/availableservicealiases/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/availableservicealiases/id_location.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/availableservicealiases/id_location.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/availableservicealiases/id_location.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/availableservicealiases/id_location.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/availableservicealiases/id_providerlocation.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/availableservicealiases/id_providerlocation.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/availableservicealiases/id_providerlocation.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/availableservicealiases/id_providerlocation.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/availableservicealiases/method_list.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/availableservicealiases/method_list.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/availableservicealiases/method_list.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/availableservicealiases/method_list.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/availableservicealiases/method_listbyresourcegroup.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/availableservicealiases/method_listbyresourcegroup.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/availableservicealiases/method_listbyresourcegroup.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/availableservicealiases/method_listbyresourcegroup.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/availableservicealiases/model_availableservicealias.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/availableservicealiases/model_availableservicealias.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/availableservicealiases/model_availableservicealias.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/availableservicealiases/model_availableservicealias.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/availableservicealiases/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/availableservicealiases/predicates.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/availableservicealiases/predicates.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/availableservicealiases/predicates.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/availableservicealiases/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/availableservicealiases/version.go new file mode 100644 index 000000000000..264112b04253 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/availableservicealiases/version.go @@ -0,0 +1,10 @@ +package availableservicealiases + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2024-03-01" + +func userAgent() string { + return "hashicorp/go-azure-sdk/availableservicealiases/2024-03-01" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/azurefirewalls/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/azurefirewalls/README.md new file mode 100644 index 000000000000..b36c2aecafb1 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/azurefirewalls/README.md @@ -0,0 +1,146 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/azurefirewalls` Documentation + +The `azurefirewalls` SDK allows for interaction with Azure Resource Manager `network` (API Version `2024-03-01`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" +import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/azurefirewalls" +``` + + +### Client Initialization + +```go +client := azurefirewalls.NewAzureFirewallsClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `AzureFirewallsClient.AzureFirewallsListLearnedPrefixes` + +```go +ctx := context.TODO() +id := azurefirewalls.NewAzureFirewallID("12345678-1234-9876-4563-123456789012", "example-resource-group", "azureFirewallName") + +if err := client.AzureFirewallsListLearnedPrefixesThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `AzureFirewallsClient.CreateOrUpdate` + +```go +ctx := context.TODO() +id := azurefirewalls.NewAzureFirewallID("12345678-1234-9876-4563-123456789012", "example-resource-group", "azureFirewallName") + +payload := azurefirewalls.AzureFirewall{ + // ... +} + + +if err := client.CreateOrUpdateThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `AzureFirewallsClient.Delete` + +```go +ctx := context.TODO() +id := azurefirewalls.NewAzureFirewallID("12345678-1234-9876-4563-123456789012", "example-resource-group", "azureFirewallName") + +if err := client.DeleteThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `AzureFirewallsClient.Get` + +```go +ctx := context.TODO() +id := azurefirewalls.NewAzureFirewallID("12345678-1234-9876-4563-123456789012", "example-resource-group", "azureFirewallName") + +read, err := client.Get(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `AzureFirewallsClient.List` + +```go +ctx := context.TODO() +id := commonids.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group") + +// alternatively `client.List(ctx, id)` can be used to do batched pagination +items, err := client.ListComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `AzureFirewallsClient.ListAll` + +```go +ctx := context.TODO() +id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012") + +// alternatively `client.ListAll(ctx, id)` can be used to do batched pagination +items, err := client.ListAllComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `AzureFirewallsClient.PacketCapture` + +```go +ctx := context.TODO() +id := azurefirewalls.NewAzureFirewallID("12345678-1234-9876-4563-123456789012", "example-resource-group", "azureFirewallName") + +payload := azurefirewalls.FirewallPacketCaptureParameters{ + // ... +} + + +if err := client.PacketCaptureThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `AzureFirewallsClient.UpdateTags` + +```go +ctx := context.TODO() +id := azurefirewalls.NewAzureFirewallID("12345678-1234-9876-4563-123456789012", "example-resource-group", "azureFirewallName") + +payload := azurefirewalls.TagsObject{ + // ... +} + + +if err := client.UpdateTagsThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/azurefirewalls/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/azurefirewalls/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/azurefirewalls/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/azurefirewalls/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/azurefirewalls/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/azurefirewalls/constants.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/azurefirewalls/constants.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/azurefirewalls/constants.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/azurefirewalls/id_azurefirewall.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/azurefirewalls/id_azurefirewall.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/azurefirewalls/id_azurefirewall.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/azurefirewalls/id_azurefirewall.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/azurefirewalls/method_azurefirewallslistlearnedprefixes.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/azurefirewalls/method_azurefirewallslistlearnedprefixes.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/azurefirewalls/method_azurefirewallslistlearnedprefixes.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/azurefirewalls/method_azurefirewallslistlearnedprefixes.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/azurefirewalls/method_createorupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/azurefirewalls/method_createorupdate.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/azurefirewalls/method_createorupdate.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/azurefirewalls/method_createorupdate.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/azurefirewalls/method_delete.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/azurefirewalls/method_delete.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/azurefirewalls/method_delete.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/azurefirewalls/method_delete.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/azurefirewalls/method_get.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/azurefirewalls/method_get.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/azurefirewalls/method_get.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/azurefirewalls/method_get.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/azurefirewalls/method_list.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/azurefirewalls/method_list.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/azurefirewalls/method_list.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/azurefirewalls/method_list.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/azurefirewalls/method_listall.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/azurefirewalls/method_listall.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/azurefirewalls/method_listall.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/azurefirewalls/method_listall.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/azurefirewalls/method_packetcapture.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/azurefirewalls/method_packetcapture.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/azurefirewalls/method_packetcapture.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/azurefirewalls/method_packetcapture.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/azurefirewalls/method_updatetags.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/azurefirewalls/method_updatetags.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/azurefirewalls/method_updatetags.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/azurefirewalls/method_updatetags.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/azurefirewalls/model_azurefirewall.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/azurefirewalls/model_azurefirewall.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/azurefirewalls/model_azurefirewall.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/azurefirewalls/model_azurefirewall.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/azurefirewalls/model_azurefirewallapplicationrule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/azurefirewalls/model_azurefirewallapplicationrule.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/azurefirewalls/model_azurefirewallapplicationrule.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/azurefirewalls/model_azurefirewallapplicationrule.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/azurefirewalls/model_azurefirewallapplicationrulecollection.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/azurefirewalls/model_azurefirewallapplicationrulecollection.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/azurefirewalls/model_azurefirewallapplicationrulecollection.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/azurefirewalls/model_azurefirewallapplicationrulecollection.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/azurefirewalls/model_azurefirewallapplicationrulecollectionpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/azurefirewalls/model_azurefirewallapplicationrulecollectionpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/azurefirewalls/model_azurefirewallapplicationrulecollectionpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/azurefirewalls/model_azurefirewallapplicationrulecollectionpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/azurefirewalls/model_azurefirewallapplicationruleprotocol.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/azurefirewalls/model_azurefirewallapplicationruleprotocol.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/azurefirewalls/model_azurefirewallapplicationruleprotocol.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/azurefirewalls/model_azurefirewallapplicationruleprotocol.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/azurefirewalls/model_azurefirewallautoscaleconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/azurefirewalls/model_azurefirewallautoscaleconfiguration.go new file mode 100644 index 000000000000..39e71317305d --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/azurefirewalls/model_azurefirewallautoscaleconfiguration.go @@ -0,0 +1,9 @@ +package azurefirewalls + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type AzureFirewallAutoscaleConfiguration struct { + MaxCapacity *int64 `json:"maxCapacity,omitempty"` + MinCapacity *int64 `json:"minCapacity,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/azurefirewalls/model_azurefirewallipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/azurefirewalls/model_azurefirewallipconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/azurefirewalls/model_azurefirewallipconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/azurefirewalls/model_azurefirewallipconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/azurefirewalls/model_azurefirewallipconfigurationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/azurefirewalls/model_azurefirewallipconfigurationpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/azurefirewalls/model_azurefirewallipconfigurationpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/azurefirewalls/model_azurefirewallipconfigurationpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/azurefirewalls/model_azurefirewallipgroups.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/azurefirewalls/model_azurefirewallipgroups.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/azurefirewalls/model_azurefirewallipgroups.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/azurefirewalls/model_azurefirewallipgroups.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/azurefirewalls/model_azurefirewallnatrcaction.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/azurefirewalls/model_azurefirewallnatrcaction.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/azurefirewalls/model_azurefirewallnatrcaction.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/azurefirewalls/model_azurefirewallnatrcaction.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/azurefirewalls/model_azurefirewallnatrule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/azurefirewalls/model_azurefirewallnatrule.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/azurefirewalls/model_azurefirewallnatrule.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/azurefirewalls/model_azurefirewallnatrule.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/azurefirewalls/model_azurefirewallnatrulecollection.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/azurefirewalls/model_azurefirewallnatrulecollection.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/azurefirewalls/model_azurefirewallnatrulecollection.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/azurefirewalls/model_azurefirewallnatrulecollection.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/azurefirewalls/model_azurefirewallnatrulecollectionproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/azurefirewalls/model_azurefirewallnatrulecollectionproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/azurefirewalls/model_azurefirewallnatrulecollectionproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/azurefirewalls/model_azurefirewallnatrulecollectionproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/azurefirewalls/model_azurefirewallnetworkrule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/azurefirewalls/model_azurefirewallnetworkrule.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/azurefirewalls/model_azurefirewallnetworkrule.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/azurefirewalls/model_azurefirewallnetworkrule.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/azurefirewalls/model_azurefirewallnetworkrulecollection.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/azurefirewalls/model_azurefirewallnetworkrulecollection.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/azurefirewalls/model_azurefirewallnetworkrulecollection.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/azurefirewalls/model_azurefirewallnetworkrulecollection.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/azurefirewalls/model_azurefirewallnetworkrulecollectionpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/azurefirewalls/model_azurefirewallnetworkrulecollectionpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/azurefirewalls/model_azurefirewallnetworkrulecollectionpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/azurefirewalls/model_azurefirewallnetworkrulecollectionpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/azurefirewalls/model_azurefirewallpacketcaptureflags.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/azurefirewalls/model_azurefirewallpacketcaptureflags.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/azurefirewalls/model_azurefirewallpacketcaptureflags.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/azurefirewalls/model_azurefirewallpacketcaptureflags.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/azurefirewalls/model_azurefirewallpacketcapturerule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/azurefirewalls/model_azurefirewallpacketcapturerule.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/azurefirewalls/model_azurefirewallpacketcapturerule.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/azurefirewalls/model_azurefirewallpacketcapturerule.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/azurefirewalls/model_azurefirewallpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/azurefirewalls/model_azurefirewallpropertiesformat.go similarity index 93% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/azurefirewalls/model_azurefirewallpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/azurefirewalls/model_azurefirewallpropertiesformat.go index 0e8c463423fc..61ffc25c5854 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/azurefirewalls/model_azurefirewallpropertiesformat.go +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/azurefirewalls/model_azurefirewallpropertiesformat.go @@ -6,6 +6,7 @@ package azurefirewalls type AzureFirewallPropertiesFormat struct { AdditionalProperties *map[string]string `json:"additionalProperties,omitempty"` ApplicationRuleCollections *[]AzureFirewallApplicationRuleCollection `json:"applicationRuleCollections,omitempty"` + AutoscaleConfiguration *AzureFirewallAutoscaleConfiguration `json:"autoscaleConfiguration,omitempty"` FirewallPolicy *SubResource `json:"firewallPolicy,omitempty"` HubIPAddresses *HubIPAddresses `json:"hubIPAddresses,omitempty"` IPConfigurations *[]AzureFirewallIPConfiguration `json:"ipConfigurations,omitempty"` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/azurefirewalls/model_azurefirewallpublicipaddress.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/azurefirewalls/model_azurefirewallpublicipaddress.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/azurefirewalls/model_azurefirewallpublicipaddress.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/azurefirewalls/model_azurefirewallpublicipaddress.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/azurefirewalls/model_azurefirewallrcaction.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/azurefirewalls/model_azurefirewallrcaction.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/azurefirewalls/model_azurefirewallrcaction.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/azurefirewalls/model_azurefirewallrcaction.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/azurefirewalls/model_azurefirewallsku.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/azurefirewalls/model_azurefirewallsku.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/azurefirewalls/model_azurefirewallsku.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/azurefirewalls/model_azurefirewallsku.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/azurefirewalls/model_firewallpacketcaptureparameters.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/azurefirewalls/model_firewallpacketcaptureparameters.go new file mode 100644 index 000000000000..0fab56fc1d54 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/azurefirewalls/model_firewallpacketcaptureparameters.go @@ -0,0 +1,14 @@ +package azurefirewalls + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type FirewallPacketCaptureParameters struct { + DurationInSeconds *int64 `json:"durationInSeconds,omitempty"` + FileName *string `json:"fileName,omitempty"` + Filters *[]AzureFirewallPacketCaptureRule `json:"filters,omitempty"` + Flags *[]AzureFirewallPacketCaptureFlags `json:"flags,omitempty"` + NumberOfPacketsToCapture *int64 `json:"numberOfPacketsToCapture,omitempty"` + Protocol *AzureFirewallNetworkRuleProtocol `json:"protocol,omitempty"` + SasURL *string `json:"sasUrl,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/azurefirewalls/model_hubipaddresses.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/azurefirewalls/model_hubipaddresses.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/azurefirewalls/model_hubipaddresses.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/azurefirewalls/model_hubipaddresses.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/azurefirewalls/model_hubpublicipaddresses.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/azurefirewalls/model_hubpublicipaddresses.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/azurefirewalls/model_hubpublicipaddresses.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/azurefirewalls/model_hubpublicipaddresses.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/azurefirewalls/model_ipprefixeslist.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/azurefirewalls/model_ipprefixeslist.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/azurefirewalls/model_ipprefixeslist.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/azurefirewalls/model_ipprefixeslist.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/azurefirewalls/model_subresource.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/azurefirewalls/model_subresource.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/azurefirewalls/model_subresource.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/azurefirewalls/model_subresource.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/azurefirewalls/model_tagsobject.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/azurefirewalls/model_tagsobject.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/azurefirewalls/model_tagsobject.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/azurefirewalls/model_tagsobject.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/azurefirewalls/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/azurefirewalls/predicates.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/azurefirewalls/predicates.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/azurefirewalls/predicates.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/azurefirewalls/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/azurefirewalls/version.go new file mode 100644 index 000000000000..68d67e3990b2 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/azurefirewalls/version.go @@ -0,0 +1,10 @@ +package azurefirewalls + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2024-03-01" + +func userAgent() string { + return "hashicorp/go-azure-sdk/azurefirewalls/2024-03-01" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bastionhosts/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bastionhosts/README.md new file mode 100644 index 000000000000..82b0359a400a --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bastionhosts/README.md @@ -0,0 +1,234 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bastionhosts` Documentation + +The `bastionhosts` SDK allows for interaction with Azure Resource Manager `network` (API Version `2024-03-01`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" +import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bastionhosts" +``` + + +### Client Initialization + +```go +client := bastionhosts.NewBastionHostsClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `BastionHostsClient.CreateOrUpdate` + +```go +ctx := context.TODO() +id := bastionhosts.NewBastionHostID("12345678-1234-9876-4563-123456789012", "example-resource-group", "bastionHostName") + +payload := bastionhosts.BastionHost{ + // ... +} + + +if err := client.CreateOrUpdateThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `BastionHostsClient.Delete` + +```go +ctx := context.TODO() +id := bastionhosts.NewBastionHostID("12345678-1234-9876-4563-123456789012", "example-resource-group", "bastionHostName") + +if err := client.DeleteThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `BastionHostsClient.DeleteBastionShareableLink` + +```go +ctx := context.TODO() +id := bastionhosts.NewBastionHostID("12345678-1234-9876-4563-123456789012", "example-resource-group", "bastionHostName") + +payload := bastionhosts.BastionShareableLinkListRequest{ + // ... +} + + +if err := client.DeleteBastionShareableLinkThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `BastionHostsClient.DeleteBastionShareableLinkByToken` + +```go +ctx := context.TODO() +id := bastionhosts.NewBastionHostID("12345678-1234-9876-4563-123456789012", "example-resource-group", "bastionHostName") + +payload := bastionhosts.BastionShareableLinkTokenListRequest{ + // ... +} + + +if err := client.DeleteBastionShareableLinkByTokenThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `BastionHostsClient.DisconnectActiveSessions` + +```go +ctx := context.TODO() +id := bastionhosts.NewBastionHostID("12345678-1234-9876-4563-123456789012", "example-resource-group", "bastionHostName") + +payload := bastionhosts.SessionIds{ + // ... +} + + +// alternatively `client.DisconnectActiveSessions(ctx, id, payload)` can be used to do batched pagination +items, err := client.DisconnectActiveSessionsComplete(ctx, id, payload) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `BastionHostsClient.Get` + +```go +ctx := context.TODO() +id := bastionhosts.NewBastionHostID("12345678-1234-9876-4563-123456789012", "example-resource-group", "bastionHostName") + +read, err := client.Get(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `BastionHostsClient.GetActiveSessions` + +```go +ctx := context.TODO() +id := bastionhosts.NewBastionHostID("12345678-1234-9876-4563-123456789012", "example-resource-group", "bastionHostName") + +// alternatively `client.GetActiveSessions(ctx, id)` can be used to do batched pagination +items, err := client.GetActiveSessionsComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `BastionHostsClient.GetBastionShareableLink` + +```go +ctx := context.TODO() +id := bastionhosts.NewBastionHostID("12345678-1234-9876-4563-123456789012", "example-resource-group", "bastionHostName") + +payload := bastionhosts.BastionShareableLinkListRequest{ + // ... +} + + +// alternatively `client.GetBastionShareableLink(ctx, id, payload)` can be used to do batched pagination +items, err := client.GetBastionShareableLinkComplete(ctx, id, payload) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `BastionHostsClient.List` + +```go +ctx := context.TODO() +id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012") + +// alternatively `client.List(ctx, id)` can be used to do batched pagination +items, err := client.ListComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `BastionHostsClient.ListByResourceGroup` + +```go +ctx := context.TODO() +id := commonids.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group") + +// alternatively `client.ListByResourceGroup(ctx, id)` can be used to do batched pagination +items, err := client.ListByResourceGroupComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `BastionHostsClient.PutBastionShareableLink` + +```go +ctx := context.TODO() +id := bastionhosts.NewBastionHostID("12345678-1234-9876-4563-123456789012", "example-resource-group", "bastionHostName") + +payload := bastionhosts.BastionShareableLinkListRequest{ + // ... +} + + +// alternatively `client.PutBastionShareableLink(ctx, id, payload)` can be used to do batched pagination +items, err := client.PutBastionShareableLinkComplete(ctx, id, payload) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `BastionHostsClient.UpdateTags` + +```go +ctx := context.TODO() +id := bastionhosts.NewBastionHostID("12345678-1234-9876-4563-123456789012", "example-resource-group", "bastionHostName") + +payload := bastionhosts.TagsObject{ + // ... +} + + +if err := client.UpdateTagsThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bastionhosts/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bastionhosts/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bastionhosts/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bastionhosts/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bastionhosts/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bastionhosts/constants.go new file mode 100644 index 000000000000..3822668195b5 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bastionhosts/constants.go @@ -0,0 +1,186 @@ +package bastionhosts + +import ( + "encoding/json" + "fmt" + "strings" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type BastionConnectProtocol string + +const ( + BastionConnectProtocolRDP BastionConnectProtocol = "RDP" + BastionConnectProtocolSSH BastionConnectProtocol = "SSH" +) + +func PossibleValuesForBastionConnectProtocol() []string { + return []string{ + string(BastionConnectProtocolRDP), + string(BastionConnectProtocolSSH), + } +} + +func (s *BastionConnectProtocol) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseBastionConnectProtocol(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseBastionConnectProtocol(input string) (*BastionConnectProtocol, error) { + vals := map[string]BastionConnectProtocol{ + "rdp": BastionConnectProtocolRDP, + "ssh": BastionConnectProtocolSSH, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := BastionConnectProtocol(input) + return &out, nil +} + +type BastionHostSkuName string + +const ( + BastionHostSkuNameBasic BastionHostSkuName = "Basic" + BastionHostSkuNameDeveloper BastionHostSkuName = "Developer" + BastionHostSkuNamePremium BastionHostSkuName = "Premium" + BastionHostSkuNameStandard BastionHostSkuName = "Standard" +) + +func PossibleValuesForBastionHostSkuName() []string { + return []string{ + string(BastionHostSkuNameBasic), + string(BastionHostSkuNameDeveloper), + string(BastionHostSkuNamePremium), + string(BastionHostSkuNameStandard), + } +} + +func (s *BastionHostSkuName) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseBastionHostSkuName(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseBastionHostSkuName(input string) (*BastionHostSkuName, error) { + vals := map[string]BastionHostSkuName{ + "basic": BastionHostSkuNameBasic, + "developer": BastionHostSkuNameDeveloper, + "premium": BastionHostSkuNamePremium, + "standard": BastionHostSkuNameStandard, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := BastionHostSkuName(input) + return &out, nil +} + +type IPAllocationMethod string + +const ( + IPAllocationMethodDynamic IPAllocationMethod = "Dynamic" + IPAllocationMethodStatic IPAllocationMethod = "Static" +) + +func PossibleValuesForIPAllocationMethod() []string { + return []string{ + string(IPAllocationMethodDynamic), + string(IPAllocationMethodStatic), + } +} + +func (s *IPAllocationMethod) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseIPAllocationMethod(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseIPAllocationMethod(input string) (*IPAllocationMethod, error) { + vals := map[string]IPAllocationMethod{ + "dynamic": IPAllocationMethodDynamic, + "static": IPAllocationMethodStatic, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := IPAllocationMethod(input) + return &out, nil +} + +type ProvisioningState string + +const ( + ProvisioningStateDeleting ProvisioningState = "Deleting" + ProvisioningStateFailed ProvisioningState = "Failed" + ProvisioningStateSucceeded ProvisioningState = "Succeeded" + ProvisioningStateUpdating ProvisioningState = "Updating" +) + +func PossibleValuesForProvisioningState() []string { + return []string{ + string(ProvisioningStateDeleting), + string(ProvisioningStateFailed), + string(ProvisioningStateSucceeded), + string(ProvisioningStateUpdating), + } +} + +func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseProvisioningState(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseProvisioningState(input string) (*ProvisioningState, error) { + vals := map[string]ProvisioningState{ + "deleting": ProvisioningStateDeleting, + "failed": ProvisioningStateFailed, + "succeeded": ProvisioningStateSucceeded, + "updating": ProvisioningStateUpdating, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ProvisioningState(input) + return &out, nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bastionhosts/id_bastionhost.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bastionhosts/id_bastionhost.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bastionhosts/id_bastionhost.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bastionhosts/id_bastionhost.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bastionhosts/method_createorupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bastionhosts/method_createorupdate.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bastionhosts/method_createorupdate.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bastionhosts/method_createorupdate.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bastionhosts/method_delete.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bastionhosts/method_delete.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bastionhosts/method_delete.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bastionhosts/method_delete.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bastionhosts/method_deletebastionshareablelink.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bastionhosts/method_deletebastionshareablelink.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bastionhosts/method_deletebastionshareablelink.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bastionhosts/method_deletebastionshareablelink.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bastionhosts/method_deletebastionshareablelinkbytoken.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bastionhosts/method_deletebastionshareablelinkbytoken.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bastionhosts/method_deletebastionshareablelinkbytoken.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bastionhosts/method_deletebastionshareablelinkbytoken.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bastionhosts/method_disconnectactivesessions.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bastionhosts/method_disconnectactivesessions.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bastionhosts/method_disconnectactivesessions.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bastionhosts/method_disconnectactivesessions.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bastionhosts/method_get.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bastionhosts/method_get.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bastionhosts/method_get.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bastionhosts/method_get.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bastionhosts/method_getactivesessions.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bastionhosts/method_getactivesessions.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bastionhosts/method_getactivesessions.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bastionhosts/method_getactivesessions.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bastionhosts/method_getbastionshareablelink.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bastionhosts/method_getbastionshareablelink.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bastionhosts/method_getbastionshareablelink.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bastionhosts/method_getbastionshareablelink.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bastionhosts/method_list.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bastionhosts/method_list.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bastionhosts/method_list.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bastionhosts/method_list.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bastionhosts/method_listbyresourcegroup.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bastionhosts/method_listbyresourcegroup.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bastionhosts/method_listbyresourcegroup.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bastionhosts/method_listbyresourcegroup.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bastionhosts/method_putbastionshareablelink.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bastionhosts/method_putbastionshareablelink.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bastionhosts/method_putbastionshareablelink.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bastionhosts/method_putbastionshareablelink.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bastionhosts/method_updatetags.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bastionhosts/method_updatetags.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bastionhosts/method_updatetags.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bastionhosts/method_updatetags.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bastionhosts/model_bastionactivesession.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bastionhosts/model_bastionactivesession.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bastionhosts/model_bastionactivesession.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bastionhosts/model_bastionactivesession.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bastionhosts/model_bastionhost.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bastionhosts/model_bastionhost.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bastionhosts/model_bastionhost.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bastionhosts/model_bastionhost.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bastionhosts/model_bastionhostipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bastionhosts/model_bastionhostipconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bastionhosts/model_bastionhostipconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bastionhosts/model_bastionhostipconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bastionhosts/model_bastionhostipconfigurationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bastionhosts/model_bastionhostipconfigurationpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bastionhosts/model_bastionhostipconfigurationpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bastionhosts/model_bastionhostipconfigurationpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bastionhosts/model_bastionhostpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bastionhosts/model_bastionhostpropertiesformat.go new file mode 100644 index 000000000000..d45d86671abc --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bastionhosts/model_bastionhostpropertiesformat.go @@ -0,0 +1,20 @@ +package bastionhosts + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type BastionHostPropertiesFormat struct { + DisableCopyPaste *bool `json:"disableCopyPaste,omitempty"` + DnsName *string `json:"dnsName,omitempty"` + EnableFileCopy *bool `json:"enableFileCopy,omitempty"` + EnableIPConnect *bool `json:"enableIpConnect,omitempty"` + EnableKerberos *bool `json:"enableKerberos,omitempty"` + EnableSessionRecording *bool `json:"enableSessionRecording,omitempty"` + EnableShareableLink *bool `json:"enableShareableLink,omitempty"` + EnableTunneling *bool `json:"enableTunneling,omitempty"` + IPConfigurations *[]BastionHostIPConfiguration `json:"ipConfigurations,omitempty"` + NetworkAcls *BastionHostPropertiesFormatNetworkAcls `json:"networkAcls,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + ScaleUnits *int64 `json:"scaleUnits,omitempty"` + VirtualNetwork *SubResource `json:"virtualNetwork,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bastionhosts/model_bastionhostpropertiesformatnetworkacls.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bastionhosts/model_bastionhostpropertiesformatnetworkacls.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bastionhosts/model_bastionhostpropertiesformatnetworkacls.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bastionhosts/model_bastionhostpropertiesformatnetworkacls.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bastionhosts/model_bastionsessionstate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bastionhosts/model_bastionsessionstate.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bastionhosts/model_bastionsessionstate.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bastionhosts/model_bastionsessionstate.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bastionhosts/model_bastionshareablelink.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bastionhosts/model_bastionshareablelink.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bastionhosts/model_bastionshareablelink.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bastionhosts/model_bastionshareablelink.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bastionhosts/model_bastionshareablelinklistrequest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bastionhosts/model_bastionshareablelinklistrequest.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bastionhosts/model_bastionshareablelinklistrequest.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bastionhosts/model_bastionshareablelinklistrequest.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bastionhosts/model_bastionshareablelinktokenlistrequest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bastionhosts/model_bastionshareablelinktokenlistrequest.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bastionhosts/model_bastionshareablelinktokenlistrequest.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bastionhosts/model_bastionshareablelinktokenlistrequest.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bastionhosts/model_iprule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bastionhosts/model_iprule.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bastionhosts/model_iprule.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bastionhosts/model_iprule.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bastionhosts/model_resource.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bastionhosts/model_resource.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bastionhosts/model_resource.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bastionhosts/model_resource.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bastionhosts/model_sessionids.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bastionhosts/model_sessionids.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bastionhosts/model_sessionids.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bastionhosts/model_sessionids.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bastionhosts/model_sku.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bastionhosts/model_sku.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bastionhosts/model_sku.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bastionhosts/model_sku.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bastionhosts/model_subresource.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bastionhosts/model_subresource.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bastionhosts/model_subresource.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bastionhosts/model_subresource.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bastionhosts/model_tagsobject.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bastionhosts/model_tagsobject.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bastionhosts/model_tagsobject.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bastionhosts/model_tagsobject.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bastionhosts/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bastionhosts/predicates.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bastionhosts/predicates.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bastionhosts/predicates.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bastionhosts/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bastionhosts/version.go new file mode 100644 index 000000000000..5edb9502aedc --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bastionhosts/version.go @@ -0,0 +1,10 @@ +package bastionhosts + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2024-03-01" + +func userAgent() string { + return "hashicorp/go-azure-sdk/bastionhosts/2024-03-01" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bastionshareablelink/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bastionshareablelink/README.md new file mode 100644 index 000000000000..ff990e0d05c7 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bastionshareablelink/README.md @@ -0,0 +1,98 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bastionshareablelink` Documentation + +The `bastionshareablelink` SDK allows for interaction with Azure Resource Manager `network` (API Version `2024-03-01`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bastionshareablelink" +``` + + +### Client Initialization + +```go +client := bastionshareablelink.NewBastionShareableLinkClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `BastionShareableLinkClient.DeleteBastionShareableLink` + +```go +ctx := context.TODO() +id := bastionshareablelink.NewBastionHostID("12345678-1234-9876-4563-123456789012", "example-resource-group", "bastionHostName") + +payload := bastionshareablelink.BastionShareableLinkListRequest{ + // ... +} + + +if err := client.DeleteBastionShareableLinkThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `BastionShareableLinkClient.DeleteBastionShareableLinkByToken` + +```go +ctx := context.TODO() +id := bastionshareablelink.NewBastionHostID("12345678-1234-9876-4563-123456789012", "example-resource-group", "bastionHostName") + +payload := bastionshareablelink.BastionShareableLinkTokenListRequest{ + // ... +} + + +if err := client.DeleteBastionShareableLinkByTokenThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `BastionShareableLinkClient.GetBastionShareableLink` + +```go +ctx := context.TODO() +id := bastionshareablelink.NewBastionHostID("12345678-1234-9876-4563-123456789012", "example-resource-group", "bastionHostName") + +payload := bastionshareablelink.BastionShareableLinkListRequest{ + // ... +} + + +// alternatively `client.GetBastionShareableLink(ctx, id, payload)` can be used to do batched pagination +items, err := client.GetBastionShareableLinkComplete(ctx, id, payload) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `BastionShareableLinkClient.PutBastionShareableLink` + +```go +ctx := context.TODO() +id := bastionshareablelink.NewBastionHostID("12345678-1234-9876-4563-123456789012", "example-resource-group", "bastionHostName") + +payload := bastionshareablelink.BastionShareableLinkListRequest{ + // ... +} + + +// alternatively `client.PutBastionShareableLink(ctx, id, payload)` can be used to do batched pagination +items, err := client.PutBastionShareableLinkComplete(ctx, id, payload) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bastionshareablelink/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bastionshareablelink/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bastionshareablelink/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bastionshareablelink/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bastionshareablelink/id_bastionhost.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bastionshareablelink/id_bastionhost.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bastionshareablelink/id_bastionhost.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bastionshareablelink/id_bastionhost.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bastionshareablelink/method_deletebastionshareablelink.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bastionshareablelink/method_deletebastionshareablelink.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bastionshareablelink/method_deletebastionshareablelink.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bastionshareablelink/method_deletebastionshareablelink.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bastionshareablelink/method_deletebastionshareablelinkbytoken.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bastionshareablelink/method_deletebastionshareablelinkbytoken.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bastionshareablelink/method_deletebastionshareablelinkbytoken.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bastionshareablelink/method_deletebastionshareablelinkbytoken.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bastionshareablelink/method_getbastionshareablelink.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bastionshareablelink/method_getbastionshareablelink.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bastionshareablelink/method_getbastionshareablelink.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bastionshareablelink/method_getbastionshareablelink.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bastionshareablelink/method_putbastionshareablelink.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bastionshareablelink/method_putbastionshareablelink.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bastionshareablelink/method_putbastionshareablelink.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bastionshareablelink/method_putbastionshareablelink.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bastionshareablelink/model_bastionshareablelink.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bastionshareablelink/model_bastionshareablelink.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bastionshareablelink/model_bastionshareablelink.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bastionshareablelink/model_bastionshareablelink.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bastionshareablelink/model_bastionshareablelinklistrequest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bastionshareablelink/model_bastionshareablelinklistrequest.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bastionshareablelink/model_bastionshareablelinklistrequest.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bastionshareablelink/model_bastionshareablelinklistrequest.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bastionshareablelink/model_bastionshareablelinktokenlistrequest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bastionshareablelink/model_bastionshareablelinktokenlistrequest.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bastionshareablelink/model_bastionshareablelinktokenlistrequest.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bastionshareablelink/model_bastionshareablelinktokenlistrequest.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bastionshareablelink/model_resource.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bastionshareablelink/model_resource.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bastionshareablelink/model_resource.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bastionshareablelink/model_resource.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bastionshareablelink/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bastionshareablelink/predicates.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bastionshareablelink/predicates.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bastionshareablelink/predicates.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bastionshareablelink/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bastionshareablelink/version.go new file mode 100644 index 000000000000..1d77708d69c4 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bastionshareablelink/version.go @@ -0,0 +1,10 @@ +package bastionshareablelink + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2024-03-01" + +func userAgent() string { + return "hashicorp/go-azure-sdk/bastionshareablelink/2024-03-01" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bgpservicecommunities/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bgpservicecommunities/README.md new file mode 100644 index 000000000000..64c572d8fc0f --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bgpservicecommunities/README.md @@ -0,0 +1,38 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bgpservicecommunities` Documentation + +The `bgpservicecommunities` SDK allows for interaction with Azure Resource Manager `network` (API Version `2024-03-01`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" +import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bgpservicecommunities" +``` + + +### Client Initialization + +```go +client := bgpservicecommunities.NewBgpServiceCommunitiesClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `BgpServiceCommunitiesClient.List` + +```go +ctx := context.TODO() +id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012") + +// alternatively `client.List(ctx, id)` can be used to do batched pagination +items, err := client.ListComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bgpservicecommunities/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bgpservicecommunities/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bgpservicecommunities/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bgpservicecommunities/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bgpservicecommunities/method_list.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bgpservicecommunities/method_list.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bgpservicecommunities/method_list.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bgpservicecommunities/method_list.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bgpservicecommunities/model_bgpcommunity.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bgpservicecommunities/model_bgpcommunity.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bgpservicecommunities/model_bgpcommunity.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bgpservicecommunities/model_bgpcommunity.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bgpservicecommunities/model_bgpservicecommunity.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bgpservicecommunities/model_bgpservicecommunity.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bgpservicecommunities/model_bgpservicecommunity.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bgpservicecommunities/model_bgpservicecommunity.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bgpservicecommunities/model_bgpservicecommunitypropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bgpservicecommunities/model_bgpservicecommunitypropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bgpservicecommunities/model_bgpservicecommunitypropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bgpservicecommunities/model_bgpservicecommunitypropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bgpservicecommunities/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bgpservicecommunities/predicates.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bgpservicecommunities/predicates.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bgpservicecommunities/predicates.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bgpservicecommunities/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bgpservicecommunities/version.go new file mode 100644 index 000000000000..7d854388c0bd --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bgpservicecommunities/version.go @@ -0,0 +1,10 @@ +package bgpservicecommunities + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2024-03-01" + +func userAgent() string { + return "hashicorp/go-azure-sdk/bgpservicecommunities/2024-03-01" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/checkdnsavailabilities/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/checkdnsavailabilities/README.md new file mode 100644 index 000000000000..4bbd3969d501 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/checkdnsavailabilities/README.md @@ -0,0 +1,36 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/checkdnsavailabilities` Documentation + +The `checkdnsavailabilities` SDK allows for interaction with Azure Resource Manager `network` (API Version `2024-03-01`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/checkdnsavailabilities" +``` + + +### Client Initialization + +```go +client := checkdnsavailabilities.NewCheckDnsAvailabilitiesClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `CheckDnsAvailabilitiesClient.CheckDnsNameAvailability` + +```go +ctx := context.TODO() +id := checkdnsavailabilities.NewLocationID("12345678-1234-9876-4563-123456789012", "locationName") + +read, err := client.CheckDnsNameAvailability(ctx, id, checkdnsavailabilities.DefaultCheckDnsNameAvailabilityOperationOptions()) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/checkdnsavailabilities/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/checkdnsavailabilities/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/checkdnsavailabilities/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/checkdnsavailabilities/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/checkdnsavailabilities/id_location.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/checkdnsavailabilities/id_location.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/checkdnsavailabilities/id_location.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/checkdnsavailabilities/id_location.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/checkdnsavailabilities/method_checkdnsnameavailability.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/checkdnsavailabilities/method_checkdnsnameavailability.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/checkdnsavailabilities/method_checkdnsnameavailability.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/checkdnsavailabilities/method_checkdnsnameavailability.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/checkdnsavailabilities/model_dnsnameavailabilityresult.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/checkdnsavailabilities/model_dnsnameavailabilityresult.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/checkdnsavailabilities/model_dnsnameavailabilityresult.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/checkdnsavailabilities/model_dnsnameavailabilityresult.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/checkdnsavailabilities/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/checkdnsavailabilities/version.go new file mode 100644 index 000000000000..502c3605e20e --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/checkdnsavailabilities/version.go @@ -0,0 +1,10 @@ +package checkdnsavailabilities + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2024-03-01" + +func userAgent() string { + return "hashicorp/go-azure-sdk/checkdnsavailabilities/2024-03-01" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/client.go new file mode 100644 index 000000000000..b460cfde3de2 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/client.go @@ -0,0 +1,1027 @@ +package v2024_03_01 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +import ( + "fmt" + + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/adminrulecollections" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/adminrules" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivatelinkresources" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewaywafdynamicmanifests" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationsecuritygroups" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/availabledelegations" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/availableservicealiases" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/azurefirewalls" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bastionhosts" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bastionshareablelink" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bgpservicecommunities" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/checkdnsavailabilities" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectionmonitors" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectivityconfigurations" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/customipprefixes" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ddoscustompolicies" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ddosprotectionplans" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/endpointservices" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitarptable" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitauthorizations" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitconnections" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitpeerings" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitroutestable" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitroutestablesummary" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuits" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitstats" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteconnections" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnectionarptable" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnectionpeerings" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnectionroutetable" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnectionroutetablesummary" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnections" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutegateways" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutelinks" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteportauthorizations" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteports" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteportslocations" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteproviderports" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteserviceproviders" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicyrulecollectiongroups" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/flowlogs" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ipallocations" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ipgroups" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/localnetworkgateways" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/natgateways" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkgroups" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanageractiveconfigurations" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanageractiveconnectivityconfigurations" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagerconnections" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagereffectiveconnectivityconfiguration" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagereffectivesecurityadminrules" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagerroutingconfigurations" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagers" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkvirtualappliances" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/p2svpngateways" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/packetcaptures" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/peerexpressroutecircuitconnections" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatednszonegroups" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipprefixes" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routefilterrules" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routefilters" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routes" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routingrulecollections" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routingrules" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/scopeconnections" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityadminconfigurations" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securitypartnerproviders" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityrules" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserconfigurations" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserrulecollections" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserrules" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicydefinitions" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/servicetags" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/staticmembers" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/trafficanalytics" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/usages" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vipswap" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualappliancesites" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualapplianceskus" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkpeerings" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualrouterpeerings" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualrouters" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpngateways" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpnlinkconnections" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpnserverconfigurations" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpnsites" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies" + "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webcategories" + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + sdkEnv "github.com/hashicorp/go-azure-sdk/sdk/environments" +) + +type Client struct { + AdminRuleCollections *adminrulecollections.AdminRuleCollectionsClient + AdminRules *adminrules.AdminRulesClient + ApplicationGatewayPrivateEndpointConnections *applicationgatewayprivateendpointconnections.ApplicationGatewayPrivateEndpointConnectionsClient + ApplicationGatewayPrivateLinkResources *applicationgatewayprivatelinkresources.ApplicationGatewayPrivateLinkResourcesClient + ApplicationGatewayWafDynamicManifests *applicationgatewaywafdynamicmanifests.ApplicationGatewayWafDynamicManifestsClient + ApplicationGateways *applicationgateways.ApplicationGatewaysClient + ApplicationSecurityGroups *applicationsecuritygroups.ApplicationSecurityGroupsClient + AvailableDelegations *availabledelegations.AvailableDelegationsClient + AvailableServiceAliases *availableservicealiases.AvailableServiceAliasesClient + AzureFirewalls *azurefirewalls.AzureFirewallsClient + BastionHosts *bastionhosts.BastionHostsClient + BastionShareableLink *bastionshareablelink.BastionShareableLinkClient + BgpServiceCommunities *bgpservicecommunities.BgpServiceCommunitiesClient + CheckDnsAvailabilities *checkdnsavailabilities.CheckDnsAvailabilitiesClient + CloudServicePublicIPAddresses *cloudservicepublicipaddresses.CloudServicePublicIPAddressesClient + ConnectionMonitors *connectionmonitors.ConnectionMonitorsClient + ConnectivityConfigurations *connectivityconfigurations.ConnectivityConfigurationsClient + CustomIPPrefixes *customipprefixes.CustomIPPrefixesClient + DdosCustomPolicies *ddoscustompolicies.DdosCustomPoliciesClient + DdosProtectionPlans *ddosprotectionplans.DdosProtectionPlansClient + DscpConfiguration *dscpconfiguration.DscpConfigurationClient + DscpConfigurations *dscpconfigurations.DscpConfigurationsClient + EndpointServices *endpointservices.EndpointServicesClient + ExpressRouteCircuitArpTable *expressroutecircuitarptable.ExpressRouteCircuitArpTableClient + ExpressRouteCircuitAuthorizations *expressroutecircuitauthorizations.ExpressRouteCircuitAuthorizationsClient + ExpressRouteCircuitConnections *expressroutecircuitconnections.ExpressRouteCircuitConnectionsClient + ExpressRouteCircuitPeerings *expressroutecircuitpeerings.ExpressRouteCircuitPeeringsClient + ExpressRouteCircuitRoutesTable *expressroutecircuitroutestable.ExpressRouteCircuitRoutesTableClient + ExpressRouteCircuitRoutesTableSummary *expressroutecircuitroutestablesummary.ExpressRouteCircuitRoutesTableSummaryClient + ExpressRouteCircuitStats *expressroutecircuitstats.ExpressRouteCircuitStatsClient + ExpressRouteCircuits *expressroutecircuits.ExpressRouteCircuitsClient + ExpressRouteConnections *expressrouteconnections.ExpressRouteConnectionsClient + ExpressRouteCrossConnectionArpTable *expressroutecrossconnectionarptable.ExpressRouteCrossConnectionArpTableClient + ExpressRouteCrossConnectionPeerings *expressroutecrossconnectionpeerings.ExpressRouteCrossConnectionPeeringsClient + ExpressRouteCrossConnectionRouteTable *expressroutecrossconnectionroutetable.ExpressRouteCrossConnectionRouteTableClient + ExpressRouteCrossConnectionRouteTableSummary *expressroutecrossconnectionroutetablesummary.ExpressRouteCrossConnectionRouteTableSummaryClient + ExpressRouteCrossConnections *expressroutecrossconnections.ExpressRouteCrossConnectionsClient + ExpressRouteGateways *expressroutegateways.ExpressRouteGatewaysClient + ExpressRouteLinks *expressroutelinks.ExpressRouteLinksClient + ExpressRoutePortAuthorizations *expressrouteportauthorizations.ExpressRoutePortAuthorizationsClient + ExpressRoutePorts *expressrouteports.ExpressRoutePortsClient + ExpressRoutePortsLocations *expressrouteportslocations.ExpressRoutePortsLocationsClient + ExpressRouteProviderPorts *expressrouteproviderports.ExpressRouteProviderPortsClient + ExpressRouteServiceProviders *expressrouteserviceproviders.ExpressRouteServiceProvidersClient + FirewallPolicies *firewallpolicies.FirewallPoliciesClient + FirewallPolicyRuleCollectionGroups *firewallpolicyrulecollectiongroups.FirewallPolicyRuleCollectionGroupsClient + FlowLogs *flowlogs.FlowLogsClient + IPAllocations *ipallocations.IPAllocationsClient + IPGroups *ipgroups.IPGroupsClient + LoadBalancers *loadbalancers.LoadBalancersClient + LocalNetworkGateways *localnetworkgateways.LocalNetworkGatewaysClient + NatGateways *natgateways.NatGatewaysClient + NetworkGroups *networkgroups.NetworkGroupsClient + NetworkInterfaces *networkinterfaces.NetworkInterfacesClient + NetworkManagerActiveConfigurations *networkmanageractiveconfigurations.NetworkManagerActiveConfigurationsClient + NetworkManagerActiveConnectivityConfigurations *networkmanageractiveconnectivityconfigurations.NetworkManagerActiveConnectivityConfigurationsClient + NetworkManagerConnections *networkmanagerconnections.NetworkManagerConnectionsClient + NetworkManagerEffectiveConnectivityConfiguration *networkmanagereffectiveconnectivityconfiguration.NetworkManagerEffectiveConnectivityConfigurationClient + NetworkManagerEffectiveSecurityAdminRules *networkmanagereffectivesecurityadminrules.NetworkManagerEffectiveSecurityAdminRulesClient + NetworkManagerRoutingConfigurations *networkmanagerroutingconfigurations.NetworkManagerRoutingConfigurationsClient + NetworkManagers *networkmanagers.NetworkManagersClient + NetworkProfiles *networkprofiles.NetworkProfilesClient + NetworkSecurityGroups *networksecuritygroups.NetworkSecurityGroupsClient + NetworkVirtualAppliances *networkvirtualappliances.NetworkVirtualAppliancesClient + NetworkWatchers *networkwatchers.NetworkWatchersClient + P2sVpnGateways *p2svpngateways.P2sVpnGatewaysClient + PacketCaptures *packetcaptures.PacketCapturesClient + PeerExpressRouteCircuitConnections *peerexpressroutecircuitconnections.PeerExpressRouteCircuitConnectionsClient + PrivateDnsZoneGroups *privatednszonegroups.PrivateDnsZoneGroupsClient + PrivateEndpoints *privateendpoints.PrivateEndpointsClient + PrivateLinkServices *privatelinkservices.PrivateLinkServicesClient + PublicIPAddresses *publicipaddresses.PublicIPAddressesClient + PublicIPPrefixes *publicipprefixes.PublicIPPrefixesClient + RouteFilterRules *routefilterrules.RouteFilterRulesClient + RouteFilters *routefilters.RouteFiltersClient + RouteTables *routetables.RouteTablesClient + Routes *routes.RoutesClient + RoutingRuleCollections *routingrulecollections.RoutingRuleCollectionsClient + RoutingRules *routingrules.RoutingRulesClient + ScopeConnections *scopeconnections.ScopeConnectionsClient + SecurityAdminConfigurations *securityadminconfigurations.SecurityAdminConfigurationsClient + SecurityPartnerProviders *securitypartnerproviders.SecurityPartnerProvidersClient + SecurityRules *securityrules.SecurityRulesClient + SecurityUserConfigurations *securityuserconfigurations.SecurityUserConfigurationsClient + SecurityUserRuleCollections *securityuserrulecollections.SecurityUserRuleCollectionsClient + SecurityUserRules *securityuserrules.SecurityUserRulesClient + ServiceEndpointPolicies *serviceendpointpolicies.ServiceEndpointPoliciesClient + ServiceEndpointPolicyDefinitions *serviceendpointpolicydefinitions.ServiceEndpointPolicyDefinitionsClient + ServiceTags *servicetags.ServiceTagsClient + StaticMembers *staticmembers.StaticMembersClient + Subnets *subnets.SubnetsClient + TrafficAnalytics *trafficanalytics.TrafficAnalyticsClient + Usages *usages.UsagesClient + VMSSPublicIPAddresses *vmsspublicipaddresses.VMSSPublicIPAddressesClient + VipSwap *vipswap.VipSwapClient + VirtualApplianceSites *virtualappliancesites.VirtualApplianceSitesClient + VirtualApplianceSkus *virtualapplianceskus.VirtualApplianceSkusClient + VirtualNetworkGatewayConnections *virtualnetworkgatewayconnections.VirtualNetworkGatewayConnectionsClient + VirtualNetworkGateways *virtualnetworkgateways.VirtualNetworkGatewaysClient + VirtualNetworkPeerings *virtualnetworkpeerings.VirtualNetworkPeeringsClient + VirtualNetworkTap *virtualnetworktap.VirtualNetworkTapClient + VirtualNetworkTaps *virtualnetworktaps.VirtualNetworkTapsClient + VirtualNetworks *virtualnetworks.VirtualNetworksClient + VirtualRouterPeerings *virtualrouterpeerings.VirtualRouterPeeringsClient + VirtualRouters *virtualrouters.VirtualRoutersClient + VirtualWANs *virtualwans.VirtualWANsClient + VpnGateways *vpngateways.VpnGatewaysClient + VpnLinkConnections *vpnlinkconnections.VpnLinkConnectionsClient + VpnServerConfigurations *vpnserverconfigurations.VpnServerConfigurationsClient + VpnSites *vpnsites.VpnSitesClient + WebApplicationFirewallPolicies *webapplicationfirewallpolicies.WebApplicationFirewallPoliciesClient + WebCategories *webcategories.WebCategoriesClient +} + +func NewClientWithBaseURI(sdkApi sdkEnv.Api, configureFunc func(c *resourcemanager.Client)) (*Client, error) { + adminRuleCollectionsClient, err := adminrulecollections.NewAdminRuleCollectionsClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building AdminRuleCollections client: %+v", err) + } + configureFunc(adminRuleCollectionsClient.Client) + + adminRulesClient, err := adminrules.NewAdminRulesClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building AdminRules client: %+v", err) + } + configureFunc(adminRulesClient.Client) + + applicationGatewayPrivateEndpointConnectionsClient, err := applicationgatewayprivateendpointconnections.NewApplicationGatewayPrivateEndpointConnectionsClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building ApplicationGatewayPrivateEndpointConnections client: %+v", err) + } + configureFunc(applicationGatewayPrivateEndpointConnectionsClient.Client) + + applicationGatewayPrivateLinkResourcesClient, err := applicationgatewayprivatelinkresources.NewApplicationGatewayPrivateLinkResourcesClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building ApplicationGatewayPrivateLinkResources client: %+v", err) + } + configureFunc(applicationGatewayPrivateLinkResourcesClient.Client) + + applicationGatewayWafDynamicManifestsClient, err := applicationgatewaywafdynamicmanifests.NewApplicationGatewayWafDynamicManifestsClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building ApplicationGatewayWafDynamicManifests client: %+v", err) + } + configureFunc(applicationGatewayWafDynamicManifestsClient.Client) + + applicationGatewaysClient, err := applicationgateways.NewApplicationGatewaysClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building ApplicationGateways client: %+v", err) + } + configureFunc(applicationGatewaysClient.Client) + + applicationSecurityGroupsClient, err := applicationsecuritygroups.NewApplicationSecurityGroupsClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building ApplicationSecurityGroups client: %+v", err) + } + configureFunc(applicationSecurityGroupsClient.Client) + + availableDelegationsClient, err := availabledelegations.NewAvailableDelegationsClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building AvailableDelegations client: %+v", err) + } + configureFunc(availableDelegationsClient.Client) + + availableServiceAliasesClient, err := availableservicealiases.NewAvailableServiceAliasesClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building AvailableServiceAliases client: %+v", err) + } + configureFunc(availableServiceAliasesClient.Client) + + azureFirewallsClient, err := azurefirewalls.NewAzureFirewallsClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building AzureFirewalls client: %+v", err) + } + configureFunc(azureFirewallsClient.Client) + + bastionHostsClient, err := bastionhosts.NewBastionHostsClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building BastionHosts client: %+v", err) + } + configureFunc(bastionHostsClient.Client) + + bastionShareableLinkClient, err := bastionshareablelink.NewBastionShareableLinkClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building BastionShareableLink client: %+v", err) + } + configureFunc(bastionShareableLinkClient.Client) + + bgpServiceCommunitiesClient, err := bgpservicecommunities.NewBgpServiceCommunitiesClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building BgpServiceCommunities client: %+v", err) + } + configureFunc(bgpServiceCommunitiesClient.Client) + + checkDnsAvailabilitiesClient, err := checkdnsavailabilities.NewCheckDnsAvailabilitiesClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building CheckDnsAvailabilities client: %+v", err) + } + configureFunc(checkDnsAvailabilitiesClient.Client) + + cloudServicePublicIPAddressesClient, err := cloudservicepublicipaddresses.NewCloudServicePublicIPAddressesClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building CloudServicePublicIPAddresses client: %+v", err) + } + configureFunc(cloudServicePublicIPAddressesClient.Client) + + connectionMonitorsClient, err := connectionmonitors.NewConnectionMonitorsClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building ConnectionMonitors client: %+v", err) + } + configureFunc(connectionMonitorsClient.Client) + + connectivityConfigurationsClient, err := connectivityconfigurations.NewConnectivityConfigurationsClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building ConnectivityConfigurations client: %+v", err) + } + configureFunc(connectivityConfigurationsClient.Client) + + customIPPrefixesClient, err := customipprefixes.NewCustomIPPrefixesClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building CustomIPPrefixes client: %+v", err) + } + configureFunc(customIPPrefixesClient.Client) + + ddosCustomPoliciesClient, err := ddoscustompolicies.NewDdosCustomPoliciesClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building DdosCustomPolicies client: %+v", err) + } + configureFunc(ddosCustomPoliciesClient.Client) + + ddosProtectionPlansClient, err := ddosprotectionplans.NewDdosProtectionPlansClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building DdosProtectionPlans client: %+v", err) + } + configureFunc(ddosProtectionPlansClient.Client) + + dscpConfigurationClient, err := dscpconfiguration.NewDscpConfigurationClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building DscpConfiguration client: %+v", err) + } + configureFunc(dscpConfigurationClient.Client) + + dscpConfigurationsClient, err := dscpconfigurations.NewDscpConfigurationsClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building DscpConfigurations client: %+v", err) + } + configureFunc(dscpConfigurationsClient.Client) + + endpointServicesClient, err := endpointservices.NewEndpointServicesClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building EndpointServices client: %+v", err) + } + configureFunc(endpointServicesClient.Client) + + expressRouteCircuitArpTableClient, err := expressroutecircuitarptable.NewExpressRouteCircuitArpTableClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building ExpressRouteCircuitArpTable client: %+v", err) + } + configureFunc(expressRouteCircuitArpTableClient.Client) + + expressRouteCircuitAuthorizationsClient, err := expressroutecircuitauthorizations.NewExpressRouteCircuitAuthorizationsClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building ExpressRouteCircuitAuthorizations client: %+v", err) + } + configureFunc(expressRouteCircuitAuthorizationsClient.Client) + + expressRouteCircuitConnectionsClient, err := expressroutecircuitconnections.NewExpressRouteCircuitConnectionsClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building ExpressRouteCircuitConnections client: %+v", err) + } + configureFunc(expressRouteCircuitConnectionsClient.Client) + + expressRouteCircuitPeeringsClient, err := expressroutecircuitpeerings.NewExpressRouteCircuitPeeringsClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building ExpressRouteCircuitPeerings client: %+v", err) + } + configureFunc(expressRouteCircuitPeeringsClient.Client) + + expressRouteCircuitRoutesTableClient, err := expressroutecircuitroutestable.NewExpressRouteCircuitRoutesTableClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building ExpressRouteCircuitRoutesTable client: %+v", err) + } + configureFunc(expressRouteCircuitRoutesTableClient.Client) + + expressRouteCircuitRoutesTableSummaryClient, err := expressroutecircuitroutestablesummary.NewExpressRouteCircuitRoutesTableSummaryClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building ExpressRouteCircuitRoutesTableSummary client: %+v", err) + } + configureFunc(expressRouteCircuitRoutesTableSummaryClient.Client) + + expressRouteCircuitStatsClient, err := expressroutecircuitstats.NewExpressRouteCircuitStatsClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building ExpressRouteCircuitStats client: %+v", err) + } + configureFunc(expressRouteCircuitStatsClient.Client) + + expressRouteCircuitsClient, err := expressroutecircuits.NewExpressRouteCircuitsClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building ExpressRouteCircuits client: %+v", err) + } + configureFunc(expressRouteCircuitsClient.Client) + + expressRouteConnectionsClient, err := expressrouteconnections.NewExpressRouteConnectionsClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building ExpressRouteConnections client: %+v", err) + } + configureFunc(expressRouteConnectionsClient.Client) + + expressRouteCrossConnectionArpTableClient, err := expressroutecrossconnectionarptable.NewExpressRouteCrossConnectionArpTableClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building ExpressRouteCrossConnectionArpTable client: %+v", err) + } + configureFunc(expressRouteCrossConnectionArpTableClient.Client) + + expressRouteCrossConnectionPeeringsClient, err := expressroutecrossconnectionpeerings.NewExpressRouteCrossConnectionPeeringsClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building ExpressRouteCrossConnectionPeerings client: %+v", err) + } + configureFunc(expressRouteCrossConnectionPeeringsClient.Client) + + expressRouteCrossConnectionRouteTableClient, err := expressroutecrossconnectionroutetable.NewExpressRouteCrossConnectionRouteTableClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building ExpressRouteCrossConnectionRouteTable client: %+v", err) + } + configureFunc(expressRouteCrossConnectionRouteTableClient.Client) + + expressRouteCrossConnectionRouteTableSummaryClient, err := expressroutecrossconnectionroutetablesummary.NewExpressRouteCrossConnectionRouteTableSummaryClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building ExpressRouteCrossConnectionRouteTableSummary client: %+v", err) + } + configureFunc(expressRouteCrossConnectionRouteTableSummaryClient.Client) + + expressRouteCrossConnectionsClient, err := expressroutecrossconnections.NewExpressRouteCrossConnectionsClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building ExpressRouteCrossConnections client: %+v", err) + } + configureFunc(expressRouteCrossConnectionsClient.Client) + + expressRouteGatewaysClient, err := expressroutegateways.NewExpressRouteGatewaysClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building ExpressRouteGateways client: %+v", err) + } + configureFunc(expressRouteGatewaysClient.Client) + + expressRouteLinksClient, err := expressroutelinks.NewExpressRouteLinksClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building ExpressRouteLinks client: %+v", err) + } + configureFunc(expressRouteLinksClient.Client) + + expressRoutePortAuthorizationsClient, err := expressrouteportauthorizations.NewExpressRoutePortAuthorizationsClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building ExpressRoutePortAuthorizations client: %+v", err) + } + configureFunc(expressRoutePortAuthorizationsClient.Client) + + expressRoutePortsClient, err := expressrouteports.NewExpressRoutePortsClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building ExpressRoutePorts client: %+v", err) + } + configureFunc(expressRoutePortsClient.Client) + + expressRoutePortsLocationsClient, err := expressrouteportslocations.NewExpressRoutePortsLocationsClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building ExpressRoutePortsLocations client: %+v", err) + } + configureFunc(expressRoutePortsLocationsClient.Client) + + expressRouteProviderPortsClient, err := expressrouteproviderports.NewExpressRouteProviderPortsClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building ExpressRouteProviderPorts client: %+v", err) + } + configureFunc(expressRouteProviderPortsClient.Client) + + expressRouteServiceProvidersClient, err := expressrouteserviceproviders.NewExpressRouteServiceProvidersClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building ExpressRouteServiceProviders client: %+v", err) + } + configureFunc(expressRouteServiceProvidersClient.Client) + + firewallPoliciesClient, err := firewallpolicies.NewFirewallPoliciesClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building FirewallPolicies client: %+v", err) + } + configureFunc(firewallPoliciesClient.Client) + + firewallPolicyRuleCollectionGroupsClient, err := firewallpolicyrulecollectiongroups.NewFirewallPolicyRuleCollectionGroupsClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building FirewallPolicyRuleCollectionGroups client: %+v", err) + } + configureFunc(firewallPolicyRuleCollectionGroupsClient.Client) + + flowLogsClient, err := flowlogs.NewFlowLogsClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building FlowLogs client: %+v", err) + } + configureFunc(flowLogsClient.Client) + + iPAllocationsClient, err := ipallocations.NewIPAllocationsClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building IPAllocations client: %+v", err) + } + configureFunc(iPAllocationsClient.Client) + + iPGroupsClient, err := ipgroups.NewIPGroupsClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building IPGroups client: %+v", err) + } + configureFunc(iPGroupsClient.Client) + + loadBalancersClient, err := loadbalancers.NewLoadBalancersClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building LoadBalancers client: %+v", err) + } + configureFunc(loadBalancersClient.Client) + + localNetworkGatewaysClient, err := localnetworkgateways.NewLocalNetworkGatewaysClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building LocalNetworkGateways client: %+v", err) + } + configureFunc(localNetworkGatewaysClient.Client) + + natGatewaysClient, err := natgateways.NewNatGatewaysClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building NatGateways client: %+v", err) + } + configureFunc(natGatewaysClient.Client) + + networkGroupsClient, err := networkgroups.NewNetworkGroupsClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building NetworkGroups client: %+v", err) + } + configureFunc(networkGroupsClient.Client) + + networkInterfacesClient, err := networkinterfaces.NewNetworkInterfacesClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building NetworkInterfaces client: %+v", err) + } + configureFunc(networkInterfacesClient.Client) + + networkManagerActiveConfigurationsClient, err := networkmanageractiveconfigurations.NewNetworkManagerActiveConfigurationsClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building NetworkManagerActiveConfigurations client: %+v", err) + } + configureFunc(networkManagerActiveConfigurationsClient.Client) + + networkManagerActiveConnectivityConfigurationsClient, err := networkmanageractiveconnectivityconfigurations.NewNetworkManagerActiveConnectivityConfigurationsClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building NetworkManagerActiveConnectivityConfigurations client: %+v", err) + } + configureFunc(networkManagerActiveConnectivityConfigurationsClient.Client) + + networkManagerConnectionsClient, err := networkmanagerconnections.NewNetworkManagerConnectionsClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building NetworkManagerConnections client: %+v", err) + } + configureFunc(networkManagerConnectionsClient.Client) + + networkManagerEffectiveConnectivityConfigurationClient, err := networkmanagereffectiveconnectivityconfiguration.NewNetworkManagerEffectiveConnectivityConfigurationClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building NetworkManagerEffectiveConnectivityConfiguration client: %+v", err) + } + configureFunc(networkManagerEffectiveConnectivityConfigurationClient.Client) + + networkManagerEffectiveSecurityAdminRulesClient, err := networkmanagereffectivesecurityadminrules.NewNetworkManagerEffectiveSecurityAdminRulesClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building NetworkManagerEffectiveSecurityAdminRules client: %+v", err) + } + configureFunc(networkManagerEffectiveSecurityAdminRulesClient.Client) + + networkManagerRoutingConfigurationsClient, err := networkmanagerroutingconfigurations.NewNetworkManagerRoutingConfigurationsClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building NetworkManagerRoutingConfigurations client: %+v", err) + } + configureFunc(networkManagerRoutingConfigurationsClient.Client) + + networkManagersClient, err := networkmanagers.NewNetworkManagersClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building NetworkManagers client: %+v", err) + } + configureFunc(networkManagersClient.Client) + + networkProfilesClient, err := networkprofiles.NewNetworkProfilesClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building NetworkProfiles client: %+v", err) + } + configureFunc(networkProfilesClient.Client) + + networkSecurityGroupsClient, err := networksecuritygroups.NewNetworkSecurityGroupsClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building NetworkSecurityGroups client: %+v", err) + } + configureFunc(networkSecurityGroupsClient.Client) + + networkVirtualAppliancesClient, err := networkvirtualappliances.NewNetworkVirtualAppliancesClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building NetworkVirtualAppliances client: %+v", err) + } + configureFunc(networkVirtualAppliancesClient.Client) + + networkWatchersClient, err := networkwatchers.NewNetworkWatchersClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building NetworkWatchers client: %+v", err) + } + configureFunc(networkWatchersClient.Client) + + p2sVpnGatewaysClient, err := p2svpngateways.NewP2sVpnGatewaysClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building P2sVpnGateways client: %+v", err) + } + configureFunc(p2sVpnGatewaysClient.Client) + + packetCapturesClient, err := packetcaptures.NewPacketCapturesClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building PacketCaptures client: %+v", err) + } + configureFunc(packetCapturesClient.Client) + + peerExpressRouteCircuitConnectionsClient, err := peerexpressroutecircuitconnections.NewPeerExpressRouteCircuitConnectionsClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building PeerExpressRouteCircuitConnections client: %+v", err) + } + configureFunc(peerExpressRouteCircuitConnectionsClient.Client) + + privateDnsZoneGroupsClient, err := privatednszonegroups.NewPrivateDnsZoneGroupsClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building PrivateDnsZoneGroups client: %+v", err) + } + configureFunc(privateDnsZoneGroupsClient.Client) + + privateEndpointsClient, err := privateendpoints.NewPrivateEndpointsClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building PrivateEndpoints client: %+v", err) + } + configureFunc(privateEndpointsClient.Client) + + privateLinkServicesClient, err := privatelinkservices.NewPrivateLinkServicesClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building PrivateLinkServices client: %+v", err) + } + configureFunc(privateLinkServicesClient.Client) + + publicIPAddressesClient, err := publicipaddresses.NewPublicIPAddressesClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building PublicIPAddresses client: %+v", err) + } + configureFunc(publicIPAddressesClient.Client) + + publicIPPrefixesClient, err := publicipprefixes.NewPublicIPPrefixesClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building PublicIPPrefixes client: %+v", err) + } + configureFunc(publicIPPrefixesClient.Client) + + routeFilterRulesClient, err := routefilterrules.NewRouteFilterRulesClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building RouteFilterRules client: %+v", err) + } + configureFunc(routeFilterRulesClient.Client) + + routeFiltersClient, err := routefilters.NewRouteFiltersClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building RouteFilters client: %+v", err) + } + configureFunc(routeFiltersClient.Client) + + routeTablesClient, err := routetables.NewRouteTablesClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building RouteTables client: %+v", err) + } + configureFunc(routeTablesClient.Client) + + routesClient, err := routes.NewRoutesClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building Routes client: %+v", err) + } + configureFunc(routesClient.Client) + + routingRuleCollectionsClient, err := routingrulecollections.NewRoutingRuleCollectionsClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building RoutingRuleCollections client: %+v", err) + } + configureFunc(routingRuleCollectionsClient.Client) + + routingRulesClient, err := routingrules.NewRoutingRulesClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building RoutingRules client: %+v", err) + } + configureFunc(routingRulesClient.Client) + + scopeConnectionsClient, err := scopeconnections.NewScopeConnectionsClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building ScopeConnections client: %+v", err) + } + configureFunc(scopeConnectionsClient.Client) + + securityAdminConfigurationsClient, err := securityadminconfigurations.NewSecurityAdminConfigurationsClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building SecurityAdminConfigurations client: %+v", err) + } + configureFunc(securityAdminConfigurationsClient.Client) + + securityPartnerProvidersClient, err := securitypartnerproviders.NewSecurityPartnerProvidersClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building SecurityPartnerProviders client: %+v", err) + } + configureFunc(securityPartnerProvidersClient.Client) + + securityRulesClient, err := securityrules.NewSecurityRulesClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building SecurityRules client: %+v", err) + } + configureFunc(securityRulesClient.Client) + + securityUserConfigurationsClient, err := securityuserconfigurations.NewSecurityUserConfigurationsClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building SecurityUserConfigurations client: %+v", err) + } + configureFunc(securityUserConfigurationsClient.Client) + + securityUserRuleCollectionsClient, err := securityuserrulecollections.NewSecurityUserRuleCollectionsClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building SecurityUserRuleCollections client: %+v", err) + } + configureFunc(securityUserRuleCollectionsClient.Client) + + securityUserRulesClient, err := securityuserrules.NewSecurityUserRulesClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building SecurityUserRules client: %+v", err) + } + configureFunc(securityUserRulesClient.Client) + + serviceEndpointPoliciesClient, err := serviceendpointpolicies.NewServiceEndpointPoliciesClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building ServiceEndpointPolicies client: %+v", err) + } + configureFunc(serviceEndpointPoliciesClient.Client) + + serviceEndpointPolicyDefinitionsClient, err := serviceendpointpolicydefinitions.NewServiceEndpointPolicyDefinitionsClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building ServiceEndpointPolicyDefinitions client: %+v", err) + } + configureFunc(serviceEndpointPolicyDefinitionsClient.Client) + + serviceTagsClient, err := servicetags.NewServiceTagsClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building ServiceTags client: %+v", err) + } + configureFunc(serviceTagsClient.Client) + + staticMembersClient, err := staticmembers.NewStaticMembersClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building StaticMembers client: %+v", err) + } + configureFunc(staticMembersClient.Client) + + subnetsClient, err := subnets.NewSubnetsClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building Subnets client: %+v", err) + } + configureFunc(subnetsClient.Client) + + trafficAnalyticsClient, err := trafficanalytics.NewTrafficAnalyticsClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building TrafficAnalytics client: %+v", err) + } + configureFunc(trafficAnalyticsClient.Client) + + usagesClient, err := usages.NewUsagesClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building Usages client: %+v", err) + } + configureFunc(usagesClient.Client) + + vMSSPublicIPAddressesClient, err := vmsspublicipaddresses.NewVMSSPublicIPAddressesClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building VMSSPublicIPAddresses client: %+v", err) + } + configureFunc(vMSSPublicIPAddressesClient.Client) + + vipSwapClient, err := vipswap.NewVipSwapClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building VipSwap client: %+v", err) + } + configureFunc(vipSwapClient.Client) + + virtualApplianceSitesClient, err := virtualappliancesites.NewVirtualApplianceSitesClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building VirtualApplianceSites client: %+v", err) + } + configureFunc(virtualApplianceSitesClient.Client) + + virtualApplianceSkusClient, err := virtualapplianceskus.NewVirtualApplianceSkusClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building VirtualApplianceSkus client: %+v", err) + } + configureFunc(virtualApplianceSkusClient.Client) + + virtualNetworkGatewayConnectionsClient, err := virtualnetworkgatewayconnections.NewVirtualNetworkGatewayConnectionsClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building VirtualNetworkGatewayConnections client: %+v", err) + } + configureFunc(virtualNetworkGatewayConnectionsClient.Client) + + virtualNetworkGatewaysClient, err := virtualnetworkgateways.NewVirtualNetworkGatewaysClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building VirtualNetworkGateways client: %+v", err) + } + configureFunc(virtualNetworkGatewaysClient.Client) + + virtualNetworkPeeringsClient, err := virtualnetworkpeerings.NewVirtualNetworkPeeringsClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building VirtualNetworkPeerings client: %+v", err) + } + configureFunc(virtualNetworkPeeringsClient.Client) + + virtualNetworkTapClient, err := virtualnetworktap.NewVirtualNetworkTapClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building VirtualNetworkTap client: %+v", err) + } + configureFunc(virtualNetworkTapClient.Client) + + virtualNetworkTapsClient, err := virtualnetworktaps.NewVirtualNetworkTapsClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building VirtualNetworkTaps client: %+v", err) + } + configureFunc(virtualNetworkTapsClient.Client) + + virtualNetworksClient, err := virtualnetworks.NewVirtualNetworksClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building VirtualNetworks client: %+v", err) + } + configureFunc(virtualNetworksClient.Client) + + virtualRouterPeeringsClient, err := virtualrouterpeerings.NewVirtualRouterPeeringsClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building VirtualRouterPeerings client: %+v", err) + } + configureFunc(virtualRouterPeeringsClient.Client) + + virtualRoutersClient, err := virtualrouters.NewVirtualRoutersClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building VirtualRouters client: %+v", err) + } + configureFunc(virtualRoutersClient.Client) + + virtualWANsClient, err := virtualwans.NewVirtualWANsClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building VirtualWANs client: %+v", err) + } + configureFunc(virtualWANsClient.Client) + + vpnGatewaysClient, err := vpngateways.NewVpnGatewaysClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building VpnGateways client: %+v", err) + } + configureFunc(vpnGatewaysClient.Client) + + vpnLinkConnectionsClient, err := vpnlinkconnections.NewVpnLinkConnectionsClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building VpnLinkConnections client: %+v", err) + } + configureFunc(vpnLinkConnectionsClient.Client) + + vpnServerConfigurationsClient, err := vpnserverconfigurations.NewVpnServerConfigurationsClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building VpnServerConfigurations client: %+v", err) + } + configureFunc(vpnServerConfigurationsClient.Client) + + vpnSitesClient, err := vpnsites.NewVpnSitesClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building VpnSites client: %+v", err) + } + configureFunc(vpnSitesClient.Client) + + webApplicationFirewallPoliciesClient, err := webapplicationfirewallpolicies.NewWebApplicationFirewallPoliciesClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building WebApplicationFirewallPolicies client: %+v", err) + } + configureFunc(webApplicationFirewallPoliciesClient.Client) + + webCategoriesClient, err := webcategories.NewWebCategoriesClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building WebCategories client: %+v", err) + } + configureFunc(webCategoriesClient.Client) + + return &Client{ + AdminRuleCollections: adminRuleCollectionsClient, + AdminRules: adminRulesClient, + ApplicationGatewayPrivateEndpointConnections: applicationGatewayPrivateEndpointConnectionsClient, + ApplicationGatewayPrivateLinkResources: applicationGatewayPrivateLinkResourcesClient, + ApplicationGatewayWafDynamicManifests: applicationGatewayWafDynamicManifestsClient, + ApplicationGateways: applicationGatewaysClient, + ApplicationSecurityGroups: applicationSecurityGroupsClient, + AvailableDelegations: availableDelegationsClient, + AvailableServiceAliases: availableServiceAliasesClient, + AzureFirewalls: azureFirewallsClient, + BastionHosts: bastionHostsClient, + BastionShareableLink: bastionShareableLinkClient, + BgpServiceCommunities: bgpServiceCommunitiesClient, + CheckDnsAvailabilities: checkDnsAvailabilitiesClient, + CloudServicePublicIPAddresses: cloudServicePublicIPAddressesClient, + ConnectionMonitors: connectionMonitorsClient, + ConnectivityConfigurations: connectivityConfigurationsClient, + CustomIPPrefixes: customIPPrefixesClient, + DdosCustomPolicies: ddosCustomPoliciesClient, + DdosProtectionPlans: ddosProtectionPlansClient, + DscpConfiguration: dscpConfigurationClient, + DscpConfigurations: dscpConfigurationsClient, + EndpointServices: endpointServicesClient, + ExpressRouteCircuitArpTable: expressRouteCircuitArpTableClient, + ExpressRouteCircuitAuthorizations: expressRouteCircuitAuthorizationsClient, + ExpressRouteCircuitConnections: expressRouteCircuitConnectionsClient, + ExpressRouteCircuitPeerings: expressRouteCircuitPeeringsClient, + ExpressRouteCircuitRoutesTable: expressRouteCircuitRoutesTableClient, + ExpressRouteCircuitRoutesTableSummary: expressRouteCircuitRoutesTableSummaryClient, + ExpressRouteCircuitStats: expressRouteCircuitStatsClient, + ExpressRouteCircuits: expressRouteCircuitsClient, + ExpressRouteConnections: expressRouteConnectionsClient, + ExpressRouteCrossConnectionArpTable: expressRouteCrossConnectionArpTableClient, + ExpressRouteCrossConnectionPeerings: expressRouteCrossConnectionPeeringsClient, + ExpressRouteCrossConnectionRouteTable: expressRouteCrossConnectionRouteTableClient, + ExpressRouteCrossConnectionRouteTableSummary: expressRouteCrossConnectionRouteTableSummaryClient, + ExpressRouteCrossConnections: expressRouteCrossConnectionsClient, + ExpressRouteGateways: expressRouteGatewaysClient, + ExpressRouteLinks: expressRouteLinksClient, + ExpressRoutePortAuthorizations: expressRoutePortAuthorizationsClient, + ExpressRoutePorts: expressRoutePortsClient, + ExpressRoutePortsLocations: expressRoutePortsLocationsClient, + ExpressRouteProviderPorts: expressRouteProviderPortsClient, + ExpressRouteServiceProviders: expressRouteServiceProvidersClient, + FirewallPolicies: firewallPoliciesClient, + FirewallPolicyRuleCollectionGroups: firewallPolicyRuleCollectionGroupsClient, + FlowLogs: flowLogsClient, + IPAllocations: iPAllocationsClient, + IPGroups: iPGroupsClient, + LoadBalancers: loadBalancersClient, + LocalNetworkGateways: localNetworkGatewaysClient, + NatGateways: natGatewaysClient, + NetworkGroups: networkGroupsClient, + NetworkInterfaces: networkInterfacesClient, + NetworkManagerActiveConfigurations: networkManagerActiveConfigurationsClient, + NetworkManagerActiveConnectivityConfigurations: networkManagerActiveConnectivityConfigurationsClient, + NetworkManagerConnections: networkManagerConnectionsClient, + NetworkManagerEffectiveConnectivityConfiguration: networkManagerEffectiveConnectivityConfigurationClient, + NetworkManagerEffectiveSecurityAdminRules: networkManagerEffectiveSecurityAdminRulesClient, + NetworkManagerRoutingConfigurations: networkManagerRoutingConfigurationsClient, + NetworkManagers: networkManagersClient, + NetworkProfiles: networkProfilesClient, + NetworkSecurityGroups: networkSecurityGroupsClient, + NetworkVirtualAppliances: networkVirtualAppliancesClient, + NetworkWatchers: networkWatchersClient, + P2sVpnGateways: p2sVpnGatewaysClient, + PacketCaptures: packetCapturesClient, + PeerExpressRouteCircuitConnections: peerExpressRouteCircuitConnectionsClient, + PrivateDnsZoneGroups: privateDnsZoneGroupsClient, + PrivateEndpoints: privateEndpointsClient, + PrivateLinkServices: privateLinkServicesClient, + PublicIPAddresses: publicIPAddressesClient, + PublicIPPrefixes: publicIPPrefixesClient, + RouteFilterRules: routeFilterRulesClient, + RouteFilters: routeFiltersClient, + RouteTables: routeTablesClient, + Routes: routesClient, + RoutingRuleCollections: routingRuleCollectionsClient, + RoutingRules: routingRulesClient, + ScopeConnections: scopeConnectionsClient, + SecurityAdminConfigurations: securityAdminConfigurationsClient, + SecurityPartnerProviders: securityPartnerProvidersClient, + SecurityRules: securityRulesClient, + SecurityUserConfigurations: securityUserConfigurationsClient, + SecurityUserRuleCollections: securityUserRuleCollectionsClient, + SecurityUserRules: securityUserRulesClient, + ServiceEndpointPolicies: serviceEndpointPoliciesClient, + ServiceEndpointPolicyDefinitions: serviceEndpointPolicyDefinitionsClient, + ServiceTags: serviceTagsClient, + StaticMembers: staticMembersClient, + Subnets: subnetsClient, + TrafficAnalytics: trafficAnalyticsClient, + Usages: usagesClient, + VMSSPublicIPAddresses: vMSSPublicIPAddressesClient, + VipSwap: vipSwapClient, + VirtualApplianceSites: virtualApplianceSitesClient, + VirtualApplianceSkus: virtualApplianceSkusClient, + VirtualNetworkGatewayConnections: virtualNetworkGatewayConnectionsClient, + VirtualNetworkGateways: virtualNetworkGatewaysClient, + VirtualNetworkPeerings: virtualNetworkPeeringsClient, + VirtualNetworkTap: virtualNetworkTapClient, + VirtualNetworkTaps: virtualNetworkTapsClient, + VirtualNetworks: virtualNetworksClient, + VirtualRouterPeerings: virtualRouterPeeringsClient, + VirtualRouters: virtualRoutersClient, + VirtualWANs: virtualWANsClient, + VpnGateways: vpnGatewaysClient, + VpnLinkConnections: vpnLinkConnectionsClient, + VpnServerConfigurations: vpnServerConfigurationsClient, + VpnSites: vpnSitesClient, + WebApplicationFirewallPolicies: webApplicationFirewallPoliciesClient, + WebCategories: webCategoriesClient, + }, nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/README.md new file mode 100644 index 000000000000..ffc80033950a --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/README.md @@ -0,0 +1,71 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses` Documentation + +The `cloudservicepublicipaddresses` SDK allows for interaction with Azure Resource Manager `network` (API Version `2024-03-01`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" +import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses" +``` + + +### Client Initialization + +```go +client := cloudservicepublicipaddresses.NewCloudServicePublicIPAddressesClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `CloudServicePublicIPAddressesClient.PublicIPAddressesGetCloudServicePublicIPAddress` + +```go +ctx := context.TODO() +id := commonids.NewCloudServicesPublicIPAddressID("12345678-1234-9876-4563-123456789012", "example-resource-group", "cloudServiceName", "roleInstanceName", "networkInterfaceName", "ipConfigurationName", "publicIPAddressName") + +read, err := client.PublicIPAddressesGetCloudServicePublicIPAddress(ctx, id, cloudservicepublicipaddresses.DefaultPublicIPAddressesGetCloudServicePublicIPAddressOperationOptions()) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `CloudServicePublicIPAddressesClient.PublicIPAddressesListCloudServicePublicIPAddresses` + +```go +ctx := context.TODO() +id := cloudservicepublicipaddresses.NewProviderCloudServiceID("12345678-1234-9876-4563-123456789012", "example-resource-group", "cloudServiceName") + +// alternatively `client.PublicIPAddressesListCloudServicePublicIPAddresses(ctx, id)` can be used to do batched pagination +items, err := client.PublicIPAddressesListCloudServicePublicIPAddressesComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `CloudServicePublicIPAddressesClient.PublicIPAddressesListCloudServiceRoleInstancePublicIPAddresses` + +```go +ctx := context.TODO() +id := commonids.NewCloudServicesIPConfigurationID("12345678-1234-9876-4563-123456789012", "example-resource-group", "cloudServiceName", "roleInstanceName", "networkInterfaceName", "ipConfigurationName") + +// alternatively `client.PublicIPAddressesListCloudServiceRoleInstancePublicIPAddresses(ctx, id)` can be used to do batched pagination +items, err := client.PublicIPAddressesListCloudServiceRoleInstancePublicIPAddressesComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/constants.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/constants.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/constants.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/id_providercloudservice.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/id_providercloudservice.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/id_providercloudservice.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/id_providercloudservice.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/method_publicipaddressesgetcloudservicepublicipaddress.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/method_publicipaddressesgetcloudservicepublicipaddress.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/method_publicipaddressesgetcloudservicepublicipaddress.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/method_publicipaddressesgetcloudservicepublicipaddress.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/method_publicipaddresseslistcloudservicepublicipaddresses.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/method_publicipaddresseslistcloudservicepublicipaddresses.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/method_publicipaddresseslistcloudservicepublicipaddresses.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/method_publicipaddresseslistcloudservicepublicipaddresses.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/method_publicipaddresseslistcloudserviceroleinstancepublicipaddresses.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/method_publicipaddresseslistcloudserviceroleinstancepublicipaddresses.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/method_publicipaddresseslistcloudserviceroleinstancepublicipaddresses.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/method_publicipaddresseslistcloudserviceroleinstancepublicipaddresses.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_applicationgatewaybackendaddress.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_applicationgatewaybackendaddress.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_applicationgatewaybackendaddress.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_applicationgatewaybackendaddress.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_applicationgatewaybackendaddresspool.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_applicationgatewaybackendaddresspool.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_applicationgatewaybackendaddresspool.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_applicationgatewaybackendaddresspool.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_applicationgatewaybackendaddresspoolpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_applicationgatewaybackendaddresspoolpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_applicationgatewaybackendaddresspoolpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_applicationgatewaybackendaddresspoolpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_applicationgatewayipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_applicationgatewayipconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_applicationgatewayipconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_applicationgatewayipconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_applicationgatewayipconfigurationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_applicationgatewayipconfigurationpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_applicationgatewayipconfigurationpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_applicationgatewayipconfigurationpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_applicationsecuritygroup.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_applicationsecuritygroup.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_applicationsecuritygroup.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_applicationsecuritygroup.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_applicationsecuritygrouppropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_applicationsecuritygrouppropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_applicationsecuritygrouppropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_applicationsecuritygrouppropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_backendaddresspool.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_backendaddresspool.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_backendaddresspool.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_backendaddresspool.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_backendaddresspoolpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_backendaddresspoolpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_backendaddresspoolpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_backendaddresspoolpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_customdnsconfigpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_customdnsconfigpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_customdnsconfigpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_customdnsconfigpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_ddossettings.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_ddossettings.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_ddossettings.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_ddossettings.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_delegation.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_delegation.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_delegation.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_delegation.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_flowlog.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_flowlog.go new file mode 100644 index 000000000000..49c418d2b9e2 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_flowlog.go @@ -0,0 +1,19 @@ +package cloudservicepublicipaddresses + +import ( + "github.com/hashicorp/go-azure-helpers/resourcemanager/identity" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type FlowLog struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Identity *identity.SystemAndUserAssignedMap `json:"identity,omitempty"` + Location *string `json:"location,omitempty"` + Name *string `json:"name,omitempty"` + Properties *FlowLogPropertiesFormat `json:"properties,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_flowlogformatparameters.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_flowlogformatparameters.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_flowlogformatparameters.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_flowlogformatparameters.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_flowlogpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_flowlogpropertiesformat.go new file mode 100644 index 000000000000..c8b2d0843ff4 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_flowlogpropertiesformat.go @@ -0,0 +1,16 @@ +package cloudservicepublicipaddresses + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type FlowLogPropertiesFormat struct { + Enabled *bool `json:"enabled,omitempty"` + EnabledFilteringCriteria *string `json:"enabledFilteringCriteria,omitempty"` + FlowAnalyticsConfiguration *TrafficAnalyticsProperties `json:"flowAnalyticsConfiguration,omitempty"` + Format *FlowLogFormatParameters `json:"format,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + RetentionPolicy *RetentionPolicyParameters `json:"retentionPolicy,omitempty"` + StorageId string `json:"storageId"` + TargetResourceGuid *string `json:"targetResourceGuid,omitempty"` + TargetResourceId string `json:"targetResourceId"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_frontendipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_frontendipconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_frontendipconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_frontendipconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_frontendipconfigurationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_frontendipconfigurationpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_frontendipconfigurationpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_frontendipconfigurationpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_gatewayloadbalancertunnelinterface.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_gatewayloadbalancertunnelinterface.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_gatewayloadbalancertunnelinterface.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_gatewayloadbalancertunnelinterface.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_inboundnatrule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_inboundnatrule.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_inboundnatrule.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_inboundnatrule.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_inboundnatrulepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_inboundnatrulepropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_inboundnatrulepropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_inboundnatrulepropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_ipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_ipconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_ipconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_ipconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_ipconfigurationprofile.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_ipconfigurationprofile.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_ipconfigurationprofile.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_ipconfigurationprofile.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_ipconfigurationprofilepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_ipconfigurationprofilepropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_ipconfigurationprofilepropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_ipconfigurationprofilepropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_ipconfigurationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_ipconfigurationpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_ipconfigurationpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_ipconfigurationpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_iptag.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_iptag.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_iptag.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_iptag.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_loadbalancerbackendaddress.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_loadbalancerbackendaddress.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_loadbalancerbackendaddress.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_loadbalancerbackendaddress.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_loadbalancerbackendaddresspropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_loadbalancerbackendaddresspropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_loadbalancerbackendaddresspropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_loadbalancerbackendaddresspropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_natgateway.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_natgateway.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_natgateway.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_natgateway.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_natgatewaypropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_natgatewaypropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_natgatewaypropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_natgatewaypropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_natgatewaysku.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_natgatewaysku.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_natgatewaysku.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_natgatewaysku.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_natruleportmapping.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_natruleportmapping.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_natruleportmapping.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_natruleportmapping.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_networkinterface.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_networkinterface.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_networkinterface.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_networkinterface.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_networkinterfacednssettings.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_networkinterfacednssettings.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_networkinterfacednssettings.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_networkinterfacednssettings.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_networkinterfaceipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_networkinterfaceipconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_networkinterfaceipconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_networkinterfaceipconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_networkinterfaceipconfigurationprivatelinkconnectionproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_networkinterfaceipconfigurationprivatelinkconnectionproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_networkinterfaceipconfigurationprivatelinkconnectionproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_networkinterfaceipconfigurationprivatelinkconnectionproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_networkinterfaceipconfigurationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_networkinterfaceipconfigurationpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_networkinterfaceipconfigurationpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_networkinterfaceipconfigurationpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_networkinterfacepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_networkinterfacepropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_networkinterfacepropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_networkinterfacepropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_networkinterfacetapconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_networkinterfacetapconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_networkinterfacetapconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_networkinterfacetapconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_networkinterfacetapconfigurationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_networkinterfacetapconfigurationpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_networkinterfacetapconfigurationpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_networkinterfacetapconfigurationpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_networksecuritygroup.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_networksecuritygroup.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_networksecuritygroup.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_networksecuritygroup.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_networksecuritygrouppropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_networksecuritygrouppropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_networksecuritygrouppropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_networksecuritygrouppropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_privateendpoint.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_privateendpoint.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_privateendpoint.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_privateendpoint.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_privateendpointconnection.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_privateendpointconnection.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_privateendpointconnection.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_privateendpointconnection.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_privateendpointconnectionproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_privateendpointconnectionproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_privateendpointconnectionproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_privateendpointconnectionproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_privateendpointipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_privateendpointipconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_privateendpointipconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_privateendpointipconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_privateendpointipconfigurationproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_privateendpointipconfigurationproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_privateendpointipconfigurationproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_privateendpointipconfigurationproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_privateendpointproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_privateendpointproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_privateendpointproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_privateendpointproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_privatelinkservice.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_privatelinkservice.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_privatelinkservice.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_privatelinkservice.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_privatelinkserviceconnection.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_privatelinkserviceconnection.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_privatelinkserviceconnection.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_privatelinkserviceconnection.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_privatelinkserviceconnectionproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_privatelinkserviceconnectionproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_privatelinkserviceconnectionproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_privatelinkserviceconnectionproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_privatelinkserviceconnectionstate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_privatelinkserviceconnectionstate.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_privatelinkserviceconnectionstate.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_privatelinkserviceconnectionstate.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_privatelinkserviceipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_privatelinkserviceipconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_privatelinkserviceipconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_privatelinkserviceipconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_privatelinkserviceipconfigurationproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_privatelinkserviceipconfigurationproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_privatelinkserviceipconfigurationproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_privatelinkserviceipconfigurationproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_privatelinkserviceproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_privatelinkserviceproperties.go new file mode 100644 index 000000000000..04a0f8149a75 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_privatelinkserviceproperties.go @@ -0,0 +1,18 @@ +package cloudservicepublicipaddresses + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PrivateLinkServiceProperties struct { + Alias *string `json:"alias,omitempty"` + AutoApproval *ResourceSet `json:"autoApproval,omitempty"` + DestinationIPAddress *string `json:"destinationIPAddress,omitempty"` + EnableProxyProtocol *bool `json:"enableProxyProtocol,omitempty"` + Fqdns *[]string `json:"fqdns,omitempty"` + IPConfigurations *[]PrivateLinkServiceIPConfiguration `json:"ipConfigurations,omitempty"` + LoadBalancerFrontendIPConfigurations *[]FrontendIPConfiguration `json:"loadBalancerFrontendIpConfigurations,omitempty"` + NetworkInterfaces *[]NetworkInterface `json:"networkInterfaces,omitempty"` + PrivateEndpointConnections *[]PrivateEndpointConnection `json:"privateEndpointConnections,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + Visibility *ResourceSet `json:"visibility,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_publicipaddress.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_publicipaddress.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_publicipaddress.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_publicipaddress.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_publicipaddressdnssettings.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_publicipaddressdnssettings.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_publicipaddressdnssettings.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_publicipaddressdnssettings.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_publicipaddresspropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_publicipaddresspropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_publicipaddresspropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_publicipaddresspropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_publicipaddresssku.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_publicipaddresssku.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_publicipaddresssku.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_publicipaddresssku.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_resourcenavigationlink.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_resourcenavigationlink.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_resourcenavigationlink.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_resourcenavigationlink.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_resourcenavigationlinkformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_resourcenavigationlinkformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_resourcenavigationlinkformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_resourcenavigationlinkformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_resourceset.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_resourceset.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_resourceset.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_resourceset.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_retentionpolicyparameters.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_retentionpolicyparameters.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_retentionpolicyparameters.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_retentionpolicyparameters.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_route.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_route.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_route.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_route.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_routepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_routepropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_routepropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_routepropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_routetable.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_routetable.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_routetable.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_routetable.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_routetablepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_routetablepropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_routetablepropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_routetablepropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_securityrule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_securityrule.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_securityrule.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_securityrule.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_securityrulepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_securityrulepropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_securityrulepropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_securityrulepropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_serviceassociationlink.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_serviceassociationlink.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_serviceassociationlink.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_serviceassociationlink.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_serviceassociationlinkpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_serviceassociationlinkpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_serviceassociationlinkpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_serviceassociationlinkpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_servicedelegationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_servicedelegationpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_servicedelegationpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_servicedelegationpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_serviceendpointpolicy.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_serviceendpointpolicy.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_serviceendpointpolicy.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_serviceendpointpolicy.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_serviceendpointpolicydefinition.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_serviceendpointpolicydefinition.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_serviceendpointpolicydefinition.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_serviceendpointpolicydefinition.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_serviceendpointpolicydefinitionpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_serviceendpointpolicydefinitionpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_serviceendpointpolicydefinitionpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_serviceendpointpolicydefinitionpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_serviceendpointpolicypropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_serviceendpointpolicypropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_serviceendpointpolicypropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_serviceendpointpolicypropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_serviceendpointpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_serviceendpointpropertiesformat.go new file mode 100644 index 000000000000..1e4f0c0bb525 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_serviceendpointpropertiesformat.go @@ -0,0 +1,11 @@ +package cloudservicepublicipaddresses + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ServiceEndpointPropertiesFormat struct { + Locations *[]string `json:"locations,omitempty"` + NetworkIdentifier *SubResource `json:"networkIdentifier,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + Service *string `json:"service,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_subnet.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_subnet.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_subnet.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_subnet.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_subnetpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_subnetpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_subnetpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_subnetpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_subresource.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_subresource.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_subresource.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_subresource.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_trafficanalyticsconfigurationproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_trafficanalyticsconfigurationproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_trafficanalyticsconfigurationproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_trafficanalyticsconfigurationproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_trafficanalyticsproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_trafficanalyticsproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_trafficanalyticsproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_trafficanalyticsproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_virtualnetworktap.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_virtualnetworktap.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_virtualnetworktap.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_virtualnetworktap.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_virtualnetworktappropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_virtualnetworktappropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/model_virtualnetworktappropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/model_virtualnetworktappropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/predicates.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses/predicates.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/predicates.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/version.go new file mode 100644 index 000000000000..4caf11a3aebd --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses/version.go @@ -0,0 +1,10 @@ +package cloudservicepublicipaddresses + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2024-03-01" + +func userAgent() string { + return "hashicorp/go-azure-sdk/cloudservicepublicipaddresses/2024-03-01" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectionmonitors/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectionmonitors/README.md new file mode 100644 index 000000000000..61464234c0a4 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectionmonitors/README.md @@ -0,0 +1,138 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectionmonitors` Documentation + +The `connectionmonitors` SDK allows for interaction with Azure Resource Manager `network` (API Version `2024-03-01`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectionmonitors" +``` + + +### Client Initialization + +```go +client := connectionmonitors.NewConnectionMonitorsClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `ConnectionMonitorsClient.CreateOrUpdate` + +```go +ctx := context.TODO() +id := connectionmonitors.NewConnectionMonitorID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkWatcherName", "connectionMonitorName") + +payload := connectionmonitors.ConnectionMonitor{ + // ... +} + + +if err := client.CreateOrUpdateThenPoll(ctx, id, payload, connectionmonitors.DefaultCreateOrUpdateOperationOptions()); err != nil { + // handle the error +} +``` + + +### Example Usage: `ConnectionMonitorsClient.Delete` + +```go +ctx := context.TODO() +id := connectionmonitors.NewConnectionMonitorID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkWatcherName", "connectionMonitorName") + +if err := client.DeleteThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `ConnectionMonitorsClient.Get` + +```go +ctx := context.TODO() +id := connectionmonitors.NewConnectionMonitorID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkWatcherName", "connectionMonitorName") + +read, err := client.Get(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `ConnectionMonitorsClient.List` + +```go +ctx := context.TODO() +id := connectionmonitors.NewNetworkWatcherID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkWatcherName") + +read, err := client.List(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `ConnectionMonitorsClient.Query` + +```go +ctx := context.TODO() +id := connectionmonitors.NewConnectionMonitorID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkWatcherName", "connectionMonitorName") + +if err := client.QueryThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `ConnectionMonitorsClient.Start` + +```go +ctx := context.TODO() +id := connectionmonitors.NewConnectionMonitorID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkWatcherName", "connectionMonitorName") + +if err := client.StartThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `ConnectionMonitorsClient.Stop` + +```go +ctx := context.TODO() +id := connectionmonitors.NewConnectionMonitorID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkWatcherName", "connectionMonitorName") + +if err := client.StopThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `ConnectionMonitorsClient.UpdateTags` + +```go +ctx := context.TODO() +id := connectionmonitors.NewConnectionMonitorID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkWatcherName", "connectionMonitorName") + +payload := connectionmonitors.TagsObject{ + // ... +} + + +read, err := client.UpdateTags(ctx, id, payload) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectionmonitors/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectionmonitors/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectionmonitors/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectionmonitors/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectionmonitors/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectionmonitors/constants.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectionmonitors/constants.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectionmonitors/constants.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectionmonitors/id_connectionmonitor.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectionmonitors/id_connectionmonitor.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectionmonitors/id_connectionmonitor.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectionmonitors/id_connectionmonitor.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectionmonitors/id_networkwatcher.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectionmonitors/id_networkwatcher.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectionmonitors/id_networkwatcher.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectionmonitors/id_networkwatcher.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectionmonitors/method_createorupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectionmonitors/method_createorupdate.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectionmonitors/method_createorupdate.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectionmonitors/method_createorupdate.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectionmonitors/method_delete.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectionmonitors/method_delete.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectionmonitors/method_delete.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectionmonitors/method_delete.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectionmonitors/method_get.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectionmonitors/method_get.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectionmonitors/method_get.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectionmonitors/method_get.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectionmonitors/method_list.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectionmonitors/method_list.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectionmonitors/method_list.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectionmonitors/method_list.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectionmonitors/method_query.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectionmonitors/method_query.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectionmonitors/method_query.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectionmonitors/method_query.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectionmonitors/method_start.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectionmonitors/method_start.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectionmonitors/method_start.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectionmonitors/method_start.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectionmonitors/method_stop.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectionmonitors/method_stop.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectionmonitors/method_stop.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectionmonitors/method_stop.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectionmonitors/method_updatetags.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectionmonitors/method_updatetags.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectionmonitors/method_updatetags.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectionmonitors/method_updatetags.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectionmonitors/model_connectionmonitor.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectionmonitors/model_connectionmonitor.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectionmonitors/model_connectionmonitor.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectionmonitors/model_connectionmonitor.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectionmonitors/model_connectionmonitordestination.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectionmonitors/model_connectionmonitordestination.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectionmonitors/model_connectionmonitordestination.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectionmonitors/model_connectionmonitordestination.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectionmonitors/model_connectionmonitorendpoint.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectionmonitors/model_connectionmonitorendpoint.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectionmonitors/model_connectionmonitorendpoint.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectionmonitors/model_connectionmonitorendpoint.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectionmonitors/model_connectionmonitorendpointfilter.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectionmonitors/model_connectionmonitorendpointfilter.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectionmonitors/model_connectionmonitorendpointfilter.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectionmonitors/model_connectionmonitorendpointfilter.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectionmonitors/model_connectionmonitorendpointfilteritem.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectionmonitors/model_connectionmonitorendpointfilteritem.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectionmonitors/model_connectionmonitorendpointfilteritem.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectionmonitors/model_connectionmonitorendpointfilteritem.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectionmonitors/model_connectionmonitorendpointlocationdetails.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectionmonitors/model_connectionmonitorendpointlocationdetails.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectionmonitors/model_connectionmonitorendpointlocationdetails.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectionmonitors/model_connectionmonitorendpointlocationdetails.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectionmonitors/model_connectionmonitorendpointscope.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectionmonitors/model_connectionmonitorendpointscope.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectionmonitors/model_connectionmonitorendpointscope.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectionmonitors/model_connectionmonitorendpointscope.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectionmonitors/model_connectionmonitorendpointscopeitem.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectionmonitors/model_connectionmonitorendpointscopeitem.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectionmonitors/model_connectionmonitorendpointscopeitem.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectionmonitors/model_connectionmonitorendpointscopeitem.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectionmonitors/model_connectionmonitorhttpconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectionmonitors/model_connectionmonitorhttpconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectionmonitors/model_connectionmonitorhttpconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectionmonitors/model_connectionmonitorhttpconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectionmonitors/model_connectionmonitoricmpconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectionmonitors/model_connectionmonitoricmpconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectionmonitors/model_connectionmonitoricmpconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectionmonitors/model_connectionmonitoricmpconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectionmonitors/model_connectionmonitorlistresult.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectionmonitors/model_connectionmonitorlistresult.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectionmonitors/model_connectionmonitorlistresult.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectionmonitors/model_connectionmonitorlistresult.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectionmonitors/model_connectionmonitoroutput.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectionmonitors/model_connectionmonitoroutput.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectionmonitors/model_connectionmonitoroutput.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectionmonitors/model_connectionmonitoroutput.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectionmonitors/model_connectionmonitorparameters.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectionmonitors/model_connectionmonitorparameters.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectionmonitors/model_connectionmonitorparameters.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectionmonitors/model_connectionmonitorparameters.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectionmonitors/model_connectionmonitorqueryresult.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectionmonitors/model_connectionmonitorqueryresult.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectionmonitors/model_connectionmonitorqueryresult.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectionmonitors/model_connectionmonitorqueryresult.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectionmonitors/model_connectionmonitorresult.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectionmonitors/model_connectionmonitorresult.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectionmonitors/model_connectionmonitorresult.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectionmonitors/model_connectionmonitorresult.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectionmonitors/model_connectionmonitorresultproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectionmonitors/model_connectionmonitorresultproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectionmonitors/model_connectionmonitorresultproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectionmonitors/model_connectionmonitorresultproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectionmonitors/model_connectionmonitorsource.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectionmonitors/model_connectionmonitorsource.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectionmonitors/model_connectionmonitorsource.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectionmonitors/model_connectionmonitorsource.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectionmonitors/model_connectionmonitorsuccessthreshold.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectionmonitors/model_connectionmonitorsuccessthreshold.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectionmonitors/model_connectionmonitorsuccessthreshold.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectionmonitors/model_connectionmonitorsuccessthreshold.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectionmonitors/model_connectionmonitortcpconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectionmonitors/model_connectionmonitortcpconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectionmonitors/model_connectionmonitortcpconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectionmonitors/model_connectionmonitortcpconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectionmonitors/model_connectionmonitortestconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectionmonitors/model_connectionmonitortestconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectionmonitors/model_connectionmonitortestconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectionmonitors/model_connectionmonitortestconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectionmonitors/model_connectionmonitortestgroup.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectionmonitors/model_connectionmonitortestgroup.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectionmonitors/model_connectionmonitortestgroup.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectionmonitors/model_connectionmonitortestgroup.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectionmonitors/model_connectionmonitorworkspacesettings.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectionmonitors/model_connectionmonitorworkspacesettings.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectionmonitors/model_connectionmonitorworkspacesettings.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectionmonitors/model_connectionmonitorworkspacesettings.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectionmonitors/model_connectionstatesnapshot.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectionmonitors/model_connectionstatesnapshot.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectionmonitors/model_connectionstatesnapshot.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectionmonitors/model_connectionstatesnapshot.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectionmonitors/model_connectivityhop.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectionmonitors/model_connectivityhop.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectionmonitors/model_connectivityhop.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectionmonitors/model_connectivityhop.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectionmonitors/model_connectivityissue.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectionmonitors/model_connectivityissue.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectionmonitors/model_connectivityissue.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectionmonitors/model_connectivityissue.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectionmonitors/model_hoplink.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectionmonitors/model_hoplink.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectionmonitors/model_hoplink.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectionmonitors/model_hoplink.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectionmonitors/model_hoplinkproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectionmonitors/model_hoplinkproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectionmonitors/model_hoplinkproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectionmonitors/model_hoplinkproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectionmonitors/model_httpheader.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectionmonitors/model_httpheader.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectionmonitors/model_httpheader.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectionmonitors/model_httpheader.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectionmonitors/model_tagsobject.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectionmonitors/model_tagsobject.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectionmonitors/model_tagsobject.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectionmonitors/model_tagsobject.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectionmonitors/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectionmonitors/version.go new file mode 100644 index 000000000000..9187d7178967 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectionmonitors/version.go @@ -0,0 +1,10 @@ +package connectionmonitors + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2024-03-01" + +func userAgent() string { + return "hashicorp/go-azure-sdk/connectionmonitors/2024-03-01" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectivityconfigurations/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectivityconfigurations/README.md new file mode 100644 index 000000000000..9618b373458c --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectivityconfigurations/README.md @@ -0,0 +1,86 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectivityconfigurations` Documentation + +The `connectivityconfigurations` SDK allows for interaction with Azure Resource Manager `network` (API Version `2024-03-01`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectivityconfigurations" +``` + + +### Client Initialization + +```go +client := connectivityconfigurations.NewConnectivityConfigurationsClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `ConnectivityConfigurationsClient.CreateOrUpdate` + +```go +ctx := context.TODO() +id := connectivityconfigurations.NewConnectivityConfigurationID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkManagerName", "connectivityConfigurationName") + +payload := connectivityconfigurations.ConnectivityConfiguration{ + // ... +} + + +read, err := client.CreateOrUpdate(ctx, id, payload) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `ConnectivityConfigurationsClient.Delete` + +```go +ctx := context.TODO() +id := connectivityconfigurations.NewConnectivityConfigurationID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkManagerName", "connectivityConfigurationName") + +if err := client.DeleteThenPoll(ctx, id, connectivityconfigurations.DefaultDeleteOperationOptions()); err != nil { + // handle the error +} +``` + + +### Example Usage: `ConnectivityConfigurationsClient.Get` + +```go +ctx := context.TODO() +id := connectivityconfigurations.NewConnectivityConfigurationID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkManagerName", "connectivityConfigurationName") + +read, err := client.Get(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `ConnectivityConfigurationsClient.List` + +```go +ctx := context.TODO() +id := connectivityconfigurations.NewNetworkManagerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkManagerName") + +// alternatively `client.List(ctx, id, connectivityconfigurations.DefaultListOperationOptions())` can be used to do batched pagination +items, err := client.ListComplete(ctx, id, connectivityconfigurations.DefaultListOperationOptions()) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectivityconfigurations/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectivityconfigurations/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectivityconfigurations/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectivityconfigurations/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectivityconfigurations/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectivityconfigurations/constants.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectivityconfigurations/constants.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectivityconfigurations/constants.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectivityconfigurations/id_connectivityconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectivityconfigurations/id_connectivityconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectivityconfigurations/id_connectivityconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectivityconfigurations/id_connectivityconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectivityconfigurations/id_networkmanager.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectivityconfigurations/id_networkmanager.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectivityconfigurations/id_networkmanager.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectivityconfigurations/id_networkmanager.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectivityconfigurations/method_createorupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectivityconfigurations/method_createorupdate.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectivityconfigurations/method_createorupdate.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectivityconfigurations/method_createorupdate.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectivityconfigurations/method_delete.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectivityconfigurations/method_delete.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectivityconfigurations/method_delete.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectivityconfigurations/method_delete.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectivityconfigurations/method_get.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectivityconfigurations/method_get.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectivityconfigurations/method_get.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectivityconfigurations/method_get.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectivityconfigurations/method_list.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectivityconfigurations/method_list.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectivityconfigurations/method_list.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectivityconfigurations/method_list.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectivityconfigurations/model_connectivityconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectivityconfigurations/model_connectivityconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectivityconfigurations/model_connectivityconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectivityconfigurations/model_connectivityconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectivityconfigurations/model_connectivityconfigurationproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectivityconfigurations/model_connectivityconfigurationproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectivityconfigurations/model_connectivityconfigurationproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectivityconfigurations/model_connectivityconfigurationproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectivityconfigurations/model_connectivitygroupitem.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectivityconfigurations/model_connectivitygroupitem.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectivityconfigurations/model_connectivitygroupitem.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectivityconfigurations/model_connectivitygroupitem.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectivityconfigurations/model_hub.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectivityconfigurations/model_hub.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectivityconfigurations/model_hub.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectivityconfigurations/model_hub.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectivityconfigurations/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectivityconfigurations/predicates.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectivityconfigurations/predicates.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectivityconfigurations/predicates.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectivityconfigurations/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectivityconfigurations/version.go new file mode 100644 index 000000000000..37f9d754fae4 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectivityconfigurations/version.go @@ -0,0 +1,10 @@ +package connectivityconfigurations + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2024-03-01" + +func userAgent() string { + return "hashicorp/go-azure-sdk/connectivityconfigurations/2024-03-01" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/customipprefixes/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/customipprefixes/README.md new file mode 100644 index 000000000000..eef95f2721d4 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/customipprefixes/README.md @@ -0,0 +1,121 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/customipprefixes` Documentation + +The `customipprefixes` SDK allows for interaction with Azure Resource Manager `network` (API Version `2024-03-01`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" +import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/customipprefixes" +``` + + +### Client Initialization + +```go +client := customipprefixes.NewCustomIPPrefixesClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `CustomIPPrefixesClient.CreateOrUpdate` + +```go +ctx := context.TODO() +id := customipprefixes.NewCustomIPPrefixID("12345678-1234-9876-4563-123456789012", "example-resource-group", "customIPPrefixName") + +payload := customipprefixes.CustomIPPrefix{ + // ... +} + + +if err := client.CreateOrUpdateThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `CustomIPPrefixesClient.Delete` + +```go +ctx := context.TODO() +id := customipprefixes.NewCustomIPPrefixID("12345678-1234-9876-4563-123456789012", "example-resource-group", "customIPPrefixName") + +if err := client.DeleteThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `CustomIPPrefixesClient.Get` + +```go +ctx := context.TODO() +id := customipprefixes.NewCustomIPPrefixID("12345678-1234-9876-4563-123456789012", "example-resource-group", "customIPPrefixName") + +read, err := client.Get(ctx, id, customipprefixes.DefaultGetOperationOptions()) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `CustomIPPrefixesClient.List` + +```go +ctx := context.TODO() +id := commonids.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group") + +// alternatively `client.List(ctx, id)` can be used to do batched pagination +items, err := client.ListComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `CustomIPPrefixesClient.ListAll` + +```go +ctx := context.TODO() +id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012") + +// alternatively `client.ListAll(ctx, id)` can be used to do batched pagination +items, err := client.ListAllComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `CustomIPPrefixesClient.UpdateTags` + +```go +ctx := context.TODO() +id := customipprefixes.NewCustomIPPrefixID("12345678-1234-9876-4563-123456789012", "example-resource-group", "customIPPrefixName") + +payload := customipprefixes.TagsObject{ + // ... +} + + +read, err := client.UpdateTags(ctx, id, payload) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/customipprefixes/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/customipprefixes/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/customipprefixes/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/customipprefixes/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/customipprefixes/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/customipprefixes/constants.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/customipprefixes/constants.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/customipprefixes/constants.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/customipprefixes/id_customipprefix.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/customipprefixes/id_customipprefix.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/customipprefixes/id_customipprefix.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/customipprefixes/id_customipprefix.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/customipprefixes/method_createorupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/customipprefixes/method_createorupdate.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/customipprefixes/method_createorupdate.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/customipprefixes/method_createorupdate.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/customipprefixes/method_delete.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/customipprefixes/method_delete.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/customipprefixes/method_delete.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/customipprefixes/method_delete.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/customipprefixes/method_get.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/customipprefixes/method_get.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/customipprefixes/method_get.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/customipprefixes/method_get.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/customipprefixes/method_list.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/customipprefixes/method_list.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/customipprefixes/method_list.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/customipprefixes/method_list.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/customipprefixes/method_listall.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/customipprefixes/method_listall.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/customipprefixes/method_listall.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/customipprefixes/method_listall.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/customipprefixes/method_updatetags.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/customipprefixes/method_updatetags.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/customipprefixes/method_updatetags.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/customipprefixes/method_updatetags.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/customipprefixes/model_customipprefix.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/customipprefixes/model_customipprefix.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/customipprefixes/model_customipprefix.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/customipprefixes/model_customipprefix.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/customipprefixes/model_customipprefixpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/customipprefixes/model_customipprefixpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/customipprefixes/model_customipprefixpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/customipprefixes/model_customipprefixpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/customipprefixes/model_subresource.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/customipprefixes/model_subresource.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/customipprefixes/model_subresource.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/customipprefixes/model_subresource.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/customipprefixes/model_tagsobject.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/customipprefixes/model_tagsobject.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/customipprefixes/model_tagsobject.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/customipprefixes/model_tagsobject.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/customipprefixes/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/customipprefixes/predicates.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/customipprefixes/predicates.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/customipprefixes/predicates.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/customipprefixes/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/customipprefixes/version.go new file mode 100644 index 000000000000..aa6b2ccad1f5 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/customipprefixes/version.go @@ -0,0 +1,10 @@ +package customipprefixes + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2024-03-01" + +func userAgent() string { + return "hashicorp/go-azure-sdk/customipprefixes/2024-03-01" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ddoscustompolicies/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ddoscustompolicies/README.md new file mode 100644 index 000000000000..9b93d014bc62 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ddoscustompolicies/README.md @@ -0,0 +1,86 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ddoscustompolicies` Documentation + +The `ddoscustompolicies` SDK allows for interaction with Azure Resource Manager `network` (API Version `2024-03-01`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ddoscustompolicies" +``` + + +### Client Initialization + +```go +client := ddoscustompolicies.NewDdosCustomPoliciesClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `DdosCustomPoliciesClient.CreateOrUpdate` + +```go +ctx := context.TODO() +id := ddoscustompolicies.NewDdosCustomPolicyID("12345678-1234-9876-4563-123456789012", "example-resource-group", "ddosCustomPolicyName") + +payload := ddoscustompolicies.DdosCustomPolicy{ + // ... +} + + +if err := client.CreateOrUpdateThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `DdosCustomPoliciesClient.Delete` + +```go +ctx := context.TODO() +id := ddoscustompolicies.NewDdosCustomPolicyID("12345678-1234-9876-4563-123456789012", "example-resource-group", "ddosCustomPolicyName") + +if err := client.DeleteThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `DdosCustomPoliciesClient.Get` + +```go +ctx := context.TODO() +id := ddoscustompolicies.NewDdosCustomPolicyID("12345678-1234-9876-4563-123456789012", "example-resource-group", "ddosCustomPolicyName") + +read, err := client.Get(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `DdosCustomPoliciesClient.UpdateTags` + +```go +ctx := context.TODO() +id := ddoscustompolicies.NewDdosCustomPolicyID("12345678-1234-9876-4563-123456789012", "example-resource-group", "ddosCustomPolicyName") + +payload := ddoscustompolicies.TagsObject{ + // ... +} + + +read, err := client.UpdateTags(ctx, id, payload) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ddoscustompolicies/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ddoscustompolicies/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ddoscustompolicies/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ddoscustompolicies/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ddoscustompolicies/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ddoscustompolicies/constants.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ddoscustompolicies/constants.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ddoscustompolicies/constants.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ddoscustompolicies/id_ddoscustompolicy.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ddoscustompolicies/id_ddoscustompolicy.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ddoscustompolicies/id_ddoscustompolicy.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ddoscustompolicies/id_ddoscustompolicy.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ddoscustompolicies/method_createorupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ddoscustompolicies/method_createorupdate.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ddoscustompolicies/method_createorupdate.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ddoscustompolicies/method_createorupdate.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ddoscustompolicies/method_delete.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ddoscustompolicies/method_delete.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ddoscustompolicies/method_delete.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ddoscustompolicies/method_delete.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ddoscustompolicies/method_get.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ddoscustompolicies/method_get.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ddoscustompolicies/method_get.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ddoscustompolicies/method_get.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ddoscustompolicies/method_updatetags.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ddoscustompolicies/method_updatetags.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ddoscustompolicies/method_updatetags.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ddoscustompolicies/method_updatetags.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ddoscustompolicies/model_ddoscustompolicy.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ddoscustompolicies/model_ddoscustompolicy.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ddoscustompolicies/model_ddoscustompolicy.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ddoscustompolicies/model_ddoscustompolicy.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ddoscustompolicies/model_ddoscustompolicypropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ddoscustompolicies/model_ddoscustompolicypropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ddoscustompolicies/model_ddoscustompolicypropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ddoscustompolicies/model_ddoscustompolicypropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ddoscustompolicies/model_tagsobject.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ddoscustompolicies/model_tagsobject.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ddoscustompolicies/model_tagsobject.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ddoscustompolicies/model_tagsobject.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ddoscustompolicies/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ddoscustompolicies/version.go new file mode 100644 index 000000000000..bb632dbc27ab --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ddoscustompolicies/version.go @@ -0,0 +1,10 @@ +package ddoscustompolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2024-03-01" + +func userAgent() string { + return "hashicorp/go-azure-sdk/ddoscustompolicies/2024-03-01" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ddosprotectionplans/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ddosprotectionplans/README.md new file mode 100644 index 000000000000..28e27914bbc0 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ddosprotectionplans/README.md @@ -0,0 +1,121 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ddosprotectionplans` Documentation + +The `ddosprotectionplans` SDK allows for interaction with Azure Resource Manager `network` (API Version `2024-03-01`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" +import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ddosprotectionplans" +``` + + +### Client Initialization + +```go +client := ddosprotectionplans.NewDdosProtectionPlansClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `DdosProtectionPlansClient.CreateOrUpdate` + +```go +ctx := context.TODO() +id := ddosprotectionplans.NewDdosProtectionPlanID("12345678-1234-9876-4563-123456789012", "example-resource-group", "ddosProtectionPlanName") + +payload := ddosprotectionplans.DdosProtectionPlan{ + // ... +} + + +if err := client.CreateOrUpdateThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `DdosProtectionPlansClient.Delete` + +```go +ctx := context.TODO() +id := ddosprotectionplans.NewDdosProtectionPlanID("12345678-1234-9876-4563-123456789012", "example-resource-group", "ddosProtectionPlanName") + +if err := client.DeleteThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `DdosProtectionPlansClient.Get` + +```go +ctx := context.TODO() +id := ddosprotectionplans.NewDdosProtectionPlanID("12345678-1234-9876-4563-123456789012", "example-resource-group", "ddosProtectionPlanName") + +read, err := client.Get(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `DdosProtectionPlansClient.List` + +```go +ctx := context.TODO() +id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012") + +// alternatively `client.List(ctx, id)` can be used to do batched pagination +items, err := client.ListComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `DdosProtectionPlansClient.ListByResourceGroup` + +```go +ctx := context.TODO() +id := commonids.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group") + +// alternatively `client.ListByResourceGroup(ctx, id)` can be used to do batched pagination +items, err := client.ListByResourceGroupComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `DdosProtectionPlansClient.UpdateTags` + +```go +ctx := context.TODO() +id := ddosprotectionplans.NewDdosProtectionPlanID("12345678-1234-9876-4563-123456789012", "example-resource-group", "ddosProtectionPlanName") + +payload := ddosprotectionplans.TagsObject{ + // ... +} + + +read, err := client.UpdateTags(ctx, id, payload) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ddosprotectionplans/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ddosprotectionplans/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ddosprotectionplans/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ddosprotectionplans/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ddosprotectionplans/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ddosprotectionplans/constants.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ddosprotectionplans/constants.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ddosprotectionplans/constants.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ddosprotectionplans/id_ddosprotectionplan.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ddosprotectionplans/id_ddosprotectionplan.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ddosprotectionplans/id_ddosprotectionplan.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ddosprotectionplans/id_ddosprotectionplan.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ddosprotectionplans/method_createorupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ddosprotectionplans/method_createorupdate.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ddosprotectionplans/method_createorupdate.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ddosprotectionplans/method_createorupdate.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ddosprotectionplans/method_delete.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ddosprotectionplans/method_delete.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ddosprotectionplans/method_delete.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ddosprotectionplans/method_delete.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ddosprotectionplans/method_get.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ddosprotectionplans/method_get.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ddosprotectionplans/method_get.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ddosprotectionplans/method_get.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ddosprotectionplans/method_list.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ddosprotectionplans/method_list.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ddosprotectionplans/method_list.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ddosprotectionplans/method_list.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ddosprotectionplans/method_listbyresourcegroup.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ddosprotectionplans/method_listbyresourcegroup.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ddosprotectionplans/method_listbyresourcegroup.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ddosprotectionplans/method_listbyresourcegroup.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ddosprotectionplans/method_updatetags.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ddosprotectionplans/method_updatetags.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ddosprotectionplans/method_updatetags.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ddosprotectionplans/method_updatetags.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ddosprotectionplans/model_ddosprotectionplan.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ddosprotectionplans/model_ddosprotectionplan.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ddosprotectionplans/model_ddosprotectionplan.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ddosprotectionplans/model_ddosprotectionplan.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ddosprotectionplans/model_ddosprotectionplanpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ddosprotectionplans/model_ddosprotectionplanpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ddosprotectionplans/model_ddosprotectionplanpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ddosprotectionplans/model_ddosprotectionplanpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ddosprotectionplans/model_subresource.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ddosprotectionplans/model_subresource.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ddosprotectionplans/model_subresource.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ddosprotectionplans/model_subresource.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ddosprotectionplans/model_tagsobject.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ddosprotectionplans/model_tagsobject.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ddosprotectionplans/model_tagsobject.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ddosprotectionplans/model_tagsobject.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ddosprotectionplans/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ddosprotectionplans/predicates.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ddosprotectionplans/predicates.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ddosprotectionplans/predicates.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ddosprotectionplans/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ddosprotectionplans/version.go new file mode 100644 index 000000000000..e88360e45199 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ddosprotectionplans/version.go @@ -0,0 +1,10 @@ +package ddosprotectionplans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2024-03-01" + +func userAgent() string { + return "hashicorp/go-azure-sdk/ddosprotectionplans/2024-03-01" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/README.md new file mode 100644 index 000000000000..ef3b05484153 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/README.md @@ -0,0 +1,65 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration` Documentation + +The `dscpconfiguration` SDK allows for interaction with Azure Resource Manager `network` (API Version `2024-03-01`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration" +``` + + +### Client Initialization + +```go +client := dscpconfiguration.NewDscpConfigurationClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `DscpConfigurationClient.CreateOrUpdate` + +```go +ctx := context.TODO() +id := dscpconfiguration.NewDscpConfigurationID("12345678-1234-9876-4563-123456789012", "example-resource-group", "dscpConfigurationName") + +payload := dscpconfiguration.DscpConfiguration{ + // ... +} + + +if err := client.CreateOrUpdateThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `DscpConfigurationClient.Delete` + +```go +ctx := context.TODO() +id := dscpconfiguration.NewDscpConfigurationID("12345678-1234-9876-4563-123456789012", "example-resource-group", "dscpConfigurationName") + +if err := client.DeleteThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `DscpConfigurationClient.Get` + +```go +ctx := context.TODO() +id := dscpconfiguration.NewDscpConfigurationID("12345678-1234-9876-4563-123456789012", "example-resource-group", "dscpConfigurationName") + +read, err := client.Get(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/constants.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/constants.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/constants.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/id_dscpconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/id_dscpconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/id_dscpconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/id_dscpconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/method_createorupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/method_createorupdate.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/method_createorupdate.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/method_createorupdate.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/method_delete.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/method_delete.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/method_delete.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/method_delete.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/method_get.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/method_get.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/method_get.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/method_get.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_applicationgatewaybackendaddress.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_applicationgatewaybackendaddress.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_applicationgatewaybackendaddress.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_applicationgatewaybackendaddress.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_applicationgatewaybackendaddresspool.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_applicationgatewaybackendaddresspool.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_applicationgatewaybackendaddresspool.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_applicationgatewaybackendaddresspool.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_applicationgatewaybackendaddresspoolpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_applicationgatewaybackendaddresspoolpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_applicationgatewaybackendaddresspoolpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_applicationgatewaybackendaddresspoolpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_applicationgatewayipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_applicationgatewayipconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_applicationgatewayipconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_applicationgatewayipconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_applicationgatewayipconfigurationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_applicationgatewayipconfigurationpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_applicationgatewayipconfigurationpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_applicationgatewayipconfigurationpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_applicationsecuritygroup.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_applicationsecuritygroup.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_applicationsecuritygroup.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_applicationsecuritygroup.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_applicationsecuritygrouppropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_applicationsecuritygrouppropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_applicationsecuritygrouppropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_applicationsecuritygrouppropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_backendaddresspool.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_backendaddresspool.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_backendaddresspool.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_backendaddresspool.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_backendaddresspoolpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_backendaddresspoolpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_backendaddresspoolpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_backendaddresspoolpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_customdnsconfigpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_customdnsconfigpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_customdnsconfigpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_customdnsconfigpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_ddossettings.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_ddossettings.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_ddossettings.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_ddossettings.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_delegation.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_delegation.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_delegation.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_delegation.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_dscpconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_dscpconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_dscpconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_dscpconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_dscpconfigurationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_dscpconfigurationpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_dscpconfigurationpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_dscpconfigurationpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_flowlog.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_flowlog.go new file mode 100644 index 000000000000..bf6d87804608 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_flowlog.go @@ -0,0 +1,19 @@ +package dscpconfiguration + +import ( + "github.com/hashicorp/go-azure-helpers/resourcemanager/identity" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type FlowLog struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Identity *identity.SystemAndUserAssignedMap `json:"identity,omitempty"` + Location *string `json:"location,omitempty"` + Name *string `json:"name,omitempty"` + Properties *FlowLogPropertiesFormat `json:"properties,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_flowlogformatparameters.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_flowlogformatparameters.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_flowlogformatparameters.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_flowlogformatparameters.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_flowlogpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_flowlogpropertiesformat.go new file mode 100644 index 000000000000..11e34ba75a8b --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_flowlogpropertiesformat.go @@ -0,0 +1,16 @@ +package dscpconfiguration + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type FlowLogPropertiesFormat struct { + Enabled *bool `json:"enabled,omitempty"` + EnabledFilteringCriteria *string `json:"enabledFilteringCriteria,omitempty"` + FlowAnalyticsConfiguration *TrafficAnalyticsProperties `json:"flowAnalyticsConfiguration,omitempty"` + Format *FlowLogFormatParameters `json:"format,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + RetentionPolicy *RetentionPolicyParameters `json:"retentionPolicy,omitempty"` + StorageId string `json:"storageId"` + TargetResourceGuid *string `json:"targetResourceGuid,omitempty"` + TargetResourceId string `json:"targetResourceId"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_frontendipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_frontendipconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_frontendipconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_frontendipconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_frontendipconfigurationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_frontendipconfigurationpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_frontendipconfigurationpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_frontendipconfigurationpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_gatewayloadbalancertunnelinterface.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_gatewayloadbalancertunnelinterface.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_gatewayloadbalancertunnelinterface.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_gatewayloadbalancertunnelinterface.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_inboundnatrule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_inboundnatrule.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_inboundnatrule.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_inboundnatrule.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_inboundnatrulepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_inboundnatrulepropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_inboundnatrulepropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_inboundnatrulepropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_ipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_ipconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_ipconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_ipconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_ipconfigurationprofile.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_ipconfigurationprofile.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_ipconfigurationprofile.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_ipconfigurationprofile.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_ipconfigurationprofilepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_ipconfigurationprofilepropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_ipconfigurationprofilepropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_ipconfigurationprofilepropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_ipconfigurationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_ipconfigurationpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_ipconfigurationpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_ipconfigurationpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_iptag.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_iptag.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_iptag.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_iptag.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_loadbalancerbackendaddress.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_loadbalancerbackendaddress.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_loadbalancerbackendaddress.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_loadbalancerbackendaddress.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_loadbalancerbackendaddresspropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_loadbalancerbackendaddresspropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_loadbalancerbackendaddresspropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_loadbalancerbackendaddresspropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_natgateway.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_natgateway.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_natgateway.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_natgateway.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_natgatewaypropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_natgatewaypropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_natgatewaypropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_natgatewaypropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_natgatewaysku.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_natgatewaysku.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_natgatewaysku.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_natgatewaysku.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_natruleportmapping.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_natruleportmapping.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_natruleportmapping.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_natruleportmapping.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_networkinterface.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_networkinterface.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_networkinterface.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_networkinterface.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_networkinterfacednssettings.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_networkinterfacednssettings.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_networkinterfacednssettings.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_networkinterfacednssettings.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_networkinterfaceipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_networkinterfaceipconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_networkinterfaceipconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_networkinterfaceipconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_networkinterfaceipconfigurationprivatelinkconnectionproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_networkinterfaceipconfigurationprivatelinkconnectionproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_networkinterfaceipconfigurationprivatelinkconnectionproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_networkinterfaceipconfigurationprivatelinkconnectionproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_networkinterfaceipconfigurationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_networkinterfaceipconfigurationpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_networkinterfaceipconfigurationpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_networkinterfaceipconfigurationpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_networkinterfacepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_networkinterfacepropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_networkinterfacepropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_networkinterfacepropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_networkinterfacetapconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_networkinterfacetapconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_networkinterfacetapconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_networkinterfacetapconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_networkinterfacetapconfigurationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_networkinterfacetapconfigurationpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_networkinterfacetapconfigurationpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_networkinterfacetapconfigurationpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_networksecuritygroup.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_networksecuritygroup.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_networksecuritygroup.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_networksecuritygroup.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_networksecuritygrouppropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_networksecuritygrouppropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_networksecuritygrouppropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_networksecuritygrouppropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_privateendpoint.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_privateendpoint.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_privateendpoint.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_privateendpoint.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_privateendpointconnection.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_privateendpointconnection.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_privateendpointconnection.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_privateendpointconnection.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_privateendpointconnectionproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_privateendpointconnectionproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_privateendpointconnectionproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_privateendpointconnectionproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_privateendpointipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_privateendpointipconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_privateendpointipconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_privateendpointipconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_privateendpointipconfigurationproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_privateendpointipconfigurationproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_privateendpointipconfigurationproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_privateendpointipconfigurationproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_privateendpointproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_privateendpointproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_privateendpointproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_privateendpointproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_privatelinkservice.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_privatelinkservice.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_privatelinkservice.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_privatelinkservice.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_privatelinkserviceconnection.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_privatelinkserviceconnection.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_privatelinkserviceconnection.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_privatelinkserviceconnection.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_privatelinkserviceconnectionproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_privatelinkserviceconnectionproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_privatelinkserviceconnectionproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_privatelinkserviceconnectionproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_privatelinkserviceconnectionstate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_privatelinkserviceconnectionstate.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_privatelinkserviceconnectionstate.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_privatelinkserviceconnectionstate.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_privatelinkserviceipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_privatelinkserviceipconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_privatelinkserviceipconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_privatelinkserviceipconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_privatelinkserviceipconfigurationproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_privatelinkserviceipconfigurationproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_privatelinkserviceipconfigurationproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_privatelinkserviceipconfigurationproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_privatelinkserviceproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_privatelinkserviceproperties.go new file mode 100644 index 000000000000..414f505d677c --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_privatelinkserviceproperties.go @@ -0,0 +1,18 @@ +package dscpconfiguration + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PrivateLinkServiceProperties struct { + Alias *string `json:"alias,omitempty"` + AutoApproval *ResourceSet `json:"autoApproval,omitempty"` + DestinationIPAddress *string `json:"destinationIPAddress,omitempty"` + EnableProxyProtocol *bool `json:"enableProxyProtocol,omitempty"` + Fqdns *[]string `json:"fqdns,omitempty"` + IPConfigurations *[]PrivateLinkServiceIPConfiguration `json:"ipConfigurations,omitempty"` + LoadBalancerFrontendIPConfigurations *[]FrontendIPConfiguration `json:"loadBalancerFrontendIpConfigurations,omitempty"` + NetworkInterfaces *[]NetworkInterface `json:"networkInterfaces,omitempty"` + PrivateEndpointConnections *[]PrivateEndpointConnection `json:"privateEndpointConnections,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + Visibility *ResourceSet `json:"visibility,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_publicipaddress.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_publicipaddress.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_publicipaddress.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_publicipaddress.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_publicipaddressdnssettings.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_publicipaddressdnssettings.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_publicipaddressdnssettings.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_publicipaddressdnssettings.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_publicipaddresspropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_publicipaddresspropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_publicipaddresspropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_publicipaddresspropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_publicipaddresssku.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_publicipaddresssku.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_publicipaddresssku.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_publicipaddresssku.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_qosdefinition.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_qosdefinition.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_qosdefinition.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_qosdefinition.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_qosiprange.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_qosiprange.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_qosiprange.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_qosiprange.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_qosportrange.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_qosportrange.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_qosportrange.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_qosportrange.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_resourcenavigationlink.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_resourcenavigationlink.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_resourcenavigationlink.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_resourcenavigationlink.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_resourcenavigationlinkformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_resourcenavigationlinkformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_resourcenavigationlinkformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_resourcenavigationlinkformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_resourceset.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_resourceset.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_resourceset.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_resourceset.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_retentionpolicyparameters.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_retentionpolicyparameters.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_retentionpolicyparameters.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_retentionpolicyparameters.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_route.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_route.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_route.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_route.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_routepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_routepropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_routepropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_routepropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_routetable.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_routetable.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_routetable.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_routetable.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_routetablepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_routetablepropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_routetablepropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_routetablepropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_securityrule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_securityrule.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_securityrule.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_securityrule.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_securityrulepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_securityrulepropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_securityrulepropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_securityrulepropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_serviceassociationlink.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_serviceassociationlink.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_serviceassociationlink.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_serviceassociationlink.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_serviceassociationlinkpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_serviceassociationlinkpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_serviceassociationlinkpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_serviceassociationlinkpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_servicedelegationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_servicedelegationpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_servicedelegationpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_servicedelegationpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_serviceendpointpolicy.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_serviceendpointpolicy.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_serviceendpointpolicy.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_serviceendpointpolicy.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_serviceendpointpolicydefinition.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_serviceendpointpolicydefinition.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_serviceendpointpolicydefinition.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_serviceendpointpolicydefinition.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_serviceendpointpolicydefinitionpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_serviceendpointpolicydefinitionpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_serviceendpointpolicydefinitionpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_serviceendpointpolicydefinitionpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_serviceendpointpolicypropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_serviceendpointpolicypropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_serviceendpointpolicypropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_serviceendpointpolicypropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_serviceendpointpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_serviceendpointpropertiesformat.go new file mode 100644 index 000000000000..aa82fc5a9eb1 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_serviceendpointpropertiesformat.go @@ -0,0 +1,11 @@ +package dscpconfiguration + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ServiceEndpointPropertiesFormat struct { + Locations *[]string `json:"locations,omitempty"` + NetworkIdentifier *SubResource `json:"networkIdentifier,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + Service *string `json:"service,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_subnet.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_subnet.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_subnet.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_subnet.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_subnetpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_subnetpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_subnetpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_subnetpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_subresource.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_subresource.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_subresource.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_subresource.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_trafficanalyticsconfigurationproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_trafficanalyticsconfigurationproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_trafficanalyticsconfigurationproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_trafficanalyticsconfigurationproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_trafficanalyticsproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_trafficanalyticsproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_trafficanalyticsproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_trafficanalyticsproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_virtualnetworktap.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_virtualnetworktap.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_virtualnetworktap.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_virtualnetworktap.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_virtualnetworktappropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_virtualnetworktappropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration/model_virtualnetworktappropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/model_virtualnetworktappropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/version.go new file mode 100644 index 000000000000..25e93e8703ad --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration/version.go @@ -0,0 +1,10 @@ +package dscpconfiguration + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2024-03-01" + +func userAgent() string { + return "hashicorp/go-azure-sdk/dscpconfiguration/2024-03-01" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/README.md new file mode 100644 index 000000000000..0edc6e72a11c --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/README.md @@ -0,0 +1,55 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations` Documentation + +The `dscpconfigurations` SDK allows for interaction with Azure Resource Manager `network` (API Version `2024-03-01`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" +import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations" +``` + + +### Client Initialization + +```go +client := dscpconfigurations.NewDscpConfigurationsClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `DscpConfigurationsClient.DscpConfigurationList` + +```go +ctx := context.TODO() +id := commonids.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group") + +// alternatively `client.DscpConfigurationList(ctx, id)` can be used to do batched pagination +items, err := client.DscpConfigurationListComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `DscpConfigurationsClient.DscpConfigurationListAll` + +```go +ctx := context.TODO() +id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012") + +// alternatively `client.DscpConfigurationListAll(ctx, id)` can be used to do batched pagination +items, err := client.DscpConfigurationListAllComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/constants.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/constants.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/constants.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/method_dscpconfigurationlist.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/method_dscpconfigurationlist.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/method_dscpconfigurationlist.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/method_dscpconfigurationlist.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/method_dscpconfigurationlistall.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/method_dscpconfigurationlistall.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/method_dscpconfigurationlistall.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/method_dscpconfigurationlistall.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_applicationgatewaybackendaddress.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_applicationgatewaybackendaddress.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_applicationgatewaybackendaddress.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_applicationgatewaybackendaddress.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_applicationgatewaybackendaddresspool.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_applicationgatewaybackendaddresspool.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_applicationgatewaybackendaddresspool.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_applicationgatewaybackendaddresspool.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_applicationgatewaybackendaddresspoolpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_applicationgatewaybackendaddresspoolpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_applicationgatewaybackendaddresspoolpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_applicationgatewaybackendaddresspoolpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_applicationgatewayipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_applicationgatewayipconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_applicationgatewayipconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_applicationgatewayipconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_applicationgatewayipconfigurationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_applicationgatewayipconfigurationpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_applicationgatewayipconfigurationpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_applicationgatewayipconfigurationpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_applicationsecuritygroup.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_applicationsecuritygroup.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_applicationsecuritygroup.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_applicationsecuritygroup.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_applicationsecuritygrouppropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_applicationsecuritygrouppropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_applicationsecuritygrouppropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_applicationsecuritygrouppropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_backendaddresspool.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_backendaddresspool.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_backendaddresspool.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_backendaddresspool.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_backendaddresspoolpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_backendaddresspoolpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_backendaddresspoolpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_backendaddresspoolpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_customdnsconfigpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_customdnsconfigpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_customdnsconfigpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_customdnsconfigpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_ddossettings.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_ddossettings.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_ddossettings.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_ddossettings.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_delegation.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_delegation.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_delegation.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_delegation.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_dscpconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_dscpconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_dscpconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_dscpconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_dscpconfigurationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_dscpconfigurationpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_dscpconfigurationpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_dscpconfigurationpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_flowlog.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_flowlog.go new file mode 100644 index 000000000000..c4fcf026e8ce --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_flowlog.go @@ -0,0 +1,19 @@ +package dscpconfigurations + +import ( + "github.com/hashicorp/go-azure-helpers/resourcemanager/identity" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type FlowLog struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Identity *identity.SystemAndUserAssignedMap `json:"identity,omitempty"` + Location *string `json:"location,omitempty"` + Name *string `json:"name,omitempty"` + Properties *FlowLogPropertiesFormat `json:"properties,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_flowlogformatparameters.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_flowlogformatparameters.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_flowlogformatparameters.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_flowlogformatparameters.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_flowlogpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_flowlogpropertiesformat.go new file mode 100644 index 000000000000..52821e95a743 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_flowlogpropertiesformat.go @@ -0,0 +1,16 @@ +package dscpconfigurations + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type FlowLogPropertiesFormat struct { + Enabled *bool `json:"enabled,omitempty"` + EnabledFilteringCriteria *string `json:"enabledFilteringCriteria,omitempty"` + FlowAnalyticsConfiguration *TrafficAnalyticsProperties `json:"flowAnalyticsConfiguration,omitempty"` + Format *FlowLogFormatParameters `json:"format,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + RetentionPolicy *RetentionPolicyParameters `json:"retentionPolicy,omitempty"` + StorageId string `json:"storageId"` + TargetResourceGuid *string `json:"targetResourceGuid,omitempty"` + TargetResourceId string `json:"targetResourceId"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_frontendipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_frontendipconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_frontendipconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_frontendipconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_frontendipconfigurationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_frontendipconfigurationpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_frontendipconfigurationpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_frontendipconfigurationpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_gatewayloadbalancertunnelinterface.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_gatewayloadbalancertunnelinterface.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_gatewayloadbalancertunnelinterface.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_gatewayloadbalancertunnelinterface.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_inboundnatrule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_inboundnatrule.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_inboundnatrule.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_inboundnatrule.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_inboundnatrulepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_inboundnatrulepropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_inboundnatrulepropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_inboundnatrulepropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_ipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_ipconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_ipconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_ipconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_ipconfigurationprofile.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_ipconfigurationprofile.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_ipconfigurationprofile.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_ipconfigurationprofile.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_ipconfigurationprofilepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_ipconfigurationprofilepropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_ipconfigurationprofilepropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_ipconfigurationprofilepropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_ipconfigurationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_ipconfigurationpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_ipconfigurationpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_ipconfigurationpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_iptag.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_iptag.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_iptag.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_iptag.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_loadbalancerbackendaddress.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_loadbalancerbackendaddress.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_loadbalancerbackendaddress.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_loadbalancerbackendaddress.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_loadbalancerbackendaddresspropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_loadbalancerbackendaddresspropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_loadbalancerbackendaddresspropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_loadbalancerbackendaddresspropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_natgateway.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_natgateway.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_natgateway.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_natgateway.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_natgatewaypropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_natgatewaypropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_natgatewaypropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_natgatewaypropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_natgatewaysku.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_natgatewaysku.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_natgatewaysku.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_natgatewaysku.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_natruleportmapping.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_natruleportmapping.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_natruleportmapping.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_natruleportmapping.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_networkinterface.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_networkinterface.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_networkinterface.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_networkinterface.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_networkinterfacednssettings.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_networkinterfacednssettings.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_networkinterfacednssettings.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_networkinterfacednssettings.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_networkinterfaceipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_networkinterfaceipconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_networkinterfaceipconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_networkinterfaceipconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_networkinterfaceipconfigurationprivatelinkconnectionproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_networkinterfaceipconfigurationprivatelinkconnectionproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_networkinterfaceipconfigurationprivatelinkconnectionproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_networkinterfaceipconfigurationprivatelinkconnectionproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_networkinterfaceipconfigurationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_networkinterfaceipconfigurationpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_networkinterfaceipconfigurationpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_networkinterfaceipconfigurationpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_networkinterfacepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_networkinterfacepropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_networkinterfacepropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_networkinterfacepropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_networkinterfacetapconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_networkinterfacetapconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_networkinterfacetapconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_networkinterfacetapconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_networkinterfacetapconfigurationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_networkinterfacetapconfigurationpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_networkinterfacetapconfigurationpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_networkinterfacetapconfigurationpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_networksecuritygroup.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_networksecuritygroup.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_networksecuritygroup.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_networksecuritygroup.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_networksecuritygrouppropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_networksecuritygrouppropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_networksecuritygrouppropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_networksecuritygrouppropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_privateendpoint.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_privateendpoint.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_privateendpoint.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_privateendpoint.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_privateendpointconnection.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_privateendpointconnection.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_privateendpointconnection.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_privateendpointconnection.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_privateendpointconnectionproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_privateendpointconnectionproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_privateendpointconnectionproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_privateendpointconnectionproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_privateendpointipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_privateendpointipconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_privateendpointipconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_privateendpointipconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_privateendpointipconfigurationproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_privateendpointipconfigurationproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_privateendpointipconfigurationproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_privateendpointipconfigurationproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_privateendpointproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_privateendpointproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_privateendpointproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_privateendpointproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_privatelinkservice.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_privatelinkservice.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_privatelinkservice.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_privatelinkservice.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_privatelinkserviceconnection.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_privatelinkserviceconnection.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_privatelinkserviceconnection.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_privatelinkserviceconnection.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_privatelinkserviceconnectionproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_privatelinkserviceconnectionproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_privatelinkserviceconnectionproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_privatelinkserviceconnectionproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_privatelinkserviceconnectionstate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_privatelinkserviceconnectionstate.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_privatelinkserviceconnectionstate.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_privatelinkserviceconnectionstate.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_privatelinkserviceipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_privatelinkserviceipconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_privatelinkserviceipconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_privatelinkserviceipconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_privatelinkserviceipconfigurationproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_privatelinkserviceipconfigurationproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_privatelinkserviceipconfigurationproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_privatelinkserviceipconfigurationproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_privatelinkserviceproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_privatelinkserviceproperties.go new file mode 100644 index 000000000000..97d69c9c1978 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_privatelinkserviceproperties.go @@ -0,0 +1,18 @@ +package dscpconfigurations + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PrivateLinkServiceProperties struct { + Alias *string `json:"alias,omitempty"` + AutoApproval *ResourceSet `json:"autoApproval,omitempty"` + DestinationIPAddress *string `json:"destinationIPAddress,omitempty"` + EnableProxyProtocol *bool `json:"enableProxyProtocol,omitempty"` + Fqdns *[]string `json:"fqdns,omitempty"` + IPConfigurations *[]PrivateLinkServiceIPConfiguration `json:"ipConfigurations,omitempty"` + LoadBalancerFrontendIPConfigurations *[]FrontendIPConfiguration `json:"loadBalancerFrontendIpConfigurations,omitempty"` + NetworkInterfaces *[]NetworkInterface `json:"networkInterfaces,omitempty"` + PrivateEndpointConnections *[]PrivateEndpointConnection `json:"privateEndpointConnections,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + Visibility *ResourceSet `json:"visibility,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_publicipaddress.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_publicipaddress.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_publicipaddress.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_publicipaddress.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_publicipaddressdnssettings.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_publicipaddressdnssettings.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_publicipaddressdnssettings.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_publicipaddressdnssettings.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_publicipaddresspropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_publicipaddresspropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_publicipaddresspropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_publicipaddresspropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_publicipaddresssku.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_publicipaddresssku.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_publicipaddresssku.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_publicipaddresssku.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_qosdefinition.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_qosdefinition.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_qosdefinition.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_qosdefinition.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_qosiprange.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_qosiprange.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_qosiprange.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_qosiprange.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_qosportrange.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_qosportrange.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_qosportrange.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_qosportrange.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_resourcenavigationlink.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_resourcenavigationlink.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_resourcenavigationlink.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_resourcenavigationlink.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_resourcenavigationlinkformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_resourcenavigationlinkformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_resourcenavigationlinkformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_resourcenavigationlinkformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_resourceset.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_resourceset.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_resourceset.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_resourceset.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_retentionpolicyparameters.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_retentionpolicyparameters.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_retentionpolicyparameters.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_retentionpolicyparameters.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_route.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_route.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_route.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_route.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_routepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_routepropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_routepropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_routepropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_routetable.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_routetable.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_routetable.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_routetable.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_routetablepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_routetablepropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_routetablepropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_routetablepropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_securityrule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_securityrule.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_securityrule.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_securityrule.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_securityrulepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_securityrulepropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_securityrulepropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_securityrulepropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_serviceassociationlink.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_serviceassociationlink.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_serviceassociationlink.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_serviceassociationlink.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_serviceassociationlinkpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_serviceassociationlinkpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_serviceassociationlinkpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_serviceassociationlinkpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_servicedelegationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_servicedelegationpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_servicedelegationpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_servicedelegationpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_serviceendpointpolicy.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_serviceendpointpolicy.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_serviceendpointpolicy.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_serviceendpointpolicy.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_serviceendpointpolicydefinition.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_serviceendpointpolicydefinition.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_serviceendpointpolicydefinition.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_serviceendpointpolicydefinition.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_serviceendpointpolicydefinitionpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_serviceendpointpolicydefinitionpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_serviceendpointpolicydefinitionpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_serviceendpointpolicydefinitionpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_serviceendpointpolicypropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_serviceendpointpolicypropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_serviceendpointpolicypropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_serviceendpointpolicypropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_serviceendpointpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_serviceendpointpropertiesformat.go new file mode 100644 index 000000000000..b8e43ff379c7 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_serviceendpointpropertiesformat.go @@ -0,0 +1,11 @@ +package dscpconfigurations + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ServiceEndpointPropertiesFormat struct { + Locations *[]string `json:"locations,omitempty"` + NetworkIdentifier *SubResource `json:"networkIdentifier,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + Service *string `json:"service,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_subnet.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_subnet.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_subnet.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_subnet.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_subnetpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_subnetpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_subnetpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_subnetpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_subresource.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_subresource.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_subresource.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_subresource.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_trafficanalyticsconfigurationproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_trafficanalyticsconfigurationproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_trafficanalyticsconfigurationproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_trafficanalyticsconfigurationproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_trafficanalyticsproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_trafficanalyticsproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_trafficanalyticsproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_trafficanalyticsproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_virtualnetworktap.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_virtualnetworktap.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_virtualnetworktap.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_virtualnetworktap.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_virtualnetworktappropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_virtualnetworktappropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/model_virtualnetworktappropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/model_virtualnetworktappropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/predicates.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations/predicates.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/predicates.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/version.go new file mode 100644 index 000000000000..0fd265ed561d --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations/version.go @@ -0,0 +1,10 @@ +package dscpconfigurations + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2024-03-01" + +func userAgent() string { + return "hashicorp/go-azure-sdk/dscpconfigurations/2024-03-01" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/endpointservices/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/endpointservices/README.md new file mode 100644 index 000000000000..c3b9dbf7d44f --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/endpointservices/README.md @@ -0,0 +1,37 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/endpointservices` Documentation + +The `endpointservices` SDK allows for interaction with Azure Resource Manager `network` (API Version `2024-03-01`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/endpointservices" +``` + + +### Client Initialization + +```go +client := endpointservices.NewEndpointServicesClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `EndpointServicesClient.AvailableEndpointServicesList` + +```go +ctx := context.TODO() +id := endpointservices.NewLocationID("12345678-1234-9876-4563-123456789012", "locationName") + +// alternatively `client.AvailableEndpointServicesList(ctx, id)` can be used to do batched pagination +items, err := client.AvailableEndpointServicesListComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/endpointservices/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/endpointservices/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/endpointservices/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/endpointservices/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/endpointservices/id_location.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/endpointservices/id_location.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/endpointservices/id_location.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/endpointservices/id_location.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/endpointservices/method_availableendpointserviceslist.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/endpointservices/method_availableendpointserviceslist.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/endpointservices/method_availableendpointserviceslist.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/endpointservices/method_availableendpointserviceslist.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/endpointservices/model_endpointserviceresult.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/endpointservices/model_endpointserviceresult.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/endpointservices/model_endpointserviceresult.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/endpointservices/model_endpointserviceresult.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/endpointservices/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/endpointservices/predicates.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/endpointservices/predicates.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/endpointservices/predicates.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/endpointservices/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/endpointservices/version.go new file mode 100644 index 000000000000..29392808d57e --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/endpointservices/version.go @@ -0,0 +1,10 @@ +package endpointservices + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2024-03-01" + +func userAgent() string { + return "hashicorp/go-azure-sdk/endpointservices/2024-03-01" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitarptable/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitarptable/README.md new file mode 100644 index 000000000000..a6f98d383ea8 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitarptable/README.md @@ -0,0 +1,37 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitarptable` Documentation + +The `expressroutecircuitarptable` SDK allows for interaction with Azure Resource Manager `network` (API Version `2024-03-01`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitarptable" +``` + + +### Client Initialization + +```go +client := expressroutecircuitarptable.NewExpressRouteCircuitArpTableClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `ExpressRouteCircuitArpTableClient.ExpressRouteCircuitsListArpTable` + +```go +ctx := context.TODO() +id := expressroutecircuitarptable.NewArpTableID("12345678-1234-9876-4563-123456789012", "example-resource-group", "expressRouteCircuitName", "peeringName", "arpTableName") + +// alternatively `client.ExpressRouteCircuitsListArpTable(ctx, id)` can be used to do batched pagination +items, err := client.ExpressRouteCircuitsListArpTableComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitarptable/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitarptable/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitarptable/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitarptable/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitarptable/id_arptable.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitarptable/id_arptable.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitarptable/id_arptable.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitarptable/id_arptable.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitarptable/method_expressroutecircuitslistarptable.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitarptable/method_expressroutecircuitslistarptable.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitarptable/method_expressroutecircuitslistarptable.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitarptable/method_expressroutecircuitslistarptable.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitarptable/model_expressroutecircuitarptable.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitarptable/model_expressroutecircuitarptable.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitarptable/model_expressroutecircuitarptable.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitarptable/model_expressroutecircuitarptable.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitarptable/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitarptable/predicates.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitarptable/predicates.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitarptable/predicates.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitarptable/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitarptable/version.go new file mode 100644 index 000000000000..3647d6c33251 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitarptable/version.go @@ -0,0 +1,10 @@ +package expressroutecircuitarptable + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2024-03-01" + +func userAgent() string { + return "hashicorp/go-azure-sdk/expressroutecircuitarptable/2024-03-01" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitauthorizations/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitauthorizations/README.md new file mode 100644 index 000000000000..f286292f2980 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitauthorizations/README.md @@ -0,0 +1,82 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitauthorizations` Documentation + +The `expressroutecircuitauthorizations` SDK allows for interaction with Azure Resource Manager `network` (API Version `2024-03-01`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitauthorizations" +``` + + +### Client Initialization + +```go +client := expressroutecircuitauthorizations.NewExpressRouteCircuitAuthorizationsClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `ExpressRouteCircuitAuthorizationsClient.CreateOrUpdate` + +```go +ctx := context.TODO() +id := expressroutecircuitauthorizations.NewAuthorizationID("12345678-1234-9876-4563-123456789012", "example-resource-group", "expressRouteCircuitName", "authorizationName") + +payload := expressroutecircuitauthorizations.ExpressRouteCircuitAuthorization{ + // ... +} + + +if err := client.CreateOrUpdateThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `ExpressRouteCircuitAuthorizationsClient.Delete` + +```go +ctx := context.TODO() +id := expressroutecircuitauthorizations.NewAuthorizationID("12345678-1234-9876-4563-123456789012", "example-resource-group", "expressRouteCircuitName", "authorizationName") + +if err := client.DeleteThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `ExpressRouteCircuitAuthorizationsClient.Get` + +```go +ctx := context.TODO() +id := expressroutecircuitauthorizations.NewAuthorizationID("12345678-1234-9876-4563-123456789012", "example-resource-group", "expressRouteCircuitName", "authorizationName") + +read, err := client.Get(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `ExpressRouteCircuitAuthorizationsClient.List` + +```go +ctx := context.TODO() +id := expressroutecircuitauthorizations.NewExpressRouteCircuitID("12345678-1234-9876-4563-123456789012", "example-resource-group", "expressRouteCircuitName") + +// alternatively `client.List(ctx, id)` can be used to do batched pagination +items, err := client.ListComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitauthorizations/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitauthorizations/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitauthorizations/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitauthorizations/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitauthorizations/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitauthorizations/constants.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitauthorizations/constants.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitauthorizations/constants.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitauthorizations/id_authorization.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitauthorizations/id_authorization.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitauthorizations/id_authorization.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitauthorizations/id_authorization.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitauthorizations/id_expressroutecircuit.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitauthorizations/id_expressroutecircuit.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitauthorizations/id_expressroutecircuit.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitauthorizations/id_expressroutecircuit.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitauthorizations/method_createorupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitauthorizations/method_createorupdate.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitauthorizations/method_createorupdate.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitauthorizations/method_createorupdate.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitauthorizations/method_delete.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitauthorizations/method_delete.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitauthorizations/method_delete.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitauthorizations/method_delete.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitauthorizations/method_get.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitauthorizations/method_get.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitauthorizations/method_get.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitauthorizations/method_get.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitauthorizations/method_list.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitauthorizations/method_list.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitauthorizations/method_list.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitauthorizations/method_list.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitauthorizations/model_authorizationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitauthorizations/model_authorizationpropertiesformat.go new file mode 100644 index 000000000000..0aa969a9e6f0 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitauthorizations/model_authorizationpropertiesformat.go @@ -0,0 +1,11 @@ +package expressroutecircuitauthorizations + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type AuthorizationPropertiesFormat struct { + AuthorizationKey *string `json:"authorizationKey,omitempty"` + AuthorizationUseStatus *AuthorizationUseStatus `json:"authorizationUseStatus,omitempty"` + ConnectionResourceUri *string `json:"connectionResourceUri,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitauthorizations/model_expressroutecircuitauthorization.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitauthorizations/model_expressroutecircuitauthorization.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitauthorizations/model_expressroutecircuitauthorization.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitauthorizations/model_expressroutecircuitauthorization.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitauthorizations/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitauthorizations/predicates.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitauthorizations/predicates.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitauthorizations/predicates.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitauthorizations/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitauthorizations/version.go new file mode 100644 index 000000000000..748256948c87 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitauthorizations/version.go @@ -0,0 +1,10 @@ +package expressroutecircuitauthorizations + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2024-03-01" + +func userAgent() string { + return "hashicorp/go-azure-sdk/expressroutecircuitauthorizations/2024-03-01" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitconnections/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitconnections/README.md new file mode 100644 index 000000000000..e3363bcae8a8 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitconnections/README.md @@ -0,0 +1,83 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitconnections` Documentation + +The `expressroutecircuitconnections` SDK allows for interaction with Azure Resource Manager `network` (API Version `2024-03-01`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" +import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitconnections" +``` + + +### Client Initialization + +```go +client := expressroutecircuitconnections.NewExpressRouteCircuitConnectionsClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `ExpressRouteCircuitConnectionsClient.CreateOrUpdate` + +```go +ctx := context.TODO() +id := expressroutecircuitconnections.NewPeeringConnectionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "expressRouteCircuitName", "peeringName", "connectionName") + +payload := expressroutecircuitconnections.ExpressRouteCircuitConnection{ + // ... +} + + +if err := client.CreateOrUpdateThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `ExpressRouteCircuitConnectionsClient.Delete` + +```go +ctx := context.TODO() +id := expressroutecircuitconnections.NewPeeringConnectionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "expressRouteCircuitName", "peeringName", "connectionName") + +if err := client.DeleteThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `ExpressRouteCircuitConnectionsClient.Get` + +```go +ctx := context.TODO() +id := expressroutecircuitconnections.NewPeeringConnectionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "expressRouteCircuitName", "peeringName", "connectionName") + +read, err := client.Get(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `ExpressRouteCircuitConnectionsClient.List` + +```go +ctx := context.TODO() +id := commonids.NewExpressRouteCircuitPeeringID("12345678-1234-9876-4563-123456789012", "example-resource-group", "expressRouteCircuitName", "peeringName") + +// alternatively `client.List(ctx, id)` can be used to do batched pagination +items, err := client.ListComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitconnections/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitconnections/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitconnections/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitconnections/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitconnections/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitconnections/constants.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitconnections/constants.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitconnections/constants.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitconnections/id_peeringconnection.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitconnections/id_peeringconnection.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitconnections/id_peeringconnection.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitconnections/id_peeringconnection.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitconnections/method_createorupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitconnections/method_createorupdate.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitconnections/method_createorupdate.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitconnections/method_createorupdate.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitconnections/method_delete.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitconnections/method_delete.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitconnections/method_delete.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitconnections/method_delete.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitconnections/method_get.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitconnections/method_get.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitconnections/method_get.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitconnections/method_get.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitconnections/method_list.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitconnections/method_list.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitconnections/method_list.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitconnections/method_list.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitconnections/model_expressroutecircuitconnection.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitconnections/model_expressroutecircuitconnection.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitconnections/model_expressroutecircuitconnection.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitconnections/model_expressroutecircuitconnection.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitconnections/model_expressroutecircuitconnectionpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitconnections/model_expressroutecircuitconnectionpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitconnections/model_expressroutecircuitconnectionpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitconnections/model_expressroutecircuitconnectionpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitconnections/model_ipv6circuitconnectionconfig.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitconnections/model_ipv6circuitconnectionconfig.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitconnections/model_ipv6circuitconnectionconfig.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitconnections/model_ipv6circuitconnectionconfig.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitconnections/model_subresource.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitconnections/model_subresource.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitconnections/model_subresource.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitconnections/model_subresource.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitconnections/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitconnections/predicates.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitconnections/predicates.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitconnections/predicates.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitconnections/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitconnections/version.go new file mode 100644 index 000000000000..d7398ff61441 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitconnections/version.go @@ -0,0 +1,10 @@ +package expressroutecircuitconnections + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2024-03-01" + +func userAgent() string { + return "hashicorp/go-azure-sdk/expressroutecircuitconnections/2024-03-01" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitpeerings/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitpeerings/README.md new file mode 100644 index 000000000000..3fda229eedea --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitpeerings/README.md @@ -0,0 +1,83 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitpeerings` Documentation + +The `expressroutecircuitpeerings` SDK allows for interaction with Azure Resource Manager `network` (API Version `2024-03-01`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" +import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitpeerings" +``` + + +### Client Initialization + +```go +client := expressroutecircuitpeerings.NewExpressRouteCircuitPeeringsClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `ExpressRouteCircuitPeeringsClient.CreateOrUpdate` + +```go +ctx := context.TODO() +id := commonids.NewExpressRouteCircuitPeeringID("12345678-1234-9876-4563-123456789012", "example-resource-group", "expressRouteCircuitName", "peeringName") + +payload := expressroutecircuitpeerings.ExpressRouteCircuitPeering{ + // ... +} + + +if err := client.CreateOrUpdateThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `ExpressRouteCircuitPeeringsClient.Delete` + +```go +ctx := context.TODO() +id := commonids.NewExpressRouteCircuitPeeringID("12345678-1234-9876-4563-123456789012", "example-resource-group", "expressRouteCircuitName", "peeringName") + +if err := client.DeleteThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `ExpressRouteCircuitPeeringsClient.Get` + +```go +ctx := context.TODO() +id := commonids.NewExpressRouteCircuitPeeringID("12345678-1234-9876-4563-123456789012", "example-resource-group", "expressRouteCircuitName", "peeringName") + +read, err := client.Get(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `ExpressRouteCircuitPeeringsClient.List` + +```go +ctx := context.TODO() +id := expressroutecircuitpeerings.NewExpressRouteCircuitID("12345678-1234-9876-4563-123456789012", "example-resource-group", "expressRouteCircuitName") + +// alternatively `client.List(ctx, id)` can be used to do batched pagination +items, err := client.ListComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitpeerings/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitpeerings/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitpeerings/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitpeerings/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitpeerings/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitpeerings/constants.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitpeerings/constants.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitpeerings/constants.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitpeerings/id_expressroutecircuit.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitpeerings/id_expressroutecircuit.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitpeerings/id_expressroutecircuit.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitpeerings/id_expressroutecircuit.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitpeerings/method_createorupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitpeerings/method_createorupdate.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitpeerings/method_createorupdate.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitpeerings/method_createorupdate.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitpeerings/method_delete.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitpeerings/method_delete.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitpeerings/method_delete.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitpeerings/method_delete.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitpeerings/method_get.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitpeerings/method_get.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitpeerings/method_get.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitpeerings/method_get.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitpeerings/method_list.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitpeerings/method_list.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitpeerings/method_list.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitpeerings/method_list.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitpeerings/model_expressroutecircuitconnection.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitpeerings/model_expressroutecircuitconnection.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitpeerings/model_expressroutecircuitconnection.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitpeerings/model_expressroutecircuitconnection.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitpeerings/model_expressroutecircuitconnectionpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitpeerings/model_expressroutecircuitconnectionpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitpeerings/model_expressroutecircuitconnectionpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitpeerings/model_expressroutecircuitconnectionpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitpeerings/model_expressroutecircuitpeering.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitpeerings/model_expressroutecircuitpeering.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitpeerings/model_expressroutecircuitpeering.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitpeerings/model_expressroutecircuitpeering.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitpeerings/model_expressroutecircuitpeeringconfig.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitpeerings/model_expressroutecircuitpeeringconfig.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitpeerings/model_expressroutecircuitpeeringconfig.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitpeerings/model_expressroutecircuitpeeringconfig.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitpeerings/model_expressroutecircuitpeeringpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitpeerings/model_expressroutecircuitpeeringpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitpeerings/model_expressroutecircuitpeeringpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitpeerings/model_expressroutecircuitpeeringpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitpeerings/model_expressroutecircuitstats.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitpeerings/model_expressroutecircuitstats.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitpeerings/model_expressroutecircuitstats.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitpeerings/model_expressroutecircuitstats.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitpeerings/model_expressrouteconnectionid.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitpeerings/model_expressrouteconnectionid.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitpeerings/model_expressrouteconnectionid.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitpeerings/model_expressrouteconnectionid.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitpeerings/model_ipv6circuitconnectionconfig.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitpeerings/model_ipv6circuitconnectionconfig.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitpeerings/model_ipv6circuitconnectionconfig.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitpeerings/model_ipv6circuitconnectionconfig.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitpeerings/model_ipv6expressroutecircuitpeeringconfig.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitpeerings/model_ipv6expressroutecircuitpeeringconfig.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitpeerings/model_ipv6expressroutecircuitpeeringconfig.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitpeerings/model_ipv6expressroutecircuitpeeringconfig.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitpeerings/model_peerexpressroutecircuitconnection.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitpeerings/model_peerexpressroutecircuitconnection.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitpeerings/model_peerexpressroutecircuitconnection.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitpeerings/model_peerexpressroutecircuitconnection.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitpeerings/model_peerexpressroutecircuitconnectionpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitpeerings/model_peerexpressroutecircuitconnectionpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitpeerings/model_peerexpressroutecircuitconnectionpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitpeerings/model_peerexpressroutecircuitconnectionpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitpeerings/model_subresource.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitpeerings/model_subresource.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitpeerings/model_subresource.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitpeerings/model_subresource.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitpeerings/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitpeerings/predicates.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitpeerings/predicates.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitpeerings/predicates.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitpeerings/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitpeerings/version.go new file mode 100644 index 000000000000..56541480c6bc --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitpeerings/version.go @@ -0,0 +1,10 @@ +package expressroutecircuitpeerings + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2024-03-01" + +func userAgent() string { + return "hashicorp/go-azure-sdk/expressroutecircuitpeerings/2024-03-01" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitroutestable/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitroutestable/README.md new file mode 100644 index 000000000000..af9de3000824 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitroutestable/README.md @@ -0,0 +1,37 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitroutestable` Documentation + +The `expressroutecircuitroutestable` SDK allows for interaction with Azure Resource Manager `network` (API Version `2024-03-01`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitroutestable" +``` + + +### Client Initialization + +```go +client := expressroutecircuitroutestable.NewExpressRouteCircuitRoutesTableClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `ExpressRouteCircuitRoutesTableClient.ExpressRouteCircuitsListRoutesTable` + +```go +ctx := context.TODO() +id := expressroutecircuitroutestable.NewPeeringRouteTableID("12345678-1234-9876-4563-123456789012", "example-resource-group", "expressRouteCircuitName", "peeringName", "routeTableName") + +// alternatively `client.ExpressRouteCircuitsListRoutesTable(ctx, id)` can be used to do batched pagination +items, err := client.ExpressRouteCircuitsListRoutesTableComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitroutestable/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitroutestable/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitroutestable/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitroutestable/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitroutestable/id_peeringroutetable.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitroutestable/id_peeringroutetable.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitroutestable/id_peeringroutetable.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitroutestable/id_peeringroutetable.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitroutestable/method_expressroutecircuitslistroutestable.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitroutestable/method_expressroutecircuitslistroutestable.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitroutestable/method_expressroutecircuitslistroutestable.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitroutestable/method_expressroutecircuitslistroutestable.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitroutestable/model_expressroutecircuitroutestable.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitroutestable/model_expressroutecircuitroutestable.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitroutestable/model_expressroutecircuitroutestable.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitroutestable/model_expressroutecircuitroutestable.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitroutestable/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitroutestable/predicates.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitroutestable/predicates.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitroutestable/predicates.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitroutestable/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitroutestable/version.go new file mode 100644 index 000000000000..afe2578084a6 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitroutestable/version.go @@ -0,0 +1,10 @@ +package expressroutecircuitroutestable + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2024-03-01" + +func userAgent() string { + return "hashicorp/go-azure-sdk/expressroutecircuitroutestable/2024-03-01" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitroutestablesummary/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitroutestablesummary/README.md new file mode 100644 index 000000000000..f753d6c848ee --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitroutestablesummary/README.md @@ -0,0 +1,37 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitroutestablesummary` Documentation + +The `expressroutecircuitroutestablesummary` SDK allows for interaction with Azure Resource Manager `network` (API Version `2024-03-01`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitroutestablesummary" +``` + + +### Client Initialization + +```go +client := expressroutecircuitroutestablesummary.NewExpressRouteCircuitRoutesTableSummaryClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `ExpressRouteCircuitRoutesTableSummaryClient.ExpressRouteCircuitsListRoutesTableSummary` + +```go +ctx := context.TODO() +id := expressroutecircuitroutestablesummary.NewRouteTablesSummaryID("12345678-1234-9876-4563-123456789012", "example-resource-group", "expressRouteCircuitName", "peeringName", "routeTablesSummaryName") + +// alternatively `client.ExpressRouteCircuitsListRoutesTableSummary(ctx, id)` can be used to do batched pagination +items, err := client.ExpressRouteCircuitsListRoutesTableSummaryComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitroutestablesummary/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitroutestablesummary/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitroutestablesummary/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitroutestablesummary/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitroutestablesummary/id_routetablessummary.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitroutestablesummary/id_routetablessummary.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitroutestablesummary/id_routetablessummary.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitroutestablesummary/id_routetablessummary.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitroutestablesummary/method_expressroutecircuitslistroutestablesummary.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitroutestablesummary/method_expressroutecircuitslistroutestablesummary.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitroutestablesummary/method_expressroutecircuitslistroutestablesummary.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitroutestablesummary/method_expressroutecircuitslistroutestablesummary.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitroutestablesummary/model_expressroutecircuitroutestablesummary.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitroutestablesummary/model_expressroutecircuitroutestablesummary.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitroutestablesummary/model_expressroutecircuitroutestablesummary.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitroutestablesummary/model_expressroutecircuitroutestablesummary.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitroutestablesummary/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitroutestablesummary/predicates.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitroutestablesummary/predicates.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitroutestablesummary/predicates.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitroutestablesummary/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitroutestablesummary/version.go new file mode 100644 index 000000000000..764aa6d0a348 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitroutestablesummary/version.go @@ -0,0 +1,10 @@ +package expressroutecircuitroutestablesummary + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2024-03-01" + +func userAgent() string { + return "hashicorp/go-azure-sdk/expressroutecircuitroutestablesummary/2024-03-01" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuits/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuits/README.md new file mode 100644 index 000000000000..ab5105831778 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuits/README.md @@ -0,0 +1,121 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuits` Documentation + +The `expressroutecircuits` SDK allows for interaction with Azure Resource Manager `network` (API Version `2024-03-01`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" +import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuits" +``` + + +### Client Initialization + +```go +client := expressroutecircuits.NewExpressRouteCircuitsClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `ExpressRouteCircuitsClient.CreateOrUpdate` + +```go +ctx := context.TODO() +id := expressroutecircuits.NewExpressRouteCircuitID("12345678-1234-9876-4563-123456789012", "example-resource-group", "expressRouteCircuitName") + +payload := expressroutecircuits.ExpressRouteCircuit{ + // ... +} + + +if err := client.CreateOrUpdateThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `ExpressRouteCircuitsClient.Delete` + +```go +ctx := context.TODO() +id := expressroutecircuits.NewExpressRouteCircuitID("12345678-1234-9876-4563-123456789012", "example-resource-group", "expressRouteCircuitName") + +if err := client.DeleteThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `ExpressRouteCircuitsClient.Get` + +```go +ctx := context.TODO() +id := expressroutecircuits.NewExpressRouteCircuitID("12345678-1234-9876-4563-123456789012", "example-resource-group", "expressRouteCircuitName") + +read, err := client.Get(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `ExpressRouteCircuitsClient.List` + +```go +ctx := context.TODO() +id := commonids.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group") + +// alternatively `client.List(ctx, id)` can be used to do batched pagination +items, err := client.ListComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `ExpressRouteCircuitsClient.ListAll` + +```go +ctx := context.TODO() +id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012") + +// alternatively `client.ListAll(ctx, id)` can be used to do batched pagination +items, err := client.ListAllComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `ExpressRouteCircuitsClient.UpdateTags` + +```go +ctx := context.TODO() +id := expressroutecircuits.NewExpressRouteCircuitID("12345678-1234-9876-4563-123456789012", "example-resource-group", "expressRouteCircuitName") + +payload := expressroutecircuits.TagsObject{ + // ... +} + + +read, err := client.UpdateTags(ctx, id, payload) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuits/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuits/client.go new file mode 100644 index 000000000000..e618de828285 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuits/client.go @@ -0,0 +1,26 @@ +package expressroutecircuits + +import ( + "fmt" + + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + sdkEnv "github.com/hashicorp/go-azure-sdk/sdk/environments" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ExpressRouteCircuitsClient struct { + Client *resourcemanager.Client +} + +func NewExpressRouteCircuitsClientWithBaseURI(sdkApi sdkEnv.Api) (*ExpressRouteCircuitsClient, error) { + client, err := resourcemanager.NewClient(sdkApi, "expressroutecircuits", defaultApiVersion) + if err != nil { + return nil, fmt.Errorf("instantiating ExpressRouteCircuitsClient: %+v", err) + } + + return &ExpressRouteCircuitsClient{ + Client: client, + }, nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuits/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuits/constants.go new file mode 100644 index 000000000000..017902fa091e --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuits/constants.go @@ -0,0 +1,450 @@ +package expressroutecircuits + +import ( + "encoding/json" + "fmt" + "strings" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type AuthorizationUseStatus string + +const ( + AuthorizationUseStatusAvailable AuthorizationUseStatus = "Available" + AuthorizationUseStatusInUse AuthorizationUseStatus = "InUse" +) + +func PossibleValuesForAuthorizationUseStatus() []string { + return []string{ + string(AuthorizationUseStatusAvailable), + string(AuthorizationUseStatusInUse), + } +} + +func (s *AuthorizationUseStatus) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseAuthorizationUseStatus(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseAuthorizationUseStatus(input string) (*AuthorizationUseStatus, error) { + vals := map[string]AuthorizationUseStatus{ + "available": AuthorizationUseStatusAvailable, + "inuse": AuthorizationUseStatusInUse, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := AuthorizationUseStatus(input) + return &out, nil +} + +type CircuitConnectionStatus string + +const ( + CircuitConnectionStatusConnected CircuitConnectionStatus = "Connected" + CircuitConnectionStatusConnecting CircuitConnectionStatus = "Connecting" + CircuitConnectionStatusDisconnected CircuitConnectionStatus = "Disconnected" +) + +func PossibleValuesForCircuitConnectionStatus() []string { + return []string{ + string(CircuitConnectionStatusConnected), + string(CircuitConnectionStatusConnecting), + string(CircuitConnectionStatusDisconnected), + } +} + +func (s *CircuitConnectionStatus) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseCircuitConnectionStatus(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseCircuitConnectionStatus(input string) (*CircuitConnectionStatus, error) { + vals := map[string]CircuitConnectionStatus{ + "connected": CircuitConnectionStatusConnected, + "connecting": CircuitConnectionStatusConnecting, + "disconnected": CircuitConnectionStatusDisconnected, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := CircuitConnectionStatus(input) + return &out, nil +} + +type ExpressRouteCircuitPeeringAdvertisedPublicPrefixState string + +const ( + ExpressRouteCircuitPeeringAdvertisedPublicPrefixStateConfigured ExpressRouteCircuitPeeringAdvertisedPublicPrefixState = "Configured" + ExpressRouteCircuitPeeringAdvertisedPublicPrefixStateConfiguring ExpressRouteCircuitPeeringAdvertisedPublicPrefixState = "Configuring" + ExpressRouteCircuitPeeringAdvertisedPublicPrefixStateNotConfigured ExpressRouteCircuitPeeringAdvertisedPublicPrefixState = "NotConfigured" + ExpressRouteCircuitPeeringAdvertisedPublicPrefixStateValidationNeeded ExpressRouteCircuitPeeringAdvertisedPublicPrefixState = "ValidationNeeded" +) + +func PossibleValuesForExpressRouteCircuitPeeringAdvertisedPublicPrefixState() []string { + return []string{ + string(ExpressRouteCircuitPeeringAdvertisedPublicPrefixStateConfigured), + string(ExpressRouteCircuitPeeringAdvertisedPublicPrefixStateConfiguring), + string(ExpressRouteCircuitPeeringAdvertisedPublicPrefixStateNotConfigured), + string(ExpressRouteCircuitPeeringAdvertisedPublicPrefixStateValidationNeeded), + } +} + +func (s *ExpressRouteCircuitPeeringAdvertisedPublicPrefixState) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseExpressRouteCircuitPeeringAdvertisedPublicPrefixState(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseExpressRouteCircuitPeeringAdvertisedPublicPrefixState(input string) (*ExpressRouteCircuitPeeringAdvertisedPublicPrefixState, error) { + vals := map[string]ExpressRouteCircuitPeeringAdvertisedPublicPrefixState{ + "configured": ExpressRouteCircuitPeeringAdvertisedPublicPrefixStateConfigured, + "configuring": ExpressRouteCircuitPeeringAdvertisedPublicPrefixStateConfiguring, + "notconfigured": ExpressRouteCircuitPeeringAdvertisedPublicPrefixStateNotConfigured, + "validationneeded": ExpressRouteCircuitPeeringAdvertisedPublicPrefixStateValidationNeeded, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ExpressRouteCircuitPeeringAdvertisedPublicPrefixState(input) + return &out, nil +} + +type ExpressRouteCircuitPeeringState string + +const ( + ExpressRouteCircuitPeeringStateDisabled ExpressRouteCircuitPeeringState = "Disabled" + ExpressRouteCircuitPeeringStateEnabled ExpressRouteCircuitPeeringState = "Enabled" +) + +func PossibleValuesForExpressRouteCircuitPeeringState() []string { + return []string{ + string(ExpressRouteCircuitPeeringStateDisabled), + string(ExpressRouteCircuitPeeringStateEnabled), + } +} + +func (s *ExpressRouteCircuitPeeringState) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseExpressRouteCircuitPeeringState(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseExpressRouteCircuitPeeringState(input string) (*ExpressRouteCircuitPeeringState, error) { + vals := map[string]ExpressRouteCircuitPeeringState{ + "disabled": ExpressRouteCircuitPeeringStateDisabled, + "enabled": ExpressRouteCircuitPeeringStateEnabled, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ExpressRouteCircuitPeeringState(input) + return &out, nil +} + +type ExpressRouteCircuitSkuFamily string + +const ( + ExpressRouteCircuitSkuFamilyMeteredData ExpressRouteCircuitSkuFamily = "MeteredData" + ExpressRouteCircuitSkuFamilyUnlimitedData ExpressRouteCircuitSkuFamily = "UnlimitedData" +) + +func PossibleValuesForExpressRouteCircuitSkuFamily() []string { + return []string{ + string(ExpressRouteCircuitSkuFamilyMeteredData), + string(ExpressRouteCircuitSkuFamilyUnlimitedData), + } +} + +func (s *ExpressRouteCircuitSkuFamily) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseExpressRouteCircuitSkuFamily(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseExpressRouteCircuitSkuFamily(input string) (*ExpressRouteCircuitSkuFamily, error) { + vals := map[string]ExpressRouteCircuitSkuFamily{ + "metereddata": ExpressRouteCircuitSkuFamilyMeteredData, + "unlimiteddata": ExpressRouteCircuitSkuFamilyUnlimitedData, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ExpressRouteCircuitSkuFamily(input) + return &out, nil +} + +type ExpressRouteCircuitSkuTier string + +const ( + ExpressRouteCircuitSkuTierBasic ExpressRouteCircuitSkuTier = "Basic" + ExpressRouteCircuitSkuTierLocal ExpressRouteCircuitSkuTier = "Local" + ExpressRouteCircuitSkuTierPremium ExpressRouteCircuitSkuTier = "Premium" + ExpressRouteCircuitSkuTierStandard ExpressRouteCircuitSkuTier = "Standard" +) + +func PossibleValuesForExpressRouteCircuitSkuTier() []string { + return []string{ + string(ExpressRouteCircuitSkuTierBasic), + string(ExpressRouteCircuitSkuTierLocal), + string(ExpressRouteCircuitSkuTierPremium), + string(ExpressRouteCircuitSkuTierStandard), + } +} + +func (s *ExpressRouteCircuitSkuTier) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseExpressRouteCircuitSkuTier(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseExpressRouteCircuitSkuTier(input string) (*ExpressRouteCircuitSkuTier, error) { + vals := map[string]ExpressRouteCircuitSkuTier{ + "basic": ExpressRouteCircuitSkuTierBasic, + "local": ExpressRouteCircuitSkuTierLocal, + "premium": ExpressRouteCircuitSkuTierPremium, + "standard": ExpressRouteCircuitSkuTierStandard, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ExpressRouteCircuitSkuTier(input) + return &out, nil +} + +type ExpressRoutePeeringState string + +const ( + ExpressRoutePeeringStateDisabled ExpressRoutePeeringState = "Disabled" + ExpressRoutePeeringStateEnabled ExpressRoutePeeringState = "Enabled" +) + +func PossibleValuesForExpressRoutePeeringState() []string { + return []string{ + string(ExpressRoutePeeringStateDisabled), + string(ExpressRoutePeeringStateEnabled), + } +} + +func (s *ExpressRoutePeeringState) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseExpressRoutePeeringState(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseExpressRoutePeeringState(input string) (*ExpressRoutePeeringState, error) { + vals := map[string]ExpressRoutePeeringState{ + "disabled": ExpressRoutePeeringStateDisabled, + "enabled": ExpressRoutePeeringStateEnabled, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ExpressRoutePeeringState(input) + return &out, nil +} + +type ExpressRoutePeeringType string + +const ( + ExpressRoutePeeringTypeAzurePrivatePeering ExpressRoutePeeringType = "AzurePrivatePeering" + ExpressRoutePeeringTypeAzurePublicPeering ExpressRoutePeeringType = "AzurePublicPeering" + ExpressRoutePeeringTypeMicrosoftPeering ExpressRoutePeeringType = "MicrosoftPeering" +) + +func PossibleValuesForExpressRoutePeeringType() []string { + return []string{ + string(ExpressRoutePeeringTypeAzurePrivatePeering), + string(ExpressRoutePeeringTypeAzurePublicPeering), + string(ExpressRoutePeeringTypeMicrosoftPeering), + } +} + +func (s *ExpressRoutePeeringType) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseExpressRoutePeeringType(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseExpressRoutePeeringType(input string) (*ExpressRoutePeeringType, error) { + vals := map[string]ExpressRoutePeeringType{ + "azureprivatepeering": ExpressRoutePeeringTypeAzurePrivatePeering, + "azurepublicpeering": ExpressRoutePeeringTypeAzurePublicPeering, + "microsoftpeering": ExpressRoutePeeringTypeMicrosoftPeering, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ExpressRoutePeeringType(input) + return &out, nil +} + +type ProvisioningState string + +const ( + ProvisioningStateDeleting ProvisioningState = "Deleting" + ProvisioningStateFailed ProvisioningState = "Failed" + ProvisioningStateSucceeded ProvisioningState = "Succeeded" + ProvisioningStateUpdating ProvisioningState = "Updating" +) + +func PossibleValuesForProvisioningState() []string { + return []string{ + string(ProvisioningStateDeleting), + string(ProvisioningStateFailed), + string(ProvisioningStateSucceeded), + string(ProvisioningStateUpdating), + } +} + +func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseProvisioningState(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseProvisioningState(input string) (*ProvisioningState, error) { + vals := map[string]ProvisioningState{ + "deleting": ProvisioningStateDeleting, + "failed": ProvisioningStateFailed, + "succeeded": ProvisioningStateSucceeded, + "updating": ProvisioningStateUpdating, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ProvisioningState(input) + return &out, nil +} + +type ServiceProviderProvisioningState string + +const ( + ServiceProviderProvisioningStateDeprovisioning ServiceProviderProvisioningState = "Deprovisioning" + ServiceProviderProvisioningStateNotProvisioned ServiceProviderProvisioningState = "NotProvisioned" + ServiceProviderProvisioningStateProvisioned ServiceProviderProvisioningState = "Provisioned" + ServiceProviderProvisioningStateProvisioning ServiceProviderProvisioningState = "Provisioning" +) + +func PossibleValuesForServiceProviderProvisioningState() []string { + return []string{ + string(ServiceProviderProvisioningStateDeprovisioning), + string(ServiceProviderProvisioningStateNotProvisioned), + string(ServiceProviderProvisioningStateProvisioned), + string(ServiceProviderProvisioningStateProvisioning), + } +} + +func (s *ServiceProviderProvisioningState) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseServiceProviderProvisioningState(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseServiceProviderProvisioningState(input string) (*ServiceProviderProvisioningState, error) { + vals := map[string]ServiceProviderProvisioningState{ + "deprovisioning": ServiceProviderProvisioningStateDeprovisioning, + "notprovisioned": ServiceProviderProvisioningStateNotProvisioned, + "provisioned": ServiceProviderProvisioningStateProvisioned, + "provisioning": ServiceProviderProvisioningStateProvisioning, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ServiceProviderProvisioningState(input) + return &out, nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuits/id_expressroutecircuit.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuits/id_expressroutecircuit.go new file mode 100644 index 000000000000..7c3ebaafe981 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuits/id_expressroutecircuit.go @@ -0,0 +1,130 @@ +package expressroutecircuits + +import ( + "fmt" + "strings" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/recaser" + "github.com/hashicorp/go-azure-helpers/resourcemanager/resourceids" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +func init() { + recaser.RegisterResourceId(&ExpressRouteCircuitId{}) +} + +var _ resourceids.ResourceId = &ExpressRouteCircuitId{} + +// ExpressRouteCircuitId is a struct representing the Resource ID for a Express Route Circuit +type ExpressRouteCircuitId struct { + SubscriptionId string + ResourceGroupName string + ExpressRouteCircuitName string +} + +// NewExpressRouteCircuitID returns a new ExpressRouteCircuitId struct +func NewExpressRouteCircuitID(subscriptionId string, resourceGroupName string, expressRouteCircuitName string) ExpressRouteCircuitId { + return ExpressRouteCircuitId{ + SubscriptionId: subscriptionId, + ResourceGroupName: resourceGroupName, + ExpressRouteCircuitName: expressRouteCircuitName, + } +} + +// ParseExpressRouteCircuitID parses 'input' into a ExpressRouteCircuitId +func ParseExpressRouteCircuitID(input string) (*ExpressRouteCircuitId, error) { + parser := resourceids.NewParserFromResourceIdType(&ExpressRouteCircuitId{}) + parsed, err := parser.Parse(input, false) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := ExpressRouteCircuitId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +// ParseExpressRouteCircuitIDInsensitively parses 'input' case-insensitively into a ExpressRouteCircuitId +// note: this method should only be used for API response data and not user input +func ParseExpressRouteCircuitIDInsensitively(input string) (*ExpressRouteCircuitId, error) { + parser := resourceids.NewParserFromResourceIdType(&ExpressRouteCircuitId{}) + parsed, err := parser.Parse(input, true) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := ExpressRouteCircuitId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +func (id *ExpressRouteCircuitId) FromParseResult(input resourceids.ParseResult) error { + var ok bool + + if id.SubscriptionId, ok = input.Parsed["subscriptionId"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "subscriptionId", input) + } + + if id.ResourceGroupName, ok = input.Parsed["resourceGroupName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "resourceGroupName", input) + } + + if id.ExpressRouteCircuitName, ok = input.Parsed["expressRouteCircuitName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "expressRouteCircuitName", input) + } + + return nil +} + +// ValidateExpressRouteCircuitID checks that 'input' can be parsed as a Express Route Circuit ID +func ValidateExpressRouteCircuitID(input interface{}, key string) (warnings []string, errors []error) { + v, ok := input.(string) + if !ok { + errors = append(errors, fmt.Errorf("expected %q to be a string", key)) + return + } + + if _, err := ParseExpressRouteCircuitID(v); err != nil { + errors = append(errors, err) + } + + return +} + +// ID returns the formatted Express Route Circuit ID +func (id ExpressRouteCircuitId) ID() string { + fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.Network/expressRouteCircuits/%s" + return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.ExpressRouteCircuitName) +} + +// Segments returns a slice of Resource ID Segments which comprise this Express Route Circuit ID +func (id ExpressRouteCircuitId) Segments() []resourceids.Segment { + return []resourceids.Segment{ + resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), + resourceids.SubscriptionIdSegment("subscriptionId", "12345678-1234-9876-4563-123456789012"), + resourceids.StaticSegment("staticResourceGroups", "resourceGroups", "resourceGroups"), + resourceids.ResourceGroupSegment("resourceGroupName", "example-resource-group"), + resourceids.StaticSegment("staticProviders", "providers", "providers"), + resourceids.ResourceProviderSegment("staticMicrosoftNetwork", "Microsoft.Network", "Microsoft.Network"), + resourceids.StaticSegment("staticExpressRouteCircuits", "expressRouteCircuits", "expressRouteCircuits"), + resourceids.UserSpecifiedSegment("expressRouteCircuitName", "expressRouteCircuitName"), + } +} + +// String returns a human-readable description of this Express Route Circuit ID +func (id ExpressRouteCircuitId) String() string { + components := []string{ + fmt.Sprintf("Subscription: %q", id.SubscriptionId), + fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), + fmt.Sprintf("Express Route Circuit Name: %q", id.ExpressRouteCircuitName), + } + return fmt.Sprintf("Express Route Circuit (%s)", strings.Join(components, "\n")) +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuits/method_createorupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuits/method_createorupdate.go new file mode 100644 index 000000000000..399156eb14e2 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuits/method_createorupdate.go @@ -0,0 +1,75 @@ +package expressroutecircuits + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/client/pollers" + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type CreateOrUpdateOperationResponse struct { + Poller pollers.Poller + HttpResponse *http.Response + OData *odata.OData + Model *ExpressRouteCircuit +} + +// CreateOrUpdate ... +func (c ExpressRouteCircuitsClient) CreateOrUpdate(ctx context.Context, id ExpressRouteCircuitId, input ExpressRouteCircuit) (result CreateOrUpdateOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusCreated, + http.StatusOK, + }, + HttpMethod: http.MethodPut, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + if err = req.Marshal(input); err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client) + if err != nil { + return + } + + return +} + +// CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed +func (c ExpressRouteCircuitsClient) CreateOrUpdateThenPoll(ctx context.Context, id ExpressRouteCircuitId, input ExpressRouteCircuit) error { + result, err := c.CreateOrUpdate(ctx, id, input) + if err != nil { + return fmt.Errorf("performing CreateOrUpdate: %+v", err) + } + + if err := result.Poller.PollUntilDone(ctx); err != nil { + return fmt.Errorf("polling after CreateOrUpdate: %+v", err) + } + + return nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuits/method_delete.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuits/method_delete.go new file mode 100644 index 000000000000..91f8aa53bedf --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuits/method_delete.go @@ -0,0 +1,71 @@ +package expressroutecircuits + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/client/pollers" + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type DeleteOperationResponse struct { + Poller pollers.Poller + HttpResponse *http.Response + OData *odata.OData +} + +// Delete ... +func (c ExpressRouteCircuitsClient) Delete(ctx context.Context, id ExpressRouteCircuitId) (result DeleteOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusAccepted, + http.StatusNoContent, + http.StatusOK, + }, + HttpMethod: http.MethodDelete, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client) + if err != nil { + return + } + + return +} + +// DeleteThenPoll performs Delete then polls until it's completed +func (c ExpressRouteCircuitsClient) DeleteThenPoll(ctx context.Context, id ExpressRouteCircuitId) error { + result, err := c.Delete(ctx, id) + if err != nil { + return fmt.Errorf("performing Delete: %+v", err) + } + + if err := result.Poller.PollUntilDone(ctx); err != nil { + return fmt.Errorf("polling after Delete: %+v", err) + } + + return nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuits/method_get.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuits/method_get.go new file mode 100644 index 000000000000..f44a9d7ab3de --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuits/method_get.go @@ -0,0 +1,53 @@ +package expressroutecircuits + +import ( + "context" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type GetOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *ExpressRouteCircuit +} + +// Get ... +func (c ExpressRouteCircuitsClient) Get(ctx context.Context, id ExpressRouteCircuitId) (result GetOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var model ExpressRouteCircuit + result.Model = &model + if err = resp.Unmarshal(result.Model); err != nil { + return + } + + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuits/method_list.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuits/method_list.go new file mode 100644 index 000000000000..dae4c03fa041 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuits/method_list.go @@ -0,0 +1,106 @@ +package expressroutecircuits + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ListOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *[]ExpressRouteCircuit +} + +type ListCompleteResult struct { + LatestHttpResponse *http.Response + Items []ExpressRouteCircuit +} + +type ListCustomPager struct { + NextLink *odata.Link `json:"nextLink"` +} + +func (p *ListCustomPager) NextPageLink() *odata.Link { + defer func() { + p.NextLink = nil + }() + + return p.NextLink +} + +// List ... +func (c ExpressRouteCircuitsClient) List(ctx context.Context, id commonids.ResourceGroupId) (result ListOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Pager: &ListCustomPager{}, + Path: fmt.Sprintf("%s/providers/Microsoft.Network/expressRouteCircuits", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.ExecutePaged(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var values struct { + Values *[]ExpressRouteCircuit `json:"value"` + } + if err = resp.Unmarshal(&values); err != nil { + return + } + + result.Model = values.Values + + return +} + +// ListComplete retrieves all the results into a single object +func (c ExpressRouteCircuitsClient) ListComplete(ctx context.Context, id commonids.ResourceGroupId) (ListCompleteResult, error) { + return c.ListCompleteMatchingPredicate(ctx, id, ExpressRouteCircuitOperationPredicate{}) +} + +// ListCompleteMatchingPredicate retrieves all the results and then applies the predicate +func (c ExpressRouteCircuitsClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate ExpressRouteCircuitOperationPredicate) (result ListCompleteResult, err error) { + items := make([]ExpressRouteCircuit, 0) + + resp, err := c.List(ctx, id) + if err != nil { + result.LatestHttpResponse = resp.HttpResponse + err = fmt.Errorf("loading results: %+v", err) + return + } + if resp.Model != nil { + for _, v := range *resp.Model { + if predicate.Matches(v) { + items = append(items, v) + } + } + } + + result = ListCompleteResult{ + LatestHttpResponse: resp.HttpResponse, + Items: items, + } + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuits/method_listall.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuits/method_listall.go new file mode 100644 index 000000000000..815e72b26ce2 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuits/method_listall.go @@ -0,0 +1,106 @@ +package expressroutecircuits + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ListAllOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *[]ExpressRouteCircuit +} + +type ListAllCompleteResult struct { + LatestHttpResponse *http.Response + Items []ExpressRouteCircuit +} + +type ListAllCustomPager struct { + NextLink *odata.Link `json:"nextLink"` +} + +func (p *ListAllCustomPager) NextPageLink() *odata.Link { + defer func() { + p.NextLink = nil + }() + + return p.NextLink +} + +// ListAll ... +func (c ExpressRouteCircuitsClient) ListAll(ctx context.Context, id commonids.SubscriptionId) (result ListAllOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Pager: &ListAllCustomPager{}, + Path: fmt.Sprintf("%s/providers/Microsoft.Network/expressRouteCircuits", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.ExecutePaged(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var values struct { + Values *[]ExpressRouteCircuit `json:"value"` + } + if err = resp.Unmarshal(&values); err != nil { + return + } + + result.Model = values.Values + + return +} + +// ListAllComplete retrieves all the results into a single object +func (c ExpressRouteCircuitsClient) ListAllComplete(ctx context.Context, id commonids.SubscriptionId) (ListAllCompleteResult, error) { + return c.ListAllCompleteMatchingPredicate(ctx, id, ExpressRouteCircuitOperationPredicate{}) +} + +// ListAllCompleteMatchingPredicate retrieves all the results and then applies the predicate +func (c ExpressRouteCircuitsClient) ListAllCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate ExpressRouteCircuitOperationPredicate) (result ListAllCompleteResult, err error) { + items := make([]ExpressRouteCircuit, 0) + + resp, err := c.ListAll(ctx, id) + if err != nil { + result.LatestHttpResponse = resp.HttpResponse + err = fmt.Errorf("loading results: %+v", err) + return + } + if resp.Model != nil { + for _, v := range *resp.Model { + if predicate.Matches(v) { + items = append(items, v) + } + } + } + + result = ListAllCompleteResult{ + LatestHttpResponse: resp.HttpResponse, + Items: items, + } + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuits/method_updatetags.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuits/method_updatetags.go new file mode 100644 index 000000000000..2188a40d7836 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuits/method_updatetags.go @@ -0,0 +1,57 @@ +package expressroutecircuits + +import ( + "context" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type UpdateTagsOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *ExpressRouteCircuit +} + +// UpdateTags ... +func (c ExpressRouteCircuitsClient) UpdateTags(ctx context.Context, id ExpressRouteCircuitId, input TagsObject) (result UpdateTagsOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodPatch, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + if err = req.Marshal(input); err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var model ExpressRouteCircuit + result.Model = &model + if err = resp.Unmarshal(result.Model); err != nil { + return + } + + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuits/model_authorizationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuits/model_authorizationpropertiesformat.go new file mode 100644 index 000000000000..65f50c0d6592 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuits/model_authorizationpropertiesformat.go @@ -0,0 +1,11 @@ +package expressroutecircuits + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type AuthorizationPropertiesFormat struct { + AuthorizationKey *string `json:"authorizationKey,omitempty"` + AuthorizationUseStatus *AuthorizationUseStatus `json:"authorizationUseStatus,omitempty"` + ConnectionResourceUri *string `json:"connectionResourceUri,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuits/model_expressroutecircuit.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuits/model_expressroutecircuit.go new file mode 100644 index 000000000000..a74493fcec8e --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuits/model_expressroutecircuit.go @@ -0,0 +1,15 @@ +package expressroutecircuits + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ExpressRouteCircuit struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Location *string `json:"location,omitempty"` + Name *string `json:"name,omitempty"` + Properties *ExpressRouteCircuitPropertiesFormat `json:"properties,omitempty"` + Sku *ExpressRouteCircuitSku `json:"sku,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuits/model_expressroutecircuitauthorization.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuits/model_expressroutecircuitauthorization.go new file mode 100644 index 000000000000..2942811a91cf --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuits/model_expressroutecircuitauthorization.go @@ -0,0 +1,12 @@ +package expressroutecircuits + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ExpressRouteCircuitAuthorization struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *AuthorizationPropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuits/model_expressroutecircuitconnection.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuits/model_expressroutecircuitconnection.go new file mode 100644 index 000000000000..901ef5037240 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuits/model_expressroutecircuitconnection.go @@ -0,0 +1,12 @@ +package expressroutecircuits + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ExpressRouteCircuitConnection struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *ExpressRouteCircuitConnectionPropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuits/model_expressroutecircuitconnectionpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuits/model_expressroutecircuitconnectionpropertiesformat.go new file mode 100644 index 000000000000..897f772964a1 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuits/model_expressroutecircuitconnectionpropertiesformat.go @@ -0,0 +1,14 @@ +package expressroutecircuits + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ExpressRouteCircuitConnectionPropertiesFormat struct { + AddressPrefix *string `json:"addressPrefix,omitempty"` + AuthorizationKey *string `json:"authorizationKey,omitempty"` + CircuitConnectionStatus *CircuitConnectionStatus `json:"circuitConnectionStatus,omitempty"` + ExpressRouteCircuitPeering *SubResource `json:"expressRouteCircuitPeering,omitempty"` + IPv6CircuitConnectionConfig *IPv6CircuitConnectionConfig `json:"ipv6CircuitConnectionConfig,omitempty"` + PeerExpressRouteCircuitPeering *SubResource `json:"peerExpressRouteCircuitPeering,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuits/model_expressroutecircuitpeering.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuits/model_expressroutecircuitpeering.go new file mode 100644 index 000000000000..d74311904828 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuits/model_expressroutecircuitpeering.go @@ -0,0 +1,12 @@ +package expressroutecircuits + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ExpressRouteCircuitPeering struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *ExpressRouteCircuitPeeringPropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuits/model_expressroutecircuitpeeringconfig.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuits/model_expressroutecircuitpeeringconfig.go new file mode 100644 index 000000000000..836b1d5e963c --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuits/model_expressroutecircuitpeeringconfig.go @@ -0,0 +1,13 @@ +package expressroutecircuits + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ExpressRouteCircuitPeeringConfig struct { + AdvertisedCommunities *[]string `json:"advertisedCommunities,omitempty"` + AdvertisedPublicPrefixes *[]string `json:"advertisedPublicPrefixes,omitempty"` + AdvertisedPublicPrefixesState *ExpressRouteCircuitPeeringAdvertisedPublicPrefixState `json:"advertisedPublicPrefixesState,omitempty"` + CustomerASN *int64 `json:"customerASN,omitempty"` + LegacyMode *int64 `json:"legacyMode,omitempty"` + RoutingRegistryName *string `json:"routingRegistryName,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuits/model_expressroutecircuitpeeringpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuits/model_expressroutecircuitpeeringpropertiesformat.go new file mode 100644 index 000000000000..87a88e75638e --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuits/model_expressroutecircuitpeeringpropertiesformat.go @@ -0,0 +1,27 @@ +package expressroutecircuits + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ExpressRouteCircuitPeeringPropertiesFormat struct { + AzureASN *int64 `json:"azureASN,omitempty"` + Connections *[]ExpressRouteCircuitConnection `json:"connections,omitempty"` + ExpressRouteConnection *ExpressRouteConnectionId `json:"expressRouteConnection,omitempty"` + GatewayManagerEtag *string `json:"gatewayManagerEtag,omitempty"` + IPv6PeeringConfig *IPv6ExpressRouteCircuitPeeringConfig `json:"ipv6PeeringConfig,omitempty"` + LastModifiedBy *string `json:"lastModifiedBy,omitempty"` + MicrosoftPeeringConfig *ExpressRouteCircuitPeeringConfig `json:"microsoftPeeringConfig,omitempty"` + PeerASN *int64 `json:"peerASN,omitempty"` + PeeredConnections *[]PeerExpressRouteCircuitConnection `json:"peeredConnections,omitempty"` + PeeringType *ExpressRoutePeeringType `json:"peeringType,omitempty"` + PrimaryAzurePort *string `json:"primaryAzurePort,omitempty"` + PrimaryPeerAddressPrefix *string `json:"primaryPeerAddressPrefix,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + RouteFilter *SubResource `json:"routeFilter,omitempty"` + SecondaryAzurePort *string `json:"secondaryAzurePort,omitempty"` + SecondaryPeerAddressPrefix *string `json:"secondaryPeerAddressPrefix,omitempty"` + SharedKey *string `json:"sharedKey,omitempty"` + State *ExpressRoutePeeringState `json:"state,omitempty"` + Stats *ExpressRouteCircuitStats `json:"stats,omitempty"` + VlanId *int64 `json:"vlanId,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuits/model_expressroutecircuitpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuits/model_expressroutecircuitpropertiesformat.go new file mode 100644 index 000000000000..250eb3de7241 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuits/model_expressroutecircuitpropertiesformat.go @@ -0,0 +1,24 @@ +package expressroutecircuits + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ExpressRouteCircuitPropertiesFormat struct { + AllowClassicOperations *bool `json:"allowClassicOperations,omitempty"` + AuthorizationKey *string `json:"authorizationKey,omitempty"` + AuthorizationStatus *string `json:"authorizationStatus,omitempty"` + Authorizations *[]ExpressRouteCircuitAuthorization `json:"authorizations,omitempty"` + BandwidthInGbps *float64 `json:"bandwidthInGbps,omitempty"` + CircuitProvisioningState *string `json:"circuitProvisioningState,omitempty"` + EnableDirectPortRateLimit *bool `json:"enableDirectPortRateLimit,omitempty"` + ExpressRoutePort *SubResource `json:"expressRoutePort,omitempty"` + GatewayManagerEtag *string `json:"gatewayManagerEtag,omitempty"` + GlobalReachEnabled *bool `json:"globalReachEnabled,omitempty"` + Peerings *[]ExpressRouteCircuitPeering `json:"peerings,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + ServiceKey *string `json:"serviceKey,omitempty"` + ServiceProviderNotes *string `json:"serviceProviderNotes,omitempty"` + ServiceProviderProperties *ExpressRouteCircuitServiceProviderProperties `json:"serviceProviderProperties,omitempty"` + ServiceProviderProvisioningState *ServiceProviderProvisioningState `json:"serviceProviderProvisioningState,omitempty"` + Stag *int64 `json:"stag,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuits/model_expressroutecircuitserviceproviderproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuits/model_expressroutecircuitserviceproviderproperties.go new file mode 100644 index 000000000000..432cdaf5a4ab --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuits/model_expressroutecircuitserviceproviderproperties.go @@ -0,0 +1,10 @@ +package expressroutecircuits + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ExpressRouteCircuitServiceProviderProperties struct { + BandwidthInMbps *int64 `json:"bandwidthInMbps,omitempty"` + PeeringLocation *string `json:"peeringLocation,omitempty"` + ServiceProviderName *string `json:"serviceProviderName,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuits/model_expressroutecircuitsku.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuits/model_expressroutecircuitsku.go new file mode 100644 index 000000000000..186629b51a6b --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuits/model_expressroutecircuitsku.go @@ -0,0 +1,10 @@ +package expressroutecircuits + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ExpressRouteCircuitSku struct { + Family *ExpressRouteCircuitSkuFamily `json:"family,omitempty"` + Name *string `json:"name,omitempty"` + Tier *ExpressRouteCircuitSkuTier `json:"tier,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuits/model_expressroutecircuitstats.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuits/model_expressroutecircuitstats.go new file mode 100644 index 000000000000..ca8cd2c52bc2 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuits/model_expressroutecircuitstats.go @@ -0,0 +1,11 @@ +package expressroutecircuits + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ExpressRouteCircuitStats struct { + PrimarybytesIn *int64 `json:"primarybytesIn,omitempty"` + PrimarybytesOut *int64 `json:"primarybytesOut,omitempty"` + SecondarybytesIn *int64 `json:"secondarybytesIn,omitempty"` + SecondarybytesOut *int64 `json:"secondarybytesOut,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuits/model_expressrouteconnectionid.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuits/model_expressrouteconnectionid.go new file mode 100644 index 000000000000..70b79aa3ec71 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuits/model_expressrouteconnectionid.go @@ -0,0 +1,8 @@ +package expressroutecircuits + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ExpressRouteConnectionId struct { + Id *string `json:"id,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuits/model_ipv6circuitconnectionconfig.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuits/model_ipv6circuitconnectionconfig.go new file mode 100644 index 000000000000..49a421772739 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuits/model_ipv6circuitconnectionconfig.go @@ -0,0 +1,9 @@ +package expressroutecircuits + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type IPv6CircuitConnectionConfig struct { + AddressPrefix *string `json:"addressPrefix,omitempty"` + CircuitConnectionStatus *CircuitConnectionStatus `json:"circuitConnectionStatus,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuits/model_ipv6expressroutecircuitpeeringconfig.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuits/model_ipv6expressroutecircuitpeeringconfig.go new file mode 100644 index 000000000000..02e4a94b3169 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuits/model_ipv6expressroutecircuitpeeringconfig.go @@ -0,0 +1,12 @@ +package expressroutecircuits + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type IPv6ExpressRouteCircuitPeeringConfig struct { + MicrosoftPeeringConfig *ExpressRouteCircuitPeeringConfig `json:"microsoftPeeringConfig,omitempty"` + PrimaryPeerAddressPrefix *string `json:"primaryPeerAddressPrefix,omitempty"` + RouteFilter *SubResource `json:"routeFilter,omitempty"` + SecondaryPeerAddressPrefix *string `json:"secondaryPeerAddressPrefix,omitempty"` + State *ExpressRouteCircuitPeeringState `json:"state,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuits/model_peerexpressroutecircuitconnection.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuits/model_peerexpressroutecircuitconnection.go new file mode 100644 index 000000000000..e52a6b6f8c35 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuits/model_peerexpressroutecircuitconnection.go @@ -0,0 +1,12 @@ +package expressroutecircuits + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PeerExpressRouteCircuitConnection struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *PeerExpressRouteCircuitConnectionPropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuits/model_peerexpressroutecircuitconnectionpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuits/model_peerexpressroutecircuitconnectionpropertiesformat.go new file mode 100644 index 000000000000..804baee319a8 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuits/model_peerexpressroutecircuitconnectionpropertiesformat.go @@ -0,0 +1,14 @@ +package expressroutecircuits + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PeerExpressRouteCircuitConnectionPropertiesFormat struct { + AddressPrefix *string `json:"addressPrefix,omitempty"` + AuthResourceGuid *string `json:"authResourceGuid,omitempty"` + CircuitConnectionStatus *CircuitConnectionStatus `json:"circuitConnectionStatus,omitempty"` + ConnectionName *string `json:"connectionName,omitempty"` + ExpressRouteCircuitPeering *SubResource `json:"expressRouteCircuitPeering,omitempty"` + PeerExpressRouteCircuitPeering *SubResource `json:"peerExpressRouteCircuitPeering,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuits/model_subresource.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuits/model_subresource.go new file mode 100644 index 000000000000..daf852a98a9b --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuits/model_subresource.go @@ -0,0 +1,8 @@ +package expressroutecircuits + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type SubResource struct { + Id *string `json:"id,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuits/model_tagsobject.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuits/model_tagsobject.go new file mode 100644 index 000000000000..585eaaba376d --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuits/model_tagsobject.go @@ -0,0 +1,8 @@ +package expressroutecircuits + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type TagsObject struct { + Tags *map[string]string `json:"tags,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuits/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuits/predicates.go new file mode 100644 index 000000000000..3fdbc040dbfd --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuits/predicates.go @@ -0,0 +1,37 @@ +package expressroutecircuits + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ExpressRouteCircuitOperationPredicate struct { + Etag *string + Id *string + Location *string + Name *string + Type *string +} + +func (p ExpressRouteCircuitOperationPredicate) Matches(input ExpressRouteCircuit) bool { + + if p.Etag != nil && (input.Etag == nil || *p.Etag != *input.Etag) { + return false + } + + if p.Id != nil && (input.Id == nil || *p.Id != *input.Id) { + return false + } + + if p.Location != nil && (input.Location == nil || *p.Location != *input.Location) { + return false + } + + if p.Name != nil && (input.Name == nil || *p.Name != *input.Name) { + return false + } + + if p.Type != nil && (input.Type == nil || *p.Type != *input.Type) { + return false + } + + return true +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuits/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuits/version.go new file mode 100644 index 000000000000..d748540dd530 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuits/version.go @@ -0,0 +1,10 @@ +package expressroutecircuits + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2024-03-01" + +func userAgent() string { + return "hashicorp/go-azure-sdk/expressroutecircuits/2024-03-01" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitstats/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitstats/README.md new file mode 100644 index 000000000000..632ec319993e --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitstats/README.md @@ -0,0 +1,53 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitstats` Documentation + +The `expressroutecircuitstats` SDK allows for interaction with Azure Resource Manager `network` (API Version `2024-03-01`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" +import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitstats" +``` + + +### Client Initialization + +```go +client := expressroutecircuitstats.NewExpressRouteCircuitStatsClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `ExpressRouteCircuitStatsClient.ExpressRouteCircuitsGetPeeringStats` + +```go +ctx := context.TODO() +id := commonids.NewExpressRouteCircuitPeeringID("12345678-1234-9876-4563-123456789012", "example-resource-group", "expressRouteCircuitName", "peeringName") + +read, err := client.ExpressRouteCircuitsGetPeeringStats(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `ExpressRouteCircuitStatsClient.ExpressRouteCircuitsGetStats` + +```go +ctx := context.TODO() +id := expressroutecircuitstats.NewExpressRouteCircuitID("12345678-1234-9876-4563-123456789012", "example-resource-group", "expressRouteCircuitName") + +read, err := client.ExpressRouteCircuitsGetStats(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitstats/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitstats/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitstats/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitstats/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitstats/id_expressroutecircuit.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitstats/id_expressroutecircuit.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitstats/id_expressroutecircuit.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitstats/id_expressroutecircuit.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitstats/method_expressroutecircuitsgetpeeringstats.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitstats/method_expressroutecircuitsgetpeeringstats.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitstats/method_expressroutecircuitsgetpeeringstats.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitstats/method_expressroutecircuitsgetpeeringstats.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitstats/method_expressroutecircuitsgetstats.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitstats/method_expressroutecircuitsgetstats.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitstats/method_expressroutecircuitsgetstats.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitstats/method_expressroutecircuitsgetstats.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitstats/model_expressroutecircuitstats.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitstats/model_expressroutecircuitstats.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitstats/model_expressroutecircuitstats.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitstats/model_expressroutecircuitstats.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitstats/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitstats/version.go new file mode 100644 index 000000000000..c61aaaccc93b --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitstats/version.go @@ -0,0 +1,10 @@ +package expressroutecircuitstats + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2024-03-01" + +func userAgent() string { + return "hashicorp/go-azure-sdk/expressroutecircuitstats/2024-03-01" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteconnections/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteconnections/README.md new file mode 100644 index 000000000000..71b5c305d5c4 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteconnections/README.md @@ -0,0 +1,81 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteconnections` Documentation + +The `expressrouteconnections` SDK allows for interaction with Azure Resource Manager `network` (API Version `2024-03-01`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteconnections" +``` + + +### Client Initialization + +```go +client := expressrouteconnections.NewExpressRouteConnectionsClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `ExpressRouteConnectionsClient.CreateOrUpdate` + +```go +ctx := context.TODO() +id := expressrouteconnections.NewExpressRouteConnectionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "expressRouteGatewayName", "expressRouteConnectionName") + +payload := expressrouteconnections.ExpressRouteConnection{ + // ... +} + + +if err := client.CreateOrUpdateThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `ExpressRouteConnectionsClient.Delete` + +```go +ctx := context.TODO() +id := expressrouteconnections.NewExpressRouteConnectionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "expressRouteGatewayName", "expressRouteConnectionName") + +if err := client.DeleteThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `ExpressRouteConnectionsClient.Get` + +```go +ctx := context.TODO() +id := expressrouteconnections.NewExpressRouteConnectionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "expressRouteGatewayName", "expressRouteConnectionName") + +read, err := client.Get(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `ExpressRouteConnectionsClient.List` + +```go +ctx := context.TODO() +id := expressrouteconnections.NewExpressRouteGatewayID("12345678-1234-9876-4563-123456789012", "example-resource-group", "expressRouteGatewayName") + +read, err := client.List(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteconnections/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteconnections/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteconnections/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteconnections/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteconnections/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteconnections/constants.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteconnections/constants.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteconnections/constants.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteconnections/id_expressrouteconnection.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteconnections/id_expressrouteconnection.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteconnections/id_expressrouteconnection.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteconnections/id_expressrouteconnection.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteconnections/id_expressroutegateway.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteconnections/id_expressroutegateway.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteconnections/id_expressroutegateway.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteconnections/id_expressroutegateway.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteconnections/method_createorupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteconnections/method_createorupdate.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteconnections/method_createorupdate.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteconnections/method_createorupdate.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteconnections/method_delete.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteconnections/method_delete.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteconnections/method_delete.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteconnections/method_delete.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteconnections/method_get.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteconnections/method_get.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteconnections/method_get.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteconnections/method_get.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteconnections/method_list.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteconnections/method_list.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteconnections/method_list.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteconnections/method_list.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteconnections/model_expressroutecircuitpeeringid.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteconnections/model_expressroutecircuitpeeringid.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteconnections/model_expressroutecircuitpeeringid.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteconnections/model_expressroutecircuitpeeringid.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteconnections/model_expressrouteconnection.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteconnections/model_expressrouteconnection.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteconnections/model_expressrouteconnection.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteconnections/model_expressrouteconnection.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteconnections/model_expressrouteconnectionlist.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteconnections/model_expressrouteconnectionlist.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteconnections/model_expressrouteconnectionlist.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteconnections/model_expressrouteconnectionlist.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteconnections/model_expressrouteconnectionproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteconnections/model_expressrouteconnectionproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteconnections/model_expressrouteconnectionproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteconnections/model_expressrouteconnectionproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteconnections/model_propagatedroutetable.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteconnections/model_propagatedroutetable.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteconnections/model_propagatedroutetable.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteconnections/model_propagatedroutetable.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteconnections/model_routingconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteconnections/model_routingconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteconnections/model_routingconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteconnections/model_routingconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteconnections/model_staticroute.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteconnections/model_staticroute.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteconnections/model_staticroute.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteconnections/model_staticroute.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteconnections/model_staticroutesconfig.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteconnections/model_staticroutesconfig.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteconnections/model_staticroutesconfig.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteconnections/model_staticroutesconfig.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteconnections/model_subresource.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteconnections/model_subresource.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteconnections/model_subresource.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteconnections/model_subresource.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteconnections/model_vnetroute.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteconnections/model_vnetroute.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteconnections/model_vnetroute.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteconnections/model_vnetroute.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteconnections/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteconnections/version.go new file mode 100644 index 000000000000..c5408dcd445e --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteconnections/version.go @@ -0,0 +1,10 @@ +package expressrouteconnections + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2024-03-01" + +func userAgent() string { + return "hashicorp/go-azure-sdk/expressrouteconnections/2024-03-01" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnectionarptable/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnectionarptable/README.md new file mode 100644 index 000000000000..6b80c80004da --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnectionarptable/README.md @@ -0,0 +1,37 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnectionarptable` Documentation + +The `expressroutecrossconnectionarptable` SDK allows for interaction with Azure Resource Manager `network` (API Version `2024-03-01`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnectionarptable" +``` + + +### Client Initialization + +```go +client := expressroutecrossconnectionarptable.NewExpressRouteCrossConnectionArpTableClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `ExpressRouteCrossConnectionArpTableClient.ExpressRouteCrossConnectionsListArpTable` + +```go +ctx := context.TODO() +id := expressroutecrossconnectionarptable.NewPeeringArpTableID("12345678-1234-9876-4563-123456789012", "example-resource-group", "expressRouteCrossConnectionName", "peeringName", "arpTableName") + +// alternatively `client.ExpressRouteCrossConnectionsListArpTable(ctx, id)` can be used to do batched pagination +items, err := client.ExpressRouteCrossConnectionsListArpTableComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnectionarptable/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnectionarptable/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnectionarptable/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnectionarptable/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnectionarptable/id_peeringarptable.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnectionarptable/id_peeringarptable.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnectionarptable/id_peeringarptable.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnectionarptable/id_peeringarptable.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnectionarptable/method_expressroutecrossconnectionslistarptable.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnectionarptable/method_expressroutecrossconnectionslistarptable.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnectionarptable/method_expressroutecrossconnectionslistarptable.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnectionarptable/method_expressroutecrossconnectionslistarptable.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnectionarptable/model_expressroutecircuitarptable.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnectionarptable/model_expressroutecircuitarptable.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnectionarptable/model_expressroutecircuitarptable.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnectionarptable/model_expressroutecircuitarptable.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnectionarptable/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnectionarptable/predicates.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnectionarptable/predicates.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnectionarptable/predicates.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnectionarptable/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnectionarptable/version.go new file mode 100644 index 000000000000..1124562b1f3c --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnectionarptable/version.go @@ -0,0 +1,10 @@ +package expressroutecrossconnectionarptable + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2024-03-01" + +func userAgent() string { + return "hashicorp/go-azure-sdk/expressroutecrossconnectionarptable/2024-03-01" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnectionpeerings/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnectionpeerings/README.md new file mode 100644 index 000000000000..03c43a6d8573 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnectionpeerings/README.md @@ -0,0 +1,82 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnectionpeerings` Documentation + +The `expressroutecrossconnectionpeerings` SDK allows for interaction with Azure Resource Manager `network` (API Version `2024-03-01`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnectionpeerings" +``` + + +### Client Initialization + +```go +client := expressroutecrossconnectionpeerings.NewExpressRouteCrossConnectionPeeringsClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `ExpressRouteCrossConnectionPeeringsClient.CreateOrUpdate` + +```go +ctx := context.TODO() +id := expressroutecrossconnectionpeerings.NewPeeringID("12345678-1234-9876-4563-123456789012", "example-resource-group", "expressRouteCrossConnectionName", "peeringName") + +payload := expressroutecrossconnectionpeerings.ExpressRouteCrossConnectionPeering{ + // ... +} + + +if err := client.CreateOrUpdateThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `ExpressRouteCrossConnectionPeeringsClient.Delete` + +```go +ctx := context.TODO() +id := expressroutecrossconnectionpeerings.NewPeeringID("12345678-1234-9876-4563-123456789012", "example-resource-group", "expressRouteCrossConnectionName", "peeringName") + +if err := client.DeleteThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `ExpressRouteCrossConnectionPeeringsClient.Get` + +```go +ctx := context.TODO() +id := expressroutecrossconnectionpeerings.NewPeeringID("12345678-1234-9876-4563-123456789012", "example-resource-group", "expressRouteCrossConnectionName", "peeringName") + +read, err := client.Get(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `ExpressRouteCrossConnectionPeeringsClient.List` + +```go +ctx := context.TODO() +id := expressroutecrossconnectionpeerings.NewExpressRouteCrossConnectionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "expressRouteCrossConnectionName") + +// alternatively `client.List(ctx, id)` can be used to do batched pagination +items, err := client.ListComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnectionpeerings/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnectionpeerings/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnectionpeerings/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnectionpeerings/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnectionpeerings/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnectionpeerings/constants.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnectionpeerings/constants.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnectionpeerings/constants.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnectionpeerings/id_expressroutecrossconnection.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnectionpeerings/id_expressroutecrossconnection.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnectionpeerings/id_expressroutecrossconnection.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnectionpeerings/id_expressroutecrossconnection.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnectionpeerings/id_peering.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnectionpeerings/id_peering.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnectionpeerings/id_peering.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnectionpeerings/id_peering.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnectionpeerings/method_createorupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnectionpeerings/method_createorupdate.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnectionpeerings/method_createorupdate.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnectionpeerings/method_createorupdate.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnectionpeerings/method_delete.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnectionpeerings/method_delete.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnectionpeerings/method_delete.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnectionpeerings/method_delete.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnectionpeerings/method_get.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnectionpeerings/method_get.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnectionpeerings/method_get.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnectionpeerings/method_get.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnectionpeerings/method_list.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnectionpeerings/method_list.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnectionpeerings/method_list.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnectionpeerings/method_list.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnectionpeerings/model_expressroutecircuitpeeringconfig.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnectionpeerings/model_expressroutecircuitpeeringconfig.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnectionpeerings/model_expressroutecircuitpeeringconfig.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnectionpeerings/model_expressroutecircuitpeeringconfig.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnectionpeerings/model_expressroutecrossconnectionpeering.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnectionpeerings/model_expressroutecrossconnectionpeering.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnectionpeerings/model_expressroutecrossconnectionpeering.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnectionpeerings/model_expressroutecrossconnectionpeering.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnectionpeerings/model_expressroutecrossconnectionpeeringproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnectionpeerings/model_expressroutecrossconnectionpeeringproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnectionpeerings/model_expressroutecrossconnectionpeeringproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnectionpeerings/model_expressroutecrossconnectionpeeringproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnectionpeerings/model_ipv6expressroutecircuitpeeringconfig.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnectionpeerings/model_ipv6expressroutecircuitpeeringconfig.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnectionpeerings/model_ipv6expressroutecircuitpeeringconfig.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnectionpeerings/model_ipv6expressroutecircuitpeeringconfig.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnectionpeerings/model_subresource.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnectionpeerings/model_subresource.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnectionpeerings/model_subresource.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnectionpeerings/model_subresource.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnectionpeerings/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnectionpeerings/predicates.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnectionpeerings/predicates.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnectionpeerings/predicates.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnectionpeerings/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnectionpeerings/version.go new file mode 100644 index 000000000000..5cf17d0403a1 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnectionpeerings/version.go @@ -0,0 +1,10 @@ +package expressroutecrossconnectionpeerings + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2024-03-01" + +func userAgent() string { + return "hashicorp/go-azure-sdk/expressroutecrossconnectionpeerings/2024-03-01" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnectionroutetable/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnectionroutetable/README.md new file mode 100644 index 000000000000..5491faf19def --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnectionroutetable/README.md @@ -0,0 +1,37 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnectionroutetable` Documentation + +The `expressroutecrossconnectionroutetable` SDK allows for interaction with Azure Resource Manager `network` (API Version `2024-03-01`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnectionroutetable" +``` + + +### Client Initialization + +```go +client := expressroutecrossconnectionroutetable.NewExpressRouteCrossConnectionRouteTableClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `ExpressRouteCrossConnectionRouteTableClient.ExpressRouteCrossConnectionsListRoutesTable` + +```go +ctx := context.TODO() +id := expressroutecrossconnectionroutetable.NewExpressRouteCrossConnectionPeeringRouteTableID("12345678-1234-9876-4563-123456789012", "example-resource-group", "expressRouteCrossConnectionName", "peeringName", "routeTableName") + +// alternatively `client.ExpressRouteCrossConnectionsListRoutesTable(ctx, id)` can be used to do batched pagination +items, err := client.ExpressRouteCrossConnectionsListRoutesTableComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnectionroutetable/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnectionroutetable/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnectionroutetable/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnectionroutetable/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnectionroutetable/id_expressroutecrossconnectionpeeringroutetable.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnectionroutetable/id_expressroutecrossconnectionpeeringroutetable.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnectionroutetable/id_expressroutecrossconnectionpeeringroutetable.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnectionroutetable/id_expressroutecrossconnectionpeeringroutetable.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnectionroutetable/method_expressroutecrossconnectionslistroutestable.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnectionroutetable/method_expressroutecrossconnectionslistroutestable.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnectionroutetable/method_expressroutecrossconnectionslistroutestable.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnectionroutetable/method_expressroutecrossconnectionslistroutestable.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnectionroutetable/model_expressroutecircuitroutestable.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnectionroutetable/model_expressroutecircuitroutestable.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnectionroutetable/model_expressroutecircuitroutestable.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnectionroutetable/model_expressroutecircuitroutestable.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnectionroutetable/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnectionroutetable/predicates.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnectionroutetable/predicates.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnectionroutetable/predicates.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnectionroutetable/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnectionroutetable/version.go new file mode 100644 index 000000000000..cb9ac7e4925e --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnectionroutetable/version.go @@ -0,0 +1,10 @@ +package expressroutecrossconnectionroutetable + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2024-03-01" + +func userAgent() string { + return "hashicorp/go-azure-sdk/expressroutecrossconnectionroutetable/2024-03-01" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnectionroutetablesummary/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnectionroutetablesummary/README.md new file mode 100644 index 000000000000..feb742e6b91f --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnectionroutetablesummary/README.md @@ -0,0 +1,37 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnectionroutetablesummary` Documentation + +The `expressroutecrossconnectionroutetablesummary` SDK allows for interaction with Azure Resource Manager `network` (API Version `2024-03-01`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnectionroutetablesummary" +``` + + +### Client Initialization + +```go +client := expressroutecrossconnectionroutetablesummary.NewExpressRouteCrossConnectionRouteTableSummaryClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `ExpressRouteCrossConnectionRouteTableSummaryClient.ExpressRouteCrossConnectionsListRoutesTableSummary` + +```go +ctx := context.TODO() +id := expressroutecrossconnectionroutetablesummary.NewPeeringRouteTablesSummaryID("12345678-1234-9876-4563-123456789012", "example-resource-group", "expressRouteCrossConnectionName", "peeringName", "routeTablesSummaryName") + +// alternatively `client.ExpressRouteCrossConnectionsListRoutesTableSummary(ctx, id)` can be used to do batched pagination +items, err := client.ExpressRouteCrossConnectionsListRoutesTableSummaryComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnectionroutetablesummary/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnectionroutetablesummary/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnectionroutetablesummary/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnectionroutetablesummary/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnectionroutetablesummary/id_peeringroutetablessummary.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnectionroutetablesummary/id_peeringroutetablessummary.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnectionroutetablesummary/id_peeringroutetablessummary.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnectionroutetablesummary/id_peeringroutetablessummary.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnectionroutetablesummary/method_expressroutecrossconnectionslistroutestablesummary.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnectionroutetablesummary/method_expressroutecrossconnectionslistroutestablesummary.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnectionroutetablesummary/method_expressroutecrossconnectionslistroutestablesummary.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnectionroutetablesummary/method_expressroutecrossconnectionslistroutestablesummary.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnectionroutetablesummary/model_expressroutecrossconnectionroutestablesummary.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnectionroutetablesummary/model_expressroutecrossconnectionroutestablesummary.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnectionroutetablesummary/model_expressroutecrossconnectionroutestablesummary.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnectionroutetablesummary/model_expressroutecrossconnectionroutestablesummary.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnectionroutetablesummary/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnectionroutetablesummary/predicates.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnectionroutetablesummary/predicates.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnectionroutetablesummary/predicates.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnectionroutetablesummary/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnectionroutetablesummary/version.go new file mode 100644 index 000000000000..5942cb502bf0 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnectionroutetablesummary/version.go @@ -0,0 +1,10 @@ +package expressroutecrossconnectionroutetablesummary + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2024-03-01" + +func userAgent() string { + return "hashicorp/go-azure-sdk/expressroutecrossconnectionroutetablesummary/2024-03-01" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnections/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnections/README.md new file mode 100644 index 000000000000..018ffd2a4ec0 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnections/README.md @@ -0,0 +1,109 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnections` Documentation + +The `expressroutecrossconnections` SDK allows for interaction with Azure Resource Manager `network` (API Version `2024-03-01`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" +import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnections" +``` + + +### Client Initialization + +```go +client := expressroutecrossconnections.NewExpressRouteCrossConnectionsClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `ExpressRouteCrossConnectionsClient.CreateOrUpdate` + +```go +ctx := context.TODO() +id := expressroutecrossconnections.NewExpressRouteCrossConnectionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "expressRouteCrossConnectionName") + +payload := expressroutecrossconnections.ExpressRouteCrossConnection{ + // ... +} + + +if err := client.CreateOrUpdateThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `ExpressRouteCrossConnectionsClient.Get` + +```go +ctx := context.TODO() +id := expressroutecrossconnections.NewExpressRouteCrossConnectionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "expressRouteCrossConnectionName") + +read, err := client.Get(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `ExpressRouteCrossConnectionsClient.List` + +```go +ctx := context.TODO() +id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012") + +// alternatively `client.List(ctx, id, expressroutecrossconnections.DefaultListOperationOptions())` can be used to do batched pagination +items, err := client.ListComplete(ctx, id, expressroutecrossconnections.DefaultListOperationOptions()) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `ExpressRouteCrossConnectionsClient.ListByResourceGroup` + +```go +ctx := context.TODO() +id := commonids.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group") + +// alternatively `client.ListByResourceGroup(ctx, id)` can be used to do batched pagination +items, err := client.ListByResourceGroupComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `ExpressRouteCrossConnectionsClient.UpdateTags` + +```go +ctx := context.TODO() +id := expressroutecrossconnections.NewExpressRouteCrossConnectionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "expressRouteCrossConnectionName") + +payload := expressroutecrossconnections.TagsObject{ + // ... +} + + +read, err := client.UpdateTags(ctx, id, payload) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnections/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnections/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnections/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnections/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnections/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnections/constants.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnections/constants.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnections/constants.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnections/id_expressroutecrossconnection.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnections/id_expressroutecrossconnection.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnections/id_expressroutecrossconnection.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnections/id_expressroutecrossconnection.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnections/method_createorupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnections/method_createorupdate.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnections/method_createorupdate.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnections/method_createorupdate.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnections/method_get.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnections/method_get.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnections/method_get.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnections/method_get.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnections/method_list.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnections/method_list.go new file mode 100644 index 000000000000..402193d84191 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnections/method_list.go @@ -0,0 +1,135 @@ +package expressroutecrossconnections + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ListOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *[]ExpressRouteCrossConnection +} + +type ListCompleteResult struct { + LatestHttpResponse *http.Response + Items []ExpressRouteCrossConnection +} + +type ListOperationOptions struct { + Filter *string +} + +func DefaultListOperationOptions() ListOperationOptions { + return ListOperationOptions{} +} + +func (o ListOperationOptions) ToHeaders() *client.Headers { + out := client.Headers{} + + return &out +} + +func (o ListOperationOptions) ToOData() *odata.Query { + out := odata.Query{} + + return &out +} + +func (o ListOperationOptions) ToQuery() *client.QueryParams { + out := client.QueryParams{} + if o.Filter != nil { + out.Append("$filter", fmt.Sprintf("%v", *o.Filter)) + } + return &out +} + +type ListCustomPager struct { + NextLink *odata.Link `json:"nextLink"` +} + +func (p *ListCustomPager) NextPageLink() *odata.Link { + defer func() { + p.NextLink = nil + }() + + return p.NextLink +} + +// List ... +func (c ExpressRouteCrossConnectionsClient) List(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions) (result ListOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + OptionsObject: options, + Pager: &ListCustomPager{}, + Path: fmt.Sprintf("%s/providers/Microsoft.Network/expressRouteCrossConnections", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.ExecutePaged(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var values struct { + Values *[]ExpressRouteCrossConnection `json:"value"` + } + if err = resp.Unmarshal(&values); err != nil { + return + } + + result.Model = values.Values + + return +} + +// ListComplete retrieves all the results into a single object +func (c ExpressRouteCrossConnectionsClient) ListComplete(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions) (ListCompleteResult, error) { + return c.ListCompleteMatchingPredicate(ctx, id, options, ExpressRouteCrossConnectionOperationPredicate{}) +} + +// ListCompleteMatchingPredicate retrieves all the results and then applies the predicate +func (c ExpressRouteCrossConnectionsClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions, predicate ExpressRouteCrossConnectionOperationPredicate) (result ListCompleteResult, err error) { + items := make([]ExpressRouteCrossConnection, 0) + + resp, err := c.List(ctx, id, options) + if err != nil { + result.LatestHttpResponse = resp.HttpResponse + err = fmt.Errorf("loading results: %+v", err) + return + } + if resp.Model != nil { + for _, v := range *resp.Model { + if predicate.Matches(v) { + items = append(items, v) + } + } + } + + result = ListCompleteResult{ + LatestHttpResponse: resp.HttpResponse, + Items: items, + } + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnections/method_listbyresourcegroup.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnections/method_listbyresourcegroup.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnections/method_listbyresourcegroup.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnections/method_listbyresourcegroup.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnections/method_updatetags.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnections/method_updatetags.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnections/method_updatetags.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnections/method_updatetags.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnections/model_expressroutecircuitpeeringconfig.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnections/model_expressroutecircuitpeeringconfig.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnections/model_expressroutecircuitpeeringconfig.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnections/model_expressroutecircuitpeeringconfig.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnections/model_expressroutecircuitreference.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnections/model_expressroutecircuitreference.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnections/model_expressroutecircuitreference.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnections/model_expressroutecircuitreference.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnections/model_expressroutecrossconnection.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnections/model_expressroutecrossconnection.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnections/model_expressroutecrossconnection.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnections/model_expressroutecrossconnection.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnections/model_expressroutecrossconnectionpeering.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnections/model_expressroutecrossconnectionpeering.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnections/model_expressroutecrossconnectionpeering.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnections/model_expressroutecrossconnectionpeering.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnections/model_expressroutecrossconnectionpeeringproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnections/model_expressroutecrossconnectionpeeringproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnections/model_expressroutecrossconnectionpeeringproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnections/model_expressroutecrossconnectionpeeringproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnections/model_expressroutecrossconnectionproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnections/model_expressroutecrossconnectionproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnections/model_expressroutecrossconnectionproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnections/model_expressroutecrossconnectionproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnections/model_ipv6expressroutecircuitpeeringconfig.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnections/model_ipv6expressroutecircuitpeeringconfig.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnections/model_ipv6expressroutecircuitpeeringconfig.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnections/model_ipv6expressroutecircuitpeeringconfig.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnections/model_subresource.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnections/model_subresource.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnections/model_subresource.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnections/model_subresource.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnections/model_tagsobject.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnections/model_tagsobject.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnections/model_tagsobject.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnections/model_tagsobject.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnections/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnections/predicates.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnections/predicates.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnections/predicates.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnections/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnections/version.go new file mode 100644 index 000000000000..02849b0d0d12 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnections/version.go @@ -0,0 +1,10 @@ +package expressroutecrossconnections + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2024-03-01" + +func userAgent() string { + return "hashicorp/go-azure-sdk/expressroutecrossconnections/2024-03-01" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutegateways/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutegateways/README.md new file mode 100644 index 000000000000..88682d308c96 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutegateways/README.md @@ -0,0 +1,115 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutegateways` Documentation + +The `expressroutegateways` SDK allows for interaction with Azure Resource Manager `network` (API Version `2024-03-01`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" +import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutegateways" +``` + + +### Client Initialization + +```go +client := expressroutegateways.NewExpressRouteGatewaysClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `ExpressRouteGatewaysClient.CreateOrUpdate` + +```go +ctx := context.TODO() +id := expressroutegateways.NewExpressRouteGatewayID("12345678-1234-9876-4563-123456789012", "example-resource-group", "expressRouteGatewayName") + +payload := expressroutegateways.ExpressRouteGateway{ + // ... +} + + +if err := client.CreateOrUpdateThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `ExpressRouteGatewaysClient.Delete` + +```go +ctx := context.TODO() +id := expressroutegateways.NewExpressRouteGatewayID("12345678-1234-9876-4563-123456789012", "example-resource-group", "expressRouteGatewayName") + +if err := client.DeleteThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `ExpressRouteGatewaysClient.Get` + +```go +ctx := context.TODO() +id := expressroutegateways.NewExpressRouteGatewayID("12345678-1234-9876-4563-123456789012", "example-resource-group", "expressRouteGatewayName") + +read, err := client.Get(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `ExpressRouteGatewaysClient.ListByResourceGroup` + +```go +ctx := context.TODO() +id := commonids.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group") + +read, err := client.ListByResourceGroup(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `ExpressRouteGatewaysClient.ListBySubscription` + +```go +ctx := context.TODO() +id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012") + +read, err := client.ListBySubscription(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `ExpressRouteGatewaysClient.UpdateTags` + +```go +ctx := context.TODO() +id := expressroutegateways.NewExpressRouteGatewayID("12345678-1234-9876-4563-123456789012", "example-resource-group", "expressRouteGatewayName") + +payload := expressroutegateways.TagsObject{ + // ... +} + + +if err := client.UpdateTagsThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutegateways/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutegateways/client.go new file mode 100644 index 000000000000..292ef72ff7b3 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutegateways/client.go @@ -0,0 +1,26 @@ +package expressroutegateways + +import ( + "fmt" + + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + sdkEnv "github.com/hashicorp/go-azure-sdk/sdk/environments" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ExpressRouteGatewaysClient struct { + Client *resourcemanager.Client +} + +func NewExpressRouteGatewaysClientWithBaseURI(sdkApi sdkEnv.Api) (*ExpressRouteGatewaysClient, error) { + client, err := resourcemanager.NewClient(sdkApi, "expressroutegateways", defaultApiVersion) + if err != nil { + return nil, fmt.Errorf("instantiating ExpressRouteGatewaysClient: %+v", err) + } + + return &ExpressRouteGatewaysClient{ + Client: client, + }, nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutegateways/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutegateways/constants.go new file mode 100644 index 000000000000..ce8f5d5f24a1 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutegateways/constants.go @@ -0,0 +1,98 @@ +package expressroutegateways + +import ( + "encoding/json" + "fmt" + "strings" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ProvisioningState string + +const ( + ProvisioningStateDeleting ProvisioningState = "Deleting" + ProvisioningStateFailed ProvisioningState = "Failed" + ProvisioningStateSucceeded ProvisioningState = "Succeeded" + ProvisioningStateUpdating ProvisioningState = "Updating" +) + +func PossibleValuesForProvisioningState() []string { + return []string{ + string(ProvisioningStateDeleting), + string(ProvisioningStateFailed), + string(ProvisioningStateSucceeded), + string(ProvisioningStateUpdating), + } +} + +func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseProvisioningState(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseProvisioningState(input string) (*ProvisioningState, error) { + vals := map[string]ProvisioningState{ + "deleting": ProvisioningStateDeleting, + "failed": ProvisioningStateFailed, + "succeeded": ProvisioningStateSucceeded, + "updating": ProvisioningStateUpdating, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ProvisioningState(input) + return &out, nil +} + +type VnetLocalRouteOverrideCriteria string + +const ( + VnetLocalRouteOverrideCriteriaContains VnetLocalRouteOverrideCriteria = "Contains" + VnetLocalRouteOverrideCriteriaEqual VnetLocalRouteOverrideCriteria = "Equal" +) + +func PossibleValuesForVnetLocalRouteOverrideCriteria() []string { + return []string{ + string(VnetLocalRouteOverrideCriteriaContains), + string(VnetLocalRouteOverrideCriteriaEqual), + } +} + +func (s *VnetLocalRouteOverrideCriteria) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseVnetLocalRouteOverrideCriteria(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseVnetLocalRouteOverrideCriteria(input string) (*VnetLocalRouteOverrideCriteria, error) { + vals := map[string]VnetLocalRouteOverrideCriteria{ + "contains": VnetLocalRouteOverrideCriteriaContains, + "equal": VnetLocalRouteOverrideCriteriaEqual, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := VnetLocalRouteOverrideCriteria(input) + return &out, nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutegateways/id_expressroutegateway.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutegateways/id_expressroutegateway.go new file mode 100644 index 000000000000..924fe72c4ec5 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutegateways/id_expressroutegateway.go @@ -0,0 +1,130 @@ +package expressroutegateways + +import ( + "fmt" + "strings" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/recaser" + "github.com/hashicorp/go-azure-helpers/resourcemanager/resourceids" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +func init() { + recaser.RegisterResourceId(&ExpressRouteGatewayId{}) +} + +var _ resourceids.ResourceId = &ExpressRouteGatewayId{} + +// ExpressRouteGatewayId is a struct representing the Resource ID for a Express Route Gateway +type ExpressRouteGatewayId struct { + SubscriptionId string + ResourceGroupName string + ExpressRouteGatewayName string +} + +// NewExpressRouteGatewayID returns a new ExpressRouteGatewayId struct +func NewExpressRouteGatewayID(subscriptionId string, resourceGroupName string, expressRouteGatewayName string) ExpressRouteGatewayId { + return ExpressRouteGatewayId{ + SubscriptionId: subscriptionId, + ResourceGroupName: resourceGroupName, + ExpressRouteGatewayName: expressRouteGatewayName, + } +} + +// ParseExpressRouteGatewayID parses 'input' into a ExpressRouteGatewayId +func ParseExpressRouteGatewayID(input string) (*ExpressRouteGatewayId, error) { + parser := resourceids.NewParserFromResourceIdType(&ExpressRouteGatewayId{}) + parsed, err := parser.Parse(input, false) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := ExpressRouteGatewayId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +// ParseExpressRouteGatewayIDInsensitively parses 'input' case-insensitively into a ExpressRouteGatewayId +// note: this method should only be used for API response data and not user input +func ParseExpressRouteGatewayIDInsensitively(input string) (*ExpressRouteGatewayId, error) { + parser := resourceids.NewParserFromResourceIdType(&ExpressRouteGatewayId{}) + parsed, err := parser.Parse(input, true) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := ExpressRouteGatewayId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +func (id *ExpressRouteGatewayId) FromParseResult(input resourceids.ParseResult) error { + var ok bool + + if id.SubscriptionId, ok = input.Parsed["subscriptionId"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "subscriptionId", input) + } + + if id.ResourceGroupName, ok = input.Parsed["resourceGroupName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "resourceGroupName", input) + } + + if id.ExpressRouteGatewayName, ok = input.Parsed["expressRouteGatewayName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "expressRouteGatewayName", input) + } + + return nil +} + +// ValidateExpressRouteGatewayID checks that 'input' can be parsed as a Express Route Gateway ID +func ValidateExpressRouteGatewayID(input interface{}, key string) (warnings []string, errors []error) { + v, ok := input.(string) + if !ok { + errors = append(errors, fmt.Errorf("expected %q to be a string", key)) + return + } + + if _, err := ParseExpressRouteGatewayID(v); err != nil { + errors = append(errors, err) + } + + return +} + +// ID returns the formatted Express Route Gateway ID +func (id ExpressRouteGatewayId) ID() string { + fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.Network/expressRouteGateways/%s" + return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.ExpressRouteGatewayName) +} + +// Segments returns a slice of Resource ID Segments which comprise this Express Route Gateway ID +func (id ExpressRouteGatewayId) Segments() []resourceids.Segment { + return []resourceids.Segment{ + resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), + resourceids.SubscriptionIdSegment("subscriptionId", "12345678-1234-9876-4563-123456789012"), + resourceids.StaticSegment("staticResourceGroups", "resourceGroups", "resourceGroups"), + resourceids.ResourceGroupSegment("resourceGroupName", "example-resource-group"), + resourceids.StaticSegment("staticProviders", "providers", "providers"), + resourceids.ResourceProviderSegment("staticMicrosoftNetwork", "Microsoft.Network", "Microsoft.Network"), + resourceids.StaticSegment("staticExpressRouteGateways", "expressRouteGateways", "expressRouteGateways"), + resourceids.UserSpecifiedSegment("expressRouteGatewayName", "expressRouteGatewayName"), + } +} + +// String returns a human-readable description of this Express Route Gateway ID +func (id ExpressRouteGatewayId) String() string { + components := []string{ + fmt.Sprintf("Subscription: %q", id.SubscriptionId), + fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), + fmt.Sprintf("Express Route Gateway Name: %q", id.ExpressRouteGatewayName), + } + return fmt.Sprintf("Express Route Gateway (%s)", strings.Join(components, "\n")) +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutegateways/method_createorupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutegateways/method_createorupdate.go new file mode 100644 index 000000000000..b02bd6b5ebb4 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutegateways/method_createorupdate.go @@ -0,0 +1,75 @@ +package expressroutegateways + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/client/pollers" + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type CreateOrUpdateOperationResponse struct { + Poller pollers.Poller + HttpResponse *http.Response + OData *odata.OData + Model *ExpressRouteGateway +} + +// CreateOrUpdate ... +func (c ExpressRouteGatewaysClient) CreateOrUpdate(ctx context.Context, id ExpressRouteGatewayId, input ExpressRouteGateway) (result CreateOrUpdateOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusCreated, + http.StatusOK, + }, + HttpMethod: http.MethodPut, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + if err = req.Marshal(input); err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client) + if err != nil { + return + } + + return +} + +// CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed +func (c ExpressRouteGatewaysClient) CreateOrUpdateThenPoll(ctx context.Context, id ExpressRouteGatewayId, input ExpressRouteGateway) error { + result, err := c.CreateOrUpdate(ctx, id, input) + if err != nil { + return fmt.Errorf("performing CreateOrUpdate: %+v", err) + } + + if err := result.Poller.PollUntilDone(ctx); err != nil { + return fmt.Errorf("polling after CreateOrUpdate: %+v", err) + } + + return nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutegateways/method_delete.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutegateways/method_delete.go new file mode 100644 index 000000000000..200f12cef030 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutegateways/method_delete.go @@ -0,0 +1,71 @@ +package expressroutegateways + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/client/pollers" + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type DeleteOperationResponse struct { + Poller pollers.Poller + HttpResponse *http.Response + OData *odata.OData +} + +// Delete ... +func (c ExpressRouteGatewaysClient) Delete(ctx context.Context, id ExpressRouteGatewayId) (result DeleteOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusAccepted, + http.StatusNoContent, + http.StatusOK, + }, + HttpMethod: http.MethodDelete, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client) + if err != nil { + return + } + + return +} + +// DeleteThenPoll performs Delete then polls until it's completed +func (c ExpressRouteGatewaysClient) DeleteThenPoll(ctx context.Context, id ExpressRouteGatewayId) error { + result, err := c.Delete(ctx, id) + if err != nil { + return fmt.Errorf("performing Delete: %+v", err) + } + + if err := result.Poller.PollUntilDone(ctx); err != nil { + return fmt.Errorf("polling after Delete: %+v", err) + } + + return nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutegateways/method_get.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutegateways/method_get.go new file mode 100644 index 000000000000..3fe9ab488d07 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutegateways/method_get.go @@ -0,0 +1,53 @@ +package expressroutegateways + +import ( + "context" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type GetOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *ExpressRouteGateway +} + +// Get ... +func (c ExpressRouteGatewaysClient) Get(ctx context.Context, id ExpressRouteGatewayId) (result GetOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var model ExpressRouteGateway + result.Model = &model + if err = resp.Unmarshal(result.Model); err != nil { + return + } + + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutegateways/method_listbyresourcegroup.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutegateways/method_listbyresourcegroup.go new file mode 100644 index 000000000000..f76de802a392 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutegateways/method_listbyresourcegroup.go @@ -0,0 +1,55 @@ +package expressroutegateways + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ListByResourceGroupOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *ExpressRouteGatewayList +} + +// ListByResourceGroup ... +func (c ExpressRouteGatewaysClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListByResourceGroupOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Path: fmt.Sprintf("%s/providers/Microsoft.Network/expressRouteGateways", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var model ExpressRouteGatewayList + result.Model = &model + if err = resp.Unmarshal(result.Model); err != nil { + return + } + + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutegateways/method_listbysubscription.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutegateways/method_listbysubscription.go new file mode 100644 index 000000000000..840cb62145e4 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutegateways/method_listbysubscription.go @@ -0,0 +1,55 @@ +package expressroutegateways + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ListBySubscriptionOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *ExpressRouteGatewayList +} + +// ListBySubscription ... +func (c ExpressRouteGatewaysClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (result ListBySubscriptionOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Path: fmt.Sprintf("%s/providers/Microsoft.Network/expressRouteGateways", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var model ExpressRouteGatewayList + result.Model = &model + if err = resp.Unmarshal(result.Model); err != nil { + return + } + + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutegateways/method_updatetags.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutegateways/method_updatetags.go new file mode 100644 index 000000000000..26c61ce6010d --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutegateways/method_updatetags.go @@ -0,0 +1,75 @@ +package expressroutegateways + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/client/pollers" + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type UpdateTagsOperationResponse struct { + Poller pollers.Poller + HttpResponse *http.Response + OData *odata.OData + Model *ExpressRouteGateway +} + +// UpdateTags ... +func (c ExpressRouteGatewaysClient) UpdateTags(ctx context.Context, id ExpressRouteGatewayId, input TagsObject) (result UpdateTagsOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusAccepted, + http.StatusOK, + }, + HttpMethod: http.MethodPatch, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + if err = req.Marshal(input); err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client) + if err != nil { + return + } + + return +} + +// UpdateTagsThenPoll performs UpdateTags then polls until it's completed +func (c ExpressRouteGatewaysClient) UpdateTagsThenPoll(ctx context.Context, id ExpressRouteGatewayId, input TagsObject) error { + result, err := c.UpdateTags(ctx, id, input) + if err != nil { + return fmt.Errorf("performing UpdateTags: %+v", err) + } + + if err := result.Poller.PollUntilDone(ctx); err != nil { + return fmt.Errorf("polling after UpdateTags: %+v", err) + } + + return nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutegateways/model_expressroutecircuitpeeringid.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutegateways/model_expressroutecircuitpeeringid.go new file mode 100644 index 000000000000..832d97a11749 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutegateways/model_expressroutecircuitpeeringid.go @@ -0,0 +1,8 @@ +package expressroutegateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ExpressRouteCircuitPeeringId struct { + Id *string `json:"id,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutegateways/model_expressrouteconnection.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutegateways/model_expressrouteconnection.go new file mode 100644 index 000000000000..99219dd6cfd1 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutegateways/model_expressrouteconnection.go @@ -0,0 +1,10 @@ +package expressroutegateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ExpressRouteConnection struct { + Id *string `json:"id,omitempty"` + Name string `json:"name"` + Properties *ExpressRouteConnectionProperties `json:"properties,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutegateways/model_expressrouteconnectionproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutegateways/model_expressrouteconnectionproperties.go new file mode 100644 index 000000000000..931b412129f6 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutegateways/model_expressrouteconnectionproperties.go @@ -0,0 +1,15 @@ +package expressroutegateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ExpressRouteConnectionProperties struct { + AuthorizationKey *string `json:"authorizationKey,omitempty"` + EnableInternetSecurity *bool `json:"enableInternetSecurity,omitempty"` + EnablePrivateLinkFastPath *bool `json:"enablePrivateLinkFastPath,omitempty"` + ExpressRouteCircuitPeering ExpressRouteCircuitPeeringId `json:"expressRouteCircuitPeering"` + ExpressRouteGatewayBypass *bool `json:"expressRouteGatewayBypass,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + RoutingConfiguration *RoutingConfiguration `json:"routingConfiguration,omitempty"` + RoutingWeight *int64 `json:"routingWeight,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutegateways/model_expressroutegateway.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutegateways/model_expressroutegateway.go new file mode 100644 index 000000000000..5505ff540a82 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutegateways/model_expressroutegateway.go @@ -0,0 +1,14 @@ +package expressroutegateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ExpressRouteGateway struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Location *string `json:"location,omitempty"` + Name *string `json:"name,omitempty"` + Properties *ExpressRouteGatewayProperties `json:"properties,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutegateways/model_expressroutegatewaylist.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutegateways/model_expressroutegatewaylist.go new file mode 100644 index 000000000000..516674243801 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutegateways/model_expressroutegatewaylist.go @@ -0,0 +1,8 @@ +package expressroutegateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ExpressRouteGatewayList struct { + Value *[]ExpressRouteGateway `json:"value,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutegateways/model_expressroutegatewayproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutegateways/model_expressroutegatewayproperties.go new file mode 100644 index 000000000000..4860e7d555a1 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutegateways/model_expressroutegatewayproperties.go @@ -0,0 +1,12 @@ +package expressroutegateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ExpressRouteGatewayProperties struct { + AllowNonVirtualWanTraffic *bool `json:"allowNonVirtualWanTraffic,omitempty"` + AutoScaleConfiguration *ExpressRouteGatewayPropertiesAutoScaleConfiguration `json:"autoScaleConfiguration,omitempty"` + ExpressRouteConnections *[]ExpressRouteConnection `json:"expressRouteConnections,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + VirtualHub VirtualHubId `json:"virtualHub"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutegateways/model_expressroutegatewaypropertiesautoscaleconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutegateways/model_expressroutegatewaypropertiesautoscaleconfiguration.go new file mode 100644 index 000000000000..60677f25d4cf --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutegateways/model_expressroutegatewaypropertiesautoscaleconfiguration.go @@ -0,0 +1,8 @@ +package expressroutegateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ExpressRouteGatewayPropertiesAutoScaleConfiguration struct { + Bounds *ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds `json:"bounds,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutegateways/model_expressroutegatewaypropertiesautoscaleconfigurationbounds.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutegateways/model_expressroutegatewaypropertiesautoscaleconfigurationbounds.go new file mode 100644 index 000000000000..65a1ccb474b2 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutegateways/model_expressroutegatewaypropertiesautoscaleconfigurationbounds.go @@ -0,0 +1,9 @@ +package expressroutegateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds struct { + Max *int64 `json:"max,omitempty"` + Min *int64 `json:"min,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutegateways/model_propagatedroutetable.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutegateways/model_propagatedroutetable.go new file mode 100644 index 000000000000..93c6f306054e --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutegateways/model_propagatedroutetable.go @@ -0,0 +1,9 @@ +package expressroutegateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PropagatedRouteTable struct { + Ids *[]SubResource `json:"ids,omitempty"` + Labels *[]string `json:"labels,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutegateways/model_routingconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutegateways/model_routingconfiguration.go new file mode 100644 index 000000000000..670d99078812 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutegateways/model_routingconfiguration.go @@ -0,0 +1,12 @@ +package expressroutegateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type RoutingConfiguration struct { + AssociatedRouteTable *SubResource `json:"associatedRouteTable,omitempty"` + InboundRouteMap *SubResource `json:"inboundRouteMap,omitempty"` + OutboundRouteMap *SubResource `json:"outboundRouteMap,omitempty"` + PropagatedRouteTables *PropagatedRouteTable `json:"propagatedRouteTables,omitempty"` + VnetRoutes *VnetRoute `json:"vnetRoutes,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutegateways/model_staticroute.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutegateways/model_staticroute.go new file mode 100644 index 000000000000..29422baf7435 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutegateways/model_staticroute.go @@ -0,0 +1,10 @@ +package expressroutegateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type StaticRoute struct { + AddressPrefixes *[]string `json:"addressPrefixes,omitempty"` + Name *string `json:"name,omitempty"` + NextHopIPAddress *string `json:"nextHopIpAddress,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutegateways/model_staticroutesconfig.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutegateways/model_staticroutesconfig.go new file mode 100644 index 000000000000..d570d0ec17a3 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutegateways/model_staticroutesconfig.go @@ -0,0 +1,9 @@ +package expressroutegateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type StaticRoutesConfig struct { + PropagateStaticRoutes *bool `json:"propagateStaticRoutes,omitempty"` + VnetLocalRouteOverrideCriteria *VnetLocalRouteOverrideCriteria `json:"vnetLocalRouteOverrideCriteria,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutegateways/model_subresource.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutegateways/model_subresource.go new file mode 100644 index 000000000000..f86e34933406 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutegateways/model_subresource.go @@ -0,0 +1,8 @@ +package expressroutegateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type SubResource struct { + Id *string `json:"id,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutegateways/model_tagsobject.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutegateways/model_tagsobject.go new file mode 100644 index 000000000000..706aff41cd44 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutegateways/model_tagsobject.go @@ -0,0 +1,8 @@ +package expressroutegateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type TagsObject struct { + Tags *map[string]string `json:"tags,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutegateways/model_virtualhubid.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutegateways/model_virtualhubid.go new file mode 100644 index 000000000000..41cb5ff6fd15 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutegateways/model_virtualhubid.go @@ -0,0 +1,8 @@ +package expressroutegateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VirtualHubId struct { + Id *string `json:"id,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutegateways/model_vnetroute.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutegateways/model_vnetroute.go new file mode 100644 index 000000000000..c9586e946c6f --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutegateways/model_vnetroute.go @@ -0,0 +1,10 @@ +package expressroutegateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VnetRoute struct { + BgpConnections *[]SubResource `json:"bgpConnections,omitempty"` + StaticRoutes *[]StaticRoute `json:"staticRoutes,omitempty"` + StaticRoutesConfig *StaticRoutesConfig `json:"staticRoutesConfig,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutegateways/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutegateways/version.go new file mode 100644 index 000000000000..2d8109907418 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutegateways/version.go @@ -0,0 +1,10 @@ +package expressroutegateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2024-03-01" + +func userAgent() string { + return "hashicorp/go-azure-sdk/expressroutegateways/2024-03-01" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutelinks/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutelinks/README.md new file mode 100644 index 000000000000..4ce5788a98cf --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutelinks/README.md @@ -0,0 +1,53 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutelinks` Documentation + +The `expressroutelinks` SDK allows for interaction with Azure Resource Manager `network` (API Version `2024-03-01`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutelinks" +``` + + +### Client Initialization + +```go +client := expressroutelinks.NewExpressRouteLinksClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `ExpressRouteLinksClient.Get` + +```go +ctx := context.TODO() +id := expressroutelinks.NewLinkID("12345678-1234-9876-4563-123456789012", "example-resource-group", "expressRoutePortName", "linkName") + +read, err := client.Get(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `ExpressRouteLinksClient.List` + +```go +ctx := context.TODO() +id := expressroutelinks.NewExpressRoutePortID("12345678-1234-9876-4563-123456789012", "example-resource-group", "expressRoutePortName") + +// alternatively `client.List(ctx, id)` can be used to do batched pagination +items, err := client.ListComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutelinks/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutelinks/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutelinks/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutelinks/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutelinks/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutelinks/constants.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutelinks/constants.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutelinks/constants.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutelinks/id_expressrouteport.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutelinks/id_expressrouteport.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutelinks/id_expressrouteport.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutelinks/id_expressrouteport.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutelinks/id_link.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutelinks/id_link.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutelinks/id_link.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutelinks/id_link.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutelinks/method_get.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutelinks/method_get.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutelinks/method_get.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutelinks/method_get.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutelinks/method_list.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutelinks/method_list.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutelinks/method_list.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutelinks/method_list.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutelinks/model_expressroutelink.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutelinks/model_expressroutelink.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutelinks/model_expressroutelink.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutelinks/model_expressroutelink.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutelinks/model_expressroutelinkmacsecconfig.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutelinks/model_expressroutelinkmacsecconfig.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutelinks/model_expressroutelinkmacsecconfig.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutelinks/model_expressroutelinkmacsecconfig.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutelinks/model_expressroutelinkpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutelinks/model_expressroutelinkpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutelinks/model_expressroutelinkpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutelinks/model_expressroutelinkpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutelinks/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutelinks/predicates.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutelinks/predicates.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutelinks/predicates.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutelinks/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutelinks/version.go new file mode 100644 index 000000000000..b7aadc75493f --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutelinks/version.go @@ -0,0 +1,10 @@ +package expressroutelinks + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2024-03-01" + +func userAgent() string { + return "hashicorp/go-azure-sdk/expressroutelinks/2024-03-01" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteportauthorizations/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteportauthorizations/README.md new file mode 100644 index 000000000000..b649564d072f --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteportauthorizations/README.md @@ -0,0 +1,82 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteportauthorizations` Documentation + +The `expressrouteportauthorizations` SDK allows for interaction with Azure Resource Manager `network` (API Version `2024-03-01`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteportauthorizations" +``` + + +### Client Initialization + +```go +client := expressrouteportauthorizations.NewExpressRoutePortAuthorizationsClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `ExpressRoutePortAuthorizationsClient.CreateOrUpdate` + +```go +ctx := context.TODO() +id := expressrouteportauthorizations.NewExpressRoutePortAuthorizationID("12345678-1234-9876-4563-123456789012", "example-resource-group", "expressRoutePortName", "authorizationName") + +payload := expressrouteportauthorizations.ExpressRoutePortAuthorization{ + // ... +} + + +if err := client.CreateOrUpdateThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `ExpressRoutePortAuthorizationsClient.Delete` + +```go +ctx := context.TODO() +id := expressrouteportauthorizations.NewExpressRoutePortAuthorizationID("12345678-1234-9876-4563-123456789012", "example-resource-group", "expressRoutePortName", "authorizationName") + +if err := client.DeleteThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `ExpressRoutePortAuthorizationsClient.Get` + +```go +ctx := context.TODO() +id := expressrouteportauthorizations.NewExpressRoutePortAuthorizationID("12345678-1234-9876-4563-123456789012", "example-resource-group", "expressRoutePortName", "authorizationName") + +read, err := client.Get(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `ExpressRoutePortAuthorizationsClient.List` + +```go +ctx := context.TODO() +id := expressrouteportauthorizations.NewExpressRoutePortID("12345678-1234-9876-4563-123456789012", "example-resource-group", "expressRoutePortName") + +// alternatively `client.List(ctx, id)` can be used to do batched pagination +items, err := client.ListComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteportauthorizations/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteportauthorizations/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteportauthorizations/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteportauthorizations/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteportauthorizations/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteportauthorizations/constants.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteportauthorizations/constants.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteportauthorizations/constants.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteportauthorizations/id_expressrouteport.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteportauthorizations/id_expressrouteport.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteportauthorizations/id_expressrouteport.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteportauthorizations/id_expressrouteport.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteportauthorizations/id_expressrouteportauthorization.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteportauthorizations/id_expressrouteportauthorization.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteportauthorizations/id_expressrouteportauthorization.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteportauthorizations/id_expressrouteportauthorization.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteportauthorizations/method_createorupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteportauthorizations/method_createorupdate.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteportauthorizations/method_createorupdate.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteportauthorizations/method_createorupdate.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteportauthorizations/method_delete.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteportauthorizations/method_delete.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteportauthorizations/method_delete.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteportauthorizations/method_delete.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteportauthorizations/method_get.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteportauthorizations/method_get.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteportauthorizations/method_get.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteportauthorizations/method_get.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteportauthorizations/method_list.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteportauthorizations/method_list.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteportauthorizations/method_list.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteportauthorizations/method_list.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteportauthorizations/model_expressrouteportauthorization.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteportauthorizations/model_expressrouteportauthorization.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteportauthorizations/model_expressrouteportauthorization.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteportauthorizations/model_expressrouteportauthorization.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteportauthorizations/model_expressrouteportauthorizationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteportauthorizations/model_expressrouteportauthorizationpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteportauthorizations/model_expressrouteportauthorizationpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteportauthorizations/model_expressrouteportauthorizationpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteportauthorizations/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteportauthorizations/predicates.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteportauthorizations/predicates.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteportauthorizations/predicates.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteportauthorizations/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteportauthorizations/version.go new file mode 100644 index 000000000000..c6b2fdfa51b4 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteportauthorizations/version.go @@ -0,0 +1,10 @@ +package expressrouteportauthorizations + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2024-03-01" + +func userAgent() string { + return "hashicorp/go-azure-sdk/expressrouteportauthorizations/2024-03-01" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteports/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteports/README.md new file mode 100644 index 000000000000..b91bc3697047 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteports/README.md @@ -0,0 +1,142 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteports` Documentation + +The `expressrouteports` SDK allows for interaction with Azure Resource Manager `network` (API Version `2024-03-01`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" +import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteports" +``` + + +### Client Initialization + +```go +client := expressrouteports.NewExpressRoutePortsClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `ExpressRoutePortsClient.CreateOrUpdate` + +```go +ctx := context.TODO() +id := expressrouteports.NewExpressRoutePortID("12345678-1234-9876-4563-123456789012", "example-resource-group", "expressRoutePortName") + +payload := expressrouteports.ExpressRoutePort{ + // ... +} + + +if err := client.CreateOrUpdateThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `ExpressRoutePortsClient.Delete` + +```go +ctx := context.TODO() +id := expressrouteports.NewExpressRoutePortID("12345678-1234-9876-4563-123456789012", "example-resource-group", "expressRoutePortName") + +if err := client.DeleteThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `ExpressRoutePortsClient.GenerateLOA` + +```go +ctx := context.TODO() +id := expressrouteports.NewExpressRoutePortID("12345678-1234-9876-4563-123456789012", "example-resource-group", "expressRoutePortName") + +payload := expressrouteports.GenerateExpressRoutePortsLOARequest{ + // ... +} + + +read, err := client.GenerateLOA(ctx, id, payload) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `ExpressRoutePortsClient.Get` + +```go +ctx := context.TODO() +id := expressrouteports.NewExpressRoutePortID("12345678-1234-9876-4563-123456789012", "example-resource-group", "expressRoutePortName") + +read, err := client.Get(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `ExpressRoutePortsClient.List` + +```go +ctx := context.TODO() +id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012") + +// alternatively `client.List(ctx, id)` can be used to do batched pagination +items, err := client.ListComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `ExpressRoutePortsClient.ListByResourceGroup` + +```go +ctx := context.TODO() +id := commonids.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group") + +// alternatively `client.ListByResourceGroup(ctx, id)` can be used to do batched pagination +items, err := client.ListByResourceGroupComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `ExpressRoutePortsClient.UpdateTags` + +```go +ctx := context.TODO() +id := expressrouteports.NewExpressRoutePortID("12345678-1234-9876-4563-123456789012", "example-resource-group", "expressRoutePortName") + +payload := expressrouteports.TagsObject{ + // ... +} + + +read, err := client.UpdateTags(ctx, id, payload) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteports/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteports/client.go new file mode 100644 index 000000000000..82e57d5b54f8 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteports/client.go @@ -0,0 +1,26 @@ +package expressrouteports + +import ( + "fmt" + + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + sdkEnv "github.com/hashicorp/go-azure-sdk/sdk/environments" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ExpressRoutePortsClient struct { + Client *resourcemanager.Client +} + +func NewExpressRoutePortsClientWithBaseURI(sdkApi sdkEnv.Api) (*ExpressRoutePortsClient, error) { + client, err := resourcemanager.NewClient(sdkApi, "expressrouteports", defaultApiVersion) + if err != nil { + return nil, fmt.Errorf("instantiating ExpressRoutePortsClient: %+v", err) + } + + return &ExpressRoutePortsClient{ + Client: client, + }, nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteports/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteports/constants.go new file mode 100644 index 000000000000..0c08bc2c72fa --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteports/constants.go @@ -0,0 +1,309 @@ +package expressrouteports + +import ( + "encoding/json" + "fmt" + "strings" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ExpressRouteLinkAdminState string + +const ( + ExpressRouteLinkAdminStateDisabled ExpressRouteLinkAdminState = "Disabled" + ExpressRouteLinkAdminStateEnabled ExpressRouteLinkAdminState = "Enabled" +) + +func PossibleValuesForExpressRouteLinkAdminState() []string { + return []string{ + string(ExpressRouteLinkAdminStateDisabled), + string(ExpressRouteLinkAdminStateEnabled), + } +} + +func (s *ExpressRouteLinkAdminState) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseExpressRouteLinkAdminState(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseExpressRouteLinkAdminState(input string) (*ExpressRouteLinkAdminState, error) { + vals := map[string]ExpressRouteLinkAdminState{ + "disabled": ExpressRouteLinkAdminStateDisabled, + "enabled": ExpressRouteLinkAdminStateEnabled, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ExpressRouteLinkAdminState(input) + return &out, nil +} + +type ExpressRouteLinkConnectorType string + +const ( + ExpressRouteLinkConnectorTypeLC ExpressRouteLinkConnectorType = "LC" + ExpressRouteLinkConnectorTypeSC ExpressRouteLinkConnectorType = "SC" +) + +func PossibleValuesForExpressRouteLinkConnectorType() []string { + return []string{ + string(ExpressRouteLinkConnectorTypeLC), + string(ExpressRouteLinkConnectorTypeSC), + } +} + +func (s *ExpressRouteLinkConnectorType) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseExpressRouteLinkConnectorType(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseExpressRouteLinkConnectorType(input string) (*ExpressRouteLinkConnectorType, error) { + vals := map[string]ExpressRouteLinkConnectorType{ + "lc": ExpressRouteLinkConnectorTypeLC, + "sc": ExpressRouteLinkConnectorTypeSC, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ExpressRouteLinkConnectorType(input) + return &out, nil +} + +type ExpressRouteLinkMacSecCipher string + +const ( + ExpressRouteLinkMacSecCipherGcmAesOneTwoEight ExpressRouteLinkMacSecCipher = "GcmAes128" + ExpressRouteLinkMacSecCipherGcmAesTwoFiveSix ExpressRouteLinkMacSecCipher = "GcmAes256" + ExpressRouteLinkMacSecCipherGcmAesXpnOneTwoEight ExpressRouteLinkMacSecCipher = "GcmAesXpn128" + ExpressRouteLinkMacSecCipherGcmAesXpnTwoFiveSix ExpressRouteLinkMacSecCipher = "GcmAesXpn256" +) + +func PossibleValuesForExpressRouteLinkMacSecCipher() []string { + return []string{ + string(ExpressRouteLinkMacSecCipherGcmAesOneTwoEight), + string(ExpressRouteLinkMacSecCipherGcmAesTwoFiveSix), + string(ExpressRouteLinkMacSecCipherGcmAesXpnOneTwoEight), + string(ExpressRouteLinkMacSecCipherGcmAesXpnTwoFiveSix), + } +} + +func (s *ExpressRouteLinkMacSecCipher) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseExpressRouteLinkMacSecCipher(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseExpressRouteLinkMacSecCipher(input string) (*ExpressRouteLinkMacSecCipher, error) { + vals := map[string]ExpressRouteLinkMacSecCipher{ + "gcmaes128": ExpressRouteLinkMacSecCipherGcmAesOneTwoEight, + "gcmaes256": ExpressRouteLinkMacSecCipherGcmAesTwoFiveSix, + "gcmaesxpn128": ExpressRouteLinkMacSecCipherGcmAesXpnOneTwoEight, + "gcmaesxpn256": ExpressRouteLinkMacSecCipherGcmAesXpnTwoFiveSix, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ExpressRouteLinkMacSecCipher(input) + return &out, nil +} + +type ExpressRouteLinkMacSecSciState string + +const ( + ExpressRouteLinkMacSecSciStateDisabled ExpressRouteLinkMacSecSciState = "Disabled" + ExpressRouteLinkMacSecSciStateEnabled ExpressRouteLinkMacSecSciState = "Enabled" +) + +func PossibleValuesForExpressRouteLinkMacSecSciState() []string { + return []string{ + string(ExpressRouteLinkMacSecSciStateDisabled), + string(ExpressRouteLinkMacSecSciStateEnabled), + } +} + +func (s *ExpressRouteLinkMacSecSciState) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseExpressRouteLinkMacSecSciState(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseExpressRouteLinkMacSecSciState(input string) (*ExpressRouteLinkMacSecSciState, error) { + vals := map[string]ExpressRouteLinkMacSecSciState{ + "disabled": ExpressRouteLinkMacSecSciStateDisabled, + "enabled": ExpressRouteLinkMacSecSciStateEnabled, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ExpressRouteLinkMacSecSciState(input) + return &out, nil +} + +type ExpressRoutePortsBillingType string + +const ( + ExpressRoutePortsBillingTypeMeteredData ExpressRoutePortsBillingType = "MeteredData" + ExpressRoutePortsBillingTypeUnlimitedData ExpressRoutePortsBillingType = "UnlimitedData" +) + +func PossibleValuesForExpressRoutePortsBillingType() []string { + return []string{ + string(ExpressRoutePortsBillingTypeMeteredData), + string(ExpressRoutePortsBillingTypeUnlimitedData), + } +} + +func (s *ExpressRoutePortsBillingType) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseExpressRoutePortsBillingType(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseExpressRoutePortsBillingType(input string) (*ExpressRoutePortsBillingType, error) { + vals := map[string]ExpressRoutePortsBillingType{ + "metereddata": ExpressRoutePortsBillingTypeMeteredData, + "unlimiteddata": ExpressRoutePortsBillingTypeUnlimitedData, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ExpressRoutePortsBillingType(input) + return &out, nil +} + +type ExpressRoutePortsEncapsulation string + +const ( + ExpressRoutePortsEncapsulationDotOneQ ExpressRoutePortsEncapsulation = "Dot1Q" + ExpressRoutePortsEncapsulationQinQ ExpressRoutePortsEncapsulation = "QinQ" +) + +func PossibleValuesForExpressRoutePortsEncapsulation() []string { + return []string{ + string(ExpressRoutePortsEncapsulationDotOneQ), + string(ExpressRoutePortsEncapsulationQinQ), + } +} + +func (s *ExpressRoutePortsEncapsulation) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseExpressRoutePortsEncapsulation(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseExpressRoutePortsEncapsulation(input string) (*ExpressRoutePortsEncapsulation, error) { + vals := map[string]ExpressRoutePortsEncapsulation{ + "dot1q": ExpressRoutePortsEncapsulationDotOneQ, + "qinq": ExpressRoutePortsEncapsulationQinQ, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ExpressRoutePortsEncapsulation(input) + return &out, nil +} + +type ProvisioningState string + +const ( + ProvisioningStateDeleting ProvisioningState = "Deleting" + ProvisioningStateFailed ProvisioningState = "Failed" + ProvisioningStateSucceeded ProvisioningState = "Succeeded" + ProvisioningStateUpdating ProvisioningState = "Updating" +) + +func PossibleValuesForProvisioningState() []string { + return []string{ + string(ProvisioningStateDeleting), + string(ProvisioningStateFailed), + string(ProvisioningStateSucceeded), + string(ProvisioningStateUpdating), + } +} + +func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseProvisioningState(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseProvisioningState(input string) (*ProvisioningState, error) { + vals := map[string]ProvisioningState{ + "deleting": ProvisioningStateDeleting, + "failed": ProvisioningStateFailed, + "succeeded": ProvisioningStateSucceeded, + "updating": ProvisioningStateUpdating, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ProvisioningState(input) + return &out, nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteports/id_expressrouteport.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteports/id_expressrouteport.go new file mode 100644 index 000000000000..17c2ee16ba03 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteports/id_expressrouteport.go @@ -0,0 +1,130 @@ +package expressrouteports + +import ( + "fmt" + "strings" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/recaser" + "github.com/hashicorp/go-azure-helpers/resourcemanager/resourceids" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +func init() { + recaser.RegisterResourceId(&ExpressRoutePortId{}) +} + +var _ resourceids.ResourceId = &ExpressRoutePortId{} + +// ExpressRoutePortId is a struct representing the Resource ID for a Express Route Port +type ExpressRoutePortId struct { + SubscriptionId string + ResourceGroupName string + ExpressRoutePortName string +} + +// NewExpressRoutePortID returns a new ExpressRoutePortId struct +func NewExpressRoutePortID(subscriptionId string, resourceGroupName string, expressRoutePortName string) ExpressRoutePortId { + return ExpressRoutePortId{ + SubscriptionId: subscriptionId, + ResourceGroupName: resourceGroupName, + ExpressRoutePortName: expressRoutePortName, + } +} + +// ParseExpressRoutePortID parses 'input' into a ExpressRoutePortId +func ParseExpressRoutePortID(input string) (*ExpressRoutePortId, error) { + parser := resourceids.NewParserFromResourceIdType(&ExpressRoutePortId{}) + parsed, err := parser.Parse(input, false) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := ExpressRoutePortId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +// ParseExpressRoutePortIDInsensitively parses 'input' case-insensitively into a ExpressRoutePortId +// note: this method should only be used for API response data and not user input +func ParseExpressRoutePortIDInsensitively(input string) (*ExpressRoutePortId, error) { + parser := resourceids.NewParserFromResourceIdType(&ExpressRoutePortId{}) + parsed, err := parser.Parse(input, true) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := ExpressRoutePortId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +func (id *ExpressRoutePortId) FromParseResult(input resourceids.ParseResult) error { + var ok bool + + if id.SubscriptionId, ok = input.Parsed["subscriptionId"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "subscriptionId", input) + } + + if id.ResourceGroupName, ok = input.Parsed["resourceGroupName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "resourceGroupName", input) + } + + if id.ExpressRoutePortName, ok = input.Parsed["expressRoutePortName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "expressRoutePortName", input) + } + + return nil +} + +// ValidateExpressRoutePortID checks that 'input' can be parsed as a Express Route Port ID +func ValidateExpressRoutePortID(input interface{}, key string) (warnings []string, errors []error) { + v, ok := input.(string) + if !ok { + errors = append(errors, fmt.Errorf("expected %q to be a string", key)) + return + } + + if _, err := ParseExpressRoutePortID(v); err != nil { + errors = append(errors, err) + } + + return +} + +// ID returns the formatted Express Route Port ID +func (id ExpressRoutePortId) ID() string { + fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.Network/expressRoutePorts/%s" + return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.ExpressRoutePortName) +} + +// Segments returns a slice of Resource ID Segments which comprise this Express Route Port ID +func (id ExpressRoutePortId) Segments() []resourceids.Segment { + return []resourceids.Segment{ + resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), + resourceids.SubscriptionIdSegment("subscriptionId", "12345678-1234-9876-4563-123456789012"), + resourceids.StaticSegment("staticResourceGroups", "resourceGroups", "resourceGroups"), + resourceids.ResourceGroupSegment("resourceGroupName", "example-resource-group"), + resourceids.StaticSegment("staticProviders", "providers", "providers"), + resourceids.ResourceProviderSegment("staticMicrosoftNetwork", "Microsoft.Network", "Microsoft.Network"), + resourceids.StaticSegment("staticExpressRoutePorts", "expressRoutePorts", "expressRoutePorts"), + resourceids.UserSpecifiedSegment("expressRoutePortName", "expressRoutePortName"), + } +} + +// String returns a human-readable description of this Express Route Port ID +func (id ExpressRoutePortId) String() string { + components := []string{ + fmt.Sprintf("Subscription: %q", id.SubscriptionId), + fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), + fmt.Sprintf("Express Route Port Name: %q", id.ExpressRoutePortName), + } + return fmt.Sprintf("Express Route Port (%s)", strings.Join(components, "\n")) +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteports/method_createorupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteports/method_createorupdate.go new file mode 100644 index 000000000000..34782a4d4f38 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteports/method_createorupdate.go @@ -0,0 +1,75 @@ +package expressrouteports + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/client/pollers" + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type CreateOrUpdateOperationResponse struct { + Poller pollers.Poller + HttpResponse *http.Response + OData *odata.OData + Model *ExpressRoutePort +} + +// CreateOrUpdate ... +func (c ExpressRoutePortsClient) CreateOrUpdate(ctx context.Context, id ExpressRoutePortId, input ExpressRoutePort) (result CreateOrUpdateOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusCreated, + http.StatusOK, + }, + HttpMethod: http.MethodPut, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + if err = req.Marshal(input); err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client) + if err != nil { + return + } + + return +} + +// CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed +func (c ExpressRoutePortsClient) CreateOrUpdateThenPoll(ctx context.Context, id ExpressRoutePortId, input ExpressRoutePort) error { + result, err := c.CreateOrUpdate(ctx, id, input) + if err != nil { + return fmt.Errorf("performing CreateOrUpdate: %+v", err) + } + + if err := result.Poller.PollUntilDone(ctx); err != nil { + return fmt.Errorf("polling after CreateOrUpdate: %+v", err) + } + + return nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteports/method_delete.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteports/method_delete.go new file mode 100644 index 000000000000..899e7de35bdf --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteports/method_delete.go @@ -0,0 +1,71 @@ +package expressrouteports + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/client/pollers" + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type DeleteOperationResponse struct { + Poller pollers.Poller + HttpResponse *http.Response + OData *odata.OData +} + +// Delete ... +func (c ExpressRoutePortsClient) Delete(ctx context.Context, id ExpressRoutePortId) (result DeleteOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusAccepted, + http.StatusNoContent, + http.StatusOK, + }, + HttpMethod: http.MethodDelete, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client) + if err != nil { + return + } + + return +} + +// DeleteThenPoll performs Delete then polls until it's completed +func (c ExpressRoutePortsClient) DeleteThenPoll(ctx context.Context, id ExpressRoutePortId) error { + result, err := c.Delete(ctx, id) + if err != nil { + return fmt.Errorf("performing Delete: %+v", err) + } + + if err := result.Poller.PollUntilDone(ctx); err != nil { + return fmt.Errorf("polling after Delete: %+v", err) + } + + return nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteports/method_generateloa.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteports/method_generateloa.go new file mode 100644 index 000000000000..d5725e743a69 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteports/method_generateloa.go @@ -0,0 +1,58 @@ +package expressrouteports + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type GenerateLOAOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *GenerateExpressRoutePortsLOAResult +} + +// GenerateLOA ... +func (c ExpressRoutePortsClient) GenerateLOA(ctx context.Context, id ExpressRoutePortId, input GenerateExpressRoutePortsLOARequest) (result GenerateLOAOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodPost, + Path: fmt.Sprintf("%s/generateLoa", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + if err = req.Marshal(input); err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var model GenerateExpressRoutePortsLOAResult + result.Model = &model + if err = resp.Unmarshal(result.Model); err != nil { + return + } + + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteports/method_get.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteports/method_get.go new file mode 100644 index 000000000000..dda9cada8505 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteports/method_get.go @@ -0,0 +1,53 @@ +package expressrouteports + +import ( + "context" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type GetOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *ExpressRoutePort +} + +// Get ... +func (c ExpressRoutePortsClient) Get(ctx context.Context, id ExpressRoutePortId) (result GetOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var model ExpressRoutePort + result.Model = &model + if err = resp.Unmarshal(result.Model); err != nil { + return + } + + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteports/method_list.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteports/method_list.go new file mode 100644 index 000000000000..6ad9fc7015f2 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteports/method_list.go @@ -0,0 +1,106 @@ +package expressrouteports + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ListOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *[]ExpressRoutePort +} + +type ListCompleteResult struct { + LatestHttpResponse *http.Response + Items []ExpressRoutePort +} + +type ListCustomPager struct { + NextLink *odata.Link `json:"nextLink"` +} + +func (p *ListCustomPager) NextPageLink() *odata.Link { + defer func() { + p.NextLink = nil + }() + + return p.NextLink +} + +// List ... +func (c ExpressRoutePortsClient) List(ctx context.Context, id commonids.SubscriptionId) (result ListOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Pager: &ListCustomPager{}, + Path: fmt.Sprintf("%s/providers/Microsoft.Network/expressRoutePorts", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.ExecutePaged(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var values struct { + Values *[]ExpressRoutePort `json:"value"` + } + if err = resp.Unmarshal(&values); err != nil { + return + } + + result.Model = values.Values + + return +} + +// ListComplete retrieves all the results into a single object +func (c ExpressRoutePortsClient) ListComplete(ctx context.Context, id commonids.SubscriptionId) (ListCompleteResult, error) { + return c.ListCompleteMatchingPredicate(ctx, id, ExpressRoutePortOperationPredicate{}) +} + +// ListCompleteMatchingPredicate retrieves all the results and then applies the predicate +func (c ExpressRoutePortsClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate ExpressRoutePortOperationPredicate) (result ListCompleteResult, err error) { + items := make([]ExpressRoutePort, 0) + + resp, err := c.List(ctx, id) + if err != nil { + result.LatestHttpResponse = resp.HttpResponse + err = fmt.Errorf("loading results: %+v", err) + return + } + if resp.Model != nil { + for _, v := range *resp.Model { + if predicate.Matches(v) { + items = append(items, v) + } + } + } + + result = ListCompleteResult{ + LatestHttpResponse: resp.HttpResponse, + Items: items, + } + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteports/method_listbyresourcegroup.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteports/method_listbyresourcegroup.go new file mode 100644 index 000000000000..ff3df3bfadac --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteports/method_listbyresourcegroup.go @@ -0,0 +1,106 @@ +package expressrouteports + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ListByResourceGroupOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *[]ExpressRoutePort +} + +type ListByResourceGroupCompleteResult struct { + LatestHttpResponse *http.Response + Items []ExpressRoutePort +} + +type ListByResourceGroupCustomPager struct { + NextLink *odata.Link `json:"nextLink"` +} + +func (p *ListByResourceGroupCustomPager) NextPageLink() *odata.Link { + defer func() { + p.NextLink = nil + }() + + return p.NextLink +} + +// ListByResourceGroup ... +func (c ExpressRoutePortsClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListByResourceGroupOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Pager: &ListByResourceGroupCustomPager{}, + Path: fmt.Sprintf("%s/providers/Microsoft.Network/expressRoutePorts", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.ExecutePaged(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var values struct { + Values *[]ExpressRoutePort `json:"value"` + } + if err = resp.Unmarshal(&values); err != nil { + return + } + + result.Model = values.Values + + return +} + +// ListByResourceGroupComplete retrieves all the results into a single object +func (c ExpressRoutePortsClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error) { + return c.ListByResourceGroupCompleteMatchingPredicate(ctx, id, ExpressRoutePortOperationPredicate{}) +} + +// ListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate +func (c ExpressRoutePortsClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate ExpressRoutePortOperationPredicate) (result ListByResourceGroupCompleteResult, err error) { + items := make([]ExpressRoutePort, 0) + + resp, err := c.ListByResourceGroup(ctx, id) + if err != nil { + result.LatestHttpResponse = resp.HttpResponse + err = fmt.Errorf("loading results: %+v", err) + return + } + if resp.Model != nil { + for _, v := range *resp.Model { + if predicate.Matches(v) { + items = append(items, v) + } + } + } + + result = ListByResourceGroupCompleteResult{ + LatestHttpResponse: resp.HttpResponse, + Items: items, + } + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteports/method_updatetags.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteports/method_updatetags.go new file mode 100644 index 000000000000..7ce98b9327bf --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteports/method_updatetags.go @@ -0,0 +1,57 @@ +package expressrouteports + +import ( + "context" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type UpdateTagsOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *ExpressRoutePort +} + +// UpdateTags ... +func (c ExpressRoutePortsClient) UpdateTags(ctx context.Context, id ExpressRoutePortId, input TagsObject) (result UpdateTagsOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodPatch, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + if err = req.Marshal(input); err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var model ExpressRoutePort + result.Model = &model + if err = resp.Unmarshal(result.Model); err != nil { + return + } + + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteports/model_expressroutelink.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteports/model_expressroutelink.go new file mode 100644 index 000000000000..60ed59156adc --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteports/model_expressroutelink.go @@ -0,0 +1,11 @@ +package expressrouteports + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ExpressRouteLink struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *ExpressRouteLinkPropertiesFormat `json:"properties,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteports/model_expressroutelinkmacsecconfig.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteports/model_expressroutelinkmacsecconfig.go new file mode 100644 index 000000000000..f41c94b34012 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteports/model_expressroutelinkmacsecconfig.go @@ -0,0 +1,11 @@ +package expressrouteports + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ExpressRouteLinkMacSecConfig struct { + CakSecretIdentifier *string `json:"cakSecretIdentifier,omitempty"` + Cipher *ExpressRouteLinkMacSecCipher `json:"cipher,omitempty"` + CknSecretIdentifier *string `json:"cknSecretIdentifier,omitempty"` + SciState *ExpressRouteLinkMacSecSciState `json:"sciState,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteports/model_expressroutelinkpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteports/model_expressroutelinkpropertiesformat.go new file mode 100644 index 000000000000..a9fd2f6e03d3 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteports/model_expressroutelinkpropertiesformat.go @@ -0,0 +1,16 @@ +package expressrouteports + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ExpressRouteLinkPropertiesFormat struct { + AdminState *ExpressRouteLinkAdminState `json:"adminState,omitempty"` + ColoLocation *string `json:"coloLocation,omitempty"` + ConnectorType *ExpressRouteLinkConnectorType `json:"connectorType,omitempty"` + InterfaceName *string `json:"interfaceName,omitempty"` + MacSecConfig *ExpressRouteLinkMacSecConfig `json:"macSecConfig,omitempty"` + PatchPanelId *string `json:"patchPanelId,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + RackId *string `json:"rackId,omitempty"` + RouterName *string `json:"routerName,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteports/model_expressrouteport.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteports/model_expressrouteport.go new file mode 100644 index 000000000000..4e2aa94784f1 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteports/model_expressrouteport.go @@ -0,0 +1,19 @@ +package expressrouteports + +import ( + "github.com/hashicorp/go-azure-helpers/resourcemanager/identity" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ExpressRoutePort struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Identity *identity.SystemAndUserAssignedMap `json:"identity,omitempty"` + Location *string `json:"location,omitempty"` + Name *string `json:"name,omitempty"` + Properties *ExpressRoutePortPropertiesFormat `json:"properties,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteports/model_expressrouteportpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteports/model_expressrouteportpropertiesformat.go new file mode 100644 index 000000000000..897d5ea08dea --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteports/model_expressrouteportpropertiesformat.go @@ -0,0 +1,19 @@ +package expressrouteports + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ExpressRoutePortPropertiesFormat struct { + AllocationDate *string `json:"allocationDate,omitempty"` + BandwidthInGbps *int64 `json:"bandwidthInGbps,omitempty"` + BillingType *ExpressRoutePortsBillingType `json:"billingType,omitempty"` + Circuits *[]SubResource `json:"circuits,omitempty"` + Encapsulation *ExpressRoutePortsEncapsulation `json:"encapsulation,omitempty"` + EtherType *string `json:"etherType,omitempty"` + Links *[]ExpressRouteLink `json:"links,omitempty"` + Mtu *string `json:"mtu,omitempty"` + PeeringLocation *string `json:"peeringLocation,omitempty"` + ProvisionedBandwidthInGbps *float64 `json:"provisionedBandwidthInGbps,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + ResourceGuid *string `json:"resourceGuid,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteports/model_generateexpressrouteportsloarequest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteports/model_generateexpressrouteportsloarequest.go new file mode 100644 index 000000000000..d588660f834e --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteports/model_generateexpressrouteportsloarequest.go @@ -0,0 +1,8 @@ +package expressrouteports + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type GenerateExpressRoutePortsLOARequest struct { + CustomerName string `json:"customerName"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteports/model_generateexpressrouteportsloaresult.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteports/model_generateexpressrouteportsloaresult.go new file mode 100644 index 000000000000..54defeace0f4 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteports/model_generateexpressrouteportsloaresult.go @@ -0,0 +1,8 @@ +package expressrouteports + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type GenerateExpressRoutePortsLOAResult struct { + EncodedContent *string `json:"encodedContent,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteports/model_subresource.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteports/model_subresource.go new file mode 100644 index 000000000000..ef7329a3163e --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteports/model_subresource.go @@ -0,0 +1,8 @@ +package expressrouteports + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type SubResource struct { + Id *string `json:"id,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteports/model_tagsobject.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteports/model_tagsobject.go new file mode 100644 index 000000000000..d0cb6f9d317f --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteports/model_tagsobject.go @@ -0,0 +1,8 @@ +package expressrouteports + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type TagsObject struct { + Tags *map[string]string `json:"tags,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteports/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteports/predicates.go new file mode 100644 index 000000000000..7339fac991bf --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteports/predicates.go @@ -0,0 +1,37 @@ +package expressrouteports + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ExpressRoutePortOperationPredicate struct { + Etag *string + Id *string + Location *string + Name *string + Type *string +} + +func (p ExpressRoutePortOperationPredicate) Matches(input ExpressRoutePort) bool { + + if p.Etag != nil && (input.Etag == nil || *p.Etag != *input.Etag) { + return false + } + + if p.Id != nil && (input.Id == nil || *p.Id != *input.Id) { + return false + } + + if p.Location != nil && (input.Location == nil || *p.Location != *input.Location) { + return false + } + + if p.Name != nil && (input.Name == nil || *p.Name != *input.Name) { + return false + } + + if p.Type != nil && (input.Type == nil || *p.Type != *input.Type) { + return false + } + + return true +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteports/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteports/version.go new file mode 100644 index 000000000000..841ca4ebd484 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteports/version.go @@ -0,0 +1,10 @@ +package expressrouteports + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2024-03-01" + +func userAgent() string { + return "hashicorp/go-azure-sdk/expressrouteports/2024-03-01" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteportslocations/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteportslocations/README.md new file mode 100644 index 000000000000..8f2ba153b505 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteportslocations/README.md @@ -0,0 +1,54 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteportslocations` Documentation + +The `expressrouteportslocations` SDK allows for interaction with Azure Resource Manager `network` (API Version `2024-03-01`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" +import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteportslocations" +``` + + +### Client Initialization + +```go +client := expressrouteportslocations.NewExpressRoutePortsLocationsClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `ExpressRoutePortsLocationsClient.Get` + +```go +ctx := context.TODO() +id := expressrouteportslocations.NewExpressRoutePortsLocationID("12345678-1234-9876-4563-123456789012", "expressRoutePortsLocationName") + +read, err := client.Get(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `ExpressRoutePortsLocationsClient.List` + +```go +ctx := context.TODO() +id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012") + +// alternatively `client.List(ctx, id)` can be used to do batched pagination +items, err := client.ListComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteportslocations/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteportslocations/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteportslocations/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteportslocations/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteportslocations/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteportslocations/constants.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteportslocations/constants.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteportslocations/constants.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteportslocations/id_expressrouteportslocation.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteportslocations/id_expressrouteportslocation.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteportslocations/id_expressrouteportslocation.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteportslocations/id_expressrouteportslocation.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteportslocations/method_get.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteportslocations/method_get.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteportslocations/method_get.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteportslocations/method_get.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteportslocations/method_list.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteportslocations/method_list.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteportslocations/method_list.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteportslocations/method_list.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteportslocations/model_expressrouteportslocation.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteportslocations/model_expressrouteportslocation.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteportslocations/model_expressrouteportslocation.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteportslocations/model_expressrouteportslocation.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteportslocations/model_expressrouteportslocationbandwidths.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteportslocations/model_expressrouteportslocationbandwidths.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteportslocations/model_expressrouteportslocationbandwidths.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteportslocations/model_expressrouteportslocationbandwidths.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteportslocations/model_expressrouteportslocationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteportslocations/model_expressrouteportslocationpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteportslocations/model_expressrouteportslocationpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteportslocations/model_expressrouteportslocationpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteportslocations/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteportslocations/predicates.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteportslocations/predicates.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteportslocations/predicates.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteportslocations/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteportslocations/version.go new file mode 100644 index 000000000000..cb780c42f406 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteportslocations/version.go @@ -0,0 +1,10 @@ +package expressrouteportslocations + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2024-03-01" + +func userAgent() string { + return "hashicorp/go-azure-sdk/expressrouteportslocations/2024-03-01" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteproviderports/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteproviderports/README.md new file mode 100644 index 000000000000..52166f859790 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteproviderports/README.md @@ -0,0 +1,54 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteproviderports` Documentation + +The `expressrouteproviderports` SDK allows for interaction with Azure Resource Manager `network` (API Version `2024-03-01`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" +import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteproviderports" +``` + + +### Client Initialization + +```go +client := expressrouteproviderports.NewExpressRouteProviderPortsClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `ExpressRouteProviderPortsClient.ExpressRouteProviderPort` + +```go +ctx := context.TODO() +id := expressrouteproviderports.NewExpressRouteProviderPortID("12345678-1234-9876-4563-123456789012", "expressRouteProviderPortName") + +read, err := client.ExpressRouteProviderPort(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `ExpressRouteProviderPortsClient.LocationList` + +```go +ctx := context.TODO() +id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012") + +// alternatively `client.LocationList(ctx, id, expressrouteproviderports.DefaultLocationListOperationOptions())` can be used to do batched pagination +items, err := client.LocationListComplete(ctx, id, expressrouteproviderports.DefaultLocationListOperationOptions()) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteproviderports/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteproviderports/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteproviderports/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteproviderports/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteproviderports/id_expressrouteproviderport.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteproviderports/id_expressrouteproviderport.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteproviderports/id_expressrouteproviderport.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteproviderports/id_expressrouteproviderport.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteproviderports/method_expressrouteproviderport.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteproviderports/method_expressrouteproviderport.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteproviderports/method_expressrouteproviderport.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteproviderports/method_expressrouteproviderport.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteproviderports/method_locationlist.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteproviderports/method_locationlist.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteproviderports/method_locationlist.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteproviderports/method_locationlist.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteproviderports/model_expressrouteproviderport.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteproviderports/model_expressrouteproviderport.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteproviderports/model_expressrouteproviderport.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteproviderports/model_expressrouteproviderport.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteproviderports/model_expressrouteproviderportproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteproviderports/model_expressrouteproviderportproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteproviderports/model_expressrouteproviderportproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteproviderports/model_expressrouteproviderportproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteproviderports/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteproviderports/predicates.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteproviderports/predicates.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteproviderports/predicates.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteproviderports/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteproviderports/version.go new file mode 100644 index 000000000000..4404de66dd8a --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteproviderports/version.go @@ -0,0 +1,10 @@ +package expressrouteproviderports + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2024-03-01" + +func userAgent() string { + return "hashicorp/go-azure-sdk/expressrouteproviderports/2024-03-01" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteserviceproviders/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteserviceproviders/README.md new file mode 100644 index 000000000000..28f511f9297e --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteserviceproviders/README.md @@ -0,0 +1,38 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteserviceproviders` Documentation + +The `expressrouteserviceproviders` SDK allows for interaction with Azure Resource Manager `network` (API Version `2024-03-01`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" +import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteserviceproviders" +``` + + +### Client Initialization + +```go +client := expressrouteserviceproviders.NewExpressRouteServiceProvidersClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `ExpressRouteServiceProvidersClient.List` + +```go +ctx := context.TODO() +id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012") + +// alternatively `client.List(ctx, id)` can be used to do batched pagination +items, err := client.ListComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteserviceproviders/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteserviceproviders/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteserviceproviders/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteserviceproviders/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteserviceproviders/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteserviceproviders/constants.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteserviceproviders/constants.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteserviceproviders/constants.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteserviceproviders/method_list.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteserviceproviders/method_list.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteserviceproviders/method_list.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteserviceproviders/method_list.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteserviceproviders/model_expressrouteserviceprovider.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteserviceproviders/model_expressrouteserviceprovider.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteserviceproviders/model_expressrouteserviceprovider.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteserviceproviders/model_expressrouteserviceprovider.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteserviceproviders/model_expressrouteserviceproviderbandwidthsoffered.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteserviceproviders/model_expressrouteserviceproviderbandwidthsoffered.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteserviceproviders/model_expressrouteserviceproviderbandwidthsoffered.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteserviceproviders/model_expressrouteserviceproviderbandwidthsoffered.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteserviceproviders/model_expressrouteserviceproviderpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteserviceproviders/model_expressrouteserviceproviderpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteserviceproviders/model_expressrouteserviceproviderpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteserviceproviders/model_expressrouteserviceproviderpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteserviceproviders/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteserviceproviders/predicates.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteserviceproviders/predicates.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteserviceproviders/predicates.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteserviceproviders/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteserviceproviders/version.go new file mode 100644 index 000000000000..a9d597fb3aa9 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteserviceproviders/version.go @@ -0,0 +1,10 @@ +package expressrouteserviceproviders + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2024-03-01" + +func userAgent() string { + return "hashicorp/go-azure-sdk/expressrouteserviceproviders/2024-03-01" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/README.md new file mode 100644 index 000000000000..6e48c056a6d0 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/README.md @@ -0,0 +1,355 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies` Documentation + +The `firewallpolicies` SDK allows for interaction with Azure Resource Manager `network` (API Version `2024-03-01`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" +import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies" +``` + + +### Client Initialization + +```go +client := firewallpolicies.NewFirewallPoliciesClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `FirewallPoliciesClient.CreateOrUpdate` + +```go +ctx := context.TODO() +id := firewallpolicies.NewFirewallPolicyID("12345678-1234-9876-4563-123456789012", "example-resource-group", "firewallPolicyName") + +payload := firewallpolicies.FirewallPolicy{ + // ... +} + + +if err := client.CreateOrUpdateThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `FirewallPoliciesClient.Delete` + +```go +ctx := context.TODO() +id := firewallpolicies.NewFirewallPolicyID("12345678-1234-9876-4563-123456789012", "example-resource-group", "firewallPolicyName") + +if err := client.DeleteThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `FirewallPoliciesClient.FirewallPolicyDeploymentsDeploy` + +```go +ctx := context.TODO() +id := firewallpolicies.NewFirewallPolicyID("12345678-1234-9876-4563-123456789012", "example-resource-group", "firewallPolicyName") + +if err := client.FirewallPolicyDeploymentsDeployThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `FirewallPoliciesClient.FirewallPolicyDraftsCreateOrUpdate` + +```go +ctx := context.TODO() +id := firewallpolicies.NewFirewallPolicyID("12345678-1234-9876-4563-123456789012", "example-resource-group", "firewallPolicyName") + +payload := firewallpolicies.FirewallPolicyDraft{ + // ... +} + + +read, err := client.FirewallPolicyDraftsCreateOrUpdate(ctx, id, payload) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `FirewallPoliciesClient.FirewallPolicyDraftsDelete` + +```go +ctx := context.TODO() +id := firewallpolicies.NewFirewallPolicyID("12345678-1234-9876-4563-123456789012", "example-resource-group", "firewallPolicyName") + +read, err := client.FirewallPolicyDraftsDelete(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `FirewallPoliciesClient.FirewallPolicyDraftsGet` + +```go +ctx := context.TODO() +id := firewallpolicies.NewFirewallPolicyID("12345678-1234-9876-4563-123456789012", "example-resource-group", "firewallPolicyName") + +read, err := client.FirewallPolicyDraftsGet(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `FirewallPoliciesClient.FirewallPolicyIdpsSignaturesFilterValuesList` + +```go +ctx := context.TODO() +id := firewallpolicies.NewFirewallPolicyID("12345678-1234-9876-4563-123456789012", "example-resource-group", "firewallPolicyName") + +payload := firewallpolicies.SignatureOverridesFilterValuesQuery{ + // ... +} + + +read, err := client.FirewallPolicyIdpsSignaturesFilterValuesList(ctx, id, payload) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `FirewallPoliciesClient.FirewallPolicyIdpsSignaturesList` + +```go +ctx := context.TODO() +id := firewallpolicies.NewFirewallPolicyID("12345678-1234-9876-4563-123456789012", "example-resource-group", "firewallPolicyName") + +payload := firewallpolicies.IDPSQueryObject{ + // ... +} + + +read, err := client.FirewallPolicyIdpsSignaturesList(ctx, id, payload) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `FirewallPoliciesClient.FirewallPolicyIdpsSignaturesOverridesGet` + +```go +ctx := context.TODO() +id := firewallpolicies.NewFirewallPolicyID("12345678-1234-9876-4563-123456789012", "example-resource-group", "firewallPolicyName") + +read, err := client.FirewallPolicyIdpsSignaturesOverridesGet(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `FirewallPoliciesClient.FirewallPolicyIdpsSignaturesOverridesList` + +```go +ctx := context.TODO() +id := firewallpolicies.NewFirewallPolicyID("12345678-1234-9876-4563-123456789012", "example-resource-group", "firewallPolicyName") + +read, err := client.FirewallPolicyIdpsSignaturesOverridesList(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `FirewallPoliciesClient.FirewallPolicyIdpsSignaturesOverridesPatch` + +```go +ctx := context.TODO() +id := firewallpolicies.NewFirewallPolicyID("12345678-1234-9876-4563-123456789012", "example-resource-group", "firewallPolicyName") + +payload := firewallpolicies.SignaturesOverrides{ + // ... +} + + +read, err := client.FirewallPolicyIdpsSignaturesOverridesPatch(ctx, id, payload) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `FirewallPoliciesClient.FirewallPolicyIdpsSignaturesOverridesPut` + +```go +ctx := context.TODO() +id := firewallpolicies.NewFirewallPolicyID("12345678-1234-9876-4563-123456789012", "example-resource-group", "firewallPolicyName") + +payload := firewallpolicies.SignaturesOverrides{ + // ... +} + + +read, err := client.FirewallPolicyIdpsSignaturesOverridesPut(ctx, id, payload) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `FirewallPoliciesClient.FirewallPolicyRuleCollectionGroupDraftsCreateOrUpdate` + +```go +ctx := context.TODO() +id := firewallpolicies.NewRuleCollectionGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group", "firewallPolicyName", "ruleCollectionGroupName") + +payload := firewallpolicies.FirewallPolicyRuleCollectionGroupDraft{ + // ... +} + + +read, err := client.FirewallPolicyRuleCollectionGroupDraftsCreateOrUpdate(ctx, id, payload) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `FirewallPoliciesClient.FirewallPolicyRuleCollectionGroupDraftsDelete` + +```go +ctx := context.TODO() +id := firewallpolicies.NewRuleCollectionGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group", "firewallPolicyName", "ruleCollectionGroupName") + +read, err := client.FirewallPolicyRuleCollectionGroupDraftsDelete(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `FirewallPoliciesClient.FirewallPolicyRuleCollectionGroupDraftsGet` + +```go +ctx := context.TODO() +id := firewallpolicies.NewRuleCollectionGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group", "firewallPolicyName", "ruleCollectionGroupName") + +read, err := client.FirewallPolicyRuleCollectionGroupDraftsGet(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `FirewallPoliciesClient.Get` + +```go +ctx := context.TODO() +id := firewallpolicies.NewFirewallPolicyID("12345678-1234-9876-4563-123456789012", "example-resource-group", "firewallPolicyName") + +read, err := client.Get(ctx, id, firewallpolicies.DefaultGetOperationOptions()) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `FirewallPoliciesClient.List` + +```go +ctx := context.TODO() +id := commonids.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group") + +// alternatively `client.List(ctx, id)` can be used to do batched pagination +items, err := client.ListComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `FirewallPoliciesClient.ListAll` + +```go +ctx := context.TODO() +id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012") + +// alternatively `client.ListAll(ctx, id)` can be used to do batched pagination +items, err := client.ListAllComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `FirewallPoliciesClient.UpdateTags` + +```go +ctx := context.TODO() +id := firewallpolicies.NewFirewallPolicyID("12345678-1234-9876-4563-123456789012", "example-resource-group", "firewallPolicyName") + +payload := firewallpolicies.TagsObject{ + // ... +} + + +read, err := client.UpdateTags(ctx, id, payload) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/client.go new file mode 100644 index 000000000000..fba92b74070b --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/client.go @@ -0,0 +1,26 @@ +package firewallpolicies + +import ( + "fmt" + + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + sdkEnv "github.com/hashicorp/go-azure-sdk/sdk/environments" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type FirewallPoliciesClient struct { + Client *resourcemanager.Client +} + +func NewFirewallPoliciesClientWithBaseURI(sdkApi sdkEnv.Api) (*FirewallPoliciesClient, error) { + client, err := resourcemanager.NewClient(sdkApi, "firewallpolicies", defaultApiVersion) + if err != nil { + return nil, fmt.Errorf("instantiating FirewallPoliciesClient: %+v", err) + } + + return &FirewallPoliciesClient{ + Client: client, + }, nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/constants.go new file mode 100644 index 000000000000..1888a04c5a50 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/constants.go @@ -0,0 +1,669 @@ +package firewallpolicies + +import ( + "encoding/json" + "fmt" + "strings" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type AutoLearnPrivateRangesMode string + +const ( + AutoLearnPrivateRangesModeDisabled AutoLearnPrivateRangesMode = "Disabled" + AutoLearnPrivateRangesModeEnabled AutoLearnPrivateRangesMode = "Enabled" +) + +func PossibleValuesForAutoLearnPrivateRangesMode() []string { + return []string{ + string(AutoLearnPrivateRangesModeDisabled), + string(AutoLearnPrivateRangesModeEnabled), + } +} + +func (s *AutoLearnPrivateRangesMode) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseAutoLearnPrivateRangesMode(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseAutoLearnPrivateRangesMode(input string) (*AutoLearnPrivateRangesMode, error) { + vals := map[string]AutoLearnPrivateRangesMode{ + "disabled": AutoLearnPrivateRangesModeDisabled, + "enabled": AutoLearnPrivateRangesModeEnabled, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := AutoLearnPrivateRangesMode(input) + return &out, nil +} + +type AzureFirewallThreatIntelMode string + +const ( + AzureFirewallThreatIntelModeAlert AzureFirewallThreatIntelMode = "Alert" + AzureFirewallThreatIntelModeDeny AzureFirewallThreatIntelMode = "Deny" + AzureFirewallThreatIntelModeOff AzureFirewallThreatIntelMode = "Off" +) + +func PossibleValuesForAzureFirewallThreatIntelMode() []string { + return []string{ + string(AzureFirewallThreatIntelModeAlert), + string(AzureFirewallThreatIntelModeDeny), + string(AzureFirewallThreatIntelModeOff), + } +} + +func (s *AzureFirewallThreatIntelMode) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseAzureFirewallThreatIntelMode(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseAzureFirewallThreatIntelMode(input string) (*AzureFirewallThreatIntelMode, error) { + vals := map[string]AzureFirewallThreatIntelMode{ + "alert": AzureFirewallThreatIntelModeAlert, + "deny": AzureFirewallThreatIntelModeDeny, + "off": AzureFirewallThreatIntelModeOff, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := AzureFirewallThreatIntelMode(input) + return &out, nil +} + +type FirewallPolicyFilterRuleCollectionActionType string + +const ( + FirewallPolicyFilterRuleCollectionActionTypeAllow FirewallPolicyFilterRuleCollectionActionType = "Allow" + FirewallPolicyFilterRuleCollectionActionTypeDeny FirewallPolicyFilterRuleCollectionActionType = "Deny" +) + +func PossibleValuesForFirewallPolicyFilterRuleCollectionActionType() []string { + return []string{ + string(FirewallPolicyFilterRuleCollectionActionTypeAllow), + string(FirewallPolicyFilterRuleCollectionActionTypeDeny), + } +} + +func (s *FirewallPolicyFilterRuleCollectionActionType) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseFirewallPolicyFilterRuleCollectionActionType(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseFirewallPolicyFilterRuleCollectionActionType(input string) (*FirewallPolicyFilterRuleCollectionActionType, error) { + vals := map[string]FirewallPolicyFilterRuleCollectionActionType{ + "allow": FirewallPolicyFilterRuleCollectionActionTypeAllow, + "deny": FirewallPolicyFilterRuleCollectionActionTypeDeny, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := FirewallPolicyFilterRuleCollectionActionType(input) + return &out, nil +} + +type FirewallPolicyIDPSQuerySortOrder string + +const ( + FirewallPolicyIDPSQuerySortOrderAscending FirewallPolicyIDPSQuerySortOrder = "Ascending" + FirewallPolicyIDPSQuerySortOrderDescending FirewallPolicyIDPSQuerySortOrder = "Descending" +) + +func PossibleValuesForFirewallPolicyIDPSQuerySortOrder() []string { + return []string{ + string(FirewallPolicyIDPSQuerySortOrderAscending), + string(FirewallPolicyIDPSQuerySortOrderDescending), + } +} + +func (s *FirewallPolicyIDPSQuerySortOrder) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseFirewallPolicyIDPSQuerySortOrder(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseFirewallPolicyIDPSQuerySortOrder(input string) (*FirewallPolicyIDPSQuerySortOrder, error) { + vals := map[string]FirewallPolicyIDPSQuerySortOrder{ + "ascending": FirewallPolicyIDPSQuerySortOrderAscending, + "descending": FirewallPolicyIDPSQuerySortOrderDescending, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := FirewallPolicyIDPSQuerySortOrder(input) + return &out, nil +} + +type FirewallPolicyIDPSSignatureDirection int64 + +const ( + FirewallPolicyIDPSSignatureDirectionFour FirewallPolicyIDPSSignatureDirection = 4 + FirewallPolicyIDPSSignatureDirectionOne FirewallPolicyIDPSSignatureDirection = 1 + FirewallPolicyIDPSSignatureDirectionThree FirewallPolicyIDPSSignatureDirection = 3 + FirewallPolicyIDPSSignatureDirectionTwo FirewallPolicyIDPSSignatureDirection = 2 + FirewallPolicyIDPSSignatureDirectionZero FirewallPolicyIDPSSignatureDirection = 0 +) + +func PossibleValuesForFirewallPolicyIDPSSignatureDirection() []int64 { + return []int64{ + int64(FirewallPolicyIDPSSignatureDirectionFour), + int64(FirewallPolicyIDPSSignatureDirectionOne), + int64(FirewallPolicyIDPSSignatureDirectionThree), + int64(FirewallPolicyIDPSSignatureDirectionTwo), + int64(FirewallPolicyIDPSSignatureDirectionZero), + } +} + +type FirewallPolicyIDPSSignatureMode int64 + +const ( + FirewallPolicyIDPSSignatureModeOne FirewallPolicyIDPSSignatureMode = 1 + FirewallPolicyIDPSSignatureModeTwo FirewallPolicyIDPSSignatureMode = 2 + FirewallPolicyIDPSSignatureModeZero FirewallPolicyIDPSSignatureMode = 0 +) + +func PossibleValuesForFirewallPolicyIDPSSignatureMode() []int64 { + return []int64{ + int64(FirewallPolicyIDPSSignatureModeOne), + int64(FirewallPolicyIDPSSignatureModeTwo), + int64(FirewallPolicyIDPSSignatureModeZero), + } +} + +type FirewallPolicyIDPSSignatureSeverity int64 + +const ( + FirewallPolicyIDPSSignatureSeverityOne FirewallPolicyIDPSSignatureSeverity = 1 + FirewallPolicyIDPSSignatureSeverityThree FirewallPolicyIDPSSignatureSeverity = 3 + FirewallPolicyIDPSSignatureSeverityTwo FirewallPolicyIDPSSignatureSeverity = 2 +) + +func PossibleValuesForFirewallPolicyIDPSSignatureSeverity() []int64 { + return []int64{ + int64(FirewallPolicyIDPSSignatureSeverityOne), + int64(FirewallPolicyIDPSSignatureSeverityThree), + int64(FirewallPolicyIDPSSignatureSeverityTwo), + } +} + +type FirewallPolicyIntrusionDetectionProfileType string + +const ( + FirewallPolicyIntrusionDetectionProfileTypeAdvanced FirewallPolicyIntrusionDetectionProfileType = "Advanced" + FirewallPolicyIntrusionDetectionProfileTypeBasic FirewallPolicyIntrusionDetectionProfileType = "Basic" + FirewallPolicyIntrusionDetectionProfileTypeExtended FirewallPolicyIntrusionDetectionProfileType = "Extended" + FirewallPolicyIntrusionDetectionProfileTypeStandard FirewallPolicyIntrusionDetectionProfileType = "Standard" +) + +func PossibleValuesForFirewallPolicyIntrusionDetectionProfileType() []string { + return []string{ + string(FirewallPolicyIntrusionDetectionProfileTypeAdvanced), + string(FirewallPolicyIntrusionDetectionProfileTypeBasic), + string(FirewallPolicyIntrusionDetectionProfileTypeExtended), + string(FirewallPolicyIntrusionDetectionProfileTypeStandard), + } +} + +func (s *FirewallPolicyIntrusionDetectionProfileType) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseFirewallPolicyIntrusionDetectionProfileType(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseFirewallPolicyIntrusionDetectionProfileType(input string) (*FirewallPolicyIntrusionDetectionProfileType, error) { + vals := map[string]FirewallPolicyIntrusionDetectionProfileType{ + "advanced": FirewallPolicyIntrusionDetectionProfileTypeAdvanced, + "basic": FirewallPolicyIntrusionDetectionProfileTypeBasic, + "extended": FirewallPolicyIntrusionDetectionProfileTypeExtended, + "standard": FirewallPolicyIntrusionDetectionProfileTypeStandard, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := FirewallPolicyIntrusionDetectionProfileType(input) + return &out, nil +} + +type FirewallPolicyIntrusionDetectionProtocol string + +const ( + FirewallPolicyIntrusionDetectionProtocolANY FirewallPolicyIntrusionDetectionProtocol = "ANY" + FirewallPolicyIntrusionDetectionProtocolICMP FirewallPolicyIntrusionDetectionProtocol = "ICMP" + FirewallPolicyIntrusionDetectionProtocolTCP FirewallPolicyIntrusionDetectionProtocol = "TCP" + FirewallPolicyIntrusionDetectionProtocolUDP FirewallPolicyIntrusionDetectionProtocol = "UDP" +) + +func PossibleValuesForFirewallPolicyIntrusionDetectionProtocol() []string { + return []string{ + string(FirewallPolicyIntrusionDetectionProtocolANY), + string(FirewallPolicyIntrusionDetectionProtocolICMP), + string(FirewallPolicyIntrusionDetectionProtocolTCP), + string(FirewallPolicyIntrusionDetectionProtocolUDP), + } +} + +func (s *FirewallPolicyIntrusionDetectionProtocol) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseFirewallPolicyIntrusionDetectionProtocol(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseFirewallPolicyIntrusionDetectionProtocol(input string) (*FirewallPolicyIntrusionDetectionProtocol, error) { + vals := map[string]FirewallPolicyIntrusionDetectionProtocol{ + "any": FirewallPolicyIntrusionDetectionProtocolANY, + "icmp": FirewallPolicyIntrusionDetectionProtocolICMP, + "tcp": FirewallPolicyIntrusionDetectionProtocolTCP, + "udp": FirewallPolicyIntrusionDetectionProtocolUDP, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := FirewallPolicyIntrusionDetectionProtocol(input) + return &out, nil +} + +type FirewallPolicyIntrusionDetectionStateType string + +const ( + FirewallPolicyIntrusionDetectionStateTypeAlert FirewallPolicyIntrusionDetectionStateType = "Alert" + FirewallPolicyIntrusionDetectionStateTypeDeny FirewallPolicyIntrusionDetectionStateType = "Deny" + FirewallPolicyIntrusionDetectionStateTypeOff FirewallPolicyIntrusionDetectionStateType = "Off" +) + +func PossibleValuesForFirewallPolicyIntrusionDetectionStateType() []string { + return []string{ + string(FirewallPolicyIntrusionDetectionStateTypeAlert), + string(FirewallPolicyIntrusionDetectionStateTypeDeny), + string(FirewallPolicyIntrusionDetectionStateTypeOff), + } +} + +func (s *FirewallPolicyIntrusionDetectionStateType) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseFirewallPolicyIntrusionDetectionStateType(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseFirewallPolicyIntrusionDetectionStateType(input string) (*FirewallPolicyIntrusionDetectionStateType, error) { + vals := map[string]FirewallPolicyIntrusionDetectionStateType{ + "alert": FirewallPolicyIntrusionDetectionStateTypeAlert, + "deny": FirewallPolicyIntrusionDetectionStateTypeDeny, + "off": FirewallPolicyIntrusionDetectionStateTypeOff, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := FirewallPolicyIntrusionDetectionStateType(input) + return &out, nil +} + +type FirewallPolicyNatRuleCollectionActionType string + +const ( + FirewallPolicyNatRuleCollectionActionTypeDNAT FirewallPolicyNatRuleCollectionActionType = "DNAT" +) + +func PossibleValuesForFirewallPolicyNatRuleCollectionActionType() []string { + return []string{ + string(FirewallPolicyNatRuleCollectionActionTypeDNAT), + } +} + +func (s *FirewallPolicyNatRuleCollectionActionType) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseFirewallPolicyNatRuleCollectionActionType(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseFirewallPolicyNatRuleCollectionActionType(input string) (*FirewallPolicyNatRuleCollectionActionType, error) { + vals := map[string]FirewallPolicyNatRuleCollectionActionType{ + "dnat": FirewallPolicyNatRuleCollectionActionTypeDNAT, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := FirewallPolicyNatRuleCollectionActionType(input) + return &out, nil +} + +type FirewallPolicyRuleApplicationProtocolType string + +const ( + FirewallPolicyRuleApplicationProtocolTypeHTTP FirewallPolicyRuleApplicationProtocolType = "Http" + FirewallPolicyRuleApplicationProtocolTypeHTTPS FirewallPolicyRuleApplicationProtocolType = "Https" +) + +func PossibleValuesForFirewallPolicyRuleApplicationProtocolType() []string { + return []string{ + string(FirewallPolicyRuleApplicationProtocolTypeHTTP), + string(FirewallPolicyRuleApplicationProtocolTypeHTTPS), + } +} + +func (s *FirewallPolicyRuleApplicationProtocolType) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseFirewallPolicyRuleApplicationProtocolType(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseFirewallPolicyRuleApplicationProtocolType(input string) (*FirewallPolicyRuleApplicationProtocolType, error) { + vals := map[string]FirewallPolicyRuleApplicationProtocolType{ + "http": FirewallPolicyRuleApplicationProtocolTypeHTTP, + "https": FirewallPolicyRuleApplicationProtocolTypeHTTPS, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := FirewallPolicyRuleApplicationProtocolType(input) + return &out, nil +} + +type FirewallPolicyRuleCollectionType string + +const ( + FirewallPolicyRuleCollectionTypeFirewallPolicyFilterRuleCollection FirewallPolicyRuleCollectionType = "FirewallPolicyFilterRuleCollection" + FirewallPolicyRuleCollectionTypeFirewallPolicyNatRuleCollection FirewallPolicyRuleCollectionType = "FirewallPolicyNatRuleCollection" +) + +func PossibleValuesForFirewallPolicyRuleCollectionType() []string { + return []string{ + string(FirewallPolicyRuleCollectionTypeFirewallPolicyFilterRuleCollection), + string(FirewallPolicyRuleCollectionTypeFirewallPolicyNatRuleCollection), + } +} + +func (s *FirewallPolicyRuleCollectionType) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseFirewallPolicyRuleCollectionType(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseFirewallPolicyRuleCollectionType(input string) (*FirewallPolicyRuleCollectionType, error) { + vals := map[string]FirewallPolicyRuleCollectionType{ + "firewallpolicyfilterrulecollection": FirewallPolicyRuleCollectionTypeFirewallPolicyFilterRuleCollection, + "firewallpolicynatrulecollection": FirewallPolicyRuleCollectionTypeFirewallPolicyNatRuleCollection, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := FirewallPolicyRuleCollectionType(input) + return &out, nil +} + +type FirewallPolicyRuleNetworkProtocol string + +const ( + FirewallPolicyRuleNetworkProtocolAny FirewallPolicyRuleNetworkProtocol = "Any" + FirewallPolicyRuleNetworkProtocolICMP FirewallPolicyRuleNetworkProtocol = "ICMP" + FirewallPolicyRuleNetworkProtocolTCP FirewallPolicyRuleNetworkProtocol = "TCP" + FirewallPolicyRuleNetworkProtocolUDP FirewallPolicyRuleNetworkProtocol = "UDP" +) + +func PossibleValuesForFirewallPolicyRuleNetworkProtocol() []string { + return []string{ + string(FirewallPolicyRuleNetworkProtocolAny), + string(FirewallPolicyRuleNetworkProtocolICMP), + string(FirewallPolicyRuleNetworkProtocolTCP), + string(FirewallPolicyRuleNetworkProtocolUDP), + } +} + +func (s *FirewallPolicyRuleNetworkProtocol) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseFirewallPolicyRuleNetworkProtocol(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseFirewallPolicyRuleNetworkProtocol(input string) (*FirewallPolicyRuleNetworkProtocol, error) { + vals := map[string]FirewallPolicyRuleNetworkProtocol{ + "any": FirewallPolicyRuleNetworkProtocolAny, + "icmp": FirewallPolicyRuleNetworkProtocolICMP, + "tcp": FirewallPolicyRuleNetworkProtocolTCP, + "udp": FirewallPolicyRuleNetworkProtocolUDP, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := FirewallPolicyRuleNetworkProtocol(input) + return &out, nil +} + +type FirewallPolicyRuleType string + +const ( + FirewallPolicyRuleTypeApplicationRule FirewallPolicyRuleType = "ApplicationRule" + FirewallPolicyRuleTypeNatRule FirewallPolicyRuleType = "NatRule" + FirewallPolicyRuleTypeNetworkRule FirewallPolicyRuleType = "NetworkRule" +) + +func PossibleValuesForFirewallPolicyRuleType() []string { + return []string{ + string(FirewallPolicyRuleTypeApplicationRule), + string(FirewallPolicyRuleTypeNatRule), + string(FirewallPolicyRuleTypeNetworkRule), + } +} + +func (s *FirewallPolicyRuleType) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseFirewallPolicyRuleType(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseFirewallPolicyRuleType(input string) (*FirewallPolicyRuleType, error) { + vals := map[string]FirewallPolicyRuleType{ + "applicationrule": FirewallPolicyRuleTypeApplicationRule, + "natrule": FirewallPolicyRuleTypeNatRule, + "networkrule": FirewallPolicyRuleTypeNetworkRule, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := FirewallPolicyRuleType(input) + return &out, nil +} + +type FirewallPolicySkuTier string + +const ( + FirewallPolicySkuTierBasic FirewallPolicySkuTier = "Basic" + FirewallPolicySkuTierPremium FirewallPolicySkuTier = "Premium" + FirewallPolicySkuTierStandard FirewallPolicySkuTier = "Standard" +) + +func PossibleValuesForFirewallPolicySkuTier() []string { + return []string{ + string(FirewallPolicySkuTierBasic), + string(FirewallPolicySkuTierPremium), + string(FirewallPolicySkuTierStandard), + } +} + +func (s *FirewallPolicySkuTier) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseFirewallPolicySkuTier(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseFirewallPolicySkuTier(input string) (*FirewallPolicySkuTier, error) { + vals := map[string]FirewallPolicySkuTier{ + "basic": FirewallPolicySkuTierBasic, + "premium": FirewallPolicySkuTierPremium, + "standard": FirewallPolicySkuTierStandard, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := FirewallPolicySkuTier(input) + return &out, nil +} + +type ProvisioningState string + +const ( + ProvisioningStateDeleting ProvisioningState = "Deleting" + ProvisioningStateFailed ProvisioningState = "Failed" + ProvisioningStateSucceeded ProvisioningState = "Succeeded" + ProvisioningStateUpdating ProvisioningState = "Updating" +) + +func PossibleValuesForProvisioningState() []string { + return []string{ + string(ProvisioningStateDeleting), + string(ProvisioningStateFailed), + string(ProvisioningStateSucceeded), + string(ProvisioningStateUpdating), + } +} + +func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseProvisioningState(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseProvisioningState(input string) (*ProvisioningState, error) { + vals := map[string]ProvisioningState{ + "deleting": ProvisioningStateDeleting, + "failed": ProvisioningStateFailed, + "succeeded": ProvisioningStateSucceeded, + "updating": ProvisioningStateUpdating, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ProvisioningState(input) + return &out, nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/id_firewallpolicy.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/id_firewallpolicy.go new file mode 100644 index 000000000000..fdb530b04703 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/id_firewallpolicy.go @@ -0,0 +1,130 @@ +package firewallpolicies + +import ( + "fmt" + "strings" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/recaser" + "github.com/hashicorp/go-azure-helpers/resourcemanager/resourceids" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +func init() { + recaser.RegisterResourceId(&FirewallPolicyId{}) +} + +var _ resourceids.ResourceId = &FirewallPolicyId{} + +// FirewallPolicyId is a struct representing the Resource ID for a Firewall Policy +type FirewallPolicyId struct { + SubscriptionId string + ResourceGroupName string + FirewallPolicyName string +} + +// NewFirewallPolicyID returns a new FirewallPolicyId struct +func NewFirewallPolicyID(subscriptionId string, resourceGroupName string, firewallPolicyName string) FirewallPolicyId { + return FirewallPolicyId{ + SubscriptionId: subscriptionId, + ResourceGroupName: resourceGroupName, + FirewallPolicyName: firewallPolicyName, + } +} + +// ParseFirewallPolicyID parses 'input' into a FirewallPolicyId +func ParseFirewallPolicyID(input string) (*FirewallPolicyId, error) { + parser := resourceids.NewParserFromResourceIdType(&FirewallPolicyId{}) + parsed, err := parser.Parse(input, false) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := FirewallPolicyId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +// ParseFirewallPolicyIDInsensitively parses 'input' case-insensitively into a FirewallPolicyId +// note: this method should only be used for API response data and not user input +func ParseFirewallPolicyIDInsensitively(input string) (*FirewallPolicyId, error) { + parser := resourceids.NewParserFromResourceIdType(&FirewallPolicyId{}) + parsed, err := parser.Parse(input, true) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := FirewallPolicyId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +func (id *FirewallPolicyId) FromParseResult(input resourceids.ParseResult) error { + var ok bool + + if id.SubscriptionId, ok = input.Parsed["subscriptionId"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "subscriptionId", input) + } + + if id.ResourceGroupName, ok = input.Parsed["resourceGroupName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "resourceGroupName", input) + } + + if id.FirewallPolicyName, ok = input.Parsed["firewallPolicyName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "firewallPolicyName", input) + } + + return nil +} + +// ValidateFirewallPolicyID checks that 'input' can be parsed as a Firewall Policy ID +func ValidateFirewallPolicyID(input interface{}, key string) (warnings []string, errors []error) { + v, ok := input.(string) + if !ok { + errors = append(errors, fmt.Errorf("expected %q to be a string", key)) + return + } + + if _, err := ParseFirewallPolicyID(v); err != nil { + errors = append(errors, err) + } + + return +} + +// ID returns the formatted Firewall Policy ID +func (id FirewallPolicyId) ID() string { + fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.Network/firewallPolicies/%s" + return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.FirewallPolicyName) +} + +// Segments returns a slice of Resource ID Segments which comprise this Firewall Policy ID +func (id FirewallPolicyId) Segments() []resourceids.Segment { + return []resourceids.Segment{ + resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), + resourceids.SubscriptionIdSegment("subscriptionId", "12345678-1234-9876-4563-123456789012"), + resourceids.StaticSegment("staticResourceGroups", "resourceGroups", "resourceGroups"), + resourceids.ResourceGroupSegment("resourceGroupName", "example-resource-group"), + resourceids.StaticSegment("staticProviders", "providers", "providers"), + resourceids.ResourceProviderSegment("staticMicrosoftNetwork", "Microsoft.Network", "Microsoft.Network"), + resourceids.StaticSegment("staticFirewallPolicies", "firewallPolicies", "firewallPolicies"), + resourceids.UserSpecifiedSegment("firewallPolicyName", "firewallPolicyName"), + } +} + +// String returns a human-readable description of this Firewall Policy ID +func (id FirewallPolicyId) String() string { + components := []string{ + fmt.Sprintf("Subscription: %q", id.SubscriptionId), + fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), + fmt.Sprintf("Firewall Policy Name: %q", id.FirewallPolicyName), + } + return fmt.Sprintf("Firewall Policy (%s)", strings.Join(components, "\n")) +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/id_rulecollectiongroup.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/id_rulecollectiongroup.go new file mode 100644 index 000000000000..66f9d049a7c6 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/id_rulecollectiongroup.go @@ -0,0 +1,139 @@ +package firewallpolicies + +import ( + "fmt" + "strings" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/recaser" + "github.com/hashicorp/go-azure-helpers/resourcemanager/resourceids" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +func init() { + recaser.RegisterResourceId(&RuleCollectionGroupId{}) +} + +var _ resourceids.ResourceId = &RuleCollectionGroupId{} + +// RuleCollectionGroupId is a struct representing the Resource ID for a Rule Collection Group +type RuleCollectionGroupId struct { + SubscriptionId string + ResourceGroupName string + FirewallPolicyName string + RuleCollectionGroupName string +} + +// NewRuleCollectionGroupID returns a new RuleCollectionGroupId struct +func NewRuleCollectionGroupID(subscriptionId string, resourceGroupName string, firewallPolicyName string, ruleCollectionGroupName string) RuleCollectionGroupId { + return RuleCollectionGroupId{ + SubscriptionId: subscriptionId, + ResourceGroupName: resourceGroupName, + FirewallPolicyName: firewallPolicyName, + RuleCollectionGroupName: ruleCollectionGroupName, + } +} + +// ParseRuleCollectionGroupID parses 'input' into a RuleCollectionGroupId +func ParseRuleCollectionGroupID(input string) (*RuleCollectionGroupId, error) { + parser := resourceids.NewParserFromResourceIdType(&RuleCollectionGroupId{}) + parsed, err := parser.Parse(input, false) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := RuleCollectionGroupId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +// ParseRuleCollectionGroupIDInsensitively parses 'input' case-insensitively into a RuleCollectionGroupId +// note: this method should only be used for API response data and not user input +func ParseRuleCollectionGroupIDInsensitively(input string) (*RuleCollectionGroupId, error) { + parser := resourceids.NewParserFromResourceIdType(&RuleCollectionGroupId{}) + parsed, err := parser.Parse(input, true) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := RuleCollectionGroupId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +func (id *RuleCollectionGroupId) FromParseResult(input resourceids.ParseResult) error { + var ok bool + + if id.SubscriptionId, ok = input.Parsed["subscriptionId"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "subscriptionId", input) + } + + if id.ResourceGroupName, ok = input.Parsed["resourceGroupName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "resourceGroupName", input) + } + + if id.FirewallPolicyName, ok = input.Parsed["firewallPolicyName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "firewallPolicyName", input) + } + + if id.RuleCollectionGroupName, ok = input.Parsed["ruleCollectionGroupName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "ruleCollectionGroupName", input) + } + + return nil +} + +// ValidateRuleCollectionGroupID checks that 'input' can be parsed as a Rule Collection Group ID +func ValidateRuleCollectionGroupID(input interface{}, key string) (warnings []string, errors []error) { + v, ok := input.(string) + if !ok { + errors = append(errors, fmt.Errorf("expected %q to be a string", key)) + return + } + + if _, err := ParseRuleCollectionGroupID(v); err != nil { + errors = append(errors, err) + } + + return +} + +// ID returns the formatted Rule Collection Group ID +func (id RuleCollectionGroupId) ID() string { + fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.Network/firewallPolicies/%s/ruleCollectionGroups/%s" + return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.FirewallPolicyName, id.RuleCollectionGroupName) +} + +// Segments returns a slice of Resource ID Segments which comprise this Rule Collection Group ID +func (id RuleCollectionGroupId) Segments() []resourceids.Segment { + return []resourceids.Segment{ + resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), + resourceids.SubscriptionIdSegment("subscriptionId", "12345678-1234-9876-4563-123456789012"), + resourceids.StaticSegment("staticResourceGroups", "resourceGroups", "resourceGroups"), + resourceids.ResourceGroupSegment("resourceGroupName", "example-resource-group"), + resourceids.StaticSegment("staticProviders", "providers", "providers"), + resourceids.ResourceProviderSegment("staticMicrosoftNetwork", "Microsoft.Network", "Microsoft.Network"), + resourceids.StaticSegment("staticFirewallPolicies", "firewallPolicies", "firewallPolicies"), + resourceids.UserSpecifiedSegment("firewallPolicyName", "firewallPolicyName"), + resourceids.StaticSegment("staticRuleCollectionGroups", "ruleCollectionGroups", "ruleCollectionGroups"), + resourceids.UserSpecifiedSegment("ruleCollectionGroupName", "ruleCollectionGroupName"), + } +} + +// String returns a human-readable description of this Rule Collection Group ID +func (id RuleCollectionGroupId) String() string { + components := []string{ + fmt.Sprintf("Subscription: %q", id.SubscriptionId), + fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), + fmt.Sprintf("Firewall Policy Name: %q", id.FirewallPolicyName), + fmt.Sprintf("Rule Collection Group Name: %q", id.RuleCollectionGroupName), + } + return fmt.Sprintf("Rule Collection Group (%s)", strings.Join(components, "\n")) +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/method_createorupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/method_createorupdate.go new file mode 100644 index 000000000000..0492bbef61e9 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/method_createorupdate.go @@ -0,0 +1,75 @@ +package firewallpolicies + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/client/pollers" + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type CreateOrUpdateOperationResponse struct { + Poller pollers.Poller + HttpResponse *http.Response + OData *odata.OData + Model *FirewallPolicy +} + +// CreateOrUpdate ... +func (c FirewallPoliciesClient) CreateOrUpdate(ctx context.Context, id FirewallPolicyId, input FirewallPolicy) (result CreateOrUpdateOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusCreated, + http.StatusOK, + }, + HttpMethod: http.MethodPut, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + if err = req.Marshal(input); err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client) + if err != nil { + return + } + + return +} + +// CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed +func (c FirewallPoliciesClient) CreateOrUpdateThenPoll(ctx context.Context, id FirewallPolicyId, input FirewallPolicy) error { + result, err := c.CreateOrUpdate(ctx, id, input) + if err != nil { + return fmt.Errorf("performing CreateOrUpdate: %+v", err) + } + + if err := result.Poller.PollUntilDone(ctx); err != nil { + return fmt.Errorf("polling after CreateOrUpdate: %+v", err) + } + + return nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/method_delete.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/method_delete.go new file mode 100644 index 000000000000..432932fda66b --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/method_delete.go @@ -0,0 +1,71 @@ +package firewallpolicies + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/client/pollers" + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type DeleteOperationResponse struct { + Poller pollers.Poller + HttpResponse *http.Response + OData *odata.OData +} + +// Delete ... +func (c FirewallPoliciesClient) Delete(ctx context.Context, id FirewallPolicyId) (result DeleteOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusAccepted, + http.StatusNoContent, + http.StatusOK, + }, + HttpMethod: http.MethodDelete, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client) + if err != nil { + return + } + + return +} + +// DeleteThenPoll performs Delete then polls until it's completed +func (c FirewallPoliciesClient) DeleteThenPoll(ctx context.Context, id FirewallPolicyId) error { + result, err := c.Delete(ctx, id) + if err != nil { + return fmt.Errorf("performing Delete: %+v", err) + } + + if err := result.Poller.PollUntilDone(ctx); err != nil { + return fmt.Errorf("polling after Delete: %+v", err) + } + + return nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/method_firewallpolicydeploymentsdeploy.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/method_firewallpolicydeploymentsdeploy.go new file mode 100644 index 000000000000..2b0ff5b7afeb --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/method_firewallpolicydeploymentsdeploy.go @@ -0,0 +1,69 @@ +package firewallpolicies + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/client/pollers" + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type FirewallPolicyDeploymentsDeployOperationResponse struct { + Poller pollers.Poller + HttpResponse *http.Response + OData *odata.OData +} + +// FirewallPolicyDeploymentsDeploy ... +func (c FirewallPoliciesClient) FirewallPolicyDeploymentsDeploy(ctx context.Context, id FirewallPolicyId) (result FirewallPolicyDeploymentsDeployOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusAccepted, + }, + HttpMethod: http.MethodPost, + Path: fmt.Sprintf("%s/deploy", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client) + if err != nil { + return + } + + return +} + +// FirewallPolicyDeploymentsDeployThenPoll performs FirewallPolicyDeploymentsDeploy then polls until it's completed +func (c FirewallPoliciesClient) FirewallPolicyDeploymentsDeployThenPoll(ctx context.Context, id FirewallPolicyId) error { + result, err := c.FirewallPolicyDeploymentsDeploy(ctx, id) + if err != nil { + return fmt.Errorf("performing FirewallPolicyDeploymentsDeploy: %+v", err) + } + + if err := result.Poller.PollUntilDone(ctx); err != nil { + return fmt.Errorf("polling after FirewallPolicyDeploymentsDeploy: %+v", err) + } + + return nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/method_firewallpolicydraftscreateorupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/method_firewallpolicydraftscreateorupdate.go new file mode 100644 index 000000000000..a355d78a7670 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/method_firewallpolicydraftscreateorupdate.go @@ -0,0 +1,59 @@ +package firewallpolicies + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type FirewallPolicyDraftsCreateOrUpdateOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *FirewallPolicyDraft +} + +// FirewallPolicyDraftsCreateOrUpdate ... +func (c FirewallPoliciesClient) FirewallPolicyDraftsCreateOrUpdate(ctx context.Context, id FirewallPolicyId, input FirewallPolicyDraft) (result FirewallPolicyDraftsCreateOrUpdateOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusCreated, + http.StatusOK, + }, + HttpMethod: http.MethodPut, + Path: fmt.Sprintf("%s/firewallPolicyDrafts/default", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + if err = req.Marshal(input); err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var model FirewallPolicyDraft + result.Model = &model + if err = resp.Unmarshal(result.Model); err != nil { + return + } + + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/method_firewallpolicydraftsdelete.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/method_firewallpolicydraftsdelete.go new file mode 100644 index 000000000000..a0fd3352ff22 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/method_firewallpolicydraftsdelete.go @@ -0,0 +1,48 @@ +package firewallpolicies + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type FirewallPolicyDraftsDeleteOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData +} + +// FirewallPolicyDraftsDelete ... +func (c FirewallPoliciesClient) FirewallPolicyDraftsDelete(ctx context.Context, id FirewallPolicyId) (result FirewallPolicyDraftsDeleteOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusNoContent, + http.StatusOK, + }, + HttpMethod: http.MethodDelete, + Path: fmt.Sprintf("%s/firewallPolicyDrafts/default", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/method_firewallpolicydraftsget.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/method_firewallpolicydraftsget.go new file mode 100644 index 000000000000..804027dd9523 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/method_firewallpolicydraftsget.go @@ -0,0 +1,54 @@ +package firewallpolicies + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type FirewallPolicyDraftsGetOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *FirewallPolicyDraft +} + +// FirewallPolicyDraftsGet ... +func (c FirewallPoliciesClient) FirewallPolicyDraftsGet(ctx context.Context, id FirewallPolicyId) (result FirewallPolicyDraftsGetOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Path: fmt.Sprintf("%s/firewallPolicyDrafts/default", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var model FirewallPolicyDraft + result.Model = &model + if err = resp.Unmarshal(result.Model); err != nil { + return + } + + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/method_firewallpolicyidpssignaturesfiltervalueslist.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/method_firewallpolicyidpssignaturesfiltervalueslist.go new file mode 100644 index 000000000000..afb4f37a3fa1 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/method_firewallpolicyidpssignaturesfiltervalueslist.go @@ -0,0 +1,58 @@ +package firewallpolicies + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type FirewallPolicyIdpsSignaturesFilterValuesListOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *SignatureOverridesFilterValuesResponse +} + +// FirewallPolicyIdpsSignaturesFilterValuesList ... +func (c FirewallPoliciesClient) FirewallPolicyIdpsSignaturesFilterValuesList(ctx context.Context, id FirewallPolicyId, input SignatureOverridesFilterValuesQuery) (result FirewallPolicyIdpsSignaturesFilterValuesListOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodPost, + Path: fmt.Sprintf("%s/listIdpsFilterOptions", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + if err = req.Marshal(input); err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var model SignatureOverridesFilterValuesResponse + result.Model = &model + if err = resp.Unmarshal(result.Model); err != nil { + return + } + + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/method_firewallpolicyidpssignatureslist.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/method_firewallpolicyidpssignatureslist.go new file mode 100644 index 000000000000..657d39e5a745 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/method_firewallpolicyidpssignatureslist.go @@ -0,0 +1,58 @@ +package firewallpolicies + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type FirewallPolicyIdpsSignaturesListOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *QueryResults +} + +// FirewallPolicyIdpsSignaturesList ... +func (c FirewallPoliciesClient) FirewallPolicyIdpsSignaturesList(ctx context.Context, id FirewallPolicyId, input IDPSQueryObject) (result FirewallPolicyIdpsSignaturesListOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodPost, + Path: fmt.Sprintf("%s/listIdpsSignatures", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + if err = req.Marshal(input); err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var model QueryResults + result.Model = &model + if err = resp.Unmarshal(result.Model); err != nil { + return + } + + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/method_firewallpolicyidpssignaturesoverridesget.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/method_firewallpolicyidpssignaturesoverridesget.go new file mode 100644 index 000000000000..4ff22b6ea426 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/method_firewallpolicyidpssignaturesoverridesget.go @@ -0,0 +1,54 @@ +package firewallpolicies + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type FirewallPolicyIdpsSignaturesOverridesGetOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *SignaturesOverrides +} + +// FirewallPolicyIdpsSignaturesOverridesGet ... +func (c FirewallPoliciesClient) FirewallPolicyIdpsSignaturesOverridesGet(ctx context.Context, id FirewallPolicyId) (result FirewallPolicyIdpsSignaturesOverridesGetOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Path: fmt.Sprintf("%s/signatureOverrides/default", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var model SignaturesOverrides + result.Model = &model + if err = resp.Unmarshal(result.Model); err != nil { + return + } + + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/method_firewallpolicyidpssignaturesoverrideslist.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/method_firewallpolicyidpssignaturesoverrideslist.go new file mode 100644 index 000000000000..253dc4d80739 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/method_firewallpolicyidpssignaturesoverrideslist.go @@ -0,0 +1,54 @@ +package firewallpolicies + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type FirewallPolicyIdpsSignaturesOverridesListOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *SignaturesOverridesList +} + +// FirewallPolicyIdpsSignaturesOverridesList ... +func (c FirewallPoliciesClient) FirewallPolicyIdpsSignaturesOverridesList(ctx context.Context, id FirewallPolicyId) (result FirewallPolicyIdpsSignaturesOverridesListOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Path: fmt.Sprintf("%s/signatureOverrides", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var model SignaturesOverridesList + result.Model = &model + if err = resp.Unmarshal(result.Model); err != nil { + return + } + + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/method_firewallpolicyidpssignaturesoverridespatch.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/method_firewallpolicyidpssignaturesoverridespatch.go new file mode 100644 index 000000000000..ebb6a03296b2 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/method_firewallpolicyidpssignaturesoverridespatch.go @@ -0,0 +1,58 @@ +package firewallpolicies + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type FirewallPolicyIdpsSignaturesOverridesPatchOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *SignaturesOverrides +} + +// FirewallPolicyIdpsSignaturesOverridesPatch ... +func (c FirewallPoliciesClient) FirewallPolicyIdpsSignaturesOverridesPatch(ctx context.Context, id FirewallPolicyId, input SignaturesOverrides) (result FirewallPolicyIdpsSignaturesOverridesPatchOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodPatch, + Path: fmt.Sprintf("%s/signatureOverrides/default", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + if err = req.Marshal(input); err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var model SignaturesOverrides + result.Model = &model + if err = resp.Unmarshal(result.Model); err != nil { + return + } + + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/method_firewallpolicyidpssignaturesoverridesput.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/method_firewallpolicyidpssignaturesoverridesput.go new file mode 100644 index 000000000000..51a0cf8dcc59 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/method_firewallpolicyidpssignaturesoverridesput.go @@ -0,0 +1,58 @@ +package firewallpolicies + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type FirewallPolicyIdpsSignaturesOverridesPutOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *SignaturesOverrides +} + +// FirewallPolicyIdpsSignaturesOverridesPut ... +func (c FirewallPoliciesClient) FirewallPolicyIdpsSignaturesOverridesPut(ctx context.Context, id FirewallPolicyId, input SignaturesOverrides) (result FirewallPolicyIdpsSignaturesOverridesPutOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodPut, + Path: fmt.Sprintf("%s/signatureOverrides/default", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + if err = req.Marshal(input); err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var model SignaturesOverrides + result.Model = &model + if err = resp.Unmarshal(result.Model); err != nil { + return + } + + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/method_firewallpolicyrulecollectiongroupdraftscreateorupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/method_firewallpolicyrulecollectiongroupdraftscreateorupdate.go new file mode 100644 index 000000000000..168eab6a2f23 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/method_firewallpolicyrulecollectiongroupdraftscreateorupdate.go @@ -0,0 +1,59 @@ +package firewallpolicies + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type FirewallPolicyRuleCollectionGroupDraftsCreateOrUpdateOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *FirewallPolicyRuleCollectionGroupDraft +} + +// FirewallPolicyRuleCollectionGroupDraftsCreateOrUpdate ... +func (c FirewallPoliciesClient) FirewallPolicyRuleCollectionGroupDraftsCreateOrUpdate(ctx context.Context, id RuleCollectionGroupId, input FirewallPolicyRuleCollectionGroupDraft) (result FirewallPolicyRuleCollectionGroupDraftsCreateOrUpdateOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusCreated, + http.StatusOK, + }, + HttpMethod: http.MethodPut, + Path: fmt.Sprintf("%s/ruleCollectionGroupDrafts/default", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + if err = req.Marshal(input); err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var model FirewallPolicyRuleCollectionGroupDraft + result.Model = &model + if err = resp.Unmarshal(result.Model); err != nil { + return + } + + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/method_firewallpolicyrulecollectiongroupdraftsdelete.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/method_firewallpolicyrulecollectiongroupdraftsdelete.go new file mode 100644 index 000000000000..da02af84b53d --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/method_firewallpolicyrulecollectiongroupdraftsdelete.go @@ -0,0 +1,48 @@ +package firewallpolicies + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type FirewallPolicyRuleCollectionGroupDraftsDeleteOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData +} + +// FirewallPolicyRuleCollectionGroupDraftsDelete ... +func (c FirewallPoliciesClient) FirewallPolicyRuleCollectionGroupDraftsDelete(ctx context.Context, id RuleCollectionGroupId) (result FirewallPolicyRuleCollectionGroupDraftsDeleteOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusNoContent, + http.StatusOK, + }, + HttpMethod: http.MethodDelete, + Path: fmt.Sprintf("%s/ruleCollectionGroupDrafts/default", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/method_firewallpolicyrulecollectiongroupdraftsget.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/method_firewallpolicyrulecollectiongroupdraftsget.go new file mode 100644 index 000000000000..8d2027a6a40d --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/method_firewallpolicyrulecollectiongroupdraftsget.go @@ -0,0 +1,54 @@ +package firewallpolicies + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type FirewallPolicyRuleCollectionGroupDraftsGetOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *FirewallPolicyRuleCollectionGroupDraft +} + +// FirewallPolicyRuleCollectionGroupDraftsGet ... +func (c FirewallPoliciesClient) FirewallPolicyRuleCollectionGroupDraftsGet(ctx context.Context, id RuleCollectionGroupId) (result FirewallPolicyRuleCollectionGroupDraftsGetOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Path: fmt.Sprintf("%s/ruleCollectionGroupDrafts/default", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var model FirewallPolicyRuleCollectionGroupDraft + result.Model = &model + if err = resp.Unmarshal(result.Model); err != nil { + return + } + + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/method_get.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/method_get.go new file mode 100644 index 000000000000..c57af3124f02 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/method_get.go @@ -0,0 +1,83 @@ +package firewallpolicies + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type GetOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *FirewallPolicy +} + +type GetOperationOptions struct { + Expand *string +} + +func DefaultGetOperationOptions() GetOperationOptions { + return GetOperationOptions{} +} + +func (o GetOperationOptions) ToHeaders() *client.Headers { + out := client.Headers{} + + return &out +} + +func (o GetOperationOptions) ToOData() *odata.Query { + out := odata.Query{} + + return &out +} + +func (o GetOperationOptions) ToQuery() *client.QueryParams { + out := client.QueryParams{} + if o.Expand != nil { + out.Append("$expand", fmt.Sprintf("%v", *o.Expand)) + } + return &out +} + +// Get ... +func (c FirewallPoliciesClient) Get(ctx context.Context, id FirewallPolicyId, options GetOperationOptions) (result GetOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + OptionsObject: options, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var model FirewallPolicy + result.Model = &model + if err = resp.Unmarshal(result.Model); err != nil { + return + } + + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/method_list.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/method_list.go new file mode 100644 index 000000000000..84096e094ce9 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/method_list.go @@ -0,0 +1,106 @@ +package firewallpolicies + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ListOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *[]FirewallPolicy +} + +type ListCompleteResult struct { + LatestHttpResponse *http.Response + Items []FirewallPolicy +} + +type ListCustomPager struct { + NextLink *odata.Link `json:"nextLink"` +} + +func (p *ListCustomPager) NextPageLink() *odata.Link { + defer func() { + p.NextLink = nil + }() + + return p.NextLink +} + +// List ... +func (c FirewallPoliciesClient) List(ctx context.Context, id commonids.ResourceGroupId) (result ListOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Pager: &ListCustomPager{}, + Path: fmt.Sprintf("%s/providers/Microsoft.Network/firewallPolicies", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.ExecutePaged(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var values struct { + Values *[]FirewallPolicy `json:"value"` + } + if err = resp.Unmarshal(&values); err != nil { + return + } + + result.Model = values.Values + + return +} + +// ListComplete retrieves all the results into a single object +func (c FirewallPoliciesClient) ListComplete(ctx context.Context, id commonids.ResourceGroupId) (ListCompleteResult, error) { + return c.ListCompleteMatchingPredicate(ctx, id, FirewallPolicyOperationPredicate{}) +} + +// ListCompleteMatchingPredicate retrieves all the results and then applies the predicate +func (c FirewallPoliciesClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate FirewallPolicyOperationPredicate) (result ListCompleteResult, err error) { + items := make([]FirewallPolicy, 0) + + resp, err := c.List(ctx, id) + if err != nil { + result.LatestHttpResponse = resp.HttpResponse + err = fmt.Errorf("loading results: %+v", err) + return + } + if resp.Model != nil { + for _, v := range *resp.Model { + if predicate.Matches(v) { + items = append(items, v) + } + } + } + + result = ListCompleteResult{ + LatestHttpResponse: resp.HttpResponse, + Items: items, + } + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/method_listall.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/method_listall.go new file mode 100644 index 000000000000..8b1106b1f8b0 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/method_listall.go @@ -0,0 +1,106 @@ +package firewallpolicies + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ListAllOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *[]FirewallPolicy +} + +type ListAllCompleteResult struct { + LatestHttpResponse *http.Response + Items []FirewallPolicy +} + +type ListAllCustomPager struct { + NextLink *odata.Link `json:"nextLink"` +} + +func (p *ListAllCustomPager) NextPageLink() *odata.Link { + defer func() { + p.NextLink = nil + }() + + return p.NextLink +} + +// ListAll ... +func (c FirewallPoliciesClient) ListAll(ctx context.Context, id commonids.SubscriptionId) (result ListAllOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Pager: &ListAllCustomPager{}, + Path: fmt.Sprintf("%s/providers/Microsoft.Network/firewallPolicies", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.ExecutePaged(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var values struct { + Values *[]FirewallPolicy `json:"value"` + } + if err = resp.Unmarshal(&values); err != nil { + return + } + + result.Model = values.Values + + return +} + +// ListAllComplete retrieves all the results into a single object +func (c FirewallPoliciesClient) ListAllComplete(ctx context.Context, id commonids.SubscriptionId) (ListAllCompleteResult, error) { + return c.ListAllCompleteMatchingPredicate(ctx, id, FirewallPolicyOperationPredicate{}) +} + +// ListAllCompleteMatchingPredicate retrieves all the results and then applies the predicate +func (c FirewallPoliciesClient) ListAllCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate FirewallPolicyOperationPredicate) (result ListAllCompleteResult, err error) { + items := make([]FirewallPolicy, 0) + + resp, err := c.ListAll(ctx, id) + if err != nil { + result.LatestHttpResponse = resp.HttpResponse + err = fmt.Errorf("loading results: %+v", err) + return + } + if resp.Model != nil { + for _, v := range *resp.Model { + if predicate.Matches(v) { + items = append(items, v) + } + } + } + + result = ListAllCompleteResult{ + LatestHttpResponse: resp.HttpResponse, + Items: items, + } + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/method_updatetags.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/method_updatetags.go new file mode 100644 index 000000000000..66cfb5cb6d4d --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/method_updatetags.go @@ -0,0 +1,57 @@ +package firewallpolicies + +import ( + "context" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type UpdateTagsOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *FirewallPolicy +} + +// UpdateTags ... +func (c FirewallPoliciesClient) UpdateTags(ctx context.Context, id FirewallPolicyId, input TagsObject) (result UpdateTagsOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodPatch, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + if err = req.Marshal(input); err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var model FirewallPolicy + result.Model = &model + if err = resp.Unmarshal(result.Model); err != nil { + return + } + + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_applicationrule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_applicationrule.go new file mode 100644 index 000000000000..151ed288baea --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_applicationrule.go @@ -0,0 +1,63 @@ +package firewallpolicies + +import ( + "encoding/json" + "fmt" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +var _ FirewallPolicyRule = ApplicationRule{} + +type ApplicationRule struct { + DestinationAddresses *[]string `json:"destinationAddresses,omitempty"` + FqdnTags *[]string `json:"fqdnTags,omitempty"` + HTTPHeadersToInsert *[]FirewallPolicyHTTPHeaderToInsert `json:"httpHeadersToInsert,omitempty"` + Protocols *[]FirewallPolicyRuleApplicationProtocol `json:"protocols,omitempty"` + SourceAddresses *[]string `json:"sourceAddresses,omitempty"` + SourceIPGroups *[]string `json:"sourceIpGroups,omitempty"` + TargetFqdns *[]string `json:"targetFqdns,omitempty"` + TargetURLs *[]string `json:"targetUrls,omitempty"` + TerminateTLS *bool `json:"terminateTLS,omitempty"` + WebCategories *[]string `json:"webCategories,omitempty"` + + // Fields inherited from FirewallPolicyRule + + Description *string `json:"description,omitempty"` + Name *string `json:"name,omitempty"` + RuleType FirewallPolicyRuleType `json:"ruleType"` +} + +func (s ApplicationRule) FirewallPolicyRule() BaseFirewallPolicyRuleImpl { + return BaseFirewallPolicyRuleImpl{ + Description: s.Description, + Name: s.Name, + RuleType: s.RuleType, + } +} + +var _ json.Marshaler = ApplicationRule{} + +func (s ApplicationRule) MarshalJSON() ([]byte, error) { + type wrapper ApplicationRule + wrapped := wrapper(s) + encoded, err := json.Marshal(wrapped) + if err != nil { + return nil, fmt.Errorf("marshaling ApplicationRule: %+v", err) + } + + var decoded map[string]interface{} + if err = json.Unmarshal(encoded, &decoded); err != nil { + return nil, fmt.Errorf("unmarshaling ApplicationRule: %+v", err) + } + + decoded["ruleType"] = "ApplicationRule" + + encoded, err = json.Marshal(decoded) + if err != nil { + return nil, fmt.Errorf("re-marshaling ApplicationRule: %+v", err) + } + + return encoded, nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_dnssettings.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_dnssettings.go new file mode 100644 index 000000000000..6983f66f9dd9 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_dnssettings.go @@ -0,0 +1,10 @@ +package firewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type DnsSettings struct { + EnableProxy *bool `json:"enableProxy,omitempty"` + RequireProxyForNetworkRules *bool `json:"requireProxyForNetworkRules,omitempty"` + Servers *[]string `json:"servers,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_explicitproxy.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_explicitproxy.go new file mode 100644 index 000000000000..d8af7221ddfd --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_explicitproxy.go @@ -0,0 +1,13 @@ +package firewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ExplicitProxy struct { + EnableExplicitProxy *bool `json:"enableExplicitProxy,omitempty"` + EnablePacFile *bool `json:"enablePacFile,omitempty"` + HTTPPort *int64 `json:"httpPort,omitempty"` + HTTPSPort *int64 `json:"httpsPort,omitempty"` + PacFile *string `json:"pacFile,omitempty"` + PacFilePort *int64 `json:"pacFilePort,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_filteritems.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_filteritems.go new file mode 100644 index 000000000000..943657d23f09 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_filteritems.go @@ -0,0 +1,9 @@ +package firewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type FilterItems struct { + Field *string `json:"field,omitempty"` + Values *[]string `json:"values,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_firewallpolicy.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_firewallpolicy.go new file mode 100644 index 000000000000..fb85165c9d9f --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_firewallpolicy.go @@ -0,0 +1,19 @@ +package firewallpolicies + +import ( + "github.com/hashicorp/go-azure-helpers/resourcemanager/identity" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type FirewallPolicy struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Identity *identity.SystemAndUserAssignedMap `json:"identity,omitempty"` + Location *string `json:"location,omitempty"` + Name *string `json:"name,omitempty"` + Properties *FirewallPolicyPropertiesFormat `json:"properties,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_firewallpolicycertificateauthority.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_firewallpolicycertificateauthority.go new file mode 100644 index 000000000000..b1d1e5fcdd88 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_firewallpolicycertificateauthority.go @@ -0,0 +1,9 @@ +package firewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type FirewallPolicyCertificateAuthority struct { + KeyVaultSecretId *string `json:"keyVaultSecretId,omitempty"` + Name *string `json:"name,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_firewallpolicydraft.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_firewallpolicydraft.go new file mode 100644 index 000000000000..1f156e948dd2 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_firewallpolicydraft.go @@ -0,0 +1,13 @@ +package firewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type FirewallPolicyDraft struct { + Id *string `json:"id,omitempty"` + Location *string `json:"location,omitempty"` + Name *string `json:"name,omitempty"` + Properties *FirewallPolicyDraftProperties `json:"properties,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_firewallpolicydraftproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_firewallpolicydraftproperties.go new file mode 100644 index 000000000000..7303ad731f25 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_firewallpolicydraftproperties.go @@ -0,0 +1,16 @@ +package firewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type FirewallPolicyDraftProperties struct { + BasePolicy *SubResource `json:"basePolicy,omitempty"` + DnsSettings *DnsSettings `json:"dnsSettings,omitempty"` + ExplicitProxy *ExplicitProxy `json:"explicitProxy,omitempty"` + Insights *FirewallPolicyInsights `json:"insights,omitempty"` + IntrusionDetection *FirewallPolicyIntrusionDetection `json:"intrusionDetection,omitempty"` + Snat *FirewallPolicySNAT `json:"snat,omitempty"` + Sql *FirewallPolicySQL `json:"sql,omitempty"` + ThreatIntelMode *AzureFirewallThreatIntelMode `json:"threatIntelMode,omitempty"` + ThreatIntelWhitelist *FirewallPolicyThreatIntelWhitelist `json:"threatIntelWhitelist,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_firewallpolicyfilterrulecollection.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_firewallpolicyfilterrulecollection.go new file mode 100644 index 000000000000..1253bbae7421 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_firewallpolicyfilterrulecollection.go @@ -0,0 +1,98 @@ +package firewallpolicies + +import ( + "encoding/json" + "fmt" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +var _ FirewallPolicyRuleCollection = FirewallPolicyFilterRuleCollection{} + +type FirewallPolicyFilterRuleCollection struct { + Action *FirewallPolicyFilterRuleCollectionAction `json:"action,omitempty"` + Rules *[]FirewallPolicyRule `json:"rules,omitempty"` + + // Fields inherited from FirewallPolicyRuleCollection + + Name *string `json:"name,omitempty"` + Priority *int64 `json:"priority,omitempty"` + RuleCollectionType FirewallPolicyRuleCollectionType `json:"ruleCollectionType"` +} + +func (s FirewallPolicyFilterRuleCollection) FirewallPolicyRuleCollection() BaseFirewallPolicyRuleCollectionImpl { + return BaseFirewallPolicyRuleCollectionImpl{ + Name: s.Name, + Priority: s.Priority, + RuleCollectionType: s.RuleCollectionType, + } +} + +var _ json.Marshaler = FirewallPolicyFilterRuleCollection{} + +func (s FirewallPolicyFilterRuleCollection) MarshalJSON() ([]byte, error) { + type wrapper FirewallPolicyFilterRuleCollection + wrapped := wrapper(s) + encoded, err := json.Marshal(wrapped) + if err != nil { + return nil, fmt.Errorf("marshaling FirewallPolicyFilterRuleCollection: %+v", err) + } + + var decoded map[string]interface{} + if err = json.Unmarshal(encoded, &decoded); err != nil { + return nil, fmt.Errorf("unmarshaling FirewallPolicyFilterRuleCollection: %+v", err) + } + + decoded["ruleCollectionType"] = "FirewallPolicyFilterRuleCollection" + + encoded, err = json.Marshal(decoded) + if err != nil { + return nil, fmt.Errorf("re-marshaling FirewallPolicyFilterRuleCollection: %+v", err) + } + + return encoded, nil +} + +var _ json.Unmarshaler = &FirewallPolicyFilterRuleCollection{} + +func (s *FirewallPolicyFilterRuleCollection) UnmarshalJSON(bytes []byte) error { + var decoded struct { + Action *FirewallPolicyFilterRuleCollectionAction `json:"action,omitempty"` + Name *string `json:"name,omitempty"` + Priority *int64 `json:"priority,omitempty"` + RuleCollectionType FirewallPolicyRuleCollectionType `json:"ruleCollectionType"` + } + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + + s.Action = decoded.Action + s.Name = decoded.Name + s.Priority = decoded.Priority + s.RuleCollectionType = decoded.RuleCollectionType + + var temp map[string]json.RawMessage + if err := json.Unmarshal(bytes, &temp); err != nil { + return fmt.Errorf("unmarshaling FirewallPolicyFilterRuleCollection into map[string]json.RawMessage: %+v", err) + } + + if v, ok := temp["rules"]; ok { + var listTemp []json.RawMessage + if err := json.Unmarshal(v, &listTemp); err != nil { + return fmt.Errorf("unmarshaling Rules into list []json.RawMessage: %+v", err) + } + + output := make([]FirewallPolicyRule, 0) + for i, val := range listTemp { + impl, err := UnmarshalFirewallPolicyRuleImplementation(val) + if err != nil { + return fmt.Errorf("unmarshaling index %d field 'Rules' for 'FirewallPolicyFilterRuleCollection': %+v", i, err) + } + output = append(output, impl) + } + s.Rules = &output + } + + return nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_firewallpolicyfilterrulecollectionaction.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_firewallpolicyfilterrulecollectionaction.go new file mode 100644 index 000000000000..fdd82344dc17 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_firewallpolicyfilterrulecollectionaction.go @@ -0,0 +1,8 @@ +package firewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type FirewallPolicyFilterRuleCollectionAction struct { + Type *FirewallPolicyFilterRuleCollectionActionType `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_firewallpolicyhttpheadertoinsert.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_firewallpolicyhttpheadertoinsert.go new file mode 100644 index 000000000000..27586a9bc9d8 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_firewallpolicyhttpheadertoinsert.go @@ -0,0 +1,9 @@ +package firewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type FirewallPolicyHTTPHeaderToInsert struct { + HeaderName *string `json:"headerName,omitempty"` + HeaderValue *string `json:"headerValue,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_firewallpolicyinsights.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_firewallpolicyinsights.go new file mode 100644 index 000000000000..5af7b2e446d1 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_firewallpolicyinsights.go @@ -0,0 +1,10 @@ +package firewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type FirewallPolicyInsights struct { + IsEnabled *bool `json:"isEnabled,omitempty"` + LogAnalyticsResources *FirewallPolicyLogAnalyticsResources `json:"logAnalyticsResources,omitempty"` + RetentionDays *int64 `json:"retentionDays,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_firewallpolicyintrusiondetection.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_firewallpolicyintrusiondetection.go new file mode 100644 index 000000000000..f51c93257c54 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_firewallpolicyintrusiondetection.go @@ -0,0 +1,10 @@ +package firewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type FirewallPolicyIntrusionDetection struct { + Configuration *FirewallPolicyIntrusionDetectionConfiguration `json:"configuration,omitempty"` + Mode *FirewallPolicyIntrusionDetectionStateType `json:"mode,omitempty"` + Profile *FirewallPolicyIntrusionDetectionProfileType `json:"profile,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_firewallpolicyintrusiondetectionbypasstrafficspecifications.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_firewallpolicyintrusiondetectionbypasstrafficspecifications.go new file mode 100644 index 000000000000..088a6c5515fb --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_firewallpolicyintrusiondetectionbypasstrafficspecifications.go @@ -0,0 +1,15 @@ +package firewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type FirewallPolicyIntrusionDetectionBypassTrafficSpecifications struct { + Description *string `json:"description,omitempty"` + DestinationAddresses *[]string `json:"destinationAddresses,omitempty"` + DestinationIPGroups *[]string `json:"destinationIpGroups,omitempty"` + DestinationPorts *[]string `json:"destinationPorts,omitempty"` + Name *string `json:"name,omitempty"` + Protocol *FirewallPolicyIntrusionDetectionProtocol `json:"protocol,omitempty"` + SourceAddresses *[]string `json:"sourceAddresses,omitempty"` + SourceIPGroups *[]string `json:"sourceIpGroups,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_firewallpolicyintrusiondetectionconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_firewallpolicyintrusiondetectionconfiguration.go new file mode 100644 index 000000000000..dce919867c04 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_firewallpolicyintrusiondetectionconfiguration.go @@ -0,0 +1,10 @@ +package firewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type FirewallPolicyIntrusionDetectionConfiguration struct { + BypassTrafficSettings *[]FirewallPolicyIntrusionDetectionBypassTrafficSpecifications `json:"bypassTrafficSettings,omitempty"` + PrivateRanges *[]string `json:"privateRanges,omitempty"` + SignatureOverrides *[]FirewallPolicyIntrusionDetectionSignatureSpecification `json:"signatureOverrides,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_firewallpolicyintrusiondetectionsignaturespecification.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_firewallpolicyintrusiondetectionsignaturespecification.go new file mode 100644 index 000000000000..2bae7fe0f047 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_firewallpolicyintrusiondetectionsignaturespecification.go @@ -0,0 +1,9 @@ +package firewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type FirewallPolicyIntrusionDetectionSignatureSpecification struct { + Id *string `json:"id,omitempty"` + Mode *FirewallPolicyIntrusionDetectionStateType `json:"mode,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_firewallpolicyloganalyticsresources.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_firewallpolicyloganalyticsresources.go new file mode 100644 index 000000000000..4f1280d942bc --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_firewallpolicyloganalyticsresources.go @@ -0,0 +1,9 @@ +package firewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type FirewallPolicyLogAnalyticsResources struct { + DefaultWorkspaceId *SubResource `json:"defaultWorkspaceId,omitempty"` + Workspaces *[]FirewallPolicyLogAnalyticsWorkspace `json:"workspaces,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_firewallpolicyloganalyticsworkspace.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_firewallpolicyloganalyticsworkspace.go new file mode 100644 index 000000000000..4cc72aa7cbbb --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_firewallpolicyloganalyticsworkspace.go @@ -0,0 +1,9 @@ +package firewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type FirewallPolicyLogAnalyticsWorkspace struct { + Region *string `json:"region,omitempty"` + WorkspaceId *SubResource `json:"workspaceId,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_firewallpolicynatrulecollection.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_firewallpolicynatrulecollection.go new file mode 100644 index 000000000000..8bb8e5f0f6a8 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_firewallpolicynatrulecollection.go @@ -0,0 +1,98 @@ +package firewallpolicies + +import ( + "encoding/json" + "fmt" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +var _ FirewallPolicyRuleCollection = FirewallPolicyNatRuleCollection{} + +type FirewallPolicyNatRuleCollection struct { + Action *FirewallPolicyNatRuleCollectionAction `json:"action,omitempty"` + Rules *[]FirewallPolicyRule `json:"rules,omitempty"` + + // Fields inherited from FirewallPolicyRuleCollection + + Name *string `json:"name,omitempty"` + Priority *int64 `json:"priority,omitempty"` + RuleCollectionType FirewallPolicyRuleCollectionType `json:"ruleCollectionType"` +} + +func (s FirewallPolicyNatRuleCollection) FirewallPolicyRuleCollection() BaseFirewallPolicyRuleCollectionImpl { + return BaseFirewallPolicyRuleCollectionImpl{ + Name: s.Name, + Priority: s.Priority, + RuleCollectionType: s.RuleCollectionType, + } +} + +var _ json.Marshaler = FirewallPolicyNatRuleCollection{} + +func (s FirewallPolicyNatRuleCollection) MarshalJSON() ([]byte, error) { + type wrapper FirewallPolicyNatRuleCollection + wrapped := wrapper(s) + encoded, err := json.Marshal(wrapped) + if err != nil { + return nil, fmt.Errorf("marshaling FirewallPolicyNatRuleCollection: %+v", err) + } + + var decoded map[string]interface{} + if err = json.Unmarshal(encoded, &decoded); err != nil { + return nil, fmt.Errorf("unmarshaling FirewallPolicyNatRuleCollection: %+v", err) + } + + decoded["ruleCollectionType"] = "FirewallPolicyNatRuleCollection" + + encoded, err = json.Marshal(decoded) + if err != nil { + return nil, fmt.Errorf("re-marshaling FirewallPolicyNatRuleCollection: %+v", err) + } + + return encoded, nil +} + +var _ json.Unmarshaler = &FirewallPolicyNatRuleCollection{} + +func (s *FirewallPolicyNatRuleCollection) UnmarshalJSON(bytes []byte) error { + var decoded struct { + Action *FirewallPolicyNatRuleCollectionAction `json:"action,omitempty"` + Name *string `json:"name,omitempty"` + Priority *int64 `json:"priority,omitempty"` + RuleCollectionType FirewallPolicyRuleCollectionType `json:"ruleCollectionType"` + } + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + + s.Action = decoded.Action + s.Name = decoded.Name + s.Priority = decoded.Priority + s.RuleCollectionType = decoded.RuleCollectionType + + var temp map[string]json.RawMessage + if err := json.Unmarshal(bytes, &temp); err != nil { + return fmt.Errorf("unmarshaling FirewallPolicyNatRuleCollection into map[string]json.RawMessage: %+v", err) + } + + if v, ok := temp["rules"]; ok { + var listTemp []json.RawMessage + if err := json.Unmarshal(v, &listTemp); err != nil { + return fmt.Errorf("unmarshaling Rules into list []json.RawMessage: %+v", err) + } + + output := make([]FirewallPolicyRule, 0) + for i, val := range listTemp { + impl, err := UnmarshalFirewallPolicyRuleImplementation(val) + if err != nil { + return fmt.Errorf("unmarshaling index %d field 'Rules' for 'FirewallPolicyNatRuleCollection': %+v", i, err) + } + output = append(output, impl) + } + s.Rules = &output + } + + return nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_firewallpolicynatrulecollectionaction.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_firewallpolicynatrulecollectionaction.go new file mode 100644 index 000000000000..4b895cf6198a --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_firewallpolicynatrulecollectionaction.go @@ -0,0 +1,8 @@ +package firewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type FirewallPolicyNatRuleCollectionAction struct { + Type *FirewallPolicyNatRuleCollectionActionType `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_firewallpolicypropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_firewallpolicypropertiesformat.go new file mode 100644 index 000000000000..b439737323d5 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_firewallpolicypropertiesformat.go @@ -0,0 +1,23 @@ +package firewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type FirewallPolicyPropertiesFormat struct { + BasePolicy *SubResource `json:"basePolicy,omitempty"` + ChildPolicies *[]SubResource `json:"childPolicies,omitempty"` + DnsSettings *DnsSettings `json:"dnsSettings,omitempty"` + ExplicitProxy *ExplicitProxy `json:"explicitProxy,omitempty"` + Firewalls *[]SubResource `json:"firewalls,omitempty"` + Insights *FirewallPolicyInsights `json:"insights,omitempty"` + IntrusionDetection *FirewallPolicyIntrusionDetection `json:"intrusionDetection,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + RuleCollectionGroups *[]SubResource `json:"ruleCollectionGroups,omitempty"` + Size *string `json:"size,omitempty"` + Sku *FirewallPolicySku `json:"sku,omitempty"` + Snat *FirewallPolicySNAT `json:"snat,omitempty"` + Sql *FirewallPolicySQL `json:"sql,omitempty"` + ThreatIntelMode *AzureFirewallThreatIntelMode `json:"threatIntelMode,omitempty"` + ThreatIntelWhitelist *FirewallPolicyThreatIntelWhitelist `json:"threatIntelWhitelist,omitempty"` + TransportSecurity *FirewallPolicyTransportSecurity `json:"transportSecurity,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_firewallpolicyrule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_firewallpolicyrule.go new file mode 100644 index 000000000000..08c058378ae5 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_firewallpolicyrule.go @@ -0,0 +1,93 @@ +package firewallpolicies + +import ( + "encoding/json" + "fmt" + "strings" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type FirewallPolicyRule interface { + FirewallPolicyRule() BaseFirewallPolicyRuleImpl +} + +var _ FirewallPolicyRule = BaseFirewallPolicyRuleImpl{} + +type BaseFirewallPolicyRuleImpl struct { + Description *string `json:"description,omitempty"` + Name *string `json:"name,omitempty"` + RuleType FirewallPolicyRuleType `json:"ruleType"` +} + +func (s BaseFirewallPolicyRuleImpl) FirewallPolicyRule() BaseFirewallPolicyRuleImpl { + return s +} + +var _ FirewallPolicyRule = RawFirewallPolicyRuleImpl{} + +// RawFirewallPolicyRuleImpl is returned when the Discriminated Value doesn't match any of the defined types +// NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) +// and is used only for Deserialization (e.g. this cannot be used as a Request Payload). +type RawFirewallPolicyRuleImpl struct { + firewallPolicyRule BaseFirewallPolicyRuleImpl + Type string + Values map[string]interface{} +} + +func (s RawFirewallPolicyRuleImpl) FirewallPolicyRule() BaseFirewallPolicyRuleImpl { + return s.firewallPolicyRule +} + +func UnmarshalFirewallPolicyRuleImplementation(input []byte) (FirewallPolicyRule, error) { + if input == nil { + return nil, nil + } + + var temp map[string]interface{} + if err := json.Unmarshal(input, &temp); err != nil { + return nil, fmt.Errorf("unmarshaling FirewallPolicyRule into map[string]interface: %+v", err) + } + + var value string + if v, ok := temp["ruleType"]; ok { + value = fmt.Sprintf("%v", v) + } + + if strings.EqualFold(value, "ApplicationRule") { + var out ApplicationRule + if err := json.Unmarshal(input, &out); err != nil { + return nil, fmt.Errorf("unmarshaling into ApplicationRule: %+v", err) + } + return out, nil + } + + if strings.EqualFold(value, "NatRule") { + var out NatRule + if err := json.Unmarshal(input, &out); err != nil { + return nil, fmt.Errorf("unmarshaling into NatRule: %+v", err) + } + return out, nil + } + + if strings.EqualFold(value, "NetworkRule") { + var out NetworkRule + if err := json.Unmarshal(input, &out); err != nil { + return nil, fmt.Errorf("unmarshaling into NetworkRule: %+v", err) + } + return out, nil + } + + var parent BaseFirewallPolicyRuleImpl + if err := json.Unmarshal(input, &parent); err != nil { + return nil, fmt.Errorf("unmarshaling into BaseFirewallPolicyRuleImpl: %+v", err) + } + + return RawFirewallPolicyRuleImpl{ + firewallPolicyRule: parent, + Type: value, + Values: temp, + }, nil + +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_firewallpolicyruleapplicationprotocol.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_firewallpolicyruleapplicationprotocol.go new file mode 100644 index 000000000000..4c9fdab828c5 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_firewallpolicyruleapplicationprotocol.go @@ -0,0 +1,9 @@ +package firewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type FirewallPolicyRuleApplicationProtocol struct { + Port *int64 `json:"port,omitempty"` + ProtocolType *FirewallPolicyRuleApplicationProtocolType `json:"protocolType,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_firewallpolicyrulecollection.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_firewallpolicyrulecollection.go new file mode 100644 index 000000000000..8e3be4c748e2 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_firewallpolicyrulecollection.go @@ -0,0 +1,85 @@ +package firewallpolicies + +import ( + "encoding/json" + "fmt" + "strings" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type FirewallPolicyRuleCollection interface { + FirewallPolicyRuleCollection() BaseFirewallPolicyRuleCollectionImpl +} + +var _ FirewallPolicyRuleCollection = BaseFirewallPolicyRuleCollectionImpl{} + +type BaseFirewallPolicyRuleCollectionImpl struct { + Name *string `json:"name,omitempty"` + Priority *int64 `json:"priority,omitempty"` + RuleCollectionType FirewallPolicyRuleCollectionType `json:"ruleCollectionType"` +} + +func (s BaseFirewallPolicyRuleCollectionImpl) FirewallPolicyRuleCollection() BaseFirewallPolicyRuleCollectionImpl { + return s +} + +var _ FirewallPolicyRuleCollection = RawFirewallPolicyRuleCollectionImpl{} + +// RawFirewallPolicyRuleCollectionImpl is returned when the Discriminated Value doesn't match any of the defined types +// NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) +// and is used only for Deserialization (e.g. this cannot be used as a Request Payload). +type RawFirewallPolicyRuleCollectionImpl struct { + firewallPolicyRuleCollection BaseFirewallPolicyRuleCollectionImpl + Type string + Values map[string]interface{} +} + +func (s RawFirewallPolicyRuleCollectionImpl) FirewallPolicyRuleCollection() BaseFirewallPolicyRuleCollectionImpl { + return s.firewallPolicyRuleCollection +} + +func UnmarshalFirewallPolicyRuleCollectionImplementation(input []byte) (FirewallPolicyRuleCollection, error) { + if input == nil { + return nil, nil + } + + var temp map[string]interface{} + if err := json.Unmarshal(input, &temp); err != nil { + return nil, fmt.Errorf("unmarshaling FirewallPolicyRuleCollection into map[string]interface: %+v", err) + } + + var value string + if v, ok := temp["ruleCollectionType"]; ok { + value = fmt.Sprintf("%v", v) + } + + if strings.EqualFold(value, "FirewallPolicyFilterRuleCollection") { + var out FirewallPolicyFilterRuleCollection + if err := json.Unmarshal(input, &out); err != nil { + return nil, fmt.Errorf("unmarshaling into FirewallPolicyFilterRuleCollection: %+v", err) + } + return out, nil + } + + if strings.EqualFold(value, "FirewallPolicyNatRuleCollection") { + var out FirewallPolicyNatRuleCollection + if err := json.Unmarshal(input, &out); err != nil { + return nil, fmt.Errorf("unmarshaling into FirewallPolicyNatRuleCollection: %+v", err) + } + return out, nil + } + + var parent BaseFirewallPolicyRuleCollectionImpl + if err := json.Unmarshal(input, &parent); err != nil { + return nil, fmt.Errorf("unmarshaling into BaseFirewallPolicyRuleCollectionImpl: %+v", err) + } + + return RawFirewallPolicyRuleCollectionImpl{ + firewallPolicyRuleCollection: parent, + Type: value, + Values: temp, + }, nil + +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_firewallpolicyrulecollectiongroupdraft.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_firewallpolicyrulecollectiongroupdraft.go new file mode 100644 index 000000000000..638137d0747c --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_firewallpolicyrulecollectiongroupdraft.go @@ -0,0 +1,11 @@ +package firewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type FirewallPolicyRuleCollectionGroupDraft struct { + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *FirewallPolicyRuleCollectionGroupDraftProperties `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_firewallpolicyrulecollectiongroupdraftproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_firewallpolicyrulecollectiongroupdraftproperties.go new file mode 100644 index 000000000000..a25c504563ed --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_firewallpolicyrulecollectiongroupdraftproperties.go @@ -0,0 +1,54 @@ +package firewallpolicies + +import ( + "encoding/json" + "fmt" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type FirewallPolicyRuleCollectionGroupDraftProperties struct { + Priority *int64 `json:"priority,omitempty"` + RuleCollections *[]FirewallPolicyRuleCollection `json:"ruleCollections,omitempty"` + Size *string `json:"size,omitempty"` +} + +var _ json.Unmarshaler = &FirewallPolicyRuleCollectionGroupDraftProperties{} + +func (s *FirewallPolicyRuleCollectionGroupDraftProperties) UnmarshalJSON(bytes []byte) error { + var decoded struct { + Priority *int64 `json:"priority,omitempty"` + Size *string `json:"size,omitempty"` + } + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + + s.Priority = decoded.Priority + s.Size = decoded.Size + + var temp map[string]json.RawMessage + if err := json.Unmarshal(bytes, &temp); err != nil { + return fmt.Errorf("unmarshaling FirewallPolicyRuleCollectionGroupDraftProperties into map[string]json.RawMessage: %+v", err) + } + + if v, ok := temp["ruleCollections"]; ok { + var listTemp []json.RawMessage + if err := json.Unmarshal(v, &listTemp); err != nil { + return fmt.Errorf("unmarshaling RuleCollections into list []json.RawMessage: %+v", err) + } + + output := make([]FirewallPolicyRuleCollection, 0) + for i, val := range listTemp { + impl, err := UnmarshalFirewallPolicyRuleCollectionImplementation(val) + if err != nil { + return fmt.Errorf("unmarshaling index %d field 'RuleCollections' for 'FirewallPolicyRuleCollectionGroupDraftProperties': %+v", i, err) + } + output = append(output, impl) + } + s.RuleCollections = &output + } + + return nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_firewallpolicysku.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_firewallpolicysku.go new file mode 100644 index 000000000000..6c0cef082607 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_firewallpolicysku.go @@ -0,0 +1,8 @@ +package firewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type FirewallPolicySku struct { + Tier *FirewallPolicySkuTier `json:"tier,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_firewallpolicysnat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_firewallpolicysnat.go new file mode 100644 index 000000000000..33dcf12744e6 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_firewallpolicysnat.go @@ -0,0 +1,9 @@ +package firewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type FirewallPolicySNAT struct { + AutoLearnPrivateRanges *AutoLearnPrivateRangesMode `json:"autoLearnPrivateRanges,omitempty"` + PrivateRanges *[]string `json:"privateRanges,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_firewallpolicysql.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_firewallpolicysql.go new file mode 100644 index 000000000000..32e50565577b --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_firewallpolicysql.go @@ -0,0 +1,8 @@ +package firewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type FirewallPolicySQL struct { + AllowSqlRedirect *bool `json:"allowSqlRedirect,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_firewallpolicythreatintelwhitelist.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_firewallpolicythreatintelwhitelist.go new file mode 100644 index 000000000000..376fba1c2689 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_firewallpolicythreatintelwhitelist.go @@ -0,0 +1,9 @@ +package firewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type FirewallPolicyThreatIntelWhitelist struct { + Fqdns *[]string `json:"fqdns,omitempty"` + IPAddresses *[]string `json:"ipAddresses,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_firewallpolicytransportsecurity.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_firewallpolicytransportsecurity.go new file mode 100644 index 000000000000..9fdbf9b48772 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_firewallpolicytransportsecurity.go @@ -0,0 +1,8 @@ +package firewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type FirewallPolicyTransportSecurity struct { + CertificateAuthority *FirewallPolicyCertificateAuthority `json:"certificateAuthority,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_idpsqueryobject.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_idpsqueryobject.go new file mode 100644 index 000000000000..3a1aca509b6c --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_idpsqueryobject.go @@ -0,0 +1,12 @@ +package firewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type IDPSQueryObject struct { + Filters *[]FilterItems `json:"filters,omitempty"` + OrderBy *OrderBy `json:"orderBy,omitempty"` + ResultsPerPage *int64 `json:"resultsPerPage,omitempty"` + Search *string `json:"search,omitempty"` + Skip *int64 `json:"skip,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_natrule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_natrule.go new file mode 100644 index 000000000000..29ada8c31d1f --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_natrule.go @@ -0,0 +1,61 @@ +package firewallpolicies + +import ( + "encoding/json" + "fmt" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +var _ FirewallPolicyRule = NatRule{} + +type NatRule struct { + DestinationAddresses *[]string `json:"destinationAddresses,omitempty"` + DestinationPorts *[]string `json:"destinationPorts,omitempty"` + IPProtocols *[]FirewallPolicyRuleNetworkProtocol `json:"ipProtocols,omitempty"` + SourceAddresses *[]string `json:"sourceAddresses,omitempty"` + SourceIPGroups *[]string `json:"sourceIpGroups,omitempty"` + TranslatedAddress *string `json:"translatedAddress,omitempty"` + TranslatedFqdn *string `json:"translatedFqdn,omitempty"` + TranslatedPort *string `json:"translatedPort,omitempty"` + + // Fields inherited from FirewallPolicyRule + + Description *string `json:"description,omitempty"` + Name *string `json:"name,omitempty"` + RuleType FirewallPolicyRuleType `json:"ruleType"` +} + +func (s NatRule) FirewallPolicyRule() BaseFirewallPolicyRuleImpl { + return BaseFirewallPolicyRuleImpl{ + Description: s.Description, + Name: s.Name, + RuleType: s.RuleType, + } +} + +var _ json.Marshaler = NatRule{} + +func (s NatRule) MarshalJSON() ([]byte, error) { + type wrapper NatRule + wrapped := wrapper(s) + encoded, err := json.Marshal(wrapped) + if err != nil { + return nil, fmt.Errorf("marshaling NatRule: %+v", err) + } + + var decoded map[string]interface{} + if err = json.Unmarshal(encoded, &decoded); err != nil { + return nil, fmt.Errorf("unmarshaling NatRule: %+v", err) + } + + decoded["ruleType"] = "NatRule" + + encoded, err = json.Marshal(decoded) + if err != nil { + return nil, fmt.Errorf("re-marshaling NatRule: %+v", err) + } + + return encoded, nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_networkrule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_networkrule.go new file mode 100644 index 000000000000..aa890c1a8bb9 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_networkrule.go @@ -0,0 +1,60 @@ +package firewallpolicies + +import ( + "encoding/json" + "fmt" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +var _ FirewallPolicyRule = NetworkRule{} + +type NetworkRule struct { + DestinationAddresses *[]string `json:"destinationAddresses,omitempty"` + DestinationFqdns *[]string `json:"destinationFqdns,omitempty"` + DestinationIPGroups *[]string `json:"destinationIpGroups,omitempty"` + DestinationPorts *[]string `json:"destinationPorts,omitempty"` + IPProtocols *[]FirewallPolicyRuleNetworkProtocol `json:"ipProtocols,omitempty"` + SourceAddresses *[]string `json:"sourceAddresses,omitempty"` + SourceIPGroups *[]string `json:"sourceIpGroups,omitempty"` + + // Fields inherited from FirewallPolicyRule + + Description *string `json:"description,omitempty"` + Name *string `json:"name,omitempty"` + RuleType FirewallPolicyRuleType `json:"ruleType"` +} + +func (s NetworkRule) FirewallPolicyRule() BaseFirewallPolicyRuleImpl { + return BaseFirewallPolicyRuleImpl{ + Description: s.Description, + Name: s.Name, + RuleType: s.RuleType, + } +} + +var _ json.Marshaler = NetworkRule{} + +func (s NetworkRule) MarshalJSON() ([]byte, error) { + type wrapper NetworkRule + wrapped := wrapper(s) + encoded, err := json.Marshal(wrapped) + if err != nil { + return nil, fmt.Errorf("marshaling NetworkRule: %+v", err) + } + + var decoded map[string]interface{} + if err = json.Unmarshal(encoded, &decoded); err != nil { + return nil, fmt.Errorf("unmarshaling NetworkRule: %+v", err) + } + + decoded["ruleType"] = "NetworkRule" + + encoded, err = json.Marshal(decoded) + if err != nil { + return nil, fmt.Errorf("re-marshaling NetworkRule: %+v", err) + } + + return encoded, nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_orderby.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_orderby.go new file mode 100644 index 000000000000..db1d05e44782 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_orderby.go @@ -0,0 +1,9 @@ +package firewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type OrderBy struct { + Field *string `json:"field,omitempty"` + Order *FirewallPolicyIDPSQuerySortOrder `json:"order,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_queryresults.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_queryresults.go new file mode 100644 index 000000000000..4c0591a2f83c --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_queryresults.go @@ -0,0 +1,9 @@ +package firewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type QueryResults struct { + MatchingRecordsCount *int64 `json:"matchingRecordsCount,omitempty"` + Signatures *[]SingleQueryResult `json:"signatures,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_signatureoverridesfiltervaluesquery.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_signatureoverridesfiltervaluesquery.go new file mode 100644 index 000000000000..718d141e3c02 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_signatureoverridesfiltervaluesquery.go @@ -0,0 +1,8 @@ +package firewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type SignatureOverridesFilterValuesQuery struct { + FilterName *string `json:"filterName,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_signatureoverridesfiltervaluesresponse.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_signatureoverridesfiltervaluesresponse.go new file mode 100644 index 000000000000..4b135d882ba2 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_signatureoverridesfiltervaluesresponse.go @@ -0,0 +1,8 @@ +package firewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type SignatureOverridesFilterValuesResponse struct { + FilterValues *[]string `json:"filterValues,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_signaturesoverrides.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_signaturesoverrides.go new file mode 100644 index 000000000000..2f1b84510c9d --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_signaturesoverrides.go @@ -0,0 +1,11 @@ +package firewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type SignaturesOverrides struct { + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *SignaturesOverridesProperties `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_signaturesoverrideslist.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_signaturesoverrideslist.go new file mode 100644 index 000000000000..d403a4eb5902 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_signaturesoverrideslist.go @@ -0,0 +1,8 @@ +package firewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type SignaturesOverridesList struct { + Value *[]SignaturesOverrides `json:"value,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_signaturesoverridesproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_signaturesoverridesproperties.go new file mode 100644 index 000000000000..a93d8699c02a --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_signaturesoverridesproperties.go @@ -0,0 +1,8 @@ +package firewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type SignaturesOverridesProperties struct { + Signatures *map[string]string `json:"signatures,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_singlequeryresult.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_singlequeryresult.go new file mode 100644 index 000000000000..cbf78585e564 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_singlequeryresult.go @@ -0,0 +1,18 @@ +package firewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type SingleQueryResult struct { + Description *string `json:"description,omitempty"` + DestinationPorts *[]string `json:"destinationPorts,omitempty"` + Direction *FirewallPolicyIDPSSignatureDirection `json:"direction,omitempty"` + Group *string `json:"group,omitempty"` + InheritedFromParentPolicy *bool `json:"inheritedFromParentPolicy,omitempty"` + LastUpdated *string `json:"lastUpdated,omitempty"` + Mode *FirewallPolicyIDPSSignatureMode `json:"mode,omitempty"` + Protocol *string `json:"protocol,omitempty"` + Severity *FirewallPolicyIDPSSignatureSeverity `json:"severity,omitempty"` + SignatureId *int64 `json:"signatureId,omitempty"` + SourcePorts *[]string `json:"sourcePorts,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_subresource.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_subresource.go new file mode 100644 index 000000000000..abee9f81d035 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_subresource.go @@ -0,0 +1,8 @@ +package firewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type SubResource struct { + Id *string `json:"id,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_tagsobject.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_tagsobject.go new file mode 100644 index 000000000000..22cc23110bee --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/model_tagsobject.go @@ -0,0 +1,8 @@ +package firewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type TagsObject struct { + Tags *map[string]string `json:"tags,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/predicates.go new file mode 100644 index 000000000000..2640042ba7a6 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/predicates.go @@ -0,0 +1,37 @@ +package firewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type FirewallPolicyOperationPredicate struct { + Etag *string + Id *string + Location *string + Name *string + Type *string +} + +func (p FirewallPolicyOperationPredicate) Matches(input FirewallPolicy) bool { + + if p.Etag != nil && (input.Etag == nil || *p.Etag != *input.Etag) { + return false + } + + if p.Id != nil && (input.Id == nil || *p.Id != *input.Id) { + return false + } + + if p.Location != nil && (input.Location == nil || *p.Location != *input.Location) { + return false + } + + if p.Name != nil && (input.Name == nil || *p.Name != *input.Name) { + return false + } + + if p.Type != nil && (input.Type == nil || *p.Type != *input.Type) { + return false + } + + return true +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/version.go new file mode 100644 index 000000000000..a981fa9889ef --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies/version.go @@ -0,0 +1,10 @@ +package firewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2024-03-01" + +func userAgent() string { + return "hashicorp/go-azure-sdk/firewallpolicies/2024-03-01" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicyrulecollectiongroups/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicyrulecollectiongroups/README.md new file mode 100644 index 000000000000..bdfaa7e0fef0 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicyrulecollectiongroups/README.md @@ -0,0 +1,82 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicyrulecollectiongroups` Documentation + +The `firewallpolicyrulecollectiongroups` SDK allows for interaction with Azure Resource Manager `network` (API Version `2024-03-01`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicyrulecollectiongroups" +``` + + +### Client Initialization + +```go +client := firewallpolicyrulecollectiongroups.NewFirewallPolicyRuleCollectionGroupsClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `FirewallPolicyRuleCollectionGroupsClient.CreateOrUpdate` + +```go +ctx := context.TODO() +id := firewallpolicyrulecollectiongroups.NewRuleCollectionGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group", "firewallPolicyName", "ruleCollectionGroupName") + +payload := firewallpolicyrulecollectiongroups.FirewallPolicyRuleCollectionGroup{ + // ... +} + + +if err := client.CreateOrUpdateThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `FirewallPolicyRuleCollectionGroupsClient.Delete` + +```go +ctx := context.TODO() +id := firewallpolicyrulecollectiongroups.NewRuleCollectionGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group", "firewallPolicyName", "ruleCollectionGroupName") + +if err := client.DeleteThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `FirewallPolicyRuleCollectionGroupsClient.Get` + +```go +ctx := context.TODO() +id := firewallpolicyrulecollectiongroups.NewRuleCollectionGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group", "firewallPolicyName", "ruleCollectionGroupName") + +read, err := client.Get(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `FirewallPolicyRuleCollectionGroupsClient.List` + +```go +ctx := context.TODO() +id := firewallpolicyrulecollectiongroups.NewFirewallPolicyID("12345678-1234-9876-4563-123456789012", "example-resource-group", "firewallPolicyName") + +// alternatively `client.List(ctx, id)` can be used to do batched pagination +items, err := client.ListComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/firewallpolicyrulecollectiongroups/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicyrulecollectiongroups/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/firewallpolicyrulecollectiongroups/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicyrulecollectiongroups/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/firewallpolicyrulecollectiongroups/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicyrulecollectiongroups/constants.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/firewallpolicyrulecollectiongroups/constants.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicyrulecollectiongroups/constants.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/firewallpolicyrulecollectiongroups/id_firewallpolicy.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicyrulecollectiongroups/id_firewallpolicy.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/firewallpolicyrulecollectiongroups/id_firewallpolicy.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicyrulecollectiongroups/id_firewallpolicy.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/firewallpolicyrulecollectiongroups/id_rulecollectiongroup.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicyrulecollectiongroups/id_rulecollectiongroup.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/firewallpolicyrulecollectiongroups/id_rulecollectiongroup.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicyrulecollectiongroups/id_rulecollectiongroup.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/firewallpolicyrulecollectiongroups/method_createorupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicyrulecollectiongroups/method_createorupdate.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/firewallpolicyrulecollectiongroups/method_createorupdate.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicyrulecollectiongroups/method_createorupdate.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/firewallpolicyrulecollectiongroups/method_delete.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicyrulecollectiongroups/method_delete.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/firewallpolicyrulecollectiongroups/method_delete.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicyrulecollectiongroups/method_delete.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/firewallpolicyrulecollectiongroups/method_get.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicyrulecollectiongroups/method_get.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/firewallpolicyrulecollectiongroups/method_get.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicyrulecollectiongroups/method_get.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/firewallpolicyrulecollectiongroups/method_list.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicyrulecollectiongroups/method_list.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/firewallpolicyrulecollectiongroups/method_list.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicyrulecollectiongroups/method_list.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/firewallpolicyrulecollectiongroups/model_applicationrule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicyrulecollectiongroups/model_applicationrule.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/firewallpolicyrulecollectiongroups/model_applicationrule.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicyrulecollectiongroups/model_applicationrule.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/firewallpolicyrulecollectiongroups/model_firewallpolicyfilterrulecollection.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicyrulecollectiongroups/model_firewallpolicyfilterrulecollection.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/firewallpolicyrulecollectiongroups/model_firewallpolicyfilterrulecollection.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicyrulecollectiongroups/model_firewallpolicyfilterrulecollection.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/firewallpolicyrulecollectiongroups/model_firewallpolicyfilterrulecollectionaction.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicyrulecollectiongroups/model_firewallpolicyfilterrulecollectionaction.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/firewallpolicyrulecollectiongroups/model_firewallpolicyfilterrulecollectionaction.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicyrulecollectiongroups/model_firewallpolicyfilterrulecollectionaction.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/firewallpolicyrulecollectiongroups/model_firewallpolicyhttpheadertoinsert.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicyrulecollectiongroups/model_firewallpolicyhttpheadertoinsert.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/firewallpolicyrulecollectiongroups/model_firewallpolicyhttpheadertoinsert.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicyrulecollectiongroups/model_firewallpolicyhttpheadertoinsert.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/firewallpolicyrulecollectiongroups/model_firewallpolicynatrulecollection.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicyrulecollectiongroups/model_firewallpolicynatrulecollection.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/firewallpolicyrulecollectiongroups/model_firewallpolicynatrulecollection.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicyrulecollectiongroups/model_firewallpolicynatrulecollection.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/firewallpolicyrulecollectiongroups/model_firewallpolicynatrulecollectionaction.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicyrulecollectiongroups/model_firewallpolicynatrulecollectionaction.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/firewallpolicyrulecollectiongroups/model_firewallpolicynatrulecollectionaction.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicyrulecollectiongroups/model_firewallpolicynatrulecollectionaction.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/firewallpolicyrulecollectiongroups/model_firewallpolicyrule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicyrulecollectiongroups/model_firewallpolicyrule.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/firewallpolicyrulecollectiongroups/model_firewallpolicyrule.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicyrulecollectiongroups/model_firewallpolicyrule.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/firewallpolicyrulecollectiongroups/model_firewallpolicyruleapplicationprotocol.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicyrulecollectiongroups/model_firewallpolicyruleapplicationprotocol.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/firewallpolicyrulecollectiongroups/model_firewallpolicyruleapplicationprotocol.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicyrulecollectiongroups/model_firewallpolicyruleapplicationprotocol.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/firewallpolicyrulecollectiongroups/model_firewallpolicyrulecollection.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicyrulecollectiongroups/model_firewallpolicyrulecollection.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/firewallpolicyrulecollectiongroups/model_firewallpolicyrulecollection.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicyrulecollectiongroups/model_firewallpolicyrulecollection.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/firewallpolicyrulecollectiongroups/model_firewallpolicyrulecollectiongroup.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicyrulecollectiongroups/model_firewallpolicyrulecollectiongroup.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/firewallpolicyrulecollectiongroups/model_firewallpolicyrulecollectiongroup.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicyrulecollectiongroups/model_firewallpolicyrulecollectiongroup.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/firewallpolicyrulecollectiongroups/model_firewallpolicyrulecollectiongroupproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicyrulecollectiongroups/model_firewallpolicyrulecollectiongroupproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/firewallpolicyrulecollectiongroups/model_firewallpolicyrulecollectiongroupproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicyrulecollectiongroups/model_firewallpolicyrulecollectiongroupproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/firewallpolicyrulecollectiongroups/model_natrule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicyrulecollectiongroups/model_natrule.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/firewallpolicyrulecollectiongroups/model_natrule.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicyrulecollectiongroups/model_natrule.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/firewallpolicyrulecollectiongroups/model_networkrule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicyrulecollectiongroups/model_networkrule.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/firewallpolicyrulecollectiongroups/model_networkrule.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicyrulecollectiongroups/model_networkrule.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/firewallpolicyrulecollectiongroups/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicyrulecollectiongroups/predicates.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/firewallpolicyrulecollectiongroups/predicates.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicyrulecollectiongroups/predicates.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicyrulecollectiongroups/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicyrulecollectiongroups/version.go new file mode 100644 index 000000000000..0a738d9bd069 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicyrulecollectiongroups/version.go @@ -0,0 +1,10 @@ +package firewallpolicyrulecollectiongroups + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2024-03-01" + +func userAgent() string { + return "hashicorp/go-azure-sdk/firewallpolicyrulecollectiongroups/2024-03-01" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/flowlogs/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/flowlogs/README.md new file mode 100644 index 000000000000..27db5be2d0c4 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/flowlogs/README.md @@ -0,0 +1,103 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/flowlogs` Documentation + +The `flowlogs` SDK allows for interaction with Azure Resource Manager `network` (API Version `2024-03-01`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/flowlogs" +``` + + +### Client Initialization + +```go +client := flowlogs.NewFlowLogsClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `FlowLogsClient.CreateOrUpdate` + +```go +ctx := context.TODO() +id := flowlogs.NewFlowLogID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkWatcherName", "flowLogName") + +payload := flowlogs.FlowLog{ + // ... +} + + +if err := client.CreateOrUpdateThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `FlowLogsClient.Delete` + +```go +ctx := context.TODO() +id := flowlogs.NewFlowLogID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkWatcherName", "flowLogName") + +if err := client.DeleteThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `FlowLogsClient.Get` + +```go +ctx := context.TODO() +id := flowlogs.NewFlowLogID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkWatcherName", "flowLogName") + +read, err := client.Get(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `FlowLogsClient.List` + +```go +ctx := context.TODO() +id := flowlogs.NewNetworkWatcherID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkWatcherName") + +// alternatively `client.List(ctx, id)` can be used to do batched pagination +items, err := client.ListComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `FlowLogsClient.UpdateTags` + +```go +ctx := context.TODO() +id := flowlogs.NewFlowLogID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkWatcherName", "flowLogName") + +payload := flowlogs.TagsObject{ + // ... +} + + +read, err := client.UpdateTags(ctx, id, payload) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/flowlogs/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/flowlogs/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/flowlogs/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/flowlogs/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/flowlogs/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/flowlogs/constants.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/flowlogs/constants.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/flowlogs/constants.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/flowlogs/id_flowlog.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/flowlogs/id_flowlog.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/flowlogs/id_flowlog.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/flowlogs/id_flowlog.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/flowlogs/id_networkwatcher.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/flowlogs/id_networkwatcher.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/flowlogs/id_networkwatcher.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/flowlogs/id_networkwatcher.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/flowlogs/method_createorupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/flowlogs/method_createorupdate.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/flowlogs/method_createorupdate.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/flowlogs/method_createorupdate.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/flowlogs/method_delete.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/flowlogs/method_delete.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/flowlogs/method_delete.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/flowlogs/method_delete.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/flowlogs/method_get.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/flowlogs/method_get.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/flowlogs/method_get.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/flowlogs/method_get.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/flowlogs/method_list.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/flowlogs/method_list.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/flowlogs/method_list.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/flowlogs/method_list.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/flowlogs/method_updatetags.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/flowlogs/method_updatetags.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/flowlogs/method_updatetags.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/flowlogs/method_updatetags.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/flowlogs/model_flowlog.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/flowlogs/model_flowlog.go new file mode 100644 index 000000000000..b379e613ed9d --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/flowlogs/model_flowlog.go @@ -0,0 +1,19 @@ +package flowlogs + +import ( + "github.com/hashicorp/go-azure-helpers/resourcemanager/identity" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type FlowLog struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Identity *identity.SystemAndUserAssignedMap `json:"identity,omitempty"` + Location *string `json:"location,omitempty"` + Name *string `json:"name,omitempty"` + Properties *FlowLogPropertiesFormat `json:"properties,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/flowlogs/model_flowlogformatparameters.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/flowlogs/model_flowlogformatparameters.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/flowlogs/model_flowlogformatparameters.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/flowlogs/model_flowlogformatparameters.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/flowlogs/model_flowlogpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/flowlogs/model_flowlogpropertiesformat.go new file mode 100644 index 000000000000..7ef17d630e6d --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/flowlogs/model_flowlogpropertiesformat.go @@ -0,0 +1,16 @@ +package flowlogs + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type FlowLogPropertiesFormat struct { + Enabled *bool `json:"enabled,omitempty"` + EnabledFilteringCriteria *string `json:"enabledFilteringCriteria,omitempty"` + FlowAnalyticsConfiguration *TrafficAnalyticsProperties `json:"flowAnalyticsConfiguration,omitempty"` + Format *FlowLogFormatParameters `json:"format,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + RetentionPolicy *RetentionPolicyParameters `json:"retentionPolicy,omitempty"` + StorageId string `json:"storageId"` + TargetResourceGuid *string `json:"targetResourceGuid,omitempty"` + TargetResourceId string `json:"targetResourceId"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/flowlogs/model_retentionpolicyparameters.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/flowlogs/model_retentionpolicyparameters.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/flowlogs/model_retentionpolicyparameters.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/flowlogs/model_retentionpolicyparameters.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/flowlogs/model_tagsobject.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/flowlogs/model_tagsobject.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/flowlogs/model_tagsobject.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/flowlogs/model_tagsobject.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/flowlogs/model_trafficanalyticsconfigurationproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/flowlogs/model_trafficanalyticsconfigurationproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/flowlogs/model_trafficanalyticsconfigurationproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/flowlogs/model_trafficanalyticsconfigurationproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/flowlogs/model_trafficanalyticsproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/flowlogs/model_trafficanalyticsproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/flowlogs/model_trafficanalyticsproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/flowlogs/model_trafficanalyticsproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/flowlogs/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/flowlogs/predicates.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/flowlogs/predicates.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/flowlogs/predicates.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/flowlogs/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/flowlogs/version.go new file mode 100644 index 000000000000..a6794f8d3689 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/flowlogs/version.go @@ -0,0 +1,10 @@ +package flowlogs + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2024-03-01" + +func userAgent() string { + return "hashicorp/go-azure-sdk/flowlogs/2024-03-01" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ipallocations/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ipallocations/README.md new file mode 100644 index 000000000000..c38446a5d18c --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ipallocations/README.md @@ -0,0 +1,121 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ipallocations` Documentation + +The `ipallocations` SDK allows for interaction with Azure Resource Manager `network` (API Version `2024-03-01`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" +import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ipallocations" +``` + + +### Client Initialization + +```go +client := ipallocations.NewIPAllocationsClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `IPAllocationsClient.CreateOrUpdate` + +```go +ctx := context.TODO() +id := ipallocations.NewIPAllocationID("12345678-1234-9876-4563-123456789012", "example-resource-group", "ipAllocationName") + +payload := ipallocations.IPAllocation{ + // ... +} + + +if err := client.CreateOrUpdateThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `IPAllocationsClient.Delete` + +```go +ctx := context.TODO() +id := ipallocations.NewIPAllocationID("12345678-1234-9876-4563-123456789012", "example-resource-group", "ipAllocationName") + +if err := client.DeleteThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `IPAllocationsClient.Get` + +```go +ctx := context.TODO() +id := ipallocations.NewIPAllocationID("12345678-1234-9876-4563-123456789012", "example-resource-group", "ipAllocationName") + +read, err := client.Get(ctx, id, ipallocations.DefaultGetOperationOptions()) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `IPAllocationsClient.List` + +```go +ctx := context.TODO() +id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012") + +// alternatively `client.List(ctx, id)` can be used to do batched pagination +items, err := client.ListComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `IPAllocationsClient.ListByResourceGroup` + +```go +ctx := context.TODO() +id := commonids.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group") + +// alternatively `client.ListByResourceGroup(ctx, id)` can be used to do batched pagination +items, err := client.ListByResourceGroupComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `IPAllocationsClient.UpdateTags` + +```go +ctx := context.TODO() +id := ipallocations.NewIPAllocationID("12345678-1234-9876-4563-123456789012", "example-resource-group", "ipAllocationName") + +payload := ipallocations.TagsObject{ + // ... +} + + +read, err := client.UpdateTags(ctx, id, payload) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ipallocations/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ipallocations/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ipallocations/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ipallocations/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ipallocations/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ipallocations/constants.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ipallocations/constants.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ipallocations/constants.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ipallocations/id_ipallocation.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ipallocations/id_ipallocation.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ipallocations/id_ipallocation.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ipallocations/id_ipallocation.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ipallocations/method_createorupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ipallocations/method_createorupdate.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ipallocations/method_createorupdate.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ipallocations/method_createorupdate.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ipallocations/method_delete.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ipallocations/method_delete.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ipallocations/method_delete.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ipallocations/method_delete.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ipallocations/method_get.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ipallocations/method_get.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ipallocations/method_get.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ipallocations/method_get.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ipallocations/method_list.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ipallocations/method_list.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ipallocations/method_list.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ipallocations/method_list.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ipallocations/method_listbyresourcegroup.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ipallocations/method_listbyresourcegroup.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ipallocations/method_listbyresourcegroup.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ipallocations/method_listbyresourcegroup.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ipallocations/method_updatetags.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ipallocations/method_updatetags.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ipallocations/method_updatetags.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ipallocations/method_updatetags.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ipallocations/model_ipallocation.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ipallocations/model_ipallocation.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ipallocations/model_ipallocation.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ipallocations/model_ipallocation.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ipallocations/model_ipallocationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ipallocations/model_ipallocationpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ipallocations/model_ipallocationpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ipallocations/model_ipallocationpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ipallocations/model_subresource.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ipallocations/model_subresource.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ipallocations/model_subresource.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ipallocations/model_subresource.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ipallocations/model_tagsobject.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ipallocations/model_tagsobject.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ipallocations/model_tagsobject.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ipallocations/model_tagsobject.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ipallocations/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ipallocations/predicates.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ipallocations/predicates.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ipallocations/predicates.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ipallocations/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ipallocations/version.go new file mode 100644 index 000000000000..755338a4bc52 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ipallocations/version.go @@ -0,0 +1,10 @@ +package ipallocations + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2024-03-01" + +func userAgent() string { + return "hashicorp/go-azure-sdk/ipallocations/2024-03-01" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ipgroups/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ipgroups/README.md new file mode 100644 index 000000000000..4cebe929e9a8 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ipgroups/README.md @@ -0,0 +1,121 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ipgroups` Documentation + +The `ipgroups` SDK allows for interaction with Azure Resource Manager `network` (API Version `2024-03-01`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" +import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ipgroups" +``` + + +### Client Initialization + +```go +client := ipgroups.NewIPGroupsClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `IPGroupsClient.CreateOrUpdate` + +```go +ctx := context.TODO() +id := ipgroups.NewIPGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group", "ipGroupName") + +payload := ipgroups.IPGroup{ + // ... +} + + +if err := client.CreateOrUpdateThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `IPGroupsClient.Delete` + +```go +ctx := context.TODO() +id := ipgroups.NewIPGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group", "ipGroupName") + +if err := client.DeleteThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `IPGroupsClient.Get` + +```go +ctx := context.TODO() +id := ipgroups.NewIPGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group", "ipGroupName") + +read, err := client.Get(ctx, id, ipgroups.DefaultGetOperationOptions()) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `IPGroupsClient.List` + +```go +ctx := context.TODO() +id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012") + +// alternatively `client.List(ctx, id)` can be used to do batched pagination +items, err := client.ListComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `IPGroupsClient.ListByResourceGroup` + +```go +ctx := context.TODO() +id := commonids.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group") + +// alternatively `client.ListByResourceGroup(ctx, id)` can be used to do batched pagination +items, err := client.ListByResourceGroupComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `IPGroupsClient.UpdateGroups` + +```go +ctx := context.TODO() +id := ipgroups.NewIPGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group", "ipGroupName") + +payload := ipgroups.TagsObject{ + // ... +} + + +read, err := client.UpdateGroups(ctx, id, payload) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ipgroups/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ipgroups/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ipgroups/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ipgroups/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ipgroups/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ipgroups/constants.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ipgroups/constants.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ipgroups/constants.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ipgroups/id_ipgroup.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ipgroups/id_ipgroup.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ipgroups/id_ipgroup.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ipgroups/id_ipgroup.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ipgroups/method_createorupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ipgroups/method_createorupdate.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ipgroups/method_createorupdate.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ipgroups/method_createorupdate.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ipgroups/method_delete.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ipgroups/method_delete.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ipgroups/method_delete.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ipgroups/method_delete.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ipgroups/method_get.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ipgroups/method_get.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ipgroups/method_get.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ipgroups/method_get.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ipgroups/method_list.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ipgroups/method_list.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ipgroups/method_list.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ipgroups/method_list.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ipgroups/method_listbyresourcegroup.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ipgroups/method_listbyresourcegroup.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ipgroups/method_listbyresourcegroup.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ipgroups/method_listbyresourcegroup.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ipgroups/method_updategroups.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ipgroups/method_updategroups.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ipgroups/method_updategroups.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ipgroups/method_updategroups.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ipgroups/model_ipgroup.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ipgroups/model_ipgroup.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ipgroups/model_ipgroup.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ipgroups/model_ipgroup.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ipgroups/model_ipgrouppropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ipgroups/model_ipgrouppropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ipgroups/model_ipgrouppropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ipgroups/model_ipgrouppropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ipgroups/model_subresource.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ipgroups/model_subresource.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ipgroups/model_subresource.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ipgroups/model_subresource.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ipgroups/model_tagsobject.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ipgroups/model_tagsobject.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ipgroups/model_tagsobject.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ipgroups/model_tagsobject.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ipgroups/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ipgroups/predicates.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ipgroups/predicates.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ipgroups/predicates.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ipgroups/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ipgroups/version.go new file mode 100644 index 000000000000..b3059674ddc5 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ipgroups/version.go @@ -0,0 +1,10 @@ +package ipgroups + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2024-03-01" + +func userAgent() string { + return "hashicorp/go-azure-sdk/ipgroups/2024-03-01" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/README.md new file mode 100644 index 000000000000..0fb85c891a53 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/README.md @@ -0,0 +1,449 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers` Documentation + +The `loadbalancers` SDK allows for interaction with Azure Resource Manager `network` (API Version `2024-03-01`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" +import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers" +``` + + +### Client Initialization + +```go +client := loadbalancers.NewLoadBalancersClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `LoadBalancersClient.CreateOrUpdate` + +```go +ctx := context.TODO() +id := loadbalancers.NewProviderLoadBalancerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "loadBalancerName") + +payload := loadbalancers.LoadBalancer{ + // ... +} + + +if err := client.CreateOrUpdateThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `LoadBalancersClient.Delete` + +```go +ctx := context.TODO() +id := loadbalancers.NewProviderLoadBalancerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "loadBalancerName") + +if err := client.DeleteThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `LoadBalancersClient.Get` + +```go +ctx := context.TODO() +id := loadbalancers.NewProviderLoadBalancerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "loadBalancerName") + +read, err := client.Get(ctx, id, loadbalancers.DefaultGetOperationOptions()) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `LoadBalancersClient.InboundNatRulesCreateOrUpdate` + +```go +ctx := context.TODO() +id := loadbalancers.NewInboundNatRuleID("12345678-1234-9876-4563-123456789012", "example-resource-group", "loadBalancerName", "inboundNatRuleName") + +payload := loadbalancers.InboundNatRule{ + // ... +} + + +if err := client.InboundNatRulesCreateOrUpdateThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `LoadBalancersClient.InboundNatRulesDelete` + +```go +ctx := context.TODO() +id := loadbalancers.NewInboundNatRuleID("12345678-1234-9876-4563-123456789012", "example-resource-group", "loadBalancerName", "inboundNatRuleName") + +if err := client.InboundNatRulesDeleteThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `LoadBalancersClient.InboundNatRulesGet` + +```go +ctx := context.TODO() +id := loadbalancers.NewInboundNatRuleID("12345678-1234-9876-4563-123456789012", "example-resource-group", "loadBalancerName", "inboundNatRuleName") + +read, err := client.InboundNatRulesGet(ctx, id, loadbalancers.DefaultInboundNatRulesGetOperationOptions()) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `LoadBalancersClient.InboundNatRulesList` + +```go +ctx := context.TODO() +id := loadbalancers.NewProviderLoadBalancerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "loadBalancerName") + +// alternatively `client.InboundNatRulesList(ctx, id)` can be used to do batched pagination +items, err := client.InboundNatRulesListComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `LoadBalancersClient.List` + +```go +ctx := context.TODO() +id := commonids.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group") + +// alternatively `client.List(ctx, id)` can be used to do batched pagination +items, err := client.ListComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `LoadBalancersClient.ListAll` + +```go +ctx := context.TODO() +id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012") + +// alternatively `client.ListAll(ctx, id)` can be used to do batched pagination +items, err := client.ListAllComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `LoadBalancersClient.ListInboundNatRulePortMappings` + +```go +ctx := context.TODO() +id := loadbalancers.NewBackendAddressPoolID("12345678-1234-9876-4563-123456789012", "resourceGroupName", "loadBalancerName", "backendAddressPoolName") + +payload := loadbalancers.QueryInboundNatRulePortMappingRequest{ + // ... +} + + +if err := client.ListInboundNatRulePortMappingsThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `LoadBalancersClient.LoadBalancerBackendAddressPoolsCreateOrUpdate` + +```go +ctx := context.TODO() +id := loadbalancers.NewLoadBalancerBackendAddressPoolID("12345678-1234-9876-4563-123456789012", "example-resource-group", "loadBalancerName", "backendAddressPoolName") + +payload := loadbalancers.BackendAddressPool{ + // ... +} + + +if err := client.LoadBalancerBackendAddressPoolsCreateOrUpdateThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `LoadBalancersClient.LoadBalancerBackendAddressPoolsDelete` + +```go +ctx := context.TODO() +id := loadbalancers.NewLoadBalancerBackendAddressPoolID("12345678-1234-9876-4563-123456789012", "example-resource-group", "loadBalancerName", "backendAddressPoolName") + +if err := client.LoadBalancerBackendAddressPoolsDeleteThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `LoadBalancersClient.LoadBalancerBackendAddressPoolsGet` + +```go +ctx := context.TODO() +id := loadbalancers.NewLoadBalancerBackendAddressPoolID("12345678-1234-9876-4563-123456789012", "example-resource-group", "loadBalancerName", "backendAddressPoolName") + +read, err := client.LoadBalancerBackendAddressPoolsGet(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `LoadBalancersClient.LoadBalancerBackendAddressPoolsList` + +```go +ctx := context.TODO() +id := loadbalancers.NewProviderLoadBalancerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "loadBalancerName") + +// alternatively `client.LoadBalancerBackendAddressPoolsList(ctx, id)` can be used to do batched pagination +items, err := client.LoadBalancerBackendAddressPoolsListComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `LoadBalancersClient.LoadBalancerFrontendIPConfigurationsGet` + +```go +ctx := context.TODO() +id := loadbalancers.NewFrontendIPConfigurationID("12345678-1234-9876-4563-123456789012", "example-resource-group", "loadBalancerName", "frontendIPConfigurationName") + +read, err := client.LoadBalancerFrontendIPConfigurationsGet(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `LoadBalancersClient.LoadBalancerFrontendIPConfigurationsList` + +```go +ctx := context.TODO() +id := loadbalancers.NewProviderLoadBalancerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "loadBalancerName") + +// alternatively `client.LoadBalancerFrontendIPConfigurationsList(ctx, id)` can be used to do batched pagination +items, err := client.LoadBalancerFrontendIPConfigurationsListComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `LoadBalancersClient.LoadBalancerLoadBalancingRulesGet` + +```go +ctx := context.TODO() +id := loadbalancers.NewLoadBalancingRuleID("12345678-1234-9876-4563-123456789012", "example-resource-group", "loadBalancerName", "loadBalancingRuleName") + +read, err := client.LoadBalancerLoadBalancingRulesGet(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `LoadBalancersClient.LoadBalancerLoadBalancingRulesList` + +```go +ctx := context.TODO() +id := loadbalancers.NewProviderLoadBalancerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "loadBalancerName") + +// alternatively `client.LoadBalancerLoadBalancingRulesList(ctx, id)` can be used to do batched pagination +items, err := client.LoadBalancerLoadBalancingRulesListComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `LoadBalancersClient.LoadBalancerNetworkInterfacesList` + +```go +ctx := context.TODO() +id := loadbalancers.NewProviderLoadBalancerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "loadBalancerName") + +// alternatively `client.LoadBalancerNetworkInterfacesList(ctx, id)` can be used to do batched pagination +items, err := client.LoadBalancerNetworkInterfacesListComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `LoadBalancersClient.LoadBalancerOutboundRulesGet` + +```go +ctx := context.TODO() +id := loadbalancers.NewOutboundRuleID("12345678-1234-9876-4563-123456789012", "example-resource-group", "loadBalancerName", "outboundRuleName") + +read, err := client.LoadBalancerOutboundRulesGet(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `LoadBalancersClient.LoadBalancerOutboundRulesList` + +```go +ctx := context.TODO() +id := loadbalancers.NewProviderLoadBalancerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "loadBalancerName") + +// alternatively `client.LoadBalancerOutboundRulesList(ctx, id)` can be used to do batched pagination +items, err := client.LoadBalancerOutboundRulesListComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `LoadBalancersClient.LoadBalancerProbesGet` + +```go +ctx := context.TODO() +id := loadbalancers.NewProbeID("12345678-1234-9876-4563-123456789012", "example-resource-group", "loadBalancerName", "probeName") + +read, err := client.LoadBalancerProbesGet(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `LoadBalancersClient.LoadBalancerProbesList` + +```go +ctx := context.TODO() +id := loadbalancers.NewProviderLoadBalancerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "loadBalancerName") + +// alternatively `client.LoadBalancerProbesList(ctx, id)` can be used to do batched pagination +items, err := client.LoadBalancerProbesListComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `LoadBalancersClient.MigrateToIPBased` + +```go +ctx := context.TODO() +id := loadbalancers.NewLoadBalancerID("12345678-1234-9876-4563-123456789012", "resourceGroupName", "loadBalancerName") + +payload := loadbalancers.MigrateLoadBalancerToIPBasedRequest{ + // ... +} + + +read, err := client.MigrateToIPBased(ctx, id, payload) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `LoadBalancersClient.SwapPublicIPAddresses` + +```go +ctx := context.TODO() +id := loadbalancers.NewLocationID("12345678-1234-9876-4563-123456789012", "locationName") + +payload := loadbalancers.LoadBalancerVipSwapRequest{ + // ... +} + + +if err := client.SwapPublicIPAddressesThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `LoadBalancersClient.UpdateTags` + +```go +ctx := context.TODO() +id := loadbalancers.NewProviderLoadBalancerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "loadBalancerName") + +payload := loadbalancers.TagsObject{ + // ... +} + + +read, err := client.UpdateTags(ctx, id, payload) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/constants.go new file mode 100644 index 000000000000..de5c92d87bbd --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/constants.go @@ -0,0 +1,1456 @@ +package loadbalancers + +import ( + "encoding/json" + "fmt" + "strings" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type DdosSettingsProtectionMode string + +const ( + DdosSettingsProtectionModeDisabled DdosSettingsProtectionMode = "Disabled" + DdosSettingsProtectionModeEnabled DdosSettingsProtectionMode = "Enabled" + DdosSettingsProtectionModeVirtualNetworkInherited DdosSettingsProtectionMode = "VirtualNetworkInherited" +) + +func PossibleValuesForDdosSettingsProtectionMode() []string { + return []string{ + string(DdosSettingsProtectionModeDisabled), + string(DdosSettingsProtectionModeEnabled), + string(DdosSettingsProtectionModeVirtualNetworkInherited), + } +} + +func (s *DdosSettingsProtectionMode) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseDdosSettingsProtectionMode(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseDdosSettingsProtectionMode(input string) (*DdosSettingsProtectionMode, error) { + vals := map[string]DdosSettingsProtectionMode{ + "disabled": DdosSettingsProtectionModeDisabled, + "enabled": DdosSettingsProtectionModeEnabled, + "virtualnetworkinherited": DdosSettingsProtectionModeVirtualNetworkInherited, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := DdosSettingsProtectionMode(input) + return &out, nil +} + +type DeleteOptions string + +const ( + DeleteOptionsDelete DeleteOptions = "Delete" + DeleteOptionsDetach DeleteOptions = "Detach" +) + +func PossibleValuesForDeleteOptions() []string { + return []string{ + string(DeleteOptionsDelete), + string(DeleteOptionsDetach), + } +} + +func (s *DeleteOptions) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseDeleteOptions(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseDeleteOptions(input string) (*DeleteOptions, error) { + vals := map[string]DeleteOptions{ + "delete": DeleteOptionsDelete, + "detach": DeleteOptionsDetach, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := DeleteOptions(input) + return &out, nil +} + +type FlowLogFormatType string + +const ( + FlowLogFormatTypeJSON FlowLogFormatType = "JSON" +) + +func PossibleValuesForFlowLogFormatType() []string { + return []string{ + string(FlowLogFormatTypeJSON), + } +} + +func (s *FlowLogFormatType) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseFlowLogFormatType(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseFlowLogFormatType(input string) (*FlowLogFormatType, error) { + vals := map[string]FlowLogFormatType{ + "json": FlowLogFormatTypeJSON, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := FlowLogFormatType(input) + return &out, nil +} + +type GatewayLoadBalancerTunnelInterfaceType string + +const ( + GatewayLoadBalancerTunnelInterfaceTypeExternal GatewayLoadBalancerTunnelInterfaceType = "External" + GatewayLoadBalancerTunnelInterfaceTypeInternal GatewayLoadBalancerTunnelInterfaceType = "Internal" + GatewayLoadBalancerTunnelInterfaceTypeNone GatewayLoadBalancerTunnelInterfaceType = "None" +) + +func PossibleValuesForGatewayLoadBalancerTunnelInterfaceType() []string { + return []string{ + string(GatewayLoadBalancerTunnelInterfaceTypeExternal), + string(GatewayLoadBalancerTunnelInterfaceTypeInternal), + string(GatewayLoadBalancerTunnelInterfaceTypeNone), + } +} + +func (s *GatewayLoadBalancerTunnelInterfaceType) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseGatewayLoadBalancerTunnelInterfaceType(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseGatewayLoadBalancerTunnelInterfaceType(input string) (*GatewayLoadBalancerTunnelInterfaceType, error) { + vals := map[string]GatewayLoadBalancerTunnelInterfaceType{ + "external": GatewayLoadBalancerTunnelInterfaceTypeExternal, + "internal": GatewayLoadBalancerTunnelInterfaceTypeInternal, + "none": GatewayLoadBalancerTunnelInterfaceTypeNone, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := GatewayLoadBalancerTunnelInterfaceType(input) + return &out, nil +} + +type GatewayLoadBalancerTunnelProtocol string + +const ( + GatewayLoadBalancerTunnelProtocolNative GatewayLoadBalancerTunnelProtocol = "Native" + GatewayLoadBalancerTunnelProtocolNone GatewayLoadBalancerTunnelProtocol = "None" + GatewayLoadBalancerTunnelProtocolVXLAN GatewayLoadBalancerTunnelProtocol = "VXLAN" +) + +func PossibleValuesForGatewayLoadBalancerTunnelProtocol() []string { + return []string{ + string(GatewayLoadBalancerTunnelProtocolNative), + string(GatewayLoadBalancerTunnelProtocolNone), + string(GatewayLoadBalancerTunnelProtocolVXLAN), + } +} + +func (s *GatewayLoadBalancerTunnelProtocol) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseGatewayLoadBalancerTunnelProtocol(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseGatewayLoadBalancerTunnelProtocol(input string) (*GatewayLoadBalancerTunnelProtocol, error) { + vals := map[string]GatewayLoadBalancerTunnelProtocol{ + "native": GatewayLoadBalancerTunnelProtocolNative, + "none": GatewayLoadBalancerTunnelProtocolNone, + "vxlan": GatewayLoadBalancerTunnelProtocolVXLAN, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := GatewayLoadBalancerTunnelProtocol(input) + return &out, nil +} + +type IPAllocationMethod string + +const ( + IPAllocationMethodDynamic IPAllocationMethod = "Dynamic" + IPAllocationMethodStatic IPAllocationMethod = "Static" +) + +func PossibleValuesForIPAllocationMethod() []string { + return []string{ + string(IPAllocationMethodDynamic), + string(IPAllocationMethodStatic), + } +} + +func (s *IPAllocationMethod) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseIPAllocationMethod(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseIPAllocationMethod(input string) (*IPAllocationMethod, error) { + vals := map[string]IPAllocationMethod{ + "dynamic": IPAllocationMethodDynamic, + "static": IPAllocationMethodStatic, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := IPAllocationMethod(input) + return &out, nil +} + +type IPVersion string + +const ( + IPVersionIPvFour IPVersion = "IPv4" + IPVersionIPvSix IPVersion = "IPv6" +) + +func PossibleValuesForIPVersion() []string { + return []string{ + string(IPVersionIPvFour), + string(IPVersionIPvSix), + } +} + +func (s *IPVersion) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseIPVersion(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseIPVersion(input string) (*IPVersion, error) { + vals := map[string]IPVersion{ + "ipv4": IPVersionIPvFour, + "ipv6": IPVersionIPvSix, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := IPVersion(input) + return &out, nil +} + +type LoadBalancerBackendAddressAdminState string + +const ( + LoadBalancerBackendAddressAdminStateDown LoadBalancerBackendAddressAdminState = "Down" + LoadBalancerBackendAddressAdminStateNone LoadBalancerBackendAddressAdminState = "None" + LoadBalancerBackendAddressAdminStateUp LoadBalancerBackendAddressAdminState = "Up" +) + +func PossibleValuesForLoadBalancerBackendAddressAdminState() []string { + return []string{ + string(LoadBalancerBackendAddressAdminStateDown), + string(LoadBalancerBackendAddressAdminStateNone), + string(LoadBalancerBackendAddressAdminStateUp), + } +} + +func (s *LoadBalancerBackendAddressAdminState) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseLoadBalancerBackendAddressAdminState(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseLoadBalancerBackendAddressAdminState(input string) (*LoadBalancerBackendAddressAdminState, error) { + vals := map[string]LoadBalancerBackendAddressAdminState{ + "down": LoadBalancerBackendAddressAdminStateDown, + "none": LoadBalancerBackendAddressAdminStateNone, + "up": LoadBalancerBackendAddressAdminStateUp, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := LoadBalancerBackendAddressAdminState(input) + return &out, nil +} + +type LoadBalancerOutboundRuleProtocol string + +const ( + LoadBalancerOutboundRuleProtocolAll LoadBalancerOutboundRuleProtocol = "All" + LoadBalancerOutboundRuleProtocolTcp LoadBalancerOutboundRuleProtocol = "Tcp" + LoadBalancerOutboundRuleProtocolUdp LoadBalancerOutboundRuleProtocol = "Udp" +) + +func PossibleValuesForLoadBalancerOutboundRuleProtocol() []string { + return []string{ + string(LoadBalancerOutboundRuleProtocolAll), + string(LoadBalancerOutboundRuleProtocolTcp), + string(LoadBalancerOutboundRuleProtocolUdp), + } +} + +func (s *LoadBalancerOutboundRuleProtocol) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseLoadBalancerOutboundRuleProtocol(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseLoadBalancerOutboundRuleProtocol(input string) (*LoadBalancerOutboundRuleProtocol, error) { + vals := map[string]LoadBalancerOutboundRuleProtocol{ + "all": LoadBalancerOutboundRuleProtocolAll, + "tcp": LoadBalancerOutboundRuleProtocolTcp, + "udp": LoadBalancerOutboundRuleProtocolUdp, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := LoadBalancerOutboundRuleProtocol(input) + return &out, nil +} + +type LoadBalancerSkuName string + +const ( + LoadBalancerSkuNameBasic LoadBalancerSkuName = "Basic" + LoadBalancerSkuNameGateway LoadBalancerSkuName = "Gateway" + LoadBalancerSkuNameStandard LoadBalancerSkuName = "Standard" +) + +func PossibleValuesForLoadBalancerSkuName() []string { + return []string{ + string(LoadBalancerSkuNameBasic), + string(LoadBalancerSkuNameGateway), + string(LoadBalancerSkuNameStandard), + } +} + +func (s *LoadBalancerSkuName) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseLoadBalancerSkuName(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseLoadBalancerSkuName(input string) (*LoadBalancerSkuName, error) { + vals := map[string]LoadBalancerSkuName{ + "basic": LoadBalancerSkuNameBasic, + "gateway": LoadBalancerSkuNameGateway, + "standard": LoadBalancerSkuNameStandard, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := LoadBalancerSkuName(input) + return &out, nil +} + +type LoadBalancerSkuTier string + +const ( + LoadBalancerSkuTierGlobal LoadBalancerSkuTier = "Global" + LoadBalancerSkuTierRegional LoadBalancerSkuTier = "Regional" +) + +func PossibleValuesForLoadBalancerSkuTier() []string { + return []string{ + string(LoadBalancerSkuTierGlobal), + string(LoadBalancerSkuTierRegional), + } +} + +func (s *LoadBalancerSkuTier) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseLoadBalancerSkuTier(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseLoadBalancerSkuTier(input string) (*LoadBalancerSkuTier, error) { + vals := map[string]LoadBalancerSkuTier{ + "global": LoadBalancerSkuTierGlobal, + "regional": LoadBalancerSkuTierRegional, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := LoadBalancerSkuTier(input) + return &out, nil +} + +type LoadDistribution string + +const ( + LoadDistributionDefault LoadDistribution = "Default" + LoadDistributionSourceIP LoadDistribution = "SourceIP" + LoadDistributionSourceIPProtocol LoadDistribution = "SourceIPProtocol" +) + +func PossibleValuesForLoadDistribution() []string { + return []string{ + string(LoadDistributionDefault), + string(LoadDistributionSourceIP), + string(LoadDistributionSourceIPProtocol), + } +} + +func (s *LoadDistribution) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseLoadDistribution(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseLoadDistribution(input string) (*LoadDistribution, error) { + vals := map[string]LoadDistribution{ + "default": LoadDistributionDefault, + "sourceip": LoadDistributionSourceIP, + "sourceipprotocol": LoadDistributionSourceIPProtocol, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := LoadDistribution(input) + return &out, nil +} + +type NatGatewaySkuName string + +const ( + NatGatewaySkuNameStandard NatGatewaySkuName = "Standard" +) + +func PossibleValuesForNatGatewaySkuName() []string { + return []string{ + string(NatGatewaySkuNameStandard), + } +} + +func (s *NatGatewaySkuName) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseNatGatewaySkuName(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseNatGatewaySkuName(input string) (*NatGatewaySkuName, error) { + vals := map[string]NatGatewaySkuName{ + "standard": NatGatewaySkuNameStandard, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := NatGatewaySkuName(input) + return &out, nil +} + +type NetworkInterfaceAuxiliaryMode string + +const ( + NetworkInterfaceAuxiliaryModeAcceleratedConnections NetworkInterfaceAuxiliaryMode = "AcceleratedConnections" + NetworkInterfaceAuxiliaryModeFloating NetworkInterfaceAuxiliaryMode = "Floating" + NetworkInterfaceAuxiliaryModeMaxConnections NetworkInterfaceAuxiliaryMode = "MaxConnections" + NetworkInterfaceAuxiliaryModeNone NetworkInterfaceAuxiliaryMode = "None" +) + +func PossibleValuesForNetworkInterfaceAuxiliaryMode() []string { + return []string{ + string(NetworkInterfaceAuxiliaryModeAcceleratedConnections), + string(NetworkInterfaceAuxiliaryModeFloating), + string(NetworkInterfaceAuxiliaryModeMaxConnections), + string(NetworkInterfaceAuxiliaryModeNone), + } +} + +func (s *NetworkInterfaceAuxiliaryMode) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseNetworkInterfaceAuxiliaryMode(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseNetworkInterfaceAuxiliaryMode(input string) (*NetworkInterfaceAuxiliaryMode, error) { + vals := map[string]NetworkInterfaceAuxiliaryMode{ + "acceleratedconnections": NetworkInterfaceAuxiliaryModeAcceleratedConnections, + "floating": NetworkInterfaceAuxiliaryModeFloating, + "maxconnections": NetworkInterfaceAuxiliaryModeMaxConnections, + "none": NetworkInterfaceAuxiliaryModeNone, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := NetworkInterfaceAuxiliaryMode(input) + return &out, nil +} + +type NetworkInterfaceAuxiliarySku string + +const ( + NetworkInterfaceAuxiliarySkuAEight NetworkInterfaceAuxiliarySku = "A8" + NetworkInterfaceAuxiliarySkuAFour NetworkInterfaceAuxiliarySku = "A4" + NetworkInterfaceAuxiliarySkuAOne NetworkInterfaceAuxiliarySku = "A1" + NetworkInterfaceAuxiliarySkuATwo NetworkInterfaceAuxiliarySku = "A2" + NetworkInterfaceAuxiliarySkuNone NetworkInterfaceAuxiliarySku = "None" +) + +func PossibleValuesForNetworkInterfaceAuxiliarySku() []string { + return []string{ + string(NetworkInterfaceAuxiliarySkuAEight), + string(NetworkInterfaceAuxiliarySkuAFour), + string(NetworkInterfaceAuxiliarySkuAOne), + string(NetworkInterfaceAuxiliarySkuATwo), + string(NetworkInterfaceAuxiliarySkuNone), + } +} + +func (s *NetworkInterfaceAuxiliarySku) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseNetworkInterfaceAuxiliarySku(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseNetworkInterfaceAuxiliarySku(input string) (*NetworkInterfaceAuxiliarySku, error) { + vals := map[string]NetworkInterfaceAuxiliarySku{ + "a8": NetworkInterfaceAuxiliarySkuAEight, + "a4": NetworkInterfaceAuxiliarySkuAFour, + "a1": NetworkInterfaceAuxiliarySkuAOne, + "a2": NetworkInterfaceAuxiliarySkuATwo, + "none": NetworkInterfaceAuxiliarySkuNone, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := NetworkInterfaceAuxiliarySku(input) + return &out, nil +} + +type NetworkInterfaceMigrationPhase string + +const ( + NetworkInterfaceMigrationPhaseAbort NetworkInterfaceMigrationPhase = "Abort" + NetworkInterfaceMigrationPhaseCommit NetworkInterfaceMigrationPhase = "Commit" + NetworkInterfaceMigrationPhaseCommitted NetworkInterfaceMigrationPhase = "Committed" + NetworkInterfaceMigrationPhaseNone NetworkInterfaceMigrationPhase = "None" + NetworkInterfaceMigrationPhasePrepare NetworkInterfaceMigrationPhase = "Prepare" +) + +func PossibleValuesForNetworkInterfaceMigrationPhase() []string { + return []string{ + string(NetworkInterfaceMigrationPhaseAbort), + string(NetworkInterfaceMigrationPhaseCommit), + string(NetworkInterfaceMigrationPhaseCommitted), + string(NetworkInterfaceMigrationPhaseNone), + string(NetworkInterfaceMigrationPhasePrepare), + } +} + +func (s *NetworkInterfaceMigrationPhase) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseNetworkInterfaceMigrationPhase(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseNetworkInterfaceMigrationPhase(input string) (*NetworkInterfaceMigrationPhase, error) { + vals := map[string]NetworkInterfaceMigrationPhase{ + "abort": NetworkInterfaceMigrationPhaseAbort, + "commit": NetworkInterfaceMigrationPhaseCommit, + "committed": NetworkInterfaceMigrationPhaseCommitted, + "none": NetworkInterfaceMigrationPhaseNone, + "prepare": NetworkInterfaceMigrationPhasePrepare, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := NetworkInterfaceMigrationPhase(input) + return &out, nil +} + +type NetworkInterfaceNicType string + +const ( + NetworkInterfaceNicTypeElastic NetworkInterfaceNicType = "Elastic" + NetworkInterfaceNicTypeStandard NetworkInterfaceNicType = "Standard" +) + +func PossibleValuesForNetworkInterfaceNicType() []string { + return []string{ + string(NetworkInterfaceNicTypeElastic), + string(NetworkInterfaceNicTypeStandard), + } +} + +func (s *NetworkInterfaceNicType) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseNetworkInterfaceNicType(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseNetworkInterfaceNicType(input string) (*NetworkInterfaceNicType, error) { + vals := map[string]NetworkInterfaceNicType{ + "elastic": NetworkInterfaceNicTypeElastic, + "standard": NetworkInterfaceNicTypeStandard, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := NetworkInterfaceNicType(input) + return &out, nil +} + +type ProbeNoHealthyBackendsBehavior string + +const ( + ProbeNoHealthyBackendsBehaviorAllProbedDown ProbeNoHealthyBackendsBehavior = "AllProbedDown" + ProbeNoHealthyBackendsBehaviorAllProbedUp ProbeNoHealthyBackendsBehavior = "AllProbedUp" +) + +func PossibleValuesForProbeNoHealthyBackendsBehavior() []string { + return []string{ + string(ProbeNoHealthyBackendsBehaviorAllProbedDown), + string(ProbeNoHealthyBackendsBehaviorAllProbedUp), + } +} + +func (s *ProbeNoHealthyBackendsBehavior) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseProbeNoHealthyBackendsBehavior(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseProbeNoHealthyBackendsBehavior(input string) (*ProbeNoHealthyBackendsBehavior, error) { + vals := map[string]ProbeNoHealthyBackendsBehavior{ + "allprobeddown": ProbeNoHealthyBackendsBehaviorAllProbedDown, + "allprobedup": ProbeNoHealthyBackendsBehaviorAllProbedUp, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ProbeNoHealthyBackendsBehavior(input) + return &out, nil +} + +type ProbeProtocol string + +const ( + ProbeProtocolHTTP ProbeProtocol = "Http" + ProbeProtocolHTTPS ProbeProtocol = "Https" + ProbeProtocolTcp ProbeProtocol = "Tcp" +) + +func PossibleValuesForProbeProtocol() []string { + return []string{ + string(ProbeProtocolHTTP), + string(ProbeProtocolHTTPS), + string(ProbeProtocolTcp), + } +} + +func (s *ProbeProtocol) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseProbeProtocol(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseProbeProtocol(input string) (*ProbeProtocol, error) { + vals := map[string]ProbeProtocol{ + "http": ProbeProtocolHTTP, + "https": ProbeProtocolHTTPS, + "tcp": ProbeProtocolTcp, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ProbeProtocol(input) + return &out, nil +} + +type ProvisioningState string + +const ( + ProvisioningStateDeleting ProvisioningState = "Deleting" + ProvisioningStateFailed ProvisioningState = "Failed" + ProvisioningStateSucceeded ProvisioningState = "Succeeded" + ProvisioningStateUpdating ProvisioningState = "Updating" +) + +func PossibleValuesForProvisioningState() []string { + return []string{ + string(ProvisioningStateDeleting), + string(ProvisioningStateFailed), + string(ProvisioningStateSucceeded), + string(ProvisioningStateUpdating), + } +} + +func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseProvisioningState(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseProvisioningState(input string) (*ProvisioningState, error) { + vals := map[string]ProvisioningState{ + "deleting": ProvisioningStateDeleting, + "failed": ProvisioningStateFailed, + "succeeded": ProvisioningStateSucceeded, + "updating": ProvisioningStateUpdating, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ProvisioningState(input) + return &out, nil +} + +type PublicIPAddressDnsSettingsDomainNameLabelScope string + +const ( + PublicIPAddressDnsSettingsDomainNameLabelScopeNoReuse PublicIPAddressDnsSettingsDomainNameLabelScope = "NoReuse" + PublicIPAddressDnsSettingsDomainNameLabelScopeResourceGroupReuse PublicIPAddressDnsSettingsDomainNameLabelScope = "ResourceGroupReuse" + PublicIPAddressDnsSettingsDomainNameLabelScopeSubscriptionReuse PublicIPAddressDnsSettingsDomainNameLabelScope = "SubscriptionReuse" + PublicIPAddressDnsSettingsDomainNameLabelScopeTenantReuse PublicIPAddressDnsSettingsDomainNameLabelScope = "TenantReuse" +) + +func PossibleValuesForPublicIPAddressDnsSettingsDomainNameLabelScope() []string { + return []string{ + string(PublicIPAddressDnsSettingsDomainNameLabelScopeNoReuse), + string(PublicIPAddressDnsSettingsDomainNameLabelScopeResourceGroupReuse), + string(PublicIPAddressDnsSettingsDomainNameLabelScopeSubscriptionReuse), + string(PublicIPAddressDnsSettingsDomainNameLabelScopeTenantReuse), + } +} + +func (s *PublicIPAddressDnsSettingsDomainNameLabelScope) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parsePublicIPAddressDnsSettingsDomainNameLabelScope(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parsePublicIPAddressDnsSettingsDomainNameLabelScope(input string) (*PublicIPAddressDnsSettingsDomainNameLabelScope, error) { + vals := map[string]PublicIPAddressDnsSettingsDomainNameLabelScope{ + "noreuse": PublicIPAddressDnsSettingsDomainNameLabelScopeNoReuse, + "resourcegroupreuse": PublicIPAddressDnsSettingsDomainNameLabelScopeResourceGroupReuse, + "subscriptionreuse": PublicIPAddressDnsSettingsDomainNameLabelScopeSubscriptionReuse, + "tenantreuse": PublicIPAddressDnsSettingsDomainNameLabelScopeTenantReuse, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := PublicIPAddressDnsSettingsDomainNameLabelScope(input) + return &out, nil +} + +type PublicIPAddressMigrationPhase string + +const ( + PublicIPAddressMigrationPhaseAbort PublicIPAddressMigrationPhase = "Abort" + PublicIPAddressMigrationPhaseCommit PublicIPAddressMigrationPhase = "Commit" + PublicIPAddressMigrationPhaseCommitted PublicIPAddressMigrationPhase = "Committed" + PublicIPAddressMigrationPhaseNone PublicIPAddressMigrationPhase = "None" + PublicIPAddressMigrationPhasePrepare PublicIPAddressMigrationPhase = "Prepare" +) + +func PossibleValuesForPublicIPAddressMigrationPhase() []string { + return []string{ + string(PublicIPAddressMigrationPhaseAbort), + string(PublicIPAddressMigrationPhaseCommit), + string(PublicIPAddressMigrationPhaseCommitted), + string(PublicIPAddressMigrationPhaseNone), + string(PublicIPAddressMigrationPhasePrepare), + } +} + +func (s *PublicIPAddressMigrationPhase) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parsePublicIPAddressMigrationPhase(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parsePublicIPAddressMigrationPhase(input string) (*PublicIPAddressMigrationPhase, error) { + vals := map[string]PublicIPAddressMigrationPhase{ + "abort": PublicIPAddressMigrationPhaseAbort, + "commit": PublicIPAddressMigrationPhaseCommit, + "committed": PublicIPAddressMigrationPhaseCommitted, + "none": PublicIPAddressMigrationPhaseNone, + "prepare": PublicIPAddressMigrationPhasePrepare, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := PublicIPAddressMigrationPhase(input) + return &out, nil +} + +type PublicIPAddressSkuName string + +const ( + PublicIPAddressSkuNameBasic PublicIPAddressSkuName = "Basic" + PublicIPAddressSkuNameStandard PublicIPAddressSkuName = "Standard" +) + +func PossibleValuesForPublicIPAddressSkuName() []string { + return []string{ + string(PublicIPAddressSkuNameBasic), + string(PublicIPAddressSkuNameStandard), + } +} + +func (s *PublicIPAddressSkuName) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parsePublicIPAddressSkuName(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parsePublicIPAddressSkuName(input string) (*PublicIPAddressSkuName, error) { + vals := map[string]PublicIPAddressSkuName{ + "basic": PublicIPAddressSkuNameBasic, + "standard": PublicIPAddressSkuNameStandard, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := PublicIPAddressSkuName(input) + return &out, nil +} + +type PublicIPAddressSkuTier string + +const ( + PublicIPAddressSkuTierGlobal PublicIPAddressSkuTier = "Global" + PublicIPAddressSkuTierRegional PublicIPAddressSkuTier = "Regional" +) + +func PossibleValuesForPublicIPAddressSkuTier() []string { + return []string{ + string(PublicIPAddressSkuTierGlobal), + string(PublicIPAddressSkuTierRegional), + } +} + +func (s *PublicIPAddressSkuTier) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parsePublicIPAddressSkuTier(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parsePublicIPAddressSkuTier(input string) (*PublicIPAddressSkuTier, error) { + vals := map[string]PublicIPAddressSkuTier{ + "global": PublicIPAddressSkuTierGlobal, + "regional": PublicIPAddressSkuTierRegional, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := PublicIPAddressSkuTier(input) + return &out, nil +} + +type RouteNextHopType string + +const ( + RouteNextHopTypeInternet RouteNextHopType = "Internet" + RouteNextHopTypeNone RouteNextHopType = "None" + RouteNextHopTypeVirtualAppliance RouteNextHopType = "VirtualAppliance" + RouteNextHopTypeVirtualNetworkGateway RouteNextHopType = "VirtualNetworkGateway" + RouteNextHopTypeVnetLocal RouteNextHopType = "VnetLocal" +) + +func PossibleValuesForRouteNextHopType() []string { + return []string{ + string(RouteNextHopTypeInternet), + string(RouteNextHopTypeNone), + string(RouteNextHopTypeVirtualAppliance), + string(RouteNextHopTypeVirtualNetworkGateway), + string(RouteNextHopTypeVnetLocal), + } +} + +func (s *RouteNextHopType) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseRouteNextHopType(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseRouteNextHopType(input string) (*RouteNextHopType, error) { + vals := map[string]RouteNextHopType{ + "internet": RouteNextHopTypeInternet, + "none": RouteNextHopTypeNone, + "virtualappliance": RouteNextHopTypeVirtualAppliance, + "virtualnetworkgateway": RouteNextHopTypeVirtualNetworkGateway, + "vnetlocal": RouteNextHopTypeVnetLocal, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := RouteNextHopType(input) + return &out, nil +} + +type SecurityRuleAccess string + +const ( + SecurityRuleAccessAllow SecurityRuleAccess = "Allow" + SecurityRuleAccessDeny SecurityRuleAccess = "Deny" +) + +func PossibleValuesForSecurityRuleAccess() []string { + return []string{ + string(SecurityRuleAccessAllow), + string(SecurityRuleAccessDeny), + } +} + +func (s *SecurityRuleAccess) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseSecurityRuleAccess(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseSecurityRuleAccess(input string) (*SecurityRuleAccess, error) { + vals := map[string]SecurityRuleAccess{ + "allow": SecurityRuleAccessAllow, + "deny": SecurityRuleAccessDeny, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := SecurityRuleAccess(input) + return &out, nil +} + +type SecurityRuleDirection string + +const ( + SecurityRuleDirectionInbound SecurityRuleDirection = "Inbound" + SecurityRuleDirectionOutbound SecurityRuleDirection = "Outbound" +) + +func PossibleValuesForSecurityRuleDirection() []string { + return []string{ + string(SecurityRuleDirectionInbound), + string(SecurityRuleDirectionOutbound), + } +} + +func (s *SecurityRuleDirection) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseSecurityRuleDirection(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseSecurityRuleDirection(input string) (*SecurityRuleDirection, error) { + vals := map[string]SecurityRuleDirection{ + "inbound": SecurityRuleDirectionInbound, + "outbound": SecurityRuleDirectionOutbound, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := SecurityRuleDirection(input) + return &out, nil +} + +type SecurityRuleProtocol string + +const ( + SecurityRuleProtocolAh SecurityRuleProtocol = "Ah" + SecurityRuleProtocolAny SecurityRuleProtocol = "*" + SecurityRuleProtocolEsp SecurityRuleProtocol = "Esp" + SecurityRuleProtocolIcmp SecurityRuleProtocol = "Icmp" + SecurityRuleProtocolTcp SecurityRuleProtocol = "Tcp" + SecurityRuleProtocolUdp SecurityRuleProtocol = "Udp" +) + +func PossibleValuesForSecurityRuleProtocol() []string { + return []string{ + string(SecurityRuleProtocolAh), + string(SecurityRuleProtocolAny), + string(SecurityRuleProtocolEsp), + string(SecurityRuleProtocolIcmp), + string(SecurityRuleProtocolTcp), + string(SecurityRuleProtocolUdp), + } +} + +func (s *SecurityRuleProtocol) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseSecurityRuleProtocol(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseSecurityRuleProtocol(input string) (*SecurityRuleProtocol, error) { + vals := map[string]SecurityRuleProtocol{ + "ah": SecurityRuleProtocolAh, + "*": SecurityRuleProtocolAny, + "esp": SecurityRuleProtocolEsp, + "icmp": SecurityRuleProtocolIcmp, + "tcp": SecurityRuleProtocolTcp, + "udp": SecurityRuleProtocolUdp, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := SecurityRuleProtocol(input) + return &out, nil +} + +type SharingScope string + +const ( + SharingScopeDelegatedServices SharingScope = "DelegatedServices" + SharingScopeTenant SharingScope = "Tenant" +) + +func PossibleValuesForSharingScope() []string { + return []string{ + string(SharingScopeDelegatedServices), + string(SharingScopeTenant), + } +} + +func (s *SharingScope) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseSharingScope(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseSharingScope(input string) (*SharingScope, error) { + vals := map[string]SharingScope{ + "delegatedservices": SharingScopeDelegatedServices, + "tenant": SharingScopeTenant, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := SharingScope(input) + return &out, nil +} + +type SyncMode string + +const ( + SyncModeAutomatic SyncMode = "Automatic" + SyncModeManual SyncMode = "Manual" +) + +func PossibleValuesForSyncMode() []string { + return []string{ + string(SyncModeAutomatic), + string(SyncModeManual), + } +} + +func (s *SyncMode) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseSyncMode(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseSyncMode(input string) (*SyncMode, error) { + vals := map[string]SyncMode{ + "automatic": SyncModeAutomatic, + "manual": SyncModeManual, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := SyncMode(input) + return &out, nil +} + +type TransportProtocol string + +const ( + TransportProtocolAll TransportProtocol = "All" + TransportProtocolTcp TransportProtocol = "Tcp" + TransportProtocolUdp TransportProtocol = "Udp" +) + +func PossibleValuesForTransportProtocol() []string { + return []string{ + string(TransportProtocolAll), + string(TransportProtocolTcp), + string(TransportProtocolUdp), + } +} + +func (s *TransportProtocol) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseTransportProtocol(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseTransportProtocol(input string) (*TransportProtocol, error) { + vals := map[string]TransportProtocol{ + "all": TransportProtocolAll, + "tcp": TransportProtocolTcp, + "udp": TransportProtocolUdp, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := TransportProtocol(input) + return &out, nil +} + +type VirtualNetworkPrivateEndpointNetworkPolicies string + +const ( + VirtualNetworkPrivateEndpointNetworkPoliciesDisabled VirtualNetworkPrivateEndpointNetworkPolicies = "Disabled" + VirtualNetworkPrivateEndpointNetworkPoliciesEnabled VirtualNetworkPrivateEndpointNetworkPolicies = "Enabled" + VirtualNetworkPrivateEndpointNetworkPoliciesNetworkSecurityGroupEnabled VirtualNetworkPrivateEndpointNetworkPolicies = "NetworkSecurityGroupEnabled" + VirtualNetworkPrivateEndpointNetworkPoliciesRouteTableEnabled VirtualNetworkPrivateEndpointNetworkPolicies = "RouteTableEnabled" +) + +func PossibleValuesForVirtualNetworkPrivateEndpointNetworkPolicies() []string { + return []string{ + string(VirtualNetworkPrivateEndpointNetworkPoliciesDisabled), + string(VirtualNetworkPrivateEndpointNetworkPoliciesEnabled), + string(VirtualNetworkPrivateEndpointNetworkPoliciesNetworkSecurityGroupEnabled), + string(VirtualNetworkPrivateEndpointNetworkPoliciesRouteTableEnabled), + } +} + +func (s *VirtualNetworkPrivateEndpointNetworkPolicies) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseVirtualNetworkPrivateEndpointNetworkPolicies(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseVirtualNetworkPrivateEndpointNetworkPolicies(input string) (*VirtualNetworkPrivateEndpointNetworkPolicies, error) { + vals := map[string]VirtualNetworkPrivateEndpointNetworkPolicies{ + "disabled": VirtualNetworkPrivateEndpointNetworkPoliciesDisabled, + "enabled": VirtualNetworkPrivateEndpointNetworkPoliciesEnabled, + "networksecuritygroupenabled": VirtualNetworkPrivateEndpointNetworkPoliciesNetworkSecurityGroupEnabled, + "routetableenabled": VirtualNetworkPrivateEndpointNetworkPoliciesRouteTableEnabled, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := VirtualNetworkPrivateEndpointNetworkPolicies(input) + return &out, nil +} + +type VirtualNetworkPrivateLinkServiceNetworkPolicies string + +const ( + VirtualNetworkPrivateLinkServiceNetworkPoliciesDisabled VirtualNetworkPrivateLinkServiceNetworkPolicies = "Disabled" + VirtualNetworkPrivateLinkServiceNetworkPoliciesEnabled VirtualNetworkPrivateLinkServiceNetworkPolicies = "Enabled" +) + +func PossibleValuesForVirtualNetworkPrivateLinkServiceNetworkPolicies() []string { + return []string{ + string(VirtualNetworkPrivateLinkServiceNetworkPoliciesDisabled), + string(VirtualNetworkPrivateLinkServiceNetworkPoliciesEnabled), + } +} + +func (s *VirtualNetworkPrivateLinkServiceNetworkPolicies) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseVirtualNetworkPrivateLinkServiceNetworkPolicies(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseVirtualNetworkPrivateLinkServiceNetworkPolicies(input string) (*VirtualNetworkPrivateLinkServiceNetworkPolicies, error) { + vals := map[string]VirtualNetworkPrivateLinkServiceNetworkPolicies{ + "disabled": VirtualNetworkPrivateLinkServiceNetworkPoliciesDisabled, + "enabled": VirtualNetworkPrivateLinkServiceNetworkPoliciesEnabled, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := VirtualNetworkPrivateLinkServiceNetworkPolicies(input) + return &out, nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/id_backendaddresspool.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/id_backendaddresspool.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/id_backendaddresspool.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/id_backendaddresspool.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/id_frontendipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/id_frontendipconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/id_frontendipconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/id_frontendipconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/id_inboundnatrule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/id_inboundnatrule.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/id_inboundnatrule.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/id_inboundnatrule.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/id_loadbalancer.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/id_loadbalancer.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/id_loadbalancer.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/id_loadbalancer.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/id_loadbalancerbackendaddresspool.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/id_loadbalancerbackendaddresspool.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/id_loadbalancerbackendaddresspool.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/id_loadbalancerbackendaddresspool.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/id_loadbalancingrule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/id_loadbalancingrule.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/id_loadbalancingrule.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/id_loadbalancingrule.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/id_location.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/id_location.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/id_location.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/id_location.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/id_outboundrule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/id_outboundrule.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/id_outboundrule.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/id_outboundrule.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/id_probe.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/id_probe.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/id_probe.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/id_probe.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/id_providerloadbalancer.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/id_providerloadbalancer.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/id_providerloadbalancer.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/id_providerloadbalancer.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/method_createorupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/method_createorupdate.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/method_createorupdate.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/method_createorupdate.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/method_delete.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/method_delete.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/method_delete.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/method_delete.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/method_get.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/method_get.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/method_get.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/method_get.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/method_inboundnatrulescreateorupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/method_inboundnatrulescreateorupdate.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/method_inboundnatrulescreateorupdate.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/method_inboundnatrulescreateorupdate.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/method_inboundnatrulesdelete.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/method_inboundnatrulesdelete.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/method_inboundnatrulesdelete.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/method_inboundnatrulesdelete.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/method_inboundnatrulesget.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/method_inboundnatrulesget.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/method_inboundnatrulesget.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/method_inboundnatrulesget.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/method_inboundnatruleslist.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/method_inboundnatruleslist.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/method_inboundnatruleslist.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/method_inboundnatruleslist.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/method_list.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/method_list.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/method_list.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/method_list.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/method_listall.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/method_listall.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/method_listall.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/method_listall.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/method_listinboundnatruleportmappings.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/method_listinboundnatruleportmappings.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/method_listinboundnatruleportmappings.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/method_listinboundnatruleportmappings.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/method_loadbalancerbackendaddresspoolscreateorupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/method_loadbalancerbackendaddresspoolscreateorupdate.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/method_loadbalancerbackendaddresspoolscreateorupdate.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/method_loadbalancerbackendaddresspoolscreateorupdate.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/method_loadbalancerbackendaddresspoolsdelete.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/method_loadbalancerbackendaddresspoolsdelete.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/method_loadbalancerbackendaddresspoolsdelete.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/method_loadbalancerbackendaddresspoolsdelete.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/method_loadbalancerbackendaddresspoolsget.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/method_loadbalancerbackendaddresspoolsget.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/method_loadbalancerbackendaddresspoolsget.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/method_loadbalancerbackendaddresspoolsget.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/method_loadbalancerbackendaddresspoolslist.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/method_loadbalancerbackendaddresspoolslist.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/method_loadbalancerbackendaddresspoolslist.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/method_loadbalancerbackendaddresspoolslist.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/method_loadbalancerfrontendipconfigurationsget.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/method_loadbalancerfrontendipconfigurationsget.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/method_loadbalancerfrontendipconfigurationsget.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/method_loadbalancerfrontendipconfigurationsget.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/method_loadbalancerfrontendipconfigurationslist.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/method_loadbalancerfrontendipconfigurationslist.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/method_loadbalancerfrontendipconfigurationslist.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/method_loadbalancerfrontendipconfigurationslist.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/method_loadbalancerloadbalancingrulesget.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/method_loadbalancerloadbalancingrulesget.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/method_loadbalancerloadbalancingrulesget.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/method_loadbalancerloadbalancingrulesget.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/method_loadbalancerloadbalancingruleslist.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/method_loadbalancerloadbalancingruleslist.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/method_loadbalancerloadbalancingruleslist.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/method_loadbalancerloadbalancingruleslist.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/method_loadbalancernetworkinterfaceslist.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/method_loadbalancernetworkinterfaceslist.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/method_loadbalancernetworkinterfaceslist.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/method_loadbalancernetworkinterfaceslist.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/method_loadbalanceroutboundrulesget.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/method_loadbalanceroutboundrulesget.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/method_loadbalanceroutboundrulesget.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/method_loadbalanceroutboundrulesget.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/method_loadbalanceroutboundruleslist.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/method_loadbalanceroutboundruleslist.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/method_loadbalanceroutboundruleslist.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/method_loadbalanceroutboundruleslist.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/method_loadbalancerprobesget.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/method_loadbalancerprobesget.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/method_loadbalancerprobesget.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/method_loadbalancerprobesget.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/method_loadbalancerprobeslist.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/method_loadbalancerprobeslist.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/method_loadbalancerprobeslist.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/method_loadbalancerprobeslist.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/method_migratetoipbased.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/method_migratetoipbased.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/method_migratetoipbased.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/method_migratetoipbased.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/method_swappublicipaddresses.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/method_swappublicipaddresses.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/method_swappublicipaddresses.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/method_swappublicipaddresses.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/method_updatetags.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/method_updatetags.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/method_updatetags.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/method_updatetags.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_applicationgatewaybackendaddress.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_applicationgatewaybackendaddress.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_applicationgatewaybackendaddress.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_applicationgatewaybackendaddress.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_applicationgatewaybackendaddresspool.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_applicationgatewaybackendaddresspool.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_applicationgatewaybackendaddresspool.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_applicationgatewaybackendaddresspool.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_applicationgatewaybackendaddresspoolpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_applicationgatewaybackendaddresspoolpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_applicationgatewaybackendaddresspoolpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_applicationgatewaybackendaddresspoolpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_applicationgatewayipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_applicationgatewayipconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_applicationgatewayipconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_applicationgatewayipconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_applicationgatewayipconfigurationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_applicationgatewayipconfigurationpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_applicationgatewayipconfigurationpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_applicationgatewayipconfigurationpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_applicationsecuritygroup.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_applicationsecuritygroup.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_applicationsecuritygroup.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_applicationsecuritygroup.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_applicationsecuritygrouppropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_applicationsecuritygrouppropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_applicationsecuritygrouppropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_applicationsecuritygrouppropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_backendaddressinboundnatruleportmappings.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_backendaddressinboundnatruleportmappings.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_backendaddressinboundnatruleportmappings.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_backendaddressinboundnatruleportmappings.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_backendaddresspool.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_backendaddresspool.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_backendaddresspool.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_backendaddresspool.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_backendaddresspoolpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_backendaddresspoolpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_backendaddresspoolpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_backendaddresspoolpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_customdnsconfigpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_customdnsconfigpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_customdnsconfigpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_customdnsconfigpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_ddossettings.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_ddossettings.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_ddossettings.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_ddossettings.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_delegation.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_delegation.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_delegation.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_delegation.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_flowlog.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_flowlog.go new file mode 100644 index 000000000000..dff0db44f477 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_flowlog.go @@ -0,0 +1,19 @@ +package loadbalancers + +import ( + "github.com/hashicorp/go-azure-helpers/resourcemanager/identity" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type FlowLog struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Identity *identity.SystemAndUserAssignedMap `json:"identity,omitempty"` + Location *string `json:"location,omitempty"` + Name *string `json:"name,omitempty"` + Properties *FlowLogPropertiesFormat `json:"properties,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_flowlogformatparameters.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_flowlogformatparameters.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_flowlogformatparameters.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_flowlogformatparameters.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_flowlogpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_flowlogpropertiesformat.go new file mode 100644 index 000000000000..93c3d7251164 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_flowlogpropertiesformat.go @@ -0,0 +1,16 @@ +package loadbalancers + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type FlowLogPropertiesFormat struct { + Enabled *bool `json:"enabled,omitempty"` + EnabledFilteringCriteria *string `json:"enabledFilteringCriteria,omitempty"` + FlowAnalyticsConfiguration *TrafficAnalyticsProperties `json:"flowAnalyticsConfiguration,omitempty"` + Format *FlowLogFormatParameters `json:"format,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + RetentionPolicy *RetentionPolicyParameters `json:"retentionPolicy,omitempty"` + StorageId string `json:"storageId"` + TargetResourceGuid *string `json:"targetResourceGuid,omitempty"` + TargetResourceId string `json:"targetResourceId"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_frontendipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_frontendipconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_frontendipconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_frontendipconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_frontendipconfigurationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_frontendipconfigurationpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_frontendipconfigurationpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_frontendipconfigurationpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_gatewayloadbalancertunnelinterface.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_gatewayloadbalancertunnelinterface.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_gatewayloadbalancertunnelinterface.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_gatewayloadbalancertunnelinterface.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_inboundnatpool.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_inboundnatpool.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_inboundnatpool.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_inboundnatpool.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_inboundnatpoolpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_inboundnatpoolpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_inboundnatpoolpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_inboundnatpoolpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_inboundnatrule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_inboundnatrule.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_inboundnatrule.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_inboundnatrule.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_inboundnatruleportmapping.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_inboundnatruleportmapping.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_inboundnatruleportmapping.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_inboundnatruleportmapping.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_inboundnatrulepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_inboundnatrulepropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_inboundnatrulepropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_inboundnatrulepropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_ipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_ipconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_ipconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_ipconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_ipconfigurationprofile.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_ipconfigurationprofile.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_ipconfigurationprofile.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_ipconfigurationprofile.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_ipconfigurationprofilepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_ipconfigurationprofilepropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_ipconfigurationprofilepropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_ipconfigurationprofilepropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_ipconfigurationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_ipconfigurationpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_ipconfigurationpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_ipconfigurationpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_iptag.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_iptag.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_iptag.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_iptag.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_loadbalancer.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_loadbalancer.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_loadbalancer.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_loadbalancer.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_loadbalancerbackendaddress.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_loadbalancerbackendaddress.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_loadbalancerbackendaddress.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_loadbalancerbackendaddress.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_loadbalancerbackendaddresspropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_loadbalancerbackendaddresspropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_loadbalancerbackendaddresspropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_loadbalancerbackendaddresspropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_loadbalancerpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_loadbalancerpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_loadbalancerpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_loadbalancerpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_loadbalancersku.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_loadbalancersku.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_loadbalancersku.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_loadbalancersku.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_loadbalancervipswaprequest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_loadbalancervipswaprequest.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_loadbalancervipswaprequest.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_loadbalancervipswaprequest.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_loadbalancervipswaprequestfrontendipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_loadbalancervipswaprequestfrontendipconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_loadbalancervipswaprequestfrontendipconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_loadbalancervipswaprequestfrontendipconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_loadbalancervipswaprequestfrontendipconfigurationproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_loadbalancervipswaprequestfrontendipconfigurationproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_loadbalancervipswaprequestfrontendipconfigurationproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_loadbalancervipswaprequestfrontendipconfigurationproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_loadbalancingrule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_loadbalancingrule.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_loadbalancingrule.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_loadbalancingrule.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_loadbalancingrulepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_loadbalancingrulepropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_loadbalancingrulepropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_loadbalancingrulepropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_migratedpools.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_migratedpools.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_migratedpools.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_migratedpools.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_migrateloadbalancertoipbasedrequest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_migrateloadbalancertoipbasedrequest.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_migrateloadbalancertoipbasedrequest.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_migrateloadbalancertoipbasedrequest.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_natgateway.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_natgateway.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_natgateway.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_natgateway.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_natgatewaypropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_natgatewaypropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_natgatewaypropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_natgatewaypropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_natgatewaysku.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_natgatewaysku.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_natgatewaysku.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_natgatewaysku.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_natruleportmapping.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_natruleportmapping.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_natruleportmapping.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_natruleportmapping.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_networkinterface.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_networkinterface.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_networkinterface.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_networkinterface.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_networkinterfacednssettings.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_networkinterfacednssettings.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_networkinterfacednssettings.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_networkinterfacednssettings.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_networkinterfaceipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_networkinterfaceipconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_networkinterfaceipconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_networkinterfaceipconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_networkinterfaceipconfigurationprivatelinkconnectionproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_networkinterfaceipconfigurationprivatelinkconnectionproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_networkinterfaceipconfigurationprivatelinkconnectionproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_networkinterfaceipconfigurationprivatelinkconnectionproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_networkinterfaceipconfigurationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_networkinterfaceipconfigurationpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_networkinterfaceipconfigurationpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_networkinterfaceipconfigurationpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_networkinterfacepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_networkinterfacepropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_networkinterfacepropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_networkinterfacepropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_networkinterfacetapconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_networkinterfacetapconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_networkinterfacetapconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_networkinterfacetapconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_networkinterfacetapconfigurationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_networkinterfacetapconfigurationpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_networkinterfacetapconfigurationpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_networkinterfacetapconfigurationpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_networksecuritygroup.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_networksecuritygroup.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_networksecuritygroup.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_networksecuritygroup.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_networksecuritygrouppropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_networksecuritygrouppropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_networksecuritygrouppropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_networksecuritygrouppropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_outboundrule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_outboundrule.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_outboundrule.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_outboundrule.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_outboundrulepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_outboundrulepropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_outboundrulepropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_outboundrulepropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_privateendpoint.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_privateendpoint.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_privateendpoint.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_privateendpoint.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_privateendpointconnection.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_privateendpointconnection.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_privateendpointconnection.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_privateendpointconnection.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_privateendpointconnectionproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_privateendpointconnectionproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_privateendpointconnectionproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_privateendpointconnectionproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_privateendpointipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_privateendpointipconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_privateendpointipconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_privateendpointipconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_privateendpointipconfigurationproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_privateendpointipconfigurationproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_privateendpointipconfigurationproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_privateendpointipconfigurationproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_privateendpointproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_privateendpointproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_privateendpointproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_privateendpointproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_privatelinkservice.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_privatelinkservice.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_privatelinkservice.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_privatelinkservice.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_privatelinkserviceconnection.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_privatelinkserviceconnection.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_privatelinkserviceconnection.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_privatelinkserviceconnection.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_privatelinkserviceconnectionproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_privatelinkserviceconnectionproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_privatelinkserviceconnectionproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_privatelinkserviceconnectionproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_privatelinkserviceconnectionstate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_privatelinkserviceconnectionstate.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_privatelinkserviceconnectionstate.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_privatelinkserviceconnectionstate.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_privatelinkserviceipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_privatelinkserviceipconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_privatelinkserviceipconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_privatelinkserviceipconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_privatelinkserviceipconfigurationproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_privatelinkserviceipconfigurationproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_privatelinkserviceipconfigurationproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_privatelinkserviceipconfigurationproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_privatelinkserviceproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_privatelinkserviceproperties.go new file mode 100644 index 000000000000..177e188eb3e6 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_privatelinkserviceproperties.go @@ -0,0 +1,18 @@ +package loadbalancers + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PrivateLinkServiceProperties struct { + Alias *string `json:"alias,omitempty"` + AutoApproval *ResourceSet `json:"autoApproval,omitempty"` + DestinationIPAddress *string `json:"destinationIPAddress,omitempty"` + EnableProxyProtocol *bool `json:"enableProxyProtocol,omitempty"` + Fqdns *[]string `json:"fqdns,omitempty"` + IPConfigurations *[]PrivateLinkServiceIPConfiguration `json:"ipConfigurations,omitempty"` + LoadBalancerFrontendIPConfigurations *[]FrontendIPConfiguration `json:"loadBalancerFrontendIpConfigurations,omitempty"` + NetworkInterfaces *[]NetworkInterface `json:"networkInterfaces,omitempty"` + PrivateEndpointConnections *[]PrivateEndpointConnection `json:"privateEndpointConnections,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + Visibility *ResourceSet `json:"visibility,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_probe.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_probe.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_probe.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_probe.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_probepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_probepropertiesformat.go new file mode 100644 index 000000000000..1ff1fd360c05 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_probepropertiesformat.go @@ -0,0 +1,16 @@ +package loadbalancers + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ProbePropertiesFormat struct { + IntervalInSeconds *int64 `json:"intervalInSeconds,omitempty"` + LoadBalancingRules *[]SubResource `json:"loadBalancingRules,omitempty"` + NoHealthyBackendsBehavior *ProbeNoHealthyBackendsBehavior `json:"noHealthyBackendsBehavior,omitempty"` + NumberOfProbes *int64 `json:"numberOfProbes,omitempty"` + Port int64 `json:"port"` + ProbeThreshold *int64 `json:"probeThreshold,omitempty"` + Protocol ProbeProtocol `json:"protocol"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + RequestPath *string `json:"requestPath,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_publicipaddress.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_publicipaddress.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_publicipaddress.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_publicipaddress.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_publicipaddressdnssettings.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_publicipaddressdnssettings.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_publicipaddressdnssettings.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_publicipaddressdnssettings.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_publicipaddresspropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_publicipaddresspropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_publicipaddresspropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_publicipaddresspropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_publicipaddresssku.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_publicipaddresssku.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_publicipaddresssku.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_publicipaddresssku.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_queryinboundnatruleportmappingrequest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_queryinboundnatruleportmappingrequest.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_queryinboundnatruleportmappingrequest.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_queryinboundnatruleportmappingrequest.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_resourcenavigationlink.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_resourcenavigationlink.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_resourcenavigationlink.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_resourcenavigationlink.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_resourcenavigationlinkformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_resourcenavigationlinkformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_resourcenavigationlinkformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_resourcenavigationlinkformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_resourceset.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_resourceset.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_resourceset.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_resourceset.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_retentionpolicyparameters.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_retentionpolicyparameters.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_retentionpolicyparameters.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_retentionpolicyparameters.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_route.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_route.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_route.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_route.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_routepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_routepropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_routepropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_routepropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_routetable.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_routetable.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_routetable.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_routetable.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_routetablepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_routetablepropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_routetablepropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_routetablepropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_securityrule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_securityrule.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_securityrule.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_securityrule.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_securityrulepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_securityrulepropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_securityrulepropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_securityrulepropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_serviceassociationlink.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_serviceassociationlink.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_serviceassociationlink.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_serviceassociationlink.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_serviceassociationlinkpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_serviceassociationlinkpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_serviceassociationlinkpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_serviceassociationlinkpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_servicedelegationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_servicedelegationpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_servicedelegationpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_servicedelegationpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_serviceendpointpolicy.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_serviceendpointpolicy.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_serviceendpointpolicy.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_serviceendpointpolicy.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_serviceendpointpolicydefinition.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_serviceendpointpolicydefinition.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_serviceendpointpolicydefinition.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_serviceendpointpolicydefinition.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_serviceendpointpolicydefinitionpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_serviceendpointpolicydefinitionpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_serviceendpointpolicydefinitionpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_serviceendpointpolicydefinitionpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_serviceendpointpolicypropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_serviceendpointpolicypropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_serviceendpointpolicypropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_serviceendpointpolicypropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_serviceendpointpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_serviceendpointpropertiesformat.go new file mode 100644 index 000000000000..f6f73f34673c --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_serviceendpointpropertiesformat.go @@ -0,0 +1,11 @@ +package loadbalancers + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ServiceEndpointPropertiesFormat struct { + Locations *[]string `json:"locations,omitempty"` + NetworkIdentifier *SubResource `json:"networkIdentifier,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + Service *string `json:"service,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_subnet.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_subnet.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_subnet.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_subnet.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_subnetpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_subnetpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_subnetpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_subnetpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_subresource.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_subresource.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_subresource.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_subresource.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_tagsobject.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_tagsobject.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_tagsobject.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_tagsobject.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_trafficanalyticsconfigurationproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_trafficanalyticsconfigurationproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_trafficanalyticsconfigurationproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_trafficanalyticsconfigurationproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_trafficanalyticsproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_trafficanalyticsproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_trafficanalyticsproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_trafficanalyticsproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_virtualnetworktap.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_virtualnetworktap.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_virtualnetworktap.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_virtualnetworktap.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_virtualnetworktappropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_virtualnetworktappropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/model_virtualnetworktappropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/model_virtualnetworktappropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/predicates.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers/predicates.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/predicates.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/version.go new file mode 100644 index 000000000000..ca9f366f656b --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers/version.go @@ -0,0 +1,10 @@ +package loadbalancers + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2024-03-01" + +func userAgent() string { + return "hashicorp/go-azure-sdk/loadbalancers/2024-03-01" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/localnetworkgateways/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/localnetworkgateways/README.md new file mode 100644 index 000000000000..49823e2fe310 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/localnetworkgateways/README.md @@ -0,0 +1,104 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/localnetworkgateways` Documentation + +The `localnetworkgateways` SDK allows for interaction with Azure Resource Manager `network` (API Version `2024-03-01`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" +import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/localnetworkgateways" +``` + + +### Client Initialization + +```go +client := localnetworkgateways.NewLocalNetworkGatewaysClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `LocalNetworkGatewaysClient.CreateOrUpdate` + +```go +ctx := context.TODO() +id := localnetworkgateways.NewLocalNetworkGatewayID("12345678-1234-9876-4563-123456789012", "example-resource-group", "localNetworkGatewayName") + +payload := localnetworkgateways.LocalNetworkGateway{ + // ... +} + + +if err := client.CreateOrUpdateThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `LocalNetworkGatewaysClient.Delete` + +```go +ctx := context.TODO() +id := localnetworkgateways.NewLocalNetworkGatewayID("12345678-1234-9876-4563-123456789012", "example-resource-group", "localNetworkGatewayName") + +if err := client.DeleteThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `LocalNetworkGatewaysClient.Get` + +```go +ctx := context.TODO() +id := localnetworkgateways.NewLocalNetworkGatewayID("12345678-1234-9876-4563-123456789012", "example-resource-group", "localNetworkGatewayName") + +read, err := client.Get(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `LocalNetworkGatewaysClient.List` + +```go +ctx := context.TODO() +id := commonids.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group") + +// alternatively `client.List(ctx, id)` can be used to do batched pagination +items, err := client.ListComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `LocalNetworkGatewaysClient.UpdateTags` + +```go +ctx := context.TODO() +id := localnetworkgateways.NewLocalNetworkGatewayID("12345678-1234-9876-4563-123456789012", "example-resource-group", "localNetworkGatewayName") + +payload := localnetworkgateways.TagsObject{ + // ... +} + + +read, err := client.UpdateTags(ctx, id, payload) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/localnetworkgateways/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/localnetworkgateways/client.go new file mode 100644 index 000000000000..c821de0dcf3b --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/localnetworkgateways/client.go @@ -0,0 +1,26 @@ +package localnetworkgateways + +import ( + "fmt" + + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + sdkEnv "github.com/hashicorp/go-azure-sdk/sdk/environments" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type LocalNetworkGatewaysClient struct { + Client *resourcemanager.Client +} + +func NewLocalNetworkGatewaysClientWithBaseURI(sdkApi sdkEnv.Api) (*LocalNetworkGatewaysClient, error) { + client, err := resourcemanager.NewClient(sdkApi, "localnetworkgateways", defaultApiVersion) + if err != nil { + return nil, fmt.Errorf("instantiating LocalNetworkGatewaysClient: %+v", err) + } + + return &LocalNetworkGatewaysClient{ + Client: client, + }, nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/localnetworkgateways/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/localnetworkgateways/constants.go new file mode 100644 index 000000000000..f82efef3b1f0 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/localnetworkgateways/constants.go @@ -0,0 +1,57 @@ +package localnetworkgateways + +import ( + "encoding/json" + "fmt" + "strings" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ProvisioningState string + +const ( + ProvisioningStateDeleting ProvisioningState = "Deleting" + ProvisioningStateFailed ProvisioningState = "Failed" + ProvisioningStateSucceeded ProvisioningState = "Succeeded" + ProvisioningStateUpdating ProvisioningState = "Updating" +) + +func PossibleValuesForProvisioningState() []string { + return []string{ + string(ProvisioningStateDeleting), + string(ProvisioningStateFailed), + string(ProvisioningStateSucceeded), + string(ProvisioningStateUpdating), + } +} + +func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseProvisioningState(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseProvisioningState(input string) (*ProvisioningState, error) { + vals := map[string]ProvisioningState{ + "deleting": ProvisioningStateDeleting, + "failed": ProvisioningStateFailed, + "succeeded": ProvisioningStateSucceeded, + "updating": ProvisioningStateUpdating, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ProvisioningState(input) + return &out, nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/localnetworkgateways/id_localnetworkgateway.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/localnetworkgateways/id_localnetworkgateway.go new file mode 100644 index 000000000000..1b8d0c5ae7aa --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/localnetworkgateways/id_localnetworkgateway.go @@ -0,0 +1,130 @@ +package localnetworkgateways + +import ( + "fmt" + "strings" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/recaser" + "github.com/hashicorp/go-azure-helpers/resourcemanager/resourceids" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +func init() { + recaser.RegisterResourceId(&LocalNetworkGatewayId{}) +} + +var _ resourceids.ResourceId = &LocalNetworkGatewayId{} + +// LocalNetworkGatewayId is a struct representing the Resource ID for a Local Network Gateway +type LocalNetworkGatewayId struct { + SubscriptionId string + ResourceGroupName string + LocalNetworkGatewayName string +} + +// NewLocalNetworkGatewayID returns a new LocalNetworkGatewayId struct +func NewLocalNetworkGatewayID(subscriptionId string, resourceGroupName string, localNetworkGatewayName string) LocalNetworkGatewayId { + return LocalNetworkGatewayId{ + SubscriptionId: subscriptionId, + ResourceGroupName: resourceGroupName, + LocalNetworkGatewayName: localNetworkGatewayName, + } +} + +// ParseLocalNetworkGatewayID parses 'input' into a LocalNetworkGatewayId +func ParseLocalNetworkGatewayID(input string) (*LocalNetworkGatewayId, error) { + parser := resourceids.NewParserFromResourceIdType(&LocalNetworkGatewayId{}) + parsed, err := parser.Parse(input, false) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := LocalNetworkGatewayId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +// ParseLocalNetworkGatewayIDInsensitively parses 'input' case-insensitively into a LocalNetworkGatewayId +// note: this method should only be used for API response data and not user input +func ParseLocalNetworkGatewayIDInsensitively(input string) (*LocalNetworkGatewayId, error) { + parser := resourceids.NewParserFromResourceIdType(&LocalNetworkGatewayId{}) + parsed, err := parser.Parse(input, true) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := LocalNetworkGatewayId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +func (id *LocalNetworkGatewayId) FromParseResult(input resourceids.ParseResult) error { + var ok bool + + if id.SubscriptionId, ok = input.Parsed["subscriptionId"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "subscriptionId", input) + } + + if id.ResourceGroupName, ok = input.Parsed["resourceGroupName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "resourceGroupName", input) + } + + if id.LocalNetworkGatewayName, ok = input.Parsed["localNetworkGatewayName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "localNetworkGatewayName", input) + } + + return nil +} + +// ValidateLocalNetworkGatewayID checks that 'input' can be parsed as a Local Network Gateway ID +func ValidateLocalNetworkGatewayID(input interface{}, key string) (warnings []string, errors []error) { + v, ok := input.(string) + if !ok { + errors = append(errors, fmt.Errorf("expected %q to be a string", key)) + return + } + + if _, err := ParseLocalNetworkGatewayID(v); err != nil { + errors = append(errors, err) + } + + return +} + +// ID returns the formatted Local Network Gateway ID +func (id LocalNetworkGatewayId) ID() string { + fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.Network/localNetworkGateways/%s" + return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.LocalNetworkGatewayName) +} + +// Segments returns a slice of Resource ID Segments which comprise this Local Network Gateway ID +func (id LocalNetworkGatewayId) Segments() []resourceids.Segment { + return []resourceids.Segment{ + resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), + resourceids.SubscriptionIdSegment("subscriptionId", "12345678-1234-9876-4563-123456789012"), + resourceids.StaticSegment("staticResourceGroups", "resourceGroups", "resourceGroups"), + resourceids.ResourceGroupSegment("resourceGroupName", "example-resource-group"), + resourceids.StaticSegment("staticProviders", "providers", "providers"), + resourceids.ResourceProviderSegment("staticMicrosoftNetwork", "Microsoft.Network", "Microsoft.Network"), + resourceids.StaticSegment("staticLocalNetworkGateways", "localNetworkGateways", "localNetworkGateways"), + resourceids.UserSpecifiedSegment("localNetworkGatewayName", "localNetworkGatewayName"), + } +} + +// String returns a human-readable description of this Local Network Gateway ID +func (id LocalNetworkGatewayId) String() string { + components := []string{ + fmt.Sprintf("Subscription: %q", id.SubscriptionId), + fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), + fmt.Sprintf("Local Network Gateway Name: %q", id.LocalNetworkGatewayName), + } + return fmt.Sprintf("Local Network Gateway (%s)", strings.Join(components, "\n")) +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/localnetworkgateways/method_createorupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/localnetworkgateways/method_createorupdate.go new file mode 100644 index 000000000000..1b41558abaaf --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/localnetworkgateways/method_createorupdate.go @@ -0,0 +1,75 @@ +package localnetworkgateways + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/client/pollers" + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type CreateOrUpdateOperationResponse struct { + Poller pollers.Poller + HttpResponse *http.Response + OData *odata.OData + Model *LocalNetworkGateway +} + +// CreateOrUpdate ... +func (c LocalNetworkGatewaysClient) CreateOrUpdate(ctx context.Context, id LocalNetworkGatewayId, input LocalNetworkGateway) (result CreateOrUpdateOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusCreated, + http.StatusOK, + }, + HttpMethod: http.MethodPut, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + if err = req.Marshal(input); err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client) + if err != nil { + return + } + + return +} + +// CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed +func (c LocalNetworkGatewaysClient) CreateOrUpdateThenPoll(ctx context.Context, id LocalNetworkGatewayId, input LocalNetworkGateway) error { + result, err := c.CreateOrUpdate(ctx, id, input) + if err != nil { + return fmt.Errorf("performing CreateOrUpdate: %+v", err) + } + + if err := result.Poller.PollUntilDone(ctx); err != nil { + return fmt.Errorf("polling after CreateOrUpdate: %+v", err) + } + + return nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/localnetworkgateways/method_delete.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/localnetworkgateways/method_delete.go new file mode 100644 index 000000000000..2b155d2b9e77 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/localnetworkgateways/method_delete.go @@ -0,0 +1,71 @@ +package localnetworkgateways + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/client/pollers" + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type DeleteOperationResponse struct { + Poller pollers.Poller + HttpResponse *http.Response + OData *odata.OData +} + +// Delete ... +func (c LocalNetworkGatewaysClient) Delete(ctx context.Context, id LocalNetworkGatewayId) (result DeleteOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusAccepted, + http.StatusNoContent, + http.StatusOK, + }, + HttpMethod: http.MethodDelete, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client) + if err != nil { + return + } + + return +} + +// DeleteThenPoll performs Delete then polls until it's completed +func (c LocalNetworkGatewaysClient) DeleteThenPoll(ctx context.Context, id LocalNetworkGatewayId) error { + result, err := c.Delete(ctx, id) + if err != nil { + return fmt.Errorf("performing Delete: %+v", err) + } + + if err := result.Poller.PollUntilDone(ctx); err != nil { + return fmt.Errorf("polling after Delete: %+v", err) + } + + return nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/localnetworkgateways/method_get.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/localnetworkgateways/method_get.go new file mode 100644 index 000000000000..678e40b00646 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/localnetworkgateways/method_get.go @@ -0,0 +1,53 @@ +package localnetworkgateways + +import ( + "context" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type GetOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *LocalNetworkGateway +} + +// Get ... +func (c LocalNetworkGatewaysClient) Get(ctx context.Context, id LocalNetworkGatewayId) (result GetOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var model LocalNetworkGateway + result.Model = &model + if err = resp.Unmarshal(result.Model); err != nil { + return + } + + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/localnetworkgateways/method_list.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/localnetworkgateways/method_list.go new file mode 100644 index 000000000000..528ccebe9557 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/localnetworkgateways/method_list.go @@ -0,0 +1,106 @@ +package localnetworkgateways + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ListOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *[]LocalNetworkGateway +} + +type ListCompleteResult struct { + LatestHttpResponse *http.Response + Items []LocalNetworkGateway +} + +type ListCustomPager struct { + NextLink *odata.Link `json:"nextLink"` +} + +func (p *ListCustomPager) NextPageLink() *odata.Link { + defer func() { + p.NextLink = nil + }() + + return p.NextLink +} + +// List ... +func (c LocalNetworkGatewaysClient) List(ctx context.Context, id commonids.ResourceGroupId) (result ListOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Pager: &ListCustomPager{}, + Path: fmt.Sprintf("%s/providers/Microsoft.Network/localNetworkGateways", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.ExecutePaged(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var values struct { + Values *[]LocalNetworkGateway `json:"value"` + } + if err = resp.Unmarshal(&values); err != nil { + return + } + + result.Model = values.Values + + return +} + +// ListComplete retrieves all the results into a single object +func (c LocalNetworkGatewaysClient) ListComplete(ctx context.Context, id commonids.ResourceGroupId) (ListCompleteResult, error) { + return c.ListCompleteMatchingPredicate(ctx, id, LocalNetworkGatewayOperationPredicate{}) +} + +// ListCompleteMatchingPredicate retrieves all the results and then applies the predicate +func (c LocalNetworkGatewaysClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate LocalNetworkGatewayOperationPredicate) (result ListCompleteResult, err error) { + items := make([]LocalNetworkGateway, 0) + + resp, err := c.List(ctx, id) + if err != nil { + result.LatestHttpResponse = resp.HttpResponse + err = fmt.Errorf("loading results: %+v", err) + return + } + if resp.Model != nil { + for _, v := range *resp.Model { + if predicate.Matches(v) { + items = append(items, v) + } + } + } + + result = ListCompleteResult{ + LatestHttpResponse: resp.HttpResponse, + Items: items, + } + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/localnetworkgateways/method_updatetags.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/localnetworkgateways/method_updatetags.go new file mode 100644 index 000000000000..cacff76aaeba --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/localnetworkgateways/method_updatetags.go @@ -0,0 +1,57 @@ +package localnetworkgateways + +import ( + "context" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type UpdateTagsOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *LocalNetworkGateway +} + +// UpdateTags ... +func (c LocalNetworkGatewaysClient) UpdateTags(ctx context.Context, id LocalNetworkGatewayId, input TagsObject) (result UpdateTagsOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodPatch, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + if err = req.Marshal(input); err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var model LocalNetworkGateway + result.Model = &model + if err = resp.Unmarshal(result.Model); err != nil { + return + } + + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/localnetworkgateways/model_addressspace.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/localnetworkgateways/model_addressspace.go new file mode 100644 index 000000000000..232140416bfa --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/localnetworkgateways/model_addressspace.go @@ -0,0 +1,8 @@ +package localnetworkgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type AddressSpace struct { + AddressPrefixes *[]string `json:"addressPrefixes,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/localnetworkgateways/model_bgpsettings.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/localnetworkgateways/model_bgpsettings.go new file mode 100644 index 000000000000..9d3dfccb4b16 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/localnetworkgateways/model_bgpsettings.go @@ -0,0 +1,11 @@ +package localnetworkgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type BgpSettings struct { + Asn *int64 `json:"asn,omitempty"` + BgpPeeringAddress *string `json:"bgpPeeringAddress,omitempty"` + BgpPeeringAddresses *[]IPConfigurationBgpPeeringAddress `json:"bgpPeeringAddresses,omitempty"` + PeerWeight *int64 `json:"peerWeight,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/localnetworkgateways/model_ipconfigurationbgppeeringaddress.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/localnetworkgateways/model_ipconfigurationbgppeeringaddress.go new file mode 100644 index 000000000000..4778a80b432b --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/localnetworkgateways/model_ipconfigurationbgppeeringaddress.go @@ -0,0 +1,11 @@ +package localnetworkgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type IPConfigurationBgpPeeringAddress struct { + CustomBgpIPAddresses *[]string `json:"customBgpIpAddresses,omitempty"` + DefaultBgpIPAddresses *[]string `json:"defaultBgpIpAddresses,omitempty"` + IPconfigurationId *string `json:"ipconfigurationId,omitempty"` + TunnelIPAddresses *[]string `json:"tunnelIpAddresses,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/localnetworkgateways/model_localnetworkgateway.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/localnetworkgateways/model_localnetworkgateway.go new file mode 100644 index 000000000000..684fe705afc2 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/localnetworkgateways/model_localnetworkgateway.go @@ -0,0 +1,14 @@ +package localnetworkgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type LocalNetworkGateway struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Location *string `json:"location,omitempty"` + Name *string `json:"name,omitempty"` + Properties LocalNetworkGatewayPropertiesFormat `json:"properties"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/localnetworkgateways/model_localnetworkgatewaypropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/localnetworkgateways/model_localnetworkgatewaypropertiesformat.go new file mode 100644 index 000000000000..fb7a91a8c718 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/localnetworkgateways/model_localnetworkgatewaypropertiesformat.go @@ -0,0 +1,13 @@ +package localnetworkgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type LocalNetworkGatewayPropertiesFormat struct { + BgpSettings *BgpSettings `json:"bgpSettings,omitempty"` + Fqdn *string `json:"fqdn,omitempty"` + GatewayIPAddress *string `json:"gatewayIpAddress,omitempty"` + LocalNetworkAddressSpace *AddressSpace `json:"localNetworkAddressSpace,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + ResourceGuid *string `json:"resourceGuid,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/localnetworkgateways/model_tagsobject.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/localnetworkgateways/model_tagsobject.go new file mode 100644 index 000000000000..214a0886d9b0 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/localnetworkgateways/model_tagsobject.go @@ -0,0 +1,8 @@ +package localnetworkgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type TagsObject struct { + Tags *map[string]string `json:"tags,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/localnetworkgateways/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/localnetworkgateways/predicates.go new file mode 100644 index 000000000000..d4e529f8a9c9 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/localnetworkgateways/predicates.go @@ -0,0 +1,37 @@ +package localnetworkgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type LocalNetworkGatewayOperationPredicate struct { + Etag *string + Id *string + Location *string + Name *string + Type *string +} + +func (p LocalNetworkGatewayOperationPredicate) Matches(input LocalNetworkGateway) bool { + + if p.Etag != nil && (input.Etag == nil || *p.Etag != *input.Etag) { + return false + } + + if p.Id != nil && (input.Id == nil || *p.Id != *input.Id) { + return false + } + + if p.Location != nil && (input.Location == nil || *p.Location != *input.Location) { + return false + } + + if p.Name != nil && (input.Name == nil || *p.Name != *input.Name) { + return false + } + + if p.Type != nil && (input.Type == nil || *p.Type != *input.Type) { + return false + } + + return true +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/localnetworkgateways/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/localnetworkgateways/version.go new file mode 100644 index 000000000000..1df60b622e27 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/localnetworkgateways/version.go @@ -0,0 +1,10 @@ +package localnetworkgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2024-03-01" + +func userAgent() string { + return "hashicorp/go-azure-sdk/localnetworkgateways/2024-03-01" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/natgateways/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/natgateways/README.md new file mode 100644 index 000000000000..fabc87cdca76 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/natgateways/README.md @@ -0,0 +1,121 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/natgateways` Documentation + +The `natgateways` SDK allows for interaction with Azure Resource Manager `network` (API Version `2024-03-01`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" +import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/natgateways" +``` + + +### Client Initialization + +```go +client := natgateways.NewNatGatewaysClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `NatGatewaysClient.CreateOrUpdate` + +```go +ctx := context.TODO() +id := natgateways.NewNatGatewayID("12345678-1234-9876-4563-123456789012", "example-resource-group", "natGatewayName") + +payload := natgateways.NatGateway{ + // ... +} + + +if err := client.CreateOrUpdateThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `NatGatewaysClient.Delete` + +```go +ctx := context.TODO() +id := natgateways.NewNatGatewayID("12345678-1234-9876-4563-123456789012", "example-resource-group", "natGatewayName") + +if err := client.DeleteThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `NatGatewaysClient.Get` + +```go +ctx := context.TODO() +id := natgateways.NewNatGatewayID("12345678-1234-9876-4563-123456789012", "example-resource-group", "natGatewayName") + +read, err := client.Get(ctx, id, natgateways.DefaultGetOperationOptions()) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `NatGatewaysClient.List` + +```go +ctx := context.TODO() +id := commonids.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group") + +// alternatively `client.List(ctx, id)` can be used to do batched pagination +items, err := client.ListComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `NatGatewaysClient.ListAll` + +```go +ctx := context.TODO() +id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012") + +// alternatively `client.ListAll(ctx, id)` can be used to do batched pagination +items, err := client.ListAllComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `NatGatewaysClient.UpdateTags` + +```go +ctx := context.TODO() +id := natgateways.NewNatGatewayID("12345678-1234-9876-4563-123456789012", "example-resource-group", "natGatewayName") + +payload := natgateways.TagsObject{ + // ... +} + + +read, err := client.UpdateTags(ctx, id, payload) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/natgateways/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/natgateways/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/natgateways/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/natgateways/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/natgateways/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/natgateways/constants.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/natgateways/constants.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/natgateways/constants.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/natgateways/id_natgateway.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/natgateways/id_natgateway.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/natgateways/id_natgateway.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/natgateways/id_natgateway.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/natgateways/method_createorupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/natgateways/method_createorupdate.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/natgateways/method_createorupdate.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/natgateways/method_createorupdate.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/natgateways/method_delete.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/natgateways/method_delete.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/natgateways/method_delete.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/natgateways/method_delete.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/natgateways/method_get.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/natgateways/method_get.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/natgateways/method_get.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/natgateways/method_get.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/natgateways/method_list.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/natgateways/method_list.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/natgateways/method_list.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/natgateways/method_list.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/natgateways/method_listall.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/natgateways/method_listall.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/natgateways/method_listall.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/natgateways/method_listall.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/natgateways/method_updatetags.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/natgateways/method_updatetags.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/natgateways/method_updatetags.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/natgateways/method_updatetags.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/natgateways/model_natgateway.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/natgateways/model_natgateway.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/natgateways/model_natgateway.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/natgateways/model_natgateway.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/natgateways/model_natgatewaypropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/natgateways/model_natgatewaypropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/natgateways/model_natgatewaypropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/natgateways/model_natgatewaypropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/natgateways/model_natgatewaysku.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/natgateways/model_natgatewaysku.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/natgateways/model_natgatewaysku.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/natgateways/model_natgatewaysku.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/natgateways/model_subresource.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/natgateways/model_subresource.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/natgateways/model_subresource.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/natgateways/model_subresource.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/natgateways/model_tagsobject.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/natgateways/model_tagsobject.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/natgateways/model_tagsobject.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/natgateways/model_tagsobject.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/natgateways/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/natgateways/predicates.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/natgateways/predicates.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/natgateways/predicates.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/natgateways/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/natgateways/version.go new file mode 100644 index 000000000000..6c1796fb413c --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/natgateways/version.go @@ -0,0 +1,10 @@ +package natgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2024-03-01" + +func userAgent() string { + return "hashicorp/go-azure-sdk/natgateways/2024-03-01" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkgroups/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkgroups/README.md new file mode 100644 index 000000000000..ee63df441117 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkgroups/README.md @@ -0,0 +1,86 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkgroups` Documentation + +The `networkgroups` SDK allows for interaction with Azure Resource Manager `network` (API Version `2024-03-01`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkgroups" +``` + + +### Client Initialization + +```go +client := networkgroups.NewNetworkGroupsClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `NetworkGroupsClient.CreateOrUpdate` + +```go +ctx := context.TODO() +id := networkgroups.NewNetworkGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkManagerName", "networkGroupName") + +payload := networkgroups.NetworkGroup{ + // ... +} + + +read, err := client.CreateOrUpdate(ctx, id, payload, networkgroups.DefaultCreateOrUpdateOperationOptions()) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `NetworkGroupsClient.Delete` + +```go +ctx := context.TODO() +id := networkgroups.NewNetworkGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkManagerName", "networkGroupName") + +if err := client.DeleteThenPoll(ctx, id, networkgroups.DefaultDeleteOperationOptions()); err != nil { + // handle the error +} +``` + + +### Example Usage: `NetworkGroupsClient.Get` + +```go +ctx := context.TODO() +id := networkgroups.NewNetworkGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkManagerName", "networkGroupName") + +read, err := client.Get(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `NetworkGroupsClient.List` + +```go +ctx := context.TODO() +id := networkgroups.NewNetworkManagerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkManagerName") + +// alternatively `client.List(ctx, id, networkgroups.DefaultListOperationOptions())` can be used to do batched pagination +items, err := client.ListComplete(ctx, id, networkgroups.DefaultListOperationOptions()) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkgroups/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkgroups/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkgroups/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkgroups/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkgroups/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkgroups/constants.go new file mode 100644 index 000000000000..2418286fbc5f --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkgroups/constants.go @@ -0,0 +1,98 @@ +package networkgroups + +import ( + "encoding/json" + "fmt" + "strings" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type GroupMemberType string + +const ( + GroupMemberTypeSubnet GroupMemberType = "Subnet" + GroupMemberTypeVirtualNetwork GroupMemberType = "VirtualNetwork" +) + +func PossibleValuesForGroupMemberType() []string { + return []string{ + string(GroupMemberTypeSubnet), + string(GroupMemberTypeVirtualNetwork), + } +} + +func (s *GroupMemberType) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseGroupMemberType(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseGroupMemberType(input string) (*GroupMemberType, error) { + vals := map[string]GroupMemberType{ + "subnet": GroupMemberTypeSubnet, + "virtualnetwork": GroupMemberTypeVirtualNetwork, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := GroupMemberType(input) + return &out, nil +} + +type ProvisioningState string + +const ( + ProvisioningStateDeleting ProvisioningState = "Deleting" + ProvisioningStateFailed ProvisioningState = "Failed" + ProvisioningStateSucceeded ProvisioningState = "Succeeded" + ProvisioningStateUpdating ProvisioningState = "Updating" +) + +func PossibleValuesForProvisioningState() []string { + return []string{ + string(ProvisioningStateDeleting), + string(ProvisioningStateFailed), + string(ProvisioningStateSucceeded), + string(ProvisioningStateUpdating), + } +} + +func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseProvisioningState(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseProvisioningState(input string) (*ProvisioningState, error) { + vals := map[string]ProvisioningState{ + "deleting": ProvisioningStateDeleting, + "failed": ProvisioningStateFailed, + "succeeded": ProvisioningStateSucceeded, + "updating": ProvisioningStateUpdating, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ProvisioningState(input) + return &out, nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkgroups/id_networkgroup.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkgroups/id_networkgroup.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkgroups/id_networkgroup.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkgroups/id_networkgroup.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkgroups/id_networkmanager.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkgroups/id_networkmanager.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkgroups/id_networkmanager.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkgroups/id_networkmanager.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkgroups/method_createorupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkgroups/method_createorupdate.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkgroups/method_createorupdate.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkgroups/method_createorupdate.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkgroups/method_delete.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkgroups/method_delete.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkgroups/method_delete.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkgroups/method_delete.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkgroups/method_get.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkgroups/method_get.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkgroups/method_get.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkgroups/method_get.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkgroups/method_list.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkgroups/method_list.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkgroups/method_list.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkgroups/method_list.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkgroups/model_networkgroup.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkgroups/model_networkgroup.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkgroups/model_networkgroup.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkgroups/model_networkgroup.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkgroups/model_networkgroupproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkgroups/model_networkgroupproperties.go new file mode 100644 index 000000000000..e964c5275117 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkgroups/model_networkgroupproperties.go @@ -0,0 +1,11 @@ +package networkgroups + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NetworkGroupProperties struct { + Description *string `json:"description,omitempty"` + MemberType *GroupMemberType `json:"memberType,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + ResourceGuid *string `json:"resourceGuid,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkgroups/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkgroups/predicates.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkgroups/predicates.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkgroups/predicates.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkgroups/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkgroups/version.go new file mode 100644 index 000000000000..e4a848981bf7 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkgroups/version.go @@ -0,0 +1,10 @@ +package networkgroups + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2024-03-01" + +func userAgent() string { + return "hashicorp/go-azure-sdk/networkgroups/2024-03-01" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/README.md new file mode 100644 index 000000000000..91f00dd53780 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/README.md @@ -0,0 +1,400 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces` Documentation + +The `networkinterfaces` SDK allows for interaction with Azure Resource Manager `network` (API Version `2024-03-01`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" +import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces" +``` + + +### Client Initialization + +```go +client := networkinterfaces.NewNetworkInterfacesClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `NetworkInterfacesClient.CreateOrUpdate` + +```go +ctx := context.TODO() +id := commonids.NewNetworkInterfaceID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkInterfaceName") + +payload := networkinterfaces.NetworkInterface{ + // ... +} + + +if err := client.CreateOrUpdateThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `NetworkInterfacesClient.Delete` + +```go +ctx := context.TODO() +id := commonids.NewNetworkInterfaceID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkInterfaceName") + +if err := client.DeleteThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `NetworkInterfacesClient.Get` + +```go +ctx := context.TODO() +id := commonids.NewNetworkInterfaceID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkInterfaceName") + +read, err := client.Get(ctx, id, networkinterfaces.DefaultGetOperationOptions()) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `NetworkInterfacesClient.GetCloudServiceNetworkInterface` + +```go +ctx := context.TODO() +id := networkinterfaces.NewRoleInstanceNetworkInterfaceID("12345678-1234-9876-4563-123456789012", "example-resource-group", "cloudServiceName", "roleInstanceName", "networkInterfaceName") + +read, err := client.GetCloudServiceNetworkInterface(ctx, id, networkinterfaces.DefaultGetCloudServiceNetworkInterfaceOperationOptions()) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `NetworkInterfacesClient.GetEffectiveRouteTable` + +```go +ctx := context.TODO() +id := commonids.NewNetworkInterfaceID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkInterfaceName") + +// alternatively `client.GetEffectiveRouteTable(ctx, id)` can be used to do batched pagination +items, err := client.GetEffectiveRouteTableComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `NetworkInterfacesClient.GetVirtualMachineScaleSetIPConfiguration` + +```go +ctx := context.TODO() +id := commonids.NewVirtualMachineScaleSetIPConfigurationID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualMachineScaleSetName", "virtualMachineName", "networkInterfaceName", "ipConfigurationName") + +read, err := client.GetVirtualMachineScaleSetIPConfiguration(ctx, id, networkinterfaces.DefaultGetVirtualMachineScaleSetIPConfigurationOperationOptions()) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `NetworkInterfacesClient.GetVirtualMachineScaleSetNetworkInterface` + +```go +ctx := context.TODO() +id := commonids.NewVirtualMachineScaleSetNetworkInterfaceID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualMachineScaleSetName", "virtualMachineName", "networkInterfaceName") + +read, err := client.GetVirtualMachineScaleSetNetworkInterface(ctx, id, networkinterfaces.DefaultGetVirtualMachineScaleSetNetworkInterfaceOperationOptions()) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `NetworkInterfacesClient.List` + +```go +ctx := context.TODO() +id := commonids.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group") + +// alternatively `client.List(ctx, id)` can be used to do batched pagination +items, err := client.ListComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `NetworkInterfacesClient.ListAll` + +```go +ctx := context.TODO() +id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012") + +// alternatively `client.ListAll(ctx, id)` can be used to do batched pagination +items, err := client.ListAllComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `NetworkInterfacesClient.ListCloudServiceNetworkInterfaces` + +```go +ctx := context.TODO() +id := networkinterfaces.NewProviderCloudServiceID("12345678-1234-9876-4563-123456789012", "example-resource-group", "cloudServiceName") + +// alternatively `client.ListCloudServiceNetworkInterfaces(ctx, id)` can be used to do batched pagination +items, err := client.ListCloudServiceNetworkInterfacesComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `NetworkInterfacesClient.ListCloudServiceRoleInstanceNetworkInterfaces` + +```go +ctx := context.TODO() +id := networkinterfaces.NewRoleInstanceID("12345678-1234-9876-4563-123456789012", "example-resource-group", "cloudServiceName", "roleInstanceName") + +// alternatively `client.ListCloudServiceRoleInstanceNetworkInterfaces(ctx, id)` can be used to do batched pagination +items, err := client.ListCloudServiceRoleInstanceNetworkInterfacesComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `NetworkInterfacesClient.ListEffectiveNetworkSecurityGroups` + +```go +ctx := context.TODO() +id := commonids.NewNetworkInterfaceID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkInterfaceName") + +// alternatively `client.ListEffectiveNetworkSecurityGroups(ctx, id)` can be used to do batched pagination +items, err := client.ListEffectiveNetworkSecurityGroupsComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `NetworkInterfacesClient.ListVirtualMachineScaleSetIPConfigurations` + +```go +ctx := context.TODO() +id := commonids.NewVirtualMachineScaleSetNetworkInterfaceID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualMachineScaleSetName", "virtualMachineName", "networkInterfaceName") + +// alternatively `client.ListVirtualMachineScaleSetIPConfigurations(ctx, id, networkinterfaces.DefaultListVirtualMachineScaleSetIPConfigurationsOperationOptions())` can be used to do batched pagination +items, err := client.ListVirtualMachineScaleSetIPConfigurationsComplete(ctx, id, networkinterfaces.DefaultListVirtualMachineScaleSetIPConfigurationsOperationOptions()) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `NetworkInterfacesClient.ListVirtualMachineScaleSetNetworkInterfaces` + +```go +ctx := context.TODO() +id := networkinterfaces.NewVirtualMachineScaleSetID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualMachineScaleSetName") + +// alternatively `client.ListVirtualMachineScaleSetNetworkInterfaces(ctx, id)` can be used to do batched pagination +items, err := client.ListVirtualMachineScaleSetNetworkInterfacesComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `NetworkInterfacesClient.ListVirtualMachineScaleSetVMNetworkInterfaces` + +```go +ctx := context.TODO() +id := networkinterfaces.NewVirtualMachineID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualMachineScaleSetName", "virtualMachineName") + +// alternatively `client.ListVirtualMachineScaleSetVMNetworkInterfaces(ctx, id)` can be used to do batched pagination +items, err := client.ListVirtualMachineScaleSetVMNetworkInterfacesComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `NetworkInterfacesClient.NetworkInterfaceIPConfigurationsGet` + +```go +ctx := context.TODO() +id := commonids.NewNetworkInterfaceIPConfigurationID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkInterfaceName", "ipConfigurationName") + +read, err := client.NetworkInterfaceIPConfigurationsGet(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `NetworkInterfacesClient.NetworkInterfaceIPConfigurationsList` + +```go +ctx := context.TODO() +id := commonids.NewNetworkInterfaceID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkInterfaceName") + +// alternatively `client.NetworkInterfaceIPConfigurationsList(ctx, id)` can be used to do batched pagination +items, err := client.NetworkInterfaceIPConfigurationsListComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `NetworkInterfacesClient.NetworkInterfaceLoadBalancersList` + +```go +ctx := context.TODO() +id := commonids.NewNetworkInterfaceID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkInterfaceName") + +// alternatively `client.NetworkInterfaceLoadBalancersList(ctx, id)` can be used to do batched pagination +items, err := client.NetworkInterfaceLoadBalancersListComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `NetworkInterfacesClient.NetworkInterfaceTapConfigurationsCreateOrUpdate` + +```go +ctx := context.TODO() +id := networkinterfaces.NewTapConfigurationID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkInterfaceName", "tapConfigurationName") + +payload := networkinterfaces.NetworkInterfaceTapConfiguration{ + // ... +} + + +if err := client.NetworkInterfaceTapConfigurationsCreateOrUpdateThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `NetworkInterfacesClient.NetworkInterfaceTapConfigurationsDelete` + +```go +ctx := context.TODO() +id := networkinterfaces.NewTapConfigurationID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkInterfaceName", "tapConfigurationName") + +if err := client.NetworkInterfaceTapConfigurationsDeleteThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `NetworkInterfacesClient.NetworkInterfaceTapConfigurationsGet` + +```go +ctx := context.TODO() +id := networkinterfaces.NewTapConfigurationID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkInterfaceName", "tapConfigurationName") + +read, err := client.NetworkInterfaceTapConfigurationsGet(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `NetworkInterfacesClient.NetworkInterfaceTapConfigurationsList` + +```go +ctx := context.TODO() +id := commonids.NewNetworkInterfaceID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkInterfaceName") + +// alternatively `client.NetworkInterfaceTapConfigurationsList(ctx, id)` can be used to do batched pagination +items, err := client.NetworkInterfaceTapConfigurationsListComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `NetworkInterfacesClient.UpdateTags` + +```go +ctx := context.TODO() +id := commonids.NewNetworkInterfaceID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkInterfaceName") + +payload := networkinterfaces.TagsObject{ + // ... +} + + +read, err := client.UpdateTags(ctx, id, payload) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/constants.go new file mode 100644 index 000000000000..cf88bae168b4 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/constants.go @@ -0,0 +1,1588 @@ +package networkinterfaces + +import ( + "encoding/json" + "fmt" + "strings" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type DdosSettingsProtectionMode string + +const ( + DdosSettingsProtectionModeDisabled DdosSettingsProtectionMode = "Disabled" + DdosSettingsProtectionModeEnabled DdosSettingsProtectionMode = "Enabled" + DdosSettingsProtectionModeVirtualNetworkInherited DdosSettingsProtectionMode = "VirtualNetworkInherited" +) + +func PossibleValuesForDdosSettingsProtectionMode() []string { + return []string{ + string(DdosSettingsProtectionModeDisabled), + string(DdosSettingsProtectionModeEnabled), + string(DdosSettingsProtectionModeVirtualNetworkInherited), + } +} + +func (s *DdosSettingsProtectionMode) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseDdosSettingsProtectionMode(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseDdosSettingsProtectionMode(input string) (*DdosSettingsProtectionMode, error) { + vals := map[string]DdosSettingsProtectionMode{ + "disabled": DdosSettingsProtectionModeDisabled, + "enabled": DdosSettingsProtectionModeEnabled, + "virtualnetworkinherited": DdosSettingsProtectionModeVirtualNetworkInherited, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := DdosSettingsProtectionMode(input) + return &out, nil +} + +type DeleteOptions string + +const ( + DeleteOptionsDelete DeleteOptions = "Delete" + DeleteOptionsDetach DeleteOptions = "Detach" +) + +func PossibleValuesForDeleteOptions() []string { + return []string{ + string(DeleteOptionsDelete), + string(DeleteOptionsDetach), + } +} + +func (s *DeleteOptions) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseDeleteOptions(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseDeleteOptions(input string) (*DeleteOptions, error) { + vals := map[string]DeleteOptions{ + "delete": DeleteOptionsDelete, + "detach": DeleteOptionsDetach, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := DeleteOptions(input) + return &out, nil +} + +type EffectiveRouteSource string + +const ( + EffectiveRouteSourceDefault EffectiveRouteSource = "Default" + EffectiveRouteSourceUnknown EffectiveRouteSource = "Unknown" + EffectiveRouteSourceUser EffectiveRouteSource = "User" + EffectiveRouteSourceVirtualNetworkGateway EffectiveRouteSource = "VirtualNetworkGateway" +) + +func PossibleValuesForEffectiveRouteSource() []string { + return []string{ + string(EffectiveRouteSourceDefault), + string(EffectiveRouteSourceUnknown), + string(EffectiveRouteSourceUser), + string(EffectiveRouteSourceVirtualNetworkGateway), + } +} + +func (s *EffectiveRouteSource) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseEffectiveRouteSource(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseEffectiveRouteSource(input string) (*EffectiveRouteSource, error) { + vals := map[string]EffectiveRouteSource{ + "default": EffectiveRouteSourceDefault, + "unknown": EffectiveRouteSourceUnknown, + "user": EffectiveRouteSourceUser, + "virtualnetworkgateway": EffectiveRouteSourceVirtualNetworkGateway, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := EffectiveRouteSource(input) + return &out, nil +} + +type EffectiveRouteState string + +const ( + EffectiveRouteStateActive EffectiveRouteState = "Active" + EffectiveRouteStateInvalid EffectiveRouteState = "Invalid" +) + +func PossibleValuesForEffectiveRouteState() []string { + return []string{ + string(EffectiveRouteStateActive), + string(EffectiveRouteStateInvalid), + } +} + +func (s *EffectiveRouteState) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseEffectiveRouteState(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseEffectiveRouteState(input string) (*EffectiveRouteState, error) { + vals := map[string]EffectiveRouteState{ + "active": EffectiveRouteStateActive, + "invalid": EffectiveRouteStateInvalid, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := EffectiveRouteState(input) + return &out, nil +} + +type EffectiveSecurityRuleProtocol string + +const ( + EffectiveSecurityRuleProtocolAll EffectiveSecurityRuleProtocol = "All" + EffectiveSecurityRuleProtocolTcp EffectiveSecurityRuleProtocol = "Tcp" + EffectiveSecurityRuleProtocolUdp EffectiveSecurityRuleProtocol = "Udp" +) + +func PossibleValuesForEffectiveSecurityRuleProtocol() []string { + return []string{ + string(EffectiveSecurityRuleProtocolAll), + string(EffectiveSecurityRuleProtocolTcp), + string(EffectiveSecurityRuleProtocolUdp), + } +} + +func (s *EffectiveSecurityRuleProtocol) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseEffectiveSecurityRuleProtocol(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseEffectiveSecurityRuleProtocol(input string) (*EffectiveSecurityRuleProtocol, error) { + vals := map[string]EffectiveSecurityRuleProtocol{ + "all": EffectiveSecurityRuleProtocolAll, + "tcp": EffectiveSecurityRuleProtocolTcp, + "udp": EffectiveSecurityRuleProtocolUdp, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := EffectiveSecurityRuleProtocol(input) + return &out, nil +} + +type FlowLogFormatType string + +const ( + FlowLogFormatTypeJSON FlowLogFormatType = "JSON" +) + +func PossibleValuesForFlowLogFormatType() []string { + return []string{ + string(FlowLogFormatTypeJSON), + } +} + +func (s *FlowLogFormatType) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseFlowLogFormatType(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseFlowLogFormatType(input string) (*FlowLogFormatType, error) { + vals := map[string]FlowLogFormatType{ + "json": FlowLogFormatTypeJSON, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := FlowLogFormatType(input) + return &out, nil +} + +type GatewayLoadBalancerTunnelInterfaceType string + +const ( + GatewayLoadBalancerTunnelInterfaceTypeExternal GatewayLoadBalancerTunnelInterfaceType = "External" + GatewayLoadBalancerTunnelInterfaceTypeInternal GatewayLoadBalancerTunnelInterfaceType = "Internal" + GatewayLoadBalancerTunnelInterfaceTypeNone GatewayLoadBalancerTunnelInterfaceType = "None" +) + +func PossibleValuesForGatewayLoadBalancerTunnelInterfaceType() []string { + return []string{ + string(GatewayLoadBalancerTunnelInterfaceTypeExternal), + string(GatewayLoadBalancerTunnelInterfaceTypeInternal), + string(GatewayLoadBalancerTunnelInterfaceTypeNone), + } +} + +func (s *GatewayLoadBalancerTunnelInterfaceType) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseGatewayLoadBalancerTunnelInterfaceType(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseGatewayLoadBalancerTunnelInterfaceType(input string) (*GatewayLoadBalancerTunnelInterfaceType, error) { + vals := map[string]GatewayLoadBalancerTunnelInterfaceType{ + "external": GatewayLoadBalancerTunnelInterfaceTypeExternal, + "internal": GatewayLoadBalancerTunnelInterfaceTypeInternal, + "none": GatewayLoadBalancerTunnelInterfaceTypeNone, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := GatewayLoadBalancerTunnelInterfaceType(input) + return &out, nil +} + +type GatewayLoadBalancerTunnelProtocol string + +const ( + GatewayLoadBalancerTunnelProtocolNative GatewayLoadBalancerTunnelProtocol = "Native" + GatewayLoadBalancerTunnelProtocolNone GatewayLoadBalancerTunnelProtocol = "None" + GatewayLoadBalancerTunnelProtocolVXLAN GatewayLoadBalancerTunnelProtocol = "VXLAN" +) + +func PossibleValuesForGatewayLoadBalancerTunnelProtocol() []string { + return []string{ + string(GatewayLoadBalancerTunnelProtocolNative), + string(GatewayLoadBalancerTunnelProtocolNone), + string(GatewayLoadBalancerTunnelProtocolVXLAN), + } +} + +func (s *GatewayLoadBalancerTunnelProtocol) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseGatewayLoadBalancerTunnelProtocol(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseGatewayLoadBalancerTunnelProtocol(input string) (*GatewayLoadBalancerTunnelProtocol, error) { + vals := map[string]GatewayLoadBalancerTunnelProtocol{ + "native": GatewayLoadBalancerTunnelProtocolNative, + "none": GatewayLoadBalancerTunnelProtocolNone, + "vxlan": GatewayLoadBalancerTunnelProtocolVXLAN, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := GatewayLoadBalancerTunnelProtocol(input) + return &out, nil +} + +type IPAllocationMethod string + +const ( + IPAllocationMethodDynamic IPAllocationMethod = "Dynamic" + IPAllocationMethodStatic IPAllocationMethod = "Static" +) + +func PossibleValuesForIPAllocationMethod() []string { + return []string{ + string(IPAllocationMethodDynamic), + string(IPAllocationMethodStatic), + } +} + +func (s *IPAllocationMethod) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseIPAllocationMethod(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseIPAllocationMethod(input string) (*IPAllocationMethod, error) { + vals := map[string]IPAllocationMethod{ + "dynamic": IPAllocationMethodDynamic, + "static": IPAllocationMethodStatic, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := IPAllocationMethod(input) + return &out, nil +} + +type IPVersion string + +const ( + IPVersionIPvFour IPVersion = "IPv4" + IPVersionIPvSix IPVersion = "IPv6" +) + +func PossibleValuesForIPVersion() []string { + return []string{ + string(IPVersionIPvFour), + string(IPVersionIPvSix), + } +} + +func (s *IPVersion) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseIPVersion(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseIPVersion(input string) (*IPVersion, error) { + vals := map[string]IPVersion{ + "ipv4": IPVersionIPvFour, + "ipv6": IPVersionIPvSix, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := IPVersion(input) + return &out, nil +} + +type LoadBalancerBackendAddressAdminState string + +const ( + LoadBalancerBackendAddressAdminStateDown LoadBalancerBackendAddressAdminState = "Down" + LoadBalancerBackendAddressAdminStateNone LoadBalancerBackendAddressAdminState = "None" + LoadBalancerBackendAddressAdminStateUp LoadBalancerBackendAddressAdminState = "Up" +) + +func PossibleValuesForLoadBalancerBackendAddressAdminState() []string { + return []string{ + string(LoadBalancerBackendAddressAdminStateDown), + string(LoadBalancerBackendAddressAdminStateNone), + string(LoadBalancerBackendAddressAdminStateUp), + } +} + +func (s *LoadBalancerBackendAddressAdminState) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseLoadBalancerBackendAddressAdminState(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseLoadBalancerBackendAddressAdminState(input string) (*LoadBalancerBackendAddressAdminState, error) { + vals := map[string]LoadBalancerBackendAddressAdminState{ + "down": LoadBalancerBackendAddressAdminStateDown, + "none": LoadBalancerBackendAddressAdminStateNone, + "up": LoadBalancerBackendAddressAdminStateUp, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := LoadBalancerBackendAddressAdminState(input) + return &out, nil +} + +type LoadBalancerOutboundRuleProtocol string + +const ( + LoadBalancerOutboundRuleProtocolAll LoadBalancerOutboundRuleProtocol = "All" + LoadBalancerOutboundRuleProtocolTcp LoadBalancerOutboundRuleProtocol = "Tcp" + LoadBalancerOutboundRuleProtocolUdp LoadBalancerOutboundRuleProtocol = "Udp" +) + +func PossibleValuesForLoadBalancerOutboundRuleProtocol() []string { + return []string{ + string(LoadBalancerOutboundRuleProtocolAll), + string(LoadBalancerOutboundRuleProtocolTcp), + string(LoadBalancerOutboundRuleProtocolUdp), + } +} + +func (s *LoadBalancerOutboundRuleProtocol) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseLoadBalancerOutboundRuleProtocol(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseLoadBalancerOutboundRuleProtocol(input string) (*LoadBalancerOutboundRuleProtocol, error) { + vals := map[string]LoadBalancerOutboundRuleProtocol{ + "all": LoadBalancerOutboundRuleProtocolAll, + "tcp": LoadBalancerOutboundRuleProtocolTcp, + "udp": LoadBalancerOutboundRuleProtocolUdp, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := LoadBalancerOutboundRuleProtocol(input) + return &out, nil +} + +type LoadBalancerSkuName string + +const ( + LoadBalancerSkuNameBasic LoadBalancerSkuName = "Basic" + LoadBalancerSkuNameGateway LoadBalancerSkuName = "Gateway" + LoadBalancerSkuNameStandard LoadBalancerSkuName = "Standard" +) + +func PossibleValuesForLoadBalancerSkuName() []string { + return []string{ + string(LoadBalancerSkuNameBasic), + string(LoadBalancerSkuNameGateway), + string(LoadBalancerSkuNameStandard), + } +} + +func (s *LoadBalancerSkuName) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseLoadBalancerSkuName(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseLoadBalancerSkuName(input string) (*LoadBalancerSkuName, error) { + vals := map[string]LoadBalancerSkuName{ + "basic": LoadBalancerSkuNameBasic, + "gateway": LoadBalancerSkuNameGateway, + "standard": LoadBalancerSkuNameStandard, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := LoadBalancerSkuName(input) + return &out, nil +} + +type LoadBalancerSkuTier string + +const ( + LoadBalancerSkuTierGlobal LoadBalancerSkuTier = "Global" + LoadBalancerSkuTierRegional LoadBalancerSkuTier = "Regional" +) + +func PossibleValuesForLoadBalancerSkuTier() []string { + return []string{ + string(LoadBalancerSkuTierGlobal), + string(LoadBalancerSkuTierRegional), + } +} + +func (s *LoadBalancerSkuTier) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseLoadBalancerSkuTier(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseLoadBalancerSkuTier(input string) (*LoadBalancerSkuTier, error) { + vals := map[string]LoadBalancerSkuTier{ + "global": LoadBalancerSkuTierGlobal, + "regional": LoadBalancerSkuTierRegional, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := LoadBalancerSkuTier(input) + return &out, nil +} + +type LoadDistribution string + +const ( + LoadDistributionDefault LoadDistribution = "Default" + LoadDistributionSourceIP LoadDistribution = "SourceIP" + LoadDistributionSourceIPProtocol LoadDistribution = "SourceIPProtocol" +) + +func PossibleValuesForLoadDistribution() []string { + return []string{ + string(LoadDistributionDefault), + string(LoadDistributionSourceIP), + string(LoadDistributionSourceIPProtocol), + } +} + +func (s *LoadDistribution) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseLoadDistribution(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseLoadDistribution(input string) (*LoadDistribution, error) { + vals := map[string]LoadDistribution{ + "default": LoadDistributionDefault, + "sourceip": LoadDistributionSourceIP, + "sourceipprotocol": LoadDistributionSourceIPProtocol, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := LoadDistribution(input) + return &out, nil +} + +type NatGatewaySkuName string + +const ( + NatGatewaySkuNameStandard NatGatewaySkuName = "Standard" +) + +func PossibleValuesForNatGatewaySkuName() []string { + return []string{ + string(NatGatewaySkuNameStandard), + } +} + +func (s *NatGatewaySkuName) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseNatGatewaySkuName(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseNatGatewaySkuName(input string) (*NatGatewaySkuName, error) { + vals := map[string]NatGatewaySkuName{ + "standard": NatGatewaySkuNameStandard, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := NatGatewaySkuName(input) + return &out, nil +} + +type NetworkInterfaceAuxiliaryMode string + +const ( + NetworkInterfaceAuxiliaryModeAcceleratedConnections NetworkInterfaceAuxiliaryMode = "AcceleratedConnections" + NetworkInterfaceAuxiliaryModeFloating NetworkInterfaceAuxiliaryMode = "Floating" + NetworkInterfaceAuxiliaryModeMaxConnections NetworkInterfaceAuxiliaryMode = "MaxConnections" + NetworkInterfaceAuxiliaryModeNone NetworkInterfaceAuxiliaryMode = "None" +) + +func PossibleValuesForNetworkInterfaceAuxiliaryMode() []string { + return []string{ + string(NetworkInterfaceAuxiliaryModeAcceleratedConnections), + string(NetworkInterfaceAuxiliaryModeFloating), + string(NetworkInterfaceAuxiliaryModeMaxConnections), + string(NetworkInterfaceAuxiliaryModeNone), + } +} + +func (s *NetworkInterfaceAuxiliaryMode) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseNetworkInterfaceAuxiliaryMode(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseNetworkInterfaceAuxiliaryMode(input string) (*NetworkInterfaceAuxiliaryMode, error) { + vals := map[string]NetworkInterfaceAuxiliaryMode{ + "acceleratedconnections": NetworkInterfaceAuxiliaryModeAcceleratedConnections, + "floating": NetworkInterfaceAuxiliaryModeFloating, + "maxconnections": NetworkInterfaceAuxiliaryModeMaxConnections, + "none": NetworkInterfaceAuxiliaryModeNone, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := NetworkInterfaceAuxiliaryMode(input) + return &out, nil +} + +type NetworkInterfaceAuxiliarySku string + +const ( + NetworkInterfaceAuxiliarySkuAEight NetworkInterfaceAuxiliarySku = "A8" + NetworkInterfaceAuxiliarySkuAFour NetworkInterfaceAuxiliarySku = "A4" + NetworkInterfaceAuxiliarySkuAOne NetworkInterfaceAuxiliarySku = "A1" + NetworkInterfaceAuxiliarySkuATwo NetworkInterfaceAuxiliarySku = "A2" + NetworkInterfaceAuxiliarySkuNone NetworkInterfaceAuxiliarySku = "None" +) + +func PossibleValuesForNetworkInterfaceAuxiliarySku() []string { + return []string{ + string(NetworkInterfaceAuxiliarySkuAEight), + string(NetworkInterfaceAuxiliarySkuAFour), + string(NetworkInterfaceAuxiliarySkuAOne), + string(NetworkInterfaceAuxiliarySkuATwo), + string(NetworkInterfaceAuxiliarySkuNone), + } +} + +func (s *NetworkInterfaceAuxiliarySku) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseNetworkInterfaceAuxiliarySku(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseNetworkInterfaceAuxiliarySku(input string) (*NetworkInterfaceAuxiliarySku, error) { + vals := map[string]NetworkInterfaceAuxiliarySku{ + "a8": NetworkInterfaceAuxiliarySkuAEight, + "a4": NetworkInterfaceAuxiliarySkuAFour, + "a1": NetworkInterfaceAuxiliarySkuAOne, + "a2": NetworkInterfaceAuxiliarySkuATwo, + "none": NetworkInterfaceAuxiliarySkuNone, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := NetworkInterfaceAuxiliarySku(input) + return &out, nil +} + +type NetworkInterfaceMigrationPhase string + +const ( + NetworkInterfaceMigrationPhaseAbort NetworkInterfaceMigrationPhase = "Abort" + NetworkInterfaceMigrationPhaseCommit NetworkInterfaceMigrationPhase = "Commit" + NetworkInterfaceMigrationPhaseCommitted NetworkInterfaceMigrationPhase = "Committed" + NetworkInterfaceMigrationPhaseNone NetworkInterfaceMigrationPhase = "None" + NetworkInterfaceMigrationPhasePrepare NetworkInterfaceMigrationPhase = "Prepare" +) + +func PossibleValuesForNetworkInterfaceMigrationPhase() []string { + return []string{ + string(NetworkInterfaceMigrationPhaseAbort), + string(NetworkInterfaceMigrationPhaseCommit), + string(NetworkInterfaceMigrationPhaseCommitted), + string(NetworkInterfaceMigrationPhaseNone), + string(NetworkInterfaceMigrationPhasePrepare), + } +} + +func (s *NetworkInterfaceMigrationPhase) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseNetworkInterfaceMigrationPhase(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseNetworkInterfaceMigrationPhase(input string) (*NetworkInterfaceMigrationPhase, error) { + vals := map[string]NetworkInterfaceMigrationPhase{ + "abort": NetworkInterfaceMigrationPhaseAbort, + "commit": NetworkInterfaceMigrationPhaseCommit, + "committed": NetworkInterfaceMigrationPhaseCommitted, + "none": NetworkInterfaceMigrationPhaseNone, + "prepare": NetworkInterfaceMigrationPhasePrepare, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := NetworkInterfaceMigrationPhase(input) + return &out, nil +} + +type NetworkInterfaceNicType string + +const ( + NetworkInterfaceNicTypeElastic NetworkInterfaceNicType = "Elastic" + NetworkInterfaceNicTypeStandard NetworkInterfaceNicType = "Standard" +) + +func PossibleValuesForNetworkInterfaceNicType() []string { + return []string{ + string(NetworkInterfaceNicTypeElastic), + string(NetworkInterfaceNicTypeStandard), + } +} + +func (s *NetworkInterfaceNicType) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseNetworkInterfaceNicType(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseNetworkInterfaceNicType(input string) (*NetworkInterfaceNicType, error) { + vals := map[string]NetworkInterfaceNicType{ + "elastic": NetworkInterfaceNicTypeElastic, + "standard": NetworkInterfaceNicTypeStandard, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := NetworkInterfaceNicType(input) + return &out, nil +} + +type ProbeNoHealthyBackendsBehavior string + +const ( + ProbeNoHealthyBackendsBehaviorAllProbedDown ProbeNoHealthyBackendsBehavior = "AllProbedDown" + ProbeNoHealthyBackendsBehaviorAllProbedUp ProbeNoHealthyBackendsBehavior = "AllProbedUp" +) + +func PossibleValuesForProbeNoHealthyBackendsBehavior() []string { + return []string{ + string(ProbeNoHealthyBackendsBehaviorAllProbedDown), + string(ProbeNoHealthyBackendsBehaviorAllProbedUp), + } +} + +func (s *ProbeNoHealthyBackendsBehavior) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseProbeNoHealthyBackendsBehavior(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseProbeNoHealthyBackendsBehavior(input string) (*ProbeNoHealthyBackendsBehavior, error) { + vals := map[string]ProbeNoHealthyBackendsBehavior{ + "allprobeddown": ProbeNoHealthyBackendsBehaviorAllProbedDown, + "allprobedup": ProbeNoHealthyBackendsBehaviorAllProbedUp, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ProbeNoHealthyBackendsBehavior(input) + return &out, nil +} + +type ProbeProtocol string + +const ( + ProbeProtocolHTTP ProbeProtocol = "Http" + ProbeProtocolHTTPS ProbeProtocol = "Https" + ProbeProtocolTcp ProbeProtocol = "Tcp" +) + +func PossibleValuesForProbeProtocol() []string { + return []string{ + string(ProbeProtocolHTTP), + string(ProbeProtocolHTTPS), + string(ProbeProtocolTcp), + } +} + +func (s *ProbeProtocol) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseProbeProtocol(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseProbeProtocol(input string) (*ProbeProtocol, error) { + vals := map[string]ProbeProtocol{ + "http": ProbeProtocolHTTP, + "https": ProbeProtocolHTTPS, + "tcp": ProbeProtocolTcp, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ProbeProtocol(input) + return &out, nil +} + +type ProvisioningState string + +const ( + ProvisioningStateDeleting ProvisioningState = "Deleting" + ProvisioningStateFailed ProvisioningState = "Failed" + ProvisioningStateSucceeded ProvisioningState = "Succeeded" + ProvisioningStateUpdating ProvisioningState = "Updating" +) + +func PossibleValuesForProvisioningState() []string { + return []string{ + string(ProvisioningStateDeleting), + string(ProvisioningStateFailed), + string(ProvisioningStateSucceeded), + string(ProvisioningStateUpdating), + } +} + +func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseProvisioningState(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseProvisioningState(input string) (*ProvisioningState, error) { + vals := map[string]ProvisioningState{ + "deleting": ProvisioningStateDeleting, + "failed": ProvisioningStateFailed, + "succeeded": ProvisioningStateSucceeded, + "updating": ProvisioningStateUpdating, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ProvisioningState(input) + return &out, nil +} + +type PublicIPAddressDnsSettingsDomainNameLabelScope string + +const ( + PublicIPAddressDnsSettingsDomainNameLabelScopeNoReuse PublicIPAddressDnsSettingsDomainNameLabelScope = "NoReuse" + PublicIPAddressDnsSettingsDomainNameLabelScopeResourceGroupReuse PublicIPAddressDnsSettingsDomainNameLabelScope = "ResourceGroupReuse" + PublicIPAddressDnsSettingsDomainNameLabelScopeSubscriptionReuse PublicIPAddressDnsSettingsDomainNameLabelScope = "SubscriptionReuse" + PublicIPAddressDnsSettingsDomainNameLabelScopeTenantReuse PublicIPAddressDnsSettingsDomainNameLabelScope = "TenantReuse" +) + +func PossibleValuesForPublicIPAddressDnsSettingsDomainNameLabelScope() []string { + return []string{ + string(PublicIPAddressDnsSettingsDomainNameLabelScopeNoReuse), + string(PublicIPAddressDnsSettingsDomainNameLabelScopeResourceGroupReuse), + string(PublicIPAddressDnsSettingsDomainNameLabelScopeSubscriptionReuse), + string(PublicIPAddressDnsSettingsDomainNameLabelScopeTenantReuse), + } +} + +func (s *PublicIPAddressDnsSettingsDomainNameLabelScope) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parsePublicIPAddressDnsSettingsDomainNameLabelScope(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parsePublicIPAddressDnsSettingsDomainNameLabelScope(input string) (*PublicIPAddressDnsSettingsDomainNameLabelScope, error) { + vals := map[string]PublicIPAddressDnsSettingsDomainNameLabelScope{ + "noreuse": PublicIPAddressDnsSettingsDomainNameLabelScopeNoReuse, + "resourcegroupreuse": PublicIPAddressDnsSettingsDomainNameLabelScopeResourceGroupReuse, + "subscriptionreuse": PublicIPAddressDnsSettingsDomainNameLabelScopeSubscriptionReuse, + "tenantreuse": PublicIPAddressDnsSettingsDomainNameLabelScopeTenantReuse, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := PublicIPAddressDnsSettingsDomainNameLabelScope(input) + return &out, nil +} + +type PublicIPAddressMigrationPhase string + +const ( + PublicIPAddressMigrationPhaseAbort PublicIPAddressMigrationPhase = "Abort" + PublicIPAddressMigrationPhaseCommit PublicIPAddressMigrationPhase = "Commit" + PublicIPAddressMigrationPhaseCommitted PublicIPAddressMigrationPhase = "Committed" + PublicIPAddressMigrationPhaseNone PublicIPAddressMigrationPhase = "None" + PublicIPAddressMigrationPhasePrepare PublicIPAddressMigrationPhase = "Prepare" +) + +func PossibleValuesForPublicIPAddressMigrationPhase() []string { + return []string{ + string(PublicIPAddressMigrationPhaseAbort), + string(PublicIPAddressMigrationPhaseCommit), + string(PublicIPAddressMigrationPhaseCommitted), + string(PublicIPAddressMigrationPhaseNone), + string(PublicIPAddressMigrationPhasePrepare), + } +} + +func (s *PublicIPAddressMigrationPhase) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parsePublicIPAddressMigrationPhase(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parsePublicIPAddressMigrationPhase(input string) (*PublicIPAddressMigrationPhase, error) { + vals := map[string]PublicIPAddressMigrationPhase{ + "abort": PublicIPAddressMigrationPhaseAbort, + "commit": PublicIPAddressMigrationPhaseCommit, + "committed": PublicIPAddressMigrationPhaseCommitted, + "none": PublicIPAddressMigrationPhaseNone, + "prepare": PublicIPAddressMigrationPhasePrepare, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := PublicIPAddressMigrationPhase(input) + return &out, nil +} + +type PublicIPAddressSkuName string + +const ( + PublicIPAddressSkuNameBasic PublicIPAddressSkuName = "Basic" + PublicIPAddressSkuNameStandard PublicIPAddressSkuName = "Standard" +) + +func PossibleValuesForPublicIPAddressSkuName() []string { + return []string{ + string(PublicIPAddressSkuNameBasic), + string(PublicIPAddressSkuNameStandard), + } +} + +func (s *PublicIPAddressSkuName) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parsePublicIPAddressSkuName(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parsePublicIPAddressSkuName(input string) (*PublicIPAddressSkuName, error) { + vals := map[string]PublicIPAddressSkuName{ + "basic": PublicIPAddressSkuNameBasic, + "standard": PublicIPAddressSkuNameStandard, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := PublicIPAddressSkuName(input) + return &out, nil +} + +type PublicIPAddressSkuTier string + +const ( + PublicIPAddressSkuTierGlobal PublicIPAddressSkuTier = "Global" + PublicIPAddressSkuTierRegional PublicIPAddressSkuTier = "Regional" +) + +func PossibleValuesForPublicIPAddressSkuTier() []string { + return []string{ + string(PublicIPAddressSkuTierGlobal), + string(PublicIPAddressSkuTierRegional), + } +} + +func (s *PublicIPAddressSkuTier) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parsePublicIPAddressSkuTier(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parsePublicIPAddressSkuTier(input string) (*PublicIPAddressSkuTier, error) { + vals := map[string]PublicIPAddressSkuTier{ + "global": PublicIPAddressSkuTierGlobal, + "regional": PublicIPAddressSkuTierRegional, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := PublicIPAddressSkuTier(input) + return &out, nil +} + +type RouteNextHopType string + +const ( + RouteNextHopTypeInternet RouteNextHopType = "Internet" + RouteNextHopTypeNone RouteNextHopType = "None" + RouteNextHopTypeVirtualAppliance RouteNextHopType = "VirtualAppliance" + RouteNextHopTypeVirtualNetworkGateway RouteNextHopType = "VirtualNetworkGateway" + RouteNextHopTypeVnetLocal RouteNextHopType = "VnetLocal" +) + +func PossibleValuesForRouteNextHopType() []string { + return []string{ + string(RouteNextHopTypeInternet), + string(RouteNextHopTypeNone), + string(RouteNextHopTypeVirtualAppliance), + string(RouteNextHopTypeVirtualNetworkGateway), + string(RouteNextHopTypeVnetLocal), + } +} + +func (s *RouteNextHopType) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseRouteNextHopType(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseRouteNextHopType(input string) (*RouteNextHopType, error) { + vals := map[string]RouteNextHopType{ + "internet": RouteNextHopTypeInternet, + "none": RouteNextHopTypeNone, + "virtualappliance": RouteNextHopTypeVirtualAppliance, + "virtualnetworkgateway": RouteNextHopTypeVirtualNetworkGateway, + "vnetlocal": RouteNextHopTypeVnetLocal, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := RouteNextHopType(input) + return &out, nil +} + +type SecurityRuleAccess string + +const ( + SecurityRuleAccessAllow SecurityRuleAccess = "Allow" + SecurityRuleAccessDeny SecurityRuleAccess = "Deny" +) + +func PossibleValuesForSecurityRuleAccess() []string { + return []string{ + string(SecurityRuleAccessAllow), + string(SecurityRuleAccessDeny), + } +} + +func (s *SecurityRuleAccess) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseSecurityRuleAccess(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseSecurityRuleAccess(input string) (*SecurityRuleAccess, error) { + vals := map[string]SecurityRuleAccess{ + "allow": SecurityRuleAccessAllow, + "deny": SecurityRuleAccessDeny, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := SecurityRuleAccess(input) + return &out, nil +} + +type SecurityRuleDirection string + +const ( + SecurityRuleDirectionInbound SecurityRuleDirection = "Inbound" + SecurityRuleDirectionOutbound SecurityRuleDirection = "Outbound" +) + +func PossibleValuesForSecurityRuleDirection() []string { + return []string{ + string(SecurityRuleDirectionInbound), + string(SecurityRuleDirectionOutbound), + } +} + +func (s *SecurityRuleDirection) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseSecurityRuleDirection(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseSecurityRuleDirection(input string) (*SecurityRuleDirection, error) { + vals := map[string]SecurityRuleDirection{ + "inbound": SecurityRuleDirectionInbound, + "outbound": SecurityRuleDirectionOutbound, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := SecurityRuleDirection(input) + return &out, nil +} + +type SecurityRuleProtocol string + +const ( + SecurityRuleProtocolAh SecurityRuleProtocol = "Ah" + SecurityRuleProtocolAny SecurityRuleProtocol = "*" + SecurityRuleProtocolEsp SecurityRuleProtocol = "Esp" + SecurityRuleProtocolIcmp SecurityRuleProtocol = "Icmp" + SecurityRuleProtocolTcp SecurityRuleProtocol = "Tcp" + SecurityRuleProtocolUdp SecurityRuleProtocol = "Udp" +) + +func PossibleValuesForSecurityRuleProtocol() []string { + return []string{ + string(SecurityRuleProtocolAh), + string(SecurityRuleProtocolAny), + string(SecurityRuleProtocolEsp), + string(SecurityRuleProtocolIcmp), + string(SecurityRuleProtocolTcp), + string(SecurityRuleProtocolUdp), + } +} + +func (s *SecurityRuleProtocol) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseSecurityRuleProtocol(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseSecurityRuleProtocol(input string) (*SecurityRuleProtocol, error) { + vals := map[string]SecurityRuleProtocol{ + "ah": SecurityRuleProtocolAh, + "*": SecurityRuleProtocolAny, + "esp": SecurityRuleProtocolEsp, + "icmp": SecurityRuleProtocolIcmp, + "tcp": SecurityRuleProtocolTcp, + "udp": SecurityRuleProtocolUdp, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := SecurityRuleProtocol(input) + return &out, nil +} + +type SharingScope string + +const ( + SharingScopeDelegatedServices SharingScope = "DelegatedServices" + SharingScopeTenant SharingScope = "Tenant" +) + +func PossibleValuesForSharingScope() []string { + return []string{ + string(SharingScopeDelegatedServices), + string(SharingScopeTenant), + } +} + +func (s *SharingScope) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseSharingScope(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseSharingScope(input string) (*SharingScope, error) { + vals := map[string]SharingScope{ + "delegatedservices": SharingScopeDelegatedServices, + "tenant": SharingScopeTenant, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := SharingScope(input) + return &out, nil +} + +type SyncMode string + +const ( + SyncModeAutomatic SyncMode = "Automatic" + SyncModeManual SyncMode = "Manual" +) + +func PossibleValuesForSyncMode() []string { + return []string{ + string(SyncModeAutomatic), + string(SyncModeManual), + } +} + +func (s *SyncMode) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseSyncMode(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseSyncMode(input string) (*SyncMode, error) { + vals := map[string]SyncMode{ + "automatic": SyncModeAutomatic, + "manual": SyncModeManual, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := SyncMode(input) + return &out, nil +} + +type TransportProtocol string + +const ( + TransportProtocolAll TransportProtocol = "All" + TransportProtocolTcp TransportProtocol = "Tcp" + TransportProtocolUdp TransportProtocol = "Udp" +) + +func PossibleValuesForTransportProtocol() []string { + return []string{ + string(TransportProtocolAll), + string(TransportProtocolTcp), + string(TransportProtocolUdp), + } +} + +func (s *TransportProtocol) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseTransportProtocol(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseTransportProtocol(input string) (*TransportProtocol, error) { + vals := map[string]TransportProtocol{ + "all": TransportProtocolAll, + "tcp": TransportProtocolTcp, + "udp": TransportProtocolUdp, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := TransportProtocol(input) + return &out, nil +} + +type VirtualNetworkPrivateEndpointNetworkPolicies string + +const ( + VirtualNetworkPrivateEndpointNetworkPoliciesDisabled VirtualNetworkPrivateEndpointNetworkPolicies = "Disabled" + VirtualNetworkPrivateEndpointNetworkPoliciesEnabled VirtualNetworkPrivateEndpointNetworkPolicies = "Enabled" + VirtualNetworkPrivateEndpointNetworkPoliciesNetworkSecurityGroupEnabled VirtualNetworkPrivateEndpointNetworkPolicies = "NetworkSecurityGroupEnabled" + VirtualNetworkPrivateEndpointNetworkPoliciesRouteTableEnabled VirtualNetworkPrivateEndpointNetworkPolicies = "RouteTableEnabled" +) + +func PossibleValuesForVirtualNetworkPrivateEndpointNetworkPolicies() []string { + return []string{ + string(VirtualNetworkPrivateEndpointNetworkPoliciesDisabled), + string(VirtualNetworkPrivateEndpointNetworkPoliciesEnabled), + string(VirtualNetworkPrivateEndpointNetworkPoliciesNetworkSecurityGroupEnabled), + string(VirtualNetworkPrivateEndpointNetworkPoliciesRouteTableEnabled), + } +} + +func (s *VirtualNetworkPrivateEndpointNetworkPolicies) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseVirtualNetworkPrivateEndpointNetworkPolicies(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseVirtualNetworkPrivateEndpointNetworkPolicies(input string) (*VirtualNetworkPrivateEndpointNetworkPolicies, error) { + vals := map[string]VirtualNetworkPrivateEndpointNetworkPolicies{ + "disabled": VirtualNetworkPrivateEndpointNetworkPoliciesDisabled, + "enabled": VirtualNetworkPrivateEndpointNetworkPoliciesEnabled, + "networksecuritygroupenabled": VirtualNetworkPrivateEndpointNetworkPoliciesNetworkSecurityGroupEnabled, + "routetableenabled": VirtualNetworkPrivateEndpointNetworkPoliciesRouteTableEnabled, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := VirtualNetworkPrivateEndpointNetworkPolicies(input) + return &out, nil +} + +type VirtualNetworkPrivateLinkServiceNetworkPolicies string + +const ( + VirtualNetworkPrivateLinkServiceNetworkPoliciesDisabled VirtualNetworkPrivateLinkServiceNetworkPolicies = "Disabled" + VirtualNetworkPrivateLinkServiceNetworkPoliciesEnabled VirtualNetworkPrivateLinkServiceNetworkPolicies = "Enabled" +) + +func PossibleValuesForVirtualNetworkPrivateLinkServiceNetworkPolicies() []string { + return []string{ + string(VirtualNetworkPrivateLinkServiceNetworkPoliciesDisabled), + string(VirtualNetworkPrivateLinkServiceNetworkPoliciesEnabled), + } +} + +func (s *VirtualNetworkPrivateLinkServiceNetworkPolicies) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseVirtualNetworkPrivateLinkServiceNetworkPolicies(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseVirtualNetworkPrivateLinkServiceNetworkPolicies(input string) (*VirtualNetworkPrivateLinkServiceNetworkPolicies, error) { + vals := map[string]VirtualNetworkPrivateLinkServiceNetworkPolicies{ + "disabled": VirtualNetworkPrivateLinkServiceNetworkPoliciesDisabled, + "enabled": VirtualNetworkPrivateLinkServiceNetworkPoliciesEnabled, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := VirtualNetworkPrivateLinkServiceNetworkPolicies(input) + return &out, nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/id_providercloudservice.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/id_providercloudservice.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/id_providercloudservice.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/id_providercloudservice.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/id_roleinstance.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/id_roleinstance.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/id_roleinstance.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/id_roleinstance.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/id_roleinstancenetworkinterface.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/id_roleinstancenetworkinterface.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/id_roleinstancenetworkinterface.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/id_roleinstancenetworkinterface.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/id_tapconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/id_tapconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/id_tapconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/id_tapconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/id_virtualmachine.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/id_virtualmachine.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/id_virtualmachine.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/id_virtualmachine.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/id_virtualmachinescaleset.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/id_virtualmachinescaleset.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/id_virtualmachinescaleset.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/id_virtualmachinescaleset.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/method_createorupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/method_createorupdate.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/method_createorupdate.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/method_createorupdate.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/method_delete.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/method_delete.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/method_delete.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/method_delete.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/method_get.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/method_get.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/method_get.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/method_get.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/method_getcloudservicenetworkinterface.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/method_getcloudservicenetworkinterface.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/method_getcloudservicenetworkinterface.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/method_getcloudservicenetworkinterface.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/method_geteffectiveroutetable.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/method_geteffectiveroutetable.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/method_geteffectiveroutetable.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/method_geteffectiveroutetable.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/method_getvirtualmachinescalesetipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/method_getvirtualmachinescalesetipconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/method_getvirtualmachinescalesetipconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/method_getvirtualmachinescalesetipconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/method_getvirtualmachinescalesetnetworkinterface.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/method_getvirtualmachinescalesetnetworkinterface.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/method_getvirtualmachinescalesetnetworkinterface.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/method_getvirtualmachinescalesetnetworkinterface.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/method_list.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/method_list.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/method_list.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/method_list.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/method_listall.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/method_listall.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/method_listall.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/method_listall.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/method_listcloudservicenetworkinterfaces.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/method_listcloudservicenetworkinterfaces.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/method_listcloudservicenetworkinterfaces.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/method_listcloudservicenetworkinterfaces.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/method_listcloudserviceroleinstancenetworkinterfaces.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/method_listcloudserviceroleinstancenetworkinterfaces.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/method_listcloudserviceroleinstancenetworkinterfaces.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/method_listcloudserviceroleinstancenetworkinterfaces.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/method_listeffectivenetworksecuritygroups.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/method_listeffectivenetworksecuritygroups.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/method_listeffectivenetworksecuritygroups.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/method_listeffectivenetworksecuritygroups.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/method_listvirtualmachinescalesetipconfigurations.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/method_listvirtualmachinescalesetipconfigurations.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/method_listvirtualmachinescalesetipconfigurations.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/method_listvirtualmachinescalesetipconfigurations.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/method_listvirtualmachinescalesetnetworkinterfaces.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/method_listvirtualmachinescalesetnetworkinterfaces.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/method_listvirtualmachinescalesetnetworkinterfaces.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/method_listvirtualmachinescalesetnetworkinterfaces.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/method_listvirtualmachinescalesetvmnetworkinterfaces.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/method_listvirtualmachinescalesetvmnetworkinterfaces.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/method_listvirtualmachinescalesetvmnetworkinterfaces.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/method_listvirtualmachinescalesetvmnetworkinterfaces.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/method_networkinterfaceipconfigurationsget.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/method_networkinterfaceipconfigurationsget.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/method_networkinterfaceipconfigurationsget.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/method_networkinterfaceipconfigurationsget.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/method_networkinterfaceipconfigurationslist.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/method_networkinterfaceipconfigurationslist.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/method_networkinterfaceipconfigurationslist.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/method_networkinterfaceipconfigurationslist.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/method_networkinterfaceloadbalancerslist.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/method_networkinterfaceloadbalancerslist.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/method_networkinterfaceloadbalancerslist.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/method_networkinterfaceloadbalancerslist.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/method_networkinterfacetapconfigurationscreateorupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/method_networkinterfacetapconfigurationscreateorupdate.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/method_networkinterfacetapconfigurationscreateorupdate.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/method_networkinterfacetapconfigurationscreateorupdate.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/method_networkinterfacetapconfigurationsdelete.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/method_networkinterfacetapconfigurationsdelete.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/method_networkinterfacetapconfigurationsdelete.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/method_networkinterfacetapconfigurationsdelete.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/method_networkinterfacetapconfigurationsget.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/method_networkinterfacetapconfigurationsget.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/method_networkinterfacetapconfigurationsget.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/method_networkinterfacetapconfigurationsget.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/method_networkinterfacetapconfigurationslist.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/method_networkinterfacetapconfigurationslist.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/method_networkinterfacetapconfigurationslist.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/method_networkinterfacetapconfigurationslist.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/method_updatetags.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/method_updatetags.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/method_updatetags.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/method_updatetags.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_applicationgatewaybackendaddress.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_applicationgatewaybackendaddress.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_applicationgatewaybackendaddress.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_applicationgatewaybackendaddress.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_applicationgatewaybackendaddresspool.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_applicationgatewaybackendaddresspool.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_applicationgatewaybackendaddresspool.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_applicationgatewaybackendaddresspool.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_applicationgatewaybackendaddresspoolpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_applicationgatewaybackendaddresspoolpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_applicationgatewaybackendaddresspoolpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_applicationgatewaybackendaddresspoolpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_applicationgatewayipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_applicationgatewayipconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_applicationgatewayipconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_applicationgatewayipconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_applicationgatewayipconfigurationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_applicationgatewayipconfigurationpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_applicationgatewayipconfigurationpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_applicationgatewayipconfigurationpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_applicationsecuritygroup.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_applicationsecuritygroup.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_applicationsecuritygroup.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_applicationsecuritygroup.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_applicationsecuritygrouppropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_applicationsecuritygrouppropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_applicationsecuritygrouppropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_applicationsecuritygrouppropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_backendaddresspool.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_backendaddresspool.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_backendaddresspool.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_backendaddresspool.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_backendaddresspoolpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_backendaddresspoolpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_backendaddresspoolpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_backendaddresspoolpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_customdnsconfigpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_customdnsconfigpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_customdnsconfigpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_customdnsconfigpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_ddossettings.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_ddossettings.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_ddossettings.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_ddossettings.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_delegation.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_delegation.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_delegation.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_delegation.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_effectivenetworksecuritygroup.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_effectivenetworksecuritygroup.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_effectivenetworksecuritygroup.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_effectivenetworksecuritygroup.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_effectivenetworksecuritygroupassociation.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_effectivenetworksecuritygroupassociation.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_effectivenetworksecuritygroupassociation.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_effectivenetworksecuritygroupassociation.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_effectivenetworksecurityrule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_effectivenetworksecurityrule.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_effectivenetworksecurityrule.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_effectivenetworksecurityrule.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_effectiveroute.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_effectiveroute.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_effectiveroute.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_effectiveroute.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_flowlog.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_flowlog.go new file mode 100644 index 000000000000..6c8ab9073ec9 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_flowlog.go @@ -0,0 +1,19 @@ +package networkinterfaces + +import ( + "github.com/hashicorp/go-azure-helpers/resourcemanager/identity" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type FlowLog struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Identity *identity.SystemAndUserAssignedMap `json:"identity,omitempty"` + Location *string `json:"location,omitempty"` + Name *string `json:"name,omitempty"` + Properties *FlowLogPropertiesFormat `json:"properties,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_flowlogformatparameters.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_flowlogformatparameters.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_flowlogformatparameters.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_flowlogformatparameters.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_flowlogpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_flowlogpropertiesformat.go new file mode 100644 index 000000000000..d59ce6dc4b69 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_flowlogpropertiesformat.go @@ -0,0 +1,16 @@ +package networkinterfaces + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type FlowLogPropertiesFormat struct { + Enabled *bool `json:"enabled,omitempty"` + EnabledFilteringCriteria *string `json:"enabledFilteringCriteria,omitempty"` + FlowAnalyticsConfiguration *TrafficAnalyticsProperties `json:"flowAnalyticsConfiguration,omitempty"` + Format *FlowLogFormatParameters `json:"format,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + RetentionPolicy *RetentionPolicyParameters `json:"retentionPolicy,omitempty"` + StorageId string `json:"storageId"` + TargetResourceGuid *string `json:"targetResourceGuid,omitempty"` + TargetResourceId string `json:"targetResourceId"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_frontendipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_frontendipconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_frontendipconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_frontendipconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_frontendipconfigurationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_frontendipconfigurationpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_frontendipconfigurationpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_frontendipconfigurationpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_gatewayloadbalancertunnelinterface.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_gatewayloadbalancertunnelinterface.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_gatewayloadbalancertunnelinterface.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_gatewayloadbalancertunnelinterface.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_inboundnatpool.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_inboundnatpool.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_inboundnatpool.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_inboundnatpool.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_inboundnatpoolpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_inboundnatpoolpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_inboundnatpoolpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_inboundnatpoolpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_inboundnatrule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_inboundnatrule.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_inboundnatrule.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_inboundnatrule.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_inboundnatrulepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_inboundnatrulepropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_inboundnatrulepropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_inboundnatrulepropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_ipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_ipconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_ipconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_ipconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_ipconfigurationprofile.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_ipconfigurationprofile.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_ipconfigurationprofile.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_ipconfigurationprofile.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_ipconfigurationprofilepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_ipconfigurationprofilepropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_ipconfigurationprofilepropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_ipconfigurationprofilepropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_ipconfigurationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_ipconfigurationpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_ipconfigurationpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_ipconfigurationpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_iptag.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_iptag.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_iptag.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_iptag.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_loadbalancer.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_loadbalancer.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_loadbalancer.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_loadbalancer.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_loadbalancerbackendaddress.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_loadbalancerbackendaddress.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_loadbalancerbackendaddress.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_loadbalancerbackendaddress.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_loadbalancerbackendaddresspropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_loadbalancerbackendaddresspropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_loadbalancerbackendaddresspropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_loadbalancerbackendaddresspropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_loadbalancerpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_loadbalancerpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_loadbalancerpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_loadbalancerpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_loadbalancersku.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_loadbalancersku.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_loadbalancersku.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_loadbalancersku.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_loadbalancingrule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_loadbalancingrule.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_loadbalancingrule.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_loadbalancingrule.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_loadbalancingrulepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_loadbalancingrulepropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_loadbalancingrulepropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_loadbalancingrulepropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_natgateway.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_natgateway.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_natgateway.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_natgateway.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_natgatewaypropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_natgatewaypropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_natgatewaypropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_natgatewaypropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_natgatewaysku.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_natgatewaysku.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_natgatewaysku.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_natgatewaysku.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_natruleportmapping.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_natruleportmapping.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_natruleportmapping.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_natruleportmapping.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_networkinterface.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_networkinterface.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_networkinterface.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_networkinterface.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_networkinterfacednssettings.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_networkinterfacednssettings.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_networkinterfacednssettings.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_networkinterfacednssettings.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_networkinterfaceipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_networkinterfaceipconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_networkinterfaceipconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_networkinterfaceipconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_networkinterfaceipconfigurationprivatelinkconnectionproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_networkinterfaceipconfigurationprivatelinkconnectionproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_networkinterfaceipconfigurationprivatelinkconnectionproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_networkinterfaceipconfigurationprivatelinkconnectionproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_networkinterfaceipconfigurationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_networkinterfaceipconfigurationpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_networkinterfaceipconfigurationpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_networkinterfaceipconfigurationpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_networkinterfacepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_networkinterfacepropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_networkinterfacepropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_networkinterfacepropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_networkinterfacetapconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_networkinterfacetapconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_networkinterfacetapconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_networkinterfacetapconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_networkinterfacetapconfigurationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_networkinterfacetapconfigurationpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_networkinterfacetapconfigurationpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_networkinterfacetapconfigurationpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_networksecuritygroup.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_networksecuritygroup.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_networksecuritygroup.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_networksecuritygroup.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_networksecuritygrouppropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_networksecuritygrouppropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_networksecuritygrouppropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_networksecuritygrouppropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_outboundrule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_outboundrule.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_outboundrule.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_outboundrule.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_outboundrulepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_outboundrulepropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_outboundrulepropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_outboundrulepropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_privateendpoint.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_privateendpoint.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_privateendpoint.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_privateendpoint.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_privateendpointconnection.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_privateendpointconnection.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_privateendpointconnection.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_privateendpointconnection.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_privateendpointconnectionproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_privateendpointconnectionproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_privateendpointconnectionproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_privateendpointconnectionproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_privateendpointipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_privateendpointipconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_privateendpointipconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_privateendpointipconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_privateendpointipconfigurationproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_privateendpointipconfigurationproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_privateendpointipconfigurationproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_privateendpointipconfigurationproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_privateendpointproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_privateendpointproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_privateendpointproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_privateendpointproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_privatelinkservice.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_privatelinkservice.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_privatelinkservice.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_privatelinkservice.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_privatelinkserviceconnection.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_privatelinkserviceconnection.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_privatelinkserviceconnection.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_privatelinkserviceconnection.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_privatelinkserviceconnectionproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_privatelinkserviceconnectionproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_privatelinkserviceconnectionproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_privatelinkserviceconnectionproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_privatelinkserviceconnectionstate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_privatelinkserviceconnectionstate.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_privatelinkserviceconnectionstate.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_privatelinkserviceconnectionstate.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_privatelinkserviceipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_privatelinkserviceipconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_privatelinkserviceipconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_privatelinkserviceipconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_privatelinkserviceipconfigurationproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_privatelinkserviceipconfigurationproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_privatelinkserviceipconfigurationproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_privatelinkserviceipconfigurationproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_privatelinkserviceproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_privatelinkserviceproperties.go new file mode 100644 index 000000000000..d17376760a66 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_privatelinkserviceproperties.go @@ -0,0 +1,18 @@ +package networkinterfaces + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PrivateLinkServiceProperties struct { + Alias *string `json:"alias,omitempty"` + AutoApproval *ResourceSet `json:"autoApproval,omitempty"` + DestinationIPAddress *string `json:"destinationIPAddress,omitempty"` + EnableProxyProtocol *bool `json:"enableProxyProtocol,omitempty"` + Fqdns *[]string `json:"fqdns,omitempty"` + IPConfigurations *[]PrivateLinkServiceIPConfiguration `json:"ipConfigurations,omitempty"` + LoadBalancerFrontendIPConfigurations *[]FrontendIPConfiguration `json:"loadBalancerFrontendIpConfigurations,omitempty"` + NetworkInterfaces *[]NetworkInterface `json:"networkInterfaces,omitempty"` + PrivateEndpointConnections *[]PrivateEndpointConnection `json:"privateEndpointConnections,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + Visibility *ResourceSet `json:"visibility,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_probe.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_probe.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_probe.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_probe.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_probepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_probepropertiesformat.go new file mode 100644 index 000000000000..6c1f4d34dc82 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_probepropertiesformat.go @@ -0,0 +1,16 @@ +package networkinterfaces + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ProbePropertiesFormat struct { + IntervalInSeconds *int64 `json:"intervalInSeconds,omitempty"` + LoadBalancingRules *[]SubResource `json:"loadBalancingRules,omitempty"` + NoHealthyBackendsBehavior *ProbeNoHealthyBackendsBehavior `json:"noHealthyBackendsBehavior,omitempty"` + NumberOfProbes *int64 `json:"numberOfProbes,omitempty"` + Port int64 `json:"port"` + ProbeThreshold *int64 `json:"probeThreshold,omitempty"` + Protocol ProbeProtocol `json:"protocol"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + RequestPath *string `json:"requestPath,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_publicipaddress.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_publicipaddress.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_publicipaddress.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_publicipaddress.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_publicipaddressdnssettings.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_publicipaddressdnssettings.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_publicipaddressdnssettings.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_publicipaddressdnssettings.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_publicipaddresspropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_publicipaddresspropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_publicipaddresspropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_publicipaddresspropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_publicipaddresssku.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_publicipaddresssku.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_publicipaddresssku.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_publicipaddresssku.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_resourcenavigationlink.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_resourcenavigationlink.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_resourcenavigationlink.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_resourcenavigationlink.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_resourcenavigationlinkformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_resourcenavigationlinkformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_resourcenavigationlinkformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_resourcenavigationlinkformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_resourceset.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_resourceset.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_resourceset.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_resourceset.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_retentionpolicyparameters.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_retentionpolicyparameters.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_retentionpolicyparameters.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_retentionpolicyparameters.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_route.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_route.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_route.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_route.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_routepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_routepropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_routepropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_routepropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_routetable.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_routetable.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_routetable.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_routetable.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_routetablepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_routetablepropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_routetablepropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_routetablepropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_securityrule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_securityrule.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_securityrule.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_securityrule.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_securityrulepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_securityrulepropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_securityrulepropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_securityrulepropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_serviceassociationlink.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_serviceassociationlink.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_serviceassociationlink.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_serviceassociationlink.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_serviceassociationlinkpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_serviceassociationlinkpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_serviceassociationlinkpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_serviceassociationlinkpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_servicedelegationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_servicedelegationpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_servicedelegationpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_servicedelegationpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_serviceendpointpolicy.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_serviceendpointpolicy.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_serviceendpointpolicy.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_serviceendpointpolicy.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_serviceendpointpolicydefinition.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_serviceendpointpolicydefinition.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_serviceendpointpolicydefinition.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_serviceendpointpolicydefinition.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_serviceendpointpolicydefinitionpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_serviceendpointpolicydefinitionpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_serviceendpointpolicydefinitionpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_serviceendpointpolicydefinitionpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_serviceendpointpolicypropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_serviceendpointpolicypropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_serviceendpointpolicypropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_serviceendpointpolicypropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_serviceendpointpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_serviceendpointpropertiesformat.go new file mode 100644 index 000000000000..f7a4a8f30f47 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_serviceendpointpropertiesformat.go @@ -0,0 +1,11 @@ +package networkinterfaces + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ServiceEndpointPropertiesFormat struct { + Locations *[]string `json:"locations,omitempty"` + NetworkIdentifier *SubResource `json:"networkIdentifier,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + Service *string `json:"service,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_subnet.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_subnet.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_subnet.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_subnet.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_subnetpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_subnetpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_subnetpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_subnetpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_subresource.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_subresource.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_subresource.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_subresource.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_tagsobject.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_tagsobject.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_tagsobject.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_tagsobject.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_trafficanalyticsconfigurationproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_trafficanalyticsconfigurationproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_trafficanalyticsconfigurationproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_trafficanalyticsconfigurationproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_trafficanalyticsproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_trafficanalyticsproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_trafficanalyticsproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_trafficanalyticsproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_virtualnetworktap.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_virtualnetworktap.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_virtualnetworktap.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_virtualnetworktap.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_virtualnetworktappropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_virtualnetworktappropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/model_virtualnetworktappropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/model_virtualnetworktappropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/predicates.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces/predicates.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/predicates.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/version.go new file mode 100644 index 000000000000..3c8f768c357e --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces/version.go @@ -0,0 +1,10 @@ +package networkinterfaces + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2024-03-01" + +func userAgent() string { + return "hashicorp/go-azure-sdk/networkinterfaces/2024-03-01" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanageractiveconfigurations/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanageractiveconfigurations/README.md new file mode 100644 index 000000000000..c76456311eb3 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanageractiveconfigurations/README.md @@ -0,0 +1,41 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanageractiveconfigurations` Documentation + +The `networkmanageractiveconfigurations` SDK allows for interaction with Azure Resource Manager `network` (API Version `2024-03-01`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanageractiveconfigurations" +``` + + +### Client Initialization + +```go +client := networkmanageractiveconfigurations.NewNetworkManagerActiveConfigurationsClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `NetworkManagerActiveConfigurationsClient.ListActiveSecurityAdminRules` + +```go +ctx := context.TODO() +id := networkmanageractiveconfigurations.NewNetworkManagerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkManagerName") + +payload := networkmanageractiveconfigurations.ActiveConfigurationParameter{ + // ... +} + + +read, err := client.ListActiveSecurityAdminRules(ctx, id, payload) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanageractiveconfigurations/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanageractiveconfigurations/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanageractiveconfigurations/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanageractiveconfigurations/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanageractiveconfigurations/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanageractiveconfigurations/constants.go new file mode 100644 index 000000000000..2ff4add6d9d5 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanageractiveconfigurations/constants.go @@ -0,0 +1,318 @@ +package networkmanageractiveconfigurations + +import ( + "encoding/json" + "fmt" + "strings" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type AddressPrefixType string + +const ( + AddressPrefixTypeIPPrefix AddressPrefixType = "IPPrefix" + AddressPrefixTypeServiceTag AddressPrefixType = "ServiceTag" +) + +func PossibleValuesForAddressPrefixType() []string { + return []string{ + string(AddressPrefixTypeIPPrefix), + string(AddressPrefixTypeServiceTag), + } +} + +func (s *AddressPrefixType) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseAddressPrefixType(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseAddressPrefixType(input string) (*AddressPrefixType, error) { + vals := map[string]AddressPrefixType{ + "ipprefix": AddressPrefixTypeIPPrefix, + "servicetag": AddressPrefixTypeServiceTag, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := AddressPrefixType(input) + return &out, nil +} + +type EffectiveAdminRuleKind string + +const ( + EffectiveAdminRuleKindCustom EffectiveAdminRuleKind = "Custom" + EffectiveAdminRuleKindDefault EffectiveAdminRuleKind = "Default" +) + +func PossibleValuesForEffectiveAdminRuleKind() []string { + return []string{ + string(EffectiveAdminRuleKindCustom), + string(EffectiveAdminRuleKindDefault), + } +} + +func (s *EffectiveAdminRuleKind) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseEffectiveAdminRuleKind(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseEffectiveAdminRuleKind(input string) (*EffectiveAdminRuleKind, error) { + vals := map[string]EffectiveAdminRuleKind{ + "custom": EffectiveAdminRuleKindCustom, + "default": EffectiveAdminRuleKindDefault, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := EffectiveAdminRuleKind(input) + return &out, nil +} + +type GroupMemberType string + +const ( + GroupMemberTypeSubnet GroupMemberType = "Subnet" + GroupMemberTypeVirtualNetwork GroupMemberType = "VirtualNetwork" +) + +func PossibleValuesForGroupMemberType() []string { + return []string{ + string(GroupMemberTypeSubnet), + string(GroupMemberTypeVirtualNetwork), + } +} + +func (s *GroupMemberType) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseGroupMemberType(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseGroupMemberType(input string) (*GroupMemberType, error) { + vals := map[string]GroupMemberType{ + "subnet": GroupMemberTypeSubnet, + "virtualnetwork": GroupMemberTypeVirtualNetwork, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := GroupMemberType(input) + return &out, nil +} + +type ProvisioningState string + +const ( + ProvisioningStateDeleting ProvisioningState = "Deleting" + ProvisioningStateFailed ProvisioningState = "Failed" + ProvisioningStateSucceeded ProvisioningState = "Succeeded" + ProvisioningStateUpdating ProvisioningState = "Updating" +) + +func PossibleValuesForProvisioningState() []string { + return []string{ + string(ProvisioningStateDeleting), + string(ProvisioningStateFailed), + string(ProvisioningStateSucceeded), + string(ProvisioningStateUpdating), + } +} + +func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseProvisioningState(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseProvisioningState(input string) (*ProvisioningState, error) { + vals := map[string]ProvisioningState{ + "deleting": ProvisioningStateDeleting, + "failed": ProvisioningStateFailed, + "succeeded": ProvisioningStateSucceeded, + "updating": ProvisioningStateUpdating, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ProvisioningState(input) + return &out, nil +} + +type SecurityConfigurationRuleAccess string + +const ( + SecurityConfigurationRuleAccessAllow SecurityConfigurationRuleAccess = "Allow" + SecurityConfigurationRuleAccessAlwaysAllow SecurityConfigurationRuleAccess = "AlwaysAllow" + SecurityConfigurationRuleAccessDeny SecurityConfigurationRuleAccess = "Deny" +) + +func PossibleValuesForSecurityConfigurationRuleAccess() []string { + return []string{ + string(SecurityConfigurationRuleAccessAllow), + string(SecurityConfigurationRuleAccessAlwaysAllow), + string(SecurityConfigurationRuleAccessDeny), + } +} + +func (s *SecurityConfigurationRuleAccess) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseSecurityConfigurationRuleAccess(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseSecurityConfigurationRuleAccess(input string) (*SecurityConfigurationRuleAccess, error) { + vals := map[string]SecurityConfigurationRuleAccess{ + "allow": SecurityConfigurationRuleAccessAllow, + "alwaysallow": SecurityConfigurationRuleAccessAlwaysAllow, + "deny": SecurityConfigurationRuleAccessDeny, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := SecurityConfigurationRuleAccess(input) + return &out, nil +} + +type SecurityConfigurationRuleDirection string + +const ( + SecurityConfigurationRuleDirectionInbound SecurityConfigurationRuleDirection = "Inbound" + SecurityConfigurationRuleDirectionOutbound SecurityConfigurationRuleDirection = "Outbound" +) + +func PossibleValuesForSecurityConfigurationRuleDirection() []string { + return []string{ + string(SecurityConfigurationRuleDirectionInbound), + string(SecurityConfigurationRuleDirectionOutbound), + } +} + +func (s *SecurityConfigurationRuleDirection) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseSecurityConfigurationRuleDirection(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseSecurityConfigurationRuleDirection(input string) (*SecurityConfigurationRuleDirection, error) { + vals := map[string]SecurityConfigurationRuleDirection{ + "inbound": SecurityConfigurationRuleDirectionInbound, + "outbound": SecurityConfigurationRuleDirectionOutbound, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := SecurityConfigurationRuleDirection(input) + return &out, nil +} + +type SecurityConfigurationRuleProtocol string + +const ( + SecurityConfigurationRuleProtocolAh SecurityConfigurationRuleProtocol = "Ah" + SecurityConfigurationRuleProtocolAny SecurityConfigurationRuleProtocol = "Any" + SecurityConfigurationRuleProtocolEsp SecurityConfigurationRuleProtocol = "Esp" + SecurityConfigurationRuleProtocolIcmp SecurityConfigurationRuleProtocol = "Icmp" + SecurityConfigurationRuleProtocolTcp SecurityConfigurationRuleProtocol = "Tcp" + SecurityConfigurationRuleProtocolUdp SecurityConfigurationRuleProtocol = "Udp" +) + +func PossibleValuesForSecurityConfigurationRuleProtocol() []string { + return []string{ + string(SecurityConfigurationRuleProtocolAh), + string(SecurityConfigurationRuleProtocolAny), + string(SecurityConfigurationRuleProtocolEsp), + string(SecurityConfigurationRuleProtocolIcmp), + string(SecurityConfigurationRuleProtocolTcp), + string(SecurityConfigurationRuleProtocolUdp), + } +} + +func (s *SecurityConfigurationRuleProtocol) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseSecurityConfigurationRuleProtocol(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseSecurityConfigurationRuleProtocol(input string) (*SecurityConfigurationRuleProtocol, error) { + vals := map[string]SecurityConfigurationRuleProtocol{ + "ah": SecurityConfigurationRuleProtocolAh, + "any": SecurityConfigurationRuleProtocolAny, + "esp": SecurityConfigurationRuleProtocolEsp, + "icmp": SecurityConfigurationRuleProtocolIcmp, + "tcp": SecurityConfigurationRuleProtocolTcp, + "udp": SecurityConfigurationRuleProtocolUdp, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := SecurityConfigurationRuleProtocol(input) + return &out, nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanageractiveconfigurations/id_networkmanager.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanageractiveconfigurations/id_networkmanager.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanageractiveconfigurations/id_networkmanager.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanageractiveconfigurations/id_networkmanager.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanageractiveconfigurations/method_listactivesecurityadminrules.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanageractiveconfigurations/method_listactivesecurityadminrules.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanageractiveconfigurations/method_listactivesecurityadminrules.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanageractiveconfigurations/method_listactivesecurityadminrules.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanageractiveconfigurations/model_activebasesecurityadminrule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanageractiveconfigurations/model_activebasesecurityadminrule.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanageractiveconfigurations/model_activebasesecurityadminrule.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanageractiveconfigurations/model_activebasesecurityadminrule.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanageractiveconfigurations/model_activeconfigurationparameter.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanageractiveconfigurations/model_activeconfigurationparameter.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanageractiveconfigurations/model_activeconfigurationparameter.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanageractiveconfigurations/model_activeconfigurationparameter.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanageractiveconfigurations/model_activedefaultsecurityadminrule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanageractiveconfigurations/model_activedefaultsecurityadminrule.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanageractiveconfigurations/model_activedefaultsecurityadminrule.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanageractiveconfigurations/model_activedefaultsecurityadminrule.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanageractiveconfigurations/model_activesecurityadminrule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanageractiveconfigurations/model_activesecurityadminrule.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanageractiveconfigurations/model_activesecurityadminrule.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanageractiveconfigurations/model_activesecurityadminrule.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanageractiveconfigurations/model_activesecurityadminruleslistresult.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanageractiveconfigurations/model_activesecurityadminruleslistresult.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanageractiveconfigurations/model_activesecurityadminruleslistresult.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanageractiveconfigurations/model_activesecurityadminruleslistresult.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanageractiveconfigurations/model_addressprefixitem.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanageractiveconfigurations/model_addressprefixitem.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanageractiveconfigurations/model_addressprefixitem.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanageractiveconfigurations/model_addressprefixitem.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanageractiveconfigurations/model_adminpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanageractiveconfigurations/model_adminpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanageractiveconfigurations/model_adminpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanageractiveconfigurations/model_adminpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanageractiveconfigurations/model_configurationgroup.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanageractiveconfigurations/model_configurationgroup.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanageractiveconfigurations/model_configurationgroup.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanageractiveconfigurations/model_configurationgroup.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanageractiveconfigurations/model_defaultadminpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanageractiveconfigurations/model_defaultadminpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanageractiveconfigurations/model_defaultadminpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanageractiveconfigurations/model_defaultadminpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanageractiveconfigurations/model_networkgroupproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanageractiveconfigurations/model_networkgroupproperties.go new file mode 100644 index 000000000000..0866d4d439a6 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanageractiveconfigurations/model_networkgroupproperties.go @@ -0,0 +1,11 @@ +package networkmanageractiveconfigurations + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NetworkGroupProperties struct { + Description *string `json:"description,omitempty"` + MemberType *GroupMemberType `json:"memberType,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + ResourceGuid *string `json:"resourceGuid,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanageractiveconfigurations/model_networkmanagersecuritygroupitem.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanageractiveconfigurations/model_networkmanagersecuritygroupitem.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanageractiveconfigurations/model_networkmanagersecuritygroupitem.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanageractiveconfigurations/model_networkmanagersecuritygroupitem.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanageractiveconfigurations/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanageractiveconfigurations/version.go new file mode 100644 index 000000000000..3190ba7ffec7 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanageractiveconfigurations/version.go @@ -0,0 +1,10 @@ +package networkmanageractiveconfigurations + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2024-03-01" + +func userAgent() string { + return "hashicorp/go-azure-sdk/networkmanageractiveconfigurations/2024-03-01" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanageractiveconnectivityconfigurations/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanageractiveconnectivityconfigurations/README.md new file mode 100644 index 000000000000..bc9d53f34ff0 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanageractiveconnectivityconfigurations/README.md @@ -0,0 +1,41 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanageractiveconnectivityconfigurations` Documentation + +The `networkmanageractiveconnectivityconfigurations` SDK allows for interaction with Azure Resource Manager `network` (API Version `2024-03-01`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanageractiveconnectivityconfigurations" +``` + + +### Client Initialization + +```go +client := networkmanageractiveconnectivityconfigurations.NewNetworkManagerActiveConnectivityConfigurationsClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `NetworkManagerActiveConnectivityConfigurationsClient.ListActiveConnectivityConfigurations` + +```go +ctx := context.TODO() +id := networkmanageractiveconnectivityconfigurations.NewNetworkManagerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkManagerName") + +payload := networkmanageractiveconnectivityconfigurations.ActiveConfigurationParameter{ + // ... +} + + +read, err := client.ListActiveConnectivityConfigurations(ctx, id, payload) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanageractiveconnectivityconfigurations/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanageractiveconnectivityconfigurations/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanageractiveconnectivityconfigurations/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanageractiveconnectivityconfigurations/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanageractiveconnectivityconfigurations/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanageractiveconnectivityconfigurations/constants.go new file mode 100644 index 000000000000..642ecd4a0bd7 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanageractiveconnectivityconfigurations/constants.go @@ -0,0 +1,303 @@ +package networkmanageractiveconnectivityconfigurations + +import ( + "encoding/json" + "fmt" + "strings" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ConnectivityTopology string + +const ( + ConnectivityTopologyHubAndSpoke ConnectivityTopology = "HubAndSpoke" + ConnectivityTopologyMesh ConnectivityTopology = "Mesh" +) + +func PossibleValuesForConnectivityTopology() []string { + return []string{ + string(ConnectivityTopologyHubAndSpoke), + string(ConnectivityTopologyMesh), + } +} + +func (s *ConnectivityTopology) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseConnectivityTopology(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseConnectivityTopology(input string) (*ConnectivityTopology, error) { + vals := map[string]ConnectivityTopology{ + "hubandspoke": ConnectivityTopologyHubAndSpoke, + "mesh": ConnectivityTopologyMesh, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ConnectivityTopology(input) + return &out, nil +} + +type DeleteExistingPeering string + +const ( + DeleteExistingPeeringFalse DeleteExistingPeering = "False" + DeleteExistingPeeringTrue DeleteExistingPeering = "True" +) + +func PossibleValuesForDeleteExistingPeering() []string { + return []string{ + string(DeleteExistingPeeringFalse), + string(DeleteExistingPeeringTrue), + } +} + +func (s *DeleteExistingPeering) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseDeleteExistingPeering(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseDeleteExistingPeering(input string) (*DeleteExistingPeering, error) { + vals := map[string]DeleteExistingPeering{ + "false": DeleteExistingPeeringFalse, + "true": DeleteExistingPeeringTrue, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := DeleteExistingPeering(input) + return &out, nil +} + +type GroupConnectivity string + +const ( + GroupConnectivityDirectlyConnected GroupConnectivity = "DirectlyConnected" + GroupConnectivityNone GroupConnectivity = "None" +) + +func PossibleValuesForGroupConnectivity() []string { + return []string{ + string(GroupConnectivityDirectlyConnected), + string(GroupConnectivityNone), + } +} + +func (s *GroupConnectivity) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseGroupConnectivity(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseGroupConnectivity(input string) (*GroupConnectivity, error) { + vals := map[string]GroupConnectivity{ + "directlyconnected": GroupConnectivityDirectlyConnected, + "none": GroupConnectivityNone, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := GroupConnectivity(input) + return &out, nil +} + +type GroupMemberType string + +const ( + GroupMemberTypeSubnet GroupMemberType = "Subnet" + GroupMemberTypeVirtualNetwork GroupMemberType = "VirtualNetwork" +) + +func PossibleValuesForGroupMemberType() []string { + return []string{ + string(GroupMemberTypeSubnet), + string(GroupMemberTypeVirtualNetwork), + } +} + +func (s *GroupMemberType) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseGroupMemberType(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseGroupMemberType(input string) (*GroupMemberType, error) { + vals := map[string]GroupMemberType{ + "subnet": GroupMemberTypeSubnet, + "virtualnetwork": GroupMemberTypeVirtualNetwork, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := GroupMemberType(input) + return &out, nil +} + +type IsGlobal string + +const ( + IsGlobalFalse IsGlobal = "False" + IsGlobalTrue IsGlobal = "True" +) + +func PossibleValuesForIsGlobal() []string { + return []string{ + string(IsGlobalFalse), + string(IsGlobalTrue), + } +} + +func (s *IsGlobal) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseIsGlobal(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseIsGlobal(input string) (*IsGlobal, error) { + vals := map[string]IsGlobal{ + "false": IsGlobalFalse, + "true": IsGlobalTrue, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := IsGlobal(input) + return &out, nil +} + +type ProvisioningState string + +const ( + ProvisioningStateDeleting ProvisioningState = "Deleting" + ProvisioningStateFailed ProvisioningState = "Failed" + ProvisioningStateSucceeded ProvisioningState = "Succeeded" + ProvisioningStateUpdating ProvisioningState = "Updating" +) + +func PossibleValuesForProvisioningState() []string { + return []string{ + string(ProvisioningStateDeleting), + string(ProvisioningStateFailed), + string(ProvisioningStateSucceeded), + string(ProvisioningStateUpdating), + } +} + +func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseProvisioningState(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseProvisioningState(input string) (*ProvisioningState, error) { + vals := map[string]ProvisioningState{ + "deleting": ProvisioningStateDeleting, + "failed": ProvisioningStateFailed, + "succeeded": ProvisioningStateSucceeded, + "updating": ProvisioningStateUpdating, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ProvisioningState(input) + return &out, nil +} + +type UseHubGateway string + +const ( + UseHubGatewayFalse UseHubGateway = "False" + UseHubGatewayTrue UseHubGateway = "True" +) + +func PossibleValuesForUseHubGateway() []string { + return []string{ + string(UseHubGatewayFalse), + string(UseHubGatewayTrue), + } +} + +func (s *UseHubGateway) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseUseHubGateway(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseUseHubGateway(input string) (*UseHubGateway, error) { + vals := map[string]UseHubGateway{ + "false": UseHubGatewayFalse, + "true": UseHubGatewayTrue, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := UseHubGateway(input) + return &out, nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanageractiveconnectivityconfigurations/id_networkmanager.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanageractiveconnectivityconfigurations/id_networkmanager.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanageractiveconnectivityconfigurations/id_networkmanager.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanageractiveconnectivityconfigurations/id_networkmanager.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanageractiveconnectivityconfigurations/method_listactiveconnectivityconfigurations.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanageractiveconnectivityconfigurations/method_listactiveconnectivityconfigurations.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanageractiveconnectivityconfigurations/method_listactiveconnectivityconfigurations.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanageractiveconnectivityconfigurations/method_listactiveconnectivityconfigurations.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanageractiveconnectivityconfigurations/model_activeconfigurationparameter.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanageractiveconnectivityconfigurations/model_activeconfigurationparameter.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanageractiveconnectivityconfigurations/model_activeconfigurationparameter.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanageractiveconnectivityconfigurations/model_activeconfigurationparameter.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanageractiveconnectivityconfigurations/model_activeconnectivityconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanageractiveconnectivityconfigurations/model_activeconnectivityconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanageractiveconnectivityconfigurations/model_activeconnectivityconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanageractiveconnectivityconfigurations/model_activeconnectivityconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanageractiveconnectivityconfigurations/model_activeconnectivityconfigurationslistresult.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanageractiveconnectivityconfigurations/model_activeconnectivityconfigurationslistresult.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanageractiveconnectivityconfigurations/model_activeconnectivityconfigurationslistresult.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanageractiveconnectivityconfigurations/model_activeconnectivityconfigurationslistresult.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanageractiveconnectivityconfigurations/model_configurationgroup.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanageractiveconnectivityconfigurations/model_configurationgroup.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanageractiveconnectivityconfigurations/model_configurationgroup.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanageractiveconnectivityconfigurations/model_configurationgroup.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanageractiveconnectivityconfigurations/model_connectivityconfigurationproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanageractiveconnectivityconfigurations/model_connectivityconfigurationproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanageractiveconnectivityconfigurations/model_connectivityconfigurationproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanageractiveconnectivityconfigurations/model_connectivityconfigurationproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanageractiveconnectivityconfigurations/model_connectivitygroupitem.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanageractiveconnectivityconfigurations/model_connectivitygroupitem.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanageractiveconnectivityconfigurations/model_connectivitygroupitem.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanageractiveconnectivityconfigurations/model_connectivitygroupitem.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanageractiveconnectivityconfigurations/model_hub.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanageractiveconnectivityconfigurations/model_hub.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanageractiveconnectivityconfigurations/model_hub.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanageractiveconnectivityconfigurations/model_hub.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanageractiveconnectivityconfigurations/model_networkgroupproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanageractiveconnectivityconfigurations/model_networkgroupproperties.go new file mode 100644 index 000000000000..3f0564d6b8da --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanageractiveconnectivityconfigurations/model_networkgroupproperties.go @@ -0,0 +1,11 @@ +package networkmanageractiveconnectivityconfigurations + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NetworkGroupProperties struct { + Description *string `json:"description,omitempty"` + MemberType *GroupMemberType `json:"memberType,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + ResourceGuid *string `json:"resourceGuid,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanageractiveconnectivityconfigurations/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanageractiveconnectivityconfigurations/version.go new file mode 100644 index 000000000000..677451994f25 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanageractiveconnectivityconfigurations/version.go @@ -0,0 +1,10 @@ +package networkmanageractiveconnectivityconfigurations + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2024-03-01" + +func userAgent() string { + return "hashicorp/go-azure-sdk/networkmanageractiveconnectivityconfigurations/2024-03-01" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagerconnections/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagerconnections/README.md new file mode 100644 index 000000000000..a62c906a66ff --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagerconnections/README.md @@ -0,0 +1,161 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagerconnections` Documentation + +The `networkmanagerconnections` SDK allows for interaction with Azure Resource Manager `network` (API Version `2024-03-01`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" +import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagerconnections" +``` + + +### Client Initialization + +```go +client := networkmanagerconnections.NewNetworkManagerConnectionsClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `NetworkManagerConnectionsClient.ManagementGroupNetworkManagerConnectionsCreateOrUpdate` + +```go +ctx := context.TODO() +id := networkmanagerconnections.NewProviders2NetworkManagerConnectionID("managementGroupId", "networkManagerConnectionName") + +payload := networkmanagerconnections.NetworkManagerConnection{ + // ... +} + + +read, err := client.ManagementGroupNetworkManagerConnectionsCreateOrUpdate(ctx, id, payload) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `NetworkManagerConnectionsClient.ManagementGroupNetworkManagerConnectionsDelete` + +```go +ctx := context.TODO() +id := networkmanagerconnections.NewProviders2NetworkManagerConnectionID("managementGroupId", "networkManagerConnectionName") + +read, err := client.ManagementGroupNetworkManagerConnectionsDelete(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `NetworkManagerConnectionsClient.ManagementGroupNetworkManagerConnectionsGet` + +```go +ctx := context.TODO() +id := networkmanagerconnections.NewProviders2NetworkManagerConnectionID("managementGroupId", "networkManagerConnectionName") + +read, err := client.ManagementGroupNetworkManagerConnectionsGet(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `NetworkManagerConnectionsClient.ManagementGroupNetworkManagerConnectionsList` + +```go +ctx := context.TODO() +id := commonids.NewManagementGroupID("groupId") + +// alternatively `client.ManagementGroupNetworkManagerConnectionsList(ctx, id, networkmanagerconnections.DefaultManagementGroupNetworkManagerConnectionsListOperationOptions())` can be used to do batched pagination +items, err := client.ManagementGroupNetworkManagerConnectionsListComplete(ctx, id, networkmanagerconnections.DefaultManagementGroupNetworkManagerConnectionsListOperationOptions()) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `NetworkManagerConnectionsClient.SubscriptionNetworkManagerConnectionsCreateOrUpdate` + +```go +ctx := context.TODO() +id := networkmanagerconnections.NewNetworkManagerConnectionID("12345678-1234-9876-4563-123456789012", "networkManagerConnectionName") + +payload := networkmanagerconnections.NetworkManagerConnection{ + // ... +} + + +read, err := client.SubscriptionNetworkManagerConnectionsCreateOrUpdate(ctx, id, payload) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `NetworkManagerConnectionsClient.SubscriptionNetworkManagerConnectionsDelete` + +```go +ctx := context.TODO() +id := networkmanagerconnections.NewNetworkManagerConnectionID("12345678-1234-9876-4563-123456789012", "networkManagerConnectionName") + +read, err := client.SubscriptionNetworkManagerConnectionsDelete(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `NetworkManagerConnectionsClient.SubscriptionNetworkManagerConnectionsGet` + +```go +ctx := context.TODO() +id := networkmanagerconnections.NewNetworkManagerConnectionID("12345678-1234-9876-4563-123456789012", "networkManagerConnectionName") + +read, err := client.SubscriptionNetworkManagerConnectionsGet(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `NetworkManagerConnectionsClient.SubscriptionNetworkManagerConnectionsList` + +```go +ctx := context.TODO() +id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012") + +// alternatively `client.SubscriptionNetworkManagerConnectionsList(ctx, id, networkmanagerconnections.DefaultSubscriptionNetworkManagerConnectionsListOperationOptions())` can be used to do batched pagination +items, err := client.SubscriptionNetworkManagerConnectionsListComplete(ctx, id, networkmanagerconnections.DefaultSubscriptionNetworkManagerConnectionsListOperationOptions()) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagerconnections/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagerconnections/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagerconnections/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagerconnections/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagerconnections/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagerconnections/constants.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagerconnections/constants.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagerconnections/constants.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagerconnections/id_networkmanagerconnection.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagerconnections/id_networkmanagerconnection.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagerconnections/id_networkmanagerconnection.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagerconnections/id_networkmanagerconnection.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagerconnections/id_providers2networkmanagerconnection.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagerconnections/id_providers2networkmanagerconnection.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagerconnections/id_providers2networkmanagerconnection.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagerconnections/id_providers2networkmanagerconnection.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagerconnections/method_managementgroupnetworkmanagerconnectionscreateorupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagerconnections/method_managementgroupnetworkmanagerconnectionscreateorupdate.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagerconnections/method_managementgroupnetworkmanagerconnectionscreateorupdate.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagerconnections/method_managementgroupnetworkmanagerconnectionscreateorupdate.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagerconnections/method_managementgroupnetworkmanagerconnectionsdelete.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagerconnections/method_managementgroupnetworkmanagerconnectionsdelete.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagerconnections/method_managementgroupnetworkmanagerconnectionsdelete.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagerconnections/method_managementgroupnetworkmanagerconnectionsdelete.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagerconnections/method_managementgroupnetworkmanagerconnectionsget.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagerconnections/method_managementgroupnetworkmanagerconnectionsget.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagerconnections/method_managementgroupnetworkmanagerconnectionsget.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagerconnections/method_managementgroupnetworkmanagerconnectionsget.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagerconnections/method_managementgroupnetworkmanagerconnectionslist.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagerconnections/method_managementgroupnetworkmanagerconnectionslist.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagerconnections/method_managementgroupnetworkmanagerconnectionslist.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagerconnections/method_managementgroupnetworkmanagerconnectionslist.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagerconnections/method_subscriptionnetworkmanagerconnectionscreateorupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagerconnections/method_subscriptionnetworkmanagerconnectionscreateorupdate.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagerconnections/method_subscriptionnetworkmanagerconnectionscreateorupdate.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagerconnections/method_subscriptionnetworkmanagerconnectionscreateorupdate.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagerconnections/method_subscriptionnetworkmanagerconnectionsdelete.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagerconnections/method_subscriptionnetworkmanagerconnectionsdelete.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagerconnections/method_subscriptionnetworkmanagerconnectionsdelete.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagerconnections/method_subscriptionnetworkmanagerconnectionsdelete.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagerconnections/method_subscriptionnetworkmanagerconnectionsget.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagerconnections/method_subscriptionnetworkmanagerconnectionsget.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagerconnections/method_subscriptionnetworkmanagerconnectionsget.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagerconnections/method_subscriptionnetworkmanagerconnectionsget.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagerconnections/method_subscriptionnetworkmanagerconnectionslist.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagerconnections/method_subscriptionnetworkmanagerconnectionslist.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagerconnections/method_subscriptionnetworkmanagerconnectionslist.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagerconnections/method_subscriptionnetworkmanagerconnectionslist.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagerconnections/model_networkmanagerconnection.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagerconnections/model_networkmanagerconnection.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagerconnections/model_networkmanagerconnection.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagerconnections/model_networkmanagerconnection.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagerconnections/model_networkmanagerconnectionproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagerconnections/model_networkmanagerconnectionproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagerconnections/model_networkmanagerconnectionproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagerconnections/model_networkmanagerconnectionproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagerconnections/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagerconnections/predicates.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagerconnections/predicates.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagerconnections/predicates.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagerconnections/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagerconnections/version.go new file mode 100644 index 000000000000..dcfdaddff69e --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagerconnections/version.go @@ -0,0 +1,10 @@ +package networkmanagerconnections + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2024-03-01" + +func userAgent() string { + return "hashicorp/go-azure-sdk/networkmanagerconnections/2024-03-01" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagereffectiveconnectivityconfiguration/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagereffectiveconnectivityconfiguration/README.md new file mode 100644 index 000000000000..d3e066c2c3cf --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagereffectiveconnectivityconfiguration/README.md @@ -0,0 +1,42 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagereffectiveconnectivityconfiguration` Documentation + +The `networkmanagereffectiveconnectivityconfiguration` SDK allows for interaction with Azure Resource Manager `network` (API Version `2024-03-01`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" +import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagereffectiveconnectivityconfiguration" +``` + + +### Client Initialization + +```go +client := networkmanagereffectiveconnectivityconfiguration.NewNetworkManagerEffectiveConnectivityConfigurationClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `NetworkManagerEffectiveConnectivityConfigurationClient.ListNetworkManagerEffectiveConnectivityConfigurations` + +```go +ctx := context.TODO() +id := commonids.NewVirtualNetworkID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualNetworkName") + +payload := networkmanagereffectiveconnectivityconfiguration.QueryRequestOptions{ + // ... +} + + +read, err := client.ListNetworkManagerEffectiveConnectivityConfigurations(ctx, id, payload) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagereffectiveconnectivityconfiguration/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagereffectiveconnectivityconfiguration/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagereffectiveconnectivityconfiguration/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagereffectiveconnectivityconfiguration/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagereffectiveconnectivityconfiguration/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagereffectiveconnectivityconfiguration/constants.go new file mode 100644 index 000000000000..caa8b3c87477 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagereffectiveconnectivityconfiguration/constants.go @@ -0,0 +1,303 @@ +package networkmanagereffectiveconnectivityconfiguration + +import ( + "encoding/json" + "fmt" + "strings" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ConnectivityTopology string + +const ( + ConnectivityTopologyHubAndSpoke ConnectivityTopology = "HubAndSpoke" + ConnectivityTopologyMesh ConnectivityTopology = "Mesh" +) + +func PossibleValuesForConnectivityTopology() []string { + return []string{ + string(ConnectivityTopologyHubAndSpoke), + string(ConnectivityTopologyMesh), + } +} + +func (s *ConnectivityTopology) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseConnectivityTopology(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseConnectivityTopology(input string) (*ConnectivityTopology, error) { + vals := map[string]ConnectivityTopology{ + "hubandspoke": ConnectivityTopologyHubAndSpoke, + "mesh": ConnectivityTopologyMesh, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ConnectivityTopology(input) + return &out, nil +} + +type DeleteExistingPeering string + +const ( + DeleteExistingPeeringFalse DeleteExistingPeering = "False" + DeleteExistingPeeringTrue DeleteExistingPeering = "True" +) + +func PossibleValuesForDeleteExistingPeering() []string { + return []string{ + string(DeleteExistingPeeringFalse), + string(DeleteExistingPeeringTrue), + } +} + +func (s *DeleteExistingPeering) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseDeleteExistingPeering(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseDeleteExistingPeering(input string) (*DeleteExistingPeering, error) { + vals := map[string]DeleteExistingPeering{ + "false": DeleteExistingPeeringFalse, + "true": DeleteExistingPeeringTrue, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := DeleteExistingPeering(input) + return &out, nil +} + +type GroupConnectivity string + +const ( + GroupConnectivityDirectlyConnected GroupConnectivity = "DirectlyConnected" + GroupConnectivityNone GroupConnectivity = "None" +) + +func PossibleValuesForGroupConnectivity() []string { + return []string{ + string(GroupConnectivityDirectlyConnected), + string(GroupConnectivityNone), + } +} + +func (s *GroupConnectivity) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseGroupConnectivity(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseGroupConnectivity(input string) (*GroupConnectivity, error) { + vals := map[string]GroupConnectivity{ + "directlyconnected": GroupConnectivityDirectlyConnected, + "none": GroupConnectivityNone, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := GroupConnectivity(input) + return &out, nil +} + +type GroupMemberType string + +const ( + GroupMemberTypeSubnet GroupMemberType = "Subnet" + GroupMemberTypeVirtualNetwork GroupMemberType = "VirtualNetwork" +) + +func PossibleValuesForGroupMemberType() []string { + return []string{ + string(GroupMemberTypeSubnet), + string(GroupMemberTypeVirtualNetwork), + } +} + +func (s *GroupMemberType) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseGroupMemberType(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseGroupMemberType(input string) (*GroupMemberType, error) { + vals := map[string]GroupMemberType{ + "subnet": GroupMemberTypeSubnet, + "virtualnetwork": GroupMemberTypeVirtualNetwork, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := GroupMemberType(input) + return &out, nil +} + +type IsGlobal string + +const ( + IsGlobalFalse IsGlobal = "False" + IsGlobalTrue IsGlobal = "True" +) + +func PossibleValuesForIsGlobal() []string { + return []string{ + string(IsGlobalFalse), + string(IsGlobalTrue), + } +} + +func (s *IsGlobal) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseIsGlobal(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseIsGlobal(input string) (*IsGlobal, error) { + vals := map[string]IsGlobal{ + "false": IsGlobalFalse, + "true": IsGlobalTrue, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := IsGlobal(input) + return &out, nil +} + +type ProvisioningState string + +const ( + ProvisioningStateDeleting ProvisioningState = "Deleting" + ProvisioningStateFailed ProvisioningState = "Failed" + ProvisioningStateSucceeded ProvisioningState = "Succeeded" + ProvisioningStateUpdating ProvisioningState = "Updating" +) + +func PossibleValuesForProvisioningState() []string { + return []string{ + string(ProvisioningStateDeleting), + string(ProvisioningStateFailed), + string(ProvisioningStateSucceeded), + string(ProvisioningStateUpdating), + } +} + +func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseProvisioningState(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseProvisioningState(input string) (*ProvisioningState, error) { + vals := map[string]ProvisioningState{ + "deleting": ProvisioningStateDeleting, + "failed": ProvisioningStateFailed, + "succeeded": ProvisioningStateSucceeded, + "updating": ProvisioningStateUpdating, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ProvisioningState(input) + return &out, nil +} + +type UseHubGateway string + +const ( + UseHubGatewayFalse UseHubGateway = "False" + UseHubGatewayTrue UseHubGateway = "True" +) + +func PossibleValuesForUseHubGateway() []string { + return []string{ + string(UseHubGatewayFalse), + string(UseHubGatewayTrue), + } +} + +func (s *UseHubGateway) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseUseHubGateway(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseUseHubGateway(input string) (*UseHubGateway, error) { + vals := map[string]UseHubGateway{ + "false": UseHubGatewayFalse, + "true": UseHubGatewayTrue, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := UseHubGateway(input) + return &out, nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagereffectiveconnectivityconfiguration/method_listnetworkmanagereffectiveconnectivityconfigurations.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagereffectiveconnectivityconfiguration/method_listnetworkmanagereffectiveconnectivityconfigurations.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagereffectiveconnectivityconfiguration/method_listnetworkmanagereffectiveconnectivityconfigurations.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagereffectiveconnectivityconfiguration/method_listnetworkmanagereffectiveconnectivityconfigurations.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagereffectiveconnectivityconfiguration/model_configurationgroup.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagereffectiveconnectivityconfiguration/model_configurationgroup.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagereffectiveconnectivityconfiguration/model_configurationgroup.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagereffectiveconnectivityconfiguration/model_configurationgroup.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagereffectiveconnectivityconfiguration/model_connectivityconfigurationproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagereffectiveconnectivityconfiguration/model_connectivityconfigurationproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagereffectiveconnectivityconfiguration/model_connectivityconfigurationproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagereffectiveconnectivityconfiguration/model_connectivityconfigurationproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagereffectiveconnectivityconfiguration/model_connectivitygroupitem.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagereffectiveconnectivityconfiguration/model_connectivitygroupitem.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagereffectiveconnectivityconfiguration/model_connectivitygroupitem.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagereffectiveconnectivityconfiguration/model_connectivitygroupitem.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagereffectiveconnectivityconfiguration/model_effectiveconnectivityconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagereffectiveconnectivityconfiguration/model_effectiveconnectivityconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagereffectiveconnectivityconfiguration/model_effectiveconnectivityconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagereffectiveconnectivityconfiguration/model_effectiveconnectivityconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagereffectiveconnectivityconfiguration/model_hub.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagereffectiveconnectivityconfiguration/model_hub.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagereffectiveconnectivityconfiguration/model_hub.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagereffectiveconnectivityconfiguration/model_hub.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagereffectiveconnectivityconfiguration/model_networkgroupproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagereffectiveconnectivityconfiguration/model_networkgroupproperties.go new file mode 100644 index 000000000000..38a863e54e16 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagereffectiveconnectivityconfiguration/model_networkgroupproperties.go @@ -0,0 +1,11 @@ +package networkmanagereffectiveconnectivityconfiguration + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NetworkGroupProperties struct { + Description *string `json:"description,omitempty"` + MemberType *GroupMemberType `json:"memberType,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + ResourceGuid *string `json:"resourceGuid,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagereffectiveconnectivityconfiguration/model_networkmanagereffectiveconnectivityconfigurationlistresult.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagereffectiveconnectivityconfiguration/model_networkmanagereffectiveconnectivityconfigurationlistresult.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagereffectiveconnectivityconfiguration/model_networkmanagereffectiveconnectivityconfigurationlistresult.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagereffectiveconnectivityconfiguration/model_networkmanagereffectiveconnectivityconfigurationlistresult.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagereffectiveconnectivityconfiguration/model_queryrequestoptions.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagereffectiveconnectivityconfiguration/model_queryrequestoptions.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagereffectiveconnectivityconfiguration/model_queryrequestoptions.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagereffectiveconnectivityconfiguration/model_queryrequestoptions.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagereffectiveconnectivityconfiguration/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagereffectiveconnectivityconfiguration/version.go new file mode 100644 index 000000000000..b07cd1d5bca8 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagereffectiveconnectivityconfiguration/version.go @@ -0,0 +1,10 @@ +package networkmanagereffectiveconnectivityconfiguration + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2024-03-01" + +func userAgent() string { + return "hashicorp/go-azure-sdk/networkmanagereffectiveconnectivityconfiguration/2024-03-01" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagereffectivesecurityadminrules/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagereffectivesecurityadminrules/README.md new file mode 100644 index 000000000000..0eb1b2c75832 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagereffectivesecurityadminrules/README.md @@ -0,0 +1,42 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagereffectivesecurityadminrules` Documentation + +The `networkmanagereffectivesecurityadminrules` SDK allows for interaction with Azure Resource Manager `network` (API Version `2024-03-01`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" +import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagereffectivesecurityadminrules" +``` + + +### Client Initialization + +```go +client := networkmanagereffectivesecurityadminrules.NewNetworkManagerEffectiveSecurityAdminRulesClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `NetworkManagerEffectiveSecurityAdminRulesClient.ListNetworkManagerEffectiveSecurityAdminRules` + +```go +ctx := context.TODO() +id := commonids.NewVirtualNetworkID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualNetworkName") + +payload := networkmanagereffectivesecurityadminrules.QueryRequestOptions{ + // ... +} + + +read, err := client.ListNetworkManagerEffectiveSecurityAdminRules(ctx, id, payload) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagereffectivesecurityadminrules/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagereffectivesecurityadminrules/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagereffectivesecurityadminrules/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagereffectivesecurityadminrules/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagereffectivesecurityadminrules/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagereffectivesecurityadminrules/constants.go new file mode 100644 index 000000000000..e9b8c9e7f009 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagereffectivesecurityadminrules/constants.go @@ -0,0 +1,318 @@ +package networkmanagereffectivesecurityadminrules + +import ( + "encoding/json" + "fmt" + "strings" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type AddressPrefixType string + +const ( + AddressPrefixTypeIPPrefix AddressPrefixType = "IPPrefix" + AddressPrefixTypeServiceTag AddressPrefixType = "ServiceTag" +) + +func PossibleValuesForAddressPrefixType() []string { + return []string{ + string(AddressPrefixTypeIPPrefix), + string(AddressPrefixTypeServiceTag), + } +} + +func (s *AddressPrefixType) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseAddressPrefixType(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseAddressPrefixType(input string) (*AddressPrefixType, error) { + vals := map[string]AddressPrefixType{ + "ipprefix": AddressPrefixTypeIPPrefix, + "servicetag": AddressPrefixTypeServiceTag, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := AddressPrefixType(input) + return &out, nil +} + +type EffectiveAdminRuleKind string + +const ( + EffectiveAdminRuleKindCustom EffectiveAdminRuleKind = "Custom" + EffectiveAdminRuleKindDefault EffectiveAdminRuleKind = "Default" +) + +func PossibleValuesForEffectiveAdminRuleKind() []string { + return []string{ + string(EffectiveAdminRuleKindCustom), + string(EffectiveAdminRuleKindDefault), + } +} + +func (s *EffectiveAdminRuleKind) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseEffectiveAdminRuleKind(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseEffectiveAdminRuleKind(input string) (*EffectiveAdminRuleKind, error) { + vals := map[string]EffectiveAdminRuleKind{ + "custom": EffectiveAdminRuleKindCustom, + "default": EffectiveAdminRuleKindDefault, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := EffectiveAdminRuleKind(input) + return &out, nil +} + +type GroupMemberType string + +const ( + GroupMemberTypeSubnet GroupMemberType = "Subnet" + GroupMemberTypeVirtualNetwork GroupMemberType = "VirtualNetwork" +) + +func PossibleValuesForGroupMemberType() []string { + return []string{ + string(GroupMemberTypeSubnet), + string(GroupMemberTypeVirtualNetwork), + } +} + +func (s *GroupMemberType) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseGroupMemberType(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseGroupMemberType(input string) (*GroupMemberType, error) { + vals := map[string]GroupMemberType{ + "subnet": GroupMemberTypeSubnet, + "virtualnetwork": GroupMemberTypeVirtualNetwork, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := GroupMemberType(input) + return &out, nil +} + +type ProvisioningState string + +const ( + ProvisioningStateDeleting ProvisioningState = "Deleting" + ProvisioningStateFailed ProvisioningState = "Failed" + ProvisioningStateSucceeded ProvisioningState = "Succeeded" + ProvisioningStateUpdating ProvisioningState = "Updating" +) + +func PossibleValuesForProvisioningState() []string { + return []string{ + string(ProvisioningStateDeleting), + string(ProvisioningStateFailed), + string(ProvisioningStateSucceeded), + string(ProvisioningStateUpdating), + } +} + +func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseProvisioningState(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseProvisioningState(input string) (*ProvisioningState, error) { + vals := map[string]ProvisioningState{ + "deleting": ProvisioningStateDeleting, + "failed": ProvisioningStateFailed, + "succeeded": ProvisioningStateSucceeded, + "updating": ProvisioningStateUpdating, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ProvisioningState(input) + return &out, nil +} + +type SecurityConfigurationRuleAccess string + +const ( + SecurityConfigurationRuleAccessAllow SecurityConfigurationRuleAccess = "Allow" + SecurityConfigurationRuleAccessAlwaysAllow SecurityConfigurationRuleAccess = "AlwaysAllow" + SecurityConfigurationRuleAccessDeny SecurityConfigurationRuleAccess = "Deny" +) + +func PossibleValuesForSecurityConfigurationRuleAccess() []string { + return []string{ + string(SecurityConfigurationRuleAccessAllow), + string(SecurityConfigurationRuleAccessAlwaysAllow), + string(SecurityConfigurationRuleAccessDeny), + } +} + +func (s *SecurityConfigurationRuleAccess) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseSecurityConfigurationRuleAccess(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseSecurityConfigurationRuleAccess(input string) (*SecurityConfigurationRuleAccess, error) { + vals := map[string]SecurityConfigurationRuleAccess{ + "allow": SecurityConfigurationRuleAccessAllow, + "alwaysallow": SecurityConfigurationRuleAccessAlwaysAllow, + "deny": SecurityConfigurationRuleAccessDeny, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := SecurityConfigurationRuleAccess(input) + return &out, nil +} + +type SecurityConfigurationRuleDirection string + +const ( + SecurityConfigurationRuleDirectionInbound SecurityConfigurationRuleDirection = "Inbound" + SecurityConfigurationRuleDirectionOutbound SecurityConfigurationRuleDirection = "Outbound" +) + +func PossibleValuesForSecurityConfigurationRuleDirection() []string { + return []string{ + string(SecurityConfigurationRuleDirectionInbound), + string(SecurityConfigurationRuleDirectionOutbound), + } +} + +func (s *SecurityConfigurationRuleDirection) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseSecurityConfigurationRuleDirection(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseSecurityConfigurationRuleDirection(input string) (*SecurityConfigurationRuleDirection, error) { + vals := map[string]SecurityConfigurationRuleDirection{ + "inbound": SecurityConfigurationRuleDirectionInbound, + "outbound": SecurityConfigurationRuleDirectionOutbound, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := SecurityConfigurationRuleDirection(input) + return &out, nil +} + +type SecurityConfigurationRuleProtocol string + +const ( + SecurityConfigurationRuleProtocolAh SecurityConfigurationRuleProtocol = "Ah" + SecurityConfigurationRuleProtocolAny SecurityConfigurationRuleProtocol = "Any" + SecurityConfigurationRuleProtocolEsp SecurityConfigurationRuleProtocol = "Esp" + SecurityConfigurationRuleProtocolIcmp SecurityConfigurationRuleProtocol = "Icmp" + SecurityConfigurationRuleProtocolTcp SecurityConfigurationRuleProtocol = "Tcp" + SecurityConfigurationRuleProtocolUdp SecurityConfigurationRuleProtocol = "Udp" +) + +func PossibleValuesForSecurityConfigurationRuleProtocol() []string { + return []string{ + string(SecurityConfigurationRuleProtocolAh), + string(SecurityConfigurationRuleProtocolAny), + string(SecurityConfigurationRuleProtocolEsp), + string(SecurityConfigurationRuleProtocolIcmp), + string(SecurityConfigurationRuleProtocolTcp), + string(SecurityConfigurationRuleProtocolUdp), + } +} + +func (s *SecurityConfigurationRuleProtocol) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseSecurityConfigurationRuleProtocol(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseSecurityConfigurationRuleProtocol(input string) (*SecurityConfigurationRuleProtocol, error) { + vals := map[string]SecurityConfigurationRuleProtocol{ + "ah": SecurityConfigurationRuleProtocolAh, + "any": SecurityConfigurationRuleProtocolAny, + "esp": SecurityConfigurationRuleProtocolEsp, + "icmp": SecurityConfigurationRuleProtocolIcmp, + "tcp": SecurityConfigurationRuleProtocolTcp, + "udp": SecurityConfigurationRuleProtocolUdp, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := SecurityConfigurationRuleProtocol(input) + return &out, nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagereffectivesecurityadminrules/method_listnetworkmanagereffectivesecurityadminrules.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagereffectivesecurityadminrules/method_listnetworkmanagereffectivesecurityadminrules.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagereffectivesecurityadminrules/method_listnetworkmanagereffectivesecurityadminrules.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagereffectivesecurityadminrules/method_listnetworkmanagereffectivesecurityadminrules.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagereffectivesecurityadminrules/model_addressprefixitem.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagereffectivesecurityadminrules/model_addressprefixitem.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagereffectivesecurityadminrules/model_addressprefixitem.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagereffectivesecurityadminrules/model_addressprefixitem.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagereffectivesecurityadminrules/model_adminpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagereffectivesecurityadminrules/model_adminpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagereffectivesecurityadminrules/model_adminpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagereffectivesecurityadminrules/model_adminpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagereffectivesecurityadminrules/model_configurationgroup.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagereffectivesecurityadminrules/model_configurationgroup.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagereffectivesecurityadminrules/model_configurationgroup.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagereffectivesecurityadminrules/model_configurationgroup.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagereffectivesecurityadminrules/model_defaultadminpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagereffectivesecurityadminrules/model_defaultadminpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagereffectivesecurityadminrules/model_defaultadminpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagereffectivesecurityadminrules/model_defaultadminpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagereffectivesecurityadminrules/model_effectivebasesecurityadminrule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagereffectivesecurityadminrules/model_effectivebasesecurityadminrule.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagereffectivesecurityadminrules/model_effectivebasesecurityadminrule.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagereffectivesecurityadminrules/model_effectivebasesecurityadminrule.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagereffectivesecurityadminrules/model_effectivedefaultsecurityadminrule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagereffectivesecurityadminrules/model_effectivedefaultsecurityadminrule.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagereffectivesecurityadminrules/model_effectivedefaultsecurityadminrule.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagereffectivesecurityadminrules/model_effectivedefaultsecurityadminrule.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagereffectivesecurityadminrules/model_effectivesecurityadminrule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagereffectivesecurityadminrules/model_effectivesecurityadminrule.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagereffectivesecurityadminrules/model_effectivesecurityadminrule.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagereffectivesecurityadminrules/model_effectivesecurityadminrule.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagereffectivesecurityadminrules/model_networkgroupproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagereffectivesecurityadminrules/model_networkgroupproperties.go new file mode 100644 index 000000000000..e032fa24f5a0 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagereffectivesecurityadminrules/model_networkgroupproperties.go @@ -0,0 +1,11 @@ +package networkmanagereffectivesecurityadminrules + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NetworkGroupProperties struct { + Description *string `json:"description,omitempty"` + MemberType *GroupMemberType `json:"memberType,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + ResourceGuid *string `json:"resourceGuid,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagereffectivesecurityadminrules/model_networkmanagereffectivesecurityadminruleslistresult.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagereffectivesecurityadminrules/model_networkmanagereffectivesecurityadminruleslistresult.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagereffectivesecurityadminrules/model_networkmanagereffectivesecurityadminruleslistresult.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagereffectivesecurityadminrules/model_networkmanagereffectivesecurityadminruleslistresult.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagereffectivesecurityadminrules/model_networkmanagersecuritygroupitem.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagereffectivesecurityadminrules/model_networkmanagersecuritygroupitem.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagereffectivesecurityadminrules/model_networkmanagersecuritygroupitem.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagereffectivesecurityadminrules/model_networkmanagersecuritygroupitem.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagereffectivesecurityadminrules/model_queryrequestoptions.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagereffectivesecurityadminrules/model_queryrequestoptions.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagereffectivesecurityadminrules/model_queryrequestoptions.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagereffectivesecurityadminrules/model_queryrequestoptions.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagereffectivesecurityadminrules/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagereffectivesecurityadminrules/version.go new file mode 100644 index 000000000000..b70e1040ee04 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagereffectivesecurityadminrules/version.go @@ -0,0 +1,10 @@ +package networkmanagereffectivesecurityadminrules + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2024-03-01" + +func userAgent() string { + return "hashicorp/go-azure-sdk/networkmanagereffectivesecurityadminrules/2024-03-01" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagerroutingconfigurations/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagerroutingconfigurations/README.md new file mode 100644 index 000000000000..3d3f907a4897 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagerroutingconfigurations/README.md @@ -0,0 +1,86 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagerroutingconfigurations` Documentation + +The `networkmanagerroutingconfigurations` SDK allows for interaction with Azure Resource Manager `network` (API Version `2024-03-01`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagerroutingconfigurations" +``` + + +### Client Initialization + +```go +client := networkmanagerroutingconfigurations.NewNetworkManagerRoutingConfigurationsClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `NetworkManagerRoutingConfigurationsClient.CreateOrUpdate` + +```go +ctx := context.TODO() +id := networkmanagerroutingconfigurations.NewRoutingConfigurationID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkManagerName", "routingConfigurationName") + +payload := networkmanagerroutingconfigurations.NetworkManagerRoutingConfiguration{ + // ... +} + + +read, err := client.CreateOrUpdate(ctx, id, payload) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `NetworkManagerRoutingConfigurationsClient.Delete` + +```go +ctx := context.TODO() +id := networkmanagerroutingconfigurations.NewRoutingConfigurationID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkManagerName", "routingConfigurationName") + +if err := client.DeleteThenPoll(ctx, id, networkmanagerroutingconfigurations.DefaultDeleteOperationOptions()); err != nil { + // handle the error +} +``` + + +### Example Usage: `NetworkManagerRoutingConfigurationsClient.Get` + +```go +ctx := context.TODO() +id := networkmanagerroutingconfigurations.NewRoutingConfigurationID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkManagerName", "routingConfigurationName") + +read, err := client.Get(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `NetworkManagerRoutingConfigurationsClient.List` + +```go +ctx := context.TODO() +id := networkmanagerroutingconfigurations.NewNetworkManagerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkManagerName") + +// alternatively `client.List(ctx, id, networkmanagerroutingconfigurations.DefaultListOperationOptions())` can be used to do batched pagination +items, err := client.ListComplete(ctx, id, networkmanagerroutingconfigurations.DefaultListOperationOptions()) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagerroutingconfigurations/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagerroutingconfigurations/client.go new file mode 100644 index 000000000000..cba155b1be76 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagerroutingconfigurations/client.go @@ -0,0 +1,26 @@ +package networkmanagerroutingconfigurations + +import ( + "fmt" + + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + sdkEnv "github.com/hashicorp/go-azure-sdk/sdk/environments" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NetworkManagerRoutingConfigurationsClient struct { + Client *resourcemanager.Client +} + +func NewNetworkManagerRoutingConfigurationsClientWithBaseURI(sdkApi sdkEnv.Api) (*NetworkManagerRoutingConfigurationsClient, error) { + client, err := resourcemanager.NewClient(sdkApi, "networkmanagerroutingconfigurations", defaultApiVersion) + if err != nil { + return nil, fmt.Errorf("instantiating NetworkManagerRoutingConfigurationsClient: %+v", err) + } + + return &NetworkManagerRoutingConfigurationsClient{ + Client: client, + }, nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagerroutingconfigurations/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagerroutingconfigurations/constants.go new file mode 100644 index 000000000000..8e6da58586cd --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagerroutingconfigurations/constants.go @@ -0,0 +1,57 @@ +package networkmanagerroutingconfigurations + +import ( + "encoding/json" + "fmt" + "strings" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ProvisioningState string + +const ( + ProvisioningStateDeleting ProvisioningState = "Deleting" + ProvisioningStateFailed ProvisioningState = "Failed" + ProvisioningStateSucceeded ProvisioningState = "Succeeded" + ProvisioningStateUpdating ProvisioningState = "Updating" +) + +func PossibleValuesForProvisioningState() []string { + return []string{ + string(ProvisioningStateDeleting), + string(ProvisioningStateFailed), + string(ProvisioningStateSucceeded), + string(ProvisioningStateUpdating), + } +} + +func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseProvisioningState(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseProvisioningState(input string) (*ProvisioningState, error) { + vals := map[string]ProvisioningState{ + "deleting": ProvisioningStateDeleting, + "failed": ProvisioningStateFailed, + "succeeded": ProvisioningStateSucceeded, + "updating": ProvisioningStateUpdating, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ProvisioningState(input) + return &out, nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagerroutingconfigurations/id_networkmanager.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagerroutingconfigurations/id_networkmanager.go new file mode 100644 index 000000000000..6036bf276036 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagerroutingconfigurations/id_networkmanager.go @@ -0,0 +1,130 @@ +package networkmanagerroutingconfigurations + +import ( + "fmt" + "strings" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/recaser" + "github.com/hashicorp/go-azure-helpers/resourcemanager/resourceids" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +func init() { + recaser.RegisterResourceId(&NetworkManagerId{}) +} + +var _ resourceids.ResourceId = &NetworkManagerId{} + +// NetworkManagerId is a struct representing the Resource ID for a Network Manager +type NetworkManagerId struct { + SubscriptionId string + ResourceGroupName string + NetworkManagerName string +} + +// NewNetworkManagerID returns a new NetworkManagerId struct +func NewNetworkManagerID(subscriptionId string, resourceGroupName string, networkManagerName string) NetworkManagerId { + return NetworkManagerId{ + SubscriptionId: subscriptionId, + ResourceGroupName: resourceGroupName, + NetworkManagerName: networkManagerName, + } +} + +// ParseNetworkManagerID parses 'input' into a NetworkManagerId +func ParseNetworkManagerID(input string) (*NetworkManagerId, error) { + parser := resourceids.NewParserFromResourceIdType(&NetworkManagerId{}) + parsed, err := parser.Parse(input, false) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := NetworkManagerId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +// ParseNetworkManagerIDInsensitively parses 'input' case-insensitively into a NetworkManagerId +// note: this method should only be used for API response data and not user input +func ParseNetworkManagerIDInsensitively(input string) (*NetworkManagerId, error) { + parser := resourceids.NewParserFromResourceIdType(&NetworkManagerId{}) + parsed, err := parser.Parse(input, true) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := NetworkManagerId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +func (id *NetworkManagerId) FromParseResult(input resourceids.ParseResult) error { + var ok bool + + if id.SubscriptionId, ok = input.Parsed["subscriptionId"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "subscriptionId", input) + } + + if id.ResourceGroupName, ok = input.Parsed["resourceGroupName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "resourceGroupName", input) + } + + if id.NetworkManagerName, ok = input.Parsed["networkManagerName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "networkManagerName", input) + } + + return nil +} + +// ValidateNetworkManagerID checks that 'input' can be parsed as a Network Manager ID +func ValidateNetworkManagerID(input interface{}, key string) (warnings []string, errors []error) { + v, ok := input.(string) + if !ok { + errors = append(errors, fmt.Errorf("expected %q to be a string", key)) + return + } + + if _, err := ParseNetworkManagerID(v); err != nil { + errors = append(errors, err) + } + + return +} + +// ID returns the formatted Network Manager ID +func (id NetworkManagerId) ID() string { + fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.Network/networkManagers/%s" + return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.NetworkManagerName) +} + +// Segments returns a slice of Resource ID Segments which comprise this Network Manager ID +func (id NetworkManagerId) Segments() []resourceids.Segment { + return []resourceids.Segment{ + resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), + resourceids.SubscriptionIdSegment("subscriptionId", "12345678-1234-9876-4563-123456789012"), + resourceids.StaticSegment("staticResourceGroups", "resourceGroups", "resourceGroups"), + resourceids.ResourceGroupSegment("resourceGroupName", "example-resource-group"), + resourceids.StaticSegment("staticProviders", "providers", "providers"), + resourceids.ResourceProviderSegment("staticMicrosoftNetwork", "Microsoft.Network", "Microsoft.Network"), + resourceids.StaticSegment("staticNetworkManagers", "networkManagers", "networkManagers"), + resourceids.UserSpecifiedSegment("networkManagerName", "networkManagerName"), + } +} + +// String returns a human-readable description of this Network Manager ID +func (id NetworkManagerId) String() string { + components := []string{ + fmt.Sprintf("Subscription: %q", id.SubscriptionId), + fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), + fmt.Sprintf("Network Manager Name: %q", id.NetworkManagerName), + } + return fmt.Sprintf("Network Manager (%s)", strings.Join(components, "\n")) +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagerroutingconfigurations/id_routingconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagerroutingconfigurations/id_routingconfiguration.go new file mode 100644 index 000000000000..a9666fb45cd0 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagerroutingconfigurations/id_routingconfiguration.go @@ -0,0 +1,139 @@ +package networkmanagerroutingconfigurations + +import ( + "fmt" + "strings" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/recaser" + "github.com/hashicorp/go-azure-helpers/resourcemanager/resourceids" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +func init() { + recaser.RegisterResourceId(&RoutingConfigurationId{}) +} + +var _ resourceids.ResourceId = &RoutingConfigurationId{} + +// RoutingConfigurationId is a struct representing the Resource ID for a Routing Configuration +type RoutingConfigurationId struct { + SubscriptionId string + ResourceGroupName string + NetworkManagerName string + RoutingConfigurationName string +} + +// NewRoutingConfigurationID returns a new RoutingConfigurationId struct +func NewRoutingConfigurationID(subscriptionId string, resourceGroupName string, networkManagerName string, routingConfigurationName string) RoutingConfigurationId { + return RoutingConfigurationId{ + SubscriptionId: subscriptionId, + ResourceGroupName: resourceGroupName, + NetworkManagerName: networkManagerName, + RoutingConfigurationName: routingConfigurationName, + } +} + +// ParseRoutingConfigurationID parses 'input' into a RoutingConfigurationId +func ParseRoutingConfigurationID(input string) (*RoutingConfigurationId, error) { + parser := resourceids.NewParserFromResourceIdType(&RoutingConfigurationId{}) + parsed, err := parser.Parse(input, false) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := RoutingConfigurationId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +// ParseRoutingConfigurationIDInsensitively parses 'input' case-insensitively into a RoutingConfigurationId +// note: this method should only be used for API response data and not user input +func ParseRoutingConfigurationIDInsensitively(input string) (*RoutingConfigurationId, error) { + parser := resourceids.NewParserFromResourceIdType(&RoutingConfigurationId{}) + parsed, err := parser.Parse(input, true) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := RoutingConfigurationId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +func (id *RoutingConfigurationId) FromParseResult(input resourceids.ParseResult) error { + var ok bool + + if id.SubscriptionId, ok = input.Parsed["subscriptionId"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "subscriptionId", input) + } + + if id.ResourceGroupName, ok = input.Parsed["resourceGroupName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "resourceGroupName", input) + } + + if id.NetworkManagerName, ok = input.Parsed["networkManagerName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "networkManagerName", input) + } + + if id.RoutingConfigurationName, ok = input.Parsed["routingConfigurationName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "routingConfigurationName", input) + } + + return nil +} + +// ValidateRoutingConfigurationID checks that 'input' can be parsed as a Routing Configuration ID +func ValidateRoutingConfigurationID(input interface{}, key string) (warnings []string, errors []error) { + v, ok := input.(string) + if !ok { + errors = append(errors, fmt.Errorf("expected %q to be a string", key)) + return + } + + if _, err := ParseRoutingConfigurationID(v); err != nil { + errors = append(errors, err) + } + + return +} + +// ID returns the formatted Routing Configuration ID +func (id RoutingConfigurationId) ID() string { + fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.Network/networkManagers/%s/routingConfigurations/%s" + return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.NetworkManagerName, id.RoutingConfigurationName) +} + +// Segments returns a slice of Resource ID Segments which comprise this Routing Configuration ID +func (id RoutingConfigurationId) Segments() []resourceids.Segment { + return []resourceids.Segment{ + resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), + resourceids.SubscriptionIdSegment("subscriptionId", "12345678-1234-9876-4563-123456789012"), + resourceids.StaticSegment("staticResourceGroups", "resourceGroups", "resourceGroups"), + resourceids.ResourceGroupSegment("resourceGroupName", "example-resource-group"), + resourceids.StaticSegment("staticProviders", "providers", "providers"), + resourceids.ResourceProviderSegment("staticMicrosoftNetwork", "Microsoft.Network", "Microsoft.Network"), + resourceids.StaticSegment("staticNetworkManagers", "networkManagers", "networkManagers"), + resourceids.UserSpecifiedSegment("networkManagerName", "networkManagerName"), + resourceids.StaticSegment("staticRoutingConfigurations", "routingConfigurations", "routingConfigurations"), + resourceids.UserSpecifiedSegment("routingConfigurationName", "routingConfigurationName"), + } +} + +// String returns a human-readable description of this Routing Configuration ID +func (id RoutingConfigurationId) String() string { + components := []string{ + fmt.Sprintf("Subscription: %q", id.SubscriptionId), + fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), + fmt.Sprintf("Network Manager Name: %q", id.NetworkManagerName), + fmt.Sprintf("Routing Configuration Name: %q", id.RoutingConfigurationName), + } + return fmt.Sprintf("Routing Configuration (%s)", strings.Join(components, "\n")) +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagerroutingconfigurations/method_createorupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagerroutingconfigurations/method_createorupdate.go new file mode 100644 index 000000000000..ec0b2ada3f5a --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagerroutingconfigurations/method_createorupdate.go @@ -0,0 +1,58 @@ +package networkmanagerroutingconfigurations + +import ( + "context" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type CreateOrUpdateOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *NetworkManagerRoutingConfiguration +} + +// CreateOrUpdate ... +func (c NetworkManagerRoutingConfigurationsClient) CreateOrUpdate(ctx context.Context, id RoutingConfigurationId, input NetworkManagerRoutingConfiguration) (result CreateOrUpdateOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusCreated, + http.StatusOK, + }, + HttpMethod: http.MethodPut, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + if err = req.Marshal(input); err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var model NetworkManagerRoutingConfiguration + result.Model = &model + if err = resp.Unmarshal(result.Model); err != nil { + return + } + + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagerroutingconfigurations/method_delete.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagerroutingconfigurations/method_delete.go new file mode 100644 index 000000000000..d0b3464065a4 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagerroutingconfigurations/method_delete.go @@ -0,0 +1,100 @@ +package networkmanagerroutingconfigurations + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/client/pollers" + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type DeleteOperationResponse struct { + Poller pollers.Poller + HttpResponse *http.Response + OData *odata.OData +} + +type DeleteOperationOptions struct { + Force *bool +} + +func DefaultDeleteOperationOptions() DeleteOperationOptions { + return DeleteOperationOptions{} +} + +func (o DeleteOperationOptions) ToHeaders() *client.Headers { + out := client.Headers{} + + return &out +} + +func (o DeleteOperationOptions) ToOData() *odata.Query { + out := odata.Query{} + + return &out +} + +func (o DeleteOperationOptions) ToQuery() *client.QueryParams { + out := client.QueryParams{} + if o.Force != nil { + out.Append("force", fmt.Sprintf("%v", *o.Force)) + } + return &out +} + +// Delete ... +func (c NetworkManagerRoutingConfigurationsClient) Delete(ctx context.Context, id RoutingConfigurationId, options DeleteOperationOptions) (result DeleteOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusAccepted, + http.StatusNoContent, + http.StatusOK, + }, + HttpMethod: http.MethodDelete, + OptionsObject: options, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client) + if err != nil { + return + } + + return +} + +// DeleteThenPoll performs Delete then polls until it's completed +func (c NetworkManagerRoutingConfigurationsClient) DeleteThenPoll(ctx context.Context, id RoutingConfigurationId, options DeleteOperationOptions) error { + result, err := c.Delete(ctx, id, options) + if err != nil { + return fmt.Errorf("performing Delete: %+v", err) + } + + if err := result.Poller.PollUntilDone(ctx); err != nil { + return fmt.Errorf("polling after Delete: %+v", err) + } + + return nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagerroutingconfigurations/method_get.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagerroutingconfigurations/method_get.go new file mode 100644 index 000000000000..d1be82cc918e --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagerroutingconfigurations/method_get.go @@ -0,0 +1,53 @@ +package networkmanagerroutingconfigurations + +import ( + "context" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type GetOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *NetworkManagerRoutingConfiguration +} + +// Get ... +func (c NetworkManagerRoutingConfigurationsClient) Get(ctx context.Context, id RoutingConfigurationId) (result GetOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var model NetworkManagerRoutingConfiguration + result.Model = &model + if err = resp.Unmarshal(result.Model); err != nil { + return + } + + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagerroutingconfigurations/method_list.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagerroutingconfigurations/method_list.go new file mode 100644 index 000000000000..2318cf571675 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagerroutingconfigurations/method_list.go @@ -0,0 +1,134 @@ +package networkmanagerroutingconfigurations + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ListOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *[]NetworkManagerRoutingConfiguration +} + +type ListCompleteResult struct { + LatestHttpResponse *http.Response + Items []NetworkManagerRoutingConfiguration +} + +type ListOperationOptions struct { + Top *int64 +} + +func DefaultListOperationOptions() ListOperationOptions { + return ListOperationOptions{} +} + +func (o ListOperationOptions) ToHeaders() *client.Headers { + out := client.Headers{} + + return &out +} + +func (o ListOperationOptions) ToOData() *odata.Query { + out := odata.Query{} + + return &out +} + +func (o ListOperationOptions) ToQuery() *client.QueryParams { + out := client.QueryParams{} + if o.Top != nil { + out.Append("$top", fmt.Sprintf("%v", *o.Top)) + } + return &out +} + +type ListCustomPager struct { + NextLink *odata.Link `json:"nextLink"` +} + +func (p *ListCustomPager) NextPageLink() *odata.Link { + defer func() { + p.NextLink = nil + }() + + return p.NextLink +} + +// List ... +func (c NetworkManagerRoutingConfigurationsClient) List(ctx context.Context, id NetworkManagerId, options ListOperationOptions) (result ListOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + OptionsObject: options, + Pager: &ListCustomPager{}, + Path: fmt.Sprintf("%s/routingConfigurations", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.ExecutePaged(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var values struct { + Values *[]NetworkManagerRoutingConfiguration `json:"value"` + } + if err = resp.Unmarshal(&values); err != nil { + return + } + + result.Model = values.Values + + return +} + +// ListComplete retrieves all the results into a single object +func (c NetworkManagerRoutingConfigurationsClient) ListComplete(ctx context.Context, id NetworkManagerId, options ListOperationOptions) (ListCompleteResult, error) { + return c.ListCompleteMatchingPredicate(ctx, id, options, NetworkManagerRoutingConfigurationOperationPredicate{}) +} + +// ListCompleteMatchingPredicate retrieves all the results and then applies the predicate +func (c NetworkManagerRoutingConfigurationsClient) ListCompleteMatchingPredicate(ctx context.Context, id NetworkManagerId, options ListOperationOptions, predicate NetworkManagerRoutingConfigurationOperationPredicate) (result ListCompleteResult, err error) { + items := make([]NetworkManagerRoutingConfiguration, 0) + + resp, err := c.List(ctx, id, options) + if err != nil { + result.LatestHttpResponse = resp.HttpResponse + err = fmt.Errorf("loading results: %+v", err) + return + } + if resp.Model != nil { + for _, v := range *resp.Model { + if predicate.Matches(v) { + items = append(items, v) + } + } + } + + result = ListCompleteResult{ + LatestHttpResponse: resp.HttpResponse, + Items: items, + } + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagerroutingconfigurations/model_networkmanagerroutingconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagerroutingconfigurations/model_networkmanagerroutingconfiguration.go new file mode 100644 index 000000000000..775855260e0d --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagerroutingconfigurations/model_networkmanagerroutingconfiguration.go @@ -0,0 +1,17 @@ +package networkmanagerroutingconfigurations + +import ( + "github.com/hashicorp/go-azure-helpers/resourcemanager/systemdata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NetworkManagerRoutingConfiguration struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *NetworkManagerRoutingConfigurationPropertiesFormat `json:"properties,omitempty"` + SystemData *systemdata.SystemData `json:"systemData,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagerroutingconfigurations/model_networkmanagerroutingconfigurationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagerroutingconfigurations/model_networkmanagerroutingconfigurationpropertiesformat.go new file mode 100644 index 000000000000..beeb3bbf8f33 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagerroutingconfigurations/model_networkmanagerroutingconfigurationpropertiesformat.go @@ -0,0 +1,10 @@ +package networkmanagerroutingconfigurations + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NetworkManagerRoutingConfigurationPropertiesFormat struct { + Description *string `json:"description,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + ResourceGuid *string `json:"resourceGuid,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagerroutingconfigurations/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagerroutingconfigurations/predicates.go new file mode 100644 index 000000000000..a1aaea41056b --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagerroutingconfigurations/predicates.go @@ -0,0 +1,32 @@ +package networkmanagerroutingconfigurations + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NetworkManagerRoutingConfigurationOperationPredicate struct { + Etag *string + Id *string + Name *string + Type *string +} + +func (p NetworkManagerRoutingConfigurationOperationPredicate) Matches(input NetworkManagerRoutingConfiguration) bool { + + if p.Etag != nil && (input.Etag == nil || *p.Etag != *input.Etag) { + return false + } + + if p.Id != nil && (input.Id == nil || *p.Id != *input.Id) { + return false + } + + if p.Name != nil && (input.Name == nil || *p.Name != *input.Name) { + return false + } + + if p.Type != nil && (input.Type == nil || *p.Type != *input.Type) { + return false + } + + return true +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagerroutingconfigurations/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagerroutingconfigurations/version.go new file mode 100644 index 000000000000..c53e13a2ee87 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagerroutingconfigurations/version.go @@ -0,0 +1,10 @@ +package networkmanagerroutingconfigurations + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2024-03-01" + +func userAgent() string { + return "hashicorp/go-azure-sdk/networkmanagerroutingconfigurations/2024-03-01" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagers/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagers/README.md new file mode 100644 index 000000000000..0addb27874c7 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagers/README.md @@ -0,0 +1,163 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagers` Documentation + +The `networkmanagers` SDK allows for interaction with Azure Resource Manager `network` (API Version `2024-03-01`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" +import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagers" +``` + + +### Client Initialization + +```go +client := networkmanagers.NewNetworkManagersClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `NetworkManagersClient.CreateOrUpdate` + +```go +ctx := context.TODO() +id := networkmanagers.NewNetworkManagerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkManagerName") + +payload := networkmanagers.NetworkManager{ + // ... +} + + +read, err := client.CreateOrUpdate(ctx, id, payload) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `NetworkManagersClient.Delete` + +```go +ctx := context.TODO() +id := networkmanagers.NewNetworkManagerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkManagerName") + +if err := client.DeleteThenPoll(ctx, id, networkmanagers.DefaultDeleteOperationOptions()); err != nil { + // handle the error +} +``` + + +### Example Usage: `NetworkManagersClient.Get` + +```go +ctx := context.TODO() +id := networkmanagers.NewNetworkManagerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkManagerName") + +read, err := client.Get(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `NetworkManagersClient.List` + +```go +ctx := context.TODO() +id := commonids.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group") + +// alternatively `client.List(ctx, id, networkmanagers.DefaultListOperationOptions())` can be used to do batched pagination +items, err := client.ListComplete(ctx, id, networkmanagers.DefaultListOperationOptions()) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `NetworkManagersClient.ListBySubscription` + +```go +ctx := context.TODO() +id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012") + +// alternatively `client.ListBySubscription(ctx, id, networkmanagers.DefaultListBySubscriptionOperationOptions())` can be used to do batched pagination +items, err := client.ListBySubscriptionComplete(ctx, id, networkmanagers.DefaultListBySubscriptionOperationOptions()) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `NetworkManagersClient.NetworkManagerCommitsPost` + +```go +ctx := context.TODO() +id := networkmanagers.NewNetworkManagerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkManagerName") + +payload := networkmanagers.NetworkManagerCommit{ + // ... +} + + +if err := client.NetworkManagerCommitsPostThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `NetworkManagersClient.NetworkManagerDeploymentStatusList` + +```go +ctx := context.TODO() +id := networkmanagers.NewNetworkManagerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkManagerName") + +payload := networkmanagers.NetworkManagerDeploymentStatusParameter{ + // ... +} + + +read, err := client.NetworkManagerDeploymentStatusList(ctx, id, payload) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `NetworkManagersClient.Patch` + +```go +ctx := context.TODO() +id := networkmanagers.NewNetworkManagerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkManagerName") + +payload := networkmanagers.PatchObject{ + // ... +} + + +read, err := client.Patch(ctx, id, payload) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagers/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagers/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagers/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagers/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagers/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagers/constants.go new file mode 100644 index 000000000000..03e251a66011 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagers/constants.go @@ -0,0 +1,151 @@ +package networkmanagers + +import ( + "encoding/json" + "fmt" + "strings" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ConfigurationType string + +const ( + ConfigurationTypeConnectivity ConfigurationType = "Connectivity" + ConfigurationTypeRouting ConfigurationType = "Routing" + ConfigurationTypeSecurityAdmin ConfigurationType = "SecurityAdmin" + ConfigurationTypeSecurityUser ConfigurationType = "SecurityUser" +) + +func PossibleValuesForConfigurationType() []string { + return []string{ + string(ConfigurationTypeConnectivity), + string(ConfigurationTypeRouting), + string(ConfigurationTypeSecurityAdmin), + string(ConfigurationTypeSecurityUser), + } +} + +func (s *ConfigurationType) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseConfigurationType(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseConfigurationType(input string) (*ConfigurationType, error) { + vals := map[string]ConfigurationType{ + "connectivity": ConfigurationTypeConnectivity, + "routing": ConfigurationTypeRouting, + "securityadmin": ConfigurationTypeSecurityAdmin, + "securityuser": ConfigurationTypeSecurityUser, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ConfigurationType(input) + return &out, nil +} + +type DeploymentStatus string + +const ( + DeploymentStatusDeployed DeploymentStatus = "Deployed" + DeploymentStatusDeploying DeploymentStatus = "Deploying" + DeploymentStatusFailed DeploymentStatus = "Failed" + DeploymentStatusNotStarted DeploymentStatus = "NotStarted" +) + +func PossibleValuesForDeploymentStatus() []string { + return []string{ + string(DeploymentStatusDeployed), + string(DeploymentStatusDeploying), + string(DeploymentStatusFailed), + string(DeploymentStatusNotStarted), + } +} + +func (s *DeploymentStatus) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseDeploymentStatus(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseDeploymentStatus(input string) (*DeploymentStatus, error) { + vals := map[string]DeploymentStatus{ + "deployed": DeploymentStatusDeployed, + "deploying": DeploymentStatusDeploying, + "failed": DeploymentStatusFailed, + "notstarted": DeploymentStatusNotStarted, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := DeploymentStatus(input) + return &out, nil +} + +type ProvisioningState string + +const ( + ProvisioningStateDeleting ProvisioningState = "Deleting" + ProvisioningStateFailed ProvisioningState = "Failed" + ProvisioningStateSucceeded ProvisioningState = "Succeeded" + ProvisioningStateUpdating ProvisioningState = "Updating" +) + +func PossibleValuesForProvisioningState() []string { + return []string{ + string(ProvisioningStateDeleting), + string(ProvisioningStateFailed), + string(ProvisioningStateSucceeded), + string(ProvisioningStateUpdating), + } +} + +func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseProvisioningState(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseProvisioningState(input string) (*ProvisioningState, error) { + vals := map[string]ProvisioningState{ + "deleting": ProvisioningStateDeleting, + "failed": ProvisioningStateFailed, + "succeeded": ProvisioningStateSucceeded, + "updating": ProvisioningStateUpdating, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ProvisioningState(input) + return &out, nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagers/id_networkmanager.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagers/id_networkmanager.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagers/id_networkmanager.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagers/id_networkmanager.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagers/method_createorupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagers/method_createorupdate.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagers/method_createorupdate.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagers/method_createorupdate.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagers/method_delete.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagers/method_delete.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagers/method_delete.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagers/method_delete.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagers/method_get.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagers/method_get.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagers/method_get.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagers/method_get.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagers/method_list.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagers/method_list.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagers/method_list.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagers/method_list.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagers/method_listbysubscription.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagers/method_listbysubscription.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagers/method_listbysubscription.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagers/method_listbysubscription.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagers/method_networkmanagercommitspost.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagers/method_networkmanagercommitspost.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagers/method_networkmanagercommitspost.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagers/method_networkmanagercommitspost.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagers/method_networkmanagerdeploymentstatuslist.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagers/method_networkmanagerdeploymentstatuslist.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagers/method_networkmanagerdeploymentstatuslist.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagers/method_networkmanagerdeploymentstatuslist.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagers/method_patch.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagers/method_patch.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagers/method_patch.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagers/method_patch.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagers/model_crosstenantscopes.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagers/model_crosstenantscopes.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagers/model_crosstenantscopes.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagers/model_crosstenantscopes.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagers/model_networkmanager.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagers/model_networkmanager.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagers/model_networkmanager.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagers/model_networkmanager.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagers/model_networkmanagercommit.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagers/model_networkmanagercommit.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagers/model_networkmanagercommit.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagers/model_networkmanagercommit.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagers/model_networkmanagerdeploymentstatus.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagers/model_networkmanagerdeploymentstatus.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagers/model_networkmanagerdeploymentstatus.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagers/model_networkmanagerdeploymentstatus.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagers/model_networkmanagerdeploymentstatuslistresult.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagers/model_networkmanagerdeploymentstatuslistresult.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagers/model_networkmanagerdeploymentstatuslistresult.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagers/model_networkmanagerdeploymentstatuslistresult.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagers/model_networkmanagerdeploymentstatusparameter.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagers/model_networkmanagerdeploymentstatusparameter.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagers/model_networkmanagerdeploymentstatusparameter.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagers/model_networkmanagerdeploymentstatusparameter.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagers/model_networkmanagerproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagers/model_networkmanagerproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagers/model_networkmanagerproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagers/model_networkmanagerproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagers/model_networkmanagerpropertiesnetworkmanagerscopes.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagers/model_networkmanagerpropertiesnetworkmanagerscopes.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagers/model_networkmanagerpropertiesnetworkmanagerscopes.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagers/model_networkmanagerpropertiesnetworkmanagerscopes.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagers/model_patchobject.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagers/model_patchobject.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagers/model_patchobject.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagers/model_patchobject.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagers/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagers/predicates.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagers/predicates.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagers/predicates.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagers/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagers/version.go new file mode 100644 index 000000000000..83be06dfa17b --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagers/version.go @@ -0,0 +1,10 @@ +package networkmanagers + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2024-03-01" + +func userAgent() string { + return "hashicorp/go-azure-sdk/networkmanagers/2024-03-01" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/README.md new file mode 100644 index 000000000000..21c6cfde1994 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/README.md @@ -0,0 +1,125 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles` Documentation + +The `networkprofiles` SDK allows for interaction with Azure Resource Manager `network` (API Version `2024-03-01`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" +import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles" +``` + + +### Client Initialization + +```go +client := networkprofiles.NewNetworkProfilesClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `NetworkProfilesClient.CreateOrUpdate` + +```go +ctx := context.TODO() +id := networkprofiles.NewNetworkProfileID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkProfileName") + +payload := networkprofiles.NetworkProfile{ + // ... +} + + +read, err := client.CreateOrUpdate(ctx, id, payload) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `NetworkProfilesClient.Delete` + +```go +ctx := context.TODO() +id := networkprofiles.NewNetworkProfileID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkProfileName") + +if err := client.DeleteThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `NetworkProfilesClient.Get` + +```go +ctx := context.TODO() +id := networkprofiles.NewNetworkProfileID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkProfileName") + +read, err := client.Get(ctx, id, networkprofiles.DefaultGetOperationOptions()) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `NetworkProfilesClient.List` + +```go +ctx := context.TODO() +id := commonids.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group") + +// alternatively `client.List(ctx, id)` can be used to do batched pagination +items, err := client.ListComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `NetworkProfilesClient.ListAll` + +```go +ctx := context.TODO() +id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012") + +// alternatively `client.ListAll(ctx, id)` can be used to do batched pagination +items, err := client.ListAllComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `NetworkProfilesClient.UpdateTags` + +```go +ctx := context.TODO() +id := networkprofiles.NewNetworkProfileID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkProfileName") + +payload := networkprofiles.TagsObject{ + // ... +} + + +read, err := client.UpdateTags(ctx, id, payload) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/constants.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/constants.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/constants.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/id_networkprofile.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/id_networkprofile.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/id_networkprofile.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/id_networkprofile.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/method_createorupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/method_createorupdate.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/method_createorupdate.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/method_createorupdate.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/method_delete.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/method_delete.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/method_delete.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/method_delete.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/method_get.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/method_get.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/method_get.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/method_get.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/method_list.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/method_list.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/method_list.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/method_list.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/method_listall.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/method_listall.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/method_listall.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/method_listall.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/method_updatetags.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/method_updatetags.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/method_updatetags.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/method_updatetags.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_applicationgatewaybackendaddress.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_applicationgatewaybackendaddress.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_applicationgatewaybackendaddress.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_applicationgatewaybackendaddress.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_applicationgatewaybackendaddresspool.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_applicationgatewaybackendaddresspool.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_applicationgatewaybackendaddresspool.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_applicationgatewaybackendaddresspool.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_applicationgatewaybackendaddresspoolpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_applicationgatewaybackendaddresspoolpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_applicationgatewaybackendaddresspoolpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_applicationgatewaybackendaddresspoolpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_applicationgatewayipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_applicationgatewayipconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_applicationgatewayipconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_applicationgatewayipconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_applicationgatewayipconfigurationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_applicationgatewayipconfigurationpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_applicationgatewayipconfigurationpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_applicationgatewayipconfigurationpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_applicationsecuritygroup.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_applicationsecuritygroup.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_applicationsecuritygroup.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_applicationsecuritygroup.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_applicationsecuritygrouppropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_applicationsecuritygrouppropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_applicationsecuritygrouppropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_applicationsecuritygrouppropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_backendaddresspool.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_backendaddresspool.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_backendaddresspool.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_backendaddresspool.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_backendaddresspoolpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_backendaddresspoolpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_backendaddresspoolpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_backendaddresspoolpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_containernetworkinterface.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_containernetworkinterface.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_containernetworkinterface.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_containernetworkinterface.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_containernetworkinterfaceconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_containernetworkinterfaceconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_containernetworkinterfaceconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_containernetworkinterfaceconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_containernetworkinterfaceconfigurationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_containernetworkinterfaceconfigurationpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_containernetworkinterfaceconfigurationpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_containernetworkinterfaceconfigurationpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_containernetworkinterfaceipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_containernetworkinterfaceipconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_containernetworkinterfaceipconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_containernetworkinterfaceipconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_containernetworkinterfaceipconfigurationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_containernetworkinterfaceipconfigurationpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_containernetworkinterfaceipconfigurationpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_containernetworkinterfaceipconfigurationpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_containernetworkinterfacepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_containernetworkinterfacepropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_containernetworkinterfacepropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_containernetworkinterfacepropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_customdnsconfigpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_customdnsconfigpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_customdnsconfigpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_customdnsconfigpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_ddossettings.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_ddossettings.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_ddossettings.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_ddossettings.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_delegation.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_delegation.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_delegation.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_delegation.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_flowlog.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_flowlog.go new file mode 100644 index 000000000000..44e961c1ca2d --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_flowlog.go @@ -0,0 +1,19 @@ +package networkprofiles + +import ( + "github.com/hashicorp/go-azure-helpers/resourcemanager/identity" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type FlowLog struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Identity *identity.SystemAndUserAssignedMap `json:"identity,omitempty"` + Location *string `json:"location,omitempty"` + Name *string `json:"name,omitempty"` + Properties *FlowLogPropertiesFormat `json:"properties,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_flowlogformatparameters.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_flowlogformatparameters.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_flowlogformatparameters.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_flowlogformatparameters.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_flowlogpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_flowlogpropertiesformat.go new file mode 100644 index 000000000000..fd435dc751c5 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_flowlogpropertiesformat.go @@ -0,0 +1,16 @@ +package networkprofiles + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type FlowLogPropertiesFormat struct { + Enabled *bool `json:"enabled,omitempty"` + EnabledFilteringCriteria *string `json:"enabledFilteringCriteria,omitempty"` + FlowAnalyticsConfiguration *TrafficAnalyticsProperties `json:"flowAnalyticsConfiguration,omitempty"` + Format *FlowLogFormatParameters `json:"format,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + RetentionPolicy *RetentionPolicyParameters `json:"retentionPolicy,omitempty"` + StorageId string `json:"storageId"` + TargetResourceGuid *string `json:"targetResourceGuid,omitempty"` + TargetResourceId string `json:"targetResourceId"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_frontendipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_frontendipconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_frontendipconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_frontendipconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_frontendipconfigurationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_frontendipconfigurationpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_frontendipconfigurationpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_frontendipconfigurationpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_gatewayloadbalancertunnelinterface.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_gatewayloadbalancertunnelinterface.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_gatewayloadbalancertunnelinterface.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_gatewayloadbalancertunnelinterface.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_inboundnatrule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_inboundnatrule.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_inboundnatrule.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_inboundnatrule.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_inboundnatrulepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_inboundnatrulepropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_inboundnatrulepropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_inboundnatrulepropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_ipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_ipconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_ipconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_ipconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_ipconfigurationprofile.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_ipconfigurationprofile.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_ipconfigurationprofile.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_ipconfigurationprofile.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_ipconfigurationprofilepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_ipconfigurationprofilepropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_ipconfigurationprofilepropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_ipconfigurationprofilepropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_ipconfigurationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_ipconfigurationpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_ipconfigurationpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_ipconfigurationpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_iptag.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_iptag.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_iptag.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_iptag.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_loadbalancerbackendaddress.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_loadbalancerbackendaddress.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_loadbalancerbackendaddress.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_loadbalancerbackendaddress.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_loadbalancerbackendaddresspropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_loadbalancerbackendaddresspropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_loadbalancerbackendaddresspropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_loadbalancerbackendaddresspropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_natgateway.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_natgateway.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_natgateway.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_natgateway.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_natgatewaypropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_natgatewaypropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_natgatewaypropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_natgatewaypropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_natgatewaysku.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_natgatewaysku.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_natgatewaysku.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_natgatewaysku.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_natruleportmapping.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_natruleportmapping.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_natruleportmapping.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_natruleportmapping.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_networkinterface.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_networkinterface.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_networkinterface.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_networkinterface.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_networkinterfacednssettings.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_networkinterfacednssettings.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_networkinterfacednssettings.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_networkinterfacednssettings.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_networkinterfaceipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_networkinterfaceipconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_networkinterfaceipconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_networkinterfaceipconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_networkinterfaceipconfigurationprivatelinkconnectionproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_networkinterfaceipconfigurationprivatelinkconnectionproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_networkinterfaceipconfigurationprivatelinkconnectionproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_networkinterfaceipconfigurationprivatelinkconnectionproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_networkinterfaceipconfigurationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_networkinterfaceipconfigurationpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_networkinterfaceipconfigurationpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_networkinterfaceipconfigurationpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_networkinterfacepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_networkinterfacepropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_networkinterfacepropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_networkinterfacepropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_networkinterfacetapconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_networkinterfacetapconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_networkinterfacetapconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_networkinterfacetapconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_networkinterfacetapconfigurationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_networkinterfacetapconfigurationpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_networkinterfacetapconfigurationpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_networkinterfacetapconfigurationpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_networkprofile.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_networkprofile.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_networkprofile.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_networkprofile.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_networkprofilepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_networkprofilepropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_networkprofilepropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_networkprofilepropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_networksecuritygroup.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_networksecuritygroup.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_networksecuritygroup.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_networksecuritygroup.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_networksecuritygrouppropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_networksecuritygrouppropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_networksecuritygrouppropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_networksecuritygrouppropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_privateendpoint.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_privateendpoint.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_privateendpoint.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_privateendpoint.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_privateendpointconnection.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_privateendpointconnection.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_privateendpointconnection.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_privateendpointconnection.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_privateendpointconnectionproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_privateendpointconnectionproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_privateendpointconnectionproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_privateendpointconnectionproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_privateendpointipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_privateendpointipconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_privateendpointipconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_privateendpointipconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_privateendpointipconfigurationproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_privateendpointipconfigurationproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_privateendpointipconfigurationproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_privateendpointipconfigurationproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_privateendpointproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_privateendpointproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_privateendpointproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_privateendpointproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_privatelinkservice.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_privatelinkservice.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_privatelinkservice.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_privatelinkservice.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_privatelinkserviceconnection.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_privatelinkserviceconnection.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_privatelinkserviceconnection.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_privatelinkserviceconnection.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_privatelinkserviceconnectionproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_privatelinkserviceconnectionproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_privatelinkserviceconnectionproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_privatelinkserviceconnectionproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_privatelinkserviceconnectionstate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_privatelinkserviceconnectionstate.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_privatelinkserviceconnectionstate.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_privatelinkserviceconnectionstate.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_privatelinkserviceipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_privatelinkserviceipconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_privatelinkserviceipconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_privatelinkserviceipconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_privatelinkserviceipconfigurationproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_privatelinkserviceipconfigurationproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_privatelinkserviceipconfigurationproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_privatelinkserviceipconfigurationproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_privatelinkserviceproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_privatelinkserviceproperties.go new file mode 100644 index 000000000000..b1c8585be20a --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_privatelinkserviceproperties.go @@ -0,0 +1,18 @@ +package networkprofiles + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PrivateLinkServiceProperties struct { + Alias *string `json:"alias,omitempty"` + AutoApproval *ResourceSet `json:"autoApproval,omitempty"` + DestinationIPAddress *string `json:"destinationIPAddress,omitempty"` + EnableProxyProtocol *bool `json:"enableProxyProtocol,omitempty"` + Fqdns *[]string `json:"fqdns,omitempty"` + IPConfigurations *[]PrivateLinkServiceIPConfiguration `json:"ipConfigurations,omitempty"` + LoadBalancerFrontendIPConfigurations *[]FrontendIPConfiguration `json:"loadBalancerFrontendIpConfigurations,omitempty"` + NetworkInterfaces *[]NetworkInterface `json:"networkInterfaces,omitempty"` + PrivateEndpointConnections *[]PrivateEndpointConnection `json:"privateEndpointConnections,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + Visibility *ResourceSet `json:"visibility,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_publicipaddress.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_publicipaddress.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_publicipaddress.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_publicipaddress.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_publicipaddressdnssettings.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_publicipaddressdnssettings.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_publicipaddressdnssettings.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_publicipaddressdnssettings.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_publicipaddresspropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_publicipaddresspropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_publicipaddresspropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_publicipaddresspropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_publicipaddresssku.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_publicipaddresssku.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_publicipaddresssku.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_publicipaddresssku.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_resourcenavigationlink.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_resourcenavigationlink.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_resourcenavigationlink.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_resourcenavigationlink.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_resourcenavigationlinkformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_resourcenavigationlinkformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_resourcenavigationlinkformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_resourcenavigationlinkformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_resourceset.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_resourceset.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_resourceset.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_resourceset.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_retentionpolicyparameters.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_retentionpolicyparameters.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_retentionpolicyparameters.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_retentionpolicyparameters.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_route.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_route.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_route.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_route.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_routepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_routepropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_routepropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_routepropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_routetable.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_routetable.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_routetable.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_routetable.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_routetablepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_routetablepropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_routetablepropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_routetablepropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_securityrule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_securityrule.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_securityrule.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_securityrule.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_securityrulepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_securityrulepropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_securityrulepropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_securityrulepropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_serviceassociationlink.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_serviceassociationlink.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_serviceassociationlink.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_serviceassociationlink.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_serviceassociationlinkpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_serviceassociationlinkpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_serviceassociationlinkpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_serviceassociationlinkpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_servicedelegationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_servicedelegationpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_servicedelegationpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_servicedelegationpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_serviceendpointpolicy.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_serviceendpointpolicy.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_serviceendpointpolicy.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_serviceendpointpolicy.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_serviceendpointpolicydefinition.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_serviceendpointpolicydefinition.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_serviceendpointpolicydefinition.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_serviceendpointpolicydefinition.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_serviceendpointpolicydefinitionpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_serviceendpointpolicydefinitionpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_serviceendpointpolicydefinitionpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_serviceendpointpolicydefinitionpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_serviceendpointpolicypropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_serviceendpointpolicypropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_serviceendpointpolicypropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_serviceendpointpolicypropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_serviceendpointpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_serviceendpointpropertiesformat.go new file mode 100644 index 000000000000..b96cc0a7ddcb --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_serviceendpointpropertiesformat.go @@ -0,0 +1,11 @@ +package networkprofiles + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ServiceEndpointPropertiesFormat struct { + Locations *[]string `json:"locations,omitempty"` + NetworkIdentifier *SubResource `json:"networkIdentifier,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + Service *string `json:"service,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_subnet.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_subnet.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_subnet.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_subnet.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_subnetpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_subnetpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_subnetpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_subnetpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_subresource.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_subresource.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_subresource.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_subresource.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_tagsobject.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_tagsobject.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_tagsobject.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_tagsobject.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_trafficanalyticsconfigurationproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_trafficanalyticsconfigurationproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_trafficanalyticsconfigurationproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_trafficanalyticsconfigurationproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_trafficanalyticsproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_trafficanalyticsproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_trafficanalyticsproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_trafficanalyticsproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_virtualnetworktap.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_virtualnetworktap.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_virtualnetworktap.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_virtualnetworktap.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_virtualnetworktappropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_virtualnetworktappropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/model_virtualnetworktappropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/model_virtualnetworktappropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/predicates.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles/predicates.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/predicates.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/version.go new file mode 100644 index 000000000000..e3043de7cac3 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles/version.go @@ -0,0 +1,10 @@ +package networkprofiles + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2024-03-01" + +func userAgent() string { + return "hashicorp/go-azure-sdk/networkprofiles/2024-03-01" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/README.md new file mode 100644 index 000000000000..aadd75db9ef8 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/README.md @@ -0,0 +1,121 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups` Documentation + +The `networksecuritygroups` SDK allows for interaction with Azure Resource Manager `network` (API Version `2024-03-01`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" +import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups" +``` + + +### Client Initialization + +```go +client := networksecuritygroups.NewNetworkSecurityGroupsClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `NetworkSecurityGroupsClient.CreateOrUpdate` + +```go +ctx := context.TODO() +id := networksecuritygroups.NewNetworkSecurityGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkSecurityGroupName") + +payload := networksecuritygroups.NetworkSecurityGroup{ + // ... +} + + +if err := client.CreateOrUpdateThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `NetworkSecurityGroupsClient.Delete` + +```go +ctx := context.TODO() +id := networksecuritygroups.NewNetworkSecurityGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkSecurityGroupName") + +if err := client.DeleteThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `NetworkSecurityGroupsClient.Get` + +```go +ctx := context.TODO() +id := networksecuritygroups.NewNetworkSecurityGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkSecurityGroupName") + +read, err := client.Get(ctx, id, networksecuritygroups.DefaultGetOperationOptions()) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `NetworkSecurityGroupsClient.List` + +```go +ctx := context.TODO() +id := commonids.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group") + +// alternatively `client.List(ctx, id)` can be used to do batched pagination +items, err := client.ListComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `NetworkSecurityGroupsClient.ListAll` + +```go +ctx := context.TODO() +id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012") + +// alternatively `client.ListAll(ctx, id)` can be used to do batched pagination +items, err := client.ListAllComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `NetworkSecurityGroupsClient.UpdateTags` + +```go +ctx := context.TODO() +id := networksecuritygroups.NewNetworkSecurityGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkSecurityGroupName") + +payload := networksecuritygroups.TagsObject{ + // ... +} + + +read, err := client.UpdateTags(ctx, id, payload) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/client.go new file mode 100644 index 000000000000..d490fa41c780 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/client.go @@ -0,0 +1,26 @@ +package networksecuritygroups + +import ( + "fmt" + + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + sdkEnv "github.com/hashicorp/go-azure-sdk/sdk/environments" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NetworkSecurityGroupsClient struct { + Client *resourcemanager.Client +} + +func NewNetworkSecurityGroupsClientWithBaseURI(sdkApi sdkEnv.Api) (*NetworkSecurityGroupsClient, error) { + client, err := resourcemanager.NewClient(sdkApi, "networksecuritygroups", defaultApiVersion) + if err != nil { + return nil, fmt.Errorf("instantiating NetworkSecurityGroupsClient: %+v", err) + } + + return &NetworkSecurityGroupsClient{ + Client: client, + }, nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/constants.go new file mode 100644 index 000000000000..5a93db643325 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/constants.go @@ -0,0 +1,1198 @@ +package networksecuritygroups + +import ( + "encoding/json" + "fmt" + "strings" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type DdosSettingsProtectionMode string + +const ( + DdosSettingsProtectionModeDisabled DdosSettingsProtectionMode = "Disabled" + DdosSettingsProtectionModeEnabled DdosSettingsProtectionMode = "Enabled" + DdosSettingsProtectionModeVirtualNetworkInherited DdosSettingsProtectionMode = "VirtualNetworkInherited" +) + +func PossibleValuesForDdosSettingsProtectionMode() []string { + return []string{ + string(DdosSettingsProtectionModeDisabled), + string(DdosSettingsProtectionModeEnabled), + string(DdosSettingsProtectionModeVirtualNetworkInherited), + } +} + +func (s *DdosSettingsProtectionMode) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseDdosSettingsProtectionMode(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseDdosSettingsProtectionMode(input string) (*DdosSettingsProtectionMode, error) { + vals := map[string]DdosSettingsProtectionMode{ + "disabled": DdosSettingsProtectionModeDisabled, + "enabled": DdosSettingsProtectionModeEnabled, + "virtualnetworkinherited": DdosSettingsProtectionModeVirtualNetworkInherited, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := DdosSettingsProtectionMode(input) + return &out, nil +} + +type DeleteOptions string + +const ( + DeleteOptionsDelete DeleteOptions = "Delete" + DeleteOptionsDetach DeleteOptions = "Detach" +) + +func PossibleValuesForDeleteOptions() []string { + return []string{ + string(DeleteOptionsDelete), + string(DeleteOptionsDetach), + } +} + +func (s *DeleteOptions) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseDeleteOptions(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseDeleteOptions(input string) (*DeleteOptions, error) { + vals := map[string]DeleteOptions{ + "delete": DeleteOptionsDelete, + "detach": DeleteOptionsDetach, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := DeleteOptions(input) + return &out, nil +} + +type FlowLogFormatType string + +const ( + FlowLogFormatTypeJSON FlowLogFormatType = "JSON" +) + +func PossibleValuesForFlowLogFormatType() []string { + return []string{ + string(FlowLogFormatTypeJSON), + } +} + +func (s *FlowLogFormatType) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseFlowLogFormatType(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseFlowLogFormatType(input string) (*FlowLogFormatType, error) { + vals := map[string]FlowLogFormatType{ + "json": FlowLogFormatTypeJSON, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := FlowLogFormatType(input) + return &out, nil +} + +type GatewayLoadBalancerTunnelInterfaceType string + +const ( + GatewayLoadBalancerTunnelInterfaceTypeExternal GatewayLoadBalancerTunnelInterfaceType = "External" + GatewayLoadBalancerTunnelInterfaceTypeInternal GatewayLoadBalancerTunnelInterfaceType = "Internal" + GatewayLoadBalancerTunnelInterfaceTypeNone GatewayLoadBalancerTunnelInterfaceType = "None" +) + +func PossibleValuesForGatewayLoadBalancerTunnelInterfaceType() []string { + return []string{ + string(GatewayLoadBalancerTunnelInterfaceTypeExternal), + string(GatewayLoadBalancerTunnelInterfaceTypeInternal), + string(GatewayLoadBalancerTunnelInterfaceTypeNone), + } +} + +func (s *GatewayLoadBalancerTunnelInterfaceType) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseGatewayLoadBalancerTunnelInterfaceType(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseGatewayLoadBalancerTunnelInterfaceType(input string) (*GatewayLoadBalancerTunnelInterfaceType, error) { + vals := map[string]GatewayLoadBalancerTunnelInterfaceType{ + "external": GatewayLoadBalancerTunnelInterfaceTypeExternal, + "internal": GatewayLoadBalancerTunnelInterfaceTypeInternal, + "none": GatewayLoadBalancerTunnelInterfaceTypeNone, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := GatewayLoadBalancerTunnelInterfaceType(input) + return &out, nil +} + +type GatewayLoadBalancerTunnelProtocol string + +const ( + GatewayLoadBalancerTunnelProtocolNative GatewayLoadBalancerTunnelProtocol = "Native" + GatewayLoadBalancerTunnelProtocolNone GatewayLoadBalancerTunnelProtocol = "None" + GatewayLoadBalancerTunnelProtocolVXLAN GatewayLoadBalancerTunnelProtocol = "VXLAN" +) + +func PossibleValuesForGatewayLoadBalancerTunnelProtocol() []string { + return []string{ + string(GatewayLoadBalancerTunnelProtocolNative), + string(GatewayLoadBalancerTunnelProtocolNone), + string(GatewayLoadBalancerTunnelProtocolVXLAN), + } +} + +func (s *GatewayLoadBalancerTunnelProtocol) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseGatewayLoadBalancerTunnelProtocol(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseGatewayLoadBalancerTunnelProtocol(input string) (*GatewayLoadBalancerTunnelProtocol, error) { + vals := map[string]GatewayLoadBalancerTunnelProtocol{ + "native": GatewayLoadBalancerTunnelProtocolNative, + "none": GatewayLoadBalancerTunnelProtocolNone, + "vxlan": GatewayLoadBalancerTunnelProtocolVXLAN, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := GatewayLoadBalancerTunnelProtocol(input) + return &out, nil +} + +type IPAllocationMethod string + +const ( + IPAllocationMethodDynamic IPAllocationMethod = "Dynamic" + IPAllocationMethodStatic IPAllocationMethod = "Static" +) + +func PossibleValuesForIPAllocationMethod() []string { + return []string{ + string(IPAllocationMethodDynamic), + string(IPAllocationMethodStatic), + } +} + +func (s *IPAllocationMethod) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseIPAllocationMethod(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseIPAllocationMethod(input string) (*IPAllocationMethod, error) { + vals := map[string]IPAllocationMethod{ + "dynamic": IPAllocationMethodDynamic, + "static": IPAllocationMethodStatic, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := IPAllocationMethod(input) + return &out, nil +} + +type IPVersion string + +const ( + IPVersionIPvFour IPVersion = "IPv4" + IPVersionIPvSix IPVersion = "IPv6" +) + +func PossibleValuesForIPVersion() []string { + return []string{ + string(IPVersionIPvFour), + string(IPVersionIPvSix), + } +} + +func (s *IPVersion) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseIPVersion(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseIPVersion(input string) (*IPVersion, error) { + vals := map[string]IPVersion{ + "ipv4": IPVersionIPvFour, + "ipv6": IPVersionIPvSix, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := IPVersion(input) + return &out, nil +} + +type LoadBalancerBackendAddressAdminState string + +const ( + LoadBalancerBackendAddressAdminStateDown LoadBalancerBackendAddressAdminState = "Down" + LoadBalancerBackendAddressAdminStateNone LoadBalancerBackendAddressAdminState = "None" + LoadBalancerBackendAddressAdminStateUp LoadBalancerBackendAddressAdminState = "Up" +) + +func PossibleValuesForLoadBalancerBackendAddressAdminState() []string { + return []string{ + string(LoadBalancerBackendAddressAdminStateDown), + string(LoadBalancerBackendAddressAdminStateNone), + string(LoadBalancerBackendAddressAdminStateUp), + } +} + +func (s *LoadBalancerBackendAddressAdminState) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseLoadBalancerBackendAddressAdminState(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseLoadBalancerBackendAddressAdminState(input string) (*LoadBalancerBackendAddressAdminState, error) { + vals := map[string]LoadBalancerBackendAddressAdminState{ + "down": LoadBalancerBackendAddressAdminStateDown, + "none": LoadBalancerBackendAddressAdminStateNone, + "up": LoadBalancerBackendAddressAdminStateUp, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := LoadBalancerBackendAddressAdminState(input) + return &out, nil +} + +type NatGatewaySkuName string + +const ( + NatGatewaySkuNameStandard NatGatewaySkuName = "Standard" +) + +func PossibleValuesForNatGatewaySkuName() []string { + return []string{ + string(NatGatewaySkuNameStandard), + } +} + +func (s *NatGatewaySkuName) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseNatGatewaySkuName(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseNatGatewaySkuName(input string) (*NatGatewaySkuName, error) { + vals := map[string]NatGatewaySkuName{ + "standard": NatGatewaySkuNameStandard, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := NatGatewaySkuName(input) + return &out, nil +} + +type NetworkInterfaceAuxiliaryMode string + +const ( + NetworkInterfaceAuxiliaryModeAcceleratedConnections NetworkInterfaceAuxiliaryMode = "AcceleratedConnections" + NetworkInterfaceAuxiliaryModeFloating NetworkInterfaceAuxiliaryMode = "Floating" + NetworkInterfaceAuxiliaryModeMaxConnections NetworkInterfaceAuxiliaryMode = "MaxConnections" + NetworkInterfaceAuxiliaryModeNone NetworkInterfaceAuxiliaryMode = "None" +) + +func PossibleValuesForNetworkInterfaceAuxiliaryMode() []string { + return []string{ + string(NetworkInterfaceAuxiliaryModeAcceleratedConnections), + string(NetworkInterfaceAuxiliaryModeFloating), + string(NetworkInterfaceAuxiliaryModeMaxConnections), + string(NetworkInterfaceAuxiliaryModeNone), + } +} + +func (s *NetworkInterfaceAuxiliaryMode) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseNetworkInterfaceAuxiliaryMode(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseNetworkInterfaceAuxiliaryMode(input string) (*NetworkInterfaceAuxiliaryMode, error) { + vals := map[string]NetworkInterfaceAuxiliaryMode{ + "acceleratedconnections": NetworkInterfaceAuxiliaryModeAcceleratedConnections, + "floating": NetworkInterfaceAuxiliaryModeFloating, + "maxconnections": NetworkInterfaceAuxiliaryModeMaxConnections, + "none": NetworkInterfaceAuxiliaryModeNone, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := NetworkInterfaceAuxiliaryMode(input) + return &out, nil +} + +type NetworkInterfaceAuxiliarySku string + +const ( + NetworkInterfaceAuxiliarySkuAEight NetworkInterfaceAuxiliarySku = "A8" + NetworkInterfaceAuxiliarySkuAFour NetworkInterfaceAuxiliarySku = "A4" + NetworkInterfaceAuxiliarySkuAOne NetworkInterfaceAuxiliarySku = "A1" + NetworkInterfaceAuxiliarySkuATwo NetworkInterfaceAuxiliarySku = "A2" + NetworkInterfaceAuxiliarySkuNone NetworkInterfaceAuxiliarySku = "None" +) + +func PossibleValuesForNetworkInterfaceAuxiliarySku() []string { + return []string{ + string(NetworkInterfaceAuxiliarySkuAEight), + string(NetworkInterfaceAuxiliarySkuAFour), + string(NetworkInterfaceAuxiliarySkuAOne), + string(NetworkInterfaceAuxiliarySkuATwo), + string(NetworkInterfaceAuxiliarySkuNone), + } +} + +func (s *NetworkInterfaceAuxiliarySku) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseNetworkInterfaceAuxiliarySku(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseNetworkInterfaceAuxiliarySku(input string) (*NetworkInterfaceAuxiliarySku, error) { + vals := map[string]NetworkInterfaceAuxiliarySku{ + "a8": NetworkInterfaceAuxiliarySkuAEight, + "a4": NetworkInterfaceAuxiliarySkuAFour, + "a1": NetworkInterfaceAuxiliarySkuAOne, + "a2": NetworkInterfaceAuxiliarySkuATwo, + "none": NetworkInterfaceAuxiliarySkuNone, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := NetworkInterfaceAuxiliarySku(input) + return &out, nil +} + +type NetworkInterfaceMigrationPhase string + +const ( + NetworkInterfaceMigrationPhaseAbort NetworkInterfaceMigrationPhase = "Abort" + NetworkInterfaceMigrationPhaseCommit NetworkInterfaceMigrationPhase = "Commit" + NetworkInterfaceMigrationPhaseCommitted NetworkInterfaceMigrationPhase = "Committed" + NetworkInterfaceMigrationPhaseNone NetworkInterfaceMigrationPhase = "None" + NetworkInterfaceMigrationPhasePrepare NetworkInterfaceMigrationPhase = "Prepare" +) + +func PossibleValuesForNetworkInterfaceMigrationPhase() []string { + return []string{ + string(NetworkInterfaceMigrationPhaseAbort), + string(NetworkInterfaceMigrationPhaseCommit), + string(NetworkInterfaceMigrationPhaseCommitted), + string(NetworkInterfaceMigrationPhaseNone), + string(NetworkInterfaceMigrationPhasePrepare), + } +} + +func (s *NetworkInterfaceMigrationPhase) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseNetworkInterfaceMigrationPhase(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseNetworkInterfaceMigrationPhase(input string) (*NetworkInterfaceMigrationPhase, error) { + vals := map[string]NetworkInterfaceMigrationPhase{ + "abort": NetworkInterfaceMigrationPhaseAbort, + "commit": NetworkInterfaceMigrationPhaseCommit, + "committed": NetworkInterfaceMigrationPhaseCommitted, + "none": NetworkInterfaceMigrationPhaseNone, + "prepare": NetworkInterfaceMigrationPhasePrepare, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := NetworkInterfaceMigrationPhase(input) + return &out, nil +} + +type NetworkInterfaceNicType string + +const ( + NetworkInterfaceNicTypeElastic NetworkInterfaceNicType = "Elastic" + NetworkInterfaceNicTypeStandard NetworkInterfaceNicType = "Standard" +) + +func PossibleValuesForNetworkInterfaceNicType() []string { + return []string{ + string(NetworkInterfaceNicTypeElastic), + string(NetworkInterfaceNicTypeStandard), + } +} + +func (s *NetworkInterfaceNicType) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseNetworkInterfaceNicType(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseNetworkInterfaceNicType(input string) (*NetworkInterfaceNicType, error) { + vals := map[string]NetworkInterfaceNicType{ + "elastic": NetworkInterfaceNicTypeElastic, + "standard": NetworkInterfaceNicTypeStandard, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := NetworkInterfaceNicType(input) + return &out, nil +} + +type ProvisioningState string + +const ( + ProvisioningStateDeleting ProvisioningState = "Deleting" + ProvisioningStateFailed ProvisioningState = "Failed" + ProvisioningStateSucceeded ProvisioningState = "Succeeded" + ProvisioningStateUpdating ProvisioningState = "Updating" +) + +func PossibleValuesForProvisioningState() []string { + return []string{ + string(ProvisioningStateDeleting), + string(ProvisioningStateFailed), + string(ProvisioningStateSucceeded), + string(ProvisioningStateUpdating), + } +} + +func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseProvisioningState(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseProvisioningState(input string) (*ProvisioningState, error) { + vals := map[string]ProvisioningState{ + "deleting": ProvisioningStateDeleting, + "failed": ProvisioningStateFailed, + "succeeded": ProvisioningStateSucceeded, + "updating": ProvisioningStateUpdating, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ProvisioningState(input) + return &out, nil +} + +type PublicIPAddressDnsSettingsDomainNameLabelScope string + +const ( + PublicIPAddressDnsSettingsDomainNameLabelScopeNoReuse PublicIPAddressDnsSettingsDomainNameLabelScope = "NoReuse" + PublicIPAddressDnsSettingsDomainNameLabelScopeResourceGroupReuse PublicIPAddressDnsSettingsDomainNameLabelScope = "ResourceGroupReuse" + PublicIPAddressDnsSettingsDomainNameLabelScopeSubscriptionReuse PublicIPAddressDnsSettingsDomainNameLabelScope = "SubscriptionReuse" + PublicIPAddressDnsSettingsDomainNameLabelScopeTenantReuse PublicIPAddressDnsSettingsDomainNameLabelScope = "TenantReuse" +) + +func PossibleValuesForPublicIPAddressDnsSettingsDomainNameLabelScope() []string { + return []string{ + string(PublicIPAddressDnsSettingsDomainNameLabelScopeNoReuse), + string(PublicIPAddressDnsSettingsDomainNameLabelScopeResourceGroupReuse), + string(PublicIPAddressDnsSettingsDomainNameLabelScopeSubscriptionReuse), + string(PublicIPAddressDnsSettingsDomainNameLabelScopeTenantReuse), + } +} + +func (s *PublicIPAddressDnsSettingsDomainNameLabelScope) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parsePublicIPAddressDnsSettingsDomainNameLabelScope(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parsePublicIPAddressDnsSettingsDomainNameLabelScope(input string) (*PublicIPAddressDnsSettingsDomainNameLabelScope, error) { + vals := map[string]PublicIPAddressDnsSettingsDomainNameLabelScope{ + "noreuse": PublicIPAddressDnsSettingsDomainNameLabelScopeNoReuse, + "resourcegroupreuse": PublicIPAddressDnsSettingsDomainNameLabelScopeResourceGroupReuse, + "subscriptionreuse": PublicIPAddressDnsSettingsDomainNameLabelScopeSubscriptionReuse, + "tenantreuse": PublicIPAddressDnsSettingsDomainNameLabelScopeTenantReuse, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := PublicIPAddressDnsSettingsDomainNameLabelScope(input) + return &out, nil +} + +type PublicIPAddressMigrationPhase string + +const ( + PublicIPAddressMigrationPhaseAbort PublicIPAddressMigrationPhase = "Abort" + PublicIPAddressMigrationPhaseCommit PublicIPAddressMigrationPhase = "Commit" + PublicIPAddressMigrationPhaseCommitted PublicIPAddressMigrationPhase = "Committed" + PublicIPAddressMigrationPhaseNone PublicIPAddressMigrationPhase = "None" + PublicIPAddressMigrationPhasePrepare PublicIPAddressMigrationPhase = "Prepare" +) + +func PossibleValuesForPublicIPAddressMigrationPhase() []string { + return []string{ + string(PublicIPAddressMigrationPhaseAbort), + string(PublicIPAddressMigrationPhaseCommit), + string(PublicIPAddressMigrationPhaseCommitted), + string(PublicIPAddressMigrationPhaseNone), + string(PublicIPAddressMigrationPhasePrepare), + } +} + +func (s *PublicIPAddressMigrationPhase) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parsePublicIPAddressMigrationPhase(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parsePublicIPAddressMigrationPhase(input string) (*PublicIPAddressMigrationPhase, error) { + vals := map[string]PublicIPAddressMigrationPhase{ + "abort": PublicIPAddressMigrationPhaseAbort, + "commit": PublicIPAddressMigrationPhaseCommit, + "committed": PublicIPAddressMigrationPhaseCommitted, + "none": PublicIPAddressMigrationPhaseNone, + "prepare": PublicIPAddressMigrationPhasePrepare, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := PublicIPAddressMigrationPhase(input) + return &out, nil +} + +type PublicIPAddressSkuName string + +const ( + PublicIPAddressSkuNameBasic PublicIPAddressSkuName = "Basic" + PublicIPAddressSkuNameStandard PublicIPAddressSkuName = "Standard" +) + +func PossibleValuesForPublicIPAddressSkuName() []string { + return []string{ + string(PublicIPAddressSkuNameBasic), + string(PublicIPAddressSkuNameStandard), + } +} + +func (s *PublicIPAddressSkuName) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parsePublicIPAddressSkuName(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parsePublicIPAddressSkuName(input string) (*PublicIPAddressSkuName, error) { + vals := map[string]PublicIPAddressSkuName{ + "basic": PublicIPAddressSkuNameBasic, + "standard": PublicIPAddressSkuNameStandard, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := PublicIPAddressSkuName(input) + return &out, nil +} + +type PublicIPAddressSkuTier string + +const ( + PublicIPAddressSkuTierGlobal PublicIPAddressSkuTier = "Global" + PublicIPAddressSkuTierRegional PublicIPAddressSkuTier = "Regional" +) + +func PossibleValuesForPublicIPAddressSkuTier() []string { + return []string{ + string(PublicIPAddressSkuTierGlobal), + string(PublicIPAddressSkuTierRegional), + } +} + +func (s *PublicIPAddressSkuTier) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parsePublicIPAddressSkuTier(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parsePublicIPAddressSkuTier(input string) (*PublicIPAddressSkuTier, error) { + vals := map[string]PublicIPAddressSkuTier{ + "global": PublicIPAddressSkuTierGlobal, + "regional": PublicIPAddressSkuTierRegional, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := PublicIPAddressSkuTier(input) + return &out, nil +} + +type RouteNextHopType string + +const ( + RouteNextHopTypeInternet RouteNextHopType = "Internet" + RouteNextHopTypeNone RouteNextHopType = "None" + RouteNextHopTypeVirtualAppliance RouteNextHopType = "VirtualAppliance" + RouteNextHopTypeVirtualNetworkGateway RouteNextHopType = "VirtualNetworkGateway" + RouteNextHopTypeVnetLocal RouteNextHopType = "VnetLocal" +) + +func PossibleValuesForRouteNextHopType() []string { + return []string{ + string(RouteNextHopTypeInternet), + string(RouteNextHopTypeNone), + string(RouteNextHopTypeVirtualAppliance), + string(RouteNextHopTypeVirtualNetworkGateway), + string(RouteNextHopTypeVnetLocal), + } +} + +func (s *RouteNextHopType) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseRouteNextHopType(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseRouteNextHopType(input string) (*RouteNextHopType, error) { + vals := map[string]RouteNextHopType{ + "internet": RouteNextHopTypeInternet, + "none": RouteNextHopTypeNone, + "virtualappliance": RouteNextHopTypeVirtualAppliance, + "virtualnetworkgateway": RouteNextHopTypeVirtualNetworkGateway, + "vnetlocal": RouteNextHopTypeVnetLocal, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := RouteNextHopType(input) + return &out, nil +} + +type SecurityRuleAccess string + +const ( + SecurityRuleAccessAllow SecurityRuleAccess = "Allow" + SecurityRuleAccessDeny SecurityRuleAccess = "Deny" +) + +func PossibleValuesForSecurityRuleAccess() []string { + return []string{ + string(SecurityRuleAccessAllow), + string(SecurityRuleAccessDeny), + } +} + +func (s *SecurityRuleAccess) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseSecurityRuleAccess(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseSecurityRuleAccess(input string) (*SecurityRuleAccess, error) { + vals := map[string]SecurityRuleAccess{ + "allow": SecurityRuleAccessAllow, + "deny": SecurityRuleAccessDeny, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := SecurityRuleAccess(input) + return &out, nil +} + +type SecurityRuleDirection string + +const ( + SecurityRuleDirectionInbound SecurityRuleDirection = "Inbound" + SecurityRuleDirectionOutbound SecurityRuleDirection = "Outbound" +) + +func PossibleValuesForSecurityRuleDirection() []string { + return []string{ + string(SecurityRuleDirectionInbound), + string(SecurityRuleDirectionOutbound), + } +} + +func (s *SecurityRuleDirection) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseSecurityRuleDirection(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseSecurityRuleDirection(input string) (*SecurityRuleDirection, error) { + vals := map[string]SecurityRuleDirection{ + "inbound": SecurityRuleDirectionInbound, + "outbound": SecurityRuleDirectionOutbound, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := SecurityRuleDirection(input) + return &out, nil +} + +type SecurityRuleProtocol string + +const ( + SecurityRuleProtocolAh SecurityRuleProtocol = "Ah" + SecurityRuleProtocolAny SecurityRuleProtocol = "*" + SecurityRuleProtocolEsp SecurityRuleProtocol = "Esp" + SecurityRuleProtocolIcmp SecurityRuleProtocol = "Icmp" + SecurityRuleProtocolTcp SecurityRuleProtocol = "Tcp" + SecurityRuleProtocolUdp SecurityRuleProtocol = "Udp" +) + +func PossibleValuesForSecurityRuleProtocol() []string { + return []string{ + string(SecurityRuleProtocolAh), + string(SecurityRuleProtocolAny), + string(SecurityRuleProtocolEsp), + string(SecurityRuleProtocolIcmp), + string(SecurityRuleProtocolTcp), + string(SecurityRuleProtocolUdp), + } +} + +func (s *SecurityRuleProtocol) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseSecurityRuleProtocol(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseSecurityRuleProtocol(input string) (*SecurityRuleProtocol, error) { + vals := map[string]SecurityRuleProtocol{ + "ah": SecurityRuleProtocolAh, + "*": SecurityRuleProtocolAny, + "esp": SecurityRuleProtocolEsp, + "icmp": SecurityRuleProtocolIcmp, + "tcp": SecurityRuleProtocolTcp, + "udp": SecurityRuleProtocolUdp, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := SecurityRuleProtocol(input) + return &out, nil +} + +type SharingScope string + +const ( + SharingScopeDelegatedServices SharingScope = "DelegatedServices" + SharingScopeTenant SharingScope = "Tenant" +) + +func PossibleValuesForSharingScope() []string { + return []string{ + string(SharingScopeDelegatedServices), + string(SharingScopeTenant), + } +} + +func (s *SharingScope) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseSharingScope(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseSharingScope(input string) (*SharingScope, error) { + vals := map[string]SharingScope{ + "delegatedservices": SharingScopeDelegatedServices, + "tenant": SharingScopeTenant, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := SharingScope(input) + return &out, nil +} + +type SyncMode string + +const ( + SyncModeAutomatic SyncMode = "Automatic" + SyncModeManual SyncMode = "Manual" +) + +func PossibleValuesForSyncMode() []string { + return []string{ + string(SyncModeAutomatic), + string(SyncModeManual), + } +} + +func (s *SyncMode) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseSyncMode(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseSyncMode(input string) (*SyncMode, error) { + vals := map[string]SyncMode{ + "automatic": SyncModeAutomatic, + "manual": SyncModeManual, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := SyncMode(input) + return &out, nil +} + +type TransportProtocol string + +const ( + TransportProtocolAll TransportProtocol = "All" + TransportProtocolTcp TransportProtocol = "Tcp" + TransportProtocolUdp TransportProtocol = "Udp" +) + +func PossibleValuesForTransportProtocol() []string { + return []string{ + string(TransportProtocolAll), + string(TransportProtocolTcp), + string(TransportProtocolUdp), + } +} + +func (s *TransportProtocol) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseTransportProtocol(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseTransportProtocol(input string) (*TransportProtocol, error) { + vals := map[string]TransportProtocol{ + "all": TransportProtocolAll, + "tcp": TransportProtocolTcp, + "udp": TransportProtocolUdp, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := TransportProtocol(input) + return &out, nil +} + +type VirtualNetworkPrivateEndpointNetworkPolicies string + +const ( + VirtualNetworkPrivateEndpointNetworkPoliciesDisabled VirtualNetworkPrivateEndpointNetworkPolicies = "Disabled" + VirtualNetworkPrivateEndpointNetworkPoliciesEnabled VirtualNetworkPrivateEndpointNetworkPolicies = "Enabled" + VirtualNetworkPrivateEndpointNetworkPoliciesNetworkSecurityGroupEnabled VirtualNetworkPrivateEndpointNetworkPolicies = "NetworkSecurityGroupEnabled" + VirtualNetworkPrivateEndpointNetworkPoliciesRouteTableEnabled VirtualNetworkPrivateEndpointNetworkPolicies = "RouteTableEnabled" +) + +func PossibleValuesForVirtualNetworkPrivateEndpointNetworkPolicies() []string { + return []string{ + string(VirtualNetworkPrivateEndpointNetworkPoliciesDisabled), + string(VirtualNetworkPrivateEndpointNetworkPoliciesEnabled), + string(VirtualNetworkPrivateEndpointNetworkPoliciesNetworkSecurityGroupEnabled), + string(VirtualNetworkPrivateEndpointNetworkPoliciesRouteTableEnabled), + } +} + +func (s *VirtualNetworkPrivateEndpointNetworkPolicies) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseVirtualNetworkPrivateEndpointNetworkPolicies(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseVirtualNetworkPrivateEndpointNetworkPolicies(input string) (*VirtualNetworkPrivateEndpointNetworkPolicies, error) { + vals := map[string]VirtualNetworkPrivateEndpointNetworkPolicies{ + "disabled": VirtualNetworkPrivateEndpointNetworkPoliciesDisabled, + "enabled": VirtualNetworkPrivateEndpointNetworkPoliciesEnabled, + "networksecuritygroupenabled": VirtualNetworkPrivateEndpointNetworkPoliciesNetworkSecurityGroupEnabled, + "routetableenabled": VirtualNetworkPrivateEndpointNetworkPoliciesRouteTableEnabled, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := VirtualNetworkPrivateEndpointNetworkPolicies(input) + return &out, nil +} + +type VirtualNetworkPrivateLinkServiceNetworkPolicies string + +const ( + VirtualNetworkPrivateLinkServiceNetworkPoliciesDisabled VirtualNetworkPrivateLinkServiceNetworkPolicies = "Disabled" + VirtualNetworkPrivateLinkServiceNetworkPoliciesEnabled VirtualNetworkPrivateLinkServiceNetworkPolicies = "Enabled" +) + +func PossibleValuesForVirtualNetworkPrivateLinkServiceNetworkPolicies() []string { + return []string{ + string(VirtualNetworkPrivateLinkServiceNetworkPoliciesDisabled), + string(VirtualNetworkPrivateLinkServiceNetworkPoliciesEnabled), + } +} + +func (s *VirtualNetworkPrivateLinkServiceNetworkPolicies) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseVirtualNetworkPrivateLinkServiceNetworkPolicies(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseVirtualNetworkPrivateLinkServiceNetworkPolicies(input string) (*VirtualNetworkPrivateLinkServiceNetworkPolicies, error) { + vals := map[string]VirtualNetworkPrivateLinkServiceNetworkPolicies{ + "disabled": VirtualNetworkPrivateLinkServiceNetworkPoliciesDisabled, + "enabled": VirtualNetworkPrivateLinkServiceNetworkPoliciesEnabled, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := VirtualNetworkPrivateLinkServiceNetworkPolicies(input) + return &out, nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/id_networksecuritygroup.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/id_networksecuritygroup.go new file mode 100644 index 000000000000..5b1f77f1061b --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/id_networksecuritygroup.go @@ -0,0 +1,130 @@ +package networksecuritygroups + +import ( + "fmt" + "strings" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/recaser" + "github.com/hashicorp/go-azure-helpers/resourcemanager/resourceids" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +func init() { + recaser.RegisterResourceId(&NetworkSecurityGroupId{}) +} + +var _ resourceids.ResourceId = &NetworkSecurityGroupId{} + +// NetworkSecurityGroupId is a struct representing the Resource ID for a Network Security Group +type NetworkSecurityGroupId struct { + SubscriptionId string + ResourceGroupName string + NetworkSecurityGroupName string +} + +// NewNetworkSecurityGroupID returns a new NetworkSecurityGroupId struct +func NewNetworkSecurityGroupID(subscriptionId string, resourceGroupName string, networkSecurityGroupName string) NetworkSecurityGroupId { + return NetworkSecurityGroupId{ + SubscriptionId: subscriptionId, + ResourceGroupName: resourceGroupName, + NetworkSecurityGroupName: networkSecurityGroupName, + } +} + +// ParseNetworkSecurityGroupID parses 'input' into a NetworkSecurityGroupId +func ParseNetworkSecurityGroupID(input string) (*NetworkSecurityGroupId, error) { + parser := resourceids.NewParserFromResourceIdType(&NetworkSecurityGroupId{}) + parsed, err := parser.Parse(input, false) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := NetworkSecurityGroupId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +// ParseNetworkSecurityGroupIDInsensitively parses 'input' case-insensitively into a NetworkSecurityGroupId +// note: this method should only be used for API response data and not user input +func ParseNetworkSecurityGroupIDInsensitively(input string) (*NetworkSecurityGroupId, error) { + parser := resourceids.NewParserFromResourceIdType(&NetworkSecurityGroupId{}) + parsed, err := parser.Parse(input, true) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := NetworkSecurityGroupId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +func (id *NetworkSecurityGroupId) FromParseResult(input resourceids.ParseResult) error { + var ok bool + + if id.SubscriptionId, ok = input.Parsed["subscriptionId"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "subscriptionId", input) + } + + if id.ResourceGroupName, ok = input.Parsed["resourceGroupName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "resourceGroupName", input) + } + + if id.NetworkSecurityGroupName, ok = input.Parsed["networkSecurityGroupName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "networkSecurityGroupName", input) + } + + return nil +} + +// ValidateNetworkSecurityGroupID checks that 'input' can be parsed as a Network Security Group ID +func ValidateNetworkSecurityGroupID(input interface{}, key string) (warnings []string, errors []error) { + v, ok := input.(string) + if !ok { + errors = append(errors, fmt.Errorf("expected %q to be a string", key)) + return + } + + if _, err := ParseNetworkSecurityGroupID(v); err != nil { + errors = append(errors, err) + } + + return +} + +// ID returns the formatted Network Security Group ID +func (id NetworkSecurityGroupId) ID() string { + fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.Network/networkSecurityGroups/%s" + return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.NetworkSecurityGroupName) +} + +// Segments returns a slice of Resource ID Segments which comprise this Network Security Group ID +func (id NetworkSecurityGroupId) Segments() []resourceids.Segment { + return []resourceids.Segment{ + resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), + resourceids.SubscriptionIdSegment("subscriptionId", "12345678-1234-9876-4563-123456789012"), + resourceids.StaticSegment("staticResourceGroups", "resourceGroups", "resourceGroups"), + resourceids.ResourceGroupSegment("resourceGroupName", "example-resource-group"), + resourceids.StaticSegment("staticProviders", "providers", "providers"), + resourceids.ResourceProviderSegment("staticMicrosoftNetwork", "Microsoft.Network", "Microsoft.Network"), + resourceids.StaticSegment("staticNetworkSecurityGroups", "networkSecurityGroups", "networkSecurityGroups"), + resourceids.UserSpecifiedSegment("networkSecurityGroupName", "networkSecurityGroupName"), + } +} + +// String returns a human-readable description of this Network Security Group ID +func (id NetworkSecurityGroupId) String() string { + components := []string{ + fmt.Sprintf("Subscription: %q", id.SubscriptionId), + fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), + fmt.Sprintf("Network Security Group Name: %q", id.NetworkSecurityGroupName), + } + return fmt.Sprintf("Network Security Group (%s)", strings.Join(components, "\n")) +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/method_createorupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/method_createorupdate.go new file mode 100644 index 000000000000..cb77896aae4a --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/method_createorupdate.go @@ -0,0 +1,75 @@ +package networksecuritygroups + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/client/pollers" + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type CreateOrUpdateOperationResponse struct { + Poller pollers.Poller + HttpResponse *http.Response + OData *odata.OData + Model *NetworkSecurityGroup +} + +// CreateOrUpdate ... +func (c NetworkSecurityGroupsClient) CreateOrUpdate(ctx context.Context, id NetworkSecurityGroupId, input NetworkSecurityGroup) (result CreateOrUpdateOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusCreated, + http.StatusOK, + }, + HttpMethod: http.MethodPut, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + if err = req.Marshal(input); err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client) + if err != nil { + return + } + + return +} + +// CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed +func (c NetworkSecurityGroupsClient) CreateOrUpdateThenPoll(ctx context.Context, id NetworkSecurityGroupId, input NetworkSecurityGroup) error { + result, err := c.CreateOrUpdate(ctx, id, input) + if err != nil { + return fmt.Errorf("performing CreateOrUpdate: %+v", err) + } + + if err := result.Poller.PollUntilDone(ctx); err != nil { + return fmt.Errorf("polling after CreateOrUpdate: %+v", err) + } + + return nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/method_delete.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/method_delete.go new file mode 100644 index 000000000000..103ca330a5b2 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/method_delete.go @@ -0,0 +1,71 @@ +package networksecuritygroups + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/client/pollers" + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type DeleteOperationResponse struct { + Poller pollers.Poller + HttpResponse *http.Response + OData *odata.OData +} + +// Delete ... +func (c NetworkSecurityGroupsClient) Delete(ctx context.Context, id NetworkSecurityGroupId) (result DeleteOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusAccepted, + http.StatusNoContent, + http.StatusOK, + }, + HttpMethod: http.MethodDelete, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client) + if err != nil { + return + } + + return +} + +// DeleteThenPoll performs Delete then polls until it's completed +func (c NetworkSecurityGroupsClient) DeleteThenPoll(ctx context.Context, id NetworkSecurityGroupId) error { + result, err := c.Delete(ctx, id) + if err != nil { + return fmt.Errorf("performing Delete: %+v", err) + } + + if err := result.Poller.PollUntilDone(ctx); err != nil { + return fmt.Errorf("polling after Delete: %+v", err) + } + + return nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/method_get.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/method_get.go new file mode 100644 index 000000000000..7728917c0ec6 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/method_get.go @@ -0,0 +1,83 @@ +package networksecuritygroups + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type GetOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *NetworkSecurityGroup +} + +type GetOperationOptions struct { + Expand *string +} + +func DefaultGetOperationOptions() GetOperationOptions { + return GetOperationOptions{} +} + +func (o GetOperationOptions) ToHeaders() *client.Headers { + out := client.Headers{} + + return &out +} + +func (o GetOperationOptions) ToOData() *odata.Query { + out := odata.Query{} + + return &out +} + +func (o GetOperationOptions) ToQuery() *client.QueryParams { + out := client.QueryParams{} + if o.Expand != nil { + out.Append("$expand", fmt.Sprintf("%v", *o.Expand)) + } + return &out +} + +// Get ... +func (c NetworkSecurityGroupsClient) Get(ctx context.Context, id NetworkSecurityGroupId, options GetOperationOptions) (result GetOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + OptionsObject: options, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var model NetworkSecurityGroup + result.Model = &model + if err = resp.Unmarshal(result.Model); err != nil { + return + } + + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/method_list.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/method_list.go new file mode 100644 index 000000000000..8ebd9f83a713 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/method_list.go @@ -0,0 +1,106 @@ +package networksecuritygroups + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ListOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *[]NetworkSecurityGroup +} + +type ListCompleteResult struct { + LatestHttpResponse *http.Response + Items []NetworkSecurityGroup +} + +type ListCustomPager struct { + NextLink *odata.Link `json:"nextLink"` +} + +func (p *ListCustomPager) NextPageLink() *odata.Link { + defer func() { + p.NextLink = nil + }() + + return p.NextLink +} + +// List ... +func (c NetworkSecurityGroupsClient) List(ctx context.Context, id commonids.ResourceGroupId) (result ListOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Pager: &ListCustomPager{}, + Path: fmt.Sprintf("%s/providers/Microsoft.Network/networkSecurityGroups", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.ExecutePaged(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var values struct { + Values *[]NetworkSecurityGroup `json:"value"` + } + if err = resp.Unmarshal(&values); err != nil { + return + } + + result.Model = values.Values + + return +} + +// ListComplete retrieves all the results into a single object +func (c NetworkSecurityGroupsClient) ListComplete(ctx context.Context, id commonids.ResourceGroupId) (ListCompleteResult, error) { + return c.ListCompleteMatchingPredicate(ctx, id, NetworkSecurityGroupOperationPredicate{}) +} + +// ListCompleteMatchingPredicate retrieves all the results and then applies the predicate +func (c NetworkSecurityGroupsClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate NetworkSecurityGroupOperationPredicate) (result ListCompleteResult, err error) { + items := make([]NetworkSecurityGroup, 0) + + resp, err := c.List(ctx, id) + if err != nil { + result.LatestHttpResponse = resp.HttpResponse + err = fmt.Errorf("loading results: %+v", err) + return + } + if resp.Model != nil { + for _, v := range *resp.Model { + if predicate.Matches(v) { + items = append(items, v) + } + } + } + + result = ListCompleteResult{ + LatestHttpResponse: resp.HttpResponse, + Items: items, + } + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/method_listall.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/method_listall.go new file mode 100644 index 000000000000..a6440c241500 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/method_listall.go @@ -0,0 +1,106 @@ +package networksecuritygroups + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ListAllOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *[]NetworkSecurityGroup +} + +type ListAllCompleteResult struct { + LatestHttpResponse *http.Response + Items []NetworkSecurityGroup +} + +type ListAllCustomPager struct { + NextLink *odata.Link `json:"nextLink"` +} + +func (p *ListAllCustomPager) NextPageLink() *odata.Link { + defer func() { + p.NextLink = nil + }() + + return p.NextLink +} + +// ListAll ... +func (c NetworkSecurityGroupsClient) ListAll(ctx context.Context, id commonids.SubscriptionId) (result ListAllOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Pager: &ListAllCustomPager{}, + Path: fmt.Sprintf("%s/providers/Microsoft.Network/networkSecurityGroups", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.ExecutePaged(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var values struct { + Values *[]NetworkSecurityGroup `json:"value"` + } + if err = resp.Unmarshal(&values); err != nil { + return + } + + result.Model = values.Values + + return +} + +// ListAllComplete retrieves all the results into a single object +func (c NetworkSecurityGroupsClient) ListAllComplete(ctx context.Context, id commonids.SubscriptionId) (ListAllCompleteResult, error) { + return c.ListAllCompleteMatchingPredicate(ctx, id, NetworkSecurityGroupOperationPredicate{}) +} + +// ListAllCompleteMatchingPredicate retrieves all the results and then applies the predicate +func (c NetworkSecurityGroupsClient) ListAllCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate NetworkSecurityGroupOperationPredicate) (result ListAllCompleteResult, err error) { + items := make([]NetworkSecurityGroup, 0) + + resp, err := c.ListAll(ctx, id) + if err != nil { + result.LatestHttpResponse = resp.HttpResponse + err = fmt.Errorf("loading results: %+v", err) + return + } + if resp.Model != nil { + for _, v := range *resp.Model { + if predicate.Matches(v) { + items = append(items, v) + } + } + } + + result = ListAllCompleteResult{ + LatestHttpResponse: resp.HttpResponse, + Items: items, + } + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/method_updatetags.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/method_updatetags.go new file mode 100644 index 000000000000..6f4b2cd3ce69 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/method_updatetags.go @@ -0,0 +1,57 @@ +package networksecuritygroups + +import ( + "context" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type UpdateTagsOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *NetworkSecurityGroup +} + +// UpdateTags ... +func (c NetworkSecurityGroupsClient) UpdateTags(ctx context.Context, id NetworkSecurityGroupId, input TagsObject) (result UpdateTagsOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodPatch, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + if err = req.Marshal(input); err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var model NetworkSecurityGroup + result.Model = &model + if err = resp.Unmarshal(result.Model); err != nil { + return + } + + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_applicationgatewaybackendaddress.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_applicationgatewaybackendaddress.go new file mode 100644 index 000000000000..62c1c3109c08 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_applicationgatewaybackendaddress.go @@ -0,0 +1,9 @@ +package networksecuritygroups + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayBackendAddress struct { + Fqdn *string `json:"fqdn,omitempty"` + IPAddress *string `json:"ipAddress,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_applicationgatewaybackendaddresspool.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_applicationgatewaybackendaddresspool.go new file mode 100644 index 000000000000..17bf1792be84 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_applicationgatewaybackendaddresspool.go @@ -0,0 +1,12 @@ +package networksecuritygroups + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayBackendAddressPool struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *ApplicationGatewayBackendAddressPoolPropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_applicationgatewaybackendaddresspoolpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_applicationgatewaybackendaddresspoolpropertiesformat.go new file mode 100644 index 000000000000..d96a3011a256 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_applicationgatewaybackendaddresspoolpropertiesformat.go @@ -0,0 +1,10 @@ +package networksecuritygroups + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayBackendAddressPoolPropertiesFormat struct { + BackendAddresses *[]ApplicationGatewayBackendAddress `json:"backendAddresses,omitempty"` + BackendIPConfigurations *[]NetworkInterfaceIPConfiguration `json:"backendIPConfigurations,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_applicationgatewayipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_applicationgatewayipconfiguration.go new file mode 100644 index 000000000000..ebf65a382d3c --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_applicationgatewayipconfiguration.go @@ -0,0 +1,12 @@ +package networksecuritygroups + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayIPConfiguration struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *ApplicationGatewayIPConfigurationPropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_applicationgatewayipconfigurationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_applicationgatewayipconfigurationpropertiesformat.go new file mode 100644 index 000000000000..e6f11b94c019 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_applicationgatewayipconfigurationpropertiesformat.go @@ -0,0 +1,9 @@ +package networksecuritygroups + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayIPConfigurationPropertiesFormat struct { + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + Subnet *SubResource `json:"subnet,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_applicationsecuritygroup.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_applicationsecuritygroup.go new file mode 100644 index 000000000000..50a0b0f53a75 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_applicationsecuritygroup.go @@ -0,0 +1,14 @@ +package networksecuritygroups + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationSecurityGroup struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Location *string `json:"location,omitempty"` + Name *string `json:"name,omitempty"` + Properties *ApplicationSecurityGroupPropertiesFormat `json:"properties,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_applicationsecuritygrouppropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_applicationsecuritygrouppropertiesformat.go new file mode 100644 index 000000000000..5443c32837af --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_applicationsecuritygrouppropertiesformat.go @@ -0,0 +1,9 @@ +package networksecuritygroups + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationSecurityGroupPropertiesFormat struct { + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + ResourceGuid *string `json:"resourceGuid,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_backendaddresspool.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_backendaddresspool.go new file mode 100644 index 000000000000..0a2169643297 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_backendaddresspool.go @@ -0,0 +1,12 @@ +package networksecuritygroups + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type BackendAddressPool struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *BackendAddressPoolPropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_backendaddresspoolpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_backendaddresspoolpropertiesformat.go new file mode 100644 index 000000000000..80cdae2e9126 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_backendaddresspoolpropertiesformat.go @@ -0,0 +1,19 @@ +package networksecuritygroups + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type BackendAddressPoolPropertiesFormat struct { + BackendIPConfigurations *[]NetworkInterfaceIPConfiguration `json:"backendIPConfigurations,omitempty"` + DrainPeriodInSeconds *int64 `json:"drainPeriodInSeconds,omitempty"` + InboundNatRules *[]SubResource `json:"inboundNatRules,omitempty"` + LoadBalancerBackendAddresses *[]LoadBalancerBackendAddress `json:"loadBalancerBackendAddresses,omitempty"` + LoadBalancingRules *[]SubResource `json:"loadBalancingRules,omitempty"` + Location *string `json:"location,omitempty"` + OutboundRule *SubResource `json:"outboundRule,omitempty"` + OutboundRules *[]SubResource `json:"outboundRules,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + SyncMode *SyncMode `json:"syncMode,omitempty"` + TunnelInterfaces *[]GatewayLoadBalancerTunnelInterface `json:"tunnelInterfaces,omitempty"` + VirtualNetwork *SubResource `json:"virtualNetwork,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_customdnsconfigpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_customdnsconfigpropertiesformat.go new file mode 100644 index 000000000000..d6dd55786fcc --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_customdnsconfigpropertiesformat.go @@ -0,0 +1,9 @@ +package networksecuritygroups + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type CustomDnsConfigPropertiesFormat struct { + Fqdn *string `json:"fqdn,omitempty"` + IPAddresses *[]string `json:"ipAddresses,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_ddossettings.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_ddossettings.go new file mode 100644 index 000000000000..4b0d4e3dc9b8 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_ddossettings.go @@ -0,0 +1,9 @@ +package networksecuritygroups + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type DdosSettings struct { + DdosProtectionPlan *SubResource `json:"ddosProtectionPlan,omitempty"` + ProtectionMode *DdosSettingsProtectionMode `json:"protectionMode,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_delegation.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_delegation.go new file mode 100644 index 000000000000..42805b01adab --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_delegation.go @@ -0,0 +1,12 @@ +package networksecuritygroups + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type Delegation struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *ServiceDelegationPropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_flowlog.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_flowlog.go new file mode 100644 index 000000000000..88e95b6c2a4a --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_flowlog.go @@ -0,0 +1,19 @@ +package networksecuritygroups + +import ( + "github.com/hashicorp/go-azure-helpers/resourcemanager/identity" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type FlowLog struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Identity *identity.SystemAndUserAssignedMap `json:"identity,omitempty"` + Location *string `json:"location,omitempty"` + Name *string `json:"name,omitempty"` + Properties *FlowLogPropertiesFormat `json:"properties,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_flowlogformatparameters.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_flowlogformatparameters.go new file mode 100644 index 000000000000..fdad354f6b84 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_flowlogformatparameters.go @@ -0,0 +1,9 @@ +package networksecuritygroups + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type FlowLogFormatParameters struct { + Type *FlowLogFormatType `json:"type,omitempty"` + Version *int64 `json:"version,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_flowlogpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_flowlogpropertiesformat.go new file mode 100644 index 000000000000..aedfa0b64ad0 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_flowlogpropertiesformat.go @@ -0,0 +1,16 @@ +package networksecuritygroups + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type FlowLogPropertiesFormat struct { + Enabled *bool `json:"enabled,omitempty"` + EnabledFilteringCriteria *string `json:"enabledFilteringCriteria,omitempty"` + FlowAnalyticsConfiguration *TrafficAnalyticsProperties `json:"flowAnalyticsConfiguration,omitempty"` + Format *FlowLogFormatParameters `json:"format,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + RetentionPolicy *RetentionPolicyParameters `json:"retentionPolicy,omitempty"` + StorageId string `json:"storageId"` + TargetResourceGuid *string `json:"targetResourceGuid,omitempty"` + TargetResourceId string `json:"targetResourceId"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_frontendipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_frontendipconfiguration.go new file mode 100644 index 000000000000..24b23145d476 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_frontendipconfiguration.go @@ -0,0 +1,17 @@ +package networksecuritygroups + +import ( + "github.com/hashicorp/go-azure-helpers/resourcemanager/zones" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type FrontendIPConfiguration struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *FrontendIPConfigurationPropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` + Zones *zones.Schema `json:"zones,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_frontendipconfigurationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_frontendipconfigurationpropertiesformat.go new file mode 100644 index 000000000000..5322ea68f346 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_frontendipconfigurationpropertiesformat.go @@ -0,0 +1,19 @@ +package networksecuritygroups + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type FrontendIPConfigurationPropertiesFormat struct { + GatewayLoadBalancer *SubResource `json:"gatewayLoadBalancer,omitempty"` + InboundNatPools *[]SubResource `json:"inboundNatPools,omitempty"` + InboundNatRules *[]SubResource `json:"inboundNatRules,omitempty"` + LoadBalancingRules *[]SubResource `json:"loadBalancingRules,omitempty"` + OutboundRules *[]SubResource `json:"outboundRules,omitempty"` + PrivateIPAddress *string `json:"privateIPAddress,omitempty"` + PrivateIPAddressVersion *IPVersion `json:"privateIPAddressVersion,omitempty"` + PrivateIPAllocationMethod *IPAllocationMethod `json:"privateIPAllocationMethod,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + PublicIPAddress *PublicIPAddress `json:"publicIPAddress,omitempty"` + PublicIPPrefix *SubResource `json:"publicIPPrefix,omitempty"` + Subnet *Subnet `json:"subnet,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_gatewayloadbalancertunnelinterface.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_gatewayloadbalancertunnelinterface.go new file mode 100644 index 000000000000..fff6be9708f5 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_gatewayloadbalancertunnelinterface.go @@ -0,0 +1,11 @@ +package networksecuritygroups + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type GatewayLoadBalancerTunnelInterface struct { + Identifier *int64 `json:"identifier,omitempty"` + Port *int64 `json:"port,omitempty"` + Protocol *GatewayLoadBalancerTunnelProtocol `json:"protocol,omitempty"` + Type *GatewayLoadBalancerTunnelInterfaceType `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_inboundnatrule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_inboundnatrule.go new file mode 100644 index 000000000000..6391fbf065c2 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_inboundnatrule.go @@ -0,0 +1,12 @@ +package networksecuritygroups + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type InboundNatRule struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *InboundNatRulePropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_inboundnatrulepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_inboundnatrulepropertiesformat.go new file mode 100644 index 000000000000..725fec857510 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_inboundnatrulepropertiesformat.go @@ -0,0 +1,19 @@ +package networksecuritygroups + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type InboundNatRulePropertiesFormat struct { + BackendAddressPool *SubResource `json:"backendAddressPool,omitempty"` + BackendIPConfiguration *NetworkInterfaceIPConfiguration `json:"backendIPConfiguration,omitempty"` + BackendPort *int64 `json:"backendPort,omitempty"` + EnableFloatingIP *bool `json:"enableFloatingIP,omitempty"` + EnableTcpReset *bool `json:"enableTcpReset,omitempty"` + FrontendIPConfiguration *SubResource `json:"frontendIPConfiguration,omitempty"` + FrontendPort *int64 `json:"frontendPort,omitempty"` + FrontendPortRangeEnd *int64 `json:"frontendPortRangeEnd,omitempty"` + FrontendPortRangeStart *int64 `json:"frontendPortRangeStart,omitempty"` + IdleTimeoutInMinutes *int64 `json:"idleTimeoutInMinutes,omitempty"` + Protocol *TransportProtocol `json:"protocol,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_ipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_ipconfiguration.go new file mode 100644 index 000000000000..b9eec53b855d --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_ipconfiguration.go @@ -0,0 +1,11 @@ +package networksecuritygroups + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type IPConfiguration struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *IPConfigurationPropertiesFormat `json:"properties,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_ipconfigurationprofile.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_ipconfigurationprofile.go new file mode 100644 index 000000000000..4885926d9aaf --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_ipconfigurationprofile.go @@ -0,0 +1,12 @@ +package networksecuritygroups + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type IPConfigurationProfile struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *IPConfigurationProfilePropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_ipconfigurationprofilepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_ipconfigurationprofilepropertiesformat.go new file mode 100644 index 000000000000..ec7f93c0f2b1 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_ipconfigurationprofilepropertiesformat.go @@ -0,0 +1,9 @@ +package networksecuritygroups + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type IPConfigurationProfilePropertiesFormat struct { + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + Subnet *Subnet `json:"subnet,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_ipconfigurationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_ipconfigurationpropertiesformat.go new file mode 100644 index 000000000000..ca12abb49928 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_ipconfigurationpropertiesformat.go @@ -0,0 +1,12 @@ +package networksecuritygroups + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type IPConfigurationPropertiesFormat struct { + PrivateIPAddress *string `json:"privateIPAddress,omitempty"` + PrivateIPAllocationMethod *IPAllocationMethod `json:"privateIPAllocationMethod,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + PublicIPAddress *PublicIPAddress `json:"publicIPAddress,omitempty"` + Subnet *Subnet `json:"subnet,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_iptag.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_iptag.go new file mode 100644 index 000000000000..3f5348f3776d --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_iptag.go @@ -0,0 +1,9 @@ +package networksecuritygroups + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type IPTag struct { + IPTagType *string `json:"ipTagType,omitempty"` + Tag *string `json:"tag,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_loadbalancerbackendaddress.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_loadbalancerbackendaddress.go new file mode 100644 index 000000000000..8c8a91a5d1f0 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_loadbalancerbackendaddress.go @@ -0,0 +1,9 @@ +package networksecuritygroups + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type LoadBalancerBackendAddress struct { + Name *string `json:"name,omitempty"` + Properties *LoadBalancerBackendAddressPropertiesFormat `json:"properties,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_loadbalancerbackendaddresspropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_loadbalancerbackendaddresspropertiesformat.go new file mode 100644 index 000000000000..1843fe9fb855 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_loadbalancerbackendaddresspropertiesformat.go @@ -0,0 +1,14 @@ +package networksecuritygroups + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type LoadBalancerBackendAddressPropertiesFormat struct { + AdminState *LoadBalancerBackendAddressAdminState `json:"adminState,omitempty"` + IPAddress *string `json:"ipAddress,omitempty"` + InboundNatRulesPortMapping *[]NatRulePortMapping `json:"inboundNatRulesPortMapping,omitempty"` + LoadBalancerFrontendIPConfiguration *SubResource `json:"loadBalancerFrontendIPConfiguration,omitempty"` + NetworkInterfaceIPConfiguration *SubResource `json:"networkInterfaceIPConfiguration,omitempty"` + Subnet *SubResource `json:"subnet,omitempty"` + VirtualNetwork *SubResource `json:"virtualNetwork,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_natgateway.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_natgateway.go new file mode 100644 index 000000000000..8d6ecb14bc53 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_natgateway.go @@ -0,0 +1,20 @@ +package networksecuritygroups + +import ( + "github.com/hashicorp/go-azure-helpers/resourcemanager/zones" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NatGateway struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Location *string `json:"location,omitempty"` + Name *string `json:"name,omitempty"` + Properties *NatGatewayPropertiesFormat `json:"properties,omitempty"` + Sku *NatGatewaySku `json:"sku,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` + Zones *zones.Schema `json:"zones,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_natgatewaypropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_natgatewaypropertiesformat.go new file mode 100644 index 000000000000..389e752880f8 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_natgatewaypropertiesformat.go @@ -0,0 +1,13 @@ +package networksecuritygroups + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NatGatewayPropertiesFormat struct { + IdleTimeoutInMinutes *int64 `json:"idleTimeoutInMinutes,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + PublicIPAddresses *[]SubResource `json:"publicIpAddresses,omitempty"` + PublicIPPrefixes *[]SubResource `json:"publicIpPrefixes,omitempty"` + ResourceGuid *string `json:"resourceGuid,omitempty"` + Subnets *[]SubResource `json:"subnets,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_natgatewaysku.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_natgatewaysku.go new file mode 100644 index 000000000000..5e842304f20b --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_natgatewaysku.go @@ -0,0 +1,8 @@ +package networksecuritygroups + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NatGatewaySku struct { + Name *NatGatewaySkuName `json:"name,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_natruleportmapping.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_natruleportmapping.go new file mode 100644 index 000000000000..30f812c7c780 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_natruleportmapping.go @@ -0,0 +1,10 @@ +package networksecuritygroups + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NatRulePortMapping struct { + BackendPort *int64 `json:"backendPort,omitempty"` + FrontendPort *int64 `json:"frontendPort,omitempty"` + InboundNatRuleName *string `json:"inboundNatRuleName,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_networkinterface.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_networkinterface.go new file mode 100644 index 000000000000..a4a62c2d6ea1 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_networkinterface.go @@ -0,0 +1,19 @@ +package networksecuritygroups + +import ( + "github.com/hashicorp/go-azure-helpers/resourcemanager/edgezones" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NetworkInterface struct { + Etag *string `json:"etag,omitempty"` + ExtendedLocation *edgezones.Model `json:"extendedLocation,omitempty"` + Id *string `json:"id,omitempty"` + Location *string `json:"location,omitempty"` + Name *string `json:"name,omitempty"` + Properties *NetworkInterfacePropertiesFormat `json:"properties,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_networkinterfacednssettings.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_networkinterfacednssettings.go new file mode 100644 index 000000000000..f3819f014744 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_networkinterfacednssettings.go @@ -0,0 +1,12 @@ +package networksecuritygroups + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NetworkInterfaceDnsSettings struct { + AppliedDnsServers *[]string `json:"appliedDnsServers,omitempty"` + DnsServers *[]string `json:"dnsServers,omitempty"` + InternalDnsNameLabel *string `json:"internalDnsNameLabel,omitempty"` + InternalDomainNameSuffix *string `json:"internalDomainNameSuffix,omitempty"` + InternalFqdn *string `json:"internalFqdn,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_networkinterfaceipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_networkinterfaceipconfiguration.go new file mode 100644 index 000000000000..40cf733a9f01 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_networkinterfaceipconfiguration.go @@ -0,0 +1,12 @@ +package networksecuritygroups + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NetworkInterfaceIPConfiguration struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *NetworkInterfaceIPConfigurationPropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_networkinterfaceipconfigurationprivatelinkconnectionproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_networkinterfaceipconfigurationprivatelinkconnectionproperties.go new file mode 100644 index 000000000000..caa03f6e4139 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_networkinterfaceipconfigurationprivatelinkconnectionproperties.go @@ -0,0 +1,10 @@ +package networksecuritygroups + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties struct { + Fqdns *[]string `json:"fqdns,omitempty"` + GroupId *string `json:"groupId,omitempty"` + RequiredMemberName *string `json:"requiredMemberName,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_networkinterfaceipconfigurationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_networkinterfaceipconfigurationpropertiesformat.go new file mode 100644 index 000000000000..248c37ca51de --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_networkinterfaceipconfigurationpropertiesformat.go @@ -0,0 +1,22 @@ +package networksecuritygroups + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NetworkInterfaceIPConfigurationPropertiesFormat struct { + ApplicationGatewayBackendAddressPools *[]ApplicationGatewayBackendAddressPool `json:"applicationGatewayBackendAddressPools,omitempty"` + ApplicationSecurityGroups *[]ApplicationSecurityGroup `json:"applicationSecurityGroups,omitempty"` + GatewayLoadBalancer *SubResource `json:"gatewayLoadBalancer,omitempty"` + LoadBalancerBackendAddressPools *[]BackendAddressPool `json:"loadBalancerBackendAddressPools,omitempty"` + LoadBalancerInboundNatRules *[]InboundNatRule `json:"loadBalancerInboundNatRules,omitempty"` + Primary *bool `json:"primary,omitempty"` + PrivateIPAddress *string `json:"privateIPAddress,omitempty"` + PrivateIPAddressPrefixLength *int64 `json:"privateIPAddressPrefixLength,omitempty"` + PrivateIPAddressVersion *IPVersion `json:"privateIPAddressVersion,omitempty"` + PrivateIPAllocationMethod *IPAllocationMethod `json:"privateIPAllocationMethod,omitempty"` + PrivateLinkConnectionProperties *NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties `json:"privateLinkConnectionProperties,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + PublicIPAddress *PublicIPAddress `json:"publicIPAddress,omitempty"` + Subnet *Subnet `json:"subnet,omitempty"` + VirtualNetworkTaps *[]VirtualNetworkTap `json:"virtualNetworkTaps,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_networkinterfacepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_networkinterfacepropertiesformat.go new file mode 100644 index 000000000000..95a8c67d71c3 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_networkinterfacepropertiesformat.go @@ -0,0 +1,29 @@ +package networksecuritygroups + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NetworkInterfacePropertiesFormat struct { + AuxiliaryMode *NetworkInterfaceAuxiliaryMode `json:"auxiliaryMode,omitempty"` + AuxiliarySku *NetworkInterfaceAuxiliarySku `json:"auxiliarySku,omitempty"` + DisableTcpStateTracking *bool `json:"disableTcpStateTracking,omitempty"` + DnsSettings *NetworkInterfaceDnsSettings `json:"dnsSettings,omitempty"` + DscpConfiguration *SubResource `json:"dscpConfiguration,omitempty"` + EnableAcceleratedNetworking *bool `json:"enableAcceleratedNetworking,omitempty"` + EnableIPForwarding *bool `json:"enableIPForwarding,omitempty"` + HostedWorkloads *[]string `json:"hostedWorkloads,omitempty"` + IPConfigurations *[]NetworkInterfaceIPConfiguration `json:"ipConfigurations,omitempty"` + MacAddress *string `json:"macAddress,omitempty"` + MigrationPhase *NetworkInterfaceMigrationPhase `json:"migrationPhase,omitempty"` + NetworkSecurityGroup *NetworkSecurityGroup `json:"networkSecurityGroup,omitempty"` + NicType *NetworkInterfaceNicType `json:"nicType,omitempty"` + Primary *bool `json:"primary,omitempty"` + PrivateEndpoint *PrivateEndpoint `json:"privateEndpoint,omitempty"` + PrivateLinkService *PrivateLinkService `json:"privateLinkService,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + ResourceGuid *string `json:"resourceGuid,omitempty"` + TapConfigurations *[]NetworkInterfaceTapConfiguration `json:"tapConfigurations,omitempty"` + VirtualMachine *SubResource `json:"virtualMachine,omitempty"` + VnetEncryptionSupported *bool `json:"vnetEncryptionSupported,omitempty"` + WorkloadType *string `json:"workloadType,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_networkinterfacetapconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_networkinterfacetapconfiguration.go new file mode 100644 index 000000000000..5e60c1bbfc44 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_networkinterfacetapconfiguration.go @@ -0,0 +1,12 @@ +package networksecuritygroups + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NetworkInterfaceTapConfiguration struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *NetworkInterfaceTapConfigurationPropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_networkinterfacetapconfigurationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_networkinterfacetapconfigurationpropertiesformat.go new file mode 100644 index 000000000000..d110d1936451 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_networkinterfacetapconfigurationpropertiesformat.go @@ -0,0 +1,9 @@ +package networksecuritygroups + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NetworkInterfaceTapConfigurationPropertiesFormat struct { + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + VirtualNetworkTap *VirtualNetworkTap `json:"virtualNetworkTap,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_networksecuritygroup.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_networksecuritygroup.go new file mode 100644 index 000000000000..dd84b3efc893 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_networksecuritygroup.go @@ -0,0 +1,14 @@ +package networksecuritygroups + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NetworkSecurityGroup struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Location *string `json:"location,omitempty"` + Name *string `json:"name,omitempty"` + Properties *NetworkSecurityGroupPropertiesFormat `json:"properties,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_networksecuritygrouppropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_networksecuritygrouppropertiesformat.go new file mode 100644 index 000000000000..704a86496f2d --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_networksecuritygrouppropertiesformat.go @@ -0,0 +1,15 @@ +package networksecuritygroups + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NetworkSecurityGroupPropertiesFormat struct { + DefaultSecurityRules *[]SecurityRule `json:"defaultSecurityRules,omitempty"` + FlowLogs *[]FlowLog `json:"flowLogs,omitempty"` + FlushConnection *bool `json:"flushConnection,omitempty"` + NetworkInterfaces *[]NetworkInterface `json:"networkInterfaces,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + ResourceGuid *string `json:"resourceGuid,omitempty"` + SecurityRules *[]SecurityRule `json:"securityRules,omitempty"` + Subnets *[]Subnet `json:"subnets,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_privateendpoint.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_privateendpoint.go new file mode 100644 index 000000000000..753cd13341bf --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_privateendpoint.go @@ -0,0 +1,19 @@ +package networksecuritygroups + +import ( + "github.com/hashicorp/go-azure-helpers/resourcemanager/edgezones" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PrivateEndpoint struct { + Etag *string `json:"etag,omitempty"` + ExtendedLocation *edgezones.Model `json:"extendedLocation,omitempty"` + Id *string `json:"id,omitempty"` + Location *string `json:"location,omitempty"` + Name *string `json:"name,omitempty"` + Properties *PrivateEndpointProperties `json:"properties,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_privateendpointconnection.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_privateendpointconnection.go new file mode 100644 index 000000000000..b28eaa1a2135 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_privateendpointconnection.go @@ -0,0 +1,12 @@ +package networksecuritygroups + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PrivateEndpointConnection struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *PrivateEndpointConnectionProperties `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_privateendpointconnectionproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_privateendpointconnectionproperties.go new file mode 100644 index 000000000000..9649070d1a73 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_privateendpointconnectionproperties.go @@ -0,0 +1,12 @@ +package networksecuritygroups + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PrivateEndpointConnectionProperties struct { + LinkIdentifier *string `json:"linkIdentifier,omitempty"` + PrivateEndpoint *PrivateEndpoint `json:"privateEndpoint,omitempty"` + PrivateEndpointLocation *string `json:"privateEndpointLocation,omitempty"` + PrivateLinkServiceConnectionState *PrivateLinkServiceConnectionState `json:"privateLinkServiceConnectionState,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_privateendpointipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_privateendpointipconfiguration.go new file mode 100644 index 000000000000..af86de8f897c --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_privateendpointipconfiguration.go @@ -0,0 +1,11 @@ +package networksecuritygroups + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PrivateEndpointIPConfiguration struct { + Etag *string `json:"etag,omitempty"` + Name *string `json:"name,omitempty"` + Properties *PrivateEndpointIPConfigurationProperties `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_privateendpointipconfigurationproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_privateendpointipconfigurationproperties.go new file mode 100644 index 000000000000..550ef75ec1d4 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_privateendpointipconfigurationproperties.go @@ -0,0 +1,10 @@ +package networksecuritygroups + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PrivateEndpointIPConfigurationProperties struct { + GroupId *string `json:"groupId,omitempty"` + MemberName *string `json:"memberName,omitempty"` + PrivateIPAddress *string `json:"privateIPAddress,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_privateendpointproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_privateendpointproperties.go new file mode 100644 index 000000000000..36ad3ca4ffb3 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_privateendpointproperties.go @@ -0,0 +1,16 @@ +package networksecuritygroups + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PrivateEndpointProperties struct { + ApplicationSecurityGroups *[]ApplicationSecurityGroup `json:"applicationSecurityGroups,omitempty"` + CustomDnsConfigs *[]CustomDnsConfigPropertiesFormat `json:"customDnsConfigs,omitempty"` + CustomNetworkInterfaceName *string `json:"customNetworkInterfaceName,omitempty"` + IPConfigurations *[]PrivateEndpointIPConfiguration `json:"ipConfigurations,omitempty"` + ManualPrivateLinkServiceConnections *[]PrivateLinkServiceConnection `json:"manualPrivateLinkServiceConnections,omitempty"` + NetworkInterfaces *[]NetworkInterface `json:"networkInterfaces,omitempty"` + PrivateLinkServiceConnections *[]PrivateLinkServiceConnection `json:"privateLinkServiceConnections,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + Subnet *Subnet `json:"subnet,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_privatelinkservice.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_privatelinkservice.go new file mode 100644 index 000000000000..f880da9d89d2 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_privatelinkservice.go @@ -0,0 +1,19 @@ +package networksecuritygroups + +import ( + "github.com/hashicorp/go-azure-helpers/resourcemanager/edgezones" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PrivateLinkService struct { + Etag *string `json:"etag,omitempty"` + ExtendedLocation *edgezones.Model `json:"extendedLocation,omitempty"` + Id *string `json:"id,omitempty"` + Location *string `json:"location,omitempty"` + Name *string `json:"name,omitempty"` + Properties *PrivateLinkServiceProperties `json:"properties,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_privatelinkserviceconnection.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_privatelinkserviceconnection.go new file mode 100644 index 000000000000..3a721ae36379 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_privatelinkserviceconnection.go @@ -0,0 +1,12 @@ +package networksecuritygroups + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PrivateLinkServiceConnection struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *PrivateLinkServiceConnectionProperties `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_privatelinkserviceconnectionproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_privatelinkserviceconnectionproperties.go new file mode 100644 index 000000000000..50b8f7e352ff --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_privatelinkserviceconnectionproperties.go @@ -0,0 +1,12 @@ +package networksecuritygroups + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PrivateLinkServiceConnectionProperties struct { + GroupIds *[]string `json:"groupIds,omitempty"` + PrivateLinkServiceConnectionState *PrivateLinkServiceConnectionState `json:"privateLinkServiceConnectionState,omitempty"` + PrivateLinkServiceId *string `json:"privateLinkServiceId,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + RequestMessage *string `json:"requestMessage,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_privatelinkserviceconnectionstate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_privatelinkserviceconnectionstate.go new file mode 100644 index 000000000000..619e38d131d2 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_privatelinkserviceconnectionstate.go @@ -0,0 +1,10 @@ +package networksecuritygroups + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PrivateLinkServiceConnectionState struct { + ActionsRequired *string `json:"actionsRequired,omitempty"` + Description *string `json:"description,omitempty"` + Status *string `json:"status,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_privatelinkserviceipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_privatelinkserviceipconfiguration.go new file mode 100644 index 000000000000..dcbf418522b5 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_privatelinkserviceipconfiguration.go @@ -0,0 +1,12 @@ +package networksecuritygroups + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PrivateLinkServiceIPConfiguration struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *PrivateLinkServiceIPConfigurationProperties `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_privatelinkserviceipconfigurationproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_privatelinkserviceipconfigurationproperties.go new file mode 100644 index 000000000000..abc8d2f4904f --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_privatelinkserviceipconfigurationproperties.go @@ -0,0 +1,13 @@ +package networksecuritygroups + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PrivateLinkServiceIPConfigurationProperties struct { + Primary *bool `json:"primary,omitempty"` + PrivateIPAddress *string `json:"privateIPAddress,omitempty"` + PrivateIPAddressVersion *IPVersion `json:"privateIPAddressVersion,omitempty"` + PrivateIPAllocationMethod *IPAllocationMethod `json:"privateIPAllocationMethod,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + Subnet *Subnet `json:"subnet,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_privatelinkserviceproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_privatelinkserviceproperties.go new file mode 100644 index 000000000000..a0623cf72291 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_privatelinkserviceproperties.go @@ -0,0 +1,18 @@ +package networksecuritygroups + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PrivateLinkServiceProperties struct { + Alias *string `json:"alias,omitempty"` + AutoApproval *ResourceSet `json:"autoApproval,omitempty"` + DestinationIPAddress *string `json:"destinationIPAddress,omitempty"` + EnableProxyProtocol *bool `json:"enableProxyProtocol,omitempty"` + Fqdns *[]string `json:"fqdns,omitempty"` + IPConfigurations *[]PrivateLinkServiceIPConfiguration `json:"ipConfigurations,omitempty"` + LoadBalancerFrontendIPConfigurations *[]FrontendIPConfiguration `json:"loadBalancerFrontendIpConfigurations,omitempty"` + NetworkInterfaces *[]NetworkInterface `json:"networkInterfaces,omitempty"` + PrivateEndpointConnections *[]PrivateEndpointConnection `json:"privateEndpointConnections,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + Visibility *ResourceSet `json:"visibility,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_publicipaddress.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_publicipaddress.go new file mode 100644 index 000000000000..7b797b006f5b --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_publicipaddress.go @@ -0,0 +1,22 @@ +package networksecuritygroups + +import ( + "github.com/hashicorp/go-azure-helpers/resourcemanager/edgezones" + "github.com/hashicorp/go-azure-helpers/resourcemanager/zones" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PublicIPAddress struct { + Etag *string `json:"etag,omitempty"` + ExtendedLocation *edgezones.Model `json:"extendedLocation,omitempty"` + Id *string `json:"id,omitempty"` + Location *string `json:"location,omitempty"` + Name *string `json:"name,omitempty"` + Properties *PublicIPAddressPropertiesFormat `json:"properties,omitempty"` + Sku *PublicIPAddressSku `json:"sku,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` + Zones *zones.Schema `json:"zones,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_publicipaddressdnssettings.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_publicipaddressdnssettings.go new file mode 100644 index 000000000000..2db9ef3f2c3b --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_publicipaddressdnssettings.go @@ -0,0 +1,11 @@ +package networksecuritygroups + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PublicIPAddressDnsSettings struct { + DomainNameLabel *string `json:"domainNameLabel,omitempty"` + DomainNameLabelScope *PublicIPAddressDnsSettingsDomainNameLabelScope `json:"domainNameLabelScope,omitempty"` + Fqdn *string `json:"fqdn,omitempty"` + ReverseFqdn *string `json:"reverseFqdn,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_publicipaddresspropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_publicipaddresspropertiesformat.go new file mode 100644 index 000000000000..cac3fce28cea --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_publicipaddresspropertiesformat.go @@ -0,0 +1,23 @@ +package networksecuritygroups + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PublicIPAddressPropertiesFormat struct { + DdosSettings *DdosSettings `json:"ddosSettings,omitempty"` + DeleteOption *DeleteOptions `json:"deleteOption,omitempty"` + DnsSettings *PublicIPAddressDnsSettings `json:"dnsSettings,omitempty"` + IPAddress *string `json:"ipAddress,omitempty"` + IPConfiguration *IPConfiguration `json:"ipConfiguration,omitempty"` + IPTags *[]IPTag `json:"ipTags,omitempty"` + IdleTimeoutInMinutes *int64 `json:"idleTimeoutInMinutes,omitempty"` + LinkedPublicIPAddress *PublicIPAddress `json:"linkedPublicIPAddress,omitempty"` + MigrationPhase *PublicIPAddressMigrationPhase `json:"migrationPhase,omitempty"` + NatGateway *NatGateway `json:"natGateway,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + PublicIPAddressVersion *IPVersion `json:"publicIPAddressVersion,omitempty"` + PublicIPAllocationMethod *IPAllocationMethod `json:"publicIPAllocationMethod,omitempty"` + PublicIPPrefix *SubResource `json:"publicIPPrefix,omitempty"` + ResourceGuid *string `json:"resourceGuid,omitempty"` + ServicePublicIPAddress *PublicIPAddress `json:"servicePublicIPAddress,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_publicipaddresssku.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_publicipaddresssku.go new file mode 100644 index 000000000000..24fe5573abdb --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_publicipaddresssku.go @@ -0,0 +1,9 @@ +package networksecuritygroups + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PublicIPAddressSku struct { + Name *PublicIPAddressSkuName `json:"name,omitempty"` + Tier *PublicIPAddressSkuTier `json:"tier,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_resourcenavigationlink.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_resourcenavigationlink.go new file mode 100644 index 000000000000..8d6ec6049420 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_resourcenavigationlink.go @@ -0,0 +1,12 @@ +package networksecuritygroups + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ResourceNavigationLink struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *ResourceNavigationLinkFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_resourcenavigationlinkformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_resourcenavigationlinkformat.go new file mode 100644 index 000000000000..0bf207481cb0 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_resourcenavigationlinkformat.go @@ -0,0 +1,10 @@ +package networksecuritygroups + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ResourceNavigationLinkFormat struct { + Link *string `json:"link,omitempty"` + LinkedResourceType *string `json:"linkedResourceType,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_resourceset.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_resourceset.go new file mode 100644 index 000000000000..751d06dd7324 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_resourceset.go @@ -0,0 +1,8 @@ +package networksecuritygroups + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ResourceSet struct { + Subscriptions *[]string `json:"subscriptions,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_retentionpolicyparameters.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_retentionpolicyparameters.go new file mode 100644 index 000000000000..b1e9035c2f8b --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_retentionpolicyparameters.go @@ -0,0 +1,9 @@ +package networksecuritygroups + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type RetentionPolicyParameters struct { + Days *int64 `json:"days,omitempty"` + Enabled *bool `json:"enabled,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_route.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_route.go new file mode 100644 index 000000000000..9b712ab4e813 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_route.go @@ -0,0 +1,12 @@ +package networksecuritygroups + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type Route struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *RoutePropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_routepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_routepropertiesformat.go new file mode 100644 index 000000000000..3225a4673f2b --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_routepropertiesformat.go @@ -0,0 +1,12 @@ +package networksecuritygroups + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type RoutePropertiesFormat struct { + AddressPrefix *string `json:"addressPrefix,omitempty"` + HasBgpOverride *bool `json:"hasBgpOverride,omitempty"` + NextHopIPAddress *string `json:"nextHopIpAddress,omitempty"` + NextHopType RouteNextHopType `json:"nextHopType"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_routetable.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_routetable.go new file mode 100644 index 000000000000..9aff39efe9e7 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_routetable.go @@ -0,0 +1,14 @@ +package networksecuritygroups + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type RouteTable struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Location *string `json:"location,omitempty"` + Name *string `json:"name,omitempty"` + Properties *RouteTablePropertiesFormat `json:"properties,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_routetablepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_routetablepropertiesformat.go new file mode 100644 index 000000000000..5eee448b410c --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_routetablepropertiesformat.go @@ -0,0 +1,12 @@ +package networksecuritygroups + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type RouteTablePropertiesFormat struct { + DisableBgpRoutePropagation *bool `json:"disableBgpRoutePropagation,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + ResourceGuid *string `json:"resourceGuid,omitempty"` + Routes *[]Route `json:"routes,omitempty"` + Subnets *[]Subnet `json:"subnets,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_securityrule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_securityrule.go new file mode 100644 index 000000000000..1119115e9eb5 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_securityrule.go @@ -0,0 +1,12 @@ +package networksecuritygroups + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type SecurityRule struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *SecurityRulePropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_securityrulepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_securityrulepropertiesformat.go new file mode 100644 index 000000000000..012709116827 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_securityrulepropertiesformat.go @@ -0,0 +1,23 @@ +package networksecuritygroups + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type SecurityRulePropertiesFormat struct { + Access SecurityRuleAccess `json:"access"` + Description *string `json:"description,omitempty"` + DestinationAddressPrefix *string `json:"destinationAddressPrefix,omitempty"` + DestinationAddressPrefixes *[]string `json:"destinationAddressPrefixes,omitempty"` + DestinationApplicationSecurityGroups *[]ApplicationSecurityGroup `json:"destinationApplicationSecurityGroups,omitempty"` + DestinationPortRange *string `json:"destinationPortRange,omitempty"` + DestinationPortRanges *[]string `json:"destinationPortRanges,omitempty"` + Direction SecurityRuleDirection `json:"direction"` + Priority int64 `json:"priority"` + Protocol SecurityRuleProtocol `json:"protocol"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + SourceAddressPrefix *string `json:"sourceAddressPrefix,omitempty"` + SourceAddressPrefixes *[]string `json:"sourceAddressPrefixes,omitempty"` + SourceApplicationSecurityGroups *[]ApplicationSecurityGroup `json:"sourceApplicationSecurityGroups,omitempty"` + SourcePortRange *string `json:"sourcePortRange,omitempty"` + SourcePortRanges *[]string `json:"sourcePortRanges,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_serviceassociationlink.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_serviceassociationlink.go new file mode 100644 index 000000000000..050ee6cb43f8 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_serviceassociationlink.go @@ -0,0 +1,12 @@ +package networksecuritygroups + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ServiceAssociationLink struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *ServiceAssociationLinkPropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_serviceassociationlinkpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_serviceassociationlinkpropertiesformat.go new file mode 100644 index 000000000000..81a4ac35e4ae --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_serviceassociationlinkpropertiesformat.go @@ -0,0 +1,12 @@ +package networksecuritygroups + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ServiceAssociationLinkPropertiesFormat struct { + AllowDelete *bool `json:"allowDelete,omitempty"` + Link *string `json:"link,omitempty"` + LinkedResourceType *string `json:"linkedResourceType,omitempty"` + Locations *[]string `json:"locations,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_servicedelegationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_servicedelegationpropertiesformat.go new file mode 100644 index 000000000000..089e2e1dc0c1 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_servicedelegationpropertiesformat.go @@ -0,0 +1,10 @@ +package networksecuritygroups + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ServiceDelegationPropertiesFormat struct { + Actions *[]string `json:"actions,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + ServiceName *string `json:"serviceName,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_serviceendpointpolicy.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_serviceendpointpolicy.go new file mode 100644 index 000000000000..6ca2d4bff53e --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_serviceendpointpolicy.go @@ -0,0 +1,15 @@ +package networksecuritygroups + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ServiceEndpointPolicy struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Kind *string `json:"kind,omitempty"` + Location *string `json:"location,omitempty"` + Name *string `json:"name,omitempty"` + Properties *ServiceEndpointPolicyPropertiesFormat `json:"properties,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_serviceendpointpolicydefinition.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_serviceendpointpolicydefinition.go new file mode 100644 index 000000000000..2a8648b7931f --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_serviceendpointpolicydefinition.go @@ -0,0 +1,12 @@ +package networksecuritygroups + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ServiceEndpointPolicyDefinition struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *ServiceEndpointPolicyDefinitionPropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_serviceendpointpolicydefinitionpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_serviceendpointpolicydefinitionpropertiesformat.go new file mode 100644 index 000000000000..c70380704b7e --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_serviceendpointpolicydefinitionpropertiesformat.go @@ -0,0 +1,11 @@ +package networksecuritygroups + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ServiceEndpointPolicyDefinitionPropertiesFormat struct { + Description *string `json:"description,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + Service *string `json:"service,omitempty"` + ServiceResources *[]string `json:"serviceResources,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_serviceendpointpolicypropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_serviceendpointpolicypropertiesformat.go new file mode 100644 index 000000000000..3000410cde3b --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_serviceendpointpolicypropertiesformat.go @@ -0,0 +1,13 @@ +package networksecuritygroups + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ServiceEndpointPolicyPropertiesFormat struct { + ContextualServiceEndpointPolicies *[]string `json:"contextualServiceEndpointPolicies,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + ResourceGuid *string `json:"resourceGuid,omitempty"` + ServiceAlias *string `json:"serviceAlias,omitempty"` + ServiceEndpointPolicyDefinitions *[]ServiceEndpointPolicyDefinition `json:"serviceEndpointPolicyDefinitions,omitempty"` + Subnets *[]Subnet `json:"subnets,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_serviceendpointpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_serviceendpointpropertiesformat.go new file mode 100644 index 000000000000..41b220c51942 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_serviceendpointpropertiesformat.go @@ -0,0 +1,11 @@ +package networksecuritygroups + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ServiceEndpointPropertiesFormat struct { + Locations *[]string `json:"locations,omitempty"` + NetworkIdentifier *SubResource `json:"networkIdentifier,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + Service *string `json:"service,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_subnet.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_subnet.go new file mode 100644 index 000000000000..499cc289ec38 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_subnet.go @@ -0,0 +1,12 @@ +package networksecuritygroups + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type Subnet struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *SubnetPropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_subnetpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_subnetpropertiesformat.go new file mode 100644 index 000000000000..1709c6e2bd1f --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_subnetpropertiesformat.go @@ -0,0 +1,28 @@ +package networksecuritygroups + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type SubnetPropertiesFormat struct { + AddressPrefix *string `json:"addressPrefix,omitempty"` + AddressPrefixes *[]string `json:"addressPrefixes,omitempty"` + ApplicationGatewayIPConfigurations *[]ApplicationGatewayIPConfiguration `json:"applicationGatewayIPConfigurations,omitempty"` + DefaultOutboundAccess *bool `json:"defaultOutboundAccess,omitempty"` + Delegations *[]Delegation `json:"delegations,omitempty"` + IPAllocations *[]SubResource `json:"ipAllocations,omitempty"` + IPConfigurationProfiles *[]IPConfigurationProfile `json:"ipConfigurationProfiles,omitempty"` + IPConfigurations *[]IPConfiguration `json:"ipConfigurations,omitempty"` + NatGateway *SubResource `json:"natGateway,omitempty"` + NetworkSecurityGroup *NetworkSecurityGroup `json:"networkSecurityGroup,omitempty"` + PrivateEndpointNetworkPolicies *VirtualNetworkPrivateEndpointNetworkPolicies `json:"privateEndpointNetworkPolicies,omitempty"` + PrivateEndpoints *[]PrivateEndpoint `json:"privateEndpoints,omitempty"` + PrivateLinkServiceNetworkPolicies *VirtualNetworkPrivateLinkServiceNetworkPolicies `json:"privateLinkServiceNetworkPolicies,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + Purpose *string `json:"purpose,omitempty"` + ResourceNavigationLinks *[]ResourceNavigationLink `json:"resourceNavigationLinks,omitempty"` + RouteTable *RouteTable `json:"routeTable,omitempty"` + ServiceAssociationLinks *[]ServiceAssociationLink `json:"serviceAssociationLinks,omitempty"` + ServiceEndpointPolicies *[]ServiceEndpointPolicy `json:"serviceEndpointPolicies,omitempty"` + ServiceEndpoints *[]ServiceEndpointPropertiesFormat `json:"serviceEndpoints,omitempty"` + SharingScope *SharingScope `json:"sharingScope,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_subresource.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_subresource.go new file mode 100644 index 000000000000..8fa7fe6b59d0 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_subresource.go @@ -0,0 +1,8 @@ +package networksecuritygroups + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type SubResource struct { + Id *string `json:"id,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_tagsobject.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_tagsobject.go new file mode 100644 index 000000000000..bb9ad0a63731 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_tagsobject.go @@ -0,0 +1,8 @@ +package networksecuritygroups + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type TagsObject struct { + Tags *map[string]string `json:"tags,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_trafficanalyticsconfigurationproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_trafficanalyticsconfigurationproperties.go new file mode 100644 index 000000000000..ddb354c4a7c5 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_trafficanalyticsconfigurationproperties.go @@ -0,0 +1,12 @@ +package networksecuritygroups + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type TrafficAnalyticsConfigurationProperties struct { + Enabled *bool `json:"enabled,omitempty"` + TrafficAnalyticsInterval *int64 `json:"trafficAnalyticsInterval,omitempty"` + WorkspaceId *string `json:"workspaceId,omitempty"` + WorkspaceRegion *string `json:"workspaceRegion,omitempty"` + WorkspaceResourceId *string `json:"workspaceResourceId,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_trafficanalyticsproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_trafficanalyticsproperties.go new file mode 100644 index 000000000000..f74d8a12ecb1 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_trafficanalyticsproperties.go @@ -0,0 +1,8 @@ +package networksecuritygroups + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type TrafficAnalyticsProperties struct { + NetworkWatcherFlowAnalyticsConfiguration *TrafficAnalyticsConfigurationProperties `json:"networkWatcherFlowAnalyticsConfiguration,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_virtualnetworktap.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_virtualnetworktap.go new file mode 100644 index 000000000000..cfc1b073467b --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_virtualnetworktap.go @@ -0,0 +1,14 @@ +package networksecuritygroups + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VirtualNetworkTap struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Location *string `json:"location,omitempty"` + Name *string `json:"name,omitempty"` + Properties *VirtualNetworkTapPropertiesFormat `json:"properties,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_virtualnetworktappropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_virtualnetworktappropertiesformat.go new file mode 100644 index 000000000000..01620fae8c8e --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/model_virtualnetworktappropertiesformat.go @@ -0,0 +1,13 @@ +package networksecuritygroups + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VirtualNetworkTapPropertiesFormat struct { + DestinationLoadBalancerFrontEndIPConfiguration *FrontendIPConfiguration `json:"destinationLoadBalancerFrontEndIPConfiguration,omitempty"` + DestinationNetworkInterfaceIPConfiguration *NetworkInterfaceIPConfiguration `json:"destinationNetworkInterfaceIPConfiguration,omitempty"` + DestinationPort *int64 `json:"destinationPort,omitempty"` + NetworkInterfaceTapConfigurations *[]NetworkInterfaceTapConfiguration `json:"networkInterfaceTapConfigurations,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + ResourceGuid *string `json:"resourceGuid,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/predicates.go new file mode 100644 index 000000000000..b9f6d3f3df5c --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/predicates.go @@ -0,0 +1,37 @@ +package networksecuritygroups + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NetworkSecurityGroupOperationPredicate struct { + Etag *string + Id *string + Location *string + Name *string + Type *string +} + +func (p NetworkSecurityGroupOperationPredicate) Matches(input NetworkSecurityGroup) bool { + + if p.Etag != nil && (input.Etag == nil || *p.Etag != *input.Etag) { + return false + } + + if p.Id != nil && (input.Id == nil || *p.Id != *input.Id) { + return false + } + + if p.Location != nil && (input.Location == nil || *p.Location != *input.Location) { + return false + } + + if p.Name != nil && (input.Name == nil || *p.Name != *input.Name) { + return false + } + + if p.Type != nil && (input.Type == nil || *p.Type != *input.Type) { + return false + } + + return true +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/version.go new file mode 100644 index 000000000000..765659c02341 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups/version.go @@ -0,0 +1,10 @@ +package networksecuritygroups + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2024-03-01" + +func userAgent() string { + return "hashicorp/go-azure-sdk/networksecuritygroups/2024-03-01" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkvirtualappliances/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkvirtualappliances/README.md new file mode 100644 index 000000000000..a43627f1493c --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkvirtualappliances/README.md @@ -0,0 +1,171 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkvirtualappliances` Documentation + +The `networkvirtualappliances` SDK allows for interaction with Azure Resource Manager `network` (API Version `2024-03-01`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" +import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkvirtualappliances" +``` + + +### Client Initialization + +```go +client := networkvirtualappliances.NewNetworkVirtualAppliancesClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `NetworkVirtualAppliancesClient.CreateOrUpdate` + +```go +ctx := context.TODO() +id := networkvirtualappliances.NewNetworkVirtualApplianceID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkVirtualApplianceName") + +payload := networkvirtualappliances.NetworkVirtualAppliance{ + // ... +} + + +if err := client.CreateOrUpdateThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `NetworkVirtualAppliancesClient.Delete` + +```go +ctx := context.TODO() +id := networkvirtualappliances.NewNetworkVirtualApplianceID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkVirtualApplianceName") + +if err := client.DeleteThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `NetworkVirtualAppliancesClient.Get` + +```go +ctx := context.TODO() +id := networkvirtualappliances.NewNetworkVirtualApplianceID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkVirtualApplianceName") + +read, err := client.Get(ctx, id, networkvirtualappliances.DefaultGetOperationOptions()) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `NetworkVirtualAppliancesClient.InboundSecurityRuleCreateOrUpdate` + +```go +ctx := context.TODO() +id := networkvirtualappliances.NewInboundSecurityRuleID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkVirtualApplianceName", "inboundSecurityRuleName") + +payload := networkvirtualappliances.InboundSecurityRule{ + // ... +} + + +if err := client.InboundSecurityRuleCreateOrUpdateThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `NetworkVirtualAppliancesClient.InboundSecurityRuleGet` + +```go +ctx := context.TODO() +id := networkvirtualappliances.NewInboundSecurityRuleID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkVirtualApplianceName", "inboundSecurityRuleName") + +read, err := client.InboundSecurityRuleGet(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `NetworkVirtualAppliancesClient.List` + +```go +ctx := context.TODO() +id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012") + +// alternatively `client.List(ctx, id)` can be used to do batched pagination +items, err := client.ListComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `NetworkVirtualAppliancesClient.ListByResourceGroup` + +```go +ctx := context.TODO() +id := commonids.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group") + +// alternatively `client.ListByResourceGroup(ctx, id)` can be used to do batched pagination +items, err := client.ListByResourceGroupComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `NetworkVirtualAppliancesClient.Restart` + +```go +ctx := context.TODO() +id := networkvirtualappliances.NewNetworkVirtualApplianceID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkVirtualApplianceName") + +payload := networkvirtualappliances.NetworkVirtualApplianceInstanceIds{ + // ... +} + + +if err := client.RestartThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `NetworkVirtualAppliancesClient.UpdateTags` + +```go +ctx := context.TODO() +id := networkvirtualappliances.NewNetworkVirtualApplianceID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkVirtualApplianceName") + +payload := networkvirtualappliances.TagsObject{ + // ... +} + + +read, err := client.UpdateTags(ctx, id, payload) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkvirtualappliances/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkvirtualappliances/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkvirtualappliances/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkvirtualappliances/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkvirtualappliances/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkvirtualappliances/constants.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkvirtualappliances/constants.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkvirtualappliances/constants.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkvirtualappliances/id_inboundsecurityrule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkvirtualappliances/id_inboundsecurityrule.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkvirtualappliances/id_inboundsecurityrule.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkvirtualappliances/id_inboundsecurityrule.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkvirtualappliances/id_networkvirtualappliance.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkvirtualappliances/id_networkvirtualappliance.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkvirtualappliances/id_networkvirtualappliance.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkvirtualappliances/id_networkvirtualappliance.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkvirtualappliances/method_createorupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkvirtualappliances/method_createorupdate.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkvirtualappliances/method_createorupdate.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkvirtualappliances/method_createorupdate.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkvirtualappliances/method_delete.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkvirtualappliances/method_delete.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkvirtualappliances/method_delete.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkvirtualappliances/method_delete.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkvirtualappliances/method_get.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkvirtualappliances/method_get.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkvirtualappliances/method_get.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkvirtualappliances/method_get.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkvirtualappliances/method_inboundsecurityrulecreateorupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkvirtualappliances/method_inboundsecurityrulecreateorupdate.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkvirtualappliances/method_inboundsecurityrulecreateorupdate.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkvirtualappliances/method_inboundsecurityrulecreateorupdate.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkvirtualappliances/method_inboundsecurityruleget.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkvirtualappliances/method_inboundsecurityruleget.go new file mode 100644 index 000000000000..708005f5e02c --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkvirtualappliances/method_inboundsecurityruleget.go @@ -0,0 +1,53 @@ +package networkvirtualappliances + +import ( + "context" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type InboundSecurityRuleGetOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *InboundSecurityRule +} + +// InboundSecurityRuleGet ... +func (c NetworkVirtualAppliancesClient) InboundSecurityRuleGet(ctx context.Context, id InboundSecurityRuleId) (result InboundSecurityRuleGetOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var model InboundSecurityRule + result.Model = &model + if err = resp.Unmarshal(result.Model); err != nil { + return + } + + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkvirtualappliances/method_list.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkvirtualappliances/method_list.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkvirtualappliances/method_list.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkvirtualappliances/method_list.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkvirtualappliances/method_listbyresourcegroup.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkvirtualappliances/method_listbyresourcegroup.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkvirtualappliances/method_listbyresourcegroup.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkvirtualappliances/method_listbyresourcegroup.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkvirtualappliances/method_restart.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkvirtualappliances/method_restart.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkvirtualappliances/method_restart.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkvirtualappliances/method_restart.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkvirtualappliances/method_updatetags.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkvirtualappliances/method_updatetags.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkvirtualappliances/method_updatetags.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkvirtualappliances/method_updatetags.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkvirtualappliances/model_delegationproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkvirtualappliances/model_delegationproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkvirtualappliances/model_delegationproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkvirtualappliances/model_delegationproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkvirtualappliances/model_inboundsecurityrule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkvirtualappliances/model_inboundsecurityrule.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkvirtualappliances/model_inboundsecurityrule.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkvirtualappliances/model_inboundsecurityrule.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkvirtualappliances/model_inboundsecurityruleproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkvirtualappliances/model_inboundsecurityruleproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkvirtualappliances/model_inboundsecurityruleproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkvirtualappliances/model_inboundsecurityruleproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkvirtualappliances/model_inboundsecurityrules.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkvirtualappliances/model_inboundsecurityrules.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkvirtualappliances/model_inboundsecurityrules.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkvirtualappliances/model_inboundsecurityrules.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkvirtualappliances/model_internetingresspublicipsproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkvirtualappliances/model_internetingresspublicipsproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkvirtualappliances/model_internetingresspublicipsproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkvirtualappliances/model_internetingresspublicipsproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkvirtualappliances/model_networkvirtualappliance.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkvirtualappliances/model_networkvirtualappliance.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkvirtualappliances/model_networkvirtualappliance.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkvirtualappliances/model_networkvirtualappliance.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkvirtualappliances/model_networkvirtualapplianceinstanceids.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkvirtualappliances/model_networkvirtualapplianceinstanceids.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkvirtualappliances/model_networkvirtualapplianceinstanceids.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkvirtualappliances/model_networkvirtualapplianceinstanceids.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkvirtualappliances/model_networkvirtualappliancepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkvirtualappliances/model_networkvirtualappliancepropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkvirtualappliances/model_networkvirtualappliancepropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkvirtualappliances/model_networkvirtualappliancepropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkvirtualappliances/model_networkvirtualappliancepropertiesformatnetworkprofile.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkvirtualappliances/model_networkvirtualappliancepropertiesformatnetworkprofile.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkvirtualappliances/model_networkvirtualappliancepropertiesformatnetworkprofile.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkvirtualappliances/model_networkvirtualappliancepropertiesformatnetworkprofile.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkvirtualappliances/model_partnermanagedresourceproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkvirtualappliances/model_partnermanagedresourceproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkvirtualappliances/model_partnermanagedresourceproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkvirtualappliances/model_partnermanagedresourceproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkvirtualappliances/model_subresource.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkvirtualappliances/model_subresource.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkvirtualappliances/model_subresource.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkvirtualappliances/model_subresource.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkvirtualappliances/model_tagsobject.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkvirtualappliances/model_tagsobject.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkvirtualappliances/model_tagsobject.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkvirtualappliances/model_tagsobject.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkvirtualappliances/model_virtualapplianceadditionalnicproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkvirtualappliances/model_virtualapplianceadditionalnicproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkvirtualappliances/model_virtualapplianceadditionalnicproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkvirtualappliances/model_virtualapplianceadditionalnicproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkvirtualappliances/model_virtualapplianceipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkvirtualappliances/model_virtualapplianceipconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkvirtualappliances/model_virtualapplianceipconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkvirtualappliances/model_virtualapplianceipconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkvirtualappliances/model_virtualapplianceipconfigurationproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkvirtualappliances/model_virtualapplianceipconfigurationproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkvirtualappliances/model_virtualapplianceipconfigurationproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkvirtualappliances/model_virtualapplianceipconfigurationproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkvirtualappliances/model_virtualappliancenetworkinterfaceconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkvirtualappliances/model_virtualappliancenetworkinterfaceconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkvirtualappliances/model_virtualappliancenetworkinterfaceconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkvirtualappliances/model_virtualappliancenetworkinterfaceconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkvirtualappliances/model_virtualappliancenetworkinterfaceconfigurationproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkvirtualappliances/model_virtualappliancenetworkinterfaceconfigurationproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkvirtualappliances/model_virtualappliancenetworkinterfaceconfigurationproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkvirtualappliances/model_virtualappliancenetworkinterfaceconfigurationproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkvirtualappliances/model_virtualappliancenicproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkvirtualappliances/model_virtualappliancenicproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkvirtualappliances/model_virtualappliancenicproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkvirtualappliances/model_virtualappliancenicproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkvirtualappliances/model_virtualapplianceskuproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkvirtualappliances/model_virtualapplianceskuproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkvirtualappliances/model_virtualapplianceskuproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkvirtualappliances/model_virtualapplianceskuproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkvirtualappliances/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkvirtualappliances/predicates.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkvirtualappliances/predicates.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkvirtualappliances/predicates.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkvirtualappliances/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkvirtualappliances/version.go new file mode 100644 index 000000000000..9a869ebd4d56 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkvirtualappliances/version.go @@ -0,0 +1,10 @@ +package networkvirtualappliances + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2024-03-01" + +func userAgent() string { + return "hashicorp/go-azure-sdk/networkvirtualappliances/2024-03-01" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/README.md new file mode 100644 index 000000000000..7c73009117f3 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/README.md @@ -0,0 +1,331 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers` Documentation + +The `networkwatchers` SDK allows for interaction with Azure Resource Manager `network` (API Version `2024-03-01`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" +import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers" +``` + + +### Client Initialization + +```go +client := networkwatchers.NewNetworkWatchersClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `NetworkWatchersClient.CheckConnectivity` + +```go +ctx := context.TODO() +id := networkwatchers.NewNetworkWatcherID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkWatcherName") + +payload := networkwatchers.ConnectivityParameters{ + // ... +} + + +if err := client.CheckConnectivityThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `NetworkWatchersClient.CreateOrUpdate` + +```go +ctx := context.TODO() +id := networkwatchers.NewNetworkWatcherID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkWatcherName") + +payload := networkwatchers.NetworkWatcher{ + // ... +} + + +read, err := client.CreateOrUpdate(ctx, id, payload) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `NetworkWatchersClient.Delete` + +```go +ctx := context.TODO() +id := networkwatchers.NewNetworkWatcherID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkWatcherName") + +if err := client.DeleteThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `NetworkWatchersClient.Get` + +```go +ctx := context.TODO() +id := networkwatchers.NewNetworkWatcherID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkWatcherName") + +read, err := client.Get(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `NetworkWatchersClient.GetAzureReachabilityReport` + +```go +ctx := context.TODO() +id := networkwatchers.NewNetworkWatcherID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkWatcherName") + +payload := networkwatchers.AzureReachabilityReportParameters{ + // ... +} + + +if err := client.GetAzureReachabilityReportThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `NetworkWatchersClient.GetFlowLogStatus` + +```go +ctx := context.TODO() +id := networkwatchers.NewNetworkWatcherID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkWatcherName") + +payload := networkwatchers.FlowLogStatusParameters{ + // ... +} + + +if err := client.GetFlowLogStatusThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `NetworkWatchersClient.GetNetworkConfigurationDiagnostic` + +```go +ctx := context.TODO() +id := networkwatchers.NewNetworkWatcherID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkWatcherName") + +payload := networkwatchers.NetworkConfigurationDiagnosticParameters{ + // ... +} + + +if err := client.GetNetworkConfigurationDiagnosticThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `NetworkWatchersClient.GetNextHop` + +```go +ctx := context.TODO() +id := networkwatchers.NewNetworkWatcherID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkWatcherName") + +payload := networkwatchers.NextHopParameters{ + // ... +} + + +if err := client.GetNextHopThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `NetworkWatchersClient.GetTopology` + +```go +ctx := context.TODO() +id := networkwatchers.NewNetworkWatcherID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkWatcherName") + +payload := networkwatchers.TopologyParameters{ + // ... +} + + +read, err := client.GetTopology(ctx, id, payload) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `NetworkWatchersClient.GetTroubleshooting` + +```go +ctx := context.TODO() +id := networkwatchers.NewNetworkWatcherID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkWatcherName") + +payload := networkwatchers.TroubleshootingParameters{ + // ... +} + + +if err := client.GetTroubleshootingThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `NetworkWatchersClient.GetTroubleshootingResult` + +```go +ctx := context.TODO() +id := networkwatchers.NewNetworkWatcherID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkWatcherName") + +payload := networkwatchers.QueryTroubleshootingParameters{ + // ... +} + + +if err := client.GetTroubleshootingResultThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `NetworkWatchersClient.GetVMSecurityRules` + +```go +ctx := context.TODO() +id := networkwatchers.NewNetworkWatcherID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkWatcherName") + +payload := networkwatchers.SecurityGroupViewParameters{ + // ... +} + + +if err := client.GetVMSecurityRulesThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `NetworkWatchersClient.List` + +```go +ctx := context.TODO() +id := commonids.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group") + +read, err := client.List(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `NetworkWatchersClient.ListAll` + +```go +ctx := context.TODO() +id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012") + +read, err := client.ListAll(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `NetworkWatchersClient.ListAvailableProviders` + +```go +ctx := context.TODO() +id := networkwatchers.NewNetworkWatcherID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkWatcherName") + +payload := networkwatchers.AvailableProvidersListParameters{ + // ... +} + + +if err := client.ListAvailableProvidersThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `NetworkWatchersClient.SetFlowLogConfiguration` + +```go +ctx := context.TODO() +id := networkwatchers.NewNetworkWatcherID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkWatcherName") + +payload := networkwatchers.FlowLogInformation{ + // ... +} + + +if err := client.SetFlowLogConfigurationThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `NetworkWatchersClient.UpdateTags` + +```go +ctx := context.TODO() +id := networkwatchers.NewNetworkWatcherID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkWatcherName") + +payload := networkwatchers.TagsObject{ + // ... +} + + +read, err := client.UpdateTags(ctx, id, payload) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `NetworkWatchersClient.VerifyIPFlow` + +```go +ctx := context.TODO() +id := networkwatchers.NewNetworkWatcherID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkWatcherName") + +payload := networkwatchers.VerificationIPFlowParameters{ + // ... +} + + +if err := client.VerifyIPFlowThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/constants.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/constants.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/constants.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/id_networkwatcher.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/id_networkwatcher.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/id_networkwatcher.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/id_networkwatcher.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/method_checkconnectivity.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/method_checkconnectivity.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/method_checkconnectivity.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/method_checkconnectivity.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/method_createorupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/method_createorupdate.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/method_createorupdate.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/method_createorupdate.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/method_delete.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/method_delete.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/method_delete.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/method_delete.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/method_get.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/method_get.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/method_get.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/method_get.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/method_getazurereachabilityreport.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/method_getazurereachabilityreport.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/method_getazurereachabilityreport.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/method_getazurereachabilityreport.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/method_getflowlogstatus.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/method_getflowlogstatus.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/method_getflowlogstatus.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/method_getflowlogstatus.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/method_getnetworkconfigurationdiagnostic.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/method_getnetworkconfigurationdiagnostic.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/method_getnetworkconfigurationdiagnostic.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/method_getnetworkconfigurationdiagnostic.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/method_getnexthop.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/method_getnexthop.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/method_getnexthop.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/method_getnexthop.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/method_gettopology.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/method_gettopology.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/method_gettopology.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/method_gettopology.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/method_gettroubleshooting.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/method_gettroubleshooting.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/method_gettroubleshooting.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/method_gettroubleshooting.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/method_gettroubleshootingresult.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/method_gettroubleshootingresult.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/method_gettroubleshootingresult.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/method_gettroubleshootingresult.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/method_getvmsecurityrules.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/method_getvmsecurityrules.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/method_getvmsecurityrules.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/method_getvmsecurityrules.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/method_list.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/method_list.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/method_list.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/method_list.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/method_listall.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/method_listall.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/method_listall.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/method_listall.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/method_listavailableproviders.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/method_listavailableproviders.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/method_listavailableproviders.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/method_listavailableproviders.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/method_setflowlogconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/method_setflowlogconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/method_setflowlogconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/method_setflowlogconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/method_updatetags.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/method_updatetags.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/method_updatetags.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/method_updatetags.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/method_verifyipflow.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/method_verifyipflow.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/method_verifyipflow.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/method_verifyipflow.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_applicationsecuritygroup.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_applicationsecuritygroup.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_applicationsecuritygroup.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_applicationsecuritygroup.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_applicationsecuritygrouppropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_applicationsecuritygrouppropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_applicationsecuritygrouppropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_applicationsecuritygrouppropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_availableproviderslist.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_availableproviderslist.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_availableproviderslist.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_availableproviderslist.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_availableproviderslistcity.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_availableproviderslistcity.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_availableproviderslistcity.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_availableproviderslistcity.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_availableproviderslistcountry.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_availableproviderslistcountry.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_availableproviderslistcountry.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_availableproviderslistcountry.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_availableproviderslistparameters.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_availableproviderslistparameters.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_availableproviderslistparameters.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_availableproviderslistparameters.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_availableprovidersliststate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_availableprovidersliststate.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_availableprovidersliststate.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_availableprovidersliststate.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_azurereachabilityreport.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_azurereachabilityreport.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_azurereachabilityreport.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_azurereachabilityreport.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_azurereachabilityreportitem.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_azurereachabilityreportitem.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_azurereachabilityreportitem.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_azurereachabilityreportitem.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_azurereachabilityreportlatencyinfo.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_azurereachabilityreportlatencyinfo.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_azurereachabilityreportlatencyinfo.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_azurereachabilityreportlatencyinfo.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_azurereachabilityreportlocation.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_azurereachabilityreportlocation.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_azurereachabilityreportlocation.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_azurereachabilityreportlocation.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_azurereachabilityreportparameters.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_azurereachabilityreportparameters.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_azurereachabilityreportparameters.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_azurereachabilityreportparameters.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_connectivitydestination.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_connectivitydestination.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_connectivitydestination.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_connectivitydestination.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_connectivityhop.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_connectivityhop.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_connectivityhop.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_connectivityhop.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_connectivityinformation.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_connectivityinformation.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_connectivityinformation.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_connectivityinformation.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_connectivityissue.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_connectivityissue.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_connectivityissue.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_connectivityissue.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_connectivityparameters.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_connectivityparameters.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_connectivityparameters.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_connectivityparameters.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_connectivitysource.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_connectivitysource.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_connectivitysource.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_connectivitysource.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_effectivenetworksecurityrule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_effectivenetworksecurityrule.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_effectivenetworksecurityrule.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_effectivenetworksecurityrule.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_evaluatednetworksecuritygroup.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_evaluatednetworksecuritygroup.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_evaluatednetworksecuritygroup.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_evaluatednetworksecuritygroup.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_flowlogformatparameters.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_flowlogformatparameters.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_flowlogformatparameters.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_flowlogformatparameters.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_flowloginformation.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_flowloginformation.go new file mode 100644 index 000000000000..af84bbc42024 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_flowloginformation.go @@ -0,0 +1,15 @@ +package networkwatchers + +import ( + "github.com/hashicorp/go-azure-helpers/resourcemanager/identity" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type FlowLogInformation struct { + FlowAnalyticsConfiguration *TrafficAnalyticsProperties `json:"flowAnalyticsConfiguration,omitempty"` + Identity *identity.SystemAndUserAssignedMap `json:"identity,omitempty"` + Properties FlowLogProperties `json:"properties"` + TargetResourceId string `json:"targetResourceId"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_flowlogproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_flowlogproperties.go new file mode 100644 index 000000000000..624b13072bab --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_flowlogproperties.go @@ -0,0 +1,12 @@ +package networkwatchers + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type FlowLogProperties struct { + Enabled bool `json:"enabled"` + EnabledFilteringCriteria *string `json:"enabledFilteringCriteria,omitempty"` + Format *FlowLogFormatParameters `json:"format,omitempty"` + RetentionPolicy *RetentionPolicyParameters `json:"retentionPolicy,omitempty"` + StorageId string `json:"storageId"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_flowlogstatusparameters.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_flowlogstatusparameters.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_flowlogstatusparameters.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_flowlogstatusparameters.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_hoplink.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_hoplink.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_hoplink.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_hoplink.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_hoplinkproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_hoplinkproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_hoplinkproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_hoplinkproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_httpconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_httpconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_httpconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_httpconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_httpheader.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_httpheader.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_httpheader.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_httpheader.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_matchedrule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_matchedrule.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_matchedrule.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_matchedrule.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_networkconfigurationdiagnosticparameters.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_networkconfigurationdiagnosticparameters.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_networkconfigurationdiagnosticparameters.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_networkconfigurationdiagnosticparameters.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_networkconfigurationdiagnosticprofile.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_networkconfigurationdiagnosticprofile.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_networkconfigurationdiagnosticprofile.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_networkconfigurationdiagnosticprofile.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_networkconfigurationdiagnosticresponse.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_networkconfigurationdiagnosticresponse.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_networkconfigurationdiagnosticresponse.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_networkconfigurationdiagnosticresponse.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_networkconfigurationdiagnosticresult.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_networkconfigurationdiagnosticresult.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_networkconfigurationdiagnosticresult.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_networkconfigurationdiagnosticresult.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_networkinterfaceassociation.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_networkinterfaceassociation.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_networkinterfaceassociation.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_networkinterfaceassociation.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_networksecuritygroupresult.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_networksecuritygroupresult.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_networksecuritygroupresult.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_networksecuritygroupresult.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_networksecurityrulesevaluationresult.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_networksecurityrulesevaluationresult.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_networksecurityrulesevaluationresult.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_networksecurityrulesevaluationresult.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_networkwatcher.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_networkwatcher.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_networkwatcher.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_networkwatcher.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_networkwatcherlistresult.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_networkwatcherlistresult.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_networkwatcherlistresult.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_networkwatcherlistresult.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_networkwatcherpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_networkwatcherpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_networkwatcherpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_networkwatcherpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_nexthopparameters.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_nexthopparameters.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_nexthopparameters.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_nexthopparameters.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_nexthopresult.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_nexthopresult.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_nexthopresult.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_nexthopresult.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_protocolconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_protocolconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_protocolconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_protocolconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_querytroubleshootingparameters.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_querytroubleshootingparameters.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_querytroubleshootingparameters.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_querytroubleshootingparameters.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_retentionpolicyparameters.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_retentionpolicyparameters.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_retentionpolicyparameters.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_retentionpolicyparameters.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_securitygroupnetworkinterface.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_securitygroupnetworkinterface.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_securitygroupnetworkinterface.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_securitygroupnetworkinterface.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_securitygroupviewparameters.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_securitygroupviewparameters.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_securitygroupviewparameters.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_securitygroupviewparameters.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_securitygroupviewresult.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_securitygroupviewresult.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_securitygroupviewresult.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_securitygroupviewresult.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_securityrule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_securityrule.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_securityrule.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_securityrule.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_securityruleassociations.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_securityruleassociations.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_securityruleassociations.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_securityruleassociations.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_securityrulepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_securityrulepropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_securityrulepropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_securityrulepropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_subnetassociation.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_subnetassociation.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_subnetassociation.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_subnetassociation.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_subresource.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_subresource.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_subresource.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_subresource.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_tagsobject.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_tagsobject.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_tagsobject.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_tagsobject.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_topology.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_topology.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_topology.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_topology.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_topologyassociation.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_topologyassociation.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_topologyassociation.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_topologyassociation.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_topologyparameters.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_topologyparameters.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_topologyparameters.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_topologyparameters.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_topologyresource.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_topologyresource.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_topologyresource.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_topologyresource.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_trafficanalyticsconfigurationproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_trafficanalyticsconfigurationproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_trafficanalyticsconfigurationproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_trafficanalyticsconfigurationproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_trafficanalyticsproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_trafficanalyticsproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_trafficanalyticsproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_trafficanalyticsproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_troubleshootingdetails.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_troubleshootingdetails.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_troubleshootingdetails.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_troubleshootingdetails.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_troubleshootingparameters.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_troubleshootingparameters.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_troubleshootingparameters.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_troubleshootingparameters.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_troubleshootingproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_troubleshootingproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_troubleshootingproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_troubleshootingproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_troubleshootingrecommendedactions.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_troubleshootingrecommendedactions.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_troubleshootingrecommendedactions.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_troubleshootingrecommendedactions.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_troubleshootingresult.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_troubleshootingresult.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_troubleshootingresult.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_troubleshootingresult.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_verificationipflowparameters.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_verificationipflowparameters.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_verificationipflowparameters.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_verificationipflowparameters.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_verificationipflowresult.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_verificationipflowresult.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers/model_verificationipflowresult.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/model_verificationipflowresult.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/version.go new file mode 100644 index 000000000000..ae05df76a21f --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers/version.go @@ -0,0 +1,10 @@ +package networkwatchers + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2024-03-01" + +func userAgent() string { + return "hashicorp/go-azure-sdk/networkwatchers/2024-03-01" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/p2svpngateways/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/p2svpngateways/README.md new file mode 100644 index 000000000000..37f5c2c73e3d --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/p2svpngateways/README.md @@ -0,0 +1,113 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/p2svpngateways` Documentation + +The `p2svpngateways` SDK allows for interaction with Azure Resource Manager `network` (API Version `2024-03-01`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" +import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/p2svpngateways" +``` + + +### Client Initialization + +```go +client := p2svpngateways.NewP2sVpnGatewaysClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `P2sVpnGatewaysClient.DisconnectP2sVpnConnections` + +```go +ctx := context.TODO() +id := commonids.NewVirtualWANP2SVPNGatewayID("12345678-1234-9876-4563-123456789012", "example-resource-group", "p2sVpnGatewayName") + +payload := p2svpngateways.P2SVpnConnectionRequest{ + // ... +} + + +if err := client.DisconnectP2sVpnConnectionsThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `P2sVpnGatewaysClient.GenerateVpnProfile` + +```go +ctx := context.TODO() +id := commonids.NewVirtualWANP2SVPNGatewayID("12345678-1234-9876-4563-123456789012", "example-resource-group", "p2sVpnGatewayName") + +payload := p2svpngateways.P2SVpnProfileParameters{ + // ... +} + + +if err := client.GenerateVpnProfileThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `P2sVpnGatewaysClient.GetP2sVpnConnectionHealth` + +```go +ctx := context.TODO() +id := commonids.NewVirtualWANP2SVPNGatewayID("12345678-1234-9876-4563-123456789012", "example-resource-group", "p2sVpnGatewayName") + +if err := client.GetP2sVpnConnectionHealthThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `P2sVpnGatewaysClient.GetP2sVpnConnectionHealthDetailed` + +```go +ctx := context.TODO() +id := commonids.NewVirtualWANP2SVPNGatewayID("12345678-1234-9876-4563-123456789012", "example-resource-group", "p2sVpnGatewayName") + +payload := p2svpngateways.P2SVpnConnectionHealthRequest{ + // ... +} + + +if err := client.GetP2sVpnConnectionHealthDetailedThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `P2sVpnGatewaysClient.Reset` + +```go +ctx := context.TODO() +id := commonids.NewVirtualWANP2SVPNGatewayID("12345678-1234-9876-4563-123456789012", "example-resource-group", "p2sVpnGatewayName") + +if err := client.ResetThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `P2sVpnGatewaysClient.UpdateTags` + +```go +ctx := context.TODO() +id := commonids.NewVirtualWANP2SVPNGatewayID("12345678-1234-9876-4563-123456789012", "example-resource-group", "p2sVpnGatewayName") + +payload := p2svpngateways.TagsObject{ + // ... +} + + +if err := client.UpdateTagsThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/p2svpngateways/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/p2svpngateways/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/p2svpngateways/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/p2svpngateways/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/p2svpngateways/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/p2svpngateways/constants.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/p2svpngateways/constants.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/p2svpngateways/constants.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/p2svpngateways/method_disconnectp2svpnconnections.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/p2svpngateways/method_disconnectp2svpnconnections.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/p2svpngateways/method_disconnectp2svpnconnections.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/p2svpngateways/method_disconnectp2svpnconnections.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/p2svpngateways/method_generatevpnprofile.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/p2svpngateways/method_generatevpnprofile.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/p2svpngateways/method_generatevpnprofile.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/p2svpngateways/method_generatevpnprofile.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/p2svpngateways/method_getp2svpnconnectionhealth.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/p2svpngateways/method_getp2svpnconnectionhealth.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/p2svpngateways/method_getp2svpnconnectionhealth.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/p2svpngateways/method_getp2svpnconnectionhealth.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/p2svpngateways/method_getp2svpnconnectionhealthdetailed.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/p2svpngateways/method_getp2svpnconnectionhealthdetailed.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/p2svpngateways/method_getp2svpnconnectionhealthdetailed.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/p2svpngateways/method_getp2svpnconnectionhealthdetailed.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/p2svpngateways/method_reset.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/p2svpngateways/method_reset.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/p2svpngateways/method_reset.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/p2svpngateways/method_reset.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/p2svpngateways/method_updatetags.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/p2svpngateways/method_updatetags.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/p2svpngateways/method_updatetags.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/p2svpngateways/method_updatetags.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/p2svpngateways/model_addressspace.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/p2svpngateways/model_addressspace.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/p2svpngateways/model_addressspace.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/p2svpngateways/model_addressspace.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/p2svpngateways/model_p2sconnectionconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/p2svpngateways/model_p2sconnectionconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/p2svpngateways/model_p2sconnectionconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/p2svpngateways/model_p2sconnectionconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/p2svpngateways/model_p2sconnectionconfigurationproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/p2svpngateways/model_p2sconnectionconfigurationproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/p2svpngateways/model_p2sconnectionconfigurationproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/p2svpngateways/model_p2sconnectionconfigurationproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/p2svpngateways/model_p2svpnconnectionhealth.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/p2svpngateways/model_p2svpnconnectionhealth.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/p2svpngateways/model_p2svpnconnectionhealth.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/p2svpngateways/model_p2svpnconnectionhealth.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/p2svpngateways/model_p2svpnconnectionhealthrequest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/p2svpngateways/model_p2svpnconnectionhealthrequest.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/p2svpngateways/model_p2svpnconnectionhealthrequest.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/p2svpngateways/model_p2svpnconnectionhealthrequest.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/p2svpngateways/model_p2svpnconnectionrequest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/p2svpngateways/model_p2svpnconnectionrequest.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/p2svpngateways/model_p2svpnconnectionrequest.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/p2svpngateways/model_p2svpnconnectionrequest.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/p2svpngateways/model_p2svpngateway.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/p2svpngateways/model_p2svpngateway.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/p2svpngateways/model_p2svpngateway.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/p2svpngateways/model_p2svpngateway.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/p2svpngateways/model_p2svpngatewayproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/p2svpngateways/model_p2svpngatewayproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/p2svpngateways/model_p2svpngatewayproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/p2svpngateways/model_p2svpngatewayproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/p2svpngateways/model_p2svpnprofileparameters.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/p2svpngateways/model_p2svpnprofileparameters.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/p2svpngateways/model_p2svpnprofileparameters.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/p2svpngateways/model_p2svpnprofileparameters.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/p2svpngateways/model_propagatedroutetable.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/p2svpngateways/model_propagatedroutetable.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/p2svpngateways/model_propagatedroutetable.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/p2svpngateways/model_propagatedroutetable.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/p2svpngateways/model_routingconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/p2svpngateways/model_routingconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/p2svpngateways/model_routingconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/p2svpngateways/model_routingconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/p2svpngateways/model_staticroute.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/p2svpngateways/model_staticroute.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/p2svpngateways/model_staticroute.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/p2svpngateways/model_staticroute.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/p2svpngateways/model_staticroutesconfig.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/p2svpngateways/model_staticroutesconfig.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/p2svpngateways/model_staticroutesconfig.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/p2svpngateways/model_staticroutesconfig.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/p2svpngateways/model_subresource.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/p2svpngateways/model_subresource.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/p2svpngateways/model_subresource.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/p2svpngateways/model_subresource.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/p2svpngateways/model_tagsobject.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/p2svpngateways/model_tagsobject.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/p2svpngateways/model_tagsobject.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/p2svpngateways/model_tagsobject.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/p2svpngateways/model_vnetroute.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/p2svpngateways/model_vnetroute.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/p2svpngateways/model_vnetroute.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/p2svpngateways/model_vnetroute.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/p2svpngateways/model_vpnclientconnectionhealth.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/p2svpngateways/model_vpnclientconnectionhealth.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/p2svpngateways/model_vpnclientconnectionhealth.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/p2svpngateways/model_vpnclientconnectionhealth.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/p2svpngateways/model_vpnprofileresponse.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/p2svpngateways/model_vpnprofileresponse.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/p2svpngateways/model_vpnprofileresponse.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/p2svpngateways/model_vpnprofileresponse.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/p2svpngateways/model_vpnserverconfigurationpolicygroup.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/p2svpngateways/model_vpnserverconfigurationpolicygroup.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/p2svpngateways/model_vpnserverconfigurationpolicygroup.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/p2svpngateways/model_vpnserverconfigurationpolicygroup.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/p2svpngateways/model_vpnserverconfigurationpolicygroupmember.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/p2svpngateways/model_vpnserverconfigurationpolicygroupmember.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/p2svpngateways/model_vpnserverconfigurationpolicygroupmember.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/p2svpngateways/model_vpnserverconfigurationpolicygroupmember.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/p2svpngateways/model_vpnserverconfigurationpolicygroupproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/p2svpngateways/model_vpnserverconfigurationpolicygroupproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/p2svpngateways/model_vpnserverconfigurationpolicygroupproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/p2svpngateways/model_vpnserverconfigurationpolicygroupproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/p2svpngateways/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/p2svpngateways/version.go new file mode 100644 index 000000000000..35293bc56ad1 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/p2svpngateways/version.go @@ -0,0 +1,10 @@ +package p2svpngateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2024-03-01" + +func userAgent() string { + return "hashicorp/go-azure-sdk/p2svpngateways/2024-03-01" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/packetcaptures/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/packetcaptures/README.md new file mode 100644 index 000000000000..08b0fda27aa2 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/packetcaptures/README.md @@ -0,0 +1,105 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/packetcaptures` Documentation + +The `packetcaptures` SDK allows for interaction with Azure Resource Manager `network` (API Version `2024-03-01`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/packetcaptures" +``` + + +### Client Initialization + +```go +client := packetcaptures.NewPacketCapturesClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `PacketCapturesClient.Create` + +```go +ctx := context.TODO() +id := packetcaptures.NewPacketCaptureID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkWatcherName", "packetCaptureName") + +payload := packetcaptures.PacketCapture{ + // ... +} + + +if err := client.CreateThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `PacketCapturesClient.Delete` + +```go +ctx := context.TODO() +id := packetcaptures.NewPacketCaptureID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkWatcherName", "packetCaptureName") + +if err := client.DeleteThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `PacketCapturesClient.Get` + +```go +ctx := context.TODO() +id := packetcaptures.NewPacketCaptureID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkWatcherName", "packetCaptureName") + +read, err := client.Get(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `PacketCapturesClient.GetStatus` + +```go +ctx := context.TODO() +id := packetcaptures.NewPacketCaptureID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkWatcherName", "packetCaptureName") + +if err := client.GetStatusThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `PacketCapturesClient.List` + +```go +ctx := context.TODO() +id := packetcaptures.NewNetworkWatcherID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkWatcherName") + +read, err := client.List(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `PacketCapturesClient.Stop` + +```go +ctx := context.TODO() +id := packetcaptures.NewPacketCaptureID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkWatcherName", "packetCaptureName") + +if err := client.StopThenPoll(ctx, id); err != nil { + // handle the error +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/packetcaptures/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/packetcaptures/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/packetcaptures/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/packetcaptures/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/packetcaptures/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/packetcaptures/constants.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/packetcaptures/constants.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/packetcaptures/constants.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/packetcaptures/id_networkwatcher.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/packetcaptures/id_networkwatcher.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/packetcaptures/id_networkwatcher.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/packetcaptures/id_networkwatcher.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/packetcaptures/id_packetcapture.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/packetcaptures/id_packetcapture.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/packetcaptures/id_packetcapture.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/packetcaptures/id_packetcapture.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/packetcaptures/method_create.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/packetcaptures/method_create.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/packetcaptures/method_create.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/packetcaptures/method_create.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/packetcaptures/method_delete.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/packetcaptures/method_delete.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/packetcaptures/method_delete.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/packetcaptures/method_delete.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/packetcaptures/method_get.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/packetcaptures/method_get.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/packetcaptures/method_get.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/packetcaptures/method_get.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/packetcaptures/method_getstatus.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/packetcaptures/method_getstatus.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/packetcaptures/method_getstatus.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/packetcaptures/method_getstatus.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/packetcaptures/method_list.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/packetcaptures/method_list.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/packetcaptures/method_list.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/packetcaptures/method_list.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/packetcaptures/method_stop.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/packetcaptures/method_stop.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/packetcaptures/method_stop.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/packetcaptures/method_stop.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/packetcaptures/model_packetcapture.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/packetcaptures/model_packetcapture.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/packetcaptures/model_packetcapture.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/packetcaptures/model_packetcapture.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/packetcaptures/model_packetcapturefilter.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/packetcaptures/model_packetcapturefilter.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/packetcaptures/model_packetcapturefilter.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/packetcaptures/model_packetcapturefilter.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/packetcaptures/model_packetcapturelistresult.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/packetcaptures/model_packetcapturelistresult.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/packetcaptures/model_packetcapturelistresult.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/packetcaptures/model_packetcapturelistresult.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/packetcaptures/model_packetcapturemachinescope.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/packetcaptures/model_packetcapturemachinescope.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/packetcaptures/model_packetcapturemachinescope.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/packetcaptures/model_packetcapturemachinescope.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/packetcaptures/model_packetcaptureparameters.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/packetcaptures/model_packetcaptureparameters.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/packetcaptures/model_packetcaptureparameters.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/packetcaptures/model_packetcaptureparameters.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/packetcaptures/model_packetcapturequerystatusresult.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/packetcaptures/model_packetcapturequerystatusresult.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/packetcaptures/model_packetcapturequerystatusresult.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/packetcaptures/model_packetcapturequerystatusresult.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/packetcaptures/model_packetcaptureresult.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/packetcaptures/model_packetcaptureresult.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/packetcaptures/model_packetcaptureresult.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/packetcaptures/model_packetcaptureresult.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/packetcaptures/model_packetcaptureresultproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/packetcaptures/model_packetcaptureresultproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/packetcaptures/model_packetcaptureresultproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/packetcaptures/model_packetcaptureresultproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/packetcaptures/model_packetcapturesettings.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/packetcaptures/model_packetcapturesettings.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/packetcaptures/model_packetcapturesettings.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/packetcaptures/model_packetcapturesettings.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/packetcaptures/model_packetcapturestoragelocation.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/packetcaptures/model_packetcapturestoragelocation.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/packetcaptures/model_packetcapturestoragelocation.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/packetcaptures/model_packetcapturestoragelocation.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/packetcaptures/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/packetcaptures/version.go new file mode 100644 index 000000000000..b582fc980901 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/packetcaptures/version.go @@ -0,0 +1,10 @@ +package packetcaptures + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2024-03-01" + +func userAgent() string { + return "hashicorp/go-azure-sdk/packetcaptures/2024-03-01" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/peerexpressroutecircuitconnections/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/peerexpressroutecircuitconnections/README.md new file mode 100644 index 000000000000..1c5b2ddda8ab --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/peerexpressroutecircuitconnections/README.md @@ -0,0 +1,54 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/peerexpressroutecircuitconnections` Documentation + +The `peerexpressroutecircuitconnections` SDK allows for interaction with Azure Resource Manager `network` (API Version `2024-03-01`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" +import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/peerexpressroutecircuitconnections" +``` + + +### Client Initialization + +```go +client := peerexpressroutecircuitconnections.NewPeerExpressRouteCircuitConnectionsClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `PeerExpressRouteCircuitConnectionsClient.Get` + +```go +ctx := context.TODO() +id := peerexpressroutecircuitconnections.NewPeerConnectionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "expressRouteCircuitName", "peeringName", "peerConnectionName") + +read, err := client.Get(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `PeerExpressRouteCircuitConnectionsClient.List` + +```go +ctx := context.TODO() +id := commonids.NewExpressRouteCircuitPeeringID("12345678-1234-9876-4563-123456789012", "example-resource-group", "expressRouteCircuitName", "peeringName") + +// alternatively `client.List(ctx, id)` can be used to do batched pagination +items, err := client.ListComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/peerexpressroutecircuitconnections/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/peerexpressroutecircuitconnections/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/peerexpressroutecircuitconnections/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/peerexpressroutecircuitconnections/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/peerexpressroutecircuitconnections/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/peerexpressroutecircuitconnections/constants.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/peerexpressroutecircuitconnections/constants.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/peerexpressroutecircuitconnections/constants.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/peerexpressroutecircuitconnections/id_peerconnection.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/peerexpressroutecircuitconnections/id_peerconnection.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/peerexpressroutecircuitconnections/id_peerconnection.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/peerexpressroutecircuitconnections/id_peerconnection.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/peerexpressroutecircuitconnections/method_get.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/peerexpressroutecircuitconnections/method_get.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/peerexpressroutecircuitconnections/method_get.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/peerexpressroutecircuitconnections/method_get.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/peerexpressroutecircuitconnections/method_list.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/peerexpressroutecircuitconnections/method_list.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/peerexpressroutecircuitconnections/method_list.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/peerexpressroutecircuitconnections/method_list.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/peerexpressroutecircuitconnections/model_peerexpressroutecircuitconnection.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/peerexpressroutecircuitconnections/model_peerexpressroutecircuitconnection.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/peerexpressroutecircuitconnections/model_peerexpressroutecircuitconnection.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/peerexpressroutecircuitconnections/model_peerexpressroutecircuitconnection.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/peerexpressroutecircuitconnections/model_peerexpressroutecircuitconnectionpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/peerexpressroutecircuitconnections/model_peerexpressroutecircuitconnectionpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/peerexpressroutecircuitconnections/model_peerexpressroutecircuitconnectionpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/peerexpressroutecircuitconnections/model_peerexpressroutecircuitconnectionpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/peerexpressroutecircuitconnections/model_subresource.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/peerexpressroutecircuitconnections/model_subresource.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/peerexpressroutecircuitconnections/model_subresource.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/peerexpressroutecircuitconnections/model_subresource.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/peerexpressroutecircuitconnections/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/peerexpressroutecircuitconnections/predicates.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/peerexpressroutecircuitconnections/predicates.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/peerexpressroutecircuitconnections/predicates.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/peerexpressroutecircuitconnections/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/peerexpressroutecircuitconnections/version.go new file mode 100644 index 000000000000..aad65b9e49c2 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/peerexpressroutecircuitconnections/version.go @@ -0,0 +1,10 @@ +package peerexpressroutecircuitconnections + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2024-03-01" + +func userAgent() string { + return "hashicorp/go-azure-sdk/peerexpressroutecircuitconnections/2024-03-01" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatednszonegroups/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatednszonegroups/README.md new file mode 100644 index 000000000000..071aa659c7b0 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatednszonegroups/README.md @@ -0,0 +1,82 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatednszonegroups` Documentation + +The `privatednszonegroups` SDK allows for interaction with Azure Resource Manager `network` (API Version `2024-03-01`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatednszonegroups" +``` + + +### Client Initialization + +```go +client := privatednszonegroups.NewPrivateDnsZoneGroupsClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `PrivateDnsZoneGroupsClient.CreateOrUpdate` + +```go +ctx := context.TODO() +id := privatednszonegroups.NewPrivateDnsZoneGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group", "privateEndpointName", "privateDnsZoneGroupName") + +payload := privatednszonegroups.PrivateDnsZoneGroup{ + // ... +} + + +if err := client.CreateOrUpdateThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `PrivateDnsZoneGroupsClient.Delete` + +```go +ctx := context.TODO() +id := privatednszonegroups.NewPrivateDnsZoneGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group", "privateEndpointName", "privateDnsZoneGroupName") + +if err := client.DeleteThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `PrivateDnsZoneGroupsClient.Get` + +```go +ctx := context.TODO() +id := privatednszonegroups.NewPrivateDnsZoneGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group", "privateEndpointName", "privateDnsZoneGroupName") + +read, err := client.Get(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `PrivateDnsZoneGroupsClient.List` + +```go +ctx := context.TODO() +id := privatednszonegroups.NewPrivateEndpointID("12345678-1234-9876-4563-123456789012", "example-resource-group", "privateEndpointName") + +// alternatively `client.List(ctx, id)` can be used to do batched pagination +items, err := client.ListComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privatednszonegroups/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatednszonegroups/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privatednszonegroups/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatednszonegroups/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privatednszonegroups/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatednszonegroups/constants.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privatednszonegroups/constants.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatednszonegroups/constants.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privatednszonegroups/id_privatednszonegroup.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatednszonegroups/id_privatednszonegroup.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privatednszonegroups/id_privatednszonegroup.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatednszonegroups/id_privatednszonegroup.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privatednszonegroups/id_privateendpoint.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatednszonegroups/id_privateendpoint.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privatednszonegroups/id_privateendpoint.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatednszonegroups/id_privateendpoint.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privatednszonegroups/method_createorupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatednszonegroups/method_createorupdate.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privatednszonegroups/method_createorupdate.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatednszonegroups/method_createorupdate.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privatednszonegroups/method_delete.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatednszonegroups/method_delete.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privatednszonegroups/method_delete.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatednszonegroups/method_delete.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privatednszonegroups/method_get.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatednszonegroups/method_get.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privatednszonegroups/method_get.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatednszonegroups/method_get.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privatednszonegroups/method_list.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatednszonegroups/method_list.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privatednszonegroups/method_list.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatednszonegroups/method_list.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privatednszonegroups/model_privatednszoneconfig.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatednszonegroups/model_privatednszoneconfig.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privatednszonegroups/model_privatednszoneconfig.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatednszonegroups/model_privatednszoneconfig.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privatednszonegroups/model_privatednszonegroup.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatednszonegroups/model_privatednszonegroup.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privatednszonegroups/model_privatednszonegroup.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatednszonegroups/model_privatednszonegroup.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privatednszonegroups/model_privatednszonegrouppropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatednszonegroups/model_privatednszonegrouppropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privatednszonegroups/model_privatednszonegrouppropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatednszonegroups/model_privatednszonegrouppropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privatednszonegroups/model_privatednszonepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatednszonegroups/model_privatednszonepropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privatednszonegroups/model_privatednszonepropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatednszonegroups/model_privatednszonepropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privatednszonegroups/model_recordset.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatednszonegroups/model_recordset.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privatednszonegroups/model_recordset.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatednszonegroups/model_recordset.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privatednszonegroups/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatednszonegroups/predicates.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privatednszonegroups/predicates.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatednszonegroups/predicates.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatednszonegroups/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatednszonegroups/version.go new file mode 100644 index 000000000000..10ccb532b7d3 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatednszonegroups/version.go @@ -0,0 +1,10 @@ +package privatednszonegroups + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2024-03-01" + +func userAgent() string { + return "hashicorp/go-azure-sdk/privatednszonegroups/2024-03-01" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/README.md new file mode 100644 index 000000000000..6e0dfe6bab93 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/README.md @@ -0,0 +1,134 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints` Documentation + +The `privateendpoints` SDK allows for interaction with Azure Resource Manager `network` (API Version `2024-03-01`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" +import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints" +``` + + +### Client Initialization + +```go +client := privateendpoints.NewPrivateEndpointsClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `PrivateEndpointsClient.AvailablePrivateEndpointTypesList` + +```go +ctx := context.TODO() +id := privateendpoints.NewLocationID("12345678-1234-9876-4563-123456789012", "locationName") + +// alternatively `client.AvailablePrivateEndpointTypesList(ctx, id)` can be used to do batched pagination +items, err := client.AvailablePrivateEndpointTypesListComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `PrivateEndpointsClient.AvailablePrivateEndpointTypesListByResourceGroup` + +```go +ctx := context.TODO() +id := privateendpoints.NewProviderLocationID("12345678-1234-9876-4563-123456789012", "example-resource-group", "locationName") + +// alternatively `client.AvailablePrivateEndpointTypesListByResourceGroup(ctx, id)` can be used to do batched pagination +items, err := client.AvailablePrivateEndpointTypesListByResourceGroupComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `PrivateEndpointsClient.CreateOrUpdate` + +```go +ctx := context.TODO() +id := privateendpoints.NewPrivateEndpointID("12345678-1234-9876-4563-123456789012", "example-resource-group", "privateEndpointName") + +payload := privateendpoints.PrivateEndpoint{ + // ... +} + + +if err := client.CreateOrUpdateThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `PrivateEndpointsClient.Delete` + +```go +ctx := context.TODO() +id := privateendpoints.NewPrivateEndpointID("12345678-1234-9876-4563-123456789012", "example-resource-group", "privateEndpointName") + +if err := client.DeleteThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `PrivateEndpointsClient.Get` + +```go +ctx := context.TODO() +id := privateendpoints.NewPrivateEndpointID("12345678-1234-9876-4563-123456789012", "example-resource-group", "privateEndpointName") + +read, err := client.Get(ctx, id, privateendpoints.DefaultGetOperationOptions()) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `PrivateEndpointsClient.List` + +```go +ctx := context.TODO() +id := commonids.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group") + +// alternatively `client.List(ctx, id)` can be used to do batched pagination +items, err := client.ListComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `PrivateEndpointsClient.ListBySubscription` + +```go +ctx := context.TODO() +id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012") + +// alternatively `client.ListBySubscription(ctx, id)` can be used to do batched pagination +items, err := client.ListBySubscriptionComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/constants.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/constants.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/constants.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/id_location.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/id_location.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/id_location.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/id_location.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/id_privateendpoint.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/id_privateendpoint.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/id_privateendpoint.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/id_privateendpoint.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/id_providerlocation.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/id_providerlocation.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/id_providerlocation.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/id_providerlocation.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/method_availableprivateendpointtypeslist.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/method_availableprivateendpointtypeslist.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/method_availableprivateendpointtypeslist.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/method_availableprivateendpointtypeslist.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/method_availableprivateendpointtypeslistbyresourcegroup.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/method_availableprivateendpointtypeslistbyresourcegroup.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/method_availableprivateendpointtypeslistbyresourcegroup.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/method_availableprivateendpointtypeslistbyresourcegroup.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/method_createorupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/method_createorupdate.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/method_createorupdate.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/method_createorupdate.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/method_delete.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/method_delete.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/method_delete.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/method_delete.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/method_get.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/method_get.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/method_get.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/method_get.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/method_list.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/method_list.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/method_list.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/method_list.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/method_listbysubscription.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/method_listbysubscription.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/method_listbysubscription.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/method_listbysubscription.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_applicationgatewaybackendaddress.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_applicationgatewaybackendaddress.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_applicationgatewaybackendaddress.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_applicationgatewaybackendaddress.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_applicationgatewaybackendaddresspool.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_applicationgatewaybackendaddresspool.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_applicationgatewaybackendaddresspool.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_applicationgatewaybackendaddresspool.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_applicationgatewaybackendaddresspoolpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_applicationgatewaybackendaddresspoolpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_applicationgatewaybackendaddresspoolpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_applicationgatewaybackendaddresspoolpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_applicationgatewayipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_applicationgatewayipconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_applicationgatewayipconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_applicationgatewayipconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_applicationgatewayipconfigurationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_applicationgatewayipconfigurationpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_applicationgatewayipconfigurationpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_applicationgatewayipconfigurationpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_applicationsecuritygroup.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_applicationsecuritygroup.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_applicationsecuritygroup.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_applicationsecuritygroup.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_applicationsecuritygrouppropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_applicationsecuritygrouppropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_applicationsecuritygrouppropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_applicationsecuritygrouppropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_availableprivateendpointtype.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_availableprivateendpointtype.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_availableprivateendpointtype.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_availableprivateendpointtype.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_backendaddresspool.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_backendaddresspool.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_backendaddresspool.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_backendaddresspool.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_backendaddresspoolpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_backendaddresspoolpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_backendaddresspoolpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_backendaddresspoolpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_customdnsconfigpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_customdnsconfigpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_customdnsconfigpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_customdnsconfigpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_ddossettings.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_ddossettings.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_ddossettings.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_ddossettings.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_delegation.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_delegation.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_delegation.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_delegation.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_flowlog.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_flowlog.go new file mode 100644 index 000000000000..6e5b89e5f2cb --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_flowlog.go @@ -0,0 +1,19 @@ +package privateendpoints + +import ( + "github.com/hashicorp/go-azure-helpers/resourcemanager/identity" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type FlowLog struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Identity *identity.SystemAndUserAssignedMap `json:"identity,omitempty"` + Location *string `json:"location,omitempty"` + Name *string `json:"name,omitempty"` + Properties *FlowLogPropertiesFormat `json:"properties,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_flowlogformatparameters.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_flowlogformatparameters.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_flowlogformatparameters.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_flowlogformatparameters.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_flowlogpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_flowlogpropertiesformat.go new file mode 100644 index 000000000000..3e3ef311eed5 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_flowlogpropertiesformat.go @@ -0,0 +1,16 @@ +package privateendpoints + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type FlowLogPropertiesFormat struct { + Enabled *bool `json:"enabled,omitempty"` + EnabledFilteringCriteria *string `json:"enabledFilteringCriteria,omitempty"` + FlowAnalyticsConfiguration *TrafficAnalyticsProperties `json:"flowAnalyticsConfiguration,omitempty"` + Format *FlowLogFormatParameters `json:"format,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + RetentionPolicy *RetentionPolicyParameters `json:"retentionPolicy,omitempty"` + StorageId string `json:"storageId"` + TargetResourceGuid *string `json:"targetResourceGuid,omitempty"` + TargetResourceId string `json:"targetResourceId"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_frontendipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_frontendipconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_frontendipconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_frontendipconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_frontendipconfigurationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_frontendipconfigurationpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_frontendipconfigurationpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_frontendipconfigurationpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_gatewayloadbalancertunnelinterface.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_gatewayloadbalancertunnelinterface.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_gatewayloadbalancertunnelinterface.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_gatewayloadbalancertunnelinterface.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_inboundnatrule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_inboundnatrule.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_inboundnatrule.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_inboundnatrule.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_inboundnatrulepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_inboundnatrulepropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_inboundnatrulepropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_inboundnatrulepropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_ipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_ipconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_ipconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_ipconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_ipconfigurationprofile.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_ipconfigurationprofile.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_ipconfigurationprofile.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_ipconfigurationprofile.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_ipconfigurationprofilepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_ipconfigurationprofilepropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_ipconfigurationprofilepropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_ipconfigurationprofilepropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_ipconfigurationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_ipconfigurationpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_ipconfigurationpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_ipconfigurationpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_iptag.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_iptag.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_iptag.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_iptag.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_loadbalancerbackendaddress.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_loadbalancerbackendaddress.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_loadbalancerbackendaddress.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_loadbalancerbackendaddress.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_loadbalancerbackendaddresspropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_loadbalancerbackendaddresspropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_loadbalancerbackendaddresspropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_loadbalancerbackendaddresspropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_natgateway.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_natgateway.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_natgateway.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_natgateway.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_natgatewaypropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_natgatewaypropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_natgatewaypropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_natgatewaypropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_natgatewaysku.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_natgatewaysku.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_natgatewaysku.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_natgatewaysku.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_natruleportmapping.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_natruleportmapping.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_natruleportmapping.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_natruleportmapping.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_networkinterface.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_networkinterface.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_networkinterface.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_networkinterface.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_networkinterfacednssettings.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_networkinterfacednssettings.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_networkinterfacednssettings.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_networkinterfacednssettings.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_networkinterfaceipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_networkinterfaceipconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_networkinterfaceipconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_networkinterfaceipconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_networkinterfaceipconfigurationprivatelinkconnectionproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_networkinterfaceipconfigurationprivatelinkconnectionproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_networkinterfaceipconfigurationprivatelinkconnectionproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_networkinterfaceipconfigurationprivatelinkconnectionproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_networkinterfaceipconfigurationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_networkinterfaceipconfigurationpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_networkinterfaceipconfigurationpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_networkinterfaceipconfigurationpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_networkinterfacepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_networkinterfacepropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_networkinterfacepropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_networkinterfacepropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_networkinterfacetapconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_networkinterfacetapconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_networkinterfacetapconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_networkinterfacetapconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_networkinterfacetapconfigurationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_networkinterfacetapconfigurationpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_networkinterfacetapconfigurationpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_networkinterfacetapconfigurationpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_networksecuritygroup.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_networksecuritygroup.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_networksecuritygroup.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_networksecuritygroup.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_networksecuritygrouppropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_networksecuritygrouppropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_networksecuritygrouppropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_networksecuritygrouppropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_privateendpoint.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_privateendpoint.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_privateendpoint.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_privateendpoint.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_privateendpointconnection.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_privateendpointconnection.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_privateendpointconnection.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_privateendpointconnection.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_privateendpointconnectionproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_privateendpointconnectionproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_privateendpointconnectionproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_privateendpointconnectionproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_privateendpointipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_privateendpointipconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_privateendpointipconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_privateendpointipconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_privateendpointipconfigurationproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_privateendpointipconfigurationproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_privateendpointipconfigurationproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_privateendpointipconfigurationproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_privateendpointproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_privateendpointproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_privateendpointproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_privateendpointproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_privatelinkservice.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_privatelinkservice.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_privatelinkservice.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_privatelinkservice.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_privatelinkserviceconnection.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_privatelinkserviceconnection.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_privatelinkserviceconnection.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_privatelinkserviceconnection.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_privatelinkserviceconnectionproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_privatelinkserviceconnectionproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_privatelinkserviceconnectionproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_privatelinkserviceconnectionproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_privatelinkserviceconnectionstate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_privatelinkserviceconnectionstate.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_privatelinkserviceconnectionstate.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_privatelinkserviceconnectionstate.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_privatelinkserviceipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_privatelinkserviceipconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_privatelinkserviceipconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_privatelinkserviceipconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_privatelinkserviceipconfigurationproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_privatelinkserviceipconfigurationproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_privatelinkserviceipconfigurationproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_privatelinkserviceipconfigurationproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_privatelinkserviceproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_privatelinkserviceproperties.go new file mode 100644 index 000000000000..aa8c280a9ad6 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_privatelinkserviceproperties.go @@ -0,0 +1,18 @@ +package privateendpoints + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PrivateLinkServiceProperties struct { + Alias *string `json:"alias,omitempty"` + AutoApproval *ResourceSet `json:"autoApproval,omitempty"` + DestinationIPAddress *string `json:"destinationIPAddress,omitempty"` + EnableProxyProtocol *bool `json:"enableProxyProtocol,omitempty"` + Fqdns *[]string `json:"fqdns,omitempty"` + IPConfigurations *[]PrivateLinkServiceIPConfiguration `json:"ipConfigurations,omitempty"` + LoadBalancerFrontendIPConfigurations *[]FrontendIPConfiguration `json:"loadBalancerFrontendIpConfigurations,omitempty"` + NetworkInterfaces *[]NetworkInterface `json:"networkInterfaces,omitempty"` + PrivateEndpointConnections *[]PrivateEndpointConnection `json:"privateEndpointConnections,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + Visibility *ResourceSet `json:"visibility,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_publicipaddress.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_publicipaddress.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_publicipaddress.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_publicipaddress.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_publicipaddressdnssettings.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_publicipaddressdnssettings.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_publicipaddressdnssettings.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_publicipaddressdnssettings.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_publicipaddresspropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_publicipaddresspropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_publicipaddresspropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_publicipaddresspropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_publicipaddresssku.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_publicipaddresssku.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_publicipaddresssku.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_publicipaddresssku.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_resourcenavigationlink.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_resourcenavigationlink.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_resourcenavigationlink.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_resourcenavigationlink.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_resourcenavigationlinkformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_resourcenavigationlinkformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_resourcenavigationlinkformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_resourcenavigationlinkformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_resourceset.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_resourceset.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_resourceset.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_resourceset.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_retentionpolicyparameters.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_retentionpolicyparameters.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_retentionpolicyparameters.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_retentionpolicyparameters.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_route.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_route.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_route.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_route.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_routepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_routepropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_routepropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_routepropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_routetable.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_routetable.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_routetable.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_routetable.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_routetablepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_routetablepropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_routetablepropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_routetablepropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_securityrule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_securityrule.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_securityrule.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_securityrule.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_securityrulepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_securityrulepropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_securityrulepropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_securityrulepropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_serviceassociationlink.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_serviceassociationlink.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_serviceassociationlink.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_serviceassociationlink.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_serviceassociationlinkpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_serviceassociationlinkpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_serviceassociationlinkpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_serviceassociationlinkpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_servicedelegationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_servicedelegationpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_servicedelegationpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_servicedelegationpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_serviceendpointpolicy.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_serviceendpointpolicy.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_serviceendpointpolicy.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_serviceendpointpolicy.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_serviceendpointpolicydefinition.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_serviceendpointpolicydefinition.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_serviceendpointpolicydefinition.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_serviceendpointpolicydefinition.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_serviceendpointpolicydefinitionpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_serviceendpointpolicydefinitionpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_serviceendpointpolicydefinitionpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_serviceendpointpolicydefinitionpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_serviceendpointpolicypropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_serviceendpointpolicypropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_serviceendpointpolicypropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_serviceendpointpolicypropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_serviceendpointpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_serviceendpointpropertiesformat.go new file mode 100644 index 000000000000..c9bc7f38f99b --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_serviceendpointpropertiesformat.go @@ -0,0 +1,11 @@ +package privateendpoints + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ServiceEndpointPropertiesFormat struct { + Locations *[]string `json:"locations,omitempty"` + NetworkIdentifier *SubResource `json:"networkIdentifier,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + Service *string `json:"service,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_subnet.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_subnet.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_subnet.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_subnet.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_subnetpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_subnetpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_subnetpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_subnetpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_subresource.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_subresource.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_subresource.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_subresource.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_trafficanalyticsconfigurationproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_trafficanalyticsconfigurationproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_trafficanalyticsconfigurationproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_trafficanalyticsconfigurationproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_trafficanalyticsproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_trafficanalyticsproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_trafficanalyticsproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_trafficanalyticsproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_virtualnetworktap.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_virtualnetworktap.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_virtualnetworktap.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_virtualnetworktap.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_virtualnetworktappropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_virtualnetworktappropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/model_virtualnetworktappropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/model_virtualnetworktappropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/predicates.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints/predicates.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/predicates.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/version.go new file mode 100644 index 000000000000..cad261b040ce --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints/version.go @@ -0,0 +1,10 @@ +package privateendpoints + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2024-03-01" + +func userAgent() string { + return "hashicorp/go-azure-sdk/privateendpoints/2024-03-01" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/README.md new file mode 100644 index 000000000000..57252b930e73 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/README.md @@ -0,0 +1,234 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices` Documentation + +The `privatelinkservices` SDK allows for interaction with Azure Resource Manager `network` (API Version `2024-03-01`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" +import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices" +``` + + +### Client Initialization + +```go +client := privatelinkservices.NewPrivateLinkServicesClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `PrivateLinkServicesClient.CheckPrivateLinkServiceVisibility` + +```go +ctx := context.TODO() +id := privatelinkservices.NewLocationID("12345678-1234-9876-4563-123456789012", "locationName") + +payload := privatelinkservices.CheckPrivateLinkServiceVisibilityRequest{ + // ... +} + + +if err := client.CheckPrivateLinkServiceVisibilityThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `PrivateLinkServicesClient.CheckPrivateLinkServiceVisibilityByResourceGroup` + +```go +ctx := context.TODO() +id := privatelinkservices.NewProviderLocationID("12345678-1234-9876-4563-123456789012", "example-resource-group", "locationName") + +payload := privatelinkservices.CheckPrivateLinkServiceVisibilityRequest{ + // ... +} + + +if err := client.CheckPrivateLinkServiceVisibilityByResourceGroupThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `PrivateLinkServicesClient.CreateOrUpdate` + +```go +ctx := context.TODO() +id := privatelinkservices.NewPrivateLinkServiceID("12345678-1234-9876-4563-123456789012", "example-resource-group", "privateLinkServiceName") + +payload := privatelinkservices.PrivateLinkService{ + // ... +} + + +if err := client.CreateOrUpdateThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `PrivateLinkServicesClient.Delete` + +```go +ctx := context.TODO() +id := privatelinkservices.NewPrivateLinkServiceID("12345678-1234-9876-4563-123456789012", "example-resource-group", "privateLinkServiceName") + +if err := client.DeleteThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `PrivateLinkServicesClient.DeletePrivateEndpointConnection` + +```go +ctx := context.TODO() +id := privatelinkservices.NewPrivateEndpointConnectionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "privateLinkServiceName", "privateEndpointConnectionName") + +if err := client.DeletePrivateEndpointConnectionThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `PrivateLinkServicesClient.Get` + +```go +ctx := context.TODO() +id := privatelinkservices.NewPrivateLinkServiceID("12345678-1234-9876-4563-123456789012", "example-resource-group", "privateLinkServiceName") + +read, err := client.Get(ctx, id, privatelinkservices.DefaultGetOperationOptions()) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `PrivateLinkServicesClient.GetPrivateEndpointConnection` + +```go +ctx := context.TODO() +id := privatelinkservices.NewPrivateEndpointConnectionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "privateLinkServiceName", "privateEndpointConnectionName") + +read, err := client.GetPrivateEndpointConnection(ctx, id, privatelinkservices.DefaultGetPrivateEndpointConnectionOperationOptions()) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `PrivateLinkServicesClient.List` + +```go +ctx := context.TODO() +id := commonids.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group") + +// alternatively `client.List(ctx, id)` can be used to do batched pagination +items, err := client.ListComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `PrivateLinkServicesClient.ListAutoApprovedPrivateLinkServices` + +```go +ctx := context.TODO() +id := privatelinkservices.NewLocationID("12345678-1234-9876-4563-123456789012", "locationName") + +// alternatively `client.ListAutoApprovedPrivateLinkServices(ctx, id)` can be used to do batched pagination +items, err := client.ListAutoApprovedPrivateLinkServicesComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `PrivateLinkServicesClient.ListAutoApprovedPrivateLinkServicesByResourceGroup` + +```go +ctx := context.TODO() +id := privatelinkservices.NewProviderLocationID("12345678-1234-9876-4563-123456789012", "example-resource-group", "locationName") + +// alternatively `client.ListAutoApprovedPrivateLinkServicesByResourceGroup(ctx, id)` can be used to do batched pagination +items, err := client.ListAutoApprovedPrivateLinkServicesByResourceGroupComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `PrivateLinkServicesClient.ListBySubscription` + +```go +ctx := context.TODO() +id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012") + +// alternatively `client.ListBySubscription(ctx, id)` can be used to do batched pagination +items, err := client.ListBySubscriptionComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `PrivateLinkServicesClient.ListPrivateEndpointConnections` + +```go +ctx := context.TODO() +id := privatelinkservices.NewPrivateLinkServiceID("12345678-1234-9876-4563-123456789012", "example-resource-group", "privateLinkServiceName") + +// alternatively `client.ListPrivateEndpointConnections(ctx, id)` can be used to do batched pagination +items, err := client.ListPrivateEndpointConnectionsComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `PrivateLinkServicesClient.UpdatePrivateEndpointConnection` + +```go +ctx := context.TODO() +id := privatelinkservices.NewPrivateEndpointConnectionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "privateLinkServiceName", "privateEndpointConnectionName") + +payload := privatelinkservices.PrivateEndpointConnection{ + // ... +} + + +read, err := client.UpdatePrivateEndpointConnection(ctx, id, payload) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/client.go new file mode 100644 index 000000000000..e097e552e3f8 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/client.go @@ -0,0 +1,26 @@ +package privatelinkservices + +import ( + "fmt" + + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + sdkEnv "github.com/hashicorp/go-azure-sdk/sdk/environments" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PrivateLinkServicesClient struct { + Client *resourcemanager.Client +} + +func NewPrivateLinkServicesClientWithBaseURI(sdkApi sdkEnv.Api) (*PrivateLinkServicesClient, error) { + client, err := resourcemanager.NewClient(sdkApi, "privatelinkservices", defaultApiVersion) + if err != nil { + return nil, fmt.Errorf("instantiating PrivateLinkServicesClient: %+v", err) + } + + return &PrivateLinkServicesClient{ + Client: client, + }, nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/constants.go new file mode 100644 index 000000000000..17a1620a8350 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/constants.go @@ -0,0 +1,1198 @@ +package privatelinkservices + +import ( + "encoding/json" + "fmt" + "strings" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type DdosSettingsProtectionMode string + +const ( + DdosSettingsProtectionModeDisabled DdosSettingsProtectionMode = "Disabled" + DdosSettingsProtectionModeEnabled DdosSettingsProtectionMode = "Enabled" + DdosSettingsProtectionModeVirtualNetworkInherited DdosSettingsProtectionMode = "VirtualNetworkInherited" +) + +func PossibleValuesForDdosSettingsProtectionMode() []string { + return []string{ + string(DdosSettingsProtectionModeDisabled), + string(DdosSettingsProtectionModeEnabled), + string(DdosSettingsProtectionModeVirtualNetworkInherited), + } +} + +func (s *DdosSettingsProtectionMode) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseDdosSettingsProtectionMode(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseDdosSettingsProtectionMode(input string) (*DdosSettingsProtectionMode, error) { + vals := map[string]DdosSettingsProtectionMode{ + "disabled": DdosSettingsProtectionModeDisabled, + "enabled": DdosSettingsProtectionModeEnabled, + "virtualnetworkinherited": DdosSettingsProtectionModeVirtualNetworkInherited, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := DdosSettingsProtectionMode(input) + return &out, nil +} + +type DeleteOptions string + +const ( + DeleteOptionsDelete DeleteOptions = "Delete" + DeleteOptionsDetach DeleteOptions = "Detach" +) + +func PossibleValuesForDeleteOptions() []string { + return []string{ + string(DeleteOptionsDelete), + string(DeleteOptionsDetach), + } +} + +func (s *DeleteOptions) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseDeleteOptions(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseDeleteOptions(input string) (*DeleteOptions, error) { + vals := map[string]DeleteOptions{ + "delete": DeleteOptionsDelete, + "detach": DeleteOptionsDetach, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := DeleteOptions(input) + return &out, nil +} + +type FlowLogFormatType string + +const ( + FlowLogFormatTypeJSON FlowLogFormatType = "JSON" +) + +func PossibleValuesForFlowLogFormatType() []string { + return []string{ + string(FlowLogFormatTypeJSON), + } +} + +func (s *FlowLogFormatType) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseFlowLogFormatType(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseFlowLogFormatType(input string) (*FlowLogFormatType, error) { + vals := map[string]FlowLogFormatType{ + "json": FlowLogFormatTypeJSON, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := FlowLogFormatType(input) + return &out, nil +} + +type GatewayLoadBalancerTunnelInterfaceType string + +const ( + GatewayLoadBalancerTunnelInterfaceTypeExternal GatewayLoadBalancerTunnelInterfaceType = "External" + GatewayLoadBalancerTunnelInterfaceTypeInternal GatewayLoadBalancerTunnelInterfaceType = "Internal" + GatewayLoadBalancerTunnelInterfaceTypeNone GatewayLoadBalancerTunnelInterfaceType = "None" +) + +func PossibleValuesForGatewayLoadBalancerTunnelInterfaceType() []string { + return []string{ + string(GatewayLoadBalancerTunnelInterfaceTypeExternal), + string(GatewayLoadBalancerTunnelInterfaceTypeInternal), + string(GatewayLoadBalancerTunnelInterfaceTypeNone), + } +} + +func (s *GatewayLoadBalancerTunnelInterfaceType) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseGatewayLoadBalancerTunnelInterfaceType(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseGatewayLoadBalancerTunnelInterfaceType(input string) (*GatewayLoadBalancerTunnelInterfaceType, error) { + vals := map[string]GatewayLoadBalancerTunnelInterfaceType{ + "external": GatewayLoadBalancerTunnelInterfaceTypeExternal, + "internal": GatewayLoadBalancerTunnelInterfaceTypeInternal, + "none": GatewayLoadBalancerTunnelInterfaceTypeNone, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := GatewayLoadBalancerTunnelInterfaceType(input) + return &out, nil +} + +type GatewayLoadBalancerTunnelProtocol string + +const ( + GatewayLoadBalancerTunnelProtocolNative GatewayLoadBalancerTunnelProtocol = "Native" + GatewayLoadBalancerTunnelProtocolNone GatewayLoadBalancerTunnelProtocol = "None" + GatewayLoadBalancerTunnelProtocolVXLAN GatewayLoadBalancerTunnelProtocol = "VXLAN" +) + +func PossibleValuesForGatewayLoadBalancerTunnelProtocol() []string { + return []string{ + string(GatewayLoadBalancerTunnelProtocolNative), + string(GatewayLoadBalancerTunnelProtocolNone), + string(GatewayLoadBalancerTunnelProtocolVXLAN), + } +} + +func (s *GatewayLoadBalancerTunnelProtocol) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseGatewayLoadBalancerTunnelProtocol(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseGatewayLoadBalancerTunnelProtocol(input string) (*GatewayLoadBalancerTunnelProtocol, error) { + vals := map[string]GatewayLoadBalancerTunnelProtocol{ + "native": GatewayLoadBalancerTunnelProtocolNative, + "none": GatewayLoadBalancerTunnelProtocolNone, + "vxlan": GatewayLoadBalancerTunnelProtocolVXLAN, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := GatewayLoadBalancerTunnelProtocol(input) + return &out, nil +} + +type IPAllocationMethod string + +const ( + IPAllocationMethodDynamic IPAllocationMethod = "Dynamic" + IPAllocationMethodStatic IPAllocationMethod = "Static" +) + +func PossibleValuesForIPAllocationMethod() []string { + return []string{ + string(IPAllocationMethodDynamic), + string(IPAllocationMethodStatic), + } +} + +func (s *IPAllocationMethod) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseIPAllocationMethod(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseIPAllocationMethod(input string) (*IPAllocationMethod, error) { + vals := map[string]IPAllocationMethod{ + "dynamic": IPAllocationMethodDynamic, + "static": IPAllocationMethodStatic, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := IPAllocationMethod(input) + return &out, nil +} + +type IPVersion string + +const ( + IPVersionIPvFour IPVersion = "IPv4" + IPVersionIPvSix IPVersion = "IPv6" +) + +func PossibleValuesForIPVersion() []string { + return []string{ + string(IPVersionIPvFour), + string(IPVersionIPvSix), + } +} + +func (s *IPVersion) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseIPVersion(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseIPVersion(input string) (*IPVersion, error) { + vals := map[string]IPVersion{ + "ipv4": IPVersionIPvFour, + "ipv6": IPVersionIPvSix, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := IPVersion(input) + return &out, nil +} + +type LoadBalancerBackendAddressAdminState string + +const ( + LoadBalancerBackendAddressAdminStateDown LoadBalancerBackendAddressAdminState = "Down" + LoadBalancerBackendAddressAdminStateNone LoadBalancerBackendAddressAdminState = "None" + LoadBalancerBackendAddressAdminStateUp LoadBalancerBackendAddressAdminState = "Up" +) + +func PossibleValuesForLoadBalancerBackendAddressAdminState() []string { + return []string{ + string(LoadBalancerBackendAddressAdminStateDown), + string(LoadBalancerBackendAddressAdminStateNone), + string(LoadBalancerBackendAddressAdminStateUp), + } +} + +func (s *LoadBalancerBackendAddressAdminState) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseLoadBalancerBackendAddressAdminState(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseLoadBalancerBackendAddressAdminState(input string) (*LoadBalancerBackendAddressAdminState, error) { + vals := map[string]LoadBalancerBackendAddressAdminState{ + "down": LoadBalancerBackendAddressAdminStateDown, + "none": LoadBalancerBackendAddressAdminStateNone, + "up": LoadBalancerBackendAddressAdminStateUp, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := LoadBalancerBackendAddressAdminState(input) + return &out, nil +} + +type NatGatewaySkuName string + +const ( + NatGatewaySkuNameStandard NatGatewaySkuName = "Standard" +) + +func PossibleValuesForNatGatewaySkuName() []string { + return []string{ + string(NatGatewaySkuNameStandard), + } +} + +func (s *NatGatewaySkuName) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseNatGatewaySkuName(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseNatGatewaySkuName(input string) (*NatGatewaySkuName, error) { + vals := map[string]NatGatewaySkuName{ + "standard": NatGatewaySkuNameStandard, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := NatGatewaySkuName(input) + return &out, nil +} + +type NetworkInterfaceAuxiliaryMode string + +const ( + NetworkInterfaceAuxiliaryModeAcceleratedConnections NetworkInterfaceAuxiliaryMode = "AcceleratedConnections" + NetworkInterfaceAuxiliaryModeFloating NetworkInterfaceAuxiliaryMode = "Floating" + NetworkInterfaceAuxiliaryModeMaxConnections NetworkInterfaceAuxiliaryMode = "MaxConnections" + NetworkInterfaceAuxiliaryModeNone NetworkInterfaceAuxiliaryMode = "None" +) + +func PossibleValuesForNetworkInterfaceAuxiliaryMode() []string { + return []string{ + string(NetworkInterfaceAuxiliaryModeAcceleratedConnections), + string(NetworkInterfaceAuxiliaryModeFloating), + string(NetworkInterfaceAuxiliaryModeMaxConnections), + string(NetworkInterfaceAuxiliaryModeNone), + } +} + +func (s *NetworkInterfaceAuxiliaryMode) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseNetworkInterfaceAuxiliaryMode(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseNetworkInterfaceAuxiliaryMode(input string) (*NetworkInterfaceAuxiliaryMode, error) { + vals := map[string]NetworkInterfaceAuxiliaryMode{ + "acceleratedconnections": NetworkInterfaceAuxiliaryModeAcceleratedConnections, + "floating": NetworkInterfaceAuxiliaryModeFloating, + "maxconnections": NetworkInterfaceAuxiliaryModeMaxConnections, + "none": NetworkInterfaceAuxiliaryModeNone, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := NetworkInterfaceAuxiliaryMode(input) + return &out, nil +} + +type NetworkInterfaceAuxiliarySku string + +const ( + NetworkInterfaceAuxiliarySkuAEight NetworkInterfaceAuxiliarySku = "A8" + NetworkInterfaceAuxiliarySkuAFour NetworkInterfaceAuxiliarySku = "A4" + NetworkInterfaceAuxiliarySkuAOne NetworkInterfaceAuxiliarySku = "A1" + NetworkInterfaceAuxiliarySkuATwo NetworkInterfaceAuxiliarySku = "A2" + NetworkInterfaceAuxiliarySkuNone NetworkInterfaceAuxiliarySku = "None" +) + +func PossibleValuesForNetworkInterfaceAuxiliarySku() []string { + return []string{ + string(NetworkInterfaceAuxiliarySkuAEight), + string(NetworkInterfaceAuxiliarySkuAFour), + string(NetworkInterfaceAuxiliarySkuAOne), + string(NetworkInterfaceAuxiliarySkuATwo), + string(NetworkInterfaceAuxiliarySkuNone), + } +} + +func (s *NetworkInterfaceAuxiliarySku) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseNetworkInterfaceAuxiliarySku(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseNetworkInterfaceAuxiliarySku(input string) (*NetworkInterfaceAuxiliarySku, error) { + vals := map[string]NetworkInterfaceAuxiliarySku{ + "a8": NetworkInterfaceAuxiliarySkuAEight, + "a4": NetworkInterfaceAuxiliarySkuAFour, + "a1": NetworkInterfaceAuxiliarySkuAOne, + "a2": NetworkInterfaceAuxiliarySkuATwo, + "none": NetworkInterfaceAuxiliarySkuNone, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := NetworkInterfaceAuxiliarySku(input) + return &out, nil +} + +type NetworkInterfaceMigrationPhase string + +const ( + NetworkInterfaceMigrationPhaseAbort NetworkInterfaceMigrationPhase = "Abort" + NetworkInterfaceMigrationPhaseCommit NetworkInterfaceMigrationPhase = "Commit" + NetworkInterfaceMigrationPhaseCommitted NetworkInterfaceMigrationPhase = "Committed" + NetworkInterfaceMigrationPhaseNone NetworkInterfaceMigrationPhase = "None" + NetworkInterfaceMigrationPhasePrepare NetworkInterfaceMigrationPhase = "Prepare" +) + +func PossibleValuesForNetworkInterfaceMigrationPhase() []string { + return []string{ + string(NetworkInterfaceMigrationPhaseAbort), + string(NetworkInterfaceMigrationPhaseCommit), + string(NetworkInterfaceMigrationPhaseCommitted), + string(NetworkInterfaceMigrationPhaseNone), + string(NetworkInterfaceMigrationPhasePrepare), + } +} + +func (s *NetworkInterfaceMigrationPhase) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseNetworkInterfaceMigrationPhase(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseNetworkInterfaceMigrationPhase(input string) (*NetworkInterfaceMigrationPhase, error) { + vals := map[string]NetworkInterfaceMigrationPhase{ + "abort": NetworkInterfaceMigrationPhaseAbort, + "commit": NetworkInterfaceMigrationPhaseCommit, + "committed": NetworkInterfaceMigrationPhaseCommitted, + "none": NetworkInterfaceMigrationPhaseNone, + "prepare": NetworkInterfaceMigrationPhasePrepare, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := NetworkInterfaceMigrationPhase(input) + return &out, nil +} + +type NetworkInterfaceNicType string + +const ( + NetworkInterfaceNicTypeElastic NetworkInterfaceNicType = "Elastic" + NetworkInterfaceNicTypeStandard NetworkInterfaceNicType = "Standard" +) + +func PossibleValuesForNetworkInterfaceNicType() []string { + return []string{ + string(NetworkInterfaceNicTypeElastic), + string(NetworkInterfaceNicTypeStandard), + } +} + +func (s *NetworkInterfaceNicType) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseNetworkInterfaceNicType(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseNetworkInterfaceNicType(input string) (*NetworkInterfaceNicType, error) { + vals := map[string]NetworkInterfaceNicType{ + "elastic": NetworkInterfaceNicTypeElastic, + "standard": NetworkInterfaceNicTypeStandard, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := NetworkInterfaceNicType(input) + return &out, nil +} + +type ProvisioningState string + +const ( + ProvisioningStateDeleting ProvisioningState = "Deleting" + ProvisioningStateFailed ProvisioningState = "Failed" + ProvisioningStateSucceeded ProvisioningState = "Succeeded" + ProvisioningStateUpdating ProvisioningState = "Updating" +) + +func PossibleValuesForProvisioningState() []string { + return []string{ + string(ProvisioningStateDeleting), + string(ProvisioningStateFailed), + string(ProvisioningStateSucceeded), + string(ProvisioningStateUpdating), + } +} + +func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseProvisioningState(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseProvisioningState(input string) (*ProvisioningState, error) { + vals := map[string]ProvisioningState{ + "deleting": ProvisioningStateDeleting, + "failed": ProvisioningStateFailed, + "succeeded": ProvisioningStateSucceeded, + "updating": ProvisioningStateUpdating, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ProvisioningState(input) + return &out, nil +} + +type PublicIPAddressDnsSettingsDomainNameLabelScope string + +const ( + PublicIPAddressDnsSettingsDomainNameLabelScopeNoReuse PublicIPAddressDnsSettingsDomainNameLabelScope = "NoReuse" + PublicIPAddressDnsSettingsDomainNameLabelScopeResourceGroupReuse PublicIPAddressDnsSettingsDomainNameLabelScope = "ResourceGroupReuse" + PublicIPAddressDnsSettingsDomainNameLabelScopeSubscriptionReuse PublicIPAddressDnsSettingsDomainNameLabelScope = "SubscriptionReuse" + PublicIPAddressDnsSettingsDomainNameLabelScopeTenantReuse PublicIPAddressDnsSettingsDomainNameLabelScope = "TenantReuse" +) + +func PossibleValuesForPublicIPAddressDnsSettingsDomainNameLabelScope() []string { + return []string{ + string(PublicIPAddressDnsSettingsDomainNameLabelScopeNoReuse), + string(PublicIPAddressDnsSettingsDomainNameLabelScopeResourceGroupReuse), + string(PublicIPAddressDnsSettingsDomainNameLabelScopeSubscriptionReuse), + string(PublicIPAddressDnsSettingsDomainNameLabelScopeTenantReuse), + } +} + +func (s *PublicIPAddressDnsSettingsDomainNameLabelScope) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parsePublicIPAddressDnsSettingsDomainNameLabelScope(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parsePublicIPAddressDnsSettingsDomainNameLabelScope(input string) (*PublicIPAddressDnsSettingsDomainNameLabelScope, error) { + vals := map[string]PublicIPAddressDnsSettingsDomainNameLabelScope{ + "noreuse": PublicIPAddressDnsSettingsDomainNameLabelScopeNoReuse, + "resourcegroupreuse": PublicIPAddressDnsSettingsDomainNameLabelScopeResourceGroupReuse, + "subscriptionreuse": PublicIPAddressDnsSettingsDomainNameLabelScopeSubscriptionReuse, + "tenantreuse": PublicIPAddressDnsSettingsDomainNameLabelScopeTenantReuse, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := PublicIPAddressDnsSettingsDomainNameLabelScope(input) + return &out, nil +} + +type PublicIPAddressMigrationPhase string + +const ( + PublicIPAddressMigrationPhaseAbort PublicIPAddressMigrationPhase = "Abort" + PublicIPAddressMigrationPhaseCommit PublicIPAddressMigrationPhase = "Commit" + PublicIPAddressMigrationPhaseCommitted PublicIPAddressMigrationPhase = "Committed" + PublicIPAddressMigrationPhaseNone PublicIPAddressMigrationPhase = "None" + PublicIPAddressMigrationPhasePrepare PublicIPAddressMigrationPhase = "Prepare" +) + +func PossibleValuesForPublicIPAddressMigrationPhase() []string { + return []string{ + string(PublicIPAddressMigrationPhaseAbort), + string(PublicIPAddressMigrationPhaseCommit), + string(PublicIPAddressMigrationPhaseCommitted), + string(PublicIPAddressMigrationPhaseNone), + string(PublicIPAddressMigrationPhasePrepare), + } +} + +func (s *PublicIPAddressMigrationPhase) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parsePublicIPAddressMigrationPhase(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parsePublicIPAddressMigrationPhase(input string) (*PublicIPAddressMigrationPhase, error) { + vals := map[string]PublicIPAddressMigrationPhase{ + "abort": PublicIPAddressMigrationPhaseAbort, + "commit": PublicIPAddressMigrationPhaseCommit, + "committed": PublicIPAddressMigrationPhaseCommitted, + "none": PublicIPAddressMigrationPhaseNone, + "prepare": PublicIPAddressMigrationPhasePrepare, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := PublicIPAddressMigrationPhase(input) + return &out, nil +} + +type PublicIPAddressSkuName string + +const ( + PublicIPAddressSkuNameBasic PublicIPAddressSkuName = "Basic" + PublicIPAddressSkuNameStandard PublicIPAddressSkuName = "Standard" +) + +func PossibleValuesForPublicIPAddressSkuName() []string { + return []string{ + string(PublicIPAddressSkuNameBasic), + string(PublicIPAddressSkuNameStandard), + } +} + +func (s *PublicIPAddressSkuName) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parsePublicIPAddressSkuName(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parsePublicIPAddressSkuName(input string) (*PublicIPAddressSkuName, error) { + vals := map[string]PublicIPAddressSkuName{ + "basic": PublicIPAddressSkuNameBasic, + "standard": PublicIPAddressSkuNameStandard, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := PublicIPAddressSkuName(input) + return &out, nil +} + +type PublicIPAddressSkuTier string + +const ( + PublicIPAddressSkuTierGlobal PublicIPAddressSkuTier = "Global" + PublicIPAddressSkuTierRegional PublicIPAddressSkuTier = "Regional" +) + +func PossibleValuesForPublicIPAddressSkuTier() []string { + return []string{ + string(PublicIPAddressSkuTierGlobal), + string(PublicIPAddressSkuTierRegional), + } +} + +func (s *PublicIPAddressSkuTier) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parsePublicIPAddressSkuTier(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parsePublicIPAddressSkuTier(input string) (*PublicIPAddressSkuTier, error) { + vals := map[string]PublicIPAddressSkuTier{ + "global": PublicIPAddressSkuTierGlobal, + "regional": PublicIPAddressSkuTierRegional, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := PublicIPAddressSkuTier(input) + return &out, nil +} + +type RouteNextHopType string + +const ( + RouteNextHopTypeInternet RouteNextHopType = "Internet" + RouteNextHopTypeNone RouteNextHopType = "None" + RouteNextHopTypeVirtualAppliance RouteNextHopType = "VirtualAppliance" + RouteNextHopTypeVirtualNetworkGateway RouteNextHopType = "VirtualNetworkGateway" + RouteNextHopTypeVnetLocal RouteNextHopType = "VnetLocal" +) + +func PossibleValuesForRouteNextHopType() []string { + return []string{ + string(RouteNextHopTypeInternet), + string(RouteNextHopTypeNone), + string(RouteNextHopTypeVirtualAppliance), + string(RouteNextHopTypeVirtualNetworkGateway), + string(RouteNextHopTypeVnetLocal), + } +} + +func (s *RouteNextHopType) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseRouteNextHopType(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseRouteNextHopType(input string) (*RouteNextHopType, error) { + vals := map[string]RouteNextHopType{ + "internet": RouteNextHopTypeInternet, + "none": RouteNextHopTypeNone, + "virtualappliance": RouteNextHopTypeVirtualAppliance, + "virtualnetworkgateway": RouteNextHopTypeVirtualNetworkGateway, + "vnetlocal": RouteNextHopTypeVnetLocal, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := RouteNextHopType(input) + return &out, nil +} + +type SecurityRuleAccess string + +const ( + SecurityRuleAccessAllow SecurityRuleAccess = "Allow" + SecurityRuleAccessDeny SecurityRuleAccess = "Deny" +) + +func PossibleValuesForSecurityRuleAccess() []string { + return []string{ + string(SecurityRuleAccessAllow), + string(SecurityRuleAccessDeny), + } +} + +func (s *SecurityRuleAccess) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseSecurityRuleAccess(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseSecurityRuleAccess(input string) (*SecurityRuleAccess, error) { + vals := map[string]SecurityRuleAccess{ + "allow": SecurityRuleAccessAllow, + "deny": SecurityRuleAccessDeny, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := SecurityRuleAccess(input) + return &out, nil +} + +type SecurityRuleDirection string + +const ( + SecurityRuleDirectionInbound SecurityRuleDirection = "Inbound" + SecurityRuleDirectionOutbound SecurityRuleDirection = "Outbound" +) + +func PossibleValuesForSecurityRuleDirection() []string { + return []string{ + string(SecurityRuleDirectionInbound), + string(SecurityRuleDirectionOutbound), + } +} + +func (s *SecurityRuleDirection) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseSecurityRuleDirection(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseSecurityRuleDirection(input string) (*SecurityRuleDirection, error) { + vals := map[string]SecurityRuleDirection{ + "inbound": SecurityRuleDirectionInbound, + "outbound": SecurityRuleDirectionOutbound, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := SecurityRuleDirection(input) + return &out, nil +} + +type SecurityRuleProtocol string + +const ( + SecurityRuleProtocolAh SecurityRuleProtocol = "Ah" + SecurityRuleProtocolAny SecurityRuleProtocol = "*" + SecurityRuleProtocolEsp SecurityRuleProtocol = "Esp" + SecurityRuleProtocolIcmp SecurityRuleProtocol = "Icmp" + SecurityRuleProtocolTcp SecurityRuleProtocol = "Tcp" + SecurityRuleProtocolUdp SecurityRuleProtocol = "Udp" +) + +func PossibleValuesForSecurityRuleProtocol() []string { + return []string{ + string(SecurityRuleProtocolAh), + string(SecurityRuleProtocolAny), + string(SecurityRuleProtocolEsp), + string(SecurityRuleProtocolIcmp), + string(SecurityRuleProtocolTcp), + string(SecurityRuleProtocolUdp), + } +} + +func (s *SecurityRuleProtocol) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseSecurityRuleProtocol(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseSecurityRuleProtocol(input string) (*SecurityRuleProtocol, error) { + vals := map[string]SecurityRuleProtocol{ + "ah": SecurityRuleProtocolAh, + "*": SecurityRuleProtocolAny, + "esp": SecurityRuleProtocolEsp, + "icmp": SecurityRuleProtocolIcmp, + "tcp": SecurityRuleProtocolTcp, + "udp": SecurityRuleProtocolUdp, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := SecurityRuleProtocol(input) + return &out, nil +} + +type SharingScope string + +const ( + SharingScopeDelegatedServices SharingScope = "DelegatedServices" + SharingScopeTenant SharingScope = "Tenant" +) + +func PossibleValuesForSharingScope() []string { + return []string{ + string(SharingScopeDelegatedServices), + string(SharingScopeTenant), + } +} + +func (s *SharingScope) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseSharingScope(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseSharingScope(input string) (*SharingScope, error) { + vals := map[string]SharingScope{ + "delegatedservices": SharingScopeDelegatedServices, + "tenant": SharingScopeTenant, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := SharingScope(input) + return &out, nil +} + +type SyncMode string + +const ( + SyncModeAutomatic SyncMode = "Automatic" + SyncModeManual SyncMode = "Manual" +) + +func PossibleValuesForSyncMode() []string { + return []string{ + string(SyncModeAutomatic), + string(SyncModeManual), + } +} + +func (s *SyncMode) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseSyncMode(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseSyncMode(input string) (*SyncMode, error) { + vals := map[string]SyncMode{ + "automatic": SyncModeAutomatic, + "manual": SyncModeManual, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := SyncMode(input) + return &out, nil +} + +type TransportProtocol string + +const ( + TransportProtocolAll TransportProtocol = "All" + TransportProtocolTcp TransportProtocol = "Tcp" + TransportProtocolUdp TransportProtocol = "Udp" +) + +func PossibleValuesForTransportProtocol() []string { + return []string{ + string(TransportProtocolAll), + string(TransportProtocolTcp), + string(TransportProtocolUdp), + } +} + +func (s *TransportProtocol) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseTransportProtocol(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseTransportProtocol(input string) (*TransportProtocol, error) { + vals := map[string]TransportProtocol{ + "all": TransportProtocolAll, + "tcp": TransportProtocolTcp, + "udp": TransportProtocolUdp, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := TransportProtocol(input) + return &out, nil +} + +type VirtualNetworkPrivateEndpointNetworkPolicies string + +const ( + VirtualNetworkPrivateEndpointNetworkPoliciesDisabled VirtualNetworkPrivateEndpointNetworkPolicies = "Disabled" + VirtualNetworkPrivateEndpointNetworkPoliciesEnabled VirtualNetworkPrivateEndpointNetworkPolicies = "Enabled" + VirtualNetworkPrivateEndpointNetworkPoliciesNetworkSecurityGroupEnabled VirtualNetworkPrivateEndpointNetworkPolicies = "NetworkSecurityGroupEnabled" + VirtualNetworkPrivateEndpointNetworkPoliciesRouteTableEnabled VirtualNetworkPrivateEndpointNetworkPolicies = "RouteTableEnabled" +) + +func PossibleValuesForVirtualNetworkPrivateEndpointNetworkPolicies() []string { + return []string{ + string(VirtualNetworkPrivateEndpointNetworkPoliciesDisabled), + string(VirtualNetworkPrivateEndpointNetworkPoliciesEnabled), + string(VirtualNetworkPrivateEndpointNetworkPoliciesNetworkSecurityGroupEnabled), + string(VirtualNetworkPrivateEndpointNetworkPoliciesRouteTableEnabled), + } +} + +func (s *VirtualNetworkPrivateEndpointNetworkPolicies) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseVirtualNetworkPrivateEndpointNetworkPolicies(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseVirtualNetworkPrivateEndpointNetworkPolicies(input string) (*VirtualNetworkPrivateEndpointNetworkPolicies, error) { + vals := map[string]VirtualNetworkPrivateEndpointNetworkPolicies{ + "disabled": VirtualNetworkPrivateEndpointNetworkPoliciesDisabled, + "enabled": VirtualNetworkPrivateEndpointNetworkPoliciesEnabled, + "networksecuritygroupenabled": VirtualNetworkPrivateEndpointNetworkPoliciesNetworkSecurityGroupEnabled, + "routetableenabled": VirtualNetworkPrivateEndpointNetworkPoliciesRouteTableEnabled, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := VirtualNetworkPrivateEndpointNetworkPolicies(input) + return &out, nil +} + +type VirtualNetworkPrivateLinkServiceNetworkPolicies string + +const ( + VirtualNetworkPrivateLinkServiceNetworkPoliciesDisabled VirtualNetworkPrivateLinkServiceNetworkPolicies = "Disabled" + VirtualNetworkPrivateLinkServiceNetworkPoliciesEnabled VirtualNetworkPrivateLinkServiceNetworkPolicies = "Enabled" +) + +func PossibleValuesForVirtualNetworkPrivateLinkServiceNetworkPolicies() []string { + return []string{ + string(VirtualNetworkPrivateLinkServiceNetworkPoliciesDisabled), + string(VirtualNetworkPrivateLinkServiceNetworkPoliciesEnabled), + } +} + +func (s *VirtualNetworkPrivateLinkServiceNetworkPolicies) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseVirtualNetworkPrivateLinkServiceNetworkPolicies(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseVirtualNetworkPrivateLinkServiceNetworkPolicies(input string) (*VirtualNetworkPrivateLinkServiceNetworkPolicies, error) { + vals := map[string]VirtualNetworkPrivateLinkServiceNetworkPolicies{ + "disabled": VirtualNetworkPrivateLinkServiceNetworkPoliciesDisabled, + "enabled": VirtualNetworkPrivateLinkServiceNetworkPoliciesEnabled, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := VirtualNetworkPrivateLinkServiceNetworkPolicies(input) + return &out, nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/id_location.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/id_location.go new file mode 100644 index 000000000000..ad61efbce7ff --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/id_location.go @@ -0,0 +1,121 @@ +package privatelinkservices + +import ( + "fmt" + "strings" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/recaser" + "github.com/hashicorp/go-azure-helpers/resourcemanager/resourceids" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +func init() { + recaser.RegisterResourceId(&LocationId{}) +} + +var _ resourceids.ResourceId = &LocationId{} + +// LocationId is a struct representing the Resource ID for a Location +type LocationId struct { + SubscriptionId string + LocationName string +} + +// NewLocationID returns a new LocationId struct +func NewLocationID(subscriptionId string, locationName string) LocationId { + return LocationId{ + SubscriptionId: subscriptionId, + LocationName: locationName, + } +} + +// ParseLocationID parses 'input' into a LocationId +func ParseLocationID(input string) (*LocationId, error) { + parser := resourceids.NewParserFromResourceIdType(&LocationId{}) + parsed, err := parser.Parse(input, false) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := LocationId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +// ParseLocationIDInsensitively parses 'input' case-insensitively into a LocationId +// note: this method should only be used for API response data and not user input +func ParseLocationIDInsensitively(input string) (*LocationId, error) { + parser := resourceids.NewParserFromResourceIdType(&LocationId{}) + parsed, err := parser.Parse(input, true) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := LocationId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +func (id *LocationId) FromParseResult(input resourceids.ParseResult) error { + var ok bool + + if id.SubscriptionId, ok = input.Parsed["subscriptionId"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "subscriptionId", input) + } + + if id.LocationName, ok = input.Parsed["locationName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "locationName", input) + } + + return nil +} + +// ValidateLocationID checks that 'input' can be parsed as a Location ID +func ValidateLocationID(input interface{}, key string) (warnings []string, errors []error) { + v, ok := input.(string) + if !ok { + errors = append(errors, fmt.Errorf("expected %q to be a string", key)) + return + } + + if _, err := ParseLocationID(v); err != nil { + errors = append(errors, err) + } + + return +} + +// ID returns the formatted Location ID +func (id LocationId) ID() string { + fmtString := "/subscriptions/%s/providers/Microsoft.Network/locations/%s" + return fmt.Sprintf(fmtString, id.SubscriptionId, id.LocationName) +} + +// Segments returns a slice of Resource ID Segments which comprise this Location ID +func (id LocationId) Segments() []resourceids.Segment { + return []resourceids.Segment{ + resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), + resourceids.SubscriptionIdSegment("subscriptionId", "12345678-1234-9876-4563-123456789012"), + resourceids.StaticSegment("staticProviders", "providers", "providers"), + resourceids.ResourceProviderSegment("staticMicrosoftNetwork", "Microsoft.Network", "Microsoft.Network"), + resourceids.StaticSegment("staticLocations", "locations", "locations"), + resourceids.UserSpecifiedSegment("locationName", "locationName"), + } +} + +// String returns a human-readable description of this Location ID +func (id LocationId) String() string { + components := []string{ + fmt.Sprintf("Subscription: %q", id.SubscriptionId), + fmt.Sprintf("Location Name: %q", id.LocationName), + } + return fmt.Sprintf("Location (%s)", strings.Join(components, "\n")) +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/id_privateendpointconnection.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/id_privateendpointconnection.go new file mode 100644 index 000000000000..3f1f439928bf --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/id_privateendpointconnection.go @@ -0,0 +1,139 @@ +package privatelinkservices + +import ( + "fmt" + "strings" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/recaser" + "github.com/hashicorp/go-azure-helpers/resourcemanager/resourceids" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +func init() { + recaser.RegisterResourceId(&PrivateEndpointConnectionId{}) +} + +var _ resourceids.ResourceId = &PrivateEndpointConnectionId{} + +// PrivateEndpointConnectionId is a struct representing the Resource ID for a Private Endpoint Connection +type PrivateEndpointConnectionId struct { + SubscriptionId string + ResourceGroupName string + PrivateLinkServiceName string + PrivateEndpointConnectionName string +} + +// NewPrivateEndpointConnectionID returns a new PrivateEndpointConnectionId struct +func NewPrivateEndpointConnectionID(subscriptionId string, resourceGroupName string, privateLinkServiceName string, privateEndpointConnectionName string) PrivateEndpointConnectionId { + return PrivateEndpointConnectionId{ + SubscriptionId: subscriptionId, + ResourceGroupName: resourceGroupName, + PrivateLinkServiceName: privateLinkServiceName, + PrivateEndpointConnectionName: privateEndpointConnectionName, + } +} + +// ParsePrivateEndpointConnectionID parses 'input' into a PrivateEndpointConnectionId +func ParsePrivateEndpointConnectionID(input string) (*PrivateEndpointConnectionId, error) { + parser := resourceids.NewParserFromResourceIdType(&PrivateEndpointConnectionId{}) + parsed, err := parser.Parse(input, false) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := PrivateEndpointConnectionId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +// ParsePrivateEndpointConnectionIDInsensitively parses 'input' case-insensitively into a PrivateEndpointConnectionId +// note: this method should only be used for API response data and not user input +func ParsePrivateEndpointConnectionIDInsensitively(input string) (*PrivateEndpointConnectionId, error) { + parser := resourceids.NewParserFromResourceIdType(&PrivateEndpointConnectionId{}) + parsed, err := parser.Parse(input, true) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := PrivateEndpointConnectionId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +func (id *PrivateEndpointConnectionId) FromParseResult(input resourceids.ParseResult) error { + var ok bool + + if id.SubscriptionId, ok = input.Parsed["subscriptionId"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "subscriptionId", input) + } + + if id.ResourceGroupName, ok = input.Parsed["resourceGroupName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "resourceGroupName", input) + } + + if id.PrivateLinkServiceName, ok = input.Parsed["privateLinkServiceName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "privateLinkServiceName", input) + } + + if id.PrivateEndpointConnectionName, ok = input.Parsed["privateEndpointConnectionName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "privateEndpointConnectionName", input) + } + + return nil +} + +// ValidatePrivateEndpointConnectionID checks that 'input' can be parsed as a Private Endpoint Connection ID +func ValidatePrivateEndpointConnectionID(input interface{}, key string) (warnings []string, errors []error) { + v, ok := input.(string) + if !ok { + errors = append(errors, fmt.Errorf("expected %q to be a string", key)) + return + } + + if _, err := ParsePrivateEndpointConnectionID(v); err != nil { + errors = append(errors, err) + } + + return +} + +// ID returns the formatted Private Endpoint Connection ID +func (id PrivateEndpointConnectionId) ID() string { + fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.Network/privateLinkServices/%s/privateEndpointConnections/%s" + return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.PrivateLinkServiceName, id.PrivateEndpointConnectionName) +} + +// Segments returns a slice of Resource ID Segments which comprise this Private Endpoint Connection ID +func (id PrivateEndpointConnectionId) Segments() []resourceids.Segment { + return []resourceids.Segment{ + resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), + resourceids.SubscriptionIdSegment("subscriptionId", "12345678-1234-9876-4563-123456789012"), + resourceids.StaticSegment("staticResourceGroups", "resourceGroups", "resourceGroups"), + resourceids.ResourceGroupSegment("resourceGroupName", "example-resource-group"), + resourceids.StaticSegment("staticProviders", "providers", "providers"), + resourceids.ResourceProviderSegment("staticMicrosoftNetwork", "Microsoft.Network", "Microsoft.Network"), + resourceids.StaticSegment("staticPrivateLinkServices", "privateLinkServices", "privateLinkServices"), + resourceids.UserSpecifiedSegment("privateLinkServiceName", "privateLinkServiceName"), + resourceids.StaticSegment("staticPrivateEndpointConnections", "privateEndpointConnections", "privateEndpointConnections"), + resourceids.UserSpecifiedSegment("privateEndpointConnectionName", "privateEndpointConnectionName"), + } +} + +// String returns a human-readable description of this Private Endpoint Connection ID +func (id PrivateEndpointConnectionId) String() string { + components := []string{ + fmt.Sprintf("Subscription: %q", id.SubscriptionId), + fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), + fmt.Sprintf("Private Link Service Name: %q", id.PrivateLinkServiceName), + fmt.Sprintf("Private Endpoint Connection Name: %q", id.PrivateEndpointConnectionName), + } + return fmt.Sprintf("Private Endpoint Connection (%s)", strings.Join(components, "\n")) +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/id_privatelinkservice.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/id_privatelinkservice.go new file mode 100644 index 000000000000..d691d1eded6b --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/id_privatelinkservice.go @@ -0,0 +1,130 @@ +package privatelinkservices + +import ( + "fmt" + "strings" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/recaser" + "github.com/hashicorp/go-azure-helpers/resourcemanager/resourceids" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +func init() { + recaser.RegisterResourceId(&PrivateLinkServiceId{}) +} + +var _ resourceids.ResourceId = &PrivateLinkServiceId{} + +// PrivateLinkServiceId is a struct representing the Resource ID for a Private Link Service +type PrivateLinkServiceId struct { + SubscriptionId string + ResourceGroupName string + PrivateLinkServiceName string +} + +// NewPrivateLinkServiceID returns a new PrivateLinkServiceId struct +func NewPrivateLinkServiceID(subscriptionId string, resourceGroupName string, privateLinkServiceName string) PrivateLinkServiceId { + return PrivateLinkServiceId{ + SubscriptionId: subscriptionId, + ResourceGroupName: resourceGroupName, + PrivateLinkServiceName: privateLinkServiceName, + } +} + +// ParsePrivateLinkServiceID parses 'input' into a PrivateLinkServiceId +func ParsePrivateLinkServiceID(input string) (*PrivateLinkServiceId, error) { + parser := resourceids.NewParserFromResourceIdType(&PrivateLinkServiceId{}) + parsed, err := parser.Parse(input, false) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := PrivateLinkServiceId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +// ParsePrivateLinkServiceIDInsensitively parses 'input' case-insensitively into a PrivateLinkServiceId +// note: this method should only be used for API response data and not user input +func ParsePrivateLinkServiceIDInsensitively(input string) (*PrivateLinkServiceId, error) { + parser := resourceids.NewParserFromResourceIdType(&PrivateLinkServiceId{}) + parsed, err := parser.Parse(input, true) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := PrivateLinkServiceId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +func (id *PrivateLinkServiceId) FromParseResult(input resourceids.ParseResult) error { + var ok bool + + if id.SubscriptionId, ok = input.Parsed["subscriptionId"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "subscriptionId", input) + } + + if id.ResourceGroupName, ok = input.Parsed["resourceGroupName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "resourceGroupName", input) + } + + if id.PrivateLinkServiceName, ok = input.Parsed["privateLinkServiceName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "privateLinkServiceName", input) + } + + return nil +} + +// ValidatePrivateLinkServiceID checks that 'input' can be parsed as a Private Link Service ID +func ValidatePrivateLinkServiceID(input interface{}, key string) (warnings []string, errors []error) { + v, ok := input.(string) + if !ok { + errors = append(errors, fmt.Errorf("expected %q to be a string", key)) + return + } + + if _, err := ParsePrivateLinkServiceID(v); err != nil { + errors = append(errors, err) + } + + return +} + +// ID returns the formatted Private Link Service ID +func (id PrivateLinkServiceId) ID() string { + fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.Network/privateLinkServices/%s" + return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.PrivateLinkServiceName) +} + +// Segments returns a slice of Resource ID Segments which comprise this Private Link Service ID +func (id PrivateLinkServiceId) Segments() []resourceids.Segment { + return []resourceids.Segment{ + resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), + resourceids.SubscriptionIdSegment("subscriptionId", "12345678-1234-9876-4563-123456789012"), + resourceids.StaticSegment("staticResourceGroups", "resourceGroups", "resourceGroups"), + resourceids.ResourceGroupSegment("resourceGroupName", "example-resource-group"), + resourceids.StaticSegment("staticProviders", "providers", "providers"), + resourceids.ResourceProviderSegment("staticMicrosoftNetwork", "Microsoft.Network", "Microsoft.Network"), + resourceids.StaticSegment("staticPrivateLinkServices", "privateLinkServices", "privateLinkServices"), + resourceids.UserSpecifiedSegment("privateLinkServiceName", "privateLinkServiceName"), + } +} + +// String returns a human-readable description of this Private Link Service ID +func (id PrivateLinkServiceId) String() string { + components := []string{ + fmt.Sprintf("Subscription: %q", id.SubscriptionId), + fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), + fmt.Sprintf("Private Link Service Name: %q", id.PrivateLinkServiceName), + } + return fmt.Sprintf("Private Link Service (%s)", strings.Join(components, "\n")) +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/id_providerlocation.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/id_providerlocation.go new file mode 100644 index 000000000000..706ab2680a9b --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/id_providerlocation.go @@ -0,0 +1,130 @@ +package privatelinkservices + +import ( + "fmt" + "strings" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/recaser" + "github.com/hashicorp/go-azure-helpers/resourcemanager/resourceids" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +func init() { + recaser.RegisterResourceId(&ProviderLocationId{}) +} + +var _ resourceids.ResourceId = &ProviderLocationId{} + +// ProviderLocationId is a struct representing the Resource ID for a Provider Location +type ProviderLocationId struct { + SubscriptionId string + ResourceGroupName string + LocationName string +} + +// NewProviderLocationID returns a new ProviderLocationId struct +func NewProviderLocationID(subscriptionId string, resourceGroupName string, locationName string) ProviderLocationId { + return ProviderLocationId{ + SubscriptionId: subscriptionId, + ResourceGroupName: resourceGroupName, + LocationName: locationName, + } +} + +// ParseProviderLocationID parses 'input' into a ProviderLocationId +func ParseProviderLocationID(input string) (*ProviderLocationId, error) { + parser := resourceids.NewParserFromResourceIdType(&ProviderLocationId{}) + parsed, err := parser.Parse(input, false) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := ProviderLocationId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +// ParseProviderLocationIDInsensitively parses 'input' case-insensitively into a ProviderLocationId +// note: this method should only be used for API response data and not user input +func ParseProviderLocationIDInsensitively(input string) (*ProviderLocationId, error) { + parser := resourceids.NewParserFromResourceIdType(&ProviderLocationId{}) + parsed, err := parser.Parse(input, true) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := ProviderLocationId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +func (id *ProviderLocationId) FromParseResult(input resourceids.ParseResult) error { + var ok bool + + if id.SubscriptionId, ok = input.Parsed["subscriptionId"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "subscriptionId", input) + } + + if id.ResourceGroupName, ok = input.Parsed["resourceGroupName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "resourceGroupName", input) + } + + if id.LocationName, ok = input.Parsed["locationName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "locationName", input) + } + + return nil +} + +// ValidateProviderLocationID checks that 'input' can be parsed as a Provider Location ID +func ValidateProviderLocationID(input interface{}, key string) (warnings []string, errors []error) { + v, ok := input.(string) + if !ok { + errors = append(errors, fmt.Errorf("expected %q to be a string", key)) + return + } + + if _, err := ParseProviderLocationID(v); err != nil { + errors = append(errors, err) + } + + return +} + +// ID returns the formatted Provider Location ID +func (id ProviderLocationId) ID() string { + fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.Network/locations/%s" + return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.LocationName) +} + +// Segments returns a slice of Resource ID Segments which comprise this Provider Location ID +func (id ProviderLocationId) Segments() []resourceids.Segment { + return []resourceids.Segment{ + resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), + resourceids.SubscriptionIdSegment("subscriptionId", "12345678-1234-9876-4563-123456789012"), + resourceids.StaticSegment("staticResourceGroups", "resourceGroups", "resourceGroups"), + resourceids.ResourceGroupSegment("resourceGroupName", "example-resource-group"), + resourceids.StaticSegment("staticProviders", "providers", "providers"), + resourceids.ResourceProviderSegment("staticMicrosoftNetwork", "Microsoft.Network", "Microsoft.Network"), + resourceids.StaticSegment("staticLocations", "locations", "locations"), + resourceids.UserSpecifiedSegment("locationName", "locationName"), + } +} + +// String returns a human-readable description of this Provider Location ID +func (id ProviderLocationId) String() string { + components := []string{ + fmt.Sprintf("Subscription: %q", id.SubscriptionId), + fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), + fmt.Sprintf("Location Name: %q", id.LocationName), + } + return fmt.Sprintf("Provider Location (%s)", strings.Join(components, "\n")) +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/method_checkprivatelinkservicevisibility.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/method_checkprivatelinkservicevisibility.go new file mode 100644 index 000000000000..1e8a53a5ec7a --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/method_checkprivatelinkservicevisibility.go @@ -0,0 +1,75 @@ +package privatelinkservices + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/client/pollers" + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type CheckPrivateLinkServiceVisibilityOperationResponse struct { + Poller pollers.Poller + HttpResponse *http.Response + OData *odata.OData + Model *PrivateLinkServiceVisibility +} + +// CheckPrivateLinkServiceVisibility ... +func (c PrivateLinkServicesClient) CheckPrivateLinkServiceVisibility(ctx context.Context, id LocationId, input CheckPrivateLinkServiceVisibilityRequest) (result CheckPrivateLinkServiceVisibilityOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusAccepted, + http.StatusOK, + }, + HttpMethod: http.MethodPost, + Path: fmt.Sprintf("%s/checkPrivateLinkServiceVisibility", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + if err = req.Marshal(input); err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client) + if err != nil { + return + } + + return +} + +// CheckPrivateLinkServiceVisibilityThenPoll performs CheckPrivateLinkServiceVisibility then polls until it's completed +func (c PrivateLinkServicesClient) CheckPrivateLinkServiceVisibilityThenPoll(ctx context.Context, id LocationId, input CheckPrivateLinkServiceVisibilityRequest) error { + result, err := c.CheckPrivateLinkServiceVisibility(ctx, id, input) + if err != nil { + return fmt.Errorf("performing CheckPrivateLinkServiceVisibility: %+v", err) + } + + if err := result.Poller.PollUntilDone(ctx); err != nil { + return fmt.Errorf("polling after CheckPrivateLinkServiceVisibility: %+v", err) + } + + return nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/method_checkprivatelinkservicevisibilitybyresourcegroup.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/method_checkprivatelinkservicevisibilitybyresourcegroup.go new file mode 100644 index 000000000000..22023c980d02 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/method_checkprivatelinkservicevisibilitybyresourcegroup.go @@ -0,0 +1,75 @@ +package privatelinkservices + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/client/pollers" + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type CheckPrivateLinkServiceVisibilityByResourceGroupOperationResponse struct { + Poller pollers.Poller + HttpResponse *http.Response + OData *odata.OData + Model *PrivateLinkServiceVisibility +} + +// CheckPrivateLinkServiceVisibilityByResourceGroup ... +func (c PrivateLinkServicesClient) CheckPrivateLinkServiceVisibilityByResourceGroup(ctx context.Context, id ProviderLocationId, input CheckPrivateLinkServiceVisibilityRequest) (result CheckPrivateLinkServiceVisibilityByResourceGroupOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusAccepted, + http.StatusOK, + }, + HttpMethod: http.MethodPost, + Path: fmt.Sprintf("%s/checkPrivateLinkServiceVisibility", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + if err = req.Marshal(input); err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client) + if err != nil { + return + } + + return +} + +// CheckPrivateLinkServiceVisibilityByResourceGroupThenPoll performs CheckPrivateLinkServiceVisibilityByResourceGroup then polls until it's completed +func (c PrivateLinkServicesClient) CheckPrivateLinkServiceVisibilityByResourceGroupThenPoll(ctx context.Context, id ProviderLocationId, input CheckPrivateLinkServiceVisibilityRequest) error { + result, err := c.CheckPrivateLinkServiceVisibilityByResourceGroup(ctx, id, input) + if err != nil { + return fmt.Errorf("performing CheckPrivateLinkServiceVisibilityByResourceGroup: %+v", err) + } + + if err := result.Poller.PollUntilDone(ctx); err != nil { + return fmt.Errorf("polling after CheckPrivateLinkServiceVisibilityByResourceGroup: %+v", err) + } + + return nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/method_createorupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/method_createorupdate.go new file mode 100644 index 000000000000..469627334988 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/method_createorupdate.go @@ -0,0 +1,75 @@ +package privatelinkservices + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/client/pollers" + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type CreateOrUpdateOperationResponse struct { + Poller pollers.Poller + HttpResponse *http.Response + OData *odata.OData + Model *PrivateLinkService +} + +// CreateOrUpdate ... +func (c PrivateLinkServicesClient) CreateOrUpdate(ctx context.Context, id PrivateLinkServiceId, input PrivateLinkService) (result CreateOrUpdateOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusCreated, + http.StatusOK, + }, + HttpMethod: http.MethodPut, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + if err = req.Marshal(input); err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client) + if err != nil { + return + } + + return +} + +// CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed +func (c PrivateLinkServicesClient) CreateOrUpdateThenPoll(ctx context.Context, id PrivateLinkServiceId, input PrivateLinkService) error { + result, err := c.CreateOrUpdate(ctx, id, input) + if err != nil { + return fmt.Errorf("performing CreateOrUpdate: %+v", err) + } + + if err := result.Poller.PollUntilDone(ctx); err != nil { + return fmt.Errorf("polling after CreateOrUpdate: %+v", err) + } + + return nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/method_delete.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/method_delete.go new file mode 100644 index 000000000000..d518ac5aede1 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/method_delete.go @@ -0,0 +1,71 @@ +package privatelinkservices + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/client/pollers" + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type DeleteOperationResponse struct { + Poller pollers.Poller + HttpResponse *http.Response + OData *odata.OData +} + +// Delete ... +func (c PrivateLinkServicesClient) Delete(ctx context.Context, id PrivateLinkServiceId) (result DeleteOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusAccepted, + http.StatusNoContent, + http.StatusOK, + }, + HttpMethod: http.MethodDelete, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client) + if err != nil { + return + } + + return +} + +// DeleteThenPoll performs Delete then polls until it's completed +func (c PrivateLinkServicesClient) DeleteThenPoll(ctx context.Context, id PrivateLinkServiceId) error { + result, err := c.Delete(ctx, id) + if err != nil { + return fmt.Errorf("performing Delete: %+v", err) + } + + if err := result.Poller.PollUntilDone(ctx); err != nil { + return fmt.Errorf("polling after Delete: %+v", err) + } + + return nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/method_deleteprivateendpointconnection.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/method_deleteprivateendpointconnection.go new file mode 100644 index 000000000000..92593766f11d --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/method_deleteprivateendpointconnection.go @@ -0,0 +1,71 @@ +package privatelinkservices + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/client/pollers" + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type DeletePrivateEndpointConnectionOperationResponse struct { + Poller pollers.Poller + HttpResponse *http.Response + OData *odata.OData +} + +// DeletePrivateEndpointConnection ... +func (c PrivateLinkServicesClient) DeletePrivateEndpointConnection(ctx context.Context, id PrivateEndpointConnectionId) (result DeletePrivateEndpointConnectionOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusAccepted, + http.StatusNoContent, + http.StatusOK, + }, + HttpMethod: http.MethodDelete, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client) + if err != nil { + return + } + + return +} + +// DeletePrivateEndpointConnectionThenPoll performs DeletePrivateEndpointConnection then polls until it's completed +func (c PrivateLinkServicesClient) DeletePrivateEndpointConnectionThenPoll(ctx context.Context, id PrivateEndpointConnectionId) error { + result, err := c.DeletePrivateEndpointConnection(ctx, id) + if err != nil { + return fmt.Errorf("performing DeletePrivateEndpointConnection: %+v", err) + } + + if err := result.Poller.PollUntilDone(ctx); err != nil { + return fmt.Errorf("polling after DeletePrivateEndpointConnection: %+v", err) + } + + return nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/method_get.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/method_get.go new file mode 100644 index 000000000000..3be1df5bb535 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/method_get.go @@ -0,0 +1,83 @@ +package privatelinkservices + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type GetOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *PrivateLinkService +} + +type GetOperationOptions struct { + Expand *string +} + +func DefaultGetOperationOptions() GetOperationOptions { + return GetOperationOptions{} +} + +func (o GetOperationOptions) ToHeaders() *client.Headers { + out := client.Headers{} + + return &out +} + +func (o GetOperationOptions) ToOData() *odata.Query { + out := odata.Query{} + + return &out +} + +func (o GetOperationOptions) ToQuery() *client.QueryParams { + out := client.QueryParams{} + if o.Expand != nil { + out.Append("$expand", fmt.Sprintf("%v", *o.Expand)) + } + return &out +} + +// Get ... +func (c PrivateLinkServicesClient) Get(ctx context.Context, id PrivateLinkServiceId, options GetOperationOptions) (result GetOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + OptionsObject: options, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var model PrivateLinkService + result.Model = &model + if err = resp.Unmarshal(result.Model); err != nil { + return + } + + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/method_getprivateendpointconnection.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/method_getprivateendpointconnection.go new file mode 100644 index 000000000000..7690b7c62af4 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/method_getprivateendpointconnection.go @@ -0,0 +1,83 @@ +package privatelinkservices + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type GetPrivateEndpointConnectionOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *PrivateEndpointConnection +} + +type GetPrivateEndpointConnectionOperationOptions struct { + Expand *string +} + +func DefaultGetPrivateEndpointConnectionOperationOptions() GetPrivateEndpointConnectionOperationOptions { + return GetPrivateEndpointConnectionOperationOptions{} +} + +func (o GetPrivateEndpointConnectionOperationOptions) ToHeaders() *client.Headers { + out := client.Headers{} + + return &out +} + +func (o GetPrivateEndpointConnectionOperationOptions) ToOData() *odata.Query { + out := odata.Query{} + + return &out +} + +func (o GetPrivateEndpointConnectionOperationOptions) ToQuery() *client.QueryParams { + out := client.QueryParams{} + if o.Expand != nil { + out.Append("$expand", fmt.Sprintf("%v", *o.Expand)) + } + return &out +} + +// GetPrivateEndpointConnection ... +func (c PrivateLinkServicesClient) GetPrivateEndpointConnection(ctx context.Context, id PrivateEndpointConnectionId, options GetPrivateEndpointConnectionOperationOptions) (result GetPrivateEndpointConnectionOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + OptionsObject: options, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var model PrivateEndpointConnection + result.Model = &model + if err = resp.Unmarshal(result.Model); err != nil { + return + } + + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/method_list.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/method_list.go new file mode 100644 index 000000000000..70140c6dc932 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/method_list.go @@ -0,0 +1,106 @@ +package privatelinkservices + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ListOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *[]PrivateLinkService +} + +type ListCompleteResult struct { + LatestHttpResponse *http.Response + Items []PrivateLinkService +} + +type ListCustomPager struct { + NextLink *odata.Link `json:"nextLink"` +} + +func (p *ListCustomPager) NextPageLink() *odata.Link { + defer func() { + p.NextLink = nil + }() + + return p.NextLink +} + +// List ... +func (c PrivateLinkServicesClient) List(ctx context.Context, id commonids.ResourceGroupId) (result ListOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Pager: &ListCustomPager{}, + Path: fmt.Sprintf("%s/providers/Microsoft.Network/privateLinkServices", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.ExecutePaged(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var values struct { + Values *[]PrivateLinkService `json:"value"` + } + if err = resp.Unmarshal(&values); err != nil { + return + } + + result.Model = values.Values + + return +} + +// ListComplete retrieves all the results into a single object +func (c PrivateLinkServicesClient) ListComplete(ctx context.Context, id commonids.ResourceGroupId) (ListCompleteResult, error) { + return c.ListCompleteMatchingPredicate(ctx, id, PrivateLinkServiceOperationPredicate{}) +} + +// ListCompleteMatchingPredicate retrieves all the results and then applies the predicate +func (c PrivateLinkServicesClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate PrivateLinkServiceOperationPredicate) (result ListCompleteResult, err error) { + items := make([]PrivateLinkService, 0) + + resp, err := c.List(ctx, id) + if err != nil { + result.LatestHttpResponse = resp.HttpResponse + err = fmt.Errorf("loading results: %+v", err) + return + } + if resp.Model != nil { + for _, v := range *resp.Model { + if predicate.Matches(v) { + items = append(items, v) + } + } + } + + result = ListCompleteResult{ + LatestHttpResponse: resp.HttpResponse, + Items: items, + } + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/method_listautoapprovedprivatelinkservices.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/method_listautoapprovedprivatelinkservices.go new file mode 100644 index 000000000000..f3156a5739c9 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/method_listautoapprovedprivatelinkservices.go @@ -0,0 +1,105 @@ +package privatelinkservices + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ListAutoApprovedPrivateLinkServicesOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *[]AutoApprovedPrivateLinkService +} + +type ListAutoApprovedPrivateLinkServicesCompleteResult struct { + LatestHttpResponse *http.Response + Items []AutoApprovedPrivateLinkService +} + +type ListAutoApprovedPrivateLinkServicesCustomPager struct { + NextLink *odata.Link `json:"nextLink"` +} + +func (p *ListAutoApprovedPrivateLinkServicesCustomPager) NextPageLink() *odata.Link { + defer func() { + p.NextLink = nil + }() + + return p.NextLink +} + +// ListAutoApprovedPrivateLinkServices ... +func (c PrivateLinkServicesClient) ListAutoApprovedPrivateLinkServices(ctx context.Context, id LocationId) (result ListAutoApprovedPrivateLinkServicesOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Pager: &ListAutoApprovedPrivateLinkServicesCustomPager{}, + Path: fmt.Sprintf("%s/autoApprovedPrivateLinkServices", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.ExecutePaged(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var values struct { + Values *[]AutoApprovedPrivateLinkService `json:"value"` + } + if err = resp.Unmarshal(&values); err != nil { + return + } + + result.Model = values.Values + + return +} + +// ListAutoApprovedPrivateLinkServicesComplete retrieves all the results into a single object +func (c PrivateLinkServicesClient) ListAutoApprovedPrivateLinkServicesComplete(ctx context.Context, id LocationId) (ListAutoApprovedPrivateLinkServicesCompleteResult, error) { + return c.ListAutoApprovedPrivateLinkServicesCompleteMatchingPredicate(ctx, id, AutoApprovedPrivateLinkServiceOperationPredicate{}) +} + +// ListAutoApprovedPrivateLinkServicesCompleteMatchingPredicate retrieves all the results and then applies the predicate +func (c PrivateLinkServicesClient) ListAutoApprovedPrivateLinkServicesCompleteMatchingPredicate(ctx context.Context, id LocationId, predicate AutoApprovedPrivateLinkServiceOperationPredicate) (result ListAutoApprovedPrivateLinkServicesCompleteResult, err error) { + items := make([]AutoApprovedPrivateLinkService, 0) + + resp, err := c.ListAutoApprovedPrivateLinkServices(ctx, id) + if err != nil { + result.LatestHttpResponse = resp.HttpResponse + err = fmt.Errorf("loading results: %+v", err) + return + } + if resp.Model != nil { + for _, v := range *resp.Model { + if predicate.Matches(v) { + items = append(items, v) + } + } + } + + result = ListAutoApprovedPrivateLinkServicesCompleteResult{ + LatestHttpResponse: resp.HttpResponse, + Items: items, + } + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/method_listautoapprovedprivatelinkservicesbyresourcegroup.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/method_listautoapprovedprivatelinkservicesbyresourcegroup.go new file mode 100644 index 000000000000..91eed65255ff --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/method_listautoapprovedprivatelinkservicesbyresourcegroup.go @@ -0,0 +1,105 @@ +package privatelinkservices + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ListAutoApprovedPrivateLinkServicesByResourceGroupOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *[]AutoApprovedPrivateLinkService +} + +type ListAutoApprovedPrivateLinkServicesByResourceGroupCompleteResult struct { + LatestHttpResponse *http.Response + Items []AutoApprovedPrivateLinkService +} + +type ListAutoApprovedPrivateLinkServicesByResourceGroupCustomPager struct { + NextLink *odata.Link `json:"nextLink"` +} + +func (p *ListAutoApprovedPrivateLinkServicesByResourceGroupCustomPager) NextPageLink() *odata.Link { + defer func() { + p.NextLink = nil + }() + + return p.NextLink +} + +// ListAutoApprovedPrivateLinkServicesByResourceGroup ... +func (c PrivateLinkServicesClient) ListAutoApprovedPrivateLinkServicesByResourceGroup(ctx context.Context, id ProviderLocationId) (result ListAutoApprovedPrivateLinkServicesByResourceGroupOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Pager: &ListAutoApprovedPrivateLinkServicesByResourceGroupCustomPager{}, + Path: fmt.Sprintf("%s/autoApprovedPrivateLinkServices", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.ExecutePaged(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var values struct { + Values *[]AutoApprovedPrivateLinkService `json:"value"` + } + if err = resp.Unmarshal(&values); err != nil { + return + } + + result.Model = values.Values + + return +} + +// ListAutoApprovedPrivateLinkServicesByResourceGroupComplete retrieves all the results into a single object +func (c PrivateLinkServicesClient) ListAutoApprovedPrivateLinkServicesByResourceGroupComplete(ctx context.Context, id ProviderLocationId) (ListAutoApprovedPrivateLinkServicesByResourceGroupCompleteResult, error) { + return c.ListAutoApprovedPrivateLinkServicesByResourceGroupCompleteMatchingPredicate(ctx, id, AutoApprovedPrivateLinkServiceOperationPredicate{}) +} + +// ListAutoApprovedPrivateLinkServicesByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate +func (c PrivateLinkServicesClient) ListAutoApprovedPrivateLinkServicesByResourceGroupCompleteMatchingPredicate(ctx context.Context, id ProviderLocationId, predicate AutoApprovedPrivateLinkServiceOperationPredicate) (result ListAutoApprovedPrivateLinkServicesByResourceGroupCompleteResult, err error) { + items := make([]AutoApprovedPrivateLinkService, 0) + + resp, err := c.ListAutoApprovedPrivateLinkServicesByResourceGroup(ctx, id) + if err != nil { + result.LatestHttpResponse = resp.HttpResponse + err = fmt.Errorf("loading results: %+v", err) + return + } + if resp.Model != nil { + for _, v := range *resp.Model { + if predicate.Matches(v) { + items = append(items, v) + } + } + } + + result = ListAutoApprovedPrivateLinkServicesByResourceGroupCompleteResult{ + LatestHttpResponse: resp.HttpResponse, + Items: items, + } + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/method_listbysubscription.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/method_listbysubscription.go new file mode 100644 index 000000000000..63f9d6bf9c61 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/method_listbysubscription.go @@ -0,0 +1,106 @@ +package privatelinkservices + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ListBySubscriptionOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *[]PrivateLinkService +} + +type ListBySubscriptionCompleteResult struct { + LatestHttpResponse *http.Response + Items []PrivateLinkService +} + +type ListBySubscriptionCustomPager struct { + NextLink *odata.Link `json:"nextLink"` +} + +func (p *ListBySubscriptionCustomPager) NextPageLink() *odata.Link { + defer func() { + p.NextLink = nil + }() + + return p.NextLink +} + +// ListBySubscription ... +func (c PrivateLinkServicesClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (result ListBySubscriptionOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Pager: &ListBySubscriptionCustomPager{}, + Path: fmt.Sprintf("%s/providers/Microsoft.Network/privateLinkServices", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.ExecutePaged(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var values struct { + Values *[]PrivateLinkService `json:"value"` + } + if err = resp.Unmarshal(&values); err != nil { + return + } + + result.Model = values.Values + + return +} + +// ListBySubscriptionComplete retrieves all the results into a single object +func (c PrivateLinkServicesClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error) { + return c.ListBySubscriptionCompleteMatchingPredicate(ctx, id, PrivateLinkServiceOperationPredicate{}) +} + +// ListBySubscriptionCompleteMatchingPredicate retrieves all the results and then applies the predicate +func (c PrivateLinkServicesClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate PrivateLinkServiceOperationPredicate) (result ListBySubscriptionCompleteResult, err error) { + items := make([]PrivateLinkService, 0) + + resp, err := c.ListBySubscription(ctx, id) + if err != nil { + result.LatestHttpResponse = resp.HttpResponse + err = fmt.Errorf("loading results: %+v", err) + return + } + if resp.Model != nil { + for _, v := range *resp.Model { + if predicate.Matches(v) { + items = append(items, v) + } + } + } + + result = ListBySubscriptionCompleteResult{ + LatestHttpResponse: resp.HttpResponse, + Items: items, + } + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/method_listprivateendpointconnections.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/method_listprivateendpointconnections.go new file mode 100644 index 000000000000..c4742974fe5e --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/method_listprivateendpointconnections.go @@ -0,0 +1,105 @@ +package privatelinkservices + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ListPrivateEndpointConnectionsOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *[]PrivateEndpointConnection +} + +type ListPrivateEndpointConnectionsCompleteResult struct { + LatestHttpResponse *http.Response + Items []PrivateEndpointConnection +} + +type ListPrivateEndpointConnectionsCustomPager struct { + NextLink *odata.Link `json:"nextLink"` +} + +func (p *ListPrivateEndpointConnectionsCustomPager) NextPageLink() *odata.Link { + defer func() { + p.NextLink = nil + }() + + return p.NextLink +} + +// ListPrivateEndpointConnections ... +func (c PrivateLinkServicesClient) ListPrivateEndpointConnections(ctx context.Context, id PrivateLinkServiceId) (result ListPrivateEndpointConnectionsOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Pager: &ListPrivateEndpointConnectionsCustomPager{}, + Path: fmt.Sprintf("%s/privateEndpointConnections", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.ExecutePaged(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var values struct { + Values *[]PrivateEndpointConnection `json:"value"` + } + if err = resp.Unmarshal(&values); err != nil { + return + } + + result.Model = values.Values + + return +} + +// ListPrivateEndpointConnectionsComplete retrieves all the results into a single object +func (c PrivateLinkServicesClient) ListPrivateEndpointConnectionsComplete(ctx context.Context, id PrivateLinkServiceId) (ListPrivateEndpointConnectionsCompleteResult, error) { + return c.ListPrivateEndpointConnectionsCompleteMatchingPredicate(ctx, id, PrivateEndpointConnectionOperationPredicate{}) +} + +// ListPrivateEndpointConnectionsCompleteMatchingPredicate retrieves all the results and then applies the predicate +func (c PrivateLinkServicesClient) ListPrivateEndpointConnectionsCompleteMatchingPredicate(ctx context.Context, id PrivateLinkServiceId, predicate PrivateEndpointConnectionOperationPredicate) (result ListPrivateEndpointConnectionsCompleteResult, err error) { + items := make([]PrivateEndpointConnection, 0) + + resp, err := c.ListPrivateEndpointConnections(ctx, id) + if err != nil { + result.LatestHttpResponse = resp.HttpResponse + err = fmt.Errorf("loading results: %+v", err) + return + } + if resp.Model != nil { + for _, v := range *resp.Model { + if predicate.Matches(v) { + items = append(items, v) + } + } + } + + result = ListPrivateEndpointConnectionsCompleteResult{ + LatestHttpResponse: resp.HttpResponse, + Items: items, + } + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/method_updateprivateendpointconnection.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/method_updateprivateendpointconnection.go new file mode 100644 index 000000000000..b108db06f2a6 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/method_updateprivateendpointconnection.go @@ -0,0 +1,57 @@ +package privatelinkservices + +import ( + "context" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type UpdatePrivateEndpointConnectionOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *PrivateEndpointConnection +} + +// UpdatePrivateEndpointConnection ... +func (c PrivateLinkServicesClient) UpdatePrivateEndpointConnection(ctx context.Context, id PrivateEndpointConnectionId, input PrivateEndpointConnection) (result UpdatePrivateEndpointConnectionOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodPut, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + if err = req.Marshal(input); err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var model PrivateEndpointConnection + result.Model = &model + if err = resp.Unmarshal(result.Model); err != nil { + return + } + + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_applicationgatewaybackendaddress.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_applicationgatewaybackendaddress.go new file mode 100644 index 000000000000..6e064132ab84 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_applicationgatewaybackendaddress.go @@ -0,0 +1,9 @@ +package privatelinkservices + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayBackendAddress struct { + Fqdn *string `json:"fqdn,omitempty"` + IPAddress *string `json:"ipAddress,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_applicationgatewaybackendaddresspool.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_applicationgatewaybackendaddresspool.go new file mode 100644 index 000000000000..2b8b30f76cf1 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_applicationgatewaybackendaddresspool.go @@ -0,0 +1,12 @@ +package privatelinkservices + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayBackendAddressPool struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *ApplicationGatewayBackendAddressPoolPropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_applicationgatewaybackendaddresspoolpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_applicationgatewaybackendaddresspoolpropertiesformat.go new file mode 100644 index 000000000000..687ec802ef4c --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_applicationgatewaybackendaddresspoolpropertiesformat.go @@ -0,0 +1,10 @@ +package privatelinkservices + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayBackendAddressPoolPropertiesFormat struct { + BackendAddresses *[]ApplicationGatewayBackendAddress `json:"backendAddresses,omitempty"` + BackendIPConfigurations *[]NetworkInterfaceIPConfiguration `json:"backendIPConfigurations,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_applicationgatewayipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_applicationgatewayipconfiguration.go new file mode 100644 index 000000000000..237473164430 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_applicationgatewayipconfiguration.go @@ -0,0 +1,12 @@ +package privatelinkservices + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayIPConfiguration struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *ApplicationGatewayIPConfigurationPropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_applicationgatewayipconfigurationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_applicationgatewayipconfigurationpropertiesformat.go new file mode 100644 index 000000000000..bc231fd9d60b --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_applicationgatewayipconfigurationpropertiesformat.go @@ -0,0 +1,9 @@ +package privatelinkservices + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayIPConfigurationPropertiesFormat struct { + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + Subnet *SubResource `json:"subnet,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_applicationsecuritygroup.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_applicationsecuritygroup.go new file mode 100644 index 000000000000..102038ead97e --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_applicationsecuritygroup.go @@ -0,0 +1,14 @@ +package privatelinkservices + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationSecurityGroup struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Location *string `json:"location,omitempty"` + Name *string `json:"name,omitempty"` + Properties *ApplicationSecurityGroupPropertiesFormat `json:"properties,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_applicationsecuritygrouppropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_applicationsecuritygrouppropertiesformat.go new file mode 100644 index 000000000000..b9a224260e0f --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_applicationsecuritygrouppropertiesformat.go @@ -0,0 +1,9 @@ +package privatelinkservices + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationSecurityGroupPropertiesFormat struct { + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + ResourceGuid *string `json:"resourceGuid,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_autoapprovedprivatelinkservice.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_autoapprovedprivatelinkservice.go new file mode 100644 index 000000000000..e8eb368b9fd7 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_autoapprovedprivatelinkservice.go @@ -0,0 +1,8 @@ +package privatelinkservices + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type AutoApprovedPrivateLinkService struct { + PrivateLinkService *string `json:"privateLinkService,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_backendaddresspool.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_backendaddresspool.go new file mode 100644 index 000000000000..e621fc409e7e --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_backendaddresspool.go @@ -0,0 +1,12 @@ +package privatelinkservices + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type BackendAddressPool struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *BackendAddressPoolPropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_backendaddresspoolpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_backendaddresspoolpropertiesformat.go new file mode 100644 index 000000000000..4fe2c6dad022 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_backendaddresspoolpropertiesformat.go @@ -0,0 +1,19 @@ +package privatelinkservices + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type BackendAddressPoolPropertiesFormat struct { + BackendIPConfigurations *[]NetworkInterfaceIPConfiguration `json:"backendIPConfigurations,omitempty"` + DrainPeriodInSeconds *int64 `json:"drainPeriodInSeconds,omitempty"` + InboundNatRules *[]SubResource `json:"inboundNatRules,omitempty"` + LoadBalancerBackendAddresses *[]LoadBalancerBackendAddress `json:"loadBalancerBackendAddresses,omitempty"` + LoadBalancingRules *[]SubResource `json:"loadBalancingRules,omitempty"` + Location *string `json:"location,omitempty"` + OutboundRule *SubResource `json:"outboundRule,omitempty"` + OutboundRules *[]SubResource `json:"outboundRules,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + SyncMode *SyncMode `json:"syncMode,omitempty"` + TunnelInterfaces *[]GatewayLoadBalancerTunnelInterface `json:"tunnelInterfaces,omitempty"` + VirtualNetwork *SubResource `json:"virtualNetwork,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_checkprivatelinkservicevisibilityrequest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_checkprivatelinkservicevisibilityrequest.go new file mode 100644 index 000000000000..d338d570a52e --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_checkprivatelinkservicevisibilityrequest.go @@ -0,0 +1,8 @@ +package privatelinkservices + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type CheckPrivateLinkServiceVisibilityRequest struct { + PrivateLinkServiceAlias *string `json:"privateLinkServiceAlias,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_customdnsconfigpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_customdnsconfigpropertiesformat.go new file mode 100644 index 000000000000..5bb831424b80 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_customdnsconfigpropertiesformat.go @@ -0,0 +1,9 @@ +package privatelinkservices + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type CustomDnsConfigPropertiesFormat struct { + Fqdn *string `json:"fqdn,omitempty"` + IPAddresses *[]string `json:"ipAddresses,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_ddossettings.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_ddossettings.go new file mode 100644 index 000000000000..a88f6af3346c --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_ddossettings.go @@ -0,0 +1,9 @@ +package privatelinkservices + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type DdosSettings struct { + DdosProtectionPlan *SubResource `json:"ddosProtectionPlan,omitempty"` + ProtectionMode *DdosSettingsProtectionMode `json:"protectionMode,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_delegation.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_delegation.go new file mode 100644 index 000000000000..861d7dccc335 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_delegation.go @@ -0,0 +1,12 @@ +package privatelinkservices + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type Delegation struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *ServiceDelegationPropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_flowlog.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_flowlog.go new file mode 100644 index 000000000000..a7a48567b588 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_flowlog.go @@ -0,0 +1,19 @@ +package privatelinkservices + +import ( + "github.com/hashicorp/go-azure-helpers/resourcemanager/identity" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type FlowLog struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Identity *identity.SystemAndUserAssignedMap `json:"identity,omitempty"` + Location *string `json:"location,omitempty"` + Name *string `json:"name,omitempty"` + Properties *FlowLogPropertiesFormat `json:"properties,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_flowlogformatparameters.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_flowlogformatparameters.go new file mode 100644 index 000000000000..e5d4b9b0d2f6 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_flowlogformatparameters.go @@ -0,0 +1,9 @@ +package privatelinkservices + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type FlowLogFormatParameters struct { + Type *FlowLogFormatType `json:"type,omitempty"` + Version *int64 `json:"version,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_flowlogpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_flowlogpropertiesformat.go new file mode 100644 index 000000000000..f7d23503742a --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_flowlogpropertiesformat.go @@ -0,0 +1,16 @@ +package privatelinkservices + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type FlowLogPropertiesFormat struct { + Enabled *bool `json:"enabled,omitempty"` + EnabledFilteringCriteria *string `json:"enabledFilteringCriteria,omitempty"` + FlowAnalyticsConfiguration *TrafficAnalyticsProperties `json:"flowAnalyticsConfiguration,omitempty"` + Format *FlowLogFormatParameters `json:"format,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + RetentionPolicy *RetentionPolicyParameters `json:"retentionPolicy,omitempty"` + StorageId string `json:"storageId"` + TargetResourceGuid *string `json:"targetResourceGuid,omitempty"` + TargetResourceId string `json:"targetResourceId"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_frontendipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_frontendipconfiguration.go new file mode 100644 index 000000000000..c4908a4dc2b4 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_frontendipconfiguration.go @@ -0,0 +1,17 @@ +package privatelinkservices + +import ( + "github.com/hashicorp/go-azure-helpers/resourcemanager/zones" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type FrontendIPConfiguration struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *FrontendIPConfigurationPropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` + Zones *zones.Schema `json:"zones,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_frontendipconfigurationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_frontendipconfigurationpropertiesformat.go new file mode 100644 index 000000000000..2a655d02dfc1 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_frontendipconfigurationpropertiesformat.go @@ -0,0 +1,19 @@ +package privatelinkservices + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type FrontendIPConfigurationPropertiesFormat struct { + GatewayLoadBalancer *SubResource `json:"gatewayLoadBalancer,omitempty"` + InboundNatPools *[]SubResource `json:"inboundNatPools,omitempty"` + InboundNatRules *[]SubResource `json:"inboundNatRules,omitempty"` + LoadBalancingRules *[]SubResource `json:"loadBalancingRules,omitempty"` + OutboundRules *[]SubResource `json:"outboundRules,omitempty"` + PrivateIPAddress *string `json:"privateIPAddress,omitempty"` + PrivateIPAddressVersion *IPVersion `json:"privateIPAddressVersion,omitempty"` + PrivateIPAllocationMethod *IPAllocationMethod `json:"privateIPAllocationMethod,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + PublicIPAddress *PublicIPAddress `json:"publicIPAddress,omitempty"` + PublicIPPrefix *SubResource `json:"publicIPPrefix,omitempty"` + Subnet *Subnet `json:"subnet,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_gatewayloadbalancertunnelinterface.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_gatewayloadbalancertunnelinterface.go new file mode 100644 index 000000000000..57e817e63b2f --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_gatewayloadbalancertunnelinterface.go @@ -0,0 +1,11 @@ +package privatelinkservices + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type GatewayLoadBalancerTunnelInterface struct { + Identifier *int64 `json:"identifier,omitempty"` + Port *int64 `json:"port,omitempty"` + Protocol *GatewayLoadBalancerTunnelProtocol `json:"protocol,omitempty"` + Type *GatewayLoadBalancerTunnelInterfaceType `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_inboundnatrule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_inboundnatrule.go new file mode 100644 index 000000000000..acd7d0aa7090 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_inboundnatrule.go @@ -0,0 +1,12 @@ +package privatelinkservices + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type InboundNatRule struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *InboundNatRulePropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_inboundnatrulepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_inboundnatrulepropertiesformat.go new file mode 100644 index 000000000000..8bf73e3faf8a --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_inboundnatrulepropertiesformat.go @@ -0,0 +1,19 @@ +package privatelinkservices + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type InboundNatRulePropertiesFormat struct { + BackendAddressPool *SubResource `json:"backendAddressPool,omitempty"` + BackendIPConfiguration *NetworkInterfaceIPConfiguration `json:"backendIPConfiguration,omitempty"` + BackendPort *int64 `json:"backendPort,omitempty"` + EnableFloatingIP *bool `json:"enableFloatingIP,omitempty"` + EnableTcpReset *bool `json:"enableTcpReset,omitempty"` + FrontendIPConfiguration *SubResource `json:"frontendIPConfiguration,omitempty"` + FrontendPort *int64 `json:"frontendPort,omitempty"` + FrontendPortRangeEnd *int64 `json:"frontendPortRangeEnd,omitempty"` + FrontendPortRangeStart *int64 `json:"frontendPortRangeStart,omitempty"` + IdleTimeoutInMinutes *int64 `json:"idleTimeoutInMinutes,omitempty"` + Protocol *TransportProtocol `json:"protocol,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_ipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_ipconfiguration.go new file mode 100644 index 000000000000..3ad6065a48e0 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_ipconfiguration.go @@ -0,0 +1,11 @@ +package privatelinkservices + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type IPConfiguration struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *IPConfigurationPropertiesFormat `json:"properties,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_ipconfigurationprofile.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_ipconfigurationprofile.go new file mode 100644 index 000000000000..0b4a7cbc860d --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_ipconfigurationprofile.go @@ -0,0 +1,12 @@ +package privatelinkservices + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type IPConfigurationProfile struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *IPConfigurationProfilePropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_ipconfigurationprofilepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_ipconfigurationprofilepropertiesformat.go new file mode 100644 index 000000000000..f1bae207cc2e --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_ipconfigurationprofilepropertiesformat.go @@ -0,0 +1,9 @@ +package privatelinkservices + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type IPConfigurationProfilePropertiesFormat struct { + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + Subnet *Subnet `json:"subnet,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_ipconfigurationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_ipconfigurationpropertiesformat.go new file mode 100644 index 000000000000..2852a27e2c3b --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_ipconfigurationpropertiesformat.go @@ -0,0 +1,12 @@ +package privatelinkservices + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type IPConfigurationPropertiesFormat struct { + PrivateIPAddress *string `json:"privateIPAddress,omitempty"` + PrivateIPAllocationMethod *IPAllocationMethod `json:"privateIPAllocationMethod,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + PublicIPAddress *PublicIPAddress `json:"publicIPAddress,omitempty"` + Subnet *Subnet `json:"subnet,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_iptag.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_iptag.go new file mode 100644 index 000000000000..a7e33392ad27 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_iptag.go @@ -0,0 +1,9 @@ +package privatelinkservices + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type IPTag struct { + IPTagType *string `json:"ipTagType,omitempty"` + Tag *string `json:"tag,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_loadbalancerbackendaddress.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_loadbalancerbackendaddress.go new file mode 100644 index 000000000000..09bc3c7f06cc --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_loadbalancerbackendaddress.go @@ -0,0 +1,9 @@ +package privatelinkservices + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type LoadBalancerBackendAddress struct { + Name *string `json:"name,omitempty"` + Properties *LoadBalancerBackendAddressPropertiesFormat `json:"properties,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_loadbalancerbackendaddresspropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_loadbalancerbackendaddresspropertiesformat.go new file mode 100644 index 000000000000..a567721ac6c7 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_loadbalancerbackendaddresspropertiesformat.go @@ -0,0 +1,14 @@ +package privatelinkservices + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type LoadBalancerBackendAddressPropertiesFormat struct { + AdminState *LoadBalancerBackendAddressAdminState `json:"adminState,omitempty"` + IPAddress *string `json:"ipAddress,omitempty"` + InboundNatRulesPortMapping *[]NatRulePortMapping `json:"inboundNatRulesPortMapping,omitempty"` + LoadBalancerFrontendIPConfiguration *SubResource `json:"loadBalancerFrontendIPConfiguration,omitempty"` + NetworkInterfaceIPConfiguration *SubResource `json:"networkInterfaceIPConfiguration,omitempty"` + Subnet *SubResource `json:"subnet,omitempty"` + VirtualNetwork *SubResource `json:"virtualNetwork,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_natgateway.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_natgateway.go new file mode 100644 index 000000000000..077d2bc5d5fe --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_natgateway.go @@ -0,0 +1,20 @@ +package privatelinkservices + +import ( + "github.com/hashicorp/go-azure-helpers/resourcemanager/zones" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NatGateway struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Location *string `json:"location,omitempty"` + Name *string `json:"name,omitempty"` + Properties *NatGatewayPropertiesFormat `json:"properties,omitempty"` + Sku *NatGatewaySku `json:"sku,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` + Zones *zones.Schema `json:"zones,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_natgatewaypropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_natgatewaypropertiesformat.go new file mode 100644 index 000000000000..85150f10453f --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_natgatewaypropertiesformat.go @@ -0,0 +1,13 @@ +package privatelinkservices + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NatGatewayPropertiesFormat struct { + IdleTimeoutInMinutes *int64 `json:"idleTimeoutInMinutes,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + PublicIPAddresses *[]SubResource `json:"publicIpAddresses,omitempty"` + PublicIPPrefixes *[]SubResource `json:"publicIpPrefixes,omitempty"` + ResourceGuid *string `json:"resourceGuid,omitempty"` + Subnets *[]SubResource `json:"subnets,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_natgatewaysku.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_natgatewaysku.go new file mode 100644 index 000000000000..ceae4c333727 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_natgatewaysku.go @@ -0,0 +1,8 @@ +package privatelinkservices + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NatGatewaySku struct { + Name *NatGatewaySkuName `json:"name,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_natruleportmapping.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_natruleportmapping.go new file mode 100644 index 000000000000..e081a3363759 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_natruleportmapping.go @@ -0,0 +1,10 @@ +package privatelinkservices + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NatRulePortMapping struct { + BackendPort *int64 `json:"backendPort,omitempty"` + FrontendPort *int64 `json:"frontendPort,omitempty"` + InboundNatRuleName *string `json:"inboundNatRuleName,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_networkinterface.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_networkinterface.go new file mode 100644 index 000000000000..6ac282778d78 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_networkinterface.go @@ -0,0 +1,19 @@ +package privatelinkservices + +import ( + "github.com/hashicorp/go-azure-helpers/resourcemanager/edgezones" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NetworkInterface struct { + Etag *string `json:"etag,omitempty"` + ExtendedLocation *edgezones.Model `json:"extendedLocation,omitempty"` + Id *string `json:"id,omitempty"` + Location *string `json:"location,omitempty"` + Name *string `json:"name,omitempty"` + Properties *NetworkInterfacePropertiesFormat `json:"properties,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_networkinterfacednssettings.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_networkinterfacednssettings.go new file mode 100644 index 000000000000..b7993919c629 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_networkinterfacednssettings.go @@ -0,0 +1,12 @@ +package privatelinkservices + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NetworkInterfaceDnsSettings struct { + AppliedDnsServers *[]string `json:"appliedDnsServers,omitempty"` + DnsServers *[]string `json:"dnsServers,omitempty"` + InternalDnsNameLabel *string `json:"internalDnsNameLabel,omitempty"` + InternalDomainNameSuffix *string `json:"internalDomainNameSuffix,omitempty"` + InternalFqdn *string `json:"internalFqdn,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_networkinterfaceipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_networkinterfaceipconfiguration.go new file mode 100644 index 000000000000..766f136f8526 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_networkinterfaceipconfiguration.go @@ -0,0 +1,12 @@ +package privatelinkservices + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NetworkInterfaceIPConfiguration struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *NetworkInterfaceIPConfigurationPropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_networkinterfaceipconfigurationprivatelinkconnectionproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_networkinterfaceipconfigurationprivatelinkconnectionproperties.go new file mode 100644 index 000000000000..4e4cefa66b4b --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_networkinterfaceipconfigurationprivatelinkconnectionproperties.go @@ -0,0 +1,10 @@ +package privatelinkservices + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties struct { + Fqdns *[]string `json:"fqdns,omitempty"` + GroupId *string `json:"groupId,omitempty"` + RequiredMemberName *string `json:"requiredMemberName,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_networkinterfaceipconfigurationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_networkinterfaceipconfigurationpropertiesformat.go new file mode 100644 index 000000000000..9574d8285606 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_networkinterfaceipconfigurationpropertiesformat.go @@ -0,0 +1,22 @@ +package privatelinkservices + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NetworkInterfaceIPConfigurationPropertiesFormat struct { + ApplicationGatewayBackendAddressPools *[]ApplicationGatewayBackendAddressPool `json:"applicationGatewayBackendAddressPools,omitempty"` + ApplicationSecurityGroups *[]ApplicationSecurityGroup `json:"applicationSecurityGroups,omitempty"` + GatewayLoadBalancer *SubResource `json:"gatewayLoadBalancer,omitempty"` + LoadBalancerBackendAddressPools *[]BackendAddressPool `json:"loadBalancerBackendAddressPools,omitempty"` + LoadBalancerInboundNatRules *[]InboundNatRule `json:"loadBalancerInboundNatRules,omitempty"` + Primary *bool `json:"primary,omitempty"` + PrivateIPAddress *string `json:"privateIPAddress,omitempty"` + PrivateIPAddressPrefixLength *int64 `json:"privateIPAddressPrefixLength,omitempty"` + PrivateIPAddressVersion *IPVersion `json:"privateIPAddressVersion,omitempty"` + PrivateIPAllocationMethod *IPAllocationMethod `json:"privateIPAllocationMethod,omitempty"` + PrivateLinkConnectionProperties *NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties `json:"privateLinkConnectionProperties,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + PublicIPAddress *PublicIPAddress `json:"publicIPAddress,omitempty"` + Subnet *Subnet `json:"subnet,omitempty"` + VirtualNetworkTaps *[]VirtualNetworkTap `json:"virtualNetworkTaps,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_networkinterfacepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_networkinterfacepropertiesformat.go new file mode 100644 index 000000000000..1c2bfc6ae43c --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_networkinterfacepropertiesformat.go @@ -0,0 +1,29 @@ +package privatelinkservices + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NetworkInterfacePropertiesFormat struct { + AuxiliaryMode *NetworkInterfaceAuxiliaryMode `json:"auxiliaryMode,omitempty"` + AuxiliarySku *NetworkInterfaceAuxiliarySku `json:"auxiliarySku,omitempty"` + DisableTcpStateTracking *bool `json:"disableTcpStateTracking,omitempty"` + DnsSettings *NetworkInterfaceDnsSettings `json:"dnsSettings,omitempty"` + DscpConfiguration *SubResource `json:"dscpConfiguration,omitempty"` + EnableAcceleratedNetworking *bool `json:"enableAcceleratedNetworking,omitempty"` + EnableIPForwarding *bool `json:"enableIPForwarding,omitempty"` + HostedWorkloads *[]string `json:"hostedWorkloads,omitempty"` + IPConfigurations *[]NetworkInterfaceIPConfiguration `json:"ipConfigurations,omitempty"` + MacAddress *string `json:"macAddress,omitempty"` + MigrationPhase *NetworkInterfaceMigrationPhase `json:"migrationPhase,omitempty"` + NetworkSecurityGroup *NetworkSecurityGroup `json:"networkSecurityGroup,omitempty"` + NicType *NetworkInterfaceNicType `json:"nicType,omitempty"` + Primary *bool `json:"primary,omitempty"` + PrivateEndpoint *PrivateEndpoint `json:"privateEndpoint,omitempty"` + PrivateLinkService *PrivateLinkService `json:"privateLinkService,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + ResourceGuid *string `json:"resourceGuid,omitempty"` + TapConfigurations *[]NetworkInterfaceTapConfiguration `json:"tapConfigurations,omitempty"` + VirtualMachine *SubResource `json:"virtualMachine,omitempty"` + VnetEncryptionSupported *bool `json:"vnetEncryptionSupported,omitempty"` + WorkloadType *string `json:"workloadType,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_networkinterfacetapconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_networkinterfacetapconfiguration.go new file mode 100644 index 000000000000..66b7aeeab62b --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_networkinterfacetapconfiguration.go @@ -0,0 +1,12 @@ +package privatelinkservices + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NetworkInterfaceTapConfiguration struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *NetworkInterfaceTapConfigurationPropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_networkinterfacetapconfigurationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_networkinterfacetapconfigurationpropertiesformat.go new file mode 100644 index 000000000000..307c8944af02 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_networkinterfacetapconfigurationpropertiesformat.go @@ -0,0 +1,9 @@ +package privatelinkservices + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NetworkInterfaceTapConfigurationPropertiesFormat struct { + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + VirtualNetworkTap *VirtualNetworkTap `json:"virtualNetworkTap,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_networksecuritygroup.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_networksecuritygroup.go new file mode 100644 index 000000000000..1a2792e0f884 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_networksecuritygroup.go @@ -0,0 +1,14 @@ +package privatelinkservices + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NetworkSecurityGroup struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Location *string `json:"location,omitempty"` + Name *string `json:"name,omitempty"` + Properties *NetworkSecurityGroupPropertiesFormat `json:"properties,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_networksecuritygrouppropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_networksecuritygrouppropertiesformat.go new file mode 100644 index 000000000000..7990d29a1bbd --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_networksecuritygrouppropertiesformat.go @@ -0,0 +1,15 @@ +package privatelinkservices + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NetworkSecurityGroupPropertiesFormat struct { + DefaultSecurityRules *[]SecurityRule `json:"defaultSecurityRules,omitempty"` + FlowLogs *[]FlowLog `json:"flowLogs,omitempty"` + FlushConnection *bool `json:"flushConnection,omitempty"` + NetworkInterfaces *[]NetworkInterface `json:"networkInterfaces,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + ResourceGuid *string `json:"resourceGuid,omitempty"` + SecurityRules *[]SecurityRule `json:"securityRules,omitempty"` + Subnets *[]Subnet `json:"subnets,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_privateendpoint.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_privateendpoint.go new file mode 100644 index 000000000000..d3a77eea7544 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_privateendpoint.go @@ -0,0 +1,19 @@ +package privatelinkservices + +import ( + "github.com/hashicorp/go-azure-helpers/resourcemanager/edgezones" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PrivateEndpoint struct { + Etag *string `json:"etag,omitempty"` + ExtendedLocation *edgezones.Model `json:"extendedLocation,omitempty"` + Id *string `json:"id,omitempty"` + Location *string `json:"location,omitempty"` + Name *string `json:"name,omitempty"` + Properties *PrivateEndpointProperties `json:"properties,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_privateendpointconnection.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_privateendpointconnection.go new file mode 100644 index 000000000000..bb755a705364 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_privateendpointconnection.go @@ -0,0 +1,12 @@ +package privatelinkservices + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PrivateEndpointConnection struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *PrivateEndpointConnectionProperties `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_privateendpointconnectionproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_privateendpointconnectionproperties.go new file mode 100644 index 000000000000..5966a68df2a8 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_privateendpointconnectionproperties.go @@ -0,0 +1,12 @@ +package privatelinkservices + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PrivateEndpointConnectionProperties struct { + LinkIdentifier *string `json:"linkIdentifier,omitempty"` + PrivateEndpoint *PrivateEndpoint `json:"privateEndpoint,omitempty"` + PrivateEndpointLocation *string `json:"privateEndpointLocation,omitempty"` + PrivateLinkServiceConnectionState *PrivateLinkServiceConnectionState `json:"privateLinkServiceConnectionState,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_privateendpointipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_privateendpointipconfiguration.go new file mode 100644 index 000000000000..6327ca28ff1d --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_privateendpointipconfiguration.go @@ -0,0 +1,11 @@ +package privatelinkservices + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PrivateEndpointIPConfiguration struct { + Etag *string `json:"etag,omitempty"` + Name *string `json:"name,omitempty"` + Properties *PrivateEndpointIPConfigurationProperties `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_privateendpointipconfigurationproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_privateendpointipconfigurationproperties.go new file mode 100644 index 000000000000..5e70530aabf8 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_privateendpointipconfigurationproperties.go @@ -0,0 +1,10 @@ +package privatelinkservices + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PrivateEndpointIPConfigurationProperties struct { + GroupId *string `json:"groupId,omitempty"` + MemberName *string `json:"memberName,omitempty"` + PrivateIPAddress *string `json:"privateIPAddress,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_privateendpointproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_privateendpointproperties.go new file mode 100644 index 000000000000..4d6d18b46a59 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_privateendpointproperties.go @@ -0,0 +1,16 @@ +package privatelinkservices + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PrivateEndpointProperties struct { + ApplicationSecurityGroups *[]ApplicationSecurityGroup `json:"applicationSecurityGroups,omitempty"` + CustomDnsConfigs *[]CustomDnsConfigPropertiesFormat `json:"customDnsConfigs,omitempty"` + CustomNetworkInterfaceName *string `json:"customNetworkInterfaceName,omitempty"` + IPConfigurations *[]PrivateEndpointIPConfiguration `json:"ipConfigurations,omitempty"` + ManualPrivateLinkServiceConnections *[]PrivateLinkServiceConnection `json:"manualPrivateLinkServiceConnections,omitempty"` + NetworkInterfaces *[]NetworkInterface `json:"networkInterfaces,omitempty"` + PrivateLinkServiceConnections *[]PrivateLinkServiceConnection `json:"privateLinkServiceConnections,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + Subnet *Subnet `json:"subnet,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_privatelinkservice.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_privatelinkservice.go new file mode 100644 index 000000000000..4a672116bc2b --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_privatelinkservice.go @@ -0,0 +1,19 @@ +package privatelinkservices + +import ( + "github.com/hashicorp/go-azure-helpers/resourcemanager/edgezones" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PrivateLinkService struct { + Etag *string `json:"etag,omitempty"` + ExtendedLocation *edgezones.Model `json:"extendedLocation,omitempty"` + Id *string `json:"id,omitempty"` + Location *string `json:"location,omitempty"` + Name *string `json:"name,omitempty"` + Properties *PrivateLinkServiceProperties `json:"properties,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_privatelinkserviceconnection.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_privatelinkserviceconnection.go new file mode 100644 index 000000000000..eb5e26941fdf --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_privatelinkserviceconnection.go @@ -0,0 +1,12 @@ +package privatelinkservices + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PrivateLinkServiceConnection struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *PrivateLinkServiceConnectionProperties `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_privatelinkserviceconnectionproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_privatelinkserviceconnectionproperties.go new file mode 100644 index 000000000000..a991f868fe87 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_privatelinkserviceconnectionproperties.go @@ -0,0 +1,12 @@ +package privatelinkservices + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PrivateLinkServiceConnectionProperties struct { + GroupIds *[]string `json:"groupIds,omitempty"` + PrivateLinkServiceConnectionState *PrivateLinkServiceConnectionState `json:"privateLinkServiceConnectionState,omitempty"` + PrivateLinkServiceId *string `json:"privateLinkServiceId,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + RequestMessage *string `json:"requestMessage,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_privatelinkserviceconnectionstate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_privatelinkserviceconnectionstate.go new file mode 100644 index 000000000000..f227e3d5e6ce --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_privatelinkserviceconnectionstate.go @@ -0,0 +1,10 @@ +package privatelinkservices + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PrivateLinkServiceConnectionState struct { + ActionsRequired *string `json:"actionsRequired,omitempty"` + Description *string `json:"description,omitempty"` + Status *string `json:"status,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_privatelinkserviceipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_privatelinkserviceipconfiguration.go new file mode 100644 index 000000000000..de38cfbbde6c --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_privatelinkserviceipconfiguration.go @@ -0,0 +1,12 @@ +package privatelinkservices + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PrivateLinkServiceIPConfiguration struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *PrivateLinkServiceIPConfigurationProperties `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_privatelinkserviceipconfigurationproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_privatelinkserviceipconfigurationproperties.go new file mode 100644 index 000000000000..b1809f0d71c0 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_privatelinkserviceipconfigurationproperties.go @@ -0,0 +1,13 @@ +package privatelinkservices + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PrivateLinkServiceIPConfigurationProperties struct { + Primary *bool `json:"primary,omitempty"` + PrivateIPAddress *string `json:"privateIPAddress,omitempty"` + PrivateIPAddressVersion *IPVersion `json:"privateIPAddressVersion,omitempty"` + PrivateIPAllocationMethod *IPAllocationMethod `json:"privateIPAllocationMethod,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + Subnet *Subnet `json:"subnet,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_privatelinkserviceproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_privatelinkserviceproperties.go new file mode 100644 index 000000000000..1dbb659e8729 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_privatelinkserviceproperties.go @@ -0,0 +1,18 @@ +package privatelinkservices + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PrivateLinkServiceProperties struct { + Alias *string `json:"alias,omitempty"` + AutoApproval *ResourceSet `json:"autoApproval,omitempty"` + DestinationIPAddress *string `json:"destinationIPAddress,omitempty"` + EnableProxyProtocol *bool `json:"enableProxyProtocol,omitempty"` + Fqdns *[]string `json:"fqdns,omitempty"` + IPConfigurations *[]PrivateLinkServiceIPConfiguration `json:"ipConfigurations,omitempty"` + LoadBalancerFrontendIPConfigurations *[]FrontendIPConfiguration `json:"loadBalancerFrontendIpConfigurations,omitempty"` + NetworkInterfaces *[]NetworkInterface `json:"networkInterfaces,omitempty"` + PrivateEndpointConnections *[]PrivateEndpointConnection `json:"privateEndpointConnections,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + Visibility *ResourceSet `json:"visibility,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_privatelinkservicevisibility.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_privatelinkservicevisibility.go new file mode 100644 index 000000000000..38f95ae51a17 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_privatelinkservicevisibility.go @@ -0,0 +1,8 @@ +package privatelinkservices + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PrivateLinkServiceVisibility struct { + Visible *bool `json:"visible,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_publicipaddress.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_publicipaddress.go new file mode 100644 index 000000000000..cdcddd86935e --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_publicipaddress.go @@ -0,0 +1,22 @@ +package privatelinkservices + +import ( + "github.com/hashicorp/go-azure-helpers/resourcemanager/edgezones" + "github.com/hashicorp/go-azure-helpers/resourcemanager/zones" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PublicIPAddress struct { + Etag *string `json:"etag,omitempty"` + ExtendedLocation *edgezones.Model `json:"extendedLocation,omitempty"` + Id *string `json:"id,omitempty"` + Location *string `json:"location,omitempty"` + Name *string `json:"name,omitempty"` + Properties *PublicIPAddressPropertiesFormat `json:"properties,omitempty"` + Sku *PublicIPAddressSku `json:"sku,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` + Zones *zones.Schema `json:"zones,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_publicipaddressdnssettings.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_publicipaddressdnssettings.go new file mode 100644 index 000000000000..268300edf0bc --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_publicipaddressdnssettings.go @@ -0,0 +1,11 @@ +package privatelinkservices + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PublicIPAddressDnsSettings struct { + DomainNameLabel *string `json:"domainNameLabel,omitempty"` + DomainNameLabelScope *PublicIPAddressDnsSettingsDomainNameLabelScope `json:"domainNameLabelScope,omitempty"` + Fqdn *string `json:"fqdn,omitempty"` + ReverseFqdn *string `json:"reverseFqdn,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_publicipaddresspropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_publicipaddresspropertiesformat.go new file mode 100644 index 000000000000..2b9a811495b0 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_publicipaddresspropertiesformat.go @@ -0,0 +1,23 @@ +package privatelinkservices + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PublicIPAddressPropertiesFormat struct { + DdosSettings *DdosSettings `json:"ddosSettings,omitempty"` + DeleteOption *DeleteOptions `json:"deleteOption,omitempty"` + DnsSettings *PublicIPAddressDnsSettings `json:"dnsSettings,omitempty"` + IPAddress *string `json:"ipAddress,omitempty"` + IPConfiguration *IPConfiguration `json:"ipConfiguration,omitempty"` + IPTags *[]IPTag `json:"ipTags,omitempty"` + IdleTimeoutInMinutes *int64 `json:"idleTimeoutInMinutes,omitempty"` + LinkedPublicIPAddress *PublicIPAddress `json:"linkedPublicIPAddress,omitempty"` + MigrationPhase *PublicIPAddressMigrationPhase `json:"migrationPhase,omitempty"` + NatGateway *NatGateway `json:"natGateway,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + PublicIPAddressVersion *IPVersion `json:"publicIPAddressVersion,omitempty"` + PublicIPAllocationMethod *IPAllocationMethod `json:"publicIPAllocationMethod,omitempty"` + PublicIPPrefix *SubResource `json:"publicIPPrefix,omitempty"` + ResourceGuid *string `json:"resourceGuid,omitempty"` + ServicePublicIPAddress *PublicIPAddress `json:"servicePublicIPAddress,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_publicipaddresssku.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_publicipaddresssku.go new file mode 100644 index 000000000000..80c5ef44ece2 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_publicipaddresssku.go @@ -0,0 +1,9 @@ +package privatelinkservices + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PublicIPAddressSku struct { + Name *PublicIPAddressSkuName `json:"name,omitempty"` + Tier *PublicIPAddressSkuTier `json:"tier,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_resourcenavigationlink.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_resourcenavigationlink.go new file mode 100644 index 000000000000..68ad67e053ed --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_resourcenavigationlink.go @@ -0,0 +1,12 @@ +package privatelinkservices + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ResourceNavigationLink struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *ResourceNavigationLinkFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_resourcenavigationlinkformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_resourcenavigationlinkformat.go new file mode 100644 index 000000000000..57d6954d2945 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_resourcenavigationlinkformat.go @@ -0,0 +1,10 @@ +package privatelinkservices + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ResourceNavigationLinkFormat struct { + Link *string `json:"link,omitempty"` + LinkedResourceType *string `json:"linkedResourceType,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_resourceset.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_resourceset.go new file mode 100644 index 000000000000..e923870d39f6 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_resourceset.go @@ -0,0 +1,8 @@ +package privatelinkservices + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ResourceSet struct { + Subscriptions *[]string `json:"subscriptions,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_retentionpolicyparameters.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_retentionpolicyparameters.go new file mode 100644 index 000000000000..96f988841633 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_retentionpolicyparameters.go @@ -0,0 +1,9 @@ +package privatelinkservices + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type RetentionPolicyParameters struct { + Days *int64 `json:"days,omitempty"` + Enabled *bool `json:"enabled,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_route.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_route.go new file mode 100644 index 000000000000..901d0eadcc62 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_route.go @@ -0,0 +1,12 @@ +package privatelinkservices + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type Route struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *RoutePropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_routepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_routepropertiesformat.go new file mode 100644 index 000000000000..120882489684 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_routepropertiesformat.go @@ -0,0 +1,12 @@ +package privatelinkservices + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type RoutePropertiesFormat struct { + AddressPrefix *string `json:"addressPrefix,omitempty"` + HasBgpOverride *bool `json:"hasBgpOverride,omitempty"` + NextHopIPAddress *string `json:"nextHopIpAddress,omitempty"` + NextHopType RouteNextHopType `json:"nextHopType"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_routetable.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_routetable.go new file mode 100644 index 000000000000..8afe228ccfd7 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_routetable.go @@ -0,0 +1,14 @@ +package privatelinkservices + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type RouteTable struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Location *string `json:"location,omitempty"` + Name *string `json:"name,omitempty"` + Properties *RouteTablePropertiesFormat `json:"properties,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_routetablepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_routetablepropertiesformat.go new file mode 100644 index 000000000000..6377cd08fd9b --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_routetablepropertiesformat.go @@ -0,0 +1,12 @@ +package privatelinkservices + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type RouteTablePropertiesFormat struct { + DisableBgpRoutePropagation *bool `json:"disableBgpRoutePropagation,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + ResourceGuid *string `json:"resourceGuid,omitempty"` + Routes *[]Route `json:"routes,omitempty"` + Subnets *[]Subnet `json:"subnets,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_securityrule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_securityrule.go new file mode 100644 index 000000000000..df53714a81ca --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_securityrule.go @@ -0,0 +1,12 @@ +package privatelinkservices + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type SecurityRule struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *SecurityRulePropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_securityrulepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_securityrulepropertiesformat.go new file mode 100644 index 000000000000..52b151efed9a --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_securityrulepropertiesformat.go @@ -0,0 +1,23 @@ +package privatelinkservices + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type SecurityRulePropertiesFormat struct { + Access SecurityRuleAccess `json:"access"` + Description *string `json:"description,omitempty"` + DestinationAddressPrefix *string `json:"destinationAddressPrefix,omitempty"` + DestinationAddressPrefixes *[]string `json:"destinationAddressPrefixes,omitempty"` + DestinationApplicationSecurityGroups *[]ApplicationSecurityGroup `json:"destinationApplicationSecurityGroups,omitempty"` + DestinationPortRange *string `json:"destinationPortRange,omitempty"` + DestinationPortRanges *[]string `json:"destinationPortRanges,omitempty"` + Direction SecurityRuleDirection `json:"direction"` + Priority int64 `json:"priority"` + Protocol SecurityRuleProtocol `json:"protocol"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + SourceAddressPrefix *string `json:"sourceAddressPrefix,omitempty"` + SourceAddressPrefixes *[]string `json:"sourceAddressPrefixes,omitempty"` + SourceApplicationSecurityGroups *[]ApplicationSecurityGroup `json:"sourceApplicationSecurityGroups,omitempty"` + SourcePortRange *string `json:"sourcePortRange,omitempty"` + SourcePortRanges *[]string `json:"sourcePortRanges,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_serviceassociationlink.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_serviceassociationlink.go new file mode 100644 index 000000000000..5f9234cbb828 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_serviceassociationlink.go @@ -0,0 +1,12 @@ +package privatelinkservices + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ServiceAssociationLink struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *ServiceAssociationLinkPropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_serviceassociationlinkpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_serviceassociationlinkpropertiesformat.go new file mode 100644 index 000000000000..87f29c8ca656 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_serviceassociationlinkpropertiesformat.go @@ -0,0 +1,12 @@ +package privatelinkservices + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ServiceAssociationLinkPropertiesFormat struct { + AllowDelete *bool `json:"allowDelete,omitempty"` + Link *string `json:"link,omitempty"` + LinkedResourceType *string `json:"linkedResourceType,omitempty"` + Locations *[]string `json:"locations,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_servicedelegationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_servicedelegationpropertiesformat.go new file mode 100644 index 000000000000..2ad5375c2ca3 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_servicedelegationpropertiesformat.go @@ -0,0 +1,10 @@ +package privatelinkservices + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ServiceDelegationPropertiesFormat struct { + Actions *[]string `json:"actions,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + ServiceName *string `json:"serviceName,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_serviceendpointpolicy.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_serviceendpointpolicy.go new file mode 100644 index 000000000000..c93c759f93a6 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_serviceendpointpolicy.go @@ -0,0 +1,15 @@ +package privatelinkservices + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ServiceEndpointPolicy struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Kind *string `json:"kind,omitempty"` + Location *string `json:"location,omitempty"` + Name *string `json:"name,omitempty"` + Properties *ServiceEndpointPolicyPropertiesFormat `json:"properties,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_serviceendpointpolicydefinition.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_serviceendpointpolicydefinition.go new file mode 100644 index 000000000000..d1116eb2a61d --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_serviceendpointpolicydefinition.go @@ -0,0 +1,12 @@ +package privatelinkservices + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ServiceEndpointPolicyDefinition struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *ServiceEndpointPolicyDefinitionPropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_serviceendpointpolicydefinitionpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_serviceendpointpolicydefinitionpropertiesformat.go new file mode 100644 index 000000000000..7f68e9513e32 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_serviceendpointpolicydefinitionpropertiesformat.go @@ -0,0 +1,11 @@ +package privatelinkservices + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ServiceEndpointPolicyDefinitionPropertiesFormat struct { + Description *string `json:"description,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + Service *string `json:"service,omitempty"` + ServiceResources *[]string `json:"serviceResources,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_serviceendpointpolicypropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_serviceendpointpolicypropertiesformat.go new file mode 100644 index 000000000000..5af6f94d80f2 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_serviceendpointpolicypropertiesformat.go @@ -0,0 +1,13 @@ +package privatelinkservices + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ServiceEndpointPolicyPropertiesFormat struct { + ContextualServiceEndpointPolicies *[]string `json:"contextualServiceEndpointPolicies,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + ResourceGuid *string `json:"resourceGuid,omitempty"` + ServiceAlias *string `json:"serviceAlias,omitempty"` + ServiceEndpointPolicyDefinitions *[]ServiceEndpointPolicyDefinition `json:"serviceEndpointPolicyDefinitions,omitempty"` + Subnets *[]Subnet `json:"subnets,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_serviceendpointpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_serviceendpointpropertiesformat.go new file mode 100644 index 000000000000..db38090185b9 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_serviceendpointpropertiesformat.go @@ -0,0 +1,11 @@ +package privatelinkservices + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ServiceEndpointPropertiesFormat struct { + Locations *[]string `json:"locations,omitempty"` + NetworkIdentifier *SubResource `json:"networkIdentifier,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + Service *string `json:"service,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_subnet.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_subnet.go new file mode 100644 index 000000000000..afb102ed10a5 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_subnet.go @@ -0,0 +1,12 @@ +package privatelinkservices + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type Subnet struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *SubnetPropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_subnetpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_subnetpropertiesformat.go new file mode 100644 index 000000000000..223c45fd44d5 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_subnetpropertiesformat.go @@ -0,0 +1,28 @@ +package privatelinkservices + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type SubnetPropertiesFormat struct { + AddressPrefix *string `json:"addressPrefix,omitempty"` + AddressPrefixes *[]string `json:"addressPrefixes,omitempty"` + ApplicationGatewayIPConfigurations *[]ApplicationGatewayIPConfiguration `json:"applicationGatewayIPConfigurations,omitempty"` + DefaultOutboundAccess *bool `json:"defaultOutboundAccess,omitempty"` + Delegations *[]Delegation `json:"delegations,omitempty"` + IPAllocations *[]SubResource `json:"ipAllocations,omitempty"` + IPConfigurationProfiles *[]IPConfigurationProfile `json:"ipConfigurationProfiles,omitempty"` + IPConfigurations *[]IPConfiguration `json:"ipConfigurations,omitempty"` + NatGateway *SubResource `json:"natGateway,omitempty"` + NetworkSecurityGroup *NetworkSecurityGroup `json:"networkSecurityGroup,omitempty"` + PrivateEndpointNetworkPolicies *VirtualNetworkPrivateEndpointNetworkPolicies `json:"privateEndpointNetworkPolicies,omitempty"` + PrivateEndpoints *[]PrivateEndpoint `json:"privateEndpoints,omitempty"` + PrivateLinkServiceNetworkPolicies *VirtualNetworkPrivateLinkServiceNetworkPolicies `json:"privateLinkServiceNetworkPolicies,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + Purpose *string `json:"purpose,omitempty"` + ResourceNavigationLinks *[]ResourceNavigationLink `json:"resourceNavigationLinks,omitempty"` + RouteTable *RouteTable `json:"routeTable,omitempty"` + ServiceAssociationLinks *[]ServiceAssociationLink `json:"serviceAssociationLinks,omitempty"` + ServiceEndpointPolicies *[]ServiceEndpointPolicy `json:"serviceEndpointPolicies,omitempty"` + ServiceEndpoints *[]ServiceEndpointPropertiesFormat `json:"serviceEndpoints,omitempty"` + SharingScope *SharingScope `json:"sharingScope,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_subresource.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_subresource.go new file mode 100644 index 000000000000..b9dcdcf56bf2 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_subresource.go @@ -0,0 +1,8 @@ +package privatelinkservices + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type SubResource struct { + Id *string `json:"id,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_trafficanalyticsconfigurationproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_trafficanalyticsconfigurationproperties.go new file mode 100644 index 000000000000..c500218a37c3 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_trafficanalyticsconfigurationproperties.go @@ -0,0 +1,12 @@ +package privatelinkservices + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type TrafficAnalyticsConfigurationProperties struct { + Enabled *bool `json:"enabled,omitempty"` + TrafficAnalyticsInterval *int64 `json:"trafficAnalyticsInterval,omitempty"` + WorkspaceId *string `json:"workspaceId,omitempty"` + WorkspaceRegion *string `json:"workspaceRegion,omitempty"` + WorkspaceResourceId *string `json:"workspaceResourceId,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_trafficanalyticsproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_trafficanalyticsproperties.go new file mode 100644 index 000000000000..b98eb28874d1 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_trafficanalyticsproperties.go @@ -0,0 +1,8 @@ +package privatelinkservices + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type TrafficAnalyticsProperties struct { + NetworkWatcherFlowAnalyticsConfiguration *TrafficAnalyticsConfigurationProperties `json:"networkWatcherFlowAnalyticsConfiguration,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_virtualnetworktap.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_virtualnetworktap.go new file mode 100644 index 000000000000..8dbee65a21a0 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_virtualnetworktap.go @@ -0,0 +1,14 @@ +package privatelinkservices + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VirtualNetworkTap struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Location *string `json:"location,omitempty"` + Name *string `json:"name,omitempty"` + Properties *VirtualNetworkTapPropertiesFormat `json:"properties,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_virtualnetworktappropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_virtualnetworktappropertiesformat.go new file mode 100644 index 000000000000..4fb395dbc76b --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/model_virtualnetworktappropertiesformat.go @@ -0,0 +1,13 @@ +package privatelinkservices + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VirtualNetworkTapPropertiesFormat struct { + DestinationLoadBalancerFrontEndIPConfiguration *FrontendIPConfiguration `json:"destinationLoadBalancerFrontEndIPConfiguration,omitempty"` + DestinationNetworkInterfaceIPConfiguration *NetworkInterfaceIPConfiguration `json:"destinationNetworkInterfaceIPConfiguration,omitempty"` + DestinationPort *int64 `json:"destinationPort,omitempty"` + NetworkInterfaceTapConfigurations *[]NetworkInterfaceTapConfiguration `json:"networkInterfaceTapConfigurations,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + ResourceGuid *string `json:"resourceGuid,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/predicates.go new file mode 100644 index 000000000000..f7e18f9feee9 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/predicates.go @@ -0,0 +1,78 @@ +package privatelinkservices + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type AutoApprovedPrivateLinkServiceOperationPredicate struct { + PrivateLinkService *string +} + +func (p AutoApprovedPrivateLinkServiceOperationPredicate) Matches(input AutoApprovedPrivateLinkService) bool { + + if p.PrivateLinkService != nil && (input.PrivateLinkService == nil || *p.PrivateLinkService != *input.PrivateLinkService) { + return false + } + + return true +} + +type PrivateEndpointConnectionOperationPredicate struct { + Etag *string + Id *string + Name *string + Type *string +} + +func (p PrivateEndpointConnectionOperationPredicate) Matches(input PrivateEndpointConnection) bool { + + if p.Etag != nil && (input.Etag == nil || *p.Etag != *input.Etag) { + return false + } + + if p.Id != nil && (input.Id == nil || *p.Id != *input.Id) { + return false + } + + if p.Name != nil && (input.Name == nil || *p.Name != *input.Name) { + return false + } + + if p.Type != nil && (input.Type == nil || *p.Type != *input.Type) { + return false + } + + return true +} + +type PrivateLinkServiceOperationPredicate struct { + Etag *string + Id *string + Location *string + Name *string + Type *string +} + +func (p PrivateLinkServiceOperationPredicate) Matches(input PrivateLinkService) bool { + + if p.Etag != nil && (input.Etag == nil || *p.Etag != *input.Etag) { + return false + } + + if p.Id != nil && (input.Id == nil || *p.Id != *input.Id) { + return false + } + + if p.Location != nil && (input.Location == nil || *p.Location != *input.Location) { + return false + } + + if p.Name != nil && (input.Name == nil || *p.Name != *input.Name) { + return false + } + + if p.Type != nil && (input.Type == nil || *p.Type != *input.Type) { + return false + } + + return true +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/version.go new file mode 100644 index 000000000000..0295a186c594 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices/version.go @@ -0,0 +1,10 @@ +package privatelinkservices + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2024-03-01" + +func userAgent() string { + return "hashicorp/go-azure-sdk/privatelinkservices/2024-03-01" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/README.md new file mode 100644 index 000000000000..258f20353ec8 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/README.md @@ -0,0 +1,133 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses` Documentation + +The `publicipaddresses` SDK allows for interaction with Azure Resource Manager `network` (API Version `2024-03-01`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" +import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses" +``` + + +### Client Initialization + +```go +client := publicipaddresses.NewPublicIPAddressesClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `PublicIPAddressesClient.CreateOrUpdate` + +```go +ctx := context.TODO() +id := commonids.NewPublicIPAddressID("12345678-1234-9876-4563-123456789012", "example-resource-group", "publicIPAddressName") + +payload := publicipaddresses.PublicIPAddress{ + // ... +} + + +if err := client.CreateOrUpdateThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `PublicIPAddressesClient.DdosProtectionStatus` + +```go +ctx := context.TODO() +id := commonids.NewPublicIPAddressID("12345678-1234-9876-4563-123456789012", "example-resource-group", "publicIPAddressName") + +if err := client.DdosProtectionStatusThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `PublicIPAddressesClient.Delete` + +```go +ctx := context.TODO() +id := commonids.NewPublicIPAddressID("12345678-1234-9876-4563-123456789012", "example-resource-group", "publicIPAddressName") + +if err := client.DeleteThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `PublicIPAddressesClient.Get` + +```go +ctx := context.TODO() +id := commonids.NewPublicIPAddressID("12345678-1234-9876-4563-123456789012", "example-resource-group", "publicIPAddressName") + +read, err := client.Get(ctx, id, publicipaddresses.DefaultGetOperationOptions()) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `PublicIPAddressesClient.List` + +```go +ctx := context.TODO() +id := commonids.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group") + +// alternatively `client.List(ctx, id)` can be used to do batched pagination +items, err := client.ListComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `PublicIPAddressesClient.ListAll` + +```go +ctx := context.TODO() +id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012") + +// alternatively `client.ListAll(ctx, id)` can be used to do batched pagination +items, err := client.ListAllComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `PublicIPAddressesClient.UpdateTags` + +```go +ctx := context.TODO() +id := commonids.NewPublicIPAddressID("12345678-1234-9876-4563-123456789012", "example-resource-group", "publicIPAddressName") + +payload := publicipaddresses.TagsObject{ + // ... +} + + +read, err := client.UpdateTags(ctx, id, payload) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/constants.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/constants.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/constants.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/method_createorupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/method_createorupdate.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/method_createorupdate.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/method_createorupdate.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/method_ddosprotectionstatus.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/method_ddosprotectionstatus.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/method_ddosprotectionstatus.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/method_ddosprotectionstatus.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/method_delete.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/method_delete.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/method_delete.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/method_delete.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/method_get.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/method_get.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/method_get.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/method_get.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/method_list.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/method_list.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/method_list.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/method_list.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/method_listall.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/method_listall.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/method_listall.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/method_listall.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/method_updatetags.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/method_updatetags.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/method_updatetags.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/method_updatetags.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_applicationgatewaybackendaddress.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_applicationgatewaybackendaddress.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_applicationgatewaybackendaddress.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_applicationgatewaybackendaddress.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_applicationgatewaybackendaddresspool.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_applicationgatewaybackendaddresspool.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_applicationgatewaybackendaddresspool.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_applicationgatewaybackendaddresspool.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_applicationgatewaybackendaddresspoolpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_applicationgatewaybackendaddresspoolpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_applicationgatewaybackendaddresspoolpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_applicationgatewaybackendaddresspoolpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_applicationgatewayipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_applicationgatewayipconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_applicationgatewayipconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_applicationgatewayipconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_applicationgatewayipconfigurationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_applicationgatewayipconfigurationpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_applicationgatewayipconfigurationpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_applicationgatewayipconfigurationpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_applicationsecuritygroup.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_applicationsecuritygroup.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_applicationsecuritygroup.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_applicationsecuritygroup.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_applicationsecuritygrouppropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_applicationsecuritygrouppropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_applicationsecuritygrouppropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_applicationsecuritygrouppropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_backendaddresspool.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_backendaddresspool.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_backendaddresspool.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_backendaddresspool.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_backendaddresspoolpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_backendaddresspoolpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_backendaddresspoolpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_backendaddresspoolpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_customdnsconfigpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_customdnsconfigpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_customdnsconfigpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_customdnsconfigpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_ddossettings.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_ddossettings.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_ddossettings.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_ddossettings.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_delegation.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_delegation.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_delegation.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_delegation.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_flowlog.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_flowlog.go new file mode 100644 index 000000000000..d93575ba1592 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_flowlog.go @@ -0,0 +1,19 @@ +package publicipaddresses + +import ( + "github.com/hashicorp/go-azure-helpers/resourcemanager/identity" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type FlowLog struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Identity *identity.SystemAndUserAssignedMap `json:"identity,omitempty"` + Location *string `json:"location,omitempty"` + Name *string `json:"name,omitempty"` + Properties *FlowLogPropertiesFormat `json:"properties,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_flowlogformatparameters.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_flowlogformatparameters.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_flowlogformatparameters.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_flowlogformatparameters.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_flowlogpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_flowlogpropertiesformat.go new file mode 100644 index 000000000000..f1571aeca23f --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_flowlogpropertiesformat.go @@ -0,0 +1,16 @@ +package publicipaddresses + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type FlowLogPropertiesFormat struct { + Enabled *bool `json:"enabled,omitempty"` + EnabledFilteringCriteria *string `json:"enabledFilteringCriteria,omitempty"` + FlowAnalyticsConfiguration *TrafficAnalyticsProperties `json:"flowAnalyticsConfiguration,omitempty"` + Format *FlowLogFormatParameters `json:"format,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + RetentionPolicy *RetentionPolicyParameters `json:"retentionPolicy,omitempty"` + StorageId string `json:"storageId"` + TargetResourceGuid *string `json:"targetResourceGuid,omitempty"` + TargetResourceId string `json:"targetResourceId"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_frontendipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_frontendipconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_frontendipconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_frontendipconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_frontendipconfigurationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_frontendipconfigurationpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_frontendipconfigurationpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_frontendipconfigurationpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_gatewayloadbalancertunnelinterface.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_gatewayloadbalancertunnelinterface.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_gatewayloadbalancertunnelinterface.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_gatewayloadbalancertunnelinterface.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_inboundnatrule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_inboundnatrule.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_inboundnatrule.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_inboundnatrule.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_inboundnatrulepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_inboundnatrulepropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_inboundnatrulepropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_inboundnatrulepropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_ipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_ipconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_ipconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_ipconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_ipconfigurationprofile.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_ipconfigurationprofile.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_ipconfigurationprofile.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_ipconfigurationprofile.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_ipconfigurationprofilepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_ipconfigurationprofilepropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_ipconfigurationprofilepropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_ipconfigurationprofilepropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_ipconfigurationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_ipconfigurationpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_ipconfigurationpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_ipconfigurationpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_iptag.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_iptag.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_iptag.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_iptag.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_loadbalancerbackendaddress.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_loadbalancerbackendaddress.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_loadbalancerbackendaddress.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_loadbalancerbackendaddress.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_loadbalancerbackendaddresspropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_loadbalancerbackendaddresspropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_loadbalancerbackendaddresspropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_loadbalancerbackendaddresspropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_natgateway.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_natgateway.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_natgateway.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_natgateway.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_natgatewaypropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_natgatewaypropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_natgatewaypropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_natgatewaypropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_natgatewaysku.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_natgatewaysku.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_natgatewaysku.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_natgatewaysku.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_natruleportmapping.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_natruleportmapping.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_natruleportmapping.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_natruleportmapping.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_networkinterface.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_networkinterface.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_networkinterface.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_networkinterface.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_networkinterfacednssettings.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_networkinterfacednssettings.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_networkinterfacednssettings.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_networkinterfacednssettings.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_networkinterfaceipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_networkinterfaceipconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_networkinterfaceipconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_networkinterfaceipconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_networkinterfaceipconfigurationprivatelinkconnectionproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_networkinterfaceipconfigurationprivatelinkconnectionproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_networkinterfaceipconfigurationprivatelinkconnectionproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_networkinterfaceipconfigurationprivatelinkconnectionproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_networkinterfaceipconfigurationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_networkinterfaceipconfigurationpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_networkinterfaceipconfigurationpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_networkinterfaceipconfigurationpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_networkinterfacepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_networkinterfacepropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_networkinterfacepropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_networkinterfacepropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_networkinterfacetapconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_networkinterfacetapconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_networkinterfacetapconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_networkinterfacetapconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_networkinterfacetapconfigurationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_networkinterfacetapconfigurationpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_networkinterfacetapconfigurationpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_networkinterfacetapconfigurationpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_networksecuritygroup.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_networksecuritygroup.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_networksecuritygroup.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_networksecuritygroup.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_networksecuritygrouppropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_networksecuritygrouppropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_networksecuritygrouppropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_networksecuritygrouppropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_privateendpoint.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_privateendpoint.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_privateendpoint.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_privateendpoint.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_privateendpointconnection.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_privateendpointconnection.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_privateendpointconnection.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_privateendpointconnection.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_privateendpointconnectionproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_privateendpointconnectionproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_privateendpointconnectionproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_privateendpointconnectionproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_privateendpointipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_privateendpointipconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_privateendpointipconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_privateendpointipconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_privateendpointipconfigurationproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_privateendpointipconfigurationproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_privateendpointipconfigurationproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_privateendpointipconfigurationproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_privateendpointproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_privateendpointproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_privateendpointproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_privateendpointproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_privatelinkservice.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_privatelinkservice.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_privatelinkservice.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_privatelinkservice.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_privatelinkserviceconnection.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_privatelinkserviceconnection.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_privatelinkserviceconnection.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_privatelinkserviceconnection.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_privatelinkserviceconnectionproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_privatelinkserviceconnectionproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_privatelinkserviceconnectionproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_privatelinkserviceconnectionproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_privatelinkserviceconnectionstate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_privatelinkserviceconnectionstate.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_privatelinkserviceconnectionstate.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_privatelinkserviceconnectionstate.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_privatelinkserviceipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_privatelinkserviceipconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_privatelinkserviceipconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_privatelinkserviceipconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_privatelinkserviceipconfigurationproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_privatelinkserviceipconfigurationproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_privatelinkserviceipconfigurationproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_privatelinkserviceipconfigurationproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_privatelinkserviceproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_privatelinkserviceproperties.go new file mode 100644 index 000000000000..5ae889b74972 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_privatelinkserviceproperties.go @@ -0,0 +1,18 @@ +package publicipaddresses + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PrivateLinkServiceProperties struct { + Alias *string `json:"alias,omitempty"` + AutoApproval *ResourceSet `json:"autoApproval,omitempty"` + DestinationIPAddress *string `json:"destinationIPAddress,omitempty"` + EnableProxyProtocol *bool `json:"enableProxyProtocol,omitempty"` + Fqdns *[]string `json:"fqdns,omitempty"` + IPConfigurations *[]PrivateLinkServiceIPConfiguration `json:"ipConfigurations,omitempty"` + LoadBalancerFrontendIPConfigurations *[]FrontendIPConfiguration `json:"loadBalancerFrontendIpConfigurations,omitempty"` + NetworkInterfaces *[]NetworkInterface `json:"networkInterfaces,omitempty"` + PrivateEndpointConnections *[]PrivateEndpointConnection `json:"privateEndpointConnections,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + Visibility *ResourceSet `json:"visibility,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_publicipaddress.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_publicipaddress.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_publicipaddress.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_publicipaddress.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_publicipaddressdnssettings.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_publicipaddressdnssettings.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_publicipaddressdnssettings.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_publicipaddressdnssettings.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_publicipaddresspropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_publicipaddresspropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_publicipaddresspropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_publicipaddresspropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_publicipaddresssku.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_publicipaddresssku.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_publicipaddresssku.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_publicipaddresssku.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_publicipddosprotectionstatusresult.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_publicipddosprotectionstatusresult.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_publicipddosprotectionstatusresult.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_publicipddosprotectionstatusresult.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_resourcenavigationlink.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_resourcenavigationlink.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_resourcenavigationlink.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_resourcenavigationlink.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_resourcenavigationlinkformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_resourcenavigationlinkformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_resourcenavigationlinkformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_resourcenavigationlinkformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_resourceset.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_resourceset.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_resourceset.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_resourceset.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_retentionpolicyparameters.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_retentionpolicyparameters.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_retentionpolicyparameters.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_retentionpolicyparameters.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_route.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_route.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_route.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_route.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_routepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_routepropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_routepropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_routepropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_routetable.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_routetable.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_routetable.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_routetable.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_routetablepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_routetablepropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_routetablepropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_routetablepropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_securityrule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_securityrule.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_securityrule.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_securityrule.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_securityrulepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_securityrulepropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_securityrulepropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_securityrulepropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_serviceassociationlink.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_serviceassociationlink.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_serviceassociationlink.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_serviceassociationlink.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_serviceassociationlinkpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_serviceassociationlinkpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_serviceassociationlinkpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_serviceassociationlinkpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_servicedelegationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_servicedelegationpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_servicedelegationpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_servicedelegationpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_serviceendpointpolicy.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_serviceendpointpolicy.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_serviceendpointpolicy.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_serviceendpointpolicy.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_serviceendpointpolicydefinition.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_serviceendpointpolicydefinition.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_serviceendpointpolicydefinition.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_serviceendpointpolicydefinition.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_serviceendpointpolicydefinitionpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_serviceendpointpolicydefinitionpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_serviceendpointpolicydefinitionpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_serviceendpointpolicydefinitionpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_serviceendpointpolicypropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_serviceendpointpolicypropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_serviceendpointpolicypropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_serviceendpointpolicypropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_serviceendpointpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_serviceendpointpropertiesformat.go new file mode 100644 index 000000000000..b40e6fcd671b --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_serviceendpointpropertiesformat.go @@ -0,0 +1,11 @@ +package publicipaddresses + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ServiceEndpointPropertiesFormat struct { + Locations *[]string `json:"locations,omitempty"` + NetworkIdentifier *SubResource `json:"networkIdentifier,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + Service *string `json:"service,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_subnet.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_subnet.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_subnet.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_subnet.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_subnetpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_subnetpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_subnetpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_subnetpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_subresource.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_subresource.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_subresource.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_subresource.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_tagsobject.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_tagsobject.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_tagsobject.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_tagsobject.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_trafficanalyticsconfigurationproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_trafficanalyticsconfigurationproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_trafficanalyticsconfigurationproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_trafficanalyticsconfigurationproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_trafficanalyticsproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_trafficanalyticsproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_trafficanalyticsproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_trafficanalyticsproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_virtualnetworktap.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_virtualnetworktap.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_virtualnetworktap.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_virtualnetworktap.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_virtualnetworktappropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_virtualnetworktappropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/model_virtualnetworktappropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/model_virtualnetworktappropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/predicates.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses/predicates.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/predicates.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/version.go new file mode 100644 index 000000000000..ae6c52d8980b --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses/version.go @@ -0,0 +1,10 @@ +package publicipaddresses + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2024-03-01" + +func userAgent() string { + return "hashicorp/go-azure-sdk/publicipaddresses/2024-03-01" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipprefixes/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipprefixes/README.md new file mode 100644 index 000000000000..09316f3f7c65 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipprefixes/README.md @@ -0,0 +1,121 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipprefixes` Documentation + +The `publicipprefixes` SDK allows for interaction with Azure Resource Manager `network` (API Version `2024-03-01`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" +import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipprefixes" +``` + + +### Client Initialization + +```go +client := publicipprefixes.NewPublicIPPrefixesClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `PublicIPPrefixesClient.CreateOrUpdate` + +```go +ctx := context.TODO() +id := publicipprefixes.NewPublicIPPrefixID("12345678-1234-9876-4563-123456789012", "example-resource-group", "publicIPPrefixName") + +payload := publicipprefixes.PublicIPPrefix{ + // ... +} + + +if err := client.CreateOrUpdateThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `PublicIPPrefixesClient.Delete` + +```go +ctx := context.TODO() +id := publicipprefixes.NewPublicIPPrefixID("12345678-1234-9876-4563-123456789012", "example-resource-group", "publicIPPrefixName") + +if err := client.DeleteThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `PublicIPPrefixesClient.Get` + +```go +ctx := context.TODO() +id := publicipprefixes.NewPublicIPPrefixID("12345678-1234-9876-4563-123456789012", "example-resource-group", "publicIPPrefixName") + +read, err := client.Get(ctx, id, publicipprefixes.DefaultGetOperationOptions()) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `PublicIPPrefixesClient.List` + +```go +ctx := context.TODO() +id := commonids.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group") + +// alternatively `client.List(ctx, id)` can be used to do batched pagination +items, err := client.ListComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `PublicIPPrefixesClient.ListAll` + +```go +ctx := context.TODO() +id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012") + +// alternatively `client.ListAll(ctx, id)` can be used to do batched pagination +items, err := client.ListAllComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `PublicIPPrefixesClient.UpdateTags` + +```go +ctx := context.TODO() +id := publicipprefixes.NewPublicIPPrefixID("12345678-1234-9876-4563-123456789012", "example-resource-group", "publicIPPrefixName") + +payload := publicipprefixes.TagsObject{ + // ... +} + + +read, err := client.UpdateTags(ctx, id, payload) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipprefixes/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipprefixes/client.go new file mode 100644 index 000000000000..78db89733876 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipprefixes/client.go @@ -0,0 +1,26 @@ +package publicipprefixes + +import ( + "fmt" + + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + sdkEnv "github.com/hashicorp/go-azure-sdk/sdk/environments" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PublicIPPrefixesClient struct { + Client *resourcemanager.Client +} + +func NewPublicIPPrefixesClientWithBaseURI(sdkApi sdkEnv.Api) (*PublicIPPrefixesClient, error) { + client, err := resourcemanager.NewClient(sdkApi, "publicipprefixes", defaultApiVersion) + if err != nil { + return nil, fmt.Errorf("instantiating PublicIPPrefixesClient: %+v", err) + } + + return &PublicIPPrefixesClient{ + Client: client, + }, nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipprefixes/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipprefixes/constants.go new file mode 100644 index 000000000000..a8c1328b07bf --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipprefixes/constants.go @@ -0,0 +1,215 @@ +package publicipprefixes + +import ( + "encoding/json" + "fmt" + "strings" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type IPVersion string + +const ( + IPVersionIPvFour IPVersion = "IPv4" + IPVersionIPvSix IPVersion = "IPv6" +) + +func PossibleValuesForIPVersion() []string { + return []string{ + string(IPVersionIPvFour), + string(IPVersionIPvSix), + } +} + +func (s *IPVersion) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseIPVersion(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseIPVersion(input string) (*IPVersion, error) { + vals := map[string]IPVersion{ + "ipv4": IPVersionIPvFour, + "ipv6": IPVersionIPvSix, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := IPVersion(input) + return &out, nil +} + +type NatGatewaySkuName string + +const ( + NatGatewaySkuNameStandard NatGatewaySkuName = "Standard" +) + +func PossibleValuesForNatGatewaySkuName() []string { + return []string{ + string(NatGatewaySkuNameStandard), + } +} + +func (s *NatGatewaySkuName) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseNatGatewaySkuName(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseNatGatewaySkuName(input string) (*NatGatewaySkuName, error) { + vals := map[string]NatGatewaySkuName{ + "standard": NatGatewaySkuNameStandard, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := NatGatewaySkuName(input) + return &out, nil +} + +type ProvisioningState string + +const ( + ProvisioningStateDeleting ProvisioningState = "Deleting" + ProvisioningStateFailed ProvisioningState = "Failed" + ProvisioningStateSucceeded ProvisioningState = "Succeeded" + ProvisioningStateUpdating ProvisioningState = "Updating" +) + +func PossibleValuesForProvisioningState() []string { + return []string{ + string(ProvisioningStateDeleting), + string(ProvisioningStateFailed), + string(ProvisioningStateSucceeded), + string(ProvisioningStateUpdating), + } +} + +func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseProvisioningState(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseProvisioningState(input string) (*ProvisioningState, error) { + vals := map[string]ProvisioningState{ + "deleting": ProvisioningStateDeleting, + "failed": ProvisioningStateFailed, + "succeeded": ProvisioningStateSucceeded, + "updating": ProvisioningStateUpdating, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ProvisioningState(input) + return &out, nil +} + +type PublicIPPrefixSkuName string + +const ( + PublicIPPrefixSkuNameStandard PublicIPPrefixSkuName = "Standard" +) + +func PossibleValuesForPublicIPPrefixSkuName() []string { + return []string{ + string(PublicIPPrefixSkuNameStandard), + } +} + +func (s *PublicIPPrefixSkuName) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parsePublicIPPrefixSkuName(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parsePublicIPPrefixSkuName(input string) (*PublicIPPrefixSkuName, error) { + vals := map[string]PublicIPPrefixSkuName{ + "standard": PublicIPPrefixSkuNameStandard, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := PublicIPPrefixSkuName(input) + return &out, nil +} + +type PublicIPPrefixSkuTier string + +const ( + PublicIPPrefixSkuTierGlobal PublicIPPrefixSkuTier = "Global" + PublicIPPrefixSkuTierRegional PublicIPPrefixSkuTier = "Regional" +) + +func PossibleValuesForPublicIPPrefixSkuTier() []string { + return []string{ + string(PublicIPPrefixSkuTierGlobal), + string(PublicIPPrefixSkuTierRegional), + } +} + +func (s *PublicIPPrefixSkuTier) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parsePublicIPPrefixSkuTier(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parsePublicIPPrefixSkuTier(input string) (*PublicIPPrefixSkuTier, error) { + vals := map[string]PublicIPPrefixSkuTier{ + "global": PublicIPPrefixSkuTierGlobal, + "regional": PublicIPPrefixSkuTierRegional, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := PublicIPPrefixSkuTier(input) + return &out, nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipprefixes/id_publicipprefix.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipprefixes/id_publicipprefix.go new file mode 100644 index 000000000000..35801814a579 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipprefixes/id_publicipprefix.go @@ -0,0 +1,130 @@ +package publicipprefixes + +import ( + "fmt" + "strings" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/recaser" + "github.com/hashicorp/go-azure-helpers/resourcemanager/resourceids" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +func init() { + recaser.RegisterResourceId(&PublicIPPrefixId{}) +} + +var _ resourceids.ResourceId = &PublicIPPrefixId{} + +// PublicIPPrefixId is a struct representing the Resource ID for a Public I P Prefix +type PublicIPPrefixId struct { + SubscriptionId string + ResourceGroupName string + PublicIPPrefixName string +} + +// NewPublicIPPrefixID returns a new PublicIPPrefixId struct +func NewPublicIPPrefixID(subscriptionId string, resourceGroupName string, publicIPPrefixName string) PublicIPPrefixId { + return PublicIPPrefixId{ + SubscriptionId: subscriptionId, + ResourceGroupName: resourceGroupName, + PublicIPPrefixName: publicIPPrefixName, + } +} + +// ParsePublicIPPrefixID parses 'input' into a PublicIPPrefixId +func ParsePublicIPPrefixID(input string) (*PublicIPPrefixId, error) { + parser := resourceids.NewParserFromResourceIdType(&PublicIPPrefixId{}) + parsed, err := parser.Parse(input, false) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := PublicIPPrefixId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +// ParsePublicIPPrefixIDInsensitively parses 'input' case-insensitively into a PublicIPPrefixId +// note: this method should only be used for API response data and not user input +func ParsePublicIPPrefixIDInsensitively(input string) (*PublicIPPrefixId, error) { + parser := resourceids.NewParserFromResourceIdType(&PublicIPPrefixId{}) + parsed, err := parser.Parse(input, true) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := PublicIPPrefixId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +func (id *PublicIPPrefixId) FromParseResult(input resourceids.ParseResult) error { + var ok bool + + if id.SubscriptionId, ok = input.Parsed["subscriptionId"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "subscriptionId", input) + } + + if id.ResourceGroupName, ok = input.Parsed["resourceGroupName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "resourceGroupName", input) + } + + if id.PublicIPPrefixName, ok = input.Parsed["publicIPPrefixName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "publicIPPrefixName", input) + } + + return nil +} + +// ValidatePublicIPPrefixID checks that 'input' can be parsed as a Public I P Prefix ID +func ValidatePublicIPPrefixID(input interface{}, key string) (warnings []string, errors []error) { + v, ok := input.(string) + if !ok { + errors = append(errors, fmt.Errorf("expected %q to be a string", key)) + return + } + + if _, err := ParsePublicIPPrefixID(v); err != nil { + errors = append(errors, err) + } + + return +} + +// ID returns the formatted Public I P Prefix ID +func (id PublicIPPrefixId) ID() string { + fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.Network/publicIPPrefixes/%s" + return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.PublicIPPrefixName) +} + +// Segments returns a slice of Resource ID Segments which comprise this Public I P Prefix ID +func (id PublicIPPrefixId) Segments() []resourceids.Segment { + return []resourceids.Segment{ + resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), + resourceids.SubscriptionIdSegment("subscriptionId", "12345678-1234-9876-4563-123456789012"), + resourceids.StaticSegment("staticResourceGroups", "resourceGroups", "resourceGroups"), + resourceids.ResourceGroupSegment("resourceGroupName", "example-resource-group"), + resourceids.StaticSegment("staticProviders", "providers", "providers"), + resourceids.ResourceProviderSegment("staticMicrosoftNetwork", "Microsoft.Network", "Microsoft.Network"), + resourceids.StaticSegment("staticPublicIPPrefixes", "publicIPPrefixes", "publicIPPrefixes"), + resourceids.UserSpecifiedSegment("publicIPPrefixName", "publicIPPrefixName"), + } +} + +// String returns a human-readable description of this Public I P Prefix ID +func (id PublicIPPrefixId) String() string { + components := []string{ + fmt.Sprintf("Subscription: %q", id.SubscriptionId), + fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), + fmt.Sprintf("Public I P Prefix Name: %q", id.PublicIPPrefixName), + } + return fmt.Sprintf("Public I P Prefix (%s)", strings.Join(components, "\n")) +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipprefixes/method_createorupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipprefixes/method_createorupdate.go new file mode 100644 index 000000000000..eb586e03d6c7 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipprefixes/method_createorupdate.go @@ -0,0 +1,75 @@ +package publicipprefixes + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/client/pollers" + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type CreateOrUpdateOperationResponse struct { + Poller pollers.Poller + HttpResponse *http.Response + OData *odata.OData + Model *PublicIPPrefix +} + +// CreateOrUpdate ... +func (c PublicIPPrefixesClient) CreateOrUpdate(ctx context.Context, id PublicIPPrefixId, input PublicIPPrefix) (result CreateOrUpdateOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusCreated, + http.StatusOK, + }, + HttpMethod: http.MethodPut, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + if err = req.Marshal(input); err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client) + if err != nil { + return + } + + return +} + +// CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed +func (c PublicIPPrefixesClient) CreateOrUpdateThenPoll(ctx context.Context, id PublicIPPrefixId, input PublicIPPrefix) error { + result, err := c.CreateOrUpdate(ctx, id, input) + if err != nil { + return fmt.Errorf("performing CreateOrUpdate: %+v", err) + } + + if err := result.Poller.PollUntilDone(ctx); err != nil { + return fmt.Errorf("polling after CreateOrUpdate: %+v", err) + } + + return nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipprefixes/method_delete.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipprefixes/method_delete.go new file mode 100644 index 000000000000..4ef74511d047 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipprefixes/method_delete.go @@ -0,0 +1,71 @@ +package publicipprefixes + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/client/pollers" + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type DeleteOperationResponse struct { + Poller pollers.Poller + HttpResponse *http.Response + OData *odata.OData +} + +// Delete ... +func (c PublicIPPrefixesClient) Delete(ctx context.Context, id PublicIPPrefixId) (result DeleteOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusAccepted, + http.StatusNoContent, + http.StatusOK, + }, + HttpMethod: http.MethodDelete, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client) + if err != nil { + return + } + + return +} + +// DeleteThenPoll performs Delete then polls until it's completed +func (c PublicIPPrefixesClient) DeleteThenPoll(ctx context.Context, id PublicIPPrefixId) error { + result, err := c.Delete(ctx, id) + if err != nil { + return fmt.Errorf("performing Delete: %+v", err) + } + + if err := result.Poller.PollUntilDone(ctx); err != nil { + return fmt.Errorf("polling after Delete: %+v", err) + } + + return nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipprefixes/method_get.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipprefixes/method_get.go new file mode 100644 index 000000000000..4d05c32931a5 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipprefixes/method_get.go @@ -0,0 +1,83 @@ +package publicipprefixes + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type GetOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *PublicIPPrefix +} + +type GetOperationOptions struct { + Expand *string +} + +func DefaultGetOperationOptions() GetOperationOptions { + return GetOperationOptions{} +} + +func (o GetOperationOptions) ToHeaders() *client.Headers { + out := client.Headers{} + + return &out +} + +func (o GetOperationOptions) ToOData() *odata.Query { + out := odata.Query{} + + return &out +} + +func (o GetOperationOptions) ToQuery() *client.QueryParams { + out := client.QueryParams{} + if o.Expand != nil { + out.Append("$expand", fmt.Sprintf("%v", *o.Expand)) + } + return &out +} + +// Get ... +func (c PublicIPPrefixesClient) Get(ctx context.Context, id PublicIPPrefixId, options GetOperationOptions) (result GetOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + OptionsObject: options, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var model PublicIPPrefix + result.Model = &model + if err = resp.Unmarshal(result.Model); err != nil { + return + } + + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipprefixes/method_list.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipprefixes/method_list.go new file mode 100644 index 000000000000..122a9df6f37a --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipprefixes/method_list.go @@ -0,0 +1,106 @@ +package publicipprefixes + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ListOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *[]PublicIPPrefix +} + +type ListCompleteResult struct { + LatestHttpResponse *http.Response + Items []PublicIPPrefix +} + +type ListCustomPager struct { + NextLink *odata.Link `json:"nextLink"` +} + +func (p *ListCustomPager) NextPageLink() *odata.Link { + defer func() { + p.NextLink = nil + }() + + return p.NextLink +} + +// List ... +func (c PublicIPPrefixesClient) List(ctx context.Context, id commonids.ResourceGroupId) (result ListOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Pager: &ListCustomPager{}, + Path: fmt.Sprintf("%s/providers/Microsoft.Network/publicIPPrefixes", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.ExecutePaged(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var values struct { + Values *[]PublicIPPrefix `json:"value"` + } + if err = resp.Unmarshal(&values); err != nil { + return + } + + result.Model = values.Values + + return +} + +// ListComplete retrieves all the results into a single object +func (c PublicIPPrefixesClient) ListComplete(ctx context.Context, id commonids.ResourceGroupId) (ListCompleteResult, error) { + return c.ListCompleteMatchingPredicate(ctx, id, PublicIPPrefixOperationPredicate{}) +} + +// ListCompleteMatchingPredicate retrieves all the results and then applies the predicate +func (c PublicIPPrefixesClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate PublicIPPrefixOperationPredicate) (result ListCompleteResult, err error) { + items := make([]PublicIPPrefix, 0) + + resp, err := c.List(ctx, id) + if err != nil { + result.LatestHttpResponse = resp.HttpResponse + err = fmt.Errorf("loading results: %+v", err) + return + } + if resp.Model != nil { + for _, v := range *resp.Model { + if predicate.Matches(v) { + items = append(items, v) + } + } + } + + result = ListCompleteResult{ + LatestHttpResponse: resp.HttpResponse, + Items: items, + } + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipprefixes/method_listall.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipprefixes/method_listall.go new file mode 100644 index 000000000000..4c49b47b3fef --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipprefixes/method_listall.go @@ -0,0 +1,106 @@ +package publicipprefixes + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ListAllOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *[]PublicIPPrefix +} + +type ListAllCompleteResult struct { + LatestHttpResponse *http.Response + Items []PublicIPPrefix +} + +type ListAllCustomPager struct { + NextLink *odata.Link `json:"nextLink"` +} + +func (p *ListAllCustomPager) NextPageLink() *odata.Link { + defer func() { + p.NextLink = nil + }() + + return p.NextLink +} + +// ListAll ... +func (c PublicIPPrefixesClient) ListAll(ctx context.Context, id commonids.SubscriptionId) (result ListAllOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Pager: &ListAllCustomPager{}, + Path: fmt.Sprintf("%s/providers/Microsoft.Network/publicIPPrefixes", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.ExecutePaged(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var values struct { + Values *[]PublicIPPrefix `json:"value"` + } + if err = resp.Unmarshal(&values); err != nil { + return + } + + result.Model = values.Values + + return +} + +// ListAllComplete retrieves all the results into a single object +func (c PublicIPPrefixesClient) ListAllComplete(ctx context.Context, id commonids.SubscriptionId) (ListAllCompleteResult, error) { + return c.ListAllCompleteMatchingPredicate(ctx, id, PublicIPPrefixOperationPredicate{}) +} + +// ListAllCompleteMatchingPredicate retrieves all the results and then applies the predicate +func (c PublicIPPrefixesClient) ListAllCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate PublicIPPrefixOperationPredicate) (result ListAllCompleteResult, err error) { + items := make([]PublicIPPrefix, 0) + + resp, err := c.ListAll(ctx, id) + if err != nil { + result.LatestHttpResponse = resp.HttpResponse + err = fmt.Errorf("loading results: %+v", err) + return + } + if resp.Model != nil { + for _, v := range *resp.Model { + if predicate.Matches(v) { + items = append(items, v) + } + } + } + + result = ListAllCompleteResult{ + LatestHttpResponse: resp.HttpResponse, + Items: items, + } + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipprefixes/method_updatetags.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipprefixes/method_updatetags.go new file mode 100644 index 000000000000..3111479b00a6 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipprefixes/method_updatetags.go @@ -0,0 +1,57 @@ +package publicipprefixes + +import ( + "context" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type UpdateTagsOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *PublicIPPrefix +} + +// UpdateTags ... +func (c PublicIPPrefixesClient) UpdateTags(ctx context.Context, id PublicIPPrefixId, input TagsObject) (result UpdateTagsOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodPatch, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + if err = req.Marshal(input); err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var model PublicIPPrefix + result.Model = &model + if err = resp.Unmarshal(result.Model); err != nil { + return + } + + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipprefixes/model_iptag.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipprefixes/model_iptag.go new file mode 100644 index 000000000000..e1bbbc73a6e2 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipprefixes/model_iptag.go @@ -0,0 +1,9 @@ +package publicipprefixes + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type IPTag struct { + IPTagType *string `json:"ipTagType,omitempty"` + Tag *string `json:"tag,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipprefixes/model_natgateway.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipprefixes/model_natgateway.go new file mode 100644 index 000000000000..170eeff68488 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipprefixes/model_natgateway.go @@ -0,0 +1,20 @@ +package publicipprefixes + +import ( + "github.com/hashicorp/go-azure-helpers/resourcemanager/zones" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NatGateway struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Location *string `json:"location,omitempty"` + Name *string `json:"name,omitempty"` + Properties *NatGatewayPropertiesFormat `json:"properties,omitempty"` + Sku *NatGatewaySku `json:"sku,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` + Zones *zones.Schema `json:"zones,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipprefixes/model_natgatewaypropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipprefixes/model_natgatewaypropertiesformat.go new file mode 100644 index 000000000000..5c1f46d37373 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipprefixes/model_natgatewaypropertiesformat.go @@ -0,0 +1,13 @@ +package publicipprefixes + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NatGatewayPropertiesFormat struct { + IdleTimeoutInMinutes *int64 `json:"idleTimeoutInMinutes,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + PublicIPAddresses *[]SubResource `json:"publicIpAddresses,omitempty"` + PublicIPPrefixes *[]SubResource `json:"publicIpPrefixes,omitempty"` + ResourceGuid *string `json:"resourceGuid,omitempty"` + Subnets *[]SubResource `json:"subnets,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipprefixes/model_natgatewaysku.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipprefixes/model_natgatewaysku.go new file mode 100644 index 000000000000..465e471e9030 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipprefixes/model_natgatewaysku.go @@ -0,0 +1,8 @@ +package publicipprefixes + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NatGatewaySku struct { + Name *NatGatewaySkuName `json:"name,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipprefixes/model_publicipprefix.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipprefixes/model_publicipprefix.go new file mode 100644 index 000000000000..6679bada47df --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipprefixes/model_publicipprefix.go @@ -0,0 +1,22 @@ +package publicipprefixes + +import ( + "github.com/hashicorp/go-azure-helpers/resourcemanager/edgezones" + "github.com/hashicorp/go-azure-helpers/resourcemanager/zones" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PublicIPPrefix struct { + Etag *string `json:"etag,omitempty"` + ExtendedLocation *edgezones.Model `json:"extendedLocation,omitempty"` + Id *string `json:"id,omitempty"` + Location *string `json:"location,omitempty"` + Name *string `json:"name,omitempty"` + Properties *PublicIPPrefixPropertiesFormat `json:"properties,omitempty"` + Sku *PublicIPPrefixSku `json:"sku,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` + Zones *zones.Schema `json:"zones,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipprefixes/model_publicipprefixpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipprefixes/model_publicipprefixpropertiesformat.go new file mode 100644 index 000000000000..32b58a818b38 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipprefixes/model_publicipprefixpropertiesformat.go @@ -0,0 +1,17 @@ +package publicipprefixes + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PublicIPPrefixPropertiesFormat struct { + CustomIPPrefix *SubResource `json:"customIPPrefix,omitempty"` + IPPrefix *string `json:"ipPrefix,omitempty"` + IPTags *[]IPTag `json:"ipTags,omitempty"` + LoadBalancerFrontendIPConfiguration *SubResource `json:"loadBalancerFrontendIpConfiguration,omitempty"` + NatGateway *NatGateway `json:"natGateway,omitempty"` + PrefixLength *int64 `json:"prefixLength,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + PublicIPAddressVersion *IPVersion `json:"publicIPAddressVersion,omitempty"` + PublicIPAddresses *[]ReferencedPublicIPAddress `json:"publicIPAddresses,omitempty"` + ResourceGuid *string `json:"resourceGuid,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipprefixes/model_publicipprefixsku.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipprefixes/model_publicipprefixsku.go new file mode 100644 index 000000000000..0737b92dee17 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipprefixes/model_publicipprefixsku.go @@ -0,0 +1,9 @@ +package publicipprefixes + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PublicIPPrefixSku struct { + Name *PublicIPPrefixSkuName `json:"name,omitempty"` + Tier *PublicIPPrefixSkuTier `json:"tier,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipprefixes/model_referencedpublicipaddress.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipprefixes/model_referencedpublicipaddress.go new file mode 100644 index 000000000000..26027a800a2b --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipprefixes/model_referencedpublicipaddress.go @@ -0,0 +1,8 @@ +package publicipprefixes + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ReferencedPublicIPAddress struct { + Id *string `json:"id,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipprefixes/model_subresource.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipprefixes/model_subresource.go new file mode 100644 index 000000000000..53e3c780cbf1 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipprefixes/model_subresource.go @@ -0,0 +1,8 @@ +package publicipprefixes + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type SubResource struct { + Id *string `json:"id,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipprefixes/model_tagsobject.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipprefixes/model_tagsobject.go new file mode 100644 index 000000000000..6a82f86f28f9 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipprefixes/model_tagsobject.go @@ -0,0 +1,8 @@ +package publicipprefixes + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type TagsObject struct { + Tags *map[string]string `json:"tags,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipprefixes/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipprefixes/predicates.go new file mode 100644 index 000000000000..7deb3ca2bbf0 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipprefixes/predicates.go @@ -0,0 +1,37 @@ +package publicipprefixes + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PublicIPPrefixOperationPredicate struct { + Etag *string + Id *string + Location *string + Name *string + Type *string +} + +func (p PublicIPPrefixOperationPredicate) Matches(input PublicIPPrefix) bool { + + if p.Etag != nil && (input.Etag == nil || *p.Etag != *input.Etag) { + return false + } + + if p.Id != nil && (input.Id == nil || *p.Id != *input.Id) { + return false + } + + if p.Location != nil && (input.Location == nil || *p.Location != *input.Location) { + return false + } + + if p.Name != nil && (input.Name == nil || *p.Name != *input.Name) { + return false + } + + if p.Type != nil && (input.Type == nil || *p.Type != *input.Type) { + return false + } + + return true +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipprefixes/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipprefixes/version.go new file mode 100644 index 000000000000..b2cad2b3bb3f --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipprefixes/version.go @@ -0,0 +1,10 @@ +package publicipprefixes + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2024-03-01" + +func userAgent() string { + return "hashicorp/go-azure-sdk/publicipprefixes/2024-03-01" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routefilterrules/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routefilterrules/README.md new file mode 100644 index 000000000000..b45ae71eab1d --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routefilterrules/README.md @@ -0,0 +1,82 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routefilterrules` Documentation + +The `routefilterrules` SDK allows for interaction with Azure Resource Manager `network` (API Version `2024-03-01`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routefilterrules" +``` + + +### Client Initialization + +```go +client := routefilterrules.NewRouteFilterRulesClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `RouteFilterRulesClient.CreateOrUpdate` + +```go +ctx := context.TODO() +id := routefilterrules.NewRouteFilterRuleID("12345678-1234-9876-4563-123456789012", "example-resource-group", "routeFilterName", "routeFilterRuleName") + +payload := routefilterrules.RouteFilterRule{ + // ... +} + + +if err := client.CreateOrUpdateThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `RouteFilterRulesClient.Delete` + +```go +ctx := context.TODO() +id := routefilterrules.NewRouteFilterRuleID("12345678-1234-9876-4563-123456789012", "example-resource-group", "routeFilterName", "routeFilterRuleName") + +if err := client.DeleteThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `RouteFilterRulesClient.Get` + +```go +ctx := context.TODO() +id := routefilterrules.NewRouteFilterRuleID("12345678-1234-9876-4563-123456789012", "example-resource-group", "routeFilterName", "routeFilterRuleName") + +read, err := client.Get(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `RouteFilterRulesClient.ListByRouteFilter` + +```go +ctx := context.TODO() +id := routefilterrules.NewRouteFilterID("12345678-1234-9876-4563-123456789012", "example-resource-group", "routeFilterName") + +// alternatively `client.ListByRouteFilter(ctx, id)` can be used to do batched pagination +items, err := client.ListByRouteFilterComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routefilterrules/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routefilterrules/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routefilterrules/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routefilterrules/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routefilterrules/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routefilterrules/constants.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routefilterrules/constants.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routefilterrules/constants.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routefilterrules/id_routefilter.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routefilterrules/id_routefilter.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routefilterrules/id_routefilter.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routefilterrules/id_routefilter.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routefilterrules/id_routefilterrule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routefilterrules/id_routefilterrule.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routefilterrules/id_routefilterrule.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routefilterrules/id_routefilterrule.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routefilterrules/method_createorupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routefilterrules/method_createorupdate.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routefilterrules/method_createorupdate.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routefilterrules/method_createorupdate.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routefilterrules/method_delete.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routefilterrules/method_delete.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routefilterrules/method_delete.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routefilterrules/method_delete.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routefilterrules/method_get.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routefilterrules/method_get.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routefilterrules/method_get.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routefilterrules/method_get.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routefilterrules/method_listbyroutefilter.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routefilterrules/method_listbyroutefilter.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routefilterrules/method_listbyroutefilter.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routefilterrules/method_listbyroutefilter.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routefilterrules/model_routefilterrule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routefilterrules/model_routefilterrule.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routefilterrules/model_routefilterrule.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routefilterrules/model_routefilterrule.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routefilterrules/model_routefilterrulepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routefilterrules/model_routefilterrulepropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routefilterrules/model_routefilterrulepropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routefilterrules/model_routefilterrulepropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routefilterrules/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routefilterrules/predicates.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routefilterrules/predicates.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routefilterrules/predicates.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routefilterrules/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routefilterrules/version.go new file mode 100644 index 000000000000..e66e08f61129 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routefilterrules/version.go @@ -0,0 +1,10 @@ +package routefilterrules + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2024-03-01" + +func userAgent() string { + return "hashicorp/go-azure-sdk/routefilterrules/2024-03-01" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routefilters/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routefilters/README.md new file mode 100644 index 000000000000..acba1b1bf137 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routefilters/README.md @@ -0,0 +1,121 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routefilters` Documentation + +The `routefilters` SDK allows for interaction with Azure Resource Manager `network` (API Version `2024-03-01`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" +import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routefilters" +``` + + +### Client Initialization + +```go +client := routefilters.NewRouteFiltersClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `RouteFiltersClient.CreateOrUpdate` + +```go +ctx := context.TODO() +id := routefilters.NewRouteFilterID("12345678-1234-9876-4563-123456789012", "example-resource-group", "routeFilterName") + +payload := routefilters.RouteFilter{ + // ... +} + + +if err := client.CreateOrUpdateThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `RouteFiltersClient.Delete` + +```go +ctx := context.TODO() +id := routefilters.NewRouteFilterID("12345678-1234-9876-4563-123456789012", "example-resource-group", "routeFilterName") + +if err := client.DeleteThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `RouteFiltersClient.Get` + +```go +ctx := context.TODO() +id := routefilters.NewRouteFilterID("12345678-1234-9876-4563-123456789012", "example-resource-group", "routeFilterName") + +read, err := client.Get(ctx, id, routefilters.DefaultGetOperationOptions()) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `RouteFiltersClient.List` + +```go +ctx := context.TODO() +id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012") + +// alternatively `client.List(ctx, id)` can be used to do batched pagination +items, err := client.ListComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `RouteFiltersClient.ListByResourceGroup` + +```go +ctx := context.TODO() +id := commonids.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group") + +// alternatively `client.ListByResourceGroup(ctx, id)` can be used to do batched pagination +items, err := client.ListByResourceGroupComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `RouteFiltersClient.UpdateTags` + +```go +ctx := context.TODO() +id := routefilters.NewRouteFilterID("12345678-1234-9876-4563-123456789012", "example-resource-group", "routeFilterName") + +payload := routefilters.TagsObject{ + // ... +} + + +read, err := client.UpdateTags(ctx, id, payload) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routefilters/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routefilters/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routefilters/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routefilters/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routefilters/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routefilters/constants.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routefilters/constants.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routefilters/constants.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routefilters/id_routefilter.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routefilters/id_routefilter.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routefilters/id_routefilter.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routefilters/id_routefilter.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routefilters/method_createorupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routefilters/method_createorupdate.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routefilters/method_createorupdate.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routefilters/method_createorupdate.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routefilters/method_delete.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routefilters/method_delete.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routefilters/method_delete.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routefilters/method_delete.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routefilters/method_get.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routefilters/method_get.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routefilters/method_get.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routefilters/method_get.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routefilters/method_list.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routefilters/method_list.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routefilters/method_list.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routefilters/method_list.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routefilters/method_listbyresourcegroup.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routefilters/method_listbyresourcegroup.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routefilters/method_listbyresourcegroup.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routefilters/method_listbyresourcegroup.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routefilters/method_updatetags.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routefilters/method_updatetags.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routefilters/method_updatetags.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routefilters/method_updatetags.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routefilters/model_expressroutecircuitconnection.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routefilters/model_expressroutecircuitconnection.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routefilters/model_expressroutecircuitconnection.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routefilters/model_expressroutecircuitconnection.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routefilters/model_expressroutecircuitconnectionpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routefilters/model_expressroutecircuitconnectionpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routefilters/model_expressroutecircuitconnectionpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routefilters/model_expressroutecircuitconnectionpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routefilters/model_expressroutecircuitpeering.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routefilters/model_expressroutecircuitpeering.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routefilters/model_expressroutecircuitpeering.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routefilters/model_expressroutecircuitpeering.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routefilters/model_expressroutecircuitpeeringconfig.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routefilters/model_expressroutecircuitpeeringconfig.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routefilters/model_expressroutecircuitpeeringconfig.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routefilters/model_expressroutecircuitpeeringconfig.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routefilters/model_expressroutecircuitpeeringpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routefilters/model_expressroutecircuitpeeringpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routefilters/model_expressroutecircuitpeeringpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routefilters/model_expressroutecircuitpeeringpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routefilters/model_expressroutecircuitstats.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routefilters/model_expressroutecircuitstats.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routefilters/model_expressroutecircuitstats.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routefilters/model_expressroutecircuitstats.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routefilters/model_expressrouteconnectionid.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routefilters/model_expressrouteconnectionid.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routefilters/model_expressrouteconnectionid.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routefilters/model_expressrouteconnectionid.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routefilters/model_ipv6circuitconnectionconfig.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routefilters/model_ipv6circuitconnectionconfig.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routefilters/model_ipv6circuitconnectionconfig.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routefilters/model_ipv6circuitconnectionconfig.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routefilters/model_ipv6expressroutecircuitpeeringconfig.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routefilters/model_ipv6expressroutecircuitpeeringconfig.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routefilters/model_ipv6expressroutecircuitpeeringconfig.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routefilters/model_ipv6expressroutecircuitpeeringconfig.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routefilters/model_peerexpressroutecircuitconnection.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routefilters/model_peerexpressroutecircuitconnection.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routefilters/model_peerexpressroutecircuitconnection.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routefilters/model_peerexpressroutecircuitconnection.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routefilters/model_peerexpressroutecircuitconnectionpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routefilters/model_peerexpressroutecircuitconnectionpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routefilters/model_peerexpressroutecircuitconnectionpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routefilters/model_peerexpressroutecircuitconnectionpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routefilters/model_routefilter.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routefilters/model_routefilter.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routefilters/model_routefilter.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routefilters/model_routefilter.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routefilters/model_routefilterpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routefilters/model_routefilterpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routefilters/model_routefilterpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routefilters/model_routefilterpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routefilters/model_routefilterrule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routefilters/model_routefilterrule.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routefilters/model_routefilterrule.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routefilters/model_routefilterrule.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routefilters/model_routefilterrulepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routefilters/model_routefilterrulepropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routefilters/model_routefilterrulepropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routefilters/model_routefilterrulepropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routefilters/model_subresource.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routefilters/model_subresource.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routefilters/model_subresource.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routefilters/model_subresource.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routefilters/model_tagsobject.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routefilters/model_tagsobject.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routefilters/model_tagsobject.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routefilters/model_tagsobject.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routefilters/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routefilters/predicates.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routefilters/predicates.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routefilters/predicates.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routefilters/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routefilters/version.go new file mode 100644 index 000000000000..75fe9113b14a --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routefilters/version.go @@ -0,0 +1,10 @@ +package routefilters + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2024-03-01" + +func userAgent() string { + return "hashicorp/go-azure-sdk/routefilters/2024-03-01" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routes/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routes/README.md new file mode 100644 index 000000000000..780e952cda52 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routes/README.md @@ -0,0 +1,82 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routes` Documentation + +The `routes` SDK allows for interaction with Azure Resource Manager `network` (API Version `2024-03-01`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routes" +``` + + +### Client Initialization + +```go +client := routes.NewRoutesClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `RoutesClient.CreateOrUpdate` + +```go +ctx := context.TODO() +id := routes.NewRouteID("12345678-1234-9876-4563-123456789012", "example-resource-group", "routeTableName", "routeName") + +payload := routes.Route{ + // ... +} + + +if err := client.CreateOrUpdateThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `RoutesClient.Delete` + +```go +ctx := context.TODO() +id := routes.NewRouteID("12345678-1234-9876-4563-123456789012", "example-resource-group", "routeTableName", "routeName") + +if err := client.DeleteThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `RoutesClient.Get` + +```go +ctx := context.TODO() +id := routes.NewRouteID("12345678-1234-9876-4563-123456789012", "example-resource-group", "routeTableName", "routeName") + +read, err := client.Get(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `RoutesClient.List` + +```go +ctx := context.TODO() +id := routes.NewRouteTableID("12345678-1234-9876-4563-123456789012", "example-resource-group", "routeTableName") + +// alternatively `client.List(ctx, id)` can be used to do batched pagination +items, err := client.ListComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routes/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routes/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routes/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routes/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routes/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routes/constants.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routes/constants.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routes/constants.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routes/id_route.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routes/id_route.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routes/id_route.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routes/id_route.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routes/id_routetable.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routes/id_routetable.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routes/id_routetable.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routes/id_routetable.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routes/method_createorupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routes/method_createorupdate.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routes/method_createorupdate.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routes/method_createorupdate.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routes/method_delete.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routes/method_delete.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routes/method_delete.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routes/method_delete.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routes/method_get.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routes/method_get.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routes/method_get.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routes/method_get.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routes/method_list.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routes/method_list.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routes/method_list.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routes/method_list.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routes/model_route.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routes/model_route.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routes/model_route.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routes/model_route.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routes/model_routepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routes/model_routepropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routes/model_routepropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routes/model_routepropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routes/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routes/predicates.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routes/predicates.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routes/predicates.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routes/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routes/version.go new file mode 100644 index 000000000000..97cc3ec350bb --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routes/version.go @@ -0,0 +1,10 @@ +package routes + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2024-03-01" + +func userAgent() string { + return "hashicorp/go-azure-sdk/routes/2024-03-01" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/README.md new file mode 100644 index 000000000000..c6dcfd420fae --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/README.md @@ -0,0 +1,121 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables` Documentation + +The `routetables` SDK allows for interaction with Azure Resource Manager `network` (API Version `2024-03-01`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" +import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables" +``` + + +### Client Initialization + +```go +client := routetables.NewRouteTablesClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `RouteTablesClient.CreateOrUpdate` + +```go +ctx := context.TODO() +id := routetables.NewRouteTableID("12345678-1234-9876-4563-123456789012", "example-resource-group", "routeTableName") + +payload := routetables.RouteTable{ + // ... +} + + +if err := client.CreateOrUpdateThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `RouteTablesClient.Delete` + +```go +ctx := context.TODO() +id := routetables.NewRouteTableID("12345678-1234-9876-4563-123456789012", "example-resource-group", "routeTableName") + +if err := client.DeleteThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `RouteTablesClient.Get` + +```go +ctx := context.TODO() +id := routetables.NewRouteTableID("12345678-1234-9876-4563-123456789012", "example-resource-group", "routeTableName") + +read, err := client.Get(ctx, id, routetables.DefaultGetOperationOptions()) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `RouteTablesClient.List` + +```go +ctx := context.TODO() +id := commonids.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group") + +// alternatively `client.List(ctx, id)` can be used to do batched pagination +items, err := client.ListComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `RouteTablesClient.ListAll` + +```go +ctx := context.TODO() +id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012") + +// alternatively `client.ListAll(ctx, id)` can be used to do batched pagination +items, err := client.ListAllComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `RouteTablesClient.UpdateTags` + +```go +ctx := context.TODO() +id := routetables.NewRouteTableID("12345678-1234-9876-4563-123456789012", "example-resource-group", "routeTableName") + +payload := routetables.TagsObject{ + // ... +} + + +read, err := client.UpdateTags(ctx, id, payload) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/client.go new file mode 100644 index 000000000000..b52049cd5f7b --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/client.go @@ -0,0 +1,26 @@ +package routetables + +import ( + "fmt" + + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + sdkEnv "github.com/hashicorp/go-azure-sdk/sdk/environments" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type RouteTablesClient struct { + Client *resourcemanager.Client +} + +func NewRouteTablesClientWithBaseURI(sdkApi sdkEnv.Api) (*RouteTablesClient, error) { + client, err := resourcemanager.NewClient(sdkApi, "routetables", defaultApiVersion) + if err != nil { + return nil, fmt.Errorf("instantiating RouteTablesClient: %+v", err) + } + + return &RouteTablesClient{ + Client: client, + }, nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/constants.go new file mode 100644 index 000000000000..035ce69edd5e --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/constants.go @@ -0,0 +1,1198 @@ +package routetables + +import ( + "encoding/json" + "fmt" + "strings" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type DdosSettingsProtectionMode string + +const ( + DdosSettingsProtectionModeDisabled DdosSettingsProtectionMode = "Disabled" + DdosSettingsProtectionModeEnabled DdosSettingsProtectionMode = "Enabled" + DdosSettingsProtectionModeVirtualNetworkInherited DdosSettingsProtectionMode = "VirtualNetworkInherited" +) + +func PossibleValuesForDdosSettingsProtectionMode() []string { + return []string{ + string(DdosSettingsProtectionModeDisabled), + string(DdosSettingsProtectionModeEnabled), + string(DdosSettingsProtectionModeVirtualNetworkInherited), + } +} + +func (s *DdosSettingsProtectionMode) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseDdosSettingsProtectionMode(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseDdosSettingsProtectionMode(input string) (*DdosSettingsProtectionMode, error) { + vals := map[string]DdosSettingsProtectionMode{ + "disabled": DdosSettingsProtectionModeDisabled, + "enabled": DdosSettingsProtectionModeEnabled, + "virtualnetworkinherited": DdosSettingsProtectionModeVirtualNetworkInherited, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := DdosSettingsProtectionMode(input) + return &out, nil +} + +type DeleteOptions string + +const ( + DeleteOptionsDelete DeleteOptions = "Delete" + DeleteOptionsDetach DeleteOptions = "Detach" +) + +func PossibleValuesForDeleteOptions() []string { + return []string{ + string(DeleteOptionsDelete), + string(DeleteOptionsDetach), + } +} + +func (s *DeleteOptions) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseDeleteOptions(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseDeleteOptions(input string) (*DeleteOptions, error) { + vals := map[string]DeleteOptions{ + "delete": DeleteOptionsDelete, + "detach": DeleteOptionsDetach, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := DeleteOptions(input) + return &out, nil +} + +type FlowLogFormatType string + +const ( + FlowLogFormatTypeJSON FlowLogFormatType = "JSON" +) + +func PossibleValuesForFlowLogFormatType() []string { + return []string{ + string(FlowLogFormatTypeJSON), + } +} + +func (s *FlowLogFormatType) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseFlowLogFormatType(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseFlowLogFormatType(input string) (*FlowLogFormatType, error) { + vals := map[string]FlowLogFormatType{ + "json": FlowLogFormatTypeJSON, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := FlowLogFormatType(input) + return &out, nil +} + +type GatewayLoadBalancerTunnelInterfaceType string + +const ( + GatewayLoadBalancerTunnelInterfaceTypeExternal GatewayLoadBalancerTunnelInterfaceType = "External" + GatewayLoadBalancerTunnelInterfaceTypeInternal GatewayLoadBalancerTunnelInterfaceType = "Internal" + GatewayLoadBalancerTunnelInterfaceTypeNone GatewayLoadBalancerTunnelInterfaceType = "None" +) + +func PossibleValuesForGatewayLoadBalancerTunnelInterfaceType() []string { + return []string{ + string(GatewayLoadBalancerTunnelInterfaceTypeExternal), + string(GatewayLoadBalancerTunnelInterfaceTypeInternal), + string(GatewayLoadBalancerTunnelInterfaceTypeNone), + } +} + +func (s *GatewayLoadBalancerTunnelInterfaceType) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseGatewayLoadBalancerTunnelInterfaceType(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseGatewayLoadBalancerTunnelInterfaceType(input string) (*GatewayLoadBalancerTunnelInterfaceType, error) { + vals := map[string]GatewayLoadBalancerTunnelInterfaceType{ + "external": GatewayLoadBalancerTunnelInterfaceTypeExternal, + "internal": GatewayLoadBalancerTunnelInterfaceTypeInternal, + "none": GatewayLoadBalancerTunnelInterfaceTypeNone, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := GatewayLoadBalancerTunnelInterfaceType(input) + return &out, nil +} + +type GatewayLoadBalancerTunnelProtocol string + +const ( + GatewayLoadBalancerTunnelProtocolNative GatewayLoadBalancerTunnelProtocol = "Native" + GatewayLoadBalancerTunnelProtocolNone GatewayLoadBalancerTunnelProtocol = "None" + GatewayLoadBalancerTunnelProtocolVXLAN GatewayLoadBalancerTunnelProtocol = "VXLAN" +) + +func PossibleValuesForGatewayLoadBalancerTunnelProtocol() []string { + return []string{ + string(GatewayLoadBalancerTunnelProtocolNative), + string(GatewayLoadBalancerTunnelProtocolNone), + string(GatewayLoadBalancerTunnelProtocolVXLAN), + } +} + +func (s *GatewayLoadBalancerTunnelProtocol) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseGatewayLoadBalancerTunnelProtocol(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseGatewayLoadBalancerTunnelProtocol(input string) (*GatewayLoadBalancerTunnelProtocol, error) { + vals := map[string]GatewayLoadBalancerTunnelProtocol{ + "native": GatewayLoadBalancerTunnelProtocolNative, + "none": GatewayLoadBalancerTunnelProtocolNone, + "vxlan": GatewayLoadBalancerTunnelProtocolVXLAN, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := GatewayLoadBalancerTunnelProtocol(input) + return &out, nil +} + +type IPAllocationMethod string + +const ( + IPAllocationMethodDynamic IPAllocationMethod = "Dynamic" + IPAllocationMethodStatic IPAllocationMethod = "Static" +) + +func PossibleValuesForIPAllocationMethod() []string { + return []string{ + string(IPAllocationMethodDynamic), + string(IPAllocationMethodStatic), + } +} + +func (s *IPAllocationMethod) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseIPAllocationMethod(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseIPAllocationMethod(input string) (*IPAllocationMethod, error) { + vals := map[string]IPAllocationMethod{ + "dynamic": IPAllocationMethodDynamic, + "static": IPAllocationMethodStatic, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := IPAllocationMethod(input) + return &out, nil +} + +type IPVersion string + +const ( + IPVersionIPvFour IPVersion = "IPv4" + IPVersionIPvSix IPVersion = "IPv6" +) + +func PossibleValuesForIPVersion() []string { + return []string{ + string(IPVersionIPvFour), + string(IPVersionIPvSix), + } +} + +func (s *IPVersion) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseIPVersion(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseIPVersion(input string) (*IPVersion, error) { + vals := map[string]IPVersion{ + "ipv4": IPVersionIPvFour, + "ipv6": IPVersionIPvSix, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := IPVersion(input) + return &out, nil +} + +type LoadBalancerBackendAddressAdminState string + +const ( + LoadBalancerBackendAddressAdminStateDown LoadBalancerBackendAddressAdminState = "Down" + LoadBalancerBackendAddressAdminStateNone LoadBalancerBackendAddressAdminState = "None" + LoadBalancerBackendAddressAdminStateUp LoadBalancerBackendAddressAdminState = "Up" +) + +func PossibleValuesForLoadBalancerBackendAddressAdminState() []string { + return []string{ + string(LoadBalancerBackendAddressAdminStateDown), + string(LoadBalancerBackendAddressAdminStateNone), + string(LoadBalancerBackendAddressAdminStateUp), + } +} + +func (s *LoadBalancerBackendAddressAdminState) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseLoadBalancerBackendAddressAdminState(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseLoadBalancerBackendAddressAdminState(input string) (*LoadBalancerBackendAddressAdminState, error) { + vals := map[string]LoadBalancerBackendAddressAdminState{ + "down": LoadBalancerBackendAddressAdminStateDown, + "none": LoadBalancerBackendAddressAdminStateNone, + "up": LoadBalancerBackendAddressAdminStateUp, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := LoadBalancerBackendAddressAdminState(input) + return &out, nil +} + +type NatGatewaySkuName string + +const ( + NatGatewaySkuNameStandard NatGatewaySkuName = "Standard" +) + +func PossibleValuesForNatGatewaySkuName() []string { + return []string{ + string(NatGatewaySkuNameStandard), + } +} + +func (s *NatGatewaySkuName) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseNatGatewaySkuName(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseNatGatewaySkuName(input string) (*NatGatewaySkuName, error) { + vals := map[string]NatGatewaySkuName{ + "standard": NatGatewaySkuNameStandard, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := NatGatewaySkuName(input) + return &out, nil +} + +type NetworkInterfaceAuxiliaryMode string + +const ( + NetworkInterfaceAuxiliaryModeAcceleratedConnections NetworkInterfaceAuxiliaryMode = "AcceleratedConnections" + NetworkInterfaceAuxiliaryModeFloating NetworkInterfaceAuxiliaryMode = "Floating" + NetworkInterfaceAuxiliaryModeMaxConnections NetworkInterfaceAuxiliaryMode = "MaxConnections" + NetworkInterfaceAuxiliaryModeNone NetworkInterfaceAuxiliaryMode = "None" +) + +func PossibleValuesForNetworkInterfaceAuxiliaryMode() []string { + return []string{ + string(NetworkInterfaceAuxiliaryModeAcceleratedConnections), + string(NetworkInterfaceAuxiliaryModeFloating), + string(NetworkInterfaceAuxiliaryModeMaxConnections), + string(NetworkInterfaceAuxiliaryModeNone), + } +} + +func (s *NetworkInterfaceAuxiliaryMode) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseNetworkInterfaceAuxiliaryMode(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseNetworkInterfaceAuxiliaryMode(input string) (*NetworkInterfaceAuxiliaryMode, error) { + vals := map[string]NetworkInterfaceAuxiliaryMode{ + "acceleratedconnections": NetworkInterfaceAuxiliaryModeAcceleratedConnections, + "floating": NetworkInterfaceAuxiliaryModeFloating, + "maxconnections": NetworkInterfaceAuxiliaryModeMaxConnections, + "none": NetworkInterfaceAuxiliaryModeNone, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := NetworkInterfaceAuxiliaryMode(input) + return &out, nil +} + +type NetworkInterfaceAuxiliarySku string + +const ( + NetworkInterfaceAuxiliarySkuAEight NetworkInterfaceAuxiliarySku = "A8" + NetworkInterfaceAuxiliarySkuAFour NetworkInterfaceAuxiliarySku = "A4" + NetworkInterfaceAuxiliarySkuAOne NetworkInterfaceAuxiliarySku = "A1" + NetworkInterfaceAuxiliarySkuATwo NetworkInterfaceAuxiliarySku = "A2" + NetworkInterfaceAuxiliarySkuNone NetworkInterfaceAuxiliarySku = "None" +) + +func PossibleValuesForNetworkInterfaceAuxiliarySku() []string { + return []string{ + string(NetworkInterfaceAuxiliarySkuAEight), + string(NetworkInterfaceAuxiliarySkuAFour), + string(NetworkInterfaceAuxiliarySkuAOne), + string(NetworkInterfaceAuxiliarySkuATwo), + string(NetworkInterfaceAuxiliarySkuNone), + } +} + +func (s *NetworkInterfaceAuxiliarySku) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseNetworkInterfaceAuxiliarySku(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseNetworkInterfaceAuxiliarySku(input string) (*NetworkInterfaceAuxiliarySku, error) { + vals := map[string]NetworkInterfaceAuxiliarySku{ + "a8": NetworkInterfaceAuxiliarySkuAEight, + "a4": NetworkInterfaceAuxiliarySkuAFour, + "a1": NetworkInterfaceAuxiliarySkuAOne, + "a2": NetworkInterfaceAuxiliarySkuATwo, + "none": NetworkInterfaceAuxiliarySkuNone, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := NetworkInterfaceAuxiliarySku(input) + return &out, nil +} + +type NetworkInterfaceMigrationPhase string + +const ( + NetworkInterfaceMigrationPhaseAbort NetworkInterfaceMigrationPhase = "Abort" + NetworkInterfaceMigrationPhaseCommit NetworkInterfaceMigrationPhase = "Commit" + NetworkInterfaceMigrationPhaseCommitted NetworkInterfaceMigrationPhase = "Committed" + NetworkInterfaceMigrationPhaseNone NetworkInterfaceMigrationPhase = "None" + NetworkInterfaceMigrationPhasePrepare NetworkInterfaceMigrationPhase = "Prepare" +) + +func PossibleValuesForNetworkInterfaceMigrationPhase() []string { + return []string{ + string(NetworkInterfaceMigrationPhaseAbort), + string(NetworkInterfaceMigrationPhaseCommit), + string(NetworkInterfaceMigrationPhaseCommitted), + string(NetworkInterfaceMigrationPhaseNone), + string(NetworkInterfaceMigrationPhasePrepare), + } +} + +func (s *NetworkInterfaceMigrationPhase) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseNetworkInterfaceMigrationPhase(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseNetworkInterfaceMigrationPhase(input string) (*NetworkInterfaceMigrationPhase, error) { + vals := map[string]NetworkInterfaceMigrationPhase{ + "abort": NetworkInterfaceMigrationPhaseAbort, + "commit": NetworkInterfaceMigrationPhaseCommit, + "committed": NetworkInterfaceMigrationPhaseCommitted, + "none": NetworkInterfaceMigrationPhaseNone, + "prepare": NetworkInterfaceMigrationPhasePrepare, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := NetworkInterfaceMigrationPhase(input) + return &out, nil +} + +type NetworkInterfaceNicType string + +const ( + NetworkInterfaceNicTypeElastic NetworkInterfaceNicType = "Elastic" + NetworkInterfaceNicTypeStandard NetworkInterfaceNicType = "Standard" +) + +func PossibleValuesForNetworkInterfaceNicType() []string { + return []string{ + string(NetworkInterfaceNicTypeElastic), + string(NetworkInterfaceNicTypeStandard), + } +} + +func (s *NetworkInterfaceNicType) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseNetworkInterfaceNicType(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseNetworkInterfaceNicType(input string) (*NetworkInterfaceNicType, error) { + vals := map[string]NetworkInterfaceNicType{ + "elastic": NetworkInterfaceNicTypeElastic, + "standard": NetworkInterfaceNicTypeStandard, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := NetworkInterfaceNicType(input) + return &out, nil +} + +type ProvisioningState string + +const ( + ProvisioningStateDeleting ProvisioningState = "Deleting" + ProvisioningStateFailed ProvisioningState = "Failed" + ProvisioningStateSucceeded ProvisioningState = "Succeeded" + ProvisioningStateUpdating ProvisioningState = "Updating" +) + +func PossibleValuesForProvisioningState() []string { + return []string{ + string(ProvisioningStateDeleting), + string(ProvisioningStateFailed), + string(ProvisioningStateSucceeded), + string(ProvisioningStateUpdating), + } +} + +func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseProvisioningState(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseProvisioningState(input string) (*ProvisioningState, error) { + vals := map[string]ProvisioningState{ + "deleting": ProvisioningStateDeleting, + "failed": ProvisioningStateFailed, + "succeeded": ProvisioningStateSucceeded, + "updating": ProvisioningStateUpdating, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ProvisioningState(input) + return &out, nil +} + +type PublicIPAddressDnsSettingsDomainNameLabelScope string + +const ( + PublicIPAddressDnsSettingsDomainNameLabelScopeNoReuse PublicIPAddressDnsSettingsDomainNameLabelScope = "NoReuse" + PublicIPAddressDnsSettingsDomainNameLabelScopeResourceGroupReuse PublicIPAddressDnsSettingsDomainNameLabelScope = "ResourceGroupReuse" + PublicIPAddressDnsSettingsDomainNameLabelScopeSubscriptionReuse PublicIPAddressDnsSettingsDomainNameLabelScope = "SubscriptionReuse" + PublicIPAddressDnsSettingsDomainNameLabelScopeTenantReuse PublicIPAddressDnsSettingsDomainNameLabelScope = "TenantReuse" +) + +func PossibleValuesForPublicIPAddressDnsSettingsDomainNameLabelScope() []string { + return []string{ + string(PublicIPAddressDnsSettingsDomainNameLabelScopeNoReuse), + string(PublicIPAddressDnsSettingsDomainNameLabelScopeResourceGroupReuse), + string(PublicIPAddressDnsSettingsDomainNameLabelScopeSubscriptionReuse), + string(PublicIPAddressDnsSettingsDomainNameLabelScopeTenantReuse), + } +} + +func (s *PublicIPAddressDnsSettingsDomainNameLabelScope) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parsePublicIPAddressDnsSettingsDomainNameLabelScope(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parsePublicIPAddressDnsSettingsDomainNameLabelScope(input string) (*PublicIPAddressDnsSettingsDomainNameLabelScope, error) { + vals := map[string]PublicIPAddressDnsSettingsDomainNameLabelScope{ + "noreuse": PublicIPAddressDnsSettingsDomainNameLabelScopeNoReuse, + "resourcegroupreuse": PublicIPAddressDnsSettingsDomainNameLabelScopeResourceGroupReuse, + "subscriptionreuse": PublicIPAddressDnsSettingsDomainNameLabelScopeSubscriptionReuse, + "tenantreuse": PublicIPAddressDnsSettingsDomainNameLabelScopeTenantReuse, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := PublicIPAddressDnsSettingsDomainNameLabelScope(input) + return &out, nil +} + +type PublicIPAddressMigrationPhase string + +const ( + PublicIPAddressMigrationPhaseAbort PublicIPAddressMigrationPhase = "Abort" + PublicIPAddressMigrationPhaseCommit PublicIPAddressMigrationPhase = "Commit" + PublicIPAddressMigrationPhaseCommitted PublicIPAddressMigrationPhase = "Committed" + PublicIPAddressMigrationPhaseNone PublicIPAddressMigrationPhase = "None" + PublicIPAddressMigrationPhasePrepare PublicIPAddressMigrationPhase = "Prepare" +) + +func PossibleValuesForPublicIPAddressMigrationPhase() []string { + return []string{ + string(PublicIPAddressMigrationPhaseAbort), + string(PublicIPAddressMigrationPhaseCommit), + string(PublicIPAddressMigrationPhaseCommitted), + string(PublicIPAddressMigrationPhaseNone), + string(PublicIPAddressMigrationPhasePrepare), + } +} + +func (s *PublicIPAddressMigrationPhase) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parsePublicIPAddressMigrationPhase(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parsePublicIPAddressMigrationPhase(input string) (*PublicIPAddressMigrationPhase, error) { + vals := map[string]PublicIPAddressMigrationPhase{ + "abort": PublicIPAddressMigrationPhaseAbort, + "commit": PublicIPAddressMigrationPhaseCommit, + "committed": PublicIPAddressMigrationPhaseCommitted, + "none": PublicIPAddressMigrationPhaseNone, + "prepare": PublicIPAddressMigrationPhasePrepare, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := PublicIPAddressMigrationPhase(input) + return &out, nil +} + +type PublicIPAddressSkuName string + +const ( + PublicIPAddressSkuNameBasic PublicIPAddressSkuName = "Basic" + PublicIPAddressSkuNameStandard PublicIPAddressSkuName = "Standard" +) + +func PossibleValuesForPublicIPAddressSkuName() []string { + return []string{ + string(PublicIPAddressSkuNameBasic), + string(PublicIPAddressSkuNameStandard), + } +} + +func (s *PublicIPAddressSkuName) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parsePublicIPAddressSkuName(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parsePublicIPAddressSkuName(input string) (*PublicIPAddressSkuName, error) { + vals := map[string]PublicIPAddressSkuName{ + "basic": PublicIPAddressSkuNameBasic, + "standard": PublicIPAddressSkuNameStandard, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := PublicIPAddressSkuName(input) + return &out, nil +} + +type PublicIPAddressSkuTier string + +const ( + PublicIPAddressSkuTierGlobal PublicIPAddressSkuTier = "Global" + PublicIPAddressSkuTierRegional PublicIPAddressSkuTier = "Regional" +) + +func PossibleValuesForPublicIPAddressSkuTier() []string { + return []string{ + string(PublicIPAddressSkuTierGlobal), + string(PublicIPAddressSkuTierRegional), + } +} + +func (s *PublicIPAddressSkuTier) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parsePublicIPAddressSkuTier(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parsePublicIPAddressSkuTier(input string) (*PublicIPAddressSkuTier, error) { + vals := map[string]PublicIPAddressSkuTier{ + "global": PublicIPAddressSkuTierGlobal, + "regional": PublicIPAddressSkuTierRegional, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := PublicIPAddressSkuTier(input) + return &out, nil +} + +type RouteNextHopType string + +const ( + RouteNextHopTypeInternet RouteNextHopType = "Internet" + RouteNextHopTypeNone RouteNextHopType = "None" + RouteNextHopTypeVirtualAppliance RouteNextHopType = "VirtualAppliance" + RouteNextHopTypeVirtualNetworkGateway RouteNextHopType = "VirtualNetworkGateway" + RouteNextHopTypeVnetLocal RouteNextHopType = "VnetLocal" +) + +func PossibleValuesForRouteNextHopType() []string { + return []string{ + string(RouteNextHopTypeInternet), + string(RouteNextHopTypeNone), + string(RouteNextHopTypeVirtualAppliance), + string(RouteNextHopTypeVirtualNetworkGateway), + string(RouteNextHopTypeVnetLocal), + } +} + +func (s *RouteNextHopType) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseRouteNextHopType(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseRouteNextHopType(input string) (*RouteNextHopType, error) { + vals := map[string]RouteNextHopType{ + "internet": RouteNextHopTypeInternet, + "none": RouteNextHopTypeNone, + "virtualappliance": RouteNextHopTypeVirtualAppliance, + "virtualnetworkgateway": RouteNextHopTypeVirtualNetworkGateway, + "vnetlocal": RouteNextHopTypeVnetLocal, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := RouteNextHopType(input) + return &out, nil +} + +type SecurityRuleAccess string + +const ( + SecurityRuleAccessAllow SecurityRuleAccess = "Allow" + SecurityRuleAccessDeny SecurityRuleAccess = "Deny" +) + +func PossibleValuesForSecurityRuleAccess() []string { + return []string{ + string(SecurityRuleAccessAllow), + string(SecurityRuleAccessDeny), + } +} + +func (s *SecurityRuleAccess) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseSecurityRuleAccess(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseSecurityRuleAccess(input string) (*SecurityRuleAccess, error) { + vals := map[string]SecurityRuleAccess{ + "allow": SecurityRuleAccessAllow, + "deny": SecurityRuleAccessDeny, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := SecurityRuleAccess(input) + return &out, nil +} + +type SecurityRuleDirection string + +const ( + SecurityRuleDirectionInbound SecurityRuleDirection = "Inbound" + SecurityRuleDirectionOutbound SecurityRuleDirection = "Outbound" +) + +func PossibleValuesForSecurityRuleDirection() []string { + return []string{ + string(SecurityRuleDirectionInbound), + string(SecurityRuleDirectionOutbound), + } +} + +func (s *SecurityRuleDirection) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseSecurityRuleDirection(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseSecurityRuleDirection(input string) (*SecurityRuleDirection, error) { + vals := map[string]SecurityRuleDirection{ + "inbound": SecurityRuleDirectionInbound, + "outbound": SecurityRuleDirectionOutbound, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := SecurityRuleDirection(input) + return &out, nil +} + +type SecurityRuleProtocol string + +const ( + SecurityRuleProtocolAh SecurityRuleProtocol = "Ah" + SecurityRuleProtocolAny SecurityRuleProtocol = "*" + SecurityRuleProtocolEsp SecurityRuleProtocol = "Esp" + SecurityRuleProtocolIcmp SecurityRuleProtocol = "Icmp" + SecurityRuleProtocolTcp SecurityRuleProtocol = "Tcp" + SecurityRuleProtocolUdp SecurityRuleProtocol = "Udp" +) + +func PossibleValuesForSecurityRuleProtocol() []string { + return []string{ + string(SecurityRuleProtocolAh), + string(SecurityRuleProtocolAny), + string(SecurityRuleProtocolEsp), + string(SecurityRuleProtocolIcmp), + string(SecurityRuleProtocolTcp), + string(SecurityRuleProtocolUdp), + } +} + +func (s *SecurityRuleProtocol) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseSecurityRuleProtocol(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseSecurityRuleProtocol(input string) (*SecurityRuleProtocol, error) { + vals := map[string]SecurityRuleProtocol{ + "ah": SecurityRuleProtocolAh, + "*": SecurityRuleProtocolAny, + "esp": SecurityRuleProtocolEsp, + "icmp": SecurityRuleProtocolIcmp, + "tcp": SecurityRuleProtocolTcp, + "udp": SecurityRuleProtocolUdp, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := SecurityRuleProtocol(input) + return &out, nil +} + +type SharingScope string + +const ( + SharingScopeDelegatedServices SharingScope = "DelegatedServices" + SharingScopeTenant SharingScope = "Tenant" +) + +func PossibleValuesForSharingScope() []string { + return []string{ + string(SharingScopeDelegatedServices), + string(SharingScopeTenant), + } +} + +func (s *SharingScope) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseSharingScope(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseSharingScope(input string) (*SharingScope, error) { + vals := map[string]SharingScope{ + "delegatedservices": SharingScopeDelegatedServices, + "tenant": SharingScopeTenant, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := SharingScope(input) + return &out, nil +} + +type SyncMode string + +const ( + SyncModeAutomatic SyncMode = "Automatic" + SyncModeManual SyncMode = "Manual" +) + +func PossibleValuesForSyncMode() []string { + return []string{ + string(SyncModeAutomatic), + string(SyncModeManual), + } +} + +func (s *SyncMode) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseSyncMode(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseSyncMode(input string) (*SyncMode, error) { + vals := map[string]SyncMode{ + "automatic": SyncModeAutomatic, + "manual": SyncModeManual, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := SyncMode(input) + return &out, nil +} + +type TransportProtocol string + +const ( + TransportProtocolAll TransportProtocol = "All" + TransportProtocolTcp TransportProtocol = "Tcp" + TransportProtocolUdp TransportProtocol = "Udp" +) + +func PossibleValuesForTransportProtocol() []string { + return []string{ + string(TransportProtocolAll), + string(TransportProtocolTcp), + string(TransportProtocolUdp), + } +} + +func (s *TransportProtocol) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseTransportProtocol(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseTransportProtocol(input string) (*TransportProtocol, error) { + vals := map[string]TransportProtocol{ + "all": TransportProtocolAll, + "tcp": TransportProtocolTcp, + "udp": TransportProtocolUdp, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := TransportProtocol(input) + return &out, nil +} + +type VirtualNetworkPrivateEndpointNetworkPolicies string + +const ( + VirtualNetworkPrivateEndpointNetworkPoliciesDisabled VirtualNetworkPrivateEndpointNetworkPolicies = "Disabled" + VirtualNetworkPrivateEndpointNetworkPoliciesEnabled VirtualNetworkPrivateEndpointNetworkPolicies = "Enabled" + VirtualNetworkPrivateEndpointNetworkPoliciesNetworkSecurityGroupEnabled VirtualNetworkPrivateEndpointNetworkPolicies = "NetworkSecurityGroupEnabled" + VirtualNetworkPrivateEndpointNetworkPoliciesRouteTableEnabled VirtualNetworkPrivateEndpointNetworkPolicies = "RouteTableEnabled" +) + +func PossibleValuesForVirtualNetworkPrivateEndpointNetworkPolicies() []string { + return []string{ + string(VirtualNetworkPrivateEndpointNetworkPoliciesDisabled), + string(VirtualNetworkPrivateEndpointNetworkPoliciesEnabled), + string(VirtualNetworkPrivateEndpointNetworkPoliciesNetworkSecurityGroupEnabled), + string(VirtualNetworkPrivateEndpointNetworkPoliciesRouteTableEnabled), + } +} + +func (s *VirtualNetworkPrivateEndpointNetworkPolicies) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseVirtualNetworkPrivateEndpointNetworkPolicies(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseVirtualNetworkPrivateEndpointNetworkPolicies(input string) (*VirtualNetworkPrivateEndpointNetworkPolicies, error) { + vals := map[string]VirtualNetworkPrivateEndpointNetworkPolicies{ + "disabled": VirtualNetworkPrivateEndpointNetworkPoliciesDisabled, + "enabled": VirtualNetworkPrivateEndpointNetworkPoliciesEnabled, + "networksecuritygroupenabled": VirtualNetworkPrivateEndpointNetworkPoliciesNetworkSecurityGroupEnabled, + "routetableenabled": VirtualNetworkPrivateEndpointNetworkPoliciesRouteTableEnabled, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := VirtualNetworkPrivateEndpointNetworkPolicies(input) + return &out, nil +} + +type VirtualNetworkPrivateLinkServiceNetworkPolicies string + +const ( + VirtualNetworkPrivateLinkServiceNetworkPoliciesDisabled VirtualNetworkPrivateLinkServiceNetworkPolicies = "Disabled" + VirtualNetworkPrivateLinkServiceNetworkPoliciesEnabled VirtualNetworkPrivateLinkServiceNetworkPolicies = "Enabled" +) + +func PossibleValuesForVirtualNetworkPrivateLinkServiceNetworkPolicies() []string { + return []string{ + string(VirtualNetworkPrivateLinkServiceNetworkPoliciesDisabled), + string(VirtualNetworkPrivateLinkServiceNetworkPoliciesEnabled), + } +} + +func (s *VirtualNetworkPrivateLinkServiceNetworkPolicies) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseVirtualNetworkPrivateLinkServiceNetworkPolicies(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseVirtualNetworkPrivateLinkServiceNetworkPolicies(input string) (*VirtualNetworkPrivateLinkServiceNetworkPolicies, error) { + vals := map[string]VirtualNetworkPrivateLinkServiceNetworkPolicies{ + "disabled": VirtualNetworkPrivateLinkServiceNetworkPoliciesDisabled, + "enabled": VirtualNetworkPrivateLinkServiceNetworkPoliciesEnabled, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := VirtualNetworkPrivateLinkServiceNetworkPolicies(input) + return &out, nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/id_routetable.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/id_routetable.go new file mode 100644 index 000000000000..a18bf05ff67c --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/id_routetable.go @@ -0,0 +1,130 @@ +package routetables + +import ( + "fmt" + "strings" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/recaser" + "github.com/hashicorp/go-azure-helpers/resourcemanager/resourceids" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +func init() { + recaser.RegisterResourceId(&RouteTableId{}) +} + +var _ resourceids.ResourceId = &RouteTableId{} + +// RouteTableId is a struct representing the Resource ID for a Route Table +type RouteTableId struct { + SubscriptionId string + ResourceGroupName string + RouteTableName string +} + +// NewRouteTableID returns a new RouteTableId struct +func NewRouteTableID(subscriptionId string, resourceGroupName string, routeTableName string) RouteTableId { + return RouteTableId{ + SubscriptionId: subscriptionId, + ResourceGroupName: resourceGroupName, + RouteTableName: routeTableName, + } +} + +// ParseRouteTableID parses 'input' into a RouteTableId +func ParseRouteTableID(input string) (*RouteTableId, error) { + parser := resourceids.NewParserFromResourceIdType(&RouteTableId{}) + parsed, err := parser.Parse(input, false) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := RouteTableId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +// ParseRouteTableIDInsensitively parses 'input' case-insensitively into a RouteTableId +// note: this method should only be used for API response data and not user input +func ParseRouteTableIDInsensitively(input string) (*RouteTableId, error) { + parser := resourceids.NewParserFromResourceIdType(&RouteTableId{}) + parsed, err := parser.Parse(input, true) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := RouteTableId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +func (id *RouteTableId) FromParseResult(input resourceids.ParseResult) error { + var ok bool + + if id.SubscriptionId, ok = input.Parsed["subscriptionId"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "subscriptionId", input) + } + + if id.ResourceGroupName, ok = input.Parsed["resourceGroupName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "resourceGroupName", input) + } + + if id.RouteTableName, ok = input.Parsed["routeTableName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "routeTableName", input) + } + + return nil +} + +// ValidateRouteTableID checks that 'input' can be parsed as a Route Table ID +func ValidateRouteTableID(input interface{}, key string) (warnings []string, errors []error) { + v, ok := input.(string) + if !ok { + errors = append(errors, fmt.Errorf("expected %q to be a string", key)) + return + } + + if _, err := ParseRouteTableID(v); err != nil { + errors = append(errors, err) + } + + return +} + +// ID returns the formatted Route Table ID +func (id RouteTableId) ID() string { + fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.Network/routeTables/%s" + return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.RouteTableName) +} + +// Segments returns a slice of Resource ID Segments which comprise this Route Table ID +func (id RouteTableId) Segments() []resourceids.Segment { + return []resourceids.Segment{ + resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), + resourceids.SubscriptionIdSegment("subscriptionId", "12345678-1234-9876-4563-123456789012"), + resourceids.StaticSegment("staticResourceGroups", "resourceGroups", "resourceGroups"), + resourceids.ResourceGroupSegment("resourceGroupName", "example-resource-group"), + resourceids.StaticSegment("staticProviders", "providers", "providers"), + resourceids.ResourceProviderSegment("staticMicrosoftNetwork", "Microsoft.Network", "Microsoft.Network"), + resourceids.StaticSegment("staticRouteTables", "routeTables", "routeTables"), + resourceids.UserSpecifiedSegment("routeTableName", "routeTableName"), + } +} + +// String returns a human-readable description of this Route Table ID +func (id RouteTableId) String() string { + components := []string{ + fmt.Sprintf("Subscription: %q", id.SubscriptionId), + fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), + fmt.Sprintf("Route Table Name: %q", id.RouteTableName), + } + return fmt.Sprintf("Route Table (%s)", strings.Join(components, "\n")) +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/method_createorupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/method_createorupdate.go new file mode 100644 index 000000000000..04fdd62101df --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/method_createorupdate.go @@ -0,0 +1,75 @@ +package routetables + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/client/pollers" + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type CreateOrUpdateOperationResponse struct { + Poller pollers.Poller + HttpResponse *http.Response + OData *odata.OData + Model *RouteTable +} + +// CreateOrUpdate ... +func (c RouteTablesClient) CreateOrUpdate(ctx context.Context, id RouteTableId, input RouteTable) (result CreateOrUpdateOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusCreated, + http.StatusOK, + }, + HttpMethod: http.MethodPut, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + if err = req.Marshal(input); err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client) + if err != nil { + return + } + + return +} + +// CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed +func (c RouteTablesClient) CreateOrUpdateThenPoll(ctx context.Context, id RouteTableId, input RouteTable) error { + result, err := c.CreateOrUpdate(ctx, id, input) + if err != nil { + return fmt.Errorf("performing CreateOrUpdate: %+v", err) + } + + if err := result.Poller.PollUntilDone(ctx); err != nil { + return fmt.Errorf("polling after CreateOrUpdate: %+v", err) + } + + return nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/method_delete.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/method_delete.go new file mode 100644 index 000000000000..6ef6e0e531dd --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/method_delete.go @@ -0,0 +1,71 @@ +package routetables + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/client/pollers" + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type DeleteOperationResponse struct { + Poller pollers.Poller + HttpResponse *http.Response + OData *odata.OData +} + +// Delete ... +func (c RouteTablesClient) Delete(ctx context.Context, id RouteTableId) (result DeleteOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusAccepted, + http.StatusNoContent, + http.StatusOK, + }, + HttpMethod: http.MethodDelete, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client) + if err != nil { + return + } + + return +} + +// DeleteThenPoll performs Delete then polls until it's completed +func (c RouteTablesClient) DeleteThenPoll(ctx context.Context, id RouteTableId) error { + result, err := c.Delete(ctx, id) + if err != nil { + return fmt.Errorf("performing Delete: %+v", err) + } + + if err := result.Poller.PollUntilDone(ctx); err != nil { + return fmt.Errorf("polling after Delete: %+v", err) + } + + return nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/method_get.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/method_get.go new file mode 100644 index 000000000000..6a2409acbfb8 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/method_get.go @@ -0,0 +1,83 @@ +package routetables + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type GetOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *RouteTable +} + +type GetOperationOptions struct { + Expand *string +} + +func DefaultGetOperationOptions() GetOperationOptions { + return GetOperationOptions{} +} + +func (o GetOperationOptions) ToHeaders() *client.Headers { + out := client.Headers{} + + return &out +} + +func (o GetOperationOptions) ToOData() *odata.Query { + out := odata.Query{} + + return &out +} + +func (o GetOperationOptions) ToQuery() *client.QueryParams { + out := client.QueryParams{} + if o.Expand != nil { + out.Append("$expand", fmt.Sprintf("%v", *o.Expand)) + } + return &out +} + +// Get ... +func (c RouteTablesClient) Get(ctx context.Context, id RouteTableId, options GetOperationOptions) (result GetOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + OptionsObject: options, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var model RouteTable + result.Model = &model + if err = resp.Unmarshal(result.Model); err != nil { + return + } + + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/method_list.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/method_list.go new file mode 100644 index 000000000000..c219fd770efe --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/method_list.go @@ -0,0 +1,106 @@ +package routetables + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ListOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *[]RouteTable +} + +type ListCompleteResult struct { + LatestHttpResponse *http.Response + Items []RouteTable +} + +type ListCustomPager struct { + NextLink *odata.Link `json:"nextLink"` +} + +func (p *ListCustomPager) NextPageLink() *odata.Link { + defer func() { + p.NextLink = nil + }() + + return p.NextLink +} + +// List ... +func (c RouteTablesClient) List(ctx context.Context, id commonids.ResourceGroupId) (result ListOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Pager: &ListCustomPager{}, + Path: fmt.Sprintf("%s/providers/Microsoft.Network/routeTables", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.ExecutePaged(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var values struct { + Values *[]RouteTable `json:"value"` + } + if err = resp.Unmarshal(&values); err != nil { + return + } + + result.Model = values.Values + + return +} + +// ListComplete retrieves all the results into a single object +func (c RouteTablesClient) ListComplete(ctx context.Context, id commonids.ResourceGroupId) (ListCompleteResult, error) { + return c.ListCompleteMatchingPredicate(ctx, id, RouteTableOperationPredicate{}) +} + +// ListCompleteMatchingPredicate retrieves all the results and then applies the predicate +func (c RouteTablesClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate RouteTableOperationPredicate) (result ListCompleteResult, err error) { + items := make([]RouteTable, 0) + + resp, err := c.List(ctx, id) + if err != nil { + result.LatestHttpResponse = resp.HttpResponse + err = fmt.Errorf("loading results: %+v", err) + return + } + if resp.Model != nil { + for _, v := range *resp.Model { + if predicate.Matches(v) { + items = append(items, v) + } + } + } + + result = ListCompleteResult{ + LatestHttpResponse: resp.HttpResponse, + Items: items, + } + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/method_listall.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/method_listall.go new file mode 100644 index 000000000000..c3c8de7e20d0 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/method_listall.go @@ -0,0 +1,106 @@ +package routetables + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ListAllOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *[]RouteTable +} + +type ListAllCompleteResult struct { + LatestHttpResponse *http.Response + Items []RouteTable +} + +type ListAllCustomPager struct { + NextLink *odata.Link `json:"nextLink"` +} + +func (p *ListAllCustomPager) NextPageLink() *odata.Link { + defer func() { + p.NextLink = nil + }() + + return p.NextLink +} + +// ListAll ... +func (c RouteTablesClient) ListAll(ctx context.Context, id commonids.SubscriptionId) (result ListAllOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Pager: &ListAllCustomPager{}, + Path: fmt.Sprintf("%s/providers/Microsoft.Network/routeTables", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.ExecutePaged(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var values struct { + Values *[]RouteTable `json:"value"` + } + if err = resp.Unmarshal(&values); err != nil { + return + } + + result.Model = values.Values + + return +} + +// ListAllComplete retrieves all the results into a single object +func (c RouteTablesClient) ListAllComplete(ctx context.Context, id commonids.SubscriptionId) (ListAllCompleteResult, error) { + return c.ListAllCompleteMatchingPredicate(ctx, id, RouteTableOperationPredicate{}) +} + +// ListAllCompleteMatchingPredicate retrieves all the results and then applies the predicate +func (c RouteTablesClient) ListAllCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate RouteTableOperationPredicate) (result ListAllCompleteResult, err error) { + items := make([]RouteTable, 0) + + resp, err := c.ListAll(ctx, id) + if err != nil { + result.LatestHttpResponse = resp.HttpResponse + err = fmt.Errorf("loading results: %+v", err) + return + } + if resp.Model != nil { + for _, v := range *resp.Model { + if predicate.Matches(v) { + items = append(items, v) + } + } + } + + result = ListAllCompleteResult{ + LatestHttpResponse: resp.HttpResponse, + Items: items, + } + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/method_updatetags.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/method_updatetags.go new file mode 100644 index 000000000000..258335fc6008 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/method_updatetags.go @@ -0,0 +1,57 @@ +package routetables + +import ( + "context" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type UpdateTagsOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *RouteTable +} + +// UpdateTags ... +func (c RouteTablesClient) UpdateTags(ctx context.Context, id RouteTableId, input TagsObject) (result UpdateTagsOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodPatch, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + if err = req.Marshal(input); err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var model RouteTable + result.Model = &model + if err = resp.Unmarshal(result.Model); err != nil { + return + } + + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_applicationgatewaybackendaddress.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_applicationgatewaybackendaddress.go new file mode 100644 index 000000000000..3f1666af1927 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_applicationgatewaybackendaddress.go @@ -0,0 +1,9 @@ +package routetables + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayBackendAddress struct { + Fqdn *string `json:"fqdn,omitempty"` + IPAddress *string `json:"ipAddress,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_applicationgatewaybackendaddresspool.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_applicationgatewaybackendaddresspool.go new file mode 100644 index 000000000000..aa535e08a6a8 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_applicationgatewaybackendaddresspool.go @@ -0,0 +1,12 @@ +package routetables + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayBackendAddressPool struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *ApplicationGatewayBackendAddressPoolPropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_applicationgatewaybackendaddresspoolpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_applicationgatewaybackendaddresspoolpropertiesformat.go new file mode 100644 index 000000000000..26b2afe4fb6d --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_applicationgatewaybackendaddresspoolpropertiesformat.go @@ -0,0 +1,10 @@ +package routetables + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayBackendAddressPoolPropertiesFormat struct { + BackendAddresses *[]ApplicationGatewayBackendAddress `json:"backendAddresses,omitempty"` + BackendIPConfigurations *[]NetworkInterfaceIPConfiguration `json:"backendIPConfigurations,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_applicationgatewayipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_applicationgatewayipconfiguration.go new file mode 100644 index 000000000000..2474ea7f89e0 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_applicationgatewayipconfiguration.go @@ -0,0 +1,12 @@ +package routetables + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayIPConfiguration struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *ApplicationGatewayIPConfigurationPropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_applicationgatewayipconfigurationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_applicationgatewayipconfigurationpropertiesformat.go new file mode 100644 index 000000000000..b0ea966f8a50 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_applicationgatewayipconfigurationpropertiesformat.go @@ -0,0 +1,9 @@ +package routetables + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayIPConfigurationPropertiesFormat struct { + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + Subnet *SubResource `json:"subnet,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_applicationsecuritygroup.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_applicationsecuritygroup.go new file mode 100644 index 000000000000..da94563b9155 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_applicationsecuritygroup.go @@ -0,0 +1,14 @@ +package routetables + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationSecurityGroup struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Location *string `json:"location,omitempty"` + Name *string `json:"name,omitempty"` + Properties *ApplicationSecurityGroupPropertiesFormat `json:"properties,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_applicationsecuritygrouppropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_applicationsecuritygrouppropertiesformat.go new file mode 100644 index 000000000000..d270ac905b2a --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_applicationsecuritygrouppropertiesformat.go @@ -0,0 +1,9 @@ +package routetables + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationSecurityGroupPropertiesFormat struct { + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + ResourceGuid *string `json:"resourceGuid,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_backendaddresspool.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_backendaddresspool.go new file mode 100644 index 000000000000..90a55576b632 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_backendaddresspool.go @@ -0,0 +1,12 @@ +package routetables + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type BackendAddressPool struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *BackendAddressPoolPropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_backendaddresspoolpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_backendaddresspoolpropertiesformat.go new file mode 100644 index 000000000000..34067eb4dc7a --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_backendaddresspoolpropertiesformat.go @@ -0,0 +1,19 @@ +package routetables + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type BackendAddressPoolPropertiesFormat struct { + BackendIPConfigurations *[]NetworkInterfaceIPConfiguration `json:"backendIPConfigurations,omitempty"` + DrainPeriodInSeconds *int64 `json:"drainPeriodInSeconds,omitempty"` + InboundNatRules *[]SubResource `json:"inboundNatRules,omitempty"` + LoadBalancerBackendAddresses *[]LoadBalancerBackendAddress `json:"loadBalancerBackendAddresses,omitempty"` + LoadBalancingRules *[]SubResource `json:"loadBalancingRules,omitempty"` + Location *string `json:"location,omitempty"` + OutboundRule *SubResource `json:"outboundRule,omitempty"` + OutboundRules *[]SubResource `json:"outboundRules,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + SyncMode *SyncMode `json:"syncMode,omitempty"` + TunnelInterfaces *[]GatewayLoadBalancerTunnelInterface `json:"tunnelInterfaces,omitempty"` + VirtualNetwork *SubResource `json:"virtualNetwork,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_customdnsconfigpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_customdnsconfigpropertiesformat.go new file mode 100644 index 000000000000..d85f90834ef0 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_customdnsconfigpropertiesformat.go @@ -0,0 +1,9 @@ +package routetables + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type CustomDnsConfigPropertiesFormat struct { + Fqdn *string `json:"fqdn,omitempty"` + IPAddresses *[]string `json:"ipAddresses,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_ddossettings.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_ddossettings.go new file mode 100644 index 000000000000..ffd9663e3613 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_ddossettings.go @@ -0,0 +1,9 @@ +package routetables + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type DdosSettings struct { + DdosProtectionPlan *SubResource `json:"ddosProtectionPlan,omitempty"` + ProtectionMode *DdosSettingsProtectionMode `json:"protectionMode,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_delegation.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_delegation.go new file mode 100644 index 000000000000..2098ca8ace81 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_delegation.go @@ -0,0 +1,12 @@ +package routetables + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type Delegation struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *ServiceDelegationPropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_flowlog.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_flowlog.go new file mode 100644 index 000000000000..34743bfa20fa --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_flowlog.go @@ -0,0 +1,19 @@ +package routetables + +import ( + "github.com/hashicorp/go-azure-helpers/resourcemanager/identity" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type FlowLog struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Identity *identity.SystemAndUserAssignedMap `json:"identity,omitempty"` + Location *string `json:"location,omitempty"` + Name *string `json:"name,omitempty"` + Properties *FlowLogPropertiesFormat `json:"properties,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_flowlogformatparameters.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_flowlogformatparameters.go new file mode 100644 index 000000000000..46d83a48283e --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_flowlogformatparameters.go @@ -0,0 +1,9 @@ +package routetables + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type FlowLogFormatParameters struct { + Type *FlowLogFormatType `json:"type,omitempty"` + Version *int64 `json:"version,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_flowlogpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_flowlogpropertiesformat.go new file mode 100644 index 000000000000..8a24bb94c55a --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_flowlogpropertiesformat.go @@ -0,0 +1,16 @@ +package routetables + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type FlowLogPropertiesFormat struct { + Enabled *bool `json:"enabled,omitempty"` + EnabledFilteringCriteria *string `json:"enabledFilteringCriteria,omitempty"` + FlowAnalyticsConfiguration *TrafficAnalyticsProperties `json:"flowAnalyticsConfiguration,omitempty"` + Format *FlowLogFormatParameters `json:"format,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + RetentionPolicy *RetentionPolicyParameters `json:"retentionPolicy,omitempty"` + StorageId string `json:"storageId"` + TargetResourceGuid *string `json:"targetResourceGuid,omitempty"` + TargetResourceId string `json:"targetResourceId"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_frontendipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_frontendipconfiguration.go new file mode 100644 index 000000000000..15308372f3ab --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_frontendipconfiguration.go @@ -0,0 +1,17 @@ +package routetables + +import ( + "github.com/hashicorp/go-azure-helpers/resourcemanager/zones" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type FrontendIPConfiguration struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *FrontendIPConfigurationPropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` + Zones *zones.Schema `json:"zones,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_frontendipconfigurationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_frontendipconfigurationpropertiesformat.go new file mode 100644 index 000000000000..c3ba5e8cb16c --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_frontendipconfigurationpropertiesformat.go @@ -0,0 +1,19 @@ +package routetables + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type FrontendIPConfigurationPropertiesFormat struct { + GatewayLoadBalancer *SubResource `json:"gatewayLoadBalancer,omitempty"` + InboundNatPools *[]SubResource `json:"inboundNatPools,omitempty"` + InboundNatRules *[]SubResource `json:"inboundNatRules,omitempty"` + LoadBalancingRules *[]SubResource `json:"loadBalancingRules,omitempty"` + OutboundRules *[]SubResource `json:"outboundRules,omitempty"` + PrivateIPAddress *string `json:"privateIPAddress,omitempty"` + PrivateIPAddressVersion *IPVersion `json:"privateIPAddressVersion,omitempty"` + PrivateIPAllocationMethod *IPAllocationMethod `json:"privateIPAllocationMethod,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + PublicIPAddress *PublicIPAddress `json:"publicIPAddress,omitempty"` + PublicIPPrefix *SubResource `json:"publicIPPrefix,omitempty"` + Subnet *Subnet `json:"subnet,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_gatewayloadbalancertunnelinterface.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_gatewayloadbalancertunnelinterface.go new file mode 100644 index 000000000000..f99a910776db --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_gatewayloadbalancertunnelinterface.go @@ -0,0 +1,11 @@ +package routetables + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type GatewayLoadBalancerTunnelInterface struct { + Identifier *int64 `json:"identifier,omitempty"` + Port *int64 `json:"port,omitempty"` + Protocol *GatewayLoadBalancerTunnelProtocol `json:"protocol,omitempty"` + Type *GatewayLoadBalancerTunnelInterfaceType `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_inboundnatrule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_inboundnatrule.go new file mode 100644 index 000000000000..b540b7a4ff5f --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_inboundnatrule.go @@ -0,0 +1,12 @@ +package routetables + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type InboundNatRule struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *InboundNatRulePropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_inboundnatrulepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_inboundnatrulepropertiesformat.go new file mode 100644 index 000000000000..5fa1c54256cf --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_inboundnatrulepropertiesformat.go @@ -0,0 +1,19 @@ +package routetables + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type InboundNatRulePropertiesFormat struct { + BackendAddressPool *SubResource `json:"backendAddressPool,omitempty"` + BackendIPConfiguration *NetworkInterfaceIPConfiguration `json:"backendIPConfiguration,omitempty"` + BackendPort *int64 `json:"backendPort,omitempty"` + EnableFloatingIP *bool `json:"enableFloatingIP,omitempty"` + EnableTcpReset *bool `json:"enableTcpReset,omitempty"` + FrontendIPConfiguration *SubResource `json:"frontendIPConfiguration,omitempty"` + FrontendPort *int64 `json:"frontendPort,omitempty"` + FrontendPortRangeEnd *int64 `json:"frontendPortRangeEnd,omitempty"` + FrontendPortRangeStart *int64 `json:"frontendPortRangeStart,omitempty"` + IdleTimeoutInMinutes *int64 `json:"idleTimeoutInMinutes,omitempty"` + Protocol *TransportProtocol `json:"protocol,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_ipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_ipconfiguration.go new file mode 100644 index 000000000000..7f86bd442fd3 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_ipconfiguration.go @@ -0,0 +1,11 @@ +package routetables + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type IPConfiguration struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *IPConfigurationPropertiesFormat `json:"properties,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_ipconfigurationprofile.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_ipconfigurationprofile.go new file mode 100644 index 000000000000..10063b56d94f --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_ipconfigurationprofile.go @@ -0,0 +1,12 @@ +package routetables + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type IPConfigurationProfile struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *IPConfigurationProfilePropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_ipconfigurationprofilepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_ipconfigurationprofilepropertiesformat.go new file mode 100644 index 000000000000..8be23ea8407e --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_ipconfigurationprofilepropertiesformat.go @@ -0,0 +1,9 @@ +package routetables + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type IPConfigurationProfilePropertiesFormat struct { + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + Subnet *Subnet `json:"subnet,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_ipconfigurationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_ipconfigurationpropertiesformat.go new file mode 100644 index 000000000000..33538e3da044 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_ipconfigurationpropertiesformat.go @@ -0,0 +1,12 @@ +package routetables + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type IPConfigurationPropertiesFormat struct { + PrivateIPAddress *string `json:"privateIPAddress,omitempty"` + PrivateIPAllocationMethod *IPAllocationMethod `json:"privateIPAllocationMethod,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + PublicIPAddress *PublicIPAddress `json:"publicIPAddress,omitempty"` + Subnet *Subnet `json:"subnet,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_iptag.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_iptag.go new file mode 100644 index 000000000000..0591a6fbb81a --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_iptag.go @@ -0,0 +1,9 @@ +package routetables + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type IPTag struct { + IPTagType *string `json:"ipTagType,omitempty"` + Tag *string `json:"tag,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_loadbalancerbackendaddress.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_loadbalancerbackendaddress.go new file mode 100644 index 000000000000..6eb63262bd24 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_loadbalancerbackendaddress.go @@ -0,0 +1,9 @@ +package routetables + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type LoadBalancerBackendAddress struct { + Name *string `json:"name,omitempty"` + Properties *LoadBalancerBackendAddressPropertiesFormat `json:"properties,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_loadbalancerbackendaddresspropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_loadbalancerbackendaddresspropertiesformat.go new file mode 100644 index 000000000000..b4070586d52d --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_loadbalancerbackendaddresspropertiesformat.go @@ -0,0 +1,14 @@ +package routetables + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type LoadBalancerBackendAddressPropertiesFormat struct { + AdminState *LoadBalancerBackendAddressAdminState `json:"adminState,omitempty"` + IPAddress *string `json:"ipAddress,omitempty"` + InboundNatRulesPortMapping *[]NatRulePortMapping `json:"inboundNatRulesPortMapping,omitempty"` + LoadBalancerFrontendIPConfiguration *SubResource `json:"loadBalancerFrontendIPConfiguration,omitempty"` + NetworkInterfaceIPConfiguration *SubResource `json:"networkInterfaceIPConfiguration,omitempty"` + Subnet *SubResource `json:"subnet,omitempty"` + VirtualNetwork *SubResource `json:"virtualNetwork,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_natgateway.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_natgateway.go new file mode 100644 index 000000000000..cdcecbfa0983 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_natgateway.go @@ -0,0 +1,20 @@ +package routetables + +import ( + "github.com/hashicorp/go-azure-helpers/resourcemanager/zones" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NatGateway struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Location *string `json:"location,omitempty"` + Name *string `json:"name,omitempty"` + Properties *NatGatewayPropertiesFormat `json:"properties,omitempty"` + Sku *NatGatewaySku `json:"sku,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` + Zones *zones.Schema `json:"zones,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_natgatewaypropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_natgatewaypropertiesformat.go new file mode 100644 index 000000000000..dd643c79c79a --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_natgatewaypropertiesformat.go @@ -0,0 +1,13 @@ +package routetables + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NatGatewayPropertiesFormat struct { + IdleTimeoutInMinutes *int64 `json:"idleTimeoutInMinutes,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + PublicIPAddresses *[]SubResource `json:"publicIpAddresses,omitempty"` + PublicIPPrefixes *[]SubResource `json:"publicIpPrefixes,omitempty"` + ResourceGuid *string `json:"resourceGuid,omitempty"` + Subnets *[]SubResource `json:"subnets,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_natgatewaysku.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_natgatewaysku.go new file mode 100644 index 000000000000..8e15e8b12506 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_natgatewaysku.go @@ -0,0 +1,8 @@ +package routetables + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NatGatewaySku struct { + Name *NatGatewaySkuName `json:"name,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_natruleportmapping.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_natruleportmapping.go new file mode 100644 index 000000000000..665d5f253ced --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_natruleportmapping.go @@ -0,0 +1,10 @@ +package routetables + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NatRulePortMapping struct { + BackendPort *int64 `json:"backendPort,omitempty"` + FrontendPort *int64 `json:"frontendPort,omitempty"` + InboundNatRuleName *string `json:"inboundNatRuleName,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_networkinterface.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_networkinterface.go new file mode 100644 index 000000000000..fac5f0869e65 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_networkinterface.go @@ -0,0 +1,19 @@ +package routetables + +import ( + "github.com/hashicorp/go-azure-helpers/resourcemanager/edgezones" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NetworkInterface struct { + Etag *string `json:"etag,omitempty"` + ExtendedLocation *edgezones.Model `json:"extendedLocation,omitempty"` + Id *string `json:"id,omitempty"` + Location *string `json:"location,omitempty"` + Name *string `json:"name,omitempty"` + Properties *NetworkInterfacePropertiesFormat `json:"properties,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_networkinterfacednssettings.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_networkinterfacednssettings.go new file mode 100644 index 000000000000..9d476ca26425 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_networkinterfacednssettings.go @@ -0,0 +1,12 @@ +package routetables + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NetworkInterfaceDnsSettings struct { + AppliedDnsServers *[]string `json:"appliedDnsServers,omitempty"` + DnsServers *[]string `json:"dnsServers,omitempty"` + InternalDnsNameLabel *string `json:"internalDnsNameLabel,omitempty"` + InternalDomainNameSuffix *string `json:"internalDomainNameSuffix,omitempty"` + InternalFqdn *string `json:"internalFqdn,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_networkinterfaceipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_networkinterfaceipconfiguration.go new file mode 100644 index 000000000000..7db216219a15 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_networkinterfaceipconfiguration.go @@ -0,0 +1,12 @@ +package routetables + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NetworkInterfaceIPConfiguration struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *NetworkInterfaceIPConfigurationPropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_networkinterfaceipconfigurationprivatelinkconnectionproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_networkinterfaceipconfigurationprivatelinkconnectionproperties.go new file mode 100644 index 000000000000..60fdba4dd132 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_networkinterfaceipconfigurationprivatelinkconnectionproperties.go @@ -0,0 +1,10 @@ +package routetables + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties struct { + Fqdns *[]string `json:"fqdns,omitempty"` + GroupId *string `json:"groupId,omitempty"` + RequiredMemberName *string `json:"requiredMemberName,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_networkinterfaceipconfigurationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_networkinterfaceipconfigurationpropertiesformat.go new file mode 100644 index 000000000000..e81aa38f5f99 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_networkinterfaceipconfigurationpropertiesformat.go @@ -0,0 +1,22 @@ +package routetables + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NetworkInterfaceIPConfigurationPropertiesFormat struct { + ApplicationGatewayBackendAddressPools *[]ApplicationGatewayBackendAddressPool `json:"applicationGatewayBackendAddressPools,omitempty"` + ApplicationSecurityGroups *[]ApplicationSecurityGroup `json:"applicationSecurityGroups,omitempty"` + GatewayLoadBalancer *SubResource `json:"gatewayLoadBalancer,omitempty"` + LoadBalancerBackendAddressPools *[]BackendAddressPool `json:"loadBalancerBackendAddressPools,omitempty"` + LoadBalancerInboundNatRules *[]InboundNatRule `json:"loadBalancerInboundNatRules,omitempty"` + Primary *bool `json:"primary,omitempty"` + PrivateIPAddress *string `json:"privateIPAddress,omitempty"` + PrivateIPAddressPrefixLength *int64 `json:"privateIPAddressPrefixLength,omitempty"` + PrivateIPAddressVersion *IPVersion `json:"privateIPAddressVersion,omitempty"` + PrivateIPAllocationMethod *IPAllocationMethod `json:"privateIPAllocationMethod,omitempty"` + PrivateLinkConnectionProperties *NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties `json:"privateLinkConnectionProperties,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + PublicIPAddress *PublicIPAddress `json:"publicIPAddress,omitempty"` + Subnet *Subnet `json:"subnet,omitempty"` + VirtualNetworkTaps *[]VirtualNetworkTap `json:"virtualNetworkTaps,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_networkinterfacepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_networkinterfacepropertiesformat.go new file mode 100644 index 000000000000..4cc36c8f7f5a --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_networkinterfacepropertiesformat.go @@ -0,0 +1,29 @@ +package routetables + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NetworkInterfacePropertiesFormat struct { + AuxiliaryMode *NetworkInterfaceAuxiliaryMode `json:"auxiliaryMode,omitempty"` + AuxiliarySku *NetworkInterfaceAuxiliarySku `json:"auxiliarySku,omitempty"` + DisableTcpStateTracking *bool `json:"disableTcpStateTracking,omitempty"` + DnsSettings *NetworkInterfaceDnsSettings `json:"dnsSettings,omitempty"` + DscpConfiguration *SubResource `json:"dscpConfiguration,omitempty"` + EnableAcceleratedNetworking *bool `json:"enableAcceleratedNetworking,omitempty"` + EnableIPForwarding *bool `json:"enableIPForwarding,omitempty"` + HostedWorkloads *[]string `json:"hostedWorkloads,omitempty"` + IPConfigurations *[]NetworkInterfaceIPConfiguration `json:"ipConfigurations,omitempty"` + MacAddress *string `json:"macAddress,omitempty"` + MigrationPhase *NetworkInterfaceMigrationPhase `json:"migrationPhase,omitempty"` + NetworkSecurityGroup *NetworkSecurityGroup `json:"networkSecurityGroup,omitempty"` + NicType *NetworkInterfaceNicType `json:"nicType,omitempty"` + Primary *bool `json:"primary,omitempty"` + PrivateEndpoint *PrivateEndpoint `json:"privateEndpoint,omitempty"` + PrivateLinkService *PrivateLinkService `json:"privateLinkService,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + ResourceGuid *string `json:"resourceGuid,omitempty"` + TapConfigurations *[]NetworkInterfaceTapConfiguration `json:"tapConfigurations,omitempty"` + VirtualMachine *SubResource `json:"virtualMachine,omitempty"` + VnetEncryptionSupported *bool `json:"vnetEncryptionSupported,omitempty"` + WorkloadType *string `json:"workloadType,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_networkinterfacetapconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_networkinterfacetapconfiguration.go new file mode 100644 index 000000000000..6f876f8ce533 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_networkinterfacetapconfiguration.go @@ -0,0 +1,12 @@ +package routetables + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NetworkInterfaceTapConfiguration struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *NetworkInterfaceTapConfigurationPropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_networkinterfacetapconfigurationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_networkinterfacetapconfigurationpropertiesformat.go new file mode 100644 index 000000000000..fbd84b3af86c --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_networkinterfacetapconfigurationpropertiesformat.go @@ -0,0 +1,9 @@ +package routetables + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NetworkInterfaceTapConfigurationPropertiesFormat struct { + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + VirtualNetworkTap *VirtualNetworkTap `json:"virtualNetworkTap,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_networksecuritygroup.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_networksecuritygroup.go new file mode 100644 index 000000000000..84c0fadac170 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_networksecuritygroup.go @@ -0,0 +1,14 @@ +package routetables + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NetworkSecurityGroup struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Location *string `json:"location,omitempty"` + Name *string `json:"name,omitempty"` + Properties *NetworkSecurityGroupPropertiesFormat `json:"properties,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_networksecuritygrouppropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_networksecuritygrouppropertiesformat.go new file mode 100644 index 000000000000..633f7012e041 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_networksecuritygrouppropertiesformat.go @@ -0,0 +1,15 @@ +package routetables + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NetworkSecurityGroupPropertiesFormat struct { + DefaultSecurityRules *[]SecurityRule `json:"defaultSecurityRules,omitempty"` + FlowLogs *[]FlowLog `json:"flowLogs,omitempty"` + FlushConnection *bool `json:"flushConnection,omitempty"` + NetworkInterfaces *[]NetworkInterface `json:"networkInterfaces,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + ResourceGuid *string `json:"resourceGuid,omitempty"` + SecurityRules *[]SecurityRule `json:"securityRules,omitempty"` + Subnets *[]Subnet `json:"subnets,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_privateendpoint.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_privateendpoint.go new file mode 100644 index 000000000000..80308b3a2a6a --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_privateendpoint.go @@ -0,0 +1,19 @@ +package routetables + +import ( + "github.com/hashicorp/go-azure-helpers/resourcemanager/edgezones" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PrivateEndpoint struct { + Etag *string `json:"etag,omitempty"` + ExtendedLocation *edgezones.Model `json:"extendedLocation,omitempty"` + Id *string `json:"id,omitempty"` + Location *string `json:"location,omitempty"` + Name *string `json:"name,omitempty"` + Properties *PrivateEndpointProperties `json:"properties,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_privateendpointconnection.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_privateendpointconnection.go new file mode 100644 index 000000000000..0e503458e9c1 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_privateendpointconnection.go @@ -0,0 +1,12 @@ +package routetables + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PrivateEndpointConnection struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *PrivateEndpointConnectionProperties `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_privateendpointconnectionproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_privateendpointconnectionproperties.go new file mode 100644 index 000000000000..f8d3eeab02bf --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_privateendpointconnectionproperties.go @@ -0,0 +1,12 @@ +package routetables + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PrivateEndpointConnectionProperties struct { + LinkIdentifier *string `json:"linkIdentifier,omitempty"` + PrivateEndpoint *PrivateEndpoint `json:"privateEndpoint,omitempty"` + PrivateEndpointLocation *string `json:"privateEndpointLocation,omitempty"` + PrivateLinkServiceConnectionState *PrivateLinkServiceConnectionState `json:"privateLinkServiceConnectionState,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_privateendpointipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_privateendpointipconfiguration.go new file mode 100644 index 000000000000..de4e02544056 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_privateendpointipconfiguration.go @@ -0,0 +1,11 @@ +package routetables + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PrivateEndpointIPConfiguration struct { + Etag *string `json:"etag,omitempty"` + Name *string `json:"name,omitempty"` + Properties *PrivateEndpointIPConfigurationProperties `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_privateendpointipconfigurationproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_privateendpointipconfigurationproperties.go new file mode 100644 index 000000000000..1ba73d98f4af --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_privateendpointipconfigurationproperties.go @@ -0,0 +1,10 @@ +package routetables + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PrivateEndpointIPConfigurationProperties struct { + GroupId *string `json:"groupId,omitempty"` + MemberName *string `json:"memberName,omitempty"` + PrivateIPAddress *string `json:"privateIPAddress,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_privateendpointproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_privateendpointproperties.go new file mode 100644 index 000000000000..3d92a4a92e13 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_privateendpointproperties.go @@ -0,0 +1,16 @@ +package routetables + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PrivateEndpointProperties struct { + ApplicationSecurityGroups *[]ApplicationSecurityGroup `json:"applicationSecurityGroups,omitempty"` + CustomDnsConfigs *[]CustomDnsConfigPropertiesFormat `json:"customDnsConfigs,omitempty"` + CustomNetworkInterfaceName *string `json:"customNetworkInterfaceName,omitempty"` + IPConfigurations *[]PrivateEndpointIPConfiguration `json:"ipConfigurations,omitempty"` + ManualPrivateLinkServiceConnections *[]PrivateLinkServiceConnection `json:"manualPrivateLinkServiceConnections,omitempty"` + NetworkInterfaces *[]NetworkInterface `json:"networkInterfaces,omitempty"` + PrivateLinkServiceConnections *[]PrivateLinkServiceConnection `json:"privateLinkServiceConnections,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + Subnet *Subnet `json:"subnet,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_privatelinkservice.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_privatelinkservice.go new file mode 100644 index 000000000000..29bf0cf58348 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_privatelinkservice.go @@ -0,0 +1,19 @@ +package routetables + +import ( + "github.com/hashicorp/go-azure-helpers/resourcemanager/edgezones" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PrivateLinkService struct { + Etag *string `json:"etag,omitempty"` + ExtendedLocation *edgezones.Model `json:"extendedLocation,omitempty"` + Id *string `json:"id,omitempty"` + Location *string `json:"location,omitempty"` + Name *string `json:"name,omitempty"` + Properties *PrivateLinkServiceProperties `json:"properties,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_privatelinkserviceconnection.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_privatelinkserviceconnection.go new file mode 100644 index 000000000000..4adf690c566c --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_privatelinkserviceconnection.go @@ -0,0 +1,12 @@ +package routetables + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PrivateLinkServiceConnection struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *PrivateLinkServiceConnectionProperties `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_privatelinkserviceconnectionproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_privatelinkserviceconnectionproperties.go new file mode 100644 index 000000000000..063a4faec37c --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_privatelinkserviceconnectionproperties.go @@ -0,0 +1,12 @@ +package routetables + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PrivateLinkServiceConnectionProperties struct { + GroupIds *[]string `json:"groupIds,omitempty"` + PrivateLinkServiceConnectionState *PrivateLinkServiceConnectionState `json:"privateLinkServiceConnectionState,omitempty"` + PrivateLinkServiceId *string `json:"privateLinkServiceId,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + RequestMessage *string `json:"requestMessage,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_privatelinkserviceconnectionstate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_privatelinkserviceconnectionstate.go new file mode 100644 index 000000000000..3b1634cb0596 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_privatelinkserviceconnectionstate.go @@ -0,0 +1,10 @@ +package routetables + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PrivateLinkServiceConnectionState struct { + ActionsRequired *string `json:"actionsRequired,omitempty"` + Description *string `json:"description,omitempty"` + Status *string `json:"status,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_privatelinkserviceipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_privatelinkserviceipconfiguration.go new file mode 100644 index 000000000000..e3ad61faa8fd --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_privatelinkserviceipconfiguration.go @@ -0,0 +1,12 @@ +package routetables + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PrivateLinkServiceIPConfiguration struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *PrivateLinkServiceIPConfigurationProperties `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_privatelinkserviceipconfigurationproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_privatelinkserviceipconfigurationproperties.go new file mode 100644 index 000000000000..430eebd19aef --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_privatelinkserviceipconfigurationproperties.go @@ -0,0 +1,13 @@ +package routetables + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PrivateLinkServiceIPConfigurationProperties struct { + Primary *bool `json:"primary,omitempty"` + PrivateIPAddress *string `json:"privateIPAddress,omitempty"` + PrivateIPAddressVersion *IPVersion `json:"privateIPAddressVersion,omitempty"` + PrivateIPAllocationMethod *IPAllocationMethod `json:"privateIPAllocationMethod,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + Subnet *Subnet `json:"subnet,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_privatelinkserviceproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_privatelinkserviceproperties.go new file mode 100644 index 000000000000..7be9cd6ea0f2 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_privatelinkserviceproperties.go @@ -0,0 +1,18 @@ +package routetables + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PrivateLinkServiceProperties struct { + Alias *string `json:"alias,omitempty"` + AutoApproval *ResourceSet `json:"autoApproval,omitempty"` + DestinationIPAddress *string `json:"destinationIPAddress,omitempty"` + EnableProxyProtocol *bool `json:"enableProxyProtocol,omitempty"` + Fqdns *[]string `json:"fqdns,omitempty"` + IPConfigurations *[]PrivateLinkServiceIPConfiguration `json:"ipConfigurations,omitempty"` + LoadBalancerFrontendIPConfigurations *[]FrontendIPConfiguration `json:"loadBalancerFrontendIpConfigurations,omitempty"` + NetworkInterfaces *[]NetworkInterface `json:"networkInterfaces,omitempty"` + PrivateEndpointConnections *[]PrivateEndpointConnection `json:"privateEndpointConnections,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + Visibility *ResourceSet `json:"visibility,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_publicipaddress.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_publicipaddress.go new file mode 100644 index 000000000000..8248c499a228 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_publicipaddress.go @@ -0,0 +1,22 @@ +package routetables + +import ( + "github.com/hashicorp/go-azure-helpers/resourcemanager/edgezones" + "github.com/hashicorp/go-azure-helpers/resourcemanager/zones" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PublicIPAddress struct { + Etag *string `json:"etag,omitempty"` + ExtendedLocation *edgezones.Model `json:"extendedLocation,omitempty"` + Id *string `json:"id,omitempty"` + Location *string `json:"location,omitempty"` + Name *string `json:"name,omitempty"` + Properties *PublicIPAddressPropertiesFormat `json:"properties,omitempty"` + Sku *PublicIPAddressSku `json:"sku,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` + Zones *zones.Schema `json:"zones,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_publicipaddressdnssettings.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_publicipaddressdnssettings.go new file mode 100644 index 000000000000..84b1e72e903d --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_publicipaddressdnssettings.go @@ -0,0 +1,11 @@ +package routetables + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PublicIPAddressDnsSettings struct { + DomainNameLabel *string `json:"domainNameLabel,omitempty"` + DomainNameLabelScope *PublicIPAddressDnsSettingsDomainNameLabelScope `json:"domainNameLabelScope,omitempty"` + Fqdn *string `json:"fqdn,omitempty"` + ReverseFqdn *string `json:"reverseFqdn,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_publicipaddresspropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_publicipaddresspropertiesformat.go new file mode 100644 index 000000000000..ba0c692ec236 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_publicipaddresspropertiesformat.go @@ -0,0 +1,23 @@ +package routetables + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PublicIPAddressPropertiesFormat struct { + DdosSettings *DdosSettings `json:"ddosSettings,omitempty"` + DeleteOption *DeleteOptions `json:"deleteOption,omitempty"` + DnsSettings *PublicIPAddressDnsSettings `json:"dnsSettings,omitempty"` + IPAddress *string `json:"ipAddress,omitempty"` + IPConfiguration *IPConfiguration `json:"ipConfiguration,omitempty"` + IPTags *[]IPTag `json:"ipTags,omitempty"` + IdleTimeoutInMinutes *int64 `json:"idleTimeoutInMinutes,omitempty"` + LinkedPublicIPAddress *PublicIPAddress `json:"linkedPublicIPAddress,omitempty"` + MigrationPhase *PublicIPAddressMigrationPhase `json:"migrationPhase,omitempty"` + NatGateway *NatGateway `json:"natGateway,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + PublicIPAddressVersion *IPVersion `json:"publicIPAddressVersion,omitempty"` + PublicIPAllocationMethod *IPAllocationMethod `json:"publicIPAllocationMethod,omitempty"` + PublicIPPrefix *SubResource `json:"publicIPPrefix,omitempty"` + ResourceGuid *string `json:"resourceGuid,omitempty"` + ServicePublicIPAddress *PublicIPAddress `json:"servicePublicIPAddress,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_publicipaddresssku.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_publicipaddresssku.go new file mode 100644 index 000000000000..956c758896f1 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_publicipaddresssku.go @@ -0,0 +1,9 @@ +package routetables + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PublicIPAddressSku struct { + Name *PublicIPAddressSkuName `json:"name,omitempty"` + Tier *PublicIPAddressSkuTier `json:"tier,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_resourcenavigationlink.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_resourcenavigationlink.go new file mode 100644 index 000000000000..c5d74e0472b6 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_resourcenavigationlink.go @@ -0,0 +1,12 @@ +package routetables + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ResourceNavigationLink struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *ResourceNavigationLinkFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_resourcenavigationlinkformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_resourcenavigationlinkformat.go new file mode 100644 index 000000000000..eca6b593c69d --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_resourcenavigationlinkformat.go @@ -0,0 +1,10 @@ +package routetables + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ResourceNavigationLinkFormat struct { + Link *string `json:"link,omitempty"` + LinkedResourceType *string `json:"linkedResourceType,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_resourceset.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_resourceset.go new file mode 100644 index 000000000000..8a57a8fb40d2 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_resourceset.go @@ -0,0 +1,8 @@ +package routetables + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ResourceSet struct { + Subscriptions *[]string `json:"subscriptions,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_retentionpolicyparameters.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_retentionpolicyparameters.go new file mode 100644 index 000000000000..37bad49cdcb0 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_retentionpolicyparameters.go @@ -0,0 +1,9 @@ +package routetables + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type RetentionPolicyParameters struct { + Days *int64 `json:"days,omitempty"` + Enabled *bool `json:"enabled,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_route.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_route.go new file mode 100644 index 000000000000..10c17005b287 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_route.go @@ -0,0 +1,12 @@ +package routetables + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type Route struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *RoutePropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_routepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_routepropertiesformat.go new file mode 100644 index 000000000000..028abe93e733 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_routepropertiesformat.go @@ -0,0 +1,12 @@ +package routetables + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type RoutePropertiesFormat struct { + AddressPrefix *string `json:"addressPrefix,omitempty"` + HasBgpOverride *bool `json:"hasBgpOverride,omitempty"` + NextHopIPAddress *string `json:"nextHopIpAddress,omitempty"` + NextHopType RouteNextHopType `json:"nextHopType"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_routetable.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_routetable.go new file mode 100644 index 000000000000..1b2bb7549974 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_routetable.go @@ -0,0 +1,14 @@ +package routetables + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type RouteTable struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Location *string `json:"location,omitempty"` + Name *string `json:"name,omitempty"` + Properties *RouteTablePropertiesFormat `json:"properties,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_routetablepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_routetablepropertiesformat.go new file mode 100644 index 000000000000..64470e39699c --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_routetablepropertiesformat.go @@ -0,0 +1,12 @@ +package routetables + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type RouteTablePropertiesFormat struct { + DisableBgpRoutePropagation *bool `json:"disableBgpRoutePropagation,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + ResourceGuid *string `json:"resourceGuid,omitempty"` + Routes *[]Route `json:"routes,omitempty"` + Subnets *[]Subnet `json:"subnets,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_securityrule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_securityrule.go new file mode 100644 index 000000000000..ab6f4a35210d --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_securityrule.go @@ -0,0 +1,12 @@ +package routetables + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type SecurityRule struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *SecurityRulePropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_securityrulepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_securityrulepropertiesformat.go new file mode 100644 index 000000000000..636af5195f05 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_securityrulepropertiesformat.go @@ -0,0 +1,23 @@ +package routetables + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type SecurityRulePropertiesFormat struct { + Access SecurityRuleAccess `json:"access"` + Description *string `json:"description,omitempty"` + DestinationAddressPrefix *string `json:"destinationAddressPrefix,omitempty"` + DestinationAddressPrefixes *[]string `json:"destinationAddressPrefixes,omitempty"` + DestinationApplicationSecurityGroups *[]ApplicationSecurityGroup `json:"destinationApplicationSecurityGroups,omitempty"` + DestinationPortRange *string `json:"destinationPortRange,omitempty"` + DestinationPortRanges *[]string `json:"destinationPortRanges,omitempty"` + Direction SecurityRuleDirection `json:"direction"` + Priority int64 `json:"priority"` + Protocol SecurityRuleProtocol `json:"protocol"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + SourceAddressPrefix *string `json:"sourceAddressPrefix,omitempty"` + SourceAddressPrefixes *[]string `json:"sourceAddressPrefixes,omitempty"` + SourceApplicationSecurityGroups *[]ApplicationSecurityGroup `json:"sourceApplicationSecurityGroups,omitempty"` + SourcePortRange *string `json:"sourcePortRange,omitempty"` + SourcePortRanges *[]string `json:"sourcePortRanges,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_serviceassociationlink.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_serviceassociationlink.go new file mode 100644 index 000000000000..682b36599897 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_serviceassociationlink.go @@ -0,0 +1,12 @@ +package routetables + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ServiceAssociationLink struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *ServiceAssociationLinkPropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_serviceassociationlinkpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_serviceassociationlinkpropertiesformat.go new file mode 100644 index 000000000000..7ed4a93de002 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_serviceassociationlinkpropertiesformat.go @@ -0,0 +1,12 @@ +package routetables + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ServiceAssociationLinkPropertiesFormat struct { + AllowDelete *bool `json:"allowDelete,omitempty"` + Link *string `json:"link,omitempty"` + LinkedResourceType *string `json:"linkedResourceType,omitempty"` + Locations *[]string `json:"locations,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_servicedelegationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_servicedelegationpropertiesformat.go new file mode 100644 index 000000000000..fba1a21dc465 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_servicedelegationpropertiesformat.go @@ -0,0 +1,10 @@ +package routetables + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ServiceDelegationPropertiesFormat struct { + Actions *[]string `json:"actions,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + ServiceName *string `json:"serviceName,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_serviceendpointpolicy.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_serviceendpointpolicy.go new file mode 100644 index 000000000000..c941578ec3ff --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_serviceendpointpolicy.go @@ -0,0 +1,15 @@ +package routetables + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ServiceEndpointPolicy struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Kind *string `json:"kind,omitempty"` + Location *string `json:"location,omitempty"` + Name *string `json:"name,omitempty"` + Properties *ServiceEndpointPolicyPropertiesFormat `json:"properties,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_serviceendpointpolicydefinition.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_serviceendpointpolicydefinition.go new file mode 100644 index 000000000000..6a6135ec2061 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_serviceendpointpolicydefinition.go @@ -0,0 +1,12 @@ +package routetables + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ServiceEndpointPolicyDefinition struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *ServiceEndpointPolicyDefinitionPropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_serviceendpointpolicydefinitionpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_serviceendpointpolicydefinitionpropertiesformat.go new file mode 100644 index 000000000000..a9fcdcec8469 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_serviceendpointpolicydefinitionpropertiesformat.go @@ -0,0 +1,11 @@ +package routetables + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ServiceEndpointPolicyDefinitionPropertiesFormat struct { + Description *string `json:"description,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + Service *string `json:"service,omitempty"` + ServiceResources *[]string `json:"serviceResources,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_serviceendpointpolicypropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_serviceendpointpolicypropertiesformat.go new file mode 100644 index 000000000000..25a22cda3fd9 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_serviceendpointpolicypropertiesformat.go @@ -0,0 +1,13 @@ +package routetables + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ServiceEndpointPolicyPropertiesFormat struct { + ContextualServiceEndpointPolicies *[]string `json:"contextualServiceEndpointPolicies,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + ResourceGuid *string `json:"resourceGuid,omitempty"` + ServiceAlias *string `json:"serviceAlias,omitempty"` + ServiceEndpointPolicyDefinitions *[]ServiceEndpointPolicyDefinition `json:"serviceEndpointPolicyDefinitions,omitempty"` + Subnets *[]Subnet `json:"subnets,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_serviceendpointpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_serviceendpointpropertiesformat.go new file mode 100644 index 000000000000..3f11f7d1bad8 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_serviceendpointpropertiesformat.go @@ -0,0 +1,11 @@ +package routetables + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ServiceEndpointPropertiesFormat struct { + Locations *[]string `json:"locations,omitempty"` + NetworkIdentifier *SubResource `json:"networkIdentifier,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + Service *string `json:"service,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_subnet.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_subnet.go new file mode 100644 index 000000000000..949e07613d67 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_subnet.go @@ -0,0 +1,12 @@ +package routetables + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type Subnet struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *SubnetPropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_subnetpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_subnetpropertiesformat.go new file mode 100644 index 000000000000..e9da12bf739c --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_subnetpropertiesformat.go @@ -0,0 +1,28 @@ +package routetables + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type SubnetPropertiesFormat struct { + AddressPrefix *string `json:"addressPrefix,omitempty"` + AddressPrefixes *[]string `json:"addressPrefixes,omitempty"` + ApplicationGatewayIPConfigurations *[]ApplicationGatewayIPConfiguration `json:"applicationGatewayIPConfigurations,omitempty"` + DefaultOutboundAccess *bool `json:"defaultOutboundAccess,omitempty"` + Delegations *[]Delegation `json:"delegations,omitempty"` + IPAllocations *[]SubResource `json:"ipAllocations,omitempty"` + IPConfigurationProfiles *[]IPConfigurationProfile `json:"ipConfigurationProfiles,omitempty"` + IPConfigurations *[]IPConfiguration `json:"ipConfigurations,omitempty"` + NatGateway *SubResource `json:"natGateway,omitempty"` + NetworkSecurityGroup *NetworkSecurityGroup `json:"networkSecurityGroup,omitempty"` + PrivateEndpointNetworkPolicies *VirtualNetworkPrivateEndpointNetworkPolicies `json:"privateEndpointNetworkPolicies,omitempty"` + PrivateEndpoints *[]PrivateEndpoint `json:"privateEndpoints,omitempty"` + PrivateLinkServiceNetworkPolicies *VirtualNetworkPrivateLinkServiceNetworkPolicies `json:"privateLinkServiceNetworkPolicies,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + Purpose *string `json:"purpose,omitempty"` + ResourceNavigationLinks *[]ResourceNavigationLink `json:"resourceNavigationLinks,omitempty"` + RouteTable *RouteTable `json:"routeTable,omitempty"` + ServiceAssociationLinks *[]ServiceAssociationLink `json:"serviceAssociationLinks,omitempty"` + ServiceEndpointPolicies *[]ServiceEndpointPolicy `json:"serviceEndpointPolicies,omitempty"` + ServiceEndpoints *[]ServiceEndpointPropertiesFormat `json:"serviceEndpoints,omitempty"` + SharingScope *SharingScope `json:"sharingScope,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_subresource.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_subresource.go new file mode 100644 index 000000000000..eab315946e0a --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_subresource.go @@ -0,0 +1,8 @@ +package routetables + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type SubResource struct { + Id *string `json:"id,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_tagsobject.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_tagsobject.go new file mode 100644 index 000000000000..61b33687ad47 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_tagsobject.go @@ -0,0 +1,8 @@ +package routetables + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type TagsObject struct { + Tags *map[string]string `json:"tags,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_trafficanalyticsconfigurationproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_trafficanalyticsconfigurationproperties.go new file mode 100644 index 000000000000..e02ff0c097ec --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_trafficanalyticsconfigurationproperties.go @@ -0,0 +1,12 @@ +package routetables + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type TrafficAnalyticsConfigurationProperties struct { + Enabled *bool `json:"enabled,omitempty"` + TrafficAnalyticsInterval *int64 `json:"trafficAnalyticsInterval,omitempty"` + WorkspaceId *string `json:"workspaceId,omitempty"` + WorkspaceRegion *string `json:"workspaceRegion,omitempty"` + WorkspaceResourceId *string `json:"workspaceResourceId,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_trafficanalyticsproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_trafficanalyticsproperties.go new file mode 100644 index 000000000000..d88b7ea067e2 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_trafficanalyticsproperties.go @@ -0,0 +1,8 @@ +package routetables + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type TrafficAnalyticsProperties struct { + NetworkWatcherFlowAnalyticsConfiguration *TrafficAnalyticsConfigurationProperties `json:"networkWatcherFlowAnalyticsConfiguration,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_virtualnetworktap.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_virtualnetworktap.go new file mode 100644 index 000000000000..7551bed07c8b --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_virtualnetworktap.go @@ -0,0 +1,14 @@ +package routetables + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VirtualNetworkTap struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Location *string `json:"location,omitempty"` + Name *string `json:"name,omitempty"` + Properties *VirtualNetworkTapPropertiesFormat `json:"properties,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_virtualnetworktappropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_virtualnetworktappropertiesformat.go new file mode 100644 index 000000000000..2094070851fd --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/model_virtualnetworktappropertiesformat.go @@ -0,0 +1,13 @@ +package routetables + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VirtualNetworkTapPropertiesFormat struct { + DestinationLoadBalancerFrontEndIPConfiguration *FrontendIPConfiguration `json:"destinationLoadBalancerFrontEndIPConfiguration,omitempty"` + DestinationNetworkInterfaceIPConfiguration *NetworkInterfaceIPConfiguration `json:"destinationNetworkInterfaceIPConfiguration,omitempty"` + DestinationPort *int64 `json:"destinationPort,omitempty"` + NetworkInterfaceTapConfigurations *[]NetworkInterfaceTapConfiguration `json:"networkInterfaceTapConfigurations,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + ResourceGuid *string `json:"resourceGuid,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/predicates.go new file mode 100644 index 000000000000..e1d89b9fbd49 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/predicates.go @@ -0,0 +1,37 @@ +package routetables + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type RouteTableOperationPredicate struct { + Etag *string + Id *string + Location *string + Name *string + Type *string +} + +func (p RouteTableOperationPredicate) Matches(input RouteTable) bool { + + if p.Etag != nil && (input.Etag == nil || *p.Etag != *input.Etag) { + return false + } + + if p.Id != nil && (input.Id == nil || *p.Id != *input.Id) { + return false + } + + if p.Location != nil && (input.Location == nil || *p.Location != *input.Location) { + return false + } + + if p.Name != nil && (input.Name == nil || *p.Name != *input.Name) { + return false + } + + if p.Type != nil && (input.Type == nil || *p.Type != *input.Type) { + return false + } + + return true +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/version.go new file mode 100644 index 000000000000..904c3ac9da96 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables/version.go @@ -0,0 +1,10 @@ +package routetables + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2024-03-01" + +func userAgent() string { + return "hashicorp/go-azure-sdk/routetables/2024-03-01" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routingrulecollections/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routingrulecollections/README.md new file mode 100644 index 000000000000..ef390e4cd44b --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routingrulecollections/README.md @@ -0,0 +1,86 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routingrulecollections` Documentation + +The `routingrulecollections` SDK allows for interaction with Azure Resource Manager `network` (API Version `2024-03-01`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routingrulecollections" +``` + + +### Client Initialization + +```go +client := routingrulecollections.NewRoutingRuleCollectionsClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `RoutingRuleCollectionsClient.CreateOrUpdate` + +```go +ctx := context.TODO() +id := routingrulecollections.NewRuleCollectionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkManagerName", "routingConfigurationName", "ruleCollectionName") + +payload := routingrulecollections.RoutingRuleCollection{ + // ... +} + + +read, err := client.CreateOrUpdate(ctx, id, payload) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `RoutingRuleCollectionsClient.Delete` + +```go +ctx := context.TODO() +id := routingrulecollections.NewRuleCollectionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkManagerName", "routingConfigurationName", "ruleCollectionName") + +if err := client.DeleteThenPoll(ctx, id, routingrulecollections.DefaultDeleteOperationOptions()); err != nil { + // handle the error +} +``` + + +### Example Usage: `RoutingRuleCollectionsClient.Get` + +```go +ctx := context.TODO() +id := routingrulecollections.NewRuleCollectionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkManagerName", "routingConfigurationName", "ruleCollectionName") + +read, err := client.Get(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `RoutingRuleCollectionsClient.List` + +```go +ctx := context.TODO() +id := routingrulecollections.NewRoutingConfigurationID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkManagerName", "routingConfigurationName") + +// alternatively `client.List(ctx, id, routingrulecollections.DefaultListOperationOptions())` can be used to do batched pagination +items, err := client.ListComplete(ctx, id, routingrulecollections.DefaultListOperationOptions()) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routingrulecollections/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routingrulecollections/client.go new file mode 100644 index 000000000000..23d57a922010 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routingrulecollections/client.go @@ -0,0 +1,26 @@ +package routingrulecollections + +import ( + "fmt" + + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + sdkEnv "github.com/hashicorp/go-azure-sdk/sdk/environments" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type RoutingRuleCollectionsClient struct { + Client *resourcemanager.Client +} + +func NewRoutingRuleCollectionsClientWithBaseURI(sdkApi sdkEnv.Api) (*RoutingRuleCollectionsClient, error) { + client, err := resourcemanager.NewClient(sdkApi, "routingrulecollections", defaultApiVersion) + if err != nil { + return nil, fmt.Errorf("instantiating RoutingRuleCollectionsClient: %+v", err) + } + + return &RoutingRuleCollectionsClient{ + Client: client, + }, nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routingrulecollections/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routingrulecollections/constants.go new file mode 100644 index 000000000000..3f69337d8987 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routingrulecollections/constants.go @@ -0,0 +1,98 @@ +package routingrulecollections + +import ( + "encoding/json" + "fmt" + "strings" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type DisableBgpRoutePropagation string + +const ( + DisableBgpRoutePropagationFalse DisableBgpRoutePropagation = "False" + DisableBgpRoutePropagationTrue DisableBgpRoutePropagation = "True" +) + +func PossibleValuesForDisableBgpRoutePropagation() []string { + return []string{ + string(DisableBgpRoutePropagationFalse), + string(DisableBgpRoutePropagationTrue), + } +} + +func (s *DisableBgpRoutePropagation) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseDisableBgpRoutePropagation(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseDisableBgpRoutePropagation(input string) (*DisableBgpRoutePropagation, error) { + vals := map[string]DisableBgpRoutePropagation{ + "false": DisableBgpRoutePropagationFalse, + "true": DisableBgpRoutePropagationTrue, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := DisableBgpRoutePropagation(input) + return &out, nil +} + +type ProvisioningState string + +const ( + ProvisioningStateDeleting ProvisioningState = "Deleting" + ProvisioningStateFailed ProvisioningState = "Failed" + ProvisioningStateSucceeded ProvisioningState = "Succeeded" + ProvisioningStateUpdating ProvisioningState = "Updating" +) + +func PossibleValuesForProvisioningState() []string { + return []string{ + string(ProvisioningStateDeleting), + string(ProvisioningStateFailed), + string(ProvisioningStateSucceeded), + string(ProvisioningStateUpdating), + } +} + +func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseProvisioningState(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseProvisioningState(input string) (*ProvisioningState, error) { + vals := map[string]ProvisioningState{ + "deleting": ProvisioningStateDeleting, + "failed": ProvisioningStateFailed, + "succeeded": ProvisioningStateSucceeded, + "updating": ProvisioningStateUpdating, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ProvisioningState(input) + return &out, nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routingrulecollections/id_routingconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routingrulecollections/id_routingconfiguration.go new file mode 100644 index 000000000000..1f12375338ad --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routingrulecollections/id_routingconfiguration.go @@ -0,0 +1,139 @@ +package routingrulecollections + +import ( + "fmt" + "strings" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/recaser" + "github.com/hashicorp/go-azure-helpers/resourcemanager/resourceids" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +func init() { + recaser.RegisterResourceId(&RoutingConfigurationId{}) +} + +var _ resourceids.ResourceId = &RoutingConfigurationId{} + +// RoutingConfigurationId is a struct representing the Resource ID for a Routing Configuration +type RoutingConfigurationId struct { + SubscriptionId string + ResourceGroupName string + NetworkManagerName string + RoutingConfigurationName string +} + +// NewRoutingConfigurationID returns a new RoutingConfigurationId struct +func NewRoutingConfigurationID(subscriptionId string, resourceGroupName string, networkManagerName string, routingConfigurationName string) RoutingConfigurationId { + return RoutingConfigurationId{ + SubscriptionId: subscriptionId, + ResourceGroupName: resourceGroupName, + NetworkManagerName: networkManagerName, + RoutingConfigurationName: routingConfigurationName, + } +} + +// ParseRoutingConfigurationID parses 'input' into a RoutingConfigurationId +func ParseRoutingConfigurationID(input string) (*RoutingConfigurationId, error) { + parser := resourceids.NewParserFromResourceIdType(&RoutingConfigurationId{}) + parsed, err := parser.Parse(input, false) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := RoutingConfigurationId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +// ParseRoutingConfigurationIDInsensitively parses 'input' case-insensitively into a RoutingConfigurationId +// note: this method should only be used for API response data and not user input +func ParseRoutingConfigurationIDInsensitively(input string) (*RoutingConfigurationId, error) { + parser := resourceids.NewParserFromResourceIdType(&RoutingConfigurationId{}) + parsed, err := parser.Parse(input, true) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := RoutingConfigurationId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +func (id *RoutingConfigurationId) FromParseResult(input resourceids.ParseResult) error { + var ok bool + + if id.SubscriptionId, ok = input.Parsed["subscriptionId"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "subscriptionId", input) + } + + if id.ResourceGroupName, ok = input.Parsed["resourceGroupName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "resourceGroupName", input) + } + + if id.NetworkManagerName, ok = input.Parsed["networkManagerName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "networkManagerName", input) + } + + if id.RoutingConfigurationName, ok = input.Parsed["routingConfigurationName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "routingConfigurationName", input) + } + + return nil +} + +// ValidateRoutingConfigurationID checks that 'input' can be parsed as a Routing Configuration ID +func ValidateRoutingConfigurationID(input interface{}, key string) (warnings []string, errors []error) { + v, ok := input.(string) + if !ok { + errors = append(errors, fmt.Errorf("expected %q to be a string", key)) + return + } + + if _, err := ParseRoutingConfigurationID(v); err != nil { + errors = append(errors, err) + } + + return +} + +// ID returns the formatted Routing Configuration ID +func (id RoutingConfigurationId) ID() string { + fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.Network/networkManagers/%s/routingConfigurations/%s" + return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.NetworkManagerName, id.RoutingConfigurationName) +} + +// Segments returns a slice of Resource ID Segments which comprise this Routing Configuration ID +func (id RoutingConfigurationId) Segments() []resourceids.Segment { + return []resourceids.Segment{ + resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), + resourceids.SubscriptionIdSegment("subscriptionId", "12345678-1234-9876-4563-123456789012"), + resourceids.StaticSegment("staticResourceGroups", "resourceGroups", "resourceGroups"), + resourceids.ResourceGroupSegment("resourceGroupName", "example-resource-group"), + resourceids.StaticSegment("staticProviders", "providers", "providers"), + resourceids.ResourceProviderSegment("staticMicrosoftNetwork", "Microsoft.Network", "Microsoft.Network"), + resourceids.StaticSegment("staticNetworkManagers", "networkManagers", "networkManagers"), + resourceids.UserSpecifiedSegment("networkManagerName", "networkManagerName"), + resourceids.StaticSegment("staticRoutingConfigurations", "routingConfigurations", "routingConfigurations"), + resourceids.UserSpecifiedSegment("routingConfigurationName", "routingConfigurationName"), + } +} + +// String returns a human-readable description of this Routing Configuration ID +func (id RoutingConfigurationId) String() string { + components := []string{ + fmt.Sprintf("Subscription: %q", id.SubscriptionId), + fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), + fmt.Sprintf("Network Manager Name: %q", id.NetworkManagerName), + fmt.Sprintf("Routing Configuration Name: %q", id.RoutingConfigurationName), + } + return fmt.Sprintf("Routing Configuration (%s)", strings.Join(components, "\n")) +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routingrulecollections/id_rulecollection.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routingrulecollections/id_rulecollection.go new file mode 100644 index 000000000000..a6828c644867 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routingrulecollections/id_rulecollection.go @@ -0,0 +1,148 @@ +package routingrulecollections + +import ( + "fmt" + "strings" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/recaser" + "github.com/hashicorp/go-azure-helpers/resourcemanager/resourceids" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +func init() { + recaser.RegisterResourceId(&RuleCollectionId{}) +} + +var _ resourceids.ResourceId = &RuleCollectionId{} + +// RuleCollectionId is a struct representing the Resource ID for a Rule Collection +type RuleCollectionId struct { + SubscriptionId string + ResourceGroupName string + NetworkManagerName string + RoutingConfigurationName string + RuleCollectionName string +} + +// NewRuleCollectionID returns a new RuleCollectionId struct +func NewRuleCollectionID(subscriptionId string, resourceGroupName string, networkManagerName string, routingConfigurationName string, ruleCollectionName string) RuleCollectionId { + return RuleCollectionId{ + SubscriptionId: subscriptionId, + ResourceGroupName: resourceGroupName, + NetworkManagerName: networkManagerName, + RoutingConfigurationName: routingConfigurationName, + RuleCollectionName: ruleCollectionName, + } +} + +// ParseRuleCollectionID parses 'input' into a RuleCollectionId +func ParseRuleCollectionID(input string) (*RuleCollectionId, error) { + parser := resourceids.NewParserFromResourceIdType(&RuleCollectionId{}) + parsed, err := parser.Parse(input, false) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := RuleCollectionId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +// ParseRuleCollectionIDInsensitively parses 'input' case-insensitively into a RuleCollectionId +// note: this method should only be used for API response data and not user input +func ParseRuleCollectionIDInsensitively(input string) (*RuleCollectionId, error) { + parser := resourceids.NewParserFromResourceIdType(&RuleCollectionId{}) + parsed, err := parser.Parse(input, true) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := RuleCollectionId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +func (id *RuleCollectionId) FromParseResult(input resourceids.ParseResult) error { + var ok bool + + if id.SubscriptionId, ok = input.Parsed["subscriptionId"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "subscriptionId", input) + } + + if id.ResourceGroupName, ok = input.Parsed["resourceGroupName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "resourceGroupName", input) + } + + if id.NetworkManagerName, ok = input.Parsed["networkManagerName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "networkManagerName", input) + } + + if id.RoutingConfigurationName, ok = input.Parsed["routingConfigurationName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "routingConfigurationName", input) + } + + if id.RuleCollectionName, ok = input.Parsed["ruleCollectionName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "ruleCollectionName", input) + } + + return nil +} + +// ValidateRuleCollectionID checks that 'input' can be parsed as a Rule Collection ID +func ValidateRuleCollectionID(input interface{}, key string) (warnings []string, errors []error) { + v, ok := input.(string) + if !ok { + errors = append(errors, fmt.Errorf("expected %q to be a string", key)) + return + } + + if _, err := ParseRuleCollectionID(v); err != nil { + errors = append(errors, err) + } + + return +} + +// ID returns the formatted Rule Collection ID +func (id RuleCollectionId) ID() string { + fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.Network/networkManagers/%s/routingConfigurations/%s/ruleCollections/%s" + return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.NetworkManagerName, id.RoutingConfigurationName, id.RuleCollectionName) +} + +// Segments returns a slice of Resource ID Segments which comprise this Rule Collection ID +func (id RuleCollectionId) Segments() []resourceids.Segment { + return []resourceids.Segment{ + resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), + resourceids.SubscriptionIdSegment("subscriptionId", "12345678-1234-9876-4563-123456789012"), + resourceids.StaticSegment("staticResourceGroups", "resourceGroups", "resourceGroups"), + resourceids.ResourceGroupSegment("resourceGroupName", "example-resource-group"), + resourceids.StaticSegment("staticProviders", "providers", "providers"), + resourceids.ResourceProviderSegment("staticMicrosoftNetwork", "Microsoft.Network", "Microsoft.Network"), + resourceids.StaticSegment("staticNetworkManagers", "networkManagers", "networkManagers"), + resourceids.UserSpecifiedSegment("networkManagerName", "networkManagerName"), + resourceids.StaticSegment("staticRoutingConfigurations", "routingConfigurations", "routingConfigurations"), + resourceids.UserSpecifiedSegment("routingConfigurationName", "routingConfigurationName"), + resourceids.StaticSegment("staticRuleCollections", "ruleCollections", "ruleCollections"), + resourceids.UserSpecifiedSegment("ruleCollectionName", "ruleCollectionName"), + } +} + +// String returns a human-readable description of this Rule Collection ID +func (id RuleCollectionId) String() string { + components := []string{ + fmt.Sprintf("Subscription: %q", id.SubscriptionId), + fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), + fmt.Sprintf("Network Manager Name: %q", id.NetworkManagerName), + fmt.Sprintf("Routing Configuration Name: %q", id.RoutingConfigurationName), + fmt.Sprintf("Rule Collection Name: %q", id.RuleCollectionName), + } + return fmt.Sprintf("Rule Collection (%s)", strings.Join(components, "\n")) +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routingrulecollections/method_createorupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routingrulecollections/method_createorupdate.go new file mode 100644 index 000000000000..4fc90824f8fe --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routingrulecollections/method_createorupdate.go @@ -0,0 +1,58 @@ +package routingrulecollections + +import ( + "context" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type CreateOrUpdateOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *RoutingRuleCollection +} + +// CreateOrUpdate ... +func (c RoutingRuleCollectionsClient) CreateOrUpdate(ctx context.Context, id RuleCollectionId, input RoutingRuleCollection) (result CreateOrUpdateOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusCreated, + http.StatusOK, + }, + HttpMethod: http.MethodPut, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + if err = req.Marshal(input); err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var model RoutingRuleCollection + result.Model = &model + if err = resp.Unmarshal(result.Model); err != nil { + return + } + + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routingrulecollections/method_delete.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routingrulecollections/method_delete.go new file mode 100644 index 000000000000..dbc7657c4cad --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routingrulecollections/method_delete.go @@ -0,0 +1,100 @@ +package routingrulecollections + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/client/pollers" + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type DeleteOperationResponse struct { + Poller pollers.Poller + HttpResponse *http.Response + OData *odata.OData +} + +type DeleteOperationOptions struct { + Force *bool +} + +func DefaultDeleteOperationOptions() DeleteOperationOptions { + return DeleteOperationOptions{} +} + +func (o DeleteOperationOptions) ToHeaders() *client.Headers { + out := client.Headers{} + + return &out +} + +func (o DeleteOperationOptions) ToOData() *odata.Query { + out := odata.Query{} + + return &out +} + +func (o DeleteOperationOptions) ToQuery() *client.QueryParams { + out := client.QueryParams{} + if o.Force != nil { + out.Append("force", fmt.Sprintf("%v", *o.Force)) + } + return &out +} + +// Delete ... +func (c RoutingRuleCollectionsClient) Delete(ctx context.Context, id RuleCollectionId, options DeleteOperationOptions) (result DeleteOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusAccepted, + http.StatusNoContent, + http.StatusOK, + }, + HttpMethod: http.MethodDelete, + OptionsObject: options, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client) + if err != nil { + return + } + + return +} + +// DeleteThenPoll performs Delete then polls until it's completed +func (c RoutingRuleCollectionsClient) DeleteThenPoll(ctx context.Context, id RuleCollectionId, options DeleteOperationOptions) error { + result, err := c.Delete(ctx, id, options) + if err != nil { + return fmt.Errorf("performing Delete: %+v", err) + } + + if err := result.Poller.PollUntilDone(ctx); err != nil { + return fmt.Errorf("polling after Delete: %+v", err) + } + + return nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routingrulecollections/method_get.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routingrulecollections/method_get.go new file mode 100644 index 000000000000..02ef76119f56 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routingrulecollections/method_get.go @@ -0,0 +1,53 @@ +package routingrulecollections + +import ( + "context" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type GetOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *RoutingRuleCollection +} + +// Get ... +func (c RoutingRuleCollectionsClient) Get(ctx context.Context, id RuleCollectionId) (result GetOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var model RoutingRuleCollection + result.Model = &model + if err = resp.Unmarshal(result.Model); err != nil { + return + } + + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routingrulecollections/method_list.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routingrulecollections/method_list.go new file mode 100644 index 000000000000..9911a1912bd9 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routingrulecollections/method_list.go @@ -0,0 +1,134 @@ +package routingrulecollections + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ListOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *[]RoutingRuleCollection +} + +type ListCompleteResult struct { + LatestHttpResponse *http.Response + Items []RoutingRuleCollection +} + +type ListOperationOptions struct { + Top *int64 +} + +func DefaultListOperationOptions() ListOperationOptions { + return ListOperationOptions{} +} + +func (o ListOperationOptions) ToHeaders() *client.Headers { + out := client.Headers{} + + return &out +} + +func (o ListOperationOptions) ToOData() *odata.Query { + out := odata.Query{} + + return &out +} + +func (o ListOperationOptions) ToQuery() *client.QueryParams { + out := client.QueryParams{} + if o.Top != nil { + out.Append("$top", fmt.Sprintf("%v", *o.Top)) + } + return &out +} + +type ListCustomPager struct { + NextLink *odata.Link `json:"nextLink"` +} + +func (p *ListCustomPager) NextPageLink() *odata.Link { + defer func() { + p.NextLink = nil + }() + + return p.NextLink +} + +// List ... +func (c RoutingRuleCollectionsClient) List(ctx context.Context, id RoutingConfigurationId, options ListOperationOptions) (result ListOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + OptionsObject: options, + Pager: &ListCustomPager{}, + Path: fmt.Sprintf("%s/ruleCollections", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.ExecutePaged(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var values struct { + Values *[]RoutingRuleCollection `json:"value"` + } + if err = resp.Unmarshal(&values); err != nil { + return + } + + result.Model = values.Values + + return +} + +// ListComplete retrieves all the results into a single object +func (c RoutingRuleCollectionsClient) ListComplete(ctx context.Context, id RoutingConfigurationId, options ListOperationOptions) (ListCompleteResult, error) { + return c.ListCompleteMatchingPredicate(ctx, id, options, RoutingRuleCollectionOperationPredicate{}) +} + +// ListCompleteMatchingPredicate retrieves all the results and then applies the predicate +func (c RoutingRuleCollectionsClient) ListCompleteMatchingPredicate(ctx context.Context, id RoutingConfigurationId, options ListOperationOptions, predicate RoutingRuleCollectionOperationPredicate) (result ListCompleteResult, err error) { + items := make([]RoutingRuleCollection, 0) + + resp, err := c.List(ctx, id, options) + if err != nil { + result.LatestHttpResponse = resp.HttpResponse + err = fmt.Errorf("loading results: %+v", err) + return + } + if resp.Model != nil { + for _, v := range *resp.Model { + if predicate.Matches(v) { + items = append(items, v) + } + } + } + + result = ListCompleteResult{ + LatestHttpResponse: resp.HttpResponse, + Items: items, + } + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routingrulecollections/model_networkmanagerroutinggroupitem.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routingrulecollections/model_networkmanagerroutinggroupitem.go new file mode 100644 index 000000000000..1f6c81f7f4a1 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routingrulecollections/model_networkmanagerroutinggroupitem.go @@ -0,0 +1,8 @@ +package routingrulecollections + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NetworkManagerRoutingGroupItem struct { + NetworkGroupId string `json:"networkGroupId"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routingrulecollections/model_routingrulecollection.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routingrulecollections/model_routingrulecollection.go new file mode 100644 index 000000000000..46b420d67073 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routingrulecollections/model_routingrulecollection.go @@ -0,0 +1,17 @@ +package routingrulecollections + +import ( + "github.com/hashicorp/go-azure-helpers/resourcemanager/systemdata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type RoutingRuleCollection struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *RoutingRuleCollectionPropertiesFormat `json:"properties,omitempty"` + SystemData *systemdata.SystemData `json:"systemData,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routingrulecollections/model_routingrulecollectionpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routingrulecollections/model_routingrulecollectionpropertiesformat.go new file mode 100644 index 000000000000..089e4d560ae8 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routingrulecollections/model_routingrulecollectionpropertiesformat.go @@ -0,0 +1,12 @@ +package routingrulecollections + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type RoutingRuleCollectionPropertiesFormat struct { + AppliesTo []NetworkManagerRoutingGroupItem `json:"appliesTo"` + Description *string `json:"description,omitempty"` + DisableBgpRoutePropagation *DisableBgpRoutePropagation `json:"disableBgpRoutePropagation,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + ResourceGuid *string `json:"resourceGuid,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routingrulecollections/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routingrulecollections/predicates.go new file mode 100644 index 000000000000..3a5830616cdc --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routingrulecollections/predicates.go @@ -0,0 +1,32 @@ +package routingrulecollections + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type RoutingRuleCollectionOperationPredicate struct { + Etag *string + Id *string + Name *string + Type *string +} + +func (p RoutingRuleCollectionOperationPredicate) Matches(input RoutingRuleCollection) bool { + + if p.Etag != nil && (input.Etag == nil || *p.Etag != *input.Etag) { + return false + } + + if p.Id != nil && (input.Id == nil || *p.Id != *input.Id) { + return false + } + + if p.Name != nil && (input.Name == nil || *p.Name != *input.Name) { + return false + } + + if p.Type != nil && (input.Type == nil || *p.Type != *input.Type) { + return false + } + + return true +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routingrulecollections/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routingrulecollections/version.go new file mode 100644 index 000000000000..aac0da658f85 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routingrulecollections/version.go @@ -0,0 +1,10 @@ +package routingrulecollections + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2024-03-01" + +func userAgent() string { + return "hashicorp/go-azure-sdk/routingrulecollections/2024-03-01" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routingrules/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routingrules/README.md new file mode 100644 index 000000000000..64ff0a561550 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routingrules/README.md @@ -0,0 +1,86 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routingrules` Documentation + +The `routingrules` SDK allows for interaction with Azure Resource Manager `network` (API Version `2024-03-01`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routingrules" +``` + + +### Client Initialization + +```go +client := routingrules.NewRoutingRulesClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `RoutingRulesClient.CreateOrUpdate` + +```go +ctx := context.TODO() +id := routingrules.NewRuleID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkManagerName", "routingConfigurationName", "ruleCollectionName", "ruleName") + +payload := routingrules.RoutingRule{ + // ... +} + + +read, err := client.CreateOrUpdate(ctx, id, payload) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `RoutingRulesClient.Delete` + +```go +ctx := context.TODO() +id := routingrules.NewRuleID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkManagerName", "routingConfigurationName", "ruleCollectionName", "ruleName") + +if err := client.DeleteThenPoll(ctx, id, routingrules.DefaultDeleteOperationOptions()); err != nil { + // handle the error +} +``` + + +### Example Usage: `RoutingRulesClient.Get` + +```go +ctx := context.TODO() +id := routingrules.NewRuleID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkManagerName", "routingConfigurationName", "ruleCollectionName", "ruleName") + +read, err := client.Get(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `RoutingRulesClient.List` + +```go +ctx := context.TODO() +id := routingrules.NewRuleCollectionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkManagerName", "routingConfigurationName", "ruleCollectionName") + +// alternatively `client.List(ctx, id)` can be used to do batched pagination +items, err := client.ListComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routingrules/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routingrules/client.go new file mode 100644 index 000000000000..8fb9187c0c38 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routingrules/client.go @@ -0,0 +1,26 @@ +package routingrules + +import ( + "fmt" + + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + sdkEnv "github.com/hashicorp/go-azure-sdk/sdk/environments" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type RoutingRulesClient struct { + Client *resourcemanager.Client +} + +func NewRoutingRulesClientWithBaseURI(sdkApi sdkEnv.Api) (*RoutingRulesClient, error) { + client, err := resourcemanager.NewClient(sdkApi, "routingrules", defaultApiVersion) + if err != nil { + return nil, fmt.Errorf("instantiating RoutingRulesClient: %+v", err) + } + + return &RoutingRulesClient{ + Client: client, + }, nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routingrules/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routingrules/constants.go new file mode 100644 index 000000000000..ca5824bf6060 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routingrules/constants.go @@ -0,0 +1,148 @@ +package routingrules + +import ( + "encoding/json" + "fmt" + "strings" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ProvisioningState string + +const ( + ProvisioningStateDeleting ProvisioningState = "Deleting" + ProvisioningStateFailed ProvisioningState = "Failed" + ProvisioningStateSucceeded ProvisioningState = "Succeeded" + ProvisioningStateUpdating ProvisioningState = "Updating" +) + +func PossibleValuesForProvisioningState() []string { + return []string{ + string(ProvisioningStateDeleting), + string(ProvisioningStateFailed), + string(ProvisioningStateSucceeded), + string(ProvisioningStateUpdating), + } +} + +func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseProvisioningState(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseProvisioningState(input string) (*ProvisioningState, error) { + vals := map[string]ProvisioningState{ + "deleting": ProvisioningStateDeleting, + "failed": ProvisioningStateFailed, + "succeeded": ProvisioningStateSucceeded, + "updating": ProvisioningStateUpdating, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ProvisioningState(input) + return &out, nil +} + +type RoutingRuleDestinationType string + +const ( + RoutingRuleDestinationTypeAddressPrefix RoutingRuleDestinationType = "AddressPrefix" + RoutingRuleDestinationTypeServiceTag RoutingRuleDestinationType = "ServiceTag" +) + +func PossibleValuesForRoutingRuleDestinationType() []string { + return []string{ + string(RoutingRuleDestinationTypeAddressPrefix), + string(RoutingRuleDestinationTypeServiceTag), + } +} + +func (s *RoutingRuleDestinationType) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseRoutingRuleDestinationType(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseRoutingRuleDestinationType(input string) (*RoutingRuleDestinationType, error) { + vals := map[string]RoutingRuleDestinationType{ + "addressprefix": RoutingRuleDestinationTypeAddressPrefix, + "servicetag": RoutingRuleDestinationTypeServiceTag, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := RoutingRuleDestinationType(input) + return &out, nil +} + +type RoutingRuleNextHopType string + +const ( + RoutingRuleNextHopTypeInternet RoutingRuleNextHopType = "Internet" + RoutingRuleNextHopTypeNoNextHop RoutingRuleNextHopType = "NoNextHop" + RoutingRuleNextHopTypeVirtualAppliance RoutingRuleNextHopType = "VirtualAppliance" + RoutingRuleNextHopTypeVirtualNetworkGateway RoutingRuleNextHopType = "VirtualNetworkGateway" + RoutingRuleNextHopTypeVnetLocal RoutingRuleNextHopType = "VnetLocal" +) + +func PossibleValuesForRoutingRuleNextHopType() []string { + return []string{ + string(RoutingRuleNextHopTypeInternet), + string(RoutingRuleNextHopTypeNoNextHop), + string(RoutingRuleNextHopTypeVirtualAppliance), + string(RoutingRuleNextHopTypeVirtualNetworkGateway), + string(RoutingRuleNextHopTypeVnetLocal), + } +} + +func (s *RoutingRuleNextHopType) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseRoutingRuleNextHopType(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseRoutingRuleNextHopType(input string) (*RoutingRuleNextHopType, error) { + vals := map[string]RoutingRuleNextHopType{ + "internet": RoutingRuleNextHopTypeInternet, + "nonexthop": RoutingRuleNextHopTypeNoNextHop, + "virtualappliance": RoutingRuleNextHopTypeVirtualAppliance, + "virtualnetworkgateway": RoutingRuleNextHopTypeVirtualNetworkGateway, + "vnetlocal": RoutingRuleNextHopTypeVnetLocal, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := RoutingRuleNextHopType(input) + return &out, nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/adminrules/id_rule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routingrules/id_rule.go similarity index 76% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/adminrules/id_rule.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routingrules/id_rule.go index 80c294a2cdd5..6418e71b7861 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/adminrules/id_rule.go +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routingrules/id_rule.go @@ -1,4 +1,4 @@ -package adminrules +package routingrules import ( "fmt" @@ -19,23 +19,23 @@ var _ resourceids.ResourceId = &RuleId{} // RuleId is a struct representing the Resource ID for a Rule type RuleId struct { - SubscriptionId string - ResourceGroupName string - NetworkManagerName string - SecurityAdminConfigurationName string - RuleCollectionName string - RuleName string + SubscriptionId string + ResourceGroupName string + NetworkManagerName string + RoutingConfigurationName string + RuleCollectionName string + RuleName string } // NewRuleID returns a new RuleId struct -func NewRuleID(subscriptionId string, resourceGroupName string, networkManagerName string, securityAdminConfigurationName string, ruleCollectionName string, ruleName string) RuleId { +func NewRuleID(subscriptionId string, resourceGroupName string, networkManagerName string, routingConfigurationName string, ruleCollectionName string, ruleName string) RuleId { return RuleId{ - SubscriptionId: subscriptionId, - ResourceGroupName: resourceGroupName, - NetworkManagerName: networkManagerName, - SecurityAdminConfigurationName: securityAdminConfigurationName, - RuleCollectionName: ruleCollectionName, - RuleName: ruleName, + SubscriptionId: subscriptionId, + ResourceGroupName: resourceGroupName, + NetworkManagerName: networkManagerName, + RoutingConfigurationName: routingConfigurationName, + RuleCollectionName: ruleCollectionName, + RuleName: ruleName, } } @@ -87,8 +87,8 @@ func (id *RuleId) FromParseResult(input resourceids.ParseResult) error { return resourceids.NewSegmentNotSpecifiedError(id, "networkManagerName", input) } - if id.SecurityAdminConfigurationName, ok = input.Parsed["securityAdminConfigurationName"]; !ok { - return resourceids.NewSegmentNotSpecifiedError(id, "securityAdminConfigurationName", input) + if id.RoutingConfigurationName, ok = input.Parsed["routingConfigurationName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "routingConfigurationName", input) } if id.RuleCollectionName, ok = input.Parsed["ruleCollectionName"]; !ok { @@ -119,8 +119,8 @@ func ValidateRuleID(input interface{}, key string) (warnings []string, errors [] // ID returns the formatted Rule ID func (id RuleId) ID() string { - fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.Network/networkManagers/%s/securityAdminConfigurations/%s/ruleCollections/%s/rules/%s" - return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.NetworkManagerName, id.SecurityAdminConfigurationName, id.RuleCollectionName, id.RuleName) + fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.Network/networkManagers/%s/routingConfigurations/%s/ruleCollections/%s/rules/%s" + return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.NetworkManagerName, id.RoutingConfigurationName, id.RuleCollectionName, id.RuleName) } // Segments returns a slice of Resource ID Segments which comprise this Rule ID @@ -134,8 +134,8 @@ func (id RuleId) Segments() []resourceids.Segment { resourceids.ResourceProviderSegment("staticMicrosoftNetwork", "Microsoft.Network", "Microsoft.Network"), resourceids.StaticSegment("staticNetworkManagers", "networkManagers", "networkManagers"), resourceids.UserSpecifiedSegment("networkManagerName", "networkManagerName"), - resourceids.StaticSegment("staticSecurityAdminConfigurations", "securityAdminConfigurations", "securityAdminConfigurations"), - resourceids.UserSpecifiedSegment("securityAdminConfigurationName", "securityAdminConfigurationName"), + resourceids.StaticSegment("staticRoutingConfigurations", "routingConfigurations", "routingConfigurations"), + resourceids.UserSpecifiedSegment("routingConfigurationName", "routingConfigurationName"), resourceids.StaticSegment("staticRuleCollections", "ruleCollections", "ruleCollections"), resourceids.UserSpecifiedSegment("ruleCollectionName", "ruleCollectionName"), resourceids.StaticSegment("staticRules", "rules", "rules"), @@ -149,7 +149,7 @@ func (id RuleId) String() string { fmt.Sprintf("Subscription: %q", id.SubscriptionId), fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), fmt.Sprintf("Network Manager Name: %q", id.NetworkManagerName), - fmt.Sprintf("Security Admin Configuration Name: %q", id.SecurityAdminConfigurationName), + fmt.Sprintf("Routing Configuration Name: %q", id.RoutingConfigurationName), fmt.Sprintf("Rule Collection Name: %q", id.RuleCollectionName), fmt.Sprintf("Rule Name: %q", id.RuleName), } diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routingrules/id_rulecollection.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routingrules/id_rulecollection.go new file mode 100644 index 000000000000..44d316acd6fb --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routingrules/id_rulecollection.go @@ -0,0 +1,148 @@ +package routingrules + +import ( + "fmt" + "strings" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/recaser" + "github.com/hashicorp/go-azure-helpers/resourcemanager/resourceids" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +func init() { + recaser.RegisterResourceId(&RuleCollectionId{}) +} + +var _ resourceids.ResourceId = &RuleCollectionId{} + +// RuleCollectionId is a struct representing the Resource ID for a Rule Collection +type RuleCollectionId struct { + SubscriptionId string + ResourceGroupName string + NetworkManagerName string + RoutingConfigurationName string + RuleCollectionName string +} + +// NewRuleCollectionID returns a new RuleCollectionId struct +func NewRuleCollectionID(subscriptionId string, resourceGroupName string, networkManagerName string, routingConfigurationName string, ruleCollectionName string) RuleCollectionId { + return RuleCollectionId{ + SubscriptionId: subscriptionId, + ResourceGroupName: resourceGroupName, + NetworkManagerName: networkManagerName, + RoutingConfigurationName: routingConfigurationName, + RuleCollectionName: ruleCollectionName, + } +} + +// ParseRuleCollectionID parses 'input' into a RuleCollectionId +func ParseRuleCollectionID(input string) (*RuleCollectionId, error) { + parser := resourceids.NewParserFromResourceIdType(&RuleCollectionId{}) + parsed, err := parser.Parse(input, false) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := RuleCollectionId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +// ParseRuleCollectionIDInsensitively parses 'input' case-insensitively into a RuleCollectionId +// note: this method should only be used for API response data and not user input +func ParseRuleCollectionIDInsensitively(input string) (*RuleCollectionId, error) { + parser := resourceids.NewParserFromResourceIdType(&RuleCollectionId{}) + parsed, err := parser.Parse(input, true) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := RuleCollectionId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +func (id *RuleCollectionId) FromParseResult(input resourceids.ParseResult) error { + var ok bool + + if id.SubscriptionId, ok = input.Parsed["subscriptionId"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "subscriptionId", input) + } + + if id.ResourceGroupName, ok = input.Parsed["resourceGroupName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "resourceGroupName", input) + } + + if id.NetworkManagerName, ok = input.Parsed["networkManagerName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "networkManagerName", input) + } + + if id.RoutingConfigurationName, ok = input.Parsed["routingConfigurationName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "routingConfigurationName", input) + } + + if id.RuleCollectionName, ok = input.Parsed["ruleCollectionName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "ruleCollectionName", input) + } + + return nil +} + +// ValidateRuleCollectionID checks that 'input' can be parsed as a Rule Collection ID +func ValidateRuleCollectionID(input interface{}, key string) (warnings []string, errors []error) { + v, ok := input.(string) + if !ok { + errors = append(errors, fmt.Errorf("expected %q to be a string", key)) + return + } + + if _, err := ParseRuleCollectionID(v); err != nil { + errors = append(errors, err) + } + + return +} + +// ID returns the formatted Rule Collection ID +func (id RuleCollectionId) ID() string { + fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.Network/networkManagers/%s/routingConfigurations/%s/ruleCollections/%s" + return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.NetworkManagerName, id.RoutingConfigurationName, id.RuleCollectionName) +} + +// Segments returns a slice of Resource ID Segments which comprise this Rule Collection ID +func (id RuleCollectionId) Segments() []resourceids.Segment { + return []resourceids.Segment{ + resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), + resourceids.SubscriptionIdSegment("subscriptionId", "12345678-1234-9876-4563-123456789012"), + resourceids.StaticSegment("staticResourceGroups", "resourceGroups", "resourceGroups"), + resourceids.ResourceGroupSegment("resourceGroupName", "example-resource-group"), + resourceids.StaticSegment("staticProviders", "providers", "providers"), + resourceids.ResourceProviderSegment("staticMicrosoftNetwork", "Microsoft.Network", "Microsoft.Network"), + resourceids.StaticSegment("staticNetworkManagers", "networkManagers", "networkManagers"), + resourceids.UserSpecifiedSegment("networkManagerName", "networkManagerName"), + resourceids.StaticSegment("staticRoutingConfigurations", "routingConfigurations", "routingConfigurations"), + resourceids.UserSpecifiedSegment("routingConfigurationName", "routingConfigurationName"), + resourceids.StaticSegment("staticRuleCollections", "ruleCollections", "ruleCollections"), + resourceids.UserSpecifiedSegment("ruleCollectionName", "ruleCollectionName"), + } +} + +// String returns a human-readable description of this Rule Collection ID +func (id RuleCollectionId) String() string { + components := []string{ + fmt.Sprintf("Subscription: %q", id.SubscriptionId), + fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), + fmt.Sprintf("Network Manager Name: %q", id.NetworkManagerName), + fmt.Sprintf("Routing Configuration Name: %q", id.RoutingConfigurationName), + fmt.Sprintf("Rule Collection Name: %q", id.RuleCollectionName), + } + return fmt.Sprintf("Rule Collection (%s)", strings.Join(components, "\n")) +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routingrules/method_createorupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routingrules/method_createorupdate.go new file mode 100644 index 000000000000..35bab8015636 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routingrules/method_createorupdate.go @@ -0,0 +1,58 @@ +package routingrules + +import ( + "context" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type CreateOrUpdateOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *RoutingRule +} + +// CreateOrUpdate ... +func (c RoutingRulesClient) CreateOrUpdate(ctx context.Context, id RuleId, input RoutingRule) (result CreateOrUpdateOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusCreated, + http.StatusOK, + }, + HttpMethod: http.MethodPut, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + if err = req.Marshal(input); err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var model RoutingRule + result.Model = &model + if err = resp.Unmarshal(result.Model); err != nil { + return + } + + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routingrules/method_delete.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routingrules/method_delete.go new file mode 100644 index 000000000000..3e5ea4998c86 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routingrules/method_delete.go @@ -0,0 +1,100 @@ +package routingrules + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/client/pollers" + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type DeleteOperationResponse struct { + Poller pollers.Poller + HttpResponse *http.Response + OData *odata.OData +} + +type DeleteOperationOptions struct { + Force *bool +} + +func DefaultDeleteOperationOptions() DeleteOperationOptions { + return DeleteOperationOptions{} +} + +func (o DeleteOperationOptions) ToHeaders() *client.Headers { + out := client.Headers{} + + return &out +} + +func (o DeleteOperationOptions) ToOData() *odata.Query { + out := odata.Query{} + + return &out +} + +func (o DeleteOperationOptions) ToQuery() *client.QueryParams { + out := client.QueryParams{} + if o.Force != nil { + out.Append("force", fmt.Sprintf("%v", *o.Force)) + } + return &out +} + +// Delete ... +func (c RoutingRulesClient) Delete(ctx context.Context, id RuleId, options DeleteOperationOptions) (result DeleteOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusAccepted, + http.StatusNoContent, + http.StatusOK, + }, + HttpMethod: http.MethodDelete, + OptionsObject: options, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client) + if err != nil { + return + } + + return +} + +// DeleteThenPoll performs Delete then polls until it's completed +func (c RoutingRulesClient) DeleteThenPoll(ctx context.Context, id RuleId, options DeleteOperationOptions) error { + result, err := c.Delete(ctx, id, options) + if err != nil { + return fmt.Errorf("performing Delete: %+v", err) + } + + if err := result.Poller.PollUntilDone(ctx); err != nil { + return fmt.Errorf("polling after Delete: %+v", err) + } + + return nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routingrules/method_get.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routingrules/method_get.go new file mode 100644 index 000000000000..746ff6cedf38 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routingrules/method_get.go @@ -0,0 +1,53 @@ +package routingrules + +import ( + "context" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type GetOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *RoutingRule +} + +// Get ... +func (c RoutingRulesClient) Get(ctx context.Context, id RuleId) (result GetOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var model RoutingRule + result.Model = &model + if err = resp.Unmarshal(result.Model); err != nil { + return + } + + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routingrules/method_list.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routingrules/method_list.go new file mode 100644 index 000000000000..76a1bfb9a068 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routingrules/method_list.go @@ -0,0 +1,105 @@ +package routingrules + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ListOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *[]RoutingRule +} + +type ListCompleteResult struct { + LatestHttpResponse *http.Response + Items []RoutingRule +} + +type ListCustomPager struct { + NextLink *odata.Link `json:"nextLink"` +} + +func (p *ListCustomPager) NextPageLink() *odata.Link { + defer func() { + p.NextLink = nil + }() + + return p.NextLink +} + +// List ... +func (c RoutingRulesClient) List(ctx context.Context, id RuleCollectionId) (result ListOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Pager: &ListCustomPager{}, + Path: fmt.Sprintf("%s/rules", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.ExecutePaged(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var values struct { + Values *[]RoutingRule `json:"value"` + } + if err = resp.Unmarshal(&values); err != nil { + return + } + + result.Model = values.Values + + return +} + +// ListComplete retrieves all the results into a single object +func (c RoutingRulesClient) ListComplete(ctx context.Context, id RuleCollectionId) (ListCompleteResult, error) { + return c.ListCompleteMatchingPredicate(ctx, id, RoutingRuleOperationPredicate{}) +} + +// ListCompleteMatchingPredicate retrieves all the results and then applies the predicate +func (c RoutingRulesClient) ListCompleteMatchingPredicate(ctx context.Context, id RuleCollectionId, predicate RoutingRuleOperationPredicate) (result ListCompleteResult, err error) { + items := make([]RoutingRule, 0) + + resp, err := c.List(ctx, id) + if err != nil { + result.LatestHttpResponse = resp.HttpResponse + err = fmt.Errorf("loading results: %+v", err) + return + } + if resp.Model != nil { + for _, v := range *resp.Model { + if predicate.Matches(v) { + items = append(items, v) + } + } + } + + result = ListCompleteResult{ + LatestHttpResponse: resp.HttpResponse, + Items: items, + } + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routingrules/model_routingrule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routingrules/model_routingrule.go new file mode 100644 index 000000000000..7f78cd2655a9 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routingrules/model_routingrule.go @@ -0,0 +1,17 @@ +package routingrules + +import ( + "github.com/hashicorp/go-azure-helpers/resourcemanager/systemdata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type RoutingRule struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *RoutingRulePropertiesFormat `json:"properties,omitempty"` + SystemData *systemdata.SystemData `json:"systemData,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routingrules/model_routingrulenexthop.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routingrules/model_routingrulenexthop.go new file mode 100644 index 000000000000..4cc1a52a6fee --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routingrules/model_routingrulenexthop.go @@ -0,0 +1,9 @@ +package routingrules + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type RoutingRuleNextHop struct { + NextHopAddress *string `json:"nextHopAddress,omitempty"` + NextHopType RoutingRuleNextHopType `json:"nextHopType"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routingrules/model_routingrulepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routingrules/model_routingrulepropertiesformat.go new file mode 100644 index 000000000000..a45d96ed053c --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routingrules/model_routingrulepropertiesformat.go @@ -0,0 +1,12 @@ +package routingrules + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type RoutingRulePropertiesFormat struct { + Description *string `json:"description,omitempty"` + Destination RoutingRuleRouteDestination `json:"destination"` + NextHop RoutingRuleNextHop `json:"nextHop"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + ResourceGuid *string `json:"resourceGuid,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routingrules/model_routingruleroutedestination.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routingrules/model_routingruleroutedestination.go new file mode 100644 index 000000000000..e05f812849c8 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routingrules/model_routingruleroutedestination.go @@ -0,0 +1,9 @@ +package routingrules + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type RoutingRuleRouteDestination struct { + DestinationAddress string `json:"destinationAddress"` + Type RoutingRuleDestinationType `json:"type"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routingrules/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routingrules/predicates.go new file mode 100644 index 000000000000..b668fb3729bd --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routingrules/predicates.go @@ -0,0 +1,32 @@ +package routingrules + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type RoutingRuleOperationPredicate struct { + Etag *string + Id *string + Name *string + Type *string +} + +func (p RoutingRuleOperationPredicate) Matches(input RoutingRule) bool { + + if p.Etag != nil && (input.Etag == nil || *p.Etag != *input.Etag) { + return false + } + + if p.Id != nil && (input.Id == nil || *p.Id != *input.Id) { + return false + } + + if p.Name != nil && (input.Name == nil || *p.Name != *input.Name) { + return false + } + + if p.Type != nil && (input.Type == nil || *p.Type != *input.Type) { + return false + } + + return true +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routingrules/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routingrules/version.go new file mode 100644 index 000000000000..28e9582a9b25 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routingrules/version.go @@ -0,0 +1,10 @@ +package routingrules + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2024-03-01" + +func userAgent() string { + return "hashicorp/go-azure-sdk/routingrules/2024-03-01" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/scopeconnections/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/scopeconnections/README.md new file mode 100644 index 000000000000..e696fd59a336 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/scopeconnections/README.md @@ -0,0 +1,90 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/scopeconnections` Documentation + +The `scopeconnections` SDK allows for interaction with Azure Resource Manager `network` (API Version `2024-03-01`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/scopeconnections" +``` + + +### Client Initialization + +```go +client := scopeconnections.NewScopeConnectionsClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `ScopeConnectionsClient.CreateOrUpdate` + +```go +ctx := context.TODO() +id := scopeconnections.NewScopeConnectionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkManagerName", "scopeConnectionName") + +payload := scopeconnections.ScopeConnection{ + // ... +} + + +read, err := client.CreateOrUpdate(ctx, id, payload) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `ScopeConnectionsClient.Delete` + +```go +ctx := context.TODO() +id := scopeconnections.NewScopeConnectionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkManagerName", "scopeConnectionName") + +read, err := client.Delete(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `ScopeConnectionsClient.Get` + +```go +ctx := context.TODO() +id := scopeconnections.NewScopeConnectionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkManagerName", "scopeConnectionName") + +read, err := client.Get(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `ScopeConnectionsClient.List` + +```go +ctx := context.TODO() +id := scopeconnections.NewNetworkManagerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkManagerName") + +// alternatively `client.List(ctx, id, scopeconnections.DefaultListOperationOptions())` can be used to do batched pagination +items, err := client.ListComplete(ctx, id, scopeconnections.DefaultListOperationOptions()) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/scopeconnections/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/scopeconnections/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/scopeconnections/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/scopeconnections/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/scopeconnections/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/scopeconnections/constants.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/scopeconnections/constants.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/scopeconnections/constants.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/scopeconnections/id_networkmanager.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/scopeconnections/id_networkmanager.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/scopeconnections/id_networkmanager.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/scopeconnections/id_networkmanager.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/scopeconnections/id_scopeconnection.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/scopeconnections/id_scopeconnection.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/scopeconnections/id_scopeconnection.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/scopeconnections/id_scopeconnection.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/scopeconnections/method_createorupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/scopeconnections/method_createorupdate.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/scopeconnections/method_createorupdate.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/scopeconnections/method_createorupdate.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/scopeconnections/method_delete.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/scopeconnections/method_delete.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/scopeconnections/method_delete.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/scopeconnections/method_delete.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/scopeconnections/method_get.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/scopeconnections/method_get.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/scopeconnections/method_get.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/scopeconnections/method_get.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/scopeconnections/method_list.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/scopeconnections/method_list.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/scopeconnections/method_list.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/scopeconnections/method_list.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/scopeconnections/model_scopeconnection.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/scopeconnections/model_scopeconnection.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/scopeconnections/model_scopeconnection.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/scopeconnections/model_scopeconnection.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/scopeconnections/model_scopeconnectionproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/scopeconnections/model_scopeconnectionproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/scopeconnections/model_scopeconnectionproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/scopeconnections/model_scopeconnectionproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/scopeconnections/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/scopeconnections/predicates.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/scopeconnections/predicates.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/scopeconnections/predicates.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/scopeconnections/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/scopeconnections/version.go new file mode 100644 index 000000000000..7da54c1ad83a --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/scopeconnections/version.go @@ -0,0 +1,10 @@ +package scopeconnections + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2024-03-01" + +func userAgent() string { + return "hashicorp/go-azure-sdk/scopeconnections/2024-03-01" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityadminconfigurations/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityadminconfigurations/README.md new file mode 100644 index 000000000000..e72955e6e0dd --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityadminconfigurations/README.md @@ -0,0 +1,86 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityadminconfigurations` Documentation + +The `securityadminconfigurations` SDK allows for interaction with Azure Resource Manager `network` (API Version `2024-03-01`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityadminconfigurations" +``` + + +### Client Initialization + +```go +client := securityadminconfigurations.NewSecurityAdminConfigurationsClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `SecurityAdminConfigurationsClient.CreateOrUpdate` + +```go +ctx := context.TODO() +id := securityadminconfigurations.NewSecurityAdminConfigurationID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkManagerName", "securityAdminConfigurationName") + +payload := securityadminconfigurations.SecurityAdminConfiguration{ + // ... +} + + +read, err := client.CreateOrUpdate(ctx, id, payload) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `SecurityAdminConfigurationsClient.Delete` + +```go +ctx := context.TODO() +id := securityadminconfigurations.NewSecurityAdminConfigurationID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkManagerName", "securityAdminConfigurationName") + +if err := client.DeleteThenPoll(ctx, id, securityadminconfigurations.DefaultDeleteOperationOptions()); err != nil { + // handle the error +} +``` + + +### Example Usage: `SecurityAdminConfigurationsClient.Get` + +```go +ctx := context.TODO() +id := securityadminconfigurations.NewSecurityAdminConfigurationID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkManagerName", "securityAdminConfigurationName") + +read, err := client.Get(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `SecurityAdminConfigurationsClient.List` + +```go +ctx := context.TODO() +id := securityadminconfigurations.NewNetworkManagerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkManagerName") + +// alternatively `client.List(ctx, id, securityadminconfigurations.DefaultListOperationOptions())` can be used to do batched pagination +items, err := client.ListComplete(ctx, id, securityadminconfigurations.DefaultListOperationOptions()) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/securityadminconfigurations/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityadminconfigurations/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/securityadminconfigurations/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityadminconfigurations/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/securityadminconfigurations/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityadminconfigurations/constants.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/securityadminconfigurations/constants.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityadminconfigurations/constants.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/securityadminconfigurations/id_networkmanager.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityadminconfigurations/id_networkmanager.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/securityadminconfigurations/id_networkmanager.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityadminconfigurations/id_networkmanager.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/securityadminconfigurations/id_securityadminconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityadminconfigurations/id_securityadminconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/securityadminconfigurations/id_securityadminconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityadminconfigurations/id_securityadminconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/securityadminconfigurations/method_createorupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityadminconfigurations/method_createorupdate.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/securityadminconfigurations/method_createorupdate.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityadminconfigurations/method_createorupdate.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/securityadminconfigurations/method_delete.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityadminconfigurations/method_delete.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/securityadminconfigurations/method_delete.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityadminconfigurations/method_delete.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/securityadminconfigurations/method_get.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityadminconfigurations/method_get.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/securityadminconfigurations/method_get.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityadminconfigurations/method_get.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/securityadminconfigurations/method_list.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityadminconfigurations/method_list.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/securityadminconfigurations/method_list.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityadminconfigurations/method_list.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/securityadminconfigurations/model_securityadminconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityadminconfigurations/model_securityadminconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/securityadminconfigurations/model_securityadminconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityadminconfigurations/model_securityadminconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/securityadminconfigurations/model_securityadminconfigurationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityadminconfigurations/model_securityadminconfigurationpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/securityadminconfigurations/model_securityadminconfigurationpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityadminconfigurations/model_securityadminconfigurationpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/securityadminconfigurations/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityadminconfigurations/predicates.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/securityadminconfigurations/predicates.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityadminconfigurations/predicates.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityadminconfigurations/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityadminconfigurations/version.go new file mode 100644 index 000000000000..94e4d3bae971 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityadminconfigurations/version.go @@ -0,0 +1,10 @@ +package securityadminconfigurations + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2024-03-01" + +func userAgent() string { + return "hashicorp/go-azure-sdk/securityadminconfigurations/2024-03-01" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securitypartnerproviders/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securitypartnerproviders/README.md new file mode 100644 index 000000000000..2df7253b4eb3 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securitypartnerproviders/README.md @@ -0,0 +1,121 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securitypartnerproviders` Documentation + +The `securitypartnerproviders` SDK allows for interaction with Azure Resource Manager `network` (API Version `2024-03-01`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" +import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securitypartnerproviders" +``` + + +### Client Initialization + +```go +client := securitypartnerproviders.NewSecurityPartnerProvidersClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `SecurityPartnerProvidersClient.CreateOrUpdate` + +```go +ctx := context.TODO() +id := securitypartnerproviders.NewSecurityPartnerProviderID("12345678-1234-9876-4563-123456789012", "example-resource-group", "securityPartnerProviderName") + +payload := securitypartnerproviders.SecurityPartnerProvider{ + // ... +} + + +if err := client.CreateOrUpdateThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `SecurityPartnerProvidersClient.Delete` + +```go +ctx := context.TODO() +id := securitypartnerproviders.NewSecurityPartnerProviderID("12345678-1234-9876-4563-123456789012", "example-resource-group", "securityPartnerProviderName") + +if err := client.DeleteThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `SecurityPartnerProvidersClient.Get` + +```go +ctx := context.TODO() +id := securitypartnerproviders.NewSecurityPartnerProviderID("12345678-1234-9876-4563-123456789012", "example-resource-group", "securityPartnerProviderName") + +read, err := client.Get(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `SecurityPartnerProvidersClient.List` + +```go +ctx := context.TODO() +id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012") + +// alternatively `client.List(ctx, id)` can be used to do batched pagination +items, err := client.ListComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `SecurityPartnerProvidersClient.ListByResourceGroup` + +```go +ctx := context.TODO() +id := commonids.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group") + +// alternatively `client.ListByResourceGroup(ctx, id)` can be used to do batched pagination +items, err := client.ListByResourceGroupComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `SecurityPartnerProvidersClient.UpdateTags` + +```go +ctx := context.TODO() +id := securitypartnerproviders.NewSecurityPartnerProviderID("12345678-1234-9876-4563-123456789012", "example-resource-group", "securityPartnerProviderName") + +payload := securitypartnerproviders.TagsObject{ + // ... +} + + +read, err := client.UpdateTags(ctx, id, payload) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/securitypartnerproviders/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securitypartnerproviders/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/securitypartnerproviders/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securitypartnerproviders/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/securitypartnerproviders/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securitypartnerproviders/constants.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/securitypartnerproviders/constants.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securitypartnerproviders/constants.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/securitypartnerproviders/id_securitypartnerprovider.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securitypartnerproviders/id_securitypartnerprovider.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/securitypartnerproviders/id_securitypartnerprovider.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securitypartnerproviders/id_securitypartnerprovider.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/securitypartnerproviders/method_createorupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securitypartnerproviders/method_createorupdate.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/securitypartnerproviders/method_createorupdate.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securitypartnerproviders/method_createorupdate.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/securitypartnerproviders/method_delete.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securitypartnerproviders/method_delete.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/securitypartnerproviders/method_delete.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securitypartnerproviders/method_delete.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/securitypartnerproviders/method_get.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securitypartnerproviders/method_get.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/securitypartnerproviders/method_get.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securitypartnerproviders/method_get.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/securitypartnerproviders/method_list.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securitypartnerproviders/method_list.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/securitypartnerproviders/method_list.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securitypartnerproviders/method_list.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/securitypartnerproviders/method_listbyresourcegroup.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securitypartnerproviders/method_listbyresourcegroup.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/securitypartnerproviders/method_listbyresourcegroup.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securitypartnerproviders/method_listbyresourcegroup.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/securitypartnerproviders/method_updatetags.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securitypartnerproviders/method_updatetags.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/securitypartnerproviders/method_updatetags.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securitypartnerproviders/method_updatetags.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/securitypartnerproviders/model_securitypartnerprovider.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securitypartnerproviders/model_securitypartnerprovider.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/securitypartnerproviders/model_securitypartnerprovider.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securitypartnerproviders/model_securitypartnerprovider.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/securitypartnerproviders/model_securitypartnerproviderpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securitypartnerproviders/model_securitypartnerproviderpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/securitypartnerproviders/model_securitypartnerproviderpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securitypartnerproviders/model_securitypartnerproviderpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/securitypartnerproviders/model_subresource.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securitypartnerproviders/model_subresource.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/securitypartnerproviders/model_subresource.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securitypartnerproviders/model_subresource.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/securitypartnerproviders/model_tagsobject.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securitypartnerproviders/model_tagsobject.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/securitypartnerproviders/model_tagsobject.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securitypartnerproviders/model_tagsobject.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/securitypartnerproviders/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securitypartnerproviders/predicates.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/securitypartnerproviders/predicates.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securitypartnerproviders/predicates.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securitypartnerproviders/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securitypartnerproviders/version.go new file mode 100644 index 000000000000..353e81288182 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securitypartnerproviders/version.go @@ -0,0 +1,10 @@ +package securitypartnerproviders + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2024-03-01" + +func userAgent() string { + return "hashicorp/go-azure-sdk/securitypartnerproviders/2024-03-01" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityrules/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityrules/README.md new file mode 100644 index 000000000000..b1455f31447d --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityrules/README.md @@ -0,0 +1,115 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityrules` Documentation + +The `securityrules` SDK allows for interaction with Azure Resource Manager `network` (API Version `2024-03-01`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityrules" +``` + + +### Client Initialization + +```go +client := securityrules.NewSecurityRulesClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `SecurityRulesClient.CreateOrUpdate` + +```go +ctx := context.TODO() +id := securityrules.NewSecurityRuleID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkSecurityGroupName", "securityRuleName") + +payload := securityrules.SecurityRule{ + // ... +} + + +if err := client.CreateOrUpdateThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `SecurityRulesClient.DefaultSecurityRulesGet` + +```go +ctx := context.TODO() +id := securityrules.NewDefaultSecurityRuleID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkSecurityGroupName", "defaultSecurityRuleName") + +read, err := client.DefaultSecurityRulesGet(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `SecurityRulesClient.DefaultSecurityRulesList` + +```go +ctx := context.TODO() +id := securityrules.NewNetworkSecurityGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkSecurityGroupName") + +// alternatively `client.DefaultSecurityRulesList(ctx, id)` can be used to do batched pagination +items, err := client.DefaultSecurityRulesListComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `SecurityRulesClient.Delete` + +```go +ctx := context.TODO() +id := securityrules.NewSecurityRuleID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkSecurityGroupName", "securityRuleName") + +if err := client.DeleteThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `SecurityRulesClient.Get` + +```go +ctx := context.TODO() +id := securityrules.NewSecurityRuleID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkSecurityGroupName", "securityRuleName") + +read, err := client.Get(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `SecurityRulesClient.List` + +```go +ctx := context.TODO() +id := securityrules.NewNetworkSecurityGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkSecurityGroupName") + +// alternatively `client.List(ctx, id)` can be used to do batched pagination +items, err := client.ListComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/securityrules/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityrules/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/securityrules/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityrules/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/securityrules/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityrules/constants.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/securityrules/constants.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityrules/constants.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/securityrules/id_defaultsecurityrule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityrules/id_defaultsecurityrule.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/securityrules/id_defaultsecurityrule.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityrules/id_defaultsecurityrule.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/securityrules/id_networksecuritygroup.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityrules/id_networksecuritygroup.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/securityrules/id_networksecuritygroup.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityrules/id_networksecuritygroup.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/securityrules/id_securityrule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityrules/id_securityrule.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/securityrules/id_securityrule.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityrules/id_securityrule.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/securityrules/method_createorupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityrules/method_createorupdate.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/securityrules/method_createorupdate.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityrules/method_createorupdate.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/securityrules/method_defaultsecurityrulesget.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityrules/method_defaultsecurityrulesget.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/securityrules/method_defaultsecurityrulesget.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityrules/method_defaultsecurityrulesget.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/securityrules/method_defaultsecurityruleslist.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityrules/method_defaultsecurityruleslist.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/securityrules/method_defaultsecurityruleslist.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityrules/method_defaultsecurityruleslist.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/securityrules/method_delete.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityrules/method_delete.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/securityrules/method_delete.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityrules/method_delete.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/securityrules/method_get.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityrules/method_get.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/securityrules/method_get.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityrules/method_get.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/securityrules/method_list.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityrules/method_list.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/securityrules/method_list.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityrules/method_list.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/securityrules/model_applicationsecuritygroup.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityrules/model_applicationsecuritygroup.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/securityrules/model_applicationsecuritygroup.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityrules/model_applicationsecuritygroup.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/securityrules/model_applicationsecuritygrouppropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityrules/model_applicationsecuritygrouppropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/securityrules/model_applicationsecuritygrouppropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityrules/model_applicationsecuritygrouppropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/securityrules/model_securityrule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityrules/model_securityrule.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/securityrules/model_securityrule.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityrules/model_securityrule.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/securityrules/model_securityrulepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityrules/model_securityrulepropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/securityrules/model_securityrulepropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityrules/model_securityrulepropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/securityrules/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityrules/predicates.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/securityrules/predicates.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityrules/predicates.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityrules/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityrules/version.go new file mode 100644 index 000000000000..2a5379084d59 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityrules/version.go @@ -0,0 +1,10 @@ +package securityrules + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2024-03-01" + +func userAgent() string { + return "hashicorp/go-azure-sdk/securityrules/2024-03-01" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserconfigurations/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserconfigurations/README.md new file mode 100644 index 000000000000..5437eb2a16c3 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserconfigurations/README.md @@ -0,0 +1,86 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserconfigurations` Documentation + +The `securityuserconfigurations` SDK allows for interaction with Azure Resource Manager `network` (API Version `2024-03-01`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserconfigurations" +``` + + +### Client Initialization + +```go +client := securityuserconfigurations.NewSecurityUserConfigurationsClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `SecurityUserConfigurationsClient.CreateOrUpdate` + +```go +ctx := context.TODO() +id := securityuserconfigurations.NewSecurityUserConfigurationID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkManagerName", "securityUserConfigurationName") + +payload := securityuserconfigurations.SecurityUserConfiguration{ + // ... +} + + +read, err := client.CreateOrUpdate(ctx, id, payload) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `SecurityUserConfigurationsClient.Delete` + +```go +ctx := context.TODO() +id := securityuserconfigurations.NewSecurityUserConfigurationID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkManagerName", "securityUserConfigurationName") + +if err := client.DeleteThenPoll(ctx, id, securityuserconfigurations.DefaultDeleteOperationOptions()); err != nil { + // handle the error +} +``` + + +### Example Usage: `SecurityUserConfigurationsClient.Get` + +```go +ctx := context.TODO() +id := securityuserconfigurations.NewSecurityUserConfigurationID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkManagerName", "securityUserConfigurationName") + +read, err := client.Get(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `SecurityUserConfigurationsClient.List` + +```go +ctx := context.TODO() +id := securityuserconfigurations.NewNetworkManagerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkManagerName") + +// alternatively `client.List(ctx, id, securityuserconfigurations.DefaultListOperationOptions())` can be used to do batched pagination +items, err := client.ListComplete(ctx, id, securityuserconfigurations.DefaultListOperationOptions()) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserconfigurations/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserconfigurations/client.go new file mode 100644 index 000000000000..81e35e1bfd00 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserconfigurations/client.go @@ -0,0 +1,26 @@ +package securityuserconfigurations + +import ( + "fmt" + + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + sdkEnv "github.com/hashicorp/go-azure-sdk/sdk/environments" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type SecurityUserConfigurationsClient struct { + Client *resourcemanager.Client +} + +func NewSecurityUserConfigurationsClientWithBaseURI(sdkApi sdkEnv.Api) (*SecurityUserConfigurationsClient, error) { + client, err := resourcemanager.NewClient(sdkApi, "securityuserconfigurations", defaultApiVersion) + if err != nil { + return nil, fmt.Errorf("instantiating SecurityUserConfigurationsClient: %+v", err) + } + + return &SecurityUserConfigurationsClient{ + Client: client, + }, nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserconfigurations/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserconfigurations/constants.go new file mode 100644 index 000000000000..28a18df66979 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserconfigurations/constants.go @@ -0,0 +1,57 @@ +package securityuserconfigurations + +import ( + "encoding/json" + "fmt" + "strings" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ProvisioningState string + +const ( + ProvisioningStateDeleting ProvisioningState = "Deleting" + ProvisioningStateFailed ProvisioningState = "Failed" + ProvisioningStateSucceeded ProvisioningState = "Succeeded" + ProvisioningStateUpdating ProvisioningState = "Updating" +) + +func PossibleValuesForProvisioningState() []string { + return []string{ + string(ProvisioningStateDeleting), + string(ProvisioningStateFailed), + string(ProvisioningStateSucceeded), + string(ProvisioningStateUpdating), + } +} + +func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseProvisioningState(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseProvisioningState(input string) (*ProvisioningState, error) { + vals := map[string]ProvisioningState{ + "deleting": ProvisioningStateDeleting, + "failed": ProvisioningStateFailed, + "succeeded": ProvisioningStateSucceeded, + "updating": ProvisioningStateUpdating, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ProvisioningState(input) + return &out, nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserconfigurations/id_networkmanager.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserconfigurations/id_networkmanager.go new file mode 100644 index 000000000000..a1c611edbe64 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserconfigurations/id_networkmanager.go @@ -0,0 +1,130 @@ +package securityuserconfigurations + +import ( + "fmt" + "strings" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/recaser" + "github.com/hashicorp/go-azure-helpers/resourcemanager/resourceids" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +func init() { + recaser.RegisterResourceId(&NetworkManagerId{}) +} + +var _ resourceids.ResourceId = &NetworkManagerId{} + +// NetworkManagerId is a struct representing the Resource ID for a Network Manager +type NetworkManagerId struct { + SubscriptionId string + ResourceGroupName string + NetworkManagerName string +} + +// NewNetworkManagerID returns a new NetworkManagerId struct +func NewNetworkManagerID(subscriptionId string, resourceGroupName string, networkManagerName string) NetworkManagerId { + return NetworkManagerId{ + SubscriptionId: subscriptionId, + ResourceGroupName: resourceGroupName, + NetworkManagerName: networkManagerName, + } +} + +// ParseNetworkManagerID parses 'input' into a NetworkManagerId +func ParseNetworkManagerID(input string) (*NetworkManagerId, error) { + parser := resourceids.NewParserFromResourceIdType(&NetworkManagerId{}) + parsed, err := parser.Parse(input, false) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := NetworkManagerId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +// ParseNetworkManagerIDInsensitively parses 'input' case-insensitively into a NetworkManagerId +// note: this method should only be used for API response data and not user input +func ParseNetworkManagerIDInsensitively(input string) (*NetworkManagerId, error) { + parser := resourceids.NewParserFromResourceIdType(&NetworkManagerId{}) + parsed, err := parser.Parse(input, true) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := NetworkManagerId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +func (id *NetworkManagerId) FromParseResult(input resourceids.ParseResult) error { + var ok bool + + if id.SubscriptionId, ok = input.Parsed["subscriptionId"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "subscriptionId", input) + } + + if id.ResourceGroupName, ok = input.Parsed["resourceGroupName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "resourceGroupName", input) + } + + if id.NetworkManagerName, ok = input.Parsed["networkManagerName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "networkManagerName", input) + } + + return nil +} + +// ValidateNetworkManagerID checks that 'input' can be parsed as a Network Manager ID +func ValidateNetworkManagerID(input interface{}, key string) (warnings []string, errors []error) { + v, ok := input.(string) + if !ok { + errors = append(errors, fmt.Errorf("expected %q to be a string", key)) + return + } + + if _, err := ParseNetworkManagerID(v); err != nil { + errors = append(errors, err) + } + + return +} + +// ID returns the formatted Network Manager ID +func (id NetworkManagerId) ID() string { + fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.Network/networkManagers/%s" + return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.NetworkManagerName) +} + +// Segments returns a slice of Resource ID Segments which comprise this Network Manager ID +func (id NetworkManagerId) Segments() []resourceids.Segment { + return []resourceids.Segment{ + resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), + resourceids.SubscriptionIdSegment("subscriptionId", "12345678-1234-9876-4563-123456789012"), + resourceids.StaticSegment("staticResourceGroups", "resourceGroups", "resourceGroups"), + resourceids.ResourceGroupSegment("resourceGroupName", "example-resource-group"), + resourceids.StaticSegment("staticProviders", "providers", "providers"), + resourceids.ResourceProviderSegment("staticMicrosoftNetwork", "Microsoft.Network", "Microsoft.Network"), + resourceids.StaticSegment("staticNetworkManagers", "networkManagers", "networkManagers"), + resourceids.UserSpecifiedSegment("networkManagerName", "networkManagerName"), + } +} + +// String returns a human-readable description of this Network Manager ID +func (id NetworkManagerId) String() string { + components := []string{ + fmt.Sprintf("Subscription: %q", id.SubscriptionId), + fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), + fmt.Sprintf("Network Manager Name: %q", id.NetworkManagerName), + } + return fmt.Sprintf("Network Manager (%s)", strings.Join(components, "\n")) +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserconfigurations/id_securityuserconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserconfigurations/id_securityuserconfiguration.go new file mode 100644 index 000000000000..6df5321bd18b --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserconfigurations/id_securityuserconfiguration.go @@ -0,0 +1,139 @@ +package securityuserconfigurations + +import ( + "fmt" + "strings" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/recaser" + "github.com/hashicorp/go-azure-helpers/resourcemanager/resourceids" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +func init() { + recaser.RegisterResourceId(&SecurityUserConfigurationId{}) +} + +var _ resourceids.ResourceId = &SecurityUserConfigurationId{} + +// SecurityUserConfigurationId is a struct representing the Resource ID for a Security User Configuration +type SecurityUserConfigurationId struct { + SubscriptionId string + ResourceGroupName string + NetworkManagerName string + SecurityUserConfigurationName string +} + +// NewSecurityUserConfigurationID returns a new SecurityUserConfigurationId struct +func NewSecurityUserConfigurationID(subscriptionId string, resourceGroupName string, networkManagerName string, securityUserConfigurationName string) SecurityUserConfigurationId { + return SecurityUserConfigurationId{ + SubscriptionId: subscriptionId, + ResourceGroupName: resourceGroupName, + NetworkManagerName: networkManagerName, + SecurityUserConfigurationName: securityUserConfigurationName, + } +} + +// ParseSecurityUserConfigurationID parses 'input' into a SecurityUserConfigurationId +func ParseSecurityUserConfigurationID(input string) (*SecurityUserConfigurationId, error) { + parser := resourceids.NewParserFromResourceIdType(&SecurityUserConfigurationId{}) + parsed, err := parser.Parse(input, false) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := SecurityUserConfigurationId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +// ParseSecurityUserConfigurationIDInsensitively parses 'input' case-insensitively into a SecurityUserConfigurationId +// note: this method should only be used for API response data and not user input +func ParseSecurityUserConfigurationIDInsensitively(input string) (*SecurityUserConfigurationId, error) { + parser := resourceids.NewParserFromResourceIdType(&SecurityUserConfigurationId{}) + parsed, err := parser.Parse(input, true) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := SecurityUserConfigurationId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +func (id *SecurityUserConfigurationId) FromParseResult(input resourceids.ParseResult) error { + var ok bool + + if id.SubscriptionId, ok = input.Parsed["subscriptionId"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "subscriptionId", input) + } + + if id.ResourceGroupName, ok = input.Parsed["resourceGroupName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "resourceGroupName", input) + } + + if id.NetworkManagerName, ok = input.Parsed["networkManagerName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "networkManagerName", input) + } + + if id.SecurityUserConfigurationName, ok = input.Parsed["securityUserConfigurationName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "securityUserConfigurationName", input) + } + + return nil +} + +// ValidateSecurityUserConfigurationID checks that 'input' can be parsed as a Security User Configuration ID +func ValidateSecurityUserConfigurationID(input interface{}, key string) (warnings []string, errors []error) { + v, ok := input.(string) + if !ok { + errors = append(errors, fmt.Errorf("expected %q to be a string", key)) + return + } + + if _, err := ParseSecurityUserConfigurationID(v); err != nil { + errors = append(errors, err) + } + + return +} + +// ID returns the formatted Security User Configuration ID +func (id SecurityUserConfigurationId) ID() string { + fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.Network/networkManagers/%s/securityUserConfigurations/%s" + return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.NetworkManagerName, id.SecurityUserConfigurationName) +} + +// Segments returns a slice of Resource ID Segments which comprise this Security User Configuration ID +func (id SecurityUserConfigurationId) Segments() []resourceids.Segment { + return []resourceids.Segment{ + resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), + resourceids.SubscriptionIdSegment("subscriptionId", "12345678-1234-9876-4563-123456789012"), + resourceids.StaticSegment("staticResourceGroups", "resourceGroups", "resourceGroups"), + resourceids.ResourceGroupSegment("resourceGroupName", "example-resource-group"), + resourceids.StaticSegment("staticProviders", "providers", "providers"), + resourceids.ResourceProviderSegment("staticMicrosoftNetwork", "Microsoft.Network", "Microsoft.Network"), + resourceids.StaticSegment("staticNetworkManagers", "networkManagers", "networkManagers"), + resourceids.UserSpecifiedSegment("networkManagerName", "networkManagerName"), + resourceids.StaticSegment("staticSecurityUserConfigurations", "securityUserConfigurations", "securityUserConfigurations"), + resourceids.UserSpecifiedSegment("securityUserConfigurationName", "securityUserConfigurationName"), + } +} + +// String returns a human-readable description of this Security User Configuration ID +func (id SecurityUserConfigurationId) String() string { + components := []string{ + fmt.Sprintf("Subscription: %q", id.SubscriptionId), + fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), + fmt.Sprintf("Network Manager Name: %q", id.NetworkManagerName), + fmt.Sprintf("Security User Configuration Name: %q", id.SecurityUserConfigurationName), + } + return fmt.Sprintf("Security User Configuration (%s)", strings.Join(components, "\n")) +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserconfigurations/method_createorupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserconfigurations/method_createorupdate.go new file mode 100644 index 000000000000..dd523a473767 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserconfigurations/method_createorupdate.go @@ -0,0 +1,58 @@ +package securityuserconfigurations + +import ( + "context" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type CreateOrUpdateOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *SecurityUserConfiguration +} + +// CreateOrUpdate ... +func (c SecurityUserConfigurationsClient) CreateOrUpdate(ctx context.Context, id SecurityUserConfigurationId, input SecurityUserConfiguration) (result CreateOrUpdateOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusCreated, + http.StatusOK, + }, + HttpMethod: http.MethodPut, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + if err = req.Marshal(input); err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var model SecurityUserConfiguration + result.Model = &model + if err = resp.Unmarshal(result.Model); err != nil { + return + } + + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserconfigurations/method_delete.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserconfigurations/method_delete.go new file mode 100644 index 000000000000..afdd0d941f6c --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserconfigurations/method_delete.go @@ -0,0 +1,100 @@ +package securityuserconfigurations + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/client/pollers" + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type DeleteOperationResponse struct { + Poller pollers.Poller + HttpResponse *http.Response + OData *odata.OData +} + +type DeleteOperationOptions struct { + Force *bool +} + +func DefaultDeleteOperationOptions() DeleteOperationOptions { + return DeleteOperationOptions{} +} + +func (o DeleteOperationOptions) ToHeaders() *client.Headers { + out := client.Headers{} + + return &out +} + +func (o DeleteOperationOptions) ToOData() *odata.Query { + out := odata.Query{} + + return &out +} + +func (o DeleteOperationOptions) ToQuery() *client.QueryParams { + out := client.QueryParams{} + if o.Force != nil { + out.Append("force", fmt.Sprintf("%v", *o.Force)) + } + return &out +} + +// Delete ... +func (c SecurityUserConfigurationsClient) Delete(ctx context.Context, id SecurityUserConfigurationId, options DeleteOperationOptions) (result DeleteOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusAccepted, + http.StatusNoContent, + http.StatusOK, + }, + HttpMethod: http.MethodDelete, + OptionsObject: options, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client) + if err != nil { + return + } + + return +} + +// DeleteThenPoll performs Delete then polls until it's completed +func (c SecurityUserConfigurationsClient) DeleteThenPoll(ctx context.Context, id SecurityUserConfigurationId, options DeleteOperationOptions) error { + result, err := c.Delete(ctx, id, options) + if err != nil { + return fmt.Errorf("performing Delete: %+v", err) + } + + if err := result.Poller.PollUntilDone(ctx); err != nil { + return fmt.Errorf("polling after Delete: %+v", err) + } + + return nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserconfigurations/method_get.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserconfigurations/method_get.go new file mode 100644 index 000000000000..bf0940d6925d --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserconfigurations/method_get.go @@ -0,0 +1,53 @@ +package securityuserconfigurations + +import ( + "context" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type GetOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *SecurityUserConfiguration +} + +// Get ... +func (c SecurityUserConfigurationsClient) Get(ctx context.Context, id SecurityUserConfigurationId) (result GetOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var model SecurityUserConfiguration + result.Model = &model + if err = resp.Unmarshal(result.Model); err != nil { + return + } + + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserconfigurations/method_list.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserconfigurations/method_list.go new file mode 100644 index 000000000000..43f0254db990 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserconfigurations/method_list.go @@ -0,0 +1,134 @@ +package securityuserconfigurations + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ListOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *[]SecurityUserConfiguration +} + +type ListCompleteResult struct { + LatestHttpResponse *http.Response + Items []SecurityUserConfiguration +} + +type ListOperationOptions struct { + Top *int64 +} + +func DefaultListOperationOptions() ListOperationOptions { + return ListOperationOptions{} +} + +func (o ListOperationOptions) ToHeaders() *client.Headers { + out := client.Headers{} + + return &out +} + +func (o ListOperationOptions) ToOData() *odata.Query { + out := odata.Query{} + + return &out +} + +func (o ListOperationOptions) ToQuery() *client.QueryParams { + out := client.QueryParams{} + if o.Top != nil { + out.Append("$top", fmt.Sprintf("%v", *o.Top)) + } + return &out +} + +type ListCustomPager struct { + NextLink *odata.Link `json:"nextLink"` +} + +func (p *ListCustomPager) NextPageLink() *odata.Link { + defer func() { + p.NextLink = nil + }() + + return p.NextLink +} + +// List ... +func (c SecurityUserConfigurationsClient) List(ctx context.Context, id NetworkManagerId, options ListOperationOptions) (result ListOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + OptionsObject: options, + Pager: &ListCustomPager{}, + Path: fmt.Sprintf("%s/securityUserConfigurations", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.ExecutePaged(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var values struct { + Values *[]SecurityUserConfiguration `json:"value"` + } + if err = resp.Unmarshal(&values); err != nil { + return + } + + result.Model = values.Values + + return +} + +// ListComplete retrieves all the results into a single object +func (c SecurityUserConfigurationsClient) ListComplete(ctx context.Context, id NetworkManagerId, options ListOperationOptions) (ListCompleteResult, error) { + return c.ListCompleteMatchingPredicate(ctx, id, options, SecurityUserConfigurationOperationPredicate{}) +} + +// ListCompleteMatchingPredicate retrieves all the results and then applies the predicate +func (c SecurityUserConfigurationsClient) ListCompleteMatchingPredicate(ctx context.Context, id NetworkManagerId, options ListOperationOptions, predicate SecurityUserConfigurationOperationPredicate) (result ListCompleteResult, err error) { + items := make([]SecurityUserConfiguration, 0) + + resp, err := c.List(ctx, id, options) + if err != nil { + result.LatestHttpResponse = resp.HttpResponse + err = fmt.Errorf("loading results: %+v", err) + return + } + if resp.Model != nil { + for _, v := range *resp.Model { + if predicate.Matches(v) { + items = append(items, v) + } + } + } + + result = ListCompleteResult{ + LatestHttpResponse: resp.HttpResponse, + Items: items, + } + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserconfigurations/model_securityuserconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserconfigurations/model_securityuserconfiguration.go new file mode 100644 index 000000000000..9ac10a92364b --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserconfigurations/model_securityuserconfiguration.go @@ -0,0 +1,17 @@ +package securityuserconfigurations + +import ( + "github.com/hashicorp/go-azure-helpers/resourcemanager/systemdata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type SecurityUserConfiguration struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *SecurityUserConfigurationPropertiesFormat `json:"properties,omitempty"` + SystemData *systemdata.SystemData `json:"systemData,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserconfigurations/model_securityuserconfigurationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserconfigurations/model_securityuserconfigurationpropertiesformat.go new file mode 100644 index 000000000000..18af4f046ec1 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserconfigurations/model_securityuserconfigurationpropertiesformat.go @@ -0,0 +1,10 @@ +package securityuserconfigurations + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type SecurityUserConfigurationPropertiesFormat struct { + Description *string `json:"description,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + ResourceGuid *string `json:"resourceGuid,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserconfigurations/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserconfigurations/predicates.go new file mode 100644 index 000000000000..835b3ccdcdb4 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserconfigurations/predicates.go @@ -0,0 +1,32 @@ +package securityuserconfigurations + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type SecurityUserConfigurationOperationPredicate struct { + Etag *string + Id *string + Name *string + Type *string +} + +func (p SecurityUserConfigurationOperationPredicate) Matches(input SecurityUserConfiguration) bool { + + if p.Etag != nil && (input.Etag == nil || *p.Etag != *input.Etag) { + return false + } + + if p.Id != nil && (input.Id == nil || *p.Id != *input.Id) { + return false + } + + if p.Name != nil && (input.Name == nil || *p.Name != *input.Name) { + return false + } + + if p.Type != nil && (input.Type == nil || *p.Type != *input.Type) { + return false + } + + return true +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserconfigurations/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserconfigurations/version.go new file mode 100644 index 000000000000..5f278bd75f04 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserconfigurations/version.go @@ -0,0 +1,10 @@ +package securityuserconfigurations + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2024-03-01" + +func userAgent() string { + return "hashicorp/go-azure-sdk/securityuserconfigurations/2024-03-01" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserrulecollections/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserrulecollections/README.md new file mode 100644 index 000000000000..d94abcbf9a0b --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserrulecollections/README.md @@ -0,0 +1,86 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserrulecollections` Documentation + +The `securityuserrulecollections` SDK allows for interaction with Azure Resource Manager `network` (API Version `2024-03-01`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserrulecollections" +``` + + +### Client Initialization + +```go +client := securityuserrulecollections.NewSecurityUserRuleCollectionsClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `SecurityUserRuleCollectionsClient.CreateOrUpdate` + +```go +ctx := context.TODO() +id := securityuserrulecollections.NewSecurityUserConfigurationRuleCollectionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkManagerName", "securityUserConfigurationName", "ruleCollectionName") + +payload := securityuserrulecollections.SecurityUserRuleCollection{ + // ... +} + + +read, err := client.CreateOrUpdate(ctx, id, payload) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `SecurityUserRuleCollectionsClient.Delete` + +```go +ctx := context.TODO() +id := securityuserrulecollections.NewSecurityUserConfigurationRuleCollectionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkManagerName", "securityUserConfigurationName", "ruleCollectionName") + +if err := client.DeleteThenPoll(ctx, id, securityuserrulecollections.DefaultDeleteOperationOptions()); err != nil { + // handle the error +} +``` + + +### Example Usage: `SecurityUserRuleCollectionsClient.Get` + +```go +ctx := context.TODO() +id := securityuserrulecollections.NewSecurityUserConfigurationRuleCollectionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkManagerName", "securityUserConfigurationName", "ruleCollectionName") + +read, err := client.Get(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `SecurityUserRuleCollectionsClient.List` + +```go +ctx := context.TODO() +id := securityuserrulecollections.NewSecurityUserConfigurationID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkManagerName", "securityUserConfigurationName") + +// alternatively `client.List(ctx, id, securityuserrulecollections.DefaultListOperationOptions())` can be used to do batched pagination +items, err := client.ListComplete(ctx, id, securityuserrulecollections.DefaultListOperationOptions()) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserrulecollections/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserrulecollections/client.go new file mode 100644 index 000000000000..2e65998d9690 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserrulecollections/client.go @@ -0,0 +1,26 @@ +package securityuserrulecollections + +import ( + "fmt" + + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + sdkEnv "github.com/hashicorp/go-azure-sdk/sdk/environments" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type SecurityUserRuleCollectionsClient struct { + Client *resourcemanager.Client +} + +func NewSecurityUserRuleCollectionsClientWithBaseURI(sdkApi sdkEnv.Api) (*SecurityUserRuleCollectionsClient, error) { + client, err := resourcemanager.NewClient(sdkApi, "securityuserrulecollections", defaultApiVersion) + if err != nil { + return nil, fmt.Errorf("instantiating SecurityUserRuleCollectionsClient: %+v", err) + } + + return &SecurityUserRuleCollectionsClient{ + Client: client, + }, nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserrulecollections/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserrulecollections/constants.go new file mode 100644 index 000000000000..d49d97eed47e --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserrulecollections/constants.go @@ -0,0 +1,57 @@ +package securityuserrulecollections + +import ( + "encoding/json" + "fmt" + "strings" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ProvisioningState string + +const ( + ProvisioningStateDeleting ProvisioningState = "Deleting" + ProvisioningStateFailed ProvisioningState = "Failed" + ProvisioningStateSucceeded ProvisioningState = "Succeeded" + ProvisioningStateUpdating ProvisioningState = "Updating" +) + +func PossibleValuesForProvisioningState() []string { + return []string{ + string(ProvisioningStateDeleting), + string(ProvisioningStateFailed), + string(ProvisioningStateSucceeded), + string(ProvisioningStateUpdating), + } +} + +func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseProvisioningState(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseProvisioningState(input string) (*ProvisioningState, error) { + vals := map[string]ProvisioningState{ + "deleting": ProvisioningStateDeleting, + "failed": ProvisioningStateFailed, + "succeeded": ProvisioningStateSucceeded, + "updating": ProvisioningStateUpdating, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ProvisioningState(input) + return &out, nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserrulecollections/id_securityuserconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserrulecollections/id_securityuserconfiguration.go new file mode 100644 index 000000000000..ab8dfdd078df --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserrulecollections/id_securityuserconfiguration.go @@ -0,0 +1,139 @@ +package securityuserrulecollections + +import ( + "fmt" + "strings" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/recaser" + "github.com/hashicorp/go-azure-helpers/resourcemanager/resourceids" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +func init() { + recaser.RegisterResourceId(&SecurityUserConfigurationId{}) +} + +var _ resourceids.ResourceId = &SecurityUserConfigurationId{} + +// SecurityUserConfigurationId is a struct representing the Resource ID for a Security User Configuration +type SecurityUserConfigurationId struct { + SubscriptionId string + ResourceGroupName string + NetworkManagerName string + SecurityUserConfigurationName string +} + +// NewSecurityUserConfigurationID returns a new SecurityUserConfigurationId struct +func NewSecurityUserConfigurationID(subscriptionId string, resourceGroupName string, networkManagerName string, securityUserConfigurationName string) SecurityUserConfigurationId { + return SecurityUserConfigurationId{ + SubscriptionId: subscriptionId, + ResourceGroupName: resourceGroupName, + NetworkManagerName: networkManagerName, + SecurityUserConfigurationName: securityUserConfigurationName, + } +} + +// ParseSecurityUserConfigurationID parses 'input' into a SecurityUserConfigurationId +func ParseSecurityUserConfigurationID(input string) (*SecurityUserConfigurationId, error) { + parser := resourceids.NewParserFromResourceIdType(&SecurityUserConfigurationId{}) + parsed, err := parser.Parse(input, false) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := SecurityUserConfigurationId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +// ParseSecurityUserConfigurationIDInsensitively parses 'input' case-insensitively into a SecurityUserConfigurationId +// note: this method should only be used for API response data and not user input +func ParseSecurityUserConfigurationIDInsensitively(input string) (*SecurityUserConfigurationId, error) { + parser := resourceids.NewParserFromResourceIdType(&SecurityUserConfigurationId{}) + parsed, err := parser.Parse(input, true) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := SecurityUserConfigurationId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +func (id *SecurityUserConfigurationId) FromParseResult(input resourceids.ParseResult) error { + var ok bool + + if id.SubscriptionId, ok = input.Parsed["subscriptionId"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "subscriptionId", input) + } + + if id.ResourceGroupName, ok = input.Parsed["resourceGroupName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "resourceGroupName", input) + } + + if id.NetworkManagerName, ok = input.Parsed["networkManagerName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "networkManagerName", input) + } + + if id.SecurityUserConfigurationName, ok = input.Parsed["securityUserConfigurationName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "securityUserConfigurationName", input) + } + + return nil +} + +// ValidateSecurityUserConfigurationID checks that 'input' can be parsed as a Security User Configuration ID +func ValidateSecurityUserConfigurationID(input interface{}, key string) (warnings []string, errors []error) { + v, ok := input.(string) + if !ok { + errors = append(errors, fmt.Errorf("expected %q to be a string", key)) + return + } + + if _, err := ParseSecurityUserConfigurationID(v); err != nil { + errors = append(errors, err) + } + + return +} + +// ID returns the formatted Security User Configuration ID +func (id SecurityUserConfigurationId) ID() string { + fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.Network/networkManagers/%s/securityUserConfigurations/%s" + return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.NetworkManagerName, id.SecurityUserConfigurationName) +} + +// Segments returns a slice of Resource ID Segments which comprise this Security User Configuration ID +func (id SecurityUserConfigurationId) Segments() []resourceids.Segment { + return []resourceids.Segment{ + resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), + resourceids.SubscriptionIdSegment("subscriptionId", "12345678-1234-9876-4563-123456789012"), + resourceids.StaticSegment("staticResourceGroups", "resourceGroups", "resourceGroups"), + resourceids.ResourceGroupSegment("resourceGroupName", "example-resource-group"), + resourceids.StaticSegment("staticProviders", "providers", "providers"), + resourceids.ResourceProviderSegment("staticMicrosoftNetwork", "Microsoft.Network", "Microsoft.Network"), + resourceids.StaticSegment("staticNetworkManagers", "networkManagers", "networkManagers"), + resourceids.UserSpecifiedSegment("networkManagerName", "networkManagerName"), + resourceids.StaticSegment("staticSecurityUserConfigurations", "securityUserConfigurations", "securityUserConfigurations"), + resourceids.UserSpecifiedSegment("securityUserConfigurationName", "securityUserConfigurationName"), + } +} + +// String returns a human-readable description of this Security User Configuration ID +func (id SecurityUserConfigurationId) String() string { + components := []string{ + fmt.Sprintf("Subscription: %q", id.SubscriptionId), + fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), + fmt.Sprintf("Network Manager Name: %q", id.NetworkManagerName), + fmt.Sprintf("Security User Configuration Name: %q", id.SecurityUserConfigurationName), + } + return fmt.Sprintf("Security User Configuration (%s)", strings.Join(components, "\n")) +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserrulecollections/id_securityuserconfigurationrulecollection.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserrulecollections/id_securityuserconfigurationrulecollection.go new file mode 100644 index 000000000000..2b4f8fd6ed58 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserrulecollections/id_securityuserconfigurationrulecollection.go @@ -0,0 +1,148 @@ +package securityuserrulecollections + +import ( + "fmt" + "strings" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/recaser" + "github.com/hashicorp/go-azure-helpers/resourcemanager/resourceids" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +func init() { + recaser.RegisterResourceId(&SecurityUserConfigurationRuleCollectionId{}) +} + +var _ resourceids.ResourceId = &SecurityUserConfigurationRuleCollectionId{} + +// SecurityUserConfigurationRuleCollectionId is a struct representing the Resource ID for a Security User Configuration Rule Collection +type SecurityUserConfigurationRuleCollectionId struct { + SubscriptionId string + ResourceGroupName string + NetworkManagerName string + SecurityUserConfigurationName string + RuleCollectionName string +} + +// NewSecurityUserConfigurationRuleCollectionID returns a new SecurityUserConfigurationRuleCollectionId struct +func NewSecurityUserConfigurationRuleCollectionID(subscriptionId string, resourceGroupName string, networkManagerName string, securityUserConfigurationName string, ruleCollectionName string) SecurityUserConfigurationRuleCollectionId { + return SecurityUserConfigurationRuleCollectionId{ + SubscriptionId: subscriptionId, + ResourceGroupName: resourceGroupName, + NetworkManagerName: networkManagerName, + SecurityUserConfigurationName: securityUserConfigurationName, + RuleCollectionName: ruleCollectionName, + } +} + +// ParseSecurityUserConfigurationRuleCollectionID parses 'input' into a SecurityUserConfigurationRuleCollectionId +func ParseSecurityUserConfigurationRuleCollectionID(input string) (*SecurityUserConfigurationRuleCollectionId, error) { + parser := resourceids.NewParserFromResourceIdType(&SecurityUserConfigurationRuleCollectionId{}) + parsed, err := parser.Parse(input, false) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := SecurityUserConfigurationRuleCollectionId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +// ParseSecurityUserConfigurationRuleCollectionIDInsensitively parses 'input' case-insensitively into a SecurityUserConfigurationRuleCollectionId +// note: this method should only be used for API response data and not user input +func ParseSecurityUserConfigurationRuleCollectionIDInsensitively(input string) (*SecurityUserConfigurationRuleCollectionId, error) { + parser := resourceids.NewParserFromResourceIdType(&SecurityUserConfigurationRuleCollectionId{}) + parsed, err := parser.Parse(input, true) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := SecurityUserConfigurationRuleCollectionId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +func (id *SecurityUserConfigurationRuleCollectionId) FromParseResult(input resourceids.ParseResult) error { + var ok bool + + if id.SubscriptionId, ok = input.Parsed["subscriptionId"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "subscriptionId", input) + } + + if id.ResourceGroupName, ok = input.Parsed["resourceGroupName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "resourceGroupName", input) + } + + if id.NetworkManagerName, ok = input.Parsed["networkManagerName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "networkManagerName", input) + } + + if id.SecurityUserConfigurationName, ok = input.Parsed["securityUserConfigurationName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "securityUserConfigurationName", input) + } + + if id.RuleCollectionName, ok = input.Parsed["ruleCollectionName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "ruleCollectionName", input) + } + + return nil +} + +// ValidateSecurityUserConfigurationRuleCollectionID checks that 'input' can be parsed as a Security User Configuration Rule Collection ID +func ValidateSecurityUserConfigurationRuleCollectionID(input interface{}, key string) (warnings []string, errors []error) { + v, ok := input.(string) + if !ok { + errors = append(errors, fmt.Errorf("expected %q to be a string", key)) + return + } + + if _, err := ParseSecurityUserConfigurationRuleCollectionID(v); err != nil { + errors = append(errors, err) + } + + return +} + +// ID returns the formatted Security User Configuration Rule Collection ID +func (id SecurityUserConfigurationRuleCollectionId) ID() string { + fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.Network/networkManagers/%s/securityUserConfigurations/%s/ruleCollections/%s" + return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.NetworkManagerName, id.SecurityUserConfigurationName, id.RuleCollectionName) +} + +// Segments returns a slice of Resource ID Segments which comprise this Security User Configuration Rule Collection ID +func (id SecurityUserConfigurationRuleCollectionId) Segments() []resourceids.Segment { + return []resourceids.Segment{ + resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), + resourceids.SubscriptionIdSegment("subscriptionId", "12345678-1234-9876-4563-123456789012"), + resourceids.StaticSegment("staticResourceGroups", "resourceGroups", "resourceGroups"), + resourceids.ResourceGroupSegment("resourceGroupName", "example-resource-group"), + resourceids.StaticSegment("staticProviders", "providers", "providers"), + resourceids.ResourceProviderSegment("staticMicrosoftNetwork", "Microsoft.Network", "Microsoft.Network"), + resourceids.StaticSegment("staticNetworkManagers", "networkManagers", "networkManagers"), + resourceids.UserSpecifiedSegment("networkManagerName", "networkManagerName"), + resourceids.StaticSegment("staticSecurityUserConfigurations", "securityUserConfigurations", "securityUserConfigurations"), + resourceids.UserSpecifiedSegment("securityUserConfigurationName", "securityUserConfigurationName"), + resourceids.StaticSegment("staticRuleCollections", "ruleCollections", "ruleCollections"), + resourceids.UserSpecifiedSegment("ruleCollectionName", "ruleCollectionName"), + } +} + +// String returns a human-readable description of this Security User Configuration Rule Collection ID +func (id SecurityUserConfigurationRuleCollectionId) String() string { + components := []string{ + fmt.Sprintf("Subscription: %q", id.SubscriptionId), + fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), + fmt.Sprintf("Network Manager Name: %q", id.NetworkManagerName), + fmt.Sprintf("Security User Configuration Name: %q", id.SecurityUserConfigurationName), + fmt.Sprintf("Rule Collection Name: %q", id.RuleCollectionName), + } + return fmt.Sprintf("Security User Configuration Rule Collection (%s)", strings.Join(components, "\n")) +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserrulecollections/method_createorupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserrulecollections/method_createorupdate.go new file mode 100644 index 000000000000..a6360eab05ce --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserrulecollections/method_createorupdate.go @@ -0,0 +1,58 @@ +package securityuserrulecollections + +import ( + "context" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type CreateOrUpdateOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *SecurityUserRuleCollection +} + +// CreateOrUpdate ... +func (c SecurityUserRuleCollectionsClient) CreateOrUpdate(ctx context.Context, id SecurityUserConfigurationRuleCollectionId, input SecurityUserRuleCollection) (result CreateOrUpdateOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusCreated, + http.StatusOK, + }, + HttpMethod: http.MethodPut, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + if err = req.Marshal(input); err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var model SecurityUserRuleCollection + result.Model = &model + if err = resp.Unmarshal(result.Model); err != nil { + return + } + + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserrulecollections/method_delete.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserrulecollections/method_delete.go new file mode 100644 index 000000000000..45d73ed7010a --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserrulecollections/method_delete.go @@ -0,0 +1,100 @@ +package securityuserrulecollections + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/client/pollers" + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type DeleteOperationResponse struct { + Poller pollers.Poller + HttpResponse *http.Response + OData *odata.OData +} + +type DeleteOperationOptions struct { + Force *bool +} + +func DefaultDeleteOperationOptions() DeleteOperationOptions { + return DeleteOperationOptions{} +} + +func (o DeleteOperationOptions) ToHeaders() *client.Headers { + out := client.Headers{} + + return &out +} + +func (o DeleteOperationOptions) ToOData() *odata.Query { + out := odata.Query{} + + return &out +} + +func (o DeleteOperationOptions) ToQuery() *client.QueryParams { + out := client.QueryParams{} + if o.Force != nil { + out.Append("force", fmt.Sprintf("%v", *o.Force)) + } + return &out +} + +// Delete ... +func (c SecurityUserRuleCollectionsClient) Delete(ctx context.Context, id SecurityUserConfigurationRuleCollectionId, options DeleteOperationOptions) (result DeleteOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusAccepted, + http.StatusNoContent, + http.StatusOK, + }, + HttpMethod: http.MethodDelete, + OptionsObject: options, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client) + if err != nil { + return + } + + return +} + +// DeleteThenPoll performs Delete then polls until it's completed +func (c SecurityUserRuleCollectionsClient) DeleteThenPoll(ctx context.Context, id SecurityUserConfigurationRuleCollectionId, options DeleteOperationOptions) error { + result, err := c.Delete(ctx, id, options) + if err != nil { + return fmt.Errorf("performing Delete: %+v", err) + } + + if err := result.Poller.PollUntilDone(ctx); err != nil { + return fmt.Errorf("polling after Delete: %+v", err) + } + + return nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserrulecollections/method_get.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserrulecollections/method_get.go new file mode 100644 index 000000000000..6e3eacdacacd --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserrulecollections/method_get.go @@ -0,0 +1,53 @@ +package securityuserrulecollections + +import ( + "context" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type GetOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *SecurityUserRuleCollection +} + +// Get ... +func (c SecurityUserRuleCollectionsClient) Get(ctx context.Context, id SecurityUserConfigurationRuleCollectionId) (result GetOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var model SecurityUserRuleCollection + result.Model = &model + if err = resp.Unmarshal(result.Model); err != nil { + return + } + + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserrulecollections/method_list.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserrulecollections/method_list.go new file mode 100644 index 000000000000..72290b92b790 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserrulecollections/method_list.go @@ -0,0 +1,134 @@ +package securityuserrulecollections + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ListOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *[]SecurityUserRuleCollection +} + +type ListCompleteResult struct { + LatestHttpResponse *http.Response + Items []SecurityUserRuleCollection +} + +type ListOperationOptions struct { + Top *int64 +} + +func DefaultListOperationOptions() ListOperationOptions { + return ListOperationOptions{} +} + +func (o ListOperationOptions) ToHeaders() *client.Headers { + out := client.Headers{} + + return &out +} + +func (o ListOperationOptions) ToOData() *odata.Query { + out := odata.Query{} + + return &out +} + +func (o ListOperationOptions) ToQuery() *client.QueryParams { + out := client.QueryParams{} + if o.Top != nil { + out.Append("$top", fmt.Sprintf("%v", *o.Top)) + } + return &out +} + +type ListCustomPager struct { + NextLink *odata.Link `json:"nextLink"` +} + +func (p *ListCustomPager) NextPageLink() *odata.Link { + defer func() { + p.NextLink = nil + }() + + return p.NextLink +} + +// List ... +func (c SecurityUserRuleCollectionsClient) List(ctx context.Context, id SecurityUserConfigurationId, options ListOperationOptions) (result ListOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + OptionsObject: options, + Pager: &ListCustomPager{}, + Path: fmt.Sprintf("%s/ruleCollections", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.ExecutePaged(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var values struct { + Values *[]SecurityUserRuleCollection `json:"value"` + } + if err = resp.Unmarshal(&values); err != nil { + return + } + + result.Model = values.Values + + return +} + +// ListComplete retrieves all the results into a single object +func (c SecurityUserRuleCollectionsClient) ListComplete(ctx context.Context, id SecurityUserConfigurationId, options ListOperationOptions) (ListCompleteResult, error) { + return c.ListCompleteMatchingPredicate(ctx, id, options, SecurityUserRuleCollectionOperationPredicate{}) +} + +// ListCompleteMatchingPredicate retrieves all the results and then applies the predicate +func (c SecurityUserRuleCollectionsClient) ListCompleteMatchingPredicate(ctx context.Context, id SecurityUserConfigurationId, options ListOperationOptions, predicate SecurityUserRuleCollectionOperationPredicate) (result ListCompleteResult, err error) { + items := make([]SecurityUserRuleCollection, 0) + + resp, err := c.List(ctx, id, options) + if err != nil { + result.LatestHttpResponse = resp.HttpResponse + err = fmt.Errorf("loading results: %+v", err) + return + } + if resp.Model != nil { + for _, v := range *resp.Model { + if predicate.Matches(v) { + items = append(items, v) + } + } + } + + result = ListCompleteResult{ + LatestHttpResponse: resp.HttpResponse, + Items: items, + } + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserrulecollections/model_securityusergroupitem.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserrulecollections/model_securityusergroupitem.go new file mode 100644 index 000000000000..a067fbcbfe0a --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserrulecollections/model_securityusergroupitem.go @@ -0,0 +1,8 @@ +package securityuserrulecollections + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type SecurityUserGroupItem struct { + NetworkGroupId string `json:"networkGroupId"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserrulecollections/model_securityuserrulecollection.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserrulecollections/model_securityuserrulecollection.go new file mode 100644 index 000000000000..dc9c51b4598c --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserrulecollections/model_securityuserrulecollection.go @@ -0,0 +1,17 @@ +package securityuserrulecollections + +import ( + "github.com/hashicorp/go-azure-helpers/resourcemanager/systemdata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type SecurityUserRuleCollection struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *SecurityUserRuleCollectionPropertiesFormat `json:"properties,omitempty"` + SystemData *systemdata.SystemData `json:"systemData,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserrulecollections/model_securityuserrulecollectionpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserrulecollections/model_securityuserrulecollectionpropertiesformat.go new file mode 100644 index 000000000000..752e873a957e --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserrulecollections/model_securityuserrulecollectionpropertiesformat.go @@ -0,0 +1,11 @@ +package securityuserrulecollections + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type SecurityUserRuleCollectionPropertiesFormat struct { + AppliesToGroups []SecurityUserGroupItem `json:"appliesToGroups"` + Description *string `json:"description,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + ResourceGuid *string `json:"resourceGuid,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserrulecollections/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserrulecollections/predicates.go new file mode 100644 index 000000000000..10ac4063ad9c --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserrulecollections/predicates.go @@ -0,0 +1,32 @@ +package securityuserrulecollections + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type SecurityUserRuleCollectionOperationPredicate struct { + Etag *string + Id *string + Name *string + Type *string +} + +func (p SecurityUserRuleCollectionOperationPredicate) Matches(input SecurityUserRuleCollection) bool { + + if p.Etag != nil && (input.Etag == nil || *p.Etag != *input.Etag) { + return false + } + + if p.Id != nil && (input.Id == nil || *p.Id != *input.Id) { + return false + } + + if p.Name != nil && (input.Name == nil || *p.Name != *input.Name) { + return false + } + + if p.Type != nil && (input.Type == nil || *p.Type != *input.Type) { + return false + } + + return true +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserrulecollections/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserrulecollections/version.go new file mode 100644 index 000000000000..c504c33da968 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserrulecollections/version.go @@ -0,0 +1,10 @@ +package securityuserrulecollections + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2024-03-01" + +func userAgent() string { + return "hashicorp/go-azure-sdk/securityuserrulecollections/2024-03-01" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserrules/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserrules/README.md new file mode 100644 index 000000000000..c3506759641c --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserrules/README.md @@ -0,0 +1,86 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserrules` Documentation + +The `securityuserrules` SDK allows for interaction with Azure Resource Manager `network` (API Version `2024-03-01`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserrules" +``` + + +### Client Initialization + +```go +client := securityuserrules.NewSecurityUserRulesClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `SecurityUserRulesClient.CreateOrUpdate` + +```go +ctx := context.TODO() +id := securityuserrules.NewRuleCollectionRuleID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkManagerName", "securityUserConfigurationName", "ruleCollectionName", "ruleName") + +payload := securityuserrules.SecurityUserRule{ + // ... +} + + +read, err := client.CreateOrUpdate(ctx, id, payload) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `SecurityUserRulesClient.Delete` + +```go +ctx := context.TODO() +id := securityuserrules.NewRuleCollectionRuleID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkManagerName", "securityUserConfigurationName", "ruleCollectionName", "ruleName") + +if err := client.DeleteThenPoll(ctx, id, securityuserrules.DefaultDeleteOperationOptions()); err != nil { + // handle the error +} +``` + + +### Example Usage: `SecurityUserRulesClient.Get` + +```go +ctx := context.TODO() +id := securityuserrules.NewRuleCollectionRuleID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkManagerName", "securityUserConfigurationName", "ruleCollectionName", "ruleName") + +read, err := client.Get(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `SecurityUserRulesClient.List` + +```go +ctx := context.TODO() +id := securityuserrules.NewSecurityUserConfigurationRuleCollectionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkManagerName", "securityUserConfigurationName", "ruleCollectionName") + +// alternatively `client.List(ctx, id)` can be used to do batched pagination +items, err := client.ListComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserrules/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserrules/client.go new file mode 100644 index 000000000000..bd99ee4be9c1 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserrules/client.go @@ -0,0 +1,26 @@ +package securityuserrules + +import ( + "fmt" + + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + sdkEnv "github.com/hashicorp/go-azure-sdk/sdk/environments" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type SecurityUserRulesClient struct { + Client *resourcemanager.Client +} + +func NewSecurityUserRulesClientWithBaseURI(sdkApi sdkEnv.Api) (*SecurityUserRulesClient, error) { + client, err := resourcemanager.NewClient(sdkApi, "securityuserrules", defaultApiVersion) + if err != nil { + return nil, fmt.Errorf("instantiating SecurityUserRulesClient: %+v", err) + } + + return &SecurityUserRulesClient{ + Client: client, + }, nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserrules/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserrules/constants.go new file mode 100644 index 000000000000..ef9491794bdf --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserrules/constants.go @@ -0,0 +1,192 @@ +package securityuserrules + +import ( + "encoding/json" + "fmt" + "strings" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type AddressPrefixType string + +const ( + AddressPrefixTypeIPPrefix AddressPrefixType = "IPPrefix" + AddressPrefixTypeServiceTag AddressPrefixType = "ServiceTag" +) + +func PossibleValuesForAddressPrefixType() []string { + return []string{ + string(AddressPrefixTypeIPPrefix), + string(AddressPrefixTypeServiceTag), + } +} + +func (s *AddressPrefixType) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseAddressPrefixType(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseAddressPrefixType(input string) (*AddressPrefixType, error) { + vals := map[string]AddressPrefixType{ + "ipprefix": AddressPrefixTypeIPPrefix, + "servicetag": AddressPrefixTypeServiceTag, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := AddressPrefixType(input) + return &out, nil +} + +type ProvisioningState string + +const ( + ProvisioningStateDeleting ProvisioningState = "Deleting" + ProvisioningStateFailed ProvisioningState = "Failed" + ProvisioningStateSucceeded ProvisioningState = "Succeeded" + ProvisioningStateUpdating ProvisioningState = "Updating" +) + +func PossibleValuesForProvisioningState() []string { + return []string{ + string(ProvisioningStateDeleting), + string(ProvisioningStateFailed), + string(ProvisioningStateSucceeded), + string(ProvisioningStateUpdating), + } +} + +func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseProvisioningState(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseProvisioningState(input string) (*ProvisioningState, error) { + vals := map[string]ProvisioningState{ + "deleting": ProvisioningStateDeleting, + "failed": ProvisioningStateFailed, + "succeeded": ProvisioningStateSucceeded, + "updating": ProvisioningStateUpdating, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ProvisioningState(input) + return &out, nil +} + +type SecurityConfigurationRuleDirection string + +const ( + SecurityConfigurationRuleDirectionInbound SecurityConfigurationRuleDirection = "Inbound" + SecurityConfigurationRuleDirectionOutbound SecurityConfigurationRuleDirection = "Outbound" +) + +func PossibleValuesForSecurityConfigurationRuleDirection() []string { + return []string{ + string(SecurityConfigurationRuleDirectionInbound), + string(SecurityConfigurationRuleDirectionOutbound), + } +} + +func (s *SecurityConfigurationRuleDirection) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseSecurityConfigurationRuleDirection(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseSecurityConfigurationRuleDirection(input string) (*SecurityConfigurationRuleDirection, error) { + vals := map[string]SecurityConfigurationRuleDirection{ + "inbound": SecurityConfigurationRuleDirectionInbound, + "outbound": SecurityConfigurationRuleDirectionOutbound, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := SecurityConfigurationRuleDirection(input) + return &out, nil +} + +type SecurityConfigurationRuleProtocol string + +const ( + SecurityConfigurationRuleProtocolAh SecurityConfigurationRuleProtocol = "Ah" + SecurityConfigurationRuleProtocolAny SecurityConfigurationRuleProtocol = "Any" + SecurityConfigurationRuleProtocolEsp SecurityConfigurationRuleProtocol = "Esp" + SecurityConfigurationRuleProtocolIcmp SecurityConfigurationRuleProtocol = "Icmp" + SecurityConfigurationRuleProtocolTcp SecurityConfigurationRuleProtocol = "Tcp" + SecurityConfigurationRuleProtocolUdp SecurityConfigurationRuleProtocol = "Udp" +) + +func PossibleValuesForSecurityConfigurationRuleProtocol() []string { + return []string{ + string(SecurityConfigurationRuleProtocolAh), + string(SecurityConfigurationRuleProtocolAny), + string(SecurityConfigurationRuleProtocolEsp), + string(SecurityConfigurationRuleProtocolIcmp), + string(SecurityConfigurationRuleProtocolTcp), + string(SecurityConfigurationRuleProtocolUdp), + } +} + +func (s *SecurityConfigurationRuleProtocol) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseSecurityConfigurationRuleProtocol(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseSecurityConfigurationRuleProtocol(input string) (*SecurityConfigurationRuleProtocol, error) { + vals := map[string]SecurityConfigurationRuleProtocol{ + "ah": SecurityConfigurationRuleProtocolAh, + "any": SecurityConfigurationRuleProtocolAny, + "esp": SecurityConfigurationRuleProtocolEsp, + "icmp": SecurityConfigurationRuleProtocolIcmp, + "tcp": SecurityConfigurationRuleProtocolTcp, + "udp": SecurityConfigurationRuleProtocolUdp, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := SecurityConfigurationRuleProtocol(input) + return &out, nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserrules/id_rulecollectionrule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserrules/id_rulecollectionrule.go new file mode 100644 index 000000000000..0dad04170f32 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserrules/id_rulecollectionrule.go @@ -0,0 +1,157 @@ +package securityuserrules + +import ( + "fmt" + "strings" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/recaser" + "github.com/hashicorp/go-azure-helpers/resourcemanager/resourceids" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +func init() { + recaser.RegisterResourceId(&RuleCollectionRuleId{}) +} + +var _ resourceids.ResourceId = &RuleCollectionRuleId{} + +// RuleCollectionRuleId is a struct representing the Resource ID for a Rule Collection Rule +type RuleCollectionRuleId struct { + SubscriptionId string + ResourceGroupName string + NetworkManagerName string + SecurityUserConfigurationName string + RuleCollectionName string + RuleName string +} + +// NewRuleCollectionRuleID returns a new RuleCollectionRuleId struct +func NewRuleCollectionRuleID(subscriptionId string, resourceGroupName string, networkManagerName string, securityUserConfigurationName string, ruleCollectionName string, ruleName string) RuleCollectionRuleId { + return RuleCollectionRuleId{ + SubscriptionId: subscriptionId, + ResourceGroupName: resourceGroupName, + NetworkManagerName: networkManagerName, + SecurityUserConfigurationName: securityUserConfigurationName, + RuleCollectionName: ruleCollectionName, + RuleName: ruleName, + } +} + +// ParseRuleCollectionRuleID parses 'input' into a RuleCollectionRuleId +func ParseRuleCollectionRuleID(input string) (*RuleCollectionRuleId, error) { + parser := resourceids.NewParserFromResourceIdType(&RuleCollectionRuleId{}) + parsed, err := parser.Parse(input, false) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := RuleCollectionRuleId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +// ParseRuleCollectionRuleIDInsensitively parses 'input' case-insensitively into a RuleCollectionRuleId +// note: this method should only be used for API response data and not user input +func ParseRuleCollectionRuleIDInsensitively(input string) (*RuleCollectionRuleId, error) { + parser := resourceids.NewParserFromResourceIdType(&RuleCollectionRuleId{}) + parsed, err := parser.Parse(input, true) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := RuleCollectionRuleId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +func (id *RuleCollectionRuleId) FromParseResult(input resourceids.ParseResult) error { + var ok bool + + if id.SubscriptionId, ok = input.Parsed["subscriptionId"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "subscriptionId", input) + } + + if id.ResourceGroupName, ok = input.Parsed["resourceGroupName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "resourceGroupName", input) + } + + if id.NetworkManagerName, ok = input.Parsed["networkManagerName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "networkManagerName", input) + } + + if id.SecurityUserConfigurationName, ok = input.Parsed["securityUserConfigurationName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "securityUserConfigurationName", input) + } + + if id.RuleCollectionName, ok = input.Parsed["ruleCollectionName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "ruleCollectionName", input) + } + + if id.RuleName, ok = input.Parsed["ruleName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "ruleName", input) + } + + return nil +} + +// ValidateRuleCollectionRuleID checks that 'input' can be parsed as a Rule Collection Rule ID +func ValidateRuleCollectionRuleID(input interface{}, key string) (warnings []string, errors []error) { + v, ok := input.(string) + if !ok { + errors = append(errors, fmt.Errorf("expected %q to be a string", key)) + return + } + + if _, err := ParseRuleCollectionRuleID(v); err != nil { + errors = append(errors, err) + } + + return +} + +// ID returns the formatted Rule Collection Rule ID +func (id RuleCollectionRuleId) ID() string { + fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.Network/networkManagers/%s/securityUserConfigurations/%s/ruleCollections/%s/rules/%s" + return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.NetworkManagerName, id.SecurityUserConfigurationName, id.RuleCollectionName, id.RuleName) +} + +// Segments returns a slice of Resource ID Segments which comprise this Rule Collection Rule ID +func (id RuleCollectionRuleId) Segments() []resourceids.Segment { + return []resourceids.Segment{ + resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), + resourceids.SubscriptionIdSegment("subscriptionId", "12345678-1234-9876-4563-123456789012"), + resourceids.StaticSegment("staticResourceGroups", "resourceGroups", "resourceGroups"), + resourceids.ResourceGroupSegment("resourceGroupName", "example-resource-group"), + resourceids.StaticSegment("staticProviders", "providers", "providers"), + resourceids.ResourceProviderSegment("staticMicrosoftNetwork", "Microsoft.Network", "Microsoft.Network"), + resourceids.StaticSegment("staticNetworkManagers", "networkManagers", "networkManagers"), + resourceids.UserSpecifiedSegment("networkManagerName", "networkManagerName"), + resourceids.StaticSegment("staticSecurityUserConfigurations", "securityUserConfigurations", "securityUserConfigurations"), + resourceids.UserSpecifiedSegment("securityUserConfigurationName", "securityUserConfigurationName"), + resourceids.StaticSegment("staticRuleCollections", "ruleCollections", "ruleCollections"), + resourceids.UserSpecifiedSegment("ruleCollectionName", "ruleCollectionName"), + resourceids.StaticSegment("staticRules", "rules", "rules"), + resourceids.UserSpecifiedSegment("ruleName", "ruleName"), + } +} + +// String returns a human-readable description of this Rule Collection Rule ID +func (id RuleCollectionRuleId) String() string { + components := []string{ + fmt.Sprintf("Subscription: %q", id.SubscriptionId), + fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), + fmt.Sprintf("Network Manager Name: %q", id.NetworkManagerName), + fmt.Sprintf("Security User Configuration Name: %q", id.SecurityUserConfigurationName), + fmt.Sprintf("Rule Collection Name: %q", id.RuleCollectionName), + fmt.Sprintf("Rule Name: %q", id.RuleName), + } + return fmt.Sprintf("Rule Collection Rule (%s)", strings.Join(components, "\n")) +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserrules/id_securityuserconfigurationrulecollection.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserrules/id_securityuserconfigurationrulecollection.go new file mode 100644 index 000000000000..208548d75290 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserrules/id_securityuserconfigurationrulecollection.go @@ -0,0 +1,148 @@ +package securityuserrules + +import ( + "fmt" + "strings" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/recaser" + "github.com/hashicorp/go-azure-helpers/resourcemanager/resourceids" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +func init() { + recaser.RegisterResourceId(&SecurityUserConfigurationRuleCollectionId{}) +} + +var _ resourceids.ResourceId = &SecurityUserConfigurationRuleCollectionId{} + +// SecurityUserConfigurationRuleCollectionId is a struct representing the Resource ID for a Security User Configuration Rule Collection +type SecurityUserConfigurationRuleCollectionId struct { + SubscriptionId string + ResourceGroupName string + NetworkManagerName string + SecurityUserConfigurationName string + RuleCollectionName string +} + +// NewSecurityUserConfigurationRuleCollectionID returns a new SecurityUserConfigurationRuleCollectionId struct +func NewSecurityUserConfigurationRuleCollectionID(subscriptionId string, resourceGroupName string, networkManagerName string, securityUserConfigurationName string, ruleCollectionName string) SecurityUserConfigurationRuleCollectionId { + return SecurityUserConfigurationRuleCollectionId{ + SubscriptionId: subscriptionId, + ResourceGroupName: resourceGroupName, + NetworkManagerName: networkManagerName, + SecurityUserConfigurationName: securityUserConfigurationName, + RuleCollectionName: ruleCollectionName, + } +} + +// ParseSecurityUserConfigurationRuleCollectionID parses 'input' into a SecurityUserConfigurationRuleCollectionId +func ParseSecurityUserConfigurationRuleCollectionID(input string) (*SecurityUserConfigurationRuleCollectionId, error) { + parser := resourceids.NewParserFromResourceIdType(&SecurityUserConfigurationRuleCollectionId{}) + parsed, err := parser.Parse(input, false) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := SecurityUserConfigurationRuleCollectionId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +// ParseSecurityUserConfigurationRuleCollectionIDInsensitively parses 'input' case-insensitively into a SecurityUserConfigurationRuleCollectionId +// note: this method should only be used for API response data and not user input +func ParseSecurityUserConfigurationRuleCollectionIDInsensitively(input string) (*SecurityUserConfigurationRuleCollectionId, error) { + parser := resourceids.NewParserFromResourceIdType(&SecurityUserConfigurationRuleCollectionId{}) + parsed, err := parser.Parse(input, true) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := SecurityUserConfigurationRuleCollectionId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +func (id *SecurityUserConfigurationRuleCollectionId) FromParseResult(input resourceids.ParseResult) error { + var ok bool + + if id.SubscriptionId, ok = input.Parsed["subscriptionId"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "subscriptionId", input) + } + + if id.ResourceGroupName, ok = input.Parsed["resourceGroupName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "resourceGroupName", input) + } + + if id.NetworkManagerName, ok = input.Parsed["networkManagerName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "networkManagerName", input) + } + + if id.SecurityUserConfigurationName, ok = input.Parsed["securityUserConfigurationName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "securityUserConfigurationName", input) + } + + if id.RuleCollectionName, ok = input.Parsed["ruleCollectionName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "ruleCollectionName", input) + } + + return nil +} + +// ValidateSecurityUserConfigurationRuleCollectionID checks that 'input' can be parsed as a Security User Configuration Rule Collection ID +func ValidateSecurityUserConfigurationRuleCollectionID(input interface{}, key string) (warnings []string, errors []error) { + v, ok := input.(string) + if !ok { + errors = append(errors, fmt.Errorf("expected %q to be a string", key)) + return + } + + if _, err := ParseSecurityUserConfigurationRuleCollectionID(v); err != nil { + errors = append(errors, err) + } + + return +} + +// ID returns the formatted Security User Configuration Rule Collection ID +func (id SecurityUserConfigurationRuleCollectionId) ID() string { + fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.Network/networkManagers/%s/securityUserConfigurations/%s/ruleCollections/%s" + return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.NetworkManagerName, id.SecurityUserConfigurationName, id.RuleCollectionName) +} + +// Segments returns a slice of Resource ID Segments which comprise this Security User Configuration Rule Collection ID +func (id SecurityUserConfigurationRuleCollectionId) Segments() []resourceids.Segment { + return []resourceids.Segment{ + resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), + resourceids.SubscriptionIdSegment("subscriptionId", "12345678-1234-9876-4563-123456789012"), + resourceids.StaticSegment("staticResourceGroups", "resourceGroups", "resourceGroups"), + resourceids.ResourceGroupSegment("resourceGroupName", "example-resource-group"), + resourceids.StaticSegment("staticProviders", "providers", "providers"), + resourceids.ResourceProviderSegment("staticMicrosoftNetwork", "Microsoft.Network", "Microsoft.Network"), + resourceids.StaticSegment("staticNetworkManagers", "networkManagers", "networkManagers"), + resourceids.UserSpecifiedSegment("networkManagerName", "networkManagerName"), + resourceids.StaticSegment("staticSecurityUserConfigurations", "securityUserConfigurations", "securityUserConfigurations"), + resourceids.UserSpecifiedSegment("securityUserConfigurationName", "securityUserConfigurationName"), + resourceids.StaticSegment("staticRuleCollections", "ruleCollections", "ruleCollections"), + resourceids.UserSpecifiedSegment("ruleCollectionName", "ruleCollectionName"), + } +} + +// String returns a human-readable description of this Security User Configuration Rule Collection ID +func (id SecurityUserConfigurationRuleCollectionId) String() string { + components := []string{ + fmt.Sprintf("Subscription: %q", id.SubscriptionId), + fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), + fmt.Sprintf("Network Manager Name: %q", id.NetworkManagerName), + fmt.Sprintf("Security User Configuration Name: %q", id.SecurityUserConfigurationName), + fmt.Sprintf("Rule Collection Name: %q", id.RuleCollectionName), + } + return fmt.Sprintf("Security User Configuration Rule Collection (%s)", strings.Join(components, "\n")) +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserrules/method_createorupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserrules/method_createorupdate.go new file mode 100644 index 000000000000..24dfc0157f47 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserrules/method_createorupdate.go @@ -0,0 +1,58 @@ +package securityuserrules + +import ( + "context" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type CreateOrUpdateOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *SecurityUserRule +} + +// CreateOrUpdate ... +func (c SecurityUserRulesClient) CreateOrUpdate(ctx context.Context, id RuleCollectionRuleId, input SecurityUserRule) (result CreateOrUpdateOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusCreated, + http.StatusOK, + }, + HttpMethod: http.MethodPut, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + if err = req.Marshal(input); err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var model SecurityUserRule + result.Model = &model + if err = resp.Unmarshal(result.Model); err != nil { + return + } + + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserrules/method_delete.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserrules/method_delete.go new file mode 100644 index 000000000000..b528d5df5200 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserrules/method_delete.go @@ -0,0 +1,100 @@ +package securityuserrules + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/client/pollers" + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type DeleteOperationResponse struct { + Poller pollers.Poller + HttpResponse *http.Response + OData *odata.OData +} + +type DeleteOperationOptions struct { + Force *bool +} + +func DefaultDeleteOperationOptions() DeleteOperationOptions { + return DeleteOperationOptions{} +} + +func (o DeleteOperationOptions) ToHeaders() *client.Headers { + out := client.Headers{} + + return &out +} + +func (o DeleteOperationOptions) ToOData() *odata.Query { + out := odata.Query{} + + return &out +} + +func (o DeleteOperationOptions) ToQuery() *client.QueryParams { + out := client.QueryParams{} + if o.Force != nil { + out.Append("force", fmt.Sprintf("%v", *o.Force)) + } + return &out +} + +// Delete ... +func (c SecurityUserRulesClient) Delete(ctx context.Context, id RuleCollectionRuleId, options DeleteOperationOptions) (result DeleteOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusAccepted, + http.StatusNoContent, + http.StatusOK, + }, + HttpMethod: http.MethodDelete, + OptionsObject: options, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client) + if err != nil { + return + } + + return +} + +// DeleteThenPoll performs Delete then polls until it's completed +func (c SecurityUserRulesClient) DeleteThenPoll(ctx context.Context, id RuleCollectionRuleId, options DeleteOperationOptions) error { + result, err := c.Delete(ctx, id, options) + if err != nil { + return fmt.Errorf("performing Delete: %+v", err) + } + + if err := result.Poller.PollUntilDone(ctx); err != nil { + return fmt.Errorf("polling after Delete: %+v", err) + } + + return nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserrules/method_get.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserrules/method_get.go new file mode 100644 index 000000000000..e87f74e1e7fc --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserrules/method_get.go @@ -0,0 +1,53 @@ +package securityuserrules + +import ( + "context" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type GetOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *SecurityUserRule +} + +// Get ... +func (c SecurityUserRulesClient) Get(ctx context.Context, id RuleCollectionRuleId) (result GetOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var model SecurityUserRule + result.Model = &model + if err = resp.Unmarshal(result.Model); err != nil { + return + } + + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserrules/method_list.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserrules/method_list.go new file mode 100644 index 000000000000..0ca8047db253 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserrules/method_list.go @@ -0,0 +1,105 @@ +package securityuserrules + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ListOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *[]SecurityUserRule +} + +type ListCompleteResult struct { + LatestHttpResponse *http.Response + Items []SecurityUserRule +} + +type ListCustomPager struct { + NextLink *odata.Link `json:"nextLink"` +} + +func (p *ListCustomPager) NextPageLink() *odata.Link { + defer func() { + p.NextLink = nil + }() + + return p.NextLink +} + +// List ... +func (c SecurityUserRulesClient) List(ctx context.Context, id SecurityUserConfigurationRuleCollectionId) (result ListOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Pager: &ListCustomPager{}, + Path: fmt.Sprintf("%s/rules", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.ExecutePaged(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var values struct { + Values *[]SecurityUserRule `json:"value"` + } + if err = resp.Unmarshal(&values); err != nil { + return + } + + result.Model = values.Values + + return +} + +// ListComplete retrieves all the results into a single object +func (c SecurityUserRulesClient) ListComplete(ctx context.Context, id SecurityUserConfigurationRuleCollectionId) (ListCompleteResult, error) { + return c.ListCompleteMatchingPredicate(ctx, id, SecurityUserRuleOperationPredicate{}) +} + +// ListCompleteMatchingPredicate retrieves all the results and then applies the predicate +func (c SecurityUserRulesClient) ListCompleteMatchingPredicate(ctx context.Context, id SecurityUserConfigurationRuleCollectionId, predicate SecurityUserRuleOperationPredicate) (result ListCompleteResult, err error) { + items := make([]SecurityUserRule, 0) + + resp, err := c.List(ctx, id) + if err != nil { + result.LatestHttpResponse = resp.HttpResponse + err = fmt.Errorf("loading results: %+v", err) + return + } + if resp.Model != nil { + for _, v := range *resp.Model { + if predicate.Matches(v) { + items = append(items, v) + } + } + } + + result = ListCompleteResult{ + LatestHttpResponse: resp.HttpResponse, + Items: items, + } + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserrules/model_addressprefixitem.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserrules/model_addressprefixitem.go new file mode 100644 index 000000000000..9105a353284d --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserrules/model_addressprefixitem.go @@ -0,0 +1,9 @@ +package securityuserrules + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type AddressPrefixItem struct { + AddressPrefix *string `json:"addressPrefix,omitempty"` + AddressPrefixType *AddressPrefixType `json:"addressPrefixType,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserrules/model_securityuserrule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserrules/model_securityuserrule.go new file mode 100644 index 000000000000..d5c394c559a2 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserrules/model_securityuserrule.go @@ -0,0 +1,17 @@ +package securityuserrules + +import ( + "github.com/hashicorp/go-azure-helpers/resourcemanager/systemdata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type SecurityUserRule struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *SecurityUserRulePropertiesFormat `json:"properties,omitempty"` + SystemData *systemdata.SystemData `json:"systemData,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserrules/model_securityuserrulepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserrules/model_securityuserrulepropertiesformat.go new file mode 100644 index 000000000000..1444e3cd7a47 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserrules/model_securityuserrulepropertiesformat.go @@ -0,0 +1,16 @@ +package securityuserrules + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type SecurityUserRulePropertiesFormat struct { + Description *string `json:"description,omitempty"` + DestinationPortRanges *[]string `json:"destinationPortRanges,omitempty"` + Destinations *[]AddressPrefixItem `json:"destinations,omitempty"` + Direction SecurityConfigurationRuleDirection `json:"direction"` + Protocol SecurityConfigurationRuleProtocol `json:"protocol"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + ResourceGuid *string `json:"resourceGuid,omitempty"` + SourcePortRanges *[]string `json:"sourcePortRanges,omitempty"` + Sources *[]AddressPrefixItem `json:"sources,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserrules/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserrules/predicates.go new file mode 100644 index 000000000000..5e46e378fc23 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserrules/predicates.go @@ -0,0 +1,32 @@ +package securityuserrules + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type SecurityUserRuleOperationPredicate struct { + Etag *string + Id *string + Name *string + Type *string +} + +func (p SecurityUserRuleOperationPredicate) Matches(input SecurityUserRule) bool { + + if p.Etag != nil && (input.Etag == nil || *p.Etag != *input.Etag) { + return false + } + + if p.Id != nil && (input.Id == nil || *p.Id != *input.Id) { + return false + } + + if p.Name != nil && (input.Name == nil || *p.Name != *input.Name) { + return false + } + + if p.Type != nil && (input.Type == nil || *p.Type != *input.Type) { + return false + } + + return true +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserrules/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserrules/version.go new file mode 100644 index 000000000000..e5e50fba4fc3 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserrules/version.go @@ -0,0 +1,10 @@ +package securityuserrules + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2024-03-01" + +func userAgent() string { + return "hashicorp/go-azure-sdk/securityuserrules/2024-03-01" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/README.md new file mode 100644 index 000000000000..b55ecce42b7a --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/README.md @@ -0,0 +1,121 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies` Documentation + +The `serviceendpointpolicies` SDK allows for interaction with Azure Resource Manager `network` (API Version `2024-03-01`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" +import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies" +``` + + +### Client Initialization + +```go +client := serviceendpointpolicies.NewServiceEndpointPoliciesClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `ServiceEndpointPoliciesClient.CreateOrUpdate` + +```go +ctx := context.TODO() +id := serviceendpointpolicies.NewServiceEndpointPolicyID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serviceEndpointPolicyName") + +payload := serviceendpointpolicies.ServiceEndpointPolicy{ + // ... +} + + +if err := client.CreateOrUpdateThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `ServiceEndpointPoliciesClient.Delete` + +```go +ctx := context.TODO() +id := serviceendpointpolicies.NewServiceEndpointPolicyID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serviceEndpointPolicyName") + +if err := client.DeleteThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `ServiceEndpointPoliciesClient.Get` + +```go +ctx := context.TODO() +id := serviceendpointpolicies.NewServiceEndpointPolicyID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serviceEndpointPolicyName") + +read, err := client.Get(ctx, id, serviceendpointpolicies.DefaultGetOperationOptions()) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `ServiceEndpointPoliciesClient.List` + +```go +ctx := context.TODO() +id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012") + +// alternatively `client.List(ctx, id)` can be used to do batched pagination +items, err := client.ListComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `ServiceEndpointPoliciesClient.ListByResourceGroup` + +```go +ctx := context.TODO() +id := commonids.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group") + +// alternatively `client.ListByResourceGroup(ctx, id)` can be used to do batched pagination +items, err := client.ListByResourceGroupComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `ServiceEndpointPoliciesClient.UpdateTags` + +```go +ctx := context.TODO() +id := serviceendpointpolicies.NewServiceEndpointPolicyID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serviceEndpointPolicyName") + +payload := serviceendpointpolicies.TagsObject{ + // ... +} + + +read, err := client.UpdateTags(ctx, id, payload) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/client.go new file mode 100644 index 000000000000..4efc8d43b2ac --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/client.go @@ -0,0 +1,26 @@ +package serviceendpointpolicies + +import ( + "fmt" + + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + sdkEnv "github.com/hashicorp/go-azure-sdk/sdk/environments" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ServiceEndpointPoliciesClient struct { + Client *resourcemanager.Client +} + +func NewServiceEndpointPoliciesClientWithBaseURI(sdkApi sdkEnv.Api) (*ServiceEndpointPoliciesClient, error) { + client, err := resourcemanager.NewClient(sdkApi, "serviceendpointpolicies", defaultApiVersion) + if err != nil { + return nil, fmt.Errorf("instantiating ServiceEndpointPoliciesClient: %+v", err) + } + + return &ServiceEndpointPoliciesClient{ + Client: client, + }, nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/constants.go new file mode 100644 index 000000000000..5dd2d63050c0 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/constants.go @@ -0,0 +1,1198 @@ +package serviceendpointpolicies + +import ( + "encoding/json" + "fmt" + "strings" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type DdosSettingsProtectionMode string + +const ( + DdosSettingsProtectionModeDisabled DdosSettingsProtectionMode = "Disabled" + DdosSettingsProtectionModeEnabled DdosSettingsProtectionMode = "Enabled" + DdosSettingsProtectionModeVirtualNetworkInherited DdosSettingsProtectionMode = "VirtualNetworkInherited" +) + +func PossibleValuesForDdosSettingsProtectionMode() []string { + return []string{ + string(DdosSettingsProtectionModeDisabled), + string(DdosSettingsProtectionModeEnabled), + string(DdosSettingsProtectionModeVirtualNetworkInherited), + } +} + +func (s *DdosSettingsProtectionMode) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseDdosSettingsProtectionMode(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseDdosSettingsProtectionMode(input string) (*DdosSettingsProtectionMode, error) { + vals := map[string]DdosSettingsProtectionMode{ + "disabled": DdosSettingsProtectionModeDisabled, + "enabled": DdosSettingsProtectionModeEnabled, + "virtualnetworkinherited": DdosSettingsProtectionModeVirtualNetworkInherited, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := DdosSettingsProtectionMode(input) + return &out, nil +} + +type DeleteOptions string + +const ( + DeleteOptionsDelete DeleteOptions = "Delete" + DeleteOptionsDetach DeleteOptions = "Detach" +) + +func PossibleValuesForDeleteOptions() []string { + return []string{ + string(DeleteOptionsDelete), + string(DeleteOptionsDetach), + } +} + +func (s *DeleteOptions) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseDeleteOptions(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseDeleteOptions(input string) (*DeleteOptions, error) { + vals := map[string]DeleteOptions{ + "delete": DeleteOptionsDelete, + "detach": DeleteOptionsDetach, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := DeleteOptions(input) + return &out, nil +} + +type FlowLogFormatType string + +const ( + FlowLogFormatTypeJSON FlowLogFormatType = "JSON" +) + +func PossibleValuesForFlowLogFormatType() []string { + return []string{ + string(FlowLogFormatTypeJSON), + } +} + +func (s *FlowLogFormatType) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseFlowLogFormatType(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseFlowLogFormatType(input string) (*FlowLogFormatType, error) { + vals := map[string]FlowLogFormatType{ + "json": FlowLogFormatTypeJSON, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := FlowLogFormatType(input) + return &out, nil +} + +type GatewayLoadBalancerTunnelInterfaceType string + +const ( + GatewayLoadBalancerTunnelInterfaceTypeExternal GatewayLoadBalancerTunnelInterfaceType = "External" + GatewayLoadBalancerTunnelInterfaceTypeInternal GatewayLoadBalancerTunnelInterfaceType = "Internal" + GatewayLoadBalancerTunnelInterfaceTypeNone GatewayLoadBalancerTunnelInterfaceType = "None" +) + +func PossibleValuesForGatewayLoadBalancerTunnelInterfaceType() []string { + return []string{ + string(GatewayLoadBalancerTunnelInterfaceTypeExternal), + string(GatewayLoadBalancerTunnelInterfaceTypeInternal), + string(GatewayLoadBalancerTunnelInterfaceTypeNone), + } +} + +func (s *GatewayLoadBalancerTunnelInterfaceType) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseGatewayLoadBalancerTunnelInterfaceType(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseGatewayLoadBalancerTunnelInterfaceType(input string) (*GatewayLoadBalancerTunnelInterfaceType, error) { + vals := map[string]GatewayLoadBalancerTunnelInterfaceType{ + "external": GatewayLoadBalancerTunnelInterfaceTypeExternal, + "internal": GatewayLoadBalancerTunnelInterfaceTypeInternal, + "none": GatewayLoadBalancerTunnelInterfaceTypeNone, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := GatewayLoadBalancerTunnelInterfaceType(input) + return &out, nil +} + +type GatewayLoadBalancerTunnelProtocol string + +const ( + GatewayLoadBalancerTunnelProtocolNative GatewayLoadBalancerTunnelProtocol = "Native" + GatewayLoadBalancerTunnelProtocolNone GatewayLoadBalancerTunnelProtocol = "None" + GatewayLoadBalancerTunnelProtocolVXLAN GatewayLoadBalancerTunnelProtocol = "VXLAN" +) + +func PossibleValuesForGatewayLoadBalancerTunnelProtocol() []string { + return []string{ + string(GatewayLoadBalancerTunnelProtocolNative), + string(GatewayLoadBalancerTunnelProtocolNone), + string(GatewayLoadBalancerTunnelProtocolVXLAN), + } +} + +func (s *GatewayLoadBalancerTunnelProtocol) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseGatewayLoadBalancerTunnelProtocol(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseGatewayLoadBalancerTunnelProtocol(input string) (*GatewayLoadBalancerTunnelProtocol, error) { + vals := map[string]GatewayLoadBalancerTunnelProtocol{ + "native": GatewayLoadBalancerTunnelProtocolNative, + "none": GatewayLoadBalancerTunnelProtocolNone, + "vxlan": GatewayLoadBalancerTunnelProtocolVXLAN, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := GatewayLoadBalancerTunnelProtocol(input) + return &out, nil +} + +type IPAllocationMethod string + +const ( + IPAllocationMethodDynamic IPAllocationMethod = "Dynamic" + IPAllocationMethodStatic IPAllocationMethod = "Static" +) + +func PossibleValuesForIPAllocationMethod() []string { + return []string{ + string(IPAllocationMethodDynamic), + string(IPAllocationMethodStatic), + } +} + +func (s *IPAllocationMethod) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseIPAllocationMethod(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseIPAllocationMethod(input string) (*IPAllocationMethod, error) { + vals := map[string]IPAllocationMethod{ + "dynamic": IPAllocationMethodDynamic, + "static": IPAllocationMethodStatic, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := IPAllocationMethod(input) + return &out, nil +} + +type IPVersion string + +const ( + IPVersionIPvFour IPVersion = "IPv4" + IPVersionIPvSix IPVersion = "IPv6" +) + +func PossibleValuesForIPVersion() []string { + return []string{ + string(IPVersionIPvFour), + string(IPVersionIPvSix), + } +} + +func (s *IPVersion) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseIPVersion(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseIPVersion(input string) (*IPVersion, error) { + vals := map[string]IPVersion{ + "ipv4": IPVersionIPvFour, + "ipv6": IPVersionIPvSix, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := IPVersion(input) + return &out, nil +} + +type LoadBalancerBackendAddressAdminState string + +const ( + LoadBalancerBackendAddressAdminStateDown LoadBalancerBackendAddressAdminState = "Down" + LoadBalancerBackendAddressAdminStateNone LoadBalancerBackendAddressAdminState = "None" + LoadBalancerBackendAddressAdminStateUp LoadBalancerBackendAddressAdminState = "Up" +) + +func PossibleValuesForLoadBalancerBackendAddressAdminState() []string { + return []string{ + string(LoadBalancerBackendAddressAdminStateDown), + string(LoadBalancerBackendAddressAdminStateNone), + string(LoadBalancerBackendAddressAdminStateUp), + } +} + +func (s *LoadBalancerBackendAddressAdminState) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseLoadBalancerBackendAddressAdminState(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseLoadBalancerBackendAddressAdminState(input string) (*LoadBalancerBackendAddressAdminState, error) { + vals := map[string]LoadBalancerBackendAddressAdminState{ + "down": LoadBalancerBackendAddressAdminStateDown, + "none": LoadBalancerBackendAddressAdminStateNone, + "up": LoadBalancerBackendAddressAdminStateUp, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := LoadBalancerBackendAddressAdminState(input) + return &out, nil +} + +type NatGatewaySkuName string + +const ( + NatGatewaySkuNameStandard NatGatewaySkuName = "Standard" +) + +func PossibleValuesForNatGatewaySkuName() []string { + return []string{ + string(NatGatewaySkuNameStandard), + } +} + +func (s *NatGatewaySkuName) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseNatGatewaySkuName(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseNatGatewaySkuName(input string) (*NatGatewaySkuName, error) { + vals := map[string]NatGatewaySkuName{ + "standard": NatGatewaySkuNameStandard, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := NatGatewaySkuName(input) + return &out, nil +} + +type NetworkInterfaceAuxiliaryMode string + +const ( + NetworkInterfaceAuxiliaryModeAcceleratedConnections NetworkInterfaceAuxiliaryMode = "AcceleratedConnections" + NetworkInterfaceAuxiliaryModeFloating NetworkInterfaceAuxiliaryMode = "Floating" + NetworkInterfaceAuxiliaryModeMaxConnections NetworkInterfaceAuxiliaryMode = "MaxConnections" + NetworkInterfaceAuxiliaryModeNone NetworkInterfaceAuxiliaryMode = "None" +) + +func PossibleValuesForNetworkInterfaceAuxiliaryMode() []string { + return []string{ + string(NetworkInterfaceAuxiliaryModeAcceleratedConnections), + string(NetworkInterfaceAuxiliaryModeFloating), + string(NetworkInterfaceAuxiliaryModeMaxConnections), + string(NetworkInterfaceAuxiliaryModeNone), + } +} + +func (s *NetworkInterfaceAuxiliaryMode) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseNetworkInterfaceAuxiliaryMode(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseNetworkInterfaceAuxiliaryMode(input string) (*NetworkInterfaceAuxiliaryMode, error) { + vals := map[string]NetworkInterfaceAuxiliaryMode{ + "acceleratedconnections": NetworkInterfaceAuxiliaryModeAcceleratedConnections, + "floating": NetworkInterfaceAuxiliaryModeFloating, + "maxconnections": NetworkInterfaceAuxiliaryModeMaxConnections, + "none": NetworkInterfaceAuxiliaryModeNone, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := NetworkInterfaceAuxiliaryMode(input) + return &out, nil +} + +type NetworkInterfaceAuxiliarySku string + +const ( + NetworkInterfaceAuxiliarySkuAEight NetworkInterfaceAuxiliarySku = "A8" + NetworkInterfaceAuxiliarySkuAFour NetworkInterfaceAuxiliarySku = "A4" + NetworkInterfaceAuxiliarySkuAOne NetworkInterfaceAuxiliarySku = "A1" + NetworkInterfaceAuxiliarySkuATwo NetworkInterfaceAuxiliarySku = "A2" + NetworkInterfaceAuxiliarySkuNone NetworkInterfaceAuxiliarySku = "None" +) + +func PossibleValuesForNetworkInterfaceAuxiliarySku() []string { + return []string{ + string(NetworkInterfaceAuxiliarySkuAEight), + string(NetworkInterfaceAuxiliarySkuAFour), + string(NetworkInterfaceAuxiliarySkuAOne), + string(NetworkInterfaceAuxiliarySkuATwo), + string(NetworkInterfaceAuxiliarySkuNone), + } +} + +func (s *NetworkInterfaceAuxiliarySku) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseNetworkInterfaceAuxiliarySku(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseNetworkInterfaceAuxiliarySku(input string) (*NetworkInterfaceAuxiliarySku, error) { + vals := map[string]NetworkInterfaceAuxiliarySku{ + "a8": NetworkInterfaceAuxiliarySkuAEight, + "a4": NetworkInterfaceAuxiliarySkuAFour, + "a1": NetworkInterfaceAuxiliarySkuAOne, + "a2": NetworkInterfaceAuxiliarySkuATwo, + "none": NetworkInterfaceAuxiliarySkuNone, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := NetworkInterfaceAuxiliarySku(input) + return &out, nil +} + +type NetworkInterfaceMigrationPhase string + +const ( + NetworkInterfaceMigrationPhaseAbort NetworkInterfaceMigrationPhase = "Abort" + NetworkInterfaceMigrationPhaseCommit NetworkInterfaceMigrationPhase = "Commit" + NetworkInterfaceMigrationPhaseCommitted NetworkInterfaceMigrationPhase = "Committed" + NetworkInterfaceMigrationPhaseNone NetworkInterfaceMigrationPhase = "None" + NetworkInterfaceMigrationPhasePrepare NetworkInterfaceMigrationPhase = "Prepare" +) + +func PossibleValuesForNetworkInterfaceMigrationPhase() []string { + return []string{ + string(NetworkInterfaceMigrationPhaseAbort), + string(NetworkInterfaceMigrationPhaseCommit), + string(NetworkInterfaceMigrationPhaseCommitted), + string(NetworkInterfaceMigrationPhaseNone), + string(NetworkInterfaceMigrationPhasePrepare), + } +} + +func (s *NetworkInterfaceMigrationPhase) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseNetworkInterfaceMigrationPhase(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseNetworkInterfaceMigrationPhase(input string) (*NetworkInterfaceMigrationPhase, error) { + vals := map[string]NetworkInterfaceMigrationPhase{ + "abort": NetworkInterfaceMigrationPhaseAbort, + "commit": NetworkInterfaceMigrationPhaseCommit, + "committed": NetworkInterfaceMigrationPhaseCommitted, + "none": NetworkInterfaceMigrationPhaseNone, + "prepare": NetworkInterfaceMigrationPhasePrepare, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := NetworkInterfaceMigrationPhase(input) + return &out, nil +} + +type NetworkInterfaceNicType string + +const ( + NetworkInterfaceNicTypeElastic NetworkInterfaceNicType = "Elastic" + NetworkInterfaceNicTypeStandard NetworkInterfaceNicType = "Standard" +) + +func PossibleValuesForNetworkInterfaceNicType() []string { + return []string{ + string(NetworkInterfaceNicTypeElastic), + string(NetworkInterfaceNicTypeStandard), + } +} + +func (s *NetworkInterfaceNicType) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseNetworkInterfaceNicType(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseNetworkInterfaceNicType(input string) (*NetworkInterfaceNicType, error) { + vals := map[string]NetworkInterfaceNicType{ + "elastic": NetworkInterfaceNicTypeElastic, + "standard": NetworkInterfaceNicTypeStandard, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := NetworkInterfaceNicType(input) + return &out, nil +} + +type ProvisioningState string + +const ( + ProvisioningStateDeleting ProvisioningState = "Deleting" + ProvisioningStateFailed ProvisioningState = "Failed" + ProvisioningStateSucceeded ProvisioningState = "Succeeded" + ProvisioningStateUpdating ProvisioningState = "Updating" +) + +func PossibleValuesForProvisioningState() []string { + return []string{ + string(ProvisioningStateDeleting), + string(ProvisioningStateFailed), + string(ProvisioningStateSucceeded), + string(ProvisioningStateUpdating), + } +} + +func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseProvisioningState(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseProvisioningState(input string) (*ProvisioningState, error) { + vals := map[string]ProvisioningState{ + "deleting": ProvisioningStateDeleting, + "failed": ProvisioningStateFailed, + "succeeded": ProvisioningStateSucceeded, + "updating": ProvisioningStateUpdating, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ProvisioningState(input) + return &out, nil +} + +type PublicIPAddressDnsSettingsDomainNameLabelScope string + +const ( + PublicIPAddressDnsSettingsDomainNameLabelScopeNoReuse PublicIPAddressDnsSettingsDomainNameLabelScope = "NoReuse" + PublicIPAddressDnsSettingsDomainNameLabelScopeResourceGroupReuse PublicIPAddressDnsSettingsDomainNameLabelScope = "ResourceGroupReuse" + PublicIPAddressDnsSettingsDomainNameLabelScopeSubscriptionReuse PublicIPAddressDnsSettingsDomainNameLabelScope = "SubscriptionReuse" + PublicIPAddressDnsSettingsDomainNameLabelScopeTenantReuse PublicIPAddressDnsSettingsDomainNameLabelScope = "TenantReuse" +) + +func PossibleValuesForPublicIPAddressDnsSettingsDomainNameLabelScope() []string { + return []string{ + string(PublicIPAddressDnsSettingsDomainNameLabelScopeNoReuse), + string(PublicIPAddressDnsSettingsDomainNameLabelScopeResourceGroupReuse), + string(PublicIPAddressDnsSettingsDomainNameLabelScopeSubscriptionReuse), + string(PublicIPAddressDnsSettingsDomainNameLabelScopeTenantReuse), + } +} + +func (s *PublicIPAddressDnsSettingsDomainNameLabelScope) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parsePublicIPAddressDnsSettingsDomainNameLabelScope(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parsePublicIPAddressDnsSettingsDomainNameLabelScope(input string) (*PublicIPAddressDnsSettingsDomainNameLabelScope, error) { + vals := map[string]PublicIPAddressDnsSettingsDomainNameLabelScope{ + "noreuse": PublicIPAddressDnsSettingsDomainNameLabelScopeNoReuse, + "resourcegroupreuse": PublicIPAddressDnsSettingsDomainNameLabelScopeResourceGroupReuse, + "subscriptionreuse": PublicIPAddressDnsSettingsDomainNameLabelScopeSubscriptionReuse, + "tenantreuse": PublicIPAddressDnsSettingsDomainNameLabelScopeTenantReuse, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := PublicIPAddressDnsSettingsDomainNameLabelScope(input) + return &out, nil +} + +type PublicIPAddressMigrationPhase string + +const ( + PublicIPAddressMigrationPhaseAbort PublicIPAddressMigrationPhase = "Abort" + PublicIPAddressMigrationPhaseCommit PublicIPAddressMigrationPhase = "Commit" + PublicIPAddressMigrationPhaseCommitted PublicIPAddressMigrationPhase = "Committed" + PublicIPAddressMigrationPhaseNone PublicIPAddressMigrationPhase = "None" + PublicIPAddressMigrationPhasePrepare PublicIPAddressMigrationPhase = "Prepare" +) + +func PossibleValuesForPublicIPAddressMigrationPhase() []string { + return []string{ + string(PublicIPAddressMigrationPhaseAbort), + string(PublicIPAddressMigrationPhaseCommit), + string(PublicIPAddressMigrationPhaseCommitted), + string(PublicIPAddressMigrationPhaseNone), + string(PublicIPAddressMigrationPhasePrepare), + } +} + +func (s *PublicIPAddressMigrationPhase) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parsePublicIPAddressMigrationPhase(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parsePublicIPAddressMigrationPhase(input string) (*PublicIPAddressMigrationPhase, error) { + vals := map[string]PublicIPAddressMigrationPhase{ + "abort": PublicIPAddressMigrationPhaseAbort, + "commit": PublicIPAddressMigrationPhaseCommit, + "committed": PublicIPAddressMigrationPhaseCommitted, + "none": PublicIPAddressMigrationPhaseNone, + "prepare": PublicIPAddressMigrationPhasePrepare, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := PublicIPAddressMigrationPhase(input) + return &out, nil +} + +type PublicIPAddressSkuName string + +const ( + PublicIPAddressSkuNameBasic PublicIPAddressSkuName = "Basic" + PublicIPAddressSkuNameStandard PublicIPAddressSkuName = "Standard" +) + +func PossibleValuesForPublicIPAddressSkuName() []string { + return []string{ + string(PublicIPAddressSkuNameBasic), + string(PublicIPAddressSkuNameStandard), + } +} + +func (s *PublicIPAddressSkuName) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parsePublicIPAddressSkuName(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parsePublicIPAddressSkuName(input string) (*PublicIPAddressSkuName, error) { + vals := map[string]PublicIPAddressSkuName{ + "basic": PublicIPAddressSkuNameBasic, + "standard": PublicIPAddressSkuNameStandard, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := PublicIPAddressSkuName(input) + return &out, nil +} + +type PublicIPAddressSkuTier string + +const ( + PublicIPAddressSkuTierGlobal PublicIPAddressSkuTier = "Global" + PublicIPAddressSkuTierRegional PublicIPAddressSkuTier = "Regional" +) + +func PossibleValuesForPublicIPAddressSkuTier() []string { + return []string{ + string(PublicIPAddressSkuTierGlobal), + string(PublicIPAddressSkuTierRegional), + } +} + +func (s *PublicIPAddressSkuTier) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parsePublicIPAddressSkuTier(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parsePublicIPAddressSkuTier(input string) (*PublicIPAddressSkuTier, error) { + vals := map[string]PublicIPAddressSkuTier{ + "global": PublicIPAddressSkuTierGlobal, + "regional": PublicIPAddressSkuTierRegional, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := PublicIPAddressSkuTier(input) + return &out, nil +} + +type RouteNextHopType string + +const ( + RouteNextHopTypeInternet RouteNextHopType = "Internet" + RouteNextHopTypeNone RouteNextHopType = "None" + RouteNextHopTypeVirtualAppliance RouteNextHopType = "VirtualAppliance" + RouteNextHopTypeVirtualNetworkGateway RouteNextHopType = "VirtualNetworkGateway" + RouteNextHopTypeVnetLocal RouteNextHopType = "VnetLocal" +) + +func PossibleValuesForRouteNextHopType() []string { + return []string{ + string(RouteNextHopTypeInternet), + string(RouteNextHopTypeNone), + string(RouteNextHopTypeVirtualAppliance), + string(RouteNextHopTypeVirtualNetworkGateway), + string(RouteNextHopTypeVnetLocal), + } +} + +func (s *RouteNextHopType) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseRouteNextHopType(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseRouteNextHopType(input string) (*RouteNextHopType, error) { + vals := map[string]RouteNextHopType{ + "internet": RouteNextHopTypeInternet, + "none": RouteNextHopTypeNone, + "virtualappliance": RouteNextHopTypeVirtualAppliance, + "virtualnetworkgateway": RouteNextHopTypeVirtualNetworkGateway, + "vnetlocal": RouteNextHopTypeVnetLocal, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := RouteNextHopType(input) + return &out, nil +} + +type SecurityRuleAccess string + +const ( + SecurityRuleAccessAllow SecurityRuleAccess = "Allow" + SecurityRuleAccessDeny SecurityRuleAccess = "Deny" +) + +func PossibleValuesForSecurityRuleAccess() []string { + return []string{ + string(SecurityRuleAccessAllow), + string(SecurityRuleAccessDeny), + } +} + +func (s *SecurityRuleAccess) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseSecurityRuleAccess(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseSecurityRuleAccess(input string) (*SecurityRuleAccess, error) { + vals := map[string]SecurityRuleAccess{ + "allow": SecurityRuleAccessAllow, + "deny": SecurityRuleAccessDeny, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := SecurityRuleAccess(input) + return &out, nil +} + +type SecurityRuleDirection string + +const ( + SecurityRuleDirectionInbound SecurityRuleDirection = "Inbound" + SecurityRuleDirectionOutbound SecurityRuleDirection = "Outbound" +) + +func PossibleValuesForSecurityRuleDirection() []string { + return []string{ + string(SecurityRuleDirectionInbound), + string(SecurityRuleDirectionOutbound), + } +} + +func (s *SecurityRuleDirection) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseSecurityRuleDirection(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseSecurityRuleDirection(input string) (*SecurityRuleDirection, error) { + vals := map[string]SecurityRuleDirection{ + "inbound": SecurityRuleDirectionInbound, + "outbound": SecurityRuleDirectionOutbound, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := SecurityRuleDirection(input) + return &out, nil +} + +type SecurityRuleProtocol string + +const ( + SecurityRuleProtocolAh SecurityRuleProtocol = "Ah" + SecurityRuleProtocolAny SecurityRuleProtocol = "*" + SecurityRuleProtocolEsp SecurityRuleProtocol = "Esp" + SecurityRuleProtocolIcmp SecurityRuleProtocol = "Icmp" + SecurityRuleProtocolTcp SecurityRuleProtocol = "Tcp" + SecurityRuleProtocolUdp SecurityRuleProtocol = "Udp" +) + +func PossibleValuesForSecurityRuleProtocol() []string { + return []string{ + string(SecurityRuleProtocolAh), + string(SecurityRuleProtocolAny), + string(SecurityRuleProtocolEsp), + string(SecurityRuleProtocolIcmp), + string(SecurityRuleProtocolTcp), + string(SecurityRuleProtocolUdp), + } +} + +func (s *SecurityRuleProtocol) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseSecurityRuleProtocol(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseSecurityRuleProtocol(input string) (*SecurityRuleProtocol, error) { + vals := map[string]SecurityRuleProtocol{ + "ah": SecurityRuleProtocolAh, + "*": SecurityRuleProtocolAny, + "esp": SecurityRuleProtocolEsp, + "icmp": SecurityRuleProtocolIcmp, + "tcp": SecurityRuleProtocolTcp, + "udp": SecurityRuleProtocolUdp, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := SecurityRuleProtocol(input) + return &out, nil +} + +type SharingScope string + +const ( + SharingScopeDelegatedServices SharingScope = "DelegatedServices" + SharingScopeTenant SharingScope = "Tenant" +) + +func PossibleValuesForSharingScope() []string { + return []string{ + string(SharingScopeDelegatedServices), + string(SharingScopeTenant), + } +} + +func (s *SharingScope) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseSharingScope(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseSharingScope(input string) (*SharingScope, error) { + vals := map[string]SharingScope{ + "delegatedservices": SharingScopeDelegatedServices, + "tenant": SharingScopeTenant, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := SharingScope(input) + return &out, nil +} + +type SyncMode string + +const ( + SyncModeAutomatic SyncMode = "Automatic" + SyncModeManual SyncMode = "Manual" +) + +func PossibleValuesForSyncMode() []string { + return []string{ + string(SyncModeAutomatic), + string(SyncModeManual), + } +} + +func (s *SyncMode) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseSyncMode(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseSyncMode(input string) (*SyncMode, error) { + vals := map[string]SyncMode{ + "automatic": SyncModeAutomatic, + "manual": SyncModeManual, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := SyncMode(input) + return &out, nil +} + +type TransportProtocol string + +const ( + TransportProtocolAll TransportProtocol = "All" + TransportProtocolTcp TransportProtocol = "Tcp" + TransportProtocolUdp TransportProtocol = "Udp" +) + +func PossibleValuesForTransportProtocol() []string { + return []string{ + string(TransportProtocolAll), + string(TransportProtocolTcp), + string(TransportProtocolUdp), + } +} + +func (s *TransportProtocol) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseTransportProtocol(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseTransportProtocol(input string) (*TransportProtocol, error) { + vals := map[string]TransportProtocol{ + "all": TransportProtocolAll, + "tcp": TransportProtocolTcp, + "udp": TransportProtocolUdp, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := TransportProtocol(input) + return &out, nil +} + +type VirtualNetworkPrivateEndpointNetworkPolicies string + +const ( + VirtualNetworkPrivateEndpointNetworkPoliciesDisabled VirtualNetworkPrivateEndpointNetworkPolicies = "Disabled" + VirtualNetworkPrivateEndpointNetworkPoliciesEnabled VirtualNetworkPrivateEndpointNetworkPolicies = "Enabled" + VirtualNetworkPrivateEndpointNetworkPoliciesNetworkSecurityGroupEnabled VirtualNetworkPrivateEndpointNetworkPolicies = "NetworkSecurityGroupEnabled" + VirtualNetworkPrivateEndpointNetworkPoliciesRouteTableEnabled VirtualNetworkPrivateEndpointNetworkPolicies = "RouteTableEnabled" +) + +func PossibleValuesForVirtualNetworkPrivateEndpointNetworkPolicies() []string { + return []string{ + string(VirtualNetworkPrivateEndpointNetworkPoliciesDisabled), + string(VirtualNetworkPrivateEndpointNetworkPoliciesEnabled), + string(VirtualNetworkPrivateEndpointNetworkPoliciesNetworkSecurityGroupEnabled), + string(VirtualNetworkPrivateEndpointNetworkPoliciesRouteTableEnabled), + } +} + +func (s *VirtualNetworkPrivateEndpointNetworkPolicies) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseVirtualNetworkPrivateEndpointNetworkPolicies(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseVirtualNetworkPrivateEndpointNetworkPolicies(input string) (*VirtualNetworkPrivateEndpointNetworkPolicies, error) { + vals := map[string]VirtualNetworkPrivateEndpointNetworkPolicies{ + "disabled": VirtualNetworkPrivateEndpointNetworkPoliciesDisabled, + "enabled": VirtualNetworkPrivateEndpointNetworkPoliciesEnabled, + "networksecuritygroupenabled": VirtualNetworkPrivateEndpointNetworkPoliciesNetworkSecurityGroupEnabled, + "routetableenabled": VirtualNetworkPrivateEndpointNetworkPoliciesRouteTableEnabled, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := VirtualNetworkPrivateEndpointNetworkPolicies(input) + return &out, nil +} + +type VirtualNetworkPrivateLinkServiceNetworkPolicies string + +const ( + VirtualNetworkPrivateLinkServiceNetworkPoliciesDisabled VirtualNetworkPrivateLinkServiceNetworkPolicies = "Disabled" + VirtualNetworkPrivateLinkServiceNetworkPoliciesEnabled VirtualNetworkPrivateLinkServiceNetworkPolicies = "Enabled" +) + +func PossibleValuesForVirtualNetworkPrivateLinkServiceNetworkPolicies() []string { + return []string{ + string(VirtualNetworkPrivateLinkServiceNetworkPoliciesDisabled), + string(VirtualNetworkPrivateLinkServiceNetworkPoliciesEnabled), + } +} + +func (s *VirtualNetworkPrivateLinkServiceNetworkPolicies) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseVirtualNetworkPrivateLinkServiceNetworkPolicies(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseVirtualNetworkPrivateLinkServiceNetworkPolicies(input string) (*VirtualNetworkPrivateLinkServiceNetworkPolicies, error) { + vals := map[string]VirtualNetworkPrivateLinkServiceNetworkPolicies{ + "disabled": VirtualNetworkPrivateLinkServiceNetworkPoliciesDisabled, + "enabled": VirtualNetworkPrivateLinkServiceNetworkPoliciesEnabled, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := VirtualNetworkPrivateLinkServiceNetworkPolicies(input) + return &out, nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/id_serviceendpointpolicy.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/id_serviceendpointpolicy.go new file mode 100644 index 000000000000..651f7f56783e --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/id_serviceendpointpolicy.go @@ -0,0 +1,130 @@ +package serviceendpointpolicies + +import ( + "fmt" + "strings" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/recaser" + "github.com/hashicorp/go-azure-helpers/resourcemanager/resourceids" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +func init() { + recaser.RegisterResourceId(&ServiceEndpointPolicyId{}) +} + +var _ resourceids.ResourceId = &ServiceEndpointPolicyId{} + +// ServiceEndpointPolicyId is a struct representing the Resource ID for a Service Endpoint Policy +type ServiceEndpointPolicyId struct { + SubscriptionId string + ResourceGroupName string + ServiceEndpointPolicyName string +} + +// NewServiceEndpointPolicyID returns a new ServiceEndpointPolicyId struct +func NewServiceEndpointPolicyID(subscriptionId string, resourceGroupName string, serviceEndpointPolicyName string) ServiceEndpointPolicyId { + return ServiceEndpointPolicyId{ + SubscriptionId: subscriptionId, + ResourceGroupName: resourceGroupName, + ServiceEndpointPolicyName: serviceEndpointPolicyName, + } +} + +// ParseServiceEndpointPolicyID parses 'input' into a ServiceEndpointPolicyId +func ParseServiceEndpointPolicyID(input string) (*ServiceEndpointPolicyId, error) { + parser := resourceids.NewParserFromResourceIdType(&ServiceEndpointPolicyId{}) + parsed, err := parser.Parse(input, false) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := ServiceEndpointPolicyId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +// ParseServiceEndpointPolicyIDInsensitively parses 'input' case-insensitively into a ServiceEndpointPolicyId +// note: this method should only be used for API response data and not user input +func ParseServiceEndpointPolicyIDInsensitively(input string) (*ServiceEndpointPolicyId, error) { + parser := resourceids.NewParserFromResourceIdType(&ServiceEndpointPolicyId{}) + parsed, err := parser.Parse(input, true) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := ServiceEndpointPolicyId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +func (id *ServiceEndpointPolicyId) FromParseResult(input resourceids.ParseResult) error { + var ok bool + + if id.SubscriptionId, ok = input.Parsed["subscriptionId"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "subscriptionId", input) + } + + if id.ResourceGroupName, ok = input.Parsed["resourceGroupName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "resourceGroupName", input) + } + + if id.ServiceEndpointPolicyName, ok = input.Parsed["serviceEndpointPolicyName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "serviceEndpointPolicyName", input) + } + + return nil +} + +// ValidateServiceEndpointPolicyID checks that 'input' can be parsed as a Service Endpoint Policy ID +func ValidateServiceEndpointPolicyID(input interface{}, key string) (warnings []string, errors []error) { + v, ok := input.(string) + if !ok { + errors = append(errors, fmt.Errorf("expected %q to be a string", key)) + return + } + + if _, err := ParseServiceEndpointPolicyID(v); err != nil { + errors = append(errors, err) + } + + return +} + +// ID returns the formatted Service Endpoint Policy ID +func (id ServiceEndpointPolicyId) ID() string { + fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.Network/serviceEndpointPolicies/%s" + return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.ServiceEndpointPolicyName) +} + +// Segments returns a slice of Resource ID Segments which comprise this Service Endpoint Policy ID +func (id ServiceEndpointPolicyId) Segments() []resourceids.Segment { + return []resourceids.Segment{ + resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), + resourceids.SubscriptionIdSegment("subscriptionId", "12345678-1234-9876-4563-123456789012"), + resourceids.StaticSegment("staticResourceGroups", "resourceGroups", "resourceGroups"), + resourceids.ResourceGroupSegment("resourceGroupName", "example-resource-group"), + resourceids.StaticSegment("staticProviders", "providers", "providers"), + resourceids.ResourceProviderSegment("staticMicrosoftNetwork", "Microsoft.Network", "Microsoft.Network"), + resourceids.StaticSegment("staticServiceEndpointPolicies", "serviceEndpointPolicies", "serviceEndpointPolicies"), + resourceids.UserSpecifiedSegment("serviceEndpointPolicyName", "serviceEndpointPolicyName"), + } +} + +// String returns a human-readable description of this Service Endpoint Policy ID +func (id ServiceEndpointPolicyId) String() string { + components := []string{ + fmt.Sprintf("Subscription: %q", id.SubscriptionId), + fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), + fmt.Sprintf("Service Endpoint Policy Name: %q", id.ServiceEndpointPolicyName), + } + return fmt.Sprintf("Service Endpoint Policy (%s)", strings.Join(components, "\n")) +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/method_createorupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/method_createorupdate.go new file mode 100644 index 000000000000..1912253430d2 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/method_createorupdate.go @@ -0,0 +1,75 @@ +package serviceendpointpolicies + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/client/pollers" + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type CreateOrUpdateOperationResponse struct { + Poller pollers.Poller + HttpResponse *http.Response + OData *odata.OData + Model *ServiceEndpointPolicy +} + +// CreateOrUpdate ... +func (c ServiceEndpointPoliciesClient) CreateOrUpdate(ctx context.Context, id ServiceEndpointPolicyId, input ServiceEndpointPolicy) (result CreateOrUpdateOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusCreated, + http.StatusOK, + }, + HttpMethod: http.MethodPut, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + if err = req.Marshal(input); err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client) + if err != nil { + return + } + + return +} + +// CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed +func (c ServiceEndpointPoliciesClient) CreateOrUpdateThenPoll(ctx context.Context, id ServiceEndpointPolicyId, input ServiceEndpointPolicy) error { + result, err := c.CreateOrUpdate(ctx, id, input) + if err != nil { + return fmt.Errorf("performing CreateOrUpdate: %+v", err) + } + + if err := result.Poller.PollUntilDone(ctx); err != nil { + return fmt.Errorf("polling after CreateOrUpdate: %+v", err) + } + + return nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/method_delete.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/method_delete.go new file mode 100644 index 000000000000..fbffd77bf762 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/method_delete.go @@ -0,0 +1,71 @@ +package serviceendpointpolicies + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/client/pollers" + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type DeleteOperationResponse struct { + Poller pollers.Poller + HttpResponse *http.Response + OData *odata.OData +} + +// Delete ... +func (c ServiceEndpointPoliciesClient) Delete(ctx context.Context, id ServiceEndpointPolicyId) (result DeleteOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusAccepted, + http.StatusNoContent, + http.StatusOK, + }, + HttpMethod: http.MethodDelete, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client) + if err != nil { + return + } + + return +} + +// DeleteThenPoll performs Delete then polls until it's completed +func (c ServiceEndpointPoliciesClient) DeleteThenPoll(ctx context.Context, id ServiceEndpointPolicyId) error { + result, err := c.Delete(ctx, id) + if err != nil { + return fmt.Errorf("performing Delete: %+v", err) + } + + if err := result.Poller.PollUntilDone(ctx); err != nil { + return fmt.Errorf("polling after Delete: %+v", err) + } + + return nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/method_get.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/method_get.go new file mode 100644 index 000000000000..ce97f45af4d1 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/method_get.go @@ -0,0 +1,83 @@ +package serviceendpointpolicies + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type GetOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *ServiceEndpointPolicy +} + +type GetOperationOptions struct { + Expand *string +} + +func DefaultGetOperationOptions() GetOperationOptions { + return GetOperationOptions{} +} + +func (o GetOperationOptions) ToHeaders() *client.Headers { + out := client.Headers{} + + return &out +} + +func (o GetOperationOptions) ToOData() *odata.Query { + out := odata.Query{} + + return &out +} + +func (o GetOperationOptions) ToQuery() *client.QueryParams { + out := client.QueryParams{} + if o.Expand != nil { + out.Append("$expand", fmt.Sprintf("%v", *o.Expand)) + } + return &out +} + +// Get ... +func (c ServiceEndpointPoliciesClient) Get(ctx context.Context, id ServiceEndpointPolicyId, options GetOperationOptions) (result GetOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + OptionsObject: options, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var model ServiceEndpointPolicy + result.Model = &model + if err = resp.Unmarshal(result.Model); err != nil { + return + } + + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/method_list.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/method_list.go new file mode 100644 index 000000000000..3a4372245560 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/method_list.go @@ -0,0 +1,106 @@ +package serviceendpointpolicies + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ListOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *[]ServiceEndpointPolicy +} + +type ListCompleteResult struct { + LatestHttpResponse *http.Response + Items []ServiceEndpointPolicy +} + +type ListCustomPager struct { + NextLink *odata.Link `json:"nextLink"` +} + +func (p *ListCustomPager) NextPageLink() *odata.Link { + defer func() { + p.NextLink = nil + }() + + return p.NextLink +} + +// List ... +func (c ServiceEndpointPoliciesClient) List(ctx context.Context, id commonids.SubscriptionId) (result ListOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Pager: &ListCustomPager{}, + Path: fmt.Sprintf("%s/providers/Microsoft.Network/serviceEndpointPolicies", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.ExecutePaged(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var values struct { + Values *[]ServiceEndpointPolicy `json:"value"` + } + if err = resp.Unmarshal(&values); err != nil { + return + } + + result.Model = values.Values + + return +} + +// ListComplete retrieves all the results into a single object +func (c ServiceEndpointPoliciesClient) ListComplete(ctx context.Context, id commonids.SubscriptionId) (ListCompleteResult, error) { + return c.ListCompleteMatchingPredicate(ctx, id, ServiceEndpointPolicyOperationPredicate{}) +} + +// ListCompleteMatchingPredicate retrieves all the results and then applies the predicate +func (c ServiceEndpointPoliciesClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate ServiceEndpointPolicyOperationPredicate) (result ListCompleteResult, err error) { + items := make([]ServiceEndpointPolicy, 0) + + resp, err := c.List(ctx, id) + if err != nil { + result.LatestHttpResponse = resp.HttpResponse + err = fmt.Errorf("loading results: %+v", err) + return + } + if resp.Model != nil { + for _, v := range *resp.Model { + if predicate.Matches(v) { + items = append(items, v) + } + } + } + + result = ListCompleteResult{ + LatestHttpResponse: resp.HttpResponse, + Items: items, + } + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/method_listbyresourcegroup.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/method_listbyresourcegroup.go new file mode 100644 index 000000000000..384f7dc28fec --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/method_listbyresourcegroup.go @@ -0,0 +1,106 @@ +package serviceendpointpolicies + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ListByResourceGroupOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *[]ServiceEndpointPolicy +} + +type ListByResourceGroupCompleteResult struct { + LatestHttpResponse *http.Response + Items []ServiceEndpointPolicy +} + +type ListByResourceGroupCustomPager struct { + NextLink *odata.Link `json:"nextLink"` +} + +func (p *ListByResourceGroupCustomPager) NextPageLink() *odata.Link { + defer func() { + p.NextLink = nil + }() + + return p.NextLink +} + +// ListByResourceGroup ... +func (c ServiceEndpointPoliciesClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListByResourceGroupOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Pager: &ListByResourceGroupCustomPager{}, + Path: fmt.Sprintf("%s/providers/Microsoft.Network/serviceEndpointPolicies", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.ExecutePaged(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var values struct { + Values *[]ServiceEndpointPolicy `json:"value"` + } + if err = resp.Unmarshal(&values); err != nil { + return + } + + result.Model = values.Values + + return +} + +// ListByResourceGroupComplete retrieves all the results into a single object +func (c ServiceEndpointPoliciesClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error) { + return c.ListByResourceGroupCompleteMatchingPredicate(ctx, id, ServiceEndpointPolicyOperationPredicate{}) +} + +// ListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate +func (c ServiceEndpointPoliciesClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate ServiceEndpointPolicyOperationPredicate) (result ListByResourceGroupCompleteResult, err error) { + items := make([]ServiceEndpointPolicy, 0) + + resp, err := c.ListByResourceGroup(ctx, id) + if err != nil { + result.LatestHttpResponse = resp.HttpResponse + err = fmt.Errorf("loading results: %+v", err) + return + } + if resp.Model != nil { + for _, v := range *resp.Model { + if predicate.Matches(v) { + items = append(items, v) + } + } + } + + result = ListByResourceGroupCompleteResult{ + LatestHttpResponse: resp.HttpResponse, + Items: items, + } + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/method_updatetags.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/method_updatetags.go new file mode 100644 index 000000000000..d260b3470330 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/method_updatetags.go @@ -0,0 +1,57 @@ +package serviceendpointpolicies + +import ( + "context" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type UpdateTagsOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *ServiceEndpointPolicy +} + +// UpdateTags ... +func (c ServiceEndpointPoliciesClient) UpdateTags(ctx context.Context, id ServiceEndpointPolicyId, input TagsObject) (result UpdateTagsOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodPatch, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + if err = req.Marshal(input); err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var model ServiceEndpointPolicy + result.Model = &model + if err = resp.Unmarshal(result.Model); err != nil { + return + } + + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_applicationgatewaybackendaddress.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_applicationgatewaybackendaddress.go new file mode 100644 index 000000000000..7a1f5258bb40 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_applicationgatewaybackendaddress.go @@ -0,0 +1,9 @@ +package serviceendpointpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayBackendAddress struct { + Fqdn *string `json:"fqdn,omitempty"` + IPAddress *string `json:"ipAddress,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_applicationgatewaybackendaddresspool.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_applicationgatewaybackendaddresspool.go new file mode 100644 index 000000000000..76bca3269ac0 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_applicationgatewaybackendaddresspool.go @@ -0,0 +1,12 @@ +package serviceendpointpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayBackendAddressPool struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *ApplicationGatewayBackendAddressPoolPropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_applicationgatewaybackendaddresspoolpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_applicationgatewaybackendaddresspoolpropertiesformat.go new file mode 100644 index 000000000000..1e70d427a94f --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_applicationgatewaybackendaddresspoolpropertiesformat.go @@ -0,0 +1,10 @@ +package serviceendpointpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayBackendAddressPoolPropertiesFormat struct { + BackendAddresses *[]ApplicationGatewayBackendAddress `json:"backendAddresses,omitempty"` + BackendIPConfigurations *[]NetworkInterfaceIPConfiguration `json:"backendIPConfigurations,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_applicationgatewayipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_applicationgatewayipconfiguration.go new file mode 100644 index 000000000000..7f6bd42e1ccd --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_applicationgatewayipconfiguration.go @@ -0,0 +1,12 @@ +package serviceendpointpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayIPConfiguration struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *ApplicationGatewayIPConfigurationPropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_applicationgatewayipconfigurationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_applicationgatewayipconfigurationpropertiesformat.go new file mode 100644 index 000000000000..15556d9d6468 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_applicationgatewayipconfigurationpropertiesformat.go @@ -0,0 +1,9 @@ +package serviceendpointpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayIPConfigurationPropertiesFormat struct { + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + Subnet *SubResource `json:"subnet,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_applicationsecuritygroup.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_applicationsecuritygroup.go new file mode 100644 index 000000000000..6e7d684d6abd --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_applicationsecuritygroup.go @@ -0,0 +1,14 @@ +package serviceendpointpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationSecurityGroup struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Location *string `json:"location,omitempty"` + Name *string `json:"name,omitempty"` + Properties *ApplicationSecurityGroupPropertiesFormat `json:"properties,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_applicationsecuritygrouppropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_applicationsecuritygrouppropertiesformat.go new file mode 100644 index 000000000000..2f704e379832 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_applicationsecuritygrouppropertiesformat.go @@ -0,0 +1,9 @@ +package serviceendpointpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationSecurityGroupPropertiesFormat struct { + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + ResourceGuid *string `json:"resourceGuid,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_backendaddresspool.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_backendaddresspool.go new file mode 100644 index 000000000000..feb93ad54759 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_backendaddresspool.go @@ -0,0 +1,12 @@ +package serviceendpointpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type BackendAddressPool struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *BackendAddressPoolPropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_backendaddresspoolpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_backendaddresspoolpropertiesformat.go new file mode 100644 index 000000000000..4d71c4769d02 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_backendaddresspoolpropertiesformat.go @@ -0,0 +1,19 @@ +package serviceendpointpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type BackendAddressPoolPropertiesFormat struct { + BackendIPConfigurations *[]NetworkInterfaceIPConfiguration `json:"backendIPConfigurations,omitempty"` + DrainPeriodInSeconds *int64 `json:"drainPeriodInSeconds,omitempty"` + InboundNatRules *[]SubResource `json:"inboundNatRules,omitempty"` + LoadBalancerBackendAddresses *[]LoadBalancerBackendAddress `json:"loadBalancerBackendAddresses,omitempty"` + LoadBalancingRules *[]SubResource `json:"loadBalancingRules,omitempty"` + Location *string `json:"location,omitempty"` + OutboundRule *SubResource `json:"outboundRule,omitempty"` + OutboundRules *[]SubResource `json:"outboundRules,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + SyncMode *SyncMode `json:"syncMode,omitempty"` + TunnelInterfaces *[]GatewayLoadBalancerTunnelInterface `json:"tunnelInterfaces,omitempty"` + VirtualNetwork *SubResource `json:"virtualNetwork,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_customdnsconfigpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_customdnsconfigpropertiesformat.go new file mode 100644 index 000000000000..9f6fb9fe6e7e --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_customdnsconfigpropertiesformat.go @@ -0,0 +1,9 @@ +package serviceendpointpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type CustomDnsConfigPropertiesFormat struct { + Fqdn *string `json:"fqdn,omitempty"` + IPAddresses *[]string `json:"ipAddresses,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_ddossettings.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_ddossettings.go new file mode 100644 index 000000000000..de52c73833f4 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_ddossettings.go @@ -0,0 +1,9 @@ +package serviceendpointpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type DdosSettings struct { + DdosProtectionPlan *SubResource `json:"ddosProtectionPlan,omitempty"` + ProtectionMode *DdosSettingsProtectionMode `json:"protectionMode,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_delegation.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_delegation.go new file mode 100644 index 000000000000..1e9e6e93b123 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_delegation.go @@ -0,0 +1,12 @@ +package serviceendpointpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type Delegation struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *ServiceDelegationPropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_flowlog.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_flowlog.go new file mode 100644 index 000000000000..9ba393ae2ff3 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_flowlog.go @@ -0,0 +1,19 @@ +package serviceendpointpolicies + +import ( + "github.com/hashicorp/go-azure-helpers/resourcemanager/identity" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type FlowLog struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Identity *identity.SystemAndUserAssignedMap `json:"identity,omitempty"` + Location *string `json:"location,omitempty"` + Name *string `json:"name,omitempty"` + Properties *FlowLogPropertiesFormat `json:"properties,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_flowlogformatparameters.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_flowlogformatparameters.go new file mode 100644 index 000000000000..64ce02b9b62b --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_flowlogformatparameters.go @@ -0,0 +1,9 @@ +package serviceendpointpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type FlowLogFormatParameters struct { + Type *FlowLogFormatType `json:"type,omitempty"` + Version *int64 `json:"version,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_flowlogpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_flowlogpropertiesformat.go new file mode 100644 index 000000000000..2a057a6f1f7e --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_flowlogpropertiesformat.go @@ -0,0 +1,16 @@ +package serviceendpointpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type FlowLogPropertiesFormat struct { + Enabled *bool `json:"enabled,omitempty"` + EnabledFilteringCriteria *string `json:"enabledFilteringCriteria,omitempty"` + FlowAnalyticsConfiguration *TrafficAnalyticsProperties `json:"flowAnalyticsConfiguration,omitempty"` + Format *FlowLogFormatParameters `json:"format,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + RetentionPolicy *RetentionPolicyParameters `json:"retentionPolicy,omitempty"` + StorageId string `json:"storageId"` + TargetResourceGuid *string `json:"targetResourceGuid,omitempty"` + TargetResourceId string `json:"targetResourceId"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_frontendipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_frontendipconfiguration.go new file mode 100644 index 000000000000..3460648e1743 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_frontendipconfiguration.go @@ -0,0 +1,17 @@ +package serviceendpointpolicies + +import ( + "github.com/hashicorp/go-azure-helpers/resourcemanager/zones" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type FrontendIPConfiguration struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *FrontendIPConfigurationPropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` + Zones *zones.Schema `json:"zones,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_frontendipconfigurationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_frontendipconfigurationpropertiesformat.go new file mode 100644 index 000000000000..27c417be79df --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_frontendipconfigurationpropertiesformat.go @@ -0,0 +1,19 @@ +package serviceendpointpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type FrontendIPConfigurationPropertiesFormat struct { + GatewayLoadBalancer *SubResource `json:"gatewayLoadBalancer,omitempty"` + InboundNatPools *[]SubResource `json:"inboundNatPools,omitempty"` + InboundNatRules *[]SubResource `json:"inboundNatRules,omitempty"` + LoadBalancingRules *[]SubResource `json:"loadBalancingRules,omitempty"` + OutboundRules *[]SubResource `json:"outboundRules,omitempty"` + PrivateIPAddress *string `json:"privateIPAddress,omitempty"` + PrivateIPAddressVersion *IPVersion `json:"privateIPAddressVersion,omitempty"` + PrivateIPAllocationMethod *IPAllocationMethod `json:"privateIPAllocationMethod,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + PublicIPAddress *PublicIPAddress `json:"publicIPAddress,omitempty"` + PublicIPPrefix *SubResource `json:"publicIPPrefix,omitempty"` + Subnet *Subnet `json:"subnet,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_gatewayloadbalancertunnelinterface.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_gatewayloadbalancertunnelinterface.go new file mode 100644 index 000000000000..253d53dc1d32 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_gatewayloadbalancertunnelinterface.go @@ -0,0 +1,11 @@ +package serviceendpointpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type GatewayLoadBalancerTunnelInterface struct { + Identifier *int64 `json:"identifier,omitempty"` + Port *int64 `json:"port,omitempty"` + Protocol *GatewayLoadBalancerTunnelProtocol `json:"protocol,omitempty"` + Type *GatewayLoadBalancerTunnelInterfaceType `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_inboundnatrule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_inboundnatrule.go new file mode 100644 index 000000000000..691567f16234 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_inboundnatrule.go @@ -0,0 +1,12 @@ +package serviceendpointpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type InboundNatRule struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *InboundNatRulePropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_inboundnatrulepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_inboundnatrulepropertiesformat.go new file mode 100644 index 000000000000..bcdf56e43887 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_inboundnatrulepropertiesformat.go @@ -0,0 +1,19 @@ +package serviceendpointpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type InboundNatRulePropertiesFormat struct { + BackendAddressPool *SubResource `json:"backendAddressPool,omitempty"` + BackendIPConfiguration *NetworkInterfaceIPConfiguration `json:"backendIPConfiguration,omitempty"` + BackendPort *int64 `json:"backendPort,omitempty"` + EnableFloatingIP *bool `json:"enableFloatingIP,omitempty"` + EnableTcpReset *bool `json:"enableTcpReset,omitempty"` + FrontendIPConfiguration *SubResource `json:"frontendIPConfiguration,omitempty"` + FrontendPort *int64 `json:"frontendPort,omitempty"` + FrontendPortRangeEnd *int64 `json:"frontendPortRangeEnd,omitempty"` + FrontendPortRangeStart *int64 `json:"frontendPortRangeStart,omitempty"` + IdleTimeoutInMinutes *int64 `json:"idleTimeoutInMinutes,omitempty"` + Protocol *TransportProtocol `json:"protocol,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_ipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_ipconfiguration.go new file mode 100644 index 000000000000..43160da9e2b4 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_ipconfiguration.go @@ -0,0 +1,11 @@ +package serviceendpointpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type IPConfiguration struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *IPConfigurationPropertiesFormat `json:"properties,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_ipconfigurationprofile.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_ipconfigurationprofile.go new file mode 100644 index 000000000000..cbb4340c4742 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_ipconfigurationprofile.go @@ -0,0 +1,12 @@ +package serviceendpointpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type IPConfigurationProfile struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *IPConfigurationProfilePropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_ipconfigurationprofilepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_ipconfigurationprofilepropertiesformat.go new file mode 100644 index 000000000000..a8340bcc1f3a --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_ipconfigurationprofilepropertiesformat.go @@ -0,0 +1,9 @@ +package serviceendpointpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type IPConfigurationProfilePropertiesFormat struct { + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + Subnet *Subnet `json:"subnet,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_ipconfigurationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_ipconfigurationpropertiesformat.go new file mode 100644 index 000000000000..b76d67b91b59 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_ipconfigurationpropertiesformat.go @@ -0,0 +1,12 @@ +package serviceendpointpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type IPConfigurationPropertiesFormat struct { + PrivateIPAddress *string `json:"privateIPAddress,omitempty"` + PrivateIPAllocationMethod *IPAllocationMethod `json:"privateIPAllocationMethod,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + PublicIPAddress *PublicIPAddress `json:"publicIPAddress,omitempty"` + Subnet *Subnet `json:"subnet,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_iptag.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_iptag.go new file mode 100644 index 000000000000..879d62109231 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_iptag.go @@ -0,0 +1,9 @@ +package serviceendpointpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type IPTag struct { + IPTagType *string `json:"ipTagType,omitempty"` + Tag *string `json:"tag,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_loadbalancerbackendaddress.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_loadbalancerbackendaddress.go new file mode 100644 index 000000000000..bcd25a343d45 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_loadbalancerbackendaddress.go @@ -0,0 +1,9 @@ +package serviceendpointpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type LoadBalancerBackendAddress struct { + Name *string `json:"name,omitempty"` + Properties *LoadBalancerBackendAddressPropertiesFormat `json:"properties,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_loadbalancerbackendaddresspropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_loadbalancerbackendaddresspropertiesformat.go new file mode 100644 index 000000000000..71bfae4fc901 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_loadbalancerbackendaddresspropertiesformat.go @@ -0,0 +1,14 @@ +package serviceendpointpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type LoadBalancerBackendAddressPropertiesFormat struct { + AdminState *LoadBalancerBackendAddressAdminState `json:"adminState,omitempty"` + IPAddress *string `json:"ipAddress,omitempty"` + InboundNatRulesPortMapping *[]NatRulePortMapping `json:"inboundNatRulesPortMapping,omitempty"` + LoadBalancerFrontendIPConfiguration *SubResource `json:"loadBalancerFrontendIPConfiguration,omitempty"` + NetworkInterfaceIPConfiguration *SubResource `json:"networkInterfaceIPConfiguration,omitempty"` + Subnet *SubResource `json:"subnet,omitempty"` + VirtualNetwork *SubResource `json:"virtualNetwork,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_natgateway.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_natgateway.go new file mode 100644 index 000000000000..4fce3c97a621 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_natgateway.go @@ -0,0 +1,20 @@ +package serviceendpointpolicies + +import ( + "github.com/hashicorp/go-azure-helpers/resourcemanager/zones" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NatGateway struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Location *string `json:"location,omitempty"` + Name *string `json:"name,omitempty"` + Properties *NatGatewayPropertiesFormat `json:"properties,omitempty"` + Sku *NatGatewaySku `json:"sku,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` + Zones *zones.Schema `json:"zones,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_natgatewaypropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_natgatewaypropertiesformat.go new file mode 100644 index 000000000000..0eae8e55e8c2 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_natgatewaypropertiesformat.go @@ -0,0 +1,13 @@ +package serviceendpointpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NatGatewayPropertiesFormat struct { + IdleTimeoutInMinutes *int64 `json:"idleTimeoutInMinutes,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + PublicIPAddresses *[]SubResource `json:"publicIpAddresses,omitempty"` + PublicIPPrefixes *[]SubResource `json:"publicIpPrefixes,omitempty"` + ResourceGuid *string `json:"resourceGuid,omitempty"` + Subnets *[]SubResource `json:"subnets,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_natgatewaysku.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_natgatewaysku.go new file mode 100644 index 000000000000..d7c06ad69504 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_natgatewaysku.go @@ -0,0 +1,8 @@ +package serviceendpointpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NatGatewaySku struct { + Name *NatGatewaySkuName `json:"name,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_natruleportmapping.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_natruleportmapping.go new file mode 100644 index 000000000000..af408670c2d6 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_natruleportmapping.go @@ -0,0 +1,10 @@ +package serviceendpointpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NatRulePortMapping struct { + BackendPort *int64 `json:"backendPort,omitempty"` + FrontendPort *int64 `json:"frontendPort,omitempty"` + InboundNatRuleName *string `json:"inboundNatRuleName,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_networkinterface.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_networkinterface.go new file mode 100644 index 000000000000..4576b3d0a242 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_networkinterface.go @@ -0,0 +1,19 @@ +package serviceendpointpolicies + +import ( + "github.com/hashicorp/go-azure-helpers/resourcemanager/edgezones" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NetworkInterface struct { + Etag *string `json:"etag,omitempty"` + ExtendedLocation *edgezones.Model `json:"extendedLocation,omitempty"` + Id *string `json:"id,omitempty"` + Location *string `json:"location,omitempty"` + Name *string `json:"name,omitempty"` + Properties *NetworkInterfacePropertiesFormat `json:"properties,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_networkinterfacednssettings.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_networkinterfacednssettings.go new file mode 100644 index 000000000000..f2f63e673ceb --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_networkinterfacednssettings.go @@ -0,0 +1,12 @@ +package serviceendpointpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NetworkInterfaceDnsSettings struct { + AppliedDnsServers *[]string `json:"appliedDnsServers,omitempty"` + DnsServers *[]string `json:"dnsServers,omitempty"` + InternalDnsNameLabel *string `json:"internalDnsNameLabel,omitempty"` + InternalDomainNameSuffix *string `json:"internalDomainNameSuffix,omitempty"` + InternalFqdn *string `json:"internalFqdn,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_networkinterfaceipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_networkinterfaceipconfiguration.go new file mode 100644 index 000000000000..efba2a7575dd --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_networkinterfaceipconfiguration.go @@ -0,0 +1,12 @@ +package serviceendpointpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NetworkInterfaceIPConfiguration struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *NetworkInterfaceIPConfigurationPropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_networkinterfaceipconfigurationprivatelinkconnectionproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_networkinterfaceipconfigurationprivatelinkconnectionproperties.go new file mode 100644 index 000000000000..fee33255b2ff --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_networkinterfaceipconfigurationprivatelinkconnectionproperties.go @@ -0,0 +1,10 @@ +package serviceendpointpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties struct { + Fqdns *[]string `json:"fqdns,omitempty"` + GroupId *string `json:"groupId,omitempty"` + RequiredMemberName *string `json:"requiredMemberName,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_networkinterfaceipconfigurationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_networkinterfaceipconfigurationpropertiesformat.go new file mode 100644 index 000000000000..aae328cad750 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_networkinterfaceipconfigurationpropertiesformat.go @@ -0,0 +1,22 @@ +package serviceendpointpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NetworkInterfaceIPConfigurationPropertiesFormat struct { + ApplicationGatewayBackendAddressPools *[]ApplicationGatewayBackendAddressPool `json:"applicationGatewayBackendAddressPools,omitempty"` + ApplicationSecurityGroups *[]ApplicationSecurityGroup `json:"applicationSecurityGroups,omitempty"` + GatewayLoadBalancer *SubResource `json:"gatewayLoadBalancer,omitempty"` + LoadBalancerBackendAddressPools *[]BackendAddressPool `json:"loadBalancerBackendAddressPools,omitempty"` + LoadBalancerInboundNatRules *[]InboundNatRule `json:"loadBalancerInboundNatRules,omitempty"` + Primary *bool `json:"primary,omitempty"` + PrivateIPAddress *string `json:"privateIPAddress,omitempty"` + PrivateIPAddressPrefixLength *int64 `json:"privateIPAddressPrefixLength,omitempty"` + PrivateIPAddressVersion *IPVersion `json:"privateIPAddressVersion,omitempty"` + PrivateIPAllocationMethod *IPAllocationMethod `json:"privateIPAllocationMethod,omitempty"` + PrivateLinkConnectionProperties *NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties `json:"privateLinkConnectionProperties,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + PublicIPAddress *PublicIPAddress `json:"publicIPAddress,omitempty"` + Subnet *Subnet `json:"subnet,omitempty"` + VirtualNetworkTaps *[]VirtualNetworkTap `json:"virtualNetworkTaps,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_networkinterfacepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_networkinterfacepropertiesformat.go new file mode 100644 index 000000000000..bdbb3dec7534 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_networkinterfacepropertiesformat.go @@ -0,0 +1,29 @@ +package serviceendpointpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NetworkInterfacePropertiesFormat struct { + AuxiliaryMode *NetworkInterfaceAuxiliaryMode `json:"auxiliaryMode,omitempty"` + AuxiliarySku *NetworkInterfaceAuxiliarySku `json:"auxiliarySku,omitempty"` + DisableTcpStateTracking *bool `json:"disableTcpStateTracking,omitempty"` + DnsSettings *NetworkInterfaceDnsSettings `json:"dnsSettings,omitempty"` + DscpConfiguration *SubResource `json:"dscpConfiguration,omitempty"` + EnableAcceleratedNetworking *bool `json:"enableAcceleratedNetworking,omitempty"` + EnableIPForwarding *bool `json:"enableIPForwarding,omitempty"` + HostedWorkloads *[]string `json:"hostedWorkloads,omitempty"` + IPConfigurations *[]NetworkInterfaceIPConfiguration `json:"ipConfigurations,omitempty"` + MacAddress *string `json:"macAddress,omitempty"` + MigrationPhase *NetworkInterfaceMigrationPhase `json:"migrationPhase,omitempty"` + NetworkSecurityGroup *NetworkSecurityGroup `json:"networkSecurityGroup,omitempty"` + NicType *NetworkInterfaceNicType `json:"nicType,omitempty"` + Primary *bool `json:"primary,omitempty"` + PrivateEndpoint *PrivateEndpoint `json:"privateEndpoint,omitempty"` + PrivateLinkService *PrivateLinkService `json:"privateLinkService,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + ResourceGuid *string `json:"resourceGuid,omitempty"` + TapConfigurations *[]NetworkInterfaceTapConfiguration `json:"tapConfigurations,omitempty"` + VirtualMachine *SubResource `json:"virtualMachine,omitempty"` + VnetEncryptionSupported *bool `json:"vnetEncryptionSupported,omitempty"` + WorkloadType *string `json:"workloadType,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_networkinterfacetapconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_networkinterfacetapconfiguration.go new file mode 100644 index 000000000000..373ac2188724 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_networkinterfacetapconfiguration.go @@ -0,0 +1,12 @@ +package serviceendpointpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NetworkInterfaceTapConfiguration struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *NetworkInterfaceTapConfigurationPropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_networkinterfacetapconfigurationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_networkinterfacetapconfigurationpropertiesformat.go new file mode 100644 index 000000000000..1a2c2bc87745 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_networkinterfacetapconfigurationpropertiesformat.go @@ -0,0 +1,9 @@ +package serviceendpointpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NetworkInterfaceTapConfigurationPropertiesFormat struct { + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + VirtualNetworkTap *VirtualNetworkTap `json:"virtualNetworkTap,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_networksecuritygroup.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_networksecuritygroup.go new file mode 100644 index 000000000000..7babf5dcba32 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_networksecuritygroup.go @@ -0,0 +1,14 @@ +package serviceendpointpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NetworkSecurityGroup struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Location *string `json:"location,omitempty"` + Name *string `json:"name,omitempty"` + Properties *NetworkSecurityGroupPropertiesFormat `json:"properties,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_networksecuritygrouppropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_networksecuritygrouppropertiesformat.go new file mode 100644 index 000000000000..9e417934d4ee --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_networksecuritygrouppropertiesformat.go @@ -0,0 +1,15 @@ +package serviceendpointpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NetworkSecurityGroupPropertiesFormat struct { + DefaultSecurityRules *[]SecurityRule `json:"defaultSecurityRules,omitempty"` + FlowLogs *[]FlowLog `json:"flowLogs,omitempty"` + FlushConnection *bool `json:"flushConnection,omitempty"` + NetworkInterfaces *[]NetworkInterface `json:"networkInterfaces,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + ResourceGuid *string `json:"resourceGuid,omitempty"` + SecurityRules *[]SecurityRule `json:"securityRules,omitempty"` + Subnets *[]Subnet `json:"subnets,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_privateendpoint.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_privateendpoint.go new file mode 100644 index 000000000000..b9c2640063fc --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_privateendpoint.go @@ -0,0 +1,19 @@ +package serviceendpointpolicies + +import ( + "github.com/hashicorp/go-azure-helpers/resourcemanager/edgezones" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PrivateEndpoint struct { + Etag *string `json:"etag,omitempty"` + ExtendedLocation *edgezones.Model `json:"extendedLocation,omitempty"` + Id *string `json:"id,omitempty"` + Location *string `json:"location,omitempty"` + Name *string `json:"name,omitempty"` + Properties *PrivateEndpointProperties `json:"properties,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_privateendpointconnection.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_privateendpointconnection.go new file mode 100644 index 000000000000..0c67a94b0695 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_privateendpointconnection.go @@ -0,0 +1,12 @@ +package serviceendpointpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PrivateEndpointConnection struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *PrivateEndpointConnectionProperties `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_privateendpointconnectionproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_privateendpointconnectionproperties.go new file mode 100644 index 000000000000..9468576ebfd3 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_privateendpointconnectionproperties.go @@ -0,0 +1,12 @@ +package serviceendpointpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PrivateEndpointConnectionProperties struct { + LinkIdentifier *string `json:"linkIdentifier,omitempty"` + PrivateEndpoint *PrivateEndpoint `json:"privateEndpoint,omitempty"` + PrivateEndpointLocation *string `json:"privateEndpointLocation,omitempty"` + PrivateLinkServiceConnectionState *PrivateLinkServiceConnectionState `json:"privateLinkServiceConnectionState,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_privateendpointipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_privateendpointipconfiguration.go new file mode 100644 index 000000000000..25ab508cf68f --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_privateendpointipconfiguration.go @@ -0,0 +1,11 @@ +package serviceendpointpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PrivateEndpointIPConfiguration struct { + Etag *string `json:"etag,omitempty"` + Name *string `json:"name,omitempty"` + Properties *PrivateEndpointIPConfigurationProperties `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_privateendpointipconfigurationproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_privateendpointipconfigurationproperties.go new file mode 100644 index 000000000000..b2b9cd173919 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_privateendpointipconfigurationproperties.go @@ -0,0 +1,10 @@ +package serviceendpointpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PrivateEndpointIPConfigurationProperties struct { + GroupId *string `json:"groupId,omitempty"` + MemberName *string `json:"memberName,omitempty"` + PrivateIPAddress *string `json:"privateIPAddress,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_privateendpointproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_privateendpointproperties.go new file mode 100644 index 000000000000..b74aa311c148 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_privateendpointproperties.go @@ -0,0 +1,16 @@ +package serviceendpointpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PrivateEndpointProperties struct { + ApplicationSecurityGroups *[]ApplicationSecurityGroup `json:"applicationSecurityGroups,omitempty"` + CustomDnsConfigs *[]CustomDnsConfigPropertiesFormat `json:"customDnsConfigs,omitempty"` + CustomNetworkInterfaceName *string `json:"customNetworkInterfaceName,omitempty"` + IPConfigurations *[]PrivateEndpointIPConfiguration `json:"ipConfigurations,omitempty"` + ManualPrivateLinkServiceConnections *[]PrivateLinkServiceConnection `json:"manualPrivateLinkServiceConnections,omitempty"` + NetworkInterfaces *[]NetworkInterface `json:"networkInterfaces,omitempty"` + PrivateLinkServiceConnections *[]PrivateLinkServiceConnection `json:"privateLinkServiceConnections,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + Subnet *Subnet `json:"subnet,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_privatelinkservice.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_privatelinkservice.go new file mode 100644 index 000000000000..f69adbd0b190 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_privatelinkservice.go @@ -0,0 +1,19 @@ +package serviceendpointpolicies + +import ( + "github.com/hashicorp/go-azure-helpers/resourcemanager/edgezones" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PrivateLinkService struct { + Etag *string `json:"etag,omitempty"` + ExtendedLocation *edgezones.Model `json:"extendedLocation,omitempty"` + Id *string `json:"id,omitempty"` + Location *string `json:"location,omitempty"` + Name *string `json:"name,omitempty"` + Properties *PrivateLinkServiceProperties `json:"properties,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_privatelinkserviceconnection.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_privatelinkserviceconnection.go new file mode 100644 index 000000000000..f163cad59d9c --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_privatelinkserviceconnection.go @@ -0,0 +1,12 @@ +package serviceendpointpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PrivateLinkServiceConnection struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *PrivateLinkServiceConnectionProperties `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_privatelinkserviceconnectionproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_privatelinkserviceconnectionproperties.go new file mode 100644 index 000000000000..e9560116ef63 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_privatelinkserviceconnectionproperties.go @@ -0,0 +1,12 @@ +package serviceendpointpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PrivateLinkServiceConnectionProperties struct { + GroupIds *[]string `json:"groupIds,omitempty"` + PrivateLinkServiceConnectionState *PrivateLinkServiceConnectionState `json:"privateLinkServiceConnectionState,omitempty"` + PrivateLinkServiceId *string `json:"privateLinkServiceId,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + RequestMessage *string `json:"requestMessage,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_privatelinkserviceconnectionstate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_privatelinkserviceconnectionstate.go new file mode 100644 index 000000000000..9accc19fd8b2 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_privatelinkserviceconnectionstate.go @@ -0,0 +1,10 @@ +package serviceendpointpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PrivateLinkServiceConnectionState struct { + ActionsRequired *string `json:"actionsRequired,omitempty"` + Description *string `json:"description,omitempty"` + Status *string `json:"status,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_privatelinkserviceipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_privatelinkserviceipconfiguration.go new file mode 100644 index 000000000000..e2a71cb74164 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_privatelinkserviceipconfiguration.go @@ -0,0 +1,12 @@ +package serviceendpointpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PrivateLinkServiceIPConfiguration struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *PrivateLinkServiceIPConfigurationProperties `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_privatelinkserviceipconfigurationproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_privatelinkserviceipconfigurationproperties.go new file mode 100644 index 000000000000..6cc9d81d85e8 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_privatelinkserviceipconfigurationproperties.go @@ -0,0 +1,13 @@ +package serviceendpointpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PrivateLinkServiceIPConfigurationProperties struct { + Primary *bool `json:"primary,omitempty"` + PrivateIPAddress *string `json:"privateIPAddress,omitempty"` + PrivateIPAddressVersion *IPVersion `json:"privateIPAddressVersion,omitempty"` + PrivateIPAllocationMethod *IPAllocationMethod `json:"privateIPAllocationMethod,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + Subnet *Subnet `json:"subnet,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_privatelinkserviceproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_privatelinkserviceproperties.go new file mode 100644 index 000000000000..324d11d9e4c6 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_privatelinkserviceproperties.go @@ -0,0 +1,18 @@ +package serviceendpointpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PrivateLinkServiceProperties struct { + Alias *string `json:"alias,omitempty"` + AutoApproval *ResourceSet `json:"autoApproval,omitempty"` + DestinationIPAddress *string `json:"destinationIPAddress,omitempty"` + EnableProxyProtocol *bool `json:"enableProxyProtocol,omitempty"` + Fqdns *[]string `json:"fqdns,omitempty"` + IPConfigurations *[]PrivateLinkServiceIPConfiguration `json:"ipConfigurations,omitempty"` + LoadBalancerFrontendIPConfigurations *[]FrontendIPConfiguration `json:"loadBalancerFrontendIpConfigurations,omitempty"` + NetworkInterfaces *[]NetworkInterface `json:"networkInterfaces,omitempty"` + PrivateEndpointConnections *[]PrivateEndpointConnection `json:"privateEndpointConnections,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + Visibility *ResourceSet `json:"visibility,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_publicipaddress.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_publicipaddress.go new file mode 100644 index 000000000000..b3722e1f1912 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_publicipaddress.go @@ -0,0 +1,22 @@ +package serviceendpointpolicies + +import ( + "github.com/hashicorp/go-azure-helpers/resourcemanager/edgezones" + "github.com/hashicorp/go-azure-helpers/resourcemanager/zones" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PublicIPAddress struct { + Etag *string `json:"etag,omitempty"` + ExtendedLocation *edgezones.Model `json:"extendedLocation,omitempty"` + Id *string `json:"id,omitempty"` + Location *string `json:"location,omitempty"` + Name *string `json:"name,omitempty"` + Properties *PublicIPAddressPropertiesFormat `json:"properties,omitempty"` + Sku *PublicIPAddressSku `json:"sku,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` + Zones *zones.Schema `json:"zones,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_publicipaddressdnssettings.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_publicipaddressdnssettings.go new file mode 100644 index 000000000000..d28111e34e8d --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_publicipaddressdnssettings.go @@ -0,0 +1,11 @@ +package serviceendpointpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PublicIPAddressDnsSettings struct { + DomainNameLabel *string `json:"domainNameLabel,omitempty"` + DomainNameLabelScope *PublicIPAddressDnsSettingsDomainNameLabelScope `json:"domainNameLabelScope,omitempty"` + Fqdn *string `json:"fqdn,omitempty"` + ReverseFqdn *string `json:"reverseFqdn,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_publicipaddresspropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_publicipaddresspropertiesformat.go new file mode 100644 index 000000000000..fe9e93dc57ee --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_publicipaddresspropertiesformat.go @@ -0,0 +1,23 @@ +package serviceendpointpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PublicIPAddressPropertiesFormat struct { + DdosSettings *DdosSettings `json:"ddosSettings,omitempty"` + DeleteOption *DeleteOptions `json:"deleteOption,omitempty"` + DnsSettings *PublicIPAddressDnsSettings `json:"dnsSettings,omitempty"` + IPAddress *string `json:"ipAddress,omitempty"` + IPConfiguration *IPConfiguration `json:"ipConfiguration,omitempty"` + IPTags *[]IPTag `json:"ipTags,omitempty"` + IdleTimeoutInMinutes *int64 `json:"idleTimeoutInMinutes,omitempty"` + LinkedPublicIPAddress *PublicIPAddress `json:"linkedPublicIPAddress,omitempty"` + MigrationPhase *PublicIPAddressMigrationPhase `json:"migrationPhase,omitempty"` + NatGateway *NatGateway `json:"natGateway,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + PublicIPAddressVersion *IPVersion `json:"publicIPAddressVersion,omitempty"` + PublicIPAllocationMethod *IPAllocationMethod `json:"publicIPAllocationMethod,omitempty"` + PublicIPPrefix *SubResource `json:"publicIPPrefix,omitempty"` + ResourceGuid *string `json:"resourceGuid,omitempty"` + ServicePublicIPAddress *PublicIPAddress `json:"servicePublicIPAddress,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_publicipaddresssku.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_publicipaddresssku.go new file mode 100644 index 000000000000..5d6c2dd15359 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_publicipaddresssku.go @@ -0,0 +1,9 @@ +package serviceendpointpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PublicIPAddressSku struct { + Name *PublicIPAddressSkuName `json:"name,omitempty"` + Tier *PublicIPAddressSkuTier `json:"tier,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_resourcenavigationlink.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_resourcenavigationlink.go new file mode 100644 index 000000000000..3a125f5d30ef --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_resourcenavigationlink.go @@ -0,0 +1,12 @@ +package serviceendpointpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ResourceNavigationLink struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *ResourceNavigationLinkFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_resourcenavigationlinkformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_resourcenavigationlinkformat.go new file mode 100644 index 000000000000..004d9d501d71 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_resourcenavigationlinkformat.go @@ -0,0 +1,10 @@ +package serviceendpointpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ResourceNavigationLinkFormat struct { + Link *string `json:"link,omitempty"` + LinkedResourceType *string `json:"linkedResourceType,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_resourceset.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_resourceset.go new file mode 100644 index 000000000000..33f79b6dd7fc --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_resourceset.go @@ -0,0 +1,8 @@ +package serviceendpointpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ResourceSet struct { + Subscriptions *[]string `json:"subscriptions,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_retentionpolicyparameters.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_retentionpolicyparameters.go new file mode 100644 index 000000000000..98b48093fe5c --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_retentionpolicyparameters.go @@ -0,0 +1,9 @@ +package serviceendpointpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type RetentionPolicyParameters struct { + Days *int64 `json:"days,omitempty"` + Enabled *bool `json:"enabled,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_route.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_route.go new file mode 100644 index 000000000000..a08219146cfb --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_route.go @@ -0,0 +1,12 @@ +package serviceendpointpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type Route struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *RoutePropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_routepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_routepropertiesformat.go new file mode 100644 index 000000000000..a2d74c7e24ae --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_routepropertiesformat.go @@ -0,0 +1,12 @@ +package serviceendpointpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type RoutePropertiesFormat struct { + AddressPrefix *string `json:"addressPrefix,omitempty"` + HasBgpOverride *bool `json:"hasBgpOverride,omitempty"` + NextHopIPAddress *string `json:"nextHopIpAddress,omitempty"` + NextHopType RouteNextHopType `json:"nextHopType"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_routetable.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_routetable.go new file mode 100644 index 000000000000..fabb0fc336d7 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_routetable.go @@ -0,0 +1,14 @@ +package serviceendpointpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type RouteTable struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Location *string `json:"location,omitempty"` + Name *string `json:"name,omitempty"` + Properties *RouteTablePropertiesFormat `json:"properties,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_routetablepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_routetablepropertiesformat.go new file mode 100644 index 000000000000..fbf628f66f31 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_routetablepropertiesformat.go @@ -0,0 +1,12 @@ +package serviceendpointpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type RouteTablePropertiesFormat struct { + DisableBgpRoutePropagation *bool `json:"disableBgpRoutePropagation,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + ResourceGuid *string `json:"resourceGuid,omitempty"` + Routes *[]Route `json:"routes,omitempty"` + Subnets *[]Subnet `json:"subnets,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_securityrule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_securityrule.go new file mode 100644 index 000000000000..3f50e5ddac64 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_securityrule.go @@ -0,0 +1,12 @@ +package serviceendpointpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type SecurityRule struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *SecurityRulePropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_securityrulepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_securityrulepropertiesformat.go new file mode 100644 index 000000000000..8d5f321605a7 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_securityrulepropertiesformat.go @@ -0,0 +1,23 @@ +package serviceendpointpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type SecurityRulePropertiesFormat struct { + Access SecurityRuleAccess `json:"access"` + Description *string `json:"description,omitempty"` + DestinationAddressPrefix *string `json:"destinationAddressPrefix,omitempty"` + DestinationAddressPrefixes *[]string `json:"destinationAddressPrefixes,omitempty"` + DestinationApplicationSecurityGroups *[]ApplicationSecurityGroup `json:"destinationApplicationSecurityGroups,omitempty"` + DestinationPortRange *string `json:"destinationPortRange,omitempty"` + DestinationPortRanges *[]string `json:"destinationPortRanges,omitempty"` + Direction SecurityRuleDirection `json:"direction"` + Priority int64 `json:"priority"` + Protocol SecurityRuleProtocol `json:"protocol"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + SourceAddressPrefix *string `json:"sourceAddressPrefix,omitempty"` + SourceAddressPrefixes *[]string `json:"sourceAddressPrefixes,omitempty"` + SourceApplicationSecurityGroups *[]ApplicationSecurityGroup `json:"sourceApplicationSecurityGroups,omitempty"` + SourcePortRange *string `json:"sourcePortRange,omitempty"` + SourcePortRanges *[]string `json:"sourcePortRanges,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_serviceassociationlink.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_serviceassociationlink.go new file mode 100644 index 000000000000..a22d8f42829d --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_serviceassociationlink.go @@ -0,0 +1,12 @@ +package serviceendpointpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ServiceAssociationLink struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *ServiceAssociationLinkPropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_serviceassociationlinkpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_serviceassociationlinkpropertiesformat.go new file mode 100644 index 000000000000..5b81f28e88b3 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_serviceassociationlinkpropertiesformat.go @@ -0,0 +1,12 @@ +package serviceendpointpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ServiceAssociationLinkPropertiesFormat struct { + AllowDelete *bool `json:"allowDelete,omitempty"` + Link *string `json:"link,omitempty"` + LinkedResourceType *string `json:"linkedResourceType,omitempty"` + Locations *[]string `json:"locations,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_servicedelegationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_servicedelegationpropertiesformat.go new file mode 100644 index 000000000000..0903abfa70e0 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_servicedelegationpropertiesformat.go @@ -0,0 +1,10 @@ +package serviceendpointpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ServiceDelegationPropertiesFormat struct { + Actions *[]string `json:"actions,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + ServiceName *string `json:"serviceName,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_serviceendpointpolicy.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_serviceendpointpolicy.go new file mode 100644 index 000000000000..796d7019b020 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_serviceendpointpolicy.go @@ -0,0 +1,15 @@ +package serviceendpointpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ServiceEndpointPolicy struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Kind *string `json:"kind,omitempty"` + Location *string `json:"location,omitempty"` + Name *string `json:"name,omitempty"` + Properties *ServiceEndpointPolicyPropertiesFormat `json:"properties,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_serviceendpointpolicydefinition.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_serviceendpointpolicydefinition.go new file mode 100644 index 000000000000..75928dae7f1b --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_serviceendpointpolicydefinition.go @@ -0,0 +1,12 @@ +package serviceendpointpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ServiceEndpointPolicyDefinition struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *ServiceEndpointPolicyDefinitionPropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_serviceendpointpolicydefinitionpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_serviceendpointpolicydefinitionpropertiesformat.go new file mode 100644 index 000000000000..31efd2eb7eb5 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_serviceendpointpolicydefinitionpropertiesformat.go @@ -0,0 +1,11 @@ +package serviceendpointpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ServiceEndpointPolicyDefinitionPropertiesFormat struct { + Description *string `json:"description,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + Service *string `json:"service,omitempty"` + ServiceResources *[]string `json:"serviceResources,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_serviceendpointpolicypropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_serviceendpointpolicypropertiesformat.go new file mode 100644 index 000000000000..fdb4ecd0a7fb --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_serviceendpointpolicypropertiesformat.go @@ -0,0 +1,13 @@ +package serviceendpointpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ServiceEndpointPolicyPropertiesFormat struct { + ContextualServiceEndpointPolicies *[]string `json:"contextualServiceEndpointPolicies,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + ResourceGuid *string `json:"resourceGuid,omitempty"` + ServiceAlias *string `json:"serviceAlias,omitempty"` + ServiceEndpointPolicyDefinitions *[]ServiceEndpointPolicyDefinition `json:"serviceEndpointPolicyDefinitions,omitempty"` + Subnets *[]Subnet `json:"subnets,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_serviceendpointpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_serviceendpointpropertiesformat.go new file mode 100644 index 000000000000..40b6ccdb10e0 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_serviceendpointpropertiesformat.go @@ -0,0 +1,11 @@ +package serviceendpointpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ServiceEndpointPropertiesFormat struct { + Locations *[]string `json:"locations,omitempty"` + NetworkIdentifier *SubResource `json:"networkIdentifier,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + Service *string `json:"service,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_subnet.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_subnet.go new file mode 100644 index 000000000000..50005077792c --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_subnet.go @@ -0,0 +1,12 @@ +package serviceendpointpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type Subnet struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *SubnetPropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_subnetpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_subnetpropertiesformat.go new file mode 100644 index 000000000000..97f4cb55074d --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_subnetpropertiesformat.go @@ -0,0 +1,28 @@ +package serviceendpointpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type SubnetPropertiesFormat struct { + AddressPrefix *string `json:"addressPrefix,omitempty"` + AddressPrefixes *[]string `json:"addressPrefixes,omitempty"` + ApplicationGatewayIPConfigurations *[]ApplicationGatewayIPConfiguration `json:"applicationGatewayIPConfigurations,omitempty"` + DefaultOutboundAccess *bool `json:"defaultOutboundAccess,omitempty"` + Delegations *[]Delegation `json:"delegations,omitempty"` + IPAllocations *[]SubResource `json:"ipAllocations,omitempty"` + IPConfigurationProfiles *[]IPConfigurationProfile `json:"ipConfigurationProfiles,omitempty"` + IPConfigurations *[]IPConfiguration `json:"ipConfigurations,omitempty"` + NatGateway *SubResource `json:"natGateway,omitempty"` + NetworkSecurityGroup *NetworkSecurityGroup `json:"networkSecurityGroup,omitempty"` + PrivateEndpointNetworkPolicies *VirtualNetworkPrivateEndpointNetworkPolicies `json:"privateEndpointNetworkPolicies,omitempty"` + PrivateEndpoints *[]PrivateEndpoint `json:"privateEndpoints,omitempty"` + PrivateLinkServiceNetworkPolicies *VirtualNetworkPrivateLinkServiceNetworkPolicies `json:"privateLinkServiceNetworkPolicies,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + Purpose *string `json:"purpose,omitempty"` + ResourceNavigationLinks *[]ResourceNavigationLink `json:"resourceNavigationLinks,omitempty"` + RouteTable *RouteTable `json:"routeTable,omitempty"` + ServiceAssociationLinks *[]ServiceAssociationLink `json:"serviceAssociationLinks,omitempty"` + ServiceEndpointPolicies *[]ServiceEndpointPolicy `json:"serviceEndpointPolicies,omitempty"` + ServiceEndpoints *[]ServiceEndpointPropertiesFormat `json:"serviceEndpoints,omitempty"` + SharingScope *SharingScope `json:"sharingScope,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_subresource.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_subresource.go new file mode 100644 index 000000000000..61370085ffcd --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_subresource.go @@ -0,0 +1,8 @@ +package serviceendpointpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type SubResource struct { + Id *string `json:"id,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_tagsobject.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_tagsobject.go new file mode 100644 index 000000000000..7c5d750fc909 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_tagsobject.go @@ -0,0 +1,8 @@ +package serviceendpointpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type TagsObject struct { + Tags *map[string]string `json:"tags,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_trafficanalyticsconfigurationproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_trafficanalyticsconfigurationproperties.go new file mode 100644 index 000000000000..da94c72fe297 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_trafficanalyticsconfigurationproperties.go @@ -0,0 +1,12 @@ +package serviceendpointpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type TrafficAnalyticsConfigurationProperties struct { + Enabled *bool `json:"enabled,omitempty"` + TrafficAnalyticsInterval *int64 `json:"trafficAnalyticsInterval,omitempty"` + WorkspaceId *string `json:"workspaceId,omitempty"` + WorkspaceRegion *string `json:"workspaceRegion,omitempty"` + WorkspaceResourceId *string `json:"workspaceResourceId,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_trafficanalyticsproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_trafficanalyticsproperties.go new file mode 100644 index 000000000000..58889a804767 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_trafficanalyticsproperties.go @@ -0,0 +1,8 @@ +package serviceendpointpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type TrafficAnalyticsProperties struct { + NetworkWatcherFlowAnalyticsConfiguration *TrafficAnalyticsConfigurationProperties `json:"networkWatcherFlowAnalyticsConfiguration,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_virtualnetworktap.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_virtualnetworktap.go new file mode 100644 index 000000000000..1d191ff67f04 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_virtualnetworktap.go @@ -0,0 +1,14 @@ +package serviceendpointpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VirtualNetworkTap struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Location *string `json:"location,omitempty"` + Name *string `json:"name,omitempty"` + Properties *VirtualNetworkTapPropertiesFormat `json:"properties,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_virtualnetworktappropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_virtualnetworktappropertiesformat.go new file mode 100644 index 000000000000..2660ce6a3824 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/model_virtualnetworktappropertiesformat.go @@ -0,0 +1,13 @@ +package serviceendpointpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VirtualNetworkTapPropertiesFormat struct { + DestinationLoadBalancerFrontEndIPConfiguration *FrontendIPConfiguration `json:"destinationLoadBalancerFrontEndIPConfiguration,omitempty"` + DestinationNetworkInterfaceIPConfiguration *NetworkInterfaceIPConfiguration `json:"destinationNetworkInterfaceIPConfiguration,omitempty"` + DestinationPort *int64 `json:"destinationPort,omitempty"` + NetworkInterfaceTapConfigurations *[]NetworkInterfaceTapConfiguration `json:"networkInterfaceTapConfigurations,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + ResourceGuid *string `json:"resourceGuid,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/predicates.go new file mode 100644 index 000000000000..ddd972a1d9dc --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/predicates.go @@ -0,0 +1,42 @@ +package serviceendpointpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ServiceEndpointPolicyOperationPredicate struct { + Etag *string + Id *string + Kind *string + Location *string + Name *string + Type *string +} + +func (p ServiceEndpointPolicyOperationPredicate) Matches(input ServiceEndpointPolicy) bool { + + if p.Etag != nil && (input.Etag == nil || *p.Etag != *input.Etag) { + return false + } + + if p.Id != nil && (input.Id == nil || *p.Id != *input.Id) { + return false + } + + if p.Kind != nil && (input.Kind == nil || *p.Kind != *input.Kind) { + return false + } + + if p.Location != nil && (input.Location == nil || *p.Location != *input.Location) { + return false + } + + if p.Name != nil && (input.Name == nil || *p.Name != *input.Name) { + return false + } + + if p.Type != nil && (input.Type == nil || *p.Type != *input.Type) { + return false + } + + return true +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/version.go new file mode 100644 index 000000000000..3e8fbaeed0a5 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies/version.go @@ -0,0 +1,10 @@ +package serviceendpointpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2024-03-01" + +func userAgent() string { + return "hashicorp/go-azure-sdk/serviceendpointpolicies/2024-03-01" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicydefinitions/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicydefinitions/README.md new file mode 100644 index 000000000000..c9cc1964e5ee --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicydefinitions/README.md @@ -0,0 +1,82 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicydefinitions` Documentation + +The `serviceendpointpolicydefinitions` SDK allows for interaction with Azure Resource Manager `network` (API Version `2024-03-01`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicydefinitions" +``` + + +### Client Initialization + +```go +client := serviceendpointpolicydefinitions.NewServiceEndpointPolicyDefinitionsClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `ServiceEndpointPolicyDefinitionsClient.CreateOrUpdate` + +```go +ctx := context.TODO() +id := serviceendpointpolicydefinitions.NewServiceEndpointPolicyDefinitionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serviceEndpointPolicyName", "serviceEndpointPolicyDefinitionName") + +payload := serviceendpointpolicydefinitions.ServiceEndpointPolicyDefinition{ + // ... +} + + +if err := client.CreateOrUpdateThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `ServiceEndpointPolicyDefinitionsClient.Delete` + +```go +ctx := context.TODO() +id := serviceendpointpolicydefinitions.NewServiceEndpointPolicyDefinitionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serviceEndpointPolicyName", "serviceEndpointPolicyDefinitionName") + +if err := client.DeleteThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `ServiceEndpointPolicyDefinitionsClient.Get` + +```go +ctx := context.TODO() +id := serviceendpointpolicydefinitions.NewServiceEndpointPolicyDefinitionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serviceEndpointPolicyName", "serviceEndpointPolicyDefinitionName") + +read, err := client.Get(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `ServiceEndpointPolicyDefinitionsClient.ListByResourceGroup` + +```go +ctx := context.TODO() +id := serviceendpointpolicydefinitions.NewServiceEndpointPolicyID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serviceEndpointPolicyName") + +// alternatively `client.ListByResourceGroup(ctx, id)` can be used to do batched pagination +items, err := client.ListByResourceGroupComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/serviceendpointpolicydefinitions/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicydefinitions/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/serviceendpointpolicydefinitions/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicydefinitions/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/serviceendpointpolicydefinitions/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicydefinitions/constants.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/serviceendpointpolicydefinitions/constants.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicydefinitions/constants.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/serviceendpointpolicydefinitions/id_serviceendpointpolicy.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicydefinitions/id_serviceendpointpolicy.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/serviceendpointpolicydefinitions/id_serviceendpointpolicy.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicydefinitions/id_serviceendpointpolicy.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/serviceendpointpolicydefinitions/id_serviceendpointpolicydefinition.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicydefinitions/id_serviceendpointpolicydefinition.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/serviceendpointpolicydefinitions/id_serviceendpointpolicydefinition.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicydefinitions/id_serviceendpointpolicydefinition.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/serviceendpointpolicydefinitions/method_createorupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicydefinitions/method_createorupdate.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/serviceendpointpolicydefinitions/method_createorupdate.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicydefinitions/method_createorupdate.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/serviceendpointpolicydefinitions/method_delete.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicydefinitions/method_delete.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/serviceendpointpolicydefinitions/method_delete.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicydefinitions/method_delete.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/serviceendpointpolicydefinitions/method_get.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicydefinitions/method_get.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/serviceendpointpolicydefinitions/method_get.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicydefinitions/method_get.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/serviceendpointpolicydefinitions/method_listbyresourcegroup.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicydefinitions/method_listbyresourcegroup.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/serviceendpointpolicydefinitions/method_listbyresourcegroup.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicydefinitions/method_listbyresourcegroup.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/serviceendpointpolicydefinitions/model_serviceendpointpolicydefinition.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicydefinitions/model_serviceendpointpolicydefinition.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/serviceendpointpolicydefinitions/model_serviceendpointpolicydefinition.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicydefinitions/model_serviceendpointpolicydefinition.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/serviceendpointpolicydefinitions/model_serviceendpointpolicydefinitionpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicydefinitions/model_serviceendpointpolicydefinitionpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/serviceendpointpolicydefinitions/model_serviceendpointpolicydefinitionpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicydefinitions/model_serviceendpointpolicydefinitionpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/serviceendpointpolicydefinitions/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicydefinitions/predicates.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/serviceendpointpolicydefinitions/predicates.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicydefinitions/predicates.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicydefinitions/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicydefinitions/version.go new file mode 100644 index 000000000000..14fc28700a77 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicydefinitions/version.go @@ -0,0 +1,10 @@ +package serviceendpointpolicydefinitions + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2024-03-01" + +func userAgent() string { + return "hashicorp/go-azure-sdk/serviceendpointpolicydefinitions/2024-03-01" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/servicetags/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/servicetags/README.md new file mode 100644 index 000000000000..36b7a9411467 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/servicetags/README.md @@ -0,0 +1,53 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/servicetags` Documentation + +The `servicetags` SDK allows for interaction with Azure Resource Manager `network` (API Version `2024-03-01`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/servicetags" +``` + + +### Client Initialization + +```go +client := servicetags.NewServiceTagsClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `ServiceTagsClient.ServiceTagInformationList` + +```go +ctx := context.TODO() +id := servicetags.NewLocationID("12345678-1234-9876-4563-123456789012", "locationName") + +// alternatively `client.ServiceTagInformationList(ctx, id, servicetags.DefaultServiceTagInformationListOperationOptions())` can be used to do batched pagination +items, err := client.ServiceTagInformationListComplete(ctx, id, servicetags.DefaultServiceTagInformationListOperationOptions()) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `ServiceTagsClient.ServiceTagsList` + +```go +ctx := context.TODO() +id := servicetags.NewLocationID("12345678-1234-9876-4563-123456789012", "locationName") + +read, err := client.ServiceTagsList(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/servicetags/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/servicetags/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/servicetags/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/servicetags/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/servicetags/id_location.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/servicetags/id_location.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/servicetags/id_location.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/servicetags/id_location.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/servicetags/method_servicetaginformationlist.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/servicetags/method_servicetaginformationlist.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/servicetags/method_servicetaginformationlist.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/servicetags/method_servicetaginformationlist.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/servicetags/method_servicetagslist.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/servicetags/method_servicetagslist.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/servicetags/method_servicetagslist.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/servicetags/method_servicetagslist.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/servicetags/model_servicetaginformation.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/servicetags/model_servicetaginformation.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/servicetags/model_servicetaginformation.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/servicetags/model_servicetaginformation.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/servicetags/model_servicetaginformationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/servicetags/model_servicetaginformationpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/servicetags/model_servicetaginformationpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/servicetags/model_servicetaginformationpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/servicetags/model_servicetagslistresult.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/servicetags/model_servicetagslistresult.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/servicetags/model_servicetagslistresult.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/servicetags/model_servicetagslistresult.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/servicetags/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/servicetags/predicates.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/servicetags/predicates.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/servicetags/predicates.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/servicetags/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/servicetags/version.go new file mode 100644 index 000000000000..db645cf800ae --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/servicetags/version.go @@ -0,0 +1,10 @@ +package servicetags + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2024-03-01" + +func userAgent() string { + return "hashicorp/go-azure-sdk/servicetags/2024-03-01" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/staticmembers/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/staticmembers/README.md new file mode 100644 index 000000000000..b7b56cabe28c --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/staticmembers/README.md @@ -0,0 +1,90 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/staticmembers` Documentation + +The `staticmembers` SDK allows for interaction with Azure Resource Manager `network` (API Version `2024-03-01`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/staticmembers" +``` + + +### Client Initialization + +```go +client := staticmembers.NewStaticMembersClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `StaticMembersClient.CreateOrUpdate` + +```go +ctx := context.TODO() +id := staticmembers.NewStaticMemberID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkManagerName", "networkGroupName", "staticMemberName") + +payload := staticmembers.StaticMember{ + // ... +} + + +read, err := client.CreateOrUpdate(ctx, id, payload) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `StaticMembersClient.Delete` + +```go +ctx := context.TODO() +id := staticmembers.NewStaticMemberID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkManagerName", "networkGroupName", "staticMemberName") + +read, err := client.Delete(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `StaticMembersClient.Get` + +```go +ctx := context.TODO() +id := staticmembers.NewStaticMemberID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkManagerName", "networkGroupName", "staticMemberName") + +read, err := client.Get(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `StaticMembersClient.List` + +```go +ctx := context.TODO() +id := staticmembers.NewNetworkGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkManagerName", "networkGroupName") + +// alternatively `client.List(ctx, id, staticmembers.DefaultListOperationOptions())` can be used to do batched pagination +items, err := client.ListComplete(ctx, id, staticmembers.DefaultListOperationOptions()) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/staticmembers/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/staticmembers/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/staticmembers/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/staticmembers/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/staticmembers/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/staticmembers/constants.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/staticmembers/constants.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/staticmembers/constants.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/staticmembers/id_networkgroup.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/staticmembers/id_networkgroup.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/staticmembers/id_networkgroup.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/staticmembers/id_networkgroup.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/staticmembers/id_staticmember.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/staticmembers/id_staticmember.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/staticmembers/id_staticmember.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/staticmembers/id_staticmember.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/staticmembers/method_createorupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/staticmembers/method_createorupdate.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/staticmembers/method_createorupdate.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/staticmembers/method_createorupdate.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/staticmembers/method_delete.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/staticmembers/method_delete.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/staticmembers/method_delete.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/staticmembers/method_delete.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/staticmembers/method_get.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/staticmembers/method_get.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/staticmembers/method_get.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/staticmembers/method_get.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/staticmembers/method_list.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/staticmembers/method_list.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/staticmembers/method_list.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/staticmembers/method_list.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/staticmembers/model_staticmember.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/staticmembers/model_staticmember.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/staticmembers/model_staticmember.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/staticmembers/model_staticmember.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/staticmembers/model_staticmemberproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/staticmembers/model_staticmemberproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/staticmembers/model_staticmemberproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/staticmembers/model_staticmemberproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/staticmembers/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/staticmembers/predicates.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/staticmembers/predicates.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/staticmembers/predicates.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/staticmembers/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/staticmembers/version.go new file mode 100644 index 000000000000..2a51ba3933fd --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/staticmembers/version.go @@ -0,0 +1,10 @@ +package staticmembers + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2024-03-01" + +func userAgent() string { + return "hashicorp/go-azure-sdk/staticmembers/2024-03-01" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/README.md new file mode 100644 index 000000000000..fbf75bc161a7 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/README.md @@ -0,0 +1,83 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets` Documentation + +The `subnets` SDK allows for interaction with Azure Resource Manager `network` (API Version `2024-03-01`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" +import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets" +``` + + +### Client Initialization + +```go +client := subnets.NewSubnetsClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `SubnetsClient.CreateOrUpdate` + +```go +ctx := context.TODO() +id := commonids.NewSubnetID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualNetworkName", "subnetName") + +payload := subnets.Subnet{ + // ... +} + + +if err := client.CreateOrUpdateThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `SubnetsClient.Delete` + +```go +ctx := context.TODO() +id := commonids.NewSubnetID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualNetworkName", "subnetName") + +if err := client.DeleteThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `SubnetsClient.Get` + +```go +ctx := context.TODO() +id := commonids.NewSubnetID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualNetworkName", "subnetName") + +read, err := client.Get(ctx, id, subnets.DefaultGetOperationOptions()) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `SubnetsClient.List` + +```go +ctx := context.TODO() +id := commonids.NewVirtualNetworkID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualNetworkName") + +// alternatively `client.List(ctx, id)` can be used to do batched pagination +items, err := client.ListComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/client.go new file mode 100644 index 000000000000..d3ece632ec64 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/client.go @@ -0,0 +1,26 @@ +package subnets + +import ( + "fmt" + + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + sdkEnv "github.com/hashicorp/go-azure-sdk/sdk/environments" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type SubnetsClient struct { + Client *resourcemanager.Client +} + +func NewSubnetsClientWithBaseURI(sdkApi sdkEnv.Api) (*SubnetsClient, error) { + client, err := resourcemanager.NewClient(sdkApi, "subnets", defaultApiVersion) + if err != nil { + return nil, fmt.Errorf("instantiating SubnetsClient: %+v", err) + } + + return &SubnetsClient{ + Client: client, + }, nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/constants.go new file mode 100644 index 000000000000..8c3fe71424af --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/constants.go @@ -0,0 +1,1198 @@ +package subnets + +import ( + "encoding/json" + "fmt" + "strings" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type DdosSettingsProtectionMode string + +const ( + DdosSettingsProtectionModeDisabled DdosSettingsProtectionMode = "Disabled" + DdosSettingsProtectionModeEnabled DdosSettingsProtectionMode = "Enabled" + DdosSettingsProtectionModeVirtualNetworkInherited DdosSettingsProtectionMode = "VirtualNetworkInherited" +) + +func PossibleValuesForDdosSettingsProtectionMode() []string { + return []string{ + string(DdosSettingsProtectionModeDisabled), + string(DdosSettingsProtectionModeEnabled), + string(DdosSettingsProtectionModeVirtualNetworkInherited), + } +} + +func (s *DdosSettingsProtectionMode) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseDdosSettingsProtectionMode(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseDdosSettingsProtectionMode(input string) (*DdosSettingsProtectionMode, error) { + vals := map[string]DdosSettingsProtectionMode{ + "disabled": DdosSettingsProtectionModeDisabled, + "enabled": DdosSettingsProtectionModeEnabled, + "virtualnetworkinherited": DdosSettingsProtectionModeVirtualNetworkInherited, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := DdosSettingsProtectionMode(input) + return &out, nil +} + +type DeleteOptions string + +const ( + DeleteOptionsDelete DeleteOptions = "Delete" + DeleteOptionsDetach DeleteOptions = "Detach" +) + +func PossibleValuesForDeleteOptions() []string { + return []string{ + string(DeleteOptionsDelete), + string(DeleteOptionsDetach), + } +} + +func (s *DeleteOptions) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseDeleteOptions(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseDeleteOptions(input string) (*DeleteOptions, error) { + vals := map[string]DeleteOptions{ + "delete": DeleteOptionsDelete, + "detach": DeleteOptionsDetach, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := DeleteOptions(input) + return &out, nil +} + +type FlowLogFormatType string + +const ( + FlowLogFormatTypeJSON FlowLogFormatType = "JSON" +) + +func PossibleValuesForFlowLogFormatType() []string { + return []string{ + string(FlowLogFormatTypeJSON), + } +} + +func (s *FlowLogFormatType) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseFlowLogFormatType(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseFlowLogFormatType(input string) (*FlowLogFormatType, error) { + vals := map[string]FlowLogFormatType{ + "json": FlowLogFormatTypeJSON, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := FlowLogFormatType(input) + return &out, nil +} + +type GatewayLoadBalancerTunnelInterfaceType string + +const ( + GatewayLoadBalancerTunnelInterfaceTypeExternal GatewayLoadBalancerTunnelInterfaceType = "External" + GatewayLoadBalancerTunnelInterfaceTypeInternal GatewayLoadBalancerTunnelInterfaceType = "Internal" + GatewayLoadBalancerTunnelInterfaceTypeNone GatewayLoadBalancerTunnelInterfaceType = "None" +) + +func PossibleValuesForGatewayLoadBalancerTunnelInterfaceType() []string { + return []string{ + string(GatewayLoadBalancerTunnelInterfaceTypeExternal), + string(GatewayLoadBalancerTunnelInterfaceTypeInternal), + string(GatewayLoadBalancerTunnelInterfaceTypeNone), + } +} + +func (s *GatewayLoadBalancerTunnelInterfaceType) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseGatewayLoadBalancerTunnelInterfaceType(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseGatewayLoadBalancerTunnelInterfaceType(input string) (*GatewayLoadBalancerTunnelInterfaceType, error) { + vals := map[string]GatewayLoadBalancerTunnelInterfaceType{ + "external": GatewayLoadBalancerTunnelInterfaceTypeExternal, + "internal": GatewayLoadBalancerTunnelInterfaceTypeInternal, + "none": GatewayLoadBalancerTunnelInterfaceTypeNone, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := GatewayLoadBalancerTunnelInterfaceType(input) + return &out, nil +} + +type GatewayLoadBalancerTunnelProtocol string + +const ( + GatewayLoadBalancerTunnelProtocolNative GatewayLoadBalancerTunnelProtocol = "Native" + GatewayLoadBalancerTunnelProtocolNone GatewayLoadBalancerTunnelProtocol = "None" + GatewayLoadBalancerTunnelProtocolVXLAN GatewayLoadBalancerTunnelProtocol = "VXLAN" +) + +func PossibleValuesForGatewayLoadBalancerTunnelProtocol() []string { + return []string{ + string(GatewayLoadBalancerTunnelProtocolNative), + string(GatewayLoadBalancerTunnelProtocolNone), + string(GatewayLoadBalancerTunnelProtocolVXLAN), + } +} + +func (s *GatewayLoadBalancerTunnelProtocol) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseGatewayLoadBalancerTunnelProtocol(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseGatewayLoadBalancerTunnelProtocol(input string) (*GatewayLoadBalancerTunnelProtocol, error) { + vals := map[string]GatewayLoadBalancerTunnelProtocol{ + "native": GatewayLoadBalancerTunnelProtocolNative, + "none": GatewayLoadBalancerTunnelProtocolNone, + "vxlan": GatewayLoadBalancerTunnelProtocolVXLAN, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := GatewayLoadBalancerTunnelProtocol(input) + return &out, nil +} + +type IPAllocationMethod string + +const ( + IPAllocationMethodDynamic IPAllocationMethod = "Dynamic" + IPAllocationMethodStatic IPAllocationMethod = "Static" +) + +func PossibleValuesForIPAllocationMethod() []string { + return []string{ + string(IPAllocationMethodDynamic), + string(IPAllocationMethodStatic), + } +} + +func (s *IPAllocationMethod) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseIPAllocationMethod(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseIPAllocationMethod(input string) (*IPAllocationMethod, error) { + vals := map[string]IPAllocationMethod{ + "dynamic": IPAllocationMethodDynamic, + "static": IPAllocationMethodStatic, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := IPAllocationMethod(input) + return &out, nil +} + +type IPVersion string + +const ( + IPVersionIPvFour IPVersion = "IPv4" + IPVersionIPvSix IPVersion = "IPv6" +) + +func PossibleValuesForIPVersion() []string { + return []string{ + string(IPVersionIPvFour), + string(IPVersionIPvSix), + } +} + +func (s *IPVersion) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseIPVersion(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseIPVersion(input string) (*IPVersion, error) { + vals := map[string]IPVersion{ + "ipv4": IPVersionIPvFour, + "ipv6": IPVersionIPvSix, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := IPVersion(input) + return &out, nil +} + +type LoadBalancerBackendAddressAdminState string + +const ( + LoadBalancerBackendAddressAdminStateDown LoadBalancerBackendAddressAdminState = "Down" + LoadBalancerBackendAddressAdminStateNone LoadBalancerBackendAddressAdminState = "None" + LoadBalancerBackendAddressAdminStateUp LoadBalancerBackendAddressAdminState = "Up" +) + +func PossibleValuesForLoadBalancerBackendAddressAdminState() []string { + return []string{ + string(LoadBalancerBackendAddressAdminStateDown), + string(LoadBalancerBackendAddressAdminStateNone), + string(LoadBalancerBackendAddressAdminStateUp), + } +} + +func (s *LoadBalancerBackendAddressAdminState) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseLoadBalancerBackendAddressAdminState(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseLoadBalancerBackendAddressAdminState(input string) (*LoadBalancerBackendAddressAdminState, error) { + vals := map[string]LoadBalancerBackendAddressAdminState{ + "down": LoadBalancerBackendAddressAdminStateDown, + "none": LoadBalancerBackendAddressAdminStateNone, + "up": LoadBalancerBackendAddressAdminStateUp, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := LoadBalancerBackendAddressAdminState(input) + return &out, nil +} + +type NatGatewaySkuName string + +const ( + NatGatewaySkuNameStandard NatGatewaySkuName = "Standard" +) + +func PossibleValuesForNatGatewaySkuName() []string { + return []string{ + string(NatGatewaySkuNameStandard), + } +} + +func (s *NatGatewaySkuName) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseNatGatewaySkuName(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseNatGatewaySkuName(input string) (*NatGatewaySkuName, error) { + vals := map[string]NatGatewaySkuName{ + "standard": NatGatewaySkuNameStandard, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := NatGatewaySkuName(input) + return &out, nil +} + +type NetworkInterfaceAuxiliaryMode string + +const ( + NetworkInterfaceAuxiliaryModeAcceleratedConnections NetworkInterfaceAuxiliaryMode = "AcceleratedConnections" + NetworkInterfaceAuxiliaryModeFloating NetworkInterfaceAuxiliaryMode = "Floating" + NetworkInterfaceAuxiliaryModeMaxConnections NetworkInterfaceAuxiliaryMode = "MaxConnections" + NetworkInterfaceAuxiliaryModeNone NetworkInterfaceAuxiliaryMode = "None" +) + +func PossibleValuesForNetworkInterfaceAuxiliaryMode() []string { + return []string{ + string(NetworkInterfaceAuxiliaryModeAcceleratedConnections), + string(NetworkInterfaceAuxiliaryModeFloating), + string(NetworkInterfaceAuxiliaryModeMaxConnections), + string(NetworkInterfaceAuxiliaryModeNone), + } +} + +func (s *NetworkInterfaceAuxiliaryMode) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseNetworkInterfaceAuxiliaryMode(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseNetworkInterfaceAuxiliaryMode(input string) (*NetworkInterfaceAuxiliaryMode, error) { + vals := map[string]NetworkInterfaceAuxiliaryMode{ + "acceleratedconnections": NetworkInterfaceAuxiliaryModeAcceleratedConnections, + "floating": NetworkInterfaceAuxiliaryModeFloating, + "maxconnections": NetworkInterfaceAuxiliaryModeMaxConnections, + "none": NetworkInterfaceAuxiliaryModeNone, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := NetworkInterfaceAuxiliaryMode(input) + return &out, nil +} + +type NetworkInterfaceAuxiliarySku string + +const ( + NetworkInterfaceAuxiliarySkuAEight NetworkInterfaceAuxiliarySku = "A8" + NetworkInterfaceAuxiliarySkuAFour NetworkInterfaceAuxiliarySku = "A4" + NetworkInterfaceAuxiliarySkuAOne NetworkInterfaceAuxiliarySku = "A1" + NetworkInterfaceAuxiliarySkuATwo NetworkInterfaceAuxiliarySku = "A2" + NetworkInterfaceAuxiliarySkuNone NetworkInterfaceAuxiliarySku = "None" +) + +func PossibleValuesForNetworkInterfaceAuxiliarySku() []string { + return []string{ + string(NetworkInterfaceAuxiliarySkuAEight), + string(NetworkInterfaceAuxiliarySkuAFour), + string(NetworkInterfaceAuxiliarySkuAOne), + string(NetworkInterfaceAuxiliarySkuATwo), + string(NetworkInterfaceAuxiliarySkuNone), + } +} + +func (s *NetworkInterfaceAuxiliarySku) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseNetworkInterfaceAuxiliarySku(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseNetworkInterfaceAuxiliarySku(input string) (*NetworkInterfaceAuxiliarySku, error) { + vals := map[string]NetworkInterfaceAuxiliarySku{ + "a8": NetworkInterfaceAuxiliarySkuAEight, + "a4": NetworkInterfaceAuxiliarySkuAFour, + "a1": NetworkInterfaceAuxiliarySkuAOne, + "a2": NetworkInterfaceAuxiliarySkuATwo, + "none": NetworkInterfaceAuxiliarySkuNone, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := NetworkInterfaceAuxiliarySku(input) + return &out, nil +} + +type NetworkInterfaceMigrationPhase string + +const ( + NetworkInterfaceMigrationPhaseAbort NetworkInterfaceMigrationPhase = "Abort" + NetworkInterfaceMigrationPhaseCommit NetworkInterfaceMigrationPhase = "Commit" + NetworkInterfaceMigrationPhaseCommitted NetworkInterfaceMigrationPhase = "Committed" + NetworkInterfaceMigrationPhaseNone NetworkInterfaceMigrationPhase = "None" + NetworkInterfaceMigrationPhasePrepare NetworkInterfaceMigrationPhase = "Prepare" +) + +func PossibleValuesForNetworkInterfaceMigrationPhase() []string { + return []string{ + string(NetworkInterfaceMigrationPhaseAbort), + string(NetworkInterfaceMigrationPhaseCommit), + string(NetworkInterfaceMigrationPhaseCommitted), + string(NetworkInterfaceMigrationPhaseNone), + string(NetworkInterfaceMigrationPhasePrepare), + } +} + +func (s *NetworkInterfaceMigrationPhase) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseNetworkInterfaceMigrationPhase(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseNetworkInterfaceMigrationPhase(input string) (*NetworkInterfaceMigrationPhase, error) { + vals := map[string]NetworkInterfaceMigrationPhase{ + "abort": NetworkInterfaceMigrationPhaseAbort, + "commit": NetworkInterfaceMigrationPhaseCommit, + "committed": NetworkInterfaceMigrationPhaseCommitted, + "none": NetworkInterfaceMigrationPhaseNone, + "prepare": NetworkInterfaceMigrationPhasePrepare, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := NetworkInterfaceMigrationPhase(input) + return &out, nil +} + +type NetworkInterfaceNicType string + +const ( + NetworkInterfaceNicTypeElastic NetworkInterfaceNicType = "Elastic" + NetworkInterfaceNicTypeStandard NetworkInterfaceNicType = "Standard" +) + +func PossibleValuesForNetworkInterfaceNicType() []string { + return []string{ + string(NetworkInterfaceNicTypeElastic), + string(NetworkInterfaceNicTypeStandard), + } +} + +func (s *NetworkInterfaceNicType) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseNetworkInterfaceNicType(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseNetworkInterfaceNicType(input string) (*NetworkInterfaceNicType, error) { + vals := map[string]NetworkInterfaceNicType{ + "elastic": NetworkInterfaceNicTypeElastic, + "standard": NetworkInterfaceNicTypeStandard, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := NetworkInterfaceNicType(input) + return &out, nil +} + +type ProvisioningState string + +const ( + ProvisioningStateDeleting ProvisioningState = "Deleting" + ProvisioningStateFailed ProvisioningState = "Failed" + ProvisioningStateSucceeded ProvisioningState = "Succeeded" + ProvisioningStateUpdating ProvisioningState = "Updating" +) + +func PossibleValuesForProvisioningState() []string { + return []string{ + string(ProvisioningStateDeleting), + string(ProvisioningStateFailed), + string(ProvisioningStateSucceeded), + string(ProvisioningStateUpdating), + } +} + +func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseProvisioningState(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseProvisioningState(input string) (*ProvisioningState, error) { + vals := map[string]ProvisioningState{ + "deleting": ProvisioningStateDeleting, + "failed": ProvisioningStateFailed, + "succeeded": ProvisioningStateSucceeded, + "updating": ProvisioningStateUpdating, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ProvisioningState(input) + return &out, nil +} + +type PublicIPAddressDnsSettingsDomainNameLabelScope string + +const ( + PublicIPAddressDnsSettingsDomainNameLabelScopeNoReuse PublicIPAddressDnsSettingsDomainNameLabelScope = "NoReuse" + PublicIPAddressDnsSettingsDomainNameLabelScopeResourceGroupReuse PublicIPAddressDnsSettingsDomainNameLabelScope = "ResourceGroupReuse" + PublicIPAddressDnsSettingsDomainNameLabelScopeSubscriptionReuse PublicIPAddressDnsSettingsDomainNameLabelScope = "SubscriptionReuse" + PublicIPAddressDnsSettingsDomainNameLabelScopeTenantReuse PublicIPAddressDnsSettingsDomainNameLabelScope = "TenantReuse" +) + +func PossibleValuesForPublicIPAddressDnsSettingsDomainNameLabelScope() []string { + return []string{ + string(PublicIPAddressDnsSettingsDomainNameLabelScopeNoReuse), + string(PublicIPAddressDnsSettingsDomainNameLabelScopeResourceGroupReuse), + string(PublicIPAddressDnsSettingsDomainNameLabelScopeSubscriptionReuse), + string(PublicIPAddressDnsSettingsDomainNameLabelScopeTenantReuse), + } +} + +func (s *PublicIPAddressDnsSettingsDomainNameLabelScope) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parsePublicIPAddressDnsSettingsDomainNameLabelScope(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parsePublicIPAddressDnsSettingsDomainNameLabelScope(input string) (*PublicIPAddressDnsSettingsDomainNameLabelScope, error) { + vals := map[string]PublicIPAddressDnsSettingsDomainNameLabelScope{ + "noreuse": PublicIPAddressDnsSettingsDomainNameLabelScopeNoReuse, + "resourcegroupreuse": PublicIPAddressDnsSettingsDomainNameLabelScopeResourceGroupReuse, + "subscriptionreuse": PublicIPAddressDnsSettingsDomainNameLabelScopeSubscriptionReuse, + "tenantreuse": PublicIPAddressDnsSettingsDomainNameLabelScopeTenantReuse, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := PublicIPAddressDnsSettingsDomainNameLabelScope(input) + return &out, nil +} + +type PublicIPAddressMigrationPhase string + +const ( + PublicIPAddressMigrationPhaseAbort PublicIPAddressMigrationPhase = "Abort" + PublicIPAddressMigrationPhaseCommit PublicIPAddressMigrationPhase = "Commit" + PublicIPAddressMigrationPhaseCommitted PublicIPAddressMigrationPhase = "Committed" + PublicIPAddressMigrationPhaseNone PublicIPAddressMigrationPhase = "None" + PublicIPAddressMigrationPhasePrepare PublicIPAddressMigrationPhase = "Prepare" +) + +func PossibleValuesForPublicIPAddressMigrationPhase() []string { + return []string{ + string(PublicIPAddressMigrationPhaseAbort), + string(PublicIPAddressMigrationPhaseCommit), + string(PublicIPAddressMigrationPhaseCommitted), + string(PublicIPAddressMigrationPhaseNone), + string(PublicIPAddressMigrationPhasePrepare), + } +} + +func (s *PublicIPAddressMigrationPhase) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parsePublicIPAddressMigrationPhase(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parsePublicIPAddressMigrationPhase(input string) (*PublicIPAddressMigrationPhase, error) { + vals := map[string]PublicIPAddressMigrationPhase{ + "abort": PublicIPAddressMigrationPhaseAbort, + "commit": PublicIPAddressMigrationPhaseCommit, + "committed": PublicIPAddressMigrationPhaseCommitted, + "none": PublicIPAddressMigrationPhaseNone, + "prepare": PublicIPAddressMigrationPhasePrepare, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := PublicIPAddressMigrationPhase(input) + return &out, nil +} + +type PublicIPAddressSkuName string + +const ( + PublicIPAddressSkuNameBasic PublicIPAddressSkuName = "Basic" + PublicIPAddressSkuNameStandard PublicIPAddressSkuName = "Standard" +) + +func PossibleValuesForPublicIPAddressSkuName() []string { + return []string{ + string(PublicIPAddressSkuNameBasic), + string(PublicIPAddressSkuNameStandard), + } +} + +func (s *PublicIPAddressSkuName) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parsePublicIPAddressSkuName(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parsePublicIPAddressSkuName(input string) (*PublicIPAddressSkuName, error) { + vals := map[string]PublicIPAddressSkuName{ + "basic": PublicIPAddressSkuNameBasic, + "standard": PublicIPAddressSkuNameStandard, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := PublicIPAddressSkuName(input) + return &out, nil +} + +type PublicIPAddressSkuTier string + +const ( + PublicIPAddressSkuTierGlobal PublicIPAddressSkuTier = "Global" + PublicIPAddressSkuTierRegional PublicIPAddressSkuTier = "Regional" +) + +func PossibleValuesForPublicIPAddressSkuTier() []string { + return []string{ + string(PublicIPAddressSkuTierGlobal), + string(PublicIPAddressSkuTierRegional), + } +} + +func (s *PublicIPAddressSkuTier) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parsePublicIPAddressSkuTier(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parsePublicIPAddressSkuTier(input string) (*PublicIPAddressSkuTier, error) { + vals := map[string]PublicIPAddressSkuTier{ + "global": PublicIPAddressSkuTierGlobal, + "regional": PublicIPAddressSkuTierRegional, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := PublicIPAddressSkuTier(input) + return &out, nil +} + +type RouteNextHopType string + +const ( + RouteNextHopTypeInternet RouteNextHopType = "Internet" + RouteNextHopTypeNone RouteNextHopType = "None" + RouteNextHopTypeVirtualAppliance RouteNextHopType = "VirtualAppliance" + RouteNextHopTypeVirtualNetworkGateway RouteNextHopType = "VirtualNetworkGateway" + RouteNextHopTypeVnetLocal RouteNextHopType = "VnetLocal" +) + +func PossibleValuesForRouteNextHopType() []string { + return []string{ + string(RouteNextHopTypeInternet), + string(RouteNextHopTypeNone), + string(RouteNextHopTypeVirtualAppliance), + string(RouteNextHopTypeVirtualNetworkGateway), + string(RouteNextHopTypeVnetLocal), + } +} + +func (s *RouteNextHopType) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseRouteNextHopType(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseRouteNextHopType(input string) (*RouteNextHopType, error) { + vals := map[string]RouteNextHopType{ + "internet": RouteNextHopTypeInternet, + "none": RouteNextHopTypeNone, + "virtualappliance": RouteNextHopTypeVirtualAppliance, + "virtualnetworkgateway": RouteNextHopTypeVirtualNetworkGateway, + "vnetlocal": RouteNextHopTypeVnetLocal, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := RouteNextHopType(input) + return &out, nil +} + +type SecurityRuleAccess string + +const ( + SecurityRuleAccessAllow SecurityRuleAccess = "Allow" + SecurityRuleAccessDeny SecurityRuleAccess = "Deny" +) + +func PossibleValuesForSecurityRuleAccess() []string { + return []string{ + string(SecurityRuleAccessAllow), + string(SecurityRuleAccessDeny), + } +} + +func (s *SecurityRuleAccess) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseSecurityRuleAccess(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseSecurityRuleAccess(input string) (*SecurityRuleAccess, error) { + vals := map[string]SecurityRuleAccess{ + "allow": SecurityRuleAccessAllow, + "deny": SecurityRuleAccessDeny, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := SecurityRuleAccess(input) + return &out, nil +} + +type SecurityRuleDirection string + +const ( + SecurityRuleDirectionInbound SecurityRuleDirection = "Inbound" + SecurityRuleDirectionOutbound SecurityRuleDirection = "Outbound" +) + +func PossibleValuesForSecurityRuleDirection() []string { + return []string{ + string(SecurityRuleDirectionInbound), + string(SecurityRuleDirectionOutbound), + } +} + +func (s *SecurityRuleDirection) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseSecurityRuleDirection(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseSecurityRuleDirection(input string) (*SecurityRuleDirection, error) { + vals := map[string]SecurityRuleDirection{ + "inbound": SecurityRuleDirectionInbound, + "outbound": SecurityRuleDirectionOutbound, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := SecurityRuleDirection(input) + return &out, nil +} + +type SecurityRuleProtocol string + +const ( + SecurityRuleProtocolAh SecurityRuleProtocol = "Ah" + SecurityRuleProtocolAny SecurityRuleProtocol = "*" + SecurityRuleProtocolEsp SecurityRuleProtocol = "Esp" + SecurityRuleProtocolIcmp SecurityRuleProtocol = "Icmp" + SecurityRuleProtocolTcp SecurityRuleProtocol = "Tcp" + SecurityRuleProtocolUdp SecurityRuleProtocol = "Udp" +) + +func PossibleValuesForSecurityRuleProtocol() []string { + return []string{ + string(SecurityRuleProtocolAh), + string(SecurityRuleProtocolAny), + string(SecurityRuleProtocolEsp), + string(SecurityRuleProtocolIcmp), + string(SecurityRuleProtocolTcp), + string(SecurityRuleProtocolUdp), + } +} + +func (s *SecurityRuleProtocol) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseSecurityRuleProtocol(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseSecurityRuleProtocol(input string) (*SecurityRuleProtocol, error) { + vals := map[string]SecurityRuleProtocol{ + "ah": SecurityRuleProtocolAh, + "*": SecurityRuleProtocolAny, + "esp": SecurityRuleProtocolEsp, + "icmp": SecurityRuleProtocolIcmp, + "tcp": SecurityRuleProtocolTcp, + "udp": SecurityRuleProtocolUdp, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := SecurityRuleProtocol(input) + return &out, nil +} + +type SharingScope string + +const ( + SharingScopeDelegatedServices SharingScope = "DelegatedServices" + SharingScopeTenant SharingScope = "Tenant" +) + +func PossibleValuesForSharingScope() []string { + return []string{ + string(SharingScopeDelegatedServices), + string(SharingScopeTenant), + } +} + +func (s *SharingScope) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseSharingScope(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseSharingScope(input string) (*SharingScope, error) { + vals := map[string]SharingScope{ + "delegatedservices": SharingScopeDelegatedServices, + "tenant": SharingScopeTenant, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := SharingScope(input) + return &out, nil +} + +type SyncMode string + +const ( + SyncModeAutomatic SyncMode = "Automatic" + SyncModeManual SyncMode = "Manual" +) + +func PossibleValuesForSyncMode() []string { + return []string{ + string(SyncModeAutomatic), + string(SyncModeManual), + } +} + +func (s *SyncMode) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseSyncMode(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseSyncMode(input string) (*SyncMode, error) { + vals := map[string]SyncMode{ + "automatic": SyncModeAutomatic, + "manual": SyncModeManual, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := SyncMode(input) + return &out, nil +} + +type TransportProtocol string + +const ( + TransportProtocolAll TransportProtocol = "All" + TransportProtocolTcp TransportProtocol = "Tcp" + TransportProtocolUdp TransportProtocol = "Udp" +) + +func PossibleValuesForTransportProtocol() []string { + return []string{ + string(TransportProtocolAll), + string(TransportProtocolTcp), + string(TransportProtocolUdp), + } +} + +func (s *TransportProtocol) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseTransportProtocol(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseTransportProtocol(input string) (*TransportProtocol, error) { + vals := map[string]TransportProtocol{ + "all": TransportProtocolAll, + "tcp": TransportProtocolTcp, + "udp": TransportProtocolUdp, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := TransportProtocol(input) + return &out, nil +} + +type VirtualNetworkPrivateEndpointNetworkPolicies string + +const ( + VirtualNetworkPrivateEndpointNetworkPoliciesDisabled VirtualNetworkPrivateEndpointNetworkPolicies = "Disabled" + VirtualNetworkPrivateEndpointNetworkPoliciesEnabled VirtualNetworkPrivateEndpointNetworkPolicies = "Enabled" + VirtualNetworkPrivateEndpointNetworkPoliciesNetworkSecurityGroupEnabled VirtualNetworkPrivateEndpointNetworkPolicies = "NetworkSecurityGroupEnabled" + VirtualNetworkPrivateEndpointNetworkPoliciesRouteTableEnabled VirtualNetworkPrivateEndpointNetworkPolicies = "RouteTableEnabled" +) + +func PossibleValuesForVirtualNetworkPrivateEndpointNetworkPolicies() []string { + return []string{ + string(VirtualNetworkPrivateEndpointNetworkPoliciesDisabled), + string(VirtualNetworkPrivateEndpointNetworkPoliciesEnabled), + string(VirtualNetworkPrivateEndpointNetworkPoliciesNetworkSecurityGroupEnabled), + string(VirtualNetworkPrivateEndpointNetworkPoliciesRouteTableEnabled), + } +} + +func (s *VirtualNetworkPrivateEndpointNetworkPolicies) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseVirtualNetworkPrivateEndpointNetworkPolicies(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseVirtualNetworkPrivateEndpointNetworkPolicies(input string) (*VirtualNetworkPrivateEndpointNetworkPolicies, error) { + vals := map[string]VirtualNetworkPrivateEndpointNetworkPolicies{ + "disabled": VirtualNetworkPrivateEndpointNetworkPoliciesDisabled, + "enabled": VirtualNetworkPrivateEndpointNetworkPoliciesEnabled, + "networksecuritygroupenabled": VirtualNetworkPrivateEndpointNetworkPoliciesNetworkSecurityGroupEnabled, + "routetableenabled": VirtualNetworkPrivateEndpointNetworkPoliciesRouteTableEnabled, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := VirtualNetworkPrivateEndpointNetworkPolicies(input) + return &out, nil +} + +type VirtualNetworkPrivateLinkServiceNetworkPolicies string + +const ( + VirtualNetworkPrivateLinkServiceNetworkPoliciesDisabled VirtualNetworkPrivateLinkServiceNetworkPolicies = "Disabled" + VirtualNetworkPrivateLinkServiceNetworkPoliciesEnabled VirtualNetworkPrivateLinkServiceNetworkPolicies = "Enabled" +) + +func PossibleValuesForVirtualNetworkPrivateLinkServiceNetworkPolicies() []string { + return []string{ + string(VirtualNetworkPrivateLinkServiceNetworkPoliciesDisabled), + string(VirtualNetworkPrivateLinkServiceNetworkPoliciesEnabled), + } +} + +func (s *VirtualNetworkPrivateLinkServiceNetworkPolicies) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseVirtualNetworkPrivateLinkServiceNetworkPolicies(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseVirtualNetworkPrivateLinkServiceNetworkPolicies(input string) (*VirtualNetworkPrivateLinkServiceNetworkPolicies, error) { + vals := map[string]VirtualNetworkPrivateLinkServiceNetworkPolicies{ + "disabled": VirtualNetworkPrivateLinkServiceNetworkPoliciesDisabled, + "enabled": VirtualNetworkPrivateLinkServiceNetworkPoliciesEnabled, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := VirtualNetworkPrivateLinkServiceNetworkPolicies(input) + return &out, nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/method_createorupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/method_createorupdate.go new file mode 100644 index 000000000000..2f47359f9756 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/method_createorupdate.go @@ -0,0 +1,76 @@ +package subnets + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/client/pollers" + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type CreateOrUpdateOperationResponse struct { + Poller pollers.Poller + HttpResponse *http.Response + OData *odata.OData + Model *Subnet +} + +// CreateOrUpdate ... +func (c SubnetsClient) CreateOrUpdate(ctx context.Context, id commonids.SubnetId, input Subnet) (result CreateOrUpdateOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusCreated, + http.StatusOK, + }, + HttpMethod: http.MethodPut, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + if err = req.Marshal(input); err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client) + if err != nil { + return + } + + return +} + +// CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed +func (c SubnetsClient) CreateOrUpdateThenPoll(ctx context.Context, id commonids.SubnetId, input Subnet) error { + result, err := c.CreateOrUpdate(ctx, id, input) + if err != nil { + return fmt.Errorf("performing CreateOrUpdate: %+v", err) + } + + if err := result.Poller.PollUntilDone(ctx); err != nil { + return fmt.Errorf("polling after CreateOrUpdate: %+v", err) + } + + return nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/method_delete.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/method_delete.go new file mode 100644 index 000000000000..8be424289f01 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/method_delete.go @@ -0,0 +1,72 @@ +package subnets + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/client/pollers" + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type DeleteOperationResponse struct { + Poller pollers.Poller + HttpResponse *http.Response + OData *odata.OData +} + +// Delete ... +func (c SubnetsClient) Delete(ctx context.Context, id commonids.SubnetId) (result DeleteOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusAccepted, + http.StatusNoContent, + http.StatusOK, + }, + HttpMethod: http.MethodDelete, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client) + if err != nil { + return + } + + return +} + +// DeleteThenPoll performs Delete then polls until it's completed +func (c SubnetsClient) DeleteThenPoll(ctx context.Context, id commonids.SubnetId) error { + result, err := c.Delete(ctx, id) + if err != nil { + return fmt.Errorf("performing Delete: %+v", err) + } + + if err := result.Poller.PollUntilDone(ctx); err != nil { + return fmt.Errorf("polling after Delete: %+v", err) + } + + return nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/method_get.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/method_get.go new file mode 100644 index 000000000000..9340f66305d9 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/method_get.go @@ -0,0 +1,84 @@ +package subnets + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type GetOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *Subnet +} + +type GetOperationOptions struct { + Expand *string +} + +func DefaultGetOperationOptions() GetOperationOptions { + return GetOperationOptions{} +} + +func (o GetOperationOptions) ToHeaders() *client.Headers { + out := client.Headers{} + + return &out +} + +func (o GetOperationOptions) ToOData() *odata.Query { + out := odata.Query{} + + return &out +} + +func (o GetOperationOptions) ToQuery() *client.QueryParams { + out := client.QueryParams{} + if o.Expand != nil { + out.Append("$expand", fmt.Sprintf("%v", *o.Expand)) + } + return &out +} + +// Get ... +func (c SubnetsClient) Get(ctx context.Context, id commonids.SubnetId, options GetOperationOptions) (result GetOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + OptionsObject: options, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var model Subnet + result.Model = &model + if err = resp.Unmarshal(result.Model); err != nil { + return + } + + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/method_list.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/method_list.go new file mode 100644 index 000000000000..b9424e852805 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/method_list.go @@ -0,0 +1,106 @@ +package subnets + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ListOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *[]Subnet +} + +type ListCompleteResult struct { + LatestHttpResponse *http.Response + Items []Subnet +} + +type ListCustomPager struct { + NextLink *odata.Link `json:"nextLink"` +} + +func (p *ListCustomPager) NextPageLink() *odata.Link { + defer func() { + p.NextLink = nil + }() + + return p.NextLink +} + +// List ... +func (c SubnetsClient) List(ctx context.Context, id commonids.VirtualNetworkId) (result ListOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Pager: &ListCustomPager{}, + Path: fmt.Sprintf("%s/subnets", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.ExecutePaged(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var values struct { + Values *[]Subnet `json:"value"` + } + if err = resp.Unmarshal(&values); err != nil { + return + } + + result.Model = values.Values + + return +} + +// ListComplete retrieves all the results into a single object +func (c SubnetsClient) ListComplete(ctx context.Context, id commonids.VirtualNetworkId) (ListCompleteResult, error) { + return c.ListCompleteMatchingPredicate(ctx, id, SubnetOperationPredicate{}) +} + +// ListCompleteMatchingPredicate retrieves all the results and then applies the predicate +func (c SubnetsClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.VirtualNetworkId, predicate SubnetOperationPredicate) (result ListCompleteResult, err error) { + items := make([]Subnet, 0) + + resp, err := c.List(ctx, id) + if err != nil { + result.LatestHttpResponse = resp.HttpResponse + err = fmt.Errorf("loading results: %+v", err) + return + } + if resp.Model != nil { + for _, v := range *resp.Model { + if predicate.Matches(v) { + items = append(items, v) + } + } + } + + result = ListCompleteResult{ + LatestHttpResponse: resp.HttpResponse, + Items: items, + } + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_applicationgatewaybackendaddress.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_applicationgatewaybackendaddress.go new file mode 100644 index 000000000000..3788306fb6c3 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_applicationgatewaybackendaddress.go @@ -0,0 +1,9 @@ +package subnets + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayBackendAddress struct { + Fqdn *string `json:"fqdn,omitempty"` + IPAddress *string `json:"ipAddress,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_applicationgatewaybackendaddresspool.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_applicationgatewaybackendaddresspool.go new file mode 100644 index 000000000000..916f79f9c4c5 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_applicationgatewaybackendaddresspool.go @@ -0,0 +1,12 @@ +package subnets + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayBackendAddressPool struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *ApplicationGatewayBackendAddressPoolPropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_applicationgatewaybackendaddresspoolpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_applicationgatewaybackendaddresspoolpropertiesformat.go new file mode 100644 index 000000000000..5cb3ab5e50f6 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_applicationgatewaybackendaddresspoolpropertiesformat.go @@ -0,0 +1,10 @@ +package subnets + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayBackendAddressPoolPropertiesFormat struct { + BackendAddresses *[]ApplicationGatewayBackendAddress `json:"backendAddresses,omitempty"` + BackendIPConfigurations *[]NetworkInterfaceIPConfiguration `json:"backendIPConfigurations,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_applicationgatewayipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_applicationgatewayipconfiguration.go new file mode 100644 index 000000000000..2064f06b67c5 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_applicationgatewayipconfiguration.go @@ -0,0 +1,12 @@ +package subnets + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayIPConfiguration struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *ApplicationGatewayIPConfigurationPropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_applicationgatewayipconfigurationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_applicationgatewayipconfigurationpropertiesformat.go new file mode 100644 index 000000000000..ba5d67b2ce4e --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_applicationgatewayipconfigurationpropertiesformat.go @@ -0,0 +1,9 @@ +package subnets + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayIPConfigurationPropertiesFormat struct { + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + Subnet *SubResource `json:"subnet,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_applicationsecuritygroup.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_applicationsecuritygroup.go new file mode 100644 index 000000000000..2b7038a9661a --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_applicationsecuritygroup.go @@ -0,0 +1,14 @@ +package subnets + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationSecurityGroup struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Location *string `json:"location,omitempty"` + Name *string `json:"name,omitempty"` + Properties *ApplicationSecurityGroupPropertiesFormat `json:"properties,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_applicationsecuritygrouppropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_applicationsecuritygrouppropertiesformat.go new file mode 100644 index 000000000000..0444d465786d --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_applicationsecuritygrouppropertiesformat.go @@ -0,0 +1,9 @@ +package subnets + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationSecurityGroupPropertiesFormat struct { + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + ResourceGuid *string `json:"resourceGuid,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_backendaddresspool.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_backendaddresspool.go new file mode 100644 index 000000000000..8549e5db3a86 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_backendaddresspool.go @@ -0,0 +1,12 @@ +package subnets + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type BackendAddressPool struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *BackendAddressPoolPropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_backendaddresspoolpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_backendaddresspoolpropertiesformat.go new file mode 100644 index 000000000000..561224fe97ee --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_backendaddresspoolpropertiesformat.go @@ -0,0 +1,19 @@ +package subnets + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type BackendAddressPoolPropertiesFormat struct { + BackendIPConfigurations *[]NetworkInterfaceIPConfiguration `json:"backendIPConfigurations,omitempty"` + DrainPeriodInSeconds *int64 `json:"drainPeriodInSeconds,omitempty"` + InboundNatRules *[]SubResource `json:"inboundNatRules,omitempty"` + LoadBalancerBackendAddresses *[]LoadBalancerBackendAddress `json:"loadBalancerBackendAddresses,omitempty"` + LoadBalancingRules *[]SubResource `json:"loadBalancingRules,omitempty"` + Location *string `json:"location,omitempty"` + OutboundRule *SubResource `json:"outboundRule,omitempty"` + OutboundRules *[]SubResource `json:"outboundRules,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + SyncMode *SyncMode `json:"syncMode,omitempty"` + TunnelInterfaces *[]GatewayLoadBalancerTunnelInterface `json:"tunnelInterfaces,omitempty"` + VirtualNetwork *SubResource `json:"virtualNetwork,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_customdnsconfigpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_customdnsconfigpropertiesformat.go new file mode 100644 index 000000000000..b8332f10ecf7 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_customdnsconfigpropertiesformat.go @@ -0,0 +1,9 @@ +package subnets + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type CustomDnsConfigPropertiesFormat struct { + Fqdn *string `json:"fqdn,omitempty"` + IPAddresses *[]string `json:"ipAddresses,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_ddossettings.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_ddossettings.go new file mode 100644 index 000000000000..d48851a6ba15 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_ddossettings.go @@ -0,0 +1,9 @@ +package subnets + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type DdosSettings struct { + DdosProtectionPlan *SubResource `json:"ddosProtectionPlan,omitempty"` + ProtectionMode *DdosSettingsProtectionMode `json:"protectionMode,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_delegation.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_delegation.go new file mode 100644 index 000000000000..541d9d1d34b6 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_delegation.go @@ -0,0 +1,12 @@ +package subnets + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type Delegation struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *ServiceDelegationPropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_flowlog.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_flowlog.go new file mode 100644 index 000000000000..e063f8c77303 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_flowlog.go @@ -0,0 +1,19 @@ +package subnets + +import ( + "github.com/hashicorp/go-azure-helpers/resourcemanager/identity" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type FlowLog struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Identity *identity.SystemAndUserAssignedMap `json:"identity,omitempty"` + Location *string `json:"location,omitempty"` + Name *string `json:"name,omitempty"` + Properties *FlowLogPropertiesFormat `json:"properties,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_flowlogformatparameters.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_flowlogformatparameters.go new file mode 100644 index 000000000000..492844afa0cc --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_flowlogformatparameters.go @@ -0,0 +1,9 @@ +package subnets + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type FlowLogFormatParameters struct { + Type *FlowLogFormatType `json:"type,omitempty"` + Version *int64 `json:"version,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_flowlogpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_flowlogpropertiesformat.go new file mode 100644 index 000000000000..2dd1565d821c --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_flowlogpropertiesformat.go @@ -0,0 +1,16 @@ +package subnets + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type FlowLogPropertiesFormat struct { + Enabled *bool `json:"enabled,omitempty"` + EnabledFilteringCriteria *string `json:"enabledFilteringCriteria,omitempty"` + FlowAnalyticsConfiguration *TrafficAnalyticsProperties `json:"flowAnalyticsConfiguration,omitempty"` + Format *FlowLogFormatParameters `json:"format,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + RetentionPolicy *RetentionPolicyParameters `json:"retentionPolicy,omitempty"` + StorageId string `json:"storageId"` + TargetResourceGuid *string `json:"targetResourceGuid,omitempty"` + TargetResourceId string `json:"targetResourceId"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_frontendipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_frontendipconfiguration.go new file mode 100644 index 000000000000..f24121e7c39c --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_frontendipconfiguration.go @@ -0,0 +1,17 @@ +package subnets + +import ( + "github.com/hashicorp/go-azure-helpers/resourcemanager/zones" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type FrontendIPConfiguration struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *FrontendIPConfigurationPropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` + Zones *zones.Schema `json:"zones,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_frontendipconfigurationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_frontendipconfigurationpropertiesformat.go new file mode 100644 index 000000000000..3c86535825a5 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_frontendipconfigurationpropertiesformat.go @@ -0,0 +1,19 @@ +package subnets + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type FrontendIPConfigurationPropertiesFormat struct { + GatewayLoadBalancer *SubResource `json:"gatewayLoadBalancer,omitempty"` + InboundNatPools *[]SubResource `json:"inboundNatPools,omitempty"` + InboundNatRules *[]SubResource `json:"inboundNatRules,omitempty"` + LoadBalancingRules *[]SubResource `json:"loadBalancingRules,omitempty"` + OutboundRules *[]SubResource `json:"outboundRules,omitempty"` + PrivateIPAddress *string `json:"privateIPAddress,omitempty"` + PrivateIPAddressVersion *IPVersion `json:"privateIPAddressVersion,omitempty"` + PrivateIPAllocationMethod *IPAllocationMethod `json:"privateIPAllocationMethod,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + PublicIPAddress *PublicIPAddress `json:"publicIPAddress,omitempty"` + PublicIPPrefix *SubResource `json:"publicIPPrefix,omitempty"` + Subnet *Subnet `json:"subnet,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_gatewayloadbalancertunnelinterface.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_gatewayloadbalancertunnelinterface.go new file mode 100644 index 000000000000..3d2ff9b30102 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_gatewayloadbalancertunnelinterface.go @@ -0,0 +1,11 @@ +package subnets + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type GatewayLoadBalancerTunnelInterface struct { + Identifier *int64 `json:"identifier,omitempty"` + Port *int64 `json:"port,omitempty"` + Protocol *GatewayLoadBalancerTunnelProtocol `json:"protocol,omitempty"` + Type *GatewayLoadBalancerTunnelInterfaceType `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_inboundnatrule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_inboundnatrule.go new file mode 100644 index 000000000000..dd23aa7a490b --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_inboundnatrule.go @@ -0,0 +1,12 @@ +package subnets + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type InboundNatRule struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *InboundNatRulePropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_inboundnatrulepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_inboundnatrulepropertiesformat.go new file mode 100644 index 000000000000..ac29e9fd37d3 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_inboundnatrulepropertiesformat.go @@ -0,0 +1,19 @@ +package subnets + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type InboundNatRulePropertiesFormat struct { + BackendAddressPool *SubResource `json:"backendAddressPool,omitempty"` + BackendIPConfiguration *NetworkInterfaceIPConfiguration `json:"backendIPConfiguration,omitempty"` + BackendPort *int64 `json:"backendPort,omitempty"` + EnableFloatingIP *bool `json:"enableFloatingIP,omitempty"` + EnableTcpReset *bool `json:"enableTcpReset,omitempty"` + FrontendIPConfiguration *SubResource `json:"frontendIPConfiguration,omitempty"` + FrontendPort *int64 `json:"frontendPort,omitempty"` + FrontendPortRangeEnd *int64 `json:"frontendPortRangeEnd,omitempty"` + FrontendPortRangeStart *int64 `json:"frontendPortRangeStart,omitempty"` + IdleTimeoutInMinutes *int64 `json:"idleTimeoutInMinutes,omitempty"` + Protocol *TransportProtocol `json:"protocol,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_ipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_ipconfiguration.go new file mode 100644 index 000000000000..3e2e5516ea91 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_ipconfiguration.go @@ -0,0 +1,11 @@ +package subnets + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type IPConfiguration struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *IPConfigurationPropertiesFormat `json:"properties,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_ipconfigurationprofile.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_ipconfigurationprofile.go new file mode 100644 index 000000000000..a4d5be3c038a --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_ipconfigurationprofile.go @@ -0,0 +1,12 @@ +package subnets + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type IPConfigurationProfile struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *IPConfigurationProfilePropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_ipconfigurationprofilepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_ipconfigurationprofilepropertiesformat.go new file mode 100644 index 000000000000..bfb28994f14d --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_ipconfigurationprofilepropertiesformat.go @@ -0,0 +1,9 @@ +package subnets + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type IPConfigurationProfilePropertiesFormat struct { + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + Subnet *Subnet `json:"subnet,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_ipconfigurationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_ipconfigurationpropertiesformat.go new file mode 100644 index 000000000000..4814acb3e8e2 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_ipconfigurationpropertiesformat.go @@ -0,0 +1,12 @@ +package subnets + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type IPConfigurationPropertiesFormat struct { + PrivateIPAddress *string `json:"privateIPAddress,omitempty"` + PrivateIPAllocationMethod *IPAllocationMethod `json:"privateIPAllocationMethod,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + PublicIPAddress *PublicIPAddress `json:"publicIPAddress,omitempty"` + Subnet *Subnet `json:"subnet,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_iptag.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_iptag.go new file mode 100644 index 000000000000..8ccc055cb31a --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_iptag.go @@ -0,0 +1,9 @@ +package subnets + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type IPTag struct { + IPTagType *string `json:"ipTagType,omitempty"` + Tag *string `json:"tag,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_loadbalancerbackendaddress.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_loadbalancerbackendaddress.go new file mode 100644 index 000000000000..e3b148912e31 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_loadbalancerbackendaddress.go @@ -0,0 +1,9 @@ +package subnets + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type LoadBalancerBackendAddress struct { + Name *string `json:"name,omitempty"` + Properties *LoadBalancerBackendAddressPropertiesFormat `json:"properties,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_loadbalancerbackendaddresspropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_loadbalancerbackendaddresspropertiesformat.go new file mode 100644 index 000000000000..ee7815f178dd --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_loadbalancerbackendaddresspropertiesformat.go @@ -0,0 +1,14 @@ +package subnets + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type LoadBalancerBackendAddressPropertiesFormat struct { + AdminState *LoadBalancerBackendAddressAdminState `json:"adminState,omitempty"` + IPAddress *string `json:"ipAddress,omitempty"` + InboundNatRulesPortMapping *[]NatRulePortMapping `json:"inboundNatRulesPortMapping,omitempty"` + LoadBalancerFrontendIPConfiguration *SubResource `json:"loadBalancerFrontendIPConfiguration,omitempty"` + NetworkInterfaceIPConfiguration *SubResource `json:"networkInterfaceIPConfiguration,omitempty"` + Subnet *SubResource `json:"subnet,omitempty"` + VirtualNetwork *SubResource `json:"virtualNetwork,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_natgateway.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_natgateway.go new file mode 100644 index 000000000000..9a8fad20def6 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_natgateway.go @@ -0,0 +1,20 @@ +package subnets + +import ( + "github.com/hashicorp/go-azure-helpers/resourcemanager/zones" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NatGateway struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Location *string `json:"location,omitempty"` + Name *string `json:"name,omitempty"` + Properties *NatGatewayPropertiesFormat `json:"properties,omitempty"` + Sku *NatGatewaySku `json:"sku,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` + Zones *zones.Schema `json:"zones,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_natgatewaypropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_natgatewaypropertiesformat.go new file mode 100644 index 000000000000..e9043897c529 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_natgatewaypropertiesformat.go @@ -0,0 +1,13 @@ +package subnets + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NatGatewayPropertiesFormat struct { + IdleTimeoutInMinutes *int64 `json:"idleTimeoutInMinutes,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + PublicIPAddresses *[]SubResource `json:"publicIpAddresses,omitempty"` + PublicIPPrefixes *[]SubResource `json:"publicIpPrefixes,omitempty"` + ResourceGuid *string `json:"resourceGuid,omitempty"` + Subnets *[]SubResource `json:"subnets,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_natgatewaysku.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_natgatewaysku.go new file mode 100644 index 000000000000..617e7c19ff34 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_natgatewaysku.go @@ -0,0 +1,8 @@ +package subnets + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NatGatewaySku struct { + Name *NatGatewaySkuName `json:"name,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_natruleportmapping.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_natruleportmapping.go new file mode 100644 index 000000000000..1e546cf811d7 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_natruleportmapping.go @@ -0,0 +1,10 @@ +package subnets + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NatRulePortMapping struct { + BackendPort *int64 `json:"backendPort,omitempty"` + FrontendPort *int64 `json:"frontendPort,omitempty"` + InboundNatRuleName *string `json:"inboundNatRuleName,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_networkinterface.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_networkinterface.go new file mode 100644 index 000000000000..06d849fad907 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_networkinterface.go @@ -0,0 +1,19 @@ +package subnets + +import ( + "github.com/hashicorp/go-azure-helpers/resourcemanager/edgezones" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NetworkInterface struct { + Etag *string `json:"etag,omitempty"` + ExtendedLocation *edgezones.Model `json:"extendedLocation,omitempty"` + Id *string `json:"id,omitempty"` + Location *string `json:"location,omitempty"` + Name *string `json:"name,omitempty"` + Properties *NetworkInterfacePropertiesFormat `json:"properties,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_networkinterfacednssettings.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_networkinterfacednssettings.go new file mode 100644 index 000000000000..67fcb29afe77 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_networkinterfacednssettings.go @@ -0,0 +1,12 @@ +package subnets + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NetworkInterfaceDnsSettings struct { + AppliedDnsServers *[]string `json:"appliedDnsServers,omitempty"` + DnsServers *[]string `json:"dnsServers,omitempty"` + InternalDnsNameLabel *string `json:"internalDnsNameLabel,omitempty"` + InternalDomainNameSuffix *string `json:"internalDomainNameSuffix,omitempty"` + InternalFqdn *string `json:"internalFqdn,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_networkinterfaceipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_networkinterfaceipconfiguration.go new file mode 100644 index 000000000000..dea0691831d7 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_networkinterfaceipconfiguration.go @@ -0,0 +1,12 @@ +package subnets + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NetworkInterfaceIPConfiguration struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *NetworkInterfaceIPConfigurationPropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_networkinterfaceipconfigurationprivatelinkconnectionproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_networkinterfaceipconfigurationprivatelinkconnectionproperties.go new file mode 100644 index 000000000000..51e7195920f0 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_networkinterfaceipconfigurationprivatelinkconnectionproperties.go @@ -0,0 +1,10 @@ +package subnets + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties struct { + Fqdns *[]string `json:"fqdns,omitempty"` + GroupId *string `json:"groupId,omitempty"` + RequiredMemberName *string `json:"requiredMemberName,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_networkinterfaceipconfigurationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_networkinterfaceipconfigurationpropertiesformat.go new file mode 100644 index 000000000000..a1064b425b93 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_networkinterfaceipconfigurationpropertiesformat.go @@ -0,0 +1,22 @@ +package subnets + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NetworkInterfaceIPConfigurationPropertiesFormat struct { + ApplicationGatewayBackendAddressPools *[]ApplicationGatewayBackendAddressPool `json:"applicationGatewayBackendAddressPools,omitempty"` + ApplicationSecurityGroups *[]ApplicationSecurityGroup `json:"applicationSecurityGroups,omitempty"` + GatewayLoadBalancer *SubResource `json:"gatewayLoadBalancer,omitempty"` + LoadBalancerBackendAddressPools *[]BackendAddressPool `json:"loadBalancerBackendAddressPools,omitempty"` + LoadBalancerInboundNatRules *[]InboundNatRule `json:"loadBalancerInboundNatRules,omitempty"` + Primary *bool `json:"primary,omitempty"` + PrivateIPAddress *string `json:"privateIPAddress,omitempty"` + PrivateIPAddressPrefixLength *int64 `json:"privateIPAddressPrefixLength,omitempty"` + PrivateIPAddressVersion *IPVersion `json:"privateIPAddressVersion,omitempty"` + PrivateIPAllocationMethod *IPAllocationMethod `json:"privateIPAllocationMethod,omitempty"` + PrivateLinkConnectionProperties *NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties `json:"privateLinkConnectionProperties,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + PublicIPAddress *PublicIPAddress `json:"publicIPAddress,omitempty"` + Subnet *Subnet `json:"subnet,omitempty"` + VirtualNetworkTaps *[]VirtualNetworkTap `json:"virtualNetworkTaps,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_networkinterfacepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_networkinterfacepropertiesformat.go new file mode 100644 index 000000000000..dadc94210166 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_networkinterfacepropertiesformat.go @@ -0,0 +1,29 @@ +package subnets + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NetworkInterfacePropertiesFormat struct { + AuxiliaryMode *NetworkInterfaceAuxiliaryMode `json:"auxiliaryMode,omitempty"` + AuxiliarySku *NetworkInterfaceAuxiliarySku `json:"auxiliarySku,omitempty"` + DisableTcpStateTracking *bool `json:"disableTcpStateTracking,omitempty"` + DnsSettings *NetworkInterfaceDnsSettings `json:"dnsSettings,omitempty"` + DscpConfiguration *SubResource `json:"dscpConfiguration,omitempty"` + EnableAcceleratedNetworking *bool `json:"enableAcceleratedNetworking,omitempty"` + EnableIPForwarding *bool `json:"enableIPForwarding,omitempty"` + HostedWorkloads *[]string `json:"hostedWorkloads,omitempty"` + IPConfigurations *[]NetworkInterfaceIPConfiguration `json:"ipConfigurations,omitempty"` + MacAddress *string `json:"macAddress,omitempty"` + MigrationPhase *NetworkInterfaceMigrationPhase `json:"migrationPhase,omitempty"` + NetworkSecurityGroup *NetworkSecurityGroup `json:"networkSecurityGroup,omitempty"` + NicType *NetworkInterfaceNicType `json:"nicType,omitempty"` + Primary *bool `json:"primary,omitempty"` + PrivateEndpoint *PrivateEndpoint `json:"privateEndpoint,omitempty"` + PrivateLinkService *PrivateLinkService `json:"privateLinkService,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + ResourceGuid *string `json:"resourceGuid,omitempty"` + TapConfigurations *[]NetworkInterfaceTapConfiguration `json:"tapConfigurations,omitempty"` + VirtualMachine *SubResource `json:"virtualMachine,omitempty"` + VnetEncryptionSupported *bool `json:"vnetEncryptionSupported,omitempty"` + WorkloadType *string `json:"workloadType,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_networkinterfacetapconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_networkinterfacetapconfiguration.go new file mode 100644 index 000000000000..2cd16be245c1 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_networkinterfacetapconfiguration.go @@ -0,0 +1,12 @@ +package subnets + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NetworkInterfaceTapConfiguration struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *NetworkInterfaceTapConfigurationPropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_networkinterfacetapconfigurationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_networkinterfacetapconfigurationpropertiesformat.go new file mode 100644 index 000000000000..1bc23cee100c --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_networkinterfacetapconfigurationpropertiesformat.go @@ -0,0 +1,9 @@ +package subnets + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NetworkInterfaceTapConfigurationPropertiesFormat struct { + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + VirtualNetworkTap *VirtualNetworkTap `json:"virtualNetworkTap,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_networksecuritygroup.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_networksecuritygroup.go new file mode 100644 index 000000000000..fa06f5f24ccc --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_networksecuritygroup.go @@ -0,0 +1,14 @@ +package subnets + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NetworkSecurityGroup struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Location *string `json:"location,omitempty"` + Name *string `json:"name,omitempty"` + Properties *NetworkSecurityGroupPropertiesFormat `json:"properties,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_networksecuritygrouppropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_networksecuritygrouppropertiesformat.go new file mode 100644 index 000000000000..da7b074dbbfb --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_networksecuritygrouppropertiesformat.go @@ -0,0 +1,15 @@ +package subnets + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NetworkSecurityGroupPropertiesFormat struct { + DefaultSecurityRules *[]SecurityRule `json:"defaultSecurityRules,omitempty"` + FlowLogs *[]FlowLog `json:"flowLogs,omitempty"` + FlushConnection *bool `json:"flushConnection,omitempty"` + NetworkInterfaces *[]NetworkInterface `json:"networkInterfaces,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + ResourceGuid *string `json:"resourceGuid,omitempty"` + SecurityRules *[]SecurityRule `json:"securityRules,omitempty"` + Subnets *[]Subnet `json:"subnets,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_privateendpoint.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_privateendpoint.go new file mode 100644 index 000000000000..4fa549c3b13b --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_privateendpoint.go @@ -0,0 +1,19 @@ +package subnets + +import ( + "github.com/hashicorp/go-azure-helpers/resourcemanager/edgezones" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PrivateEndpoint struct { + Etag *string `json:"etag,omitempty"` + ExtendedLocation *edgezones.Model `json:"extendedLocation,omitempty"` + Id *string `json:"id,omitempty"` + Location *string `json:"location,omitempty"` + Name *string `json:"name,omitempty"` + Properties *PrivateEndpointProperties `json:"properties,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_privateendpointconnection.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_privateendpointconnection.go new file mode 100644 index 000000000000..1e354419cca0 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_privateendpointconnection.go @@ -0,0 +1,12 @@ +package subnets + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PrivateEndpointConnection struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *PrivateEndpointConnectionProperties `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_privateendpointconnectionproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_privateendpointconnectionproperties.go new file mode 100644 index 000000000000..ff12b5a54fc0 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_privateendpointconnectionproperties.go @@ -0,0 +1,12 @@ +package subnets + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PrivateEndpointConnectionProperties struct { + LinkIdentifier *string `json:"linkIdentifier,omitempty"` + PrivateEndpoint *PrivateEndpoint `json:"privateEndpoint,omitempty"` + PrivateEndpointLocation *string `json:"privateEndpointLocation,omitempty"` + PrivateLinkServiceConnectionState *PrivateLinkServiceConnectionState `json:"privateLinkServiceConnectionState,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_privateendpointipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_privateendpointipconfiguration.go new file mode 100644 index 000000000000..20625cb09d31 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_privateendpointipconfiguration.go @@ -0,0 +1,11 @@ +package subnets + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PrivateEndpointIPConfiguration struct { + Etag *string `json:"etag,omitempty"` + Name *string `json:"name,omitempty"` + Properties *PrivateEndpointIPConfigurationProperties `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_privateendpointipconfigurationproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_privateendpointipconfigurationproperties.go new file mode 100644 index 000000000000..5d90f3c61bf7 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_privateendpointipconfigurationproperties.go @@ -0,0 +1,10 @@ +package subnets + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PrivateEndpointIPConfigurationProperties struct { + GroupId *string `json:"groupId,omitempty"` + MemberName *string `json:"memberName,omitempty"` + PrivateIPAddress *string `json:"privateIPAddress,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_privateendpointproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_privateendpointproperties.go new file mode 100644 index 000000000000..4913ece3049b --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_privateendpointproperties.go @@ -0,0 +1,16 @@ +package subnets + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PrivateEndpointProperties struct { + ApplicationSecurityGroups *[]ApplicationSecurityGroup `json:"applicationSecurityGroups,omitempty"` + CustomDnsConfigs *[]CustomDnsConfigPropertiesFormat `json:"customDnsConfigs,omitempty"` + CustomNetworkInterfaceName *string `json:"customNetworkInterfaceName,omitempty"` + IPConfigurations *[]PrivateEndpointIPConfiguration `json:"ipConfigurations,omitempty"` + ManualPrivateLinkServiceConnections *[]PrivateLinkServiceConnection `json:"manualPrivateLinkServiceConnections,omitempty"` + NetworkInterfaces *[]NetworkInterface `json:"networkInterfaces,omitempty"` + PrivateLinkServiceConnections *[]PrivateLinkServiceConnection `json:"privateLinkServiceConnections,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + Subnet *Subnet `json:"subnet,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_privatelinkservice.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_privatelinkservice.go new file mode 100644 index 000000000000..34c00e7cffb3 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_privatelinkservice.go @@ -0,0 +1,19 @@ +package subnets + +import ( + "github.com/hashicorp/go-azure-helpers/resourcemanager/edgezones" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PrivateLinkService struct { + Etag *string `json:"etag,omitempty"` + ExtendedLocation *edgezones.Model `json:"extendedLocation,omitempty"` + Id *string `json:"id,omitempty"` + Location *string `json:"location,omitempty"` + Name *string `json:"name,omitempty"` + Properties *PrivateLinkServiceProperties `json:"properties,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_privatelinkserviceconnection.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_privatelinkserviceconnection.go new file mode 100644 index 000000000000..af937a19eda7 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_privatelinkserviceconnection.go @@ -0,0 +1,12 @@ +package subnets + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PrivateLinkServiceConnection struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *PrivateLinkServiceConnectionProperties `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_privatelinkserviceconnectionproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_privatelinkserviceconnectionproperties.go new file mode 100644 index 000000000000..d6ad965c1368 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_privatelinkserviceconnectionproperties.go @@ -0,0 +1,12 @@ +package subnets + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PrivateLinkServiceConnectionProperties struct { + GroupIds *[]string `json:"groupIds,omitempty"` + PrivateLinkServiceConnectionState *PrivateLinkServiceConnectionState `json:"privateLinkServiceConnectionState,omitempty"` + PrivateLinkServiceId *string `json:"privateLinkServiceId,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + RequestMessage *string `json:"requestMessage,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_privatelinkserviceconnectionstate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_privatelinkserviceconnectionstate.go new file mode 100644 index 000000000000..4072e649f7a9 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_privatelinkserviceconnectionstate.go @@ -0,0 +1,10 @@ +package subnets + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PrivateLinkServiceConnectionState struct { + ActionsRequired *string `json:"actionsRequired,omitempty"` + Description *string `json:"description,omitempty"` + Status *string `json:"status,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_privatelinkserviceipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_privatelinkserviceipconfiguration.go new file mode 100644 index 000000000000..c48e1e87c659 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_privatelinkserviceipconfiguration.go @@ -0,0 +1,12 @@ +package subnets + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PrivateLinkServiceIPConfiguration struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *PrivateLinkServiceIPConfigurationProperties `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_privatelinkserviceipconfigurationproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_privatelinkserviceipconfigurationproperties.go new file mode 100644 index 000000000000..eccb8844155e --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_privatelinkserviceipconfigurationproperties.go @@ -0,0 +1,13 @@ +package subnets + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PrivateLinkServiceIPConfigurationProperties struct { + Primary *bool `json:"primary,omitempty"` + PrivateIPAddress *string `json:"privateIPAddress,omitempty"` + PrivateIPAddressVersion *IPVersion `json:"privateIPAddressVersion,omitempty"` + PrivateIPAllocationMethod *IPAllocationMethod `json:"privateIPAllocationMethod,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + Subnet *Subnet `json:"subnet,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_privatelinkserviceproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_privatelinkserviceproperties.go new file mode 100644 index 000000000000..5c743a480bab --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_privatelinkserviceproperties.go @@ -0,0 +1,18 @@ +package subnets + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PrivateLinkServiceProperties struct { + Alias *string `json:"alias,omitempty"` + AutoApproval *ResourceSet `json:"autoApproval,omitempty"` + DestinationIPAddress *string `json:"destinationIPAddress,omitempty"` + EnableProxyProtocol *bool `json:"enableProxyProtocol,omitempty"` + Fqdns *[]string `json:"fqdns,omitempty"` + IPConfigurations *[]PrivateLinkServiceIPConfiguration `json:"ipConfigurations,omitempty"` + LoadBalancerFrontendIPConfigurations *[]FrontendIPConfiguration `json:"loadBalancerFrontendIpConfigurations,omitempty"` + NetworkInterfaces *[]NetworkInterface `json:"networkInterfaces,omitempty"` + PrivateEndpointConnections *[]PrivateEndpointConnection `json:"privateEndpointConnections,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + Visibility *ResourceSet `json:"visibility,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_publicipaddress.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_publicipaddress.go new file mode 100644 index 000000000000..9931f78d2364 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_publicipaddress.go @@ -0,0 +1,22 @@ +package subnets + +import ( + "github.com/hashicorp/go-azure-helpers/resourcemanager/edgezones" + "github.com/hashicorp/go-azure-helpers/resourcemanager/zones" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PublicIPAddress struct { + Etag *string `json:"etag,omitempty"` + ExtendedLocation *edgezones.Model `json:"extendedLocation,omitempty"` + Id *string `json:"id,omitempty"` + Location *string `json:"location,omitempty"` + Name *string `json:"name,omitempty"` + Properties *PublicIPAddressPropertiesFormat `json:"properties,omitempty"` + Sku *PublicIPAddressSku `json:"sku,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` + Zones *zones.Schema `json:"zones,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_publicipaddressdnssettings.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_publicipaddressdnssettings.go new file mode 100644 index 000000000000..d002238e788d --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_publicipaddressdnssettings.go @@ -0,0 +1,11 @@ +package subnets + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PublicIPAddressDnsSettings struct { + DomainNameLabel *string `json:"domainNameLabel,omitempty"` + DomainNameLabelScope *PublicIPAddressDnsSettingsDomainNameLabelScope `json:"domainNameLabelScope,omitempty"` + Fqdn *string `json:"fqdn,omitempty"` + ReverseFqdn *string `json:"reverseFqdn,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_publicipaddresspropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_publicipaddresspropertiesformat.go new file mode 100644 index 000000000000..c8c5eb4251a6 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_publicipaddresspropertiesformat.go @@ -0,0 +1,23 @@ +package subnets + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PublicIPAddressPropertiesFormat struct { + DdosSettings *DdosSettings `json:"ddosSettings,omitempty"` + DeleteOption *DeleteOptions `json:"deleteOption,omitempty"` + DnsSettings *PublicIPAddressDnsSettings `json:"dnsSettings,omitempty"` + IPAddress *string `json:"ipAddress,omitempty"` + IPConfiguration *IPConfiguration `json:"ipConfiguration,omitempty"` + IPTags *[]IPTag `json:"ipTags,omitempty"` + IdleTimeoutInMinutes *int64 `json:"idleTimeoutInMinutes,omitempty"` + LinkedPublicIPAddress *PublicIPAddress `json:"linkedPublicIPAddress,omitempty"` + MigrationPhase *PublicIPAddressMigrationPhase `json:"migrationPhase,omitempty"` + NatGateway *NatGateway `json:"natGateway,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + PublicIPAddressVersion *IPVersion `json:"publicIPAddressVersion,omitempty"` + PublicIPAllocationMethod *IPAllocationMethod `json:"publicIPAllocationMethod,omitempty"` + PublicIPPrefix *SubResource `json:"publicIPPrefix,omitempty"` + ResourceGuid *string `json:"resourceGuid,omitempty"` + ServicePublicIPAddress *PublicIPAddress `json:"servicePublicIPAddress,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_publicipaddresssku.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_publicipaddresssku.go new file mode 100644 index 000000000000..21dd8f7d664d --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_publicipaddresssku.go @@ -0,0 +1,9 @@ +package subnets + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PublicIPAddressSku struct { + Name *PublicIPAddressSkuName `json:"name,omitempty"` + Tier *PublicIPAddressSkuTier `json:"tier,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_resourcenavigationlink.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_resourcenavigationlink.go new file mode 100644 index 000000000000..fcd37a760e65 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_resourcenavigationlink.go @@ -0,0 +1,12 @@ +package subnets + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ResourceNavigationLink struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *ResourceNavigationLinkFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_resourcenavigationlinkformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_resourcenavigationlinkformat.go new file mode 100644 index 000000000000..103426fc9c39 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_resourcenavigationlinkformat.go @@ -0,0 +1,10 @@ +package subnets + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ResourceNavigationLinkFormat struct { + Link *string `json:"link,omitempty"` + LinkedResourceType *string `json:"linkedResourceType,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_resourceset.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_resourceset.go new file mode 100644 index 000000000000..5daeebab425f --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_resourceset.go @@ -0,0 +1,8 @@ +package subnets + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ResourceSet struct { + Subscriptions *[]string `json:"subscriptions,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_retentionpolicyparameters.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_retentionpolicyparameters.go new file mode 100644 index 000000000000..8ea922b85fef --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_retentionpolicyparameters.go @@ -0,0 +1,9 @@ +package subnets + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type RetentionPolicyParameters struct { + Days *int64 `json:"days,omitempty"` + Enabled *bool `json:"enabled,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_route.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_route.go new file mode 100644 index 000000000000..e40ded16b006 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_route.go @@ -0,0 +1,12 @@ +package subnets + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type Route struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *RoutePropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_routepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_routepropertiesformat.go new file mode 100644 index 000000000000..c87b62acaed2 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_routepropertiesformat.go @@ -0,0 +1,12 @@ +package subnets + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type RoutePropertiesFormat struct { + AddressPrefix *string `json:"addressPrefix,omitempty"` + HasBgpOverride *bool `json:"hasBgpOverride,omitempty"` + NextHopIPAddress *string `json:"nextHopIpAddress,omitempty"` + NextHopType RouteNextHopType `json:"nextHopType"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_routetable.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_routetable.go new file mode 100644 index 000000000000..6bb137b8242c --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_routetable.go @@ -0,0 +1,14 @@ +package subnets + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type RouteTable struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Location *string `json:"location,omitempty"` + Name *string `json:"name,omitempty"` + Properties *RouteTablePropertiesFormat `json:"properties,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_routetablepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_routetablepropertiesformat.go new file mode 100644 index 000000000000..07d88ea8a301 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_routetablepropertiesformat.go @@ -0,0 +1,12 @@ +package subnets + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type RouteTablePropertiesFormat struct { + DisableBgpRoutePropagation *bool `json:"disableBgpRoutePropagation,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + ResourceGuid *string `json:"resourceGuid,omitempty"` + Routes *[]Route `json:"routes,omitempty"` + Subnets *[]Subnet `json:"subnets,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_securityrule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_securityrule.go new file mode 100644 index 000000000000..70772203f7bb --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_securityrule.go @@ -0,0 +1,12 @@ +package subnets + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type SecurityRule struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *SecurityRulePropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_securityrulepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_securityrulepropertiesformat.go new file mode 100644 index 000000000000..cad2dbd820ca --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_securityrulepropertiesformat.go @@ -0,0 +1,23 @@ +package subnets + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type SecurityRulePropertiesFormat struct { + Access SecurityRuleAccess `json:"access"` + Description *string `json:"description,omitempty"` + DestinationAddressPrefix *string `json:"destinationAddressPrefix,omitempty"` + DestinationAddressPrefixes *[]string `json:"destinationAddressPrefixes,omitempty"` + DestinationApplicationSecurityGroups *[]ApplicationSecurityGroup `json:"destinationApplicationSecurityGroups,omitempty"` + DestinationPortRange *string `json:"destinationPortRange,omitempty"` + DestinationPortRanges *[]string `json:"destinationPortRanges,omitempty"` + Direction SecurityRuleDirection `json:"direction"` + Priority int64 `json:"priority"` + Protocol SecurityRuleProtocol `json:"protocol"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + SourceAddressPrefix *string `json:"sourceAddressPrefix,omitempty"` + SourceAddressPrefixes *[]string `json:"sourceAddressPrefixes,omitempty"` + SourceApplicationSecurityGroups *[]ApplicationSecurityGroup `json:"sourceApplicationSecurityGroups,omitempty"` + SourcePortRange *string `json:"sourcePortRange,omitempty"` + SourcePortRanges *[]string `json:"sourcePortRanges,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_serviceassociationlink.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_serviceassociationlink.go new file mode 100644 index 000000000000..c82eae5ac158 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_serviceassociationlink.go @@ -0,0 +1,12 @@ +package subnets + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ServiceAssociationLink struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *ServiceAssociationLinkPropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_serviceassociationlinkpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_serviceassociationlinkpropertiesformat.go new file mode 100644 index 000000000000..f1a92b714855 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_serviceassociationlinkpropertiesformat.go @@ -0,0 +1,12 @@ +package subnets + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ServiceAssociationLinkPropertiesFormat struct { + AllowDelete *bool `json:"allowDelete,omitempty"` + Link *string `json:"link,omitempty"` + LinkedResourceType *string `json:"linkedResourceType,omitempty"` + Locations *[]string `json:"locations,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_servicedelegationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_servicedelegationpropertiesformat.go new file mode 100644 index 000000000000..1680e52b8a1a --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_servicedelegationpropertiesformat.go @@ -0,0 +1,10 @@ +package subnets + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ServiceDelegationPropertiesFormat struct { + Actions *[]string `json:"actions,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + ServiceName *string `json:"serviceName,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_serviceendpointpolicy.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_serviceendpointpolicy.go new file mode 100644 index 000000000000..68813a7b3e8f --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_serviceendpointpolicy.go @@ -0,0 +1,15 @@ +package subnets + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ServiceEndpointPolicy struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Kind *string `json:"kind,omitempty"` + Location *string `json:"location,omitempty"` + Name *string `json:"name,omitempty"` + Properties *ServiceEndpointPolicyPropertiesFormat `json:"properties,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_serviceendpointpolicydefinition.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_serviceendpointpolicydefinition.go new file mode 100644 index 000000000000..8fa72c305ed9 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_serviceendpointpolicydefinition.go @@ -0,0 +1,12 @@ +package subnets + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ServiceEndpointPolicyDefinition struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *ServiceEndpointPolicyDefinitionPropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_serviceendpointpolicydefinitionpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_serviceendpointpolicydefinitionpropertiesformat.go new file mode 100644 index 000000000000..b7b56f401a85 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_serviceendpointpolicydefinitionpropertiesformat.go @@ -0,0 +1,11 @@ +package subnets + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ServiceEndpointPolicyDefinitionPropertiesFormat struct { + Description *string `json:"description,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + Service *string `json:"service,omitempty"` + ServiceResources *[]string `json:"serviceResources,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_serviceendpointpolicypropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_serviceendpointpolicypropertiesformat.go new file mode 100644 index 000000000000..5e0804aa4384 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_serviceendpointpolicypropertiesformat.go @@ -0,0 +1,13 @@ +package subnets + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ServiceEndpointPolicyPropertiesFormat struct { + ContextualServiceEndpointPolicies *[]string `json:"contextualServiceEndpointPolicies,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + ResourceGuid *string `json:"resourceGuid,omitempty"` + ServiceAlias *string `json:"serviceAlias,omitempty"` + ServiceEndpointPolicyDefinitions *[]ServiceEndpointPolicyDefinition `json:"serviceEndpointPolicyDefinitions,omitempty"` + Subnets *[]Subnet `json:"subnets,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_serviceendpointpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_serviceendpointpropertiesformat.go new file mode 100644 index 000000000000..e3835d75d211 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_serviceendpointpropertiesformat.go @@ -0,0 +1,11 @@ +package subnets + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ServiceEndpointPropertiesFormat struct { + Locations *[]string `json:"locations,omitempty"` + NetworkIdentifier *SubResource `json:"networkIdentifier,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + Service *string `json:"service,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_subnet.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_subnet.go new file mode 100644 index 000000000000..820673d7c161 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_subnet.go @@ -0,0 +1,12 @@ +package subnets + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type Subnet struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *SubnetPropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_subnetpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_subnetpropertiesformat.go new file mode 100644 index 000000000000..23fdab8b9aee --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_subnetpropertiesformat.go @@ -0,0 +1,28 @@ +package subnets + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type SubnetPropertiesFormat struct { + AddressPrefix *string `json:"addressPrefix,omitempty"` + AddressPrefixes *[]string `json:"addressPrefixes,omitempty"` + ApplicationGatewayIPConfigurations *[]ApplicationGatewayIPConfiguration `json:"applicationGatewayIPConfigurations,omitempty"` + DefaultOutboundAccess *bool `json:"defaultOutboundAccess,omitempty"` + Delegations *[]Delegation `json:"delegations,omitempty"` + IPAllocations *[]SubResource `json:"ipAllocations,omitempty"` + IPConfigurationProfiles *[]IPConfigurationProfile `json:"ipConfigurationProfiles,omitempty"` + IPConfigurations *[]IPConfiguration `json:"ipConfigurations,omitempty"` + NatGateway *SubResource `json:"natGateway,omitempty"` + NetworkSecurityGroup *NetworkSecurityGroup `json:"networkSecurityGroup,omitempty"` + PrivateEndpointNetworkPolicies *VirtualNetworkPrivateEndpointNetworkPolicies `json:"privateEndpointNetworkPolicies,omitempty"` + PrivateEndpoints *[]PrivateEndpoint `json:"privateEndpoints,omitempty"` + PrivateLinkServiceNetworkPolicies *VirtualNetworkPrivateLinkServiceNetworkPolicies `json:"privateLinkServiceNetworkPolicies,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + Purpose *string `json:"purpose,omitempty"` + ResourceNavigationLinks *[]ResourceNavigationLink `json:"resourceNavigationLinks,omitempty"` + RouteTable *RouteTable `json:"routeTable,omitempty"` + ServiceAssociationLinks *[]ServiceAssociationLink `json:"serviceAssociationLinks,omitempty"` + ServiceEndpointPolicies *[]ServiceEndpointPolicy `json:"serviceEndpointPolicies,omitempty"` + ServiceEndpoints *[]ServiceEndpointPropertiesFormat `json:"serviceEndpoints,omitempty"` + SharingScope *SharingScope `json:"sharingScope,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_subresource.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_subresource.go new file mode 100644 index 000000000000..d986a3038192 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_subresource.go @@ -0,0 +1,8 @@ +package subnets + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type SubResource struct { + Id *string `json:"id,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_trafficanalyticsconfigurationproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_trafficanalyticsconfigurationproperties.go new file mode 100644 index 000000000000..e93599e3f9cd --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_trafficanalyticsconfigurationproperties.go @@ -0,0 +1,12 @@ +package subnets + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type TrafficAnalyticsConfigurationProperties struct { + Enabled *bool `json:"enabled,omitempty"` + TrafficAnalyticsInterval *int64 `json:"trafficAnalyticsInterval,omitempty"` + WorkspaceId *string `json:"workspaceId,omitempty"` + WorkspaceRegion *string `json:"workspaceRegion,omitempty"` + WorkspaceResourceId *string `json:"workspaceResourceId,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_trafficanalyticsproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_trafficanalyticsproperties.go new file mode 100644 index 000000000000..fa6abc84aef0 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_trafficanalyticsproperties.go @@ -0,0 +1,8 @@ +package subnets + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type TrafficAnalyticsProperties struct { + NetworkWatcherFlowAnalyticsConfiguration *TrafficAnalyticsConfigurationProperties `json:"networkWatcherFlowAnalyticsConfiguration,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_virtualnetworktap.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_virtualnetworktap.go new file mode 100644 index 000000000000..f9e8be401f9a --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_virtualnetworktap.go @@ -0,0 +1,14 @@ +package subnets + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VirtualNetworkTap struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Location *string `json:"location,omitempty"` + Name *string `json:"name,omitempty"` + Properties *VirtualNetworkTapPropertiesFormat `json:"properties,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_virtualnetworktappropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_virtualnetworktappropertiesformat.go new file mode 100644 index 000000000000..c8b60852b336 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/model_virtualnetworktappropertiesformat.go @@ -0,0 +1,13 @@ +package subnets + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VirtualNetworkTapPropertiesFormat struct { + DestinationLoadBalancerFrontEndIPConfiguration *FrontendIPConfiguration `json:"destinationLoadBalancerFrontEndIPConfiguration,omitempty"` + DestinationNetworkInterfaceIPConfiguration *NetworkInterfaceIPConfiguration `json:"destinationNetworkInterfaceIPConfiguration,omitempty"` + DestinationPort *int64 `json:"destinationPort,omitempty"` + NetworkInterfaceTapConfigurations *[]NetworkInterfaceTapConfiguration `json:"networkInterfaceTapConfigurations,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + ResourceGuid *string `json:"resourceGuid,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/predicates.go new file mode 100644 index 000000000000..33b8979e3ccd --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/predicates.go @@ -0,0 +1,32 @@ +package subnets + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type SubnetOperationPredicate struct { + Etag *string + Id *string + Name *string + Type *string +} + +func (p SubnetOperationPredicate) Matches(input Subnet) bool { + + if p.Etag != nil && (input.Etag == nil || *p.Etag != *input.Etag) { + return false + } + + if p.Id != nil && (input.Id == nil || *p.Id != *input.Id) { + return false + } + + if p.Name != nil && (input.Name == nil || *p.Name != *input.Name) { + return false + } + + if p.Type != nil && (input.Type == nil || *p.Type != *input.Type) { + return false + } + + return true +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/version.go new file mode 100644 index 000000000000..93b56536f683 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets/version.go @@ -0,0 +1,10 @@ +package subnets + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2024-03-01" + +func userAgent() string { + return "hashicorp/go-azure-sdk/subnets/2024-03-01" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/trafficanalytics/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/trafficanalytics/README.md new file mode 100644 index 000000000000..003ce69b10fc --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/trafficanalytics/README.md @@ -0,0 +1,54 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/trafficanalytics` Documentation + +The `trafficanalytics` SDK allows for interaction with Azure Resource Manager `network` (API Version `2024-03-01`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/trafficanalytics" +``` + + +### Client Initialization + +```go +client := trafficanalytics.NewTrafficAnalyticsClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `TrafficAnalyticsClient.NetworkWatchersGetFlowLogStatus` + +```go +ctx := context.TODO() +id := trafficanalytics.NewNetworkWatcherID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkWatcherName") + +payload := trafficanalytics.FlowLogStatusParameters{ + // ... +} + + +if err := client.NetworkWatchersGetFlowLogStatusThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `TrafficAnalyticsClient.NetworkWatchersSetFlowLogConfiguration` + +```go +ctx := context.TODO() +id := trafficanalytics.NewNetworkWatcherID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkWatcherName") + +payload := trafficanalytics.FlowLogInformation{ + // ... +} + + +if err := client.NetworkWatchersSetFlowLogConfigurationThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/trafficanalytics/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/trafficanalytics/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/trafficanalytics/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/trafficanalytics/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/trafficanalytics/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/trafficanalytics/constants.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/trafficanalytics/constants.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/trafficanalytics/constants.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/trafficanalytics/id_networkwatcher.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/trafficanalytics/id_networkwatcher.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/trafficanalytics/id_networkwatcher.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/trafficanalytics/id_networkwatcher.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/trafficanalytics/method_networkwatchersgetflowlogstatus.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/trafficanalytics/method_networkwatchersgetflowlogstatus.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/trafficanalytics/method_networkwatchersgetflowlogstatus.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/trafficanalytics/method_networkwatchersgetflowlogstatus.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/trafficanalytics/method_networkwatcherssetflowlogconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/trafficanalytics/method_networkwatcherssetflowlogconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/trafficanalytics/method_networkwatcherssetflowlogconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/trafficanalytics/method_networkwatcherssetflowlogconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/trafficanalytics/model_flowlogformatparameters.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/trafficanalytics/model_flowlogformatparameters.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/trafficanalytics/model_flowlogformatparameters.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/trafficanalytics/model_flowlogformatparameters.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/trafficanalytics/model_flowloginformation.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/trafficanalytics/model_flowloginformation.go new file mode 100644 index 000000000000..c4dc94d99f73 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/trafficanalytics/model_flowloginformation.go @@ -0,0 +1,15 @@ +package trafficanalytics + +import ( + "github.com/hashicorp/go-azure-helpers/resourcemanager/identity" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type FlowLogInformation struct { + FlowAnalyticsConfiguration *TrafficAnalyticsProperties `json:"flowAnalyticsConfiguration,omitempty"` + Identity *identity.SystemAndUserAssignedMap `json:"identity,omitempty"` + Properties FlowLogProperties `json:"properties"` + TargetResourceId string `json:"targetResourceId"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/trafficanalytics/model_flowlogproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/trafficanalytics/model_flowlogproperties.go new file mode 100644 index 000000000000..cf3b43fdbebf --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/trafficanalytics/model_flowlogproperties.go @@ -0,0 +1,12 @@ +package trafficanalytics + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type FlowLogProperties struct { + Enabled bool `json:"enabled"` + EnabledFilteringCriteria *string `json:"enabledFilteringCriteria,omitempty"` + Format *FlowLogFormatParameters `json:"format,omitempty"` + RetentionPolicy *RetentionPolicyParameters `json:"retentionPolicy,omitempty"` + StorageId string `json:"storageId"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/trafficanalytics/model_flowlogstatusparameters.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/trafficanalytics/model_flowlogstatusparameters.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/trafficanalytics/model_flowlogstatusparameters.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/trafficanalytics/model_flowlogstatusparameters.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/trafficanalytics/model_retentionpolicyparameters.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/trafficanalytics/model_retentionpolicyparameters.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/trafficanalytics/model_retentionpolicyparameters.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/trafficanalytics/model_retentionpolicyparameters.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/trafficanalytics/model_trafficanalyticsconfigurationproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/trafficanalytics/model_trafficanalyticsconfigurationproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/trafficanalytics/model_trafficanalyticsconfigurationproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/trafficanalytics/model_trafficanalyticsconfigurationproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/trafficanalytics/model_trafficanalyticsproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/trafficanalytics/model_trafficanalyticsproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/trafficanalytics/model_trafficanalyticsproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/trafficanalytics/model_trafficanalyticsproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/trafficanalytics/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/trafficanalytics/version.go new file mode 100644 index 000000000000..37128fd15384 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/trafficanalytics/version.go @@ -0,0 +1,10 @@ +package trafficanalytics + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2024-03-01" + +func userAgent() string { + return "hashicorp/go-azure-sdk/trafficanalytics/2024-03-01" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/usages/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/usages/README.md new file mode 100644 index 000000000000..ac3c458aa8c3 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/usages/README.md @@ -0,0 +1,37 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/usages` Documentation + +The `usages` SDK allows for interaction with Azure Resource Manager `network` (API Version `2024-03-01`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/usages" +``` + + +### Client Initialization + +```go +client := usages.NewUsagesClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `UsagesClient.List` + +```go +ctx := context.TODO() +id := usages.NewLocationID("12345678-1234-9876-4563-123456789012", "locationName") + +// alternatively `client.List(ctx, id)` can be used to do batched pagination +items, err := client.ListComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/usages/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/usages/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/usages/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/usages/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/usages/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/usages/constants.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/usages/constants.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/usages/constants.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/usages/id_location.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/usages/id_location.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/usages/id_location.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/usages/id_location.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/usages/method_list.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/usages/method_list.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/usages/method_list.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/usages/method_list.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/usages/model_usage.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/usages/model_usage.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/usages/model_usage.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/usages/model_usage.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/usages/model_usagename.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/usages/model_usagename.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/usages/model_usagename.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/usages/model_usagename.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/usages/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/usages/predicates.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/usages/predicates.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/usages/predicates.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/usages/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/usages/version.go new file mode 100644 index 000000000000..bd9406a21a78 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/usages/version.go @@ -0,0 +1,10 @@ +package usages + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2024-03-01" + +func userAgent() string { + return "hashicorp/go-azure-sdk/usages/2024-03-01" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vipswap/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vipswap/README.md new file mode 100644 index 000000000000..f8d4cf9aeb6a --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vipswap/README.md @@ -0,0 +1,69 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vipswap` Documentation + +The `vipswap` SDK allows for interaction with Azure Resource Manager `network` (API Version `2024-03-01`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vipswap" +``` + + +### Client Initialization + +```go +client := vipswap.NewVipSwapClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `VipSwapClient.Create` + +```go +ctx := context.TODO() +id := vipswap.NewCloudServiceID("12345678-1234-9876-4563-123456789012", "resourceGroupName", "cloudServiceName") + +payload := vipswap.SwapResource{ + // ... +} + + +if err := client.CreateThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `VipSwapClient.Get` + +```go +ctx := context.TODO() +id := vipswap.NewCloudServiceID("12345678-1234-9876-4563-123456789012", "resourceGroupName", "cloudServiceName") + +read, err := client.Get(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `VipSwapClient.List` + +```go +ctx := context.TODO() +id := vipswap.NewCloudServiceID("12345678-1234-9876-4563-123456789012", "resourceGroupName", "cloudServiceName") + +read, err := client.List(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vipswap/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vipswap/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vipswap/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vipswap/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vipswap/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vipswap/constants.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vipswap/constants.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vipswap/constants.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vipswap/id_cloudservice.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vipswap/id_cloudservice.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vipswap/id_cloudservice.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vipswap/id_cloudservice.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vipswap/method_create.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vipswap/method_create.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vipswap/method_create.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vipswap/method_create.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vipswap/method_get.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vipswap/method_get.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vipswap/method_get.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vipswap/method_get.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vipswap/method_list.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vipswap/method_list.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vipswap/method_list.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vipswap/method_list.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vipswap/model_swapresource.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vipswap/model_swapresource.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vipswap/model_swapresource.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vipswap/model_swapresource.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vipswap/model_swapresourcelistresult.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vipswap/model_swapresourcelistresult.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vipswap/model_swapresourcelistresult.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vipswap/model_swapresourcelistresult.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vipswap/model_swapresourceproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vipswap/model_swapresourceproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vipswap/model_swapresourceproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vipswap/model_swapresourceproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vipswap/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vipswap/version.go new file mode 100644 index 000000000000..280683c8eef8 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vipswap/version.go @@ -0,0 +1,10 @@ +package vipswap + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2024-03-01" + +func userAgent() string { + return "hashicorp/go-azure-sdk/vipswap/2024-03-01" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualappliancesites/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualappliancesites/README.md new file mode 100644 index 000000000000..9b1b90a265be --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualappliancesites/README.md @@ -0,0 +1,82 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualappliancesites` Documentation + +The `virtualappliancesites` SDK allows for interaction with Azure Resource Manager `network` (API Version `2024-03-01`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualappliancesites" +``` + + +### Client Initialization + +```go +client := virtualappliancesites.NewVirtualApplianceSitesClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `VirtualApplianceSitesClient.CreateOrUpdate` + +```go +ctx := context.TODO() +id := virtualappliancesites.NewVirtualApplianceSiteID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkVirtualApplianceName", "virtualApplianceSiteName") + +payload := virtualappliancesites.VirtualApplianceSite{ + // ... +} + + +if err := client.CreateOrUpdateThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `VirtualApplianceSitesClient.Delete` + +```go +ctx := context.TODO() +id := virtualappliancesites.NewVirtualApplianceSiteID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkVirtualApplianceName", "virtualApplianceSiteName") + +if err := client.DeleteThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `VirtualApplianceSitesClient.Get` + +```go +ctx := context.TODO() +id := virtualappliancesites.NewVirtualApplianceSiteID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkVirtualApplianceName", "virtualApplianceSiteName") + +read, err := client.Get(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `VirtualApplianceSitesClient.List` + +```go +ctx := context.TODO() +id := virtualappliancesites.NewNetworkVirtualApplianceID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkVirtualApplianceName") + +// alternatively `client.List(ctx, id)` can be used to do batched pagination +items, err := client.ListComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualappliancesites/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualappliancesites/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualappliancesites/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualappliancesites/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualappliancesites/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualappliancesites/constants.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualappliancesites/constants.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualappliancesites/constants.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualappliancesites/id_networkvirtualappliance.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualappliancesites/id_networkvirtualappliance.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualappliancesites/id_networkvirtualappliance.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualappliancesites/id_networkvirtualappliance.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualappliancesites/id_virtualappliancesite.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualappliancesites/id_virtualappliancesite.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualappliancesites/id_virtualappliancesite.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualappliancesites/id_virtualappliancesite.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualappliancesites/method_createorupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualappliancesites/method_createorupdate.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualappliancesites/method_createorupdate.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualappliancesites/method_createorupdate.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualappliancesites/method_delete.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualappliancesites/method_delete.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualappliancesites/method_delete.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualappliancesites/method_delete.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualappliancesites/method_get.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualappliancesites/method_get.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualappliancesites/method_get.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualappliancesites/method_get.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualappliancesites/method_list.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualappliancesites/method_list.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualappliancesites/method_list.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualappliancesites/method_list.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualappliancesites/model_breakoutcategorypolicies.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualappliancesites/model_breakoutcategorypolicies.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualappliancesites/model_breakoutcategorypolicies.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualappliancesites/model_breakoutcategorypolicies.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualappliancesites/model_office365policyproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualappliancesites/model_office365policyproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualappliancesites/model_office365policyproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualappliancesites/model_office365policyproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualappliancesites/model_virtualappliancesite.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualappliancesites/model_virtualappliancesite.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualappliancesites/model_virtualappliancesite.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualappliancesites/model_virtualappliancesite.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualappliancesites/model_virtualappliancesiteproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualappliancesites/model_virtualappliancesiteproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualappliancesites/model_virtualappliancesiteproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualappliancesites/model_virtualappliancesiteproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualappliancesites/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualappliancesites/predicates.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualappliancesites/predicates.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualappliancesites/predicates.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualappliancesites/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualappliancesites/version.go new file mode 100644 index 000000000000..44a1e1ae185a --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualappliancesites/version.go @@ -0,0 +1,10 @@ +package virtualappliancesites + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2024-03-01" + +func userAgent() string { + return "hashicorp/go-azure-sdk/virtualappliancesites/2024-03-01" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualapplianceskus/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualapplianceskus/README.md new file mode 100644 index 000000000000..f782b8173492 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualapplianceskus/README.md @@ -0,0 +1,54 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualapplianceskus` Documentation + +The `virtualapplianceskus` SDK allows for interaction with Azure Resource Manager `network` (API Version `2024-03-01`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" +import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualapplianceskus" +``` + + +### Client Initialization + +```go +client := virtualapplianceskus.NewVirtualApplianceSkusClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `VirtualApplianceSkusClient.Get` + +```go +ctx := context.TODO() +id := virtualapplianceskus.NewNetworkVirtualApplianceSkuID("12345678-1234-9876-4563-123456789012", "networkVirtualApplianceSkuName") + +read, err := client.Get(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `VirtualApplianceSkusClient.List` + +```go +ctx := context.TODO() +id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012") + +// alternatively `client.List(ctx, id)` can be used to do batched pagination +items, err := client.ListComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualapplianceskus/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualapplianceskus/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualapplianceskus/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualapplianceskus/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualapplianceskus/id_networkvirtualappliancesku.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualapplianceskus/id_networkvirtualappliancesku.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualapplianceskus/id_networkvirtualappliancesku.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualapplianceskus/id_networkvirtualappliancesku.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualapplianceskus/method_get.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualapplianceskus/method_get.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualapplianceskus/method_get.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualapplianceskus/method_get.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualapplianceskus/method_list.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualapplianceskus/method_list.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualapplianceskus/method_list.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualapplianceskus/method_list.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualapplianceskus/model_networkvirtualappliancesku.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualapplianceskus/model_networkvirtualappliancesku.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualapplianceskus/model_networkvirtualappliancesku.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualapplianceskus/model_networkvirtualappliancesku.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualapplianceskus/model_networkvirtualapplianceskuinstances.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualapplianceskus/model_networkvirtualapplianceskuinstances.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualapplianceskus/model_networkvirtualapplianceskuinstances.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualapplianceskus/model_networkvirtualapplianceskuinstances.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualapplianceskus/model_networkvirtualapplianceskupropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualapplianceskus/model_networkvirtualapplianceskupropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualapplianceskus/model_networkvirtualapplianceskupropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualapplianceskus/model_networkvirtualapplianceskupropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualapplianceskus/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualapplianceskus/predicates.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualapplianceskus/predicates.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualapplianceskus/predicates.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualapplianceskus/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualapplianceskus/version.go new file mode 100644 index 000000000000..d64ac97e5736 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualapplianceskus/version.go @@ -0,0 +1,10 @@ +package virtualapplianceskus + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2024-03-01" + +func userAgent() string { + return "hashicorp/go-azure-sdk/virtualapplianceskus/2024-03-01" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/README.md new file mode 100644 index 000000000000..e01886e18734 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/README.md @@ -0,0 +1,208 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections` Documentation + +The `virtualnetworkgatewayconnections` SDK allows for interaction with Azure Resource Manager `network` (API Version `2024-03-01`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" +import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections" +``` + + +### Client Initialization + +```go +client := virtualnetworkgatewayconnections.NewVirtualNetworkGatewayConnectionsClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `VirtualNetworkGatewayConnectionsClient.CreateOrUpdate` + +```go +ctx := context.TODO() +id := virtualnetworkgatewayconnections.NewConnectionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "connectionName") + +payload := virtualnetworkgatewayconnections.VirtualNetworkGatewayConnection{ + // ... +} + + +if err := client.CreateOrUpdateThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `VirtualNetworkGatewayConnectionsClient.Delete` + +```go +ctx := context.TODO() +id := virtualnetworkgatewayconnections.NewConnectionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "connectionName") + +if err := client.DeleteThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `VirtualNetworkGatewayConnectionsClient.Get` + +```go +ctx := context.TODO() +id := virtualnetworkgatewayconnections.NewConnectionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "connectionName") + +read, err := client.Get(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `VirtualNetworkGatewayConnectionsClient.GetIkeSas` + +```go +ctx := context.TODO() +id := virtualnetworkgatewayconnections.NewConnectionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "connectionName") + +if err := client.GetIkeSasThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `VirtualNetworkGatewayConnectionsClient.GetSharedKey` + +```go +ctx := context.TODO() +id := virtualnetworkgatewayconnections.NewConnectionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "connectionName") + +read, err := client.GetSharedKey(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `VirtualNetworkGatewayConnectionsClient.List` + +```go +ctx := context.TODO() +id := commonids.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group") + +// alternatively `client.List(ctx, id)` can be used to do batched pagination +items, err := client.ListComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `VirtualNetworkGatewayConnectionsClient.ResetConnection` + +```go +ctx := context.TODO() +id := virtualnetworkgatewayconnections.NewConnectionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "connectionName") + +if err := client.ResetConnectionThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `VirtualNetworkGatewayConnectionsClient.ResetSharedKey` + +```go +ctx := context.TODO() +id := virtualnetworkgatewayconnections.NewConnectionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "connectionName") + +payload := virtualnetworkgatewayconnections.ConnectionResetSharedKey{ + // ... +} + + +if err := client.ResetSharedKeyThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `VirtualNetworkGatewayConnectionsClient.SetSharedKey` + +```go +ctx := context.TODO() +id := virtualnetworkgatewayconnections.NewConnectionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "connectionName") + +payload := virtualnetworkgatewayconnections.ConnectionSharedKey{ + // ... +} + + +if err := client.SetSharedKeyThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `VirtualNetworkGatewayConnectionsClient.StartPacketCapture` + +```go +ctx := context.TODO() +id := virtualnetworkgatewayconnections.NewConnectionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "connectionName") + +payload := virtualnetworkgatewayconnections.VpnPacketCaptureStartParameters{ + // ... +} + + +if err := client.StartPacketCaptureThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `VirtualNetworkGatewayConnectionsClient.StopPacketCapture` + +```go +ctx := context.TODO() +id := virtualnetworkgatewayconnections.NewConnectionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "connectionName") + +payload := virtualnetworkgatewayconnections.VpnPacketCaptureStopParameters{ + // ... +} + + +if err := client.StopPacketCaptureThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `VirtualNetworkGatewayConnectionsClient.UpdateTags` + +```go +ctx := context.TODO() +id := virtualnetworkgatewayconnections.NewConnectionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "connectionName") + +payload := virtualnetworkgatewayconnections.TagsObject{ + // ... +} + + +if err := client.UpdateTagsThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/client.go new file mode 100644 index 000000000000..b74a1276981e --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/client.go @@ -0,0 +1,26 @@ +package virtualnetworkgatewayconnections + +import ( + "fmt" + + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + sdkEnv "github.com/hashicorp/go-azure-sdk/sdk/environments" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VirtualNetworkGatewayConnectionsClient struct { + Client *resourcemanager.Client +} + +func NewVirtualNetworkGatewayConnectionsClientWithBaseURI(sdkApi sdkEnv.Api) (*VirtualNetworkGatewayConnectionsClient, error) { + client, err := resourcemanager.NewClient(sdkApi, "virtualnetworkgatewayconnections", defaultApiVersion) + if err != nil { + return nil, fmt.Errorf("instantiating VirtualNetworkGatewayConnectionsClient: %+v", err) + } + + return &VirtualNetworkGatewayConnectionsClient{ + Client: client, + }, nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/constants.go new file mode 100644 index 000000000000..f7fbee05dd01 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/constants.go @@ -0,0 +1,1225 @@ +package virtualnetworkgatewayconnections + +import ( + "encoding/json" + "fmt" + "strings" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type AdminState string + +const ( + AdminStateDisabled AdminState = "Disabled" + AdminStateEnabled AdminState = "Enabled" +) + +func PossibleValuesForAdminState() []string { + return []string{ + string(AdminStateDisabled), + string(AdminStateEnabled), + } +} + +func (s *AdminState) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseAdminState(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseAdminState(input string) (*AdminState, error) { + vals := map[string]AdminState{ + "disabled": AdminStateDisabled, + "enabled": AdminStateEnabled, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := AdminState(input) + return &out, nil +} + +type DhGroup string + +const ( + DhGroupDHGroupOne DhGroup = "DHGroup1" + DhGroupDHGroupOneFour DhGroup = "DHGroup14" + DhGroupDHGroupTwo DhGroup = "DHGroup2" + DhGroupDHGroupTwoFour DhGroup = "DHGroup24" + DhGroupDHGroupTwoZeroFourEight DhGroup = "DHGroup2048" + DhGroupECPThreeEightFour DhGroup = "ECP384" + DhGroupECPTwoFiveSix DhGroup = "ECP256" + DhGroupNone DhGroup = "None" +) + +func PossibleValuesForDhGroup() []string { + return []string{ + string(DhGroupDHGroupOne), + string(DhGroupDHGroupOneFour), + string(DhGroupDHGroupTwo), + string(DhGroupDHGroupTwoFour), + string(DhGroupDHGroupTwoZeroFourEight), + string(DhGroupECPThreeEightFour), + string(DhGroupECPTwoFiveSix), + string(DhGroupNone), + } +} + +func (s *DhGroup) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseDhGroup(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseDhGroup(input string) (*DhGroup, error) { + vals := map[string]DhGroup{ + "dhgroup1": DhGroupDHGroupOne, + "dhgroup14": DhGroupDHGroupOneFour, + "dhgroup2": DhGroupDHGroupTwo, + "dhgroup24": DhGroupDHGroupTwoFour, + "dhgroup2048": DhGroupDHGroupTwoZeroFourEight, + "ecp384": DhGroupECPThreeEightFour, + "ecp256": DhGroupECPTwoFiveSix, + "none": DhGroupNone, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := DhGroup(input) + return &out, nil +} + +type IPAllocationMethod string + +const ( + IPAllocationMethodDynamic IPAllocationMethod = "Dynamic" + IPAllocationMethodStatic IPAllocationMethod = "Static" +) + +func PossibleValuesForIPAllocationMethod() []string { + return []string{ + string(IPAllocationMethodDynamic), + string(IPAllocationMethodStatic), + } +} + +func (s *IPAllocationMethod) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseIPAllocationMethod(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseIPAllocationMethod(input string) (*IPAllocationMethod, error) { + vals := map[string]IPAllocationMethod{ + "dynamic": IPAllocationMethodDynamic, + "static": IPAllocationMethodStatic, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := IPAllocationMethod(input) + return &out, nil +} + +type IPsecEncryption string + +const ( + IPsecEncryptionAESOneNineTwo IPsecEncryption = "AES192" + IPsecEncryptionAESOneTwoEight IPsecEncryption = "AES128" + IPsecEncryptionAESTwoFiveSix IPsecEncryption = "AES256" + IPsecEncryptionDES IPsecEncryption = "DES" + IPsecEncryptionDESThree IPsecEncryption = "DES3" + IPsecEncryptionGCMAESOneNineTwo IPsecEncryption = "GCMAES192" + IPsecEncryptionGCMAESOneTwoEight IPsecEncryption = "GCMAES128" + IPsecEncryptionGCMAESTwoFiveSix IPsecEncryption = "GCMAES256" + IPsecEncryptionNone IPsecEncryption = "None" +) + +func PossibleValuesForIPsecEncryption() []string { + return []string{ + string(IPsecEncryptionAESOneNineTwo), + string(IPsecEncryptionAESOneTwoEight), + string(IPsecEncryptionAESTwoFiveSix), + string(IPsecEncryptionDES), + string(IPsecEncryptionDESThree), + string(IPsecEncryptionGCMAESOneNineTwo), + string(IPsecEncryptionGCMAESOneTwoEight), + string(IPsecEncryptionGCMAESTwoFiveSix), + string(IPsecEncryptionNone), + } +} + +func (s *IPsecEncryption) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseIPsecEncryption(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseIPsecEncryption(input string) (*IPsecEncryption, error) { + vals := map[string]IPsecEncryption{ + "aes192": IPsecEncryptionAESOneNineTwo, + "aes128": IPsecEncryptionAESOneTwoEight, + "aes256": IPsecEncryptionAESTwoFiveSix, + "des": IPsecEncryptionDES, + "des3": IPsecEncryptionDESThree, + "gcmaes192": IPsecEncryptionGCMAESOneNineTwo, + "gcmaes128": IPsecEncryptionGCMAESOneTwoEight, + "gcmaes256": IPsecEncryptionGCMAESTwoFiveSix, + "none": IPsecEncryptionNone, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := IPsecEncryption(input) + return &out, nil +} + +type IPsecIntegrity string + +const ( + IPsecIntegrityGCMAESOneNineTwo IPsecIntegrity = "GCMAES192" + IPsecIntegrityGCMAESOneTwoEight IPsecIntegrity = "GCMAES128" + IPsecIntegrityGCMAESTwoFiveSix IPsecIntegrity = "GCMAES256" + IPsecIntegrityMDFive IPsecIntegrity = "MD5" + IPsecIntegritySHAOne IPsecIntegrity = "SHA1" + IPsecIntegritySHATwoFiveSix IPsecIntegrity = "SHA256" +) + +func PossibleValuesForIPsecIntegrity() []string { + return []string{ + string(IPsecIntegrityGCMAESOneNineTwo), + string(IPsecIntegrityGCMAESOneTwoEight), + string(IPsecIntegrityGCMAESTwoFiveSix), + string(IPsecIntegrityMDFive), + string(IPsecIntegritySHAOne), + string(IPsecIntegritySHATwoFiveSix), + } +} + +func (s *IPsecIntegrity) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseIPsecIntegrity(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseIPsecIntegrity(input string) (*IPsecIntegrity, error) { + vals := map[string]IPsecIntegrity{ + "gcmaes192": IPsecIntegrityGCMAESOneNineTwo, + "gcmaes128": IPsecIntegrityGCMAESOneTwoEight, + "gcmaes256": IPsecIntegrityGCMAESTwoFiveSix, + "md5": IPsecIntegrityMDFive, + "sha1": IPsecIntegritySHAOne, + "sha256": IPsecIntegritySHATwoFiveSix, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := IPsecIntegrity(input) + return &out, nil +} + +type IkeEncryption string + +const ( + IkeEncryptionAESOneNineTwo IkeEncryption = "AES192" + IkeEncryptionAESOneTwoEight IkeEncryption = "AES128" + IkeEncryptionAESTwoFiveSix IkeEncryption = "AES256" + IkeEncryptionDES IkeEncryption = "DES" + IkeEncryptionDESThree IkeEncryption = "DES3" + IkeEncryptionGCMAESOneTwoEight IkeEncryption = "GCMAES128" + IkeEncryptionGCMAESTwoFiveSix IkeEncryption = "GCMAES256" +) + +func PossibleValuesForIkeEncryption() []string { + return []string{ + string(IkeEncryptionAESOneNineTwo), + string(IkeEncryptionAESOneTwoEight), + string(IkeEncryptionAESTwoFiveSix), + string(IkeEncryptionDES), + string(IkeEncryptionDESThree), + string(IkeEncryptionGCMAESOneTwoEight), + string(IkeEncryptionGCMAESTwoFiveSix), + } +} + +func (s *IkeEncryption) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseIkeEncryption(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseIkeEncryption(input string) (*IkeEncryption, error) { + vals := map[string]IkeEncryption{ + "aes192": IkeEncryptionAESOneNineTwo, + "aes128": IkeEncryptionAESOneTwoEight, + "aes256": IkeEncryptionAESTwoFiveSix, + "des": IkeEncryptionDES, + "des3": IkeEncryptionDESThree, + "gcmaes128": IkeEncryptionGCMAESOneTwoEight, + "gcmaes256": IkeEncryptionGCMAESTwoFiveSix, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := IkeEncryption(input) + return &out, nil +} + +type IkeIntegrity string + +const ( + IkeIntegrityGCMAESOneTwoEight IkeIntegrity = "GCMAES128" + IkeIntegrityGCMAESTwoFiveSix IkeIntegrity = "GCMAES256" + IkeIntegrityMDFive IkeIntegrity = "MD5" + IkeIntegritySHAOne IkeIntegrity = "SHA1" + IkeIntegritySHAThreeEightFour IkeIntegrity = "SHA384" + IkeIntegritySHATwoFiveSix IkeIntegrity = "SHA256" +) + +func PossibleValuesForIkeIntegrity() []string { + return []string{ + string(IkeIntegrityGCMAESOneTwoEight), + string(IkeIntegrityGCMAESTwoFiveSix), + string(IkeIntegrityMDFive), + string(IkeIntegritySHAOne), + string(IkeIntegritySHAThreeEightFour), + string(IkeIntegritySHATwoFiveSix), + } +} + +func (s *IkeIntegrity) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseIkeIntegrity(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseIkeIntegrity(input string) (*IkeIntegrity, error) { + vals := map[string]IkeIntegrity{ + "gcmaes128": IkeIntegrityGCMAESOneTwoEight, + "gcmaes256": IkeIntegrityGCMAESTwoFiveSix, + "md5": IkeIntegrityMDFive, + "sha1": IkeIntegritySHAOne, + "sha384": IkeIntegritySHAThreeEightFour, + "sha256": IkeIntegritySHATwoFiveSix, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := IkeIntegrity(input) + return &out, nil +} + +type PfsGroup string + +const ( + PfsGroupECPThreeEightFour PfsGroup = "ECP384" + PfsGroupECPTwoFiveSix PfsGroup = "ECP256" + PfsGroupNone PfsGroup = "None" + PfsGroupPFSMM PfsGroup = "PFSMM" + PfsGroupPFSOne PfsGroup = "PFS1" + PfsGroupPFSOneFour PfsGroup = "PFS14" + PfsGroupPFSTwo PfsGroup = "PFS2" + PfsGroupPFSTwoFour PfsGroup = "PFS24" + PfsGroupPFSTwoZeroFourEight PfsGroup = "PFS2048" +) + +func PossibleValuesForPfsGroup() []string { + return []string{ + string(PfsGroupECPThreeEightFour), + string(PfsGroupECPTwoFiveSix), + string(PfsGroupNone), + string(PfsGroupPFSMM), + string(PfsGroupPFSOne), + string(PfsGroupPFSOneFour), + string(PfsGroupPFSTwo), + string(PfsGroupPFSTwoFour), + string(PfsGroupPFSTwoZeroFourEight), + } +} + +func (s *PfsGroup) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parsePfsGroup(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parsePfsGroup(input string) (*PfsGroup, error) { + vals := map[string]PfsGroup{ + "ecp384": PfsGroupECPThreeEightFour, + "ecp256": PfsGroupECPTwoFiveSix, + "none": PfsGroupNone, + "pfsmm": PfsGroupPFSMM, + "pfs1": PfsGroupPFSOne, + "pfs14": PfsGroupPFSOneFour, + "pfs2": PfsGroupPFSTwo, + "pfs24": PfsGroupPFSTwoFour, + "pfs2048": PfsGroupPFSTwoZeroFourEight, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := PfsGroup(input) + return &out, nil +} + +type ProvisioningState string + +const ( + ProvisioningStateDeleting ProvisioningState = "Deleting" + ProvisioningStateFailed ProvisioningState = "Failed" + ProvisioningStateSucceeded ProvisioningState = "Succeeded" + ProvisioningStateUpdating ProvisioningState = "Updating" +) + +func PossibleValuesForProvisioningState() []string { + return []string{ + string(ProvisioningStateDeleting), + string(ProvisioningStateFailed), + string(ProvisioningStateSucceeded), + string(ProvisioningStateUpdating), + } +} + +func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseProvisioningState(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseProvisioningState(input string) (*ProvisioningState, error) { + vals := map[string]ProvisioningState{ + "deleting": ProvisioningStateDeleting, + "failed": ProvisioningStateFailed, + "succeeded": ProvisioningStateSucceeded, + "updating": ProvisioningStateUpdating, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ProvisioningState(input) + return &out, nil +} + +type ResiliencyModel string + +const ( + ResiliencyModelMultiHomed ResiliencyModel = "MultiHomed" + ResiliencyModelSingleHomed ResiliencyModel = "SingleHomed" +) + +func PossibleValuesForResiliencyModel() []string { + return []string{ + string(ResiliencyModelMultiHomed), + string(ResiliencyModelSingleHomed), + } +} + +func (s *ResiliencyModel) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseResiliencyModel(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseResiliencyModel(input string) (*ResiliencyModel, error) { + vals := map[string]ResiliencyModel{ + "multihomed": ResiliencyModelMultiHomed, + "singlehomed": ResiliencyModelSingleHomed, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ResiliencyModel(input) + return &out, nil +} + +type VirtualNetworkGatewayConnectionMode string + +const ( + VirtualNetworkGatewayConnectionModeDefault VirtualNetworkGatewayConnectionMode = "Default" + VirtualNetworkGatewayConnectionModeInitiatorOnly VirtualNetworkGatewayConnectionMode = "InitiatorOnly" + VirtualNetworkGatewayConnectionModeResponderOnly VirtualNetworkGatewayConnectionMode = "ResponderOnly" +) + +func PossibleValuesForVirtualNetworkGatewayConnectionMode() []string { + return []string{ + string(VirtualNetworkGatewayConnectionModeDefault), + string(VirtualNetworkGatewayConnectionModeInitiatorOnly), + string(VirtualNetworkGatewayConnectionModeResponderOnly), + } +} + +func (s *VirtualNetworkGatewayConnectionMode) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseVirtualNetworkGatewayConnectionMode(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseVirtualNetworkGatewayConnectionMode(input string) (*VirtualNetworkGatewayConnectionMode, error) { + vals := map[string]VirtualNetworkGatewayConnectionMode{ + "default": VirtualNetworkGatewayConnectionModeDefault, + "initiatoronly": VirtualNetworkGatewayConnectionModeInitiatorOnly, + "responderonly": VirtualNetworkGatewayConnectionModeResponderOnly, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := VirtualNetworkGatewayConnectionMode(input) + return &out, nil +} + +type VirtualNetworkGatewayConnectionProtocol string + +const ( + VirtualNetworkGatewayConnectionProtocolIKEvOne VirtualNetworkGatewayConnectionProtocol = "IKEv1" + VirtualNetworkGatewayConnectionProtocolIKEvTwo VirtualNetworkGatewayConnectionProtocol = "IKEv2" +) + +func PossibleValuesForVirtualNetworkGatewayConnectionProtocol() []string { + return []string{ + string(VirtualNetworkGatewayConnectionProtocolIKEvOne), + string(VirtualNetworkGatewayConnectionProtocolIKEvTwo), + } +} + +func (s *VirtualNetworkGatewayConnectionProtocol) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseVirtualNetworkGatewayConnectionProtocol(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseVirtualNetworkGatewayConnectionProtocol(input string) (*VirtualNetworkGatewayConnectionProtocol, error) { + vals := map[string]VirtualNetworkGatewayConnectionProtocol{ + "ikev1": VirtualNetworkGatewayConnectionProtocolIKEvOne, + "ikev2": VirtualNetworkGatewayConnectionProtocolIKEvTwo, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := VirtualNetworkGatewayConnectionProtocol(input) + return &out, nil +} + +type VirtualNetworkGatewayConnectionStatus string + +const ( + VirtualNetworkGatewayConnectionStatusConnected VirtualNetworkGatewayConnectionStatus = "Connected" + VirtualNetworkGatewayConnectionStatusConnecting VirtualNetworkGatewayConnectionStatus = "Connecting" + VirtualNetworkGatewayConnectionStatusNotConnected VirtualNetworkGatewayConnectionStatus = "NotConnected" + VirtualNetworkGatewayConnectionStatusUnknown VirtualNetworkGatewayConnectionStatus = "Unknown" +) + +func PossibleValuesForVirtualNetworkGatewayConnectionStatus() []string { + return []string{ + string(VirtualNetworkGatewayConnectionStatusConnected), + string(VirtualNetworkGatewayConnectionStatusConnecting), + string(VirtualNetworkGatewayConnectionStatusNotConnected), + string(VirtualNetworkGatewayConnectionStatusUnknown), + } +} + +func (s *VirtualNetworkGatewayConnectionStatus) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseVirtualNetworkGatewayConnectionStatus(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseVirtualNetworkGatewayConnectionStatus(input string) (*VirtualNetworkGatewayConnectionStatus, error) { + vals := map[string]VirtualNetworkGatewayConnectionStatus{ + "connected": VirtualNetworkGatewayConnectionStatusConnected, + "connecting": VirtualNetworkGatewayConnectionStatusConnecting, + "notconnected": VirtualNetworkGatewayConnectionStatusNotConnected, + "unknown": VirtualNetworkGatewayConnectionStatusUnknown, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := VirtualNetworkGatewayConnectionStatus(input) + return &out, nil +} + +type VirtualNetworkGatewayConnectionType string + +const ( + VirtualNetworkGatewayConnectionTypeExpressRoute VirtualNetworkGatewayConnectionType = "ExpressRoute" + VirtualNetworkGatewayConnectionTypeIPsec VirtualNetworkGatewayConnectionType = "IPsec" + VirtualNetworkGatewayConnectionTypeVPNClient VirtualNetworkGatewayConnectionType = "VPNClient" + VirtualNetworkGatewayConnectionTypeVnetTwoVnet VirtualNetworkGatewayConnectionType = "Vnet2Vnet" +) + +func PossibleValuesForVirtualNetworkGatewayConnectionType() []string { + return []string{ + string(VirtualNetworkGatewayConnectionTypeExpressRoute), + string(VirtualNetworkGatewayConnectionTypeIPsec), + string(VirtualNetworkGatewayConnectionTypeVPNClient), + string(VirtualNetworkGatewayConnectionTypeVnetTwoVnet), + } +} + +func (s *VirtualNetworkGatewayConnectionType) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseVirtualNetworkGatewayConnectionType(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseVirtualNetworkGatewayConnectionType(input string) (*VirtualNetworkGatewayConnectionType, error) { + vals := map[string]VirtualNetworkGatewayConnectionType{ + "expressroute": VirtualNetworkGatewayConnectionTypeExpressRoute, + "ipsec": VirtualNetworkGatewayConnectionTypeIPsec, + "vpnclient": VirtualNetworkGatewayConnectionTypeVPNClient, + "vnet2vnet": VirtualNetworkGatewayConnectionTypeVnetTwoVnet, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := VirtualNetworkGatewayConnectionType(input) + return &out, nil +} + +type VirtualNetworkGatewaySkuName string + +const ( + VirtualNetworkGatewaySkuNameBasic VirtualNetworkGatewaySkuName = "Basic" + VirtualNetworkGatewaySkuNameErGwOneAZ VirtualNetworkGatewaySkuName = "ErGw1AZ" + VirtualNetworkGatewaySkuNameErGwScale VirtualNetworkGatewaySkuName = "ErGwScale" + VirtualNetworkGatewaySkuNameErGwThreeAZ VirtualNetworkGatewaySkuName = "ErGw3AZ" + VirtualNetworkGatewaySkuNameErGwTwoAZ VirtualNetworkGatewaySkuName = "ErGw2AZ" + VirtualNetworkGatewaySkuNameHighPerformance VirtualNetworkGatewaySkuName = "HighPerformance" + VirtualNetworkGatewaySkuNameStandard VirtualNetworkGatewaySkuName = "Standard" + VirtualNetworkGatewaySkuNameUltraPerformance VirtualNetworkGatewaySkuName = "UltraPerformance" + VirtualNetworkGatewaySkuNameVpnGwFive VirtualNetworkGatewaySkuName = "VpnGw5" + VirtualNetworkGatewaySkuNameVpnGwFiveAZ VirtualNetworkGatewaySkuName = "VpnGw5AZ" + VirtualNetworkGatewaySkuNameVpnGwFour VirtualNetworkGatewaySkuName = "VpnGw4" + VirtualNetworkGatewaySkuNameVpnGwFourAZ VirtualNetworkGatewaySkuName = "VpnGw4AZ" + VirtualNetworkGatewaySkuNameVpnGwOne VirtualNetworkGatewaySkuName = "VpnGw1" + VirtualNetworkGatewaySkuNameVpnGwOneAZ VirtualNetworkGatewaySkuName = "VpnGw1AZ" + VirtualNetworkGatewaySkuNameVpnGwThree VirtualNetworkGatewaySkuName = "VpnGw3" + VirtualNetworkGatewaySkuNameVpnGwThreeAZ VirtualNetworkGatewaySkuName = "VpnGw3AZ" + VirtualNetworkGatewaySkuNameVpnGwTwo VirtualNetworkGatewaySkuName = "VpnGw2" + VirtualNetworkGatewaySkuNameVpnGwTwoAZ VirtualNetworkGatewaySkuName = "VpnGw2AZ" +) + +func PossibleValuesForVirtualNetworkGatewaySkuName() []string { + return []string{ + string(VirtualNetworkGatewaySkuNameBasic), + string(VirtualNetworkGatewaySkuNameErGwOneAZ), + string(VirtualNetworkGatewaySkuNameErGwScale), + string(VirtualNetworkGatewaySkuNameErGwThreeAZ), + string(VirtualNetworkGatewaySkuNameErGwTwoAZ), + string(VirtualNetworkGatewaySkuNameHighPerformance), + string(VirtualNetworkGatewaySkuNameStandard), + string(VirtualNetworkGatewaySkuNameUltraPerformance), + string(VirtualNetworkGatewaySkuNameVpnGwFive), + string(VirtualNetworkGatewaySkuNameVpnGwFiveAZ), + string(VirtualNetworkGatewaySkuNameVpnGwFour), + string(VirtualNetworkGatewaySkuNameVpnGwFourAZ), + string(VirtualNetworkGatewaySkuNameVpnGwOne), + string(VirtualNetworkGatewaySkuNameVpnGwOneAZ), + string(VirtualNetworkGatewaySkuNameVpnGwThree), + string(VirtualNetworkGatewaySkuNameVpnGwThreeAZ), + string(VirtualNetworkGatewaySkuNameVpnGwTwo), + string(VirtualNetworkGatewaySkuNameVpnGwTwoAZ), + } +} + +func (s *VirtualNetworkGatewaySkuName) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseVirtualNetworkGatewaySkuName(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseVirtualNetworkGatewaySkuName(input string) (*VirtualNetworkGatewaySkuName, error) { + vals := map[string]VirtualNetworkGatewaySkuName{ + "basic": VirtualNetworkGatewaySkuNameBasic, + "ergw1az": VirtualNetworkGatewaySkuNameErGwOneAZ, + "ergwscale": VirtualNetworkGatewaySkuNameErGwScale, + "ergw3az": VirtualNetworkGatewaySkuNameErGwThreeAZ, + "ergw2az": VirtualNetworkGatewaySkuNameErGwTwoAZ, + "highperformance": VirtualNetworkGatewaySkuNameHighPerformance, + "standard": VirtualNetworkGatewaySkuNameStandard, + "ultraperformance": VirtualNetworkGatewaySkuNameUltraPerformance, + "vpngw5": VirtualNetworkGatewaySkuNameVpnGwFive, + "vpngw5az": VirtualNetworkGatewaySkuNameVpnGwFiveAZ, + "vpngw4": VirtualNetworkGatewaySkuNameVpnGwFour, + "vpngw4az": VirtualNetworkGatewaySkuNameVpnGwFourAZ, + "vpngw1": VirtualNetworkGatewaySkuNameVpnGwOne, + "vpngw1az": VirtualNetworkGatewaySkuNameVpnGwOneAZ, + "vpngw3": VirtualNetworkGatewaySkuNameVpnGwThree, + "vpngw3az": VirtualNetworkGatewaySkuNameVpnGwThreeAZ, + "vpngw2": VirtualNetworkGatewaySkuNameVpnGwTwo, + "vpngw2az": VirtualNetworkGatewaySkuNameVpnGwTwoAZ, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := VirtualNetworkGatewaySkuName(input) + return &out, nil +} + +type VirtualNetworkGatewaySkuTier string + +const ( + VirtualNetworkGatewaySkuTierBasic VirtualNetworkGatewaySkuTier = "Basic" + VirtualNetworkGatewaySkuTierErGwOneAZ VirtualNetworkGatewaySkuTier = "ErGw1AZ" + VirtualNetworkGatewaySkuTierErGwScale VirtualNetworkGatewaySkuTier = "ErGwScale" + VirtualNetworkGatewaySkuTierErGwThreeAZ VirtualNetworkGatewaySkuTier = "ErGw3AZ" + VirtualNetworkGatewaySkuTierErGwTwoAZ VirtualNetworkGatewaySkuTier = "ErGw2AZ" + VirtualNetworkGatewaySkuTierHighPerformance VirtualNetworkGatewaySkuTier = "HighPerformance" + VirtualNetworkGatewaySkuTierStandard VirtualNetworkGatewaySkuTier = "Standard" + VirtualNetworkGatewaySkuTierUltraPerformance VirtualNetworkGatewaySkuTier = "UltraPerformance" + VirtualNetworkGatewaySkuTierVpnGwFive VirtualNetworkGatewaySkuTier = "VpnGw5" + VirtualNetworkGatewaySkuTierVpnGwFiveAZ VirtualNetworkGatewaySkuTier = "VpnGw5AZ" + VirtualNetworkGatewaySkuTierVpnGwFour VirtualNetworkGatewaySkuTier = "VpnGw4" + VirtualNetworkGatewaySkuTierVpnGwFourAZ VirtualNetworkGatewaySkuTier = "VpnGw4AZ" + VirtualNetworkGatewaySkuTierVpnGwOne VirtualNetworkGatewaySkuTier = "VpnGw1" + VirtualNetworkGatewaySkuTierVpnGwOneAZ VirtualNetworkGatewaySkuTier = "VpnGw1AZ" + VirtualNetworkGatewaySkuTierVpnGwThree VirtualNetworkGatewaySkuTier = "VpnGw3" + VirtualNetworkGatewaySkuTierVpnGwThreeAZ VirtualNetworkGatewaySkuTier = "VpnGw3AZ" + VirtualNetworkGatewaySkuTierVpnGwTwo VirtualNetworkGatewaySkuTier = "VpnGw2" + VirtualNetworkGatewaySkuTierVpnGwTwoAZ VirtualNetworkGatewaySkuTier = "VpnGw2AZ" +) + +func PossibleValuesForVirtualNetworkGatewaySkuTier() []string { + return []string{ + string(VirtualNetworkGatewaySkuTierBasic), + string(VirtualNetworkGatewaySkuTierErGwOneAZ), + string(VirtualNetworkGatewaySkuTierErGwScale), + string(VirtualNetworkGatewaySkuTierErGwThreeAZ), + string(VirtualNetworkGatewaySkuTierErGwTwoAZ), + string(VirtualNetworkGatewaySkuTierHighPerformance), + string(VirtualNetworkGatewaySkuTierStandard), + string(VirtualNetworkGatewaySkuTierUltraPerformance), + string(VirtualNetworkGatewaySkuTierVpnGwFive), + string(VirtualNetworkGatewaySkuTierVpnGwFiveAZ), + string(VirtualNetworkGatewaySkuTierVpnGwFour), + string(VirtualNetworkGatewaySkuTierVpnGwFourAZ), + string(VirtualNetworkGatewaySkuTierVpnGwOne), + string(VirtualNetworkGatewaySkuTierVpnGwOneAZ), + string(VirtualNetworkGatewaySkuTierVpnGwThree), + string(VirtualNetworkGatewaySkuTierVpnGwThreeAZ), + string(VirtualNetworkGatewaySkuTierVpnGwTwo), + string(VirtualNetworkGatewaySkuTierVpnGwTwoAZ), + } +} + +func (s *VirtualNetworkGatewaySkuTier) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseVirtualNetworkGatewaySkuTier(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseVirtualNetworkGatewaySkuTier(input string) (*VirtualNetworkGatewaySkuTier, error) { + vals := map[string]VirtualNetworkGatewaySkuTier{ + "basic": VirtualNetworkGatewaySkuTierBasic, + "ergw1az": VirtualNetworkGatewaySkuTierErGwOneAZ, + "ergwscale": VirtualNetworkGatewaySkuTierErGwScale, + "ergw3az": VirtualNetworkGatewaySkuTierErGwThreeAZ, + "ergw2az": VirtualNetworkGatewaySkuTierErGwTwoAZ, + "highperformance": VirtualNetworkGatewaySkuTierHighPerformance, + "standard": VirtualNetworkGatewaySkuTierStandard, + "ultraperformance": VirtualNetworkGatewaySkuTierUltraPerformance, + "vpngw5": VirtualNetworkGatewaySkuTierVpnGwFive, + "vpngw5az": VirtualNetworkGatewaySkuTierVpnGwFiveAZ, + "vpngw4": VirtualNetworkGatewaySkuTierVpnGwFour, + "vpngw4az": VirtualNetworkGatewaySkuTierVpnGwFourAZ, + "vpngw1": VirtualNetworkGatewaySkuTierVpnGwOne, + "vpngw1az": VirtualNetworkGatewaySkuTierVpnGwOneAZ, + "vpngw3": VirtualNetworkGatewaySkuTierVpnGwThree, + "vpngw3az": VirtualNetworkGatewaySkuTierVpnGwThreeAZ, + "vpngw2": VirtualNetworkGatewaySkuTierVpnGwTwo, + "vpngw2az": VirtualNetworkGatewaySkuTierVpnGwTwoAZ, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := VirtualNetworkGatewaySkuTier(input) + return &out, nil +} + +type VirtualNetworkGatewayType string + +const ( + VirtualNetworkGatewayTypeExpressRoute VirtualNetworkGatewayType = "ExpressRoute" + VirtualNetworkGatewayTypeLocalGateway VirtualNetworkGatewayType = "LocalGateway" + VirtualNetworkGatewayTypeVpn VirtualNetworkGatewayType = "Vpn" +) + +func PossibleValuesForVirtualNetworkGatewayType() []string { + return []string{ + string(VirtualNetworkGatewayTypeExpressRoute), + string(VirtualNetworkGatewayTypeLocalGateway), + string(VirtualNetworkGatewayTypeVpn), + } +} + +func (s *VirtualNetworkGatewayType) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseVirtualNetworkGatewayType(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseVirtualNetworkGatewayType(input string) (*VirtualNetworkGatewayType, error) { + vals := map[string]VirtualNetworkGatewayType{ + "expressroute": VirtualNetworkGatewayTypeExpressRoute, + "localgateway": VirtualNetworkGatewayTypeLocalGateway, + "vpn": VirtualNetworkGatewayTypeVpn, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := VirtualNetworkGatewayType(input) + return &out, nil +} + +type VpnAuthenticationType string + +const ( + VpnAuthenticationTypeAAD VpnAuthenticationType = "AAD" + VpnAuthenticationTypeCertificate VpnAuthenticationType = "Certificate" + VpnAuthenticationTypeRadius VpnAuthenticationType = "Radius" +) + +func PossibleValuesForVpnAuthenticationType() []string { + return []string{ + string(VpnAuthenticationTypeAAD), + string(VpnAuthenticationTypeCertificate), + string(VpnAuthenticationTypeRadius), + } +} + +func (s *VpnAuthenticationType) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseVpnAuthenticationType(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseVpnAuthenticationType(input string) (*VpnAuthenticationType, error) { + vals := map[string]VpnAuthenticationType{ + "aad": VpnAuthenticationTypeAAD, + "certificate": VpnAuthenticationTypeCertificate, + "radius": VpnAuthenticationTypeRadius, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := VpnAuthenticationType(input) + return &out, nil +} + +type VpnClientProtocol string + +const ( + VpnClientProtocolIkeVTwo VpnClientProtocol = "IkeV2" + VpnClientProtocolOpenVPN VpnClientProtocol = "OpenVPN" + VpnClientProtocolSSTP VpnClientProtocol = "SSTP" +) + +func PossibleValuesForVpnClientProtocol() []string { + return []string{ + string(VpnClientProtocolIkeVTwo), + string(VpnClientProtocolOpenVPN), + string(VpnClientProtocolSSTP), + } +} + +func (s *VpnClientProtocol) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseVpnClientProtocol(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseVpnClientProtocol(input string) (*VpnClientProtocol, error) { + vals := map[string]VpnClientProtocol{ + "ikev2": VpnClientProtocolIkeVTwo, + "openvpn": VpnClientProtocolOpenVPN, + "sstp": VpnClientProtocolSSTP, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := VpnClientProtocol(input) + return &out, nil +} + +type VpnGatewayGeneration string + +const ( + VpnGatewayGenerationGenerationOne VpnGatewayGeneration = "Generation1" + VpnGatewayGenerationGenerationTwo VpnGatewayGeneration = "Generation2" + VpnGatewayGenerationNone VpnGatewayGeneration = "None" +) + +func PossibleValuesForVpnGatewayGeneration() []string { + return []string{ + string(VpnGatewayGenerationGenerationOne), + string(VpnGatewayGenerationGenerationTwo), + string(VpnGatewayGenerationNone), + } +} + +func (s *VpnGatewayGeneration) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseVpnGatewayGeneration(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseVpnGatewayGeneration(input string) (*VpnGatewayGeneration, error) { + vals := map[string]VpnGatewayGeneration{ + "generation1": VpnGatewayGenerationGenerationOne, + "generation2": VpnGatewayGenerationGenerationTwo, + "none": VpnGatewayGenerationNone, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := VpnGatewayGeneration(input) + return &out, nil +} + +type VpnNatRuleMode string + +const ( + VpnNatRuleModeEgressSnat VpnNatRuleMode = "EgressSnat" + VpnNatRuleModeIngressSnat VpnNatRuleMode = "IngressSnat" +) + +func PossibleValuesForVpnNatRuleMode() []string { + return []string{ + string(VpnNatRuleModeEgressSnat), + string(VpnNatRuleModeIngressSnat), + } +} + +func (s *VpnNatRuleMode) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseVpnNatRuleMode(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseVpnNatRuleMode(input string) (*VpnNatRuleMode, error) { + vals := map[string]VpnNatRuleMode{ + "egresssnat": VpnNatRuleModeEgressSnat, + "ingresssnat": VpnNatRuleModeIngressSnat, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := VpnNatRuleMode(input) + return &out, nil +} + +type VpnNatRuleType string + +const ( + VpnNatRuleTypeDynamic VpnNatRuleType = "Dynamic" + VpnNatRuleTypeStatic VpnNatRuleType = "Static" +) + +func PossibleValuesForVpnNatRuleType() []string { + return []string{ + string(VpnNatRuleTypeDynamic), + string(VpnNatRuleTypeStatic), + } +} + +func (s *VpnNatRuleType) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseVpnNatRuleType(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseVpnNatRuleType(input string) (*VpnNatRuleType, error) { + vals := map[string]VpnNatRuleType{ + "dynamic": VpnNatRuleTypeDynamic, + "static": VpnNatRuleTypeStatic, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := VpnNatRuleType(input) + return &out, nil +} + +type VpnPolicyMemberAttributeType string + +const ( + VpnPolicyMemberAttributeTypeAADGroupId VpnPolicyMemberAttributeType = "AADGroupId" + VpnPolicyMemberAttributeTypeCertificateGroupId VpnPolicyMemberAttributeType = "CertificateGroupId" + VpnPolicyMemberAttributeTypeRadiusAzureGroupId VpnPolicyMemberAttributeType = "RadiusAzureGroupId" +) + +func PossibleValuesForVpnPolicyMemberAttributeType() []string { + return []string{ + string(VpnPolicyMemberAttributeTypeAADGroupId), + string(VpnPolicyMemberAttributeTypeCertificateGroupId), + string(VpnPolicyMemberAttributeTypeRadiusAzureGroupId), + } +} + +func (s *VpnPolicyMemberAttributeType) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseVpnPolicyMemberAttributeType(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseVpnPolicyMemberAttributeType(input string) (*VpnPolicyMemberAttributeType, error) { + vals := map[string]VpnPolicyMemberAttributeType{ + "aadgroupid": VpnPolicyMemberAttributeTypeAADGroupId, + "certificategroupid": VpnPolicyMemberAttributeTypeCertificateGroupId, + "radiusazuregroupid": VpnPolicyMemberAttributeTypeRadiusAzureGroupId, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := VpnPolicyMemberAttributeType(input) + return &out, nil +} + +type VpnType string + +const ( + VpnTypePolicyBased VpnType = "PolicyBased" + VpnTypeRouteBased VpnType = "RouteBased" +) + +func PossibleValuesForVpnType() []string { + return []string{ + string(VpnTypePolicyBased), + string(VpnTypeRouteBased), + } +} + +func (s *VpnType) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseVpnType(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseVpnType(input string) (*VpnType, error) { + vals := map[string]VpnType{ + "policybased": VpnTypePolicyBased, + "routebased": VpnTypeRouteBased, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := VpnType(input) + return &out, nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/id_connection.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/id_connection.go new file mode 100644 index 000000000000..25fa92d52388 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/id_connection.go @@ -0,0 +1,130 @@ +package virtualnetworkgatewayconnections + +import ( + "fmt" + "strings" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/recaser" + "github.com/hashicorp/go-azure-helpers/resourcemanager/resourceids" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +func init() { + recaser.RegisterResourceId(&ConnectionId{}) +} + +var _ resourceids.ResourceId = &ConnectionId{} + +// ConnectionId is a struct representing the Resource ID for a Connection +type ConnectionId struct { + SubscriptionId string + ResourceGroupName string + ConnectionName string +} + +// NewConnectionID returns a new ConnectionId struct +func NewConnectionID(subscriptionId string, resourceGroupName string, connectionName string) ConnectionId { + return ConnectionId{ + SubscriptionId: subscriptionId, + ResourceGroupName: resourceGroupName, + ConnectionName: connectionName, + } +} + +// ParseConnectionID parses 'input' into a ConnectionId +func ParseConnectionID(input string) (*ConnectionId, error) { + parser := resourceids.NewParserFromResourceIdType(&ConnectionId{}) + parsed, err := parser.Parse(input, false) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := ConnectionId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +// ParseConnectionIDInsensitively parses 'input' case-insensitively into a ConnectionId +// note: this method should only be used for API response data and not user input +func ParseConnectionIDInsensitively(input string) (*ConnectionId, error) { + parser := resourceids.NewParserFromResourceIdType(&ConnectionId{}) + parsed, err := parser.Parse(input, true) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := ConnectionId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +func (id *ConnectionId) FromParseResult(input resourceids.ParseResult) error { + var ok bool + + if id.SubscriptionId, ok = input.Parsed["subscriptionId"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "subscriptionId", input) + } + + if id.ResourceGroupName, ok = input.Parsed["resourceGroupName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "resourceGroupName", input) + } + + if id.ConnectionName, ok = input.Parsed["connectionName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "connectionName", input) + } + + return nil +} + +// ValidateConnectionID checks that 'input' can be parsed as a Connection ID +func ValidateConnectionID(input interface{}, key string) (warnings []string, errors []error) { + v, ok := input.(string) + if !ok { + errors = append(errors, fmt.Errorf("expected %q to be a string", key)) + return + } + + if _, err := ParseConnectionID(v); err != nil { + errors = append(errors, err) + } + + return +} + +// ID returns the formatted Connection ID +func (id ConnectionId) ID() string { + fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.Network/connections/%s" + return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.ConnectionName) +} + +// Segments returns a slice of Resource ID Segments which comprise this Connection ID +func (id ConnectionId) Segments() []resourceids.Segment { + return []resourceids.Segment{ + resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), + resourceids.SubscriptionIdSegment("subscriptionId", "12345678-1234-9876-4563-123456789012"), + resourceids.StaticSegment("staticResourceGroups", "resourceGroups", "resourceGroups"), + resourceids.ResourceGroupSegment("resourceGroupName", "example-resource-group"), + resourceids.StaticSegment("staticProviders", "providers", "providers"), + resourceids.ResourceProviderSegment("staticMicrosoftNetwork", "Microsoft.Network", "Microsoft.Network"), + resourceids.StaticSegment("staticConnections", "connections", "connections"), + resourceids.UserSpecifiedSegment("connectionName", "connectionName"), + } +} + +// String returns a human-readable description of this Connection ID +func (id ConnectionId) String() string { + components := []string{ + fmt.Sprintf("Subscription: %q", id.SubscriptionId), + fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), + fmt.Sprintf("Connection Name: %q", id.ConnectionName), + } + return fmt.Sprintf("Connection (%s)", strings.Join(components, "\n")) +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/method_createorupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/method_createorupdate.go new file mode 100644 index 000000000000..2c95ee842546 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/method_createorupdate.go @@ -0,0 +1,75 @@ +package virtualnetworkgatewayconnections + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/client/pollers" + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type CreateOrUpdateOperationResponse struct { + Poller pollers.Poller + HttpResponse *http.Response + OData *odata.OData + Model *VirtualNetworkGatewayConnection +} + +// CreateOrUpdate ... +func (c VirtualNetworkGatewayConnectionsClient) CreateOrUpdate(ctx context.Context, id ConnectionId, input VirtualNetworkGatewayConnection) (result CreateOrUpdateOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusCreated, + http.StatusOK, + }, + HttpMethod: http.MethodPut, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + if err = req.Marshal(input); err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client) + if err != nil { + return + } + + return +} + +// CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed +func (c VirtualNetworkGatewayConnectionsClient) CreateOrUpdateThenPoll(ctx context.Context, id ConnectionId, input VirtualNetworkGatewayConnection) error { + result, err := c.CreateOrUpdate(ctx, id, input) + if err != nil { + return fmt.Errorf("performing CreateOrUpdate: %+v", err) + } + + if err := result.Poller.PollUntilDone(ctx); err != nil { + return fmt.Errorf("polling after CreateOrUpdate: %+v", err) + } + + return nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/method_delete.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/method_delete.go new file mode 100644 index 000000000000..4d46161ff400 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/method_delete.go @@ -0,0 +1,71 @@ +package virtualnetworkgatewayconnections + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/client/pollers" + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type DeleteOperationResponse struct { + Poller pollers.Poller + HttpResponse *http.Response + OData *odata.OData +} + +// Delete ... +func (c VirtualNetworkGatewayConnectionsClient) Delete(ctx context.Context, id ConnectionId) (result DeleteOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusAccepted, + http.StatusNoContent, + http.StatusOK, + }, + HttpMethod: http.MethodDelete, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client) + if err != nil { + return + } + + return +} + +// DeleteThenPoll performs Delete then polls until it's completed +func (c VirtualNetworkGatewayConnectionsClient) DeleteThenPoll(ctx context.Context, id ConnectionId) error { + result, err := c.Delete(ctx, id) + if err != nil { + return fmt.Errorf("performing Delete: %+v", err) + } + + if err := result.Poller.PollUntilDone(ctx); err != nil { + return fmt.Errorf("polling after Delete: %+v", err) + } + + return nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/method_get.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/method_get.go new file mode 100644 index 000000000000..842bab814e9c --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/method_get.go @@ -0,0 +1,53 @@ +package virtualnetworkgatewayconnections + +import ( + "context" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type GetOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *VirtualNetworkGatewayConnection +} + +// Get ... +func (c VirtualNetworkGatewayConnectionsClient) Get(ctx context.Context, id ConnectionId) (result GetOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var model VirtualNetworkGatewayConnection + result.Model = &model + if err = resp.Unmarshal(result.Model); err != nil { + return + } + + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/method_getikesas.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/method_getikesas.go new file mode 100644 index 000000000000..f146120f19ea --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/method_getikesas.go @@ -0,0 +1,71 @@ +package virtualnetworkgatewayconnections + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/client/pollers" + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type GetIkeSasOperationResponse struct { + Poller pollers.Poller + HttpResponse *http.Response + OData *odata.OData + Model *string +} + +// GetIkeSas ... +func (c VirtualNetworkGatewayConnectionsClient) GetIkeSas(ctx context.Context, id ConnectionId) (result GetIkeSasOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusAccepted, + http.StatusOK, + }, + HttpMethod: http.MethodPost, + Path: fmt.Sprintf("%s/getikesas", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client) + if err != nil { + return + } + + return +} + +// GetIkeSasThenPoll performs GetIkeSas then polls until it's completed +func (c VirtualNetworkGatewayConnectionsClient) GetIkeSasThenPoll(ctx context.Context, id ConnectionId) error { + result, err := c.GetIkeSas(ctx, id) + if err != nil { + return fmt.Errorf("performing GetIkeSas: %+v", err) + } + + if err := result.Poller.PollUntilDone(ctx); err != nil { + return fmt.Errorf("polling after GetIkeSas: %+v", err) + } + + return nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/method_getsharedkey.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/method_getsharedkey.go new file mode 100644 index 000000000000..3606b2efb656 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/method_getsharedkey.go @@ -0,0 +1,54 @@ +package virtualnetworkgatewayconnections + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type GetSharedKeyOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *ConnectionSharedKey +} + +// GetSharedKey ... +func (c VirtualNetworkGatewayConnectionsClient) GetSharedKey(ctx context.Context, id ConnectionId) (result GetSharedKeyOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Path: fmt.Sprintf("%s/sharedkey", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var model ConnectionSharedKey + result.Model = &model + if err = resp.Unmarshal(result.Model); err != nil { + return + } + + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/method_list.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/method_list.go new file mode 100644 index 000000000000..34dc525dce47 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/method_list.go @@ -0,0 +1,106 @@ +package virtualnetworkgatewayconnections + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ListOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *[]VirtualNetworkGatewayConnection +} + +type ListCompleteResult struct { + LatestHttpResponse *http.Response + Items []VirtualNetworkGatewayConnection +} + +type ListCustomPager struct { + NextLink *odata.Link `json:"nextLink"` +} + +func (p *ListCustomPager) NextPageLink() *odata.Link { + defer func() { + p.NextLink = nil + }() + + return p.NextLink +} + +// List ... +func (c VirtualNetworkGatewayConnectionsClient) List(ctx context.Context, id commonids.ResourceGroupId) (result ListOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Pager: &ListCustomPager{}, + Path: fmt.Sprintf("%s/providers/Microsoft.Network/connections", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.ExecutePaged(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var values struct { + Values *[]VirtualNetworkGatewayConnection `json:"value"` + } + if err = resp.Unmarshal(&values); err != nil { + return + } + + result.Model = values.Values + + return +} + +// ListComplete retrieves all the results into a single object +func (c VirtualNetworkGatewayConnectionsClient) ListComplete(ctx context.Context, id commonids.ResourceGroupId) (ListCompleteResult, error) { + return c.ListCompleteMatchingPredicate(ctx, id, VirtualNetworkGatewayConnectionOperationPredicate{}) +} + +// ListCompleteMatchingPredicate retrieves all the results and then applies the predicate +func (c VirtualNetworkGatewayConnectionsClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate VirtualNetworkGatewayConnectionOperationPredicate) (result ListCompleteResult, err error) { + items := make([]VirtualNetworkGatewayConnection, 0) + + resp, err := c.List(ctx, id) + if err != nil { + result.LatestHttpResponse = resp.HttpResponse + err = fmt.Errorf("loading results: %+v", err) + return + } + if resp.Model != nil { + for _, v := range *resp.Model { + if predicate.Matches(v) { + items = append(items, v) + } + } + } + + result = ListCompleteResult{ + LatestHttpResponse: resp.HttpResponse, + Items: items, + } + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/method_resetconnection.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/method_resetconnection.go new file mode 100644 index 000000000000..7898a434030f --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/method_resetconnection.go @@ -0,0 +1,69 @@ +package virtualnetworkgatewayconnections + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/client/pollers" + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ResetConnectionOperationResponse struct { + Poller pollers.Poller + HttpResponse *http.Response + OData *odata.OData +} + +// ResetConnection ... +func (c VirtualNetworkGatewayConnectionsClient) ResetConnection(ctx context.Context, id ConnectionId) (result ResetConnectionOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusAccepted, + }, + HttpMethod: http.MethodPost, + Path: fmt.Sprintf("%s/resetconnection", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client) + if err != nil { + return + } + + return +} + +// ResetConnectionThenPoll performs ResetConnection then polls until it's completed +func (c VirtualNetworkGatewayConnectionsClient) ResetConnectionThenPoll(ctx context.Context, id ConnectionId) error { + result, err := c.ResetConnection(ctx, id) + if err != nil { + return fmt.Errorf("performing ResetConnection: %+v", err) + } + + if err := result.Poller.PollUntilDone(ctx); err != nil { + return fmt.Errorf("polling after ResetConnection: %+v", err) + } + + return nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/method_resetsharedkey.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/method_resetsharedkey.go new file mode 100644 index 000000000000..37c842b0ba1b --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/method_resetsharedkey.go @@ -0,0 +1,75 @@ +package virtualnetworkgatewayconnections + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/client/pollers" + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ResetSharedKeyOperationResponse struct { + Poller pollers.Poller + HttpResponse *http.Response + OData *odata.OData + Model *ConnectionResetSharedKey +} + +// ResetSharedKey ... +func (c VirtualNetworkGatewayConnectionsClient) ResetSharedKey(ctx context.Context, id ConnectionId, input ConnectionResetSharedKey) (result ResetSharedKeyOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusAccepted, + http.StatusOK, + }, + HttpMethod: http.MethodPost, + Path: fmt.Sprintf("%s/sharedkey/reset", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + if err = req.Marshal(input); err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client) + if err != nil { + return + } + + return +} + +// ResetSharedKeyThenPoll performs ResetSharedKey then polls until it's completed +func (c VirtualNetworkGatewayConnectionsClient) ResetSharedKeyThenPoll(ctx context.Context, id ConnectionId, input ConnectionResetSharedKey) error { + result, err := c.ResetSharedKey(ctx, id, input) + if err != nil { + return fmt.Errorf("performing ResetSharedKey: %+v", err) + } + + if err := result.Poller.PollUntilDone(ctx); err != nil { + return fmt.Errorf("polling after ResetSharedKey: %+v", err) + } + + return nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/method_setsharedkey.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/method_setsharedkey.go new file mode 100644 index 000000000000..7cce553c9535 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/method_setsharedkey.go @@ -0,0 +1,75 @@ +package virtualnetworkgatewayconnections + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/client/pollers" + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type SetSharedKeyOperationResponse struct { + Poller pollers.Poller + HttpResponse *http.Response + OData *odata.OData + Model *ConnectionSharedKey +} + +// SetSharedKey ... +func (c VirtualNetworkGatewayConnectionsClient) SetSharedKey(ctx context.Context, id ConnectionId, input ConnectionSharedKey) (result SetSharedKeyOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusCreated, + http.StatusOK, + }, + HttpMethod: http.MethodPut, + Path: fmt.Sprintf("%s/sharedkey", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + if err = req.Marshal(input); err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client) + if err != nil { + return + } + + return +} + +// SetSharedKeyThenPoll performs SetSharedKey then polls until it's completed +func (c VirtualNetworkGatewayConnectionsClient) SetSharedKeyThenPoll(ctx context.Context, id ConnectionId, input ConnectionSharedKey) error { + result, err := c.SetSharedKey(ctx, id, input) + if err != nil { + return fmt.Errorf("performing SetSharedKey: %+v", err) + } + + if err := result.Poller.PollUntilDone(ctx); err != nil { + return fmt.Errorf("polling after SetSharedKey: %+v", err) + } + + return nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/method_startpacketcapture.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/method_startpacketcapture.go new file mode 100644 index 000000000000..d0bd4f6819d4 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/method_startpacketcapture.go @@ -0,0 +1,75 @@ +package virtualnetworkgatewayconnections + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/client/pollers" + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type StartPacketCaptureOperationResponse struct { + Poller pollers.Poller + HttpResponse *http.Response + OData *odata.OData + Model *string +} + +// StartPacketCapture ... +func (c VirtualNetworkGatewayConnectionsClient) StartPacketCapture(ctx context.Context, id ConnectionId, input VpnPacketCaptureStartParameters) (result StartPacketCaptureOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusAccepted, + http.StatusOK, + }, + HttpMethod: http.MethodPost, + Path: fmt.Sprintf("%s/startPacketCapture", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + if err = req.Marshal(input); err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client) + if err != nil { + return + } + + return +} + +// StartPacketCaptureThenPoll performs StartPacketCapture then polls until it's completed +func (c VirtualNetworkGatewayConnectionsClient) StartPacketCaptureThenPoll(ctx context.Context, id ConnectionId, input VpnPacketCaptureStartParameters) error { + result, err := c.StartPacketCapture(ctx, id, input) + if err != nil { + return fmt.Errorf("performing StartPacketCapture: %+v", err) + } + + if err := result.Poller.PollUntilDone(ctx); err != nil { + return fmt.Errorf("polling after StartPacketCapture: %+v", err) + } + + return nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/method_stoppacketcapture.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/method_stoppacketcapture.go new file mode 100644 index 000000000000..8741b058a40e --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/method_stoppacketcapture.go @@ -0,0 +1,75 @@ +package virtualnetworkgatewayconnections + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/client/pollers" + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type StopPacketCaptureOperationResponse struct { + Poller pollers.Poller + HttpResponse *http.Response + OData *odata.OData + Model *string +} + +// StopPacketCapture ... +func (c VirtualNetworkGatewayConnectionsClient) StopPacketCapture(ctx context.Context, id ConnectionId, input VpnPacketCaptureStopParameters) (result StopPacketCaptureOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusAccepted, + http.StatusOK, + }, + HttpMethod: http.MethodPost, + Path: fmt.Sprintf("%s/stopPacketCapture", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + if err = req.Marshal(input); err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client) + if err != nil { + return + } + + return +} + +// StopPacketCaptureThenPoll performs StopPacketCapture then polls until it's completed +func (c VirtualNetworkGatewayConnectionsClient) StopPacketCaptureThenPoll(ctx context.Context, id ConnectionId, input VpnPacketCaptureStopParameters) error { + result, err := c.StopPacketCapture(ctx, id, input) + if err != nil { + return fmt.Errorf("performing StopPacketCapture: %+v", err) + } + + if err := result.Poller.PollUntilDone(ctx); err != nil { + return fmt.Errorf("polling after StopPacketCapture: %+v", err) + } + + return nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/method_updatetags.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/method_updatetags.go new file mode 100644 index 000000000000..6a0ba8aaae88 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/method_updatetags.go @@ -0,0 +1,75 @@ +package virtualnetworkgatewayconnections + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/client/pollers" + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type UpdateTagsOperationResponse struct { + Poller pollers.Poller + HttpResponse *http.Response + OData *odata.OData + Model *VirtualNetworkGatewayConnection +} + +// UpdateTags ... +func (c VirtualNetworkGatewayConnectionsClient) UpdateTags(ctx context.Context, id ConnectionId, input TagsObject) (result UpdateTagsOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusAccepted, + http.StatusOK, + }, + HttpMethod: http.MethodPatch, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + if err = req.Marshal(input); err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client) + if err != nil { + return + } + + return +} + +// UpdateTagsThenPoll performs UpdateTags then polls until it's completed +func (c VirtualNetworkGatewayConnectionsClient) UpdateTagsThenPoll(ctx context.Context, id ConnectionId, input TagsObject) error { + result, err := c.UpdateTags(ctx, id, input) + if err != nil { + return fmt.Errorf("performing UpdateTags: %+v", err) + } + + if err := result.Poller.PollUntilDone(ctx); err != nil { + return fmt.Errorf("polling after UpdateTags: %+v", err) + } + + return nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/model_addressspace.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/model_addressspace.go new file mode 100644 index 000000000000..e94b18200568 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/model_addressspace.go @@ -0,0 +1,8 @@ +package virtualnetworkgatewayconnections + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type AddressSpace struct { + AddressPrefixes *[]string `json:"addressPrefixes,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/model_bgpsettings.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/model_bgpsettings.go new file mode 100644 index 000000000000..e03680282e61 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/model_bgpsettings.go @@ -0,0 +1,11 @@ +package virtualnetworkgatewayconnections + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type BgpSettings struct { + Asn *int64 `json:"asn,omitempty"` + BgpPeeringAddress *string `json:"bgpPeeringAddress,omitempty"` + BgpPeeringAddresses *[]IPConfigurationBgpPeeringAddress `json:"bgpPeeringAddresses,omitempty"` + PeerWeight *int64 `json:"peerWeight,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/model_connectionresetsharedkey.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/model_connectionresetsharedkey.go new file mode 100644 index 000000000000..3e1887b9d36d --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/model_connectionresetsharedkey.go @@ -0,0 +1,8 @@ +package virtualnetworkgatewayconnections + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ConnectionResetSharedKey struct { + KeyLength int64 `json:"keyLength"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/model_connectionsharedkey.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/model_connectionsharedkey.go new file mode 100644 index 000000000000..069812d03a42 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/model_connectionsharedkey.go @@ -0,0 +1,9 @@ +package virtualnetworkgatewayconnections + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ConnectionSharedKey struct { + Id *string `json:"id,omitempty"` + Value string `json:"value"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/model_gatewaycustombgpipaddressipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/model_gatewaycustombgpipaddressipconfiguration.go new file mode 100644 index 000000000000..7fda76a83171 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/model_gatewaycustombgpipaddressipconfiguration.go @@ -0,0 +1,9 @@ +package virtualnetworkgatewayconnections + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type GatewayCustomBgpIPAddressIPConfiguration struct { + CustomBgpIPAddress string `json:"customBgpIpAddress"` + IPConfigurationId string `json:"ipConfigurationId"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/model_ipconfigurationbgppeeringaddress.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/model_ipconfigurationbgppeeringaddress.go new file mode 100644 index 000000000000..dd6001591ee4 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/model_ipconfigurationbgppeeringaddress.go @@ -0,0 +1,11 @@ +package virtualnetworkgatewayconnections + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type IPConfigurationBgpPeeringAddress struct { + CustomBgpIPAddresses *[]string `json:"customBgpIpAddresses,omitempty"` + DefaultBgpIPAddresses *[]string `json:"defaultBgpIpAddresses,omitempty"` + IPconfigurationId *string `json:"ipconfigurationId,omitempty"` + TunnelIPAddresses *[]string `json:"tunnelIpAddresses,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/model_ipsecpolicy.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/model_ipsecpolicy.go new file mode 100644 index 000000000000..e36e053ac756 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/model_ipsecpolicy.go @@ -0,0 +1,15 @@ +package virtualnetworkgatewayconnections + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type IPsecPolicy struct { + DhGroup DhGroup `json:"dhGroup"` + IPsecEncryption IPsecEncryption `json:"ipsecEncryption"` + IPsecIntegrity IPsecIntegrity `json:"ipsecIntegrity"` + IkeEncryption IkeEncryption `json:"ikeEncryption"` + IkeIntegrity IkeIntegrity `json:"ikeIntegrity"` + PfsGroup PfsGroup `json:"pfsGroup"` + SaDataSizeKilobytes int64 `json:"saDataSizeKilobytes"` + SaLifeTimeSeconds int64 `json:"saLifeTimeSeconds"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/model_localnetworkgateway.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/model_localnetworkgateway.go new file mode 100644 index 000000000000..9ddafdd0d6e5 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/model_localnetworkgateway.go @@ -0,0 +1,14 @@ +package virtualnetworkgatewayconnections + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type LocalNetworkGateway struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Location *string `json:"location,omitempty"` + Name *string `json:"name,omitempty"` + Properties LocalNetworkGatewayPropertiesFormat `json:"properties"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/model_localnetworkgatewaypropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/model_localnetworkgatewaypropertiesformat.go new file mode 100644 index 000000000000..bf0176c3023d --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/model_localnetworkgatewaypropertiesformat.go @@ -0,0 +1,13 @@ +package virtualnetworkgatewayconnections + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type LocalNetworkGatewayPropertiesFormat struct { + BgpSettings *BgpSettings `json:"bgpSettings,omitempty"` + Fqdn *string `json:"fqdn,omitempty"` + GatewayIPAddress *string `json:"gatewayIpAddress,omitempty"` + LocalNetworkAddressSpace *AddressSpace `json:"localNetworkAddressSpace,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + ResourceGuid *string `json:"resourceGuid,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/model_radiusserver.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/model_radiusserver.go new file mode 100644 index 000000000000..ffc93e649653 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/model_radiusserver.go @@ -0,0 +1,10 @@ +package virtualnetworkgatewayconnections + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type RadiusServer struct { + RadiusServerAddress string `json:"radiusServerAddress"` + RadiusServerScore *int64 `json:"radiusServerScore,omitempty"` + RadiusServerSecret *string `json:"radiusServerSecret,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/model_subresource.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/model_subresource.go new file mode 100644 index 000000000000..25e6382622d4 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/model_subresource.go @@ -0,0 +1,8 @@ +package virtualnetworkgatewayconnections + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type SubResource struct { + Id *string `json:"id,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/model_tagsobject.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/model_tagsobject.go new file mode 100644 index 000000000000..5f1bce5d03db --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/model_tagsobject.go @@ -0,0 +1,8 @@ +package virtualnetworkgatewayconnections + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type TagsObject struct { + Tags *map[string]string `json:"tags,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/model_trafficselectorpolicy.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/model_trafficselectorpolicy.go new file mode 100644 index 000000000000..7d824402850b --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/model_trafficselectorpolicy.go @@ -0,0 +1,9 @@ +package virtualnetworkgatewayconnections + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type TrafficSelectorPolicy struct { + LocalAddressRanges []string `json:"localAddressRanges"` + RemoteAddressRanges []string `json:"remoteAddressRanges"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/model_tunnelconnectionhealth.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/model_tunnelconnectionhealth.go new file mode 100644 index 000000000000..71722a9b5e7d --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/model_tunnelconnectionhealth.go @@ -0,0 +1,12 @@ +package virtualnetworkgatewayconnections + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type TunnelConnectionHealth struct { + ConnectionStatus *VirtualNetworkGatewayConnectionStatus `json:"connectionStatus,omitempty"` + EgressBytesTransferred *int64 `json:"egressBytesTransferred,omitempty"` + IngressBytesTransferred *int64 `json:"ingressBytesTransferred,omitempty"` + LastConnectionEstablishedUtcTime *string `json:"lastConnectionEstablishedUtcTime,omitempty"` + Tunnel *string `json:"tunnel,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/model_virtualnetworkgateway.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/model_virtualnetworkgateway.go new file mode 100644 index 000000000000..4fc1211e31dc --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/model_virtualnetworkgateway.go @@ -0,0 +1,21 @@ +package virtualnetworkgatewayconnections + +import ( + "github.com/hashicorp/go-azure-helpers/resourcemanager/edgezones" + "github.com/hashicorp/go-azure-helpers/resourcemanager/identity" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VirtualNetworkGateway struct { + Etag *string `json:"etag,omitempty"` + ExtendedLocation *edgezones.Model `json:"extendedLocation,omitempty"` + Id *string `json:"id,omitempty"` + Identity *identity.SystemAndUserAssignedMap `json:"identity,omitempty"` + Location *string `json:"location,omitempty"` + Name *string `json:"name,omitempty"` + Properties VirtualNetworkGatewayPropertiesFormat `json:"properties"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/model_virtualnetworkgatewayautoscalebounds.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/model_virtualnetworkgatewayautoscalebounds.go new file mode 100644 index 000000000000..1c546e60aa68 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/model_virtualnetworkgatewayautoscalebounds.go @@ -0,0 +1,9 @@ +package virtualnetworkgatewayconnections + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VirtualNetworkGatewayAutoScaleBounds struct { + Max *int64 `json:"max,omitempty"` + Min *int64 `json:"min,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/model_virtualnetworkgatewayautoscaleconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/model_virtualnetworkgatewayautoscaleconfiguration.go new file mode 100644 index 000000000000..5fd318f04460 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/model_virtualnetworkgatewayautoscaleconfiguration.go @@ -0,0 +1,8 @@ +package virtualnetworkgatewayconnections + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VirtualNetworkGatewayAutoScaleConfiguration struct { + Bounds *VirtualNetworkGatewayAutoScaleBounds `json:"bounds,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/model_virtualnetworkgatewayconnection.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/model_virtualnetworkgatewayconnection.go new file mode 100644 index 000000000000..05a6ea7eb900 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/model_virtualnetworkgatewayconnection.go @@ -0,0 +1,14 @@ +package virtualnetworkgatewayconnections + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VirtualNetworkGatewayConnection struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Location *string `json:"location,omitempty"` + Name *string `json:"name,omitempty"` + Properties VirtualNetworkGatewayConnectionPropertiesFormat `json:"properties"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/model_virtualnetworkgatewayconnectionpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/model_virtualnetworkgatewayconnectionpropertiesformat.go new file mode 100644 index 000000000000..ef9af43f2078 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/model_virtualnetworkgatewayconnectionpropertiesformat.go @@ -0,0 +1,34 @@ +package virtualnetworkgatewayconnections + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VirtualNetworkGatewayConnectionPropertiesFormat struct { + AuthorizationKey *string `json:"authorizationKey,omitempty"` + ConnectionMode *VirtualNetworkGatewayConnectionMode `json:"connectionMode,omitempty"` + ConnectionProtocol *VirtualNetworkGatewayConnectionProtocol `json:"connectionProtocol,omitempty"` + ConnectionStatus *VirtualNetworkGatewayConnectionStatus `json:"connectionStatus,omitempty"` + ConnectionType VirtualNetworkGatewayConnectionType `json:"connectionType"` + DpdTimeoutSeconds *int64 `json:"dpdTimeoutSeconds,omitempty"` + EgressBytesTransferred *int64 `json:"egressBytesTransferred,omitempty"` + EgressNatRules *[]SubResource `json:"egressNatRules,omitempty"` + EnableBgp *bool `json:"enableBgp,omitempty"` + EnablePrivateLinkFastPath *bool `json:"enablePrivateLinkFastPath,omitempty"` + ExpressRouteGatewayBypass *bool `json:"expressRouteGatewayBypass,omitempty"` + GatewayCustomBgpIPAddresses *[]GatewayCustomBgpIPAddressIPConfiguration `json:"gatewayCustomBgpIpAddresses,omitempty"` + IPsecPolicies *[]IPsecPolicy `json:"ipsecPolicies,omitempty"` + IngressBytesTransferred *int64 `json:"ingressBytesTransferred,omitempty"` + IngressNatRules *[]SubResource `json:"ingressNatRules,omitempty"` + LocalNetworkGateway2 *LocalNetworkGateway `json:"localNetworkGateway2,omitempty"` + Peer *SubResource `json:"peer,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + ResourceGuid *string `json:"resourceGuid,omitempty"` + RoutingWeight *int64 `json:"routingWeight,omitempty"` + SharedKey *string `json:"sharedKey,omitempty"` + TrafficSelectorPolicies *[]TrafficSelectorPolicy `json:"trafficSelectorPolicies,omitempty"` + TunnelConnectionStatus *[]TunnelConnectionHealth `json:"tunnelConnectionStatus,omitempty"` + UseLocalAzureIPAddress *bool `json:"useLocalAzureIpAddress,omitempty"` + UsePolicyBasedTrafficSelectors *bool `json:"usePolicyBasedTrafficSelectors,omitempty"` + VirtualNetworkGateway1 VirtualNetworkGateway `json:"virtualNetworkGateway1"` + VirtualNetworkGateway2 *VirtualNetworkGateway `json:"virtualNetworkGateway2,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/model_virtualnetworkgatewayipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/model_virtualnetworkgatewayipconfiguration.go new file mode 100644 index 000000000000..30467eb2ed13 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/model_virtualnetworkgatewayipconfiguration.go @@ -0,0 +1,11 @@ +package virtualnetworkgatewayconnections + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VirtualNetworkGatewayIPConfiguration struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *VirtualNetworkGatewayIPConfigurationPropertiesFormat `json:"properties,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/model_virtualnetworkgatewayipconfigurationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/model_virtualnetworkgatewayipconfigurationpropertiesformat.go new file mode 100644 index 000000000000..863c37692960 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/model_virtualnetworkgatewayipconfigurationpropertiesformat.go @@ -0,0 +1,12 @@ +package virtualnetworkgatewayconnections + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VirtualNetworkGatewayIPConfigurationPropertiesFormat struct { + PrivateIPAddress *string `json:"privateIPAddress,omitempty"` + PrivateIPAllocationMethod *IPAllocationMethod `json:"privateIPAllocationMethod,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + PublicIPAddress *SubResource `json:"publicIPAddress,omitempty"` + Subnet *SubResource `json:"subnet,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/model_virtualnetworkgatewaynatrule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/model_virtualnetworkgatewaynatrule.go new file mode 100644 index 000000000000..ff6c91b0d664 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/model_virtualnetworkgatewaynatrule.go @@ -0,0 +1,12 @@ +package virtualnetworkgatewayconnections + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VirtualNetworkGatewayNatRule struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *VirtualNetworkGatewayNatRuleProperties `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/model_virtualnetworkgatewaynatruleproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/model_virtualnetworkgatewaynatruleproperties.go new file mode 100644 index 000000000000..75185bb4a84e --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/model_virtualnetworkgatewaynatruleproperties.go @@ -0,0 +1,13 @@ +package virtualnetworkgatewayconnections + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VirtualNetworkGatewayNatRuleProperties struct { + ExternalMappings *[]VpnNatRuleMapping `json:"externalMappings,omitempty"` + IPConfigurationId *string `json:"ipConfigurationId,omitempty"` + InternalMappings *[]VpnNatRuleMapping `json:"internalMappings,omitempty"` + Mode *VpnNatRuleMode `json:"mode,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + Type *VpnNatRuleType `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/model_virtualnetworkgatewaypolicygroup.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/model_virtualnetworkgatewaypolicygroup.go new file mode 100644 index 000000000000..cd507b1d5330 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/model_virtualnetworkgatewaypolicygroup.go @@ -0,0 +1,11 @@ +package virtualnetworkgatewayconnections + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VirtualNetworkGatewayPolicyGroup struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *VirtualNetworkGatewayPolicyGroupProperties `json:"properties,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/model_virtualnetworkgatewaypolicygroupmember.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/model_virtualnetworkgatewaypolicygroupmember.go new file mode 100644 index 000000000000..632e3bda52fb --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/model_virtualnetworkgatewaypolicygroupmember.go @@ -0,0 +1,10 @@ +package virtualnetworkgatewayconnections + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VirtualNetworkGatewayPolicyGroupMember struct { + AttributeType *VpnPolicyMemberAttributeType `json:"attributeType,omitempty"` + AttributeValue *string `json:"attributeValue,omitempty"` + Name *string `json:"name,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/model_virtualnetworkgatewaypolicygroupproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/model_virtualnetworkgatewaypolicygroupproperties.go new file mode 100644 index 000000000000..6b20992105ce --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/model_virtualnetworkgatewaypolicygroupproperties.go @@ -0,0 +1,12 @@ +package virtualnetworkgatewayconnections + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VirtualNetworkGatewayPolicyGroupProperties struct { + IsDefault bool `json:"isDefault"` + PolicyMembers []VirtualNetworkGatewayPolicyGroupMember `json:"policyMembers"` + Priority int64 `json:"priority"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + VngClientConnectionConfigurations *[]SubResource `json:"vngClientConnectionConfigurations,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/model_virtualnetworkgatewaypropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/model_virtualnetworkgatewaypropertiesformat.go new file mode 100644 index 000000000000..12e2b05bcd97 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/model_virtualnetworkgatewaypropertiesformat.go @@ -0,0 +1,33 @@ +package virtualnetworkgatewayconnections + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VirtualNetworkGatewayPropertiesFormat struct { + ActiveActive *bool `json:"activeActive,omitempty"` + AdminState *AdminState `json:"adminState,omitempty"` + AllowRemoteVnetTraffic *bool `json:"allowRemoteVnetTraffic,omitempty"` + AllowVirtualWanTraffic *bool `json:"allowVirtualWanTraffic,omitempty"` + AutoScaleConfiguration *VirtualNetworkGatewayAutoScaleConfiguration `json:"autoScaleConfiguration,omitempty"` + BgpSettings *BgpSettings `json:"bgpSettings,omitempty"` + CustomRoutes *AddressSpace `json:"customRoutes,omitempty"` + DisableIPSecReplayProtection *bool `json:"disableIPSecReplayProtection,omitempty"` + EnableBgp *bool `json:"enableBgp,omitempty"` + EnableBgpRouteTranslationForNat *bool `json:"enableBgpRouteTranslationForNat,omitempty"` + EnableDnsForwarding *bool `json:"enableDnsForwarding,omitempty"` + EnablePrivateIPAddress *bool `json:"enablePrivateIpAddress,omitempty"` + GatewayDefaultSite *SubResource `json:"gatewayDefaultSite,omitempty"` + GatewayType *VirtualNetworkGatewayType `json:"gatewayType,omitempty"` + IPConfigurations *[]VirtualNetworkGatewayIPConfiguration `json:"ipConfigurations,omitempty"` + InboundDnsForwardingEndpoint *string `json:"inboundDnsForwardingEndpoint,omitempty"` + NatRules *[]VirtualNetworkGatewayNatRule `json:"natRules,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + ResiliencyModel *ResiliencyModel `json:"resiliencyModel,omitempty"` + ResourceGuid *string `json:"resourceGuid,omitempty"` + Sku *VirtualNetworkGatewaySku `json:"sku,omitempty"` + VNetExtendedLocationResourceId *string `json:"vNetExtendedLocationResourceId,omitempty"` + VirtualNetworkGatewayPolicyGroups *[]VirtualNetworkGatewayPolicyGroup `json:"virtualNetworkGatewayPolicyGroups,omitempty"` + VpnClientConfiguration *VpnClientConfiguration `json:"vpnClientConfiguration,omitempty"` + VpnGatewayGeneration *VpnGatewayGeneration `json:"vpnGatewayGeneration,omitempty"` + VpnType *VpnType `json:"vpnType,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/model_virtualnetworkgatewaysku.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/model_virtualnetworkgatewaysku.go new file mode 100644 index 000000000000..301f66896ac8 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/model_virtualnetworkgatewaysku.go @@ -0,0 +1,10 @@ +package virtualnetworkgatewayconnections + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VirtualNetworkGatewaySku struct { + Capacity *int64 `json:"capacity,omitempty"` + Name *VirtualNetworkGatewaySkuName `json:"name,omitempty"` + Tier *VirtualNetworkGatewaySkuTier `json:"tier,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/model_vngclientconnectionconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/model_vngclientconnectionconfiguration.go new file mode 100644 index 000000000000..744d5505a177 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/model_vngclientconnectionconfiguration.go @@ -0,0 +1,11 @@ +package virtualnetworkgatewayconnections + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VngClientConnectionConfiguration struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *VngClientConnectionConfigurationProperties `json:"properties,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/model_vngclientconnectionconfigurationproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/model_vngclientconnectionconfigurationproperties.go new file mode 100644 index 000000000000..531c18a0419f --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/model_vngclientconnectionconfigurationproperties.go @@ -0,0 +1,10 @@ +package virtualnetworkgatewayconnections + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VngClientConnectionConfigurationProperties struct { + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + VirtualNetworkGatewayPolicyGroups []SubResource `json:"virtualNetworkGatewayPolicyGroups"` + VpnClientAddressPool AddressSpace `json:"vpnClientAddressPool"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/model_vpnclientconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/model_vpnclientconfiguration.go new file mode 100644 index 000000000000..f7da3943c5a7 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/model_vpnclientconfiguration.go @@ -0,0 +1,20 @@ +package virtualnetworkgatewayconnections + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VpnClientConfiguration struct { + AadAudience *string `json:"aadAudience,omitempty"` + AadIssuer *string `json:"aadIssuer,omitempty"` + AadTenant *string `json:"aadTenant,omitempty"` + RadiusServerAddress *string `json:"radiusServerAddress,omitempty"` + RadiusServerSecret *string `json:"radiusServerSecret,omitempty"` + RadiusServers *[]RadiusServer `json:"radiusServers,omitempty"` + VngClientConnectionConfigurations *[]VngClientConnectionConfiguration `json:"vngClientConnectionConfigurations,omitempty"` + VpnAuthenticationTypes *[]VpnAuthenticationType `json:"vpnAuthenticationTypes,omitempty"` + VpnClientAddressPool *AddressSpace `json:"vpnClientAddressPool,omitempty"` + VpnClientIPsecPolicies *[]IPsecPolicy `json:"vpnClientIpsecPolicies,omitempty"` + VpnClientProtocols *[]VpnClientProtocol `json:"vpnClientProtocols,omitempty"` + VpnClientRevokedCertificates *[]VpnClientRevokedCertificate `json:"vpnClientRevokedCertificates,omitempty"` + VpnClientRootCertificates *[]VpnClientRootCertificate `json:"vpnClientRootCertificates,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/model_vpnclientrevokedcertificate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/model_vpnclientrevokedcertificate.go new file mode 100644 index 000000000000..7f83a9053a4c --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/model_vpnclientrevokedcertificate.go @@ -0,0 +1,11 @@ +package virtualnetworkgatewayconnections + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VpnClientRevokedCertificate struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *VpnClientRevokedCertificatePropertiesFormat `json:"properties,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/model_vpnclientrevokedcertificatepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/model_vpnclientrevokedcertificatepropertiesformat.go new file mode 100644 index 000000000000..0155228d4d1e --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/model_vpnclientrevokedcertificatepropertiesformat.go @@ -0,0 +1,9 @@ +package virtualnetworkgatewayconnections + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VpnClientRevokedCertificatePropertiesFormat struct { + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + Thumbprint *string `json:"thumbprint,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/model_vpnclientrootcertificate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/model_vpnclientrootcertificate.go new file mode 100644 index 000000000000..6eb8d073f4fe --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/model_vpnclientrootcertificate.go @@ -0,0 +1,11 @@ +package virtualnetworkgatewayconnections + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VpnClientRootCertificate struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties VpnClientRootCertificatePropertiesFormat `json:"properties"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/model_vpnclientrootcertificatepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/model_vpnclientrootcertificatepropertiesformat.go new file mode 100644 index 000000000000..f5048e1ed786 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/model_vpnclientrootcertificatepropertiesformat.go @@ -0,0 +1,9 @@ +package virtualnetworkgatewayconnections + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VpnClientRootCertificatePropertiesFormat struct { + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + PublicCertData string `json:"publicCertData"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/model_vpnnatrulemapping.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/model_vpnnatrulemapping.go new file mode 100644 index 000000000000..394cabc619d1 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/model_vpnnatrulemapping.go @@ -0,0 +1,9 @@ +package virtualnetworkgatewayconnections + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VpnNatRuleMapping struct { + AddressSpace *string `json:"addressSpace,omitempty"` + PortRange *string `json:"portRange,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/model_vpnpacketcapturestartparameters.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/model_vpnpacketcapturestartparameters.go new file mode 100644 index 000000000000..52273329f1d9 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/model_vpnpacketcapturestartparameters.go @@ -0,0 +1,8 @@ +package virtualnetworkgatewayconnections + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VpnPacketCaptureStartParameters struct { + FilterData *string `json:"filterData,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/model_vpnpacketcapturestopparameters.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/model_vpnpacketcapturestopparameters.go new file mode 100644 index 000000000000..34b830870000 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/model_vpnpacketcapturestopparameters.go @@ -0,0 +1,8 @@ +package virtualnetworkgatewayconnections + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VpnPacketCaptureStopParameters struct { + SasURL *string `json:"sasUrl,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/predicates.go new file mode 100644 index 000000000000..c1fe558dd663 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/predicates.go @@ -0,0 +1,37 @@ +package virtualnetworkgatewayconnections + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VirtualNetworkGatewayConnectionOperationPredicate struct { + Etag *string + Id *string + Location *string + Name *string + Type *string +} + +func (p VirtualNetworkGatewayConnectionOperationPredicate) Matches(input VirtualNetworkGatewayConnection) bool { + + if p.Etag != nil && (input.Etag == nil || *p.Etag != *input.Etag) { + return false + } + + if p.Id != nil && (input.Id == nil || *p.Id != *input.Id) { + return false + } + + if p.Location != nil && (input.Location == nil || *p.Location != *input.Location) { + return false + } + + if p.Name != nil && (input.Name == nil || *p.Name != *input.Name) { + return false + } + + if p.Type != nil && (input.Type == nil || *p.Type != *input.Type) { + return false + } + + return true +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/version.go new file mode 100644 index 000000000000..317144dd638b --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections/version.go @@ -0,0 +1,10 @@ +package virtualnetworkgatewayconnections + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2024-03-01" + +func userAgent() string { + return "hashicorp/go-azure-sdk/virtualnetworkgatewayconnections/2024-03-01" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/README.md new file mode 100644 index 000000000000..9397f2c4e207 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/README.md @@ -0,0 +1,414 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways` Documentation + +The `virtualnetworkgateways` SDK allows for interaction with Azure Resource Manager `network` (API Version `2024-03-01`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" +import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways" +``` + + +### Client Initialization + +```go +client := virtualnetworkgateways.NewVirtualNetworkGatewaysClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `VirtualNetworkGatewaysClient.CreateOrUpdate` + +```go +ctx := context.TODO() +id := virtualnetworkgateways.NewVirtualNetworkGatewayID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualNetworkGatewayName") + +payload := virtualnetworkgateways.VirtualNetworkGateway{ + // ... +} + + +if err := client.CreateOrUpdateThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `VirtualNetworkGatewaysClient.Delete` + +```go +ctx := context.TODO() +id := virtualnetworkgateways.NewVirtualNetworkGatewayID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualNetworkGatewayName") + +if err := client.DeleteThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `VirtualNetworkGatewaysClient.DisconnectVirtualNetworkGatewayVpnConnections` + +```go +ctx := context.TODO() +id := virtualnetworkgateways.NewVirtualNetworkGatewayID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualNetworkGatewayName") + +payload := virtualnetworkgateways.P2SVpnConnectionRequest{ + // ... +} + + +if err := client.DisconnectVirtualNetworkGatewayVpnConnectionsThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `VirtualNetworkGatewaysClient.GenerateVpnProfile` + +```go +ctx := context.TODO() +id := virtualnetworkgateways.NewVirtualNetworkGatewayID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualNetworkGatewayName") + +payload := virtualnetworkgateways.VpnClientParameters{ + // ... +} + + +if err := client.GenerateVpnProfileThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `VirtualNetworkGatewaysClient.Generatevpnclientpackage` + +```go +ctx := context.TODO() +id := virtualnetworkgateways.NewVirtualNetworkGatewayID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualNetworkGatewayName") + +payload := virtualnetworkgateways.VpnClientParameters{ + // ... +} + + +if err := client.GeneratevpnclientpackageThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `VirtualNetworkGatewaysClient.Get` + +```go +ctx := context.TODO() +id := virtualnetworkgateways.NewVirtualNetworkGatewayID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualNetworkGatewayName") + +read, err := client.Get(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `VirtualNetworkGatewaysClient.GetAdvertisedRoutes` + +```go +ctx := context.TODO() +id := virtualnetworkgateways.NewVirtualNetworkGatewayID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualNetworkGatewayName") + +if err := client.GetAdvertisedRoutesThenPoll(ctx, id, virtualnetworkgateways.DefaultGetAdvertisedRoutesOperationOptions()); err != nil { + // handle the error +} +``` + + +### Example Usage: `VirtualNetworkGatewaysClient.GetBgpPeerStatus` + +```go +ctx := context.TODO() +id := virtualnetworkgateways.NewVirtualNetworkGatewayID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualNetworkGatewayName") + +if err := client.GetBgpPeerStatusThenPoll(ctx, id, virtualnetworkgateways.DefaultGetBgpPeerStatusOperationOptions()); err != nil { + // handle the error +} +``` + + +### Example Usage: `VirtualNetworkGatewaysClient.GetLearnedRoutes` + +```go +ctx := context.TODO() +id := virtualnetworkgateways.NewVirtualNetworkGatewayID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualNetworkGatewayName") + +if err := client.GetLearnedRoutesThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `VirtualNetworkGatewaysClient.GetVpnProfilePackageURL` + +```go +ctx := context.TODO() +id := virtualnetworkgateways.NewVirtualNetworkGatewayID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualNetworkGatewayName") + +if err := client.GetVpnProfilePackageURLThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `VirtualNetworkGatewaysClient.GetVpnclientConnectionHealth` + +```go +ctx := context.TODO() +id := virtualnetworkgateways.NewVirtualNetworkGatewayID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualNetworkGatewayName") + +if err := client.GetVpnclientConnectionHealthThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `VirtualNetworkGatewaysClient.GetVpnclientIPsecParameters` + +```go +ctx := context.TODO() +id := virtualnetworkgateways.NewVirtualNetworkGatewayID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualNetworkGatewayName") + +if err := client.GetVpnclientIPsecParametersThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `VirtualNetworkGatewaysClient.List` + +```go +ctx := context.TODO() +id := commonids.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group") + +// alternatively `client.List(ctx, id)` can be used to do batched pagination +items, err := client.ListComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `VirtualNetworkGatewaysClient.ListConnections` + +```go +ctx := context.TODO() +id := virtualnetworkgateways.NewVirtualNetworkGatewayID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualNetworkGatewayName") + +// alternatively `client.ListConnections(ctx, id)` can be used to do batched pagination +items, err := client.ListConnectionsComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `VirtualNetworkGatewaysClient.Reset` + +```go +ctx := context.TODO() +id := virtualnetworkgateways.NewVirtualNetworkGatewayID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualNetworkGatewayName") + +if err := client.ResetThenPoll(ctx, id, virtualnetworkgateways.DefaultResetOperationOptions()); err != nil { + // handle the error +} +``` + + +### Example Usage: `VirtualNetworkGatewaysClient.ResetVpnClientSharedKey` + +```go +ctx := context.TODO() +id := virtualnetworkgateways.NewVirtualNetworkGatewayID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualNetworkGatewayName") + +if err := client.ResetVpnClientSharedKeyThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `VirtualNetworkGatewaysClient.SetVpnclientIPsecParameters` + +```go +ctx := context.TODO() +id := virtualnetworkgateways.NewVirtualNetworkGatewayID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualNetworkGatewayName") + +payload := virtualnetworkgateways.VpnClientIPsecParameters{ + // ... +} + + +if err := client.SetVpnclientIPsecParametersThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `VirtualNetworkGatewaysClient.StartPacketCapture` + +```go +ctx := context.TODO() +id := virtualnetworkgateways.NewVirtualNetworkGatewayID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualNetworkGatewayName") + +payload := virtualnetworkgateways.VpnPacketCaptureStartParameters{ + // ... +} + + +if err := client.StartPacketCaptureThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `VirtualNetworkGatewaysClient.StopPacketCapture` + +```go +ctx := context.TODO() +id := virtualnetworkgateways.NewVirtualNetworkGatewayID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualNetworkGatewayName") + +payload := virtualnetworkgateways.VpnPacketCaptureStopParameters{ + // ... +} + + +if err := client.StopPacketCaptureThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `VirtualNetworkGatewaysClient.SupportedVpnDevices` + +```go +ctx := context.TODO() +id := virtualnetworkgateways.NewVirtualNetworkGatewayID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualNetworkGatewayName") + +read, err := client.SupportedVpnDevices(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `VirtualNetworkGatewaysClient.UpdateTags` + +```go +ctx := context.TODO() +id := virtualnetworkgateways.NewVirtualNetworkGatewayID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualNetworkGatewayName") + +payload := virtualnetworkgateways.TagsObject{ + // ... +} + + +if err := client.UpdateTagsThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `VirtualNetworkGatewaysClient.VirtualNetworkGatewayNatRulesCreateOrUpdate` + +```go +ctx := context.TODO() +id := virtualnetworkgateways.NewVirtualNetworkGatewayNatRuleID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualNetworkGatewayName", "natRuleName") + +payload := virtualnetworkgateways.VirtualNetworkGatewayNatRule{ + // ... +} + + +if err := client.VirtualNetworkGatewayNatRulesCreateOrUpdateThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `VirtualNetworkGatewaysClient.VirtualNetworkGatewayNatRulesDelete` + +```go +ctx := context.TODO() +id := virtualnetworkgateways.NewVirtualNetworkGatewayNatRuleID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualNetworkGatewayName", "natRuleName") + +if err := client.VirtualNetworkGatewayNatRulesDeleteThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `VirtualNetworkGatewaysClient.VirtualNetworkGatewayNatRulesGet` + +```go +ctx := context.TODO() +id := virtualnetworkgateways.NewVirtualNetworkGatewayNatRuleID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualNetworkGatewayName", "natRuleName") + +read, err := client.VirtualNetworkGatewayNatRulesGet(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `VirtualNetworkGatewaysClient.VirtualNetworkGatewayNatRulesListByVirtualNetworkGateway` + +```go +ctx := context.TODO() +id := virtualnetworkgateways.NewVirtualNetworkGatewayID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualNetworkGatewayName") + +// alternatively `client.VirtualNetworkGatewayNatRulesListByVirtualNetworkGateway(ctx, id)` can be used to do batched pagination +items, err := client.VirtualNetworkGatewayNatRulesListByVirtualNetworkGatewayComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `VirtualNetworkGatewaysClient.VpnDeviceConfigurationScript` + +```go +ctx := context.TODO() +id := virtualnetworkgateways.NewConnectionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "connectionName") + +payload := virtualnetworkgateways.VpnDeviceScriptParameters{ + // ... +} + + +read, err := client.VpnDeviceConfigurationScript(ctx, id, payload) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/constants.go new file mode 100644 index 000000000000..5f3bc70d78c9 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/constants.go @@ -0,0 +1,1357 @@ +package virtualnetworkgateways + +import ( + "encoding/json" + "fmt" + "strings" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type AdminState string + +const ( + AdminStateDisabled AdminState = "Disabled" + AdminStateEnabled AdminState = "Enabled" +) + +func PossibleValuesForAdminState() []string { + return []string{ + string(AdminStateDisabled), + string(AdminStateEnabled), + } +} + +func (s *AdminState) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseAdminState(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseAdminState(input string) (*AdminState, error) { + vals := map[string]AdminState{ + "disabled": AdminStateDisabled, + "enabled": AdminStateEnabled, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := AdminState(input) + return &out, nil +} + +type AuthenticationMethod string + +const ( + AuthenticationMethodEAPMSCHAPvTwo AuthenticationMethod = "EAPMSCHAPv2" + AuthenticationMethodEAPTLS AuthenticationMethod = "EAPTLS" +) + +func PossibleValuesForAuthenticationMethod() []string { + return []string{ + string(AuthenticationMethodEAPMSCHAPvTwo), + string(AuthenticationMethodEAPTLS), + } +} + +func (s *AuthenticationMethod) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseAuthenticationMethod(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseAuthenticationMethod(input string) (*AuthenticationMethod, error) { + vals := map[string]AuthenticationMethod{ + "eapmschapv2": AuthenticationMethodEAPMSCHAPvTwo, + "eaptls": AuthenticationMethodEAPTLS, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := AuthenticationMethod(input) + return &out, nil +} + +type BgpPeerState string + +const ( + BgpPeerStateConnected BgpPeerState = "Connected" + BgpPeerStateConnecting BgpPeerState = "Connecting" + BgpPeerStateIdle BgpPeerState = "Idle" + BgpPeerStateStopped BgpPeerState = "Stopped" + BgpPeerStateUnknown BgpPeerState = "Unknown" +) + +func PossibleValuesForBgpPeerState() []string { + return []string{ + string(BgpPeerStateConnected), + string(BgpPeerStateConnecting), + string(BgpPeerStateIdle), + string(BgpPeerStateStopped), + string(BgpPeerStateUnknown), + } +} + +func (s *BgpPeerState) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseBgpPeerState(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseBgpPeerState(input string) (*BgpPeerState, error) { + vals := map[string]BgpPeerState{ + "connected": BgpPeerStateConnected, + "connecting": BgpPeerStateConnecting, + "idle": BgpPeerStateIdle, + "stopped": BgpPeerStateStopped, + "unknown": BgpPeerStateUnknown, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := BgpPeerState(input) + return &out, nil +} + +type DhGroup string + +const ( + DhGroupDHGroupOne DhGroup = "DHGroup1" + DhGroupDHGroupOneFour DhGroup = "DHGroup14" + DhGroupDHGroupTwo DhGroup = "DHGroup2" + DhGroupDHGroupTwoFour DhGroup = "DHGroup24" + DhGroupDHGroupTwoZeroFourEight DhGroup = "DHGroup2048" + DhGroupECPThreeEightFour DhGroup = "ECP384" + DhGroupECPTwoFiveSix DhGroup = "ECP256" + DhGroupNone DhGroup = "None" +) + +func PossibleValuesForDhGroup() []string { + return []string{ + string(DhGroupDHGroupOne), + string(DhGroupDHGroupOneFour), + string(DhGroupDHGroupTwo), + string(DhGroupDHGroupTwoFour), + string(DhGroupDHGroupTwoZeroFourEight), + string(DhGroupECPThreeEightFour), + string(DhGroupECPTwoFiveSix), + string(DhGroupNone), + } +} + +func (s *DhGroup) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseDhGroup(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseDhGroup(input string) (*DhGroup, error) { + vals := map[string]DhGroup{ + "dhgroup1": DhGroupDHGroupOne, + "dhgroup14": DhGroupDHGroupOneFour, + "dhgroup2": DhGroupDHGroupTwo, + "dhgroup24": DhGroupDHGroupTwoFour, + "dhgroup2048": DhGroupDHGroupTwoZeroFourEight, + "ecp384": DhGroupECPThreeEightFour, + "ecp256": DhGroupECPTwoFiveSix, + "none": DhGroupNone, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := DhGroup(input) + return &out, nil +} + +type IPAllocationMethod string + +const ( + IPAllocationMethodDynamic IPAllocationMethod = "Dynamic" + IPAllocationMethodStatic IPAllocationMethod = "Static" +) + +func PossibleValuesForIPAllocationMethod() []string { + return []string{ + string(IPAllocationMethodDynamic), + string(IPAllocationMethodStatic), + } +} + +func (s *IPAllocationMethod) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseIPAllocationMethod(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseIPAllocationMethod(input string) (*IPAllocationMethod, error) { + vals := map[string]IPAllocationMethod{ + "dynamic": IPAllocationMethodDynamic, + "static": IPAllocationMethodStatic, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := IPAllocationMethod(input) + return &out, nil +} + +type IPsecEncryption string + +const ( + IPsecEncryptionAESOneNineTwo IPsecEncryption = "AES192" + IPsecEncryptionAESOneTwoEight IPsecEncryption = "AES128" + IPsecEncryptionAESTwoFiveSix IPsecEncryption = "AES256" + IPsecEncryptionDES IPsecEncryption = "DES" + IPsecEncryptionDESThree IPsecEncryption = "DES3" + IPsecEncryptionGCMAESOneNineTwo IPsecEncryption = "GCMAES192" + IPsecEncryptionGCMAESOneTwoEight IPsecEncryption = "GCMAES128" + IPsecEncryptionGCMAESTwoFiveSix IPsecEncryption = "GCMAES256" + IPsecEncryptionNone IPsecEncryption = "None" +) + +func PossibleValuesForIPsecEncryption() []string { + return []string{ + string(IPsecEncryptionAESOneNineTwo), + string(IPsecEncryptionAESOneTwoEight), + string(IPsecEncryptionAESTwoFiveSix), + string(IPsecEncryptionDES), + string(IPsecEncryptionDESThree), + string(IPsecEncryptionGCMAESOneNineTwo), + string(IPsecEncryptionGCMAESOneTwoEight), + string(IPsecEncryptionGCMAESTwoFiveSix), + string(IPsecEncryptionNone), + } +} + +func (s *IPsecEncryption) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseIPsecEncryption(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseIPsecEncryption(input string) (*IPsecEncryption, error) { + vals := map[string]IPsecEncryption{ + "aes192": IPsecEncryptionAESOneNineTwo, + "aes128": IPsecEncryptionAESOneTwoEight, + "aes256": IPsecEncryptionAESTwoFiveSix, + "des": IPsecEncryptionDES, + "des3": IPsecEncryptionDESThree, + "gcmaes192": IPsecEncryptionGCMAESOneNineTwo, + "gcmaes128": IPsecEncryptionGCMAESOneTwoEight, + "gcmaes256": IPsecEncryptionGCMAESTwoFiveSix, + "none": IPsecEncryptionNone, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := IPsecEncryption(input) + return &out, nil +} + +type IPsecIntegrity string + +const ( + IPsecIntegrityGCMAESOneNineTwo IPsecIntegrity = "GCMAES192" + IPsecIntegrityGCMAESOneTwoEight IPsecIntegrity = "GCMAES128" + IPsecIntegrityGCMAESTwoFiveSix IPsecIntegrity = "GCMAES256" + IPsecIntegrityMDFive IPsecIntegrity = "MD5" + IPsecIntegritySHAOne IPsecIntegrity = "SHA1" + IPsecIntegritySHATwoFiveSix IPsecIntegrity = "SHA256" +) + +func PossibleValuesForIPsecIntegrity() []string { + return []string{ + string(IPsecIntegrityGCMAESOneNineTwo), + string(IPsecIntegrityGCMAESOneTwoEight), + string(IPsecIntegrityGCMAESTwoFiveSix), + string(IPsecIntegrityMDFive), + string(IPsecIntegritySHAOne), + string(IPsecIntegritySHATwoFiveSix), + } +} + +func (s *IPsecIntegrity) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseIPsecIntegrity(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseIPsecIntegrity(input string) (*IPsecIntegrity, error) { + vals := map[string]IPsecIntegrity{ + "gcmaes192": IPsecIntegrityGCMAESOneNineTwo, + "gcmaes128": IPsecIntegrityGCMAESOneTwoEight, + "gcmaes256": IPsecIntegrityGCMAESTwoFiveSix, + "md5": IPsecIntegrityMDFive, + "sha1": IPsecIntegritySHAOne, + "sha256": IPsecIntegritySHATwoFiveSix, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := IPsecIntegrity(input) + return &out, nil +} + +type IkeEncryption string + +const ( + IkeEncryptionAESOneNineTwo IkeEncryption = "AES192" + IkeEncryptionAESOneTwoEight IkeEncryption = "AES128" + IkeEncryptionAESTwoFiveSix IkeEncryption = "AES256" + IkeEncryptionDES IkeEncryption = "DES" + IkeEncryptionDESThree IkeEncryption = "DES3" + IkeEncryptionGCMAESOneTwoEight IkeEncryption = "GCMAES128" + IkeEncryptionGCMAESTwoFiveSix IkeEncryption = "GCMAES256" +) + +func PossibleValuesForIkeEncryption() []string { + return []string{ + string(IkeEncryptionAESOneNineTwo), + string(IkeEncryptionAESOneTwoEight), + string(IkeEncryptionAESTwoFiveSix), + string(IkeEncryptionDES), + string(IkeEncryptionDESThree), + string(IkeEncryptionGCMAESOneTwoEight), + string(IkeEncryptionGCMAESTwoFiveSix), + } +} + +func (s *IkeEncryption) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseIkeEncryption(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseIkeEncryption(input string) (*IkeEncryption, error) { + vals := map[string]IkeEncryption{ + "aes192": IkeEncryptionAESOneNineTwo, + "aes128": IkeEncryptionAESOneTwoEight, + "aes256": IkeEncryptionAESTwoFiveSix, + "des": IkeEncryptionDES, + "des3": IkeEncryptionDESThree, + "gcmaes128": IkeEncryptionGCMAESOneTwoEight, + "gcmaes256": IkeEncryptionGCMAESTwoFiveSix, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := IkeEncryption(input) + return &out, nil +} + +type IkeIntegrity string + +const ( + IkeIntegrityGCMAESOneTwoEight IkeIntegrity = "GCMAES128" + IkeIntegrityGCMAESTwoFiveSix IkeIntegrity = "GCMAES256" + IkeIntegrityMDFive IkeIntegrity = "MD5" + IkeIntegritySHAOne IkeIntegrity = "SHA1" + IkeIntegritySHAThreeEightFour IkeIntegrity = "SHA384" + IkeIntegritySHATwoFiveSix IkeIntegrity = "SHA256" +) + +func PossibleValuesForIkeIntegrity() []string { + return []string{ + string(IkeIntegrityGCMAESOneTwoEight), + string(IkeIntegrityGCMAESTwoFiveSix), + string(IkeIntegrityMDFive), + string(IkeIntegritySHAOne), + string(IkeIntegritySHAThreeEightFour), + string(IkeIntegritySHATwoFiveSix), + } +} + +func (s *IkeIntegrity) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseIkeIntegrity(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseIkeIntegrity(input string) (*IkeIntegrity, error) { + vals := map[string]IkeIntegrity{ + "gcmaes128": IkeIntegrityGCMAESOneTwoEight, + "gcmaes256": IkeIntegrityGCMAESTwoFiveSix, + "md5": IkeIntegrityMDFive, + "sha1": IkeIntegritySHAOne, + "sha384": IkeIntegritySHAThreeEightFour, + "sha256": IkeIntegritySHATwoFiveSix, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := IkeIntegrity(input) + return &out, nil +} + +type PfsGroup string + +const ( + PfsGroupECPThreeEightFour PfsGroup = "ECP384" + PfsGroupECPTwoFiveSix PfsGroup = "ECP256" + PfsGroupNone PfsGroup = "None" + PfsGroupPFSMM PfsGroup = "PFSMM" + PfsGroupPFSOne PfsGroup = "PFS1" + PfsGroupPFSOneFour PfsGroup = "PFS14" + PfsGroupPFSTwo PfsGroup = "PFS2" + PfsGroupPFSTwoFour PfsGroup = "PFS24" + PfsGroupPFSTwoZeroFourEight PfsGroup = "PFS2048" +) + +func PossibleValuesForPfsGroup() []string { + return []string{ + string(PfsGroupECPThreeEightFour), + string(PfsGroupECPTwoFiveSix), + string(PfsGroupNone), + string(PfsGroupPFSMM), + string(PfsGroupPFSOne), + string(PfsGroupPFSOneFour), + string(PfsGroupPFSTwo), + string(PfsGroupPFSTwoFour), + string(PfsGroupPFSTwoZeroFourEight), + } +} + +func (s *PfsGroup) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parsePfsGroup(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parsePfsGroup(input string) (*PfsGroup, error) { + vals := map[string]PfsGroup{ + "ecp384": PfsGroupECPThreeEightFour, + "ecp256": PfsGroupECPTwoFiveSix, + "none": PfsGroupNone, + "pfsmm": PfsGroupPFSMM, + "pfs1": PfsGroupPFSOne, + "pfs14": PfsGroupPFSOneFour, + "pfs2": PfsGroupPFSTwo, + "pfs24": PfsGroupPFSTwoFour, + "pfs2048": PfsGroupPFSTwoZeroFourEight, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := PfsGroup(input) + return &out, nil +} + +type ProcessorArchitecture string + +const ( + ProcessorArchitectureAmdSixFour ProcessorArchitecture = "Amd64" + ProcessorArchitectureXEightSix ProcessorArchitecture = "X86" +) + +func PossibleValuesForProcessorArchitecture() []string { + return []string{ + string(ProcessorArchitectureAmdSixFour), + string(ProcessorArchitectureXEightSix), + } +} + +func (s *ProcessorArchitecture) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseProcessorArchitecture(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseProcessorArchitecture(input string) (*ProcessorArchitecture, error) { + vals := map[string]ProcessorArchitecture{ + "amd64": ProcessorArchitectureAmdSixFour, + "x86": ProcessorArchitectureXEightSix, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ProcessorArchitecture(input) + return &out, nil +} + +type ProvisioningState string + +const ( + ProvisioningStateDeleting ProvisioningState = "Deleting" + ProvisioningStateFailed ProvisioningState = "Failed" + ProvisioningStateSucceeded ProvisioningState = "Succeeded" + ProvisioningStateUpdating ProvisioningState = "Updating" +) + +func PossibleValuesForProvisioningState() []string { + return []string{ + string(ProvisioningStateDeleting), + string(ProvisioningStateFailed), + string(ProvisioningStateSucceeded), + string(ProvisioningStateUpdating), + } +} + +func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseProvisioningState(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseProvisioningState(input string) (*ProvisioningState, error) { + vals := map[string]ProvisioningState{ + "deleting": ProvisioningStateDeleting, + "failed": ProvisioningStateFailed, + "succeeded": ProvisioningStateSucceeded, + "updating": ProvisioningStateUpdating, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ProvisioningState(input) + return &out, nil +} + +type ResiliencyModel string + +const ( + ResiliencyModelMultiHomed ResiliencyModel = "MultiHomed" + ResiliencyModelSingleHomed ResiliencyModel = "SingleHomed" +) + +func PossibleValuesForResiliencyModel() []string { + return []string{ + string(ResiliencyModelMultiHomed), + string(ResiliencyModelSingleHomed), + } +} + +func (s *ResiliencyModel) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseResiliencyModel(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseResiliencyModel(input string) (*ResiliencyModel, error) { + vals := map[string]ResiliencyModel{ + "multihomed": ResiliencyModelMultiHomed, + "singlehomed": ResiliencyModelSingleHomed, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ResiliencyModel(input) + return &out, nil +} + +type VirtualNetworkGatewayConnectionMode string + +const ( + VirtualNetworkGatewayConnectionModeDefault VirtualNetworkGatewayConnectionMode = "Default" + VirtualNetworkGatewayConnectionModeInitiatorOnly VirtualNetworkGatewayConnectionMode = "InitiatorOnly" + VirtualNetworkGatewayConnectionModeResponderOnly VirtualNetworkGatewayConnectionMode = "ResponderOnly" +) + +func PossibleValuesForVirtualNetworkGatewayConnectionMode() []string { + return []string{ + string(VirtualNetworkGatewayConnectionModeDefault), + string(VirtualNetworkGatewayConnectionModeInitiatorOnly), + string(VirtualNetworkGatewayConnectionModeResponderOnly), + } +} + +func (s *VirtualNetworkGatewayConnectionMode) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseVirtualNetworkGatewayConnectionMode(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseVirtualNetworkGatewayConnectionMode(input string) (*VirtualNetworkGatewayConnectionMode, error) { + vals := map[string]VirtualNetworkGatewayConnectionMode{ + "default": VirtualNetworkGatewayConnectionModeDefault, + "initiatoronly": VirtualNetworkGatewayConnectionModeInitiatorOnly, + "responderonly": VirtualNetworkGatewayConnectionModeResponderOnly, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := VirtualNetworkGatewayConnectionMode(input) + return &out, nil +} + +type VirtualNetworkGatewayConnectionProtocol string + +const ( + VirtualNetworkGatewayConnectionProtocolIKEvOne VirtualNetworkGatewayConnectionProtocol = "IKEv1" + VirtualNetworkGatewayConnectionProtocolIKEvTwo VirtualNetworkGatewayConnectionProtocol = "IKEv2" +) + +func PossibleValuesForVirtualNetworkGatewayConnectionProtocol() []string { + return []string{ + string(VirtualNetworkGatewayConnectionProtocolIKEvOne), + string(VirtualNetworkGatewayConnectionProtocolIKEvTwo), + } +} + +func (s *VirtualNetworkGatewayConnectionProtocol) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseVirtualNetworkGatewayConnectionProtocol(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseVirtualNetworkGatewayConnectionProtocol(input string) (*VirtualNetworkGatewayConnectionProtocol, error) { + vals := map[string]VirtualNetworkGatewayConnectionProtocol{ + "ikev1": VirtualNetworkGatewayConnectionProtocolIKEvOne, + "ikev2": VirtualNetworkGatewayConnectionProtocolIKEvTwo, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := VirtualNetworkGatewayConnectionProtocol(input) + return &out, nil +} + +type VirtualNetworkGatewayConnectionStatus string + +const ( + VirtualNetworkGatewayConnectionStatusConnected VirtualNetworkGatewayConnectionStatus = "Connected" + VirtualNetworkGatewayConnectionStatusConnecting VirtualNetworkGatewayConnectionStatus = "Connecting" + VirtualNetworkGatewayConnectionStatusNotConnected VirtualNetworkGatewayConnectionStatus = "NotConnected" + VirtualNetworkGatewayConnectionStatusUnknown VirtualNetworkGatewayConnectionStatus = "Unknown" +) + +func PossibleValuesForVirtualNetworkGatewayConnectionStatus() []string { + return []string{ + string(VirtualNetworkGatewayConnectionStatusConnected), + string(VirtualNetworkGatewayConnectionStatusConnecting), + string(VirtualNetworkGatewayConnectionStatusNotConnected), + string(VirtualNetworkGatewayConnectionStatusUnknown), + } +} + +func (s *VirtualNetworkGatewayConnectionStatus) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseVirtualNetworkGatewayConnectionStatus(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseVirtualNetworkGatewayConnectionStatus(input string) (*VirtualNetworkGatewayConnectionStatus, error) { + vals := map[string]VirtualNetworkGatewayConnectionStatus{ + "connected": VirtualNetworkGatewayConnectionStatusConnected, + "connecting": VirtualNetworkGatewayConnectionStatusConnecting, + "notconnected": VirtualNetworkGatewayConnectionStatusNotConnected, + "unknown": VirtualNetworkGatewayConnectionStatusUnknown, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := VirtualNetworkGatewayConnectionStatus(input) + return &out, nil +} + +type VirtualNetworkGatewayConnectionType string + +const ( + VirtualNetworkGatewayConnectionTypeExpressRoute VirtualNetworkGatewayConnectionType = "ExpressRoute" + VirtualNetworkGatewayConnectionTypeIPsec VirtualNetworkGatewayConnectionType = "IPsec" + VirtualNetworkGatewayConnectionTypeVPNClient VirtualNetworkGatewayConnectionType = "VPNClient" + VirtualNetworkGatewayConnectionTypeVnetTwoVnet VirtualNetworkGatewayConnectionType = "Vnet2Vnet" +) + +func PossibleValuesForVirtualNetworkGatewayConnectionType() []string { + return []string{ + string(VirtualNetworkGatewayConnectionTypeExpressRoute), + string(VirtualNetworkGatewayConnectionTypeIPsec), + string(VirtualNetworkGatewayConnectionTypeVPNClient), + string(VirtualNetworkGatewayConnectionTypeVnetTwoVnet), + } +} + +func (s *VirtualNetworkGatewayConnectionType) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseVirtualNetworkGatewayConnectionType(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseVirtualNetworkGatewayConnectionType(input string) (*VirtualNetworkGatewayConnectionType, error) { + vals := map[string]VirtualNetworkGatewayConnectionType{ + "expressroute": VirtualNetworkGatewayConnectionTypeExpressRoute, + "ipsec": VirtualNetworkGatewayConnectionTypeIPsec, + "vpnclient": VirtualNetworkGatewayConnectionTypeVPNClient, + "vnet2vnet": VirtualNetworkGatewayConnectionTypeVnetTwoVnet, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := VirtualNetworkGatewayConnectionType(input) + return &out, nil +} + +type VirtualNetworkGatewaySkuName string + +const ( + VirtualNetworkGatewaySkuNameBasic VirtualNetworkGatewaySkuName = "Basic" + VirtualNetworkGatewaySkuNameErGwOneAZ VirtualNetworkGatewaySkuName = "ErGw1AZ" + VirtualNetworkGatewaySkuNameErGwScale VirtualNetworkGatewaySkuName = "ErGwScale" + VirtualNetworkGatewaySkuNameErGwThreeAZ VirtualNetworkGatewaySkuName = "ErGw3AZ" + VirtualNetworkGatewaySkuNameErGwTwoAZ VirtualNetworkGatewaySkuName = "ErGw2AZ" + VirtualNetworkGatewaySkuNameHighPerformance VirtualNetworkGatewaySkuName = "HighPerformance" + VirtualNetworkGatewaySkuNameStandard VirtualNetworkGatewaySkuName = "Standard" + VirtualNetworkGatewaySkuNameUltraPerformance VirtualNetworkGatewaySkuName = "UltraPerformance" + VirtualNetworkGatewaySkuNameVpnGwFive VirtualNetworkGatewaySkuName = "VpnGw5" + VirtualNetworkGatewaySkuNameVpnGwFiveAZ VirtualNetworkGatewaySkuName = "VpnGw5AZ" + VirtualNetworkGatewaySkuNameVpnGwFour VirtualNetworkGatewaySkuName = "VpnGw4" + VirtualNetworkGatewaySkuNameVpnGwFourAZ VirtualNetworkGatewaySkuName = "VpnGw4AZ" + VirtualNetworkGatewaySkuNameVpnGwOne VirtualNetworkGatewaySkuName = "VpnGw1" + VirtualNetworkGatewaySkuNameVpnGwOneAZ VirtualNetworkGatewaySkuName = "VpnGw1AZ" + VirtualNetworkGatewaySkuNameVpnGwThree VirtualNetworkGatewaySkuName = "VpnGw3" + VirtualNetworkGatewaySkuNameVpnGwThreeAZ VirtualNetworkGatewaySkuName = "VpnGw3AZ" + VirtualNetworkGatewaySkuNameVpnGwTwo VirtualNetworkGatewaySkuName = "VpnGw2" + VirtualNetworkGatewaySkuNameVpnGwTwoAZ VirtualNetworkGatewaySkuName = "VpnGw2AZ" +) + +func PossibleValuesForVirtualNetworkGatewaySkuName() []string { + return []string{ + string(VirtualNetworkGatewaySkuNameBasic), + string(VirtualNetworkGatewaySkuNameErGwOneAZ), + string(VirtualNetworkGatewaySkuNameErGwScale), + string(VirtualNetworkGatewaySkuNameErGwThreeAZ), + string(VirtualNetworkGatewaySkuNameErGwTwoAZ), + string(VirtualNetworkGatewaySkuNameHighPerformance), + string(VirtualNetworkGatewaySkuNameStandard), + string(VirtualNetworkGatewaySkuNameUltraPerformance), + string(VirtualNetworkGatewaySkuNameVpnGwFive), + string(VirtualNetworkGatewaySkuNameVpnGwFiveAZ), + string(VirtualNetworkGatewaySkuNameVpnGwFour), + string(VirtualNetworkGatewaySkuNameVpnGwFourAZ), + string(VirtualNetworkGatewaySkuNameVpnGwOne), + string(VirtualNetworkGatewaySkuNameVpnGwOneAZ), + string(VirtualNetworkGatewaySkuNameVpnGwThree), + string(VirtualNetworkGatewaySkuNameVpnGwThreeAZ), + string(VirtualNetworkGatewaySkuNameVpnGwTwo), + string(VirtualNetworkGatewaySkuNameVpnGwTwoAZ), + } +} + +func (s *VirtualNetworkGatewaySkuName) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseVirtualNetworkGatewaySkuName(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseVirtualNetworkGatewaySkuName(input string) (*VirtualNetworkGatewaySkuName, error) { + vals := map[string]VirtualNetworkGatewaySkuName{ + "basic": VirtualNetworkGatewaySkuNameBasic, + "ergw1az": VirtualNetworkGatewaySkuNameErGwOneAZ, + "ergwscale": VirtualNetworkGatewaySkuNameErGwScale, + "ergw3az": VirtualNetworkGatewaySkuNameErGwThreeAZ, + "ergw2az": VirtualNetworkGatewaySkuNameErGwTwoAZ, + "highperformance": VirtualNetworkGatewaySkuNameHighPerformance, + "standard": VirtualNetworkGatewaySkuNameStandard, + "ultraperformance": VirtualNetworkGatewaySkuNameUltraPerformance, + "vpngw5": VirtualNetworkGatewaySkuNameVpnGwFive, + "vpngw5az": VirtualNetworkGatewaySkuNameVpnGwFiveAZ, + "vpngw4": VirtualNetworkGatewaySkuNameVpnGwFour, + "vpngw4az": VirtualNetworkGatewaySkuNameVpnGwFourAZ, + "vpngw1": VirtualNetworkGatewaySkuNameVpnGwOne, + "vpngw1az": VirtualNetworkGatewaySkuNameVpnGwOneAZ, + "vpngw3": VirtualNetworkGatewaySkuNameVpnGwThree, + "vpngw3az": VirtualNetworkGatewaySkuNameVpnGwThreeAZ, + "vpngw2": VirtualNetworkGatewaySkuNameVpnGwTwo, + "vpngw2az": VirtualNetworkGatewaySkuNameVpnGwTwoAZ, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := VirtualNetworkGatewaySkuName(input) + return &out, nil +} + +type VirtualNetworkGatewaySkuTier string + +const ( + VirtualNetworkGatewaySkuTierBasic VirtualNetworkGatewaySkuTier = "Basic" + VirtualNetworkGatewaySkuTierErGwOneAZ VirtualNetworkGatewaySkuTier = "ErGw1AZ" + VirtualNetworkGatewaySkuTierErGwScale VirtualNetworkGatewaySkuTier = "ErGwScale" + VirtualNetworkGatewaySkuTierErGwThreeAZ VirtualNetworkGatewaySkuTier = "ErGw3AZ" + VirtualNetworkGatewaySkuTierErGwTwoAZ VirtualNetworkGatewaySkuTier = "ErGw2AZ" + VirtualNetworkGatewaySkuTierHighPerformance VirtualNetworkGatewaySkuTier = "HighPerformance" + VirtualNetworkGatewaySkuTierStandard VirtualNetworkGatewaySkuTier = "Standard" + VirtualNetworkGatewaySkuTierUltraPerformance VirtualNetworkGatewaySkuTier = "UltraPerformance" + VirtualNetworkGatewaySkuTierVpnGwFive VirtualNetworkGatewaySkuTier = "VpnGw5" + VirtualNetworkGatewaySkuTierVpnGwFiveAZ VirtualNetworkGatewaySkuTier = "VpnGw5AZ" + VirtualNetworkGatewaySkuTierVpnGwFour VirtualNetworkGatewaySkuTier = "VpnGw4" + VirtualNetworkGatewaySkuTierVpnGwFourAZ VirtualNetworkGatewaySkuTier = "VpnGw4AZ" + VirtualNetworkGatewaySkuTierVpnGwOne VirtualNetworkGatewaySkuTier = "VpnGw1" + VirtualNetworkGatewaySkuTierVpnGwOneAZ VirtualNetworkGatewaySkuTier = "VpnGw1AZ" + VirtualNetworkGatewaySkuTierVpnGwThree VirtualNetworkGatewaySkuTier = "VpnGw3" + VirtualNetworkGatewaySkuTierVpnGwThreeAZ VirtualNetworkGatewaySkuTier = "VpnGw3AZ" + VirtualNetworkGatewaySkuTierVpnGwTwo VirtualNetworkGatewaySkuTier = "VpnGw2" + VirtualNetworkGatewaySkuTierVpnGwTwoAZ VirtualNetworkGatewaySkuTier = "VpnGw2AZ" +) + +func PossibleValuesForVirtualNetworkGatewaySkuTier() []string { + return []string{ + string(VirtualNetworkGatewaySkuTierBasic), + string(VirtualNetworkGatewaySkuTierErGwOneAZ), + string(VirtualNetworkGatewaySkuTierErGwScale), + string(VirtualNetworkGatewaySkuTierErGwThreeAZ), + string(VirtualNetworkGatewaySkuTierErGwTwoAZ), + string(VirtualNetworkGatewaySkuTierHighPerformance), + string(VirtualNetworkGatewaySkuTierStandard), + string(VirtualNetworkGatewaySkuTierUltraPerformance), + string(VirtualNetworkGatewaySkuTierVpnGwFive), + string(VirtualNetworkGatewaySkuTierVpnGwFiveAZ), + string(VirtualNetworkGatewaySkuTierVpnGwFour), + string(VirtualNetworkGatewaySkuTierVpnGwFourAZ), + string(VirtualNetworkGatewaySkuTierVpnGwOne), + string(VirtualNetworkGatewaySkuTierVpnGwOneAZ), + string(VirtualNetworkGatewaySkuTierVpnGwThree), + string(VirtualNetworkGatewaySkuTierVpnGwThreeAZ), + string(VirtualNetworkGatewaySkuTierVpnGwTwo), + string(VirtualNetworkGatewaySkuTierVpnGwTwoAZ), + } +} + +func (s *VirtualNetworkGatewaySkuTier) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseVirtualNetworkGatewaySkuTier(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseVirtualNetworkGatewaySkuTier(input string) (*VirtualNetworkGatewaySkuTier, error) { + vals := map[string]VirtualNetworkGatewaySkuTier{ + "basic": VirtualNetworkGatewaySkuTierBasic, + "ergw1az": VirtualNetworkGatewaySkuTierErGwOneAZ, + "ergwscale": VirtualNetworkGatewaySkuTierErGwScale, + "ergw3az": VirtualNetworkGatewaySkuTierErGwThreeAZ, + "ergw2az": VirtualNetworkGatewaySkuTierErGwTwoAZ, + "highperformance": VirtualNetworkGatewaySkuTierHighPerformance, + "standard": VirtualNetworkGatewaySkuTierStandard, + "ultraperformance": VirtualNetworkGatewaySkuTierUltraPerformance, + "vpngw5": VirtualNetworkGatewaySkuTierVpnGwFive, + "vpngw5az": VirtualNetworkGatewaySkuTierVpnGwFiveAZ, + "vpngw4": VirtualNetworkGatewaySkuTierVpnGwFour, + "vpngw4az": VirtualNetworkGatewaySkuTierVpnGwFourAZ, + "vpngw1": VirtualNetworkGatewaySkuTierVpnGwOne, + "vpngw1az": VirtualNetworkGatewaySkuTierVpnGwOneAZ, + "vpngw3": VirtualNetworkGatewaySkuTierVpnGwThree, + "vpngw3az": VirtualNetworkGatewaySkuTierVpnGwThreeAZ, + "vpngw2": VirtualNetworkGatewaySkuTierVpnGwTwo, + "vpngw2az": VirtualNetworkGatewaySkuTierVpnGwTwoAZ, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := VirtualNetworkGatewaySkuTier(input) + return &out, nil +} + +type VirtualNetworkGatewayType string + +const ( + VirtualNetworkGatewayTypeExpressRoute VirtualNetworkGatewayType = "ExpressRoute" + VirtualNetworkGatewayTypeLocalGateway VirtualNetworkGatewayType = "LocalGateway" + VirtualNetworkGatewayTypeVpn VirtualNetworkGatewayType = "Vpn" +) + +func PossibleValuesForVirtualNetworkGatewayType() []string { + return []string{ + string(VirtualNetworkGatewayTypeExpressRoute), + string(VirtualNetworkGatewayTypeLocalGateway), + string(VirtualNetworkGatewayTypeVpn), + } +} + +func (s *VirtualNetworkGatewayType) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseVirtualNetworkGatewayType(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseVirtualNetworkGatewayType(input string) (*VirtualNetworkGatewayType, error) { + vals := map[string]VirtualNetworkGatewayType{ + "expressroute": VirtualNetworkGatewayTypeExpressRoute, + "localgateway": VirtualNetworkGatewayTypeLocalGateway, + "vpn": VirtualNetworkGatewayTypeVpn, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := VirtualNetworkGatewayType(input) + return &out, nil +} + +type VpnAuthenticationType string + +const ( + VpnAuthenticationTypeAAD VpnAuthenticationType = "AAD" + VpnAuthenticationTypeCertificate VpnAuthenticationType = "Certificate" + VpnAuthenticationTypeRadius VpnAuthenticationType = "Radius" +) + +func PossibleValuesForVpnAuthenticationType() []string { + return []string{ + string(VpnAuthenticationTypeAAD), + string(VpnAuthenticationTypeCertificate), + string(VpnAuthenticationTypeRadius), + } +} + +func (s *VpnAuthenticationType) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseVpnAuthenticationType(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseVpnAuthenticationType(input string) (*VpnAuthenticationType, error) { + vals := map[string]VpnAuthenticationType{ + "aad": VpnAuthenticationTypeAAD, + "certificate": VpnAuthenticationTypeCertificate, + "radius": VpnAuthenticationTypeRadius, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := VpnAuthenticationType(input) + return &out, nil +} + +type VpnClientProtocol string + +const ( + VpnClientProtocolIkeVTwo VpnClientProtocol = "IkeV2" + VpnClientProtocolOpenVPN VpnClientProtocol = "OpenVPN" + VpnClientProtocolSSTP VpnClientProtocol = "SSTP" +) + +func PossibleValuesForVpnClientProtocol() []string { + return []string{ + string(VpnClientProtocolIkeVTwo), + string(VpnClientProtocolOpenVPN), + string(VpnClientProtocolSSTP), + } +} + +func (s *VpnClientProtocol) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseVpnClientProtocol(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseVpnClientProtocol(input string) (*VpnClientProtocol, error) { + vals := map[string]VpnClientProtocol{ + "ikev2": VpnClientProtocolIkeVTwo, + "openvpn": VpnClientProtocolOpenVPN, + "sstp": VpnClientProtocolSSTP, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := VpnClientProtocol(input) + return &out, nil +} + +type VpnGatewayGeneration string + +const ( + VpnGatewayGenerationGenerationOne VpnGatewayGeneration = "Generation1" + VpnGatewayGenerationGenerationTwo VpnGatewayGeneration = "Generation2" + VpnGatewayGenerationNone VpnGatewayGeneration = "None" +) + +func PossibleValuesForVpnGatewayGeneration() []string { + return []string{ + string(VpnGatewayGenerationGenerationOne), + string(VpnGatewayGenerationGenerationTwo), + string(VpnGatewayGenerationNone), + } +} + +func (s *VpnGatewayGeneration) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseVpnGatewayGeneration(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseVpnGatewayGeneration(input string) (*VpnGatewayGeneration, error) { + vals := map[string]VpnGatewayGeneration{ + "generation1": VpnGatewayGenerationGenerationOne, + "generation2": VpnGatewayGenerationGenerationTwo, + "none": VpnGatewayGenerationNone, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := VpnGatewayGeneration(input) + return &out, nil +} + +type VpnNatRuleMode string + +const ( + VpnNatRuleModeEgressSnat VpnNatRuleMode = "EgressSnat" + VpnNatRuleModeIngressSnat VpnNatRuleMode = "IngressSnat" +) + +func PossibleValuesForVpnNatRuleMode() []string { + return []string{ + string(VpnNatRuleModeEgressSnat), + string(VpnNatRuleModeIngressSnat), + } +} + +func (s *VpnNatRuleMode) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseVpnNatRuleMode(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseVpnNatRuleMode(input string) (*VpnNatRuleMode, error) { + vals := map[string]VpnNatRuleMode{ + "egresssnat": VpnNatRuleModeEgressSnat, + "ingresssnat": VpnNatRuleModeIngressSnat, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := VpnNatRuleMode(input) + return &out, nil +} + +type VpnNatRuleType string + +const ( + VpnNatRuleTypeDynamic VpnNatRuleType = "Dynamic" + VpnNatRuleTypeStatic VpnNatRuleType = "Static" +) + +func PossibleValuesForVpnNatRuleType() []string { + return []string{ + string(VpnNatRuleTypeDynamic), + string(VpnNatRuleTypeStatic), + } +} + +func (s *VpnNatRuleType) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseVpnNatRuleType(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseVpnNatRuleType(input string) (*VpnNatRuleType, error) { + vals := map[string]VpnNatRuleType{ + "dynamic": VpnNatRuleTypeDynamic, + "static": VpnNatRuleTypeStatic, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := VpnNatRuleType(input) + return &out, nil +} + +type VpnPolicyMemberAttributeType string + +const ( + VpnPolicyMemberAttributeTypeAADGroupId VpnPolicyMemberAttributeType = "AADGroupId" + VpnPolicyMemberAttributeTypeCertificateGroupId VpnPolicyMemberAttributeType = "CertificateGroupId" + VpnPolicyMemberAttributeTypeRadiusAzureGroupId VpnPolicyMemberAttributeType = "RadiusAzureGroupId" +) + +func PossibleValuesForVpnPolicyMemberAttributeType() []string { + return []string{ + string(VpnPolicyMemberAttributeTypeAADGroupId), + string(VpnPolicyMemberAttributeTypeCertificateGroupId), + string(VpnPolicyMemberAttributeTypeRadiusAzureGroupId), + } +} + +func (s *VpnPolicyMemberAttributeType) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseVpnPolicyMemberAttributeType(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseVpnPolicyMemberAttributeType(input string) (*VpnPolicyMemberAttributeType, error) { + vals := map[string]VpnPolicyMemberAttributeType{ + "aadgroupid": VpnPolicyMemberAttributeTypeAADGroupId, + "certificategroupid": VpnPolicyMemberAttributeTypeCertificateGroupId, + "radiusazuregroupid": VpnPolicyMemberAttributeTypeRadiusAzureGroupId, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := VpnPolicyMemberAttributeType(input) + return &out, nil +} + +type VpnType string + +const ( + VpnTypePolicyBased VpnType = "PolicyBased" + VpnTypeRouteBased VpnType = "RouteBased" +) + +func PossibleValuesForVpnType() []string { + return []string{ + string(VpnTypePolicyBased), + string(VpnTypeRouteBased), + } +} + +func (s *VpnType) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseVpnType(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseVpnType(input string) (*VpnType, error) { + vals := map[string]VpnType{ + "policybased": VpnTypePolicyBased, + "routebased": VpnTypeRouteBased, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := VpnType(input) + return &out, nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/id_connection.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/id_connection.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/id_connection.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/id_connection.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/id_virtualnetworkgateway.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/id_virtualnetworkgateway.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/id_virtualnetworkgateway.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/id_virtualnetworkgateway.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/id_virtualnetworkgatewaynatrule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/id_virtualnetworkgatewaynatrule.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/id_virtualnetworkgatewaynatrule.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/id_virtualnetworkgatewaynatrule.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/method_createorupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/method_createorupdate.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/method_createorupdate.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/method_createorupdate.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/method_delete.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/method_delete.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/method_delete.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/method_delete.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/method_disconnectvirtualnetworkgatewayvpnconnections.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/method_disconnectvirtualnetworkgatewayvpnconnections.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/method_disconnectvirtualnetworkgatewayvpnconnections.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/method_disconnectvirtualnetworkgatewayvpnconnections.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/method_generatevpnclientpackage.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/method_generatevpnclientpackage.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/method_generatevpnclientpackage.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/method_generatevpnclientpackage.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/method_generatevpnprofile.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/method_generatevpnprofile.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/method_generatevpnprofile.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/method_generatevpnprofile.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/method_get.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/method_get.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/method_get.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/method_get.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/method_getadvertisedroutes.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/method_getadvertisedroutes.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/method_getadvertisedroutes.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/method_getadvertisedroutes.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/method_getbgppeerstatus.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/method_getbgppeerstatus.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/method_getbgppeerstatus.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/method_getbgppeerstatus.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/method_getlearnedroutes.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/method_getlearnedroutes.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/method_getlearnedroutes.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/method_getlearnedroutes.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/method_getvpnclientconnectionhealth.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/method_getvpnclientconnectionhealth.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/method_getvpnclientconnectionhealth.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/method_getvpnclientconnectionhealth.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/method_getvpnclientipsecparameters.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/method_getvpnclientipsecparameters.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/method_getvpnclientipsecparameters.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/method_getvpnclientipsecparameters.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/method_getvpnprofilepackageurl.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/method_getvpnprofilepackageurl.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/method_getvpnprofilepackageurl.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/method_getvpnprofilepackageurl.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/method_list.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/method_list.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/method_list.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/method_list.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/method_listconnections.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/method_listconnections.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/method_listconnections.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/method_listconnections.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/method_reset.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/method_reset.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/method_reset.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/method_reset.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/method_resetvpnclientsharedkey.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/method_resetvpnclientsharedkey.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/method_resetvpnclientsharedkey.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/method_resetvpnclientsharedkey.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/method_setvpnclientipsecparameters.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/method_setvpnclientipsecparameters.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/method_setvpnclientipsecparameters.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/method_setvpnclientipsecparameters.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/method_startpacketcapture.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/method_startpacketcapture.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/method_startpacketcapture.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/method_startpacketcapture.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/method_stoppacketcapture.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/method_stoppacketcapture.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/method_stoppacketcapture.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/method_stoppacketcapture.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/method_supportedvpndevices.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/method_supportedvpndevices.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/method_supportedvpndevices.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/method_supportedvpndevices.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/method_updatetags.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/method_updatetags.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/method_updatetags.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/method_updatetags.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/method_virtualnetworkgatewaynatrulescreateorupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/method_virtualnetworkgatewaynatrulescreateorupdate.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/method_virtualnetworkgatewaynatrulescreateorupdate.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/method_virtualnetworkgatewaynatrulescreateorupdate.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/method_virtualnetworkgatewaynatrulesdelete.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/method_virtualnetworkgatewaynatrulesdelete.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/method_virtualnetworkgatewaynatrulesdelete.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/method_virtualnetworkgatewaynatrulesdelete.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/method_virtualnetworkgatewaynatrulesget.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/method_virtualnetworkgatewaynatrulesget.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/method_virtualnetworkgatewaynatrulesget.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/method_virtualnetworkgatewaynatrulesget.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/method_virtualnetworkgatewaynatruleslistbyvirtualnetworkgateway.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/method_virtualnetworkgatewaynatruleslistbyvirtualnetworkgateway.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/method_virtualnetworkgatewaynatruleslistbyvirtualnetworkgateway.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/method_virtualnetworkgatewaynatruleslistbyvirtualnetworkgateway.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/method_vpndeviceconfigurationscript.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/method_vpndeviceconfigurationscript.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/method_vpndeviceconfigurationscript.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/method_vpndeviceconfigurationscript.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/model_addressspace.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/model_addressspace.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/model_addressspace.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/model_addressspace.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/model_bgppeerstatus.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/model_bgppeerstatus.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/model_bgppeerstatus.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/model_bgppeerstatus.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/model_bgppeerstatuslistresult.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/model_bgppeerstatuslistresult.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/model_bgppeerstatuslistresult.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/model_bgppeerstatuslistresult.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/model_bgpsettings.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/model_bgpsettings.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/model_bgpsettings.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/model_bgpsettings.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/model_gatewaycustombgpipaddressipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/model_gatewaycustombgpipaddressipconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/model_gatewaycustombgpipaddressipconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/model_gatewaycustombgpipaddressipconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/model_gatewayroute.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/model_gatewayroute.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/model_gatewayroute.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/model_gatewayroute.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/model_gatewayroutelistresult.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/model_gatewayroutelistresult.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/model_gatewayroutelistresult.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/model_gatewayroutelistresult.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/model_ipconfigurationbgppeeringaddress.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/model_ipconfigurationbgppeeringaddress.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/model_ipconfigurationbgppeeringaddress.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/model_ipconfigurationbgppeeringaddress.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/model_ipsecpolicy.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/model_ipsecpolicy.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/model_ipsecpolicy.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/model_ipsecpolicy.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/model_p2svpnconnectionrequest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/model_p2svpnconnectionrequest.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/model_p2svpnconnectionrequest.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/model_p2svpnconnectionrequest.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/model_radiusserver.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/model_radiusserver.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/model_radiusserver.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/model_radiusserver.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/model_subresource.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/model_subresource.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/model_subresource.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/model_subresource.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/model_tagsobject.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/model_tagsobject.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/model_tagsobject.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/model_tagsobject.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/model_trafficselectorpolicy.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/model_trafficselectorpolicy.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/model_trafficselectorpolicy.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/model_trafficselectorpolicy.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/model_tunnelconnectionhealth.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/model_tunnelconnectionhealth.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/model_tunnelconnectionhealth.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/model_tunnelconnectionhealth.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/model_virtualnetworkconnectiongatewayreference.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/model_virtualnetworkconnectiongatewayreference.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/model_virtualnetworkconnectiongatewayreference.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/model_virtualnetworkconnectiongatewayreference.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/model_virtualnetworkgateway.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/model_virtualnetworkgateway.go new file mode 100644 index 000000000000..09ed1954ed64 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/model_virtualnetworkgateway.go @@ -0,0 +1,21 @@ +package virtualnetworkgateways + +import ( + "github.com/hashicorp/go-azure-helpers/resourcemanager/edgezones" + "github.com/hashicorp/go-azure-helpers/resourcemanager/identity" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VirtualNetworkGateway struct { + Etag *string `json:"etag,omitempty"` + ExtendedLocation *edgezones.Model `json:"extendedLocation,omitempty"` + Id *string `json:"id,omitempty"` + Identity *identity.SystemAndUserAssignedMap `json:"identity,omitempty"` + Location *string `json:"location,omitempty"` + Name *string `json:"name,omitempty"` + Properties VirtualNetworkGatewayPropertiesFormat `json:"properties"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/model_virtualnetworkgatewayautoscalebounds.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/model_virtualnetworkgatewayautoscalebounds.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/model_virtualnetworkgatewayautoscalebounds.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/model_virtualnetworkgatewayautoscalebounds.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/model_virtualnetworkgatewayautoscaleconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/model_virtualnetworkgatewayautoscaleconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/model_virtualnetworkgatewayautoscaleconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/model_virtualnetworkgatewayautoscaleconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/model_virtualnetworkgatewayconnectionlistentity.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/model_virtualnetworkgatewayconnectionlistentity.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/model_virtualnetworkgatewayconnectionlistentity.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/model_virtualnetworkgatewayconnectionlistentity.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/model_virtualnetworkgatewayconnectionlistentitypropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/model_virtualnetworkgatewayconnectionlistentitypropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/model_virtualnetworkgatewayconnectionlistentitypropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/model_virtualnetworkgatewayconnectionlistentitypropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/model_virtualnetworkgatewayipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/model_virtualnetworkgatewayipconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/model_virtualnetworkgatewayipconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/model_virtualnetworkgatewayipconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/model_virtualnetworkgatewayipconfigurationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/model_virtualnetworkgatewayipconfigurationpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/model_virtualnetworkgatewayipconfigurationpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/model_virtualnetworkgatewayipconfigurationpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/model_virtualnetworkgatewaynatrule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/model_virtualnetworkgatewaynatrule.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/model_virtualnetworkgatewaynatrule.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/model_virtualnetworkgatewaynatrule.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/model_virtualnetworkgatewaynatruleproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/model_virtualnetworkgatewaynatruleproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/model_virtualnetworkgatewaynatruleproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/model_virtualnetworkgatewaynatruleproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/model_virtualnetworkgatewaypolicygroup.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/model_virtualnetworkgatewaypolicygroup.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/model_virtualnetworkgatewaypolicygroup.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/model_virtualnetworkgatewaypolicygroup.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/model_virtualnetworkgatewaypolicygroupmember.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/model_virtualnetworkgatewaypolicygroupmember.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/model_virtualnetworkgatewaypolicygroupmember.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/model_virtualnetworkgatewaypolicygroupmember.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/model_virtualnetworkgatewaypolicygroupproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/model_virtualnetworkgatewaypolicygroupproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/model_virtualnetworkgatewaypolicygroupproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/model_virtualnetworkgatewaypolicygroupproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/model_virtualnetworkgatewaypropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/model_virtualnetworkgatewaypropertiesformat.go new file mode 100644 index 000000000000..d371f8bea657 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/model_virtualnetworkgatewaypropertiesformat.go @@ -0,0 +1,33 @@ +package virtualnetworkgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VirtualNetworkGatewayPropertiesFormat struct { + ActiveActive *bool `json:"activeActive,omitempty"` + AdminState *AdminState `json:"adminState,omitempty"` + AllowRemoteVnetTraffic *bool `json:"allowRemoteVnetTraffic,omitempty"` + AllowVirtualWanTraffic *bool `json:"allowVirtualWanTraffic,omitempty"` + AutoScaleConfiguration *VirtualNetworkGatewayAutoScaleConfiguration `json:"autoScaleConfiguration,omitempty"` + BgpSettings *BgpSettings `json:"bgpSettings,omitempty"` + CustomRoutes *AddressSpace `json:"customRoutes,omitempty"` + DisableIPSecReplayProtection *bool `json:"disableIPSecReplayProtection,omitempty"` + EnableBgp *bool `json:"enableBgp,omitempty"` + EnableBgpRouteTranslationForNat *bool `json:"enableBgpRouteTranslationForNat,omitempty"` + EnableDnsForwarding *bool `json:"enableDnsForwarding,omitempty"` + EnablePrivateIPAddress *bool `json:"enablePrivateIpAddress,omitempty"` + GatewayDefaultSite *SubResource `json:"gatewayDefaultSite,omitempty"` + GatewayType *VirtualNetworkGatewayType `json:"gatewayType,omitempty"` + IPConfigurations *[]VirtualNetworkGatewayIPConfiguration `json:"ipConfigurations,omitempty"` + InboundDnsForwardingEndpoint *string `json:"inboundDnsForwardingEndpoint,omitempty"` + NatRules *[]VirtualNetworkGatewayNatRule `json:"natRules,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + ResiliencyModel *ResiliencyModel `json:"resiliencyModel,omitempty"` + ResourceGuid *string `json:"resourceGuid,omitempty"` + Sku *VirtualNetworkGatewaySku `json:"sku,omitempty"` + VNetExtendedLocationResourceId *string `json:"vNetExtendedLocationResourceId,omitempty"` + VirtualNetworkGatewayPolicyGroups *[]VirtualNetworkGatewayPolicyGroup `json:"virtualNetworkGatewayPolicyGroups,omitempty"` + VpnClientConfiguration *VpnClientConfiguration `json:"vpnClientConfiguration,omitempty"` + VpnGatewayGeneration *VpnGatewayGeneration `json:"vpnGatewayGeneration,omitempty"` + VpnType *VpnType `json:"vpnType,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/model_virtualnetworkgatewaysku.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/model_virtualnetworkgatewaysku.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/model_virtualnetworkgatewaysku.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/model_virtualnetworkgatewaysku.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/model_vngclientconnectionconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/model_vngclientconnectionconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/model_vngclientconnectionconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/model_vngclientconnectionconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/model_vngclientconnectionconfigurationproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/model_vngclientconnectionconfigurationproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/model_vngclientconnectionconfigurationproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/model_vngclientconnectionconfigurationproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/model_vpnclientconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/model_vpnclientconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/model_vpnclientconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/model_vpnclientconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/model_vpnclientconnectionhealthdetail.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/model_vpnclientconnectionhealthdetail.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/model_vpnclientconnectionhealthdetail.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/model_vpnclientconnectionhealthdetail.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/model_vpnclientconnectionhealthdetaillistresult.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/model_vpnclientconnectionhealthdetaillistresult.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/model_vpnclientconnectionhealthdetaillistresult.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/model_vpnclientconnectionhealthdetaillistresult.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/model_vpnclientipsecparameters.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/model_vpnclientipsecparameters.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/model_vpnclientipsecparameters.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/model_vpnclientipsecparameters.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/model_vpnclientparameters.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/model_vpnclientparameters.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/model_vpnclientparameters.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/model_vpnclientparameters.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/model_vpnclientrevokedcertificate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/model_vpnclientrevokedcertificate.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/model_vpnclientrevokedcertificate.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/model_vpnclientrevokedcertificate.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/model_vpnclientrevokedcertificatepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/model_vpnclientrevokedcertificatepropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/model_vpnclientrevokedcertificatepropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/model_vpnclientrevokedcertificatepropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/model_vpnclientrootcertificate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/model_vpnclientrootcertificate.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/model_vpnclientrootcertificate.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/model_vpnclientrootcertificate.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/model_vpnclientrootcertificatepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/model_vpnclientrootcertificatepropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/model_vpnclientrootcertificatepropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/model_vpnclientrootcertificatepropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/model_vpndevicescriptparameters.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/model_vpndevicescriptparameters.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/model_vpndevicescriptparameters.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/model_vpndevicescriptparameters.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/model_vpnnatrulemapping.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/model_vpnnatrulemapping.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/model_vpnnatrulemapping.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/model_vpnnatrulemapping.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/model_vpnpacketcapturestartparameters.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/model_vpnpacketcapturestartparameters.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/model_vpnpacketcapturestartparameters.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/model_vpnpacketcapturestartparameters.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/model_vpnpacketcapturestopparameters.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/model_vpnpacketcapturestopparameters.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/model_vpnpacketcapturestopparameters.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/model_vpnpacketcapturestopparameters.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/predicates.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways/predicates.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/predicates.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/version.go new file mode 100644 index 000000000000..94d4b52b0d45 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways/version.go @@ -0,0 +1,10 @@ +package virtualnetworkgateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2024-03-01" + +func userAgent() string { + return "hashicorp/go-azure-sdk/virtualnetworkgateways/2024-03-01" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkpeerings/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkpeerings/README.md new file mode 100644 index 000000000000..83eedf629c49 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkpeerings/README.md @@ -0,0 +1,83 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkpeerings` Documentation + +The `virtualnetworkpeerings` SDK allows for interaction with Azure Resource Manager `network` (API Version `2024-03-01`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" +import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkpeerings" +``` + + +### Client Initialization + +```go +client := virtualnetworkpeerings.NewVirtualNetworkPeeringsClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `VirtualNetworkPeeringsClient.CreateOrUpdate` + +```go +ctx := context.TODO() +id := virtualnetworkpeerings.NewVirtualNetworkPeeringID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualNetworkName", "virtualNetworkPeeringName") + +payload := virtualnetworkpeerings.VirtualNetworkPeering{ + // ... +} + + +if err := client.CreateOrUpdateThenPoll(ctx, id, payload, virtualnetworkpeerings.DefaultCreateOrUpdateOperationOptions()); err != nil { + // handle the error +} +``` + + +### Example Usage: `VirtualNetworkPeeringsClient.Delete` + +```go +ctx := context.TODO() +id := virtualnetworkpeerings.NewVirtualNetworkPeeringID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualNetworkName", "virtualNetworkPeeringName") + +if err := client.DeleteThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `VirtualNetworkPeeringsClient.Get` + +```go +ctx := context.TODO() +id := virtualnetworkpeerings.NewVirtualNetworkPeeringID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualNetworkName", "virtualNetworkPeeringName") + +read, err := client.Get(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `VirtualNetworkPeeringsClient.List` + +```go +ctx := context.TODO() +id := commonids.NewVirtualNetworkID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualNetworkName") + +// alternatively `client.List(ctx, id)` can be used to do batched pagination +items, err := client.ListComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkpeerings/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkpeerings/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkpeerings/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkpeerings/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkpeerings/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkpeerings/constants.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkpeerings/constants.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkpeerings/constants.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkpeerings/id_virtualnetworkpeering.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkpeerings/id_virtualnetworkpeering.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkpeerings/id_virtualnetworkpeering.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkpeerings/id_virtualnetworkpeering.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkpeerings/method_createorupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkpeerings/method_createorupdate.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkpeerings/method_createorupdate.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkpeerings/method_createorupdate.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkpeerings/method_delete.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkpeerings/method_delete.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkpeerings/method_delete.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkpeerings/method_delete.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkpeerings/method_get.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkpeerings/method_get.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkpeerings/method_get.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkpeerings/method_get.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkpeerings/method_list.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkpeerings/method_list.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkpeerings/method_list.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkpeerings/method_list.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkpeerings/model_addressspace.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkpeerings/model_addressspace.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkpeerings/model_addressspace.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkpeerings/model_addressspace.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkpeerings/model_subresource.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkpeerings/model_subresource.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkpeerings/model_subresource.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkpeerings/model_subresource.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkpeerings/model_virtualnetworkbgpcommunities.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkpeerings/model_virtualnetworkbgpcommunities.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkpeerings/model_virtualnetworkbgpcommunities.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkpeerings/model_virtualnetworkbgpcommunities.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkpeerings/model_virtualnetworkencryption.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkpeerings/model_virtualnetworkencryption.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkpeerings/model_virtualnetworkencryption.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkpeerings/model_virtualnetworkencryption.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkpeerings/model_virtualnetworkpeering.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkpeerings/model_virtualnetworkpeering.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkpeerings/model_virtualnetworkpeering.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkpeerings/model_virtualnetworkpeering.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkpeerings/model_virtualnetworkpeeringpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkpeerings/model_virtualnetworkpeeringpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkpeerings/model_virtualnetworkpeeringpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkpeerings/model_virtualnetworkpeeringpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkpeerings/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkpeerings/predicates.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkpeerings/predicates.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkpeerings/predicates.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkpeerings/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkpeerings/version.go new file mode 100644 index 000000000000..8ddc05448ba7 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkpeerings/version.go @@ -0,0 +1,10 @@ +package virtualnetworkpeerings + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2024-03-01" + +func userAgent() string { + return "hashicorp/go-azure-sdk/virtualnetworkpeerings/2024-03-01" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/README.md new file mode 100644 index 000000000000..5a064f325f1a --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/README.md @@ -0,0 +1,239 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks` Documentation + +The `virtualnetworks` SDK allows for interaction with Azure Resource Manager `network` (API Version `2024-03-01`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" +import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks" +``` + + +### Client Initialization + +```go +client := virtualnetworks.NewVirtualNetworksClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `VirtualNetworksClient.CreateOrUpdate` + +```go +ctx := context.TODO() +id := commonids.NewVirtualNetworkID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualNetworkName") + +payload := virtualnetworks.VirtualNetwork{ + // ... +} + + +if err := client.CreateOrUpdateThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `VirtualNetworksClient.Delete` + +```go +ctx := context.TODO() +id := commonids.NewVirtualNetworkID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualNetworkName") + +if err := client.DeleteThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `VirtualNetworksClient.Get` + +```go +ctx := context.TODO() +id := commonids.NewVirtualNetworkID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualNetworkName") + +read, err := client.Get(ctx, id, virtualnetworks.DefaultGetOperationOptions()) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `VirtualNetworksClient.List` + +```go +ctx := context.TODO() +id := commonids.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group") + +// alternatively `client.List(ctx, id)` can be used to do batched pagination +items, err := client.ListComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `VirtualNetworksClient.ListAll` + +```go +ctx := context.TODO() +id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012") + +// alternatively `client.ListAll(ctx, id)` can be used to do batched pagination +items, err := client.ListAllComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `VirtualNetworksClient.ResourceNavigationLinksList` + +```go +ctx := context.TODO() +id := commonids.NewSubnetID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualNetworkName", "subnetName") + +// alternatively `client.ResourceNavigationLinksList(ctx, id)` can be used to do batched pagination +items, err := client.ResourceNavigationLinksListComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `VirtualNetworksClient.ServiceAssociationLinksList` + +```go +ctx := context.TODO() +id := commonids.NewSubnetID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualNetworkName", "subnetName") + +// alternatively `client.ServiceAssociationLinksList(ctx, id)` can be used to do batched pagination +items, err := client.ServiceAssociationLinksListComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `VirtualNetworksClient.SubnetsPrepareNetworkPolicies` + +```go +ctx := context.TODO() +id := commonids.NewSubnetID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualNetworkName", "subnetName") + +payload := virtualnetworks.PrepareNetworkPoliciesRequest{ + // ... +} + + +if err := client.SubnetsPrepareNetworkPoliciesThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `VirtualNetworksClient.SubnetsUnprepareNetworkPolicies` + +```go +ctx := context.TODO() +id := commonids.NewSubnetID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualNetworkName", "subnetName") + +payload := virtualnetworks.UnprepareNetworkPoliciesRequest{ + // ... +} + + +if err := client.SubnetsUnprepareNetworkPoliciesThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `VirtualNetworksClient.UpdateTags` + +```go +ctx := context.TODO() +id := commonids.NewVirtualNetworkID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualNetworkName") + +payload := virtualnetworks.TagsObject{ + // ... +} + + +read, err := client.UpdateTags(ctx, id, payload) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `VirtualNetworksClient.VirtualNetworksCheckIPAddressAvailability` + +```go +ctx := context.TODO() +id := commonids.NewVirtualNetworkID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualNetworkName") + +read, err := client.VirtualNetworksCheckIPAddressAvailability(ctx, id, virtualnetworks.DefaultVirtualNetworksCheckIPAddressAvailabilityOperationOptions()) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `VirtualNetworksClient.VirtualNetworksListDdosProtectionStatus` + +```go +ctx := context.TODO() +id := commonids.NewVirtualNetworkID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualNetworkName") + +// alternatively `client.VirtualNetworksListDdosProtectionStatus(ctx, id, virtualnetworks.DefaultVirtualNetworksListDdosProtectionStatusOperationOptions())` can be used to do batched pagination +items, err := client.VirtualNetworksListDdosProtectionStatusComplete(ctx, id, virtualnetworks.DefaultVirtualNetworksListDdosProtectionStatusOperationOptions()) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `VirtualNetworksClient.VirtualNetworksListUsage` + +```go +ctx := context.TODO() +id := commonids.NewVirtualNetworkID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualNetworkName") + +// alternatively `client.VirtualNetworksListUsage(ctx, id)` can be used to do batched pagination +items, err := client.VirtualNetworksListUsageComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/constants.go new file mode 100644 index 000000000000..d9b7a0f33901 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/constants.go @@ -0,0 +1,1412 @@ +package virtualnetworks + +import ( + "encoding/json" + "fmt" + "strings" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type DdosSettingsProtectionMode string + +const ( + DdosSettingsProtectionModeDisabled DdosSettingsProtectionMode = "Disabled" + DdosSettingsProtectionModeEnabled DdosSettingsProtectionMode = "Enabled" + DdosSettingsProtectionModeVirtualNetworkInherited DdosSettingsProtectionMode = "VirtualNetworkInherited" +) + +func PossibleValuesForDdosSettingsProtectionMode() []string { + return []string{ + string(DdosSettingsProtectionModeDisabled), + string(DdosSettingsProtectionModeEnabled), + string(DdosSettingsProtectionModeVirtualNetworkInherited), + } +} + +func (s *DdosSettingsProtectionMode) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseDdosSettingsProtectionMode(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseDdosSettingsProtectionMode(input string) (*DdosSettingsProtectionMode, error) { + vals := map[string]DdosSettingsProtectionMode{ + "disabled": DdosSettingsProtectionModeDisabled, + "enabled": DdosSettingsProtectionModeEnabled, + "virtualnetworkinherited": DdosSettingsProtectionModeVirtualNetworkInherited, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := DdosSettingsProtectionMode(input) + return &out, nil +} + +type DeleteOptions string + +const ( + DeleteOptionsDelete DeleteOptions = "Delete" + DeleteOptionsDetach DeleteOptions = "Detach" +) + +func PossibleValuesForDeleteOptions() []string { + return []string{ + string(DeleteOptionsDelete), + string(DeleteOptionsDetach), + } +} + +func (s *DeleteOptions) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseDeleteOptions(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseDeleteOptions(input string) (*DeleteOptions, error) { + vals := map[string]DeleteOptions{ + "delete": DeleteOptionsDelete, + "detach": DeleteOptionsDetach, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := DeleteOptions(input) + return &out, nil +} + +type FlowLogFormatType string + +const ( + FlowLogFormatTypeJSON FlowLogFormatType = "JSON" +) + +func PossibleValuesForFlowLogFormatType() []string { + return []string{ + string(FlowLogFormatTypeJSON), + } +} + +func (s *FlowLogFormatType) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseFlowLogFormatType(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseFlowLogFormatType(input string) (*FlowLogFormatType, error) { + vals := map[string]FlowLogFormatType{ + "json": FlowLogFormatTypeJSON, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := FlowLogFormatType(input) + return &out, nil +} + +type GatewayLoadBalancerTunnelInterfaceType string + +const ( + GatewayLoadBalancerTunnelInterfaceTypeExternal GatewayLoadBalancerTunnelInterfaceType = "External" + GatewayLoadBalancerTunnelInterfaceTypeInternal GatewayLoadBalancerTunnelInterfaceType = "Internal" + GatewayLoadBalancerTunnelInterfaceTypeNone GatewayLoadBalancerTunnelInterfaceType = "None" +) + +func PossibleValuesForGatewayLoadBalancerTunnelInterfaceType() []string { + return []string{ + string(GatewayLoadBalancerTunnelInterfaceTypeExternal), + string(GatewayLoadBalancerTunnelInterfaceTypeInternal), + string(GatewayLoadBalancerTunnelInterfaceTypeNone), + } +} + +func (s *GatewayLoadBalancerTunnelInterfaceType) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseGatewayLoadBalancerTunnelInterfaceType(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseGatewayLoadBalancerTunnelInterfaceType(input string) (*GatewayLoadBalancerTunnelInterfaceType, error) { + vals := map[string]GatewayLoadBalancerTunnelInterfaceType{ + "external": GatewayLoadBalancerTunnelInterfaceTypeExternal, + "internal": GatewayLoadBalancerTunnelInterfaceTypeInternal, + "none": GatewayLoadBalancerTunnelInterfaceTypeNone, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := GatewayLoadBalancerTunnelInterfaceType(input) + return &out, nil +} + +type GatewayLoadBalancerTunnelProtocol string + +const ( + GatewayLoadBalancerTunnelProtocolNative GatewayLoadBalancerTunnelProtocol = "Native" + GatewayLoadBalancerTunnelProtocolNone GatewayLoadBalancerTunnelProtocol = "None" + GatewayLoadBalancerTunnelProtocolVXLAN GatewayLoadBalancerTunnelProtocol = "VXLAN" +) + +func PossibleValuesForGatewayLoadBalancerTunnelProtocol() []string { + return []string{ + string(GatewayLoadBalancerTunnelProtocolNative), + string(GatewayLoadBalancerTunnelProtocolNone), + string(GatewayLoadBalancerTunnelProtocolVXLAN), + } +} + +func (s *GatewayLoadBalancerTunnelProtocol) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseGatewayLoadBalancerTunnelProtocol(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseGatewayLoadBalancerTunnelProtocol(input string) (*GatewayLoadBalancerTunnelProtocol, error) { + vals := map[string]GatewayLoadBalancerTunnelProtocol{ + "native": GatewayLoadBalancerTunnelProtocolNative, + "none": GatewayLoadBalancerTunnelProtocolNone, + "vxlan": GatewayLoadBalancerTunnelProtocolVXLAN, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := GatewayLoadBalancerTunnelProtocol(input) + return &out, nil +} + +type IPAllocationMethod string + +const ( + IPAllocationMethodDynamic IPAllocationMethod = "Dynamic" + IPAllocationMethodStatic IPAllocationMethod = "Static" +) + +func PossibleValuesForIPAllocationMethod() []string { + return []string{ + string(IPAllocationMethodDynamic), + string(IPAllocationMethodStatic), + } +} + +func (s *IPAllocationMethod) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseIPAllocationMethod(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseIPAllocationMethod(input string) (*IPAllocationMethod, error) { + vals := map[string]IPAllocationMethod{ + "dynamic": IPAllocationMethodDynamic, + "static": IPAllocationMethodStatic, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := IPAllocationMethod(input) + return &out, nil +} + +type IPVersion string + +const ( + IPVersionIPvFour IPVersion = "IPv4" + IPVersionIPvSix IPVersion = "IPv6" +) + +func PossibleValuesForIPVersion() []string { + return []string{ + string(IPVersionIPvFour), + string(IPVersionIPvSix), + } +} + +func (s *IPVersion) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseIPVersion(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseIPVersion(input string) (*IPVersion, error) { + vals := map[string]IPVersion{ + "ipv4": IPVersionIPvFour, + "ipv6": IPVersionIPvSix, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := IPVersion(input) + return &out, nil +} + +type IsWorkloadProtected string + +const ( + IsWorkloadProtectedFalse IsWorkloadProtected = "False" + IsWorkloadProtectedTrue IsWorkloadProtected = "True" +) + +func PossibleValuesForIsWorkloadProtected() []string { + return []string{ + string(IsWorkloadProtectedFalse), + string(IsWorkloadProtectedTrue), + } +} + +func (s *IsWorkloadProtected) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseIsWorkloadProtected(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseIsWorkloadProtected(input string) (*IsWorkloadProtected, error) { + vals := map[string]IsWorkloadProtected{ + "false": IsWorkloadProtectedFalse, + "true": IsWorkloadProtectedTrue, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := IsWorkloadProtected(input) + return &out, nil +} + +type LoadBalancerBackendAddressAdminState string + +const ( + LoadBalancerBackendAddressAdminStateDown LoadBalancerBackendAddressAdminState = "Down" + LoadBalancerBackendAddressAdminStateNone LoadBalancerBackendAddressAdminState = "None" + LoadBalancerBackendAddressAdminStateUp LoadBalancerBackendAddressAdminState = "Up" +) + +func PossibleValuesForLoadBalancerBackendAddressAdminState() []string { + return []string{ + string(LoadBalancerBackendAddressAdminStateDown), + string(LoadBalancerBackendAddressAdminStateNone), + string(LoadBalancerBackendAddressAdminStateUp), + } +} + +func (s *LoadBalancerBackendAddressAdminState) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseLoadBalancerBackendAddressAdminState(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseLoadBalancerBackendAddressAdminState(input string) (*LoadBalancerBackendAddressAdminState, error) { + vals := map[string]LoadBalancerBackendAddressAdminState{ + "down": LoadBalancerBackendAddressAdminStateDown, + "none": LoadBalancerBackendAddressAdminStateNone, + "up": LoadBalancerBackendAddressAdminStateUp, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := LoadBalancerBackendAddressAdminState(input) + return &out, nil +} + +type NatGatewaySkuName string + +const ( + NatGatewaySkuNameStandard NatGatewaySkuName = "Standard" +) + +func PossibleValuesForNatGatewaySkuName() []string { + return []string{ + string(NatGatewaySkuNameStandard), + } +} + +func (s *NatGatewaySkuName) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseNatGatewaySkuName(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseNatGatewaySkuName(input string) (*NatGatewaySkuName, error) { + vals := map[string]NatGatewaySkuName{ + "standard": NatGatewaySkuNameStandard, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := NatGatewaySkuName(input) + return &out, nil +} + +type NetworkInterfaceAuxiliaryMode string + +const ( + NetworkInterfaceAuxiliaryModeAcceleratedConnections NetworkInterfaceAuxiliaryMode = "AcceleratedConnections" + NetworkInterfaceAuxiliaryModeFloating NetworkInterfaceAuxiliaryMode = "Floating" + NetworkInterfaceAuxiliaryModeMaxConnections NetworkInterfaceAuxiliaryMode = "MaxConnections" + NetworkInterfaceAuxiliaryModeNone NetworkInterfaceAuxiliaryMode = "None" +) + +func PossibleValuesForNetworkInterfaceAuxiliaryMode() []string { + return []string{ + string(NetworkInterfaceAuxiliaryModeAcceleratedConnections), + string(NetworkInterfaceAuxiliaryModeFloating), + string(NetworkInterfaceAuxiliaryModeMaxConnections), + string(NetworkInterfaceAuxiliaryModeNone), + } +} + +func (s *NetworkInterfaceAuxiliaryMode) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseNetworkInterfaceAuxiliaryMode(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseNetworkInterfaceAuxiliaryMode(input string) (*NetworkInterfaceAuxiliaryMode, error) { + vals := map[string]NetworkInterfaceAuxiliaryMode{ + "acceleratedconnections": NetworkInterfaceAuxiliaryModeAcceleratedConnections, + "floating": NetworkInterfaceAuxiliaryModeFloating, + "maxconnections": NetworkInterfaceAuxiliaryModeMaxConnections, + "none": NetworkInterfaceAuxiliaryModeNone, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := NetworkInterfaceAuxiliaryMode(input) + return &out, nil +} + +type NetworkInterfaceAuxiliarySku string + +const ( + NetworkInterfaceAuxiliarySkuAEight NetworkInterfaceAuxiliarySku = "A8" + NetworkInterfaceAuxiliarySkuAFour NetworkInterfaceAuxiliarySku = "A4" + NetworkInterfaceAuxiliarySkuAOne NetworkInterfaceAuxiliarySku = "A1" + NetworkInterfaceAuxiliarySkuATwo NetworkInterfaceAuxiliarySku = "A2" + NetworkInterfaceAuxiliarySkuNone NetworkInterfaceAuxiliarySku = "None" +) + +func PossibleValuesForNetworkInterfaceAuxiliarySku() []string { + return []string{ + string(NetworkInterfaceAuxiliarySkuAEight), + string(NetworkInterfaceAuxiliarySkuAFour), + string(NetworkInterfaceAuxiliarySkuAOne), + string(NetworkInterfaceAuxiliarySkuATwo), + string(NetworkInterfaceAuxiliarySkuNone), + } +} + +func (s *NetworkInterfaceAuxiliarySku) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseNetworkInterfaceAuxiliarySku(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseNetworkInterfaceAuxiliarySku(input string) (*NetworkInterfaceAuxiliarySku, error) { + vals := map[string]NetworkInterfaceAuxiliarySku{ + "a8": NetworkInterfaceAuxiliarySkuAEight, + "a4": NetworkInterfaceAuxiliarySkuAFour, + "a1": NetworkInterfaceAuxiliarySkuAOne, + "a2": NetworkInterfaceAuxiliarySkuATwo, + "none": NetworkInterfaceAuxiliarySkuNone, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := NetworkInterfaceAuxiliarySku(input) + return &out, nil +} + +type NetworkInterfaceMigrationPhase string + +const ( + NetworkInterfaceMigrationPhaseAbort NetworkInterfaceMigrationPhase = "Abort" + NetworkInterfaceMigrationPhaseCommit NetworkInterfaceMigrationPhase = "Commit" + NetworkInterfaceMigrationPhaseCommitted NetworkInterfaceMigrationPhase = "Committed" + NetworkInterfaceMigrationPhaseNone NetworkInterfaceMigrationPhase = "None" + NetworkInterfaceMigrationPhasePrepare NetworkInterfaceMigrationPhase = "Prepare" +) + +func PossibleValuesForNetworkInterfaceMigrationPhase() []string { + return []string{ + string(NetworkInterfaceMigrationPhaseAbort), + string(NetworkInterfaceMigrationPhaseCommit), + string(NetworkInterfaceMigrationPhaseCommitted), + string(NetworkInterfaceMigrationPhaseNone), + string(NetworkInterfaceMigrationPhasePrepare), + } +} + +func (s *NetworkInterfaceMigrationPhase) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseNetworkInterfaceMigrationPhase(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseNetworkInterfaceMigrationPhase(input string) (*NetworkInterfaceMigrationPhase, error) { + vals := map[string]NetworkInterfaceMigrationPhase{ + "abort": NetworkInterfaceMigrationPhaseAbort, + "commit": NetworkInterfaceMigrationPhaseCommit, + "committed": NetworkInterfaceMigrationPhaseCommitted, + "none": NetworkInterfaceMigrationPhaseNone, + "prepare": NetworkInterfaceMigrationPhasePrepare, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := NetworkInterfaceMigrationPhase(input) + return &out, nil +} + +type NetworkInterfaceNicType string + +const ( + NetworkInterfaceNicTypeElastic NetworkInterfaceNicType = "Elastic" + NetworkInterfaceNicTypeStandard NetworkInterfaceNicType = "Standard" +) + +func PossibleValuesForNetworkInterfaceNicType() []string { + return []string{ + string(NetworkInterfaceNicTypeElastic), + string(NetworkInterfaceNicTypeStandard), + } +} + +func (s *NetworkInterfaceNicType) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseNetworkInterfaceNicType(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseNetworkInterfaceNicType(input string) (*NetworkInterfaceNicType, error) { + vals := map[string]NetworkInterfaceNicType{ + "elastic": NetworkInterfaceNicTypeElastic, + "standard": NetworkInterfaceNicTypeStandard, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := NetworkInterfaceNicType(input) + return &out, nil +} + +type PrivateEndpointVNetPolicies string + +const ( + PrivateEndpointVNetPoliciesBasic PrivateEndpointVNetPolicies = "Basic" + PrivateEndpointVNetPoliciesDisabled PrivateEndpointVNetPolicies = "Disabled" +) + +func PossibleValuesForPrivateEndpointVNetPolicies() []string { + return []string{ + string(PrivateEndpointVNetPoliciesBasic), + string(PrivateEndpointVNetPoliciesDisabled), + } +} + +func (s *PrivateEndpointVNetPolicies) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parsePrivateEndpointVNetPolicies(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parsePrivateEndpointVNetPolicies(input string) (*PrivateEndpointVNetPolicies, error) { + vals := map[string]PrivateEndpointVNetPolicies{ + "basic": PrivateEndpointVNetPoliciesBasic, + "disabled": PrivateEndpointVNetPoliciesDisabled, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := PrivateEndpointVNetPolicies(input) + return &out, nil +} + +type ProvisioningState string + +const ( + ProvisioningStateDeleting ProvisioningState = "Deleting" + ProvisioningStateFailed ProvisioningState = "Failed" + ProvisioningStateSucceeded ProvisioningState = "Succeeded" + ProvisioningStateUpdating ProvisioningState = "Updating" +) + +func PossibleValuesForProvisioningState() []string { + return []string{ + string(ProvisioningStateDeleting), + string(ProvisioningStateFailed), + string(ProvisioningStateSucceeded), + string(ProvisioningStateUpdating), + } +} + +func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseProvisioningState(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseProvisioningState(input string) (*ProvisioningState, error) { + vals := map[string]ProvisioningState{ + "deleting": ProvisioningStateDeleting, + "failed": ProvisioningStateFailed, + "succeeded": ProvisioningStateSucceeded, + "updating": ProvisioningStateUpdating, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ProvisioningState(input) + return &out, nil +} + +type PublicIPAddressDnsSettingsDomainNameLabelScope string + +const ( + PublicIPAddressDnsSettingsDomainNameLabelScopeNoReuse PublicIPAddressDnsSettingsDomainNameLabelScope = "NoReuse" + PublicIPAddressDnsSettingsDomainNameLabelScopeResourceGroupReuse PublicIPAddressDnsSettingsDomainNameLabelScope = "ResourceGroupReuse" + PublicIPAddressDnsSettingsDomainNameLabelScopeSubscriptionReuse PublicIPAddressDnsSettingsDomainNameLabelScope = "SubscriptionReuse" + PublicIPAddressDnsSettingsDomainNameLabelScopeTenantReuse PublicIPAddressDnsSettingsDomainNameLabelScope = "TenantReuse" +) + +func PossibleValuesForPublicIPAddressDnsSettingsDomainNameLabelScope() []string { + return []string{ + string(PublicIPAddressDnsSettingsDomainNameLabelScopeNoReuse), + string(PublicIPAddressDnsSettingsDomainNameLabelScopeResourceGroupReuse), + string(PublicIPAddressDnsSettingsDomainNameLabelScopeSubscriptionReuse), + string(PublicIPAddressDnsSettingsDomainNameLabelScopeTenantReuse), + } +} + +func (s *PublicIPAddressDnsSettingsDomainNameLabelScope) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parsePublicIPAddressDnsSettingsDomainNameLabelScope(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parsePublicIPAddressDnsSettingsDomainNameLabelScope(input string) (*PublicIPAddressDnsSettingsDomainNameLabelScope, error) { + vals := map[string]PublicIPAddressDnsSettingsDomainNameLabelScope{ + "noreuse": PublicIPAddressDnsSettingsDomainNameLabelScopeNoReuse, + "resourcegroupreuse": PublicIPAddressDnsSettingsDomainNameLabelScopeResourceGroupReuse, + "subscriptionreuse": PublicIPAddressDnsSettingsDomainNameLabelScopeSubscriptionReuse, + "tenantreuse": PublicIPAddressDnsSettingsDomainNameLabelScopeTenantReuse, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := PublicIPAddressDnsSettingsDomainNameLabelScope(input) + return &out, nil +} + +type PublicIPAddressMigrationPhase string + +const ( + PublicIPAddressMigrationPhaseAbort PublicIPAddressMigrationPhase = "Abort" + PublicIPAddressMigrationPhaseCommit PublicIPAddressMigrationPhase = "Commit" + PublicIPAddressMigrationPhaseCommitted PublicIPAddressMigrationPhase = "Committed" + PublicIPAddressMigrationPhaseNone PublicIPAddressMigrationPhase = "None" + PublicIPAddressMigrationPhasePrepare PublicIPAddressMigrationPhase = "Prepare" +) + +func PossibleValuesForPublicIPAddressMigrationPhase() []string { + return []string{ + string(PublicIPAddressMigrationPhaseAbort), + string(PublicIPAddressMigrationPhaseCommit), + string(PublicIPAddressMigrationPhaseCommitted), + string(PublicIPAddressMigrationPhaseNone), + string(PublicIPAddressMigrationPhasePrepare), + } +} + +func (s *PublicIPAddressMigrationPhase) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parsePublicIPAddressMigrationPhase(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parsePublicIPAddressMigrationPhase(input string) (*PublicIPAddressMigrationPhase, error) { + vals := map[string]PublicIPAddressMigrationPhase{ + "abort": PublicIPAddressMigrationPhaseAbort, + "commit": PublicIPAddressMigrationPhaseCommit, + "committed": PublicIPAddressMigrationPhaseCommitted, + "none": PublicIPAddressMigrationPhaseNone, + "prepare": PublicIPAddressMigrationPhasePrepare, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := PublicIPAddressMigrationPhase(input) + return &out, nil +} + +type PublicIPAddressSkuName string + +const ( + PublicIPAddressSkuNameBasic PublicIPAddressSkuName = "Basic" + PublicIPAddressSkuNameStandard PublicIPAddressSkuName = "Standard" +) + +func PossibleValuesForPublicIPAddressSkuName() []string { + return []string{ + string(PublicIPAddressSkuNameBasic), + string(PublicIPAddressSkuNameStandard), + } +} + +func (s *PublicIPAddressSkuName) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parsePublicIPAddressSkuName(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parsePublicIPAddressSkuName(input string) (*PublicIPAddressSkuName, error) { + vals := map[string]PublicIPAddressSkuName{ + "basic": PublicIPAddressSkuNameBasic, + "standard": PublicIPAddressSkuNameStandard, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := PublicIPAddressSkuName(input) + return &out, nil +} + +type PublicIPAddressSkuTier string + +const ( + PublicIPAddressSkuTierGlobal PublicIPAddressSkuTier = "Global" + PublicIPAddressSkuTierRegional PublicIPAddressSkuTier = "Regional" +) + +func PossibleValuesForPublicIPAddressSkuTier() []string { + return []string{ + string(PublicIPAddressSkuTierGlobal), + string(PublicIPAddressSkuTierRegional), + } +} + +func (s *PublicIPAddressSkuTier) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parsePublicIPAddressSkuTier(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parsePublicIPAddressSkuTier(input string) (*PublicIPAddressSkuTier, error) { + vals := map[string]PublicIPAddressSkuTier{ + "global": PublicIPAddressSkuTierGlobal, + "regional": PublicIPAddressSkuTierRegional, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := PublicIPAddressSkuTier(input) + return &out, nil +} + +type RouteNextHopType string + +const ( + RouteNextHopTypeInternet RouteNextHopType = "Internet" + RouteNextHopTypeNone RouteNextHopType = "None" + RouteNextHopTypeVirtualAppliance RouteNextHopType = "VirtualAppliance" + RouteNextHopTypeVirtualNetworkGateway RouteNextHopType = "VirtualNetworkGateway" + RouteNextHopTypeVnetLocal RouteNextHopType = "VnetLocal" +) + +func PossibleValuesForRouteNextHopType() []string { + return []string{ + string(RouteNextHopTypeInternet), + string(RouteNextHopTypeNone), + string(RouteNextHopTypeVirtualAppliance), + string(RouteNextHopTypeVirtualNetworkGateway), + string(RouteNextHopTypeVnetLocal), + } +} + +func (s *RouteNextHopType) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseRouteNextHopType(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseRouteNextHopType(input string) (*RouteNextHopType, error) { + vals := map[string]RouteNextHopType{ + "internet": RouteNextHopTypeInternet, + "none": RouteNextHopTypeNone, + "virtualappliance": RouteNextHopTypeVirtualAppliance, + "virtualnetworkgateway": RouteNextHopTypeVirtualNetworkGateway, + "vnetlocal": RouteNextHopTypeVnetLocal, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := RouteNextHopType(input) + return &out, nil +} + +type SecurityRuleAccess string + +const ( + SecurityRuleAccessAllow SecurityRuleAccess = "Allow" + SecurityRuleAccessDeny SecurityRuleAccess = "Deny" +) + +func PossibleValuesForSecurityRuleAccess() []string { + return []string{ + string(SecurityRuleAccessAllow), + string(SecurityRuleAccessDeny), + } +} + +func (s *SecurityRuleAccess) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseSecurityRuleAccess(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseSecurityRuleAccess(input string) (*SecurityRuleAccess, error) { + vals := map[string]SecurityRuleAccess{ + "allow": SecurityRuleAccessAllow, + "deny": SecurityRuleAccessDeny, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := SecurityRuleAccess(input) + return &out, nil +} + +type SecurityRuleDirection string + +const ( + SecurityRuleDirectionInbound SecurityRuleDirection = "Inbound" + SecurityRuleDirectionOutbound SecurityRuleDirection = "Outbound" +) + +func PossibleValuesForSecurityRuleDirection() []string { + return []string{ + string(SecurityRuleDirectionInbound), + string(SecurityRuleDirectionOutbound), + } +} + +func (s *SecurityRuleDirection) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseSecurityRuleDirection(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseSecurityRuleDirection(input string) (*SecurityRuleDirection, error) { + vals := map[string]SecurityRuleDirection{ + "inbound": SecurityRuleDirectionInbound, + "outbound": SecurityRuleDirectionOutbound, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := SecurityRuleDirection(input) + return &out, nil +} + +type SecurityRuleProtocol string + +const ( + SecurityRuleProtocolAh SecurityRuleProtocol = "Ah" + SecurityRuleProtocolAny SecurityRuleProtocol = "*" + SecurityRuleProtocolEsp SecurityRuleProtocol = "Esp" + SecurityRuleProtocolIcmp SecurityRuleProtocol = "Icmp" + SecurityRuleProtocolTcp SecurityRuleProtocol = "Tcp" + SecurityRuleProtocolUdp SecurityRuleProtocol = "Udp" +) + +func PossibleValuesForSecurityRuleProtocol() []string { + return []string{ + string(SecurityRuleProtocolAh), + string(SecurityRuleProtocolAny), + string(SecurityRuleProtocolEsp), + string(SecurityRuleProtocolIcmp), + string(SecurityRuleProtocolTcp), + string(SecurityRuleProtocolUdp), + } +} + +func (s *SecurityRuleProtocol) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseSecurityRuleProtocol(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseSecurityRuleProtocol(input string) (*SecurityRuleProtocol, error) { + vals := map[string]SecurityRuleProtocol{ + "ah": SecurityRuleProtocolAh, + "*": SecurityRuleProtocolAny, + "esp": SecurityRuleProtocolEsp, + "icmp": SecurityRuleProtocolIcmp, + "tcp": SecurityRuleProtocolTcp, + "udp": SecurityRuleProtocolUdp, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := SecurityRuleProtocol(input) + return &out, nil +} + +type SharingScope string + +const ( + SharingScopeDelegatedServices SharingScope = "DelegatedServices" + SharingScopeTenant SharingScope = "Tenant" +) + +func PossibleValuesForSharingScope() []string { + return []string{ + string(SharingScopeDelegatedServices), + string(SharingScopeTenant), + } +} + +func (s *SharingScope) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseSharingScope(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseSharingScope(input string) (*SharingScope, error) { + vals := map[string]SharingScope{ + "delegatedservices": SharingScopeDelegatedServices, + "tenant": SharingScopeTenant, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := SharingScope(input) + return &out, nil +} + +type SyncMode string + +const ( + SyncModeAutomatic SyncMode = "Automatic" + SyncModeManual SyncMode = "Manual" +) + +func PossibleValuesForSyncMode() []string { + return []string{ + string(SyncModeAutomatic), + string(SyncModeManual), + } +} + +func (s *SyncMode) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseSyncMode(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseSyncMode(input string) (*SyncMode, error) { + vals := map[string]SyncMode{ + "automatic": SyncModeAutomatic, + "manual": SyncModeManual, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := SyncMode(input) + return &out, nil +} + +type TransportProtocol string + +const ( + TransportProtocolAll TransportProtocol = "All" + TransportProtocolTcp TransportProtocol = "Tcp" + TransportProtocolUdp TransportProtocol = "Udp" +) + +func PossibleValuesForTransportProtocol() []string { + return []string{ + string(TransportProtocolAll), + string(TransportProtocolTcp), + string(TransportProtocolUdp), + } +} + +func (s *TransportProtocol) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseTransportProtocol(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseTransportProtocol(input string) (*TransportProtocol, error) { + vals := map[string]TransportProtocol{ + "all": TransportProtocolAll, + "tcp": TransportProtocolTcp, + "udp": TransportProtocolUdp, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := TransportProtocol(input) + return &out, nil +} + +type VirtualNetworkEncryptionEnforcement string + +const ( + VirtualNetworkEncryptionEnforcementAllowUnencrypted VirtualNetworkEncryptionEnforcement = "AllowUnencrypted" + VirtualNetworkEncryptionEnforcementDropUnencrypted VirtualNetworkEncryptionEnforcement = "DropUnencrypted" +) + +func PossibleValuesForVirtualNetworkEncryptionEnforcement() []string { + return []string{ + string(VirtualNetworkEncryptionEnforcementAllowUnencrypted), + string(VirtualNetworkEncryptionEnforcementDropUnencrypted), + } +} + +func (s *VirtualNetworkEncryptionEnforcement) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseVirtualNetworkEncryptionEnforcement(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseVirtualNetworkEncryptionEnforcement(input string) (*VirtualNetworkEncryptionEnforcement, error) { + vals := map[string]VirtualNetworkEncryptionEnforcement{ + "allowunencrypted": VirtualNetworkEncryptionEnforcementAllowUnencrypted, + "dropunencrypted": VirtualNetworkEncryptionEnforcementDropUnencrypted, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := VirtualNetworkEncryptionEnforcement(input) + return &out, nil +} + +type VirtualNetworkPeeringLevel string + +const ( + VirtualNetworkPeeringLevelFullyInSync VirtualNetworkPeeringLevel = "FullyInSync" + VirtualNetworkPeeringLevelLocalAndRemoteNotInSync VirtualNetworkPeeringLevel = "LocalAndRemoteNotInSync" + VirtualNetworkPeeringLevelLocalNotInSync VirtualNetworkPeeringLevel = "LocalNotInSync" + VirtualNetworkPeeringLevelRemoteNotInSync VirtualNetworkPeeringLevel = "RemoteNotInSync" +) + +func PossibleValuesForVirtualNetworkPeeringLevel() []string { + return []string{ + string(VirtualNetworkPeeringLevelFullyInSync), + string(VirtualNetworkPeeringLevelLocalAndRemoteNotInSync), + string(VirtualNetworkPeeringLevelLocalNotInSync), + string(VirtualNetworkPeeringLevelRemoteNotInSync), + } +} + +func (s *VirtualNetworkPeeringLevel) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseVirtualNetworkPeeringLevel(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseVirtualNetworkPeeringLevel(input string) (*VirtualNetworkPeeringLevel, error) { + vals := map[string]VirtualNetworkPeeringLevel{ + "fullyinsync": VirtualNetworkPeeringLevelFullyInSync, + "localandremotenotinsync": VirtualNetworkPeeringLevelLocalAndRemoteNotInSync, + "localnotinsync": VirtualNetworkPeeringLevelLocalNotInSync, + "remotenotinsync": VirtualNetworkPeeringLevelRemoteNotInSync, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := VirtualNetworkPeeringLevel(input) + return &out, nil +} + +type VirtualNetworkPeeringState string + +const ( + VirtualNetworkPeeringStateConnected VirtualNetworkPeeringState = "Connected" + VirtualNetworkPeeringStateDisconnected VirtualNetworkPeeringState = "Disconnected" + VirtualNetworkPeeringStateInitiated VirtualNetworkPeeringState = "Initiated" +) + +func PossibleValuesForVirtualNetworkPeeringState() []string { + return []string{ + string(VirtualNetworkPeeringStateConnected), + string(VirtualNetworkPeeringStateDisconnected), + string(VirtualNetworkPeeringStateInitiated), + } +} + +func (s *VirtualNetworkPeeringState) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseVirtualNetworkPeeringState(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseVirtualNetworkPeeringState(input string) (*VirtualNetworkPeeringState, error) { + vals := map[string]VirtualNetworkPeeringState{ + "connected": VirtualNetworkPeeringStateConnected, + "disconnected": VirtualNetworkPeeringStateDisconnected, + "initiated": VirtualNetworkPeeringStateInitiated, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := VirtualNetworkPeeringState(input) + return &out, nil +} + +type VirtualNetworkPrivateEndpointNetworkPolicies string + +const ( + VirtualNetworkPrivateEndpointNetworkPoliciesDisabled VirtualNetworkPrivateEndpointNetworkPolicies = "Disabled" + VirtualNetworkPrivateEndpointNetworkPoliciesEnabled VirtualNetworkPrivateEndpointNetworkPolicies = "Enabled" + VirtualNetworkPrivateEndpointNetworkPoliciesNetworkSecurityGroupEnabled VirtualNetworkPrivateEndpointNetworkPolicies = "NetworkSecurityGroupEnabled" + VirtualNetworkPrivateEndpointNetworkPoliciesRouteTableEnabled VirtualNetworkPrivateEndpointNetworkPolicies = "RouteTableEnabled" +) + +func PossibleValuesForVirtualNetworkPrivateEndpointNetworkPolicies() []string { + return []string{ + string(VirtualNetworkPrivateEndpointNetworkPoliciesDisabled), + string(VirtualNetworkPrivateEndpointNetworkPoliciesEnabled), + string(VirtualNetworkPrivateEndpointNetworkPoliciesNetworkSecurityGroupEnabled), + string(VirtualNetworkPrivateEndpointNetworkPoliciesRouteTableEnabled), + } +} + +func (s *VirtualNetworkPrivateEndpointNetworkPolicies) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseVirtualNetworkPrivateEndpointNetworkPolicies(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseVirtualNetworkPrivateEndpointNetworkPolicies(input string) (*VirtualNetworkPrivateEndpointNetworkPolicies, error) { + vals := map[string]VirtualNetworkPrivateEndpointNetworkPolicies{ + "disabled": VirtualNetworkPrivateEndpointNetworkPoliciesDisabled, + "enabled": VirtualNetworkPrivateEndpointNetworkPoliciesEnabled, + "networksecuritygroupenabled": VirtualNetworkPrivateEndpointNetworkPoliciesNetworkSecurityGroupEnabled, + "routetableenabled": VirtualNetworkPrivateEndpointNetworkPoliciesRouteTableEnabled, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := VirtualNetworkPrivateEndpointNetworkPolicies(input) + return &out, nil +} + +type VirtualNetworkPrivateLinkServiceNetworkPolicies string + +const ( + VirtualNetworkPrivateLinkServiceNetworkPoliciesDisabled VirtualNetworkPrivateLinkServiceNetworkPolicies = "Disabled" + VirtualNetworkPrivateLinkServiceNetworkPoliciesEnabled VirtualNetworkPrivateLinkServiceNetworkPolicies = "Enabled" +) + +func PossibleValuesForVirtualNetworkPrivateLinkServiceNetworkPolicies() []string { + return []string{ + string(VirtualNetworkPrivateLinkServiceNetworkPoliciesDisabled), + string(VirtualNetworkPrivateLinkServiceNetworkPoliciesEnabled), + } +} + +func (s *VirtualNetworkPrivateLinkServiceNetworkPolicies) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseVirtualNetworkPrivateLinkServiceNetworkPolicies(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseVirtualNetworkPrivateLinkServiceNetworkPolicies(input string) (*VirtualNetworkPrivateLinkServiceNetworkPolicies, error) { + vals := map[string]VirtualNetworkPrivateLinkServiceNetworkPolicies{ + "disabled": VirtualNetworkPrivateLinkServiceNetworkPoliciesDisabled, + "enabled": VirtualNetworkPrivateLinkServiceNetworkPoliciesEnabled, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := VirtualNetworkPrivateLinkServiceNetworkPolicies(input) + return &out, nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/method_createorupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/method_createorupdate.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/method_createorupdate.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/method_createorupdate.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/method_delete.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/method_delete.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/method_delete.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/method_delete.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/method_get.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/method_get.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/method_get.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/method_get.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/method_list.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/method_list.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/method_list.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/method_list.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/method_listall.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/method_listall.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/method_listall.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/method_listall.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/method_resourcenavigationlinkslist.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/method_resourcenavigationlinkslist.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/method_resourcenavigationlinkslist.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/method_resourcenavigationlinkslist.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/method_serviceassociationlinkslist.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/method_serviceassociationlinkslist.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/method_serviceassociationlinkslist.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/method_serviceassociationlinkslist.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/method_subnetspreparenetworkpolicies.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/method_subnetspreparenetworkpolicies.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/method_subnetspreparenetworkpolicies.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/method_subnetspreparenetworkpolicies.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/method_subnetsunpreparenetworkpolicies.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/method_subnetsunpreparenetworkpolicies.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/method_subnetsunpreparenetworkpolicies.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/method_subnetsunpreparenetworkpolicies.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/method_updatetags.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/method_updatetags.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/method_updatetags.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/method_updatetags.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/method_virtualnetworkscheckipaddressavailability.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/method_virtualnetworkscheckipaddressavailability.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/method_virtualnetworkscheckipaddressavailability.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/method_virtualnetworkscheckipaddressavailability.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/method_virtualnetworkslistddosprotectionstatus.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/method_virtualnetworkslistddosprotectionstatus.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/method_virtualnetworkslistddosprotectionstatus.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/method_virtualnetworkslistddosprotectionstatus.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/method_virtualnetworkslistusage.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/method_virtualnetworkslistusage.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/method_virtualnetworkslistusage.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/method_virtualnetworkslistusage.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_addressspace.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_addressspace.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_addressspace.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_addressspace.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_applicationgatewaybackendaddress.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_applicationgatewaybackendaddress.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_applicationgatewaybackendaddress.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_applicationgatewaybackendaddress.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_applicationgatewaybackendaddresspool.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_applicationgatewaybackendaddresspool.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_applicationgatewaybackendaddresspool.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_applicationgatewaybackendaddresspool.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_applicationgatewaybackendaddresspoolpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_applicationgatewaybackendaddresspoolpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_applicationgatewaybackendaddresspoolpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_applicationgatewaybackendaddresspoolpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_applicationgatewayipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_applicationgatewayipconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_applicationgatewayipconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_applicationgatewayipconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_applicationgatewayipconfigurationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_applicationgatewayipconfigurationpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_applicationgatewayipconfigurationpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_applicationgatewayipconfigurationpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_applicationsecuritygroup.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_applicationsecuritygroup.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_applicationsecuritygroup.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_applicationsecuritygroup.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_applicationsecuritygrouppropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_applicationsecuritygrouppropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_applicationsecuritygrouppropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_applicationsecuritygrouppropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_backendaddresspool.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_backendaddresspool.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_backendaddresspool.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_backendaddresspool.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_backendaddresspoolpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_backendaddresspoolpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_backendaddresspoolpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_backendaddresspoolpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_customdnsconfigpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_customdnsconfigpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_customdnsconfigpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_customdnsconfigpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_ddossettings.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_ddossettings.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_ddossettings.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_ddossettings.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_delegation.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_delegation.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_delegation.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_delegation.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_dhcpoptions.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_dhcpoptions.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_dhcpoptions.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_dhcpoptions.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_flowlog.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_flowlog.go new file mode 100644 index 000000000000..99a08c9552f9 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_flowlog.go @@ -0,0 +1,19 @@ +package virtualnetworks + +import ( + "github.com/hashicorp/go-azure-helpers/resourcemanager/identity" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type FlowLog struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Identity *identity.SystemAndUserAssignedMap `json:"identity,omitempty"` + Location *string `json:"location,omitempty"` + Name *string `json:"name,omitempty"` + Properties *FlowLogPropertiesFormat `json:"properties,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_flowlogformatparameters.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_flowlogformatparameters.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_flowlogformatparameters.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_flowlogformatparameters.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_flowlogpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_flowlogpropertiesformat.go new file mode 100644 index 000000000000..85dd6159153f --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_flowlogpropertiesformat.go @@ -0,0 +1,16 @@ +package virtualnetworks + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type FlowLogPropertiesFormat struct { + Enabled *bool `json:"enabled,omitempty"` + EnabledFilteringCriteria *string `json:"enabledFilteringCriteria,omitempty"` + FlowAnalyticsConfiguration *TrafficAnalyticsProperties `json:"flowAnalyticsConfiguration,omitempty"` + Format *FlowLogFormatParameters `json:"format,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + RetentionPolicy *RetentionPolicyParameters `json:"retentionPolicy,omitempty"` + StorageId string `json:"storageId"` + TargetResourceGuid *string `json:"targetResourceGuid,omitempty"` + TargetResourceId string `json:"targetResourceId"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_frontendipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_frontendipconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_frontendipconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_frontendipconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_frontendipconfigurationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_frontendipconfigurationpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_frontendipconfigurationpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_frontendipconfigurationpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_gatewayloadbalancertunnelinterface.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_gatewayloadbalancertunnelinterface.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_gatewayloadbalancertunnelinterface.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_gatewayloadbalancertunnelinterface.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_inboundnatrule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_inboundnatrule.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_inboundnatrule.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_inboundnatrule.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_inboundnatrulepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_inboundnatrulepropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_inboundnatrulepropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_inboundnatrulepropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_ipaddressavailabilityresult.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_ipaddressavailabilityresult.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_ipaddressavailabilityresult.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_ipaddressavailabilityresult.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_ipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_ipconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_ipconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_ipconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_ipconfigurationprofile.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_ipconfigurationprofile.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_ipconfigurationprofile.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_ipconfigurationprofile.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_ipconfigurationprofilepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_ipconfigurationprofilepropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_ipconfigurationprofilepropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_ipconfigurationprofilepropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_ipconfigurationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_ipconfigurationpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_ipconfigurationpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_ipconfigurationpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_iptag.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_iptag.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_iptag.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_iptag.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_loadbalancerbackendaddress.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_loadbalancerbackendaddress.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_loadbalancerbackendaddress.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_loadbalancerbackendaddress.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_loadbalancerbackendaddresspropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_loadbalancerbackendaddresspropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_loadbalancerbackendaddresspropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_loadbalancerbackendaddresspropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_natgateway.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_natgateway.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_natgateway.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_natgateway.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_natgatewaypropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_natgatewaypropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_natgatewaypropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_natgatewaypropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_natgatewaysku.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_natgatewaysku.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_natgatewaysku.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_natgatewaysku.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_natruleportmapping.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_natruleportmapping.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_natruleportmapping.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_natruleportmapping.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_networkintentpolicy.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_networkintentpolicy.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_networkintentpolicy.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_networkintentpolicy.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_networkintentpolicyconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_networkintentpolicyconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_networkintentpolicyconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_networkintentpolicyconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_networkinterface.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_networkinterface.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_networkinterface.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_networkinterface.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_networkinterfacednssettings.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_networkinterfacednssettings.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_networkinterfacednssettings.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_networkinterfacednssettings.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_networkinterfaceipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_networkinterfaceipconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_networkinterfaceipconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_networkinterfaceipconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_networkinterfaceipconfigurationprivatelinkconnectionproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_networkinterfaceipconfigurationprivatelinkconnectionproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_networkinterfaceipconfigurationprivatelinkconnectionproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_networkinterfaceipconfigurationprivatelinkconnectionproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_networkinterfaceipconfigurationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_networkinterfaceipconfigurationpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_networkinterfaceipconfigurationpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_networkinterfaceipconfigurationpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_networkinterfacepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_networkinterfacepropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_networkinterfacepropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_networkinterfacepropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_networkinterfacetapconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_networkinterfacetapconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_networkinterfacetapconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_networkinterfacetapconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_networkinterfacetapconfigurationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_networkinterfacetapconfigurationpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_networkinterfacetapconfigurationpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_networkinterfacetapconfigurationpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_networksecuritygroup.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_networksecuritygroup.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_networksecuritygroup.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_networksecuritygroup.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_networksecuritygrouppropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_networksecuritygrouppropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_networksecuritygrouppropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_networksecuritygrouppropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_preparenetworkpoliciesrequest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_preparenetworkpoliciesrequest.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_preparenetworkpoliciesrequest.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_preparenetworkpoliciesrequest.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_privateendpoint.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_privateendpoint.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_privateendpoint.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_privateendpoint.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_privateendpointconnection.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_privateendpointconnection.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_privateendpointconnection.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_privateendpointconnection.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_privateendpointconnectionproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_privateendpointconnectionproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_privateendpointconnectionproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_privateendpointconnectionproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_privateendpointipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_privateendpointipconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_privateendpointipconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_privateendpointipconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_privateendpointipconfigurationproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_privateendpointipconfigurationproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_privateendpointipconfigurationproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_privateendpointipconfigurationproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_privateendpointproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_privateendpointproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_privateendpointproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_privateendpointproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_privatelinkservice.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_privatelinkservice.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_privatelinkservice.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_privatelinkservice.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_privatelinkserviceconnection.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_privatelinkserviceconnection.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_privatelinkserviceconnection.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_privatelinkserviceconnection.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_privatelinkserviceconnectionproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_privatelinkserviceconnectionproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_privatelinkserviceconnectionproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_privatelinkserviceconnectionproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_privatelinkserviceconnectionstate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_privatelinkserviceconnectionstate.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_privatelinkserviceconnectionstate.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_privatelinkserviceconnectionstate.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_privatelinkserviceipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_privatelinkserviceipconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_privatelinkserviceipconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_privatelinkserviceipconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_privatelinkserviceipconfigurationproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_privatelinkserviceipconfigurationproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_privatelinkserviceipconfigurationproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_privatelinkserviceipconfigurationproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_privatelinkserviceproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_privatelinkserviceproperties.go new file mode 100644 index 000000000000..76256f1d4164 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_privatelinkserviceproperties.go @@ -0,0 +1,18 @@ +package virtualnetworks + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PrivateLinkServiceProperties struct { + Alias *string `json:"alias,omitempty"` + AutoApproval *ResourceSet `json:"autoApproval,omitempty"` + DestinationIPAddress *string `json:"destinationIPAddress,omitempty"` + EnableProxyProtocol *bool `json:"enableProxyProtocol,omitempty"` + Fqdns *[]string `json:"fqdns,omitempty"` + IPConfigurations *[]PrivateLinkServiceIPConfiguration `json:"ipConfigurations,omitempty"` + LoadBalancerFrontendIPConfigurations *[]FrontendIPConfiguration `json:"loadBalancerFrontendIpConfigurations,omitempty"` + NetworkInterfaces *[]NetworkInterface `json:"networkInterfaces,omitempty"` + PrivateEndpointConnections *[]PrivateEndpointConnection `json:"privateEndpointConnections,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + Visibility *ResourceSet `json:"visibility,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_publicipaddress.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_publicipaddress.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_publicipaddress.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_publicipaddress.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_publicipaddressdnssettings.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_publicipaddressdnssettings.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_publicipaddressdnssettings.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_publicipaddressdnssettings.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_publicipaddresspropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_publicipaddresspropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_publicipaddresspropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_publicipaddresspropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_publicipaddresssku.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_publicipaddresssku.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_publicipaddresssku.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_publicipaddresssku.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_publicipddosprotectionstatusresult.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_publicipddosprotectionstatusresult.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_publicipddosprotectionstatusresult.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_publicipddosprotectionstatusresult.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_resourcenavigationlink.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_resourcenavigationlink.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_resourcenavigationlink.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_resourcenavigationlink.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_resourcenavigationlinkformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_resourcenavigationlinkformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_resourcenavigationlinkformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_resourcenavigationlinkformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_resourceset.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_resourceset.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_resourceset.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_resourceset.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_retentionpolicyparameters.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_retentionpolicyparameters.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_retentionpolicyparameters.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_retentionpolicyparameters.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_route.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_route.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_route.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_route.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_routepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_routepropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_routepropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_routepropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_routetable.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_routetable.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_routetable.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_routetable.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_routetablepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_routetablepropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_routetablepropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_routetablepropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_securityrule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_securityrule.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_securityrule.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_securityrule.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_securityrulepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_securityrulepropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_securityrulepropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_securityrulepropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_serviceassociationlink.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_serviceassociationlink.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_serviceassociationlink.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_serviceassociationlink.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_serviceassociationlinkpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_serviceassociationlinkpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_serviceassociationlinkpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_serviceassociationlinkpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_servicedelegationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_servicedelegationpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_servicedelegationpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_servicedelegationpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_serviceendpointpolicy.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_serviceendpointpolicy.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_serviceendpointpolicy.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_serviceendpointpolicy.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_serviceendpointpolicydefinition.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_serviceendpointpolicydefinition.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_serviceendpointpolicydefinition.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_serviceendpointpolicydefinition.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_serviceendpointpolicydefinitionpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_serviceendpointpolicydefinitionpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_serviceendpointpolicydefinitionpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_serviceendpointpolicydefinitionpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_serviceendpointpolicypropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_serviceendpointpolicypropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_serviceendpointpolicypropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_serviceendpointpolicypropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_serviceendpointpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_serviceendpointpropertiesformat.go new file mode 100644 index 000000000000..8c3d42e8afcb --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_serviceendpointpropertiesformat.go @@ -0,0 +1,11 @@ +package virtualnetworks + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ServiceEndpointPropertiesFormat struct { + Locations *[]string `json:"locations,omitempty"` + NetworkIdentifier *SubResource `json:"networkIdentifier,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + Service *string `json:"service,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_subnet.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_subnet.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_subnet.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_subnet.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_subnetpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_subnetpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_subnetpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_subnetpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_subresource.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_subresource.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_subresource.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_subresource.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_tagsobject.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_tagsobject.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_tagsobject.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_tagsobject.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_trafficanalyticsconfigurationproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_trafficanalyticsconfigurationproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_trafficanalyticsconfigurationproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_trafficanalyticsconfigurationproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_trafficanalyticsproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_trafficanalyticsproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_trafficanalyticsproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_trafficanalyticsproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_unpreparenetworkpoliciesrequest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_unpreparenetworkpoliciesrequest.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_unpreparenetworkpoliciesrequest.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_unpreparenetworkpoliciesrequest.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_virtualnetwork.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_virtualnetwork.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_virtualnetwork.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_virtualnetwork.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_virtualnetworkbgpcommunities.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_virtualnetworkbgpcommunities.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_virtualnetworkbgpcommunities.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_virtualnetworkbgpcommunities.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_virtualnetworkencryption.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_virtualnetworkencryption.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_virtualnetworkencryption.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_virtualnetworkencryption.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_virtualnetworkpeering.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_virtualnetworkpeering.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_virtualnetworkpeering.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_virtualnetworkpeering.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_virtualnetworkpeeringpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_virtualnetworkpeeringpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_virtualnetworkpeeringpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_virtualnetworkpeeringpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_virtualnetworkpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_virtualnetworkpropertiesformat.go new file mode 100644 index 000000000000..d4dcb1689d67 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_virtualnetworkpropertiesformat.go @@ -0,0 +1,22 @@ +package virtualnetworks + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VirtualNetworkPropertiesFormat struct { + AddressSpace *AddressSpace `json:"addressSpace,omitempty"` + BgpCommunities *VirtualNetworkBgpCommunities `json:"bgpCommunities,omitempty"` + DdosProtectionPlan *SubResource `json:"ddosProtectionPlan,omitempty"` + DhcpOptions *DhcpOptions `json:"dhcpOptions,omitempty"` + EnableDdosProtection *bool `json:"enableDdosProtection,omitempty"` + EnableVMProtection *bool `json:"enableVmProtection,omitempty"` + Encryption *VirtualNetworkEncryption `json:"encryption,omitempty"` + FlowLogs *[]FlowLog `json:"flowLogs,omitempty"` + FlowTimeoutInMinutes *int64 `json:"flowTimeoutInMinutes,omitempty"` + IPAllocations *[]SubResource `json:"ipAllocations,omitempty"` + PrivateEndpointVNetPolicies *PrivateEndpointVNetPolicies `json:"privateEndpointVNetPolicies,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + ResourceGuid *string `json:"resourceGuid,omitempty"` + Subnets *[]Subnet `json:"subnets,omitempty"` + VirtualNetworkPeerings *[]VirtualNetworkPeering `json:"virtualNetworkPeerings,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_virtualnetworktap.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_virtualnetworktap.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_virtualnetworktap.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_virtualnetworktap.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_virtualnetworktappropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_virtualnetworktappropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_virtualnetworktappropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_virtualnetworktappropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_virtualnetworkusage.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_virtualnetworkusage.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_virtualnetworkusage.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_virtualnetworkusage.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_virtualnetworkusagename.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_virtualnetworkusagename.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/model_virtualnetworkusagename.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/model_virtualnetworkusagename.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/predicates.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks/predicates.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/predicates.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/version.go new file mode 100644 index 000000000000..6081d7e5aadc --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks/version.go @@ -0,0 +1,10 @@ +package virtualnetworks + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2024-03-01" + +func userAgent() string { + return "hashicorp/go-azure-sdk/virtualnetworks/2024-03-01" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/README.md new file mode 100644 index 000000000000..f3c65cd3f138 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/README.md @@ -0,0 +1,86 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap` Documentation + +The `virtualnetworktap` SDK allows for interaction with Azure Resource Manager `network` (API Version `2024-03-01`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap" +``` + + +### Client Initialization + +```go +client := virtualnetworktap.NewVirtualNetworkTapClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `VirtualNetworkTapClient.CreateOrUpdate` + +```go +ctx := context.TODO() +id := virtualnetworktap.NewVirtualNetworkTapID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualNetworkTapName") + +payload := virtualnetworktap.VirtualNetworkTap{ + // ... +} + + +if err := client.CreateOrUpdateThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `VirtualNetworkTapClient.Delete` + +```go +ctx := context.TODO() +id := virtualnetworktap.NewVirtualNetworkTapID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualNetworkTapName") + +if err := client.DeleteThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `VirtualNetworkTapClient.Get` + +```go +ctx := context.TODO() +id := virtualnetworktap.NewVirtualNetworkTapID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualNetworkTapName") + +read, err := client.Get(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `VirtualNetworkTapClient.UpdateTags` + +```go +ctx := context.TODO() +id := virtualnetworktap.NewVirtualNetworkTapID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualNetworkTapName") + +payload := virtualnetworktap.TagsObject{ + // ... +} + + +read, err := client.UpdateTags(ctx, id, payload) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/constants.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/constants.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/constants.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/id_virtualnetworktap.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/id_virtualnetworktap.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/id_virtualnetworktap.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/id_virtualnetworktap.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/method_createorupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/method_createorupdate.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/method_createorupdate.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/method_createorupdate.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/method_delete.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/method_delete.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/method_delete.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/method_delete.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/method_get.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/method_get.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/method_get.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/method_get.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/method_updatetags.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/method_updatetags.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/method_updatetags.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/method_updatetags.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_applicationgatewaybackendaddress.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_applicationgatewaybackendaddress.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_applicationgatewaybackendaddress.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_applicationgatewaybackendaddress.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_applicationgatewaybackendaddresspool.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_applicationgatewaybackendaddresspool.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_applicationgatewaybackendaddresspool.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_applicationgatewaybackendaddresspool.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_applicationgatewaybackendaddresspoolpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_applicationgatewaybackendaddresspoolpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_applicationgatewaybackendaddresspoolpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_applicationgatewaybackendaddresspoolpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_applicationgatewayipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_applicationgatewayipconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_applicationgatewayipconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_applicationgatewayipconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_applicationgatewayipconfigurationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_applicationgatewayipconfigurationpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_applicationgatewayipconfigurationpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_applicationgatewayipconfigurationpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_applicationsecuritygroup.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_applicationsecuritygroup.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_applicationsecuritygroup.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_applicationsecuritygroup.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_applicationsecuritygrouppropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_applicationsecuritygrouppropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_applicationsecuritygrouppropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_applicationsecuritygrouppropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_backendaddresspool.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_backendaddresspool.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_backendaddresspool.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_backendaddresspool.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_backendaddresspoolpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_backendaddresspoolpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_backendaddresspoolpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_backendaddresspoolpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_customdnsconfigpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_customdnsconfigpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_customdnsconfigpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_customdnsconfigpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_ddossettings.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_ddossettings.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_ddossettings.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_ddossettings.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_delegation.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_delegation.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_delegation.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_delegation.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_flowlog.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_flowlog.go new file mode 100644 index 000000000000..d3c755b3dbf3 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_flowlog.go @@ -0,0 +1,19 @@ +package virtualnetworktap + +import ( + "github.com/hashicorp/go-azure-helpers/resourcemanager/identity" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type FlowLog struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Identity *identity.SystemAndUserAssignedMap `json:"identity,omitempty"` + Location *string `json:"location,omitempty"` + Name *string `json:"name,omitempty"` + Properties *FlowLogPropertiesFormat `json:"properties,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_flowlogformatparameters.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_flowlogformatparameters.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_flowlogformatparameters.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_flowlogformatparameters.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_flowlogpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_flowlogpropertiesformat.go new file mode 100644 index 000000000000..5fe09758a9c3 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_flowlogpropertiesformat.go @@ -0,0 +1,16 @@ +package virtualnetworktap + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type FlowLogPropertiesFormat struct { + Enabled *bool `json:"enabled,omitempty"` + EnabledFilteringCriteria *string `json:"enabledFilteringCriteria,omitempty"` + FlowAnalyticsConfiguration *TrafficAnalyticsProperties `json:"flowAnalyticsConfiguration,omitempty"` + Format *FlowLogFormatParameters `json:"format,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + RetentionPolicy *RetentionPolicyParameters `json:"retentionPolicy,omitempty"` + StorageId string `json:"storageId"` + TargetResourceGuid *string `json:"targetResourceGuid,omitempty"` + TargetResourceId string `json:"targetResourceId"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_frontendipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_frontendipconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_frontendipconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_frontendipconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_frontendipconfigurationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_frontendipconfigurationpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_frontendipconfigurationpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_frontendipconfigurationpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_gatewayloadbalancertunnelinterface.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_gatewayloadbalancertunnelinterface.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_gatewayloadbalancertunnelinterface.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_gatewayloadbalancertunnelinterface.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_inboundnatrule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_inboundnatrule.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_inboundnatrule.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_inboundnatrule.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_inboundnatrulepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_inboundnatrulepropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_inboundnatrulepropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_inboundnatrulepropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_ipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_ipconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_ipconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_ipconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_ipconfigurationprofile.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_ipconfigurationprofile.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_ipconfigurationprofile.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_ipconfigurationprofile.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_ipconfigurationprofilepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_ipconfigurationprofilepropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_ipconfigurationprofilepropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_ipconfigurationprofilepropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_ipconfigurationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_ipconfigurationpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_ipconfigurationpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_ipconfigurationpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_iptag.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_iptag.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_iptag.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_iptag.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_loadbalancerbackendaddress.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_loadbalancerbackendaddress.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_loadbalancerbackendaddress.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_loadbalancerbackendaddress.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_loadbalancerbackendaddresspropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_loadbalancerbackendaddresspropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_loadbalancerbackendaddresspropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_loadbalancerbackendaddresspropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_natgateway.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_natgateway.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_natgateway.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_natgateway.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_natgatewaypropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_natgatewaypropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_natgatewaypropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_natgatewaypropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_natgatewaysku.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_natgatewaysku.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_natgatewaysku.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_natgatewaysku.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_natruleportmapping.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_natruleportmapping.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_natruleportmapping.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_natruleportmapping.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_networkinterface.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_networkinterface.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_networkinterface.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_networkinterface.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_networkinterfacednssettings.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_networkinterfacednssettings.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_networkinterfacednssettings.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_networkinterfacednssettings.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_networkinterfaceipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_networkinterfaceipconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_networkinterfaceipconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_networkinterfaceipconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_networkinterfaceipconfigurationprivatelinkconnectionproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_networkinterfaceipconfigurationprivatelinkconnectionproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_networkinterfaceipconfigurationprivatelinkconnectionproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_networkinterfaceipconfigurationprivatelinkconnectionproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_networkinterfaceipconfigurationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_networkinterfaceipconfigurationpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_networkinterfaceipconfigurationpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_networkinterfaceipconfigurationpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_networkinterfacepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_networkinterfacepropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_networkinterfacepropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_networkinterfacepropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_networkinterfacetapconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_networkinterfacetapconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_networkinterfacetapconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_networkinterfacetapconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_networkinterfacetapconfigurationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_networkinterfacetapconfigurationpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_networkinterfacetapconfigurationpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_networkinterfacetapconfigurationpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_networksecuritygroup.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_networksecuritygroup.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_networksecuritygroup.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_networksecuritygroup.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_networksecuritygrouppropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_networksecuritygrouppropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_networksecuritygrouppropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_networksecuritygrouppropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_privateendpoint.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_privateendpoint.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_privateendpoint.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_privateendpoint.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_privateendpointconnection.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_privateendpointconnection.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_privateendpointconnection.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_privateendpointconnection.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_privateendpointconnectionproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_privateendpointconnectionproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_privateendpointconnectionproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_privateendpointconnectionproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_privateendpointipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_privateendpointipconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_privateendpointipconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_privateendpointipconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_privateendpointipconfigurationproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_privateendpointipconfigurationproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_privateendpointipconfigurationproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_privateendpointipconfigurationproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_privateendpointproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_privateendpointproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_privateendpointproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_privateendpointproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_privatelinkservice.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_privatelinkservice.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_privatelinkservice.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_privatelinkservice.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_privatelinkserviceconnection.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_privatelinkserviceconnection.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_privatelinkserviceconnection.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_privatelinkserviceconnection.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_privatelinkserviceconnectionproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_privatelinkserviceconnectionproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_privatelinkserviceconnectionproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_privatelinkserviceconnectionproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_privatelinkserviceconnectionstate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_privatelinkserviceconnectionstate.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_privatelinkserviceconnectionstate.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_privatelinkserviceconnectionstate.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_privatelinkserviceipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_privatelinkserviceipconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_privatelinkserviceipconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_privatelinkserviceipconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_privatelinkserviceipconfigurationproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_privatelinkserviceipconfigurationproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_privatelinkserviceipconfigurationproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_privatelinkserviceipconfigurationproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_privatelinkserviceproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_privatelinkserviceproperties.go new file mode 100644 index 000000000000..47cc3c1264ab --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_privatelinkserviceproperties.go @@ -0,0 +1,18 @@ +package virtualnetworktap + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PrivateLinkServiceProperties struct { + Alias *string `json:"alias,omitempty"` + AutoApproval *ResourceSet `json:"autoApproval,omitempty"` + DestinationIPAddress *string `json:"destinationIPAddress,omitempty"` + EnableProxyProtocol *bool `json:"enableProxyProtocol,omitempty"` + Fqdns *[]string `json:"fqdns,omitempty"` + IPConfigurations *[]PrivateLinkServiceIPConfiguration `json:"ipConfigurations,omitempty"` + LoadBalancerFrontendIPConfigurations *[]FrontendIPConfiguration `json:"loadBalancerFrontendIpConfigurations,omitempty"` + NetworkInterfaces *[]NetworkInterface `json:"networkInterfaces,omitempty"` + PrivateEndpointConnections *[]PrivateEndpointConnection `json:"privateEndpointConnections,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + Visibility *ResourceSet `json:"visibility,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_publicipaddress.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_publicipaddress.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_publicipaddress.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_publicipaddress.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_publicipaddressdnssettings.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_publicipaddressdnssettings.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_publicipaddressdnssettings.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_publicipaddressdnssettings.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_publicipaddresspropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_publicipaddresspropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_publicipaddresspropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_publicipaddresspropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_publicipaddresssku.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_publicipaddresssku.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_publicipaddresssku.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_publicipaddresssku.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_resourcenavigationlink.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_resourcenavigationlink.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_resourcenavigationlink.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_resourcenavigationlink.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_resourcenavigationlinkformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_resourcenavigationlinkformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_resourcenavigationlinkformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_resourcenavigationlinkformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_resourceset.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_resourceset.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_resourceset.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_resourceset.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_retentionpolicyparameters.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_retentionpolicyparameters.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_retentionpolicyparameters.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_retentionpolicyparameters.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_route.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_route.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_route.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_route.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_routepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_routepropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_routepropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_routepropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_routetable.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_routetable.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_routetable.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_routetable.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_routetablepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_routetablepropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_routetablepropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_routetablepropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_securityrule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_securityrule.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_securityrule.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_securityrule.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_securityrulepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_securityrulepropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_securityrulepropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_securityrulepropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_serviceassociationlink.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_serviceassociationlink.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_serviceassociationlink.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_serviceassociationlink.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_serviceassociationlinkpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_serviceassociationlinkpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_serviceassociationlinkpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_serviceassociationlinkpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_servicedelegationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_servicedelegationpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_servicedelegationpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_servicedelegationpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_serviceendpointpolicy.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_serviceendpointpolicy.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_serviceendpointpolicy.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_serviceendpointpolicy.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_serviceendpointpolicydefinition.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_serviceendpointpolicydefinition.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_serviceendpointpolicydefinition.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_serviceendpointpolicydefinition.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_serviceendpointpolicydefinitionpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_serviceendpointpolicydefinitionpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_serviceendpointpolicydefinitionpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_serviceendpointpolicydefinitionpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_serviceendpointpolicypropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_serviceendpointpolicypropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_serviceendpointpolicypropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_serviceendpointpolicypropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_serviceendpointpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_serviceendpointpropertiesformat.go new file mode 100644 index 000000000000..13911877fe3c --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_serviceendpointpropertiesformat.go @@ -0,0 +1,11 @@ +package virtualnetworktap + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ServiceEndpointPropertiesFormat struct { + Locations *[]string `json:"locations,omitempty"` + NetworkIdentifier *SubResource `json:"networkIdentifier,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + Service *string `json:"service,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_subnet.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_subnet.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_subnet.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_subnet.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_subnetpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_subnetpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_subnetpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_subnetpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_subresource.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_subresource.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_subresource.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_subresource.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_tagsobject.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_tagsobject.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_tagsobject.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_tagsobject.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_trafficanalyticsconfigurationproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_trafficanalyticsconfigurationproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_trafficanalyticsconfigurationproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_trafficanalyticsconfigurationproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_trafficanalyticsproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_trafficanalyticsproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_trafficanalyticsproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_trafficanalyticsproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_virtualnetworktap.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_virtualnetworktap.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_virtualnetworktap.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_virtualnetworktap.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_virtualnetworktappropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_virtualnetworktappropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap/model_virtualnetworktappropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/model_virtualnetworktappropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/version.go new file mode 100644 index 000000000000..fa21c3a80162 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap/version.go @@ -0,0 +1,10 @@ +package virtualnetworktap + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2024-03-01" + +func userAgent() string { + return "hashicorp/go-azure-sdk/virtualnetworktap/2024-03-01" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/README.md new file mode 100644 index 000000000000..b3bff9a8c929 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/README.md @@ -0,0 +1,55 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps` Documentation + +The `virtualnetworktaps` SDK allows for interaction with Azure Resource Manager `network` (API Version `2024-03-01`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" +import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps" +``` + + +### Client Initialization + +```go +client := virtualnetworktaps.NewVirtualNetworkTapsClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `VirtualNetworkTapsClient.ListAll` + +```go +ctx := context.TODO() +id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012") + +// alternatively `client.ListAll(ctx, id)` can be used to do batched pagination +items, err := client.ListAllComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `VirtualNetworkTapsClient.ListByResourceGroup` + +```go +ctx := context.TODO() +id := commonids.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group") + +// alternatively `client.ListByResourceGroup(ctx, id)` can be used to do batched pagination +items, err := client.ListByResourceGroupComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/constants.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/constants.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/constants.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/method_listall.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/method_listall.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/method_listall.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/method_listall.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/method_listbyresourcegroup.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/method_listbyresourcegroup.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/method_listbyresourcegroup.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/method_listbyresourcegroup.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_applicationgatewaybackendaddress.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_applicationgatewaybackendaddress.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_applicationgatewaybackendaddress.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_applicationgatewaybackendaddress.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_applicationgatewaybackendaddresspool.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_applicationgatewaybackendaddresspool.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_applicationgatewaybackendaddresspool.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_applicationgatewaybackendaddresspool.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_applicationgatewaybackendaddresspoolpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_applicationgatewaybackendaddresspoolpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_applicationgatewaybackendaddresspoolpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_applicationgatewaybackendaddresspoolpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_applicationgatewayipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_applicationgatewayipconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_applicationgatewayipconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_applicationgatewayipconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_applicationgatewayipconfigurationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_applicationgatewayipconfigurationpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_applicationgatewayipconfigurationpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_applicationgatewayipconfigurationpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_applicationsecuritygroup.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_applicationsecuritygroup.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_applicationsecuritygroup.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_applicationsecuritygroup.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_applicationsecuritygrouppropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_applicationsecuritygrouppropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_applicationsecuritygrouppropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_applicationsecuritygrouppropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_backendaddresspool.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_backendaddresspool.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_backendaddresspool.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_backendaddresspool.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_backendaddresspoolpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_backendaddresspoolpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_backendaddresspoolpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_backendaddresspoolpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_customdnsconfigpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_customdnsconfigpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_customdnsconfigpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_customdnsconfigpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_ddossettings.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_ddossettings.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_ddossettings.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_ddossettings.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_delegation.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_delegation.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_delegation.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_delegation.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_flowlog.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_flowlog.go new file mode 100644 index 000000000000..0247c5761156 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_flowlog.go @@ -0,0 +1,19 @@ +package virtualnetworktaps + +import ( + "github.com/hashicorp/go-azure-helpers/resourcemanager/identity" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type FlowLog struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Identity *identity.SystemAndUserAssignedMap `json:"identity,omitempty"` + Location *string `json:"location,omitempty"` + Name *string `json:"name,omitempty"` + Properties *FlowLogPropertiesFormat `json:"properties,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_flowlogformatparameters.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_flowlogformatparameters.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_flowlogformatparameters.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_flowlogformatparameters.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_flowlogpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_flowlogpropertiesformat.go new file mode 100644 index 000000000000..9393798b4c10 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_flowlogpropertiesformat.go @@ -0,0 +1,16 @@ +package virtualnetworktaps + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type FlowLogPropertiesFormat struct { + Enabled *bool `json:"enabled,omitempty"` + EnabledFilteringCriteria *string `json:"enabledFilteringCriteria,omitempty"` + FlowAnalyticsConfiguration *TrafficAnalyticsProperties `json:"flowAnalyticsConfiguration,omitempty"` + Format *FlowLogFormatParameters `json:"format,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + RetentionPolicy *RetentionPolicyParameters `json:"retentionPolicy,omitempty"` + StorageId string `json:"storageId"` + TargetResourceGuid *string `json:"targetResourceGuid,omitempty"` + TargetResourceId string `json:"targetResourceId"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_frontendipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_frontendipconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_frontendipconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_frontendipconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_frontendipconfigurationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_frontendipconfigurationpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_frontendipconfigurationpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_frontendipconfigurationpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_gatewayloadbalancertunnelinterface.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_gatewayloadbalancertunnelinterface.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_gatewayloadbalancertunnelinterface.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_gatewayloadbalancertunnelinterface.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_inboundnatrule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_inboundnatrule.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_inboundnatrule.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_inboundnatrule.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_inboundnatrulepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_inboundnatrulepropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_inboundnatrulepropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_inboundnatrulepropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_ipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_ipconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_ipconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_ipconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_ipconfigurationprofile.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_ipconfigurationprofile.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_ipconfigurationprofile.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_ipconfigurationprofile.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_ipconfigurationprofilepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_ipconfigurationprofilepropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_ipconfigurationprofilepropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_ipconfigurationprofilepropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_ipconfigurationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_ipconfigurationpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_ipconfigurationpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_ipconfigurationpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_iptag.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_iptag.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_iptag.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_iptag.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_loadbalancerbackendaddress.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_loadbalancerbackendaddress.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_loadbalancerbackendaddress.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_loadbalancerbackendaddress.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_loadbalancerbackendaddresspropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_loadbalancerbackendaddresspropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_loadbalancerbackendaddresspropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_loadbalancerbackendaddresspropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_natgateway.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_natgateway.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_natgateway.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_natgateway.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_natgatewaypropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_natgatewaypropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_natgatewaypropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_natgatewaypropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_natgatewaysku.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_natgatewaysku.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_natgatewaysku.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_natgatewaysku.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_natruleportmapping.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_natruleportmapping.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_natruleportmapping.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_natruleportmapping.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_networkinterface.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_networkinterface.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_networkinterface.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_networkinterface.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_networkinterfacednssettings.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_networkinterfacednssettings.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_networkinterfacednssettings.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_networkinterfacednssettings.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_networkinterfaceipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_networkinterfaceipconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_networkinterfaceipconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_networkinterfaceipconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_networkinterfaceipconfigurationprivatelinkconnectionproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_networkinterfaceipconfigurationprivatelinkconnectionproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_networkinterfaceipconfigurationprivatelinkconnectionproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_networkinterfaceipconfigurationprivatelinkconnectionproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_networkinterfaceipconfigurationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_networkinterfaceipconfigurationpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_networkinterfaceipconfigurationpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_networkinterfaceipconfigurationpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_networkinterfacepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_networkinterfacepropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_networkinterfacepropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_networkinterfacepropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_networkinterfacetapconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_networkinterfacetapconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_networkinterfacetapconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_networkinterfacetapconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_networkinterfacetapconfigurationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_networkinterfacetapconfigurationpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_networkinterfacetapconfigurationpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_networkinterfacetapconfigurationpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_networksecuritygroup.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_networksecuritygroup.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_networksecuritygroup.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_networksecuritygroup.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_networksecuritygrouppropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_networksecuritygrouppropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_networksecuritygrouppropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_networksecuritygrouppropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_privateendpoint.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_privateendpoint.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_privateendpoint.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_privateendpoint.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_privateendpointconnection.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_privateendpointconnection.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_privateendpointconnection.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_privateendpointconnection.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_privateendpointconnectionproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_privateendpointconnectionproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_privateendpointconnectionproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_privateendpointconnectionproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_privateendpointipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_privateendpointipconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_privateendpointipconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_privateendpointipconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_privateendpointipconfigurationproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_privateendpointipconfigurationproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_privateendpointipconfigurationproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_privateendpointipconfigurationproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_privateendpointproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_privateendpointproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_privateendpointproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_privateendpointproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_privatelinkservice.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_privatelinkservice.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_privatelinkservice.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_privatelinkservice.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_privatelinkserviceconnection.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_privatelinkserviceconnection.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_privatelinkserviceconnection.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_privatelinkserviceconnection.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_privatelinkserviceconnectionproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_privatelinkserviceconnectionproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_privatelinkserviceconnectionproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_privatelinkserviceconnectionproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_privatelinkserviceconnectionstate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_privatelinkserviceconnectionstate.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_privatelinkserviceconnectionstate.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_privatelinkserviceconnectionstate.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_privatelinkserviceipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_privatelinkserviceipconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_privatelinkserviceipconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_privatelinkserviceipconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_privatelinkserviceipconfigurationproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_privatelinkserviceipconfigurationproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_privatelinkserviceipconfigurationproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_privatelinkserviceipconfigurationproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_privatelinkserviceproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_privatelinkserviceproperties.go new file mode 100644 index 000000000000..981091123030 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_privatelinkserviceproperties.go @@ -0,0 +1,18 @@ +package virtualnetworktaps + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PrivateLinkServiceProperties struct { + Alias *string `json:"alias,omitempty"` + AutoApproval *ResourceSet `json:"autoApproval,omitempty"` + DestinationIPAddress *string `json:"destinationIPAddress,omitempty"` + EnableProxyProtocol *bool `json:"enableProxyProtocol,omitempty"` + Fqdns *[]string `json:"fqdns,omitempty"` + IPConfigurations *[]PrivateLinkServiceIPConfiguration `json:"ipConfigurations,omitempty"` + LoadBalancerFrontendIPConfigurations *[]FrontendIPConfiguration `json:"loadBalancerFrontendIpConfigurations,omitempty"` + NetworkInterfaces *[]NetworkInterface `json:"networkInterfaces,omitempty"` + PrivateEndpointConnections *[]PrivateEndpointConnection `json:"privateEndpointConnections,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + Visibility *ResourceSet `json:"visibility,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_publicipaddress.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_publicipaddress.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_publicipaddress.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_publicipaddress.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_publicipaddressdnssettings.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_publicipaddressdnssettings.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_publicipaddressdnssettings.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_publicipaddressdnssettings.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_publicipaddresspropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_publicipaddresspropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_publicipaddresspropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_publicipaddresspropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_publicipaddresssku.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_publicipaddresssku.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_publicipaddresssku.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_publicipaddresssku.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_resourcenavigationlink.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_resourcenavigationlink.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_resourcenavigationlink.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_resourcenavigationlink.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_resourcenavigationlinkformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_resourcenavigationlinkformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_resourcenavigationlinkformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_resourcenavigationlinkformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_resourceset.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_resourceset.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_resourceset.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_resourceset.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_retentionpolicyparameters.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_retentionpolicyparameters.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_retentionpolicyparameters.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_retentionpolicyparameters.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_route.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_route.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_route.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_route.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_routepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_routepropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_routepropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_routepropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_routetable.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_routetable.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_routetable.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_routetable.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_routetablepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_routetablepropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_routetablepropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_routetablepropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_securityrule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_securityrule.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_securityrule.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_securityrule.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_securityrulepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_securityrulepropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_securityrulepropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_securityrulepropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_serviceassociationlink.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_serviceassociationlink.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_serviceassociationlink.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_serviceassociationlink.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_serviceassociationlinkpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_serviceassociationlinkpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_serviceassociationlinkpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_serviceassociationlinkpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_servicedelegationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_servicedelegationpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_servicedelegationpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_servicedelegationpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_serviceendpointpolicy.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_serviceendpointpolicy.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_serviceendpointpolicy.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_serviceendpointpolicy.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_serviceendpointpolicydefinition.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_serviceendpointpolicydefinition.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_serviceendpointpolicydefinition.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_serviceendpointpolicydefinition.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_serviceendpointpolicydefinitionpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_serviceendpointpolicydefinitionpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_serviceendpointpolicydefinitionpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_serviceendpointpolicydefinitionpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_serviceendpointpolicypropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_serviceendpointpolicypropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_serviceendpointpolicypropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_serviceendpointpolicypropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_serviceendpointpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_serviceendpointpropertiesformat.go new file mode 100644 index 000000000000..bf27483e5ab5 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_serviceendpointpropertiesformat.go @@ -0,0 +1,11 @@ +package virtualnetworktaps + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ServiceEndpointPropertiesFormat struct { + Locations *[]string `json:"locations,omitempty"` + NetworkIdentifier *SubResource `json:"networkIdentifier,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + Service *string `json:"service,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_subnet.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_subnet.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_subnet.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_subnet.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_subnetpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_subnetpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_subnetpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_subnetpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_subresource.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_subresource.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_subresource.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_subresource.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_trafficanalyticsconfigurationproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_trafficanalyticsconfigurationproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_trafficanalyticsconfigurationproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_trafficanalyticsconfigurationproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_trafficanalyticsproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_trafficanalyticsproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_trafficanalyticsproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_trafficanalyticsproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_virtualnetworktap.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_virtualnetworktap.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_virtualnetworktap.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_virtualnetworktap.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_virtualnetworktappropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_virtualnetworktappropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/model_virtualnetworktappropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/model_virtualnetworktappropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/predicates.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps/predicates.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/predicates.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/version.go new file mode 100644 index 000000000000..9340b39dc17c --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps/version.go @@ -0,0 +1,10 @@ +package virtualnetworktaps + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2024-03-01" + +func userAgent() string { + return "hashicorp/go-azure-sdk/virtualnetworktaps/2024-03-01" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualrouterpeerings/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualrouterpeerings/README.md new file mode 100644 index 000000000000..61790bc076e2 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualrouterpeerings/README.md @@ -0,0 +1,83 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualrouterpeerings` Documentation + +The `virtualrouterpeerings` SDK allows for interaction with Azure Resource Manager `network` (API Version `2024-03-01`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" +import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualrouterpeerings" +``` + + +### Client Initialization + +```go +client := virtualrouterpeerings.NewVirtualRouterPeeringsClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `VirtualRouterPeeringsClient.CreateOrUpdate` + +```go +ctx := context.TODO() +id := commonids.NewVirtualRouterPeeringID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualRouterName", "peeringName") + +payload := virtualrouterpeerings.VirtualRouterPeering{ + // ... +} + + +if err := client.CreateOrUpdateThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `VirtualRouterPeeringsClient.Delete` + +```go +ctx := context.TODO() +id := commonids.NewVirtualRouterPeeringID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualRouterName", "peeringName") + +if err := client.DeleteThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `VirtualRouterPeeringsClient.Get` + +```go +ctx := context.TODO() +id := commonids.NewVirtualRouterPeeringID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualRouterName", "peeringName") + +read, err := client.Get(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `VirtualRouterPeeringsClient.List` + +```go +ctx := context.TODO() +id := virtualrouterpeerings.NewVirtualRouterID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualRouterName") + +// alternatively `client.List(ctx, id)` can be used to do batched pagination +items, err := client.ListComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualrouterpeerings/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualrouterpeerings/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualrouterpeerings/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualrouterpeerings/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualrouterpeerings/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualrouterpeerings/constants.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualrouterpeerings/constants.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualrouterpeerings/constants.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualrouterpeerings/id_virtualrouter.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualrouterpeerings/id_virtualrouter.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualrouterpeerings/id_virtualrouter.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualrouterpeerings/id_virtualrouter.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualrouterpeerings/method_createorupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualrouterpeerings/method_createorupdate.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualrouterpeerings/method_createorupdate.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualrouterpeerings/method_createorupdate.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualrouterpeerings/method_delete.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualrouterpeerings/method_delete.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualrouterpeerings/method_delete.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualrouterpeerings/method_delete.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualrouterpeerings/method_get.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualrouterpeerings/method_get.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualrouterpeerings/method_get.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualrouterpeerings/method_get.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualrouterpeerings/method_list.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualrouterpeerings/method_list.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualrouterpeerings/method_list.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualrouterpeerings/method_list.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualrouterpeerings/model_virtualrouterpeering.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualrouterpeerings/model_virtualrouterpeering.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualrouterpeerings/model_virtualrouterpeering.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualrouterpeerings/model_virtualrouterpeering.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualrouterpeerings/model_virtualrouterpeeringproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualrouterpeerings/model_virtualrouterpeeringproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualrouterpeerings/model_virtualrouterpeeringproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualrouterpeerings/model_virtualrouterpeeringproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualrouterpeerings/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualrouterpeerings/predicates.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualrouterpeerings/predicates.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualrouterpeerings/predicates.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualrouterpeerings/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualrouterpeerings/version.go new file mode 100644 index 000000000000..d093d5e27a9c --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualrouterpeerings/version.go @@ -0,0 +1,10 @@ +package virtualrouterpeerings + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2024-03-01" + +func userAgent() string { + return "hashicorp/go-azure-sdk/virtualrouterpeerings/2024-03-01" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualrouters/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualrouters/README.md new file mode 100644 index 000000000000..39ca47074143 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualrouters/README.md @@ -0,0 +1,100 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualrouters` Documentation + +The `virtualrouters` SDK allows for interaction with Azure Resource Manager `network` (API Version `2024-03-01`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" +import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualrouters" +``` + + +### Client Initialization + +```go +client := virtualrouters.NewVirtualRoutersClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `VirtualRoutersClient.CreateOrUpdate` + +```go +ctx := context.TODO() +id := virtualrouters.NewVirtualRouterID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualRouterName") + +payload := virtualrouters.VirtualRouter{ + // ... +} + + +if err := client.CreateOrUpdateThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `VirtualRoutersClient.Delete` + +```go +ctx := context.TODO() +id := virtualrouters.NewVirtualRouterID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualRouterName") + +if err := client.DeleteThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `VirtualRoutersClient.Get` + +```go +ctx := context.TODO() +id := virtualrouters.NewVirtualRouterID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualRouterName") + +read, err := client.Get(ctx, id, virtualrouters.DefaultGetOperationOptions()) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `VirtualRoutersClient.List` + +```go +ctx := context.TODO() +id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012") + +// alternatively `client.List(ctx, id)` can be used to do batched pagination +items, err := client.ListComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `VirtualRoutersClient.ListByResourceGroup` + +```go +ctx := context.TODO() +id := commonids.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group") + +// alternatively `client.ListByResourceGroup(ctx, id)` can be used to do batched pagination +items, err := client.ListByResourceGroupComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualrouters/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualrouters/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualrouters/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualrouters/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualrouters/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualrouters/constants.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualrouters/constants.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualrouters/constants.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualrouters/id_virtualrouter.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualrouters/id_virtualrouter.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualrouters/id_virtualrouter.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualrouters/id_virtualrouter.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualrouters/method_createorupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualrouters/method_createorupdate.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualrouters/method_createorupdate.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualrouters/method_createorupdate.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualrouters/method_delete.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualrouters/method_delete.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualrouters/method_delete.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualrouters/method_delete.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualrouters/method_get.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualrouters/method_get.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualrouters/method_get.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualrouters/method_get.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualrouters/method_list.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualrouters/method_list.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualrouters/method_list.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualrouters/method_list.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualrouters/method_listbyresourcegroup.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualrouters/method_listbyresourcegroup.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualrouters/method_listbyresourcegroup.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualrouters/method_listbyresourcegroup.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualrouters/model_subresource.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualrouters/model_subresource.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualrouters/model_subresource.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualrouters/model_subresource.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualrouters/model_virtualrouter.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualrouters/model_virtualrouter.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualrouters/model_virtualrouter.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualrouters/model_virtualrouter.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualrouters/model_virtualrouterpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualrouters/model_virtualrouterpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualrouters/model_virtualrouterpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualrouters/model_virtualrouterpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualrouters/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualrouters/predicates.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualrouters/predicates.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualrouters/predicates.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualrouters/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualrouters/version.go new file mode 100644 index 000000000000..0992ca8e9f8a --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualrouters/version.go @@ -0,0 +1,10 @@ +package virtualrouters + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2024-03-01" + +func userAgent() string { + return "hashicorp/go-azure-sdk/virtualrouters/2024-03-01" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/README.md new file mode 100644 index 000000000000..e240763e9529 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/README.md @@ -0,0 +1,1534 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans` Documentation + +The `virtualwans` SDK allows for interaction with Azure Resource Manager `network` (API Version `2024-03-01`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" +import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans" +``` + + +### Client Initialization + +```go +client := virtualwans.NewVirtualWANsClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `VirtualWANsClient.ConfigurationPolicyGroupsCreateOrUpdate` + +```go +ctx := context.TODO() +id := virtualwans.NewConfigurationPolicyGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group", "vpnServerConfigurationName", "configurationPolicyGroupName") + +payload := virtualwans.VpnServerConfigurationPolicyGroup{ + // ... +} + + +if err := client.ConfigurationPolicyGroupsCreateOrUpdateThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `VirtualWANsClient.ConfigurationPolicyGroupsDelete` + +```go +ctx := context.TODO() +id := virtualwans.NewConfigurationPolicyGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group", "vpnServerConfigurationName", "configurationPolicyGroupName") + +if err := client.ConfigurationPolicyGroupsDeleteThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `VirtualWANsClient.ConfigurationPolicyGroupsGet` + +```go +ctx := context.TODO() +id := virtualwans.NewConfigurationPolicyGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group", "vpnServerConfigurationName", "configurationPolicyGroupName") + +read, err := client.ConfigurationPolicyGroupsGet(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `VirtualWANsClient.ConfigurationPolicyGroupsListByVpnServerConfiguration` + +```go +ctx := context.TODO() +id := virtualwans.NewVpnServerConfigurationID("12345678-1234-9876-4563-123456789012", "example-resource-group", "vpnServerConfigurationName") + +// alternatively `client.ConfigurationPolicyGroupsListByVpnServerConfiguration(ctx, id)` can be used to do batched pagination +items, err := client.ConfigurationPolicyGroupsListByVpnServerConfigurationComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `VirtualWANsClient.Generatevirtualwanvpnserverconfigurationvpnprofile` + +```go +ctx := context.TODO() +id := virtualwans.NewVirtualWANID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualWanName") + +payload := virtualwans.VirtualWanVpnProfileParameters{ + // ... +} + + +if err := client.GeneratevirtualwanvpnserverconfigurationvpnprofileThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `VirtualWANsClient.HubRouteTablesCreateOrUpdate` + +```go +ctx := context.TODO() +id := virtualwans.NewHubRouteTableID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualHubName", "hubRouteTableName") + +payload := virtualwans.HubRouteTable{ + // ... +} + + +if err := client.HubRouteTablesCreateOrUpdateThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `VirtualWANsClient.HubRouteTablesDelete` + +```go +ctx := context.TODO() +id := virtualwans.NewHubRouteTableID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualHubName", "hubRouteTableName") + +if err := client.HubRouteTablesDeleteThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `VirtualWANsClient.HubRouteTablesGet` + +```go +ctx := context.TODO() +id := virtualwans.NewHubRouteTableID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualHubName", "hubRouteTableName") + +read, err := client.HubRouteTablesGet(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `VirtualWANsClient.HubRouteTablesList` + +```go +ctx := context.TODO() +id := virtualwans.NewVirtualHubID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualHubName") + +// alternatively `client.HubRouteTablesList(ctx, id)` can be used to do batched pagination +items, err := client.HubRouteTablesListComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `VirtualWANsClient.HubVirtualNetworkConnectionsCreateOrUpdate` + +```go +ctx := context.TODO() +id := virtualwans.NewHubVirtualNetworkConnectionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualHubName", "hubVirtualNetworkConnectionName") + +payload := virtualwans.HubVirtualNetworkConnection{ + // ... +} + + +if err := client.HubVirtualNetworkConnectionsCreateOrUpdateThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `VirtualWANsClient.HubVirtualNetworkConnectionsDelete` + +```go +ctx := context.TODO() +id := virtualwans.NewHubVirtualNetworkConnectionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualHubName", "hubVirtualNetworkConnectionName") + +if err := client.HubVirtualNetworkConnectionsDeleteThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `VirtualWANsClient.HubVirtualNetworkConnectionsGet` + +```go +ctx := context.TODO() +id := virtualwans.NewHubVirtualNetworkConnectionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualHubName", "hubVirtualNetworkConnectionName") + +read, err := client.HubVirtualNetworkConnectionsGet(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `VirtualWANsClient.HubVirtualNetworkConnectionsList` + +```go +ctx := context.TODO() +id := virtualwans.NewVirtualHubID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualHubName") + +// alternatively `client.HubVirtualNetworkConnectionsList(ctx, id)` can be used to do batched pagination +items, err := client.HubVirtualNetworkConnectionsListComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `VirtualWANsClient.NatRulesCreateOrUpdate` + +```go +ctx := context.TODO() +id := virtualwans.NewNatRuleID("12345678-1234-9876-4563-123456789012", "example-resource-group", "vpnGatewayName", "natRuleName") + +payload := virtualwans.VpnGatewayNatRule{ + // ... +} + + +if err := client.NatRulesCreateOrUpdateThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `VirtualWANsClient.NatRulesDelete` + +```go +ctx := context.TODO() +id := virtualwans.NewNatRuleID("12345678-1234-9876-4563-123456789012", "example-resource-group", "vpnGatewayName", "natRuleName") + +if err := client.NatRulesDeleteThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `VirtualWANsClient.NatRulesGet` + +```go +ctx := context.TODO() +id := virtualwans.NewNatRuleID("12345678-1234-9876-4563-123456789012", "example-resource-group", "vpnGatewayName", "natRuleName") + +read, err := client.NatRulesGet(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `VirtualWANsClient.NatRulesListByVpnGateway` + +```go +ctx := context.TODO() +id := virtualwans.NewVpnGatewayID("12345678-1234-9876-4563-123456789012", "example-resource-group", "vpnGatewayName") + +// alternatively `client.NatRulesListByVpnGateway(ctx, id)` can be used to do batched pagination +items, err := client.NatRulesListByVpnGatewayComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `VirtualWANsClient.NetworkVirtualApplianceConnectionsCreateOrUpdate` + +```go +ctx := context.TODO() +id := virtualwans.NewNetworkVirtualApplianceConnectionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkVirtualApplianceName", "networkVirtualApplianceConnectionName") + +payload := virtualwans.NetworkVirtualApplianceConnection{ + // ... +} + + +if err := client.NetworkVirtualApplianceConnectionsCreateOrUpdateThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `VirtualWANsClient.NetworkVirtualApplianceConnectionsDelete` + +```go +ctx := context.TODO() +id := virtualwans.NewNetworkVirtualApplianceConnectionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkVirtualApplianceName", "networkVirtualApplianceConnectionName") + +if err := client.NetworkVirtualApplianceConnectionsDeleteThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `VirtualWANsClient.NetworkVirtualApplianceConnectionsGet` + +```go +ctx := context.TODO() +id := virtualwans.NewNetworkVirtualApplianceConnectionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkVirtualApplianceName", "networkVirtualApplianceConnectionName") + +read, err := client.NetworkVirtualApplianceConnectionsGet(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `VirtualWANsClient.NetworkVirtualApplianceConnectionsList` + +```go +ctx := context.TODO() +id := virtualwans.NewNetworkVirtualApplianceID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkVirtualApplianceName") + +// alternatively `client.NetworkVirtualApplianceConnectionsList(ctx, id)` can be used to do batched pagination +items, err := client.NetworkVirtualApplianceConnectionsListComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `VirtualWANsClient.P2sVpnGatewaysCreateOrUpdate` + +```go +ctx := context.TODO() +id := commonids.NewVirtualWANP2SVPNGatewayID("12345678-1234-9876-4563-123456789012", "example-resource-group", "p2sVpnGatewayName") + +payload := virtualwans.P2SVpnGateway{ + // ... +} + + +if err := client.P2sVpnGatewaysCreateOrUpdateThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `VirtualWANsClient.P2sVpnGatewaysDelete` + +```go +ctx := context.TODO() +id := commonids.NewVirtualWANP2SVPNGatewayID("12345678-1234-9876-4563-123456789012", "example-resource-group", "p2sVpnGatewayName") + +if err := client.P2sVpnGatewaysDeleteThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `VirtualWANsClient.P2sVpnGatewaysGet` + +```go +ctx := context.TODO() +id := commonids.NewVirtualWANP2SVPNGatewayID("12345678-1234-9876-4563-123456789012", "example-resource-group", "p2sVpnGatewayName") + +read, err := client.P2sVpnGatewaysGet(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `VirtualWANsClient.P2sVpnGatewaysList` + +```go +ctx := context.TODO() +id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012") + +// alternatively `client.P2sVpnGatewaysList(ctx, id)` can be used to do batched pagination +items, err := client.P2sVpnGatewaysListComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `VirtualWANsClient.P2sVpnGatewaysListByResourceGroup` + +```go +ctx := context.TODO() +id := commonids.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group") + +// alternatively `client.P2sVpnGatewaysListByResourceGroup(ctx, id)` can be used to do batched pagination +items, err := client.P2sVpnGatewaysListByResourceGroupComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `VirtualWANsClient.RouteMapsCreateOrUpdate` + +```go +ctx := context.TODO() +id := virtualwans.NewRouteMapID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualHubName", "routeMapName") + +payload := virtualwans.RouteMap{ + // ... +} + + +if err := client.RouteMapsCreateOrUpdateThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `VirtualWANsClient.RouteMapsDelete` + +```go +ctx := context.TODO() +id := virtualwans.NewRouteMapID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualHubName", "routeMapName") + +if err := client.RouteMapsDeleteThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `VirtualWANsClient.RouteMapsGet` + +```go +ctx := context.TODO() +id := virtualwans.NewRouteMapID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualHubName", "routeMapName") + +read, err := client.RouteMapsGet(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `VirtualWANsClient.RouteMapsList` + +```go +ctx := context.TODO() +id := virtualwans.NewVirtualHubID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualHubName") + +// alternatively `client.RouteMapsList(ctx, id)` can be used to do batched pagination +items, err := client.RouteMapsListComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `VirtualWANsClient.RoutingIntentCreateOrUpdate` + +```go +ctx := context.TODO() +id := virtualwans.NewRoutingIntentID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualHubName", "routingIntentName") + +payload := virtualwans.RoutingIntent{ + // ... +} + + +if err := client.RoutingIntentCreateOrUpdateThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `VirtualWANsClient.RoutingIntentDelete` + +```go +ctx := context.TODO() +id := virtualwans.NewRoutingIntentID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualHubName", "routingIntentName") + +if err := client.RoutingIntentDeleteThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `VirtualWANsClient.RoutingIntentGet` + +```go +ctx := context.TODO() +id := virtualwans.NewRoutingIntentID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualHubName", "routingIntentName") + +read, err := client.RoutingIntentGet(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `VirtualWANsClient.RoutingIntentList` + +```go +ctx := context.TODO() +id := virtualwans.NewVirtualHubID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualHubName") + +// alternatively `client.RoutingIntentList(ctx, id)` can be used to do batched pagination +items, err := client.RoutingIntentListComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `VirtualWANsClient.SupportedSecurityProviders` + +```go +ctx := context.TODO() +id := virtualwans.NewVirtualWANID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualWanName") + +read, err := client.SupportedSecurityProviders(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `VirtualWANsClient.UpdateTags` + +```go +ctx := context.TODO() +id := virtualwans.NewVirtualWANID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualWanName") + +payload := virtualwans.TagsObject{ + // ... +} + + +read, err := client.UpdateTags(ctx, id, payload) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `VirtualWANsClient.VirtualHubBgpConnectionCreateOrUpdate` + +```go +ctx := context.TODO() +id := commonids.NewVirtualHubBGPConnectionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualHubName", "bgpConnectionName") + +payload := virtualwans.BgpConnection{ + // ... +} + + +if err := client.VirtualHubBgpConnectionCreateOrUpdateThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `VirtualWANsClient.VirtualHubBgpConnectionDelete` + +```go +ctx := context.TODO() +id := commonids.NewVirtualHubBGPConnectionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualHubName", "bgpConnectionName") + +if err := client.VirtualHubBgpConnectionDeleteThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `VirtualWANsClient.VirtualHubBgpConnectionGet` + +```go +ctx := context.TODO() +id := commonids.NewVirtualHubBGPConnectionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualHubName", "bgpConnectionName") + +read, err := client.VirtualHubBgpConnectionGet(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `VirtualWANsClient.VirtualHubBgpConnectionsList` + +```go +ctx := context.TODO() +id := virtualwans.NewVirtualHubID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualHubName") + +// alternatively `client.VirtualHubBgpConnectionsList(ctx, id)` can be used to do batched pagination +items, err := client.VirtualHubBgpConnectionsListComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `VirtualWANsClient.VirtualHubBgpConnectionsListAdvertisedRoutes` + +```go +ctx := context.TODO() +id := commonids.NewVirtualHubBGPConnectionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualHubName", "bgpConnectionName") + +if err := client.VirtualHubBgpConnectionsListAdvertisedRoutesThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `VirtualWANsClient.VirtualHubBgpConnectionsListLearnedRoutes` + +```go +ctx := context.TODO() +id := commonids.NewVirtualHubBGPConnectionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualHubName", "bgpConnectionName") + +if err := client.VirtualHubBgpConnectionsListLearnedRoutesThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `VirtualWANsClient.VirtualHubIPConfigurationCreateOrUpdate` + +```go +ctx := context.TODO() +id := commonids.NewVirtualHubIPConfigurationID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualHubName", "ipConfigurationName") + +payload := virtualwans.HubIPConfiguration{ + // ... +} + + +if err := client.VirtualHubIPConfigurationCreateOrUpdateThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `VirtualWANsClient.VirtualHubIPConfigurationDelete` + +```go +ctx := context.TODO() +id := commonids.NewVirtualHubIPConfigurationID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualHubName", "ipConfigurationName") + +if err := client.VirtualHubIPConfigurationDeleteThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `VirtualWANsClient.VirtualHubIPConfigurationGet` + +```go +ctx := context.TODO() +id := commonids.NewVirtualHubIPConfigurationID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualHubName", "ipConfigurationName") + +read, err := client.VirtualHubIPConfigurationGet(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `VirtualWANsClient.VirtualHubIPConfigurationList` + +```go +ctx := context.TODO() +id := virtualwans.NewVirtualHubID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualHubName") + +// alternatively `client.VirtualHubIPConfigurationList(ctx, id)` can be used to do batched pagination +items, err := client.VirtualHubIPConfigurationListComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `VirtualWANsClient.VirtualHubRouteTableV2sCreateOrUpdate` + +```go +ctx := context.TODO() +id := virtualwans.NewVirtualHubRouteTableID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualHubName", "routeTableName") + +payload := virtualwans.VirtualHubRouteTableV2{ + // ... +} + + +if err := client.VirtualHubRouteTableV2sCreateOrUpdateThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `VirtualWANsClient.VirtualHubRouteTableV2sDelete` + +```go +ctx := context.TODO() +id := virtualwans.NewVirtualHubRouteTableID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualHubName", "routeTableName") + +if err := client.VirtualHubRouteTableV2sDeleteThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `VirtualWANsClient.VirtualHubRouteTableV2sGet` + +```go +ctx := context.TODO() +id := virtualwans.NewVirtualHubRouteTableID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualHubName", "routeTableName") + +read, err := client.VirtualHubRouteTableV2sGet(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `VirtualWANsClient.VirtualHubRouteTableV2sList` + +```go +ctx := context.TODO() +id := virtualwans.NewVirtualHubID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualHubName") + +// alternatively `client.VirtualHubRouteTableV2sList(ctx, id)` can be used to do batched pagination +items, err := client.VirtualHubRouteTableV2sListComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `VirtualWANsClient.VirtualHubsCreateOrUpdate` + +```go +ctx := context.TODO() +id := virtualwans.NewVirtualHubID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualHubName") + +payload := virtualwans.VirtualHub{ + // ... +} + + +if err := client.VirtualHubsCreateOrUpdateThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `VirtualWANsClient.VirtualHubsDelete` + +```go +ctx := context.TODO() +id := virtualwans.NewVirtualHubID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualHubName") + +if err := client.VirtualHubsDeleteThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `VirtualWANsClient.VirtualHubsGet` + +```go +ctx := context.TODO() +id := virtualwans.NewVirtualHubID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualHubName") + +read, err := client.VirtualHubsGet(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `VirtualWANsClient.VirtualHubsGetEffectiveVirtualHubRoutes` + +```go +ctx := context.TODO() +id := virtualwans.NewVirtualHubID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualHubName") + +payload := virtualwans.EffectiveRoutesParameters{ + // ... +} + + +if err := client.VirtualHubsGetEffectiveVirtualHubRoutesThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `VirtualWANsClient.VirtualHubsGetInboundRoutes` + +```go +ctx := context.TODO() +id := virtualwans.NewVirtualHubID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualHubName") + +payload := virtualwans.GetInboundRoutesParameters{ + // ... +} + + +if err := client.VirtualHubsGetInboundRoutesThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `VirtualWANsClient.VirtualHubsGetOutboundRoutes` + +```go +ctx := context.TODO() +id := virtualwans.NewVirtualHubID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualHubName") + +payload := virtualwans.GetOutboundRoutesParameters{ + // ... +} + + +if err := client.VirtualHubsGetOutboundRoutesThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `VirtualWANsClient.VirtualHubsList` + +```go +ctx := context.TODO() +id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012") + +// alternatively `client.VirtualHubsList(ctx, id)` can be used to do batched pagination +items, err := client.VirtualHubsListComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `VirtualWANsClient.VirtualHubsListByResourceGroup` + +```go +ctx := context.TODO() +id := commonids.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group") + +// alternatively `client.VirtualHubsListByResourceGroup(ctx, id)` can be used to do batched pagination +items, err := client.VirtualHubsListByResourceGroupComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `VirtualWANsClient.VirtualHubsUpdateTags` + +```go +ctx := context.TODO() +id := virtualwans.NewVirtualHubID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualHubName") + +payload := virtualwans.TagsObject{ + // ... +} + + +read, err := client.VirtualHubsUpdateTags(ctx, id, payload) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `VirtualWANsClient.VirtualWansCreateOrUpdate` + +```go +ctx := context.TODO() +id := virtualwans.NewVirtualWANID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualWanName") + +payload := virtualwans.VirtualWAN{ + // ... +} + + +if err := client.VirtualWansCreateOrUpdateThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `VirtualWANsClient.VirtualWansDelete` + +```go +ctx := context.TODO() +id := virtualwans.NewVirtualWANID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualWanName") + +if err := client.VirtualWansDeleteThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `VirtualWANsClient.VirtualWansGet` + +```go +ctx := context.TODO() +id := virtualwans.NewVirtualWANID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualWanName") + +read, err := client.VirtualWansGet(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `VirtualWANsClient.VirtualWansList` + +```go +ctx := context.TODO() +id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012") + +// alternatively `client.VirtualWansList(ctx, id)` can be used to do batched pagination +items, err := client.VirtualWansListComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `VirtualWANsClient.VirtualWansListByResourceGroup` + +```go +ctx := context.TODO() +id := commonids.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group") + +// alternatively `client.VirtualWansListByResourceGroup(ctx, id)` can be used to do batched pagination +items, err := client.VirtualWansListByResourceGroupComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `VirtualWANsClient.VpnConnectionsCreateOrUpdate` + +```go +ctx := context.TODO() +id := commonids.NewVPNConnectionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "vpnGatewayName", "vpnConnectionName") + +payload := virtualwans.VpnConnection{ + // ... +} + + +if err := client.VpnConnectionsCreateOrUpdateThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `VirtualWANsClient.VpnConnectionsDelete` + +```go +ctx := context.TODO() +id := commonids.NewVPNConnectionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "vpnGatewayName", "vpnConnectionName") + +if err := client.VpnConnectionsDeleteThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `VirtualWANsClient.VpnConnectionsGet` + +```go +ctx := context.TODO() +id := commonids.NewVPNConnectionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "vpnGatewayName", "vpnConnectionName") + +read, err := client.VpnConnectionsGet(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `VirtualWANsClient.VpnConnectionsListByVpnGateway` + +```go +ctx := context.TODO() +id := virtualwans.NewVpnGatewayID("12345678-1234-9876-4563-123456789012", "example-resource-group", "vpnGatewayName") + +// alternatively `client.VpnConnectionsListByVpnGateway(ctx, id)` can be used to do batched pagination +items, err := client.VpnConnectionsListByVpnGatewayComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `VirtualWANsClient.VpnConnectionsStartPacketCapture` + +```go +ctx := context.TODO() +id := commonids.NewVPNConnectionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "vpnGatewayName", "vpnConnectionName") + +payload := virtualwans.VpnConnectionPacketCaptureStartParameters{ + // ... +} + + +if err := client.VpnConnectionsStartPacketCaptureThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `VirtualWANsClient.VpnConnectionsStopPacketCapture` + +```go +ctx := context.TODO() +id := commonids.NewVPNConnectionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "vpnGatewayName", "vpnConnectionName") + +payload := virtualwans.VpnConnectionPacketCaptureStopParameters{ + // ... +} + + +if err := client.VpnConnectionsStopPacketCaptureThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `VirtualWANsClient.VpnGatewaysCreateOrUpdate` + +```go +ctx := context.TODO() +id := virtualwans.NewVpnGatewayID("12345678-1234-9876-4563-123456789012", "example-resource-group", "vpnGatewayName") + +payload := virtualwans.VpnGateway{ + // ... +} + + +if err := client.VpnGatewaysCreateOrUpdateThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `VirtualWANsClient.VpnGatewaysDelete` + +```go +ctx := context.TODO() +id := virtualwans.NewVpnGatewayID("12345678-1234-9876-4563-123456789012", "example-resource-group", "vpnGatewayName") + +if err := client.VpnGatewaysDeleteThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `VirtualWANsClient.VpnGatewaysGet` + +```go +ctx := context.TODO() +id := virtualwans.NewVpnGatewayID("12345678-1234-9876-4563-123456789012", "example-resource-group", "vpnGatewayName") + +read, err := client.VpnGatewaysGet(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `VirtualWANsClient.VpnGatewaysList` + +```go +ctx := context.TODO() +id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012") + +// alternatively `client.VpnGatewaysList(ctx, id)` can be used to do batched pagination +items, err := client.VpnGatewaysListComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `VirtualWANsClient.VpnGatewaysListByResourceGroup` + +```go +ctx := context.TODO() +id := commonids.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group") + +// alternatively `client.VpnGatewaysListByResourceGroup(ctx, id)` can be used to do batched pagination +items, err := client.VpnGatewaysListByResourceGroupComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `VirtualWANsClient.VpnLinkConnectionsGetAllSharedKeys` + +```go +ctx := context.TODO() +id := virtualwans.NewVpnLinkConnectionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "vpnGatewayName", "vpnConnectionName", "vpnLinkConnectionName") + +// alternatively `client.VpnLinkConnectionsGetAllSharedKeys(ctx, id)` can be used to do batched pagination +items, err := client.VpnLinkConnectionsGetAllSharedKeysComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `VirtualWANsClient.VpnLinkConnectionsGetDefaultSharedKey` + +```go +ctx := context.TODO() +id := virtualwans.NewVpnLinkConnectionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "vpnGatewayName", "vpnConnectionName", "vpnLinkConnectionName") + +read, err := client.VpnLinkConnectionsGetDefaultSharedKey(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `VirtualWANsClient.VpnLinkConnectionsGetIkeSas` + +```go +ctx := context.TODO() +id := virtualwans.NewVpnLinkConnectionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "vpnGatewayName", "vpnConnectionName", "vpnLinkConnectionName") + +if err := client.VpnLinkConnectionsGetIkeSasThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `VirtualWANsClient.VpnLinkConnectionsListByVpnConnection` + +```go +ctx := context.TODO() +id := commonids.NewVPNConnectionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "vpnGatewayName", "vpnConnectionName") + +// alternatively `client.VpnLinkConnectionsListByVpnConnection(ctx, id)` can be used to do batched pagination +items, err := client.VpnLinkConnectionsListByVpnConnectionComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `VirtualWANsClient.VpnLinkConnectionsListDefaultSharedKey` + +```go +ctx := context.TODO() +id := virtualwans.NewVpnLinkConnectionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "vpnGatewayName", "vpnConnectionName", "vpnLinkConnectionName") + +read, err := client.VpnLinkConnectionsListDefaultSharedKey(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `VirtualWANsClient.VpnLinkConnectionsSetOrInitDefaultSharedKey` + +```go +ctx := context.TODO() +id := virtualwans.NewVpnLinkConnectionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "vpnGatewayName", "vpnConnectionName", "vpnLinkConnectionName") + +payload := virtualwans.ConnectionSharedKeyResult{ + // ... +} + + +if err := client.VpnLinkConnectionsSetOrInitDefaultSharedKeyThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `VirtualWANsClient.VpnServerConfigurationsAssociatedWithVirtualWanList` + +```go +ctx := context.TODO() +id := virtualwans.NewVirtualWANID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualWanName") + +if err := client.VpnServerConfigurationsAssociatedWithVirtualWanListThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `VirtualWANsClient.VpnServerConfigurationsCreateOrUpdate` + +```go +ctx := context.TODO() +id := virtualwans.NewVpnServerConfigurationID("12345678-1234-9876-4563-123456789012", "example-resource-group", "vpnServerConfigurationName") + +payload := virtualwans.VpnServerConfiguration{ + // ... +} + + +if err := client.VpnServerConfigurationsCreateOrUpdateThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `VirtualWANsClient.VpnServerConfigurationsDelete` + +```go +ctx := context.TODO() +id := virtualwans.NewVpnServerConfigurationID("12345678-1234-9876-4563-123456789012", "example-resource-group", "vpnServerConfigurationName") + +if err := client.VpnServerConfigurationsDeleteThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `VirtualWANsClient.VpnServerConfigurationsGet` + +```go +ctx := context.TODO() +id := virtualwans.NewVpnServerConfigurationID("12345678-1234-9876-4563-123456789012", "example-resource-group", "vpnServerConfigurationName") + +read, err := client.VpnServerConfigurationsGet(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `VirtualWANsClient.VpnServerConfigurationsList` + +```go +ctx := context.TODO() +id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012") + +// alternatively `client.VpnServerConfigurationsList(ctx, id)` can be used to do batched pagination +items, err := client.VpnServerConfigurationsListComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `VirtualWANsClient.VpnServerConfigurationsListByResourceGroup` + +```go +ctx := context.TODO() +id := commonids.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group") + +// alternatively `client.VpnServerConfigurationsListByResourceGroup(ctx, id)` can be used to do batched pagination +items, err := client.VpnServerConfigurationsListByResourceGroupComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `VirtualWANsClient.VpnSiteLinkConnectionsGet` + +```go +ctx := context.TODO() +id := virtualwans.NewVpnLinkConnectionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "vpnGatewayName", "vpnConnectionName", "vpnLinkConnectionName") + +read, err := client.VpnSiteLinkConnectionsGet(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `VirtualWANsClient.VpnSiteLinksGet` + +```go +ctx := context.TODO() +id := virtualwans.NewVpnSiteLinkID("12345678-1234-9876-4563-123456789012", "example-resource-group", "vpnSiteName", "vpnSiteLinkName") + +read, err := client.VpnSiteLinksGet(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `VirtualWANsClient.VpnSiteLinksListByVpnSite` + +```go +ctx := context.TODO() +id := virtualwans.NewVpnSiteID("12345678-1234-9876-4563-123456789012", "example-resource-group", "vpnSiteName") + +// alternatively `client.VpnSiteLinksListByVpnSite(ctx, id)` can be used to do batched pagination +items, err := client.VpnSiteLinksListByVpnSiteComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `VirtualWANsClient.VpnSitesConfigurationDownload` + +```go +ctx := context.TODO() +id := virtualwans.NewVirtualWANID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualWanName") + +payload := virtualwans.GetVpnSitesConfigurationRequest{ + // ... +} + + +if err := client.VpnSitesConfigurationDownloadThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `VirtualWANsClient.VpnSitesCreateOrUpdate` + +```go +ctx := context.TODO() +id := virtualwans.NewVpnSiteID("12345678-1234-9876-4563-123456789012", "example-resource-group", "vpnSiteName") + +payload := virtualwans.VpnSite{ + // ... +} + + +if err := client.VpnSitesCreateOrUpdateThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `VirtualWANsClient.VpnSitesDelete` + +```go +ctx := context.TODO() +id := virtualwans.NewVpnSiteID("12345678-1234-9876-4563-123456789012", "example-resource-group", "vpnSiteName") + +if err := client.VpnSitesDeleteThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `VirtualWANsClient.VpnSitesGet` + +```go +ctx := context.TODO() +id := virtualwans.NewVpnSiteID("12345678-1234-9876-4563-123456789012", "example-resource-group", "vpnSiteName") + +read, err := client.VpnSitesGet(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `VirtualWANsClient.VpnSitesList` + +```go +ctx := context.TODO() +id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012") + +// alternatively `client.VpnSitesList(ctx, id)` can be used to do batched pagination +items, err := client.VpnSitesListComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `VirtualWANsClient.VpnSitesListByResourceGroup` + +```go +ctx := context.TODO() +id := commonids.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group") + +// alternatively `client.VpnSitesListByResourceGroup(ctx, id)` can be used to do batched pagination +items, err := client.VpnSitesListByResourceGroupComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/client.go new file mode 100644 index 000000000000..0d7276430725 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/client.go @@ -0,0 +1,26 @@ +package virtualwans + +import ( + "fmt" + + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + sdkEnv "github.com/hashicorp/go-azure-sdk/sdk/environments" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VirtualWANsClient struct { + Client *resourcemanager.Client +} + +func NewVirtualWANsClientWithBaseURI(sdkApi sdkEnv.Api) (*VirtualWANsClient, error) { + client, err := resourcemanager.NewClient(sdkApi, "virtualwans", defaultApiVersion) + if err != nil { + return nil, fmt.Errorf("instantiating VirtualWANsClient: %+v", err) + } + + return &VirtualWANsClient{ + Client: client, + }, nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/constants.go new file mode 100644 index 000000000000..f620ae04a845 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/constants.go @@ -0,0 +1,2382 @@ +package virtualwans + +import ( + "encoding/json" + "fmt" + "strings" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type AuthenticationMethod string + +const ( + AuthenticationMethodEAPMSCHAPvTwo AuthenticationMethod = "EAPMSCHAPv2" + AuthenticationMethodEAPTLS AuthenticationMethod = "EAPTLS" +) + +func PossibleValuesForAuthenticationMethod() []string { + return []string{ + string(AuthenticationMethodEAPMSCHAPvTwo), + string(AuthenticationMethodEAPTLS), + } +} + +func (s *AuthenticationMethod) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseAuthenticationMethod(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseAuthenticationMethod(input string) (*AuthenticationMethod, error) { + vals := map[string]AuthenticationMethod{ + "eapmschapv2": AuthenticationMethodEAPMSCHAPvTwo, + "eaptls": AuthenticationMethodEAPTLS, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := AuthenticationMethod(input) + return &out, nil +} + +type DdosSettingsProtectionMode string + +const ( + DdosSettingsProtectionModeDisabled DdosSettingsProtectionMode = "Disabled" + DdosSettingsProtectionModeEnabled DdosSettingsProtectionMode = "Enabled" + DdosSettingsProtectionModeVirtualNetworkInherited DdosSettingsProtectionMode = "VirtualNetworkInherited" +) + +func PossibleValuesForDdosSettingsProtectionMode() []string { + return []string{ + string(DdosSettingsProtectionModeDisabled), + string(DdosSettingsProtectionModeEnabled), + string(DdosSettingsProtectionModeVirtualNetworkInherited), + } +} + +func (s *DdosSettingsProtectionMode) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseDdosSettingsProtectionMode(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseDdosSettingsProtectionMode(input string) (*DdosSettingsProtectionMode, error) { + vals := map[string]DdosSettingsProtectionMode{ + "disabled": DdosSettingsProtectionModeDisabled, + "enabled": DdosSettingsProtectionModeEnabled, + "virtualnetworkinherited": DdosSettingsProtectionModeVirtualNetworkInherited, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := DdosSettingsProtectionMode(input) + return &out, nil +} + +type DeleteOptions string + +const ( + DeleteOptionsDelete DeleteOptions = "Delete" + DeleteOptionsDetach DeleteOptions = "Detach" +) + +func PossibleValuesForDeleteOptions() []string { + return []string{ + string(DeleteOptionsDelete), + string(DeleteOptionsDetach), + } +} + +func (s *DeleteOptions) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseDeleteOptions(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseDeleteOptions(input string) (*DeleteOptions, error) { + vals := map[string]DeleteOptions{ + "delete": DeleteOptionsDelete, + "detach": DeleteOptionsDetach, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := DeleteOptions(input) + return &out, nil +} + +type DhGroup string + +const ( + DhGroupDHGroupOne DhGroup = "DHGroup1" + DhGroupDHGroupOneFour DhGroup = "DHGroup14" + DhGroupDHGroupTwo DhGroup = "DHGroup2" + DhGroupDHGroupTwoFour DhGroup = "DHGroup24" + DhGroupDHGroupTwoZeroFourEight DhGroup = "DHGroup2048" + DhGroupECPThreeEightFour DhGroup = "ECP384" + DhGroupECPTwoFiveSix DhGroup = "ECP256" + DhGroupNone DhGroup = "None" +) + +func PossibleValuesForDhGroup() []string { + return []string{ + string(DhGroupDHGroupOne), + string(DhGroupDHGroupOneFour), + string(DhGroupDHGroupTwo), + string(DhGroupDHGroupTwoFour), + string(DhGroupDHGroupTwoZeroFourEight), + string(DhGroupECPThreeEightFour), + string(DhGroupECPTwoFiveSix), + string(DhGroupNone), + } +} + +func (s *DhGroup) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseDhGroup(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseDhGroup(input string) (*DhGroup, error) { + vals := map[string]DhGroup{ + "dhgroup1": DhGroupDHGroupOne, + "dhgroup14": DhGroupDHGroupOneFour, + "dhgroup2": DhGroupDHGroupTwo, + "dhgroup24": DhGroupDHGroupTwoFour, + "dhgroup2048": DhGroupDHGroupTwoZeroFourEight, + "ecp384": DhGroupECPThreeEightFour, + "ecp256": DhGroupECPTwoFiveSix, + "none": DhGroupNone, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := DhGroup(input) + return &out, nil +} + +type FlowLogFormatType string + +const ( + FlowLogFormatTypeJSON FlowLogFormatType = "JSON" +) + +func PossibleValuesForFlowLogFormatType() []string { + return []string{ + string(FlowLogFormatTypeJSON), + } +} + +func (s *FlowLogFormatType) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseFlowLogFormatType(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseFlowLogFormatType(input string) (*FlowLogFormatType, error) { + vals := map[string]FlowLogFormatType{ + "json": FlowLogFormatTypeJSON, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := FlowLogFormatType(input) + return &out, nil +} + +type GatewayLoadBalancerTunnelInterfaceType string + +const ( + GatewayLoadBalancerTunnelInterfaceTypeExternal GatewayLoadBalancerTunnelInterfaceType = "External" + GatewayLoadBalancerTunnelInterfaceTypeInternal GatewayLoadBalancerTunnelInterfaceType = "Internal" + GatewayLoadBalancerTunnelInterfaceTypeNone GatewayLoadBalancerTunnelInterfaceType = "None" +) + +func PossibleValuesForGatewayLoadBalancerTunnelInterfaceType() []string { + return []string{ + string(GatewayLoadBalancerTunnelInterfaceTypeExternal), + string(GatewayLoadBalancerTunnelInterfaceTypeInternal), + string(GatewayLoadBalancerTunnelInterfaceTypeNone), + } +} + +func (s *GatewayLoadBalancerTunnelInterfaceType) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseGatewayLoadBalancerTunnelInterfaceType(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseGatewayLoadBalancerTunnelInterfaceType(input string) (*GatewayLoadBalancerTunnelInterfaceType, error) { + vals := map[string]GatewayLoadBalancerTunnelInterfaceType{ + "external": GatewayLoadBalancerTunnelInterfaceTypeExternal, + "internal": GatewayLoadBalancerTunnelInterfaceTypeInternal, + "none": GatewayLoadBalancerTunnelInterfaceTypeNone, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := GatewayLoadBalancerTunnelInterfaceType(input) + return &out, nil +} + +type GatewayLoadBalancerTunnelProtocol string + +const ( + GatewayLoadBalancerTunnelProtocolNative GatewayLoadBalancerTunnelProtocol = "Native" + GatewayLoadBalancerTunnelProtocolNone GatewayLoadBalancerTunnelProtocol = "None" + GatewayLoadBalancerTunnelProtocolVXLAN GatewayLoadBalancerTunnelProtocol = "VXLAN" +) + +func PossibleValuesForGatewayLoadBalancerTunnelProtocol() []string { + return []string{ + string(GatewayLoadBalancerTunnelProtocolNative), + string(GatewayLoadBalancerTunnelProtocolNone), + string(GatewayLoadBalancerTunnelProtocolVXLAN), + } +} + +func (s *GatewayLoadBalancerTunnelProtocol) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseGatewayLoadBalancerTunnelProtocol(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseGatewayLoadBalancerTunnelProtocol(input string) (*GatewayLoadBalancerTunnelProtocol, error) { + vals := map[string]GatewayLoadBalancerTunnelProtocol{ + "native": GatewayLoadBalancerTunnelProtocolNative, + "none": GatewayLoadBalancerTunnelProtocolNone, + "vxlan": GatewayLoadBalancerTunnelProtocolVXLAN, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := GatewayLoadBalancerTunnelProtocol(input) + return &out, nil +} + +type HubBgpConnectionStatus string + +const ( + HubBgpConnectionStatusConnected HubBgpConnectionStatus = "Connected" + HubBgpConnectionStatusConnecting HubBgpConnectionStatus = "Connecting" + HubBgpConnectionStatusNotConnected HubBgpConnectionStatus = "NotConnected" + HubBgpConnectionStatusUnknown HubBgpConnectionStatus = "Unknown" +) + +func PossibleValuesForHubBgpConnectionStatus() []string { + return []string{ + string(HubBgpConnectionStatusConnected), + string(HubBgpConnectionStatusConnecting), + string(HubBgpConnectionStatusNotConnected), + string(HubBgpConnectionStatusUnknown), + } +} + +func (s *HubBgpConnectionStatus) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseHubBgpConnectionStatus(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseHubBgpConnectionStatus(input string) (*HubBgpConnectionStatus, error) { + vals := map[string]HubBgpConnectionStatus{ + "connected": HubBgpConnectionStatusConnected, + "connecting": HubBgpConnectionStatusConnecting, + "notconnected": HubBgpConnectionStatusNotConnected, + "unknown": HubBgpConnectionStatusUnknown, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := HubBgpConnectionStatus(input) + return &out, nil +} + +type HubRoutingPreference string + +const ( + HubRoutingPreferenceASPath HubRoutingPreference = "ASPath" + HubRoutingPreferenceExpressRoute HubRoutingPreference = "ExpressRoute" + HubRoutingPreferenceVpnGateway HubRoutingPreference = "VpnGateway" +) + +func PossibleValuesForHubRoutingPreference() []string { + return []string{ + string(HubRoutingPreferenceASPath), + string(HubRoutingPreferenceExpressRoute), + string(HubRoutingPreferenceVpnGateway), + } +} + +func (s *HubRoutingPreference) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseHubRoutingPreference(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseHubRoutingPreference(input string) (*HubRoutingPreference, error) { + vals := map[string]HubRoutingPreference{ + "aspath": HubRoutingPreferenceASPath, + "expressroute": HubRoutingPreferenceExpressRoute, + "vpngateway": HubRoutingPreferenceVpnGateway, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := HubRoutingPreference(input) + return &out, nil +} + +type IPAllocationMethod string + +const ( + IPAllocationMethodDynamic IPAllocationMethod = "Dynamic" + IPAllocationMethodStatic IPAllocationMethod = "Static" +) + +func PossibleValuesForIPAllocationMethod() []string { + return []string{ + string(IPAllocationMethodDynamic), + string(IPAllocationMethodStatic), + } +} + +func (s *IPAllocationMethod) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseIPAllocationMethod(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseIPAllocationMethod(input string) (*IPAllocationMethod, error) { + vals := map[string]IPAllocationMethod{ + "dynamic": IPAllocationMethodDynamic, + "static": IPAllocationMethodStatic, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := IPAllocationMethod(input) + return &out, nil +} + +type IPVersion string + +const ( + IPVersionIPvFour IPVersion = "IPv4" + IPVersionIPvSix IPVersion = "IPv6" +) + +func PossibleValuesForIPVersion() []string { + return []string{ + string(IPVersionIPvFour), + string(IPVersionIPvSix), + } +} + +func (s *IPVersion) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseIPVersion(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseIPVersion(input string) (*IPVersion, error) { + vals := map[string]IPVersion{ + "ipv4": IPVersionIPvFour, + "ipv6": IPVersionIPvSix, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := IPVersion(input) + return &out, nil +} + +type IPsecEncryption string + +const ( + IPsecEncryptionAESOneNineTwo IPsecEncryption = "AES192" + IPsecEncryptionAESOneTwoEight IPsecEncryption = "AES128" + IPsecEncryptionAESTwoFiveSix IPsecEncryption = "AES256" + IPsecEncryptionDES IPsecEncryption = "DES" + IPsecEncryptionDESThree IPsecEncryption = "DES3" + IPsecEncryptionGCMAESOneNineTwo IPsecEncryption = "GCMAES192" + IPsecEncryptionGCMAESOneTwoEight IPsecEncryption = "GCMAES128" + IPsecEncryptionGCMAESTwoFiveSix IPsecEncryption = "GCMAES256" + IPsecEncryptionNone IPsecEncryption = "None" +) + +func PossibleValuesForIPsecEncryption() []string { + return []string{ + string(IPsecEncryptionAESOneNineTwo), + string(IPsecEncryptionAESOneTwoEight), + string(IPsecEncryptionAESTwoFiveSix), + string(IPsecEncryptionDES), + string(IPsecEncryptionDESThree), + string(IPsecEncryptionGCMAESOneNineTwo), + string(IPsecEncryptionGCMAESOneTwoEight), + string(IPsecEncryptionGCMAESTwoFiveSix), + string(IPsecEncryptionNone), + } +} + +func (s *IPsecEncryption) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseIPsecEncryption(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseIPsecEncryption(input string) (*IPsecEncryption, error) { + vals := map[string]IPsecEncryption{ + "aes192": IPsecEncryptionAESOneNineTwo, + "aes128": IPsecEncryptionAESOneTwoEight, + "aes256": IPsecEncryptionAESTwoFiveSix, + "des": IPsecEncryptionDES, + "des3": IPsecEncryptionDESThree, + "gcmaes192": IPsecEncryptionGCMAESOneNineTwo, + "gcmaes128": IPsecEncryptionGCMAESOneTwoEight, + "gcmaes256": IPsecEncryptionGCMAESTwoFiveSix, + "none": IPsecEncryptionNone, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := IPsecEncryption(input) + return &out, nil +} + +type IPsecIntegrity string + +const ( + IPsecIntegrityGCMAESOneNineTwo IPsecIntegrity = "GCMAES192" + IPsecIntegrityGCMAESOneTwoEight IPsecIntegrity = "GCMAES128" + IPsecIntegrityGCMAESTwoFiveSix IPsecIntegrity = "GCMAES256" + IPsecIntegrityMDFive IPsecIntegrity = "MD5" + IPsecIntegritySHAOne IPsecIntegrity = "SHA1" + IPsecIntegritySHATwoFiveSix IPsecIntegrity = "SHA256" +) + +func PossibleValuesForIPsecIntegrity() []string { + return []string{ + string(IPsecIntegrityGCMAESOneNineTwo), + string(IPsecIntegrityGCMAESOneTwoEight), + string(IPsecIntegrityGCMAESTwoFiveSix), + string(IPsecIntegrityMDFive), + string(IPsecIntegritySHAOne), + string(IPsecIntegritySHATwoFiveSix), + } +} + +func (s *IPsecIntegrity) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseIPsecIntegrity(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseIPsecIntegrity(input string) (*IPsecIntegrity, error) { + vals := map[string]IPsecIntegrity{ + "gcmaes192": IPsecIntegrityGCMAESOneNineTwo, + "gcmaes128": IPsecIntegrityGCMAESOneTwoEight, + "gcmaes256": IPsecIntegrityGCMAESTwoFiveSix, + "md5": IPsecIntegrityMDFive, + "sha1": IPsecIntegritySHAOne, + "sha256": IPsecIntegritySHATwoFiveSix, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := IPsecIntegrity(input) + return &out, nil +} + +type IkeEncryption string + +const ( + IkeEncryptionAESOneNineTwo IkeEncryption = "AES192" + IkeEncryptionAESOneTwoEight IkeEncryption = "AES128" + IkeEncryptionAESTwoFiveSix IkeEncryption = "AES256" + IkeEncryptionDES IkeEncryption = "DES" + IkeEncryptionDESThree IkeEncryption = "DES3" + IkeEncryptionGCMAESOneTwoEight IkeEncryption = "GCMAES128" + IkeEncryptionGCMAESTwoFiveSix IkeEncryption = "GCMAES256" +) + +func PossibleValuesForIkeEncryption() []string { + return []string{ + string(IkeEncryptionAESOneNineTwo), + string(IkeEncryptionAESOneTwoEight), + string(IkeEncryptionAESTwoFiveSix), + string(IkeEncryptionDES), + string(IkeEncryptionDESThree), + string(IkeEncryptionGCMAESOneTwoEight), + string(IkeEncryptionGCMAESTwoFiveSix), + } +} + +func (s *IkeEncryption) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseIkeEncryption(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseIkeEncryption(input string) (*IkeEncryption, error) { + vals := map[string]IkeEncryption{ + "aes192": IkeEncryptionAESOneNineTwo, + "aes128": IkeEncryptionAESOneTwoEight, + "aes256": IkeEncryptionAESTwoFiveSix, + "des": IkeEncryptionDES, + "des3": IkeEncryptionDESThree, + "gcmaes128": IkeEncryptionGCMAESOneTwoEight, + "gcmaes256": IkeEncryptionGCMAESTwoFiveSix, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := IkeEncryption(input) + return &out, nil +} + +type IkeIntegrity string + +const ( + IkeIntegrityGCMAESOneTwoEight IkeIntegrity = "GCMAES128" + IkeIntegrityGCMAESTwoFiveSix IkeIntegrity = "GCMAES256" + IkeIntegrityMDFive IkeIntegrity = "MD5" + IkeIntegritySHAOne IkeIntegrity = "SHA1" + IkeIntegritySHAThreeEightFour IkeIntegrity = "SHA384" + IkeIntegritySHATwoFiveSix IkeIntegrity = "SHA256" +) + +func PossibleValuesForIkeIntegrity() []string { + return []string{ + string(IkeIntegrityGCMAESOneTwoEight), + string(IkeIntegrityGCMAESTwoFiveSix), + string(IkeIntegrityMDFive), + string(IkeIntegritySHAOne), + string(IkeIntegritySHAThreeEightFour), + string(IkeIntegritySHATwoFiveSix), + } +} + +func (s *IkeIntegrity) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseIkeIntegrity(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseIkeIntegrity(input string) (*IkeIntegrity, error) { + vals := map[string]IkeIntegrity{ + "gcmaes128": IkeIntegrityGCMAESOneTwoEight, + "gcmaes256": IkeIntegrityGCMAESTwoFiveSix, + "md5": IkeIntegrityMDFive, + "sha1": IkeIntegritySHAOne, + "sha384": IkeIntegritySHAThreeEightFour, + "sha256": IkeIntegritySHATwoFiveSix, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := IkeIntegrity(input) + return &out, nil +} + +type LoadBalancerBackendAddressAdminState string + +const ( + LoadBalancerBackendAddressAdminStateDown LoadBalancerBackendAddressAdminState = "Down" + LoadBalancerBackendAddressAdminStateNone LoadBalancerBackendAddressAdminState = "None" + LoadBalancerBackendAddressAdminStateUp LoadBalancerBackendAddressAdminState = "Up" +) + +func PossibleValuesForLoadBalancerBackendAddressAdminState() []string { + return []string{ + string(LoadBalancerBackendAddressAdminStateDown), + string(LoadBalancerBackendAddressAdminStateNone), + string(LoadBalancerBackendAddressAdminStateUp), + } +} + +func (s *LoadBalancerBackendAddressAdminState) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseLoadBalancerBackendAddressAdminState(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseLoadBalancerBackendAddressAdminState(input string) (*LoadBalancerBackendAddressAdminState, error) { + vals := map[string]LoadBalancerBackendAddressAdminState{ + "down": LoadBalancerBackendAddressAdminStateDown, + "none": LoadBalancerBackendAddressAdminStateNone, + "up": LoadBalancerBackendAddressAdminStateUp, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := LoadBalancerBackendAddressAdminState(input) + return &out, nil +} + +type NatGatewaySkuName string + +const ( + NatGatewaySkuNameStandard NatGatewaySkuName = "Standard" +) + +func PossibleValuesForNatGatewaySkuName() []string { + return []string{ + string(NatGatewaySkuNameStandard), + } +} + +func (s *NatGatewaySkuName) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseNatGatewaySkuName(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseNatGatewaySkuName(input string) (*NatGatewaySkuName, error) { + vals := map[string]NatGatewaySkuName{ + "standard": NatGatewaySkuNameStandard, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := NatGatewaySkuName(input) + return &out, nil +} + +type NetworkInterfaceAuxiliaryMode string + +const ( + NetworkInterfaceAuxiliaryModeAcceleratedConnections NetworkInterfaceAuxiliaryMode = "AcceleratedConnections" + NetworkInterfaceAuxiliaryModeFloating NetworkInterfaceAuxiliaryMode = "Floating" + NetworkInterfaceAuxiliaryModeMaxConnections NetworkInterfaceAuxiliaryMode = "MaxConnections" + NetworkInterfaceAuxiliaryModeNone NetworkInterfaceAuxiliaryMode = "None" +) + +func PossibleValuesForNetworkInterfaceAuxiliaryMode() []string { + return []string{ + string(NetworkInterfaceAuxiliaryModeAcceleratedConnections), + string(NetworkInterfaceAuxiliaryModeFloating), + string(NetworkInterfaceAuxiliaryModeMaxConnections), + string(NetworkInterfaceAuxiliaryModeNone), + } +} + +func (s *NetworkInterfaceAuxiliaryMode) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseNetworkInterfaceAuxiliaryMode(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseNetworkInterfaceAuxiliaryMode(input string) (*NetworkInterfaceAuxiliaryMode, error) { + vals := map[string]NetworkInterfaceAuxiliaryMode{ + "acceleratedconnections": NetworkInterfaceAuxiliaryModeAcceleratedConnections, + "floating": NetworkInterfaceAuxiliaryModeFloating, + "maxconnections": NetworkInterfaceAuxiliaryModeMaxConnections, + "none": NetworkInterfaceAuxiliaryModeNone, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := NetworkInterfaceAuxiliaryMode(input) + return &out, nil +} + +type NetworkInterfaceAuxiliarySku string + +const ( + NetworkInterfaceAuxiliarySkuAEight NetworkInterfaceAuxiliarySku = "A8" + NetworkInterfaceAuxiliarySkuAFour NetworkInterfaceAuxiliarySku = "A4" + NetworkInterfaceAuxiliarySkuAOne NetworkInterfaceAuxiliarySku = "A1" + NetworkInterfaceAuxiliarySkuATwo NetworkInterfaceAuxiliarySku = "A2" + NetworkInterfaceAuxiliarySkuNone NetworkInterfaceAuxiliarySku = "None" +) + +func PossibleValuesForNetworkInterfaceAuxiliarySku() []string { + return []string{ + string(NetworkInterfaceAuxiliarySkuAEight), + string(NetworkInterfaceAuxiliarySkuAFour), + string(NetworkInterfaceAuxiliarySkuAOne), + string(NetworkInterfaceAuxiliarySkuATwo), + string(NetworkInterfaceAuxiliarySkuNone), + } +} + +func (s *NetworkInterfaceAuxiliarySku) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseNetworkInterfaceAuxiliarySku(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseNetworkInterfaceAuxiliarySku(input string) (*NetworkInterfaceAuxiliarySku, error) { + vals := map[string]NetworkInterfaceAuxiliarySku{ + "a8": NetworkInterfaceAuxiliarySkuAEight, + "a4": NetworkInterfaceAuxiliarySkuAFour, + "a1": NetworkInterfaceAuxiliarySkuAOne, + "a2": NetworkInterfaceAuxiliarySkuATwo, + "none": NetworkInterfaceAuxiliarySkuNone, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := NetworkInterfaceAuxiliarySku(input) + return &out, nil +} + +type NetworkInterfaceMigrationPhase string + +const ( + NetworkInterfaceMigrationPhaseAbort NetworkInterfaceMigrationPhase = "Abort" + NetworkInterfaceMigrationPhaseCommit NetworkInterfaceMigrationPhase = "Commit" + NetworkInterfaceMigrationPhaseCommitted NetworkInterfaceMigrationPhase = "Committed" + NetworkInterfaceMigrationPhaseNone NetworkInterfaceMigrationPhase = "None" + NetworkInterfaceMigrationPhasePrepare NetworkInterfaceMigrationPhase = "Prepare" +) + +func PossibleValuesForNetworkInterfaceMigrationPhase() []string { + return []string{ + string(NetworkInterfaceMigrationPhaseAbort), + string(NetworkInterfaceMigrationPhaseCommit), + string(NetworkInterfaceMigrationPhaseCommitted), + string(NetworkInterfaceMigrationPhaseNone), + string(NetworkInterfaceMigrationPhasePrepare), + } +} + +func (s *NetworkInterfaceMigrationPhase) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseNetworkInterfaceMigrationPhase(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseNetworkInterfaceMigrationPhase(input string) (*NetworkInterfaceMigrationPhase, error) { + vals := map[string]NetworkInterfaceMigrationPhase{ + "abort": NetworkInterfaceMigrationPhaseAbort, + "commit": NetworkInterfaceMigrationPhaseCommit, + "committed": NetworkInterfaceMigrationPhaseCommitted, + "none": NetworkInterfaceMigrationPhaseNone, + "prepare": NetworkInterfaceMigrationPhasePrepare, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := NetworkInterfaceMigrationPhase(input) + return &out, nil +} + +type NetworkInterfaceNicType string + +const ( + NetworkInterfaceNicTypeElastic NetworkInterfaceNicType = "Elastic" + NetworkInterfaceNicTypeStandard NetworkInterfaceNicType = "Standard" +) + +func PossibleValuesForNetworkInterfaceNicType() []string { + return []string{ + string(NetworkInterfaceNicTypeElastic), + string(NetworkInterfaceNicTypeStandard), + } +} + +func (s *NetworkInterfaceNicType) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseNetworkInterfaceNicType(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseNetworkInterfaceNicType(input string) (*NetworkInterfaceNicType, error) { + vals := map[string]NetworkInterfaceNicType{ + "elastic": NetworkInterfaceNicTypeElastic, + "standard": NetworkInterfaceNicTypeStandard, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := NetworkInterfaceNicType(input) + return &out, nil +} + +type NextStep string + +const ( + NextStepContinue NextStep = "Continue" + NextStepTerminate NextStep = "Terminate" + NextStepUnknown NextStep = "Unknown" +) + +func PossibleValuesForNextStep() []string { + return []string{ + string(NextStepContinue), + string(NextStepTerminate), + string(NextStepUnknown), + } +} + +func (s *NextStep) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseNextStep(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseNextStep(input string) (*NextStep, error) { + vals := map[string]NextStep{ + "continue": NextStepContinue, + "terminate": NextStepTerminate, + "unknown": NextStepUnknown, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := NextStep(input) + return &out, nil +} + +type OfficeTrafficCategory string + +const ( + OfficeTrafficCategoryAll OfficeTrafficCategory = "All" + OfficeTrafficCategoryNone OfficeTrafficCategory = "None" + OfficeTrafficCategoryOptimize OfficeTrafficCategory = "Optimize" + OfficeTrafficCategoryOptimizeAndAllow OfficeTrafficCategory = "OptimizeAndAllow" +) + +func PossibleValuesForOfficeTrafficCategory() []string { + return []string{ + string(OfficeTrafficCategoryAll), + string(OfficeTrafficCategoryNone), + string(OfficeTrafficCategoryOptimize), + string(OfficeTrafficCategoryOptimizeAndAllow), + } +} + +func (s *OfficeTrafficCategory) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseOfficeTrafficCategory(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseOfficeTrafficCategory(input string) (*OfficeTrafficCategory, error) { + vals := map[string]OfficeTrafficCategory{ + "all": OfficeTrafficCategoryAll, + "none": OfficeTrafficCategoryNone, + "optimize": OfficeTrafficCategoryOptimize, + "optimizeandallow": OfficeTrafficCategoryOptimizeAndAllow, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := OfficeTrafficCategory(input) + return &out, nil +} + +type PfsGroup string + +const ( + PfsGroupECPThreeEightFour PfsGroup = "ECP384" + PfsGroupECPTwoFiveSix PfsGroup = "ECP256" + PfsGroupNone PfsGroup = "None" + PfsGroupPFSMM PfsGroup = "PFSMM" + PfsGroupPFSOne PfsGroup = "PFS1" + PfsGroupPFSOneFour PfsGroup = "PFS14" + PfsGroupPFSTwo PfsGroup = "PFS2" + PfsGroupPFSTwoFour PfsGroup = "PFS24" + PfsGroupPFSTwoZeroFourEight PfsGroup = "PFS2048" +) + +func PossibleValuesForPfsGroup() []string { + return []string{ + string(PfsGroupECPThreeEightFour), + string(PfsGroupECPTwoFiveSix), + string(PfsGroupNone), + string(PfsGroupPFSMM), + string(PfsGroupPFSOne), + string(PfsGroupPFSOneFour), + string(PfsGroupPFSTwo), + string(PfsGroupPFSTwoFour), + string(PfsGroupPFSTwoZeroFourEight), + } +} + +func (s *PfsGroup) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parsePfsGroup(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parsePfsGroup(input string) (*PfsGroup, error) { + vals := map[string]PfsGroup{ + "ecp384": PfsGroupECPThreeEightFour, + "ecp256": PfsGroupECPTwoFiveSix, + "none": PfsGroupNone, + "pfsmm": PfsGroupPFSMM, + "pfs1": PfsGroupPFSOne, + "pfs14": PfsGroupPFSOneFour, + "pfs2": PfsGroupPFSTwo, + "pfs24": PfsGroupPFSTwoFour, + "pfs2048": PfsGroupPFSTwoZeroFourEight, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := PfsGroup(input) + return &out, nil +} + +type PreferredRoutingGateway string + +const ( + PreferredRoutingGatewayExpressRoute PreferredRoutingGateway = "ExpressRoute" + PreferredRoutingGatewayNone PreferredRoutingGateway = "None" + PreferredRoutingGatewayVpnGateway PreferredRoutingGateway = "VpnGateway" +) + +func PossibleValuesForPreferredRoutingGateway() []string { + return []string{ + string(PreferredRoutingGatewayExpressRoute), + string(PreferredRoutingGatewayNone), + string(PreferredRoutingGatewayVpnGateway), + } +} + +func (s *PreferredRoutingGateway) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parsePreferredRoutingGateway(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parsePreferredRoutingGateway(input string) (*PreferredRoutingGateway, error) { + vals := map[string]PreferredRoutingGateway{ + "expressroute": PreferredRoutingGatewayExpressRoute, + "none": PreferredRoutingGatewayNone, + "vpngateway": PreferredRoutingGatewayVpnGateway, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := PreferredRoutingGateway(input) + return &out, nil +} + +type ProvisioningState string + +const ( + ProvisioningStateDeleting ProvisioningState = "Deleting" + ProvisioningStateFailed ProvisioningState = "Failed" + ProvisioningStateSucceeded ProvisioningState = "Succeeded" + ProvisioningStateUpdating ProvisioningState = "Updating" +) + +func PossibleValuesForProvisioningState() []string { + return []string{ + string(ProvisioningStateDeleting), + string(ProvisioningStateFailed), + string(ProvisioningStateSucceeded), + string(ProvisioningStateUpdating), + } +} + +func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseProvisioningState(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseProvisioningState(input string) (*ProvisioningState, error) { + vals := map[string]ProvisioningState{ + "deleting": ProvisioningStateDeleting, + "failed": ProvisioningStateFailed, + "succeeded": ProvisioningStateSucceeded, + "updating": ProvisioningStateUpdating, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ProvisioningState(input) + return &out, nil +} + +type PublicIPAddressDnsSettingsDomainNameLabelScope string + +const ( + PublicIPAddressDnsSettingsDomainNameLabelScopeNoReuse PublicIPAddressDnsSettingsDomainNameLabelScope = "NoReuse" + PublicIPAddressDnsSettingsDomainNameLabelScopeResourceGroupReuse PublicIPAddressDnsSettingsDomainNameLabelScope = "ResourceGroupReuse" + PublicIPAddressDnsSettingsDomainNameLabelScopeSubscriptionReuse PublicIPAddressDnsSettingsDomainNameLabelScope = "SubscriptionReuse" + PublicIPAddressDnsSettingsDomainNameLabelScopeTenantReuse PublicIPAddressDnsSettingsDomainNameLabelScope = "TenantReuse" +) + +func PossibleValuesForPublicIPAddressDnsSettingsDomainNameLabelScope() []string { + return []string{ + string(PublicIPAddressDnsSettingsDomainNameLabelScopeNoReuse), + string(PublicIPAddressDnsSettingsDomainNameLabelScopeResourceGroupReuse), + string(PublicIPAddressDnsSettingsDomainNameLabelScopeSubscriptionReuse), + string(PublicIPAddressDnsSettingsDomainNameLabelScopeTenantReuse), + } +} + +func (s *PublicIPAddressDnsSettingsDomainNameLabelScope) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parsePublicIPAddressDnsSettingsDomainNameLabelScope(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parsePublicIPAddressDnsSettingsDomainNameLabelScope(input string) (*PublicIPAddressDnsSettingsDomainNameLabelScope, error) { + vals := map[string]PublicIPAddressDnsSettingsDomainNameLabelScope{ + "noreuse": PublicIPAddressDnsSettingsDomainNameLabelScopeNoReuse, + "resourcegroupreuse": PublicIPAddressDnsSettingsDomainNameLabelScopeResourceGroupReuse, + "subscriptionreuse": PublicIPAddressDnsSettingsDomainNameLabelScopeSubscriptionReuse, + "tenantreuse": PublicIPAddressDnsSettingsDomainNameLabelScopeTenantReuse, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := PublicIPAddressDnsSettingsDomainNameLabelScope(input) + return &out, nil +} + +type PublicIPAddressMigrationPhase string + +const ( + PublicIPAddressMigrationPhaseAbort PublicIPAddressMigrationPhase = "Abort" + PublicIPAddressMigrationPhaseCommit PublicIPAddressMigrationPhase = "Commit" + PublicIPAddressMigrationPhaseCommitted PublicIPAddressMigrationPhase = "Committed" + PublicIPAddressMigrationPhaseNone PublicIPAddressMigrationPhase = "None" + PublicIPAddressMigrationPhasePrepare PublicIPAddressMigrationPhase = "Prepare" +) + +func PossibleValuesForPublicIPAddressMigrationPhase() []string { + return []string{ + string(PublicIPAddressMigrationPhaseAbort), + string(PublicIPAddressMigrationPhaseCommit), + string(PublicIPAddressMigrationPhaseCommitted), + string(PublicIPAddressMigrationPhaseNone), + string(PublicIPAddressMigrationPhasePrepare), + } +} + +func (s *PublicIPAddressMigrationPhase) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parsePublicIPAddressMigrationPhase(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parsePublicIPAddressMigrationPhase(input string) (*PublicIPAddressMigrationPhase, error) { + vals := map[string]PublicIPAddressMigrationPhase{ + "abort": PublicIPAddressMigrationPhaseAbort, + "commit": PublicIPAddressMigrationPhaseCommit, + "committed": PublicIPAddressMigrationPhaseCommitted, + "none": PublicIPAddressMigrationPhaseNone, + "prepare": PublicIPAddressMigrationPhasePrepare, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := PublicIPAddressMigrationPhase(input) + return &out, nil +} + +type PublicIPAddressSkuName string + +const ( + PublicIPAddressSkuNameBasic PublicIPAddressSkuName = "Basic" + PublicIPAddressSkuNameStandard PublicIPAddressSkuName = "Standard" +) + +func PossibleValuesForPublicIPAddressSkuName() []string { + return []string{ + string(PublicIPAddressSkuNameBasic), + string(PublicIPAddressSkuNameStandard), + } +} + +func (s *PublicIPAddressSkuName) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parsePublicIPAddressSkuName(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parsePublicIPAddressSkuName(input string) (*PublicIPAddressSkuName, error) { + vals := map[string]PublicIPAddressSkuName{ + "basic": PublicIPAddressSkuNameBasic, + "standard": PublicIPAddressSkuNameStandard, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := PublicIPAddressSkuName(input) + return &out, nil +} + +type PublicIPAddressSkuTier string + +const ( + PublicIPAddressSkuTierGlobal PublicIPAddressSkuTier = "Global" + PublicIPAddressSkuTierRegional PublicIPAddressSkuTier = "Regional" +) + +func PossibleValuesForPublicIPAddressSkuTier() []string { + return []string{ + string(PublicIPAddressSkuTierGlobal), + string(PublicIPAddressSkuTierRegional), + } +} + +func (s *PublicIPAddressSkuTier) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parsePublicIPAddressSkuTier(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parsePublicIPAddressSkuTier(input string) (*PublicIPAddressSkuTier, error) { + vals := map[string]PublicIPAddressSkuTier{ + "global": PublicIPAddressSkuTierGlobal, + "regional": PublicIPAddressSkuTierRegional, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := PublicIPAddressSkuTier(input) + return &out, nil +} + +type RouteMapActionType string + +const ( + RouteMapActionTypeAdd RouteMapActionType = "Add" + RouteMapActionTypeDrop RouteMapActionType = "Drop" + RouteMapActionTypeRemove RouteMapActionType = "Remove" + RouteMapActionTypeReplace RouteMapActionType = "Replace" + RouteMapActionTypeUnknown RouteMapActionType = "Unknown" +) + +func PossibleValuesForRouteMapActionType() []string { + return []string{ + string(RouteMapActionTypeAdd), + string(RouteMapActionTypeDrop), + string(RouteMapActionTypeRemove), + string(RouteMapActionTypeReplace), + string(RouteMapActionTypeUnknown), + } +} + +func (s *RouteMapActionType) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseRouteMapActionType(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseRouteMapActionType(input string) (*RouteMapActionType, error) { + vals := map[string]RouteMapActionType{ + "add": RouteMapActionTypeAdd, + "drop": RouteMapActionTypeDrop, + "remove": RouteMapActionTypeRemove, + "replace": RouteMapActionTypeReplace, + "unknown": RouteMapActionTypeUnknown, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := RouteMapActionType(input) + return &out, nil +} + +type RouteMapMatchCondition string + +const ( + RouteMapMatchConditionContains RouteMapMatchCondition = "Contains" + RouteMapMatchConditionEquals RouteMapMatchCondition = "Equals" + RouteMapMatchConditionNotContains RouteMapMatchCondition = "NotContains" + RouteMapMatchConditionNotEquals RouteMapMatchCondition = "NotEquals" + RouteMapMatchConditionUnknown RouteMapMatchCondition = "Unknown" +) + +func PossibleValuesForRouteMapMatchCondition() []string { + return []string{ + string(RouteMapMatchConditionContains), + string(RouteMapMatchConditionEquals), + string(RouteMapMatchConditionNotContains), + string(RouteMapMatchConditionNotEquals), + string(RouteMapMatchConditionUnknown), + } +} + +func (s *RouteMapMatchCondition) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseRouteMapMatchCondition(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseRouteMapMatchCondition(input string) (*RouteMapMatchCondition, error) { + vals := map[string]RouteMapMatchCondition{ + "contains": RouteMapMatchConditionContains, + "equals": RouteMapMatchConditionEquals, + "notcontains": RouteMapMatchConditionNotContains, + "notequals": RouteMapMatchConditionNotEquals, + "unknown": RouteMapMatchConditionUnknown, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := RouteMapMatchCondition(input) + return &out, nil +} + +type RouteNextHopType string + +const ( + RouteNextHopTypeInternet RouteNextHopType = "Internet" + RouteNextHopTypeNone RouteNextHopType = "None" + RouteNextHopTypeVirtualAppliance RouteNextHopType = "VirtualAppliance" + RouteNextHopTypeVirtualNetworkGateway RouteNextHopType = "VirtualNetworkGateway" + RouteNextHopTypeVnetLocal RouteNextHopType = "VnetLocal" +) + +func PossibleValuesForRouteNextHopType() []string { + return []string{ + string(RouteNextHopTypeInternet), + string(RouteNextHopTypeNone), + string(RouteNextHopTypeVirtualAppliance), + string(RouteNextHopTypeVirtualNetworkGateway), + string(RouteNextHopTypeVnetLocal), + } +} + +func (s *RouteNextHopType) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseRouteNextHopType(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseRouteNextHopType(input string) (*RouteNextHopType, error) { + vals := map[string]RouteNextHopType{ + "internet": RouteNextHopTypeInternet, + "none": RouteNextHopTypeNone, + "virtualappliance": RouteNextHopTypeVirtualAppliance, + "virtualnetworkgateway": RouteNextHopTypeVirtualNetworkGateway, + "vnetlocal": RouteNextHopTypeVnetLocal, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := RouteNextHopType(input) + return &out, nil +} + +type RoutingState string + +const ( + RoutingStateFailed RoutingState = "Failed" + RoutingStateNone RoutingState = "None" + RoutingStateProvisioned RoutingState = "Provisioned" + RoutingStateProvisioning RoutingState = "Provisioning" +) + +func PossibleValuesForRoutingState() []string { + return []string{ + string(RoutingStateFailed), + string(RoutingStateNone), + string(RoutingStateProvisioned), + string(RoutingStateProvisioning), + } +} + +func (s *RoutingState) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseRoutingState(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseRoutingState(input string) (*RoutingState, error) { + vals := map[string]RoutingState{ + "failed": RoutingStateFailed, + "none": RoutingStateNone, + "provisioned": RoutingStateProvisioned, + "provisioning": RoutingStateProvisioning, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := RoutingState(input) + return &out, nil +} + +type SecurityRuleAccess string + +const ( + SecurityRuleAccessAllow SecurityRuleAccess = "Allow" + SecurityRuleAccessDeny SecurityRuleAccess = "Deny" +) + +func PossibleValuesForSecurityRuleAccess() []string { + return []string{ + string(SecurityRuleAccessAllow), + string(SecurityRuleAccessDeny), + } +} + +func (s *SecurityRuleAccess) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseSecurityRuleAccess(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseSecurityRuleAccess(input string) (*SecurityRuleAccess, error) { + vals := map[string]SecurityRuleAccess{ + "allow": SecurityRuleAccessAllow, + "deny": SecurityRuleAccessDeny, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := SecurityRuleAccess(input) + return &out, nil +} + +type SecurityRuleDirection string + +const ( + SecurityRuleDirectionInbound SecurityRuleDirection = "Inbound" + SecurityRuleDirectionOutbound SecurityRuleDirection = "Outbound" +) + +func PossibleValuesForSecurityRuleDirection() []string { + return []string{ + string(SecurityRuleDirectionInbound), + string(SecurityRuleDirectionOutbound), + } +} + +func (s *SecurityRuleDirection) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseSecurityRuleDirection(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseSecurityRuleDirection(input string) (*SecurityRuleDirection, error) { + vals := map[string]SecurityRuleDirection{ + "inbound": SecurityRuleDirectionInbound, + "outbound": SecurityRuleDirectionOutbound, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := SecurityRuleDirection(input) + return &out, nil +} + +type SecurityRuleProtocol string + +const ( + SecurityRuleProtocolAh SecurityRuleProtocol = "Ah" + SecurityRuleProtocolAny SecurityRuleProtocol = "*" + SecurityRuleProtocolEsp SecurityRuleProtocol = "Esp" + SecurityRuleProtocolIcmp SecurityRuleProtocol = "Icmp" + SecurityRuleProtocolTcp SecurityRuleProtocol = "Tcp" + SecurityRuleProtocolUdp SecurityRuleProtocol = "Udp" +) + +func PossibleValuesForSecurityRuleProtocol() []string { + return []string{ + string(SecurityRuleProtocolAh), + string(SecurityRuleProtocolAny), + string(SecurityRuleProtocolEsp), + string(SecurityRuleProtocolIcmp), + string(SecurityRuleProtocolTcp), + string(SecurityRuleProtocolUdp), + } +} + +func (s *SecurityRuleProtocol) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseSecurityRuleProtocol(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseSecurityRuleProtocol(input string) (*SecurityRuleProtocol, error) { + vals := map[string]SecurityRuleProtocol{ + "ah": SecurityRuleProtocolAh, + "*": SecurityRuleProtocolAny, + "esp": SecurityRuleProtocolEsp, + "icmp": SecurityRuleProtocolIcmp, + "tcp": SecurityRuleProtocolTcp, + "udp": SecurityRuleProtocolUdp, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := SecurityRuleProtocol(input) + return &out, nil +} + +type SharingScope string + +const ( + SharingScopeDelegatedServices SharingScope = "DelegatedServices" + SharingScopeTenant SharingScope = "Tenant" +) + +func PossibleValuesForSharingScope() []string { + return []string{ + string(SharingScopeDelegatedServices), + string(SharingScopeTenant), + } +} + +func (s *SharingScope) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseSharingScope(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseSharingScope(input string) (*SharingScope, error) { + vals := map[string]SharingScope{ + "delegatedservices": SharingScopeDelegatedServices, + "tenant": SharingScopeTenant, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := SharingScope(input) + return &out, nil +} + +type SyncMode string + +const ( + SyncModeAutomatic SyncMode = "Automatic" + SyncModeManual SyncMode = "Manual" +) + +func PossibleValuesForSyncMode() []string { + return []string{ + string(SyncModeAutomatic), + string(SyncModeManual), + } +} + +func (s *SyncMode) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseSyncMode(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseSyncMode(input string) (*SyncMode, error) { + vals := map[string]SyncMode{ + "automatic": SyncModeAutomatic, + "manual": SyncModeManual, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := SyncMode(input) + return &out, nil +} + +type TransportProtocol string + +const ( + TransportProtocolAll TransportProtocol = "All" + TransportProtocolTcp TransportProtocol = "Tcp" + TransportProtocolUdp TransportProtocol = "Udp" +) + +func PossibleValuesForTransportProtocol() []string { + return []string{ + string(TransportProtocolAll), + string(TransportProtocolTcp), + string(TransportProtocolUdp), + } +} + +func (s *TransportProtocol) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseTransportProtocol(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseTransportProtocol(input string) (*TransportProtocol, error) { + vals := map[string]TransportProtocol{ + "all": TransportProtocolAll, + "tcp": TransportProtocolTcp, + "udp": TransportProtocolUdp, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := TransportProtocol(input) + return &out, nil +} + +type VirtualNetworkGatewayConnectionProtocol string + +const ( + VirtualNetworkGatewayConnectionProtocolIKEvOne VirtualNetworkGatewayConnectionProtocol = "IKEv1" + VirtualNetworkGatewayConnectionProtocolIKEvTwo VirtualNetworkGatewayConnectionProtocol = "IKEv2" +) + +func PossibleValuesForVirtualNetworkGatewayConnectionProtocol() []string { + return []string{ + string(VirtualNetworkGatewayConnectionProtocolIKEvOne), + string(VirtualNetworkGatewayConnectionProtocolIKEvTwo), + } +} + +func (s *VirtualNetworkGatewayConnectionProtocol) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseVirtualNetworkGatewayConnectionProtocol(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseVirtualNetworkGatewayConnectionProtocol(input string) (*VirtualNetworkGatewayConnectionProtocol, error) { + vals := map[string]VirtualNetworkGatewayConnectionProtocol{ + "ikev1": VirtualNetworkGatewayConnectionProtocolIKEvOne, + "ikev2": VirtualNetworkGatewayConnectionProtocolIKEvTwo, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := VirtualNetworkGatewayConnectionProtocol(input) + return &out, nil +} + +type VirtualNetworkPrivateEndpointNetworkPolicies string + +const ( + VirtualNetworkPrivateEndpointNetworkPoliciesDisabled VirtualNetworkPrivateEndpointNetworkPolicies = "Disabled" + VirtualNetworkPrivateEndpointNetworkPoliciesEnabled VirtualNetworkPrivateEndpointNetworkPolicies = "Enabled" + VirtualNetworkPrivateEndpointNetworkPoliciesNetworkSecurityGroupEnabled VirtualNetworkPrivateEndpointNetworkPolicies = "NetworkSecurityGroupEnabled" + VirtualNetworkPrivateEndpointNetworkPoliciesRouteTableEnabled VirtualNetworkPrivateEndpointNetworkPolicies = "RouteTableEnabled" +) + +func PossibleValuesForVirtualNetworkPrivateEndpointNetworkPolicies() []string { + return []string{ + string(VirtualNetworkPrivateEndpointNetworkPoliciesDisabled), + string(VirtualNetworkPrivateEndpointNetworkPoliciesEnabled), + string(VirtualNetworkPrivateEndpointNetworkPoliciesNetworkSecurityGroupEnabled), + string(VirtualNetworkPrivateEndpointNetworkPoliciesRouteTableEnabled), + } +} + +func (s *VirtualNetworkPrivateEndpointNetworkPolicies) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseVirtualNetworkPrivateEndpointNetworkPolicies(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseVirtualNetworkPrivateEndpointNetworkPolicies(input string) (*VirtualNetworkPrivateEndpointNetworkPolicies, error) { + vals := map[string]VirtualNetworkPrivateEndpointNetworkPolicies{ + "disabled": VirtualNetworkPrivateEndpointNetworkPoliciesDisabled, + "enabled": VirtualNetworkPrivateEndpointNetworkPoliciesEnabled, + "networksecuritygroupenabled": VirtualNetworkPrivateEndpointNetworkPoliciesNetworkSecurityGroupEnabled, + "routetableenabled": VirtualNetworkPrivateEndpointNetworkPoliciesRouteTableEnabled, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := VirtualNetworkPrivateEndpointNetworkPolicies(input) + return &out, nil +} + +type VirtualNetworkPrivateLinkServiceNetworkPolicies string + +const ( + VirtualNetworkPrivateLinkServiceNetworkPoliciesDisabled VirtualNetworkPrivateLinkServiceNetworkPolicies = "Disabled" + VirtualNetworkPrivateLinkServiceNetworkPoliciesEnabled VirtualNetworkPrivateLinkServiceNetworkPolicies = "Enabled" +) + +func PossibleValuesForVirtualNetworkPrivateLinkServiceNetworkPolicies() []string { + return []string{ + string(VirtualNetworkPrivateLinkServiceNetworkPoliciesDisabled), + string(VirtualNetworkPrivateLinkServiceNetworkPoliciesEnabled), + } +} + +func (s *VirtualNetworkPrivateLinkServiceNetworkPolicies) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseVirtualNetworkPrivateLinkServiceNetworkPolicies(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseVirtualNetworkPrivateLinkServiceNetworkPolicies(input string) (*VirtualNetworkPrivateLinkServiceNetworkPolicies, error) { + vals := map[string]VirtualNetworkPrivateLinkServiceNetworkPolicies{ + "disabled": VirtualNetworkPrivateLinkServiceNetworkPoliciesDisabled, + "enabled": VirtualNetworkPrivateLinkServiceNetworkPoliciesEnabled, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := VirtualNetworkPrivateLinkServiceNetworkPolicies(input) + return &out, nil +} + +type VirtualWanSecurityProviderType string + +const ( + VirtualWanSecurityProviderTypeExternal VirtualWanSecurityProviderType = "External" + VirtualWanSecurityProviderTypeNative VirtualWanSecurityProviderType = "Native" +) + +func PossibleValuesForVirtualWanSecurityProviderType() []string { + return []string{ + string(VirtualWanSecurityProviderTypeExternal), + string(VirtualWanSecurityProviderTypeNative), + } +} + +func (s *VirtualWanSecurityProviderType) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseVirtualWanSecurityProviderType(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseVirtualWanSecurityProviderType(input string) (*VirtualWanSecurityProviderType, error) { + vals := map[string]VirtualWanSecurityProviderType{ + "external": VirtualWanSecurityProviderTypeExternal, + "native": VirtualWanSecurityProviderTypeNative, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := VirtualWanSecurityProviderType(input) + return &out, nil +} + +type VnetLocalRouteOverrideCriteria string + +const ( + VnetLocalRouteOverrideCriteriaContains VnetLocalRouteOverrideCriteria = "Contains" + VnetLocalRouteOverrideCriteriaEqual VnetLocalRouteOverrideCriteria = "Equal" +) + +func PossibleValuesForVnetLocalRouteOverrideCriteria() []string { + return []string{ + string(VnetLocalRouteOverrideCriteriaContains), + string(VnetLocalRouteOverrideCriteriaEqual), + } +} + +func (s *VnetLocalRouteOverrideCriteria) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseVnetLocalRouteOverrideCriteria(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseVnetLocalRouteOverrideCriteria(input string) (*VnetLocalRouteOverrideCriteria, error) { + vals := map[string]VnetLocalRouteOverrideCriteria{ + "contains": VnetLocalRouteOverrideCriteriaContains, + "equal": VnetLocalRouteOverrideCriteriaEqual, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := VnetLocalRouteOverrideCriteria(input) + return &out, nil +} + +type VpnAuthenticationType string + +const ( + VpnAuthenticationTypeAAD VpnAuthenticationType = "AAD" + VpnAuthenticationTypeCertificate VpnAuthenticationType = "Certificate" + VpnAuthenticationTypeRadius VpnAuthenticationType = "Radius" +) + +func PossibleValuesForVpnAuthenticationType() []string { + return []string{ + string(VpnAuthenticationTypeAAD), + string(VpnAuthenticationTypeCertificate), + string(VpnAuthenticationTypeRadius), + } +} + +func (s *VpnAuthenticationType) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseVpnAuthenticationType(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseVpnAuthenticationType(input string) (*VpnAuthenticationType, error) { + vals := map[string]VpnAuthenticationType{ + "aad": VpnAuthenticationTypeAAD, + "certificate": VpnAuthenticationTypeCertificate, + "radius": VpnAuthenticationTypeRadius, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := VpnAuthenticationType(input) + return &out, nil +} + +type VpnConnectionStatus string + +const ( + VpnConnectionStatusConnected VpnConnectionStatus = "Connected" + VpnConnectionStatusConnecting VpnConnectionStatus = "Connecting" + VpnConnectionStatusNotConnected VpnConnectionStatus = "NotConnected" + VpnConnectionStatusUnknown VpnConnectionStatus = "Unknown" +) + +func PossibleValuesForVpnConnectionStatus() []string { + return []string{ + string(VpnConnectionStatusConnected), + string(VpnConnectionStatusConnecting), + string(VpnConnectionStatusNotConnected), + string(VpnConnectionStatusUnknown), + } +} + +func (s *VpnConnectionStatus) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseVpnConnectionStatus(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseVpnConnectionStatus(input string) (*VpnConnectionStatus, error) { + vals := map[string]VpnConnectionStatus{ + "connected": VpnConnectionStatusConnected, + "connecting": VpnConnectionStatusConnecting, + "notconnected": VpnConnectionStatusNotConnected, + "unknown": VpnConnectionStatusUnknown, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := VpnConnectionStatus(input) + return &out, nil +} + +type VpnGatewayTunnelingProtocol string + +const ( + VpnGatewayTunnelingProtocolIkeVTwo VpnGatewayTunnelingProtocol = "IkeV2" + VpnGatewayTunnelingProtocolOpenVPN VpnGatewayTunnelingProtocol = "OpenVPN" +) + +func PossibleValuesForVpnGatewayTunnelingProtocol() []string { + return []string{ + string(VpnGatewayTunnelingProtocolIkeVTwo), + string(VpnGatewayTunnelingProtocolOpenVPN), + } +} + +func (s *VpnGatewayTunnelingProtocol) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseVpnGatewayTunnelingProtocol(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseVpnGatewayTunnelingProtocol(input string) (*VpnGatewayTunnelingProtocol, error) { + vals := map[string]VpnGatewayTunnelingProtocol{ + "ikev2": VpnGatewayTunnelingProtocolIkeVTwo, + "openvpn": VpnGatewayTunnelingProtocolOpenVPN, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := VpnGatewayTunnelingProtocol(input) + return &out, nil +} + +type VpnLinkConnectionMode string + +const ( + VpnLinkConnectionModeDefault VpnLinkConnectionMode = "Default" + VpnLinkConnectionModeInitiatorOnly VpnLinkConnectionMode = "InitiatorOnly" + VpnLinkConnectionModeResponderOnly VpnLinkConnectionMode = "ResponderOnly" +) + +func PossibleValuesForVpnLinkConnectionMode() []string { + return []string{ + string(VpnLinkConnectionModeDefault), + string(VpnLinkConnectionModeInitiatorOnly), + string(VpnLinkConnectionModeResponderOnly), + } +} + +func (s *VpnLinkConnectionMode) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseVpnLinkConnectionMode(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseVpnLinkConnectionMode(input string) (*VpnLinkConnectionMode, error) { + vals := map[string]VpnLinkConnectionMode{ + "default": VpnLinkConnectionModeDefault, + "initiatoronly": VpnLinkConnectionModeInitiatorOnly, + "responderonly": VpnLinkConnectionModeResponderOnly, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := VpnLinkConnectionMode(input) + return &out, nil +} + +type VpnNatRuleMode string + +const ( + VpnNatRuleModeEgressSnat VpnNatRuleMode = "EgressSnat" + VpnNatRuleModeIngressSnat VpnNatRuleMode = "IngressSnat" +) + +func PossibleValuesForVpnNatRuleMode() []string { + return []string{ + string(VpnNatRuleModeEgressSnat), + string(VpnNatRuleModeIngressSnat), + } +} + +func (s *VpnNatRuleMode) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseVpnNatRuleMode(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseVpnNatRuleMode(input string) (*VpnNatRuleMode, error) { + vals := map[string]VpnNatRuleMode{ + "egresssnat": VpnNatRuleModeEgressSnat, + "ingresssnat": VpnNatRuleModeIngressSnat, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := VpnNatRuleMode(input) + return &out, nil +} + +type VpnNatRuleType string + +const ( + VpnNatRuleTypeDynamic VpnNatRuleType = "Dynamic" + VpnNatRuleTypeStatic VpnNatRuleType = "Static" +) + +func PossibleValuesForVpnNatRuleType() []string { + return []string{ + string(VpnNatRuleTypeDynamic), + string(VpnNatRuleTypeStatic), + } +} + +func (s *VpnNatRuleType) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseVpnNatRuleType(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseVpnNatRuleType(input string) (*VpnNatRuleType, error) { + vals := map[string]VpnNatRuleType{ + "dynamic": VpnNatRuleTypeDynamic, + "static": VpnNatRuleTypeStatic, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := VpnNatRuleType(input) + return &out, nil +} + +type VpnPolicyMemberAttributeType string + +const ( + VpnPolicyMemberAttributeTypeAADGroupId VpnPolicyMemberAttributeType = "AADGroupId" + VpnPolicyMemberAttributeTypeCertificateGroupId VpnPolicyMemberAttributeType = "CertificateGroupId" + VpnPolicyMemberAttributeTypeRadiusAzureGroupId VpnPolicyMemberAttributeType = "RadiusAzureGroupId" +) + +func PossibleValuesForVpnPolicyMemberAttributeType() []string { + return []string{ + string(VpnPolicyMemberAttributeTypeAADGroupId), + string(VpnPolicyMemberAttributeTypeCertificateGroupId), + string(VpnPolicyMemberAttributeTypeRadiusAzureGroupId), + } +} + +func (s *VpnPolicyMemberAttributeType) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseVpnPolicyMemberAttributeType(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseVpnPolicyMemberAttributeType(input string) (*VpnPolicyMemberAttributeType, error) { + vals := map[string]VpnPolicyMemberAttributeType{ + "aadgroupid": VpnPolicyMemberAttributeTypeAADGroupId, + "certificategroupid": VpnPolicyMemberAttributeTypeCertificateGroupId, + "radiusazuregroupid": VpnPolicyMemberAttributeTypeRadiusAzureGroupId, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := VpnPolicyMemberAttributeType(input) + return &out, nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/id_configurationpolicygroup.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/id_configurationpolicygroup.go new file mode 100644 index 000000000000..058775a50d01 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/id_configurationpolicygroup.go @@ -0,0 +1,139 @@ +package virtualwans + +import ( + "fmt" + "strings" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/recaser" + "github.com/hashicorp/go-azure-helpers/resourcemanager/resourceids" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +func init() { + recaser.RegisterResourceId(&ConfigurationPolicyGroupId{}) +} + +var _ resourceids.ResourceId = &ConfigurationPolicyGroupId{} + +// ConfigurationPolicyGroupId is a struct representing the Resource ID for a Configuration Policy Group +type ConfigurationPolicyGroupId struct { + SubscriptionId string + ResourceGroupName string + VpnServerConfigurationName string + ConfigurationPolicyGroupName string +} + +// NewConfigurationPolicyGroupID returns a new ConfigurationPolicyGroupId struct +func NewConfigurationPolicyGroupID(subscriptionId string, resourceGroupName string, vpnServerConfigurationName string, configurationPolicyGroupName string) ConfigurationPolicyGroupId { + return ConfigurationPolicyGroupId{ + SubscriptionId: subscriptionId, + ResourceGroupName: resourceGroupName, + VpnServerConfigurationName: vpnServerConfigurationName, + ConfigurationPolicyGroupName: configurationPolicyGroupName, + } +} + +// ParseConfigurationPolicyGroupID parses 'input' into a ConfigurationPolicyGroupId +func ParseConfigurationPolicyGroupID(input string) (*ConfigurationPolicyGroupId, error) { + parser := resourceids.NewParserFromResourceIdType(&ConfigurationPolicyGroupId{}) + parsed, err := parser.Parse(input, false) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := ConfigurationPolicyGroupId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +// ParseConfigurationPolicyGroupIDInsensitively parses 'input' case-insensitively into a ConfigurationPolicyGroupId +// note: this method should only be used for API response data and not user input +func ParseConfigurationPolicyGroupIDInsensitively(input string) (*ConfigurationPolicyGroupId, error) { + parser := resourceids.NewParserFromResourceIdType(&ConfigurationPolicyGroupId{}) + parsed, err := parser.Parse(input, true) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := ConfigurationPolicyGroupId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +func (id *ConfigurationPolicyGroupId) FromParseResult(input resourceids.ParseResult) error { + var ok bool + + if id.SubscriptionId, ok = input.Parsed["subscriptionId"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "subscriptionId", input) + } + + if id.ResourceGroupName, ok = input.Parsed["resourceGroupName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "resourceGroupName", input) + } + + if id.VpnServerConfigurationName, ok = input.Parsed["vpnServerConfigurationName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "vpnServerConfigurationName", input) + } + + if id.ConfigurationPolicyGroupName, ok = input.Parsed["configurationPolicyGroupName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "configurationPolicyGroupName", input) + } + + return nil +} + +// ValidateConfigurationPolicyGroupID checks that 'input' can be parsed as a Configuration Policy Group ID +func ValidateConfigurationPolicyGroupID(input interface{}, key string) (warnings []string, errors []error) { + v, ok := input.(string) + if !ok { + errors = append(errors, fmt.Errorf("expected %q to be a string", key)) + return + } + + if _, err := ParseConfigurationPolicyGroupID(v); err != nil { + errors = append(errors, err) + } + + return +} + +// ID returns the formatted Configuration Policy Group ID +func (id ConfigurationPolicyGroupId) ID() string { + fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.Network/vpnServerConfigurations/%s/configurationPolicyGroups/%s" + return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.VpnServerConfigurationName, id.ConfigurationPolicyGroupName) +} + +// Segments returns a slice of Resource ID Segments which comprise this Configuration Policy Group ID +func (id ConfigurationPolicyGroupId) Segments() []resourceids.Segment { + return []resourceids.Segment{ + resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), + resourceids.SubscriptionIdSegment("subscriptionId", "12345678-1234-9876-4563-123456789012"), + resourceids.StaticSegment("staticResourceGroups", "resourceGroups", "resourceGroups"), + resourceids.ResourceGroupSegment("resourceGroupName", "example-resource-group"), + resourceids.StaticSegment("staticProviders", "providers", "providers"), + resourceids.ResourceProviderSegment("staticMicrosoftNetwork", "Microsoft.Network", "Microsoft.Network"), + resourceids.StaticSegment("staticVpnServerConfigurations", "vpnServerConfigurations", "vpnServerConfigurations"), + resourceids.UserSpecifiedSegment("vpnServerConfigurationName", "vpnServerConfigurationName"), + resourceids.StaticSegment("staticConfigurationPolicyGroups", "configurationPolicyGroups", "configurationPolicyGroups"), + resourceids.UserSpecifiedSegment("configurationPolicyGroupName", "configurationPolicyGroupName"), + } +} + +// String returns a human-readable description of this Configuration Policy Group ID +func (id ConfigurationPolicyGroupId) String() string { + components := []string{ + fmt.Sprintf("Subscription: %q", id.SubscriptionId), + fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), + fmt.Sprintf("Vpn Server Configuration Name: %q", id.VpnServerConfigurationName), + fmt.Sprintf("Configuration Policy Group Name: %q", id.ConfigurationPolicyGroupName), + } + return fmt.Sprintf("Configuration Policy Group (%s)", strings.Join(components, "\n")) +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/id_hubroutetable.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/id_hubroutetable.go new file mode 100644 index 000000000000..12d932e8523c --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/id_hubroutetable.go @@ -0,0 +1,139 @@ +package virtualwans + +import ( + "fmt" + "strings" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/recaser" + "github.com/hashicorp/go-azure-helpers/resourcemanager/resourceids" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +func init() { + recaser.RegisterResourceId(&HubRouteTableId{}) +} + +var _ resourceids.ResourceId = &HubRouteTableId{} + +// HubRouteTableId is a struct representing the Resource ID for a Hub Route Table +type HubRouteTableId struct { + SubscriptionId string + ResourceGroupName string + VirtualHubName string + HubRouteTableName string +} + +// NewHubRouteTableID returns a new HubRouteTableId struct +func NewHubRouteTableID(subscriptionId string, resourceGroupName string, virtualHubName string, hubRouteTableName string) HubRouteTableId { + return HubRouteTableId{ + SubscriptionId: subscriptionId, + ResourceGroupName: resourceGroupName, + VirtualHubName: virtualHubName, + HubRouteTableName: hubRouteTableName, + } +} + +// ParseHubRouteTableID parses 'input' into a HubRouteTableId +func ParseHubRouteTableID(input string) (*HubRouteTableId, error) { + parser := resourceids.NewParserFromResourceIdType(&HubRouteTableId{}) + parsed, err := parser.Parse(input, false) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := HubRouteTableId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +// ParseHubRouteTableIDInsensitively parses 'input' case-insensitively into a HubRouteTableId +// note: this method should only be used for API response data and not user input +func ParseHubRouteTableIDInsensitively(input string) (*HubRouteTableId, error) { + parser := resourceids.NewParserFromResourceIdType(&HubRouteTableId{}) + parsed, err := parser.Parse(input, true) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := HubRouteTableId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +func (id *HubRouteTableId) FromParseResult(input resourceids.ParseResult) error { + var ok bool + + if id.SubscriptionId, ok = input.Parsed["subscriptionId"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "subscriptionId", input) + } + + if id.ResourceGroupName, ok = input.Parsed["resourceGroupName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "resourceGroupName", input) + } + + if id.VirtualHubName, ok = input.Parsed["virtualHubName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "virtualHubName", input) + } + + if id.HubRouteTableName, ok = input.Parsed["hubRouteTableName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "hubRouteTableName", input) + } + + return nil +} + +// ValidateHubRouteTableID checks that 'input' can be parsed as a Hub Route Table ID +func ValidateHubRouteTableID(input interface{}, key string) (warnings []string, errors []error) { + v, ok := input.(string) + if !ok { + errors = append(errors, fmt.Errorf("expected %q to be a string", key)) + return + } + + if _, err := ParseHubRouteTableID(v); err != nil { + errors = append(errors, err) + } + + return +} + +// ID returns the formatted Hub Route Table ID +func (id HubRouteTableId) ID() string { + fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.Network/virtualHubs/%s/hubRouteTables/%s" + return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.VirtualHubName, id.HubRouteTableName) +} + +// Segments returns a slice of Resource ID Segments which comprise this Hub Route Table ID +func (id HubRouteTableId) Segments() []resourceids.Segment { + return []resourceids.Segment{ + resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), + resourceids.SubscriptionIdSegment("subscriptionId", "12345678-1234-9876-4563-123456789012"), + resourceids.StaticSegment("staticResourceGroups", "resourceGroups", "resourceGroups"), + resourceids.ResourceGroupSegment("resourceGroupName", "example-resource-group"), + resourceids.StaticSegment("staticProviders", "providers", "providers"), + resourceids.ResourceProviderSegment("staticMicrosoftNetwork", "Microsoft.Network", "Microsoft.Network"), + resourceids.StaticSegment("staticVirtualHubs", "virtualHubs", "virtualHubs"), + resourceids.UserSpecifiedSegment("virtualHubName", "virtualHubName"), + resourceids.StaticSegment("staticHubRouteTables", "hubRouteTables", "hubRouteTables"), + resourceids.UserSpecifiedSegment("hubRouteTableName", "hubRouteTableName"), + } +} + +// String returns a human-readable description of this Hub Route Table ID +func (id HubRouteTableId) String() string { + components := []string{ + fmt.Sprintf("Subscription: %q", id.SubscriptionId), + fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), + fmt.Sprintf("Virtual Hub Name: %q", id.VirtualHubName), + fmt.Sprintf("Hub Route Table Name: %q", id.HubRouteTableName), + } + return fmt.Sprintf("Hub Route Table (%s)", strings.Join(components, "\n")) +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/id_hubvirtualnetworkconnection.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/id_hubvirtualnetworkconnection.go new file mode 100644 index 000000000000..17eee4937ebc --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/id_hubvirtualnetworkconnection.go @@ -0,0 +1,139 @@ +package virtualwans + +import ( + "fmt" + "strings" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/recaser" + "github.com/hashicorp/go-azure-helpers/resourcemanager/resourceids" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +func init() { + recaser.RegisterResourceId(&HubVirtualNetworkConnectionId{}) +} + +var _ resourceids.ResourceId = &HubVirtualNetworkConnectionId{} + +// HubVirtualNetworkConnectionId is a struct representing the Resource ID for a Hub Virtual Network Connection +type HubVirtualNetworkConnectionId struct { + SubscriptionId string + ResourceGroupName string + VirtualHubName string + HubVirtualNetworkConnectionName string +} + +// NewHubVirtualNetworkConnectionID returns a new HubVirtualNetworkConnectionId struct +func NewHubVirtualNetworkConnectionID(subscriptionId string, resourceGroupName string, virtualHubName string, hubVirtualNetworkConnectionName string) HubVirtualNetworkConnectionId { + return HubVirtualNetworkConnectionId{ + SubscriptionId: subscriptionId, + ResourceGroupName: resourceGroupName, + VirtualHubName: virtualHubName, + HubVirtualNetworkConnectionName: hubVirtualNetworkConnectionName, + } +} + +// ParseHubVirtualNetworkConnectionID parses 'input' into a HubVirtualNetworkConnectionId +func ParseHubVirtualNetworkConnectionID(input string) (*HubVirtualNetworkConnectionId, error) { + parser := resourceids.NewParserFromResourceIdType(&HubVirtualNetworkConnectionId{}) + parsed, err := parser.Parse(input, false) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := HubVirtualNetworkConnectionId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +// ParseHubVirtualNetworkConnectionIDInsensitively parses 'input' case-insensitively into a HubVirtualNetworkConnectionId +// note: this method should only be used for API response data and not user input +func ParseHubVirtualNetworkConnectionIDInsensitively(input string) (*HubVirtualNetworkConnectionId, error) { + parser := resourceids.NewParserFromResourceIdType(&HubVirtualNetworkConnectionId{}) + parsed, err := parser.Parse(input, true) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := HubVirtualNetworkConnectionId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +func (id *HubVirtualNetworkConnectionId) FromParseResult(input resourceids.ParseResult) error { + var ok bool + + if id.SubscriptionId, ok = input.Parsed["subscriptionId"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "subscriptionId", input) + } + + if id.ResourceGroupName, ok = input.Parsed["resourceGroupName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "resourceGroupName", input) + } + + if id.VirtualHubName, ok = input.Parsed["virtualHubName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "virtualHubName", input) + } + + if id.HubVirtualNetworkConnectionName, ok = input.Parsed["hubVirtualNetworkConnectionName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "hubVirtualNetworkConnectionName", input) + } + + return nil +} + +// ValidateHubVirtualNetworkConnectionID checks that 'input' can be parsed as a Hub Virtual Network Connection ID +func ValidateHubVirtualNetworkConnectionID(input interface{}, key string) (warnings []string, errors []error) { + v, ok := input.(string) + if !ok { + errors = append(errors, fmt.Errorf("expected %q to be a string", key)) + return + } + + if _, err := ParseHubVirtualNetworkConnectionID(v); err != nil { + errors = append(errors, err) + } + + return +} + +// ID returns the formatted Hub Virtual Network Connection ID +func (id HubVirtualNetworkConnectionId) ID() string { + fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.Network/virtualHubs/%s/hubVirtualNetworkConnections/%s" + return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.VirtualHubName, id.HubVirtualNetworkConnectionName) +} + +// Segments returns a slice of Resource ID Segments which comprise this Hub Virtual Network Connection ID +func (id HubVirtualNetworkConnectionId) Segments() []resourceids.Segment { + return []resourceids.Segment{ + resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), + resourceids.SubscriptionIdSegment("subscriptionId", "12345678-1234-9876-4563-123456789012"), + resourceids.StaticSegment("staticResourceGroups", "resourceGroups", "resourceGroups"), + resourceids.ResourceGroupSegment("resourceGroupName", "example-resource-group"), + resourceids.StaticSegment("staticProviders", "providers", "providers"), + resourceids.ResourceProviderSegment("staticMicrosoftNetwork", "Microsoft.Network", "Microsoft.Network"), + resourceids.StaticSegment("staticVirtualHubs", "virtualHubs", "virtualHubs"), + resourceids.UserSpecifiedSegment("virtualHubName", "virtualHubName"), + resourceids.StaticSegment("staticHubVirtualNetworkConnections", "hubVirtualNetworkConnections", "hubVirtualNetworkConnections"), + resourceids.UserSpecifiedSegment("hubVirtualNetworkConnectionName", "hubVirtualNetworkConnectionName"), + } +} + +// String returns a human-readable description of this Hub Virtual Network Connection ID +func (id HubVirtualNetworkConnectionId) String() string { + components := []string{ + fmt.Sprintf("Subscription: %q", id.SubscriptionId), + fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), + fmt.Sprintf("Virtual Hub Name: %q", id.VirtualHubName), + fmt.Sprintf("Hub Virtual Network Connection Name: %q", id.HubVirtualNetworkConnectionName), + } + return fmt.Sprintf("Hub Virtual Network Connection (%s)", strings.Join(components, "\n")) +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/id_natrule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/id_natrule.go new file mode 100644 index 000000000000..ab096bb8e61f --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/id_natrule.go @@ -0,0 +1,139 @@ +package virtualwans + +import ( + "fmt" + "strings" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/recaser" + "github.com/hashicorp/go-azure-helpers/resourcemanager/resourceids" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +func init() { + recaser.RegisterResourceId(&NatRuleId{}) +} + +var _ resourceids.ResourceId = &NatRuleId{} + +// NatRuleId is a struct representing the Resource ID for a Nat Rule +type NatRuleId struct { + SubscriptionId string + ResourceGroupName string + VpnGatewayName string + NatRuleName string +} + +// NewNatRuleID returns a new NatRuleId struct +func NewNatRuleID(subscriptionId string, resourceGroupName string, vpnGatewayName string, natRuleName string) NatRuleId { + return NatRuleId{ + SubscriptionId: subscriptionId, + ResourceGroupName: resourceGroupName, + VpnGatewayName: vpnGatewayName, + NatRuleName: natRuleName, + } +} + +// ParseNatRuleID parses 'input' into a NatRuleId +func ParseNatRuleID(input string) (*NatRuleId, error) { + parser := resourceids.NewParserFromResourceIdType(&NatRuleId{}) + parsed, err := parser.Parse(input, false) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := NatRuleId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +// ParseNatRuleIDInsensitively parses 'input' case-insensitively into a NatRuleId +// note: this method should only be used for API response data and not user input +func ParseNatRuleIDInsensitively(input string) (*NatRuleId, error) { + parser := resourceids.NewParserFromResourceIdType(&NatRuleId{}) + parsed, err := parser.Parse(input, true) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := NatRuleId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +func (id *NatRuleId) FromParseResult(input resourceids.ParseResult) error { + var ok bool + + if id.SubscriptionId, ok = input.Parsed["subscriptionId"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "subscriptionId", input) + } + + if id.ResourceGroupName, ok = input.Parsed["resourceGroupName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "resourceGroupName", input) + } + + if id.VpnGatewayName, ok = input.Parsed["vpnGatewayName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "vpnGatewayName", input) + } + + if id.NatRuleName, ok = input.Parsed["natRuleName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "natRuleName", input) + } + + return nil +} + +// ValidateNatRuleID checks that 'input' can be parsed as a Nat Rule ID +func ValidateNatRuleID(input interface{}, key string) (warnings []string, errors []error) { + v, ok := input.(string) + if !ok { + errors = append(errors, fmt.Errorf("expected %q to be a string", key)) + return + } + + if _, err := ParseNatRuleID(v); err != nil { + errors = append(errors, err) + } + + return +} + +// ID returns the formatted Nat Rule ID +func (id NatRuleId) ID() string { + fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.Network/vpnGateways/%s/natRules/%s" + return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.VpnGatewayName, id.NatRuleName) +} + +// Segments returns a slice of Resource ID Segments which comprise this Nat Rule ID +func (id NatRuleId) Segments() []resourceids.Segment { + return []resourceids.Segment{ + resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), + resourceids.SubscriptionIdSegment("subscriptionId", "12345678-1234-9876-4563-123456789012"), + resourceids.StaticSegment("staticResourceGroups", "resourceGroups", "resourceGroups"), + resourceids.ResourceGroupSegment("resourceGroupName", "example-resource-group"), + resourceids.StaticSegment("staticProviders", "providers", "providers"), + resourceids.ResourceProviderSegment("staticMicrosoftNetwork", "Microsoft.Network", "Microsoft.Network"), + resourceids.StaticSegment("staticVpnGateways", "vpnGateways", "vpnGateways"), + resourceids.UserSpecifiedSegment("vpnGatewayName", "vpnGatewayName"), + resourceids.StaticSegment("staticNatRules", "natRules", "natRules"), + resourceids.UserSpecifiedSegment("natRuleName", "natRuleName"), + } +} + +// String returns a human-readable description of this Nat Rule ID +func (id NatRuleId) String() string { + components := []string{ + fmt.Sprintf("Subscription: %q", id.SubscriptionId), + fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), + fmt.Sprintf("Vpn Gateway Name: %q", id.VpnGatewayName), + fmt.Sprintf("Nat Rule Name: %q", id.NatRuleName), + } + return fmt.Sprintf("Nat Rule (%s)", strings.Join(components, "\n")) +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/id_networkvirtualappliance.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/id_networkvirtualappliance.go new file mode 100644 index 000000000000..3b7e0a17a90f --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/id_networkvirtualappliance.go @@ -0,0 +1,130 @@ +package virtualwans + +import ( + "fmt" + "strings" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/recaser" + "github.com/hashicorp/go-azure-helpers/resourcemanager/resourceids" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +func init() { + recaser.RegisterResourceId(&NetworkVirtualApplianceId{}) +} + +var _ resourceids.ResourceId = &NetworkVirtualApplianceId{} + +// NetworkVirtualApplianceId is a struct representing the Resource ID for a Network Virtual Appliance +type NetworkVirtualApplianceId struct { + SubscriptionId string + ResourceGroupName string + NetworkVirtualApplianceName string +} + +// NewNetworkVirtualApplianceID returns a new NetworkVirtualApplianceId struct +func NewNetworkVirtualApplianceID(subscriptionId string, resourceGroupName string, networkVirtualApplianceName string) NetworkVirtualApplianceId { + return NetworkVirtualApplianceId{ + SubscriptionId: subscriptionId, + ResourceGroupName: resourceGroupName, + NetworkVirtualApplianceName: networkVirtualApplianceName, + } +} + +// ParseNetworkVirtualApplianceID parses 'input' into a NetworkVirtualApplianceId +func ParseNetworkVirtualApplianceID(input string) (*NetworkVirtualApplianceId, error) { + parser := resourceids.NewParserFromResourceIdType(&NetworkVirtualApplianceId{}) + parsed, err := parser.Parse(input, false) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := NetworkVirtualApplianceId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +// ParseNetworkVirtualApplianceIDInsensitively parses 'input' case-insensitively into a NetworkVirtualApplianceId +// note: this method should only be used for API response data and not user input +func ParseNetworkVirtualApplianceIDInsensitively(input string) (*NetworkVirtualApplianceId, error) { + parser := resourceids.NewParserFromResourceIdType(&NetworkVirtualApplianceId{}) + parsed, err := parser.Parse(input, true) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := NetworkVirtualApplianceId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +func (id *NetworkVirtualApplianceId) FromParseResult(input resourceids.ParseResult) error { + var ok bool + + if id.SubscriptionId, ok = input.Parsed["subscriptionId"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "subscriptionId", input) + } + + if id.ResourceGroupName, ok = input.Parsed["resourceGroupName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "resourceGroupName", input) + } + + if id.NetworkVirtualApplianceName, ok = input.Parsed["networkVirtualApplianceName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "networkVirtualApplianceName", input) + } + + return nil +} + +// ValidateNetworkVirtualApplianceID checks that 'input' can be parsed as a Network Virtual Appliance ID +func ValidateNetworkVirtualApplianceID(input interface{}, key string) (warnings []string, errors []error) { + v, ok := input.(string) + if !ok { + errors = append(errors, fmt.Errorf("expected %q to be a string", key)) + return + } + + if _, err := ParseNetworkVirtualApplianceID(v); err != nil { + errors = append(errors, err) + } + + return +} + +// ID returns the formatted Network Virtual Appliance ID +func (id NetworkVirtualApplianceId) ID() string { + fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.Network/networkVirtualAppliances/%s" + return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.NetworkVirtualApplianceName) +} + +// Segments returns a slice of Resource ID Segments which comprise this Network Virtual Appliance ID +func (id NetworkVirtualApplianceId) Segments() []resourceids.Segment { + return []resourceids.Segment{ + resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), + resourceids.SubscriptionIdSegment("subscriptionId", "12345678-1234-9876-4563-123456789012"), + resourceids.StaticSegment("staticResourceGroups", "resourceGroups", "resourceGroups"), + resourceids.ResourceGroupSegment("resourceGroupName", "example-resource-group"), + resourceids.StaticSegment("staticProviders", "providers", "providers"), + resourceids.ResourceProviderSegment("staticMicrosoftNetwork", "Microsoft.Network", "Microsoft.Network"), + resourceids.StaticSegment("staticNetworkVirtualAppliances", "networkVirtualAppliances", "networkVirtualAppliances"), + resourceids.UserSpecifiedSegment("networkVirtualApplianceName", "networkVirtualApplianceName"), + } +} + +// String returns a human-readable description of this Network Virtual Appliance ID +func (id NetworkVirtualApplianceId) String() string { + components := []string{ + fmt.Sprintf("Subscription: %q", id.SubscriptionId), + fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), + fmt.Sprintf("Network Virtual Appliance Name: %q", id.NetworkVirtualApplianceName), + } + return fmt.Sprintf("Network Virtual Appliance (%s)", strings.Join(components, "\n")) +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/id_networkvirtualapplianceconnection.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/id_networkvirtualapplianceconnection.go new file mode 100644 index 000000000000..fbbc66efaec7 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/id_networkvirtualapplianceconnection.go @@ -0,0 +1,139 @@ +package virtualwans + +import ( + "fmt" + "strings" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/recaser" + "github.com/hashicorp/go-azure-helpers/resourcemanager/resourceids" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +func init() { + recaser.RegisterResourceId(&NetworkVirtualApplianceConnectionId{}) +} + +var _ resourceids.ResourceId = &NetworkVirtualApplianceConnectionId{} + +// NetworkVirtualApplianceConnectionId is a struct representing the Resource ID for a Network Virtual Appliance Connection +type NetworkVirtualApplianceConnectionId struct { + SubscriptionId string + ResourceGroupName string + NetworkVirtualApplianceName string + NetworkVirtualApplianceConnectionName string +} + +// NewNetworkVirtualApplianceConnectionID returns a new NetworkVirtualApplianceConnectionId struct +func NewNetworkVirtualApplianceConnectionID(subscriptionId string, resourceGroupName string, networkVirtualApplianceName string, networkVirtualApplianceConnectionName string) NetworkVirtualApplianceConnectionId { + return NetworkVirtualApplianceConnectionId{ + SubscriptionId: subscriptionId, + ResourceGroupName: resourceGroupName, + NetworkVirtualApplianceName: networkVirtualApplianceName, + NetworkVirtualApplianceConnectionName: networkVirtualApplianceConnectionName, + } +} + +// ParseNetworkVirtualApplianceConnectionID parses 'input' into a NetworkVirtualApplianceConnectionId +func ParseNetworkVirtualApplianceConnectionID(input string) (*NetworkVirtualApplianceConnectionId, error) { + parser := resourceids.NewParserFromResourceIdType(&NetworkVirtualApplianceConnectionId{}) + parsed, err := parser.Parse(input, false) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := NetworkVirtualApplianceConnectionId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +// ParseNetworkVirtualApplianceConnectionIDInsensitively parses 'input' case-insensitively into a NetworkVirtualApplianceConnectionId +// note: this method should only be used for API response data and not user input +func ParseNetworkVirtualApplianceConnectionIDInsensitively(input string) (*NetworkVirtualApplianceConnectionId, error) { + parser := resourceids.NewParserFromResourceIdType(&NetworkVirtualApplianceConnectionId{}) + parsed, err := parser.Parse(input, true) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := NetworkVirtualApplianceConnectionId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +func (id *NetworkVirtualApplianceConnectionId) FromParseResult(input resourceids.ParseResult) error { + var ok bool + + if id.SubscriptionId, ok = input.Parsed["subscriptionId"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "subscriptionId", input) + } + + if id.ResourceGroupName, ok = input.Parsed["resourceGroupName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "resourceGroupName", input) + } + + if id.NetworkVirtualApplianceName, ok = input.Parsed["networkVirtualApplianceName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "networkVirtualApplianceName", input) + } + + if id.NetworkVirtualApplianceConnectionName, ok = input.Parsed["networkVirtualApplianceConnectionName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "networkVirtualApplianceConnectionName", input) + } + + return nil +} + +// ValidateNetworkVirtualApplianceConnectionID checks that 'input' can be parsed as a Network Virtual Appliance Connection ID +func ValidateNetworkVirtualApplianceConnectionID(input interface{}, key string) (warnings []string, errors []error) { + v, ok := input.(string) + if !ok { + errors = append(errors, fmt.Errorf("expected %q to be a string", key)) + return + } + + if _, err := ParseNetworkVirtualApplianceConnectionID(v); err != nil { + errors = append(errors, err) + } + + return +} + +// ID returns the formatted Network Virtual Appliance Connection ID +func (id NetworkVirtualApplianceConnectionId) ID() string { + fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.Network/networkVirtualAppliances/%s/networkVirtualApplianceConnections/%s" + return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.NetworkVirtualApplianceName, id.NetworkVirtualApplianceConnectionName) +} + +// Segments returns a slice of Resource ID Segments which comprise this Network Virtual Appliance Connection ID +func (id NetworkVirtualApplianceConnectionId) Segments() []resourceids.Segment { + return []resourceids.Segment{ + resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), + resourceids.SubscriptionIdSegment("subscriptionId", "12345678-1234-9876-4563-123456789012"), + resourceids.StaticSegment("staticResourceGroups", "resourceGroups", "resourceGroups"), + resourceids.ResourceGroupSegment("resourceGroupName", "example-resource-group"), + resourceids.StaticSegment("staticProviders", "providers", "providers"), + resourceids.ResourceProviderSegment("staticMicrosoftNetwork", "Microsoft.Network", "Microsoft.Network"), + resourceids.StaticSegment("staticNetworkVirtualAppliances", "networkVirtualAppliances", "networkVirtualAppliances"), + resourceids.UserSpecifiedSegment("networkVirtualApplianceName", "networkVirtualApplianceName"), + resourceids.StaticSegment("staticNetworkVirtualApplianceConnections", "networkVirtualApplianceConnections", "networkVirtualApplianceConnections"), + resourceids.UserSpecifiedSegment("networkVirtualApplianceConnectionName", "networkVirtualApplianceConnectionName"), + } +} + +// String returns a human-readable description of this Network Virtual Appliance Connection ID +func (id NetworkVirtualApplianceConnectionId) String() string { + components := []string{ + fmt.Sprintf("Subscription: %q", id.SubscriptionId), + fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), + fmt.Sprintf("Network Virtual Appliance Name: %q", id.NetworkVirtualApplianceName), + fmt.Sprintf("Network Virtual Appliance Connection Name: %q", id.NetworkVirtualApplianceConnectionName), + } + return fmt.Sprintf("Network Virtual Appliance Connection (%s)", strings.Join(components, "\n")) +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/id_routemap.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/id_routemap.go new file mode 100644 index 000000000000..cf9525f1046b --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/id_routemap.go @@ -0,0 +1,139 @@ +package virtualwans + +import ( + "fmt" + "strings" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/recaser" + "github.com/hashicorp/go-azure-helpers/resourcemanager/resourceids" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +func init() { + recaser.RegisterResourceId(&RouteMapId{}) +} + +var _ resourceids.ResourceId = &RouteMapId{} + +// RouteMapId is a struct representing the Resource ID for a Route Map +type RouteMapId struct { + SubscriptionId string + ResourceGroupName string + VirtualHubName string + RouteMapName string +} + +// NewRouteMapID returns a new RouteMapId struct +func NewRouteMapID(subscriptionId string, resourceGroupName string, virtualHubName string, routeMapName string) RouteMapId { + return RouteMapId{ + SubscriptionId: subscriptionId, + ResourceGroupName: resourceGroupName, + VirtualHubName: virtualHubName, + RouteMapName: routeMapName, + } +} + +// ParseRouteMapID parses 'input' into a RouteMapId +func ParseRouteMapID(input string) (*RouteMapId, error) { + parser := resourceids.NewParserFromResourceIdType(&RouteMapId{}) + parsed, err := parser.Parse(input, false) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := RouteMapId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +// ParseRouteMapIDInsensitively parses 'input' case-insensitively into a RouteMapId +// note: this method should only be used for API response data and not user input +func ParseRouteMapIDInsensitively(input string) (*RouteMapId, error) { + parser := resourceids.NewParserFromResourceIdType(&RouteMapId{}) + parsed, err := parser.Parse(input, true) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := RouteMapId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +func (id *RouteMapId) FromParseResult(input resourceids.ParseResult) error { + var ok bool + + if id.SubscriptionId, ok = input.Parsed["subscriptionId"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "subscriptionId", input) + } + + if id.ResourceGroupName, ok = input.Parsed["resourceGroupName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "resourceGroupName", input) + } + + if id.VirtualHubName, ok = input.Parsed["virtualHubName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "virtualHubName", input) + } + + if id.RouteMapName, ok = input.Parsed["routeMapName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "routeMapName", input) + } + + return nil +} + +// ValidateRouteMapID checks that 'input' can be parsed as a Route Map ID +func ValidateRouteMapID(input interface{}, key string) (warnings []string, errors []error) { + v, ok := input.(string) + if !ok { + errors = append(errors, fmt.Errorf("expected %q to be a string", key)) + return + } + + if _, err := ParseRouteMapID(v); err != nil { + errors = append(errors, err) + } + + return +} + +// ID returns the formatted Route Map ID +func (id RouteMapId) ID() string { + fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.Network/virtualHubs/%s/routeMaps/%s" + return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.VirtualHubName, id.RouteMapName) +} + +// Segments returns a slice of Resource ID Segments which comprise this Route Map ID +func (id RouteMapId) Segments() []resourceids.Segment { + return []resourceids.Segment{ + resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), + resourceids.SubscriptionIdSegment("subscriptionId", "12345678-1234-9876-4563-123456789012"), + resourceids.StaticSegment("staticResourceGroups", "resourceGroups", "resourceGroups"), + resourceids.ResourceGroupSegment("resourceGroupName", "example-resource-group"), + resourceids.StaticSegment("staticProviders", "providers", "providers"), + resourceids.ResourceProviderSegment("staticMicrosoftNetwork", "Microsoft.Network", "Microsoft.Network"), + resourceids.StaticSegment("staticVirtualHubs", "virtualHubs", "virtualHubs"), + resourceids.UserSpecifiedSegment("virtualHubName", "virtualHubName"), + resourceids.StaticSegment("staticRouteMaps", "routeMaps", "routeMaps"), + resourceids.UserSpecifiedSegment("routeMapName", "routeMapName"), + } +} + +// String returns a human-readable description of this Route Map ID +func (id RouteMapId) String() string { + components := []string{ + fmt.Sprintf("Subscription: %q", id.SubscriptionId), + fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), + fmt.Sprintf("Virtual Hub Name: %q", id.VirtualHubName), + fmt.Sprintf("Route Map Name: %q", id.RouteMapName), + } + return fmt.Sprintf("Route Map (%s)", strings.Join(components, "\n")) +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/id_routingintent.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/id_routingintent.go new file mode 100644 index 000000000000..cb05e57eb4ce --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/id_routingintent.go @@ -0,0 +1,139 @@ +package virtualwans + +import ( + "fmt" + "strings" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/recaser" + "github.com/hashicorp/go-azure-helpers/resourcemanager/resourceids" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +func init() { + recaser.RegisterResourceId(&RoutingIntentId{}) +} + +var _ resourceids.ResourceId = &RoutingIntentId{} + +// RoutingIntentId is a struct representing the Resource ID for a Routing Intent +type RoutingIntentId struct { + SubscriptionId string + ResourceGroupName string + VirtualHubName string + RoutingIntentName string +} + +// NewRoutingIntentID returns a new RoutingIntentId struct +func NewRoutingIntentID(subscriptionId string, resourceGroupName string, virtualHubName string, routingIntentName string) RoutingIntentId { + return RoutingIntentId{ + SubscriptionId: subscriptionId, + ResourceGroupName: resourceGroupName, + VirtualHubName: virtualHubName, + RoutingIntentName: routingIntentName, + } +} + +// ParseRoutingIntentID parses 'input' into a RoutingIntentId +func ParseRoutingIntentID(input string) (*RoutingIntentId, error) { + parser := resourceids.NewParserFromResourceIdType(&RoutingIntentId{}) + parsed, err := parser.Parse(input, false) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := RoutingIntentId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +// ParseRoutingIntentIDInsensitively parses 'input' case-insensitively into a RoutingIntentId +// note: this method should only be used for API response data and not user input +func ParseRoutingIntentIDInsensitively(input string) (*RoutingIntentId, error) { + parser := resourceids.NewParserFromResourceIdType(&RoutingIntentId{}) + parsed, err := parser.Parse(input, true) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := RoutingIntentId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +func (id *RoutingIntentId) FromParseResult(input resourceids.ParseResult) error { + var ok bool + + if id.SubscriptionId, ok = input.Parsed["subscriptionId"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "subscriptionId", input) + } + + if id.ResourceGroupName, ok = input.Parsed["resourceGroupName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "resourceGroupName", input) + } + + if id.VirtualHubName, ok = input.Parsed["virtualHubName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "virtualHubName", input) + } + + if id.RoutingIntentName, ok = input.Parsed["routingIntentName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "routingIntentName", input) + } + + return nil +} + +// ValidateRoutingIntentID checks that 'input' can be parsed as a Routing Intent ID +func ValidateRoutingIntentID(input interface{}, key string) (warnings []string, errors []error) { + v, ok := input.(string) + if !ok { + errors = append(errors, fmt.Errorf("expected %q to be a string", key)) + return + } + + if _, err := ParseRoutingIntentID(v); err != nil { + errors = append(errors, err) + } + + return +} + +// ID returns the formatted Routing Intent ID +func (id RoutingIntentId) ID() string { + fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.Network/virtualHubs/%s/routingIntent/%s" + return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.VirtualHubName, id.RoutingIntentName) +} + +// Segments returns a slice of Resource ID Segments which comprise this Routing Intent ID +func (id RoutingIntentId) Segments() []resourceids.Segment { + return []resourceids.Segment{ + resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), + resourceids.SubscriptionIdSegment("subscriptionId", "12345678-1234-9876-4563-123456789012"), + resourceids.StaticSegment("staticResourceGroups", "resourceGroups", "resourceGroups"), + resourceids.ResourceGroupSegment("resourceGroupName", "example-resource-group"), + resourceids.StaticSegment("staticProviders", "providers", "providers"), + resourceids.ResourceProviderSegment("staticMicrosoftNetwork", "Microsoft.Network", "Microsoft.Network"), + resourceids.StaticSegment("staticVirtualHubs", "virtualHubs", "virtualHubs"), + resourceids.UserSpecifiedSegment("virtualHubName", "virtualHubName"), + resourceids.StaticSegment("staticRoutingIntent", "routingIntent", "routingIntent"), + resourceids.UserSpecifiedSegment("routingIntentName", "routingIntentName"), + } +} + +// String returns a human-readable description of this Routing Intent ID +func (id RoutingIntentId) String() string { + components := []string{ + fmt.Sprintf("Subscription: %q", id.SubscriptionId), + fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), + fmt.Sprintf("Virtual Hub Name: %q", id.VirtualHubName), + fmt.Sprintf("Routing Intent Name: %q", id.RoutingIntentName), + } + return fmt.Sprintf("Routing Intent (%s)", strings.Join(components, "\n")) +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/id_virtualhub.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/id_virtualhub.go new file mode 100644 index 000000000000..b406438486cf --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/id_virtualhub.go @@ -0,0 +1,130 @@ +package virtualwans + +import ( + "fmt" + "strings" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/recaser" + "github.com/hashicorp/go-azure-helpers/resourcemanager/resourceids" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +func init() { + recaser.RegisterResourceId(&VirtualHubId{}) +} + +var _ resourceids.ResourceId = &VirtualHubId{} + +// VirtualHubId is a struct representing the Resource ID for a Virtual Hub +type VirtualHubId struct { + SubscriptionId string + ResourceGroupName string + VirtualHubName string +} + +// NewVirtualHubID returns a new VirtualHubId struct +func NewVirtualHubID(subscriptionId string, resourceGroupName string, virtualHubName string) VirtualHubId { + return VirtualHubId{ + SubscriptionId: subscriptionId, + ResourceGroupName: resourceGroupName, + VirtualHubName: virtualHubName, + } +} + +// ParseVirtualHubID parses 'input' into a VirtualHubId +func ParseVirtualHubID(input string) (*VirtualHubId, error) { + parser := resourceids.NewParserFromResourceIdType(&VirtualHubId{}) + parsed, err := parser.Parse(input, false) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := VirtualHubId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +// ParseVirtualHubIDInsensitively parses 'input' case-insensitively into a VirtualHubId +// note: this method should only be used for API response data and not user input +func ParseVirtualHubIDInsensitively(input string) (*VirtualHubId, error) { + parser := resourceids.NewParserFromResourceIdType(&VirtualHubId{}) + parsed, err := parser.Parse(input, true) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := VirtualHubId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +func (id *VirtualHubId) FromParseResult(input resourceids.ParseResult) error { + var ok bool + + if id.SubscriptionId, ok = input.Parsed["subscriptionId"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "subscriptionId", input) + } + + if id.ResourceGroupName, ok = input.Parsed["resourceGroupName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "resourceGroupName", input) + } + + if id.VirtualHubName, ok = input.Parsed["virtualHubName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "virtualHubName", input) + } + + return nil +} + +// ValidateVirtualHubID checks that 'input' can be parsed as a Virtual Hub ID +func ValidateVirtualHubID(input interface{}, key string) (warnings []string, errors []error) { + v, ok := input.(string) + if !ok { + errors = append(errors, fmt.Errorf("expected %q to be a string", key)) + return + } + + if _, err := ParseVirtualHubID(v); err != nil { + errors = append(errors, err) + } + + return +} + +// ID returns the formatted Virtual Hub ID +func (id VirtualHubId) ID() string { + fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.Network/virtualHubs/%s" + return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.VirtualHubName) +} + +// Segments returns a slice of Resource ID Segments which comprise this Virtual Hub ID +func (id VirtualHubId) Segments() []resourceids.Segment { + return []resourceids.Segment{ + resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), + resourceids.SubscriptionIdSegment("subscriptionId", "12345678-1234-9876-4563-123456789012"), + resourceids.StaticSegment("staticResourceGroups", "resourceGroups", "resourceGroups"), + resourceids.ResourceGroupSegment("resourceGroupName", "example-resource-group"), + resourceids.StaticSegment("staticProviders", "providers", "providers"), + resourceids.ResourceProviderSegment("staticMicrosoftNetwork", "Microsoft.Network", "Microsoft.Network"), + resourceids.StaticSegment("staticVirtualHubs", "virtualHubs", "virtualHubs"), + resourceids.UserSpecifiedSegment("virtualHubName", "virtualHubName"), + } +} + +// String returns a human-readable description of this Virtual Hub ID +func (id VirtualHubId) String() string { + components := []string{ + fmt.Sprintf("Subscription: %q", id.SubscriptionId), + fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), + fmt.Sprintf("Virtual Hub Name: %q", id.VirtualHubName), + } + return fmt.Sprintf("Virtual Hub (%s)", strings.Join(components, "\n")) +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/id_virtualhubroutetable.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/id_virtualhubroutetable.go new file mode 100644 index 000000000000..db641540b540 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/id_virtualhubroutetable.go @@ -0,0 +1,139 @@ +package virtualwans + +import ( + "fmt" + "strings" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/recaser" + "github.com/hashicorp/go-azure-helpers/resourcemanager/resourceids" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +func init() { + recaser.RegisterResourceId(&VirtualHubRouteTableId{}) +} + +var _ resourceids.ResourceId = &VirtualHubRouteTableId{} + +// VirtualHubRouteTableId is a struct representing the Resource ID for a Virtual Hub Route Table +type VirtualHubRouteTableId struct { + SubscriptionId string + ResourceGroupName string + VirtualHubName string + RouteTableName string +} + +// NewVirtualHubRouteTableID returns a new VirtualHubRouteTableId struct +func NewVirtualHubRouteTableID(subscriptionId string, resourceGroupName string, virtualHubName string, routeTableName string) VirtualHubRouteTableId { + return VirtualHubRouteTableId{ + SubscriptionId: subscriptionId, + ResourceGroupName: resourceGroupName, + VirtualHubName: virtualHubName, + RouteTableName: routeTableName, + } +} + +// ParseVirtualHubRouteTableID parses 'input' into a VirtualHubRouteTableId +func ParseVirtualHubRouteTableID(input string) (*VirtualHubRouteTableId, error) { + parser := resourceids.NewParserFromResourceIdType(&VirtualHubRouteTableId{}) + parsed, err := parser.Parse(input, false) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := VirtualHubRouteTableId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +// ParseVirtualHubRouteTableIDInsensitively parses 'input' case-insensitively into a VirtualHubRouteTableId +// note: this method should only be used for API response data and not user input +func ParseVirtualHubRouteTableIDInsensitively(input string) (*VirtualHubRouteTableId, error) { + parser := resourceids.NewParserFromResourceIdType(&VirtualHubRouteTableId{}) + parsed, err := parser.Parse(input, true) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := VirtualHubRouteTableId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +func (id *VirtualHubRouteTableId) FromParseResult(input resourceids.ParseResult) error { + var ok bool + + if id.SubscriptionId, ok = input.Parsed["subscriptionId"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "subscriptionId", input) + } + + if id.ResourceGroupName, ok = input.Parsed["resourceGroupName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "resourceGroupName", input) + } + + if id.VirtualHubName, ok = input.Parsed["virtualHubName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "virtualHubName", input) + } + + if id.RouteTableName, ok = input.Parsed["routeTableName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "routeTableName", input) + } + + return nil +} + +// ValidateVirtualHubRouteTableID checks that 'input' can be parsed as a Virtual Hub Route Table ID +func ValidateVirtualHubRouteTableID(input interface{}, key string) (warnings []string, errors []error) { + v, ok := input.(string) + if !ok { + errors = append(errors, fmt.Errorf("expected %q to be a string", key)) + return + } + + if _, err := ParseVirtualHubRouteTableID(v); err != nil { + errors = append(errors, err) + } + + return +} + +// ID returns the formatted Virtual Hub Route Table ID +func (id VirtualHubRouteTableId) ID() string { + fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.Network/virtualHubs/%s/routeTables/%s" + return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.VirtualHubName, id.RouteTableName) +} + +// Segments returns a slice of Resource ID Segments which comprise this Virtual Hub Route Table ID +func (id VirtualHubRouteTableId) Segments() []resourceids.Segment { + return []resourceids.Segment{ + resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), + resourceids.SubscriptionIdSegment("subscriptionId", "12345678-1234-9876-4563-123456789012"), + resourceids.StaticSegment("staticResourceGroups", "resourceGroups", "resourceGroups"), + resourceids.ResourceGroupSegment("resourceGroupName", "example-resource-group"), + resourceids.StaticSegment("staticProviders", "providers", "providers"), + resourceids.ResourceProviderSegment("staticMicrosoftNetwork", "Microsoft.Network", "Microsoft.Network"), + resourceids.StaticSegment("staticVirtualHubs", "virtualHubs", "virtualHubs"), + resourceids.UserSpecifiedSegment("virtualHubName", "virtualHubName"), + resourceids.StaticSegment("staticRouteTables", "routeTables", "routeTables"), + resourceids.UserSpecifiedSegment("routeTableName", "routeTableName"), + } +} + +// String returns a human-readable description of this Virtual Hub Route Table ID +func (id VirtualHubRouteTableId) String() string { + components := []string{ + fmt.Sprintf("Subscription: %q", id.SubscriptionId), + fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), + fmt.Sprintf("Virtual Hub Name: %q", id.VirtualHubName), + fmt.Sprintf("Route Table Name: %q", id.RouteTableName), + } + return fmt.Sprintf("Virtual Hub Route Table (%s)", strings.Join(components, "\n")) +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/id_virtualwan.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/id_virtualwan.go new file mode 100644 index 000000000000..fa94d154c26d --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/id_virtualwan.go @@ -0,0 +1,130 @@ +package virtualwans + +import ( + "fmt" + "strings" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/recaser" + "github.com/hashicorp/go-azure-helpers/resourcemanager/resourceids" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +func init() { + recaser.RegisterResourceId(&VirtualWANId{}) +} + +var _ resourceids.ResourceId = &VirtualWANId{} + +// VirtualWANId is a struct representing the Resource ID for a Virtual W A N +type VirtualWANId struct { + SubscriptionId string + ResourceGroupName string + VirtualWanName string +} + +// NewVirtualWANID returns a new VirtualWANId struct +func NewVirtualWANID(subscriptionId string, resourceGroupName string, virtualWanName string) VirtualWANId { + return VirtualWANId{ + SubscriptionId: subscriptionId, + ResourceGroupName: resourceGroupName, + VirtualWanName: virtualWanName, + } +} + +// ParseVirtualWANID parses 'input' into a VirtualWANId +func ParseVirtualWANID(input string) (*VirtualWANId, error) { + parser := resourceids.NewParserFromResourceIdType(&VirtualWANId{}) + parsed, err := parser.Parse(input, false) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := VirtualWANId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +// ParseVirtualWANIDInsensitively parses 'input' case-insensitively into a VirtualWANId +// note: this method should only be used for API response data and not user input +func ParseVirtualWANIDInsensitively(input string) (*VirtualWANId, error) { + parser := resourceids.NewParserFromResourceIdType(&VirtualWANId{}) + parsed, err := parser.Parse(input, true) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := VirtualWANId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +func (id *VirtualWANId) FromParseResult(input resourceids.ParseResult) error { + var ok bool + + if id.SubscriptionId, ok = input.Parsed["subscriptionId"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "subscriptionId", input) + } + + if id.ResourceGroupName, ok = input.Parsed["resourceGroupName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "resourceGroupName", input) + } + + if id.VirtualWanName, ok = input.Parsed["virtualWanName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "virtualWanName", input) + } + + return nil +} + +// ValidateVirtualWANID checks that 'input' can be parsed as a Virtual W A N ID +func ValidateVirtualWANID(input interface{}, key string) (warnings []string, errors []error) { + v, ok := input.(string) + if !ok { + errors = append(errors, fmt.Errorf("expected %q to be a string", key)) + return + } + + if _, err := ParseVirtualWANID(v); err != nil { + errors = append(errors, err) + } + + return +} + +// ID returns the formatted Virtual W A N ID +func (id VirtualWANId) ID() string { + fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.Network/virtualWans/%s" + return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.VirtualWanName) +} + +// Segments returns a slice of Resource ID Segments which comprise this Virtual W A N ID +func (id VirtualWANId) Segments() []resourceids.Segment { + return []resourceids.Segment{ + resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), + resourceids.SubscriptionIdSegment("subscriptionId", "12345678-1234-9876-4563-123456789012"), + resourceids.StaticSegment("staticResourceGroups", "resourceGroups", "resourceGroups"), + resourceids.ResourceGroupSegment("resourceGroupName", "example-resource-group"), + resourceids.StaticSegment("staticProviders", "providers", "providers"), + resourceids.ResourceProviderSegment("staticMicrosoftNetwork", "Microsoft.Network", "Microsoft.Network"), + resourceids.StaticSegment("staticVirtualWans", "virtualWans", "virtualWans"), + resourceids.UserSpecifiedSegment("virtualWanName", "virtualWanName"), + } +} + +// String returns a human-readable description of this Virtual W A N ID +func (id VirtualWANId) String() string { + components := []string{ + fmt.Sprintf("Subscription: %q", id.SubscriptionId), + fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), + fmt.Sprintf("Virtual Wan Name: %q", id.VirtualWanName), + } + return fmt.Sprintf("Virtual W A N (%s)", strings.Join(components, "\n")) +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/id_vpngateway.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/id_vpngateway.go new file mode 100644 index 000000000000..4aac85c0d136 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/id_vpngateway.go @@ -0,0 +1,130 @@ +package virtualwans + +import ( + "fmt" + "strings" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/recaser" + "github.com/hashicorp/go-azure-helpers/resourcemanager/resourceids" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +func init() { + recaser.RegisterResourceId(&VpnGatewayId{}) +} + +var _ resourceids.ResourceId = &VpnGatewayId{} + +// VpnGatewayId is a struct representing the Resource ID for a Vpn Gateway +type VpnGatewayId struct { + SubscriptionId string + ResourceGroupName string + VpnGatewayName string +} + +// NewVpnGatewayID returns a new VpnGatewayId struct +func NewVpnGatewayID(subscriptionId string, resourceGroupName string, vpnGatewayName string) VpnGatewayId { + return VpnGatewayId{ + SubscriptionId: subscriptionId, + ResourceGroupName: resourceGroupName, + VpnGatewayName: vpnGatewayName, + } +} + +// ParseVpnGatewayID parses 'input' into a VpnGatewayId +func ParseVpnGatewayID(input string) (*VpnGatewayId, error) { + parser := resourceids.NewParserFromResourceIdType(&VpnGatewayId{}) + parsed, err := parser.Parse(input, false) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := VpnGatewayId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +// ParseVpnGatewayIDInsensitively parses 'input' case-insensitively into a VpnGatewayId +// note: this method should only be used for API response data and not user input +func ParseVpnGatewayIDInsensitively(input string) (*VpnGatewayId, error) { + parser := resourceids.NewParserFromResourceIdType(&VpnGatewayId{}) + parsed, err := parser.Parse(input, true) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := VpnGatewayId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +func (id *VpnGatewayId) FromParseResult(input resourceids.ParseResult) error { + var ok bool + + if id.SubscriptionId, ok = input.Parsed["subscriptionId"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "subscriptionId", input) + } + + if id.ResourceGroupName, ok = input.Parsed["resourceGroupName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "resourceGroupName", input) + } + + if id.VpnGatewayName, ok = input.Parsed["vpnGatewayName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "vpnGatewayName", input) + } + + return nil +} + +// ValidateVpnGatewayID checks that 'input' can be parsed as a Vpn Gateway ID +func ValidateVpnGatewayID(input interface{}, key string) (warnings []string, errors []error) { + v, ok := input.(string) + if !ok { + errors = append(errors, fmt.Errorf("expected %q to be a string", key)) + return + } + + if _, err := ParseVpnGatewayID(v); err != nil { + errors = append(errors, err) + } + + return +} + +// ID returns the formatted Vpn Gateway ID +func (id VpnGatewayId) ID() string { + fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.Network/vpnGateways/%s" + return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.VpnGatewayName) +} + +// Segments returns a slice of Resource ID Segments which comprise this Vpn Gateway ID +func (id VpnGatewayId) Segments() []resourceids.Segment { + return []resourceids.Segment{ + resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), + resourceids.SubscriptionIdSegment("subscriptionId", "12345678-1234-9876-4563-123456789012"), + resourceids.StaticSegment("staticResourceGroups", "resourceGroups", "resourceGroups"), + resourceids.ResourceGroupSegment("resourceGroupName", "example-resource-group"), + resourceids.StaticSegment("staticProviders", "providers", "providers"), + resourceids.ResourceProviderSegment("staticMicrosoftNetwork", "Microsoft.Network", "Microsoft.Network"), + resourceids.StaticSegment("staticVpnGateways", "vpnGateways", "vpnGateways"), + resourceids.UserSpecifiedSegment("vpnGatewayName", "vpnGatewayName"), + } +} + +// String returns a human-readable description of this Vpn Gateway ID +func (id VpnGatewayId) String() string { + components := []string{ + fmt.Sprintf("Subscription: %q", id.SubscriptionId), + fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), + fmt.Sprintf("Vpn Gateway Name: %q", id.VpnGatewayName), + } + return fmt.Sprintf("Vpn Gateway (%s)", strings.Join(components, "\n")) +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/id_vpnlinkconnection.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/id_vpnlinkconnection.go new file mode 100644 index 000000000000..98326bfe8428 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/id_vpnlinkconnection.go @@ -0,0 +1,148 @@ +package virtualwans + +import ( + "fmt" + "strings" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/recaser" + "github.com/hashicorp/go-azure-helpers/resourcemanager/resourceids" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +func init() { + recaser.RegisterResourceId(&VpnLinkConnectionId{}) +} + +var _ resourceids.ResourceId = &VpnLinkConnectionId{} + +// VpnLinkConnectionId is a struct representing the Resource ID for a Vpn Link Connection +type VpnLinkConnectionId struct { + SubscriptionId string + ResourceGroupName string + VpnGatewayName string + VpnConnectionName string + VpnLinkConnectionName string +} + +// NewVpnLinkConnectionID returns a new VpnLinkConnectionId struct +func NewVpnLinkConnectionID(subscriptionId string, resourceGroupName string, vpnGatewayName string, vpnConnectionName string, vpnLinkConnectionName string) VpnLinkConnectionId { + return VpnLinkConnectionId{ + SubscriptionId: subscriptionId, + ResourceGroupName: resourceGroupName, + VpnGatewayName: vpnGatewayName, + VpnConnectionName: vpnConnectionName, + VpnLinkConnectionName: vpnLinkConnectionName, + } +} + +// ParseVpnLinkConnectionID parses 'input' into a VpnLinkConnectionId +func ParseVpnLinkConnectionID(input string) (*VpnLinkConnectionId, error) { + parser := resourceids.NewParserFromResourceIdType(&VpnLinkConnectionId{}) + parsed, err := parser.Parse(input, false) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := VpnLinkConnectionId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +// ParseVpnLinkConnectionIDInsensitively parses 'input' case-insensitively into a VpnLinkConnectionId +// note: this method should only be used for API response data and not user input +func ParseVpnLinkConnectionIDInsensitively(input string) (*VpnLinkConnectionId, error) { + parser := resourceids.NewParserFromResourceIdType(&VpnLinkConnectionId{}) + parsed, err := parser.Parse(input, true) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := VpnLinkConnectionId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +func (id *VpnLinkConnectionId) FromParseResult(input resourceids.ParseResult) error { + var ok bool + + if id.SubscriptionId, ok = input.Parsed["subscriptionId"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "subscriptionId", input) + } + + if id.ResourceGroupName, ok = input.Parsed["resourceGroupName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "resourceGroupName", input) + } + + if id.VpnGatewayName, ok = input.Parsed["vpnGatewayName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "vpnGatewayName", input) + } + + if id.VpnConnectionName, ok = input.Parsed["vpnConnectionName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "vpnConnectionName", input) + } + + if id.VpnLinkConnectionName, ok = input.Parsed["vpnLinkConnectionName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "vpnLinkConnectionName", input) + } + + return nil +} + +// ValidateVpnLinkConnectionID checks that 'input' can be parsed as a Vpn Link Connection ID +func ValidateVpnLinkConnectionID(input interface{}, key string) (warnings []string, errors []error) { + v, ok := input.(string) + if !ok { + errors = append(errors, fmt.Errorf("expected %q to be a string", key)) + return + } + + if _, err := ParseVpnLinkConnectionID(v); err != nil { + errors = append(errors, err) + } + + return +} + +// ID returns the formatted Vpn Link Connection ID +func (id VpnLinkConnectionId) ID() string { + fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.Network/vpnGateways/%s/vpnConnections/%s/vpnLinkConnections/%s" + return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.VpnGatewayName, id.VpnConnectionName, id.VpnLinkConnectionName) +} + +// Segments returns a slice of Resource ID Segments which comprise this Vpn Link Connection ID +func (id VpnLinkConnectionId) Segments() []resourceids.Segment { + return []resourceids.Segment{ + resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), + resourceids.SubscriptionIdSegment("subscriptionId", "12345678-1234-9876-4563-123456789012"), + resourceids.StaticSegment("staticResourceGroups", "resourceGroups", "resourceGroups"), + resourceids.ResourceGroupSegment("resourceGroupName", "example-resource-group"), + resourceids.StaticSegment("staticProviders", "providers", "providers"), + resourceids.ResourceProviderSegment("staticMicrosoftNetwork", "Microsoft.Network", "Microsoft.Network"), + resourceids.StaticSegment("staticVpnGateways", "vpnGateways", "vpnGateways"), + resourceids.UserSpecifiedSegment("vpnGatewayName", "vpnGatewayName"), + resourceids.StaticSegment("staticVpnConnections", "vpnConnections", "vpnConnections"), + resourceids.UserSpecifiedSegment("vpnConnectionName", "vpnConnectionName"), + resourceids.StaticSegment("staticVpnLinkConnections", "vpnLinkConnections", "vpnLinkConnections"), + resourceids.UserSpecifiedSegment("vpnLinkConnectionName", "vpnLinkConnectionName"), + } +} + +// String returns a human-readable description of this Vpn Link Connection ID +func (id VpnLinkConnectionId) String() string { + components := []string{ + fmt.Sprintf("Subscription: %q", id.SubscriptionId), + fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), + fmt.Sprintf("Vpn Gateway Name: %q", id.VpnGatewayName), + fmt.Sprintf("Vpn Connection Name: %q", id.VpnConnectionName), + fmt.Sprintf("Vpn Link Connection Name: %q", id.VpnLinkConnectionName), + } + return fmt.Sprintf("Vpn Link Connection (%s)", strings.Join(components, "\n")) +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/id_vpnserverconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/id_vpnserverconfiguration.go new file mode 100644 index 000000000000..641107f1430f --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/id_vpnserverconfiguration.go @@ -0,0 +1,130 @@ +package virtualwans + +import ( + "fmt" + "strings" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/recaser" + "github.com/hashicorp/go-azure-helpers/resourcemanager/resourceids" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +func init() { + recaser.RegisterResourceId(&VpnServerConfigurationId{}) +} + +var _ resourceids.ResourceId = &VpnServerConfigurationId{} + +// VpnServerConfigurationId is a struct representing the Resource ID for a Vpn Server Configuration +type VpnServerConfigurationId struct { + SubscriptionId string + ResourceGroupName string + VpnServerConfigurationName string +} + +// NewVpnServerConfigurationID returns a new VpnServerConfigurationId struct +func NewVpnServerConfigurationID(subscriptionId string, resourceGroupName string, vpnServerConfigurationName string) VpnServerConfigurationId { + return VpnServerConfigurationId{ + SubscriptionId: subscriptionId, + ResourceGroupName: resourceGroupName, + VpnServerConfigurationName: vpnServerConfigurationName, + } +} + +// ParseVpnServerConfigurationID parses 'input' into a VpnServerConfigurationId +func ParseVpnServerConfigurationID(input string) (*VpnServerConfigurationId, error) { + parser := resourceids.NewParserFromResourceIdType(&VpnServerConfigurationId{}) + parsed, err := parser.Parse(input, false) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := VpnServerConfigurationId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +// ParseVpnServerConfigurationIDInsensitively parses 'input' case-insensitively into a VpnServerConfigurationId +// note: this method should only be used for API response data and not user input +func ParseVpnServerConfigurationIDInsensitively(input string) (*VpnServerConfigurationId, error) { + parser := resourceids.NewParserFromResourceIdType(&VpnServerConfigurationId{}) + parsed, err := parser.Parse(input, true) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := VpnServerConfigurationId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +func (id *VpnServerConfigurationId) FromParseResult(input resourceids.ParseResult) error { + var ok bool + + if id.SubscriptionId, ok = input.Parsed["subscriptionId"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "subscriptionId", input) + } + + if id.ResourceGroupName, ok = input.Parsed["resourceGroupName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "resourceGroupName", input) + } + + if id.VpnServerConfigurationName, ok = input.Parsed["vpnServerConfigurationName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "vpnServerConfigurationName", input) + } + + return nil +} + +// ValidateVpnServerConfigurationID checks that 'input' can be parsed as a Vpn Server Configuration ID +func ValidateVpnServerConfigurationID(input interface{}, key string) (warnings []string, errors []error) { + v, ok := input.(string) + if !ok { + errors = append(errors, fmt.Errorf("expected %q to be a string", key)) + return + } + + if _, err := ParseVpnServerConfigurationID(v); err != nil { + errors = append(errors, err) + } + + return +} + +// ID returns the formatted Vpn Server Configuration ID +func (id VpnServerConfigurationId) ID() string { + fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.Network/vpnServerConfigurations/%s" + return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.VpnServerConfigurationName) +} + +// Segments returns a slice of Resource ID Segments which comprise this Vpn Server Configuration ID +func (id VpnServerConfigurationId) Segments() []resourceids.Segment { + return []resourceids.Segment{ + resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), + resourceids.SubscriptionIdSegment("subscriptionId", "12345678-1234-9876-4563-123456789012"), + resourceids.StaticSegment("staticResourceGroups", "resourceGroups", "resourceGroups"), + resourceids.ResourceGroupSegment("resourceGroupName", "example-resource-group"), + resourceids.StaticSegment("staticProviders", "providers", "providers"), + resourceids.ResourceProviderSegment("staticMicrosoftNetwork", "Microsoft.Network", "Microsoft.Network"), + resourceids.StaticSegment("staticVpnServerConfigurations", "vpnServerConfigurations", "vpnServerConfigurations"), + resourceids.UserSpecifiedSegment("vpnServerConfigurationName", "vpnServerConfigurationName"), + } +} + +// String returns a human-readable description of this Vpn Server Configuration ID +func (id VpnServerConfigurationId) String() string { + components := []string{ + fmt.Sprintf("Subscription: %q", id.SubscriptionId), + fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), + fmt.Sprintf("Vpn Server Configuration Name: %q", id.VpnServerConfigurationName), + } + return fmt.Sprintf("Vpn Server Configuration (%s)", strings.Join(components, "\n")) +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/id_vpnsite.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/id_vpnsite.go new file mode 100644 index 000000000000..241994cde17e --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/id_vpnsite.go @@ -0,0 +1,130 @@ +package virtualwans + +import ( + "fmt" + "strings" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/recaser" + "github.com/hashicorp/go-azure-helpers/resourcemanager/resourceids" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +func init() { + recaser.RegisterResourceId(&VpnSiteId{}) +} + +var _ resourceids.ResourceId = &VpnSiteId{} + +// VpnSiteId is a struct representing the Resource ID for a Vpn Site +type VpnSiteId struct { + SubscriptionId string + ResourceGroupName string + VpnSiteName string +} + +// NewVpnSiteID returns a new VpnSiteId struct +func NewVpnSiteID(subscriptionId string, resourceGroupName string, vpnSiteName string) VpnSiteId { + return VpnSiteId{ + SubscriptionId: subscriptionId, + ResourceGroupName: resourceGroupName, + VpnSiteName: vpnSiteName, + } +} + +// ParseVpnSiteID parses 'input' into a VpnSiteId +func ParseVpnSiteID(input string) (*VpnSiteId, error) { + parser := resourceids.NewParserFromResourceIdType(&VpnSiteId{}) + parsed, err := parser.Parse(input, false) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := VpnSiteId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +// ParseVpnSiteIDInsensitively parses 'input' case-insensitively into a VpnSiteId +// note: this method should only be used for API response data and not user input +func ParseVpnSiteIDInsensitively(input string) (*VpnSiteId, error) { + parser := resourceids.NewParserFromResourceIdType(&VpnSiteId{}) + parsed, err := parser.Parse(input, true) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := VpnSiteId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +func (id *VpnSiteId) FromParseResult(input resourceids.ParseResult) error { + var ok bool + + if id.SubscriptionId, ok = input.Parsed["subscriptionId"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "subscriptionId", input) + } + + if id.ResourceGroupName, ok = input.Parsed["resourceGroupName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "resourceGroupName", input) + } + + if id.VpnSiteName, ok = input.Parsed["vpnSiteName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "vpnSiteName", input) + } + + return nil +} + +// ValidateVpnSiteID checks that 'input' can be parsed as a Vpn Site ID +func ValidateVpnSiteID(input interface{}, key string) (warnings []string, errors []error) { + v, ok := input.(string) + if !ok { + errors = append(errors, fmt.Errorf("expected %q to be a string", key)) + return + } + + if _, err := ParseVpnSiteID(v); err != nil { + errors = append(errors, err) + } + + return +} + +// ID returns the formatted Vpn Site ID +func (id VpnSiteId) ID() string { + fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.Network/vpnSites/%s" + return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.VpnSiteName) +} + +// Segments returns a slice of Resource ID Segments which comprise this Vpn Site ID +func (id VpnSiteId) Segments() []resourceids.Segment { + return []resourceids.Segment{ + resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), + resourceids.SubscriptionIdSegment("subscriptionId", "12345678-1234-9876-4563-123456789012"), + resourceids.StaticSegment("staticResourceGroups", "resourceGroups", "resourceGroups"), + resourceids.ResourceGroupSegment("resourceGroupName", "example-resource-group"), + resourceids.StaticSegment("staticProviders", "providers", "providers"), + resourceids.ResourceProviderSegment("staticMicrosoftNetwork", "Microsoft.Network", "Microsoft.Network"), + resourceids.StaticSegment("staticVpnSites", "vpnSites", "vpnSites"), + resourceids.UserSpecifiedSegment("vpnSiteName", "vpnSiteName"), + } +} + +// String returns a human-readable description of this Vpn Site ID +func (id VpnSiteId) String() string { + components := []string{ + fmt.Sprintf("Subscription: %q", id.SubscriptionId), + fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), + fmt.Sprintf("Vpn Site Name: %q", id.VpnSiteName), + } + return fmt.Sprintf("Vpn Site (%s)", strings.Join(components, "\n")) +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/id_vpnsitelink.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/id_vpnsitelink.go new file mode 100644 index 000000000000..fcfd5aa34ed5 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/id_vpnsitelink.go @@ -0,0 +1,139 @@ +package virtualwans + +import ( + "fmt" + "strings" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/recaser" + "github.com/hashicorp/go-azure-helpers/resourcemanager/resourceids" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +func init() { + recaser.RegisterResourceId(&VpnSiteLinkId{}) +} + +var _ resourceids.ResourceId = &VpnSiteLinkId{} + +// VpnSiteLinkId is a struct representing the Resource ID for a Vpn Site Link +type VpnSiteLinkId struct { + SubscriptionId string + ResourceGroupName string + VpnSiteName string + VpnSiteLinkName string +} + +// NewVpnSiteLinkID returns a new VpnSiteLinkId struct +func NewVpnSiteLinkID(subscriptionId string, resourceGroupName string, vpnSiteName string, vpnSiteLinkName string) VpnSiteLinkId { + return VpnSiteLinkId{ + SubscriptionId: subscriptionId, + ResourceGroupName: resourceGroupName, + VpnSiteName: vpnSiteName, + VpnSiteLinkName: vpnSiteLinkName, + } +} + +// ParseVpnSiteLinkID parses 'input' into a VpnSiteLinkId +func ParseVpnSiteLinkID(input string) (*VpnSiteLinkId, error) { + parser := resourceids.NewParserFromResourceIdType(&VpnSiteLinkId{}) + parsed, err := parser.Parse(input, false) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := VpnSiteLinkId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +// ParseVpnSiteLinkIDInsensitively parses 'input' case-insensitively into a VpnSiteLinkId +// note: this method should only be used for API response data and not user input +func ParseVpnSiteLinkIDInsensitively(input string) (*VpnSiteLinkId, error) { + parser := resourceids.NewParserFromResourceIdType(&VpnSiteLinkId{}) + parsed, err := parser.Parse(input, true) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := VpnSiteLinkId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +func (id *VpnSiteLinkId) FromParseResult(input resourceids.ParseResult) error { + var ok bool + + if id.SubscriptionId, ok = input.Parsed["subscriptionId"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "subscriptionId", input) + } + + if id.ResourceGroupName, ok = input.Parsed["resourceGroupName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "resourceGroupName", input) + } + + if id.VpnSiteName, ok = input.Parsed["vpnSiteName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "vpnSiteName", input) + } + + if id.VpnSiteLinkName, ok = input.Parsed["vpnSiteLinkName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "vpnSiteLinkName", input) + } + + return nil +} + +// ValidateVpnSiteLinkID checks that 'input' can be parsed as a Vpn Site Link ID +func ValidateVpnSiteLinkID(input interface{}, key string) (warnings []string, errors []error) { + v, ok := input.(string) + if !ok { + errors = append(errors, fmt.Errorf("expected %q to be a string", key)) + return + } + + if _, err := ParseVpnSiteLinkID(v); err != nil { + errors = append(errors, err) + } + + return +} + +// ID returns the formatted Vpn Site Link ID +func (id VpnSiteLinkId) ID() string { + fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.Network/vpnSites/%s/vpnSiteLinks/%s" + return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.VpnSiteName, id.VpnSiteLinkName) +} + +// Segments returns a slice of Resource ID Segments which comprise this Vpn Site Link ID +func (id VpnSiteLinkId) Segments() []resourceids.Segment { + return []resourceids.Segment{ + resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), + resourceids.SubscriptionIdSegment("subscriptionId", "12345678-1234-9876-4563-123456789012"), + resourceids.StaticSegment("staticResourceGroups", "resourceGroups", "resourceGroups"), + resourceids.ResourceGroupSegment("resourceGroupName", "example-resource-group"), + resourceids.StaticSegment("staticProviders", "providers", "providers"), + resourceids.ResourceProviderSegment("staticMicrosoftNetwork", "Microsoft.Network", "Microsoft.Network"), + resourceids.StaticSegment("staticVpnSites", "vpnSites", "vpnSites"), + resourceids.UserSpecifiedSegment("vpnSiteName", "vpnSiteName"), + resourceids.StaticSegment("staticVpnSiteLinks", "vpnSiteLinks", "vpnSiteLinks"), + resourceids.UserSpecifiedSegment("vpnSiteLinkName", "vpnSiteLinkName"), + } +} + +// String returns a human-readable description of this Vpn Site Link ID +func (id VpnSiteLinkId) String() string { + components := []string{ + fmt.Sprintf("Subscription: %q", id.SubscriptionId), + fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), + fmt.Sprintf("Vpn Site Name: %q", id.VpnSiteName), + fmt.Sprintf("Vpn Site Link Name: %q", id.VpnSiteLinkName), + } + return fmt.Sprintf("Vpn Site Link (%s)", strings.Join(components, "\n")) +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_configurationpolicygroupscreateorupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_configurationpolicygroupscreateorupdate.go new file mode 100644 index 000000000000..391d34a222ab --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_configurationpolicygroupscreateorupdate.go @@ -0,0 +1,75 @@ +package virtualwans + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/client/pollers" + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ConfigurationPolicyGroupsCreateOrUpdateOperationResponse struct { + Poller pollers.Poller + HttpResponse *http.Response + OData *odata.OData + Model *VpnServerConfigurationPolicyGroup +} + +// ConfigurationPolicyGroupsCreateOrUpdate ... +func (c VirtualWANsClient) ConfigurationPolicyGroupsCreateOrUpdate(ctx context.Context, id ConfigurationPolicyGroupId, input VpnServerConfigurationPolicyGroup) (result ConfigurationPolicyGroupsCreateOrUpdateOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusCreated, + http.StatusOK, + }, + HttpMethod: http.MethodPut, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + if err = req.Marshal(input); err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client) + if err != nil { + return + } + + return +} + +// ConfigurationPolicyGroupsCreateOrUpdateThenPoll performs ConfigurationPolicyGroupsCreateOrUpdate then polls until it's completed +func (c VirtualWANsClient) ConfigurationPolicyGroupsCreateOrUpdateThenPoll(ctx context.Context, id ConfigurationPolicyGroupId, input VpnServerConfigurationPolicyGroup) error { + result, err := c.ConfigurationPolicyGroupsCreateOrUpdate(ctx, id, input) + if err != nil { + return fmt.Errorf("performing ConfigurationPolicyGroupsCreateOrUpdate: %+v", err) + } + + if err := result.Poller.PollUntilDone(ctx); err != nil { + return fmt.Errorf("polling after ConfigurationPolicyGroupsCreateOrUpdate: %+v", err) + } + + return nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_configurationpolicygroupsdelete.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_configurationpolicygroupsdelete.go new file mode 100644 index 000000000000..faabc47e666a --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_configurationpolicygroupsdelete.go @@ -0,0 +1,71 @@ +package virtualwans + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/client/pollers" + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ConfigurationPolicyGroupsDeleteOperationResponse struct { + Poller pollers.Poller + HttpResponse *http.Response + OData *odata.OData +} + +// ConfigurationPolicyGroupsDelete ... +func (c VirtualWANsClient) ConfigurationPolicyGroupsDelete(ctx context.Context, id ConfigurationPolicyGroupId) (result ConfigurationPolicyGroupsDeleteOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusAccepted, + http.StatusNoContent, + http.StatusOK, + }, + HttpMethod: http.MethodDelete, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client) + if err != nil { + return + } + + return +} + +// ConfigurationPolicyGroupsDeleteThenPoll performs ConfigurationPolicyGroupsDelete then polls until it's completed +func (c VirtualWANsClient) ConfigurationPolicyGroupsDeleteThenPoll(ctx context.Context, id ConfigurationPolicyGroupId) error { + result, err := c.ConfigurationPolicyGroupsDelete(ctx, id) + if err != nil { + return fmt.Errorf("performing ConfigurationPolicyGroupsDelete: %+v", err) + } + + if err := result.Poller.PollUntilDone(ctx); err != nil { + return fmt.Errorf("polling after ConfigurationPolicyGroupsDelete: %+v", err) + } + + return nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_configurationpolicygroupsget.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_configurationpolicygroupsget.go new file mode 100644 index 000000000000..d8feaa4f23ab --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_configurationpolicygroupsget.go @@ -0,0 +1,53 @@ +package virtualwans + +import ( + "context" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ConfigurationPolicyGroupsGetOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *VpnServerConfigurationPolicyGroup +} + +// ConfigurationPolicyGroupsGet ... +func (c VirtualWANsClient) ConfigurationPolicyGroupsGet(ctx context.Context, id ConfigurationPolicyGroupId) (result ConfigurationPolicyGroupsGetOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var model VpnServerConfigurationPolicyGroup + result.Model = &model + if err = resp.Unmarshal(result.Model); err != nil { + return + } + + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_configurationpolicygroupslistbyvpnserverconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_configurationpolicygroupslistbyvpnserverconfiguration.go new file mode 100644 index 000000000000..d8055521e535 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_configurationpolicygroupslistbyvpnserverconfiguration.go @@ -0,0 +1,105 @@ +package virtualwans + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ConfigurationPolicyGroupsListByVpnServerConfigurationOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *[]VpnServerConfigurationPolicyGroup +} + +type ConfigurationPolicyGroupsListByVpnServerConfigurationCompleteResult struct { + LatestHttpResponse *http.Response + Items []VpnServerConfigurationPolicyGroup +} + +type ConfigurationPolicyGroupsListByVpnServerConfigurationCustomPager struct { + NextLink *odata.Link `json:"nextLink"` +} + +func (p *ConfigurationPolicyGroupsListByVpnServerConfigurationCustomPager) NextPageLink() *odata.Link { + defer func() { + p.NextLink = nil + }() + + return p.NextLink +} + +// ConfigurationPolicyGroupsListByVpnServerConfiguration ... +func (c VirtualWANsClient) ConfigurationPolicyGroupsListByVpnServerConfiguration(ctx context.Context, id VpnServerConfigurationId) (result ConfigurationPolicyGroupsListByVpnServerConfigurationOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Pager: &ConfigurationPolicyGroupsListByVpnServerConfigurationCustomPager{}, + Path: fmt.Sprintf("%s/configurationPolicyGroups", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.ExecutePaged(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var values struct { + Values *[]VpnServerConfigurationPolicyGroup `json:"value"` + } + if err = resp.Unmarshal(&values); err != nil { + return + } + + result.Model = values.Values + + return +} + +// ConfigurationPolicyGroupsListByVpnServerConfigurationComplete retrieves all the results into a single object +func (c VirtualWANsClient) ConfigurationPolicyGroupsListByVpnServerConfigurationComplete(ctx context.Context, id VpnServerConfigurationId) (ConfigurationPolicyGroupsListByVpnServerConfigurationCompleteResult, error) { + return c.ConfigurationPolicyGroupsListByVpnServerConfigurationCompleteMatchingPredicate(ctx, id, VpnServerConfigurationPolicyGroupOperationPredicate{}) +} + +// ConfigurationPolicyGroupsListByVpnServerConfigurationCompleteMatchingPredicate retrieves all the results and then applies the predicate +func (c VirtualWANsClient) ConfigurationPolicyGroupsListByVpnServerConfigurationCompleteMatchingPredicate(ctx context.Context, id VpnServerConfigurationId, predicate VpnServerConfigurationPolicyGroupOperationPredicate) (result ConfigurationPolicyGroupsListByVpnServerConfigurationCompleteResult, err error) { + items := make([]VpnServerConfigurationPolicyGroup, 0) + + resp, err := c.ConfigurationPolicyGroupsListByVpnServerConfiguration(ctx, id) + if err != nil { + result.LatestHttpResponse = resp.HttpResponse + err = fmt.Errorf("loading results: %+v", err) + return + } + if resp.Model != nil { + for _, v := range *resp.Model { + if predicate.Matches(v) { + items = append(items, v) + } + } + } + + result = ConfigurationPolicyGroupsListByVpnServerConfigurationCompleteResult{ + LatestHttpResponse: resp.HttpResponse, + Items: items, + } + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_generatevirtualwanvpnserverconfigurationvpnprofile.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_generatevirtualwanvpnserverconfigurationvpnprofile.go new file mode 100644 index 000000000000..aed56fdab187 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_generatevirtualwanvpnserverconfigurationvpnprofile.go @@ -0,0 +1,75 @@ +package virtualwans + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/client/pollers" + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type GeneratevirtualwanvpnserverconfigurationvpnprofileOperationResponse struct { + Poller pollers.Poller + HttpResponse *http.Response + OData *odata.OData + Model *VpnProfileResponse +} + +// Generatevirtualwanvpnserverconfigurationvpnprofile ... +func (c VirtualWANsClient) Generatevirtualwanvpnserverconfigurationvpnprofile(ctx context.Context, id VirtualWANId, input VirtualWanVpnProfileParameters) (result GeneratevirtualwanvpnserverconfigurationvpnprofileOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusAccepted, + http.StatusOK, + }, + HttpMethod: http.MethodPost, + Path: fmt.Sprintf("%s/generateVpnProfile", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + if err = req.Marshal(input); err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client) + if err != nil { + return + } + + return +} + +// GeneratevirtualwanvpnserverconfigurationvpnprofileThenPoll performs Generatevirtualwanvpnserverconfigurationvpnprofile then polls until it's completed +func (c VirtualWANsClient) GeneratevirtualwanvpnserverconfigurationvpnprofileThenPoll(ctx context.Context, id VirtualWANId, input VirtualWanVpnProfileParameters) error { + result, err := c.Generatevirtualwanvpnserverconfigurationvpnprofile(ctx, id, input) + if err != nil { + return fmt.Errorf("performing Generatevirtualwanvpnserverconfigurationvpnprofile: %+v", err) + } + + if err := result.Poller.PollUntilDone(ctx); err != nil { + return fmt.Errorf("polling after Generatevirtualwanvpnserverconfigurationvpnprofile: %+v", err) + } + + return nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_hubroutetablescreateorupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_hubroutetablescreateorupdate.go new file mode 100644 index 000000000000..58545e66cc27 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_hubroutetablescreateorupdate.go @@ -0,0 +1,75 @@ +package virtualwans + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/client/pollers" + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type HubRouteTablesCreateOrUpdateOperationResponse struct { + Poller pollers.Poller + HttpResponse *http.Response + OData *odata.OData + Model *HubRouteTable +} + +// HubRouteTablesCreateOrUpdate ... +func (c VirtualWANsClient) HubRouteTablesCreateOrUpdate(ctx context.Context, id HubRouteTableId, input HubRouteTable) (result HubRouteTablesCreateOrUpdateOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusCreated, + http.StatusOK, + }, + HttpMethod: http.MethodPut, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + if err = req.Marshal(input); err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client) + if err != nil { + return + } + + return +} + +// HubRouteTablesCreateOrUpdateThenPoll performs HubRouteTablesCreateOrUpdate then polls until it's completed +func (c VirtualWANsClient) HubRouteTablesCreateOrUpdateThenPoll(ctx context.Context, id HubRouteTableId, input HubRouteTable) error { + result, err := c.HubRouteTablesCreateOrUpdate(ctx, id, input) + if err != nil { + return fmt.Errorf("performing HubRouteTablesCreateOrUpdate: %+v", err) + } + + if err := result.Poller.PollUntilDone(ctx); err != nil { + return fmt.Errorf("polling after HubRouteTablesCreateOrUpdate: %+v", err) + } + + return nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_hubroutetablesdelete.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_hubroutetablesdelete.go new file mode 100644 index 000000000000..e51f251c7149 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_hubroutetablesdelete.go @@ -0,0 +1,71 @@ +package virtualwans + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/client/pollers" + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type HubRouteTablesDeleteOperationResponse struct { + Poller pollers.Poller + HttpResponse *http.Response + OData *odata.OData +} + +// HubRouteTablesDelete ... +func (c VirtualWANsClient) HubRouteTablesDelete(ctx context.Context, id HubRouteTableId) (result HubRouteTablesDeleteOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusAccepted, + http.StatusNoContent, + http.StatusOK, + }, + HttpMethod: http.MethodDelete, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client) + if err != nil { + return + } + + return +} + +// HubRouteTablesDeleteThenPoll performs HubRouteTablesDelete then polls until it's completed +func (c VirtualWANsClient) HubRouteTablesDeleteThenPoll(ctx context.Context, id HubRouteTableId) error { + result, err := c.HubRouteTablesDelete(ctx, id) + if err != nil { + return fmt.Errorf("performing HubRouteTablesDelete: %+v", err) + } + + if err := result.Poller.PollUntilDone(ctx); err != nil { + return fmt.Errorf("polling after HubRouteTablesDelete: %+v", err) + } + + return nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_hubroutetablesget.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_hubroutetablesget.go new file mode 100644 index 000000000000..e714731e2bf1 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_hubroutetablesget.go @@ -0,0 +1,53 @@ +package virtualwans + +import ( + "context" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type HubRouteTablesGetOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *HubRouteTable +} + +// HubRouteTablesGet ... +func (c VirtualWANsClient) HubRouteTablesGet(ctx context.Context, id HubRouteTableId) (result HubRouteTablesGetOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var model HubRouteTable + result.Model = &model + if err = resp.Unmarshal(result.Model); err != nil { + return + } + + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_hubroutetableslist.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_hubroutetableslist.go new file mode 100644 index 000000000000..d36631c9289c --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_hubroutetableslist.go @@ -0,0 +1,105 @@ +package virtualwans + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type HubRouteTablesListOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *[]HubRouteTable +} + +type HubRouteTablesListCompleteResult struct { + LatestHttpResponse *http.Response + Items []HubRouteTable +} + +type HubRouteTablesListCustomPager struct { + NextLink *odata.Link `json:"nextLink"` +} + +func (p *HubRouteTablesListCustomPager) NextPageLink() *odata.Link { + defer func() { + p.NextLink = nil + }() + + return p.NextLink +} + +// HubRouteTablesList ... +func (c VirtualWANsClient) HubRouteTablesList(ctx context.Context, id VirtualHubId) (result HubRouteTablesListOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Pager: &HubRouteTablesListCustomPager{}, + Path: fmt.Sprintf("%s/hubRouteTables", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.ExecutePaged(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var values struct { + Values *[]HubRouteTable `json:"value"` + } + if err = resp.Unmarshal(&values); err != nil { + return + } + + result.Model = values.Values + + return +} + +// HubRouteTablesListComplete retrieves all the results into a single object +func (c VirtualWANsClient) HubRouteTablesListComplete(ctx context.Context, id VirtualHubId) (HubRouteTablesListCompleteResult, error) { + return c.HubRouteTablesListCompleteMatchingPredicate(ctx, id, HubRouteTableOperationPredicate{}) +} + +// HubRouteTablesListCompleteMatchingPredicate retrieves all the results and then applies the predicate +func (c VirtualWANsClient) HubRouteTablesListCompleteMatchingPredicate(ctx context.Context, id VirtualHubId, predicate HubRouteTableOperationPredicate) (result HubRouteTablesListCompleteResult, err error) { + items := make([]HubRouteTable, 0) + + resp, err := c.HubRouteTablesList(ctx, id) + if err != nil { + result.LatestHttpResponse = resp.HttpResponse + err = fmt.Errorf("loading results: %+v", err) + return + } + if resp.Model != nil { + for _, v := range *resp.Model { + if predicate.Matches(v) { + items = append(items, v) + } + } + } + + result = HubRouteTablesListCompleteResult{ + LatestHttpResponse: resp.HttpResponse, + Items: items, + } + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_hubvirtualnetworkconnectionscreateorupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_hubvirtualnetworkconnectionscreateorupdate.go new file mode 100644 index 000000000000..4353d1898c91 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_hubvirtualnetworkconnectionscreateorupdate.go @@ -0,0 +1,75 @@ +package virtualwans + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/client/pollers" + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type HubVirtualNetworkConnectionsCreateOrUpdateOperationResponse struct { + Poller pollers.Poller + HttpResponse *http.Response + OData *odata.OData + Model *HubVirtualNetworkConnection +} + +// HubVirtualNetworkConnectionsCreateOrUpdate ... +func (c VirtualWANsClient) HubVirtualNetworkConnectionsCreateOrUpdate(ctx context.Context, id HubVirtualNetworkConnectionId, input HubVirtualNetworkConnection) (result HubVirtualNetworkConnectionsCreateOrUpdateOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusCreated, + http.StatusOK, + }, + HttpMethod: http.MethodPut, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + if err = req.Marshal(input); err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client) + if err != nil { + return + } + + return +} + +// HubVirtualNetworkConnectionsCreateOrUpdateThenPoll performs HubVirtualNetworkConnectionsCreateOrUpdate then polls until it's completed +func (c VirtualWANsClient) HubVirtualNetworkConnectionsCreateOrUpdateThenPoll(ctx context.Context, id HubVirtualNetworkConnectionId, input HubVirtualNetworkConnection) error { + result, err := c.HubVirtualNetworkConnectionsCreateOrUpdate(ctx, id, input) + if err != nil { + return fmt.Errorf("performing HubVirtualNetworkConnectionsCreateOrUpdate: %+v", err) + } + + if err := result.Poller.PollUntilDone(ctx); err != nil { + return fmt.Errorf("polling after HubVirtualNetworkConnectionsCreateOrUpdate: %+v", err) + } + + return nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_hubvirtualnetworkconnectionsdelete.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_hubvirtualnetworkconnectionsdelete.go new file mode 100644 index 000000000000..d26ec8f61b84 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_hubvirtualnetworkconnectionsdelete.go @@ -0,0 +1,71 @@ +package virtualwans + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/client/pollers" + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type HubVirtualNetworkConnectionsDeleteOperationResponse struct { + Poller pollers.Poller + HttpResponse *http.Response + OData *odata.OData +} + +// HubVirtualNetworkConnectionsDelete ... +func (c VirtualWANsClient) HubVirtualNetworkConnectionsDelete(ctx context.Context, id HubVirtualNetworkConnectionId) (result HubVirtualNetworkConnectionsDeleteOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusAccepted, + http.StatusNoContent, + http.StatusOK, + }, + HttpMethod: http.MethodDelete, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client) + if err != nil { + return + } + + return +} + +// HubVirtualNetworkConnectionsDeleteThenPoll performs HubVirtualNetworkConnectionsDelete then polls until it's completed +func (c VirtualWANsClient) HubVirtualNetworkConnectionsDeleteThenPoll(ctx context.Context, id HubVirtualNetworkConnectionId) error { + result, err := c.HubVirtualNetworkConnectionsDelete(ctx, id) + if err != nil { + return fmt.Errorf("performing HubVirtualNetworkConnectionsDelete: %+v", err) + } + + if err := result.Poller.PollUntilDone(ctx); err != nil { + return fmt.Errorf("polling after HubVirtualNetworkConnectionsDelete: %+v", err) + } + + return nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_hubvirtualnetworkconnectionsget.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_hubvirtualnetworkconnectionsget.go new file mode 100644 index 000000000000..f08f465d3c19 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_hubvirtualnetworkconnectionsget.go @@ -0,0 +1,53 @@ +package virtualwans + +import ( + "context" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type HubVirtualNetworkConnectionsGetOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *HubVirtualNetworkConnection +} + +// HubVirtualNetworkConnectionsGet ... +func (c VirtualWANsClient) HubVirtualNetworkConnectionsGet(ctx context.Context, id HubVirtualNetworkConnectionId) (result HubVirtualNetworkConnectionsGetOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var model HubVirtualNetworkConnection + result.Model = &model + if err = resp.Unmarshal(result.Model); err != nil { + return + } + + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_hubvirtualnetworkconnectionslist.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_hubvirtualnetworkconnectionslist.go new file mode 100644 index 000000000000..9ba166e19d8a --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_hubvirtualnetworkconnectionslist.go @@ -0,0 +1,105 @@ +package virtualwans + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type HubVirtualNetworkConnectionsListOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *[]HubVirtualNetworkConnection +} + +type HubVirtualNetworkConnectionsListCompleteResult struct { + LatestHttpResponse *http.Response + Items []HubVirtualNetworkConnection +} + +type HubVirtualNetworkConnectionsListCustomPager struct { + NextLink *odata.Link `json:"nextLink"` +} + +func (p *HubVirtualNetworkConnectionsListCustomPager) NextPageLink() *odata.Link { + defer func() { + p.NextLink = nil + }() + + return p.NextLink +} + +// HubVirtualNetworkConnectionsList ... +func (c VirtualWANsClient) HubVirtualNetworkConnectionsList(ctx context.Context, id VirtualHubId) (result HubVirtualNetworkConnectionsListOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Pager: &HubVirtualNetworkConnectionsListCustomPager{}, + Path: fmt.Sprintf("%s/hubVirtualNetworkConnections", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.ExecutePaged(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var values struct { + Values *[]HubVirtualNetworkConnection `json:"value"` + } + if err = resp.Unmarshal(&values); err != nil { + return + } + + result.Model = values.Values + + return +} + +// HubVirtualNetworkConnectionsListComplete retrieves all the results into a single object +func (c VirtualWANsClient) HubVirtualNetworkConnectionsListComplete(ctx context.Context, id VirtualHubId) (HubVirtualNetworkConnectionsListCompleteResult, error) { + return c.HubVirtualNetworkConnectionsListCompleteMatchingPredicate(ctx, id, HubVirtualNetworkConnectionOperationPredicate{}) +} + +// HubVirtualNetworkConnectionsListCompleteMatchingPredicate retrieves all the results and then applies the predicate +func (c VirtualWANsClient) HubVirtualNetworkConnectionsListCompleteMatchingPredicate(ctx context.Context, id VirtualHubId, predicate HubVirtualNetworkConnectionOperationPredicate) (result HubVirtualNetworkConnectionsListCompleteResult, err error) { + items := make([]HubVirtualNetworkConnection, 0) + + resp, err := c.HubVirtualNetworkConnectionsList(ctx, id) + if err != nil { + result.LatestHttpResponse = resp.HttpResponse + err = fmt.Errorf("loading results: %+v", err) + return + } + if resp.Model != nil { + for _, v := range *resp.Model { + if predicate.Matches(v) { + items = append(items, v) + } + } + } + + result = HubVirtualNetworkConnectionsListCompleteResult{ + LatestHttpResponse: resp.HttpResponse, + Items: items, + } + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_natrulescreateorupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_natrulescreateorupdate.go new file mode 100644 index 000000000000..168ea42291c9 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_natrulescreateorupdate.go @@ -0,0 +1,75 @@ +package virtualwans + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/client/pollers" + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NatRulesCreateOrUpdateOperationResponse struct { + Poller pollers.Poller + HttpResponse *http.Response + OData *odata.OData + Model *VpnGatewayNatRule +} + +// NatRulesCreateOrUpdate ... +func (c VirtualWANsClient) NatRulesCreateOrUpdate(ctx context.Context, id NatRuleId, input VpnGatewayNatRule) (result NatRulesCreateOrUpdateOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusCreated, + http.StatusOK, + }, + HttpMethod: http.MethodPut, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + if err = req.Marshal(input); err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client) + if err != nil { + return + } + + return +} + +// NatRulesCreateOrUpdateThenPoll performs NatRulesCreateOrUpdate then polls until it's completed +func (c VirtualWANsClient) NatRulesCreateOrUpdateThenPoll(ctx context.Context, id NatRuleId, input VpnGatewayNatRule) error { + result, err := c.NatRulesCreateOrUpdate(ctx, id, input) + if err != nil { + return fmt.Errorf("performing NatRulesCreateOrUpdate: %+v", err) + } + + if err := result.Poller.PollUntilDone(ctx); err != nil { + return fmt.Errorf("polling after NatRulesCreateOrUpdate: %+v", err) + } + + return nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_natrulesdelete.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_natrulesdelete.go new file mode 100644 index 000000000000..6908f8fa7a24 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_natrulesdelete.go @@ -0,0 +1,71 @@ +package virtualwans + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/client/pollers" + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NatRulesDeleteOperationResponse struct { + Poller pollers.Poller + HttpResponse *http.Response + OData *odata.OData +} + +// NatRulesDelete ... +func (c VirtualWANsClient) NatRulesDelete(ctx context.Context, id NatRuleId) (result NatRulesDeleteOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusAccepted, + http.StatusNoContent, + http.StatusOK, + }, + HttpMethod: http.MethodDelete, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client) + if err != nil { + return + } + + return +} + +// NatRulesDeleteThenPoll performs NatRulesDelete then polls until it's completed +func (c VirtualWANsClient) NatRulesDeleteThenPoll(ctx context.Context, id NatRuleId) error { + result, err := c.NatRulesDelete(ctx, id) + if err != nil { + return fmt.Errorf("performing NatRulesDelete: %+v", err) + } + + if err := result.Poller.PollUntilDone(ctx); err != nil { + return fmt.Errorf("polling after NatRulesDelete: %+v", err) + } + + return nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_natrulesget.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_natrulesget.go new file mode 100644 index 000000000000..c81f0b6e89a9 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_natrulesget.go @@ -0,0 +1,53 @@ +package virtualwans + +import ( + "context" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NatRulesGetOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *VpnGatewayNatRule +} + +// NatRulesGet ... +func (c VirtualWANsClient) NatRulesGet(ctx context.Context, id NatRuleId) (result NatRulesGetOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var model VpnGatewayNatRule + result.Model = &model + if err = resp.Unmarshal(result.Model); err != nil { + return + } + + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_natruleslistbyvpngateway.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_natruleslistbyvpngateway.go new file mode 100644 index 000000000000..e5393de1385a --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_natruleslistbyvpngateway.go @@ -0,0 +1,105 @@ +package virtualwans + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NatRulesListByVpnGatewayOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *[]VpnGatewayNatRule +} + +type NatRulesListByVpnGatewayCompleteResult struct { + LatestHttpResponse *http.Response + Items []VpnGatewayNatRule +} + +type NatRulesListByVpnGatewayCustomPager struct { + NextLink *odata.Link `json:"nextLink"` +} + +func (p *NatRulesListByVpnGatewayCustomPager) NextPageLink() *odata.Link { + defer func() { + p.NextLink = nil + }() + + return p.NextLink +} + +// NatRulesListByVpnGateway ... +func (c VirtualWANsClient) NatRulesListByVpnGateway(ctx context.Context, id VpnGatewayId) (result NatRulesListByVpnGatewayOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Pager: &NatRulesListByVpnGatewayCustomPager{}, + Path: fmt.Sprintf("%s/natRules", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.ExecutePaged(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var values struct { + Values *[]VpnGatewayNatRule `json:"value"` + } + if err = resp.Unmarshal(&values); err != nil { + return + } + + result.Model = values.Values + + return +} + +// NatRulesListByVpnGatewayComplete retrieves all the results into a single object +func (c VirtualWANsClient) NatRulesListByVpnGatewayComplete(ctx context.Context, id VpnGatewayId) (NatRulesListByVpnGatewayCompleteResult, error) { + return c.NatRulesListByVpnGatewayCompleteMatchingPredicate(ctx, id, VpnGatewayNatRuleOperationPredicate{}) +} + +// NatRulesListByVpnGatewayCompleteMatchingPredicate retrieves all the results and then applies the predicate +func (c VirtualWANsClient) NatRulesListByVpnGatewayCompleteMatchingPredicate(ctx context.Context, id VpnGatewayId, predicate VpnGatewayNatRuleOperationPredicate) (result NatRulesListByVpnGatewayCompleteResult, err error) { + items := make([]VpnGatewayNatRule, 0) + + resp, err := c.NatRulesListByVpnGateway(ctx, id) + if err != nil { + result.LatestHttpResponse = resp.HttpResponse + err = fmt.Errorf("loading results: %+v", err) + return + } + if resp.Model != nil { + for _, v := range *resp.Model { + if predicate.Matches(v) { + items = append(items, v) + } + } + } + + result = NatRulesListByVpnGatewayCompleteResult{ + LatestHttpResponse: resp.HttpResponse, + Items: items, + } + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_networkvirtualapplianceconnectionscreateorupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_networkvirtualapplianceconnectionscreateorupdate.go new file mode 100644 index 000000000000..1bcdfbdee15e --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_networkvirtualapplianceconnectionscreateorupdate.go @@ -0,0 +1,75 @@ +package virtualwans + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/client/pollers" + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NetworkVirtualApplianceConnectionsCreateOrUpdateOperationResponse struct { + Poller pollers.Poller + HttpResponse *http.Response + OData *odata.OData + Model *NetworkVirtualApplianceConnection +} + +// NetworkVirtualApplianceConnectionsCreateOrUpdate ... +func (c VirtualWANsClient) NetworkVirtualApplianceConnectionsCreateOrUpdate(ctx context.Context, id NetworkVirtualApplianceConnectionId, input NetworkVirtualApplianceConnection) (result NetworkVirtualApplianceConnectionsCreateOrUpdateOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusCreated, + http.StatusOK, + }, + HttpMethod: http.MethodPut, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + if err = req.Marshal(input); err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client) + if err != nil { + return + } + + return +} + +// NetworkVirtualApplianceConnectionsCreateOrUpdateThenPoll performs NetworkVirtualApplianceConnectionsCreateOrUpdate then polls until it's completed +func (c VirtualWANsClient) NetworkVirtualApplianceConnectionsCreateOrUpdateThenPoll(ctx context.Context, id NetworkVirtualApplianceConnectionId, input NetworkVirtualApplianceConnection) error { + result, err := c.NetworkVirtualApplianceConnectionsCreateOrUpdate(ctx, id, input) + if err != nil { + return fmt.Errorf("performing NetworkVirtualApplianceConnectionsCreateOrUpdate: %+v", err) + } + + if err := result.Poller.PollUntilDone(ctx); err != nil { + return fmt.Errorf("polling after NetworkVirtualApplianceConnectionsCreateOrUpdate: %+v", err) + } + + return nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_networkvirtualapplianceconnectionsdelete.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_networkvirtualapplianceconnectionsdelete.go new file mode 100644 index 000000000000..38492cbbb119 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_networkvirtualapplianceconnectionsdelete.go @@ -0,0 +1,71 @@ +package virtualwans + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/client/pollers" + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NetworkVirtualApplianceConnectionsDeleteOperationResponse struct { + Poller pollers.Poller + HttpResponse *http.Response + OData *odata.OData +} + +// NetworkVirtualApplianceConnectionsDelete ... +func (c VirtualWANsClient) NetworkVirtualApplianceConnectionsDelete(ctx context.Context, id NetworkVirtualApplianceConnectionId) (result NetworkVirtualApplianceConnectionsDeleteOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusAccepted, + http.StatusNoContent, + http.StatusOK, + }, + HttpMethod: http.MethodDelete, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client) + if err != nil { + return + } + + return +} + +// NetworkVirtualApplianceConnectionsDeleteThenPoll performs NetworkVirtualApplianceConnectionsDelete then polls until it's completed +func (c VirtualWANsClient) NetworkVirtualApplianceConnectionsDeleteThenPoll(ctx context.Context, id NetworkVirtualApplianceConnectionId) error { + result, err := c.NetworkVirtualApplianceConnectionsDelete(ctx, id) + if err != nil { + return fmt.Errorf("performing NetworkVirtualApplianceConnectionsDelete: %+v", err) + } + + if err := result.Poller.PollUntilDone(ctx); err != nil { + return fmt.Errorf("polling after NetworkVirtualApplianceConnectionsDelete: %+v", err) + } + + return nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_networkvirtualapplianceconnectionsget.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_networkvirtualapplianceconnectionsget.go new file mode 100644 index 000000000000..783b3251a6c0 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_networkvirtualapplianceconnectionsget.go @@ -0,0 +1,53 @@ +package virtualwans + +import ( + "context" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NetworkVirtualApplianceConnectionsGetOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *NetworkVirtualApplianceConnection +} + +// NetworkVirtualApplianceConnectionsGet ... +func (c VirtualWANsClient) NetworkVirtualApplianceConnectionsGet(ctx context.Context, id NetworkVirtualApplianceConnectionId) (result NetworkVirtualApplianceConnectionsGetOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var model NetworkVirtualApplianceConnection + result.Model = &model + if err = resp.Unmarshal(result.Model); err != nil { + return + } + + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_networkvirtualapplianceconnectionslist.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_networkvirtualapplianceconnectionslist.go new file mode 100644 index 000000000000..72b22855ec41 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_networkvirtualapplianceconnectionslist.go @@ -0,0 +1,105 @@ +package virtualwans + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NetworkVirtualApplianceConnectionsListOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *[]NetworkVirtualApplianceConnection +} + +type NetworkVirtualApplianceConnectionsListCompleteResult struct { + LatestHttpResponse *http.Response + Items []NetworkVirtualApplianceConnection +} + +type NetworkVirtualApplianceConnectionsListCustomPager struct { + NextLink *odata.Link `json:"nextLink"` +} + +func (p *NetworkVirtualApplianceConnectionsListCustomPager) NextPageLink() *odata.Link { + defer func() { + p.NextLink = nil + }() + + return p.NextLink +} + +// NetworkVirtualApplianceConnectionsList ... +func (c VirtualWANsClient) NetworkVirtualApplianceConnectionsList(ctx context.Context, id NetworkVirtualApplianceId) (result NetworkVirtualApplianceConnectionsListOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Pager: &NetworkVirtualApplianceConnectionsListCustomPager{}, + Path: fmt.Sprintf("%s/networkVirtualApplianceConnections", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.ExecutePaged(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var values struct { + Values *[]NetworkVirtualApplianceConnection `json:"value"` + } + if err = resp.Unmarshal(&values); err != nil { + return + } + + result.Model = values.Values + + return +} + +// NetworkVirtualApplianceConnectionsListComplete retrieves all the results into a single object +func (c VirtualWANsClient) NetworkVirtualApplianceConnectionsListComplete(ctx context.Context, id NetworkVirtualApplianceId) (NetworkVirtualApplianceConnectionsListCompleteResult, error) { + return c.NetworkVirtualApplianceConnectionsListCompleteMatchingPredicate(ctx, id, NetworkVirtualApplianceConnectionOperationPredicate{}) +} + +// NetworkVirtualApplianceConnectionsListCompleteMatchingPredicate retrieves all the results and then applies the predicate +func (c VirtualWANsClient) NetworkVirtualApplianceConnectionsListCompleteMatchingPredicate(ctx context.Context, id NetworkVirtualApplianceId, predicate NetworkVirtualApplianceConnectionOperationPredicate) (result NetworkVirtualApplianceConnectionsListCompleteResult, err error) { + items := make([]NetworkVirtualApplianceConnection, 0) + + resp, err := c.NetworkVirtualApplianceConnectionsList(ctx, id) + if err != nil { + result.LatestHttpResponse = resp.HttpResponse + err = fmt.Errorf("loading results: %+v", err) + return + } + if resp.Model != nil { + for _, v := range *resp.Model { + if predicate.Matches(v) { + items = append(items, v) + } + } + } + + result = NetworkVirtualApplianceConnectionsListCompleteResult{ + LatestHttpResponse: resp.HttpResponse, + Items: items, + } + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_p2svpngatewayscreateorupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_p2svpngatewayscreateorupdate.go new file mode 100644 index 000000000000..664698b3088f --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_p2svpngatewayscreateorupdate.go @@ -0,0 +1,76 @@ +package virtualwans + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/client/pollers" + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type P2sVpnGatewaysCreateOrUpdateOperationResponse struct { + Poller pollers.Poller + HttpResponse *http.Response + OData *odata.OData + Model *P2SVpnGateway +} + +// P2sVpnGatewaysCreateOrUpdate ... +func (c VirtualWANsClient) P2sVpnGatewaysCreateOrUpdate(ctx context.Context, id commonids.VirtualWANP2SVPNGatewayId, input P2SVpnGateway) (result P2sVpnGatewaysCreateOrUpdateOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusCreated, + http.StatusOK, + }, + HttpMethod: http.MethodPut, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + if err = req.Marshal(input); err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client) + if err != nil { + return + } + + return +} + +// P2sVpnGatewaysCreateOrUpdateThenPoll performs P2sVpnGatewaysCreateOrUpdate then polls until it's completed +func (c VirtualWANsClient) P2sVpnGatewaysCreateOrUpdateThenPoll(ctx context.Context, id commonids.VirtualWANP2SVPNGatewayId, input P2SVpnGateway) error { + result, err := c.P2sVpnGatewaysCreateOrUpdate(ctx, id, input) + if err != nil { + return fmt.Errorf("performing P2sVpnGatewaysCreateOrUpdate: %+v", err) + } + + if err := result.Poller.PollUntilDone(ctx); err != nil { + return fmt.Errorf("polling after P2sVpnGatewaysCreateOrUpdate: %+v", err) + } + + return nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_p2svpngatewaysdelete.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_p2svpngatewaysdelete.go new file mode 100644 index 000000000000..23ae30eaecd8 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_p2svpngatewaysdelete.go @@ -0,0 +1,72 @@ +package virtualwans + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/client/pollers" + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type P2sVpnGatewaysDeleteOperationResponse struct { + Poller pollers.Poller + HttpResponse *http.Response + OData *odata.OData +} + +// P2sVpnGatewaysDelete ... +func (c VirtualWANsClient) P2sVpnGatewaysDelete(ctx context.Context, id commonids.VirtualWANP2SVPNGatewayId) (result P2sVpnGatewaysDeleteOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusAccepted, + http.StatusNoContent, + http.StatusOK, + }, + HttpMethod: http.MethodDelete, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client) + if err != nil { + return + } + + return +} + +// P2sVpnGatewaysDeleteThenPoll performs P2sVpnGatewaysDelete then polls until it's completed +func (c VirtualWANsClient) P2sVpnGatewaysDeleteThenPoll(ctx context.Context, id commonids.VirtualWANP2SVPNGatewayId) error { + result, err := c.P2sVpnGatewaysDelete(ctx, id) + if err != nil { + return fmt.Errorf("performing P2sVpnGatewaysDelete: %+v", err) + } + + if err := result.Poller.PollUntilDone(ctx); err != nil { + return fmt.Errorf("polling after P2sVpnGatewaysDelete: %+v", err) + } + + return nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_p2svpngatewaysget.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_p2svpngatewaysget.go new file mode 100644 index 000000000000..ec7e18c347ef --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_p2svpngatewaysget.go @@ -0,0 +1,54 @@ +package virtualwans + +import ( + "context" + "net/http" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type P2sVpnGatewaysGetOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *P2SVpnGateway +} + +// P2sVpnGatewaysGet ... +func (c VirtualWANsClient) P2sVpnGatewaysGet(ctx context.Context, id commonids.VirtualWANP2SVPNGatewayId) (result P2sVpnGatewaysGetOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var model P2SVpnGateway + result.Model = &model + if err = resp.Unmarshal(result.Model); err != nil { + return + } + + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_p2svpngatewayslist.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_p2svpngatewayslist.go new file mode 100644 index 000000000000..b51053de49e9 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_p2svpngatewayslist.go @@ -0,0 +1,106 @@ +package virtualwans + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type P2sVpnGatewaysListOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *[]P2SVpnGateway +} + +type P2sVpnGatewaysListCompleteResult struct { + LatestHttpResponse *http.Response + Items []P2SVpnGateway +} + +type P2sVpnGatewaysListCustomPager struct { + NextLink *odata.Link `json:"nextLink"` +} + +func (p *P2sVpnGatewaysListCustomPager) NextPageLink() *odata.Link { + defer func() { + p.NextLink = nil + }() + + return p.NextLink +} + +// P2sVpnGatewaysList ... +func (c VirtualWANsClient) P2sVpnGatewaysList(ctx context.Context, id commonids.SubscriptionId) (result P2sVpnGatewaysListOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Pager: &P2sVpnGatewaysListCustomPager{}, + Path: fmt.Sprintf("%s/providers/Microsoft.Network/p2sVpnGateways", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.ExecutePaged(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var values struct { + Values *[]P2SVpnGateway `json:"value"` + } + if err = resp.Unmarshal(&values); err != nil { + return + } + + result.Model = values.Values + + return +} + +// P2sVpnGatewaysListComplete retrieves all the results into a single object +func (c VirtualWANsClient) P2sVpnGatewaysListComplete(ctx context.Context, id commonids.SubscriptionId) (P2sVpnGatewaysListCompleteResult, error) { + return c.P2sVpnGatewaysListCompleteMatchingPredicate(ctx, id, P2SVpnGatewayOperationPredicate{}) +} + +// P2sVpnGatewaysListCompleteMatchingPredicate retrieves all the results and then applies the predicate +func (c VirtualWANsClient) P2sVpnGatewaysListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate P2SVpnGatewayOperationPredicate) (result P2sVpnGatewaysListCompleteResult, err error) { + items := make([]P2SVpnGateway, 0) + + resp, err := c.P2sVpnGatewaysList(ctx, id) + if err != nil { + result.LatestHttpResponse = resp.HttpResponse + err = fmt.Errorf("loading results: %+v", err) + return + } + if resp.Model != nil { + for _, v := range *resp.Model { + if predicate.Matches(v) { + items = append(items, v) + } + } + } + + result = P2sVpnGatewaysListCompleteResult{ + LatestHttpResponse: resp.HttpResponse, + Items: items, + } + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_p2svpngatewayslistbyresourcegroup.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_p2svpngatewayslistbyresourcegroup.go new file mode 100644 index 000000000000..1c57fc684fa1 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_p2svpngatewayslistbyresourcegroup.go @@ -0,0 +1,106 @@ +package virtualwans + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type P2sVpnGatewaysListByResourceGroupOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *[]P2SVpnGateway +} + +type P2sVpnGatewaysListByResourceGroupCompleteResult struct { + LatestHttpResponse *http.Response + Items []P2SVpnGateway +} + +type P2sVpnGatewaysListByResourceGroupCustomPager struct { + NextLink *odata.Link `json:"nextLink"` +} + +func (p *P2sVpnGatewaysListByResourceGroupCustomPager) NextPageLink() *odata.Link { + defer func() { + p.NextLink = nil + }() + + return p.NextLink +} + +// P2sVpnGatewaysListByResourceGroup ... +func (c VirtualWANsClient) P2sVpnGatewaysListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result P2sVpnGatewaysListByResourceGroupOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Pager: &P2sVpnGatewaysListByResourceGroupCustomPager{}, + Path: fmt.Sprintf("%s/providers/Microsoft.Network/p2sVpnGateways", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.ExecutePaged(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var values struct { + Values *[]P2SVpnGateway `json:"value"` + } + if err = resp.Unmarshal(&values); err != nil { + return + } + + result.Model = values.Values + + return +} + +// P2sVpnGatewaysListByResourceGroupComplete retrieves all the results into a single object +func (c VirtualWANsClient) P2sVpnGatewaysListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (P2sVpnGatewaysListByResourceGroupCompleteResult, error) { + return c.P2sVpnGatewaysListByResourceGroupCompleteMatchingPredicate(ctx, id, P2SVpnGatewayOperationPredicate{}) +} + +// P2sVpnGatewaysListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate +func (c VirtualWANsClient) P2sVpnGatewaysListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate P2SVpnGatewayOperationPredicate) (result P2sVpnGatewaysListByResourceGroupCompleteResult, err error) { + items := make([]P2SVpnGateway, 0) + + resp, err := c.P2sVpnGatewaysListByResourceGroup(ctx, id) + if err != nil { + result.LatestHttpResponse = resp.HttpResponse + err = fmt.Errorf("loading results: %+v", err) + return + } + if resp.Model != nil { + for _, v := range *resp.Model { + if predicate.Matches(v) { + items = append(items, v) + } + } + } + + result = P2sVpnGatewaysListByResourceGroupCompleteResult{ + LatestHttpResponse: resp.HttpResponse, + Items: items, + } + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_routemapscreateorupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_routemapscreateorupdate.go new file mode 100644 index 000000000000..ffcf789da292 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_routemapscreateorupdate.go @@ -0,0 +1,75 @@ +package virtualwans + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/client/pollers" + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type RouteMapsCreateOrUpdateOperationResponse struct { + Poller pollers.Poller + HttpResponse *http.Response + OData *odata.OData + Model *RouteMap +} + +// RouteMapsCreateOrUpdate ... +func (c VirtualWANsClient) RouteMapsCreateOrUpdate(ctx context.Context, id RouteMapId, input RouteMap) (result RouteMapsCreateOrUpdateOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusCreated, + http.StatusOK, + }, + HttpMethod: http.MethodPut, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + if err = req.Marshal(input); err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client) + if err != nil { + return + } + + return +} + +// RouteMapsCreateOrUpdateThenPoll performs RouteMapsCreateOrUpdate then polls until it's completed +func (c VirtualWANsClient) RouteMapsCreateOrUpdateThenPoll(ctx context.Context, id RouteMapId, input RouteMap) error { + result, err := c.RouteMapsCreateOrUpdate(ctx, id, input) + if err != nil { + return fmt.Errorf("performing RouteMapsCreateOrUpdate: %+v", err) + } + + if err := result.Poller.PollUntilDone(ctx); err != nil { + return fmt.Errorf("polling after RouteMapsCreateOrUpdate: %+v", err) + } + + return nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_routemapsdelete.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_routemapsdelete.go new file mode 100644 index 000000000000..f89977d5d946 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_routemapsdelete.go @@ -0,0 +1,71 @@ +package virtualwans + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/client/pollers" + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type RouteMapsDeleteOperationResponse struct { + Poller pollers.Poller + HttpResponse *http.Response + OData *odata.OData +} + +// RouteMapsDelete ... +func (c VirtualWANsClient) RouteMapsDelete(ctx context.Context, id RouteMapId) (result RouteMapsDeleteOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusAccepted, + http.StatusNoContent, + http.StatusOK, + }, + HttpMethod: http.MethodDelete, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client) + if err != nil { + return + } + + return +} + +// RouteMapsDeleteThenPoll performs RouteMapsDelete then polls until it's completed +func (c VirtualWANsClient) RouteMapsDeleteThenPoll(ctx context.Context, id RouteMapId) error { + result, err := c.RouteMapsDelete(ctx, id) + if err != nil { + return fmt.Errorf("performing RouteMapsDelete: %+v", err) + } + + if err := result.Poller.PollUntilDone(ctx); err != nil { + return fmt.Errorf("polling after RouteMapsDelete: %+v", err) + } + + return nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_routemapsget.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_routemapsget.go new file mode 100644 index 000000000000..c1db2c3033aa --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_routemapsget.go @@ -0,0 +1,53 @@ +package virtualwans + +import ( + "context" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type RouteMapsGetOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *RouteMap +} + +// RouteMapsGet ... +func (c VirtualWANsClient) RouteMapsGet(ctx context.Context, id RouteMapId) (result RouteMapsGetOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var model RouteMap + result.Model = &model + if err = resp.Unmarshal(result.Model); err != nil { + return + } + + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_routemapslist.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_routemapslist.go new file mode 100644 index 000000000000..a9eddc11d95f --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_routemapslist.go @@ -0,0 +1,105 @@ +package virtualwans + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type RouteMapsListOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *[]RouteMap +} + +type RouteMapsListCompleteResult struct { + LatestHttpResponse *http.Response + Items []RouteMap +} + +type RouteMapsListCustomPager struct { + NextLink *odata.Link `json:"nextLink"` +} + +func (p *RouteMapsListCustomPager) NextPageLink() *odata.Link { + defer func() { + p.NextLink = nil + }() + + return p.NextLink +} + +// RouteMapsList ... +func (c VirtualWANsClient) RouteMapsList(ctx context.Context, id VirtualHubId) (result RouteMapsListOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Pager: &RouteMapsListCustomPager{}, + Path: fmt.Sprintf("%s/routeMaps", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.ExecutePaged(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var values struct { + Values *[]RouteMap `json:"value"` + } + if err = resp.Unmarshal(&values); err != nil { + return + } + + result.Model = values.Values + + return +} + +// RouteMapsListComplete retrieves all the results into a single object +func (c VirtualWANsClient) RouteMapsListComplete(ctx context.Context, id VirtualHubId) (RouteMapsListCompleteResult, error) { + return c.RouteMapsListCompleteMatchingPredicate(ctx, id, RouteMapOperationPredicate{}) +} + +// RouteMapsListCompleteMatchingPredicate retrieves all the results and then applies the predicate +func (c VirtualWANsClient) RouteMapsListCompleteMatchingPredicate(ctx context.Context, id VirtualHubId, predicate RouteMapOperationPredicate) (result RouteMapsListCompleteResult, err error) { + items := make([]RouteMap, 0) + + resp, err := c.RouteMapsList(ctx, id) + if err != nil { + result.LatestHttpResponse = resp.HttpResponse + err = fmt.Errorf("loading results: %+v", err) + return + } + if resp.Model != nil { + for _, v := range *resp.Model { + if predicate.Matches(v) { + items = append(items, v) + } + } + } + + result = RouteMapsListCompleteResult{ + LatestHttpResponse: resp.HttpResponse, + Items: items, + } + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_routingintentcreateorupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_routingintentcreateorupdate.go new file mode 100644 index 000000000000..58de76624353 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_routingintentcreateorupdate.go @@ -0,0 +1,75 @@ +package virtualwans + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/client/pollers" + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type RoutingIntentCreateOrUpdateOperationResponse struct { + Poller pollers.Poller + HttpResponse *http.Response + OData *odata.OData + Model *RoutingIntent +} + +// RoutingIntentCreateOrUpdate ... +func (c VirtualWANsClient) RoutingIntentCreateOrUpdate(ctx context.Context, id RoutingIntentId, input RoutingIntent) (result RoutingIntentCreateOrUpdateOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusCreated, + http.StatusOK, + }, + HttpMethod: http.MethodPut, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + if err = req.Marshal(input); err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client) + if err != nil { + return + } + + return +} + +// RoutingIntentCreateOrUpdateThenPoll performs RoutingIntentCreateOrUpdate then polls until it's completed +func (c VirtualWANsClient) RoutingIntentCreateOrUpdateThenPoll(ctx context.Context, id RoutingIntentId, input RoutingIntent) error { + result, err := c.RoutingIntentCreateOrUpdate(ctx, id, input) + if err != nil { + return fmt.Errorf("performing RoutingIntentCreateOrUpdate: %+v", err) + } + + if err := result.Poller.PollUntilDone(ctx); err != nil { + return fmt.Errorf("polling after RoutingIntentCreateOrUpdate: %+v", err) + } + + return nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_routingintentdelete.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_routingintentdelete.go new file mode 100644 index 000000000000..dd481f41454c --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_routingintentdelete.go @@ -0,0 +1,71 @@ +package virtualwans + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/client/pollers" + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type RoutingIntentDeleteOperationResponse struct { + Poller pollers.Poller + HttpResponse *http.Response + OData *odata.OData +} + +// RoutingIntentDelete ... +func (c VirtualWANsClient) RoutingIntentDelete(ctx context.Context, id RoutingIntentId) (result RoutingIntentDeleteOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusAccepted, + http.StatusNoContent, + http.StatusOK, + }, + HttpMethod: http.MethodDelete, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client) + if err != nil { + return + } + + return +} + +// RoutingIntentDeleteThenPoll performs RoutingIntentDelete then polls until it's completed +func (c VirtualWANsClient) RoutingIntentDeleteThenPoll(ctx context.Context, id RoutingIntentId) error { + result, err := c.RoutingIntentDelete(ctx, id) + if err != nil { + return fmt.Errorf("performing RoutingIntentDelete: %+v", err) + } + + if err := result.Poller.PollUntilDone(ctx); err != nil { + return fmt.Errorf("polling after RoutingIntentDelete: %+v", err) + } + + return nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_routingintentget.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_routingintentget.go new file mode 100644 index 000000000000..fea07e77795f --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_routingintentget.go @@ -0,0 +1,53 @@ +package virtualwans + +import ( + "context" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type RoutingIntentGetOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *RoutingIntent +} + +// RoutingIntentGet ... +func (c VirtualWANsClient) RoutingIntentGet(ctx context.Context, id RoutingIntentId) (result RoutingIntentGetOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var model RoutingIntent + result.Model = &model + if err = resp.Unmarshal(result.Model); err != nil { + return + } + + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_routingintentlist.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_routingintentlist.go new file mode 100644 index 000000000000..b3edd99b5193 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_routingintentlist.go @@ -0,0 +1,105 @@ +package virtualwans + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type RoutingIntentListOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *[]RoutingIntent +} + +type RoutingIntentListCompleteResult struct { + LatestHttpResponse *http.Response + Items []RoutingIntent +} + +type RoutingIntentListCustomPager struct { + NextLink *odata.Link `json:"nextLink"` +} + +func (p *RoutingIntentListCustomPager) NextPageLink() *odata.Link { + defer func() { + p.NextLink = nil + }() + + return p.NextLink +} + +// RoutingIntentList ... +func (c VirtualWANsClient) RoutingIntentList(ctx context.Context, id VirtualHubId) (result RoutingIntentListOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Pager: &RoutingIntentListCustomPager{}, + Path: fmt.Sprintf("%s/routingIntent", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.ExecutePaged(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var values struct { + Values *[]RoutingIntent `json:"value"` + } + if err = resp.Unmarshal(&values); err != nil { + return + } + + result.Model = values.Values + + return +} + +// RoutingIntentListComplete retrieves all the results into a single object +func (c VirtualWANsClient) RoutingIntentListComplete(ctx context.Context, id VirtualHubId) (RoutingIntentListCompleteResult, error) { + return c.RoutingIntentListCompleteMatchingPredicate(ctx, id, RoutingIntentOperationPredicate{}) +} + +// RoutingIntentListCompleteMatchingPredicate retrieves all the results and then applies the predicate +func (c VirtualWANsClient) RoutingIntentListCompleteMatchingPredicate(ctx context.Context, id VirtualHubId, predicate RoutingIntentOperationPredicate) (result RoutingIntentListCompleteResult, err error) { + items := make([]RoutingIntent, 0) + + resp, err := c.RoutingIntentList(ctx, id) + if err != nil { + result.LatestHttpResponse = resp.HttpResponse + err = fmt.Errorf("loading results: %+v", err) + return + } + if resp.Model != nil { + for _, v := range *resp.Model { + if predicate.Matches(v) { + items = append(items, v) + } + } + } + + result = RoutingIntentListCompleteResult{ + LatestHttpResponse: resp.HttpResponse, + Items: items, + } + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_supportedsecurityproviders.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_supportedsecurityproviders.go new file mode 100644 index 000000000000..3351ee7549f0 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_supportedsecurityproviders.go @@ -0,0 +1,54 @@ +package virtualwans + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type SupportedSecurityProvidersOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *VirtualWanSecurityProviders +} + +// SupportedSecurityProviders ... +func (c VirtualWANsClient) SupportedSecurityProviders(ctx context.Context, id VirtualWANId) (result SupportedSecurityProvidersOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Path: fmt.Sprintf("%s/supportedSecurityProviders", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var model VirtualWanSecurityProviders + result.Model = &model + if err = resp.Unmarshal(result.Model); err != nil { + return + } + + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_updatetags.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_updatetags.go new file mode 100644 index 000000000000..42f292d4aeab --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_updatetags.go @@ -0,0 +1,57 @@ +package virtualwans + +import ( + "context" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type UpdateTagsOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *VirtualWAN +} + +// UpdateTags ... +func (c VirtualWANsClient) UpdateTags(ctx context.Context, id VirtualWANId, input TagsObject) (result UpdateTagsOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodPatch, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + if err = req.Marshal(input); err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var model VirtualWAN + result.Model = &model + if err = resp.Unmarshal(result.Model); err != nil { + return + } + + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_virtualhubbgpconnectioncreateorupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_virtualhubbgpconnectioncreateorupdate.go new file mode 100644 index 000000000000..3a42d5bcafd0 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_virtualhubbgpconnectioncreateorupdate.go @@ -0,0 +1,76 @@ +package virtualwans + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/client/pollers" + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VirtualHubBgpConnectionCreateOrUpdateOperationResponse struct { + Poller pollers.Poller + HttpResponse *http.Response + OData *odata.OData + Model *BgpConnection +} + +// VirtualHubBgpConnectionCreateOrUpdate ... +func (c VirtualWANsClient) VirtualHubBgpConnectionCreateOrUpdate(ctx context.Context, id commonids.VirtualHubBGPConnectionId, input BgpConnection) (result VirtualHubBgpConnectionCreateOrUpdateOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusCreated, + http.StatusOK, + }, + HttpMethod: http.MethodPut, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + if err = req.Marshal(input); err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client) + if err != nil { + return + } + + return +} + +// VirtualHubBgpConnectionCreateOrUpdateThenPoll performs VirtualHubBgpConnectionCreateOrUpdate then polls until it's completed +func (c VirtualWANsClient) VirtualHubBgpConnectionCreateOrUpdateThenPoll(ctx context.Context, id commonids.VirtualHubBGPConnectionId, input BgpConnection) error { + result, err := c.VirtualHubBgpConnectionCreateOrUpdate(ctx, id, input) + if err != nil { + return fmt.Errorf("performing VirtualHubBgpConnectionCreateOrUpdate: %+v", err) + } + + if err := result.Poller.PollUntilDone(ctx); err != nil { + return fmt.Errorf("polling after VirtualHubBgpConnectionCreateOrUpdate: %+v", err) + } + + return nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_virtualhubbgpconnectiondelete.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_virtualhubbgpconnectiondelete.go new file mode 100644 index 000000000000..b8f353d5be6d --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_virtualhubbgpconnectiondelete.go @@ -0,0 +1,72 @@ +package virtualwans + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/client/pollers" + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VirtualHubBgpConnectionDeleteOperationResponse struct { + Poller pollers.Poller + HttpResponse *http.Response + OData *odata.OData +} + +// VirtualHubBgpConnectionDelete ... +func (c VirtualWANsClient) VirtualHubBgpConnectionDelete(ctx context.Context, id commonids.VirtualHubBGPConnectionId) (result VirtualHubBgpConnectionDeleteOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusAccepted, + http.StatusNoContent, + http.StatusOK, + }, + HttpMethod: http.MethodDelete, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client) + if err != nil { + return + } + + return +} + +// VirtualHubBgpConnectionDeleteThenPoll performs VirtualHubBgpConnectionDelete then polls until it's completed +func (c VirtualWANsClient) VirtualHubBgpConnectionDeleteThenPoll(ctx context.Context, id commonids.VirtualHubBGPConnectionId) error { + result, err := c.VirtualHubBgpConnectionDelete(ctx, id) + if err != nil { + return fmt.Errorf("performing VirtualHubBgpConnectionDelete: %+v", err) + } + + if err := result.Poller.PollUntilDone(ctx); err != nil { + return fmt.Errorf("polling after VirtualHubBgpConnectionDelete: %+v", err) + } + + return nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_virtualhubbgpconnectionget.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_virtualhubbgpconnectionget.go new file mode 100644 index 000000000000..e4d4c41773aa --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_virtualhubbgpconnectionget.go @@ -0,0 +1,54 @@ +package virtualwans + +import ( + "context" + "net/http" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VirtualHubBgpConnectionGetOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *BgpConnection +} + +// VirtualHubBgpConnectionGet ... +func (c VirtualWANsClient) VirtualHubBgpConnectionGet(ctx context.Context, id commonids.VirtualHubBGPConnectionId) (result VirtualHubBgpConnectionGetOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var model BgpConnection + result.Model = &model + if err = resp.Unmarshal(result.Model); err != nil { + return + } + + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_virtualhubbgpconnectionslist.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_virtualhubbgpconnectionslist.go new file mode 100644 index 000000000000..802bf0b65b93 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_virtualhubbgpconnectionslist.go @@ -0,0 +1,105 @@ +package virtualwans + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VirtualHubBgpConnectionsListOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *[]BgpConnection +} + +type VirtualHubBgpConnectionsListCompleteResult struct { + LatestHttpResponse *http.Response + Items []BgpConnection +} + +type VirtualHubBgpConnectionsListCustomPager struct { + NextLink *odata.Link `json:"nextLink"` +} + +func (p *VirtualHubBgpConnectionsListCustomPager) NextPageLink() *odata.Link { + defer func() { + p.NextLink = nil + }() + + return p.NextLink +} + +// VirtualHubBgpConnectionsList ... +func (c VirtualWANsClient) VirtualHubBgpConnectionsList(ctx context.Context, id VirtualHubId) (result VirtualHubBgpConnectionsListOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Pager: &VirtualHubBgpConnectionsListCustomPager{}, + Path: fmt.Sprintf("%s/bgpConnections", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.ExecutePaged(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var values struct { + Values *[]BgpConnection `json:"value"` + } + if err = resp.Unmarshal(&values); err != nil { + return + } + + result.Model = values.Values + + return +} + +// VirtualHubBgpConnectionsListComplete retrieves all the results into a single object +func (c VirtualWANsClient) VirtualHubBgpConnectionsListComplete(ctx context.Context, id VirtualHubId) (VirtualHubBgpConnectionsListCompleteResult, error) { + return c.VirtualHubBgpConnectionsListCompleteMatchingPredicate(ctx, id, BgpConnectionOperationPredicate{}) +} + +// VirtualHubBgpConnectionsListCompleteMatchingPredicate retrieves all the results and then applies the predicate +func (c VirtualWANsClient) VirtualHubBgpConnectionsListCompleteMatchingPredicate(ctx context.Context, id VirtualHubId, predicate BgpConnectionOperationPredicate) (result VirtualHubBgpConnectionsListCompleteResult, err error) { + items := make([]BgpConnection, 0) + + resp, err := c.VirtualHubBgpConnectionsList(ctx, id) + if err != nil { + result.LatestHttpResponse = resp.HttpResponse + err = fmt.Errorf("loading results: %+v", err) + return + } + if resp.Model != nil { + for _, v := range *resp.Model { + if predicate.Matches(v) { + items = append(items, v) + } + } + } + + result = VirtualHubBgpConnectionsListCompleteResult{ + LatestHttpResponse: resp.HttpResponse, + Items: items, + } + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_virtualhubbgpconnectionslistadvertisedroutes.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_virtualhubbgpconnectionslistadvertisedroutes.go new file mode 100644 index 000000000000..6c0c2308e2b4 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_virtualhubbgpconnectionslistadvertisedroutes.go @@ -0,0 +1,72 @@ +package virtualwans + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/client/pollers" + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VirtualHubBgpConnectionsListAdvertisedRoutesOperationResponse struct { + Poller pollers.Poller + HttpResponse *http.Response + OData *odata.OData + Model *map[string][]PeerRoute +} + +// VirtualHubBgpConnectionsListAdvertisedRoutes ... +func (c VirtualWANsClient) VirtualHubBgpConnectionsListAdvertisedRoutes(ctx context.Context, id commonids.VirtualHubBGPConnectionId) (result VirtualHubBgpConnectionsListAdvertisedRoutesOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusAccepted, + http.StatusOK, + }, + HttpMethod: http.MethodPost, + Path: fmt.Sprintf("%s/advertisedRoutes", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client) + if err != nil { + return + } + + return +} + +// VirtualHubBgpConnectionsListAdvertisedRoutesThenPoll performs VirtualHubBgpConnectionsListAdvertisedRoutes then polls until it's completed +func (c VirtualWANsClient) VirtualHubBgpConnectionsListAdvertisedRoutesThenPoll(ctx context.Context, id commonids.VirtualHubBGPConnectionId) error { + result, err := c.VirtualHubBgpConnectionsListAdvertisedRoutes(ctx, id) + if err != nil { + return fmt.Errorf("performing VirtualHubBgpConnectionsListAdvertisedRoutes: %+v", err) + } + + if err := result.Poller.PollUntilDone(ctx); err != nil { + return fmt.Errorf("polling after VirtualHubBgpConnectionsListAdvertisedRoutes: %+v", err) + } + + return nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_virtualhubbgpconnectionslistlearnedroutes.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_virtualhubbgpconnectionslistlearnedroutes.go new file mode 100644 index 000000000000..4c6842802ef8 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_virtualhubbgpconnectionslistlearnedroutes.go @@ -0,0 +1,72 @@ +package virtualwans + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/client/pollers" + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VirtualHubBgpConnectionsListLearnedRoutesOperationResponse struct { + Poller pollers.Poller + HttpResponse *http.Response + OData *odata.OData + Model *map[string][]PeerRoute +} + +// VirtualHubBgpConnectionsListLearnedRoutes ... +func (c VirtualWANsClient) VirtualHubBgpConnectionsListLearnedRoutes(ctx context.Context, id commonids.VirtualHubBGPConnectionId) (result VirtualHubBgpConnectionsListLearnedRoutesOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusAccepted, + http.StatusOK, + }, + HttpMethod: http.MethodPost, + Path: fmt.Sprintf("%s/learnedRoutes", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client) + if err != nil { + return + } + + return +} + +// VirtualHubBgpConnectionsListLearnedRoutesThenPoll performs VirtualHubBgpConnectionsListLearnedRoutes then polls until it's completed +func (c VirtualWANsClient) VirtualHubBgpConnectionsListLearnedRoutesThenPoll(ctx context.Context, id commonids.VirtualHubBGPConnectionId) error { + result, err := c.VirtualHubBgpConnectionsListLearnedRoutes(ctx, id) + if err != nil { + return fmt.Errorf("performing VirtualHubBgpConnectionsListLearnedRoutes: %+v", err) + } + + if err := result.Poller.PollUntilDone(ctx); err != nil { + return fmt.Errorf("polling after VirtualHubBgpConnectionsListLearnedRoutes: %+v", err) + } + + return nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_virtualhubipconfigurationcreateorupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_virtualhubipconfigurationcreateorupdate.go new file mode 100644 index 000000000000..dfb4925ba517 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_virtualhubipconfigurationcreateorupdate.go @@ -0,0 +1,76 @@ +package virtualwans + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/client/pollers" + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VirtualHubIPConfigurationCreateOrUpdateOperationResponse struct { + Poller pollers.Poller + HttpResponse *http.Response + OData *odata.OData + Model *HubIPConfiguration +} + +// VirtualHubIPConfigurationCreateOrUpdate ... +func (c VirtualWANsClient) VirtualHubIPConfigurationCreateOrUpdate(ctx context.Context, id commonids.VirtualHubIPConfigurationId, input HubIPConfiguration) (result VirtualHubIPConfigurationCreateOrUpdateOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusCreated, + http.StatusOK, + }, + HttpMethod: http.MethodPut, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + if err = req.Marshal(input); err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client) + if err != nil { + return + } + + return +} + +// VirtualHubIPConfigurationCreateOrUpdateThenPoll performs VirtualHubIPConfigurationCreateOrUpdate then polls until it's completed +func (c VirtualWANsClient) VirtualHubIPConfigurationCreateOrUpdateThenPoll(ctx context.Context, id commonids.VirtualHubIPConfigurationId, input HubIPConfiguration) error { + result, err := c.VirtualHubIPConfigurationCreateOrUpdate(ctx, id, input) + if err != nil { + return fmt.Errorf("performing VirtualHubIPConfigurationCreateOrUpdate: %+v", err) + } + + if err := result.Poller.PollUntilDone(ctx); err != nil { + return fmt.Errorf("polling after VirtualHubIPConfigurationCreateOrUpdate: %+v", err) + } + + return nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_virtualhubipconfigurationdelete.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_virtualhubipconfigurationdelete.go new file mode 100644 index 000000000000..36341aa33f78 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_virtualhubipconfigurationdelete.go @@ -0,0 +1,72 @@ +package virtualwans + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/client/pollers" + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VirtualHubIPConfigurationDeleteOperationResponse struct { + Poller pollers.Poller + HttpResponse *http.Response + OData *odata.OData +} + +// VirtualHubIPConfigurationDelete ... +func (c VirtualWANsClient) VirtualHubIPConfigurationDelete(ctx context.Context, id commonids.VirtualHubIPConfigurationId) (result VirtualHubIPConfigurationDeleteOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusAccepted, + http.StatusNoContent, + http.StatusOK, + }, + HttpMethod: http.MethodDelete, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client) + if err != nil { + return + } + + return +} + +// VirtualHubIPConfigurationDeleteThenPoll performs VirtualHubIPConfigurationDelete then polls until it's completed +func (c VirtualWANsClient) VirtualHubIPConfigurationDeleteThenPoll(ctx context.Context, id commonids.VirtualHubIPConfigurationId) error { + result, err := c.VirtualHubIPConfigurationDelete(ctx, id) + if err != nil { + return fmt.Errorf("performing VirtualHubIPConfigurationDelete: %+v", err) + } + + if err := result.Poller.PollUntilDone(ctx); err != nil { + return fmt.Errorf("polling after VirtualHubIPConfigurationDelete: %+v", err) + } + + return nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_virtualhubipconfigurationget.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_virtualhubipconfigurationget.go new file mode 100644 index 000000000000..c4abe2347849 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_virtualhubipconfigurationget.go @@ -0,0 +1,54 @@ +package virtualwans + +import ( + "context" + "net/http" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VirtualHubIPConfigurationGetOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *HubIPConfiguration +} + +// VirtualHubIPConfigurationGet ... +func (c VirtualWANsClient) VirtualHubIPConfigurationGet(ctx context.Context, id commonids.VirtualHubIPConfigurationId) (result VirtualHubIPConfigurationGetOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var model HubIPConfiguration + result.Model = &model + if err = resp.Unmarshal(result.Model); err != nil { + return + } + + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_virtualhubipconfigurationlist.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_virtualhubipconfigurationlist.go new file mode 100644 index 000000000000..8ae13b9fb7d0 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_virtualhubipconfigurationlist.go @@ -0,0 +1,105 @@ +package virtualwans + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VirtualHubIPConfigurationListOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *[]HubIPConfiguration +} + +type VirtualHubIPConfigurationListCompleteResult struct { + LatestHttpResponse *http.Response + Items []HubIPConfiguration +} + +type VirtualHubIPConfigurationListCustomPager struct { + NextLink *odata.Link `json:"nextLink"` +} + +func (p *VirtualHubIPConfigurationListCustomPager) NextPageLink() *odata.Link { + defer func() { + p.NextLink = nil + }() + + return p.NextLink +} + +// VirtualHubIPConfigurationList ... +func (c VirtualWANsClient) VirtualHubIPConfigurationList(ctx context.Context, id VirtualHubId) (result VirtualHubIPConfigurationListOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Pager: &VirtualHubIPConfigurationListCustomPager{}, + Path: fmt.Sprintf("%s/ipConfigurations", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.ExecutePaged(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var values struct { + Values *[]HubIPConfiguration `json:"value"` + } + if err = resp.Unmarshal(&values); err != nil { + return + } + + result.Model = values.Values + + return +} + +// VirtualHubIPConfigurationListComplete retrieves all the results into a single object +func (c VirtualWANsClient) VirtualHubIPConfigurationListComplete(ctx context.Context, id VirtualHubId) (VirtualHubIPConfigurationListCompleteResult, error) { + return c.VirtualHubIPConfigurationListCompleteMatchingPredicate(ctx, id, HubIPConfigurationOperationPredicate{}) +} + +// VirtualHubIPConfigurationListCompleteMatchingPredicate retrieves all the results and then applies the predicate +func (c VirtualWANsClient) VirtualHubIPConfigurationListCompleteMatchingPredicate(ctx context.Context, id VirtualHubId, predicate HubIPConfigurationOperationPredicate) (result VirtualHubIPConfigurationListCompleteResult, err error) { + items := make([]HubIPConfiguration, 0) + + resp, err := c.VirtualHubIPConfigurationList(ctx, id) + if err != nil { + result.LatestHttpResponse = resp.HttpResponse + err = fmt.Errorf("loading results: %+v", err) + return + } + if resp.Model != nil { + for _, v := range *resp.Model { + if predicate.Matches(v) { + items = append(items, v) + } + } + } + + result = VirtualHubIPConfigurationListCompleteResult{ + LatestHttpResponse: resp.HttpResponse, + Items: items, + } + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_virtualhubroutetablev2screateorupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_virtualhubroutetablev2screateorupdate.go new file mode 100644 index 000000000000..b7e92feb6c7f --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_virtualhubroutetablev2screateorupdate.go @@ -0,0 +1,75 @@ +package virtualwans + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/client/pollers" + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VirtualHubRouteTableV2sCreateOrUpdateOperationResponse struct { + Poller pollers.Poller + HttpResponse *http.Response + OData *odata.OData + Model *VirtualHubRouteTableV2 +} + +// VirtualHubRouteTableV2sCreateOrUpdate ... +func (c VirtualWANsClient) VirtualHubRouteTableV2sCreateOrUpdate(ctx context.Context, id VirtualHubRouteTableId, input VirtualHubRouteTableV2) (result VirtualHubRouteTableV2sCreateOrUpdateOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusCreated, + http.StatusOK, + }, + HttpMethod: http.MethodPut, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + if err = req.Marshal(input); err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client) + if err != nil { + return + } + + return +} + +// VirtualHubRouteTableV2sCreateOrUpdateThenPoll performs VirtualHubRouteTableV2sCreateOrUpdate then polls until it's completed +func (c VirtualWANsClient) VirtualHubRouteTableV2sCreateOrUpdateThenPoll(ctx context.Context, id VirtualHubRouteTableId, input VirtualHubRouteTableV2) error { + result, err := c.VirtualHubRouteTableV2sCreateOrUpdate(ctx, id, input) + if err != nil { + return fmt.Errorf("performing VirtualHubRouteTableV2sCreateOrUpdate: %+v", err) + } + + if err := result.Poller.PollUntilDone(ctx); err != nil { + return fmt.Errorf("polling after VirtualHubRouteTableV2sCreateOrUpdate: %+v", err) + } + + return nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_virtualhubroutetablev2sdelete.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_virtualhubroutetablev2sdelete.go new file mode 100644 index 000000000000..91cc7babd282 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_virtualhubroutetablev2sdelete.go @@ -0,0 +1,71 @@ +package virtualwans + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/client/pollers" + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VirtualHubRouteTableV2sDeleteOperationResponse struct { + Poller pollers.Poller + HttpResponse *http.Response + OData *odata.OData +} + +// VirtualHubRouteTableV2sDelete ... +func (c VirtualWANsClient) VirtualHubRouteTableV2sDelete(ctx context.Context, id VirtualHubRouteTableId) (result VirtualHubRouteTableV2sDeleteOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusAccepted, + http.StatusNoContent, + http.StatusOK, + }, + HttpMethod: http.MethodDelete, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client) + if err != nil { + return + } + + return +} + +// VirtualHubRouteTableV2sDeleteThenPoll performs VirtualHubRouteTableV2sDelete then polls until it's completed +func (c VirtualWANsClient) VirtualHubRouteTableV2sDeleteThenPoll(ctx context.Context, id VirtualHubRouteTableId) error { + result, err := c.VirtualHubRouteTableV2sDelete(ctx, id) + if err != nil { + return fmt.Errorf("performing VirtualHubRouteTableV2sDelete: %+v", err) + } + + if err := result.Poller.PollUntilDone(ctx); err != nil { + return fmt.Errorf("polling after VirtualHubRouteTableV2sDelete: %+v", err) + } + + return nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_virtualhubroutetablev2sget.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_virtualhubroutetablev2sget.go new file mode 100644 index 000000000000..0d274e1355a4 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_virtualhubroutetablev2sget.go @@ -0,0 +1,53 @@ +package virtualwans + +import ( + "context" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VirtualHubRouteTableV2sGetOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *VirtualHubRouteTableV2 +} + +// VirtualHubRouteTableV2sGet ... +func (c VirtualWANsClient) VirtualHubRouteTableV2sGet(ctx context.Context, id VirtualHubRouteTableId) (result VirtualHubRouteTableV2sGetOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var model VirtualHubRouteTableV2 + result.Model = &model + if err = resp.Unmarshal(result.Model); err != nil { + return + } + + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_virtualhubroutetablev2slist.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_virtualhubroutetablev2slist.go new file mode 100644 index 000000000000..cf9c9ef61a36 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_virtualhubroutetablev2slist.go @@ -0,0 +1,105 @@ +package virtualwans + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VirtualHubRouteTableV2sListOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *[]VirtualHubRouteTableV2 +} + +type VirtualHubRouteTableV2sListCompleteResult struct { + LatestHttpResponse *http.Response + Items []VirtualHubRouteTableV2 +} + +type VirtualHubRouteTableV2sListCustomPager struct { + NextLink *odata.Link `json:"nextLink"` +} + +func (p *VirtualHubRouteTableV2sListCustomPager) NextPageLink() *odata.Link { + defer func() { + p.NextLink = nil + }() + + return p.NextLink +} + +// VirtualHubRouteTableV2sList ... +func (c VirtualWANsClient) VirtualHubRouteTableV2sList(ctx context.Context, id VirtualHubId) (result VirtualHubRouteTableV2sListOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Pager: &VirtualHubRouteTableV2sListCustomPager{}, + Path: fmt.Sprintf("%s/routeTables", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.ExecutePaged(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var values struct { + Values *[]VirtualHubRouteTableV2 `json:"value"` + } + if err = resp.Unmarshal(&values); err != nil { + return + } + + result.Model = values.Values + + return +} + +// VirtualHubRouteTableV2sListComplete retrieves all the results into a single object +func (c VirtualWANsClient) VirtualHubRouteTableV2sListComplete(ctx context.Context, id VirtualHubId) (VirtualHubRouteTableV2sListCompleteResult, error) { + return c.VirtualHubRouteTableV2sListCompleteMatchingPredicate(ctx, id, VirtualHubRouteTableV2OperationPredicate{}) +} + +// VirtualHubRouteTableV2sListCompleteMatchingPredicate retrieves all the results and then applies the predicate +func (c VirtualWANsClient) VirtualHubRouteTableV2sListCompleteMatchingPredicate(ctx context.Context, id VirtualHubId, predicate VirtualHubRouteTableV2OperationPredicate) (result VirtualHubRouteTableV2sListCompleteResult, err error) { + items := make([]VirtualHubRouteTableV2, 0) + + resp, err := c.VirtualHubRouteTableV2sList(ctx, id) + if err != nil { + result.LatestHttpResponse = resp.HttpResponse + err = fmt.Errorf("loading results: %+v", err) + return + } + if resp.Model != nil { + for _, v := range *resp.Model { + if predicate.Matches(v) { + items = append(items, v) + } + } + } + + result = VirtualHubRouteTableV2sListCompleteResult{ + LatestHttpResponse: resp.HttpResponse, + Items: items, + } + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_virtualhubscreateorupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_virtualhubscreateorupdate.go new file mode 100644 index 000000000000..6b78901c93c2 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_virtualhubscreateorupdate.go @@ -0,0 +1,75 @@ +package virtualwans + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/client/pollers" + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VirtualHubsCreateOrUpdateOperationResponse struct { + Poller pollers.Poller + HttpResponse *http.Response + OData *odata.OData + Model *VirtualHub +} + +// VirtualHubsCreateOrUpdate ... +func (c VirtualWANsClient) VirtualHubsCreateOrUpdate(ctx context.Context, id VirtualHubId, input VirtualHub) (result VirtualHubsCreateOrUpdateOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusCreated, + http.StatusOK, + }, + HttpMethod: http.MethodPut, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + if err = req.Marshal(input); err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client) + if err != nil { + return + } + + return +} + +// VirtualHubsCreateOrUpdateThenPoll performs VirtualHubsCreateOrUpdate then polls until it's completed +func (c VirtualWANsClient) VirtualHubsCreateOrUpdateThenPoll(ctx context.Context, id VirtualHubId, input VirtualHub) error { + result, err := c.VirtualHubsCreateOrUpdate(ctx, id, input) + if err != nil { + return fmt.Errorf("performing VirtualHubsCreateOrUpdate: %+v", err) + } + + if err := result.Poller.PollUntilDone(ctx); err != nil { + return fmt.Errorf("polling after VirtualHubsCreateOrUpdate: %+v", err) + } + + return nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_virtualhubsdelete.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_virtualhubsdelete.go new file mode 100644 index 000000000000..70eebb0a3430 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_virtualhubsdelete.go @@ -0,0 +1,71 @@ +package virtualwans + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/client/pollers" + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VirtualHubsDeleteOperationResponse struct { + Poller pollers.Poller + HttpResponse *http.Response + OData *odata.OData +} + +// VirtualHubsDelete ... +func (c VirtualWANsClient) VirtualHubsDelete(ctx context.Context, id VirtualHubId) (result VirtualHubsDeleteOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusAccepted, + http.StatusNoContent, + http.StatusOK, + }, + HttpMethod: http.MethodDelete, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client) + if err != nil { + return + } + + return +} + +// VirtualHubsDeleteThenPoll performs VirtualHubsDelete then polls until it's completed +func (c VirtualWANsClient) VirtualHubsDeleteThenPoll(ctx context.Context, id VirtualHubId) error { + result, err := c.VirtualHubsDelete(ctx, id) + if err != nil { + return fmt.Errorf("performing VirtualHubsDelete: %+v", err) + } + + if err := result.Poller.PollUntilDone(ctx); err != nil { + return fmt.Errorf("polling after VirtualHubsDelete: %+v", err) + } + + return nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_virtualhubsget.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_virtualhubsget.go new file mode 100644 index 000000000000..0b1bcbe8573f --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_virtualhubsget.go @@ -0,0 +1,53 @@ +package virtualwans + +import ( + "context" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VirtualHubsGetOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *VirtualHub +} + +// VirtualHubsGet ... +func (c VirtualWANsClient) VirtualHubsGet(ctx context.Context, id VirtualHubId) (result VirtualHubsGetOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var model VirtualHub + result.Model = &model + if err = resp.Unmarshal(result.Model); err != nil { + return + } + + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_virtualhubsgeteffectivevirtualhubroutes.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_virtualhubsgeteffectivevirtualhubroutes.go new file mode 100644 index 000000000000..1bbae403695d --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_virtualhubsgeteffectivevirtualhubroutes.go @@ -0,0 +1,75 @@ +package virtualwans + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/client/pollers" + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VirtualHubsGetEffectiveVirtualHubRoutesOperationResponse struct { + Poller pollers.Poller + HttpResponse *http.Response + OData *odata.OData + Model *VirtualHubEffectiveRouteList +} + +// VirtualHubsGetEffectiveVirtualHubRoutes ... +func (c VirtualWANsClient) VirtualHubsGetEffectiveVirtualHubRoutes(ctx context.Context, id VirtualHubId, input EffectiveRoutesParameters) (result VirtualHubsGetEffectiveVirtualHubRoutesOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusAccepted, + http.StatusOK, + }, + HttpMethod: http.MethodPost, + Path: fmt.Sprintf("%s/effectiveRoutes", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + if err = req.Marshal(input); err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client) + if err != nil { + return + } + + return +} + +// VirtualHubsGetEffectiveVirtualHubRoutesThenPoll performs VirtualHubsGetEffectiveVirtualHubRoutes then polls until it's completed +func (c VirtualWANsClient) VirtualHubsGetEffectiveVirtualHubRoutesThenPoll(ctx context.Context, id VirtualHubId, input EffectiveRoutesParameters) error { + result, err := c.VirtualHubsGetEffectiveVirtualHubRoutes(ctx, id, input) + if err != nil { + return fmt.Errorf("performing VirtualHubsGetEffectiveVirtualHubRoutes: %+v", err) + } + + if err := result.Poller.PollUntilDone(ctx); err != nil { + return fmt.Errorf("polling after VirtualHubsGetEffectiveVirtualHubRoutes: %+v", err) + } + + return nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_virtualhubsgetinboundroutes.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_virtualhubsgetinboundroutes.go new file mode 100644 index 000000000000..03114d0c238b --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_virtualhubsgetinboundroutes.go @@ -0,0 +1,75 @@ +package virtualwans + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/client/pollers" + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VirtualHubsGetInboundRoutesOperationResponse struct { + Poller pollers.Poller + HttpResponse *http.Response + OData *odata.OData + Model *EffectiveRouteMapRouteList +} + +// VirtualHubsGetInboundRoutes ... +func (c VirtualWANsClient) VirtualHubsGetInboundRoutes(ctx context.Context, id VirtualHubId, input GetInboundRoutesParameters) (result VirtualHubsGetInboundRoutesOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusAccepted, + http.StatusOK, + }, + HttpMethod: http.MethodPost, + Path: fmt.Sprintf("%s/inboundRoutes", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + if err = req.Marshal(input); err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client) + if err != nil { + return + } + + return +} + +// VirtualHubsGetInboundRoutesThenPoll performs VirtualHubsGetInboundRoutes then polls until it's completed +func (c VirtualWANsClient) VirtualHubsGetInboundRoutesThenPoll(ctx context.Context, id VirtualHubId, input GetInboundRoutesParameters) error { + result, err := c.VirtualHubsGetInboundRoutes(ctx, id, input) + if err != nil { + return fmt.Errorf("performing VirtualHubsGetInboundRoutes: %+v", err) + } + + if err := result.Poller.PollUntilDone(ctx); err != nil { + return fmt.Errorf("polling after VirtualHubsGetInboundRoutes: %+v", err) + } + + return nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_virtualhubsgetoutboundroutes.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_virtualhubsgetoutboundroutes.go new file mode 100644 index 000000000000..9a715f996132 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_virtualhubsgetoutboundroutes.go @@ -0,0 +1,75 @@ +package virtualwans + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/client/pollers" + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VirtualHubsGetOutboundRoutesOperationResponse struct { + Poller pollers.Poller + HttpResponse *http.Response + OData *odata.OData + Model *EffectiveRouteMapRouteList +} + +// VirtualHubsGetOutboundRoutes ... +func (c VirtualWANsClient) VirtualHubsGetOutboundRoutes(ctx context.Context, id VirtualHubId, input GetOutboundRoutesParameters) (result VirtualHubsGetOutboundRoutesOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusAccepted, + http.StatusOK, + }, + HttpMethod: http.MethodPost, + Path: fmt.Sprintf("%s/outboundRoutes", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + if err = req.Marshal(input); err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client) + if err != nil { + return + } + + return +} + +// VirtualHubsGetOutboundRoutesThenPoll performs VirtualHubsGetOutboundRoutes then polls until it's completed +func (c VirtualWANsClient) VirtualHubsGetOutboundRoutesThenPoll(ctx context.Context, id VirtualHubId, input GetOutboundRoutesParameters) error { + result, err := c.VirtualHubsGetOutboundRoutes(ctx, id, input) + if err != nil { + return fmt.Errorf("performing VirtualHubsGetOutboundRoutes: %+v", err) + } + + if err := result.Poller.PollUntilDone(ctx); err != nil { + return fmt.Errorf("polling after VirtualHubsGetOutboundRoutes: %+v", err) + } + + return nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_virtualhubslist.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_virtualhubslist.go new file mode 100644 index 000000000000..d8fa38052338 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_virtualhubslist.go @@ -0,0 +1,106 @@ +package virtualwans + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VirtualHubsListOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *[]VirtualHub +} + +type VirtualHubsListCompleteResult struct { + LatestHttpResponse *http.Response + Items []VirtualHub +} + +type VirtualHubsListCustomPager struct { + NextLink *odata.Link `json:"nextLink"` +} + +func (p *VirtualHubsListCustomPager) NextPageLink() *odata.Link { + defer func() { + p.NextLink = nil + }() + + return p.NextLink +} + +// VirtualHubsList ... +func (c VirtualWANsClient) VirtualHubsList(ctx context.Context, id commonids.SubscriptionId) (result VirtualHubsListOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Pager: &VirtualHubsListCustomPager{}, + Path: fmt.Sprintf("%s/providers/Microsoft.Network/virtualHubs", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.ExecutePaged(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var values struct { + Values *[]VirtualHub `json:"value"` + } + if err = resp.Unmarshal(&values); err != nil { + return + } + + result.Model = values.Values + + return +} + +// VirtualHubsListComplete retrieves all the results into a single object +func (c VirtualWANsClient) VirtualHubsListComplete(ctx context.Context, id commonids.SubscriptionId) (VirtualHubsListCompleteResult, error) { + return c.VirtualHubsListCompleteMatchingPredicate(ctx, id, VirtualHubOperationPredicate{}) +} + +// VirtualHubsListCompleteMatchingPredicate retrieves all the results and then applies the predicate +func (c VirtualWANsClient) VirtualHubsListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate VirtualHubOperationPredicate) (result VirtualHubsListCompleteResult, err error) { + items := make([]VirtualHub, 0) + + resp, err := c.VirtualHubsList(ctx, id) + if err != nil { + result.LatestHttpResponse = resp.HttpResponse + err = fmt.Errorf("loading results: %+v", err) + return + } + if resp.Model != nil { + for _, v := range *resp.Model { + if predicate.Matches(v) { + items = append(items, v) + } + } + } + + result = VirtualHubsListCompleteResult{ + LatestHttpResponse: resp.HttpResponse, + Items: items, + } + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_virtualhubslistbyresourcegroup.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_virtualhubslistbyresourcegroup.go new file mode 100644 index 000000000000..9427d5420933 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_virtualhubslistbyresourcegroup.go @@ -0,0 +1,106 @@ +package virtualwans + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VirtualHubsListByResourceGroupOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *[]VirtualHub +} + +type VirtualHubsListByResourceGroupCompleteResult struct { + LatestHttpResponse *http.Response + Items []VirtualHub +} + +type VirtualHubsListByResourceGroupCustomPager struct { + NextLink *odata.Link `json:"nextLink"` +} + +func (p *VirtualHubsListByResourceGroupCustomPager) NextPageLink() *odata.Link { + defer func() { + p.NextLink = nil + }() + + return p.NextLink +} + +// VirtualHubsListByResourceGroup ... +func (c VirtualWANsClient) VirtualHubsListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result VirtualHubsListByResourceGroupOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Pager: &VirtualHubsListByResourceGroupCustomPager{}, + Path: fmt.Sprintf("%s/providers/Microsoft.Network/virtualHubs", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.ExecutePaged(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var values struct { + Values *[]VirtualHub `json:"value"` + } + if err = resp.Unmarshal(&values); err != nil { + return + } + + result.Model = values.Values + + return +} + +// VirtualHubsListByResourceGroupComplete retrieves all the results into a single object +func (c VirtualWANsClient) VirtualHubsListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (VirtualHubsListByResourceGroupCompleteResult, error) { + return c.VirtualHubsListByResourceGroupCompleteMatchingPredicate(ctx, id, VirtualHubOperationPredicate{}) +} + +// VirtualHubsListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate +func (c VirtualWANsClient) VirtualHubsListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate VirtualHubOperationPredicate) (result VirtualHubsListByResourceGroupCompleteResult, err error) { + items := make([]VirtualHub, 0) + + resp, err := c.VirtualHubsListByResourceGroup(ctx, id) + if err != nil { + result.LatestHttpResponse = resp.HttpResponse + err = fmt.Errorf("loading results: %+v", err) + return + } + if resp.Model != nil { + for _, v := range *resp.Model { + if predicate.Matches(v) { + items = append(items, v) + } + } + } + + result = VirtualHubsListByResourceGroupCompleteResult{ + LatestHttpResponse: resp.HttpResponse, + Items: items, + } + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_virtualhubsupdatetags.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_virtualhubsupdatetags.go new file mode 100644 index 000000000000..23f6df527430 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_virtualhubsupdatetags.go @@ -0,0 +1,57 @@ +package virtualwans + +import ( + "context" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VirtualHubsUpdateTagsOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *VirtualHub +} + +// VirtualHubsUpdateTags ... +func (c VirtualWANsClient) VirtualHubsUpdateTags(ctx context.Context, id VirtualHubId, input TagsObject) (result VirtualHubsUpdateTagsOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodPatch, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + if err = req.Marshal(input); err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var model VirtualHub + result.Model = &model + if err = resp.Unmarshal(result.Model); err != nil { + return + } + + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_virtualwanscreateorupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_virtualwanscreateorupdate.go new file mode 100644 index 000000000000..310b768e4e5e --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_virtualwanscreateorupdate.go @@ -0,0 +1,75 @@ +package virtualwans + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/client/pollers" + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VirtualWansCreateOrUpdateOperationResponse struct { + Poller pollers.Poller + HttpResponse *http.Response + OData *odata.OData + Model *VirtualWAN +} + +// VirtualWansCreateOrUpdate ... +func (c VirtualWANsClient) VirtualWansCreateOrUpdate(ctx context.Context, id VirtualWANId, input VirtualWAN) (result VirtualWansCreateOrUpdateOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusCreated, + http.StatusOK, + }, + HttpMethod: http.MethodPut, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + if err = req.Marshal(input); err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client) + if err != nil { + return + } + + return +} + +// VirtualWansCreateOrUpdateThenPoll performs VirtualWansCreateOrUpdate then polls until it's completed +func (c VirtualWANsClient) VirtualWansCreateOrUpdateThenPoll(ctx context.Context, id VirtualWANId, input VirtualWAN) error { + result, err := c.VirtualWansCreateOrUpdate(ctx, id, input) + if err != nil { + return fmt.Errorf("performing VirtualWansCreateOrUpdate: %+v", err) + } + + if err := result.Poller.PollUntilDone(ctx); err != nil { + return fmt.Errorf("polling after VirtualWansCreateOrUpdate: %+v", err) + } + + return nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_virtualwansdelete.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_virtualwansdelete.go new file mode 100644 index 000000000000..4ce708a8eddd --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_virtualwansdelete.go @@ -0,0 +1,71 @@ +package virtualwans + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/client/pollers" + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VirtualWansDeleteOperationResponse struct { + Poller pollers.Poller + HttpResponse *http.Response + OData *odata.OData +} + +// VirtualWansDelete ... +func (c VirtualWANsClient) VirtualWansDelete(ctx context.Context, id VirtualWANId) (result VirtualWansDeleteOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusAccepted, + http.StatusNoContent, + http.StatusOK, + }, + HttpMethod: http.MethodDelete, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client) + if err != nil { + return + } + + return +} + +// VirtualWansDeleteThenPoll performs VirtualWansDelete then polls until it's completed +func (c VirtualWANsClient) VirtualWansDeleteThenPoll(ctx context.Context, id VirtualWANId) error { + result, err := c.VirtualWansDelete(ctx, id) + if err != nil { + return fmt.Errorf("performing VirtualWansDelete: %+v", err) + } + + if err := result.Poller.PollUntilDone(ctx); err != nil { + return fmt.Errorf("polling after VirtualWansDelete: %+v", err) + } + + return nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_virtualwansget.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_virtualwansget.go new file mode 100644 index 000000000000..66d801a779aa --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_virtualwansget.go @@ -0,0 +1,53 @@ +package virtualwans + +import ( + "context" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VirtualWansGetOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *VirtualWAN +} + +// VirtualWansGet ... +func (c VirtualWANsClient) VirtualWansGet(ctx context.Context, id VirtualWANId) (result VirtualWansGetOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var model VirtualWAN + result.Model = &model + if err = resp.Unmarshal(result.Model); err != nil { + return + } + + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_virtualwanslist.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_virtualwanslist.go new file mode 100644 index 000000000000..8a8cb8514e3d --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_virtualwanslist.go @@ -0,0 +1,106 @@ +package virtualwans + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VirtualWansListOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *[]VirtualWAN +} + +type VirtualWansListCompleteResult struct { + LatestHttpResponse *http.Response + Items []VirtualWAN +} + +type VirtualWansListCustomPager struct { + NextLink *odata.Link `json:"nextLink"` +} + +func (p *VirtualWansListCustomPager) NextPageLink() *odata.Link { + defer func() { + p.NextLink = nil + }() + + return p.NextLink +} + +// VirtualWansList ... +func (c VirtualWANsClient) VirtualWansList(ctx context.Context, id commonids.SubscriptionId) (result VirtualWansListOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Pager: &VirtualWansListCustomPager{}, + Path: fmt.Sprintf("%s/providers/Microsoft.Network/virtualWans", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.ExecutePaged(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var values struct { + Values *[]VirtualWAN `json:"value"` + } + if err = resp.Unmarshal(&values); err != nil { + return + } + + result.Model = values.Values + + return +} + +// VirtualWansListComplete retrieves all the results into a single object +func (c VirtualWANsClient) VirtualWansListComplete(ctx context.Context, id commonids.SubscriptionId) (VirtualWansListCompleteResult, error) { + return c.VirtualWansListCompleteMatchingPredicate(ctx, id, VirtualWANOperationPredicate{}) +} + +// VirtualWansListCompleteMatchingPredicate retrieves all the results and then applies the predicate +func (c VirtualWANsClient) VirtualWansListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate VirtualWANOperationPredicate) (result VirtualWansListCompleteResult, err error) { + items := make([]VirtualWAN, 0) + + resp, err := c.VirtualWansList(ctx, id) + if err != nil { + result.LatestHttpResponse = resp.HttpResponse + err = fmt.Errorf("loading results: %+v", err) + return + } + if resp.Model != nil { + for _, v := range *resp.Model { + if predicate.Matches(v) { + items = append(items, v) + } + } + } + + result = VirtualWansListCompleteResult{ + LatestHttpResponse: resp.HttpResponse, + Items: items, + } + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_virtualwanslistbyresourcegroup.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_virtualwanslistbyresourcegroup.go new file mode 100644 index 000000000000..24b02c202321 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_virtualwanslistbyresourcegroup.go @@ -0,0 +1,106 @@ +package virtualwans + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VirtualWansListByResourceGroupOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *[]VirtualWAN +} + +type VirtualWansListByResourceGroupCompleteResult struct { + LatestHttpResponse *http.Response + Items []VirtualWAN +} + +type VirtualWansListByResourceGroupCustomPager struct { + NextLink *odata.Link `json:"nextLink"` +} + +func (p *VirtualWansListByResourceGroupCustomPager) NextPageLink() *odata.Link { + defer func() { + p.NextLink = nil + }() + + return p.NextLink +} + +// VirtualWansListByResourceGroup ... +func (c VirtualWANsClient) VirtualWansListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result VirtualWansListByResourceGroupOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Pager: &VirtualWansListByResourceGroupCustomPager{}, + Path: fmt.Sprintf("%s/providers/Microsoft.Network/virtualWans", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.ExecutePaged(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var values struct { + Values *[]VirtualWAN `json:"value"` + } + if err = resp.Unmarshal(&values); err != nil { + return + } + + result.Model = values.Values + + return +} + +// VirtualWansListByResourceGroupComplete retrieves all the results into a single object +func (c VirtualWANsClient) VirtualWansListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (VirtualWansListByResourceGroupCompleteResult, error) { + return c.VirtualWansListByResourceGroupCompleteMatchingPredicate(ctx, id, VirtualWANOperationPredicate{}) +} + +// VirtualWansListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate +func (c VirtualWANsClient) VirtualWansListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate VirtualWANOperationPredicate) (result VirtualWansListByResourceGroupCompleteResult, err error) { + items := make([]VirtualWAN, 0) + + resp, err := c.VirtualWansListByResourceGroup(ctx, id) + if err != nil { + result.LatestHttpResponse = resp.HttpResponse + err = fmt.Errorf("loading results: %+v", err) + return + } + if resp.Model != nil { + for _, v := range *resp.Model { + if predicate.Matches(v) { + items = append(items, v) + } + } + } + + result = VirtualWansListByResourceGroupCompleteResult{ + LatestHttpResponse: resp.HttpResponse, + Items: items, + } + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_vpnconnectionscreateorupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_vpnconnectionscreateorupdate.go new file mode 100644 index 000000000000..58f8bec5b873 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_vpnconnectionscreateorupdate.go @@ -0,0 +1,76 @@ +package virtualwans + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/client/pollers" + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VpnConnectionsCreateOrUpdateOperationResponse struct { + Poller pollers.Poller + HttpResponse *http.Response + OData *odata.OData + Model *VpnConnection +} + +// VpnConnectionsCreateOrUpdate ... +func (c VirtualWANsClient) VpnConnectionsCreateOrUpdate(ctx context.Context, id commonids.VPNConnectionId, input VpnConnection) (result VpnConnectionsCreateOrUpdateOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusCreated, + http.StatusOK, + }, + HttpMethod: http.MethodPut, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + if err = req.Marshal(input); err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client) + if err != nil { + return + } + + return +} + +// VpnConnectionsCreateOrUpdateThenPoll performs VpnConnectionsCreateOrUpdate then polls until it's completed +func (c VirtualWANsClient) VpnConnectionsCreateOrUpdateThenPoll(ctx context.Context, id commonids.VPNConnectionId, input VpnConnection) error { + result, err := c.VpnConnectionsCreateOrUpdate(ctx, id, input) + if err != nil { + return fmt.Errorf("performing VpnConnectionsCreateOrUpdate: %+v", err) + } + + if err := result.Poller.PollUntilDone(ctx); err != nil { + return fmt.Errorf("polling after VpnConnectionsCreateOrUpdate: %+v", err) + } + + return nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_vpnconnectionsdelete.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_vpnconnectionsdelete.go new file mode 100644 index 000000000000..121934900356 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_vpnconnectionsdelete.go @@ -0,0 +1,72 @@ +package virtualwans + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/client/pollers" + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VpnConnectionsDeleteOperationResponse struct { + Poller pollers.Poller + HttpResponse *http.Response + OData *odata.OData +} + +// VpnConnectionsDelete ... +func (c VirtualWANsClient) VpnConnectionsDelete(ctx context.Context, id commonids.VPNConnectionId) (result VpnConnectionsDeleteOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusAccepted, + http.StatusNoContent, + http.StatusOK, + }, + HttpMethod: http.MethodDelete, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client) + if err != nil { + return + } + + return +} + +// VpnConnectionsDeleteThenPoll performs VpnConnectionsDelete then polls until it's completed +func (c VirtualWANsClient) VpnConnectionsDeleteThenPoll(ctx context.Context, id commonids.VPNConnectionId) error { + result, err := c.VpnConnectionsDelete(ctx, id) + if err != nil { + return fmt.Errorf("performing VpnConnectionsDelete: %+v", err) + } + + if err := result.Poller.PollUntilDone(ctx); err != nil { + return fmt.Errorf("polling after VpnConnectionsDelete: %+v", err) + } + + return nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_vpnconnectionsget.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_vpnconnectionsget.go new file mode 100644 index 000000000000..ca7d4d2a9b44 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_vpnconnectionsget.go @@ -0,0 +1,54 @@ +package virtualwans + +import ( + "context" + "net/http" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VpnConnectionsGetOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *VpnConnection +} + +// VpnConnectionsGet ... +func (c VirtualWANsClient) VpnConnectionsGet(ctx context.Context, id commonids.VPNConnectionId) (result VpnConnectionsGetOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var model VpnConnection + result.Model = &model + if err = resp.Unmarshal(result.Model); err != nil { + return + } + + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_vpnconnectionslistbyvpngateway.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_vpnconnectionslistbyvpngateway.go new file mode 100644 index 000000000000..d1ed0d12708b --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_vpnconnectionslistbyvpngateway.go @@ -0,0 +1,105 @@ +package virtualwans + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VpnConnectionsListByVpnGatewayOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *[]VpnConnection +} + +type VpnConnectionsListByVpnGatewayCompleteResult struct { + LatestHttpResponse *http.Response + Items []VpnConnection +} + +type VpnConnectionsListByVpnGatewayCustomPager struct { + NextLink *odata.Link `json:"nextLink"` +} + +func (p *VpnConnectionsListByVpnGatewayCustomPager) NextPageLink() *odata.Link { + defer func() { + p.NextLink = nil + }() + + return p.NextLink +} + +// VpnConnectionsListByVpnGateway ... +func (c VirtualWANsClient) VpnConnectionsListByVpnGateway(ctx context.Context, id VpnGatewayId) (result VpnConnectionsListByVpnGatewayOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Pager: &VpnConnectionsListByVpnGatewayCustomPager{}, + Path: fmt.Sprintf("%s/vpnConnections", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.ExecutePaged(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var values struct { + Values *[]VpnConnection `json:"value"` + } + if err = resp.Unmarshal(&values); err != nil { + return + } + + result.Model = values.Values + + return +} + +// VpnConnectionsListByVpnGatewayComplete retrieves all the results into a single object +func (c VirtualWANsClient) VpnConnectionsListByVpnGatewayComplete(ctx context.Context, id VpnGatewayId) (VpnConnectionsListByVpnGatewayCompleteResult, error) { + return c.VpnConnectionsListByVpnGatewayCompleteMatchingPredicate(ctx, id, VpnConnectionOperationPredicate{}) +} + +// VpnConnectionsListByVpnGatewayCompleteMatchingPredicate retrieves all the results and then applies the predicate +func (c VirtualWANsClient) VpnConnectionsListByVpnGatewayCompleteMatchingPredicate(ctx context.Context, id VpnGatewayId, predicate VpnConnectionOperationPredicate) (result VpnConnectionsListByVpnGatewayCompleteResult, err error) { + items := make([]VpnConnection, 0) + + resp, err := c.VpnConnectionsListByVpnGateway(ctx, id) + if err != nil { + result.LatestHttpResponse = resp.HttpResponse + err = fmt.Errorf("loading results: %+v", err) + return + } + if resp.Model != nil { + for _, v := range *resp.Model { + if predicate.Matches(v) { + items = append(items, v) + } + } + } + + result = VpnConnectionsListByVpnGatewayCompleteResult{ + LatestHttpResponse: resp.HttpResponse, + Items: items, + } + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_vpnconnectionsstartpacketcapture.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_vpnconnectionsstartpacketcapture.go new file mode 100644 index 000000000000..98551e48f98e --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_vpnconnectionsstartpacketcapture.go @@ -0,0 +1,76 @@ +package virtualwans + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/client/pollers" + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VpnConnectionsStartPacketCaptureOperationResponse struct { + Poller pollers.Poller + HttpResponse *http.Response + OData *odata.OData + Model *string +} + +// VpnConnectionsStartPacketCapture ... +func (c VirtualWANsClient) VpnConnectionsStartPacketCapture(ctx context.Context, id commonids.VPNConnectionId, input VpnConnectionPacketCaptureStartParameters) (result VpnConnectionsStartPacketCaptureOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusAccepted, + http.StatusOK, + }, + HttpMethod: http.MethodPost, + Path: fmt.Sprintf("%s/startpacketcapture", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + if err = req.Marshal(input); err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client) + if err != nil { + return + } + + return +} + +// VpnConnectionsStartPacketCaptureThenPoll performs VpnConnectionsStartPacketCapture then polls until it's completed +func (c VirtualWANsClient) VpnConnectionsStartPacketCaptureThenPoll(ctx context.Context, id commonids.VPNConnectionId, input VpnConnectionPacketCaptureStartParameters) error { + result, err := c.VpnConnectionsStartPacketCapture(ctx, id, input) + if err != nil { + return fmt.Errorf("performing VpnConnectionsStartPacketCapture: %+v", err) + } + + if err := result.Poller.PollUntilDone(ctx); err != nil { + return fmt.Errorf("polling after VpnConnectionsStartPacketCapture: %+v", err) + } + + return nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_vpnconnectionsstoppacketcapture.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_vpnconnectionsstoppacketcapture.go new file mode 100644 index 000000000000..b32b88c69695 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_vpnconnectionsstoppacketcapture.go @@ -0,0 +1,76 @@ +package virtualwans + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/client/pollers" + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VpnConnectionsStopPacketCaptureOperationResponse struct { + Poller pollers.Poller + HttpResponse *http.Response + OData *odata.OData + Model *string +} + +// VpnConnectionsStopPacketCapture ... +func (c VirtualWANsClient) VpnConnectionsStopPacketCapture(ctx context.Context, id commonids.VPNConnectionId, input VpnConnectionPacketCaptureStopParameters) (result VpnConnectionsStopPacketCaptureOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusAccepted, + http.StatusOK, + }, + HttpMethod: http.MethodPost, + Path: fmt.Sprintf("%s/stoppacketcapture", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + if err = req.Marshal(input); err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client) + if err != nil { + return + } + + return +} + +// VpnConnectionsStopPacketCaptureThenPoll performs VpnConnectionsStopPacketCapture then polls until it's completed +func (c VirtualWANsClient) VpnConnectionsStopPacketCaptureThenPoll(ctx context.Context, id commonids.VPNConnectionId, input VpnConnectionPacketCaptureStopParameters) error { + result, err := c.VpnConnectionsStopPacketCapture(ctx, id, input) + if err != nil { + return fmt.Errorf("performing VpnConnectionsStopPacketCapture: %+v", err) + } + + if err := result.Poller.PollUntilDone(ctx); err != nil { + return fmt.Errorf("polling after VpnConnectionsStopPacketCapture: %+v", err) + } + + return nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_vpngatewayscreateorupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_vpngatewayscreateorupdate.go new file mode 100644 index 000000000000..2cabc7eba199 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_vpngatewayscreateorupdate.go @@ -0,0 +1,75 @@ +package virtualwans + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/client/pollers" + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VpnGatewaysCreateOrUpdateOperationResponse struct { + Poller pollers.Poller + HttpResponse *http.Response + OData *odata.OData + Model *VpnGateway +} + +// VpnGatewaysCreateOrUpdate ... +func (c VirtualWANsClient) VpnGatewaysCreateOrUpdate(ctx context.Context, id VpnGatewayId, input VpnGateway) (result VpnGatewaysCreateOrUpdateOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusCreated, + http.StatusOK, + }, + HttpMethod: http.MethodPut, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + if err = req.Marshal(input); err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client) + if err != nil { + return + } + + return +} + +// VpnGatewaysCreateOrUpdateThenPoll performs VpnGatewaysCreateOrUpdate then polls until it's completed +func (c VirtualWANsClient) VpnGatewaysCreateOrUpdateThenPoll(ctx context.Context, id VpnGatewayId, input VpnGateway) error { + result, err := c.VpnGatewaysCreateOrUpdate(ctx, id, input) + if err != nil { + return fmt.Errorf("performing VpnGatewaysCreateOrUpdate: %+v", err) + } + + if err := result.Poller.PollUntilDone(ctx); err != nil { + return fmt.Errorf("polling after VpnGatewaysCreateOrUpdate: %+v", err) + } + + return nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_vpngatewaysdelete.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_vpngatewaysdelete.go new file mode 100644 index 000000000000..76d02ba38d5d --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_vpngatewaysdelete.go @@ -0,0 +1,71 @@ +package virtualwans + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/client/pollers" + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VpnGatewaysDeleteOperationResponse struct { + Poller pollers.Poller + HttpResponse *http.Response + OData *odata.OData +} + +// VpnGatewaysDelete ... +func (c VirtualWANsClient) VpnGatewaysDelete(ctx context.Context, id VpnGatewayId) (result VpnGatewaysDeleteOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusAccepted, + http.StatusNoContent, + http.StatusOK, + }, + HttpMethod: http.MethodDelete, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client) + if err != nil { + return + } + + return +} + +// VpnGatewaysDeleteThenPoll performs VpnGatewaysDelete then polls until it's completed +func (c VirtualWANsClient) VpnGatewaysDeleteThenPoll(ctx context.Context, id VpnGatewayId) error { + result, err := c.VpnGatewaysDelete(ctx, id) + if err != nil { + return fmt.Errorf("performing VpnGatewaysDelete: %+v", err) + } + + if err := result.Poller.PollUntilDone(ctx); err != nil { + return fmt.Errorf("polling after VpnGatewaysDelete: %+v", err) + } + + return nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_vpngatewaysget.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_vpngatewaysget.go new file mode 100644 index 000000000000..0793829ea759 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_vpngatewaysget.go @@ -0,0 +1,53 @@ +package virtualwans + +import ( + "context" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VpnGatewaysGetOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *VpnGateway +} + +// VpnGatewaysGet ... +func (c VirtualWANsClient) VpnGatewaysGet(ctx context.Context, id VpnGatewayId) (result VpnGatewaysGetOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var model VpnGateway + result.Model = &model + if err = resp.Unmarshal(result.Model); err != nil { + return + } + + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_vpngatewayslist.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_vpngatewayslist.go new file mode 100644 index 000000000000..d5ecf5c40ee2 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_vpngatewayslist.go @@ -0,0 +1,106 @@ +package virtualwans + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VpnGatewaysListOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *[]VpnGateway +} + +type VpnGatewaysListCompleteResult struct { + LatestHttpResponse *http.Response + Items []VpnGateway +} + +type VpnGatewaysListCustomPager struct { + NextLink *odata.Link `json:"nextLink"` +} + +func (p *VpnGatewaysListCustomPager) NextPageLink() *odata.Link { + defer func() { + p.NextLink = nil + }() + + return p.NextLink +} + +// VpnGatewaysList ... +func (c VirtualWANsClient) VpnGatewaysList(ctx context.Context, id commonids.SubscriptionId) (result VpnGatewaysListOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Pager: &VpnGatewaysListCustomPager{}, + Path: fmt.Sprintf("%s/providers/Microsoft.Network/vpnGateways", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.ExecutePaged(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var values struct { + Values *[]VpnGateway `json:"value"` + } + if err = resp.Unmarshal(&values); err != nil { + return + } + + result.Model = values.Values + + return +} + +// VpnGatewaysListComplete retrieves all the results into a single object +func (c VirtualWANsClient) VpnGatewaysListComplete(ctx context.Context, id commonids.SubscriptionId) (VpnGatewaysListCompleteResult, error) { + return c.VpnGatewaysListCompleteMatchingPredicate(ctx, id, VpnGatewayOperationPredicate{}) +} + +// VpnGatewaysListCompleteMatchingPredicate retrieves all the results and then applies the predicate +func (c VirtualWANsClient) VpnGatewaysListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate VpnGatewayOperationPredicate) (result VpnGatewaysListCompleteResult, err error) { + items := make([]VpnGateway, 0) + + resp, err := c.VpnGatewaysList(ctx, id) + if err != nil { + result.LatestHttpResponse = resp.HttpResponse + err = fmt.Errorf("loading results: %+v", err) + return + } + if resp.Model != nil { + for _, v := range *resp.Model { + if predicate.Matches(v) { + items = append(items, v) + } + } + } + + result = VpnGatewaysListCompleteResult{ + LatestHttpResponse: resp.HttpResponse, + Items: items, + } + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_vpngatewayslistbyresourcegroup.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_vpngatewayslistbyresourcegroup.go new file mode 100644 index 000000000000..e0e679927ad5 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_vpngatewayslistbyresourcegroup.go @@ -0,0 +1,106 @@ +package virtualwans + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VpnGatewaysListByResourceGroupOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *[]VpnGateway +} + +type VpnGatewaysListByResourceGroupCompleteResult struct { + LatestHttpResponse *http.Response + Items []VpnGateway +} + +type VpnGatewaysListByResourceGroupCustomPager struct { + NextLink *odata.Link `json:"nextLink"` +} + +func (p *VpnGatewaysListByResourceGroupCustomPager) NextPageLink() *odata.Link { + defer func() { + p.NextLink = nil + }() + + return p.NextLink +} + +// VpnGatewaysListByResourceGroup ... +func (c VirtualWANsClient) VpnGatewaysListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result VpnGatewaysListByResourceGroupOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Pager: &VpnGatewaysListByResourceGroupCustomPager{}, + Path: fmt.Sprintf("%s/providers/Microsoft.Network/vpnGateways", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.ExecutePaged(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var values struct { + Values *[]VpnGateway `json:"value"` + } + if err = resp.Unmarshal(&values); err != nil { + return + } + + result.Model = values.Values + + return +} + +// VpnGatewaysListByResourceGroupComplete retrieves all the results into a single object +func (c VirtualWANsClient) VpnGatewaysListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (VpnGatewaysListByResourceGroupCompleteResult, error) { + return c.VpnGatewaysListByResourceGroupCompleteMatchingPredicate(ctx, id, VpnGatewayOperationPredicate{}) +} + +// VpnGatewaysListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate +func (c VirtualWANsClient) VpnGatewaysListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate VpnGatewayOperationPredicate) (result VpnGatewaysListByResourceGroupCompleteResult, err error) { + items := make([]VpnGateway, 0) + + resp, err := c.VpnGatewaysListByResourceGroup(ctx, id) + if err != nil { + result.LatestHttpResponse = resp.HttpResponse + err = fmt.Errorf("loading results: %+v", err) + return + } + if resp.Model != nil { + for _, v := range *resp.Model { + if predicate.Matches(v) { + items = append(items, v) + } + } + } + + result = VpnGatewaysListByResourceGroupCompleteResult{ + LatestHttpResponse: resp.HttpResponse, + Items: items, + } + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_vpnlinkconnectionsgetallsharedkeys.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_vpnlinkconnectionsgetallsharedkeys.go new file mode 100644 index 000000000000..050f49ad1151 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_vpnlinkconnectionsgetallsharedkeys.go @@ -0,0 +1,105 @@ +package virtualwans + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VpnLinkConnectionsGetAllSharedKeysOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *[]ConnectionSharedKeyResult +} + +type VpnLinkConnectionsGetAllSharedKeysCompleteResult struct { + LatestHttpResponse *http.Response + Items []ConnectionSharedKeyResult +} + +type VpnLinkConnectionsGetAllSharedKeysCustomPager struct { + NextLink *odata.Link `json:"nextLink"` +} + +func (p *VpnLinkConnectionsGetAllSharedKeysCustomPager) NextPageLink() *odata.Link { + defer func() { + p.NextLink = nil + }() + + return p.NextLink +} + +// VpnLinkConnectionsGetAllSharedKeys ... +func (c VirtualWANsClient) VpnLinkConnectionsGetAllSharedKeys(ctx context.Context, id VpnLinkConnectionId) (result VpnLinkConnectionsGetAllSharedKeysOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Pager: &VpnLinkConnectionsGetAllSharedKeysCustomPager{}, + Path: fmt.Sprintf("%s/sharedKeys", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.ExecutePaged(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var values struct { + Values *[]ConnectionSharedKeyResult `json:"value"` + } + if err = resp.Unmarshal(&values); err != nil { + return + } + + result.Model = values.Values + + return +} + +// VpnLinkConnectionsGetAllSharedKeysComplete retrieves all the results into a single object +func (c VirtualWANsClient) VpnLinkConnectionsGetAllSharedKeysComplete(ctx context.Context, id VpnLinkConnectionId) (VpnLinkConnectionsGetAllSharedKeysCompleteResult, error) { + return c.VpnLinkConnectionsGetAllSharedKeysCompleteMatchingPredicate(ctx, id, ConnectionSharedKeyResultOperationPredicate{}) +} + +// VpnLinkConnectionsGetAllSharedKeysCompleteMatchingPredicate retrieves all the results and then applies the predicate +func (c VirtualWANsClient) VpnLinkConnectionsGetAllSharedKeysCompleteMatchingPredicate(ctx context.Context, id VpnLinkConnectionId, predicate ConnectionSharedKeyResultOperationPredicate) (result VpnLinkConnectionsGetAllSharedKeysCompleteResult, err error) { + items := make([]ConnectionSharedKeyResult, 0) + + resp, err := c.VpnLinkConnectionsGetAllSharedKeys(ctx, id) + if err != nil { + result.LatestHttpResponse = resp.HttpResponse + err = fmt.Errorf("loading results: %+v", err) + return + } + if resp.Model != nil { + for _, v := range *resp.Model { + if predicate.Matches(v) { + items = append(items, v) + } + } + } + + result = VpnLinkConnectionsGetAllSharedKeysCompleteResult{ + LatestHttpResponse: resp.HttpResponse, + Items: items, + } + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_vpnlinkconnectionsgetdefaultsharedkey.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_vpnlinkconnectionsgetdefaultsharedkey.go new file mode 100644 index 000000000000..aa16f486d530 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_vpnlinkconnectionsgetdefaultsharedkey.go @@ -0,0 +1,54 @@ +package virtualwans + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VpnLinkConnectionsGetDefaultSharedKeyOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *ConnectionSharedKeyResult +} + +// VpnLinkConnectionsGetDefaultSharedKey ... +func (c VirtualWANsClient) VpnLinkConnectionsGetDefaultSharedKey(ctx context.Context, id VpnLinkConnectionId) (result VpnLinkConnectionsGetDefaultSharedKeyOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Path: fmt.Sprintf("%s/sharedKeys/default", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var model ConnectionSharedKeyResult + result.Model = &model + if err = resp.Unmarshal(result.Model); err != nil { + return + } + + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_vpnlinkconnectionsgetikesas.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_vpnlinkconnectionsgetikesas.go new file mode 100644 index 000000000000..5ecf6a6d2e72 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_vpnlinkconnectionsgetikesas.go @@ -0,0 +1,71 @@ +package virtualwans + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/client/pollers" + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VpnLinkConnectionsGetIkeSasOperationResponse struct { + Poller pollers.Poller + HttpResponse *http.Response + OData *odata.OData + Model *string +} + +// VpnLinkConnectionsGetIkeSas ... +func (c VirtualWANsClient) VpnLinkConnectionsGetIkeSas(ctx context.Context, id VpnLinkConnectionId) (result VpnLinkConnectionsGetIkeSasOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusAccepted, + http.StatusOK, + }, + HttpMethod: http.MethodPost, + Path: fmt.Sprintf("%s/getikesas", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client) + if err != nil { + return + } + + return +} + +// VpnLinkConnectionsGetIkeSasThenPoll performs VpnLinkConnectionsGetIkeSas then polls until it's completed +func (c VirtualWANsClient) VpnLinkConnectionsGetIkeSasThenPoll(ctx context.Context, id VpnLinkConnectionId) error { + result, err := c.VpnLinkConnectionsGetIkeSas(ctx, id) + if err != nil { + return fmt.Errorf("performing VpnLinkConnectionsGetIkeSas: %+v", err) + } + + if err := result.Poller.PollUntilDone(ctx); err != nil { + return fmt.Errorf("polling after VpnLinkConnectionsGetIkeSas: %+v", err) + } + + return nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_vpnlinkconnectionslistbyvpnconnection.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_vpnlinkconnectionslistbyvpnconnection.go new file mode 100644 index 000000000000..28dcee0d679e --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_vpnlinkconnectionslistbyvpnconnection.go @@ -0,0 +1,106 @@ +package virtualwans + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VpnLinkConnectionsListByVpnConnectionOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *[]VpnSiteLinkConnection +} + +type VpnLinkConnectionsListByVpnConnectionCompleteResult struct { + LatestHttpResponse *http.Response + Items []VpnSiteLinkConnection +} + +type VpnLinkConnectionsListByVpnConnectionCustomPager struct { + NextLink *odata.Link `json:"nextLink"` +} + +func (p *VpnLinkConnectionsListByVpnConnectionCustomPager) NextPageLink() *odata.Link { + defer func() { + p.NextLink = nil + }() + + return p.NextLink +} + +// VpnLinkConnectionsListByVpnConnection ... +func (c VirtualWANsClient) VpnLinkConnectionsListByVpnConnection(ctx context.Context, id commonids.VPNConnectionId) (result VpnLinkConnectionsListByVpnConnectionOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Pager: &VpnLinkConnectionsListByVpnConnectionCustomPager{}, + Path: fmt.Sprintf("%s/vpnLinkConnections", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.ExecutePaged(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var values struct { + Values *[]VpnSiteLinkConnection `json:"value"` + } + if err = resp.Unmarshal(&values); err != nil { + return + } + + result.Model = values.Values + + return +} + +// VpnLinkConnectionsListByVpnConnectionComplete retrieves all the results into a single object +func (c VirtualWANsClient) VpnLinkConnectionsListByVpnConnectionComplete(ctx context.Context, id commonids.VPNConnectionId) (VpnLinkConnectionsListByVpnConnectionCompleteResult, error) { + return c.VpnLinkConnectionsListByVpnConnectionCompleteMatchingPredicate(ctx, id, VpnSiteLinkConnectionOperationPredicate{}) +} + +// VpnLinkConnectionsListByVpnConnectionCompleteMatchingPredicate retrieves all the results and then applies the predicate +func (c VirtualWANsClient) VpnLinkConnectionsListByVpnConnectionCompleteMatchingPredicate(ctx context.Context, id commonids.VPNConnectionId, predicate VpnSiteLinkConnectionOperationPredicate) (result VpnLinkConnectionsListByVpnConnectionCompleteResult, err error) { + items := make([]VpnSiteLinkConnection, 0) + + resp, err := c.VpnLinkConnectionsListByVpnConnection(ctx, id) + if err != nil { + result.LatestHttpResponse = resp.HttpResponse + err = fmt.Errorf("loading results: %+v", err) + return + } + if resp.Model != nil { + for _, v := range *resp.Model { + if predicate.Matches(v) { + items = append(items, v) + } + } + } + + result = VpnLinkConnectionsListByVpnConnectionCompleteResult{ + LatestHttpResponse: resp.HttpResponse, + Items: items, + } + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_vpnlinkconnectionslistdefaultsharedkey.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_vpnlinkconnectionslistdefaultsharedkey.go new file mode 100644 index 000000000000..61d6ae835297 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_vpnlinkconnectionslistdefaultsharedkey.go @@ -0,0 +1,54 @@ +package virtualwans + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VpnLinkConnectionsListDefaultSharedKeyOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *ConnectionSharedKeyResult +} + +// VpnLinkConnectionsListDefaultSharedKey ... +func (c VirtualWANsClient) VpnLinkConnectionsListDefaultSharedKey(ctx context.Context, id VpnLinkConnectionId) (result VpnLinkConnectionsListDefaultSharedKeyOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodPost, + Path: fmt.Sprintf("%s/sharedKeys/default/listSharedKey", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var model ConnectionSharedKeyResult + result.Model = &model + if err = resp.Unmarshal(result.Model); err != nil { + return + } + + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_vpnlinkconnectionssetorinitdefaultsharedkey.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_vpnlinkconnectionssetorinitdefaultsharedkey.go new file mode 100644 index 000000000000..b4ae5551e765 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_vpnlinkconnectionssetorinitdefaultsharedkey.go @@ -0,0 +1,75 @@ +package virtualwans + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/client/pollers" + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VpnLinkConnectionsSetOrInitDefaultSharedKeyOperationResponse struct { + Poller pollers.Poller + HttpResponse *http.Response + OData *odata.OData + Model *ConnectionSharedKeyResult +} + +// VpnLinkConnectionsSetOrInitDefaultSharedKey ... +func (c VirtualWANsClient) VpnLinkConnectionsSetOrInitDefaultSharedKey(ctx context.Context, id VpnLinkConnectionId, input ConnectionSharedKeyResult) (result VpnLinkConnectionsSetOrInitDefaultSharedKeyOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusCreated, + http.StatusOK, + }, + HttpMethod: http.MethodPut, + Path: fmt.Sprintf("%s/sharedKeys/default", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + if err = req.Marshal(input); err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client) + if err != nil { + return + } + + return +} + +// VpnLinkConnectionsSetOrInitDefaultSharedKeyThenPoll performs VpnLinkConnectionsSetOrInitDefaultSharedKey then polls until it's completed +func (c VirtualWANsClient) VpnLinkConnectionsSetOrInitDefaultSharedKeyThenPoll(ctx context.Context, id VpnLinkConnectionId, input ConnectionSharedKeyResult) error { + result, err := c.VpnLinkConnectionsSetOrInitDefaultSharedKey(ctx, id, input) + if err != nil { + return fmt.Errorf("performing VpnLinkConnectionsSetOrInitDefaultSharedKey: %+v", err) + } + + if err := result.Poller.PollUntilDone(ctx); err != nil { + return fmt.Errorf("polling after VpnLinkConnectionsSetOrInitDefaultSharedKey: %+v", err) + } + + return nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_vpnserverconfigurationsassociatedwithvirtualwanlist.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_vpnserverconfigurationsassociatedwithvirtualwanlist.go new file mode 100644 index 000000000000..2f7ae87144e7 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_vpnserverconfigurationsassociatedwithvirtualwanlist.go @@ -0,0 +1,71 @@ +package virtualwans + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/client/pollers" + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VpnServerConfigurationsAssociatedWithVirtualWanListOperationResponse struct { + Poller pollers.Poller + HttpResponse *http.Response + OData *odata.OData + Model *VpnServerConfigurationsResponse +} + +// VpnServerConfigurationsAssociatedWithVirtualWanList ... +func (c VirtualWANsClient) VpnServerConfigurationsAssociatedWithVirtualWanList(ctx context.Context, id VirtualWANId) (result VpnServerConfigurationsAssociatedWithVirtualWanListOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusAccepted, + http.StatusOK, + }, + HttpMethod: http.MethodPost, + Path: fmt.Sprintf("%s/vpnServerConfigurations", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client) + if err != nil { + return + } + + return +} + +// VpnServerConfigurationsAssociatedWithVirtualWanListThenPoll performs VpnServerConfigurationsAssociatedWithVirtualWanList then polls until it's completed +func (c VirtualWANsClient) VpnServerConfigurationsAssociatedWithVirtualWanListThenPoll(ctx context.Context, id VirtualWANId) error { + result, err := c.VpnServerConfigurationsAssociatedWithVirtualWanList(ctx, id) + if err != nil { + return fmt.Errorf("performing VpnServerConfigurationsAssociatedWithVirtualWanList: %+v", err) + } + + if err := result.Poller.PollUntilDone(ctx); err != nil { + return fmt.Errorf("polling after VpnServerConfigurationsAssociatedWithVirtualWanList: %+v", err) + } + + return nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_vpnserverconfigurationscreateorupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_vpnserverconfigurationscreateorupdate.go new file mode 100644 index 000000000000..256562205b9c --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_vpnserverconfigurationscreateorupdate.go @@ -0,0 +1,75 @@ +package virtualwans + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/client/pollers" + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VpnServerConfigurationsCreateOrUpdateOperationResponse struct { + Poller pollers.Poller + HttpResponse *http.Response + OData *odata.OData + Model *VpnServerConfiguration +} + +// VpnServerConfigurationsCreateOrUpdate ... +func (c VirtualWANsClient) VpnServerConfigurationsCreateOrUpdate(ctx context.Context, id VpnServerConfigurationId, input VpnServerConfiguration) (result VpnServerConfigurationsCreateOrUpdateOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusCreated, + http.StatusOK, + }, + HttpMethod: http.MethodPut, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + if err = req.Marshal(input); err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client) + if err != nil { + return + } + + return +} + +// VpnServerConfigurationsCreateOrUpdateThenPoll performs VpnServerConfigurationsCreateOrUpdate then polls until it's completed +func (c VirtualWANsClient) VpnServerConfigurationsCreateOrUpdateThenPoll(ctx context.Context, id VpnServerConfigurationId, input VpnServerConfiguration) error { + result, err := c.VpnServerConfigurationsCreateOrUpdate(ctx, id, input) + if err != nil { + return fmt.Errorf("performing VpnServerConfigurationsCreateOrUpdate: %+v", err) + } + + if err := result.Poller.PollUntilDone(ctx); err != nil { + return fmt.Errorf("polling after VpnServerConfigurationsCreateOrUpdate: %+v", err) + } + + return nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_vpnserverconfigurationsdelete.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_vpnserverconfigurationsdelete.go new file mode 100644 index 000000000000..2edde34518e8 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_vpnserverconfigurationsdelete.go @@ -0,0 +1,71 @@ +package virtualwans + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/client/pollers" + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VpnServerConfigurationsDeleteOperationResponse struct { + Poller pollers.Poller + HttpResponse *http.Response + OData *odata.OData +} + +// VpnServerConfigurationsDelete ... +func (c VirtualWANsClient) VpnServerConfigurationsDelete(ctx context.Context, id VpnServerConfigurationId) (result VpnServerConfigurationsDeleteOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusAccepted, + http.StatusNoContent, + http.StatusOK, + }, + HttpMethod: http.MethodDelete, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client) + if err != nil { + return + } + + return +} + +// VpnServerConfigurationsDeleteThenPoll performs VpnServerConfigurationsDelete then polls until it's completed +func (c VirtualWANsClient) VpnServerConfigurationsDeleteThenPoll(ctx context.Context, id VpnServerConfigurationId) error { + result, err := c.VpnServerConfigurationsDelete(ctx, id) + if err != nil { + return fmt.Errorf("performing VpnServerConfigurationsDelete: %+v", err) + } + + if err := result.Poller.PollUntilDone(ctx); err != nil { + return fmt.Errorf("polling after VpnServerConfigurationsDelete: %+v", err) + } + + return nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_vpnserverconfigurationsget.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_vpnserverconfigurationsget.go new file mode 100644 index 000000000000..5355630843f5 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_vpnserverconfigurationsget.go @@ -0,0 +1,53 @@ +package virtualwans + +import ( + "context" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VpnServerConfigurationsGetOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *VpnServerConfiguration +} + +// VpnServerConfigurationsGet ... +func (c VirtualWANsClient) VpnServerConfigurationsGet(ctx context.Context, id VpnServerConfigurationId) (result VpnServerConfigurationsGetOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var model VpnServerConfiguration + result.Model = &model + if err = resp.Unmarshal(result.Model); err != nil { + return + } + + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_vpnserverconfigurationslist.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_vpnserverconfigurationslist.go new file mode 100644 index 000000000000..914118474d53 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_vpnserverconfigurationslist.go @@ -0,0 +1,106 @@ +package virtualwans + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VpnServerConfigurationsListOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *[]VpnServerConfiguration +} + +type VpnServerConfigurationsListCompleteResult struct { + LatestHttpResponse *http.Response + Items []VpnServerConfiguration +} + +type VpnServerConfigurationsListCustomPager struct { + NextLink *odata.Link `json:"nextLink"` +} + +func (p *VpnServerConfigurationsListCustomPager) NextPageLink() *odata.Link { + defer func() { + p.NextLink = nil + }() + + return p.NextLink +} + +// VpnServerConfigurationsList ... +func (c VirtualWANsClient) VpnServerConfigurationsList(ctx context.Context, id commonids.SubscriptionId) (result VpnServerConfigurationsListOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Pager: &VpnServerConfigurationsListCustomPager{}, + Path: fmt.Sprintf("%s/providers/Microsoft.Network/vpnServerConfigurations", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.ExecutePaged(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var values struct { + Values *[]VpnServerConfiguration `json:"value"` + } + if err = resp.Unmarshal(&values); err != nil { + return + } + + result.Model = values.Values + + return +} + +// VpnServerConfigurationsListComplete retrieves all the results into a single object +func (c VirtualWANsClient) VpnServerConfigurationsListComplete(ctx context.Context, id commonids.SubscriptionId) (VpnServerConfigurationsListCompleteResult, error) { + return c.VpnServerConfigurationsListCompleteMatchingPredicate(ctx, id, VpnServerConfigurationOperationPredicate{}) +} + +// VpnServerConfigurationsListCompleteMatchingPredicate retrieves all the results and then applies the predicate +func (c VirtualWANsClient) VpnServerConfigurationsListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate VpnServerConfigurationOperationPredicate) (result VpnServerConfigurationsListCompleteResult, err error) { + items := make([]VpnServerConfiguration, 0) + + resp, err := c.VpnServerConfigurationsList(ctx, id) + if err != nil { + result.LatestHttpResponse = resp.HttpResponse + err = fmt.Errorf("loading results: %+v", err) + return + } + if resp.Model != nil { + for _, v := range *resp.Model { + if predicate.Matches(v) { + items = append(items, v) + } + } + } + + result = VpnServerConfigurationsListCompleteResult{ + LatestHttpResponse: resp.HttpResponse, + Items: items, + } + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_vpnserverconfigurationslistbyresourcegroup.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_vpnserverconfigurationslistbyresourcegroup.go new file mode 100644 index 000000000000..6653716f5fea --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_vpnserverconfigurationslistbyresourcegroup.go @@ -0,0 +1,106 @@ +package virtualwans + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VpnServerConfigurationsListByResourceGroupOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *[]VpnServerConfiguration +} + +type VpnServerConfigurationsListByResourceGroupCompleteResult struct { + LatestHttpResponse *http.Response + Items []VpnServerConfiguration +} + +type VpnServerConfigurationsListByResourceGroupCustomPager struct { + NextLink *odata.Link `json:"nextLink"` +} + +func (p *VpnServerConfigurationsListByResourceGroupCustomPager) NextPageLink() *odata.Link { + defer func() { + p.NextLink = nil + }() + + return p.NextLink +} + +// VpnServerConfigurationsListByResourceGroup ... +func (c VirtualWANsClient) VpnServerConfigurationsListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result VpnServerConfigurationsListByResourceGroupOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Pager: &VpnServerConfigurationsListByResourceGroupCustomPager{}, + Path: fmt.Sprintf("%s/providers/Microsoft.Network/vpnServerConfigurations", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.ExecutePaged(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var values struct { + Values *[]VpnServerConfiguration `json:"value"` + } + if err = resp.Unmarshal(&values); err != nil { + return + } + + result.Model = values.Values + + return +} + +// VpnServerConfigurationsListByResourceGroupComplete retrieves all the results into a single object +func (c VirtualWANsClient) VpnServerConfigurationsListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (VpnServerConfigurationsListByResourceGroupCompleteResult, error) { + return c.VpnServerConfigurationsListByResourceGroupCompleteMatchingPredicate(ctx, id, VpnServerConfigurationOperationPredicate{}) +} + +// VpnServerConfigurationsListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate +func (c VirtualWANsClient) VpnServerConfigurationsListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate VpnServerConfigurationOperationPredicate) (result VpnServerConfigurationsListByResourceGroupCompleteResult, err error) { + items := make([]VpnServerConfiguration, 0) + + resp, err := c.VpnServerConfigurationsListByResourceGroup(ctx, id) + if err != nil { + result.LatestHttpResponse = resp.HttpResponse + err = fmt.Errorf("loading results: %+v", err) + return + } + if resp.Model != nil { + for _, v := range *resp.Model { + if predicate.Matches(v) { + items = append(items, v) + } + } + } + + result = VpnServerConfigurationsListByResourceGroupCompleteResult{ + LatestHttpResponse: resp.HttpResponse, + Items: items, + } + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_vpnsitelinkconnectionsget.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_vpnsitelinkconnectionsget.go new file mode 100644 index 000000000000..b2fed5d6de1b --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_vpnsitelinkconnectionsget.go @@ -0,0 +1,53 @@ +package virtualwans + +import ( + "context" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VpnSiteLinkConnectionsGetOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *VpnSiteLinkConnection +} + +// VpnSiteLinkConnectionsGet ... +func (c VirtualWANsClient) VpnSiteLinkConnectionsGet(ctx context.Context, id VpnLinkConnectionId) (result VpnSiteLinkConnectionsGetOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var model VpnSiteLinkConnection + result.Model = &model + if err = resp.Unmarshal(result.Model); err != nil { + return + } + + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_vpnsitelinksget.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_vpnsitelinksget.go new file mode 100644 index 000000000000..018f1ad8f67b --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_vpnsitelinksget.go @@ -0,0 +1,53 @@ +package virtualwans + +import ( + "context" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VpnSiteLinksGetOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *VpnSiteLink +} + +// VpnSiteLinksGet ... +func (c VirtualWANsClient) VpnSiteLinksGet(ctx context.Context, id VpnSiteLinkId) (result VpnSiteLinksGetOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var model VpnSiteLink + result.Model = &model + if err = resp.Unmarshal(result.Model); err != nil { + return + } + + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_vpnsitelinkslistbyvpnsite.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_vpnsitelinkslistbyvpnsite.go new file mode 100644 index 000000000000..584c51707188 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_vpnsitelinkslistbyvpnsite.go @@ -0,0 +1,105 @@ +package virtualwans + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VpnSiteLinksListByVpnSiteOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *[]VpnSiteLink +} + +type VpnSiteLinksListByVpnSiteCompleteResult struct { + LatestHttpResponse *http.Response + Items []VpnSiteLink +} + +type VpnSiteLinksListByVpnSiteCustomPager struct { + NextLink *odata.Link `json:"nextLink"` +} + +func (p *VpnSiteLinksListByVpnSiteCustomPager) NextPageLink() *odata.Link { + defer func() { + p.NextLink = nil + }() + + return p.NextLink +} + +// VpnSiteLinksListByVpnSite ... +func (c VirtualWANsClient) VpnSiteLinksListByVpnSite(ctx context.Context, id VpnSiteId) (result VpnSiteLinksListByVpnSiteOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Pager: &VpnSiteLinksListByVpnSiteCustomPager{}, + Path: fmt.Sprintf("%s/vpnSiteLinks", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.ExecutePaged(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var values struct { + Values *[]VpnSiteLink `json:"value"` + } + if err = resp.Unmarshal(&values); err != nil { + return + } + + result.Model = values.Values + + return +} + +// VpnSiteLinksListByVpnSiteComplete retrieves all the results into a single object +func (c VirtualWANsClient) VpnSiteLinksListByVpnSiteComplete(ctx context.Context, id VpnSiteId) (VpnSiteLinksListByVpnSiteCompleteResult, error) { + return c.VpnSiteLinksListByVpnSiteCompleteMatchingPredicate(ctx, id, VpnSiteLinkOperationPredicate{}) +} + +// VpnSiteLinksListByVpnSiteCompleteMatchingPredicate retrieves all the results and then applies the predicate +func (c VirtualWANsClient) VpnSiteLinksListByVpnSiteCompleteMatchingPredicate(ctx context.Context, id VpnSiteId, predicate VpnSiteLinkOperationPredicate) (result VpnSiteLinksListByVpnSiteCompleteResult, err error) { + items := make([]VpnSiteLink, 0) + + resp, err := c.VpnSiteLinksListByVpnSite(ctx, id) + if err != nil { + result.LatestHttpResponse = resp.HttpResponse + err = fmt.Errorf("loading results: %+v", err) + return + } + if resp.Model != nil { + for _, v := range *resp.Model { + if predicate.Matches(v) { + items = append(items, v) + } + } + } + + result = VpnSiteLinksListByVpnSiteCompleteResult{ + LatestHttpResponse: resp.HttpResponse, + Items: items, + } + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_vpnsitesconfigurationdownload.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_vpnsitesconfigurationdownload.go new file mode 100644 index 000000000000..a20fd02e0fc6 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_vpnsitesconfigurationdownload.go @@ -0,0 +1,74 @@ +package virtualwans + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/client/pollers" + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VpnSitesConfigurationDownloadOperationResponse struct { + Poller pollers.Poller + HttpResponse *http.Response + OData *odata.OData +} + +// VpnSitesConfigurationDownload ... +func (c VirtualWANsClient) VpnSitesConfigurationDownload(ctx context.Context, id VirtualWANId, input GetVpnSitesConfigurationRequest) (result VpnSitesConfigurationDownloadOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusAccepted, + http.StatusOK, + }, + HttpMethod: http.MethodPost, + Path: fmt.Sprintf("%s/vpnConfiguration", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + if err = req.Marshal(input); err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client) + if err != nil { + return + } + + return +} + +// VpnSitesConfigurationDownloadThenPoll performs VpnSitesConfigurationDownload then polls until it's completed +func (c VirtualWANsClient) VpnSitesConfigurationDownloadThenPoll(ctx context.Context, id VirtualWANId, input GetVpnSitesConfigurationRequest) error { + result, err := c.VpnSitesConfigurationDownload(ctx, id, input) + if err != nil { + return fmt.Errorf("performing VpnSitesConfigurationDownload: %+v", err) + } + + if err := result.Poller.PollUntilDone(ctx); err != nil { + return fmt.Errorf("polling after VpnSitesConfigurationDownload: %+v", err) + } + + return nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_vpnsitescreateorupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_vpnsitescreateorupdate.go new file mode 100644 index 000000000000..2b93c69c66a7 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_vpnsitescreateorupdate.go @@ -0,0 +1,75 @@ +package virtualwans + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/client/pollers" + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VpnSitesCreateOrUpdateOperationResponse struct { + Poller pollers.Poller + HttpResponse *http.Response + OData *odata.OData + Model *VpnSite +} + +// VpnSitesCreateOrUpdate ... +func (c VirtualWANsClient) VpnSitesCreateOrUpdate(ctx context.Context, id VpnSiteId, input VpnSite) (result VpnSitesCreateOrUpdateOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusCreated, + http.StatusOK, + }, + HttpMethod: http.MethodPut, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + if err = req.Marshal(input); err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client) + if err != nil { + return + } + + return +} + +// VpnSitesCreateOrUpdateThenPoll performs VpnSitesCreateOrUpdate then polls until it's completed +func (c VirtualWANsClient) VpnSitesCreateOrUpdateThenPoll(ctx context.Context, id VpnSiteId, input VpnSite) error { + result, err := c.VpnSitesCreateOrUpdate(ctx, id, input) + if err != nil { + return fmt.Errorf("performing VpnSitesCreateOrUpdate: %+v", err) + } + + if err := result.Poller.PollUntilDone(ctx); err != nil { + return fmt.Errorf("polling after VpnSitesCreateOrUpdate: %+v", err) + } + + return nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_vpnsitesdelete.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_vpnsitesdelete.go new file mode 100644 index 000000000000..f3b27d7f18a9 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_vpnsitesdelete.go @@ -0,0 +1,71 @@ +package virtualwans + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/client/pollers" + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VpnSitesDeleteOperationResponse struct { + Poller pollers.Poller + HttpResponse *http.Response + OData *odata.OData +} + +// VpnSitesDelete ... +func (c VirtualWANsClient) VpnSitesDelete(ctx context.Context, id VpnSiteId) (result VpnSitesDeleteOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusAccepted, + http.StatusNoContent, + http.StatusOK, + }, + HttpMethod: http.MethodDelete, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client) + if err != nil { + return + } + + return +} + +// VpnSitesDeleteThenPoll performs VpnSitesDelete then polls until it's completed +func (c VirtualWANsClient) VpnSitesDeleteThenPoll(ctx context.Context, id VpnSiteId) error { + result, err := c.VpnSitesDelete(ctx, id) + if err != nil { + return fmt.Errorf("performing VpnSitesDelete: %+v", err) + } + + if err := result.Poller.PollUntilDone(ctx); err != nil { + return fmt.Errorf("polling after VpnSitesDelete: %+v", err) + } + + return nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_vpnsitesget.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_vpnsitesget.go new file mode 100644 index 000000000000..a250df018ce7 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_vpnsitesget.go @@ -0,0 +1,53 @@ +package virtualwans + +import ( + "context" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VpnSitesGetOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *VpnSite +} + +// VpnSitesGet ... +func (c VirtualWANsClient) VpnSitesGet(ctx context.Context, id VpnSiteId) (result VpnSitesGetOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var model VpnSite + result.Model = &model + if err = resp.Unmarshal(result.Model); err != nil { + return + } + + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_vpnsiteslist.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_vpnsiteslist.go new file mode 100644 index 000000000000..38bc5c863638 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_vpnsiteslist.go @@ -0,0 +1,106 @@ +package virtualwans + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VpnSitesListOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *[]VpnSite +} + +type VpnSitesListCompleteResult struct { + LatestHttpResponse *http.Response + Items []VpnSite +} + +type VpnSitesListCustomPager struct { + NextLink *odata.Link `json:"nextLink"` +} + +func (p *VpnSitesListCustomPager) NextPageLink() *odata.Link { + defer func() { + p.NextLink = nil + }() + + return p.NextLink +} + +// VpnSitesList ... +func (c VirtualWANsClient) VpnSitesList(ctx context.Context, id commonids.SubscriptionId) (result VpnSitesListOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Pager: &VpnSitesListCustomPager{}, + Path: fmt.Sprintf("%s/providers/Microsoft.Network/vpnSites", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.ExecutePaged(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var values struct { + Values *[]VpnSite `json:"value"` + } + if err = resp.Unmarshal(&values); err != nil { + return + } + + result.Model = values.Values + + return +} + +// VpnSitesListComplete retrieves all the results into a single object +func (c VirtualWANsClient) VpnSitesListComplete(ctx context.Context, id commonids.SubscriptionId) (VpnSitesListCompleteResult, error) { + return c.VpnSitesListCompleteMatchingPredicate(ctx, id, VpnSiteOperationPredicate{}) +} + +// VpnSitesListCompleteMatchingPredicate retrieves all the results and then applies the predicate +func (c VirtualWANsClient) VpnSitesListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate VpnSiteOperationPredicate) (result VpnSitesListCompleteResult, err error) { + items := make([]VpnSite, 0) + + resp, err := c.VpnSitesList(ctx, id) + if err != nil { + result.LatestHttpResponse = resp.HttpResponse + err = fmt.Errorf("loading results: %+v", err) + return + } + if resp.Model != nil { + for _, v := range *resp.Model { + if predicate.Matches(v) { + items = append(items, v) + } + } + } + + result = VpnSitesListCompleteResult{ + LatestHttpResponse: resp.HttpResponse, + Items: items, + } + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_vpnsiteslistbyresourcegroup.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_vpnsiteslistbyresourcegroup.go new file mode 100644 index 000000000000..276e64b30d1d --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/method_vpnsiteslistbyresourcegroup.go @@ -0,0 +1,106 @@ +package virtualwans + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VpnSitesListByResourceGroupOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *[]VpnSite +} + +type VpnSitesListByResourceGroupCompleteResult struct { + LatestHttpResponse *http.Response + Items []VpnSite +} + +type VpnSitesListByResourceGroupCustomPager struct { + NextLink *odata.Link `json:"nextLink"` +} + +func (p *VpnSitesListByResourceGroupCustomPager) NextPageLink() *odata.Link { + defer func() { + p.NextLink = nil + }() + + return p.NextLink +} + +// VpnSitesListByResourceGroup ... +func (c VirtualWANsClient) VpnSitesListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result VpnSitesListByResourceGroupOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Pager: &VpnSitesListByResourceGroupCustomPager{}, + Path: fmt.Sprintf("%s/providers/Microsoft.Network/vpnSites", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.ExecutePaged(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var values struct { + Values *[]VpnSite `json:"value"` + } + if err = resp.Unmarshal(&values); err != nil { + return + } + + result.Model = values.Values + + return +} + +// VpnSitesListByResourceGroupComplete retrieves all the results into a single object +func (c VirtualWANsClient) VpnSitesListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (VpnSitesListByResourceGroupCompleteResult, error) { + return c.VpnSitesListByResourceGroupCompleteMatchingPredicate(ctx, id, VpnSiteOperationPredicate{}) +} + +// VpnSitesListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate +func (c VirtualWANsClient) VpnSitesListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate VpnSiteOperationPredicate) (result VpnSitesListByResourceGroupCompleteResult, err error) { + items := make([]VpnSite, 0) + + resp, err := c.VpnSitesListByResourceGroup(ctx, id) + if err != nil { + result.LatestHttpResponse = resp.HttpResponse + err = fmt.Errorf("loading results: %+v", err) + return + } + if resp.Model != nil { + for _, v := range *resp.Model { + if predicate.Matches(v) { + items = append(items, v) + } + } + } + + result = VpnSitesListByResourceGroupCompleteResult{ + LatestHttpResponse: resp.HttpResponse, + Items: items, + } + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_aadauthenticationparameters.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_aadauthenticationparameters.go new file mode 100644 index 000000000000..b0d5e53c3587 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_aadauthenticationparameters.go @@ -0,0 +1,10 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type AadAuthenticationParameters struct { + AadAudience *string `json:"aadAudience,omitempty"` + AadIssuer *string `json:"aadIssuer,omitempty"` + AadTenant *string `json:"aadTenant,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_action.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_action.go new file mode 100644 index 000000000000..e3c73ef507dd --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_action.go @@ -0,0 +1,9 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type Action struct { + Parameters *[]Parameter `json:"parameters,omitempty"` + Type *RouteMapActionType `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_addressspace.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_addressspace.go new file mode 100644 index 000000000000..e1ac53861fca --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_addressspace.go @@ -0,0 +1,8 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type AddressSpace struct { + AddressPrefixes *[]string `json:"addressPrefixes,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_applicationgatewaybackendaddress.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_applicationgatewaybackendaddress.go new file mode 100644 index 000000000000..51a23d1c2c5a --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_applicationgatewaybackendaddress.go @@ -0,0 +1,9 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayBackendAddress struct { + Fqdn *string `json:"fqdn,omitempty"` + IPAddress *string `json:"ipAddress,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_applicationgatewaybackendaddresspool.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_applicationgatewaybackendaddresspool.go new file mode 100644 index 000000000000..adfa8110618c --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_applicationgatewaybackendaddresspool.go @@ -0,0 +1,12 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayBackendAddressPool struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *ApplicationGatewayBackendAddressPoolPropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_applicationgatewaybackendaddresspoolpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_applicationgatewaybackendaddresspoolpropertiesformat.go new file mode 100644 index 000000000000..c308084cb90a --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_applicationgatewaybackendaddresspoolpropertiesformat.go @@ -0,0 +1,10 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayBackendAddressPoolPropertiesFormat struct { + BackendAddresses *[]ApplicationGatewayBackendAddress `json:"backendAddresses,omitempty"` + BackendIPConfigurations *[]NetworkInterfaceIPConfiguration `json:"backendIPConfigurations,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_applicationgatewayipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_applicationgatewayipconfiguration.go new file mode 100644 index 000000000000..184f4db35eda --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_applicationgatewayipconfiguration.go @@ -0,0 +1,12 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayIPConfiguration struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *ApplicationGatewayIPConfigurationPropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_applicationgatewayipconfigurationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_applicationgatewayipconfigurationpropertiesformat.go new file mode 100644 index 000000000000..96ab63c3c70d --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_applicationgatewayipconfigurationpropertiesformat.go @@ -0,0 +1,9 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayIPConfigurationPropertiesFormat struct { + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + Subnet *SubResource `json:"subnet,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_applicationsecuritygroup.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_applicationsecuritygroup.go new file mode 100644 index 000000000000..8df948283202 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_applicationsecuritygroup.go @@ -0,0 +1,14 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationSecurityGroup struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Location *string `json:"location,omitempty"` + Name *string `json:"name,omitempty"` + Properties *ApplicationSecurityGroupPropertiesFormat `json:"properties,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_applicationsecuritygrouppropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_applicationsecuritygrouppropertiesformat.go new file mode 100644 index 000000000000..0db023773ff6 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_applicationsecuritygrouppropertiesformat.go @@ -0,0 +1,9 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationSecurityGroupPropertiesFormat struct { + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + ResourceGuid *string `json:"resourceGuid,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_backendaddresspool.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_backendaddresspool.go new file mode 100644 index 000000000000..75b3239a6738 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_backendaddresspool.go @@ -0,0 +1,12 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type BackendAddressPool struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *BackendAddressPoolPropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_backendaddresspoolpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_backendaddresspoolpropertiesformat.go new file mode 100644 index 000000000000..210c422933e2 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_backendaddresspoolpropertiesformat.go @@ -0,0 +1,19 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type BackendAddressPoolPropertiesFormat struct { + BackendIPConfigurations *[]NetworkInterfaceIPConfiguration `json:"backendIPConfigurations,omitempty"` + DrainPeriodInSeconds *int64 `json:"drainPeriodInSeconds,omitempty"` + InboundNatRules *[]SubResource `json:"inboundNatRules,omitempty"` + LoadBalancerBackendAddresses *[]LoadBalancerBackendAddress `json:"loadBalancerBackendAddresses,omitempty"` + LoadBalancingRules *[]SubResource `json:"loadBalancingRules,omitempty"` + Location *string `json:"location,omitempty"` + OutboundRule *SubResource `json:"outboundRule,omitempty"` + OutboundRules *[]SubResource `json:"outboundRules,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + SyncMode *SyncMode `json:"syncMode,omitempty"` + TunnelInterfaces *[]GatewayLoadBalancerTunnelInterface `json:"tunnelInterfaces,omitempty"` + VirtualNetwork *SubResource `json:"virtualNetwork,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_bgpconnection.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_bgpconnection.go new file mode 100644 index 000000000000..13c77fe22255 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_bgpconnection.go @@ -0,0 +1,12 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type BgpConnection struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *BgpConnectionProperties `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_bgpconnectionproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_bgpconnectionproperties.go new file mode 100644 index 000000000000..4666e421984f --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_bgpconnectionproperties.go @@ -0,0 +1,12 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type BgpConnectionProperties struct { + ConnectionState *HubBgpConnectionStatus `json:"connectionState,omitempty"` + HubVirtualNetworkConnection *SubResource `json:"hubVirtualNetworkConnection,omitempty"` + PeerAsn *int64 `json:"peerAsn,omitempty"` + PeerIP *string `json:"peerIp,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_bgpsettings.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_bgpsettings.go new file mode 100644 index 000000000000..5f96d5acf14a --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_bgpsettings.go @@ -0,0 +1,11 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type BgpSettings struct { + Asn *int64 `json:"asn,omitempty"` + BgpPeeringAddress *string `json:"bgpPeeringAddress,omitempty"` + BgpPeeringAddresses *[]IPConfigurationBgpPeeringAddress `json:"bgpPeeringAddresses,omitempty"` + PeerWeight *int64 `json:"peerWeight,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_connectionsharedkeyresult.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_connectionsharedkeyresult.go new file mode 100644 index 000000000000..2ca277eba842 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_connectionsharedkeyresult.go @@ -0,0 +1,11 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ConnectionSharedKeyResult struct { + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *SharedKeyProperties `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_criterion.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_criterion.go new file mode 100644 index 000000000000..e7249b64d4d9 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_criterion.go @@ -0,0 +1,11 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type Criterion struct { + AsPath *[]string `json:"asPath,omitempty"` + Community *[]string `json:"community,omitempty"` + MatchCondition *RouteMapMatchCondition `json:"matchCondition,omitempty"` + RoutePrefix *[]string `json:"routePrefix,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_customdnsconfigpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_customdnsconfigpropertiesformat.go new file mode 100644 index 000000000000..557a5a01a6d3 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_customdnsconfigpropertiesformat.go @@ -0,0 +1,9 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type CustomDnsConfigPropertiesFormat struct { + Fqdn *string `json:"fqdn,omitempty"` + IPAddresses *[]string `json:"ipAddresses,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_ddossettings.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_ddossettings.go new file mode 100644 index 000000000000..82eef09dc621 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_ddossettings.go @@ -0,0 +1,9 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type DdosSettings struct { + DdosProtectionPlan *SubResource `json:"ddosProtectionPlan,omitempty"` + ProtectionMode *DdosSettingsProtectionMode `json:"protectionMode,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_delegation.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_delegation.go new file mode 100644 index 000000000000..55eeb1fff811 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_delegation.go @@ -0,0 +1,12 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type Delegation struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *ServiceDelegationPropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_deviceproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_deviceproperties.go new file mode 100644 index 000000000000..9c2553498461 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_deviceproperties.go @@ -0,0 +1,10 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type DeviceProperties struct { + DeviceModel *string `json:"deviceModel,omitempty"` + DeviceVendor *string `json:"deviceVendor,omitempty"` + LinkSpeedInMbps *int64 `json:"linkSpeedInMbps,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_effectiveroutemaproute.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_effectiveroutemaproute.go new file mode 100644 index 000000000000..3a565a687e87 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_effectiveroutemaproute.go @@ -0,0 +1,10 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type EffectiveRouteMapRoute struct { + AsPath *string `json:"asPath,omitempty"` + BgpCommunities *string `json:"bgpCommunities,omitempty"` + Prefix *string `json:"prefix,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_effectiveroutemaproutelist.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_effectiveroutemaproutelist.go new file mode 100644 index 000000000000..326acde877b3 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_effectiveroutemaproutelist.go @@ -0,0 +1,8 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type EffectiveRouteMapRouteList struct { + Value *[]EffectiveRouteMapRoute `json:"value,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_effectiveroutesparameters.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_effectiveroutesparameters.go new file mode 100644 index 000000000000..dab27997ab5b --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_effectiveroutesparameters.go @@ -0,0 +1,9 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type EffectiveRoutesParameters struct { + ResourceId *string `json:"resourceId,omitempty"` + VirtualWanResourceType *string `json:"virtualWanResourceType,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_flowlog.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_flowlog.go new file mode 100644 index 000000000000..bc406232e6a5 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_flowlog.go @@ -0,0 +1,19 @@ +package virtualwans + +import ( + "github.com/hashicorp/go-azure-helpers/resourcemanager/identity" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type FlowLog struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Identity *identity.SystemAndUserAssignedMap `json:"identity,omitempty"` + Location *string `json:"location,omitempty"` + Name *string `json:"name,omitempty"` + Properties *FlowLogPropertiesFormat `json:"properties,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_flowlogformatparameters.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_flowlogformatparameters.go new file mode 100644 index 000000000000..3b64c7c567a3 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_flowlogformatparameters.go @@ -0,0 +1,9 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type FlowLogFormatParameters struct { + Type *FlowLogFormatType `json:"type,omitempty"` + Version *int64 `json:"version,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_flowlogpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_flowlogpropertiesformat.go new file mode 100644 index 000000000000..41747177c874 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_flowlogpropertiesformat.go @@ -0,0 +1,16 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type FlowLogPropertiesFormat struct { + Enabled *bool `json:"enabled,omitempty"` + EnabledFilteringCriteria *string `json:"enabledFilteringCriteria,omitempty"` + FlowAnalyticsConfiguration *TrafficAnalyticsProperties `json:"flowAnalyticsConfiguration,omitempty"` + Format *FlowLogFormatParameters `json:"format,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + RetentionPolicy *RetentionPolicyParameters `json:"retentionPolicy,omitempty"` + StorageId string `json:"storageId"` + TargetResourceGuid *string `json:"targetResourceGuid,omitempty"` + TargetResourceId string `json:"targetResourceId"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_frontendipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_frontendipconfiguration.go new file mode 100644 index 000000000000..b9c97d1e6a40 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_frontendipconfiguration.go @@ -0,0 +1,17 @@ +package virtualwans + +import ( + "github.com/hashicorp/go-azure-helpers/resourcemanager/zones" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type FrontendIPConfiguration struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *FrontendIPConfigurationPropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` + Zones *zones.Schema `json:"zones,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_frontendipconfigurationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_frontendipconfigurationpropertiesformat.go new file mode 100644 index 000000000000..62b1635a8eda --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_frontendipconfigurationpropertiesformat.go @@ -0,0 +1,19 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type FrontendIPConfigurationPropertiesFormat struct { + GatewayLoadBalancer *SubResource `json:"gatewayLoadBalancer,omitempty"` + InboundNatPools *[]SubResource `json:"inboundNatPools,omitempty"` + InboundNatRules *[]SubResource `json:"inboundNatRules,omitempty"` + LoadBalancingRules *[]SubResource `json:"loadBalancingRules,omitempty"` + OutboundRules *[]SubResource `json:"outboundRules,omitempty"` + PrivateIPAddress *string `json:"privateIPAddress,omitempty"` + PrivateIPAddressVersion *IPVersion `json:"privateIPAddressVersion,omitempty"` + PrivateIPAllocationMethod *IPAllocationMethod `json:"privateIPAllocationMethod,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + PublicIPAddress *PublicIPAddress `json:"publicIPAddress,omitempty"` + PublicIPPrefix *SubResource `json:"publicIPPrefix,omitempty"` + Subnet *Subnet `json:"subnet,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_gatewaycustombgpipaddressipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_gatewaycustombgpipaddressipconfiguration.go new file mode 100644 index 000000000000..81c747c0a4af --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_gatewaycustombgpipaddressipconfiguration.go @@ -0,0 +1,9 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type GatewayCustomBgpIPAddressIPConfiguration struct { + CustomBgpIPAddress string `json:"customBgpIpAddress"` + IPConfigurationId string `json:"ipConfigurationId"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_gatewayloadbalancertunnelinterface.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_gatewayloadbalancertunnelinterface.go new file mode 100644 index 000000000000..96c5d2b39e50 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_gatewayloadbalancertunnelinterface.go @@ -0,0 +1,11 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type GatewayLoadBalancerTunnelInterface struct { + Identifier *int64 `json:"identifier,omitempty"` + Port *int64 `json:"port,omitempty"` + Protocol *GatewayLoadBalancerTunnelProtocol `json:"protocol,omitempty"` + Type *GatewayLoadBalancerTunnelInterfaceType `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_getinboundroutesparameters.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_getinboundroutesparameters.go new file mode 100644 index 000000000000..1407618f6604 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_getinboundroutesparameters.go @@ -0,0 +1,9 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type GetInboundRoutesParameters struct { + ConnectionType *string `json:"connectionType,omitempty"` + ResourceUri *string `json:"resourceUri,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_getoutboundroutesparameters.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_getoutboundroutesparameters.go new file mode 100644 index 000000000000..19a89a55b101 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_getoutboundroutesparameters.go @@ -0,0 +1,9 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type GetOutboundRoutesParameters struct { + ConnectionType *string `json:"connectionType,omitempty"` + ResourceUri *string `json:"resourceUri,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_getvpnsitesconfigurationrequest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_getvpnsitesconfigurationrequest.go new file mode 100644 index 000000000000..cd349d0cb2f0 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_getvpnsitesconfigurationrequest.go @@ -0,0 +1,9 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type GetVpnSitesConfigurationRequest struct { + OutputBlobSasURL string `json:"outputBlobSasUrl"` + VpnSites *[]string `json:"vpnSites,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_hubipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_hubipconfiguration.go new file mode 100644 index 000000000000..c666224646f9 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_hubipconfiguration.go @@ -0,0 +1,12 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type HubIPConfiguration struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *HubIPConfigurationPropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_hubipconfigurationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_hubipconfigurationpropertiesformat.go new file mode 100644 index 000000000000..86c4674860bb --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_hubipconfigurationpropertiesformat.go @@ -0,0 +1,12 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type HubIPConfigurationPropertiesFormat struct { + PrivateIPAddress *string `json:"privateIPAddress,omitempty"` + PrivateIPAllocationMethod *IPAllocationMethod `json:"privateIPAllocationMethod,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + PublicIPAddress *PublicIPAddress `json:"publicIPAddress,omitempty"` + Subnet *Subnet `json:"subnet,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_hubroute.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_hubroute.go new file mode 100644 index 000000000000..bc12eef1a4a9 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_hubroute.go @@ -0,0 +1,12 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type HubRoute struct { + DestinationType string `json:"destinationType"` + Destinations []string `json:"destinations"` + Name string `json:"name"` + NextHop string `json:"nextHop"` + NextHopType string `json:"nextHopType"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_hubroutetable.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_hubroutetable.go new file mode 100644 index 000000000000..1214fb071b3f --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_hubroutetable.go @@ -0,0 +1,12 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type HubRouteTable struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *HubRouteTableProperties `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_hubroutetableproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_hubroutetableproperties.go new file mode 100644 index 000000000000..32d33bc1ec9c --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_hubroutetableproperties.go @@ -0,0 +1,12 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type HubRouteTableProperties struct { + AssociatedConnections *[]string `json:"associatedConnections,omitempty"` + Labels *[]string `json:"labels,omitempty"` + PropagatingConnections *[]string `json:"propagatingConnections,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + Routes *[]HubRoute `json:"routes,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_hubvirtualnetworkconnection.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_hubvirtualnetworkconnection.go new file mode 100644 index 000000000000..41f20a0a732c --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_hubvirtualnetworkconnection.go @@ -0,0 +1,11 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type HubVirtualNetworkConnection struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *HubVirtualNetworkConnectionProperties `json:"properties,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_hubvirtualnetworkconnectionproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_hubvirtualnetworkconnectionproperties.go new file mode 100644 index 000000000000..83313e30ed50 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_hubvirtualnetworkconnectionproperties.go @@ -0,0 +1,13 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type HubVirtualNetworkConnectionProperties struct { + AllowHubToRemoteVnetTransit *bool `json:"allowHubToRemoteVnetTransit,omitempty"` + AllowRemoteVnetToUseHubVnetGateways *bool `json:"allowRemoteVnetToUseHubVnetGateways,omitempty"` + EnableInternetSecurity *bool `json:"enableInternetSecurity,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + RemoteVirtualNetwork *SubResource `json:"remoteVirtualNetwork,omitempty"` + RoutingConfiguration *RoutingConfiguration `json:"routingConfiguration,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_inboundnatrule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_inboundnatrule.go new file mode 100644 index 000000000000..eee8ea195cf2 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_inboundnatrule.go @@ -0,0 +1,12 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type InboundNatRule struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *InboundNatRulePropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_inboundnatrulepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_inboundnatrulepropertiesformat.go new file mode 100644 index 000000000000..17b64e3d4689 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_inboundnatrulepropertiesformat.go @@ -0,0 +1,19 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type InboundNatRulePropertiesFormat struct { + BackendAddressPool *SubResource `json:"backendAddressPool,omitempty"` + BackendIPConfiguration *NetworkInterfaceIPConfiguration `json:"backendIPConfiguration,omitempty"` + BackendPort *int64 `json:"backendPort,omitempty"` + EnableFloatingIP *bool `json:"enableFloatingIP,omitempty"` + EnableTcpReset *bool `json:"enableTcpReset,omitempty"` + FrontendIPConfiguration *SubResource `json:"frontendIPConfiguration,omitempty"` + FrontendPort *int64 `json:"frontendPort,omitempty"` + FrontendPortRangeEnd *int64 `json:"frontendPortRangeEnd,omitempty"` + FrontendPortRangeStart *int64 `json:"frontendPortRangeStart,omitempty"` + IdleTimeoutInMinutes *int64 `json:"idleTimeoutInMinutes,omitempty"` + Protocol *TransportProtocol `json:"protocol,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_ipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_ipconfiguration.go new file mode 100644 index 000000000000..1241b6c2c3ea --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_ipconfiguration.go @@ -0,0 +1,11 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type IPConfiguration struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *IPConfigurationPropertiesFormat `json:"properties,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_ipconfigurationbgppeeringaddress.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_ipconfigurationbgppeeringaddress.go new file mode 100644 index 000000000000..fbaabbf7c1b1 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_ipconfigurationbgppeeringaddress.go @@ -0,0 +1,11 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type IPConfigurationBgpPeeringAddress struct { + CustomBgpIPAddresses *[]string `json:"customBgpIpAddresses,omitempty"` + DefaultBgpIPAddresses *[]string `json:"defaultBgpIpAddresses,omitempty"` + IPconfigurationId *string `json:"ipconfigurationId,omitempty"` + TunnelIPAddresses *[]string `json:"tunnelIpAddresses,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_ipconfigurationprofile.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_ipconfigurationprofile.go new file mode 100644 index 000000000000..a710fe9c7f00 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_ipconfigurationprofile.go @@ -0,0 +1,12 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type IPConfigurationProfile struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *IPConfigurationProfilePropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_ipconfigurationprofilepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_ipconfigurationprofilepropertiesformat.go new file mode 100644 index 000000000000..6b808468c3d4 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_ipconfigurationprofilepropertiesformat.go @@ -0,0 +1,9 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type IPConfigurationProfilePropertiesFormat struct { + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + Subnet *Subnet `json:"subnet,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_ipconfigurationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_ipconfigurationpropertiesformat.go new file mode 100644 index 000000000000..58c575ad69f4 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_ipconfigurationpropertiesformat.go @@ -0,0 +1,12 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type IPConfigurationPropertiesFormat struct { + PrivateIPAddress *string `json:"privateIPAddress,omitempty"` + PrivateIPAllocationMethod *IPAllocationMethod `json:"privateIPAllocationMethod,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + PublicIPAddress *PublicIPAddress `json:"publicIPAddress,omitempty"` + Subnet *Subnet `json:"subnet,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_ipsecpolicy.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_ipsecpolicy.go new file mode 100644 index 000000000000..02267e6b24d3 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_ipsecpolicy.go @@ -0,0 +1,15 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type IPsecPolicy struct { + DhGroup DhGroup `json:"dhGroup"` + IPsecEncryption IPsecEncryption `json:"ipsecEncryption"` + IPsecIntegrity IPsecIntegrity `json:"ipsecIntegrity"` + IkeEncryption IkeEncryption `json:"ikeEncryption"` + IkeIntegrity IkeIntegrity `json:"ikeIntegrity"` + PfsGroup PfsGroup `json:"pfsGroup"` + SaDataSizeKilobytes int64 `json:"saDataSizeKilobytes"` + SaLifeTimeSeconds int64 `json:"saLifeTimeSeconds"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_iptag.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_iptag.go new file mode 100644 index 000000000000..de05365d519b --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_iptag.go @@ -0,0 +1,9 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type IPTag struct { + IPTagType *string `json:"ipTagType,omitempty"` + Tag *string `json:"tag,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_loadbalancerbackendaddress.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_loadbalancerbackendaddress.go new file mode 100644 index 000000000000..37820fb13bdd --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_loadbalancerbackendaddress.go @@ -0,0 +1,9 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type LoadBalancerBackendAddress struct { + Name *string `json:"name,omitempty"` + Properties *LoadBalancerBackendAddressPropertiesFormat `json:"properties,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_loadbalancerbackendaddresspropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_loadbalancerbackendaddresspropertiesformat.go new file mode 100644 index 000000000000..3f6629b67eb1 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_loadbalancerbackendaddresspropertiesformat.go @@ -0,0 +1,14 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type LoadBalancerBackendAddressPropertiesFormat struct { + AdminState *LoadBalancerBackendAddressAdminState `json:"adminState,omitempty"` + IPAddress *string `json:"ipAddress,omitempty"` + InboundNatRulesPortMapping *[]NatRulePortMapping `json:"inboundNatRulesPortMapping,omitempty"` + LoadBalancerFrontendIPConfiguration *SubResource `json:"loadBalancerFrontendIPConfiguration,omitempty"` + NetworkInterfaceIPConfiguration *SubResource `json:"networkInterfaceIPConfiguration,omitempty"` + Subnet *SubResource `json:"subnet,omitempty"` + VirtualNetwork *SubResource `json:"virtualNetwork,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_natgateway.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_natgateway.go new file mode 100644 index 000000000000..7e1a4539e08c --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_natgateway.go @@ -0,0 +1,20 @@ +package virtualwans + +import ( + "github.com/hashicorp/go-azure-helpers/resourcemanager/zones" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NatGateway struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Location *string `json:"location,omitempty"` + Name *string `json:"name,omitempty"` + Properties *NatGatewayPropertiesFormat `json:"properties,omitempty"` + Sku *NatGatewaySku `json:"sku,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` + Zones *zones.Schema `json:"zones,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_natgatewaypropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_natgatewaypropertiesformat.go new file mode 100644 index 000000000000..7f5732e1cc0f --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_natgatewaypropertiesformat.go @@ -0,0 +1,13 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NatGatewayPropertiesFormat struct { + IdleTimeoutInMinutes *int64 `json:"idleTimeoutInMinutes,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + PublicIPAddresses *[]SubResource `json:"publicIpAddresses,omitempty"` + PublicIPPrefixes *[]SubResource `json:"publicIpPrefixes,omitempty"` + ResourceGuid *string `json:"resourceGuid,omitempty"` + Subnets *[]SubResource `json:"subnets,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_natgatewaysku.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_natgatewaysku.go new file mode 100644 index 000000000000..4cd49e069a9e --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_natgatewaysku.go @@ -0,0 +1,8 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NatGatewaySku struct { + Name *NatGatewaySkuName `json:"name,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_natruleportmapping.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_natruleportmapping.go new file mode 100644 index 000000000000..2ce8b302da36 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_natruleportmapping.go @@ -0,0 +1,10 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NatRulePortMapping struct { + BackendPort *int64 `json:"backendPort,omitempty"` + FrontendPort *int64 `json:"frontendPort,omitempty"` + InboundNatRuleName *string `json:"inboundNatRuleName,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_networkinterface.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_networkinterface.go new file mode 100644 index 000000000000..b6b5bf73332f --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_networkinterface.go @@ -0,0 +1,19 @@ +package virtualwans + +import ( + "github.com/hashicorp/go-azure-helpers/resourcemanager/edgezones" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NetworkInterface struct { + Etag *string `json:"etag,omitempty"` + ExtendedLocation *edgezones.Model `json:"extendedLocation,omitempty"` + Id *string `json:"id,omitempty"` + Location *string `json:"location,omitempty"` + Name *string `json:"name,omitempty"` + Properties *NetworkInterfacePropertiesFormat `json:"properties,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_networkinterfacednssettings.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_networkinterfacednssettings.go new file mode 100644 index 000000000000..d0dcb411a3e9 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_networkinterfacednssettings.go @@ -0,0 +1,12 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NetworkInterfaceDnsSettings struct { + AppliedDnsServers *[]string `json:"appliedDnsServers,omitempty"` + DnsServers *[]string `json:"dnsServers,omitempty"` + InternalDnsNameLabel *string `json:"internalDnsNameLabel,omitempty"` + InternalDomainNameSuffix *string `json:"internalDomainNameSuffix,omitempty"` + InternalFqdn *string `json:"internalFqdn,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_networkinterfaceipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_networkinterfaceipconfiguration.go new file mode 100644 index 000000000000..5c0d1edc7adc --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_networkinterfaceipconfiguration.go @@ -0,0 +1,12 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NetworkInterfaceIPConfiguration struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *NetworkInterfaceIPConfigurationPropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_networkinterfaceipconfigurationprivatelinkconnectionproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_networkinterfaceipconfigurationprivatelinkconnectionproperties.go new file mode 100644 index 000000000000..9ed5a87eb91a --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_networkinterfaceipconfigurationprivatelinkconnectionproperties.go @@ -0,0 +1,10 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties struct { + Fqdns *[]string `json:"fqdns,omitempty"` + GroupId *string `json:"groupId,omitempty"` + RequiredMemberName *string `json:"requiredMemberName,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_networkinterfaceipconfigurationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_networkinterfaceipconfigurationpropertiesformat.go new file mode 100644 index 000000000000..09f53d0138b8 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_networkinterfaceipconfigurationpropertiesformat.go @@ -0,0 +1,22 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NetworkInterfaceIPConfigurationPropertiesFormat struct { + ApplicationGatewayBackendAddressPools *[]ApplicationGatewayBackendAddressPool `json:"applicationGatewayBackendAddressPools,omitempty"` + ApplicationSecurityGroups *[]ApplicationSecurityGroup `json:"applicationSecurityGroups,omitempty"` + GatewayLoadBalancer *SubResource `json:"gatewayLoadBalancer,omitempty"` + LoadBalancerBackendAddressPools *[]BackendAddressPool `json:"loadBalancerBackendAddressPools,omitempty"` + LoadBalancerInboundNatRules *[]InboundNatRule `json:"loadBalancerInboundNatRules,omitempty"` + Primary *bool `json:"primary,omitempty"` + PrivateIPAddress *string `json:"privateIPAddress,omitempty"` + PrivateIPAddressPrefixLength *int64 `json:"privateIPAddressPrefixLength,omitempty"` + PrivateIPAddressVersion *IPVersion `json:"privateIPAddressVersion,omitempty"` + PrivateIPAllocationMethod *IPAllocationMethod `json:"privateIPAllocationMethod,omitempty"` + PrivateLinkConnectionProperties *NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties `json:"privateLinkConnectionProperties,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + PublicIPAddress *PublicIPAddress `json:"publicIPAddress,omitempty"` + Subnet *Subnet `json:"subnet,omitempty"` + VirtualNetworkTaps *[]VirtualNetworkTap `json:"virtualNetworkTaps,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_networkinterfacepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_networkinterfacepropertiesformat.go new file mode 100644 index 000000000000..eb6875aa05ea --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_networkinterfacepropertiesformat.go @@ -0,0 +1,29 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NetworkInterfacePropertiesFormat struct { + AuxiliaryMode *NetworkInterfaceAuxiliaryMode `json:"auxiliaryMode,omitempty"` + AuxiliarySku *NetworkInterfaceAuxiliarySku `json:"auxiliarySku,omitempty"` + DisableTcpStateTracking *bool `json:"disableTcpStateTracking,omitempty"` + DnsSettings *NetworkInterfaceDnsSettings `json:"dnsSettings,omitempty"` + DscpConfiguration *SubResource `json:"dscpConfiguration,omitempty"` + EnableAcceleratedNetworking *bool `json:"enableAcceleratedNetworking,omitempty"` + EnableIPForwarding *bool `json:"enableIPForwarding,omitempty"` + HostedWorkloads *[]string `json:"hostedWorkloads,omitempty"` + IPConfigurations *[]NetworkInterfaceIPConfiguration `json:"ipConfigurations,omitempty"` + MacAddress *string `json:"macAddress,omitempty"` + MigrationPhase *NetworkInterfaceMigrationPhase `json:"migrationPhase,omitempty"` + NetworkSecurityGroup *NetworkSecurityGroup `json:"networkSecurityGroup,omitempty"` + NicType *NetworkInterfaceNicType `json:"nicType,omitempty"` + Primary *bool `json:"primary,omitempty"` + PrivateEndpoint *PrivateEndpoint `json:"privateEndpoint,omitempty"` + PrivateLinkService *PrivateLinkService `json:"privateLinkService,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + ResourceGuid *string `json:"resourceGuid,omitempty"` + TapConfigurations *[]NetworkInterfaceTapConfiguration `json:"tapConfigurations,omitempty"` + VirtualMachine *SubResource `json:"virtualMachine,omitempty"` + VnetEncryptionSupported *bool `json:"vnetEncryptionSupported,omitempty"` + WorkloadType *string `json:"workloadType,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_networkinterfacetapconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_networkinterfacetapconfiguration.go new file mode 100644 index 000000000000..d12531c27982 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_networkinterfacetapconfiguration.go @@ -0,0 +1,12 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NetworkInterfaceTapConfiguration struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *NetworkInterfaceTapConfigurationPropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_networkinterfacetapconfigurationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_networkinterfacetapconfigurationpropertiesformat.go new file mode 100644 index 000000000000..70fb9b73ddbf --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_networkinterfacetapconfigurationpropertiesformat.go @@ -0,0 +1,9 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NetworkInterfaceTapConfigurationPropertiesFormat struct { + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + VirtualNetworkTap *VirtualNetworkTap `json:"virtualNetworkTap,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_networksecuritygroup.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_networksecuritygroup.go new file mode 100644 index 000000000000..c941605df94e --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_networksecuritygroup.go @@ -0,0 +1,14 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NetworkSecurityGroup struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Location *string `json:"location,omitempty"` + Name *string `json:"name,omitempty"` + Properties *NetworkSecurityGroupPropertiesFormat `json:"properties,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_networksecuritygrouppropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_networksecuritygrouppropertiesformat.go new file mode 100644 index 000000000000..54526eb4ea06 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_networksecuritygrouppropertiesformat.go @@ -0,0 +1,15 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NetworkSecurityGroupPropertiesFormat struct { + DefaultSecurityRules *[]SecurityRule `json:"defaultSecurityRules,omitempty"` + FlowLogs *[]FlowLog `json:"flowLogs,omitempty"` + FlushConnection *bool `json:"flushConnection,omitempty"` + NetworkInterfaces *[]NetworkInterface `json:"networkInterfaces,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + ResourceGuid *string `json:"resourceGuid,omitempty"` + SecurityRules *[]SecurityRule `json:"securityRules,omitempty"` + Subnets *[]Subnet `json:"subnets,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_networkvirtualapplianceconnection.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_networkvirtualapplianceconnection.go new file mode 100644 index 000000000000..903d78680e70 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_networkvirtualapplianceconnection.go @@ -0,0 +1,10 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NetworkVirtualApplianceConnection struct { + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *NetworkVirtualApplianceConnectionProperties `json:"properties,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_networkvirtualapplianceconnectionproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_networkvirtualapplianceconnectionproperties.go new file mode 100644 index 000000000000..bfe5ec7a3172 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_networkvirtualapplianceconnectionproperties.go @@ -0,0 +1,14 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NetworkVirtualApplianceConnectionProperties struct { + Asn *int64 `json:"asn,omitempty"` + BgpPeerAddress *[]string `json:"bgpPeerAddress,omitempty"` + EnableInternetSecurity *bool `json:"enableInternetSecurity,omitempty"` + Name *string `json:"name,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + RoutingConfiguration *RoutingConfiguration `json:"routingConfiguration,omitempty"` + TunnelIdentifier *int64 `json:"tunnelIdentifier,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_o365breakoutcategorypolicies.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_o365breakoutcategorypolicies.go new file mode 100644 index 000000000000..0a9ed71a50bb --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_o365breakoutcategorypolicies.go @@ -0,0 +1,10 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type O365BreakOutCategoryPolicies struct { + Allow *bool `json:"allow,omitempty"` + Default *bool `json:"default,omitempty"` + Optimize *bool `json:"optimize,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_o365policyproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_o365policyproperties.go new file mode 100644 index 000000000000..eeae991ee3fb --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_o365policyproperties.go @@ -0,0 +1,8 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type O365PolicyProperties struct { + BreakOutCategories *O365BreakOutCategoryPolicies `json:"breakOutCategories,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_p2sconnectionconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_p2sconnectionconfiguration.go new file mode 100644 index 000000000000..08a6a4528430 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_p2sconnectionconfiguration.go @@ -0,0 +1,11 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type P2SConnectionConfiguration struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *P2SConnectionConfigurationProperties `json:"properties,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_p2sconnectionconfigurationproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_p2sconnectionconfigurationproperties.go new file mode 100644 index 000000000000..a5558cf1e488 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_p2sconnectionconfigurationproperties.go @@ -0,0 +1,13 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type P2SConnectionConfigurationProperties struct { + ConfigurationPolicyGroupAssociations *[]SubResource `json:"configurationPolicyGroupAssociations,omitempty"` + EnableInternetSecurity *bool `json:"enableInternetSecurity,omitempty"` + PreviousConfigurationPolicyGroupAssociations *[]VpnServerConfigurationPolicyGroup `json:"previousConfigurationPolicyGroupAssociations,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + RoutingConfiguration *RoutingConfiguration `json:"routingConfiguration,omitempty"` + VpnClientAddressPool *AddressSpace `json:"vpnClientAddressPool,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_p2svpngateway.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_p2svpngateway.go new file mode 100644 index 000000000000..25f63025e39a --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_p2svpngateway.go @@ -0,0 +1,14 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type P2SVpnGateway struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Location *string `json:"location,omitempty"` + Name *string `json:"name,omitempty"` + Properties *P2SVpnGatewayProperties `json:"properties,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_p2svpngatewayproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_p2svpngatewayproperties.go new file mode 100644 index 000000000000..d337b304bbd1 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_p2svpngatewayproperties.go @@ -0,0 +1,15 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type P2SVpnGatewayProperties struct { + CustomDnsServers *[]string `json:"customDnsServers,omitempty"` + IsRoutingPreferenceInternet *bool `json:"isRoutingPreferenceInternet,omitempty"` + P2SConnectionConfigurations *[]P2SConnectionConfiguration `json:"p2SConnectionConfigurations,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + VirtualHub *SubResource `json:"virtualHub,omitempty"` + VpnClientConnectionHealth *VpnClientConnectionHealth `json:"vpnClientConnectionHealth,omitempty"` + VpnGatewayScaleUnit *int64 `json:"vpnGatewayScaleUnit,omitempty"` + VpnServerConfiguration *SubResource `json:"vpnServerConfiguration,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_parameter.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_parameter.go new file mode 100644 index 000000000000..d1619c1138c5 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_parameter.go @@ -0,0 +1,10 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type Parameter struct { + AsPath *[]string `json:"asPath,omitempty"` + Community *[]string `json:"community,omitempty"` + RoutePrefix *[]string `json:"routePrefix,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_peerroute.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_peerroute.go new file mode 100644 index 000000000000..c03bdbe8722a --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_peerroute.go @@ -0,0 +1,14 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PeerRoute struct { + AsPath *string `json:"asPath,omitempty"` + LocalAddress *string `json:"localAddress,omitempty"` + Network *string `json:"network,omitempty"` + NextHop *string `json:"nextHop,omitempty"` + Origin *string `json:"origin,omitempty"` + SourcePeer *string `json:"sourcePeer,omitempty"` + Weight *int64 `json:"weight,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_privateendpoint.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_privateendpoint.go new file mode 100644 index 000000000000..d493c3ed57a0 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_privateendpoint.go @@ -0,0 +1,19 @@ +package virtualwans + +import ( + "github.com/hashicorp/go-azure-helpers/resourcemanager/edgezones" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PrivateEndpoint struct { + Etag *string `json:"etag,omitempty"` + ExtendedLocation *edgezones.Model `json:"extendedLocation,omitempty"` + Id *string `json:"id,omitempty"` + Location *string `json:"location,omitempty"` + Name *string `json:"name,omitempty"` + Properties *PrivateEndpointProperties `json:"properties,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_privateendpointconnection.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_privateendpointconnection.go new file mode 100644 index 000000000000..191623acf98c --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_privateendpointconnection.go @@ -0,0 +1,12 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PrivateEndpointConnection struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *PrivateEndpointConnectionProperties `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_privateendpointconnectionproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_privateendpointconnectionproperties.go new file mode 100644 index 000000000000..f54855d12882 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_privateendpointconnectionproperties.go @@ -0,0 +1,12 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PrivateEndpointConnectionProperties struct { + LinkIdentifier *string `json:"linkIdentifier,omitempty"` + PrivateEndpoint *PrivateEndpoint `json:"privateEndpoint,omitempty"` + PrivateEndpointLocation *string `json:"privateEndpointLocation,omitempty"` + PrivateLinkServiceConnectionState *PrivateLinkServiceConnectionState `json:"privateLinkServiceConnectionState,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_privateendpointipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_privateendpointipconfiguration.go new file mode 100644 index 000000000000..053d067b6855 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_privateendpointipconfiguration.go @@ -0,0 +1,11 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PrivateEndpointIPConfiguration struct { + Etag *string `json:"etag,omitempty"` + Name *string `json:"name,omitempty"` + Properties *PrivateEndpointIPConfigurationProperties `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_privateendpointipconfigurationproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_privateendpointipconfigurationproperties.go new file mode 100644 index 000000000000..d6794440033e --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_privateendpointipconfigurationproperties.go @@ -0,0 +1,10 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PrivateEndpointIPConfigurationProperties struct { + GroupId *string `json:"groupId,omitempty"` + MemberName *string `json:"memberName,omitempty"` + PrivateIPAddress *string `json:"privateIPAddress,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_privateendpointproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_privateendpointproperties.go new file mode 100644 index 000000000000..3af5e8a64e0e --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_privateendpointproperties.go @@ -0,0 +1,16 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PrivateEndpointProperties struct { + ApplicationSecurityGroups *[]ApplicationSecurityGroup `json:"applicationSecurityGroups,omitempty"` + CustomDnsConfigs *[]CustomDnsConfigPropertiesFormat `json:"customDnsConfigs,omitempty"` + CustomNetworkInterfaceName *string `json:"customNetworkInterfaceName,omitempty"` + IPConfigurations *[]PrivateEndpointIPConfiguration `json:"ipConfigurations,omitempty"` + ManualPrivateLinkServiceConnections *[]PrivateLinkServiceConnection `json:"manualPrivateLinkServiceConnections,omitempty"` + NetworkInterfaces *[]NetworkInterface `json:"networkInterfaces,omitempty"` + PrivateLinkServiceConnections *[]PrivateLinkServiceConnection `json:"privateLinkServiceConnections,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + Subnet *Subnet `json:"subnet,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_privatelinkservice.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_privatelinkservice.go new file mode 100644 index 000000000000..79f0f888953c --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_privatelinkservice.go @@ -0,0 +1,19 @@ +package virtualwans + +import ( + "github.com/hashicorp/go-azure-helpers/resourcemanager/edgezones" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PrivateLinkService struct { + Etag *string `json:"etag,omitempty"` + ExtendedLocation *edgezones.Model `json:"extendedLocation,omitempty"` + Id *string `json:"id,omitempty"` + Location *string `json:"location,omitempty"` + Name *string `json:"name,omitempty"` + Properties *PrivateLinkServiceProperties `json:"properties,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_privatelinkserviceconnection.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_privatelinkserviceconnection.go new file mode 100644 index 000000000000..b584feab35a1 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_privatelinkserviceconnection.go @@ -0,0 +1,12 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PrivateLinkServiceConnection struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *PrivateLinkServiceConnectionProperties `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_privatelinkserviceconnectionproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_privatelinkserviceconnectionproperties.go new file mode 100644 index 000000000000..5875bd90e15d --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_privatelinkserviceconnectionproperties.go @@ -0,0 +1,12 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PrivateLinkServiceConnectionProperties struct { + GroupIds *[]string `json:"groupIds,omitempty"` + PrivateLinkServiceConnectionState *PrivateLinkServiceConnectionState `json:"privateLinkServiceConnectionState,omitempty"` + PrivateLinkServiceId *string `json:"privateLinkServiceId,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + RequestMessage *string `json:"requestMessage,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_privatelinkserviceconnectionstate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_privatelinkserviceconnectionstate.go new file mode 100644 index 000000000000..c1664caec07d --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_privatelinkserviceconnectionstate.go @@ -0,0 +1,10 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PrivateLinkServiceConnectionState struct { + ActionsRequired *string `json:"actionsRequired,omitempty"` + Description *string `json:"description,omitempty"` + Status *string `json:"status,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_privatelinkserviceipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_privatelinkserviceipconfiguration.go new file mode 100644 index 000000000000..3558cb8095ce --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_privatelinkserviceipconfiguration.go @@ -0,0 +1,12 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PrivateLinkServiceIPConfiguration struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *PrivateLinkServiceIPConfigurationProperties `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_privatelinkserviceipconfigurationproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_privatelinkserviceipconfigurationproperties.go new file mode 100644 index 000000000000..31251b676855 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_privatelinkserviceipconfigurationproperties.go @@ -0,0 +1,13 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PrivateLinkServiceIPConfigurationProperties struct { + Primary *bool `json:"primary,omitempty"` + PrivateIPAddress *string `json:"privateIPAddress,omitempty"` + PrivateIPAddressVersion *IPVersion `json:"privateIPAddressVersion,omitempty"` + PrivateIPAllocationMethod *IPAllocationMethod `json:"privateIPAllocationMethod,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + Subnet *Subnet `json:"subnet,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_privatelinkserviceproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_privatelinkserviceproperties.go new file mode 100644 index 000000000000..5160f8086551 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_privatelinkserviceproperties.go @@ -0,0 +1,18 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PrivateLinkServiceProperties struct { + Alias *string `json:"alias,omitempty"` + AutoApproval *ResourceSet `json:"autoApproval,omitempty"` + DestinationIPAddress *string `json:"destinationIPAddress,omitempty"` + EnableProxyProtocol *bool `json:"enableProxyProtocol,omitempty"` + Fqdns *[]string `json:"fqdns,omitempty"` + IPConfigurations *[]PrivateLinkServiceIPConfiguration `json:"ipConfigurations,omitempty"` + LoadBalancerFrontendIPConfigurations *[]FrontendIPConfiguration `json:"loadBalancerFrontendIpConfigurations,omitempty"` + NetworkInterfaces *[]NetworkInterface `json:"networkInterfaces,omitempty"` + PrivateEndpointConnections *[]PrivateEndpointConnection `json:"privateEndpointConnections,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + Visibility *ResourceSet `json:"visibility,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_propagatedroutetable.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_propagatedroutetable.go new file mode 100644 index 000000000000..af45ddbedf13 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_propagatedroutetable.go @@ -0,0 +1,9 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PropagatedRouteTable struct { + Ids *[]SubResource `json:"ids,omitempty"` + Labels *[]string `json:"labels,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_publicipaddress.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_publicipaddress.go new file mode 100644 index 000000000000..8bd2fa402a43 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_publicipaddress.go @@ -0,0 +1,22 @@ +package virtualwans + +import ( + "github.com/hashicorp/go-azure-helpers/resourcemanager/edgezones" + "github.com/hashicorp/go-azure-helpers/resourcemanager/zones" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PublicIPAddress struct { + Etag *string `json:"etag,omitempty"` + ExtendedLocation *edgezones.Model `json:"extendedLocation,omitempty"` + Id *string `json:"id,omitempty"` + Location *string `json:"location,omitempty"` + Name *string `json:"name,omitempty"` + Properties *PublicIPAddressPropertiesFormat `json:"properties,omitempty"` + Sku *PublicIPAddressSku `json:"sku,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` + Zones *zones.Schema `json:"zones,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_publicipaddressdnssettings.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_publicipaddressdnssettings.go new file mode 100644 index 000000000000..2a95851cb0ce --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_publicipaddressdnssettings.go @@ -0,0 +1,11 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PublicIPAddressDnsSettings struct { + DomainNameLabel *string `json:"domainNameLabel,omitempty"` + DomainNameLabelScope *PublicIPAddressDnsSettingsDomainNameLabelScope `json:"domainNameLabelScope,omitempty"` + Fqdn *string `json:"fqdn,omitempty"` + ReverseFqdn *string `json:"reverseFqdn,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_publicipaddresspropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_publicipaddresspropertiesformat.go new file mode 100644 index 000000000000..48fecb8ae904 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_publicipaddresspropertiesformat.go @@ -0,0 +1,23 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PublicIPAddressPropertiesFormat struct { + DdosSettings *DdosSettings `json:"ddosSettings,omitempty"` + DeleteOption *DeleteOptions `json:"deleteOption,omitempty"` + DnsSettings *PublicIPAddressDnsSettings `json:"dnsSettings,omitempty"` + IPAddress *string `json:"ipAddress,omitempty"` + IPConfiguration *IPConfiguration `json:"ipConfiguration,omitempty"` + IPTags *[]IPTag `json:"ipTags,omitempty"` + IdleTimeoutInMinutes *int64 `json:"idleTimeoutInMinutes,omitempty"` + LinkedPublicIPAddress *PublicIPAddress `json:"linkedPublicIPAddress,omitempty"` + MigrationPhase *PublicIPAddressMigrationPhase `json:"migrationPhase,omitempty"` + NatGateway *NatGateway `json:"natGateway,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + PublicIPAddressVersion *IPVersion `json:"publicIPAddressVersion,omitempty"` + PublicIPAllocationMethod *IPAllocationMethod `json:"publicIPAllocationMethod,omitempty"` + PublicIPPrefix *SubResource `json:"publicIPPrefix,omitempty"` + ResourceGuid *string `json:"resourceGuid,omitempty"` + ServicePublicIPAddress *PublicIPAddress `json:"servicePublicIPAddress,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_publicipaddresssku.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_publicipaddresssku.go new file mode 100644 index 000000000000..4fcf5fb0e8f9 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_publicipaddresssku.go @@ -0,0 +1,9 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PublicIPAddressSku struct { + Name *PublicIPAddressSkuName `json:"name,omitempty"` + Tier *PublicIPAddressSkuTier `json:"tier,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_radiusserver.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_radiusserver.go new file mode 100644 index 000000000000..858a67625c97 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_radiusserver.go @@ -0,0 +1,10 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type RadiusServer struct { + RadiusServerAddress string `json:"radiusServerAddress"` + RadiusServerScore *int64 `json:"radiusServerScore,omitempty"` + RadiusServerSecret *string `json:"radiusServerSecret,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_resourcenavigationlink.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_resourcenavigationlink.go new file mode 100644 index 000000000000..b0d119588a36 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_resourcenavigationlink.go @@ -0,0 +1,12 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ResourceNavigationLink struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *ResourceNavigationLinkFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_resourcenavigationlinkformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_resourcenavigationlinkformat.go new file mode 100644 index 000000000000..9443c31d2276 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_resourcenavigationlinkformat.go @@ -0,0 +1,10 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ResourceNavigationLinkFormat struct { + Link *string `json:"link,omitempty"` + LinkedResourceType *string `json:"linkedResourceType,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_resourceset.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_resourceset.go new file mode 100644 index 000000000000..f8d5a3c07759 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_resourceset.go @@ -0,0 +1,8 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ResourceSet struct { + Subscriptions *[]string `json:"subscriptions,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_retentionpolicyparameters.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_retentionpolicyparameters.go new file mode 100644 index 000000000000..57394822b9d8 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_retentionpolicyparameters.go @@ -0,0 +1,9 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type RetentionPolicyParameters struct { + Days *int64 `json:"days,omitempty"` + Enabled *bool `json:"enabled,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_route.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_route.go new file mode 100644 index 000000000000..5ae4b7a4ff8b --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_route.go @@ -0,0 +1,12 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type Route struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *RoutePropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_routemap.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_routemap.go new file mode 100644 index 000000000000..6c5941f5a4c2 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_routemap.go @@ -0,0 +1,12 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type RouteMap struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *RouteMapProperties `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_routemapproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_routemapproperties.go new file mode 100644 index 000000000000..a4a019429fff --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_routemapproperties.go @@ -0,0 +1,11 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type RouteMapProperties struct { + AssociatedInboundConnections *[]string `json:"associatedInboundConnections,omitempty"` + AssociatedOutboundConnections *[]string `json:"associatedOutboundConnections,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + Rules *[]RouteMapRule `json:"rules,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_routemaprule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_routemaprule.go new file mode 100644 index 000000000000..cdeacc9a78b2 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_routemaprule.go @@ -0,0 +1,11 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type RouteMapRule struct { + Actions *[]Action `json:"actions,omitempty"` + MatchCriteria *[]Criterion `json:"matchCriteria,omitempty"` + Name *string `json:"name,omitempty"` + NextStepIfMatched *NextStep `json:"nextStepIfMatched,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_routepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_routepropertiesformat.go new file mode 100644 index 000000000000..51259038175d --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_routepropertiesformat.go @@ -0,0 +1,12 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type RoutePropertiesFormat struct { + AddressPrefix *string `json:"addressPrefix,omitempty"` + HasBgpOverride *bool `json:"hasBgpOverride,omitempty"` + NextHopIPAddress *string `json:"nextHopIpAddress,omitempty"` + NextHopType RouteNextHopType `json:"nextHopType"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_routetable.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_routetable.go new file mode 100644 index 000000000000..76a72a637be5 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_routetable.go @@ -0,0 +1,14 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type RouteTable struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Location *string `json:"location,omitempty"` + Name *string `json:"name,omitempty"` + Properties *RouteTablePropertiesFormat `json:"properties,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_routetablepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_routetablepropertiesformat.go new file mode 100644 index 000000000000..9a5454526a4e --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_routetablepropertiesformat.go @@ -0,0 +1,12 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type RouteTablePropertiesFormat struct { + DisableBgpRoutePropagation *bool `json:"disableBgpRoutePropagation,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + ResourceGuid *string `json:"resourceGuid,omitempty"` + Routes *[]Route `json:"routes,omitempty"` + Subnets *[]Subnet `json:"subnets,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_routingconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_routingconfiguration.go new file mode 100644 index 000000000000..f4ca0018afa6 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_routingconfiguration.go @@ -0,0 +1,12 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type RoutingConfiguration struct { + AssociatedRouteTable *SubResource `json:"associatedRouteTable,omitempty"` + InboundRouteMap *SubResource `json:"inboundRouteMap,omitempty"` + OutboundRouteMap *SubResource `json:"outboundRouteMap,omitempty"` + PropagatedRouteTables *PropagatedRouteTable `json:"propagatedRouteTables,omitempty"` + VnetRoutes *VnetRoute `json:"vnetRoutes,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_routingintent.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_routingintent.go new file mode 100644 index 000000000000..537f1404f3d1 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_routingintent.go @@ -0,0 +1,12 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type RoutingIntent struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *RoutingIntentProperties `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_routingintentproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_routingintentproperties.go new file mode 100644 index 000000000000..38a3b8e4147b --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_routingintentproperties.go @@ -0,0 +1,9 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type RoutingIntentProperties struct { + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + RoutingPolicies *[]RoutingPolicy `json:"routingPolicies,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_routingpolicy.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_routingpolicy.go new file mode 100644 index 000000000000..cef221dbd589 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_routingpolicy.go @@ -0,0 +1,10 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type RoutingPolicy struct { + Destinations []string `json:"destinations"` + Name string `json:"name"` + NextHop string `json:"nextHop"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_securityrule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_securityrule.go new file mode 100644 index 000000000000..72e68599476f --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_securityrule.go @@ -0,0 +1,12 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type SecurityRule struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *SecurityRulePropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_securityrulepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_securityrulepropertiesformat.go new file mode 100644 index 000000000000..547a37a71ce6 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_securityrulepropertiesformat.go @@ -0,0 +1,23 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type SecurityRulePropertiesFormat struct { + Access SecurityRuleAccess `json:"access"` + Description *string `json:"description,omitempty"` + DestinationAddressPrefix *string `json:"destinationAddressPrefix,omitempty"` + DestinationAddressPrefixes *[]string `json:"destinationAddressPrefixes,omitempty"` + DestinationApplicationSecurityGroups *[]ApplicationSecurityGroup `json:"destinationApplicationSecurityGroups,omitempty"` + DestinationPortRange *string `json:"destinationPortRange,omitempty"` + DestinationPortRanges *[]string `json:"destinationPortRanges,omitempty"` + Direction SecurityRuleDirection `json:"direction"` + Priority int64 `json:"priority"` + Protocol SecurityRuleProtocol `json:"protocol"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + SourceAddressPrefix *string `json:"sourceAddressPrefix,omitempty"` + SourceAddressPrefixes *[]string `json:"sourceAddressPrefixes,omitempty"` + SourceApplicationSecurityGroups *[]ApplicationSecurityGroup `json:"sourceApplicationSecurityGroups,omitempty"` + SourcePortRange *string `json:"sourcePortRange,omitempty"` + SourcePortRanges *[]string `json:"sourcePortRanges,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_serviceassociationlink.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_serviceassociationlink.go new file mode 100644 index 000000000000..0b2b5927b194 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_serviceassociationlink.go @@ -0,0 +1,12 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ServiceAssociationLink struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *ServiceAssociationLinkPropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_serviceassociationlinkpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_serviceassociationlinkpropertiesformat.go new file mode 100644 index 000000000000..1aa80542228e --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_serviceassociationlinkpropertiesformat.go @@ -0,0 +1,12 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ServiceAssociationLinkPropertiesFormat struct { + AllowDelete *bool `json:"allowDelete,omitempty"` + Link *string `json:"link,omitempty"` + LinkedResourceType *string `json:"linkedResourceType,omitempty"` + Locations *[]string `json:"locations,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_servicedelegationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_servicedelegationpropertiesformat.go new file mode 100644 index 000000000000..aaeb340b2c7c --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_servicedelegationpropertiesformat.go @@ -0,0 +1,10 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ServiceDelegationPropertiesFormat struct { + Actions *[]string `json:"actions,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + ServiceName *string `json:"serviceName,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_serviceendpointpolicy.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_serviceendpointpolicy.go new file mode 100644 index 000000000000..62b85e18cbf8 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_serviceendpointpolicy.go @@ -0,0 +1,15 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ServiceEndpointPolicy struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Kind *string `json:"kind,omitempty"` + Location *string `json:"location,omitempty"` + Name *string `json:"name,omitempty"` + Properties *ServiceEndpointPolicyPropertiesFormat `json:"properties,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_serviceendpointpolicydefinition.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_serviceendpointpolicydefinition.go new file mode 100644 index 000000000000..886de873aeac --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_serviceendpointpolicydefinition.go @@ -0,0 +1,12 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ServiceEndpointPolicyDefinition struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *ServiceEndpointPolicyDefinitionPropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_serviceendpointpolicydefinitionpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_serviceendpointpolicydefinitionpropertiesformat.go new file mode 100644 index 000000000000..433a85d20065 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_serviceendpointpolicydefinitionpropertiesformat.go @@ -0,0 +1,11 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ServiceEndpointPolicyDefinitionPropertiesFormat struct { + Description *string `json:"description,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + Service *string `json:"service,omitempty"` + ServiceResources *[]string `json:"serviceResources,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_serviceendpointpolicypropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_serviceendpointpolicypropertiesformat.go new file mode 100644 index 000000000000..6c09399b151f --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_serviceendpointpolicypropertiesformat.go @@ -0,0 +1,13 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ServiceEndpointPolicyPropertiesFormat struct { + ContextualServiceEndpointPolicies *[]string `json:"contextualServiceEndpointPolicies,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + ResourceGuid *string `json:"resourceGuid,omitempty"` + ServiceAlias *string `json:"serviceAlias,omitempty"` + ServiceEndpointPolicyDefinitions *[]ServiceEndpointPolicyDefinition `json:"serviceEndpointPolicyDefinitions,omitempty"` + Subnets *[]Subnet `json:"subnets,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_serviceendpointpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_serviceendpointpropertiesformat.go new file mode 100644 index 000000000000..f8ef284cbaae --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_serviceendpointpropertiesformat.go @@ -0,0 +1,11 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ServiceEndpointPropertiesFormat struct { + Locations *[]string `json:"locations,omitempty"` + NetworkIdentifier *SubResource `json:"networkIdentifier,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + Service *string `json:"service,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_sharedkeyproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_sharedkeyproperties.go new file mode 100644 index 000000000000..5988e0bc6fdd --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_sharedkeyproperties.go @@ -0,0 +1,10 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type SharedKeyProperties struct { + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + SharedKey *string `json:"sharedKey,omitempty"` + SharedKeyLength *int64 `json:"sharedKeyLength,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_staticroute.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_staticroute.go new file mode 100644 index 000000000000..c57fdb00cea6 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_staticroute.go @@ -0,0 +1,10 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type StaticRoute struct { + AddressPrefixes *[]string `json:"addressPrefixes,omitempty"` + Name *string `json:"name,omitempty"` + NextHopIPAddress *string `json:"nextHopIpAddress,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_staticroutesconfig.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_staticroutesconfig.go new file mode 100644 index 000000000000..c286d119b662 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_staticroutesconfig.go @@ -0,0 +1,9 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type StaticRoutesConfig struct { + PropagateStaticRoutes *bool `json:"propagateStaticRoutes,omitempty"` + VnetLocalRouteOverrideCriteria *VnetLocalRouteOverrideCriteria `json:"vnetLocalRouteOverrideCriteria,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_subnet.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_subnet.go new file mode 100644 index 000000000000..ecdd88e02075 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_subnet.go @@ -0,0 +1,12 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type Subnet struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *SubnetPropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_subnetpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_subnetpropertiesformat.go new file mode 100644 index 000000000000..99ccf399c440 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_subnetpropertiesformat.go @@ -0,0 +1,28 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type SubnetPropertiesFormat struct { + AddressPrefix *string `json:"addressPrefix,omitempty"` + AddressPrefixes *[]string `json:"addressPrefixes,omitempty"` + ApplicationGatewayIPConfigurations *[]ApplicationGatewayIPConfiguration `json:"applicationGatewayIPConfigurations,omitempty"` + DefaultOutboundAccess *bool `json:"defaultOutboundAccess,omitempty"` + Delegations *[]Delegation `json:"delegations,omitempty"` + IPAllocations *[]SubResource `json:"ipAllocations,omitempty"` + IPConfigurationProfiles *[]IPConfigurationProfile `json:"ipConfigurationProfiles,omitempty"` + IPConfigurations *[]IPConfiguration `json:"ipConfigurations,omitempty"` + NatGateway *SubResource `json:"natGateway,omitempty"` + NetworkSecurityGroup *NetworkSecurityGroup `json:"networkSecurityGroup,omitempty"` + PrivateEndpointNetworkPolicies *VirtualNetworkPrivateEndpointNetworkPolicies `json:"privateEndpointNetworkPolicies,omitempty"` + PrivateEndpoints *[]PrivateEndpoint `json:"privateEndpoints,omitempty"` + PrivateLinkServiceNetworkPolicies *VirtualNetworkPrivateLinkServiceNetworkPolicies `json:"privateLinkServiceNetworkPolicies,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + Purpose *string `json:"purpose,omitempty"` + ResourceNavigationLinks *[]ResourceNavigationLink `json:"resourceNavigationLinks,omitempty"` + RouteTable *RouteTable `json:"routeTable,omitempty"` + ServiceAssociationLinks *[]ServiceAssociationLink `json:"serviceAssociationLinks,omitempty"` + ServiceEndpointPolicies *[]ServiceEndpointPolicy `json:"serviceEndpointPolicies,omitempty"` + ServiceEndpoints *[]ServiceEndpointPropertiesFormat `json:"serviceEndpoints,omitempty"` + SharingScope *SharingScope `json:"sharingScope,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_subresource.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_subresource.go new file mode 100644 index 000000000000..9c238c85dfff --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_subresource.go @@ -0,0 +1,8 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type SubResource struct { + Id *string `json:"id,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_tagsobject.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_tagsobject.go new file mode 100644 index 000000000000..1f55b0e7a001 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_tagsobject.go @@ -0,0 +1,8 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type TagsObject struct { + Tags *map[string]string `json:"tags,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_trafficanalyticsconfigurationproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_trafficanalyticsconfigurationproperties.go new file mode 100644 index 000000000000..1e6b8ac8e237 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_trafficanalyticsconfigurationproperties.go @@ -0,0 +1,12 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type TrafficAnalyticsConfigurationProperties struct { + Enabled *bool `json:"enabled,omitempty"` + TrafficAnalyticsInterval *int64 `json:"trafficAnalyticsInterval,omitempty"` + WorkspaceId *string `json:"workspaceId,omitempty"` + WorkspaceRegion *string `json:"workspaceRegion,omitempty"` + WorkspaceResourceId *string `json:"workspaceResourceId,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_trafficanalyticsproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_trafficanalyticsproperties.go new file mode 100644 index 000000000000..56d6e09676b3 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_trafficanalyticsproperties.go @@ -0,0 +1,8 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type TrafficAnalyticsProperties struct { + NetworkWatcherFlowAnalyticsConfiguration *TrafficAnalyticsConfigurationProperties `json:"networkWatcherFlowAnalyticsConfiguration,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_trafficselectorpolicy.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_trafficselectorpolicy.go new file mode 100644 index 000000000000..09496a292fae --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_trafficselectorpolicy.go @@ -0,0 +1,9 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type TrafficSelectorPolicy struct { + LocalAddressRanges []string `json:"localAddressRanges"` + RemoteAddressRanges []string `json:"remoteAddressRanges"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_virtualhub.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_virtualhub.go new file mode 100644 index 000000000000..732daa9aeccd --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_virtualhub.go @@ -0,0 +1,15 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VirtualHub struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Kind *string `json:"kind,omitempty"` + Location *string `json:"location,omitempty"` + Name *string `json:"name,omitempty"` + Properties *VirtualHubProperties `json:"properties,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_virtualhubeffectiveroute.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_virtualhubeffectiveroute.go new file mode 100644 index 000000000000..d46894da2a8a --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_virtualhubeffectiveroute.go @@ -0,0 +1,12 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VirtualHubEffectiveRoute struct { + AddressPrefixes *[]string `json:"addressPrefixes,omitempty"` + AsPath *string `json:"asPath,omitempty"` + NextHopType *string `json:"nextHopType,omitempty"` + NextHops *[]string `json:"nextHops,omitempty"` + RouteOrigin *string `json:"routeOrigin,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_virtualhubeffectiveroutelist.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_virtualhubeffectiveroutelist.go new file mode 100644 index 000000000000..3ea5b7b15e4d --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_virtualhubeffectiveroutelist.go @@ -0,0 +1,8 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VirtualHubEffectiveRouteList struct { + Value *[]VirtualHubEffectiveRoute `json:"value,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_virtualhubproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_virtualhubproperties.go new file mode 100644 index 000000000000..9b119e8889fd --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_virtualhubproperties.go @@ -0,0 +1,29 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VirtualHubProperties struct { + AddressPrefix *string `json:"addressPrefix,omitempty"` + AllowBranchToBranchTraffic *bool `json:"allowBranchToBranchTraffic,omitempty"` + AzureFirewall *SubResource `json:"azureFirewall,omitempty"` + BgpConnections *[]SubResource `json:"bgpConnections,omitempty"` + ExpressRouteGateway *SubResource `json:"expressRouteGateway,omitempty"` + HubRoutingPreference *HubRoutingPreference `json:"hubRoutingPreference,omitempty"` + IPConfigurations *[]SubResource `json:"ipConfigurations,omitempty"` + P2SVpnGateway *SubResource `json:"p2SVpnGateway,omitempty"` + PreferredRoutingGateway *PreferredRoutingGateway `json:"preferredRoutingGateway,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + RouteMaps *[]SubResource `json:"routeMaps,omitempty"` + RouteTable *VirtualHubRouteTable `json:"routeTable,omitempty"` + RoutingState *RoutingState `json:"routingState,omitempty"` + SecurityPartnerProvider *SubResource `json:"securityPartnerProvider,omitempty"` + SecurityProviderName *string `json:"securityProviderName,omitempty"` + Sku *string `json:"sku,omitempty"` + VirtualHubRouteTableV2s *[]VirtualHubRouteTableV2 `json:"virtualHubRouteTableV2s,omitempty"` + VirtualRouterAsn *int64 `json:"virtualRouterAsn,omitempty"` + VirtualRouterAutoScaleConfiguration *VirtualRouterAutoScaleConfiguration `json:"virtualRouterAutoScaleConfiguration,omitempty"` + VirtualRouterIPs *[]string `json:"virtualRouterIps,omitempty"` + VirtualWAN *SubResource `json:"virtualWan,omitempty"` + VpnGateway *SubResource `json:"vpnGateway,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_virtualhubroute.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_virtualhubroute.go new file mode 100644 index 000000000000..3b9b205ea1a3 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_virtualhubroute.go @@ -0,0 +1,9 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VirtualHubRoute struct { + AddressPrefixes *[]string `json:"addressPrefixes,omitempty"` + NextHopIPAddress *string `json:"nextHopIpAddress,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_virtualhubroutetable.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_virtualhubroutetable.go new file mode 100644 index 000000000000..71ec2c0bca44 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_virtualhubroutetable.go @@ -0,0 +1,8 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VirtualHubRouteTable struct { + Routes *[]VirtualHubRoute `json:"routes,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_virtualhubroutetablev2.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_virtualhubroutetablev2.go new file mode 100644 index 000000000000..50fa84c35f56 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_virtualhubroutetablev2.go @@ -0,0 +1,11 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VirtualHubRouteTableV2 struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *VirtualHubRouteTableV2Properties `json:"properties,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_virtualhubroutetablev2properties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_virtualhubroutetablev2properties.go new file mode 100644 index 000000000000..ed869d1c4715 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_virtualhubroutetablev2properties.go @@ -0,0 +1,10 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VirtualHubRouteTableV2Properties struct { + AttachedConnections *[]string `json:"attachedConnections,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + Routes *[]VirtualHubRouteV2 `json:"routes,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_virtualhubroutev2.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_virtualhubroutev2.go new file mode 100644 index 000000000000..a47739aa2a57 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_virtualhubroutev2.go @@ -0,0 +1,11 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VirtualHubRouteV2 struct { + DestinationType *string `json:"destinationType,omitempty"` + Destinations *[]string `json:"destinations,omitempty"` + NextHopType *string `json:"nextHopType,omitempty"` + NextHops *[]string `json:"nextHops,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_virtualnetworktap.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_virtualnetworktap.go new file mode 100644 index 000000000000..f7d80351ab55 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_virtualnetworktap.go @@ -0,0 +1,14 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VirtualNetworkTap struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Location *string `json:"location,omitempty"` + Name *string `json:"name,omitempty"` + Properties *VirtualNetworkTapPropertiesFormat `json:"properties,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_virtualnetworktappropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_virtualnetworktappropertiesformat.go new file mode 100644 index 000000000000..efca5566dadf --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_virtualnetworktappropertiesformat.go @@ -0,0 +1,13 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VirtualNetworkTapPropertiesFormat struct { + DestinationLoadBalancerFrontEndIPConfiguration *FrontendIPConfiguration `json:"destinationLoadBalancerFrontEndIPConfiguration,omitempty"` + DestinationNetworkInterfaceIPConfiguration *NetworkInterfaceIPConfiguration `json:"destinationNetworkInterfaceIPConfiguration,omitempty"` + DestinationPort *int64 `json:"destinationPort,omitempty"` + NetworkInterfaceTapConfigurations *[]NetworkInterfaceTapConfiguration `json:"networkInterfaceTapConfigurations,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + ResourceGuid *string `json:"resourceGuid,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_virtualrouterautoscaleconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_virtualrouterautoscaleconfiguration.go new file mode 100644 index 000000000000..4ce6be454208 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_virtualrouterautoscaleconfiguration.go @@ -0,0 +1,8 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VirtualRouterAutoScaleConfiguration struct { + MinCapacity *int64 `json:"minCapacity,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_virtualwan.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_virtualwan.go new file mode 100644 index 000000000000..45691c81b741 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_virtualwan.go @@ -0,0 +1,14 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VirtualWAN struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Location *string `json:"location,omitempty"` + Name *string `json:"name,omitempty"` + Properties *VirtualWanProperties `json:"properties,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_virtualwanproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_virtualwanproperties.go new file mode 100644 index 000000000000..65c2eb829cb0 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_virtualwanproperties.go @@ -0,0 +1,15 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VirtualWanProperties struct { + AllowBranchToBranchTraffic *bool `json:"allowBranchToBranchTraffic,omitempty"` + AllowVnetToVnetTraffic *bool `json:"allowVnetToVnetTraffic,omitempty"` + DisableVpnEncryption *bool `json:"disableVpnEncryption,omitempty"` + Office365LocalBreakoutCategory *OfficeTrafficCategory `json:"office365LocalBreakoutCategory,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + Type *string `json:"type,omitempty"` + VirtualHubs *[]SubResource `json:"virtualHubs,omitempty"` + VpnSites *[]SubResource `json:"vpnSites,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_virtualwansecurityprovider.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_virtualwansecurityprovider.go new file mode 100644 index 000000000000..d41346bc4a91 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_virtualwansecurityprovider.go @@ -0,0 +1,10 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VirtualWanSecurityProvider struct { + Name *string `json:"name,omitempty"` + Type *VirtualWanSecurityProviderType `json:"type,omitempty"` + Url *string `json:"url,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_virtualwansecurityproviders.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_virtualwansecurityproviders.go new file mode 100644 index 000000000000..6e7e4ab59f80 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_virtualwansecurityproviders.go @@ -0,0 +1,8 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VirtualWanSecurityProviders struct { + SupportedProviders *[]VirtualWanSecurityProvider `json:"supportedProviders,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_virtualwanvpnprofileparameters.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_virtualwanvpnprofileparameters.go new file mode 100644 index 000000000000..dd01888d247e --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_virtualwanvpnprofileparameters.go @@ -0,0 +1,9 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VirtualWanVpnProfileParameters struct { + AuthenticationMethod *AuthenticationMethod `json:"authenticationMethod,omitempty"` + VpnServerConfigurationResourceId *string `json:"vpnServerConfigurationResourceId,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_vnetroute.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_vnetroute.go new file mode 100644 index 000000000000..cbd035f3e068 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_vnetroute.go @@ -0,0 +1,10 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VnetRoute struct { + BgpConnections *[]SubResource `json:"bgpConnections,omitempty"` + StaticRoutes *[]StaticRoute `json:"staticRoutes,omitempty"` + StaticRoutesConfig *StaticRoutesConfig `json:"staticRoutesConfig,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_vpnclientconnectionhealth.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_vpnclientconnectionhealth.go new file mode 100644 index 000000000000..82eefc44a41b --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_vpnclientconnectionhealth.go @@ -0,0 +1,11 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VpnClientConnectionHealth struct { + AllocatedIPAddresses *[]string `json:"allocatedIpAddresses,omitempty"` + TotalEgressBytesTransferred *int64 `json:"totalEgressBytesTransferred,omitempty"` + TotalIngressBytesTransferred *int64 `json:"totalIngressBytesTransferred,omitempty"` + VpnClientConnectionsCount *int64 `json:"vpnClientConnectionsCount,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_vpnconnection.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_vpnconnection.go new file mode 100644 index 000000000000..9d157042c705 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_vpnconnection.go @@ -0,0 +1,11 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VpnConnection struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *VpnConnectionProperties `json:"properties,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_vpnconnectionpacketcapturestartparameters.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_vpnconnectionpacketcapturestartparameters.go new file mode 100644 index 000000000000..97a9e565f9e6 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_vpnconnectionpacketcapturestartparameters.go @@ -0,0 +1,9 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VpnConnectionPacketCaptureStartParameters struct { + FilterData *string `json:"filterData,omitempty"` + LinkConnectionNames *[]string `json:"linkConnectionNames,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_vpnconnectionpacketcapturestopparameters.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_vpnconnectionpacketcapturestopparameters.go new file mode 100644 index 000000000000..a2a50d9eb924 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_vpnconnectionpacketcapturestopparameters.go @@ -0,0 +1,9 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VpnConnectionPacketCaptureStopParameters struct { + LinkConnectionNames *[]string `json:"linkConnectionNames,omitempty"` + SasURL *string `json:"sasUrl,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_vpnconnectionproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_vpnconnectionproperties.go new file mode 100644 index 000000000000..1c238229449b --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_vpnconnectionproperties.go @@ -0,0 +1,26 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VpnConnectionProperties struct { + ConnectionBandwidth *int64 `json:"connectionBandwidth,omitempty"` + ConnectionStatus *VpnConnectionStatus `json:"connectionStatus,omitempty"` + DpdTimeoutSeconds *int64 `json:"dpdTimeoutSeconds,omitempty"` + EgressBytesTransferred *int64 `json:"egressBytesTransferred,omitempty"` + EnableBgp *bool `json:"enableBgp,omitempty"` + EnableInternetSecurity *bool `json:"enableInternetSecurity,omitempty"` + EnableRateLimiting *bool `json:"enableRateLimiting,omitempty"` + IPsecPolicies *[]IPsecPolicy `json:"ipsecPolicies,omitempty"` + IngressBytesTransferred *int64 `json:"ingressBytesTransferred,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + RemoteVpnSite *SubResource `json:"remoteVpnSite,omitempty"` + RoutingConfiguration *RoutingConfiguration `json:"routingConfiguration,omitempty"` + RoutingWeight *int64 `json:"routingWeight,omitempty"` + SharedKey *string `json:"sharedKey,omitempty"` + TrafficSelectorPolicies *[]TrafficSelectorPolicy `json:"trafficSelectorPolicies,omitempty"` + UseLocalAzureIPAddress *bool `json:"useLocalAzureIpAddress,omitempty"` + UsePolicyBasedTrafficSelectors *bool `json:"usePolicyBasedTrafficSelectors,omitempty"` + VpnConnectionProtocolType *VirtualNetworkGatewayConnectionProtocol `json:"vpnConnectionProtocolType,omitempty"` + VpnLinkConnections *[]VpnSiteLinkConnection `json:"vpnLinkConnections,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_vpngateway.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_vpngateway.go new file mode 100644 index 000000000000..0c0f9dab77f7 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_vpngateway.go @@ -0,0 +1,14 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VpnGateway struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Location *string `json:"location,omitempty"` + Name *string `json:"name,omitempty"` + Properties *VpnGatewayProperties `json:"properties,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_vpngatewayipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_vpngatewayipconfiguration.go new file mode 100644 index 000000000000..b1060397ea07 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_vpngatewayipconfiguration.go @@ -0,0 +1,10 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VpnGatewayIPConfiguration struct { + Id *string `json:"id,omitempty"` + PrivateIPAddress *string `json:"privateIpAddress,omitempty"` + PublicIPAddress *string `json:"publicIpAddress,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_vpngatewaynatrule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_vpngatewaynatrule.go new file mode 100644 index 000000000000..2de41b7ced6b --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_vpngatewaynatrule.go @@ -0,0 +1,12 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VpnGatewayNatRule struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *VpnGatewayNatRuleProperties `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_vpngatewaynatruleproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_vpngatewaynatruleproperties.go new file mode 100644 index 000000000000..1aaf7c8f90bf --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_vpngatewaynatruleproperties.go @@ -0,0 +1,15 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VpnGatewayNatRuleProperties struct { + EgressVpnSiteLinkConnections *[]SubResource `json:"egressVpnSiteLinkConnections,omitempty"` + ExternalMappings *[]VpnNatRuleMapping `json:"externalMappings,omitempty"` + IPConfigurationId *string `json:"ipConfigurationId,omitempty"` + IngressVpnSiteLinkConnections *[]SubResource `json:"ingressVpnSiteLinkConnections,omitempty"` + InternalMappings *[]VpnNatRuleMapping `json:"internalMappings,omitempty"` + Mode *VpnNatRuleMode `json:"mode,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + Type *VpnNatRuleType `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_vpngatewayproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_vpngatewayproperties.go new file mode 100644 index 000000000000..ab2b8b55b1b7 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_vpngatewayproperties.go @@ -0,0 +1,16 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VpnGatewayProperties struct { + BgpSettings *BgpSettings `json:"bgpSettings,omitempty"` + Connections *[]VpnConnection `json:"connections,omitempty"` + EnableBgpRouteTranslationForNat *bool `json:"enableBgpRouteTranslationForNat,omitempty"` + IPConfigurations *[]VpnGatewayIPConfiguration `json:"ipConfigurations,omitempty"` + IsRoutingPreferenceInternet *bool `json:"isRoutingPreferenceInternet,omitempty"` + NatRules *[]VpnGatewayNatRule `json:"natRules,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + VirtualHub *SubResource `json:"virtualHub,omitempty"` + VpnGatewayScaleUnit *int64 `json:"vpnGatewayScaleUnit,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_vpnlinkbgpsettings.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_vpnlinkbgpsettings.go new file mode 100644 index 000000000000..72de7d653088 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_vpnlinkbgpsettings.go @@ -0,0 +1,9 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VpnLinkBgpSettings struct { + Asn *int64 `json:"asn,omitempty"` + BgpPeeringAddress *string `json:"bgpPeeringAddress,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_vpnlinkproviderproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_vpnlinkproviderproperties.go new file mode 100644 index 000000000000..555f8739a9bb --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_vpnlinkproviderproperties.go @@ -0,0 +1,9 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VpnLinkProviderProperties struct { + LinkProviderName *string `json:"linkProviderName,omitempty"` + LinkSpeedInMbps *int64 `json:"linkSpeedInMbps,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_vpnnatrulemapping.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_vpnnatrulemapping.go new file mode 100644 index 000000000000..09a77912d9f1 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_vpnnatrulemapping.go @@ -0,0 +1,9 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VpnNatRuleMapping struct { + AddressSpace *string `json:"addressSpace,omitempty"` + PortRange *string `json:"portRange,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_vpnprofileresponse.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_vpnprofileresponse.go new file mode 100644 index 000000000000..ed24cd4584e8 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_vpnprofileresponse.go @@ -0,0 +1,8 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VpnProfileResponse struct { + ProfileURL *string `json:"profileUrl,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_vpnserverconfigradiusclientrootcertificate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_vpnserverconfigradiusclientrootcertificate.go new file mode 100644 index 000000000000..21a75789b34a --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_vpnserverconfigradiusclientrootcertificate.go @@ -0,0 +1,9 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VpnServerConfigRadiusClientRootCertificate struct { + Name *string `json:"name,omitempty"` + Thumbprint *string `json:"thumbprint,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_vpnserverconfigradiusserverrootcertificate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_vpnserverconfigradiusserverrootcertificate.go new file mode 100644 index 000000000000..6f67a020c6a8 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_vpnserverconfigradiusserverrootcertificate.go @@ -0,0 +1,9 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VpnServerConfigRadiusServerRootCertificate struct { + Name *string `json:"name,omitempty"` + PublicCertData *string `json:"publicCertData,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_vpnserverconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_vpnserverconfiguration.go new file mode 100644 index 000000000000..debdcf03f049 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_vpnserverconfiguration.go @@ -0,0 +1,14 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VpnServerConfiguration struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Location *string `json:"location,omitempty"` + Name *string `json:"name,omitempty"` + Properties *VpnServerConfigurationProperties `json:"properties,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_vpnserverconfigurationpolicygroup.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_vpnserverconfigurationpolicygroup.go new file mode 100644 index 000000000000..e94549fb0633 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_vpnserverconfigurationpolicygroup.go @@ -0,0 +1,12 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VpnServerConfigurationPolicyGroup struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *VpnServerConfigurationPolicyGroupProperties `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_vpnserverconfigurationpolicygroupmember.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_vpnserverconfigurationpolicygroupmember.go new file mode 100644 index 000000000000..f832688900b5 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_vpnserverconfigurationpolicygroupmember.go @@ -0,0 +1,10 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VpnServerConfigurationPolicyGroupMember struct { + AttributeType *VpnPolicyMemberAttributeType `json:"attributeType,omitempty"` + AttributeValue *string `json:"attributeValue,omitempty"` + Name *string `json:"name,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_vpnserverconfigurationpolicygroupproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_vpnserverconfigurationpolicygroupproperties.go new file mode 100644 index 000000000000..93b015d4bd1e --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_vpnserverconfigurationpolicygroupproperties.go @@ -0,0 +1,12 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VpnServerConfigurationPolicyGroupProperties struct { + IsDefault *bool `json:"isDefault,omitempty"` + P2SConnectionConfigurations *[]SubResource `json:"p2SConnectionConfigurations,omitempty"` + PolicyMembers *[]VpnServerConfigurationPolicyGroupMember `json:"policyMembers,omitempty"` + Priority *int64 `json:"priority,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_vpnserverconfigurationproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_vpnserverconfigurationproperties.go new file mode 100644 index 000000000000..1a42b30f7aa9 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_vpnserverconfigurationproperties.go @@ -0,0 +1,23 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VpnServerConfigurationProperties struct { + AadAuthenticationParameters *AadAuthenticationParameters `json:"aadAuthenticationParameters,omitempty"` + ConfigurationPolicyGroups *[]VpnServerConfigurationPolicyGroup `json:"configurationPolicyGroups,omitempty"` + Etag *string `json:"etag,omitempty"` + Name *string `json:"name,omitempty"` + P2sVpnGateways *[]P2SVpnGateway `json:"p2SVpnGateways,omitempty"` + ProvisioningState *string `json:"provisioningState,omitempty"` + RadiusClientRootCertificates *[]VpnServerConfigRadiusClientRootCertificate `json:"radiusClientRootCertificates,omitempty"` + RadiusServerAddress *string `json:"radiusServerAddress,omitempty"` + RadiusServerRootCertificates *[]VpnServerConfigRadiusServerRootCertificate `json:"radiusServerRootCertificates,omitempty"` + RadiusServerSecret *string `json:"radiusServerSecret,omitempty"` + RadiusServers *[]RadiusServer `json:"radiusServers,omitempty"` + VpnAuthenticationTypes *[]VpnAuthenticationType `json:"vpnAuthenticationTypes,omitempty"` + VpnClientIPsecPolicies *[]IPsecPolicy `json:"vpnClientIpsecPolicies,omitempty"` + VpnClientRevokedCertificates *[]VpnServerConfigVpnClientRevokedCertificate `json:"vpnClientRevokedCertificates,omitempty"` + VpnClientRootCertificates *[]VpnServerConfigVpnClientRootCertificate `json:"vpnClientRootCertificates,omitempty"` + VpnProtocols *[]VpnGatewayTunnelingProtocol `json:"vpnProtocols,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_vpnserverconfigurationsresponse.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_vpnserverconfigurationsresponse.go new file mode 100644 index 000000000000..185d5a549d41 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_vpnserverconfigurationsresponse.go @@ -0,0 +1,8 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VpnServerConfigurationsResponse struct { + VpnServerConfigurationResourceIds *[]string `json:"vpnServerConfigurationResourceIds,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_vpnserverconfigvpnclientrevokedcertificate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_vpnserverconfigvpnclientrevokedcertificate.go new file mode 100644 index 000000000000..9582df932b5f --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_vpnserverconfigvpnclientrevokedcertificate.go @@ -0,0 +1,9 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VpnServerConfigVpnClientRevokedCertificate struct { + Name *string `json:"name,omitempty"` + Thumbprint *string `json:"thumbprint,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_vpnserverconfigvpnclientrootcertificate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_vpnserverconfigvpnclientrootcertificate.go new file mode 100644 index 000000000000..606a83936659 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_vpnserverconfigvpnclientrootcertificate.go @@ -0,0 +1,9 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VpnServerConfigVpnClientRootCertificate struct { + Name *string `json:"name,omitempty"` + PublicCertData *string `json:"publicCertData,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_vpnsite.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_vpnsite.go new file mode 100644 index 000000000000..7c6dacaed501 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_vpnsite.go @@ -0,0 +1,14 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VpnSite struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Location *string `json:"location,omitempty"` + Name *string `json:"name,omitempty"` + Properties *VpnSiteProperties `json:"properties,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_vpnsitelink.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_vpnsitelink.go new file mode 100644 index 000000000000..9c72c0567fd1 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_vpnsitelink.go @@ -0,0 +1,12 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VpnSiteLink struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *VpnSiteLinkProperties `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_vpnsitelinkconnection.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_vpnsitelinkconnection.go new file mode 100644 index 000000000000..88bed41fe655 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_vpnsitelinkconnection.go @@ -0,0 +1,12 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VpnSiteLinkConnection struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *VpnSiteLinkConnectionProperties `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_vpnsitelinkconnectionproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_vpnsitelinkconnectionproperties.go new file mode 100644 index 000000000000..d07ca0a64af1 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_vpnsitelinkconnectionproperties.go @@ -0,0 +1,26 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VpnSiteLinkConnectionProperties struct { + ConnectionBandwidth *int64 `json:"connectionBandwidth,omitempty"` + ConnectionStatus *VpnConnectionStatus `json:"connectionStatus,omitempty"` + DpdTimeoutSeconds *int64 `json:"dpdTimeoutSeconds,omitempty"` + EgressBytesTransferred *int64 `json:"egressBytesTransferred,omitempty"` + EgressNatRules *[]SubResource `json:"egressNatRules,omitempty"` + EnableBgp *bool `json:"enableBgp,omitempty"` + EnableRateLimiting *bool `json:"enableRateLimiting,omitempty"` + IPsecPolicies *[]IPsecPolicy `json:"ipsecPolicies,omitempty"` + IngressBytesTransferred *int64 `json:"ingressBytesTransferred,omitempty"` + IngressNatRules *[]SubResource `json:"ingressNatRules,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + RoutingWeight *int64 `json:"routingWeight,omitempty"` + SharedKey *string `json:"sharedKey,omitempty"` + UseLocalAzureIPAddress *bool `json:"useLocalAzureIpAddress,omitempty"` + UsePolicyBasedTrafficSelectors *bool `json:"usePolicyBasedTrafficSelectors,omitempty"` + VpnConnectionProtocolType *VirtualNetworkGatewayConnectionProtocol `json:"vpnConnectionProtocolType,omitempty"` + VpnGatewayCustomBgpAddresses *[]GatewayCustomBgpIPAddressIPConfiguration `json:"vpnGatewayCustomBgpAddresses,omitempty"` + VpnLinkConnectionMode *VpnLinkConnectionMode `json:"vpnLinkConnectionMode,omitempty"` + VpnSiteLink *SubResource `json:"vpnSiteLink,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_vpnsitelinkproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_vpnsitelinkproperties.go new file mode 100644 index 000000000000..fa7d9002a526 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_vpnsitelinkproperties.go @@ -0,0 +1,12 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VpnSiteLinkProperties struct { + BgpProperties *VpnLinkBgpSettings `json:"bgpProperties,omitempty"` + Fqdn *string `json:"fqdn,omitempty"` + IPAddress *string `json:"ipAddress,omitempty"` + LinkProperties *VpnLinkProviderProperties `json:"linkProperties,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_vpnsiteproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_vpnsiteproperties.go new file mode 100644 index 000000000000..da368da20457 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/model_vpnsiteproperties.go @@ -0,0 +1,17 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VpnSiteProperties struct { + AddressSpace *AddressSpace `json:"addressSpace,omitempty"` + BgpProperties *BgpSettings `json:"bgpProperties,omitempty"` + DeviceProperties *DeviceProperties `json:"deviceProperties,omitempty"` + IPAddress *string `json:"ipAddress,omitempty"` + IsSecuritySite *bool `json:"isSecuritySite,omitempty"` + O365Policy *O365PolicyProperties `json:"o365Policy,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + SiteKey *string `json:"siteKey,omitempty"` + VirtualWAN *SubResource `json:"virtualWan,omitempty"` + VpnSiteLinks *[]VpnSiteLink `json:"vpnSiteLinks,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/predicates.go new file mode 100644 index 000000000000..7373e09382ce --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/predicates.go @@ -0,0 +1,569 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type BgpConnectionOperationPredicate struct { + Etag *string + Id *string + Name *string + Type *string +} + +func (p BgpConnectionOperationPredicate) Matches(input BgpConnection) bool { + + if p.Etag != nil && (input.Etag == nil || *p.Etag != *input.Etag) { + return false + } + + if p.Id != nil && (input.Id == nil || *p.Id != *input.Id) { + return false + } + + if p.Name != nil && (input.Name == nil || *p.Name != *input.Name) { + return false + } + + if p.Type != nil && (input.Type == nil || *p.Type != *input.Type) { + return false + } + + return true +} + +type ConnectionSharedKeyResultOperationPredicate struct { + Id *string + Name *string + Type *string +} + +func (p ConnectionSharedKeyResultOperationPredicate) Matches(input ConnectionSharedKeyResult) bool { + + if p.Id != nil && (input.Id == nil || *p.Id != *input.Id) { + return false + } + + if p.Name != nil && (input.Name == nil || *p.Name != *input.Name) { + return false + } + + if p.Type != nil && (input.Type == nil || *p.Type != *input.Type) { + return false + } + + return true +} + +type HubIPConfigurationOperationPredicate struct { + Etag *string + Id *string + Name *string + Type *string +} + +func (p HubIPConfigurationOperationPredicate) Matches(input HubIPConfiguration) bool { + + if p.Etag != nil && (input.Etag == nil || *p.Etag != *input.Etag) { + return false + } + + if p.Id != nil && (input.Id == nil || *p.Id != *input.Id) { + return false + } + + if p.Name != nil && (input.Name == nil || *p.Name != *input.Name) { + return false + } + + if p.Type != nil && (input.Type == nil || *p.Type != *input.Type) { + return false + } + + return true +} + +type HubRouteTableOperationPredicate struct { + Etag *string + Id *string + Name *string + Type *string +} + +func (p HubRouteTableOperationPredicate) Matches(input HubRouteTable) bool { + + if p.Etag != nil && (input.Etag == nil || *p.Etag != *input.Etag) { + return false + } + + if p.Id != nil && (input.Id == nil || *p.Id != *input.Id) { + return false + } + + if p.Name != nil && (input.Name == nil || *p.Name != *input.Name) { + return false + } + + if p.Type != nil && (input.Type == nil || *p.Type != *input.Type) { + return false + } + + return true +} + +type HubVirtualNetworkConnectionOperationPredicate struct { + Etag *string + Id *string + Name *string +} + +func (p HubVirtualNetworkConnectionOperationPredicate) Matches(input HubVirtualNetworkConnection) bool { + + if p.Etag != nil && (input.Etag == nil || *p.Etag != *input.Etag) { + return false + } + + if p.Id != nil && (input.Id == nil || *p.Id != *input.Id) { + return false + } + + if p.Name != nil && (input.Name == nil || *p.Name != *input.Name) { + return false + } + + return true +} + +type NetworkVirtualApplianceConnectionOperationPredicate struct { + Id *string + Name *string +} + +func (p NetworkVirtualApplianceConnectionOperationPredicate) Matches(input NetworkVirtualApplianceConnection) bool { + + if p.Id != nil && (input.Id == nil || *p.Id != *input.Id) { + return false + } + + if p.Name != nil && (input.Name == nil || *p.Name != *input.Name) { + return false + } + + return true +} + +type P2SVpnGatewayOperationPredicate struct { + Etag *string + Id *string + Location *string + Name *string + Type *string +} + +func (p P2SVpnGatewayOperationPredicate) Matches(input P2SVpnGateway) bool { + + if p.Etag != nil && (input.Etag == nil || *p.Etag != *input.Etag) { + return false + } + + if p.Id != nil && (input.Id == nil || *p.Id != *input.Id) { + return false + } + + if p.Location != nil && (input.Location == nil || *p.Location != *input.Location) { + return false + } + + if p.Name != nil && (input.Name == nil || *p.Name != *input.Name) { + return false + } + + if p.Type != nil && (input.Type == nil || *p.Type != *input.Type) { + return false + } + + return true +} + +type RouteMapOperationPredicate struct { + Etag *string + Id *string + Name *string + Type *string +} + +func (p RouteMapOperationPredicate) Matches(input RouteMap) bool { + + if p.Etag != nil && (input.Etag == nil || *p.Etag != *input.Etag) { + return false + } + + if p.Id != nil && (input.Id == nil || *p.Id != *input.Id) { + return false + } + + if p.Name != nil && (input.Name == nil || *p.Name != *input.Name) { + return false + } + + if p.Type != nil && (input.Type == nil || *p.Type != *input.Type) { + return false + } + + return true +} + +type RoutingIntentOperationPredicate struct { + Etag *string + Id *string + Name *string + Type *string +} + +func (p RoutingIntentOperationPredicate) Matches(input RoutingIntent) bool { + + if p.Etag != nil && (input.Etag == nil || *p.Etag != *input.Etag) { + return false + } + + if p.Id != nil && (input.Id == nil || *p.Id != *input.Id) { + return false + } + + if p.Name != nil && (input.Name == nil || *p.Name != *input.Name) { + return false + } + + if p.Type != nil && (input.Type == nil || *p.Type != *input.Type) { + return false + } + + return true +} + +type VirtualHubOperationPredicate struct { + Etag *string + Id *string + Kind *string + Location *string + Name *string + Type *string +} + +func (p VirtualHubOperationPredicate) Matches(input VirtualHub) bool { + + if p.Etag != nil && (input.Etag == nil || *p.Etag != *input.Etag) { + return false + } + + if p.Id != nil && (input.Id == nil || *p.Id != *input.Id) { + return false + } + + if p.Kind != nil && (input.Kind == nil || *p.Kind != *input.Kind) { + return false + } + + if p.Location != nil && (input.Location == nil || *p.Location != *input.Location) { + return false + } + + if p.Name != nil && (input.Name == nil || *p.Name != *input.Name) { + return false + } + + if p.Type != nil && (input.Type == nil || *p.Type != *input.Type) { + return false + } + + return true +} + +type VirtualHubRouteTableV2OperationPredicate struct { + Etag *string + Id *string + Name *string +} + +func (p VirtualHubRouteTableV2OperationPredicate) Matches(input VirtualHubRouteTableV2) bool { + + if p.Etag != nil && (input.Etag == nil || *p.Etag != *input.Etag) { + return false + } + + if p.Id != nil && (input.Id == nil || *p.Id != *input.Id) { + return false + } + + if p.Name != nil && (input.Name == nil || *p.Name != *input.Name) { + return false + } + + return true +} + +type VirtualWANOperationPredicate struct { + Etag *string + Id *string + Location *string + Name *string + Type *string +} + +func (p VirtualWANOperationPredicate) Matches(input VirtualWAN) bool { + + if p.Etag != nil && (input.Etag == nil || *p.Etag != *input.Etag) { + return false + } + + if p.Id != nil && (input.Id == nil || *p.Id != *input.Id) { + return false + } + + if p.Location != nil && (input.Location == nil || *p.Location != *input.Location) { + return false + } + + if p.Name != nil && (input.Name == nil || *p.Name != *input.Name) { + return false + } + + if p.Type != nil && (input.Type == nil || *p.Type != *input.Type) { + return false + } + + return true +} + +type VpnConnectionOperationPredicate struct { + Etag *string + Id *string + Name *string +} + +func (p VpnConnectionOperationPredicate) Matches(input VpnConnection) bool { + + if p.Etag != nil && (input.Etag == nil || *p.Etag != *input.Etag) { + return false + } + + if p.Id != nil && (input.Id == nil || *p.Id != *input.Id) { + return false + } + + if p.Name != nil && (input.Name == nil || *p.Name != *input.Name) { + return false + } + + return true +} + +type VpnGatewayOperationPredicate struct { + Etag *string + Id *string + Location *string + Name *string + Type *string +} + +func (p VpnGatewayOperationPredicate) Matches(input VpnGateway) bool { + + if p.Etag != nil && (input.Etag == nil || *p.Etag != *input.Etag) { + return false + } + + if p.Id != nil && (input.Id == nil || *p.Id != *input.Id) { + return false + } + + if p.Location != nil && (input.Location == nil || *p.Location != *input.Location) { + return false + } + + if p.Name != nil && (input.Name == nil || *p.Name != *input.Name) { + return false + } + + if p.Type != nil && (input.Type == nil || *p.Type != *input.Type) { + return false + } + + return true +} + +type VpnGatewayNatRuleOperationPredicate struct { + Etag *string + Id *string + Name *string + Type *string +} + +func (p VpnGatewayNatRuleOperationPredicate) Matches(input VpnGatewayNatRule) bool { + + if p.Etag != nil && (input.Etag == nil || *p.Etag != *input.Etag) { + return false + } + + if p.Id != nil && (input.Id == nil || *p.Id != *input.Id) { + return false + } + + if p.Name != nil && (input.Name == nil || *p.Name != *input.Name) { + return false + } + + if p.Type != nil && (input.Type == nil || *p.Type != *input.Type) { + return false + } + + return true +} + +type VpnServerConfigurationOperationPredicate struct { + Etag *string + Id *string + Location *string + Name *string + Type *string +} + +func (p VpnServerConfigurationOperationPredicate) Matches(input VpnServerConfiguration) bool { + + if p.Etag != nil && (input.Etag == nil || *p.Etag != *input.Etag) { + return false + } + + if p.Id != nil && (input.Id == nil || *p.Id != *input.Id) { + return false + } + + if p.Location != nil && (input.Location == nil || *p.Location != *input.Location) { + return false + } + + if p.Name != nil && (input.Name == nil || *p.Name != *input.Name) { + return false + } + + if p.Type != nil && (input.Type == nil || *p.Type != *input.Type) { + return false + } + + return true +} + +type VpnServerConfigurationPolicyGroupOperationPredicate struct { + Etag *string + Id *string + Name *string + Type *string +} + +func (p VpnServerConfigurationPolicyGroupOperationPredicate) Matches(input VpnServerConfigurationPolicyGroup) bool { + + if p.Etag != nil && (input.Etag == nil || *p.Etag != *input.Etag) { + return false + } + + if p.Id != nil && (input.Id == nil || *p.Id != *input.Id) { + return false + } + + if p.Name != nil && (input.Name == nil || *p.Name != *input.Name) { + return false + } + + if p.Type != nil && (input.Type == nil || *p.Type != *input.Type) { + return false + } + + return true +} + +type VpnSiteOperationPredicate struct { + Etag *string + Id *string + Location *string + Name *string + Type *string +} + +func (p VpnSiteOperationPredicate) Matches(input VpnSite) bool { + + if p.Etag != nil && (input.Etag == nil || *p.Etag != *input.Etag) { + return false + } + + if p.Id != nil && (input.Id == nil || *p.Id != *input.Id) { + return false + } + + if p.Location != nil && (input.Location == nil || *p.Location != *input.Location) { + return false + } + + if p.Name != nil && (input.Name == nil || *p.Name != *input.Name) { + return false + } + + if p.Type != nil && (input.Type == nil || *p.Type != *input.Type) { + return false + } + + return true +} + +type VpnSiteLinkOperationPredicate struct { + Etag *string + Id *string + Name *string + Type *string +} + +func (p VpnSiteLinkOperationPredicate) Matches(input VpnSiteLink) bool { + + if p.Etag != nil && (input.Etag == nil || *p.Etag != *input.Etag) { + return false + } + + if p.Id != nil && (input.Id == nil || *p.Id != *input.Id) { + return false + } + + if p.Name != nil && (input.Name == nil || *p.Name != *input.Name) { + return false + } + + if p.Type != nil && (input.Type == nil || *p.Type != *input.Type) { + return false + } + + return true +} + +type VpnSiteLinkConnectionOperationPredicate struct { + Etag *string + Id *string + Name *string + Type *string +} + +func (p VpnSiteLinkConnectionOperationPredicate) Matches(input VpnSiteLinkConnection) bool { + + if p.Etag != nil && (input.Etag == nil || *p.Etag != *input.Etag) { + return false + } + + if p.Id != nil && (input.Id == nil || *p.Id != *input.Id) { + return false + } + + if p.Name != nil && (input.Name == nil || *p.Name != *input.Name) { + return false + } + + if p.Type != nil && (input.Type == nil || *p.Type != *input.Type) { + return false + } + + return true +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/version.go new file mode 100644 index 000000000000..b721ff625d5b --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans/version.go @@ -0,0 +1,10 @@ +package virtualwans + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2024-03-01" + +func userAgent() string { + return "hashicorp/go-azure-sdk/virtualwans/2024-03-01" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/README.md new file mode 100644 index 000000000000..9dae73b1bb32 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/README.md @@ -0,0 +1,71 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses` Documentation + +The `vmsspublicipaddresses` SDK allows for interaction with Azure Resource Manager `network` (API Version `2024-03-01`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" +import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses" +``` + + +### Client Initialization + +```go +client := vmsspublicipaddresses.NewVMSSPublicIPAddressesClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `VMSSPublicIPAddressesClient.PublicIPAddressesGetVirtualMachineScaleSetPublicIPAddress` + +```go +ctx := context.TODO() +id := commonids.NewVirtualMachineScaleSetPublicIPAddressID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualMachineScaleSetName", "virtualMachineName", "networkInterfaceName", "ipConfigurationName", "publicIPAddressName") + +read, err := client.PublicIPAddressesGetVirtualMachineScaleSetPublicIPAddress(ctx, id, vmsspublicipaddresses.DefaultPublicIPAddressesGetVirtualMachineScaleSetPublicIPAddressOperationOptions()) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `VMSSPublicIPAddressesClient.PublicIPAddressesListVirtualMachineScaleSetPublicIPAddresses` + +```go +ctx := context.TODO() +id := vmsspublicipaddresses.NewVirtualMachineScaleSetID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualMachineScaleSetName") + +// alternatively `client.PublicIPAddressesListVirtualMachineScaleSetPublicIPAddresses(ctx, id)` can be used to do batched pagination +items, err := client.PublicIPAddressesListVirtualMachineScaleSetPublicIPAddressesComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `VMSSPublicIPAddressesClient.PublicIPAddressesListVirtualMachineScaleSetVMPublicIPAddresses` + +```go +ctx := context.TODO() +id := commonids.NewVirtualMachineScaleSetIPConfigurationID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualMachineScaleSetName", "virtualMachineName", "networkInterfaceName", "ipConfigurationName") + +// alternatively `client.PublicIPAddressesListVirtualMachineScaleSetVMPublicIPAddresses(ctx, id)` can be used to do batched pagination +items, err := client.PublicIPAddressesListVirtualMachineScaleSetVMPublicIPAddressesComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/constants.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/constants.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/constants.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/id_virtualmachinescaleset.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/id_virtualmachinescaleset.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/id_virtualmachinescaleset.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/id_virtualmachinescaleset.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/method_publicipaddressesgetvirtualmachinescalesetpublicipaddress.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/method_publicipaddressesgetvirtualmachinescalesetpublicipaddress.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/method_publicipaddressesgetvirtualmachinescalesetpublicipaddress.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/method_publicipaddressesgetvirtualmachinescalesetpublicipaddress.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/method_publicipaddresseslistvirtualmachinescalesetpublicipaddresses.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/method_publicipaddresseslistvirtualmachinescalesetpublicipaddresses.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/method_publicipaddresseslistvirtualmachinescalesetpublicipaddresses.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/method_publicipaddresseslistvirtualmachinescalesetpublicipaddresses.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/method_publicipaddresseslistvirtualmachinescalesetvmpublicipaddresses.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/method_publicipaddresseslistvirtualmachinescalesetvmpublicipaddresses.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/method_publicipaddresseslistvirtualmachinescalesetvmpublicipaddresses.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/method_publicipaddresseslistvirtualmachinescalesetvmpublicipaddresses.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_applicationgatewaybackendaddress.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_applicationgatewaybackendaddress.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_applicationgatewaybackendaddress.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_applicationgatewaybackendaddress.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_applicationgatewaybackendaddresspool.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_applicationgatewaybackendaddresspool.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_applicationgatewaybackendaddresspool.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_applicationgatewaybackendaddresspool.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_applicationgatewaybackendaddresspoolpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_applicationgatewaybackendaddresspoolpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_applicationgatewaybackendaddresspoolpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_applicationgatewaybackendaddresspoolpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_applicationgatewayipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_applicationgatewayipconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_applicationgatewayipconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_applicationgatewayipconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_applicationgatewayipconfigurationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_applicationgatewayipconfigurationpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_applicationgatewayipconfigurationpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_applicationgatewayipconfigurationpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_applicationsecuritygroup.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_applicationsecuritygroup.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_applicationsecuritygroup.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_applicationsecuritygroup.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_applicationsecuritygrouppropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_applicationsecuritygrouppropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_applicationsecuritygrouppropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_applicationsecuritygrouppropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_backendaddresspool.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_backendaddresspool.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_backendaddresspool.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_backendaddresspool.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_backendaddresspoolpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_backendaddresspoolpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_backendaddresspoolpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_backendaddresspoolpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_customdnsconfigpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_customdnsconfigpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_customdnsconfigpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_customdnsconfigpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_ddossettings.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_ddossettings.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_ddossettings.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_ddossettings.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_delegation.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_delegation.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_delegation.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_delegation.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_flowlog.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_flowlog.go new file mode 100644 index 000000000000..40c6e24d7eaa --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_flowlog.go @@ -0,0 +1,19 @@ +package vmsspublicipaddresses + +import ( + "github.com/hashicorp/go-azure-helpers/resourcemanager/identity" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type FlowLog struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Identity *identity.SystemAndUserAssignedMap `json:"identity,omitempty"` + Location *string `json:"location,omitempty"` + Name *string `json:"name,omitempty"` + Properties *FlowLogPropertiesFormat `json:"properties,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_flowlogformatparameters.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_flowlogformatparameters.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_flowlogformatparameters.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_flowlogformatparameters.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_flowlogpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_flowlogpropertiesformat.go new file mode 100644 index 000000000000..444648fbefe8 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_flowlogpropertiesformat.go @@ -0,0 +1,16 @@ +package vmsspublicipaddresses + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type FlowLogPropertiesFormat struct { + Enabled *bool `json:"enabled,omitempty"` + EnabledFilteringCriteria *string `json:"enabledFilteringCriteria,omitempty"` + FlowAnalyticsConfiguration *TrafficAnalyticsProperties `json:"flowAnalyticsConfiguration,omitempty"` + Format *FlowLogFormatParameters `json:"format,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + RetentionPolicy *RetentionPolicyParameters `json:"retentionPolicy,omitempty"` + StorageId string `json:"storageId"` + TargetResourceGuid *string `json:"targetResourceGuid,omitempty"` + TargetResourceId string `json:"targetResourceId"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_frontendipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_frontendipconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_frontendipconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_frontendipconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_frontendipconfigurationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_frontendipconfigurationpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_frontendipconfigurationpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_frontendipconfigurationpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_gatewayloadbalancertunnelinterface.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_gatewayloadbalancertunnelinterface.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_gatewayloadbalancertunnelinterface.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_gatewayloadbalancertunnelinterface.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_inboundnatrule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_inboundnatrule.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_inboundnatrule.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_inboundnatrule.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_inboundnatrulepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_inboundnatrulepropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_inboundnatrulepropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_inboundnatrulepropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_ipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_ipconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_ipconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_ipconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_ipconfigurationprofile.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_ipconfigurationprofile.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_ipconfigurationprofile.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_ipconfigurationprofile.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_ipconfigurationprofilepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_ipconfigurationprofilepropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_ipconfigurationprofilepropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_ipconfigurationprofilepropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_ipconfigurationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_ipconfigurationpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_ipconfigurationpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_ipconfigurationpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_iptag.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_iptag.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_iptag.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_iptag.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_loadbalancerbackendaddress.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_loadbalancerbackendaddress.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_loadbalancerbackendaddress.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_loadbalancerbackendaddress.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_loadbalancerbackendaddresspropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_loadbalancerbackendaddresspropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_loadbalancerbackendaddresspropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_loadbalancerbackendaddresspropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_natgateway.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_natgateway.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_natgateway.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_natgateway.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_natgatewaypropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_natgatewaypropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_natgatewaypropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_natgatewaypropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_natgatewaysku.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_natgatewaysku.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_natgatewaysku.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_natgatewaysku.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_natruleportmapping.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_natruleportmapping.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_natruleportmapping.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_natruleportmapping.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_networkinterface.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_networkinterface.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_networkinterface.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_networkinterface.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_networkinterfacednssettings.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_networkinterfacednssettings.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_networkinterfacednssettings.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_networkinterfacednssettings.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_networkinterfaceipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_networkinterfaceipconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_networkinterfaceipconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_networkinterfaceipconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_networkinterfaceipconfigurationprivatelinkconnectionproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_networkinterfaceipconfigurationprivatelinkconnectionproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_networkinterfaceipconfigurationprivatelinkconnectionproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_networkinterfaceipconfigurationprivatelinkconnectionproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_networkinterfaceipconfigurationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_networkinterfaceipconfigurationpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_networkinterfaceipconfigurationpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_networkinterfaceipconfigurationpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_networkinterfacepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_networkinterfacepropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_networkinterfacepropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_networkinterfacepropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_networkinterfacetapconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_networkinterfacetapconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_networkinterfacetapconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_networkinterfacetapconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_networkinterfacetapconfigurationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_networkinterfacetapconfigurationpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_networkinterfacetapconfigurationpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_networkinterfacetapconfigurationpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_networksecuritygroup.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_networksecuritygroup.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_networksecuritygroup.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_networksecuritygroup.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_networksecuritygrouppropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_networksecuritygrouppropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_networksecuritygrouppropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_networksecuritygrouppropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_privateendpoint.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_privateendpoint.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_privateendpoint.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_privateendpoint.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_privateendpointconnection.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_privateendpointconnection.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_privateendpointconnection.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_privateendpointconnection.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_privateendpointconnectionproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_privateendpointconnectionproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_privateendpointconnectionproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_privateendpointconnectionproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_privateendpointipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_privateendpointipconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_privateendpointipconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_privateendpointipconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_privateendpointipconfigurationproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_privateendpointipconfigurationproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_privateendpointipconfigurationproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_privateendpointipconfigurationproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_privateendpointproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_privateendpointproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_privateendpointproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_privateendpointproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_privatelinkservice.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_privatelinkservice.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_privatelinkservice.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_privatelinkservice.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_privatelinkserviceconnection.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_privatelinkserviceconnection.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_privatelinkserviceconnection.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_privatelinkserviceconnection.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_privatelinkserviceconnectionproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_privatelinkserviceconnectionproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_privatelinkserviceconnectionproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_privatelinkserviceconnectionproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_privatelinkserviceconnectionstate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_privatelinkserviceconnectionstate.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_privatelinkserviceconnectionstate.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_privatelinkserviceconnectionstate.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_privatelinkserviceipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_privatelinkserviceipconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_privatelinkserviceipconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_privatelinkserviceipconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_privatelinkserviceipconfigurationproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_privatelinkserviceipconfigurationproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_privatelinkserviceipconfigurationproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_privatelinkserviceipconfigurationproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_privatelinkserviceproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_privatelinkserviceproperties.go new file mode 100644 index 000000000000..bc45ddc58d75 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_privatelinkserviceproperties.go @@ -0,0 +1,18 @@ +package vmsspublicipaddresses + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PrivateLinkServiceProperties struct { + Alias *string `json:"alias,omitempty"` + AutoApproval *ResourceSet `json:"autoApproval,omitempty"` + DestinationIPAddress *string `json:"destinationIPAddress,omitempty"` + EnableProxyProtocol *bool `json:"enableProxyProtocol,omitempty"` + Fqdns *[]string `json:"fqdns,omitempty"` + IPConfigurations *[]PrivateLinkServiceIPConfiguration `json:"ipConfigurations,omitempty"` + LoadBalancerFrontendIPConfigurations *[]FrontendIPConfiguration `json:"loadBalancerFrontendIpConfigurations,omitempty"` + NetworkInterfaces *[]NetworkInterface `json:"networkInterfaces,omitempty"` + PrivateEndpointConnections *[]PrivateEndpointConnection `json:"privateEndpointConnections,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + Visibility *ResourceSet `json:"visibility,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_publicipaddress.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_publicipaddress.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_publicipaddress.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_publicipaddress.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_publicipaddressdnssettings.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_publicipaddressdnssettings.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_publicipaddressdnssettings.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_publicipaddressdnssettings.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_publicipaddresspropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_publicipaddresspropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_publicipaddresspropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_publicipaddresspropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_publicipaddresssku.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_publicipaddresssku.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_publicipaddresssku.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_publicipaddresssku.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_resourcenavigationlink.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_resourcenavigationlink.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_resourcenavigationlink.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_resourcenavigationlink.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_resourcenavigationlinkformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_resourcenavigationlinkformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_resourcenavigationlinkformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_resourcenavigationlinkformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_resourceset.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_resourceset.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_resourceset.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_resourceset.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_retentionpolicyparameters.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_retentionpolicyparameters.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_retentionpolicyparameters.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_retentionpolicyparameters.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_route.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_route.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_route.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_route.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_routepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_routepropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_routepropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_routepropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_routetable.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_routetable.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_routetable.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_routetable.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_routetablepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_routetablepropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_routetablepropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_routetablepropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_securityrule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_securityrule.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_securityrule.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_securityrule.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_securityrulepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_securityrulepropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_securityrulepropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_securityrulepropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_serviceassociationlink.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_serviceassociationlink.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_serviceassociationlink.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_serviceassociationlink.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_serviceassociationlinkpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_serviceassociationlinkpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_serviceassociationlinkpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_serviceassociationlinkpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_servicedelegationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_servicedelegationpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_servicedelegationpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_servicedelegationpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_serviceendpointpolicy.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_serviceendpointpolicy.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_serviceendpointpolicy.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_serviceendpointpolicy.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_serviceendpointpolicydefinition.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_serviceendpointpolicydefinition.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_serviceendpointpolicydefinition.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_serviceendpointpolicydefinition.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_serviceendpointpolicydefinitionpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_serviceendpointpolicydefinitionpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_serviceendpointpolicydefinitionpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_serviceendpointpolicydefinitionpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_serviceendpointpolicypropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_serviceendpointpolicypropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_serviceendpointpolicypropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_serviceendpointpolicypropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_serviceendpointpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_serviceendpointpropertiesformat.go new file mode 100644 index 000000000000..095a4886e151 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_serviceendpointpropertiesformat.go @@ -0,0 +1,11 @@ +package vmsspublicipaddresses + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ServiceEndpointPropertiesFormat struct { + Locations *[]string `json:"locations,omitempty"` + NetworkIdentifier *SubResource `json:"networkIdentifier,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + Service *string `json:"service,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_subnet.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_subnet.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_subnet.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_subnet.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_subnetpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_subnetpropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_subnetpropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_subnetpropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_subresource.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_subresource.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_subresource.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_subresource.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_trafficanalyticsconfigurationproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_trafficanalyticsconfigurationproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_trafficanalyticsconfigurationproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_trafficanalyticsconfigurationproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_trafficanalyticsproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_trafficanalyticsproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_trafficanalyticsproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_trafficanalyticsproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_virtualnetworktap.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_virtualnetworktap.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_virtualnetworktap.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_virtualnetworktap.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_virtualnetworktappropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_virtualnetworktappropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/model_virtualnetworktappropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/model_virtualnetworktappropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/predicates.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses/predicates.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/predicates.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/version.go new file mode 100644 index 000000000000..9e6d5749a1ce --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses/version.go @@ -0,0 +1,10 @@ +package vmsspublicipaddresses + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2024-03-01" + +func userAgent() string { + return "hashicorp/go-azure-sdk/vmsspublicipaddresses/2024-03-01" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpngateways/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpngateways/README.md new file mode 100644 index 000000000000..d9d749105a9f --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpngateways/README.md @@ -0,0 +1,83 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpngateways` Documentation + +The `vpngateways` SDK allows for interaction with Azure Resource Manager `network` (API Version `2024-03-01`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpngateways" +``` + + +### Client Initialization + +```go +client := vpngateways.NewVpnGatewaysClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `VpnGatewaysClient.Reset` + +```go +ctx := context.TODO() +id := vpngateways.NewVpnGatewayID("12345678-1234-9876-4563-123456789012", "example-resource-group", "vpnGatewayName") + +if err := client.ResetThenPoll(ctx, id, vpngateways.DefaultResetOperationOptions()); err != nil { + // handle the error +} +``` + + +### Example Usage: `VpnGatewaysClient.StartPacketCapture` + +```go +ctx := context.TODO() +id := vpngateways.NewVpnGatewayID("12345678-1234-9876-4563-123456789012", "example-resource-group", "vpnGatewayName") + +payload := vpngateways.VpnGatewayPacketCaptureStartParameters{ + // ... +} + + +if err := client.StartPacketCaptureThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `VpnGatewaysClient.StopPacketCapture` + +```go +ctx := context.TODO() +id := vpngateways.NewVpnGatewayID("12345678-1234-9876-4563-123456789012", "example-resource-group", "vpnGatewayName") + +payload := vpngateways.VpnGatewayPacketCaptureStopParameters{ + // ... +} + + +if err := client.StopPacketCaptureThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `VpnGatewaysClient.UpdateTags` + +```go +ctx := context.TODO() +id := vpngateways.NewVpnGatewayID("12345678-1234-9876-4563-123456789012", "example-resource-group", "vpnGatewayName") + +payload := vpngateways.TagsObject{ + // ... +} + + +if err := client.UpdateTagsThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpngateways/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpngateways/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpngateways/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpngateways/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpngateways/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpngateways/constants.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpngateways/constants.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpngateways/constants.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpngateways/id_vpngateway.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpngateways/id_vpngateway.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpngateways/id_vpngateway.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpngateways/id_vpngateway.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpngateways/method_reset.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpngateways/method_reset.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpngateways/method_reset.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpngateways/method_reset.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpngateways/method_startpacketcapture.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpngateways/method_startpacketcapture.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpngateways/method_startpacketcapture.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpngateways/method_startpacketcapture.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpngateways/method_stoppacketcapture.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpngateways/method_stoppacketcapture.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpngateways/method_stoppacketcapture.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpngateways/method_stoppacketcapture.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpngateways/method_updatetags.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpngateways/method_updatetags.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpngateways/method_updatetags.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpngateways/method_updatetags.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpngateways/model_bgpsettings.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpngateways/model_bgpsettings.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpngateways/model_bgpsettings.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpngateways/model_bgpsettings.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpngateways/model_gatewaycustombgpipaddressipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpngateways/model_gatewaycustombgpipaddressipconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpngateways/model_gatewaycustombgpipaddressipconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpngateways/model_gatewaycustombgpipaddressipconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpngateways/model_ipconfigurationbgppeeringaddress.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpngateways/model_ipconfigurationbgppeeringaddress.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpngateways/model_ipconfigurationbgppeeringaddress.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpngateways/model_ipconfigurationbgppeeringaddress.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpngateways/model_ipsecpolicy.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpngateways/model_ipsecpolicy.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpngateways/model_ipsecpolicy.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpngateways/model_ipsecpolicy.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpngateways/model_propagatedroutetable.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpngateways/model_propagatedroutetable.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpngateways/model_propagatedroutetable.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpngateways/model_propagatedroutetable.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpngateways/model_routingconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpngateways/model_routingconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpngateways/model_routingconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpngateways/model_routingconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpngateways/model_staticroute.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpngateways/model_staticroute.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpngateways/model_staticroute.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpngateways/model_staticroute.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpngateways/model_staticroutesconfig.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpngateways/model_staticroutesconfig.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpngateways/model_staticroutesconfig.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpngateways/model_staticroutesconfig.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpngateways/model_subresource.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpngateways/model_subresource.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpngateways/model_subresource.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpngateways/model_subresource.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpngateways/model_tagsobject.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpngateways/model_tagsobject.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpngateways/model_tagsobject.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpngateways/model_tagsobject.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpngateways/model_trafficselectorpolicy.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpngateways/model_trafficselectorpolicy.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpngateways/model_trafficselectorpolicy.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpngateways/model_trafficselectorpolicy.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpngateways/model_vnetroute.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpngateways/model_vnetroute.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpngateways/model_vnetroute.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpngateways/model_vnetroute.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpngateways/model_vpnconnection.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpngateways/model_vpnconnection.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpngateways/model_vpnconnection.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpngateways/model_vpnconnection.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpngateways/model_vpnconnectionproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpngateways/model_vpnconnectionproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpngateways/model_vpnconnectionproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpngateways/model_vpnconnectionproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpngateways/model_vpngateway.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpngateways/model_vpngateway.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpngateways/model_vpngateway.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpngateways/model_vpngateway.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpngateways/model_vpngatewayipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpngateways/model_vpngatewayipconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpngateways/model_vpngatewayipconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpngateways/model_vpngatewayipconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpngateways/model_vpngatewaynatrule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpngateways/model_vpngatewaynatrule.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpngateways/model_vpngatewaynatrule.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpngateways/model_vpngatewaynatrule.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpngateways/model_vpngatewaynatruleproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpngateways/model_vpngatewaynatruleproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpngateways/model_vpngatewaynatruleproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpngateways/model_vpngatewaynatruleproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpngateways/model_vpngatewaypacketcapturestartparameters.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpngateways/model_vpngatewaypacketcapturestartparameters.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpngateways/model_vpngatewaypacketcapturestartparameters.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpngateways/model_vpngatewaypacketcapturestartparameters.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpngateways/model_vpngatewaypacketcapturestopparameters.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpngateways/model_vpngatewaypacketcapturestopparameters.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpngateways/model_vpngatewaypacketcapturestopparameters.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpngateways/model_vpngatewaypacketcapturestopparameters.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpngateways/model_vpngatewayproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpngateways/model_vpngatewayproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpngateways/model_vpngatewayproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpngateways/model_vpngatewayproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpngateways/model_vpnnatrulemapping.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpngateways/model_vpnnatrulemapping.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpngateways/model_vpnnatrulemapping.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpngateways/model_vpnnatrulemapping.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpngateways/model_vpnsitelinkconnection.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpngateways/model_vpnsitelinkconnection.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpngateways/model_vpnsitelinkconnection.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpngateways/model_vpnsitelinkconnection.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpngateways/model_vpnsitelinkconnectionproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpngateways/model_vpnsitelinkconnectionproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpngateways/model_vpnsitelinkconnectionproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpngateways/model_vpnsitelinkconnectionproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpngateways/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpngateways/version.go new file mode 100644 index 000000000000..b97089344a88 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpngateways/version.go @@ -0,0 +1,10 @@ +package vpngateways + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2024-03-01" + +func userAgent() string { + return "hashicorp/go-azure-sdk/vpngateways/2024-03-01" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpnlinkconnections/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpnlinkconnections/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpnlinkconnections/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpnlinkconnections/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpnlinkconnections/id_vpnlinkconnection.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpnlinkconnections/id_vpnlinkconnection.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpnlinkconnections/id_vpnlinkconnection.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpnlinkconnections/id_vpnlinkconnection.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpnlinkconnections/method_resetconnection.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpnlinkconnections/method_resetconnection.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpnlinkconnections/method_resetconnection.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpnlinkconnections/method_resetconnection.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpnlinkconnections/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpnlinkconnections/version.go new file mode 100644 index 000000000000..63317356fc75 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpnlinkconnections/version.go @@ -0,0 +1,10 @@ +package vpnlinkconnections + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2024-03-01" + +func userAgent() string { + return "hashicorp/go-azure-sdk/vpnlinkconnections/2024-03-01" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpnserverconfigurations/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpnserverconfigurations/README.md new file mode 100644 index 000000000000..f5b023bdb238 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpnserverconfigurations/README.md @@ -0,0 +1,41 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpnserverconfigurations` Documentation + +The `vpnserverconfigurations` SDK allows for interaction with Azure Resource Manager `network` (API Version `2024-03-01`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpnserverconfigurations" +``` + + +### Client Initialization + +```go +client := vpnserverconfigurations.NewVpnServerConfigurationsClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `VpnServerConfigurationsClient.UpdateTags` + +```go +ctx := context.TODO() +id := vpnserverconfigurations.NewVpnServerConfigurationID("12345678-1234-9876-4563-123456789012", "example-resource-group", "vpnServerConfigurationName") + +payload := vpnserverconfigurations.TagsObject{ + // ... +} + + +read, err := client.UpdateTags(ctx, id, payload) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpnserverconfigurations/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpnserverconfigurations/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpnserverconfigurations/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpnserverconfigurations/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpnserverconfigurations/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpnserverconfigurations/constants.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpnserverconfigurations/constants.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpnserverconfigurations/constants.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpnserverconfigurations/id_vpnserverconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpnserverconfigurations/id_vpnserverconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpnserverconfigurations/id_vpnserverconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpnserverconfigurations/id_vpnserverconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpnserverconfigurations/method_updatetags.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpnserverconfigurations/method_updatetags.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpnserverconfigurations/method_updatetags.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpnserverconfigurations/method_updatetags.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpnserverconfigurations/model_aadauthenticationparameters.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpnserverconfigurations/model_aadauthenticationparameters.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpnserverconfigurations/model_aadauthenticationparameters.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpnserverconfigurations/model_aadauthenticationparameters.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpnserverconfigurations/model_addressspace.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpnserverconfigurations/model_addressspace.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpnserverconfigurations/model_addressspace.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpnserverconfigurations/model_addressspace.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpnserverconfigurations/model_ipsecpolicy.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpnserverconfigurations/model_ipsecpolicy.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpnserverconfigurations/model_ipsecpolicy.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpnserverconfigurations/model_ipsecpolicy.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpnserverconfigurations/model_p2sconnectionconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpnserverconfigurations/model_p2sconnectionconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpnserverconfigurations/model_p2sconnectionconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpnserverconfigurations/model_p2sconnectionconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpnserverconfigurations/model_p2sconnectionconfigurationproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpnserverconfigurations/model_p2sconnectionconfigurationproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpnserverconfigurations/model_p2sconnectionconfigurationproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpnserverconfigurations/model_p2sconnectionconfigurationproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpnserverconfigurations/model_p2svpngateway.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpnserverconfigurations/model_p2svpngateway.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpnserverconfigurations/model_p2svpngateway.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpnserverconfigurations/model_p2svpngateway.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpnserverconfigurations/model_p2svpngatewayproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpnserverconfigurations/model_p2svpngatewayproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpnserverconfigurations/model_p2svpngatewayproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpnserverconfigurations/model_p2svpngatewayproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpnserverconfigurations/model_propagatedroutetable.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpnserverconfigurations/model_propagatedroutetable.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpnserverconfigurations/model_propagatedroutetable.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpnserverconfigurations/model_propagatedroutetable.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpnserverconfigurations/model_radiusserver.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpnserverconfigurations/model_radiusserver.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpnserverconfigurations/model_radiusserver.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpnserverconfigurations/model_radiusserver.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpnserverconfigurations/model_routingconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpnserverconfigurations/model_routingconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpnserverconfigurations/model_routingconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpnserverconfigurations/model_routingconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpnserverconfigurations/model_staticroute.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpnserverconfigurations/model_staticroute.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpnserverconfigurations/model_staticroute.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpnserverconfigurations/model_staticroute.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpnserverconfigurations/model_staticroutesconfig.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpnserverconfigurations/model_staticroutesconfig.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpnserverconfigurations/model_staticroutesconfig.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpnserverconfigurations/model_staticroutesconfig.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpnserverconfigurations/model_subresource.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpnserverconfigurations/model_subresource.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpnserverconfigurations/model_subresource.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpnserverconfigurations/model_subresource.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpnserverconfigurations/model_tagsobject.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpnserverconfigurations/model_tagsobject.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpnserverconfigurations/model_tagsobject.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpnserverconfigurations/model_tagsobject.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpnserverconfigurations/model_vnetroute.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpnserverconfigurations/model_vnetroute.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpnserverconfigurations/model_vnetroute.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpnserverconfigurations/model_vnetroute.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpnserverconfigurations/model_vpnclientconnectionhealth.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpnserverconfigurations/model_vpnclientconnectionhealth.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpnserverconfigurations/model_vpnclientconnectionhealth.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpnserverconfigurations/model_vpnclientconnectionhealth.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpnserverconfigurations/model_vpnserverconfigradiusclientrootcertificate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpnserverconfigurations/model_vpnserverconfigradiusclientrootcertificate.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpnserverconfigurations/model_vpnserverconfigradiusclientrootcertificate.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpnserverconfigurations/model_vpnserverconfigradiusclientrootcertificate.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpnserverconfigurations/model_vpnserverconfigradiusserverrootcertificate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpnserverconfigurations/model_vpnserverconfigradiusserverrootcertificate.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpnserverconfigurations/model_vpnserverconfigradiusserverrootcertificate.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpnserverconfigurations/model_vpnserverconfigradiusserverrootcertificate.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpnserverconfigurations/model_vpnserverconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpnserverconfigurations/model_vpnserverconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpnserverconfigurations/model_vpnserverconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpnserverconfigurations/model_vpnserverconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpnserverconfigurations/model_vpnserverconfigurationpolicygroup.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpnserverconfigurations/model_vpnserverconfigurationpolicygroup.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpnserverconfigurations/model_vpnserverconfigurationpolicygroup.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpnserverconfigurations/model_vpnserverconfigurationpolicygroup.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpnserverconfigurations/model_vpnserverconfigurationpolicygroupmember.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpnserverconfigurations/model_vpnserverconfigurationpolicygroupmember.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpnserverconfigurations/model_vpnserverconfigurationpolicygroupmember.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpnserverconfigurations/model_vpnserverconfigurationpolicygroupmember.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpnserverconfigurations/model_vpnserverconfigurationpolicygroupproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpnserverconfigurations/model_vpnserverconfigurationpolicygroupproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpnserverconfigurations/model_vpnserverconfigurationpolicygroupproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpnserverconfigurations/model_vpnserverconfigurationpolicygroupproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpnserverconfigurations/model_vpnserverconfigurationproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpnserverconfigurations/model_vpnserverconfigurationproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpnserverconfigurations/model_vpnserverconfigurationproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpnserverconfigurations/model_vpnserverconfigurationproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpnserverconfigurations/model_vpnserverconfigvpnclientrevokedcertificate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpnserverconfigurations/model_vpnserverconfigvpnclientrevokedcertificate.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpnserverconfigurations/model_vpnserverconfigvpnclientrevokedcertificate.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpnserverconfigurations/model_vpnserverconfigvpnclientrevokedcertificate.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpnserverconfigurations/model_vpnserverconfigvpnclientrootcertificate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpnserverconfigurations/model_vpnserverconfigvpnclientrootcertificate.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpnserverconfigurations/model_vpnserverconfigvpnclientrootcertificate.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpnserverconfigurations/model_vpnserverconfigvpnclientrootcertificate.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpnserverconfigurations/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpnserverconfigurations/version.go new file mode 100644 index 000000000000..179f7d79f553 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpnserverconfigurations/version.go @@ -0,0 +1,10 @@ +package vpnserverconfigurations + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2024-03-01" + +func userAgent() string { + return "hashicorp/go-azure-sdk/vpnserverconfigurations/2024-03-01" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpnsites/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpnsites/README.md new file mode 100644 index 000000000000..26db6a9f6bd3 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpnsites/README.md @@ -0,0 +1,41 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpnsites` Documentation + +The `vpnsites` SDK allows for interaction with Azure Resource Manager `network` (API Version `2024-03-01`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpnsites" +``` + + +### Client Initialization + +```go +client := vpnsites.NewVpnSitesClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `VpnSitesClient.UpdateTags` + +```go +ctx := context.TODO() +id := vpnsites.NewVpnSiteID("12345678-1234-9876-4563-123456789012", "example-resource-group", "vpnSiteName") + +payload := vpnsites.TagsObject{ + // ... +} + + +read, err := client.UpdateTags(ctx, id, payload) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpnsites/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpnsites/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpnsites/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpnsites/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpnsites/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpnsites/constants.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpnsites/constants.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpnsites/constants.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpnsites/id_vpnsite.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpnsites/id_vpnsite.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpnsites/id_vpnsite.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpnsites/id_vpnsite.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpnsites/method_updatetags.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpnsites/method_updatetags.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpnsites/method_updatetags.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpnsites/method_updatetags.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpnsites/model_addressspace.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpnsites/model_addressspace.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpnsites/model_addressspace.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpnsites/model_addressspace.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpnsites/model_bgpsettings.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpnsites/model_bgpsettings.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpnsites/model_bgpsettings.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpnsites/model_bgpsettings.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpnsites/model_deviceproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpnsites/model_deviceproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpnsites/model_deviceproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpnsites/model_deviceproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpnsites/model_ipconfigurationbgppeeringaddress.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpnsites/model_ipconfigurationbgppeeringaddress.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpnsites/model_ipconfigurationbgppeeringaddress.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpnsites/model_ipconfigurationbgppeeringaddress.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpnsites/model_o365breakoutcategorypolicies.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpnsites/model_o365breakoutcategorypolicies.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpnsites/model_o365breakoutcategorypolicies.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpnsites/model_o365breakoutcategorypolicies.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpnsites/model_o365policyproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpnsites/model_o365policyproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpnsites/model_o365policyproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpnsites/model_o365policyproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpnsites/model_subresource.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpnsites/model_subresource.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpnsites/model_subresource.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpnsites/model_subresource.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpnsites/model_tagsobject.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpnsites/model_tagsobject.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpnsites/model_tagsobject.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpnsites/model_tagsobject.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpnsites/model_vpnlinkbgpsettings.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpnsites/model_vpnlinkbgpsettings.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpnsites/model_vpnlinkbgpsettings.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpnsites/model_vpnlinkbgpsettings.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpnsites/model_vpnlinkproviderproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpnsites/model_vpnlinkproviderproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpnsites/model_vpnlinkproviderproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpnsites/model_vpnlinkproviderproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpnsites/model_vpnsite.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpnsites/model_vpnsite.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpnsites/model_vpnsite.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpnsites/model_vpnsite.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpnsites/model_vpnsitelink.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpnsites/model_vpnsitelink.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpnsites/model_vpnsitelink.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpnsites/model_vpnsitelink.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpnsites/model_vpnsitelinkproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpnsites/model_vpnsitelinkproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpnsites/model_vpnsitelinkproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpnsites/model_vpnsitelinkproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpnsites/model_vpnsiteproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpnsites/model_vpnsiteproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpnsites/model_vpnsiteproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpnsites/model_vpnsiteproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpnsites/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpnsites/version.go new file mode 100644 index 000000000000..12018807ef67 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpnsites/version.go @@ -0,0 +1,10 @@ +package vpnsites + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2024-03-01" + +func userAgent() string { + return "hashicorp/go-azure-sdk/vpnsites/2024-03-01" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/README.md new file mode 100644 index 000000000000..3ca5fee1169f --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/README.md @@ -0,0 +1,104 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies` Documentation + +The `webapplicationfirewallpolicies` SDK allows for interaction with Azure Resource Manager `network` (API Version `2024-03-01`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" +import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies" +``` + + +### Client Initialization + +```go +client := webapplicationfirewallpolicies.NewWebApplicationFirewallPoliciesClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `WebApplicationFirewallPoliciesClient.CreateOrUpdate` + +```go +ctx := context.TODO() +id := webapplicationfirewallpolicies.NewApplicationGatewayWebApplicationFirewallPolicyID("12345678-1234-9876-4563-123456789012", "example-resource-group", "applicationGatewayWebApplicationFirewallPolicyName") + +payload := webapplicationfirewallpolicies.WebApplicationFirewallPolicy{ + // ... +} + + +read, err := client.CreateOrUpdate(ctx, id, payload) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `WebApplicationFirewallPoliciesClient.Delete` + +```go +ctx := context.TODO() +id := webapplicationfirewallpolicies.NewApplicationGatewayWebApplicationFirewallPolicyID("12345678-1234-9876-4563-123456789012", "example-resource-group", "applicationGatewayWebApplicationFirewallPolicyName") + +if err := client.DeleteThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `WebApplicationFirewallPoliciesClient.Get` + +```go +ctx := context.TODO() +id := webapplicationfirewallpolicies.NewApplicationGatewayWebApplicationFirewallPolicyID("12345678-1234-9876-4563-123456789012", "example-resource-group", "applicationGatewayWebApplicationFirewallPolicyName") + +read, err := client.Get(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `WebApplicationFirewallPoliciesClient.List` + +```go +ctx := context.TODO() +id := commonids.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group") + +// alternatively `client.List(ctx, id)` can be used to do batched pagination +items, err := client.ListComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `WebApplicationFirewallPoliciesClient.ListAll` + +```go +ctx := context.TODO() +id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012") + +// alternatively `client.ListAll(ctx, id)` can be used to do batched pagination +items, err := client.ListAllComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/client.go new file mode 100644 index 000000000000..225049a73616 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/client.go @@ -0,0 +1,26 @@ +package webapplicationfirewallpolicies + +import ( + "fmt" + + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + sdkEnv "github.com/hashicorp/go-azure-sdk/sdk/environments" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type WebApplicationFirewallPoliciesClient struct { + Client *resourcemanager.Client +} + +func NewWebApplicationFirewallPoliciesClientWithBaseURI(sdkApi sdkEnv.Api) (*WebApplicationFirewallPoliciesClient, error) { + client, err := resourcemanager.NewClient(sdkApi, "webapplicationfirewallpolicies", defaultApiVersion) + if err != nil { + return nil, fmt.Errorf("instantiating WebApplicationFirewallPoliciesClient: %+v", err) + } + + return &WebApplicationFirewallPoliciesClient{ + Client: client, + }, nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/constants.go new file mode 100644 index 000000000000..95342653237d --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/constants.go @@ -0,0 +1,3124 @@ +package webapplicationfirewallpolicies + +import ( + "encoding/json" + "fmt" + "strings" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ActionType string + +const ( + ActionTypeAllow ActionType = "Allow" + ActionTypeAnomalyScoring ActionType = "AnomalyScoring" + ActionTypeBlock ActionType = "Block" + ActionTypeJSChallenge ActionType = "JSChallenge" + ActionTypeLog ActionType = "Log" +) + +func PossibleValuesForActionType() []string { + return []string{ + string(ActionTypeAllow), + string(ActionTypeAnomalyScoring), + string(ActionTypeBlock), + string(ActionTypeJSChallenge), + string(ActionTypeLog), + } +} + +func (s *ActionType) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseActionType(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseActionType(input string) (*ActionType, error) { + vals := map[string]ActionType{ + "allow": ActionTypeAllow, + "anomalyscoring": ActionTypeAnomalyScoring, + "block": ActionTypeBlock, + "jschallenge": ActionTypeJSChallenge, + "log": ActionTypeLog, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ActionType(input) + return &out, nil +} + +type ApplicationGatewayClientRevocationOptions string + +const ( + ApplicationGatewayClientRevocationOptionsNone ApplicationGatewayClientRevocationOptions = "None" + ApplicationGatewayClientRevocationOptionsOCSP ApplicationGatewayClientRevocationOptions = "OCSP" +) + +func PossibleValuesForApplicationGatewayClientRevocationOptions() []string { + return []string{ + string(ApplicationGatewayClientRevocationOptionsNone), + string(ApplicationGatewayClientRevocationOptionsOCSP), + } +} + +func (s *ApplicationGatewayClientRevocationOptions) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseApplicationGatewayClientRevocationOptions(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseApplicationGatewayClientRevocationOptions(input string) (*ApplicationGatewayClientRevocationOptions, error) { + vals := map[string]ApplicationGatewayClientRevocationOptions{ + "none": ApplicationGatewayClientRevocationOptionsNone, + "ocsp": ApplicationGatewayClientRevocationOptionsOCSP, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ApplicationGatewayClientRevocationOptions(input) + return &out, nil +} + +type ApplicationGatewayCookieBasedAffinity string + +const ( + ApplicationGatewayCookieBasedAffinityDisabled ApplicationGatewayCookieBasedAffinity = "Disabled" + ApplicationGatewayCookieBasedAffinityEnabled ApplicationGatewayCookieBasedAffinity = "Enabled" +) + +func PossibleValuesForApplicationGatewayCookieBasedAffinity() []string { + return []string{ + string(ApplicationGatewayCookieBasedAffinityDisabled), + string(ApplicationGatewayCookieBasedAffinityEnabled), + } +} + +func (s *ApplicationGatewayCookieBasedAffinity) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseApplicationGatewayCookieBasedAffinity(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseApplicationGatewayCookieBasedAffinity(input string) (*ApplicationGatewayCookieBasedAffinity, error) { + vals := map[string]ApplicationGatewayCookieBasedAffinity{ + "disabled": ApplicationGatewayCookieBasedAffinityDisabled, + "enabled": ApplicationGatewayCookieBasedAffinityEnabled, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ApplicationGatewayCookieBasedAffinity(input) + return &out, nil +} + +type ApplicationGatewayCustomErrorStatusCode string + +const ( + ApplicationGatewayCustomErrorStatusCodeHTTPStatusFiveHundred ApplicationGatewayCustomErrorStatusCode = "HttpStatus500" + ApplicationGatewayCustomErrorStatusCodeHTTPStatusFiveZeroFour ApplicationGatewayCustomErrorStatusCode = "HttpStatus504" + ApplicationGatewayCustomErrorStatusCodeHTTPStatusFiveZeroThree ApplicationGatewayCustomErrorStatusCode = "HttpStatus503" + ApplicationGatewayCustomErrorStatusCodeHTTPStatusFiveZeroTwo ApplicationGatewayCustomErrorStatusCode = "HttpStatus502" + ApplicationGatewayCustomErrorStatusCodeHTTPStatusFourHundred ApplicationGatewayCustomErrorStatusCode = "HttpStatus400" + ApplicationGatewayCustomErrorStatusCodeHTTPStatusFourZeroEight ApplicationGatewayCustomErrorStatusCode = "HttpStatus408" + ApplicationGatewayCustomErrorStatusCodeHTTPStatusFourZeroFive ApplicationGatewayCustomErrorStatusCode = "HttpStatus405" + ApplicationGatewayCustomErrorStatusCodeHTTPStatusFourZeroFour ApplicationGatewayCustomErrorStatusCode = "HttpStatus404" + ApplicationGatewayCustomErrorStatusCodeHTTPStatusFourZeroThree ApplicationGatewayCustomErrorStatusCode = "HttpStatus403" +) + +func PossibleValuesForApplicationGatewayCustomErrorStatusCode() []string { + return []string{ + string(ApplicationGatewayCustomErrorStatusCodeHTTPStatusFiveHundred), + string(ApplicationGatewayCustomErrorStatusCodeHTTPStatusFiveZeroFour), + string(ApplicationGatewayCustomErrorStatusCodeHTTPStatusFiveZeroThree), + string(ApplicationGatewayCustomErrorStatusCodeHTTPStatusFiveZeroTwo), + string(ApplicationGatewayCustomErrorStatusCodeHTTPStatusFourHundred), + string(ApplicationGatewayCustomErrorStatusCodeHTTPStatusFourZeroEight), + string(ApplicationGatewayCustomErrorStatusCodeHTTPStatusFourZeroFive), + string(ApplicationGatewayCustomErrorStatusCodeHTTPStatusFourZeroFour), + string(ApplicationGatewayCustomErrorStatusCodeHTTPStatusFourZeroThree), + } +} + +func (s *ApplicationGatewayCustomErrorStatusCode) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseApplicationGatewayCustomErrorStatusCode(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseApplicationGatewayCustomErrorStatusCode(input string) (*ApplicationGatewayCustomErrorStatusCode, error) { + vals := map[string]ApplicationGatewayCustomErrorStatusCode{ + "httpstatus500": ApplicationGatewayCustomErrorStatusCodeHTTPStatusFiveHundred, + "httpstatus504": ApplicationGatewayCustomErrorStatusCodeHTTPStatusFiveZeroFour, + "httpstatus503": ApplicationGatewayCustomErrorStatusCodeHTTPStatusFiveZeroThree, + "httpstatus502": ApplicationGatewayCustomErrorStatusCodeHTTPStatusFiveZeroTwo, + "httpstatus400": ApplicationGatewayCustomErrorStatusCodeHTTPStatusFourHundred, + "httpstatus408": ApplicationGatewayCustomErrorStatusCodeHTTPStatusFourZeroEight, + "httpstatus405": ApplicationGatewayCustomErrorStatusCodeHTTPStatusFourZeroFive, + "httpstatus404": ApplicationGatewayCustomErrorStatusCodeHTTPStatusFourZeroFour, + "httpstatus403": ApplicationGatewayCustomErrorStatusCodeHTTPStatusFourZeroThree, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ApplicationGatewayCustomErrorStatusCode(input) + return &out, nil +} + +type ApplicationGatewayFirewallMode string + +const ( + ApplicationGatewayFirewallModeDetection ApplicationGatewayFirewallMode = "Detection" + ApplicationGatewayFirewallModePrevention ApplicationGatewayFirewallMode = "Prevention" +) + +func PossibleValuesForApplicationGatewayFirewallMode() []string { + return []string{ + string(ApplicationGatewayFirewallModeDetection), + string(ApplicationGatewayFirewallModePrevention), + } +} + +func (s *ApplicationGatewayFirewallMode) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseApplicationGatewayFirewallMode(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseApplicationGatewayFirewallMode(input string) (*ApplicationGatewayFirewallMode, error) { + vals := map[string]ApplicationGatewayFirewallMode{ + "detection": ApplicationGatewayFirewallModeDetection, + "prevention": ApplicationGatewayFirewallModePrevention, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ApplicationGatewayFirewallMode(input) + return &out, nil +} + +type ApplicationGatewayFirewallRateLimitDuration string + +const ( + ApplicationGatewayFirewallRateLimitDurationFiveMins ApplicationGatewayFirewallRateLimitDuration = "FiveMins" + ApplicationGatewayFirewallRateLimitDurationOneMin ApplicationGatewayFirewallRateLimitDuration = "OneMin" +) + +func PossibleValuesForApplicationGatewayFirewallRateLimitDuration() []string { + return []string{ + string(ApplicationGatewayFirewallRateLimitDurationFiveMins), + string(ApplicationGatewayFirewallRateLimitDurationOneMin), + } +} + +func (s *ApplicationGatewayFirewallRateLimitDuration) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseApplicationGatewayFirewallRateLimitDuration(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseApplicationGatewayFirewallRateLimitDuration(input string) (*ApplicationGatewayFirewallRateLimitDuration, error) { + vals := map[string]ApplicationGatewayFirewallRateLimitDuration{ + "fivemins": ApplicationGatewayFirewallRateLimitDurationFiveMins, + "onemin": ApplicationGatewayFirewallRateLimitDurationOneMin, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ApplicationGatewayFirewallRateLimitDuration(input) + return &out, nil +} + +type ApplicationGatewayFirewallUserSessionVariable string + +const ( + ApplicationGatewayFirewallUserSessionVariableClientAddr ApplicationGatewayFirewallUserSessionVariable = "ClientAddr" + ApplicationGatewayFirewallUserSessionVariableGeoLocation ApplicationGatewayFirewallUserSessionVariable = "GeoLocation" + ApplicationGatewayFirewallUserSessionVariableNone ApplicationGatewayFirewallUserSessionVariable = "None" +) + +func PossibleValuesForApplicationGatewayFirewallUserSessionVariable() []string { + return []string{ + string(ApplicationGatewayFirewallUserSessionVariableClientAddr), + string(ApplicationGatewayFirewallUserSessionVariableGeoLocation), + string(ApplicationGatewayFirewallUserSessionVariableNone), + } +} + +func (s *ApplicationGatewayFirewallUserSessionVariable) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseApplicationGatewayFirewallUserSessionVariable(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseApplicationGatewayFirewallUserSessionVariable(input string) (*ApplicationGatewayFirewallUserSessionVariable, error) { + vals := map[string]ApplicationGatewayFirewallUserSessionVariable{ + "clientaddr": ApplicationGatewayFirewallUserSessionVariableClientAddr, + "geolocation": ApplicationGatewayFirewallUserSessionVariableGeoLocation, + "none": ApplicationGatewayFirewallUserSessionVariableNone, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ApplicationGatewayFirewallUserSessionVariable(input) + return &out, nil +} + +type ApplicationGatewayLoadDistributionAlgorithm string + +const ( + ApplicationGatewayLoadDistributionAlgorithmIPHash ApplicationGatewayLoadDistributionAlgorithm = "IpHash" + ApplicationGatewayLoadDistributionAlgorithmLeastConnections ApplicationGatewayLoadDistributionAlgorithm = "LeastConnections" + ApplicationGatewayLoadDistributionAlgorithmRoundRobin ApplicationGatewayLoadDistributionAlgorithm = "RoundRobin" +) + +func PossibleValuesForApplicationGatewayLoadDistributionAlgorithm() []string { + return []string{ + string(ApplicationGatewayLoadDistributionAlgorithmIPHash), + string(ApplicationGatewayLoadDistributionAlgorithmLeastConnections), + string(ApplicationGatewayLoadDistributionAlgorithmRoundRobin), + } +} + +func (s *ApplicationGatewayLoadDistributionAlgorithm) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseApplicationGatewayLoadDistributionAlgorithm(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseApplicationGatewayLoadDistributionAlgorithm(input string) (*ApplicationGatewayLoadDistributionAlgorithm, error) { + vals := map[string]ApplicationGatewayLoadDistributionAlgorithm{ + "iphash": ApplicationGatewayLoadDistributionAlgorithmIPHash, + "leastconnections": ApplicationGatewayLoadDistributionAlgorithmLeastConnections, + "roundrobin": ApplicationGatewayLoadDistributionAlgorithmRoundRobin, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ApplicationGatewayLoadDistributionAlgorithm(input) + return &out, nil +} + +type ApplicationGatewayOperationalState string + +const ( + ApplicationGatewayOperationalStateRunning ApplicationGatewayOperationalState = "Running" + ApplicationGatewayOperationalStateStarting ApplicationGatewayOperationalState = "Starting" + ApplicationGatewayOperationalStateStopped ApplicationGatewayOperationalState = "Stopped" + ApplicationGatewayOperationalStateStopping ApplicationGatewayOperationalState = "Stopping" +) + +func PossibleValuesForApplicationGatewayOperationalState() []string { + return []string{ + string(ApplicationGatewayOperationalStateRunning), + string(ApplicationGatewayOperationalStateStarting), + string(ApplicationGatewayOperationalStateStopped), + string(ApplicationGatewayOperationalStateStopping), + } +} + +func (s *ApplicationGatewayOperationalState) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseApplicationGatewayOperationalState(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseApplicationGatewayOperationalState(input string) (*ApplicationGatewayOperationalState, error) { + vals := map[string]ApplicationGatewayOperationalState{ + "running": ApplicationGatewayOperationalStateRunning, + "starting": ApplicationGatewayOperationalStateStarting, + "stopped": ApplicationGatewayOperationalStateStopped, + "stopping": ApplicationGatewayOperationalStateStopping, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ApplicationGatewayOperationalState(input) + return &out, nil +} + +type ApplicationGatewayProtocol string + +const ( + ApplicationGatewayProtocolHTTP ApplicationGatewayProtocol = "Http" + ApplicationGatewayProtocolHTTPS ApplicationGatewayProtocol = "Https" + ApplicationGatewayProtocolTcp ApplicationGatewayProtocol = "Tcp" + ApplicationGatewayProtocolTls ApplicationGatewayProtocol = "Tls" +) + +func PossibleValuesForApplicationGatewayProtocol() []string { + return []string{ + string(ApplicationGatewayProtocolHTTP), + string(ApplicationGatewayProtocolHTTPS), + string(ApplicationGatewayProtocolTcp), + string(ApplicationGatewayProtocolTls), + } +} + +func (s *ApplicationGatewayProtocol) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseApplicationGatewayProtocol(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseApplicationGatewayProtocol(input string) (*ApplicationGatewayProtocol, error) { + vals := map[string]ApplicationGatewayProtocol{ + "http": ApplicationGatewayProtocolHTTP, + "https": ApplicationGatewayProtocolHTTPS, + "tcp": ApplicationGatewayProtocolTcp, + "tls": ApplicationGatewayProtocolTls, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ApplicationGatewayProtocol(input) + return &out, nil +} + +type ApplicationGatewayRedirectType string + +const ( + ApplicationGatewayRedirectTypeFound ApplicationGatewayRedirectType = "Found" + ApplicationGatewayRedirectTypePermanent ApplicationGatewayRedirectType = "Permanent" + ApplicationGatewayRedirectTypeSeeOther ApplicationGatewayRedirectType = "SeeOther" + ApplicationGatewayRedirectTypeTemporary ApplicationGatewayRedirectType = "Temporary" +) + +func PossibleValuesForApplicationGatewayRedirectType() []string { + return []string{ + string(ApplicationGatewayRedirectTypeFound), + string(ApplicationGatewayRedirectTypePermanent), + string(ApplicationGatewayRedirectTypeSeeOther), + string(ApplicationGatewayRedirectTypeTemporary), + } +} + +func (s *ApplicationGatewayRedirectType) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseApplicationGatewayRedirectType(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseApplicationGatewayRedirectType(input string) (*ApplicationGatewayRedirectType, error) { + vals := map[string]ApplicationGatewayRedirectType{ + "found": ApplicationGatewayRedirectTypeFound, + "permanent": ApplicationGatewayRedirectTypePermanent, + "seeother": ApplicationGatewayRedirectTypeSeeOther, + "temporary": ApplicationGatewayRedirectTypeTemporary, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ApplicationGatewayRedirectType(input) + return &out, nil +} + +type ApplicationGatewayRequestRoutingRuleType string + +const ( + ApplicationGatewayRequestRoutingRuleTypeBasic ApplicationGatewayRequestRoutingRuleType = "Basic" + ApplicationGatewayRequestRoutingRuleTypePathBasedRouting ApplicationGatewayRequestRoutingRuleType = "PathBasedRouting" +) + +func PossibleValuesForApplicationGatewayRequestRoutingRuleType() []string { + return []string{ + string(ApplicationGatewayRequestRoutingRuleTypeBasic), + string(ApplicationGatewayRequestRoutingRuleTypePathBasedRouting), + } +} + +func (s *ApplicationGatewayRequestRoutingRuleType) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseApplicationGatewayRequestRoutingRuleType(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseApplicationGatewayRequestRoutingRuleType(input string) (*ApplicationGatewayRequestRoutingRuleType, error) { + vals := map[string]ApplicationGatewayRequestRoutingRuleType{ + "basic": ApplicationGatewayRequestRoutingRuleTypeBasic, + "pathbasedrouting": ApplicationGatewayRequestRoutingRuleTypePathBasedRouting, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ApplicationGatewayRequestRoutingRuleType(input) + return &out, nil +} + +type ApplicationGatewaySkuFamily string + +const ( + ApplicationGatewaySkuFamilyGenerationOne ApplicationGatewaySkuFamily = "Generation_1" + ApplicationGatewaySkuFamilyGenerationTwo ApplicationGatewaySkuFamily = "Generation_2" +) + +func PossibleValuesForApplicationGatewaySkuFamily() []string { + return []string{ + string(ApplicationGatewaySkuFamilyGenerationOne), + string(ApplicationGatewaySkuFamilyGenerationTwo), + } +} + +func (s *ApplicationGatewaySkuFamily) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseApplicationGatewaySkuFamily(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseApplicationGatewaySkuFamily(input string) (*ApplicationGatewaySkuFamily, error) { + vals := map[string]ApplicationGatewaySkuFamily{ + "generation_1": ApplicationGatewaySkuFamilyGenerationOne, + "generation_2": ApplicationGatewaySkuFamilyGenerationTwo, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ApplicationGatewaySkuFamily(input) + return &out, nil +} + +type ApplicationGatewaySkuName string + +const ( + ApplicationGatewaySkuNameBasic ApplicationGatewaySkuName = "Basic" + ApplicationGatewaySkuNameStandardLarge ApplicationGatewaySkuName = "Standard_Large" + ApplicationGatewaySkuNameStandardMedium ApplicationGatewaySkuName = "Standard_Medium" + ApplicationGatewaySkuNameStandardSmall ApplicationGatewaySkuName = "Standard_Small" + ApplicationGatewaySkuNameStandardVTwo ApplicationGatewaySkuName = "Standard_v2" + ApplicationGatewaySkuNameWAFLarge ApplicationGatewaySkuName = "WAF_Large" + ApplicationGatewaySkuNameWAFMedium ApplicationGatewaySkuName = "WAF_Medium" + ApplicationGatewaySkuNameWAFVTwo ApplicationGatewaySkuName = "WAF_v2" +) + +func PossibleValuesForApplicationGatewaySkuName() []string { + return []string{ + string(ApplicationGatewaySkuNameBasic), + string(ApplicationGatewaySkuNameStandardLarge), + string(ApplicationGatewaySkuNameStandardMedium), + string(ApplicationGatewaySkuNameStandardSmall), + string(ApplicationGatewaySkuNameStandardVTwo), + string(ApplicationGatewaySkuNameWAFLarge), + string(ApplicationGatewaySkuNameWAFMedium), + string(ApplicationGatewaySkuNameWAFVTwo), + } +} + +func (s *ApplicationGatewaySkuName) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseApplicationGatewaySkuName(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseApplicationGatewaySkuName(input string) (*ApplicationGatewaySkuName, error) { + vals := map[string]ApplicationGatewaySkuName{ + "basic": ApplicationGatewaySkuNameBasic, + "standard_large": ApplicationGatewaySkuNameStandardLarge, + "standard_medium": ApplicationGatewaySkuNameStandardMedium, + "standard_small": ApplicationGatewaySkuNameStandardSmall, + "standard_v2": ApplicationGatewaySkuNameStandardVTwo, + "waf_large": ApplicationGatewaySkuNameWAFLarge, + "waf_medium": ApplicationGatewaySkuNameWAFMedium, + "waf_v2": ApplicationGatewaySkuNameWAFVTwo, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ApplicationGatewaySkuName(input) + return &out, nil +} + +type ApplicationGatewaySslCipherSuite string + +const ( + ApplicationGatewaySslCipherSuiteTLSDHEDSSWITHAESOneTwoEightCBCSHA ApplicationGatewaySslCipherSuite = "TLS_DHE_DSS_WITH_AES_128_CBC_SHA" + ApplicationGatewaySslCipherSuiteTLSDHEDSSWITHAESOneTwoEightCBCSHATwoFiveSix ApplicationGatewaySslCipherSuite = "TLS_DHE_DSS_WITH_AES_128_CBC_SHA256" + ApplicationGatewaySslCipherSuiteTLSDHEDSSWITHAESTwoFiveSixCBCSHA ApplicationGatewaySslCipherSuite = "TLS_DHE_DSS_WITH_AES_256_CBC_SHA" + ApplicationGatewaySslCipherSuiteTLSDHEDSSWITHAESTwoFiveSixCBCSHATwoFiveSix ApplicationGatewaySslCipherSuite = "TLS_DHE_DSS_WITH_AES_256_CBC_SHA256" + ApplicationGatewaySslCipherSuiteTLSDHEDSSWITHThreeDESEDECBCSHA ApplicationGatewaySslCipherSuite = "TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA" + ApplicationGatewaySslCipherSuiteTLSDHERSAWITHAESOneTwoEightCBCSHA ApplicationGatewaySslCipherSuite = "TLS_DHE_RSA_WITH_AES_128_CBC_SHA" + ApplicationGatewaySslCipherSuiteTLSDHERSAWITHAESOneTwoEightGCMSHATwoFiveSix ApplicationGatewaySslCipherSuite = "TLS_DHE_RSA_WITH_AES_128_GCM_SHA256" + ApplicationGatewaySslCipherSuiteTLSDHERSAWITHAESTwoFiveSixCBCSHA ApplicationGatewaySslCipherSuite = "TLS_DHE_RSA_WITH_AES_256_CBC_SHA" + ApplicationGatewaySslCipherSuiteTLSDHERSAWITHAESTwoFiveSixGCMSHAThreeEightFour ApplicationGatewaySslCipherSuite = "TLS_DHE_RSA_WITH_AES_256_GCM_SHA384" + ApplicationGatewaySslCipherSuiteTLSECDHEECDSAWITHAESOneTwoEightCBCSHA ApplicationGatewaySslCipherSuite = "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA" + ApplicationGatewaySslCipherSuiteTLSECDHEECDSAWITHAESOneTwoEightCBCSHATwoFiveSix ApplicationGatewaySslCipherSuite = "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256" + ApplicationGatewaySslCipherSuiteTLSECDHEECDSAWITHAESOneTwoEightGCMSHATwoFiveSix ApplicationGatewaySslCipherSuite = "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256" + ApplicationGatewaySslCipherSuiteTLSECDHEECDSAWITHAESTwoFiveSixCBCSHA ApplicationGatewaySslCipherSuite = "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA" + ApplicationGatewaySslCipherSuiteTLSECDHEECDSAWITHAESTwoFiveSixCBCSHAThreeEightFour ApplicationGatewaySslCipherSuite = "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384" + ApplicationGatewaySslCipherSuiteTLSECDHEECDSAWITHAESTwoFiveSixGCMSHAThreeEightFour ApplicationGatewaySslCipherSuite = "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384" + ApplicationGatewaySslCipherSuiteTLSECDHERSAWITHAESOneTwoEightCBCSHA ApplicationGatewaySslCipherSuite = "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA" + ApplicationGatewaySslCipherSuiteTLSECDHERSAWITHAESOneTwoEightCBCSHATwoFiveSix ApplicationGatewaySslCipherSuite = "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256" + ApplicationGatewaySslCipherSuiteTLSECDHERSAWITHAESOneTwoEightGCMSHATwoFiveSix ApplicationGatewaySslCipherSuite = "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256" + ApplicationGatewaySslCipherSuiteTLSECDHERSAWITHAESTwoFiveSixCBCSHA ApplicationGatewaySslCipherSuite = "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA" + ApplicationGatewaySslCipherSuiteTLSECDHERSAWITHAESTwoFiveSixCBCSHAThreeEightFour ApplicationGatewaySslCipherSuite = "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384" + ApplicationGatewaySslCipherSuiteTLSECDHERSAWITHAESTwoFiveSixGCMSHAThreeEightFour ApplicationGatewaySslCipherSuite = "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384" + ApplicationGatewaySslCipherSuiteTLSRSAWITHAESOneTwoEightCBCSHA ApplicationGatewaySslCipherSuite = "TLS_RSA_WITH_AES_128_CBC_SHA" + ApplicationGatewaySslCipherSuiteTLSRSAWITHAESOneTwoEightCBCSHATwoFiveSix ApplicationGatewaySslCipherSuite = "TLS_RSA_WITH_AES_128_CBC_SHA256" + ApplicationGatewaySslCipherSuiteTLSRSAWITHAESOneTwoEightGCMSHATwoFiveSix ApplicationGatewaySslCipherSuite = "TLS_RSA_WITH_AES_128_GCM_SHA256" + ApplicationGatewaySslCipherSuiteTLSRSAWITHAESTwoFiveSixCBCSHA ApplicationGatewaySslCipherSuite = "TLS_RSA_WITH_AES_256_CBC_SHA" + ApplicationGatewaySslCipherSuiteTLSRSAWITHAESTwoFiveSixCBCSHATwoFiveSix ApplicationGatewaySslCipherSuite = "TLS_RSA_WITH_AES_256_CBC_SHA256" + ApplicationGatewaySslCipherSuiteTLSRSAWITHAESTwoFiveSixGCMSHAThreeEightFour ApplicationGatewaySslCipherSuite = "TLS_RSA_WITH_AES_256_GCM_SHA384" + ApplicationGatewaySslCipherSuiteTLSRSAWITHThreeDESEDECBCSHA ApplicationGatewaySslCipherSuite = "TLS_RSA_WITH_3DES_EDE_CBC_SHA" +) + +func PossibleValuesForApplicationGatewaySslCipherSuite() []string { + return []string{ + string(ApplicationGatewaySslCipherSuiteTLSDHEDSSWITHAESOneTwoEightCBCSHA), + string(ApplicationGatewaySslCipherSuiteTLSDHEDSSWITHAESOneTwoEightCBCSHATwoFiveSix), + string(ApplicationGatewaySslCipherSuiteTLSDHEDSSWITHAESTwoFiveSixCBCSHA), + string(ApplicationGatewaySslCipherSuiteTLSDHEDSSWITHAESTwoFiveSixCBCSHATwoFiveSix), + string(ApplicationGatewaySslCipherSuiteTLSDHEDSSWITHThreeDESEDECBCSHA), + string(ApplicationGatewaySslCipherSuiteTLSDHERSAWITHAESOneTwoEightCBCSHA), + string(ApplicationGatewaySslCipherSuiteTLSDHERSAWITHAESOneTwoEightGCMSHATwoFiveSix), + string(ApplicationGatewaySslCipherSuiteTLSDHERSAWITHAESTwoFiveSixCBCSHA), + string(ApplicationGatewaySslCipherSuiteTLSDHERSAWITHAESTwoFiveSixGCMSHAThreeEightFour), + string(ApplicationGatewaySslCipherSuiteTLSECDHEECDSAWITHAESOneTwoEightCBCSHA), + string(ApplicationGatewaySslCipherSuiteTLSECDHEECDSAWITHAESOneTwoEightCBCSHATwoFiveSix), + string(ApplicationGatewaySslCipherSuiteTLSECDHEECDSAWITHAESOneTwoEightGCMSHATwoFiveSix), + string(ApplicationGatewaySslCipherSuiteTLSECDHEECDSAWITHAESTwoFiveSixCBCSHA), + string(ApplicationGatewaySslCipherSuiteTLSECDHEECDSAWITHAESTwoFiveSixCBCSHAThreeEightFour), + string(ApplicationGatewaySslCipherSuiteTLSECDHEECDSAWITHAESTwoFiveSixGCMSHAThreeEightFour), + string(ApplicationGatewaySslCipherSuiteTLSECDHERSAWITHAESOneTwoEightCBCSHA), + string(ApplicationGatewaySslCipherSuiteTLSECDHERSAWITHAESOneTwoEightCBCSHATwoFiveSix), + string(ApplicationGatewaySslCipherSuiteTLSECDHERSAWITHAESOneTwoEightGCMSHATwoFiveSix), + string(ApplicationGatewaySslCipherSuiteTLSECDHERSAWITHAESTwoFiveSixCBCSHA), + string(ApplicationGatewaySslCipherSuiteTLSECDHERSAWITHAESTwoFiveSixCBCSHAThreeEightFour), + string(ApplicationGatewaySslCipherSuiteTLSECDHERSAWITHAESTwoFiveSixGCMSHAThreeEightFour), + string(ApplicationGatewaySslCipherSuiteTLSRSAWITHAESOneTwoEightCBCSHA), + string(ApplicationGatewaySslCipherSuiteTLSRSAWITHAESOneTwoEightCBCSHATwoFiveSix), + string(ApplicationGatewaySslCipherSuiteTLSRSAWITHAESOneTwoEightGCMSHATwoFiveSix), + string(ApplicationGatewaySslCipherSuiteTLSRSAWITHAESTwoFiveSixCBCSHA), + string(ApplicationGatewaySslCipherSuiteTLSRSAWITHAESTwoFiveSixCBCSHATwoFiveSix), + string(ApplicationGatewaySslCipherSuiteTLSRSAWITHAESTwoFiveSixGCMSHAThreeEightFour), + string(ApplicationGatewaySslCipherSuiteTLSRSAWITHThreeDESEDECBCSHA), + } +} + +func (s *ApplicationGatewaySslCipherSuite) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseApplicationGatewaySslCipherSuite(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseApplicationGatewaySslCipherSuite(input string) (*ApplicationGatewaySslCipherSuite, error) { + vals := map[string]ApplicationGatewaySslCipherSuite{ + "tls_dhe_dss_with_aes_128_cbc_sha": ApplicationGatewaySslCipherSuiteTLSDHEDSSWITHAESOneTwoEightCBCSHA, + "tls_dhe_dss_with_aes_128_cbc_sha256": ApplicationGatewaySslCipherSuiteTLSDHEDSSWITHAESOneTwoEightCBCSHATwoFiveSix, + "tls_dhe_dss_with_aes_256_cbc_sha": ApplicationGatewaySslCipherSuiteTLSDHEDSSWITHAESTwoFiveSixCBCSHA, + "tls_dhe_dss_with_aes_256_cbc_sha256": ApplicationGatewaySslCipherSuiteTLSDHEDSSWITHAESTwoFiveSixCBCSHATwoFiveSix, + "tls_dhe_dss_with_3des_ede_cbc_sha": ApplicationGatewaySslCipherSuiteTLSDHEDSSWITHThreeDESEDECBCSHA, + "tls_dhe_rsa_with_aes_128_cbc_sha": ApplicationGatewaySslCipherSuiteTLSDHERSAWITHAESOneTwoEightCBCSHA, + "tls_dhe_rsa_with_aes_128_gcm_sha256": ApplicationGatewaySslCipherSuiteTLSDHERSAWITHAESOneTwoEightGCMSHATwoFiveSix, + "tls_dhe_rsa_with_aes_256_cbc_sha": ApplicationGatewaySslCipherSuiteTLSDHERSAWITHAESTwoFiveSixCBCSHA, + "tls_dhe_rsa_with_aes_256_gcm_sha384": ApplicationGatewaySslCipherSuiteTLSDHERSAWITHAESTwoFiveSixGCMSHAThreeEightFour, + "tls_ecdhe_ecdsa_with_aes_128_cbc_sha": ApplicationGatewaySslCipherSuiteTLSECDHEECDSAWITHAESOneTwoEightCBCSHA, + "tls_ecdhe_ecdsa_with_aes_128_cbc_sha256": ApplicationGatewaySslCipherSuiteTLSECDHEECDSAWITHAESOneTwoEightCBCSHATwoFiveSix, + "tls_ecdhe_ecdsa_with_aes_128_gcm_sha256": ApplicationGatewaySslCipherSuiteTLSECDHEECDSAWITHAESOneTwoEightGCMSHATwoFiveSix, + "tls_ecdhe_ecdsa_with_aes_256_cbc_sha": ApplicationGatewaySslCipherSuiteTLSECDHEECDSAWITHAESTwoFiveSixCBCSHA, + "tls_ecdhe_ecdsa_with_aes_256_cbc_sha384": ApplicationGatewaySslCipherSuiteTLSECDHEECDSAWITHAESTwoFiveSixCBCSHAThreeEightFour, + "tls_ecdhe_ecdsa_with_aes_256_gcm_sha384": ApplicationGatewaySslCipherSuiteTLSECDHEECDSAWITHAESTwoFiveSixGCMSHAThreeEightFour, + "tls_ecdhe_rsa_with_aes_128_cbc_sha": ApplicationGatewaySslCipherSuiteTLSECDHERSAWITHAESOneTwoEightCBCSHA, + "tls_ecdhe_rsa_with_aes_128_cbc_sha256": ApplicationGatewaySslCipherSuiteTLSECDHERSAWITHAESOneTwoEightCBCSHATwoFiveSix, + "tls_ecdhe_rsa_with_aes_128_gcm_sha256": ApplicationGatewaySslCipherSuiteTLSECDHERSAWITHAESOneTwoEightGCMSHATwoFiveSix, + "tls_ecdhe_rsa_with_aes_256_cbc_sha": ApplicationGatewaySslCipherSuiteTLSECDHERSAWITHAESTwoFiveSixCBCSHA, + "tls_ecdhe_rsa_with_aes_256_cbc_sha384": ApplicationGatewaySslCipherSuiteTLSECDHERSAWITHAESTwoFiveSixCBCSHAThreeEightFour, + "tls_ecdhe_rsa_with_aes_256_gcm_sha384": ApplicationGatewaySslCipherSuiteTLSECDHERSAWITHAESTwoFiveSixGCMSHAThreeEightFour, + "tls_rsa_with_aes_128_cbc_sha": ApplicationGatewaySslCipherSuiteTLSRSAWITHAESOneTwoEightCBCSHA, + "tls_rsa_with_aes_128_cbc_sha256": ApplicationGatewaySslCipherSuiteTLSRSAWITHAESOneTwoEightCBCSHATwoFiveSix, + "tls_rsa_with_aes_128_gcm_sha256": ApplicationGatewaySslCipherSuiteTLSRSAWITHAESOneTwoEightGCMSHATwoFiveSix, + "tls_rsa_with_aes_256_cbc_sha": ApplicationGatewaySslCipherSuiteTLSRSAWITHAESTwoFiveSixCBCSHA, + "tls_rsa_with_aes_256_cbc_sha256": ApplicationGatewaySslCipherSuiteTLSRSAWITHAESTwoFiveSixCBCSHATwoFiveSix, + "tls_rsa_with_aes_256_gcm_sha384": ApplicationGatewaySslCipherSuiteTLSRSAWITHAESTwoFiveSixGCMSHAThreeEightFour, + "tls_rsa_with_3des_ede_cbc_sha": ApplicationGatewaySslCipherSuiteTLSRSAWITHThreeDESEDECBCSHA, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ApplicationGatewaySslCipherSuite(input) + return &out, nil +} + +type ApplicationGatewaySslPolicyName string + +const ( + ApplicationGatewaySslPolicyNameAppGwSslPolicyTwoZeroOneFiveZeroFiveZeroOne ApplicationGatewaySslPolicyName = "AppGwSslPolicy20150501" + ApplicationGatewaySslPolicyNameAppGwSslPolicyTwoZeroOneSevenZeroFourZeroOne ApplicationGatewaySslPolicyName = "AppGwSslPolicy20170401" + ApplicationGatewaySslPolicyNameAppGwSslPolicyTwoZeroOneSevenZeroFourZeroOneS ApplicationGatewaySslPolicyName = "AppGwSslPolicy20170401S" + ApplicationGatewaySslPolicyNameAppGwSslPolicyTwoZeroTwoTwoZeroOneZeroOne ApplicationGatewaySslPolicyName = "AppGwSslPolicy20220101" + ApplicationGatewaySslPolicyNameAppGwSslPolicyTwoZeroTwoTwoZeroOneZeroOneS ApplicationGatewaySslPolicyName = "AppGwSslPolicy20220101S" +) + +func PossibleValuesForApplicationGatewaySslPolicyName() []string { + return []string{ + string(ApplicationGatewaySslPolicyNameAppGwSslPolicyTwoZeroOneFiveZeroFiveZeroOne), + string(ApplicationGatewaySslPolicyNameAppGwSslPolicyTwoZeroOneSevenZeroFourZeroOne), + string(ApplicationGatewaySslPolicyNameAppGwSslPolicyTwoZeroOneSevenZeroFourZeroOneS), + string(ApplicationGatewaySslPolicyNameAppGwSslPolicyTwoZeroTwoTwoZeroOneZeroOne), + string(ApplicationGatewaySslPolicyNameAppGwSslPolicyTwoZeroTwoTwoZeroOneZeroOneS), + } +} + +func (s *ApplicationGatewaySslPolicyName) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseApplicationGatewaySslPolicyName(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseApplicationGatewaySslPolicyName(input string) (*ApplicationGatewaySslPolicyName, error) { + vals := map[string]ApplicationGatewaySslPolicyName{ + "appgwsslpolicy20150501": ApplicationGatewaySslPolicyNameAppGwSslPolicyTwoZeroOneFiveZeroFiveZeroOne, + "appgwsslpolicy20170401": ApplicationGatewaySslPolicyNameAppGwSslPolicyTwoZeroOneSevenZeroFourZeroOne, + "appgwsslpolicy20170401s": ApplicationGatewaySslPolicyNameAppGwSslPolicyTwoZeroOneSevenZeroFourZeroOneS, + "appgwsslpolicy20220101": ApplicationGatewaySslPolicyNameAppGwSslPolicyTwoZeroTwoTwoZeroOneZeroOne, + "appgwsslpolicy20220101s": ApplicationGatewaySslPolicyNameAppGwSslPolicyTwoZeroTwoTwoZeroOneZeroOneS, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ApplicationGatewaySslPolicyName(input) + return &out, nil +} + +type ApplicationGatewaySslPolicyType string + +const ( + ApplicationGatewaySslPolicyTypeCustom ApplicationGatewaySslPolicyType = "Custom" + ApplicationGatewaySslPolicyTypeCustomVTwo ApplicationGatewaySslPolicyType = "CustomV2" + ApplicationGatewaySslPolicyTypePredefined ApplicationGatewaySslPolicyType = "Predefined" +) + +func PossibleValuesForApplicationGatewaySslPolicyType() []string { + return []string{ + string(ApplicationGatewaySslPolicyTypeCustom), + string(ApplicationGatewaySslPolicyTypeCustomVTwo), + string(ApplicationGatewaySslPolicyTypePredefined), + } +} + +func (s *ApplicationGatewaySslPolicyType) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseApplicationGatewaySslPolicyType(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseApplicationGatewaySslPolicyType(input string) (*ApplicationGatewaySslPolicyType, error) { + vals := map[string]ApplicationGatewaySslPolicyType{ + "custom": ApplicationGatewaySslPolicyTypeCustom, + "customv2": ApplicationGatewaySslPolicyTypeCustomVTwo, + "predefined": ApplicationGatewaySslPolicyTypePredefined, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ApplicationGatewaySslPolicyType(input) + return &out, nil +} + +type ApplicationGatewaySslProtocol string + +const ( + ApplicationGatewaySslProtocolTLSvOneOne ApplicationGatewaySslProtocol = "TLSv1_1" + ApplicationGatewaySslProtocolTLSvOneThree ApplicationGatewaySslProtocol = "TLSv1_3" + ApplicationGatewaySslProtocolTLSvOneTwo ApplicationGatewaySslProtocol = "TLSv1_2" + ApplicationGatewaySslProtocolTLSvOneZero ApplicationGatewaySslProtocol = "TLSv1_0" +) + +func PossibleValuesForApplicationGatewaySslProtocol() []string { + return []string{ + string(ApplicationGatewaySslProtocolTLSvOneOne), + string(ApplicationGatewaySslProtocolTLSvOneThree), + string(ApplicationGatewaySslProtocolTLSvOneTwo), + string(ApplicationGatewaySslProtocolTLSvOneZero), + } +} + +func (s *ApplicationGatewaySslProtocol) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseApplicationGatewaySslProtocol(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseApplicationGatewaySslProtocol(input string) (*ApplicationGatewaySslProtocol, error) { + vals := map[string]ApplicationGatewaySslProtocol{ + "tlsv1_1": ApplicationGatewaySslProtocolTLSvOneOne, + "tlsv1_3": ApplicationGatewaySslProtocolTLSvOneThree, + "tlsv1_2": ApplicationGatewaySslProtocolTLSvOneTwo, + "tlsv1_0": ApplicationGatewaySslProtocolTLSvOneZero, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ApplicationGatewaySslProtocol(input) + return &out, nil +} + +type ApplicationGatewayTier string + +const ( + ApplicationGatewayTierBasic ApplicationGatewayTier = "Basic" + ApplicationGatewayTierStandard ApplicationGatewayTier = "Standard" + ApplicationGatewayTierStandardVTwo ApplicationGatewayTier = "Standard_v2" + ApplicationGatewayTierWAF ApplicationGatewayTier = "WAF" + ApplicationGatewayTierWAFVTwo ApplicationGatewayTier = "WAF_v2" +) + +func PossibleValuesForApplicationGatewayTier() []string { + return []string{ + string(ApplicationGatewayTierBasic), + string(ApplicationGatewayTierStandard), + string(ApplicationGatewayTierStandardVTwo), + string(ApplicationGatewayTierWAF), + string(ApplicationGatewayTierWAFVTwo), + } +} + +func (s *ApplicationGatewayTier) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseApplicationGatewayTier(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseApplicationGatewayTier(input string) (*ApplicationGatewayTier, error) { + vals := map[string]ApplicationGatewayTier{ + "basic": ApplicationGatewayTierBasic, + "standard": ApplicationGatewayTierStandard, + "standard_v2": ApplicationGatewayTierStandardVTwo, + "waf": ApplicationGatewayTierWAF, + "waf_v2": ApplicationGatewayTierWAFVTwo, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ApplicationGatewayTier(input) + return &out, nil +} + +type DdosSettingsProtectionMode string + +const ( + DdosSettingsProtectionModeDisabled DdosSettingsProtectionMode = "Disabled" + DdosSettingsProtectionModeEnabled DdosSettingsProtectionMode = "Enabled" + DdosSettingsProtectionModeVirtualNetworkInherited DdosSettingsProtectionMode = "VirtualNetworkInherited" +) + +func PossibleValuesForDdosSettingsProtectionMode() []string { + return []string{ + string(DdosSettingsProtectionModeDisabled), + string(DdosSettingsProtectionModeEnabled), + string(DdosSettingsProtectionModeVirtualNetworkInherited), + } +} + +func (s *DdosSettingsProtectionMode) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseDdosSettingsProtectionMode(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseDdosSettingsProtectionMode(input string) (*DdosSettingsProtectionMode, error) { + vals := map[string]DdosSettingsProtectionMode{ + "disabled": DdosSettingsProtectionModeDisabled, + "enabled": DdosSettingsProtectionModeEnabled, + "virtualnetworkinherited": DdosSettingsProtectionModeVirtualNetworkInherited, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := DdosSettingsProtectionMode(input) + return &out, nil +} + +type DeleteOptions string + +const ( + DeleteOptionsDelete DeleteOptions = "Delete" + DeleteOptionsDetach DeleteOptions = "Detach" +) + +func PossibleValuesForDeleteOptions() []string { + return []string{ + string(DeleteOptionsDelete), + string(DeleteOptionsDetach), + } +} + +func (s *DeleteOptions) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseDeleteOptions(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseDeleteOptions(input string) (*DeleteOptions, error) { + vals := map[string]DeleteOptions{ + "delete": DeleteOptionsDelete, + "detach": DeleteOptionsDetach, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := DeleteOptions(input) + return &out, nil +} + +type ExceptionEntryMatchVariable string + +const ( + ExceptionEntryMatchVariableRemoteAddr ExceptionEntryMatchVariable = "RemoteAddr" + ExceptionEntryMatchVariableRequestHeader ExceptionEntryMatchVariable = "RequestHeader" + ExceptionEntryMatchVariableRequestURI ExceptionEntryMatchVariable = "RequestURI" +) + +func PossibleValuesForExceptionEntryMatchVariable() []string { + return []string{ + string(ExceptionEntryMatchVariableRemoteAddr), + string(ExceptionEntryMatchVariableRequestHeader), + string(ExceptionEntryMatchVariableRequestURI), + } +} + +func (s *ExceptionEntryMatchVariable) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseExceptionEntryMatchVariable(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseExceptionEntryMatchVariable(input string) (*ExceptionEntryMatchVariable, error) { + vals := map[string]ExceptionEntryMatchVariable{ + "remoteaddr": ExceptionEntryMatchVariableRemoteAddr, + "requestheader": ExceptionEntryMatchVariableRequestHeader, + "requesturi": ExceptionEntryMatchVariableRequestURI, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ExceptionEntryMatchVariable(input) + return &out, nil +} + +type ExceptionEntrySelectorMatchOperator string + +const ( + ExceptionEntrySelectorMatchOperatorContains ExceptionEntrySelectorMatchOperator = "Contains" + ExceptionEntrySelectorMatchOperatorEndsWith ExceptionEntrySelectorMatchOperator = "EndsWith" + ExceptionEntrySelectorMatchOperatorEquals ExceptionEntrySelectorMatchOperator = "Equals" + ExceptionEntrySelectorMatchOperatorStartsWith ExceptionEntrySelectorMatchOperator = "StartsWith" +) + +func PossibleValuesForExceptionEntrySelectorMatchOperator() []string { + return []string{ + string(ExceptionEntrySelectorMatchOperatorContains), + string(ExceptionEntrySelectorMatchOperatorEndsWith), + string(ExceptionEntrySelectorMatchOperatorEquals), + string(ExceptionEntrySelectorMatchOperatorStartsWith), + } +} + +func (s *ExceptionEntrySelectorMatchOperator) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseExceptionEntrySelectorMatchOperator(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseExceptionEntrySelectorMatchOperator(input string) (*ExceptionEntrySelectorMatchOperator, error) { + vals := map[string]ExceptionEntrySelectorMatchOperator{ + "contains": ExceptionEntrySelectorMatchOperatorContains, + "endswith": ExceptionEntrySelectorMatchOperatorEndsWith, + "equals": ExceptionEntrySelectorMatchOperatorEquals, + "startswith": ExceptionEntrySelectorMatchOperatorStartsWith, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ExceptionEntrySelectorMatchOperator(input) + return &out, nil +} + +type ExceptionEntryValueMatchOperator string + +const ( + ExceptionEntryValueMatchOperatorContains ExceptionEntryValueMatchOperator = "Contains" + ExceptionEntryValueMatchOperatorEndsWith ExceptionEntryValueMatchOperator = "EndsWith" + ExceptionEntryValueMatchOperatorEquals ExceptionEntryValueMatchOperator = "Equals" + ExceptionEntryValueMatchOperatorIPMatch ExceptionEntryValueMatchOperator = "IPMatch" + ExceptionEntryValueMatchOperatorStartsWith ExceptionEntryValueMatchOperator = "StartsWith" +) + +func PossibleValuesForExceptionEntryValueMatchOperator() []string { + return []string{ + string(ExceptionEntryValueMatchOperatorContains), + string(ExceptionEntryValueMatchOperatorEndsWith), + string(ExceptionEntryValueMatchOperatorEquals), + string(ExceptionEntryValueMatchOperatorIPMatch), + string(ExceptionEntryValueMatchOperatorStartsWith), + } +} + +func (s *ExceptionEntryValueMatchOperator) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseExceptionEntryValueMatchOperator(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseExceptionEntryValueMatchOperator(input string) (*ExceptionEntryValueMatchOperator, error) { + vals := map[string]ExceptionEntryValueMatchOperator{ + "contains": ExceptionEntryValueMatchOperatorContains, + "endswith": ExceptionEntryValueMatchOperatorEndsWith, + "equals": ExceptionEntryValueMatchOperatorEquals, + "ipmatch": ExceptionEntryValueMatchOperatorIPMatch, + "startswith": ExceptionEntryValueMatchOperatorStartsWith, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ExceptionEntryValueMatchOperator(input) + return &out, nil +} + +type FlowLogFormatType string + +const ( + FlowLogFormatTypeJSON FlowLogFormatType = "JSON" +) + +func PossibleValuesForFlowLogFormatType() []string { + return []string{ + string(FlowLogFormatTypeJSON), + } +} + +func (s *FlowLogFormatType) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseFlowLogFormatType(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseFlowLogFormatType(input string) (*FlowLogFormatType, error) { + vals := map[string]FlowLogFormatType{ + "json": FlowLogFormatTypeJSON, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := FlowLogFormatType(input) + return &out, nil +} + +type GatewayLoadBalancerTunnelInterfaceType string + +const ( + GatewayLoadBalancerTunnelInterfaceTypeExternal GatewayLoadBalancerTunnelInterfaceType = "External" + GatewayLoadBalancerTunnelInterfaceTypeInternal GatewayLoadBalancerTunnelInterfaceType = "Internal" + GatewayLoadBalancerTunnelInterfaceTypeNone GatewayLoadBalancerTunnelInterfaceType = "None" +) + +func PossibleValuesForGatewayLoadBalancerTunnelInterfaceType() []string { + return []string{ + string(GatewayLoadBalancerTunnelInterfaceTypeExternal), + string(GatewayLoadBalancerTunnelInterfaceTypeInternal), + string(GatewayLoadBalancerTunnelInterfaceTypeNone), + } +} + +func (s *GatewayLoadBalancerTunnelInterfaceType) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseGatewayLoadBalancerTunnelInterfaceType(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseGatewayLoadBalancerTunnelInterfaceType(input string) (*GatewayLoadBalancerTunnelInterfaceType, error) { + vals := map[string]GatewayLoadBalancerTunnelInterfaceType{ + "external": GatewayLoadBalancerTunnelInterfaceTypeExternal, + "internal": GatewayLoadBalancerTunnelInterfaceTypeInternal, + "none": GatewayLoadBalancerTunnelInterfaceTypeNone, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := GatewayLoadBalancerTunnelInterfaceType(input) + return &out, nil +} + +type GatewayLoadBalancerTunnelProtocol string + +const ( + GatewayLoadBalancerTunnelProtocolNative GatewayLoadBalancerTunnelProtocol = "Native" + GatewayLoadBalancerTunnelProtocolNone GatewayLoadBalancerTunnelProtocol = "None" + GatewayLoadBalancerTunnelProtocolVXLAN GatewayLoadBalancerTunnelProtocol = "VXLAN" +) + +func PossibleValuesForGatewayLoadBalancerTunnelProtocol() []string { + return []string{ + string(GatewayLoadBalancerTunnelProtocolNative), + string(GatewayLoadBalancerTunnelProtocolNone), + string(GatewayLoadBalancerTunnelProtocolVXLAN), + } +} + +func (s *GatewayLoadBalancerTunnelProtocol) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseGatewayLoadBalancerTunnelProtocol(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseGatewayLoadBalancerTunnelProtocol(input string) (*GatewayLoadBalancerTunnelProtocol, error) { + vals := map[string]GatewayLoadBalancerTunnelProtocol{ + "native": GatewayLoadBalancerTunnelProtocolNative, + "none": GatewayLoadBalancerTunnelProtocolNone, + "vxlan": GatewayLoadBalancerTunnelProtocolVXLAN, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := GatewayLoadBalancerTunnelProtocol(input) + return &out, nil +} + +type IPAllocationMethod string + +const ( + IPAllocationMethodDynamic IPAllocationMethod = "Dynamic" + IPAllocationMethodStatic IPAllocationMethod = "Static" +) + +func PossibleValuesForIPAllocationMethod() []string { + return []string{ + string(IPAllocationMethodDynamic), + string(IPAllocationMethodStatic), + } +} + +func (s *IPAllocationMethod) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseIPAllocationMethod(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseIPAllocationMethod(input string) (*IPAllocationMethod, error) { + vals := map[string]IPAllocationMethod{ + "dynamic": IPAllocationMethodDynamic, + "static": IPAllocationMethodStatic, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := IPAllocationMethod(input) + return &out, nil +} + +type IPVersion string + +const ( + IPVersionIPvFour IPVersion = "IPv4" + IPVersionIPvSix IPVersion = "IPv6" +) + +func PossibleValuesForIPVersion() []string { + return []string{ + string(IPVersionIPvFour), + string(IPVersionIPvSix), + } +} + +func (s *IPVersion) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseIPVersion(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseIPVersion(input string) (*IPVersion, error) { + vals := map[string]IPVersion{ + "ipv4": IPVersionIPvFour, + "ipv6": IPVersionIPvSix, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := IPVersion(input) + return &out, nil +} + +type LoadBalancerBackendAddressAdminState string + +const ( + LoadBalancerBackendAddressAdminStateDown LoadBalancerBackendAddressAdminState = "Down" + LoadBalancerBackendAddressAdminStateNone LoadBalancerBackendAddressAdminState = "None" + LoadBalancerBackendAddressAdminStateUp LoadBalancerBackendAddressAdminState = "Up" +) + +func PossibleValuesForLoadBalancerBackendAddressAdminState() []string { + return []string{ + string(LoadBalancerBackendAddressAdminStateDown), + string(LoadBalancerBackendAddressAdminStateNone), + string(LoadBalancerBackendAddressAdminStateUp), + } +} + +func (s *LoadBalancerBackendAddressAdminState) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseLoadBalancerBackendAddressAdminState(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseLoadBalancerBackendAddressAdminState(input string) (*LoadBalancerBackendAddressAdminState, error) { + vals := map[string]LoadBalancerBackendAddressAdminState{ + "down": LoadBalancerBackendAddressAdminStateDown, + "none": LoadBalancerBackendAddressAdminStateNone, + "up": LoadBalancerBackendAddressAdminStateUp, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := LoadBalancerBackendAddressAdminState(input) + return &out, nil +} + +type ManagedRuleEnabledState string + +const ( + ManagedRuleEnabledStateDisabled ManagedRuleEnabledState = "Disabled" + ManagedRuleEnabledStateEnabled ManagedRuleEnabledState = "Enabled" +) + +func PossibleValuesForManagedRuleEnabledState() []string { + return []string{ + string(ManagedRuleEnabledStateDisabled), + string(ManagedRuleEnabledStateEnabled), + } +} + +func (s *ManagedRuleEnabledState) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseManagedRuleEnabledState(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseManagedRuleEnabledState(input string) (*ManagedRuleEnabledState, error) { + vals := map[string]ManagedRuleEnabledState{ + "disabled": ManagedRuleEnabledStateDisabled, + "enabled": ManagedRuleEnabledStateEnabled, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ManagedRuleEnabledState(input) + return &out, nil +} + +type NatGatewaySkuName string + +const ( + NatGatewaySkuNameStandard NatGatewaySkuName = "Standard" +) + +func PossibleValuesForNatGatewaySkuName() []string { + return []string{ + string(NatGatewaySkuNameStandard), + } +} + +func (s *NatGatewaySkuName) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseNatGatewaySkuName(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseNatGatewaySkuName(input string) (*NatGatewaySkuName, error) { + vals := map[string]NatGatewaySkuName{ + "standard": NatGatewaySkuNameStandard, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := NatGatewaySkuName(input) + return &out, nil +} + +type NetworkInterfaceAuxiliaryMode string + +const ( + NetworkInterfaceAuxiliaryModeAcceleratedConnections NetworkInterfaceAuxiliaryMode = "AcceleratedConnections" + NetworkInterfaceAuxiliaryModeFloating NetworkInterfaceAuxiliaryMode = "Floating" + NetworkInterfaceAuxiliaryModeMaxConnections NetworkInterfaceAuxiliaryMode = "MaxConnections" + NetworkInterfaceAuxiliaryModeNone NetworkInterfaceAuxiliaryMode = "None" +) + +func PossibleValuesForNetworkInterfaceAuxiliaryMode() []string { + return []string{ + string(NetworkInterfaceAuxiliaryModeAcceleratedConnections), + string(NetworkInterfaceAuxiliaryModeFloating), + string(NetworkInterfaceAuxiliaryModeMaxConnections), + string(NetworkInterfaceAuxiliaryModeNone), + } +} + +func (s *NetworkInterfaceAuxiliaryMode) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseNetworkInterfaceAuxiliaryMode(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseNetworkInterfaceAuxiliaryMode(input string) (*NetworkInterfaceAuxiliaryMode, error) { + vals := map[string]NetworkInterfaceAuxiliaryMode{ + "acceleratedconnections": NetworkInterfaceAuxiliaryModeAcceleratedConnections, + "floating": NetworkInterfaceAuxiliaryModeFloating, + "maxconnections": NetworkInterfaceAuxiliaryModeMaxConnections, + "none": NetworkInterfaceAuxiliaryModeNone, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := NetworkInterfaceAuxiliaryMode(input) + return &out, nil +} + +type NetworkInterfaceAuxiliarySku string + +const ( + NetworkInterfaceAuxiliarySkuAEight NetworkInterfaceAuxiliarySku = "A8" + NetworkInterfaceAuxiliarySkuAFour NetworkInterfaceAuxiliarySku = "A4" + NetworkInterfaceAuxiliarySkuAOne NetworkInterfaceAuxiliarySku = "A1" + NetworkInterfaceAuxiliarySkuATwo NetworkInterfaceAuxiliarySku = "A2" + NetworkInterfaceAuxiliarySkuNone NetworkInterfaceAuxiliarySku = "None" +) + +func PossibleValuesForNetworkInterfaceAuxiliarySku() []string { + return []string{ + string(NetworkInterfaceAuxiliarySkuAEight), + string(NetworkInterfaceAuxiliarySkuAFour), + string(NetworkInterfaceAuxiliarySkuAOne), + string(NetworkInterfaceAuxiliarySkuATwo), + string(NetworkInterfaceAuxiliarySkuNone), + } +} + +func (s *NetworkInterfaceAuxiliarySku) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseNetworkInterfaceAuxiliarySku(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseNetworkInterfaceAuxiliarySku(input string) (*NetworkInterfaceAuxiliarySku, error) { + vals := map[string]NetworkInterfaceAuxiliarySku{ + "a8": NetworkInterfaceAuxiliarySkuAEight, + "a4": NetworkInterfaceAuxiliarySkuAFour, + "a1": NetworkInterfaceAuxiliarySkuAOne, + "a2": NetworkInterfaceAuxiliarySkuATwo, + "none": NetworkInterfaceAuxiliarySkuNone, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := NetworkInterfaceAuxiliarySku(input) + return &out, nil +} + +type NetworkInterfaceMigrationPhase string + +const ( + NetworkInterfaceMigrationPhaseAbort NetworkInterfaceMigrationPhase = "Abort" + NetworkInterfaceMigrationPhaseCommit NetworkInterfaceMigrationPhase = "Commit" + NetworkInterfaceMigrationPhaseCommitted NetworkInterfaceMigrationPhase = "Committed" + NetworkInterfaceMigrationPhaseNone NetworkInterfaceMigrationPhase = "None" + NetworkInterfaceMigrationPhasePrepare NetworkInterfaceMigrationPhase = "Prepare" +) + +func PossibleValuesForNetworkInterfaceMigrationPhase() []string { + return []string{ + string(NetworkInterfaceMigrationPhaseAbort), + string(NetworkInterfaceMigrationPhaseCommit), + string(NetworkInterfaceMigrationPhaseCommitted), + string(NetworkInterfaceMigrationPhaseNone), + string(NetworkInterfaceMigrationPhasePrepare), + } +} + +func (s *NetworkInterfaceMigrationPhase) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseNetworkInterfaceMigrationPhase(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseNetworkInterfaceMigrationPhase(input string) (*NetworkInterfaceMigrationPhase, error) { + vals := map[string]NetworkInterfaceMigrationPhase{ + "abort": NetworkInterfaceMigrationPhaseAbort, + "commit": NetworkInterfaceMigrationPhaseCommit, + "committed": NetworkInterfaceMigrationPhaseCommitted, + "none": NetworkInterfaceMigrationPhaseNone, + "prepare": NetworkInterfaceMigrationPhasePrepare, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := NetworkInterfaceMigrationPhase(input) + return &out, nil +} + +type NetworkInterfaceNicType string + +const ( + NetworkInterfaceNicTypeElastic NetworkInterfaceNicType = "Elastic" + NetworkInterfaceNicTypeStandard NetworkInterfaceNicType = "Standard" +) + +func PossibleValuesForNetworkInterfaceNicType() []string { + return []string{ + string(NetworkInterfaceNicTypeElastic), + string(NetworkInterfaceNicTypeStandard), + } +} + +func (s *NetworkInterfaceNicType) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseNetworkInterfaceNicType(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseNetworkInterfaceNicType(input string) (*NetworkInterfaceNicType, error) { + vals := map[string]NetworkInterfaceNicType{ + "elastic": NetworkInterfaceNicTypeElastic, + "standard": NetworkInterfaceNicTypeStandard, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := NetworkInterfaceNicType(input) + return &out, nil +} + +type OwaspCrsExclusionEntryMatchVariable string + +const ( + OwaspCrsExclusionEntryMatchVariableRequestArgKeys OwaspCrsExclusionEntryMatchVariable = "RequestArgKeys" + OwaspCrsExclusionEntryMatchVariableRequestArgNames OwaspCrsExclusionEntryMatchVariable = "RequestArgNames" + OwaspCrsExclusionEntryMatchVariableRequestArgValues OwaspCrsExclusionEntryMatchVariable = "RequestArgValues" + OwaspCrsExclusionEntryMatchVariableRequestCookieKeys OwaspCrsExclusionEntryMatchVariable = "RequestCookieKeys" + OwaspCrsExclusionEntryMatchVariableRequestCookieNames OwaspCrsExclusionEntryMatchVariable = "RequestCookieNames" + OwaspCrsExclusionEntryMatchVariableRequestCookieValues OwaspCrsExclusionEntryMatchVariable = "RequestCookieValues" + OwaspCrsExclusionEntryMatchVariableRequestHeaderKeys OwaspCrsExclusionEntryMatchVariable = "RequestHeaderKeys" + OwaspCrsExclusionEntryMatchVariableRequestHeaderNames OwaspCrsExclusionEntryMatchVariable = "RequestHeaderNames" + OwaspCrsExclusionEntryMatchVariableRequestHeaderValues OwaspCrsExclusionEntryMatchVariable = "RequestHeaderValues" +) + +func PossibleValuesForOwaspCrsExclusionEntryMatchVariable() []string { + return []string{ + string(OwaspCrsExclusionEntryMatchVariableRequestArgKeys), + string(OwaspCrsExclusionEntryMatchVariableRequestArgNames), + string(OwaspCrsExclusionEntryMatchVariableRequestArgValues), + string(OwaspCrsExclusionEntryMatchVariableRequestCookieKeys), + string(OwaspCrsExclusionEntryMatchVariableRequestCookieNames), + string(OwaspCrsExclusionEntryMatchVariableRequestCookieValues), + string(OwaspCrsExclusionEntryMatchVariableRequestHeaderKeys), + string(OwaspCrsExclusionEntryMatchVariableRequestHeaderNames), + string(OwaspCrsExclusionEntryMatchVariableRequestHeaderValues), + } +} + +func (s *OwaspCrsExclusionEntryMatchVariable) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseOwaspCrsExclusionEntryMatchVariable(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseOwaspCrsExclusionEntryMatchVariable(input string) (*OwaspCrsExclusionEntryMatchVariable, error) { + vals := map[string]OwaspCrsExclusionEntryMatchVariable{ + "requestargkeys": OwaspCrsExclusionEntryMatchVariableRequestArgKeys, + "requestargnames": OwaspCrsExclusionEntryMatchVariableRequestArgNames, + "requestargvalues": OwaspCrsExclusionEntryMatchVariableRequestArgValues, + "requestcookiekeys": OwaspCrsExclusionEntryMatchVariableRequestCookieKeys, + "requestcookienames": OwaspCrsExclusionEntryMatchVariableRequestCookieNames, + "requestcookievalues": OwaspCrsExclusionEntryMatchVariableRequestCookieValues, + "requestheaderkeys": OwaspCrsExclusionEntryMatchVariableRequestHeaderKeys, + "requestheadernames": OwaspCrsExclusionEntryMatchVariableRequestHeaderNames, + "requestheadervalues": OwaspCrsExclusionEntryMatchVariableRequestHeaderValues, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := OwaspCrsExclusionEntryMatchVariable(input) + return &out, nil +} + +type OwaspCrsExclusionEntrySelectorMatchOperator string + +const ( + OwaspCrsExclusionEntrySelectorMatchOperatorContains OwaspCrsExclusionEntrySelectorMatchOperator = "Contains" + OwaspCrsExclusionEntrySelectorMatchOperatorEndsWith OwaspCrsExclusionEntrySelectorMatchOperator = "EndsWith" + OwaspCrsExclusionEntrySelectorMatchOperatorEquals OwaspCrsExclusionEntrySelectorMatchOperator = "Equals" + OwaspCrsExclusionEntrySelectorMatchOperatorEqualsAny OwaspCrsExclusionEntrySelectorMatchOperator = "EqualsAny" + OwaspCrsExclusionEntrySelectorMatchOperatorStartsWith OwaspCrsExclusionEntrySelectorMatchOperator = "StartsWith" +) + +func PossibleValuesForOwaspCrsExclusionEntrySelectorMatchOperator() []string { + return []string{ + string(OwaspCrsExclusionEntrySelectorMatchOperatorContains), + string(OwaspCrsExclusionEntrySelectorMatchOperatorEndsWith), + string(OwaspCrsExclusionEntrySelectorMatchOperatorEquals), + string(OwaspCrsExclusionEntrySelectorMatchOperatorEqualsAny), + string(OwaspCrsExclusionEntrySelectorMatchOperatorStartsWith), + } +} + +func (s *OwaspCrsExclusionEntrySelectorMatchOperator) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseOwaspCrsExclusionEntrySelectorMatchOperator(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseOwaspCrsExclusionEntrySelectorMatchOperator(input string) (*OwaspCrsExclusionEntrySelectorMatchOperator, error) { + vals := map[string]OwaspCrsExclusionEntrySelectorMatchOperator{ + "contains": OwaspCrsExclusionEntrySelectorMatchOperatorContains, + "endswith": OwaspCrsExclusionEntrySelectorMatchOperatorEndsWith, + "equals": OwaspCrsExclusionEntrySelectorMatchOperatorEquals, + "equalsany": OwaspCrsExclusionEntrySelectorMatchOperatorEqualsAny, + "startswith": OwaspCrsExclusionEntrySelectorMatchOperatorStartsWith, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := OwaspCrsExclusionEntrySelectorMatchOperator(input) + return &out, nil +} + +type ProvisioningState string + +const ( + ProvisioningStateDeleting ProvisioningState = "Deleting" + ProvisioningStateFailed ProvisioningState = "Failed" + ProvisioningStateSucceeded ProvisioningState = "Succeeded" + ProvisioningStateUpdating ProvisioningState = "Updating" +) + +func PossibleValuesForProvisioningState() []string { + return []string{ + string(ProvisioningStateDeleting), + string(ProvisioningStateFailed), + string(ProvisioningStateSucceeded), + string(ProvisioningStateUpdating), + } +} + +func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseProvisioningState(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseProvisioningState(input string) (*ProvisioningState, error) { + vals := map[string]ProvisioningState{ + "deleting": ProvisioningStateDeleting, + "failed": ProvisioningStateFailed, + "succeeded": ProvisioningStateSucceeded, + "updating": ProvisioningStateUpdating, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ProvisioningState(input) + return &out, nil +} + +type PublicIPAddressDnsSettingsDomainNameLabelScope string + +const ( + PublicIPAddressDnsSettingsDomainNameLabelScopeNoReuse PublicIPAddressDnsSettingsDomainNameLabelScope = "NoReuse" + PublicIPAddressDnsSettingsDomainNameLabelScopeResourceGroupReuse PublicIPAddressDnsSettingsDomainNameLabelScope = "ResourceGroupReuse" + PublicIPAddressDnsSettingsDomainNameLabelScopeSubscriptionReuse PublicIPAddressDnsSettingsDomainNameLabelScope = "SubscriptionReuse" + PublicIPAddressDnsSettingsDomainNameLabelScopeTenantReuse PublicIPAddressDnsSettingsDomainNameLabelScope = "TenantReuse" +) + +func PossibleValuesForPublicIPAddressDnsSettingsDomainNameLabelScope() []string { + return []string{ + string(PublicIPAddressDnsSettingsDomainNameLabelScopeNoReuse), + string(PublicIPAddressDnsSettingsDomainNameLabelScopeResourceGroupReuse), + string(PublicIPAddressDnsSettingsDomainNameLabelScopeSubscriptionReuse), + string(PublicIPAddressDnsSettingsDomainNameLabelScopeTenantReuse), + } +} + +func (s *PublicIPAddressDnsSettingsDomainNameLabelScope) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parsePublicIPAddressDnsSettingsDomainNameLabelScope(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parsePublicIPAddressDnsSettingsDomainNameLabelScope(input string) (*PublicIPAddressDnsSettingsDomainNameLabelScope, error) { + vals := map[string]PublicIPAddressDnsSettingsDomainNameLabelScope{ + "noreuse": PublicIPAddressDnsSettingsDomainNameLabelScopeNoReuse, + "resourcegroupreuse": PublicIPAddressDnsSettingsDomainNameLabelScopeResourceGroupReuse, + "subscriptionreuse": PublicIPAddressDnsSettingsDomainNameLabelScopeSubscriptionReuse, + "tenantreuse": PublicIPAddressDnsSettingsDomainNameLabelScopeTenantReuse, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := PublicIPAddressDnsSettingsDomainNameLabelScope(input) + return &out, nil +} + +type PublicIPAddressMigrationPhase string + +const ( + PublicIPAddressMigrationPhaseAbort PublicIPAddressMigrationPhase = "Abort" + PublicIPAddressMigrationPhaseCommit PublicIPAddressMigrationPhase = "Commit" + PublicIPAddressMigrationPhaseCommitted PublicIPAddressMigrationPhase = "Committed" + PublicIPAddressMigrationPhaseNone PublicIPAddressMigrationPhase = "None" + PublicIPAddressMigrationPhasePrepare PublicIPAddressMigrationPhase = "Prepare" +) + +func PossibleValuesForPublicIPAddressMigrationPhase() []string { + return []string{ + string(PublicIPAddressMigrationPhaseAbort), + string(PublicIPAddressMigrationPhaseCommit), + string(PublicIPAddressMigrationPhaseCommitted), + string(PublicIPAddressMigrationPhaseNone), + string(PublicIPAddressMigrationPhasePrepare), + } +} + +func (s *PublicIPAddressMigrationPhase) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parsePublicIPAddressMigrationPhase(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parsePublicIPAddressMigrationPhase(input string) (*PublicIPAddressMigrationPhase, error) { + vals := map[string]PublicIPAddressMigrationPhase{ + "abort": PublicIPAddressMigrationPhaseAbort, + "commit": PublicIPAddressMigrationPhaseCommit, + "committed": PublicIPAddressMigrationPhaseCommitted, + "none": PublicIPAddressMigrationPhaseNone, + "prepare": PublicIPAddressMigrationPhasePrepare, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := PublicIPAddressMigrationPhase(input) + return &out, nil +} + +type PublicIPAddressSkuName string + +const ( + PublicIPAddressSkuNameBasic PublicIPAddressSkuName = "Basic" + PublicIPAddressSkuNameStandard PublicIPAddressSkuName = "Standard" +) + +func PossibleValuesForPublicIPAddressSkuName() []string { + return []string{ + string(PublicIPAddressSkuNameBasic), + string(PublicIPAddressSkuNameStandard), + } +} + +func (s *PublicIPAddressSkuName) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parsePublicIPAddressSkuName(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parsePublicIPAddressSkuName(input string) (*PublicIPAddressSkuName, error) { + vals := map[string]PublicIPAddressSkuName{ + "basic": PublicIPAddressSkuNameBasic, + "standard": PublicIPAddressSkuNameStandard, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := PublicIPAddressSkuName(input) + return &out, nil +} + +type PublicIPAddressSkuTier string + +const ( + PublicIPAddressSkuTierGlobal PublicIPAddressSkuTier = "Global" + PublicIPAddressSkuTierRegional PublicIPAddressSkuTier = "Regional" +) + +func PossibleValuesForPublicIPAddressSkuTier() []string { + return []string{ + string(PublicIPAddressSkuTierGlobal), + string(PublicIPAddressSkuTierRegional), + } +} + +func (s *PublicIPAddressSkuTier) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parsePublicIPAddressSkuTier(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parsePublicIPAddressSkuTier(input string) (*PublicIPAddressSkuTier, error) { + vals := map[string]PublicIPAddressSkuTier{ + "global": PublicIPAddressSkuTierGlobal, + "regional": PublicIPAddressSkuTierRegional, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := PublicIPAddressSkuTier(input) + return &out, nil +} + +type RouteNextHopType string + +const ( + RouteNextHopTypeInternet RouteNextHopType = "Internet" + RouteNextHopTypeNone RouteNextHopType = "None" + RouteNextHopTypeVirtualAppliance RouteNextHopType = "VirtualAppliance" + RouteNextHopTypeVirtualNetworkGateway RouteNextHopType = "VirtualNetworkGateway" + RouteNextHopTypeVnetLocal RouteNextHopType = "VnetLocal" +) + +func PossibleValuesForRouteNextHopType() []string { + return []string{ + string(RouteNextHopTypeInternet), + string(RouteNextHopTypeNone), + string(RouteNextHopTypeVirtualAppliance), + string(RouteNextHopTypeVirtualNetworkGateway), + string(RouteNextHopTypeVnetLocal), + } +} + +func (s *RouteNextHopType) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseRouteNextHopType(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseRouteNextHopType(input string) (*RouteNextHopType, error) { + vals := map[string]RouteNextHopType{ + "internet": RouteNextHopTypeInternet, + "none": RouteNextHopTypeNone, + "virtualappliance": RouteNextHopTypeVirtualAppliance, + "virtualnetworkgateway": RouteNextHopTypeVirtualNetworkGateway, + "vnetlocal": RouteNextHopTypeVnetLocal, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := RouteNextHopType(input) + return &out, nil +} + +type ScrubbingRuleEntryMatchOperator string + +const ( + ScrubbingRuleEntryMatchOperatorEquals ScrubbingRuleEntryMatchOperator = "Equals" + ScrubbingRuleEntryMatchOperatorEqualsAny ScrubbingRuleEntryMatchOperator = "EqualsAny" +) + +func PossibleValuesForScrubbingRuleEntryMatchOperator() []string { + return []string{ + string(ScrubbingRuleEntryMatchOperatorEquals), + string(ScrubbingRuleEntryMatchOperatorEqualsAny), + } +} + +func (s *ScrubbingRuleEntryMatchOperator) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseScrubbingRuleEntryMatchOperator(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseScrubbingRuleEntryMatchOperator(input string) (*ScrubbingRuleEntryMatchOperator, error) { + vals := map[string]ScrubbingRuleEntryMatchOperator{ + "equals": ScrubbingRuleEntryMatchOperatorEquals, + "equalsany": ScrubbingRuleEntryMatchOperatorEqualsAny, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ScrubbingRuleEntryMatchOperator(input) + return &out, nil +} + +type ScrubbingRuleEntryMatchVariable string + +const ( + ScrubbingRuleEntryMatchVariableRequestArgNames ScrubbingRuleEntryMatchVariable = "RequestArgNames" + ScrubbingRuleEntryMatchVariableRequestCookieNames ScrubbingRuleEntryMatchVariable = "RequestCookieNames" + ScrubbingRuleEntryMatchVariableRequestHeaderNames ScrubbingRuleEntryMatchVariable = "RequestHeaderNames" + ScrubbingRuleEntryMatchVariableRequestIPAddress ScrubbingRuleEntryMatchVariable = "RequestIPAddress" + ScrubbingRuleEntryMatchVariableRequestJSONArgNames ScrubbingRuleEntryMatchVariable = "RequestJSONArgNames" + ScrubbingRuleEntryMatchVariableRequestPostArgNames ScrubbingRuleEntryMatchVariable = "RequestPostArgNames" +) + +func PossibleValuesForScrubbingRuleEntryMatchVariable() []string { + return []string{ + string(ScrubbingRuleEntryMatchVariableRequestArgNames), + string(ScrubbingRuleEntryMatchVariableRequestCookieNames), + string(ScrubbingRuleEntryMatchVariableRequestHeaderNames), + string(ScrubbingRuleEntryMatchVariableRequestIPAddress), + string(ScrubbingRuleEntryMatchVariableRequestJSONArgNames), + string(ScrubbingRuleEntryMatchVariableRequestPostArgNames), + } +} + +func (s *ScrubbingRuleEntryMatchVariable) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseScrubbingRuleEntryMatchVariable(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseScrubbingRuleEntryMatchVariable(input string) (*ScrubbingRuleEntryMatchVariable, error) { + vals := map[string]ScrubbingRuleEntryMatchVariable{ + "requestargnames": ScrubbingRuleEntryMatchVariableRequestArgNames, + "requestcookienames": ScrubbingRuleEntryMatchVariableRequestCookieNames, + "requestheadernames": ScrubbingRuleEntryMatchVariableRequestHeaderNames, + "requestipaddress": ScrubbingRuleEntryMatchVariableRequestIPAddress, + "requestjsonargnames": ScrubbingRuleEntryMatchVariableRequestJSONArgNames, + "requestpostargnames": ScrubbingRuleEntryMatchVariableRequestPostArgNames, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ScrubbingRuleEntryMatchVariable(input) + return &out, nil +} + +type ScrubbingRuleEntryState string + +const ( + ScrubbingRuleEntryStateDisabled ScrubbingRuleEntryState = "Disabled" + ScrubbingRuleEntryStateEnabled ScrubbingRuleEntryState = "Enabled" +) + +func PossibleValuesForScrubbingRuleEntryState() []string { + return []string{ + string(ScrubbingRuleEntryStateDisabled), + string(ScrubbingRuleEntryStateEnabled), + } +} + +func (s *ScrubbingRuleEntryState) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseScrubbingRuleEntryState(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseScrubbingRuleEntryState(input string) (*ScrubbingRuleEntryState, error) { + vals := map[string]ScrubbingRuleEntryState{ + "disabled": ScrubbingRuleEntryStateDisabled, + "enabled": ScrubbingRuleEntryStateEnabled, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ScrubbingRuleEntryState(input) + return &out, nil +} + +type SecurityRuleAccess string + +const ( + SecurityRuleAccessAllow SecurityRuleAccess = "Allow" + SecurityRuleAccessDeny SecurityRuleAccess = "Deny" +) + +func PossibleValuesForSecurityRuleAccess() []string { + return []string{ + string(SecurityRuleAccessAllow), + string(SecurityRuleAccessDeny), + } +} + +func (s *SecurityRuleAccess) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseSecurityRuleAccess(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseSecurityRuleAccess(input string) (*SecurityRuleAccess, error) { + vals := map[string]SecurityRuleAccess{ + "allow": SecurityRuleAccessAllow, + "deny": SecurityRuleAccessDeny, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := SecurityRuleAccess(input) + return &out, nil +} + +type SecurityRuleDirection string + +const ( + SecurityRuleDirectionInbound SecurityRuleDirection = "Inbound" + SecurityRuleDirectionOutbound SecurityRuleDirection = "Outbound" +) + +func PossibleValuesForSecurityRuleDirection() []string { + return []string{ + string(SecurityRuleDirectionInbound), + string(SecurityRuleDirectionOutbound), + } +} + +func (s *SecurityRuleDirection) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseSecurityRuleDirection(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseSecurityRuleDirection(input string) (*SecurityRuleDirection, error) { + vals := map[string]SecurityRuleDirection{ + "inbound": SecurityRuleDirectionInbound, + "outbound": SecurityRuleDirectionOutbound, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := SecurityRuleDirection(input) + return &out, nil +} + +type SecurityRuleProtocol string + +const ( + SecurityRuleProtocolAh SecurityRuleProtocol = "Ah" + SecurityRuleProtocolAny SecurityRuleProtocol = "*" + SecurityRuleProtocolEsp SecurityRuleProtocol = "Esp" + SecurityRuleProtocolIcmp SecurityRuleProtocol = "Icmp" + SecurityRuleProtocolTcp SecurityRuleProtocol = "Tcp" + SecurityRuleProtocolUdp SecurityRuleProtocol = "Udp" +) + +func PossibleValuesForSecurityRuleProtocol() []string { + return []string{ + string(SecurityRuleProtocolAh), + string(SecurityRuleProtocolAny), + string(SecurityRuleProtocolEsp), + string(SecurityRuleProtocolIcmp), + string(SecurityRuleProtocolTcp), + string(SecurityRuleProtocolUdp), + } +} + +func (s *SecurityRuleProtocol) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseSecurityRuleProtocol(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseSecurityRuleProtocol(input string) (*SecurityRuleProtocol, error) { + vals := map[string]SecurityRuleProtocol{ + "ah": SecurityRuleProtocolAh, + "*": SecurityRuleProtocolAny, + "esp": SecurityRuleProtocolEsp, + "icmp": SecurityRuleProtocolIcmp, + "tcp": SecurityRuleProtocolTcp, + "udp": SecurityRuleProtocolUdp, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := SecurityRuleProtocol(input) + return &out, nil +} + +type SensitivityType string + +const ( + SensitivityTypeHigh SensitivityType = "High" + SensitivityTypeLow SensitivityType = "Low" + SensitivityTypeMedium SensitivityType = "Medium" + SensitivityTypeNone SensitivityType = "None" +) + +func PossibleValuesForSensitivityType() []string { + return []string{ + string(SensitivityTypeHigh), + string(SensitivityTypeLow), + string(SensitivityTypeMedium), + string(SensitivityTypeNone), + } +} + +func (s *SensitivityType) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseSensitivityType(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseSensitivityType(input string) (*SensitivityType, error) { + vals := map[string]SensitivityType{ + "high": SensitivityTypeHigh, + "low": SensitivityTypeLow, + "medium": SensitivityTypeMedium, + "none": SensitivityTypeNone, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := SensitivityType(input) + return &out, nil +} + +type SharingScope string + +const ( + SharingScopeDelegatedServices SharingScope = "DelegatedServices" + SharingScopeTenant SharingScope = "Tenant" +) + +func PossibleValuesForSharingScope() []string { + return []string{ + string(SharingScopeDelegatedServices), + string(SharingScopeTenant), + } +} + +func (s *SharingScope) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseSharingScope(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseSharingScope(input string) (*SharingScope, error) { + vals := map[string]SharingScope{ + "delegatedservices": SharingScopeDelegatedServices, + "tenant": SharingScopeTenant, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := SharingScope(input) + return &out, nil +} + +type SyncMode string + +const ( + SyncModeAutomatic SyncMode = "Automatic" + SyncModeManual SyncMode = "Manual" +) + +func PossibleValuesForSyncMode() []string { + return []string{ + string(SyncModeAutomatic), + string(SyncModeManual), + } +} + +func (s *SyncMode) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseSyncMode(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseSyncMode(input string) (*SyncMode, error) { + vals := map[string]SyncMode{ + "automatic": SyncModeAutomatic, + "manual": SyncModeManual, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := SyncMode(input) + return &out, nil +} + +type TransportProtocol string + +const ( + TransportProtocolAll TransportProtocol = "All" + TransportProtocolTcp TransportProtocol = "Tcp" + TransportProtocolUdp TransportProtocol = "Udp" +) + +func PossibleValuesForTransportProtocol() []string { + return []string{ + string(TransportProtocolAll), + string(TransportProtocolTcp), + string(TransportProtocolUdp), + } +} + +func (s *TransportProtocol) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseTransportProtocol(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseTransportProtocol(input string) (*TransportProtocol, error) { + vals := map[string]TransportProtocol{ + "all": TransportProtocolAll, + "tcp": TransportProtocolTcp, + "udp": TransportProtocolUdp, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := TransportProtocol(input) + return &out, nil +} + +type VirtualNetworkPrivateEndpointNetworkPolicies string + +const ( + VirtualNetworkPrivateEndpointNetworkPoliciesDisabled VirtualNetworkPrivateEndpointNetworkPolicies = "Disabled" + VirtualNetworkPrivateEndpointNetworkPoliciesEnabled VirtualNetworkPrivateEndpointNetworkPolicies = "Enabled" + VirtualNetworkPrivateEndpointNetworkPoliciesNetworkSecurityGroupEnabled VirtualNetworkPrivateEndpointNetworkPolicies = "NetworkSecurityGroupEnabled" + VirtualNetworkPrivateEndpointNetworkPoliciesRouteTableEnabled VirtualNetworkPrivateEndpointNetworkPolicies = "RouteTableEnabled" +) + +func PossibleValuesForVirtualNetworkPrivateEndpointNetworkPolicies() []string { + return []string{ + string(VirtualNetworkPrivateEndpointNetworkPoliciesDisabled), + string(VirtualNetworkPrivateEndpointNetworkPoliciesEnabled), + string(VirtualNetworkPrivateEndpointNetworkPoliciesNetworkSecurityGroupEnabled), + string(VirtualNetworkPrivateEndpointNetworkPoliciesRouteTableEnabled), + } +} + +func (s *VirtualNetworkPrivateEndpointNetworkPolicies) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseVirtualNetworkPrivateEndpointNetworkPolicies(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseVirtualNetworkPrivateEndpointNetworkPolicies(input string) (*VirtualNetworkPrivateEndpointNetworkPolicies, error) { + vals := map[string]VirtualNetworkPrivateEndpointNetworkPolicies{ + "disabled": VirtualNetworkPrivateEndpointNetworkPoliciesDisabled, + "enabled": VirtualNetworkPrivateEndpointNetworkPoliciesEnabled, + "networksecuritygroupenabled": VirtualNetworkPrivateEndpointNetworkPoliciesNetworkSecurityGroupEnabled, + "routetableenabled": VirtualNetworkPrivateEndpointNetworkPoliciesRouteTableEnabled, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := VirtualNetworkPrivateEndpointNetworkPolicies(input) + return &out, nil +} + +type VirtualNetworkPrivateLinkServiceNetworkPolicies string + +const ( + VirtualNetworkPrivateLinkServiceNetworkPoliciesDisabled VirtualNetworkPrivateLinkServiceNetworkPolicies = "Disabled" + VirtualNetworkPrivateLinkServiceNetworkPoliciesEnabled VirtualNetworkPrivateLinkServiceNetworkPolicies = "Enabled" +) + +func PossibleValuesForVirtualNetworkPrivateLinkServiceNetworkPolicies() []string { + return []string{ + string(VirtualNetworkPrivateLinkServiceNetworkPoliciesDisabled), + string(VirtualNetworkPrivateLinkServiceNetworkPoliciesEnabled), + } +} + +func (s *VirtualNetworkPrivateLinkServiceNetworkPolicies) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseVirtualNetworkPrivateLinkServiceNetworkPolicies(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseVirtualNetworkPrivateLinkServiceNetworkPolicies(input string) (*VirtualNetworkPrivateLinkServiceNetworkPolicies, error) { + vals := map[string]VirtualNetworkPrivateLinkServiceNetworkPolicies{ + "disabled": VirtualNetworkPrivateLinkServiceNetworkPoliciesDisabled, + "enabled": VirtualNetworkPrivateLinkServiceNetworkPoliciesEnabled, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := VirtualNetworkPrivateLinkServiceNetworkPolicies(input) + return &out, nil +} + +type WebApplicationFirewallAction string + +const ( + WebApplicationFirewallActionAllow WebApplicationFirewallAction = "Allow" + WebApplicationFirewallActionBlock WebApplicationFirewallAction = "Block" + WebApplicationFirewallActionJSChallenge WebApplicationFirewallAction = "JSChallenge" + WebApplicationFirewallActionLog WebApplicationFirewallAction = "Log" +) + +func PossibleValuesForWebApplicationFirewallAction() []string { + return []string{ + string(WebApplicationFirewallActionAllow), + string(WebApplicationFirewallActionBlock), + string(WebApplicationFirewallActionJSChallenge), + string(WebApplicationFirewallActionLog), + } +} + +func (s *WebApplicationFirewallAction) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseWebApplicationFirewallAction(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseWebApplicationFirewallAction(input string) (*WebApplicationFirewallAction, error) { + vals := map[string]WebApplicationFirewallAction{ + "allow": WebApplicationFirewallActionAllow, + "block": WebApplicationFirewallActionBlock, + "jschallenge": WebApplicationFirewallActionJSChallenge, + "log": WebApplicationFirewallActionLog, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := WebApplicationFirewallAction(input) + return &out, nil +} + +type WebApplicationFirewallEnabledState string + +const ( + WebApplicationFirewallEnabledStateDisabled WebApplicationFirewallEnabledState = "Disabled" + WebApplicationFirewallEnabledStateEnabled WebApplicationFirewallEnabledState = "Enabled" +) + +func PossibleValuesForWebApplicationFirewallEnabledState() []string { + return []string{ + string(WebApplicationFirewallEnabledStateDisabled), + string(WebApplicationFirewallEnabledStateEnabled), + } +} + +func (s *WebApplicationFirewallEnabledState) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseWebApplicationFirewallEnabledState(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseWebApplicationFirewallEnabledState(input string) (*WebApplicationFirewallEnabledState, error) { + vals := map[string]WebApplicationFirewallEnabledState{ + "disabled": WebApplicationFirewallEnabledStateDisabled, + "enabled": WebApplicationFirewallEnabledStateEnabled, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := WebApplicationFirewallEnabledState(input) + return &out, nil +} + +type WebApplicationFirewallMatchVariable string + +const ( + WebApplicationFirewallMatchVariablePostArgs WebApplicationFirewallMatchVariable = "PostArgs" + WebApplicationFirewallMatchVariableQueryString WebApplicationFirewallMatchVariable = "QueryString" + WebApplicationFirewallMatchVariableRemoteAddr WebApplicationFirewallMatchVariable = "RemoteAddr" + WebApplicationFirewallMatchVariableRequestBody WebApplicationFirewallMatchVariable = "RequestBody" + WebApplicationFirewallMatchVariableRequestCookies WebApplicationFirewallMatchVariable = "RequestCookies" + WebApplicationFirewallMatchVariableRequestHeaders WebApplicationFirewallMatchVariable = "RequestHeaders" + WebApplicationFirewallMatchVariableRequestMethod WebApplicationFirewallMatchVariable = "RequestMethod" + WebApplicationFirewallMatchVariableRequestUri WebApplicationFirewallMatchVariable = "RequestUri" +) + +func PossibleValuesForWebApplicationFirewallMatchVariable() []string { + return []string{ + string(WebApplicationFirewallMatchVariablePostArgs), + string(WebApplicationFirewallMatchVariableQueryString), + string(WebApplicationFirewallMatchVariableRemoteAddr), + string(WebApplicationFirewallMatchVariableRequestBody), + string(WebApplicationFirewallMatchVariableRequestCookies), + string(WebApplicationFirewallMatchVariableRequestHeaders), + string(WebApplicationFirewallMatchVariableRequestMethod), + string(WebApplicationFirewallMatchVariableRequestUri), + } +} + +func (s *WebApplicationFirewallMatchVariable) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseWebApplicationFirewallMatchVariable(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseWebApplicationFirewallMatchVariable(input string) (*WebApplicationFirewallMatchVariable, error) { + vals := map[string]WebApplicationFirewallMatchVariable{ + "postargs": WebApplicationFirewallMatchVariablePostArgs, + "querystring": WebApplicationFirewallMatchVariableQueryString, + "remoteaddr": WebApplicationFirewallMatchVariableRemoteAddr, + "requestbody": WebApplicationFirewallMatchVariableRequestBody, + "requestcookies": WebApplicationFirewallMatchVariableRequestCookies, + "requestheaders": WebApplicationFirewallMatchVariableRequestHeaders, + "requestmethod": WebApplicationFirewallMatchVariableRequestMethod, + "requesturi": WebApplicationFirewallMatchVariableRequestUri, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := WebApplicationFirewallMatchVariable(input) + return &out, nil +} + +type WebApplicationFirewallMode string + +const ( + WebApplicationFirewallModeDetection WebApplicationFirewallMode = "Detection" + WebApplicationFirewallModePrevention WebApplicationFirewallMode = "Prevention" +) + +func PossibleValuesForWebApplicationFirewallMode() []string { + return []string{ + string(WebApplicationFirewallModeDetection), + string(WebApplicationFirewallModePrevention), + } +} + +func (s *WebApplicationFirewallMode) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseWebApplicationFirewallMode(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseWebApplicationFirewallMode(input string) (*WebApplicationFirewallMode, error) { + vals := map[string]WebApplicationFirewallMode{ + "detection": WebApplicationFirewallModeDetection, + "prevention": WebApplicationFirewallModePrevention, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := WebApplicationFirewallMode(input) + return &out, nil +} + +type WebApplicationFirewallOperator string + +const ( + WebApplicationFirewallOperatorAny WebApplicationFirewallOperator = "Any" + WebApplicationFirewallOperatorBeginsWith WebApplicationFirewallOperator = "BeginsWith" + WebApplicationFirewallOperatorContains WebApplicationFirewallOperator = "Contains" + WebApplicationFirewallOperatorEndsWith WebApplicationFirewallOperator = "EndsWith" + WebApplicationFirewallOperatorEqual WebApplicationFirewallOperator = "Equal" + WebApplicationFirewallOperatorGeoMatch WebApplicationFirewallOperator = "GeoMatch" + WebApplicationFirewallOperatorGreaterThan WebApplicationFirewallOperator = "GreaterThan" + WebApplicationFirewallOperatorGreaterThanOrEqual WebApplicationFirewallOperator = "GreaterThanOrEqual" + WebApplicationFirewallOperatorIPMatch WebApplicationFirewallOperator = "IPMatch" + WebApplicationFirewallOperatorLessThan WebApplicationFirewallOperator = "LessThan" + WebApplicationFirewallOperatorLessThanOrEqual WebApplicationFirewallOperator = "LessThanOrEqual" + WebApplicationFirewallOperatorRegex WebApplicationFirewallOperator = "Regex" +) + +func PossibleValuesForWebApplicationFirewallOperator() []string { + return []string{ + string(WebApplicationFirewallOperatorAny), + string(WebApplicationFirewallOperatorBeginsWith), + string(WebApplicationFirewallOperatorContains), + string(WebApplicationFirewallOperatorEndsWith), + string(WebApplicationFirewallOperatorEqual), + string(WebApplicationFirewallOperatorGeoMatch), + string(WebApplicationFirewallOperatorGreaterThan), + string(WebApplicationFirewallOperatorGreaterThanOrEqual), + string(WebApplicationFirewallOperatorIPMatch), + string(WebApplicationFirewallOperatorLessThan), + string(WebApplicationFirewallOperatorLessThanOrEqual), + string(WebApplicationFirewallOperatorRegex), + } +} + +func (s *WebApplicationFirewallOperator) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseWebApplicationFirewallOperator(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseWebApplicationFirewallOperator(input string) (*WebApplicationFirewallOperator, error) { + vals := map[string]WebApplicationFirewallOperator{ + "any": WebApplicationFirewallOperatorAny, + "beginswith": WebApplicationFirewallOperatorBeginsWith, + "contains": WebApplicationFirewallOperatorContains, + "endswith": WebApplicationFirewallOperatorEndsWith, + "equal": WebApplicationFirewallOperatorEqual, + "geomatch": WebApplicationFirewallOperatorGeoMatch, + "greaterthan": WebApplicationFirewallOperatorGreaterThan, + "greaterthanorequal": WebApplicationFirewallOperatorGreaterThanOrEqual, + "ipmatch": WebApplicationFirewallOperatorIPMatch, + "lessthan": WebApplicationFirewallOperatorLessThan, + "lessthanorequal": WebApplicationFirewallOperatorLessThanOrEqual, + "regex": WebApplicationFirewallOperatorRegex, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := WebApplicationFirewallOperator(input) + return &out, nil +} + +type WebApplicationFirewallPolicyResourceState string + +const ( + WebApplicationFirewallPolicyResourceStateCreating WebApplicationFirewallPolicyResourceState = "Creating" + WebApplicationFirewallPolicyResourceStateDeleting WebApplicationFirewallPolicyResourceState = "Deleting" + WebApplicationFirewallPolicyResourceStateDisabled WebApplicationFirewallPolicyResourceState = "Disabled" + WebApplicationFirewallPolicyResourceStateDisabling WebApplicationFirewallPolicyResourceState = "Disabling" + WebApplicationFirewallPolicyResourceStateEnabled WebApplicationFirewallPolicyResourceState = "Enabled" + WebApplicationFirewallPolicyResourceStateEnabling WebApplicationFirewallPolicyResourceState = "Enabling" +) + +func PossibleValuesForWebApplicationFirewallPolicyResourceState() []string { + return []string{ + string(WebApplicationFirewallPolicyResourceStateCreating), + string(WebApplicationFirewallPolicyResourceStateDeleting), + string(WebApplicationFirewallPolicyResourceStateDisabled), + string(WebApplicationFirewallPolicyResourceStateDisabling), + string(WebApplicationFirewallPolicyResourceStateEnabled), + string(WebApplicationFirewallPolicyResourceStateEnabling), + } +} + +func (s *WebApplicationFirewallPolicyResourceState) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseWebApplicationFirewallPolicyResourceState(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseWebApplicationFirewallPolicyResourceState(input string) (*WebApplicationFirewallPolicyResourceState, error) { + vals := map[string]WebApplicationFirewallPolicyResourceState{ + "creating": WebApplicationFirewallPolicyResourceStateCreating, + "deleting": WebApplicationFirewallPolicyResourceStateDeleting, + "disabled": WebApplicationFirewallPolicyResourceStateDisabled, + "disabling": WebApplicationFirewallPolicyResourceStateDisabling, + "enabled": WebApplicationFirewallPolicyResourceStateEnabled, + "enabling": WebApplicationFirewallPolicyResourceStateEnabling, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := WebApplicationFirewallPolicyResourceState(input) + return &out, nil +} + +type WebApplicationFirewallRuleType string + +const ( + WebApplicationFirewallRuleTypeInvalid WebApplicationFirewallRuleType = "Invalid" + WebApplicationFirewallRuleTypeMatchRule WebApplicationFirewallRuleType = "MatchRule" + WebApplicationFirewallRuleTypeRateLimitRule WebApplicationFirewallRuleType = "RateLimitRule" +) + +func PossibleValuesForWebApplicationFirewallRuleType() []string { + return []string{ + string(WebApplicationFirewallRuleTypeInvalid), + string(WebApplicationFirewallRuleTypeMatchRule), + string(WebApplicationFirewallRuleTypeRateLimitRule), + } +} + +func (s *WebApplicationFirewallRuleType) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseWebApplicationFirewallRuleType(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseWebApplicationFirewallRuleType(input string) (*WebApplicationFirewallRuleType, error) { + vals := map[string]WebApplicationFirewallRuleType{ + "invalid": WebApplicationFirewallRuleTypeInvalid, + "matchrule": WebApplicationFirewallRuleTypeMatchRule, + "ratelimitrule": WebApplicationFirewallRuleTypeRateLimitRule, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := WebApplicationFirewallRuleType(input) + return &out, nil +} + +type WebApplicationFirewallScrubbingState string + +const ( + WebApplicationFirewallScrubbingStateDisabled WebApplicationFirewallScrubbingState = "Disabled" + WebApplicationFirewallScrubbingStateEnabled WebApplicationFirewallScrubbingState = "Enabled" +) + +func PossibleValuesForWebApplicationFirewallScrubbingState() []string { + return []string{ + string(WebApplicationFirewallScrubbingStateDisabled), + string(WebApplicationFirewallScrubbingStateEnabled), + } +} + +func (s *WebApplicationFirewallScrubbingState) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseWebApplicationFirewallScrubbingState(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseWebApplicationFirewallScrubbingState(input string) (*WebApplicationFirewallScrubbingState, error) { + vals := map[string]WebApplicationFirewallScrubbingState{ + "disabled": WebApplicationFirewallScrubbingStateDisabled, + "enabled": WebApplicationFirewallScrubbingStateEnabled, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := WebApplicationFirewallScrubbingState(input) + return &out, nil +} + +type WebApplicationFirewallState string + +const ( + WebApplicationFirewallStateDisabled WebApplicationFirewallState = "Disabled" + WebApplicationFirewallStateEnabled WebApplicationFirewallState = "Enabled" +) + +func PossibleValuesForWebApplicationFirewallState() []string { + return []string{ + string(WebApplicationFirewallStateDisabled), + string(WebApplicationFirewallStateEnabled), + } +} + +func (s *WebApplicationFirewallState) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseWebApplicationFirewallState(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseWebApplicationFirewallState(input string) (*WebApplicationFirewallState, error) { + vals := map[string]WebApplicationFirewallState{ + "disabled": WebApplicationFirewallStateDisabled, + "enabled": WebApplicationFirewallStateEnabled, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := WebApplicationFirewallState(input) + return &out, nil +} + +type WebApplicationFirewallTransform string + +const ( + WebApplicationFirewallTransformHtmlEntityDecode WebApplicationFirewallTransform = "HtmlEntityDecode" + WebApplicationFirewallTransformLowercase WebApplicationFirewallTransform = "Lowercase" + WebApplicationFirewallTransformRemoveNulls WebApplicationFirewallTransform = "RemoveNulls" + WebApplicationFirewallTransformTrim WebApplicationFirewallTransform = "Trim" + WebApplicationFirewallTransformURLDecode WebApplicationFirewallTransform = "UrlDecode" + WebApplicationFirewallTransformURLEncode WebApplicationFirewallTransform = "UrlEncode" + WebApplicationFirewallTransformUppercase WebApplicationFirewallTransform = "Uppercase" +) + +func PossibleValuesForWebApplicationFirewallTransform() []string { + return []string{ + string(WebApplicationFirewallTransformHtmlEntityDecode), + string(WebApplicationFirewallTransformLowercase), + string(WebApplicationFirewallTransformRemoveNulls), + string(WebApplicationFirewallTransformTrim), + string(WebApplicationFirewallTransformURLDecode), + string(WebApplicationFirewallTransformURLEncode), + string(WebApplicationFirewallTransformUppercase), + } +} + +func (s *WebApplicationFirewallTransform) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseWebApplicationFirewallTransform(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseWebApplicationFirewallTransform(input string) (*WebApplicationFirewallTransform, error) { + vals := map[string]WebApplicationFirewallTransform{ + "htmlentitydecode": WebApplicationFirewallTransformHtmlEntityDecode, + "lowercase": WebApplicationFirewallTransformLowercase, + "removenulls": WebApplicationFirewallTransformRemoveNulls, + "trim": WebApplicationFirewallTransformTrim, + "urldecode": WebApplicationFirewallTransformURLDecode, + "urlencode": WebApplicationFirewallTransformURLEncode, + "uppercase": WebApplicationFirewallTransformUppercase, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := WebApplicationFirewallTransform(input) + return &out, nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/id_applicationgatewaywebapplicationfirewallpolicy.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/id_applicationgatewaywebapplicationfirewallpolicy.go new file mode 100644 index 000000000000..3004461fd8ad --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/id_applicationgatewaywebapplicationfirewallpolicy.go @@ -0,0 +1,130 @@ +package webapplicationfirewallpolicies + +import ( + "fmt" + "strings" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/recaser" + "github.com/hashicorp/go-azure-helpers/resourcemanager/resourceids" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +func init() { + recaser.RegisterResourceId(&ApplicationGatewayWebApplicationFirewallPolicyId{}) +} + +var _ resourceids.ResourceId = &ApplicationGatewayWebApplicationFirewallPolicyId{} + +// ApplicationGatewayWebApplicationFirewallPolicyId is a struct representing the Resource ID for a Application Gateway Web Application Firewall Policy +type ApplicationGatewayWebApplicationFirewallPolicyId struct { + SubscriptionId string + ResourceGroupName string + ApplicationGatewayWebApplicationFirewallPolicyName string +} + +// NewApplicationGatewayWebApplicationFirewallPolicyID returns a new ApplicationGatewayWebApplicationFirewallPolicyId struct +func NewApplicationGatewayWebApplicationFirewallPolicyID(subscriptionId string, resourceGroupName string, applicationGatewayWebApplicationFirewallPolicyName string) ApplicationGatewayWebApplicationFirewallPolicyId { + return ApplicationGatewayWebApplicationFirewallPolicyId{ + SubscriptionId: subscriptionId, + ResourceGroupName: resourceGroupName, + ApplicationGatewayWebApplicationFirewallPolicyName: applicationGatewayWebApplicationFirewallPolicyName, + } +} + +// ParseApplicationGatewayWebApplicationFirewallPolicyID parses 'input' into a ApplicationGatewayWebApplicationFirewallPolicyId +func ParseApplicationGatewayWebApplicationFirewallPolicyID(input string) (*ApplicationGatewayWebApplicationFirewallPolicyId, error) { + parser := resourceids.NewParserFromResourceIdType(&ApplicationGatewayWebApplicationFirewallPolicyId{}) + parsed, err := parser.Parse(input, false) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := ApplicationGatewayWebApplicationFirewallPolicyId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +// ParseApplicationGatewayWebApplicationFirewallPolicyIDInsensitively parses 'input' case-insensitively into a ApplicationGatewayWebApplicationFirewallPolicyId +// note: this method should only be used for API response data and not user input +func ParseApplicationGatewayWebApplicationFirewallPolicyIDInsensitively(input string) (*ApplicationGatewayWebApplicationFirewallPolicyId, error) { + parser := resourceids.NewParserFromResourceIdType(&ApplicationGatewayWebApplicationFirewallPolicyId{}) + parsed, err := parser.Parse(input, true) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := ApplicationGatewayWebApplicationFirewallPolicyId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +func (id *ApplicationGatewayWebApplicationFirewallPolicyId) FromParseResult(input resourceids.ParseResult) error { + var ok bool + + if id.SubscriptionId, ok = input.Parsed["subscriptionId"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "subscriptionId", input) + } + + if id.ResourceGroupName, ok = input.Parsed["resourceGroupName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "resourceGroupName", input) + } + + if id.ApplicationGatewayWebApplicationFirewallPolicyName, ok = input.Parsed["applicationGatewayWebApplicationFirewallPolicyName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "applicationGatewayWebApplicationFirewallPolicyName", input) + } + + return nil +} + +// ValidateApplicationGatewayWebApplicationFirewallPolicyID checks that 'input' can be parsed as a Application Gateway Web Application Firewall Policy ID +func ValidateApplicationGatewayWebApplicationFirewallPolicyID(input interface{}, key string) (warnings []string, errors []error) { + v, ok := input.(string) + if !ok { + errors = append(errors, fmt.Errorf("expected %q to be a string", key)) + return + } + + if _, err := ParseApplicationGatewayWebApplicationFirewallPolicyID(v); err != nil { + errors = append(errors, err) + } + + return +} + +// ID returns the formatted Application Gateway Web Application Firewall Policy ID +func (id ApplicationGatewayWebApplicationFirewallPolicyId) ID() string { + fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.Network/applicationGatewayWebApplicationFirewallPolicies/%s" + return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.ApplicationGatewayWebApplicationFirewallPolicyName) +} + +// Segments returns a slice of Resource ID Segments which comprise this Application Gateway Web Application Firewall Policy ID +func (id ApplicationGatewayWebApplicationFirewallPolicyId) Segments() []resourceids.Segment { + return []resourceids.Segment{ + resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), + resourceids.SubscriptionIdSegment("subscriptionId", "12345678-1234-9876-4563-123456789012"), + resourceids.StaticSegment("staticResourceGroups", "resourceGroups", "resourceGroups"), + resourceids.ResourceGroupSegment("resourceGroupName", "example-resource-group"), + resourceids.StaticSegment("staticProviders", "providers", "providers"), + resourceids.ResourceProviderSegment("staticMicrosoftNetwork", "Microsoft.Network", "Microsoft.Network"), + resourceids.StaticSegment("staticApplicationGatewayWebApplicationFirewallPolicies", "applicationGatewayWebApplicationFirewallPolicies", "applicationGatewayWebApplicationFirewallPolicies"), + resourceids.UserSpecifiedSegment("applicationGatewayWebApplicationFirewallPolicyName", "applicationGatewayWebApplicationFirewallPolicyName"), + } +} + +// String returns a human-readable description of this Application Gateway Web Application Firewall Policy ID +func (id ApplicationGatewayWebApplicationFirewallPolicyId) String() string { + components := []string{ + fmt.Sprintf("Subscription: %q", id.SubscriptionId), + fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), + fmt.Sprintf("Application Gateway Web Application Firewall Policy Name: %q", id.ApplicationGatewayWebApplicationFirewallPolicyName), + } + return fmt.Sprintf("Application Gateway Web Application Firewall Policy (%s)", strings.Join(components, "\n")) +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/method_createorupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/method_createorupdate.go new file mode 100644 index 000000000000..556b406a3c28 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/method_createorupdate.go @@ -0,0 +1,58 @@ +package webapplicationfirewallpolicies + +import ( + "context" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type CreateOrUpdateOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *WebApplicationFirewallPolicy +} + +// CreateOrUpdate ... +func (c WebApplicationFirewallPoliciesClient) CreateOrUpdate(ctx context.Context, id ApplicationGatewayWebApplicationFirewallPolicyId, input WebApplicationFirewallPolicy) (result CreateOrUpdateOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusCreated, + http.StatusOK, + }, + HttpMethod: http.MethodPut, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + if err = req.Marshal(input); err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var model WebApplicationFirewallPolicy + result.Model = &model + if err = resp.Unmarshal(result.Model); err != nil { + return + } + + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/method_delete.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/method_delete.go new file mode 100644 index 000000000000..c4547e959520 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/method_delete.go @@ -0,0 +1,71 @@ +package webapplicationfirewallpolicies + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/client/pollers" + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type DeleteOperationResponse struct { + Poller pollers.Poller + HttpResponse *http.Response + OData *odata.OData +} + +// Delete ... +func (c WebApplicationFirewallPoliciesClient) Delete(ctx context.Context, id ApplicationGatewayWebApplicationFirewallPolicyId) (result DeleteOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusAccepted, + http.StatusNoContent, + http.StatusOK, + }, + HttpMethod: http.MethodDelete, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client) + if err != nil { + return + } + + return +} + +// DeleteThenPoll performs Delete then polls until it's completed +func (c WebApplicationFirewallPoliciesClient) DeleteThenPoll(ctx context.Context, id ApplicationGatewayWebApplicationFirewallPolicyId) error { + result, err := c.Delete(ctx, id) + if err != nil { + return fmt.Errorf("performing Delete: %+v", err) + } + + if err := result.Poller.PollUntilDone(ctx); err != nil { + return fmt.Errorf("polling after Delete: %+v", err) + } + + return nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/method_get.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/method_get.go new file mode 100644 index 000000000000..b34138178e00 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/method_get.go @@ -0,0 +1,53 @@ +package webapplicationfirewallpolicies + +import ( + "context" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type GetOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *WebApplicationFirewallPolicy +} + +// Get ... +func (c WebApplicationFirewallPoliciesClient) Get(ctx context.Context, id ApplicationGatewayWebApplicationFirewallPolicyId) (result GetOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var model WebApplicationFirewallPolicy + result.Model = &model + if err = resp.Unmarshal(result.Model); err != nil { + return + } + + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/method_list.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/method_list.go new file mode 100644 index 000000000000..4a6b3abf31e6 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/method_list.go @@ -0,0 +1,106 @@ +package webapplicationfirewallpolicies + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ListOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *[]WebApplicationFirewallPolicy +} + +type ListCompleteResult struct { + LatestHttpResponse *http.Response + Items []WebApplicationFirewallPolicy +} + +type ListCustomPager struct { + NextLink *odata.Link `json:"nextLink"` +} + +func (p *ListCustomPager) NextPageLink() *odata.Link { + defer func() { + p.NextLink = nil + }() + + return p.NextLink +} + +// List ... +func (c WebApplicationFirewallPoliciesClient) List(ctx context.Context, id commonids.ResourceGroupId) (result ListOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Pager: &ListCustomPager{}, + Path: fmt.Sprintf("%s/providers/Microsoft.Network/applicationGatewayWebApplicationFirewallPolicies", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.ExecutePaged(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var values struct { + Values *[]WebApplicationFirewallPolicy `json:"value"` + } + if err = resp.Unmarshal(&values); err != nil { + return + } + + result.Model = values.Values + + return +} + +// ListComplete retrieves all the results into a single object +func (c WebApplicationFirewallPoliciesClient) ListComplete(ctx context.Context, id commonids.ResourceGroupId) (ListCompleteResult, error) { + return c.ListCompleteMatchingPredicate(ctx, id, WebApplicationFirewallPolicyOperationPredicate{}) +} + +// ListCompleteMatchingPredicate retrieves all the results and then applies the predicate +func (c WebApplicationFirewallPoliciesClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate WebApplicationFirewallPolicyOperationPredicate) (result ListCompleteResult, err error) { + items := make([]WebApplicationFirewallPolicy, 0) + + resp, err := c.List(ctx, id) + if err != nil { + result.LatestHttpResponse = resp.HttpResponse + err = fmt.Errorf("loading results: %+v", err) + return + } + if resp.Model != nil { + for _, v := range *resp.Model { + if predicate.Matches(v) { + items = append(items, v) + } + } + } + + result = ListCompleteResult{ + LatestHttpResponse: resp.HttpResponse, + Items: items, + } + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/method_listall.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/method_listall.go new file mode 100644 index 000000000000..e3a633a2655b --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/method_listall.go @@ -0,0 +1,106 @@ +package webapplicationfirewallpolicies + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ListAllOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *[]WebApplicationFirewallPolicy +} + +type ListAllCompleteResult struct { + LatestHttpResponse *http.Response + Items []WebApplicationFirewallPolicy +} + +type ListAllCustomPager struct { + NextLink *odata.Link `json:"nextLink"` +} + +func (p *ListAllCustomPager) NextPageLink() *odata.Link { + defer func() { + p.NextLink = nil + }() + + return p.NextLink +} + +// ListAll ... +func (c WebApplicationFirewallPoliciesClient) ListAll(ctx context.Context, id commonids.SubscriptionId) (result ListAllOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Pager: &ListAllCustomPager{}, + Path: fmt.Sprintf("%s/providers/Microsoft.Network/applicationGatewayWebApplicationFirewallPolicies", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.ExecutePaged(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var values struct { + Values *[]WebApplicationFirewallPolicy `json:"value"` + } + if err = resp.Unmarshal(&values); err != nil { + return + } + + result.Model = values.Values + + return +} + +// ListAllComplete retrieves all the results into a single object +func (c WebApplicationFirewallPoliciesClient) ListAllComplete(ctx context.Context, id commonids.SubscriptionId) (ListAllCompleteResult, error) { + return c.ListAllCompleteMatchingPredicate(ctx, id, WebApplicationFirewallPolicyOperationPredicate{}) +} + +// ListAllCompleteMatchingPredicate retrieves all the results and then applies the predicate +func (c WebApplicationFirewallPoliciesClient) ListAllCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate WebApplicationFirewallPolicyOperationPredicate) (result ListAllCompleteResult, err error) { + items := make([]WebApplicationFirewallPolicy, 0) + + resp, err := c.ListAll(ctx, id) + if err != nil { + result.LatestHttpResponse = resp.HttpResponse + err = fmt.Errorf("loading results: %+v", err) + return + } + if resp.Model != nil { + for _, v := range *resp.Model { + if predicate.Matches(v) { + items = append(items, v) + } + } + } + + result = ListAllCompleteResult{ + LatestHttpResponse: resp.HttpResponse, + Items: items, + } + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgateway.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgateway.go new file mode 100644 index 000000000000..69aa82140eaf --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgateway.go @@ -0,0 +1,21 @@ +package webapplicationfirewallpolicies + +import ( + "github.com/hashicorp/go-azure-helpers/resourcemanager/identity" + "github.com/hashicorp/go-azure-helpers/resourcemanager/zones" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGateway struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Identity *identity.SystemAndUserAssignedMap `json:"identity,omitempty"` + Location *string `json:"location,omitempty"` + Name *string `json:"name,omitempty"` + Properties *ApplicationGatewayPropertiesFormat `json:"properties,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` + Zones *zones.Schema `json:"zones,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayauthenticationcertificate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayauthenticationcertificate.go new file mode 100644 index 000000000000..74175523bc12 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayauthenticationcertificate.go @@ -0,0 +1,12 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayAuthenticationCertificate struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *ApplicationGatewayAuthenticationCertificatePropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayauthenticationcertificatepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayauthenticationcertificatepropertiesformat.go new file mode 100644 index 000000000000..7536ffa24393 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayauthenticationcertificatepropertiesformat.go @@ -0,0 +1,9 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayAuthenticationCertificatePropertiesFormat struct { + Data *string `json:"data,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayautoscaleconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayautoscaleconfiguration.go new file mode 100644 index 000000000000..06e7df4e24e0 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayautoscaleconfiguration.go @@ -0,0 +1,9 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayAutoscaleConfiguration struct { + MaxCapacity *int64 `json:"maxCapacity,omitempty"` + MinCapacity int64 `json:"minCapacity"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewaybackendaddress.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewaybackendaddress.go new file mode 100644 index 000000000000..dcc624a13aa0 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewaybackendaddress.go @@ -0,0 +1,9 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayBackendAddress struct { + Fqdn *string `json:"fqdn,omitempty"` + IPAddress *string `json:"ipAddress,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewaybackendaddresspool.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewaybackendaddresspool.go new file mode 100644 index 000000000000..0f188b359ad4 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewaybackendaddresspool.go @@ -0,0 +1,12 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayBackendAddressPool struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *ApplicationGatewayBackendAddressPoolPropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewaybackendaddresspoolpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewaybackendaddresspoolpropertiesformat.go new file mode 100644 index 000000000000..64a4ed2e8366 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewaybackendaddresspoolpropertiesformat.go @@ -0,0 +1,10 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayBackendAddressPoolPropertiesFormat struct { + BackendAddresses *[]ApplicationGatewayBackendAddress `json:"backendAddresses,omitempty"` + BackendIPConfigurations *[]NetworkInterfaceIPConfiguration `json:"backendIPConfigurations,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewaybackendhttpsettings.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewaybackendhttpsettings.go new file mode 100644 index 000000000000..052f312d7b33 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewaybackendhttpsettings.go @@ -0,0 +1,12 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayBackendHTTPSettings struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *ApplicationGatewayBackendHTTPSettingsPropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewaybackendhttpsettingspropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewaybackendhttpsettingspropertiesformat.go new file mode 100644 index 000000000000..16305b5de819 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewaybackendhttpsettingspropertiesformat.go @@ -0,0 +1,21 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayBackendHTTPSettingsPropertiesFormat struct { + AffinityCookieName *string `json:"affinityCookieName,omitempty"` + AuthenticationCertificates *[]SubResource `json:"authenticationCertificates,omitempty"` + ConnectionDraining *ApplicationGatewayConnectionDraining `json:"connectionDraining,omitempty"` + CookieBasedAffinity *ApplicationGatewayCookieBasedAffinity `json:"cookieBasedAffinity,omitempty"` + HostName *string `json:"hostName,omitempty"` + Path *string `json:"path,omitempty"` + PickHostNameFromBackendAddress *bool `json:"pickHostNameFromBackendAddress,omitempty"` + Port *int64 `json:"port,omitempty"` + Probe *SubResource `json:"probe,omitempty"` + ProbeEnabled *bool `json:"probeEnabled,omitempty"` + Protocol *ApplicationGatewayProtocol `json:"protocol,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + RequestTimeout *int64 `json:"requestTimeout,omitempty"` + TrustedRootCertificates *[]SubResource `json:"trustedRootCertificates,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewaybackendsettings.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewaybackendsettings.go new file mode 100644 index 000000000000..1bc8a5c5fe1f --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewaybackendsettings.go @@ -0,0 +1,12 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayBackendSettings struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *ApplicationGatewayBackendSettingsPropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewaybackendsettingspropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewaybackendsettingspropertiesformat.go new file mode 100644 index 000000000000..5d5f77f3c8dd --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewaybackendsettingspropertiesformat.go @@ -0,0 +1,15 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayBackendSettingsPropertiesFormat struct { + HostName *string `json:"hostName,omitempty"` + PickHostNameFromBackendAddress *bool `json:"pickHostNameFromBackendAddress,omitempty"` + Port *int64 `json:"port,omitempty"` + Probe *SubResource `json:"probe,omitempty"` + Protocol *ApplicationGatewayProtocol `json:"protocol,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + Timeout *int64 `json:"timeout,omitempty"` + TrustedRootCertificates *[]SubResource `json:"trustedRootCertificates,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayclientauthconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayclientauthconfiguration.go new file mode 100644 index 000000000000..36e0f43021db --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayclientauthconfiguration.go @@ -0,0 +1,9 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayClientAuthConfiguration struct { + VerifyClientCertIssuerDN *bool `json:"verifyClientCertIssuerDN,omitempty"` + VerifyClientRevocation *ApplicationGatewayClientRevocationOptions `json:"verifyClientRevocation,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayconnectiondraining.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayconnectiondraining.go new file mode 100644 index 000000000000..369c8494e6fe --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayconnectiondraining.go @@ -0,0 +1,9 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayConnectionDraining struct { + DrainTimeoutInSec int64 `json:"drainTimeoutInSec"` + Enabled bool `json:"enabled"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewaycustomerror.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewaycustomerror.go new file mode 100644 index 000000000000..b1f6dd22b0d2 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewaycustomerror.go @@ -0,0 +1,9 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayCustomError struct { + CustomErrorPageURL *string `json:"customErrorPageUrl,omitempty"` + StatusCode *ApplicationGatewayCustomErrorStatusCode `json:"statusCode,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayfirewalldisabledrulegroup.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayfirewalldisabledrulegroup.go new file mode 100644 index 000000000000..c88a33b735c1 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayfirewalldisabledrulegroup.go @@ -0,0 +1,9 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayFirewallDisabledRuleGroup struct { + RuleGroupName string `json:"ruleGroupName"` + Rules *[]int64 `json:"rules,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayfirewallexclusion.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayfirewallexclusion.go new file mode 100644 index 000000000000..541e5052e8f7 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayfirewallexclusion.go @@ -0,0 +1,10 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayFirewallExclusion struct { + MatchVariable string `json:"matchVariable"` + Selector string `json:"selector"` + SelectorMatchOperator string `json:"selectorMatchOperator"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayforcontainersreferencedefinition.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayforcontainersreferencedefinition.go new file mode 100644 index 000000000000..2a18fd8a8661 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayforcontainersreferencedefinition.go @@ -0,0 +1,8 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayForContainersReferenceDefinition struct { + Id string `json:"id"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayfrontendipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayfrontendipconfiguration.go new file mode 100644 index 000000000000..f5f9c5bebc72 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayfrontendipconfiguration.go @@ -0,0 +1,12 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayFrontendIPConfiguration struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *ApplicationGatewayFrontendIPConfigurationPropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayfrontendipconfigurationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayfrontendipconfigurationpropertiesformat.go new file mode 100644 index 000000000000..1b61dc71c1d9 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayfrontendipconfigurationpropertiesformat.go @@ -0,0 +1,13 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayFrontendIPConfigurationPropertiesFormat struct { + PrivateIPAddress *string `json:"privateIPAddress,omitempty"` + PrivateIPAllocationMethod *IPAllocationMethod `json:"privateIPAllocationMethod,omitempty"` + PrivateLinkConfiguration *SubResource `json:"privateLinkConfiguration,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + PublicIPAddress *SubResource `json:"publicIPAddress,omitempty"` + Subnet *SubResource `json:"subnet,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayfrontendport.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayfrontendport.go new file mode 100644 index 000000000000..dfcb5e52ee38 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayfrontendport.go @@ -0,0 +1,12 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayFrontendPort struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *ApplicationGatewayFrontendPortPropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayfrontendportpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayfrontendportpropertiesformat.go new file mode 100644 index 000000000000..d37b168d0aa4 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayfrontendportpropertiesformat.go @@ -0,0 +1,9 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayFrontendPortPropertiesFormat struct { + Port *int64 `json:"port,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayglobalconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayglobalconfiguration.go new file mode 100644 index 000000000000..b80dabed9a0c --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayglobalconfiguration.go @@ -0,0 +1,9 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayGlobalConfiguration struct { + EnableRequestBuffering *bool `json:"enableRequestBuffering,omitempty"` + EnableResponseBuffering *bool `json:"enableResponseBuffering,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayheaderconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayheaderconfiguration.go new file mode 100644 index 000000000000..7ffc4b3c8c84 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayheaderconfiguration.go @@ -0,0 +1,10 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayHeaderConfiguration struct { + HeaderName *string `json:"headerName,omitempty"` + HeaderValue *string `json:"headerValue,omitempty"` + HeaderValueMatcher *HeaderValueMatcher `json:"headerValueMatcher,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayhttplistener.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayhttplistener.go new file mode 100644 index 000000000000..0fd70bac2011 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayhttplistener.go @@ -0,0 +1,12 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayHTTPListener struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *ApplicationGatewayHTTPListenerPropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayhttplistenerpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayhttplistenerpropertiesformat.go new file mode 100644 index 000000000000..9c4eb515f42b --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayhttplistenerpropertiesformat.go @@ -0,0 +1,18 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayHTTPListenerPropertiesFormat struct { + CustomErrorConfigurations *[]ApplicationGatewayCustomError `json:"customErrorConfigurations,omitempty"` + FirewallPolicy *SubResource `json:"firewallPolicy,omitempty"` + FrontendIPConfiguration *SubResource `json:"frontendIPConfiguration,omitempty"` + FrontendPort *SubResource `json:"frontendPort,omitempty"` + HostName *string `json:"hostName,omitempty"` + HostNames *[]string `json:"hostNames,omitempty"` + Protocol *ApplicationGatewayProtocol `json:"protocol,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + RequireServerNameIndication *bool `json:"requireServerNameIndication,omitempty"` + SslCertificate *SubResource `json:"sslCertificate,omitempty"` + SslProfile *SubResource `json:"sslProfile,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayipconfiguration.go new file mode 100644 index 000000000000..6ffd65f71c2d --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayipconfiguration.go @@ -0,0 +1,12 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayIPConfiguration struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *ApplicationGatewayIPConfigurationPropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayipconfigurationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayipconfigurationpropertiesformat.go new file mode 100644 index 000000000000..e8482b21e603 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayipconfigurationpropertiesformat.go @@ -0,0 +1,9 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayIPConfigurationPropertiesFormat struct { + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + Subnet *SubResource `json:"subnet,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewaylistener.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewaylistener.go new file mode 100644 index 000000000000..71fe702c98e9 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewaylistener.go @@ -0,0 +1,12 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayListener struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *ApplicationGatewayListenerPropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewaylistenerpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewaylistenerpropertiesformat.go new file mode 100644 index 000000000000..ceffb59e3b15 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewaylistenerpropertiesformat.go @@ -0,0 +1,14 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayListenerPropertiesFormat struct { + FrontendIPConfiguration *SubResource `json:"frontendIPConfiguration,omitempty"` + FrontendPort *SubResource `json:"frontendPort,omitempty"` + HostNames *[]string `json:"hostNames,omitempty"` + Protocol *ApplicationGatewayProtocol `json:"protocol,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + SslCertificate *SubResource `json:"sslCertificate,omitempty"` + SslProfile *SubResource `json:"sslProfile,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayloaddistributionpolicy.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayloaddistributionpolicy.go new file mode 100644 index 000000000000..55e8713746cc --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayloaddistributionpolicy.go @@ -0,0 +1,12 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayLoadDistributionPolicy struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *ApplicationGatewayLoadDistributionPolicyPropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayloaddistributionpolicypropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayloaddistributionpolicypropertiesformat.go new file mode 100644 index 000000000000..fe721166bf2f --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayloaddistributionpolicypropertiesformat.go @@ -0,0 +1,10 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayLoadDistributionPolicyPropertiesFormat struct { + LoadDistributionAlgorithm *ApplicationGatewayLoadDistributionAlgorithm `json:"loadDistributionAlgorithm,omitempty"` + LoadDistributionTargets *[]ApplicationGatewayLoadDistributionTarget `json:"loadDistributionTargets,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayloaddistributiontarget.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayloaddistributiontarget.go new file mode 100644 index 000000000000..d361c4e3d978 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayloaddistributiontarget.go @@ -0,0 +1,12 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayLoadDistributionTarget struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *ApplicationGatewayLoadDistributionTargetPropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayloaddistributiontargetpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayloaddistributiontargetpropertiesformat.go new file mode 100644 index 000000000000..6ba821b2e825 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayloaddistributiontargetpropertiesformat.go @@ -0,0 +1,9 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayLoadDistributionTargetPropertiesFormat struct { + BackendAddressPool *SubResource `json:"backendAddressPool,omitempty"` + WeightPerServer *int64 `json:"weightPerServer,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewaypathrule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewaypathrule.go new file mode 100644 index 000000000000..992b948c5589 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewaypathrule.go @@ -0,0 +1,12 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayPathRule struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *ApplicationGatewayPathRulePropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewaypathrulepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewaypathrulepropertiesformat.go new file mode 100644 index 000000000000..5c8b00da0850 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewaypathrulepropertiesformat.go @@ -0,0 +1,15 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayPathRulePropertiesFormat struct { + BackendAddressPool *SubResource `json:"backendAddressPool,omitempty"` + BackendHTTPSettings *SubResource `json:"backendHttpSettings,omitempty"` + FirewallPolicy *SubResource `json:"firewallPolicy,omitempty"` + LoadDistributionPolicy *SubResource `json:"loadDistributionPolicy,omitempty"` + Paths *[]string `json:"paths,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + RedirectConfiguration *SubResource `json:"redirectConfiguration,omitempty"` + RewriteRuleSet *SubResource `json:"rewriteRuleSet,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayprivateendpointconnection.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayprivateendpointconnection.go new file mode 100644 index 000000000000..5b45596cedc7 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayprivateendpointconnection.go @@ -0,0 +1,12 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayPrivateEndpointConnection struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *ApplicationGatewayPrivateEndpointConnectionProperties `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayprivateendpointconnectionproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayprivateendpointconnectionproperties.go new file mode 100644 index 000000000000..c6a900feb31d --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayprivateendpointconnectionproperties.go @@ -0,0 +1,11 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayPrivateEndpointConnectionProperties struct { + LinkIdentifier *string `json:"linkIdentifier,omitempty"` + PrivateEndpoint *PrivateEndpoint `json:"privateEndpoint,omitempty"` + PrivateLinkServiceConnectionState *PrivateLinkServiceConnectionState `json:"privateLinkServiceConnectionState,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayprivatelinkconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayprivatelinkconfiguration.go new file mode 100644 index 000000000000..73e8756981a1 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayprivatelinkconfiguration.go @@ -0,0 +1,12 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayPrivateLinkConfiguration struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *ApplicationGatewayPrivateLinkConfigurationProperties `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayprivatelinkconfigurationproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayprivatelinkconfigurationproperties.go new file mode 100644 index 000000000000..8855a67b9ce5 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayprivatelinkconfigurationproperties.go @@ -0,0 +1,9 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayPrivateLinkConfigurationProperties struct { + IPConfigurations *[]ApplicationGatewayPrivateLinkIPConfiguration `json:"ipConfigurations,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayprivatelinkipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayprivatelinkipconfiguration.go new file mode 100644 index 000000000000..ce8e67a68d09 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayprivatelinkipconfiguration.go @@ -0,0 +1,12 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayPrivateLinkIPConfiguration struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *ApplicationGatewayPrivateLinkIPConfigurationProperties `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayprivatelinkipconfigurationproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayprivatelinkipconfigurationproperties.go new file mode 100644 index 000000000000..ff68d2052d79 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayprivatelinkipconfigurationproperties.go @@ -0,0 +1,12 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayPrivateLinkIPConfigurationProperties struct { + Primary *bool `json:"primary,omitempty"` + PrivateIPAddress *string `json:"privateIPAddress,omitempty"` + PrivateIPAllocationMethod *IPAllocationMethod `json:"privateIPAllocationMethod,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + Subnet *SubResource `json:"subnet,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayprobe.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayprobe.go new file mode 100644 index 000000000000..9c935a9fbba0 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayprobe.go @@ -0,0 +1,12 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayProbe struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *ApplicationGatewayProbePropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayprobehealthresponsematch.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayprobehealthresponsematch.go new file mode 100644 index 000000000000..20c18109ec09 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayprobehealthresponsematch.go @@ -0,0 +1,9 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayProbeHealthResponseMatch struct { + Body *string `json:"body,omitempty"` + StatusCodes *[]string `json:"statusCodes,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayprobepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayprobepropertiesformat.go new file mode 100644 index 000000000000..b36845c57bf8 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayprobepropertiesformat.go @@ -0,0 +1,19 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayProbePropertiesFormat struct { + Host *string `json:"host,omitempty"` + Interval *int64 `json:"interval,omitempty"` + Match *ApplicationGatewayProbeHealthResponseMatch `json:"match,omitempty"` + MinServers *int64 `json:"minServers,omitempty"` + Path *string `json:"path,omitempty"` + PickHostNameFromBackendHTTPSettings *bool `json:"pickHostNameFromBackendHttpSettings,omitempty"` + PickHostNameFromBackendSettings *bool `json:"pickHostNameFromBackendSettings,omitempty"` + Port *int64 `json:"port,omitempty"` + Protocol *ApplicationGatewayProtocol `json:"protocol,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + Timeout *int64 `json:"timeout,omitempty"` + UnhealthyThreshold *int64 `json:"unhealthyThreshold,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewaypropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewaypropertiesformat.go new file mode 100644 index 000000000000..6cdbb059a1ba --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewaypropertiesformat.go @@ -0,0 +1,43 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayPropertiesFormat struct { + AuthenticationCertificates *[]ApplicationGatewayAuthenticationCertificate `json:"authenticationCertificates,omitempty"` + AutoscaleConfiguration *ApplicationGatewayAutoscaleConfiguration `json:"autoscaleConfiguration,omitempty"` + BackendAddressPools *[]ApplicationGatewayBackendAddressPool `json:"backendAddressPools,omitempty"` + BackendHTTPSettingsCollection *[]ApplicationGatewayBackendHTTPSettings `json:"backendHttpSettingsCollection,omitempty"` + BackendSettingsCollection *[]ApplicationGatewayBackendSettings `json:"backendSettingsCollection,omitempty"` + CustomErrorConfigurations *[]ApplicationGatewayCustomError `json:"customErrorConfigurations,omitempty"` + DefaultPredefinedSslPolicy *ApplicationGatewaySslPolicyName `json:"defaultPredefinedSslPolicy,omitempty"` + EnableFips *bool `json:"enableFips,omitempty"` + EnableHTTP2 *bool `json:"enableHttp2,omitempty"` + FirewallPolicy *SubResource `json:"firewallPolicy,omitempty"` + ForceFirewallPolicyAssociation *bool `json:"forceFirewallPolicyAssociation,omitempty"` + FrontendIPConfigurations *[]ApplicationGatewayFrontendIPConfiguration `json:"frontendIPConfigurations,omitempty"` + FrontendPorts *[]ApplicationGatewayFrontendPort `json:"frontendPorts,omitempty"` + GatewayIPConfigurations *[]ApplicationGatewayIPConfiguration `json:"gatewayIPConfigurations,omitempty"` + GlobalConfiguration *ApplicationGatewayGlobalConfiguration `json:"globalConfiguration,omitempty"` + HTTPListeners *[]ApplicationGatewayHTTPListener `json:"httpListeners,omitempty"` + Listeners *[]ApplicationGatewayListener `json:"listeners,omitempty"` + LoadDistributionPolicies *[]ApplicationGatewayLoadDistributionPolicy `json:"loadDistributionPolicies,omitempty"` + OperationalState *ApplicationGatewayOperationalState `json:"operationalState,omitempty"` + PrivateEndpointConnections *[]ApplicationGatewayPrivateEndpointConnection `json:"privateEndpointConnections,omitempty"` + PrivateLinkConfigurations *[]ApplicationGatewayPrivateLinkConfiguration `json:"privateLinkConfigurations,omitempty"` + Probes *[]ApplicationGatewayProbe `json:"probes,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + RedirectConfigurations *[]ApplicationGatewayRedirectConfiguration `json:"redirectConfigurations,omitempty"` + RequestRoutingRules *[]ApplicationGatewayRequestRoutingRule `json:"requestRoutingRules,omitempty"` + ResourceGuid *string `json:"resourceGuid,omitempty"` + RewriteRuleSets *[]ApplicationGatewayRewriteRuleSet `json:"rewriteRuleSets,omitempty"` + RoutingRules *[]ApplicationGatewayRoutingRule `json:"routingRules,omitempty"` + Sku *ApplicationGatewaySku `json:"sku,omitempty"` + SslCertificates *[]ApplicationGatewaySslCertificate `json:"sslCertificates,omitempty"` + SslPolicy *ApplicationGatewaySslPolicy `json:"sslPolicy,omitempty"` + SslProfiles *[]ApplicationGatewaySslProfile `json:"sslProfiles,omitempty"` + TrustedClientCertificates *[]ApplicationGatewayTrustedClientCertificate `json:"trustedClientCertificates,omitempty"` + TrustedRootCertificates *[]ApplicationGatewayTrustedRootCertificate `json:"trustedRootCertificates,omitempty"` + UrlPathMaps *[]ApplicationGatewayURLPathMap `json:"urlPathMaps,omitempty"` + WebApplicationFirewallConfiguration *ApplicationGatewayWebApplicationFirewallConfiguration `json:"webApplicationFirewallConfiguration,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayredirectconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayredirectconfiguration.go new file mode 100644 index 000000000000..85eed147eb29 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayredirectconfiguration.go @@ -0,0 +1,12 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayRedirectConfiguration struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *ApplicationGatewayRedirectConfigurationPropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayredirectconfigurationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayredirectconfigurationpropertiesformat.go new file mode 100644 index 000000000000..6103c017cb45 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayredirectconfigurationpropertiesformat.go @@ -0,0 +1,15 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayRedirectConfigurationPropertiesFormat struct { + IncludePath *bool `json:"includePath,omitempty"` + IncludeQueryString *bool `json:"includeQueryString,omitempty"` + PathRules *[]SubResource `json:"pathRules,omitempty"` + RedirectType *ApplicationGatewayRedirectType `json:"redirectType,omitempty"` + RequestRoutingRules *[]SubResource `json:"requestRoutingRules,omitempty"` + TargetListener *SubResource `json:"targetListener,omitempty"` + TargetURL *string `json:"targetUrl,omitempty"` + UrlPathMaps *[]SubResource `json:"urlPathMaps,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayrequestroutingrule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayrequestroutingrule.go new file mode 100644 index 000000000000..9eb6ffe9c4aa --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayrequestroutingrule.go @@ -0,0 +1,12 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayRequestRoutingRule struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *ApplicationGatewayRequestRoutingRulePropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayrequestroutingrulepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayrequestroutingrulepropertiesformat.go new file mode 100644 index 000000000000..53dc9f99474e --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayrequestroutingrulepropertiesformat.go @@ -0,0 +1,17 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayRequestRoutingRulePropertiesFormat struct { + BackendAddressPool *SubResource `json:"backendAddressPool,omitempty"` + BackendHTTPSettings *SubResource `json:"backendHttpSettings,omitempty"` + HTTPListener *SubResource `json:"httpListener,omitempty"` + LoadDistributionPolicy *SubResource `json:"loadDistributionPolicy,omitempty"` + Priority *int64 `json:"priority,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + RedirectConfiguration *SubResource `json:"redirectConfiguration,omitempty"` + RewriteRuleSet *SubResource `json:"rewriteRuleSet,omitempty"` + RuleType *ApplicationGatewayRequestRoutingRuleType `json:"ruleType,omitempty"` + UrlPathMap *SubResource `json:"urlPathMap,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayrewriterule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayrewriterule.go new file mode 100644 index 000000000000..21ce81c5a24d --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayrewriterule.go @@ -0,0 +1,11 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayRewriteRule struct { + ActionSet *ApplicationGatewayRewriteRuleActionSet `json:"actionSet,omitempty"` + Conditions *[]ApplicationGatewayRewriteRuleCondition `json:"conditions,omitempty"` + Name *string `json:"name,omitempty"` + RuleSequence *int64 `json:"ruleSequence,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayrewriteruleactionset.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayrewriteruleactionset.go new file mode 100644 index 000000000000..18cc34e55af8 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayrewriteruleactionset.go @@ -0,0 +1,10 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayRewriteRuleActionSet struct { + RequestHeaderConfigurations *[]ApplicationGatewayHeaderConfiguration `json:"requestHeaderConfigurations,omitempty"` + ResponseHeaderConfigurations *[]ApplicationGatewayHeaderConfiguration `json:"responseHeaderConfigurations,omitempty"` + UrlConfiguration *ApplicationGatewayURLConfiguration `json:"urlConfiguration,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayrewriterulecondition.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayrewriterulecondition.go new file mode 100644 index 000000000000..1e70a94ea801 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayrewriterulecondition.go @@ -0,0 +1,11 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayRewriteRuleCondition struct { + IgnoreCase *bool `json:"ignoreCase,omitempty"` + Negate *bool `json:"negate,omitempty"` + Pattern *string `json:"pattern,omitempty"` + Variable *string `json:"variable,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayrewriteruleset.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayrewriteruleset.go new file mode 100644 index 000000000000..a25c70e4a054 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayrewriteruleset.go @@ -0,0 +1,11 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayRewriteRuleSet struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *ApplicationGatewayRewriteRuleSetPropertiesFormat `json:"properties,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayrewriterulesetpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayrewriterulesetpropertiesformat.go new file mode 100644 index 000000000000..3a1e33742175 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayrewriterulesetpropertiesformat.go @@ -0,0 +1,9 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayRewriteRuleSetPropertiesFormat struct { + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + RewriteRules *[]ApplicationGatewayRewriteRule `json:"rewriteRules,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayroutingrule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayroutingrule.go new file mode 100644 index 000000000000..78053b23a9ca --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayroutingrule.go @@ -0,0 +1,12 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayRoutingRule struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *ApplicationGatewayRoutingRulePropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayroutingrulepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayroutingrulepropertiesformat.go new file mode 100644 index 000000000000..05ed98ab5974 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayroutingrulepropertiesformat.go @@ -0,0 +1,13 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayRoutingRulePropertiesFormat struct { + BackendAddressPool *SubResource `json:"backendAddressPool,omitempty"` + BackendSettings *SubResource `json:"backendSettings,omitempty"` + Listener *SubResource `json:"listener,omitempty"` + Priority int64 `json:"priority"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + RuleType *ApplicationGatewayRequestRoutingRuleType `json:"ruleType,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewaysku.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewaysku.go new file mode 100644 index 000000000000..af2d1c3c1e80 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewaysku.go @@ -0,0 +1,11 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewaySku struct { + Capacity *int64 `json:"capacity,omitempty"` + Family *ApplicationGatewaySkuFamily `json:"family,omitempty"` + Name *ApplicationGatewaySkuName `json:"name,omitempty"` + Tier *ApplicationGatewayTier `json:"tier,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewaysslcertificate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewaysslcertificate.go new file mode 100644 index 000000000000..328f6a90d883 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewaysslcertificate.go @@ -0,0 +1,12 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewaySslCertificate struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *ApplicationGatewaySslCertificatePropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewaysslcertificatepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewaysslcertificatepropertiesformat.go new file mode 100644 index 000000000000..f087bfec9a8d --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewaysslcertificatepropertiesformat.go @@ -0,0 +1,12 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewaySslCertificatePropertiesFormat struct { + Data *string `json:"data,omitempty"` + KeyVaultSecretId *string `json:"keyVaultSecretId,omitempty"` + Password *string `json:"password,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + PublicCertData *string `json:"publicCertData,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewaysslpolicy.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewaysslpolicy.go new file mode 100644 index 000000000000..ae860f1460f4 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewaysslpolicy.go @@ -0,0 +1,12 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewaySslPolicy struct { + CipherSuites *[]ApplicationGatewaySslCipherSuite `json:"cipherSuites,omitempty"` + DisabledSslProtocols *[]ApplicationGatewaySslProtocol `json:"disabledSslProtocols,omitempty"` + MinProtocolVersion *ApplicationGatewaySslProtocol `json:"minProtocolVersion,omitempty"` + PolicyName *ApplicationGatewaySslPolicyName `json:"policyName,omitempty"` + PolicyType *ApplicationGatewaySslPolicyType `json:"policyType,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewaysslprofile.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewaysslprofile.go new file mode 100644 index 000000000000..8c1d0630c2ff --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewaysslprofile.go @@ -0,0 +1,12 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewaySslProfile struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *ApplicationGatewaySslProfilePropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewaysslprofilepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewaysslprofilepropertiesformat.go new file mode 100644 index 000000000000..b89279b0c7f8 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewaysslprofilepropertiesformat.go @@ -0,0 +1,11 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewaySslProfilePropertiesFormat struct { + ClientAuthConfiguration *ApplicationGatewayClientAuthConfiguration `json:"clientAuthConfiguration,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + SslPolicy *ApplicationGatewaySslPolicy `json:"sslPolicy,omitempty"` + TrustedClientCertificates *[]SubResource `json:"trustedClientCertificates,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewaytrustedclientcertificate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewaytrustedclientcertificate.go new file mode 100644 index 000000000000..f2fb2244e71a --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewaytrustedclientcertificate.go @@ -0,0 +1,12 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayTrustedClientCertificate struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *ApplicationGatewayTrustedClientCertificatePropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewaytrustedclientcertificatepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewaytrustedclientcertificatepropertiesformat.go new file mode 100644 index 000000000000..ac7454cb8f4f --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewaytrustedclientcertificatepropertiesformat.go @@ -0,0 +1,11 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayTrustedClientCertificatePropertiesFormat struct { + ClientCertIssuerDN *string `json:"clientCertIssuerDN,omitempty"` + Data *string `json:"data,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + ValidatedCertData *string `json:"validatedCertData,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewaytrustedrootcertificate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewaytrustedrootcertificate.go new file mode 100644 index 000000000000..9deacd55fe89 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewaytrustedrootcertificate.go @@ -0,0 +1,12 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayTrustedRootCertificate struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *ApplicationGatewayTrustedRootCertificatePropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewaytrustedrootcertificatepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewaytrustedrootcertificatepropertiesformat.go new file mode 100644 index 000000000000..f79bf663f765 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewaytrustedrootcertificatepropertiesformat.go @@ -0,0 +1,10 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayTrustedRootCertificatePropertiesFormat struct { + Data *string `json:"data,omitempty"` + KeyVaultSecretId *string `json:"keyVaultSecretId,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayurlconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayurlconfiguration.go new file mode 100644 index 000000000000..c6de0fdbc1bb --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayurlconfiguration.go @@ -0,0 +1,10 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayURLConfiguration struct { + ModifiedPath *string `json:"modifiedPath,omitempty"` + ModifiedQueryString *string `json:"modifiedQueryString,omitempty"` + Reroute *bool `json:"reroute,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayurlpathmap.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayurlpathmap.go new file mode 100644 index 000000000000..96a3dc6d985c --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayurlpathmap.go @@ -0,0 +1,12 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayURLPathMap struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *ApplicationGatewayURLPathMapPropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayurlpathmappropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayurlpathmappropertiesformat.go new file mode 100644 index 000000000000..e02847a3fd97 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewayurlpathmappropertiesformat.go @@ -0,0 +1,14 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayURLPathMapPropertiesFormat struct { + DefaultBackendAddressPool *SubResource `json:"defaultBackendAddressPool,omitempty"` + DefaultBackendHTTPSettings *SubResource `json:"defaultBackendHttpSettings,omitempty"` + DefaultLoadDistributionPolicy *SubResource `json:"defaultLoadDistributionPolicy,omitempty"` + DefaultRedirectConfiguration *SubResource `json:"defaultRedirectConfiguration,omitempty"` + DefaultRewriteRuleSet *SubResource `json:"defaultRewriteRuleSet,omitempty"` + PathRules *[]ApplicationGatewayPathRule `json:"pathRules,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewaywebapplicationfirewallconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewaywebapplicationfirewallconfiguration.go new file mode 100644 index 000000000000..0ccb185da05d --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationgatewaywebapplicationfirewallconfiguration.go @@ -0,0 +1,17 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationGatewayWebApplicationFirewallConfiguration struct { + DisabledRuleGroups *[]ApplicationGatewayFirewallDisabledRuleGroup `json:"disabledRuleGroups,omitempty"` + Enabled bool `json:"enabled"` + Exclusions *[]ApplicationGatewayFirewallExclusion `json:"exclusions,omitempty"` + FileUploadLimitInMb *int64 `json:"fileUploadLimitInMb,omitempty"` + FirewallMode ApplicationGatewayFirewallMode `json:"firewallMode"` + MaxRequestBodySize *int64 `json:"maxRequestBodySize,omitempty"` + MaxRequestBodySizeInKb *int64 `json:"maxRequestBodySizeInKb,omitempty"` + RequestBodyCheck *bool `json:"requestBodyCheck,omitempty"` + RuleSetType string `json:"ruleSetType"` + RuleSetVersion string `json:"ruleSetVersion"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationsecuritygroup.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationsecuritygroup.go new file mode 100644 index 000000000000..8dccd748428d --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationsecuritygroup.go @@ -0,0 +1,14 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationSecurityGroup struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Location *string `json:"location,omitempty"` + Name *string `json:"name,omitempty"` + Properties *ApplicationSecurityGroupPropertiesFormat `json:"properties,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationsecuritygrouppropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationsecuritygrouppropertiesformat.go new file mode 100644 index 000000000000..2713b23e0a59 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_applicationsecuritygrouppropertiesformat.go @@ -0,0 +1,9 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ApplicationSecurityGroupPropertiesFormat struct { + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + ResourceGuid *string `json:"resourceGuid,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_backendaddresspool.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_backendaddresspool.go new file mode 100644 index 000000000000..a5f3d1e0367d --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_backendaddresspool.go @@ -0,0 +1,12 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type BackendAddressPool struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *BackendAddressPoolPropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_backendaddresspoolpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_backendaddresspoolpropertiesformat.go new file mode 100644 index 000000000000..ddf54b501167 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_backendaddresspoolpropertiesformat.go @@ -0,0 +1,19 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type BackendAddressPoolPropertiesFormat struct { + BackendIPConfigurations *[]NetworkInterfaceIPConfiguration `json:"backendIPConfigurations,omitempty"` + DrainPeriodInSeconds *int64 `json:"drainPeriodInSeconds,omitempty"` + InboundNatRules *[]SubResource `json:"inboundNatRules,omitempty"` + LoadBalancerBackendAddresses *[]LoadBalancerBackendAddress `json:"loadBalancerBackendAddresses,omitempty"` + LoadBalancingRules *[]SubResource `json:"loadBalancingRules,omitempty"` + Location *string `json:"location,omitempty"` + OutboundRule *SubResource `json:"outboundRule,omitempty"` + OutboundRules *[]SubResource `json:"outboundRules,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + SyncMode *SyncMode `json:"syncMode,omitempty"` + TunnelInterfaces *[]GatewayLoadBalancerTunnelInterface `json:"tunnelInterfaces,omitempty"` + VirtualNetwork *SubResource `json:"virtualNetwork,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_customdnsconfigpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_customdnsconfigpropertiesformat.go new file mode 100644 index 000000000000..e9022fbeb4fc --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_customdnsconfigpropertiesformat.go @@ -0,0 +1,9 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type CustomDnsConfigPropertiesFormat struct { + Fqdn *string `json:"fqdn,omitempty"` + IPAddresses *[]string `json:"ipAddresses,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_ddossettings.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_ddossettings.go new file mode 100644 index 000000000000..4f7e1e207642 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_ddossettings.go @@ -0,0 +1,9 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type DdosSettings struct { + DdosProtectionPlan *SubResource `json:"ddosProtectionPlan,omitempty"` + ProtectionMode *DdosSettingsProtectionMode `json:"protectionMode,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_delegation.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_delegation.go new file mode 100644 index 000000000000..9a088e2a5077 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_delegation.go @@ -0,0 +1,12 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type Delegation struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *ServiceDelegationPropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_exceptionentry.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_exceptionentry.go new file mode 100644 index 000000000000..32ca8f8fa0a3 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_exceptionentry.go @@ -0,0 +1,13 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ExceptionEntry struct { + ExceptionManagedRuleSets *[]ExclusionManagedRuleSet `json:"exceptionManagedRuleSets,omitempty"` + MatchVariable ExceptionEntryMatchVariable `json:"matchVariable"` + Selector *string `json:"selector,omitempty"` + SelectorMatchOperator *ExceptionEntrySelectorMatchOperator `json:"selectorMatchOperator,omitempty"` + ValueMatchOperator ExceptionEntryValueMatchOperator `json:"valueMatchOperator"` + Values *[]string `json:"values,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_exclusionmanagedrule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_exclusionmanagedrule.go new file mode 100644 index 000000000000..ffa39b22711a --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_exclusionmanagedrule.go @@ -0,0 +1,8 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ExclusionManagedRule struct { + RuleId string `json:"ruleId"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_exclusionmanagedrulegroup.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_exclusionmanagedrulegroup.go new file mode 100644 index 000000000000..29d30ef6bc1f --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_exclusionmanagedrulegroup.go @@ -0,0 +1,9 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ExclusionManagedRuleGroup struct { + RuleGroupName string `json:"ruleGroupName"` + Rules *[]ExclusionManagedRule `json:"rules,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_exclusionmanagedruleset.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_exclusionmanagedruleset.go new file mode 100644 index 000000000000..cb569797cecb --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_exclusionmanagedruleset.go @@ -0,0 +1,10 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ExclusionManagedRuleSet struct { + RuleGroups *[]ExclusionManagedRuleGroup `json:"ruleGroups,omitempty"` + RuleSetType string `json:"ruleSetType"` + RuleSetVersion string `json:"ruleSetVersion"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_flowlog.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_flowlog.go new file mode 100644 index 000000000000..e1c8c7963630 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_flowlog.go @@ -0,0 +1,19 @@ +package webapplicationfirewallpolicies + +import ( + "github.com/hashicorp/go-azure-helpers/resourcemanager/identity" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type FlowLog struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Identity *identity.SystemAndUserAssignedMap `json:"identity,omitempty"` + Location *string `json:"location,omitempty"` + Name *string `json:"name,omitempty"` + Properties *FlowLogPropertiesFormat `json:"properties,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_flowlogformatparameters.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_flowlogformatparameters.go new file mode 100644 index 000000000000..8e97873a7c39 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_flowlogformatparameters.go @@ -0,0 +1,9 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type FlowLogFormatParameters struct { + Type *FlowLogFormatType `json:"type,omitempty"` + Version *int64 `json:"version,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_flowlogpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_flowlogpropertiesformat.go new file mode 100644 index 000000000000..7afcaba37f95 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_flowlogpropertiesformat.go @@ -0,0 +1,16 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type FlowLogPropertiesFormat struct { + Enabled *bool `json:"enabled,omitempty"` + EnabledFilteringCriteria *string `json:"enabledFilteringCriteria,omitempty"` + FlowAnalyticsConfiguration *TrafficAnalyticsProperties `json:"flowAnalyticsConfiguration,omitempty"` + Format *FlowLogFormatParameters `json:"format,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + RetentionPolicy *RetentionPolicyParameters `json:"retentionPolicy,omitempty"` + StorageId string `json:"storageId"` + TargetResourceGuid *string `json:"targetResourceGuid,omitempty"` + TargetResourceId string `json:"targetResourceId"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_frontendipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_frontendipconfiguration.go new file mode 100644 index 000000000000..717217cc3a20 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_frontendipconfiguration.go @@ -0,0 +1,17 @@ +package webapplicationfirewallpolicies + +import ( + "github.com/hashicorp/go-azure-helpers/resourcemanager/zones" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type FrontendIPConfiguration struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *FrontendIPConfigurationPropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` + Zones *zones.Schema `json:"zones,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_frontendipconfigurationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_frontendipconfigurationpropertiesformat.go new file mode 100644 index 000000000000..4f11b119df9f --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_frontendipconfigurationpropertiesformat.go @@ -0,0 +1,19 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type FrontendIPConfigurationPropertiesFormat struct { + GatewayLoadBalancer *SubResource `json:"gatewayLoadBalancer,omitempty"` + InboundNatPools *[]SubResource `json:"inboundNatPools,omitempty"` + InboundNatRules *[]SubResource `json:"inboundNatRules,omitempty"` + LoadBalancingRules *[]SubResource `json:"loadBalancingRules,omitempty"` + OutboundRules *[]SubResource `json:"outboundRules,omitempty"` + PrivateIPAddress *string `json:"privateIPAddress,omitempty"` + PrivateIPAddressVersion *IPVersion `json:"privateIPAddressVersion,omitempty"` + PrivateIPAllocationMethod *IPAllocationMethod `json:"privateIPAllocationMethod,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + PublicIPAddress *PublicIPAddress `json:"publicIPAddress,omitempty"` + PublicIPPrefix *SubResource `json:"publicIPPrefix,omitempty"` + Subnet *Subnet `json:"subnet,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_gatewayloadbalancertunnelinterface.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_gatewayloadbalancertunnelinterface.go new file mode 100644 index 000000000000..698c1c6a1b4f --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_gatewayloadbalancertunnelinterface.go @@ -0,0 +1,11 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type GatewayLoadBalancerTunnelInterface struct { + Identifier *int64 `json:"identifier,omitempty"` + Port *int64 `json:"port,omitempty"` + Protocol *GatewayLoadBalancerTunnelProtocol `json:"protocol,omitempty"` + Type *GatewayLoadBalancerTunnelInterfaceType `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_groupbyusersession.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_groupbyusersession.go new file mode 100644 index 000000000000..5995831381a8 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_groupbyusersession.go @@ -0,0 +1,8 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type GroupByUserSession struct { + GroupByVariables []GroupByVariable `json:"groupByVariables"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_groupbyvariable.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_groupbyvariable.go new file mode 100644 index 000000000000..132602a87584 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_groupbyvariable.go @@ -0,0 +1,8 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type GroupByVariable struct { + VariableName ApplicationGatewayFirewallUserSessionVariable `json:"variableName"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_headervaluematcher.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_headervaluematcher.go new file mode 100644 index 000000000000..d88a3a6eea0b --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_headervaluematcher.go @@ -0,0 +1,10 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type HeaderValueMatcher struct { + IgnoreCase *bool `json:"ignoreCase,omitempty"` + Negate *bool `json:"negate,omitempty"` + Pattern *string `json:"pattern,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_inboundnatrule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_inboundnatrule.go new file mode 100644 index 000000000000..f9908a651353 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_inboundnatrule.go @@ -0,0 +1,12 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type InboundNatRule struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *InboundNatRulePropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_inboundnatrulepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_inboundnatrulepropertiesformat.go new file mode 100644 index 000000000000..2ed26d6a6d00 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_inboundnatrulepropertiesformat.go @@ -0,0 +1,19 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type InboundNatRulePropertiesFormat struct { + BackendAddressPool *SubResource `json:"backendAddressPool,omitempty"` + BackendIPConfiguration *NetworkInterfaceIPConfiguration `json:"backendIPConfiguration,omitempty"` + BackendPort *int64 `json:"backendPort,omitempty"` + EnableFloatingIP *bool `json:"enableFloatingIP,omitempty"` + EnableTcpReset *bool `json:"enableTcpReset,omitempty"` + FrontendIPConfiguration *SubResource `json:"frontendIPConfiguration,omitempty"` + FrontendPort *int64 `json:"frontendPort,omitempty"` + FrontendPortRangeEnd *int64 `json:"frontendPortRangeEnd,omitempty"` + FrontendPortRangeStart *int64 `json:"frontendPortRangeStart,omitempty"` + IdleTimeoutInMinutes *int64 `json:"idleTimeoutInMinutes,omitempty"` + Protocol *TransportProtocol `json:"protocol,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_ipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_ipconfiguration.go new file mode 100644 index 000000000000..ee1ee9f9ce37 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_ipconfiguration.go @@ -0,0 +1,11 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type IPConfiguration struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *IPConfigurationPropertiesFormat `json:"properties,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_ipconfigurationprofile.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_ipconfigurationprofile.go new file mode 100644 index 000000000000..4467a2511820 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_ipconfigurationprofile.go @@ -0,0 +1,12 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type IPConfigurationProfile struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *IPConfigurationProfilePropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_ipconfigurationprofilepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_ipconfigurationprofilepropertiesformat.go new file mode 100644 index 000000000000..4746cb9a9219 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_ipconfigurationprofilepropertiesformat.go @@ -0,0 +1,9 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type IPConfigurationProfilePropertiesFormat struct { + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + Subnet *Subnet `json:"subnet,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_ipconfigurationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_ipconfigurationpropertiesformat.go new file mode 100644 index 000000000000..6455af984dfc --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_ipconfigurationpropertiesformat.go @@ -0,0 +1,12 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type IPConfigurationPropertiesFormat struct { + PrivateIPAddress *string `json:"privateIPAddress,omitempty"` + PrivateIPAllocationMethod *IPAllocationMethod `json:"privateIPAllocationMethod,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + PublicIPAddress *PublicIPAddress `json:"publicIPAddress,omitempty"` + Subnet *Subnet `json:"subnet,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_iptag.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_iptag.go new file mode 100644 index 000000000000..da603122799b --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_iptag.go @@ -0,0 +1,9 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type IPTag struct { + IPTagType *string `json:"ipTagType,omitempty"` + Tag *string `json:"tag,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_loadbalancerbackendaddress.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_loadbalancerbackendaddress.go new file mode 100644 index 000000000000..07977c08269a --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_loadbalancerbackendaddress.go @@ -0,0 +1,9 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type LoadBalancerBackendAddress struct { + Name *string `json:"name,omitempty"` + Properties *LoadBalancerBackendAddressPropertiesFormat `json:"properties,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_loadbalancerbackendaddresspropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_loadbalancerbackendaddresspropertiesformat.go new file mode 100644 index 000000000000..ca60fdf87350 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_loadbalancerbackendaddresspropertiesformat.go @@ -0,0 +1,14 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type LoadBalancerBackendAddressPropertiesFormat struct { + AdminState *LoadBalancerBackendAddressAdminState `json:"adminState,omitempty"` + IPAddress *string `json:"ipAddress,omitempty"` + InboundNatRulesPortMapping *[]NatRulePortMapping `json:"inboundNatRulesPortMapping,omitempty"` + LoadBalancerFrontendIPConfiguration *SubResource `json:"loadBalancerFrontendIPConfiguration,omitempty"` + NetworkInterfaceIPConfiguration *SubResource `json:"networkInterfaceIPConfiguration,omitempty"` + Subnet *SubResource `json:"subnet,omitempty"` + VirtualNetwork *SubResource `json:"virtualNetwork,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_managedrulegroupoverride.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_managedrulegroupoverride.go new file mode 100644 index 000000000000..2810e8e0e4d2 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_managedrulegroupoverride.go @@ -0,0 +1,9 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ManagedRuleGroupOverride struct { + RuleGroupName string `json:"ruleGroupName"` + Rules *[]ManagedRuleOverride `json:"rules,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_managedruleoverride.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_managedruleoverride.go new file mode 100644 index 000000000000..6e7f1e811536 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_managedruleoverride.go @@ -0,0 +1,11 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ManagedRuleOverride struct { + Action *ActionType `json:"action,omitempty"` + RuleId string `json:"ruleId"` + Sensitivity *SensitivityType `json:"sensitivity,omitempty"` + State *ManagedRuleEnabledState `json:"state,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_managedrulesdefinition.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_managedrulesdefinition.go new file mode 100644 index 000000000000..a975ea21235b --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_managedrulesdefinition.go @@ -0,0 +1,10 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ManagedRulesDefinition struct { + Exceptions *[]ExceptionEntry `json:"exceptions,omitempty"` + Exclusions *[]OwaspCrsExclusionEntry `json:"exclusions,omitempty"` + ManagedRuleSets []ManagedRuleSet `json:"managedRuleSets"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_managedruleset.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_managedruleset.go new file mode 100644 index 000000000000..2bbf971c7928 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_managedruleset.go @@ -0,0 +1,10 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ManagedRuleSet struct { + RuleGroupOverrides *[]ManagedRuleGroupOverride `json:"ruleGroupOverrides,omitempty"` + RuleSetType string `json:"ruleSetType"` + RuleSetVersion string `json:"ruleSetVersion"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_matchcondition.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_matchcondition.go new file mode 100644 index 000000000000..c8d3e722c759 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_matchcondition.go @@ -0,0 +1,12 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type MatchCondition struct { + MatchValues []string `json:"matchValues"` + MatchVariables []MatchVariable `json:"matchVariables"` + NegationConditon *bool `json:"negationConditon,omitempty"` + Operator WebApplicationFirewallOperator `json:"operator"` + Transforms *[]WebApplicationFirewallTransform `json:"transforms,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_matchvariable.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_matchvariable.go new file mode 100644 index 000000000000..bd0473317b2d --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_matchvariable.go @@ -0,0 +1,9 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type MatchVariable struct { + Selector *string `json:"selector,omitempty"` + VariableName WebApplicationFirewallMatchVariable `json:"variableName"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_natgateway.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_natgateway.go new file mode 100644 index 000000000000..4a594a57232e --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_natgateway.go @@ -0,0 +1,20 @@ +package webapplicationfirewallpolicies + +import ( + "github.com/hashicorp/go-azure-helpers/resourcemanager/zones" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NatGateway struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Location *string `json:"location,omitempty"` + Name *string `json:"name,omitempty"` + Properties *NatGatewayPropertiesFormat `json:"properties,omitempty"` + Sku *NatGatewaySku `json:"sku,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` + Zones *zones.Schema `json:"zones,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_natgatewaypropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_natgatewaypropertiesformat.go new file mode 100644 index 000000000000..30e0ed98075d --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_natgatewaypropertiesformat.go @@ -0,0 +1,13 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NatGatewayPropertiesFormat struct { + IdleTimeoutInMinutes *int64 `json:"idleTimeoutInMinutes,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + PublicIPAddresses *[]SubResource `json:"publicIpAddresses,omitempty"` + PublicIPPrefixes *[]SubResource `json:"publicIpPrefixes,omitempty"` + ResourceGuid *string `json:"resourceGuid,omitempty"` + Subnets *[]SubResource `json:"subnets,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_natgatewaysku.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_natgatewaysku.go new file mode 100644 index 000000000000..01f9595dd478 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_natgatewaysku.go @@ -0,0 +1,8 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NatGatewaySku struct { + Name *NatGatewaySkuName `json:"name,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_natruleportmapping.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_natruleportmapping.go new file mode 100644 index 000000000000..636fb66e30f9 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_natruleportmapping.go @@ -0,0 +1,10 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NatRulePortMapping struct { + BackendPort *int64 `json:"backendPort,omitempty"` + FrontendPort *int64 `json:"frontendPort,omitempty"` + InboundNatRuleName *string `json:"inboundNatRuleName,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_networkinterface.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_networkinterface.go new file mode 100644 index 000000000000..5f43f78eff13 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_networkinterface.go @@ -0,0 +1,19 @@ +package webapplicationfirewallpolicies + +import ( + "github.com/hashicorp/go-azure-helpers/resourcemanager/edgezones" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NetworkInterface struct { + Etag *string `json:"etag,omitempty"` + ExtendedLocation *edgezones.Model `json:"extendedLocation,omitempty"` + Id *string `json:"id,omitempty"` + Location *string `json:"location,omitempty"` + Name *string `json:"name,omitempty"` + Properties *NetworkInterfacePropertiesFormat `json:"properties,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_networkinterfacednssettings.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_networkinterfacednssettings.go new file mode 100644 index 000000000000..2d9f1326e9a2 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_networkinterfacednssettings.go @@ -0,0 +1,12 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NetworkInterfaceDnsSettings struct { + AppliedDnsServers *[]string `json:"appliedDnsServers,omitempty"` + DnsServers *[]string `json:"dnsServers,omitempty"` + InternalDnsNameLabel *string `json:"internalDnsNameLabel,omitempty"` + InternalDomainNameSuffix *string `json:"internalDomainNameSuffix,omitempty"` + InternalFqdn *string `json:"internalFqdn,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_networkinterfaceipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_networkinterfaceipconfiguration.go new file mode 100644 index 000000000000..80650073a43c --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_networkinterfaceipconfiguration.go @@ -0,0 +1,12 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NetworkInterfaceIPConfiguration struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *NetworkInterfaceIPConfigurationPropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_networkinterfaceipconfigurationprivatelinkconnectionproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_networkinterfaceipconfigurationprivatelinkconnectionproperties.go new file mode 100644 index 000000000000..ed9c49c6aa36 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_networkinterfaceipconfigurationprivatelinkconnectionproperties.go @@ -0,0 +1,10 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties struct { + Fqdns *[]string `json:"fqdns,omitempty"` + GroupId *string `json:"groupId,omitempty"` + RequiredMemberName *string `json:"requiredMemberName,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_networkinterfaceipconfigurationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_networkinterfaceipconfigurationpropertiesformat.go new file mode 100644 index 000000000000..db24b56da389 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_networkinterfaceipconfigurationpropertiesformat.go @@ -0,0 +1,22 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NetworkInterfaceIPConfigurationPropertiesFormat struct { + ApplicationGatewayBackendAddressPools *[]ApplicationGatewayBackendAddressPool `json:"applicationGatewayBackendAddressPools,omitempty"` + ApplicationSecurityGroups *[]ApplicationSecurityGroup `json:"applicationSecurityGroups,omitempty"` + GatewayLoadBalancer *SubResource `json:"gatewayLoadBalancer,omitempty"` + LoadBalancerBackendAddressPools *[]BackendAddressPool `json:"loadBalancerBackendAddressPools,omitempty"` + LoadBalancerInboundNatRules *[]InboundNatRule `json:"loadBalancerInboundNatRules,omitempty"` + Primary *bool `json:"primary,omitempty"` + PrivateIPAddress *string `json:"privateIPAddress,omitempty"` + PrivateIPAddressPrefixLength *int64 `json:"privateIPAddressPrefixLength,omitempty"` + PrivateIPAddressVersion *IPVersion `json:"privateIPAddressVersion,omitempty"` + PrivateIPAllocationMethod *IPAllocationMethod `json:"privateIPAllocationMethod,omitempty"` + PrivateLinkConnectionProperties *NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties `json:"privateLinkConnectionProperties,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + PublicIPAddress *PublicIPAddress `json:"publicIPAddress,omitempty"` + Subnet *Subnet `json:"subnet,omitempty"` + VirtualNetworkTaps *[]VirtualNetworkTap `json:"virtualNetworkTaps,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_networkinterfacepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_networkinterfacepropertiesformat.go new file mode 100644 index 000000000000..e24f37ad4e47 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_networkinterfacepropertiesformat.go @@ -0,0 +1,29 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NetworkInterfacePropertiesFormat struct { + AuxiliaryMode *NetworkInterfaceAuxiliaryMode `json:"auxiliaryMode,omitempty"` + AuxiliarySku *NetworkInterfaceAuxiliarySku `json:"auxiliarySku,omitempty"` + DisableTcpStateTracking *bool `json:"disableTcpStateTracking,omitempty"` + DnsSettings *NetworkInterfaceDnsSettings `json:"dnsSettings,omitempty"` + DscpConfiguration *SubResource `json:"dscpConfiguration,omitempty"` + EnableAcceleratedNetworking *bool `json:"enableAcceleratedNetworking,omitempty"` + EnableIPForwarding *bool `json:"enableIPForwarding,omitempty"` + HostedWorkloads *[]string `json:"hostedWorkloads,omitempty"` + IPConfigurations *[]NetworkInterfaceIPConfiguration `json:"ipConfigurations,omitempty"` + MacAddress *string `json:"macAddress,omitempty"` + MigrationPhase *NetworkInterfaceMigrationPhase `json:"migrationPhase,omitempty"` + NetworkSecurityGroup *NetworkSecurityGroup `json:"networkSecurityGroup,omitempty"` + NicType *NetworkInterfaceNicType `json:"nicType,omitempty"` + Primary *bool `json:"primary,omitempty"` + PrivateEndpoint *PrivateEndpoint `json:"privateEndpoint,omitempty"` + PrivateLinkService *PrivateLinkService `json:"privateLinkService,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + ResourceGuid *string `json:"resourceGuid,omitempty"` + TapConfigurations *[]NetworkInterfaceTapConfiguration `json:"tapConfigurations,omitempty"` + VirtualMachine *SubResource `json:"virtualMachine,omitempty"` + VnetEncryptionSupported *bool `json:"vnetEncryptionSupported,omitempty"` + WorkloadType *string `json:"workloadType,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_networkinterfacetapconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_networkinterfacetapconfiguration.go new file mode 100644 index 000000000000..559fab4512db --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_networkinterfacetapconfiguration.go @@ -0,0 +1,12 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NetworkInterfaceTapConfiguration struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *NetworkInterfaceTapConfigurationPropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_networkinterfacetapconfigurationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_networkinterfacetapconfigurationpropertiesformat.go new file mode 100644 index 000000000000..d28ce56ff993 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_networkinterfacetapconfigurationpropertiesformat.go @@ -0,0 +1,9 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NetworkInterfaceTapConfigurationPropertiesFormat struct { + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + VirtualNetworkTap *VirtualNetworkTap `json:"virtualNetworkTap,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_networksecuritygroup.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_networksecuritygroup.go new file mode 100644 index 000000000000..7edb20a30ebf --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_networksecuritygroup.go @@ -0,0 +1,14 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NetworkSecurityGroup struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Location *string `json:"location,omitempty"` + Name *string `json:"name,omitempty"` + Properties *NetworkSecurityGroupPropertiesFormat `json:"properties,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_networksecuritygrouppropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_networksecuritygrouppropertiesformat.go new file mode 100644 index 000000000000..63dfb0a37534 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_networksecuritygrouppropertiesformat.go @@ -0,0 +1,15 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NetworkSecurityGroupPropertiesFormat struct { + DefaultSecurityRules *[]SecurityRule `json:"defaultSecurityRules,omitempty"` + FlowLogs *[]FlowLog `json:"flowLogs,omitempty"` + FlushConnection *bool `json:"flushConnection,omitempty"` + NetworkInterfaces *[]NetworkInterface `json:"networkInterfaces,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + ResourceGuid *string `json:"resourceGuid,omitempty"` + SecurityRules *[]SecurityRule `json:"securityRules,omitempty"` + Subnets *[]Subnet `json:"subnets,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_owaspcrsexclusionentry.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_owaspcrsexclusionentry.go new file mode 100644 index 000000000000..447c5ce3185e --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_owaspcrsexclusionentry.go @@ -0,0 +1,11 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type OwaspCrsExclusionEntry struct { + ExclusionManagedRuleSets *[]ExclusionManagedRuleSet `json:"exclusionManagedRuleSets,omitempty"` + MatchVariable OwaspCrsExclusionEntryMatchVariable `json:"matchVariable"` + Selector string `json:"selector"` + SelectorMatchOperator OwaspCrsExclusionEntrySelectorMatchOperator `json:"selectorMatchOperator"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_policysettings.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_policysettings.go new file mode 100644 index 000000000000..a87e7c07bffc --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_policysettings.go @@ -0,0 +1,19 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PolicySettings struct { + CustomBlockResponseBody *string `json:"customBlockResponseBody,omitempty"` + CustomBlockResponseStatusCode *int64 `json:"customBlockResponseStatusCode,omitempty"` + FileUploadEnforcement *bool `json:"fileUploadEnforcement,omitempty"` + FileUploadLimitInMb *int64 `json:"fileUploadLimitInMb,omitempty"` + JsChallengeCookieExpirationInMins *int64 `json:"jsChallengeCookieExpirationInMins,omitempty"` + LogScrubbing *PolicySettingsLogScrubbing `json:"logScrubbing,omitempty"` + MaxRequestBodySizeInKb *int64 `json:"maxRequestBodySizeInKb,omitempty"` + Mode *WebApplicationFirewallMode `json:"mode,omitempty"` + RequestBodyCheck *bool `json:"requestBodyCheck,omitempty"` + RequestBodyEnforcement *bool `json:"requestBodyEnforcement,omitempty"` + RequestBodyInspectLimitInKB *int64 `json:"requestBodyInspectLimitInKB,omitempty"` + State *WebApplicationFirewallEnabledState `json:"state,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_policysettingslogscrubbing.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_policysettingslogscrubbing.go new file mode 100644 index 000000000000..a97418be8671 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_policysettingslogscrubbing.go @@ -0,0 +1,9 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PolicySettingsLogScrubbing struct { + ScrubbingRules *[]WebApplicationFirewallScrubbingRules `json:"scrubbingRules,omitempty"` + State *WebApplicationFirewallScrubbingState `json:"state,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_privateendpoint.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_privateendpoint.go new file mode 100644 index 000000000000..aabcb4ef3843 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_privateendpoint.go @@ -0,0 +1,19 @@ +package webapplicationfirewallpolicies + +import ( + "github.com/hashicorp/go-azure-helpers/resourcemanager/edgezones" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PrivateEndpoint struct { + Etag *string `json:"etag,omitempty"` + ExtendedLocation *edgezones.Model `json:"extendedLocation,omitempty"` + Id *string `json:"id,omitempty"` + Location *string `json:"location,omitempty"` + Name *string `json:"name,omitempty"` + Properties *PrivateEndpointProperties `json:"properties,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_privateendpointconnection.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_privateendpointconnection.go new file mode 100644 index 000000000000..c66bc0045c73 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_privateendpointconnection.go @@ -0,0 +1,12 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PrivateEndpointConnection struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *PrivateEndpointConnectionProperties `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_privateendpointconnectionproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_privateendpointconnectionproperties.go new file mode 100644 index 000000000000..dbd38c8e4ca5 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_privateendpointconnectionproperties.go @@ -0,0 +1,12 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PrivateEndpointConnectionProperties struct { + LinkIdentifier *string `json:"linkIdentifier,omitempty"` + PrivateEndpoint *PrivateEndpoint `json:"privateEndpoint,omitempty"` + PrivateEndpointLocation *string `json:"privateEndpointLocation,omitempty"` + PrivateLinkServiceConnectionState *PrivateLinkServiceConnectionState `json:"privateLinkServiceConnectionState,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_privateendpointipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_privateendpointipconfiguration.go new file mode 100644 index 000000000000..86f24c803d30 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_privateendpointipconfiguration.go @@ -0,0 +1,11 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PrivateEndpointIPConfiguration struct { + Etag *string `json:"etag,omitempty"` + Name *string `json:"name,omitempty"` + Properties *PrivateEndpointIPConfigurationProperties `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_privateendpointipconfigurationproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_privateendpointipconfigurationproperties.go new file mode 100644 index 000000000000..f40d8cf2be4f --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_privateendpointipconfigurationproperties.go @@ -0,0 +1,10 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PrivateEndpointIPConfigurationProperties struct { + GroupId *string `json:"groupId,omitempty"` + MemberName *string `json:"memberName,omitempty"` + PrivateIPAddress *string `json:"privateIPAddress,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_privateendpointproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_privateendpointproperties.go new file mode 100644 index 000000000000..93cab138813a --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_privateendpointproperties.go @@ -0,0 +1,16 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PrivateEndpointProperties struct { + ApplicationSecurityGroups *[]ApplicationSecurityGroup `json:"applicationSecurityGroups,omitempty"` + CustomDnsConfigs *[]CustomDnsConfigPropertiesFormat `json:"customDnsConfigs,omitempty"` + CustomNetworkInterfaceName *string `json:"customNetworkInterfaceName,omitempty"` + IPConfigurations *[]PrivateEndpointIPConfiguration `json:"ipConfigurations,omitempty"` + ManualPrivateLinkServiceConnections *[]PrivateLinkServiceConnection `json:"manualPrivateLinkServiceConnections,omitempty"` + NetworkInterfaces *[]NetworkInterface `json:"networkInterfaces,omitempty"` + PrivateLinkServiceConnections *[]PrivateLinkServiceConnection `json:"privateLinkServiceConnections,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + Subnet *Subnet `json:"subnet,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_privatelinkservice.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_privatelinkservice.go new file mode 100644 index 000000000000..8b8ffdc399ee --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_privatelinkservice.go @@ -0,0 +1,19 @@ +package webapplicationfirewallpolicies + +import ( + "github.com/hashicorp/go-azure-helpers/resourcemanager/edgezones" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PrivateLinkService struct { + Etag *string `json:"etag,omitempty"` + ExtendedLocation *edgezones.Model `json:"extendedLocation,omitempty"` + Id *string `json:"id,omitempty"` + Location *string `json:"location,omitempty"` + Name *string `json:"name,omitempty"` + Properties *PrivateLinkServiceProperties `json:"properties,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_privatelinkserviceconnection.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_privatelinkserviceconnection.go new file mode 100644 index 000000000000..ac293dace51d --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_privatelinkserviceconnection.go @@ -0,0 +1,12 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PrivateLinkServiceConnection struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *PrivateLinkServiceConnectionProperties `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_privatelinkserviceconnectionproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_privatelinkserviceconnectionproperties.go new file mode 100644 index 000000000000..164ef869982f --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_privatelinkserviceconnectionproperties.go @@ -0,0 +1,12 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PrivateLinkServiceConnectionProperties struct { + GroupIds *[]string `json:"groupIds,omitempty"` + PrivateLinkServiceConnectionState *PrivateLinkServiceConnectionState `json:"privateLinkServiceConnectionState,omitempty"` + PrivateLinkServiceId *string `json:"privateLinkServiceId,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + RequestMessage *string `json:"requestMessage,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_privatelinkserviceconnectionstate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_privatelinkserviceconnectionstate.go new file mode 100644 index 000000000000..3ea66cb99406 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_privatelinkserviceconnectionstate.go @@ -0,0 +1,10 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PrivateLinkServiceConnectionState struct { + ActionsRequired *string `json:"actionsRequired,omitempty"` + Description *string `json:"description,omitempty"` + Status *string `json:"status,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_privatelinkserviceipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_privatelinkserviceipconfiguration.go new file mode 100644 index 000000000000..7d17f4661925 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_privatelinkserviceipconfiguration.go @@ -0,0 +1,12 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PrivateLinkServiceIPConfiguration struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *PrivateLinkServiceIPConfigurationProperties `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_privatelinkserviceipconfigurationproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_privatelinkserviceipconfigurationproperties.go new file mode 100644 index 000000000000..814df952c033 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_privatelinkserviceipconfigurationproperties.go @@ -0,0 +1,13 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PrivateLinkServiceIPConfigurationProperties struct { + Primary *bool `json:"primary,omitempty"` + PrivateIPAddress *string `json:"privateIPAddress,omitempty"` + PrivateIPAddressVersion *IPVersion `json:"privateIPAddressVersion,omitempty"` + PrivateIPAllocationMethod *IPAllocationMethod `json:"privateIPAllocationMethod,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + Subnet *Subnet `json:"subnet,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_privatelinkserviceproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_privatelinkserviceproperties.go new file mode 100644 index 000000000000..139f2159ef21 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_privatelinkserviceproperties.go @@ -0,0 +1,18 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PrivateLinkServiceProperties struct { + Alias *string `json:"alias,omitempty"` + AutoApproval *ResourceSet `json:"autoApproval,omitempty"` + DestinationIPAddress *string `json:"destinationIPAddress,omitempty"` + EnableProxyProtocol *bool `json:"enableProxyProtocol,omitempty"` + Fqdns *[]string `json:"fqdns,omitempty"` + IPConfigurations *[]PrivateLinkServiceIPConfiguration `json:"ipConfigurations,omitempty"` + LoadBalancerFrontendIPConfigurations *[]FrontendIPConfiguration `json:"loadBalancerFrontendIpConfigurations,omitempty"` + NetworkInterfaces *[]NetworkInterface `json:"networkInterfaces,omitempty"` + PrivateEndpointConnections *[]PrivateEndpointConnection `json:"privateEndpointConnections,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + Visibility *ResourceSet `json:"visibility,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_publicipaddress.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_publicipaddress.go new file mode 100644 index 000000000000..6f2116661f4e --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_publicipaddress.go @@ -0,0 +1,22 @@ +package webapplicationfirewallpolicies + +import ( + "github.com/hashicorp/go-azure-helpers/resourcemanager/edgezones" + "github.com/hashicorp/go-azure-helpers/resourcemanager/zones" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PublicIPAddress struct { + Etag *string `json:"etag,omitempty"` + ExtendedLocation *edgezones.Model `json:"extendedLocation,omitempty"` + Id *string `json:"id,omitempty"` + Location *string `json:"location,omitempty"` + Name *string `json:"name,omitempty"` + Properties *PublicIPAddressPropertiesFormat `json:"properties,omitempty"` + Sku *PublicIPAddressSku `json:"sku,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` + Zones *zones.Schema `json:"zones,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_publicipaddressdnssettings.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_publicipaddressdnssettings.go new file mode 100644 index 000000000000..c122bbf9d003 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_publicipaddressdnssettings.go @@ -0,0 +1,11 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PublicIPAddressDnsSettings struct { + DomainNameLabel *string `json:"domainNameLabel,omitempty"` + DomainNameLabelScope *PublicIPAddressDnsSettingsDomainNameLabelScope `json:"domainNameLabelScope,omitempty"` + Fqdn *string `json:"fqdn,omitempty"` + ReverseFqdn *string `json:"reverseFqdn,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_publicipaddresspropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_publicipaddresspropertiesformat.go new file mode 100644 index 000000000000..76e237783eff --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_publicipaddresspropertiesformat.go @@ -0,0 +1,23 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PublicIPAddressPropertiesFormat struct { + DdosSettings *DdosSettings `json:"ddosSettings,omitempty"` + DeleteOption *DeleteOptions `json:"deleteOption,omitempty"` + DnsSettings *PublicIPAddressDnsSettings `json:"dnsSettings,omitempty"` + IPAddress *string `json:"ipAddress,omitempty"` + IPConfiguration *IPConfiguration `json:"ipConfiguration,omitempty"` + IPTags *[]IPTag `json:"ipTags,omitempty"` + IdleTimeoutInMinutes *int64 `json:"idleTimeoutInMinutes,omitempty"` + LinkedPublicIPAddress *PublicIPAddress `json:"linkedPublicIPAddress,omitempty"` + MigrationPhase *PublicIPAddressMigrationPhase `json:"migrationPhase,omitempty"` + NatGateway *NatGateway `json:"natGateway,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + PublicIPAddressVersion *IPVersion `json:"publicIPAddressVersion,omitempty"` + PublicIPAllocationMethod *IPAllocationMethod `json:"publicIPAllocationMethod,omitempty"` + PublicIPPrefix *SubResource `json:"publicIPPrefix,omitempty"` + ResourceGuid *string `json:"resourceGuid,omitempty"` + ServicePublicIPAddress *PublicIPAddress `json:"servicePublicIPAddress,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_publicipaddresssku.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_publicipaddresssku.go new file mode 100644 index 000000000000..1b8495a46b06 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_publicipaddresssku.go @@ -0,0 +1,9 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PublicIPAddressSku struct { + Name *PublicIPAddressSkuName `json:"name,omitempty"` + Tier *PublicIPAddressSkuTier `json:"tier,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_resourcenavigationlink.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_resourcenavigationlink.go new file mode 100644 index 000000000000..8cf0d6ae7540 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_resourcenavigationlink.go @@ -0,0 +1,12 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ResourceNavigationLink struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *ResourceNavigationLinkFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_resourcenavigationlinkformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_resourcenavigationlinkformat.go new file mode 100644 index 000000000000..cfc65feb648a --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_resourcenavigationlinkformat.go @@ -0,0 +1,10 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ResourceNavigationLinkFormat struct { + Link *string `json:"link,omitempty"` + LinkedResourceType *string `json:"linkedResourceType,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_resourceset.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_resourceset.go new file mode 100644 index 000000000000..7bd3ff7ff533 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_resourceset.go @@ -0,0 +1,8 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ResourceSet struct { + Subscriptions *[]string `json:"subscriptions,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_retentionpolicyparameters.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_retentionpolicyparameters.go new file mode 100644 index 000000000000..700cf48fcefa --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_retentionpolicyparameters.go @@ -0,0 +1,9 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type RetentionPolicyParameters struct { + Days *int64 `json:"days,omitempty"` + Enabled *bool `json:"enabled,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_route.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_route.go new file mode 100644 index 000000000000..854dbcba973c --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_route.go @@ -0,0 +1,12 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type Route struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *RoutePropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_routepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_routepropertiesformat.go new file mode 100644 index 000000000000..65879ed15ad3 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_routepropertiesformat.go @@ -0,0 +1,12 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type RoutePropertiesFormat struct { + AddressPrefix *string `json:"addressPrefix,omitempty"` + HasBgpOverride *bool `json:"hasBgpOverride,omitempty"` + NextHopIPAddress *string `json:"nextHopIpAddress,omitempty"` + NextHopType RouteNextHopType `json:"nextHopType"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_routetable.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_routetable.go new file mode 100644 index 000000000000..73fdbc844dca --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_routetable.go @@ -0,0 +1,14 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type RouteTable struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Location *string `json:"location,omitempty"` + Name *string `json:"name,omitempty"` + Properties *RouteTablePropertiesFormat `json:"properties,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_routetablepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_routetablepropertiesformat.go new file mode 100644 index 000000000000..f7082dd7d4a2 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_routetablepropertiesformat.go @@ -0,0 +1,12 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type RouteTablePropertiesFormat struct { + DisableBgpRoutePropagation *bool `json:"disableBgpRoutePropagation,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + ResourceGuid *string `json:"resourceGuid,omitempty"` + Routes *[]Route `json:"routes,omitempty"` + Subnets *[]Subnet `json:"subnets,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_securityrule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_securityrule.go new file mode 100644 index 000000000000..9a8c2e557c71 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_securityrule.go @@ -0,0 +1,12 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type SecurityRule struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *SecurityRulePropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_securityrulepropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_securityrulepropertiesformat.go new file mode 100644 index 000000000000..d40d084432ce --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_securityrulepropertiesformat.go @@ -0,0 +1,23 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type SecurityRulePropertiesFormat struct { + Access SecurityRuleAccess `json:"access"` + Description *string `json:"description,omitempty"` + DestinationAddressPrefix *string `json:"destinationAddressPrefix,omitempty"` + DestinationAddressPrefixes *[]string `json:"destinationAddressPrefixes,omitempty"` + DestinationApplicationSecurityGroups *[]ApplicationSecurityGroup `json:"destinationApplicationSecurityGroups,omitempty"` + DestinationPortRange *string `json:"destinationPortRange,omitempty"` + DestinationPortRanges *[]string `json:"destinationPortRanges,omitempty"` + Direction SecurityRuleDirection `json:"direction"` + Priority int64 `json:"priority"` + Protocol SecurityRuleProtocol `json:"protocol"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + SourceAddressPrefix *string `json:"sourceAddressPrefix,omitempty"` + SourceAddressPrefixes *[]string `json:"sourceAddressPrefixes,omitempty"` + SourceApplicationSecurityGroups *[]ApplicationSecurityGroup `json:"sourceApplicationSecurityGroups,omitempty"` + SourcePortRange *string `json:"sourcePortRange,omitempty"` + SourcePortRanges *[]string `json:"sourcePortRanges,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_serviceassociationlink.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_serviceassociationlink.go new file mode 100644 index 000000000000..9f75aeaec5b6 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_serviceassociationlink.go @@ -0,0 +1,12 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ServiceAssociationLink struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *ServiceAssociationLinkPropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_serviceassociationlinkpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_serviceassociationlinkpropertiesformat.go new file mode 100644 index 000000000000..abae149b7641 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_serviceassociationlinkpropertiesformat.go @@ -0,0 +1,12 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ServiceAssociationLinkPropertiesFormat struct { + AllowDelete *bool `json:"allowDelete,omitempty"` + Link *string `json:"link,omitempty"` + LinkedResourceType *string `json:"linkedResourceType,omitempty"` + Locations *[]string `json:"locations,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_servicedelegationpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_servicedelegationpropertiesformat.go new file mode 100644 index 000000000000..160d9aebc9f7 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_servicedelegationpropertiesformat.go @@ -0,0 +1,10 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ServiceDelegationPropertiesFormat struct { + Actions *[]string `json:"actions,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + ServiceName *string `json:"serviceName,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_serviceendpointpolicy.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_serviceendpointpolicy.go new file mode 100644 index 000000000000..ae5e0fd396a8 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_serviceendpointpolicy.go @@ -0,0 +1,15 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ServiceEndpointPolicy struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Kind *string `json:"kind,omitempty"` + Location *string `json:"location,omitempty"` + Name *string `json:"name,omitempty"` + Properties *ServiceEndpointPolicyPropertiesFormat `json:"properties,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_serviceendpointpolicydefinition.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_serviceendpointpolicydefinition.go new file mode 100644 index 000000000000..ac60c21f09b8 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_serviceendpointpolicydefinition.go @@ -0,0 +1,12 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ServiceEndpointPolicyDefinition struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *ServiceEndpointPolicyDefinitionPropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_serviceendpointpolicydefinitionpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_serviceendpointpolicydefinitionpropertiesformat.go new file mode 100644 index 000000000000..34679603f3a4 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_serviceendpointpolicydefinitionpropertiesformat.go @@ -0,0 +1,11 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ServiceEndpointPolicyDefinitionPropertiesFormat struct { + Description *string `json:"description,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + Service *string `json:"service,omitempty"` + ServiceResources *[]string `json:"serviceResources,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_serviceendpointpolicypropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_serviceendpointpolicypropertiesformat.go new file mode 100644 index 000000000000..aa5effcc1580 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_serviceendpointpolicypropertiesformat.go @@ -0,0 +1,13 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ServiceEndpointPolicyPropertiesFormat struct { + ContextualServiceEndpointPolicies *[]string `json:"contextualServiceEndpointPolicies,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + ResourceGuid *string `json:"resourceGuid,omitempty"` + ServiceAlias *string `json:"serviceAlias,omitempty"` + ServiceEndpointPolicyDefinitions *[]ServiceEndpointPolicyDefinition `json:"serviceEndpointPolicyDefinitions,omitempty"` + Subnets *[]Subnet `json:"subnets,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_serviceendpointpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_serviceendpointpropertiesformat.go new file mode 100644 index 000000000000..4a37ea44fea4 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_serviceendpointpropertiesformat.go @@ -0,0 +1,11 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ServiceEndpointPropertiesFormat struct { + Locations *[]string `json:"locations,omitempty"` + NetworkIdentifier *SubResource `json:"networkIdentifier,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + Service *string `json:"service,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_subnet.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_subnet.go new file mode 100644 index 000000000000..22ae6378be52 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_subnet.go @@ -0,0 +1,12 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type Subnet struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties *SubnetPropertiesFormat `json:"properties,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_subnetpropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_subnetpropertiesformat.go new file mode 100644 index 000000000000..a5152cfbfee8 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_subnetpropertiesformat.go @@ -0,0 +1,28 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type SubnetPropertiesFormat struct { + AddressPrefix *string `json:"addressPrefix,omitempty"` + AddressPrefixes *[]string `json:"addressPrefixes,omitempty"` + ApplicationGatewayIPConfigurations *[]ApplicationGatewayIPConfiguration `json:"applicationGatewayIPConfigurations,omitempty"` + DefaultOutboundAccess *bool `json:"defaultOutboundAccess,omitempty"` + Delegations *[]Delegation `json:"delegations,omitempty"` + IPAllocations *[]SubResource `json:"ipAllocations,omitempty"` + IPConfigurationProfiles *[]IPConfigurationProfile `json:"ipConfigurationProfiles,omitempty"` + IPConfigurations *[]IPConfiguration `json:"ipConfigurations,omitempty"` + NatGateway *SubResource `json:"natGateway,omitempty"` + NetworkSecurityGroup *NetworkSecurityGroup `json:"networkSecurityGroup,omitempty"` + PrivateEndpointNetworkPolicies *VirtualNetworkPrivateEndpointNetworkPolicies `json:"privateEndpointNetworkPolicies,omitempty"` + PrivateEndpoints *[]PrivateEndpoint `json:"privateEndpoints,omitempty"` + PrivateLinkServiceNetworkPolicies *VirtualNetworkPrivateLinkServiceNetworkPolicies `json:"privateLinkServiceNetworkPolicies,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + Purpose *string `json:"purpose,omitempty"` + ResourceNavigationLinks *[]ResourceNavigationLink `json:"resourceNavigationLinks,omitempty"` + RouteTable *RouteTable `json:"routeTable,omitempty"` + ServiceAssociationLinks *[]ServiceAssociationLink `json:"serviceAssociationLinks,omitempty"` + ServiceEndpointPolicies *[]ServiceEndpointPolicy `json:"serviceEndpointPolicies,omitempty"` + ServiceEndpoints *[]ServiceEndpointPropertiesFormat `json:"serviceEndpoints,omitempty"` + SharingScope *SharingScope `json:"sharingScope,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_subresource.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_subresource.go new file mode 100644 index 000000000000..f80e970be832 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_subresource.go @@ -0,0 +1,8 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type SubResource struct { + Id *string `json:"id,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_trafficanalyticsconfigurationproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_trafficanalyticsconfigurationproperties.go new file mode 100644 index 000000000000..fd4b0e7ec171 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_trafficanalyticsconfigurationproperties.go @@ -0,0 +1,12 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type TrafficAnalyticsConfigurationProperties struct { + Enabled *bool `json:"enabled,omitempty"` + TrafficAnalyticsInterval *int64 `json:"trafficAnalyticsInterval,omitempty"` + WorkspaceId *string `json:"workspaceId,omitempty"` + WorkspaceRegion *string `json:"workspaceRegion,omitempty"` + WorkspaceResourceId *string `json:"workspaceResourceId,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_trafficanalyticsproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_trafficanalyticsproperties.go new file mode 100644 index 000000000000..872500d56bf5 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_trafficanalyticsproperties.go @@ -0,0 +1,8 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type TrafficAnalyticsProperties struct { + NetworkWatcherFlowAnalyticsConfiguration *TrafficAnalyticsConfigurationProperties `json:"networkWatcherFlowAnalyticsConfiguration,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_virtualnetworktap.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_virtualnetworktap.go new file mode 100644 index 000000000000..e2de0ca881d0 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_virtualnetworktap.go @@ -0,0 +1,14 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VirtualNetworkTap struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Location *string `json:"location,omitempty"` + Name *string `json:"name,omitempty"` + Properties *VirtualNetworkTapPropertiesFormat `json:"properties,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_virtualnetworktappropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_virtualnetworktappropertiesformat.go new file mode 100644 index 000000000000..418d09be3711 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_virtualnetworktappropertiesformat.go @@ -0,0 +1,13 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type VirtualNetworkTapPropertiesFormat struct { + DestinationLoadBalancerFrontEndIPConfiguration *FrontendIPConfiguration `json:"destinationLoadBalancerFrontEndIPConfiguration,omitempty"` + DestinationNetworkInterfaceIPConfiguration *NetworkInterfaceIPConfiguration `json:"destinationNetworkInterfaceIPConfiguration,omitempty"` + DestinationPort *int64 `json:"destinationPort,omitempty"` + NetworkInterfaceTapConfigurations *[]NetworkInterfaceTapConfiguration `json:"networkInterfaceTapConfigurations,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + ResourceGuid *string `json:"resourceGuid,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_webapplicationfirewallcustomrule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_webapplicationfirewallcustomrule.go new file mode 100644 index 000000000000..c66c12572535 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_webapplicationfirewallcustomrule.go @@ -0,0 +1,17 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type WebApplicationFirewallCustomRule struct { + Action WebApplicationFirewallAction `json:"action"` + Etag *string `json:"etag,omitempty"` + GroupByUserSession *[]GroupByUserSession `json:"groupByUserSession,omitempty"` + MatchConditions []MatchCondition `json:"matchConditions"` + Name *string `json:"name,omitempty"` + Priority int64 `json:"priority"` + RateLimitDuration *ApplicationGatewayFirewallRateLimitDuration `json:"rateLimitDuration,omitempty"` + RateLimitThreshold *int64 `json:"rateLimitThreshold,omitempty"` + RuleType WebApplicationFirewallRuleType `json:"ruleType"` + State *WebApplicationFirewallState `json:"state,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_webapplicationfirewallpolicy.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_webapplicationfirewallpolicy.go new file mode 100644 index 000000000000..c79f926a28c2 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_webapplicationfirewallpolicy.go @@ -0,0 +1,14 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type WebApplicationFirewallPolicy struct { + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + Location *string `json:"location,omitempty"` + Name *string `json:"name,omitempty"` + Properties *WebApplicationFirewallPolicyPropertiesFormat `json:"properties,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_webapplicationfirewallpolicypropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_webapplicationfirewallpolicypropertiesformat.go new file mode 100644 index 000000000000..6379e40c5def --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_webapplicationfirewallpolicypropertiesformat.go @@ -0,0 +1,16 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type WebApplicationFirewallPolicyPropertiesFormat struct { + ApplicationGatewayForContainers *[]ApplicationGatewayForContainersReferenceDefinition `json:"applicationGatewayForContainers,omitempty"` + ApplicationGateways *[]ApplicationGateway `json:"applicationGateways,omitempty"` + CustomRules *[]WebApplicationFirewallCustomRule `json:"customRules,omitempty"` + HTTPListeners *[]SubResource `json:"httpListeners,omitempty"` + ManagedRules ManagedRulesDefinition `json:"managedRules"` + PathBasedRules *[]SubResource `json:"pathBasedRules,omitempty"` + PolicySettings *PolicySettings `json:"policySettings,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + ResourceState *WebApplicationFirewallPolicyResourceState `json:"resourceState,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_webapplicationfirewallscrubbingrules.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_webapplicationfirewallscrubbingrules.go new file mode 100644 index 000000000000..b3d3f6dd209d --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/model_webapplicationfirewallscrubbingrules.go @@ -0,0 +1,11 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type WebApplicationFirewallScrubbingRules struct { + MatchVariable ScrubbingRuleEntryMatchVariable `json:"matchVariable"` + Selector *string `json:"selector,omitempty"` + SelectorMatchOperator ScrubbingRuleEntryMatchOperator `json:"selectorMatchOperator"` + State *ScrubbingRuleEntryState `json:"state,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/predicates.go new file mode 100644 index 000000000000..a7973b0a14fb --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/predicates.go @@ -0,0 +1,37 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type WebApplicationFirewallPolicyOperationPredicate struct { + Etag *string + Id *string + Location *string + Name *string + Type *string +} + +func (p WebApplicationFirewallPolicyOperationPredicate) Matches(input WebApplicationFirewallPolicy) bool { + + if p.Etag != nil && (input.Etag == nil || *p.Etag != *input.Etag) { + return false + } + + if p.Id != nil && (input.Id == nil || *p.Id != *input.Id) { + return false + } + + if p.Location != nil && (input.Location == nil || *p.Location != *input.Location) { + return false + } + + if p.Name != nil && (input.Name == nil || *p.Name != *input.Name) { + return false + } + + if p.Type != nil && (input.Type == nil || *p.Type != *input.Type) { + return false + } + + return true +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/version.go new file mode 100644 index 000000000000..1a8ec9f2ba67 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies/version.go @@ -0,0 +1,10 @@ +package webapplicationfirewallpolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2024-03-01" + +func userAgent() string { + return "hashicorp/go-azure-sdk/webapplicationfirewallpolicies/2024-03-01" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webcategories/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webcategories/README.md new file mode 100644 index 000000000000..d7a59c0519db --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webcategories/README.md @@ -0,0 +1,54 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webcategories` Documentation + +The `webcategories` SDK allows for interaction with Azure Resource Manager `network` (API Version `2024-03-01`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" +import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webcategories" +``` + + +### Client Initialization + +```go +client := webcategories.NewWebCategoriesClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `WebCategoriesClient.Get` + +```go +ctx := context.TODO() +id := webcategories.NewAzureWebCategoryID("12345678-1234-9876-4563-123456789012", "azureWebCategoryName") + +read, err := client.Get(ctx, id, webcategories.DefaultGetOperationOptions()) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `WebCategoriesClient.ListBySubscription` + +```go +ctx := context.TODO() +id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012") + +// alternatively `client.ListBySubscription(ctx, id)` can be used to do batched pagination +items, err := client.ListBySubscriptionComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/webcategories/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webcategories/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/webcategories/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webcategories/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/webcategories/id_azurewebcategory.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webcategories/id_azurewebcategory.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/webcategories/id_azurewebcategory.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webcategories/id_azurewebcategory.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/webcategories/method_get.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webcategories/method_get.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/webcategories/method_get.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webcategories/method_get.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/webcategories/method_listbysubscription.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webcategories/method_listbysubscription.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/webcategories/method_listbysubscription.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webcategories/method_listbysubscription.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/webcategories/model_azurewebcategory.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webcategories/model_azurewebcategory.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/webcategories/model_azurewebcategory.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webcategories/model_azurewebcategory.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/webcategories/model_azurewebcategorypropertiesformat.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webcategories/model_azurewebcategorypropertiesformat.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/webcategories/model_azurewebcategorypropertiesformat.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webcategories/model_azurewebcategorypropertiesformat.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/webcategories/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webcategories/predicates.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/webcategories/predicates.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webcategories/predicates.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webcategories/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webcategories/version.go new file mode 100644 index 000000000000..5c0b8e6f959f --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webcategories/version.go @@ -0,0 +1,10 @@ +package webcategories + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2024-03-01" + +func userAgent() string { + return "hashicorp/go-azure-sdk/webcategories/2024-03-01" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/monitors/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/monitors/README.md deleted file mode 100644 index b2cf52c973af..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/monitors/README.md +++ /dev/null @@ -1,261 +0,0 @@ - -## `github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/monitors` Documentation - -The `monitors` SDK allows for interaction with Azure Resource Manager `newrelic` (API Version `2022-07-01`). - -This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). - -### Import Path - -```go -import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" -import "github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/monitors" -``` - - -### Client Initialization - -```go -client := monitors.NewMonitorsClientWithBaseURI("https://management.azure.com") -client.Client.Authorizer = authorizer -``` - - -### Example Usage: `MonitorsClient.CreateOrUpdate` - -```go -ctx := context.TODO() -id := monitors.NewMonitorID("12345678-1234-9876-4563-123456789012", "example-resource-group", "monitorName") - -payload := monitors.NewRelicMonitorResource{ - // ... -} - - -if err := client.CreateOrUpdateThenPoll(ctx, id, payload); err != nil { - // handle the error -} -``` - - -### Example Usage: `MonitorsClient.Delete` - -```go -ctx := context.TODO() -id := monitors.NewMonitorID("12345678-1234-9876-4563-123456789012", "example-resource-group", "monitorName") - -if err := client.DeleteThenPoll(ctx, id, monitors.DefaultDeleteOperationOptions()); err != nil { - // handle the error -} -``` - - -### Example Usage: `MonitorsClient.Get` - -```go -ctx := context.TODO() -id := monitors.NewMonitorID("12345678-1234-9876-4563-123456789012", "example-resource-group", "monitorName") - -read, err := client.Get(ctx, id) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `MonitorsClient.GetMetricRules` - -```go -ctx := context.TODO() -id := monitors.NewMonitorID("12345678-1234-9876-4563-123456789012", "example-resource-group", "monitorName") - -payload := monitors.MetricsRequest{ - // ... -} - - -read, err := client.GetMetricRules(ctx, id, payload) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `MonitorsClient.GetMetricStatus` - -```go -ctx := context.TODO() -id := monitors.NewMonitorID("12345678-1234-9876-4563-123456789012", "example-resource-group", "monitorName") - -payload := monitors.MetricsStatusRequest{ - // ... -} - - -read, err := client.GetMetricStatus(ctx, id, payload) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `MonitorsClient.ListAppServices` - -```go -ctx := context.TODO() -id := monitors.NewMonitorID("12345678-1234-9876-4563-123456789012", "example-resource-group", "monitorName") - -payload := monitors.AppServicesGetRequest{ - // ... -} - - -// alternatively `client.ListAppServices(ctx, id, payload)` can be used to do batched pagination -items, err := client.ListAppServicesComplete(ctx, id, payload) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` - - -### Example Usage: `MonitorsClient.ListByResourceGroup` - -```go -ctx := context.TODO() -id := commonids.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group") - -// alternatively `client.ListByResourceGroup(ctx, id)` can be used to do batched pagination -items, err := client.ListByResourceGroupComplete(ctx, id) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` - - -### Example Usage: `MonitorsClient.ListBySubscription` - -```go -ctx := context.TODO() -id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012") - -// alternatively `client.ListBySubscription(ctx, id)` can be used to do batched pagination -items, err := client.ListBySubscriptionComplete(ctx, id) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` - - -### Example Usage: `MonitorsClient.ListHosts` - -```go -ctx := context.TODO() -id := monitors.NewMonitorID("12345678-1234-9876-4563-123456789012", "example-resource-group", "monitorName") - -payload := monitors.HostsGetRequest{ - // ... -} - - -// alternatively `client.ListHosts(ctx, id, payload)` can be used to do batched pagination -items, err := client.ListHostsComplete(ctx, id, payload) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` - - -### Example Usage: `MonitorsClient.ListMonitoredResources` - -```go -ctx := context.TODO() -id := monitors.NewMonitorID("12345678-1234-9876-4563-123456789012", "example-resource-group", "monitorName") - -// alternatively `client.ListMonitoredResources(ctx, id)` can be used to do batched pagination -items, err := client.ListMonitoredResourcesComplete(ctx, id) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` - - -### Example Usage: `MonitorsClient.SwitchBilling` - -```go -ctx := context.TODO() -id := monitors.NewMonitorID("12345678-1234-9876-4563-123456789012", "example-resource-group", "monitorName") - -payload := monitors.SwitchBillingRequest{ - // ... -} - - -read, err := client.SwitchBilling(ctx, id, payload) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `MonitorsClient.Update` - -```go -ctx := context.TODO() -id := monitors.NewMonitorID("12345678-1234-9876-4563-123456789012", "example-resource-group", "monitorName") - -payload := monitors.NewRelicMonitorResourceUpdate{ - // ... -} - - -read, err := client.Update(ctx, id, payload) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `MonitorsClient.VMHostPayload` - -```go -ctx := context.TODO() -id := monitors.NewMonitorID("12345678-1234-9876-4563-123456789012", "example-resource-group", "monitorName") - -read, err := client.VMHostPayload(ctx, id) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/monitors/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/monitors/constants.go deleted file mode 100644 index 910b04870c4b..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/monitors/constants.go +++ /dev/null @@ -1,573 +0,0 @@ -package monitors - -import ( - "encoding/json" - "fmt" - "strings" -) - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -type AccountCreationSource string - -const ( - AccountCreationSourceLIFTR AccountCreationSource = "LIFTR" - AccountCreationSourceNEWRELIC AccountCreationSource = "NEWRELIC" -) - -func PossibleValuesForAccountCreationSource() []string { - return []string{ - string(AccountCreationSourceLIFTR), - string(AccountCreationSourceNEWRELIC), - } -} - -func (s *AccountCreationSource) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseAccountCreationSource(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseAccountCreationSource(input string) (*AccountCreationSource, error) { - vals := map[string]AccountCreationSource{ - "liftr": AccountCreationSourceLIFTR, - "newrelic": AccountCreationSourceNEWRELIC, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := AccountCreationSource(input) - return &out, nil -} - -type BillingCycle string - -const ( - BillingCycleMONTHLY BillingCycle = "MONTHLY" - BillingCycleWEEKLY BillingCycle = "WEEKLY" - BillingCycleYEARLY BillingCycle = "YEARLY" -) - -func PossibleValuesForBillingCycle() []string { - return []string{ - string(BillingCycleMONTHLY), - string(BillingCycleWEEKLY), - string(BillingCycleYEARLY), - } -} - -func (s *BillingCycle) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseBillingCycle(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseBillingCycle(input string) (*BillingCycle, error) { - vals := map[string]BillingCycle{ - "monthly": BillingCycleMONTHLY, - "weekly": BillingCycleWEEKLY, - "yearly": BillingCycleYEARLY, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := BillingCycle(input) - return &out, nil -} - -type LiftrResourceCategories string - -const ( - LiftrResourceCategoriesMonitorLogs LiftrResourceCategories = "MonitorLogs" - LiftrResourceCategoriesUnknown LiftrResourceCategories = "Unknown" -) - -func PossibleValuesForLiftrResourceCategories() []string { - return []string{ - string(LiftrResourceCategoriesMonitorLogs), - string(LiftrResourceCategoriesUnknown), - } -} - -func (s *LiftrResourceCategories) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseLiftrResourceCategories(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseLiftrResourceCategories(input string) (*LiftrResourceCategories, error) { - vals := map[string]LiftrResourceCategories{ - "monitorlogs": LiftrResourceCategoriesMonitorLogs, - "unknown": LiftrResourceCategoriesUnknown, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := LiftrResourceCategories(input) - return &out, nil -} - -type MarketplaceSubscriptionStatus string - -const ( - MarketplaceSubscriptionStatusActive MarketplaceSubscriptionStatus = "Active" - MarketplaceSubscriptionStatusSuspended MarketplaceSubscriptionStatus = "Suspended" -) - -func PossibleValuesForMarketplaceSubscriptionStatus() []string { - return []string{ - string(MarketplaceSubscriptionStatusActive), - string(MarketplaceSubscriptionStatusSuspended), - } -} - -func (s *MarketplaceSubscriptionStatus) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseMarketplaceSubscriptionStatus(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseMarketplaceSubscriptionStatus(input string) (*MarketplaceSubscriptionStatus, error) { - vals := map[string]MarketplaceSubscriptionStatus{ - "active": MarketplaceSubscriptionStatusActive, - "suspended": MarketplaceSubscriptionStatusSuspended, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := MarketplaceSubscriptionStatus(input) - return &out, nil -} - -type MonitoringStatus string - -const ( - MonitoringStatusDisabled MonitoringStatus = "Disabled" - MonitoringStatusEnabled MonitoringStatus = "Enabled" -) - -func PossibleValuesForMonitoringStatus() []string { - return []string{ - string(MonitoringStatusDisabled), - string(MonitoringStatusEnabled), - } -} - -func (s *MonitoringStatus) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseMonitoringStatus(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseMonitoringStatus(input string) (*MonitoringStatus, error) { - vals := map[string]MonitoringStatus{ - "disabled": MonitoringStatusDisabled, - "enabled": MonitoringStatusEnabled, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := MonitoringStatus(input) - return &out, nil -} - -type OrgCreationSource string - -const ( - OrgCreationSourceLIFTR OrgCreationSource = "LIFTR" - OrgCreationSourceNEWRELIC OrgCreationSource = "NEWRELIC" -) - -func PossibleValuesForOrgCreationSource() []string { - return []string{ - string(OrgCreationSourceLIFTR), - string(OrgCreationSourceNEWRELIC), - } -} - -func (s *OrgCreationSource) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseOrgCreationSource(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseOrgCreationSource(input string) (*OrgCreationSource, error) { - vals := map[string]OrgCreationSource{ - "liftr": OrgCreationSourceLIFTR, - "newrelic": OrgCreationSourceNEWRELIC, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := OrgCreationSource(input) - return &out, nil -} - -type ProvisioningState string - -const ( - ProvisioningStateAccepted ProvisioningState = "Accepted" - ProvisioningStateCanceled ProvisioningState = "Canceled" - ProvisioningStateCreating ProvisioningState = "Creating" - ProvisioningStateDeleted ProvisioningState = "Deleted" - ProvisioningStateDeleting ProvisioningState = "Deleting" - ProvisioningStateFailed ProvisioningState = "Failed" - ProvisioningStateNotSpecified ProvisioningState = "NotSpecified" - ProvisioningStateSucceeded ProvisioningState = "Succeeded" - ProvisioningStateUpdating ProvisioningState = "Updating" -) - -func PossibleValuesForProvisioningState() []string { - return []string{ - string(ProvisioningStateAccepted), - string(ProvisioningStateCanceled), - string(ProvisioningStateCreating), - string(ProvisioningStateDeleted), - string(ProvisioningStateDeleting), - string(ProvisioningStateFailed), - string(ProvisioningStateNotSpecified), - string(ProvisioningStateSucceeded), - string(ProvisioningStateUpdating), - } -} - -func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseProvisioningState(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseProvisioningState(input string) (*ProvisioningState, error) { - vals := map[string]ProvisioningState{ - "accepted": ProvisioningStateAccepted, - "canceled": ProvisioningStateCanceled, - "creating": ProvisioningStateCreating, - "deleted": ProvisioningStateDeleted, - "deleting": ProvisioningStateDeleting, - "failed": ProvisioningStateFailed, - "notspecified": ProvisioningStateNotSpecified, - "succeeded": ProvisioningStateSucceeded, - "updating": ProvisioningStateUpdating, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := ProvisioningState(input) - return &out, nil -} - -type SendMetricsStatus string - -const ( - SendMetricsStatusDisabled SendMetricsStatus = "Disabled" - SendMetricsStatusEnabled SendMetricsStatus = "Enabled" -) - -func PossibleValuesForSendMetricsStatus() []string { - return []string{ - string(SendMetricsStatusDisabled), - string(SendMetricsStatusEnabled), - } -} - -func (s *SendMetricsStatus) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseSendMetricsStatus(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseSendMetricsStatus(input string) (*SendMetricsStatus, error) { - vals := map[string]SendMetricsStatus{ - "disabled": SendMetricsStatusDisabled, - "enabled": SendMetricsStatusEnabled, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := SendMetricsStatus(input) - return &out, nil -} - -type SendingLogsStatus string - -const ( - SendingLogsStatusDisabled SendingLogsStatus = "Disabled" - SendingLogsStatusEnabled SendingLogsStatus = "Enabled" -) - -func PossibleValuesForSendingLogsStatus() []string { - return []string{ - string(SendingLogsStatusDisabled), - string(SendingLogsStatusEnabled), - } -} - -func (s *SendingLogsStatus) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseSendingLogsStatus(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseSendingLogsStatus(input string) (*SendingLogsStatus, error) { - vals := map[string]SendingLogsStatus{ - "disabled": SendingLogsStatusDisabled, - "enabled": SendingLogsStatusEnabled, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := SendingLogsStatus(input) - return &out, nil -} - -type SendingMetricsStatus string - -const ( - SendingMetricsStatusDisabled SendingMetricsStatus = "Disabled" - SendingMetricsStatusEnabled SendingMetricsStatus = "Enabled" -) - -func PossibleValuesForSendingMetricsStatus() []string { - return []string{ - string(SendingMetricsStatusDisabled), - string(SendingMetricsStatusEnabled), - } -} - -func (s *SendingMetricsStatus) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseSendingMetricsStatus(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseSendingMetricsStatus(input string) (*SendingMetricsStatus, error) { - vals := map[string]SendingMetricsStatus{ - "disabled": SendingMetricsStatusDisabled, - "enabled": SendingMetricsStatusEnabled, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := SendingMetricsStatus(input) - return &out, nil -} - -type SingleSignOnStates string - -const ( - SingleSignOnStatesDisable SingleSignOnStates = "Disable" - SingleSignOnStatesEnable SingleSignOnStates = "Enable" - SingleSignOnStatesExisting SingleSignOnStates = "Existing" - SingleSignOnStatesInitial SingleSignOnStates = "Initial" -) - -func PossibleValuesForSingleSignOnStates() []string { - return []string{ - string(SingleSignOnStatesDisable), - string(SingleSignOnStatesEnable), - string(SingleSignOnStatesExisting), - string(SingleSignOnStatesInitial), - } -} - -func (s *SingleSignOnStates) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseSingleSignOnStates(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseSingleSignOnStates(input string) (*SingleSignOnStates, error) { - vals := map[string]SingleSignOnStates{ - "disable": SingleSignOnStatesDisable, - "enable": SingleSignOnStatesEnable, - "existing": SingleSignOnStatesExisting, - "initial": SingleSignOnStatesInitial, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := SingleSignOnStates(input) - return &out, nil -} - -type TagAction string - -const ( - TagActionExclude TagAction = "Exclude" - TagActionInclude TagAction = "Include" -) - -func PossibleValuesForTagAction() []string { - return []string{ - string(TagActionExclude), - string(TagActionInclude), - } -} - -func (s *TagAction) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseTagAction(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseTagAction(input string) (*TagAction, error) { - vals := map[string]TagAction{ - "exclude": TagActionExclude, - "include": TagActionInclude, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := TagAction(input) - return &out, nil -} - -type UsageType string - -const ( - UsageTypeCOMMITTED UsageType = "COMMITTED" - UsageTypePAYG UsageType = "PAYG" -) - -func PossibleValuesForUsageType() []string { - return []string{ - string(UsageTypeCOMMITTED), - string(UsageTypePAYG), - } -} - -func (s *UsageType) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseUsageType(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseUsageType(input string) (*UsageType, error) { - vals := map[string]UsageType{ - "committed": UsageTypeCOMMITTED, - "payg": UsageTypePAYG, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := UsageType(input) - return &out, nil -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/monitors/method_update.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/monitors/method_update.go deleted file mode 100644 index f04008b932f2..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/monitors/method_update.go +++ /dev/null @@ -1,57 +0,0 @@ -package monitors - -import ( - "context" - "net/http" - - "github.com/hashicorp/go-azure-sdk/sdk/client" - "github.com/hashicorp/go-azure-sdk/sdk/odata" -) - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -type UpdateOperationResponse struct { - HttpResponse *http.Response - OData *odata.OData - Model *NewRelicMonitorResource -} - -// Update ... -func (c MonitorsClient) Update(ctx context.Context, id MonitorId, input NewRelicMonitorResourceUpdate) (result UpdateOperationResponse, err error) { - opts := client.RequestOptions{ - ContentType: "application/json; charset=utf-8", - ExpectedStatusCodes: []int{ - http.StatusOK, - }, - HttpMethod: http.MethodPatch, - Path: id.ID(), - } - - req, err := c.Client.NewRequest(ctx, opts) - if err != nil { - return - } - - if err = req.Marshal(input); err != nil { - return - } - - var resp *client.Response - resp, err = req.Execute(ctx) - if resp != nil { - result.OData = resp.OData - result.HttpResponse = resp.Response - } - if err != nil { - return - } - - var model NewRelicMonitorResource - result.Model = &model - if err = resp.Unmarshal(result.Model); err != nil { - return - } - - return -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/monitors/model_plandata.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/monitors/model_plandata.go deleted file mode 100644 index 9059b9ca7645..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/monitors/model_plandata.go +++ /dev/null @@ -1,29 +0,0 @@ -package monitors - -import ( - "time" - - "github.com/hashicorp/go-azure-helpers/lang/dates" -) - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -type PlanData struct { - BillingCycle *BillingCycle `json:"billingCycle,omitempty"` - EffectiveDate *string `json:"effectiveDate,omitempty"` - PlanDetails *string `json:"planDetails,omitempty"` - UsageType *UsageType `json:"usageType,omitempty"` -} - -func (o *PlanData) GetEffectiveDateAsTime() (*time.Time, error) { - if o.EffectiveDate == nil { - return nil, nil - } - return dates.ParseAsFormat(o.EffectiveDate, "2006-01-02T15:04:05Z07:00") -} - -func (o *PlanData) SetEffectiveDateAsTime(input time.Time) { - formatted := input.Format("2006-01-02T15:04:05Z07:00") - o.EffectiveDate = &formatted -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/monitors/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/monitors/version.go deleted file mode 100644 index bf345cdde784..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/monitors/version.go +++ /dev/null @@ -1,10 +0,0 @@ -package monitors - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -const defaultApiVersion = "2022-07-01" - -func userAgent() string { - return "hashicorp/go-azure-sdk/monitors/2022-07-01" -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/tagrules/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/tagrules/README.md deleted file mode 100644 index 7e324ae07e84..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/tagrules/README.md +++ /dev/null @@ -1,103 +0,0 @@ - -## `github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/tagrules` Documentation - -The `tagrules` SDK allows for interaction with Azure Resource Manager `newrelic` (API Version `2022-07-01`). - -This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). - -### Import Path - -```go -import "github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/tagrules" -``` - - -### Client Initialization - -```go -client := tagrules.NewTagRulesClientWithBaseURI("https://management.azure.com") -client.Client.Authorizer = authorizer -``` - - -### Example Usage: `TagRulesClient.CreateOrUpdate` - -```go -ctx := context.TODO() -id := tagrules.NewTagRuleID("12345678-1234-9876-4563-123456789012", "example-resource-group", "monitorName", "tagRuleName") - -payload := tagrules.TagRule{ - // ... -} - - -if err := client.CreateOrUpdateThenPoll(ctx, id, payload); err != nil { - // handle the error -} -``` - - -### Example Usage: `TagRulesClient.Delete` - -```go -ctx := context.TODO() -id := tagrules.NewTagRuleID("12345678-1234-9876-4563-123456789012", "example-resource-group", "monitorName", "tagRuleName") - -if err := client.DeleteThenPoll(ctx, id); err != nil { - // handle the error -} -``` - - -### Example Usage: `TagRulesClient.Get` - -```go -ctx := context.TODO() -id := tagrules.NewTagRuleID("12345678-1234-9876-4563-123456789012", "example-resource-group", "monitorName", "tagRuleName") - -read, err := client.Get(ctx, id) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` - - -### Example Usage: `TagRulesClient.ListByNewRelicMonitorResource` - -```go -ctx := context.TODO() -id := tagrules.NewMonitorID("12345678-1234-9876-4563-123456789012", "example-resource-group", "monitorName") - -// alternatively `client.ListByNewRelicMonitorResource(ctx, id)` can be used to do batched pagination -items, err := client.ListByNewRelicMonitorResourceComplete(ctx, id) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` - - -### Example Usage: `TagRulesClient.Update` - -```go -ctx := context.TODO() -id := tagrules.NewTagRuleID("12345678-1234-9876-4563-123456789012", "example-resource-group", "monitorName", "tagRuleName") - -payload := tagrules.TagRuleUpdate{ - // ... -} - - -read, err := client.Update(ctx, id, payload) -if err != nil { - // handle the error -} -if model := read.Model; model != nil { - // do something with the model/response object -} -``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/tagrules/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/tagrules/version.go deleted file mode 100644 index f70208fb38df..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/tagrules/version.go +++ /dev/null @@ -1,10 +0,0 @@ -package tagrules - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -const defaultApiVersion = "2022-07-01" - -func userAgent() string { - return "hashicorp/go-azure-sdk/tagrules/2022-07-01" -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/monitors/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/monitors/README.md new file mode 100644 index 000000000000..22e1bbfdce15 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/monitors/README.md @@ -0,0 +1,257 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/monitors` Documentation + +The `monitors` SDK allows for interaction with Azure Resource Manager `newrelic` (API Version `2024-03-01`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" +import "github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/monitors" +``` + + +### Client Initialization + +```go +client := monitors.NewMonitorsClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `MonitorsClient.CreateOrUpdate` + +```go +ctx := context.TODO() +id := monitors.NewMonitorID("12345678-1234-9876-4563-123456789012", "example-resource-group", "monitorName") + +payload := monitors.NewRelicMonitorResource{ + // ... +} + + +if err := client.CreateOrUpdateThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `MonitorsClient.Delete` + +```go +ctx := context.TODO() +id := monitors.NewMonitorID("12345678-1234-9876-4563-123456789012", "example-resource-group", "monitorName") + +if err := client.DeleteThenPoll(ctx, id, monitors.DefaultDeleteOperationOptions()); err != nil { + // handle the error +} +``` + + +### Example Usage: `MonitorsClient.Get` + +```go +ctx := context.TODO() +id := monitors.NewMonitorID("12345678-1234-9876-4563-123456789012", "example-resource-group", "monitorName") + +read, err := client.Get(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `MonitorsClient.GetMetricRules` + +```go +ctx := context.TODO() +id := monitors.NewMonitorID("12345678-1234-9876-4563-123456789012", "example-resource-group", "monitorName") + +payload := monitors.MetricsRequest{ + // ... +} + + +read, err := client.GetMetricRules(ctx, id, payload) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `MonitorsClient.GetMetricStatus` + +```go +ctx := context.TODO() +id := monitors.NewMonitorID("12345678-1234-9876-4563-123456789012", "example-resource-group", "monitorName") + +payload := monitors.MetricsStatusRequest{ + // ... +} + + +read, err := client.GetMetricStatus(ctx, id, payload) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `MonitorsClient.ListAppServices` + +```go +ctx := context.TODO() +id := monitors.NewMonitorID("12345678-1234-9876-4563-123456789012", "example-resource-group", "monitorName") + +payload := monitors.AppServicesGetRequest{ + // ... +} + + +// alternatively `client.ListAppServices(ctx, id, payload)` can be used to do batched pagination +items, err := client.ListAppServicesComplete(ctx, id, payload) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `MonitorsClient.ListByResourceGroup` + +```go +ctx := context.TODO() +id := commonids.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group") + +// alternatively `client.ListByResourceGroup(ctx, id)` can be used to do batched pagination +items, err := client.ListByResourceGroupComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `MonitorsClient.ListBySubscription` + +```go +ctx := context.TODO() +id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012") + +// alternatively `client.ListBySubscription(ctx, id)` can be used to do batched pagination +items, err := client.ListBySubscriptionComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `MonitorsClient.ListHosts` + +```go +ctx := context.TODO() +id := monitors.NewMonitorID("12345678-1234-9876-4563-123456789012", "example-resource-group", "monitorName") + +payload := monitors.HostsGetRequest{ + // ... +} + + +// alternatively `client.ListHosts(ctx, id, payload)` can be used to do batched pagination +items, err := client.ListHostsComplete(ctx, id, payload) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `MonitorsClient.ListMonitoredResources` + +```go +ctx := context.TODO() +id := monitors.NewMonitorID("12345678-1234-9876-4563-123456789012", "example-resource-group", "monitorName") + +// alternatively `client.ListMonitoredResources(ctx, id)` can be used to do batched pagination +items, err := client.ListMonitoredResourcesComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `MonitorsClient.SwitchBilling` + +```go +ctx := context.TODO() +id := monitors.NewMonitorID("12345678-1234-9876-4563-123456789012", "example-resource-group", "monitorName") + +payload := monitors.SwitchBillingRequest{ + // ... +} + + +read, err := client.SwitchBilling(ctx, id, payload) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `MonitorsClient.Update` + +```go +ctx := context.TODO() +id := monitors.NewMonitorID("12345678-1234-9876-4563-123456789012", "example-resource-group", "monitorName") + +payload := monitors.NewRelicMonitorResourceUpdate{ + // ... +} + + +if err := client.UpdateThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `MonitorsClient.VMHostPayload` + +```go +ctx := context.TODO() +id := monitors.NewMonitorID("12345678-1234-9876-4563-123456789012", "example-resource-group", "monitorName") + +read, err := client.VMHostPayload(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/monitors/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/monitors/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/monitors/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/monitors/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/monitors/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/monitors/constants.go new file mode 100644 index 000000000000..f3d2afd5c06b --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/monitors/constants.go @@ -0,0 +1,529 @@ +package monitors + +import ( + "encoding/json" + "fmt" + "strings" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type AccountCreationSource string + +const ( + AccountCreationSourceLIFTR AccountCreationSource = "LIFTR" + AccountCreationSourceNEWRELIC AccountCreationSource = "NEWRELIC" +) + +func PossibleValuesForAccountCreationSource() []string { + return []string{ + string(AccountCreationSourceLIFTR), + string(AccountCreationSourceNEWRELIC), + } +} + +func (s *AccountCreationSource) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseAccountCreationSource(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseAccountCreationSource(input string) (*AccountCreationSource, error) { + vals := map[string]AccountCreationSource{ + "liftr": AccountCreationSourceLIFTR, + "newrelic": AccountCreationSourceNEWRELIC, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := AccountCreationSource(input) + return &out, nil +} + +type LiftrResourceCategories string + +const ( + LiftrResourceCategoriesMonitorLogs LiftrResourceCategories = "MonitorLogs" + LiftrResourceCategoriesUnknown LiftrResourceCategories = "Unknown" +) + +func PossibleValuesForLiftrResourceCategories() []string { + return []string{ + string(LiftrResourceCategoriesMonitorLogs), + string(LiftrResourceCategoriesUnknown), + } +} + +func (s *LiftrResourceCategories) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseLiftrResourceCategories(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseLiftrResourceCategories(input string) (*LiftrResourceCategories, error) { + vals := map[string]LiftrResourceCategories{ + "monitorlogs": LiftrResourceCategoriesMonitorLogs, + "unknown": LiftrResourceCategoriesUnknown, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := LiftrResourceCategories(input) + return &out, nil +} + +type MarketplaceSubscriptionStatus string + +const ( + MarketplaceSubscriptionStatusActive MarketplaceSubscriptionStatus = "Active" + MarketplaceSubscriptionStatusSuspended MarketplaceSubscriptionStatus = "Suspended" +) + +func PossibleValuesForMarketplaceSubscriptionStatus() []string { + return []string{ + string(MarketplaceSubscriptionStatusActive), + string(MarketplaceSubscriptionStatusSuspended), + } +} + +func (s *MarketplaceSubscriptionStatus) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseMarketplaceSubscriptionStatus(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseMarketplaceSubscriptionStatus(input string) (*MarketplaceSubscriptionStatus, error) { + vals := map[string]MarketplaceSubscriptionStatus{ + "active": MarketplaceSubscriptionStatusActive, + "suspended": MarketplaceSubscriptionStatusSuspended, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := MarketplaceSubscriptionStatus(input) + return &out, nil +} + +type MonitoringStatus string + +const ( + MonitoringStatusDisabled MonitoringStatus = "Disabled" + MonitoringStatusEnabled MonitoringStatus = "Enabled" +) + +func PossibleValuesForMonitoringStatus() []string { + return []string{ + string(MonitoringStatusDisabled), + string(MonitoringStatusEnabled), + } +} + +func (s *MonitoringStatus) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseMonitoringStatus(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseMonitoringStatus(input string) (*MonitoringStatus, error) { + vals := map[string]MonitoringStatus{ + "disabled": MonitoringStatusDisabled, + "enabled": MonitoringStatusEnabled, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := MonitoringStatus(input) + return &out, nil +} + +type OrgCreationSource string + +const ( + OrgCreationSourceLIFTR OrgCreationSource = "LIFTR" + OrgCreationSourceNEWRELIC OrgCreationSource = "NEWRELIC" +) + +func PossibleValuesForOrgCreationSource() []string { + return []string{ + string(OrgCreationSourceLIFTR), + string(OrgCreationSourceNEWRELIC), + } +} + +func (s *OrgCreationSource) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseOrgCreationSource(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseOrgCreationSource(input string) (*OrgCreationSource, error) { + vals := map[string]OrgCreationSource{ + "liftr": OrgCreationSourceLIFTR, + "newrelic": OrgCreationSourceNEWRELIC, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := OrgCreationSource(input) + return &out, nil +} + +type ProvisioningState string + +const ( + ProvisioningStateAccepted ProvisioningState = "Accepted" + ProvisioningStateCanceled ProvisioningState = "Canceled" + ProvisioningStateCreating ProvisioningState = "Creating" + ProvisioningStateDeleted ProvisioningState = "Deleted" + ProvisioningStateDeleting ProvisioningState = "Deleting" + ProvisioningStateFailed ProvisioningState = "Failed" + ProvisioningStateNotSpecified ProvisioningState = "NotSpecified" + ProvisioningStateSucceeded ProvisioningState = "Succeeded" + ProvisioningStateUpdating ProvisioningState = "Updating" +) + +func PossibleValuesForProvisioningState() []string { + return []string{ + string(ProvisioningStateAccepted), + string(ProvisioningStateCanceled), + string(ProvisioningStateCreating), + string(ProvisioningStateDeleted), + string(ProvisioningStateDeleting), + string(ProvisioningStateFailed), + string(ProvisioningStateNotSpecified), + string(ProvisioningStateSucceeded), + string(ProvisioningStateUpdating), + } +} + +func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseProvisioningState(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseProvisioningState(input string) (*ProvisioningState, error) { + vals := map[string]ProvisioningState{ + "accepted": ProvisioningStateAccepted, + "canceled": ProvisioningStateCanceled, + "creating": ProvisioningStateCreating, + "deleted": ProvisioningStateDeleted, + "deleting": ProvisioningStateDeleting, + "failed": ProvisioningStateFailed, + "notspecified": ProvisioningStateNotSpecified, + "succeeded": ProvisioningStateSucceeded, + "updating": ProvisioningStateUpdating, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ProvisioningState(input) + return &out, nil +} + +type SendMetricsStatus string + +const ( + SendMetricsStatusDisabled SendMetricsStatus = "Disabled" + SendMetricsStatusEnabled SendMetricsStatus = "Enabled" +) + +func PossibleValuesForSendMetricsStatus() []string { + return []string{ + string(SendMetricsStatusDisabled), + string(SendMetricsStatusEnabled), + } +} + +func (s *SendMetricsStatus) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseSendMetricsStatus(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseSendMetricsStatus(input string) (*SendMetricsStatus, error) { + vals := map[string]SendMetricsStatus{ + "disabled": SendMetricsStatusDisabled, + "enabled": SendMetricsStatusEnabled, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := SendMetricsStatus(input) + return &out, nil +} + +type SendingLogsStatus string + +const ( + SendingLogsStatusDisabled SendingLogsStatus = "Disabled" + SendingLogsStatusEnabled SendingLogsStatus = "Enabled" +) + +func PossibleValuesForSendingLogsStatus() []string { + return []string{ + string(SendingLogsStatusDisabled), + string(SendingLogsStatusEnabled), + } +} + +func (s *SendingLogsStatus) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseSendingLogsStatus(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseSendingLogsStatus(input string) (*SendingLogsStatus, error) { + vals := map[string]SendingLogsStatus{ + "disabled": SendingLogsStatusDisabled, + "enabled": SendingLogsStatusEnabled, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := SendingLogsStatus(input) + return &out, nil +} + +type SendingMetricsStatus string + +const ( + SendingMetricsStatusDisabled SendingMetricsStatus = "Disabled" + SendingMetricsStatusEnabled SendingMetricsStatus = "Enabled" +) + +func PossibleValuesForSendingMetricsStatus() []string { + return []string{ + string(SendingMetricsStatusDisabled), + string(SendingMetricsStatusEnabled), + } +} + +func (s *SendingMetricsStatus) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseSendingMetricsStatus(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseSendingMetricsStatus(input string) (*SendingMetricsStatus, error) { + vals := map[string]SendingMetricsStatus{ + "disabled": SendingMetricsStatusDisabled, + "enabled": SendingMetricsStatusEnabled, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := SendingMetricsStatus(input) + return &out, nil +} + +type SingleSignOnStates string + +const ( + SingleSignOnStatesDisable SingleSignOnStates = "Disable" + SingleSignOnStatesEnable SingleSignOnStates = "Enable" + SingleSignOnStatesExisting SingleSignOnStates = "Existing" + SingleSignOnStatesInitial SingleSignOnStates = "Initial" +) + +func PossibleValuesForSingleSignOnStates() []string { + return []string{ + string(SingleSignOnStatesDisable), + string(SingleSignOnStatesEnable), + string(SingleSignOnStatesExisting), + string(SingleSignOnStatesInitial), + } +} + +func (s *SingleSignOnStates) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseSingleSignOnStates(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseSingleSignOnStates(input string) (*SingleSignOnStates, error) { + vals := map[string]SingleSignOnStates{ + "disable": SingleSignOnStatesDisable, + "enable": SingleSignOnStatesEnable, + "existing": SingleSignOnStatesExisting, + "initial": SingleSignOnStatesInitial, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := SingleSignOnStates(input) + return &out, nil +} + +type TagAction string + +const ( + TagActionExclude TagAction = "Exclude" + TagActionInclude TagAction = "Include" +) + +func PossibleValuesForTagAction() []string { + return []string{ + string(TagActionExclude), + string(TagActionInclude), + } +} + +func (s *TagAction) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseTagAction(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseTagAction(input string) (*TagAction, error) { + vals := map[string]TagAction{ + "exclude": TagActionExclude, + "include": TagActionInclude, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := TagAction(input) + return &out, nil +} + +type UsageType string + +const ( + UsageTypeCOMMITTED UsageType = "COMMITTED" + UsageTypePAYG UsageType = "PAYG" +) + +func PossibleValuesForUsageType() []string { + return []string{ + string(UsageTypeCOMMITTED), + string(UsageTypePAYG), + } +} + +func (s *UsageType) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseUsageType(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseUsageType(input string) (*UsageType, error) { + vals := map[string]UsageType{ + "committed": UsageTypeCOMMITTED, + "payg": UsageTypePAYG, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := UsageType(input) + return &out, nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/monitors/id_monitor.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/monitors/id_monitor.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/monitors/id_monitor.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/monitors/id_monitor.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/monitors/method_createorupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/monitors/method_createorupdate.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/monitors/method_createorupdate.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/monitors/method_createorupdate.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/monitors/method_delete.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/monitors/method_delete.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/monitors/method_delete.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/monitors/method_delete.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/monitors/method_get.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/monitors/method_get.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/monitors/method_get.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/monitors/method_get.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/monitors/method_getmetricrules.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/monitors/method_getmetricrules.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/monitors/method_getmetricrules.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/monitors/method_getmetricrules.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/monitors/method_getmetricstatus.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/monitors/method_getmetricstatus.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/monitors/method_getmetricstatus.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/monitors/method_getmetricstatus.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/monitors/method_listappservices.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/monitors/method_listappservices.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/monitors/method_listappservices.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/monitors/method_listappservices.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/monitors/method_listbyresourcegroup.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/monitors/method_listbyresourcegroup.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/monitors/method_listbyresourcegroup.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/monitors/method_listbyresourcegroup.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/monitors/method_listbysubscription.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/monitors/method_listbysubscription.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/monitors/method_listbysubscription.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/monitors/method_listbysubscription.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/monitors/method_listhosts.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/monitors/method_listhosts.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/monitors/method_listhosts.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/monitors/method_listhosts.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/monitors/method_listmonitoredresources.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/monitors/method_listmonitoredresources.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/monitors/method_listmonitoredresources.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/monitors/method_listmonitoredresources.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/monitors/method_switchbilling.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/monitors/method_switchbilling.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/monitors/method_switchbilling.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/monitors/method_switchbilling.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/monitors/method_update.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/monitors/method_update.go new file mode 100644 index 000000000000..25047657ef8a --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/monitors/method_update.go @@ -0,0 +1,75 @@ +package monitors + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/client/pollers" + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type UpdateOperationResponse struct { + Poller pollers.Poller + HttpResponse *http.Response + OData *odata.OData + Model *NewRelicMonitorResource +} + +// Update ... +func (c MonitorsClient) Update(ctx context.Context, id MonitorId, input NewRelicMonitorResourceUpdate) (result UpdateOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusAccepted, + http.StatusOK, + }, + HttpMethod: http.MethodPatch, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + if err = req.Marshal(input); err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client) + if err != nil { + return + } + + return +} + +// UpdateThenPoll performs Update then polls until it's completed +func (c MonitorsClient) UpdateThenPoll(ctx context.Context, id MonitorId, input NewRelicMonitorResourceUpdate) error { + result, err := c.Update(ctx, id, input) + if err != nil { + return fmt.Errorf("performing Update: %+v", err) + } + + if err := result.Poller.PollUntilDone(ctx); err != nil { + return fmt.Errorf("polling after Update: %+v", err) + } + + return nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/monitors/method_vmhostpayload.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/monitors/method_vmhostpayload.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/monitors/method_vmhostpayload.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/monitors/method_vmhostpayload.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/monitors/model_accountinfo.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/monitors/model_accountinfo.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/monitors/model_accountinfo.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/monitors/model_accountinfo.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/monitors/model_appserviceinfo.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/monitors/model_appserviceinfo.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/monitors/model_appserviceinfo.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/monitors/model_appserviceinfo.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/monitors/model_appservicesgetrequest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/monitors/model_appservicesgetrequest.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/monitors/model_appservicesgetrequest.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/monitors/model_appservicesgetrequest.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/monitors/model_filteringtag.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/monitors/model_filteringtag.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/monitors/model_filteringtag.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/monitors/model_filteringtag.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/monitors/model_hostsgetrequest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/monitors/model_hostsgetrequest.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/monitors/model_hostsgetrequest.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/monitors/model_hostsgetrequest.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/monitors/model_metricrules.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/monitors/model_metricrules.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/monitors/model_metricrules.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/monitors/model_metricrules.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/monitors/model_metricsrequest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/monitors/model_metricsrequest.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/monitors/model_metricsrequest.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/monitors/model_metricsrequest.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/monitors/model_metricsstatusrequest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/monitors/model_metricsstatusrequest.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/monitors/model_metricsstatusrequest.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/monitors/model_metricsstatusrequest.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/monitors/model_metricsstatusresponse.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/monitors/model_metricsstatusresponse.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/monitors/model_metricsstatusresponse.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/monitors/model_metricsstatusresponse.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/monitors/model_monitoredresource.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/monitors/model_monitoredresource.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/monitors/model_monitoredresource.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/monitors/model_monitoredresource.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/monitors/model_monitorproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/monitors/model_monitorproperties.go similarity index 86% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/monitors/model_monitorproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/monitors/model_monitorproperties.go index 6602eb89650d..8b11df3942be 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/monitors/model_monitorproperties.go +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/monitors/model_monitorproperties.go @@ -14,5 +14,7 @@ type MonitorProperties struct { OrgCreationSource *OrgCreationSource `json:"orgCreationSource,omitempty"` PlanData *PlanData `json:"planData,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + SaaSAzureSubscriptionStatus *string `json:"saaSAzureSubscriptionStatus,omitempty"` + SubscriptionState *string `json:"subscriptionState,omitempty"` UserInfo *UserInfo `json:"userInfo,omitempty"` } diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/monitors/model_newrelicaccountproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/monitors/model_newrelicaccountproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/monitors/model_newrelicaccountproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/monitors/model_newrelicaccountproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/monitors/model_newrelicmonitorresource.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/monitors/model_newrelicmonitorresource.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/monitors/model_newrelicmonitorresource.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/monitors/model_newrelicmonitorresource.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/monitors/model_newrelicmonitorresourceupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/monitors/model_newrelicmonitorresourceupdate.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/monitors/model_newrelicmonitorresourceupdate.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/monitors/model_newrelicmonitorresourceupdate.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/monitors/model_newrelicmonitorresourceupdateproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/monitors/model_newrelicmonitorresourceupdateproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/monitors/model_newrelicmonitorresourceupdateproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/monitors/model_newrelicmonitorresourceupdateproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/monitors/model_newrelicsinglesignonproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/monitors/model_newrelicsinglesignonproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/monitors/model_newrelicsinglesignonproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/monitors/model_newrelicsinglesignonproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/monitors/model_organizationinfo.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/monitors/model_organizationinfo.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/monitors/model_organizationinfo.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/monitors/model_organizationinfo.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/monitors/model_plandata.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/monitors/model_plandata.go new file mode 100644 index 000000000000..fcbde7dcb5ab --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/monitors/model_plandata.go @@ -0,0 +1,29 @@ +package monitors + +import ( + "time" + + "github.com/hashicorp/go-azure-helpers/lang/dates" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PlanData struct { + BillingCycle *string `json:"billingCycle,omitempty"` + EffectiveDate *string `json:"effectiveDate,omitempty"` + PlanDetails *string `json:"planDetails,omitempty"` + UsageType *UsageType `json:"usageType,omitempty"` +} + +func (o *PlanData) GetEffectiveDateAsTime() (*time.Time, error) { + if o.EffectiveDate == nil { + return nil, nil + } + return dates.ParseAsFormat(o.EffectiveDate, "2006-01-02T15:04:05Z07:00") +} + +func (o *PlanData) SetEffectiveDateAsTime(input time.Time) { + formatted := input.Format("2006-01-02T15:04:05Z07:00") + o.EffectiveDate = &formatted +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/monitors/model_switchbillingrequest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/monitors/model_switchbillingrequest.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/monitors/model_switchbillingrequest.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/monitors/model_switchbillingrequest.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/monitors/model_userinfo.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/monitors/model_userinfo.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/monitors/model_userinfo.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/monitors/model_userinfo.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/monitors/model_vmextensionpayload.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/monitors/model_vmextensionpayload.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/monitors/model_vmextensionpayload.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/monitors/model_vmextensionpayload.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/monitors/model_vminfo.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/monitors/model_vminfo.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/monitors/model_vminfo.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/monitors/model_vminfo.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/monitors/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/monitors/predicates.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/monitors/predicates.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/monitors/predicates.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/monitors/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/monitors/version.go new file mode 100644 index 000000000000..bc61e41f42d4 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/monitors/version.go @@ -0,0 +1,10 @@ +package monitors + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2024-03-01" + +func userAgent() string { + return "hashicorp/go-azure-sdk/monitors/2024-03-01" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/tagrules/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/tagrules/README.md new file mode 100644 index 000000000000..55d61646d58a --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/tagrules/README.md @@ -0,0 +1,103 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/tagrules` Documentation + +The `tagrules` SDK allows for interaction with Azure Resource Manager `newrelic` (API Version `2024-03-01`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/tagrules" +``` + + +### Client Initialization + +```go +client := tagrules.NewTagRulesClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `TagRulesClient.CreateOrUpdate` + +```go +ctx := context.TODO() +id := tagrules.NewTagRuleID("12345678-1234-9876-4563-123456789012", "example-resource-group", "monitorName", "tagRuleName") + +payload := tagrules.TagRule{ + // ... +} + + +if err := client.CreateOrUpdateThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `TagRulesClient.Delete` + +```go +ctx := context.TODO() +id := tagrules.NewTagRuleID("12345678-1234-9876-4563-123456789012", "example-resource-group", "monitorName", "tagRuleName") + +if err := client.DeleteThenPoll(ctx, id); err != nil { + // handle the error +} +``` + + +### Example Usage: `TagRulesClient.Get` + +```go +ctx := context.TODO() +id := tagrules.NewTagRuleID("12345678-1234-9876-4563-123456789012", "example-resource-group", "monitorName", "tagRuleName") + +read, err := client.Get(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `TagRulesClient.ListByNewRelicMonitorResource` + +```go +ctx := context.TODO() +id := tagrules.NewMonitorID("12345678-1234-9876-4563-123456789012", "example-resource-group", "monitorName") + +// alternatively `client.ListByNewRelicMonitorResource(ctx, id)` can be used to do batched pagination +items, err := client.ListByNewRelicMonitorResourceComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `TagRulesClient.Update` + +```go +ctx := context.TODO() +id := tagrules.NewTagRuleID("12345678-1234-9876-4563-123456789012", "example-resource-group", "monitorName", "tagRuleName") + +payload := tagrules.TagRuleUpdate{ + // ... +} + + +read, err := client.Update(ctx, id, payload) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/tagrules/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/tagrules/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/tagrules/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/tagrules/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/tagrules/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/tagrules/constants.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/tagrules/constants.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/tagrules/constants.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/tagrules/id_monitor.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/tagrules/id_monitor.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/tagrules/id_monitor.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/tagrules/id_monitor.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/tagrules/id_tagrule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/tagrules/id_tagrule.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/tagrules/id_tagrule.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/tagrules/id_tagrule.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/tagrules/method_createorupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/tagrules/method_createorupdate.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/tagrules/method_createorupdate.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/tagrules/method_createorupdate.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/tagrules/method_delete.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/tagrules/method_delete.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/tagrules/method_delete.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/tagrules/method_delete.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/tagrules/method_get.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/tagrules/method_get.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/tagrules/method_get.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/tagrules/method_get.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/tagrules/method_listbynewrelicmonitorresource.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/tagrules/method_listbynewrelicmonitorresource.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/tagrules/method_listbynewrelicmonitorresource.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/tagrules/method_listbynewrelicmonitorresource.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/tagrules/method_update.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/tagrules/method_update.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/tagrules/method_update.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/tagrules/method_update.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/tagrules/model_filteringtag.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/tagrules/model_filteringtag.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/tagrules/model_filteringtag.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/tagrules/model_filteringtag.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/tagrules/model_logrules.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/tagrules/model_logrules.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/tagrules/model_logrules.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/tagrules/model_logrules.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/tagrules/model_metricrules.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/tagrules/model_metricrules.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/tagrules/model_metricrules.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/tagrules/model_metricrules.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/tagrules/model_monitoringtagrulesproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/tagrules/model_monitoringtagrulesproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/tagrules/model_monitoringtagrulesproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/tagrules/model_monitoringtagrulesproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/tagrules/model_tagrule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/tagrules/model_tagrule.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/tagrules/model_tagrule.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/tagrules/model_tagrule.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/tagrules/model_tagruleupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/tagrules/model_tagruleupdate.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/tagrules/model_tagruleupdate.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/tagrules/model_tagruleupdate.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/tagrules/model_tagruleupdateproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/tagrules/model_tagruleupdateproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/tagrules/model_tagruleupdateproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/tagrules/model_tagruleupdateproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/tagrules/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/tagrules/predicates.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/tagrules/predicates.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/tagrules/predicates.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/tagrules/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/tagrules/version.go new file mode 100644 index 000000000000..71dc84942b07 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/tagrules/version.go @@ -0,0 +1,10 @@ +package tagrules + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2024-03-01" + +func userAgent() string { + return "hashicorp/go-azure-sdk/tagrules/2024-03-01" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/oracledatabase/2024-06-01/autonomousdatabasecharactersets/model_autonomousdatabasecharactersetproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/oracledatabase/2024-06-01/autonomousdatabasecharactersets/model_autonomousdatabasecharactersetproperties.go index 901e37d3b140..7be031b5131a 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/oracledatabase/2024-06-01/autonomousdatabasecharactersets/model_autonomousdatabasecharactersetproperties.go +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/oracledatabase/2024-06-01/autonomousdatabasecharactersets/model_autonomousdatabasecharactersetproperties.go @@ -4,5 +4,5 @@ package autonomousdatabasecharactersets // Licensed under the MIT License. See NOTICE.txt in the project root for license information. type AutonomousDatabaseCharacterSetProperties struct { - CharacterSet *string `json:"characterSet,omitempty"` + CharacterSet string `json:"characterSet"` } diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/oracledatabase/2024-06-01/autonomousdatabasenationalcharactersets/model_autonomousdatabasenationalcharactersetproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/oracledatabase/2024-06-01/autonomousdatabasenationalcharactersets/model_autonomousdatabasenationalcharactersetproperties.go index 075fdf79954a..f55ed168e3f8 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/oracledatabase/2024-06-01/autonomousdatabasenationalcharactersets/model_autonomousdatabasenationalcharactersetproperties.go +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/oracledatabase/2024-06-01/autonomousdatabasenationalcharactersets/model_autonomousdatabasenationalcharactersetproperties.go @@ -4,5 +4,5 @@ package autonomousdatabasenationalcharactersets // Licensed under the MIT License. See NOTICE.txt in the project root for license information. type AutonomousDatabaseNationalCharacterSetProperties struct { - CharacterSet *string `json:"characterSet,omitempty"` + CharacterSet string `json:"characterSet"` } diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/oracledatabase/2024-06-01/autonomousdatabaseversions/model_autonomousdbversionproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/oracledatabase/2024-06-01/autonomousdatabaseversions/model_autonomousdbversionproperties.go index 0a7cad672e79..a3d0639949b6 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/oracledatabase/2024-06-01/autonomousdatabaseversions/model_autonomousdbversionproperties.go +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/oracledatabase/2024-06-01/autonomousdatabaseversions/model_autonomousdbversionproperties.go @@ -9,5 +9,5 @@ type AutonomousDbVersionProperties struct { IsDefaultForPaid *bool `json:"isDefaultForPaid,omitempty"` IsFreeTierEnabled *bool `json:"isFreeTierEnabled,omitempty"` IsPaidEnabled *bool `json:"isPaidEnabled,omitempty"` - Version *string `json:"version,omitempty"` + Version string `json:"version"` } diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/oracledatabase/2024-06-01/dbnodes/model_dbnodeproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/oracledatabase/2024-06-01/dbnodes/model_dbnodeproperties.go index 57c6546805b9..f8ed526badb5 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/oracledatabase/2024-06-01/dbnodes/model_dbnodeproperties.go +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/oracledatabase/2024-06-01/dbnodes/model_dbnodeproperties.go @@ -17,34 +17,31 @@ type DbNodeProperties struct { CpuCoreCount *int64 `json:"cpuCoreCount,omitempty"` DbNodeStorageSizeInGbs *int64 `json:"dbNodeStorageSizeInGbs,omitempty"` DbServerId *string `json:"dbServerId,omitempty"` - DbSystemId *string `json:"dbSystemId,omitempty"` + DbSystemId string `json:"dbSystemId"` FaultDomain *string `json:"faultDomain,omitempty"` HostIPId *string `json:"hostIpId,omitempty"` Hostname *string `json:"hostname,omitempty"` LifecycleDetails *string `json:"lifecycleDetails,omitempty"` - LifecycleState *DbNodeProvisioningState `json:"lifecycleState,omitempty"` + LifecycleState DbNodeProvisioningState `json:"lifecycleState"` MaintenanceType *DbNodeMaintenanceType `json:"maintenanceType,omitempty"` MemorySizeInGbs *int64 `json:"memorySizeInGbs,omitempty"` - Ocid *string `json:"ocid,omitempty"` + Ocid string `json:"ocid"` ProvisioningState *ResourceProvisioningState `json:"provisioningState,omitempty"` SoftwareStorageSizeInGb *int64 `json:"softwareStorageSizeInGb,omitempty"` - TimeCreated *string `json:"timeCreated,omitempty"` + TimeCreated string `json:"timeCreated"` TimeMaintenanceWindowEnd *string `json:"timeMaintenanceWindowEnd,omitempty"` TimeMaintenanceWindowStart *string `json:"timeMaintenanceWindowStart,omitempty"` Vnic2Id *string `json:"vnic2Id,omitempty"` - VnicId *string `json:"vnicId,omitempty"` + VnicId string `json:"vnicId"` } func (o *DbNodeProperties) GetTimeCreatedAsTime() (*time.Time, error) { - if o.TimeCreated == nil { - return nil, nil - } - return dates.ParseAsFormat(o.TimeCreated, "2006-01-02T15:04:05Z07:00") + return dates.ParseAsFormat(&o.TimeCreated, "2006-01-02T15:04:05Z07:00") } func (o *DbNodeProperties) SetTimeCreatedAsTime(input time.Time) { formatted := input.Format("2006-01-02T15:04:05Z07:00") - o.TimeCreated = &formatted + o.TimeCreated = formatted } func (o *DbNodeProperties) GetTimeMaintenanceWindowEndAsTime() (*time.Time, error) { diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/oracledatabase/2024-06-01/dbsystemshapes/model_dbsystemshapeproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/oracledatabase/2024-06-01/dbsystemshapes/model_dbsystemshapeproperties.go index a7642317091f..126cec39c376 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/oracledatabase/2024-06-01/dbsystemshapes/model_dbsystemshapeproperties.go +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/oracledatabase/2024-06-01/dbsystemshapes/model_dbsystemshapeproperties.go @@ -4,7 +4,7 @@ package dbsystemshapes // Licensed under the MIT License. See NOTICE.txt in the project root for license information. type DbSystemShapeProperties struct { - AvailableCoreCount *int64 `json:"availableCoreCount,omitempty"` + AvailableCoreCount int64 `json:"availableCoreCount"` AvailableCoreCountPerNode *int64 `json:"availableCoreCountPerNode,omitempty"` AvailableDataStorageInTbs *int64 `json:"availableDataStorageInTbs,omitempty"` AvailableDataStoragePerServerInTbs *float64 `json:"availableDataStoragePerServerInTbs,omitempty"` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/oracledatabase/2024-06-01/dnsprivateviews/model_dnsprivateviewproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/oracledatabase/2024-06-01/dnsprivateviews/model_dnsprivateviewproperties.go index 40cd3cf0a934..6f06446ebce9 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/oracledatabase/2024-06-01/dnsprivateviews/model_dnsprivateviewproperties.go +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/oracledatabase/2024-06-01/dnsprivateviews/model_dnsprivateviewproperties.go @@ -10,36 +10,30 @@ import ( // Licensed under the MIT License. See NOTICE.txt in the project root for license information. type DnsPrivateViewProperties struct { - DisplayName *string `json:"displayName,omitempty"` - IsProtected *bool `json:"isProtected,omitempty"` - LifecycleState *DnsPrivateViewsLifecycleState `json:"lifecycleState,omitempty"` - Ocid *string `json:"ocid,omitempty"` - ProvisioningState *ResourceProvisioningState `json:"provisioningState,omitempty"` - Self *string `json:"self,omitempty"` - TimeCreated *string `json:"timeCreated,omitempty"` - TimeUpdated *string `json:"timeUpdated,omitempty"` + DisplayName string `json:"displayName"` + IsProtected bool `json:"isProtected"` + LifecycleState DnsPrivateViewsLifecycleState `json:"lifecycleState"` + Ocid string `json:"ocid"` + ProvisioningState *ResourceProvisioningState `json:"provisioningState,omitempty"` + Self string `json:"self"` + TimeCreated string `json:"timeCreated"` + TimeUpdated string `json:"timeUpdated"` } func (o *DnsPrivateViewProperties) GetTimeCreatedAsTime() (*time.Time, error) { - if o.TimeCreated == nil { - return nil, nil - } - return dates.ParseAsFormat(o.TimeCreated, "2006-01-02T15:04:05Z07:00") + return dates.ParseAsFormat(&o.TimeCreated, "2006-01-02T15:04:05Z07:00") } func (o *DnsPrivateViewProperties) SetTimeCreatedAsTime(input time.Time) { formatted := input.Format("2006-01-02T15:04:05Z07:00") - o.TimeCreated = &formatted + o.TimeCreated = formatted } func (o *DnsPrivateViewProperties) GetTimeUpdatedAsTime() (*time.Time, error) { - if o.TimeUpdated == nil { - return nil, nil - } - return dates.ParseAsFormat(o.TimeUpdated, "2006-01-02T15:04:05Z07:00") + return dates.ParseAsFormat(&o.TimeUpdated, "2006-01-02T15:04:05Z07:00") } func (o *DnsPrivateViewProperties) SetTimeUpdatedAsTime(input time.Time) { formatted := input.Format("2006-01-02T15:04:05Z07:00") - o.TimeUpdated = &formatted + o.TimeUpdated = formatted } diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/oracledatabase/2024-06-01/dnsprivatezones/model_dnsprivatezoneproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/oracledatabase/2024-06-01/dnsprivatezones/model_dnsprivatezoneproperties.go index 680bff102fe7..5c84986be864 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/oracledatabase/2024-06-01/dnsprivatezones/model_dnsprivatezoneproperties.go +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/oracledatabase/2024-06-01/dnsprivatezones/model_dnsprivatezoneproperties.go @@ -10,26 +10,23 @@ import ( // Licensed under the MIT License. See NOTICE.txt in the project root for license information. type DnsPrivateZoneProperties struct { - IsProtected *bool `json:"isProtected,omitempty"` - LifecycleState *DnsPrivateZonesLifecycleState `json:"lifecycleState,omitempty"` - Ocid *string `json:"ocid,omitempty"` - ProvisioningState *ResourceProvisioningState `json:"provisioningState,omitempty"` - Self *string `json:"self,omitempty"` - Serial *int64 `json:"serial,omitempty"` - TimeCreated *string `json:"timeCreated,omitempty"` - Version *string `json:"version,omitempty"` - ViewId *string `json:"viewId,omitempty"` - ZoneType *ZoneType `json:"zoneType,omitempty"` + IsProtected bool `json:"isProtected"` + LifecycleState DnsPrivateZonesLifecycleState `json:"lifecycleState"` + Ocid string `json:"ocid"` + ProvisioningState *ResourceProvisioningState `json:"provisioningState,omitempty"` + Self string `json:"self"` + Serial int64 `json:"serial"` + TimeCreated string `json:"timeCreated"` + Version string `json:"version"` + ViewId *string `json:"viewId,omitempty"` + ZoneType ZoneType `json:"zoneType"` } func (o *DnsPrivateZoneProperties) GetTimeCreatedAsTime() (*time.Time, error) { - if o.TimeCreated == nil { - return nil, nil - } - return dates.ParseAsFormat(o.TimeCreated, "2006-01-02T15:04:05Z07:00") + return dates.ParseAsFormat(&o.TimeCreated, "2006-01-02T15:04:05Z07:00") } func (o *DnsPrivateZoneProperties) SetTimeCreatedAsTime(input time.Time) { formatted := input.Format("2006-01-02T15:04:05Z07:00") - o.TimeCreated = &formatted + o.TimeCreated = formatted } diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/oracledatabase/2024-06-01/giversions/model_giversionproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/oracledatabase/2024-06-01/giversions/model_giversionproperties.go index ca86e602826a..0a54f3aaee23 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/oracledatabase/2024-06-01/giversions/model_giversionproperties.go +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/oracledatabase/2024-06-01/giversions/model_giversionproperties.go @@ -4,5 +4,5 @@ package giversions // Licensed under the MIT License. See NOTICE.txt in the project root for license information. type GiVersionProperties struct { - Version *string `json:"version,omitempty"` + Version string `json:"version"` } diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/oracledatabase/2024-06-01/systemversions/model_systemversionproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/oracledatabase/2024-06-01/systemversions/model_systemversionproperties.go index 5eda04761332..2684d8672adb 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/oracledatabase/2024-06-01/systemversions/model_systemversionproperties.go +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/oracledatabase/2024-06-01/systemversions/model_systemversionproperties.go @@ -4,5 +4,5 @@ package systemversions // Licensed under the MIT License. See NOTICE.txt in the project root for license information. type SystemVersionProperties struct { - SystemVersion *string `json:"systemVersion,omitempty"` + SystemVersion string `json:"systemVersion"` } diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/videoindexer/2024-01-01/accounts/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/videoindexer/2024-01-01/accounts/README.md new file mode 100644 index 000000000000..6729c067f2f7 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/videoindexer/2024-01-01/accounts/README.md @@ -0,0 +1,129 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/videoindexer/2024-01-01/accounts` Documentation + +The `accounts` SDK allows for interaction with Azure Resource Manager `videoindexer` (API Version `2024-01-01`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" +import "github.com/hashicorp/go-azure-sdk/resource-manager/videoindexer/2024-01-01/accounts" +``` + + +### Client Initialization + +```go +client := accounts.NewAccountsClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `AccountsClient.CreateOrUpdate` + +```go +ctx := context.TODO() +id := accounts.NewAccountID("12345678-1234-9876-4563-123456789012", "example-resource-group", "accountName") + +payload := accounts.Account{ + // ... +} + + +read, err := client.CreateOrUpdate(ctx, id, payload) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `AccountsClient.Delete` + +```go +ctx := context.TODO() +id := accounts.NewAccountID("12345678-1234-9876-4563-123456789012", "example-resource-group", "accountName") + +read, err := client.Delete(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `AccountsClient.Get` + +```go +ctx := context.TODO() +id := accounts.NewAccountID("12345678-1234-9876-4563-123456789012", "example-resource-group", "accountName") + +read, err := client.Get(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + +### Example Usage: `AccountsClient.List` + +```go +ctx := context.TODO() +id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012") + +// alternatively `client.List(ctx, id)` can be used to do batched pagination +items, err := client.ListComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `AccountsClient.ListByResourceGroup` + +```go +ctx := context.TODO() +id := commonids.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group") + +// alternatively `client.ListByResourceGroup(ctx, id)` can be used to do batched pagination +items, err := client.ListByResourceGroupComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `AccountsClient.Update` + +```go +ctx := context.TODO() +id := accounts.NewAccountID("12345678-1234-9876-4563-123456789012", "example-resource-group", "accountName") + +payload := accounts.AccountPatch{ + // ... +} + + +read, err := client.Update(ctx, id, payload) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/videoindexer/2024-01-01/accounts/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/videoindexer/2024-01-01/accounts/client.go new file mode 100644 index 000000000000..98743867a015 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/videoindexer/2024-01-01/accounts/client.go @@ -0,0 +1,26 @@ +package accounts + +import ( + "fmt" + + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + sdkEnv "github.com/hashicorp/go-azure-sdk/sdk/environments" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type AccountsClient struct { + Client *resourcemanager.Client +} + +func NewAccountsClientWithBaseURI(sdkApi sdkEnv.Api) (*AccountsClient, error) { + client, err := resourcemanager.NewClient(sdkApi, "accounts", defaultApiVersion) + if err != nil { + return nil, fmt.Errorf("instantiating AccountsClient: %+v", err) + } + + return &AccountsClient{ + Client: client, + }, nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/videoindexer/2024-01-01/accounts/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/videoindexer/2024-01-01/accounts/constants.go new file mode 100644 index 000000000000..dec5906f2e35 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/videoindexer/2024-01-01/accounts/constants.go @@ -0,0 +1,63 @@ +package accounts + +import ( + "encoding/json" + "fmt" + "strings" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ProvisioningState string + +const ( + ProvisioningStateAccepted ProvisioningState = "Accepted" + ProvisioningStateCanceled ProvisioningState = "Canceled" + ProvisioningStateDeleting ProvisioningState = "Deleting" + ProvisioningStateFailed ProvisioningState = "Failed" + ProvisioningStateProvisioning ProvisioningState = "Provisioning" + ProvisioningStateSucceeded ProvisioningState = "Succeeded" +) + +func PossibleValuesForProvisioningState() []string { + return []string{ + string(ProvisioningStateAccepted), + string(ProvisioningStateCanceled), + string(ProvisioningStateDeleting), + string(ProvisioningStateFailed), + string(ProvisioningStateProvisioning), + string(ProvisioningStateSucceeded), + } +} + +func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseProvisioningState(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseProvisioningState(input string) (*ProvisioningState, error) { + vals := map[string]ProvisioningState{ + "accepted": ProvisioningStateAccepted, + "canceled": ProvisioningStateCanceled, + "deleting": ProvisioningStateDeleting, + "failed": ProvisioningStateFailed, + "provisioning": ProvisioningStateProvisioning, + "succeeded": ProvisioningStateSucceeded, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ProvisioningState(input) + return &out, nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/videoindexer/2024-01-01/accounts/id_account.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/videoindexer/2024-01-01/accounts/id_account.go new file mode 100644 index 000000000000..a157e0c06333 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/videoindexer/2024-01-01/accounts/id_account.go @@ -0,0 +1,130 @@ +package accounts + +import ( + "fmt" + "strings" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/recaser" + "github.com/hashicorp/go-azure-helpers/resourcemanager/resourceids" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +func init() { + recaser.RegisterResourceId(&AccountId{}) +} + +var _ resourceids.ResourceId = &AccountId{} + +// AccountId is a struct representing the Resource ID for a Account +type AccountId struct { + SubscriptionId string + ResourceGroupName string + AccountName string +} + +// NewAccountID returns a new AccountId struct +func NewAccountID(subscriptionId string, resourceGroupName string, accountName string) AccountId { + return AccountId{ + SubscriptionId: subscriptionId, + ResourceGroupName: resourceGroupName, + AccountName: accountName, + } +} + +// ParseAccountID parses 'input' into a AccountId +func ParseAccountID(input string) (*AccountId, error) { + parser := resourceids.NewParserFromResourceIdType(&AccountId{}) + parsed, err := parser.Parse(input, false) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := AccountId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +// ParseAccountIDInsensitively parses 'input' case-insensitively into a AccountId +// note: this method should only be used for API response data and not user input +func ParseAccountIDInsensitively(input string) (*AccountId, error) { + parser := resourceids.NewParserFromResourceIdType(&AccountId{}) + parsed, err := parser.Parse(input, true) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := AccountId{} + if err = id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +func (id *AccountId) FromParseResult(input resourceids.ParseResult) error { + var ok bool + + if id.SubscriptionId, ok = input.Parsed["subscriptionId"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "subscriptionId", input) + } + + if id.ResourceGroupName, ok = input.Parsed["resourceGroupName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "resourceGroupName", input) + } + + if id.AccountName, ok = input.Parsed["accountName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "accountName", input) + } + + return nil +} + +// ValidateAccountID checks that 'input' can be parsed as a Account ID +func ValidateAccountID(input interface{}, key string) (warnings []string, errors []error) { + v, ok := input.(string) + if !ok { + errors = append(errors, fmt.Errorf("expected %q to be a string", key)) + return + } + + if _, err := ParseAccountID(v); err != nil { + errors = append(errors, err) + } + + return +} + +// ID returns the formatted Account ID +func (id AccountId) ID() string { + fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.VideoIndexer/accounts/%s" + return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.AccountName) +} + +// Segments returns a slice of Resource ID Segments which comprise this Account ID +func (id AccountId) Segments() []resourceids.Segment { + return []resourceids.Segment{ + resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), + resourceids.SubscriptionIdSegment("subscriptionId", "12345678-1234-9876-4563-123456789012"), + resourceids.StaticSegment("staticResourceGroups", "resourceGroups", "resourceGroups"), + resourceids.ResourceGroupSegment("resourceGroupName", "example-resource-group"), + resourceids.StaticSegment("staticProviders", "providers", "providers"), + resourceids.ResourceProviderSegment("staticMicrosoftVideoIndexer", "Microsoft.VideoIndexer", "Microsoft.VideoIndexer"), + resourceids.StaticSegment("staticAccounts", "accounts", "accounts"), + resourceids.UserSpecifiedSegment("accountName", "accountName"), + } +} + +// String returns a human-readable description of this Account ID +func (id AccountId) String() string { + components := []string{ + fmt.Sprintf("Subscription: %q", id.SubscriptionId), + fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), + fmt.Sprintf("Account Name: %q", id.AccountName), + } + return fmt.Sprintf("Account (%s)", strings.Join(components, "\n")) +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/videoindexer/2024-01-01/accounts/method_createorupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/videoindexer/2024-01-01/accounts/method_createorupdate.go new file mode 100644 index 000000000000..81dec8fdd4f8 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/videoindexer/2024-01-01/accounts/method_createorupdate.go @@ -0,0 +1,58 @@ +package accounts + +import ( + "context" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type CreateOrUpdateOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *Account +} + +// CreateOrUpdate ... +func (c AccountsClient) CreateOrUpdate(ctx context.Context, id AccountId, input Account) (result CreateOrUpdateOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusCreated, + http.StatusOK, + }, + HttpMethod: http.MethodPut, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + if err = req.Marshal(input); err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var model Account + result.Model = &model + if err = resp.Unmarshal(result.Model); err != nil { + return + } + + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/videoindexer/2024-01-01/accounts/method_delete.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/videoindexer/2024-01-01/accounts/method_delete.go new file mode 100644 index 000000000000..f17e64b86dd6 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/videoindexer/2024-01-01/accounts/method_delete.go @@ -0,0 +1,48 @@ +package accounts + +import ( + "context" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type DeleteOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData +} + +// Delete ... +func (c AccountsClient) Delete(ctx context.Context, id AccountId) (result DeleteOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusAccepted, + http.StatusNoContent, + http.StatusOK, + }, + HttpMethod: http.MethodDelete, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/videoindexer/2024-01-01/accounts/method_get.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/videoindexer/2024-01-01/accounts/method_get.go new file mode 100644 index 000000000000..f8809d82ac1d --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/videoindexer/2024-01-01/accounts/method_get.go @@ -0,0 +1,53 @@ +package accounts + +import ( + "context" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type GetOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *Account +} + +// Get ... +func (c AccountsClient) Get(ctx context.Context, id AccountId) (result GetOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var model Account + result.Model = &model + if err = resp.Unmarshal(result.Model); err != nil { + return + } + + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/videoindexer/2024-01-01/accounts/method_list.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/videoindexer/2024-01-01/accounts/method_list.go new file mode 100644 index 000000000000..609663a35b61 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/videoindexer/2024-01-01/accounts/method_list.go @@ -0,0 +1,106 @@ +package accounts + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ListOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *[]Account +} + +type ListCompleteResult struct { + LatestHttpResponse *http.Response + Items []Account +} + +type ListCustomPager struct { + NextLink *odata.Link `json:"nextLink"` +} + +func (p *ListCustomPager) NextPageLink() *odata.Link { + defer func() { + p.NextLink = nil + }() + + return p.NextLink +} + +// List ... +func (c AccountsClient) List(ctx context.Context, id commonids.SubscriptionId) (result ListOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Pager: &ListCustomPager{}, + Path: fmt.Sprintf("%s/providers/Microsoft.VideoIndexer/accounts", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.ExecutePaged(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var values struct { + Values *[]Account `json:"value"` + } + if err = resp.Unmarshal(&values); err != nil { + return + } + + result.Model = values.Values + + return +} + +// ListComplete retrieves all the results into a single object +func (c AccountsClient) ListComplete(ctx context.Context, id commonids.SubscriptionId) (ListCompleteResult, error) { + return c.ListCompleteMatchingPredicate(ctx, id, AccountOperationPredicate{}) +} + +// ListCompleteMatchingPredicate retrieves all the results and then applies the predicate +func (c AccountsClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate AccountOperationPredicate) (result ListCompleteResult, err error) { + items := make([]Account, 0) + + resp, err := c.List(ctx, id) + if err != nil { + result.LatestHttpResponse = resp.HttpResponse + err = fmt.Errorf("loading results: %+v", err) + return + } + if resp.Model != nil { + for _, v := range *resp.Model { + if predicate.Matches(v) { + items = append(items, v) + } + } + } + + result = ListCompleteResult{ + LatestHttpResponse: resp.HttpResponse, + Items: items, + } + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/videoindexer/2024-01-01/accounts/method_listbyresourcegroup.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/videoindexer/2024-01-01/accounts/method_listbyresourcegroup.go new file mode 100644 index 000000000000..38e5364c0b6f --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/videoindexer/2024-01-01/accounts/method_listbyresourcegroup.go @@ -0,0 +1,106 @@ +package accounts + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ListByResourceGroupOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *[]Account +} + +type ListByResourceGroupCompleteResult struct { + LatestHttpResponse *http.Response + Items []Account +} + +type ListByResourceGroupCustomPager struct { + NextLink *odata.Link `json:"nextLink"` +} + +func (p *ListByResourceGroupCustomPager) NextPageLink() *odata.Link { + defer func() { + p.NextLink = nil + }() + + return p.NextLink +} + +// ListByResourceGroup ... +func (c AccountsClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListByResourceGroupOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Pager: &ListByResourceGroupCustomPager{}, + Path: fmt.Sprintf("%s/providers/Microsoft.VideoIndexer/accounts", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.ExecutePaged(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var values struct { + Values *[]Account `json:"value"` + } + if err = resp.Unmarshal(&values); err != nil { + return + } + + result.Model = values.Values + + return +} + +// ListByResourceGroupComplete retrieves all the results into a single object +func (c AccountsClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error) { + return c.ListByResourceGroupCompleteMatchingPredicate(ctx, id, AccountOperationPredicate{}) +} + +// ListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate +func (c AccountsClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate AccountOperationPredicate) (result ListByResourceGroupCompleteResult, err error) { + items := make([]Account, 0) + + resp, err := c.ListByResourceGroup(ctx, id) + if err != nil { + result.LatestHttpResponse = resp.HttpResponse + err = fmt.Errorf("loading results: %+v", err) + return + } + if resp.Model != nil { + for _, v := range *resp.Model { + if predicate.Matches(v) { + items = append(items, v) + } + } + } + + result = ListByResourceGroupCompleteResult{ + LatestHttpResponse: resp.HttpResponse, + Items: items, + } + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/videoindexer/2024-01-01/accounts/method_update.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/videoindexer/2024-01-01/accounts/method_update.go new file mode 100644 index 000000000000..ab275b882800 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/videoindexer/2024-01-01/accounts/method_update.go @@ -0,0 +1,57 @@ +package accounts + +import ( + "context" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type UpdateOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *Account +} + +// Update ... +func (c AccountsClient) Update(ctx context.Context, id AccountId, input AccountPatch) (result UpdateOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodPatch, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + if err = req.Marshal(input); err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var model Account + result.Model = &model + if err = resp.Unmarshal(result.Model); err != nil { + return + } + + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/videoindexer/2024-01-01/accounts/model_account.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/videoindexer/2024-01-01/accounts/model_account.go new file mode 100644 index 000000000000..2f829055165d --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/videoindexer/2024-01-01/accounts/model_account.go @@ -0,0 +1,20 @@ +package accounts + +import ( + "github.com/hashicorp/go-azure-helpers/resourcemanager/identity" + "github.com/hashicorp/go-azure-helpers/resourcemanager/systemdata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type Account struct { + Id *string `json:"id,omitempty"` + Identity *identity.LegacySystemAndUserAssignedMap `json:"identity,omitempty"` + Location string `json:"location"` + Name *string `json:"name,omitempty"` + Properties *AccountPropertiesForPutRequest `json:"properties,omitempty"` + SystemData *systemdata.SystemData `json:"systemData,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/videoindexer/2024-01-01/accounts/model_accountpatch.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/videoindexer/2024-01-01/accounts/model_accountpatch.go new file mode 100644 index 000000000000..a1992e3760ae --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/videoindexer/2024-01-01/accounts/model_accountpatch.go @@ -0,0 +1,14 @@ +package accounts + +import ( + "github.com/hashicorp/go-azure-helpers/resourcemanager/identity" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type AccountPatch struct { + Identity *identity.LegacySystemAndUserAssignedMap `json:"identity,omitempty"` + Properties *AccountPropertiesForPatchRequest `json:"properties,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/videoindexer/2024-01-01/accounts/model_accountpropertiesforpatchrequest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/videoindexer/2024-01-01/accounts/model_accountpropertiesforpatchrequest.go new file mode 100644 index 000000000000..0b0a152ad4c9 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/videoindexer/2024-01-01/accounts/model_accountpropertiesforpatchrequest.go @@ -0,0 +1,11 @@ +package accounts + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type AccountPropertiesForPatchRequest struct { + AccountId *string `json:"accountId,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + StorageServices *StorageServicesForPatchRequest `json:"storageServices,omitempty"` + TenantId *string `json:"tenantId,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/videoindexer/2024-01-01/accounts/model_accountpropertiesforputrequest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/videoindexer/2024-01-01/accounts/model_accountpropertiesforputrequest.go new file mode 100644 index 000000000000..6db32370ecc1 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/videoindexer/2024-01-01/accounts/model_accountpropertiesforputrequest.go @@ -0,0 +1,13 @@ +package accounts + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type AccountPropertiesForPutRequest struct { + AccountId *string `json:"accountId,omitempty"` + AccountName *string `json:"accountName,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + StorageServices *StorageServicesForPutRequest `json:"storageServices,omitempty"` + TenantId *string `json:"tenantId,omitempty"` + TotalSecondsIndexed *int64 `json:"totalSecondsIndexed,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/videoindexer/2024-01-01/accounts/model_storageservicesforpatchrequest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/videoindexer/2024-01-01/accounts/model_storageservicesforpatchrequest.go new file mode 100644 index 000000000000..79430211e9db --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/videoindexer/2024-01-01/accounts/model_storageservicesforpatchrequest.go @@ -0,0 +1,8 @@ +package accounts + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type StorageServicesForPatchRequest struct { + UserAssignedIdentity *string `json:"userAssignedIdentity,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/videoindexer/2024-01-01/accounts/model_storageservicesforputrequest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/videoindexer/2024-01-01/accounts/model_storageservicesforputrequest.go new file mode 100644 index 000000000000..4442b17dcd41 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/videoindexer/2024-01-01/accounts/model_storageservicesforputrequest.go @@ -0,0 +1,9 @@ +package accounts + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type StorageServicesForPutRequest struct { + ResourceId *string `json:"resourceId,omitempty"` + UserAssignedIdentity *string `json:"userAssignedIdentity,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/videoindexer/2024-01-01/accounts/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/videoindexer/2024-01-01/accounts/predicates.go new file mode 100644 index 000000000000..12ee50a1deea --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/videoindexer/2024-01-01/accounts/predicates.go @@ -0,0 +1,32 @@ +package accounts + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type AccountOperationPredicate struct { + Id *string + Location *string + Name *string + Type *string +} + +func (p AccountOperationPredicate) Matches(input Account) bool { + + if p.Id != nil && (input.Id == nil || *p.Id != *input.Id) { + return false + } + + if p.Location != nil && *p.Location != input.Location { + return false + } + + if p.Name != nil && (input.Name == nil || *p.Name != *input.Name) { + return false + } + + if p.Type != nil && (input.Type == nil || *p.Type != *input.Type) { + return false + } + + return true +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/videoindexer/2024-01-01/accounts/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/videoindexer/2024-01-01/accounts/version.go new file mode 100644 index 000000000000..8e723717b60a --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/videoindexer/2024-01-01/accounts/version.go @@ -0,0 +1,10 @@ +package accounts + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2024-01-01" + +func userAgent() string { + return "hashicorp/go-azure-sdk/accounts/2024-01-01" +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/web/2023-12-01/appserviceplans/model_siteproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/web/2023-12-01/appserviceplans/model_siteproperties.go index e2cb76178838..1c11378cc2e0 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/web/2023-12-01/appserviceplans/model_siteproperties.go +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/web/2023-12-01/appserviceplans/model_siteproperties.go @@ -24,6 +24,7 @@ type SiteProperties struct { DnsConfiguration *SiteDnsConfig `json:"dnsConfiguration,omitempty"` Enabled *bool `json:"enabled,omitempty"` EnabledHostNames *[]string `json:"enabledHostNames,omitempty"` + EndToEndEncryptionEnabled *bool `json:"endToEndEncryptionEnabled,omitempty"` FunctionAppConfig *FunctionAppConfig `json:"functionAppConfig,omitempty"` HTTPSOnly *bool `json:"httpsOnly,omitempty"` HostNameSslStates *[]HostNameSslState `json:"hostNameSslStates,omitempty"` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/web/2023-12-01/webapps/model_siteproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/web/2023-12-01/webapps/model_siteproperties.go index dcb3e020b678..7f844ec75786 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/web/2023-12-01/webapps/model_siteproperties.go +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/web/2023-12-01/webapps/model_siteproperties.go @@ -24,6 +24,7 @@ type SiteProperties struct { DnsConfiguration *SiteDnsConfig `json:"dnsConfiguration,omitempty"` Enabled *bool `json:"enabled,omitempty"` EnabledHostNames *[]string `json:"enabledHostNames,omitempty"` + EndToEndEncryptionEnabled *bool `json:"endToEndEncryptionEnabled,omitempty"` FunctionAppConfig *FunctionAppConfig `json:"functionAppConfig,omitempty"` HTTPSOnly *bool `json:"httpsOnly,omitempty"` HostNameSslStates *[]HostNameSslState `json:"hostNameSslStates,omitempty"` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/sdk/client/client.go b/vendor/github.com/hashicorp/go-azure-sdk/sdk/client/client.go index 6429116fecff..52de494374ae 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/sdk/client/client.go +++ b/vendor/github.com/hashicorp/go-azure-sdk/sdk/client/client.go @@ -9,6 +9,7 @@ import ( "crypto/tls" "encoding/json" "encoding/xml" + "errors" "fmt" "io" "log" @@ -16,6 +17,7 @@ import ( "net" "net/http" "net/url" + "regexp" "runtime" "strconv" "strings" @@ -443,16 +445,8 @@ func (c *Client) Execute(ctx context.Context, req *Request) (*Response, error) { // Instantiate a RetryableHttp client and configure its CheckRetry func r := c.retryableClient(ctx, func(ctx context.Context, r *http.Response, err error) (bool, error) { - // First check for badly malformed responses - if r == nil { - if req.IsIdempotent() { - return true, nil - } - return false, fmt.Errorf("HTTP response was nil; connection may have been reset") - } - // Eventual consistency checks - if !c.DisableRetries { + if r != nil && !c.DisableRetries { if r.StatusCode == http.StatusFailedDependency { return true, nil } @@ -474,6 +468,14 @@ func (c *Client) Execute(ctx context.Context, req *Request) (*Response, error) { } } + // Check for failed connections etc and decide if retries are appropriate + if r == nil { + if req.IsIdempotent() { + return extendedRetryPolicy(r, err) + } + return false, fmt.Errorf("HTTP response was nil; connection may have been reset") + } + // Fall back to default retry policy to handle rate limiting, server errors etc. return retryablehttp.DefaultRetryPolicy(ctx, r, err) }) @@ -749,3 +751,92 @@ func containsStatusCode(expected []int, actual int) bool { return false } + +// extendedRetryPolicy extends the defaultRetryPolicy implementation in go-retryablehhtp with +// additional error conditions that should not be retried indefinitely +func extendedRetryPolicy(resp *http.Response, err error) (bool, error) { + // A regular expression to match the error returned by net/http when the + // configured number of redirects is exhausted. This error isn't typed + // specifically so we resort to matching on the error string. + redirectsErrorRe := regexp.MustCompile(`stopped after \d+ redirects\z`) + + // A regular expression to match the error returned by net/http when the + // scheme specified in the URL is invalid. This error isn't typed + // specifically so we resort to matching on the error string. + schemeErrorRe := regexp.MustCompile(`unsupported protocol scheme`) + + // A regular expression to match the error returned by net/http when a + // request header or value is invalid. This error isn't typed + // specifically so we resort to matching on the error string. + invalidHeaderErrorRe := regexp.MustCompile(`invalid header`) + + // A regular expression to match the error returned by net/http when the + // TLS certificate is not trusted. This error isn't typed + // specifically so we resort to matching on the error string. + notTrustedErrorRe := regexp.MustCompile(`certificate is not trusted`) + + // A regular expression to catch dial timeouts in the underlying TCP session + // connection + tcpDialTCPRe := regexp.MustCompile(`dial tcp`) + + // A regular expression to match complete packet loss + completePacketLossRe := regexp.MustCompile(`EOF`) + + if err != nil { + var v *url.Error + if errors.As(err, &v) { + // Don't retry if the error was due to too many redirects. + if redirectsErrorRe.MatchString(v.Error()) { + return false, v + } + + // Don't retry if the error was due to an invalid protocol scheme. + if schemeErrorRe.MatchString(v.Error()) { + return false, v + } + + // Don't retry if the error was due to an invalid header. + if invalidHeaderErrorRe.MatchString(v.Error()) { + return false, v + } + + // Don't retry if the error was due to TLS cert verification failure. + if notTrustedErrorRe.MatchString(v.Error()) { + return false, v + } + + if tcpDialTCPRe.MatchString(v.Error()) { + return false, v + } + + if completePacketLossRe.MatchString(v.Error()) { + return false, v + } + + var certificateVerificationError *tls.CertificateVerificationError + if ok := errors.As(v.Err, &certificateVerificationError); ok { + return false, v + } + } + + // The error is likely recoverable so retry. + return true, nil + } + + // 429 Too Many Requests is recoverable. Sometimes the server puts + // a Retry-After response header to indicate when the server is + // available to start processing request from client. + if resp.StatusCode == http.StatusTooManyRequests { + return true, nil + } + + // Check the response code. We retry on 500-range responses to allow + // the server time to recover, as 500's are typically not permanent + // errors and may relate to outages on the server side. This will catch + // invalid response codes as well, like 0 and 999. + if resp.StatusCode == 0 || (resp.StatusCode >= 500 && resp.StatusCode != http.StatusNotImplemented) { + return true, fmt.Errorf("unexpected HTTP status %s", resp.Status) + } + + return false, nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager/poller_lro.go b/vendor/github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager/poller_lro.go index 0eade8da42ee..527257c3514b 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager/poller_lro.go +++ b/vendor/github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager/poller_lro.go @@ -7,6 +7,7 @@ import ( "bytes" "context" "encoding/json" + "errors" "fmt" "io" "net/http" @@ -27,6 +28,9 @@ type longRunningOperationPoller struct { initialRetryDuration time.Duration originalUrl *url.URL pollingUrl *url.URL + + droppedConnectionCount int + maxDroppedConnections int } func pollingUriForLongRunningOperation(resp *client.Response) string { @@ -39,8 +43,9 @@ func pollingUriForLongRunningOperation(resp *client.Response) string { func longRunningOperationPollerFromResponse(resp *client.Response, client *client.Client) (*longRunningOperationPoller, error) { poller := longRunningOperationPoller{ - client: client, - initialRetryDuration: 10 * time.Second, + client: client, + initialRetryDuration: 10 * time.Second, + maxDroppedConnections: 3, } pollingUrl := pollingUriForLongRunningOperation(resp) @@ -107,9 +112,20 @@ func (p *longRunningOperationPoller) Poll(ctx context.Context) (result *pollers. } result.HttpResponse, err = req.Execute(ctx) if err != nil { + var e *url.Error + if errors.As(err, &e) { + p.droppedConnectionCount++ + if p.droppedConnectionCount < p.maxDroppedConnections { + result.Status = pollers.PollingStatusUnknown + return result, nil + } + } + return nil, err } + p.droppedConnectionCount = 0 + if result.HttpResponse != nil { var respBody []byte respBody, err = io.ReadAll(result.HttpResponse.Body) diff --git a/vendor/github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager/poller_provisioning_state.go b/vendor/github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager/poller_provisioning_state.go index f5c6f2e81d7a..cf80b2c4f0d9 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager/poller_provisioning_state.go +++ b/vendor/github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager/poller_provisioning_state.go @@ -5,6 +5,7 @@ package resourcemanager import ( "context" + "errors" "fmt" "net/http" "net/url" @@ -27,6 +28,9 @@ type provisioningStatePoller struct { initialRetryDuration time.Duration originalUri string resourcePath string + + droppedConnectionCount int + maxDroppedConnections int } func provisioningStatePollerFromResponse(response *client.Response, lroIsSelfReference bool, client *Client, pollingInterval time.Duration) (*provisioningStatePoller, error) { @@ -58,11 +62,12 @@ func provisioningStatePollerFromResponse(response *client.Response, lroIsSelfRef } return &provisioningStatePoller{ - apiVersion: apiVersion, - client: client, - initialRetryDuration: pollingInterval, - originalUri: originalUri, - resourcePath: resourcePath, + apiVersion: apiVersion, + client: client, + initialRetryDuration: pollingInterval, + originalUri: originalUri, + resourcePath: resourcePath, + maxDroppedConnections: 3, }, nil } @@ -84,8 +89,22 @@ func (p *provisioningStatePoller) Poll(ctx context.Context) (*pollers.PollResult } resp, err := p.client.Execute(ctx, req) if err != nil { + var e *url.Error + if errors.As(err, &e) { + p.droppedConnectionCount++ + if p.droppedConnectionCount < p.maxDroppedConnections { + return &pollers.PollResult{ + PollInterval: p.initialRetryDuration, + Status: pollers.PollingStatusUnknown, + }, nil + } + } + return nil, fmt.Errorf("executing request: %+v", err) } + + p.droppedConnectionCount = 0 + if resp == nil { return nil, pollers.PollingDroppedConnectionError{} } diff --git a/vendor/github.com/tombuildsstuff/kermit/sdk/attestation/2022-08-01/attestation/attestation.go b/vendor/github.com/jackofallops/kermit/sdk/attestation/2022-08-01/attestation/attestation.go similarity index 100% rename from vendor/github.com/tombuildsstuff/kermit/sdk/attestation/2022-08-01/attestation/attestation.go rename to vendor/github.com/jackofallops/kermit/sdk/attestation/2022-08-01/attestation/attestation.go diff --git a/vendor/github.com/tombuildsstuff/kermit/sdk/attestation/2022-08-01/attestation/client.go b/vendor/github.com/jackofallops/kermit/sdk/attestation/2022-08-01/attestation/client.go similarity index 100% rename from vendor/github.com/tombuildsstuff/kermit/sdk/attestation/2022-08-01/attestation/client.go rename to vendor/github.com/jackofallops/kermit/sdk/attestation/2022-08-01/attestation/client.go diff --git a/vendor/github.com/tombuildsstuff/kermit/sdk/attestation/2022-08-01/attestation/enums.go b/vendor/github.com/jackofallops/kermit/sdk/attestation/2022-08-01/attestation/enums.go similarity index 100% rename from vendor/github.com/tombuildsstuff/kermit/sdk/attestation/2022-08-01/attestation/enums.go rename to vendor/github.com/jackofallops/kermit/sdk/attestation/2022-08-01/attestation/enums.go diff --git a/vendor/github.com/tombuildsstuff/kermit/sdk/attestation/2022-08-01/attestation/metadataconfiguration.go b/vendor/github.com/jackofallops/kermit/sdk/attestation/2022-08-01/attestation/metadataconfiguration.go similarity index 100% rename from vendor/github.com/tombuildsstuff/kermit/sdk/attestation/2022-08-01/attestation/metadataconfiguration.go rename to vendor/github.com/jackofallops/kermit/sdk/attestation/2022-08-01/attestation/metadataconfiguration.go diff --git a/vendor/github.com/tombuildsstuff/kermit/sdk/attestation/2022-08-01/attestation/models.go b/vendor/github.com/jackofallops/kermit/sdk/attestation/2022-08-01/attestation/models.go similarity index 100% rename from vendor/github.com/tombuildsstuff/kermit/sdk/attestation/2022-08-01/attestation/models.go rename to vendor/github.com/jackofallops/kermit/sdk/attestation/2022-08-01/attestation/models.go diff --git a/vendor/github.com/tombuildsstuff/kermit/sdk/attestation/2022-08-01/attestation/policy.go b/vendor/github.com/jackofallops/kermit/sdk/attestation/2022-08-01/attestation/policy.go similarity index 100% rename from vendor/github.com/tombuildsstuff/kermit/sdk/attestation/2022-08-01/attestation/policy.go rename to vendor/github.com/jackofallops/kermit/sdk/attestation/2022-08-01/attestation/policy.go diff --git a/vendor/github.com/tombuildsstuff/kermit/sdk/attestation/2022-08-01/attestation/policycertificates.go b/vendor/github.com/jackofallops/kermit/sdk/attestation/2022-08-01/attestation/policycertificates.go similarity index 100% rename from vendor/github.com/tombuildsstuff/kermit/sdk/attestation/2022-08-01/attestation/policycertificates.go rename to vendor/github.com/jackofallops/kermit/sdk/attestation/2022-08-01/attestation/policycertificates.go diff --git a/vendor/github.com/tombuildsstuff/kermit/sdk/attestation/2022-08-01/attestation/signingcertificates.go b/vendor/github.com/jackofallops/kermit/sdk/attestation/2022-08-01/attestation/signingcertificates.go similarity index 100% rename from vendor/github.com/tombuildsstuff/kermit/sdk/attestation/2022-08-01/attestation/signingcertificates.go rename to vendor/github.com/jackofallops/kermit/sdk/attestation/2022-08-01/attestation/signingcertificates.go diff --git a/vendor/github.com/jackofallops/kermit/sdk/attestation/2022-08-01/attestation/version.go b/vendor/github.com/jackofallops/kermit/sdk/attestation/2022-08-01/attestation/version.go new file mode 100644 index 000000000000..5fa0ec881f44 --- /dev/null +++ b/vendor/github.com/jackofallops/kermit/sdk/attestation/2022-08-01/attestation/version.go @@ -0,0 +1,19 @@ +package attestation + +import "github.com/jackofallops/kermit/version" + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +// UserAgent returns the UserAgent string to use when sending http.Requests. +func UserAgent() string { + return "jackofallops/kermit/" + Version() + " attestation/2022-08-01" +} + +// Version returns the semantic version (see http://semver.org) of the client. +func Version() string { + return version.Number +} diff --git a/vendor/github.com/tombuildsstuff/kermit/sdk/web/2022-09-01/web/apps.go b/vendor/github.com/jackofallops/kermit/sdk/web/2022-09-01/web/apps.go similarity index 100% rename from vendor/github.com/tombuildsstuff/kermit/sdk/web/2022-09-01/web/apps.go rename to vendor/github.com/jackofallops/kermit/sdk/web/2022-09-01/web/apps.go diff --git a/vendor/github.com/tombuildsstuff/kermit/sdk/web/2022-09-01/web/appservicecertificateorders.go b/vendor/github.com/jackofallops/kermit/sdk/web/2022-09-01/web/appservicecertificateorders.go similarity index 100% rename from vendor/github.com/tombuildsstuff/kermit/sdk/web/2022-09-01/web/appservicecertificateorders.go rename to vendor/github.com/jackofallops/kermit/sdk/web/2022-09-01/web/appservicecertificateorders.go diff --git a/vendor/github.com/tombuildsstuff/kermit/sdk/web/2022-09-01/web/appserviceenvironments.go b/vendor/github.com/jackofallops/kermit/sdk/web/2022-09-01/web/appserviceenvironments.go similarity index 100% rename from vendor/github.com/tombuildsstuff/kermit/sdk/web/2022-09-01/web/appserviceenvironments.go rename to vendor/github.com/jackofallops/kermit/sdk/web/2022-09-01/web/appserviceenvironments.go diff --git a/vendor/github.com/tombuildsstuff/kermit/sdk/web/2022-09-01/web/appserviceplans.go b/vendor/github.com/jackofallops/kermit/sdk/web/2022-09-01/web/appserviceplans.go similarity index 100% rename from vendor/github.com/tombuildsstuff/kermit/sdk/web/2022-09-01/web/appserviceplans.go rename to vendor/github.com/jackofallops/kermit/sdk/web/2022-09-01/web/appserviceplans.go diff --git a/vendor/github.com/tombuildsstuff/kermit/sdk/web/2022-09-01/web/certificateordersdiagnostics.go b/vendor/github.com/jackofallops/kermit/sdk/web/2022-09-01/web/certificateordersdiagnostics.go similarity index 100% rename from vendor/github.com/tombuildsstuff/kermit/sdk/web/2022-09-01/web/certificateordersdiagnostics.go rename to vendor/github.com/jackofallops/kermit/sdk/web/2022-09-01/web/certificateordersdiagnostics.go diff --git a/vendor/github.com/tombuildsstuff/kermit/sdk/web/2022-09-01/web/certificateregistrationprovider.go b/vendor/github.com/jackofallops/kermit/sdk/web/2022-09-01/web/certificateregistrationprovider.go similarity index 100% rename from vendor/github.com/tombuildsstuff/kermit/sdk/web/2022-09-01/web/certificateregistrationprovider.go rename to vendor/github.com/jackofallops/kermit/sdk/web/2022-09-01/web/certificateregistrationprovider.go diff --git a/vendor/github.com/tombuildsstuff/kermit/sdk/web/2022-09-01/web/certificates.go b/vendor/github.com/jackofallops/kermit/sdk/web/2022-09-01/web/certificates.go similarity index 100% rename from vendor/github.com/tombuildsstuff/kermit/sdk/web/2022-09-01/web/certificates.go rename to vendor/github.com/jackofallops/kermit/sdk/web/2022-09-01/web/certificates.go diff --git a/vendor/github.com/tombuildsstuff/kermit/sdk/web/2022-09-01/web/client.go b/vendor/github.com/jackofallops/kermit/sdk/web/2022-09-01/web/client.go similarity index 100% rename from vendor/github.com/tombuildsstuff/kermit/sdk/web/2022-09-01/web/client.go rename to vendor/github.com/jackofallops/kermit/sdk/web/2022-09-01/web/client.go diff --git a/vendor/github.com/tombuildsstuff/kermit/sdk/web/2022-09-01/web/containerapps.go b/vendor/github.com/jackofallops/kermit/sdk/web/2022-09-01/web/containerapps.go similarity index 100% rename from vendor/github.com/tombuildsstuff/kermit/sdk/web/2022-09-01/web/containerapps.go rename to vendor/github.com/jackofallops/kermit/sdk/web/2022-09-01/web/containerapps.go diff --git a/vendor/github.com/tombuildsstuff/kermit/sdk/web/2022-09-01/web/containerappsrevisions.go b/vendor/github.com/jackofallops/kermit/sdk/web/2022-09-01/web/containerappsrevisions.go similarity index 100% rename from vendor/github.com/tombuildsstuff/kermit/sdk/web/2022-09-01/web/containerappsrevisions.go rename to vendor/github.com/jackofallops/kermit/sdk/web/2022-09-01/web/containerappsrevisions.go diff --git a/vendor/github.com/tombuildsstuff/kermit/sdk/web/2022-09-01/web/deletedwebapps.go b/vendor/github.com/jackofallops/kermit/sdk/web/2022-09-01/web/deletedwebapps.go similarity index 100% rename from vendor/github.com/tombuildsstuff/kermit/sdk/web/2022-09-01/web/deletedwebapps.go rename to vendor/github.com/jackofallops/kermit/sdk/web/2022-09-01/web/deletedwebapps.go diff --git a/vendor/github.com/tombuildsstuff/kermit/sdk/web/2022-09-01/web/diagnostics.go b/vendor/github.com/jackofallops/kermit/sdk/web/2022-09-01/web/diagnostics.go similarity index 100% rename from vendor/github.com/tombuildsstuff/kermit/sdk/web/2022-09-01/web/diagnostics.go rename to vendor/github.com/jackofallops/kermit/sdk/web/2022-09-01/web/diagnostics.go diff --git a/vendor/github.com/tombuildsstuff/kermit/sdk/web/2022-09-01/web/domainregistrationprovider.go b/vendor/github.com/jackofallops/kermit/sdk/web/2022-09-01/web/domainregistrationprovider.go similarity index 100% rename from vendor/github.com/tombuildsstuff/kermit/sdk/web/2022-09-01/web/domainregistrationprovider.go rename to vendor/github.com/jackofallops/kermit/sdk/web/2022-09-01/web/domainregistrationprovider.go diff --git a/vendor/github.com/tombuildsstuff/kermit/sdk/web/2022-09-01/web/domains.go b/vendor/github.com/jackofallops/kermit/sdk/web/2022-09-01/web/domains.go similarity index 100% rename from vendor/github.com/tombuildsstuff/kermit/sdk/web/2022-09-01/web/domains.go rename to vendor/github.com/jackofallops/kermit/sdk/web/2022-09-01/web/domains.go diff --git a/vendor/github.com/tombuildsstuff/kermit/sdk/web/2022-09-01/web/enums.go b/vendor/github.com/jackofallops/kermit/sdk/web/2022-09-01/web/enums.go similarity index 100% rename from vendor/github.com/tombuildsstuff/kermit/sdk/web/2022-09-01/web/enums.go rename to vendor/github.com/jackofallops/kermit/sdk/web/2022-09-01/web/enums.go diff --git a/vendor/github.com/tombuildsstuff/kermit/sdk/web/2022-09-01/web/global.go b/vendor/github.com/jackofallops/kermit/sdk/web/2022-09-01/web/global.go similarity index 100% rename from vendor/github.com/tombuildsstuff/kermit/sdk/web/2022-09-01/web/global.go rename to vendor/github.com/jackofallops/kermit/sdk/web/2022-09-01/web/global.go diff --git a/vendor/github.com/tombuildsstuff/kermit/sdk/web/2022-09-01/web/kubeenvironments.go b/vendor/github.com/jackofallops/kermit/sdk/web/2022-09-01/web/kubeenvironments.go similarity index 100% rename from vendor/github.com/tombuildsstuff/kermit/sdk/web/2022-09-01/web/kubeenvironments.go rename to vendor/github.com/jackofallops/kermit/sdk/web/2022-09-01/web/kubeenvironments.go diff --git a/vendor/github.com/tombuildsstuff/kermit/sdk/web/2022-09-01/web/models.go b/vendor/github.com/jackofallops/kermit/sdk/web/2022-09-01/web/models.go similarity index 100% rename from vendor/github.com/tombuildsstuff/kermit/sdk/web/2022-09-01/web/models.go rename to vendor/github.com/jackofallops/kermit/sdk/web/2022-09-01/web/models.go diff --git a/vendor/github.com/tombuildsstuff/kermit/sdk/web/2022-09-01/web/provider.go b/vendor/github.com/jackofallops/kermit/sdk/web/2022-09-01/web/provider.go similarity index 100% rename from vendor/github.com/tombuildsstuff/kermit/sdk/web/2022-09-01/web/provider.go rename to vendor/github.com/jackofallops/kermit/sdk/web/2022-09-01/web/provider.go diff --git a/vendor/github.com/tombuildsstuff/kermit/sdk/web/2022-09-01/web/recommendations.go b/vendor/github.com/jackofallops/kermit/sdk/web/2022-09-01/web/recommendations.go similarity index 100% rename from vendor/github.com/tombuildsstuff/kermit/sdk/web/2022-09-01/web/recommendations.go rename to vendor/github.com/jackofallops/kermit/sdk/web/2022-09-01/web/recommendations.go diff --git a/vendor/github.com/tombuildsstuff/kermit/sdk/web/2022-09-01/web/resourcehealthmetadata.go b/vendor/github.com/jackofallops/kermit/sdk/web/2022-09-01/web/resourcehealthmetadata.go similarity index 100% rename from vendor/github.com/tombuildsstuff/kermit/sdk/web/2022-09-01/web/resourcehealthmetadata.go rename to vendor/github.com/jackofallops/kermit/sdk/web/2022-09-01/web/resourcehealthmetadata.go diff --git a/vendor/github.com/tombuildsstuff/kermit/sdk/web/2022-09-01/web/staticsites.go b/vendor/github.com/jackofallops/kermit/sdk/web/2022-09-01/web/staticsites.go similarity index 100% rename from vendor/github.com/tombuildsstuff/kermit/sdk/web/2022-09-01/web/staticsites.go rename to vendor/github.com/jackofallops/kermit/sdk/web/2022-09-01/web/staticsites.go diff --git a/vendor/github.com/tombuildsstuff/kermit/sdk/web/2022-09-01/web/topleveldomains.go b/vendor/github.com/jackofallops/kermit/sdk/web/2022-09-01/web/topleveldomains.go similarity index 100% rename from vendor/github.com/tombuildsstuff/kermit/sdk/web/2022-09-01/web/topleveldomains.go rename to vendor/github.com/jackofallops/kermit/sdk/web/2022-09-01/web/topleveldomains.go diff --git a/vendor/github.com/jackofallops/kermit/sdk/web/2022-09-01/web/version.go b/vendor/github.com/jackofallops/kermit/sdk/web/2022-09-01/web/version.go new file mode 100644 index 000000000000..a1f3c150d449 --- /dev/null +++ b/vendor/github.com/jackofallops/kermit/sdk/web/2022-09-01/web/version.go @@ -0,0 +1,19 @@ +package web + +import "github.com/jackofallops/kermit/version" + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +// UserAgent returns the UserAgent string to use when sending http.Requests. +func UserAgent() string { + return "jackofallops/kermit/" + Version() + " web/2022-09-01" +} + +// Version returns the semantic version (see http://semver.org) of the client. +func Version() string { + return version.Number +} diff --git a/vendor/github.com/tombuildsstuff/kermit/sdk/web/2022-09-01/web/workflowrunactionrepetitions.go b/vendor/github.com/jackofallops/kermit/sdk/web/2022-09-01/web/workflowrunactionrepetitions.go similarity index 100% rename from vendor/github.com/tombuildsstuff/kermit/sdk/web/2022-09-01/web/workflowrunactionrepetitions.go rename to vendor/github.com/jackofallops/kermit/sdk/web/2022-09-01/web/workflowrunactionrepetitions.go diff --git a/vendor/github.com/tombuildsstuff/kermit/sdk/web/2022-09-01/web/workflowrunactionrepetitionsrequesthistories.go b/vendor/github.com/jackofallops/kermit/sdk/web/2022-09-01/web/workflowrunactionrepetitionsrequesthistories.go similarity index 100% rename from vendor/github.com/tombuildsstuff/kermit/sdk/web/2022-09-01/web/workflowrunactionrepetitionsrequesthistories.go rename to vendor/github.com/jackofallops/kermit/sdk/web/2022-09-01/web/workflowrunactionrepetitionsrequesthistories.go diff --git a/vendor/github.com/tombuildsstuff/kermit/sdk/web/2022-09-01/web/workflowrunactions.go b/vendor/github.com/jackofallops/kermit/sdk/web/2022-09-01/web/workflowrunactions.go similarity index 100% rename from vendor/github.com/tombuildsstuff/kermit/sdk/web/2022-09-01/web/workflowrunactions.go rename to vendor/github.com/jackofallops/kermit/sdk/web/2022-09-01/web/workflowrunactions.go diff --git a/vendor/github.com/tombuildsstuff/kermit/sdk/web/2022-09-01/web/workflowrunactionscoperepetitions.go b/vendor/github.com/jackofallops/kermit/sdk/web/2022-09-01/web/workflowrunactionscoperepetitions.go similarity index 100% rename from vendor/github.com/tombuildsstuff/kermit/sdk/web/2022-09-01/web/workflowrunactionscoperepetitions.go rename to vendor/github.com/jackofallops/kermit/sdk/web/2022-09-01/web/workflowrunactionscoperepetitions.go diff --git a/vendor/github.com/tombuildsstuff/kermit/sdk/web/2022-09-01/web/workflowruns.go b/vendor/github.com/jackofallops/kermit/sdk/web/2022-09-01/web/workflowruns.go similarity index 100% rename from vendor/github.com/tombuildsstuff/kermit/sdk/web/2022-09-01/web/workflowruns.go rename to vendor/github.com/jackofallops/kermit/sdk/web/2022-09-01/web/workflowruns.go diff --git a/vendor/github.com/tombuildsstuff/kermit/sdk/web/2022-09-01/web/workflows.go b/vendor/github.com/jackofallops/kermit/sdk/web/2022-09-01/web/workflows.go similarity index 100% rename from vendor/github.com/tombuildsstuff/kermit/sdk/web/2022-09-01/web/workflows.go rename to vendor/github.com/jackofallops/kermit/sdk/web/2022-09-01/web/workflows.go diff --git a/vendor/github.com/tombuildsstuff/kermit/sdk/web/2022-09-01/web/workflowtriggerhistories.go b/vendor/github.com/jackofallops/kermit/sdk/web/2022-09-01/web/workflowtriggerhistories.go similarity index 100% rename from vendor/github.com/tombuildsstuff/kermit/sdk/web/2022-09-01/web/workflowtriggerhistories.go rename to vendor/github.com/jackofallops/kermit/sdk/web/2022-09-01/web/workflowtriggerhistories.go diff --git a/vendor/github.com/tombuildsstuff/kermit/sdk/web/2022-09-01/web/workflowtriggers.go b/vendor/github.com/jackofallops/kermit/sdk/web/2022-09-01/web/workflowtriggers.go similarity index 100% rename from vendor/github.com/tombuildsstuff/kermit/sdk/web/2022-09-01/web/workflowtriggers.go rename to vendor/github.com/jackofallops/kermit/sdk/web/2022-09-01/web/workflowtriggers.go diff --git a/vendor/github.com/tombuildsstuff/kermit/sdk/web/2022-09-01/web/workflowversions.go b/vendor/github.com/jackofallops/kermit/sdk/web/2022-09-01/web/workflowversions.go similarity index 100% rename from vendor/github.com/tombuildsstuff/kermit/sdk/web/2022-09-01/web/workflowversions.go rename to vendor/github.com/jackofallops/kermit/sdk/web/2022-09-01/web/workflowversions.go diff --git a/vendor/github.com/tombuildsstuff/kermit/sdk/attestation/2022-08-01/attestation/version.go b/vendor/github.com/tombuildsstuff/kermit/sdk/attestation/2022-08-01/attestation/version.go deleted file mode 100644 index a9a9d12a5069..000000000000 --- a/vendor/github.com/tombuildsstuff/kermit/sdk/attestation/2022-08-01/attestation/version.go +++ /dev/null @@ -1,19 +0,0 @@ -package attestation - -import "github.com/tombuildsstuff/kermit/version" - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -// UserAgent returns the UserAgent string to use when sending http.Requests. -func UserAgent() string { - return "tombuildsstuff/kermit/" + Version() + " attestation/2022-08-01" -} - -// Version returns the semantic version (see http://semver.org) of the client. -func Version() string { - return version.Number -} diff --git a/vendor/github.com/tombuildsstuff/kermit/sdk/web/2022-09-01/web/version.go b/vendor/github.com/tombuildsstuff/kermit/sdk/web/2022-09-01/web/version.go deleted file mode 100644 index 3bdc32e724cd..000000000000 --- a/vendor/github.com/tombuildsstuff/kermit/sdk/web/2022-09-01/web/version.go +++ /dev/null @@ -1,19 +0,0 @@ -package web - -import "github.com/tombuildsstuff/kermit/version" - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -// UserAgent returns the UserAgent string to use when sending http.Requests. -func UserAgent() string { - return "tombuildsstuff/kermit/" + Version() + " web/2022-09-01" -} - -// Version returns the semantic version (see http://semver.org) of the client. -func Version() string { - return version.Number -} diff --git a/vendor/modules.txt b/vendor/modules.txt index 475723526d83..17f236d01267 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -127,7 +127,7 @@ github.com/google/uuid # github.com/hashicorp/errwrap v1.1.0 ## explicit github.com/hashicorp/errwrap -# github.com/hashicorp/go-azure-helpers v0.70.1 +# github.com/hashicorp/go-azure-helpers v0.71.0 ## explicit; go 1.21 github.com/hashicorp/go-azure-helpers/eventhub github.com/hashicorp/go-azure-helpers/lang/dates @@ -148,7 +148,7 @@ github.com/hashicorp/go-azure-helpers/resourcemanager/tags github.com/hashicorp/go-azure-helpers/resourcemanager/zones github.com/hashicorp/go-azure-helpers/sender github.com/hashicorp/go-azure-helpers/storage -# github.com/hashicorp/go-azure-sdk/resource-manager v0.20241009.1142232 +# github.com/hashicorp/go-azure-sdk/resource-manager v0.20241104.1140654 ## explicit; go 1.21 github.com/hashicorp/go-azure-sdk/resource-manager/aad/2021-05-01/domainservices github.com/hashicorp/go-azure-sdk/resource-manager/aadb2c/2021-04-01-preview @@ -315,6 +315,9 @@ github.com/hashicorp/go-azure-sdk/resource-manager/chaosstudio/2023-11-01/capabi github.com/hashicorp/go-azure-sdk/resource-manager/chaosstudio/2023-11-01/experiments github.com/hashicorp/go-azure-sdk/resource-manager/chaosstudio/2023-11-01/targets github.com/hashicorp/go-azure-sdk/resource-manager/chaosstudio/2023-11-01/targettypes +github.com/hashicorp/go-azure-sdk/resource-manager/codesigning/2024-09-30-preview +github.com/hashicorp/go-azure-sdk/resource-manager/codesigning/2024-09-30-preview/certificateprofiles +github.com/hashicorp/go-azure-sdk/resource-manager/codesigning/2024-09-30-preview/codesigningaccounts github.com/hashicorp/go-azure-sdk/resource-manager/cognitive/2023-05-01/cognitiveservicesaccounts github.com/hashicorp/go-azure-sdk/resource-manager/cognitive/2023-05-01/deployments github.com/hashicorp/go-azure-sdk/resource-manager/communication/2023-03-31/communicationservices @@ -409,13 +412,14 @@ github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2022-05-15/cosmosdb github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2022-05-15/sqldedicatedgateway github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2022-11-15/mongorbacs github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2023-04-15/managedcassandras -github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-05-15/cosmosdb +github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2024-08-15/cosmosdb github.com/hashicorp/go-azure-sdk/resource-manager/costmanagement/2021-10-01/exports github.com/hashicorp/go-azure-sdk/resource-manager/costmanagement/2022-06-01-preview/scheduledactions github.com/hashicorp/go-azure-sdk/resource-manager/costmanagement/2022-10-01/scheduledactions github.com/hashicorp/go-azure-sdk/resource-manager/costmanagement/2022-10-01/views github.com/hashicorp/go-azure-sdk/resource-manager/customproviders/2018-09-01-preview/customresourceprovider github.com/hashicorp/go-azure-sdk/resource-manager/dashboard/2023-09-01/grafanaresource +github.com/hashicorp/go-azure-sdk/resource-manager/dashboard/2023-09-01/managedprivateendpoints github.com/hashicorp/go-azure-sdk/resource-manager/databoxedge/2022-03-01/devices github.com/hashicorp/go-azure-sdk/resource-manager/databoxedge/2022-03-01/orders github.com/hashicorp/go-azure-sdk/resource-manager/databricks/2022-04-01-preview/workspaces @@ -626,6 +630,7 @@ github.com/hashicorp/go-azure-sdk/resource-manager/logic/2019-05-01/workflows github.com/hashicorp/go-azure-sdk/resource-manager/logic/2019-05-01/workflowtriggers github.com/hashicorp/go-azure-sdk/resource-manager/machinelearningservices/2024-04-01/datastore github.com/hashicorp/go-azure-sdk/resource-manager/machinelearningservices/2024-04-01/machinelearningcomputes +github.com/hashicorp/go-azure-sdk/resource-manager/machinelearningservices/2024-04-01/managednetwork github.com/hashicorp/go-azure-sdk/resource-manager/machinelearningservices/2024-04-01/workspaces github.com/hashicorp/go-azure-sdk/resource-manager/maintenance/2023-04-01/configurationassignments github.com/hashicorp/go-azure-sdk/resource-manager/maintenance/2023-04-01/maintenanceconfigurations @@ -656,21 +661,30 @@ github.com/hashicorp/go-azure-sdk/resource-manager/mobilenetwork/2022-11-01/simp github.com/hashicorp/go-azure-sdk/resource-manager/mobilenetwork/2022-11-01/site github.com/hashicorp/go-azure-sdk/resource-manager/mobilenetwork/2022-11-01/slice github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2017-12-01/servers -github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01 -github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/azureadadministrators -github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/backups -github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/checknameavailability -github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/configurations -github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/databases -github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/firewallrules -github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/getprivatednszonesuffix -github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/locationbasedcapabilities -github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/logfiles -github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/serverfailover -github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/serverrestart -github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/servers -github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/serverstart -github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2022-01-01/serverstop +github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30 +github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/advancedthreatprotectionsettings +github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/azureadadministrators +github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/backupandexport +github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/backups +github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/backupsv2 +github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/checknameavailability +github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/configurations +github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/databases +github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/firewallrules +github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/getprivatednszonesuffix +github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/locationbasedcapabilities +github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/locationbasedcapability +github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/logfiles +github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/maintenances +github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/operationprogress +github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/serverfailover +github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servermigration +github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/serverresetgtid +github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/serverrestart +github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servers +github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/serverstart +github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/serverstop +github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2023-12-30/servervalidateestimatehighavailability github.com/hashicorp/go-azure-sdk/resource-manager/netapp/2023-05-01/capacitypools github.com/hashicorp/go-azure-sdk/resource-manager/netapp/2023-05-01/netappaccounts github.com/hashicorp/go-azure-sdk/resource-manager/netapp/2023-05-01/snapshotpolicy @@ -700,118 +714,139 @@ github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-09-01/subnets github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-09-01/virtualwans github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-09-01/vmsspublicipaddresses github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-09-01/webapplicationfirewallpolicies -github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01 -github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/adminrulecollections -github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/adminrules -github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivateendpointconnections -github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewayprivatelinkresources github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgateways -github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationgatewaywafdynamicmanifests -github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/applicationsecuritygroups -github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/availabledelegations -github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/availableservicealiases -github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/azurefirewalls -github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bastionhosts -github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bastionshareablelink -github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/bgpservicecommunities -github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/checkdnsavailabilities -github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/cloudservicepublicipaddresses -github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectionmonitors -github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/connectivityconfigurations -github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/customipprefixes -github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ddoscustompolicies -github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ddosprotectionplans -github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfiguration -github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/dscpconfigurations -github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/endpointservices -github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitarptable -github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitauthorizations -github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitconnections -github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitpeerings -github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitroutestable -github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitroutestablesummary github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuits -github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitstats -github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteconnections -github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnectionarptable -github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnectionpeerings -github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnectionroutetable -github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnectionroutetablesummary -github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecrossconnections github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutegateways -github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutelinks -github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteportauthorizations github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteports -github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteportslocations -github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteproviderports -github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressrouteserviceproviders github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/firewallpolicies -github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/firewallpolicyrulecollectiongroups -github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/flowlogs -github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ipallocations -github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/ipgroups -github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/loadbalancers github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/localnetworkgateways -github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/natgateways -github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkgroups -github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkinterfaces -github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanageractiveconfigurations -github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanageractiveconnectivityconfigurations -github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagerconnections -github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagereffectiveconnectivityconfiguration -github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagereffectivesecurityadminrules -github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkmanagers -github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkprofiles github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networksecuritygroups -github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkvirtualappliances -github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networkwatchers -github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/p2svpngateways -github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/packetcaptures -github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/peerexpressroutecircuitconnections -github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privatednszonegroups -github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privateendpoints github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/privatelinkservices -github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipaddresses github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/publicipprefixes -github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routefilterrules -github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routefilters -github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routes github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/routetables -github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/scopeconnections -github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/securityadminconfigurations -github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/securitypartnerproviders -github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/securityrules github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/serviceendpointpolicies -github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/serviceendpointpolicydefinitions -github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/servicetags -github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/staticmembers github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/subnets -github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/trafficanalytics -github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/usages -github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vipswap -github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualappliancesites -github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualapplianceskus github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgatewayconnections -github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgateways -github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkpeerings -github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworks -github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktap -github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworktaps -github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualrouterpeerings -github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualrouters github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualwans -github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vmsspublicipaddresses -github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpngateways -github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpnlinkconnections -github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpnserverconfigurations -github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/vpnsites github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/webapplicationfirewallpolicies -github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/webcategories github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-01-01/bastionhosts +github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01 +github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/adminrulecollections +github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/adminrules +github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivateendpointconnections +github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewayprivatelinkresources +github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgateways +github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationgatewaywafdynamicmanifests +github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/applicationsecuritygroups +github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/availabledelegations +github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/availableservicealiases +github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/azurefirewalls +github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bastionhosts +github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bastionshareablelink +github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/bgpservicecommunities +github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/checkdnsavailabilities +github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/cloudservicepublicipaddresses +github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectionmonitors +github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/connectivityconfigurations +github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/customipprefixes +github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ddoscustompolicies +github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ddosprotectionplans +github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfiguration +github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/dscpconfigurations +github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/endpointservices +github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitarptable +github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitauthorizations +github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitconnections +github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitpeerings +github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitroutestable +github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitroutestablesummary +github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuits +github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecircuitstats +github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteconnections +github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnectionarptable +github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnectionpeerings +github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnectionroutetable +github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnectionroutetablesummary +github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnections +github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutegateways +github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutelinks +github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteportauthorizations +github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteports +github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteportslocations +github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteproviderports +github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressrouteserviceproviders +github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicies +github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/firewallpolicyrulecollectiongroups +github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/flowlogs +github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ipallocations +github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/ipgroups +github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/loadbalancers +github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/localnetworkgateways +github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/natgateways +github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkgroups +github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkinterfaces +github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanageractiveconfigurations +github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanageractiveconnectivityconfigurations +github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagerconnections +github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagereffectiveconnectivityconfiguration +github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagereffectivesecurityadminrules +github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagerroutingconfigurations +github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkmanagers +github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkprofiles +github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networksecuritygroups +github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkvirtualappliances +github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/networkwatchers +github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/p2svpngateways +github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/packetcaptures +github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/peerexpressroutecircuitconnections +github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatednszonegroups +github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privateendpoints +github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/privatelinkservices +github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipaddresses +github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/publicipprefixes +github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routefilterrules +github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routefilters +github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routes +github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routetables +github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routingrulecollections +github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/routingrules +github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/scopeconnections +github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityadminconfigurations +github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securitypartnerproviders +github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityrules +github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserconfigurations +github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserrulecollections +github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/securityuserrules +github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicies +github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/serviceendpointpolicydefinitions +github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/servicetags +github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/staticmembers +github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/subnets +github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/trafficanalytics +github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/usages +github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vipswap +github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualappliancesites +github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualapplianceskus +github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgatewayconnections +github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkgateways +github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworkpeerings +github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworks +github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktap +github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualnetworktaps +github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualrouterpeerings +github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualrouters +github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/virtualwans +github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vmsspublicipaddresses +github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpngateways +github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpnlinkconnections +github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpnserverconfigurations +github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/vpnsites +github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webapplicationfirewallpolicies +github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/webcategories github.com/hashicorp/go-azure-sdk/resource-manager/networkfunction/2022-11-01/azuretrafficcollectors github.com/hashicorp/go-azure-sdk/resource-manager/networkfunction/2022-11-01/collectorpolicies -github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/monitors -github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/tagrules +github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/monitors +github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2024-03-01/tagrules github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2024-06-01-preview github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2024-06-01-preview/nginxcertificate github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2024-06-01-preview/nginxconfiguration @@ -1089,6 +1124,7 @@ github.com/hashicorp/go-azure-sdk/resource-manager/systemcentervirtualmachineman github.com/hashicorp/go-azure-sdk/resource-manager/trafficmanager/2022-04-01/endpoints github.com/hashicorp/go-azure-sdk/resource-manager/trafficmanager/2022-04-01/geographichierarchies github.com/hashicorp/go-azure-sdk/resource-manager/trafficmanager/2022-04-01/profiles +github.com/hashicorp/go-azure-sdk/resource-manager/videoindexer/2024-01-01/accounts github.com/hashicorp/go-azure-sdk/resource-manager/vmware/2022-05-01/authorizations github.com/hashicorp/go-azure-sdk/resource-manager/vmware/2022-05-01/clusters github.com/hashicorp/go-azure-sdk/resource-manager/vmware/2022-05-01/datastores @@ -1116,7 +1152,7 @@ github.com/hashicorp/go-azure-sdk/resource-manager/workloads/2023-04-01/saplands github.com/hashicorp/go-azure-sdk/resource-manager/workloads/2023-04-01/saprecommendations github.com/hashicorp/go-azure-sdk/resource-manager/workloads/2023-04-01/sapsupportedsku github.com/hashicorp/go-azure-sdk/resource-manager/workloads/2023-04-01/sapvirtualinstances -# github.com/hashicorp/go-azure-sdk/sdk v0.20241009.1142232 +# github.com/hashicorp/go-azure-sdk/sdk v0.20241104.1140654 ## explicit; go 1.21 github.com/hashicorp/go-azure-sdk/sdk/auth github.com/hashicorp/go-azure-sdk/sdk/auth/autorest @@ -1330,6 +1366,8 @@ github.com/hashicorp/yamux # github.com/jackofallops/kermit v0.20241010.1180132 ## explicit; go 1.22 github.com/jackofallops/kermit/sdk/appconfiguration/1.0/appconfiguration +github.com/jackofallops/kermit/sdk/attestation/2022-08-01/attestation +github.com/jackofallops/kermit/sdk/web/2022-09-01/web github.com/jackofallops/kermit/version # github.com/kr/pretty v0.3.0 ## explicit; go 1.12 @@ -1389,7 +1427,6 @@ github.com/tombuildsstuff/giovanni/storage/internal/metadata # github.com/tombuildsstuff/kermit v0.20240122.1123108 ## explicit; go 1.18 github.com/tombuildsstuff/kermit/sdk/appplatform/2023-05-01-preview/appplatform -github.com/tombuildsstuff/kermit/sdk/attestation/2022-08-01/attestation github.com/tombuildsstuff/kermit/sdk/batch/2022-01.15.0/batch github.com/tombuildsstuff/kermit/sdk/botservice/2021-05-01-preview/botservice github.com/tombuildsstuff/kermit/sdk/datafactory/2018-06-01/datafactory @@ -1400,7 +1437,6 @@ github.com/tombuildsstuff/kermit/sdk/securityinsights/2022-10-01-preview/securit github.com/tombuildsstuff/kermit/sdk/synapse/2019-06-01-preview/synapse github.com/tombuildsstuff/kermit/sdk/synapse/2020-08-01-preview/synapse github.com/tombuildsstuff/kermit/sdk/synapse/2021-06-01-preview/synapse -github.com/tombuildsstuff/kermit/sdk/web/2022-09-01/web github.com/tombuildsstuff/kermit/version # github.com/vmihailenco/msgpack v4.0.4+incompatible ## explicit diff --git a/website/allowed-subcategories b/website/allowed-subcategories index f2245db4b136..5f1d127f750d 100644 --- a/website/allowed-subcategories +++ b/website/allowed-subcategories @@ -105,6 +105,8 @@ Stream Analytics Synapse System Center Virtual Machine Manager Template +Trusted Signing +Video Indexer Voice Services Web PubSub Workloads \ No newline at end of file diff --git a/website/docs/5.0-upgrade-guide.html.markdown b/website/docs/5.0-upgrade-guide.html.markdown index 95b6939aaf1c..808a662ed3bb 100644 --- a/website/docs/5.0-upgrade-guide.html.markdown +++ b/website/docs/5.0-upgrade-guide.html.markdown @@ -57,6 +57,20 @@ Please follow the format in the example below for listing breaking changes in re * The `example_property_with_changed_default` property now defaults to `NewDefault`. ``` +### `azurerm_storage_account` + +* The deprecated `queue_properties` block has been removed and superseded by the `azurerm_storage_account_queue_properties` resource. +* The deprecated `static_website` block has been removed and superseded by the `azurerm_storage_account_static_website` resource. + +### `azurerm_storage_container` + +* The deprecated `storage_account_name` property has been removed in favour of the `storage_account_id` property. +* The deprecated `resource_manager_id` property has been removed in favour of the `id` property. + +### `azurerm_storage_share` + +* The deprecated `storage_account_name` property has been removed in favour of the `storage_account_id` property. +* The deprecated `resource_manager_id` property has been removed in favour of the `id` property. ## Breaking Changes in Data Sources @@ -68,3 +82,13 @@ Please follow the format in the example below for listing breaking changes in da * The deprecated `example_old_property` property has been removed in favour of the `example_new_property` property. * The deprecated `example_property_with_no_replacement` property has been removed. ``` + +### `azurerm_storage_container` + +* The deprecated `storage_account_name` property has been removed in favour of the `storage_account_id` property. +* The deprecated `resource_manager_id` property has been removed in favour of the `id` property. +* +### `azurerm_storage_share` + +* The deprecated `storage_account_name` property has been removed in favour of the `storage_account_id` property. +* The deprecated `resource_manager_id` property has been removed in favour of the `id` property. diff --git a/website/docs/d/container_app.html.markdown b/website/docs/d/container_app.html.markdown index a845098a8050..e1ae9f0227c9 100644 --- a/website/docs/d/container_app.html.markdown +++ b/website/docs/d/container_app.html.markdown @@ -151,7 +151,7 @@ A `liveness_probe` block supports the following: * `host` - The probe hostname. Defaults to the pod IP address. Setting a value for `Host` in `headers` can be used to override this for `HTTP` and `HTTPS` type probes. -* `initial_delay` - The time in seconds to wait after the container has started before the probe is started. +* `initial_delay` - The number of seconds elapsed after the container has started before the probe is initiated. Possible values are between `0` and `60`. Defaults to `1` seconds. * `interval_seconds` - How often, in seconds, the probe should run. Possible values are in the range `1` - `240`. Defaults to `10`. @@ -187,12 +187,14 @@ An `env` block supports the following: A `readiness_probe` block supports the following: -* `failure_count_threshold` - The number of consecutive failures required to consider this probe as failed. Possible values are between `1` and `10`. Defaults to `3`. +* `failure_count_threshold` - The number of consecutive failures required to consider this probe as failed. Possible values are between `1` and `30`. Defaults to `3`. * `header` - A `header` block as detailed below. * `host` - The probe hostname. Defaults to the pod IP address. Setting a value for `Host` in `headers` can be used to override this for `HTTP` and `HTTPS` type probes. +* `initial_delay` - The number of seconds elapsed after the container has started before the probe is initiated. Possible values are between `0` and `60`. Defaults to `0` seconds. + * `interval_seconds` - How often, in seconds, the probe should run. Possible values are between `1` and `240`. Defaults to `10` * `path` - The URI to use for http type probes. Not valid for `TCP` type probes. Defaults to `/`. @@ -217,12 +219,14 @@ A `header` block supports the following: A `startup_probe` block supports the following: -* `failure_count_threshold` - The number of consecutive failures required to consider this probe as failed. Possible values are between `1` and `10`. Defaults to `3`. +* `failure_count_threshold` - The number of consecutive failures required to consider this probe as failed. Possible values are between `1` and `30`. Defaults to `3`. * `header` - A `header` block as detailed below. * `host` - The value for the host header which should be sent with this probe. If unspecified, the IP Address of the Pod is used as the host header. Setting a value for `Host` in `headers` can be used to override this for `HTTP` and `HTTPS` type probes. +* `initial_delay` - The number of seconds elapsed after the container has started before the probe is initiated. Possible values are between `0` and `60`. Defaults to `0` seconds. + * `interval_seconds` - How often, in seconds, the probe should run. Possible values are between `1` and `240`. Defaults to `10` * `path` - The URI to use with the `host` for http type probes. Not valid for `TCP` type probes. Defaults to `/`. diff --git a/website/docs/d/oracle_adbs_character_sets.html.markdown b/website/docs/d/oracle_adbs_character_sets.html.markdown new file mode 100644 index 000000000000..0875ede589a2 --- /dev/null +++ b/website/docs/d/oracle_adbs_character_sets.html.markdown @@ -0,0 +1,47 @@ +--- +subcategory: "Oracle" +layout: "azurerm" +page_title: "Azure Resource Manager: Data Source: azurerm_oracle_adbs_character_sets" +description: |- + This data source provides the list of Autonomous Database Character Sets. +--- + +# Data Source: azurerm_oracle_adbs_character_sets + +Gets a list of supported character sets. + +## Example Usage + +```hcl +data "azurerm_oracle_adbs_character_sets" "example" { + location = "West Europe" +} + +output "example" { + value = data.azurerm_oracle_adbs_character_sets.example +} +``` + +## Arguments Reference + +The following arguments are supported: + +* `location` - (Required) The Azure Region to query for the character sets in. + +## Attributes Reference + +In addition to the Arguments listed above - the following Attributes are exported: + +* `character_sets` - A `character_sets` block as defined below. + +--- + +A `character_sets` block exports the following: + +* `character_set` - A valid Oracle character set. + +## Timeouts + +The `timeouts` block allows you to specify [timeouts](https://www.terraform.io/language/resources/syntax#operation-timeouts) for certain actions: + +* `read` - (Defaults to 5 minutes) Used when retrieving the Oracle character set. diff --git a/website/docs/d/oracle_adbs_national_character_sets.html.markdown b/website/docs/d/oracle_adbs_national_character_sets.html.markdown new file mode 100644 index 000000000000..15c8d80a5c34 --- /dev/null +++ b/website/docs/d/oracle_adbs_national_character_sets.html.markdown @@ -0,0 +1,47 @@ +--- +subcategory: "Oracle" +layout: "azurerm" +page_title: "Azure Resource Manager: Data Source: azurerm_oracle_adbs_national_character_sets" +description: |- + This data source provides the list of Autonomous Database National Character Sets. +--- + +# Data Source: azurerm_oracle_adbs_national_character_sets + +Gets a list of supported national character sets. + +## Example Usage + +```hcl +data "azurerm_oracle_adbs_character_sets" "example" { + location = "West Europe" +} + +output "example" { + value = data.azurerm_oracle_adbs_national_character_sets.example +} +``` + +## Arguments Reference + +The following arguments are supported: + +* `location` - (Required) The Azure Region to query for the national character sets in. + +## Attributes Reference + +In addition to the Arguments listed above - the following Attributes are exported: + +* `character_sets` - A `character_sets` block as defined below. + +--- + +A `character_sets` block exports the following: + +* `character_set` - A valid Oracle national character set. + +## Timeouts + +The `timeouts` block allows you to specify [timeouts](https://www.terraform.io/language/resources/syntax#operation-timeouts) for certain actions: + +* `read` - (Defaults to 5 minutes) Used when retrieving the Oracle national character set. diff --git a/website/docs/d/oracle_autonomous_database.html.markdown b/website/docs/d/oracle_autonomous_database.html.markdown new file mode 100644 index 000000000000..62f44fdafb67 --- /dev/null +++ b/website/docs/d/oracle_autonomous_database.html.markdown @@ -0,0 +1,156 @@ +--- +subcategory: "Oracle" +layout: "azurerm" +page_title: "Azure Resource Manager: Data Source: azurerm_oracle_autonomous_database" +description: |- + Gets information about an existing Autonomous Database. +--- + +# Data Source: azurerm_oracle_autonomous_database + +Use this data source to access information about an existing Autonomous Database. + +## Example Usage + +```hcl +data "azurerm_oracle_autonomous_database" "example" { + name = "existing" + resource_group_name = "existing" +} + +output "id" { + value = data.azurerm_oracle_autonomous_database.example.id +} +``` + +## Arguments Reference + +The following arguments are supported: + +* `name` - (Required) The name of this Autonomous Database. + +* `resource_group_name` - (Required) The name of the Resource Group where the Autonomous Database exists. + +## Attributes Reference + +In addition to the Arguments listed above - the following Attributes are exported: + +* `id` - The ID of the Autonomous Database. + +* `actual_used_data_storage_size_in_tbs` - The current amount of storage in use for user and system data, in terabytes (TB). + +* `allocated_storage_size_in_tbs` - The amount of storage currently allocated for the database tables and billed for, rounded up. When auto-scaling is not enabled, this value is equal to the `dataStorageSizeInTBs` value. You can compare this value to the `actualUsedDataStorageSizeInTBs` value to determine if a manual shrink operation is appropriate for your allocated storage. + +* `autonomous_database_id` - The database [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + +* `available_upgrade_versions` - List of Oracle Database versions available for a database upgrade. If there are no version upgrades available, this list is empty. + +* `backup_retention_period_in_days` - Retention period, in days, for backups. + +* `character_set` - The character set for the autonomous database. + +* `compute_count` - The compute amount (CPUs) available to the database. + +* `cpu_core_count` - The number of CPU cores to be made available to the database. When the ECPU is selected, the value for cpuCoreCount is 0. For Autonomous Database on Dedicated Exadata infrastructure, the maximum number of cores is determined by the infrastructure shape. See [Characteristics of Infrastructure Shapes](https://www.oracle.com/pls/topic/lookup?ctx=en/cloud/paas/autonomous-database&id=ATPFG-GUID-B0F033C1-CC5A-42F0-B2E7-3CECFEDA1FD1) for shape details. + +* `data_storage_size_in_gbs` - The quantity of data in the database, in gigabytes. + +* `data_storage_size_in_tbs` - The maximum storage that can be allocated for the database, in terabytes. + +* `db_node_storage_size_in_gbs` - The DB node storage size in, in gigabytes. + +* `db_version` - A valid Oracle Database version for Autonomous Database. + +* `display_name` - The user-friendly name for the Autonomous Database. The name does not have to be unique. + +* `failed_data_recovery_in_seconds` - Indicates the number of seconds of data loss for a Data Guard failover. + +* `in_memory_area_in_gbs` - The area assigned to In-Memory tables in Autonomous Database. + +* `auto_scaling_enabled` - Indicates if auto scaling is enabled for the Autonomous Database CPU core count. + +* `auto_scaling_for_storage_enabled` - Indicates if auto scaling is enabled for the Autonomous Database storage. + +* `local_data_guard_enabled` - Indicates whether the Autonomous Database has local (in-region) Data Guard enabled. Not applicable to cross-region Autonomous Data Guard associations, or to Autonomous Databases using dedicated Exadata infrastructure or Exadata Cloud@Customer infrastructure. + +* `mtls_connection_required` - Specifies if the Autonomous Database requires mTLS connections. + +* `preview` - Indicates if the Autonomous Database version is a preview version. + +* `preview_version_with_service_terms_accepted` - Indicates if the Autonomous Database version is a preview version with service terms accepted. + +* `remote_data_guard_enabled` - Indicates whether the Autonomous Database has Cross Region Data Guard enabled. Not applicable to Autonomous Databases using dedicated Exadata infrastructure or Exadata Cloud@Customer infrastructure. + +* `key_history_entry` - Key History Entry. + +* `lifecycle_details` - Information about the current lifecycle state. + +* `local_adg_auto_failover_max_data_loss_limit` - Parameter that allows users to select an acceptable maximum data loss limit in seconds, up to which Automatic Failover will be triggered when necessary for a Local Autonomous Data Guard + +* `location` - The Azure Region where the Autonomous Database exists. + +* `memory_per_oracle_compute_unit_in_gbs` - The amount of memory (in GBs) enabled per ECPU or OCPU. + +* `national_character_set` - The national character set for the autonomous database. The default is AL16UTF16. Allowed values are: AL16UTF16 or UTF8. + +* `next_long_term_backup_time_stamp` - The date and time when the next long-term backup would be created. + +* `oci_url` - The URL of the resource in the OCI console. + +* `ocid` - The [OCID](https://docs.oracle.com/en-us/iaas/Content/General/Concepts/identifiers.htm) of the autonomous database. + +* `peer_db_ids` - The list of [OCIDs](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of standby databases located in Autonomous Data Guard remote regions that are associated with the source database. Note that for Autonomous Database Serverless instances, standby databases located in the same region as the source primary database do not have OCIDs. + +* `private_endpoint` - The private endpoint for the resource. + +* `private_endpoint_ip` - The private endpoint Ip address for the resource. + +* `private_endpoint_label` - The private endpoint label for the resource. + +* `provisionable_cpus` - An array of CPU values that an Autonomous Database can be scaled to. + +* `service_console_url` - The URL of the Service Console for the Autonomous Database. + +* `sql_web_developer_url` - The URL of the SQL web developer. + +* `subnet_id` - The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet the resource is associated with. + +* `supported_regions_to_clone_to` - The list of regions that support the creation of an Autonomous Database clone or an Autonomous Data Guard standby database. + +* `tags` - A mapping of tags assigned to the Autonomous Database. + +* `time_created` - The date and time the Autonomous Database was created. + +* `time_data_guard_role_changed` - The date and time the Autonomous Data Guard role was switched for the Autonomous Database. For databases that have standbys in both the primary Data Guard region and a remote Data Guard standby region, this is the latest timestamp of either the database using the "primary" role in the primary Data Guard region, or database located in the remote Data Guard standby region. + +* `time_deletion_of_free_autonomous_database` - The date and time the Always Free database will be automatically deleted because of inactivity. If the database is in the STOPPED state and without activity until this time, it will be deleted. + +* `time_local_data_guard_enabled_on` - The date and time that Autonomous Data Guard was enabled for an Autonomous Database where the standby was provisioned in the same region as the primary database. + +* `time_maintenance_begin` - The date and time when maintenance will begin. + +* `time_maintenance_end` - The date and time when maintenance will end. + +* `time_of_last_failover` - The timestamp of the last failover operation. + +* `time_of_last_refresh` - The date and time when last refresh happened. + +* `time_of_last_refresh_point` - The refresh point timestamp (UTC). The refresh point is the time to which the database was most recently refreshed. Data created after the refresh point is not included in the refresh. + +* `time_of_last_switchover` - The timestamp of the last switchover operation for the Autonomous Database. + +* `time_reclamation_of_free_autonomous_database` - The date and time the Always Free database will be stopped because of inactivity. If this time is reached without any database activity, the database will automatically be put into the STOPPED state. + +* `used_data_storage_size_in_gbs` - The storage space consumed by Autonomous Database in GBs. + +* `used_data_storage_size_in_tbs` - The amount of storage that has been used, in terabytes. + +* `virtual_network_id` - The ID to an Azure Resource Manager vnet resource. + +* `allowed_ips` - The client IP access control list (ACL). This feature is available for [Autonomous Database Serverless] (https://docs.oracle.com/en/cloud/paas/autonomous-database/index.html) and on Exadata Cloud@Customer. Only clients connecting from an IP address included in the ACL may access the Autonomous Database instance. If `arePrimaryWhitelistedIpsUsed` is 'TRUE' then Autonomous Database uses this primary's IP access control list (ACL) for the disaster recovery peer called `standbywhitelistedips`. + +## Timeouts + +The `timeouts` block allows you to specify [timeouts](https://www.terraform.io/language/resources/syntax#operation-timeouts) for certain actions: + +* `read` - (Defaults to 5 minutes) Used when retrieving the Autonomous Database. diff --git a/website/docs/d/oracle_db_nodes.html.markdown b/website/docs/d/oracle_db_nodes.html.markdown new file mode 100644 index 000000000000..fbb34bc735fa --- /dev/null +++ b/website/docs/d/oracle_db_nodes.html.markdown @@ -0,0 +1,87 @@ +--- +subcategory: "Oracle" +layout: "azurerm" +page_title: "Azure Resource Manager: Data Source: azurerm_oracle_db_nodes" +description: |- + This data source provides the list of DB Nodes. +--- + +# Data Source: azurerm_oracle_db_nodes + +Lists the database nodes for the specified Cloud VM Cluster. + +## Example Usage + +```hcl +data "azurerm_oracle_db_nodes" "example" { + cloud_vm_cluster_id = "existing" +} + +output "example" { + value = data.azurerm_oracle_db_nodes.example +} +``` + +## Arguments Reference + +The following arguments are supported: + +* `cloud_vm_cluster_id` - (Required) The id of the Cloud VM cluster. + +## Attributes Reference + +In addition to the Arguments listed above - the following Attributes are exported: + +* `db_nodes` - A `db_nodes` block as defined below. + +--- + +A `db_nodes` block exports the following: + +* `additional_details` - Additional information about the planned maintenance. + +* `backup_ip_id` - The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the backup IP address associated with the database node. Use this OCID with either the [GetPrivateIp](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/20160918/PrivateIp/GetPrivateIp) or the [GetPublicIpByPrivateIpId](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/20160918/PublicIp/GetPublicIpByPrivateIpId) API to get the IP address needed to make a database connection. + +* `backup_vnic_id` - The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the backup VNIC. + +* `backup_vnic2id` - The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the second backup VNIC. + +* `cpu_core_count` - The number of CPU cores enabled on the DB node. + +* `db_node_storage_size_in_gbs` - The allocated local node storage in GBs on the DB node. + +* `db_server_id` - The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the ExaCC DB server associated with the database node. + +* `db_system_id` - The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DB system. + +* `fault_domain` - The name of the Fault Domain the instance is contained in. + +* `host_ip_id` - The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the host IP address associated with the database node. Use this OCID with either the [GetPrivateIp](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/20160918/PrivateIp/GetPrivateIp) or the [GetPublicIpByPrivateIpId](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/20160918/PublicIp/GetPublicIpByPrivateIpId) API to get the IP address needed to make a database connection. + +* `lifecycle_details` - Information about the current lifecycle details. + +* `lifecycle_state` - Information about the current lifecycle state. + +* `maintenance_type` - The type of database node maintenance. + +* `memory_size_in_gbs` - The allocated memory in GBs on the DB Node. + +* `ocid` - The [OCID](https://docs.oracle.com/en-us/iaas/Content/General/Concepts/identifiers.htm) of the DB node. + +* `software_storage_size_in_gb` - The size (in GB) of the block storage volume allocation for the DB system. This attribute applies only for virtual machine DB systems. + +* `time_created` - The date and time that the DB node was created. + +* `time_maintenance_window_end` - End date and time of maintenance window. + +* `time_maintenance_window_start` - Start date and time of maintenance window. + +* `vnic2id` - The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the second VNIC. + +* `vnic_id` - The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VNIC. + +## Timeouts + +The `timeouts` block allows you to specify [timeouts](https://www.terraform.io/language/resources/syntax#operation-timeouts) for certain actions: + +* `read` - (Defaults to 5 minutes) Used when retrieving the DB Node. diff --git a/website/docs/d/oracle_db_system_shapes.html.markdown b/website/docs/d/oracle_db_system_shapes.html.markdown new file mode 100644 index 000000000000..1f73955a3144 --- /dev/null +++ b/website/docs/d/oracle_db_system_shapes.html.markdown @@ -0,0 +1,87 @@ +--- +subcategory: "Oracle" +layout: "azurerm" +page_title: "Azure Resource Manager: Data Source: azurerm_oracle_db_system_shapes" +description: |- + Provides the list of DB System Shapes. +--- + +# Data Source: azurerm_oracle_db_system_shapes + +This data source provides the list of DB System Shapes in Oracle Cloud Infrastructure Database service. + +Gets a list of the shapes that can be used to launch a new DB system. The shape determines resources to allocate to the DB system - CPU cores and memory for VM shapes; CPU cores, memory and storage for non-VM (or bare metal) shapes. + +## Example Usage + +```hcl +data "azurerm_oracle_db_system_shapes" "example" { + location = "West Europe" +} + +output "example" { + value = data.azurerm_oracle_db_system_shapes.example +} +``` + +## Arguments Reference + +The following arguments are supported: + +* `location` - (Required) The Azure Region to query for the system shapes in. + +## Attributes Reference + +In addition to the Arguments listed above - the following Attributes are exported: + +* `db_system_shapes` - A `db_system_shapes` block as defined below. + +--- + +A `db_system_shapes` block exports the following: + +* `available_core_count` - The maximum number of CPU cores that can be enabled on the DB system for this shape. + +* `available_core_count_per_node` - The maximum number of CPU cores per database node that can be enabled for this shape. Only applicable to the flex Exadata shape, ExaCC Elastic shapes and VM Flex shapes. + +* `available_data_storage_in_tbs` - The maximum data storage that can be enabled for this shape. + +* `available_data_storage_per_server_in_tbs` - The maximum data storage available per storage server for this shape. Only applicable to ExaCC Elastic shapes. + +* `available_db_node_per_node_in_gbs` - The maximum DB Node storage available per database node for this shape. Only applicable to ExaCC Elastic shapes. + +* `available_db_node_storage_in_gbs` - The maximum DB Node storage that can be enabled for this shape. + +* `available_memory_in_gbs` - The maximum memory that can be enabled for this shape. + +* `available_memory_per_node_in_gbs` - The maximum memory available per database node for this shape. Only applicable to ExaCC Elastic shapes. + +* `core_count_increment` - The discrete number by which the CPU core count for this shape can be increased or decreased. + +* `maximum_storage_count` - The maximum number of Exadata storage servers available for the Exadata infrastructure. + +* `maximum_node_count` - The maximum number of compute servers available for this shape. + +* `minimum_core_count_per_node` - The minimum number of CPU cores that can be enabled per node for this shape. + +* `minimum_data_storage_in_tbs` - The minimum data storage that need be allocated for this shape. + +* `minimum_db_node_storage_per_node_in_gbs` - The minimum DB Node storage that need be allocated per node for this shape. + +* `minimum_memory_per_node_in_gbs` - The minimum memory that need be allocated per node for this shape. + +* `minimum_storage_count` - The minimum number of Exadata storage servers available for the Exadata infrastructure. + +* `minimum_core_count` - The minimum number of CPU cores that can be enabled on the DB system for this shape. + +* `minimum_node_count` - The minimum number of compute servers available for this shape. + +* `runtime_minimum_core_count` - The runtime minimum number of compute servers available for this shape. + +* `shape_family` - The family of the shape used for the DB system. + +## Timeouts + +The `timeouts` block allows you to specify [timeouts](https://www.terraform.io/language/resources/syntax#operation-timeouts) for certain actions: + +* `read` - (Defaults to 5 minutes) Used when retrieving the System Shapes. diff --git a/website/docs/d/oracle_gi_versions.html.markdown b/website/docs/d/oracle_gi_versions.html.markdown new file mode 100644 index 000000000000..235da9ccc367 --- /dev/null +++ b/website/docs/d/oracle_gi_versions.html.markdown @@ -0,0 +1,43 @@ +--- +subcategory: "Oracle" +layout: "azurerm" +page_title: "Azure Resource Manager: Data Source: azurerm_oracle_gi_versions" +description: |- + Provides the list of GI (Grid Infrastructure) Versions. +--- + +# Data Source: azurerm_oracle_gi_versions + +This data source provides the list of GI Versions in Oracle Cloud Infrastructure Database service. + +Gets a list of supported GI versions. + +## Example Usage + +```hcl +data "azurerm_oracle_gi_versions" "example" { + location = "West Europe" +} + +output "example" { + value = data.azurerm_oracle_gi_versions.example +} +``` + +## Arguments Reference + +The following arguments are supported: + +* `location` - (Required) The Azure Region to query for the GI Versions in. + +## Attributes Reference + +In addition to the Arguments listed above - the following Attributes are exported: + +* `versions` - A list of valid GI software versions. + +## Timeouts + +The `timeouts` block allows you to specify [timeouts](https://www.terraform.io/language/resources/syntax#operation-timeouts) for certain actions: + +* `read` - (Defaults to 5 minutes) Used when retrieving the GI Versions. diff --git a/website/docs/d/public_ip_prefix.html.markdown b/website/docs/d/public_ip_prefix.html.markdown index f8f47575c220..4fe3deb77cfd 100644 --- a/website/docs/d/public_ip_prefix.html.markdown +++ b/website/docs/d/public_ip_prefix.html.markdown @@ -35,6 +35,7 @@ output "public_ip_prefix" { * `ip_prefix` - The Public IP address range, in CIDR notation. * `location` - The supported Azure location where the resource exists. * `sku` - The SKU of the Public IP Prefix. +* `sku_tier` - The SKU Tier of the Public IP. * `prefix_length` - The number of bits of the prefix. * `tags` - A mapping of tags to assigned to the resource. * `zones` - A list of Availability Zones in which this Public IP Prefix is located. diff --git a/website/docs/d/storage_container.html.markdown b/website/docs/d/storage_container.html.markdown index 62be44b89610..6b85fbc66488 100644 --- a/website/docs/d/storage_container.html.markdown +++ b/website/docs/d/storage_container.html.markdown @@ -13,9 +13,14 @@ Use this data source to access information about an existing Storage Container. ## Example Usage ```hcl +data "azurerm_storage_account" "example" { + name = "exampleaccount" + resource_group_name = "examples" +} + data "azurerm_storage_container" "example" { - name = "example-container-name" - storage_account_name = "example-storage-account-name" + name = "example-container-name" + storage_account_id = data.azurerm_storage_account.example.id } ``` @@ -25,7 +30,11 @@ The following arguments are supported: * `name` - The name of the Container. -* `storage_account_name` - The name of the Storage Account where the Container exists. +* `storage_account_name` - (Optional) The name of the Storage Account where the Container exists. This property is deprecated in favour of `storage_account_id`. + +* `storage_account_id` - (Optional) The name of the Storage Account where the Container exists. This property will become Required in version 5.0 of the Provider. + +~> **NOTE:** One of `storage_account_name` or `storage_account_id` must be specified. When specifying `storage_account_id` the resource will use the Resource Manager API, rather than the Data Plane API. ## Attributes Reference @@ -41,7 +50,7 @@ The following arguments are supported: * `metadata` - A mapping of MetaData for this Container. -* `resource_manager_id` - The Resource Manager ID of this Storage Container. +* `id` - The Resource Manager ID of this Storage Container. ## Timeouts diff --git a/website/docs/d/storage_share.html.markdown b/website/docs/d/storage_share.html.markdown index d4e0bbbdda16..c8892a2d78ff 100644 --- a/website/docs/d/storage_share.html.markdown +++ b/website/docs/d/storage_share.html.markdown @@ -15,14 +15,16 @@ Use this data source to access information about an existing File Share. ## Example Usage ```hcl -data "azurerm_storage_share" "example" { - name = "existing" - storage_account_name = "existing" +data "azurerm_storage_account" "example" { + name = "exampleaccount" + resource_group_name = "examples" } -output "id" { - value = data.azurerm_storage_share.example.id +data "azurerm_storage_share" "example" { + name = "existing" + storage_account_id = data.azurerm_storage_account.example.id } + ``` ## Arguments Reference @@ -31,7 +33,11 @@ The following arguments are supported: * `name` - (Required) The name of the share. -* `storage_account_name` - (Required) The name of the storage account. +* `storage_account_name` - (Optional) The name of the storage account in which the share exists. This property is deprecated in favour of `storage_account_id`. + +* `storage_account_id` - (Optional) The ID of the storage account in which the share exists. + +~> **NOTE:** One of `storage_account_name` or `storage_account_id` must be specified. When specifying `storage_account_id` the resource will use the Resource Manager API, rather than the Data Plane API. ## Attributes Reference @@ -57,9 +63,9 @@ A `access_policy` block has the following attributes: * `permissions` - The permissions which should be associated with this Shared Identifier. Possible value is combination of `r` (read), `w` (write), `d` (delete), and `l` (list). -* `start` - The time at which this Access Policy should be valid from, in [ISO8601](https://en.wikipedia.org/wiki/ISO_8601) format. +* `start` - The time at which this Access Policy is valid from. -* `expiry` - The time at which this Access Policy should be valid until, in [ISO8601](https://en.wikipedia.org/wiki/ISO_8601) format. +* `expiry` - The time at which this Access Policy is valid until. ## Timeouts diff --git a/website/docs/d/virtual_network_peering.html.markdown b/website/docs/d/virtual_network_peering.html.markdown new file mode 100644 index 000000000000..e23950a46f1a --- /dev/null +++ b/website/docs/d/virtual_network_peering.html.markdown @@ -0,0 +1,63 @@ +--- +subcategory: "Network" +layout: "azurerm" +page_title: "Azure Resource Manager: Data Source: azurerm_virtual_network_peering" +description: |- + Gets information about an existing virtual network peering. +--- + +# Data Source: azurerm_virtual_network_peering + +Use this data source to access information about an existing virtual network peering. + +## Example Usage + +```hcl +data "azurerm_virtual_network" "example" { + name = "vnet01" + resource_group_name = "networking" +} + +data "azurerm_virtual_network_peering" "example" { + name = "peer-vnet01-to-vnet02" + virtual_network_id = data.azurerm_virtual_network.example.id +} + +output "id" { + value = data.azurerm_virtual_network_peering.example.id +} +``` + +## Arguments Reference + +The following arguments are supported: + +* `name` - (Required) The name of this virtual network peering. + +* `virtual_network_id` - (Required) The resource ID of the virtual network. + +## Attributes Reference + +In addition to the Arguments listed above - the following Attributes are exported: + +* `id` - The ID of the virtual network peering. + +* `allow_forwarded_traffic` - Controls if forwarded traffic from VMs in the remote virtual network is allowed. + +* `allow_gateway_transit` - Controls gatewayLinks can be used in the remote virtual network’s link to the local virtual network. + +* `allow_virtual_network_access` - Controls if the traffic from the local virtual network can reach the remote virtual network. + +* `only_ipv6_peering_enabled` - Specifies whether only IPv6 address space is peered for Subnet peering. + +* `peer_complete_virtual_networks_enabled` - Specifies whether complete Virtual Network address space is peered. + +* `remote_virtual_network_id` - The full Azure resource ID of the remote virtual network. + +* `use_remote_gateways` - Controls if remote gateways can be used on the local virtual network. + +## Timeouts + +The `timeouts` block allows you to specify [timeouts](https://www.terraform.io/language/resources/syntax#operation-timeouts) for certain actions: + +* `read` - (Defaults to 5 minutes) Used when retrieving the virtual network peering. diff --git a/website/docs/functions/parse_resource_id.html.markdown b/website/docs/functions/parse_resource_id.html.markdown index 010a99e13bb2..fcd19945f14d 100644 --- a/website/docs/functions/parse_resource_id.html.markdown +++ b/website/docs/functions/parse_resource_id.html.markdown @@ -61,7 +61,7 @@ output "resource_name" { ## Signature ```text -normalise_resource_id(id string) string +parse_resource_id(id string) string ``` ## Arguments diff --git a/website/docs/r/application_gateway.html.markdown b/website/docs/r/application_gateway.html.markdown index 4a28c064cb07..bc4f03f0d48e 100644 --- a/website/docs/r/application_gateway.html.markdown +++ b/website/docs/r/application_gateway.html.markdown @@ -184,7 +184,7 @@ The following arguments are supported: * `autoscale_configuration` - (Optional) An `autoscale_configuration` block as defined below. -* `rewrite_rule_set` - (Optional) One or more `rewrite_rule_set` blocks as defined below. Only valid for v2 SKUs. +* `rewrite_rule_set` - (Optional) One or more `rewrite_rule_set` blocks as defined below. Only valid for v2 WAF and Standard SKUs. --- @@ -202,11 +202,13 @@ A `trusted_root_certificate` block supports the following: * `data` - (Optional) The contents of the Trusted Root Certificate which should be used. Required if `key_vault_secret_id` is not set. -* `key_vault_secret_id` - (Optional) The Secret ID of (base-64 encoded unencrypted pfx) `Secret` or `Certificate` object stored in Azure KeyVault. You need to enable soft delete for the Key Vault to use this feature. Required if `data` is not set. +* `key_vault_secret_id` - (Optional) The Secret ID of the (base-64 encoded unencrypted pfx) `Secret` or `Certificate` object stored in Azure KeyVault. You need to enable soft delete for the Key Vault to use this feature. Required if `data` is not set. + +-> **NOTE:** To implement certificate rotation, `versionless_secret_id` should be used, although `secret_id` is also supported. -> **NOTE:** TLS termination with Key Vault certificates is limited to the [v2 SKUs](https://docs.microsoft.com/azure/application-gateway/key-vault-certs). --> **NOTE:** For TLS termination with Key Vault certificates to work properly existing user-assigned managed identity, which Application Gateway uses to retrieve certificates from Key Vault, should be defined via `identity` block. Additionally, access policies in the Key Vault to allow the identity to be granted *get* access to the secret should be defined. +-> **NOTE:** For TLS termination with Key Vault certificates to work properly, an existing user-assigned managed identity, which Application Gateway uses to retrieve certificates from Key Vault, should be defined via `identity` block. Additionally, access policies in the Key Vault to allow the identity to be granted *get* access to the secret should be defined. --- @@ -402,7 +404,7 @@ A `probe` block supports the following: * `unhealthy_threshold` - (Required) The Unhealthy Threshold for this Probe, which indicates the amount of retries which should be attempted before a node is deemed unhealthy. Possible values are from 1 to 20. -* `port` - (Optional) Custom port which will be used for probing the backend servers. The valid value ranges from 1 to 65535. In case not set, port from HTTP settings will be used. This property is valid for Standard_v2 and WAF_v2 only. +* `port` - (Optional) Custom port which will be used for probing the backend servers. The valid value ranges from 1 to 65535. In case not set, port from HTTP settings will be used. This property is valid for Basic, Standard_v2 and WAF_v2 only. * `pick_host_name_from_backend_http_settings` - (Optional) Whether the host header should be picked from the backend HTTP settings. Defaults to `false`. @@ -448,13 +450,13 @@ A `global` block supports the following: A `sku` block supports the following: -* `name` - (Required) The Name of the SKU to use for this Application Gateway. Possible values are `Standard_Small`, `Standard_Medium`, `Standard_Large`, `Standard_v2`, `WAF_Medium`, `WAF_Large`, and `WAF_v2`. +* `name` - (Required) The Name of the SKU to use for this Application Gateway. Possible values are `Basic`, `Standard_Small`, `Standard_Medium`, `Standard_Large`, `Basic`, `Standard_v2`, `WAF_Medium`, `WAF_Large`, and `WAF_v2`. -* `tier` - (Required) The Tier of the SKU to use for this Application Gateway. Possible values are `Standard`, `Standard_v2`, `WAF` and `WAF_v2`. +* `tier` - (Required) The Tier of the SKU to use for this Application Gateway. Possible values are `Basic`, `Standard`, `Standard_v2`, `WAF` and `WAF_v2`. -!> **NOTE:** The `Standard` and `WAF` SKU have been deprecated in favour of the `Standard_v2` and `WAF_v2` SKU. Please see the [Azure documentation](https://aka.ms/V1retirement) for more details. +!> **NOTE:** The `Standard` and `WAF` SKU have been deprecated in favour of the `Basic`, `Standard_v2` and `WAF_v2` SKU. Please see the [Azure documentation](https://aka.ms/V1retirement) for more details. -* `capacity` - (Optional) The Capacity of the SKU to use for this Application Gateway. When using a V1 SKU this value must be between `1` and `32`, and `1` to `125` for a V2 SKU. This property is optional if `autoscale_configuration` is set. +* `capacity` - (Optional) The Capacity of the SKU to use for this Application Gateway. When using a V1 SKU this value must be between `1` and `32`, and `1` to `125` for a V2 SKU. When using a `Basic` SKU this property must be between `1` and `2`. This property is optional if `autoscale_configuration` is set. --- @@ -468,11 +470,13 @@ A `ssl_certificate` block supports the following: * `password` - (Optional) Password for the pfx file specified in data. Required if `data` is set. -* `key_vault_secret_id` - (Optional) The Secret ID of (base-64 encoded unencrypted pfx) the `Secret` or `Certificate` object stored in Azure KeyVault. You need to enable soft delete for Key Vault to use this feature. Required if `data` is not set. +* `key_vault_secret_id` - (Optional) The Secret ID of the (base-64 encoded unencrypted pfx) `Secret` or `Certificate` object stored in Azure KeyVault. You need to enable soft delete for Key Vault to use this feature. Required if `data` is not set. + +-> **NOTE:** To implement certificate rotation, `versionless_secret_id` should be used, although `secret_id` is also supported. -> **NOTE:** TLS termination with Key Vault certificates is limited to the [v2 SKUs](https://docs.microsoft.com/azure/application-gateway/key-vault-certs). --> **NOTE:** For TLS termination with Key Vault certificates to work properly existing user-assigned managed identity, which Application Gateway uses to retrieve certificates from Key Vault, should be defined via `identity` block. Additionally, access policies in the Key Vault to allow the identity to be granted *get* access to the secret should be defined. +-> **NOTE:** For TLS termination with Key Vault certificates to work properly, an existing user-assigned managed identity, which Application Gateway uses to retrieve certificates from Key Vault, should be defined via `identity` block. Additionally, access policies in the Key Vault to allow the identity to be granted *get* access to the secret should be defined. --- diff --git a/website/docs/r/automation_software_update_configuration.html.markdown b/website/docs/r/automation_software_update_configuration.html.markdown index dc7bf7ad1670..1904659e7227 100644 --- a/website/docs/r/automation_software_update_configuration.html.markdown +++ b/website/docs/r/automation_software_update_configuration.html.markdown @@ -211,7 +211,7 @@ The `monthly_occurrence` block supports the following: * `day` - (Required) Day of the occurrence. Must be one of `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, `Saturday`, `Sunday`. -* `occurrence` - (Required) Occurrence of the week within the month. Must be between `1` and `5`. `-1` for last week within the month. +* `occurrence` - (Required) Occurrence of the week within the month. Must be between `1` and `4`. `-1` for last week within the month. ## Attributes Reference diff --git a/website/docs/r/consumption_budget_management_group.html.markdown b/website/docs/r/consumption_budget_management_group.html.markdown index 31dbdb2cd9c6..2a606f399f54 100644 --- a/website/docs/r/consumption_budget_management_group.html.markdown +++ b/website/docs/r/consumption_budget_management_group.html.markdown @@ -112,7 +112,7 @@ A `notification` block supports the following: * `contact_emails` - (Required) Specifies a list of email addresses to send the budget notification to when the threshold is exceeded. -* `threshold_type` - (Optional) The type of threshold for the notification. This determines whether the notification is triggered by forecasted costs or actual costs. The allowed values are `Actual` and `Forecasted`. Default is `Actual`. Changing this forces a new resource to be created. +* `threshold_type` - (Optional) The type of threshold for the notification. This determines whether the notification is triggered by forecasted costs or actual costs. The allowed values are `Actual` and `Forecasted`. Default is `Actual`. * `enabled` - (Optional) Should the notification be enabled? Defaults to `true`. diff --git a/website/docs/r/consumption_budget_resource_group.html.markdown b/website/docs/r/consumption_budget_resource_group.html.markdown index 3f9700574558..45231361aad5 100644 --- a/website/docs/r/consumption_budget_resource_group.html.markdown +++ b/website/docs/r/consumption_budget_resource_group.html.markdown @@ -120,7 +120,7 @@ A `notification` block supports the following: * `threshold` - (Required) Threshold value associated with a notification. Notification is sent when the cost exceeded the threshold. It is always percent and has to be between 0 and 1000. -* `threshold_type` - (Optional) The type of threshold for the notification. This determines whether the notification is triggered by forecasted costs or actual costs. The allowed values are `Actual` and `Forecasted`. Default is `Actual`. Changing this forces a new resource to be created. +* `threshold_type` - (Optional) The type of threshold for the notification. This determines whether the notification is triggered by forecasted costs or actual costs. The allowed values are `Actual` and `Forecasted`. Default is `Actual`. * `contact_emails` - (Optional) Specifies a list of email addresses to send the budget notification to when the threshold is exceeded. diff --git a/website/docs/r/consumption_budget_subscription.html.markdown b/website/docs/r/consumption_budget_subscription.html.markdown index 17c20a26f1c0..2fcc3027873b 100644 --- a/website/docs/r/consumption_budget_subscription.html.markdown +++ b/website/docs/r/consumption_budget_subscription.html.markdown @@ -124,7 +124,7 @@ A `notification` block supports the following: * `threshold` - (Required) Threshold value associated with a notification. Notification is sent when the cost exceeded the threshold. It is always percent and has to be between 0 and 1000. -* `threshold_type` - (Optional) The type of threshold for the notification. This determines whether the notification is triggered by forecasted costs or actual costs. The allowed values are `Actual` and `Forecasted`. Default is `Actual`. Changing this forces a new resource to be created. +* `threshold_type` - (Optional) The type of threshold for the notification. This determines whether the notification is triggered by forecasted costs or actual costs. The allowed values are `Actual` and `Forecasted`. Default is `Actual`. * `contact_emails` - (Optional) Specifies a list of email addresses to send the budget notification to when the threshold is exceeded. diff --git a/website/docs/r/container_app.html.markdown b/website/docs/r/container_app.html.markdown index 885ecfb77e42..23a7ebc2ffcc 100644 --- a/website/docs/r/container_app.html.markdown +++ b/website/docs/r/container_app.html.markdown @@ -260,7 +260,7 @@ A `liveness_probe` block supports the following: * `host` - (Optional) The probe hostname. Defaults to the pod IP address. Setting a value for `Host` in `headers` can be used to override this for `HTTP` and `HTTPS` type probes. -* `initial_delay` - (Optional) The time in seconds to wait after the container has started before the probe is started. +* `initial_delay` - (Optional) The number of seconds elapsed after the container has started before the probe is initiated. Possible values are between `0` and `60`. Defaults to `1` seconds. * `interval_seconds` - (Optional) How often, in seconds, the probe should run. Possible values are in the range `1` - `240`. Defaults to `10`. @@ -298,12 +298,14 @@ An `env` block supports the following: A `readiness_probe` block supports the following: -* `failure_count_threshold` - (Optional) The number of consecutive failures required to consider this probe as failed. Possible values are between `1` and `10`. Defaults to `3`. +* `failure_count_threshold` - (Optional) The number of consecutive failures required to consider this probe as failed. Possible values are between `1` and `30`. Defaults to `3`. * `header` - (Optional) A `header` block as detailed below. * `host` - (Optional) The probe hostname. Defaults to the pod IP address. Setting a value for `Host` in `headers` can be used to override this for `HTTP` and `HTTPS` type probes. +* `initial_delay` - (Optional) The number of seconds elapsed after the container has started before the probe is initiated. Possible values are between `0` and `60`. Defaults to `0` seconds. + * `interval_seconds` - (Optional) How often, in seconds, the probe should run. Possible values are between `1` and `240`. Defaults to `10` * `path` - (Optional) The URI to use for http type probes. Not valid for `TCP` type probes. Defaults to `/`. @@ -328,12 +330,14 @@ A `header` block supports the following: A `startup_probe` block supports the following: -* `failure_count_threshold` - (Optional) The number of consecutive failures required to consider this probe as failed. Possible values are between `1` and `10`. Defaults to `3`. +* `failure_count_threshold` - (Optional) The number of consecutive failures required to consider this probe as failed. Possible values are between `1` and `30`. Defaults to `3`. * `header` - (Optional) A `header` block as detailed below. * `host` - (Optional) The value for the host header which should be sent with this probe. If unspecified, the IP Address of the Pod is used as the host header. Setting a value for `Host` in `headers` can be used to override this for `HTTP` and `HTTPS` type probes. +* `initial_delay` - (Optional) The number of seconds elapsed after the container has started before the probe is initiated. Possible values are between `0` and `60`. Defaults to `0` seconds. + * `interval_seconds` - (Optional) How often, in seconds, the probe should run. Possible values are between `1` and `240`. Defaults to `10` * `path` - (Optional) The URI to use with the `host` for http type probes. Not valid for `TCP` type probes. Defaults to `/`. diff --git a/website/docs/r/container_app_environment.html.markdown b/website/docs/r/container_app_environment.html.markdown index bfac1ee8168f..9a878d0cf9d9 100644 --- a/website/docs/r/container_app_environment.html.markdown +++ b/website/docs/r/container_app_environment.html.markdown @@ -64,7 +64,7 @@ The following arguments are supported: ~> **Note:** can only be set to `true` if `infrastructure_subnet_id` is specified. -* `log_analytics_workspace_id` - (Optional) The ID for the Log Analytics Workspace to link this Container Apps Managed Environment to. Changing this forces a new resource to be created. +* `log_analytics_workspace_id` - (Optional) The ID for the Log Analytics Workspace to link this Container Apps Managed Environment to. * `workload_profile` - (Optional) The profile of the workload to scope the container app execution. A `workload_profile` block as defined below. diff --git a/website/docs/r/container_registry.html.markdown b/website/docs/r/container_registry.html.markdown index caea0a554787..d847c697973c 100644 --- a/website/docs/r/container_registry.html.markdown +++ b/website/docs/r/container_registry.html.markdown @@ -63,7 +63,6 @@ resource "azurerm_container_registry" "acr" { } encryption { - enabled = true key_vault_key_id = data.azurerm_key_vault_key.example.id identity_client_id = azurerm_user_assigned_identity.example.client_id } @@ -139,7 +138,7 @@ The following arguments are supported: * `resource_group_name` - (Required) The name of the resource group in which to create the Container Registry. Changing this forces a new resource to be created. -* `location` - (Required) Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. +* `location` - (Required) Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. * `sku` - (Required) The SKU name of the container registry. Possible values are `Basic`, `Standard` and `Premium`. @@ -165,7 +164,7 @@ The following arguments are supported: * `trust_policy_enabled` - (Optional) Boolean value that indicated whether trust policy is enabled. Defaults to `false`. -* `zone_redundancy_enabled` - (Optional) Whether zone redundancy is enabled for this Container Registry? Changing this forces a new resource to be created. Defaults to `false`. +* `zone_redundancy_enabled` - (Optional) Whether zone redundancy is enabled for this Container Registry? Changing this forces a new resource to be created. Defaults to `false`. * `export_policy_enabled` - (Optional) Boolean value that indicates whether export policy is enabled. Defaults to `true`. In order to set it to `false`, make sure the `public_network_access_enabled` is also set to `false`. @@ -187,7 +186,7 @@ The `georeplications` block supports the following: * `location` - (Required) A location where the container registry should be geo-replicated. -* `regional_endpoint_enabled` - (Optional) Whether regional endpoint is enabled for this Container Registry? +* `regional_endpoint_enabled` - (Optional) Whether regional endpoint is enabled for this Container Registry? * `zone_redundancy_enabled` - (Optional) Whether zone redundancy is enabled for this replication location? Defaults to `false`. diff --git a/website/docs/r/cosmosdb_account.html.markdown b/website/docs/r/cosmosdb_account.html.markdown index 64b2e38ac673..a2caed28bad3 100644 --- a/website/docs/r/cosmosdb_account.html.markdown +++ b/website/docs/r/cosmosdb_account.html.markdown @@ -164,13 +164,19 @@ The following arguments are supported: ~> **Note:** In order to use a `Custom Key` from Key Vault for encryption you must grant Azure Cosmos DB Service access to your key vault. For instructions on how to configure your Key Vault correctly please refer to the [product documentation](https://docs.microsoft.com/azure/cosmos-db/how-to-setup-cmk#add-an-access-policy-to-your-azure-key-vault-instance) +* `managed_hsm_key_id` - (Optional) A versionless Managed HSM Key ID for CMK encryption. Changing this forces a new resource to be created. + +~> **Note:** When referencing an `azurerm_key_vault_managed_hardware_security_module_key` resource, use `id` instead of `versioned_id` + +~> **Note:** In order to use a `Custom Key` from Managed HSM for encryption you must grant Azure Cosmos DB Service access to your Managed HSM. For instructions on how to configure your Key Vault correctly please refer to the [product documentation](https://learn.microsoft.com/en-us/azure/cosmos-db/how-to-setup-customer-managed-keys-mhsm) + * `virtual_network_rule` - (Optional) Specifies a `virtual_network_rule` block as defined below, used to define which subnets are allowed to access this CosmosDB account. * `multiple_write_locations_enabled` - (Optional) Enable multiple write locations for this Cosmos DB account. * `access_key_metadata_writes_enabled` - (Optional) Is write operations on metadata resources (databases, containers, throughput) via account keys enabled? Defaults to `true`. -* `mongo_server_version` - (Optional) The Server Version of a MongoDB account. Possible values are `4.2`, `4.0`, `3.6`, and `3.2`. +* `mongo_server_version` - (Optional) The Server Version of a MongoDB account. Possible values are `7.0`, `6.0`, `5.0`, `4.2`, `4.0`, `3.6`, and `3.2`. * `network_acl_bypass_for_azure_services` - (Optional) If Azure services can bypass ACLs. Defaults to `false`. @@ -193,9 +199,9 @@ The following arguments are supported: The `consistency_policy` block Configures the database consistency and supports the following: * `consistency_level` - (Required) The Consistency Level to use for this CosmosDB Account - can be either `BoundedStaleness`, `Eventual`, `Session`, `Strong` or `ConsistentPrefix`. - + * `max_interval_in_seconds` - (Optional) When used with the Bounded Staleness consistency level, this value represents the time amount of staleness (in seconds) tolerated. The accepted range for this value is `5` - `86400` (1 day). Defaults to `5`. Required when `consistency_level` is set to `BoundedStaleness`. - + * `max_staleness_prefix` - (Optional) When used with the Bounded Staleness consistency level, this value represents the number of stale requests tolerated. The accepted range for this value is `10` – `2147483647`. Defaults to `100`. Required when `consistency_level` is set to `BoundedStaleness`. ~> **Note:** `max_interval_in_seconds` and `max_staleness_prefix` can only be set to values other than default when the `consistency_level` is set to `BoundedStaleness`. @@ -205,9 +211,9 @@ The `consistency_policy` block Configures the database consistency and supports The `geo_location` block Configures the geographic locations the data is replicated to and supports the following: * `location` - (Required) The name of the Azure region to host replicated data. - + * `failover_priority` - (Required) The failover priority of the region. A failover priority of `0` indicates a write region. The maximum value for a failover priority = (total number of regions - 1). Failover priority values must be unique for each of the regions in which the database account exists. Changing this causes the location to be re-provisioned and cannot be changed for the location with failover priority `0`. - + * `zone_redundant` - (Optional) Should zone redundancy be enabled for this region? Defaults to `false`. --- @@ -216,7 +222,7 @@ A `capabilities` block Configures the capabilities to be enabled for this Cosmos * `name` - (Required) The capability to enable - Possible values are `AllowSelfServeUpgradeToMongo36`, `DisableRateLimitingResponses`, `EnableAggregationPipeline`, `EnableCassandra`, `EnableGremlin`, `EnableMongo`, `EnableMongo16MBDocumentSupport`, `EnableMongoRetryableWrites`, `EnableMongoRoleBasedAccessControl`, `EnableNoSQLVectorSearch`, `EnablePartialUniqueIndex`, `EnableServerless`, `EnableTable`, `EnableTtlOnCustomPath`, `EnableUniqueCompoundNestedDocs`, `MongoDBv3.4` and `mongoEnableDocLevelTTL`. -~> **Note:** Setting `MongoDBv3.4` also requires setting `EnableMongo`. +~> **Note:** Setting `MongoDBv3.4` also requires setting `EnableMongo`. ~> **Note:** Only `AllowSelfServeUpgradeToMongo36`, `DisableRateLimitingResponses`, `EnableAggregationPipeline`, `MongoDBv3.4`, `EnableMongoRetryableWrites`, `EnableMongoRoleBasedAccessControl`, `EnableUniqueCompoundNestedDocs`, `EnableMongo16MBDocumentSupport`, `mongoEnableDocLevelTTL`, `EnableTtlOnCustomPath` and `EnablePartialUniqueIndex` can be added to an existing Cosmos DB account. @@ -245,7 +251,7 @@ A `capacity` block supports the following: A `backup` block supports the following: -* `type` - (Required) The type of the `backup`. Possible values are `Continuous` and `Periodic`. +* `type` - (Required) The type of the `backup`. Possible values are `Continuous` and `Periodic`. ~> **Note:** Migration of `Periodic` to `Continuous` is one-way, changing `Continuous` to `Periodic` forces a new resource to be created. @@ -339,7 +345,7 @@ In addition to the Arguments listed above - the following Attributes are exporte * `primary_readonly_sql_connection_string` - Primary readonly SQL connection string for the CosmosDB Account. -* `secondary_readonly_sql_connection_string` - Secondary readonly SQL connection string for the CosmosDB Account. +* `secondary_readonly_sql_connection_string` - Secondary readonly SQL connection string for the CosmosDB Account. * `primary_mongodb_connection_string` - Primary Mongodb connection string for the CosmosDB Account. diff --git a/website/docs/r/cosmosdb_sql_container.html.markdown b/website/docs/r/cosmosdb_sql_container.html.markdown index a89fc754f849..e2564dfabca8 100644 --- a/website/docs/r/cosmosdb_sql_container.html.markdown +++ b/website/docs/r/cosmosdb_sql_container.html.markdown @@ -71,7 +71,9 @@ The following arguments are supported: * `partition_key_kind` - (Optional) Define a partition key kind. Possible values are `Hash` and `MultiHash`. Defaults to `Hash`. Changing this forces a new resource to be created. -* `partition_key_version` - (Optional) Define a partition key version. Changing this forces a new resource to be created. Possible values are `1`and `2`. This should be set to `2` in order to use large partition keys. +* `partition_key_version` - (Optional) Define a partition key version. Possible values are `1`and `2`. This should be set to `2` in order to use large partition keys. + +-> **Note:** If `partition_key_version` is not specified when creating a new resource, you can update `partition_key_version` to `1`, updating to `2` forces a new resource to be created. * `unique_key` - (Optional) One or more `unique_key` blocks as defined below. Changing this forces a new resource to be created. diff --git a/website/docs/r/dashboard_grafana_managed_private_endpoint.html.markdown b/website/docs/r/dashboard_grafana_managed_private_endpoint.html.markdown new file mode 100644 index 000000000000..7b3c5d0ba990 --- /dev/null +++ b/website/docs/r/dashboard_grafana_managed_private_endpoint.html.markdown @@ -0,0 +1,95 @@ +--- +subcategory: "Dashboard" +layout: "azurerm" +page_title: "Azure Resource Manager: azurerm_dashboard_grafana_managed_private_endpoint" +description: |- + Manages a Dashboard Grafana Managed Private Endpoint. +--- + +# azurerm_dashboard_grafana_managed_private_endpoint + +Manages a Dashboard Grafana Managed Private Endpoint. + +~> **NOTE:** This resource will _not_ approve the managed private endpoint connection on the linked resource. This will need to be done manually via Azure CLI, PowerShell, or AzAPI resources. See [here](https://github.com/hashicorp/terraform-provider-azurerm/issues/23950#issuecomment-2035109970) for an example that uses AzAPI. + +## Example Usage + +```hcl +resource "azurerm_resource_group" "example" { + name = "example-resources" + location = "Canada Central" +} + +resource "azurerm_monitor_workspace" "example" { + name = "example-mamw" + resource_group_name = azurerm_resource_group.example.name + location = azurerm_resource_group.example.location + public_network_access_enabled = false +} + +resource "azurerm_dashboard_grafana" "example" { + name = "example-dg" + resource_group_name = azurerm_resource_group.example.name + location = azurerm_resource_group.example.location + grafana_major_version = 10 + public_network_access_enabled = false + + azure_monitor_workspace_integrations { + resource_id = azurerm_monitor_workspace.example.id + } +} + +resource "azurerm_dashboard_grafana_managed_private_endpoint" "example" { + grafana_id = azurerm_dashboard_grafana.example.id + name = "example-mpe" + location = azurerm_dashboard_grafana.example.location + private_link_resource_id = azurerm_monitor_workspace.example.id + group_ids = ["prometheusMetrics"] + private_link_resource_region = azurerm_dashboard_grafana.example.location +} +``` + +## Arguments Reference + +The following arguments are supported: + +- `grafana_id` - (Required) The id of the associated managed Grafana. Changing this forces a new Dashboard Grafana Managed Private Endpoint to be created. + +- `location` - (Required) The Azure Region where the Dashboard Grafana Managed Private Endpoint should exist. Changing this forces a new Dashboard Grafana Managed Private Endpoint to be created. + +- `name` - (Required) The name which should be used for this Dashboard Grafana Managed Private Endpoint. Must be between 2 and 20 alphanumeric characters or dashes, must begin with letter and end with a letter or number. Changing this forces a new Dashboard Grafana Managed Private Endpoint to be created. + +- `private_link_resource_id` - (Required) The ID of the resource to which this Dashboard Grafana Managed Private Endpoint will connect. Changing this forces a new Dashboard Grafana Managed Private Endpoint to be created. + +--- + +- `group_ids` - (Optional) Specifies a list of private link group IDs. The value of this will depend on the private link resource to which you are connecting. Changing this forces a new Dashboard Grafana Managed Private Endpoint to be created. + +- `private_link_resource_region` - (Optional) The region in which to create the private link. Changing this forces a new Dashboard Grafana Managed Private Endpoint to be created. + +- `request_message` - (Optional) A message to provide in the request which will be seen by approvers. + +- `tags` - (Optional) A mapping of tags which should be assigned to the Dashboard Grafana Managed Private Endpoint. + +## Attributes Reference + +In addition to the Arguments listed above - the following Attributes are exported: + +- `id` - The ID of the Dashboard Grafana Managed Private Endpoint. + +## Timeouts + +The `timeouts` block allows you to specify [timeouts](https://www.terraform.io/language/resources/syntax#operation-timeouts) for certain actions: + +- `create` - (Defaults to 30 minutes) Used when creating the Dashboard Grafana Managed Private Endpoint. +- `read` - (Defaults to 5 minutes) Used when retrieving the Dashboard Grafana Managed Private Endpoint. +- `update` - (Defaults to 30 minutes) Used when updating the Dashboard Grafana Managed Private Endpoint. +- `delete` - (Defaults to 5 minutes) Used when deleting the Dashboard Grafana Managed Private Endpoint. + +## Import + +Dashboard Grafana Managed Private Endpoint Examples can be imported using the `resource id`, e.g. + +```shell +terraform import azurerm_dashboard_grafana_managed_private_endpoint.example /subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/resGroup1/providers/Microsoft.Dashboard/grafana/workspace1/managedPrivateEndpoints/endpoint1 +``` diff --git a/website/docs/r/data_factory_linked_service_azure_sql_database.html.markdown b/website/docs/r/data_factory_linked_service_azure_sql_database.html.markdown index 50191cc54d48..10bf80eccfb2 100644 --- a/website/docs/r/data_factory_linked_service_azure_sql_database.html.markdown +++ b/website/docs/r/data_factory_linked_service_azure_sql_database.html.markdown @@ -65,6 +65,8 @@ The following arguments are supported: * `key_vault_password` - (Optional) A `key_vault_password` block as defined below. Use this argument to store SQL Server password in an existing Key Vault. It needs an existing Key Vault Data Factory Linked Service. +* `credential_name` - (Optional) The name of a User-assigned Managed Identity. Use this argument to authenticate against the linked resource using a User-assigned Managed Identity. + --- A `key_vault_connection_string` block supports the following: diff --git a/website/docs/r/data_protection_backup_instance_mysql_flexible_server.html.markdown b/website/docs/r/data_protection_backup_instance_mysql_flexible_server.html.markdown new file mode 100644 index 000000000000..9aa0cf8d055f --- /dev/null +++ b/website/docs/r/data_protection_backup_instance_mysql_flexible_server.html.markdown @@ -0,0 +1,116 @@ +--- +subcategory: "DataProtection" +layout: "azurerm" +page_title: "Azure Resource Manager: azurerm_data_protection_backup_instance_mysql_flexible_server" +description: |- + Manages a Backup Instance to back up MySQL Flexible Server. +--- + +# azurerm_data_protection_backup_instance_mysql_flexible_server + +Manages a Backup Instance to back up MySQL Flexible Server. + +## Example Usage + +```hcl +resource "azurerm_resource_group" "example" { + name = "example-resources" + location = "West Europe" +} + +resource "azurerm_mysql_flexible_server" "example" { + name = "example-mysqlfs" + resource_group_name = azurerm_resource_group.example.name + location = azurerm_resource_group.example.location + administrator_login = "adminTerraform" + administrator_password = "QAZwsx123" + version = "8.0.21" + sku_name = "B_Standard_B1s" + zone = "1" +} + +resource "azurerm_data_protection_backup_vault" "example" { + name = "example-backupvault" + resource_group_name = azurerm_resource_group.example.name + location = azurerm_resource_group.example.location + datastore_type = "VaultStore" + redundancy = "LocallyRedundant" + soft_delete = "Off" + + identity { + type = "SystemAssigned" + } +} + +resource "azurerm_role_assignment" "example" { + scope = azurerm_resource_group.example.id + role_definition_name = "Reader" + principal_id = azurerm_data_protection_backup_vault.example.identity.0.principal_id +} + +resource "azurerm_role_assignment" "example2" { + scope = azurerm_mysql_flexible_server.example.id + role_definition_name = "MySQL Backup And Export Operator" + principal_id = azurerm_data_protection_backup_vault.example.identity.0.principal_id +} + +resource "azurerm_data_protection_backup_policy_mysql_flexible_server" "example" { + name = "example-dp" + vault_id = azurerm_data_protection_backup_vault.example.id + backup_repeating_time_intervals = ["R/2021-05-23T02:30:00+00:00/P1W"] + + default_retention_rule { + life_cycle { + duration = "P4M" + data_store_type = "VaultStore" + } + } + + depends_on = [azurerm_role_assignment.example, azurerm_role_assignment.example2] +} + +resource "azurerm_data_protection_backup_instance_mysql_flexible_server" "example" { + name = "example-dbi" + location = azurerm_resource_group.example.location + vault_id = azurerm_data_protection_backup_vault.example.id + server_id = azurerm_mysql_flexible_server.example.id + backup_policy_id = azurerm_data_protection_backup_policy_mysql_flexible_server.example.id +} +``` + +## Arguments Reference + +The following arguments are supported: + +* `name` - (Required) Specifies the name of the Backup Instance for the MySQL Flexible Server. Changing this forces a new resource to be created. + +* `location` - (Required) The location of the source database. Changing this forces a new resource to be created. + +* `backup_policy_id` - (Required) The ID of the Backup Policy. + +* `server_id` - (Required) The ID of the source server. Changing this forces a new resource to be created. + +* `vault_id` - (Required) The ID of the Backup Vault within which the MySQL Flexible Server Backup Instance should exist. Changing this forces a new resource to be created. + +## Attributes Reference + +In addition to the Arguments listed above - the following Attributes are exported: + +* `id` - The ID of the Backup Instance MySQL Flexible Server. + +## Timeouts + +The `timeouts` block allows you to specify [timeouts](https://www.terraform.io/language/resources/syntax#operation-timeouts) for certain actions: + +* `create` - (Defaults to 60 minutes) Used when creating the Backup Instance MySQL Flexible Server. +* `read` - (Defaults to 5 minutes) Used when retrieving the Backup Instance MySQL Flexible Server. +* `update` - (Defaults to 60 minutes) Used when updating the Backup Instance MySQL Flexible Server. +* `delete` - (Defaults to 60 minutes) Used when deleting the Backup Instance MySQL Flexible Server. + +## Import + +Backup Instance MySQL Flexible Servers can be imported using the `resource id`, e.g. + +```shell +terraform import azurerm_data_protection_backup_instance_mysql_flexible_server.example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DataProtection/backupVaults/vault1/backupInstances/backupInstance1 +``` diff --git a/website/docs/r/dev_center_project_pool.html.markdown b/website/docs/r/dev_center_project_pool.html.markdown new file mode 100644 index 000000000000..5058a3032bbf --- /dev/null +++ b/website/docs/r/dev_center_project_pool.html.markdown @@ -0,0 +1,126 @@ +--- +subcategory: "Dev Center" +layout: "azurerm" +page_title: "Azure Resource Manager: azurerm_dev_center_project_pool" +description: |- + Manages a Dev Center Project Pool. +--- + +# azurerm_dev_center_project_pool + +Manages a Dev Center Project Pool. + +## Example Usage + +```hcl +resource "azurerm_resource_group" "example" { + name = "example-resources" + location = "West Europe" +} + +resource "azurerm_dev_center" "example" { + name = "example-dc" + resource_group_name = azurerm_resource_group.example.name + location = azurerm_resource_group.example.location + + identity { + type = "SystemAssigned" + } +} + +resource "azurerm_virtual_network" "example" { + name = "example-vnet" + address_space = ["10.0.0.0/16"] + location = azurerm_resource_group.example.location + resource_group_name = azurerm_resource_group.example.name +} + +resource "azurerm_subnet" "example" { + name = "internal" + resource_group_name = azurerm_resource_group.example.name + virtual_network_name = azurerm_virtual_network.example.name + address_prefixes = ["10.0.2.0/24"] +} + +resource "azurerm_dev_center_network_connection" "example" { + name = "example-dcnc" + resource_group_name = azurerm_resource_group.example.name + location = azurerm_resource_group.example.location + subnet_id = azurerm_subnet.example.id + domain_join_type = "AzureADJoin" +} + +resource "azurerm_dev_center_attached_network" "example" { + name = "example-dcet" + dev_center_id = azurerm_dev_center.example.id + network_connection_id = azurerm_dev_center_network_connection.example.id +} + +resource "azurerm_dev_center_project" "example" { + name = "example-dcp" + resource_group_name = azurerm_resource_group.example.name + location = azurerm_resource_group.example.location + dev_center_id = azurerm_dev_center.example.id +} + +resource "azurerm_dev_center_dev_box_definition" "example" { + name = "example-dcet" + location = azurerm_resource_group.example.location + dev_center_id = azurerm_dev_center.example.id + image_reference_id = "${azurerm_dev_center.example.id}/galleries/default/images/microsoftvisualstudio_visualstudioplustools_vs-2022-ent-general-win10-m365-gen2" + sku_name = "general_i_8c32gb256ssd_v2" +} + +resource "azurerm_dev_center_project_pool" "example" { + name = "example-dcpl" + location = azurerm_resource_group.example.location + dev_center_project_id = azurerm_dev_center_project.example.id + dev_box_definition_name = azurerm_dev_center_dev_box_definition.example.name + local_administrator_enabled = true + dev_center_attached_network_name = azurerm_dev_center_attached_network.example.name + stop_on_disconnect_grace_period_minutes = 60 +} +``` + +## Arguments Reference + +The following arguments are supported: + +* `name` - (Required) Specifies the name of this Dev Center Project Pool. Changing this forces a new resource to be created. + +* `location` - (Required) The Azure Region where the Dev Center Project Pool should exist. Changing this forces a new resource to be created. + +* `dev_center_project_id` - (Required) The ID of the associated Dev Center Project. Changing this forces a new resource to be created. + +* `dev_box_definition_name` - (Required) The name of the Dev Center Dev Box Definition. + +* `local_administrator_enabled` - (Required) Specifies whether owners of Dev Boxes in the Dev Center Project Pool are added as local administrators on the Dev Box. + +* `dev_center_attached_network_name` - (Required) The name of the Dev Center Attached Network in parent Project of the Dev Center Project Pool. + +* `stop_on_disconnect_grace_period_minutes` - (Optional) The specified time in minutes to wait before stopping a Dev Center Dev Box once disconnect is detected. Possible values are between `60` and `480`. + +* `tags` - (Optional) A mapping of tags which should be assigned to the Dev Center Project Pool. + +## Attributes Reference + +In addition to the Arguments listed above - the following Attributes are exported: + +* `id` - The ID of the Dev Center Project Pool. + +## Timeouts + +The `timeouts` block allows you to specify [timeouts](https://www.terraform.io/docs/configuration/resources.html#timeouts) for certain actions: + +* `create` - (Defaults to 30 minutes) Used when creating this Dev Center Project Pool. +* `delete` - (Defaults to 30 minutes) Used when deleting this Dev Center Project Pool. +* `read` - (Defaults to 5 minutes) Used when retrieving this Dev Center Project Pool. +* `update` - (Defaults to 30 minutes) Used when updating this Dev Center Project Pool. + +## Import + +An existing Dev Center Project Pool can be imported into Terraform using the `resource id`, e.g. + +```shell +terraform import azurerm_dev_center_project_pool.example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DevCenter/projects/project1/pools/pool1 +``` diff --git a/website/docs/r/key_vault_key.html.markdown b/website/docs/r/key_vault_key.html.markdown index a395c9951626..6465b13c0290 100644 --- a/website/docs/r/key_vault_key.html.markdown +++ b/website/docs/r/key_vault_key.html.markdown @@ -111,7 +111,9 @@ The following arguments are supported: ~> **Note:** Once `expiration_date` is set, it's not possible to unset the key even if it is deleted & recreated as underlying Azure API uses the restore of the purged key. -* `expiration_date` - (Optional) Expiration UTC datetime (Y-m-d'T'H:M:S'Z'). When this parameter gets changed on reruns, if newer date is ahead of current date, an update is performed. If the newer date is before the current date, resource will be force created. +* `expiration_date` - (Optional) Expiration UTC datetime (Y-m-d'T'H:M:S'Z'). + +~> **Note:** Removing this field from the config forces a new resource to be created. * `tags` - (Optional) A mapping of tags to assign to the resource. diff --git a/website/docs/r/kubernetes_cluster.html.markdown b/website/docs/r/kubernetes_cluster.html.markdown index b07c98d470cc..dd3898b6c5a6 100644 --- a/website/docs/r/kubernetes_cluster.html.markdown +++ b/website/docs/r/kubernetes_cluster.html.markdown @@ -69,7 +69,7 @@ The following arguments are supported: * `resource_group_name` - (Required) Specifies the Resource Group where the Managed Kubernetes Cluster should exist. Changing this forces a new resource to be created. -* `default_node_pool` - (Required) A `default_node_pool` block as defined below. +* `default_node_pool` - (Required) Specifies configuration for "System" mode node pool. A `default_node_pool` block as defined below. * `dns_prefix` - (Optional) DNS prefix specified when creating the managed cluster. Possible values must begin and end with a letter or number, contain only letters, numbers, and hyphens and be between 1 and 54 characters in length. Changing this forces a new resource to be created. @@ -286,8 +286,14 @@ An `auto_scaler_profile` block supports the following: * `balance_similar_node_groups` - (Optional) Detect similar node groups and balance the number of nodes between them. Defaults to `false`. +* `daemonset_eviction_for_empty_nodes_enabled` - (Optional) Whether DaemonSet pods will be gracefully terminated from empty nodes. Defaults to `false`. + +* `daemonset_eviction_for_occupied_nodes_enabled` - (Optional) Whether DaemonSet pods will be gracefully terminated from non-empty nodes. Defaults to `true`. + * `expander` - (Optional) Expander to use. Possible values are `least-waste`, `priority`, `most-pods` and `random`. Defaults to `random`. +* `ignore_daemonsets_utilization_enabled` - (Optional) Whether DaemonSet pods will be ignored when calculating resource utilization for scale down. Defaults to `false`. + * `max_graceful_termination_sec` - (Optional) Maximum number of seconds the cluster autoscaler waits for pod termination when trying to scale down a node. Defaults to `600`. * `max_node_provisioning_time` - (Optional) Maximum time the autoscaler waits for a node to be provisioned. Defaults to `15m`. @@ -691,6 +697,8 @@ A `load_balancer_profile` block supports the following: ~> **Note:** The fields `managed_outbound_ip_count`, `outbound_ip_address_ids` and `outbound_ip_prefix_ids` are mutually exclusive. Note that when specifying `outbound_ip_address_ids` ([azurerm_public_ip](/docs/providers/azurerm/r/public_ip.html)) the SKU must be `standard`. +* `backend_pool_type` - (Optional) The type of the managed inbound Load Balancer Backend Pool. Possible values are `NodeIP` and `NodeIPConfiguration`. Defaults to `NodeIPConfiguration`. See [the documentation](https://learn.microsoft.com/en-us/azure/aks/load-balancer-standard#change-the-inbound-pool-type) for more information. + * `idle_timeout_in_minutes` - (Optional) Desired outbound flow idle timeout in minutes for the cluster load balancer. Must be between `4` and `100` inclusive. Defaults to `30`. * `managed_outbound_ip_count` - (Optional) Count of desired managed outbound IPs for the cluster load balancer. Must be between `1` and `100` inclusive. diff --git a/website/docs/r/lb_nat_rule.html.markdown b/website/docs/r/lb_nat_rule.html.markdown index 951252e206b4..b4cdac013431 100644 --- a/website/docs/r/lb_nat_rule.html.markdown +++ b/website/docs/r/lb_nat_rule.html.markdown @@ -41,9 +41,8 @@ resource "azurerm_lb" "example" { } resource "azurerm_lb_backend_address_pool" "example" { - resource_group_name = azurerm_resource_group.example.name - loadbalancer_id = azurerm_lb.example.id - name = "be" + loadbalancer_id = azurerm_lb.example.id + name = "be" } resource "azurerm_lb_nat_rule" "example" { diff --git a/website/docs/r/linux_function_app.html.markdown b/website/docs/r/linux_function_app.html.markdown index b494ea9b8656..a9b4dffd49ec 100644 --- a/website/docs/r/linux_function_app.html.markdown +++ b/website/docs/r/linux_function_app.html.markdown @@ -35,7 +35,7 @@ resource "azurerm_service_plan" "example" { resource_group_name = azurerm_resource_group.example.name location = azurerm_resource_group.example.location os_type = "Linux" - sku_name = "Y1" + sku_name = "B1" } resource "azurerm_linux_function_app" "example" { @@ -696,7 +696,7 @@ A `site_config` block supports the following: * `managed_pipeline_mode` - (Optional) Managed pipeline mode. Possible values include: `Integrated`, `Classic`. Defaults to `Integrated`. -* `minimum_tls_version` - (Optional) The configures the minimum version of TLS required for SSL requests. Possible values include: `1.0`, `1.1`, and `1.2`. Defaults to `1.2`. +* `minimum_tls_version` - (Optional) The configures the minimum version of TLS required for SSL requests. Possible values include: `1.0`, `1.1`, `1.2` and `1.3`. Defaults to `1.2`. * `pre_warmed_instance_count` - (Optional) The number of pre-warmed instances for this function app. Only affects apps on an Elastic Premium plan. diff --git a/website/docs/r/linux_web_app.html.markdown b/website/docs/r/linux_web_app.html.markdown index a4a3b4cf6cf4..a25b98e3636e 100644 --- a/website/docs/r/linux_web_app.html.markdown +++ b/website/docs/r/linux_web_app.html.markdown @@ -722,7 +722,7 @@ A `site_config` block supports the following: * `managed_pipeline_mode` - (Optional) Managed pipeline mode. Possible values include `Integrated`, and `Classic`. Defaults to `Integrated`. -* `minimum_tls_version` - (Optional) The configures the minimum version of TLS required for SSL requests. Possible values include: `1.0`, `1.1`, and `1.2`. Defaults to `1.2`. +* `minimum_tls_version` - (Optional) The configures the minimum version of TLS required for SSL requests. Possible values include: `1.0`, `1.1`, `1.2` and `1.3`. Defaults to `1.2`. * `remote_debugging_enabled` - (Optional) Should Remote Debugging be enabled? Defaults to `false`. diff --git a/website/docs/r/load_test.html.markdown b/website/docs/r/load_test.html.markdown index 588095f8dd90..df59449c6c51 100644 --- a/website/docs/r/load_test.html.markdown +++ b/website/docs/r/load_test.html.markdown @@ -41,7 +41,7 @@ The following arguments are supported: * `resource_group_name` - (Required) Specifies the name of the Resource Group within which this Load Test should exist. Changing this forces a new Load Test to be created. -* `description` - (Optional) Description of the resource. Changing this forces a new Load Test to be created. +* `description` - (Optional) Description of the resource. * `identity` - (Optional) An `identity` block as defined below. Specifies the Managed Identity which should be assigned to this Load Test. diff --git a/website/docs/r/machine_learning_workspace_network_outbound_rule_fqdn.html.markdown b/website/docs/r/machine_learning_workspace_network_outbound_rule_fqdn.html.markdown new file mode 100644 index 000000000000..a7d01016777a --- /dev/null +++ b/website/docs/r/machine_learning_workspace_network_outbound_rule_fqdn.html.markdown @@ -0,0 +1,106 @@ +--- +subcategory: "Machine Learning" +layout: "azurerm" +page_title: "Azure Resource Manager: azurerm_machine_learning_workspace_network_outbound_rule_fqdn" +description: |- + Manages an Azure Machine Learning Workspace FQDN Network Outbound Rule. +--- +# azurerm_machine_learning_workspace_network_outbound_rule_fqdn + +Manages an Azure Machine Learning Workspace FQDN Network Outbound Rule. + + +## Example Usage + +```hcl +provider "azurerm" { + features {} +} + +data "azurerm_client_config" "current" {} + +resource "azurerm_resource_group" "example" { + name = "example-resources" + location = "West Europe" +} + +resource "azurerm_application_insights" "example" { + name = "workspace-example-ai" + location = azurerm_resource_group.example.location + resource_group_name = azurerm_resource_group.example.name + application_type = "web" +} + +resource "azurerm_key_vault" "example" { + name = "workspaceexamplekeyvault" + location = azurerm_resource_group.example.location + resource_group_name = azurerm_resource_group.example.name + tenant_id = data.azurerm_client_config.current.tenant_id + sku_name = "premium" +} + +resource "azurerm_storage_account" "example" { + name = "workspacestorageaccount" + location = azurerm_resource_group.example.location + resource_group_name = azurerm_resource_group.example.name + account_tier = "Standard" + account_replication_type = "GRS" +} + +resource "azurerm_machine_learning_workspace" "example" { + name = "example-workspace" + location = azurerm_resource_group.example.location + resource_group_name = azurerm_resource_group.example.name + application_insights_id = azurerm_application_insights.example.id + key_vault_id = azurerm_key_vault.example.id + storage_account_id = azurerm_storage_account.example.id + + managed_network { + isolation_mode = "AllowOnlyApprovedOutbound" + } + + identity { + type = "SystemAssigned" + } +} + +resource "azurerm_machine_learning_workspace_network_outbound_rule_fqdn" "example" { + name = "example-outboundrule" + workspace_id = azurerm_machine_learning_workspace.example.id + destination_fqdn = "example.com" +} +``` + +## Argument Reference + +The following arguments are supported: + +* `name` - (Required) Specifies the name of the Machine Learning Workspace FQDN Network Outbound Rule. Changing this forces a new resource to be created. + +* `workspace_id` - (Required) Specifies the ID of the Machine Learning Workspace. Changing this forces a new resource to be created. + +* `destination_fqdn` - (Required) Specifies the fully qualified domain name to allow for outbound traffic. + + +## Attributes Reference + +In addition to the Arguments listed above - the following Attributes are exported: + +* `id` - The ID of the Machine Learning Workspace Network Outbound Rule. + +### Timeouts + +The `timeouts` block allows you to specify [timeouts](https://www.terraform.io/language/resources/syntax#operation-timeouts) for certain actions: + +* `create` - (Defaults to 30 minutes) Used when creating the Machine Learning Workspace FQDN Network Outbound Rule. +* `update` - (Defaults to 30 minutes) Used when updating the Machine Learning Workspace FQDN Network Outbound Rule. +* `read` - (Defaults to 5 minutes) Used when retrieving the Machine Learning Workspace FQDN Network Outbound Rule. +* `delete` - (Defaults to 30 minutes) Used when deleting the Machine Learning Workspace FQDN Network Outbound Rule. + +## Import + +Machine Learning Workspace FQDN Network Outbound Rule can be imported using the `resource id`, e.g. + +```shell +terraform import azurerm_machine_learning_workspace_network_outbound_rule_fqdn.example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.MachineLearningServices/workspaces/workspace1/outboundRules/rule1 +``` diff --git a/website/docs/r/mssql_managed_instance.html.markdown b/website/docs/r/mssql_managed_instance.html.markdown index e933e0ff28c9..4e30add4fdc0 100644 --- a/website/docs/r/mssql_managed_instance.html.markdown +++ b/website/docs/r/mssql_managed_instance.html.markdown @@ -243,7 +243,7 @@ The following arguments are supported: * `service_principal_type` - (Optional) The service principal type. The only possible value is `SystemAssigned`. -* `storage_account_type` - (Optional) Specifies the storage account type used to store backups for this database. Changing this forces a new resource to be created. Possible values are `GRS`, `GZRS`, `LRS`, and `ZRS`. Defaults to `GRS`. +* `storage_account_type` - (Optional) Specifies the storage account type used to store backups for this database. Possible values are `GRS`, `GZRS`, `LRS`, and `ZRS`. Defaults to `GRS`. * `zone_redundant_enabled` - (Optional) Specifies whether or not the SQL Managed Instance is zone redundant. Defaults to `false`. diff --git a/website/docs/r/oracle_autonomous_database.html.markdown b/website/docs/r/oracle_autonomous_database.html.markdown new file mode 100644 index 000000000000..8bcf81a5eee8 --- /dev/null +++ b/website/docs/r/oracle_autonomous_database.html.markdown @@ -0,0 +1,112 @@ +--- +subcategory: "Oracle" +layout: "azurerm" +page_title: "Azure Resource Manager: azurerm_oracle_autonomous_database" +description: |- + Manages an Autonomous Database. +--- + +# azurerm_oracle_autonomous_database + +Manages an Autonomous Database. + +## Example Usage + +```hcl +resource "azurerm_oracle_autonomous_database" "example" { + name = "example" + resource_group_name = "example" + location = "West Europe" + subnet_id = "example" + display_name = "example" + db_workload = "example" + mtls_connection_required = false + backup_retention_period_in_days = 42 + compute_model = "example" + data_storage_size_in_gbs = 42 + auto_scaling_for_storage_enabled = false + virtual_network_id = "example" + admin_password = "example" + auto_scaling_enabled = "example" + character_set = "example" + compute_count = 1.23456 + national_character_set = "example" + license_model = false + db_version = "example" +} +``` + +## Arguments Reference + +The following arguments are supported: + +* `name` - (Required) The name which should be used for this Autonomous Database. + +* `resource_group_name` - (Required) The name of the Resource Group where the Autonomous Database should exist. + +* `location` - (Required) The Azure Region where the Autonomous Database should exist. Changing this forces a new Autonomous Database to be created. + +* `admin_password` - (Required) The password must be between `12` and `30 `characters long, and must contain at least 1 uppercase, 1 lowercase, and 1 numeric character. It cannot contain the double quote symbol (") or the username "admin", regardless of casing. + +* `backup_retention_period_in_days` - (Optional) (Updatable) Retention period, in days, for backups. + +* `character_set` - (Required) The character set for the autonomous database. The default is `AL32UTF8`. Allowed values are: `AL32UTF8`, `AR8ADOS710`, `AR8ADOS720`, `AR8APTEC715`, `AR8ARABICMACS`, `AR8ASMO8X`, `AR8ISO8859P6`, `AR8MSWIN1256`, `AR8MUSSAD768`, `AR8NAFITHA711`, `AR8NAFITHA721`, `AR8SAKHR706`, `AR8SAKHR707`, `AZ8ISO8859P9E`, `BG8MSWIN`, `BG8PC437S`, `BLT8CP921`, `BLT8ISO8859P13`, `BLT8MSWIN1257`, `BLT8PC775`, `BN8BSCII`, `CDN8PC863`, `CEL8ISO8859P14`, `CL8ISO8859P5`, `CL8ISOIR111`, `CL8KOI8R`, `CL8KOI8U`, `CL8MACCYRILLICS`, `CL8MSWIN1251`, `EE8ISO8859P2`, `EE8MACCES`, `EE8MACCROATIANS`, `EE8MSWIN1250`, `EE8PC852`, `EL8DEC`, `EL8ISO8859P7`, `EL8MACGREEKS`, `EL8MSWIN1253`, `EL8PC437S`, `EL8PC851`, `EL8PC869`, `ET8MSWIN923`, `HU8ABMOD`, `HU8CWI2`, `IN8ISCII`, `IS8PC861`, `IW8ISO8859P8`, `IW8MACHEBREWS`, `IW8MSWIN1255`, `IW8PC1507`, `JA16EUC`, `JA16EUCTILDE`, `JA16SJIS`, `JA16SJISTILDE`, `JA16VMS`, `KO16KSC5601`, `KO16KSCCS`, `KO16MSWIN949`, `LA8ISO6937`, `LA8PASSPORT`, `LT8MSWIN921`, `LT8PC772`, `LT8PC774`, `LV8PC1117`, `LV8PC8LR`, `LV8RST104090`, `N8PC865`, `NE8ISO8859P10`, `NEE8ISO8859P4`, `RU8BESTA`, `RU8PC855`, `RU8PC866`, `SE8ISO8859P3`, `TH8MACTHAIS`, `TH8TISASCII`, `TR8DEC`, `TR8MACTURKISHS`, `TR8MSWIN1254`, `TR8PC857`, `US7ASCII`, `US8PC437`, `UTF8`, `VN8MSWIN1258`, `VN8VN3`, `WE8DEC`, `WE8DG`, `WE8ISO8859P1`, `WE8ISO8859P15`, `WE8ISO8859P9`, `WE8MACROMAN8S`, `WE8MSWIN1252`, `WE8NCR4970`, `WE8NEXTSTEP`, `WE8PC850`, `WE8PC858`, `WE8PC860`, `WE8ROMAN8`, `ZHS16CGB231280`, `ZHS16GBK`, `ZHT16BIG5`, `ZHT16CCDC`, `ZHT16DBT`, `ZHT16HKSCS`, `ZHT16MSWIN950`, `ZHT32EUC`, `ZHT32SOPS`, `ZHT32TRIS` + +* `compute_count` - (Required) The compute amount (CPUs) available to the database. Minimum and maximum values depend on the compute model and whether the database is an Autonomous Database Serverless instance or an Autonomous Database on Dedicated Exadata Infrastructure. For an Autonomous Database Serverless instance, the `ECPU` compute model requires a minimum value of one, for databases in the elastic resource pool and minimum value of two, otherwise. Required when using the `computeModel` parameter. When using `cpuCoreCount` parameter, it is an error to specify computeCount to a non-null value. Providing `computeModel` and `computeCount` is the preferred method for both OCPU and ECPU. + +* `compute_model` - (Required) The compute model of the Autonomous Database. This is required if using the `computeCount` parameter. If using `cpuCoreCount` then it is an error to specify `computeModel` to a non-null value. ECPU compute model is the recommended model and OCPU compute model is legacy. + +* `data_storage_size_in_tbs` - (Required) The maximum storage that can be allocated for the database, in terabytes. + +* `db_version` - (Required) A valid Oracle Database version for Autonomous Database. + +* `db_workload` - (Required) The Autonomous Database workload type. The following values are valid: + * OLTP - indicates an Autonomous Transaction Processing database + * DW - indicates an Autonomous Data Warehouse database + * AJD - indicates an Autonomous JSON Database + * APEX - indicates an Autonomous Database with the Oracle APEX Application Development workload type. + +* `display_name` - (Required) The user-friendly name for the Autonomous Database. The name does not have to be unique. + +* `auto_scaling_enabled` - (Required) Indicates if auto scaling is enabled for the Autonomous Database CPU core count. The default value is `true`. + +* `auto_scaling_for_storage_enabled` - (Required) Indicates if auto scaling is enabled for the Autonomous Database storage. The default value is `false`. + +* `mtls_connection_required` - (Required) Specifies if the Autonomous Database requires mTLS connections. + +* `license_model` - (Required) The Oracle license model that applies to the Oracle Autonomous Database. Bring your own license (BYOL) allows you to apply your current on-premises Oracle software licenses to equivalent, highly automated Oracle services in the cloud. License Included allows you to subscribe to new Oracle Database software licenses and the Oracle Database service. Note that when provisioning an [Autonomous Database on dedicated Exadata infrastructure](https://docs.oracle.com/en/cloud/paas/autonomous-database/index.html), this attribute must be null. It is already set at the Autonomous Exadata Infrastructure level. When provisioning an [Autonomous Database Serverless] (https://docs.oracle.com/en/cloud/paas/autonomous-database/index.html) database, if a value is not specified, the system defaults the value to `BRING_YOUR_OWN_LICENSE`. Bring your own license (BYOL) also allows you to select the DB edition using the optional parameter. + +* `national_character_set` - (Required) The national character set for the autonomous database. The default is AL16UTF16. Allowed values are: AL16UTF16 or UTF8. + +* `subnet_id` - (Required) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet the resource is associated with. + +* `virtual_network_id` - (Required) The ID of the vnet associated with the cloud VM cluster. + +--- + +* `customer_contacts` - (Optional) Specifies a list of customer contacts as email addresses. + +* `tags` - (Optional) A mapping of tags which should be assigned to the Autonomous Database. + +## Attributes Reference + +In addition to the Arguments listed above - the following Attributes are exported: + +* `id` - The ID of the Autonomous Database. + +## Timeouts + +The `timeouts` block allows you to specify [timeouts](https://www.terraform.io/language/resources/syntax#operation-timeouts) for certain actions: + +* `create` - (Defaults to 2 hours) Used when creating the Autonomous Database. +* `read` - (Defaults to 5 minutes) Used when retrieving the Autonomous Database. +* `update` - (Defaults to 30 minutes) Used when updating the Autonomous Database. +* `delete` - (Defaults to 30 minutes) Used when deleting the Autonomous Database. + +## Import + +Autonomous Databases can be imported using the `resource id`, e.g. + +```shell +terraform import azurerm_oracle_autonomous_database.example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup/providers/Oracle.Database/autonomousDatabases/autonomousDatabases1 +``` diff --git a/website/docs/r/oracle_cloud_vm_cluster.html.markdown b/website/docs/r/oracle_cloud_vm_cluster.html.markdown index 2c98b5c319bd..d208552cc1f4 100644 --- a/website/docs/r/oracle_cloud_vm_cluster.html.markdown +++ b/website/docs/r/oracle_cloud_vm_cluster.html.markdown @@ -93,8 +93,6 @@ The following arguments are supported: * `hostname` - (Required) The hostname for the Cloud VM Cluster without suffix. -* `hostname_actual` - The hostname for the Cloud VM Cluster with suffix. - * `license_model` - (Required) The Oracle license model that applies to the Cloud VM Cluster, either `BringYourOwnLicense` or `LicenseIncluded`. * `location` - (Required) The Azure Region where the Cloud VM Cluster should exist. @@ -123,16 +121,24 @@ The following arguments are supported: * `db_node_storage_size_in_gbs` - (Optional) The local node storage to be allocated in GBs. +* `domain` - (Optional) The name of the OCI Private DNS Zone to be associated with the Cloud VM Cluster. This is required for specifying your own private domain name. + * `local_backup_enabled` - (Optional) If true, database backup on local Exadata storage is configured for the Cloud VM Cluster. If `false`, database backup on local Exadata storage is not available in the Cloud VM Cluster. * `sparse_diskgroup_enabled` - (Optional) If true, the sparse disk group is configured for the Cloud VM Cluster. If `false`, the sparse disk group is not created. * `memory_size_in_gbs` - (Optional) The memory to be allocated in GBs. +* `scan_listener_port_tcp` - (Optional) The TCP Single Client Access Name (SCAN) port. The default port to 1521. + +* `scan_listener_port_tcp_ssl` - (Optional) The TCPS Single Client Access Name (SCAN) port. The default port to 2484. + * `tags` - (Optional) A mapping of tags which should be assigned to the Cloud VM Cluster. * `time_zone` - (Optional) The time zone of the Cloud VM Cluster. For details, see [Exadata Infrastructure Time Zones](https://docs.cloud.oracle.com/iaas/Content/Database/References/timezones.htm). +* `zone_id` - (Optional) The OCID of the OCI Private DNS Zone to be associated with the Cloud VM Cluster. This is required for specifying your own private domain name. + --- A `data_collection_options` block supports the following: @@ -149,6 +155,10 @@ In addition to the Arguments listed above - the following Attributes are exporte * `id` - The ID of the Cloud VM Cluster. +* `hostname_actual` - The hostname for the Cloud VM Cluster with suffix. + +* `ocid` - The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Cloud VM Cluster. + ## Timeouts The `timeouts` block allows you to specify [timeouts](https://www.terraform.io/language/resources/syntax#operation-timeouts) for certain actions: diff --git a/website/docs/r/orchestrated_virtual_machine_scale_set.html.markdown b/website/docs/r/orchestrated_virtual_machine_scale_set.html.markdown index b0ec6d52a45f..5dcfe85f157e 100644 --- a/website/docs/r/orchestrated_virtual_machine_scale_set.html.markdown +++ b/website/docs/r/orchestrated_virtual_machine_scale_set.html.markdown @@ -49,6 +49,10 @@ resource "azurerm_orchestrated_virtual_machine_scale_set" "example" { * `sku_name` - (Optional) The `name` of the SKU to be used by this Virtual Machine Scale Set. Valid values include: any of the [General purpose](https://docs.microsoft.com/azure/virtual-machines/sizes-general), [Compute optimized](https://docs.microsoft.com/azure/virtual-machines/sizes-compute), [Memory optimized](https://docs.microsoft.com/azure/virtual-machines/sizes-memory), [Storage optimized](https://docs.microsoft.com/azure/virtual-machines/sizes-storage), [GPU optimized](https://docs.microsoft.com/azure/virtual-machines/sizes-gpu), [FPGA optimized](https://docs.microsoft.com/azure/virtual-machines/sizes-field-programmable-gate-arrays), [High performance](https://docs.microsoft.com/azure/virtual-machines/sizes-hpc), or [Previous generation](https://docs.microsoft.com/azure/virtual-machines/sizes-previous-gen) virtual machine SKUs. +* `sku_profile` - (Optional) An `sku_profile` block as defined below. Changing this forces a new resource to be created. + +-> **Note:** If `sku_profile` is specified the `sku_name` must be set to `Mix`. + * `additional_capabilities` - (Optional) An `additional_capabilities` block as defined below. * `encryption_at_host_enabled` - (Optional) Should disks attached to this Virtual Machine Scale Set be encrypted by enabling Encryption at Host? @@ -125,6 +129,14 @@ resource "azurerm_orchestrated_virtual_machine_scale_set" "example" { --- +An `sku_profile` block supports the following: + +* `allocation_strategy` - (Required) Specifies the allocation strategy for the virtual machine scale set based on which the VMs will be allocated. Possible values are `LowestPrice` and `CapacityOptimized`. + +* `vm_sizes` - (Required) Specifies the VM sizes for the virtual machine scale set. + +--- + An `additional_capabilities` block supports the following: * `ultra_ssd_enabled` - (Optional) Should the capacity to enable Data Disks of the `UltraSSD_LRS` storage account type be supported on this Virtual Machine Scale Set? Defaults to `false`. Changing this forces a new resource to be created. diff --git a/website/docs/r/public_ip.html.markdown b/website/docs/r/public_ip.html.markdown index 1f4eccb6dec5..5abc7f89543c 100644 --- a/website/docs/r/public_ip.html.markdown +++ b/website/docs/r/public_ip.html.markdown @@ -60,6 +60,8 @@ The following arguments are supported: * `domain_name_label` - (Optional) Label for the Domain Name. Will be used to make up the FQDN. If a domain name label is specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system. +* `domain_name_label_scope` - (Optional) Scope for the domain name label. If a domain name label scope is specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system with a hashed value includes in FQDN. Possible values are `NoReuse`, `ResourceGroupReuse`, `SubscriptionReuse` and `TenantReuse`. Changing this forces a new Public IP to be created. + * `edge_zone` - (Optional) Specifies the Edge Zone within the Azure Region where this Public IP should exist. Changing this forces a new Public IP to be created. * `idle_timeout_in_minutes` - (Optional) Specifies the timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. diff --git a/website/docs/r/public_ip_prefix.html.markdown b/website/docs/r/public_ip_prefix.html.markdown index c121273c1597..260823b62295 100644 --- a/website/docs/r/public_ip_prefix.html.markdown +++ b/website/docs/r/public_ip_prefix.html.markdown @@ -45,6 +45,8 @@ The following arguments are supported: -> **Note:** Public IP Prefix can only be created with Standard SKUs at this time. +* `sku_tier` - (Optional) The SKU Tier that should be used for the Public IP. Possible values are `Regional` and `Global`. Defaults to `Regional`. Changing this forces a new resource to be created. + * `ip_version` - (Optional) The IP Version to use, `IPv6` or `IPv4`. Changing this forces a new resource to be created. Default is `IPv4`. * `prefix_length` - (Optional) Specifies the number of bits of the prefix. The value can be set between 0 (4,294,967,296 addresses) and 31 (2 addresses). Defaults to `28`(16 addresses). Changing this forces a new resource to be created. diff --git a/website/docs/r/role_definition.html.markdown b/website/docs/r/role_definition.html.markdown index 299a7df4713d..7ecef7c85069 100644 --- a/website/docs/r/role_definition.html.markdown +++ b/website/docs/r/role_definition.html.markdown @@ -33,6 +33,36 @@ resource "azurerm_role_definition" "example" { } ``` +## Example Usage with Management Group +```hcl +data "azurerm_subscription" "current" { +} + +resource "azurerm_management_group" "example" { + display_name = "ParentGroup" + + subscription_ids = [ + data.azurerm_subscription.current.subscription_id, + ] +} + +resource "azurerm_role_definition" "example" { + name = "example-mg-role" + scope = azurerm_management_group.example.id + description = "Example custom role scoped to a management group." + + permissions { + actions = ["Microsoft.Insights/alertRules/*", + ] + not_actions = [] + } + + assignable_scopes = [ + azurerm_management_group.example.id + ] +} +``` + ## Argument Reference The following arguments are supported: @@ -41,13 +71,13 @@ The following arguments are supported: * `name` - (Required) The name of the Role Definition. -* `scope` - (Required) The scope at which the Role Definition applies to, such as `/subscriptions/0b1f6471-1bf0-4dda-aec3-111122223333`, `/subscriptions/0b1f6471-1bf0-4dda-aec3-111122223333/resourceGroups/myGroup`, or `/subscriptions/0b1f6471-1bf0-4dda-aec3-111122223333/resourceGroups/myGroup/providers/Microsoft.Compute/virtualMachines/myVM`. It is recommended to use the first entry of the `assignable_scopes`. Changing this forces a new resource to be created. +* `scope` - (Required) The scope at which the Role Definition applies to, such as `/subscriptions/0b1f6471-1bf0-4dda-aec3-111122223333`, `/subscriptions/0b1f6471-1bf0-4dda-aec3-111122223333/resourceGroups/myGroup`, `/providers/Microsoft.Management/managementGroups/0b1f6471-1bf0-4dda-aec3-111122223333`, or `/subscriptions/0b1f6471-1bf0-4dda-aec3-111122223333/resourceGroups/myGroup/providers/Microsoft.Compute/virtualMachines/myVM`. It is recommended to use the first entry of the `assignable_scopes`. Changing this forces a new resource to be created. * `description` - (Optional) A description of the Role Definition. * `permissions` - (Optional) A `permissions` block as defined below. -* `assignable_scopes` - (Optional) One or more assignable scopes for this Role Definition, such as `/subscriptions/0b1f6471-1bf0-4dda-aec3-111122223333`, `/subscriptions/0b1f6471-1bf0-4dda-aec3-111122223333/resourceGroups/myGroup`, or `/subscriptions/0b1f6471-1bf0-4dda-aec3-111122223333/resourceGroups/myGroup/providers/Microsoft.Compute/virtualMachines/myVM`. +* `assignable_scopes` - (Optional) One or more assignable scopes for this Role Definition, such as `/subscriptions/0b1f6471-1bf0-4dda-aec3-111122223333`, `/subscriptions/0b1f6471-1bf0-4dda-aec3-111122223333/resourceGroups/myGroup`, `/providers/Microsoft.Management/managementGroups/0b1f6471-1bf0-4dda-aec3-111122223333` , or `/subscriptions/0b1f6471-1bf0-4dda-aec3-111122223333/resourceGroups/myGroup/providers/Microsoft.Compute/virtualMachines/myVM`. ~> **NOTE:** The value for `scope` is automatically included in this list if no other values supplied. diff --git a/website/docs/r/stack_hci_extension.html.markdown b/website/docs/r/stack_hci_extension.html.markdown new file mode 100644 index 000000000000..a4633dbead3c --- /dev/null +++ b/website/docs/r/stack_hci_extension.html.markdown @@ -0,0 +1,77 @@ +--- +subcategory: "Azure Stack HCI" +layout: "azurerm" +page_title: "Azure Resource Manager: azurerm_stack_hci_extension" +description: |- + Manages an Azure Stack HCI Extension. +--- + +# azurerm_stack_hci_extension + +Manages an Azure Stack HCI Extension. + +## Example Usage + +```hcl +resource "azurerm_resource_group" "example" { + name = "example-hci-ext" + location = "West Europe" +} + +resource "azurerm_stack_hci_extension" "example" { + name = "AzureMonitorWindowsAgent" + arc_setting_id = "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/example-hci/providers/Microsoft.AzureStackHCI/clusters/hci-cl/arcSettings/default" + publisher = "Microsoft.Azure.Monitor" + type = "MicrosoftMonitoringAgent" + auto_upgrade_minor_version_enabled = true + automatic_upgrade_enabled = true + type_handler_version = "1.22.0" +} +``` + +## Arguments Reference + +The following arguments are supported: + +* `name` - (Required) The name which should be used for this Azure Stack HCI Extension. Changing this forces a new resource to be created. + +* `arc_setting_id` - (Required) The ID of the Azure Stack HCI Cluster Arc Setting. Changing this forces a new resource to be created. + +* `publisher` - (Required) The name of the extension handler publisher, such as `Microsoft.Azure.Monitor`. Changing this forces a new resource to be created. + +* `type` - (Required) Specifies the type of the extension. For example `CustomScriptExtension` or `AzureMonitorLinuxAgent`. Changing this forces a new resource to be created. + +* `auto_upgrade_minor_version_enabled` - (Optional) Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true. Changing this forces a new resource to be created. Possible values are `true` and `false`. Defaults to `true`. + +* `automatic_upgrade_enabled` - (Optional) Indicates whether the extension should be automatically upgraded by the platform if there is a newer version available. Possible values are `true` and `false`. Defaults to `true`. + +* `protected_settings` - (Optional) The json formatted protected settings for the extension. + +* `settings` - (Optional) The json formatted public settings for the extension. + +* `type_handler_version` - (Optional) Specifies the version of the script handler. + +-> **NOTE:** `type_handler_version` cannot be set when `automatic_upgrade_enabled` is set to `true`. + +## Attributes Reference + +In addition to the Arguments listed above - the following Attributes are exported: + +* `id` - The ID of the Azure Stack HCI Extension. + +## Timeouts + +The `timeouts` block allows you to specify [timeouts](https://www.terraform.io/language/resources/syntax#operation-timeouts) for certain actions: + +* `create` - (Defaults to 30 minutes) Used when creating the Azure Stack HCI Extension. +* `read` - (Defaults to 5 minutes) Used when retrieving the Azure Stack HCI Extension. +* `update` - (Defaults to 30 minutes) Used when updating the Azure Stack HCI Extension. +* `delete` - (Defaults to 30 minutes) Used when deleting the Azure Stack HCI Extension. + +## Import + +Azure Stack HCI Extension can be imported using the `resource id`, e.g. + +```shell +terraform import azurerm_stack_hci_extension.example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AzureStackHCI/clusters/cluster1/arcSettings/default/extensions/extension1 +``` diff --git a/website/docs/r/stack_hci_marketplace_gallery_image.html.markdown b/website/docs/r/stack_hci_marketplace_gallery_image.html.markdown new file mode 100644 index 000000000000..f620edf9279c --- /dev/null +++ b/website/docs/r/stack_hci_marketplace_gallery_image.html.markdown @@ -0,0 +1,111 @@ +--- +subcategory: "Azure Stack HCI" +layout: "azurerm" +page_title: "Azure Resource Manager: azurerm_stack_hci_marketplace_gallery_image" +description: |- + Manages an Azure Stack HCI Marketplace Gallery Image. +--- + +# azurerm_stack_hci_marketplace_gallery_image + +Manages an Azure Stack HCI Marketplace Gallery Image. + +## Example Usage + +```hcl +resource "azurerm_resource_group" "example" { + name = "examples" + location = "West Europe" +} + +data "azurerm_client_config" "example" {} + +// service principal of 'Microsoft.AzureStackHCI Resource Provider' +data "azuread_service_principal" "hciRp" { + client_id = "1412d89f-b8a8-4111-b4fd-e82905cbd85d" +} + +resource "azurerm_role_assignment" "example" { + scope = azurerm_resource_group.example.id + role_definition_name = "Azure Connected Machine Resource Manager" + principal_id = data.azuread_service_principal.hciRp.object_id +} + +resource "azurerm_stack_hci_marketplace_gallery_image" "example" { + name = "example-mgi" + resource_group_name = azurerm_resource_group.example.name + location = azurerm_resource_group.example.location + custom_location_id = "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ExtendedLocation/customLocations/cl1" + hyperv_generation = "V2" + os_type = "Windows" + version = "20348.2655.240905" + identifier { + publisher = "MicrosoftWindowsServer" + offer = "WindowsServer" + sku = "2022-datacenter-azure-edition-core" + } + tags = { + foo = "bar" + env = "example" + } +} +``` + +## Arguments Reference + +The following arguments are supported: + +* `name` - (Required) The name which should be used for this Azure Stack HCI Marketplace Gallery Image. Changing this forces a new Azure Stack HCI Marketplace Gallery Image to be created. + +* `resource_group_name` - (Required) The name of the Resource Group where the Azure Stack HCI Marketplace Gallery Image should exist. Changing this forces a new Azure Stack HCI Marketplace Gallery Image to be created. + +* `location` - (Required) The Azure Region where the Azure Stack HCI Marketplace Gallery Image should exist. Changing this forces a new Azure Stack HCI Marketplace Gallery Image to be created. + +* `custom_location_id` - (Required) The ID of the Custom Location where the Azure Stack HCI Marketplace Gallery Image should exist. Changing this forces a new resource to be created. + +* `hyperv_generation` - (Required) The hypervisor generation of the Azure Stack HCI Marketplace Gallery Image. Possible values are `V1` and `V2`. Changing this forces a new Azure Stack HCI Marketplace Gallery Image to be created. + +* `identifier` - (Required) An `identifier` block as defined below. Changing this forces a new Azure Stack HCI Marketplace Gallery Image to be created. + +* `os_type` - (Required) The Operating System type of the Azure Stack HCI Marketplace Gallery Image. Possible values are `Windows` and `Linux`. Changing this forces a new Azure Stack HCI Marketplace Gallery Image to be created. + +* `version` - (Required) The version of the Azure Stack HCI Marketplace Gallery Image. Changing this forces a new Azure Stack HCI Marketplace Gallery Image to be created. + +--- + +* `storage_path_id` - (Optional) The ID of the Azure Stack HCI Storage Path used for this Marketplace Gallery Image. Changing this forces a new Azure Stack HCI Virtual Hard Disk to be created. + +* `tags` - (Optional) A mapping of tags which should be assigned to the Azure Stack HCI Marketplace Gallery Image. + +--- + +An `identifier` block supports the following: + +* `offer` - (Required) The offer of the Azure Stack HCI Marketplace Gallery Image. Changing this forces a new Azure Stack HCI Marketplace Gallery Image to be created. + +* `publisher` - (Required) The publisher of the Azure Stack HCI Marketplace Gallery Image. Changing this forces a new Azure Stack HCI Marketplace Gallery Image to be created. + +* `sku` - (Required) The sku of the Azure Stack HCI Marketplace Gallery Image. Changing this forces a new Azure Stack HCI Marketplace Gallery Image to be created. + +## Attributes Reference + +In addition to the Arguments listed above - the following Attributes are exported: + +* `id` - The ID of the Azure Stack HCI Marketplace Gallery Image. + +## Timeouts + +The `timeouts` block allows you to specify [timeouts](https://www.terraform.io/language/resources/syntax#operation-timeouts) for certain actions: + +* `create` - (Defaults to 3 hours) Used when creating the Azure Stack HCI Marketplace Gallery Image. +* `read` - (Defaults to 5 minutes) Used when retrieving the Azure Stack HCI Marketplace Gallery Image. +* `update` - (Defaults to 30 minutes) Used when updating the Azure Stack HCI Marketplace Gallery Image. +* `delete` - (Defaults to 1 hour) Used when deleting the Azure Stack HCI Marketplace Gallery Image. + +## Import + +Azure Stack HCI Marketplace Gallery Images can be imported using the `resource id`, e.g. + +```shell +terraform import azurerm_stack_hci_marketplace_gallery_image.example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.AzureStackHCI/marketplaceGalleryImages/image1 +``` diff --git a/website/docs/r/storage_account_customer_managed_key.html.markdown b/website/docs/r/storage_account_customer_managed_key.html.markdown index 34e90a39c486..80e6af688fcf 100644 --- a/website/docs/r/storage_account_customer_managed_key.html.markdown +++ b/website/docs/r/storage_account_customer_managed_key.html.markdown @@ -127,7 +127,7 @@ The following arguments are supported: * `key_vault_id` - (Optional) The ID of the Key Vault. Exactly one of `managed_hsm_key_id`, `key_vault_id`, or `key_vault_uri` must be specified. -~> Note: When the principal running Terraform has access to the subscription containing the Key Vault, it's recommended to use the `key_vault_id` property for maximum compatibility, rather than the `key_vault_uri` property. +~> Note: When the principal running Terraform has access to the subscription containing the Key Vault, it's recommended to use the `key_vault_id` property for maximum compatibility, rather than the `key_vault_uri` property. However if the Key Vault is in a different subscription from the Storage Account `key_vault_uri` will need to be used instead otherwise there will be a diff. * `key_vault_uri` - (Optional) URI pointing at the Key Vault. Required when using `federated_identity_client_id`. Exactly one of `managed_hsm_key_id`, `key_vault_id`, or `key_vault_uri` must be specified. diff --git a/website/docs/r/storage_account_queue_properties.html.markdown b/website/docs/r/storage_account_queue_properties.html.markdown new file mode 100644 index 000000000000..d149b95a0274 --- /dev/null +++ b/website/docs/r/storage_account_queue_properties.html.markdown @@ -0,0 +1,144 @@ +--- +subcategory: "Storage" +layout: "azurerm" +page_title: "Azure Resource Manager: azurerm_storage_account_queue_properties" +description: |- + Manages the Queue Properties of an Azure Storage Account. +--- + +# azurerm_storage_account_queue_properties + +Manages the Queue Properties of an Azure Storage Account. + +## Example Usage + +```hcl +resource "azurerm_resource_group" "example" { + name = "example-resources" + location = "West Europe" +} + +resource "azurerm_storage_account" "example" { + name = "storageaccountname" + resource_group_name = azurerm_resource_group.example.name + location = azurerm_resource_group.example.location + account_tier = "Standard" + account_replication_type = "GRS" + + tags = { + environment = "staging" + } +} + +resource "azurerm_storage_account_queue_properties" "example" { + storage_account_id = azurerm_storage_account.example.id + cors_rule { + allowed_origins = ["http://www.example.com"] + exposed_headers = ["x-tempo-*"] + allowed_headers = ["x-tempo-*"] + allowed_methods = ["GET", "PUT"] + max_age_in_seconds = "500" + } + + logging { + version = "1.0" + delete = true + read = true + write = true + retention_policy_days = 7 + } + + hour_metrics { + version = "1.0" + retention_policy_days = 7 + } + + minute_metrics { + version = "1.0" + retention_policy_days = 7 + } +} +``` + +## Argument Reference + +The following arguments are supported: + +* `storage_account_id` - (Required) The ID of the Storage Account to set Queue Properties on. Changing this forces a new resource to be created. + +* `cors_rule` - (Optional) A `cors_rule` block as defined above. + +* `logging` - (Optional) A `logging` block as defined below. + +* `minute_metrics` - (Optional) A `minute_metrics` block as defined below. + +* `hour_metrics` - (Optional) A `hour_metrics` block as defined below. + +~> **NOTE:** At least one of `cors_rule`, `logging`, `minute_metrics`, or `hour_metrics` must be specified. + +--- + +A `cors_rule` block supports the following: + +* `allowed_headers` - (Required) A list of headers that are allowed to be a part of the cross-origin request. + +* `allowed_methods` - (Required) A list of HTTP methods that are allowed to be executed by the origin. Valid options are + `DELETE`, `GET`, `HEAD`, `MERGE`, `POST`, `OPTIONS`, `PUT` or `PATCH`. + +* `allowed_origins` - (Required) A list of origin domains that will be allowed by CORS. + +* `exposed_headers` - (Required) A list of response headers that are exposed to CORS clients. + +* `max_age_in_seconds` - (Required) The number of seconds the client should cache a preflight response. + +--- + +An `hour_metrics` block supports the following: + +* `version` - (Required) The version of storage analytics to configure. + +* `include_apis` - (Optional) Indicates whether metrics should generate summary statistics for called API operations. + +* `retention_policy_days` - (Optional) Specifies the number of days that logs will be retained. + +--- + +A `logging` block supports the following: + +* `delete` - (Required) Indicates whether all delete requests should be logged. + +* `read` - (Required) Indicates whether all read requests should be logged. + +* `version` - (Required) The version of storage analytics to configure. + +* `write` - (Required) Indicates whether all write requests should be logged. + +* `retention_policy_days` - (Optional) Specifies the number of days that logs will be retained. + +--- + +A `minute_metrics` block supports the following: + +* `version` - (Required) The version of storage analytics to configure. + +* `include_apis` - (Optional) Indicates whether metrics should generate summary statistics for called API operations. + +* `retention_policy_days` - (Optional) Specifies the number of days that logs will be retained. + + +## Timeouts + +The `timeouts` block allows you to specify [timeouts](https://www.terraform.io/language/resources/syntax#operation-timeouts) for certain actions: + +* `create` - (Defaults to 30 minutes) Used when creating the Storage Account Queue Properties. +* `update` - (Defaults to 30 minutes) Used when updating the Storage Account Queue Properties. +* `read` - (Defaults to 5 minutes) Used when retrieving the Storage Account Queue Properties. +* `delete` - (Defaults to 30 minutes) Used when deleting the Storage Account Queue Properties. + +## Import + +Storage Account Queue Properties can be imported using the `resource id`, e.g. + +```shell +terraform import azurerm_storage_account_queue_properties.queueprops /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myresourcegroup/providers/Microsoft.Storage/storageAccounts/myaccount +``` \ No newline at end of file diff --git a/website/docs/r/storage_account_static_website.html.markdown b/website/docs/r/storage_account_static_website.html.markdown new file mode 100644 index 000000000000..8e654ea4aadf --- /dev/null +++ b/website/docs/r/storage_account_static_website.html.markdown @@ -0,0 +1,66 @@ +--- +subcategory: "Storage" +layout: "azurerm" +page_title: "Azure Resource Manager: azurerm_storage_account_static_website" +description: |- + Manages the Static Website of an Azure Storage Account. +--- + +# azurerm_storage_account_static_website + +Manages the Static Website of an Azure Storage Account. + +## Example Usage + +```hcl +resource "azurerm_resource_group" "example" { + name = "example-resources" + location = "West Europe" +} + +resource "azurerm_storage_account" "example" { + name = "storageaccountname" + resource_group_name = azurerm_resource_group.example.name + location = azurerm_resource_group.example.location + account_tier = "Standard" + account_replication_type = "GRS" + + tags = { + environment = "staging" + } +} + +resource "azurerm_storage_account_static_website" "test" { + storage_account_id = azurerm_storage_account.test.id + error_404_document = "custom_not_found.html" + index_document = "custom_index.html" +} +``` + +## Argument Reference + +The following arguments are supported: + +* `storage_account_id` - (Required) The ID of the Storage Account to set Static Website on. Changing this forces a new resource to be created. + +* `error_404_document` - (Optional) The absolute path to a custom webpage that should be used when a request is made which does not correspond to an existing file. + +* `index_document` - (Optional) The webpage that Azure Storage serves for requests to the root of a website or any subfolder. For example, index.html. + + +## Timeouts + +The `timeouts` block allows you to specify [timeouts](https://www.terraform.io/language/resources/syntax#operation-timeouts) for certain actions: + +* `create` - (Defaults to 30 minutes) Used when creating the Storage Account Static Website. +* `update` - (Defaults to 30 minutes) Used when updating the Storage Account Static Website. +* `read` - (Defaults to 5 minutes) Used when retrieving the Storage Account Static Website. +* `delete` - (Defaults to 30 minutes) Used when deleting the Storage Account Static Website. + +## Import + +Storage Account Static Websites can be imported using the `resource id`, e.g. + +```shell +terraform import azurerm_storage_account_static_website.mysite /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myresourcegroup/providers/Microsoft.Storage/storageAccounts/myaccount +``` \ No newline at end of file diff --git a/website/docs/r/storage_container.html.markdown b/website/docs/r/storage_container.html.markdown index bad59ba65a3b..18b371b4018b 100644 --- a/website/docs/r/storage_container.html.markdown +++ b/website/docs/r/storage_container.html.markdown @@ -32,7 +32,7 @@ resource "azurerm_storage_account" "example" { resource "azurerm_storage_container" "example" { name = "vhds" - storage_account_name = azurerm_storage_account.example.name + storage_account_id = azurerm_storage_account.example.id container_access_type = "private" } ``` @@ -43,7 +43,11 @@ The following arguments are supported: * `name` - (Required) The name of the Container which should be created within the Storage Account. Changing this forces a new resource to be created. -* `storage_account_name` - (Required) The name of the Storage Account where the Container should be created. Changing this forces a new resource to be created. +* `storage_account_name` - (Optional) The name of the Storage Account where the Container should be created. Changing this forces a new resource to be created. This property is deprecated in favour of `storage_account_id`. + +* `storage_account_id` - (Optional) The name of the Storage Account where the Container should be created. Changing this forces a new resource to be created. + +~> **NOTE:** One of `storage_account_name` or `storage_account_id` must be specified. When specifying `storage_account_id` the resource will use the Resource Manager API, rather than the Data Plane API. * `container_access_type` - (Optional) The Access Level configured for this Container. Possible values are `blob`, `container` or `private`. Defaults to `private`. diff --git a/website/docs/r/storage_share.html.markdown b/website/docs/r/storage_share.html.markdown index 7fd0544df73d..04e59174cffe 100644 --- a/website/docs/r/storage_share.html.markdown +++ b/website/docs/r/storage_share.html.markdown @@ -31,17 +31,17 @@ resource "azurerm_storage_account" "example" { } resource "azurerm_storage_share" "example" { - name = "sharename" - storage_account_name = azurerm_storage_account.example.name - quota = 50 + name = "sharename" + storage_account_id = azurerm_storage_account.example.id + quota = 50 acl { id = "MTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODkwMTI" access_policy { permissions = "rwdl" - start = "2019-07-02T09:38:21.0000000Z" - expiry = "2019-07-02T10:38:21.0000000Z" + start = "2019-07-02T09:38:21Z" + expiry = "2019-07-02T10:38:21Z" } } } @@ -53,7 +53,11 @@ The following arguments are supported: * `name` - (Required) The name of the share. Must be unique within the storage account where the share is located. Changing this forces a new resource to be created. -* `storage_account_name` - (Required) Specifies the storage account in which to create the share. Changing this forces a new resource to be created. +* `storage_account_name` - (Optional) Specifies the storage account in which to create the share. Changing this forces a new resource to be created. This property is deprecated in favour of `storage_account_id`. + +* `storage_account_id` - (Optional) Specifies the storage account in which to create the share. Changing this forces a new resource to be created. + +~> **NOTE:** One of `storage_account_name` or `storage_account_id` must be specified. When specifying `storage_account_id` the resource will use the Resource Manager API, rather than the Data Plane API. * `access_tier` - (Optional) The access tier of the File Share. Possible values are `Hot`, `Cool` and `TransactionOptimized`, `Premium`. @@ -89,9 +93,9 @@ A `access_policy` block supports the following: ~> **Note:** Permission order is strict at the service side, and permissions need to be listed in the order above. -* `start` - (Optional) The time at which this Access Policy should be valid from, in [ISO8601](https://en.wikipedia.org/wiki/ISO_8601) format. +* `start` - (Optional) The time at which this Access Policy should be valid from. When using `storage_account_id` this should be in RFC3339 format. If using the deprecated `storage_account_name` property, this uses the [ISO8601](https://en.wikipedia.org/wiki/ISO_8601) format. -* `expiry` - (Optional) The time at which this Access Policy should be valid until, in [ISO8601](https://en.wikipedia.org/wiki/ISO_8601) format. +* `expiry` - (Optional) The time at which this Access Policy should be valid untilWhen using `storage_account_id` this should be in RFC3339 format. If using the deprecated `storage_account_name` property, this uses the [ISO8601](https://en.wikipedia.org/wiki/ISO_8601) format. ## Attributes Reference @@ -114,8 +118,8 @@ The `timeouts` block allows you to specify [timeouts](https://www.terraform.io/l ## Import -Storage Shares can be imported using the `resource id`, e.g. +Storage Shares can be imported using the `id`, e.g. ```shell -terraform import azurerm_storage_share.exampleShare https://account1.file.core.windows.net/share1 +terraform import azurerm_storage_share.exampleShare /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.Storage/storageAccounts/myAccount/fileServices/default/shares/exampleShare ``` diff --git a/website/docs/r/trusted_signing_account.html.markdown b/website/docs/r/trusted_signing_account.html.markdown new file mode 100644 index 000000000000..b9a9f12ec182 --- /dev/null +++ b/website/docs/r/trusted_signing_account.html.markdown @@ -0,0 +1,69 @@ +--- +subcategory: "Trusted Signing" +layout: "azurerm" +page_title: "Azure Resource Manager: azurerm_trusted_signing_account" +description: |- + Manages a Trusted Signing Account. +--- + +# azurerm_trusted_signing_account + +Manages a Trusted Signing Account. + +## Example Usage + +```hcl +resource "azurerm_resource_group" "example" { + name = "example" + location = "West Europe" +} + +resource "azurerm_trusted_signing_account" "example" { + name = "example-account" + resource_group_name = azurerm_resource_group.example.name + location = "West Europe" + sku_name = "Basic" +} +``` + +## Arguments Reference + +The following arguments are supported: + +* `name` - (Required) The name which should be used for this Trusted Signing Account. Changing this forces a new Trusted Signing Account to be created. + +* `location` - (Required) The Azure Region where the Trusted Signing Account should exist. Changing this forces a new Trusted Signing Account to be created. + +* `resource_group_name` - (Required) The name of the Resource Group where the Trusted Signing Account should exist. Changing this forces a new Trusted Signing Account to be created. + +* `sku_name` - (Required) The sku name of this Trusted Signing Account. Possible values are `Basic` and `Premium`. + +--- + +* `tags` - (Optional) A mapping of tags which should be assigned to the Trusted Signing Account. + + +## Attributes Reference + +In addition to the Arguments listed above - the following Attributes are exported: + +* `id` - The ID of the Trusted Signing Account. + +* `account_uri` - The URI of the Trusted Signing Account which is used during signing files. + +## Timeouts + +The `timeouts` block allows you to specify [timeouts](https://www.terraform.io/language/resources/syntax#operation-timeouts) for certain actions: + +* `create` - (Defaults to 30 minutes) Used when creating the Trusted Signing Account. +* `read` - (Defaults to 5 minutes) Used when retrieving the Trusted Signing Account. +* `update` - (Defaults to 10 minutes) Used when updating the Trusted Signing Account. +* `delete` - (Defaults to 10 minutes) Used when deleting the Trusted Signing Account. + +## Import + +Trusted Signing Accounts can be imported using the `resource id`, e.g. + +```shell +terraform import azurerm_trusted_signing_account.example /subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/example-rg/providers/Microsoft.CodeSigning/codeSigningAccounts/example-account +``` diff --git a/website/docs/r/video_indexer_account.html.markdown b/website/docs/r/video_indexer_account.html.markdown new file mode 100644 index 000000000000..8a1c91934ca7 --- /dev/null +++ b/website/docs/r/video_indexer_account.html.markdown @@ -0,0 +1,103 @@ +--- +subcategory: "Video Indexer" +layout: "azurerm" +page_title: "Azure Resource Manager: azurerm_video_indexer_account" +description: |- + Manages a Video Indexer Account +--- + +# azurerm_video_indexer_account + +Manages a Video Indexer Account + +## Example Usage + +```hcl +provider "azurerm" { + features {} +} + +resource "azurerm_resource_group" "example" { + name = "example" + location = "West Europe" +} + +resource "azurerm_storage_account" "example" { + name = "example" + resource_group_name = azurerm_resource_group.example.name + location = azurerm_resource_group.example.location + account_tier = "Standard" + account_replication_type = "LRS" +} + +resource "azurerm_video_indexer_account" "example" { + name = "example" + resource_group_name = azurerm_resource_group.example.name + location = "West Europe" + + storage { + storage_account_id = azurerm_storage_account.example.id + } + + identity { + type = "SystemAssigned" + } +} +``` + +## Argument Reference + +The following arguments are supported: + +* `name` - (Required) The name of the Video Indexer Account. Changing the name forces a new resource to be created. + +* `resource_group_name` - (Required) The name of the Resource Group that the Video Indexer Account will be associated with. Changing the name forces a new resource to be created. + +* `location` - (Required) The Azure location where the Video Indexer Account exists. Changing this forces a new resource to be created. + +* `storage` - (Required) A `storage` block as defined below. + +* `identity` - (Required) An `identity` block as defined below. + +* `tags` - (Optional) A mapping of tags to assign to the resource. + +--- + +A `storage` block supports the following: + +* `storage_account_id` - (Required) The ID of the storage account to be associated with the Video Indexer Account. Changing this forces a new Video Indexer Account to be created. + +* `user_assigned_identity_id` - (Optional) The reference to the user assigned identity to use to access the Storage Account. + +--- + +A `identity` block supports the following: + +* `type` - (Required) Specifies the identity type of the Video Indexer Account. Possible values are `SystemAssigned` (where Azure will generate a Service Principal for you), `UserAssigned` where you can specify the Service Principal IDs in the `identity_ids` field, and `SystemAssigned, UserAssigned` which assigns both a system managed identity as well as the specified user assigned identities. + +* `identity_ids` - (Optional) Specifies a list of user managed identity ids to be assigned. Required if `type` is `UserAssigned`. + +--- + +## Attributes Reference + +In addition to the Arguments listed above - the following Attributes are exported: + +* `id` - The ID of the Video Indexer Account. + +## Timeouts + +The `timeouts` block allows you to specify [timeouts](https://www.terraform.io/language/resources/syntax#operation-timeouts) for certain actions: + +* `create` - (Defaults to 30 minutes) Used when creating the Video Indexer Account. +* `read` - (Defaults to 5 minutes) Used when retrieving the Video Indexer Account. +* `update` - (Defaults to 30 minutes) Used when updating the Video Indexer Account. +* `delete` - (Defaults to 30 minutes) Used when deleting the Video Indexer Account. + +## Import + +Video Indexer Accounts can be imported using the `resource id`, e.g. + +```shell +terraform import azurerm_video_indexer_account.example /subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/example-resource-group/providers/Microsoft.VideoIndexer/accounts/example-account-name +``` diff --git a/website/docs/r/virtual_desktop_application_group.html.markdown b/website/docs/r/virtual_desktop_application_group.html.markdown index 8993e33768f5..b2d8566328ee 100644 --- a/website/docs/r/virtual_desktop_application_group.html.markdown +++ b/website/docs/r/virtual_desktop_application_group.html.markdown @@ -80,7 +80,7 @@ The following arguments are supported: * `friendly_name` - (Optional) Option to set a friendly name for the Virtual Desktop Application Group. -* `default_desktop_display_name` - (Optional) Option to set the display name for the default sessionDesktop desktop when `type` is set to `Desktop`. +* `default_desktop_display_name` - (Optional) Option to set the display name for the default sessionDesktop desktop when `type` is set to `Desktop`. A value here is mandatory for connections to the desktop using the Windows 365 portal. Without it the connection will hang at 'Loading Client'. * `description` - (Optional) Option to set a description for the Virtual Desktop Application Group. diff --git a/website/docs/r/web_application_firewall_policy.html.markdown b/website/docs/r/web_application_firewall_policy.html.markdown index ffad314bf859..3b7fa790dd02 100644 --- a/website/docs/r/web_application_firewall_policy.html.markdown +++ b/website/docs/r/web_application_firewall_policy.html.markdown @@ -164,7 +164,7 @@ The `match_conditions` block supports the following: * `negation_condition` - (Optional) Describes if this is negate condition or not -* `transforms` - (Optional) A list of transformations to do before the match is attempted. Possible values are `HtmlEntityDecode`, `Lowercase`, `RemoveNulls`, `Trim`, `UrlDecode` and `UrlEncode`. +* `transforms` - (Optional) A list of transformations to do before the match is attempted. Possible values are `HtmlEntityDecode`, `Lowercase`, `RemoveNulls`, `Trim`, `Uppercase`, `UrlDecode` and `UrlEncode`. --- @@ -196,6 +196,8 @@ The `policy_settings` block supports the following: * `js_challenge_cookie_expiration_in_minutes` - (Optional) Specifies the JavaScript challenge cookie validity lifetime in minutes. The user is challenged after the lifetime expires. Accepted values are in the range `5` to `1440`. Defaults to `30`. +* `file_upload_enforcement` - (Optional) - Whether the firewall should block a request with upload size greater then `file_upload_limit_in_mb`. + --- The `managed_rules` block supports the following: diff --git a/website/docs/r/windows_function_app.html.markdown b/website/docs/r/windows_function_app.html.markdown index 6051e5056efc..06118d18ff2f 100644 --- a/website/docs/r/windows_function_app.html.markdown +++ b/website/docs/r/windows_function_app.html.markdown @@ -672,7 +672,7 @@ A `site_config` block supports the following: * `managed_pipeline_mode` - (Optional) Managed pipeline mode. Possible values include: `Integrated`, `Classic`. Defaults to `Integrated`. -* `minimum_tls_version` - (Optional) Configures the minimum version of TLS required for SSL requests. Possible values include: `1.0`, `1.1`, and `1.2`. Defaults to `1.2`. +* `minimum_tls_version` - (Optional) Configures the minimum version of TLS required for SSL requests. Possible values include: `1.0`, `1.1`, `1.2` and `1.3`. Defaults to `1.2`. * `pre_warmed_instance_count` - (Optional) The number of pre-warmed instances for this Windows Function App. Only affects apps on an Elastic Premium plan. diff --git a/website/docs/r/windows_web_app.html.markdown b/website/docs/r/windows_web_app.html.markdown index 48f6a6d3418d..0f7ca8c23fc0 100644 --- a/website/docs/r/windows_web_app.html.markdown +++ b/website/docs/r/windows_web_app.html.markdown @@ -741,7 +741,7 @@ A `site_config` block supports the following: * `managed_pipeline_mode` - (Optional) Managed pipeline mode. Possible values include: `Integrated`, `Classic`. Defaults to `Integrated`. -* `minimum_tls_version` - (Optional) The configures the minimum version of TLS required for SSL requests. Possible values include: `1.0`, `1.1`, and `1.2`. Defaults to `1.2`. +* `minimum_tls_version` - (Optional) The configures the minimum version of TLS required for SSL requests. Possible values include: `1.0`, `1.1`, `1.2` and `1.3`. Defaults to `1.2`. * `remote_debugging_enabled` - (Optional) Should Remote Debugging be enabled. Defaults to `false`.